@atlaskit/tokens 0.11.3 → 0.11.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/tokens
2
2
 
3
+ ## 0.11.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`39c4b520ef3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/39c4b520ef3) - - Adds `typography-raw` entry point for easy access.
8
+
3
9
  ## 0.11.3
4
10
 
5
11
  ### Patch Changes
@@ -0,0 +1,15 @@
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"));
@@ -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.11.3";
17
+ var version = "0.11.4";
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.
@@ -32,6 +32,7 @@ var version = "0.11.3";
32
32
  * backgroundColor: token('elevation.surface.raised', N0),
33
33
  * boxShadow: token('elevation.shadow.raised', `0 20px 32px -8px ${N50A}, 0 0 1px ${N60A}`),
34
34
  * padding: token('spacing.scale.100', '8px'),
35
+ * fontWeight: token('font.weight.regular', '400'),
35
36
  * }}
36
37
  * />
37
38
  * ```
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "0.11.3",
3
+ "version": "0.11.4",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ]
@@ -0,0 +1 @@
1
+ export { default } from '../artifacts/tokens-raw/atlassian-typography';
@@ -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.11.3";
5
+ const version = "0.11.4";
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.
@@ -20,6 +20,7 @@ const version = "0.11.3";
20
20
  * backgroundColor: token('elevation.surface.raised', N0),
21
21
  * boxShadow: token('elevation.shadow.raised', `0 20px 32px -8px ${N50A}, 0 0 1px ${N60A}`),
22
22
  * padding: token('spacing.scale.100', '8px'),
23
+ * fontWeight: token('font.weight.regular', '400'),
23
24
  * }}
24
25
  * />
25
26
  * ```
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "0.11.3",
3
+ "version": "0.11.4",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ]
@@ -0,0 +1 @@
1
+ export { default } from '../artifacts/tokens-raw/atlassian-typography';
@@ -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.11.3";
5
+ var version = "0.11.4";
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.
@@ -20,6 +20,7 @@ var version = "0.11.3";
20
20
  * backgroundColor: token('elevation.surface.raised', N0),
21
21
  * boxShadow: token('elevation.shadow.raised', `0 20px 32px -8px ${N50A}, 0 0 1px ${N60A}`),
22
22
  * padding: token('spacing.scale.100', '8px'),
23
+ * fontWeight: token('font.weight.regular', '400'),
23
24
  * }}
24
25
  * />
25
26
  * ```
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "0.11.3",
3
+ "version": "0.11.4",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ]
@@ -0,0 +1 @@
1
+ export { default } from '../artifacts/tokens-raw/atlassian-typography';
@@ -16,6 +16,7 @@ declare type Tokens = typeof tokens;
16
16
  * backgroundColor: token('elevation.surface.raised', N0),
17
17
  * boxShadow: token('elevation.shadow.raised', `0 20px 32px -8px ${N50A}, 0 0 1px ${N60A}`),
18
18
  * padding: token('spacing.scale.100', '8px'),
19
+ * fontWeight: token('font.weight.regular', '400'),
19
20
  * }}
20
21
  * />
21
22
  * ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "0.11.3",
3
+ "version": "0.11.4",
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",
@@ -39,6 +39,7 @@
39
39
  "./token-ids": "./src/entry-points/token-ids.tsx",
40
40
  "./token-names": "./src/entry-points/token-names.tsx",
41
41
  "./spacing-raw": "./src/entry-points/spacing-raw.tsx",
42
+ "./typography-raw": "./src/entry-points/typography-raw.tsx",
42
43
  "./rename-mapping": "./src/entry-points/rename-mapping.tsx",
43
44
  "./babel-plugin": "./src/entry-points/babel-plugin.tsx",
44
45
  "./css/atlassian-light.css": "./css/atlassian-light.css",
@@ -0,0 +1,17 @@
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
+ }