@hh.ru/magritte-ui 144.3.4 → 145.0.1
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 +3897 -3889
- package/package.json +84 -84
- package/set-variables.less +1 -1
- package/themed-tokens.d.ts +2 -0
- package/themed-tokens.js +2 -0
- package/themed-tokens.js.map +1 -1
- package/tokens.less +2196 -2192
- package/types.d.ts +1 -1
- package/types.js +1 -0
- package/types.js.map +1 -1
- package/visual-tests-overrides.less +21 -21
package/types.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare const tokenColorIconValues: readonly ["primary", "secondary", "te
|
|
|
8
8
|
export type TokenColorIcon = (typeof tokenColorIconValues)[number];
|
|
9
9
|
export declare const tokenColorServiceValues: readonly ["hh"];
|
|
10
10
|
export type TokenColorService = (typeof tokenColorServiceValues)[number];
|
|
11
|
-
export declare const tokenColorStrokeValues: readonly ["neutral", "phantom", "overlay", "accent", "positive", "negative", "warning", "special", "dreamy", "lovely", "vivid", "neutral-heavy", "constant", "constant-alt"];
|
|
11
|
+
export declare const tokenColorStrokeValues: readonly ["neutral", "phantom", "phantom-alt", "overlay", "accent", "positive", "negative", "warning", "special", "dreamy", "lovely", "vivid", "neutral-heavy", "constant", "constant-alt"];
|
|
12
12
|
export type TokenColorStroke = (typeof tokenColorStrokeValues)[number];
|
|
13
13
|
export declare const tokenColorTextValues: readonly ["primary", "secondary", "tertiary", "dense", "accent", "accent-secondary", "positive", "positive-secondary", "negative", "negative-secondary", "warning", "warning-secondary", "special", "special-secondary", "constant", "constant-secondary", "inverse", "inverse-secondary", "lovely", "lovely-secondary", "dreamy", "dreamy-secondary", "vivid", "vivid-secondary"];
|
|
14
14
|
export type TokenColorText = (typeof tokenColorTextValues)[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-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,EA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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 'phantom-alt',\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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A,oBAAoB,GAAG;IAChC,SAAS;IACT,WAAW;IACX,UAAU;IACV,QAAQ;IACR,kBAAkB;IAClB,UAAU;IACV,oBAAoB;IACpB,UAAU;IACV,oBAAoB;IACpB,SAAS;IACT,mBAAmB;IACnB,SAAS;IACT,mBAAmB;IACnB,QAAQ;IACR,kBAAkB;IAClB,QAAQ;IACR,kBAAkB;IAClB,OAAO;IACP,iBAAiB;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,aAAa;IACb,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,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-1-0: 10ms;
|
|
3
|
+
--magritte-semantic-animation-time-s-duration-v25-1-0: 10ms;
|
|
4
|
+
--magritte-semantic-animation-time-m-duration-v25-1-0: 10ms;
|
|
5
|
+
--magritte-semantic-animation-time-l-duration-v25-1-0: 10ms;
|
|
6
|
+
--magritte-semantic-animation-time-xl-duration-v25-1-0: 10ms;
|
|
7
|
+
--magritte-semantic-animation-ease-in-out-100-duration-v25-1-0: 10ms;
|
|
8
|
+
--magritte-semantic-animation-ease-in-out-200-duration-v25-1-0: 10ms;
|
|
9
|
+
--magritte-semantic-animation-ease-in-out-300-duration-v25-1-0: 10ms;
|
|
10
|
+
--magritte-semantic-animation-ease-in-out-400-duration-v25-1-0: 10ms;
|
|
11
|
+
--magritte-semantic-animation-ease-in-out-500-duration-v25-1-0: 10ms;
|
|
12
|
+
--magritte-semantic-animation-ease-in-out-tiger-100-duration-v25-1-0: 10ms;
|
|
13
|
+
--magritte-semantic-animation-ease-in-out-tiger-200-duration-v25-1-0: 10ms;
|
|
14
|
+
--magritte-semantic-animation-ease-in-out-tiger-300-duration-v25-1-0: 10ms;
|
|
15
|
+
--magritte-semantic-animation-ease-in-out-tiger-400-duration-v25-1-0: 10ms;
|
|
16
|
+
--magritte-semantic-animation-ease-in-out-tiger-500-duration-v25-1-0: 10ms;
|
|
17
|
+
--magritte-semantic-animation-ease-in-out-tiger-800-duration-v25-1-0: 10ms;
|
|
18
|
+
--magritte-semantic-animation-ease-in-out-leopard-100-duration-v25-1-0: 10ms;
|
|
19
|
+
--magritte-semantic-animation-ease-in-out-leopard-200-duration-v25-1-0: 10ms;
|
|
20
|
+
--magritte-semantic-animation-ease-in-out-leopard-300-duration-v25-1-0: 10ms;
|
|
21
|
+
--magritte-semantic-animation-ease-in-out-leopard-400-duration-v25-1-0: 10ms;
|
|
22
|
+
--magritte-semantic-animation-ease-in-out-leopard-500-duration-v25-1-0: 10ms;
|
|
23
23
|
}
|