@atlaskit/tokens 1.14.1 → 1.15.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 (159) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/artifacts/atlassian-dark-token-value-for-contrast-check.js +2 -2
  3. package/dist/cjs/artifacts/atlassian-light-token-value-for-contrast-check.js +2 -2
  4. package/dist/cjs/artifacts/palettes-raw/typography-palette.js +277 -37
  5. package/dist/cjs/artifacts/theme-import-map.js +10 -4
  6. package/dist/cjs/artifacts/themes/atlassian-typography-adg3.js +13 -0
  7. package/dist/cjs/artifacts/themes/atlassian-typography.js +2 -2
  8. package/dist/cjs/artifacts/token-default-values.js +26 -2
  9. package/dist/cjs/artifacts/token-names.js +22 -1
  10. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +1084 -0
  11. package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +465 -253
  12. package/dist/cjs/babel-plugin/plugin.js +34 -3
  13. package/dist/cjs/constants.js +1 -3
  14. package/dist/cjs/entry-points/tokens-raw.js +2 -2
  15. package/dist/cjs/get-token-value.js +1 -1
  16. package/dist/cjs/get-token.js +1 -1
  17. package/dist/cjs/palettes/typography-palette.js +121 -16
  18. package/dist/cjs/theme-config.js +12 -4
  19. package/dist/cjs/tokens/atlassian-typography/font-family.js +11 -2
  20. package/dist/cjs/tokens/atlassian-typography/theme.js +140 -0
  21. package/dist/cjs/tokens/atlassian-typography/utils.js +29 -0
  22. package/dist/cjs/tokens/atlassian-typography-adg3/font-family.js +29 -0
  23. package/dist/cjs/tokens/{atlassian-typography → atlassian-typography-adg3}/font-size.js +8 -8
  24. package/dist/cjs/tokens/{atlassian-typography → atlassian-typography-adg3}/font-weight.js +4 -4
  25. package/dist/cjs/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.js +3 -0
  26. package/dist/cjs/tokens/atlassian-typography-adg3/theme.js +140 -0
  27. package/dist/cjs/tokens/atlassian-typography-adg3/utils.js +29 -0
  28. package/dist/cjs/tokens/default/typography/font-family.js +24 -0
  29. package/dist/cjs/tokens/default/typography/font.js +133 -0
  30. package/dist/cjs/tokens/default/typography/letter-spacing.js +54 -0
  31. package/dist/cjs/tokens/default/typography/line-height.js +8 -0
  32. package/dist/es2019/artifacts/atlassian-dark-token-value-for-contrast-check.js +2 -2
  33. package/dist/es2019/artifacts/atlassian-light-token-value-for-contrast-check.js +2 -2
  34. package/dist/es2019/artifacts/palettes-raw/typography-palette.js +277 -37
  35. package/dist/es2019/artifacts/theme-import-map.js +6 -4
  36. package/dist/es2019/artifacts/themes/atlassian-typography-adg3.js +50 -0
  37. package/dist/es2019/artifacts/themes/atlassian-typography.js +23 -21
  38. package/dist/es2019/artifacts/token-default-values.js +26 -2
  39. package/dist/es2019/artifacts/token-names.js +22 -1
  40. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +1077 -0
  41. package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +465 -253
  42. package/dist/es2019/babel-plugin/plugin.js +34 -4
  43. package/dist/es2019/constants.js +0 -1
  44. package/dist/es2019/entry-points/tokens-raw.js +1 -1
  45. package/dist/es2019/get-token-value.js +1 -1
  46. package/dist/es2019/get-token.js +1 -1
  47. package/dist/es2019/palettes/typography-palette.js +123 -17
  48. package/dist/es2019/theme-config.js +12 -4
  49. package/dist/es2019/tokens/atlassian-typography/font-family.js +11 -2
  50. package/dist/es2019/tokens/atlassian-typography/theme.js +133 -0
  51. package/dist/es2019/tokens/atlassian-typography/utils.js +22 -0
  52. package/dist/es2019/tokens/atlassian-typography-adg3/font-family.js +22 -0
  53. package/dist/es2019/tokens/atlassian-typography-adg3/font-size.js +31 -0
  54. package/dist/es2019/tokens/atlassian-typography-adg3/font-weight.js +19 -0
  55. package/dist/es2019/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.js +3 -0
  56. package/dist/es2019/tokens/atlassian-typography-adg3/theme.js +133 -0
  57. package/dist/es2019/tokens/atlassian-typography-adg3/utils.js +22 -0
  58. package/dist/es2019/tokens/default/typography/font-family.js +24 -0
  59. package/dist/es2019/tokens/default/typography/font.js +126 -0
  60. package/dist/es2019/tokens/default/typography/letter-spacing.js +47 -0
  61. package/dist/es2019/tokens/default/typography/line-height.js +8 -0
  62. package/dist/esm/artifacts/atlassian-dark-token-value-for-contrast-check.js +2 -2
  63. package/dist/esm/artifacts/atlassian-light-token-value-for-contrast-check.js +2 -2
  64. package/dist/esm/artifacts/palettes-raw/typography-palette.js +277 -37
  65. package/dist/esm/artifacts/theme-import-map.js +8 -4
  66. package/dist/esm/artifacts/themes/atlassian-typography-adg3.js +6 -0
  67. package/dist/esm/artifacts/themes/atlassian-typography.js +2 -2
  68. package/dist/esm/artifacts/token-default-values.js +26 -2
  69. package/dist/esm/artifacts/token-names.js +22 -1
  70. package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +1077 -0
  71. package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +465 -253
  72. package/dist/esm/babel-plugin/plugin.js +34 -3
  73. package/dist/esm/constants.js +0 -1
  74. package/dist/esm/entry-points/tokens-raw.js +1 -1
  75. package/dist/esm/get-token-value.js +1 -1
  76. package/dist/esm/get-token.js +1 -1
  77. package/dist/esm/palettes/typography-palette.js +121 -16
  78. package/dist/esm/theme-config.js +12 -4
  79. package/dist/esm/tokens/atlassian-typography/font-family.js +11 -2
  80. package/dist/esm/tokens/atlassian-typography/theme.js +133 -0
  81. package/dist/esm/tokens/atlassian-typography/utils.js +22 -0
  82. package/dist/esm/tokens/atlassian-typography-adg3/font-family.js +22 -0
  83. package/dist/esm/tokens/atlassian-typography-adg3/font-size.js +31 -0
  84. package/dist/esm/tokens/atlassian-typography-adg3/font-weight.js +19 -0
  85. package/dist/esm/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.js +3 -0
  86. package/dist/esm/tokens/atlassian-typography-adg3/theme.js +133 -0
  87. package/dist/esm/tokens/atlassian-typography-adg3/utils.js +22 -0
  88. package/dist/esm/tokens/default/typography/font-family.js +24 -0
  89. package/dist/esm/tokens/default/typography/font.js +126 -0
  90. package/dist/esm/tokens/default/typography/letter-spacing.js +47 -0
  91. package/dist/esm/tokens/default/typography/line-height.js +8 -0
  92. package/dist/types/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +2 -2
  93. package/dist/types/artifacts/atlassian-light-token-value-for-contrast-check.d.ts +2 -2
  94. package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +1 -1
  95. package/dist/types/artifacts/theme-import-map.d.ts +1 -1
  96. package/dist/types/artifacts/themes/atlassian-typography-adg3.d.ts +7 -0
  97. package/dist/types/artifacts/themes/atlassian-typography.d.ts +2 -2
  98. package/dist/types/artifacts/token-default-values.d.ts +26 -2
  99. package/dist/types/artifacts/token-names.d.ts +43 -1
  100. package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +101 -0
  101. package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +111 -3
  102. package/dist/types/artifacts/types-internal.d.ts +2 -2
  103. package/dist/types/artifacts/types.d.ts +2 -2
  104. package/dist/types/babel-plugin/plugin.d.ts +3 -0
  105. package/dist/types/constants.d.ts +0 -1
  106. package/dist/types/entry-points/tokens-raw.d.ts +1 -1
  107. package/dist/types/palettes/typography-palette.d.ts +8 -6
  108. package/dist/types/theme-config.d.ts +4 -4
  109. package/dist/types/tokens/atlassian-typography/theme.d.ts +10 -0
  110. package/dist/types/tokens/atlassian-typography/utils.d.ts +4 -0
  111. package/dist/types/tokens/atlassian-typography-adg3/font-family.d.ts +4 -0
  112. package/dist/types/tokens/atlassian-typography-adg3/theme.d.ts +10 -0
  113. package/dist/types/tokens/atlassian-typography-adg3/utils.d.ts +4 -0
  114. package/dist/types/tokens/default/typography/font.d.ts +20 -0
  115. package/dist/types/tokens/default/typography/letter-spacing.d.ts +4 -0
  116. package/dist/types/types.d.ts +111 -22
  117. package/dist/types-ts4.5/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +2 -2
  118. package/dist/types-ts4.5/artifacts/atlassian-light-token-value-for-contrast-check.d.ts +2 -2
  119. package/dist/types-ts4.5/artifacts/palettes-raw/typography-palette.d.ts +1 -1
  120. package/dist/types-ts4.5/artifacts/theme-import-map.d.ts +1 -1
  121. package/dist/types-ts4.5/artifacts/themes/atlassian-typography-adg3.d.ts +7 -0
  122. package/dist/types-ts4.5/artifacts/themes/atlassian-typography.d.ts +2 -2
  123. package/dist/types-ts4.5/artifacts/token-default-values.d.ts +26 -2
  124. package/dist/types-ts4.5/artifacts/token-names.d.ts +43 -1
  125. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +101 -0
  126. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography.d.ts +111 -3
  127. package/dist/types-ts4.5/artifacts/types-internal.d.ts +2 -2
  128. package/dist/types-ts4.5/artifacts/types.d.ts +2 -2
  129. package/dist/types-ts4.5/babel-plugin/plugin.d.ts +3 -0
  130. package/dist/types-ts4.5/constants.d.ts +0 -1
  131. package/dist/types-ts4.5/entry-points/tokens-raw.d.ts +1 -1
  132. package/dist/types-ts4.5/palettes/typography-palette.d.ts +8 -6
  133. package/dist/types-ts4.5/theme-config.d.ts +5 -3
  134. package/dist/types-ts4.5/tokens/atlassian-typography/theme.d.ts +10 -0
  135. package/dist/types-ts4.5/tokens/atlassian-typography/utils.d.ts +4 -0
  136. package/dist/types-ts4.5/tokens/atlassian-typography-adg3/font-family.d.ts +4 -0
  137. package/dist/types-ts4.5/tokens/atlassian-typography-adg3/theme.d.ts +10 -0
  138. package/dist/types-ts4.5/tokens/atlassian-typography-adg3/utils.d.ts +4 -0
  139. package/dist/types-ts4.5/tokens/default/typography/font.d.ts +20 -0
  140. package/dist/types-ts4.5/tokens/default/typography/letter-spacing.d.ts +4 -0
  141. package/dist/types-ts4.5/types.d.ts +111 -22
  142. package/figma/atlassian-typography-adg3.json +150 -0
  143. package/figma/atlassian-typography.json +19 -82
  144. package/package.json +1 -1
  145. package/report.api.md +60 -2
  146. package/tmp/api-report-tmp.d.ts +49 -7
  147. package/dist/cjs/version.json +0 -7
  148. package/dist/es2019/tokens/atlassian-typography/font-size.js +0 -31
  149. package/dist/es2019/tokens/atlassian-typography/font-weight.js +0 -19
  150. package/dist/es2019/version.json +0 -7
  151. package/dist/esm/tokens/atlassian-typography/font-size.js +0 -31
  152. package/dist/esm/tokens/atlassian-typography/font-weight.js +0 -19
  153. package/dist/esm/version.json +0 -7
  154. /package/dist/types/tokens/{atlassian-typography → atlassian-typography-adg3}/font-size.d.ts +0 -0
  155. /package/dist/types/tokens/{atlassian-typography → atlassian-typography-adg3}/font-weight.d.ts +0 -0
  156. /package/dist/types/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.d.ts +0 -0
  157. /package/dist/types-ts4.5/tokens/{atlassian-typography → atlassian-typography-adg3}/font-size.d.ts +0 -0
  158. /package/dist/types-ts4.5/tokens/{atlassian-typography → atlassian-typography-adg3}/font-weight.d.ts +0 -0
  159. /package/dist/types-ts4.5/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.d.ts +0 -0
@@ -1,447 +1,659 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::7bcab6ad73069f6baf12316783222835>>
3
+ * @codegen <<SignedSource::bae3fa2256b534cd5a8fad9a180e3fa8>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  const tokens = [{
7
7
  "attributes": {
8
- "group": "fontFamily",
9
- "state": "active",
10
- "introduced": "0.10.33",
11
- "description": "Helpful guidance goes here"
12
- },
13
- "value": "\"SFMono-Medium\", \"SF Mono\", \"Segoe UI Mono\", \"Roboto Mono\", \"Ubuntu Mono\", Menlo, Consolas, Courier, monospace",
14
- "filePath": "src/tokens/atlassian-typography/font-family.tsx",
8
+ "group": "typography",
9
+ "state": "experimental",
10
+ "introduced": "1.14.0",
11
+ "description": "The default body font."
12
+ },
13
+ "value": {
14
+ "fontSize": 14,
15
+ "fontStyle": "normal",
16
+ "fontWeight": "400",
17
+ "lineHeight": 20,
18
+ "fontFamily": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
19
+ "letterSpacing": "0"
20
+ },
21
+ "filePath": "src/tokens/atlassian-typography/theme.tsx",
15
22
  "isSource": true,
16
23
  "original": {
17
24
  "attributes": {
18
- "group": "fontFamily",
19
- "state": "active",
20
- "introduced": "0.10.33",
21
- "description": "Helpful guidance goes here"
25
+ "group": "typography",
26
+ "state": "experimental",
27
+ "introduced": "1.14.0",
28
+ "description": "The default body font."
22
29
  },
23
- "value": "FontFamilyMonospace"
24
- },
25
- "name": "font.family.monospace",
26
- "path": ["font", "family", "monospace"],
27
- "cleanName": "font.family.monospace"
30
+ "value": {
31
+ "fontWeight": "FontWeight400",
32
+ "fontSize": "FontSize14",
33
+ "lineHeight": "LineHeight200",
34
+ "fontFamily": "FontFamilyWebSans",
35
+ "fontStyle": "normal",
36
+ "letterSpacing": "LetterSpacing0"
37
+ }
38
+ },
39
+ "name": "font.body.[default]",
40
+ "path": ["font", "body", "[default]"],
41
+ "cleanName": "font.body"
28
42
  }, {
29
43
  "attributes": {
30
- "group": "fontFamily",
31
- "state": "active",
32
- "introduced": "0.10.33",
33
- "description": "Helpful guidance goes here"
34
- },
35
- "value": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif",
36
- "filePath": "src/tokens/atlassian-typography/font-family.tsx",
44
+ "group": "typography",
45
+ "state": "experimental",
46
+ "introduced": "1.14.0",
47
+ "description": "Smaller body font."
48
+ },
49
+ "value": {
50
+ "fontSize": 11,
51
+ "fontStyle": "normal",
52
+ "fontWeight": "400",
53
+ "lineHeight": 20,
54
+ "fontFamily": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
55
+ "letterSpacing": "0"
56
+ },
57
+ "filePath": "src/tokens/atlassian-typography/theme.tsx",
37
58
  "isSource": true,
38
59
  "original": {
39
60
  "attributes": {
40
- "group": "fontFamily",
41
- "state": "active",
42
- "introduced": "0.10.33",
43
- "description": "Helpful guidance goes here"
61
+ "group": "typography",
62
+ "state": "experimental",
63
+ "introduced": "1.14.0",
64
+ "description": "Smaller body font."
44
65
  },
45
- "value": "FontFamilySans"
46
- },
47
- "name": "font.family.sans",
48
- "path": ["font", "family", "sans"],
49
- "cleanName": "font.family.sans"
66
+ "value": {
67
+ "fontWeight": "FontWeight400",
68
+ "fontSize": "FontSize11",
69
+ "lineHeight": "LineHeight200",
70
+ "fontFamily": "FontFamilyWebSans",
71
+ "fontStyle": "normal",
72
+ "letterSpacing": "LetterSpacing0"
73
+ }
74
+ },
75
+ "name": "font.body.sm",
76
+ "path": ["font", "body", "sm"],
77
+ "cleanName": "font.body.sm"
50
78
  }, {
51
79
  "attributes": {
52
- "group": "fontSize",
53
- "state": "active",
54
- "introduced": "0.10.33",
55
- "description": "Helpful guidance goes here"
56
- },
57
- "value": "11px",
58
- "filePath": "src/tokens/atlassian-typography/font-size.tsx",
80
+ "group": "typography",
81
+ "state": "experimental",
82
+ "introduced": "1.14.0",
83
+ "description": "Used for monospace and code."
84
+ },
85
+ "value": {
86
+ "fontSize": "0.875em",
87
+ "fontStyle": "normal",
88
+ "fontWeight": "400",
89
+ "lineHeight": "1",
90
+ "fontFamily": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace",
91
+ "letterSpacing": "0"
92
+ },
93
+ "filePath": "src/tokens/atlassian-typography/theme.tsx",
59
94
  "isSource": true,
60
95
  "original": {
61
96
  "attributes": {
62
- "group": "fontSize",
63
- "state": "active",
64
- "introduced": "0.10.33",
65
- "description": "Helpful guidance goes here"
97
+ "group": "typography",
98
+ "state": "experimental",
99
+ "introduced": "1.14.0",
100
+ "description": "Used for monospace and code."
66
101
  },
67
- "value": "FontSize050"
68
- },
69
- "name": "font.size.050",
70
- "path": ["font", "size", "050"],
71
- "cleanName": "font.size.050"
102
+ "value": {
103
+ "fontWeight": "FontWeight400",
104
+ "fontSize": "FontSizeCode",
105
+ "lineHeight": "LineHeight1",
106
+ "fontFamily": "FontFamilyWebMono",
107
+ "fontStyle": "normal",
108
+ "letterSpacing": "LetterSpacing0"
109
+ }
110
+ },
111
+ "name": "font.code.[default]",
112
+ "path": ["font", "code", "[default]"],
113
+ "cleanName": "font.code"
72
114
  }, {
73
115
  "attributes": {
74
- "group": "fontSize",
75
- "state": "active",
76
- "introduced": "0.10.33",
77
- "description": "Helpful guidance goes here"
78
- },
79
- "value": "12px",
80
- "filePath": "src/tokens/atlassian-typography/font-size.tsx",
116
+ "group": "typography",
117
+ "state": "experimental",
118
+ "introduced": "1.14.0",
119
+ "description": "TBD"
120
+ },
121
+ "value": {
122
+ "fontSize": 24,
123
+ "fontStyle": "normal",
124
+ "fontWeight": "700",
125
+ "lineHeight": 28,
126
+ "fontFamily": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
127
+ "letterSpacing": "0"
128
+ },
129
+ "filePath": "src/tokens/atlassian-typography/theme.tsx",
81
130
  "isSource": true,
82
131
  "original": {
83
132
  "attributes": {
84
- "group": "fontSize",
85
- "state": "active",
86
- "introduced": "0.10.33",
87
- "description": "Helpful guidance goes here"
133
+ "group": "typography",
134
+ "state": "experimental",
135
+ "introduced": "1.14.0",
136
+ "description": "TBD"
88
137
  },
89
- "value": "FontSize075"
90
- },
91
- "name": "font.size.075",
92
- "path": ["font", "size", "075"],
93
- "cleanName": "font.size.075"
138
+ "value": {
139
+ "fontWeight": "FontWeight700",
140
+ "fontSize": "FontSize24",
141
+ "lineHeight": "LineHeight400",
142
+ "fontFamily": "FontFamilyWebSans",
143
+ "fontStyle": "normal",
144
+ "letterSpacing": "LetterSpacing0"
145
+ }
146
+ },
147
+ "name": "font.heading.lg",
148
+ "path": ["font", "heading", "lg"],
149
+ "cleanName": "font.heading.lg"
94
150
  }, {
95
151
  "attributes": {
96
- "group": "fontSize",
97
- "state": "active",
98
- "introduced": "0.10.33",
99
- "description": "Helpful guidance goes here"
100
- },
101
- "value": "14px",
102
- "filePath": "src/tokens/atlassian-typography/font-size.tsx",
152
+ "group": "typography",
153
+ "state": "experimental",
154
+ "introduced": "1.14.0",
155
+ "description": "TBD"
156
+ },
157
+ "value": {
158
+ "fontSize": 20,
159
+ "fontStyle": "normal",
160
+ "fontWeight": "700",
161
+ "lineHeight": 24,
162
+ "fontFamily": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
163
+ "letterSpacing": "0"
164
+ },
165
+ "filePath": "src/tokens/atlassian-typography/theme.tsx",
103
166
  "isSource": true,
104
167
  "original": {
105
168
  "attributes": {
106
- "group": "fontSize",
107
- "state": "active",
108
- "introduced": "0.10.33",
109
- "description": "Helpful guidance goes here"
169
+ "group": "typography",
170
+ "state": "experimental",
171
+ "introduced": "1.14.0",
172
+ "description": "TBD"
110
173
  },
111
- "value": "FontSize100"
112
- },
113
- "name": "font.size.100",
114
- "path": ["font", "size", "100"],
115
- "cleanName": "font.size.100"
174
+ "value": {
175
+ "fontWeight": "FontWeight700",
176
+ "fontSize": "FontSize20",
177
+ "lineHeight": "LineHeight300",
178
+ "fontFamily": "FontFamilyWebSans",
179
+ "fontStyle": "normal",
180
+ "letterSpacing": "LetterSpacing0"
181
+ }
182
+ },
183
+ "name": "font.heading.md",
184
+ "path": ["font", "heading", "md"],
185
+ "cleanName": "font.heading.md"
116
186
  }, {
117
187
  "attributes": {
118
- "group": "fontSize",
119
- "state": "active",
120
- "introduced": "0.10.33",
121
- "description": "Helpful guidance goes here"
122
- },
123
- "value": "16px",
124
- "filePath": "src/tokens/atlassian-typography/font-size.tsx",
188
+ "group": "typography",
189
+ "state": "experimental",
190
+ "introduced": "1.14.0",
191
+ "description": "TBD"
192
+ },
193
+ "value": {
194
+ "fontSize": 16,
195
+ "fontStyle": "normal",
196
+ "fontWeight": "700",
197
+ "lineHeight": 20,
198
+ "fontFamily": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
199
+ "letterSpacing": "0"
200
+ },
201
+ "filePath": "src/tokens/atlassian-typography/theme.tsx",
125
202
  "isSource": true,
126
203
  "original": {
127
204
  "attributes": {
128
- "group": "fontSize",
129
- "state": "active",
130
- "introduced": "0.10.33",
131
- "description": "Helpful guidance goes here"
205
+ "group": "typography",
206
+ "state": "experimental",
207
+ "introduced": "1.14.0",
208
+ "description": "TBD"
132
209
  },
133
- "value": "FontSize200"
134
- },
135
- "name": "font.size.200",
136
- "path": ["font", "size", "200"],
137
- "cleanName": "font.size.200"
210
+ "value": {
211
+ "fontWeight": "FontWeight700",
212
+ "fontSize": "FontSize16",
213
+ "lineHeight": "LineHeight200",
214
+ "fontFamily": "FontFamilyWebSans",
215
+ "fontStyle": "normal",
216
+ "letterSpacing": "LetterSpacing0"
217
+ }
218
+ },
219
+ "name": "font.heading.sm",
220
+ "path": ["font", "heading", "sm"],
221
+ "cleanName": "font.heading.sm"
138
222
  }, {
139
223
  "attributes": {
140
- "group": "fontSize",
141
- "state": "active",
142
- "introduced": "0.10.33",
143
- "description": "Helpful guidance goes here"
144
- },
145
- "value": "20px",
146
- "filePath": "src/tokens/atlassian-typography/font-size.tsx",
224
+ "group": "typography",
225
+ "state": "experimental",
226
+ "introduced": "1.14.0",
227
+ "description": "TBD"
228
+ },
229
+ "value": {
230
+ "fontSize": 28,
231
+ "fontStyle": "normal",
232
+ "fontWeight": "700",
233
+ "lineHeight": 32,
234
+ "fontFamily": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
235
+ "letterSpacing": "0"
236
+ },
237
+ "filePath": "src/tokens/atlassian-typography/theme.tsx",
147
238
  "isSource": true,
148
239
  "original": {
149
240
  "attributes": {
150
- "group": "fontSize",
151
- "state": "active",
152
- "introduced": "0.10.33",
153
- "description": "Helpful guidance goes here"
241
+ "group": "typography",
242
+ "state": "experimental",
243
+ "introduced": "1.14.0",
244
+ "description": "TBD"
154
245
  },
155
- "value": "FontSize300"
156
- },
157
- "name": "font.size.300",
158
- "path": ["font", "size", "300"],
159
- "cleanName": "font.size.300"
246
+ "value": {
247
+ "fontWeight": "FontWeight700",
248
+ "fontSize": "FontSize28",
249
+ "lineHeight": "LineHeight500",
250
+ "fontFamily": "FontFamilyWebSans",
251
+ "fontStyle": "normal",
252
+ "letterSpacing": "LetterSpacing0"
253
+ }
254
+ },
255
+ "name": "font.heading.xl",
256
+ "path": ["font", "heading", "xl"],
257
+ "cleanName": "font.heading.xl"
160
258
  }, {
161
259
  "attributes": {
162
- "group": "fontSize",
163
- "state": "active",
164
- "introduced": "0.10.33",
165
- "description": "Helpful guidance goes here"
166
- },
167
- "value": "24px",
168
- "filePath": "src/tokens/atlassian-typography/font-size.tsx",
260
+ "group": "typography",
261
+ "state": "experimental",
262
+ "introduced": "1.14.0",
263
+ "description": "TBD"
264
+ },
265
+ "value": {
266
+ "fontSize": 14,
267
+ "fontStyle": "normal",
268
+ "fontWeight": "700",
269
+ "lineHeight": 16,
270
+ "fontFamily": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
271
+ "letterSpacing": "0"
272
+ },
273
+ "filePath": "src/tokens/atlassian-typography/theme.tsx",
169
274
  "isSource": true,
170
275
  "original": {
171
276
  "attributes": {
172
- "group": "fontSize",
173
- "state": "active",
174
- "introduced": "0.10.33",
175
- "description": "Helpful guidance goes here"
277
+ "group": "typography",
278
+ "state": "experimental",
279
+ "introduced": "1.14.0",
280
+ "description": "TBD"
176
281
  },
177
- "value": "FontSize400"
178
- },
179
- "name": "font.size.400",
180
- "path": ["font", "size", "400"],
181
- "cleanName": "font.size.400"
282
+ "value": {
283
+ "fontWeight": "FontWeight700",
284
+ "fontSize": "FontSize14",
285
+ "lineHeight": "LineHeight100",
286
+ "fontFamily": "FontFamilyWebSans",
287
+ "fontStyle": "normal",
288
+ "letterSpacing": "LetterSpacing0"
289
+ }
290
+ },
291
+ "name": "font.heading.xs",
292
+ "path": ["font", "heading", "xs"],
293
+ "cleanName": "font.heading.xs"
182
294
  }, {
183
295
  "attributes": {
184
- "group": "fontSize",
185
- "state": "active",
186
- "introduced": "0.10.33",
187
- "description": "Helpful guidance goes here"
188
- },
189
- "value": "29px",
190
- "filePath": "src/tokens/atlassian-typography/font-size.tsx",
296
+ "group": "typography",
297
+ "state": "experimental",
298
+ "introduced": "1.14.0",
299
+ "description": "TBD"
300
+ },
301
+ "value": {
302
+ "fontSize": 36,
303
+ "fontStyle": "normal",
304
+ "fontWeight": "700",
305
+ "lineHeight": 40,
306
+ "fontFamily": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
307
+ "letterSpacing": "0"
308
+ },
309
+ "filePath": "src/tokens/atlassian-typography/theme.tsx",
191
310
  "isSource": true,
192
311
  "original": {
193
312
  "attributes": {
194
- "group": "fontSize",
195
- "state": "active",
196
- "introduced": "0.10.33",
197
- "description": "Helpful guidance goes here"
313
+ "group": "typography",
314
+ "state": "experimental",
315
+ "introduced": "1.14.0",
316
+ "description": "TBD"
198
317
  },
199
- "value": "FontSize500"
200
- },
201
- "name": "font.size.500",
202
- "path": ["font", "size", "500"],
203
- "cleanName": "font.size.500"
318
+ "value": {
319
+ "fontWeight": "FontWeight700",
320
+ "fontSize": "FontSize36",
321
+ "lineHeight": "LineHeight600",
322
+ "fontFamily": "FontFamilyWebSans",
323
+ "fontStyle": "normal",
324
+ "letterSpacing": "LetterSpacing0"
325
+ }
326
+ },
327
+ "name": "font.heading.xxl",
328
+ "path": ["font", "heading", "xxl"],
329
+ "cleanName": "font.heading.xxl"
204
330
  }, {
205
331
  "attributes": {
206
- "group": "fontSize",
207
- "state": "active",
208
- "introduced": "0.10.33",
209
- "description": "Helpful guidance goes here"
210
- },
211
- "value": "35px",
212
- "filePath": "src/tokens/atlassian-typography/font-size.tsx",
332
+ "group": "typography",
333
+ "state": "experimental",
334
+ "introduced": "1.14.0",
335
+ "description": "TBD"
336
+ },
337
+ "value": {
338
+ "fontSize": 12,
339
+ "fontStyle": "normal",
340
+ "fontWeight": "700",
341
+ "lineHeight": 16,
342
+ "fontFamily": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
343
+ "letterSpacing": "0"
344
+ },
345
+ "filePath": "src/tokens/atlassian-typography/theme.tsx",
213
346
  "isSource": true,
214
347
  "original": {
215
348
  "attributes": {
216
- "group": "fontSize",
217
- "state": "active",
218
- "introduced": "0.10.33",
219
- "description": "Helpful guidance goes here"
349
+ "group": "typography",
350
+ "state": "experimental",
351
+ "introduced": "1.14.0",
352
+ "description": "TBD"
220
353
  },
221
- "value": "FontSize600"
222
- },
223
- "name": "font.size.600",
224
- "path": ["font", "size", "600"],
225
- "cleanName": "font.size.600"
354
+ "value": {
355
+ "fontWeight": "FontWeight700",
356
+ "fontSize": "FontSize12",
357
+ "lineHeight": "LineHeight100",
358
+ "fontFamily": "FontFamilyWebSans",
359
+ "fontStyle": "normal",
360
+ "letterSpacing": "LetterSpacing0"
361
+ }
362
+ },
363
+ "name": "font.heading.xxs",
364
+ "path": ["font", "heading", "xxs"],
365
+ "cleanName": "font.heading.xxs"
226
366
  }, {
227
367
  "attributes": {
228
- "group": "fontWeight",
368
+ "group": "letterSpacing",
229
369
  "state": "active",
230
370
  "introduced": "0.10.33",
231
371
  "description": "Helpful guidance goes here"
232
372
  },
233
- "value": "700",
234
- "filePath": "src/tokens/atlassian-typography/font-weight.tsx",
373
+ "value": "0",
374
+ "filePath": "src/tokens/atlassian-typography/utils.tsx",
235
375
  "isSource": true,
236
376
  "original": {
237
377
  "attributes": {
238
- "group": "fontWeight",
378
+ "group": "letterSpacing",
239
379
  "state": "active",
240
380
  "introduced": "0.10.33",
241
381
  "description": "Helpful guidance goes here"
242
382
  },
243
- "value": "FontWeightBold"
383
+ "value": "LetterSpacing0"
244
384
  },
245
- "name": "font.weight.bold",
246
- "path": ["font", "weight", "bold"],
247
- "cleanName": "font.weight.bold"
385
+ "name": "font.letterSpacing.0",
386
+ "path": ["font", "letterSpacing", "0"],
387
+ "cleanName": "font.letterSpacing.0"
248
388
  }, {
249
389
  "attributes": {
250
- "group": "fontWeight",
390
+ "group": "letterSpacing",
251
391
  "state": "active",
252
392
  "introduced": "0.10.33",
253
393
  "description": "Helpful guidance goes here"
254
394
  },
255
- "value": "500",
256
- "filePath": "src/tokens/atlassian-typography/font-weight.tsx",
395
+ "value": "0",
396
+ "filePath": "src/tokens/atlassian-typography/utils.tsx",
257
397
  "isSource": true,
258
398
  "original": {
259
399
  "attributes": {
260
- "group": "fontWeight",
400
+ "group": "letterSpacing",
261
401
  "state": "active",
262
402
  "introduced": "0.10.33",
263
403
  "description": "Helpful guidance goes here"
264
404
  },
265
- "value": "FontWeightMedium"
405
+ "value": "LetterSpacing0"
266
406
  },
267
- "name": "font.weight.medium",
268
- "path": ["font", "weight", "medium"],
269
- "cleanName": "font.weight.medium"
407
+ "name": "font.letterSpacing.100",
408
+ "path": ["font", "letterSpacing", "100"],
409
+ "cleanName": "font.letterSpacing.100"
270
410
  }, {
271
411
  "attributes": {
272
- "group": "fontWeight",
412
+ "group": "letterSpacing",
273
413
  "state": "active",
274
414
  "introduced": "0.10.33",
275
415
  "description": "Helpful guidance goes here"
276
416
  },
277
- "value": "400",
278
- "filePath": "src/tokens/atlassian-typography/font-weight.tsx",
417
+ "value": "0",
418
+ "filePath": "src/tokens/atlassian-typography/utils.tsx",
279
419
  "isSource": true,
280
420
  "original": {
281
421
  "attributes": {
282
- "group": "fontWeight",
422
+ "group": "letterSpacing",
283
423
  "state": "active",
284
424
  "introduced": "0.10.33",
285
425
  "description": "Helpful guidance goes here"
286
426
  },
287
- "value": "FontWeightRegular"
427
+ "value": "LetterSpacing0"
288
428
  },
289
- "name": "font.weight.regular",
290
- "path": ["font", "weight", "regular"],
291
- "cleanName": "font.weight.regular"
429
+ "name": "font.letterSpacing.200",
430
+ "path": ["font", "letterSpacing", "200"],
431
+ "cleanName": "font.letterSpacing.200"
292
432
  }, {
293
433
  "attributes": {
294
- "group": "fontWeight",
434
+ "group": "letterSpacing",
295
435
  "state": "active",
296
436
  "introduced": "0.10.33",
297
437
  "description": "Helpful guidance goes here"
298
438
  },
299
- "value": "600",
300
- "filePath": "src/tokens/atlassian-typography/font-weight.tsx",
439
+ "value": "0",
440
+ "filePath": "src/tokens/atlassian-typography/utils.tsx",
301
441
  "isSource": true,
302
442
  "original": {
303
443
  "attributes": {
304
- "group": "fontWeight",
444
+ "group": "letterSpacing",
305
445
  "state": "active",
306
446
  "introduced": "0.10.33",
307
447
  "description": "Helpful guidance goes here"
308
448
  },
309
- "value": "FontWeightSemiBold"
449
+ "value": "LetterSpacing0"
310
450
  },
311
- "name": "font.weight.semibold",
312
- "path": ["font", "weight", "semibold"],
313
- "cleanName": "font.weight.semibold"
451
+ "name": "font.letterSpacing.300",
452
+ "path": ["font", "letterSpacing", "300"],
453
+ "cleanName": "font.letterSpacing.300"
314
454
  }, {
315
455
  "attributes": {
316
- "group": "lineHeight",
456
+ "group": "letterSpacing",
317
457
  "state": "active",
318
458
  "introduced": "0.10.33",
319
459
  "description": "Helpful guidance goes here"
320
460
  },
321
- "value": "16px",
322
- "filePath": "src/tokens/atlassian-typography/line-height.tsx",
461
+ "value": "0",
462
+ "filePath": "src/tokens/atlassian-typography/utils.tsx",
323
463
  "isSource": true,
324
464
  "original": {
325
465
  "attributes": {
326
- "group": "lineHeight",
466
+ "group": "letterSpacing",
327
467
  "state": "active",
328
468
  "introduced": "0.10.33",
329
469
  "description": "Helpful guidance goes here"
330
470
  },
331
- "value": "LineHeight100"
471
+ "value": "LetterSpacing0"
332
472
  },
333
- "name": "font.lineHeight.100",
334
- "path": ["font", "lineHeight", "100"],
335
- "cleanName": "font.lineHeight.100"
473
+ "name": "font.letterSpacing.400",
474
+ "path": ["font", "letterSpacing", "400"],
475
+ "cleanName": "font.letterSpacing.400"
336
476
  }, {
337
477
  "attributes": {
338
- "group": "lineHeight",
339
- "state": "active",
340
- "introduced": "0.10.33",
478
+ "group": "typography",
479
+ "state": "experimental",
480
+ "introduced": "1.14.0",
481
+ "description": "Single-line non-wrapping text like that in a button."
482
+ },
483
+ "value": {
484
+ "fontSize": 14,
485
+ "fontStyle": "normal",
486
+ "fontWeight": "400",
487
+ "lineHeight": "1",
488
+ "fontFamily": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
489
+ "letterSpacing": "0"
490
+ },
491
+ "filePath": "src/tokens/atlassian-typography/theme.tsx",
492
+ "isSource": true,
493
+ "original": {
494
+ "attributes": {
495
+ "group": "typography",
496
+ "state": "experimental",
497
+ "introduced": "1.14.0",
498
+ "description": "Single-line non-wrapping text like that in a button."
499
+ },
500
+ "value": {
501
+ "fontWeight": "FontWeight400",
502
+ "fontSize": "FontSize14",
503
+ "lineHeight": "LineHeight1",
504
+ "fontFamily": "FontFamilyWebSans",
505
+ "fontStyle": "normal",
506
+ "letterSpacing": "LetterSpacing0"
507
+ }
508
+ },
509
+ "name": "font.ui.[default]",
510
+ "path": ["font", "ui", "[default]"],
511
+ "cleanName": "font.ui"
512
+ }, {
513
+ "attributes": {
514
+ "group": "typography",
515
+ "state": "experimental",
516
+ "introduced": "1.14.0",
517
+ "description": "Single-line non-wrapping supporting text like that in a smaller label."
518
+ },
519
+ "value": {
520
+ "fontSize": 11,
521
+ "fontStyle": "normal",
522
+ "fontWeight": "400",
523
+ "lineHeight": "1",
524
+ "fontFamily": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
525
+ "letterSpacing": "0"
526
+ },
527
+ "filePath": "src/tokens/atlassian-typography/theme.tsx",
528
+ "isSource": true,
529
+ "original": {
530
+ "attributes": {
531
+ "group": "typography",
532
+ "state": "experimental",
533
+ "introduced": "1.14.0",
534
+ "description": "Single-line non-wrapping supporting text like that in a smaller label."
535
+ },
536
+ "value": {
537
+ "fontWeight": "FontWeight400",
538
+ "fontSize": "FontSize11",
539
+ "lineHeight": "LineHeight1",
540
+ "fontFamily": "FontFamilyWebSans",
541
+ "fontStyle": "normal",
542
+ "letterSpacing": "LetterSpacing0"
543
+ }
544
+ },
545
+ "name": "font.ui.sm",
546
+ "path": ["font", "ui", "sm"],
547
+ "cleanName": "font.ui.sm"
548
+ }, {
549
+ "attributes": {
550
+ "group": "fontFamily",
551
+ "state": "experimental",
552
+ "introduced": "1.14.0",
341
553
  "description": "Helpful guidance goes here"
342
554
  },
343
- "value": "20px",
344
- "filePath": "src/tokens/atlassian-typography/line-height.tsx",
555
+ "value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace",
556
+ "filePath": "src/tokens/atlassian-typography/font-family.tsx",
345
557
  "isSource": true,
346
558
  "original": {
347
559
  "attributes": {
348
- "group": "lineHeight",
349
- "state": "active",
350
- "introduced": "0.10.33",
560
+ "group": "fontFamily",
561
+ "state": "experimental",
562
+ "introduced": "1.14.0",
351
563
  "description": "Helpful guidance goes here"
352
564
  },
353
- "value": "LineHeight200"
565
+ "value": "FontFamilyWebMono"
354
566
  },
355
- "name": "font.lineHeight.200",
356
- "path": ["font", "lineHeight", "200"],
357
- "cleanName": "font.lineHeight.200"
567
+ "name": "font.family.code",
568
+ "path": ["font", "family", "code"],
569
+ "cleanName": "font.family.code"
358
570
  }, {
359
571
  "attributes": {
360
- "group": "lineHeight",
572
+ "group": "fontFamily",
361
573
  "state": "active",
362
574
  "introduced": "0.10.33",
363
575
  "description": "Helpful guidance goes here"
364
576
  },
365
- "value": "24px",
366
- "filePath": "src/tokens/atlassian-typography/line-height.tsx",
577
+ "value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace",
578
+ "filePath": "src/tokens/atlassian-typography/font-family.tsx",
367
579
  "isSource": true,
368
580
  "original": {
369
581
  "attributes": {
370
- "group": "lineHeight",
582
+ "group": "fontFamily",
371
583
  "state": "active",
372
584
  "introduced": "0.10.33",
373
585
  "description": "Helpful guidance goes here"
374
586
  },
375
- "value": "LineHeight300"
587
+ "value": "FontFamilyWebMono"
376
588
  },
377
- "name": "font.lineHeight.300",
378
- "path": ["font", "lineHeight", "300"],
379
- "cleanName": "font.lineHeight.300"
589
+ "name": "font.family.monospace",
590
+ "path": ["font", "family", "monospace"],
591
+ "cleanName": "font.family.monospace"
380
592
  }, {
381
593
  "attributes": {
382
- "group": "lineHeight",
383
- "state": "active",
384
- "introduced": "0.10.33",
594
+ "group": "fontFamily",
595
+ "state": "experimental",
596
+ "introduced": "1.14.0",
385
597
  "description": "Helpful guidance goes here"
386
598
  },
387
- "value": "28px",
388
- "filePath": "src/tokens/atlassian-typography/line-height.tsx",
599
+ "value": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
600
+ "filePath": "src/tokens/atlassian-typography/font-family.tsx",
389
601
  "isSource": true,
390
602
  "original": {
391
603
  "attributes": {
392
- "group": "lineHeight",
393
- "state": "active",
394
- "introduced": "0.10.33",
604
+ "group": "fontFamily",
605
+ "state": "experimental",
606
+ "introduced": "1.14.0",
395
607
  "description": "Helpful guidance goes here"
396
608
  },
397
- "value": "LineHeight400"
609
+ "value": "FontFamilyWebSans"
398
610
  },
399
- "name": "font.lineHeight.400",
400
- "path": ["font", "lineHeight", "400"],
401
- "cleanName": "font.lineHeight.400"
611
+ "name": "font.family.product",
612
+ "path": ["font", "family", "product"],
613
+ "cleanName": "font.family.product"
402
614
  }, {
403
615
  "attributes": {
404
- "group": "lineHeight",
616
+ "group": "fontFamily",
405
617
  "state": "active",
406
618
  "introduced": "0.10.33",
407
619
  "description": "Helpful guidance goes here"
408
620
  },
409
- "value": "32px",
410
- "filePath": "src/tokens/atlassian-typography/line-height.tsx",
621
+ "value": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
622
+ "filePath": "src/tokens/atlassian-typography/font-family.tsx",
411
623
  "isSource": true,
412
624
  "original": {
413
625
  "attributes": {
414
- "group": "lineHeight",
626
+ "group": "fontFamily",
415
627
  "state": "active",
416
628
  "introduced": "0.10.33",
417
629
  "description": "Helpful guidance goes here"
418
630
  },
419
- "value": "LineHeight500"
631
+ "value": "FontFamilyWebSans"
420
632
  },
421
- "name": "font.lineHeight.500",
422
- "path": ["font", "lineHeight", "500"],
423
- "cleanName": "font.lineHeight.500"
633
+ "name": "font.family.sans",
634
+ "path": ["font", "family", "sans"],
635
+ "cleanName": "font.family.sans"
424
636
  }, {
425
637
  "attributes": {
426
- "group": "lineHeight",
427
- "state": "active",
428
- "introduced": "0.10.33",
638
+ "group": "fontFamily",
639
+ "state": "experimental",
640
+ "introduced": "1.14.0",
429
641
  "description": "Helpful guidance goes here"
430
642
  },
431
- "value": "40px",
432
- "filePath": "src/tokens/atlassian-typography/line-height.tsx",
643
+ "value": "Charlie Sans",
644
+ "filePath": "src/tokens/atlassian-typography/font-family.tsx",
433
645
  "isSource": true,
434
646
  "original": {
435
647
  "attributes": {
436
- "group": "lineHeight",
437
- "state": "active",
438
- "introduced": "0.10.33",
648
+ "group": "fontFamily",
649
+ "state": "experimental",
650
+ "introduced": "1.14.0",
439
651
  "description": "Helpful guidance goes here"
440
652
  },
441
- "value": "LineHeight600"
653
+ "value": "FontFamilyCharlie"
442
654
  },
443
- "name": "font.lineHeight.600",
444
- "path": ["font", "lineHeight", "600"],
445
- "cleanName": "font.lineHeight.600"
655
+ "name": "font.family.brand",
656
+ "path": ["font", "family", "brand"],
657
+ "cleanName": "font.family.brand"
446
658
  }];
447
659
  export default tokens;