@khanacademy/wonder-blocks-theming
Advanced tools
Comparing version 3.0.1 to 3.1.0
# @khanacademy/wonder-blocks-theming | ||
## 3.1.0 | ||
### Minor Changes | ||
- f03298f: Tooling: | ||
- Switching to `pnpm`. | ||
- Upgrading `rollup` to v4 and `@babel/runtime` to match the current webapp version. | ||
## 3.0.1 | ||
@@ -7,3 +16,3 @@ | ||
- 11a0f5c6: No functional changes. Adding prepublishOnly script. | ||
- 11a0f5c6: No functional changes. Adding prepublishOnly script. | ||
@@ -14,3 +23,3 @@ ## 3.0.0 | ||
- e6abdd17: Upgrade to React 18 | ||
- e6abdd17: Upgrade to React 18 | ||
@@ -21,3 +30,3 @@ ## 2.0.4 | ||
- 02a1b298: Make sure we don't package tsconfig and tsbuildinfo files | ||
- 02a1b298: Make sure we don't package tsconfig and tsbuildinfo files | ||
@@ -28,3 +37,3 @@ ## 2.0.3 | ||
- 559e82d5: Update to build tooling, generating smaller output | ||
- 559e82d5: Update to build tooling, generating smaller output | ||
@@ -35,3 +44,3 @@ ## 2.0.2 | ||
- 874081aa: Remove wonder-blocks-color dependency in favor of wonder-blocks-tokens | ||
- 874081aa: Remove wonder-blocks-color dependency in favor of wonder-blocks-tokens | ||
@@ -42,3 +51,3 @@ ## 2.0.1 | ||
- e83f8991: Add "dark" to the list of supported themes | ||
- e83f8991: Add "dark" to the list of supported themes | ||
@@ -49,7 +58,7 @@ ## 2.0.0 | ||
- 7cd7f6cc: Move tokens export to wb-tokens | ||
- 7cd7f6cc: Move tokens export to wb-tokens | ||
### Patch Changes | ||
- 60aba5b8: Update internal spacing references (from wb-spacing to wb-tokens) | ||
- 60aba5b8: Update internal spacing references (from wb-spacing to wb-tokens) | ||
@@ -60,3 +69,3 @@ ## 1.3.0 | ||
- 80592e75: Added more colors to Pill, small pills are now 24px tall with 14px font size. Tokens (theming) now include pill colors. | ||
- 80592e75: Added more colors to Pill, small pills are now 24px tall with 14px font size. Tokens (theming) now include pill colors. | ||
@@ -67,3 +76,3 @@ ## 1.2.1 | ||
- edcfbe14: fix font.family.sans value | ||
- edcfbe14: fix font.family.sans value | ||
@@ -74,3 +83,3 @@ ## 1.2.0 | ||
- 3f854fe8: Export supported themes list, change WB components to use these new exports | ||
- 3f854fe8: Export supported themes list, change WB components to use these new exports | ||
@@ -81,4 +90,4 @@ ## 1.1.1 | ||
- Updated dependencies [48d3c7e9] | ||
- @khanacademy/wonder-blocks-color@3.0.0 | ||
- Updated dependencies [48d3c7e9] | ||
- @khanacademy/wonder-blocks-color@3.0.0 | ||
@@ -89,4 +98,4 @@ ## 1.1.0 | ||
- 5725703a: Add new color tokens (more faded values) | ||
- fc6cec0b: Add theming to Switch and new color tokens for theming | ||
- 5725703a: Add new color tokens (more faded values) | ||
- fc6cec0b: Add theming to Switch and new color tokens for theming | ||
@@ -97,3 +106,3 @@ ## 1.0.0 | ||
- bad46d23: First public release of theming package | ||
- bad46d23: First public release of theming package | ||
@@ -104,3 +113,3 @@ ## 0.3.0 | ||
- b2634f7c: Add `themeName` return value to `useScopedTheme` to allow getting the name of the theme in use. | ||
- b2634f7c: Add `themeName` return value to `useScopedTheme` to allow getting the name of the theme in use. | ||
@@ -111,9 +120,9 @@ ## 0.2.0 | ||
- 758eb872: Add useScopedTheme hook | ||
- 0f983e19: Add useStyles hook | ||
- 014cd622: Add mergeTheme utility to extend themes | ||
- 016801b7: Add ThemeSwitcherContext util | ||
- 183ab2b8: Add global tokens | ||
- 014cd622: Add createThemeContext | ||
- abf48091: Add withScopedTheme HOC | ||
- 758eb872: Add useScopedTheme hook | ||
- 0f983e19: Add useStyles hook | ||
- 014cd622: Add mergeTheme utility to extend themes | ||
- 016801b7: Add ThemeSwitcherContext util | ||
- 183ab2b8: Add global tokens | ||
- 014cd622: Add createThemeContext | ||
- abf48091: Add withScopedTheme HOC | ||
@@ -124,6 +133,6 @@ ## 0.1.0 | ||
- 9f3752d4: Add theming package | ||
- 9f3752d4: Add theming package | ||
### Patch Changes | ||
- 9f3752d4: Change package settings | ||
- 9f3752d4: Change package settings |
@@ -5,14 +5,9 @@ import * as React from 'react'; | ||
function _extends() { | ||
_extends = Object.assign ? Object.assign.bind() : function (target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
return _extends = Object.assign ? Object.assign.bind() : function (n) { | ||
for (var e = 1; e < arguments.length; e++) { | ||
var t = arguments[e]; | ||
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); | ||
} | ||
return target; | ||
}; | ||
return _extends.apply(this, arguments); | ||
return n; | ||
}, _extends.apply(null, arguments); | ||
} | ||
@@ -19,0 +14,0 @@ |
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
var React = require('react'); | ||
var aphrodite = require('aphrodite'); | ||
function _interopNamespace(e) { | ||
if (e && e.__esModule) return e; | ||
function _interopNamespaceDefault(e) { | ||
var n = Object.create(null); | ||
@@ -22,21 +19,16 @@ if (e) { | ||
} | ||
n["default"] = e; | ||
n.default = e; | ||
return Object.freeze(n); | ||
} | ||
var React__namespace = /*#__PURE__*/_interopNamespace(React); | ||
var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React); | ||
function _extends() { | ||
_extends = Object.assign ? Object.assign.bind() : function (target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
return _extends = Object.assign ? Object.assign.bind() : function (n) { | ||
for (var e = 1; e < arguments.length; e++) { | ||
var t = arguments[e]; | ||
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); | ||
} | ||
return target; | ||
}; | ||
return _extends.apply(this, arguments); | ||
return n; | ||
}, _extends.apply(null, arguments); | ||
} | ||
@@ -43,0 +35,0 @@ |
{ | ||
"name": "@khanacademy/wonder-blocks-theming", | ||
"version": "3.0.1", | ||
"version": "3.1.0", | ||
"publishConfig": { | ||
@@ -11,6 +11,2 @@ "access": "public" | ||
"types": "dist/index.d.ts", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"prepublishOnly": "../../utils/publish/package-pre-publish-check.sh" | ||
}, | ||
"dependencies": {}, | ||
@@ -23,6 +19,9 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@khanacademy/wb-dev-build-settings": "^2.0.0" | ||
"@khanacademy/wb-dev-build-settings": "2.1.0" | ||
}, | ||
"author": "", | ||
"license": "MIT" | ||
"license": "MIT", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
} | ||
} |
11735
13
208