@khanacademy/wonder-blocks-button 6.3.11 → 7.0.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 +24 -0
- package/dist/components/button-icon.d.ts +2 -2
- package/dist/themes/themed-button.d.ts +1 -1
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @khanacademy/wonder-blocks-button
|
|
2
2
|
|
|
3
|
+
## 7.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- e6abdd17: Upgrade to React 18
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [e6abdd17]
|
|
12
|
+
- @khanacademy/wonder-blocks-theming@3.0.0
|
|
13
|
+
- @khanacademy/wonder-blocks-core@8.0.0
|
|
14
|
+
- @khanacademy/wonder-blocks-clickable@5.0.0
|
|
15
|
+
- @khanacademy/wonder-blocks-icon@5.0.0
|
|
16
|
+
- @khanacademy/wonder-blocks-progress-spinner@3.0.0
|
|
17
|
+
- @khanacademy/wonder-blocks-tokens@3.0.0
|
|
18
|
+
- @khanacademy/wonder-blocks-typography@3.0.0
|
|
19
|
+
|
|
20
|
+
## 6.3.12
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies [c1110599]
|
|
25
|
+
- @khanacademy/wonder-blocks-icon@4.2.0
|
|
26
|
+
|
|
3
27
|
## 6.3.11
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import { StyleType } from "@khanacademy/wonder-blocks-core";
|
|
3
3
|
import { PhosphorIconAsset } from "@khanacademy/wonder-blocks-icon";
|
|
4
4
|
/**
|
|
@@ -10,4 +10,4 @@ export declare function ButtonIcon({ icon, size, style, testId, }: {
|
|
|
10
10
|
size: "small" | "medium";
|
|
11
11
|
style?: StyleType;
|
|
12
12
|
testId?: string;
|
|
13
|
-
}): JSX.Element;
|
|
13
|
+
}): React.JSX.Element;
|
|
@@ -119,5 +119,5 @@ export declare const ButtonThemeContext: React.Context<{
|
|
|
119
119
|
/**
|
|
120
120
|
* ThemedButton is a component that provides a theme to the <Button/> component.
|
|
121
121
|
*/
|
|
122
|
-
export default function ThemedButton(props: Props): JSX.Element;
|
|
122
|
+
export default function ThemedButton(props: Props): React.JSX.Element;
|
|
123
123
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@khanacademy/wonder-blocks-button",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"design": "v1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -16,21 +16,21 @@
|
|
|
16
16
|
"license": "MIT",
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@babel/runtime": "^7.18.6",
|
|
19
|
-
"@khanacademy/wonder-blocks-clickable": "^
|
|
20
|
-
"@khanacademy/wonder-blocks-core": "^
|
|
21
|
-
"@khanacademy/wonder-blocks-icon": "^
|
|
22
|
-
"@khanacademy/wonder-blocks-progress-spinner": "^
|
|
23
|
-
"@khanacademy/wonder-blocks-theming": "^
|
|
24
|
-
"@khanacademy/wonder-blocks-tokens": "^
|
|
25
|
-
"@khanacademy/wonder-blocks-typography": "^
|
|
19
|
+
"@khanacademy/wonder-blocks-clickable": "^5.0.0",
|
|
20
|
+
"@khanacademy/wonder-blocks-core": "^8.0.0",
|
|
21
|
+
"@khanacademy/wonder-blocks-icon": "^5.0.0",
|
|
22
|
+
"@khanacademy/wonder-blocks-progress-spinner": "^3.0.0",
|
|
23
|
+
"@khanacademy/wonder-blocks-theming": "^3.0.0",
|
|
24
|
+
"@khanacademy/wonder-blocks-tokens": "^3.0.0",
|
|
25
|
+
"@khanacademy/wonder-blocks-typography": "^3.0.0"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"aphrodite": "^1.2.5",
|
|
29
|
-
"react": "
|
|
30
|
-
"react-router": "5.
|
|
31
|
-
"react-router-dom": "5.3.
|
|
29
|
+
"react": "18.2.0",
|
|
30
|
+
"react-router": "5.3.4",
|
|
31
|
+
"react-router-dom": "5.3.4"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@khanacademy/wb-dev-build-settings": "^
|
|
34
|
+
"@khanacademy/wb-dev-build-settings": "^2.0.0"
|
|
35
35
|
}
|
|
36
36
|
}
|