@itcase/ui 1.0.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 (233) hide show
  1. package/README.md +2 -0
  2. package/dist/SelectContainer-e2544642.js +7717 -0
  3. package/dist/components/Accordion.js +249 -0
  4. package/dist/components/Avatar.js +94 -0
  5. package/dist/components/Background.js +90 -0
  6. package/dist/components/Breadcrumbs.js +239 -0
  7. package/dist/components/Button.js +215 -0
  8. package/dist/components/Caption.js +65 -0
  9. package/dist/components/Card.js +112 -0
  10. package/dist/components/Cell.js +180 -0
  11. package/dist/components/Checkbox.js +68 -0
  12. package/dist/components/Chips.js +135 -0
  13. package/dist/components/ContextMenu.js +149 -0
  14. package/dist/components/CookiesWarning.js +133 -0
  15. package/dist/components/Counter.js +99 -0
  16. package/dist/components/Divider.js +73 -0
  17. package/dist/components/Dropdown.js +139 -0
  18. package/dist/components/Emoji.js +124 -0
  19. package/dist/components/Fader.js +66 -0
  20. package/dist/components/Flex.js +264 -0
  21. package/dist/components/FormField.js +289 -0
  22. package/dist/components/Grid.js +329 -0
  23. package/dist/components/Group.js +132 -0
  24. package/dist/components/Icon.js +184 -0
  25. package/dist/components/Image.js +143 -0
  26. package/dist/components/Input.js +94 -0
  27. package/dist/components/Label.js +125 -0
  28. package/dist/components/LanguageSelector.js +86 -0
  29. package/dist/components/Link.js +172 -0
  30. package/dist/components/List.js +143 -0
  31. package/dist/components/Loader.js +66 -0
  32. package/dist/components/Logo.js +55 -0
  33. package/dist/components/Menu.js +86 -0
  34. package/dist/components/MenuItem.js +209 -0
  35. package/dist/components/Modal.js +69 -0
  36. package/dist/components/Notification.js +131 -0
  37. package/dist/components/Pagination.js +93 -0
  38. package/dist/components/Popup.js +254 -0
  39. package/dist/components/Profile.js +99 -0
  40. package/dist/components/RadioButton.js +71 -0
  41. package/dist/components/RangeSlider.js +2086 -0
  42. package/dist/components/Scrollbar.js +3872 -0
  43. package/dist/components/Search.js +260 -0
  44. package/dist/components/Segmented.js +77 -0
  45. package/dist/components/Select.js +49 -0
  46. package/dist/components/SiteMenu.js +137 -0
  47. package/dist/components/Swiper.js +927 -0
  48. package/dist/components/Switch.js +29 -0
  49. package/dist/components/Text.js +121 -0
  50. package/dist/components/Textarea.js +90 -0
  51. package/dist/components/Tile.js +252 -0
  52. package/dist/components/Title.js +146 -0
  53. package/dist/components/Tooltip.js +115 -0
  54. package/dist/components/Video.js +74 -0
  55. package/dist/components/Wrapper.js +119 -0
  56. package/dist/constants/componentProps/align.js +5 -0
  57. package/dist/constants/componentProps/alignDirection.js +5 -0
  58. package/dist/constants/componentProps/borderColor.js +5 -0
  59. package/dist/constants/componentProps/borderType.js +5 -0
  60. package/dist/constants/componentProps/captionPosition.js +5 -0
  61. package/dist/constants/componentProps/direction.js +5 -0
  62. package/dist/constants/componentProps/emojiSize.js +5 -0
  63. package/dist/constants/componentProps/fill.js +5 -0
  64. package/dist/constants/componentProps/fillGradient.js +5 -0
  65. package/dist/constants/componentProps/fillType.js +5 -0
  66. package/dist/constants/componentProps/flexAlign.js +5 -0
  67. package/dist/constants/componentProps/flexJustifyContent.js +5 -0
  68. package/dist/constants/componentProps/flexWrap.js +5 -0
  69. package/dist/constants/componentProps/gridAlign.js +5 -0
  70. package/dist/constants/componentProps/gridAlignSelf.js +5 -0
  71. package/dist/constants/componentProps/gridJustifyItems.js +5 -0
  72. package/dist/constants/componentProps/gridJustifySelf.js +5 -0
  73. package/dist/constants/componentProps/horizontalContentAlign.js +5 -0
  74. package/dist/constants/componentProps/horizontalResizeMode.js +5 -0
  75. package/dist/constants/componentProps/iconSize.js +5 -0
  76. package/dist/constants/componentProps/position.js +5 -0
  77. package/dist/constants/componentProps/resizeMode.js +5 -0
  78. package/dist/constants/componentProps/shape.js +5 -0
  79. package/dist/constants/componentProps/size.js +5 -0
  80. package/dist/constants/componentProps/stacking.js +5 -0
  81. package/dist/constants/componentProps/strokeColor.js +5 -0
  82. package/dist/constants/componentProps/textAlign.js +5 -0
  83. package/dist/constants/componentProps/textColor.js +5 -0
  84. package/dist/constants/componentProps/textColorActive.js +5 -0
  85. package/dist/constants/componentProps/textColorHover.js +5 -0
  86. package/dist/constants/componentProps/textGradient.js +5 -0
  87. package/dist/constants/componentProps/textStyle.js +5 -0
  88. package/dist/constants/componentProps/textTag.js +5 -0
  89. package/dist/constants/componentProps/textWeight.js +5 -0
  90. package/dist/constants/componentProps/titleSize.js +5 -0
  91. package/dist/constants/componentProps/type.js +5 -0
  92. package/dist/constants/componentProps/underline.js +5 -0
  93. package/dist/constants/componentProps/verticalContentAlign.js +5 -0
  94. package/dist/constants/componentProps/verticalResizeMode.js +5 -0
  95. package/dist/constants/componentProps/width.js +5 -0
  96. package/dist/constants/componentProps/wrap.js +5 -0
  97. package/dist/constants.js +87 -0
  98. package/dist/context/Notifications.js +121 -0
  99. package/dist/context/UIContext.js +59 -0
  100. package/dist/css/components/Accordion/Accordion.css +65 -0
  101. package/dist/css/components/Avatar/Avatar.css +28 -0
  102. package/dist/css/components/Background/Background.css +11 -0
  103. package/dist/css/components/Button/Button.css +362 -0
  104. package/dist/css/components/Caption/Caption.css +22 -0
  105. package/dist/css/components/Card/Card.css +19 -0
  106. package/dist/css/components/Cell/Cell.css +89 -0
  107. package/dist/css/components/Cell/css/__wrapper/cell__wrapper.css +7 -0
  108. package/dist/css/components/Cell/css/__wrapper/cell__wrapper_shape.css +15 -0
  109. package/dist/css/components/Checkbox/Checkbox.css +97 -0
  110. package/dist/css/components/Chips/Chips.css +47 -0
  111. package/dist/css/components/ContextMenu/ContextMenu.css +43 -0
  112. package/dist/css/components/ContextMenu/css/__item/context-menu__item.css +10 -0
  113. package/dist/css/components/CookiesWarning/CookiesWarning.css +37 -0
  114. package/dist/css/components/Counter/Counter.css +55 -0
  115. package/dist/css/components/Divider/Divider.css +78 -0
  116. package/dist/css/components/Dropdown/Dropdown.css +58 -0
  117. package/dist/css/components/Emoji/Emoji.css +104 -0
  118. package/dist/css/components/Emoji/css/__icon/emoji__icon-shape.css +12 -0
  119. package/dist/css/components/Emoji/css/__icon/emoji__icon.css +5 -0
  120. package/dist/css/components/Fader/Fader.css +55 -0
  121. package/dist/css/components/Flex/Flex.css +179 -0
  122. package/dist/css/components/Flex/css/__item/flex__item.css +5 -0
  123. package/dist/css/components/Flex/css/__item/flex__item_align.css +15 -0
  124. package/dist/css/components/Flex/css/__item/flex__item_direction.css +17 -0
  125. package/dist/css/components/Flex/css/__item/flex__item_grow.css +9 -0
  126. package/dist/css/components/Flex/css/__item/flex__item_justify-content.css +9 -0
  127. package/dist/css/components/Flex/css/__item/flex__item_shape.css +12 -0
  128. package/dist/css/components/Flex/css/__item/flex__item_wrap.css +9 -0
  129. package/dist/css/components/Grid/Grid.css +208 -0
  130. package/dist/css/components/Grid/css/__item/grid__item.css +4 -0
  131. package/dist/css/components/Grid/css/__item/grid__item_align-self.css +9 -0
  132. package/dist/css/components/Grid/css/__item/grid__item_column.css +17 -0
  133. package/dist/css/components/Grid/css/__item/grid__item_justify-self.css +9 -0
  134. package/dist/css/components/Grid/css/__item/grid__item_row.css +17 -0
  135. package/dist/css/components/Group/Group.css +106 -0
  136. package/dist/css/components/Icon/Icon.css +149 -0
  137. package/dist/css/components/Image/Image.css +106 -0
  138. package/dist/css/components/Input/Input.css +41 -0
  139. package/dist/css/components/Label/Label.css +33 -0
  140. package/dist/css/components/Link/Link.css +10 -0
  141. package/dist/css/components/List/List.css +112 -0
  142. package/dist/css/components/Loader/Loader.css +42 -0
  143. package/dist/css/components/Logo/Logo.css +17 -0
  144. package/dist/css/components/Menu/Menu.css +56 -0
  145. package/dist/css/components/MenuItem/MenuItem.css +56 -0
  146. package/dist/css/components/Notification/Notification.css +18 -0
  147. package/dist/css/components/Pagination/Pagination.css +80 -0
  148. package/dist/css/components/Pagination/css/__item/pagination__item.css +31 -0
  149. package/dist/css/components/Pagination/css/__item/pagination__item_state_active.css +16 -0
  150. package/dist/css/components/Pagination/css/__item/pagination__item_state_disabled.css +19 -0
  151. package/dist/css/components/Popup/Popup.css +49 -0
  152. package/dist/css/components/Profile/Profile.css +19 -0
  153. package/dist/css/components/RadioButton/RadioButton.css +98 -0
  154. package/dist/css/components/RangeSlider/RangeSlider.css +396 -0
  155. package/dist/css/components/Scrollbar/Scrollbar.css +2 -0
  156. package/dist/css/components/Search/Search.css +113 -0
  157. package/dist/css/components/Search/css/search-input/search-input.css +81 -0
  158. package/dist/css/components/Search/css/search-input/search-input_shape.css +8 -0
  159. package/dist/css/components/Search/css/search-result/search-result.css +6 -0
  160. package/dist/css/components/Search/css/search-result/search-result_shape.css +8 -0
  161. package/dist/css/components/Select/Select.css +236 -0
  162. package/dist/css/components/Select/css/__control/select__control.css +11 -0
  163. package/dist/css/components/Select/css/__control/select__control_fill.css +15 -0
  164. package/dist/css/components/Select/css/__control/select__control_shape.css +12 -0
  165. package/dist/css/components/Select/css/__indicators/select__indicators.css +18 -0
  166. package/dist/css/components/Select/css/__input-container/select__input-container.css +24 -0
  167. package/dist/css/components/Select/css/__menu/select__menu-notice.css +7 -0
  168. package/dist/css/components/Select/css/__menu/select__menu.css +36 -0
  169. package/dist/css/components/Select/css/__option/select__option.css +56 -0
  170. package/dist/css/components/Select/css/__single-value/select__single-value.css +5 -0
  171. package/dist/css/components/Select/css/__value-container/select__value-container.css +12 -0
  172. package/dist/css/components/SiteMenu/SiteMenu.css +37 -0
  173. package/dist/css/components/Swiper/Swiper.css +839 -0
  174. package/dist/css/components/Switch/Switch.css +53 -0
  175. package/dist/css/components/Text/Text.css +33 -0
  176. package/dist/css/components/Textarea/Textarea.css +40 -0
  177. package/dist/css/components/Tile/Tile.css +23 -0
  178. package/dist/css/components/Title/Title.css +71 -0
  179. package/dist/css/components/Tooltip/Tooltip.css +4 -0
  180. package/dist/css/components/Video/Video.css +37 -0
  181. package/dist/css/components/Wrapper/Wrapper.css +36 -0
  182. package/dist/css/styles/align/align_horizontal-reverse.css +50 -0
  183. package/dist/css/styles/align/align_horizontal.css +67 -0
  184. package/dist/css/styles/align/align_vertical-reverse.css +49 -0
  185. package/dist/css/styles/align/align_vertical.css +64 -0
  186. package/dist/css/styles/border/border.css +13 -0
  187. package/dist/css/styles/border-color/border-color.css +28 -0
  188. package/dist/css/styles/caret-color/caret-color.css +13 -0
  189. package/dist/css/styles/constraints/constraints.css +59 -0
  190. package/dist/css/styles/cursor/cursor.css +9 -0
  191. package/dist/css/styles/direction/direction.css +10 -0
  192. package/dist/css/styles/elevation/elevation.css +7 -0
  193. package/dist/css/styles/elevation/elevation_hover.css +11 -0
  194. package/dist/css/styles/fill/fill.css +28 -0
  195. package/dist/css/styles/fill/fill_active.css +22 -0
  196. package/dist/css/styles/fill/fill_active_hover.css +24 -0
  197. package/dist/css/styles/fill/fill_disabled.css +22 -0
  198. package/dist/css/styles/fill/fill_hover.css +34 -0
  199. package/dist/css/styles/fill-gradient/fill-gradient.css +15 -0
  200. package/dist/css/styles/height/height.css +9 -0
  201. package/dist/css/styles/hover/hover-fill-color.css +13 -0
  202. package/dist/css/styles/hover/hover-item-color.css +15 -0
  203. package/dist/css/styles/hover/hover-text-color.css +15 -0
  204. package/dist/css/styles/mediaqueries.css +66 -0
  205. package/dist/css/styles/mixin_elevation.css +33 -0
  206. package/dist/css/styles/mixin_fill-gradient.css +23 -0
  207. package/dist/css/styles/mixin_global.css +54 -0
  208. package/dist/css/styles/opacity/opacity.css +7 -0
  209. package/dist/css/styles/placeholder-text-color/placeholder-text-color.css +15 -0
  210. package/dist/css/styles/position/position.css +14 -0
  211. package/dist/css/styles/resize-horizontal/resize-horizontal.css +12 -0
  212. package/dist/css/styles/resize-vertical/resize-vertical.css +10 -0
  213. package/dist/css/styles/shape/shape.css +8 -0
  214. package/dist/css/styles/text-align/text-align.css +7 -0
  215. package/dist/css/styles/text-color/text-color.css +13 -0
  216. package/dist/css/styles/text-color/text-color_active.css +15 -0
  217. package/dist/css/styles/text-color/text-color_hover.css +17 -0
  218. package/dist/css/styles/text-color-hover/text-color-hover.css +15 -0
  219. package/dist/css/styles/text-decoration/text-decoration.css +9 -0
  220. package/dist/css/styles/text-gradient/text-gradient.css +24 -0
  221. package/dist/css/styles/text-style/text-style.css +9 -0
  222. package/dist/css/styles/text-truncate/text-truncate.css +7 -0
  223. package/dist/css/styles/text-weight/text-weight.css +40 -0
  224. package/dist/css/styles/width/width.css +9 -0
  225. package/dist/css/styles/word-wrap/word-wrap.css +8 -0
  226. package/dist/hooks/styleAttributes.js +33 -0
  227. package/dist/hooks/useDeviceTargetClass.js +60 -0
  228. package/dist/hooks/useMediaQueries.js +134 -0
  229. package/dist/hooks/useStyles.js +16 -0
  230. package/dist/index-f1505c84.js +86 -0
  231. package/dist/objectWithoutProperties-ea190611.js +188 -0
  232. package/dist/useStyles-77c3b520.js +153 -0
  233. package/package.json +123 -0
@@ -0,0 +1,37 @@
1
+ .cookies-warning {
2
+ width: 100%;
3
+ max-width: 320px;
4
+ position: fixed;
5
+ right: 40px;
6
+ bottom: 20px;
7
+ z-index: 10000;
8
+ @media (--mobile) {
9
+ left: 50%;
10
+ right: 0;
11
+ transform: translate(-50%, 0);
12
+ }
13
+ &_state_hidden {
14
+ max-height: 1000px;
15
+ overflow: hidden;
16
+ animation-duration: 0.5s;
17
+ animation-fill-mode: both;
18
+ animation-name: cookieMessageClose;
19
+ }
20
+ &__inner {
21
+ background: var(--color-surface-primary);
22
+ padding: 32px;
23
+ position: relative;
24
+ @media (--mobile) {
25
+ min-width: auto;
26
+ }
27
+ }
28
+ }
29
+
30
+ @keyframes cookieMessageClose {
31
+ from {
32
+ max-height: 500px;
33
+ }
34
+ to {
35
+ max-height: 0;
36
+ }
37
+ }
@@ -0,0 +1,55 @@
1
+ .counter {
2
+ display: flex;
3
+ justify-content: center;
4
+ align-items: center;
5
+ border-radius: 50%;
6
+ }
7
+ .counter {
8
+ &_size {
9
+ @each $size in xxs, xs, s, m, l, xl, xxl {
10
+ &_$(size) {
11
+ min-width: var(--counter-width-size-$(size));
12
+ min-height: var(--counter-height-size-$(size));
13
+ max-height: var(--counter-height-size-$(size));
14
+ }
15
+ }
16
+ }
17
+ }
18
+ .counter {
19
+ &&_type {
20
+ &_accent {
21
+ background: var(--color-accent-primary);
22
+ color: var(--color-accent-text-primary);
23
+ }
24
+ }
25
+ }
26
+ .counter {
27
+ &&_type {
28
+ &_primary {
29
+ background: var(--color-primary);
30
+ color: var(--color-primary-text-primary);
31
+ }
32
+ }
33
+ }
34
+ :root {
35
+ --counter-width-size-xxs: 16px;
36
+ --counter-height-size-xxs: 16px;
37
+
38
+ --counter-width-size-xs: 18px;
39
+ --counter-height-size-xs: 18px;
40
+
41
+ --counter-width-size-s: 20px;
42
+ --counter-height-size-s: 20px;
43
+
44
+ --counter-width-size-m: 24px;
45
+ --counter-height-size-m: 24px;
46
+
47
+ --counter-width-size-l: 32px;
48
+ --counter-height-size-l: 32px;
49
+
50
+ --counter-width-size-xl: 40px;
51
+ --counter-height-size-xl: 40px;
52
+
53
+ --counter-width-size-xxl: 48px;
54
+ --counter-height-size-xxl: 48px;
55
+ }
@@ -0,0 +1,78 @@
1
+ .divider {
2
+ margin: 0;
3
+ padding: 0;
4
+ border: none;
5
+ }
6
+ .divider {
7
+ &_size {
8
+ &_xs {
9
+ height: 1px;
10
+ }
11
+ &_s {
12
+ height: 2px;
13
+ }
14
+ &_m {
15
+ height: 3px;
16
+ }
17
+ &_l {
18
+ height: 4px;
19
+ }
20
+ &_xl {
21
+ height: 5px;
22
+ }
23
+ }
24
+ &_direction {
25
+ &_horizontal {
26
+ &^^&_size {
27
+ &_xs {
28
+ height: 1px;
29
+ }
30
+ &_s {
31
+ height: 2px;
32
+ }
33
+ &_m {
34
+ height: 3px;
35
+ }
36
+ &_l {
37
+ height: 4px;
38
+ }
39
+ &_xl {
40
+ height: 5px;
41
+ }
42
+ }
43
+ }
44
+ &_vertical {
45
+ &^^&_size {
46
+ &_xs {
47
+ width: 1px;
48
+ }
49
+ &_s {
50
+ width: 2px;
51
+ }
52
+ &_m {
53
+ width: 3px;
54
+ }
55
+ &_l {
56
+ width: 4px;
57
+ }
58
+ &_xl {
59
+ width: 5px;
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ .divider {
66
+ &_direction {
67
+ &_horizontal {
68
+ display: flex;
69
+ min-width: 100%;
70
+ flex-direction: row;
71
+ }
72
+ &_vertical {
73
+ display: flex;
74
+ min-height: 100%;
75
+ flex-direction: column;
76
+ }
77
+ }
78
+ }
@@ -0,0 +1,58 @@
1
+ .dropdown {
2
+ display: flex;
3
+ align-items: center;
4
+ gap: 8px;
5
+ position: relative;
6
+ &__wrapper {
7
+ position: absolute;
8
+ top: 100%;
9
+ left: 0;
10
+ margin: 16px 0 0 0;
11
+ }
12
+ }
13
+ .dropdown {
14
+ &_animation {
15
+ &_close {
16
+ ^^&__wrapper {
17
+ animation-name: dropDownAnimationClose;
18
+ }
19
+ ^^&__button {
20
+ & .button__icon {
21
+ animation-name: dropDownButtonAnimationClose;
22
+ }
23
+ }
24
+ }
25
+ &_open {
26
+ ^^&__wrapper {
27
+ animation-name: dropDownAnimationOpen;
28
+ }
29
+ ^^&__button {
30
+ & .button__icon {
31
+ animation-name: dropDownButtonAnimationOpen;
32
+ }
33
+ }
34
+ }
35
+ }
36
+ }
37
+ .dropdown {
38
+ &_shape {
39
+ &_rounded {
40
+ border-radius: 4px;
41
+ position: relative;
42
+ }
43
+ }
44
+ }
45
+ .dropdown {
46
+ &&_state_close {
47
+ ^&__wrapper {
48
+
49
+ }
50
+ }
51
+ }
52
+ .dropdown {
53
+ &&_state_open {
54
+ ^&__wrapper {
55
+
56
+ }
57
+ }
58
+ }
@@ -0,0 +1,104 @@
1
+ .emoji {
2
+ position: relative;
3
+ }
4
+ .emoji {
5
+ &_direction {
6
+ @each $val in row, row-reverse, column, column-reverse {
7
+ &_$(val) {
8
+ display: flex;
9
+ flex-direction: $(val);
10
+ }
11
+ }
12
+ &_horizontal {
13
+ display: flex;
14
+ flex-direction: row;
15
+ }
16
+ &_vertical {
17
+ display: flex;
18
+ flex-direction: column;
19
+ }
20
+ }
21
+ }
22
+ .emoji {
23
+ &_shape {
24
+ &_rounded {
25
+ border-radius: 12px;
26
+ }
27
+ &_circular {
28
+ border-radius: 50%;
29
+ }
30
+ }
31
+ }
32
+ .emoji_size {
33
+ &_40 {
34
+ height: 40px;
35
+ width: 40px;
36
+ min-height: 40px;
37
+ min-width: 40px;
38
+ display: flex;
39
+ justify-content: center;
40
+ align-items: center;
41
+ font-size: 30px;
42
+ }
43
+
44
+ &_50 {
45
+ height: 50px;
46
+ width: 50px;
47
+ min-height: 50px;
48
+ min-width: 50px;
49
+ display: flex;
50
+ justify-content: center;
51
+ align-items: center;
52
+ font-size: 35px;
53
+ }
54
+
55
+ &_56 {
56
+ height: 56px;
57
+ width: 56px;
58
+ min-height: 56px;
59
+ min-width: 56px;
60
+ display: flex;
61
+ justify-content: center;
62
+ align-items: center;
63
+ font-size: 40px;
64
+ }
65
+
66
+ &_60 {
67
+ height: 60px;
68
+ width: 60px;
69
+ min-height: 60px;
70
+ min-width: 60px;
71
+ display: flex;
72
+ justify-content: center;
73
+ align-items: center;
74
+ font-size: 35px;
75
+ }
76
+
77
+ &_76 {
78
+ height: 76px;
79
+ width: 76px;
80
+ min-height: 76px;
81
+ min-width: 76px;
82
+ display: flex;
83
+ justify-content: center;
84
+ align-items: center;
85
+ font-size: 40px;
86
+ }
87
+ }
88
+ .emoji {
89
+ &__icon {
90
+ &-shape {
91
+ &_rounded {
92
+ border-radius: 12px;
93
+ }
94
+ &_circular {
95
+ border-radius: 50%;
96
+ }
97
+ }
98
+ }
99
+ }
100
+ .emoji {
101
+ &__icon {
102
+ position: relative;
103
+ }
104
+ }
@@ -0,0 +1,12 @@
1
+ .emoji {
2
+ &__icon {
3
+ &-shape {
4
+ &_rounded {
5
+ border-radius: 12px;
6
+ }
7
+ &_circular {
8
+ border-radius: 50%;
9
+ }
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,5 @@
1
+ .emoji {
2
+ &__icon {
3
+ position: relative;
4
+ }
5
+ }
@@ -0,0 +1,55 @@
1
+ .fader {
2
+ width: 100%;
3
+ height: 100%;
4
+ left: 0;
5
+ top: 0;
6
+ z-index: 1;
7
+ position: absolute;
8
+ background: red;
9
+ }
10
+ .fader {
11
+ &&_state {
12
+ &_visible {
13
+ position: fixed;
14
+ display: block;
15
+ visibility: visible !important;
16
+ animation-name: faderFadeIn;
17
+ }
18
+ &_hidden {
19
+ animation-name: faderFaderOut;
20
+ }
21
+ }
22
+ }
23
+ @keyframes faderFadeIn {
24
+ from {
25
+ opacity: 0%;
26
+ }
27
+ to {
28
+ opacity: 100%;
29
+ }
30
+ }
31
+ @keyframes faderFaderOut {
32
+ from {
33
+ opacity: 100%;
34
+ }
35
+ to {
36
+ opacity: 0%;
37
+ }
38
+ }
39
+ .fader {
40
+ &&_type_click {
41
+ opacity: 0;
42
+ }
43
+ }
44
+ .fader {
45
+ &&_type_modal {
46
+ opacity: 0;
47
+ display: none;
48
+ background: var(--color-fader);
49
+ backdrop-filter: blur(10px);
50
+ transition: opacity 1s ease-in-out;
51
+ animation-duration: 1s;
52
+ animation-fill-mode: both;
53
+ visibility: hidden;
54
+ }
55
+ }
@@ -0,0 +1,179 @@
1
+ .flex {
2
+ width: 100%;
3
+ display: flex;
4
+ &__wrapper {
5
+ width: 100%;
6
+ display: flex;
7
+ max-width: var(--max);
8
+ margin: 0 auto;
9
+ }
10
+ }
11
+ .flex {
12
+ @each $val in flex-start, flex-end, center, space-between, space-around, stretch {
13
+ &_align-content_$(val) {
14
+ & > div {
15
+ align-content: $(val);
16
+ }
17
+ }
18
+ }
19
+ }
20
+ .flex {
21
+ @each $val in stretch, flex-start, flex-end, center, baseline, auto {
22
+ &_align-self_$(val) {
23
+ & > div {
24
+ align-self: $(val);
25
+ }
26
+ }
27
+ &_align-items_$(val) {
28
+ & > div {
29
+ align-items: $(val);
30
+ }
31
+ }
32
+ }
33
+ }
34
+ .flex {
35
+ &_direction {
36
+ &_horizontal {
37
+ & > div {
38
+ flex-direction: row;
39
+ }
40
+ }
41
+ &_vertical {
42
+ & > div {
43
+ flex-direction: column;
44
+ }
45
+ }
46
+ &_horizontal-reverse {
47
+ & > div {
48
+ flex-direction: row-reverse;
49
+ }
50
+ }
51
+ &_vertical-reverse {
52
+ & > div {
53
+ flex-direction: column-reverse;
54
+ }
55
+ }
56
+ }
57
+ @each $val in row, row-reverse, column, column-reverse {
58
+ &&_direction_$(val) {
59
+ & > div {
60
+ flex-direction: $(val);
61
+ }
62
+ }
63
+ }
64
+ }
65
+ .flex {
66
+ @each $val in flex-start, flex-end, center, space-between, space-around, space-evenly {
67
+ &_justify-content_$(val) {
68
+ & > div {
69
+ justify-content: $(val);
70
+ }
71
+ }
72
+ }
73
+ }
74
+ .flex {
75
+ &_shape {
76
+ &_rounded {
77
+ border-radius: 12px;
78
+ }
79
+ &_circular {
80
+ border-radius: 50%;
81
+ }
82
+ }
83
+ }
84
+ .flex {
85
+ &_wrap {
86
+ &_wrap {
87
+ ^^&__wrapper {
88
+ flex-wrap: wrap;
89
+ }
90
+ }
91
+ &_nowrap {
92
+ ^^&__wrapper {
93
+ flex-wrap: nowrap;
94
+ }
95
+ }
96
+ &_wrap-reverse {
97
+ ^^&__wrapper {
98
+ flex-wrap: wrap-reverse;
99
+ }
100
+ }
101
+ }
102
+ }
103
+ .flex {
104
+ &__item {
105
+ display: flex;
106
+ }
107
+ }
108
+ .flex {
109
+ &__item {
110
+ @each $val in stretch, flex-start, flex-end, center, baseline, auto {
111
+ &_align-self_$(val) {
112
+ align-self: $(val);
113
+ }
114
+ &_align-items_$(val) {
115
+ align-items: $(val);
116
+ }
117
+ &_align-content_$(val) {
118
+ align-content: $(val);
119
+ }
120
+ }
121
+ }
122
+ }
123
+ .flex {
124
+ &__item {
125
+ &_direction {
126
+ &_horizontal {
127
+ flex-direction: row;
128
+ }
129
+ &_vertical {
130
+ flex-direction: column;
131
+ }
132
+ @each $val in row, row-reverse, column, column-reverse {
133
+ &_$(val) {
134
+ flex-direction: $(val);
135
+ }
136
+ }
137
+ }
138
+ }
139
+ }
140
+ .flex {
141
+ &__item {
142
+ @each $val in 0, 1 {
143
+ &_grow_$(val) {
144
+ flex-grow: $(val);
145
+ }
146
+ }
147
+ }
148
+ }
149
+ .flex {
150
+ &__item {
151
+ @each $val in flex-start, flex-end, center, space-between, space-around, space-evenly {
152
+ &_justify-content_$(val) {
153
+ justify-content: $(val);
154
+ }
155
+ }
156
+ }
157
+ }
158
+ .flex {
159
+ &__item {
160
+ &_shape {
161
+ &_rounded {
162
+ border-radius: 12px;
163
+ }
164
+ &_circular {
165
+ border-radius: 50%;
166
+ }
167
+ }
168
+ }
169
+ }
170
+ .flex {
171
+ &__item {
172
+ &_wrap {
173
+ &_wrap {
174
+ flex-wrap: wrap;
175
+ }
176
+ }
177
+ }
178
+ }
179
+
@@ -0,0 +1,5 @@
1
+ .flex {
2
+ &__item {
3
+ display: flex;
4
+ }
5
+ }
@@ -0,0 +1,15 @@
1
+ .flex {
2
+ &__item {
3
+ @each $val in stretch, flex-start, flex-end, center, baseline, auto {
4
+ &_align-self_$(val) {
5
+ align-self: $(val);
6
+ }
7
+ &_align-items_$(val) {
8
+ align-items: $(val);
9
+ }
10
+ &_align-content_$(val) {
11
+ align-content: $(val);
12
+ }
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,17 @@
1
+ .flex {
2
+ &__item {
3
+ &_direction {
4
+ &_horizontal {
5
+ flex-direction: row;
6
+ }
7
+ &_vertical {
8
+ flex-direction: column;
9
+ }
10
+ @each $val in row, row-reverse, column, column-reverse {
11
+ &_$(val) {
12
+ flex-direction: $(val);
13
+ }
14
+ }
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,9 @@
1
+ .flex {
2
+ &__item {
3
+ @each $val in 0, 1 {
4
+ &_grow_$(val) {
5
+ flex-grow: $(val);
6
+ }
7
+ }
8
+ }
9
+ }
@@ -0,0 +1,9 @@
1
+ .flex {
2
+ &__item {
3
+ @each $val in flex-start, flex-end, center, space-between, space-around, space-evenly {
4
+ &_justify-content_$(val) {
5
+ justify-content: $(val);
6
+ }
7
+ }
8
+ }
9
+ }
@@ -0,0 +1,12 @@
1
+ .flex {
2
+ &__item {
3
+ &_shape {
4
+ &_rounded {
5
+ border-radius: 12px;
6
+ }
7
+ &_circular {
8
+ border-radius: 50%;
9
+ }
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,9 @@
1
+ .flex {
2
+ &__item {
3
+ &_wrap {
4
+ &_wrap {
5
+ flex-wrap: wrap;
6
+ }
7
+ }
8
+ }
9
+ }