@atlaskit/tokens 0.9.1 → 0.9.4
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 +18 -0
- package/babel-plugin/package.json +3 -0
- package/css/atlassian-dark.css +7 -4
- package/css/atlassian-light.css +7 -4
- package/dist/cjs/artifacts/palettes-raw.js +1987 -0
- package/dist/cjs/artifacts/rename-mapping.js +8 -4
- package/dist/cjs/artifacts/token-default-values.js +8 -5
- package/dist/cjs/artifacts/token-names.js +6 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +384 -6
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +384 -6
- package/dist/cjs/entry-points/palettes-raw.js +15 -0
- package/dist/cjs/entry-points/token-ids.js +1 -1
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/tokens/atlassian-dark/color/background.js +2 -2
- package/dist/cjs/tokens/atlassian-light/color/background.js +2 -2
- package/dist/cjs/tokens/default/deprecated/deprecated.js +187 -0
- package/dist/cjs/tokens/palette.js +232 -116
- package/dist/cjs/utils/color-detection.js +129 -0
- package/dist/cjs/{token-ids.js → utils/token-ids.js} +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/palettes-raw.js +1979 -0
- package/dist/es2019/artifacts/rename-mapping.js +8 -5
- package/dist/es2019/artifacts/token-default-values.js +8 -6
- package/dist/es2019/artifacts/token-names.js +5 -2
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +383 -6
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +383 -6
- package/dist/es2019/entry-points/palettes-raw.js +1 -0
- package/dist/es2019/entry-points/token-ids.js +1 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/tokens/atlassian-dark/color/background.js +2 -2
- package/dist/es2019/tokens/atlassian-light/color/background.js +2 -2
- package/dist/es2019/tokens/default/deprecated/deprecated.js +187 -0
- package/dist/es2019/tokens/palette.js +232 -116
- package/dist/es2019/utils/color-detection.js +101 -0
- package/dist/es2019/{token-ids.js → utils/token-ids.js} +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/palettes-raw.js +1979 -0
- package/dist/esm/artifacts/rename-mapping.js +8 -5
- package/dist/esm/artifacts/token-default-values.js +8 -6
- package/dist/esm/artifacts/token-names.js +5 -2
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +383 -6
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +383 -6
- package/dist/esm/entry-points/palettes-raw.js +1 -0
- package/dist/esm/entry-points/token-ids.js +1 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/tokens/atlassian-dark/color/background.js +2 -2
- package/dist/esm/tokens/atlassian-light/color/background.js +2 -2
- package/dist/esm/tokens/default/deprecated/deprecated.js +187 -0
- package/dist/esm/tokens/palette.js +232 -116
- package/dist/esm/utils/color-detection.js +104 -0
- package/dist/esm/{token-ids.js → utils/token-ids.js} +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/palettes-raw.d.ts +24 -0
- package/dist/types/artifacts/rename-mapping.d.ts +8 -3
- package/dist/types/artifacts/token-default-values.d.ts +8 -3
- package/dist/types/artifacts/token-names.d.ts +5 -0
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +48 -0
- package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +48 -0
- package/dist/types/artifacts/types-internal.d.ts +3 -1
- package/dist/types/artifacts/types.d.ts +3 -1
- package/dist/types/entry-points/palettes-raw.d.ts +1 -0
- package/dist/types/entry-points/token-ids.d.ts +1 -1
- package/dist/types/types.d.ts +22 -7
- package/dist/types/utils/color-detection.d.ts +38 -0
- package/dist/types/{token-ids.d.ts → utils/token-ids.d.ts} +0 -0
- package/package.json +18 -5
- package/palettes-raw/package.json +10 -0
- package/rename-mapping/package.json +3 -0
- package/token-ids/package.json +3 -0
- package/token-names/package.json +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/tokens
|
|
2
2
|
|
|
3
|
+
## 0.9.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`1dad88929cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1dad88929cd) - Adds the `@af/codegen` package that is designed to be used in concert with packages that utilise built assets in their source. Initial release adds an integrity header to assets from `@atlaskit/tokens`.
|
|
8
|
+
|
|
9
|
+
## 0.9.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`ae9eab2df7d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ae9eab2df7d) - Fixing blanket selected and danger tokens that were 80% instead of 8% opacity
|
|
14
|
+
|
|
15
|
+
## 0.9.2
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [`c1de986e861`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c1de986e861) - Added new entrypoint `@atlaskit/tokens/palettes-raw` for raw palette token data (used in documentation)
|
|
20
|
+
|
|
3
21
|
## 0.9.1
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -3,5 +3,8 @@
|
|
|
3
3
|
"main": "../dist/cjs/entry-points/babel-plugin.js",
|
|
4
4
|
"module": "../dist/esm/entry-points/babel-plugin.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/entry-points/babel-plugin.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.css"
|
|
8
|
+
],
|
|
6
9
|
"types": "../dist/types/entry-points/babel-plugin.d.ts"
|
|
7
10
|
}
|
package/css/atlassian-dark.css
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::72839d415565553fa9a4a239d93dc7e1>>
|
|
4
|
+
* @codegenCommand yarn build tokens
|
|
5
|
+
*/
|
|
3
6
|
html[data-theme="dark"] {
|
|
4
7
|
--ds-text-accent-blue: #85B8FF;
|
|
5
8
|
--ds-text-accent-blue-bolder: #CCE0FF;
|
|
@@ -234,8 +237,8 @@ html[data-theme="dark"] {
|
|
|
234
237
|
--ds-background-transparentNeutral-hover: #A1BDD914;
|
|
235
238
|
--ds-background-transparentNeutral-pressed: #A6C5E229;
|
|
236
239
|
--ds-blanket: #03040442;
|
|
237
|
-
--ds-blanket-selected: #
|
|
238
|
-
--ds-blanket-danger: #
|
|
240
|
+
--ds-blanket-selected: #1D7AFC14;
|
|
241
|
+
--ds-blanket-danger: #E3493514;
|
|
239
242
|
--ds-interaction-hovered: #00000029;
|
|
240
243
|
--ds-interaction-pressed: #00000052;
|
|
241
244
|
--ds-interaction-inverse-hovered: #ffffff33;
|
package/css/atlassian-light.css
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::a31766961d6fde4e7bcac3fcab880711>>
|
|
4
|
+
* @codegenCommand yarn build tokens
|
|
5
|
+
*/
|
|
3
6
|
:root, html[data-theme="light"] {
|
|
4
7
|
--ds-text-accent-blue: #0055CC;
|
|
5
8
|
--ds-text-accent-blue-bolder: #09326C;
|
|
@@ -234,8 +237,8 @@
|
|
|
234
237
|
--ds-background-transparentNeutral-hover: #091E420F;
|
|
235
238
|
--ds-background-transparentNeutral-pressed: #091E4224;
|
|
236
239
|
--ds-blanket: #091E427A;
|
|
237
|
-
--ds-blanket-selected: #
|
|
238
|
-
--ds-blanket-danger: #
|
|
240
|
+
--ds-blanket-selected: #388BFF14;
|
|
241
|
+
--ds-blanket-danger: #EF5C4814;
|
|
239
242
|
--ds-interaction-hovered: #ffffff33;
|
|
240
243
|
--ds-interaction-pressed: #ffffff5c;
|
|
241
244
|
--ds-interaction-inverse-hovered: #00000029;
|