@atlaskit/tokens 0.10.2 → 0.10.5

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.
@@ -356,9 +356,10 @@ var color = {
356
356
  '[default]': {
357
357
  attributes: {
358
358
  group: 'paint',
359
- state: 'deprecated',
359
+ state: 'deleted',
360
360
  introduced: '0.6.0',
361
361
  deprecated: '0.6.2',
362
+ deleted: '0.10.5',
362
363
  replacement: 'color.background.selected.[default].[default]',
363
364
  description: 'Use for the background of elements used to reinforce our brand.'
364
365
  }
@@ -366,9 +367,10 @@ var color = {
366
367
  hovered: {
367
368
  attributes: {
368
369
  group: 'paint',
369
- state: 'deprecated',
370
+ state: 'deleted',
370
371
  introduced: '0.6.0',
371
372
  deprecated: '0.6.2',
373
+ deleted: '0.10.5',
372
374
  replacement: 'color.background.selected.[default].hovered',
373
375
  description: 'Hovered state for color.background.brand'
374
376
  }
@@ -376,9 +378,10 @@ var color = {
376
378
  pressed: {
377
379
  attributes: {
378
380
  group: 'paint',
379
- state: 'deprecated',
381
+ state: 'deleted',
380
382
  introduced: '0.6.0',
381
383
  deprecated: '0.6.2',
384
+ deleted: '0.10.5',
382
385
  replacement: 'color.background.selected.[default].pressed',
383
386
  description: 'Pressed state for color.background.brand'
384
387
  }
@@ -621,9 +624,10 @@ var color = {
621
624
  '[default]': {
622
625
  attributes: {
623
626
  group: 'paint',
624
- state: 'deprecated',
627
+ state: 'deleted',
625
628
  introduced: '0.1.0',
626
629
  deprecated: '0.8.3',
630
+ deleted: '0.10.5',
627
631
  replacement: 'color.background.inverse.subtle.[default]',
628
632
  description: 'Use for backgrounds of elements on a bold background, such as in the buttons on spotlight cards.'
629
633
  }
@@ -644,9 +648,10 @@ var color = {
644
648
  resting: {
645
649
  attributes: {
646
650
  group: 'paint',
647
- state: 'deprecated',
651
+ state: 'deleted',
648
652
  introduced: '0.1.0',
649
653
  deprecated: '0.6.0',
654
+ deleted: '0.10.5',
650
655
  replacement: 'color.background.selected.[default].[default]',
651
656
  description: 'Use for backgrounds of elements in a selected state'
652
657
  }
@@ -654,9 +659,10 @@ var color = {
654
659
  hover: {
655
660
  attributes: {
656
661
  group: 'paint',
657
- state: 'deprecated',
662
+ state: 'deleted',
658
663
  introduced: '0.1.0',
659
664
  deprecated: '0.6.0',
665
+ deleted: '0.10.5',
660
666
  replacement: 'color.background.selected.[default].hovered',
661
667
  description: 'Hover state for color.background.selected'
662
668
  }
@@ -690,9 +696,10 @@ var color = {
690
696
  hover: {
691
697
  attributes: {
692
698
  group: 'paint',
693
- state: 'deprecated',
699
+ state: 'deleted',
694
700
  introduced: '0.0.15',
695
701
  deprecated: '0.6.0',
702
+ deleted: '0.10.5',
696
703
  replacement: 'color.background.selected.[default].hovered',
697
704
  description: 'Hover state for background.subtleBrand'
698
705
  }
@@ -700,9 +707,10 @@ var color = {
700
707
  pressed: {
701
708
  attributes: {
702
709
  group: 'paint',
703
- state: 'deprecated',
710
+ state: 'deleted',
704
711
  introduced: '0.0.15',
705
712
  deprecated: '0.6.0',
713
+ deleted: '0.10.5',
706
714
  replacement: 'color.background.selected.[default].pressed',
707
715
  description: 'Pressed state for background.subtleBrand'
708
716
  }
@@ -710,9 +718,10 @@ var color = {
710
718
  resting: {
711
719
  attributes: {
712
720
  group: 'paint',
713
- state: 'deprecated',
721
+ state: 'deleted',
714
722
  introduced: '0.0.15',
715
723
  deprecated: '0.6.0',
724
+ deleted: '0.10.5',
716
725
  replacement: 'color.background.selected.[default].[default]',
717
726
  description: 'Use for subdued backgrounds of UI elements like information section messages and in progress lozenges.'
718
727
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "0.10.2",
3
+ "version": "0.10.5",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ]
@@ -12,7 +12,7 @@
12
12
  * These changes will then be picked up by our tooling which will attempt to
13
13
  * migrate as many of these renames as possible.
14
14
  *
15
- * @codegen <<SignedSource::dd934162c3393bce214d694d47bbcf2a>>
15
+ * @codegen <<SignedSource::51fbaf5510a3fead6a2844d4df866a77>>
16
16
  * @codegenCommand yarn build tokens
17
17
  */
18
18
  import tokens from './token-names';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::9d619d23cbcf93e5c937313843744a22>>
3
+ * @codegen <<SignedSource::2790b3e5387d05c20675eb77bb4ec986>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  declare const tokens: ({
@@ -57,33 +57,6 @@ declare const tokens: ({
57
57
  };
58
58
  name: string;
59
59
  path: string[];
60
- } | {
61
- attributes: {
62
- group: string;
63
- state: string;
64
- introduced: string;
65
- deprecated: string;
66
- replacement: string;
67
- description: string;
68
- deleted?: undefined;
69
- };
70
- value: string;
71
- filePath: string;
72
- isSource: boolean;
73
- original: {
74
- attributes: {
75
- group: string;
76
- state: string;
77
- introduced: string;
78
- deprecated: string;
79
- replacement: string;
80
- description: string;
81
- deleted?: undefined;
82
- };
83
- value: string;
84
- };
85
- name: string;
86
- path: string[];
87
60
  } | {
88
61
  attributes: {
89
62
  group: string;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::0e47f76666554d1a967ff51c4cae1c25>>
3
+ * @codegen <<SignedSource::7cdaec19ecd5c921bc01bf32e95ed909>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  declare const tokens: ({
@@ -57,33 +57,6 @@ declare const tokens: ({
57
57
  };
58
58
  name: string;
59
59
  path: string[];
60
- } | {
61
- attributes: {
62
- group: string;
63
- state: string;
64
- introduced: string;
65
- deprecated: string;
66
- replacement: string;
67
- description: string;
68
- deleted?: undefined;
69
- };
70
- value: string;
71
- filePath: string;
72
- isSource: boolean;
73
- original: {
74
- attributes: {
75
- group: string;
76
- state: string;
77
- introduced: string;
78
- deprecated: string;
79
- replacement: string;
80
- description: string;
81
- deleted?: undefined;
82
- };
83
- value: string;
84
- };
85
- name: string;
86
- path: string[];
87
60
  } | {
88
61
  attributes: {
89
62
  group: string;
@@ -3,3 +3,4 @@ export declare const THEME_DATA_ATTRIBUTE = "data-theme";
3
3
  export declare const DEFAULT_THEME = "light";
4
4
  export declare const CSS_PREFIX = "ds";
5
5
  export declare const LONG_SHORT_MAPPING: Record<string, typeof THEMES[number]>;
6
+ export declare const TOKEN_NOT_FOUND_CSS_VAR: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "0.10.2",
3
+ "version": "0.10.5",
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",
@@ -16,7 +16,7 @@
16
16
  "draft": true
17
17
  }
18
18
  },
19
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend",
19
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
20
20
  "main": "dist/cjs/index.js",
21
21
  "module": "dist/esm/index.js",
22
22
  "module:es2019": "dist/es2019/index.js",
@@ -51,12 +51,13 @@
51
51
  "react": "^16.8.0"
52
52
  },
53
53
  "devDependencies": {
54
+ "@af/accessibility-testing": "*",
54
55
  "@af/codegen": "*",
55
56
  "@atlaskit/badge": "^15.0.11",
56
57
  "@atlaskit/button": "^16.3.0",
57
58
  "@atlaskit/code": "^14.3.0",
58
59
  "@atlaskit/docs": "^9.0.10",
59
- "@atlaskit/dropdown-menu": "^11.1.3",
60
+ "@atlaskit/dropdown-menu": "^11.2.0",
60
61
  "@atlaskit/empty-state": "^7.3.9",
61
62
  "@atlaskit/focus-ring": "^1.0.0",
62
63
  "@atlaskit/heading": "^0.1.8",
@@ -65,6 +66,7 @@
65
66
  "@atlaskit/modal-dialog": "^12.2.4",
66
67
  "@atlaskit/section-message": "^6.1.7",
67
68
  "@atlaskit/tabs": "^13.2.4",
69
+ "@atlaskit/tag": "^11.3.1",
68
70
  "@atlaskit/textfield": "^5.1.5",
69
71
  "@atlaskit/theme": "^12.1.2",
70
72
  "@atlaskit/toggle": "^12.4.2",