@itcase/ui 1.8.178 → 1.9.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 (233) 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 +1 -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 +6 -9
  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/mediaqueries/mediaqueries.css +0 -78
  175. package/dist/css/mixins/mixin_animation.css +0 -8
  176. package/dist/css/mixins/mixin_dark-light.css +0 -16
  177. package/dist/css/mixins/mixin_elevation.css +0 -31
  178. package/dist/css/mixins/mixin_fill-gradient.css +0 -47
  179. package/dist/css/mixins/mixin_typography.css +0 -237
  180. package/dist/css/mixins/mixin_utils.css +0 -54
  181. package/dist/css/styles/align/align.css +0 -25
  182. package/dist/css/styles/align/align_horizontal-reverse.css +0 -252
  183. package/dist/css/styles/align/align_horizontal.css +0 -252
  184. package/dist/css/styles/align/align_vertical-reverse.css +0 -236
  185. package/dist/css/styles/align/align_vertical.css +0 -236
  186. package/dist/css/styles/align-items/align-items.css +0 -20
  187. package/dist/css/styles/align-self/align-self.css +0 -20
  188. package/dist/css/styles/alignment/alignment.css +0 -51
  189. package/dist/css/styles/blur/blur.css +0 -82
  190. package/dist/css/styles/border/border.css +0 -244
  191. package/dist/css/styles/border-color/border-color.css +0 -24405
  192. package/dist/css/styles/border-type/border-type.css +0 -13
  193. package/dist/css/styles/border-width/border-width.css +0 -57
  194. package/dist/css/styles/caret-color/caret-color.css +0 -282
  195. package/dist/css/styles/centering/centering.css +0 -17
  196. package/dist/css/styles/constraints/constraints.css +0 -72
  197. package/dist/css/styles/cursor/cursor.css +0 -28
  198. package/dist/css/styles/direction/direction.css +0 -18
  199. package/dist/css/styles/easing/easing.css +0 -104
  200. package/dist/css/styles/elevation/elevation.css +0 -26
  201. package/dist/css/styles/elevation/elevation_hover.css +0 -44
  202. package/dist/css/styles/fill/fill.css +0 -7750
  203. package/dist/css/styles/fill/fill_gradient.css +0 -525
  204. package/dist/css/styles/flex/flex-grow.css +0 -8
  205. package/dist/css/styles/height/height.css +0 -11
  206. package/dist/css/styles/hover/hover-fill-color.css +0 -842
  207. package/dist/css/styles/hover/hover-item-color.css +0 -1082
  208. package/dist/css/styles/hover/hover-text-color.css +0 -1082
  209. package/dist/css/styles/justify-content/justify-content.css +0 -35
  210. package/dist/css/styles/opacity/opacity.css +0 -74
  211. package/dist/css/styles/placeholder-text-color/placeholder-text-color.css +0 -362
  212. package/dist/css/styles/position/position.css +0 -14
  213. package/dist/css/styles/print/print.css +0 -12
  214. package/dist/css/styles/resize-horizontal/resize-horizontal.css +0 -12
  215. package/dist/css/styles/resize-vertical/resize-vertical.css +0 -10
  216. package/dist/css/styles/shape/shape.css +0 -8
  217. package/dist/css/styles/shape-strength/shape-strength.css +0 -15
  218. package/dist/css/styles/svg-color/svg_fill.css +0 -1044
  219. package/dist/css/styles/svg-color/svg_fill_hover.css +0 -484
  220. package/dist/css/styles/svg-color/svg_path_fill.css +0 -364
  221. package/dist/css/styles/text-align/text-align.css +0 -11
  222. package/dist/css/styles/text-color/text-color.css +0 -3617
  223. package/dist/css/styles/text-decoration/text-decoration.css +0 -10
  224. package/dist/css/styles/text-gradient/text-gradient.css +0 -1195
  225. package/dist/css/styles/text-style/text-style.css +0 -10
  226. package/dist/css/styles/text-truncate/text-truncate.css +0 -7
  227. package/dist/css/styles/text-weight/text-weight.css +0 -181
  228. package/dist/css/styles/width/width.css +0 -11
  229. package/dist/css/styles/word-wrap/word-wrap.css +0 -8
  230. package/dist/{ChipsGroup_cjs_B182e4c8.js → ChipsGroup_cjs_C-CP64k4.js} +1 -1
  231. package/dist/{ChipsGroup_es_BflE-5Q3.js → ChipsGroup_es_BfN_kCqj.js} +1 -1
  232. package/dist/{SelectContainer_cjs_BOMkYSVf.js → SelectContainer_cjs_NkNDS17H.js} +2 -2
  233. package/dist/{SelectContainer_es_gcm20n4I.js → SelectContainer_es_BpYwQ-do.js} +2 -2
@@ -1,237 +0,0 @@
1
- @define-mixin h1 $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
2
- @mixin font $weight, var(--typography-h1-min), var(--typography-h1-max),
3
- $minLetterSpacing, var(--typography-h1-min-line-height),
4
- var(--typography-h1-max-line-height), $maxLetterSpacing,
5
- var(--typography-h1-font);
6
- }
7
-
8
- @define-mixin h2 $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
9
- @mixin font $weight, var(--typography-h2-min), var(--typography-h2-max),
10
- $minLetterSpacing, var(--typography-h2-min-line-height),
11
- var(--typography-h2-max-line-height), $maxLetterSpacing,
12
- var(--typography-h2-font);
13
- }
14
-
15
- @define-mixin h3 $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
16
- @mixin font $weight, var(--typography-h3-min), var(--typography-h3-max),
17
- $minLetterSpacing, var(--typography-h3-min-line-height),
18
- var(--typography-h3-max-line-height), $maxLetterSpacing,
19
- var(--typography-h3-font);
20
- }
21
-
22
- @define-mixin h4 $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
23
- @mixin font $weight, var(--typography-h4-min), var(--typography-h4-max),
24
- $minLetterSpacing, var(--typography-h4-min-line-height),
25
- var(--typography-h4-max-line-height), $maxLetterSpacing,
26
- var(--typography-h4-font);
27
- }
28
-
29
- @define-mixin h5 $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
30
- @mixin font $weight, var(--typography-h5-min), var(--typography-h5-max),
31
- $minLetterSpacing, var(--typography-h5-min-line-height),
32
- var(--typography-h5-max-line-height), $maxLetterSpacing,
33
- var(--typography-h5-font);
34
- }
35
-
36
- @define-mixin h6 $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
37
- @mixin font $weight, var(--typography-h6-min), var(--typography-h6-max),
38
- $minLetterSpacing, var(--typography-h6-min-line-height),
39
- var(--typography-h6-max-line-height), $maxLetterSpacing,
40
- var(--typography-h6-font);
41
- }
42
-
43
- @define-mixin hero_h1 $weight: normal, $minLetterSpacing: 0,
44
- $maxLetterSpacing: 0 {
45
- @mixin font $weight, var(--typography-hero1-min), var(--typography-hero1-max),
46
- $minLetterSpacing, var(--typography-hero1-min-line-height),
47
- var(--typography-hero1-max-line-height), $maxLetterSpacing,
48
- var(--typography-hero1-font);
49
- }
50
-
51
- @define-mixin hero_h2 $weight: normal, $minLetterSpacing: 0,
52
- $maxLetterSpacing: 0 {
53
- @mixin font $weight, var(--typography-hero2-min), var(--typography-hero2-max),
54
- $minLetterSpacing, var(--typography-hero2-min-line-height),
55
- var(--typography-hero2-max-line-height), $maxLetterSpacing,
56
- var(--typography-hero2-font);
57
- }
58
-
59
- @define-mixin hero_h3 $weight: normal, $minLetterSpacing: 0,
60
- $maxLetterSpacing: 0 {
61
- @mixin font $weight, var(--typography-hero3-min), var(--typography-hero3-max),
62
- $minLetterSpacing, var(--typography-hero3-min-line-height),
63
- var(--typography-hero3-max-line-height), $maxLetterSpacing,
64
- var(--typography-hero3-font);
65
- }
66
-
67
- @define-mixin hero_h4 $weight: normal, $minLetterSpacing: 0,
68
- $maxLetterSpacing: 0 {
69
- @mixin font $weight, var(--typography-hero4-min), var(--typography-hero4-max),
70
- $minLetterSpacing, var(--typography-hero4-min-line-height),
71
- var(--typography-hero4-max-line-height), $maxLetterSpacing,
72
- var(--typography-hero4-font);
73
- }
74
-
75
- @define-mixin hero_h5 $weight: normal, $minLetterSpacing: 0,
76
- $maxLetterSpacing: 0 {
77
- @mixin font $weight, var(--typography-hero5-min), var(--typography-hero5-max),
78
- $minLetterSpacing, var(--typography-hero5-min-line-height),
79
- var(--typography-hero5-max-line-height), $maxLetterSpacing,
80
- var(--typography-hero5-font);
81
- }
82
-
83
- @define-mixin hero_h6 $weight: normal, $minLetterSpacing: 0,
84
- $maxLetterSpacing: 0 {
85
- @mixin font $weight, var(--typography-hero6-min), var(--typography-hero6-max),
86
- $minLetterSpacing, var(--typography-hero6-min-line-height),
87
- var(--typography-hero6-max-line-height), $maxLetterSpacing,
88
- var(--typography-hero6-font);
89
- }
90
-
91
- @define-mixin p $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
92
- @mixin font $weight, var(--typography-p-min), var(--typography-p-max),
93
- $minLetterSpacing, var(--typography-p-min-line-height),
94
- var(--typography-p-max-line-height), $maxLetterSpacing,
95
- var(--typography-p-font);
96
- }
97
-
98
- @define-mixin text-xxl $weight: normal, $minLetterSpacing: 0,
99
- $maxLetterSpacing: 0 {
100
- @mixin font $weight, var(--typography-text-xxl-min),
101
- var(--typography-text-xxl-max), $minLetterSpacing,
102
- var(--typography-text-xxl-min-line-height),
103
- var(--typography-text-xxl-max-line-height), $maxLetterSpacing,
104
- var(--typography-text-xxl-font);
105
- }
106
-
107
- @define-mixin text-xl $weight: normal, $minLetterSpacing: 0,
108
- $maxLetterSpacing: 0 {
109
- @mixin font $weight, var(--typography-text-xl-min),
110
- var(--typography-text-xl-max), $minLetterSpacing,
111
- var(--typography-text-xl-min-line-height),
112
- var(--typography-text-xl-max-line-height), $maxLetterSpacing,
113
- var(--typography-text-xl-font);
114
- }
115
-
116
- @define-mixin text-l $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
117
- @mixin font $weight, var(--typography-text-l-min),
118
- var(--typography-text-l-max), $minLetterSpacing,
119
- var(--typography-text-l-min-line-height),
120
- var(--typography-text-l-max-line-height), $maxLetterSpacing,
121
- var(--typography-text-l-font);
122
- }
123
-
124
- @define-mixin text-m $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
125
- @mixin font $weight, var(--typography-text-m-min),
126
- var(--typography-text-m-max), $minLetterSpacing,
127
- var(--typography-text-m-min-line-height),
128
- var(--typography-text-m-max-line-height), $maxLetterSpacing,
129
- var(--typography-text-m-font);
130
- }
131
-
132
- @define-mixin text-s $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
133
- @mixin font $weight, var(--typography-text-s-min),
134
- var(--typography-text-s-max), $minLetterSpacing,
135
- var(--typography-text-s-min-line-height),
136
- var(--typography-text-s-max-line-height), $maxLetterSpacing,
137
- var(--typography-text-s-font);
138
- }
139
-
140
- @define-mixin text-xs $weight: normal, $minLetterSpacing: 0,
141
- $maxLetterSpacing: 0 {
142
- @mixin font $weight, var(--typography-text-xs-min),
143
- var(--typography-text-xs-max), $minLetterSpacing,
144
- var(--typography-text-xs-min-line-height),
145
- var(--typography-text-xs-max-line-height), $maxLetterSpacing,
146
- var(--typography-text-xs-font);
147
- }
148
-
149
- @define-mixin text-xxs $weight: normal, $minLetterSpacing: 0,
150
- $maxLetterSpacing: 0 {
151
- @mixin font $weight, var(--typography-text-xxs-min),
152
- var(--typography-text-xxs-max), $minLetterSpacing,
153
- var(--typography-text-xxs-min-line-height),
154
- var(--typography-text-xxs-max-line-height), $maxLetterSpacing,
155
- var(--typography-text-xxs-font);
156
- }
157
-
158
- @define-mixin email-h1 $weight: normal {
159
- @mixin font-fixed $weight, var(--typography-email-h1),
160
- var(--typography-email-h1-line-height), var(--font-email);
161
- }
162
-
163
- @define-mixin email-h2 $weight: normal {
164
- @mixin font-fixed $weight, var(--typography-email-h2),
165
- var(--typography-email-h2-line-height), var(--font-email);
166
- }
167
-
168
- @define-mixin email-h3 $weight: normal {
169
- @mixin font-fixed $weight, var(--typography-email-h3),
170
- var(--typography-email-h3-line-height), var(--font-email);
171
- }
172
-
173
- @define-mixin email-h4 $weight: normal {
174
- @mixin font-fixed $weight, var(--typography-email-h4),
175
- var(--typography-email-h4-line-height), var(--font-email);
176
- }
177
-
178
- @define-mixin email-h5 $weight: normal {
179
- @mixin font-fixed $weight, var(--typography-email-h5),
180
- var(--typography-email-h5-line-height), var(--font-email);
181
- }
182
-
183
- @define-mixin email-h6 $weight: normal {
184
- @mixin font-fixed $weight, var(--typography-email-h6),
185
- var(--typography-email-h6-line-height), var(--font-email);
186
- }
187
-
188
- @define-mixin email-p $weight: normal {
189
- @mixin font-fixed $weight, var(--typography-email-p),
190
- var(--typography-email-p-line-height), var(--font-email);
191
- }
192
-
193
- @define-mixin email-text-xxl $weight: normal {
194
- @mixin font-fixed $weight, var(--typography-email-text-xxl),
195
- var(--typography-email-text-xxl-line-height), var(--font-email);
196
- }
197
-
198
- @define-mixin email-text-xl $weight: normal {
199
- @mixin font-fixed $weight, var(--typography-email-text-xl),
200
- var(--typography-email-text-xl-line-height), var(--font-email);
201
- }
202
-
203
- @define-mixin email-text-l $weight: normal {
204
- @mixin font-fixed $weight, var(--typography-email-text-l),
205
- var(--typography-email-text-l-line-height), var(--font-email);
206
- }
207
-
208
- @define-mixin email-text-m $weight: normal {
209
- @mixin font-fixed $weight, var(--typography-email-text-m),
210
- var(--typography-email-text-m-line-height), var(--font-email);
211
- }
212
-
213
- @define-mixin email-text-s $weight: normal {
214
- @mixin font-fixed $weight, var(--typography-email-text-s),
215
- var(--typography-email-text-s-line-height), var(--font-email);
216
- }
217
-
218
- @define-mixin email-text-xs $weight: normal {
219
- @mixin font-fixed $weight, var(--typography-email-text-xs),
220
- var(--typographyemail-text-xs-line-height), var(--font-email);
221
- }
222
-
223
- @define-mixin email-text-xxs $weight: normal {
224
- @mixin font-fixed $weight, var(--typography-email-text-xxs),
225
- var(--typography-email-text-xxs-line-height), var(--font-email);
226
- }
227
-
228
- @define-mixin text-gradient-primary {
229
- color: transparent;
230
- background: linear-gradient(
231
- 90deg,
232
- hsl(266, 100%, 64%, 1) 0%,
233
- hsl(213, 79%, 68%, 1) 50%
234
- );
235
- background-clip: text;
236
- text-fill-color: transparent;
237
- }
@@ -1,54 +0,0 @@
1
- /* stylelint-disable declaration-property-value-keyword-no-deprecated */
2
- @define-mixin font $fontWeight, $minFontSize, $maxFontSize, $minLetterSpacing,
3
- $minLineHeight, $maxLineHeight, $maxLetterSpacing, $fontFamily {
4
- font-size: fluid(
5
- $minFontSize,
6
- $maxFontSize,
7
- var(--typography-min-viewport),
8
- var(--typography-max-viewport)
9
- );
10
- font-weight: $fontWeight;
11
- line-height: fluid(
12
- $minLineHeight,
13
- $maxLineHeight,
14
- var(--typography-min-viewport),
15
- var(--typography-max-viewport)
16
- );
17
- letter-spacing: fluid(
18
- $minLetterSpacing,
19
- $maxLetterSpacing,
20
- var(--typography-min-viewport),
21
- var(--typography-max-viewport)
22
- );
23
- font-family: $fontFamily;
24
- }
25
- @define-mixin font-fixed $weight, $size, $line, $family {
26
- font-size: $size;
27
- font-weight: $weight;
28
- font-family: $family;
29
- line-height: $line;
30
- }
31
- @define-mixin word-wrap {
32
- overflow-wrap: break-word;
33
- word-wrap: break-word;
34
- -ms-word-break: break-all;
35
- word-break: break-all;
36
- word-break: break-word;
37
- hyphens: auto;
38
- }
39
- @define-mixin truncate-text $font-size: 16px, $line-height: 1.4,
40
- $lines-to-show: 2 {
41
- position: relative;
42
- overflow: hidden;
43
- display: -webkit-box;
44
- -webkit-line-clamp: $lines-to-show;
45
- -webkit-box-orient: vertical;
46
- word-wrap: break-word;
47
- text-overflow: ellipsis;
48
- visibility: visible;
49
- @supports not (-webkit-line-clamp: $lines-to-show) {
50
- max-height: $font-size * $line-height * $lines-to-show;
51
- line-height: $line-height;
52
- display: block;
53
- }
54
- }
@@ -1,25 +0,0 @@
1
-
2
- .align,
3
- div.align {
4
- &_center {
5
- margin: 0 auto;
6
- }
7
- }
8
- .align,
9
- button.align {
10
- &_center {
11
- margin: 0 auto;
12
- }
13
- }
14
- .align,
15
- input.align {
16
- &_center {
17
- margin: 0 auto;
18
- }
19
- }
20
- .align,
21
- textarea.align {
22
- &_center {
23
- margin: 0 auto;
24
- }
25
- }
@@ -1,252 +0,0 @@
1
- %align-horizontal-reverse {
2
- display: flex;
3
- flex-direction: row-reverse;
4
- }
5
-
6
- .align,
7
- div.align {
8
- &_horizontal-reverse {
9
- display: flex;
10
- flex-direction: row-reverse;
11
- @extend %align-horizontal-reverse;
12
- &-top {
13
- &-left {
14
- align-items: flex-start;
15
- @extend %align-horizontal-reverse;
16
- }
17
- &-center {
18
- text-align: center;
19
- justify-content: center;
20
- align-items: flex-start;
21
- @extend %align-horizontal-reverse;
22
- }
23
- &-right {
24
- text-align: right;
25
- justify-content: flex-end;
26
- align-items: flex-start;
27
- @extend %align-horizontal-reverse;
28
- }
29
- }
30
- &-left {
31
- align-items: center;
32
- @extend %align-horizontal-reverse;
33
- }
34
- &-center {
35
- text-align: center;
36
- justify-content: center;
37
- align-items: center;
38
- @extend %align-horizontal-reverse;
39
- }
40
- &-right {
41
- text-align: right;
42
- justify-content: flex-end;
43
- align-items: center;
44
- @extend %align-horizontal-reverse;
45
- }
46
- &-bottom {
47
- &-left {
48
- flex-direction: row;
49
- align-items: flex-end;
50
- @extend %align-horizontal-reverse;
51
- }
52
- &-center {
53
- text-align: center;
54
- justify-content: center;
55
- align-items: flex-end;
56
- @extend %align-horizontal-reverse;
57
- }
58
- &-right {
59
- text-align: right;
60
- justify-content: flex-end;
61
- align-items: flex-end;
62
- @extend %align-horizontal-reverse;
63
- }
64
- }
65
- }
66
- }
67
-
68
- .align,
69
- button.align {
70
- &_horizontal-reverse {
71
- display: flex;
72
- flex-direction: row-reverse;
73
- @extend %align-horizontal-reverse;
74
- &-top {
75
- &-left {
76
- align-items: flex-start;
77
- @extend %align-horizontal-reverse;
78
- }
79
- &-center {
80
- text-align: center;
81
- justify-content: center;
82
- align-items: flex-start;
83
- @extend %align-horizontal-reverse;
84
- }
85
- &-right {
86
- text-align: right;
87
- justify-content: flex-end;
88
- align-items: flex-start;
89
- @extend %align-horizontal-reverse;
90
- }
91
- }
92
- &-left {
93
- align-items: center;
94
- @extend %align-horizontal-reverse;
95
- }
96
- &-center {
97
- text-align: center;
98
- justify-content: center;
99
- align-items: center;
100
- @extend %align-horizontal-reverse;
101
- }
102
- &-right {
103
- text-align: right;
104
- justify-content: flex-end;
105
- align-items: center;
106
- @extend %align-horizontal-reverse;
107
- }
108
- &-bottom {
109
- &-left {
110
- flex-direction: row;
111
- align-items: flex-end;
112
- @extend %align-horizontal-reverse;
113
- }
114
- &-center {
115
- text-align: center;
116
- justify-content: center;
117
- align-items: flex-end;
118
- @extend %align-horizontal-reverse;
119
- }
120
- &-right {
121
- text-align: right;
122
- justify-content: flex-end;
123
- align-items: flex-end;
124
- @extend %align-horizontal-reverse;
125
- }
126
- }
127
- }
128
- }
129
-
130
- .align,
131
- input.align {
132
- &_horizontal-reverse {
133
- display: flex;
134
- flex-direction: row-reverse;
135
- @extend %align-horizontal-reverse;
136
- &-top {
137
- &-left {
138
- align-items: flex-start;
139
- @extend %align-horizontal-reverse;
140
- }
141
- &-center {
142
- text-align: center;
143
- justify-content: center;
144
- align-items: flex-start;
145
- @extend %align-horizontal-reverse;
146
- }
147
- &-right {
148
- text-align: right;
149
- justify-content: flex-end;
150
- align-items: flex-start;
151
- @extend %align-horizontal-reverse;
152
- }
153
- }
154
- &-left {
155
- align-items: center;
156
- @extend %align-horizontal-reverse;
157
- }
158
- &-center {
159
- text-align: center;
160
- justify-content: center;
161
- align-items: center;
162
- @extend %align-horizontal-reverse;
163
- }
164
- &-right {
165
- text-align: right;
166
- justify-content: flex-end;
167
- align-items: center;
168
- @extend %align-horizontal-reverse;
169
- }
170
- &-bottom {
171
- &-left {
172
- flex-direction: row;
173
- align-items: flex-end;
174
- @extend %align-horizontal-reverse;
175
- }
176
- &-center {
177
- text-align: center;
178
- justify-content: center;
179
- align-items: flex-end;
180
- @extend %align-horizontal-reverse;
181
- }
182
- &-right {
183
- text-align: right;
184
- justify-content: flex-end;
185
- align-items: flex-end;
186
- @extend %align-horizontal-reverse;
187
- }
188
- }
189
- }
190
- }
191
-
192
- .align,
193
- textarea.align {
194
- &_horizontal-reverse {
195
- display: flex;
196
- flex-direction: row-reverse;
197
- @extend %align-horizontal-reverse;
198
- &-top {
199
- &-left {
200
- align-items: flex-start;
201
- @extend %align-horizontal-reverse;
202
- }
203
- &-center {
204
- text-align: center;
205
- justify-content: center;
206
- align-items: flex-start;
207
- @extend %align-horizontal-reverse;
208
- }
209
- &-right {
210
- text-align: right;
211
- justify-content: flex-end;
212
- align-items: flex-start;
213
- @extend %align-horizontal-reverse;
214
- }
215
- }
216
- &-left {
217
- align-items: center;
218
- @extend %align-horizontal-reverse;
219
- }
220
- &-center {
221
- text-align: center;
222
- justify-content: center;
223
- align-items: center;
224
- @extend %align-horizontal-reverse;
225
- }
226
- &-right {
227
- text-align: right;
228
- justify-content: flex-end;
229
- align-items: center;
230
- @extend %align-horizontal-reverse;
231
- }
232
- &-bottom {
233
- &-left {
234
- flex-direction: row;
235
- align-items: flex-end;
236
- @extend %align-horizontal-reverse;
237
- }
238
- &-center {
239
- text-align: center;
240
- justify-content: center;
241
- align-items: flex-end;
242
- @extend %align-horizontal-reverse;
243
- }
244
- &-right {
245
- text-align: right;
246
- justify-content: flex-end;
247
- align-items: flex-end;
248
- @extend %align-horizontal-reverse;
249
- }
250
- }
251
- }
252
- }