Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markup table component #120

Open
leonid opened this issue Sep 11, 2024 · 0 comments
Open

Markup table component #120

leonid opened this issue Sep 11, 2024 · 0 comments
Assignees
Milestone

Comments

@leonid
Copy link
Member

leonid commented Sep 11, 2024

A Markup Table component focuses on the basic structure and styling of a table without advanced functionalities. Here are the key features a Primitive Table component should have:

  1. Basic Structure: Simple HTML table structure with <table>, <thead>, <tbody>, <tr>, <th>, and <td> elements.
  2. Customizable Styling: Support for custom styles and CSS classes to match the application's design.
  3. Borders: Options to style table borders, including border color, width, and style.
  4. Cell Padding and Spacing: Control over cell padding and spacing to improve readability.
  5. Header Styling: Customizable styles for table headers, including background color, text color, and font styles.
  6. Row Styling: Options to style table rows, including alternating row colors for better readability.
  7. Hover Effects: Styles for row hover effects to enhance user interaction.
  8. Text Alignment: Control over text alignment within table cells (left, center, right).
  9. Responsive Design: Ensure the table is responsive and adapts to different screen sizes.
  10. Fixed Headers: Option to keep headers fixed while scrolling through the table.
  11. Theming: Support for different themes to match the application's design system.
  12. Typography: Control over font styles, sizes, and weights for table text.
  13. Background Colors: Customizable background colors for table cells and headers.
  14. Width and Height: Control over the width and height of the table and its cells.
  15. Overflow Handling: Styles to handle overflow content within table cells.

These features ensure that the Markup Table component is visually appealing and adaptable to various design requirements.

To be implemented

  • Vue component with basic logic
  • Styles and extension points as css properties
  • Vitepress documentation: feature description, examples and api documentation
  • Unit tests for component and its composition
  • Storybook demos and documentation
@leonid leonid self-assigned this Sep 11, 2024
@leonid leonid added this to the Beta Release milestone Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant