@atlaskit/tokens 1.5.2 → 1.6.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.
Files changed (100) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/cjs/artifacts/palettes-raw/shape-palette.js +3 -3
  3. package/dist/cjs/artifacts/themes/atlassian-shape.js +2 -2
  4. package/dist/cjs/artifacts/token-default-values.js +12 -10
  5. package/dist/cjs/artifacts/token-names.js +12 -10
  6. package/dist/cjs/artifacts/tokens-raw/atlassian-dark-new-input-border.js +3 -267
  7. package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +33 -33
  8. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +33 -33
  9. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +33 -33
  10. package/dist/cjs/artifacts/tokens-raw/atlassian-light-new-input-border.js +3 -267
  11. package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +33 -33
  12. package/dist/cjs/artifacts/tokens-raw/atlassian-shape.js +81 -37
  13. package/dist/cjs/constants.js +1 -1
  14. package/dist/cjs/get-token-value.js +1 -1
  15. package/dist/cjs/get-token.js +1 -1
  16. package/dist/cjs/palettes/shape-palette.js +2 -1
  17. package/dist/cjs/set-global-theme.js +14 -3
  18. package/dist/cjs/tokens/atlassian-shape/shape.js +7 -1
  19. package/dist/cjs/tokens/default/shape/shape.js +33 -17
  20. package/dist/cjs/utils/theme-state-transformer.js +2 -1
  21. package/dist/cjs/utils/token-order.js +1 -1
  22. package/dist/cjs/version.json +1 -1
  23. package/dist/es2019/artifacts/palettes-raw/shape-palette.js +3 -3
  24. package/dist/es2019/artifacts/themes/atlassian-shape.js +12 -10
  25. package/dist/es2019/artifacts/token-default-values.js +12 -10
  26. package/dist/es2019/artifacts/token-names.js +12 -10
  27. package/dist/es2019/artifacts/tokens-raw/atlassian-dark-new-input-border.js +3 -267
  28. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +33 -33
  29. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +33 -33
  30. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +33 -33
  31. package/dist/es2019/artifacts/tokens-raw/atlassian-light-new-input-border.js +3 -267
  32. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +33 -33
  33. package/dist/es2019/artifacts/tokens-raw/atlassian-shape.js +81 -37
  34. package/dist/es2019/constants.js +1 -1
  35. package/dist/es2019/get-token-value.js +1 -1
  36. package/dist/es2019/get-token.js +1 -1
  37. package/dist/es2019/palettes/shape-palette.js +2 -1
  38. package/dist/es2019/set-global-theme.js +10 -2
  39. package/dist/es2019/tokens/atlassian-shape/shape.js +7 -1
  40. package/dist/es2019/tokens/default/shape/shape.js +33 -17
  41. package/dist/es2019/utils/theme-state-transformer.js +2 -1
  42. package/dist/es2019/utils/token-order.js +1 -1
  43. package/dist/es2019/version.json +1 -1
  44. package/dist/esm/artifacts/palettes-raw/shape-palette.js +3 -3
  45. package/dist/esm/artifacts/themes/atlassian-shape.js +2 -2
  46. package/dist/esm/artifacts/token-default-values.js +12 -10
  47. package/dist/esm/artifacts/token-names.js +12 -10
  48. package/dist/esm/artifacts/tokens-raw/atlassian-dark-new-input-border.js +3 -267
  49. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +33 -33
  50. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +33 -33
  51. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +33 -33
  52. package/dist/esm/artifacts/tokens-raw/atlassian-light-new-input-border.js +3 -267
  53. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +33 -33
  54. package/dist/esm/artifacts/tokens-raw/atlassian-shape.js +81 -37
  55. package/dist/esm/constants.js +1 -1
  56. package/dist/esm/get-token-value.js +1 -1
  57. package/dist/esm/get-token.js +1 -1
  58. package/dist/esm/palettes/shape-palette.js +2 -1
  59. package/dist/esm/set-global-theme.js +14 -3
  60. package/dist/esm/tokens/atlassian-shape/shape.js +7 -1
  61. package/dist/esm/tokens/default/shape/shape.js +33 -17
  62. package/dist/esm/utils/theme-state-transformer.js +2 -1
  63. package/dist/esm/utils/token-order.js +1 -1
  64. package/dist/esm/version.json +1 -1
  65. package/dist/types/artifacts/palettes-raw/shape-palette.d.ts +3 -18
  66. package/dist/types/artifacts/themes/atlassian-shape.d.ts +2 -2
  67. package/dist/types/artifacts/token-default-values.d.ts +12 -10
  68. package/dist/types/artifacts/token-names.d.ts +23 -19
  69. package/dist/types/artifacts/tokens-raw/atlassian-shape.d.ts +1 -1
  70. package/dist/types/artifacts/types-internal.d.ts +2 -2
  71. package/dist/types/artifacts/types.d.ts +2 -2
  72. package/dist/types/index.d.ts +1 -1
  73. package/dist/types/palettes/shape-palette.d.ts +1 -1
  74. package/dist/types/set-global-theme.d.ts +8 -7
  75. package/dist/types/types.d.ts +3 -1
  76. package/dist/types-ts4.5/artifacts/palettes-raw/shape-palette.d.ts +3 -18
  77. package/dist/types-ts4.5/artifacts/themes/atlassian-shape.d.ts +2 -2
  78. package/dist/types-ts4.5/artifacts/token-default-values.d.ts +12 -10
  79. package/dist/types-ts4.5/artifacts/token-names.d.ts +23 -19
  80. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-new-input-border.d.ts +1 -1
  81. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
  82. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
  83. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
  84. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-new-input-border.d.ts +1 -1
  85. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
  86. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape.d.ts +1 -1
  87. package/dist/types-ts4.5/artifacts/types-internal.d.ts +2 -2
  88. package/dist/types-ts4.5/artifacts/types.d.ts +2 -2
  89. package/dist/types-ts4.5/index.d.ts +1 -1
  90. package/dist/types-ts4.5/palettes/shape-palette.d.ts +1 -1
  91. package/dist/types-ts4.5/set-global-theme.d.ts +8 -7
  92. package/dist/types-ts4.5/types.d.ts +3 -1
  93. package/figma/atlassian-dark.json +16 -16
  94. package/figma/atlassian-legacy-dark.json +16 -16
  95. package/figma/atlassian-legacy-light.json +16 -16
  96. package/figma/atlassian-light.json +16 -16
  97. package/figma/atlassian-shape.json +36 -18
  98. package/package.json +3 -4
  99. package/report.api.md +125 -22
  100. package/tmp/api-report-tmp.d.ts +107 -27
@@ -11,6 +11,9 @@ exports.default = void 0;
11
11
  var shape = {
12
12
  border: {
13
13
  width: {
14
+ '[default]': {
15
+ value: 'Size050'
16
+ },
14
17
  '0': {
15
18
  value: 'Size0'
16
19
  },
@@ -22,6 +25,9 @@ var shape = {
22
25
  }
23
26
  },
24
27
  radius: {
28
+ '[default]': {
29
+ value: 'Radius100'
30
+ },
25
31
  '050': {
26
32
  value: 'Radius050'
27
33
  },
@@ -37,7 +43,7 @@ var shape = {
37
43
  '400': {
38
44
  value: 'Radius400'
39
45
  },
40
- round: {
46
+ circle: {
41
47
  value: 'RadiusCircle'
42
48
  }
43
49
  }
@@ -7,6 +7,14 @@ exports.default = void 0;
7
7
  var shape = {
8
8
  border: {
9
9
  width: {
10
+ '[default]': {
11
+ attributes: {
12
+ group: 'shape',
13
+ state: 'active',
14
+ introduced: '1.5.2',
15
+ description: 'The default border width.'
16
+ }
17
+ },
10
18
  '0': {
11
19
  attributes: {
12
20
  group: 'shape',
@@ -18,67 +26,75 @@ var shape = {
18
26
  '050': {
19
27
  attributes: {
20
28
  group: 'shape',
21
- state: 'experimental',
29
+ state: 'active',
22
30
  introduced: '1.1.0',
23
- description: 'Experimental, description needs to be amended'
31
+ description: 'Used for all borders and dividers.'
24
32
  }
25
33
  },
26
34
  '100': {
27
35
  attributes: {
28
36
  group: 'shape',
29
- state: 'experimental',
37
+ state: 'active',
30
38
  introduced: '1.1.0',
31
- description: 'Experimental, description needs to be amended'
39
+ description: 'Used for bolder dividers and interaction states.'
32
40
  }
33
41
  }
34
42
  },
35
43
  radius: {
44
+ '[default]': {
45
+ attributes: {
46
+ group: 'shape',
47
+ state: 'active',
48
+ introduced: '1.5.2',
49
+ description: 'The default border radius.'
50
+ }
51
+ },
36
52
  '050': {
37
53
  attributes: {
38
54
  group: 'shape',
39
- state: 'experimental',
55
+ state: 'active',
40
56
  introduced: '1.1.0',
41
- description: 'Experimental, description needs to be amended'
57
+ description: 'Used for selection indicators, like tabs.'
42
58
  }
43
59
  },
44
60
  '100': {
45
61
  attributes: {
46
62
  group: 'shape',
47
- state: 'experimental',
63
+ state: 'active',
48
64
  introduced: '1.1.0',
49
- description: 'Experimental, description needs to be amended'
65
+ description: 'Used for buttons and inputs.'
50
66
  }
51
67
  },
52
68
  '200': {
53
69
  attributes: {
54
70
  group: 'shape',
55
- state: 'experimental',
71
+ state: 'active',
56
72
  introduced: '1.1.0',
57
- description: 'Experimental, description needs to be amended'
73
+ description: 'Used for smaller cards.'
58
74
  }
59
75
  },
60
76
  '300': {
61
77
  attributes: {
62
78
  group: 'shape',
63
- state: 'experimental',
79
+ state: 'active',
64
80
  introduced: '1.1.0',
65
- description: 'Experimental, description needs to be amended'
81
+ description: 'Used for cards and larger containers.'
66
82
  }
67
83
  },
68
84
  '400': {
69
85
  attributes: {
70
86
  group: 'shape',
71
- state: 'experimental',
87
+ state: 'active',
72
88
  introduced: '1.1.0',
73
- description: 'Experimental, description needs to be amended'
89
+ description: 'Used for modals.'
74
90
  }
75
91
  },
76
- round: {
92
+ circle: {
77
93
  attributes: {
78
94
  group: 'shape',
79
- state: 'experimental',
95
+ state: 'active',
80
96
  introduced: '1.1.0',
81
- description: 'Experimental, description needs to be amended'
97
+ description: 'Used for circular containers, like a rounded button.'
82
98
  }
83
99
  }
84
100
  }
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.themeStringToObject = exports.themeObjectToString = void 0;
8
8
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
9
9
  var _themeConfig = require("../theme-config");
10
- var themeKinds = ['light', 'dark', 'spacing', 'typography'];
10
+ var themeKinds = ['light', 'dark', 'spacing', 'typography', 'shape'];
11
11
  var isThemeKind = function isThemeKind(themeKind) {
12
12
  return themeKinds.find(function (kind) {
13
13
  return kind === themeKind;
@@ -44,6 +44,7 @@ var themeStringToObject = function themeStringToObject(themeState) {
44
44
  themeObject[kind] = id;
45
45
  }
46
46
  if (isThemeKind(kind) && isThemeIds(id)) {
47
+ // @ts-expect-error FIXME - this is a valid ts error
47
48
  themeObject[kind] = id;
48
49
  }
49
50
  return themeObject;
@@ -27,7 +27,7 @@ var tokenOrder = [{
27
27
  path: 'utility',
28
28
  subpaths: []
29
29
  }, {
30
- path: 'shape',
30
+ path: 'border',
31
31
  subpaths: ['radius', 'width']
32
32
  }, {
33
33
  path: 'space',
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "1.5.2",
3
+ "version": "1.6.0",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ]
@@ -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::a2e59b8e1421ca4ad026a5b2161824b2>>
3
+ * @codegen <<SignedSource::ba57ec0a6991ab386479b6c9006397ba>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  const tokens = [{
@@ -79,14 +79,14 @@ const tokens = [{
79
79
  "name": "border.radius.Radius400",
80
80
  "path": ["border", "radius", "Radius400"]
81
81
  }, {
82
- "value": "50%",
82
+ "value": "32032px",
83
83
  "attributes": {
84
84
  "group": "shape"
85
85
  },
86
86
  "filePath": "src/palettes/shape-palette.tsx",
87
87
  "isSource": true,
88
88
  "original": {
89
- "value": "50%",
89
+ "value": 32032,
90
90
  "attributes": {
91
91
  "group": "shape"
92
92
  }
@@ -1,18 +1,20 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::01d88a41c27f9a921fe1a40fec0a7ba0>>
3
+ * @codegen <<SignedSource::861a4448ac467155c8290f2b211e99c5>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  export default `
7
7
  html[data-theme~="shape:shape"] {
8
- --ds-radius-050: 0.125rem;
9
- --ds-radius-100: 0.25rem;
10
- --ds-radius-200: 0.5rem;
11
- --ds-radius-300: 0.75rem;
12
- --ds-radius-400: 1rem;
13
- --ds-radius-round: 50%;
14
- --ds-width-0: 0rem;
15
- --ds-width-050: 0.0625rem;
16
- --ds-width-100: 0.125rem;
8
+ --ds-border-radius-050: 0.125rem;
9
+ --ds-border-radius: 0.25rem;
10
+ --ds-border-radius-100: 0.25rem;
11
+ --ds-border-radius-200: 0.5rem;
12
+ --ds-border-radius-300: 0.75rem;
13
+ --ds-border-radius-400: 1rem;
14
+ --ds-border-radius-circle: 2002rem;
15
+ --ds-border-width: 0.0625rem;
16
+ --ds-border-width-0: 0rem;
17
+ --ds-border-width-050: 0.0625rem;
18
+ --ds-border-width-100: 0.125rem;
17
19
  }
18
20
  `;
@@ -4,19 +4,10 @@
4
4
  * Token names mapped to their value in the default Atlassian themes ('light').
5
5
  * These default values are used by the Babel plugin to optionally provide automatic fallbacks.
6
6
  *
7
- * @codegen <<SignedSource::856ff062171d44deb03158a6fa7d7bd1>>
7
+ * @codegen <<SignedSource::cc9231cd2b7a9797c51b4b8b742bab92>>
8
8
  * @codegenCommand yarn build tokens
9
9
  */
10
10
  const defaultTokenValues = {
11
- 'border.radius.050': '0.125rem',
12
- 'border.radius.100': '0.25rem',
13
- 'border.radius.200': '0.5rem',
14
- 'border.radius.300': '0.75rem',
15
- 'border.radius.400': '1rem',
16
- 'border.radius.round': '50%',
17
- 'border.width.0': '0rem',
18
- 'border.width.050': '0.0625rem',
19
- 'border.width.100': '0.125rem',
20
11
  'color.text': '#172B4D',
21
12
  'color.text.accent.red': '#AE2A19',
22
13
  'color.text.accent.red.bolder': '#601E16',
@@ -303,6 +294,17 @@ const defaultTokenValues = {
303
294
  'opacity.disabled': '0.4',
304
295
  'opacity.loading': '0.2',
305
296
  'utility.UNSAFE.transparent': 'transparent',
297
+ 'border.radius.050': '0.125rem',
298
+ 'border.radius': '0.25rem',
299
+ 'border.radius.100': '0.25rem',
300
+ 'border.radius.200': '0.5rem',
301
+ 'border.radius.300': '0.75rem',
302
+ 'border.radius.400': '1rem',
303
+ 'border.radius.circle': '2002rem',
304
+ 'border.width': '0.0625rem',
305
+ 'border.width.0': '0rem',
306
+ 'border.width.050': '0.0625rem',
307
+ 'border.width.100': '0.125rem',
306
308
  'space.0': '0rem',
307
309
  'space.025': '0.125rem',
308
310
  'space.050': '0.25rem',
@@ -1,18 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::462a85d7e15b8fb4e0c4225b94e89903>>
3
+ * @codegen <<SignedSource::488b6f348c638f30edc95365a3de0725>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  const tokens = {
7
- 'border.radius.050': '--ds-radius-050',
8
- 'border.radius.100': '--ds-radius-100',
9
- 'border.radius.200': '--ds-radius-200',
10
- 'border.radius.300': '--ds-radius-300',
11
- 'border.radius.400': '--ds-radius-400',
12
- 'border.radius.round': '--ds-radius-round',
13
- 'border.width.0': '--ds-width-0',
14
- 'border.width.050': '--ds-width-050',
15
- 'border.width.100': '--ds-width-100',
16
7
  'color.text': '--ds-text',
17
8
  'color.text.accent.red': '--ds-text-accent-red',
18
9
  'color.text.accent.red.bolder': '--ds-text-accent-red-bolder',
@@ -299,6 +290,17 @@ const tokens = {
299
290
  'opacity.disabled': '--ds-opacity-disabled',
300
291
  'opacity.loading': '--ds-opacity-loading',
301
292
  'utility.UNSAFE.transparent': '--ds-UNSAFE-transparent',
293
+ 'border.radius.050': '--ds-border-radius-050',
294
+ 'border.radius': '--ds-border-radius',
295
+ 'border.radius.100': '--ds-border-radius-100',
296
+ 'border.radius.200': '--ds-border-radius-200',
297
+ 'border.radius.300': '--ds-border-radius-300',
298
+ 'border.radius.400': '--ds-border-radius-400',
299
+ 'border.radius.circle': '--ds-border-radius-circle',
300
+ 'border.width': '--ds-border-width',
301
+ 'border.width.0': '--ds-border-width-0',
302
+ 'border.width.050': '--ds-border-width-050',
303
+ 'border.width.100': '--ds-border-width-100',
302
304
  'space.0': '--ds-space-0',
303
305
  'space.025': '--ds-space-025',
304
306
  'space.050': '--ds-space-050',
@@ -1,82 +1,16 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::f091852abdb216a4ab49dfd79884c4d4>>
3
+ * @codegen <<SignedSource::2c7e6a36e75ad8b32981cc4bbaa378db>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  const tokens = [{
7
- "attributes": {
8
- "group": "paint",
9
- "state": "active",
10
- "introduced": "0.6.0",
11
- "description": "Use to visually group or separate UI elements, such as flat cards or side panel dividers."
12
- },
13
- "value": "#A6C5E229",
14
- "filePath": "src/tokens/atlassian-dark-new-input-border/color/border.tsx",
15
- "isSource": true,
16
- "original": {
17
- "attributes": {
18
- "group": "paint",
19
- "state": "active",
20
- "introduced": "0.6.0",
21
- "description": "Use to visually group or separate UI elements, such as flat cards or side panel dividers."
22
- },
23
- "value": "DarkNeutral300A"
24
- },
25
- "name": "color.border.[default]",
26
- "path": ["color", "border", "[default]"],
27
- "cleanName": "color.border"
28
- }, {
29
- "attributes": {
30
- "group": "paint",
31
- "state": "active",
32
- "introduced": "0.6.0",
33
- "description": "Use for borders of elements in a disabled state."
34
- },
35
- "value": "#A1BDD914",
36
- "filePath": "src/tokens/atlassian-dark-new-input-border/color/border.tsx",
37
- "isSource": true,
38
- "original": {
39
- "attributes": {
40
- "group": "paint",
41
- "state": "active",
42
- "introduced": "0.6.0",
43
- "description": "Use for borders of elements in a disabled state."
44
- },
45
- "value": "DarkNeutral200A"
46
- },
47
- "name": "color.border.disabled",
48
- "path": ["color", "border", "disabled"],
49
- "cleanName": "color.border.disabled"
50
- }, {
51
- "attributes": {
52
- "group": "paint",
53
- "state": "active",
54
- "introduced": "0.6.0",
55
- "description": "Use for focus rings of elements in a focus state."
56
- },
57
- "value": "#85B8FF",
58
- "filePath": "src/tokens/atlassian-dark-new-input-border/color/border.tsx",
59
- "isSource": true,
60
- "original": {
61
- "attributes": {
62
- "group": "paint",
63
- "state": "active",
64
- "introduced": "0.6.0",
65
- "description": "Use for focus rings of elements in a focus state."
66
- },
67
- "value": "Blue300"
68
- },
69
- "name": "color.border.focused",
70
- "path": ["color", "border", "focused"],
71
- "cleanName": "color.border.focused"
72
- }, {
73
7
  "attributes": {
74
8
  "group": "paint",
75
9
  "state": "active",
76
10
  "introduced": "0.6.0",
77
11
  "description": "Use for borders of form UI elements, such as text fields, checkboxes, and radio buttons."
78
12
  },
79
- "value": "#738496",
13
+ "value": "#596773",
80
14
  "filePath": "src/tokens/atlassian-dark-new-input-border/color/border.tsx",
81
15
  "isSource": true,
82
16
  "original": {
@@ -86,208 +20,10 @@ const tokens = [{
86
20
  "introduced": "0.6.0",
87
21
  "description": "Use for borders of form UI elements, such as text fields, checkboxes, and radio buttons."
88
22
  },
89
- "value": "DarkNeutral600"
23
+ "value": "DarkNeutral500"
90
24
  },
91
25
  "name": "color.border.input",
92
26
  "path": ["color", "border", "input"],
93
27
  "cleanName": "color.border.input"
94
- }, {
95
- "attributes": {
96
- "group": "paint",
97
- "state": "active",
98
- "introduced": "0.6.0",
99
- "description": "Use for borders on bold backgrounds."
100
- },
101
- "value": "#161A1D",
102
- "filePath": "src/tokens/atlassian-dark-new-input-border/color/border.tsx",
103
- "isSource": true,
104
- "original": {
105
- "attributes": {
106
- "group": "paint",
107
- "state": "active",
108
- "introduced": "0.6.0",
109
- "description": "Use for borders on bold backgrounds."
110
- },
111
- "value": "DarkNeutral0"
112
- },
113
- "name": "color.border.inverse",
114
- "path": ["color", "border", "inverse"],
115
- "cleanName": "color.border.inverse"
116
- }, {
117
- "attributes": {
118
- "group": "paint",
119
- "state": "active",
120
- "introduced": "0.6.2",
121
- "description": "Use for borders or visual indicators of elements in a selected or opened state, such as in tabs or menu items."
122
- },
123
- "value": "#579DFF",
124
- "filePath": "src/tokens/atlassian-dark-new-input-border/color/border.tsx",
125
- "isSource": true,
126
- "original": {
127
- "attributes": {
128
- "group": "paint",
129
- "state": "active",
130
- "introduced": "0.6.2",
131
- "description": "Use for borders or visual indicators of elements in a selected or opened state, such as in tabs or menu items."
132
- },
133
- "value": "Blue400"
134
- },
135
- "name": "color.border.selected",
136
- "path": ["color", "border", "selected"],
137
- "cleanName": "color.border.selected"
138
- }, {
139
- "attributes": {
140
- "group": "paint",
141
- "state": "active",
142
- "introduced": "0.6.0",
143
- "description": "Use for borders or visual indicators of elements that reinforce our brand, such as logos or primary buttons."
144
- },
145
- "value": "#579DFF",
146
- "filePath": "src/tokens/atlassian-dark-new-input-border/color/border.tsx",
147
- "isSource": true,
148
- "original": {
149
- "attributes": {
150
- "group": "paint",
151
- "state": "active",
152
- "introduced": "0.6.0",
153
- "description": "Use for borders or visual indicators of elements that reinforce our brand, such as logos or primary buttons."
154
- },
155
- "value": "Blue400"
156
- },
157
- "name": "color.border.brand",
158
- "path": ["color", "border", "brand"],
159
- "cleanName": "color.border.brand"
160
- }, {
161
- "attributes": {
162
- "group": "paint",
163
- "state": "active",
164
- "introduced": "0.6.0",
165
- "description": "Use for borders communicating critical information, such as the borders on invalid text fields."
166
- },
167
- "value": "#EF5C48",
168
- "filePath": "src/tokens/atlassian-dark-new-input-border/color/border.tsx",
169
- "isSource": true,
170
- "original": {
171
- "attributes": {
172
- "group": "paint",
173
- "state": "active",
174
- "introduced": "0.6.0",
175
- "description": "Use for borders communicating critical information, such as the borders on invalid text fields."
176
- },
177
- "value": "Red500"
178
- },
179
- "name": "color.border.danger",
180
- "path": ["color", "border", "danger"],
181
- "cleanName": "color.border.danger"
182
- }, {
183
- "attributes": {
184
- "group": "paint",
185
- "state": "active",
186
- "introduced": "0.6.0",
187
- "description": "Use for borders communicating caution."
188
- },
189
- "value": "#CF9F02",
190
- "filePath": "src/tokens/atlassian-dark-new-input-border/color/border.tsx",
191
- "isSource": true,
192
- "original": {
193
- "attributes": {
194
- "group": "paint",
195
- "state": "active",
196
- "introduced": "0.6.0",
197
- "description": "Use for borders communicating caution."
198
- },
199
- "value": "Yellow500"
200
- },
201
- "name": "color.border.warning",
202
- "path": ["color", "border", "warning"],
203
- "cleanName": "color.border.warning"
204
- }, {
205
- "attributes": {
206
- "group": "paint",
207
- "state": "active",
208
- "introduced": "0.6.0",
209
- "description": "Use for borders communicating a favorable outcome, such as the borders on validated text fields."
210
- },
211
- "value": "#2ABB7F",
212
- "filePath": "src/tokens/atlassian-dark-new-input-border/color/border.tsx",
213
- "isSource": true,
214
- "original": {
215
- "attributes": {
216
- "group": "paint",
217
- "state": "active",
218
- "introduced": "0.6.0",
219
- "description": "Use for borders communicating a favorable outcome, such as the borders on validated text fields."
220
- },
221
- "value": "Green500"
222
- },
223
- "name": "color.border.success",
224
- "path": ["color", "border", "success"],
225
- "cleanName": "color.border.success"
226
- }, {
227
- "attributes": {
228
- "group": "paint",
229
- "state": "active",
230
- "introduced": "0.6.0",
231
- "description": "Use for borders communicating change or something new, such as the borders in onboarding spotlights."
232
- },
233
- "value": "#8F7EE7",
234
- "filePath": "src/tokens/atlassian-dark-new-input-border/color/border.tsx",
235
- "isSource": true,
236
- "original": {
237
- "attributes": {
238
- "group": "paint",
239
- "state": "active",
240
- "introduced": "0.6.0",
241
- "description": "Use for borders communicating change or something new, such as the borders in onboarding spotlights."
242
- },
243
- "value": "Purple500"
244
- },
245
- "name": "color.border.discovery",
246
- "path": ["color", "border", "discovery"],
247
- "cleanName": "color.border.discovery"
248
- }, {
249
- "attributes": {
250
- "group": "paint",
251
- "state": "active",
252
- "introduced": "0.6.0",
253
- "description": "Use for borders communicating information or something in-progress."
254
- },
255
- "value": "#388BFF",
256
- "filePath": "src/tokens/atlassian-dark-new-input-border/color/border.tsx",
257
- "isSource": true,
258
- "original": {
259
- "attributes": {
260
- "group": "paint",
261
- "state": "active",
262
- "introduced": "0.6.0",
263
- "description": "Use for borders communicating information or something in-progress."
264
- },
265
- "value": "Blue500"
266
- },
267
- "name": "color.border.information",
268
- "path": ["color", "border", "information"],
269
- "cleanName": "color.border.information"
270
- }, {
271
- "attributes": {
272
- "group": "paint",
273
- "state": "active",
274
- "introduced": "0.10.8",
275
- "description": "A neutral border option that passes min 3:1 contrast ratios."
276
- },
277
- "value": "#738496",
278
- "filePath": "src/tokens/atlassian-dark-new-input-border/color/border.tsx",
279
- "isSource": true,
280
- "original": {
281
- "attributes": {
282
- "group": "paint",
283
- "state": "active",
284
- "introduced": "0.10.8",
285
- "description": "A neutral border option that passes min 3:1 contrast ratios."
286
- },
287
- "value": "DarkNeutral600"
288
- },
289
- "name": "color.border.bold",
290
- "path": ["color", "border", "bold"],
291
- "cleanName": "color.border.bold"
292
28
  }];
293
29
  export default tokens;