@atlaskit/tokens 0.10.24 → 0.10.25

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/tokens
2
2
 
3
+ ## 0.10.25
4
+
5
+ ### Patch Changes
6
+
7
+ - [`2e2ac6d3091`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e2ac6d3091) - Add new entrypoint `@atlaskit/tokens/tokens-raw` which provides access to raw token data. This enables the Atlassian Design Tokens Figma plugin to import required token information:wq
8
+
3
9
  ## 0.10.24
4
10
 
5
11
  ### Patch Changes
@@ -0,0 +1,23 @@
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, "dark", {
9
+ enumerable: true,
10
+ get: function get() {
11
+ return _atlassianDark.default;
12
+ }
13
+ });
14
+ Object.defineProperty(exports, "light", {
15
+ enumerable: true,
16
+ get: function get() {
17
+ return _atlassianLight.default;
18
+ }
19
+ });
20
+
21
+ var _atlassianLight = _interopRequireDefault(require("../artifacts/tokens-raw/atlassian-light"));
22
+
23
+ var _atlassianDark = _interopRequireDefault(require("../artifacts/tokens-raw/atlassian-dark"));
@@ -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.10.24";
17
+ var version = "0.10.25";
18
18
 
19
19
  function token(path, fallback) {
20
20
  var token = _tokenNames.default[path];
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "0.10.24",
3
+ "version": "0.10.25",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ]
@@ -0,0 +1,2 @@
1
+ export { default as light } from '../artifacts/tokens-raw/atlassian-light';
2
+ export { default as dark } from '../artifacts/tokens-raw/atlassian-dark';
@@ -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.10.24";
5
+ const version = "0.10.25";
6
6
 
7
7
  function token(path, fallback) {
8
8
  let token = tokens[path];
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "0.10.24",
3
+ "version": "0.10.25",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ]
@@ -0,0 +1,2 @@
1
+ export { default as light } from '../artifacts/tokens-raw/atlassian-light';
2
+ export { default as dark } from '../artifacts/tokens-raw/atlassian-dark';
@@ -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.10.24";
5
+ var version = "0.10.25";
6
6
 
7
7
  function token(path, fallback) {
8
8
  var token = tokens[path];
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "0.10.24",
3
+ "version": "0.10.25",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ]
@@ -0,0 +1,2 @@
1
+ export { default as light } from '../artifacts/tokens-raw/atlassian-light';
2
+ export { default as dark } from '../artifacts/tokens-raw/atlassian-dark';
@@ -0,0 +1,2 @@
1
+ export { default as light } from '../artifacts/tokens-raw/atlassian-light';
2
+ export { default as dark } from '../artifacts/tokens-raw/atlassian-dark';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "0.10.24",
3
+ "version": "0.10.25",
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",
@@ -35,6 +35,7 @@
35
35
  "af:exports": {
36
36
  ".": "./src/index.tsx",
37
37
  "./palettes-raw": "./src/entry-points/palettes-raw.tsx",
38
+ "./tokens-raw": "./src/entry-points/tokens-raw.tsx",
38
39
  "./token-ids": "./src/entry-points/token-ids.tsx",
39
40
  "./token-names": "./src/entry-points/token-names.tsx",
40
41
  "./rename-mapping": "./src/entry-points/rename-mapping.tsx",
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/tokens/tokens-raw",
3
+ "main": "../dist/cjs/entry-points/tokens-raw.js",
4
+ "module": "../dist/esm/entry-points/tokens-raw.js",
5
+ "module:es2019": "../dist/es2019/entry-points/tokens-raw.js",
6
+ "sideEffects": [
7
+ "**/*.css"
8
+ ],
9
+ "types": "../dist/types/entry-points/tokens-raw.d.ts",
10
+ "typesVersions": {
11
+ ">=4.0 <4.5": {
12
+ "*": [
13
+ "../dist/types-ts4.0/entry-points/tokens-raw.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }