@atlaskit/tokens 1.14.2 → 1.15.1

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 (174) 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 +313 -43
  5. package/dist/cjs/artifacts/theme-import-map.js +16 -4
  6. package/dist/cjs/artifacts/themes/atlassian-typography-adg3.js +13 -0
  7. package/dist/cjs/artifacts/themes/atlassian-typography-minor3.js +13 -0
  8. package/dist/cjs/artifacts/themes/atlassian-typography.js +2 -2
  9. package/dist/cjs/artifacts/token-default-values.js +23 -2
  10. package/dist/cjs/artifacts/token-names.js +22 -1
  11. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +1084 -0
  12. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-minor3.js +666 -0
  13. package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +465 -253
  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 +133 -16
  18. package/dist/cjs/theme-config.js +20 -4
  19. package/dist/cjs/tokens/atlassian-typography/font-family.js +11 -2
  20. package/dist/cjs/tokens/atlassian-typography/letter-spacing.js +29 -0
  21. package/dist/cjs/tokens/atlassian-typography/theme.js +140 -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-adg3/letter-spacing.js +29 -0
  26. package/dist/cjs/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.js +4 -1
  27. package/dist/cjs/tokens/atlassian-typography-adg3/theme.js +140 -0
  28. package/dist/cjs/tokens/atlassian-typography-minor3/font-family.js +29 -0
  29. package/dist/cjs/tokens/atlassian-typography-minor3/letter-spacing.js +29 -0
  30. package/dist/cjs/tokens/atlassian-typography-minor3/theme.js +140 -0
  31. package/dist/cjs/tokens/default/typography/font-family.js +24 -0
  32. package/dist/cjs/tokens/default/typography/font.js +133 -0
  33. package/dist/cjs/tokens/default/typography/letter-spacing.js +54 -0
  34. package/dist/cjs/tokens/default/typography/line-height.js +8 -0
  35. package/dist/es2019/artifacts/atlassian-dark-token-value-for-contrast-check.js +2 -2
  36. package/dist/es2019/artifacts/atlassian-light-token-value-for-contrast-check.js +2 -2
  37. package/dist/es2019/artifacts/palettes-raw/typography-palette.js +313 -43
  38. package/dist/es2019/artifacts/theme-import-map.js +8 -4
  39. package/dist/es2019/artifacts/themes/atlassian-typography-adg3.js +50 -0
  40. package/dist/es2019/artifacts/themes/atlassian-typography-minor3.js +31 -0
  41. package/dist/es2019/artifacts/themes/atlassian-typography.js +23 -21
  42. package/dist/es2019/artifacts/token-default-values.js +23 -2
  43. package/dist/es2019/artifacts/token-names.js +22 -1
  44. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +1077 -0
  45. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-minor3.js +659 -0
  46. package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +465 -253
  47. package/dist/es2019/entry-points/tokens-raw.js +1 -1
  48. package/dist/es2019/get-token-value.js +1 -1
  49. package/dist/es2019/get-token.js +1 -1
  50. package/dist/es2019/palettes/typography-palette.js +135 -17
  51. package/dist/es2019/theme-config.js +20 -4
  52. package/dist/es2019/tokens/atlassian-typography/font-family.js +11 -2
  53. package/dist/es2019/tokens/atlassian-typography/letter-spacing.js +22 -0
  54. package/dist/es2019/tokens/atlassian-typography/theme.js +133 -0
  55. package/dist/es2019/tokens/atlassian-typography-adg3/font-family.js +22 -0
  56. package/dist/es2019/tokens/atlassian-typography-adg3/font-size.js +31 -0
  57. package/dist/es2019/tokens/atlassian-typography-adg3/font-weight.js +19 -0
  58. package/dist/es2019/tokens/atlassian-typography-adg3/letter-spacing.js +22 -0
  59. package/dist/es2019/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.js +4 -1
  60. package/dist/es2019/tokens/atlassian-typography-adg3/theme.js +133 -0
  61. package/dist/es2019/tokens/atlassian-typography-minor3/font-family.js +22 -0
  62. package/dist/es2019/tokens/atlassian-typography-minor3/letter-spacing.js +22 -0
  63. package/dist/es2019/tokens/atlassian-typography-minor3/theme.js +133 -0
  64. package/dist/es2019/tokens/default/typography/font-family.js +24 -0
  65. package/dist/es2019/tokens/default/typography/font.js +126 -0
  66. package/dist/es2019/tokens/default/typography/letter-spacing.js +47 -0
  67. package/dist/es2019/tokens/default/typography/line-height.js +8 -0
  68. package/dist/esm/artifacts/atlassian-dark-token-value-for-contrast-check.js +2 -2
  69. package/dist/esm/artifacts/atlassian-light-token-value-for-contrast-check.js +2 -2
  70. package/dist/esm/artifacts/palettes-raw/typography-palette.js +313 -43
  71. package/dist/esm/artifacts/theme-import-map.js +12 -4
  72. package/dist/esm/artifacts/themes/atlassian-typography-adg3.js +6 -0
  73. package/dist/esm/artifacts/themes/atlassian-typography-minor3.js +6 -0
  74. package/dist/esm/artifacts/themes/atlassian-typography.js +2 -2
  75. package/dist/esm/artifacts/token-default-values.js +23 -2
  76. package/dist/esm/artifacts/token-names.js +22 -1
  77. package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +1077 -0
  78. package/dist/esm/artifacts/tokens-raw/atlassian-typography-minor3.js +659 -0
  79. package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +465 -253
  80. package/dist/esm/entry-points/tokens-raw.js +1 -1
  81. package/dist/esm/get-token-value.js +1 -1
  82. package/dist/esm/get-token.js +1 -1
  83. package/dist/esm/palettes/typography-palette.js +133 -16
  84. package/dist/esm/theme-config.js +20 -4
  85. package/dist/esm/tokens/atlassian-typography/font-family.js +11 -2
  86. package/dist/esm/tokens/atlassian-typography/letter-spacing.js +22 -0
  87. package/dist/esm/tokens/atlassian-typography/theme.js +133 -0
  88. package/dist/esm/tokens/atlassian-typography-adg3/font-family.js +22 -0
  89. package/dist/esm/tokens/atlassian-typography-adg3/font-size.js +31 -0
  90. package/dist/esm/tokens/atlassian-typography-adg3/font-weight.js +19 -0
  91. package/dist/esm/tokens/atlassian-typography-adg3/letter-spacing.js +22 -0
  92. package/dist/esm/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.js +4 -1
  93. package/dist/esm/tokens/atlassian-typography-adg3/theme.js +133 -0
  94. package/dist/esm/tokens/atlassian-typography-minor3/font-family.js +22 -0
  95. package/dist/esm/tokens/atlassian-typography-minor3/letter-spacing.js +22 -0
  96. package/dist/esm/tokens/atlassian-typography-minor3/theme.js +133 -0
  97. package/dist/esm/tokens/default/typography/font-family.js +24 -0
  98. package/dist/esm/tokens/default/typography/font.js +126 -0
  99. package/dist/esm/tokens/default/typography/letter-spacing.js +47 -0
  100. package/dist/esm/tokens/default/typography/line-height.js +8 -0
  101. package/dist/types/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +2 -2
  102. package/dist/types/artifacts/atlassian-light-token-value-for-contrast-check.d.ts +2 -2
  103. package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +1 -1
  104. package/dist/types/artifacts/theme-import-map.d.ts +1 -1
  105. package/dist/types/artifacts/themes/atlassian-typography-adg3.d.ts +7 -0
  106. package/dist/types/artifacts/themes/atlassian-typography-minor3.d.ts +7 -0
  107. package/dist/types/artifacts/themes/atlassian-typography.d.ts +2 -2
  108. package/dist/types/artifacts/token-default-values.d.ts +23 -2
  109. package/dist/types/artifacts/token-names.d.ts +43 -1
  110. package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +101 -0
  111. package/dist/types/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +137 -0
  112. package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +111 -3
  113. package/dist/types/artifacts/types-internal.d.ts +2 -2
  114. package/dist/types/artifacts/types.d.ts +2 -2
  115. package/dist/types/entry-points/tokens-raw.d.ts +1 -1
  116. package/dist/types/index.d.ts +1 -1
  117. package/dist/types/palettes/typography-palette.d.ts +8 -6
  118. package/dist/types/theme-config.d.ts +4 -4
  119. package/dist/types/tokens/atlassian-typography/letter-spacing.d.ts +4 -0
  120. package/dist/types/tokens/atlassian-typography/theme.d.ts +10 -0
  121. package/dist/types/tokens/atlassian-typography-adg3/font-family.d.ts +4 -0
  122. package/dist/types/tokens/atlassian-typography-adg3/letter-spacing.d.ts +4 -0
  123. package/dist/types/tokens/atlassian-typography-adg3/theme.d.ts +10 -0
  124. package/dist/types/tokens/atlassian-typography-minor3/font-family.d.ts +4 -0
  125. package/dist/types/tokens/atlassian-typography-minor3/letter-spacing.d.ts +4 -0
  126. package/dist/types/tokens/atlassian-typography-minor3/theme.d.ts +10 -0
  127. package/dist/types/tokens/default/typography/font.d.ts +20 -0
  128. package/dist/types/tokens/default/typography/letter-spacing.d.ts +4 -0
  129. package/dist/types/types.d.ts +111 -22
  130. package/dist/types-ts4.5/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +2 -2
  131. package/dist/types-ts4.5/artifacts/atlassian-light-token-value-for-contrast-check.d.ts +2 -2
  132. package/dist/types-ts4.5/artifacts/palettes-raw/typography-palette.d.ts +1 -1
  133. package/dist/types-ts4.5/artifacts/theme-import-map.d.ts +1 -1
  134. package/dist/types-ts4.5/artifacts/themes/atlassian-typography-adg3.d.ts +7 -0
  135. package/dist/types-ts4.5/artifacts/themes/atlassian-typography-minor3.d.ts +7 -0
  136. package/dist/types-ts4.5/artifacts/themes/atlassian-typography.d.ts +2 -2
  137. package/dist/types-ts4.5/artifacts/token-default-values.d.ts +23 -2
  138. package/dist/types-ts4.5/artifacts/token-names.d.ts +43 -1
  139. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +101 -0
  140. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +137 -0
  141. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography.d.ts +111 -3
  142. package/dist/types-ts4.5/artifacts/types-internal.d.ts +2 -2
  143. package/dist/types-ts4.5/artifacts/types.d.ts +2 -2
  144. package/dist/types-ts4.5/entry-points/tokens-raw.d.ts +1 -1
  145. package/dist/types-ts4.5/index.d.ts +1 -1
  146. package/dist/types-ts4.5/palettes/typography-palette.d.ts +8 -6
  147. package/dist/types-ts4.5/theme-config.d.ts +7 -3
  148. package/dist/types-ts4.5/tokens/atlassian-typography/letter-spacing.d.ts +4 -0
  149. package/dist/types-ts4.5/tokens/atlassian-typography/theme.d.ts +10 -0
  150. package/dist/types-ts4.5/tokens/atlassian-typography-adg3/font-family.d.ts +4 -0
  151. package/dist/types-ts4.5/tokens/atlassian-typography-adg3/letter-spacing.d.ts +4 -0
  152. package/dist/types-ts4.5/tokens/atlassian-typography-adg3/theme.d.ts +10 -0
  153. package/dist/types-ts4.5/tokens/atlassian-typography-minor3/font-family.d.ts +4 -0
  154. package/dist/types-ts4.5/tokens/atlassian-typography-minor3/letter-spacing.d.ts +4 -0
  155. package/dist/types-ts4.5/tokens/atlassian-typography-minor3/theme.d.ts +10 -0
  156. package/dist/types-ts4.5/tokens/default/typography/font.d.ts +20 -0
  157. package/dist/types-ts4.5/tokens/default/typography/letter-spacing.d.ts +4 -0
  158. package/dist/types-ts4.5/types.d.ts +111 -22
  159. package/figma/atlassian-typography-adg3.json +150 -0
  160. package/figma/atlassian-typography-minor3.json +51 -0
  161. package/figma/atlassian-typography.json +19 -82
  162. package/package.json +1 -2
  163. package/report.api.md +87 -2
  164. package/tmp/api-report-tmp.d.ts +65 -7
  165. package/dist/es2019/tokens/atlassian-typography/font-size.js +0 -31
  166. package/dist/es2019/tokens/atlassian-typography/font-weight.js +0 -19
  167. package/dist/esm/tokens/atlassian-typography/font-size.js +0 -31
  168. package/dist/esm/tokens/atlassian-typography/font-weight.js +0 -19
  169. /package/dist/types/tokens/{atlassian-typography → atlassian-typography-adg3}/font-size.d.ts +0 -0
  170. /package/dist/types/tokens/{atlassian-typography → atlassian-typography-adg3}/font-weight.d.ts +0 -0
  171. /package/dist/types/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.d.ts +0 -0
  172. /package/dist/types-ts4.5/tokens/{atlassian-typography → atlassian-typography-adg3}/font-size.d.ts +0 -0
  173. /package/dist/types-ts4.5/tokens/{atlassian-typography → atlassian-typography-adg3}/font-weight.d.ts +0 -0
  174. /package/dist/types-ts4.5/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.d.ts +0 -0
@@ -31,11 +31,11 @@ Object.defineProperty(exports, "spacing", {
31
31
  Object.defineProperty(exports, "typography", {
32
32
  enumerable: true,
33
33
  get: function get() {
34
- return _atlassianTypography.default;
34
+ return _atlassianTypographyAdg.default;
35
35
  }
36
36
  });
37
37
  var _atlassianLight = _interopRequireDefault(require("../artifacts/tokens-raw/atlassian-light"));
38
38
  var _atlassianDark = _interopRequireDefault(require("../artifacts/tokens-raw/atlassian-dark"));
39
39
  var _atlassianSpacing = _interopRequireDefault(require("../artifacts/tokens-raw/atlassian-spacing"));
40
- var _atlassianTypography = _interopRequireDefault(require("../artifacts/tokens-raw/atlassian-typography"));
40
+ var _atlassianTypographyAdg = _interopRequireDefault(require("../artifacts/tokens-raw/atlassian-typography-adg3"));
41
41
  var _atlassianShape = _interopRequireDefault(require("../artifacts/tokens-raw/atlassian-shape"));
@@ -8,7 +8,7 @@ exports.default = void 0;
8
8
  var _warnOnce = _interopRequireDefault(require("@atlaskit/ds-lib/warn-once"));
9
9
  var _tokenNames = _interopRequireDefault(require("./artifacts/token-names"));
10
10
  var name = "@atlaskit/tokens";
11
- var version = "1.14.2";
11
+ var version = "1.15.1";
12
12
  /**
13
13
  * Takes a dot-separated token name and and an optional fallback, and returns the current computed CSS value for the
14
14
  * resulting CSS Custom Property.
@@ -9,7 +9,7 @@ var _warnOnce = _interopRequireDefault(require("@atlaskit/ds-lib/warn-once"));
9
9
  var _tokenNames = _interopRequireDefault(require("./artifacts/token-names"));
10
10
  var _constants = require("./constants");
11
11
  var name = "@atlaskit/tokens";
12
- var version = "1.14.2";
12
+ var version = "1.15.1";
13
13
  /**
14
14
  * Takes a dot-separated token name and an optional fallback, and returns the CSS custom property for the corresponding token.
15
15
  * This should be used to implement design decisions throughout your application.
@@ -8,8 +8,48 @@ exports.default = void 0;
8
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
9
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
10
10
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
11
+ var letterSpacingScale = {
12
+ letterSpacing: {
13
+ LetterSpacing0: {
14
+ value: '0',
15
+ attributes: {
16
+ group: 'typography'
17
+ }
18
+ },
19
+ LetterSpacing100: {
20
+ value: '-0.003em',
21
+ attributes: {
22
+ group: 'typography'
23
+ }
24
+ },
25
+ LetterSpacing200: {
26
+ value: '-0.006em',
27
+ attributes: {
28
+ group: 'typography'
29
+ }
30
+ },
31
+ LetterSpacing300: {
32
+ value: '-0.008em',
33
+ attributes: {
34
+ group: 'typography'
35
+ }
36
+ },
37
+ LetterSpacing400: {
38
+ value: '-0.01em',
39
+ attributes: {
40
+ group: 'typography'
41
+ }
42
+ }
43
+ }
44
+ };
11
45
  var lineHeightScale = {
12
46
  lineHeight: {
47
+ LineHeight1: {
48
+ value: '1',
49
+ attributes: {
50
+ group: 'typography'
51
+ }
52
+ },
13
53
  LineHeight100: {
14
54
  value: 16,
15
55
  attributes: {
@@ -41,6 +81,12 @@ var lineHeightScale = {
41
81
  }
42
82
  },
43
83
  LineHeight600: {
84
+ value: 36,
85
+ attributes: {
86
+ group: 'typography'
87
+ }
88
+ },
89
+ LineHeight700: {
44
90
  value: 40,
45
91
  attributes: {
46
92
  group: 'typography'
@@ -50,25 +96,25 @@ var lineHeightScale = {
50
96
  };
51
97
  var fontWeightScale = {
52
98
  fontWeight: {
53
- FontWeightRegular: {
99
+ FontWeight400: {
54
100
  value: '400',
55
101
  attributes: {
56
102
  group: 'typography'
57
103
  }
58
104
  },
59
- FontWeightMedium: {
105
+ FontWeight500: {
60
106
  value: '500',
61
107
  attributes: {
62
108
  group: 'typography'
63
109
  }
64
110
  },
65
- FontWeightSemiBold: {
111
+ FontWeight600: {
66
112
  value: '600',
67
113
  attributes: {
68
114
  group: 'typography'
69
115
  }
70
116
  },
71
- FontWeightBold: {
117
+ FontWeight700: {
72
118
  value: '700',
73
119
  attributes: {
74
120
  group: 'typography'
@@ -78,14 +124,55 @@ var fontWeightScale = {
78
124
  };
79
125
  var fontFamilyPalette = {
80
126
  fontFamily: {
81
- FontFamilySans: {
127
+ FontFamilyCharlie: {
128
+ value: 'Charlie Sans',
129
+ attributes: {
130
+ group: 'typography'
131
+ }
132
+ },
133
+ LegacyFontFamilyWebSans: {
82
134
  value: "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif",
83
135
  attributes: {
84
136
  group: 'typography'
85
137
  }
86
138
  },
87
- FontFamilyMonospace: {
88
- value: "\"SFMono-Medium\", \"SF Mono\", \"Segoe UI Mono\", \"Roboto Mono\", \"Ubuntu Mono\", Menlo, Consolas, Courier, monospace",
139
+ /**
140
+ * @see https://infinnie.github.io/blog/2017/systemui.html
141
+ * @see https://github.com/twbs/bootstrap/pull/22377
142
+ * @see https://fonts.google.com/knowledge/glossary/system_font_web_safe_font
143
+ */
144
+ FontFamilyWebSans: {
145
+ value: "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
146
+ attributes: {
147
+ group: 'typography'
148
+ }
149
+ },
150
+ FontFamilyiOSSans: {
151
+ value: 'SF Pro',
152
+ attributes: {
153
+ group: 'typography'
154
+ }
155
+ },
156
+ FontFamilyAndroidSans: {
157
+ value: 'Roboto',
158
+ attributes: {
159
+ group: 'typography'
160
+ }
161
+ },
162
+ FontFamilyWebMono: {
163
+ value: "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace",
164
+ attributes: {
165
+ group: 'typography'
166
+ }
167
+ },
168
+ FontFamilyiOSMono: {
169
+ value: 'SF Mono',
170
+ attributes: {
171
+ group: 'typography'
172
+ }
173
+ },
174
+ FontFamilyAndroidMono: {
175
+ value: 'Roboto Mono',
89
176
  attributes: {
90
177
  group: 'typography'
91
178
  }
@@ -94,58 +181,88 @@ var fontFamilyPalette = {
94
181
  };
95
182
  var fontSizeScale = {
96
183
  fontSize: {
97
- FontSize050: {
184
+ FontSizeCode: {
185
+ value: '0.875em',
186
+ attributes: {
187
+ group: 'typography'
188
+ }
189
+ },
190
+ LegacyFontSize11: {
98
191
  value: 11,
99
192
  attributes: {
100
193
  group: 'typography'
101
194
  }
102
195
  },
103
- FontSize075: {
196
+ FontSize12: {
104
197
  value: 12,
105
198
  attributes: {
106
199
  group: 'typography'
107
200
  }
108
201
  },
109
- FontSize100: {
202
+ FontSize14: {
110
203
  value: 14,
111
204
  attributes: {
112
205
  group: 'typography'
113
206
  }
114
207
  },
115
- FontSize200: {
208
+ FontSize16: {
116
209
  value: 16,
117
210
  attributes: {
118
211
  group: 'typography'
119
212
  }
120
213
  },
121
- FontSize300: {
214
+ FontSize20: {
122
215
  value: 20,
123
216
  attributes: {
124
217
  group: 'typography'
125
218
  }
126
219
  },
127
- FontSize400: {
220
+ FontSize24: {
128
221
  value: 24,
129
222
  attributes: {
130
223
  group: 'typography'
131
224
  }
132
225
  },
133
- FontSize500: {
226
+ FontSize28: {
227
+ value: 28,
228
+ attributes: {
229
+ group: 'typography'
230
+ }
231
+ },
232
+ LegacyFontSize29: {
134
233
  value: 29,
135
234
  attributes: {
136
235
  group: 'typography'
137
236
  }
138
237
  },
139
- FontSize600: {
238
+ FontSize32: {
239
+ value: 32,
240
+ attributes: {
241
+ group: 'typography'
242
+ }
243
+ },
244
+ LegacyFontSize35: {
140
245
  value: 35,
141
246
  attributes: {
142
247
  group: 'typography'
143
248
  }
249
+ },
250
+ FontSize36: {
251
+ value: 36,
252
+ attributes: {
253
+ group: 'typography'
254
+ }
255
+ },
256
+ FontSize48: {
257
+ value: 48,
258
+ attributes: {
259
+ group: 'typography'
260
+ }
144
261
  }
145
262
  }
146
263
  };
147
264
  var typographyPalette = {
148
- typography: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, fontSizeScale), fontWeightScale), fontFamilyPalette), lineHeightScale)
265
+ typography: _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, fontSizeScale), fontWeightScale), fontFamilyPalette), lineHeightScale), letterSpacingScale)
149
266
  };
150
267
  var _default = typographyPalette;
151
268
  exports.default = _default;
@@ -41,7 +41,7 @@ exports.themeColorModes = themeColorModes;
41
41
  *
42
42
  * These ids must be kebab case
43
43
  */
44
- var themeIds = ['light', 'dark', 'legacy-light', 'legacy-dark', 'spacing', 'typography', 'shape'];
44
+ var themeIds = ['light', 'dark', 'legacy-light', 'legacy-dark', 'spacing', 'typography', 'shape', 'typography-adg3', 'typography-minor3'];
45
45
  exports.themeIds = themeIds;
46
46
  /**
47
47
  * Theme override ids: the equivalent of themeIds for theme overrides.
@@ -113,9 +113,9 @@ var themeConfig = {
113
113
  type: 'spacing'
114
114
  }
115
115
  },
116
- 'atlassian-typography': {
117
- id: 'typography',
118
- displayName: 'Atlassian Typography',
116
+ 'atlassian-typography-adg3': {
117
+ id: 'typography-adg3',
118
+ displayName: 'ADG3 Typography',
119
119
  palette: 'typographyPalette',
120
120
  attributes: {
121
121
  type: 'typography'
@@ -148,6 +148,22 @@ var themeConfig = {
148
148
  type: 'color',
149
149
  mode: 'dark'
150
150
  }
151
+ },
152
+ 'atlassian-typography': {
153
+ id: 'typography',
154
+ displayName: 'Atlassian Typography (Minor Second)',
155
+ palette: 'typographyPalette',
156
+ attributes: {
157
+ type: 'typography'
158
+ }
159
+ },
160
+ 'atlassian-typography-minor3': {
161
+ id: 'typography-minor3',
162
+ displayName: 'Atlassian Typography (Minor Third)',
163
+ palette: 'typographyPalette',
164
+ attributes: {
165
+ type: 'typography'
166
+ }
151
167
  }
152
168
  };
153
169
 
@@ -8,10 +8,19 @@ var font = {
8
8
  font: {
9
9
  family: {
10
10
  sans: {
11
- value: 'FontFamilySans'
11
+ value: 'FontFamilyWebSans'
12
12
  },
13
13
  monospace: {
14
- value: 'FontFamilyMonospace'
14
+ value: 'FontFamilyWebMono'
15
+ },
16
+ product: {
17
+ value: 'FontFamilyWebSans'
18
+ },
19
+ brand: {
20
+ value: 'FontFamilyCharlie'
21
+ },
22
+ code: {
23
+ value: 'FontFamilyWebMono'
15
24
  }
16
25
  }
17
26
  }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var font = {
8
+ font: {
9
+ letterSpacing: {
10
+ '0': {
11
+ value: 'LetterSpacing0'
12
+ },
13
+ '100': {
14
+ value: 'LetterSpacing0'
15
+ },
16
+ '200': {
17
+ value: 'LetterSpacing0'
18
+ },
19
+ '300': {
20
+ value: 'LetterSpacing0'
21
+ },
22
+ '400': {
23
+ value: 'LetterSpacing0'
24
+ }
25
+ }
26
+ }
27
+ };
28
+ var _default = font;
29
+ exports.default = _default;
@@ -0,0 +1,140 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var typography = {
8
+ font: {
9
+ heading: {
10
+ xxl: {
11
+ value: {
12
+ fontWeight: 'FontWeight700',
13
+ fontSize: 'FontSize36',
14
+ lineHeight: 'LineHeight700',
15
+ fontFamily: 'FontFamilyWebSans',
16
+ fontStyle: 'normal',
17
+ letterSpacing: 'LetterSpacing0'
18
+ }
19
+ },
20
+ xl: {
21
+ value: {
22
+ fontWeight: 'FontWeight700',
23
+ fontSize: 'FontSize28',
24
+ lineHeight: 'LineHeight500',
25
+ fontFamily: 'FontFamilyWebSans',
26
+ fontStyle: 'normal',
27
+ letterSpacing: 'LetterSpacing0'
28
+ }
29
+ },
30
+ lg: {
31
+ value: {
32
+ fontWeight: 'FontWeight700',
33
+ fontSize: 'FontSize24',
34
+ lineHeight: 'LineHeight400',
35
+ fontFamily: 'FontFamilyWebSans',
36
+ fontStyle: 'normal',
37
+ letterSpacing: 'LetterSpacing0'
38
+ }
39
+ },
40
+ md: {
41
+ value: {
42
+ fontWeight: 'FontWeight700',
43
+ fontSize: 'FontSize20',
44
+ lineHeight: 'LineHeight300',
45
+ fontFamily: 'FontFamilyWebSans',
46
+ fontStyle: 'normal',
47
+ letterSpacing: 'LetterSpacing0'
48
+ }
49
+ },
50
+ sm: {
51
+ value: {
52
+ fontWeight: 'FontWeight700',
53
+ fontSize: 'FontSize16',
54
+ lineHeight: 'LineHeight200',
55
+ fontFamily: 'FontFamilyWebSans',
56
+ fontStyle: 'normal',
57
+ letterSpacing: 'LetterSpacing0'
58
+ }
59
+ },
60
+ xs: {
61
+ value: {
62
+ fontWeight: 'FontWeight700',
63
+ fontSize: 'FontSize14',
64
+ lineHeight: 'LineHeight100',
65
+ fontFamily: 'FontFamilyWebSans',
66
+ fontStyle: 'normal',
67
+ letterSpacing: 'LetterSpacing0'
68
+ }
69
+ },
70
+ xxs: {
71
+ value: {
72
+ fontWeight: 'FontWeight700',
73
+ fontSize: 'FontSize12',
74
+ lineHeight: 'LineHeight100',
75
+ fontFamily: 'FontFamilyWebSans',
76
+ fontStyle: 'normal',
77
+ letterSpacing: 'LetterSpacing0'
78
+ }
79
+ }
80
+ },
81
+ code: {
82
+ '[default]': {
83
+ value: {
84
+ fontWeight: 'FontWeight400',
85
+ fontSize: 'FontSizeCode',
86
+ lineHeight: 'LineHeight1',
87
+ fontFamily: 'FontFamilyWebMono',
88
+ fontStyle: 'normal',
89
+ letterSpacing: 'LetterSpacing0'
90
+ }
91
+ }
92
+ },
93
+ body: {
94
+ '[default]': {
95
+ value: {
96
+ fontWeight: 'FontWeight400',
97
+ fontSize: 'FontSize14',
98
+ lineHeight: 'LineHeight200',
99
+ fontFamily: 'FontFamilyWebSans',
100
+ fontStyle: 'normal',
101
+ letterSpacing: 'LetterSpacing0'
102
+ }
103
+ },
104
+ sm: {
105
+ value: {
106
+ fontWeight: 'FontWeight400',
107
+ fontSize: 'FontSize12',
108
+ lineHeight: 'LineHeight200',
109
+ fontFamily: 'FontFamilyWebSans',
110
+ fontStyle: 'normal',
111
+ letterSpacing: 'LetterSpacing0'
112
+ }
113
+ }
114
+ },
115
+ ui: {
116
+ '[default]': {
117
+ value: {
118
+ fontWeight: 'FontWeight400',
119
+ fontSize: 'FontSize14',
120
+ lineHeight: 'LineHeight1',
121
+ fontFamily: 'FontFamilyWebSans',
122
+ fontStyle: 'normal',
123
+ letterSpacing: 'LetterSpacing0'
124
+ }
125
+ },
126
+ sm: {
127
+ value: {
128
+ fontWeight: 'FontWeight400',
129
+ fontSize: 'FontSize12',
130
+ lineHeight: 'LineHeight1',
131
+ fontFamily: 'FontFamilyWebSans',
132
+ fontStyle: 'normal',
133
+ letterSpacing: 'LetterSpacing0'
134
+ }
135
+ }
136
+ }
137
+ }
138
+ };
139
+ var _default = typography;
140
+ exports.default = _default;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var font = {
8
+ font: {
9
+ family: {
10
+ sans: {
11
+ value: 'LegacyFontFamilyWebSans'
12
+ },
13
+ monospace: {
14
+ value: 'FontFamilyWebMono'
15
+ },
16
+ product: {
17
+ value: 'FontFamilyWebSans'
18
+ },
19
+ brand: {
20
+ value: 'FontFamilyCharlie'
21
+ },
22
+ code: {
23
+ value: 'FontFamilyWebMono'
24
+ }
25
+ }
26
+ }
27
+ };
28
+ var _default = font;
29
+ exports.default = _default;
@@ -8,28 +8,28 @@ var font = {
8
8
  font: {
9
9
  size: {
10
10
  '050': {
11
- value: 'FontSize050'
11
+ value: 'LegacyFontSize11'
12
12
  },
13
13
  '075': {
14
- value: 'FontSize075'
14
+ value: 'FontSize12'
15
15
  },
16
16
  '100': {
17
- value: 'FontSize100'
17
+ value: 'FontSize14'
18
18
  },
19
19
  '200': {
20
- value: 'FontSize200'
20
+ value: 'FontSize16'
21
21
  },
22
22
  '300': {
23
- value: 'FontSize300'
23
+ value: 'FontSize20'
24
24
  },
25
25
  '400': {
26
- value: 'FontSize400'
26
+ value: 'FontSize24'
27
27
  },
28
28
  '500': {
29
- value: 'FontSize500'
29
+ value: 'LegacyFontSize29'
30
30
  },
31
31
  '600': {
32
- value: 'FontSize600'
32
+ value: 'LegacyFontSize35'
33
33
  }
34
34
  }
35
35
  }
@@ -8,16 +8,16 @@ var font = {
8
8
  font: {
9
9
  weight: {
10
10
  regular: {
11
- value: 'FontWeightRegular'
11
+ value: 'FontWeight400'
12
12
  },
13
13
  medium: {
14
- value: 'FontWeightMedium'
14
+ value: 'FontWeight500'
15
15
  },
16
16
  semibold: {
17
- value: 'FontWeightSemiBold'
17
+ value: 'FontWeight600'
18
18
  },
19
19
  bold: {
20
- value: 'FontWeightBold'
20
+ value: 'FontWeight700'
21
21
  }
22
22
  }
23
23
  }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var font = {
8
+ font: {
9
+ letterSpacing: {
10
+ '0': {
11
+ value: 'LetterSpacing0'
12
+ },
13
+ '100': {
14
+ value: 'LetterSpacing100'
15
+ },
16
+ '200': {
17
+ value: 'LetterSpacing200'
18
+ },
19
+ '300': {
20
+ value: 'LetterSpacing300'
21
+ },
22
+ '400': {
23
+ value: 'LetterSpacing400'
24
+ }
25
+ }
26
+ }
27
+ };
28
+ var _default = font;
29
+ exports.default = _default;
@@ -7,6 +7,9 @@ exports.default = void 0;
7
7
  var font = {
8
8
  font: {
9
9
  lineHeight: {
10
+ '1': {
11
+ value: 'LineHeight1'
12
+ },
10
13
  '100': {
11
14
  value: 'LineHeight100'
12
15
  },
@@ -23,7 +26,7 @@ var font = {
23
26
  value: 'LineHeight500'
24
27
  },
25
28
  '600': {
26
- value: 'LineHeight600'
29
+ value: 'LineHeight700'
27
30
  }
28
31
  }
29
32
  }