@atlaskit/tokens 1.5.1 → 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 (139) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/artifacts/generated-pairs.js +1 -289
  3. package/dist/cjs/artifacts/palettes-raw/shape-palette.js +3 -3
  4. package/dist/cjs/artifacts/themes/atlassian-dark-new-input-border.js +2 -2
  5. package/dist/cjs/artifacts/themes/atlassian-light-new-input-border.js +2 -2
  6. package/dist/cjs/artifacts/themes/atlassian-shape.js +2 -2
  7. package/dist/cjs/artifacts/token-default-values.js +12 -10
  8. package/dist/cjs/artifacts/token-names.js +12 -10
  9. package/dist/cjs/artifacts/tokens-raw/atlassian-dark-iteration.js +902 -0
  10. package/dist/cjs/artifacts/tokens-raw/atlassian-dark-new-input-border.js +36 -0
  11. package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +33 -33
  12. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +33 -33
  13. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +33 -33
  14. package/dist/cjs/artifacts/tokens-raw/atlassian-light-new-input-border.js +36 -0
  15. package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +33 -33
  16. package/dist/cjs/artifacts/tokens-raw/atlassian-shape.js +81 -37
  17. package/dist/cjs/constants.js +1 -1
  18. package/dist/cjs/get-token-value.js +1 -1
  19. package/dist/cjs/get-token.js +1 -1
  20. package/dist/cjs/palettes/shape-palette.js +2 -1
  21. package/dist/cjs/set-global-theme.js +14 -3
  22. package/dist/cjs/tokens/atlassian-dark-new-input-border/color/border.js +1 -37
  23. package/dist/cjs/tokens/atlassian-light-new-input-border/color/border.js +1 -37
  24. package/dist/cjs/tokens/atlassian-shape/shape.js +7 -1
  25. package/dist/cjs/tokens/default/color/accent.js +16 -16
  26. package/dist/cjs/tokens/default/shape/shape.js +33 -17
  27. package/dist/cjs/utils/theme-state-transformer.js +2 -1
  28. package/dist/cjs/utils/token-order.js +1 -1
  29. package/dist/cjs/version.json +1 -1
  30. package/dist/es2019/artifacts/generated-pairs.js +1 -289
  31. package/dist/es2019/artifacts/palettes-raw/shape-palette.js +3 -3
  32. package/dist/es2019/artifacts/themes/atlassian-dark-new-input-border.js +2 -14
  33. package/dist/es2019/artifacts/themes/atlassian-light-new-input-border.js +2 -14
  34. package/dist/es2019/artifacts/themes/atlassian-shape.js +12 -10
  35. package/dist/es2019/artifacts/token-default-values.js +12 -10
  36. package/dist/es2019/artifacts/token-names.js +12 -10
  37. package/dist/es2019/artifacts/tokens-raw/atlassian-dark-iteration.js +895 -0
  38. package/dist/es2019/artifacts/tokens-raw/atlassian-dark-new-input-border.js +29 -0
  39. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +33 -33
  40. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +33 -33
  41. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +33 -33
  42. package/dist/es2019/artifacts/tokens-raw/atlassian-light-new-input-border.js +29 -0
  43. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +33 -33
  44. package/dist/es2019/artifacts/tokens-raw/atlassian-shape.js +81 -37
  45. package/dist/es2019/constants.js +1 -1
  46. package/dist/es2019/get-token-value.js +1 -1
  47. package/dist/es2019/get-token.js +1 -1
  48. package/dist/es2019/palettes/shape-palette.js +2 -1
  49. package/dist/es2019/set-global-theme.js +10 -2
  50. package/dist/es2019/tokens/atlassian-dark-new-input-border/color/border.js +1 -37
  51. package/dist/es2019/tokens/atlassian-light-new-input-border/color/border.js +1 -37
  52. package/dist/es2019/tokens/atlassian-shape/shape.js +7 -1
  53. package/dist/es2019/tokens/default/color/accent.js +16 -16
  54. package/dist/es2019/tokens/default/shape/shape.js +33 -17
  55. package/dist/es2019/utils/theme-state-transformer.js +2 -1
  56. package/dist/es2019/utils/token-order.js +1 -1
  57. package/dist/es2019/version.json +1 -1
  58. package/dist/esm/artifacts/generated-pairs.js +1 -289
  59. package/dist/esm/artifacts/palettes-raw/shape-palette.js +3 -3
  60. package/dist/esm/artifacts/themes/atlassian-dark-new-input-border.js +2 -2
  61. package/dist/esm/artifacts/themes/atlassian-light-new-input-border.js +2 -2
  62. package/dist/esm/artifacts/themes/atlassian-shape.js +2 -2
  63. package/dist/esm/artifacts/token-default-values.js +12 -10
  64. package/dist/esm/artifacts/token-names.js +12 -10
  65. package/dist/esm/artifacts/tokens-raw/atlassian-dark-iteration.js +895 -0
  66. package/dist/esm/artifacts/tokens-raw/atlassian-dark-new-input-border.js +29 -0
  67. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +33 -33
  68. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +33 -33
  69. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +33 -33
  70. package/dist/esm/artifacts/tokens-raw/atlassian-light-new-input-border.js +29 -0
  71. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +33 -33
  72. package/dist/esm/artifacts/tokens-raw/atlassian-shape.js +81 -37
  73. package/dist/esm/constants.js +1 -1
  74. package/dist/esm/get-token-value.js +1 -1
  75. package/dist/esm/get-token.js +1 -1
  76. package/dist/esm/palettes/shape-palette.js +2 -1
  77. package/dist/esm/set-global-theme.js +14 -3
  78. package/dist/esm/tokens/atlassian-dark-new-input-border/color/border.js +1 -37
  79. package/dist/esm/tokens/atlassian-light-new-input-border/color/border.js +1 -37
  80. package/dist/esm/tokens/atlassian-shape/shape.js +7 -1
  81. package/dist/esm/tokens/default/color/accent.js +16 -16
  82. package/dist/esm/tokens/default/shape/shape.js +33 -17
  83. package/dist/esm/utils/theme-state-transformer.js +2 -1
  84. package/dist/esm/utils/token-order.js +1 -1
  85. package/dist/esm/version.json +1 -1
  86. package/dist/types/artifacts/generated-pairs.d.ts +1 -1
  87. package/dist/types/artifacts/palettes-raw/shape-palette.d.ts +3 -18
  88. package/dist/types/artifacts/themes/atlassian-dark-new-input-border.d.ts +2 -2
  89. package/dist/types/artifacts/themes/atlassian-light-new-input-border.d.ts +2 -2
  90. package/dist/types/artifacts/themes/atlassian-shape.d.ts +2 -2
  91. package/dist/types/artifacts/token-default-values.d.ts +12 -10
  92. package/dist/types/artifacts/token-names.d.ts +23 -19
  93. package/dist/types/artifacts/tokens-raw/atlassian-dark-iteration.d.ts +91 -0
  94. package/dist/types/artifacts/tokens-raw/atlassian-dark-new-input-border.d.ts +29 -0
  95. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
  96. package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
  97. package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
  98. package/dist/types/artifacts/tokens-raw/atlassian-light-new-input-border.d.ts +29 -0
  99. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
  100. package/dist/types/artifacts/tokens-raw/atlassian-shape.d.ts +1 -1
  101. package/dist/types/artifacts/types-internal.d.ts +2 -2
  102. package/dist/types/artifacts/types.d.ts +2 -2
  103. package/dist/types/index.d.ts +1 -1
  104. package/dist/types/palettes/shape-palette.d.ts +1 -1
  105. package/dist/types/set-global-theme.d.ts +8 -7
  106. package/dist/types/tokens/atlassian-dark-new-input-border/color/border.d.ts +9 -3
  107. package/dist/types/tokens/atlassian-light-new-input-border/color/border.d.ts +9 -3
  108. package/dist/types/types.d.ts +3 -1
  109. package/dist/types-ts4.5/artifacts/generated-pairs.d.ts +1 -1
  110. package/dist/types-ts4.5/artifacts/palettes-raw/shape-palette.d.ts +3 -18
  111. package/dist/types-ts4.5/artifacts/themes/atlassian-dark-new-input-border.d.ts +2 -2
  112. package/dist/types-ts4.5/artifacts/themes/atlassian-light-new-input-border.d.ts +2 -2
  113. package/dist/types-ts4.5/artifacts/themes/atlassian-shape.d.ts +2 -2
  114. package/dist/types-ts4.5/artifacts/token-default-values.d.ts +12 -10
  115. package/dist/types-ts4.5/artifacts/token-names.d.ts +23 -19
  116. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-iteration.d.ts +91 -0
  117. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-new-input-border.d.ts +29 -0
  118. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
  119. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
  120. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
  121. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-new-input-border.d.ts +29 -0
  122. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
  123. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape.d.ts +1 -1
  124. package/dist/types-ts4.5/artifacts/types-internal.d.ts +2 -2
  125. package/dist/types-ts4.5/artifacts/types.d.ts +2 -2
  126. package/dist/types-ts4.5/index.d.ts +1 -1
  127. package/dist/types-ts4.5/palettes/shape-palette.d.ts +1 -1
  128. package/dist/types-ts4.5/set-global-theme.d.ts +8 -7
  129. package/dist/types-ts4.5/tokens/atlassian-dark-new-input-border/color/border.d.ts +9 -3
  130. package/dist/types-ts4.5/tokens/atlassian-light-new-input-border/color/border.d.ts +9 -3
  131. package/dist/types-ts4.5/types.d.ts +3 -1
  132. package/figma/atlassian-dark.json +16 -16
  133. package/figma/atlassian-legacy-dark.json +16 -16
  134. package/figma/atlassian-legacy-light.json +16 -16
  135. package/figma/atlassian-light.json +16 -16
  136. package/figma/atlassian-shape.json +36 -18
  137. package/package.json +4 -3
  138. package/report.api.md +125 -22
  139. package/tmp/api-report-tmp.d.ts +107 -27
@@ -6,15 +6,15 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  /**
8
8
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
9
- * @codegen <<SignedSource::7cdaa82f55e6537ca0b68d196db9e1d6>>
9
+ * @codegen <<SignedSource::8b50feb722f3a686c5a45c85ec5545b2>>
10
10
  * @codegenCommand yarn build tokens
11
11
  */
12
12
  var tokens = [{
13
13
  "attributes": {
14
14
  "group": "shape",
15
- "state": "experimental",
15
+ "state": "active",
16
16
  "introduced": "1.1.0",
17
- "description": "Experimental, description needs to be amended"
17
+ "description": "Used for selection indicators, like tabs."
18
18
  },
19
19
  "value": "2px",
20
20
  "filePath": "src/tokens/atlassian-shape/shape.tsx",
@@ -22,9 +22,9 @@ var tokens = [{
22
22
  "original": {
23
23
  "attributes": {
24
24
  "group": "shape",
25
- "state": "experimental",
25
+ "state": "active",
26
26
  "introduced": "1.1.0",
27
- "description": "Experimental, description needs to be amended"
27
+ "description": "Used for selection indicators, like tabs."
28
28
  },
29
29
  "value": "Radius050"
30
30
  },
@@ -34,9 +34,31 @@ var tokens = [{
34
34
  }, {
35
35
  "attributes": {
36
36
  "group": "shape",
37
- "state": "experimental",
37
+ "state": "active",
38
+ "introduced": "1.5.2",
39
+ "description": "The default border radius."
40
+ },
41
+ "value": "4px",
42
+ "filePath": "src/tokens/atlassian-shape/shape.tsx",
43
+ "isSource": true,
44
+ "original": {
45
+ "attributes": {
46
+ "group": "shape",
47
+ "state": "active",
48
+ "introduced": "1.5.2",
49
+ "description": "The default border radius."
50
+ },
51
+ "value": "Radius100"
52
+ },
53
+ "name": "border.radius.[default]",
54
+ "path": ["border", "radius", "[default]"],
55
+ "cleanName": "border.radius"
56
+ }, {
57
+ "attributes": {
58
+ "group": "shape",
59
+ "state": "active",
38
60
  "introduced": "1.1.0",
39
- "description": "Experimental, description needs to be amended"
61
+ "description": "Used for buttons and inputs."
40
62
  },
41
63
  "value": "4px",
42
64
  "filePath": "src/tokens/atlassian-shape/shape.tsx",
@@ -44,9 +66,9 @@ var tokens = [{
44
66
  "original": {
45
67
  "attributes": {
46
68
  "group": "shape",
47
- "state": "experimental",
69
+ "state": "active",
48
70
  "introduced": "1.1.0",
49
- "description": "Experimental, description needs to be amended"
71
+ "description": "Used for buttons and inputs."
50
72
  },
51
73
  "value": "Radius100"
52
74
  },
@@ -56,9 +78,9 @@ var tokens = [{
56
78
  }, {
57
79
  "attributes": {
58
80
  "group": "shape",
59
- "state": "experimental",
81
+ "state": "active",
60
82
  "introduced": "1.1.0",
61
- "description": "Experimental, description needs to be amended"
83
+ "description": "Used for smaller cards."
62
84
  },
63
85
  "value": "8px",
64
86
  "filePath": "src/tokens/atlassian-shape/shape.tsx",
@@ -66,9 +88,9 @@ var tokens = [{
66
88
  "original": {
67
89
  "attributes": {
68
90
  "group": "shape",
69
- "state": "experimental",
91
+ "state": "active",
70
92
  "introduced": "1.1.0",
71
- "description": "Experimental, description needs to be amended"
93
+ "description": "Used for smaller cards."
72
94
  },
73
95
  "value": "Radius200"
74
96
  },
@@ -78,9 +100,9 @@ var tokens = [{
78
100
  }, {
79
101
  "attributes": {
80
102
  "group": "shape",
81
- "state": "experimental",
103
+ "state": "active",
82
104
  "introduced": "1.1.0",
83
- "description": "Experimental, description needs to be amended"
105
+ "description": "Used for cards and larger containers."
84
106
  },
85
107
  "value": "12px",
86
108
  "filePath": "src/tokens/atlassian-shape/shape.tsx",
@@ -88,9 +110,9 @@ var tokens = [{
88
110
  "original": {
89
111
  "attributes": {
90
112
  "group": "shape",
91
- "state": "experimental",
113
+ "state": "active",
92
114
  "introduced": "1.1.0",
93
- "description": "Experimental, description needs to be amended"
115
+ "description": "Used for cards and larger containers."
94
116
  },
95
117
  "value": "Radius300"
96
118
  },
@@ -100,9 +122,9 @@ var tokens = [{
100
122
  }, {
101
123
  "attributes": {
102
124
  "group": "shape",
103
- "state": "experimental",
125
+ "state": "active",
104
126
  "introduced": "1.1.0",
105
- "description": "Experimental, description needs to be amended"
127
+ "description": "Used for modals."
106
128
  },
107
129
  "value": "16px",
108
130
  "filePath": "src/tokens/atlassian-shape/shape.tsx",
@@ -110,9 +132,9 @@ var tokens = [{
110
132
  "original": {
111
133
  "attributes": {
112
134
  "group": "shape",
113
- "state": "experimental",
135
+ "state": "active",
114
136
  "introduced": "1.1.0",
115
- "description": "Experimental, description needs to be amended"
137
+ "description": "Used for modals."
116
138
  },
117
139
  "value": "Radius400"
118
140
  },
@@ -122,25 +144,47 @@ var tokens = [{
122
144
  }, {
123
145
  "attributes": {
124
146
  "group": "shape",
125
- "state": "experimental",
147
+ "state": "active",
126
148
  "introduced": "1.1.0",
127
- "description": "Experimental, description needs to be amended"
149
+ "description": "Used for circular containers, like a rounded button."
128
150
  },
129
- "value": "50%",
151
+ "value": "32032px",
130
152
  "filePath": "src/tokens/atlassian-shape/shape.tsx",
131
153
  "isSource": true,
132
154
  "original": {
133
155
  "attributes": {
134
156
  "group": "shape",
135
- "state": "experimental",
157
+ "state": "active",
136
158
  "introduced": "1.1.0",
137
- "description": "Experimental, description needs to be amended"
159
+ "description": "Used for circular containers, like a rounded button."
138
160
  },
139
161
  "value": "RadiusCircle"
140
162
  },
141
- "name": "border.radius.round",
142
- "path": ["border", "radius", "round"],
143
- "cleanName": "border.radius.round"
163
+ "name": "border.radius.circle",
164
+ "path": ["border", "radius", "circle"],
165
+ "cleanName": "border.radius.circle"
166
+ }, {
167
+ "attributes": {
168
+ "group": "shape",
169
+ "state": "active",
170
+ "introduced": "1.5.2",
171
+ "description": "The default border width."
172
+ },
173
+ "value": "1px",
174
+ "filePath": "src/tokens/atlassian-shape/shape.tsx",
175
+ "isSource": true,
176
+ "original": {
177
+ "attributes": {
178
+ "group": "shape",
179
+ "state": "active",
180
+ "introduced": "1.5.2",
181
+ "description": "The default border width."
182
+ },
183
+ "value": "Size050"
184
+ },
185
+ "name": "border.width.[default]",
186
+ "path": ["border", "width", "[default]"],
187
+ "cleanName": "border.width"
144
188
  }, {
145
189
  "attributes": {
146
190
  "group": "shape",
@@ -166,9 +210,9 @@ var tokens = [{
166
210
  }, {
167
211
  "attributes": {
168
212
  "group": "shape",
169
- "state": "experimental",
213
+ "state": "active",
170
214
  "introduced": "1.1.0",
171
- "description": "Experimental, description needs to be amended"
215
+ "description": "Used for all borders and dividers."
172
216
  },
173
217
  "value": "1px",
174
218
  "filePath": "src/tokens/atlassian-shape/shape.tsx",
@@ -176,9 +220,9 @@ var tokens = [{
176
220
  "original": {
177
221
  "attributes": {
178
222
  "group": "shape",
179
- "state": "experimental",
223
+ "state": "active",
180
224
  "introduced": "1.1.0",
181
- "description": "Experimental, description needs to be amended"
225
+ "description": "Used for all borders and dividers."
182
226
  },
183
227
  "value": "Size050"
184
228
  },
@@ -188,9 +232,9 @@ var tokens = [{
188
232
  }, {
189
233
  "attributes": {
190
234
  "group": "shape",
191
- "state": "experimental",
235
+ "state": "active",
192
236
  "introduced": "1.1.0",
193
- "description": "Experimental, description needs to be amended"
237
+ "description": "Used for bolder dividers and interaction states."
194
238
  },
195
239
  "value": "2px",
196
240
  "filePath": "src/tokens/atlassian-shape/shape.tsx",
@@ -198,9 +242,9 @@ var tokens = [{
198
242
  "original": {
199
243
  "attributes": {
200
244
  "group": "shape",
201
- "state": "experimental",
245
+ "state": "active",
202
246
  "introduced": "1.1.0",
203
- "description": "Experimental, description needs to be amended"
247
+ "description": "Used for bolder dividers and interaction states."
204
248
  },
205
249
  "value": "Size100"
206
250
  },
@@ -12,7 +12,7 @@ var DEFAULT_THEME = 'light';
12
12
  exports.DEFAULT_THEME = DEFAULT_THEME;
13
13
  var CSS_PREFIX = 'ds';
14
14
  exports.CSS_PREFIX = CSS_PREFIX;
15
- var CSS_VAR_FULL = ['opacity', 'font', 'space'];
15
+ var CSS_VAR_FULL = ['opacity', 'font', 'space', 'border'];
16
16
  exports.CSS_VAR_FULL = CSS_VAR_FULL;
17
17
  var TOKEN_NOT_FOUND_CSS_VAR = "--".concat(CSS_PREFIX, "-token-not-found");
18
18
  exports.TOKEN_NOT_FOUND_CSS_VAR = TOKEN_NOT_FOUND_CSS_VAR;
@@ -8,7 +8,7 @@ exports.default = void 0;
8
8
  var _warnOnce = _interopRequireDefault(require("@atlaskit/ds-lib/warn-once"));
9
9
  var _tokenNames = _interopRequireDefault(require("./artifacts/token-names"));
10
10
  var name = "@atlaskit/tokens";
11
- var version = "1.5.1";
11
+ var version = "1.6.0";
12
12
  /**
13
13
  * Takes a dot-separated token name and and an optional fallback, and returns the current computed CSS value for the
14
14
  * resulting CSS Custom Property.
@@ -9,7 +9,7 @@ var _warnOnce = _interopRequireDefault(require("@atlaskit/ds-lib/warn-once"));
9
9
  var _tokenNames = _interopRequireDefault(require("./artifacts/token-names"));
10
10
  var _constants = require("./constants");
11
11
  var name = "@atlaskit/tokens";
12
- var version = "1.5.1";
12
+ var version = "1.6.0";
13
13
  /**
14
14
  * Takes a dot-separated token name and an optional fallback, and returns the CSS custom property for the corresponding token.
15
15
  * This should be used to implement design decisions throughout your application.
@@ -60,7 +60,8 @@ var baseRadiusTokens = {
60
60
  }
61
61
  },
62
62
  RadiusCircle: {
63
- value: '50%',
63
+ // The year atlassian was founded in rem
64
+ value: 32032,
64
65
  attributes: {
65
66
  group: 'shape'
66
67
  }
@@ -27,6 +27,7 @@ var themeStateDefaults = {
27
27
  colorMode: 'auto',
28
28
  dark: 'dark',
29
29
  light: 'light',
30
+ shape: undefined,
30
31
  spacing: undefined,
31
32
  typography: undefined
32
33
  };
@@ -84,6 +85,8 @@ var setGlobalTheme = /*#__PURE__*/function () {
84
85
  dark,
85
86
  _ref2$light,
86
87
  light,
88
+ _ref2$shape,
89
+ shape,
87
90
  _ref2$spacing,
88
91
  spacing,
89
92
  _ref2$typography,
@@ -94,11 +97,12 @@ var setGlobalTheme = /*#__PURE__*/function () {
94
97
  return _regenerator.default.wrap(function _callee2$(_context2) {
95
98
  while (1) switch (_context2.prev = _context2.next) {
96
99
  case 0:
97
- _ref2 = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {}, _ref2$colorMode = _ref2.colorMode, colorMode = _ref2$colorMode === void 0 ? themeStateDefaults['colorMode'] : _ref2$colorMode, _ref2$dark = _ref2.dark, dark = _ref2$dark === void 0 ? themeStateDefaults['dark'] : _ref2$dark, _ref2$light = _ref2.light, light = _ref2$light === void 0 ? themeStateDefaults['light'] : _ref2$light, _ref2$spacing = _ref2.spacing, spacing = _ref2$spacing === void 0 ? themeStateDefaults['spacing'] : _ref2$spacing, _ref2$typography = _ref2.typography, typography = _ref2$typography === void 0 ? themeStateDefaults['typography'] : _ref2$typography;
100
+ _ref2 = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {}, _ref2$colorMode = _ref2.colorMode, colorMode = _ref2$colorMode === void 0 ? themeStateDefaults['colorMode'] : _ref2$colorMode, _ref2$dark = _ref2.dark, dark = _ref2$dark === void 0 ? themeStateDefaults['dark'] : _ref2$dark, _ref2$light = _ref2.light, light = _ref2$light === void 0 ? themeStateDefaults['light'] : _ref2$light, _ref2$shape = _ref2.shape, shape = _ref2$shape === void 0 ? themeStateDefaults['shape'] : _ref2$shape, _ref2$spacing = _ref2.spacing, spacing = _ref2$spacing === void 0 ? themeStateDefaults['spacing'] : _ref2$spacing, _ref2$typography = _ref2.typography, typography = _ref2$typography === void 0 ? themeStateDefaults['typography'] : _ref2$typography;
98
101
  themePreferences = getThemePreferences({
99
102
  colorMode: colorMode,
100
103
  dark: dark,
101
104
  light: light,
105
+ shape: shape,
102
106
  spacing: spacing,
103
107
  typography: typography
104
108
  });
@@ -161,6 +165,7 @@ var setGlobalTheme = /*#__PURE__*/function () {
161
165
  colorMode: colorMode,
162
166
  dark: dark,
163
167
  light: light,
168
+ shape: shape,
164
169
  spacing: spacing,
165
170
  typography: typography
166
171
  });
@@ -208,17 +213,20 @@ var getThemeStyles = /*#__PURE__*/function () {
208
213
  spacing,
209
214
  _ref7$typography,
210
215
  typography,
216
+ _ref7$shape,
217
+ shape,
211
218
  themePreferences,
212
219
  results,
213
220
  _args4 = arguments;
214
221
  return _regenerator.default.wrap(function _callee4$(_context4) {
215
222
  while (1) switch (_context4.prev = _context4.next) {
216
223
  case 0:
217
- _ref7 = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : {}, _ref7$colorMode = _ref7.colorMode, colorMode = _ref7$colorMode === void 0 ? themeStateDefaults['colorMode'] : _ref7$colorMode, _ref7$dark = _ref7.dark, dark = _ref7$dark === void 0 ? themeStateDefaults['dark'] : _ref7$dark, _ref7$light = _ref7.light, light = _ref7$light === void 0 ? themeStateDefaults['light'] : _ref7$light, _ref7$spacing = _ref7.spacing, spacing = _ref7$spacing === void 0 ? themeStateDefaults['spacing'] : _ref7$spacing, _ref7$typography = _ref7.typography, typography = _ref7$typography === void 0 ? themeStateDefaults['typography'] : _ref7$typography;
224
+ _ref7 = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : {}, _ref7$colorMode = _ref7.colorMode, colorMode = _ref7$colorMode === void 0 ? themeStateDefaults['colorMode'] : _ref7$colorMode, _ref7$dark = _ref7.dark, dark = _ref7$dark === void 0 ? themeStateDefaults['dark'] : _ref7$dark, _ref7$light = _ref7.light, light = _ref7$light === void 0 ? themeStateDefaults['light'] : _ref7$light, _ref7$spacing = _ref7.spacing, spacing = _ref7$spacing === void 0 ? themeStateDefaults['spacing'] : _ref7$spacing, _ref7$typography = _ref7.typography, typography = _ref7$typography === void 0 ? themeStateDefaults['typography'] : _ref7$typography, _ref7$shape = _ref7.shape, shape = _ref7$shape === void 0 ? themeStateDefaults['shape'] : _ref7$shape;
218
225
  themePreferences = getThemePreferences({
219
226
  colorMode: colorMode,
220
227
  dark: dark,
221
228
  light: light,
229
+ shape: shape,
222
230
  spacing: spacing,
223
231
  typography: typography
224
232
  });
@@ -303,6 +311,8 @@ var getThemeHtmlAttrs = function getThemeHtmlAttrs() {
303
311
  dark = _ref9$dark === void 0 ? themeStateDefaults['dark'] : _ref9$dark,
304
312
  _ref9$light = _ref9.light,
305
313
  light = _ref9$light === void 0 ? themeStateDefaults['light'] : _ref9$light,
314
+ _ref9$shape = _ref9.shape,
315
+ shape = _ref9$shape === void 0 ? themeStateDefaults['shape'] : _ref9$shape,
306
316
  _ref9$spacing = _ref9.spacing,
307
317
  spacing = _ref9$spacing === void 0 ? themeStateDefaults['spacing'] : _ref9$spacing,
308
318
  _ref9$typography = _ref9.typography,
@@ -311,7 +321,8 @@ var getThemeHtmlAttrs = function getThemeHtmlAttrs() {
311
321
  dark: dark,
312
322
  light: light,
313
323
  spacing: spacing,
314
- typography: typography
324
+ typography: typography,
325
+ shape: shape
315
326
  };
316
327
  var themeAttribute = (0, _themeStateTransformer.themeObjectToString)(themePreferences);
317
328
  return _ref10 = {}, (0, _defineProperty2.default)(_ref10, _constants.THEME_DATA_ATTRIBUTE, themeAttribute), (0, _defineProperty2.default)(_ref10, _constants.COLOR_MODE_ATTRIBUTE, colorMode === 'auto' ? defaultColorMode : colorMode), _ref10;
@@ -7,44 +7,8 @@ exports.default = void 0;
7
7
  var color = {
8
8
  color: {
9
9
  border: {
10
- '[default]': {
11
- value: 'DarkNeutral300A'
12
- },
13
- bold: {
14
- value: 'DarkNeutral600'
15
- },
16
- inverse: {
17
- value: 'DarkNeutral0'
18
- },
19
- focused: {
20
- value: 'Blue300'
21
- },
22
10
  input: {
23
- value: 'DarkNeutral600'
24
- },
25
- disabled: {
26
- value: 'DarkNeutral200A'
27
- },
28
- brand: {
29
- value: 'Blue400'
30
- },
31
- selected: {
32
- value: 'Blue400'
33
- },
34
- danger: {
35
- value: 'Red500'
36
- },
37
- warning: {
38
- value: 'Yellow500'
39
- },
40
- success: {
41
- value: 'Green500'
42
- },
43
- discovery: {
44
- value: 'Purple500'
45
- },
46
- information: {
47
- value: 'Blue500'
11
+ value: 'DarkNeutral500'
48
12
  }
49
13
  }
50
14
  }
@@ -7,44 +7,8 @@ exports.default = void 0;
7
7
  var color = {
8
8
  color: {
9
9
  border: {
10
- '[default]': {
11
- value: 'Neutral300A'
12
- },
13
- bold: {
14
- value: 'Neutral600'
15
- },
16
- inverse: {
17
- value: 'Neutral0'
18
- },
19
- focused: {
20
- value: 'Blue500'
21
- },
22
10
  input: {
23
- value: 'Neutral600'
24
- },
25
- disabled: {
26
- value: 'Neutral200A'
27
- },
28
- brand: {
29
- value: 'Blue700'
30
- },
31
- selected: {
32
- value: 'Blue700'
33
- },
34
- danger: {
35
- value: 'Red600'
36
- },
37
- warning: {
38
- value: 'Orange600'
39
- },
40
- success: {
41
- value: 'Green600'
42
- },
43
- discovery: {
44
- value: 'Purple600'
45
- },
46
- information: {
47
- value: 'Blue600'
11
+ value: 'Neutral500'
48
12
  }
49
13
  }
50
14
  }
@@ -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
  }
@@ -14,7 +14,7 @@ var color = {
14
14
  group: 'paint',
15
15
  state: 'active',
16
16
  introduced: '0.6.0',
17
- description: 'Use for blue text on non-bold backgrounds when there is no meaning tied to the color, such as colored tags.'
17
+ description: 'Use for blue text on subtlest and subtler blue accent backgrounds when there is no meaning tied to the color.'
18
18
  }
19
19
  },
20
20
  bolder: {
@@ -22,7 +22,7 @@ var color = {
22
22
  group: 'paint',
23
23
  state: 'active',
24
24
  introduced: '0.7.0',
25
- description: 'Use on bold blue accent backgrounds.'
25
+ description: 'Use for blue text on subtle blue accent backgrounds when there is no meaning tied to the color.'
26
26
  }
27
27
  }
28
28
  },
@@ -32,7 +32,7 @@ var color = {
32
32
  group: 'paint',
33
33
  state: 'active',
34
34
  introduced: '0.6.0',
35
- description: 'Use for red text on non-bold backgrounds when there is no meaning tied to the color, such as colored tags.'
35
+ description: 'Use for red text on subtlest and subtler red accent backgrounds when there is no meaning tied to the color.'
36
36
  }
37
37
  },
38
38
  bolder: {
@@ -40,7 +40,7 @@ var color = {
40
40
  group: 'paint',
41
41
  state: 'active',
42
42
  introduced: '0.7.0',
43
- description: 'Use on bold red accent backgrounds.'
43
+ description: 'Use for red text on subtle red accent backgrounds when there is no meaning tied to the color.'
44
44
  }
45
45
  }
46
46
  },
@@ -50,7 +50,7 @@ var color = {
50
50
  group: 'paint',
51
51
  state: 'active',
52
52
  introduced: '0.6.0',
53
- description: 'Use for orange text on non-bold backgrounds when there is no meaning tied to the color, such as colored tags.'
53
+ description: 'Use for orange text on subtlest and subtler orange accent backgrounds when there is no meaning tied to the color.'
54
54
  }
55
55
  },
56
56
  bolder: {
@@ -58,7 +58,7 @@ var color = {
58
58
  group: 'paint',
59
59
  state: 'active',
60
60
  introduced: '0.7.0',
61
- description: 'Use on bold orange accent backgrounds.'
61
+ description: 'Use for orange text on subtle orange accent backgrounds when there is no meaning tied to the color.'
62
62
  }
63
63
  }
64
64
  },
@@ -68,7 +68,7 @@ var color = {
68
68
  group: 'paint',
69
69
  state: 'active',
70
70
  introduced: '0.6.0',
71
- description: 'Use for yellow text on non-bold backgrounds when there is no meaning tied to the color, such as colored tags.'
71
+ description: 'Use for yellow text on subtlest and subtler yellow accent backgrounds when there is no meaning tied to the color.'
72
72
  }
73
73
  },
74
74
  bolder: {
@@ -76,7 +76,7 @@ var color = {
76
76
  group: 'paint',
77
77
  state: 'active',
78
78
  introduced: '0.7.0',
79
- description: 'Use on bold yellow accent backgrounds.'
79
+ description: 'Use for yellow text on subtle yellow accent backgrounds when there is no meaning tied to the color.'
80
80
  }
81
81
  }
82
82
  },
@@ -86,7 +86,7 @@ var color = {
86
86
  group: 'paint',
87
87
  state: 'active',
88
88
  introduced: '0.6.0',
89
- description: 'Use for green text on non-bold backgrounds when there is no meaning tied to the color, such as colored tags.'
89
+ description: 'Use for green text on subtlest and subtler green accent backgrounds when there is no meaning tied to the color.'
90
90
  }
91
91
  },
92
92
  bolder: {
@@ -94,7 +94,7 @@ var color = {
94
94
  group: 'paint',
95
95
  state: 'active',
96
96
  introduced: '0.7.0',
97
- description: 'Use on bold green accent backgrounds.'
97
+ description: 'Use for green text on subtle green accent backgrounds when there is no meaning tied to the color.'
98
98
  }
99
99
  }
100
100
  },
@@ -104,7 +104,7 @@ var color = {
104
104
  group: 'paint',
105
105
  state: 'active',
106
106
  introduced: '0.6.0',
107
- description: 'Use for purple text on non-bold backgrounds when there is no meaning tied to the color, such as colored tags.'
107
+ description: 'Use for purple text on subtlest and subtler purple accent backgrounds when there is no meaning tied to the color.'
108
108
  }
109
109
  },
110
110
  bolder: {
@@ -112,7 +112,7 @@ var color = {
112
112
  group: 'paint',
113
113
  state: 'active',
114
114
  introduced: '0.7.0',
115
- description: 'Use on bold purple accent backgrounds.'
115
+ description: 'Use for purple text on subtle purple accent backgrounds when there is no meaning tied to the color.'
116
116
  }
117
117
  }
118
118
  },
@@ -122,7 +122,7 @@ var color = {
122
122
  group: 'paint',
123
123
  state: 'active',
124
124
  introduced: '0.6.0',
125
- description: 'Use for teal text on non-bold backgrounds when there is no meaning tied to the color, such as colored tags.'
125
+ description: 'Use for teal text on subtlest and subtler teal accent backgrounds when there is no meaning tied to the color.'
126
126
  }
127
127
  },
128
128
  bolder: {
@@ -130,7 +130,7 @@ var color = {
130
130
  group: 'paint',
131
131
  state: 'active',
132
132
  introduced: '0.7.0',
133
- description: 'Use on bold teal accent backgrounds.'
133
+ description: 'Use for teal text on subtle teal accent backgrounds when there is no meaning tied to the color.'
134
134
  }
135
135
  }
136
136
  },
@@ -140,7 +140,7 @@ var color = {
140
140
  group: 'paint',
141
141
  state: 'active',
142
142
  introduced: '0.6.0',
143
- description: 'Use for magenta text on non-bold backgrounds when there is no meaning tied to the color, such as colored tags.'
143
+ description: 'Use for magenta text on subtlest and subtler magenta accent backgrounds when there is no meaning tied to the color.'
144
144
  }
145
145
  },
146
146
  bolder: {
@@ -148,7 +148,7 @@ var color = {
148
148
  group: 'paint',
149
149
  state: 'active',
150
150
  introduced: '0.7.0',
151
- description: 'Use on bold magenta accent backgrounds.'
151
+ description: 'Use for magenta text on subtle magenta accent backgrounds when there is no meaning tied to the color.'
152
152
  }
153
153
  }
154
154
  },