You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@khanacademy/wonder-blocks-tokens

Package Overview
Dependencies
Maintainers
1
Versions
235
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@khanacademy/wonder-blocks-tokens - npm Package Compare versions

Comparing version

to
4.2.0

LICENSE

51

CHANGELOG.md
# @khanacademy/wonder-blocks-tokens
## 4.2.0
### Minor Changes
- f03298f: Tooling:
- Switching to `pnpm`.
- Upgrading `rollup` to v4 and `@babel/runtime` to match the current webapp version.
## 4.1.0

@@ -7,4 +16,4 @@

- 8cfaeab0: Add `icon.disabled` token to semanticColor.
- c162abb4: Add `border.focus` semantic color token to use for the focus outline
- 8cfaeab0: Add `icon.disabled` token to semanticColor.
- c162abb4: Add `border.focus` semantic color token to use for the focus outline

@@ -15,7 +24,7 @@ ## 4.0.0

- 0de25cd8: - Reworked semanticColor actions to use a new structure. Every `action` now includes `default`, `hover` and `press` states, and each state includes `border`, `background` and `foreground` tokens.
- 0de25cd8: - Reworked semanticColor actions to use a new structure. Every `action` now includes `default`, `hover` and `press` states, and each state includes `border`, `background` and `foreground` tokens.
- Renamed `primary` to `progressive`.
- Renamed `primary` to `progressive`.
- Added more categories to actions: `filled` and `outline`.
- Added more categories to actions: `filled` and `outline`.

@@ -26,3 +35,3 @@ ## 3.0.1

- 11a0f5c6: No functional changes. Adding prepublishOnly script.
- 11a0f5c6: No functional changes. Adding prepublishOnly script.

@@ -33,3 +42,3 @@ ## 3.0.0

- e6abdd17: Upgrade to React 18
- e6abdd17: Upgrade to React 18

@@ -40,3 +49,3 @@ ## 2.1.0

- 6999fd39: Add mediaQuery tokens for viewport sizing
- 6999fd39: Add mediaQuery tokens for viewport sizing

@@ -47,3 +56,3 @@ ## 2.0.1

- 02a1b298: Make sure we don't package tsconfig and tsbuildinfo files
- 02a1b298: Make sure we don't package tsconfig and tsbuildinfo files

@@ -54,4 +63,4 @@ ## 2.0.0

- f17dc1ee: Remove pink and lightBlue from brand colors
- 991eb43f: Add semanticColor tokens, remove deprecated Brand color primitives
- f17dc1ee: Remove pink and lightBlue from brand colors
- 991eb43f: Add semanticColor tokens, remove deprecated Brand color primitives

@@ -62,3 +71,3 @@ ## 1.3.1

- 559e82d5: Update to build tooling, generating smaller output
- 559e82d5: Update to build tooling, generating smaller output

@@ -69,3 +78,3 @@ ## 1.3.0

- 9bfeead9: Add faded versions of offBlack
- 9bfeead9: Add faded versions of offBlack

@@ -76,8 +85,8 @@ ## 1.2.0

- 874081aa: Add fade and mix functions
- 874081aa: Add fade and mix functions
### Patch Changes
- 874081aa: Remove wonder-blocks-color dependency in favor of wonder-blocks-tokens
- a9bf603a: Move spacing tokens to wb-tokens
- 874081aa: Remove wonder-blocks-color dependency in favor of wonder-blocks-tokens
- a9bf603a: Move spacing tokens to wb-tokens

@@ -88,3 +97,3 @@ ## 1.1.0

- 4cfb4977: Add new shades of existing colors (24%).
- 4cfb4977: Add new shades of existing colors (24%).

@@ -95,3 +104,3 @@ ## 1.0.0

- e83f8991: Mark wb-tokens as public (first official release)
- e83f8991: Mark wb-tokens as public (first official release)

@@ -102,4 +111,4 @@ ## 0.2.0

- 7cd7f6cc: Move tokens from wb-theming to wb-tokens and split token categories into separate objects/files
- 7c51f377: Add fadedBlue24 color token
- 7cd7f6cc: Move tokens from wb-theming to wb-tokens and split token categories into separate objects/files
- 7c51f377: Add fadedBlue24 color token

@@ -110,2 +119,2 @@ ## 0.1.0

- a95d1323: Add skeleton for tokens package
- a95d1323: Add skeleton for tokens package

@@ -19,14 +19,9 @@ const border$1 = {

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);
}

@@ -33,0 +28,0 @@

'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
const border$1 = {

@@ -23,14 +21,9 @@ radius: {

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);
}

@@ -37,0 +30,0 @@

{
"name": "@khanacademy/wonder-blocks-tokens",
"version": "4.1.0",
"version": "4.2.0",
"description": "Core primitive design tokens for Web Wonder Blocks",

@@ -8,6 +8,2 @@ "main": "dist/index.js",

"types": "dist/index.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prepublishOnly": "../../utils/publish/package-pre-publish-check.sh"
},
"author": "",

@@ -20,4 +16,7 @@ "license": "MIT",

"devDependencies": {
"@khanacademy/wb-dev-build-settings": "^2.0.0"
"@khanacademy/wb-dev-build-settings": "2.1.0"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
}
}