@atlaskit/tokens 1.32.0 → 1.33.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/replacement-mapping.js +1 -40
- 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/token-default-values.js +9 -9
- package/dist/cjs/artifacts/token-names.js +9 -9
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +203 -203
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-minor3.js +190 -190
- package/dist/cjs/entry-points/palettes-raw.js +8 -1
- package/dist/cjs/entry-points/tokens-raw.js +7 -0
- package/dist/cjs/get-token-value.js +1 -1
- package/dist/cjs/get-token.js +1 -1
- package/dist/es2019/artifacts/replacement-mapping.js +1 -40
- package/dist/es2019/artifacts/themes/atlassian-typography-adg3.js +9 -9
- package/dist/es2019/artifacts/themes/atlassian-typography-minor3.js +11 -11
- package/dist/es2019/artifacts/token-default-values.js +9 -9
- package/dist/es2019/artifacts/token-names.js +9 -9
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +203 -203
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-minor3.js +190 -190
- package/dist/es2019/entry-points/palettes-raw.js +2 -1
- package/dist/es2019/entry-points/tokens-raw.js +2 -1
- package/dist/es2019/get-token-value.js +1 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/esm/artifacts/replacement-mapping.js +1 -40
- 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/token-default-values.js +9 -9
- package/dist/esm/artifacts/token-names.js +9 -9
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +203 -203
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-minor3.js +190 -190
- package/dist/esm/entry-points/palettes-raw.js +2 -1
- package/dist/esm/entry-points/tokens-raw.js +2 -1
- package/dist/esm/get-token-value.js +1 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/types/artifacts/replacement-mapping.d.ts +1 -1
- 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/token-default-values.d.ts +9 -9
- package/dist/types/artifacts/token-names.d.ts +17 -17
- package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +5 -5
- package/dist/types/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +5 -5
- package/dist/types/artifacts/types-internal.d.ts +2 -2
- package/dist/types/artifacts/types.d.ts +2 -2
- package/dist/types/entry-points/palettes-raw.d.ts +1 -0
- package/dist/types/entry-points/tokens-raw.d.ts +2 -1
- package/dist/types-ts4.5/artifacts/replacement-mapping.d.ts +1 -1
- 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/token-default-values.d.ts +9 -9
- package/dist/types-ts4.5/artifacts/token-names.d.ts +17 -17
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +5 -5
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +5 -5
- 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/entry-points/palettes-raw.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/tokens-raw.d.ts +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/tokens
|
|
2
2
|
|
|
3
|
+
## 1.33.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#63526](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63526) [`e8835feffae9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e8835feffae9) - Internal change to improve token sorting logic for typography tokens. Typography tokens are now marked as active though they are still in development and not recommend for use without prior approval from ADS.
|
|
8
|
+
|
|
3
9
|
## 1.32.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -18,46 +18,13 @@ exports.default = void 0;
|
|
|
18
18
|
* These changes will then be picked up by our tooling which will attempt to
|
|
19
19
|
* migrate as many of these renames as possible.
|
|
20
20
|
*
|
|
21
|
-
* @codegen <<SignedSource::
|
|
21
|
+
* @codegen <<SignedSource::2df62eea3dac692cc6574ac0124e31a8>>
|
|
22
22
|
* @codegenCommand yarn build tokens
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
25
|
var replacementMapper = [{
|
|
26
26
|
"path": "border.width.0",
|
|
27
27
|
"state": "experimental"
|
|
28
|
-
}, {
|
|
29
|
-
"path": "font.body.[default]",
|
|
30
|
-
"state": "experimental"
|
|
31
|
-
}, {
|
|
32
|
-
"path": "font.body.large",
|
|
33
|
-
"state": "experimental"
|
|
34
|
-
}, {
|
|
35
|
-
"path": "font.body.small",
|
|
36
|
-
"state": "experimental"
|
|
37
|
-
}, {
|
|
38
|
-
"path": "font.code.[default]",
|
|
39
|
-
"state": "experimental"
|
|
40
|
-
}, {
|
|
41
|
-
"path": "font.heading.large",
|
|
42
|
-
"state": "experimental"
|
|
43
|
-
}, {
|
|
44
|
-
"path": "font.heading.medium",
|
|
45
|
-
"state": "experimental"
|
|
46
|
-
}, {
|
|
47
|
-
"path": "font.heading.small",
|
|
48
|
-
"state": "experimental"
|
|
49
|
-
}, {
|
|
50
|
-
"path": "font.heading.xlarge",
|
|
51
|
-
"state": "experimental"
|
|
52
|
-
}, {
|
|
53
|
-
"path": "font.heading.xsmall",
|
|
54
|
-
"state": "experimental"
|
|
55
|
-
}, {
|
|
56
|
-
"path": "font.heading.xxlarge",
|
|
57
|
-
"state": "experimental"
|
|
58
|
-
}, {
|
|
59
|
-
"path": "font.heading.xxsmall",
|
|
60
|
-
"state": "experimental"
|
|
61
28
|
}, {
|
|
62
29
|
"path": "font.letterSpacing.0",
|
|
63
30
|
"state": "deprecated"
|
|
@@ -73,12 +40,6 @@ var replacementMapper = [{
|
|
|
73
40
|
}, {
|
|
74
41
|
"path": "font.letterSpacing.400",
|
|
75
42
|
"state": "deprecated"
|
|
76
|
-
}, {
|
|
77
|
-
"path": "font.ui.[default]",
|
|
78
|
-
"state": "experimental"
|
|
79
|
-
}, {
|
|
80
|
-
"path": "font.ui.small",
|
|
81
|
-
"state": "experimental"
|
|
82
43
|
}, {
|
|
83
44
|
"path": "font.family.body",
|
|
84
45
|
"state": "deprecated"
|
|
@@ -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::c3e775ab05e25f11bd988de880b8e14f>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
|
-
var _default = exports.default = "\nhtml[data-theme~=\"typography:typography-adg3\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-
|
|
12
|
+
var _default = exports.default = "\nhtml[data-theme~=\"typography:typography-adg3\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-heading-xxlarge: normal 500 2.1875rem/2.5rem var(--ds-font-family-heading);\n --ds-font-heading-xlarge: normal 600 1.8125rem/2rem var(--ds-font-family-heading);\n --ds-font-heading-large: normal 500 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-medium: normal 500 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-small: normal 600 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xsmall: normal 600 0.875rem/1rem var(--ds-font-family-heading);\n --ds-font-heading-xxsmall: normal 600 0.75rem/1rem var(--ds-font-family-heading);\n --ds-font-body-large: normal 400 1rem/1.5rem var(--ds-font-family-body);\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-body);\n --ds-font-body-small: normal 400 0.6875rem/1rem var(--ds-font-family-body);\n --ds-font-ui: normal 400 0.875rem/1 var(--ds-font-family-body);\n --ds-font-ui-small: normal 400 0.6875rem/1 var(--ds-font-family-body);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-code);\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-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: -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";
|
|
@@ -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::af25a33fb0ff39de368245336a06411e>>
|
|
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-
|
|
12
|
+
var _default = exports.default = "\nhtml[data-theme~=\"typography:typography-minor3\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-heading-xxlarge: normal 700 2rem/2.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-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-xsmall: normal 700 0.875rem/1rem var(--ds-font-family-heading);\n --ds-font-heading-xxsmall: normal 700 0.75rem/1rem var(--ds-font-family-heading);\n --ds-font-body-large: normal 400 1rem/1.5rem var(--ds-font-family-body);\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-body);\n --ds-font-body-small: normal 400 0.75rem/1rem var(--ds-font-family-body);\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-code: normal 400 0.875em/1 var(--ds-font-family-code);\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-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-xxlarge: normal 700 1.75rem/2rem 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-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 }\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::cd46c7699adb6bcc1ef5f9983f692300>>
|
|
17
17
|
* @codegenCommand yarn build tokens
|
|
18
18
|
*/
|
|
19
19
|
var defaultTokenValues = {
|
|
@@ -440,24 +440,24 @@ var defaultTokenValues = {
|
|
|
440
440
|
'space.negative.250': '-1.25rem',
|
|
441
441
|
'space.negative.300': '-1.5rem',
|
|
442
442
|
'space.negative.400': '-2rem',
|
|
443
|
-
'font.
|
|
444
|
-
'font.
|
|
445
|
-
'font.body.small': 'normal 400 0.6875rem/1rem var(--ds-font-family-body)',
|
|
446
|
-
'font.code': 'normal 400 0.875em/1 var(--ds-font-family-code)',
|
|
443
|
+
'font.heading.xxlarge': 'normal 500 2.1875rem/2.5rem var(--ds-font-family-heading)',
|
|
444
|
+
'font.heading.xlarge': 'normal 600 1.8125rem/2rem var(--ds-font-family-heading)',
|
|
447
445
|
'font.heading.large': 'normal 500 1.5rem/1.75rem var(--ds-font-family-heading)',
|
|
448
446
|
'font.heading.medium': 'normal 500 1.25rem/1.5rem var(--ds-font-family-heading)',
|
|
449
447
|
'font.heading.small': 'normal 600 1rem/1.25rem var(--ds-font-family-heading)',
|
|
450
|
-
'font.heading.xlarge': 'normal 600 1.8125rem/2rem var(--ds-font-family-heading)',
|
|
451
448
|
'font.heading.xsmall': 'normal 600 0.875rem/1rem var(--ds-font-family-heading)',
|
|
452
|
-
'font.heading.xxlarge': 'normal 500 2.1875rem/2.5rem var(--ds-font-family-heading)',
|
|
453
449
|
'font.heading.xxsmall': 'normal 600 0.75rem/1rem var(--ds-font-family-heading)',
|
|
450
|
+
'font.body.large': 'normal 400 1rem/1.5rem var(--ds-font-family-body)',
|
|
451
|
+
'font.body': 'normal 400 0.875rem/1.25rem var(--ds-font-family-body)',
|
|
452
|
+
'font.body.small': 'normal 400 0.6875rem/1rem var(--ds-font-family-body)',
|
|
453
|
+
'font.ui': 'normal 400 0.875rem/1 var(--ds-font-family-body)',
|
|
454
|
+
'font.ui.small': 'normal 400 0.6875rem/1 var(--ds-font-family-body)',
|
|
455
|
+
'font.code': 'normal 400 0.875em/1 var(--ds-font-family-code)',
|
|
454
456
|
'font.letterSpacing.0': '0',
|
|
455
457
|
'font.letterSpacing.100': '-0.003em',
|
|
456
458
|
'font.letterSpacing.200': '-0.006em',
|
|
457
459
|
'font.letterSpacing.300': '-0.008em',
|
|
458
460
|
'font.letterSpacing.400': '-0.01em',
|
|
459
|
-
'font.ui': 'normal 400 0.875rem/1 var(--ds-font-family-body)',
|
|
460
|
-
'font.ui.small': 'normal 400 0.6875rem/1 var(--ds-font-family-body)',
|
|
461
461
|
'font.family.body': 'ui-sans-serif, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
|
|
462
462
|
'font.family.code': 'ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace',
|
|
463
463
|
'font.family.heading': 'ui-sans-serif, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
|
|
@@ -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::f46c62b44101ed8ef04c2a9aa7e37742>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
12
|
var tokens = {
|
|
@@ -433,24 +433,24 @@ var tokens = {
|
|
|
433
433
|
'space.negative.250': '--ds-space-negative-250',
|
|
434
434
|
'space.negative.300': '--ds-space-negative-300',
|
|
435
435
|
'space.negative.400': '--ds-space-negative-400',
|
|
436
|
-
'font.
|
|
437
|
-
'font.
|
|
438
|
-
'font.body.small': '--ds-font-body-small',
|
|
439
|
-
'font.code': '--ds-font-code',
|
|
436
|
+
'font.heading.xxlarge': '--ds-font-heading-xxlarge',
|
|
437
|
+
'font.heading.xlarge': '--ds-font-heading-xlarge',
|
|
440
438
|
'font.heading.large': '--ds-font-heading-large',
|
|
441
439
|
'font.heading.medium': '--ds-font-heading-medium',
|
|
442
440
|
'font.heading.small': '--ds-font-heading-small',
|
|
443
|
-
'font.heading.xlarge': '--ds-font-heading-xlarge',
|
|
444
441
|
'font.heading.xsmall': '--ds-font-heading-xsmall',
|
|
445
|
-
'font.heading.xxlarge': '--ds-font-heading-xxlarge',
|
|
446
442
|
'font.heading.xxsmall': '--ds-font-heading-xxsmall',
|
|
443
|
+
'font.body.large': '--ds-font-body-large',
|
|
444
|
+
'font.body': '--ds-font-body',
|
|
445
|
+
'font.body.small': '--ds-font-body-small',
|
|
446
|
+
'font.ui': '--ds-font-ui',
|
|
447
|
+
'font.ui.small': '--ds-font-ui-small',
|
|
448
|
+
'font.code': '--ds-font-code',
|
|
447
449
|
'font.letterSpacing.0': '--ds-font-letterSpacing-0',
|
|
448
450
|
'font.letterSpacing.100': '--ds-font-letterSpacing-100',
|
|
449
451
|
'font.letterSpacing.200': '--ds-font-letterSpacing-200',
|
|
450
452
|
'font.letterSpacing.300': '--ds-font-letterSpacing-300',
|
|
451
453
|
'font.letterSpacing.400': '--ds-font-letterSpacing-400',
|
|
452
|
-
'font.ui': '--ds-font-ui',
|
|
453
|
-
'font.ui.small': '--ds-font-ui-small',
|
|
454
454
|
'font.family.body': '--ds-font-family-body',
|
|
455
455
|
'font.family.code': '--ds-font-family-code',
|
|
456
456
|
'font.family.heading': '--ds-font-family-heading',
|