@hh.ru/magritte-ui 137.1.0 → 137.2.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
@@ -4,7 +4,7 @@ export declare const tokenBaseStaticBorderRadiusValues: readonly [0, 2, 4, 8, 12
4
4
  export type TokenBaseStaticBorderRadius = (typeof tokenBaseStaticBorderRadiusValues)[number];
5
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"];
6
6
  export type TokenColorBackground = (typeof tokenColorBackgroundValues)[number];
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", "accent-constant"];
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];
9
9
  export declare const tokenColorStrokeValues: readonly ["neutral", "phantom", "overlay", "accent", "positive", "negative", "warning", "special", "dreamy", "lovely", "vivid", "neutral-heavy", "constant", "constant-alt"];
10
10
  export type TokenColorStroke = (typeof tokenColorStrokeValues)[number];
package/types.js CHANGED
@@ -61,7 +61,6 @@ const tokenColorIconValues = [
61
61
  'constant-secondary',
62
62
  'inverse',
63
63
  'inverse-secondary',
64
- 'accent-constant',
65
64
  ];
66
65
  const tokenColorStrokeValues = [
67
66
  'neutral',
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 'accent-constant',\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 'neutral-heavy',\n 'constant',\n 'constant-alt',\n] as const;\nexport type TokenColorStroke = (typeof tokenColorStrokeValues)[number];\nexport const tokenShadowValues = ['level-3', 'level-2', 'level-1', 'level-0'] as const;\nexport type TokenShadow = (typeof tokenShadowValues)[number];\nexport const tokenSemanticAnimationTimeXsDuration = 100;\nexport const tokenSemanticAnimationTimeSDuration = 200;\nexport const tokenSemanticAnimationTimeMDuration = 400;\nexport const tokenSemanticAnimationTimeLDuration = 600;\nexport const tokenSemanticAnimationTimeXlDuration = 800;\nexport const tokenSemanticAnimationEaseBaseX1 = 0.4;\nexport const tokenSemanticAnimationEaseBaseY1 = 0.24;\nexport const tokenSemanticAnimationEaseBaseX2 = 0;\nexport const tokenSemanticAnimationEaseBaseY2 = 1;\nexport const tokenSemanticAnimationEaseSpringStiffness = 400;\nexport const tokenSemanticAnimationEaseSpringDamping = 30;\nexport const tokenSemanticAnimationEaseSpringMass = 1;\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,EA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EE,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;AAEJ,MAAM,iBAAiB,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAW;AAEhF,MAAM,oCAAoC,GAAG,IAAI;AACjD,MAAM,mCAAmC,GAAG,IAAI;AAChD,MAAM,mCAAmC,GAAG,IAAI;AAChD,MAAM,mCAAmC,GAAG,IAAI;AAChD,MAAM,oCAAoC,GAAG,IAAI;AACjD,MAAM,gCAAgC,GAAG,IAAI;AAC7C,MAAM,gCAAgC,GAAG,KAAK;AAC9C,MAAM,gCAAgC,GAAG,EAAE;AAC3C,MAAM,gCAAgC,GAAG,EAAE;AAC3C,MAAM,yCAAyC,GAAG,IAAI;AACtD,MAAM,uCAAuC,GAAG,GAAG;AACnD,MAAM,oCAAoC,GAAG;;;;"}
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 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 tokenShadowValues = ['level-3', 'level-2', 'level-1', 'level-0'] as const;\nexport type TokenShadow = (typeof tokenShadowValues)[number];\nexport const tokenSemanticAnimationTimeXsDuration = 100;\nexport const tokenSemanticAnimationTimeSDuration = 200;\nexport const tokenSemanticAnimationTimeMDuration = 400;\nexport const tokenSemanticAnimationTimeLDuration = 600;\nexport const tokenSemanticAnimationTimeXlDuration = 800;\nexport const tokenSemanticAnimationEaseBaseX1 = 0.4;\nexport const tokenSemanticAnimationEaseBaseY1 = 0.24;\nexport const tokenSemanticAnimationEaseBaseX2 = 0;\nexport const tokenSemanticAnimationEaseBaseY2 = 1;\nexport const tokenSemanticAnimationEaseSpringStiffness = 400;\nexport const tokenSemanticAnimationEaseSpringDamping = 30;\nexport const tokenSemanticAnimationEaseSpringMass = 1;\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;IACnB,SAAS;IACT,kBAAkB;IAClB,QAAQ;IACR,kBAAkB;IAClB,QAAQ;IACR,iBAAiB;IACjB,OAAO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
3
- --magritte-semantic-animation-time-s-duration-v24-5-0: 10ms;
4
- --magritte-semantic-animation-time-m-duration-v24-5-0: 10ms;
5
- --magritte-semantic-animation-time-l-duration-v24-5-0: 10ms;
6
- --magritte-semantic-animation-time-xl-duration-v24-5-0: 10ms;
7
- --magritte-semantic-animation-ease-in-out-100-duration-v24-5-0: 10ms;
8
- --magritte-semantic-animation-ease-in-out-200-duration-v24-5-0: 10ms;
9
- --magritte-semantic-animation-ease-in-out-300-duration-v24-5-0: 10ms;
10
- --magritte-semantic-animation-ease-in-out-400-duration-v24-5-0: 10ms;
11
- --magritte-semantic-animation-ease-in-out-500-duration-v24-5-0: 10ms;
12
- --magritte-semantic-animation-ease-in-out-tiger-100-duration-v24-5-0: 10ms;
13
- --magritte-semantic-animation-ease-in-out-tiger-200-duration-v24-5-0: 10ms;
14
- --magritte-semantic-animation-ease-in-out-tiger-300-duration-v24-5-0: 10ms;
15
- --magritte-semantic-animation-ease-in-out-tiger-400-duration-v24-5-0: 10ms;
16
- --magritte-semantic-animation-ease-in-out-tiger-500-duration-v24-5-0: 10ms;
17
- --magritte-semantic-animation-ease-in-out-tiger-800-duration-v24-5-0: 10ms;
18
- --magritte-semantic-animation-ease-in-out-leopard-100-duration-v24-5-0: 10ms;
19
- --magritte-semantic-animation-ease-in-out-leopard-200-duration-v24-5-0: 10ms;
20
- --magritte-semantic-animation-ease-in-out-leopard-300-duration-v24-5-0: 10ms;
21
- --magritte-semantic-animation-ease-in-out-leopard-400-duration-v24-5-0: 10ms;
22
- --magritte-semantic-animation-ease-in-out-leopard-500-duration-v24-5-0: 10ms;
2
+ --magritte-semantic-animation-time-xs-duration-v24-6-0: 10ms;
3
+ --magritte-semantic-animation-time-s-duration-v24-6-0: 10ms;
4
+ --magritte-semantic-animation-time-m-duration-v24-6-0: 10ms;
5
+ --magritte-semantic-animation-time-l-duration-v24-6-0: 10ms;
6
+ --magritte-semantic-animation-time-xl-duration-v24-6-0: 10ms;
7
+ --magritte-semantic-animation-ease-in-out-100-duration-v24-6-0: 10ms;
8
+ --magritte-semantic-animation-ease-in-out-200-duration-v24-6-0: 10ms;
9
+ --magritte-semantic-animation-ease-in-out-300-duration-v24-6-0: 10ms;
10
+ --magritte-semantic-animation-ease-in-out-400-duration-v24-6-0: 10ms;
11
+ --magritte-semantic-animation-ease-in-out-500-duration-v24-6-0: 10ms;
12
+ --magritte-semantic-animation-ease-in-out-tiger-100-duration-v24-6-0: 10ms;
13
+ --magritte-semantic-animation-ease-in-out-tiger-200-duration-v24-6-0: 10ms;
14
+ --magritte-semantic-animation-ease-in-out-tiger-300-duration-v24-6-0: 10ms;
15
+ --magritte-semantic-animation-ease-in-out-tiger-400-duration-v24-6-0: 10ms;
16
+ --magritte-semantic-animation-ease-in-out-tiger-500-duration-v24-6-0: 10ms;
17
+ --magritte-semantic-animation-ease-in-out-tiger-800-duration-v24-6-0: 10ms;
18
+ --magritte-semantic-animation-ease-in-out-leopard-100-duration-v24-6-0: 10ms;
19
+ --magritte-semantic-animation-ease-in-out-leopard-200-duration-v24-6-0: 10ms;
20
+ --magritte-semantic-animation-ease-in-out-leopard-300-duration-v24-6-0: 10ms;
21
+ --magritte-semantic-animation-ease-in-out-leopard-400-duration-v24-6-0: 10ms;
22
+ --magritte-semantic-animation-ease-in-out-leopard-500-duration-v24-6-0: 10ms;
23
23
  }