-
Notifications
You must be signed in to change notification settings - Fork 2
Core 750: proper custom controls #2433
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
Closed
Closed
Changes from 48 commits
Commits
Show all changes
70 commits
Select commit
Hold shift + click to select a range
5ee7441
refactor toc with navigation tree
jomcarvajal 93b6e82
remove redundant role
jomcarvajal 7a8dbf7
Merge branch 'main' of github.com:openstax/rex-web into CORE-750-prop…
jomcarvajal 9408066
replace quotemark
jomcarvajal c15001d
update snapshots
jomcarvajal 3fed124
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] c0df3fe
fix coverage
jomcarvajal e2c2369
Merge branch 'CORE-750-proper-custom-controls' of github.com:openstax…
jomcarvajal 055e657
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 2c93f3a
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] a0ff154
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] f8dd35b
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 5042a1a
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] b6c8c27
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 115431a
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 68964b8
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 4778e64
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] f0ab429
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] ef7117e
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 993118a
refactor subtrees and anchors
jomcarvajal 2cb6c02
refactor anchors and subtrees
jomcarvajal f1684f0
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 310fe5c
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] bb70adf
add keyboard support for tree navigation
jomcarvajal 2bf7a10
Merge branch 'CORE-750-proper-custom-controls' of github.com:openstax…
jomcarvajal 4624a5d
remove unknown old tag
jomcarvajal 5af0f34
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 4ab5439
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 51e5eb0
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 79d826b
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 105e4bc
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 0c82088
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] cede341
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] f0926f2
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 5d90dd5
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 623f1b2
using stripIdVersion for compare ids in ol role
jomcarvajal 03f9987
resolve conflicts
jomcarvajal ae906c9
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 5d87b47
CORE-750: run lint fix
jomcarvajal d4558fc
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 6a4da81
fix prerenderspec.ts snap
jomcarvajal 06a2c0f
Merge branch 'CORE-750-proper-custom-controls' of github.com:openstax…
jomcarvajal fcf3553
resolve merge conflicts
jomcarvajal 95365be
improve conditional
jomcarvajal 1bb6ffe
refactor keyboard support methods
jomcarvajal f3d977d
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 1ef9eea
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 97ca660
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 73030dc
resolve comments
jomcarvajal 0df16b1
new querySelector to get all visible treeitems
jomcarvajal b349bdc
run linter
jomcarvajal 1cbf5b5
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 7b446ee
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 2249123
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 6caf6c9
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 99e9458
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 55757f2
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 94294d6
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 17d6048
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] ec99cff
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 3f2105c
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 95f77b6
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] e3958c0
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 2f830d9
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 9c70cc2
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 18b1d9d
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 6afec8b
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] a1a7d12
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 6ce588b
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] b68d874
Merge branch 'main' into CORE-750-proper-custom-controls
staxly[bot] 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 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,3 +50,17 @@ export const Details = styled.details` | |
} | ||
`} | ||
`; | ||
|
||
// Other components than ToC use Details, so we need to style them separately | ||
// tslint:disable-next-line:variable-name | ||
export const DetailsTree = styled.a` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. you've left these elements named the way they were before but they no longer really make sense with those names. this component no longer acts like a |
||
${/* suppress errors from https://github.com/stylelint/stylelint/issues/3391 */ css` | ||
&[open] > ${ExpandIcon} { | ||
display: none; | ||
} | ||
|
||
&:not([open]) > ${CollapseIcon} { | ||
display: none; | ||
} | ||
`} | ||
`; |
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
Oops, something went wrong.
Oops, something went wrong.
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.
isn't this no longer true? if its true i would be worried about putting lists inside an anchor, but i'm pretty sure you updated that already