-
Notifications
You must be signed in to change notification settings - Fork 1k
USWDS - Table: Add sticky headers #5420
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
9a8a13a
add the ability to sticky the header of the table component
etanb 567876c
prettier
etanb 93269e5
Merge branch 'develop' into eb-sticky-table-header
etanb 630eadc
fixes to implementation
etanb 4c9a177
Add sticky header control
ab1e642
Override position:relative on sortable sticky th cells
455296b
Remove stickyheader control
db6c5f7
Add sortable JSON file
3b03d79
Add demo for multi-row headers
8dae8db
Add multipleHeaderRows control for testing
a060c6a
Remove background color and extra borders from sticky table thead
37d56a8
Disable multipleHeaderRows for sortable tables
63f925b
Remove text-right from table header
08024a6
Merge branch 'develop' of https://github.com/uswds/uswds into al-stic…
81c43dd
Run prettier
40dac7c
Add settings for table background color and sticky table top offset
a477cd0
Move stickyheader from json to a storybook control
ab585ae
Remove stickyheader check on scrollable variant
da2a9e7
Format code
6bd2f54
Move scrollable setting from json to storybook
fd01eb4
Let $theme-table-background-color accept default
54debdc
Run prettier
121762b
Fix default for $theme-table-background-color
65c03b6
Clean up multiple header rows code
feaaecd
Add scrollable conditional to sortable twig
ba30313
Create loops for header and body rows
17b90e5
Remove background color on table button default
d02ebdc
Merge branch 'develop' of https://github.com/uswds/uswds into al-stic…
bef2f1e
Restore scrollable default on sortable tables
d3162cf
Clean up sticky header style rules
a9e17ac
Reorganize sticky header controls
7ca071b
Move scrollable: true to json file
d6c4ffb
Run prettier
21cec70
Add !default to $theme-table-sticky-top-offset
0d8a54d
Move 'stickyheader:true' to JSON
c809938
Merge branch 'develop' of github.com:uswds/uswds into al-sticky-table…
7ef482c
Add note about sticky header to scrollable control
02034a7
Use underscores for twig variables
58d0a6a
Add note to sticky header + mult header controls
c4d13e7
Add underscore to stickheader json + twig
b79fdf2
Remove "Note:" from scrollable control
1e447af
Create test: multiple header rows + sticky header
cae00e5
Assign sticky_header_class on sortable twig
b10cae4
Run prettier
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
Run prettier
- Loading branch information
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.