Build successful! ๐
Build successful! ๐
Build successful! ๐
Build successful! ๐
Build successful! ๐
fixed the prop table issue. only thing left is to figure out how to apply the theme to the new Provider in the side rail. or maybe just go without the Provider?
Build successful! ๐
Awesome, couple comments
11 | 11 | */ | |
12 | 12 | ||
13 | 13 | ||
14 | import badgeStyles from '@adobe/spectrum-css-temp/components/label/vars.css'; | ||
14 | import {Badge} from '@react-spectrum/badge'; |
this will need to be temporarily pulled out so we can merge. otherwise, the production docs will try to find this package but it won't be published yet.
1 | { | ||
2 | "name": "@react-types/badge", | ||
3 | "version": "3.0.0", |
should start at "3.0.0-alpha.0"
21 | --- | ||
22 | category: Status | ||
23 | keywords: [badge] | ||
24 | --- |
add after_version: 3.0.0
so that this doesn't go out to the prod docs website right away. it would break until we publish the package.
Not sure if we should support disabled badges. I am not really sure what the use case is, and since badges don't have any accessibility semantics, this would just be a general contrast violation. Spectrum says:
Badges should only be able to be disabled if they are interactive.
https://spectrum.adobe.com/page/badge/#Disabled
but afaik badges are never interactive. ๐คท
Update: discussed with spectrum. We should remove the disabled state.
Build successful! ๐
Build successful! ๐
LGTM
Build successful! ๐
Login to write a write a comment.
#1341 - Add badge component
To add in future alphas:
โ Pull Request Checklist:
๐ Test Instructions:
๐งข Your Project:
Adobe/Quarry