@khanacademy/wonder-blocks-dropdown 6.0.0 → 6.1.0
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/CHANGELOG.md +25 -0
- package/dist/components/dropdown-opener.d.ts +8 -0
- package/dist/components/multi-select.d.ts +44 -60
- package/dist/components/select-opener.d.ts +4 -0
- package/dist/components/single-select.d.ts +40 -42
- package/dist/es/index.js +445 -407
- package/dist/hooks/use-select-validation.d.ts +39 -0
- package/dist/index.js +444 -406
- package/dist/util/constants.d.ts +10 -7
- package/package.json +2 -2
package/dist/util/constants.d.ts
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { ComboboxLabels } from "./types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
2
|
+
/**
|
|
3
|
+
* Key value mapping reference:
|
|
4
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_key_values
|
|
5
|
+
*/
|
|
6
|
+
export declare const keys: {
|
|
7
|
+
readonly escape: "Escape";
|
|
8
|
+
readonly tab: "Tab";
|
|
9
|
+
readonly space: " ";
|
|
10
|
+
readonly up: "ArrowUp";
|
|
11
|
+
readonly down: "ArrowDown";
|
|
9
12
|
};
|
|
10
13
|
export declare const selectDropdownStyle: {
|
|
11
14
|
readonly marginTop: 8;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@khanacademy/wonder-blocks-dropdown",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"design": "v1",
|
|
5
5
|
"description": "Dropdown variants for Wonder Blocks.",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@khanacademy/wonder-blocks-layout": "^3.0.0",
|
|
24
24
|
"@khanacademy/wonder-blocks-modal": "^6.0.0",
|
|
25
25
|
"@khanacademy/wonder-blocks-pill": "^3.0.0",
|
|
26
|
-
"@khanacademy/wonder-blocks-search-field": "^3.
|
|
26
|
+
"@khanacademy/wonder-blocks-search-field": "^3.1.0",
|
|
27
27
|
"@khanacademy/wonder-blocks-timing": "^6.0.0",
|
|
28
28
|
"@khanacademy/wonder-blocks-tokens": "^3.0.0",
|
|
29
29
|
"@khanacademy/wonder-blocks-typography": "^3.0.0"
|