@khanacademy/wonder-blocks-theming 3.1.0 → 3.2.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 +12 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @khanacademy/wonder-blocks-theming
|
|
2
2
|
|
|
3
|
+
## 3.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 6d37702: Expose WithoutTheme type for use in withScopedTheme HOC.
|
|
8
|
+
|
|
9
|
+
## 3.1.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- ee8d95a: Rollback rollup version from v4 to v2 to prevent an issue with CJS builds in unit tests
|
|
14
|
+
|
|
3
15
|
## 3.1.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { mergeTheme } from "./utils/merge-theme";
|
|
2
2
|
export { default as createThemeContext } from "./utils/create-theme-context";
|
|
3
3
|
export { default as useScopedTheme } from "./hooks/use-scoped-theme";
|
|
4
|
-
export { default as withScopedTheme, type WithThemeProps, } from "./components/with-scoped-theme";
|
|
4
|
+
export { default as withScopedTheme, type WithThemeProps, type WithoutTheme, } from "./components/with-scoped-theme";
|
|
5
5
|
export { type ThemedStylesFn, type SupportedThemes, type Themes } from "./types";
|
|
6
6
|
export { default as useStyles } from "./hooks/use-styles";
|
|
7
7
|
export { ThemeSwitcherContext } from "./utils/theme-switcher-context";
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
3
5
|
var React = require('react');
|
|
4
6
|
var aphrodite = require('aphrodite');
|
|
5
7
|
|
|
6
|
-
function
|
|
8
|
+
function _interopNamespace(e) {
|
|
9
|
+
if (e && e.__esModule) return e;
|
|
7
10
|
var n = Object.create(null);
|
|
8
11
|
if (e) {
|
|
9
12
|
Object.keys(e).forEach(function (k) {
|
|
@@ -16,11 +19,11 @@ function _interopNamespaceDefault(e) {
|
|
|
16
19
|
}
|
|
17
20
|
});
|
|
18
21
|
}
|
|
19
|
-
n
|
|
22
|
+
n["default"] = e;
|
|
20
23
|
return Object.freeze(n);
|
|
21
24
|
}
|
|
22
25
|
|
|
23
|
-
var React__namespace = /*#__PURE__*/
|
|
26
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
24
27
|
|
|
25
28
|
function _extends() {
|
|
26
29
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@khanacademy/wonder-blocks-theming",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"react-dom": "18.2.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@khanacademy/wb-dev-build-settings": "2.1.
|
|
18
|
+
"@khanacademy/wb-dev-build-settings": "2.1.1"
|
|
19
19
|
},
|
|
20
20
|
"author": "",
|
|
21
21
|
"license": "MIT",
|