@epam/uui 4.11.0-alpha.1 → 4.11.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.
Files changed (143) hide show
  1. package/assets/styles/buttonLayout.scss +66 -66
  2. package/assets/styles/controlLayout.scss +27 -27
  3. package/assets/styles/effects.scss +9 -9
  4. package/assets/styles/font-faces.scss +51 -51
  5. package/assets/styles/icons.scss +18 -18
  6. package/assets/styles/index.scss +7 -7
  7. package/assets/styles/inputs.scss +69 -69
  8. package/assets/styles/layout-mixins.scss +8 -8
  9. package/assets/styles/prettifyScrollBar.scss +52 -52
  10. package/assets/styles/text-layout.scss +80 -80
  11. package/assets/styles/text-size.scss +37 -37
  12. package/assets/styles/typography-mixins.scss +159 -159
  13. package/assets/styles/typography.scss +38 -38
  14. package/assets/styles/variables/widgets/badge.scss +50 -50
  15. package/components/buttons/Button/Button.d.ts +12 -12
  16. package/components/buttons/Button/Button.test.d.ts +1 -1
  17. package/components/buttons/Button/index.d.ts +1 -1
  18. package/components/buttons/IconButton.d.ts +9 -9
  19. package/components/buttons/LinkButton.d.ts +7 -7
  20. package/components/buttons/TabButton.d.ts +7 -7
  21. package/components/buttons/VerticalTabButton.d.ts +4 -4
  22. package/components/buttons/helper.d.ts +2 -2
  23. package/components/buttons/index.d.ts +5 -5
  24. package/components/datePickers/Calendar.d.ts +4 -4
  25. package/components/datePickers/CalendarPresets.d.ts +3 -3
  26. package/components/datePickers/DatePicker.d.ts +12 -12
  27. package/components/datePickers/DatePickerBody.d.ts +3 -3
  28. package/components/datePickers/RangeDatePicker.d.ts +12 -12
  29. package/components/datePickers/RangeDatePickerBody.d.ts +3 -3
  30. package/components/datePickers/index.d.ts +5 -5
  31. package/components/dnd/DropMarker.d.ts +8 -8
  32. package/components/dnd/index.d.ts +1 -1
  33. package/components/filters/FilterDataPickerBody.d.ts +13 -13
  34. package/components/filters/FilterItemBody.d.ts +2 -2
  35. package/components/filters/FilterNumericBody.d.ts +12 -12
  36. package/components/filters/FilterPanelItemToggler.d.ts +12 -12
  37. package/components/filters/FilterPickerBody.d.ts +19 -19
  38. package/components/filters/FilterRangeDatePickerBody.d.ts +18 -18
  39. package/components/filters/FiltersPanel.d.ts +8 -8
  40. package/components/filters/FiltersPanelItem.d.ts +7 -7
  41. package/components/filters/PresetPanel/Preset.d.ts +8 -8
  42. package/components/filters/PresetPanel/PresetActionsDropdown.d.ts +9 -9
  43. package/components/filters/PresetPanel/PresetInput.d.ts +8 -8
  44. package/components/filters/PresetPanel/PresetsPanel.d.ts +6 -6
  45. package/components/filters/PresetPanel/index.d.ts +1 -1
  46. package/components/filters/defaultPredicates.d.ts +4 -4
  47. package/components/filters/index.d.ts +4 -4
  48. package/components/forms/Form.d.ts +3 -3
  49. package/components/forms/index.d.ts +2 -2
  50. package/components/forms/useForm.d.ts +2 -2
  51. package/components/index.d.ts +14 -14
  52. package/components/inputs/Checkbox.d.ts +8 -8
  53. package/components/inputs/MultiSwitch.d.ts +15 -15
  54. package/components/inputs/NumericInput.d.ts +8 -8
  55. package/components/inputs/RadioInput.d.ts +6 -6
  56. package/components/inputs/Switch.d.ts +6 -6
  57. package/components/inputs/TextArea.d.ts +9 -9
  58. package/components/inputs/TextInput.d.ts +12 -12
  59. package/components/inputs/index.d.ts +7 -7
  60. package/components/layout/Accordion.d.ts +6 -6
  61. package/components/layout/Blocker.d.ts +3 -3
  62. package/components/layout/CheckboxGroup.d.ts +2 -2
  63. package/components/layout/ControlGroup.d.ts +2 -2
  64. package/components/layout/FlexItems/FlexCell.d.ts +11 -11
  65. package/components/layout/FlexItems/FlexRow.d.ts +16 -16
  66. package/components/layout/FlexItems/FlexSpacer.d.ts +4 -4
  67. package/components/layout/FlexItems/Panel.d.ts +7 -7
  68. package/components/layout/FlexItems/index.d.ts +4 -4
  69. package/components/layout/LabeledInput.d.ts +5 -5
  70. package/components/layout/RadioGroup.d.ts +2 -2
  71. package/components/layout/ScrollBars.d.ts +3 -3
  72. package/components/layout/VirtualList.d.ts +2 -2
  73. package/components/layout/index.d.ts +10 -10
  74. package/components/navigation/MainMenu/Burger/Burger.d.ts +5 -5
  75. package/components/navigation/MainMenu/Burger/BurgerButton.d.ts +7 -7
  76. package/components/navigation/MainMenu/Burger/BurgerGroupHeader.d.ts +4 -4
  77. package/components/navigation/MainMenu/Burger/BurgerSearch.d.ts +4 -4
  78. package/components/navigation/MainMenu/Burger/index.d.ts +4 -4
  79. package/components/navigation/MainMenu/GlobalMenu.d.ts +5 -5
  80. package/components/navigation/MainMenu/MainMenu.d.ts +4 -4
  81. package/components/navigation/MainMenu/MainMenuAvatar.d.ts +7 -7
  82. package/components/navigation/MainMenu/MainMenuButton.d.ts +6 -6
  83. package/components/navigation/MainMenu/MainMenuDropdown.d.ts +5 -5
  84. package/components/navigation/MainMenu/MainMenuIcon.d.ts +7 -7
  85. package/components/navigation/MainMenu/MainMenuSearch.d.ts +6 -6
  86. package/components/navigation/MainMenu/index.d.ts +8 -8
  87. package/components/navigation/index.d.ts +1 -1
  88. package/components/overlays/Alert.d.ts +23 -23
  89. package/components/overlays/ConfirmationModal.d.ts +10 -10
  90. package/components/overlays/Dropdown.d.ts +5 -5
  91. package/components/overlays/DropdownContainer.d.ts +8 -8
  92. package/components/overlays/DropdownMenu.d.ts +33 -33
  93. package/components/overlays/Modals.d.ts +19 -19
  94. package/components/overlays/NotificationCard.d.ts +25 -25
  95. package/components/overlays/Tooltip.d.ts +5 -5
  96. package/components/overlays/index.d.ts +7 -7
  97. package/components/pickers/DataPickerBody.d.ts +16 -16
  98. package/components/pickers/DataPickerFooter.d.ts +8 -8
  99. package/components/pickers/DataPickerHeader.d.ts +7 -7
  100. package/components/pickers/DataPickerRow.d.ts +15 -15
  101. package/components/pickers/MobileDropdownWrapper.d.ts +10 -10
  102. package/components/pickers/PickerInput.d.ts +16 -16
  103. package/components/pickers/PickerItem.d.ts +13 -13
  104. package/components/pickers/PickerList.d.ts +17 -17
  105. package/components/pickers/PickerListItem.d.ts +8 -8
  106. package/components/pickers/PickerModal.d.ts +16 -16
  107. package/components/pickers/PickerToggler.d.ts +7 -7
  108. package/components/pickers/index.d.ts +11 -11
  109. package/components/tables/ColumnHeaderDropdown/ColumnHeaderDropdown.d.ts +13 -13
  110. package/components/tables/ColumnHeaderDropdown/SortingPanel.d.ts +7 -7
  111. package/components/tables/ColumnHeaderDropdown/index.d.ts +1 -1
  112. package/components/tables/DataTable.d.ts +15 -15
  113. package/components/tables/DataTableCell.d.ts +4 -4
  114. package/components/tables/DataTableHeaderCell.d.ts +18 -18
  115. package/components/tables/DataTableHeaderRow.d.ts +4 -4
  116. package/components/tables/DataTableRow.d.ts +10 -10
  117. package/components/tables/columnsConfigurationModal/ColumnRow.d.ts +6 -6
  118. package/components/tables/columnsConfigurationModal/ColumnsConfigurationModal.d.ts +9 -9
  119. package/components/tables/columnsConfigurationModal/PinIconButton.d.ts +9 -9
  120. package/components/tables/columnsConfigurationModal/index.d.ts +1 -1
  121. package/components/tables/index.d.ts +8 -8
  122. package/components/tables/types.d.ts +31 -31
  123. package/components/types.d.ts +34 -34
  124. package/components/typography/RichTextView.d.ts +6 -6
  125. package/components/typography/Text.d.ts +11 -11
  126. package/components/typography/TextPlaceholder.d.ts +9 -9
  127. package/components/typography/index.d.ts +3 -3
  128. package/components/widgets/Avatar.d.ts +2 -2
  129. package/components/widgets/Badge.d.ts +14 -14
  130. package/components/widgets/Spinner.d.ts +5 -5
  131. package/components/widgets/Tag.d.ts +8 -8
  132. package/components/widgets/index.d.ts +4 -4
  133. package/helpers/index.d.ts +2 -2
  134. package/helpers/textLayout.d.ts +8 -8
  135. package/helpers/useColumnsWithFilters.d.ts +2 -2
  136. package/i18n.d.ts +103 -103
  137. package/icons/icons.d.ts +3 -3
  138. package/index.d.ts +4 -4
  139. package/index.js +1967 -1967
  140. package/index.js.map +1 -1
  141. package/package.json +5 -5
  142. package/readme.md +4 -4
  143. package/stats.html +1 -1
@@ -1,81 +1,81 @@
1
- .line-height-12 { line-height: 12px; }
2
- .line-height-18 { line-height: 18px; }
3
- .line-height-24 { line-height: 24px; }
4
- .line-height-30 { line-height: 30px; }
5
-
6
- .font-size-10 { font-size: 10px; }
7
- .font-size-12 { font-size: 12px; }
8
- .font-size-14 { font-size: 14px; }
9
- .font-size-16 { font-size: 16px; }
10
- .font-size-18 { font-size: 18px; }
11
- .font-size-24 { font-size: 24px; }
12
-
13
- .v-padding-2 {
14
- padding-top: 2px;
15
- padding-bottom: 2px;
16
- }
17
-
18
- .v-padding-3 {
19
- padding-top: 3px;
20
- padding-bottom: 3px;
21
- }
22
-
23
- .v-padding-5 {
24
- padding-top: 5px;
25
- padding-bottom: 5px;
26
- }
27
-
28
- .v-padding-6 {
29
- padding-top: 6px;
30
- padding-bottom: 6px;
31
- }
32
-
33
- .v-padding-8 {
34
- padding-top: 8px;
35
- padding-bottom: 8px;
36
- }
37
-
38
- .v-padding-9 {
39
- padding-top: 9px;
40
- padding-bottom: 9px;
41
- }
42
-
43
- .v-padding-11 {
44
- padding-top: 11px;
45
- padding-bottom: 11px;
46
- }
47
-
48
- .v-padding-12 {
49
- padding-top: 12px;
50
- padding-bottom: 12px;
51
- }
52
-
53
- .v-padding-14 {
54
- padding-top: 14px;
55
- padding-bottom: 14px;
56
- }
57
-
58
- .v-padding-15 {
59
- padding-top: 15px;
60
- padding-bottom: 15px;
61
- }
62
-
63
- .v-padding-17 {
64
- padding-top: 17px;
65
- padding-bottom: 17px;
66
- }
67
-
68
- .v-padding-18 {
69
- padding-top: 18px;
70
- padding-bottom: 18px;
71
- }
72
-
73
- .v-padding-23 {
74
- padding-top: 23px;
75
- padding-bottom: 23px;
76
- }
77
-
78
- .v-padding-24 {
79
- padding-top: 24px;
80
- padding-bottom: 24px;
1
+ .line-height-12 { line-height: 12px; }
2
+ .line-height-18 { line-height: 18px; }
3
+ .line-height-24 { line-height: 24px; }
4
+ .line-height-30 { line-height: 30px; }
5
+
6
+ .font-size-10 { font-size: 10px; }
7
+ .font-size-12 { font-size: 12px; }
8
+ .font-size-14 { font-size: 14px; }
9
+ .font-size-16 { font-size: 16px; }
10
+ .font-size-18 { font-size: 18px; }
11
+ .font-size-24 { font-size: 24px; }
12
+
13
+ .v-padding-2 {
14
+ padding-top: 2px;
15
+ padding-bottom: 2px;
16
+ }
17
+
18
+ .v-padding-3 {
19
+ padding-top: 3px;
20
+ padding-bottom: 3px;
21
+ }
22
+
23
+ .v-padding-5 {
24
+ padding-top: 5px;
25
+ padding-bottom: 5px;
26
+ }
27
+
28
+ .v-padding-6 {
29
+ padding-top: 6px;
30
+ padding-bottom: 6px;
31
+ }
32
+
33
+ .v-padding-8 {
34
+ padding-top: 8px;
35
+ padding-bottom: 8px;
36
+ }
37
+
38
+ .v-padding-9 {
39
+ padding-top: 9px;
40
+ padding-bottom: 9px;
41
+ }
42
+
43
+ .v-padding-11 {
44
+ padding-top: 11px;
45
+ padding-bottom: 11px;
46
+ }
47
+
48
+ .v-padding-12 {
49
+ padding-top: 12px;
50
+ padding-bottom: 12px;
51
+ }
52
+
53
+ .v-padding-14 {
54
+ padding-top: 14px;
55
+ padding-bottom: 14px;
56
+ }
57
+
58
+ .v-padding-15 {
59
+ padding-top: 15px;
60
+ padding-bottom: 15px;
61
+ }
62
+
63
+ .v-padding-17 {
64
+ padding-top: 17px;
65
+ padding-bottom: 17px;
66
+ }
67
+
68
+ .v-padding-18 {
69
+ padding-top: 18px;
70
+ padding-bottom: 18px;
71
+ }
72
+
73
+ .v-padding-23 {
74
+ padding-top: 23px;
75
+ padding-bottom: 23px;
76
+ }
77
+
78
+ .v-padding-24 {
79
+ padding-top: 24px;
80
+ padding-bottom: 24px;
81
81
  }
@@ -1,37 +1,37 @@
1
- @function vpadding($size, $border-width) {
2
- @if ($size == 18px or $size == 24px) {
3
- @return (3px - $border-width);
4
- } @else if ($size == 30px) {
5
- @return (6px - $border-width);
6
- } @else if ($size == 36px or $size == 42px) {
7
- @return (9px - $border-width);
8
- } @else if ($size == 48px) {
9
- @return (12px - $border-width);
10
- }
11
-
12
- @return (null);
13
- }
14
-
15
- @mixin text-size($size, $border-width: 0) {
16
- @if ($size == 18px) {
17
- line-height: 12px;
18
- font-size: 10px;
19
- } @else if ($size == 24px) {
20
- line-height: 18px;
21
- font-size: 12px;
22
- } @else if ($size == 30px) {
23
- line-height: 18px;
24
- font-size: 14px;
25
- } @else if ($size == 36px) {
26
- line-height: 18px;
27
- font-size: 14px;
28
- } @else if ($size == 42px) {
29
- line-height: 24px;
30
- font-size: 16px;
31
- } @else if ($size == 48px) {
32
- line-height: 24px;
33
- font-size: 16px;
34
- }
35
- padding-top: vpadding($size, $border-width);
36
- padding-bottom: vpadding($size, $border-width);
37
- }
1
+ @function vpadding($size, $border-width) {
2
+ @if ($size == 18px or $size == 24px) {
3
+ @return (3px - $border-width);
4
+ } @else if ($size == 30px) {
5
+ @return (6px - $border-width);
6
+ } @else if ($size == 36px or $size == 42px) {
7
+ @return (9px - $border-width);
8
+ } @else if ($size == 48px) {
9
+ @return (12px - $border-width);
10
+ }
11
+
12
+ @return (null);
13
+ }
14
+
15
+ @mixin text-size($size, $border-width: 0) {
16
+ @if ($size == 18px) {
17
+ line-height: 12px;
18
+ font-size: 10px;
19
+ } @else if ($size == 24px) {
20
+ line-height: 18px;
21
+ font-size: 12px;
22
+ } @else if ($size == 30px) {
23
+ line-height: 18px;
24
+ font-size: 14px;
25
+ } @else if ($size == 36px) {
26
+ line-height: 18px;
27
+ font-size: 14px;
28
+ } @else if ($size == 42px) {
29
+ line-height: 24px;
30
+ font-size: 16px;
31
+ } @else if ($size == 48px) {
32
+ line-height: 24px;
33
+ font-size: 16px;
34
+ }
35
+ padding-top: vpadding($size, $border-width);
36
+ padding-bottom: vpadding($size, $border-width);
37
+ }
@@ -1,159 +1,159 @@
1
- @mixin overflow-ellipsis() {
2
- overflow: hidden;
3
- text-overflow: ellipsis;
4
- }
5
-
6
- @mixin typography-header() {
7
- :global(.hero-header), h1, h2, h3, h4, h5, h6 {
8
- margin: 0;
9
- }
10
-
11
- :global(.hero-header) {
12
- font-family: var(--font-promo);
13
- margin: 30px 0;
14
- font-size: 66px;
15
- line-height: 72px;
16
- }
17
-
18
- :global(.hero-header), :global(.promo-header) {
19
- color: var(--uui-text-brand);
20
- text-align: center;
21
- }
22
-
23
- :global(.promo-header), h1, h2, h3 {
24
- font-family: var(--font-primary);
25
- }
26
-
27
- :global(.promo-header) {
28
- text-transform: uppercase;
29
- }
30
-
31
- h4, h5, h6 {
32
- font-family: var(--font-semibold);
33
- }
34
-
35
- h1, h2, h3, h4, h5, h6 {
36
- margin-bottom: 0.5em;
37
- margin-top: 1.2em;
38
- line-height: 1.35em;
39
- }
40
-
41
- h1 {
42
- font-size: 36px;
43
- }
44
-
45
- h2 {
46
- font-size: 30px;
47
- letter-spacing: 0.1px;
48
-
49
- &:global(.promo-header) {
50
- letter-spacing: 2px;
51
- }
52
- }
53
-
54
- h3 {
55
- font-size: 24px;
56
- }
57
-
58
- h4 {
59
- font-size: 18px;
60
- letter-spacing: 0.1px;
61
- }
62
-
63
- h5 {
64
- font-size: 16px;
65
- }
66
-
67
- h6 {
68
- font-size: 14px;
69
- }
70
- }
71
-
72
- @mixin typography-inline() {
73
- b, strong {
74
- font-family: var(--font-semibold);
75
- }
76
-
77
- i, em {
78
- font-family: var(--font-italic);
79
- }
80
-
81
- a {
82
- display: inline-flex;
83
- align-items: center;
84
- color: var(--uui-primary);
85
-
86
- &:visited {
87
- color: #5214CC;
88
-
89
- &:hover {
90
- color: #3F0F9E;
91
- }
92
- }
93
-
94
- &:hover {
95
- text-decoration: underline;
96
- color: var(--uui-primary-dark);
97
- }
98
- }
99
-
100
- code {
101
- padding: 0.125em 0.25em;
102
- color: var(--uui-text-primary);
103
- background-color: var(--uui-secondary-light);
104
- font-family: var(--font-mono);
105
- white-space: pre-wrap;
106
- word-wrap: normal;
107
- }
108
- }
109
-
110
- @mixin typography-block() {
111
- ol, ul {
112
- padding: 0;
113
- }
114
-
115
- li {
116
- margin-left: 1.25em;
117
- line-height: 1.5;
118
- }
119
-
120
- pre {
121
- padding: 1.25em;
122
- color: var(--gray10);
123
- background-color: var(--uui-secondary-darkest);
124
- font-family: monospace;
125
- white-space: pre-wrap;
126
- word-wrap: normal;
127
- }
128
-
129
- img {
130
- max-width: 100%;
131
- }
132
-
133
- figure {
134
- margin: 0;
135
-
136
- figcaption {
137
- font-size: 0.9em;
138
- opacity: 0.9;
139
- text-align: center;
140
- }
141
- }
142
-
143
- p {
144
- margin: 0.5em 0;
145
- line-height: 1.5;
146
- }
147
- }
148
-
149
- @mixin typography-12() {
150
- font-size: 12px;
151
- }
152
-
153
- @mixin typography-14() {
154
- font-size: 14px;
155
- }
156
-
157
- @mixin typography-16() {
158
- font-size: 16px;
159
- }
1
+ @mixin overflow-ellipsis() {
2
+ overflow: hidden;
3
+ text-overflow: ellipsis;
4
+ }
5
+
6
+ @mixin typography-header() {
7
+ :global(.hero-header), h1, h2, h3, h4, h5, h6 {
8
+ margin: 0;
9
+ }
10
+
11
+ :global(.hero-header) {
12
+ font-family: var(--font-promo);
13
+ margin: 30px 0;
14
+ font-size: 66px;
15
+ line-height: 72px;
16
+ }
17
+
18
+ :global(.hero-header), :global(.promo-header) {
19
+ color: var(--uui-text-brand);
20
+ text-align: center;
21
+ }
22
+
23
+ :global(.promo-header), h1, h2, h3 {
24
+ font-family: var(--font-primary);
25
+ }
26
+
27
+ :global(.promo-header) {
28
+ text-transform: uppercase;
29
+ }
30
+
31
+ h4, h5, h6 {
32
+ font-family: var(--font-semibold);
33
+ }
34
+
35
+ h1, h2, h3, h4, h5, h6 {
36
+ margin-bottom: 0.5em;
37
+ margin-top: 1.2em;
38
+ line-height: 1.35em;
39
+ }
40
+
41
+ h1 {
42
+ font-size: 36px;
43
+ }
44
+
45
+ h2 {
46
+ font-size: 30px;
47
+ letter-spacing: 0.1px;
48
+
49
+ &:global(.promo-header) {
50
+ letter-spacing: 2px;
51
+ }
52
+ }
53
+
54
+ h3 {
55
+ font-size: 24px;
56
+ }
57
+
58
+ h4 {
59
+ font-size: 18px;
60
+ letter-spacing: 0.1px;
61
+ }
62
+
63
+ h5 {
64
+ font-size: 16px;
65
+ }
66
+
67
+ h6 {
68
+ font-size: 14px;
69
+ }
70
+ }
71
+
72
+ @mixin typography-inline() {
73
+ b, strong {
74
+ font-family: var(--font-semibold);
75
+ }
76
+
77
+ i, em {
78
+ font-family: var(--font-italic);
79
+ }
80
+
81
+ a {
82
+ display: inline-flex;
83
+ align-items: center;
84
+ color: var(--uui-primary);
85
+
86
+ &:visited {
87
+ color: #5214CC;
88
+
89
+ &:hover {
90
+ color: #3F0F9E;
91
+ }
92
+ }
93
+
94
+ &:hover {
95
+ text-decoration: underline;
96
+ color: var(--uui-primary-dark);
97
+ }
98
+ }
99
+
100
+ code {
101
+ padding: 0.125em 0.25em;
102
+ color: var(--uui-text-primary);
103
+ background-color: var(--uui-secondary-light);
104
+ font-family: var(--font-mono);
105
+ white-space: pre-wrap;
106
+ word-wrap: normal;
107
+ }
108
+ }
109
+
110
+ @mixin typography-block() {
111
+ ol, ul {
112
+ padding: 0;
113
+ }
114
+
115
+ li {
116
+ margin-left: 1.25em;
117
+ line-height: 1.5;
118
+ }
119
+
120
+ pre {
121
+ padding: 1.25em;
122
+ color: var(--gray10);
123
+ background-color: var(--uui-secondary-darkest);
124
+ font-family: monospace;
125
+ white-space: pre-wrap;
126
+ word-wrap: normal;
127
+ }
128
+
129
+ img {
130
+ max-width: 100%;
131
+ }
132
+
133
+ figure {
134
+ margin: 0;
135
+
136
+ figcaption {
137
+ font-size: 0.9em;
138
+ opacity: 0.9;
139
+ text-align: center;
140
+ }
141
+ }
142
+
143
+ p {
144
+ margin: 0.5em 0;
145
+ line-height: 1.5;
146
+ }
147
+ }
148
+
149
+ @mixin typography-12() {
150
+ font-size: 12px;
151
+ }
152
+
153
+ @mixin typography-14() {
154
+ font-size: 14px;
155
+ }
156
+
157
+ @mixin typography-16() {
158
+ font-size: 16px;
159
+ }
@@ -1,39 +1,39 @@
1
- @forward "typography-mixins";
2
- @use "typography-mixins" as *;
3
-
4
- @mixin overflow-ellipsis() {
5
- overflow: hidden;
6
- text-overflow: ellipsis;
7
- }
8
-
9
- :local(.typography-header) {
10
- @include typography-header();
11
- }
12
-
13
- :local(.typography-block) {
14
- @include typography-block();
15
- }
16
-
17
- :local(.typography-inline) {
18
- @include typography-inline();
19
- }
20
-
21
- :local(.typography-16) {
22
- @include typography-16();
23
- }
24
-
25
- :local(.typography-14) {
26
- @include typography-14();
27
- }
28
-
29
- :local(.typography-12) {
30
- @include typography-12();
31
- }
32
-
33
- :local(.typography-promo) {
34
- font-family: var(--font-regular);
35
- color: var(--uui-text-primary);
36
- composes: typography-header;
37
- composes: typography-block;
38
- composes: typography-inline;
1
+ @forward "typography-mixins";
2
+ @use "typography-mixins" as *;
3
+
4
+ @mixin overflow-ellipsis() {
5
+ overflow: hidden;
6
+ text-overflow: ellipsis;
7
+ }
8
+
9
+ :local(.typography-header) {
10
+ @include typography-header();
11
+ }
12
+
13
+ :local(.typography-block) {
14
+ @include typography-block();
15
+ }
16
+
17
+ :local(.typography-inline) {
18
+ @include typography-inline();
19
+ }
20
+
21
+ :local(.typography-16) {
22
+ @include typography-16();
23
+ }
24
+
25
+ :local(.typography-14) {
26
+ @include typography-14();
27
+ }
28
+
29
+ :local(.typography-12) {
30
+ @include typography-12();
31
+ }
32
+
33
+ :local(.typography-promo) {
34
+ font-family: var(--font-regular);
35
+ color: var(--uui-text-primary);
36
+ composes: typography-header;
37
+ composes: typography-block;
38
+ composes: typography-inline;
39
39
  }