Socket
Socket
Sign inDemoInstall

@atlaskit/tokens

Package Overview
Dependencies
Maintainers
1
Versions
213
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/tokens - npm Package Compare versions

Comparing version 1.27.0 to 1.28.0

4

dist/cjs/artifacts/themes/atlassian-typography-minor3.js

@@ -9,5 +9,5 @@ "use strict";

* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::b12a1413276d27bfa1f318002382d994>>
* @codegen <<SignedSource::34678f21a98c243e127e933a3251b36e>>
* @codegenCommand yarn build tokens
*/
var _default = exports.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-large: normal 400 1rem/1.5rem var(--ds-font-family-body);\n --ds-font-body-small: 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-large: normal 700 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-medium: normal 700 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-small: normal 700 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xlarge: normal 700 1.75rem/2rem var(--ds-font-family-heading);\n --ds-font-heading-xsmall: normal 700 0.875rem/1rem var(--ds-font-family-heading);\n --ds-font-heading-xxlarge: normal 700 2rem/2.25rem var(--ds-font-family-heading);\n --ds-font-heading-xxsmall: 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-small: normal 400 0.75rem/1 var(--ds-font-family-body);\n --ds-font-family-body: ui-sans-serif, \"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-heading: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"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\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n}\n";
var _default = exports.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-large: normal 400 1rem/1.5rem var(--ds-font-family-body);\n --ds-font-body-small: 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-large: normal 700 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-medium: normal 700 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-small: normal 700 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xlarge: normal 700 1.75rem/2rem var(--ds-font-family-heading);\n --ds-font-heading-xsmall: normal 700 0.875rem/1rem var(--ds-font-family-heading);\n --ds-font-heading-xxlarge: normal 700 2rem/2.25rem var(--ds-font-family-heading);\n --ds-font-heading-xxsmall: 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-small: normal 400 0.75rem/1 var(--ds-font-family-body);\n --ds-font-family-body: ui-sans-serif, \"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-heading: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"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\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n @media not all and (min-width: 64rem) {\n --ds-font-heading-large: normal 700 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-medium: normal 700 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xlarge: normal 700 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-xxlarge: normal 700 1.75rem/2rem var(--ds-font-family-heading);\n }\n}\n";

@@ -9,3 +9,3 @@ "use strict";

* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::9a936afc84b1d60e754307860c256a05>>
* @codegen <<SignedSource::c3c9d9a9e8c21403ff2d0c99bb6419c2>>
* @codegenCommand yarn build tokens

@@ -156,3 +156,4 @@ */

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.medium"
},

@@ -167,3 +168,4 @@ "value": "normal 500 24px/28px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.medium"
},

@@ -187,3 +189,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.small"
},

@@ -198,3 +201,4 @@ "value": "normal 500 20px/24px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.small"
},

@@ -247,3 +251,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.large"
},

@@ -258,3 +263,4 @@ "value": "normal 600 29px/32px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.large"
},

@@ -307,3 +313,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.xlarge"
},

@@ -318,3 +325,4 @@ "value": "normal 500 35px/40px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.xlarge"
},

@@ -321,0 +329,0 @@ "value": {

@@ -9,3 +9,3 @@ "use strict";

* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::4197cb73414458032918015469216944>>
* @codegen <<SignedSource::1ae3b7bd31e38fb0fcdff9803f28c2f0>>
* @codegenCommand yarn build tokens

@@ -156,3 +156,4 @@ */

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.medium"
},

@@ -167,3 +168,4 @@ "value": "normal 700 24px/28px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.medium"
},

@@ -187,3 +189,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.small"
},

@@ -198,3 +201,4 @@ "value": "normal 700 20px/24px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.small"
},

@@ -247,3 +251,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.large"
},

@@ -258,3 +263,4 @@ "value": "normal 700 28px/32px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.large"
},

@@ -307,3 +313,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.xlarge"
},

@@ -318,3 +325,4 @@ "value": "normal 700 32px/36px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.xlarge"
},

@@ -321,0 +329,0 @@ "value": {

@@ -9,3 +9,3 @@ "use strict";

* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::ecd63bab60b9c05c08973d35cc1989df>>
* @codegen <<SignedSource::e95de29cabce142a19e4a4c6780c2555>>
* @codegenCommand yarn build tokens

@@ -134,3 +134,4 @@ */

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.medium"
},

@@ -145,3 +146,4 @@ "value": "normal 700 24px/28px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.medium"
},

@@ -165,3 +167,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.small"
},

@@ -176,3 +179,4 @@ "value": "normal 700 20px/24px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.small"
},

@@ -225,3 +229,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.large"
},

@@ -236,3 +241,4 @@ "value": "normal 700 28px/32px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.large"
},

@@ -285,3 +291,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.xlarge"
},

@@ -296,3 +303,4 @@ "value": "normal 700 36px/40px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.xlarge"
},

@@ -299,0 +307,0 @@ "value": {

@@ -11,3 +11,3 @@ "use strict";

var name = "@atlaskit/tokens";
var version = "1.27.0";
var version = "1.28.0";
/**

@@ -14,0 +14,0 @@ * Takes a dot-separated token name and and an optional fallback, and returns the current computed CSS value for the

@@ -12,3 +12,3 @@ "use strict";

var name = "@atlaskit/tokens";
var version = "1.27.0";
var version = "1.28.0";
/**

@@ -15,0 +15,0 @@ * Takes a dot-separated token name and an optional fallback, and returns the CSS custom property for the corresponding token.

/**
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::b12a1413276d27bfa1f318002382d994>>
* @codegen <<SignedSource::34678f21a98c243e127e933a3251b36e>>
* @codegenCommand yarn build tokens

@@ -33,3 +33,9 @@ */

--ds-font-family-brand: Charlie Sans;
@media not all and (min-width: 64rem) {
--ds-font-heading-large: normal 700 1.25rem/1.5rem var(--ds-font-family-heading);
--ds-font-heading-medium: normal 700 1rem/1.25rem var(--ds-font-family-heading);
--ds-font-heading-xlarge: normal 700 1.5rem/1.75rem var(--ds-font-family-heading);
--ds-font-heading-xxlarge: normal 700 1.75rem/2rem var(--ds-font-family-heading);
}
}
`;
/**
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::9a936afc84b1d60e754307860c256a05>>
* @codegen <<SignedSource::c3c9d9a9e8c21403ff2d0c99bb6419c2>>
* @codegenCommand yarn build tokens

@@ -149,3 +149,4 @@ */

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.medium"
},

@@ -160,3 +161,4 @@ "value": "normal 500 24px/28px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.medium"
},

@@ -180,3 +182,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.small"
},

@@ -191,3 +194,4 @@ "value": "normal 500 20px/24px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.small"
},

@@ -240,3 +244,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.large"
},

@@ -251,3 +256,4 @@ "value": "normal 600 29px/32px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.large"
},

@@ -300,3 +306,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.xlarge"
},

@@ -311,3 +318,4 @@ "value": "normal 500 35px/40px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.xlarge"
},

@@ -314,0 +322,0 @@ "value": {

/**
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::4197cb73414458032918015469216944>>
* @codegen <<SignedSource::1ae3b7bd31e38fb0fcdff9803f28c2f0>>
* @codegenCommand yarn build tokens

@@ -149,3 +149,4 @@ */

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.medium"
},

@@ -160,3 +161,4 @@ "value": "normal 700 24px/28px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.medium"
},

@@ -180,3 +182,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.small"
},

@@ -191,3 +194,4 @@ "value": "normal 700 20px/24px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.small"
},

@@ -240,3 +244,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.large"
},

@@ -251,3 +256,4 @@ "value": "normal 700 28px/32px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.large"
},

@@ -300,3 +306,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.xlarge"
},

@@ -311,3 +318,4 @@ "value": "normal 700 32px/36px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.xlarge"
},

@@ -314,0 +322,0 @@ "value": {

/**
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::ecd63bab60b9c05c08973d35cc1989df>>
* @codegen <<SignedSource::e95de29cabce142a19e4a4c6780c2555>>
* @codegenCommand yarn build tokens

@@ -127,3 +127,4 @@ */

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.medium"
},

@@ -138,3 +139,4 @@ "value": "normal 700 24px/28px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.medium"
},

@@ -158,3 +160,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.small"
},

@@ -169,3 +172,4 @@ "value": "normal 700 20px/24px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.small"
},

@@ -218,3 +222,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.large"
},

@@ -229,3 +234,4 @@ "value": "normal 700 28px/32px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.large"
},

@@ -278,3 +284,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.xlarge"
},

@@ -289,3 +296,4 @@ "value": "normal 700 36px/40px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.xlarge"
},

@@ -292,0 +300,0 @@ "value": {

import warnOnce from '@atlaskit/ds-lib/warn-once';
import tokens from './artifacts/token-names';
const name = "@atlaskit/tokens";
const version = "1.27.0";
const version = "1.28.0";
/**

@@ -6,0 +6,0 @@ * Takes a dot-separated token name and and an optional fallback, and returns the current computed CSS value for the

@@ -5,3 +5,3 @@ import warnOnce from '@atlaskit/ds-lib/warn-once';

const name = "@atlaskit/tokens";
const version = "1.27.0";
const version = "1.28.0";
/**

@@ -8,0 +8,0 @@ * Takes a dot-separated token name and an optional fallback, and returns the CSS custom property for the corresponding token.

/**
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::b12a1413276d27bfa1f318002382d994>>
* @codegen <<SignedSource::34678f21a98c243e127e933a3251b36e>>
* @codegenCommand yarn build tokens
*/
export 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-large: normal 400 1rem/1.5rem var(--ds-font-family-body);\n --ds-font-body-small: 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-large: normal 700 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-medium: normal 700 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-small: normal 700 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xlarge: normal 700 1.75rem/2rem var(--ds-font-family-heading);\n --ds-font-heading-xsmall: normal 700 0.875rem/1rem var(--ds-font-family-heading);\n --ds-font-heading-xxlarge: normal 700 2rem/2.25rem var(--ds-font-family-heading);\n --ds-font-heading-xxsmall: 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-small: normal 400 0.75rem/1 var(--ds-font-family-body);\n --ds-font-family-body: ui-sans-serif, \"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-heading: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"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\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n}\n";
export 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-large: normal 400 1rem/1.5rem var(--ds-font-family-body);\n --ds-font-body-small: 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-large: normal 700 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-medium: normal 700 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-small: normal 700 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xlarge: normal 700 1.75rem/2rem var(--ds-font-family-heading);\n --ds-font-heading-xsmall: normal 700 0.875rem/1rem var(--ds-font-family-heading);\n --ds-font-heading-xxlarge: normal 700 2rem/2.25rem var(--ds-font-family-heading);\n --ds-font-heading-xxsmall: 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-small: normal 400 0.75rem/1 var(--ds-font-family-body);\n --ds-font-family-body: ui-sans-serif, \"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-heading: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"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\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n @media not all and (min-width: 64rem) {\n --ds-font-heading-large: normal 700 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-medium: normal 700 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xlarge: normal 700 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-xxlarge: normal 700 1.75rem/2rem var(--ds-font-family-heading);\n }\n}\n";
/**
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::9a936afc84b1d60e754307860c256a05>>
* @codegen <<SignedSource::c3c9d9a9e8c21403ff2d0c99bb6419c2>>
* @codegenCommand yarn build tokens

@@ -149,3 +149,4 @@ */

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.medium"
},

@@ -160,3 +161,4 @@ "value": "normal 500 24px/28px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.medium"
},

@@ -180,3 +182,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.small"
},

@@ -191,3 +194,4 @@ "value": "normal 500 20px/24px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.small"
},

@@ -240,3 +244,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.large"
},

@@ -251,3 +256,4 @@ "value": "normal 600 29px/32px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.large"
},

@@ -300,3 +306,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.xlarge"
},

@@ -311,3 +318,4 @@ "value": "normal 500 35px/40px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.xlarge"
},

@@ -314,0 +322,0 @@ "value": {

/**
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::4197cb73414458032918015469216944>>
* @codegen <<SignedSource::1ae3b7bd31e38fb0fcdff9803f28c2f0>>
* @codegenCommand yarn build tokens

@@ -149,3 +149,4 @@ */

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.medium"
},

@@ -160,3 +161,4 @@ "value": "normal 700 24px/28px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.medium"
},

@@ -180,3 +182,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.small"
},

@@ -191,3 +194,4 @@ "value": "normal 700 20px/24px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.small"
},

@@ -240,3 +244,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.large"
},

@@ -251,3 +256,4 @@ "value": "normal 700 28px/32px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.large"
},

@@ -300,3 +306,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.xlarge"
},

@@ -311,3 +318,4 @@ "value": "normal 700 32px/36px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.xlarge"
},

@@ -314,0 +322,0 @@ "value": {

/**
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::ecd63bab60b9c05c08973d35cc1989df>>
* @codegen <<SignedSource::e95de29cabce142a19e4a4c6780c2555>>
* @codegenCommand yarn build tokens

@@ -127,3 +127,4 @@ */

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.medium"
},

@@ -138,3 +139,4 @@ "value": "normal 700 24px/28px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.medium"
},

@@ -158,3 +160,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.small"
},

@@ -169,3 +172,4 @@ "value": "normal 700 20px/24px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.small"
},

@@ -218,3 +222,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.large"
},

@@ -229,3 +234,4 @@ "value": "normal 700 28px/32px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.large"
},

@@ -278,3 +284,4 @@ "value": {

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.xlarge"
},

@@ -289,3 +296,4 @@ "value": "normal 700 36px/40px var(--ds-font-family-heading)",

"introduced": "1.14.0",
"description": "TBD"
"description": "TBD",
"responsiveSmallerVariant": "font.heading.xlarge"
},

@@ -292,0 +300,0 @@ "value": {

import warnOnce from '@atlaskit/ds-lib/warn-once';
import tokens from './artifacts/token-names';
var name = "@atlaskit/tokens";
var version = "1.27.0";
var version = "1.28.0";
/**

@@ -6,0 +6,0 @@ * Takes a dot-separated token name and and an optional fallback, and returns the current computed CSS value for the

@@ -5,3 +5,3 @@ import warnOnce from '@atlaskit/ds-lib/warn-once';

var name = "@atlaskit/tokens";
var version = "1.27.0";
var version = "1.28.0";
/**

@@ -8,0 +8,0 @@ * Takes a dot-separated token name and an optional fallback, and returns the CSS custom property for the corresponding token.

/**
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::b12a1413276d27bfa1f318002382d994>>
* @codegen <<SignedSource::34678f21a98c243e127e933a3251b36e>>
* @codegenCommand yarn build tokens
*/
declare const _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-large: normal 400 1rem/1.5rem var(--ds-font-family-body);\n --ds-font-body-small: 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-large: normal 700 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-medium: normal 700 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-small: normal 700 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xlarge: normal 700 1.75rem/2rem var(--ds-font-family-heading);\n --ds-font-heading-xsmall: normal 700 0.875rem/1rem var(--ds-font-family-heading);\n --ds-font-heading-xxlarge: normal 700 2rem/2.25rem var(--ds-font-family-heading);\n --ds-font-heading-xxsmall: 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-small: normal 400 0.75rem/1 var(--ds-font-family-body);\n --ds-font-family-body: ui-sans-serif, \"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-heading: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"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\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n}\n";
declare const _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-large: normal 400 1rem/1.5rem var(--ds-font-family-body);\n --ds-font-body-small: 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-large: normal 700 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-medium: normal 700 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-small: normal 700 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xlarge: normal 700 1.75rem/2rem var(--ds-font-family-heading);\n --ds-font-heading-xsmall: normal 700 0.875rem/1rem var(--ds-font-family-heading);\n --ds-font-heading-xxlarge: normal 700 2rem/2.25rem var(--ds-font-family-heading);\n --ds-font-heading-xxsmall: 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-small: normal 400 0.75rem/1 var(--ds-font-family-body);\n --ds-font-family-body: ui-sans-serif, \"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-heading: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"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\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n @media not all and (min-width: 64rem) {\n --ds-font-heading-large: normal 700 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-medium: normal 700 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xlarge: normal 700 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-xxlarge: normal 700 1.75rem/2rem var(--ds-font-family-heading);\n }\n}\n";
export default _default;
/**
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::9a936afc84b1d60e754307860c256a05>>
* @codegen <<SignedSource::c3c9d9a9e8c21403ff2d0c99bb6419c2>>
* @codegenCommand yarn build tokens

@@ -12,2 +12,3 @@ */

description: string;
responsiveSmallerVariant?: undefined;
};

@@ -23,2 +24,3 @@ value: string;

description: string;
responsiveSmallerVariant?: undefined;
};

@@ -36,2 +38,3 @@ value: string;

description: string;
responsiveSmallerVariant?: undefined;
};

@@ -47,2 +50,3 @@ value: string;

description: string;
responsiveSmallerVariant?: undefined;
};

@@ -61,3 +65,34 @@ value: {

cleanName: string;
} | {
attributes: {
group: string;
state: string;
introduced: string;
description: string;
responsiveSmallerVariant: string;
};
value: string;
filePath: string;
isSource: boolean;
original: {
attributes: {
group: string;
state: string;
introduced: string;
description: string;
responsiveSmallerVariant: string;
};
value: {
fontWeight: string;
fontSize: string;
lineHeight: string;
fontFamily: string;
fontStyle: string;
letterSpacing: string;
};
};
name: string;
path: string[];
cleanName: string;
})[];
export default tokens;
/**
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::4197cb73414458032918015469216944>>
* @codegen <<SignedSource::1ae3b7bd31e38fb0fcdff9803f28c2f0>>
* @codegenCommand yarn build tokens

@@ -12,2 +12,3 @@ */

description: string;
responsiveSmallerVariant?: undefined;
};

@@ -23,2 +24,3 @@ value: string;

description: string;
responsiveSmallerVariant?: undefined;
};

@@ -36,2 +38,3 @@ value: string;

description: string;
responsiveSmallerVariant?: undefined;
};

@@ -47,2 +50,3 @@ value: string;

description: string;
responsiveSmallerVariant?: undefined;
};

@@ -61,3 +65,34 @@ value: {

cleanName: string;
} | {
attributes: {
group: string;
state: string;
introduced: string;
description: string;
responsiveSmallerVariant: string;
};
value: string;
filePath: string;
isSource: boolean;
original: {
attributes: {
group: string;
state: string;
introduced: string;
description: string;
responsiveSmallerVariant: string;
};
value: {
fontWeight: string;
fontSize: string;
lineHeight: string;
fontFamily: string;
fontStyle: string;
letterSpacing: string;
};
};
name: string;
path: string[];
cleanName: string;
})[];
export default tokens;
/**
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::ecd63bab60b9c05c08973d35cc1989df>>
* @codegen <<SignedSource::e95de29cabce142a19e4a4c6780c2555>>
* @codegenCommand yarn build tokens

@@ -12,2 +12,3 @@ */

description: string;
responsiveSmallerVariant?: undefined;
};

@@ -23,2 +24,3 @@ value: string;

description: string;
responsiveSmallerVariant?: undefined;
};

@@ -43,2 +45,3 @@ value: {

description: string;
responsiveSmallerVariant: string;
};

@@ -54,3 +57,35 @@ value: string;

description: string;
responsiveSmallerVariant: string;
};
value: {
fontWeight: string;
fontSize: string;
lineHeight: string;
fontFamily: string;
fontStyle: string;
letterSpacing: string;
};
};
name: string;
path: string[];
cleanName: string;
} | {
attributes: {
group: string;
state: string;
introduced: string;
description: string;
responsiveSmallerVariant?: undefined;
};
value: string;
filePath: string;
isSource: boolean;
original: {
attributes: {
group: string;
state: string;
introduced: string;
description: string;
responsiveSmallerVariant?: undefined;
};
value: string;

@@ -57,0 +92,0 @@ };

@@ -65,2 +65,7 @@ import type { InternalTokenIds } from './artifacts/types-internal';

}
export interface TypographyDesignToken<TValue> extends DesignToken<TValue, 'typography'> {
attributes: DesignToken<TValue, 'typography'>['attributes'] & {
responsiveSmallerVariant?: ResponsiveTypographyTokens;
};
}
/**

@@ -75,3 +80,3 @@ * @example

[Key in keyof T]: T[Key] extends object ? T[Key] extends {
value: string;
value: any;
} ? `${Prefix}${Key & string}` : `${Prefix}${Key & string}.${FlattenKeys<T[Key]>}` : `${Prefix}.${Key & string}`;

@@ -1005,3 +1010,4 @@ }[keyof T];

letterSpacing: string;
}> = DesignToken<{
responsiveToken?: string;
}> = TypographyDesignToken<{
fontStyle: 'normal';

@@ -1013,3 +1019,4 @@ fontWeight: TPalette['fontWeight'];

letterSpacing: TPalette['letterSpacing'];
}, 'typography'>;
}>;
type ResponsiveTypographyTokens = FlattenKeys<TypographyTokenSchema<any>>;
/**

@@ -1016,0 +1023,0 @@ * The semantic interface for typography tokens

/**
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::b12a1413276d27bfa1f318002382d994>>
* @codegen <<SignedSource::34678f21a98c243e127e933a3251b36e>>
* @codegenCommand yarn build tokens
*/
declare const _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-large: normal 400 1rem/1.5rem var(--ds-font-family-body);\n --ds-font-body-small: 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-large: normal 700 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-medium: normal 700 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-small: normal 700 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xlarge: normal 700 1.75rem/2rem var(--ds-font-family-heading);\n --ds-font-heading-xsmall: normal 700 0.875rem/1rem var(--ds-font-family-heading);\n --ds-font-heading-xxlarge: normal 700 2rem/2.25rem var(--ds-font-family-heading);\n --ds-font-heading-xxsmall: 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-small: normal 400 0.75rem/1 var(--ds-font-family-body);\n --ds-font-family-body: ui-sans-serif, \"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-heading: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"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\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n}\n";
declare const _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-large: normal 400 1rem/1.5rem var(--ds-font-family-body);\n --ds-font-body-small: 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-large: normal 700 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-medium: normal 700 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-small: normal 700 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xlarge: normal 700 1.75rem/2rem var(--ds-font-family-heading);\n --ds-font-heading-xsmall: normal 700 0.875rem/1rem var(--ds-font-family-heading);\n --ds-font-heading-xxlarge: normal 700 2rem/2.25rem var(--ds-font-family-heading);\n --ds-font-heading-xxsmall: 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-small: normal 400 0.75rem/1 var(--ds-font-family-body);\n --ds-font-family-body: ui-sans-serif, \"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-heading: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"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\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n @media not all and (min-width: 64rem) {\n --ds-font-heading-large: normal 700 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-medium: normal 700 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xlarge: normal 700 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-xxlarge: normal 700 1.75rem/2rem var(--ds-font-family-heading);\n }\n}\n";
export default _default;
/**
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::9a936afc84b1d60e754307860c256a05>>
* @codegen <<SignedSource::c3c9d9a9e8c21403ff2d0c99bb6419c2>>
* @codegenCommand yarn build tokens

@@ -12,2 +12,3 @@ */

description: string;
responsiveSmallerVariant?: undefined;
};

@@ -23,2 +24,3 @@ value: string;

description: string;
responsiveSmallerVariant?: undefined;
};

@@ -36,2 +38,3 @@ value: string;

description: string;
responsiveSmallerVariant?: undefined;
};

@@ -47,2 +50,3 @@ value: string;

description: string;
responsiveSmallerVariant?: undefined;
};

@@ -61,3 +65,34 @@ value: {

cleanName: string;
} | {
attributes: {
group: string;
state: string;
introduced: string;
description: string;
responsiveSmallerVariant: string;
};
value: string;
filePath: string;
isSource: boolean;
original: {
attributes: {
group: string;
state: string;
introduced: string;
description: string;
responsiveSmallerVariant: string;
};
value: {
fontWeight: string;
fontSize: string;
lineHeight: string;
fontFamily: string;
fontStyle: string;
letterSpacing: string;
};
};
name: string;
path: string[];
cleanName: string;
})[];
export default tokens;
/**
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::4197cb73414458032918015469216944>>
* @codegen <<SignedSource::1ae3b7bd31e38fb0fcdff9803f28c2f0>>
* @codegenCommand yarn build tokens

@@ -12,2 +12,3 @@ */

description: string;
responsiveSmallerVariant?: undefined;
};

@@ -23,2 +24,3 @@ value: string;

description: string;
responsiveSmallerVariant?: undefined;
};

@@ -36,2 +38,3 @@ value: string;

description: string;
responsiveSmallerVariant?: undefined;
};

@@ -47,2 +50,3 @@ value: string;

description: string;
responsiveSmallerVariant?: undefined;
};

@@ -61,3 +65,34 @@ value: {

cleanName: string;
} | {
attributes: {
group: string;
state: string;
introduced: string;
description: string;
responsiveSmallerVariant: string;
};
value: string;
filePath: string;
isSource: boolean;
original: {
attributes: {
group: string;
state: string;
introduced: string;
description: string;
responsiveSmallerVariant: string;
};
value: {
fontWeight: string;
fontSize: string;
lineHeight: string;
fontFamily: string;
fontStyle: string;
letterSpacing: string;
};
};
name: string;
path: string[];
cleanName: string;
})[];
export default tokens;
/**
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::ecd63bab60b9c05c08973d35cc1989df>>
* @codegen <<SignedSource::e95de29cabce142a19e4a4c6780c2555>>
* @codegenCommand yarn build tokens

@@ -12,2 +12,3 @@ */

description: string;
responsiveSmallerVariant?: undefined;
};

@@ -23,2 +24,3 @@ value: string;

description: string;
responsiveSmallerVariant?: undefined;
};

@@ -43,2 +45,3 @@ value: {

description: string;
responsiveSmallerVariant: string;
};

@@ -54,3 +57,35 @@ value: string;

description: string;
responsiveSmallerVariant: string;
};
value: {
fontWeight: string;
fontSize: string;
lineHeight: string;
fontFamily: string;
fontStyle: string;
letterSpacing: string;
};
};
name: string;
path: string[];
cleanName: string;
} | {
attributes: {
group: string;
state: string;
introduced: string;
description: string;
responsiveSmallerVariant?: undefined;
};
value: string;
filePath: string;
isSource: boolean;
original: {
attributes: {
group: string;
state: string;
introduced: string;
description: string;
responsiveSmallerVariant?: undefined;
};
value: string;

@@ -57,0 +92,0 @@ };

@@ -65,2 +65,7 @@ import type { InternalTokenIds } from './artifacts/types-internal';

}
export interface TypographyDesignToken<TValue> extends DesignToken<TValue, 'typography'> {
attributes: DesignToken<TValue, 'typography'>['attributes'] & {
responsiveSmallerVariant?: ResponsiveTypographyTokens;
};
}
/**

@@ -75,3 +80,3 @@ * @example

[Key in keyof T]: T[Key] extends object ? T[Key] extends {
value: string;
value: any;
} ? `${Prefix}${Key & string}` : `${Prefix}${Key & string}.${FlattenKeys<T[Key]>}` : `${Prefix}.${Key & string}`;

@@ -1005,3 +1010,4 @@ }[keyof T];

letterSpacing: string;
}> = DesignToken<{
responsiveToken?: string;
}> = TypographyDesignToken<{
fontStyle: 'normal';

@@ -1013,3 +1019,4 @@ fontWeight: TPalette['fontWeight'];

letterSpacing: TPalette['letterSpacing'];
}, 'typography'>;
}>;
type ResponsiveTypographyTokens = FlattenKeys<TypographyTokenSchema<any>>;
/**

@@ -1016,0 +1023,0 @@ * The semantic interface for typography tokens

{
"name": "@atlaskit/tokens",
"version": "1.27.0",
"version": "1.28.0",
"description": "Design tokens are the single source of truth to name and store design decisions.",

@@ -5,0 +5,0 @@ "publishConfig": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc