@atlaskit/tokens 5.6.3 → 6.1.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 (113) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/babel-plugin/package.json +1 -1
  3. package/codemods/theme-to-design-tokens/transform.tsx +1 -0
  4. package/css-type-schema/package.json +1 -1
  5. package/custom-themes/package.json +1 -1
  6. package/dist/cjs/artifacts/palettes-raw/shape-palette.js +53 -23
  7. package/dist/cjs/artifacts/replacement-mapping.js +29 -2
  8. package/dist/cjs/artifacts/theme-import-map.js +13 -1
  9. package/dist/cjs/artifacts/themes/atlassian-shape-rounder.js +12 -0
  10. package/dist/cjs/artifacts/themes/atlassian-shape-roundest.js +12 -0
  11. package/dist/cjs/artifacts/themes/atlassian-shape.js +2 -2
  12. package/dist/cjs/artifacts/token-default-values.js +21 -13
  13. package/dist/cjs/artifacts/token-names.js +21 -13
  14. package/dist/cjs/artifacts/tokens-raw/atlassian-shape-rounder.js +469 -0
  15. package/dist/cjs/artifacts/tokens-raw/atlassian-shape-roundest.js +469 -0
  16. package/dist/cjs/artifacts/tokens-raw/atlassian-shape.js +249 -41
  17. package/dist/cjs/constants.js +1 -1
  18. package/dist/cjs/entry-points/token-metadata.codegen.js +96 -51
  19. package/dist/cjs/theme-config.js +19 -6
  20. package/dist/cjs/theme-state-transformer.js +3 -1
  21. package/dist/cjs/utils/token-order.js +6 -3
  22. package/dist/es2019/artifacts/palettes-raw/shape-palette.js +53 -23
  23. package/dist/es2019/artifacts/replacement-mapping.js +29 -2
  24. package/dist/es2019/artifacts/theme-import-map.js +5 -1
  25. package/dist/es2019/artifacts/themes/atlassian-shape-rounder.js +28 -0
  26. package/dist/es2019/artifacts/themes/atlassian-shape-roundest.js +28 -0
  27. package/dist/es2019/artifacts/themes/atlassian-shape.js +11 -3
  28. package/dist/es2019/artifacts/token-default-values.js +21 -13
  29. package/dist/es2019/artifacts/token-names.js +21 -13
  30. package/dist/es2019/artifacts/tokens-raw/atlassian-shape-rounder.js +463 -0
  31. package/dist/es2019/artifacts/tokens-raw/atlassian-shape-roundest.js +463 -0
  32. package/dist/es2019/artifacts/tokens-raw/atlassian-shape.js +249 -41
  33. package/dist/es2019/constants.js +1 -1
  34. package/dist/es2019/entry-points/token-metadata.codegen.js +96 -51
  35. package/dist/es2019/theme-config.js +19 -6
  36. package/dist/es2019/theme-state-transformer.js +3 -1
  37. package/dist/es2019/utils/token-order.js +6 -3
  38. package/dist/esm/artifacts/palettes-raw/shape-palette.js +53 -23
  39. package/dist/esm/artifacts/replacement-mapping.js +29 -2
  40. package/dist/esm/artifacts/theme-import-map.js +9 -1
  41. package/dist/esm/artifacts/themes/atlassian-shape-rounder.js +6 -0
  42. package/dist/esm/artifacts/themes/atlassian-shape-roundest.js +6 -0
  43. package/dist/esm/artifacts/themes/atlassian-shape.js +2 -2
  44. package/dist/esm/artifacts/token-default-values.js +21 -13
  45. package/dist/esm/artifacts/token-names.js +21 -13
  46. package/dist/esm/artifacts/tokens-raw/atlassian-shape-rounder.js +463 -0
  47. package/dist/esm/artifacts/tokens-raw/atlassian-shape-roundest.js +463 -0
  48. package/dist/esm/artifacts/tokens-raw/atlassian-shape.js +249 -41
  49. package/dist/esm/constants.js +1 -1
  50. package/dist/esm/entry-points/token-metadata.codegen.js +96 -51
  51. package/dist/esm/theme-config.js +19 -6
  52. package/dist/esm/theme-state-transformer.js +3 -1
  53. package/dist/esm/utils/token-order.js +6 -3
  54. package/dist/types/artifacts/palettes-raw/shape-palette.d.ts +1 -1
  55. package/dist/types/artifacts/replacement-mapping.d.ts +1 -1
  56. package/dist/types/artifacts/theme-import-map.d.ts +1 -1
  57. package/dist/types/artifacts/themes/atlassian-shape-rounder.d.ts +7 -0
  58. package/dist/types/artifacts/themes/atlassian-shape-roundest.d.ts +7 -0
  59. package/dist/types/artifacts/themes/atlassian-shape.d.ts +2 -2
  60. package/dist/types/artifacts/token-default-values.d.ts +20 -12
  61. package/dist/types/artifacts/token-names.d.ts +39 -23
  62. package/dist/types/artifacts/tokens-raw/atlassian-shape-rounder.d.ts +59 -0
  63. package/dist/types/artifacts/tokens-raw/atlassian-shape-roundest.d.ts +59 -0
  64. package/dist/types/artifacts/tokens-raw/atlassian-shape.d.ts +9 -5
  65. package/dist/types/artifacts/types-internal.d.ts +2 -2
  66. package/dist/types/artifacts/types.d.ts +2 -2
  67. package/dist/types/enable-global-theme.d.ts +1 -1
  68. package/dist/types/entry-points/css-type-schema.codegen.d.ts +3 -3
  69. package/dist/types/entry-points/token-metadata.codegen.d.ts +1 -1
  70. package/dist/types/get-ssr-auto-script.d.ts +1 -1
  71. package/dist/types/get-theme-styles.d.ts +1 -1
  72. package/dist/types/set-global-theme.d.ts +1 -1
  73. package/dist/types/theme-config.d.ts +4 -4
  74. package/dist/types/types.d.ts +12 -2
  75. package/dist/types/utils/color-detection.d.ts +1 -1
  76. package/dist/types/utils/custom-theme-token-contrast-check.d.ts +2 -2
  77. package/dist/types/utils/generate-custom-color-ramp.d.ts +2 -8
  78. package/dist/types-ts4.5/artifacts/palettes-raw/shape-palette.d.ts +1 -1
  79. package/dist/types-ts4.5/artifacts/replacement-mapping.d.ts +1 -1
  80. package/dist/types-ts4.5/artifacts/theme-import-map.d.ts +1 -1
  81. package/dist/types-ts4.5/artifacts/themes/atlassian-shape-rounder.d.ts +7 -0
  82. package/dist/types-ts4.5/artifacts/themes/atlassian-shape-roundest.d.ts +7 -0
  83. package/dist/types-ts4.5/artifacts/themes/atlassian-shape.d.ts +2 -2
  84. package/dist/types-ts4.5/artifacts/token-default-values.d.ts +20 -12
  85. package/dist/types-ts4.5/artifacts/token-names.d.ts +39 -23
  86. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape-rounder.d.ts +59 -0
  87. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape-roundest.d.ts +59 -0
  88. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape.d.ts +9 -5
  89. package/dist/types-ts4.5/artifacts/types-internal.d.ts +2 -2
  90. package/dist/types-ts4.5/artifacts/types.d.ts +2 -2
  91. package/dist/types-ts4.5/enable-global-theme.d.ts +1 -1
  92. package/dist/types-ts4.5/entry-points/css-type-schema.codegen.d.ts +3 -3
  93. package/dist/types-ts4.5/entry-points/token-metadata.codegen.d.ts +1 -1
  94. package/dist/types-ts4.5/get-ssr-auto-script.d.ts +1 -1
  95. package/dist/types-ts4.5/get-theme-styles.d.ts +1 -1
  96. package/dist/types-ts4.5/set-global-theme.d.ts +1 -1
  97. package/dist/types-ts4.5/theme-config.d.ts +6 -2
  98. package/dist/types-ts4.5/types.d.ts +12 -2
  99. package/dist/types-ts4.5/utils/color-detection.d.ts +1 -1
  100. package/dist/types-ts4.5/utils/custom-theme-token-contrast-check.d.ts +2 -2
  101. package/dist/types-ts4.5/utils/generate-custom-color-ramp.d.ts +2 -4
  102. package/figma/atlassian-shape-rounder.json +114 -0
  103. package/figma/atlassian-shape-roundest.json +114 -0
  104. package/figma/atlassian-shape.json +44 -46
  105. package/package.json +8 -9
  106. package/palettes-raw/package.json +1 -1
  107. package/rename-mapping/package.json +1 -1
  108. package/token-default-values/package.json +1 -1
  109. package/token-ids/package.json +1 -1
  110. package/token-metadata/package.json +1 -1
  111. package/token-names/package.json +1 -1
  112. package/token-order/package.json +1 -1
  113. package/tokens-raw/package.json +1 -1
@@ -40,7 +40,7 @@ const themeContrastModes = ['more', 'no-preference', 'auto'];
40
40
  *
41
41
  * These ids must be kebab case
42
42
  */
43
- export const themeIds = ['light-increased-contrast', 'light', 'light-future', 'light-brand-refresh', 'dark', 'dark-future', 'dark-increased-contrast', 'dark-brand-refresh', 'legacy-light', 'legacy-dark', 'spacing', 'shape', 'typography', 'typography-adg3', 'typography-modernized', 'typography-refreshed'];
43
+ export const themeIds = ['light-increased-contrast', 'light', 'light-future', 'light-brand-refresh', 'dark', 'dark-future', 'dark-increased-contrast', 'dark-brand-refresh', 'legacy-light', 'legacy-dark', 'spacing', 'shape', 'shape-rounder', 'shape-roundest', 'typography', 'typography-adg3', 'typography-modernized', 'typography-refreshed'];
44
44
  /**
45
45
  * Theme override ids: the equivalent of themeIds for theme overrides.
46
46
  * Theme overrides are temporary and there may not be any defined at times.
@@ -170,7 +170,23 @@ const themeConfig = {
170
170
  },
171
171
  'atlassian-shape': {
172
172
  id: 'shape',
173
- displayName: 'Atlassian Shape',
173
+ displayName: 'Shape',
174
+ palette: 'shapePalette',
175
+ attributes: {
176
+ type: 'shape'
177
+ }
178
+ },
179
+ 'atlassian-shape-rounder': {
180
+ id: 'shape-rounder',
181
+ displayName: 'Shape (Rounder)',
182
+ palette: 'shapePalette',
183
+ attributes: {
184
+ type: 'shape'
185
+ }
186
+ },
187
+ 'atlassian-shape-roundest': {
188
+ id: 'shape-roundest',
189
+ displayName: 'Shape (Roundest)',
174
190
  palette: 'shapePalette',
175
191
  attributes: {
176
192
  type: 'shape'
@@ -239,10 +255,7 @@ export const themeStateDefaults = {
239
255
  if (fg('platform-disable-default-typography')) {
240
256
  return undefined;
241
257
  }
242
- if (fg('platform-default-typography-refreshed')) {
243
- return 'typography';
244
- }
245
- return undefined;
258
+ return 'typography';
246
259
  },
247
260
  UNSAFE_themeOptions: undefined
248
261
  };
@@ -23,7 +23,9 @@ const isColorMode = modeId => {
23
23
  * ```
24
24
  */
25
25
  export const themeStringToObject = themeState => {
26
- return themeState.split(' ').map(theme => theme.split(/:(.*)/s)).reduce((themeObject, [kind, id]) => {
26
+ return themeState.split(' ')
27
+ // @ts-ignore - TS1501 TypeScript 5.9.2 upgrade
28
+ .map(theme => theme.split(/:(.*)/s)).reduce((themeObject, [kind, id]) => {
27
29
  if (kind === 'colorMode' && isColorMode(id)) {
28
30
  themeObject[kind] = id;
29
31
  }
@@ -20,15 +20,18 @@ export const tokenOrder = [{
20
20
  {
21
21
  path: 'utility',
22
22
  subpaths: []
23
- }, {
24
- path: 'border',
25
- subpaths: ['radius', 'width']
26
23
  }, {
27
24
  path: 'space',
28
25
  subpaths: []
29
26
  }, {
30
27
  path: 'font',
31
28
  subpaths: ['heading', 'body', 'metric', 'code', 'weight', 'family', 'size', 'lineHeight']
29
+ }, {
30
+ path: 'radius',
31
+ subpaths: []
32
+ }, {
33
+ path: 'border',
34
+ subpaths: ['radius', 'width']
32
35
  }, {
33
36
  path: 'value',
34
37
  // Legacy palette
@@ -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::279b779961a28128ed651f2f529f7e86>>
3
+ * @codegen <<SignedSource::f4b022d6e18730437f14e3f2a6430c5a>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  var tokens = [{
@@ -16,8 +16,8 @@ var tokens = [{
16
16
  "group": "shape"
17
17
  }
18
18
  },
19
- "name": "border.radius.Radius050",
20
- "path": ["border", "radius", "Radius050"]
19
+ "name": "radius.Radius02",
20
+ "path": ["radius", "Radius02"]
21
21
  }, {
22
22
  "value": "4px",
23
23
  "attributes": {
@@ -31,8 +31,23 @@ var tokens = [{
31
31
  "group": "shape"
32
32
  }
33
33
  },
34
- "name": "border.radius.Radius100",
35
- "path": ["border", "radius", "Radius100"]
34
+ "name": "radius.Radius04",
35
+ "path": ["radius", "Radius04"]
36
+ }, {
37
+ "value": "6px",
38
+ "attributes": {
39
+ "group": "shape"
40
+ },
41
+ "filePath": "schema/palettes/shape-palette.tsx",
42
+ "isSource": true,
43
+ "original": {
44
+ "value": 6,
45
+ "attributes": {
46
+ "group": "shape"
47
+ }
48
+ },
49
+ "name": "radius.Radius06",
50
+ "path": ["radius", "Radius06"]
36
51
  }, {
37
52
  "value": "8px",
38
53
  "attributes": {
@@ -46,8 +61,8 @@ var tokens = [{
46
61
  "group": "shape"
47
62
  }
48
63
  },
49
- "name": "border.radius.Radius200",
50
- "path": ["border", "radius", "Radius200"]
64
+ "name": "radius.Radius08",
65
+ "path": ["radius", "Radius08"]
51
66
  }, {
52
67
  "value": "12px",
53
68
  "attributes": {
@@ -61,8 +76,8 @@ var tokens = [{
61
76
  "group": "shape"
62
77
  }
63
78
  },
64
- "name": "border.radius.Radius300",
65
- "path": ["border", "radius", "Radius300"]
79
+ "name": "radius.Radius12",
80
+ "path": ["radius", "Radius12"]
66
81
  }, {
67
82
  "value": "16px",
68
83
  "attributes": {
@@ -76,38 +91,38 @@ var tokens = [{
76
91
  "group": "shape"
77
92
  }
78
93
  },
79
- "name": "border.radius.Radius400",
80
- "path": ["border", "radius", "Radius400"]
94
+ "name": "radius.Radius16",
95
+ "path": ["radius", "Radius16"]
81
96
  }, {
82
- "value": "32032px",
97
+ "value": "20px",
83
98
  "attributes": {
84
99
  "group": "shape"
85
100
  },
86
101
  "filePath": "schema/palettes/shape-palette.tsx",
87
102
  "isSource": true,
88
103
  "original": {
89
- "value": 32032,
104
+ "value": 20,
90
105
  "attributes": {
91
106
  "group": "shape"
92
107
  }
93
108
  },
94
- "name": "border.radius.RadiusCircle",
95
- "path": ["border", "radius", "RadiusCircle"]
109
+ "name": "radius.Radius20",
110
+ "path": ["radius", "Radius20"]
96
111
  }, {
97
- "value": "0px",
112
+ "value": "9999px",
98
113
  "attributes": {
99
114
  "group": "shape"
100
115
  },
101
116
  "filePath": "schema/palettes/shape-palette.tsx",
102
117
  "isSource": true,
103
118
  "original": {
104
- "value": 0,
119
+ "value": 9999,
105
120
  "attributes": {
106
121
  "group": "shape"
107
122
  }
108
123
  },
109
- "name": "border.width.Size0",
110
- "path": ["border", "width", "Size0"]
124
+ "name": "radius.Radius99",
125
+ "path": ["radius", "Radius99"]
111
126
  }, {
112
127
  "value": "1px",
113
128
  "attributes": {
@@ -121,8 +136,8 @@ var tokens = [{
121
136
  "group": "shape"
122
137
  }
123
138
  },
124
- "name": "border.width.Size050",
125
- "path": ["border", "width", "Size050"]
139
+ "name": "border.width.BorderWidth1",
140
+ "path": ["border", "width", "BorderWidth1"]
126
141
  }, {
127
142
  "value": "2px",
128
143
  "attributes": {
@@ -136,8 +151,23 @@ var tokens = [{
136
151
  "group": "shape"
137
152
  }
138
153
  },
139
- "name": "border.width.Size100",
140
- "path": ["border", "width", "Size100"]
154
+ "name": "border.width.BorderWidth2",
155
+ "path": ["border", "width", "BorderWidth2"]
156
+ }, {
157
+ "value": "0px",
158
+ "attributes": {
159
+ "group": "shape"
160
+ },
161
+ "filePath": "schema/palettes/shape-palette.tsx",
162
+ "isSource": true,
163
+ "original": {
164
+ "value": 0,
165
+ "attributes": {
166
+ "group": "shape"
167
+ }
168
+ },
169
+ "name": "border.width.Size0",
170
+ "path": ["border", "width", "Size0"]
141
171
  }, {
142
172
  "value": "3px",
143
173
  "attributes": {
@@ -12,12 +12,39 @@
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::32dc903e7e4405ed9f0a75811b32c2e1>>
15
+ * @codegen <<SignedSource::7ca64db3c8d60ea8d78edec946e325bc>>
16
16
  * @codegenCommand yarn build tokens
17
17
  */
18
18
 
19
19
  var replacementMapper = [{
20
+ "path": "border.radius.[default]",
21
+ "state": "deprecated"
22
+ }, {
23
+ "path": "border.radius.050",
24
+ "state": "deprecated"
25
+ }, {
26
+ "path": "border.radius.100",
27
+ "state": "deprecated"
28
+ }, {
29
+ "path": "border.radius.200",
30
+ "state": "deprecated"
31
+ }, {
32
+ "path": "border.radius.300",
33
+ "state": "deprecated"
34
+ }, {
35
+ "path": "border.radius.400",
36
+ "state": "deprecated"
37
+ }, {
38
+ "path": "border.radius.circle",
39
+ "state": "deprecated"
40
+ }, {
20
41
  "path": "border.width.0",
21
- "state": "experimental"
42
+ "state": "deprecated"
43
+ }, {
44
+ "path": "border.width.indicator",
45
+ "state": "deprecated"
46
+ }, {
47
+ "path": "border.width.outline",
48
+ "state": "deprecated"
22
49
  }];
23
50
  export default replacementMapper;
@@ -6,7 +6,7 @@
6
6
  * This allows users to compose their themes and only use the tokens that are requested.
7
7
  * When a new theme is created, the import should automatically be added to the map
8
8
  *
9
- * @codegen <<SignedSource::4131829e60733a1a5e513dcc84af81de>>
9
+ * @codegen <<SignedSource::3db020c00d91d31fe8e413b082708618>>
10
10
  * @codegenCommand yarn build tokens
11
11
  */
12
12
 
@@ -59,6 +59,14 @@ var themeImportsMap = {
59
59
  return import( /* webpackChunkName: "@atlaskit-internal_atlassian-shape" */
60
60
  './themes/atlassian-shape');
61
61
  },
62
+ 'shape-rounder': function shapeRounder() {
63
+ return import( /* webpackChunkName: "@atlaskit-internal_atlassian-shape-rounder" */
64
+ './themes/atlassian-shape-rounder');
65
+ },
66
+ 'shape-roundest': function shapeRoundest() {
67
+ return import( /* webpackChunkName: "@atlaskit-internal_atlassian-shape-roundest" */
68
+ './themes/atlassian-shape-roundest');
69
+ },
62
70
  'typography-modernized': function typographyModernized() {
63
71
  return import( /* webpackChunkName: "@atlaskit-internal_atlassian-typography-modernized" */
64
72
  './themes/atlassian-typography-modernized');
@@ -0,0 +1,6 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::b2f388559d723f17083d9711905b528f>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+ export default "\nhtml[data-theme~=\"shape:shape-rounder\"] {\n --ds-radius-xsmall: 0.125rem;\n --ds-radius-small: 0.25rem;\n --ds-radius-medium: 0.375rem;\n --ds-radius-large: 0.75rem;\n --ds-radius-xlarge: 1rem;\n --ds-radius-full: 624.9375rem;\n --ds-border-radius: 0.25rem;\n --ds-border-radius-050: 0.125rem;\n --ds-border-radius-100: 0.25rem;\n --ds-border-radius-200: 0.5rem;\n --ds-border-radius-300: 0.75rem;\n --ds-border-radius-400: 1rem;\n --ds-border-radius-circle: 624.9375rem;\n --ds-border-width: 0.0625rem;\n --ds-border-width-0: 0rem;\n --ds-border-width-indicator: 0.1875rem;\n --ds-border-width-outline: 0.125rem;\n --ds-border-width-selected: 0.125rem;\n --ds-border-width-focused: 0.125rem;\n}\n";
@@ -0,0 +1,6 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::b1574d1a9deb339d6c42eb37e069a871>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+ export default "\nhtml[data-theme~=\"shape:shape-roundest\"] {\n --ds-radius-xsmall: 0.125rem;\n --ds-radius-small: 0.25rem;\n --ds-radius-medium: 0.75rem;\n --ds-radius-large: 1rem;\n --ds-radius-xlarge: 1.25rem;\n --ds-radius-full: 624.9375rem;\n --ds-border-radius: 0.25rem;\n --ds-border-radius-050: 0.125rem;\n --ds-border-radius-100: 0.25rem;\n --ds-border-radius-200: 0.5rem;\n --ds-border-radius-300: 0.75rem;\n --ds-border-radius-400: 1rem;\n --ds-border-radius-circle: 624.9375rem;\n --ds-border-width: 0.0625rem;\n --ds-border-width-0: 0rem;\n --ds-border-width-indicator: 0.1875rem;\n --ds-border-width-outline: 0.125rem;\n --ds-border-width-selected: 0.125rem;\n --ds-border-width-focused: 0.125rem;\n}\n";
@@ -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::57c7e229053412965e492af01b042778>>
3
+ * @codegen <<SignedSource::5fd7a2193acea84566a4f17a6f50d7b2>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
- export default "\nhtml[data-theme~=\"shape:shape\"] {\n --ds-border-radius-050: 0.125rem;\n --ds-border-radius: 0.25rem;\n --ds-border-radius-100: 0.25rem;\n --ds-border-radius-200: 0.5rem;\n --ds-border-radius-300: 0.75rem;\n --ds-border-radius-400: 1rem;\n --ds-border-radius-circle: 2002rem;\n --ds-border-width: 0.0625rem;\n --ds-border-width-0: 0rem;\n --ds-border-width-indicator: 0.1875rem;\n --ds-border-width-outline: 0.125rem;\n}\n";
6
+ export default "\nhtml[data-theme~=\"shape:shape\"] {\n --ds-radius-xsmall: 0.125rem;\n --ds-radius-small: 0.25rem;\n --ds-radius-medium: 0.375rem;\n --ds-radius-large: 0.5rem;\n --ds-radius-xlarge: 0.75rem;\n --ds-radius-full: 624.9375rem;\n --ds-border-radius: 0.25rem;\n --ds-border-radius-050: 0.125rem;\n --ds-border-radius-100: 0.25rem;\n --ds-border-radius-200: 0.5rem;\n --ds-border-radius-300: 0.75rem;\n --ds-border-radius-400: 1rem;\n --ds-border-radius-circle: 624.9375rem;\n --ds-border-width: 0.0625rem;\n --ds-border-width-0: 0rem;\n --ds-border-width-indicator: 0.1875rem;\n --ds-border-width-outline: 0.125rem;\n --ds-border-width-selected: 0.125rem;\n --ds-border-width-focused: 0.125rem;\n}\n";
@@ -7,7 +7,7 @@
7
7
  * Token names mapped to their value in the default Atlassian themes ('light').
8
8
  * These default values are used by the Babel plugin to optionally provide automatic fallbacks.
9
9
  *
10
- * @codegen <<SignedSource::14617f23058b2551ba4bc304aee7628f>>
10
+ * @codegen <<SignedSource::2992e1957578e92ec58e9b373bf9b813>>
11
11
  * @codegenCommand yarn build tokens
12
12
  */
13
13
  var defaultTokenValues = {
@@ -402,17 +402,6 @@ var defaultTokenValues = {
402
402
  'utility.UNSAFE.textTransformUppercase': 'uppercase',
403
403
  'utility.UNSAFE.transparent': 'transparent',
404
404
  'utility.elevation.surface.current': '#FFFFFF',
405
- 'border.radius.050': '0.125rem',
406
- 'border.radius': '0.25rem',
407
- 'border.radius.100': '0.25rem',
408
- 'border.radius.200': '0.5rem',
409
- 'border.radius.300': '0.75rem',
410
- 'border.radius.400': '1rem',
411
- 'border.radius.circle': '2002rem',
412
- 'border.width': '0.0625rem',
413
- 'border.width.0': '0rem',
414
- 'border.width.indicator': '0.1875rem',
415
- 'border.width.outline': '0.125rem',
416
405
  'space.0': '0rem',
417
406
  'space.025': '0.125rem',
418
407
  'space.050': '0.25rem',
@@ -459,6 +448,25 @@ var defaultTokenValues = {
459
448
  'font.family.body': 'ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
460
449
  'font.family.code': 'ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace',
461
450
  'font.family.brand.heading': '"Charlie Display", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
462
- 'font.family.brand.body': '"Charlie Text", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif'
451
+ 'font.family.brand.body': '"Charlie Text", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
452
+ 'radius.xsmall': '0.125rem',
453
+ 'radius.small': '0.25rem',
454
+ 'radius.medium': '0.375rem',
455
+ 'radius.large': '0.5rem',
456
+ 'radius.xlarge': '0.75rem',
457
+ 'radius.full': '624.9375rem',
458
+ 'border.radius': '0.25rem',
459
+ 'border.radius.050': '0.125rem',
460
+ 'border.radius.100': '0.25rem',
461
+ 'border.radius.200': '0.5rem',
462
+ 'border.radius.300': '0.75rem',
463
+ 'border.radius.400': '1rem',
464
+ 'border.radius.circle': '624.9375rem',
465
+ 'border.width': '0.0625rem',
466
+ 'border.width.0': '0rem',
467
+ 'border.width.indicator': '0.1875rem',
468
+ 'border.width.outline': '0.125rem',
469
+ 'border.width.selected': '0.125rem',
470
+ 'border.width.focused': '0.125rem'
463
471
  };
464
472
  export default defaultTokenValues;
@@ -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::5e39d81369b0c277ebeac5d0b02ae5cb>>
3
+ * @codegen <<SignedSource::06d7df9fd7562fac091fccfbf1704240>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  var tokens = {
@@ -395,17 +395,6 @@ var tokens = {
395
395
  'utility.UNSAFE.textTransformUppercase': '--ds-UNSAFE-textTransformUppercase',
396
396
  'utility.UNSAFE.transparent': '--ds-UNSAFE-transparent',
397
397
  'utility.elevation.surface.current': '--ds-elevation-surface-current',
398
- 'border.radius.050': '--ds-border-radius-050',
399
- 'border.radius': '--ds-border-radius',
400
- 'border.radius.100': '--ds-border-radius-100',
401
- 'border.radius.200': '--ds-border-radius-200',
402
- 'border.radius.300': '--ds-border-radius-300',
403
- 'border.radius.400': '--ds-border-radius-400',
404
- 'border.radius.circle': '--ds-border-radius-circle',
405
- 'border.width': '--ds-border-width',
406
- 'border.width.0': '--ds-border-width-0',
407
- 'border.width.indicator': '--ds-border-width-indicator',
408
- 'border.width.outline': '--ds-border-width-outline',
409
398
  'space.0': '--ds-space-0',
410
399
  'space.025': '--ds-space-025',
411
400
  'space.050': '--ds-space-050',
@@ -452,6 +441,25 @@ var tokens = {
452
441
  'font.family.body': '--ds-font-family-body',
453
442
  'font.family.code': '--ds-font-family-code',
454
443
  'font.family.brand.heading': '--ds-font-family-brand-heading',
455
- 'font.family.brand.body': '--ds-font-family-brand-body'
444
+ 'font.family.brand.body': '--ds-font-family-brand-body',
445
+ 'radius.xsmall': '--ds-radius-xsmall',
446
+ 'radius.small': '--ds-radius-small',
447
+ 'radius.medium': '--ds-radius-medium',
448
+ 'radius.large': '--ds-radius-large',
449
+ 'radius.xlarge': '--ds-radius-xlarge',
450
+ 'radius.full': '--ds-radius-full',
451
+ 'border.radius': '--ds-border-radius',
452
+ 'border.radius.050': '--ds-border-radius-050',
453
+ 'border.radius.100': '--ds-border-radius-100',
454
+ 'border.radius.200': '--ds-border-radius-200',
455
+ 'border.radius.300': '--ds-border-radius-300',
456
+ 'border.radius.400': '--ds-border-radius-400',
457
+ 'border.radius.circle': '--ds-border-radius-circle',
458
+ 'border.width': '--ds-border-width',
459
+ 'border.width.0': '--ds-border-width-0',
460
+ 'border.width.indicator': '--ds-border-width-indicator',
461
+ 'border.width.outline': '--ds-border-width-outline',
462
+ 'border.width.selected': '--ds-border-width-selected',
463
+ 'border.width.focused': '--ds-border-width-focused'
456
464
  };
457
465
  export default tokens;