@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
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @atlaskit/tokens
2
2
 
3
+ ## 6.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`fcd8f46058cd2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fcd8f46058cd2) -
8
+ Added new radius and border width tokens. Added new shape themes: `shape-rounder` and
9
+ `shape-roundest`. Note these new themes are experimental and may be deleted without notice.
10
+ Deprecated old border radius and border width tokens.
11
+
12
+ ## 6.0.0
13
+
14
+ ### Major Changes
15
+
16
+ - [#195371](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/195371)
17
+ [`44ae158e84619`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/44ae158e84619) -
18
+ [ux] Refreshed typography theme enabled by default.
19
+
3
20
  ## 5.6.3
4
21
 
5
22
  ### Patch Changes
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/entry-points/babel-plugin.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/entry-points/babel-plugin.d.ts"
14
14
  ]
@@ -85,6 +85,7 @@ function getColorFromIdentifier(expression: any) {
85
85
  function getTokenFromNode(j: JSCodeshift, path: any, value: string, propertyName: string): string {
86
86
  const valueMeta = cleanMeta(legacyColorMetaMap[value!] || []);
87
87
  const ancestorMeta = cleanMeta(
88
+ // @ts-ignore - TS2872 TypeScript 5.9.2 upgrade
88
89
  [...getMetaFromAncestors(j, path), ...kebabize(propertyName).split('-')] || [],
89
90
  );
90
91
 
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/entry-points/css-type-schema.codegen.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/entry-points/css-type-schema.codegen.d.ts"
14
14
  ]
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/entry-points/custom-themes.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/entry-points/custom-themes.d.ts"
14
14
  ]
@@ -6,7 +6,7 @@ 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::279b779961a28128ed651f2f529f7e86>>
9
+ * @codegen <<SignedSource::f4b022d6e18730437f14e3f2a6430c5a>>
10
10
  * @codegenCommand yarn build tokens
11
11
  */
12
12
  var tokens = [{
@@ -22,8 +22,8 @@ var tokens = [{
22
22
  "group": "shape"
23
23
  }
24
24
  },
25
- "name": "border.radius.Radius050",
26
- "path": ["border", "radius", "Radius050"]
25
+ "name": "radius.Radius02",
26
+ "path": ["radius", "Radius02"]
27
27
  }, {
28
28
  "value": "4px",
29
29
  "attributes": {
@@ -37,8 +37,23 @@ var tokens = [{
37
37
  "group": "shape"
38
38
  }
39
39
  },
40
- "name": "border.radius.Radius100",
41
- "path": ["border", "radius", "Radius100"]
40
+ "name": "radius.Radius04",
41
+ "path": ["radius", "Radius04"]
42
+ }, {
43
+ "value": "6px",
44
+ "attributes": {
45
+ "group": "shape"
46
+ },
47
+ "filePath": "schema/palettes/shape-palette.tsx",
48
+ "isSource": true,
49
+ "original": {
50
+ "value": 6,
51
+ "attributes": {
52
+ "group": "shape"
53
+ }
54
+ },
55
+ "name": "radius.Radius06",
56
+ "path": ["radius", "Radius06"]
42
57
  }, {
43
58
  "value": "8px",
44
59
  "attributes": {
@@ -52,8 +67,8 @@ var tokens = [{
52
67
  "group": "shape"
53
68
  }
54
69
  },
55
- "name": "border.radius.Radius200",
56
- "path": ["border", "radius", "Radius200"]
70
+ "name": "radius.Radius08",
71
+ "path": ["radius", "Radius08"]
57
72
  }, {
58
73
  "value": "12px",
59
74
  "attributes": {
@@ -67,8 +82,8 @@ var tokens = [{
67
82
  "group": "shape"
68
83
  }
69
84
  },
70
- "name": "border.radius.Radius300",
71
- "path": ["border", "radius", "Radius300"]
85
+ "name": "radius.Radius12",
86
+ "path": ["radius", "Radius12"]
72
87
  }, {
73
88
  "value": "16px",
74
89
  "attributes": {
@@ -82,38 +97,38 @@ var tokens = [{
82
97
  "group": "shape"
83
98
  }
84
99
  },
85
- "name": "border.radius.Radius400",
86
- "path": ["border", "radius", "Radius400"]
100
+ "name": "radius.Radius16",
101
+ "path": ["radius", "Radius16"]
87
102
  }, {
88
- "value": "32032px",
103
+ "value": "20px",
89
104
  "attributes": {
90
105
  "group": "shape"
91
106
  },
92
107
  "filePath": "schema/palettes/shape-palette.tsx",
93
108
  "isSource": true,
94
109
  "original": {
95
- "value": 32032,
110
+ "value": 20,
96
111
  "attributes": {
97
112
  "group": "shape"
98
113
  }
99
114
  },
100
- "name": "border.radius.RadiusCircle",
101
- "path": ["border", "radius", "RadiusCircle"]
115
+ "name": "radius.Radius20",
116
+ "path": ["radius", "Radius20"]
102
117
  }, {
103
- "value": "0px",
118
+ "value": "9999px",
104
119
  "attributes": {
105
120
  "group": "shape"
106
121
  },
107
122
  "filePath": "schema/palettes/shape-palette.tsx",
108
123
  "isSource": true,
109
124
  "original": {
110
- "value": 0,
125
+ "value": 9999,
111
126
  "attributes": {
112
127
  "group": "shape"
113
128
  }
114
129
  },
115
- "name": "border.width.Size0",
116
- "path": ["border", "width", "Size0"]
130
+ "name": "radius.Radius99",
131
+ "path": ["radius", "Radius99"]
117
132
  }, {
118
133
  "value": "1px",
119
134
  "attributes": {
@@ -127,8 +142,8 @@ var tokens = [{
127
142
  "group": "shape"
128
143
  }
129
144
  },
130
- "name": "border.width.Size050",
131
- "path": ["border", "width", "Size050"]
145
+ "name": "border.width.BorderWidth1",
146
+ "path": ["border", "width", "BorderWidth1"]
132
147
  }, {
133
148
  "value": "2px",
134
149
  "attributes": {
@@ -142,8 +157,23 @@ var tokens = [{
142
157
  "group": "shape"
143
158
  }
144
159
  },
145
- "name": "border.width.Size100",
146
- "path": ["border", "width", "Size100"]
160
+ "name": "border.width.BorderWidth2",
161
+ "path": ["border", "width", "BorderWidth2"]
162
+ }, {
163
+ "value": "0px",
164
+ "attributes": {
165
+ "group": "shape"
166
+ },
167
+ "filePath": "schema/palettes/shape-palette.tsx",
168
+ "isSource": true,
169
+ "original": {
170
+ "value": 0,
171
+ "attributes": {
172
+ "group": "shape"
173
+ }
174
+ },
175
+ "name": "border.width.Size0",
176
+ "path": ["border", "width", "Size0"]
147
177
  }, {
148
178
  "value": "3px",
149
179
  "attributes": {
@@ -18,12 +18,39 @@ exports.default = void 0;
18
18
  * These changes will then be picked up by our tooling which will attempt to
19
19
  * migrate as many of these renames as possible.
20
20
  *
21
- * @codegen <<SignedSource::32dc903e7e4405ed9f0a75811b32c2e1>>
21
+ * @codegen <<SignedSource::7ca64db3c8d60ea8d78edec946e325bc>>
22
22
  * @codegenCommand yarn build tokens
23
23
  */
24
24
 
25
25
  var replacementMapper = [{
26
+ "path": "border.radius.[default]",
27
+ "state": "deprecated"
28
+ }, {
29
+ "path": "border.radius.050",
30
+ "state": "deprecated"
31
+ }, {
32
+ "path": "border.radius.100",
33
+ "state": "deprecated"
34
+ }, {
35
+ "path": "border.radius.200",
36
+ "state": "deprecated"
37
+ }, {
38
+ "path": "border.radius.300",
39
+ "state": "deprecated"
40
+ }, {
41
+ "path": "border.radius.400",
42
+ "state": "deprecated"
43
+ }, {
44
+ "path": "border.radius.circle",
45
+ "state": "deprecated"
46
+ }, {
26
47
  "path": "border.width.0",
27
- "state": "experimental"
48
+ "state": "deprecated"
49
+ }, {
50
+ "path": "border.width.indicator",
51
+ "state": "deprecated"
52
+ }, {
53
+ "path": "border.width.outline",
54
+ "state": "deprecated"
28
55
  }];
29
56
  var _default = exports.default = replacementMapper;
@@ -15,7 +15,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
15
15
  * This allows users to compose their themes and only use the tokens that are requested.
16
16
  * When a new theme is created, the import should automatically be added to the map
17
17
  *
18
- * @codegen <<SignedSource::4131829e60733a1a5e513dcc84af81de>>
18
+ * @codegen <<SignedSource::3db020c00d91d31fe8e413b082708618>>
19
19
  * @codegenCommand yarn build tokens
20
20
  */
21
21
 
@@ -92,6 +92,18 @@ var themeImportsMap = {
92
92
  './themes/atlassian-shape'));
93
93
  });
94
94
  },
95
+ 'shape-rounder': function shapeRounder() {
96
+ return Promise.resolve().then(function () {
97
+ return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_atlassian-shape-rounder" */
98
+ './themes/atlassian-shape-rounder'));
99
+ });
100
+ },
101
+ 'shape-roundest': function shapeRoundest() {
102
+ return Promise.resolve().then(function () {
103
+ return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_atlassian-shape-roundest" */
104
+ './themes/atlassian-shape-roundest'));
105
+ });
106
+ },
95
107
  'typography-modernized': function typographyModernized() {
96
108
  return Promise.resolve().then(function () {
97
109
  return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_atlassian-typography-modernized" */
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ /**
8
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
9
+ * @codegen <<SignedSource::b2f388559d723f17083d9711905b528f>>
10
+ * @codegenCommand yarn build tokens
11
+ */
12
+ var _default = exports.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,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ /**
8
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
9
+ * @codegen <<SignedSource::b1574d1a9deb339d6c42eb37e069a871>>
10
+ * @codegenCommand yarn build tokens
11
+ */
12
+ var _default = exports.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";
@@ -6,7 +6,7 @@ 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::57c7e229053412965e492af01b042778>>
9
+ * @codegen <<SignedSource::5fd7a2193acea84566a4f17a6f50d7b2>>
10
10
  * @codegenCommand yarn build tokens
11
11
  */
12
- var _default = exports.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";
12
+ var _default = exports.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";
@@ -13,7 +13,7 @@ exports.default = void 0;
13
13
  * Token names mapped to their value in the default Atlassian themes ('light').
14
14
  * These default values are used by the Babel plugin to optionally provide automatic fallbacks.
15
15
  *
16
- * @codegen <<SignedSource::14617f23058b2551ba4bc304aee7628f>>
16
+ * @codegen <<SignedSource::2992e1957578e92ec58e9b373bf9b813>>
17
17
  * @codegenCommand yarn build tokens
18
18
  */
19
19
  var defaultTokenValues = {
@@ -408,17 +408,6 @@ var defaultTokenValues = {
408
408
  'utility.UNSAFE.textTransformUppercase': 'uppercase',
409
409
  'utility.UNSAFE.transparent': 'transparent',
410
410
  'utility.elevation.surface.current': '#FFFFFF',
411
- 'border.radius.050': '0.125rem',
412
- 'border.radius': '0.25rem',
413
- 'border.radius.100': '0.25rem',
414
- 'border.radius.200': '0.5rem',
415
- 'border.radius.300': '0.75rem',
416
- 'border.radius.400': '1rem',
417
- 'border.radius.circle': '2002rem',
418
- 'border.width': '0.0625rem',
419
- 'border.width.0': '0rem',
420
- 'border.width.indicator': '0.1875rem',
421
- 'border.width.outline': '0.125rem',
422
411
  'space.0': '0rem',
423
412
  'space.025': '0.125rem',
424
413
  'space.050': '0.25rem',
@@ -465,6 +454,25 @@ var defaultTokenValues = {
465
454
  'font.family.body': 'ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
466
455
  'font.family.code': 'ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace',
467
456
  'font.family.brand.heading': '"Charlie Display", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
468
- 'font.family.brand.body': '"Charlie Text", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif'
457
+ 'font.family.brand.body': '"Charlie Text", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
458
+ 'radius.xsmall': '0.125rem',
459
+ 'radius.small': '0.25rem',
460
+ 'radius.medium': '0.375rem',
461
+ 'radius.large': '0.5rem',
462
+ 'radius.xlarge': '0.75rem',
463
+ 'radius.full': '624.9375rem',
464
+ 'border.radius': '0.25rem',
465
+ 'border.radius.050': '0.125rem',
466
+ 'border.radius.100': '0.25rem',
467
+ 'border.radius.200': '0.5rem',
468
+ 'border.radius.300': '0.75rem',
469
+ 'border.radius.400': '1rem',
470
+ 'border.radius.circle': '624.9375rem',
471
+ 'border.width': '0.0625rem',
472
+ 'border.width.0': '0rem',
473
+ 'border.width.indicator': '0.1875rem',
474
+ 'border.width.outline': '0.125rem',
475
+ 'border.width.selected': '0.125rem',
476
+ 'border.width.focused': '0.125rem'
469
477
  };
470
478
  var _default = exports.default = defaultTokenValues;
@@ -6,7 +6,7 @@ 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::5e39d81369b0c277ebeac5d0b02ae5cb>>
9
+ * @codegen <<SignedSource::06d7df9fd7562fac091fccfbf1704240>>
10
10
  * @codegenCommand yarn build tokens
11
11
  */
12
12
  var tokens = {
@@ -401,17 +401,6 @@ var tokens = {
401
401
  'utility.UNSAFE.textTransformUppercase': '--ds-UNSAFE-textTransformUppercase',
402
402
  'utility.UNSAFE.transparent': '--ds-UNSAFE-transparent',
403
403
  'utility.elevation.surface.current': '--ds-elevation-surface-current',
404
- 'border.radius.050': '--ds-border-radius-050',
405
- 'border.radius': '--ds-border-radius',
406
- 'border.radius.100': '--ds-border-radius-100',
407
- 'border.radius.200': '--ds-border-radius-200',
408
- 'border.radius.300': '--ds-border-radius-300',
409
- 'border.radius.400': '--ds-border-radius-400',
410
- 'border.radius.circle': '--ds-border-radius-circle',
411
- 'border.width': '--ds-border-width',
412
- 'border.width.0': '--ds-border-width-0',
413
- 'border.width.indicator': '--ds-border-width-indicator',
414
- 'border.width.outline': '--ds-border-width-outline',
415
404
  'space.0': '--ds-space-0',
416
405
  'space.025': '--ds-space-025',
417
406
  'space.050': '--ds-space-050',
@@ -458,6 +447,25 @@ var tokens = {
458
447
  'font.family.body': '--ds-font-family-body',
459
448
  'font.family.code': '--ds-font-family-code',
460
449
  'font.family.brand.heading': '--ds-font-family-brand-heading',
461
- 'font.family.brand.body': '--ds-font-family-brand-body'
450
+ 'font.family.brand.body': '--ds-font-family-brand-body',
451
+ 'radius.xsmall': '--ds-radius-xsmall',
452
+ 'radius.small': '--ds-radius-small',
453
+ 'radius.medium': '--ds-radius-medium',
454
+ 'radius.large': '--ds-radius-large',
455
+ 'radius.xlarge': '--ds-radius-xlarge',
456
+ 'radius.full': '--ds-radius-full',
457
+ 'border.radius': '--ds-border-radius',
458
+ 'border.radius.050': '--ds-border-radius-050',
459
+ 'border.radius.100': '--ds-border-radius-100',
460
+ 'border.radius.200': '--ds-border-radius-200',
461
+ 'border.radius.300': '--ds-border-radius-300',
462
+ 'border.radius.400': '--ds-border-radius-400',
463
+ 'border.radius.circle': '--ds-border-radius-circle',
464
+ 'border.width': '--ds-border-width',
465
+ 'border.width.0': '--ds-border-width-0',
466
+ 'border.width.indicator': '--ds-border-width-indicator',
467
+ 'border.width.outline': '--ds-border-width-outline',
468
+ 'border.width.selected': '--ds-border-width-selected',
469
+ 'border.width.focused': '--ds-border-width-focused'
462
470
  };
463
471
  var _default = exports.default = tokens;