-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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(Card): Selectable card #12921
feat(Card): Selectable card #12921
Conversation
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: b66a3351f9b643bc4845fe012e9a3afc42b1654f (build) |
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
26f5282
to
fd6eadd
Compare
3fa3f58
to
91b27f5
Compare
packages/fluentui/accessibility/src/behaviors/Card/cardBehavior.ts
Outdated
Show resolved
Hide resolved
Now we can do selection on the card by "Space" or "Enter" key. General question is, if we want to do it be "Enter" key as well? Just raising the question because in some components only space works for selection. Tree for example. But then in selectable list both Enter and Space work. I think we will not find any recommendation from ARIA about selectable cards. |
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.
Only have a couple of comments.
packages/fluentui/docs/src/examples/components/Card/Usage/CardExampleSelectableGrid.tsx
Outdated
Show resolved
Hide resolved
88e6a13
to
7e44be3
Compare
@pompomon Looks like you need to merge with master. That should also fix the build. |
b756c26
to
950b229
Compare
Done :) |
Now it looks like someone needs to accept new screener states. Not doing that myself since I don't actually work on this. :) |
packages/fluentui/docs/src/examples/components/Card/States/CardExampleSelected.tsx
Outdated
Show resolved
Hide resolved
packages/fluentui/docs/src/examples/components/Card/Usage/CardExampleSelectableGrid.tsx
Outdated
Show resolved
Hide resolved
packages/fluentui/docs/src/examples/components/Card/Usage/CardExampleSelectableGrid.tsx
Outdated
Show resolved
Hide resolved
packages/fluentui/docs/src/examples/components/Card/Usage/CardExampleSelectableGrid.tsx
Outdated
Show resolved
Hide resolved
packages/fluentui/docs/src/examples/components/Card/Usage/CardExampleSelectableGrid.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Oleksandr Fediashov <alexander.mcgarret@gmail.com>
88426a6
to
7e0b39d
Compare
Co-authored-by: Oleksandr Fediashov <alexander.mcgarret@gmail.com>
Hello @pompomon! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
#### Pull request checklist - [ ] Addresses an existing issue: Fixes #0000 - [ ] Include a change request file using `$ yarn change` #### Description of changes Adding props, styles and examples for selectable cards
Pull request checklist
$ yarn change
Description of changes
Adding props, styles and examples for selectable cards
Microsoft Reviewers: Open in CodeFlow