@khanacademy/wonder-blocks-search-field 2.2.27 → 2.3.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 +11 -0
- package/dist/components/search-field.d.ts +4 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @khanacademy/wonder-blocks-search-field
|
|
2
2
|
|
|
3
|
+
## 2.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 659a031d: Add onKeyUp prop to the `SearchField` component
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [3463bde3]
|
|
12
|
+
- @khanacademy/wonder-blocks-icon-button@5.5.0
|
|
13
|
+
|
|
3
14
|
## 2.2.27
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -58,6 +58,10 @@ type Props = AriaProps & {
|
|
|
58
58
|
* Called when a key is pressed.
|
|
59
59
|
*/
|
|
60
60
|
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => unknown;
|
|
61
|
+
/**
|
|
62
|
+
* Called when a key is released.
|
|
63
|
+
*/
|
|
64
|
+
onKeyUp?: (event: React.KeyboardEvent<HTMLInputElement>) => unknown;
|
|
61
65
|
/**
|
|
62
66
|
* Called when the element has been focused.
|
|
63
67
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@khanacademy/wonder-blocks-search-field",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"design": "v1",
|
|
5
5
|
"description": "Search Field components for Wonder Blocks.",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@khanacademy/wonder-blocks-core": "^7.0.1",
|
|
20
20
|
"@khanacademy/wonder-blocks-form": "^4.9.4",
|
|
21
21
|
"@khanacademy/wonder-blocks-icon": "^4.1.5",
|
|
22
|
-
"@khanacademy/wonder-blocks-icon-button": "^5.
|
|
22
|
+
"@khanacademy/wonder-blocks-icon-button": "^5.5.0",
|
|
23
23
|
"@khanacademy/wonder-blocks-tokens": "^2.0.1",
|
|
24
24
|
"@khanacademy/wonder-blocks-typography": "^2.1.16"
|
|
25
25
|
},
|