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

feat: Add simple or HTML Variant to Table #3126

Draft
wants to merge 3 commits into
base: prerelease/minor
Choose a base branch
from

Conversation

josh-bagwell
Copy link
Contributor

Summary

Fixes: #3048

Add a "simple" or "html" variant to Table.

Users have been asking about getting a simple Table to use without Grid styling. This addresses that and gives them a simple HTML Table.

Release Category

Components

Release Note

Addition of a HTML variant for Table. This will be a standard HTML Table.


Where Should the Reviewer Start?

/modules/react/table

@josh-bagwell josh-bagwell self-assigned this Feb 6, 2025
Copy link

cypress bot commented Feb 6, 2025

Workday/canvas-kit    Run #8280

Run Properties:  status check passed Passed #8280  •  git commit 3377c71db6 ℹ️: Merge 6d38b288f242ceb62009cb9b271463915897d7cf into aad01c5cf15d3d4b78cd43d7d264...
Project Workday/canvas-kit
Branch Review simple-table-variant-25-02
Run status status check passed Passed #8280
Run duration 02m 50s
Commit git commit 3377c71db6 ℹ️: Merge 6d38b288f242ceb62009cb9b271463915897d7cf into aad01c5cf15d3d4b78cd43d7d264...
Committer Josh
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 1
Tests that did not run due to a developer annotating a test with .skip  Pending 21
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 934
View all changes introduced in this branch ↗︎
UI Coverage  21.37%
  Untested elements 1518  
  Tested elements 410  
Accessibility  99.17%
  Failed rules  6 critical   5 serious   0 moderate   2 minor
  Failed elements 162  

/**
* Variant has an option for `simple` which will have the Table act as a HTML Table without Grid styles.
*/
variant?: 'html';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this is table | grid with the default being gird? Not sure html conveys that it behaves like a default html table element.

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

Successfully merging this pull request may close these issues.

2 participants