forked from microsoft/fast
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: attribute selectors instead of class selectors (microsoft#4078)
* tree-item - [ x ] Expanded - [ x ] Selected * tooltip * text-field - [ x ] appearance - [ x ] disabled - [ x ] readonly * text-area - [ x ] appearance - [ x ] resize * tabs * switch - disabled - checked * slider - orientation * skeleton * radio-group - checked - disabled - readonly - orientation * progress-ring - pauzed * progress - pauzed * menu - disabled * flipper * checkbox - checked - disabled - readonly * button - appearance - disabled * badge - circular * accordion * anchor / button - appearance - disabled * switch - readonly forgot a readonly here. * checkbox - aria-checked instead of checked Switching over to aria-checked='"true" instead of checked * switch- aria-checked instead of checked Switching over to aria-checked='"true" instead of checked (no pun intended) * [FIX] menuitem - checked I think this was a bug, since the menu item was never highlighted when checked. Should be use aria-checked="true" like with the switch and checkbox or checked? * [Fix] Tabs Tabs are working correctly but the underlying `Tab` still uses the class `vertical` or `horizontal` which should not be a problem, since clients cannot access this setting and is determined in the `Tabs` component. Maybe as follow-up: - Use direction="vertical" or direction="horizontal" in the Foundation package so it's uniform. * [FIX] Flipper As mentioned by @chrisdholt these classes are fine since they belong to the shadow DOM. Co-authored-by: Chris Holt <chhol@microsoft.com>
- Loading branch information
1 parent
c93bc26
commit bd09fbc
Showing
23 changed files
with
219 additions
and
250 deletions.
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
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
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
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
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
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
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
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
Oops, something went wrong.