@atlaskit/tokens 1.49.0 → 1.50.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 +1589 -1591
- package/README.md +14 -8
- package/codemods/css-to-design-tokens/lib/colors.tsx +47 -49
- package/codemods/css-to-design-tokens/lib/declaration.tsx +26 -26
- package/codemods/css-to-design-tokens/lib/legacy-colors.tsx +326 -326
- package/codemods/css-to-design-tokens/lib/meta.tsx +116 -122
- package/codemods/css-to-design-tokens/lib/tokens.tsx +28 -35
- package/codemods/css-to-design-tokens/lib/value.tsx +70 -72
- package/codemods/css-to-design-tokens/transform.tsx +68 -72
- package/codemods/hypermod.config.tsx +5 -5
- package/codemods/remove-fallbacks-color/transform.tsx +16 -18
- package/codemods/theme-to-design-tokens/transform.tsx +505 -588
- package/codemods/theme-to-design-tokens/utils/ast-meta.tsx +139 -147
- package/codemods/theme-to-design-tokens/utils/ast.tsx +23 -34
- package/codemods/theme-to-design-tokens/utils/color.tsx +25 -26
- package/codemods/theme-to-design-tokens/utils/css-utils.tsx +27 -30
- package/codemods/theme-to-design-tokens/utils/fuzzy-search.tsx +272 -290
- package/codemods/theme-to-design-tokens/utils/legacy-colors.tsx +224 -224
- package/codemods/theme-to-design-tokens/utils/named-colors.tsx +148 -148
- package/codemods/theme-to-design-tokens/utils/string-utils.tsx +10 -16
- package/codemods/utils/tokens.tsx +371 -371
- package/dist/cjs/artifacts/atlassian-dark-token-value-for-contrast-check.js +1 -1
- package/dist/cjs/artifacts/atlassian-light-token-value-for-contrast-check.js +1 -1
- package/dist/cjs/artifacts/generated-pairs.js +1 -1
- package/dist/cjs/artifacts/palettes-raw/typography-palette.js +45 -30
- package/dist/cjs/artifacts/theme-import-map.js +1 -1
- package/dist/cjs/artifacts/themes/atlassian-typography-minor3.js +2 -2
- package/dist/cjs/artifacts/token-default-values.js +1 -1
- package/dist/cjs/artifacts/token-names.js +1 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +20 -20
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-minor3.js +13 -13
- package/dist/es2019/artifacts/atlassian-dark-token-value-for-contrast-check.js +1 -1
- package/dist/es2019/artifacts/atlassian-light-token-value-for-contrast-check.js +1 -1
- package/dist/es2019/artifacts/generated-pairs.js +1 -1
- package/dist/es2019/artifacts/palettes-raw/typography-palette.js +45 -30
- package/dist/es2019/artifacts/theme-import-map.js +1 -1
- package/dist/es2019/artifacts/themes/atlassian-typography-minor3.js +2 -2
- package/dist/es2019/artifacts/token-default-values.js +1 -1
- package/dist/es2019/artifacts/token-names.js +1 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +20 -20
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-minor3.js +13 -13
- package/dist/esm/artifacts/atlassian-dark-token-value-for-contrast-check.js +1 -1
- package/dist/esm/artifacts/atlassian-light-token-value-for-contrast-check.js +1 -1
- package/dist/esm/artifacts/generated-pairs.js +1 -1
- package/dist/esm/artifacts/palettes-raw/typography-palette.js +45 -30
- package/dist/esm/artifacts/theme-import-map.js +1 -1
- package/dist/esm/artifacts/themes/atlassian-typography-minor3.js +2 -2
- package/dist/esm/artifacts/token-default-values.js +1 -1
- package/dist/esm/artifacts/token-names.js +1 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +20 -20
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-minor3.js +13 -13
- package/dist/types/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +1 -1
- package/dist/types/artifacts/atlassian-light-token-value-for-contrast-check.d.ts +1 -1
- package/dist/types/artifacts/generated-pairs.d.ts +1 -1
- package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +1 -1
- package/dist/types/artifacts/theme-import-map.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-typography-minor3.d.ts +2 -2
- package/dist/types/artifacts/token-default-values.d.ts +1 -1
- package/dist/types/artifacts/token-names.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +1 -1
- package/dist/types/artifacts/types-internal.d.ts +1 -1
- package/dist/types/artifacts/types.d.ts +1 -1
- package/dist/types/babel-plugin/plugin.d.ts +1 -1
- package/dist/types/custom-theme.d.ts +2 -2
- package/dist/types/enable-global-theme.d.ts +2 -2
- package/dist/types/entry-points/css-type-schema.codegen.d.ts +1 -1
- package/dist/types/entry-points/token-ids.d.ts +1 -1
- package/dist/types/get-global-theme.d.ts +1 -1
- package/dist/types/get-ssr-auto-script.d.ts +1 -1
- package/dist/types/get-theme-html-attrs.d.ts +1 -1
- package/dist/types/get-theme-styles.d.ts +1 -1
- package/dist/types/get-token.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/load-custom-theme-styles.d.ts +1 -1
- package/dist/types/set-global-theme.d.ts +2 -2
- package/dist/types/theme-state-transformer.d.ts +1 -1
- package/dist/types/utils/color-detection.d.ts +1 -1
- package/dist/types/utils/color-mode-listeners.d.ts +1 -1
- package/dist/types/utils/configure-page.d.ts +1 -1
- package/dist/types/utils/contrast-mode-listeners.d.ts +1 -1
- package/dist/types/utils/custom-theme-loading-utils.d.ts +1 -1
- package/dist/types/utils/custom-theme-token-contrast-check.d.ts +1 -1
- package/dist/types/utils/generate-custom-color-ramp.d.ts +2 -2
- package/dist/types/utils/get-increased-contrast-theme.d.ts +1 -1
- package/dist/types/utils/get-theme-preferences.d.ts +1 -1
- package/dist/types/utils/theme-loading.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/atlassian-light-token-value-for-contrast-check.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/generated-pairs.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/palettes-raw/typography-palette.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/theme-import-map.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography-minor3.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/token-default-values.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/token-names.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/types-internal.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/types.d.ts +1 -1
- package/dist/types-ts4.5/babel-plugin/plugin.d.ts +1 -1
- package/dist/types-ts4.5/custom-theme.d.ts +2 -2
- package/dist/types-ts4.5/enable-global-theme.d.ts +2 -2
- package/dist/types-ts4.5/entry-points/css-type-schema.codegen.d.ts +1 -1
- package/dist/types-ts4.5/entry-points/token-ids.d.ts +1 -1
- package/dist/types-ts4.5/get-global-theme.d.ts +1 -1
- package/dist/types-ts4.5/get-ssr-auto-script.d.ts +1 -1
- package/dist/types-ts4.5/get-theme-html-attrs.d.ts +1 -1
- package/dist/types-ts4.5/get-theme-styles.d.ts +1 -1
- package/dist/types-ts4.5/get-token.d.ts +1 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/load-custom-theme-styles.d.ts +1 -1
- package/dist/types-ts4.5/set-global-theme.d.ts +2 -2
- package/dist/types-ts4.5/theme-state-transformer.d.ts +1 -1
- package/dist/types-ts4.5/utils/color-detection.d.ts +1 -1
- package/dist/types-ts4.5/utils/color-mode-listeners.d.ts +1 -1
- package/dist/types-ts4.5/utils/configure-page.d.ts +1 -1
- package/dist/types-ts4.5/utils/contrast-mode-listeners.d.ts +1 -1
- package/dist/types-ts4.5/utils/custom-theme-loading-utils.d.ts +1 -1
- package/dist/types-ts4.5/utils/custom-theme-token-contrast-check.d.ts +1 -1
- package/dist/types-ts4.5/utils/generate-custom-color-ramp.d.ts +2 -2
- package/dist/types-ts4.5/utils/get-increased-contrast-theme.d.ts +1 -1
- package/dist/types-ts4.5/utils/get-theme-preferences.d.ts +1 -1
- package/dist/types-ts4.5/utils/theme-loading.d.ts +1 -1
- package/package.json +3 -5
- package/report.api.md +2071 -2090
|
@@ -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::d0f067fcc82edf831afe2fd039ca0a0c>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
12
|
var tokens = [{
|
|
@@ -474,21 +474,6 @@ var tokens = [{
|
|
|
474
474
|
},
|
|
475
475
|
"name": "typography.letterSpacing.LetterSpacing400",
|
|
476
476
|
"path": ["typography", "letterSpacing", "LetterSpacing400"]
|
|
477
|
-
}, {
|
|
478
|
-
"value": "12px",
|
|
479
|
-
"attributes": {
|
|
480
|
-
"group": "lineHeight"
|
|
481
|
-
},
|
|
482
|
-
"filePath": "schema/palettes/typography-palette.tsx",
|
|
483
|
-
"isSource": true,
|
|
484
|
-
"original": {
|
|
485
|
-
"value": 12,
|
|
486
|
-
"attributes": {
|
|
487
|
-
"group": "lineHeight"
|
|
488
|
-
}
|
|
489
|
-
},
|
|
490
|
-
"name": "typography.lineHeight.LineHeight050",
|
|
491
|
-
"path": ["typography", "lineHeight", "LineHeight050"]
|
|
492
477
|
}, {
|
|
493
478
|
"value": "1",
|
|
494
479
|
"attributes": {
|
|
@@ -517,8 +502,8 @@ var tokens = [{
|
|
|
517
502
|
"group": "lineHeight"
|
|
518
503
|
}
|
|
519
504
|
},
|
|
520
|
-
"name": "typography.lineHeight.
|
|
521
|
-
"path": ["typography", "lineHeight", "
|
|
505
|
+
"name": "typography.lineHeight.LineHeight16",
|
|
506
|
+
"path": ["typography", "lineHeight", "LineHeight16"]
|
|
522
507
|
}, {
|
|
523
508
|
"value": "20px",
|
|
524
509
|
"attributes": {
|
|
@@ -532,8 +517,8 @@ var tokens = [{
|
|
|
532
517
|
"group": "lineHeight"
|
|
533
518
|
}
|
|
534
519
|
},
|
|
535
|
-
"name": "typography.lineHeight.
|
|
536
|
-
"path": ["typography", "lineHeight", "
|
|
520
|
+
"name": "typography.lineHeight.LineHeight20",
|
|
521
|
+
"path": ["typography", "lineHeight", "LineHeight20"]
|
|
537
522
|
}, {
|
|
538
523
|
"value": "24px",
|
|
539
524
|
"attributes": {
|
|
@@ -547,8 +532,8 @@ var tokens = [{
|
|
|
547
532
|
"group": "lineHeight"
|
|
548
533
|
}
|
|
549
534
|
},
|
|
550
|
-
"name": "typography.lineHeight.
|
|
551
|
-
"path": ["typography", "lineHeight", "
|
|
535
|
+
"name": "typography.lineHeight.LineHeight24",
|
|
536
|
+
"path": ["typography", "lineHeight", "LineHeight24"]
|
|
552
537
|
}, {
|
|
553
538
|
"value": "28px",
|
|
554
539
|
"attributes": {
|
|
@@ -562,8 +547,8 @@ var tokens = [{
|
|
|
562
547
|
"group": "lineHeight"
|
|
563
548
|
}
|
|
564
549
|
},
|
|
565
|
-
"name": "typography.lineHeight.
|
|
566
|
-
"path": ["typography", "lineHeight", "
|
|
550
|
+
"name": "typography.lineHeight.LineHeight28",
|
|
551
|
+
"path": ["typography", "lineHeight", "LineHeight28"]
|
|
567
552
|
}, {
|
|
568
553
|
"value": "32px",
|
|
569
554
|
"attributes": {
|
|
@@ -577,8 +562,8 @@ var tokens = [{
|
|
|
577
562
|
"group": "lineHeight"
|
|
578
563
|
}
|
|
579
564
|
},
|
|
580
|
-
"name": "typography.lineHeight.
|
|
581
|
-
"path": ["typography", "lineHeight", "
|
|
565
|
+
"name": "typography.lineHeight.LineHeight32",
|
|
566
|
+
"path": ["typography", "lineHeight", "LineHeight32"]
|
|
582
567
|
}, {
|
|
583
568
|
"value": "36px",
|
|
584
569
|
"attributes": {
|
|
@@ -592,8 +577,8 @@ var tokens = [{
|
|
|
592
577
|
"group": "lineHeight"
|
|
593
578
|
}
|
|
594
579
|
},
|
|
595
|
-
"name": "typography.lineHeight.
|
|
596
|
-
"path": ["typography", "lineHeight", "
|
|
580
|
+
"name": "typography.lineHeight.LineHeight36",
|
|
581
|
+
"path": ["typography", "lineHeight", "LineHeight36"]
|
|
597
582
|
}, {
|
|
598
583
|
"value": "40px",
|
|
599
584
|
"attributes": {
|
|
@@ -607,7 +592,37 @@ var tokens = [{
|
|
|
607
592
|
"group": "lineHeight"
|
|
608
593
|
}
|
|
609
594
|
},
|
|
610
|
-
"name": "typography.lineHeight.
|
|
611
|
-
"path": ["typography", "lineHeight", "
|
|
595
|
+
"name": "typography.lineHeight.LineHeight40",
|
|
596
|
+
"path": ["typography", "lineHeight", "LineHeight40"]
|
|
597
|
+
}, {
|
|
598
|
+
"value": "48px",
|
|
599
|
+
"attributes": {
|
|
600
|
+
"group": "lineHeight"
|
|
601
|
+
},
|
|
602
|
+
"filePath": "schema/palettes/typography-palette.tsx",
|
|
603
|
+
"isSource": true,
|
|
604
|
+
"original": {
|
|
605
|
+
"value": 48,
|
|
606
|
+
"attributes": {
|
|
607
|
+
"group": "lineHeight"
|
|
608
|
+
}
|
|
609
|
+
},
|
|
610
|
+
"name": "typography.lineHeight.LineHeight48",
|
|
611
|
+
"path": ["typography", "lineHeight", "LineHeight48"]
|
|
612
|
+
}, {
|
|
613
|
+
"value": "56px",
|
|
614
|
+
"attributes": {
|
|
615
|
+
"group": "lineHeight"
|
|
616
|
+
},
|
|
617
|
+
"filePath": "schema/palettes/typography-palette.tsx",
|
|
618
|
+
"isSource": true,
|
|
619
|
+
"original": {
|
|
620
|
+
"value": 56,
|
|
621
|
+
"attributes": {
|
|
622
|
+
"group": "lineHeight"
|
|
623
|
+
}
|
|
624
|
+
},
|
|
625
|
+
"name": "typography.lineHeight.LineHeight56",
|
|
626
|
+
"path": ["typography", "lineHeight", "LineHeight56"]
|
|
612
627
|
}];
|
|
613
628
|
var _default = exports.default = tokens;
|
|
@@ -16,7 +16,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
16
16
|
* This allows users to compose their themes and only use the tokens that are requested.
|
|
17
17
|
* When a new theme is created, the import should automatically be added to the map
|
|
18
18
|
*
|
|
19
|
-
* @codegen <<SignedSource::
|
|
19
|
+
* @codegen <<SignedSource::b40de5ef0f17e1889f99be077c365e02>>
|
|
20
20
|
* @codegenCommand yarn build tokens
|
|
21
21
|
*/
|
|
22
22
|
|
|
@@ -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::0d78dffc736e342c95d1285f45359dd6>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
|
-
var _default = exports.default = "\nhtml[data-theme~=\"typography:typography-minor3\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\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-heading-xxlarge: normal 700 2rem/2.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xlarge: normal 700 1.75rem/2rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-large: normal 700 1.5rem/1.75rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-medium: normal 700 1.25rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-small: normal 700 1rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xsmall: normal 700 0.875rem/
|
|
12
|
+
var _default = exports.default = "\nhtml[data-theme~=\"typography:typography-minor3\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\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-heading-xxlarge: normal 700 2rem/2.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xlarge: normal 700 1.75rem/2rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-large: normal 700 1.5rem/1.75rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-medium: normal 700 1.25rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-small: normal 700 1rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xsmall: normal 700 0.875rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xxsmall: normal 700 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-large: normal 400 1rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body: normal 400 0.875rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-small: normal 400 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-UNSAFE_small: normal 400 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-code: normal 400 0.875em/1 ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-weight-regular: 400;\n --ds-font-weight-medium: 500;\n --ds-font-weight-semibold: 600;\n --ds-font-weight-bold: 700;\n --ds-font-family-heading: ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-body: ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand-heading: \"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand-body: \"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n @media not all and (min-width: 64rem) {\n --ds-font-heading-xxlarge: normal 700 1.75rem/2rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xlarge: normal 700 1.5rem/1.75rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-large: normal 700 1.25rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-medium: normal 700 1rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n }\n}\n";
|
|
@@ -13,7 +13,7 @@ exports.default = void 0;
|
|
|
13
13
|
* Token names mapped to their value in the default Atlassian themes ('light').
|
|
14
14
|
* These default values are used by the Babel plugin to optionally provide automatic fallbacks.
|
|
15
15
|
*
|
|
16
|
-
* @codegen <<SignedSource::
|
|
16
|
+
* @codegen <<SignedSource::2fa3f52c4d7435cd0f92feb235c7ca68>>
|
|
17
17
|
* @codegenCommand yarn build tokens
|
|
18
18
|
*/
|
|
19
19
|
var defaultTokenValues = {
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
8
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
9
|
-
* @codegen <<SignedSource::
|
|
9
|
+
* @codegen <<SignedSource::25d54efb80cdfa2dff073292bd28bbcb>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
12
|
var tokens = {
|
|
@@ -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::f7c730817ba1e1c9992dce2fbc46dc93>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
12
|
var tokens = [{
|
|
@@ -173,7 +173,7 @@ var tokens = [{
|
|
|
173
173
|
"value": {
|
|
174
174
|
"fontWeight": "FontWeight500",
|
|
175
175
|
"fontSize": "LegacyFontSize35",
|
|
176
|
-
"lineHeight": "
|
|
176
|
+
"lineHeight": "LineHeight40",
|
|
177
177
|
"fontFamily": "FontFamilyWebSans",
|
|
178
178
|
"fontStyle": "normal",
|
|
179
179
|
"letterSpacing": "LetterSpacing400"
|
|
@@ -204,7 +204,7 @@ var tokens = [{
|
|
|
204
204
|
"value": {
|
|
205
205
|
"fontWeight": "FontWeight600",
|
|
206
206
|
"fontSize": "LegacyFontSize29",
|
|
207
|
-
"lineHeight": "
|
|
207
|
+
"lineHeight": "LineHeight32",
|
|
208
208
|
"fontFamily": "FontFamilyWebSans",
|
|
209
209
|
"fontStyle": "normal",
|
|
210
210
|
"letterSpacing": "LetterSpacing400"
|
|
@@ -235,7 +235,7 @@ var tokens = [{
|
|
|
235
235
|
"value": {
|
|
236
236
|
"fontWeight": "FontWeight500",
|
|
237
237
|
"fontSize": "FontSize24",
|
|
238
|
-
"lineHeight": "
|
|
238
|
+
"lineHeight": "LineHeight28",
|
|
239
239
|
"fontFamily": "FontFamilyWebSans",
|
|
240
240
|
"fontStyle": "normal",
|
|
241
241
|
"letterSpacing": "LetterSpacing400"
|
|
@@ -266,7 +266,7 @@ var tokens = [{
|
|
|
266
266
|
"value": {
|
|
267
267
|
"fontWeight": "FontWeight500",
|
|
268
268
|
"fontSize": "FontSize20",
|
|
269
|
-
"lineHeight": "
|
|
269
|
+
"lineHeight": "LineHeight24",
|
|
270
270
|
"fontFamily": "FontFamilyWebSans",
|
|
271
271
|
"fontStyle": "normal",
|
|
272
272
|
"letterSpacing": "LetterSpacing300"
|
|
@@ -295,7 +295,7 @@ var tokens = [{
|
|
|
295
295
|
"value": {
|
|
296
296
|
"fontWeight": "FontWeight600",
|
|
297
297
|
"fontSize": "FontSize16",
|
|
298
|
-
"lineHeight": "
|
|
298
|
+
"lineHeight": "LineHeight20",
|
|
299
299
|
"fontFamily": "FontFamilyWebSans",
|
|
300
300
|
"fontStyle": "normal",
|
|
301
301
|
"letterSpacing": "LetterSpacing200"
|
|
@@ -324,7 +324,7 @@ var tokens = [{
|
|
|
324
324
|
"value": {
|
|
325
325
|
"fontWeight": "FontWeight600",
|
|
326
326
|
"fontSize": "FontSize14",
|
|
327
|
-
"lineHeight": "
|
|
327
|
+
"lineHeight": "LineHeight16",
|
|
328
328
|
"fontFamily": "FontFamilyWebSans",
|
|
329
329
|
"fontStyle": "normal",
|
|
330
330
|
"letterSpacing": "LetterSpacing100"
|
|
@@ -353,7 +353,7 @@ var tokens = [{
|
|
|
353
353
|
"value": {
|
|
354
354
|
"fontWeight": "FontWeight600",
|
|
355
355
|
"fontSize": "FontSize12",
|
|
356
|
-
"lineHeight": "
|
|
356
|
+
"lineHeight": "LineHeight16",
|
|
357
357
|
"fontFamily": "FontFamilyWebSans",
|
|
358
358
|
"fontStyle": "normal",
|
|
359
359
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -382,7 +382,7 @@ var tokens = [{
|
|
|
382
382
|
"value": {
|
|
383
383
|
"fontWeight": "FontWeight400",
|
|
384
384
|
"fontSize": "FontSize16",
|
|
385
|
-
"lineHeight": "
|
|
385
|
+
"lineHeight": "LineHeight24",
|
|
386
386
|
"fontFamily": "FontFamilyWebSans",
|
|
387
387
|
"fontStyle": "normal",
|
|
388
388
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -411,7 +411,7 @@ var tokens = [{
|
|
|
411
411
|
"value": {
|
|
412
412
|
"fontWeight": "FontWeight400",
|
|
413
413
|
"fontSize": "FontSize14",
|
|
414
|
-
"lineHeight": "
|
|
414
|
+
"lineHeight": "LineHeight20",
|
|
415
415
|
"fontFamily": "FontFamilyWebSans",
|
|
416
416
|
"fontStyle": "normal",
|
|
417
417
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -440,7 +440,7 @@ var tokens = [{
|
|
|
440
440
|
"value": {
|
|
441
441
|
"fontWeight": "FontWeight400",
|
|
442
442
|
"fontSize": "LegacyFontSize11",
|
|
443
|
-
"lineHeight": "
|
|
443
|
+
"lineHeight": "LineHeight16",
|
|
444
444
|
"fontFamily": "FontFamilyWebSans",
|
|
445
445
|
"fontStyle": "normal",
|
|
446
446
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -469,7 +469,7 @@ var tokens = [{
|
|
|
469
469
|
"value": {
|
|
470
470
|
"fontWeight": "FontWeight400",
|
|
471
471
|
"fontSize": "FontSize12",
|
|
472
|
-
"lineHeight": "
|
|
472
|
+
"lineHeight": "LineHeight16",
|
|
473
473
|
"fontFamily": "FontFamilyWebSans",
|
|
474
474
|
"fontStyle": "normal",
|
|
475
475
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -950,7 +950,7 @@ var tokens = [{
|
|
|
950
950
|
"group": "lineHeight",
|
|
951
951
|
"state": "deprecated",
|
|
952
952
|
"introduced": "0.10.33",
|
|
953
|
-
"description": "
|
|
953
|
+
"description": "Helpful guidance goes here",
|
|
954
954
|
"deprecated": "1.29.0"
|
|
955
955
|
},
|
|
956
956
|
"value": "1",
|
|
@@ -961,7 +961,7 @@ var tokens = [{
|
|
|
961
961
|
"group": "lineHeight",
|
|
962
962
|
"state": "deprecated",
|
|
963
963
|
"introduced": "0.10.33",
|
|
964
|
-
"description": "
|
|
964
|
+
"description": "Helpful guidance goes here",
|
|
965
965
|
"deprecated": "1.29.0"
|
|
966
966
|
},
|
|
967
967
|
"value": "LineHeight1"
|
|
@@ -988,7 +988,7 @@ var tokens = [{
|
|
|
988
988
|
"description": "Helpful guidance goes here",
|
|
989
989
|
"deprecated": "1.29.0"
|
|
990
990
|
},
|
|
991
|
-
"value": "
|
|
991
|
+
"value": "LineHeight16"
|
|
992
992
|
},
|
|
993
993
|
"name": "font.lineHeight.100",
|
|
994
994
|
"path": ["font", "lineHeight", "100"],
|
|
@@ -1012,7 +1012,7 @@ var tokens = [{
|
|
|
1012
1012
|
"description": "Helpful guidance goes here",
|
|
1013
1013
|
"deprecated": "1.29.0"
|
|
1014
1014
|
},
|
|
1015
|
-
"value": "
|
|
1015
|
+
"value": "LineHeight20"
|
|
1016
1016
|
},
|
|
1017
1017
|
"name": "font.lineHeight.200",
|
|
1018
1018
|
"path": ["font", "lineHeight", "200"],
|
|
@@ -1036,7 +1036,7 @@ var tokens = [{
|
|
|
1036
1036
|
"description": "Helpful guidance goes here",
|
|
1037
1037
|
"deprecated": "1.29.0"
|
|
1038
1038
|
},
|
|
1039
|
-
"value": "
|
|
1039
|
+
"value": "LineHeight24"
|
|
1040
1040
|
},
|
|
1041
1041
|
"name": "font.lineHeight.300",
|
|
1042
1042
|
"path": ["font", "lineHeight", "300"],
|
|
@@ -1060,7 +1060,7 @@ var tokens = [{
|
|
|
1060
1060
|
"description": "Helpful guidance goes here",
|
|
1061
1061
|
"deprecated": "1.29.0"
|
|
1062
1062
|
},
|
|
1063
|
-
"value": "
|
|
1063
|
+
"value": "LineHeight28"
|
|
1064
1064
|
},
|
|
1065
1065
|
"name": "font.lineHeight.400",
|
|
1066
1066
|
"path": ["font", "lineHeight", "400"],
|
|
@@ -1084,7 +1084,7 @@ var tokens = [{
|
|
|
1084
1084
|
"description": "Helpful guidance goes here",
|
|
1085
1085
|
"deprecated": "1.29.0"
|
|
1086
1086
|
},
|
|
1087
|
-
"value": "
|
|
1087
|
+
"value": "LineHeight32"
|
|
1088
1088
|
},
|
|
1089
1089
|
"name": "font.lineHeight.500",
|
|
1090
1090
|
"path": ["font", "lineHeight", "500"],
|
|
@@ -1108,7 +1108,7 @@ var tokens = [{
|
|
|
1108
1108
|
"description": "Helpful guidance goes here",
|
|
1109
1109
|
"deprecated": "1.29.0"
|
|
1110
1110
|
},
|
|
1111
|
-
"value": "
|
|
1111
|
+
"value": "LineHeight40"
|
|
1112
1112
|
},
|
|
1113
1113
|
"name": "font.lineHeight.600",
|
|
1114
1114
|
"path": ["font", "lineHeight", "600"],
|
|
@@ -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::12bdee9d76f2380829d25e57e552d655>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
12
|
var tokens = [{
|
|
@@ -173,7 +173,7 @@ var tokens = [{
|
|
|
173
173
|
"value": {
|
|
174
174
|
"fontWeight": "FontWeight700",
|
|
175
175
|
"fontSize": "FontSize32",
|
|
176
|
-
"lineHeight": "
|
|
176
|
+
"lineHeight": "LineHeight36",
|
|
177
177
|
"fontFamily": "FontFamilyWebSans",
|
|
178
178
|
"fontStyle": "normal",
|
|
179
179
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -204,7 +204,7 @@ var tokens = [{
|
|
|
204
204
|
"value": {
|
|
205
205
|
"fontWeight": "FontWeight700",
|
|
206
206
|
"fontSize": "FontSize28",
|
|
207
|
-
"lineHeight": "
|
|
207
|
+
"lineHeight": "LineHeight32",
|
|
208
208
|
"fontFamily": "FontFamilyWebSans",
|
|
209
209
|
"fontStyle": "normal",
|
|
210
210
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -235,7 +235,7 @@ var tokens = [{
|
|
|
235
235
|
"value": {
|
|
236
236
|
"fontWeight": "FontWeight700",
|
|
237
237
|
"fontSize": "FontSize24",
|
|
238
|
-
"lineHeight": "
|
|
238
|
+
"lineHeight": "LineHeight28",
|
|
239
239
|
"fontFamily": "FontFamilyWebSans",
|
|
240
240
|
"fontStyle": "normal",
|
|
241
241
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -266,7 +266,7 @@ var tokens = [{
|
|
|
266
266
|
"value": {
|
|
267
267
|
"fontWeight": "FontWeight700",
|
|
268
268
|
"fontSize": "FontSize20",
|
|
269
|
-
"lineHeight": "
|
|
269
|
+
"lineHeight": "LineHeight24",
|
|
270
270
|
"fontFamily": "FontFamilyWebSans",
|
|
271
271
|
"fontStyle": "normal",
|
|
272
272
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -295,7 +295,7 @@ var tokens = [{
|
|
|
295
295
|
"value": {
|
|
296
296
|
"fontWeight": "FontWeight700",
|
|
297
297
|
"fontSize": "FontSize16",
|
|
298
|
-
"lineHeight": "
|
|
298
|
+
"lineHeight": "LineHeight20",
|
|
299
299
|
"fontFamily": "FontFamilyWebSans",
|
|
300
300
|
"fontStyle": "normal",
|
|
301
301
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -311,7 +311,7 @@ var tokens = [{
|
|
|
311
311
|
"introduced": "1.14.0",
|
|
312
312
|
"description": "For headers in small components where space is limited. Migrate instances of H400 to Heading XS."
|
|
313
313
|
},
|
|
314
|
-
"value": "normal 700 14px/
|
|
314
|
+
"value": "normal 700 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
315
315
|
"filePath": "schema/themes/atlassian-typography-minor3/theme.tsx",
|
|
316
316
|
"isSource": true,
|
|
317
317
|
"original": {
|
|
@@ -324,7 +324,7 @@ var tokens = [{
|
|
|
324
324
|
"value": {
|
|
325
325
|
"fontWeight": "FontWeight700",
|
|
326
326
|
"fontSize": "FontSize14",
|
|
327
|
-
"lineHeight": "
|
|
327
|
+
"lineHeight": "LineHeight20",
|
|
328
328
|
"fontFamily": "FontFamilyWebSans",
|
|
329
329
|
"fontStyle": "normal",
|
|
330
330
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -353,7 +353,7 @@ var tokens = [{
|
|
|
353
353
|
"value": {
|
|
354
354
|
"fontWeight": "FontWeight700",
|
|
355
355
|
"fontSize": "FontSize12",
|
|
356
|
-
"lineHeight": "
|
|
356
|
+
"lineHeight": "LineHeight16",
|
|
357
357
|
"fontFamily": "FontFamilyWebSans",
|
|
358
358
|
"fontStyle": "normal",
|
|
359
359
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -382,7 +382,7 @@ var tokens = [{
|
|
|
382
382
|
"value": {
|
|
383
383
|
"fontWeight": "FontWeight400",
|
|
384
384
|
"fontSize": "FontSize16",
|
|
385
|
-
"lineHeight": "
|
|
385
|
+
"lineHeight": "LineHeight24",
|
|
386
386
|
"fontFamily": "FontFamilyWebSans",
|
|
387
387
|
"fontStyle": "normal",
|
|
388
388
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -411,7 +411,7 @@ var tokens = [{
|
|
|
411
411
|
"value": {
|
|
412
412
|
"fontWeight": "FontWeight400",
|
|
413
413
|
"fontSize": "FontSize14",
|
|
414
|
-
"lineHeight": "
|
|
414
|
+
"lineHeight": "LineHeight20",
|
|
415
415
|
"fontFamily": "FontFamilyWebSans",
|
|
416
416
|
"fontStyle": "normal",
|
|
417
417
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -440,7 +440,7 @@ var tokens = [{
|
|
|
440
440
|
"value": {
|
|
441
441
|
"fontWeight": "FontWeight400",
|
|
442
442
|
"fontSize": "FontSize12",
|
|
443
|
-
"lineHeight": "
|
|
443
|
+
"lineHeight": "LineHeight16",
|
|
444
444
|
"fontFamily": "FontFamilyWebSans",
|
|
445
445
|
"fontStyle": "normal",
|
|
446
446
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -469,7 +469,7 @@ var tokens = [{
|
|
|
469
469
|
"value": {
|
|
470
470
|
"fontWeight": "FontWeight400",
|
|
471
471
|
"fontSize": "FontSize12",
|
|
472
|
-
"lineHeight": "
|
|
472
|
+
"lineHeight": "LineHeight16",
|
|
473
473
|
"fontFamily": "FontFamilyWebSans",
|
|
474
474
|
"fontStyle": "normal",
|
|
475
475
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Token names mapped to their values, used for contrast checking when generating custom themes
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::023110f136ad929098f2d5a341b7ad7c>>
|
|
7
7
|
* @codegenCommand yarn build tokens
|
|
8
8
|
*/
|
|
9
9
|
const tokenValues = {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Token names mapped to their values, used for contrast checking when generating custom themes
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::9975d8c2d3b07e5b405782c2d24fab5f>>
|
|
7
7
|
* @codegenCommand yarn build tokens
|
|
8
8
|
*/
|
|
9
9
|
const tokenValues = {
|