@expressms/smartapp-ui 2.9.1 → 2.9.2
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/package.json +1 -1
- 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/more.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.d.ts +0 -21
- package/build/main/assets/storybook/index.js +0 -22
- package/build/main/assets/storybook/index.js.map +0 -1
- package/build/main/constants/constants.d.ts +0 -152
- package/build/main/constants/constants.js +0 -172
- package/build/main/constants/constants.js.map +0 -1
- package/build/main/constants/index.d.ts +0 -2
- package/build/main/constants/index.js +0 -3
- package/build/main/constants/index.js.map +0 -1
- package/build/main/constants/types.d.ts +0 -24
- package/build/main/constants/types.js +0 -2
- package/build/main/constants/types.js.map +0 -1
- package/build/main/helpers/index.d.ts +0 -22
- package/build/main/helpers/index.js +0 -89
- package/build/main/helpers/index.js.map +0 -1
- package/build/main/hooks/useModal.d.ts +0 -21
- package/build/main/hooks/useModal.js +0 -60
- package/build/main/hooks/useModal.js.map +0 -1
- package/build/main/index.d.ts +0 -36
- package/build/main/index.js +0 -37
- package/build/main/index.js.map +0 -1
- package/build/main/styles/index.d.ts +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.d.ts +0 -4
- 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.d.ts +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.d.ts +0 -24
- 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.d.ts +0 -8
- 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.d.ts +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.d.ts +0 -25
- 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.d.ts +0 -4
- package/build/main//321/201omponents/Avatar/Avatar.js +0 -135
- package/build/main//321/201omponents/Avatar/Avatar.js.map +0 -1
- package/build/main//321/201omponents/Avatar/index.d.ts +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.d.ts +0 -58
- package/build/main//321/201omponents/Avatar/types.js +0 -29
- package/build/main//321/201omponents/Avatar/types.js.map +0 -1
- package/build/main//321/201omponents/Button/Button.d.ts +0 -4
- package/build/main//321/201omponents/Button/Button.js +0 -63
- package/build/main//321/201omponents/Button/Button.js.map +0 -1
- package/build/main//321/201omponents/Button/index.d.ts +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.d.ts +0 -28
- 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.d.ts +0 -4
- 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.d.ts +0 -3
- 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.d.ts +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.d.ts +0 -10
- 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.d.ts +0 -4
- package/build/main//321/201omponents/Calendar/Calendar.js +0 -97
- package/build/main//321/201omponents/Calendar/Calendar.js.map +0 -1
- package/build/main//321/201omponents/Calendar/index.d.ts +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.d.ts +0 -13
- 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 -4
- package/build/main//321/201omponents/Charts/ChartBar/ChartBar.js +0 -46
- package/build/main//321/201omponents/Charts/ChartBar/ChartBar.js.map +0 -1
- package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.d.ts +0 -4
- 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 -4
- package/build/main//321/201omponents/Charts/ChartLine/ChartLine.js +0 -41
- package/build/main//321/201omponents/Charts/ChartLine/ChartLine.js.map +0 -1
- package/build/main//321/201omponents/Charts/ChartPie/ChartPie.d.ts +0 -4
- package/build/main//321/201omponents/Charts/ChartPie/ChartPie.js +0 -63
- package/build/main//321/201omponents/Charts/ChartPie/ChartPie.js.map +0 -1
- package/build/main//321/201omponents/Charts/colors.d.ts +0 -3
- 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.d.ts +0 -46
- 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.d.ts +0 -17
- 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.d.ts +0 -88
- 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.d.ts +0 -5
- 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.d.ts +0 -6
- 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.d.ts +0 -4
- 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.d.ts +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.d.ts +0 -12
- 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.d.ts +0 -4
- 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.d.ts +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.d.ts +0 -13
- 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.d.ts +0 -4
- 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.d.ts +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.d.ts +0 -28
- 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.d.ts +0 -4
- package/build/main//321/201omponents/ContextMenu/ContextMenu.js +0 -82
- package/build/main//321/201omponents/ContextMenu/ContextMenu.js.map +0 -1
- package/build/main//321/201omponents/ContextMenu/index.d.ts +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.d.ts +0 -32
- 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 -12
- package/build/main//321/201omponents/CustomSelect/CustomSelect.js +0 -243
- package/build/main//321/201omponents/CustomSelect/CustomSelect.js.map +0 -1
- package/build/main//321/201omponents/CustomSelect/index.d.ts +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.d.ts +0 -16
- package/build/main//321/201omponents/CustomSelect/selectStyles.js +0 -67
- package/build/main//321/201omponents/CustomSelect/selectStyles.js.map +0 -1
- package/build/main//321/201omponents/CustomSelect/types.d.ts +0 -64
- 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.d.ts +0 -4
- 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.d.ts +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.d.ts +0 -12
- 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.d.ts +0 -4
- 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.d.ts +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.d.ts +0 -24
- 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/DraggablePopup/DraggablePopup.d.ts +0 -4
- package/build/main//321/201omponents/DraggablePopup/DraggablePopup.js +0 -223
- package/build/main//321/201omponents/DraggablePopup/DraggablePopup.js.map +0 -1
- package/build/main//321/201omponents/DraggablePopup/index.d.ts +0 -1
- package/build/main//321/201omponents/DraggablePopup/index.js +0 -2
- package/build/main//321/201omponents/DraggablePopup/index.js.map +0 -1
- package/build/main//321/201omponents/DraggablePopup/types.d.ts +0 -87
- package/build/main//321/201omponents/DraggablePopup/types.js +0 -2
- package/build/main//321/201omponents/DraggablePopup/types.js.map +0 -1
- package/build/main//321/201omponents/Error/Error.d.ts +0 -4
- 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.d.ts +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.d.ts +0 -10
- 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.d.ts +0 -2
- 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.d.ts +0 -5
- 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.d.ts +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.d.ts +0 -5
- 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.d.ts +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.d.ts +0 -3
- 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.d.ts +0 -15
- 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.d.ts +0 -5
- 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.d.ts +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.d.ts +0 -46
- 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.d.ts +0 -4
- 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.d.ts +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.d.ts +0 -29
- 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.d.ts +0 -23
- 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.d.ts +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.d.ts +0 -42
- 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.d.ts +0 -4
- package/build/main//321/201omponents/Loader/Loader.js +0 -44
- package/build/main//321/201omponents/Loader/Loader.js.map +0 -1
- package/build/main//321/201omponents/Loader/index.d.ts +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.d.ts +0 -18
- 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 -143
- package/build/main//321/201omponents/Modal/Modal.js.map +0 -1
- package/build/main//321/201omponents/Modal/index.d.ts +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.d.ts +0 -34
- 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.d.ts +0 -8
- package/build/main//321/201omponents/Notification/Notification.js +0 -217
- package/build/main//321/201omponents/Notification/Notification.js.map +0 -1
- package/build/main//321/201omponents/Notification/index.d.ts +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.d.ts +0 -45
- 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.d.ts +0 -4
- 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.d.ts +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.d.ts +0 -14
- 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.d.ts +0 -4
- 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.d.ts +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.d.ts +0 -7
- 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.d.ts +0 -4
- 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.d.ts +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.d.ts +0 -12
- 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.d.ts +0 -5
- 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.d.ts +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.d.ts +0 -20
- 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 -4
- package/build/main//321/201omponents/Skeleton/Skeleton.js +0 -59
- 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.d.ts +0 -17
- 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.d.ts +0 -4
- package/build/main//321/201omponents/Stories/Stories.js +0 -300
- package/build/main//321/201omponents/Stories/Stories.js.map +0 -1
- package/build/main//321/201omponents/Stories/index.d.ts +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.d.ts +0 -70
- package/build/main//321/201omponents/Stories/types.js +0 -16
- package/build/main//321/201omponents/Stories/types.js.map +0 -1
- package/build/main//321/201omponents/Switcher/Switcher.d.ts +0 -4
- 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.d.ts +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.d.ts +0 -8
- 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.d.ts +0 -5
- 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.d.ts +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.d.ts +0 -9
- 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.d.ts +0 -4
- 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.d.ts +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.d.ts +0 -12
- 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.d.ts +0 -4
- 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.d.ts +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.d.ts +0 -12
- 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.d.ts +0 -4
- 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.d.ts +0 -4
- package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.js +0 -82
- package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.js.map +0 -1
- package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.d.ts +0 -4
- 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.d.ts +0 -4
- package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.js +0 -121
- package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.js.map +0 -1
- package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.d.ts +0 -3
- package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js +0 -100
- package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js.map +0 -1
- package/build/main//321/201omponents/UserDropdown/Option/Option.d.ts +0 -4
- package/build/main//321/201omponents/UserDropdown/Option/Option.js +0 -91
- package/build/main//321/201omponents/UserDropdown/Option/Option.js.map +0 -1
- package/build/main//321/201omponents/UserDropdown/UserDropdown.d.ts +0 -5
- package/build/main//321/201omponents/UserDropdown/UserDropdown.js +0 -447
- package/build/main//321/201omponents/UserDropdown/UserDropdown.js.map +0 -1
- package/build/main//321/201omponents/UserDropdown/helpers.d.ts +0 -98
- 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.d.ts +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.d.ts +0 -15
- package/build/main//321/201omponents/UserDropdown/selectStyles.js +0 -80
- package/build/main//321/201omponents/UserDropdown/selectStyles.js.map +0 -1
- package/build/main//321/201omponents/UserDropdown/types.d.ts +0 -200
- 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/types.d.ts +0 -2
- package/build/main//321/201omponents/types.js +0 -2
- package/build/main//321/201omponents/types.js.map +0 -1
|
@@ -1,172 +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["darkestBlue"] = "#000276";
|
|
8
|
-
COLORS["purple"] = "#9370db";
|
|
9
|
-
COLORS["red"] = "#ED4747";
|
|
10
|
-
COLORS["white"] = "#FFFFFF";
|
|
11
|
-
COLORS["white3"] = "#FFFFFF03";
|
|
12
|
-
COLORS["white80"] = "#FFFFFF80";
|
|
13
|
-
COLORS["lightestGray"] = "#FCFCFC";
|
|
14
|
-
COLORS["lighterGray"] = "#E0E4EC66";
|
|
15
|
-
COLORS["gray"] = "#1111114D";
|
|
16
|
-
COLORS["darkerGray"] = "#808080";
|
|
17
|
-
COLORS["brightBlack"] = "#3D3D3D";
|
|
18
|
-
COLORS["black"] = "#111111";
|
|
19
|
-
COLORS["darkBlack"] = "#1A1A1A";
|
|
20
|
-
COLORS["skeletonBg"] = "#F1F1F2";
|
|
21
|
-
COLORS["skeletonDarkBg"] = "#313131";
|
|
22
|
-
COLORS["inactiveAvatarGradientStart"] = "#C2C2C2";
|
|
23
|
-
COLORS["inactiveAvatarGradientEnd"] = "#6F6F6F";
|
|
24
|
-
COLORS["bgBlackoutTransparent"] = "rgba(0, 0, 0, 0.3)";
|
|
25
|
-
COLORS["selectBoxShadow"] = "rgba(0, 0, 0, 0.1)";
|
|
26
|
-
COLORS["transparent"] = "transparent";
|
|
27
|
-
})(COLORS || (COLORS = {}));
|
|
28
|
-
export var INPUT_TYPE_PASSWORD = 'password';
|
|
29
|
-
export var INPUT_TYPE_TEXT = 'text';
|
|
30
|
-
export var DEFAULT_INPUT_PADDING = 16;
|
|
31
|
-
export var MASK_INPUT_PL = 24;
|
|
32
|
-
export var ADDITIONAL_INPUT_PR = 32;
|
|
33
|
-
export var ENTER_KEY = 'Enter';
|
|
34
|
-
export var INPUT_COUNTER_TIMEOUT = 5000;
|
|
35
|
-
export var ADDITIONAL_MAX_CHARACTERS = 4;
|
|
36
|
-
export var INPUT_COUNTER_TYPE;
|
|
37
|
-
(function (INPUT_COUNTER_TYPE) {
|
|
38
|
-
INPUT_COUNTER_TYPE["title"] = "title";
|
|
39
|
-
INPUT_COUNTER_TYPE["text"] = "text";
|
|
40
|
-
})(INPUT_COUNTER_TYPE || (INPUT_COUNTER_TYPE = {}));
|
|
41
|
-
export var FONT_SIZE;
|
|
42
|
-
(function (FONT_SIZE) {
|
|
43
|
-
FONT_SIZE["small"] = "14px";
|
|
44
|
-
FONT_SIZE["default"] = "16px";
|
|
45
|
-
FONT_SIZE["large"] = "22px";
|
|
46
|
-
})(FONT_SIZE || (FONT_SIZE = {}));
|
|
47
|
-
export var LINE_HEIGHT;
|
|
48
|
-
(function (LINE_HEIGHT) {
|
|
49
|
-
LINE_HEIGHT["small"] = "19px";
|
|
50
|
-
LINE_HEIGHT["default"] = "22px";
|
|
51
|
-
LINE_HEIGHT["large"] = "30px";
|
|
52
|
-
})(LINE_HEIGHT || (LINE_HEIGHT = {}));
|
|
53
|
-
export var TITLE_SIZE;
|
|
54
|
-
(function (TITLE_SIZE) {
|
|
55
|
-
TITLE_SIZE["small"] = "small";
|
|
56
|
-
TITLE_SIZE["major"] = "major";
|
|
57
|
-
})(TITLE_SIZE || (TITLE_SIZE = {}));
|
|
58
|
-
export var PLATFORM;
|
|
59
|
-
(function (PLATFORM) {
|
|
60
|
-
PLATFORM["web"] = "web";
|
|
61
|
-
PLATFORM["ios"] = "ios";
|
|
62
|
-
PLATFORM["android"] = "android";
|
|
63
|
-
})(PLATFORM || (PLATFORM = {}));
|
|
64
|
-
export var THEME;
|
|
65
|
-
(function (THEME) {
|
|
66
|
-
THEME["default"] = "default";
|
|
67
|
-
THEME["dark"] = "dark";
|
|
68
|
-
})(THEME || (THEME = {}));
|
|
69
|
-
export var FONT_FAMILY;
|
|
70
|
-
(function (FONT_FAMILY) {
|
|
71
|
-
FONT_FAMILY["openSans"] = "Open Sans";
|
|
72
|
-
FONT_FAMILY["caveat"] = "Caveat";
|
|
73
|
-
FONT_FAMILY["oswald"] = "Oswald";
|
|
74
|
-
FONT_FAMILY["roboto"] = "Roboto";
|
|
75
|
-
})(FONT_FAMILY || (FONT_FAMILY = {}));
|
|
76
|
-
export var CANCEL_ACTION_TEXT = 'Отменить';
|
|
77
|
-
export var NUMBER_OF_STORIES_FOR_ROUND_INDICATORS = 5;
|
|
78
|
-
export var MIN_TEXTAREA_HEIGHT = '120px';
|
|
79
|
-
export var CONTEXT_MENU_SAFE_SPACE = 15;
|
|
80
|
-
export var WEB_NOTIFICATION_DISTANCE_FROM_BOTTOM = 8;
|
|
81
|
-
export var MOBILE_NOTIFICATION_DISTANCE_FROM_BOTTOM = 40;
|
|
82
|
-
export var DEFAULT_HEADER_AVATAR_INDEX = 4;
|
|
83
|
-
export var AVATAR_DEGREES = [180, 178.34, 180, 180, 180, 180];
|
|
84
|
-
export var AVATAR_COLOR_TOP = ['#FBDA43', '#FFA285', '#FC93FF', '#ACB3FF', '#58EAFD', '#93E847'];
|
|
85
|
-
export var AVATAR_COLOR_TOP_PERCENTS = [-18.75, -3.03, 0, 0, -4.46, -8.04];
|
|
86
|
-
export var AVATAR_COLOR_MIDDLE = [null, '#FC6B6B', '#ED6EE1', null, null, null];
|
|
87
|
-
export var AVATAR_COLOR_MIDDLE_PERCENTS = [null, 65.88, 60.45, null, null, null];
|
|
88
|
-
export var AVATAR_COLOR_BOTTOM = ['#F57953', '#F446B2', '#B446A2', '#706AE6', '#2587E2', '#40A330'];
|
|
89
|
-
export var AVATAR_COLOR_BOTTOM_PERCENTS = [108.93, 116.81, 120.91, 100, 100, 112.5];
|
|
90
|
-
export var MAX_NUMBER_OF_CHARACTERS_IN_INITIALS = 2;
|
|
91
|
-
export var LAYOUT_TYPE;
|
|
92
|
-
(function (LAYOUT_TYPE) {
|
|
93
|
-
LAYOUT_TYPE["minimal"] = "minimal";
|
|
94
|
-
LAYOUT_TYPE["half"] = "half";
|
|
95
|
-
LAYOUT_TYPE["full"] = "full";
|
|
96
|
-
})(LAYOUT_TYPE || (LAYOUT_TYPE = {}));
|
|
97
|
-
export var VIEWPORTS;
|
|
98
|
-
(function (VIEWPORTS) {
|
|
99
|
-
VIEWPORTS["webCollapsed"] = "webCollapsed";
|
|
100
|
-
VIEWPORTS["webExpanded"] = "webExpanded";
|
|
101
|
-
VIEWPORTS["iphone6"] = "iphone6";
|
|
102
|
-
VIEWPORTS["iphone12"] = "iphone12";
|
|
103
|
-
VIEWPORTS["galaxys5"] = "galaxys5";
|
|
104
|
-
VIEWPORTS["reset"] = "reset";
|
|
105
|
-
})(VIEWPORTS || (VIEWPORTS = {}));
|
|
106
|
-
export var FILL_TYPE;
|
|
107
|
-
(function (FILL_TYPE) {
|
|
108
|
-
FILL_TYPE["primary"] = "primary";
|
|
109
|
-
FILL_TYPE["secondary"] = "secondary";
|
|
110
|
-
})(FILL_TYPE || (FILL_TYPE = {}));
|
|
111
|
-
export var INPUT_FIELD_TYPE;
|
|
112
|
-
(function (INPUT_FIELD_TYPE) {
|
|
113
|
-
INPUT_FIELD_TYPE["text"] = "text";
|
|
114
|
-
INPUT_FIELD_TYPE["search"] = "search";
|
|
115
|
-
})(INPUT_FIELD_TYPE || (INPUT_FIELD_TYPE = {}));
|
|
116
|
-
export var MENU_POSITIONS;
|
|
117
|
-
(function (MENU_POSITIONS) {
|
|
118
|
-
MENU_POSITIONS["bottom"] = "bottom";
|
|
119
|
-
MENU_POSITIONS["auto"] = "auto";
|
|
120
|
-
MENU_POSITIONS["top"] = "top";
|
|
121
|
-
})(MENU_POSITIONS || (MENU_POSITIONS = {}));
|
|
122
|
-
export var MENU_LOCATION;
|
|
123
|
-
(function (MENU_LOCATION) {
|
|
124
|
-
MENU_LOCATION["absolute"] = "absolute";
|
|
125
|
-
MENU_LOCATION["fixed"] = "fixed";
|
|
126
|
-
})(MENU_LOCATION || (MENU_LOCATION = {}));
|
|
127
|
-
export var CREATABLE_MENU_LIST_MAX_HEIGHT = 248;
|
|
128
|
-
export var MENU_LIST_MAX_HEIGHT = 292;
|
|
129
|
-
export var DEFAULT_SCROLL_BAR_HIDE_DURATION = 2000;
|
|
130
|
-
export var LANGUAGES;
|
|
131
|
-
(function (LANGUAGES) {
|
|
132
|
-
LANGUAGES["ru"] = "ru";
|
|
133
|
-
LANGUAGES["en"] = "en";
|
|
134
|
-
LANGUAGES["de"] = "de";
|
|
135
|
-
LANGUAGES["es"] = "es";
|
|
136
|
-
LANGUAGES["fr"] = "fr";
|
|
137
|
-
LANGUAGES["ar"] = "ar";
|
|
138
|
-
LANGUAGES["ms"] = "ms";
|
|
139
|
-
LANGUAGES["tr"] = "tr";
|
|
140
|
-
LANGUAGES["id"] = "id";
|
|
141
|
-
})(LANGUAGES || (LANGUAGES = {}));
|
|
142
|
-
export var HEADER_COLOR_BG;
|
|
143
|
-
(function (HEADER_COLOR_BG) {
|
|
144
|
-
HEADER_COLOR_BG["grey"] = "grey";
|
|
145
|
-
HEADER_COLOR_BG["blue"] = "blue";
|
|
146
|
-
})(HEADER_COLOR_BG || (HEADER_COLOR_BG = {}));
|
|
147
|
-
export var MODAL_BUTTONS_DIRECTION;
|
|
148
|
-
(function (MODAL_BUTTONS_DIRECTION) {
|
|
149
|
-
MODAL_BUTTONS_DIRECTION["row"] = "row";
|
|
150
|
-
MODAL_BUTTONS_DIRECTION["column"] = "column";
|
|
151
|
-
})(MODAL_BUTTONS_DIRECTION || (MODAL_BUTTONS_DIRECTION = {}));
|
|
152
|
-
export var THEME_ARRAY = Object.keys(THEME);
|
|
153
|
-
export var PLATFORM_ARRAY = Object.keys(PLATFORM);
|
|
154
|
-
export var LAYOUT_TYPE_ARRAY = Object.keys(LAYOUT_TYPE);
|
|
155
|
-
export var FILL_TYPE_ARRAY = Object.keys(FILL_TYPE);
|
|
156
|
-
export var MODAL_BUTTONS_DIRECTION_ARRAY = Object.keys(MODAL_BUTTONS_DIRECTION);
|
|
157
|
-
export var WIDTH_TYPE_SUMMARY = '1 | 2 | 3 | 4 | 5 | ... | 100';
|
|
158
|
-
export var STYLES_TYPE_DETAIL = 'type TStyles = { [key: string]: number | string }';
|
|
159
|
-
export var CENTER = 'center';
|
|
160
|
-
export var BOTTOM_SHEET = 'bottom-sheet';
|
|
161
|
-
export var DIRECTION = 'direction';
|
|
162
|
-
export var ROW = 'row';
|
|
163
|
-
export var EVENT_LISTENER_TYPES;
|
|
164
|
-
(function (EVENT_LISTENER_TYPES) {
|
|
165
|
-
EVENT_LISTENER_TYPES["mousedown"] = "mousedown";
|
|
166
|
-
EVENT_LISTENER_TYPES["click"] = "click";
|
|
167
|
-
})(EVENT_LISTENER_TYPES || (EVENT_LISTENER_TYPES = {}));
|
|
168
|
-
export var POPUP_ON_EVENT_TYPE;
|
|
169
|
-
(function (POPUP_ON_EVENT_TYPE) {
|
|
170
|
-
POPUP_ON_EVENT_TYPE["hover"] = "hover";
|
|
171
|
-
})(POPUP_ON_EVENT_TYPE || (POPUP_ON_EVENT_TYPE = {}));
|
|
172
|
-
//# 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,MAyBX;AAzBD,WAAY,MAAM;IAChB,mCAAyB,CAAA;IACzB,0BAAgB,CAAA;IAChB,8BAAoB,CAAA;IACpB,gCAAsB,CAAA;IACtB,iCAAuB,CAAA;IACvB,4BAAkB,CAAA;IAClB,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,gDAAsC,CAAA;IACtC,qCAA2B,CAAA;AAC7B,CAAC,EAzBW,MAAM,KAAN,MAAM,QAyBjB;AAED,MAAM,CAAC,IAAM,mBAAmB,GAAG,UAAU,CAAA;AAC7C,MAAM,CAAC,IAAM,eAAe,GAAG,MAAM,CAAA;AACrC,MAAM,CAAC,IAAM,qBAAqB,GAAG,EAAE,CAAA;AACvC,MAAM,CAAC,IAAM,aAAa,GAAG,EAAE,CAAA;AAC/B,MAAM,CAAC,IAAM,mBAAmB,GAAG,EAAE,CAAA;AACrC,MAAM,CAAC,IAAM,SAAS,GAAG,OAAO,CAAA;AAChC,MAAM,CAAC,IAAM,qBAAqB,GAAG,IAAI,CAAA;AACzC,MAAM,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":"index.js","sourceRoot":"","sources":["../../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export type TStyles = {
|
|
2
|
-
[key: string]: number | string;
|
|
3
|
-
};
|
|
4
|
-
export interface IThemeProps {
|
|
5
|
-
theme?: 'default' | 'dark';
|
|
6
|
-
}
|
|
7
|
-
export interface IPlatformProps {
|
|
8
|
-
platform?: 'web' | 'ios' | 'android';
|
|
9
|
-
}
|
|
10
|
-
export interface ILayoutTypeProps {
|
|
11
|
-
layoutType?: 'minimal' | 'half' | 'full';
|
|
12
|
-
}
|
|
13
|
-
export interface ICommonProps extends IThemeProps, IPlatformProps {
|
|
14
|
-
}
|
|
15
|
-
export type TCalculatePercentageOfValue = {
|
|
16
|
-
value: number;
|
|
17
|
-
percentage: number;
|
|
18
|
-
shouldBeRounded?: boolean;
|
|
19
|
-
};
|
|
20
|
-
export type TGenerateClassNames = {
|
|
21
|
-
className: string;
|
|
22
|
-
delimiter: string;
|
|
23
|
-
additionalClassName: string | string[];
|
|
24
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/constants/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ReactElement, RefObject } from 'react';
|
|
2
|
-
import { COLORS, TCalculatePercentageOfValue, TGenerateClassNames } from '../constants';
|
|
3
|
-
export declare const generateColor: (color?: string, defaultColor?: string) => string;
|
|
4
|
-
export declare const isWebPlatform: (platform: string) => boolean;
|
|
5
|
-
export declare const isIosPlatform: (platform: string) => boolean;
|
|
6
|
-
export declare const isAndroidPlatform: (platform: string) => boolean;
|
|
7
|
-
export declare const isMobilePlatform: (platform: string) => boolean;
|
|
8
|
-
export declare const isDarkTheme: (theme?: string) => boolean;
|
|
9
|
-
export declare const generateClassNames: ({ className, delimiter, additionalClassName }: TGenerateClassNames) => string;
|
|
10
|
-
export declare const generateDefaultGrayColorForIcon: (theme: string) => COLORS.white80 | COLORS.gray;
|
|
11
|
-
export declare const userNameToColor: (userName?: string) => string;
|
|
12
|
-
export declare const createInitials: (str: string) => string;
|
|
13
|
-
export declare const calculatePercentageOfValue: ({ value, percentage, shouldBeRounded }: TCalculatePercentageOfValue) => number;
|
|
14
|
-
export declare const isFullScreen: (layoutType: string) => boolean;
|
|
15
|
-
export declare const isPrimaryFillType: (fillType: string) => boolean;
|
|
16
|
-
export declare const isSecondaryFillType: (fillType: string) => boolean;
|
|
17
|
-
export declare const isValueEqualToZero: (value: number) => boolean;
|
|
18
|
-
export declare const renderStoryComponent: (component: ReactElement) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
export declare const generateIsCloseIconHidden: (platform: string, isCloseIconHidden?: boolean) => boolean;
|
|
20
|
-
export declare const checkIfContentIsCentered: (elementRef: RefObject<HTMLElement | null>) => boolean | undefined;
|
|
21
|
-
export declare const generateBottomSheetClassName: (platform: string, shouldUseBottomSheet: boolean) => string[];
|
|
22
|
-
export declare const generateId: () => string;
|
|
@@ -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,yBAAyB,EACzB,cAAc,EACd,YAAY,EACZ,MAAM,EACN,MAAM,EACN,2BAA2B,EAC3B,SAAS,EACT,WAAW,EACX,QAAQ,EAGR,KAAK,GACN,MAAM,cAAc,CAAA;AAGrB,MAAM,CAAC,IAAM,aAAa,GAAG,UAAC,KAAc,EAAE,YAAyB;IAAzB,6BAAA,EAAA,iBAAyB;IAAK,OAAA,CAAC,KAAK,IAAI,GAAG,CAAC,QAAQ,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,YAAY,CAAC;AAA9D,CAA8D,CAAA;AAE1I,MAAM,CAAC,IAAM,aAAa,GAAG,UAAC,QAAgB,IAAK,OAAA,QAAQ,KAAK,QAAQ,CAAC,GAAG,EAAzB,CAAyB,CAAA;AAC5E,MAAM,CAAC,IAAM,aAAa,GAAG,UAAC,QAAgB,IAAK,OAAA,QAAQ,KAAK,QAAQ,CAAC,GAAG,EAAzB,CAAyB,CAAA;AAC5E,MAAM,CAAC,IAAM,iBAAiB,GAAG,UAAC,QAAgB,IAAK,OAAA,QAAQ,KAAK,QAAQ,CAAC,OAAO,EAA7B,CAA6B,CAAA;AACpF,MAAM,CAAC,IAAM,gBAAgB,GAAG,UAAC,QAAgB,IAAK,OAAA,iBAAiB,CAAC,QAAQ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EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC;AAApE,CAAoE,CAAA;AAEtE,MAAM,CAAC,IAAM,UAAU,GAAG,cAAM,OAAA,MAAM,EAAE,EAAR,CAAQ,CAAA"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React, { RefObject } from 'react';
|
|
2
|
-
import { BottomSheetProps } from 'alex.chus-react-spring-bottom-sheet';
|
|
3
|
-
import 'alex.chus-react-spring-bottom-sheet/dist/style.css';
|
|
4
|
-
interface UseModalProps {
|
|
5
|
-
isModalOpen: boolean;
|
|
6
|
-
platform?: string;
|
|
7
|
-
isDisabledBottomSheet?: boolean;
|
|
8
|
-
initialIsBottomSheet?: boolean;
|
|
9
|
-
modalRef: RefObject<HTMLDivElement | null>;
|
|
10
|
-
isClosableOutside: boolean;
|
|
11
|
-
handleCloseModal: () => void;
|
|
12
|
-
popupClassName?: string;
|
|
13
|
-
popupStyles?: React.CSSProperties;
|
|
14
|
-
bottomSheetProps?: Partial<Omit<BottomSheetProps, 'externalScrollContainer'>>;
|
|
15
|
-
scrollRef?: RefObject<HTMLDivElement | null>;
|
|
16
|
-
}
|
|
17
|
-
export declare const useModal: ({ isModalOpen, platform, isDisabledBottomSheet, initialIsBottomSheet, modalRef, isClosableOutside, handleCloseModal, popupClassName, popupStyles, bottomSheetProps, scrollRef, }: UseModalProps) => {
|
|
18
|
-
shouldUseBottomSheet: boolean;
|
|
19
|
-
renderModal: (children: React.ReactNode) => import("react/jsx-runtime").JSX.Element | null;
|
|
20
|
-
};
|
|
21
|
-
export {};
|
|
@@ -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
|
-
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AO,EAAE,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.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export * from './styles';
|
|
2
|
-
export * from './сomponents/types';
|
|
3
|
-
export { default as Button } from './сomponents/Button';
|
|
4
|
-
export { default as Header } from './сomponents/Header';
|
|
5
|
-
export { default as ActionModal } from './сomponents/ActionModal';
|
|
6
|
-
export { default as AttachedFile } from './сomponents/AttachedFile';
|
|
7
|
-
export { default as Avatar } from './сomponents/Avatar';
|
|
8
|
-
export { default as Calendar } from './сomponents/Calendar';
|
|
9
|
-
export { default as Checkbox } from './сomponents/Checkbox';
|
|
10
|
-
export { default as Chip } from './сomponents/Chip';
|
|
11
|
-
export { default as ConfirmationModal } from './сomponents/ConfirmationModal';
|
|
12
|
-
export { default as CustomSelect } from './сomponents/CustomSelect';
|
|
13
|
-
export { default as CustomSelectProfiles } from './сomponents/CustomSelectProfiles';
|
|
14
|
-
export { default as DragAndDrop } from './сomponents/DragAndDrop';
|
|
15
|
-
export { default as DraggablePopup } from './сomponents/DraggablePopup';
|
|
16
|
-
export { default as Error } from './сomponents/Error';
|
|
17
|
-
export { default as Input } from './сomponents/Input';
|
|
18
|
-
export { default as Loader } from './сomponents/Loader';
|
|
19
|
-
export { default as Profile } from './сomponents/Profile';
|
|
20
|
-
export { default as Switcher } from './сomponents/Switcher';
|
|
21
|
-
export { default as ScrollBar } from './сomponents/ScrollBar';
|
|
22
|
-
export { default as Toggle } from './сomponents/Toggle';
|
|
23
|
-
export { default as Stories } from './сomponents/Stories';
|
|
24
|
-
export { default as SyncLoader } from './сomponents/SyncLoader';
|
|
25
|
-
export { default as Modal } from './сomponents/Modal';
|
|
26
|
-
export { default as Notification } from './сomponents/Notification';
|
|
27
|
-
export { default as RadioButton } from './сomponents/RadioButton';
|
|
28
|
-
export { default as Textarea } from './сomponents/Textarea';
|
|
29
|
-
export { default as ContextMenu } from './сomponents/ContextMenu';
|
|
30
|
-
export { default as UserDropdown } from './сomponents/UserDropdown';
|
|
31
|
-
export { Skeleton } from './сomponents/Skeleton';
|
|
32
|
-
export { default as ListItem } from './сomponents/ListItem';
|
|
33
|
-
export { default as CachedImage } from './сomponents/CachedImage';
|
|
34
|
-
export { default as ProgressBar } from './сomponents/ProgressBar';
|
|
35
|
-
export { ChartBar, ChartLine, ChartPie } from './сomponents/Charts';
|
|
36
|
-
export { Flex, VFlex, HFlex } from './сomponents/Flex';
|
package/build/main/index.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export * from './styles';
|
|
2
|
-
export * from './сomponents/types';
|
|
3
|
-
export { default as Button } from './сomponents/Button';
|
|
4
|
-
export { default as Header } from './сomponents/Header';
|
|
5
|
-
export { default as ActionModal } from './сomponents/ActionModal';
|
|
6
|
-
export { default as AttachedFile } from './сomponents/AttachedFile';
|
|
7
|
-
export { default as Avatar } from './сomponents/Avatar';
|
|
8
|
-
export { default as Calendar } from './сomponents/Calendar';
|
|
9
|
-
export { default as Checkbox } from './сomponents/Checkbox';
|
|
10
|
-
export { default as Chip } from './сomponents/Chip';
|
|
11
|
-
export { default as ConfirmationModal } from './сomponents/ConfirmationModal';
|
|
12
|
-
export { default as CustomSelect } from './сomponents/CustomSelect';
|
|
13
|
-
export { default as CustomSelectProfiles } from './сomponents/CustomSelectProfiles';
|
|
14
|
-
export { default as DragAndDrop } from './сomponents/DragAndDrop';
|
|
15
|
-
export { default as DraggablePopup } from './сomponents/DraggablePopup';
|
|
16
|
-
export { default as Error } from './сomponents/Error';
|
|
17
|
-
export { default as Input } from './сomponents/Input';
|
|
18
|
-
export { default as Loader } from './сomponents/Loader';
|
|
19
|
-
export { default as Profile } from './сomponents/Profile';
|
|
20
|
-
export { default as Switcher } from './сomponents/Switcher';
|
|
21
|
-
export { default as ScrollBar } from './сomponents/ScrollBar';
|
|
22
|
-
export { default as Toggle } from './сomponents/Toggle';
|
|
23
|
-
export { default as Stories } from './сomponents/Stories';
|
|
24
|
-
export { default as SyncLoader } from './сomponents/SyncLoader';
|
|
25
|
-
export { default as Modal } from './сomponents/Modal';
|
|
26
|
-
export { default as Notification } from './сomponents/Notification';
|
|
27
|
-
export { default as RadioButton } from './сomponents/RadioButton';
|
|
28
|
-
export { default as Textarea } from './сomponents/Textarea';
|
|
29
|
-
export { default as ContextMenu } from './сomponents/ContextMenu';
|
|
30
|
-
export { default as UserDropdown } from './сomponents/UserDropdown';
|
|
31
|
-
export { Skeleton } from './сomponents/Skeleton';
|
|
32
|
-
export { default as ListItem } from './сomponents/ListItem';
|
|
33
|
-
export { default as CachedImage } from './сomponents/CachedImage';
|
|
34
|
-
export { default as ProgressBar } from './сomponents/ProgressBar';
|
|
35
|
-
export { ChartBar, ChartLine, ChartPie } from './сomponents/Charts';
|
|
36
|
-
export { Flex, VFlex, HFlex } from './сomponents/Flex';
|
|
37
|
-
//# sourceMappingURL=index.js.map
|
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,oBAAoB,CAAA;AAClC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAA;AACjE,OA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EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACnE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AACnE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './styles.scss';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
|
|
File without changes
|