@atlaskit/tokens 6.3.1 → 6.3.3
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 +14 -0
- package/dist/cjs/artifacts/generated-pairs.js +1 -1
- package/dist/cjs/artifacts/palettes-raw/legacy-palette.js +2 -1
- package/dist/cjs/artifacts/palettes-raw/palette-brand-refresh.js +2 -1
- package/dist/cjs/artifacts/palettes-raw/palette.js +2 -1
- package/dist/cjs/artifacts/palettes-raw/shape-palette.js +2 -1
- package/dist/cjs/artifacts/palettes-raw/spacing-scale.js +2 -1
- package/dist/cjs/artifacts/palettes-raw/typography-palette.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark-brand-refresh.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark-future.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-light-brand-refresh.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-light-future.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-light-increased-contrast.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-shape-rounder.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-shape-roundest.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-shape.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-spacing.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +12 -11
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-modernized.js +12 -11
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-refreshed.js +12 -11
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +12 -11
- package/dist/cjs/babel-plugin/plugin.js +5 -2
- package/dist/cjs/entry-points/token-metadata.codegen.js +6 -6
- package/dist/cjs/entry-points/tokens-raw.js +9 -2
- package/dist/es2019/artifacts/generated-pairs.js +1 -1
- package/dist/es2019/artifacts/palettes-raw/legacy-palette.js +2 -1
- package/dist/es2019/artifacts/palettes-raw/palette-brand-refresh.js +2 -1
- package/dist/es2019/artifacts/palettes-raw/palette.js +2 -1
- package/dist/es2019/artifacts/palettes-raw/shape-palette.js +2 -1
- package/dist/es2019/artifacts/palettes-raw/spacing-scale.js +2 -1
- package/dist/es2019/artifacts/palettes-raw/typography-palette.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark-brand-refresh.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark-future.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-light-brand-refresh.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-light-future.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-light-increased-contrast.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-shape-rounder.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-shape-roundest.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-shape.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-spacing.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +12 -11
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-modernized.js +12 -11
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-refreshed.js +12 -11
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +12 -11
- package/dist/es2019/babel-plugin/plugin.js +5 -2
- package/dist/es2019/entry-points/token-metadata.codegen.js +6 -6
- package/dist/es2019/entry-points/tokens-raw.js +3 -2
- package/dist/esm/artifacts/generated-pairs.js +1 -1
- package/dist/esm/artifacts/palettes-raw/legacy-palette.js +2 -1
- package/dist/esm/artifacts/palettes-raw/palette-brand-refresh.js +2 -1
- package/dist/esm/artifacts/palettes-raw/palette.js +2 -1
- package/dist/esm/artifacts/palettes-raw/shape-palette.js +2 -1
- package/dist/esm/artifacts/palettes-raw/spacing-scale.js +2 -1
- package/dist/esm/artifacts/palettes-raw/typography-palette.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-dark-brand-refresh.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-dark-future.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-light-brand-refresh.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-light-future.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-light-increased-contrast.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-shape-rounder.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-shape-roundest.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-shape.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-spacing.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +12 -11
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-modernized.js +12 -11
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-refreshed.js +12 -11
- package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +12 -11
- package/dist/esm/babel-plugin/plugin.js +5 -2
- package/dist/esm/entry-points/token-metadata.codegen.js +6 -6
- package/dist/esm/entry-points/tokens-raw.js +3 -2
- package/dist/types/artifacts/generated-pairs.d.ts +4 -9
- package/dist/types/artifacts/palettes-raw/legacy-palette.d.ts +14 -30
- package/dist/types/artifacts/palettes-raw/palette-brand-refresh.d.ts +14 -30
- package/dist/types/artifacts/palettes-raw/palette.d.ts +14 -30
- package/dist/types/artifacts/palettes-raw/shape-palette.d.ts +13 -26
- package/dist/types/artifacts/palettes-raw/spacing-scale.d.ts +13 -11
- package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +13 -26
- package/dist/types/artifacts/tokens-raw/atlassian-dark-brand-refresh.d.ts +36 -95
- package/dist/types/artifacts/tokens-raw/atlassian-dark-future.d.ts +18 -17
- package/dist/types/artifacts/tokens-raw/atlassian-dark-increased-contrast.d.ts +36 -119
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +36 -95
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +36 -99
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +36 -75
- package/dist/types/artifacts/tokens-raw/atlassian-light-brand-refresh.d.ts +36 -75
- package/dist/types/artifacts/tokens-raw/atlassian-light-future.d.ts +18 -17
- package/dist/types/artifacts/tokens-raw/atlassian-light-increased-contrast.d.ts +36 -99
- package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +36 -75
- package/dist/types/artifacts/tokens-raw/atlassian-shape-rounder.d.ts +18 -73
- package/dist/types/artifacts/tokens-raw/atlassian-shape-roundest.d.ts +18 -73
- package/dist/types/artifacts/tokens-raw/atlassian-shape.d.ts +18 -73
- package/dist/types/artifacts/tokens-raw/atlassian-spacing.d.ts +18 -43
- package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +25 -46
- package/dist/types/artifacts/tokens-raw/atlassian-typography-modernized.d.ts +25 -46
- package/dist/types/artifacts/tokens-raw/atlassian-typography-refreshed.d.ts +25 -46
- package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +25 -46
- package/dist/types/entry-points/token-metadata.codegen.d.ts +1 -1
- package/dist/types/entry-points/tokens-raw.d.ts +3 -2
- package/dist/types-ts4.5/artifacts/generated-pairs.d.ts +4 -9
- package/dist/types-ts4.5/artifacts/palettes-raw/legacy-palette.d.ts +14 -30
- package/dist/types-ts4.5/artifacts/palettes-raw/palette-brand-refresh.d.ts +14 -30
- package/dist/types-ts4.5/artifacts/palettes-raw/palette.d.ts +14 -30
- package/dist/types-ts4.5/artifacts/palettes-raw/shape-palette.d.ts +13 -26
- package/dist/types-ts4.5/artifacts/palettes-raw/spacing-scale.d.ts +13 -11
- package/dist/types-ts4.5/artifacts/palettes-raw/typography-palette.d.ts +13 -26
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-brand-refresh.d.ts +36 -95
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-future.d.ts +18 -17
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-increased-contrast.d.ts +36 -119
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark.d.ts +36 -95
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +36 -99
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-light.d.ts +36 -75
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-brand-refresh.d.ts +36 -75
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-future.d.ts +18 -17
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-increased-contrast.d.ts +36 -99
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light.d.ts +36 -75
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape-rounder.d.ts +18 -73
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape-roundest.d.ts +18 -73
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape.d.ts +18 -73
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-spacing.d.ts +18 -43
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +25 -46
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-modernized.d.ts +25 -46
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-refreshed.d.ts +25 -46
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography.d.ts +25 -46
- package/dist/types-ts4.5/entry-points/token-metadata.codegen.d.ts +1 -1
- package/dist/types-ts4.5/entry-points/tokens-raw.d.ts +3 -2
- package/figma/atlassian-typography-adg3.json +2 -2
- package/figma/atlassian-typography-modernized.json +2 -2
- package/figma/atlassian-typography-refreshed.json +2 -2
- package/figma/atlassian-typography.json +2 -2
- package/offerings.json +32 -0
- package/package.json +9 -28
|
@@ -40,7 +40,7 @@ var getThemeValues = function getThemeValues(theme) {
|
|
|
40
40
|
value = rawToken.value;
|
|
41
41
|
} else if (typeof rawToken.value === 'number') {
|
|
42
42
|
value = rawToken.value.toString();
|
|
43
|
-
} else {
|
|
43
|
+
} else if (Array.isArray(rawToken.value)) {
|
|
44
44
|
// If it's a box shadow, it'll be an array of values that needs to be
|
|
45
45
|
// formatted to look like '0px 0px 8px #091e4229, 0px 0px 1px #091e421F'
|
|
46
46
|
value = rawToken.value.reduce(function (prev, curr, index) {
|
|
@@ -64,6 +64,9 @@ var getThemeValues = function getThemeValues(theme) {
|
|
|
64
64
|
}
|
|
65
65
|
return prev + value;
|
|
66
66
|
}, '');
|
|
67
|
+
} else {
|
|
68
|
+
// ignore when value is `fontweight` etc. - this is apparently not handled here.
|
|
69
|
+
return formatted;
|
|
67
70
|
}
|
|
68
71
|
return _objectSpread(_objectSpread({}, formatted), {}, _defineProperty({}, rawToken.cleanName, value));
|
|
69
72
|
}, {});
|
|
@@ -111,7 +114,7 @@ export default function plugin() {
|
|
|
111
114
|
}
|
|
112
115
|
}
|
|
113
116
|
|
|
114
|
-
// The border.radius tokens are skipped in shouldForceAutoFallback mode because these tokens are not enabled in the live
|
|
117
|
+
// The border.radius tokens are skipped in shouldForceAutoFallback mode because these tokens are not enabled in the live apps and enforcing default values on them will override all the fallback values that are currently being used to render the actual UI.
|
|
115
118
|
// The exempted tokens (the ones that start with any of the provided exemption prefixes) are also skipped.
|
|
116
119
|
var forceAutoFallbackExemptions = ['border.radius'].concat(_toConsumableArray(state.opts.forceAutoFallbackExemptions || []));
|
|
117
120
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Metadata for generation of of `@atlaskit/ads-mcp` and https://atlassian.design/llms-tokens.txt.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::e7aee1e60142ef9336a2208ccfa3aa22>>
|
|
7
7
|
* @codegenCommand yarn build tokens
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -2080,17 +2080,17 @@ export var tokens = [{
|
|
|
2080
2080
|
}, {
|
|
2081
2081
|
name: 'font.heading.xxlarge',
|
|
2082
2082
|
path: ['font', 'heading', 'xxlarge'],
|
|
2083
|
-
description: 'For overlapping brand with
|
|
2083
|
+
description: 'For overlapping brand with app promotions, such as marketplace content. Migrate instances of H900 to Heading XXL.',
|
|
2084
2084
|
exampleValue: 'normal 500 2.1875rem/2.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif'
|
|
2085
2085
|
}, {
|
|
2086
2086
|
name: 'font.heading.xlarge',
|
|
2087
2087
|
path: ['font', 'heading', 'xlarge'],
|
|
2088
|
-
description: 'For overlapping brand with
|
|
2088
|
+
description: 'For overlapping brand with app promotions, such as marketplace content. Migrate instances of H800 to Heading XL.',
|
|
2089
2089
|
exampleValue: 'normal 600 1.8125rem/2rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif'
|
|
2090
2090
|
}, {
|
|
2091
2091
|
name: 'font.heading.large',
|
|
2092
2092
|
path: ['font', 'heading', 'large'],
|
|
2093
|
-
description: '
|
|
2093
|
+
description: 'App page titles, such as forms. Migrate instances of H700 to Heading L.',
|
|
2094
2094
|
exampleValue: 'normal 500 1.5rem/1.75rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif'
|
|
2095
2095
|
}, {
|
|
2096
2096
|
name: 'font.heading.medium',
|
|
@@ -2175,12 +2175,12 @@ export var tokens = [{
|
|
|
2175
2175
|
}, {
|
|
2176
2176
|
name: 'font.family.heading',
|
|
2177
2177
|
path: ['font', 'family', 'heading'],
|
|
2178
|
-
description: 'For our default
|
|
2178
|
+
description: 'For our default UI heading text.',
|
|
2179
2179
|
exampleValue: 'ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif'
|
|
2180
2180
|
}, {
|
|
2181
2181
|
name: 'font.family.body',
|
|
2182
2182
|
path: ['font', 'family', 'body'],
|
|
2183
|
-
description: 'For our default
|
|
2183
|
+
description: 'For our default UI body text.',
|
|
2184
2184
|
exampleValue: 'ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif'
|
|
2185
2185
|
}, {
|
|
2186
2186
|
name: 'font.family.code',
|
|
@@ -4,7 +4,8 @@ export { default as legacyLightTokens } from '../artifacts/tokens-raw/atlassian-
|
|
|
4
4
|
export { default as dark } from '../artifacts/tokens-raw/atlassian-dark';
|
|
5
5
|
export { default as darkBrandRefresh } from '../artifacts/tokens-raw/atlassian-dark-brand-refresh';
|
|
6
6
|
export { default as spacing } from '../artifacts/tokens-raw/atlassian-spacing';
|
|
7
|
-
export { default as typography } from '../artifacts/tokens-raw/atlassian-typography
|
|
8
|
-
export { default as typographyRefreshed } from '../artifacts/tokens-raw/atlassian-typography-refreshed';
|
|
7
|
+
export { default as typography } from '../artifacts/tokens-raw/atlassian-typography';
|
|
9
8
|
export { default as typographyAdg3 } from '../artifacts/tokens-raw/atlassian-typography-adg3';
|
|
9
|
+
export { default as typographyModernized } from '../artifacts/tokens-raw/atlassian-typography-modernized';
|
|
10
|
+
export { default as typographyRefreshed } from '../artifacts/tokens-raw/atlassian-typography-refreshed';
|
|
10
11
|
export { default as shape } from '../artifacts/tokens-raw/atlassian-shape';
|
|
@@ -4,18 +4,13 @@
|
|
|
4
4
|
* Auto-generated list of token pairings that may need to have sufficient contrast.
|
|
5
5
|
* Not currently used by tests, but is used by the custom theme contrast checker example
|
|
6
6
|
*
|
|
7
|
-
* @codegen <<SignedSource::
|
|
7
|
+
* @codegen <<SignedSource::0eb97f6b58ef4db8602f525bf6140cc0>>
|
|
8
8
|
* @codegenCommand yarn build tokens
|
|
9
9
|
*/
|
|
10
|
-
export declare const generatedPairs:
|
|
10
|
+
export declare const generatedPairs: {
|
|
11
11
|
foreground: string;
|
|
12
12
|
background: string;
|
|
13
13
|
desiredContrast: number;
|
|
14
|
-
layeredTokens
|
|
15
|
-
}
|
|
16
|
-
foreground: string;
|
|
17
|
-
background: string;
|
|
18
|
-
desiredContrast: number;
|
|
19
|
-
layeredTokens?: undefined;
|
|
20
|
-
})[];
|
|
14
|
+
layeredTokens?: string[];
|
|
15
|
+
}[];
|
|
21
16
|
export default generatedPairs;
|
|
@@ -1,41 +1,25 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::012be6ddb918f408e4258335916d9334>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
original: {
|
|
15
|
-
value: string;
|
|
16
|
-
attributes: {
|
|
17
|
-
group: string;
|
|
18
|
-
category: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
name: string;
|
|
22
|
-
path: string[];
|
|
23
|
-
} | {
|
|
24
|
-
value: number;
|
|
25
|
-
attributes: {
|
|
26
|
-
group: string;
|
|
27
|
-
category: string;
|
|
28
|
-
};
|
|
6
|
+
type TokenValue = string | number;
|
|
7
|
+
type TokenValueOriginal = string | number;
|
|
8
|
+
type TokenAttributes = {
|
|
9
|
+
group: string;
|
|
10
|
+
category: string;
|
|
11
|
+
};
|
|
12
|
+
type Token = {
|
|
13
|
+
value: TokenValue;
|
|
29
14
|
filePath: string;
|
|
30
15
|
isSource: boolean;
|
|
16
|
+
attributes: TokenAttributes;
|
|
31
17
|
original: {
|
|
32
|
-
value:
|
|
33
|
-
attributes:
|
|
34
|
-
group: string;
|
|
35
|
-
category: string;
|
|
36
|
-
};
|
|
18
|
+
value: TokenValueOriginal;
|
|
19
|
+
attributes: TokenAttributes;
|
|
37
20
|
};
|
|
38
21
|
name: string;
|
|
39
22
|
path: string[];
|
|
40
|
-
}
|
|
23
|
+
};
|
|
24
|
+
declare const tokens: Token[];
|
|
41
25
|
export default tokens;
|
|
@@ -1,41 +1,25 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::54883f28091f3d25251716094b262928>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
original: {
|
|
15
|
-
value: string;
|
|
16
|
-
attributes: {
|
|
17
|
-
group: string;
|
|
18
|
-
category: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
name: string;
|
|
22
|
-
path: string[];
|
|
23
|
-
} | {
|
|
24
|
-
value: number;
|
|
25
|
-
attributes: {
|
|
26
|
-
group: string;
|
|
27
|
-
category: string;
|
|
28
|
-
};
|
|
6
|
+
type TokenValue = string | number;
|
|
7
|
+
type TokenValueOriginal = string | number;
|
|
8
|
+
type TokenAttributes = {
|
|
9
|
+
group: string;
|
|
10
|
+
category: string;
|
|
11
|
+
};
|
|
12
|
+
type Token = {
|
|
13
|
+
value: TokenValue;
|
|
29
14
|
filePath: string;
|
|
30
15
|
isSource: boolean;
|
|
16
|
+
attributes: TokenAttributes;
|
|
31
17
|
original: {
|
|
32
|
-
value:
|
|
33
|
-
attributes:
|
|
34
|
-
group: string;
|
|
35
|
-
category: string;
|
|
36
|
-
};
|
|
18
|
+
value: TokenValueOriginal;
|
|
19
|
+
attributes: TokenAttributes;
|
|
37
20
|
};
|
|
38
21
|
name: string;
|
|
39
22
|
path: string[];
|
|
40
|
-
}
|
|
23
|
+
};
|
|
24
|
+
declare const tokens: Token[];
|
|
41
25
|
export default tokens;
|
|
@@ -1,41 +1,25 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::48b1ab9881aaa7ef53aff6c97ebfc413>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
original: {
|
|
15
|
-
value: string;
|
|
16
|
-
attributes: {
|
|
17
|
-
group: string;
|
|
18
|
-
category: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
name: string;
|
|
22
|
-
path: string[];
|
|
23
|
-
} | {
|
|
24
|
-
value: number;
|
|
25
|
-
attributes: {
|
|
26
|
-
group: string;
|
|
27
|
-
category: string;
|
|
28
|
-
};
|
|
6
|
+
type TokenValue = string | number;
|
|
7
|
+
type TokenValueOriginal = string | number;
|
|
8
|
+
type TokenAttributes = {
|
|
9
|
+
group: string;
|
|
10
|
+
category: string;
|
|
11
|
+
};
|
|
12
|
+
type Token = {
|
|
13
|
+
value: TokenValue;
|
|
29
14
|
filePath: string;
|
|
30
15
|
isSource: boolean;
|
|
16
|
+
attributes: TokenAttributes;
|
|
31
17
|
original: {
|
|
32
|
-
value:
|
|
33
|
-
attributes:
|
|
34
|
-
group: string;
|
|
35
|
-
category: string;
|
|
36
|
-
};
|
|
18
|
+
value: TokenValueOriginal;
|
|
19
|
+
attributes: TokenAttributes;
|
|
37
20
|
};
|
|
38
21
|
name: string;
|
|
39
22
|
path: string[];
|
|
40
|
-
}
|
|
23
|
+
};
|
|
24
|
+
declare const tokens: Token[];
|
|
41
25
|
export default tokens;
|
|
@@ -1,37 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::72feb1804c9c8d27535c172745ee1b9b>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
original: {
|
|
14
|
-
value: number;
|
|
15
|
-
attributes: {
|
|
16
|
-
group: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
name: string;
|
|
20
|
-
path: string[];
|
|
21
|
-
} | {
|
|
22
|
-
value: string;
|
|
23
|
-
attributes: {
|
|
24
|
-
group: string;
|
|
25
|
-
};
|
|
6
|
+
type TokenValue = string;
|
|
7
|
+
type TokenValueOriginal = string | number;
|
|
8
|
+
type TokenAttributes = {
|
|
9
|
+
group: string;
|
|
10
|
+
};
|
|
11
|
+
type Token = {
|
|
12
|
+
value: TokenValue;
|
|
26
13
|
filePath: string;
|
|
27
14
|
isSource: boolean;
|
|
15
|
+
attributes: TokenAttributes;
|
|
28
16
|
original: {
|
|
29
|
-
value:
|
|
30
|
-
attributes:
|
|
31
|
-
group: string;
|
|
32
|
-
};
|
|
17
|
+
value: TokenValueOriginal;
|
|
18
|
+
attributes: TokenAttributes;
|
|
33
19
|
};
|
|
34
20
|
name: string;
|
|
35
21
|
path: string[];
|
|
36
|
-
}
|
|
22
|
+
};
|
|
23
|
+
declare const tokens: Token[];
|
|
37
24
|
export default tokens;
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::11e5a7b123691c94315b7df9e7aa8f9f>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
type TokenValue = string;
|
|
7
|
+
type TokenValueOriginal = number;
|
|
8
|
+
type TokenAttributes = {
|
|
9
|
+
group: string;
|
|
10
|
+
};
|
|
11
|
+
type Token = {
|
|
12
|
+
value: TokenValue;
|
|
11
13
|
filePath: string;
|
|
12
14
|
isSource: boolean;
|
|
15
|
+
attributes: TokenAttributes;
|
|
13
16
|
original: {
|
|
14
|
-
value:
|
|
15
|
-
attributes:
|
|
16
|
-
group: string;
|
|
17
|
-
};
|
|
17
|
+
value: TokenValueOriginal;
|
|
18
|
+
attributes: TokenAttributes;
|
|
18
19
|
};
|
|
19
20
|
name: string;
|
|
20
21
|
path: string[];
|
|
21
|
-
}
|
|
22
|
+
};
|
|
23
|
+
declare const tokens: Token[];
|
|
22
24
|
export default tokens;
|
|
@@ -1,37 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::0736e3ca289c67f160a69299616f69c9>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
original: {
|
|
14
|
-
value: string;
|
|
15
|
-
attributes: {
|
|
16
|
-
group: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
name: string;
|
|
20
|
-
path: string[];
|
|
21
|
-
} | {
|
|
22
|
-
value: string;
|
|
23
|
-
attributes: {
|
|
24
|
-
group: string;
|
|
25
|
-
};
|
|
6
|
+
type TokenValue = string;
|
|
7
|
+
type TokenValueOriginal = string | number;
|
|
8
|
+
type TokenAttributes = {
|
|
9
|
+
group: string;
|
|
10
|
+
};
|
|
11
|
+
type Token = {
|
|
12
|
+
value: TokenValue;
|
|
26
13
|
filePath: string;
|
|
27
14
|
isSource: boolean;
|
|
15
|
+
attributes: TokenAttributes;
|
|
28
16
|
original: {
|
|
29
|
-
value:
|
|
30
|
-
attributes:
|
|
31
|
-
group: string;
|
|
32
|
-
};
|
|
17
|
+
value: TokenValueOriginal;
|
|
18
|
+
attributes: TokenAttributes;
|
|
33
19
|
};
|
|
34
20
|
name: string;
|
|
35
21
|
path: string[];
|
|
36
|
-
}
|
|
22
|
+
};
|
|
23
|
+
declare const tokens: Token[];
|
|
37
24
|
export default tokens;
|
|
@@ -1,109 +1,50 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::147a2afa95c37bc2a3b0a0e34c7a9710>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
description: string;
|
|
6
|
+
type TokenValue = string | number | {
|
|
7
|
+
radius: number;
|
|
8
|
+
offset: {
|
|
9
|
+
x: number;
|
|
10
|
+
y: number;
|
|
12
11
|
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
value: string;
|
|
24
|
-
};
|
|
25
|
-
name: string;
|
|
26
|
-
path: string[];
|
|
27
|
-
cleanName: string;
|
|
28
|
-
} | {
|
|
29
|
-
attributes: {
|
|
30
|
-
group: string;
|
|
31
|
-
state: string;
|
|
32
|
-
introduced: string;
|
|
33
|
-
description: string;
|
|
34
|
-
};
|
|
35
|
-
value: ({
|
|
36
|
-
radius: number;
|
|
37
|
-
spread: number;
|
|
38
|
-
color: string;
|
|
39
|
-
offset: {
|
|
40
|
-
x: number;
|
|
41
|
-
y: number;
|
|
42
|
-
};
|
|
43
|
-
opacity: number;
|
|
44
|
-
} | {
|
|
45
|
-
radius: number;
|
|
46
|
-
offset: {
|
|
47
|
-
x: number;
|
|
48
|
-
y: number;
|
|
49
|
-
};
|
|
50
|
-
color: string;
|
|
51
|
-
opacity: number;
|
|
52
|
-
spread?: undefined;
|
|
53
|
-
})[];
|
|
54
|
-
filePath: string;
|
|
55
|
-
isSource: boolean;
|
|
56
|
-
original: {
|
|
57
|
-
attributes: {
|
|
58
|
-
group: string;
|
|
59
|
-
state: string;
|
|
60
|
-
introduced: string;
|
|
61
|
-
description: string;
|
|
62
|
-
};
|
|
63
|
-
value: ({
|
|
64
|
-
radius: number;
|
|
65
|
-
spread: number;
|
|
66
|
-
color: string;
|
|
67
|
-
offset: {
|
|
68
|
-
x: number;
|
|
69
|
-
y: number;
|
|
70
|
-
};
|
|
71
|
-
opacity: number;
|
|
72
|
-
} | {
|
|
73
|
-
radius: number;
|
|
74
|
-
offset: {
|
|
75
|
-
x: number;
|
|
76
|
-
y: number;
|
|
77
|
-
};
|
|
78
|
-
color: string;
|
|
79
|
-
opacity: number;
|
|
80
|
-
spread?: undefined;
|
|
81
|
-
})[];
|
|
82
|
-
};
|
|
83
|
-
name: string;
|
|
84
|
-
path: string[];
|
|
85
|
-
cleanName: string;
|
|
86
|
-
} | {
|
|
87
|
-
attributes: {
|
|
88
|
-
group: string;
|
|
89
|
-
state: string;
|
|
90
|
-
introduced: string;
|
|
91
|
-
description: string;
|
|
12
|
+
color: string;
|
|
13
|
+
opacity: number;
|
|
14
|
+
spread?: number;
|
|
15
|
+
inset?: boolean;
|
|
16
|
+
}[];
|
|
17
|
+
type TokenValueOriginal = string | {
|
|
18
|
+
radius: number;
|
|
19
|
+
offset: {
|
|
20
|
+
x: number;
|
|
21
|
+
y: number;
|
|
92
22
|
};
|
|
93
|
-
|
|
23
|
+
color: string;
|
|
24
|
+
opacity: number;
|
|
25
|
+
spread?: number;
|
|
26
|
+
inset?: boolean;
|
|
27
|
+
}[];
|
|
28
|
+
type TokenAttributes = {
|
|
29
|
+
group: string;
|
|
30
|
+
state: string;
|
|
31
|
+
introduced: string;
|
|
32
|
+
description: string;
|
|
33
|
+
suggest?: string[];
|
|
34
|
+
deprecated?: string;
|
|
35
|
+
};
|
|
36
|
+
type Token = {
|
|
37
|
+
value: TokenValue;
|
|
94
38
|
filePath: string;
|
|
95
39
|
isSource: boolean;
|
|
40
|
+
attributes: TokenAttributes;
|
|
96
41
|
original: {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
state: string;
|
|
100
|
-
introduced: string;
|
|
101
|
-
description: string;
|
|
102
|
-
};
|
|
103
|
-
value: string;
|
|
42
|
+
value: TokenValueOriginal;
|
|
43
|
+
attributes: TokenAttributes;
|
|
104
44
|
};
|
|
105
45
|
name: string;
|
|
106
46
|
path: string[];
|
|
107
47
|
cleanName: string;
|
|
108
|
-
}
|
|
48
|
+
};
|
|
49
|
+
declare const tokens: Token[];
|
|
109
50
|
export default tokens;
|
|
@@ -1,29 +1,30 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::98ec2ef3c3602f1046b2ecf3775d0f05>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
type TokenValue = string;
|
|
7
|
+
type TokenValueOriginal = string;
|
|
8
|
+
type TokenAttributes = {
|
|
9
|
+
group: string;
|
|
10
|
+
state: string;
|
|
11
|
+
introduced: string;
|
|
12
|
+
description: string;
|
|
13
|
+
suggest?: string[];
|
|
14
|
+
deprecated?: string;
|
|
15
|
+
};
|
|
16
|
+
type Token = {
|
|
17
|
+
value: TokenValue;
|
|
14
18
|
filePath: string;
|
|
15
19
|
isSource: boolean;
|
|
20
|
+
attributes: TokenAttributes;
|
|
16
21
|
original: {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
state: string;
|
|
20
|
-
introduced: string;
|
|
21
|
-
description: string;
|
|
22
|
-
};
|
|
23
|
-
value: string;
|
|
22
|
+
value: TokenValueOriginal;
|
|
23
|
+
attributes: TokenAttributes;
|
|
24
24
|
};
|
|
25
25
|
name: string;
|
|
26
26
|
path: string[];
|
|
27
27
|
cleanName: string;
|
|
28
|
-
}
|
|
28
|
+
};
|
|
29
|
+
declare const tokens: Token[];
|
|
29
30
|
export default tokens;
|