@atlaskit/tokens 1.21.1 → 1.22.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.
- package/CHANGELOG.md +6 -0
- package/dist/cjs/artifacts/themes/atlassian-typography-adg3.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-typography-minor3.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-typography.js +2 -2
- package/dist/cjs/artifacts/token-default-values.js +17 -15
- package/dist/cjs/artifacts/token-names.js +4 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +86 -42
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-minor3.js +86 -42
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +64 -42
- package/dist/cjs/get-token-value.js +1 -1
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/tokens/atlassian-typography/font-family.js +4 -1
- package/dist/cjs/tokens/atlassian-typography/theme.js +13 -13
- package/dist/cjs/tokens/atlassian-typography-adg3/font-family.js +4 -1
- package/dist/cjs/tokens/atlassian-typography-adg3/theme.js +25 -14
- package/dist/cjs/tokens/atlassian-typography-minor3/font-family.js +4 -1
- package/dist/cjs/tokens/atlassian-typography-minor3/theme.js +25 -14
- package/dist/cjs/tokens/default/typography/font-family.js +9 -1
- package/dist/cjs/tokens/default/utility/utility.js +8 -0
- package/dist/es2019/artifacts/themes/atlassian-typography-adg3.js +17 -15
- package/dist/es2019/artifacts/themes/atlassian-typography-minor3.js +17 -15
- package/dist/es2019/artifacts/themes/atlassian-typography.js +16 -15
- package/dist/es2019/artifacts/token-default-values.js +17 -15
- package/dist/es2019/artifacts/token-names.js +4 -2
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +86 -42
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-minor3.js +86 -42
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +64 -42
- package/dist/es2019/get-token-value.js +1 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/tokens/atlassian-typography/font-family.js +4 -1
- package/dist/es2019/tokens/atlassian-typography/theme.js +13 -13
- package/dist/es2019/tokens/atlassian-typography-adg3/font-family.js +4 -1
- package/dist/es2019/tokens/atlassian-typography-adg3/theme.js +25 -14
- package/dist/es2019/tokens/atlassian-typography-minor3/font-family.js +4 -1
- package/dist/es2019/tokens/atlassian-typography-minor3/theme.js +25 -14
- package/dist/es2019/tokens/default/typography/font-family.js +9 -1
- package/dist/es2019/tokens/default/utility/utility.js +8 -0
- package/dist/esm/artifacts/themes/atlassian-typography-adg3.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-typography-minor3.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-typography.js +2 -2
- package/dist/esm/artifacts/token-default-values.js +17 -15
- package/dist/esm/artifacts/token-names.js +4 -2
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +86 -42
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-minor3.js +86 -42
- package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +64 -42
- package/dist/esm/get-token-value.js +1 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/tokens/atlassian-typography/font-family.js +4 -1
- package/dist/esm/tokens/atlassian-typography/theme.js +13 -13
- package/dist/esm/tokens/atlassian-typography-adg3/font-family.js +4 -1
- package/dist/esm/tokens/atlassian-typography-adg3/theme.js +25 -14
- package/dist/esm/tokens/atlassian-typography-minor3/font-family.js +4 -1
- package/dist/esm/tokens/atlassian-typography-minor3/theme.js +25 -14
- package/dist/esm/tokens/default/typography/font-family.js +9 -1
- package/dist/esm/tokens/default/utility/utility.js +8 -0
- package/dist/types/artifacts/themes/atlassian-typography-adg3.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-typography-minor3.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-typography.d.ts +2 -2
- package/dist/types/artifacts/token-default-values.d.ts +17 -15
- package/dist/types/artifacts/token-names.d.ts +7 -3
- package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +10 -10
- package/dist/types/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +10 -10
- package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +1 -1
- package/dist/types/artifacts/types-internal.d.ts +2 -2
- package/dist/types/artifacts/types.d.ts +2 -2
- package/dist/types/tokens/atlassian-typography-adg3/theme.d.ts +145 -10
- package/dist/types/tokens/atlassian-typography-minor3/theme.d.ts +145 -10
- package/dist/types/types.d.ts +16 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography-adg3.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography-minor3.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/token-default-values.d.ts +17 -15
- package/dist/types-ts4.5/artifacts/token-names.d.ts +7 -3
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +10 -10
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +10 -10
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/types-internal.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/types.d.ts +2 -2
- package/dist/types-ts4.5/tokens/atlassian-typography-adg3/theme.d.ts +145 -10
- package/dist/types-ts4.5/tokens/atlassian-typography-minor3/theme.d.ts +145 -10
- package/dist/types-ts4.5/types.d.ts +16 -2
- package/figma/atlassian-typography-adg3.json +15 -6
- package/figma/atlassian-typography-minor3.json +15 -6
- package/figma/atlassian-typography.json +15 -6
- package/package.json +1 -1
- package/report.api.md +41 -3
- package/tmp/api-report-tmp.d.ts +34 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/tokens
|
|
2
2
|
|
|
3
|
+
## 1.22.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`3d5c5dbe08c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3d5c5dbe08c) - Adds UNSAFE_textTransformUppercase token. This token should not be used directly unless to aid a migration.
|
|
8
|
+
|
|
3
9
|
## 1.21.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
8
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
9
|
-
* @codegen <<SignedSource::
|
|
9
|
+
* @codegen <<SignedSource::86a1df1a5baba529610e15ed684ea4b8>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
|
-
var _default = "\nhtml[data-theme~=\"typography:typography-adg3\"] {\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-
|
|
12
|
+
var _default = "\nhtml[data-theme~=\"typography:typography-adg3\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-body);\n --ds-font-body-lg: normal 400 1rem/1.5rem var(--ds-font-family-body);\n --ds-font-body-sm: normal 400 0.6875rem/1.25rem var(--ds-font-family-body);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-code);\n --ds-font-heading-lg: normal 500 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-md: normal 500 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-sm: normal 600 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xl: normal 600 1.8125rem/2rem var(--ds-font-family-heading);\n --ds-font-heading-xs: normal 600 0.875rem/1rem var(--ds-font-family-heading);\n --ds-font-heading-xxl: normal 500 2.1875rem/2.5rem var(--ds-font-family-heading);\n --ds-font-heading-xxs: normal 600 0.75rem/1rem var(--ds-font-family-heading);\n --ds-font-letterSpacing-0: 0;\n --ds-font-letterSpacing-100: -0.003em;\n --ds-font-letterSpacing-200: -0.006em;\n --ds-font-letterSpacing-300: -0.008em;\n --ds-font-letterSpacing-400: -0.01em;\n --ds-font-ui: normal 400 0.875rem/1 var(--ds-font-family-body);\n --ds-font-ui-sm: normal 400 0.6875rem/1 var(--ds-font-family-body);\n --ds-font-family-body: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-heading: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-sans: -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n --ds-font-size-050: 0.6875rem;\n --ds-font-size-075: 0.75rem;\n --ds-font-size-100: 0.875rem;\n --ds-font-size-200: 1rem;\n --ds-font-size-300: 1.25rem;\n --ds-font-size-400: 1.5rem;\n --ds-font-size-500: 1.8125rem;\n --ds-font-size-600: 2.1875rem;\n --ds-font-weight-bold: 700;\n --ds-font-weight-medium: 500;\n --ds-font-weight-regular: 400;\n --ds-font-weight-semibold: 600;\n --ds-font-lineHeight-1: 1;\n --ds-font-lineHeight-100: 1rem;\n --ds-font-lineHeight-200: 1.25rem;\n --ds-font-lineHeight-300: 1.5rem;\n --ds-font-lineHeight-400: 1.75rem;\n --ds-font-lineHeight-500: 2rem;\n --ds-font-lineHeight-600: 2.5rem;\n}\n";
|
|
13
13
|
exports.default = _default;
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
8
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
9
|
-
* @codegen <<SignedSource::
|
|
9
|
+
* @codegen <<SignedSource::0975666a75bd15b63756e59298935cf5>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
|
-
var _default = "\nhtml[data-theme~=\"typography:typography-minor3\"] {\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-
|
|
12
|
+
var _default = "\nhtml[data-theme~=\"typography:typography-minor3\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-body);\n --ds-font-body-lg: normal 400 1rem/1.5rem var(--ds-font-family-body);\n --ds-font-body-sm: normal 400 0.75rem/1.25rem var(--ds-font-family-body);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-code);\n --ds-font-heading-lg: normal 700 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-md: normal 700 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-sm: normal 700 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xl: normal 700 1.75rem/2rem var(--ds-font-family-heading);\n --ds-font-heading-xs: normal 700 0.875rem/1rem var(--ds-font-family-heading);\n --ds-font-heading-xxl: normal 700 2rem/2.25rem var(--ds-font-family-heading);\n --ds-font-heading-xxs: normal 700 0.75rem/1rem var(--ds-font-family-heading);\n --ds-font-letterSpacing-0: 0;\n --ds-font-letterSpacing-100: 0;\n --ds-font-letterSpacing-200: 0;\n --ds-font-letterSpacing-300: 0;\n --ds-font-letterSpacing-400: 0;\n --ds-font-ui: normal 400 0.875rem/1 var(--ds-font-family-body);\n --ds-font-ui-sm: normal 400 0.75rem/1 var(--ds-font-family-body);\n --ds-font-family-body: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-heading: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-sans: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n}\n";
|
|
13
13
|
exports.default = _default;
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
8
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
9
|
-
* @codegen <<SignedSource::
|
|
9
|
+
* @codegen <<SignedSource::349dc9dd4c283b60434a93a228019eb8>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
|
-
var _default = "\nhtml[data-theme~=\"typography:typography\"] {\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-
|
|
12
|
+
var _default = "\nhtml[data-theme~=\"typography:typography\"] {\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-body);\n --ds-font-body-lg: normal 400 1rem/1.5rem var(--ds-font-family-body);\n --ds-font-body-sm: normal 400 0.75rem/1.25rem var(--ds-font-family-body);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-code);\n --ds-font-heading-lg: normal 700 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-md: normal 700 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-sm: normal 700 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xl: normal 700 1.75rem/2rem var(--ds-font-family-heading);\n --ds-font-heading-xs: normal 700 0.875rem/1rem var(--ds-font-family-heading);\n --ds-font-heading-xxl: normal 700 2.25rem/2.5rem var(--ds-font-family-heading);\n --ds-font-heading-xxs: normal 700 0.75rem/1rem var(--ds-font-family-heading);\n --ds-font-letterSpacing-0: 0;\n --ds-font-letterSpacing-100: 0;\n --ds-font-letterSpacing-200: 0;\n --ds-font-letterSpacing-300: 0;\n --ds-font-letterSpacing-400: 0;\n --ds-font-ui: normal 400 0.875rem/1 var(--ds-font-family-body);\n --ds-font-ui-sm: normal 400 0.75rem/1 var(--ds-font-family-body);\n --ds-font-family-body: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-heading: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-sans: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n}\n";
|
|
13
13
|
exports.default = _default;
|
|
@@ -13,7 +13,7 @@ exports.default = void 0;
|
|
|
13
13
|
* Token names mapped to their value in the default Atlassian themes ('light').
|
|
14
14
|
* These default values are used by the Babel plugin to optionally provide automatic fallbacks.
|
|
15
15
|
*
|
|
16
|
-
* @codegen <<SignedSource::
|
|
16
|
+
* @codegen <<SignedSource::2ed9c3b5219514c1dd5c348fb4647ed3>>
|
|
17
17
|
* @codegenCommand yarn build tokens
|
|
18
18
|
*/
|
|
19
19
|
var defaultTokenValues = {
|
|
@@ -402,6 +402,7 @@ var defaultTokenValues = {
|
|
|
402
402
|
'elevation.shadow.raised': '0px 1px 1px #091E4240, 0px 0px 1px #091E424F',
|
|
403
403
|
'opacity.disabled': '0.4',
|
|
404
404
|
'opacity.loading': '0.2',
|
|
405
|
+
'utility.UNSAFE.textTransformUppercase': 'uppercase',
|
|
405
406
|
'utility.UNSAFE.transparent': 'transparent',
|
|
406
407
|
'utility.elevation.surface.current': '#FFFFFF',
|
|
407
408
|
'border.radius.050': '0.125rem',
|
|
@@ -438,27 +439,28 @@ var defaultTokenValues = {
|
|
|
438
439
|
'space.negative.250': '-1.25rem',
|
|
439
440
|
'space.negative.300': '-1.5rem',
|
|
440
441
|
'space.negative.400': '-2rem',
|
|
441
|
-
'font.body': 'normal 400 0.875rem/1.25rem
|
|
442
|
-
'font.body.lg': 'normal 400 1rem/1.5rem
|
|
443
|
-
'font.body.sm': 'normal 400 0.6875rem/1.25rem
|
|
444
|
-
'font.code': 'normal 400 0.875em/1
|
|
445
|
-
'font.heading.lg': 'normal 500 1.5rem/1.75rem
|
|
446
|
-
'font.heading.md': 'normal 500 1.25rem/1.5rem
|
|
447
|
-
'font.heading.sm': 'normal 600 1rem/1.25rem
|
|
448
|
-
'font.heading.xl': 'normal 600 1.8125rem/2rem
|
|
449
|
-
'font.heading.xs': 'normal 600 0.875rem/1rem
|
|
450
|
-
'font.heading.xxl': 'normal 500 2.1875rem/2.5rem
|
|
451
|
-
'font.heading.xxs': 'normal 600 0.75rem/1rem
|
|
442
|
+
'font.body': 'normal 400 0.875rem/1.25rem var(--ds-font-family-body)',
|
|
443
|
+
'font.body.lg': 'normal 400 1rem/1.5rem var(--ds-font-family-body)',
|
|
444
|
+
'font.body.sm': 'normal 400 0.6875rem/1.25rem var(--ds-font-family-body)',
|
|
445
|
+
'font.code': 'normal 400 0.875em/1 var(--ds-font-family-code)',
|
|
446
|
+
'font.heading.lg': 'normal 500 1.5rem/1.75rem var(--ds-font-family-heading)',
|
|
447
|
+
'font.heading.md': 'normal 500 1.25rem/1.5rem var(--ds-font-family-heading)',
|
|
448
|
+
'font.heading.sm': 'normal 600 1rem/1.25rem var(--ds-font-family-heading)',
|
|
449
|
+
'font.heading.xl': 'normal 600 1.8125rem/2rem var(--ds-font-family-heading)',
|
|
450
|
+
'font.heading.xs': 'normal 600 0.875rem/1rem var(--ds-font-family-heading)',
|
|
451
|
+
'font.heading.xxl': 'normal 500 2.1875rem/2.5rem var(--ds-font-family-heading)',
|
|
452
|
+
'font.heading.xxs': 'normal 600 0.75rem/1rem var(--ds-font-family-heading)',
|
|
452
453
|
'font.letterSpacing.0': '0',
|
|
453
454
|
'font.letterSpacing.100': '-0.003em',
|
|
454
455
|
'font.letterSpacing.200': '-0.006em',
|
|
455
456
|
'font.letterSpacing.300': '-0.008em',
|
|
456
457
|
'font.letterSpacing.400': '-0.01em',
|
|
457
|
-
'font.ui': 'normal 400 0.875rem/1
|
|
458
|
-
'font.ui.sm': 'normal 400 0.6875rem/1
|
|
458
|
+
'font.ui': 'normal 400 0.875rem/1 var(--ds-font-family-body)',
|
|
459
|
+
'font.ui.sm': 'normal 400 0.6875rem/1 var(--ds-font-family-body)',
|
|
460
|
+
'font.family.body': 'ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif',
|
|
459
461
|
'font.family.code': 'ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace',
|
|
462
|
+
'font.family.heading': 'ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif',
|
|
460
463
|
'font.family.monospace': 'ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace',
|
|
461
|
-
'font.family.product': 'ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif',
|
|
462
464
|
'font.family.sans': '-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif',
|
|
463
465
|
'font.family.brand': 'Charlie Sans',
|
|
464
466
|
'font.size.050': '0.6875rem',
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
8
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
9
|
-
* @codegen <<SignedSource::
|
|
9
|
+
* @codegen <<SignedSource::9b8fdc7df9d7269fb27f22c5e06d7743>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
12
|
var tokens = {
|
|
@@ -395,6 +395,7 @@ var tokens = {
|
|
|
395
395
|
'elevation.shadow.raised': '--ds-shadow-raised',
|
|
396
396
|
'opacity.disabled': '--ds-opacity-disabled',
|
|
397
397
|
'opacity.loading': '--ds-opacity-loading',
|
|
398
|
+
'utility.UNSAFE.textTransformUppercase': '--ds-UNSAFE-textTransformUppercase',
|
|
398
399
|
'utility.UNSAFE.transparent': '--ds-UNSAFE-transparent',
|
|
399
400
|
'utility.elevation.surface.current': '--ds-elevation-surface-current',
|
|
400
401
|
'border.radius.050': '--ds-border-radius-050',
|
|
@@ -449,9 +450,10 @@ var tokens = {
|
|
|
449
450
|
'font.letterSpacing.400': '--ds-font-letterSpacing-400',
|
|
450
451
|
'font.ui': '--ds-font-ui',
|
|
451
452
|
'font.ui.sm': '--ds-font-ui-sm',
|
|
453
|
+
'font.family.body': '--ds-font-family-body',
|
|
452
454
|
'font.family.code': '--ds-font-family-code',
|
|
455
|
+
'font.family.heading': '--ds-font-family-heading',
|
|
453
456
|
'font.family.monospace': '--ds-font-family-monospace',
|
|
454
|
-
'font.family.product': '--ds-font-family-product',
|
|
455
457
|
'font.family.sans': '--ds-font-family-sans',
|
|
456
458
|
'font.family.brand': '--ds-font-family-brand',
|
|
457
459
|
'font.size.050': '--ds-font-size-050',
|
|
@@ -6,17 +6,39 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
8
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
9
|
-
* @codegen <<SignedSource::
|
|
9
|
+
* @codegen <<SignedSource::ea0accce09567f9c3a6ee559e04e4e33>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
12
|
var tokens = [{
|
|
13
|
+
"attributes": {
|
|
14
|
+
"group": "raw",
|
|
15
|
+
"state": "active",
|
|
16
|
+
"introduced": "1.20.1",
|
|
17
|
+
"description": "Text transform uppercase token used for backwards compatibility between new and old theming solutions"
|
|
18
|
+
},
|
|
19
|
+
"value": "uppercase",
|
|
20
|
+
"filePath": "src/tokens/atlassian-typography-adg3/theme.tsx",
|
|
21
|
+
"isSource": true,
|
|
22
|
+
"original": {
|
|
23
|
+
"attributes": {
|
|
24
|
+
"group": "raw",
|
|
25
|
+
"state": "active",
|
|
26
|
+
"introduced": "1.20.1",
|
|
27
|
+
"description": "Text transform uppercase token used for backwards compatibility between new and old theming solutions"
|
|
28
|
+
},
|
|
29
|
+
"value": "uppercase"
|
|
30
|
+
},
|
|
31
|
+
"name": "utility.UNSAFE.textTransformUppercase",
|
|
32
|
+
"path": ["utility", "UNSAFE", "textTransformUppercase"],
|
|
33
|
+
"cleanName": "utility.UNSAFE.textTransformUppercase"
|
|
34
|
+
}, {
|
|
13
35
|
"attributes": {
|
|
14
36
|
"group": "typography",
|
|
15
37
|
"state": "experimental",
|
|
16
38
|
"introduced": "1.14.0",
|
|
17
39
|
"description": "The default body font."
|
|
18
40
|
},
|
|
19
|
-
"value": "normal 400 14px/20px
|
|
41
|
+
"value": "normal 400 14px/20px var(--ds-font-family-body)",
|
|
20
42
|
"filePath": "src/tokens/atlassian-typography-adg3/theme.tsx",
|
|
21
43
|
"isSource": true,
|
|
22
44
|
"original": {
|
|
@@ -30,7 +52,7 @@ var tokens = [{
|
|
|
30
52
|
"fontWeight": "FontWeight400",
|
|
31
53
|
"fontSize": "FontSize14",
|
|
32
54
|
"lineHeight": "LineHeight200",
|
|
33
|
-
"fontFamily": "
|
|
55
|
+
"fontFamily": "font.family.body",
|
|
34
56
|
"fontStyle": "normal",
|
|
35
57
|
"letterSpacing": "LetterSpacing0"
|
|
36
58
|
}
|
|
@@ -45,7 +67,7 @@ var tokens = [{
|
|
|
45
67
|
"introduced": "1.14.0",
|
|
46
68
|
"description": "Larger body font or default body font for text rich experiences."
|
|
47
69
|
},
|
|
48
|
-
"value": "normal 400 16px/24px
|
|
70
|
+
"value": "normal 400 16px/24px var(--ds-font-family-body)",
|
|
49
71
|
"filePath": "src/tokens/atlassian-typography-adg3/theme.tsx",
|
|
50
72
|
"isSource": true,
|
|
51
73
|
"original": {
|
|
@@ -59,7 +81,7 @@ var tokens = [{
|
|
|
59
81
|
"fontWeight": "FontWeight400",
|
|
60
82
|
"fontSize": "FontSize16",
|
|
61
83
|
"lineHeight": "LineHeight300",
|
|
62
|
-
"fontFamily": "
|
|
84
|
+
"fontFamily": "font.family.body",
|
|
63
85
|
"fontStyle": "normal",
|
|
64
86
|
"letterSpacing": "LetterSpacing0"
|
|
65
87
|
}
|
|
@@ -74,7 +96,7 @@ var tokens = [{
|
|
|
74
96
|
"introduced": "1.14.0",
|
|
75
97
|
"description": "Smaller body font."
|
|
76
98
|
},
|
|
77
|
-
"value": "normal 400 11px/20px
|
|
99
|
+
"value": "normal 400 11px/20px var(--ds-font-family-body)",
|
|
78
100
|
"filePath": "src/tokens/atlassian-typography-adg3/theme.tsx",
|
|
79
101
|
"isSource": true,
|
|
80
102
|
"original": {
|
|
@@ -88,7 +110,7 @@ var tokens = [{
|
|
|
88
110
|
"fontWeight": "FontWeight400",
|
|
89
111
|
"fontSize": "LegacyFontSize11",
|
|
90
112
|
"lineHeight": "LineHeight200",
|
|
91
|
-
"fontFamily": "
|
|
113
|
+
"fontFamily": "font.family.body",
|
|
92
114
|
"fontStyle": "normal",
|
|
93
115
|
"letterSpacing": "LetterSpacing0"
|
|
94
116
|
}
|
|
@@ -103,7 +125,7 @@ var tokens = [{
|
|
|
103
125
|
"introduced": "1.14.0",
|
|
104
126
|
"description": "Used for monospace and code."
|
|
105
127
|
},
|
|
106
|
-
"value": "normal 400 0.875em/1
|
|
128
|
+
"value": "normal 400 0.875em/1 var(--ds-font-family-code)",
|
|
107
129
|
"filePath": "src/tokens/atlassian-typography-adg3/theme.tsx",
|
|
108
130
|
"isSource": true,
|
|
109
131
|
"original": {
|
|
@@ -117,7 +139,7 @@ var tokens = [{
|
|
|
117
139
|
"fontWeight": "FontWeight400",
|
|
118
140
|
"fontSize": "FontSizeCode",
|
|
119
141
|
"lineHeight": "LineHeight1",
|
|
120
|
-
"fontFamily": "
|
|
142
|
+
"fontFamily": "font.family.code",
|
|
121
143
|
"fontStyle": "normal",
|
|
122
144
|
"letterSpacing": "LetterSpacing0"
|
|
123
145
|
}
|
|
@@ -132,7 +154,7 @@ var tokens = [{
|
|
|
132
154
|
"introduced": "1.14.0",
|
|
133
155
|
"description": "TBD"
|
|
134
156
|
},
|
|
135
|
-
"value": "normal 500 24px/28px
|
|
157
|
+
"value": "normal 500 24px/28px var(--ds-font-family-heading)",
|
|
136
158
|
"filePath": "src/tokens/atlassian-typography-adg3/theme.tsx",
|
|
137
159
|
"isSource": true,
|
|
138
160
|
"original": {
|
|
@@ -146,7 +168,7 @@ var tokens = [{
|
|
|
146
168
|
"fontWeight": "FontWeight500",
|
|
147
169
|
"fontSize": "FontSize24",
|
|
148
170
|
"lineHeight": "LineHeight400",
|
|
149
|
-
"fontFamily": "
|
|
171
|
+
"fontFamily": "font.family.heading",
|
|
150
172
|
"fontStyle": "normal",
|
|
151
173
|
"letterSpacing": "LetterSpacing400"
|
|
152
174
|
}
|
|
@@ -161,7 +183,7 @@ var tokens = [{
|
|
|
161
183
|
"introduced": "1.14.0",
|
|
162
184
|
"description": "TBD"
|
|
163
185
|
},
|
|
164
|
-
"value": "normal 500 20px/24px
|
|
186
|
+
"value": "normal 500 20px/24px var(--ds-font-family-heading)",
|
|
165
187
|
"filePath": "src/tokens/atlassian-typography-adg3/theme.tsx",
|
|
166
188
|
"isSource": true,
|
|
167
189
|
"original": {
|
|
@@ -175,7 +197,7 @@ var tokens = [{
|
|
|
175
197
|
"fontWeight": "FontWeight500",
|
|
176
198
|
"fontSize": "FontSize20",
|
|
177
199
|
"lineHeight": "LineHeight300",
|
|
178
|
-
"fontFamily": "
|
|
200
|
+
"fontFamily": "font.family.heading",
|
|
179
201
|
"fontStyle": "normal",
|
|
180
202
|
"letterSpacing": "LetterSpacing300"
|
|
181
203
|
}
|
|
@@ -190,7 +212,7 @@ var tokens = [{
|
|
|
190
212
|
"introduced": "1.14.0",
|
|
191
213
|
"description": "TBD"
|
|
192
214
|
},
|
|
193
|
-
"value": "normal 600 16px/20px
|
|
215
|
+
"value": "normal 600 16px/20px var(--ds-font-family-heading)",
|
|
194
216
|
"filePath": "src/tokens/atlassian-typography-adg3/theme.tsx",
|
|
195
217
|
"isSource": true,
|
|
196
218
|
"original": {
|
|
@@ -204,7 +226,7 @@ var tokens = [{
|
|
|
204
226
|
"fontWeight": "FontWeight600",
|
|
205
227
|
"fontSize": "FontSize16",
|
|
206
228
|
"lineHeight": "LineHeight200",
|
|
207
|
-
"fontFamily": "
|
|
229
|
+
"fontFamily": "font.family.heading",
|
|
208
230
|
"fontStyle": "normal",
|
|
209
231
|
"letterSpacing": "LetterSpacing200"
|
|
210
232
|
}
|
|
@@ -219,7 +241,7 @@ var tokens = [{
|
|
|
219
241
|
"introduced": "1.14.0",
|
|
220
242
|
"description": "TBD"
|
|
221
243
|
},
|
|
222
|
-
"value": "normal 600 29px/32px
|
|
244
|
+
"value": "normal 600 29px/32px var(--ds-font-family-heading)",
|
|
223
245
|
"filePath": "src/tokens/atlassian-typography-adg3/theme.tsx",
|
|
224
246
|
"isSource": true,
|
|
225
247
|
"original": {
|
|
@@ -233,7 +255,7 @@ var tokens = [{
|
|
|
233
255
|
"fontWeight": "FontWeight600",
|
|
234
256
|
"fontSize": "LegacyFontSize29",
|
|
235
257
|
"lineHeight": "LineHeight500",
|
|
236
|
-
"fontFamily": "
|
|
258
|
+
"fontFamily": "font.family.heading",
|
|
237
259
|
"fontStyle": "normal",
|
|
238
260
|
"letterSpacing": "LetterSpacing400"
|
|
239
261
|
}
|
|
@@ -248,7 +270,7 @@ var tokens = [{
|
|
|
248
270
|
"introduced": "1.14.0",
|
|
249
271
|
"description": "TBD"
|
|
250
272
|
},
|
|
251
|
-
"value": "normal 600 14px/16px
|
|
273
|
+
"value": "normal 600 14px/16px var(--ds-font-family-heading)",
|
|
252
274
|
"filePath": "src/tokens/atlassian-typography-adg3/theme.tsx",
|
|
253
275
|
"isSource": true,
|
|
254
276
|
"original": {
|
|
@@ -262,7 +284,7 @@ var tokens = [{
|
|
|
262
284
|
"fontWeight": "FontWeight600",
|
|
263
285
|
"fontSize": "FontSize14",
|
|
264
286
|
"lineHeight": "LineHeight100",
|
|
265
|
-
"fontFamily": "
|
|
287
|
+
"fontFamily": "font.family.heading",
|
|
266
288
|
"fontStyle": "normal",
|
|
267
289
|
"letterSpacing": "LetterSpacing100"
|
|
268
290
|
}
|
|
@@ -277,7 +299,7 @@ var tokens = [{
|
|
|
277
299
|
"introduced": "1.14.0",
|
|
278
300
|
"description": "TBD"
|
|
279
301
|
},
|
|
280
|
-
"value": "normal 500 35px/40px
|
|
302
|
+
"value": "normal 500 35px/40px var(--ds-font-family-heading)",
|
|
281
303
|
"filePath": "src/tokens/atlassian-typography-adg3/theme.tsx",
|
|
282
304
|
"isSource": true,
|
|
283
305
|
"original": {
|
|
@@ -291,7 +313,7 @@ var tokens = [{
|
|
|
291
313
|
"fontWeight": "FontWeight500",
|
|
292
314
|
"fontSize": "LegacyFontSize35",
|
|
293
315
|
"lineHeight": "LineHeight700",
|
|
294
|
-
"fontFamily": "
|
|
316
|
+
"fontFamily": "font.family.heading",
|
|
295
317
|
"fontStyle": "normal",
|
|
296
318
|
"letterSpacing": "LetterSpacing400"
|
|
297
319
|
}
|
|
@@ -306,7 +328,7 @@ var tokens = [{
|
|
|
306
328
|
"introduced": "1.14.0",
|
|
307
329
|
"description": "TBD"
|
|
308
330
|
},
|
|
309
|
-
"value": "normal 600 12px/16px
|
|
331
|
+
"value": "normal 600 12px/16px var(--ds-font-family-heading)",
|
|
310
332
|
"filePath": "src/tokens/atlassian-typography-adg3/theme.tsx",
|
|
311
333
|
"isSource": true,
|
|
312
334
|
"original": {
|
|
@@ -320,7 +342,7 @@ var tokens = [{
|
|
|
320
342
|
"fontWeight": "FontWeight600",
|
|
321
343
|
"fontSize": "FontSize12",
|
|
322
344
|
"lineHeight": "LineHeight100",
|
|
323
|
-
"fontFamily": "
|
|
345
|
+
"fontFamily": "font.family.heading",
|
|
324
346
|
"fontStyle": "normal",
|
|
325
347
|
"letterSpacing": "LetterSpacing0"
|
|
326
348
|
}
|
|
@@ -445,7 +467,7 @@ var tokens = [{
|
|
|
445
467
|
"introduced": "1.14.0",
|
|
446
468
|
"description": "Single-line non-wrapping text like that in a button."
|
|
447
469
|
},
|
|
448
|
-
"value": "normal 400 14px/1
|
|
470
|
+
"value": "normal 400 14px/1 var(--ds-font-family-body)",
|
|
449
471
|
"filePath": "src/tokens/atlassian-typography-adg3/theme.tsx",
|
|
450
472
|
"isSource": true,
|
|
451
473
|
"original": {
|
|
@@ -459,7 +481,7 @@ var tokens = [{
|
|
|
459
481
|
"fontWeight": "FontWeight400",
|
|
460
482
|
"fontSize": "FontSize14",
|
|
461
483
|
"lineHeight": "LineHeight1",
|
|
462
|
-
"fontFamily": "
|
|
484
|
+
"fontFamily": "font.family.body",
|
|
463
485
|
"fontStyle": "normal",
|
|
464
486
|
"letterSpacing": "LetterSpacing0"
|
|
465
487
|
}
|
|
@@ -474,7 +496,7 @@ var tokens = [{
|
|
|
474
496
|
"introduced": "1.14.0",
|
|
475
497
|
"description": "Single-line non-wrapping supporting text like that in a smaller label."
|
|
476
498
|
},
|
|
477
|
-
"value": "normal 400 11px/1
|
|
499
|
+
"value": "normal 400 11px/1 var(--ds-font-family-body)",
|
|
478
500
|
"filePath": "src/tokens/atlassian-typography-adg3/theme.tsx",
|
|
479
501
|
"isSource": true,
|
|
480
502
|
"original": {
|
|
@@ -488,7 +510,7 @@ var tokens = [{
|
|
|
488
510
|
"fontWeight": "FontWeight400",
|
|
489
511
|
"fontSize": "LegacyFontSize11",
|
|
490
512
|
"lineHeight": "LineHeight1",
|
|
491
|
-
"fontFamily": "
|
|
513
|
+
"fontFamily": "font.family.body",
|
|
492
514
|
"fontStyle": "normal",
|
|
493
515
|
"letterSpacing": "LetterSpacing0"
|
|
494
516
|
}
|
|
@@ -503,7 +525,7 @@ var tokens = [{
|
|
|
503
525
|
"introduced": "1.14.0",
|
|
504
526
|
"description": "Helpful guidance goes here"
|
|
505
527
|
},
|
|
506
|
-
"value": "ui-
|
|
528
|
+
"value": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
|
|
507
529
|
"filePath": "src/tokens/atlassian-typography-adg3/font-family.tsx",
|
|
508
530
|
"isSource": true,
|
|
509
531
|
"original": {
|
|
@@ -513,16 +535,16 @@ var tokens = [{
|
|
|
513
535
|
"introduced": "1.14.0",
|
|
514
536
|
"description": "Helpful guidance goes here"
|
|
515
537
|
},
|
|
516
|
-
"value": "
|
|
538
|
+
"value": "FontFamilyWebSans"
|
|
517
539
|
},
|
|
518
|
-
"name": "font.family.
|
|
519
|
-
"path": ["font", "family", "
|
|
520
|
-
"cleanName": "font.family.
|
|
540
|
+
"name": "font.family.body",
|
|
541
|
+
"path": ["font", "family", "body"],
|
|
542
|
+
"cleanName": "font.family.body"
|
|
521
543
|
}, {
|
|
522
544
|
"attributes": {
|
|
523
545
|
"group": "fontFamily",
|
|
524
|
-
"state": "
|
|
525
|
-
"introduced": "
|
|
546
|
+
"state": "experimental",
|
|
547
|
+
"introduced": "1.14.0",
|
|
526
548
|
"description": "Helpful guidance goes here"
|
|
527
549
|
},
|
|
528
550
|
"value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace",
|
|
@@ -531,15 +553,15 @@ var tokens = [{
|
|
|
531
553
|
"original": {
|
|
532
554
|
"attributes": {
|
|
533
555
|
"group": "fontFamily",
|
|
534
|
-
"state": "
|
|
535
|
-
"introduced": "
|
|
556
|
+
"state": "experimental",
|
|
557
|
+
"introduced": "1.14.0",
|
|
536
558
|
"description": "Helpful guidance goes here"
|
|
537
559
|
},
|
|
538
560
|
"value": "FontFamilyWebMono"
|
|
539
561
|
},
|
|
540
|
-
"name": "font.family.
|
|
541
|
-
"path": ["font", "family", "
|
|
542
|
-
"cleanName": "font.family.
|
|
562
|
+
"name": "font.family.code",
|
|
563
|
+
"path": ["font", "family", "code"],
|
|
564
|
+
"cleanName": "font.family.code"
|
|
543
565
|
}, {
|
|
544
566
|
"attributes": {
|
|
545
567
|
"group": "fontFamily",
|
|
@@ -559,9 +581,31 @@ var tokens = [{
|
|
|
559
581
|
},
|
|
560
582
|
"value": "FontFamilyWebSans"
|
|
561
583
|
},
|
|
562
|
-
"name": "font.family.
|
|
563
|
-
"path": ["font", "family", "
|
|
564
|
-
"cleanName": "font.family.
|
|
584
|
+
"name": "font.family.heading",
|
|
585
|
+
"path": ["font", "family", "heading"],
|
|
586
|
+
"cleanName": "font.family.heading"
|
|
587
|
+
}, {
|
|
588
|
+
"attributes": {
|
|
589
|
+
"group": "fontFamily",
|
|
590
|
+
"state": "active",
|
|
591
|
+
"introduced": "0.10.33",
|
|
592
|
+
"description": "Helpful guidance goes here"
|
|
593
|
+
},
|
|
594
|
+
"value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace",
|
|
595
|
+
"filePath": "src/tokens/atlassian-typography-adg3/font-family.tsx",
|
|
596
|
+
"isSource": true,
|
|
597
|
+
"original": {
|
|
598
|
+
"attributes": {
|
|
599
|
+
"group": "fontFamily",
|
|
600
|
+
"state": "active",
|
|
601
|
+
"introduced": "0.10.33",
|
|
602
|
+
"description": "Helpful guidance goes here"
|
|
603
|
+
},
|
|
604
|
+
"value": "FontFamilyWebMono"
|
|
605
|
+
},
|
|
606
|
+
"name": "font.family.monospace",
|
|
607
|
+
"path": ["font", "family", "monospace"],
|
|
608
|
+
"cleanName": "font.family.monospace"
|
|
565
609
|
}, {
|
|
566
610
|
"attributes": {
|
|
567
611
|
"group": "fontFamily",
|