@khanacademy/wonder-blocks-switch 1.1.24 → 2.0.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/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @khanacademy/wonder-blocks-switch
2
2
 
3
+ ## 2.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [f4abd572]
8
+ - @khanacademy/wonder-blocks-core@9.0.0
9
+ - @khanacademy/wonder-blocks-icon@5.0.1
10
+
11
+ ## 2.0.0
12
+
13
+ ### Major Changes
14
+
15
+ - e6abdd17: Upgrade to React 18
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies [e6abdd17]
20
+ - @khanacademy/wonder-blocks-theming@3.0.0
21
+ - @khanacademy/wonder-blocks-core@8.0.0
22
+ - @khanacademy/wonder-blocks-icon@5.0.0
23
+ - @khanacademy/wonder-blocks-tokens@3.0.0
24
+
3
25
  ## 1.1.24
4
26
 
5
27
  ### Patch Changes
@@ -72,5 +72,5 @@ export declare const SwitchThemeContext: React.Context<{
72
72
  /**
73
73
  * ThemedSwitch is a component that provides a theme to the <Switch/> component.
74
74
  */
75
- export default function ThemedSwitch(props: Props): JSX.Element;
75
+ export default function ThemedSwitch(props: Props): React.JSX.Element;
76
76
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khanacademy/wonder-blocks-switch",
3
- "version": "1.1.24",
3
+ "version": "2.0.1",
4
4
  "design": "v1",
5
5
  "description": "Switch components for Wonder Blocks.",
6
6
  "main": "dist/index.js",
@@ -16,16 +16,16 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "@babel/runtime": "^7.18.6",
19
- "@khanacademy/wonder-blocks-core": "^7.0.1",
20
- "@khanacademy/wonder-blocks-icon": "^4.2.0",
21
- "@khanacademy/wonder-blocks-theming": "^2.0.4",
22
- "@khanacademy/wonder-blocks-tokens": "^2.1.0"
19
+ "@khanacademy/wonder-blocks-core": "^9.0.0",
20
+ "@khanacademy/wonder-blocks-icon": "^5.0.1",
21
+ "@khanacademy/wonder-blocks-theming": "^3.0.0",
22
+ "@khanacademy/wonder-blocks-tokens": "^3.0.0"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "aphrodite": "^1.2.5",
26
- "react": "16.14.0"
26
+ "react": "18.2.0"
27
27
  },
28
28
  "devDependencies": {
29
- "@khanacademy/wb-dev-build-settings": "^1.0.1"
29
+ "@khanacademy/wb-dev-build-settings": "^2.0.0"
30
30
  }
31
31
  }