@khanacademy/wonder-blocks-dropdown 10.7.0 → 10.7.1
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.
- package/.turbo/turbo-build$colon$css.log +1 -1
- package/CHANGELOG.md +14 -0
- package/dist/components/action-item.d.ts +3 -0
- package/dist/components/action-menu-opener-core.d.ts +3 -0
- package/dist/components/action-menu.d.ts +3 -0
- package/dist/components/dropdown-opener.d.ts +3 -0
- package/dist/components/multi-select.d.ts +3 -0
- package/dist/components/option-item.d.ts +3 -0
- package/dist/components/select-opener.d.ts +3 -0
- package/dist/components/single-select.d.ts +3 -0
- package/package.json +8 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @khanacademy/wonder-blocks-dropdown@10.7.
|
|
2
|
+
> @khanacademy/wonder-blocks-dropdown@10.7.1 build:css /home/runner/work/wonder-blocks/wonder-blocks/packages/wonder-blocks-dropdown
|
|
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-dropdown/dist/css
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @khanacademy/wonder-blocks-dropdown
|
|
2
2
|
|
|
3
|
+
## 10.7.1
|
|
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
|
+
- Updated dependencies [12e04c3]
|
|
9
|
+
- @khanacademy/wonder-blocks-search-field@5.1.61
|
|
10
|
+
- @khanacademy/wonder-blocks-icon-button@11.1.4
|
|
11
|
+
- @khanacademy/wonder-blocks-clickable@8.1.3
|
|
12
|
+
- @khanacademy/wonder-blocks-cell@6.1.9
|
|
13
|
+
- @khanacademy/wonder-blocks-form@7.5.4
|
|
14
|
+
- @khanacademy/wonder-blocks-modal@8.5.15
|
|
15
|
+
- @khanacademy/wonder-blocks-pill@3.1.55
|
|
16
|
+
|
|
3
17
|
## 10.7.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -8,6 +8,9 @@ type ActionProps = {
|
|
|
8
8
|
label: string | CellProps["title"];
|
|
9
9
|
/**
|
|
10
10
|
* Whether this action item is disabled.
|
|
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
|
/**
|
|
@@ -8,6 +8,9 @@ type Props = Partial<Omit<AriaProps, "aria-disabled">> & ClickableState & {
|
|
|
8
8
|
children: string;
|
|
9
9
|
/**
|
|
10
10
|
* Whether the opener is disabled. If disabled, disallows interaction.
|
|
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
|
/**
|
|
@@ -40,6 +40,9 @@ type Props = AriaProps & Readonly<{
|
|
|
40
40
|
/**
|
|
41
41
|
* Whether this component is disabled. A disabled dropdown may not be opened
|
|
42
42
|
* and does not support interaction. Defaults to false.
|
|
43
|
+
*
|
|
44
|
+
* Internally, the `aria-disabled` attribute will be set so that the
|
|
45
|
+
* element remains focusable and will be included in the tab order.
|
|
43
46
|
*/
|
|
44
47
|
disabled: boolean;
|
|
45
48
|
/**
|
|
@@ -12,6 +12,9 @@ declare const DropdownOpener: React.ForwardRefExoticComponent<Partial<Omit<AriaP
|
|
|
12
12
|
children: (openerProps: OpenerProps) => React.ReactElement<any>;
|
|
13
13
|
/**
|
|
14
14
|
* Whether the opener is disabled. If disabled, disallows interaction.
|
|
15
|
+
*
|
|
16
|
+
* Internally, the `aria-disabled` attribute will be set so that the
|
|
17
|
+
* element remains focusable and will be included in the tab order.
|
|
15
18
|
*/
|
|
16
19
|
disabled?: boolean;
|
|
17
20
|
/**
|
|
@@ -45,6 +45,9 @@ type DefaultProps = Readonly<{
|
|
|
45
45
|
/**
|
|
46
46
|
* Whether this component is disabled. A disabled dropdown may not be opened
|
|
47
47
|
* and does not support interaction. Defaults to false.
|
|
48
|
+
*
|
|
49
|
+
* Internally, the `aria-disabled` attribute will be set so that the
|
|
50
|
+
* element remains focusable and will be included in the tab order.
|
|
48
51
|
*/
|
|
49
52
|
disabled?: boolean;
|
|
50
53
|
/**
|
|
@@ -22,6 +22,9 @@ type OptionProps = AriaProps & {
|
|
|
22
22
|
value: string;
|
|
23
23
|
/**
|
|
24
24
|
* Whether this option item is disabled.
|
|
25
|
+
*
|
|
26
|
+
* Internally, the `aria-disabled` attribute will be set so that the
|
|
27
|
+
* element remains focusable and will be included in the tab order.
|
|
25
28
|
*/
|
|
26
29
|
disabled: boolean;
|
|
27
30
|
/**
|
|
@@ -9,6 +9,9 @@ type SelectOpenerProps = AriaProps & {
|
|
|
9
9
|
/**
|
|
10
10
|
* Whether the SelectOpener is disabled. If disabled, disallows interaction.
|
|
11
11
|
* Default false.
|
|
12
|
+
*
|
|
13
|
+
* Internally, the `aria-disabled` attribute will be set so that the
|
|
14
|
+
* element remains focusable and will be included in the tab order.
|
|
12
15
|
*/
|
|
13
16
|
disabled: boolean;
|
|
14
17
|
/**
|
|
@@ -33,6 +33,9 @@ type DefaultProps = Readonly<{
|
|
|
33
33
|
/**
|
|
34
34
|
* Whether this component is disabled. A disabled dropdown may not be opened
|
|
35
35
|
* and does not support interaction. Defaults to false.
|
|
36
|
+
*
|
|
37
|
+
* Internally, the `aria-disabled` attribute will be set so that the
|
|
38
|
+
* element remains focusable and will be included in the tab order.
|
|
36
39
|
*/
|
|
37
40
|
disabled?: boolean;
|
|
38
41
|
/**
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Dropdown variants for Wonder Blocks.",
|
|
4
4
|
"author": "Khan Academy",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "10.7.
|
|
6
|
+
"version": "10.7.1",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@khanacademy/wonder-blocks-announcer": "1.0.6",
|
|
32
|
-
"@khanacademy/wonder-blocks-cell": "6.1.
|
|
33
|
-
"@khanacademy/wonder-blocks-clickable": "8.1.
|
|
32
|
+
"@khanacademy/wonder-blocks-cell": "6.1.9",
|
|
33
|
+
"@khanacademy/wonder-blocks-clickable": "8.1.3",
|
|
34
34
|
"@khanacademy/wonder-blocks-core": "12.4.3",
|
|
35
|
-
"@khanacademy/wonder-blocks-form": "7.5.
|
|
35
|
+
"@khanacademy/wonder-blocks-form": "7.5.4",
|
|
36
36
|
"@khanacademy/wonder-blocks-icon": "5.3.7",
|
|
37
|
-
"@khanacademy/wonder-blocks-icon-button": "11.1.
|
|
38
|
-
"@khanacademy/wonder-blocks-modal": "8.5.
|
|
39
|
-
"@khanacademy/wonder-blocks-pill": "3.1.
|
|
40
|
-
"@khanacademy/wonder-blocks-search-field": "5.1.
|
|
37
|
+
"@khanacademy/wonder-blocks-icon-button": "11.1.4",
|
|
38
|
+
"@khanacademy/wonder-blocks-modal": "8.5.15",
|
|
39
|
+
"@khanacademy/wonder-blocks-pill": "3.1.55",
|
|
40
|
+
"@khanacademy/wonder-blocks-search-field": "5.1.61",
|
|
41
41
|
"@khanacademy/wonder-blocks-styles": "0.2.38",
|
|
42
42
|
"@khanacademy/wonder-blocks-timing": "7.0.4",
|
|
43
43
|
"@khanacademy/wonder-blocks-tokens": "15.0.0",
|