@alfalab/core-components-typography 3.0.5 → 3.0.6

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 (81) hide show
  1. package/colors.css +13 -13
  2. package/{colors.module-0bde6fb8.d.ts → colors.module-6e19bd6b.d.ts} +0 -0
  3. package/{colors.module-0bde6fb8.js → colors.module-6e19bd6b.js} +1 -1
  4. package/common.module-dd23630a.js +6 -0
  5. package/component.d.ts +3 -2
  6. package/component.js +2 -2
  7. package/cssm/component.d.ts +3 -2
  8. package/cssm/text/component.d.ts +2 -2
  9. package/cssm/title/component.d.ts +2 -2
  10. package/cssm/types.d.ts +2 -0
  11. package/cssm/types.js +2 -0
  12. package/esm/colors.css +13 -13
  13. package/esm/{colors.module-ea6aa385.d.ts → colors.module-78d99341.d.ts} +0 -0
  14. package/esm/{colors.module-ea6aa385.js → colors.module-78d99341.js} +1 -1
  15. package/esm/common.module-00b1ccc7.js +4 -0
  16. package/esm/component.d.ts +3 -2
  17. package/esm/component.js +2 -2
  18. package/esm/index.js +2 -2
  19. package/esm/text/component.d.ts +2 -2
  20. package/esm/text/component.js +2 -2
  21. package/esm/text/index.css +15 -15
  22. package/esm/text/index.js +1 -1
  23. package/esm/title/common.css +5 -5
  24. package/esm/title/component.d.ts +2 -2
  25. package/esm/title/component.js +1 -1
  26. package/esm/title/index.css +19 -19
  27. package/esm/title/index.js +3 -3
  28. package/esm/title-mobile/component.js +3 -3
  29. package/esm/title-mobile/index.css +14 -14
  30. package/esm/title-mobile/index.js +2 -2
  31. package/esm/title-responsive/component.js +3 -3
  32. package/esm/title-responsive/index.css +41 -41
  33. package/esm/title-responsive/index.js +2 -2
  34. package/esm/types.d.ts +2 -0
  35. package/esm/types.js +1 -0
  36. package/index.js +2 -2
  37. package/modern/colors.css +13 -13
  38. package/modern/colors.module-cc6915f1.js +4 -0
  39. package/modern/common.module-00b1ccc7.js +4 -0
  40. package/modern/component.d.ts +3 -2
  41. package/modern/component.js +2 -2
  42. package/modern/index.js +2 -2
  43. package/modern/text/component.d.ts +2 -2
  44. package/modern/text/component.js +2 -2
  45. package/modern/text/index.css +15 -15
  46. package/modern/text/index.js +1 -1
  47. package/modern/title/common.css +5 -5
  48. package/modern/title/component.d.ts +2 -2
  49. package/modern/title/component.js +1 -1
  50. package/modern/title/index.css +19 -19
  51. package/modern/title/index.js +3 -3
  52. package/modern/title-mobile/component.js +3 -3
  53. package/modern/title-mobile/index.css +14 -14
  54. package/modern/title-mobile/index.js +2 -2
  55. package/modern/title-responsive/component.js +3 -3
  56. package/modern/title-responsive/index.css +41 -41
  57. package/modern/title-responsive/index.js +2 -2
  58. package/modern/types.d.ts +2 -0
  59. package/modern/types.js +1 -0
  60. package/package.json +1 -1
  61. package/text/component.d.ts +2 -2
  62. package/text/component.js +2 -2
  63. package/text/index.css +15 -15
  64. package/text/index.js +1 -1
  65. package/title/common.css +5 -5
  66. package/title/component.d.ts +2 -2
  67. package/title/component.js +1 -1
  68. package/title/index.css +19 -19
  69. package/title/index.js +3 -3
  70. package/title-mobile/component.js +3 -3
  71. package/title-mobile/index.css +14 -14
  72. package/title-mobile/index.js +2 -2
  73. package/title-responsive/component.js +3 -3
  74. package/title-responsive/index.css +41 -41
  75. package/title-responsive/index.js +2 -2
  76. package/types.d.ts +2 -0
  77. package/types.js +2 -0
  78. package/common.module-38ff9d96.js +0 -6
  79. package/esm/common.module-3d6e256f.js +0 -4
  80. package/modern/colors.module-37ac527a.js +0 -4
  81. package/modern/common.module-3d6e256f.js +0 -4
package/colors.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: dph77 */
1
+ /* hash: 9gblq */
2
2
  :root {
3
3
  --color-light-text-accent: #ef3124;
4
4
  --color-light-text-attention: #de6a00;
@@ -22,39 +22,39 @@
22
22
  /* Hard up */
23
23
  }
24
24
  /* colors */
25
- .typography__tertiary_v989w {
25
+ .typography__tertiary_1pf6a {
26
26
  color: var(--color-light-text-tertiary);
27
27
  }
28
- .typography__disabled_v989w {
28
+ .typography__disabled_1pf6a {
29
29
  color: var(--color-light-text-disabled);
30
30
  }
31
- .typography__accent_v989w {
31
+ .typography__accent_1pf6a {
32
32
  color: var(--color-light-text-accent);
33
33
  }
34
- .typography__primary_v989w {
34
+ .typography__primary_1pf6a {
35
35
  color: var(--color-light-text-primary);
36
36
  }
37
- .typography__attention_v989w {
37
+ .typography__attention_1pf6a {
38
38
  color: var(--color-light-text-attention);
39
39
  }
40
- .typography__positive_v989w {
40
+ .typography__positive_1pf6a {
41
41
  color: var(--color-light-text-positive);
42
42
  }
43
- .typography__secondary_v989w {
43
+ .typography__secondary_1pf6a {
44
44
  color: var(--color-light-text-secondary);
45
45
  }
46
- .typography__tertiary-inverted_v989w {
46
+ .typography__tertiary-inverted_1pf6a {
47
47
  color: var(--color-light-text-tertiary-inverted);
48
48
  }
49
- .typography__primary-inverted_v989w {
49
+ .typography__primary-inverted_1pf6a {
50
50
  color: var(--color-light-text-primary-inverted);
51
51
  }
52
- .typography__secondary-inverted_v989w {
52
+ .typography__secondary-inverted_1pf6a {
53
53
  color: var(--color-light-text-secondary-inverted);
54
54
  }
55
- .typography__link_v989w {
55
+ .typography__link_1pf6a {
56
56
  color: var(--color-light-text-link);
57
57
  }
58
- .typography__negative_v989w {
58
+ .typography__negative_1pf6a {
59
59
  color: var(--color-light-text-negative);
60
60
  }
@@ -39,7 +39,7 @@ function __rest(s, e) {
39
39
  return t;
40
40
  }
41
41
 
42
- var colors = {"tertiary":"typography__tertiary_v989w","disabled":"typography__disabled_v989w","accent":"typography__accent_v989w","primary":"typography__primary_v989w","attention":"typography__attention_v989w","positive":"typography__positive_v989w","secondary":"typography__secondary_v989w","tertiary-inverted":"typography__tertiary-inverted_v989w","primary-inverted":"typography__primary-inverted_v989w","secondary-inverted":"typography__secondary-inverted_v989w","link":"typography__link_v989w","negative":"typography__negative_v989w"};
42
+ var colors = {"tertiary":"typography__tertiary_1pf6a","disabled":"typography__disabled_1pf6a","accent":"typography__accent_1pf6a","primary":"typography__primary_1pf6a","attention":"typography__attention_1pf6a","positive":"typography__positive_1pf6a","secondary":"typography__secondary_1pf6a","tertiary-inverted":"typography__tertiary-inverted_1pf6a","primary-inverted":"typography__primary-inverted_1pf6a","secondary-inverted":"typography__secondary-inverted_1pf6a","link":"typography__link_1pf6a","negative":"typography__negative_1pf6a"};
43
43
  require('./colors.css')
44
44
 
45
45
  exports.__rest = __rest;
@@ -0,0 +1,6 @@
1
+ 'use strict';
2
+
3
+ var commonStyles = {"component":"typography__component_13ul2","bold":"typography__bold_13ul2","medium":"typography__medium_13ul2","regular":"typography__regular_13ul2"};
4
+ require('./title/common.css')
5
+
6
+ exports.commonStyles = commonStyles;
package/component.d.ts CHANGED
@@ -1,10 +1,11 @@
1
- import { FC } from 'react';
1
+ import { FC, ForwardRefExoticComponent, RefAttributes } from 'react';
2
2
  import { TextProps } from "./text/index";
3
3
  import { TitleProps } from "./title/index";
4
4
  import { TitleMobileProps } from "./title-mobile/index";
5
+ import { TextElementType } from "./types";
5
6
  declare const Typography: {
6
7
  Title: FC<TitleProps>;
7
- Text: FC<TextProps>;
8
+ Text: ForwardRefExoticComponent<TextProps & RefAttributes<TextElementType>>;
8
9
  TitleResponsive: FC<TitleProps>;
9
10
  TitleMobile: FC<TitleMobileProps>;
10
11
  };
package/component.js CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./colors.module-0bde6fb8.js');
5
+ require('./colors.module-6e19bd6b.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  var text_component = require('./text/component.js');
9
9
  require('./title/component.js');
10
- require('./common.module-38ff9d96.js');
10
+ require('./common.module-dd23630a.js');
11
11
  var title_index = require('./title/index.js');
12
12
  var titleMobile_component = require('./title-mobile/component.js');
13
13
  var titleResponsive_component = require('./title-responsive/component.js');
@@ -1,10 +1,11 @@
1
- import { FC } from 'react';
1
+ import { FC, ForwardRefExoticComponent, RefAttributes } from 'react';
2
2
  import { TextProps } from "./text/index";
3
3
  import { TitleProps } from "./title/index";
4
4
  import { TitleMobileProps } from "./title-mobile/index";
5
+ import { TextElementType } from "./types";
5
6
  declare const Typography: {
6
7
  Title: FC<TitleProps>;
7
- Text: FC<TextProps>;
8
+ Text: ForwardRefExoticComponent<TextProps & RefAttributes<TextElementType>>;
8
9
  TitleResponsive: FC<TitleProps>;
9
10
  TitleMobile: FC<TitleMobileProps>;
10
11
  };
@@ -2,10 +2,11 @@
2
2
  import React from 'react';
3
3
  import { HTMLAttributes } from "react";
4
4
  import { Color } from "../colors";
5
+ import { TextElementType } from "../types";
5
6
  type NativeProps = HTMLAttributes<HTMLSpanElement>;
6
7
  type TextBaseProps = {
7
8
  /**
8
- * [Вариант начертания](https://alfa-laboratory.github.io/core-components/master/?path=/docs/гайдлайны-типографика--page)
9
+ * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/инструкции-типографика--page)
9
10
  */
10
11
  view?: 'primary-large' | 'primary-medium' | 'primary-small' | 'secondary-large' | 'secondary-medium' | 'secondary-small' | 'component' | 'caps';
11
12
  /**
@@ -46,6 +47,5 @@ type TextPTagProps = Omit<TextBaseProps, 'tag' | 'defaultMargins'> & {
46
47
  defaultMargins?: boolean;
47
48
  };
48
49
  type TextProps = Omit<NativeProps, 'color'> & (TextBaseProps | TextPTagProps);
49
- type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
50
50
  declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<TextElementType>>;
51
51
  export { TextProps, Text };
@@ -9,7 +9,7 @@ type TitleProps = Omit<NativeProps, 'color'> & {
9
9
  */
10
10
  tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
11
11
  /**
12
- * [Вариант начертания](https://alfa-laboratory.github.io/core-components/master/?path=/docs/гайдлайны-типографика--page)
12
+ * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/инструкции-типографика--page)
13
13
  */
14
14
  view?: 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall';
15
15
  /**
@@ -53,7 +53,7 @@ declare const Title: React.ForwardRefExoticComponent<Omit<NativeProps, "color">
53
53
  */
54
54
  tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
55
55
  /**
56
- * [Вариант начертания](https://alfa-laboratory.github.io/core-components/master/?path=/docs/гайдлайны-типографика--page)
56
+ * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/инструкции-типографика--page)
57
57
  */
58
58
  view?: "medium" | "small" | "xlarge" | "large" | "xsmall" | undefined;
59
59
  /**
@@ -0,0 +1,2 @@
1
+ type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
2
+ export { TextElementType };
package/cssm/types.js ADDED
@@ -0,0 +1,2 @@
1
+ 'use strict';
2
+
package/esm/colors.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: dph77 */
1
+ /* hash: 9gblq */
2
2
  :root {
3
3
  --color-light-text-accent: #ef3124;
4
4
  --color-light-text-attention: #de6a00;
@@ -22,39 +22,39 @@
22
22
  /* Hard up */
23
23
  }
24
24
  /* colors */
25
- .typography__tertiary_v989w {
25
+ .typography__tertiary_1pf6a {
26
26
  color: var(--color-light-text-tertiary);
27
27
  }
28
- .typography__disabled_v989w {
28
+ .typography__disabled_1pf6a {
29
29
  color: var(--color-light-text-disabled);
30
30
  }
31
- .typography__accent_v989w {
31
+ .typography__accent_1pf6a {
32
32
  color: var(--color-light-text-accent);
33
33
  }
34
- .typography__primary_v989w {
34
+ .typography__primary_1pf6a {
35
35
  color: var(--color-light-text-primary);
36
36
  }
37
- .typography__attention_v989w {
37
+ .typography__attention_1pf6a {
38
38
  color: var(--color-light-text-attention);
39
39
  }
40
- .typography__positive_v989w {
40
+ .typography__positive_1pf6a {
41
41
  color: var(--color-light-text-positive);
42
42
  }
43
- .typography__secondary_v989w {
43
+ .typography__secondary_1pf6a {
44
44
  color: var(--color-light-text-secondary);
45
45
  }
46
- .typography__tertiary-inverted_v989w {
46
+ .typography__tertiary-inverted_1pf6a {
47
47
  color: var(--color-light-text-tertiary-inverted);
48
48
  }
49
- .typography__primary-inverted_v989w {
49
+ .typography__primary-inverted_1pf6a {
50
50
  color: var(--color-light-text-primary-inverted);
51
51
  }
52
- .typography__secondary-inverted_v989w {
52
+ .typography__secondary-inverted_1pf6a {
53
53
  color: var(--color-light-text-secondary-inverted);
54
54
  }
55
- .typography__link_v989w {
55
+ .typography__link_1pf6a {
56
56
  color: var(--color-light-text-link);
57
57
  }
58
- .typography__negative_v989w {
58
+ .typography__negative_1pf6a {
59
59
  color: var(--color-light-text-negative);
60
60
  }
@@ -37,7 +37,7 @@ function __rest(s, e) {
37
37
  return t;
38
38
  }
39
39
 
40
- var colors = {"tertiary":"typography__tertiary_v989w","disabled":"typography__disabled_v989w","accent":"typography__accent_v989w","primary":"typography__primary_v989w","attention":"typography__attention_v989w","positive":"typography__positive_v989w","secondary":"typography__secondary_v989w","tertiary-inverted":"typography__tertiary-inverted_v989w","primary-inverted":"typography__primary-inverted_v989w","secondary-inverted":"typography__secondary-inverted_v989w","link":"typography__link_v989w","negative":"typography__negative_v989w"};
40
+ var colors = {"tertiary":"typography__tertiary_1pf6a","disabled":"typography__disabled_1pf6a","accent":"typography__accent_1pf6a","primary":"typography__primary_1pf6a","attention":"typography__attention_1pf6a","positive":"typography__positive_1pf6a","secondary":"typography__secondary_1pf6a","tertiary-inverted":"typography__tertiary-inverted_1pf6a","primary-inverted":"typography__primary-inverted_1pf6a","secondary-inverted":"typography__secondary-inverted_1pf6a","link":"typography__link_1pf6a","negative":"typography__negative_1pf6a"};
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_13ul2","bold":"typography__bold_13ul2","medium":"typography__medium_13ul2","regular":"typography__regular_13ul2"};
2
+ require('./title/common.css')
3
+
4
+ export { commonStyles as c };
@@ -1,10 +1,11 @@
1
- import { FC } from 'react';
1
+ import { FC, ForwardRefExoticComponent, RefAttributes } from 'react';
2
2
  import { TextProps } from "./text/index";
3
3
  import { TitleProps } from "./title/index";
4
4
  import { TitleMobileProps } from "./title-mobile/index";
5
+ import { TextElementType } from "./types";
5
6
  declare const Typography: {
6
7
  Title: FC<TitleProps>;
7
- Text: FC<TextProps>;
8
+ Text: ForwardRefExoticComponent<TextProps & RefAttributes<TextElementType>>;
8
9
  TitleResponsive: FC<TitleProps>;
9
10
  TitleMobile: FC<TitleMobileProps>;
10
11
  };
package/esm/component.js CHANGED
@@ -1,9 +1,9 @@
1
- import './colors.module-ea6aa385.js';
1
+ import './colors.module-78d99341.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import { Text } from './text/component.js';
5
5
  import './title/component.js';
6
- import './common.module-3d6e256f.js';
6
+ import './common.module-00b1ccc7.js';
7
7
  import { Title } from './title/index.js';
8
8
  import { TitleMobile } from './title-mobile/component.js';
9
9
  import { TitleResponsive } from './title-responsive/component.js';
package/esm/index.js CHANGED
@@ -1,9 +1,9 @@
1
- import './colors.module-ea6aa385.js';
1
+ import './colors.module-78d99341.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import './text/component.js';
5
5
  import './title/component.js';
6
- import './common.module-3d6e256f.js';
6
+ import './common.module-00b1ccc7.js';
7
7
  import './title/index.js';
8
8
  import './title-mobile/component.js';
9
9
  import './title-responsive/component.js';
@@ -2,10 +2,11 @@
2
2
  import React from 'react';
3
3
  import { HTMLAttributes } from "react";
4
4
  import { Color } from "../colors";
5
+ import { TextElementType } from "../types";
5
6
  type NativeProps = HTMLAttributes<HTMLSpanElement>;
6
7
  type TextBaseProps = {
7
8
  /**
8
- * [Вариант начертания](https://alfa-laboratory.github.io/core-components/master/?path=/docs/гайдлайны-типографика--page)
9
+ * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/инструкции-типографика--page)
9
10
  */
10
11
  view?: 'primary-large' | 'primary-medium' | 'primary-small' | 'secondary-large' | 'secondary-medium' | 'secondary-small' | 'component' | 'caps';
11
12
  /**
@@ -46,6 +47,5 @@ type TextPTagProps = Omit<TextBaseProps, 'tag' | 'defaultMargins'> & {
46
47
  defaultMargins?: boolean;
47
48
  };
48
49
  type TextProps = Omit<NativeProps, 'color'> & (TextBaseProps | TextPTagProps);
49
- type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
50
50
  declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<TextElementType>>;
51
51
  export { TextProps, Text };
@@ -1,8 +1,8 @@
1
- import { a as __rest, _ as __assign, c as colors } from '../colors.module-ea6aa385.js';
1
+ import { a as __rest, _ as __assign, c as colors } from '../colors.module-78d99341.js';
2
2
  import React, { forwardRef } from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"paragraph":"typography__paragraph_8kho6","paragraphWithMargins":"typography__paragraphWithMargins_8kho6","primary-large":"typography__primary-large_8kho6","primary-medium":"typography__primary-medium_8kho6","primary-small":"typography__primary-small_8kho6","secondary-large":"typography__secondary-large_8kho6","secondary-medium":"typography__secondary-medium_8kho6","secondary-small":"typography__secondary-small_8kho6","component":"typography__component_8kho6","caps":"typography__caps_8kho6","bold":"typography__bold_8kho6","medium":"typography__medium_8kho6","regular":"typography__regular_8kho6","monospace":"typography__monospace_8kho6"};
5
+ var styles = {"paragraph":"typography__paragraph_1osp9","paragraphWithMargins":"typography__paragraphWithMargins_1osp9","primary-large":"typography__primary-large_1osp9","primary-medium":"typography__primary-medium_1osp9","primary-small":"typography__primary-small_1osp9","secondary-large":"typography__secondary-large_1osp9","secondary-medium":"typography__secondary-medium_1osp9","secondary-small":"typography__secondary-small_1osp9","component":"typography__component_1osp9","caps":"typography__caps_1osp9","bold":"typography__bold_1osp9","medium":"typography__medium_1osp9","regular":"typography__regular_1osp9","monospace":"typography__monospace_1osp9"};
6
6
  require('./index.css')
7
7
 
8
8
  var Text = forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: hxyle */
1
+ /* hash: 1tcrl */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -13,66 +13,66 @@
13
13
  :root {
14
14
  --text-paragraph-margin-bottom: 0 0 var(--gap-s);
15
15
  }
16
- .typography__paragraph_8kho6 {
16
+ .typography__paragraph_1osp9 {
17
17
  margin: 0;
18
18
  padding: 0;
19
19
  }
20
- .typography__paragraphWithMargins_8kho6 {
20
+ .typography__paragraphWithMargins_1osp9 {
21
21
  padding: 0;
22
22
  margin: var(--text-paragraph-margin-bottom);
23
23
  }
24
- .typography__primary-large_8kho6 {
24
+ .typography__primary-large_1osp9 {
25
25
  font-size: 18px;
26
26
  line-height: 24px;
27
27
  font-weight: 400;
28
28
  }
29
- .typography__primary-medium_8kho6 {
29
+ .typography__primary-medium_1osp9 {
30
30
  font-size: 16px;
31
31
  line-height: 24px;
32
32
  font-weight: 400;
33
33
  }
34
- .typography__primary-small_8kho6 {
34
+ .typography__primary-small_1osp9 {
35
35
  font-size: 14px;
36
36
  line-height: 20px;
37
37
  font-weight: 400;
38
38
  }
39
- .typography__secondary-large_8kho6 {
39
+ .typography__secondary-large_1osp9 {
40
40
  font-size: 13px;
41
41
  line-height: 16px;
42
42
  font-weight: 400;
43
43
  }
44
- .typography__secondary-medium_8kho6 {
44
+ .typography__secondary-medium_1osp9 {
45
45
  font-size: 12px;
46
46
  line-height: 16px;
47
47
  font-weight: 400;
48
48
  }
49
- .typography__secondary-small_8kho6 {
49
+ .typography__secondary-small_1osp9 {
50
50
  font-size: 11px;
51
51
  line-height: 16px;
52
52
  font-weight: 400;
53
53
  }
54
- .typography__component_8kho6 {
54
+ .typography__component_1osp9 {
55
55
  font-size: 16px;
56
56
  line-height: 20px;
57
57
  font-weight: 400;
58
58
  }
59
- .typography__caps_8kho6 {
59
+ .typography__caps_1osp9 {
60
60
  font-size: 12px;
61
61
  line-height: 16px;
62
62
  font-weight: 500;
63
63
  letter-spacing: 1.25px;
64
64
  text-transform: uppercase;
65
65
  }
66
- .typography__bold_8kho6 {
66
+ .typography__bold_1osp9 {
67
67
  font-weight: bold;
68
68
  }
69
- .typography__medium_8kho6 {
69
+ .typography__medium_1osp9 {
70
70
  font-weight: 500;
71
71
  }
72
- .typography__regular_8kho6 {
72
+ .typography__regular_1osp9 {
73
73
  font-weight: normal;
74
74
  }
75
- .typography__monospace_8kho6 {
75
+ .typography__monospace_1osp9 {
76
76
  font-feature-settings: "tnum";
77
77
  font-variant-numeric: tabular-nums;
78
78
  }
package/esm/text/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import '../colors.module-ea6aa385.js';
1
+ import '../colors.module-78d99341.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  export { Text } from './component.js';
@@ -1,17 +1,17 @@
1
- /* hash: 1dgyo */
2
- .typography__component_8rne9 {
1
+ /* hash: punmg */
2
+ .typography__component_13ul2 {
3
3
  margin: 0;
4
4
  padding: 0;
5
5
  }
6
6
 
7
- .typography__bold_8rne9 {
7
+ .typography__bold_13ul2 {
8
8
  font-weight: bold;
9
9
  }
10
10
 
11
- .typography__medium_8rne9 {
11
+ .typography__medium_13ul2 {
12
12
  font-weight: 500;
13
13
  }
14
14
 
15
- .typography__regular_8rne9 {
15
+ .typography__regular_13ul2 {
16
16
  font-weight: normal;
17
17
  }
@@ -9,7 +9,7 @@ type TitleProps = Omit<NativeProps, 'color'> & {
9
9
  */
10
10
  tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
11
11
  /**
12
- * [Вариант начертания](https://alfa-laboratory.github.io/core-components/master/?path=/docs/гайдлайны-типографика--page)
12
+ * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/инструкции-типографика--page)
13
13
  */
14
14
  view?: 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall';
15
15
  /**
@@ -53,7 +53,7 @@ declare const Title: React.ForwardRefExoticComponent<Omit<NativeProps, "color">
53
53
  */
54
54
  tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
55
55
  /**
56
- * [Вариант начертания](https://alfa-laboratory.github.io/core-components/master/?path=/docs/гайдлайны-типографика--page)
56
+ * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/инструкции-типографика--page)
57
57
  */
58
58
  view?: "medium" | "small" | "xlarge" | "large" | "xsmall" | undefined;
59
59
  /**
@@ -1,4 +1,4 @@
1
- import { a as __rest, _ as __assign, c as colors } from '../colors.module-ea6aa385.js';
1
+ import { a as __rest, _ as __assign, c as colors } from '../colors.module-78d99341.js';
2
2
  import React, { forwardRef } from 'react';
3
3
  import cn from 'classnames';
4
4
 
@@ -1,4 +1,4 @@
1
- /* hash: lgay4 */
1
+ /* hash: k67ng */
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_brh6v {
20
+ .typography__styrene-xlarge_1fpnk {
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_brh6v {
27
+ .typography__styrene-large_1fpnk {
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_brh6v {
34
+ .typography__styrene-medium_1fpnk {
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_brh6v {
41
+ .typography__styrene-small_1fpnk {
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_brh6v {
48
+ .typography__styrene-xsmall_1fpnk {
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_brh6v {
55
+ .typography__system-xlarge_1fpnk {
56
56
  font-size: 48px;
57
57
  line-height: 52px;
58
58
  font-weight: 700;
59
59
  }
60
- .typography__system-large_brh6v {
60
+ .typography__system-large_1fpnk {
61
61
  font-size: 40px;
62
62
  line-height: 48px;
63
63
  font-weight: 700;
64
64
  }
65
- .typography__system-medium_brh6v {
65
+ .typography__system-medium_1fpnk {
66
66
  font-size: 30px;
67
67
  line-height: 36px;
68
68
  font-weight: 700;
69
69
  }
70
- .typography__system-small_brh6v {
70
+ .typography__system-small_1fpnk {
71
71
  font-size: 22px;
72
72
  line-height: 26px;
73
73
  font-weight: 700;
74
74
  }
75
- .typography__system-xsmall_brh6v {
75
+ .typography__system-xsmall_1fpnk {
76
76
  font-size: 18px;
77
77
  line-height: 22px;
78
78
  font-weight: 700;
79
79
  }
80
- .typography__margins-xlarge_brh6v {
80
+ .typography__margins-xlarge_1fpnk {
81
81
  margin: 0 0 var(--gap-xl);
82
82
  }
83
- .typography__margins-large_brh6v {
83
+ .typography__margins-large_1fpnk {
84
84
  margin: var(--gap-4xl) 0 var(--gap-xl);
85
85
  }
86
- .typography__margins-medium_brh6v {
86
+ .typography__margins-medium_1fpnk {
87
87
  margin: var(--gap-4xl) 0 var(--gap-xl);
88
88
  }
89
- .typography__margins-small_brh6v {
89
+ .typography__margins-small_1fpnk {
90
90
  margin: var(--gap-3xl) 0 var(--gap-m);
91
91
  }
92
- .typography__margins-xsmall_brh6v {
92
+ .typography__margins-xsmall_1fpnk {
93
93
  margin: var(--gap-3xl) 0 var(--gap-m);
94
94
  }
95
- .typography__bold_brh6v {
95
+ .typography__bold_1fpnk {
96
96
  font-weight: bold;
97
97
  }
98
- .typography__medium_brh6v {
98
+ .typography__medium_1fpnk {
99
99
  font-weight: 500;
100
100
  }
101
- .typography__regular_brh6v {
101
+ .typography__regular_1fpnk {
102
102
  font-weight: normal;
103
103
  }
@@ -1,10 +1,10 @@
1
- import { _ as __assign } from '../colors.module-ea6aa385.js';
1
+ import { _ as __assign } from '../colors.module-78d99341.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-3d6e256f.js';
5
+ import { c as commonStyles } from '../common.module-00b1ccc7.js';
6
6
 
7
- var styles = {"styrene-xlarge":"typography__styrene-xlarge_brh6v","styrene-large":"typography__styrene-large_brh6v","styrene-medium":"typography__styrene-medium_brh6v","styrene-small":"typography__styrene-small_brh6v","styrene-xsmall":"typography__styrene-xsmall_brh6v","system-xlarge":"typography__system-xlarge_brh6v","system-large":"typography__system-large_brh6v","system-medium":"typography__system-medium_brh6v","system-small":"typography__system-small_brh6v","system-xsmall":"typography__system-xsmall_brh6v","margins-xlarge":"typography__margins-xlarge_brh6v","margins-large":"typography__margins-large_brh6v","margins-medium":"typography__margins-medium_brh6v","margins-small":"typography__margins-small_brh6v","margins-xsmall":"typography__margins-xsmall_brh6v","bold":"typography__bold_brh6v","medium":"typography__medium_brh6v","regular":"typography__regular_brh6v"};
7
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_1fpnk","styrene-large":"typography__styrene-large_1fpnk","styrene-medium":"typography__styrene-medium_1fpnk","styrene-small":"typography__styrene-small_1fpnk","styrene-xsmall":"typography__styrene-xsmall_1fpnk","system-xlarge":"typography__system-xlarge_1fpnk","system-large":"typography__system-large_1fpnk","system-medium":"typography__system-medium_1fpnk","system-small":"typography__system-small_1fpnk","system-xsmall":"typography__system-xsmall_1fpnk","margins-xlarge":"typography__margins-xlarge_1fpnk","margins-large":"typography__margins-large_1fpnk","margins-medium":"typography__margins-medium_1fpnk","margins-small":"typography__margins-small_1fpnk","margins-xsmall":"typography__margins-xsmall_1fpnk","bold":"typography__bold_1fpnk","medium":"typography__medium_1fpnk","regular":"typography__regular_1fpnk"};
8
8
  require('./index.css')
9
9
 
10
10
  var Title = function (props) { return (
@@ -1,10 +1,10 @@
1
- import { _ as __assign } from '../colors.module-ea6aa385.js';
1
+ import { _ as __assign } from '../colors.module-78d99341.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-3d6e256f.js';
5
+ import { c as commonStyles } from '../common.module-00b1ccc7.js';
6
6
 
7
- var styles = {"styrene-xlarge":"typography__styrene-xlarge_1o835","styrene-large":"typography__styrene-large_1o835","styrene-medium":"typography__styrene-medium_1o835","styrene-small":"typography__styrene-small_1o835","styrene-xsmall":"typography__styrene-xsmall_1o835","system-xlarge":"typography__system-xlarge_1o835","system-large":"typography__system-large_1o835","system-medium":"typography__system-medium_1o835","system-small":"typography__system-small_1o835","system-xsmall":"typography__system-xsmall_1o835","bold":"typography__bold_1o835","medium":"typography__medium_1o835","regular":"typography__regular_1o835"};
7
+ var styles = {"styrene-xlarge":"typography__styrene-xlarge_1h27x","styrene-large":"typography__styrene-large_1h27x","styrene-medium":"typography__styrene-medium_1h27x","styrene-small":"typography__styrene-small_1h27x","styrene-xsmall":"typography__styrene-xsmall_1h27x","system-xlarge":"typography__system-xlarge_1h27x","system-large":"typography__system-large_1h27x","system-medium":"typography__system-medium_1h27x","system-small":"typography__system-small_1h27x","system-xsmall":"typography__system-xsmall_1h27x","bold":"typography__bold_1h27x","medium":"typography__medium_1h27x","regular":"typography__regular_1h27x"};
8
8
  require('./index.css')
9
9
 
10
10
  var TitleMobile = function (props) { return (