@alfalab/core-components-typography 3.0.2 → 3.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.
Files changed (93) hide show
  1. package/colors.css +18 -18
  2. package/{colors.module-2cc8e807.d.ts → colors.module-e9b9579a.d.ts} +8 -4
  3. package/{colors.module-2cc8e807.js → colors.module-e9b9579a.js} +2 -2
  4. package/common.module-caf545a8.js +6 -0
  5. package/component.d.ts +1 -1
  6. package/component.js +4 -4
  7. package/cssm/colors.module.css +5 -5
  8. package/cssm/component.d.ts +1 -1
  9. package/cssm/component.js +5 -5
  10. package/cssm/index.d.ts +3 -3
  11. package/cssm/index.js +5 -5
  12. package/cssm/text/component.d.ts +3 -3
  13. package/cssm/text/component.js +1 -1
  14. package/cssm/text/index.js +1 -1
  15. package/cssm/title/component.d.ts +4 -4
  16. package/cssm/title/component.js +1 -1
  17. package/cssm/title/index.js +7 -8
  18. package/cssm/title-mobile/component.js +7 -8
  19. package/cssm/title-mobile/index.js +1 -1
  20. package/cssm/title-mobile/index.module.css +2 -2
  21. package/cssm/title-responsive/component.js +7 -8
  22. package/cssm/title-responsive/index.js +1 -1
  23. package/cssm/title-responsive/index.module.css +1 -1
  24. package/{esm/colors.module-6065797e.d.ts → cssm/tslib.es6-9682e485.d.ts} +8 -4
  25. package/cssm/{tslib.es6-ce870b46.js → tslib.es6-9682e485.js} +1 -1
  26. package/esm/colors.css +18 -18
  27. package/{cssm/tslib.es6-ce870b46.d.ts → esm/colors.module-4de66eae.d.ts} +8 -4
  28. package/esm/{colors.module-6065797e.js → colors.module-4de66eae.js} +2 -2
  29. package/esm/common.module-2f6fae5e.js +4 -0
  30. package/esm/component.d.ts +1 -1
  31. package/esm/component.js +4 -4
  32. package/esm/index.d.ts +3 -3
  33. package/esm/index.js +4 -4
  34. package/esm/text/component.d.ts +3 -3
  35. package/esm/text/component.js +2 -2
  36. package/esm/text/index.css +14 -14
  37. package/esm/text/index.js +1 -1
  38. package/esm/title/common.css +5 -5
  39. package/esm/title/component.d.ts +4 -4
  40. package/esm/title/component.js +1 -1
  41. package/esm/title/index.css +19 -19
  42. package/esm/title/index.js +9 -10
  43. package/esm/title-mobile/component.js +9 -10
  44. package/esm/title-mobile/index.css +16 -16
  45. package/esm/title-mobile/index.js +2 -2
  46. package/esm/title-responsive/component.js +9 -10
  47. package/esm/title-responsive/index.css +42 -42
  48. package/esm/title-responsive/index.js +2 -2
  49. package/index.d.ts +3 -3
  50. package/index.js +4 -4
  51. package/modern/colors.css +18 -18
  52. package/modern/colors.module-08772334.js +4 -0
  53. package/modern/common.module-2f6fae5e.js +4 -0
  54. package/modern/component.d.ts +1 -1
  55. package/modern/component.js +4 -4
  56. package/modern/index.d.ts +3 -3
  57. package/modern/index.js +4 -4
  58. package/modern/text/component.d.ts +3 -3
  59. package/modern/text/component.js +3 -3
  60. package/modern/text/index.css +14 -14
  61. package/modern/text/index.js +1 -1
  62. package/modern/title/common.css +5 -5
  63. package/modern/title/component.d.ts +4 -4
  64. package/modern/title/component.js +2 -2
  65. package/modern/title/index.css +19 -19
  66. package/modern/title/index.js +9 -10
  67. package/modern/title-mobile/component.js +9 -10
  68. package/modern/title-mobile/index.css +16 -16
  69. package/modern/title-mobile/index.js +2 -2
  70. package/modern/title-responsive/component.js +9 -10
  71. package/modern/title-responsive/index.css +42 -42
  72. package/modern/title-responsive/index.js +2 -2
  73. package/package.json +1 -1
  74. package/send-stats.js +1 -1
  75. package/text/component.d.ts +3 -3
  76. package/text/component.js +2 -2
  77. package/text/index.css +14 -14
  78. package/text/index.js +1 -1
  79. package/title/common.css +5 -5
  80. package/title/component.d.ts +4 -4
  81. package/title/component.js +1 -1
  82. package/title/index.css +19 -19
  83. package/title/index.js +9 -10
  84. package/title-mobile/component.js +9 -10
  85. package/title-mobile/index.css +16 -16
  86. package/title-mobile/index.js +2 -2
  87. package/title-responsive/component.js +9 -10
  88. package/title-responsive/index.css +42 -42
  89. package/title-responsive/index.js +2 -2
  90. package/common.module-0606ddd8.js +0 -6
  91. package/esm/common.module-879f9853.js +0 -4
  92. package/modern/colors.module-4a1750d9.js +0 -4
  93. package/modern/common.module-879f9853.js +0 -4
@@ -12,9 +12,12 @@ declare function __generator(thisArg: any, body: any): {
12
12
  declare function __exportStar(m: any, o: any): void;
13
13
  declare function __values(o: any): any;
14
14
  declare function __read(o: any, n: any): any;
15
+ /** @deprecated */
15
16
  declare function __spread(...args: any[]): any[];
17
+ /** @deprecated */
16
18
  declare function __spreadArrays(...args: any[]): any[];
17
- declare function __await(v: any): any;
19
+ declare function __spreadArray(to: any, from: any, pack: any, ...args: any[]): any;
20
+ declare function __await(v: any): __await;
18
21
  declare class __await {
19
22
  constructor(v: any);
20
23
  v: any;
@@ -25,8 +28,9 @@ declare function __asyncValues(o: any): any;
25
28
  declare function __makeTemplateObject(cooked: any, raw: any): any;
26
29
  declare function __importStar(mod: any): any;
27
30
  declare function __importDefault(mod: any): any;
28
- declare function __classPrivateFieldGet(receiver: any, privateMap: any): any;
29
- declare function __classPrivateFieldSet(receiver: any, privateMap: any, value: any): any;
31
+ declare function __classPrivateFieldGet(receiver: any, state: any, kind: any, f: any): any;
32
+ declare function __classPrivateFieldSet(receiver: any, state: any, value: any, kind: any, f: any): any;
33
+ declare function __classPrivateFieldIn(state: any, receiver: any): any;
30
34
  declare function __assign(...args: any[]): any;
31
35
  declare function __createBinding(o: any, m: any, k: any, k2: any): void;
32
- export { __extends, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __values, __read, __spread, __spreadArrays, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __assign, __createBinding };
36
+ export { __extends, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn, __assign, __createBinding };
@@ -1,4 +1,4 @@
1
- /*! *****************************************************************************
1
+ /******************************************************************************
2
2
  Copyright (c) Microsoft Corporation.
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any
@@ -37,7 +37,7 @@ function __rest(s, e) {
37
37
  return t;
38
38
  }
39
39
 
40
- var colors = {"tertiary":"typography__tertiary_36jpp","disabled":"typography__disabled_36jpp","accent":"typography__accent_36jpp","primary":"typography__primary_36jpp","attention":"typography__attention_36jpp","positive":"typography__positive_36jpp","secondary":"typography__secondary_36jpp","tertiary-inverted":"typography__tertiary-inverted_36jpp","primary-inverted":"typography__primary-inverted_36jpp","secondary-inverted":"typography__secondary-inverted_36jpp","link":"typography__link_36jpp","negative":"typography__negative_36jpp"};
40
+ var colors = {"tertiary":"typography__tertiary_1vd47","disabled":"typography__disabled_1vd47","accent":"typography__accent_1vd47","primary":"typography__primary_1vd47","attention":"typography__attention_1vd47","positive":"typography__positive_1vd47","secondary":"typography__secondary_1vd47","tertiary-inverted":"typography__tertiary-inverted_1vd47","primary-inverted":"typography__primary-inverted_1vd47","secondary-inverted":"typography__secondary-inverted_1vd47","link":"typography__link_1vd47","negative":"typography__negative_1vd47"};
41
41
  require('./colors.css')
42
42
 
43
43
  export { __assign as _, __rest as a, colors as c };
@@ -0,0 +1,4 @@
1
+ var commonStyles = {"component":"typography__component_2u43o","bold":"typography__bold_2u43o","medium":"typography__medium_2u43o","regular":"typography__regular_2u43o"};
2
+ require('./title/common.css')
3
+
4
+ export { commonStyles as c };
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'react';
2
- import { TitleProps } from "./title/index";
3
2
  import { TextProps } from "./text/index";
3
+ import { TitleProps } from "./title/index";
4
4
  import { TitleMobileProps } from "./title-mobile/index";
5
5
  declare const Typography: {
6
6
  Title: FC<TitleProps>;
package/esm/component.js CHANGED
@@ -1,12 +1,12 @@
1
- import './colors.module-6065797e.js';
1
+ import './colors.module-4de66eae.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
+ import { Text } from './text/component.js';
4
5
  import './title/component.js';
5
- import './common.module-879f9853.js';
6
+ import './common.module-2f6fae5e.js';
6
7
  import { Title } from './title/index.js';
7
- import { Text } from './text/component.js';
8
- import { TitleResponsive } from './title-responsive/component.js';
9
8
  import { TitleMobile } from './title-mobile/component.js';
9
+ import { TitleResponsive } from './title-responsive/component.js';
10
10
 
11
11
  var Typography = {
12
12
  Title: Title,
package/esm/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export * from "./component";
2
2
  export * from "./presets";
3
- export { TitleProps } from "./title/index";
4
- export { TextProps } from "./text/index";
5
- export { Color } from "./colors";
3
+ export type { TitleProps } from "./title/index";
4
+ export type { TextProps } from "./text/index";
5
+ export type { Color } from "./colors";
package/esm/index.js CHANGED
@@ -1,11 +1,11 @@
1
- import './colors.module-6065797e.js';
1
+ import './colors.module-4de66eae.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
+ import './text/component.js';
4
5
  import './title/component.js';
5
- import './common.module-879f9853.js';
6
+ import './common.module-2f6fae5e.js';
6
7
  import './title/index.js';
7
- import './text/component.js';
8
- import './title-responsive/component.js';
9
8
  import './title-mobile/component.js';
9
+ import './title-responsive/component.js';
10
10
  export { Typography } from './component.js';
11
11
  export { typographyPresets } from './presets.js';
@@ -38,7 +38,7 @@ type TextProps = Omit<NativeProps, 'color'> & {
38
38
  children?: React.ReactNode;
39
39
  };
40
40
  type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
41
- declare const Text: React.ForwardRefExoticComponent<Pick<NativeProps, "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
41
+ declare const Text: React.ForwardRefExoticComponent<Omit<NativeProps, "color"> & {
42
42
  /**
43
43
  * [Вариант начертания](https://alfa-laboratory.github.io/core-components/master/?path=/docs/гайдлайны-типографика--page)
44
44
  */
@@ -50,7 +50,7 @@ declare const Text: React.ForwardRefExoticComponent<Pick<NativeProps, "defaultCh
50
50
  /**
51
51
  * Толщина шрифта
52
52
  */
53
- weight?: "medium" | "regular" | "bold" | undefined;
53
+ weight?: "regular" | "medium" | "bold" | undefined;
54
54
  /**
55
55
  * Делает цифры моноширинными
56
56
  */
@@ -58,7 +58,7 @@ declare const Text: React.ForwardRefExoticComponent<Pick<NativeProps, "defaultCh
58
58
  /**
59
59
  * HTML тег
60
60
  */
61
- tag?: "div" | "p" | "span" | undefined;
61
+ tag?: "p" | "span" | "div" | undefined;
62
62
  /**
63
63
  * Css-класс для стилизации (native prop)
64
64
  */
@@ -1,8 +1,8 @@
1
- import { a as __rest, _ as __assign, c as colors } from '../colors.module-6065797e.js';
1
+ import { a as __rest, _ as __assign, c as colors } from '../colors.module-4de66eae.js';
2
2
  import React, { forwardRef } from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"paragraph":"typography__paragraph_kzul5","primary-large":"typography__primary-large_kzul5","primary-medium":"typography__primary-medium_kzul5","primary-small":"typography__primary-small_kzul5","secondary-large":"typography__secondary-large_kzul5","secondary-medium":"typography__secondary-medium_kzul5","secondary-small":"typography__secondary-small_kzul5","component":"typography__component_kzul5","caps":"typography__caps_kzul5","bold":"typography__bold_kzul5","medium":"typography__medium_kzul5","regular":"typography__regular_kzul5","monospace":"typography__monospace_kzul5"};
5
+ var styles = {"paragraph":"typography__paragraph_2x4ms","primary-large":"typography__primary-large_2x4ms","primary-medium":"typography__primary-medium_2x4ms","primary-small":"typography__primary-small_2x4ms","secondary-large":"typography__secondary-large_2x4ms","secondary-medium":"typography__secondary-medium_2x4ms","secondary-small":"typography__secondary-small_2x4ms","component":"typography__component_2x4ms","caps":"typography__caps_2x4ms","bold":"typography__bold_2x4ms","medium":"typography__medium_2x4ms","regular":"typography__regular_2x4ms","monospace":"typography__monospace_2x4ms"};
6
6
  require('./index.css')
7
7
 
8
8
  var Text = forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: 1ouf5 */
1
+ /* hash: 10nkn */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -13,62 +13,62 @@
13
13
  :root {
14
14
  --text-paragraph-margin-bottom: 0 0 var(--gap-s);
15
15
  }
16
- .typography__paragraph_kzul5 {
16
+ .typography__paragraph_2x4ms {
17
17
  margin: var(--text-paragraph-margin-bottom);
18
18
  padding: 0;
19
19
  }
20
- .typography__primary-large_kzul5 {
20
+ .typography__primary-large_2x4ms {
21
21
  font-size: 18px;
22
22
  line-height: 24px;
23
23
  font-weight: 400;
24
24
  }
25
- .typography__primary-medium_kzul5 {
25
+ .typography__primary-medium_2x4ms {
26
26
  font-size: 16px;
27
27
  line-height: 24px;
28
28
  font-weight: 400;
29
29
  }
30
- .typography__primary-small_kzul5 {
30
+ .typography__primary-small_2x4ms {
31
31
  font-size: 14px;
32
32
  line-height: 20px;
33
33
  font-weight: 400;
34
34
  }
35
- .typography__secondary-large_kzul5 {
35
+ .typography__secondary-large_2x4ms {
36
36
  font-size: 13px;
37
37
  line-height: 16px;
38
38
  font-weight: 400;
39
39
  }
40
- .typography__secondary-medium_kzul5 {
40
+ .typography__secondary-medium_2x4ms {
41
41
  font-size: 12px;
42
42
  line-height: 16px;
43
43
  font-weight: 400;
44
44
  }
45
- .typography__secondary-small_kzul5 {
45
+ .typography__secondary-small_2x4ms {
46
46
  font-size: 11px;
47
47
  line-height: 16px;
48
48
  font-weight: 400;
49
49
  }
50
- .typography__component_kzul5 {
50
+ .typography__component_2x4ms {
51
51
  font-size: 16px;
52
52
  line-height: 20px;
53
53
  font-weight: 400;
54
54
  }
55
- .typography__caps_kzul5 {
55
+ .typography__caps_2x4ms {
56
56
  font-size: 12px;
57
57
  line-height: 16px;
58
58
  font-weight: 500;
59
59
  letter-spacing: 1.25px;
60
60
  text-transform: uppercase;
61
61
  }
62
- .typography__bold_kzul5 {
62
+ .typography__bold_2x4ms {
63
63
  font-weight: bold;
64
64
  }
65
- .typography__medium_kzul5 {
65
+ .typography__medium_2x4ms {
66
66
  font-weight: 500;
67
67
  }
68
- .typography__regular_kzul5 {
68
+ .typography__regular_2x4ms {
69
69
  font-weight: normal;
70
70
  }
71
- .typography__monospace_kzul5 {
71
+ .typography__monospace_2x4ms {
72
72
  font-feature-settings: "tnum";
73
73
  font-variant-numeric: tabular-nums;
74
74
  }
package/esm/text/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import '../colors.module-6065797e.js';
1
+ import '../colors.module-4de66eae.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  export { Text } from './component.js';
@@ -1,17 +1,17 @@
1
- /* hash: ud022 */
2
- .typography__component_vl9i7 {
1
+ /* hash: 1ijuk */
2
+ .typography__component_2u43o {
3
3
  margin: 0;
4
4
  padding: 0;
5
5
  }
6
6
 
7
- .typography__bold_vl9i7 {
7
+ .typography__bold_2u43o {
8
8
  font-weight: bold;
9
9
  }
10
10
 
11
- .typography__medium_vl9i7 {
11
+ .typography__medium_2u43o {
12
12
  font-weight: 500;
13
13
  }
14
14
 
15
- .typography__regular_vl9i7 {
15
+ .typography__regular_2u43o {
16
16
  font-weight: normal;
17
17
  }
@@ -47,15 +47,15 @@ type Styles = {
47
47
  };
48
48
  };
49
49
  type TitleElementType = HTMLHeadingElement | HTMLDivElement;
50
- declare const Title: React.ForwardRefExoticComponent<Pick<NativeProps, "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
50
+ declare const Title: React.ForwardRefExoticComponent<Omit<NativeProps, "color"> & {
51
51
  /**
52
52
  * HTML тег
53
53
  */
54
- tag: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "div";
54
+ tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
55
55
  /**
56
56
  * [Вариант начертания](https://alfa-laboratory.github.io/core-components/master/?path=/docs/гайдлайны-типографика--page)
57
57
  */
58
- view?: "xlarge" | "large" | "medium" | "small" | "xsmall" | undefined;
58
+ view?: "medium" | "small" | "xlarge" | "large" | "xsmall" | undefined;
59
59
  /**
60
60
  * Цвет текста
61
61
  */
@@ -63,7 +63,7 @@ declare const Title: React.ForwardRefExoticComponent<Pick<NativeProps, "defaultC
63
63
  /**
64
64
  * Толщина шрифта
65
65
  */
66
- weight?: "medium" | "regular" | "bold" | undefined;
66
+ weight?: "regular" | "medium" | "bold" | undefined;
67
67
  /**
68
68
  * Шрифт текста
69
69
  */
@@ -1,4 +1,4 @@
1
- import { a as __rest, _ as __assign, c as colors } from '../colors.module-6065797e.js';
1
+ import { a as __rest, _ as __assign, c as colors } from '../colors.module-4de66eae.js';
2
2
  import React, { forwardRef } from 'react';
3
3
  import cn from 'classnames';
4
4
 
@@ -1,4 +1,4 @@
1
- /* hash: 52in9 */
1
+ /* hash: k7jos */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -17,87 +17,87 @@
17
17
  --font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
18
18
  'Helvetica Neue', Helvetica, sans-serif;
19
19
  }
20
- .typography__styrene-xlarge_7y5pk {
20
+ .typography__styrene-xlarge_vlaw6 {
21
21
  font-size: 48px;
22
22
  line-height: 64px;
23
23
  font-weight: 500;
24
24
  font-feature-settings: 'ss01';
25
25
  font-family: var(--font-family-styrene);
26
26
  }
27
- .typography__styrene-large_7y5pk {
27
+ .typography__styrene-large_vlaw6 {
28
28
  font-size: 40px;
29
29
  line-height: 48px;
30
30
  font-weight: 500;
31
31
  font-feature-settings: 'ss01';
32
32
  font-family: var(--font-family-styrene);
33
33
  }
34
- .typography__styrene-medium_7y5pk {
34
+ .typography__styrene-medium_vlaw6 {
35
35
  font-size: 32px;
36
36
  line-height: 40px;
37
37
  font-weight: 500;
38
38
  font-feature-settings: 'ss01';
39
39
  font-family: var(--font-family-styrene);
40
40
  }
41
- .typography__styrene-small_7y5pk {
41
+ .typography__styrene-small_vlaw6 {
42
42
  font-size: 24px;
43
43
  line-height: 32px;
44
44
  font-weight: 500;
45
45
  font-feature-settings: 'ss01';
46
46
  font-family: var(--font-family-styrene);
47
47
  }
48
- .typography__styrene-xsmall_7y5pk {
48
+ .typography__styrene-xsmall_vlaw6 {
49
49
  font-size: 20px;
50
50
  line-height: 24px;
51
51
  font-weight: 500;
52
52
  font-feature-settings: 'ss01';
53
53
  font-family: var(--font-family-styrene);
54
54
  }
55
- .typography__system-xlarge_7y5pk {
55
+ .typography__system-xlarge_vlaw6 {
56
56
  font-size: 48px;
57
57
  line-height: 52px;
58
58
  font-weight: 700;
59
59
  }
60
- .typography__system-large_7y5pk {
60
+ .typography__system-large_vlaw6 {
61
61
  font-size: 40px;
62
62
  line-height: 48px;
63
63
  font-weight: 700;
64
64
  }
65
- .typography__system-medium_7y5pk {
65
+ .typography__system-medium_vlaw6 {
66
66
  font-size: 30px;
67
67
  line-height: 36px;
68
68
  font-weight: 700;
69
69
  }
70
- .typography__system-small_7y5pk {
70
+ .typography__system-small_vlaw6 {
71
71
  font-size: 22px;
72
72
  line-height: 26px;
73
73
  font-weight: 700;
74
74
  }
75
- .typography__system-xsmall_7y5pk {
75
+ .typography__system-xsmall_vlaw6 {
76
76
  font-size: 18px;
77
77
  line-height: 22px;
78
78
  font-weight: 700;
79
79
  }
80
- .typography__margins-xlarge_7y5pk {
80
+ .typography__margins-xlarge_vlaw6 {
81
81
  margin: 0 0 var(--gap-xl);
82
82
  }
83
- .typography__margins-large_7y5pk {
83
+ .typography__margins-large_vlaw6 {
84
84
  margin: var(--gap-4xl) 0 var(--gap-xl);
85
85
  }
86
- .typography__margins-medium_7y5pk {
86
+ .typography__margins-medium_vlaw6 {
87
87
  margin: var(--gap-4xl) 0 var(--gap-xl);
88
88
  }
89
- .typography__margins-small_7y5pk {
89
+ .typography__margins-small_vlaw6 {
90
90
  margin: var(--gap-3xl) 0 var(--gap-m);
91
91
  }
92
- .typography__margins-xsmall_7y5pk {
92
+ .typography__margins-xsmall_vlaw6 {
93
93
  margin: var(--gap-3xl) 0 var(--gap-m);
94
94
  }
95
- .typography__bold_7y5pk {
95
+ .typography__bold_vlaw6 {
96
96
  font-weight: bold;
97
97
  }
98
- .typography__medium_7y5pk {
98
+ .typography__medium_vlaw6 {
99
99
  font-weight: 500;
100
100
  }
101
- .typography__regular_7y5pk {
101
+ .typography__regular_vlaw6 {
102
102
  font-weight: normal;
103
103
  }
@@ -1,18 +1,17 @@
1
- import { _ as __assign } from '../colors.module-6065797e.js';
1
+ import { _ as __assign } from '../colors.module-4de66eae.js';
2
2
  import React from 'react';
3
3
  import 'classnames';
4
4
  import { Title as Title$1 } from './component.js';
5
- import { c as commonStyles } from '../common.module-879f9853.js';
5
+ import { c as commonStyles } from '../common.module-2f6fae5e.js';
6
6
 
7
- var styles = {"styrene-xlarge":"typography__styrene-xlarge_7y5pk","styrene-large":"typography__styrene-large_7y5pk","styrene-medium":"typography__styrene-medium_7y5pk","styrene-small":"typography__styrene-small_7y5pk","styrene-xsmall":"typography__styrene-xsmall_7y5pk","system-xlarge":"typography__system-xlarge_7y5pk","system-large":"typography__system-large_7y5pk","system-medium":"typography__system-medium_7y5pk","system-small":"typography__system-small_7y5pk","system-xsmall":"typography__system-xsmall_7y5pk","margins-xlarge":"typography__margins-xlarge_7y5pk","margins-large":"typography__margins-large_7y5pk","margins-medium":"typography__margins-medium_7y5pk","margins-small":"typography__margins-small_7y5pk","margins-xsmall":"typography__margins-xsmall_7y5pk","bold":"typography__bold_7y5pk","medium":"typography__medium_7y5pk","regular":"typography__regular_7y5pk"};
7
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_vlaw6","styrene-large":"typography__styrene-large_vlaw6","styrene-medium":"typography__styrene-medium_vlaw6","styrene-small":"typography__styrene-small_vlaw6","styrene-xsmall":"typography__styrene-xsmall_vlaw6","system-xlarge":"typography__system-xlarge_vlaw6","system-large":"typography__system-large_vlaw6","system-medium":"typography__system-medium_vlaw6","system-small":"typography__system-small_vlaw6","system-xsmall":"typography__system-xsmall_vlaw6","margins-xlarge":"typography__margins-xlarge_vlaw6","margins-large":"typography__margins-large_vlaw6","margins-medium":"typography__margins-medium_vlaw6","margins-small":"typography__margins-small_vlaw6","margins-xsmall":"typography__margins-xsmall_vlaw6","bold":"typography__bold_vlaw6","medium":"typography__medium_vlaw6","regular":"typography__regular_vlaw6"};
8
8
  require('./index.css')
9
9
 
10
- var Title = function (props) {
11
- /**
12
- * Если поменять Object.assign на деструктуризацию, то упадут тесты.
13
- * Видимо, это особенность работы jest и css-modules.
14
- */
15
- return React.createElement(Title$1, __assign({}, props, { styles: Object.assign(commonStyles, styles) }));
16
- };
10
+ var Title = function (props) { return (
11
+ /**
12
+ * Если поменять Object.assign на деструктуризацию, то упадут тесты.
13
+ * Видимо, это особенность работы jest и css-modules.
14
+ */
15
+ React.createElement(Title$1, __assign({}, props, { styles: Object.assign(commonStyles, styles) }))); };
17
16
 
18
17
  export { Title };
@@ -1,18 +1,17 @@
1
- import { _ as __assign } from '../colors.module-6065797e.js';
1
+ import { _ as __assign } from '../colors.module-4de66eae.js';
2
2
  import React from 'react';
3
3
  import 'classnames';
4
4
  import { Title } from '../title/component.js';
5
- import { c as commonStyles } from '../common.module-879f9853.js';
5
+ import { c as commonStyles } from '../common.module-2f6fae5e.js';
6
6
 
7
- var styles = {"styrene-xlarge":"typography__styrene-xlarge_1mr5n","styrene-large":"typography__styrene-large_1mr5n","styrene-medium":"typography__styrene-medium_1mr5n","styrene-small":"typography__styrene-small_1mr5n","styrene-xsmall":"typography__styrene-xsmall_1mr5n","system-xlarge":"typography__system-xlarge_1mr5n","system-large":"typography__system-large_1mr5n","system-medium":"typography__system-medium_1mr5n","system-small":"typography__system-small_1mr5n","system-xsmall":"typography__system-xsmall_1mr5n","bold":"typography__bold_1mr5n","medium":"typography__medium_1mr5n","regular":"typography__regular_1mr5n"};
7
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_14e9g","styrene-large":"typography__styrene-large_14e9g","styrene-medium":"typography__styrene-medium_14e9g","styrene-small":"typography__styrene-small_14e9g","styrene-xsmall":"typography__styrene-xsmall_14e9g","system-xlarge":"typography__system-xlarge_14e9g","system-large":"typography__system-large_14e9g","system-medium":"typography__system-medium_14e9g","system-small":"typography__system-small_14e9g","system-xsmall":"typography__system-xsmall_14e9g","bold":"typography__bold_14e9g","medium":"typography__medium_14e9g","regular":"typography__regular_14e9g"};
8
8
  require('./index.css')
9
9
 
10
- var TitleMobile = function (props) {
11
- /**
12
- * Если поменять Object.assign на деструктуризацию, то упадут тесты.
13
- * Видимо, это особенность работы jest и css-modules.
14
- */
15
- return React.createElement(Title, __assign({}, props, { styles: Object.assign(commonStyles, styles) }));
16
- };
10
+ var TitleMobile = function (props) { return (
11
+ /**
12
+ * Если поменять Object.assign на деструктуризацию, то упадут тесты.
13
+ * Видимо, это особенность работы jest и css-modules.
14
+ */
15
+ React.createElement(Title, __assign({}, props, { styles: Object.assign(commonStyles, styles) }))); };
17
16
 
18
17
  export { TitleMobile };
@@ -1,4 +1,4 @@
1
- /* hash: dzn67 */
1
+ /* hash: t4o7q */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -11,72 +11,72 @@
11
11
  --font-family-styrene: 'Styrene UI', system-ui, -apple-system, 'Segoe UI', Roboto,
12
12
  'Helvetica Neue', Helvetica, sans-serif;
13
13
  }
14
- .typography__styrene-xlarge_1mr5n {
14
+ .typography__styrene-xlarge_14e9g {
15
15
  font-size: 34px;
16
16
  line-height: 40px;
17
17
  font-weight: 500;
18
18
  font-feature-settings: 'ss01';
19
19
  font-family: var(--font-family-styrene);
20
20
  }
21
- .typography__styrene-large_1mr5n {
21
+ .typography__styrene-large_14e9g {
22
22
  font-size: 30px;
23
23
  line-height: 36px;
24
24
  font-weight: 500;
25
25
  font-feature-settings: 'ss01';
26
26
  font-family: var(--font-family-styrene);
27
27
  }
28
- .typography__styrene-medium_1mr5n {
28
+ .typography__styrene-medium_14e9g {
29
29
  font-size: 26px;
30
30
  line-height: 32px;
31
31
  font-weight: 500;
32
32
  font-feature-settings: 'ss01';
33
33
  font-family: var(--font-family-styrene);
34
34
  }
35
- .typography__styrene-small_1mr5n {
35
+ .typography__styrene-small_14e9g {
36
36
  font-size: 20px;
37
37
  line-height: 28px;
38
38
  font-weight: 500;
39
39
  font-feature-settings: 'ss01';
40
40
  font-family: var(--font-family-styrene);
41
41
  }
42
- .typography__styrene-xsmall_1mr5n {
42
+ .typography__styrene-xsmall_14e9g {
43
43
  font-size: 16px;
44
- line-height: 24px;
44
+ line-height: 20px;
45
45
  font-weight: 500;
46
46
  font-feature-settings: 'ss01';
47
47
  font-family: var(--font-family-styrene);
48
48
  }
49
- .typography__system-xlarge_1mr5n {
49
+ .typography__system-xlarge_14e9g {
50
50
  font-size: 34px;
51
51
  line-height: 40px;
52
52
  font-weight: 600;
53
53
  }
54
- .typography__system-large_1mr5n {
54
+ .typography__system-large_14e9g {
55
55
  font-size: 30px;
56
56
  line-height: 36px;
57
57
  font-weight: 600;
58
58
  }
59
- .typography__system-medium_1mr5n {
59
+ .typography__system-medium_14e9g {
60
60
  font-size: 26px;
61
61
  line-height: 32px;
62
62
  font-weight: 600;
63
63
  }
64
- .typography__system-small_1mr5n {
64
+ .typography__system-small_14e9g {
65
65
  font-size: 20px;
66
66
  line-height: 28px;
67
67
  font-weight: 600;
68
68
  }
69
- .typography__system-xsmall_1mr5n {
69
+ .typography__system-xsmall_14e9g {
70
70
  font-size: 16px;
71
- line-height: 24px;
71
+ line-height: 20px;
72
72
  font-weight: 600;
73
73
  }
74
- .typography__bold_1mr5n {
74
+ .typography__bold_14e9g {
75
75
  font-weight: bold;
76
76
  }
77
- .typography__medium_1mr5n {
77
+ .typography__medium_14e9g {
78
78
  font-weight: 500;
79
79
  }
80
- .typography__regular_1mr5n {
80
+ .typography__regular_14e9g {
81
81
  font-weight: normal;
82
82
  }
@@ -1,6 +1,6 @@
1
- import '../colors.module-6065797e.js';
1
+ import '../colors.module-4de66eae.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../title/component.js';
5
- import '../common.module-879f9853.js';
5
+ import '../common.module-2f6fae5e.js';
6
6
  export { TitleMobile } from './component.js';
@@ -1,18 +1,17 @@
1
- import { _ as __assign } from '../colors.module-6065797e.js';
1
+ import { _ as __assign } from '../colors.module-4de66eae.js';
2
2
  import React from 'react';
3
3
  import 'classnames';
4
4
  import { Title } from '../title/component.js';
5
- import { c as commonStyles } from '../common.module-879f9853.js';
5
+ import { c as commonStyles } from '../common.module-2f6fae5e.js';
6
6
 
7
- var styles = {"styrene-xlarge":"typography__styrene-xlarge_jfz86","styrene-large":"typography__styrene-large_jfz86","styrene-medium":"typography__styrene-medium_jfz86","styrene-small":"typography__styrene-small_jfz86","styrene-xsmall":"typography__styrene-xsmall_jfz86","system-xlarge":"typography__system-xlarge_jfz86","system-large":"typography__system-large_jfz86","system-medium":"typography__system-medium_jfz86","system-small":"typography__system-small_jfz86","system-xsmall":"typography__system-xsmall_jfz86","margins-xlarge":"typography__margins-xlarge_jfz86","margins-large":"typography__margins-large_jfz86","margins-medium":"typography__margins-medium_jfz86","margins-small":"typography__margins-small_jfz86","margins-xsmall":"typography__margins-xsmall_jfz86"};
7
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_1vad3","styrene-large":"typography__styrene-large_1vad3","styrene-medium":"typography__styrene-medium_1vad3","styrene-small":"typography__styrene-small_1vad3","styrene-xsmall":"typography__styrene-xsmall_1vad3","system-xlarge":"typography__system-xlarge_1vad3","system-large":"typography__system-large_1vad3","system-medium":"typography__system-medium_1vad3","system-small":"typography__system-small_1vad3","system-xsmall":"typography__system-xsmall_1vad3","margins-xlarge":"typography__margins-xlarge_1vad3","margins-large":"typography__margins-large_1vad3","margins-medium":"typography__margins-medium_1vad3","margins-small":"typography__margins-small_1vad3","margins-xsmall":"typography__margins-xsmall_1vad3"};
8
8
  require('./index.css')
9
9
 
10
- var TitleResponsive = function (props) {
11
- /**
12
- * Если поменять Object.assign на деструктуризацию, то упадут тесты.
13
- * Видимо, это особенность работы jest и css-modules.
14
- */
15
- return React.createElement(Title, __assign({}, props, { styles: Object.assign(commonStyles, styles) }));
16
- };
10
+ var TitleResponsive = function (props) { return (
11
+ /**
12
+ * Если поменять Object.assign на деструктуризацию, то упадут тесты.
13
+ * Видимо, это особенность работы jest и css-modules.
14
+ */
15
+ React.createElement(Title, __assign({}, props, { styles: Object.assign(commonStyles, styles) }))); };
17
16
 
18
17
  export { TitleResponsive };