@atlaskit/tokens 6.3.1 → 6.3.3

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 (145) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/artifacts/generated-pairs.js +1 -1
  3. package/dist/cjs/artifacts/palettes-raw/legacy-palette.js +2 -1
  4. package/dist/cjs/artifacts/palettes-raw/palette-brand-refresh.js +2 -1
  5. package/dist/cjs/artifacts/palettes-raw/palette.js +2 -1
  6. package/dist/cjs/artifacts/palettes-raw/shape-palette.js +2 -1
  7. package/dist/cjs/artifacts/palettes-raw/spacing-scale.js +2 -1
  8. package/dist/cjs/artifacts/palettes-raw/typography-palette.js +2 -1
  9. package/dist/cjs/artifacts/tokens-raw/atlassian-dark-brand-refresh.js +2 -1
  10. package/dist/cjs/artifacts/tokens-raw/atlassian-dark-future.js +2 -1
  11. package/dist/cjs/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +2 -1
  12. package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +2 -1
  13. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +2 -1
  14. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +2 -1
  15. package/dist/cjs/artifacts/tokens-raw/atlassian-light-brand-refresh.js +2 -1
  16. package/dist/cjs/artifacts/tokens-raw/atlassian-light-future.js +2 -1
  17. package/dist/cjs/artifacts/tokens-raw/atlassian-light-increased-contrast.js +2 -1
  18. package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +2 -1
  19. package/dist/cjs/artifacts/tokens-raw/atlassian-shape-rounder.js +2 -1
  20. package/dist/cjs/artifacts/tokens-raw/atlassian-shape-roundest.js +2 -1
  21. package/dist/cjs/artifacts/tokens-raw/atlassian-shape.js +2 -1
  22. package/dist/cjs/artifacts/tokens-raw/atlassian-spacing.js +2 -1
  23. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +12 -11
  24. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-modernized.js +12 -11
  25. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-refreshed.js +12 -11
  26. package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +12 -11
  27. package/dist/cjs/babel-plugin/plugin.js +5 -2
  28. package/dist/cjs/entry-points/token-metadata.codegen.js +6 -6
  29. package/dist/cjs/entry-points/tokens-raw.js +9 -2
  30. package/dist/es2019/artifacts/generated-pairs.js +1 -1
  31. package/dist/es2019/artifacts/palettes-raw/legacy-palette.js +2 -1
  32. package/dist/es2019/artifacts/palettes-raw/palette-brand-refresh.js +2 -1
  33. package/dist/es2019/artifacts/palettes-raw/palette.js +2 -1
  34. package/dist/es2019/artifacts/palettes-raw/shape-palette.js +2 -1
  35. package/dist/es2019/artifacts/palettes-raw/spacing-scale.js +2 -1
  36. package/dist/es2019/artifacts/palettes-raw/typography-palette.js +2 -1
  37. package/dist/es2019/artifacts/tokens-raw/atlassian-dark-brand-refresh.js +2 -1
  38. package/dist/es2019/artifacts/tokens-raw/atlassian-dark-future.js +2 -1
  39. package/dist/es2019/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +2 -1
  40. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +2 -1
  41. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +2 -1
  42. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +2 -1
  43. package/dist/es2019/artifacts/tokens-raw/atlassian-light-brand-refresh.js +2 -1
  44. package/dist/es2019/artifacts/tokens-raw/atlassian-light-future.js +2 -1
  45. package/dist/es2019/artifacts/tokens-raw/atlassian-light-increased-contrast.js +2 -1
  46. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +2 -1
  47. package/dist/es2019/artifacts/tokens-raw/atlassian-shape-rounder.js +2 -1
  48. package/dist/es2019/artifacts/tokens-raw/atlassian-shape-roundest.js +2 -1
  49. package/dist/es2019/artifacts/tokens-raw/atlassian-shape.js +2 -1
  50. package/dist/es2019/artifacts/tokens-raw/atlassian-spacing.js +2 -1
  51. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +12 -11
  52. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-modernized.js +12 -11
  53. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-refreshed.js +12 -11
  54. package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +12 -11
  55. package/dist/es2019/babel-plugin/plugin.js +5 -2
  56. package/dist/es2019/entry-points/token-metadata.codegen.js +6 -6
  57. package/dist/es2019/entry-points/tokens-raw.js +3 -2
  58. package/dist/esm/artifacts/generated-pairs.js +1 -1
  59. package/dist/esm/artifacts/palettes-raw/legacy-palette.js +2 -1
  60. package/dist/esm/artifacts/palettes-raw/palette-brand-refresh.js +2 -1
  61. package/dist/esm/artifacts/palettes-raw/palette.js +2 -1
  62. package/dist/esm/artifacts/palettes-raw/shape-palette.js +2 -1
  63. package/dist/esm/artifacts/palettes-raw/spacing-scale.js +2 -1
  64. package/dist/esm/artifacts/palettes-raw/typography-palette.js +2 -1
  65. package/dist/esm/artifacts/tokens-raw/atlassian-dark-brand-refresh.js +2 -1
  66. package/dist/esm/artifacts/tokens-raw/atlassian-dark-future.js +2 -1
  67. package/dist/esm/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +2 -1
  68. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +2 -1
  69. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +2 -1
  70. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +2 -1
  71. package/dist/esm/artifacts/tokens-raw/atlassian-light-brand-refresh.js +2 -1
  72. package/dist/esm/artifacts/tokens-raw/atlassian-light-future.js +2 -1
  73. package/dist/esm/artifacts/tokens-raw/atlassian-light-increased-contrast.js +2 -1
  74. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +2 -1
  75. package/dist/esm/artifacts/tokens-raw/atlassian-shape-rounder.js +2 -1
  76. package/dist/esm/artifacts/tokens-raw/atlassian-shape-roundest.js +2 -1
  77. package/dist/esm/artifacts/tokens-raw/atlassian-shape.js +2 -1
  78. package/dist/esm/artifacts/tokens-raw/atlassian-spacing.js +2 -1
  79. package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +12 -11
  80. package/dist/esm/artifacts/tokens-raw/atlassian-typography-modernized.js +12 -11
  81. package/dist/esm/artifacts/tokens-raw/atlassian-typography-refreshed.js +12 -11
  82. package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +12 -11
  83. package/dist/esm/babel-plugin/plugin.js +5 -2
  84. package/dist/esm/entry-points/token-metadata.codegen.js +6 -6
  85. package/dist/esm/entry-points/tokens-raw.js +3 -2
  86. package/dist/types/artifacts/generated-pairs.d.ts +4 -9
  87. package/dist/types/artifacts/palettes-raw/legacy-palette.d.ts +14 -30
  88. package/dist/types/artifacts/palettes-raw/palette-brand-refresh.d.ts +14 -30
  89. package/dist/types/artifacts/palettes-raw/palette.d.ts +14 -30
  90. package/dist/types/artifacts/palettes-raw/shape-palette.d.ts +13 -26
  91. package/dist/types/artifacts/palettes-raw/spacing-scale.d.ts +13 -11
  92. package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +13 -26
  93. package/dist/types/artifacts/tokens-raw/atlassian-dark-brand-refresh.d.ts +36 -95
  94. package/dist/types/artifacts/tokens-raw/atlassian-dark-future.d.ts +18 -17
  95. package/dist/types/artifacts/tokens-raw/atlassian-dark-increased-contrast.d.ts +36 -119
  96. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +36 -95
  97. package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +36 -99
  98. package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +36 -75
  99. package/dist/types/artifacts/tokens-raw/atlassian-light-brand-refresh.d.ts +36 -75
  100. package/dist/types/artifacts/tokens-raw/atlassian-light-future.d.ts +18 -17
  101. package/dist/types/artifacts/tokens-raw/atlassian-light-increased-contrast.d.ts +36 -99
  102. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +36 -75
  103. package/dist/types/artifacts/tokens-raw/atlassian-shape-rounder.d.ts +18 -73
  104. package/dist/types/artifacts/tokens-raw/atlassian-shape-roundest.d.ts +18 -73
  105. package/dist/types/artifacts/tokens-raw/atlassian-shape.d.ts +18 -73
  106. package/dist/types/artifacts/tokens-raw/atlassian-spacing.d.ts +18 -43
  107. package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +25 -46
  108. package/dist/types/artifacts/tokens-raw/atlassian-typography-modernized.d.ts +25 -46
  109. package/dist/types/artifacts/tokens-raw/atlassian-typography-refreshed.d.ts +25 -46
  110. package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +25 -46
  111. package/dist/types/entry-points/token-metadata.codegen.d.ts +1 -1
  112. package/dist/types/entry-points/tokens-raw.d.ts +3 -2
  113. package/dist/types-ts4.5/artifacts/generated-pairs.d.ts +4 -9
  114. package/dist/types-ts4.5/artifacts/palettes-raw/legacy-palette.d.ts +14 -30
  115. package/dist/types-ts4.5/artifacts/palettes-raw/palette-brand-refresh.d.ts +14 -30
  116. package/dist/types-ts4.5/artifacts/palettes-raw/palette.d.ts +14 -30
  117. package/dist/types-ts4.5/artifacts/palettes-raw/shape-palette.d.ts +13 -26
  118. package/dist/types-ts4.5/artifacts/palettes-raw/spacing-scale.d.ts +13 -11
  119. package/dist/types-ts4.5/artifacts/palettes-raw/typography-palette.d.ts +13 -26
  120. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-brand-refresh.d.ts +36 -95
  121. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-future.d.ts +18 -17
  122. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-increased-contrast.d.ts +36 -119
  123. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark.d.ts +36 -95
  124. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +36 -99
  125. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-light.d.ts +36 -75
  126. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-brand-refresh.d.ts +36 -75
  127. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-future.d.ts +18 -17
  128. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-increased-contrast.d.ts +36 -99
  129. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light.d.ts +36 -75
  130. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape-rounder.d.ts +18 -73
  131. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape-roundest.d.ts +18 -73
  132. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape.d.ts +18 -73
  133. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-spacing.d.ts +18 -43
  134. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +25 -46
  135. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-modernized.d.ts +25 -46
  136. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-refreshed.d.ts +25 -46
  137. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography.d.ts +25 -46
  138. package/dist/types-ts4.5/entry-points/token-metadata.codegen.d.ts +1 -1
  139. package/dist/types-ts4.5/entry-points/tokens-raw.d.ts +3 -2
  140. package/figma/atlassian-typography-adg3.json +2 -2
  141. package/figma/atlassian-typography-modernized.json +2 -2
  142. package/figma/atlassian-typography-refreshed.json +2 -2
  143. package/figma/atlassian-typography.json +2 -2
  144. package/offerings.json +32 -0
  145. package/package.json +9 -28
@@ -1,58 +1,37 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::25358e138280ef2e45273d04317a2c5d>>
3
+ * @codegen <<SignedSource::80e21582acfe238b3aab5d8c8d1ec831>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
- declare const tokens: ({
7
- attributes: {
8
- group: string;
9
- state: string;
10
- introduced: string;
11
- description: string;
12
- };
13
- value: string;
14
- filePath: string;
15
- isSource: boolean;
16
- original: {
17
- attributes: {
18
- group: string;
19
- state: string;
20
- introduced: string;
21
- description: string;
22
- };
23
- value: string;
24
- };
25
- name: string;
26
- path: string[];
27
- cleanName: string;
28
- } | {
29
- attributes: {
30
- group: string;
31
- state: string;
32
- introduced: string;
33
- description: string;
34
- };
35
- value: string;
6
+ type TokenValue = string;
7
+ type TokenValueOriginal = string | {
8
+ fontWeight: string;
9
+ fontSize: string;
10
+ lineHeight: string;
11
+ fontFamily: string;
12
+ fontStyle: string;
13
+ letterSpacing: string;
14
+ };
15
+ type TokenAttributes = {
16
+ group: string;
17
+ state: string;
18
+ introduced: string;
19
+ description: string;
20
+ suggest?: string[];
21
+ deprecated?: string;
22
+ };
23
+ type Token = {
24
+ value: TokenValue;
36
25
  filePath: string;
37
26
  isSource: boolean;
27
+ attributes: TokenAttributes;
38
28
  original: {
39
- attributes: {
40
- group: string;
41
- state: string;
42
- introduced: string;
43
- description: string;
44
- };
45
- value: {
46
- fontWeight: string;
47
- fontSize: string;
48
- lineHeight: string;
49
- fontFamily: string;
50
- fontStyle: string;
51
- letterSpacing: string;
52
- };
29
+ value: TokenValueOriginal;
30
+ attributes: TokenAttributes;
53
31
  };
54
32
  name: string;
55
33
  path: string[];
56
34
  cleanName: string;
57
- })[];
35
+ };
36
+ declare const tokens: Token[];
58
37
  export default tokens;
@@ -1,58 +1,37 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::291e1edce99c0e4f79235fa3dfd68462>>
3
+ * @codegen <<SignedSource::d9a4e2432a4ea835e7ceac5c19e379b5>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
- declare const tokens: ({
7
- attributes: {
8
- group: string;
9
- state: string;
10
- introduced: string;
11
- description: string;
12
- };
13
- value: string;
14
- filePath: string;
15
- isSource: boolean;
16
- original: {
17
- attributes: {
18
- group: string;
19
- state: string;
20
- introduced: string;
21
- description: string;
22
- };
23
- value: string;
24
- };
25
- name: string;
26
- path: string[];
27
- cleanName: string;
28
- } | {
29
- attributes: {
30
- group: string;
31
- state: string;
32
- introduced: string;
33
- description: string;
34
- };
35
- value: string;
6
+ type TokenValue = string;
7
+ type TokenValueOriginal = string | {
8
+ fontWeight: string;
9
+ fontSize: string;
10
+ lineHeight: string;
11
+ fontFamily: string;
12
+ fontStyle: string;
13
+ letterSpacing: string;
14
+ };
15
+ type TokenAttributes = {
16
+ group: string;
17
+ state: string;
18
+ introduced: string;
19
+ description: string;
20
+ suggest?: string[];
21
+ deprecated?: string;
22
+ };
23
+ type Token = {
24
+ value: TokenValue;
36
25
  filePath: string;
37
26
  isSource: boolean;
27
+ attributes: TokenAttributes;
38
28
  original: {
39
- attributes: {
40
- group: string;
41
- state: string;
42
- introduced: string;
43
- description: string;
44
- };
45
- value: {
46
- fontWeight: string;
47
- fontSize: string;
48
- lineHeight: string;
49
- fontFamily: string;
50
- fontStyle: string;
51
- letterSpacing: string;
52
- };
29
+ value: TokenValueOriginal;
30
+ attributes: TokenAttributes;
53
31
  };
54
32
  name: string;
55
33
  path: string[];
56
34
  cleanName: string;
57
- })[];
35
+ };
36
+ declare const tokens: Token[];
58
37
  export default tokens;
@@ -1,58 +1,37 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::c3c9aca6d0ec1fc0ca5113618a6baabd>>
3
+ * @codegen <<SignedSource::03640b642efa498f3c90b99101405f9e>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
- declare const tokens: ({
7
- attributes: {
8
- group: string;
9
- state: string;
10
- introduced: string;
11
- description: string;
12
- };
13
- value: string;
14
- filePath: string;
15
- isSource: boolean;
16
- original: {
17
- attributes: {
18
- group: string;
19
- state: string;
20
- introduced: string;
21
- description: string;
22
- };
23
- value: string;
24
- };
25
- name: string;
26
- path: string[];
27
- cleanName: string;
28
- } | {
29
- attributes: {
30
- group: string;
31
- state: string;
32
- introduced: string;
33
- description: string;
34
- };
35
- value: string;
6
+ type TokenValue = string;
7
+ type TokenValueOriginal = string | {
8
+ fontWeight: string;
9
+ fontSize: string;
10
+ lineHeight: string;
11
+ fontFamily: string;
12
+ fontStyle: string;
13
+ letterSpacing: string;
14
+ };
15
+ type TokenAttributes = {
16
+ group: string;
17
+ state: string;
18
+ introduced: string;
19
+ description: string;
20
+ suggest?: string[];
21
+ deprecated?: string;
22
+ };
23
+ type Token = {
24
+ value: TokenValue;
36
25
  filePath: string;
37
26
  isSource: boolean;
27
+ attributes: TokenAttributes;
38
28
  original: {
39
- attributes: {
40
- group: string;
41
- state: string;
42
- introduced: string;
43
- description: string;
44
- };
45
- value: {
46
- fontWeight: string;
47
- fontSize: string;
48
- lineHeight: string;
49
- fontFamily: string;
50
- fontStyle: string;
51
- letterSpacing: string;
52
- };
29
+ value: TokenValueOriginal;
30
+ attributes: TokenAttributes;
53
31
  };
54
32
  name: string;
55
33
  path: string[];
56
34
  cleanName: string;
57
- })[];
35
+ };
36
+ declare const tokens: Token[];
58
37
  export default tokens;
@@ -1,58 +1,37 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::98ab89891ee24bccb839dea132325f91>>
3
+ * @codegen <<SignedSource::2d82706aaef27f4b665743cafd879972>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
- declare const tokens: ({
7
- attributes: {
8
- group: string;
9
- state: string;
10
- introduced: string;
11
- description: string;
12
- };
13
- value: string;
14
- filePath: string;
15
- isSource: boolean;
16
- original: {
17
- attributes: {
18
- group: string;
19
- state: string;
20
- introduced: string;
21
- description: string;
22
- };
23
- value: {
24
- fontWeight: string;
25
- fontSize: string;
26
- lineHeight: string;
27
- fontFamily: string;
28
- fontStyle: string;
29
- letterSpacing: string;
30
- };
31
- };
32
- name: string;
33
- path: string[];
34
- cleanName: string;
35
- } | {
36
- attributes: {
37
- group: string;
38
- state: string;
39
- introduced: string;
40
- description: string;
41
- };
42
- value: string;
6
+ type TokenValue = string;
7
+ type TokenValueOriginal = string | {
8
+ fontWeight: string;
9
+ fontSize: string;
10
+ lineHeight: string;
11
+ fontFamily: string;
12
+ fontStyle: string;
13
+ letterSpacing: string;
14
+ };
15
+ type TokenAttributes = {
16
+ group: string;
17
+ state: string;
18
+ introduced: string;
19
+ description: string;
20
+ suggest?: string[];
21
+ deprecated?: string;
22
+ };
23
+ type Token = {
24
+ value: TokenValue;
43
25
  filePath: string;
44
26
  isSource: boolean;
27
+ attributes: TokenAttributes;
45
28
  original: {
46
- attributes: {
47
- group: string;
48
- state: string;
49
- introduced: string;
50
- description: string;
51
- };
52
- value: string;
29
+ value: TokenValueOriginal;
30
+ attributes: TokenAttributes;
53
31
  };
54
32
  name: string;
55
33
  path: string[];
56
34
  cleanName: string;
57
- })[];
35
+ };
36
+ declare const tokens: Token[];
58
37
  export default tokens;
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Metadata for generation of of `@atlaskit/ads-mcp` and https://atlassian.design/llms-tokens.txt.
5
5
  *
6
- * @codegen <<SignedSource::8f8418aa1d6ba188bbe4113e52db79c6>>
6
+ * @codegen <<SignedSource::e7aee1e60142ef9336a2208ccfa3aa22>>
7
7
  * @codegenCommand yarn build tokens
8
8
  */
9
9
  export interface Token {
@@ -4,7 +4,8 @@ export { default as legacyLightTokens } from '../artifacts/tokens-raw/atlassian-
4
4
  export { default as dark } from '../artifacts/tokens-raw/atlassian-dark';
5
5
  export { default as darkBrandRefresh } from '../artifacts/tokens-raw/atlassian-dark-brand-refresh';
6
6
  export { default as spacing } from '../artifacts/tokens-raw/atlassian-spacing';
7
- export { default as typography } from '../artifacts/tokens-raw/atlassian-typography-modernized';
8
- export { default as typographyRefreshed } from '../artifacts/tokens-raw/atlassian-typography-refreshed';
7
+ export { default as typography } from '../artifacts/tokens-raw/atlassian-typography';
9
8
  export { default as typographyAdg3 } from '../artifacts/tokens-raw/atlassian-typography-adg3';
9
+ export { default as typographyModernized } from '../artifacts/tokens-raw/atlassian-typography-modernized';
10
+ export { default as typographyRefreshed } from '../artifacts/tokens-raw/atlassian-typography-refreshed';
10
11
  export { default as shape } from '../artifacts/tokens-raw/atlassian-shape';
@@ -42,7 +42,7 @@
42
42
  "group": "fontFamily",
43
43
  "state": "active",
44
44
  "introduced": "1.14.0",
45
- "description": "For our default product UI heading text."
45
+ "description": "For our default UI heading text."
46
46
  },
47
47
  "value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
48
48
  },
@@ -51,7 +51,7 @@
51
51
  "group": "fontFamily",
52
52
  "state": "active",
53
53
  "introduced": "1.14.0",
54
- "description": "For our default product UI body text."
54
+ "description": "For our default UI body text."
55
55
  },
56
56
  "value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
57
57
  },
@@ -42,7 +42,7 @@
42
42
  "group": "fontFamily",
43
43
  "state": "active",
44
44
  "introduced": "1.14.0",
45
- "description": "For our default product UI heading text."
45
+ "description": "For our default UI heading text."
46
46
  },
47
47
  "value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
48
48
  },
@@ -51,7 +51,7 @@
51
51
  "group": "fontFamily",
52
52
  "state": "active",
53
53
  "introduced": "1.14.0",
54
- "description": "For our default product UI body text."
54
+ "description": "For our default UI body text."
55
55
  },
56
56
  "value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
57
57
  },
@@ -42,7 +42,7 @@
42
42
  "group": "fontFamily",
43
43
  "state": "active",
44
44
  "introduced": "1.14.0",
45
- "description": "For our default product UI heading text."
45
+ "description": "For our default UI heading text."
46
46
  },
47
47
  "value": "\"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
48
48
  },
@@ -51,7 +51,7 @@
51
51
  "group": "fontFamily",
52
52
  "state": "active",
53
53
  "introduced": "1.14.0",
54
- "description": "For our default product UI body text."
54
+ "description": "For our default UI body text."
55
55
  },
56
56
  "value": "\"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
57
57
  },
@@ -42,7 +42,7 @@
42
42
  "group": "fontFamily",
43
43
  "state": "active",
44
44
  "introduced": "1.14.0",
45
- "description": "For our default product UI heading text."
45
+ "description": "For our default UI heading text."
46
46
  },
47
47
  "value": "\"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
48
48
  },
@@ -51,7 +51,7 @@
51
51
  "group": "fontFamily",
52
52
  "state": "active",
53
53
  "introduced": "1.14.0",
54
- "description": "For our default product UI body text."
54
+ "description": "For our default UI body text."
55
55
  },
56
56
  "value": "\"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif"
57
57
  },
package/offerings.json ADDED
@@ -0,0 +1,32 @@
1
+ [
2
+ {
3
+ "name": "token",
4
+ "package": "@atlaskit/tokens",
5
+ "import": {
6
+ "name": "token",
7
+ "package": "@atlaskit/tokens",
8
+ "type": "named"
9
+ },
10
+ "type": "function",
11
+ "keywords": ["token", "design", "system", "color", "spacing", "typography", "radius", "theme", "css", "style", "variable"],
12
+ "categories": ["tokens"],
13
+ "shortDescription": "Design tokens provide consistent, semantic values for colors, spacing, typography, and other design properties across the Atlassian Design System. Use tokens instead of hardcoded values to ensure consistency and proper theming.",
14
+ "status": "general-availability",
15
+ "accessibilityGuidelines": [
16
+ "Use color tokens to ensure proper contrast ratios",
17
+ "Test color combinations for accessibility compliance",
18
+ "Use semantic color names (success, warning, danger) for better meaning"
19
+ ],
20
+ "usageGuidelines": [
21
+ "AVOID hardcoding any CSS values where a token exists for that type; in many cases you may be forced to use a token",
22
+ "Use the `token()` function with inline styles or CSS-in-JS",
23
+ "Use semantic token names for better maintainability"
24
+ ],
25
+ "generativeInstructions": [
26
+ "./docs/ai/color-instructions.md",
27
+ "./docs/ai/spacing-instructions.md",
28
+ "./docs/ai/border-radius-instructions.md"
29
+ ],
30
+ "examples": ["./examples/ai/prototyping-no-compiled.tsx"]
31
+ }
32
+ ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "6.3.1",
3
+ "version": "6.3.3",
4
4
  "description": "Design tokens are the single source of truth to name and store design decisions.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -30,7 +30,7 @@
30
30
  "codegen-tokens": "run-ts ./scripts/style-dictionary/build.tsx && cd $(npx repo-root)/packages/design-system/primitives && yarn codegen-styles && cd $(npx repo-root)/packages/design-system/ds-explorations && yarn codegen-styles && cd $(npx repo-root)/packages/design-system/heading && yarn codegen"
31
31
  },
32
32
  "dependencies": {
33
- "@atlaskit/ds-lib": "^5.0.0",
33
+ "@atlaskit/ds-lib": "^5.1.0",
34
34
  "@atlaskit/platform-feature-flags": "^1.1.0",
35
35
  "@babel/runtime": "^7.0.0",
36
36
  "@babel/traverse": "^7.23.2",
@@ -43,27 +43,27 @@
43
43
  "devDependencies": {
44
44
  "@af/formatting": "workspace:^",
45
45
  "@af/visual-regression": "workspace:^",
46
- "@atlaskit/avatar": "^25.1.0",
46
+ "@atlaskit/avatar": "^25.2.0",
47
47
  "@atlaskit/button": "^23.4.0",
48
48
  "@atlaskit/calendar": "^17.1.0",
49
49
  "@atlaskit/checkbox": "^17.1.0",
50
50
  "@atlaskit/code": "^17.2.0",
51
51
  "@atlaskit/css": "^0.14.0",
52
- "@atlaskit/docs": "^11.0.0",
52
+ "@atlaskit/docs": "^11.1.0",
53
53
  "@atlaskit/dropdown-menu": "^16.3.0",
54
54
  "@atlaskit/dynamic-table": "^18.2.0",
55
- "@atlaskit/form": "^12.5.0",
55
+ "@atlaskit/form": "^14.1.0",
56
56
  "@atlaskit/grid": "^0.18.0",
57
57
  "@atlaskit/heading": "^5.2.0",
58
- "@atlaskit/icon": "^28.1.0",
58
+ "@atlaskit/icon": "^28.3.0",
59
59
  "@atlaskit/inline-message": "^15.3.0",
60
60
  "@atlaskit/link": "^3.2.0",
61
61
  "@atlaskit/lozenge": "^13.0.0",
62
- "@atlaskit/popup": "^4.3.0",
63
- "@atlaskit/primitives": "^14.14.0",
62
+ "@atlaskit/popup": "^4.4.0",
63
+ "@atlaskit/primitives": "^14.15.0",
64
64
  "@atlaskit/radio": "^8.3.0",
65
65
  "@atlaskit/section-message": "^8.7.0",
66
- "@atlaskit/select": "^21.2.0",
66
+ "@atlaskit/select": "^21.3.0",
67
67
  "@atlaskit/tag": "^14.1.0",
68
68
  "@atlaskit/textarea": "^8.0.0",
69
69
  "@atlaskit/textfield": "^8.0.0",
@@ -118,22 +118,6 @@
118
118
  ]
119
119
  }
120
120
  },
121
- "af:exports": {
122
- ".": "./src/index.tsx",
123
- "./custom-themes": "./src/entry-points/custom-themes.tsx",
124
- "./figma/atlassian-light.json": "./figma/atlassian-light.json",
125
- "./figma/atlassian-dark.json": "./figma/atlassian-dark.json",
126
- "./palettes-raw": "./src/entry-points/palettes-raw.tsx",
127
- "./tokens-raw": "./src/entry-points/tokens-raw.tsx",
128
- "./token-ids": "./src/entry-points/token-ids.tsx",
129
- "./token-names": "./src/entry-points/token-names.tsx",
130
- "./token-metadata": "./src/entry-points/token-metadata.codegen.tsx",
131
- "./token-order": "./src/entry-points/token-order.tsx",
132
- "./token-default-values": "./src/entry-points/token-default-values.tsx",
133
- "./rename-mapping": "./src/entry-points/rename-mapping.tsx",
134
- "./babel-plugin": "./src/entry-points/babel-plugin.tsx",
135
- "./css-type-schema": "./src/entry-points/css-type-schema.codegen.tsx"
136
- },
137
121
  "platform-feature-flags": {
138
122
  "platform_increased-contrast-themes": {
139
123
  "type": "boolean"
@@ -141,9 +125,6 @@
141
125
  "platform-component-visual-refresh": {
142
126
  "type": "boolean"
143
127
  },
144
- "platform-default-typography-refreshed": {
145
- "type": "boolean"
146
- },
147
128
  "platform-disable-default-typography": {
148
129
  "type": "boolean"
149
130
  },