@hh.ru/magritte-ui 91.0.2 → 92.0.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/types.d.ts CHANGED
@@ -1,7 +1,14 @@
1
- export type TokenBaseCoreSpace = 0 | 4 | 8 | 12 | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 68 | 72 | 76 | 80 | 84 | 88 | 92 | 96 | 100;
2
- export type TokenBaseCoreBorderRadius = 0 | 4 | 8 | 12 | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 68 | 72 | 76 | 80 | 84 | 88 | 92 | 96 | 100;
3
- export type TokenBaseStaticSpace = 0 | 2 | 4 | 6 | 8 | 10 | 12 | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 68 | 72 | 76 | 80;
4
- export type TokenBaseStaticBorderRadius = 0 | 2 | 4 | 8 | 12 | 16 | 18 | 20 | 24 | 28 | 32 | 36 | 40;
5
- export type TokenColorBackground = 'primary' | 'secondary' | 'tertiary' | 'accent-secondary' | 'accent' | 'positive-secondary' | 'positive' | 'negative-secondary' | 'negative' | 'warning-secondary' | 'warning' | 'special-secondary' | 'special' | 'dreamy-secondary' | 'dreamy' | 'lovely-secondary' | 'lovely' | 'vivid-secondary' | 'vivid' | 'body' | 'overlay' | 'transparent' | 'constant' | 'constant-secondary' | 'inverse' | 'inverse-secondary';
6
- export type TokenColorIcon = 'primary' | 'secondary' | 'tertiary' | 'accent' | 'accent-secondary' | 'positive' | 'positive-secondary' | 'negative' | 'negative-secondary' | 'warning' | 'warning-secondary' | 'special' | 'special-secondary' | 'dreamy' | 'dreamy-secondary' | 'lovely' | 'lovely-secondary' | 'vivid' | 'vivid-secondary' | 'contrast' | 'contrast-secondary' | 'constant' | 'inverse' | 'constant-secondary' | 'inverse-secondary';
7
- export type TokenColorStroke = 'neutral' | 'phantom' | 'overlay' | 'accent' | 'positive' | 'negative' | 'warning' | 'special' | 'dreamy' | 'lovely' | 'vivid';
1
+ export declare const tokenBaseCoreSpaceValues: readonly [0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100];
2
+ export type TokenBaseCoreSpace = (typeof tokenBaseCoreSpaceValues)[number];
3
+ export declare const tokenBaseCoreBorderRadiusValues: readonly [0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100];
4
+ export type TokenBaseCoreBorderRadius = (typeof tokenBaseCoreBorderRadiusValues)[number];
5
+ export declare const tokenBaseStaticSpaceValues: readonly [0, 2, 4, 6, 8, 10, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80];
6
+ export type TokenBaseStaticSpace = (typeof tokenBaseStaticSpaceValues)[number];
7
+ export declare const tokenBaseStaticBorderRadiusValues: readonly [0, 2, 4, 8, 12, 16, 18, 20, 24, 28, 32, 36, 40];
8
+ export type TokenBaseStaticBorderRadius = (typeof tokenBaseStaticBorderRadiusValues)[number];
9
+ export declare const tokenColorBackgroundValues: readonly ["primary", "secondary", "tertiary", "accent-secondary", "accent", "positive-secondary", "positive", "negative-secondary", "negative", "warning-secondary", "warning", "special-secondary", "special", "dreamy-secondary", "dreamy", "lovely-secondary", "lovely", "vivid-secondary", "vivid", "body", "overlay", "transparent", "constant", "constant-secondary", "inverse", "inverse-secondary"];
10
+ export type TokenColorBackground = (typeof tokenColorBackgroundValues)[number];
11
+ export declare const tokenColorIconValues: readonly ["primary", "secondary", "tertiary", "accent", "accent-secondary", "positive", "positive-secondary", "negative", "negative-secondary", "warning", "warning-secondary", "special", "special-secondary", "dreamy", "dreamy-secondary", "lovely", "lovely-secondary", "vivid", "vivid-secondary", "contrast", "contrast-secondary", "constant", "inverse", "constant-secondary", "inverse-secondary"];
12
+ export type TokenColorIcon = (typeof tokenColorIconValues)[number];
13
+ export declare const tokenColorStrokeValues: readonly ["neutral", "phantom", "overlay", "accent", "positive", "negative", "warning", "special", "dreamy", "lovely", "vivid"];
14
+ export type TokenColorStroke = (typeof tokenColorStrokeValues)[number];
package/types.js CHANGED
@@ -1,2 +1,82 @@
1
+ /* AUTOGENERATED FILE */
2
+ const tokenBaseCoreSpaceValues = [
3
+ 0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100,
4
+ ];
5
+ const tokenBaseCoreBorderRadiusValues = [
6
+ 0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100,
7
+ ];
8
+ const tokenBaseStaticSpaceValues = [
9
+ 0, 2, 4, 6, 8, 10, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80,
10
+ ];
11
+ const tokenBaseStaticBorderRadiusValues = [0, 2, 4, 8, 12, 16, 18, 20, 24, 28, 32, 36, 40];
12
+ const tokenColorBackgroundValues = [
13
+ 'primary',
14
+ 'secondary',
15
+ 'tertiary',
16
+ 'accent-secondary',
17
+ 'accent',
18
+ 'positive-secondary',
19
+ 'positive',
20
+ 'negative-secondary',
21
+ 'negative',
22
+ 'warning-secondary',
23
+ 'warning',
24
+ 'special-secondary',
25
+ 'special',
26
+ 'dreamy-secondary',
27
+ 'dreamy',
28
+ 'lovely-secondary',
29
+ 'lovely',
30
+ 'vivid-secondary',
31
+ 'vivid',
32
+ 'body',
33
+ 'overlay',
34
+ 'transparent',
35
+ 'constant',
36
+ 'constant-secondary',
37
+ 'inverse',
38
+ 'inverse-secondary',
39
+ ];
40
+ const tokenColorIconValues = [
41
+ 'primary',
42
+ 'secondary',
43
+ 'tertiary',
44
+ 'accent',
45
+ 'accent-secondary',
46
+ 'positive',
47
+ 'positive-secondary',
48
+ 'negative',
49
+ 'negative-secondary',
50
+ 'warning',
51
+ 'warning-secondary',
52
+ 'special',
53
+ 'special-secondary',
54
+ 'dreamy',
55
+ 'dreamy-secondary',
56
+ 'lovely',
57
+ 'lovely-secondary',
58
+ 'vivid',
59
+ 'vivid-secondary',
60
+ 'contrast',
61
+ 'contrast-secondary',
62
+ 'constant',
63
+ 'inverse',
64
+ 'constant-secondary',
65
+ 'inverse-secondary',
66
+ ];
67
+ const tokenColorStrokeValues = [
68
+ 'neutral',
69
+ 'phantom',
70
+ 'overlay',
71
+ 'accent',
72
+ 'positive',
73
+ 'negative',
74
+ 'warning',
75
+ 'special',
76
+ 'dreamy',
77
+ 'lovely',
78
+ 'vivid',
79
+ ];
1
80
 
81
+ export { tokenBaseCoreBorderRadiusValues, tokenBaseCoreSpaceValues, tokenBaseStaticBorderRadiusValues, tokenBaseStaticSpaceValues, tokenColorBackgroundValues, tokenColorIconValues, tokenColorStrokeValues };
2
82
  //# sourceMappingURL=types.js.map
package/types.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"types.js","sources":["../src/types.ts"],"sourcesContent":["/* AUTOGENERATED FILE */\n\nexport const tokenBaseCoreSpaceValues = [\n 0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100,\n] as const;\nexport type TokenBaseCoreSpace = (typeof tokenBaseCoreSpaceValues)[number];\nexport const tokenBaseCoreBorderRadiusValues = [\n 0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100,\n] as const;\nexport type TokenBaseCoreBorderRadius = (typeof tokenBaseCoreBorderRadiusValues)[number];\nexport const tokenBaseStaticSpaceValues = [\n 0, 2, 4, 6, 8, 10, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80,\n] as const;\nexport type TokenBaseStaticSpace = (typeof tokenBaseStaticSpaceValues)[number];\nexport const tokenBaseStaticBorderRadiusValues = [0, 2, 4, 8, 12, 16, 18, 20, 24, 28, 32, 36, 40] as const;\nexport type TokenBaseStaticBorderRadius = (typeof tokenBaseStaticBorderRadiusValues)[number];\nexport const tokenColorBackgroundValues = [\n 'primary',\n 'secondary',\n 'tertiary',\n 'accent-secondary',\n 'accent',\n 'positive-secondary',\n 'positive',\n 'negative-secondary',\n 'negative',\n 'warning-secondary',\n 'warning',\n 'special-secondary',\n 'special',\n 'dreamy-secondary',\n 'dreamy',\n 'lovely-secondary',\n 'lovely',\n 'vivid-secondary',\n 'vivid',\n 'body',\n 'overlay',\n 'transparent',\n 'constant',\n 'constant-secondary',\n 'inverse',\n 'inverse-secondary',\n] as const;\nexport type TokenColorBackground = (typeof tokenColorBackgroundValues)[number];\nexport const tokenColorIconValues = [\n 'primary',\n 'secondary',\n 'tertiary',\n 'accent',\n 'accent-secondary',\n 'positive',\n 'positive-secondary',\n 'negative',\n 'negative-secondary',\n 'warning',\n 'warning-secondary',\n 'special',\n 'special-secondary',\n 'dreamy',\n 'dreamy-secondary',\n 'lovely',\n 'lovely-secondary',\n 'vivid',\n 'vivid-secondary',\n 'contrast',\n 'contrast-secondary',\n 'constant',\n 'inverse',\n 'constant-secondary',\n 'inverse-secondary',\n] as const;\nexport type TokenColorIcon = (typeof tokenColorIconValues)[number];\nexport const tokenColorStrokeValues = [\n 'neutral',\n 'phantom',\n 'overlay',\n 'accent',\n 'positive',\n 'negative',\n 'warning',\n 'special',\n 'dreamy',\n 'lovely',\n 'vivid',\n] as const;\nexport type TokenColorStroke = (typeof tokenColorStrokeValues)[number];\n"],"names":[],"mappings":"AAAA;AAEa,MAAA,wBAAwB,GAAG;IACpC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAA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