@atlaskit/tokens 0.6.2 → 0.6.3

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.6.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`39f4b3b6b48`](https://bitbucket.org/atlassian/atlassian-frontend/commits/39f4b3b6b48) - Added new base dark mode token DN-100 and modified elevation.surface.token to use it rather than the alpha.
8
+
3
9
  ## 0.6.2
4
10
 
5
11
  ### Patch Changes
@@ -221,7 +221,7 @@ html[data-theme="dark"] {
221
221
  --ds-shadow-raised: 0px 1px 1px #03040480, 0px 0px 1px #03040480;
222
222
  --ds-shadow-overlay: inset 0px 0px 0px 1px #BCD6F00A, 0px 8px 12px #0304045C, 0px 0px 1px #03040480;
223
223
  --ds-surface: #161A1D;
224
- --ds-surface-sunken: #03040442;
224
+ --ds-surface-sunken: #101214;
225
225
  --ds-surface-raised: #1D2125;
226
226
  --ds-surface-overlay: #22272B;
227
227
  --ds-UNSAFE_util-transparent: transparent;
@@ -4522,7 +4522,7 @@ var tokens = [{
4522
4522
  "state": "active",
4523
4523
  "description": "A secondary background for the UI commonly used for grouping items, such as Jira cards in columns."
4524
4524
  },
4525
- "value": "#03040442",
4525
+ "value": "#101214",
4526
4526
  "filePath": "src/tokens/atlassian-dark/elevation/surface.tsx",
4527
4527
  "isSource": true,
4528
4528
  "original": {
@@ -4531,7 +4531,7 @@ var tokens = [{
4531
4531
  "state": "active",
4532
4532
  "description": "A secondary background for the UI commonly used for grouping items, such as Jira cards in columns."
4533
4533
  },
4534
- "value": "DN-100A"
4534
+ "value": "DN-100"
4535
4535
  },
4536
4536
  "name": "elevation.surface.sunken",
4537
4537
  "path": ["elevation", "surface", "sunken"]
@@ -12,7 +12,7 @@ var _warnOnce = _interopRequireDefault(require("@atlaskit/ds-lib/warn-once"));
12
12
  var _tokenNames = _interopRequireDefault(require("./artifacts/token-names"));
13
13
 
14
14
  var name = "@atlaskit/tokens";
15
- var version = "0.6.2";
15
+ var version = "0.6.3";
16
16
 
17
17
  function token(path, fallback) {
18
18
  var token = _tokenNames.default[path];
@@ -11,7 +11,7 @@ var elevation = {
11
11
  value: 'DN0'
12
12
  },
13
13
  sunken: {
14
- value: 'DN-100A'
14
+ value: 'DN-100'
15
15
  },
16
16
  raised: {
17
17
  value: 'DN100'
@@ -487,6 +487,12 @@ var palette = {
487
487
  group: 'palette'
488
488
  }
489
489
  },
490
+ 'DN-100': {
491
+ value: '#101214',
492
+ attributes: {
493
+ group: 'palette'
494
+ }
495
+ },
490
496
  'DN-100A': {
491
497
  // #030404 26%
492
498
  value: '#03040442',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "sideEffects": false
5
5
  }
@@ -4516,7 +4516,7 @@ const tokens = [{
4516
4516
  "state": "active",
4517
4517
  "description": "A secondary background for the UI commonly used for grouping items, such as Jira cards in columns."
4518
4518
  },
4519
- "value": "#03040442",
4519
+ "value": "#101214",
4520
4520
  "filePath": "src/tokens/atlassian-dark/elevation/surface.tsx",
4521
4521
  "isSource": true,
4522
4522
  "original": {
@@ -4525,7 +4525,7 @@ const tokens = [{
4525
4525
  "state": "active",
4526
4526
  "description": "A secondary background for the UI commonly used for grouping items, such as Jira cards in columns."
4527
4527
  },
4528
- "value": "DN-100A"
4528
+ "value": "DN-100"
4529
4529
  },
4530
4530
  "name": "elevation.surface.sunken",
4531
4531
  "path": ["elevation", "surface", "sunken"]
@@ -1,7 +1,7 @@
1
1
  import warnOnce from '@atlaskit/ds-lib/warn-once';
2
2
  import tokens from './artifacts/token-names';
3
3
  const name = "@atlaskit/tokens";
4
- const version = "0.6.2";
4
+ const version = "0.6.3";
5
5
 
6
6
  function token(path, fallback) {
7
7
  let token = tokens[path];
@@ -5,7 +5,7 @@ const elevation = {
5
5
  value: 'DN0'
6
6
  },
7
7
  sunken: {
8
- value: 'DN-100A'
8
+ value: 'DN-100'
9
9
  },
10
10
  raised: {
11
11
  value: 'DN100'
@@ -481,6 +481,12 @@ const palette = {
481
481
  group: 'palette'
482
482
  }
483
483
  },
484
+ 'DN-100': {
485
+ value: '#101214',
486
+ attributes: {
487
+ group: 'palette'
488
+ }
489
+ },
484
490
  'DN-100A': {
485
491
  // #030404 26%
486
492
  value: '#03040442',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "sideEffects": false
5
5
  }
@@ -4516,7 +4516,7 @@ var tokens = [{
4516
4516
  "state": "active",
4517
4517
  "description": "A secondary background for the UI commonly used for grouping items, such as Jira cards in columns."
4518
4518
  },
4519
- "value": "#03040442",
4519
+ "value": "#101214",
4520
4520
  "filePath": "src/tokens/atlassian-dark/elevation/surface.tsx",
4521
4521
  "isSource": true,
4522
4522
  "original": {
@@ -4525,7 +4525,7 @@ var tokens = [{
4525
4525
  "state": "active",
4526
4526
  "description": "A secondary background for the UI commonly used for grouping items, such as Jira cards in columns."
4527
4527
  },
4528
- "value": "DN-100A"
4528
+ "value": "DN-100"
4529
4529
  },
4530
4530
  "name": "elevation.surface.sunken",
4531
4531
  "path": ["elevation", "surface", "sunken"]
@@ -1,7 +1,7 @@
1
1
  import warnOnce from '@atlaskit/ds-lib/warn-once';
2
2
  import tokens from './artifacts/token-names';
3
3
  var name = "@atlaskit/tokens";
4
- var version = "0.6.2";
4
+ var version = "0.6.3";
5
5
 
6
6
  function token(path, fallback) {
7
7
  var token = tokens[path];
@@ -5,7 +5,7 @@ var elevation = {
5
5
  value: 'DN0'
6
6
  },
7
7
  sunken: {
8
- value: 'DN-100A'
8
+ value: 'DN-100'
9
9
  },
10
10
  raised: {
11
11
  value: 'DN100'
@@ -481,6 +481,12 @@ var palette = {
481
481
  group: 'palette'
482
482
  }
483
483
  },
484
+ 'DN-100': {
485
+ value: '#101214',
486
+ attributes: {
487
+ group: 'palette'
488
+ }
489
+ },
484
490
  'DN-100A': {
485
491
  // #030404 26%
486
492
  value: '#03040442',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "sideEffects": false
5
5
  }
@@ -146,6 +146,7 @@ export interface PaletteColorTokenSchema {
146
146
  M800: PaletteToken;
147
147
  M900: PaletteToken;
148
148
  M1000: PaletteToken;
149
+ 'DN-100': PaletteToken;
149
150
  'DN-100A': PaletteToken;
150
151
  DN0: PaletteToken;
151
152
  DN100: PaletteToken;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "author": "Atlassian Pty Ltd",
5
5
  "description": "Tokens are a single source of truth to name and store Atlassian design decisions.",
6
6
  "license": "Apache-2.0",
@@ -67,9 +67,7 @@
67
67
  "design-system": "v1",
68
68
  "ui-components": "lite-mode",
69
69
  "deprecation": "no-deprecated-imports",
70
- "styling": [
71
- "emotion"
72
- ]
70
+ "styling": "emotion"
73
71
  }
74
72
  },
75
73
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"