@steroidsjs/bootstrap 3.0.0-beta.6 → 3.0.0-beta.61

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 (279) hide show
  1. package/README.md +1 -2
  2. package/content/Accordion/AccordionItemView.d.ts +2 -0
  3. package/content/{Collapse/CollapseItemView.js → Accordion/AccordionItemView.js} +47 -22
  4. package/content/Accordion/AccordionItemView.scss +209 -0
  5. package/content/Accordion/AccordionView.d.ts +2 -0
  6. package/content/{Collapse/CollapseView.js → Accordion/AccordionView.js} +3 -3
  7. package/content/{Collapse/CollapseView.scss → Accordion/AccordionView.scss} +3 -4
  8. package/content/Alert/AlertView.js +3 -2
  9. package/content/Alert/AlertView.scss +19 -4
  10. package/content/Avatar/AvatarView.js +2 -3
  11. package/content/Avatar/AvatarView.scss +32 -39
  12. package/content/Badge/BadgeView.d.ts +3 -0
  13. package/content/Badge/BadgeView.js +25 -0
  14. package/content/Badge/BadgeView.scss +135 -0
  15. package/content/Calendar/CalendarView.js +1 -1
  16. package/content/Calendar/CalendarView.scss +240 -161
  17. package/content/Calendar/CaptionElement.js +23 -15
  18. package/content/Calendar/CaptionElement.scss +164 -106
  19. package/content/Card/CardView.js +37 -14
  20. package/content/Card/CardView.scss +139 -107
  21. package/content/CopyToClipboard/CopyToClipboardView.d.ts +3 -0
  22. package/content/CopyToClipboard/CopyToClipboardView.js +19 -0
  23. package/content/CopyToClipboard/CopyToClipboardView.scss +41 -0
  24. package/content/Detail/DetailView.scss +75 -52
  25. package/content/DropDown/DropDownView.d.ts +0 -1
  26. package/content/DropDown/DropDownView.js +6 -4
  27. package/content/DropDown/DropDownView.scss +196 -27
  28. package/content/Icon/IconView.d.ts +1 -2
  29. package/content/Icon/IconView.js +2 -2
  30. package/content/Icon/IconView.scss +1 -23
  31. package/content/Menu/MenuItemView.d.ts +2 -0
  32. package/content/Menu/MenuItemView.js +15 -0
  33. package/content/Menu/MenuItemView.scss +63 -0
  34. package/content/Menu/MenuView.d.ts +2 -0
  35. package/content/Menu/MenuView.js +30 -0
  36. package/content/Menu/MenuView.scss +43 -0
  37. package/form/AutoCompleteField/AutoCompleteFieldView.d.ts +1 -2
  38. package/form/AutoCompleteField/AutoCompleteFieldView.js +62 -8
  39. package/form/AutoCompleteField/AutoCompleteFieldView.scss +199 -142
  40. package/form/Button/ButtonView.d.ts +1 -2
  41. package/form/Button/ButtonView.js +13 -9
  42. package/form/Button/ButtonView.scss +168 -68
  43. package/form/CheckboxField/CheckboxFieldView.d.ts +1 -2
  44. package/form/CheckboxField/CheckboxFieldView.js +6 -4
  45. package/form/CheckboxField/CheckboxFieldView.scss +195 -36
  46. package/form/CheckboxListField/CheckboxListFieldView.d.ts +1 -2
  47. package/form/CheckboxListField/CheckboxListFieldView.js +18 -15
  48. package/form/CheckboxListField/CheckboxListFieldView.scss +7 -41
  49. package/form/DateField/DateFieldView.js +7 -6
  50. package/form/DateField/DateFieldView.scss +7 -74
  51. package/form/DateRangeField/DateRangeFieldView.js +10 -13
  52. package/form/DateRangeField/DateRangeFieldView.scss +29 -78
  53. package/form/DateTimeField/DateTimeFieldView.d.ts +1 -2
  54. package/form/DateTimeField/DateTimeFieldView.js +5 -5
  55. package/form/DateTimeField/DateTimeFieldView.scss +7 -109
  56. package/form/DateTimeRangeField/DateTimeRangeFieldView.js +9 -7
  57. package/form/DateTimeRangeField/DateTimeRangeFieldView.scss +25 -90
  58. package/form/DropDownField/DropDownFieldView.js +35 -47
  59. package/form/DropDownField/DropDownFieldView.scss +388 -182
  60. package/form/DropDownField/utils.d.ts +2 -0
  61. package/form/DropDownField/utils.js +15 -0
  62. package/form/DropDownFieldItem/DropDownFieldItemView.d.ts +2 -0
  63. package/form/DropDownFieldItem/DropDownFieldItemView.js +81 -0
  64. package/form/DropDownFieldItem/DropDownFieldItemView.scss +218 -0
  65. package/form/FieldLayout/FieldLayoutView.d.ts +1 -2
  66. package/form/FieldLayout/FieldLayoutView.js +13 -9
  67. package/form/FieldLayout/FieldLayoutView.scss +114 -19
  68. package/form/FieldList/FieldListItemView.js +6 -4
  69. package/form/FieldList/FieldListItemView.scss +17 -39
  70. package/form/FieldList/FieldListView.js +9 -8
  71. package/form/FieldList/FieldListView.scss +58 -18
  72. package/form/FieldSet/FieldSetView.js +4 -2
  73. package/form/FieldSet/FieldSetView.scss +39 -0
  74. package/form/FileField/FileFieldItemView.d.ts +1 -2
  75. package/form/FileField/FileFieldItemView.js +31 -6
  76. package/form/FileField/FileFieldItemView.scss +254 -13
  77. package/form/FileField/FileFieldView.d.ts +1 -2
  78. package/form/FileField/FileFieldView.js +6 -8
  79. package/form/FileField/FileFieldView.scss +34 -4
  80. package/form/Form/FormView.js +1 -4
  81. package/form/Form/FormView.scss +1 -14
  82. package/form/HtmlField/HtmlFieldView.d.ts +1 -2
  83. package/form/HtmlField/HtmlFieldView.scss +6 -3
  84. package/form/ImageField/ImageFieldView.js +1 -1
  85. package/form/InputField/InputFieldView.d.ts +1 -2
  86. package/form/InputField/InputFieldView.js +30 -13
  87. package/form/InputField/InputFieldView.scss +265 -99
  88. package/form/NumberField/NumberFieldView.d.ts +1 -2
  89. package/form/NumberField/NumberFieldView.js +19 -13
  90. package/form/NumberField/NumberFieldView.scss +195 -89
  91. package/form/PasswordField/PasswordFieldView.d.ts +1 -2
  92. package/form/PasswordField/PasswordFieldView.js +11 -9
  93. package/form/PasswordField/PasswordFieldView.scss +231 -63
  94. package/form/RadioField/RadioFieldView.d.ts +2 -0
  95. package/form/RadioField/RadioFieldView.js +57 -0
  96. package/form/RadioField/RadioFieldView.scss +226 -0
  97. package/form/RadioListField/RadioListFieldView.d.ts +1 -2
  98. package/form/RadioListField/RadioListFieldView.js +20 -16
  99. package/form/RadioListField/RadioListFieldView.scss +11 -1
  100. package/form/ReCaptchaField/ReCaptchaFieldView.d.ts +1 -2
  101. package/form/ReCaptchaField/ReCaptchaFieldView.js +2 -2
  102. package/form/SliderField/SliderFieldView.d.ts +1 -2
  103. package/form/SliderField/SliderFieldView.js +1 -1
  104. package/form/SliderField/SliderFieldView.scss +336 -299
  105. package/form/SwitcherField/SwitcherFieldView.d.ts +1 -2
  106. package/form/SwitcherField/SwitcherFieldView.js +12 -7
  107. package/form/SwitcherField/SwitcherFieldView.scss +188 -1
  108. package/form/TextField/TextFieldView.d.ts +1 -2
  109. package/form/TextField/TextFieldView.js +10 -2
  110. package/form/TextField/TextFieldView.scss +144 -2
  111. package/form/TimeField/TimeFieldView.d.ts +1 -2
  112. package/icons/index.d.ts +2 -0
  113. package/icons/index.js +103 -0
  114. package/icons/svgs/add.svg +4 -0
  115. package/icons/svgs/add_square.svg +5 -0
  116. package/icons/svgs/arrow_down_18x18.svg +4 -0
  117. package/icons/svgs/arrow_down_24x24.svg +4 -0
  118. package/icons/svgs/arrow_drop_down_10x10.svg +3 -0
  119. package/icons/svgs/arrow_left_18x18.svg +4 -0
  120. package/icons/svgs/arrow_left_24x24.svg +4 -0
  121. package/icons/svgs/arrow_right_18x18.svg +4 -0
  122. package/icons/svgs/arrow_right_24x24.svg +4 -0
  123. package/icons/svgs/arrow_up_18x18.svg +4 -0
  124. package/icons/svgs/arrow_up_24x24.svg +4 -0
  125. package/icons/svgs/blank.svg +4 -0
  126. package/icons/svgs/calendar_check.svg +5 -0
  127. package/icons/svgs/calendar_range.svg +8 -0
  128. package/icons/svgs/cancel_ellips.svg +4 -0
  129. package/icons/svgs/chart.svg +6 -0
  130. package/icons/svgs/checkmark_12x12.svg +4 -0
  131. package/icons/svgs/checkmark_8x8.svg +4 -0
  132. package/icons/svgs/circle_cross_12x12.svg +4 -0
  133. package/icons/svgs/circle_cross_16x16.svg +4 -0
  134. package/icons/svgs/circle_cross_18x18.svg +4 -0
  135. package/icons/svgs/clip.svg +3 -0
  136. package/icons/svgs/copy.svg +5 -0
  137. package/icons/svgs/cross_12x12.svg +4 -0
  138. package/icons/svgs/cross_4x4.svg +3 -0
  139. package/icons/svgs/cross_8x8.svg +4 -0
  140. package/icons/svgs/cut.svg +3 -0
  141. package/icons/svgs/date_range.svg +8 -0
  142. package/icons/svgs/default_16x16.svg +4 -0
  143. package/icons/svgs/default_24x24.svg +11 -0
  144. package/icons/svgs/double_arrow_down.svg +5 -0
  145. package/icons/svgs/double_arrow_left.svg +5 -0
  146. package/icons/svgs/double_arrow_right.svg +5 -0
  147. package/icons/svgs/double_arrow_up.svg +5 -0
  148. package/icons/svgs/doughnut_chart.svg +5 -0
  149. package/icons/svgs/edit.svg +4 -0
  150. package/icons/svgs/error_16x16.svg +5 -0
  151. package/icons/svgs/error_24x24.svg +12 -0
  152. package/icons/svgs/expand_down.svg +3 -0
  153. package/icons/svgs/expand_left.svg +3 -0
  154. package/icons/svgs/expand_left_double.svg +4 -0
  155. package/icons/svgs/expand_right.svg +3 -0
  156. package/icons/svgs/expand_right_double.svg +4 -0
  157. package/icons/svgs/expand_up.svg +3 -0
  158. package/icons/svgs/file_dock.svg +6 -0
  159. package/icons/svgs/filter.svg +3 -0
  160. package/icons/svgs/fluid.svg +4 -0
  161. package/icons/svgs/folder.svg +3 -0
  162. package/icons/svgs/group.svg +8 -0
  163. package/icons/svgs/home.svg +4 -0
  164. package/icons/svgs/img_box.svg +5 -0
  165. package/icons/svgs/import.svg +4 -0
  166. package/icons/svgs/info_16x16.svg +5 -0
  167. package/icons/svgs/info_24x24.svg +12 -0
  168. package/icons/svgs/left_12x12.svg +3 -0
  169. package/icons/svgs/loading_default.svg +3 -0
  170. package/icons/svgs/loading_icon_thick.svg +3 -0
  171. package/icons/svgs/loading_purple.svg +9 -0
  172. package/icons/svgs/map.svg +7 -0
  173. package/icons/svgs/menu_dots.svg +5 -0
  174. package/icons/svgs/menu_left.svg +5 -0
  175. package/icons/svgs/minis_sq.svg +4 -0
  176. package/icons/svgs/paste.svg +8 -0
  177. package/icons/svgs/pie_chart.svg +5 -0
  178. package/icons/svgs/pin.svg +4 -0
  179. package/icons/svgs/sad.svg +6 -0
  180. package/icons/svgs/search.svg +4 -0
  181. package/icons/svgs/setting_line.svg +3 -0
  182. package/icons/svgs/share.svg +7 -0
  183. package/icons/svgs/star.svg +3 -0
  184. package/icons/svgs/success_16x16.svg +4 -0
  185. package/icons/svgs/success_24x24.svg +11 -0
  186. package/icons/svgs/support.svg +3 -0
  187. package/icons/svgs/trash.svg +6 -0
  188. package/icons/svgs/upload.svg +4 -0
  189. package/icons/svgs/user.svg +4 -0
  190. package/icons/svgs/view.svg +4 -0
  191. package/icons/svgs/view_hide.svg +5 -0
  192. package/icons/svgs/warning_16x16.svg +5 -0
  193. package/icons/svgs/warning_24x24.svg +12 -0
  194. package/index.d.ts +26 -2
  195. package/index.js +28 -4
  196. package/index.scss +16 -3
  197. package/layout/Header/HeaderView.scss +3 -3
  198. package/layout/Loader/LoaderView.d.ts +2 -2
  199. package/layout/Loader/LoaderView.js +6 -2
  200. package/layout/Loader/LoaderView.scss +67 -22
  201. package/layout/Notifications/NotificationsItemView.d.ts +1 -2
  202. package/layout/Notifications/NotificationsView.d.ts +1 -2
  203. package/layout/ProgressBar/CircleProgressBarView.d.ts +1 -2
  204. package/layout/ProgressBar/LineProgressBarView.d.ts +1 -2
  205. package/layout/Tooltip/TooltipView.d.ts +1 -2
  206. package/layout/Tooltip/TooltipView.js +6 -6
  207. package/layout/Tooltip/TooltipView.scss +45 -37
  208. package/list/CheckboxColumn/CheckboxColumnView.d.ts +1 -2
  209. package/list/CheckboxColumn/CheckboxColumnView.js +2 -1
  210. package/list/ControlsColumnView/ControlsColumnView.d.ts +1 -2
  211. package/list/Grid/GridView.js +8 -4
  212. package/list/Grid/GridView.scss +148 -37
  213. package/list/Grid/views/ContentColumnView/ContentColumnView.d.ts +3 -0
  214. package/list/Grid/views/ContentColumnView/ContentColumnView.js +51 -0
  215. package/list/Grid/views/ContentColumnView/ContentColumnView.scss +88 -0
  216. package/list/Grid/views/ContentColumnView/index.d.ts +2 -0
  217. package/list/Grid/views/ContentColumnView/index.js +7 -0
  218. package/list/List/ListItemView.d.ts +1 -2
  219. package/list/List/ListView.js +5 -7
  220. package/list/List/ListView.scss +32 -1
  221. package/list/Pagination/PaginationButtonView.js +34 -5
  222. package/list/Pagination/PaginationButtonView.scss +265 -1
  223. package/list/Pagination/PaginationMoreView.js +1 -1
  224. package/list/Pagination/PaginationMoreView.scss +4 -1
  225. package/modal/Modal/ModalView.d.ts +1 -2
  226. package/modal/Modal/ModalView.js +4 -7
  227. package/modal/Modal/ModalView.scss +128 -93
  228. package/modal/TwoFactorModal/TwoFactorModalView.d.ts +1 -2
  229. package/nav/Breadcrubms/BreadcrumbsView.js +9 -1
  230. package/nav/Breadcrubms/BreadcrumbsView.scss +49 -0
  231. package/nav/ButtonGroup/ButtonGroupView.d.ts +2 -0
  232. package/nav/ButtonGroup/ButtonGroupView.js +32 -0
  233. package/nav/ButtonGroup/ButtonGroupView.scss +83 -0
  234. package/nav/Controls/ControlsView.d.ts +1 -2
  235. package/nav/Controls/ControlsView.scss +9 -3
  236. package/nav/Nav/NavBarView.d.ts +1 -2
  237. package/nav/Nav/NavButtonView.d.ts +1 -2
  238. package/nav/Nav/NavIconView.d.ts +1 -2
  239. package/nav/Nav/NavIconView.js +1 -1
  240. package/nav/Nav/NavLinkView.d.ts +1 -2
  241. package/nav/Nav/NavListView.d.ts +1 -2
  242. package/nav/Nav/NavListView.js +1 -1
  243. package/nav/Nav/NavTabsView.d.ts +1 -2
  244. package/nav/Nav/NavTabsView.js +1 -1
  245. package/nav/Tree/TreeView.d.ts +1 -2
  246. package/nav/Tree/TreeView.scss +14 -11
  247. package/package.json +56 -56
  248. package/scss/animations/index.scss +1 -0
  249. package/scss/animations/loading.scss +13 -0
  250. package/scss/fonts.scss +6 -0
  251. package/scss/mixins/button.scss +80 -24
  252. package/scss/mixins/customMixins.scss +5 -0
  253. package/scss/mixins/date.scss +397 -0
  254. package/scss/mixins/index.scss +4 -1
  255. package/scss/mixins/scroll.scss +31 -0
  256. package/scss/mixins/typography.scss +26 -0
  257. package/scss/variables/common/colors.scss +119 -69
  258. package/scss/variables/common/media.scss +2 -0
  259. package/scss/variables/common/typography.scss +96 -28
  260. package/scss/variables/common/variables.scss +1 -0
  261. package/scss/variables/components/input.scss +7 -6
  262. package/scss/variables/index.scss +3 -2
  263. package/scss/variables/normalize.scss +25 -0
  264. package/typography/Text/TextView.d.ts +3 -0
  265. package/typography/Text/TextView.js +46 -0
  266. package/typography/Text/TextView.scss +16 -0
  267. package/typography/Title/TitleView.d.ts +3 -0
  268. package/typography/Title/TitleView.js +50 -0
  269. package/typography/Title/TitleView.scss +16 -0
  270. package/utils/renderIcon.d.ts +9 -0
  271. package/utils/renderIcon.js +27 -0
  272. package/content/Collapse/CollapseItemView.d.ts +0 -2
  273. package/content/Collapse/CollapseItemView.scss +0 -88
  274. package/content/Collapse/CollapseView.d.ts +0 -2
  275. package/icons/fontawesome.d.ts +0 -2
  276. package/icons/fontawesome.js +0 -254
  277. package/list/List/ListItemView.scss +0 -3
  278. package/scss/mixins/card.scss +0 -26
  279. package/scss/variables/components/card.scss +0 -20
@@ -33,18 +33,23 @@ var __importStar = (this && this.__importStar) || function (mod) {
33
33
  __setModuleDefault(result, mod);
34
34
  return result;
35
35
  };
36
- var __importDefault = (this && this.__importDefault) || function (mod) {
37
- return (mod && mod.__esModule) ? mod : { "default": mod };
38
- };
39
36
  exports.__esModule = true;
40
37
  var React = __importStar(require("react"));
41
- var get_1 = __importDefault(require("lodash-es/get"));
42
- var Button_1 = __importDefault(require("@steroidsjs/core/ui/form/Button"));
43
38
  var hooks_1 = require("@steroidsjs/core/hooks");
44
39
  function SwitcherFieldView(props) {
45
40
  var bem = (0, hooks_1.useBem)('SwitcherFieldView');
46
- return (React.createElement("div", { className: bem(bem.block({
41
+ var prefix = (0, hooks_1.useUniqueId)('switcher');
42
+ var renderLabel = React.useCallback(function (item) {
43
+ if (typeof item.label === 'object') {
44
+ return props.selectedIds.includes(item.id) ? item.label.checked : item.label.unchecked;
45
+ }
46
+ return item.label;
47
+ }, [props.selectedIds]);
48
+ return (React.createElement("div", { className: bem(bem.block(), props.className), style: props.style }, props.items.map(function (switcher, switcherIndex) { return (React.createElement("label", { key: switcherIndex, className: bem.element('switcher', {
47
49
  size: props.size
48
- }), props.className, 'btn-group') }, props.items.map(function (item) { return (React.createElement(Button_1["default"], __assign({ key: String(item[props.primaryKey]) }, props.buttonProps, { className: bem((0, get_1["default"])(props, 'buttonProps.className'), props.hoveredId === item[props.primaryKey] && 'hover', props.selectedIds.includes(item[props.primaryKey]) && 'active'), disabled: props.disabled, onClick: function () { return props.onItemSelect(item[props.primaryKey]); }, onMouseOver: function () { return props.onItemHover(item[props.primaryKey]); }, layout: false }), item.label)); })));
50
+ }), htmlFor: "".concat(prefix, "_").concat(switcher.id) },
51
+ React.createElement("input", __assign({}, props.inputProps, { id: "".concat(prefix, "_").concat(switcher.id), onChange: function () { return props.onItemSelect(switcher.id); }, checked: props.selectedIds.includes(switcher.id), className: bem.element('input') })),
52
+ React.createElement("span", { className: bem.element('slider') }),
53
+ React.createElement("span", { className: bem.element('label') }, renderLabel(switcher)))); })));
49
54
  }
50
55
  exports["default"] = SwitcherFieldView;
@@ -1,2 +1,189 @@
1
+ :root {
2
+ --switcher-dot-disabled-color: #dbe2e6;
3
+ --switcher-slider-disabled-color: #f1f5f7;
4
+ }
5
+
6
+ html[data-theme="dark"] {
7
+ --switcher-dot-disabled-color: #4e4f57;
8
+ --switcher-slider-disabled-color: #5b5c6b;
9
+ }
10
+
11
+ $switcher-dot-disabled-color: var(--switcher-dot-disabled-color);
12
+ $switcher-slider-disabled-color: var(--switcher-slider-disabled-color);
13
+
14
+ $background-color-transition-timing: 150ms;
15
+
1
16
  .SwitcherFieldView {
2
- }
17
+ $root: &;
18
+ display: flex;
19
+ flex-flow: column nowrap;
20
+ align-items: flex-start;
21
+ row-gap: 10px;
22
+
23
+ &__switcher {
24
+ display: inline-flex;
25
+ column-gap: 12px;
26
+ align-items: center;
27
+ position: relative;
28
+ cursor: pointer;
29
+
30
+ $sizes: () !default;
31
+ $sizes: map-merge(
32
+ (
33
+ "lg": (
34
+ "width": 40px,
35
+ "height": 24px,
36
+ "dotSize": 18px,
37
+ "dotTranslateDefault": translateY(-50%) translateX(4px),
38
+ "dotTranslateActive": translateY(-50%) translateX(16px),
39
+ "font-size": $font-size-lg,
40
+ "line-height": $line-height-lg,
41
+ ),
42
+ "md": (
43
+ "width": 34px,
44
+ "height": 20px,
45
+ "dotSize": 14px,
46
+ "dotTranslateDefault": translateY(-50%) translateX(3px),
47
+ "dotTranslateActive": translateY(-50%) translateX(15px),
48
+ "font-size": $font-size-base,
49
+ "line-height": $line-height-base,
50
+ ),
51
+ "sm": (
52
+ "width": 28px,
53
+ "height": 16px,
54
+ "dotSize": 12px,
55
+ "dotTranslateDefault": translateY(-50%) translateX(2px),
56
+ "dotTranslateActive": translateY(-50%) translateX(12px),
57
+ "font-size": $font-size-sm,
58
+ "line-height": $line-height-sm,
59
+ ),
60
+ ),
61
+ $sizes
62
+ );
63
+
64
+ &_size {
65
+ @each $size, $sizeMap in $sizes {
66
+ &_#{$size} {
67
+ #{$root}__slider {
68
+ width: map-get($sizeMap, width);
69
+ height: map-get($sizeMap, height);
70
+
71
+ &::before {
72
+ width: map-get($sizeMap, dotSize);
73
+ height: map-get($sizeMap, dotSize);
74
+ transform: map-get($sizeMap, dotTranslateDefault);
75
+ }
76
+ }
77
+
78
+ #{$root}__input:checked + #{$root}__slider {
79
+ &::before {
80
+ transform: map-get($sizeMap, dotTranslateActive);
81
+ }
82
+ }
83
+
84
+ #{$root}__label {
85
+ font-size: map-get($sizeMap, font-size);
86
+ line-height: map-get($sizeMap, line-height);
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+
93
+ &__input {
94
+ position: absolute;
95
+ cursor: pointer;
96
+ z-index: 3;
97
+ opacity: 0;
98
+ top: 0;
99
+ left: 0;
100
+ right: 0;
101
+ bottom: 0;
102
+
103
+ &:checked + #{$root}__slider {
104
+ background-color: $primary;
105
+ border-color: transparent;
106
+
107
+ &::before {
108
+ background-color: $white;
109
+ }
110
+
111
+ &::after {
112
+ border-color: $primary-light;
113
+ }
114
+ }
115
+
116
+ &:hover:not(:checked):not(:disabled) + #{$root}__slider {
117
+ &::before {
118
+ background-color: $gray-dark;
119
+ }
120
+ }
121
+
122
+ &:checked:hover + #{$root}__slider {
123
+ background-color: $primary-dark;
124
+ }
125
+
126
+ &:focus:not(:active) + #{$root}__slider {
127
+ &:after {
128
+ opacity: 1;
129
+ }
130
+ }
131
+
132
+ &:disabled {
133
+ cursor: not-allowed;
134
+ }
135
+
136
+ &:disabled ~ #{$root}__label {
137
+ color: $gray;
138
+ }
139
+
140
+ &:disabled + #{$root}__slider {
141
+ background-color: $switcher-slider-disabled-color;
142
+
143
+ &::before {
144
+ background-color: $switcher-dot-disabled-color;
145
+ }
146
+ }
147
+ }
148
+
149
+ &__slider {
150
+ width: 100%;
151
+ height: 100%;
152
+ position: relative;
153
+ display: inline-block;
154
+ border: 1px solid $gray;
155
+ border-radius: 200px;
156
+ transition: background-color $background-color-transition-timing ease-in-out;
157
+
158
+ &::after {
159
+ position: absolute;
160
+ content: "";
161
+ top: 0;
162
+ left: 0;
163
+ right: 0;
164
+ bottom: 0;
165
+ display: inline-block;
166
+ height: calc(100% + 2px);
167
+ width: calc(100% + 2px);
168
+ border-radius: inherit;
169
+ border: 4px solid $gray;
170
+ transform: translateX(-5px) translateY(-5px);
171
+ opacity: 0;
172
+ pointer-events: none;
173
+ }
174
+
175
+ &::before {
176
+ position: absolute;
177
+ content: "";
178
+ display: inline-block;
179
+ top: 50%;
180
+ border-radius: $radius-circle;
181
+ background-color: $gray;
182
+ transition: transform 100ms ease-in-out, background-color $background-color-transition-timing ease-in-out;
183
+ }
184
+ }
185
+
186
+ &__label {
187
+ color: $text-color;
188
+ }
189
+ }
@@ -1,3 +1,2 @@
1
- import { IBemHocOutput } from '@steroidsjs/core/hoc/bem';
2
1
  import { ITextFieldViewProps } from '@steroidsjs/core/ui/form/TextField/TextField';
3
- export default function TextFieldView(props: ITextFieldViewProps & IBemHocOutput): JSX.Element;
2
+ export default function TextFieldView(props: ITextFieldViewProps): JSX.Element;
@@ -33,13 +33,21 @@ var __importStar = (this && this.__importStar) || function (mod) {
33
33
  __setModuleDefault(result, mod);
34
34
  return result;
35
35
  };
36
+ var __importDefault = (this && this.__importDefault) || function (mod) {
37
+ return (mod && mod.__esModule) ? mod : { "default": mod };
38
+ };
36
39
  exports.__esModule = true;
37
40
  var React = __importStar(require("react"));
38
41
  var hooks_1 = require("@steroidsjs/core/hooks");
42
+ var Icon_1 = __importDefault(require("@steroidsjs/core/ui/content/Icon"));
39
43
  function TextFieldView(props) {
40
44
  var bem = (0, hooks_1.useBem)('TextFieldView');
41
- return (React.createElement("textarea", __assign({ className: bem(bem.block({
45
+ return (React.createElement("div", { className: bem(bem.block({
46
+ hasErrors: !!props.errors,
47
+ filled: !!props.inputProps.value,
42
48
  size: props.size
43
- }), 'form-control', 'form-control-' + props.size, !!props.errors && 'is-invalid', props.className) }, props.inputProps)));
49
+ }), props.className) },
50
+ React.createElement("textarea", __assign({ className: bem.element('textarea'), id: props.id }, props.inputProps)),
51
+ props.showClear && (React.createElement(Icon_1["default"], { className: bem.element('clear'), name: "cross_8x8", onClick: props.onClear }))));
44
52
  }
45
53
  exports["default"] = TextFieldView;
@@ -1,4 +1,146 @@
1
+ :root {
2
+ --text-field-disabled-clear-color: #e5e9eb;
3
+ --text-field-active-clear-color: #323232;
4
+ --text-field-background-color: #ffffff;
5
+ --text-field-border-color:
6
+ }
7
+
8
+ html[data-theme="dark"] {
9
+ --text-field-background-color: #414141;
10
+ --text-field-disabled-clear-color: #4e4f57;
11
+ --text-field-active-clear-color: #ffffff;
12
+ }
13
+
14
+ $text-field-background-color: var(--text-field-background-color);
15
+ $text-field-disabled-clear-color: var(--text-field-disabled-clear-color);
16
+ $text-field-active-clear-color: var(--text-field-active-clear-color);
17
+
1
18
  .TextFieldView {
2
- min-height: 38px;
3
- box-sizing: border-box;
19
+ $root: &;
20
+
21
+ position: relative;
22
+ font-family: $font-family-nunito;
23
+
24
+ &_hasErrors {
25
+ #{$root}__textarea {
26
+ border-color: $danger;
27
+ }
28
+ }
29
+
30
+ &__clear {
31
+ position: absolute;
32
+ width: 24px;
33
+ height: 24px;
34
+ z-index: 3;
35
+ top: 3%;
36
+ right: 10px;
37
+
38
+ transition: opacity 150ms ease-in-out;
39
+ opacity: 0;
40
+ pointer-events: none;
41
+
42
+ svg {
43
+ path {
44
+ stroke: $background-disabled-color;
45
+ stroke-width: 1.5px;
46
+ }
47
+ }
48
+
49
+ &:focus {
50
+ outline: none;
51
+ }
52
+ }
53
+
54
+ &__textarea {
55
+ width: 100%;
56
+ min-width: 240px;
57
+ min-height: 80px;
58
+ height: 80px;
59
+
60
+ border-radius: $radius-small;
61
+ background-color: $text-field-background-color;
62
+
63
+ padding: 5px 40px 8px 8px;
64
+
65
+ font-size: $font-size-sm;
66
+ font-weight: 400;
67
+ line-height: 24px;
68
+ z-index: 2;
69
+ outline: none;
70
+ color: $text-color;
71
+ border: 1px solid $border-color;
72
+
73
+ &::placeholder {
74
+ color: $placeholder-color;
75
+ }
76
+
77
+ &:hover {
78
+ border-color: $border-color-hover;
79
+ }
80
+
81
+ &:focus {
82
+ border: 4px solid $primary-light;
83
+ }
84
+
85
+ &:active {
86
+ border: 1px solid $primary;
87
+ }
88
+
89
+ &:disabled {
90
+ background-color: $background-disabled-color;
91
+ border: none;
92
+ resize: none;
93
+ }
94
+
95
+ &:disabled::placeholder {
96
+ color: $placeholder-disabled-color;
97
+ }
98
+
99
+ &:disabled + #{$root}__clear {
100
+ display: none;
101
+ }
102
+
103
+ &:not(:disabled):focus + #{$root}__clear {
104
+ svg {
105
+ path {
106
+ stroke: $text-field-active-clear-color;
107
+ }
108
+ }
109
+ }
110
+ }
111
+
112
+ &_size {
113
+ &_lg {
114
+ #{$root}__textarea {
115
+ height: 130px;
116
+ min-height: 130px;
117
+ border-radius: $radius-large;
118
+ font-size: $font-size-lg;
119
+ }
120
+ }
121
+
122
+ &_md {
123
+ #{$root}__textarea {
124
+ height: 100px;
125
+ min-height: 100px;
126
+ border-radius: $radius-large;
127
+ font-size: $font-size-base;
128
+ }
129
+ }
130
+
131
+ &_sm {
132
+ #{$root}__textarea {
133
+ height: 80px;
134
+ border-radius: $radius-small;
135
+ font-size: $font-size-sm;
136
+ }
137
+ }
138
+ }
139
+
140
+ &_filled {
141
+ #{$root}__clear {
142
+ opacity: 1;
143
+ pointer-events: all;
144
+ }
145
+ }
4
146
  }
@@ -1,3 +1,2 @@
1
- import { IBemHocOutput } from '@steroidsjs/core/hoc/bem';
2
1
  import { ITimeFieldViewProps } from '@steroidsjs/core/ui/form/TimeField/TimeField';
3
- export default function TimeFieldView(props: ITimeFieldViewProps & IBemHocOutput): JSX.Element;
2
+ export default function TimeFieldView(props: ITimeFieldViewProps): JSX.Element;
@@ -0,0 +1,2 @@
1
+ declare const _default: (customIcons: Record<string, any>) => {};
2
+ export default _default;
package/icons/index.js ADDED
@@ -0,0 +1,103 @@
1
+ "use strict";
2
+ /* eslint-disable import/no-dynamic-require */
3
+ var __assign = (this && this.__assign) || function () {
4
+ __assign = Object.assign || function(t) {
5
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
6
+ s = arguments[i];
7
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
8
+ t[p] = s[p];
9
+ }
10
+ return t;
11
+ };
12
+ return __assign.apply(this, arguments);
13
+ };
14
+ exports.__esModule = true;
15
+ exports["default"] = (function (customIcons) {
16
+ // All icons
17
+ var icons = {};
18
+ var steroidsIcons = [
19
+ 'add',
20
+ 'add_square',
21
+ 'arrow_down_18x18',
22
+ 'arrow_down_24x24',
23
+ 'arrow_drop_down_10x10',
24
+ 'arrow_left_18x18',
25
+ 'arrow_left_24x24',
26
+ 'arrow_right_18x18',
27
+ 'arrow_right_24x24',
28
+ 'arrow_up_18x18',
29
+ 'arrow_up_24x24',
30
+ 'blank',
31
+ 'calendar_check',
32
+ 'chart',
33
+ 'checkmark_12x12',
34
+ 'checkmark_8x8',
35
+ 'circle_cross_12x12',
36
+ 'circle_cross_16x16',
37
+ 'circle_cross_18x18',
38
+ 'copy',
39
+ 'cross_12x12',
40
+ 'cross_8x8',
41
+ 'default_16x16',
42
+ 'default_24x24',
43
+ 'cut',
44
+ 'error_16x16',
45
+ 'error_24x24',
46
+ 'calendar_range',
47
+ 'double_arrow_down',
48
+ 'double_arrow_left',
49
+ 'double_arrow_right',
50
+ 'double_arrow_up',
51
+ 'doughnut_chart',
52
+ 'edit',
53
+ 'expand_down',
54
+ 'expand_left',
55
+ 'expand_left_double',
56
+ 'expand_right',
57
+ 'expand_right_double',
58
+ 'file_dock',
59
+ 'filter',
60
+ 'fluid',
61
+ 'folder',
62
+ 'group',
63
+ 'home',
64
+ 'img_box',
65
+ 'import',
66
+ 'info_16x16',
67
+ 'info_24x24',
68
+ 'loading_purple',
69
+ 'loading_default',
70
+ 'loading_icon_thick',
71
+ 'map',
72
+ 'menu_dots',
73
+ 'menu_left',
74
+ 'minis_sq',
75
+ 'paste',
76
+ 'pie_chart',
77
+ 'pin',
78
+ 'sad',
79
+ 'search',
80
+ 'setting_line',
81
+ 'share',
82
+ 'star',
83
+ 'success_16x16',
84
+ 'success_24x24',
85
+ 'support',
86
+ 'trash',
87
+ 'upload',
88
+ 'user',
89
+ 'view_hide',
90
+ 'warning_16x16',
91
+ 'warning_24x24',
92
+ 'clip',
93
+ 'view',
94
+ 'cross_4x4',
95
+ 'expand_up',
96
+ 'left_12x12',
97
+ 'cancel_ellips',
98
+ ];
99
+ steroidsIcons.forEach(function (iconName) {
100
+ icons[iconName] = require("./svgs/".concat(iconName, ".svg"));
101
+ });
102
+ return __assign(__assign({}, icons), customIcons);
103
+ });
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12 6L12 18" stroke="#323232" stroke-linecap="round"/>
3
+ <path d="M18 12L6 12" stroke="#323232" stroke-linecap="round"/>
4
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M3.5 11C3.5 9.10025 3.50106 7.72573 3.64199 6.67754C3.78098 5.64373 4.04772 5.00253 4.52513 4.52513C5.00253 4.04772 5.64373 3.78098 6.67754 3.64199C7.72573 3.50106 9.10025 3.5 11 3.5H13C14.8998 3.5 16.2743 3.50106 17.3225 3.64199C18.3563 3.78098 18.9975 4.04772 19.4749 4.52513C19.9523 5.00253 20.219 5.64373 20.358 6.67754C20.4989 7.72573 20.5 9.10025 20.5 11V13C20.5 14.8998 20.4989 16.2743 20.358 17.3225C20.219 18.3563 19.9523 18.9975 19.4749 19.4749C18.9975 19.9523 18.3563 20.219 17.3225 20.358C16.2743 20.4989 14.8998 20.5 13 20.5H11C9.10025 20.5 7.72573 20.4989 6.67754 20.358C5.64373 20.219 5.00253 19.9523 4.52513 19.4749C4.04772 18.9975 3.78098 18.3563 3.64199 17.3225C3.50106 16.2743 3.5 14.8998 3.5 13V11Z" stroke="#323232"/>
3
+ <path d="M12 8L12 16" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M16 12L8 12" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="3" y="3.86768" width="18" height="18" rx="6" fill="white"/>
3
+ <path d="M8 10.8677L12 14.8677L16 10.8677" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect y="0.867676" width="24" height="24" rx="8" fill="white"/>
3
+ <path d="M8 10.8677L12 14.8677L16 10.8677" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M11.2318 14.0781L8.36682 10.6402C7.82405 9.98886 8.2872 9 9.13504 9L14.865 9C15.7128 9 16.176 9.98886 15.6332 10.6402L12.7682 14.0781C12.3684 14.5579 11.6316 14.5579 11.2318 14.0781Z" fill="#323232"/>
3
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="3" y="3.86768" width="18" height="18" rx="6" fill="white"/>
3
+ <path d="M14 8.86768L10 12.8677L14 16.8677" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect y="0.867676" width="24" height="24" rx="8" fill="white"/>
3
+ <path d="M14 8.86768L10 12.8677L14 16.8677" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="3" y="3.86768" width="18" height="18" rx="6" fill="white"/>
3
+ <path d="M10 16.8677L14 12.8677L10 8.86768" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect y="0.867676" width="24" height="24" rx="8" fill="white"/>
3
+ <path d="M10 16.8677L14 12.8677L10 8.86768" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="3" y="3.86768" width="18" height="18" rx="6" fill="white"/>
3
+ <path d="M16 14.8677L12 10.8677L8 14.8677" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect y="0.867676" width="24" height="24" rx="8" fill="white"/>
3
+ <path d="M16 14.8677L12 10.8677L8 14.8677" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12.1716 21H9C7.11438 21 6.17157 21 5.58579 20.4142C5 19.8284 5 18.8856 5 17V7C5 5.11438 5 4.17157 5.58579 3.58579C6.17157 3 7.11438 3 9 3H15C16.8856 3 17.8284 3 18.4142 3.58579C19 4.17157 19 5.11438 19 7V14.1716C19 14.5803 19 14.7847 18.9239 14.9685C18.8478 15.1522 18.7032 15.2968 18.4142 15.5858L13.5858 20.4142C13.2968 20.7032 13.1522 20.8478 12.9685 20.9239C12.7847 21 12.5803 21 12.1716 21Z" stroke="#323232"/>
3
+ <path d="M12 21V16.3333C12 15.2334 12 14.6834 12.3417 14.3417C12.6834 14 13.2334 14 14.3333 14H19" stroke="#323232"/>
4
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M19.5 9.5V8.7C19.5 7.57989 19.5 7.01984 19.282 6.59202C19.0903 6.21569 18.7843 5.90973 18.408 5.71799C17.9802 5.5 17.4201 5.5 16.3 5.5H7.7C6.5799 5.5 6.01984 5.5 5.59202 5.71799C5.21569 5.90973 4.90973 6.21569 4.71799 6.59202C4.5 7.01984 4.5 7.57989 4.5 8.7V9.5M19.5 9.5V16.3C19.5 17.4201 19.5 17.9802 19.282 18.408C19.0903 18.7843 18.7843 19.0903 18.408 19.282C17.9802 19.5 17.4201 19.5 16.3 19.5H7.7C6.57989 19.5 6.01984 19.5 5.59202 19.282C5.21569 19.0903 4.90973 18.7843 4.71799 18.408C4.5 17.9802 4.5 17.4201 4.5 16.3V9.5M19.5 9.5H4.5" stroke="#323232"/>
3
+ <path d="M8.5 3.5L8.5 7.5M15.5 3.5L15.5 7.5" stroke="#323232" stroke-linecap="round"/>
4
+ <path d="M9 15.6364L10.8462 17L15 12" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M19.5 9.5V8.7C19.5 7.57989 19.5 7.01984 19.282 6.59202C19.0903 6.21569 18.7843 5.90973 18.408 5.71799C17.9802 5.5 17.4201 5.5 16.3 5.5H7.7C6.5799 5.5 6.01984 5.5 5.59202 5.71799C5.21569 5.90973 4.90973 6.21569 4.71799 6.59202C4.5 7.01984 4.5 7.57989 4.5 8.7V9.5M19.5 9.5V16.3C19.5 17.4201 19.5 17.9802 19.282 18.408C19.0903 18.7843 18.7843 19.0903 18.408 19.282C17.9802 19.5 17.4201 19.5 16.3 19.5H7.7C6.57989 19.5 6.01984 19.5 5.59202 19.282C5.21569 19.0903 4.90973 18.7843 4.71799 18.408C4.5 17.9802 4.5 17.4201 4.5 16.3V9.5M19.5 9.5H4.5" stroke="#323232"/>
3
+ <path d="M8.5 3.5L8.5 7.5M15.5 3.5L15.5 7.5" stroke="#323232" stroke-linecap="round"/>
4
+ <path d="M8 12.5H10" stroke="#323232" stroke-linecap="round"/>
5
+ <path d="M14 12.5H16" stroke="#323232" stroke-linecap="round"/>
6
+ <path d="M8 16.5H10" stroke="#323232" stroke-linecap="round"/>
7
+ <path d="M14 16.5H16" stroke="#323232" stroke-linecap="round"/>
8
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="12" cy="12" r="9" stroke="#323232"/>
3
+ <path d="M18 18L6 6" stroke="#323232"/>
4
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8 10L8 16" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M12 12V16" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M16 8V16" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <rect x="3" y="4" width="18" height="16" rx="2" stroke="#323232"/>
6
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="3" y="3.86768" width="18" height="18" rx="9" fill="white"/>
3
+ <path d="M15 10.8677L10.875 14.8677L9 13.0495" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="6" y="6.86768" width="12" height="12" rx="6" fill="white"/>
3
+ <path d="M15 10.8677L10.875 14.8677L9 13.0495" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="6" y="6.86768" width="12" height="12" rx="6" fill="white"/>
3
+ <path d="M10 10.8677L14 14.8533M10 14.8677L14 10.8821" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="4.5" y="4" width="16" height="16" rx="8" fill="#323232"/>
3
+ <path d="M9.5 9L15.5 14.9784M9.5 15L15.5 9.02161" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="3" y="3.86768" width="18" height="18" rx="9" fill="white"/>
3
+ <path d="M9 9.86768L15 15.8461M9 15.8677L15 9.88928" stroke="#323232" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>