@atlaskit/tokens 0.12.0 → 0.13.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 +6 -0
- package/dist/cjs/entry-points/tokens-raw.js +17 -1
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/entry-points/tokens-raw.js +3 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/entry-points/tokens-raw.js +3 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/entry-points/tokens-raw.d.ts +2 -0
- package/package.json +1 -3
- package/dist/cjs/entry-points/spacing-raw.js +0 -15
- package/dist/cjs/entry-points/typography-raw.js +0 -15
- package/dist/es2019/entry-points/spacing-raw.js +0 -1
- package/dist/es2019/entry-points/typography-raw.js +0 -1
- package/dist/esm/entry-points/spacing-raw.js +0 -1
- package/dist/esm/entry-points/typography-raw.js +0 -1
- package/dist/types/entry-points/spacing-raw.d.ts +0 -1
- package/dist/types/entry-points/typography-raw.d.ts +0 -1
- package/spacing-raw/package.json +0 -17
- package/typography-raw/package.json +0 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/tokens
|
|
2
2
|
|
|
3
|
+
## 0.13.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`00c057bdd71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/00c057bdd71) - Removes spacing-raw & typography-raw entrypoints in favor of tokens-raw
|
|
8
|
+
|
|
3
9
|
## 0.12.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -17,7 +17,23 @@ Object.defineProperty(exports, "light", {
|
|
|
17
17
|
return _atlassianLight.default;
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
|
+
Object.defineProperty(exports, "spacing", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function get() {
|
|
23
|
+
return _atlassianSpacing.default;
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, "typography", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function get() {
|
|
29
|
+
return _atlassianTypography.default;
|
|
30
|
+
}
|
|
31
|
+
});
|
|
20
32
|
|
|
21
33
|
var _atlassianLight = _interopRequireDefault(require("../artifacts/tokens-raw/atlassian-light"));
|
|
22
34
|
|
|
23
|
-
var _atlassianDark = _interopRequireDefault(require("../artifacts/tokens-raw/atlassian-dark"));
|
|
35
|
+
var _atlassianDark = _interopRequireDefault(require("../artifacts/tokens-raw/atlassian-dark"));
|
|
36
|
+
|
|
37
|
+
var _atlassianSpacing = _interopRequireDefault(require("../artifacts/tokens-raw/atlassian-spacing"));
|
|
38
|
+
|
|
39
|
+
var _atlassianTypography = _interopRequireDefault(require("../artifacts/tokens-raw/atlassian-typography"));
|
package/dist/cjs/get-token.js
CHANGED
|
@@ -14,7 +14,7 @@ var _tokenNames = _interopRequireDefault(require("./artifacts/token-names"));
|
|
|
14
14
|
var _constants = require("./constants");
|
|
15
15
|
|
|
16
16
|
var name = "@atlaskit/tokens";
|
|
17
|
-
var version = "0.
|
|
17
|
+
var version = "0.13.0";
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Takes a dot-separated token name and an optional fallback, and returns the CSS custom property for the corresponding token.
|
package/dist/cjs/version.json
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
export { default as light } from '../artifacts/tokens-raw/atlassian-light';
|
|
2
|
-
export { default as dark } from '../artifacts/tokens-raw/atlassian-dark';
|
|
2
|
+
export { default as dark } from '../artifacts/tokens-raw/atlassian-dark';
|
|
3
|
+
export { default as spacing } from '../artifacts/tokens-raw/atlassian-spacing';
|
|
4
|
+
export { default as typography } from '../artifacts/tokens-raw/atlassian-typography';
|
package/dist/es2019/get-token.js
CHANGED
|
@@ -2,7 +2,7 @@ import warnOnce from '@atlaskit/ds-lib/warn-once';
|
|
|
2
2
|
import tokens from './artifacts/token-names';
|
|
3
3
|
import { TOKEN_NOT_FOUND_CSS_VAR } from './constants';
|
|
4
4
|
const name = "@atlaskit/tokens";
|
|
5
|
-
const version = "0.
|
|
5
|
+
const version = "0.13.0";
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Takes a dot-separated token name and an optional fallback, and returns the CSS custom property for the corresponding token.
|
package/dist/es2019/version.json
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
export { default as light } from '../artifacts/tokens-raw/atlassian-light';
|
|
2
|
-
export { default as dark } from '../artifacts/tokens-raw/atlassian-dark';
|
|
2
|
+
export { default as dark } from '../artifacts/tokens-raw/atlassian-dark';
|
|
3
|
+
export { default as spacing } from '../artifacts/tokens-raw/atlassian-spacing';
|
|
4
|
+
export { default as typography } from '../artifacts/tokens-raw/atlassian-typography';
|
package/dist/esm/get-token.js
CHANGED
|
@@ -2,7 +2,7 @@ import warnOnce from '@atlaskit/ds-lib/warn-once';
|
|
|
2
2
|
import tokens from './artifacts/token-names';
|
|
3
3
|
import { TOKEN_NOT_FOUND_CSS_VAR } from './constants';
|
|
4
4
|
var name = "@atlaskit/tokens";
|
|
5
|
-
var version = "0.
|
|
5
|
+
var version = "0.13.0";
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Takes a dot-separated token name and an optional fallback, and returns the CSS custom property for the corresponding token.
|
package/dist/esm/version.json
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
export { default as light } from '../artifacts/tokens-raw/atlassian-light';
|
|
2
2
|
export { default as dark } from '../artifacts/tokens-raw/atlassian-dark';
|
|
3
|
+
export { default as spacing } from '../artifacts/tokens-raw/atlassian-spacing';
|
|
4
|
+
export { default as typography } from '../artifacts/tokens-raw/atlassian-typography';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/tokens",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"author": "Atlassian Pty Ltd",
|
|
5
5
|
"description": "Design tokens are the single source of truth to name and store design decisions.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -38,8 +38,6 @@
|
|
|
38
38
|
"./tokens-raw": "./src/entry-points/tokens-raw.tsx",
|
|
39
39
|
"./token-ids": "./src/entry-points/token-ids.tsx",
|
|
40
40
|
"./token-names": "./src/entry-points/token-names.tsx",
|
|
41
|
-
"./spacing-raw": "./src/entry-points/spacing-raw.tsx",
|
|
42
|
-
"./typography-raw": "./src/entry-points/typography-raw.tsx",
|
|
43
41
|
"./rename-mapping": "./src/entry-points/rename-mapping.tsx",
|
|
44
42
|
"./babel-plugin": "./src/entry-points/babel-plugin.tsx",
|
|
45
43
|
"./css/atlassian-light.css": "./css/atlassian-light.css",
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
Object.defineProperty(exports, "default", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function get() {
|
|
11
|
-
return _atlassianSpacing.default;
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
var _atlassianSpacing = _interopRequireDefault(require("../artifacts/tokens-raw/atlassian-spacing"));
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
Object.defineProperty(exports, "default", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function get() {
|
|
11
|
-
return _atlassianTypography.default;
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
var _atlassianTypography = _interopRequireDefault(require("../artifacts/tokens-raw/atlassian-typography"));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../artifacts/tokens-raw/atlassian-spacing';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../artifacts/tokens-raw/atlassian-typography';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../artifacts/tokens-raw/atlassian-spacing';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../artifacts/tokens-raw/atlassian-typography';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../artifacts/tokens-raw/atlassian-spacing';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../artifacts/tokens-raw/atlassian-typography';
|
package/spacing-raw/package.json
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@atlaskit/tokens/spacing-raw",
|
|
3
|
-
"main": "../dist/cjs/entry-points/spacing-raw.js",
|
|
4
|
-
"module": "../dist/esm/entry-points/spacing-raw.js",
|
|
5
|
-
"module:es2019": "../dist/es2019/entry-points/spacing-raw.js",
|
|
6
|
-
"sideEffects": [
|
|
7
|
-
"**/*.css"
|
|
8
|
-
],
|
|
9
|
-
"types": "../dist/types/entry-points/spacing-raw.d.ts",
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.0 <4.5": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.0/entry-points/spacing-raw.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@atlaskit/tokens/typography-raw",
|
|
3
|
-
"main": "../dist/cjs/entry-points/typography-raw.js",
|
|
4
|
-
"module": "../dist/esm/entry-points/typography-raw.js",
|
|
5
|
-
"module:es2019": "../dist/es2019/entry-points/typography-raw.js",
|
|
6
|
-
"sideEffects": [
|
|
7
|
-
"**/*.css"
|
|
8
|
-
],
|
|
9
|
-
"types": "../dist/types/entry-points/typography-raw.d.ts",
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.0 <4.5": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.0/entry-points/typography-raw.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|