@atlaskit/tokens 1.25.0 → 1.25.2
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 +177 -165
- package/dist/cjs/artifacts/atlassian-dark-token-value-for-contrast-check.js +1 -2
- package/dist/cjs/artifacts/atlassian-light-token-value-for-contrast-check.js +1 -2
- package/dist/cjs/artifacts/generated-pairs.js +1 -1
- package/dist/cjs/artifacts/palettes-raw/legacy-palette.js +1 -2
- package/dist/cjs/artifacts/palettes-raw/palette.js +1 -2
- package/dist/cjs/artifacts/palettes-raw/shape-palette.js +1 -2
- package/dist/cjs/artifacts/palettes-raw/spacing-scale.js +1 -2
- package/dist/cjs/artifacts/palettes-raw/typography-palette.js +4 -5
- package/dist/cjs/artifacts/palettes-raw/updated-saturated-palette.js +1 -2
- package/dist/cjs/artifacts/replacement-mapping.js +1 -2
- package/dist/cjs/artifacts/theme-import-map.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-dark-new-input-border.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-dark-saturated-palette-changes.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-dark.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-legacy-dark.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-legacy-light.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-light-new-input-border.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-light-saturated-palette-changes.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-light.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-shape.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-spacing.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-typography-adg3.js +2 -3
- package/dist/cjs/artifacts/themes/atlassian-typography-minor3.js +2 -3
- package/dist/cjs/artifacts/themes/atlassian-typography.js +2 -3
- package/dist/cjs/artifacts/token-default-values.js +14 -15
- package/dist/cjs/artifacts/token-names.js +12 -13
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark-new-input-border.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark-saturated-palette-changes.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-light-new-input-border.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-light-saturated-palette-changes.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-shape.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-spacing.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +34 -35
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-minor3.js +35 -36
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +35 -36
- package/dist/cjs/artifacts/typescript/atlassian-dark-token-names.js +1 -2
- package/dist/cjs/artifacts/typescript/atlassian-light-token-names.js +1 -2
- package/dist/cjs/constants.js +8 -16
- package/dist/cjs/custom-theme.js +2 -3
- package/dist/cjs/enable-global-theme.js +1 -2
- package/dist/cjs/get-global-theme.js +1 -2
- package/dist/cjs/get-ssr-auto-script.js +1 -2
- package/dist/cjs/get-theme-html-attrs.js +1 -2
- package/dist/cjs/get-theme-styles.js +2 -3
- package/dist/cjs/get-token-value.js +2 -3
- package/dist/cjs/get-token.js +2 -3
- package/dist/cjs/load-custom-theme-styles.js +1 -2
- package/dist/cjs/palettes/legacy-palette.js +1 -2
- package/dist/cjs/palettes/palette.js +1 -2
- package/dist/cjs/palettes/shape-palette.js +1 -2
- package/dist/cjs/palettes/spacing-scale.js +1 -2
- package/dist/cjs/palettes/typography-palette.js +2 -3
- package/dist/cjs/palettes/updated-saturated-palette.js +1 -2
- package/dist/cjs/set-global-theme.js +1 -2
- package/dist/cjs/theme-config.js +7 -12
- package/dist/cjs/theme-mutation-observer.js +2 -3
- package/dist/cjs/theme-state-transformer.js +3 -5
- package/dist/cjs/tokens/atlassian-dark/color/accent.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/color/background.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/color/border.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/color/chart.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/color/icon.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/color/interaction.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/color/skeleton.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/color/text.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/elevation/shadow.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/elevation/surface.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/opacity/opacity.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/utility/utility.js +2 -3
- package/dist/cjs/tokens/atlassian-dark-new-input-border/color/border.js +1 -2
- package/dist/cjs/tokens/atlassian-dark-saturated-palette-changes/color/accent.js +1 -2
- package/dist/cjs/tokens/atlassian-dark-saturated-palette-changes/color/background.js +1 -2
- package/dist/cjs/tokens/atlassian-dark-saturated-palette-changes/color/icon.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/color/accent.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/color/background.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/color/border.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/color/chart.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/color/icon.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/color/interaction.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/color/skeleton.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/color/text.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/elevation/shadow.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/elevation/surface.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/opacity/opacity.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/utility/utility.js +2 -3
- package/dist/cjs/tokens/atlassian-legacy-light/color/accent.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/color/background.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/color/border.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/color/chart.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/color/icon.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/color/interaction.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/color/skeleton.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/color/text.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/elevation/shadow.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/elevation/surface.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/opacity/opacity.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/utility/utility.js +2 -3
- package/dist/cjs/tokens/atlassian-light/color/accent.js +1 -2
- package/dist/cjs/tokens/atlassian-light/color/background.js +1 -2
- package/dist/cjs/tokens/atlassian-light/color/border.js +1 -2
- package/dist/cjs/tokens/atlassian-light/color/chart.js +1 -2
- package/dist/cjs/tokens/atlassian-light/color/icon.js +1 -2
- package/dist/cjs/tokens/atlassian-light/color/interaction.js +1 -2
- package/dist/cjs/tokens/atlassian-light/color/skeleton.js +1 -2
- package/dist/cjs/tokens/atlassian-light/color/text.js +1 -2
- package/dist/cjs/tokens/atlassian-light/elevation/shadow.js +1 -2
- package/dist/cjs/tokens/atlassian-light/elevation/surface.js +1 -2
- package/dist/cjs/tokens/atlassian-light/opacity/opacity.js +1 -2
- package/dist/cjs/tokens/atlassian-light/utility/utility.js +2 -3
- package/dist/cjs/tokens/atlassian-light-new-input-border/color/border.js +1 -2
- package/dist/cjs/tokens/atlassian-light-saturated-palette-changes/color/accent.js +1 -2
- package/dist/cjs/tokens/atlassian-light-saturated-palette-changes/color/background.js +1 -2
- package/dist/cjs/tokens/atlassian-light-saturated-palette-changes/color/icon.js +1 -2
- package/dist/cjs/tokens/atlassian-shape/shape.js +1 -2
- package/dist/cjs/tokens/atlassian-spacing/spacing.js +1 -2
- package/dist/cjs/tokens/atlassian-typography/font-family.js +1 -2
- package/dist/cjs/tokens/atlassian-typography/letter-spacing.js +1 -2
- package/dist/cjs/tokens/atlassian-typography/theme.js +11 -12
- package/dist/cjs/tokens/atlassian-typography-adg3/font-family.js +1 -2
- package/dist/cjs/tokens/atlassian-typography-adg3/font-size.js +1 -2
- package/dist/cjs/tokens/atlassian-typography-adg3/font-weight.js +1 -2
- package/dist/cjs/tokens/atlassian-typography-adg3/letter-spacing.js +1 -2
- package/dist/cjs/tokens/atlassian-typography-adg3/line-height.js +1 -2
- package/dist/cjs/tokens/atlassian-typography-adg3/theme.js +12 -13
- package/dist/cjs/tokens/atlassian-typography-minor3/font-family.js +1 -2
- package/dist/cjs/tokens/atlassian-typography-minor3/letter-spacing.js +1 -2
- package/dist/cjs/tokens/atlassian-typography-minor3/theme.js +12 -13
- package/dist/cjs/tokens/default/color/accent.js +1 -2
- package/dist/cjs/tokens/default/color/background.js +1 -2
- package/dist/cjs/tokens/default/color/border.js +1 -2
- package/dist/cjs/tokens/default/color/chart.js +1 -2
- package/dist/cjs/tokens/default/color/icon.js +1 -2
- package/dist/cjs/tokens/default/color/interaction.js +1 -2
- package/dist/cjs/tokens/default/color/skeleton.js +1 -2
- package/dist/cjs/tokens/default/color/text.js +1 -2
- package/dist/cjs/tokens/default/elevation/shadow.js +1 -2
- package/dist/cjs/tokens/default/elevation/surface.js +1 -2
- package/dist/cjs/tokens/default/opacity/opacity.js +1 -2
- package/dist/cjs/tokens/default/shape/shape.js +1 -2
- package/dist/cjs/tokens/default/spacing/spacing.js +1 -2
- package/dist/cjs/tokens/default/typography/font-family.js +1 -2
- package/dist/cjs/tokens/default/typography/font-size.js +1 -2
- package/dist/cjs/tokens/default/typography/font-weight.js +1 -2
- package/dist/cjs/tokens/default/typography/font.js +11 -12
- package/dist/cjs/tokens/default/typography/letter-spacing.js +1 -2
- package/dist/cjs/tokens/default/typography/line-height.js +1 -2
- package/dist/cjs/tokens/default/utility/utility.js +2 -3
- package/dist/cjs/use-theme-observer.js +1 -2
- package/dist/cjs/utils/color-detection.js +3 -5
- package/dist/cjs/utils/color-mode-listeners.js +1 -2
- package/dist/cjs/utils/color-utils.js +1 -2
- package/dist/cjs/utils/custom-theme-token-contrast-check.js +3 -5
- package/dist/cjs/utils/generate-custom-color-ramp.js +5 -9
- package/dist/cjs/utils/get-theme-preferences.js +3 -5
- package/dist/cjs/utils/hash.js +2 -3
- package/dist/cjs/utils/hct-color-utils/contrast.js +2 -3
- package/dist/cjs/utils/hct-color-utils/hct.js +7 -7
- package/dist/cjs/utils/theme-loading.js +3 -6
- package/dist/cjs/utils/token-ids.js +4 -7
- package/dist/cjs/utils/token-order.js +2 -3
- package/dist/es2019/artifacts/palettes-raw/typography-palette.js +3 -3
- package/dist/es2019/artifacts/themes/atlassian-typography-adg3.js +13 -13
- package/dist/es2019/artifacts/themes/atlassian-typography-minor3.js +14 -14
- package/dist/es2019/artifacts/themes/atlassian-typography.js +14 -14
- package/dist/es2019/artifacts/token-default-values.js +13 -13
- package/dist/es2019/artifacts/token-names.js +11 -11
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +33 -33
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-minor3.js +34 -34
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +34 -34
- package/dist/es2019/get-token-value.js +1 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/palettes/typography-palette.js +1 -1
- package/dist/es2019/tokens/atlassian-typography/theme.js +10 -10
- package/dist/es2019/tokens/atlassian-typography-adg3/theme.js +10 -10
- package/dist/es2019/tokens/atlassian-typography-minor3/theme.js +10 -10
- package/dist/es2019/tokens/default/typography/font.js +10 -10
- package/dist/es2019/utils/hct-color-utils/hct.js +3 -1
- package/dist/esm/artifacts/palettes-raw/typography-palette.js +3 -3
- package/dist/esm/artifacts/themes/atlassian-typography-adg3.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-typography-minor3.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-typography.js +2 -2
- package/dist/esm/artifacts/token-default-values.js +13 -13
- package/dist/esm/artifacts/token-names.js +11 -11
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +33 -33
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-minor3.js +34 -34
- package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +34 -34
- package/dist/esm/custom-theme.js +1 -1
- package/dist/esm/get-theme-styles.js +1 -1
- package/dist/esm/get-token-value.js +1 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/palettes/typography-palette.js +1 -1
- package/dist/esm/tokens/atlassian-typography/theme.js +10 -10
- package/dist/esm/tokens/atlassian-typography-adg3/theme.js +10 -10
- package/dist/esm/tokens/atlassian-typography-minor3/theme.js +10 -10
- package/dist/esm/tokens/default/typography/font.js +10 -10
- package/dist/esm/utils/hct-color-utils/hct.js +3 -1
- package/dist/types/artifacts/palettes-raw/typography-palette.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/themes/atlassian-typography.d.ts +2 -2
- package/dist/types/artifacts/token-default-values.d.ts +13 -13
- package/dist/types/artifacts/token-names.d.ts +21 -21
- 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/tokens-raw/atlassian-typography.d.ts +1 -1
- package/dist/types/tokens/atlassian-typography-adg3/theme.d.ts +12 -12
- package/dist/types/tokens/atlassian-typography-minor3/theme.d.ts +12 -12
- package/dist/types/types.d.ts +10 -10
- package/dist/types-ts4.5/artifacts/palettes-raw/typography-palette.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/themes/atlassian-typography.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/token-default-values.d.ts +13 -13
- package/dist/types-ts4.5/artifacts/token-names.d.ts +21 -21
- 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/tokens-raw/atlassian-typography.d.ts +1 -1
- package/dist/types-ts4.5/tokens/atlassian-typography-adg3/theme.d.ts +12 -12
- package/dist/types-ts4.5/tokens/atlassian-typography-minor3/theme.d.ts +12 -12
- package/dist/types-ts4.5/types.d.ts +10 -10
- package/figma/atlassian-typography-adg3.json +2 -2
- package/figma/atlassian-typography-minor3.json +3 -3
- package/figma/atlassian-typography.json +3 -3
- package/package.json +1 -1
- package/report.api.md +20 -20
- package/tmp/api-report-tmp.d.ts +20 -20
|
@@ -2,7 +2,7 @@ import type { UtilTokenSchema, ValueSchema } from '../../types';
|
|
|
2
2
|
declare const _default: {
|
|
3
3
|
font: {
|
|
4
4
|
body: {
|
|
5
|
-
|
|
5
|
+
small: {
|
|
6
6
|
value: {
|
|
7
7
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
8
8
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -12,7 +12,7 @@ declare const _default: {
|
|
|
12
12
|
fontStyle: "normal";
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
|
|
15
|
+
'[default]': {
|
|
16
16
|
value: {
|
|
17
17
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
18
18
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -22,7 +22,7 @@ declare const _default: {
|
|
|
22
22
|
fontStyle: "normal";
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
large: {
|
|
26
26
|
value: {
|
|
27
27
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
28
28
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -46,7 +46,7 @@ declare const _default: {
|
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
heading: {
|
|
49
|
-
|
|
49
|
+
small: {
|
|
50
50
|
value: {
|
|
51
51
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
52
52
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -56,7 +56,7 @@ declare const _default: {
|
|
|
56
56
|
fontStyle: "normal";
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
|
-
|
|
59
|
+
large: {
|
|
60
60
|
value: {
|
|
61
61
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
62
62
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -66,7 +66,7 @@ declare const _default: {
|
|
|
66
66
|
fontStyle: "normal";
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
|
-
|
|
69
|
+
medium: {
|
|
70
70
|
value: {
|
|
71
71
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
72
72
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -76,7 +76,7 @@ declare const _default: {
|
|
|
76
76
|
fontStyle: "normal";
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
|
-
|
|
79
|
+
xlarge: {
|
|
80
80
|
value: {
|
|
81
81
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
82
82
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -86,7 +86,7 @@ declare const _default: {
|
|
|
86
86
|
fontStyle: "normal";
|
|
87
87
|
};
|
|
88
88
|
};
|
|
89
|
-
|
|
89
|
+
xsmall: {
|
|
90
90
|
value: {
|
|
91
91
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
92
92
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -96,7 +96,7 @@ declare const _default: {
|
|
|
96
96
|
fontStyle: "normal";
|
|
97
97
|
};
|
|
98
98
|
};
|
|
99
|
-
|
|
99
|
+
xxlarge: {
|
|
100
100
|
value: {
|
|
101
101
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
102
102
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -106,7 +106,7 @@ declare const _default: {
|
|
|
106
106
|
fontStyle: "normal";
|
|
107
107
|
};
|
|
108
108
|
};
|
|
109
|
-
|
|
109
|
+
xxsmall: {
|
|
110
110
|
value: {
|
|
111
111
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
112
112
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -118,7 +118,7 @@ declare const _default: {
|
|
|
118
118
|
};
|
|
119
119
|
};
|
|
120
120
|
ui: {
|
|
121
|
-
|
|
121
|
+
small: {
|
|
122
122
|
value: {
|
|
123
123
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
124
124
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -128,7 +128,7 @@ declare const _default: {
|
|
|
128
128
|
fontStyle: "normal";
|
|
129
129
|
};
|
|
130
130
|
};
|
|
131
|
-
|
|
131
|
+
'[default]': {
|
|
132
132
|
value: {
|
|
133
133
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
134
134
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -2,7 +2,7 @@ import type { UtilTokenSchema, ValueSchema } from '../../types';
|
|
|
2
2
|
declare const _default: {
|
|
3
3
|
font: {
|
|
4
4
|
body: {
|
|
5
|
-
|
|
5
|
+
small: {
|
|
6
6
|
value: {
|
|
7
7
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
8
8
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -12,7 +12,7 @@ declare const _default: {
|
|
|
12
12
|
fontStyle: "normal";
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
|
|
15
|
+
'[default]': {
|
|
16
16
|
value: {
|
|
17
17
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
18
18
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -22,7 +22,7 @@ declare const _default: {
|
|
|
22
22
|
fontStyle: "normal";
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
large: {
|
|
26
26
|
value: {
|
|
27
27
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
28
28
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -46,7 +46,7 @@ declare const _default: {
|
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
heading: {
|
|
49
|
-
|
|
49
|
+
small: {
|
|
50
50
|
value: {
|
|
51
51
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
52
52
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -56,7 +56,7 @@ declare const _default: {
|
|
|
56
56
|
fontStyle: "normal";
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
|
-
|
|
59
|
+
large: {
|
|
60
60
|
value: {
|
|
61
61
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
62
62
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -66,7 +66,7 @@ declare const _default: {
|
|
|
66
66
|
fontStyle: "normal";
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
|
-
|
|
69
|
+
medium: {
|
|
70
70
|
value: {
|
|
71
71
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
72
72
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -76,7 +76,7 @@ declare const _default: {
|
|
|
76
76
|
fontStyle: "normal";
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
|
-
|
|
79
|
+
xlarge: {
|
|
80
80
|
value: {
|
|
81
81
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
82
82
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -86,7 +86,7 @@ declare const _default: {
|
|
|
86
86
|
fontStyle: "normal";
|
|
87
87
|
};
|
|
88
88
|
};
|
|
89
|
-
|
|
89
|
+
xsmall: {
|
|
90
90
|
value: {
|
|
91
91
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
92
92
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -96,7 +96,7 @@ declare const _default: {
|
|
|
96
96
|
fontStyle: "normal";
|
|
97
97
|
};
|
|
98
98
|
};
|
|
99
|
-
|
|
99
|
+
xxlarge: {
|
|
100
100
|
value: {
|
|
101
101
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
102
102
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -106,7 +106,7 @@ declare const _default: {
|
|
|
106
106
|
fontStyle: "normal";
|
|
107
107
|
};
|
|
108
108
|
};
|
|
109
|
-
|
|
109
|
+
xxsmall: {
|
|
110
110
|
value: {
|
|
111
111
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
112
112
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -118,7 +118,7 @@ declare const _default: {
|
|
|
118
118
|
};
|
|
119
119
|
};
|
|
120
120
|
ui: {
|
|
121
|
-
|
|
121
|
+
small: {
|
|
122
122
|
value: {
|
|
123
123
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
124
124
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -128,7 +128,7 @@ declare const _default: {
|
|
|
128
128
|
fontStyle: "normal";
|
|
129
129
|
};
|
|
130
130
|
};
|
|
131
|
-
|
|
131
|
+
'[default]': {
|
|
132
132
|
value: {
|
|
133
133
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
134
134
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -1022,22 +1022,22 @@ export interface TypographyTokenSchema<TPalette extends {
|
|
|
1022
1022
|
}> {
|
|
1023
1023
|
font: {
|
|
1024
1024
|
heading: {
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1025
|
+
xxlarge: TypographyToken<TPalette>;
|
|
1026
|
+
xlarge: TypographyToken<TPalette>;
|
|
1027
|
+
large: TypographyToken<TPalette>;
|
|
1028
|
+
medium: TypographyToken<TPalette>;
|
|
1029
|
+
small: TypographyToken<TPalette>;
|
|
1030
|
+
xsmall: TypographyToken<TPalette>;
|
|
1031
|
+
xxsmall: TypographyToken<TPalette>;
|
|
1032
1032
|
};
|
|
1033
1033
|
ui: {
|
|
1034
1034
|
'[default]': TypographyToken<TPalette>;
|
|
1035
|
-
|
|
1035
|
+
small: TypographyToken<TPalette>;
|
|
1036
1036
|
};
|
|
1037
1037
|
body: {
|
|
1038
1038
|
'[default]': TypographyToken<TPalette>;
|
|
1039
|
-
|
|
1040
|
-
|
|
1039
|
+
small: TypographyToken<TPalette>;
|
|
1040
|
+
large: TypographyToken<TPalette>;
|
|
1041
1041
|
};
|
|
1042
1042
|
code: {
|
|
1043
1043
|
'[default]': TypographyToken<TPalette>;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"introduced": "1.14.0",
|
|
9
9
|
"description": "Helpful guidance goes here"
|
|
10
10
|
},
|
|
11
|
-
"value": "ui-sans-serif, \"Segoe UI\", system-ui,
|
|
11
|
+
"value": "ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif"
|
|
12
12
|
},
|
|
13
13
|
"Typography adg3/font.family.code": {
|
|
14
14
|
"attributes": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"introduced": "1.14.0",
|
|
27
27
|
"description": "Helpful guidance goes here"
|
|
28
28
|
},
|
|
29
|
-
"value": "ui-sans-serif, \"Segoe UI\", system-ui,
|
|
29
|
+
"value": "ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif"
|
|
30
30
|
},
|
|
31
31
|
"Typography adg3/font.family.monospace": {
|
|
32
32
|
"attributes": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"introduced": "1.14.0",
|
|
9
9
|
"description": "Helpful guidance goes here"
|
|
10
10
|
},
|
|
11
|
-
"value": "ui-sans-serif, \"Segoe UI\", system-ui,
|
|
11
|
+
"value": "ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif"
|
|
12
12
|
},
|
|
13
13
|
"Typography minor3/font.family.code": {
|
|
14
14
|
"attributes": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"introduced": "1.14.0",
|
|
27
27
|
"description": "Helpful guidance goes here"
|
|
28
28
|
},
|
|
29
|
-
"value": "ui-sans-serif, \"Segoe UI\", system-ui,
|
|
29
|
+
"value": "ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif"
|
|
30
30
|
},
|
|
31
31
|
"Typography minor3/font.family.monospace": {
|
|
32
32
|
"attributes": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"introduced": "0.10.33",
|
|
45
45
|
"description": "Helpful guidance goes here"
|
|
46
46
|
},
|
|
47
|
-
"value": "ui-sans-serif, \"Segoe UI\", system-ui,
|
|
47
|
+
"value": "ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif"
|
|
48
48
|
},
|
|
49
49
|
"Typography minor3/font.family.brand": {
|
|
50
50
|
"attributes": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"introduced": "1.14.0",
|
|
9
9
|
"description": "Helpful guidance goes here"
|
|
10
10
|
},
|
|
11
|
-
"value": "ui-sans-serif, \"Segoe UI\", system-ui,
|
|
11
|
+
"value": "ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif"
|
|
12
12
|
},
|
|
13
13
|
"Typography/font.family.code": {
|
|
14
14
|
"attributes": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"introduced": "1.14.0",
|
|
27
27
|
"description": "Helpful guidance goes here"
|
|
28
28
|
},
|
|
29
|
-
"value": "ui-sans-serif, \"Segoe UI\", system-ui,
|
|
29
|
+
"value": "ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif"
|
|
30
30
|
},
|
|
31
31
|
"Typography/font.family.monospace": {
|
|
32
32
|
"attributes": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"introduced": "0.10.33",
|
|
45
45
|
"description": "Helpful guidance goes here"
|
|
46
46
|
},
|
|
47
|
-
"value": "ui-sans-serif, \"Segoe UI\", system-ui,
|
|
47
|
+
"value": "ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif"
|
|
48
48
|
},
|
|
49
49
|
"Typography/font.family.brand": {
|
|
50
50
|
"attributes": {
|
package/package.json
CHANGED
package/report.api.md
CHANGED
|
@@ -1125,23 +1125,23 @@ type CSSTokenMap = {
|
|
|
1125
1125
|
'space.negative.300': 'var(--ds-space-negative-300)';
|
|
1126
1126
|
'space.negative.400': 'var(--ds-space-negative-400)';
|
|
1127
1127
|
'font.body': 'var(--ds-font-body)';
|
|
1128
|
-
'font.body.
|
|
1129
|
-
'font.body.
|
|
1128
|
+
'font.body.large': 'var(--ds-font-body-large)';
|
|
1129
|
+
'font.body.small': 'var(--ds-font-body-small)';
|
|
1130
1130
|
'font.code': 'var(--ds-font-code)';
|
|
1131
|
-
'font.heading.
|
|
1132
|
-
'font.heading.
|
|
1133
|
-
'font.heading.
|
|
1134
|
-
'font.heading.
|
|
1135
|
-
'font.heading.
|
|
1136
|
-
'font.heading.
|
|
1137
|
-
'font.heading.
|
|
1131
|
+
'font.heading.large': 'var(--ds-font-heading-large)';
|
|
1132
|
+
'font.heading.medium': 'var(--ds-font-heading-medium)';
|
|
1133
|
+
'font.heading.small': 'var(--ds-font-heading-small)';
|
|
1134
|
+
'font.heading.xlarge': 'var(--ds-font-heading-xlarge)';
|
|
1135
|
+
'font.heading.xsmall': 'var(--ds-font-heading-xsmall)';
|
|
1136
|
+
'font.heading.xxlarge': 'var(--ds-font-heading-xxlarge)';
|
|
1137
|
+
'font.heading.xxsmall': 'var(--ds-font-heading-xxsmall)';
|
|
1138
1138
|
'font.letterSpacing.0': 'var(--ds-font-letterSpacing-0)';
|
|
1139
1139
|
'font.letterSpacing.100': 'var(--ds-font-letterSpacing-100)';
|
|
1140
1140
|
'font.letterSpacing.200': 'var(--ds-font-letterSpacing-200)';
|
|
1141
1141
|
'font.letterSpacing.300': 'var(--ds-font-letterSpacing-300)';
|
|
1142
1142
|
'font.letterSpacing.400': 'var(--ds-font-letterSpacing-400)';
|
|
1143
1143
|
'font.ui': 'var(--ds-font-ui)';
|
|
1144
|
-
'font.ui.
|
|
1144
|
+
'font.ui.small': 'var(--ds-font-ui-small)';
|
|
1145
1145
|
'font.family.body': 'var(--ds-font-family-body)';
|
|
1146
1146
|
'font.family.code': 'var(--ds-font-family-code)';
|
|
1147
1147
|
'font.family.heading': 'var(--ds-font-family-heading)';
|
|
@@ -2448,23 +2448,23 @@ const tokens: {
|
|
|
2448
2448
|
readonly 'space.negative.300': '--ds-space-negative-300';
|
|
2449
2449
|
readonly 'space.negative.400': '--ds-space-negative-400';
|
|
2450
2450
|
readonly 'font.body': '--ds-font-body';
|
|
2451
|
-
readonly 'font.body.
|
|
2452
|
-
readonly 'font.body.
|
|
2451
|
+
readonly 'font.body.large': '--ds-font-body-large';
|
|
2452
|
+
readonly 'font.body.small': '--ds-font-body-small';
|
|
2453
2453
|
readonly 'font.code': '--ds-font-code';
|
|
2454
|
-
readonly 'font.heading.
|
|
2455
|
-
readonly 'font.heading.
|
|
2456
|
-
readonly 'font.heading.
|
|
2457
|
-
readonly 'font.heading.
|
|
2458
|
-
readonly 'font.heading.
|
|
2459
|
-
readonly 'font.heading.
|
|
2460
|
-
readonly 'font.heading.
|
|
2454
|
+
readonly 'font.heading.large': '--ds-font-heading-large';
|
|
2455
|
+
readonly 'font.heading.medium': '--ds-font-heading-medium';
|
|
2456
|
+
readonly 'font.heading.small': '--ds-font-heading-small';
|
|
2457
|
+
readonly 'font.heading.xlarge': '--ds-font-heading-xlarge';
|
|
2458
|
+
readonly 'font.heading.xsmall': '--ds-font-heading-xsmall';
|
|
2459
|
+
readonly 'font.heading.xxlarge': '--ds-font-heading-xxlarge';
|
|
2460
|
+
readonly 'font.heading.xxsmall': '--ds-font-heading-xxsmall';
|
|
2461
2461
|
readonly 'font.letterSpacing.0': '--ds-font-letterSpacing-0';
|
|
2462
2462
|
readonly 'font.letterSpacing.100': '--ds-font-letterSpacing-100';
|
|
2463
2463
|
readonly 'font.letterSpacing.200': '--ds-font-letterSpacing-200';
|
|
2464
2464
|
readonly 'font.letterSpacing.300': '--ds-font-letterSpacing-300';
|
|
2465
2465
|
readonly 'font.letterSpacing.400': '--ds-font-letterSpacing-400';
|
|
2466
2466
|
readonly 'font.ui': '--ds-font-ui';
|
|
2467
|
-
readonly 'font.ui.
|
|
2467
|
+
readonly 'font.ui.small': '--ds-font-ui-small';
|
|
2468
2468
|
readonly 'font.family.body': '--ds-font-family-body';
|
|
2469
2469
|
readonly 'font.family.code': '--ds-font-family-code';
|
|
2470
2470
|
readonly 'font.family.heading': '--ds-font-family-heading';
|
package/tmp/api-report-tmp.d.ts
CHANGED
|
@@ -666,23 +666,23 @@ type CSSTokenMap = {
|
|
|
666
666
|
'space.negative.300': 'var(--ds-space-negative-300)';
|
|
667
667
|
'space.negative.400': 'var(--ds-space-negative-400)';
|
|
668
668
|
'font.body': 'var(--ds-font-body)';
|
|
669
|
-
'font.body.
|
|
670
|
-
'font.body.
|
|
669
|
+
'font.body.large': 'var(--ds-font-body-large)';
|
|
670
|
+
'font.body.small': 'var(--ds-font-body-small)';
|
|
671
671
|
'font.code': 'var(--ds-font-code)';
|
|
672
|
-
'font.heading.
|
|
673
|
-
'font.heading.
|
|
674
|
-
'font.heading.
|
|
675
|
-
'font.heading.
|
|
676
|
-
'font.heading.
|
|
677
|
-
'font.heading.
|
|
678
|
-
'font.heading.
|
|
672
|
+
'font.heading.large': 'var(--ds-font-heading-large)';
|
|
673
|
+
'font.heading.medium': 'var(--ds-font-heading-medium)';
|
|
674
|
+
'font.heading.small': 'var(--ds-font-heading-small)';
|
|
675
|
+
'font.heading.xlarge': 'var(--ds-font-heading-xlarge)';
|
|
676
|
+
'font.heading.xsmall': 'var(--ds-font-heading-xsmall)';
|
|
677
|
+
'font.heading.xxlarge': 'var(--ds-font-heading-xxlarge)';
|
|
678
|
+
'font.heading.xxsmall': 'var(--ds-font-heading-xxsmall)';
|
|
679
679
|
'font.letterSpacing.0': 'var(--ds-font-letterSpacing-0)';
|
|
680
680
|
'font.letterSpacing.100': 'var(--ds-font-letterSpacing-100)';
|
|
681
681
|
'font.letterSpacing.200': 'var(--ds-font-letterSpacing-200)';
|
|
682
682
|
'font.letterSpacing.300': 'var(--ds-font-letterSpacing-300)';
|
|
683
683
|
'font.letterSpacing.400': 'var(--ds-font-letterSpacing-400)';
|
|
684
684
|
'font.ui': 'var(--ds-font-ui)';
|
|
685
|
-
'font.ui.
|
|
685
|
+
'font.ui.small': 'var(--ds-font-ui-small)';
|
|
686
686
|
'font.family.body': 'var(--ds-font-family-body)';
|
|
687
687
|
'font.family.code': 'var(--ds-font-family-code)';
|
|
688
688
|
'font.family.heading': 'var(--ds-font-family-heading)';
|
|
@@ -1417,23 +1417,23 @@ const tokens: {
|
|
|
1417
1417
|
readonly 'space.negative.300': "--ds-space-negative-300";
|
|
1418
1418
|
readonly 'space.negative.400': "--ds-space-negative-400";
|
|
1419
1419
|
readonly 'font.body': "--ds-font-body";
|
|
1420
|
-
readonly 'font.body.
|
|
1421
|
-
readonly 'font.body.
|
|
1420
|
+
readonly 'font.body.large': "--ds-font-body-large";
|
|
1421
|
+
readonly 'font.body.small': "--ds-font-body-small";
|
|
1422
1422
|
readonly 'font.code': "--ds-font-code";
|
|
1423
|
-
readonly 'font.heading.
|
|
1424
|
-
readonly 'font.heading.
|
|
1425
|
-
readonly 'font.heading.
|
|
1426
|
-
readonly 'font.heading.
|
|
1427
|
-
readonly 'font.heading.
|
|
1428
|
-
readonly 'font.heading.
|
|
1429
|
-
readonly 'font.heading.
|
|
1423
|
+
readonly 'font.heading.large': "--ds-font-heading-large";
|
|
1424
|
+
readonly 'font.heading.medium': "--ds-font-heading-medium";
|
|
1425
|
+
readonly 'font.heading.small': "--ds-font-heading-small";
|
|
1426
|
+
readonly 'font.heading.xlarge': "--ds-font-heading-xlarge";
|
|
1427
|
+
readonly 'font.heading.xsmall': "--ds-font-heading-xsmall";
|
|
1428
|
+
readonly 'font.heading.xxlarge': "--ds-font-heading-xxlarge";
|
|
1429
|
+
readonly 'font.heading.xxsmall': "--ds-font-heading-xxsmall";
|
|
1430
1430
|
readonly 'font.letterSpacing.0': "--ds-font-letterSpacing-0";
|
|
1431
1431
|
readonly 'font.letterSpacing.100': "--ds-font-letterSpacing-100";
|
|
1432
1432
|
readonly 'font.letterSpacing.200': "--ds-font-letterSpacing-200";
|
|
1433
1433
|
readonly 'font.letterSpacing.300': "--ds-font-letterSpacing-300";
|
|
1434
1434
|
readonly 'font.letterSpacing.400': "--ds-font-letterSpacing-400";
|
|
1435
1435
|
readonly 'font.ui': "--ds-font-ui";
|
|
1436
|
-
readonly 'font.ui.
|
|
1436
|
+
readonly 'font.ui.small': "--ds-font-ui-small";
|
|
1437
1437
|
readonly 'font.family.body': "--ds-font-family-body";
|
|
1438
1438
|
readonly 'font.family.code': "--ds-font-family-code";
|
|
1439
1439
|
readonly 'font.family.heading': "--ds-font-family-heading";
|