Skip to content

Commit dbc4dfb

Browse files
committed
ship with newer better-color-tools v
1 parent 65606c1 commit dbc4dfb

21 files changed

+139
-110
lines changed

.changeset/loud-taxis-remain.md

-10
This file was deleted.

examples/adobe/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"check": "co check"
99
},
1010
"dependencies": {
11-
"@cobalt-ui/cli": "^0.4.0",
12-
"@cobalt-ui/plugin-css": "^0.5.2",
13-
"@cobalt-ui/plugin-json": "^0.3.4",
14-
"@cobalt-ui/plugin-sass": "^0.4.9",
15-
"@cobalt-ui/plugin-ts": "^0.3.4"
11+
"@cobalt-ui/cli": "^0.5.0",
12+
"@cobalt-ui/plugin-css": "^0.6.0",
13+
"@cobalt-ui/plugin-json": "^0.4.0",
14+
"@cobalt-ui/plugin-sass": "^0.5.0",
15+
"@cobalt-ui/plugin-ts": "^0.4.0"
1616
}
1717
}

examples/apple/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"check": "co check"
99
},
1010
"devDependencies": {
11-
"@cobalt-ui/cli": "^0.4.0",
12-
"@cobalt-ui/plugin-css": "^0.5.2",
13-
"@cobalt-ui/plugin-json": "^0.3.4",
14-
"@cobalt-ui/plugin-sass": "^0.4.9",
15-
"@cobalt-ui/plugin-ts": "^0.3.4"
11+
"@cobalt-ui/cli": "^0.5.0",
12+
"@cobalt-ui/plugin-css": "^0.6.0",
13+
"@cobalt-ui/plugin-json": "^0.4.0",
14+
"@cobalt-ui/plugin-sass": "^0.5.0",
15+
"@cobalt-ui/plugin-ts": "^0.4.0"
1616
}
1717
}

examples/github/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
"update": "node scripts/update"
99
},
1010
"devDependencies": {
11-
"@cobalt-ui/cli": "^0.4.0",
12-
"@cobalt-ui/plugin-css": "^0.5.2",
13-
"@cobalt-ui/plugin-json": "^0.3.4",
14-
"@cobalt-ui/plugin-sass": "^0.4.9",
15-
"@cobalt-ui/plugin-ts": "^0.3.4",
11+
"@cobalt-ui/cli": "^0.5.0",
12+
"@cobalt-ui/plugin-css": "^0.6.0",
13+
"@cobalt-ui/plugin-json": "^0.4.0",
14+
"@cobalt-ui/plugin-sass": "^0.5.0",
15+
"@cobalt-ui/plugin-ts": "^0.4.0",
1616
"@primer/octicons": "^16.2.0",
1717
"@primer/primitives": "^7.4.0"
1818
}

examples/ibm/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
"@carbon/colors": "^10.34.0",
1212
"@carbon/icons": "^10.44.0",
1313
"@carbon/type": "^10.39.0",
14-
"@cobalt-ui/cli": "^0.4.0",
15-
"@cobalt-ui/plugin-css": "^0.5.2",
16-
"@cobalt-ui/plugin-json": "^0.3.4",
17-
"@cobalt-ui/plugin-sass": "^0.4.9",
18-
"@cobalt-ui/plugin-ts": "^0.3.4"
14+
"@cobalt-ui/cli": "^0.5.0",
15+
"@cobalt-ui/plugin-css": "^0.6.0",
16+
"@cobalt-ui/plugin-json": "^0.4.0",
17+
"@cobalt-ui/plugin-sass": "^0.5.0",
18+
"@cobalt-ui/plugin-ts": "^0.4.0"
1919
}
2020
}

examples/salesforce/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
"update": "node scripts/update"
99
},
1010
"devDependencies": {
11-
"@cobalt-ui/cli": "^0.4.0",
12-
"@cobalt-ui/plugin-css": "^0.5.2",
13-
"@cobalt-ui/plugin-json": "^0.3.4",
14-
"@cobalt-ui/plugin-sass": "^0.4.9",
15-
"@cobalt-ui/plugin-ts": "^0.3.4",
11+
"@cobalt-ui/cli": "^0.5.0",
12+
"@cobalt-ui/plugin-css": "^0.6.0",
13+
"@cobalt-ui/plugin-json": "^0.4.0",
14+
"@cobalt-ui/plugin-sass": "^0.5.0",
15+
"@cobalt-ui/plugin-ts": "^0.4.0",
1616
"@salesforce-ux/design-system": "^2.16.2",
17-
"better-color-tools": "^0.3.0"
17+
"better-color-tools": "^0.6.1"
1818
}
1919
}

examples/shopify/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
"build:tokens": "co build"
88
},
99
"devDependencies": {
10-
"@cobalt-ui/cli": "^0.4.0",
11-
"@cobalt-ui/plugin-css": "^0.5.2",
12-
"@cobalt-ui/plugin-json": "^0.3.4",
13-
"@cobalt-ui/plugin-sass": "^0.4.9",
14-
"@cobalt-ui/plugin-ts": "^0.3.4"
10+
"@cobalt-ui/cli": "^0.5.0",
11+
"@cobalt-ui/plugin-css": "^0.6.0",
12+
"@cobalt-ui/plugin-json": "^0.4.0",
13+
"@cobalt-ui/plugin-sass": "^0.5.0",
14+
"@cobalt-ui/plugin-ts": "^0.4.0"
1515
}
1616
}

packages/cli/CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# @cobalt-ui/cli
22

3+
## 0.5.0
4+
5+
### Minor Changes
6+
7+
- 07bc365: Update to Feb 2022 version of the Design Tokens format
8+
9+
### Patch Changes
10+
11+
- Updated dependencies [07bc365]
12+
- @cobalt-ui/core@0.6.0
13+
314
## 0.4.0
415

516
### Minor Changes

packages/cli/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"W3C",
77
"JSON"
88
],
9-
"version": "0.4.0",
9+
"version": "0.5.0",
1010
"author": {
1111
"name": "Drew Powers",
1212
"email": "[email protected]"
@@ -29,9 +29,9 @@
2929
"test": "mocha --parallel"
3030
},
3131
"dependencies": {
32-
"@cobalt-ui/core": "^0.5.0",
32+
"@cobalt-ui/core": "^0.6.0",
3333
"@cobalt-ui/utils": "^0.3.0",
34-
"better-color-tools": "^0.3.1",
34+
"better-color-tools": "^0.6.1",
3535
"chokidar": "^3.5.3",
3636
"dotenv": "^10.0.0",
3737
"number-precision": "^1.5.1",

packages/core/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @cobalt-ui/core
22

3+
## 0.6.0
4+
5+
### Minor Changes
6+
7+
- 07bc365: Update to Feb 2022 version of the Design Tokens format
8+
39
## 0.5.0
410

511
### Minor Changes

packages/core/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@cobalt-ui/core",
33
"description": "CLI for using the W3C design token format",
4-
"version": "0.5.0",
4+
"version": "0.6.0",
55
"author": {
66
"name": "Drew Powers",
77
"email": "[email protected]"
@@ -28,7 +28,7 @@
2828
"dependencies": {
2929
"@cobalt-ui/utils": "^0.3.0",
3030
"@types/svgo": "^2.6.1",
31-
"better-color-tools": "^0.3.1"
31+
"better-color-tools": "^0.6.1"
3232
},
3333
"devDependencies": {
3434
"@types/node": "^17.0.12",

packages/core/test/token.test.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,10 @@ describe('9. Composite Type', () => {
280280
it('basic', () => {
281281
const json = {
282282
shadow: {
283-
simple: { $type: 'shadow', $value: { offsetX: 0, offsetY: '4px', blur: '8px', spread: 0, color: 'rgb(0, 0, 0, 0.15)' } },
283+
simple: {
284+
$type: 'shadow',
285+
$value: { offsetX: 0, offsetY: '4px', blur: '8px', spread: 0, color: 'rgb(0, 0, 0, 0.15)' },
286+
},
284287
},
285288
};
286289
const tokens = getTokens(json);

packages/plugin-css/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @cobalt-ui/plugin-css
22

3+
## 0.6.0
4+
5+
### Minor Changes
6+
7+
- 07bc365: Update to Feb 2022 version of the Design Tokens format
8+
39
## 0.5.2
410

511
### Patch Changes

packages/plugin-css/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@cobalt-ui/plugin-css",
33
"description": "Generate CSS from your design tokens schema (requires @cobalt-ui/cli)",
4-
"version": "0.5.2",
4+
"version": "0.6.0",
55
"author": {
66
"name": "Drew Powers",
77
"email": "[email protected]"
@@ -23,13 +23,13 @@
2323
},
2424
"dependencies": {
2525
"@cobalt-ui/utils": "^0.3.0",
26-
"better-color-tools": "^0.3.1",
26+
"better-color-tools": "^0.6.1",
2727
"mime": "^3.0.0",
2828
"svgo": "^2.8.0"
2929
},
3030
"devDependencies": {
31-
"@cobalt-ui/cli": "^0.4.0",
32-
"@cobalt-ui/core": "^0.5.0",
31+
"@cobalt-ui/cli": "^0.5.0",
32+
"@cobalt-ui/core": "^0.6.0",
3333
"@types/mime": "^2.0.3",
3434
"@types/svgo": "^2.6.1",
3535
"chai": "^4.3.6",

packages/plugin-json/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @cobalt-ui/plugin-json
22

3+
## 0.4.0
4+
5+
### Minor Changes
6+
7+
- 07bc365: Update to Feb 2022 version of the Design Tokens format
8+
39
## 0.3.4
410

511
### Patch Changes

packages/plugin-json/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@cobalt-ui/plugin-json",
33
"description": "Generate JSON from your design tokens schema (requires @cobalt-ui/cli)",
4-
"version": "0.3.4",
4+
"version": "0.4.0",
55
"author": {
66
"name": "Drew Powers",
77
"email": "[email protected]"
@@ -22,6 +22,6 @@
2222
"dev": "tsc -w"
2323
},
2424
"devDependencies": {
25-
"@cobalt-ui/core": "^0.5.0"
25+
"@cobalt-ui/core": "^0.6.0"
2626
}
2727
}

packages/plugin-sass/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @cobalt-ui/plugin-sass
22

3+
## 0.5.0
4+
5+
### Minor Changes
6+
7+
- 07bc365: Update to Feb 2022 version of the Design Tokens format
8+
39
## 0.4.9
410

511
### Patch Changes

packages/plugin-sass/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@cobalt-ui/plugin-sass",
33
"description": "Generate scss/sass from your design tokens schema (requires @cobalt-ui/cli)",
4-
"version": "0.4.9",
4+
"version": "0.5.0",
55
"author": {
66
"name": "Drew Powers",
77
"email": "[email protected]"
@@ -27,8 +27,8 @@
2727
"svgo": "^2.8.0"
2828
},
2929
"devDependencies": {
30-
"@cobalt-ui/cli": "^0.4.0",
31-
"@cobalt-ui/core": "^0.5.0",
30+
"@cobalt-ui/cli": "^0.5.0",
31+
"@cobalt-ui/core": "^0.6.0",
3232
"@types/mime": "^2.0.3",
3333
"@types/svgo": "^2.6.1",
3434
"chai": "^4.3.6",

packages/plugin-ts/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @cobalt-ui/plugin-ts
22

3+
## 0.4.0
4+
5+
### Minor Changes
6+
7+
- 07bc365: Update to Feb 2022 version of the Design Tokens format
8+
39
## 0.3.4
410

511
### Patch Changes

packages/plugin-ts/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@cobalt-ui/plugin-ts",
33
"description": "Generate TypeScript from your design tokens schema (requires @cobalt-ui/cli)",
4-
"version": "0.3.4",
4+
"version": "0.4.0",
55
"author": {
66
"name": "Drew Powers",
77
"email": "[email protected]"
@@ -24,6 +24,6 @@
2424
"@cobalt-ui/utils": "^0.3.0"
2525
},
2626
"devDependencies": {
27-
"@cobalt-ui/core": "^0.5.0"
27+
"@cobalt-ui/core": "^0.6.0"
2828
}
2929
}

0 commit comments

Comments
 (0)