@expressms/smartapp-ui 2.8.1 → 2.8.2-alpha.10
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.
- package/build/main/assets/storybook/index.d.ts +2 -0
- package/build/main/components/Charts/ChartBar/ChartBar.d.ts +4 -0
- package/build/main/components/Charts/ChartLine/ChartLine.d.ts +4 -0
- package/build/main/components/Charts/ChartPie/ChartPie.d.ts +4 -0
- package/build/main/components/Charts/index.d.ts +3 -0
- package/build/main/components/CustomSelect/CustomSelect.d.ts +12 -0
- package/build/main/{/321/201omponents → components}/CustomSelect/types.d.ts +1 -0
- package/build/main/components/DraggablePopup/DraggablePopup.d.ts +4 -0
- package/build/main/components/DraggablePopup/index.d.ts +1 -0
- package/build/main/components/DraggablePopup/types.d.ts +60 -0
- package/build/main/{/321/201omponents → components}/ListItem/types.d.ts +2 -1
- package/build/main/{/321/201omponents → components}/Loader/Loader.d.ts +1 -1
- package/build/main/{/321/201omponents → components}/Loader/types.d.ts +2 -0
- package/build/main/components/Modal/Modal.d.ts +4 -0
- package/build/main/{/321/201omponents → components}/Modal/types.d.ts +11 -5
- package/build/main/{/321/201omponents → components}/ScrollBar/ScrollBar.d.ts +1 -1
- package/build/main/{/321/201omponents → components}/ScrollBar/types.d.ts +1 -0
- package/build/main/components/Skeleton/Skeleton.d.ts +4 -0
- package/build/main/components/Skeleton/index.d.ts +1 -0
- package/build/main/{/321/201omponents → components}/UserDropdown/helpers.d.ts +0 -1
- package/build/main/constants/constants.d.ts +6 -1
- package/build/main/hooks/useModal.d.ts +0 -1
- package/build/main/index.d.ts +34 -3
- package/package.json +66 -58
- package/build/main/assets/icons/arrow-back.svg +0 -3
- package/build/main/assets/icons/arrow-down.svg +0 -3
- package/build/main/assets/icons/arrow-up.svg +0 -3
- package/build/main/assets/icons/attachment-loader.svg +0 -3
- package/build/main/assets/icons/button-loader.svg +0 -3
- package/build/main/assets/icons/cancel-cross.svg +0 -3
- package/build/main/assets/icons/check-mark.svg +0 -4
- package/build/main/assets/icons/clear.svg +0 -3
- package/build/main/assets/icons/close-stories.svg +0 -4
- package/build/main/assets/icons/close.svg +0 -10
- package/build/main/assets/icons/contact-info.svg +0 -12
- package/build/main/assets/icons/corporate-user.svg +0 -10
- package/build/main/assets/icons/crown.svg +0 -5
- package/build/main/assets/icons/delete-chip.svg +0 -3
- package/build/main/assets/icons/download.svg +0 -4
- package/build/main/assets/icons/error.svg +0 -5
- package/build/main/assets/icons/external-link.svg +0 -3
- package/build/main/assets/icons/eye-off.svg +0 -10
- package/build/main/assets/icons/eye.svg +0 -10
- package/build/main/assets/icons/file.svg +0 -3
- package/build/main/assets/icons/info.svg +0 -5
- package/build/main/assets/icons/loader.svg +0 -3
- package/build/main/assets/icons/logout.svg +0 -4
- package/build/main/assets/icons/magnifying-glass.svg +0 -3
- package/build/main/assets/icons/mail.svg +0 -3
- package/build/main/assets/icons/my-contact-user.svg +0 -10
- package/build/main/assets/icons/notification-close.svg +0 -3
- package/build/main/assets/icons/notification-error.svg +0 -3
- package/build/main/assets/icons/notification-failure.svg +0 -3
- package/build/main/assets/icons/notification-info.svg +0 -5
- package/build/main/assets/icons/notification-success.svg +0 -4
- package/build/main/assets/icons/notification-warning.svg +0 -5
- package/build/main/assets/icons/order.svg +0 -6
- package/build/main/assets/icons/plus.svg +0 -4
- package/build/main/assets/icons/private.svg +0 -12
- package/build/main/assets/icons/refresh.svg +0 -3
- package/build/main/assets/icons/story-loader.svg +0 -3
- package/build/main/assets/icons/tick.svg +0 -10
- package/build/main/assets/icons/trash.svg +0 -3
- package/build/main/assets/icons/unread-mails.svg +0 -4
- package/build/main/assets/storybook/index.js +0 -19
- package/build/main/assets/storybook/index.js.map +0 -1
- package/build/main/constants/constants.js +0 -154
- package/build/main/constants/constants.js.map +0 -1
- package/build/main/constants/index.js +0 -3
- package/build/main/constants/index.js.map +0 -1
- package/build/main/constants/types.js +0 -2
- package/build/main/constants/types.js.map +0 -1
- package/build/main/helpers/index.js +0 -89
- package/build/main/helpers/index.js.map +0 -1
- package/build/main/hooks/useModal.js +0 -60
- package/build/main/hooks/useModal.js.map +0 -1
- package/build/main/index.js +0 -4
- package/build/main/index.js.map +0 -1
- package/build/main/styles/index.js +0 -2
- package/build/main/styles/index.js.map +0 -1
- package/build/main/styles/main.js +0 -0
- package/build/main/styles/styles.scss +0 -14
- package/build/main//321/201omponents/ActionModal/ActionModal.js +0 -55
- package/build/main//321/201omponents/ActionModal/ActionModal.js.map +0 -1
- package/build/main//321/201omponents/ActionModal/index.js +0 -2
- package/build/main//321/201omponents/ActionModal/index.js.map +0 -1
- package/build/main//321/201omponents/ActionModal/types.js +0 -2
- package/build/main//321/201omponents/ActionModal/types.js.map +0 -1
- package/build/main//321/201omponents/AttachedFile/AttachedFile.js +0 -60
- package/build/main//321/201omponents/AttachedFile/AttachedFile.js.map +0 -1
- package/build/main//321/201omponents/AttachedFile/index.js +0 -2
- package/build/main//321/201omponents/AttachedFile/index.js.map +0 -1
- package/build/main//321/201omponents/AttachedFile/types.js +0 -2
- package/build/main//321/201omponents/AttachedFile/types.js.map +0 -1
- package/build/main//321/201omponents/Avatar/Avatar.js +0 -131
- package/build/main//321/201omponents/Avatar/Avatar.js.map +0 -1
- package/build/main//321/201omponents/Avatar/index.js +0 -2
- package/build/main//321/201omponents/Avatar/index.js.map +0 -1
- package/build/main//321/201omponents/Avatar/types.js +0 -9
- package/build/main//321/201omponents/Avatar/types.js.map +0 -1
- package/build/main//321/201omponents/Button/Button.js +0 -57
- package/build/main//321/201omponents/Button/Button.js.map +0 -1
- package/build/main//321/201omponents/Button/index.js +0 -2
- package/build/main//321/201omponents/Button/index.js.map +0 -1
- package/build/main//321/201omponents/Button/types.js +0 -11
- package/build/main//321/201omponents/Button/types.js.map +0 -1
- package/build/main//321/201omponents/CachedImage/CachedImage.js +0 -59
- package/build/main//321/201omponents/CachedImage/CachedImage.js.map +0 -1
- package/build/main//321/201omponents/CachedImage/helpers.js +0 -40
- package/build/main//321/201omponents/CachedImage/helpers.js.map +0 -1
- package/build/main//321/201omponents/CachedImage/index.js +0 -2
- package/build/main//321/201omponents/CachedImage/index.js.map +0 -1
- package/build/main//321/201omponents/CachedImage/types.js +0 -2
- package/build/main//321/201omponents/CachedImage/types.js.map +0 -1
- package/build/main//321/201omponents/Calendar/Calendar.js +0 -48
- package/build/main//321/201omponents/Calendar/Calendar.js.map +0 -1
- package/build/main//321/201omponents/Calendar/index.js +0 -2
- package/build/main//321/201omponents/Calendar/index.js.map +0 -1
- package/build/main//321/201omponents/Calendar/types.js +0 -2
- package/build/main//321/201omponents/Calendar/types.js.map +0 -1
- package/build/main//321/201omponents/Charts/ChartBar/ChartBar.d.ts +0 -3
- package/build/main//321/201omponents/Charts/ChartBar/ChartBar.js +0 -45
- package/build/main//321/201omponents/Charts/ChartBar/ChartBar.js.map +0 -1
- package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.js +0 -71
- package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.js.map +0 -1
- package/build/main//321/201omponents/Charts/ChartLine/ChartLine.d.ts +0 -3
- package/build/main//321/201omponents/Charts/ChartLine/ChartLine.js +0 -40
- package/build/main//321/201omponents/Charts/ChartLine/ChartLine.js.map +0 -1
- package/build/main//321/201omponents/Charts/ChartPie/ChartPie.d.ts +0 -3
- package/build/main//321/201omponents/Charts/ChartPie/ChartPie.js +0 -62
- package/build/main//321/201omponents/Charts/ChartPie/ChartPie.js.map +0 -1
- package/build/main//321/201omponents/Charts/colors.js +0 -4
- package/build/main//321/201omponents/Charts/colors.js.map +0 -1
- package/build/main//321/201omponents/Charts/constants.js +0 -43
- package/build/main//321/201omponents/Charts/constants.js.map +0 -1
- package/build/main//321/201omponents/Charts/helpers.js +0 -73
- package/build/main//321/201omponents/Charts/helpers.js.map +0 -1
- package/build/main//321/201omponents/Charts/index.d.ts +0 -3
- package/build/main//321/201omponents/Charts/index.js +0 -4
- package/build/main//321/201omponents/Charts/index.js.map +0 -1
- package/build/main//321/201omponents/Charts/types.js +0 -2
- package/build/main//321/201omponents/Charts/types.js.map +0 -1
- package/build/main//321/201omponents/Charts/useEvents.js +0 -45
- package/build/main//321/201omponents/Charts/useEvents.js.map +0 -1
- package/build/main//321/201omponents/Charts/usePieEvents.js +0 -57
- package/build/main//321/201omponents/Charts/usePieEvents.js.map +0 -1
- package/build/main//321/201omponents/Checkbox/Checkbox.js +0 -38
- package/build/main//321/201omponents/Checkbox/Checkbox.js.map +0 -1
- package/build/main//321/201omponents/Checkbox/index.js +0 -2
- package/build/main//321/201omponents/Checkbox/index.js.map +0 -1
- package/build/main//321/201omponents/Checkbox/types.js +0 -2
- package/build/main//321/201omponents/Checkbox/types.js.map +0 -1
- package/build/main//321/201omponents/Chip/Chip.js +0 -35
- package/build/main//321/201omponents/Chip/Chip.js.map +0 -1
- package/build/main//321/201omponents/Chip/index.js +0 -2
- package/build/main//321/201omponents/Chip/index.js.map +0 -1
- package/build/main//321/201omponents/Chip/types.js +0 -2
- package/build/main//321/201omponents/Chip/types.js.map +0 -1
- package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js +0 -70
- package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js.map +0 -1
- package/build/main//321/201omponents/ConfirmationModal/index.js +0 -2
- package/build/main//321/201omponents/ConfirmationModal/index.js.map +0 -1
- package/build/main//321/201omponents/ConfirmationModal/types.js +0 -2
- package/build/main//321/201omponents/ConfirmationModal/types.js.map +0 -1
- package/build/main//321/201omponents/ContextMenu/ContextMenu.js +0 -75
- package/build/main//321/201omponents/ContextMenu/ContextMenu.js.map +0 -1
- package/build/main//321/201omponents/ContextMenu/index.js +0 -2
- package/build/main//321/201omponents/ContextMenu/index.js.map +0 -1
- package/build/main//321/201omponents/ContextMenu/types.js +0 -2
- package/build/main//321/201omponents/ContextMenu/types.js.map +0 -1
- package/build/main//321/201omponents/CustomSelect/CustomSelect.d.ts +0 -4
- package/build/main//321/201omponents/CustomSelect/CustomSelect.js +0 -173
- package/build/main//321/201omponents/CustomSelect/CustomSelect.js.map +0 -1
- package/build/main//321/201omponents/CustomSelect/index.js +0 -2
- package/build/main//321/201omponents/CustomSelect/index.js.map +0 -1
- package/build/main//321/201omponents/CustomSelect/selectStyles.js +0 -61
- package/build/main//321/201omponents/CustomSelect/selectStyles.js.map +0 -1
- package/build/main//321/201omponents/CustomSelect/types.js +0 -2
- package/build/main//321/201omponents/CustomSelect/types.js.map +0 -1
- package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js +0 -57
- package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js.map +0 -1
- package/build/main//321/201omponents/CustomSelectProfiles/index.js +0 -2
- package/build/main//321/201omponents/CustomSelectProfiles/index.js.map +0 -1
- package/build/main//321/201omponents/CustomSelectProfiles/types.js +0 -2
- package/build/main//321/201omponents/CustomSelectProfiles/types.js.map +0 -1
- package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js +0 -57
- package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js.map +0 -1
- package/build/main//321/201omponents/DragAndDrop/index.js +0 -2
- package/build/main//321/201omponents/DragAndDrop/index.js.map +0 -1
- package/build/main//321/201omponents/DragAndDrop/types.js +0 -2
- package/build/main//321/201omponents/DragAndDrop/types.js.map +0 -1
- package/build/main//321/201omponents/Error/Error.js +0 -23
- package/build/main//321/201omponents/Error/Error.js.map +0 -1
- package/build/main//321/201omponents/Error/index.js +0 -2
- package/build/main//321/201omponents/Error/index.js.map +0 -1
- package/build/main//321/201omponents/Error/types.js +0 -2
- package/build/main//321/201omponents/Error/types.js.map +0 -1
- package/build/main//321/201omponents/Flex/Flex.js +0 -49
- package/build/main//321/201omponents/Flex/Flex.js.map +0 -1
- package/build/main//321/201omponents/Flex/HFlex/HFlex.js +0 -16
- package/build/main//321/201omponents/Flex/HFlex/HFlex.js.map +0 -1
- package/build/main//321/201omponents/Flex/HFlex/index.js +0 -2
- package/build/main//321/201omponents/Flex/HFlex/index.js.map +0 -1
- package/build/main//321/201omponents/Flex/VFlex/VFlex.js +0 -16
- package/build/main//321/201omponents/Flex/VFlex/VFlex.js.map +0 -1
- package/build/main//321/201omponents/Flex/VFlex/index.js +0 -2
- package/build/main//321/201omponents/Flex/VFlex/index.js.map +0 -1
- package/build/main//321/201omponents/Flex/index.js +0 -4
- package/build/main//321/201omponents/Flex/index.js.map +0 -1
- package/build/main//321/201omponents/Flex/types.js +0 -2
- package/build/main//321/201omponents/Flex/types.js.map +0 -1
- package/build/main//321/201omponents/Header/Header.js +0 -124
- package/build/main//321/201omponents/Header/Header.js.map +0 -1
- package/build/main//321/201omponents/Header/index.js +0 -2
- package/build/main//321/201omponents/Header/index.js.map +0 -1
- package/build/main//321/201omponents/Header/types.js +0 -2
- package/build/main//321/201omponents/Header/types.js.map +0 -1
- package/build/main//321/201omponents/Input/Input.js +0 -207
- package/build/main//321/201omponents/Input/Input.js.map +0 -1
- package/build/main//321/201omponents/Input/index.js +0 -2
- package/build/main//321/201omponents/Input/index.js.map +0 -1
- package/build/main//321/201omponents/Input/types.js +0 -2
- package/build/main//321/201omponents/Input/types.js.map +0 -1
- package/build/main//321/201omponents/ListItem/ListItem.js +0 -208
- package/build/main//321/201omponents/ListItem/ListItem.js.map +0 -1
- package/build/main//321/201omponents/ListItem/index.js +0 -2
- package/build/main//321/201omponents/ListItem/index.js.map +0 -1
- package/build/main//321/201omponents/ListItem/types.js +0 -2
- package/build/main//321/201omponents/ListItem/types.js.map +0 -1
- package/build/main//321/201omponents/Loader/Loader.js +0 -37
- package/build/main//321/201omponents/Loader/Loader.js.map +0 -1
- package/build/main//321/201omponents/Loader/index.js +0 -2
- package/build/main//321/201omponents/Loader/index.js.map +0 -1
- package/build/main//321/201omponents/Loader/types.js +0 -2
- package/build/main//321/201omponents/Loader/types.js.map +0 -1
- package/build/main//321/201omponents/Modal/Modal.d.ts +0 -4
- package/build/main//321/201omponents/Modal/Modal.js +0 -92
- package/build/main//321/201omponents/Modal/Modal.js.map +0 -1
- package/build/main//321/201omponents/Modal/index.js +0 -2
- package/build/main//321/201omponents/Modal/index.js.map +0 -1
- package/build/main//321/201omponents/Modal/types.js +0 -2
- package/build/main//321/201omponents/Modal/types.js.map +0 -1
- package/build/main//321/201omponents/Notification/Notification.js +0 -197
- package/build/main//321/201omponents/Notification/Notification.js.map +0 -1
- package/build/main//321/201omponents/Notification/index.js +0 -2
- package/build/main//321/201omponents/Notification/index.js.map +0 -1
- package/build/main//321/201omponents/Notification/types.js +0 -2
- package/build/main//321/201omponents/Notification/types.js.map +0 -1
- package/build/main//321/201omponents/Profile/Profile.js +0 -42
- package/build/main//321/201omponents/Profile/Profile.js.map +0 -1
- package/build/main//321/201omponents/Profile/index.js +0 -2
- package/build/main//321/201omponents/Profile/index.js.map +0 -1
- package/build/main//321/201omponents/Profile/types.js +0 -2
- package/build/main//321/201omponents/Profile/types.js.map +0 -1
- package/build/main//321/201omponents/ProgressBar/ProgressBar.js +0 -66
- package/build/main//321/201omponents/ProgressBar/ProgressBar.js.map +0 -1
- package/build/main//321/201omponents/ProgressBar/index.js +0 -2
- package/build/main//321/201omponents/ProgressBar/index.js.map +0 -1
- package/build/main//321/201omponents/ProgressBar/types.js +0 -2
- package/build/main//321/201omponents/ProgressBar/types.js.map +0 -1
- package/build/main//321/201omponents/RadioButton/RadioButton.js +0 -37
- package/build/main//321/201omponents/RadioButton/RadioButton.js.map +0 -1
- package/build/main//321/201omponents/RadioButton/index.js +0 -2
- package/build/main//321/201omponents/RadioButton/index.js.map +0 -1
- package/build/main//321/201omponents/RadioButton/types.js +0 -2
- package/build/main//321/201omponents/RadioButton/types.js.map +0 -1
- package/build/main//321/201omponents/ScrollBar/ScrollBar.js +0 -63
- package/build/main//321/201omponents/ScrollBar/ScrollBar.js.map +0 -1
- package/build/main//321/201omponents/ScrollBar/index.js +0 -2
- package/build/main//321/201omponents/ScrollBar/index.js.map +0 -1
- package/build/main//321/201omponents/ScrollBar/types.js +0 -2
- package/build/main//321/201omponents/ScrollBar/types.js.map +0 -1
- package/build/main//321/201omponents/Skeleton/Skeleton.d.ts +0 -3
- package/build/main//321/201omponents/Skeleton/Skeleton.js +0 -58
- package/build/main//321/201omponents/Skeleton/Skeleton.js.map +0 -1
- package/build/main//321/201omponents/Skeleton/index.d.ts +0 -1
- package/build/main//321/201omponents/Skeleton/index.js +0 -2
- package/build/main//321/201omponents/Skeleton/index.js.map +0 -1
- package/build/main//321/201omponents/Skeleton/types.js +0 -2
- package/build/main//321/201omponents/Skeleton/types.js.map +0 -1
- package/build/main//321/201omponents/Stories/Stories.js +0 -296
- package/build/main//321/201omponents/Stories/Stories.js.map +0 -1
- package/build/main//321/201omponents/Stories/index.js +0 -2
- package/build/main//321/201omponents/Stories/index.js.map +0 -1
- package/build/main//321/201omponents/Stories/types.js +0 -11
- package/build/main//321/201omponents/Stories/types.js.map +0 -1
- package/build/main//321/201omponents/Switcher/Switcher.js +0 -34
- package/build/main//321/201omponents/Switcher/Switcher.js.map +0 -1
- package/build/main//321/201omponents/Switcher/index.js +0 -2
- package/build/main//321/201omponents/Switcher/index.js.map +0 -1
- package/build/main//321/201omponents/Switcher/types.js +0 -2
- package/build/main//321/201omponents/Switcher/types.js.map +0 -1
- package/build/main//321/201omponents/SyncLoader/SyncLoader.js +0 -65
- package/build/main//321/201omponents/SyncLoader/SyncLoader.js.map +0 -1
- package/build/main//321/201omponents/SyncLoader/index.js +0 -2
- package/build/main//321/201omponents/SyncLoader/index.js.map +0 -1
- package/build/main//321/201omponents/SyncLoader/types.js +0 -2
- package/build/main//321/201omponents/SyncLoader/types.js.map +0 -1
- package/build/main//321/201omponents/Textarea/Textarea.js +0 -96
- package/build/main//321/201omponents/Textarea/Textarea.js.map +0 -1
- package/build/main//321/201omponents/Textarea/index.js +0 -2
- package/build/main//321/201omponents/Textarea/index.js.map +0 -1
- package/build/main//321/201omponents/Textarea/types.js +0 -2
- package/build/main//321/201omponents/Textarea/types.js.map +0 -1
- package/build/main//321/201omponents/Toggle/Toggle.js +0 -38
- package/build/main//321/201omponents/Toggle/Toggle.js.map +0 -1
- package/build/main//321/201omponents/Toggle/index.js +0 -2
- package/build/main//321/201omponents/Toggle/index.js.map +0 -1
- package/build/main//321/201omponents/Toggle/types.js +0 -2
- package/build/main//321/201omponents/Toggle/types.js.map +0 -1
- package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.js +0 -31
- package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.js.map +0 -1
- package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.js +0 -70
- package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.js.map +0 -1
- package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.js +0 -23
- package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.js.map +0 -1
- package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.js +0 -81
- package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.js.map +0 -1
- package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js +0 -40
- package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js.map +0 -1
- package/build/main//321/201omponents/UserDropdown/Option/Option.js +0 -90
- package/build/main//321/201omponents/UserDropdown/Option/Option.js.map +0 -1
- package/build/main//321/201omponents/UserDropdown/UserDropdown.js +0 -434
- package/build/main//321/201omponents/UserDropdown/UserDropdown.js.map +0 -1
- package/build/main//321/201omponents/UserDropdown/helpers.js +0 -93
- package/build/main//321/201omponents/UserDropdown/helpers.js.map +0 -1
- package/build/main//321/201omponents/UserDropdown/index.js +0 -2
- package/build/main//321/201omponents/UserDropdown/index.js.map +0 -1
- package/build/main//321/201omponents/UserDropdown/selectStyles.js +0 -75
- package/build/main//321/201omponents/UserDropdown/selectStyles.js.map +0 -1
- package/build/main//321/201omponents/UserDropdown/types.js +0 -2
- package/build/main//321/201omponents/UserDropdown/types.js.map +0 -1
- package/build/main//321/201omponents/index.d.ts +0 -33
- package/build/main//321/201omponents/index.js +0 -34
- package/build/main//321/201omponents/index.js.map +0 -1
- package/build/main//321/201omponents/types.js +0 -2
- package/build/main//321/201omponents/types.js.map +0 -1
- /package/build/main/{/321/201omponents/ActionModal/ActionModal.d.ts" → components/ActionModal/ActionModal.d.ts} +0 -0
- /package/build/main/{/321/201omponents/ActionModal/index.d.ts" → components/ActionModal/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/ActionModal/types.d.ts" → components/ActionModal/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/AttachedFile/AttachedFile.d.ts" → components/AttachedFile/AttachedFile.d.ts} +0 -0
- /package/build/main/{/321/201omponents/AttachedFile/index.d.ts" → components/AttachedFile/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/AttachedFile/types.d.ts" → components/AttachedFile/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Avatar/Avatar.d.ts" → components/Avatar/Avatar.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Avatar/index.d.ts" → components/Avatar/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Avatar/types.d.ts" → components/Avatar/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Button/Button.d.ts" → components/Button/Button.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Button/index.d.ts" → components/Button/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Button/types.d.ts" → components/Button/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/CachedImage/CachedImage.d.ts" → components/CachedImage/CachedImage.d.ts} +0 -0
- /package/build/main/{/321/201omponents/CachedImage/helpers.d.ts" → components/CachedImage/helpers.d.ts} +0 -0
- /package/build/main/{/321/201omponents/CachedImage/index.d.ts" → components/CachedImage/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/CachedImage/types.d.ts" → components/CachedImage/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Calendar/Calendar.d.ts" → components/Calendar/Calendar.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Calendar/index.d.ts" → components/Calendar/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Calendar/types.d.ts" → components/Calendar/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Charts/ChartLegend/ChartLegend.d.ts" → components/Charts/ChartLegend/ChartLegend.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Charts/colors.d.ts" → components/Charts/colors.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Charts/constants.d.ts" → components/Charts/constants.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Charts/helpers.d.ts" → components/Charts/helpers.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Charts/types.d.ts" → components/Charts/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Charts/useEvents.d.ts" → components/Charts/useEvents.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Charts/usePieEvents.d.ts" → components/Charts/usePieEvents.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Checkbox/Checkbox.d.ts" → components/Checkbox/Checkbox.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Checkbox/index.d.ts" → components/Checkbox/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Checkbox/types.d.ts" → components/Checkbox/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Chip/Chip.d.ts" → components/Chip/Chip.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Chip/index.d.ts" → components/Chip/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Chip/types.d.ts" → components/Chip/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/ConfirmationModal/ConfirmationModal.d.ts" → components/ConfirmationModal/ConfirmationModal.d.ts} +0 -0
- /package/build/main/{/321/201omponents/ConfirmationModal/index.d.ts" → components/ConfirmationModal/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/ConfirmationModal/types.d.ts" → components/ConfirmationModal/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/ContextMenu/ContextMenu.d.ts" → components/ContextMenu/ContextMenu.d.ts} +0 -0
- /package/build/main/{/321/201omponents/ContextMenu/index.d.ts" → components/ContextMenu/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/ContextMenu/types.d.ts" → components/ContextMenu/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/CustomSelect/index.d.ts" → components/CustomSelect/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/CustomSelect/selectStyles.d.ts" → components/CustomSelect/selectStyles.d.ts} +0 -0
- /package/build/main/{/321/201omponents/CustomSelectProfiles/CustomSelectProfiles.d.ts" → components/CustomSelectProfiles/CustomSelectProfiles.d.ts} +0 -0
- /package/build/main/{/321/201omponents/CustomSelectProfiles/index.d.ts" → components/CustomSelectProfiles/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/CustomSelectProfiles/types.d.ts" → components/CustomSelectProfiles/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/DragAndDrop/DragAndDrop.d.ts" → components/DragAndDrop/DragAndDrop.d.ts} +0 -0
- /package/build/main/{/321/201omponents/DragAndDrop/index.d.ts" → components/DragAndDrop/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/DragAndDrop/types.d.ts" → components/DragAndDrop/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Error/Error.d.ts" → components/Error/Error.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Error/index.d.ts" → components/Error/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Error/types.d.ts" → components/Error/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Flex/Flex.d.ts" → components/Flex/Flex.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Flex/HFlex/HFlex.d.ts" → components/Flex/HFlex/HFlex.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Flex/HFlex/index.d.ts" → components/Flex/HFlex/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Flex/VFlex/VFlex.d.ts" → components/Flex/VFlex/VFlex.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Flex/VFlex/index.d.ts" → components/Flex/VFlex/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Flex/index.d.ts" → components/Flex/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Flex/types.d.ts" → components/Flex/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Header/Header.d.ts" → components/Header/Header.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Header/index.d.ts" → components/Header/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Header/types.d.ts" → components/Header/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Input/Input.d.ts" → components/Input/Input.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Input/index.d.ts" → components/Input/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Input/types.d.ts" → components/Input/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/ListItem/ListItem.d.ts" → components/ListItem/ListItem.d.ts} +0 -0
- /package/build/main/{/321/201omponents/ListItem/index.d.ts" → components/ListItem/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Loader/index.d.ts" → components/Loader/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Modal/index.d.ts" → components/Modal/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Notification/Notification.d.ts" → components/Notification/Notification.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Notification/index.d.ts" → components/Notification/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Notification/types.d.ts" → components/Notification/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Profile/Profile.d.ts" → components/Profile/Profile.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Profile/index.d.ts" → components/Profile/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Profile/types.d.ts" → components/Profile/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/ProgressBar/ProgressBar.d.ts" → components/ProgressBar/ProgressBar.d.ts} +0 -0
- /package/build/main/{/321/201omponents/ProgressBar/index.d.ts" → components/ProgressBar/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/ProgressBar/types.d.ts" → components/ProgressBar/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/RadioButton/RadioButton.d.ts" → components/RadioButton/RadioButton.d.ts} +0 -0
- /package/build/main/{/321/201omponents/RadioButton/index.d.ts" → components/RadioButton/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/RadioButton/types.d.ts" → components/RadioButton/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/ScrollBar/index.d.ts" → components/ScrollBar/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Skeleton/types.d.ts" → components/Skeleton/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Stories/Stories.d.ts" → components/Stories/Stories.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Stories/index.d.ts" → components/Stories/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Stories/types.d.ts" → components/Stories/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Switcher/Switcher.d.ts" → components/Switcher/Switcher.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Switcher/index.d.ts" → components/Switcher/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Switcher/types.d.ts" → components/Switcher/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/SyncLoader/SyncLoader.d.ts" → components/SyncLoader/SyncLoader.d.ts} +0 -0
- /package/build/main/{/321/201omponents/SyncLoader/index.d.ts" → components/SyncLoader/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/SyncLoader/types.d.ts" → components/SyncLoader/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Textarea/Textarea.d.ts" → components/Textarea/Textarea.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Textarea/index.d.ts" → components/Textarea/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Textarea/types.d.ts" → components/Textarea/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Toggle/Toggle.d.ts" → components/Toggle/Toggle.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Toggle/index.d.ts" → components/Toggle/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/Toggle/types.d.ts" → components/Toggle/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.d.ts" → components/UserDropdown/ContactBottomSheet/ContactBottomSheet.d.ts} +0 -0
- /package/build/main/{/321/201omponents/UserDropdown/ContactInfo/ContactInfo.d.ts" → components/UserDropdown/ContactInfo/ContactInfo.d.ts} +0 -0
- /package/build/main/{/321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.d.ts" → components/UserDropdown/LoadingMessage/LoadingMessage.d.ts} +0 -0
- /package/build/main/{/321/201omponents/UserDropdown/MenuList/MenuList.d.ts" → components/UserDropdown/MenuList/MenuList.d.ts} +0 -0
- /package/build/main/{/321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.d.ts" → components/UserDropdown/MultiValueLabel/MultiValueLabel.d.ts} +0 -0
- /package/build/main/{/321/201omponents/UserDropdown/Option/Option.d.ts" → components/UserDropdown/Option/Option.d.ts} +0 -0
- /package/build/main/{/321/201omponents/UserDropdown/UserDropdown.d.ts" → components/UserDropdown/UserDropdown.d.ts} +0 -0
- /package/build/main/{/321/201omponents/UserDropdown/index.d.ts" → components/UserDropdown/index.d.ts} +0 -0
- /package/build/main/{/321/201omponents/UserDropdown/selectStyles.d.ts" → components/UserDropdown/selectStyles.d.ts} +0 -0
- /package/build/main/{/321/201omponents/UserDropdown/types.d.ts" → components/UserDropdown/types.d.ts} +0 -0
- /package/build/main/{/321/201omponents/types.d.ts" → components/types.d.ts} +0 -0
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g clip-path="url(#clip0_6152_8872)">
|
|
3
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.20702 2.19175C2.96353 1.96698 2.58394 1.98216 2.35917 2.22565C2.13441 2.46914 2.14959 2.84874 2.39308 3.0735L13.0476 12.9087C13.2911 13.1334 13.6707 13.1183 13.8955 12.8748C14.1202 12.6313 14.1051 12.2517 13.8616 12.0269L3.20702 2.19175ZM15.7928 8.56068C15.7249 8.64065 14.9075 9.58737 13.5974 10.5456L12.5481 9.57705C13.3913 8.98651 14.0352 8.3734 14.3967 8C13.8068 7.39074 12.4638 6.1433 10.7304 5.39707C11.0685 5.91145 11.2665 6.52607 11.2665 7.18765C11.2665 7.55419 11.2062 7.90663 11.0948 8.23557L9.91871 7.14993C9.96924 7.14143 10.0181 7.12489 10.0641 7.09975C10.3528 6.94216 10.4185 6.50576 10.2107 6.1251C10.0029 5.74459 9.60026 5.56377 9.31155 5.72136C9.10906 5.83183 9.01634 6.07928 9.05051 6.34851L6.10673 3.63117C6.71063 3.47699 7.34446 3.38635 8.0001 3.38635C12.2935 3.38635 15.6521 7.27343 15.7926 7.43915C16.0691 7.76425 16.0691 8.23574 15.7928 8.56068ZM4.80406 6.51144L8.92984 10.3198C8.63511 10.4072 8.323 10.4541 7.99994 10.4541C6.19587 10.4541 4.73349 8.99171 4.73349 7.18765C4.73349 6.95571 4.75785 6.72954 4.80406 6.51144ZM3.12452 4.96109L4.19222 5.94666C2.9849 6.65835 2.06425 7.52399 1.60335 8C2.47695 8.90203 5.00091 11.2054 8.0001 11.2054C8.56892 11.2054 9.12065 11.1225 9.64727 10.9821L10.8294 12.0733C9.95687 12.4011 9.00404 12.6136 8.0001 12.6136C3.70652 12.6136 0.348111 8.72672 0.207413 8.561C-0.0691105 8.23574 -0.0691104 7.76425 0.20725 7.43931C0.286972 7.34543 1.39731 6.0596 3.12452 4.96109Z" fill="currentColor"/>
|
|
4
|
-
</g>
|
|
5
|
-
<defs>
|
|
6
|
-
<clipPath id="clip0_6152_8872">
|
|
7
|
-
<rect width="16" height="16" fill="white"/>
|
|
8
|
-
</clipPath>
|
|
9
|
-
</defs>
|
|
10
|
-
</svg>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g clip-path="url(#clip0_6152_8870)">
|
|
3
|
-
<path d="M15.7926 7.43915C15.6521 7.27344 12.2935 3.38635 8.0001 3.38635C3.70652 3.38635 0.348111 7.27344 0.20725 7.43932C-0.0691104 7.76426 -0.0691104 8.23574 0.207413 8.56101C0.348111 8.72673 3.70652 12.6136 8.0001 12.6136C12.2935 12.6136 15.6521 8.7264 15.7928 8.56068C16.0691 8.23574 16.0691 7.76426 15.7926 7.43915ZM9.31155 5.72136C9.60026 5.56377 10.0029 5.7446 10.2107 6.1251C10.4185 6.50577 10.3528 6.94216 10.0641 7.09976C9.77556 7.25751 9.3728 7.07652 9.16484 6.69602C8.95721 6.31535 9.02268 5.87896 9.31155 5.72136ZM8.0001 11.2054C5.00091 11.2054 2.47695 8.90203 1.60335 8C2.19328 7.39074 3.53641 6.14314 5.2698 5.39708C4.9317 5.91145 4.73349 6.52608 4.73349 7.18765C4.73349 8.99171 6.19587 10.4541 7.99994 10.4541C9.804 10.4541 11.2665 8.99171 11.2665 7.18765C11.2665 6.52608 11.0685 5.91145 10.7304 5.39708C12.4638 6.1433 13.8068 7.39074 14.3967 8C13.5231 8.90252 10.9991 11.2054 8.0001 11.2054Z" fill="currentColor"/>
|
|
4
|
-
</g>
|
|
5
|
-
<defs>
|
|
6
|
-
<clipPath id="clip0_6152_8870">
|
|
7
|
-
<rect width="16" height="16" fill="white"/>
|
|
8
|
-
</clipPath>
|
|
9
|
-
</defs>
|
|
10
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M5 6.79994C5 5.94336 5.00078 5.36107 5.03755 4.91098C5.07337 4.47256 5.1383 4.24836 5.21799 4.09196C5.40973 3.71563 5.71569 3.40967 6.09202 3.21793C6.24842 3.13824 6.47262 3.07331 6.91104 3.03749C7.36113 3.00072 7.94342 2.99994 8.8 2.99994H13.3373C13.4683 2.99994 13.5336 3.00018 13.5811 3.00235C13.5824 3.00241 13.5836 3.00246 13.5847 3.00252C13.5856 3.00329 13.5865 3.00409 13.5874 3.00493C13.6225 3.03698 13.6689 3.08304 13.7615 3.17567L18.8243 8.23842C18.9169 8.33105 18.963 8.37745 18.995 8.41256C18.9958 8.41349 18.9966 8.41437 18.9974 8.41522C18.9975 8.41637 18.9975 8.41756 18.9976 8.41881C18.9998 8.4663 19 8.53168 19 8.66268V17.1999C19 18.0565 18.9992 18.6388 18.9624 19.0889C18.9266 19.5273 18.8617 19.7515 18.782 19.9079C18.5903 20.2843 18.2843 20.5902 17.908 20.782C17.7516 20.8616 17.5274 20.9266 17.089 20.9624C16.6389 20.9992 16.0566 20.9999 15.2 20.9999H8.8C7.94342 20.9999 7.36113 20.9992 6.91104 20.9624C6.47262 20.9266 6.24842 20.8616 6.09202 20.782C5.7157 20.5902 5.40973 20.2842 5.21799 19.9079C5.1383 19.7515 5.07337 19.5273 5.03755 19.0889C5.00078 18.6388 5 18.0565 5 17.1999V6.79994Z" stroke="currentColor" stroke-opacity="1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g id="icon/info">
|
|
3
|
-
<path id="Vector" d="M11.9951 17C12.5451 17 12.9951 16.55 12.9951 16V12C12.9951 11.45 12.5451 11 11.9951 11C11.4451 11 10.9951 11.45 10.9951 12V16C10.9951 16.55 11.4451 17 11.9951 17ZM11.9851 22.0001C6.46512 22.0001 1.99512 17.52 1.99512 12C1.99512 6.48 6.46512 2 11.9851 2C17.515 2 21.9951 6.48 21.9951 12C21.9951 17.52 17.515 22.0001 11.9851 22.0001ZM11.9951 4.00001C7.57512 4.00001 3.99513 7.58 3.99513 12C3.99513 16.42 7.57512 20 11.9951 20C16.4151 20 19.9951 16.42 19.9951 12C19.9951 7.58 16.4151 4.00001 11.9951 4.00001ZM12.9951 7.00001H10.9951V9H12.9951V7.00001Z" fill="#C84235"/>
|
|
4
|
-
</g>
|
|
5
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.5 8C1.5 4.13401 4.63401 1 8.5 1C12.366 1 15.5 4.13401 15.5 8C15.5 11.866 12.366 15 8.5 15C7.94772 15 7.5 14.5523 7.5 14C7.5 13.4477 7.94772 13 8.5 13C11.2614 13 13.5 10.7614 13.5 8C13.5 5.23858 11.2614 3 8.5 3C5.73858 3 3.5 5.23858 3.5 8C3.5 8.55228 3.05228 9 2.5 9C1.94772 9 1.5 8.55228 1.5 8Z" fill="currentColor"/>
|
|
3
|
-
</svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M5.57275 5H11.5728C12.1228 5 12.5728 4.55 12.5728 4C12.5728 3.45 12.1228 3 11.5728 3H5.57275C4.47275 3 3.57275 3.9 3.57275 5V19C3.57275 20.1 4.47275 21 5.57275 21H11.5728C12.1228 21 12.5728 20.55 12.5728 20C12.5728 19.45 12.1228 19 11.5728 19H5.57275V5Z" fill="currentColor"/>
|
|
3
|
-
<path d="M21.2228 11.65L18.4328 8.86C18.1128 8.54 17.5728 8.76 17.5728 9.21V11H10.5728C10.0228 11 9.57275 11.45 9.57275 12C9.57275 12.55 10.0228 13 10.5728 13H17.5728V14.79C17.5728 15.24 18.1128 15.46 18.4228 15.14L21.2128 12.35C21.4128 12.16 21.4128 11.84 21.2228 11.65Z" fill="currentColor"/>
|
|
4
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M10.9458 10.5285H10.2975L10.0677 10.3069C11.0525 9.15786 11.5614 7.59028 11.2823 5.92421C10.8966 3.6426 8.99251 1.8206 6.69449 1.54155C3.22283 1.11477 0.301053 4.03655 0.727829 7.50821C1.00687 9.80623 2.82888 11.7103 5.11049 12.096C6.77656 12.3751 8.34414 11.8662 9.49315 10.8814L9.71475 11.1112V11.7596L13.2028 15.2476C13.5393 15.5841 14.0892 15.5841 14.4257 15.2476C14.7622 14.9111 14.7622 14.3612 14.4257 14.0247L10.9458 10.5285ZM6.02149 10.5285C3.97789 10.5285 2.32824 8.87881 2.32824 6.83521C2.32824 4.79161 3.97789 3.14196 6.02149 3.14196C8.06509 3.14196 9.71475 4.79161 9.71475 6.83521C9.71475 8.87881 8.06509 10.5285 6.02149 10.5285Z" fill="currentColor"/>
|
|
3
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M17.25 3H3.91667C3 3 2.25833 3.75 2.25833 4.66667L2.25 14.6667C2.25 15.5833 3 16.3333 3.91667 16.3333H17.25C18.1667 16.3333 18.9167 15.5833 18.9167 14.6667V4.66667C18.9167 3.75 18.1667 3 17.25 3ZM16.4167 14.6667H4.75C4.29167 14.6667 3.91667 14.2917 3.91667 13.8333V6.33333L9.7 9.95C10.2417 10.2917 10.925 10.2917 11.4667 9.95L17.25 6.33333V13.8333C17.25 14.2917 16.875 14.6667 16.4167 14.6667ZM10.5833 8.83333L3.91667 4.66667H17.25L10.5833 8.83333Z" fill="#B7B7B7"/>
|
|
3
|
-
</svg>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g clip-path="url(#clip0_6604_126381)">
|
|
3
|
-
<path d="M6 6C7.51937 6 8.75 4.76937 8.75 3.25C8.75 1.73062 7.51937 0.5 6 0.5C4.48062 0.5 3.25 1.73062 3.25 3.25C3.25 4.76937 4.48062 6 6 6ZM6 7.375C4.16437 7.375 0.5 8.29625 0.5 10.125V10.8125C0.5 11.1906 0.809375 11.5 1.1875 11.5H10.8125C11.1906 11.5 11.5 11.1906 11.5 10.8125V10.125C11.5 8.29625 7.83563 7.375 6 7.375Z" fill="currentColor" fill-opacity="1"/>
|
|
4
|
-
</g>
|
|
5
|
-
<defs>
|
|
6
|
-
<clipPath id="clip0_6604_126381">
|
|
7
|
-
<rect width="12" height="12" fill="white"/>
|
|
8
|
-
</clipPath>
|
|
9
|
-
</defs>
|
|
10
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M15.25 4.75843C14.925 4.43343 14.4 4.43343 14.075 4.75843L9.99998 8.8251L5.92498 4.7501C5.59998 4.4251 5.07498 4.4251 4.74998 4.7501C4.42498 5.0751 4.42498 5.6001 4.74998 5.9251L8.82498 10.0001L4.74998 14.0751C4.42498 14.4001 4.42498 14.9251 4.74998 15.2501C5.07498 15.5751 5.59998 15.5751 5.92498 15.2501L9.99998 11.1751L14.075 15.2501C14.4 15.5751 14.925 15.5751 15.25 15.2501C15.575 14.9251 15.575 14.4001 15.25 14.0751L11.175 10.0001L15.25 5.9251C15.5666 5.60843 15.5666 5.0751 15.25 4.75843Z" fill="#4799E3"/>
|
|
3
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M11.5314 5.99017L19.0614 19.0002L4.00137 19.0002L11.5314 5.99017ZM2.27137 18.0002C1.50137 19.3302 2.46137 21.0002 4.00137 21.0002L19.0614 21.0002C20.6014 21.0002 21.5614 19.3302 20.7914 18.0002L13.2614 4.99017C12.4914 3.66017 10.5714 3.66017 9.80137 4.99017L2.27137 18.0002ZM10.5314 11.0002L10.5314 13.0002C10.5314 13.5502 10.9814 14.0002 11.5314 14.0002C12.0814 14.0002 12.5314 13.5502 12.5314 13.0002L12.5314 11.0002C12.5314 10.4502 12.0814 10.0002 11.5314 10.0002C10.9814 10.0002 10.5314 10.4502 10.5314 11.0002ZM10.5314 16.0002L12.5314 16.0002L12.5314 18.0002L10.5314 18.0002L10.5314 16.0002Z" fill="#C84235"/>
|
|
3
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M12.0314 4.9975L19.5614 18.0075L4.50137 18.0075L12.0314 4.9975ZM2.77137 17.0075C2.00137 18.3375 2.96137 20.0075 4.50137 20.0075L19.5614 20.0075C21.1014 20.0075 22.0614 18.3375 21.2914 17.0075L13.7614 3.9975C12.9914 2.6675 11.0714 2.6675 10.3014 3.9975L2.77137 17.0075ZM11.0314 10.0075L11.0314 12.0075C11.0314 12.5575 11.4814 13.0075 12.0314 13.0075C12.5814 13.0075 13.0314 12.5575 13.0314 12.0075L13.0314 10.0075C13.0314 9.4575 12.5814 9.0075 12.0314 9.0075C11.4814 9.0075 11.0314 9.4575 11.0314 10.0075ZM11.0314 15.0075L13.0314 15.0075L13.0314 17.0075L11.0314 17.0075L11.0314 15.0075Z" fill="#F2A070"/>
|
|
3
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g id="icon/info">
|
|
3
|
-
<path id="Vector" d="M11.9951 17C12.5451 17 12.9951 16.55 12.9951 16V12C12.9951 11.45 12.5451 11 11.9951 11C11.4451 11 10.9951 11.45 10.9951 12V16C10.9951 16.55 11.4451 17 11.9951 17ZM11.9851 22.0001C6.46512 22.0001 1.99512 17.52 1.99512 12C1.99512 6.48 6.46512 2 11.9851 2C17.515 2 21.9951 6.48 21.9951 12C21.9951 17.52 17.515 22.0001 11.9851 22.0001ZM11.9951 4.00001C7.57512 4.00001 3.99513 7.58 3.99513 12C3.99513 16.42 7.57512 20 11.9951 20C16.4151 20 19.9951 16.42 19.9951 12C19.9951 7.58 16.4151 4.00001 11.9951 4.00001ZM12.9951 7.00001H10.9951V9H12.9951V7.00001Z" fill="currentColor"/>
|
|
4
|
-
</g>
|
|
5
|
-
</svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M17.0055 9.65883C17.365 9.29928 17.365 8.71634 17.0055 8.3568C16.6459 7.99725 16.063 7.99725 15.7034 8.3568L10.3701 13.6902L8.30092 11.621C7.94137 11.2615 7.35843 11.2615 6.99889 11.621C6.63934 11.9805 6.63934 12.5635 6.99889 12.923L9.71906 15.6432C10.0786 16.0027 10.6615 16.0027 11.0211 15.6432L17.0055 9.65883Z" fill="currentColor"/>
|
|
3
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.99512 12C1.99512 17.52 6.46512 22.0001 11.9851 22.0001C17.515 22.0001 21.9951 17.52 21.9951 12C21.9951 6.48 17.515 2 11.9851 2C6.46512 2 1.99512 6.48 1.99512 12ZM3.99513 12C3.99513 7.58 7.57512 4.00001 11.9951 4.00001C16.4151 4.00001 19.9951 7.58 19.9951 12C19.9951 16.42 16.4151 20 11.9951 20C7.57512 20 3.99513 16.42 3.99513 12Z" fill="currentColor"/>
|
|
4
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g id="icon/info">
|
|
3
|
-
<path id="Vector" d="M11.9951 17C12.5451 17 12.9951 16.55 12.9951 16V12C12.9951 11.45 12.5451 11 11.9951 11C11.4451 11 10.9951 11.45 10.9951 12V16C10.9951 16.55 11.4451 17 11.9951 17ZM11.9851 22.0001C6.46512 22.0001 1.99512 17.52 1.99512 12C1.99512 6.48 6.46512 2 11.9851 2C17.515 2 21.9951 6.48 21.9951 12C21.9951 17.52 17.515 22.0001 11.9851 22.0001ZM11.9951 4.00001C7.57512 4.00001 3.99513 7.58 3.99513 12C3.99513 16.42 7.57512 20 11.9951 20C16.4151 20 19.9951 16.42 19.9951 12C19.9951 7.58 16.4151 4.00001 11.9951 4.00001ZM12.9951 7.00001H10.9951V9H12.9951V7.00001Z" fill="#FC9E5A"/>
|
|
4
|
-
</g>
|
|
5
|
-
</svg>
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g opacity="1">
|
|
3
|
-
<line x1="6" y1="15" x2="18" y2="15" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
|
|
4
|
-
<line x1="6" y1="9" x2="18" y2="9" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
|
|
5
|
-
</g>
|
|
6
|
-
</svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg width="45" height="44" viewBox="0 0 45 44" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<circle cx="22.5728" cy="22" r="19.5" fill="currentColor" fill-opacity="1" stroke="strokeColor"/>
|
|
3
|
-
<path d="M23.0728 21V21.5H23.5728H29.5728C29.8489 21.5 30.0728 21.7239 30.0728 22C30.0728 22.2761 29.8489 22.5 29.5728 22.5H23.5728H23.0728V23V29C23.0728 29.2761 22.8489 29.5 22.5728 29.5C22.2966 29.5 22.0728 29.2761 22.0728 29V23V22.5H21.5728H15.5728C15.2966 22.5 15.0728 22.2761 15.0728 22C15.0728 21.7239 15.2966 21.5 15.5728 21.5H21.5728H22.0728V21V15C22.0728 14.7239 22.2966 14.5 22.5728 14.5C22.8489 14.5 23.0728 14.7239 23.0728 15V21Z" stroke="strokeColor"/>
|
|
4
|
-
</svg>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g clip-path="url(#clip0_18226_77585)">
|
|
3
|
-
<path d="M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16Z" fill="currentColor"/>
|
|
4
|
-
<circle cx="7.99312" cy="7.99312" r="6.665" fill="#74797E"/>
|
|
5
|
-
<path d="M8.00129 6.05447C9.10522 6.05447 10.0012 6.95042 10.0012 8.05435C10.0012 8.25834 9.96117 8.45432 9.90517 8.63831L11.1291 9.86224C11.6851 9.37027 12.125 8.7543 12.401 8.05035C11.7091 6.29846 10.0012 5.05453 8.00129 5.05453C7.49332 5.05453 7.00535 5.13453 6.54538 5.28252L7.41333 6.15047C7.60131 6.09447 7.7973 6.05447 8.00129 6.05447ZM4.28552 4.71856C4.12953 4.87455 4.12953 5.12653 4.28552 5.28252L5.07347 6.07047C4.42551 6.58644 3.90954 7.2664 3.60156 8.05435C4.29352 9.81024 6.00141 11.0542 8.00129 11.0542C8.60925 11.0542 9.18922 10.9342 9.72518 10.7262L10.8131 11.8141C10.9691 11.9701 11.2211 11.9701 11.3771 11.8141C11.5331 11.6581 11.5331 11.4061 11.3771 11.2502L4.85348 4.71856C4.69749 4.56256 4.44151 4.56256 4.28552 4.71856ZM8.00129 10.0542C6.89736 10.0542 6.00141 9.15828 6.00141 8.05435C6.00141 7.74637 6.07341 7.45439 6.1974 7.1984L6.82536 7.82636C6.81336 7.89836 6.80136 7.97435 6.80136 8.05435C6.80136 8.71831 7.33733 9.25427 8.00129 9.25427C8.08128 9.25427 8.15328 9.24227 8.22928 9.22628L8.85724 9.85424C8.59725 9.98223 8.30927 10.0542 8.00129 10.0542ZM9.18922 7.92236C9.12922 7.36239 8.68925 6.92642 8.13328 6.86642L9.18922 7.92236Z" fill="white"/>
|
|
6
|
-
</g>
|
|
7
|
-
<defs>
|
|
8
|
-
<clipPath id="clip0_18226_77585">
|
|
9
|
-
<rect width="16" height="16" fill="white"/>
|
|
10
|
-
</clipPath>
|
|
11
|
-
</defs>
|
|
12
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M3.56794 9.99967C3.56794 8.12638 4.388 6.44605 5.67438 5.27223L7.58787 7.18572V2.36179H2.76395L4.53272 4.13057C2.95691 5.59382 1.95996 7.67615 1.95996 9.99967C1.95996 13.8617 4.6804 17.0832 8.30458 17.8602C8.77703 17.9615 9.19585 17.5804 9.19585 17.0972C9.19585 16.6848 8.88658 16.3427 8.48574 16.2459C5.66795 15.5657 3.56794 13.0229 3.56794 9.99967ZM18.0397 9.99967C18.0397 6.13767 15.3193 2.91617 11.6951 2.13913C11.2226 2.03784 10.8038 2.41897 10.8038 2.90215C10.8038 3.3145 11.1131 3.65669 11.5139 3.75345C14.3317 4.43363 16.4317 6.97646 16.4317 9.99967C16.4317 11.873 15.6117 13.5533 14.3253 14.7271L12.4118 12.8136V17.6376H17.2357L15.4669 15.8688C17.0428 14.4055 18.0397 12.3232 18.0397 9.99967Z" fill="currentColor"/>
|
|
3
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M7.5 30C7.5 42.4264 17.5736 52.5 30 52.5C42.4264 52.5 52.5 42.4264 52.5 30C52.5 17.5736 42.4264 7.5 30 7.5" stroke="white" stroke-width="4" stroke-linecap="round"/>
|
|
3
|
-
</svg>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g id="done_black_24dp 2" clip-path="url(#clip0_8647_13781)">
|
|
3
|
-
<path id="Vector" d="M11.9995 21.6L7.33284 16.9333C6.81284 16.4133 5.98617 16.4133 5.46617 16.9333C4.94617 17.4533 4.94617 18.28 5.46617 18.8L11.0528 24.3867C11.5728 24.9067 12.4128 24.9067 12.9328 24.3867L27.0662 10.2667C27.5862 9.74668 27.5862 8.92001 27.0662 8.40001C26.5462 7.88001 25.7195 7.88001 25.1995 8.40001L11.9995 21.6Z" fill="white"/>
|
|
4
|
-
</g>
|
|
5
|
-
<defs>
|
|
6
|
-
<clipPath id="clip0_8647_13781">
|
|
7
|
-
<rect width="32" height="32" fill="white"/>
|
|
8
|
-
</clipPath>
|
|
9
|
-
</defs>
|
|
10
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M5.00033 15.8333C5.00033 16.75 5.75033 17.5 6.66699 17.5H13.3337C14.2503 17.5 15.0003 16.75 15.0003 15.8333V7.5C15.0003 6.58333 14.2503 5.83333 13.3337 5.83333H6.66699C5.75033 5.83333 5.00033 6.58333 5.00033 7.5V15.8333ZM7.50033 7.5H12.5003C12.9587 7.5 13.3337 7.875 13.3337 8.33333V15C13.3337 15.4583 12.9587 15.8333 12.5003 15.8333H7.50033C7.04199 15.8333 6.66699 15.4583 6.66699 15V8.33333C6.66699 7.875 7.04199 7.5 7.50033 7.5ZM12.917 3.33333L12.3253 2.74167C12.1753 2.59167 11.9587 2.5 11.742 2.5H8.25866C8.04199 2.5 7.82533 2.59167 7.67533 2.74167L7.08366 3.33333H5.00033C4.54199 3.33333 4.16699 3.70833 4.16699 4.16667C4.16699 4.625 4.54199 5 5.00033 5H15.0003C15.4587 5 15.8337 4.625 15.8337 4.16667C15.8337 3.70833 15.4587 3.33333 15.0003 3.33333H12.917Z" fill="currentColor"/>
|
|
3
|
-
</svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M5.2 2.83325H13.1115C13.0385 3.15486 13 3.48956 13 3.83325C13 4.07136 13.0185 4.30514 13.0541 4.53325H5.2L12 8.78325L14.522 7.20699C14.9256 7.56347 15.3935 7.84866 15.9063 8.04288L12.901 9.92225C12.3485 10.2708 11.6515 10.2708 11.099 9.92225L5.2 6.23325V13.8833C5.2 14.3508 5.5825 14.7333 6.05 14.7333H17.95C18.4175 14.7333 18.8 14.3508 18.8 13.8833V8.14262C19.4379 7.95045 20.0161 7.62052 20.5 7.18741V14.7333C20.5 15.6683 19.735 16.4333 18.8 16.4333H5.2C4.265 16.4333 3.5 15.6683 3.5 14.7333L3.5085 4.53325C3.5085 3.59825 4.265 2.83325 5.2 2.83325Z" fill="#4799E3"/>
|
|
3
|
-
<path d="M15.7292 5.77083C16.2153 6.25694 16.8056 6.5 17.5 6.5C18.1944 6.5 18.7847 6.25694 19.2708 5.77083C19.7569 5.28472 20 4.69444 20 4C20 3.30556 19.7569 2.71528 19.2708 2.22917C18.7847 1.74306 18.1944 1.5 17.5 1.5C16.8056 1.5 16.2153 1.74306 15.7292 2.22917C15.2431 2.71528 15 3.30556 15 4C15 4.69444 15.2431 5.28472 15.7292 5.77083Z" fill="#4799E3"/>
|
|
4
|
-
</svg>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export { ReactComponent as ConferenceIcon } from './conference.svg';
|
|
2
|
-
export { ReactComponent as CopyLinkIcon } from './copy-link.svg';
|
|
3
|
-
export { ReactComponent as CopyLinkBigIcon } from './copy-link-big.svg';
|
|
4
|
-
export { ReactComponent as CompanyIcon } from './company.svg';
|
|
5
|
-
export { ReactComponent as AttachmentIcon } from './attachment.svg';
|
|
6
|
-
export { ReactComponent as SignatureIcon } from './signature.svg';
|
|
7
|
-
export { ReactComponent as SendIcon } from './send.svg';
|
|
8
|
-
export { ReactComponent as SearchIcon } from './search.svg';
|
|
9
|
-
export { ReactComponent as FilterIcon } from './filter.svg';
|
|
10
|
-
export { ReactComponent as ForwardIcon } from './forward.svg';
|
|
11
|
-
export { ReactComponent as MoreIcon } from './more.svg';
|
|
12
|
-
export { ReactComponent as ReplyIcon } from './reply.svg';
|
|
13
|
-
export { ReactComponent as ReplyAllIcon } from './reply-all.svg';
|
|
14
|
-
export { ReactComponent as CheckIcon } from './check.svg';
|
|
15
|
-
export { ReactComponent as DownloadIcon } from './download.svg';
|
|
16
|
-
export { ReactComponent as DeleteIcon } from './delete.svg';
|
|
17
|
-
export { ReactComponent as UnreadMailIcon } from './unread-mail.svg';
|
|
18
|
-
export { ReactComponent as FavoriteMailIcon } from './favorite-mail.svg';
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/assets/storybook/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACnE,OAAO,EAAE,cAAc,IAAI,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAChE,OAAO,EAAE,cAAc,IAAI,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACvE,OAAO,EAAE,cAAc,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AAC7D,OAAO,EAAE,cAAc,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACnE,OAAO,EAAE,cAAc,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAA;AACjE,OAAO,EAAE,cAAc,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAA;AACvD,OAAO,EAAE,cAAc,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AAC3D,OAAO,EAAE,cAAc,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AAC3D,OAAO,EAAE,cAAc,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AAC7D,OAAO,EAAE,cAAc,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAA;AACvD,OAAO,EAAE,cAAc,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AACzD,OAAO,EAAE,cAAc,IAAI,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAChE,OAAO,EAAE,cAAc,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AACzD,OAAO,EAAE,cAAc,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC/D,OAAO,EAAE,cAAc,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AAC3D,OAAO,EAAE,cAAc,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAA;AACpE,OAAO,EAAE,cAAc,IAAI,gBAAgB,EAAE,MAAM,qBAAqB,CAAA"}
|
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
export var COLORS;
|
|
2
|
-
(function (COLORS) {
|
|
3
|
-
COLORS["lighterBlue"] = "#4799E30D";
|
|
4
|
-
COLORS["blue"] = "#4799E3";
|
|
5
|
-
COLORS["darkBlue"] = "#408ACD";
|
|
6
|
-
COLORS["darkerBlue"] = "#3C82C1";
|
|
7
|
-
COLORS["red"] = "#ED4747";
|
|
8
|
-
COLORS["white"] = "#FFFFFF";
|
|
9
|
-
COLORS["white3"] = "#FFFFFF03";
|
|
10
|
-
COLORS["white80"] = "#FFFFFF80";
|
|
11
|
-
COLORS["lightestGray"] = "#FCFCFC";
|
|
12
|
-
COLORS["lighterGray"] = "#E0E4EC66";
|
|
13
|
-
COLORS["gray"] = "#1111114D";
|
|
14
|
-
COLORS["darkerGray"] = "#808080";
|
|
15
|
-
COLORS["brightBlack"] = "#3D3D3D";
|
|
16
|
-
COLORS["black"] = "#111111";
|
|
17
|
-
COLORS["darkBlack"] = "#1A1A1A";
|
|
18
|
-
COLORS["skeletonBg"] = "#F1F1F2";
|
|
19
|
-
COLORS["skeletonDarkBg"] = "#313131";
|
|
20
|
-
COLORS["inactiveAvatarGradientStart"] = "#C2C2C2";
|
|
21
|
-
COLORS["inactiveAvatarGradientEnd"] = "#6F6F6F";
|
|
22
|
-
COLORS["bgBlackoutTransparent"] = "rgba(0, 0, 0, 0.3)";
|
|
23
|
-
COLORS["selectBoxShadow"] = "rgba(0, 0, 0, 0.1)";
|
|
24
|
-
COLORS["transparent"] = "transparent";
|
|
25
|
-
})(COLORS || (COLORS = {}));
|
|
26
|
-
export var INPUT_TYPE_PASSWORD = 'password';
|
|
27
|
-
export var INPUT_TYPE_TEXT = 'text';
|
|
28
|
-
export var DEFAULT_INPUT_PADDING = 16;
|
|
29
|
-
export var MASK_INPUT_PL = 24;
|
|
30
|
-
export var ADDITIONAL_INPUT_PR = 32;
|
|
31
|
-
export var ENTER_KEY = 'Enter';
|
|
32
|
-
export var INPUT_COUNTER_TIMEOUT = 5000;
|
|
33
|
-
export var ADDITIONAL_MAX_CHARACTERS = 4;
|
|
34
|
-
export var INPUT_COUNTER_TYPE;
|
|
35
|
-
(function (INPUT_COUNTER_TYPE) {
|
|
36
|
-
INPUT_COUNTER_TYPE["title"] = "title";
|
|
37
|
-
INPUT_COUNTER_TYPE["text"] = "text";
|
|
38
|
-
})(INPUT_COUNTER_TYPE || (INPUT_COUNTER_TYPE = {}));
|
|
39
|
-
export var FONT_SIZE;
|
|
40
|
-
(function (FONT_SIZE) {
|
|
41
|
-
FONT_SIZE["small"] = "14px";
|
|
42
|
-
FONT_SIZE["default"] = "16px";
|
|
43
|
-
FONT_SIZE["large"] = "22px";
|
|
44
|
-
})(FONT_SIZE || (FONT_SIZE = {}));
|
|
45
|
-
export var LINE_HEIGHT;
|
|
46
|
-
(function (LINE_HEIGHT) {
|
|
47
|
-
LINE_HEIGHT["small"] = "19px";
|
|
48
|
-
LINE_HEIGHT["default"] = "22px";
|
|
49
|
-
LINE_HEIGHT["large"] = "30px";
|
|
50
|
-
})(LINE_HEIGHT || (LINE_HEIGHT = {}));
|
|
51
|
-
export var TITLE_SIZE;
|
|
52
|
-
(function (TITLE_SIZE) {
|
|
53
|
-
TITLE_SIZE["small"] = "small";
|
|
54
|
-
TITLE_SIZE["major"] = "major";
|
|
55
|
-
})(TITLE_SIZE || (TITLE_SIZE = {}));
|
|
56
|
-
export var PLATFORM;
|
|
57
|
-
(function (PLATFORM) {
|
|
58
|
-
PLATFORM["web"] = "web";
|
|
59
|
-
PLATFORM["ios"] = "ios";
|
|
60
|
-
PLATFORM["android"] = "android";
|
|
61
|
-
})(PLATFORM || (PLATFORM = {}));
|
|
62
|
-
export var THEME;
|
|
63
|
-
(function (THEME) {
|
|
64
|
-
THEME["default"] = "default";
|
|
65
|
-
THEME["dark"] = "dark";
|
|
66
|
-
})(THEME || (THEME = {}));
|
|
67
|
-
export var CANCEL_ACTION_TEXT = 'Отменить';
|
|
68
|
-
export var NUMBER_OF_STORIES_FOR_ROUND_INDICATORS = 5;
|
|
69
|
-
export var DEFAULT_FONT_FAMILY = 'Open Sans';
|
|
70
|
-
export var MIN_TEXTAREA_HEIGHT = '120px';
|
|
71
|
-
export var CONTEXT_MENU_WIDTH = 250;
|
|
72
|
-
export var CONTEXT_MENU_SAFE_SPACE = 15;
|
|
73
|
-
export var WEB_NOTIFICATION_DISTANCE_FROM_BOTTOM = 8;
|
|
74
|
-
export var MOBILE_NOTIFICATION_DISTANCE_FROM_BOTTOM = 40;
|
|
75
|
-
export var DEFAULT_HEADER_AVATAR_INDEX = 4;
|
|
76
|
-
export var AVATAR_DEGREES = [180, 178.34, 180, 180, 180, 180];
|
|
77
|
-
export var AVATAR_COLOR_TOP = ['#FBDA43', '#FFA285', '#FC93FF', '#ACB3FF', '#58EAFD', '#93E847'];
|
|
78
|
-
export var AVATAR_COLOR_TOP_PERCENTS = [-18.75, -3.03, 0, 0, -4.46, -8.04];
|
|
79
|
-
export var AVATAR_COLOR_MIDDLE = [null, '#FC6B6B', '#ED6EE1', null, null, null];
|
|
80
|
-
export var AVATAR_COLOR_MIDDLE_PERCENTS = [null, 65.88, 60.45, null, null, null];
|
|
81
|
-
export var AVATAR_COLOR_BOTTOM = ['#F57953', '#F446B2', '#B446A2', '#706AE6', '#2587E2', '#40A330'];
|
|
82
|
-
export var AVATAR_COLOR_BOTTOM_PERCENTS = [108.93, 116.81, 120.91, 100, 100, 112.5];
|
|
83
|
-
export var MAX_NUMBER_OF_CHARACTERS_IN_INITIALS = 2;
|
|
84
|
-
export var LAYOUT_TYPE;
|
|
85
|
-
(function (LAYOUT_TYPE) {
|
|
86
|
-
LAYOUT_TYPE["minimal"] = "minimal";
|
|
87
|
-
LAYOUT_TYPE["half"] = "half";
|
|
88
|
-
LAYOUT_TYPE["full"] = "full";
|
|
89
|
-
})(LAYOUT_TYPE || (LAYOUT_TYPE = {}));
|
|
90
|
-
export var VIEWPORTS;
|
|
91
|
-
(function (VIEWPORTS) {
|
|
92
|
-
VIEWPORTS["webCollapsed"] = "webCollapsed";
|
|
93
|
-
VIEWPORTS["webExpanded"] = "webExpanded";
|
|
94
|
-
VIEWPORTS["iphone6"] = "iphone6";
|
|
95
|
-
VIEWPORTS["iphone12"] = "iphone12";
|
|
96
|
-
VIEWPORTS["galaxys5"] = "galaxys5";
|
|
97
|
-
VIEWPORTS["reset"] = "reset";
|
|
98
|
-
})(VIEWPORTS || (VIEWPORTS = {}));
|
|
99
|
-
export var FILL_TYPE;
|
|
100
|
-
(function (FILL_TYPE) {
|
|
101
|
-
FILL_TYPE["primary"] = "primary";
|
|
102
|
-
FILL_TYPE["secondary"] = "secondary";
|
|
103
|
-
})(FILL_TYPE || (FILL_TYPE = {}));
|
|
104
|
-
export var INPUT_FIELD_TYPE;
|
|
105
|
-
(function (INPUT_FIELD_TYPE) {
|
|
106
|
-
INPUT_FIELD_TYPE["text"] = "text";
|
|
107
|
-
INPUT_FIELD_TYPE["search"] = "search";
|
|
108
|
-
})(INPUT_FIELD_TYPE || (INPUT_FIELD_TYPE = {}));
|
|
109
|
-
export var MENU_POSITIONS;
|
|
110
|
-
(function (MENU_POSITIONS) {
|
|
111
|
-
MENU_POSITIONS["bottom"] = "bottom";
|
|
112
|
-
MENU_POSITIONS["auto"] = "auto";
|
|
113
|
-
MENU_POSITIONS["top"] = "top";
|
|
114
|
-
})(MENU_POSITIONS || (MENU_POSITIONS = {}));
|
|
115
|
-
export var MENU_LOCATION;
|
|
116
|
-
(function (MENU_LOCATION) {
|
|
117
|
-
MENU_LOCATION["absolute"] = "absolute";
|
|
118
|
-
MENU_LOCATION["fixed"] = "fixed";
|
|
119
|
-
})(MENU_LOCATION || (MENU_LOCATION = {}));
|
|
120
|
-
export var CREATABLE_MENU_LIST_MAX_HEIGHT = 248;
|
|
121
|
-
export var MENU_LIST_MAX_HEIGHT = 292;
|
|
122
|
-
export var DEFAULT_SCROLL_BAR_HIDE_DURATION = 2000;
|
|
123
|
-
export var LANGUAGES;
|
|
124
|
-
(function (LANGUAGES) {
|
|
125
|
-
LANGUAGES["ru"] = "ru";
|
|
126
|
-
LANGUAGES["en"] = "en";
|
|
127
|
-
LANGUAGES["de"] = "de";
|
|
128
|
-
LANGUAGES["es"] = "es";
|
|
129
|
-
LANGUAGES["fr"] = "fr";
|
|
130
|
-
LANGUAGES["ar"] = "ar";
|
|
131
|
-
LANGUAGES["mal"] = "mal";
|
|
132
|
-
})(LANGUAGES || (LANGUAGES = {}));
|
|
133
|
-
export var HEADER_COLOR_BG;
|
|
134
|
-
(function (HEADER_COLOR_BG) {
|
|
135
|
-
HEADER_COLOR_BG["grey"] = "grey";
|
|
136
|
-
HEADER_COLOR_BG["blue"] = "blue";
|
|
137
|
-
})(HEADER_COLOR_BG || (HEADER_COLOR_BG = {}));
|
|
138
|
-
export var MODAL_BUTTONS_DIRECTION;
|
|
139
|
-
(function (MODAL_BUTTONS_DIRECTION) {
|
|
140
|
-
MODAL_BUTTONS_DIRECTION["row"] = "row";
|
|
141
|
-
MODAL_BUTTONS_DIRECTION["column"] = "column";
|
|
142
|
-
})(MODAL_BUTTONS_DIRECTION || (MODAL_BUTTONS_DIRECTION = {}));
|
|
143
|
-
export var THEME_ARRAY = Object.keys(THEME);
|
|
144
|
-
export var PLATFORM_ARRAY = Object.keys(PLATFORM);
|
|
145
|
-
export var LAYOUT_TYPE_ARRAY = Object.keys(LAYOUT_TYPE);
|
|
146
|
-
export var FILL_TYPE_ARRAY = Object.keys(FILL_TYPE);
|
|
147
|
-
export var MODAL_BUTTONS_DIRECTION_ARRAY = Object.keys(MODAL_BUTTONS_DIRECTION);
|
|
148
|
-
export var WIDTH_TYPE_SUMMARY = '1 | 2 | 3 | 4 | 5 | ... | 100';
|
|
149
|
-
export var STYLES_TYPE_DETAIL = 'type TStyles = { [key: string]: number | string }';
|
|
150
|
-
export var CENTER = 'center';
|
|
151
|
-
export var BOTTOM_SHEET = 'bottom-sheet';
|
|
152
|
-
export var DIRECTION = 'direction';
|
|
153
|
-
export var ROW = 'row';
|
|
154
|
-
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/constants/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,MAuBX;AAvBD,WAAY,MAAM;IAChB,mCAAyB,CAAA;IACzB,0BAAgB,CAAA;IAChB,8BAAoB,CAAA;IACpB,gCAAsB,CAAA;IACtB,yBAAe,CAAA;IACf,2BAAiB,CAAA;IACjB,8BAAoB,CAAA;IACpB,+BAAqB,CAAA;IACrB,kCAAwB,CAAA;IACxB,mCAAyB,CAAA;IACzB,4BAAkB,CAAA;IAClB,gCAAsB,CAAA;IACtB,iCAAuB,CAAA;IACvB,2BAAiB,CAAA;IACjB,+BAAqB,CAAA;IACrB,gCAAsB,CAAA;IACtB,oCAA0B,CAAA;IAC1B,iDAAuC,CAAA;IACvC,+CAAqC,CAAA;IACrC,sDAA4C,CAAA;IAC5C,gD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GAAG,GAAG,KAAK,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/constants/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
-
import classNames from 'classnames';
|
|
14
|
-
import { isArray, isNil } from 'lodash';
|
|
15
|
-
import { v4 as uuidv4 } from 'uuid';
|
|
16
|
-
import { AVATAR_COLOR_BOTTOM, AVATAR_COLOR_BOTTOM_PERCENTS, AVATAR_COLOR_MIDDLE, AVATAR_COLOR_MIDDLE_PERCENTS, AVATAR_COLOR_TOP, AVATAR_COLOR_TOP_PERCENTS, AVATAR_DEGREES, BOTTOM_SHEET, CENTER, COLORS, DEFAULT_HEADER_AVATAR_INDEX, FILL_TYPE, LAYOUT_TYPE, PLATFORM, THEME, } from '../constants';
|
|
17
|
-
export var generateColor = function (color, defaultColor) {
|
|
18
|
-
if (defaultColor === void 0) { defaultColor = ''; }
|
|
19
|
-
return (color && CSS.supports('color', color) ? color : defaultColor);
|
|
20
|
-
};
|
|
21
|
-
export var isWebPlatform = function (platform) { return platform === PLATFORM.web; };
|
|
22
|
-
export var isIosPlatform = function (platform) { return platform === PLATFORM.ios; };
|
|
23
|
-
export var isAndroidPlatform = function (platform) { return platform === PLATFORM.android; };
|
|
24
|
-
export var isMobilePlatform = function (platform) { return isAndroidPlatform(platform) || isIosPlatform(platform); };
|
|
25
|
-
export var isDarkTheme = function (theme) { return theme === THEME.dark; };
|
|
26
|
-
export var generateClassNames = function (_a) {
|
|
27
|
-
var className = _a.className, delimiter = _a.delimiter, additionalClassName = _a.additionalClassName;
|
|
28
|
-
return isArray(additionalClassName)
|
|
29
|
-
? classNames(className, additionalClassName.map(function (name) { return "".concat(className).concat(delimiter).concat(name); }))
|
|
30
|
-
: classNames(className, "".concat(className).concat(delimiter).concat(additionalClassName));
|
|
31
|
-
};
|
|
32
|
-
export var generateDefaultGrayColorForIcon = function (theme) { return (theme === THEME.default ? COLORS.gray : COLORS.white80); };
|
|
33
|
-
export var userNameToColor = function (userName) {
|
|
34
|
-
var _a = generateAvatarColor(userName), degrees = _a.degrees, top = _a.top, topPercent = _a.topPercent, middle = _a.middle, middlePercent = _a.middlePercent, bottom = _a.bottom, bottomPercent = _a.bottomPercent;
|
|
35
|
-
return middle
|
|
36
|
-
? "linear-gradient(".concat(degrees, "deg, ").concat(top, " ").concat(topPercent, "%, ").concat(middle, " ").concat(middlePercent, "%, ").concat(bottom, " ").concat(bottomPercent, "%)")
|
|
37
|
-
: "linear-gradient(".concat(degrees, "deg, ").concat(top, " ").concat(topPercent, "%, ").concat(bottom, " ").concat(bottomPercent, "%)");
|
|
38
|
-
};
|
|
39
|
-
var generateAvatarData = function (index) { return ({
|
|
40
|
-
degrees: AVATAR_DEGREES[index],
|
|
41
|
-
top: AVATAR_COLOR_TOP[index],
|
|
42
|
-
topPercent: AVATAR_COLOR_TOP_PERCENTS[index],
|
|
43
|
-
middle: AVATAR_COLOR_MIDDLE[index],
|
|
44
|
-
middlePercent: AVATAR_COLOR_MIDDLE_PERCENTS[index],
|
|
45
|
-
bottom: AVATAR_COLOR_BOTTOM[index],
|
|
46
|
-
bottomPercent: AVATAR_COLOR_BOTTOM_PERCENTS[index],
|
|
47
|
-
}); };
|
|
48
|
-
var generateAvatarColor = function (str) {
|
|
49
|
-
if (!str)
|
|
50
|
-
return generateAvatarData(DEFAULT_HEADER_AVATAR_INDEX);
|
|
51
|
-
var stylesIndex = calculateAvatarStylesIndex(str) || 0;
|
|
52
|
-
return generateAvatarData(stylesIndex);
|
|
53
|
-
};
|
|
54
|
-
var calculateAvatarStylesIndex = function (str) { return Math.abs(hashCode(str) % AVATAR_COLOR_TOP.length); };
|
|
55
|
-
var hashCode = function (str) {
|
|
56
|
-
return str.split('').reduce(function (a, b) {
|
|
57
|
-
a = (a << 5) - a + b.charCodeAt(0);
|
|
58
|
-
return a & a;
|
|
59
|
-
}, 0);
|
|
60
|
-
};
|
|
61
|
-
var generateFirstLetterOfWord = function (word) { return (word === null || word === void 0 ? void 0 : word[0]) || ''; };
|
|
62
|
-
export var createInitials = function (str) {
|
|
63
|
-
var _a = str.trim().toUpperCase().split(' '), firstWord = _a[0], secondWord = _a[1];
|
|
64
|
-
return "".concat(generateFirstLetterOfWord(firstWord)).concat(generateFirstLetterOfWord(secondWord));
|
|
65
|
-
};
|
|
66
|
-
export var calculatePercentageOfValue = function (_a) {
|
|
67
|
-
var value = _a.value, percentage = _a.percentage, _b = _a.shouldBeRounded, shouldBeRounded = _b === void 0 ? true : _b;
|
|
68
|
-
var result = (value * percentage) / 100;
|
|
69
|
-
return shouldBeRounded ? Math.ceil(result) : result;
|
|
70
|
-
};
|
|
71
|
-
export var isFullScreen = function (layoutType) { return layoutType === LAYOUT_TYPE.full; };
|
|
72
|
-
export var isPrimaryFillType = function (fillType) { return fillType === FILL_TYPE.primary; };
|
|
73
|
-
export var isSecondaryFillType = function (fillType) { return fillType === FILL_TYPE.secondary; };
|
|
74
|
-
export var isValueEqualToZero = function (value) { return value === 0; };
|
|
75
|
-
export var renderStoryComponent = function (component) { return (_jsxs("div", __assign({ style: { display: 'flex', flexDirection: 'column', gap: '16px' } }, { children: [_jsxs("div", __assign({ style: { border: '1px dashed #9747FF', borderRadius: '5px', padding: '0 16px 16px' } }, { children: [_jsx("h3", { children: "Light Theme" }), component] })), _jsxs("div", __assign({ style: { background: '#242424', borderRadius: '5px', padding: '0 16px 16px' } }, { children: [_jsx("h3", __assign({ style: { color: '#F9F9F9' } }, { children: "Dark Theme" })), _jsx("div", __assign({ "data-theme": "dark" }, { children: component }))] }))] }))); };
|
|
76
|
-
export var generateIsCloseIconHidden = function (platform, isCloseIconHidden) {
|
|
77
|
-
return isNil(isCloseIconHidden) ? isMobilePlatform(platform) : isCloseIconHidden;
|
|
78
|
-
};
|
|
79
|
-
var isTextAlignEqualToCenter = function (element) { return (element ? window.getComputedStyle(element).textAlign === CENTER : false); };
|
|
80
|
-
export var checkIfContentIsCentered = function (elementRef) {
|
|
81
|
-
var elementRefCurrent = elementRef.current;
|
|
82
|
-
if (elementRefCurrent)
|
|
83
|
-
return isTextAlignEqualToCenter(elementRefCurrent) || isTextAlignEqualToCenter(elementRefCurrent.firstElementChild);
|
|
84
|
-
};
|
|
85
|
-
export var generateBottomSheetClassName = function (platform, shouldUseBottomSheet) {
|
|
86
|
-
return [platform, shouldUseBottomSheet ? BOTTOM_SHEET : ''].filter(Boolean);
|
|
87
|
-
};
|
|
88
|
-
export var generateId = function () { return uuidv4(); };
|
|
89
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/helpers/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAA;AACvC,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,MAAM,CAAA;AACnC,OAAO,EACL,mBAAmB,EACnB,4BAA4B,EAC5B,mBAAmB,EACnB,4BAA4B,EAC5B,gBAAgB,EAChB,y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ACpC,KACF,CACP,EAXgE,CAWhE,CAAA;AAED,MAAM,CAAC,IAAM,yBAAyB,GAAG,UAAC,QAAgB,EAAE,iBAA2B;IACrF,OAAA,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,iBAAiB;AAAzE,CAAyE,CAAA;AAE3E,IAAM,wBAAwB,GAAG,UAAC,OAAuB,IAAK,OAAA,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,SAAS,KAAK,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,EAAzE,CAAyE,CAAA;AAEvI,MAAM,CAAC,IAAM,wBAAwB,GAAG,UAAC,UAAyC;IAChF,IAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,CAAA;IAC5C,IAAI,iBAAiB;QAAE,OAAO,wBAAwB,CAAC,iBAAiB,CAAC,IAAI,wBAAwB,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAA;AAC5I,CAAC,CAAA;AAED,MAAM,CAAC,IAAM,4BAA4B,GAAG,UAAC,QAAgB,EAAE,oBAA6B;IAC1F,OAAA,CAAC,QAAQ,EAAE,oBAAoB,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC;AAApE,CAAoE,CAAA;AAEtE,MAAM,CAAC,IAAM,UAAU,GAAG,cAAM,OAAA,MAAM,EAAE,EAAR,CAAQ,CAAA"}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import { useLayoutEffect, useState, useCallback } from 'react';
|
|
14
|
-
import Popup from 'reactjs-popup';
|
|
15
|
-
import { BottomSheet } from 'alex.chus-react-spring-bottom-sheet';
|
|
16
|
-
import 'alex.chus-react-spring-bottom-sheet/dist/style.css';
|
|
17
|
-
import { isMobilePlatform } from '../helpers';
|
|
18
|
-
import { BOTTOM_SHEET, PLATFORM } from '../constants';
|
|
19
|
-
var MAX_MODAL_MOBILE_HEIGHT = 360;
|
|
20
|
-
var MODAL_ANIMATION = 'modalFadeIn 0.25s ease-in-out forwards';
|
|
21
|
-
var BOTTOM_SHEET_BORDER_RADIUS = '24px';
|
|
22
|
-
export var useModal = function (_a) {
|
|
23
|
-
var isModalOpen = _a.isModalOpen, _b = _a.platform, platform = _b === void 0 ? PLATFORM.web : _b, _c = _a.isDisabledBottomSheet, isDisabledBottomSheet = _c === void 0 ? false : _c, _d = _a.initialIsBottomSheet, initialIsBottomSheet = _d === void 0 ? false : _d, modalRef = _a.modalRef, isClosableOutside = _a.isClosableOutside, handleCloseModal = _a.handleCloseModal, popupClassName = _a.popupClassName, popupStyles = _a.popupStyles, bottomSheetProps = _a.bottomSheetProps, scrollRef = _a.scrollRef;
|
|
24
|
-
var _e = useState(initialIsBottomSheet), shouldUseBottomSheet = _e[0], setShouldUseBottomSheet = _e[1];
|
|
25
|
-
var updateModalState = useCallback(function () {
|
|
26
|
-
var modalElement = modalRef.current;
|
|
27
|
-
if (!modalElement)
|
|
28
|
-
return;
|
|
29
|
-
var modalHeight = modalElement.getBoundingClientRect().height;
|
|
30
|
-
var shouldShowBottomSheet = !isDisabledBottomSheet && isMobilePlatform(platform) && (initialIsBottomSheet || modalHeight > MAX_MODAL_MOBILE_HEIGHT);
|
|
31
|
-
setShouldUseBottomSheet(shouldShowBottomSheet);
|
|
32
|
-
}, [platform, isDisabledBottomSheet, initialIsBottomSheet, modalRef]);
|
|
33
|
-
useLayoutEffect(function () {
|
|
34
|
-
if (!isModalOpen)
|
|
35
|
-
return;
|
|
36
|
-
// Даем время для рендера контента
|
|
37
|
-
var updateModalTimeout = setTimeout(updateModalState, 0);
|
|
38
|
-
return function () {
|
|
39
|
-
clearTimeout(updateModalTimeout);
|
|
40
|
-
setShouldUseBottomSheet(initialIsBottomSheet);
|
|
41
|
-
};
|
|
42
|
-
}, [isModalOpen, updateModalState, modalRef, initialIsBottomSheet]);
|
|
43
|
-
var renderModal = function (children) {
|
|
44
|
-
if (!isModalOpen)
|
|
45
|
-
return null;
|
|
46
|
-
var handleOutsideClick = function (event) {
|
|
47
|
-
event.preventDefault();
|
|
48
|
-
event.stopPropagation();
|
|
49
|
-
handleCloseModal();
|
|
50
|
-
};
|
|
51
|
-
var BottomSheetModal = (_jsx(BottomSheet, __assign({ id: BOTTOM_SHEET, open: isModalOpen, onDismiss: handleCloseModal, expandOnContentDrag: true, sibling: _jsx("div", { "data-rsbs-backdrop": "true", onClick: handleOutsideClick }), style: { '--rsbs-overlay-rounded': BOTTOM_SHEET_BORDER_RADIUS }, externalScrollContainer: scrollRef === null || scrollRef === void 0 ? void 0 : scrollRef.current }, bottomSheetProps, { children: children })));
|
|
52
|
-
var Modal = (_jsx(Popup, __assign({ className: popupClassName, overlayStyle: __assign(__assign({}, popupStyles), { opacity: 0, animation: MODAL_ANIMATION }), closeOnDocumentClick: isClosableOutside, modal: true, open: isModalOpen, closeOnEscape: isClosableOutside, onClose: handleCloseModal }, { children: children })));
|
|
53
|
-
return shouldUseBottomSheet ? BottomSheetModal : Modal;
|
|
54
|
-
};
|
|
55
|
-
return {
|
|
56
|
-
shouldUseBottomSheet: shouldUseBottomSheet,
|
|
57
|
-
renderModal: renderModal,
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
//# sourceMappingURL=useModal.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file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CAAC,EACV,SAAS,EAAE,eAAe,KAE5B,oBAAoB,EAAE,iBAAiB,EACvC,KAAK,QACL,IAAI,EAAE,WAAW,EACjB,aAAa,EAAE,iBAAiB,EAChC,OAAO,EAAE,gBAAgB,gBAExB,QAAQ,IACH,CACT,CAAA;QAED,OAAO,oBAAoB,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,KAAK,CAAA;IACxD,CAAC,CAAA;IAED,OAAO;QACL,oBAAoB,sBAAA;QACpB,WAAW,aAAA;KACZ,CAAA;AACH,CAAC,CAAA"}
|
package/build/main/index.js
DELETED
package/build/main/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA;AAC5B,cAAc,oBAAoB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
|
|
File without changes
|