@khanacademy/wonder-blocks-switch 3.3.27 → 3.3.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @khanacademy/wonder-blocks-switch@3.3.
|
|
2
|
+
> @khanacademy/wonder-blocks-switch@3.3.28 build:css /home/runner/work/wonder-blocks/wonder-blocks/packages/wonder-blocks-switch
|
|
3
3
|
> pnpm exec wonder-blocks-tokens .
|
|
4
4
|
|
|
5
5
|
CSS variables generated successfully in: /home/runner/work/wonder-blocks/wonder-blocks/packages/wonder-blocks-switch/dist/css
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @khanacademy/wonder-blocks-switch
|
|
2
2
|
|
|
3
|
+
## 3.3.28
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 12e04c3: Update component documentation for the `disabled` props to include details about `aria-disabled` being set internally to keep an element focusable while in a disabled state
|
|
8
|
+
|
|
3
9
|
## 3.3.27
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -8,6 +8,9 @@ declare const Switch: React.ForwardRefExoticComponent<Pick<AriaProps, "aria-labe
|
|
|
8
8
|
checked: boolean;
|
|
9
9
|
/**
|
|
10
10
|
* Whether the switch is disabled. Defaults to `false`.
|
|
11
|
+
*
|
|
12
|
+
* Internally, the `aria-disabled` attribute will be set so that the
|
|
13
|
+
* element remains focusable and will be included in the tab order.
|
|
11
14
|
*/
|
|
12
15
|
disabled?: boolean;
|
|
13
16
|
/**
|