-
Notifications
You must be signed in to change notification settings - Fork 143
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 Table
component
#1797
Merged
Merged
Changes from 1 commit
Commits
Show all changes
128 commits
Select commit
Hold shift + click to select a range
b761040
add table library
chaitanyadeorukhkar ac92e4d
add basic building blocks for header, body, footer
chaitanyadeorukhkar 8910c49
add basic spacing
chaitanyadeorukhkar 85ddd4d
add proper styling to table component
chaitanyadeorukhkar 6d9718d
add select styling
chaitanyadeorukhkar 267b35d
handle table selection
chaitanyadeorukhkar 429b695
add onSelectionChange to Table component
chaitanyadeorukhkar 20db516
update selection
chaitanyadeorukhkar 322a680
make header and footer sticky
chaitanyadeorukhkar 5c04d45
add cellDensity
chaitanyadeorukhkar c70cb73
add table toolbar component
chaitanyadeorukhkar 985e175
fix sticky header
chaitanyadeorukhkar 141b2fb
add comment
chaitanyadeorukhkar fde9075
update table toolbar background color
chaitanyadeorukhkar 7efc6d0
update table toolbar selected items count
chaitanyadeorukhkar 6a492c1
add sort functionality to table component
chaitanyadeorukhkar 2c1b668
add back toolbar and rename cellDensity to rowDensity
chaitanyadeorukhkar cd31c98
calculate number of columns in table header
chaitanyadeorukhkar cce0053
handle Deselect
chaitanyadeorukhkar 3c6e194
update sort icons
chaitanyadeorukhkar 7484108
update grid style
chaitanyadeorukhkar 4821987
handle background colors
chaitanyadeorukhkar a85ad4e
make header and footer non-transparent
chaitanyadeorukhkar d99160f
allow changing height of table
chaitanyadeorukhkar 4c3821a
increase style specificity
chaitanyadeorukhkar fb468e5
handle table toolbar on mobile
chaitanyadeorukhkar 7ebc5fe
add jsdoc to tabletoolbaractions
chaitanyadeorukhkar 3d486c7
fix minor height issue
chaitanyadeorukhkar 9a7a7a5
use updated svg icons
chaitanyadeorukhkar 614281e
add empty TablePagination component
chaitanyadeorukhkar adcd56f
handle basic pagination
chaitanyadeorukhkar 616c84f
handle pagination
chaitanyadeorukhkar a56a26b
update focus ring
chaitanyadeorukhkar f018400
update table pagination
chaitanyadeorukhkar 208cc54
update pageSize logic
chaitanyadeorukhkar 0d05b96
add showStripes
chaitanyadeorukhkar 3bdb954
remove unused stuff
chaitanyadeorukhkar 0e797b3
handle absence of pagination
chaitanyadeorukhkar 5ab9f83
update stripes selected
chaitanyadeorukhkar 5ef7f89
cleanup data
chaitanyadeorukhkar 96cd81b
add focus management
chaitanyadeorukhkar 37cd359
dynamically change toolbar title
chaitanyadeorukhkar 71be039
use rows/page
chaitanyadeorukhkar 5e3b61a
handle high page size
chaitanyadeorukhkar 8d761f9
add truncation logic
chaitanyadeorukhkar 55f6952
handle truncation button page jumps
chaitanyadeorukhkar 1950793
handle pagination ellipsis hover
chaitanyadeorukhkar c3de094
handle pagination responsiveness
chaitanyadeorukhkar cb018ef
add todo
chaitanyadeorukhkar 038b8b0
remove border radius
chaitanyadeorukhkar f34a548
change story
chaitanyadeorukhkar 2a3d08e
make first column sticky
chaitanyadeorukhkar dad4810
fix all colors
chaitanyadeorukhkar 6fb296c
update colors and pagination buttons
chaitanyadeorukhkar 4452c14
update colors
chaitanyadeorukhkar 347ad9f
update colors
chaitanyadeorukhkar a5b5768
make surfaceLevel default to 2
chaitanyadeorukhkar fa9bf0f
add label
chaitanyadeorukhkar b42aa5b
cleanup story
chaitanyadeorukhkar d5422e7
handle disabled rows
chaitanyadeorukhkar 6f6273e
update colors
chaitanyadeorukhkar f23f172
resolve todos
chaitanyadeorukhkar 0e1ac15
update types
chaitanyadeorukhkar 54b52f1
cleanup types
chaitanyadeorukhkar e935f9f
update pagination
chaitanyadeorukhkar 27ae003
fix types
chaitanyadeorukhkar 84ca60f
cleanup dom structure
chaitanyadeorukhkar fd6d21f
cleanup story
chaitanyadeorukhkar 7a69caf
fix vertical alignment of cell content
chaitanyadeorukhkar 84f2af8
Merge remote-tracking branch 'origin/master' into feat/table-component
chaitanyadeorukhkar 3ce0ae4
cleanup dom structure
chaitanyadeorukhkar facf414
fix table header role
chaitanyadeorukhkar 0a63109
add table role
chaitanyadeorukhkar a6a151c
add styled props and isLoading
chaitanyadeorukhkar 813134e
update metaAttributes
chaitanyadeorukhkar 1e048cd
add isRefreshing prop
chaitanyadeorukhkar 57cf56b
handle pagination buttons a11y
chaitanyadeorukhkar 1a945b2
remove controlled page size
chaitanyadeorukhkar aa7561a
add jsdocs
chaitanyadeorukhkar 0b0fee9
fix few bugs
chaitanyadeorukhkar 9766e0a
fix bugs
chaitanyadeorukhkar 932bd47
update story
chaitanyadeorukhkar c3fe631
tokenize zIndex
chaitanyadeorukhkar 651b632
tokenize checkbox width
chaitanyadeorukhkar 5348348
fix types
chaitanyadeorukhkar 17584dc
fix types
chaitanyadeorukhkar 147ffc4
export components
chaitanyadeorukhkar c4e26c4
cleanup table body styles
chaitanyadeorukhkar db008b8
add native fallbacks
chaitanyadeorukhkar a963f8f
add selectedTitle prop to TableToolbar
chaitanyadeorukhkar 3fa46ac
update header footer cell props
chaitanyadeorukhkar d02f2ab
fix ts issue
chaitanyadeorukhkar d30d9ab
fix table checkbox alignment
chaitanyadeorukhkar f38d530
handle pointer events for cells
chaitanyadeorukhkar 086b090
update table pagination prop descriptions
chaitanyadeorukhkar 39abbbb
update showStripes prop to showStripedRows
chaitanyadeorukhkar 47ea1a0
add none selection type to table
chaitanyadeorukhkar 48616a9
update selectionType context
chaitanyadeorukhkar 9007c4d
update native type
chaitanyadeorukhkar 8cf3e14
update alignment
chaitanyadeorukhkar 5889b08
fix table pagination focus icon changes
chaitanyadeorukhkar d490919
make table header cell clickable only if sortable
chaitanyadeorukhkar 25ffa5f
fix table header cell click
chaitanyadeorukhkar 989ee09
undo tab index change
chaitanyadeorukhkar 676fe35
implement isRefreshing motion
chaitanyadeorukhkar b995c01
fix motion duration
chaitanyadeorukhkar d86e4fb
cleanup exports
chaitanyadeorukhkar 004df55
handle controlled currentPage prop
chaitanyadeorukhkar 4feccea
fix table pagination controlled page
chaitanyadeorukhkar 68e231f
extract types into a common file
chaitanyadeorukhkar 4230438
add assignWithoutSideEffects to all table components
chaitanyadeorukhkar 1c04b3e
make size token for table pagination buttons
chaitanyadeorukhkar d02edae
update table row background color motion tokens
chaitanyadeorukhkar bb83cde
Create moody-moles-change.md
chaitanyadeorukhkar 0375390
use transient props
chaitanyadeorukhkar 626ae07
fix table row overlapping issue
chaitanyadeorukhkar 3bbbb73
docs: Table documentation and examples (#1834)
chaitanyadeorukhkar 7f45105
fix lint errors
chaitanyadeorukhkar 8f2ff3a
update size limit values
chaitanyadeorukhkar a1dc416
move table library to peer deps
chaitanyadeorukhkar 3bfbb0e
add to dev dependencies
chaitanyadeorukhkar bf3a91c
Add installation instructions for Table component
chaitanyadeorukhkar 0591f44
add emotion/react to peerDependencies
chaitanyadeorukhkar fcf1f39
add table library to sandbox dependencies
chaitanyadeorukhkar 5c36a00
Merge remote-tracking branch 'origin/master' into feat/table-component
chaitanyadeorukhkar 7fe2c23
add non-exact versions for peerDependencies
chaitanyadeorukhkar 454264c
update table component status
chaitanyadeorukhkar 7ff6a20
update changeset
chaitanyadeorukhkar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another thing we should do that we didn't on other peerDeps, is instead of pinning them we should use ranges, otherwise consumers will have to use the exact version down the the patch otherwise there will be mismatches.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, done!