@itcase/ui 1.8.179 → 1.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/dist/cjs/components/Chips.js +3 -3
  2. package/dist/cjs/components/DatePeriod.js +2 -2
  3. package/dist/cjs/components/Drawer.js +5 -5
  4. package/dist/cjs/components/Select.js +2 -2
  5. package/dist/components/Chips.js +3 -3
  6. package/dist/components/DatePeriod.js +2 -2
  7. package/dist/components/Drawer.js +5 -5
  8. package/dist/components/Select.js +2 -2
  9. package/dist/css/styles/bundles.css +13 -1
  10. package/dist/stories/useAppearanceConfig.mdx +1 -1
  11. package/dist/stories/useDevicePropsGenerator.mdx +2 -2
  12. package/dist/stories/useMediaQueries.mdx +1 -1
  13. package/dist/types/components/Accordion/Accordion.interface.d.ts +1 -1
  14. package/dist/types/components/Avatar/Avatar.interface.d.ts +1 -1
  15. package/dist/types/components/Badge/Badge.interface.d.ts +1 -1
  16. package/dist/types/components/Breadcrumbs/Breadcrumbs.interface.d.ts +1 -1
  17. package/dist/types/components/Button/Button.interface.d.ts +1 -1
  18. package/dist/types/components/Cell/Cell.interface.d.ts +1 -1
  19. package/dist/types/components/Checkbox/Checkbox.interface.d.ts +1 -1
  20. package/dist/types/components/Checkmark/Checkmark.interface.d.ts +1 -1
  21. package/dist/types/components/Chips/Chips.interface.d.ts +1 -1
  22. package/dist/types/components/Choice/Choice.interface.d.ts +1 -1
  23. package/dist/types/components/Code/Code.interface.d.ts +1 -1
  24. package/dist/types/components/CookiesWarning/CookiesWarning.d.ts +1 -1
  25. package/dist/types/components/Dadata/Dadata.interface.d.ts +1 -1
  26. package/dist/types/components/DatePeriod/DatePeriod.interface.d.ts +1 -1
  27. package/dist/types/components/Divider/Divider.interface.d.ts +1 -1
  28. package/dist/types/components/Dot/Dot.interface.d.ts +1 -1
  29. package/dist/types/components/Drawer/Drawer.interface.d.ts +1 -1
  30. package/dist/types/components/Dropdown/Dropdown.interface.d.ts +1 -1
  31. package/dist/types/components/Flex/Flex.interface.d.ts +1 -1
  32. package/dist/types/components/Grid/Grid.interface.d.ts +1 -1
  33. package/dist/types/components/Group/Group.interface.d.ts +1 -1
  34. package/dist/types/components/HTMLContent/HTMLContent.interface.d.ts +1 -1
  35. package/dist/types/components/HeroTitle/HeroTitle.interface.d.ts +1 -1
  36. package/dist/types/components/Icon/Icon.interface.d.ts +1 -1
  37. package/dist/types/components/Image/Image.interface.d.ts +1 -1
  38. package/dist/types/components/Input/Input.interface.d.ts +1 -1
  39. package/dist/types/components/InputPassword/InputPassword.interface.d.ts +1 -1
  40. package/dist/types/components/Label/Label.interface.d.ts +1 -1
  41. package/dist/types/components/Link/Link.interface.d.ts +1 -1
  42. package/dist/types/components/List/List.interface.d.ts +1 -1
  43. package/dist/types/components/Loader/Loader.interface.d.ts +1 -1
  44. package/dist/types/components/Logo/Logo.interface.d.ts +1 -1
  45. package/dist/types/components/MenuItem/MenuItem.interface.d.ts +1 -1
  46. package/dist/types/components/Modal/Modal.interface.d.ts +1 -1
  47. package/dist/types/components/Notification/Notification.interface.d.ts +1 -1
  48. package/dist/types/components/Overlay/Overlay.interface.d.ts +1 -1
  49. package/dist/types/components/Pagination/Pagination.interface.d.ts +1 -1
  50. package/dist/types/components/Radio/Radio.interface.d.ts +1 -1
  51. package/dist/types/components/RangeSlider/RangeSlider.interface.d.ts +1 -1
  52. package/dist/types/components/Response/Response.interface.d.ts +1 -1
  53. package/dist/types/components/SVGContent/SVGContent.interface.d.ts +1 -1
  54. package/dist/types/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +1 -1
  55. package/dist/types/components/Scrollbar/Scrollbar.interface.d.ts +1 -1
  56. package/dist/types/components/Search/Search.interface.d.ts +1 -1
  57. package/dist/types/components/Segmented/Segmented.interface.d.ts +1 -1
  58. package/dist/types/components/Segmented/stories/__mock__/index.d.ts +6 -21
  59. package/dist/types/components/Swiper/Swiper.interface.d.ts +1 -1
  60. package/dist/types/components/Switch/Switch.interface.d.ts +1 -1
  61. package/dist/types/components/Tab/Tab.interface.d.ts +1 -1
  62. package/dist/types/components/Text/Text.interface.d.ts +1 -1
  63. package/dist/types/components/Textarea/Textarea.interface.d.ts +1 -1
  64. package/dist/types/components/Tile/Tile.interface.d.ts +1 -1
  65. package/dist/types/components/Title/Title.interface.d.ts +1 -1
  66. package/dist/types/components/Tooltip/Tooltip.interface.d.ts +1 -1
  67. package/dist/types/components/Video/Video.interface.d.ts +1 -1
  68. package/dist/types/hoc/urlWithAssetPrefix.d.ts +1 -1
  69. package/dist/types/hooks/index.helpers.d.ts +2 -2
  70. package/dist/types/hooks/useDevicePropsGenerator/useDevicePropsGenerator.d.ts +1 -1
  71. package/package.json +4 -7
  72. package/dist/css/components/Accordion/Accordion.css +0 -197
  73. package/dist/css/components/Avatar/Avatar.css +0 -326
  74. package/dist/css/components/AvatarStack/AvatarStack.css +0 -135
  75. package/dist/css/components/Badge/Badge.css +0 -1235
  76. package/dist/css/components/Breadcrumbs/Breadcrumbs.css +0 -77
  77. package/dist/css/components/Button/Button.css +0 -630
  78. package/dist/css/components/Cell/Cell.css +0 -158
  79. package/dist/css/components/Checkbox/Checkbox.css +0 -11133
  80. package/dist/css/components/Checkmark/Checkmark.css +0 -103
  81. package/dist/css/components/Chips/Chips.css +0 -139
  82. package/dist/css/components/Choice/Choice.css +0 -288
  83. package/dist/css/components/Choice/css/__item/choice__item.css +0 -32
  84. package/dist/css/components/Choice/css/__item/choice__item_shape.css +0 -11
  85. package/dist/css/components/Choice/css/__item/choice__item_size.css +0 -88
  86. package/dist/css/components/Code/Code.css +0 -123
  87. package/dist/css/components/CookiesWarning/CookiesWarning.css +0 -40
  88. package/dist/css/components/CookiesWarning/CookiesWarning.token.css +0 -2
  89. package/dist/css/components/Dadata/Dadata.css +0 -21
  90. package/dist/css/components/DatePeriod/DatePeriod.css +0 -101
  91. package/dist/css/components/DatePicker/DatePicker.css +0 -1377
  92. package/dist/css/components/Divider/Divider.css +0 -105
  93. package/dist/css/components/Dot/Dot.css +0 -72
  94. package/dist/css/components/Drawer/Drawer.css +0 -80
  95. package/dist/css/components/Dropdown/Dropdown.css +0 -221
  96. package/dist/css/components/Flex/Flex.css +0 -379
  97. package/dist/css/components/Flex/css/__item/flex__item.css +0 -5
  98. package/dist/css/components/Flex/css/__item/flex__item_align.css +0 -58
  99. package/dist/css/components/Flex/css/__item/flex__item_direction.css +0 -24
  100. package/dist/css/components/Flex/css/__item/flex__item_grow.css +0 -10
  101. package/dist/css/components/Flex/css/__item/flex__item_justify-content.css +0 -22
  102. package/dist/css/components/Flex/css/__item/flex__item_shape.css +0 -12
  103. package/dist/css/components/Flex/css/__item/flex__item_wrap.css +0 -9
  104. package/dist/css/components/Grid/Grid.css +0 -2303
  105. package/dist/css/components/Grid/css/__item/grid__item.css +0 -5
  106. package/dist/css/components/Grid/css/__item/grid__item_align-self.css +0 -58
  107. package/dist/css/components/Grid/css/__item/grid__item_column.css +0 -279
  108. package/dist/css/components/Grid/css/__item/grid__item_justify-self.css +0 -70
  109. package/dist/css/components/Grid/css/__item/grid__item_row.css +0 -279
  110. package/dist/css/components/Grid/css/__row/grid__row.css +0 -6
  111. package/dist/css/components/Group/Group.css +0 -5317
  112. package/dist/css/components/HTMLContent/HTMLContent.css +0 -166
  113. package/dist/css/components/HeroTitle/HeroTitle.css +0 -87
  114. package/dist/css/components/Icon/Icon.css +0 -7774
  115. package/dist/css/components/Image/Image.css +0 -163
  116. package/dist/css/components/Input/Input.css +0 -135
  117. package/dist/css/components/InputPassword/InputPassword.css +0 -115
  118. package/dist/css/components/Label/Label.css +0 -118
  119. package/dist/css/components/Link/Link.css +0 -58
  120. package/dist/css/components/List/List.css +0 -515
  121. package/dist/css/components/Loader/Loader.css +0 -212
  122. package/dist/css/components/Logo/Logo.css +0 -96
  123. package/dist/css/components/MenuItem/MenuItem.css +0 -251
  124. package/dist/css/components/Modal/Modal.css +0 -232
  125. package/dist/css/components/ModalSheetBottom/ModalSheetBottom.css +0 -45
  126. package/dist/css/components/Notification/Notification.css +0 -182
  127. package/dist/css/components/Notification/css/__item/notification__item.css +0 -26
  128. package/dist/css/components/Notification/css/__item/notification__item_size.css +0 -44
  129. package/dist/css/components/Notification/css/__item/notification__item_skeleton.css +0 -25
  130. package/dist/css/components/Notification/css/__item/notification__item_type.css +0 -23
  131. package/dist/css/components/Overlay/Overlay.css +0 -42
  132. package/dist/css/components/Pagination/Pagination.css +0 -279
  133. package/dist/css/components/Pagination/css/__item/pagination__item.css +0 -44
  134. package/dist/css/components/Pagination/css/__item/pagination__item_size.css +0 -18
  135. package/dist/css/components/Pagination/css/__item/pagination__item_state_active.css +0 -16
  136. package/dist/css/components/Pagination/css/__item/pagination__item_state_disabled.css +0 -20
  137. package/dist/css/components/Radio/Radio.css +0 -11226
  138. package/dist/css/components/RangeSlider/RangeSlider.css +0 -2944
  139. package/dist/css/components/Response/Response.css +0 -69
  140. package/dist/css/components/SVGContent/SVGContent.css +0 -2
  141. package/dist/css/components/ScrollOnDrag/ScrollOnDrag.css +0 -257
  142. package/dist/css/components/ScrollToView/ScrollToView.css +0 -1998
  143. package/dist/css/components/Scrollbar/Scrollbar.css +0 -58
  144. package/dist/css/components/Search/Search.css +0 -162
  145. package/dist/css/components/Search/css/search-input/search-input.css +0 -61
  146. package/dist/css/components/Search/css/search-input/search-input_size.css +0 -39
  147. package/dist/css/components/Search/css/search-input/search-input_skeleton.css +0 -25
  148. package/dist/css/components/Search/css/search-result/search-result.css +0 -6
  149. package/dist/css/components/Segmented/Segmented.css +0 -244
  150. package/dist/css/components/Segmented/css/__item/segmaented__item.css +0 -92
  151. package/dist/css/components/Select/Select.css +0 -768
  152. package/dist/css/components/Select/css/__control/select__control.css +0 -16
  153. package/dist/css/components/Select/css/__indicators/select__indicators.css +0 -21
  154. package/dist/css/components/Select/css/__input-container/select__input-container.css +0 -383
  155. package/dist/css/components/Select/css/__menu/select__menu-list-item_size.css +0 -31
  156. package/dist/css/components/Select/css/__menu/select__menu-notice.css +0 -6
  157. package/dist/css/components/Select/css/__menu/select__menu.css +0 -56
  158. package/dist/css/components/Select/css/__multi-value/select__multi-value.css +0 -7
  159. package/dist/css/components/Select/css/__option/select__option.css +0 -6
  160. package/dist/css/components/Select/css/__placeholder/select__placeholder.css +0 -9
  161. package/dist/css/components/Select/css/__single-value/select__single-value.css +0 -10
  162. package/dist/css/components/Select/css/__value-container/select__value-container.css +0 -21
  163. package/dist/css/components/Swiper/Swiper.css +0 -997
  164. package/dist/css/components/Swiper/css/__item/swiper-block__item.css +0 -6
  165. package/dist/css/components/Switch/Switch.css +0 -154
  166. package/dist/css/components/Tab/Tab.css +0 -180
  167. package/dist/css/components/Text/Text.css +0 -103
  168. package/dist/css/components/Textarea/Textarea.css +0 -86
  169. package/dist/css/components/Tile/Tile.css +0 -141
  170. package/dist/css/components/Title/Title.css +0 -125
  171. package/dist/css/components/Tooltip/Tooltip.css +0 -236
  172. package/dist/css/components/Video/Video.css +0 -23
  173. package/dist/css/components/Warning/Warning.css +0 -50
  174. package/dist/css/styles/align/align.css +0 -25
  175. package/dist/css/styles/align/align_horizontal-reverse.css +0 -252
  176. package/dist/css/styles/align/align_horizontal.css +0 -252
  177. package/dist/css/styles/align/align_vertical-reverse.css +0 -236
  178. package/dist/css/styles/align/align_vertical.css +0 -236
  179. package/dist/css/styles/align-items/align-items.css +0 -20
  180. package/dist/css/styles/align-self/align-self.css +0 -20
  181. package/dist/css/styles/alignment/alignment.css +0 -51
  182. package/dist/css/styles/blur/blur.css +0 -82
  183. package/dist/css/styles/border/border.css +0 -244
  184. package/dist/css/styles/border-color/border-color.css +0 -24405
  185. package/dist/css/styles/border-type/border-type.css +0 -13
  186. package/dist/css/styles/border-width/border-width.css +0 -57
  187. package/dist/css/styles/caret-color/caret-color.css +0 -282
  188. package/dist/css/styles/centering/centering.css +0 -17
  189. package/dist/css/styles/constraints/constraints.css +0 -72
  190. package/dist/css/styles/cursor/cursor.css +0 -28
  191. package/dist/css/styles/direction/direction.css +0 -18
  192. package/dist/css/styles/easing/easing.css +0 -104
  193. package/dist/css/styles/elevation/elevation.css +0 -26
  194. package/dist/css/styles/elevation/elevation_hover.css +0 -44
  195. package/dist/css/styles/fill/fill.css +0 -7750
  196. package/dist/css/styles/fill/fill_gradient.css +0 -525
  197. package/dist/css/styles/flex/flex-grow.css +0 -8
  198. package/dist/css/styles/height/height.css +0 -11
  199. package/dist/css/styles/hover/hover-fill-color.css +0 -842
  200. package/dist/css/styles/hover/hover-item-color.css +0 -1082
  201. package/dist/css/styles/hover/hover-text-color.css +0 -1082
  202. package/dist/css/styles/justify-content/justify-content.css +0 -35
  203. package/dist/css/styles/opacity/opacity.css +0 -74
  204. package/dist/css/styles/placeholder-text-color/placeholder-text-color.css +0 -362
  205. package/dist/css/styles/position/position.css +0 -14
  206. package/dist/css/styles/print/print.css +0 -12
  207. package/dist/css/styles/resize-horizontal/resize-horizontal.css +0 -12
  208. package/dist/css/styles/resize-vertical/resize-vertical.css +0 -10
  209. package/dist/css/styles/shape/shape.css +0 -8
  210. package/dist/css/styles/shape-strength/shape-strength.css +0 -15
  211. package/dist/css/styles/svg-color/svg_fill.css +0 -1044
  212. package/dist/css/styles/svg-color/svg_fill_hover.css +0 -484
  213. package/dist/css/styles/svg-color/svg_path_fill.css +0 -364
  214. package/dist/css/styles/text-align/text-align.css +0 -11
  215. package/dist/css/styles/text-color/text-color.css +0 -3617
  216. package/dist/css/styles/text-decoration/text-decoration.css +0 -10
  217. package/dist/css/styles/text-gradient/text-gradient.css +0 -1195
  218. package/dist/css/styles/text-style/text-style.css +0 -10
  219. package/dist/css/styles/text-truncate/text-truncate.css +0 -7
  220. package/dist/css/styles/text-weight/text-weight.css +0 -181
  221. package/dist/css/styles/width/width.css +0 -11
  222. package/dist/css/styles/word-wrap/word-wrap.css +0 -8
  223. package/dist/{ChipsGroup_cjs_B182e4c8.js → ChipsGroup_cjs_C-CP64k4.js} +1 -1
  224. package/dist/{ChipsGroup_es_BflE-5Q3.js → ChipsGroup_es_BfN_kCqj.js} +1 -1
  225. package/dist/{SelectContainer_cjs_BOMkYSVf.js → SelectContainer_cjs_NkNDS17H.js} +2 -2
  226. package/dist/{SelectContainer_es_gcm20n4I.js → SelectContainer_es_BpYwQ-do.js} +2 -2
@@ -1,515 +0,0 @@
1
- .list {
2
- list-style: none;
3
- padding: 0;
4
- margin: 0;
5
- &__item {
6
- padding: 0;
7
- margin: 0;
8
- }
9
- }
10
- .list {
11
- &_bullet {
12
- &-fill {
13
- &_accent {
14
- &-item {
15
- &-primary {
16
- & .list__item {
17
- &::before {
18
- background: var(--color-accent-text-primary);
19
- }
20
- }
21
- }
22
- &-secondary {
23
- & .list__item {
24
- &::before {
25
- background: var(--color-accent-text-secondary);
26
- }
27
- }
28
- }
29
- &-tertiary {
30
- & .list__item {
31
- &::before {
32
- background: var(--color-accent-text-tertiary);
33
- }
34
- }
35
- }
36
- &-quaternary {
37
- & .list__item {
38
- &::before {
39
- background: var(--color-accent-text-quaternary);
40
- }
41
- }
42
- }
43
- &-accent {
44
- & .list__item {
45
- &::before {
46
- background: var(--color-accent-text-accent);
47
- }
48
- }
49
- }
50
- }
51
- }
52
- &_primary {
53
- &-item {
54
- &-primary {
55
- & .list__item {
56
- &::before {
57
- background: var(--color-primary-text-primary);
58
- }
59
- }
60
- }
61
- &-secondary {
62
- & .list__item {
63
- &::before {
64
- background: var(--color-primary-text-secondary);
65
- }
66
- }
67
- }
68
- &-tertiary {
69
- & .list__item {
70
- &::before {
71
- background: var(--color-primary-text-tertiary);
72
- }
73
- }
74
- }
75
- &-quaternary {
76
- & .list__item {
77
- &::before {
78
- background: var(--color-primary-text-quaternary);
79
- }
80
- }
81
- }
82
- &-accent {
83
- & .list__item {
84
- &::before {
85
- background: var(--color-primary-text-accent);
86
- }
87
- }
88
- }
89
- }
90
- }
91
- &_secondary {
92
- &-item {
93
- &-primary {
94
- & .list__item {
95
- &::before {
96
- background: var(--color-secondary-text-primary);
97
- }
98
- }
99
- }
100
- &-secondary {
101
- & .list__item {
102
- &::before {
103
- background: var(--color-secondary-text-secondary);
104
- }
105
- }
106
- }
107
- &-tertiary {
108
- & .list__item {
109
- &::before {
110
- background: var(--color-secondary-text-tertiary);
111
- }
112
- }
113
- }
114
- &-quaternary {
115
- & .list__item {
116
- &::before {
117
- background: var(--color-secondary-text-quaternary);
118
- }
119
- }
120
- }
121
- &-accent {
122
- & .list__item {
123
- &::before {
124
- background: var(--color-secondary-text-accent);
125
- }
126
- }
127
- }
128
- }
129
- }
130
- &_tertiary {
131
- &-item {
132
- &-primary {
133
- & .list__item {
134
- &::before {
135
- background: var(--color-tertiary-text-primary);
136
- }
137
- }
138
- }
139
- &-secondary {
140
- & .list__item {
141
- &::before {
142
- background: var(--color-tertiary-text-secondary);
143
- }
144
- }
145
- }
146
- &-tertiary {
147
- & .list__item {
148
- &::before {
149
- background: var(--color-tertiary-text-tertiary);
150
- }
151
- }
152
- }
153
- &-quaternary {
154
- & .list__item {
155
- &::before {
156
- background: var(--color-tertiary-text-quaternary);
157
- }
158
- }
159
- }
160
- &-accent {
161
- & .list__item {
162
- &::before {
163
- background: var(--color-tertiary-text-accent);
164
- }
165
- }
166
- }
167
- }
168
- }
169
- &_surface {
170
- &-item {
171
- &-primary {
172
- & .list__item {
173
- &::before {
174
- background: var(--color-surface-text-primary);
175
- }
176
- }
177
- }
178
- &-secondary {
179
- & .list__item {
180
- &::before {
181
- background: var(--color-surface-text-secondary);
182
- }
183
- }
184
- }
185
- &-tertiary {
186
- & .list__item {
187
- &::before {
188
- background: var(--color-surface-text-tertiary);
189
- }
190
- }
191
- }
192
- &-quaternary {
193
- & .list__item {
194
- &::before {
195
- background: var(--color-surface-text-quaternary);
196
- }
197
- }
198
- }
199
- &-accent {
200
- & .list__item {
201
- &::before {
202
- background: var(--color-surface-text-accent);
203
- }
204
- }
205
- }
206
- }
207
- }
208
- &_success {
209
- &-item {
210
- &-primary {
211
- & .list__item {
212
- &::before {
213
- background: var(--color-success-text-primary);
214
- }
215
- }
216
- }
217
- &-secondary {
218
- & .list__item {
219
- &::before {
220
- background: var(--color-success-text-secondary);
221
- }
222
- }
223
- }
224
- &-tertiary {
225
- & .list__item {
226
- &::before {
227
- background: var(--color-success-text-tertiary);
228
- }
229
- }
230
- }
231
- &-quaternary {
232
- & .list__item {
233
- &::before {
234
- background: var(--color-success-text-quaternary);
235
- }
236
- }
237
- }
238
- &-accent {
239
- & .list__item {
240
- &::before {
241
- background: var(--color-success-text-accent);
242
- }
243
- }
244
- }
245
- }
246
- }
247
- &_error {
248
- &-item {
249
- &-primary {
250
- & .list__item {
251
- &::before {
252
- background: var(--color-error-text-primary);
253
- }
254
- }
255
- }
256
- &-secondary {
257
- & .list__item {
258
- &::before {
259
- background: var(--color-error-text-secondary);
260
- }
261
- }
262
- }
263
- &-tertiary {
264
- & .list__item {
265
- &::before {
266
- background: var(--color-error-text-tertiary);
267
- }
268
- }
269
- }
270
- &-quaternary {
271
- & .list__item {
272
- &::before {
273
- background: var(--color-error-text-quaternary);
274
- }
275
- }
276
- }
277
- &-accent {
278
- & .list__item {
279
- &::before {
280
- background: var(--color-error-text-accent);
281
- }
282
- }
283
- }
284
- }
285
- }
286
- }
287
- }
288
- }
289
- .list {
290
- &_bullet {
291
- &-size_h1 {
292
- @mixin h1;
293
- }
294
- &-size_h2 {
295
- @mixin h2;
296
- }
297
- &-size_h3 {
298
- @mixin h3;
299
- }
300
- &-size_h4 {
301
- @mixin h4;
302
- }
303
- &-size_h5 {
304
- @mixin h5;
305
- }
306
- &-size_h6 {
307
- @mixin h6;
308
- }
309
- }
310
- }
311
- .list {
312
- &_bullet {
313
- &-text-color {
314
- &_accent {
315
- &-text {
316
- &-primary {
317
- color: var(--color-accent-text-primary);
318
- }
319
- &-secondary {
320
- color: var(--color-accent-text-secondary);
321
- }
322
- &-tertiary {
323
- color: var(--color-accent-text-tertiary);
324
- }
325
- &-quaternary {
326
- color: var(--color-accent-text-quaternary);
327
- }
328
- &-accent {
329
- color: var(--color-accent-text-accent);
330
- }
331
- }
332
- }
333
- &_primary {
334
- &-text {
335
- &-primary {
336
- color: var(--color-primary-text-primary);
337
- }
338
- &-secondary {
339
- color: var(--color-primary-text-secondary);
340
- }
341
- &-tertiary {
342
- color: var(--color-primary-text-tertiary);
343
- }
344
- &-quaternary {
345
- color: var(--color-primary-text-quaternary);
346
- }
347
- &-accent {
348
- color: var(--color-primary-text-accent);
349
- }
350
- }
351
- }
352
- &_secondary {
353
- &-text {
354
- &-primary {
355
- color: var(--color-secondary-text-primary);
356
- }
357
- &-secondary {
358
- color: var(--color-secondary-text-secondary);
359
- }
360
- &-tertiary {
361
- color: var(--color-secondary-text-tertiary);
362
- }
363
- &-quaternary {
364
- color: var(--color-secondary-text-quaternary);
365
- }
366
- &-accent {
367
- color: var(--color-secondary-text-accent);
368
- }
369
- }
370
- }
371
- &_tertiary {
372
- &-text {
373
- &-primary {
374
- color: var(--color-tertiary-text-primary);
375
- }
376
- &-secondary {
377
- color: var(--color-tertiary-text-secondary);
378
- }
379
- &-tertiary {
380
- color: var(--color-tertiary-text-tertiary);
381
- }
382
- &-quaternary {
383
- color: var(--color-tertiary-text-quaternary);
384
- }
385
- &-accent {
386
- color: var(--color-tertiary-text-accent);
387
- }
388
- }
389
- }
390
- &_surface {
391
- &-text {
392
- &-primary {
393
- color: var(--color-surface-text-primary);
394
- }
395
- &-secondary {
396
- color: var(--color-surface-text-secondary);
397
- }
398
- &-tertiary {
399
- color: var(--color-surface-text-tertiary);
400
- }
401
- &-quaternary {
402
- color: var(--color-surface-text-quaternary);
403
- }
404
- &-accent {
405
- color: var(--color-surface-text-accent);
406
- }
407
- }
408
- }
409
- &_success {
410
- &-text {
411
- &-primary {
412
- color: var(--color-success-text-primary);
413
- }
414
- &-secondary {
415
- color: var(--color-success-text-secondary);
416
- }
417
- &-tertiary {
418
- color: var(--color-success-text-tertiary);
419
- }
420
- &-quaternary {
421
- color: var(--color-success-text-quaternary);
422
- }
423
- &-accent {
424
- color: var(--color-success-text-accent);
425
- }
426
- }
427
- }
428
- &_error {
429
- &-text {
430
- &-primary {
431
- color: var(--color-error-text-primary);
432
- }
433
- &-secondary {
434
- color: var(--color-error-text-secondary);
435
- }
436
- &-tertiary {
437
- color: var(--color-error-text-tertiary);
438
- }
439
- &-quaternary {
440
- color: var(--color-error-text-quaternary);
441
- }
442
- &-accent {
443
- color: var(--color-error-text-accent);
444
- }
445
- }
446
- }
447
- }
448
- }
449
- }
450
- .list {
451
- &_direction {
452
- &_horizontal {
453
- display: flex;
454
- flex-direction: row;
455
- }
456
- &_vertical {
457
- display: flex;
458
- flex-direction: column;
459
- }
460
- }
461
- &_direction_row {
462
- display: flex;
463
- flex-direction: row;
464
- }
465
- &_direction_row-reverse {
466
- display: flex;
467
- flex-direction: row-reverse;
468
- }
469
- &_direction_column {
470
- display: flex;
471
- flex-direction: column;
472
- }
473
- &_direction_column-reverse {
474
- display: flex;
475
- flex-direction: column-reverse;
476
- }
477
- }
478
- .list {
479
- &_style_dot {
480
- & li {
481
- display: flex;
482
- flex-direction: row;
483
- justify-content: flex-start;
484
- align-items: center;
485
- gap: 16px;
486
- &::before {
487
- min-width: 6px;
488
- min-height: 6px;
489
- max-width: 6px;
490
- max-height: 6px;
491
- background: inherit;
492
- border-radius: 100%;
493
- content: '';
494
- display: flex;
495
- }
496
- }
497
- }
498
- }
499
- .list {
500
- &_style_number {
501
- badge-reset: number-badge;
502
- & li {
503
- position: relative;
504
- badge-increment: number-badge;
505
- padding: 0 0 0 1.5em;
506
- &::before {
507
- content: badge(number-badge) '. ';
508
- position: absolute;
509
- left: 0;
510
- top: 0;
511
- text-color: inherit;
512
- }
513
- }
514
- }
515
- }
@@ -1,212 +0,0 @@
1
- .loader {
2
- position: relative;
3
- display: flex;
4
- flex-flow: column wrap;
5
- justify-content: center;
6
- align-items: center;
7
- &__inner {
8
- position: relative;
9
- display: flex;
10
- }
11
- &__text {
12
- }
13
- }
14
- .loader {
15
- &&_skeleton {
16
- background-size: 200% !important;
17
- border: none;
18
- animation: loaderSkeleton 3s infinite linear !important;
19
- background-image: linear-gradient(
20
- 90deg,
21
- var(--color-surface-fill-secondary),
22
- var(--color-surface-fill-tertiary),
23
- var(--color-surface-fill-secondary)
24
- ) !important;
25
- & * {
26
- opacity: 0%;
27
- }
28
- }
29
- }
30
- @keyframes loaderSkeleton {
31
- 0% {
32
- background-position: 200%;
33
- }
34
- 100% {
35
- background-position: -200%;
36
- }
37
- }
38
- .loader {
39
- &_type {
40
- &_simple {
41
- ^^&__inner {
42
- width: auto;
43
- height: auto;
44
- position: absolute;
45
- left: 50%;
46
- top: 50%;
47
- display: flex;
48
- transform: translate(-50%, -50%);
49
- }
50
- ^^&__item {
51
- border-radius: 100%;
52
- display: inline-block;
53
- border-radius: 50%;
54
- animation: loaderSimple 1.4s infinite ease-in-out both;
55
- &:first-child {
56
- animation-delay: -0.32s;
57
- }
58
- &:nth-child(2) {
59
- animation-delay: -0.16s;
60
- }
61
- }
62
- }
63
- }
64
- }
65
- @keyframes loaderSimple {
66
- 0%,
67
- 80%,
68
- 100% {
69
- transform: scale(0);
70
- }
71
- 40% {
72
- transform: scale(1);
73
- }
74
- }
75
- .loader {
76
- &_type {
77
- &_hug {
78
- ^^&__inner {
79
- width: auto;
80
- height: auto;
81
- position: absolute;
82
- display: flex;
83
- left: 12px;
84
- top: 50%;
85
- transform: translate(0%, -50%);
86
- }
87
- ^^&__item {
88
- border-radius: 50%;
89
- display: inline-block;
90
- animation: loaderHug 1.4s infinite ease-in-out both;
91
- &:first-child {
92
- animation-delay: -0.32s;
93
- }
94
- &:nth-child(2) {
95
- animation-delay: -0.16s;
96
- }
97
- }
98
- }
99
- }
100
- }
101
- @keyframes loaderHug {
102
- 0%,
103
- 80%,
104
- 100% {
105
- transform: scale(0);
106
- }
107
- 40% {
108
- transform: scale(1);
109
- }
110
- }
111
- .loader {
112
- &_size_xxl {
113
- min-width: var(--loader-xxl-min-width);
114
- min-height: var(--loader-xxl-min-height);
115
- padding: var(--loader-xxl-padding);
116
- ^&__inner {
117
- gap: var(--loader-xxl-gap);
118
- ^^&__item {
119
- width: var(--loader-xxl-item);
120
- height: var(--loader-xxl-item);
121
- }
122
- }
123
- }
124
- &_size_xl {
125
- min-width: var(--loader-xl-min-width);
126
- min-height: var(--loader-xl-min-height);
127
- padding: var(--loader-xl-padding);
128
- ^&__inner {
129
- gap: var(--loader-xl-gap);
130
- ^^&__item {
131
- width: var(--loader-xl-item);
132
- height: var(--loader-xl-item);
133
- }
134
- }
135
- }
136
- &_size_l {
137
- min-width: var(--loader-l-min-width);
138
- min-height: var(--loader-l-min-height);
139
- padding: var(--loader-l-padding);
140
- ^&__inner {
141
- gap: var(--loader-l-gap);
142
- ^^&__item {
143
- width: var(--loader-l-item);
144
- height: var(--loader-l-item);
145
- }
146
- }
147
- }
148
- &_size_m {
149
- min-width: var(--loader-m-min-width);
150
- min-height: var(--loader-m-min-height);
151
- padding: var(--loader-m-padding);
152
- ^&__inner {
153
- gap: var(--loader-m-gap);
154
- ^^&__item {
155
- width: var(--loader-m-item);
156
- height: var(--loader-m-item);
157
- }
158
- }
159
- }
160
- &_size_s {
161
- min-width: var(--loader-s-min-width);
162
- min-height: var(--loader-s-min-height);
163
- padding: var(--loader-s-padding);
164
- ^&__inner {
165
- gap: var(--loader-s-gap);
166
- ^^&__item {
167
- width: var(--loader-s-item);
168
- height: var(--loader-s-item);
169
- }
170
- }
171
- }
172
- &_size_xs {
173
- min-width: var(--loader-xs-min-width);
174
- min-height: var(--loader-xs-min-height);
175
- padding: var(--loader-xs-padding);
176
- ^&__inner {
177
- gap: var(--loader-xs-gap);
178
- ^^&__item {
179
- width: var(--loader-xs-item);
180
- height: var(--loader-xs-item);
181
- }
182
- }
183
- }
184
- &_size_xxs {
185
- min-width: var(--loader-xxs-min-width);
186
- min-height: var(--loader-xxs-min-height);
187
- padding: var(--loader-xxs-padding);
188
- ^&__inner {
189
- gap: var(--loader-xxs-gap);
190
- ^^&__item {
191
- width: var(--loader-xxs-item);
192
- height: var(--loader-xxs-item);
193
- }
194
- }
195
- }
196
- }
197
- :root {
198
- --loader-l-min-width: 112px;
199
- --loader-l-min-height: 56px;
200
- --loader-l-item: 16px;
201
- --loader-l-gap: 16px;
202
-
203
- --loader-m-min-width: 88px;
204
- --loader-m-min-height: 40px;
205
- --loader-m-item: 12px;
206
- --loader-m-gap: 12px;
207
-
208
- --loader-s-min-width: 60px;
209
- --loader-s-min-height: 24px;
210
- --loader-s-item: 6px;
211
- --loader-s-gap: 8px;
212
- }