kamotive_ui 1.2.21 → 1.2.22

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 (108) hide show
  1. package/dist/Icons/ChevronDown/ChevronDown.d.ts +8 -0
  2. package/dist/Icons/ChevronDown/ChevronDown.js +6 -0
  3. package/dist/Icons/ChevronLeft/ChevronLeft.d.ts +2 -1
  4. package/dist/Icons/ChevronLeft/ChevronLeft.js +4 -3
  5. package/dist/Icons/ChevronRight/ChevronRight.d.ts +2 -1
  6. package/dist/Icons/ChevronRight/ChevronRight.js +4 -3
  7. package/dist/Icons/ChevronUp/ChevronUp.d.ts +7 -0
  8. package/dist/Icons/ChevronUp/ChevronUp.js +5 -0
  9. package/dist/Icons/IconAccount/IconAccount.d.ts +7 -0
  10. package/dist/Icons/IconAccount/IconAccount.js +5 -0
  11. package/dist/Icons/IconAdd/IconAdd.d.ts +2 -1
  12. package/dist/Icons/IconAdd/IconAdd.js +3 -3
  13. package/dist/Icons/IconAddress/IconAddress.d.ts +7 -0
  14. package/dist/Icons/IconAddress/IconAddress.js +5 -0
  15. package/dist/Icons/IconAlarm/IconAlarm.d.ts +7 -0
  16. package/dist/Icons/IconAlarm/IconAlarm.js +5 -0
  17. package/dist/Icons/IconBell/IconBell.d.ts +7 -0
  18. package/dist/Icons/IconBell/IconBell.js +5 -0
  19. package/dist/Icons/IconBriefcase/IconBriefcase.d.ts +7 -0
  20. package/dist/Icons/IconBriefcase/IconBriefcase.js +5 -0
  21. package/dist/Icons/IconCalendar/IconCalendar.d.ts +7 -0
  22. package/dist/Icons/IconCalendar/IconCalendar.js +5 -0
  23. package/dist/Icons/IconCheck/IconCheck.d.ts +7 -0
  24. package/dist/Icons/IconCheck/IconCheck.js +5 -0
  25. package/dist/Icons/IconClose/IconClose.d.ts +8 -0
  26. package/dist/Icons/IconClose/IconClose.js +7 -0
  27. package/dist/Icons/IconColorPicker/IconColorPicker.d.ts +8 -0
  28. package/dist/Icons/IconColorPicker/IconColorPicker.js +5 -0
  29. package/dist/Icons/IconDelete/IconDelete.d.ts +8 -0
  30. package/dist/Icons/IconDelete/IconDelete.js +5 -0
  31. package/dist/Icons/IconDownload/IconDownload.d.ts +11 -1
  32. package/dist/Icons/IconDownload/IconDownload.js +12 -3
  33. package/dist/Icons/IconDublicate/IconDublicate.d.ts +8 -0
  34. package/dist/Icons/IconDublicate/IconDublicate.js +5 -0
  35. package/dist/Icons/IconEmail/IconEmail.d.ts +2 -1
  36. package/dist/Icons/IconEmail/IconEmail.js +3 -3
  37. package/dist/Icons/IconError/IconError.d.ts +7 -0
  38. package/dist/Icons/IconError/IconError.js +6 -0
  39. package/dist/Icons/IconEye/{IconEye10.d.ts → IconEye.d.ts} +1 -1
  40. package/dist/Icons/IconEye/{IconEye10.js → IconEye.js} +1 -1
  41. package/dist/Icons/IconEyeOff/IconEyeOff.d.ts +7 -0
  42. package/dist/Icons/IconEyeOff/IconEyeOff.js +5 -0
  43. package/dist/Icons/IconFile/IconFile.d.ts +2 -1
  44. package/dist/Icons/IconFile/IconFile.js +3 -3
  45. package/dist/Icons/{IconClose/IconClose10.d.ts → IconGoTo/IconGoTo.d.ts} +3 -2
  46. package/dist/Icons/IconGoTo/IconGoTo.js +5 -0
  47. package/dist/Icons/IconHome/IconHome.d.ts +8 -0
  48. package/dist/Icons/IconHome/IconHome.js +5 -0
  49. package/dist/Icons/IconInfo/IconInfo.d.ts +7 -0
  50. package/dist/Icons/IconInfo/IconInfo.js +5 -0
  51. package/dist/Icons/IconPencil/IconPencil.d.ts +2 -1
  52. package/dist/Icons/IconPencil/IconPencil.js +3 -3
  53. package/dist/Icons/IconPhone/IconPhone.d.ts +2 -1
  54. package/dist/Icons/IconPhone/IconPhone.js +3 -3
  55. package/dist/Icons/IconSpaceChange/IconSpaceChange.d.ts +8 -0
  56. package/dist/Icons/IconSpaceChange/IconSpaceChange.js +5 -0
  57. package/dist/Icons/IconSuccess/IconSuccess.d.ts +7 -0
  58. package/dist/Icons/IconSuccess/IconSuccess.js +6 -0
  59. package/dist/Icons/IconUpload/IconUpload.d.ts +4 -1
  60. package/dist/Icons/IconUpload/IconUpload.js +5 -3
  61. package/dist/Icons/IconWarning/IconWarning.d.ts +7 -0
  62. package/dist/Icons/IconWarning/IconWarning.js +5 -0
  63. package/dist/Icons/index.d.ts +22 -17
  64. package/dist/Icons/index.js +22 -17
  65. package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
  66. package/dist/components/ColorPicker/ColorPicker.js +2 -2
  67. package/dist/components/ColorPicker/ColorPicker.module.css +6 -1
  68. package/dist/components/DateInput/DateInput.js +2 -2
  69. package/dist/components/Dropdown/Dropdown.js +24 -23
  70. package/dist/components/FileItem/FileItem.js +3 -3
  71. package/dist/components/FileItem/FileItem.module.css +2 -2
  72. package/dist/components/FileLoader/FileLoader.js +1 -1
  73. package/dist/components/IconButton/IconButton.module.css +6 -6
  74. package/dist/components/List/List.js +2 -2
  75. package/dist/components/Snackbar/Snackbar.js +6 -6
  76. package/dist/components/Snackbar/Snackbar.module.css +2 -0
  77. package/package.json +1 -1
  78. package/dist/Icons/ChevronDown/ChevronDown10.d.ts +0 -7
  79. package/dist/Icons/ChevronDown/ChevronDown10.js +0 -6
  80. package/dist/Icons/ChevronUp/ChevronUp10.d.ts +0 -6
  81. package/dist/Icons/ChevronUp/ChevronUp10.js +0 -5
  82. package/dist/Icons/IconAccount/IconAccount10.d.ts +0 -6
  83. package/dist/Icons/IconAccount/IconAccount10.js +0 -5
  84. package/dist/Icons/IconAlarm/IconAlarm10.d.ts +0 -6
  85. package/dist/Icons/IconAlarm/IconAlarm10.js +0 -5
  86. package/dist/Icons/IconBank/IconBank10.d.ts +0 -6
  87. package/dist/Icons/IconBank/IconBank10.js +0 -5
  88. package/dist/Icons/IconBell/IconBell10.d.ts +0 -6
  89. package/dist/Icons/IconBell/IconBell10.js +0 -5
  90. package/dist/Icons/IconBriefcase/IconBriefcase10.d.ts +0 -6
  91. package/dist/Icons/IconBriefcase/IconBriefcase10.js +0 -5
  92. package/dist/Icons/IconCalendar/IconCalendar10.d.ts +0 -6
  93. package/dist/Icons/IconCalendar/IconCalendar10.js +0 -5
  94. package/dist/Icons/IconCheck/IconCheck10.d.ts +0 -6
  95. package/dist/Icons/IconCheck/IconCheck10.js +0 -5
  96. package/dist/Icons/IconClose/IconClose10.js +0 -5
  97. package/dist/Icons/IconColorPicker/IconColorPicker10.d.ts +0 -7
  98. package/dist/Icons/IconColorPicker/IconColorPicker10.js +0 -5
  99. package/dist/Icons/IconError/IconError10.d.ts +0 -6
  100. package/dist/Icons/IconError/IconError10.js +0 -5
  101. package/dist/Icons/IconEyeOff/IconEyeOff10.d.ts +0 -6
  102. package/dist/Icons/IconEyeOff/IconEyeOff10.js +0 -5
  103. package/dist/Icons/IconInfo/IconInfo10.d.ts +0 -6
  104. package/dist/Icons/IconInfo/IconInfo10.js +0 -5
  105. package/dist/Icons/IconSuccess/IconSuccess10.d.ts +0 -6
  106. package/dist/Icons/IconSuccess/IconSuccess10.js +0 -5
  107. package/dist/Icons/IconWarning/IconWarning10.d.ts +0 -6
  108. package/dist/Icons/IconWarning/IconWarning10.js +0 -5
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export const IconWarning = ({ color = 'inherit', htmlColor, strokeWidth = '0.3', style }) => {
3
+ return (React.createElement("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: color, style: style },
4
+ React.createElement("path", { fill: htmlColor || 'currentColor', stroke: htmlColor || 'currentColor', style: { strokeWidth: strokeWidth }, strokeLinejoin: "round", d: "M1,21L11.5,2.81L22,21H1M20.27,20L11.5,4.81L2.73,20H20.27M11,14V10H12V14H11M11,16H12V18H11V16Z" })));
5
+ };
@@ -1,21 +1,21 @@
1
- export { ChevronDown10 } from './ChevronDown/ChevronDown10';
1
+ export { ChevronDown } from './ChevronDown/ChevronDown';
2
2
  export { ChevronRight } from './ChevronRight/ChevronRight';
3
3
  export { ChevronLeft } from './ChevronLeft/ChevronLeft';
4
- export { ChevronUp10 } from './ChevronUp/ChevronUp10';
5
- export { IconAlarm10 } from './IconAlarm/IconAlarm10';
6
- export { IconAccount10 } from './IconAccount/IconAccount10';
7
- export { IconBank10 } from './IconBank/IconBank10';
8
- export { IconBell10 } from './IconBell/IconBell10';
9
- export { IconBriefcase10 } from './IconBriefcase/IconBriefcase10';
10
- export { IconCalendar10 } from './IconCalendar/IconCalendar10';
11
- export { IconCheck10 } from './IconCheck/IconCheck10';
12
- export { IconEyeOff10 } from './IconEyeOff/IconEyeOff10';
13
- export { IconSuccess10 } from './IconSuccess/IconSuccess10';
14
- export { IconInfo10 } from './IconInfo/IconInfo10';
15
- export { IconWarning10 } from './IconWarning/IconWarning10';
16
- export { IconError10 } from './IconError/IconError10';
17
- export { IconClose10 } from './IconClose/IconClose10';
18
- export { IconColorPicker10 } from './IconColorPicker/IconColorPicker10';
4
+ export { ChevronUp } from './ChevronUp/ChevronUp';
5
+ export { IconAlarm } from './IconAlarm/IconAlarm';
6
+ export { IconAccount } from './IconAccount/IconAccount';
7
+ export { IconAddress } from './IconAddress/IconAddress';
8
+ export { IconBell } from './IconBell/IconBell';
9
+ export { IconBriefcase } from './IconBriefcase/IconBriefcase';
10
+ export { IconCalendar } from './IconCalendar/IconCalendar';
11
+ export { IconCheck } from './IconCheck/IconCheck';
12
+ export { IconEyeOff } from './IconEyeOff/IconEyeOff';
13
+ export { IconSuccess } from './IconSuccess/IconSuccess';
14
+ export { IconInfo } from './IconInfo/IconInfo';
15
+ export { IconWarning } from './IconWarning/IconWarning';
16
+ export { IconError } from './IconError/IconError';
17
+ export { IconClose } from './IconClose/IconClose';
18
+ export { IconColorPicker } from './IconColorPicker/IconColorPicker';
19
19
  export { IconFile } from './IconFile/IconFile';
20
20
  export { IconUpload } from './IconUpload/IconUpload';
21
21
  export { IconDownload } from './IconDownload/IconDownload';
@@ -23,5 +23,10 @@ export { IconAdd } from './IconAdd/IconAdd';
23
23
  export { IconPhone } from './IconPhone/IconPhone';
24
24
  export { IconLocation } from './IconLocation/IconLocation';
25
25
  export { IconEmail } from './IconEmail/IconEmail';
26
- export { IconEye10 } from './IconEye/IconEye10';
26
+ export { IconEye } from './IconEye/IconEye';
27
27
  export { IconPencil } from './IconPencil/IconPencil';
28
+ export { IconDelete } from './IconDelete/IconDelete';
29
+ export { IconDublicate } from './IconDublicate/IconDublicate';
30
+ export { IconSpaceChange } from './IconSpaceChange/IconSpaceChange';
31
+ export { IconGoTo } from './IconGoTo/IconGoTo';
32
+ export { IconHome } from './IconHome/IconHome';
@@ -1,21 +1,21 @@
1
- export { ChevronDown10 } from './ChevronDown/ChevronDown10';
1
+ export { ChevronDown } from './ChevronDown/ChevronDown';
2
2
  export { ChevronRight } from './ChevronRight/ChevronRight';
3
3
  export { ChevronLeft } from './ChevronLeft/ChevronLeft';
4
- export { ChevronUp10 } from './ChevronUp/ChevronUp10';
5
- export { IconAlarm10 } from './IconAlarm/IconAlarm10';
6
- export { IconAccount10 } from './IconAccount/IconAccount10';
7
- export { IconBank10 } from './IconBank/IconBank10';
8
- export { IconBell10 } from './IconBell/IconBell10';
9
- export { IconBriefcase10 } from './IconBriefcase/IconBriefcase10';
10
- export { IconCalendar10 } from './IconCalendar/IconCalendar10';
11
- export { IconCheck10 } from './IconCheck/IconCheck10';
12
- export { IconEyeOff10 } from './IconEyeOff/IconEyeOff10';
13
- export { IconSuccess10 } from './IconSuccess/IconSuccess10';
14
- export { IconInfo10 } from './IconInfo/IconInfo10';
15
- export { IconWarning10 } from './IconWarning/IconWarning10';
16
- export { IconError10 } from './IconError/IconError10';
17
- export { IconClose10 } from './IconClose/IconClose10';
18
- export { IconColorPicker10 } from './IconColorPicker/IconColorPicker10';
4
+ export { ChevronUp } from './ChevronUp/ChevronUp';
5
+ export { IconAlarm } from './IconAlarm/IconAlarm';
6
+ export { IconAccount } from './IconAccount/IconAccount';
7
+ export { IconAddress } from './IconAddress/IconAddress';
8
+ export { IconBell } from './IconBell/IconBell';
9
+ export { IconBriefcase } from './IconBriefcase/IconBriefcase';
10
+ export { IconCalendar } from './IconCalendar/IconCalendar';
11
+ export { IconCheck } from './IconCheck/IconCheck';
12
+ export { IconEyeOff } from './IconEyeOff/IconEyeOff';
13
+ export { IconSuccess } from './IconSuccess/IconSuccess';
14
+ export { IconInfo } from './IconInfo/IconInfo';
15
+ export { IconWarning } from './IconWarning/IconWarning';
16
+ export { IconError } from './IconError/IconError';
17
+ export { IconClose } from './IconClose/IconClose';
18
+ export { IconColorPicker } from './IconColorPicker/IconColorPicker';
19
19
  export { IconFile } from './IconFile/IconFile';
20
20
  export { IconUpload } from './IconUpload/IconUpload';
21
21
  export { IconDownload } from './IconDownload/IconDownload';
@@ -23,5 +23,10 @@ export { IconAdd } from './IconAdd/IconAdd';
23
23
  export { IconPhone } from './IconPhone/IconPhone';
24
24
  export { IconLocation } from './IconLocation/IconLocation';
25
25
  export { IconEmail } from './IconEmail/IconEmail';
26
- export { IconEye10 } from './IconEye/IconEye10';
26
+ export { IconEye } from './IconEye/IconEye';
27
27
  export { IconPencil } from './IconPencil/IconPencil';
28
+ export { IconDelete } from './IconDelete/IconDelete';
29
+ export { IconDublicate } from './IconDublicate/IconDublicate';
30
+ export { IconSpaceChange } from './IconSpaceChange/IconSpaceChange';
31
+ export { IconGoTo } from './IconGoTo/IconGoTo';
32
+ export { IconHome } from './IconHome/IconHome';
@@ -13,5 +13,5 @@ export const Breadcrumb = ({ onClick, active, label, icon, children }) => {
13
13
  const iconClassNames = classNames(childrenClassNames, styles.icon);
14
14
  return (React.createElement("button", { className: classNames(styles.breadcrumb), onClick: handleClick },
15
15
  icon && React.createElement("span", { className: iconClassNames }, icon),
16
- React.createElement(Typography, { variant: "Body2-Medium", style: { fontWeight: '500' }, className: childrenClassNames }, label || children)));
16
+ React.createElement(Typography, { variant: "Body1-Medium", className: childrenClassNames }, label || children)));
17
17
  };
@@ -4,7 +4,7 @@ import classNames from 'classnames';
4
4
  import { Chrome } from '@uiw/react-color';
5
5
  import EditableInput from '@uiw/react-color-editable-input';
6
6
  import { GithubPlacement } from '@uiw/react-color-github';
7
- import { IconColorPicker10 } from '../../Icons';
7
+ import { IconColorPicker } from '../../Icons';
8
8
  ;
9
9
  // Функция для преобразования HEXA в HEX
10
10
  const hexaToHex = (hexa = 'fff') => {
@@ -149,7 +149,7 @@ export const ColorPicker = ({ color = '#ffffff', mainColor, recentColors, setIsH
149
149
  height: `${height}px`,
150
150
  } }),
151
151
  isOpen && (React.createElement("div", { ref: popoverRef, className: popoverClassess },
152
- isOpen && React.createElement(IconColorPicker10, { className: styles.colorPickerIcon, htmlColor: 'var(--white)' }),
152
+ isOpen && React.createElement(IconColorPicker, { className: styles.colorPickerIcon, htmlColor: 'var(--white)' }),
153
153
  React.createElement(Chrome, { color: selectedColor, placement: GithubPlacement.Right, onChange: colorChangeHandler, className: styles.customChrome, showEyeDropper: false }),
154
154
  React.createElement("div", { className: styles.hex, style: { padding: '0 10px 0 20px' } },
155
155
  React.createElement(EditableInput, { value: hexaToHex(selectedColor), style: { width: 68, alignItems: 'flex-start' }, onChange: (e, color) => {
@@ -218,9 +218,14 @@
218
218
  .colorPickerIcon {
219
219
  position: absolute;
220
220
  top: 69%;
221
- left: 8px;
221
+ left: 7px;
222
222
  z-index: 200;
223
223
  padding: 10px;
224
+
225
+ }
226
+ .colorPicker svg {
227
+ width: 16px;
228
+ height: 16px;
224
229
  }
225
230
 
226
231
  .hex {
@@ -3,7 +3,7 @@ import styles from './DateInput.module.css';
3
3
  import classNames from 'classnames';
4
4
  import { Typography } from '../Typography/Typography';
5
5
  import DatePicker from 'react-datepicker';
6
- import { IconCalendar10 } from '../../Icons/IconCalendar/IconCalendar10';
6
+ import { IconCalendar } from '../../Icons/IconCalendar/IconCalendar';
7
7
  import 'react-datepicker/dist/react-datepicker.css';
8
8
  import { registerLocale } from 'react-datepicker';
9
9
  import { ru } from 'date-fns/locale/ru';
@@ -325,7 +325,7 @@ export const DateInput = ({ id, label = 'Выберите дату', size = 'lg'
325
325
  };
326
326
  return (React.createElement("div", { className: wrapperClassess, style: style },
327
327
  label && (React.createElement(Typography, { variant: "Caption", className: labelClasses }, label)),
328
- React.createElement("div", { className: styles.icon, onClick: () => { var _a; return (_a = datePickerRef.current) === null || _a === void 0 ? void 0 : _a.setOpen(true); } }, icon || React.createElement(IconCalendar10, null)),
328
+ React.createElement("div", { className: styles.icon, onClick: () => { var _a; return (_a = datePickerRef.current) === null || _a === void 0 ? void 0 : _a.setOpen(true); } }, icon || React.createElement(IconCalendar, null)),
329
329
  React.createElement(DatePicker, Object.assign({ id: id, ref: datePickerRef, selected: selectedDate, onChange: handleDateChange, onBlur: onBlur, dateFormat: dateFormat, locale: "ru", readOnly: readOnly, disabled: disabled, showPopperArrow: false, calendarClassName: classNames(styles.calendar, calendarClassName), popperClassName: styles.calendarPopper, onCalendarClose: () => setIsMonthPickerOpen(false), minDate: minDate, maxDate: maxDate, inline: false, calendarStartDay: 1, dayClassName: (date) => {
330
330
  return date.getMonth() === (selectedDate === null || selectedDate === void 0 ? void 0 : selectedDate.getMonth()) && date.getFullYear() === (selectedDate === null || selectedDate === void 0 ? void 0 : selectedDate.getFullYear())
331
331
  ? 'current-month-day'
@@ -1,46 +1,47 @@
1
1
  import React, { useCallback, useEffect, useRef, useState } from 'react';
2
2
  import styles from './Dropdown.module.css';
3
3
  import classNames from 'classnames';
4
- import { ChevronDown10 } from '../../Icons/ChevronDown/ChevronDown10';
5
- import { ChevronUp10 } from '../../Icons/ChevronUp/ChevronUp10';
6
- import { IconClose10 } from '../../Icons/IconClose/IconClose10';
7
- import { IconCheck10 } from '../../Icons/IconCheck/IconCheck10';
4
+ import { ChevronDown } from '../../Icons/ChevronDown/ChevronDown';
5
+ import { ChevronUp } from '../../Icons/ChevronUp/ChevronUp';
6
+ import { IconClose } from '../../Icons/IconClose/IconClose';
7
+ import { IconCheck } from '../../Icons/IconCheck/IconCheck';
8
8
  ;
9
9
  import { Typography } from '../Typography/Typography';
10
10
  function checkItem(item, getOptionLabel, disabled, isDivider) {
11
11
  if (typeof item === 'object' && item !== null) {
12
+ const itemCopy = Object.assign({}, item);
12
13
  //проверка на вложенные объекты с таким же типом
13
- Object.keys(item).forEach((key) => {
14
- const value = item[key];
14
+ Object.keys(itemCopy).forEach((key) => {
15
+ const value = itemCopy[key];
15
16
  if (typeof value === 'object' && value !== null && !React.isValidElement(value)) {
16
17
  const nestedItem = checkItem(value, getOptionLabel, disabled, isDivider);
17
18
  if (nestedItem) {
18
- if (!item.children) {
19
- item.children = [];
19
+ if (!itemCopy.children) {
20
+ itemCopy.children = [];
20
21
  }
21
- item.children.push(nestedItem);
22
- delete item[key];
22
+ itemCopy.children.push(nestedItem);
23
+ delete itemCopy[key];
23
24
  }
24
25
  }
25
26
  });
26
27
  // проверка на наличие пользовательского поля для вывода(передаваемой функции getOptionLabel)
27
28
  if (getOptionLabel) {
28
- return Object.assign(Object.assign({}, item), { value: getOptionLabel(item), disabled: disabled !== null && disabled !== void 0 ? disabled : false, isDivider: isDivider !== null && isDivider !== void 0 ? isDivider : false });
29
+ return Object.assign(Object.assign({}, itemCopy), { value: getOptionLabel(itemCopy), disabled: disabled !== null && disabled !== void 0 ? disabled : false, isDivider: isDivider !== null && isDivider !== void 0 ? isDivider : false });
29
30
  }
30
- if ('value' in item) {
31
- return Object.assign(Object.assign({}, item), { disabled: disabled !== null && disabled !== void 0 ? disabled : false, isDivider: isDivider !== null && isDivider !== void 0 ? isDivider : false });
31
+ if ('value' in itemCopy) {
32
+ return Object.assign(Object.assign({}, itemCopy), { disabled: disabled !== null && disabled !== void 0 ? disabled : false, isDivider: isDivider !== null && isDivider !== void 0 ? isDivider : false });
32
33
  }
33
- else if ('name' in item && !('value' in item)) {
34
- return Object.assign(Object.assign({}, item), { value: item.name, disabled: disabled !== null && disabled !== void 0 ? disabled : false, isDivider: isDivider !== null && isDivider !== void 0 ? isDivider : false });
34
+ else if ('name' in itemCopy && !('value' in itemCopy)) {
35
+ return Object.assign(Object.assign({}, itemCopy), { value: itemCopy.name, disabled: disabled !== null && disabled !== void 0 ? disabled : false, isDivider: isDivider !== null && isDivider !== void 0 ? isDivider : false });
35
36
  }
36
- else if ('description' in item && !('value' in item)) {
37
- return Object.assign(Object.assign({}, item), { value: item.description, disabled: disabled !== null && disabled !== void 0 ? disabled : false, isDivider: isDivider !== null && isDivider !== void 0 ? isDivider : false });
37
+ else if ('description' in itemCopy && !('value' in itemCopy)) {
38
+ return Object.assign(Object.assign({}, itemCopy), { value: itemCopy.description, disabled: disabled !== null && disabled !== void 0 ? disabled : false, isDivider: isDivider !== null && isDivider !== void 0 ? isDivider : false });
38
39
  }
39
40
  else {
40
- const keys = Object.keys(item);
41
+ const keys = Object.keys(itemCopy);
41
42
  if (keys.length) {
42
- const firstValue = item[keys[0]];
43
- return Object.assign(Object.assign({}, item), { value: firstValue, disabled: disabled !== null && disabled !== void 0 ? disabled : false, isDivider: isDivider !== null && isDivider !== void 0 ? isDivider : false });
43
+ const firstValue = itemCopy[keys[0]];
44
+ return Object.assign(Object.assign({}, itemCopy), { value: firstValue, disabled: disabled !== null && disabled !== void 0 ? disabled : false, isDivider: isDivider !== null && isDivider !== void 0 ? isDivider : false });
44
45
  }
45
46
  }
46
47
  }
@@ -76,7 +77,7 @@ export const DropdownListItem = ({ item, getOptionLabel, size = 'md', selectedIt
76
77
  }),
77
78
  React.createElement("div", { className: styles.item },
78
79
  React.createElement("span", null, item === null || item === void 0 ? void 0 : item.value)),
79
- (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.value) === (item === null || item === void 0 ? void 0 : item.value) && (React.createElement(IconCheck10, { strokeWidth: size === 'lg' ? '0.5' : size === 'md' ? '0.3' : '0.0', htmlColor: "#0D99FF" }))),
80
+ (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.value) === (item === null || item === void 0 ? void 0 : item.value) && (React.createElement(IconCheck, { strokeWidth: size === 'lg' ? '0.5' : size === 'md' ? '0.3' : '0.0', htmlColor: "#0D99FF" }))),
80
81
  (item === null || item === void 0 ? void 0 : item.isDivider) && React.createElement("div", { className: styles.divider })),
81
82
  (item === null || item === void 0 ? void 0 : item.children) && (React.createElement("div", { className: styles.nestedMenu }, (_a = item.children) === null || _a === void 0 ? void 0 : _a.map((child, childIndex) => {
82
83
  var _a;
@@ -340,8 +341,8 @@ export const Dropdown = ({ options, id, label, placeholder, required = false, va
340
341
  React.createElement("button", { className: buttonClassess, onClick: readOnly ? undefined : handleToggle, disabled: disabled, tabIndex: 0, onKeyDown: handleKeyDown },
341
342
  getTextField(),
342
343
  clearable && !readOnly && !disabled && (selectedItem || enableAutocomplete && searchValue) && (React.createElement("div", { className: styles.resetButton },
343
- React.createElement(IconClose10, { strokeWidth: "0.2", htmlColor: "var(--text-light)", onClick: handleReset }))),
344
- React.createElement("div", { className: styles.dropdownIcon }, !isOpen ? (React.createElement(ChevronDown10, { strokeWidth: size === 'lg' ? '0.5' : '0.3' })) : (React.createElement(ChevronUp10, { strokeWidth: size === 'lg' ? '0.5' : '0.3' }))),
344
+ React.createElement(IconClose, { strokeWidth: "0.2", htmlColor: "var(--text-light)", onClick: handleReset }))),
345
+ React.createElement("div", { className: styles.dropdownIcon }, !isOpen ? (React.createElement(ChevronDown, { strokeWidth: size === 'lg' ? '0.5' : '0.3' })) : (React.createElement(ChevronUp, { strokeWidth: size === 'lg' ? '0.5' : '0.3' }))),
345
346
  getDropdownMenu()),
346
347
  errorInput && errorInputHelperText && (React.createElement(Typography, { variant: "Caption", className: classNames(styles.helperText, styles[size]) }, helperText !== null && helperText !== void 0 ? helperText : errorInputHelperText))));
347
348
  };
@@ -3,7 +3,7 @@ import styles from './FileItem.module.css';
3
3
  import { Typography } from '../Typography/Typography';
4
4
  import { ProgressBar } from '../ProgressBar/ProgressBar';
5
5
  import { IconButton } from '../IconButton/IconButton';
6
- import { IconClose10, IconDownload, IconFile } from '../../Icons';
6
+ import { IconClose, IconDownload, IconFile } from '../../Icons';
7
7
  import { Tooltip } from '../Tooltip/Tooltip';
8
8
  import classNames from 'classnames';
9
9
  export const FileItem = ({ file, loading = false, error = '', onDownload, onDelete, canDelete = true, canDownload = true, style, isAddedFile, isRejectedFile, }) => {
@@ -104,8 +104,8 @@ export const FileItem = ({ file, loading = false, error = '', onDownload, onDele
104
104
  React.createElement(Typography, { variant: "Body1", color: "var(--text-dark)" }, croppedName(file.filename)))) : (React.createElement(Typography, { variant: "Body1", color: "var(--text-dark)" }, croppedName(file.filename))),
105
105
  file.size !== 0 && (React.createElement(Typography, { variant: "Caption", color: "var(--grey-medium)" }, `${file.size ? (file.size / 1024).toFixed(1) : 0} кБ`)))),
106
106
  React.createElement("div", { className: styles['fileItemActions'] },
107
- !(isAddedFile || isRejectedFile) && canDownload && (React.createElement(IconButton, { icon: React.createElement(IconDownload, null), onClick: (e) => handleDownloadClick(e, file), color: "var(--icons-grey)" })),
108
- canDelete && (React.createElement(IconButton, { icon: React.createElement(IconClose10, null), onClick: (e) => handleDeleteClick(e, file.id || ''), color: "var(--icons-grey)" })))),
107
+ !(isAddedFile || isRejectedFile) && canDownload && (React.createElement(IconButton, { className: styles.fileIcon, icon: React.createElement(IconDownload, null), onClick: (e) => handleDownloadClick(e, file), color: "var(--icons-grey)", size: "sm" })),
108
+ canDelete && (React.createElement(IconButton, { className: styles.fileIcon, icon: React.createElement(IconClose, null), onClick: (e) => handleDeleteClick(e, file.id || ''), color: "var(--icons-grey)", size: "sm" })))),
109
109
  loading && !isLoadingFinished && (React.createElement(ProgressBar, { animated: true, size: "sm", value: 100, setIsLoadingFinished: setIsLoadingFinished, animationDuration: animationDuration })),
110
110
  error && (React.createElement(Typography, { variant: "Caption", color: "var(--error-main)" }, error))));
111
111
  };
@@ -21,7 +21,7 @@
21
21
  flex-direction: row;
22
22
  gap: 5px;
23
23
  flex-grow: 1;
24
- align-items: flex-start;
24
+ align-items: center;
25
25
  overflow: hidden;
26
26
  }
27
27
 
@@ -38,7 +38,7 @@
38
38
  }
39
39
 
40
40
  .fileIcon svg path {
41
- stroke-width: 0.8;
41
+ stroke-width: 0.5 !important;
42
42
  }
43
43
 
44
44
  .fileItem_attached {
@@ -154,7 +154,7 @@ export const FileLoader = ({ maxFileSize = 2, maxFileCount = 10, acceptedFormats
154
154
  return (React.createElement("section", { className: classNames(styles['fileLoader'], className), style: style },
155
155
  React.createElement("div", Object.assign({}, getRootProps({ className: `${styles['dropzone']} ${!canAdd ? styles['disabled'] : ''}` })),
156
156
  React.createElement("input", Object.assign({}, getInputProps())),
157
- React.createElement(IconUpload, { htmlColor: !canAdd ? 'var(--grey-medium)' : 'var(--icons-grey)' }),
157
+ React.createElement(IconUpload, { htmlColor: !canAdd ? 'var(--grey-medium)' : 'var(--icons-grey)', width: '34', height: '34' }),
158
158
  React.createElement(Typography, { variant: "Body1", color: !canAdd ? 'var(--grey-medium)' : 'var(--icons-grey)', style: { textAlign: 'center' } }, lng === 'ru' || lng.includes('ru') ? (React.createElement(React.Fragment, null,
159
159
  React.createElement("span", { style: { textDecoration: 'underline' } }, "\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043D\u0430 \u043E\u0431\u043B\u0430\u0441\u0442\u044C"),
160
160
  " ",
@@ -10,18 +10,18 @@
10
10
  }
11
11
 
12
12
  .iconButton--sm svg {
13
- width: 14px;
14
- height: 14px;
13
+ width: 16px;
14
+ height: 16px;
15
15
  }
16
16
 
17
17
  .iconButton--md svg {
18
- width: 16px;
19
- height: 16px;
18
+ width: 24px;
19
+ height: 24px;
20
20
  }
21
21
 
22
22
  .iconButton--lg svg {
23
- width: 18px;
24
- height: 18px;
23
+ width: 30px;
24
+ height: 30px;
25
25
  }
26
26
 
27
27
  .iconButton:disabled {
@@ -4,7 +4,7 @@ import styles from './List.module.css';
4
4
  import { Typography } from '../Typography/Typography';
5
5
  import { Checkbox } from '../Checkbox/Checkbox';
6
6
  import { RadioButton } from '../RadioButton/RadioButton';
7
- import { ChevronDown10 } from '../../Icons';
7
+ import { ChevronDown } from '../../Icons';
8
8
  export const List = ({ onClick, onCheck, onRadioSelect, checked = false, selected = false, disabled = false, label, id, style, className, collapsible = false, open = false, withCheckbox = false, checkboxColor, checkboxFilled, withRadioButton = false, customBullet, customItemBullet, bulletClassName, children, isHeader = false, parentChecked = false, }) => {
9
9
  const [isOpen, setIsOpen] = useState(open);
10
10
  const [isChecked, setIsChecked] = useState(checked || parentChecked);
@@ -65,7 +65,7 @@ export const List = ({ onClick, onCheck, onRadioSelect, checked = false, selecte
65
65
  React.createElement(RadioButton, { checked: selected, value: id, disabled: disabled }))),
66
66
  customBullet && React.createElement("span", { className: classNames(styles.bullet, bulletClassName) }, customBullet))),
67
67
  React.createElement(Typography, { variant: "Body1" }, label),
68
- collapsible && (React.createElement("span", { className: styles.indicator }, isOpen ? React.createElement(ChevronDown10, null) : React.createElement(ChevronDown10, { rotation: 270 }))))),
68
+ collapsible && (React.createElement("span", { className: styles.indicator }, isOpen ? React.createElement(ChevronDown, null) : React.createElement(ChevronDown, { rotation: 270 }))))),
69
69
  React.createElement("div", { className: collapsible ? contentClassNames : styles.content, style: { paddingLeft: !label ? 0 : '16px' } }, React.Children.map(children, (child) => {
70
70
  if (React.isValidElement(child)) {
71
71
  return React.cloneElement(child, {
@@ -1,5 +1,5 @@
1
1
  import React, { useEffect, useState } from 'react';
2
- import { IconClose10, IconError10, IconInfo10, IconSuccess10, IconWarning10 } from '../../Icons';
2
+ import { IconClose, IconError, IconInfo, IconSuccess, IconWarning } from '../../Icons';
3
3
  import { Typography } from '../Typography/Typography';
4
4
  import styles from './Snackbar.module.css';
5
5
  import classNames from 'classnames';
@@ -15,10 +15,10 @@ import classNames from 'classnames';
15
15
  Операция выполнена успешно
16
16
  @returns {JSX.Element | null} Возвращает компонент уведомления или null если оно скрыто */
17
17
  export const icons = {
18
- success: React.createElement(IconSuccess10, { htmlColor: "#34c759" }),
19
- error: React.createElement(IconError10, { htmlColor: "#ff3b30" }),
20
- warning: React.createElement(IconWarning10, { htmlColor: "#ff9500" }),
21
- info: React.createElement(IconInfo10, { htmlColor: "#6F6F6F" }),
18
+ success: React.createElement(IconSuccess, { htmlColor: "#34c759" }),
19
+ error: React.createElement(IconError, { htmlColor: "#ff3b30" }),
20
+ warning: React.createElement(IconWarning, { htmlColor: "#ff9500" }),
21
+ info: React.createElement(IconInfo, { htmlColor: "#6F6F6F" }),
22
22
  };
23
23
  export const title = {
24
24
  success: 'Успешно',
@@ -51,5 +51,5 @@ export const Snackbar = ({ children, type, duration = 10000, icon = true, onClos
51
51
  React.createElement(Typography, { variant: "Body1-Medium", color: 'var(--text-dark)' }, title[type]),
52
52
  React.createElement(Typography, { variant: "Body1", color: 'var(--text-btn-light)' }, children))),
53
53
  React.createElement("button", { className: styles.button, onClick: handleClose },
54
- React.createElement(IconClose10, { htmlColor: 'var(--text-btn-light)' }))));
54
+ React.createElement(IconClose, { htmlColor: 'var(--text-btn-light)' }))));
55
55
  };
@@ -26,6 +26,8 @@
26
26
  }
27
27
  .snackbar-textAndIcon svg {
28
28
  padding-top: 5px;
29
+ width: 24px;
30
+ height: 24px;
29
31
  }
30
32
  .snackbar-text {
31
33
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kamotive_ui",
3
- "version": "1.2.21",
3
+ "version": "1.2.22",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [
@@ -1,7 +0,0 @@
1
- import { FC } from 'react';
2
- export declare const ChevronDown10: FC<{
3
- color?: string;
4
- htmlColor?: string;
5
- strokeWidth?: string;
6
- rotation?: number;
7
- }>;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- export const ChevronDown10 = ({ color = 'inherit', htmlColor, strokeWidth, rotation = 0, }) => {
3
- return (React.createElement("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: color },
4
- React.createElement("g", { transform: `rotate(${rotation}, 12, 12)` },
5
- React.createElement("path", { fill: htmlColor || 'currentColor', stroke: htmlColor || 'currentColor', strokeWidth: strokeWidth || '0', d: "M5.84,9.59L11.5,15.25L17.16,9.59L16.45,8.89L11.5,13.84L6.55,8.89L5.84,9.59Z" }))));
6
- };
@@ -1,6 +0,0 @@
1
- import { FC } from 'react';
2
- export declare const ChevronUp10: FC<{
3
- color?: string;
4
- htmlColor?: string;
5
- strokeWidth?: string;
6
- }>;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export const ChevronUp10 = ({ color = 'inherit', htmlColor, strokeWidth, }) => {
3
- return (React.createElement("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: color },
4
- React.createElement("path", { fill: htmlColor || 'currentColor', stroke: htmlColor || 'currentColor', strokeWidth: strokeWidth || '0', d: "M5.84,15.41L11.5,9.75L17.16,15.41L16.45,16.11L11.5,11.16L6.55,16.11L5.84,15.41Z" })));
5
- };
@@ -1,6 +0,0 @@
1
- import { FC } from 'react';
2
- export declare const IconAccount10: FC<{
3
- color?: string;
4
- htmlColor?: string;
5
- strokeWidth?: string;
6
- }>;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export const IconAccount10 = ({ color = 'inherit', htmlColor, strokeWidth, }) => {
3
- return (React.createElement("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: color },
4
- React.createElement("path", { fill: htmlColor || 'currentColor', stroke: htmlColor || 'currentColor', strokeWidth: strokeWidth || '0', d: "M11.5,14C15.64,14 19,15.57 19,17.5V20H4V17.5C4,15.57 7.36,14 11.5,14M18,17.5C18,16.12 15.09,15 11.5,15C7.91,15 5,16.12 5,17.5V19H18V17.5M11.5,5C13.43,5 15,6.57 15,8.5C15,10.43 13.43,12 11.5,12C9.57,12 8,10.43 8,8.5C8,6.57 9.57,5 11.5,5M11.5,6C10.12,6 9,7.12 9,8.5C9,9.88 10.12,11 11.5,11C12.88,11 14,9.88 14,8.5C14,7.12 12.88,6 11.5,6Z" })));
5
- };
@@ -1,6 +0,0 @@
1
- import { FC } from 'react';
2
- export declare const IconAlarm10: FC<{
3
- color?: string;
4
- htmlColor?: string;
5
- strokeWidth?: string;
6
- }>;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export const IconAlarm10 = ({ color = 'inherit', htmlColor, strokeWidth, }) => {
3
- return (React.createElement("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: color },
4
- React.createElement("path", { fill: htmlColor || 'currentColor', stroke: htmlColor || 'currentColor', strokeWidth: strokeWidth || '0', d: "M11.5,6C15.64,6 19,9.36 19,13.5C19,17.64 15.64,21 11.5,21C7.36,21 4,17.64 4,13.5C4,9.36 7.36,6 11.5,6M11.5,7C7.91,7 5,9.91 5,13.5C5,17.09 7.91,20 11.5,20C15.09,20 18,17.09 18,13.5C18,9.91 15.09,7 11.5,7M11,9H12V13.36L15.05,14.78L14.63,15.69L11,14V9M15.25,5.25L15.89,4.5L19.72,7.7L19.08,8.46L15.25,5.25M7.75,5.25L3.92,8.46L3.28,7.7L7.11,4.5L7.75,5.25Z" })));
5
- };
@@ -1,6 +0,0 @@
1
- import { FC } from 'react';
2
- export declare const IconBank10: FC<{
3
- color?: string;
4
- htmlColor?: string;
5
- strokeWidth?: string;
6
- }>;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export const IconBank10 = ({ color = 'inherit', htmlColor, strokeWidth, }) => {
3
- return (React.createElement("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: color },
4
- React.createElement("path", { fill: htmlColor || 'currentColor', stroke: htmlColor || 'currentColor', strokeWidth: strokeWidth || '0', d: "M11,2.5L20,7V9H2V7L11,2.5M15,10H19V18H15V10M2,22V19H20V22H2M9,10H13V18H9V10M3,10H7V18H3V10M3,20V21H19V20H3M4,11V17H6V11H4M10,11V17H12V11H10M16,11V17H18V11H16M3,8H19V7.6L11,3.58L3,7.6V8Z" })));
5
- };
@@ -1,6 +0,0 @@
1
- import { FC } from 'react';
2
- export declare const IconBell10: FC<{
3
- color?: string;
4
- htmlColor?: string;
5
- strokeWidth?: string;
6
- }>;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export const IconBell10 = ({ color = 'inherit', htmlColor, strokeWidth, }) => {
3
- return (React.createElement("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: color },
4
- React.createElement("path", { fill: htmlColor || 'currentColor', color: htmlColor || 'currentColor', stroke: htmlColor || 'currentColor', strokeWidth: strokeWidth || '0', d: "M12,4.5C12,4.22 11.78,4 11.5,4C11.22,4 11,4.22 11,4.5V6.03C8.75,6.28 7,8.18 7,10.5V16.41L5.41,18H17.59L16,16.41V10.5C16,8.18 14.25,6.28 12,6.03V4.5M11.5,3C12.33,3 13,3.67 13,4.5V5.21C15.31,5.86 17,8 17,10.5V16L20,19H3L6,16V10.5C6,8 7.69,5.86 10,5.21V4.5C10,3.67 10.67,3 11.5,3M11.5,22C10.29,22 9.28,21.14 9.05,20H10.09C10.29,20.58 10.85,21 11.5,21C12.15,21 12.71,20.58 12.91,20H13.95C13.72,21.14 12.71,22 11.5,22Z" })));
5
- };
@@ -1,6 +0,0 @@
1
- import { FC } from 'react';
2
- export declare const IconBriefcase10: FC<{
3
- color?: string;
4
- htmlColor?: string;
5
- strokeWidth?: string;
6
- }>;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export const IconBriefcase10 = ({ color = 'inherit', htmlColor, strokeWidth, }) => {
3
- return (React.createElement("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: color },
4
- React.createElement("path", { fill: htmlColor || 'currentColor', stroke: htmlColor || 'currentColor', strokeWidth: strokeWidth || '0', d: "M5,7H8V5L10,3H13L15,5V7H18C19.66,7 21,8.34 21,10V18C21,19.66 19.66,21 18,21H5C3.34,21 2,19.66 2,18V10C2,8.34 3.34,7 5,7M10.41,4L9,5.41V7H14V5.41L12.59,4H10.41M5,8C3.9,8 3,8.9 3,10V18C3,19.1 3.9,20 5,20H18C19.1,20 20,19.1 20,18V10C20,8.9 19.1,8 18,8H5Z" })));
5
- };
@@ -1,6 +0,0 @@
1
- import { FC } from 'react';
2
- export declare const IconCalendar10: FC<{
3
- color?: string;
4
- htmlColor?: string;
5
- strokeWidth?: string;
6
- }>;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export const IconCalendar10 = ({ color = 'inherit', htmlColor, strokeWidth, }) => {
3
- return (React.createElement("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: color },
4
- React.createElement("path", { fill: htmlColor || 'currentColor', stroke: htmlColor || 'currentColor', strokeWidth: strokeWidth || '0', d: "M7,2H8C8.55,2 9,2.45 9,3V4H14V3C14,2.45 14.45,2 15,2H16C16.55,2 17,2.45 17,3V4C18.66,4 20,5.34 20,7V18C20,19.66 18.66,21 17,21H6C4.34,21 3,19.66 3,18V7C3,5.34 4.34,4 6,4V3C6,2.45 6.45,2 7,2M15,4H16V3H15V4M8,4V3H7V4H8M6,5C4.9,5 4,5.9 4,7V8H19V7C19,5.9 18.1,5 17,5H6M4,18C4,19.1 4.9,20 6,20H17C18.1,20 19,19.1 19,18V9H4V18M12,13H17V18H12V13M13,14V17H16V14H13Z" })));
5
- };
@@ -1,6 +0,0 @@
1
- import { FC } from 'react';
2
- export declare const IconCheck10: FC<{
3
- color?: string;
4
- htmlColor?: string;
5
- strokeWidth?: string;
6
- }>;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export const IconCheck10 = ({ color = 'inherit', htmlColor, strokeWidth, }) => {
3
- return (React.createElement("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: color },
4
- React.createElement("path", { fill: htmlColor || 'currentColor', stroke: htmlColor || 'currentColor', strokeWidth: strokeWidth || '0', d: "M18.9,8.1L9,18L4.05,13.05L4.76,12.34L9,16.59L18.19,7.39L18.9,8.1Z" })));
5
- };
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export const IconClose10 = ({ color = 'inherit', htmlColor, strokeWidth, onClick }) => {
3
- return (React.createElement("svg", { width: "15", height: "15", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: color, onClick: onClick },
4
- React.createElement("path", { fill: htmlColor || 'currentColor', stroke: htmlColor || 'currentColor', strokeWidth: strokeWidth || '0', d: "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z" })));
5
- };
@@ -1,7 +0,0 @@
1
- import { FC } from 'react';
2
- export declare const IconColorPicker10: FC<{
3
- color?: string;
4
- htmlColor?: string;
5
- strokeWidth?: string;
6
- className?: string;
7
- }>;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export const IconColorPicker10 = ({ color = 'inherit', htmlColor, strokeWidth, className, }) => {
3
- return (React.createElement("svg", { width: "15", height: "15", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: `${color} ${className}` },
4
- React.createElement("path", { fill: htmlColor || 'currentColor', stroke: htmlColor || 'currentColor', strokeWidth: 0, strokeLinejoin: "round", d: "M6.92,19L5,17.08L13.06,9L15,10.94M20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L13.84,6.41L11.91,4.5L10.5,5.91L11.92,7.33L3,16.25V21H7.75L16.67,12.08L18.09,13.5L19.5,12.09L17.58,10.17L20.7,7.05C21.1,6.65 21.1,6 20.71,5.63Z" })));
5
- };
@@ -1,6 +0,0 @@
1
- import { FC } from 'react';
2
- export declare const IconError10: FC<{
3
- color?: string;
4
- htmlColor?: string;
5
- strokeWidth?: string;
6
- }>;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export const IconError10 = ({ color = 'inherit', htmlColor, strokeWidth, }) => {
3
- return (React.createElement("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: color },
4
- React.createElement("path", { fill: htmlColor || 'currentColor', stroke: htmlColor || 'currentColor', strokeWidth: strokeWidth || '0', strokeLinejoin: "round", d: "M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2C6.47,2 2,6.47 2,12C2,17.53 6.47,22 12,22C17.53,22 22,17.53 22,12C22,6.47 17.53,2 12,2M14.59,8L12,10.59L9.41,8L8,9.41L10.59,12L8,14.59L9.41,16L12,13.41L14.59,16L16,14.59L13.41,12L16,9.41L14.59,8Z" })));
5
- };
@@ -1,6 +0,0 @@
1
- import { FC } from 'react';
2
- export declare const IconEyeOff10: FC<{
3
- color?: string;
4
- htmlColor?: string;
5
- strokeWidth?: string;
6
- }>;