@hh.ru/magritte-ui 144.0.2 → 144.0.4
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/base-variables.less +39 -39
- package/css-variables.less +3889 -3871
- package/package.json +81 -81
- package/set-variables.less +1 -1
- package/tokens.less +2192 -2183
- package/types.d.ts +1 -1
- package/types.js +2 -0
- package/types.js.map +1 -1
- package/visual-tests-overrides.less +21 -21
package/types.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export declare const tokenBaseStaticSpaceValues: readonly [0, 2, 4, 6, 8, 10, 12
|
|
|
2
2
|
export type TokenBaseStaticSpace = (typeof tokenBaseStaticSpaceValues)[number];
|
|
3
3
|
export declare const tokenBaseStaticBorderRadiusValues: readonly [0, 2, 4, 8, 12, 16, 18, 20, 24, 28, 32, 36, 40];
|
|
4
4
|
export type TokenBaseStaticBorderRadius = (typeof tokenBaseStaticBorderRadiusValues)[number];
|
|
5
|
-
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", "overlay-action", "overlay-viewer", "overlay-toolbar", "transparent", "constant", "constant-secondary", "inverse", "inverse-secondary"];
|
|
5
|
+
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", "overlay-action", "overlay-modal-action", "overlay-bottom-sheet-action", "overlay-viewer", "overlay-toolbar", "transparent", "constant", "constant-secondary", "inverse", "inverse-secondary"];
|
|
6
6
|
export type TokenColorBackground = (typeof tokenColorBackgroundValues)[number];
|
|
7
7
|
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", "constant-secondary", "inverse", "inverse-secondary"];
|
|
8
8
|
export type TokenColorIcon = (typeof tokenColorIconValues)[number];
|
package/types.js
CHANGED
package/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sources":["src/types.ts"],"sourcesContent":["/* AUTOGENERATED FILE */\n\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, 84, 88, 92, 96, 100, 104,\n 108, 112, 116, 120, 124, 128, 132, 136, 140, 144, 148, 152, 156, 160, 180, 200, 220, 240, 260, 280,\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 'overlay-action',\n 'overlay-viewer',\n 'overlay-toolbar',\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 'constant-secondary',\n 'inverse',\n 'inverse-secondary',\n] as const;\nexport type TokenColorIcon = (typeof tokenColorIconValues)[number];\nexport const tokenColorServiceValues = ['hh'] as const;\nexport type TokenColorService = (typeof tokenColorServiceValues)[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 'neutral-heavy',\n 'constant',\n 'constant-alt',\n] as const;\nexport type TokenColorStroke = (typeof tokenColorStrokeValues)[number];\nexport const tokenColorTextValues = [\n 'primary',\n 'secondary',\n 'tertiary',\n 'dense',\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 'constant',\n 'constant-secondary',\n 'inverse',\n 'inverse-secondary',\n 'lovely',\n 'lovely-secondary',\n 'dreamy',\n 'dreamy-secondary',\n 'vivid',\n 'vivid-secondary',\n] as const;\nexport type TokenColorText = (typeof tokenColorTextValues)[number];\nexport const tokenShadowValues = ['level-3', 'level-2', 'level-1', 'level-0'] as const;\nexport type TokenShadow = (typeof tokenShadowValues)[number];\n"],"names":[],"mappings":"AAAA;AAEa,MAAA,0BAA0B,GAAG;IACtC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,E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IACjB,UAAU;IACV,oBAAoB;IACpB,UAAU;IACV,oBAAoB;IACpB,SAAS;IACT,mBAAmB;EACZ;AAEE,MAAA,uBAAuB,GAAG,CAAC,IAAI,EAAW;AAE1C,MAAA,sBAAsB,GAAG;IAClC,SAAS;IACT,SAAS;IACT,SAAS;IACT,QAAQ;IACR,UAAU;IACV,UAAU;IACV,SAAS;IACT,SAAS;IACT,QAAQ;IACR,QAAQ;IACR,OAAO;IACP,eAAe;IACf,UAAU;IACV,cAAc;EACP;AAEE,MAAA,oBAAoB,GAAG;IAChC,SAAS;IACT,WAAW;IACX,UAAU;IACV,OAAO;IACP,QAAQ;IACR,kBAAkB;IAClB,UAAU;IACV,oBAAoB;IACpB,UAAU;IACV,oBAAoB;IACpB,SAAS;IACT,mBAAmB;IACnB,SAAS;IACT,mBAAmB;IACnB,UAAU;IACV,oBAAoB;IACpB,SAAS;IACT,mBAAmB;IACnB,QAAQ;IACR,kBAAkB;IAClB,QAAQ;IACR,kBAAkB;IAClB,OAAO;IACP,iBAAiB;EACV;AAEJ,MAAM,iBAAiB,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS;;;;"}
|
|
1
|
+
{"version":3,"file":"types.js","sources":["src/types.ts"],"sourcesContent":["/* AUTOGENERATED FILE */\n\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, 84, 88, 92, 96, 100, 104,\n 108, 112, 116, 120, 124, 128, 132, 136, 140, 144, 148, 152, 156, 160, 180, 200, 220, 240, 260, 280,\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 'overlay-action',\n 'overlay-modal-action',\n 'overlay-bottom-sheet-action',\n 'overlay-viewer',\n 'overlay-toolbar',\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 'constant-secondary',\n 'inverse',\n 'inverse-secondary',\n] as const;\nexport type TokenColorIcon = (typeof tokenColorIconValues)[number];\nexport const tokenColorServiceValues = ['hh'] as const;\nexport type TokenColorService = (typeof tokenColorServiceValues)[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 'neutral-heavy',\n 'constant',\n 'constant-alt',\n] as const;\nexport type TokenColorStroke = (typeof tokenColorStrokeValues)[number];\nexport const tokenColorTextValues = [\n 'primary',\n 'secondary',\n 'tertiary',\n 'dense',\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 'constant',\n 'constant-secondary',\n 'inverse',\n 'inverse-secondary',\n 'lovely',\n 'lovely-secondary',\n 'dreamy',\n 'dreamy-secondary',\n 'vivid',\n 'vivid-secondary',\n] as const;\nexport type TokenColorText = (typeof tokenColorTextValues)[number];\nexport const tokenShadowValues = ['level-3', 'level-2', 'level-1', 'level-0'] as const;\nexport type TokenShadow = (typeof tokenShadowValues)[number];\n"],"names":[],"mappings":"AAAA;AAEa,MAAA,0BAA0B,GAAG;IACtC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG;AACnH,IAAA,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG;EAC3F;AAEJ,MAAM,iCAAiC,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAW;AAE9F,MAAA,0BAA0B,GAAG;IACtC,SAAS;IACT,WAAW;IACX,UAAU;IACV,kBAAkB;IAClB,QAAQ;IACR,oBAAoB;IACpB,UAAU;IACV,oBAAoB;IACpB,UAAU;IACV,mBAAmB;IACnB,SAAS;IACT,mBAAmB;IAC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AS;;;;"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
:global(.visual-tests-overrides) {
|
|
2
|
-
--magritte-semantic-animation-time-xs-duration-v25-0-
|
|
3
|
-
--magritte-semantic-animation-time-s-duration-v25-0-
|
|
4
|
-
--magritte-semantic-animation-time-m-duration-v25-0-
|
|
5
|
-
--magritte-semantic-animation-time-l-duration-v25-0-
|
|
6
|
-
--magritte-semantic-animation-time-xl-duration-v25-0-
|
|
7
|
-
--magritte-semantic-animation-ease-in-out-100-duration-v25-0-
|
|
8
|
-
--magritte-semantic-animation-ease-in-out-200-duration-v25-0-
|
|
9
|
-
--magritte-semantic-animation-ease-in-out-300-duration-v25-0-
|
|
10
|
-
--magritte-semantic-animation-ease-in-out-400-duration-v25-0-
|
|
11
|
-
--magritte-semantic-animation-ease-in-out-500-duration-v25-0-
|
|
12
|
-
--magritte-semantic-animation-ease-in-out-tiger-100-duration-v25-0-
|
|
13
|
-
--magritte-semantic-animation-ease-in-out-tiger-200-duration-v25-0-
|
|
14
|
-
--magritte-semantic-animation-ease-in-out-tiger-300-duration-v25-0-
|
|
15
|
-
--magritte-semantic-animation-ease-in-out-tiger-400-duration-v25-0-
|
|
16
|
-
--magritte-semantic-animation-ease-in-out-tiger-500-duration-v25-0-
|
|
17
|
-
--magritte-semantic-animation-ease-in-out-tiger-800-duration-v25-0-
|
|
18
|
-
--magritte-semantic-animation-ease-in-out-leopard-100-duration-v25-0-
|
|
19
|
-
--magritte-semantic-animation-ease-in-out-leopard-200-duration-v25-0-
|
|
20
|
-
--magritte-semantic-animation-ease-in-out-leopard-300-duration-v25-0-
|
|
21
|
-
--magritte-semantic-animation-ease-in-out-leopard-400-duration-v25-0-
|
|
22
|
-
--magritte-semantic-animation-ease-in-out-leopard-500-duration-v25-0-
|
|
2
|
+
--magritte-semantic-animation-time-xs-duration-v25-0-1: 10ms;
|
|
3
|
+
--magritte-semantic-animation-time-s-duration-v25-0-1: 10ms;
|
|
4
|
+
--magritte-semantic-animation-time-m-duration-v25-0-1: 10ms;
|
|
5
|
+
--magritte-semantic-animation-time-l-duration-v25-0-1: 10ms;
|
|
6
|
+
--magritte-semantic-animation-time-xl-duration-v25-0-1: 10ms;
|
|
7
|
+
--magritte-semantic-animation-ease-in-out-100-duration-v25-0-1: 10ms;
|
|
8
|
+
--magritte-semantic-animation-ease-in-out-200-duration-v25-0-1: 10ms;
|
|
9
|
+
--magritte-semantic-animation-ease-in-out-300-duration-v25-0-1: 10ms;
|
|
10
|
+
--magritte-semantic-animation-ease-in-out-400-duration-v25-0-1: 10ms;
|
|
11
|
+
--magritte-semantic-animation-ease-in-out-500-duration-v25-0-1: 10ms;
|
|
12
|
+
--magritte-semantic-animation-ease-in-out-tiger-100-duration-v25-0-1: 10ms;
|
|
13
|
+
--magritte-semantic-animation-ease-in-out-tiger-200-duration-v25-0-1: 10ms;
|
|
14
|
+
--magritte-semantic-animation-ease-in-out-tiger-300-duration-v25-0-1: 10ms;
|
|
15
|
+
--magritte-semantic-animation-ease-in-out-tiger-400-duration-v25-0-1: 10ms;
|
|
16
|
+
--magritte-semantic-animation-ease-in-out-tiger-500-duration-v25-0-1: 10ms;
|
|
17
|
+
--magritte-semantic-animation-ease-in-out-tiger-800-duration-v25-0-1: 10ms;
|
|
18
|
+
--magritte-semantic-animation-ease-in-out-leopard-100-duration-v25-0-1: 10ms;
|
|
19
|
+
--magritte-semantic-animation-ease-in-out-leopard-200-duration-v25-0-1: 10ms;
|
|
20
|
+
--magritte-semantic-animation-ease-in-out-leopard-300-duration-v25-0-1: 10ms;
|
|
21
|
+
--magritte-semantic-animation-ease-in-out-leopard-400-duration-v25-0-1: 10ms;
|
|
22
|
+
--magritte-semantic-animation-ease-in-out-leopard-500-duration-v25-0-1: 10ms;
|
|
23
23
|
}
|