@expressms/smartapp-ui 3.0.0-alpha.22 → 3.0.0-alpha.220
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/icons/accepted-invite-status.svg +4 -0
- package/build/main/assets/icons/arrow-back.svg +3 -0
- package/build/main/assets/icons/arrow-down.svg +3 -0
- package/build/main/assets/icons/arrow-up.svg +3 -0
- package/build/main/assets/icons/attachment-loader.svg +3 -0
- package/build/main/assets/icons/avatar-loader.svg +3 -0
- package/build/main/assets/icons/button-loader.svg +3 -0
- package/build/main/assets/icons/calendar-arrow-next.svg +3 -0
- package/build/main/assets/icons/calendar-arrow-prev.svg +3 -0
- package/build/main/assets/icons/check-mark-square.svg +4 -0
- package/build/main/assets/icons/check-mark.svg +4 -0
- package/build/main/assets/icons/chevron.svg +3 -0
- package/build/main/assets/icons/chip-info.svg +5 -0
- package/build/main/assets/icons/clear.svg +3 -0
- package/build/main/assets/icons/close-modal.svg +3 -0
- package/build/main/assets/icons/close-stories.svg +4 -0
- package/build/main/assets/icons/close.svg +3 -0
- package/build/main/assets/icons/contact-info.svg +5 -0
- package/build/main/assets/icons/copy.svg +3 -0
- package/build/main/assets/icons/corporate-user.svg +3 -0
- package/build/main/assets/icons/crown.svg +5 -0
- package/build/main/assets/icons/declined-invite-status.svg +4 -0
- package/build/main/assets/icons/delete-chip.svg +3 -0
- package/build/main/assets/icons/department.svg +3 -0
- package/build/main/assets/icons/distribution.svg +12 -0
- package/build/main/assets/icons/doc-small.svg +11 -0
- package/build/main/assets/icons/doc.svg +11 -0
- package/build/main/assets/icons/download.svg +3 -0
- package/build/main/assets/icons/error.svg +5 -0
- package/build/main/assets/icons/external-link.svg +3 -0
- package/build/main/assets/icons/eye-off.svg +5 -0
- package/build/main/assets/icons/eye-on.svg +4 -0
- package/build/main/assets/icons/file-small.svg +11 -0
- package/build/main/assets/icons/file.svg +11 -0
- package/build/main/assets/icons/global-address-book-user.svg +4 -0
- package/build/main/assets/icons/group.svg +3 -0
- package/build/main/assets/icons/image-no-preview-small.svg +11 -0
- package/build/main/assets/icons/image-no-preview.svg +11 -0
- package/build/main/assets/icons/indeterminate-check-mark-square.svg +4 -0
- package/build/main/assets/icons/info.svg +5 -0
- package/build/main/assets/icons/input-arrow-down.svg +3 -0
- package/build/main/assets/icons/input-arrow-up.svg +3 -0
- package/build/main/assets/icons/job-position.svg +3 -0
- package/build/main/assets/icons/loader.svg +3 -0
- package/build/main/assets/icons/logout.svg +4 -0
- package/build/main/assets/icons/magnifying-glass.svg +3 -0
- package/build/main/assets/icons/mail.svg +3 -0
- package/build/main/assets/icons/meeting-room.svg +3 -0
- package/build/main/assets/icons/more.svg +3 -0
- package/build/main/assets/icons/my-contacts-user.svg +3 -0
- package/build/main/assets/icons/needs-action-invite-status.svg +4 -0
- package/build/main/assets/icons/notification-close.svg +3 -0
- package/build/main/assets/icons/notification-error.svg +5 -0
- package/build/main/assets/icons/notification-failure-filled.svg +3 -0
- package/build/main/assets/icons/notification-failure.svg +3 -0
- package/build/main/assets/icons/notification-info-filled.svg +5 -0
- package/build/main/assets/icons/notification-info.svg +5 -0
- package/build/main/assets/icons/notification-success-filled.svg +4 -0
- package/build/main/assets/icons/notification-success.svg +4 -0
- package/build/main/assets/icons/office.svg +3 -0
- package/build/main/assets/icons/order.svg +6 -0
- package/build/main/assets/icons/pdf-small.svg +11 -0
- package/build/main/assets/icons/pdf.svg +11 -0
- package/build/main/assets/icons/play-small.svg +3 -0
- package/build/main/assets/icons/play.svg +3 -0
- package/build/main/assets/icons/plus.svg +4 -0
- package/build/main/assets/icons/ppt-small.svg +11 -0
- package/build/main/assets/icons/ppt.svg +11 -0
- package/build/main/assets/icons/private.svg +5 -0
- package/build/main/assets/icons/refresh.svg +3 -0
- package/build/main/assets/icons/remove.svg +3 -0
- package/build/main/assets/icons/search.svg +3 -0
- package/build/main/assets/icons/select-arrow-down.svg +3 -0
- package/build/main/assets/icons/select-arrow-up.svg +3 -0
- package/build/main/assets/icons/server.svg +3 -0
- package/build/main/assets/icons/story-loader.svg +3 -0
- package/build/main/assets/icons/tick.svg +10 -0
- package/build/main/assets/icons/trash.svg +3 -0
- package/build/main/assets/icons/txt-small.svg +11 -0
- package/build/main/assets/icons/txt.svg +11 -0
- package/build/main/assets/icons/video-no-preview-small.svg +11 -0
- package/build/main/assets/icons/video-no-preview.svg +11 -0
- package/build/main/assets/icons/warning-avatar.svg +4 -0
- package/build/main/assets/icons/xls-small.svg +11 -0
- package/build/main/assets/icons/xls.svg +11 -0
- package/build/main/assets/storybook/index.d.ts +27 -0
- package/build/main/assets/storybook/index.js +28 -0
- package/build/main/assets/storybook/index.js.map +1 -0
- package/build/main/constants/constants.d.ts +245 -0
- package/build/main/constants/constants.js +303 -0
- package/build/main/constants/constants.js.map +1 -0
- package/build/main/constants/index.d.ts +2 -0
- package/build/main/constants/index.js +3 -0
- package/build/main/constants/index.js.map +1 -0
- package/build/main/constants/types.d.ts +69 -0
- package/build/main/constants/types.js +2 -0
- package/build/main/constants/types.js.map +1 -0
- package/build/main/helpers/fontScale.d.ts +3 -0
- package/build/main/helpers/fontScale.js +17 -0
- package/build/main/helpers/fontScale.js.map +1 -0
- package/build/main/helpers/index.d.ts +34 -0
- package/build/main/helpers/index.js +205 -0
- package/build/main/helpers/index.js.map +1 -0
- package/build/main/hooks/useCharHintDisplay.d.ts +10 -0
- package/build/main/hooks/useCharHintDisplay.js +57 -0
- package/build/main/hooks/useCharHintDisplay.js.map +1 -0
- package/build/main/hooks/useFontScale.d.ts +1 -0
- package/build/main/hooks/useFontScale.js +19 -0
- package/build/main/hooks/useFontScale.js.map +1 -0
- package/build/main/hooks/useMobileLongTap.d.ts +16 -0
- package/build/main/hooks/useMobileLongTap.js +65 -0
- package/build/main/hooks/useMobileLongTap.js.map +1 -0
- package/build/main/hooks/useModal.d.ts +30 -0
- package/build/main/hooks/useModal.js +275 -0
- package/build/main/hooks/useModal.js.map +1 -0
- package/build/main/index.d.ts +40 -0
- package/build/main/index.js +41 -0
- package/build/main/index.js.map +1 -0
- package/build/main/styles/index.d.ts +1 -0
- package/build/main/styles/index.js +2 -0
- package/build/main/styles/index.js.map +1 -0
- package/build/main/styles/main.js +0 -0
- package/build/main/styles/styles.scss +14 -0
- package/build/main//321/201omponents/ActionModal/ActionModal.d.ts +4 -0
- package/build/main//321/201omponents/ActionModal/ActionModal.js +53 -0
- package/build/main//321/201omponents/ActionModal/ActionModal.js.map +1 -0
- package/build/main//321/201omponents/ActionModal/index.d.ts +1 -0
- package/build/main//321/201omponents/ActionModal/index.js +2 -0
- package/build/main//321/201omponents/ActionModal/index.js.map +1 -0
- package/build/main//321/201omponents/ActionModal/types.d.ts +23 -0
- package/build/main//321/201omponents/ActionModal/types.js +2 -0
- package/build/main//321/201omponents/ActionModal/types.js.map +1 -0
- package/build/main//321/201omponents/AttachedFile/AttachedFile.d.ts +8 -0
- package/build/main//321/201omponents/AttachedFile/AttachedFile.js +201 -0
- package/build/main//321/201omponents/AttachedFile/AttachedFile.js.map +1 -0
- package/build/main//321/201omponents/AttachedFile/index.d.ts +1 -0
- package/build/main//321/201omponents/AttachedFile/index.js +2 -0
- package/build/main//321/201omponents/AttachedFile/index.js.map +1 -0
- package/build/main//321/201omponents/AttachedFile/types.d.ts +23 -0
- package/build/main//321/201omponents/AttachedFile/types.js +2 -0
- package/build/main//321/201omponents/AttachedFile/types.js.map +1 -0
- package/build/main//321/201omponents/Avatar/Avatar.d.ts +5 -0
- package/build/main//321/201omponents/Avatar/Avatar.js +257 -0
- package/build/main//321/201omponents/Avatar/Avatar.js.map +1 -0
- package/build/main//321/201omponents/Avatar/index.d.ts +1 -0
- package/build/main//321/201omponents/Avatar/index.js +2 -0
- package/build/main//321/201omponents/Avatar/index.js.map +1 -0
- package/build/main//321/201omponents/Avatar/types.d.ts +64 -0
- package/build/main//321/201omponents/Avatar/types.js +32 -0
- package/build/main//321/201omponents/Avatar/types.js.map +1 -0
- package/build/main//321/201omponents/Button/Button.d.ts +4 -0
- package/build/main//321/201omponents/Button/Button.js +68 -0
- package/build/main//321/201omponents/Button/Button.js.map +1 -0
- package/build/main//321/201omponents/Button/index.d.ts +1 -0
- package/build/main//321/201omponents/Button/index.js +2 -0
- package/build/main//321/201omponents/Button/index.js.map +1 -0
- package/build/main//321/201omponents/Button/types.d.ts +31 -0
- package/build/main//321/201omponents/Button/types.js +15 -0
- package/build/main//321/201omponents/Button/types.js.map +1 -0
- package/build/main//321/201omponents/CachedImage/CachedImage.d.ts +4 -0
- package/build/main//321/201omponents/CachedImage/CachedImage.js +59 -0
- package/build/main//321/201omponents/CachedImage/CachedImage.js.map +1 -0
- package/build/main//321/201omponents/CachedImage/helpers.d.ts +3 -0
- package/build/main//321/201omponents/CachedImage/helpers.js +40 -0
- package/build/main//321/201omponents/CachedImage/helpers.js.map +1 -0
- package/build/main//321/201omponents/CachedImage/index.d.ts +1 -0
- package/build/main//321/201omponents/CachedImage/index.js +2 -0
- package/build/main//321/201omponents/CachedImage/index.js.map +1 -0
- package/build/main//321/201omponents/CachedImage/types.d.ts +10 -0
- package/build/main//321/201omponents/CachedImage/types.js +2 -0
- package/build/main//321/201omponents/CachedImage/types.js.map +1 -0
- package/build/main//321/201omponents/Calendar/Calendar.d.ts +16 -0
- package/build/main//321/201omponents/Calendar/Calendar.js +294 -0
- package/build/main//321/201omponents/Calendar/Calendar.js.map +1 -0
- package/build/main//321/201omponents/Calendar/index.d.ts +1 -0
- package/build/main//321/201omponents/Calendar/index.js +2 -0
- package/build/main//321/201omponents/Calendar/index.js.map +1 -0
- package/build/main//321/201omponents/Calendar/types.d.ts +28 -0
- package/build/main//321/201omponents/Calendar/types.js +2 -0
- package/build/main//321/201omponents/Calendar/types.js.map +1 -0
- package/build/main//321/201omponents/Charts/ChartBar/ChartBar.d.ts +4 -0
- package/build/main//321/201omponents/Charts/ChartBar/ChartBar.js +49 -0
- package/build/main//321/201omponents/Charts/ChartBar/ChartBar.js.map +1 -0
- package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.d.ts +4 -0
- package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.js +71 -0
- package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.js.map +1 -0
- package/build/main//321/201omponents/Charts/ChartLine/ChartLine.d.ts +4 -0
- package/build/main//321/201omponents/Charts/ChartLine/ChartLine.js +45 -0
- package/build/main//321/201omponents/Charts/ChartLine/ChartLine.js.map +1 -0
- package/build/main//321/201omponents/Charts/ChartPie/ChartPie.d.ts +4 -0
- package/build/main//321/201omponents/Charts/ChartPie/ChartPie.js +66 -0
- package/build/main//321/201omponents/Charts/ChartPie/ChartPie.js.map +1 -0
- package/build/main//321/201omponents/Charts/colors.d.ts +3 -0
- package/build/main//321/201omponents/Charts/colors.js +4 -0
- package/build/main//321/201omponents/Charts/colors.js.map +1 -0
- package/build/main//321/201omponents/Charts/constants.d.ts +42 -0
- package/build/main//321/201omponents/Charts/constants.js +43 -0
- package/build/main//321/201omponents/Charts/constants.js.map +1 -0
- package/build/main//321/201omponents/Charts/helpers.d.ts +17 -0
- package/build/main//321/201omponents/Charts/helpers.js +74 -0
- package/build/main//321/201omponents/Charts/helpers.js.map +1 -0
- package/build/main//321/201omponents/Charts/index.d.ts +3 -0
- package/build/main//321/201omponents/Charts/index.js +4 -0
- package/build/main//321/201omponents/Charts/index.js.map +1 -0
- package/build/main//321/201omponents/Charts/types.d.ts +89 -0
- package/build/main//321/201omponents/Charts/types.js +2 -0
- package/build/main//321/201omponents/Charts/types.js.map +1 -0
- package/build/main//321/201omponents/Charts/useEvents.d.ts +5 -0
- package/build/main//321/201omponents/Charts/useEvents.js +45 -0
- package/build/main//321/201omponents/Charts/useEvents.js.map +1 -0
- package/build/main//321/201omponents/Charts/usePieEvents.d.ts +6 -0
- package/build/main//321/201omponents/Charts/usePieEvents.js +57 -0
- package/build/main//321/201omponents/Charts/usePieEvents.js.map +1 -0
- package/build/main//321/201omponents/Checkbox/Checkbox.d.ts +8 -0
- package/build/main//321/201omponents/Checkbox/Checkbox.js +48 -0
- package/build/main//321/201omponents/Checkbox/Checkbox.js.map +1 -0
- package/build/main//321/201omponents/Checkbox/index.d.ts +1 -0
- package/build/main//321/201omponents/Checkbox/index.js +2 -0
- package/build/main//321/201omponents/Checkbox/index.js.map +1 -0
- package/build/main//321/201omponents/Checkbox/types.d.ts +14 -0
- package/build/main//321/201omponents/Checkbox/types.js +2 -0
- package/build/main//321/201omponents/Checkbox/types.js.map +1 -0
- package/build/main//321/201omponents/Chip/Chip.d.ts +5 -0
- package/build/main//321/201omponents/Chip/Chip.js +288 -0
- package/build/main//321/201omponents/Chip/Chip.js.map +1 -0
- package/build/main//321/201omponents/Chip/index.d.ts +1 -0
- package/build/main//321/201omponents/Chip/index.js +2 -0
- package/build/main//321/201omponents/Chip/index.js.map +1 -0
- package/build/main//321/201omponents/Chip/types.d.ts +39 -0
- package/build/main//321/201omponents/Chip/types.js +2 -0
- package/build/main//321/201omponents/Chip/types.js.map +1 -0
- package/build/main//321/201omponents/ChipDndContext/ChipDndContext.d.ts +13 -0
- package/build/main//321/201omponents/ChipDndContext/ChipDndContext.js +76 -0
- package/build/main//321/201omponents/ChipDndContext/ChipDndContext.js.map +1 -0
- package/build/main//321/201omponents/ChipDndContext/index.d.ts +1 -0
- package/build/main//321/201omponents/ChipDndContext/index.js +2 -0
- package/build/main//321/201omponents/ChipDndContext/index.js.map +1 -0
- package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.d.ts +4 -0
- package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js +64 -0
- package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js.map +1 -0
- package/build/main//321/201omponents/ConfirmationModal/index.d.ts +1 -0
- package/build/main//321/201omponents/ConfirmationModal/index.js +2 -0
- package/build/main//321/201omponents/ConfirmationModal/index.js.map +1 -0
- package/build/main//321/201omponents/ConfirmationModal/types.d.ts +31 -0
- package/build/main//321/201omponents/ConfirmationModal/types.js +2 -0
- package/build/main//321/201omponents/ConfirmationModal/types.js.map +1 -0
- package/build/main//321/201omponents/ContextMenu/ContextMenu.d.ts +4 -0
- package/build/main//321/201omponents/ContextMenu/ContextMenu.js +122 -0
- package/build/main//321/201omponents/ContextMenu/ContextMenu.js.map +1 -0
- package/build/main//321/201omponents/ContextMenu/index.d.ts +1 -0
- package/build/main//321/201omponents/ContextMenu/index.js +2 -0
- package/build/main//321/201omponents/ContextMenu/index.js.map +1 -0
- package/build/main//321/201omponents/ContextMenu/types.d.ts +41 -0
- package/build/main//321/201omponents/ContextMenu/types.js +2 -0
- package/build/main//321/201omponents/ContextMenu/types.js.map +1 -0
- package/build/main//321/201omponents/ContextMenuItem/ContextMenuItem.d.ts +4 -0
- package/build/main//321/201omponents/ContextMenuItem/ContextMenuItem.js +49 -0
- package/build/main//321/201omponents/ContextMenuItem/ContextMenuItem.js.map +1 -0
- package/build/main//321/201omponents/ContextMenuItem/index.d.ts +1 -0
- package/build/main//321/201omponents/ContextMenuItem/index.js +2 -0
- package/build/main//321/201omponents/ContextMenuItem/index.js.map +1 -0
- package/build/main//321/201omponents/ContextMenuItem/types.d.ts +28 -0
- package/build/main//321/201omponents/ContextMenuItem/types.js +6 -0
- package/build/main//321/201omponents/ContextMenuItem/types.js.map +1 -0
- package/build/main//321/201omponents/CustomSelect/CustomSelect.d.ts +12 -0
- package/build/main//321/201omponents/CustomSelect/CustomSelect.js +281 -0
- package/build/main//321/201omponents/CustomSelect/CustomSelect.js.map +1 -0
- package/build/main//321/201omponents/CustomSelect/index.d.ts +1 -0
- package/build/main//321/201omponents/CustomSelect/index.js +2 -0
- package/build/main//321/201omponents/CustomSelect/index.js.map +1 -0
- package/build/main//321/201omponents/CustomSelect/selectStyles.d.ts +16 -0
- package/build/main//321/201omponents/CustomSelect/selectStyles.js +78 -0
- package/build/main//321/201omponents/CustomSelect/selectStyles.js.map +1 -0
- package/build/main//321/201omponents/CustomSelect/types.d.ts +86 -0
- package/build/main//321/201omponents/CustomSelect/types.js +2 -0
- package/build/main//321/201omponents/CustomSelect/types.js.map +1 -0
- package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.d.ts +4 -0
- package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js +67 -0
- package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js.map +1 -0
- package/build/main//321/201omponents/CustomSelectProfiles/index.d.ts +1 -0
- package/build/main//321/201omponents/CustomSelectProfiles/index.js +2 -0
- package/build/main//321/201omponents/CustomSelectProfiles/index.js.map +1 -0
- package/build/main//321/201omponents/CustomSelectProfiles/selectStyles.d.ts +12 -0
- package/build/main//321/201omponents/CustomSelectProfiles/selectStyles.js +42 -0
- package/build/main//321/201omponents/CustomSelectProfiles/selectStyles.js.map +1 -0
- package/build/main//321/201omponents/CustomSelectProfiles/types.d.ts +13 -0
- package/build/main//321/201omponents/CustomSelectProfiles/types.js +2 -0
- package/build/main//321/201omponents/CustomSelectProfiles/types.js.map +1 -0
- package/build/main//321/201omponents/DragAndDrop/DragAndDrop.d.ts +4 -0
- package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js +57 -0
- package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js.map +1 -0
- package/build/main//321/201omponents/DragAndDrop/index.d.ts +1 -0
- package/build/main//321/201omponents/DragAndDrop/index.js +2 -0
- package/build/main//321/201omponents/DragAndDrop/index.js.map +1 -0
- package/build/main//321/201omponents/DragAndDrop/types.d.ts +24 -0
- package/build/main//321/201omponents/DragAndDrop/types.js +2 -0
- package/build/main//321/201omponents/DragAndDrop/types.js.map +1 -0
- package/build/main//321/201omponents/DraggablePopup/DraggablePopup.d.ts +4 -0
- package/build/main//321/201omponents/DraggablePopup/DraggablePopup.js +228 -0
- package/build/main//321/201omponents/DraggablePopup/DraggablePopup.js.map +1 -0
- package/build/main//321/201omponents/DraggablePopup/index.d.ts +1 -0
- package/build/main//321/201omponents/DraggablePopup/index.js +2 -0
- package/build/main//321/201omponents/DraggablePopup/index.js.map +1 -0
- package/build/main//321/201omponents/DraggablePopup/types.d.ts +90 -0
- package/build/main//321/201omponents/DraggablePopup/types.js +2 -0
- package/build/main//321/201omponents/DraggablePopup/types.js.map +1 -0
- package/build/main//321/201omponents/Error/Error.d.ts +4 -0
- package/build/main//321/201omponents/Error/Error.js +23 -0
- package/build/main//321/201omponents/Error/Error.js.map +1 -0
- package/build/main//321/201omponents/Error/index.d.ts +1 -0
- package/build/main//321/201omponents/Error/index.js +2 -0
- package/build/main//321/201omponents/Error/index.js.map +1 -0
- package/build/main//321/201omponents/Error/types.d.ts +10 -0
- package/build/main//321/201omponents/Error/types.js +2 -0
- package/build/main//321/201omponents/Error/types.js.map +1 -0
- package/build/main//321/201omponents/Flex/Flex.d.ts +2 -0
- package/build/main//321/201omponents/Flex/Flex.js +35 -0
- package/build/main//321/201omponents/Flex/Flex.js.map +1 -0
- package/build/main//321/201omponents/Flex/HFlex/HFlex.d.ts +5 -0
- package/build/main//321/201omponents/Flex/HFlex/HFlex.js +16 -0
- package/build/main//321/201omponents/Flex/HFlex/HFlex.js.map +1 -0
- package/build/main//321/201omponents/Flex/HFlex/index.d.ts +1 -0
- package/build/main//321/201omponents/Flex/HFlex/index.js +2 -0
- package/build/main//321/201omponents/Flex/HFlex/index.js.map +1 -0
- package/build/main//321/201omponents/Flex/VFlex/VFlex.d.ts +5 -0
- package/build/main//321/201omponents/Flex/VFlex/VFlex.js +16 -0
- package/build/main//321/201omponents/Flex/VFlex/VFlex.js.map +1 -0
- package/build/main//321/201omponents/Flex/VFlex/index.d.ts +1 -0
- package/build/main//321/201omponents/Flex/VFlex/index.js +2 -0
- package/build/main//321/201omponents/Flex/VFlex/index.js.map +1 -0
- package/build/main//321/201omponents/Flex/index.d.ts +3 -0
- package/build/main//321/201omponents/Flex/index.js +4 -0
- package/build/main//321/201omponents/Flex/index.js.map +1 -0
- package/build/main//321/201omponents/Flex/types.d.ts +21 -0
- package/build/main//321/201omponents/Flex/types.js +2 -0
- package/build/main//321/201omponents/Flex/types.js.map +1 -0
- package/build/main//321/201omponents/Header/Header.d.ts +5 -0
- package/build/main//321/201omponents/Header/Header.js +125 -0
- package/build/main//321/201omponents/Header/Header.js.map +1 -0
- package/build/main//321/201omponents/Header/index.d.ts +1 -0
- package/build/main//321/201omponents/Header/index.js +2 -0
- package/build/main//321/201omponents/Header/index.js.map +1 -0
- package/build/main//321/201omponents/Header/types.d.ts +47 -0
- package/build/main//321/201omponents/Header/types.js +2 -0
- package/build/main//321/201omponents/Header/types.js.map +1 -0
- package/build/main//321/201omponents/Input/Input.d.ts +4 -0
- package/build/main//321/201omponents/Input/Input.js +256 -0
- package/build/main//321/201omponents/Input/Input.js.map +1 -0
- package/build/main//321/201omponents/Input/index.d.ts +1 -0
- package/build/main//321/201omponents/Input/index.js +2 -0
- package/build/main//321/201omponents/Input/index.js.map +1 -0
- package/build/main//321/201omponents/Input/types.d.ts +37 -0
- package/build/main//321/201omponents/Input/types.js +2 -0
- package/build/main//321/201omponents/Input/types.js.map +1 -0
- package/build/main//321/201omponents/ListItem/ListItem.d.ts +23 -0
- package/build/main//321/201omponents/ListItem/ListItem.js +214 -0
- package/build/main//321/201omponents/ListItem/ListItem.js.map +1 -0
- package/build/main//321/201omponents/ListItem/index.d.ts +1 -0
- package/build/main//321/201omponents/ListItem/index.js +2 -0
- package/build/main//321/201omponents/ListItem/index.js.map +1 -0
- package/build/main//321/201omponents/ListItem/types.d.ts +47 -0
- package/build/main//321/201omponents/ListItem/types.js +2 -0
- package/build/main//321/201omponents/ListItem/types.js.map +1 -0
- package/build/main//321/201omponents/Loader/Loader.d.ts +4 -0
- package/build/main//321/201omponents/Loader/Loader.js +44 -0
- package/build/main//321/201omponents/Loader/Loader.js.map +1 -0
- package/build/main//321/201omponents/Loader/index.d.ts +1 -0
- package/build/main//321/201omponents/Loader/index.js +2 -0
- package/build/main//321/201omponents/Loader/index.js.map +1 -0
- package/build/main//321/201omponents/Loader/types.d.ts +18 -0
- package/build/main//321/201omponents/Loader/types.js +2 -0
- package/build/main//321/201omponents/Loader/types.js.map +1 -0
- package/build/main//321/201omponents/Modal/Modal.d.ts +5 -0
- package/build/main//321/201omponents/Modal/Modal.js +397 -0
- package/build/main//321/201omponents/Modal/Modal.js.map +1 -0
- package/build/main//321/201omponents/Modal/index.d.ts +1 -0
- package/build/main//321/201omponents/Modal/index.js +2 -0
- package/build/main//321/201omponents/Modal/index.js.map +1 -0
- package/build/main//321/201omponents/Modal/types.d.ts +77 -0
- package/build/main//321/201omponents/Modal/types.js +2 -0
- package/build/main//321/201omponents/Modal/types.js.map +1 -0
- package/build/main//321/201omponents/Notification/Notification.d.ts +4 -0
- package/build/main//321/201omponents/Notification/Notification.js +208 -0
- package/build/main//321/201omponents/Notification/Notification.js.map +1 -0
- package/build/main//321/201omponents/Notification/constants.d.ts +34 -0
- package/build/main//321/201omponents/Notification/constants.js +59 -0
- package/build/main//321/201omponents/Notification/constants.js.map +1 -0
- package/build/main//321/201omponents/Notification/index.d.ts +1 -0
- package/build/main//321/201omponents/Notification/index.js +2 -0
- package/build/main//321/201omponents/Notification/index.js.map +1 -0
- package/build/main//321/201omponents/Notification/types.d.ts +64 -0
- package/build/main//321/201omponents/Notification/types.js +2 -0
- package/build/main//321/201omponents/Notification/types.js.map +1 -0
- package/build/main//321/201omponents/Profile/Profile.d.ts +4 -0
- package/build/main//321/201omponents/Profile/Profile.js +42 -0
- package/build/main//321/201omponents/Profile/Profile.js.map +1 -0
- package/build/main//321/201omponents/Profile/index.d.ts +1 -0
- package/build/main//321/201omponents/Profile/index.js +2 -0
- package/build/main//321/201omponents/Profile/index.js.map +1 -0
- package/build/main//321/201omponents/Profile/types.d.ts +14 -0
- package/build/main//321/201omponents/Profile/types.js +2 -0
- package/build/main//321/201omponents/Profile/types.js.map +1 -0
- package/build/main//321/201omponents/ProgressBar/ProgressBar.d.ts +4 -0
- package/build/main//321/201omponents/ProgressBar/ProgressBar.js +66 -0
- package/build/main//321/201omponents/ProgressBar/ProgressBar.js.map +1 -0
- package/build/main//321/201omponents/ProgressBar/index.d.ts +1 -0
- package/build/main//321/201omponents/ProgressBar/index.js +2 -0
- package/build/main//321/201omponents/ProgressBar/index.js.map +1 -0
- package/build/main//321/201omponents/ProgressBar/types.d.ts +7 -0
- package/build/main//321/201omponents/ProgressBar/types.js +2 -0
- package/build/main//321/201omponents/ProgressBar/types.js.map +1 -0
- package/build/main//321/201omponents/RadioButton/RadioButton.d.ts +4 -0
- package/build/main//321/201omponents/RadioButton/RadioButton.js +33 -0
- package/build/main//321/201omponents/RadioButton/RadioButton.js.map +1 -0
- package/build/main//321/201omponents/RadioButton/index.d.ts +1 -0
- package/build/main//321/201omponents/RadioButton/index.js +2 -0
- package/build/main//321/201omponents/RadioButton/index.js.map +1 -0
- package/build/main//321/201omponents/RadioButton/types.d.ts +12 -0
- package/build/main//321/201omponents/RadioButton/types.js +2 -0
- package/build/main//321/201omponents/RadioButton/types.js.map +1 -0
- package/build/main//321/201omponents/ScrollBar/ScrollBar.d.ts +5 -0
- package/build/main//321/201omponents/ScrollBar/ScrollBar.js +140 -0
- package/build/main//321/201omponents/ScrollBar/ScrollBar.js.map +1 -0
- package/build/main//321/201omponents/ScrollBar/index.d.ts +1 -0
- package/build/main//321/201omponents/ScrollBar/index.js +2 -0
- package/build/main//321/201omponents/ScrollBar/index.js.map +1 -0
- package/build/main//321/201omponents/ScrollBar/types.d.ts +24 -0
- package/build/main//321/201omponents/ScrollBar/types.js +2 -0
- package/build/main//321/201omponents/ScrollBar/types.js.map +1 -0
- package/build/main//321/201omponents/Skeleton/Skeleton.d.ts +4 -0
- package/build/main//321/201omponents/Skeleton/Skeleton.js +59 -0
- package/build/main//321/201omponents/Skeleton/Skeleton.js.map +1 -0
- package/build/main//321/201omponents/Skeleton/index.d.ts +1 -0
- package/build/main//321/201omponents/Skeleton/index.js +2 -0
- package/build/main//321/201omponents/Skeleton/index.js.map +1 -0
- package/build/main//321/201omponents/Skeleton/types.d.ts +17 -0
- package/build/main//321/201omponents/Skeleton/types.js +2 -0
- package/build/main//321/201omponents/Skeleton/types.js.map +1 -0
- package/build/main//321/201omponents/Stories/Stories.d.ts +4 -0
- package/build/main//321/201omponents/Stories/Stories.js +406 -0
- package/build/main//321/201omponents/Stories/Stories.js.map +1 -0
- package/build/main//321/201omponents/Stories/index.d.ts +1 -0
- package/build/main//321/201omponents/Stories/index.js +2 -0
- package/build/main//321/201omponents/Stories/index.js.map +1 -0
- package/build/main//321/201omponents/Stories/types.d.ts +71 -0
- package/build/main//321/201omponents/Stories/types.js +16 -0
- package/build/main//321/201omponents/Stories/types.js.map +1 -0
- package/build/main//321/201omponents/Switcher/Switcher.d.ts +4 -0
- package/build/main//321/201omponents/Switcher/Switcher.js +34 -0
- package/build/main//321/201omponents/Switcher/Switcher.js.map +1 -0
- package/build/main//321/201omponents/Switcher/index.d.ts +1 -0
- package/build/main//321/201omponents/Switcher/index.js +2 -0
- package/build/main//321/201omponents/Switcher/index.js.map +1 -0
- package/build/main//321/201omponents/Switcher/types.d.ts +8 -0
- package/build/main//321/201omponents/Switcher/types.js +2 -0
- package/build/main//321/201omponents/Switcher/types.js.map +1 -0
- package/build/main//321/201omponents/SyncLoader/SyncLoader.d.ts +5 -0
- package/build/main//321/201omponents/SyncLoader/SyncLoader.js +65 -0
- package/build/main//321/201omponents/SyncLoader/SyncLoader.js.map +1 -0
- package/build/main//321/201omponents/SyncLoader/index.d.ts +1 -0
- package/build/main//321/201omponents/SyncLoader/index.js +2 -0
- package/build/main//321/201omponents/SyncLoader/index.js.map +1 -0
- package/build/main//321/201omponents/SyncLoader/types.d.ts +8 -0
- package/build/main//321/201omponents/SyncLoader/types.js +2 -0
- package/build/main//321/201omponents/SyncLoader/types.js.map +1 -0
- package/build/main//321/201omponents/Textarea/Textarea.d.ts +4 -0
- package/build/main//321/201omponents/Textarea/Textarea.js +59 -0
- package/build/main//321/201omponents/Textarea/Textarea.js.map +1 -0
- package/build/main//321/201omponents/Textarea/index.d.ts +1 -0
- package/build/main//321/201omponents/Textarea/index.js +2 -0
- package/build/main//321/201omponents/Textarea/index.js.map +1 -0
- package/build/main//321/201omponents/Textarea/types.d.ts +13 -0
- package/build/main//321/201omponents/Textarea/types.js +2 -0
- package/build/main//321/201omponents/Textarea/types.js.map +1 -0
- package/build/main//321/201omponents/Toggle/Toggle.d.ts +4 -0
- package/build/main//321/201omponents/Toggle/Toggle.js +35 -0
- package/build/main//321/201omponents/Toggle/Toggle.js.map +1 -0
- package/build/main//321/201omponents/Toggle/index.d.ts +1 -0
- package/build/main//321/201omponents/Toggle/index.js +2 -0
- package/build/main//321/201omponents/Toggle/index.js.map +1 -0
- package/build/main//321/201omponents/Toggle/types.d.ts +12 -0
- package/build/main//321/201omponents/Toggle/types.js +2 -0
- package/build/main//321/201omponents/Toggle/types.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.d.ts +4 -0
- package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.js +40 -0
- package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.d.ts +4 -0
- package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.js +98 -0
- package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.d.ts +5 -0
- package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.js +24 -0
- package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.d.ts +4 -0
- package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.js +104 -0
- package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.d.ts +4 -0
- package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js +133 -0
- package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/Option/Option.d.ts +4 -0
- package/build/main//321/201omponents/UserDropdown/Option/Option.js +85 -0
- package/build/main//321/201omponents/UserDropdown/Option/Option.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/SearchInCatalogButton/SearchInCatalogButton.d.ts +4 -0
- package/build/main//321/201omponents/UserDropdown/SearchInCatalogButton/SearchInCatalogButton.js +41 -0
- package/build/main//321/201omponents/UserDropdown/SearchInCatalogButton/SearchInCatalogButton.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/UserDropdown.d.ts +5 -0
- package/build/main//321/201omponents/UserDropdown/UserDropdown.js +527 -0
- package/build/main//321/201omponents/UserDropdown/UserDropdown.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/components/Delimiter.d.ts +8 -0
- package/build/main//321/201omponents/UserDropdown/components/Delimiter.js +10 -0
- package/build/main//321/201omponents/UserDropdown/components/Delimiter.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/components/Hint.d.ts +6 -0
- package/build/main//321/201omponents/UserDropdown/components/Hint.js +21 -0
- package/build/main//321/201omponents/UserDropdown/components/Hint.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/components/Input.d.ts +2 -0
- package/build/main//321/201omponents/UserDropdown/components/Input.js +24 -0
- package/build/main//321/201omponents/UserDropdown/components/Input.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/components/Mask.d.ts +8 -0
- package/build/main//321/201omponents/UserDropdown/components/Mask.js +19 -0
- package/build/main//321/201omponents/UserDropdown/components/Mask.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/components/Title.d.ts +5 -0
- package/build/main//321/201omponents/UserDropdown/components/Title.js +18 -0
- package/build/main//321/201omponents/UserDropdown/components/Title.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/constants.d.ts +65 -0
- package/build/main//321/201omponents/UserDropdown/constants.js +83 -0
- package/build/main//321/201omponents/UserDropdown/constants.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/helpers.d.ts +148 -0
- package/build/main//321/201omponents/UserDropdown/helpers.js +313 -0
- package/build/main//321/201omponents/UserDropdown/helpers.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/index.d.ts +1 -0
- package/build/main//321/201omponents/UserDropdown/index.js +2 -0
- package/build/main//321/201omponents/UserDropdown/index.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/selectStyles.d.ts +15 -0
- package/build/main//321/201omponents/UserDropdown/selectStyles.js +99 -0
- package/build/main//321/201omponents/UserDropdown/selectStyles.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/types.d.ts +356 -0
- package/build/main//321/201omponents/UserDropdown/types.js +2 -0
- package/build/main//321/201omponents/UserDropdown/types.js.map +1 -0
- package/build/main//321/201omponents/types.d.ts +2 -0
- package/build/main//321/201omponents/types.js +2 -0
- package/build/main//321/201omponents/types.js.map +1 -0
- package/package.json +13 -8
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
var _a, _b, _c;
|
|
2
|
+
export var COLORS = {
|
|
3
|
+
lighterBlue: '#4799E30D',
|
|
4
|
+
lightBlue: '#5AA0E0',
|
|
5
|
+
blue: '#4799E3',
|
|
6
|
+
darkBlue: '#408ACD',
|
|
7
|
+
darkerBlue: '#3C82C1',
|
|
8
|
+
darkestBlue: '#000276',
|
|
9
|
+
purple: '#9370db',
|
|
10
|
+
white: '#FFFFFF',
|
|
11
|
+
white3: '#FFFFFF03',
|
|
12
|
+
lightestGray: '#FCFCFC',
|
|
13
|
+
lighterGray: '#E0E4EC66',
|
|
14
|
+
gray: '#1111114D',
|
|
15
|
+
darkerGray: '#808080',
|
|
16
|
+
brightBlack: '#3D3D3D',
|
|
17
|
+
black: '#111111',
|
|
18
|
+
darkBlack: '#1A1A1A',
|
|
19
|
+
skeletonBg: '#F1F1F2',
|
|
20
|
+
inactiveAvatarGradientStart: '#C2C2C2',
|
|
21
|
+
inactiveAvatarGradientEnd: '#6F6F6F',
|
|
22
|
+
bgBlackoutTransparent: 'rgba(0, 0, 0, 0.3)',
|
|
23
|
+
transparent: 'transparent',
|
|
24
|
+
textPrimary: 'var(--color-text-primary)',
|
|
25
|
+
textSecondary: 'var(--color-text-secondary)',
|
|
26
|
+
textTertiary: 'var(--color-text-tertiary)',
|
|
27
|
+
borderPrimary: 'var(--color-border-primary)',
|
|
28
|
+
borderPrimaryHover: 'var(--color-border-primary-hover)',
|
|
29
|
+
borderFocused: 'var(--color-border-focused)',
|
|
30
|
+
borderError: 'var(--color-border-error)',
|
|
31
|
+
iconAccent: 'var(--color-icon-accent)',
|
|
32
|
+
iconContrast: 'var(--color-icon-contrast)',
|
|
33
|
+
iconPrimary: 'var(--color-icon-primary)',
|
|
34
|
+
iconSecondary: 'var(--color-icon-secondary)',
|
|
35
|
+
iconNegative: 'var(--color-icon-negative)',
|
|
36
|
+
iconTransparentPressed: 'var(--color-icon-transparent-pressed)',
|
|
37
|
+
bgAccent: 'var(--color-bg-accent)',
|
|
38
|
+
bgAccentHover: 'var(--color-bg-accent-hover)',
|
|
39
|
+
bgAccentPressed: 'var(--color-bg-accent-pressed)',
|
|
40
|
+
bgPopUp: 'var(--color-bg-pop-up)',
|
|
41
|
+
bgElementOnTop: 'var(--color-bg-element-on-top)',
|
|
42
|
+
bgElementOnTopHover: 'var(--color-bg-element-on-top-hover)',
|
|
43
|
+
bgElementOnTopPressed: 'var(--color-bg-element-on-top-pressed)',
|
|
44
|
+
bgPrimary: 'var(--color-bg-primary)',
|
|
45
|
+
bgPrimarySelected: 'var(--color-bg-primary-selected)',
|
|
46
|
+
bgLightTransparent: 'var(--color-bg-light-transparent)',
|
|
47
|
+
colorBgBlackoutTransparent: 'var(--color-bg-blackout-transparent)',
|
|
48
|
+
chip: 'var(--color-chip)',
|
|
49
|
+
buttonPrimary: 'var(--color-button-primary)',
|
|
50
|
+
buttonPrimaryHover: 'var(--color-button-primary-hover)',
|
|
51
|
+
buttonPrimaryPressed: 'var(--color-button-primary-pressed)',
|
|
52
|
+
scrollbarThumb: 'var(--color-scrollbar-thumb)',
|
|
53
|
+
mShadowClick: 'var(--m-shadow-click)',
|
|
54
|
+
};
|
|
55
|
+
export var INPUT_TYPE_PASSWORD = 'password';
|
|
56
|
+
export var INPUT_TYPE_TEXT = 'text';
|
|
57
|
+
export var INPUT_TYPE_NUMBER = 'number';
|
|
58
|
+
export var DEFAULT_INPUT_PADDING = 12;
|
|
59
|
+
export var AFFIX_INPUT_PH = 20;
|
|
60
|
+
export var ADDITIONAL_INPUT_PR = 18;
|
|
61
|
+
export var ENTER_KEY = 'Enter';
|
|
62
|
+
export var BACKSPACE_KEY = 'Backspace';
|
|
63
|
+
export var SPACE_KEY = 'Space';
|
|
64
|
+
export var ADDITIONAL_MAX_CHARACTERS = 4;
|
|
65
|
+
export var FONT_SIZE;
|
|
66
|
+
(function (FONT_SIZE) {
|
|
67
|
+
FONT_SIZE["small"] = "14px";
|
|
68
|
+
FONT_SIZE["default"] = "16px";
|
|
69
|
+
FONT_SIZE["large"] = "22px";
|
|
70
|
+
})(FONT_SIZE || (FONT_SIZE = {}));
|
|
71
|
+
export var DEFAULT_FONT_SCALE = 1;
|
|
72
|
+
export var FONT_SCALE_CSS_VARIABLE = '--font-scale';
|
|
73
|
+
export var LINE_HEIGHT;
|
|
74
|
+
(function (LINE_HEIGHT) {
|
|
75
|
+
LINE_HEIGHT["small"] = "19px";
|
|
76
|
+
LINE_HEIGHT["default"] = "22px";
|
|
77
|
+
LINE_HEIGHT["large"] = "30px";
|
|
78
|
+
})(LINE_HEIGHT || (LINE_HEIGHT = {}));
|
|
79
|
+
export var TITLE_SIZE;
|
|
80
|
+
(function (TITLE_SIZE) {
|
|
81
|
+
TITLE_SIZE["small"] = "small";
|
|
82
|
+
TITLE_SIZE["major"] = "major";
|
|
83
|
+
})(TITLE_SIZE || (TITLE_SIZE = {}));
|
|
84
|
+
export var PLATFORM;
|
|
85
|
+
(function (PLATFORM) {
|
|
86
|
+
PLATFORM["web"] = "web";
|
|
87
|
+
PLATFORM["ios"] = "ios";
|
|
88
|
+
PLATFORM["android"] = "android";
|
|
89
|
+
PLATFORM["aurora"] = "aurora";
|
|
90
|
+
})(PLATFORM || (PLATFORM = {}));
|
|
91
|
+
export var THEME;
|
|
92
|
+
(function (THEME) {
|
|
93
|
+
THEME["default"] = "default";
|
|
94
|
+
THEME["dark"] = "dark";
|
|
95
|
+
})(THEME || (THEME = {}));
|
|
96
|
+
export var FONT_FAMILY;
|
|
97
|
+
(function (FONT_FAMILY) {
|
|
98
|
+
FONT_FAMILY["openSans"] = "Open Sans";
|
|
99
|
+
FONT_FAMILY["caveat"] = "Caveat";
|
|
100
|
+
FONT_FAMILY["oswald"] = "Oswald";
|
|
101
|
+
FONT_FAMILY["roboto"] = "Roboto";
|
|
102
|
+
FONT_FAMILY["onest"] = "Onest";
|
|
103
|
+
FONT_FAMILY["inter"] = "Inter";
|
|
104
|
+
})(FONT_FAMILY || (FONT_FAMILY = {}));
|
|
105
|
+
export var CANCEL_ACTION_TEXT = 'Отменить';
|
|
106
|
+
export var NUMBER_OF_STORIES_FOR_ROUND_INDICATORS = 5;
|
|
107
|
+
export var MIN_TEXTAREA_HEIGHT = 24;
|
|
108
|
+
export var DEFAULT_MIN_TEXTAREA_HEIGHT = 76;
|
|
109
|
+
export var CONTEXT_MENU_SAFE_SPACE = 15;
|
|
110
|
+
export var WEB_NOTIFICATION_DISTANCE_FROM_BOTTOM = 24;
|
|
111
|
+
export var MOBILE_NOTIFICATION_DISTANCE_FROM_BOTTOM = 40;
|
|
112
|
+
export var DEFAULT_HEADER_AVATAR_INDEX = 4;
|
|
113
|
+
export var AVATAR_DEGREES = [180, 178.34, 180, 180, 180, 180];
|
|
114
|
+
export var AVATAR_COLOR_TOP = ['#FBDA43', '#FFA285', '#FF92D3', '#ACB3FF', '#D39FFF', '#94CBFF'];
|
|
115
|
+
export var AVATAR_COLOR_TOP_PERCENTS = [-18.75, -3.03, 0, 0, -8.04, -8.04];
|
|
116
|
+
export var AVATAR_COLOR_MIDDLE = [null, '#FC6B6B', null, null, null, null];
|
|
117
|
+
export var AVATAR_COLOR_MIDDLE_PERCENTS = [null, 65.88, null, null, null, null];
|
|
118
|
+
export var AVATAR_COLOR_BOTTOM = ['#F57953', '#F446B2', '#E54799', '#706AE6', '#9140D9', '#2463EA'];
|
|
119
|
+
export var AVATAR_COLOR_BOTTOM_PERCENTS = [108.93, 116.81, 120.91, 100, 112.5, 112.5];
|
|
120
|
+
export var MAX_NUMBER_OF_CHARACTERS_IN_INITIALS = 2;
|
|
121
|
+
export var FULL_HEIGHT_BOTTOM_SHEET_TOP_MARGIN = 24;
|
|
122
|
+
export var LAYOUT_TYPE;
|
|
123
|
+
(function (LAYOUT_TYPE) {
|
|
124
|
+
LAYOUT_TYPE["minimal"] = "minimal";
|
|
125
|
+
LAYOUT_TYPE["half"] = "half";
|
|
126
|
+
LAYOUT_TYPE["full"] = "full";
|
|
127
|
+
})(LAYOUT_TYPE || (LAYOUT_TYPE = {}));
|
|
128
|
+
export var VIEWPORTS;
|
|
129
|
+
(function (VIEWPORTS) {
|
|
130
|
+
VIEWPORTS["webCollapsed"] = "webCollapsed";
|
|
131
|
+
VIEWPORTS["webExpanded"] = "webExpanded";
|
|
132
|
+
VIEWPORTS["iphone6"] = "iphone6";
|
|
133
|
+
VIEWPORTS["iphone12"] = "iphone12";
|
|
134
|
+
VIEWPORTS["galaxys5"] = "galaxys5";
|
|
135
|
+
VIEWPORTS["reset"] = "reset";
|
|
136
|
+
})(VIEWPORTS || (VIEWPORTS = {}));
|
|
137
|
+
export var INPUT_FIELD_TYPE;
|
|
138
|
+
(function (INPUT_FIELD_TYPE) {
|
|
139
|
+
INPUT_FIELD_TYPE["text"] = "text";
|
|
140
|
+
INPUT_FIELD_TYPE["search"] = "search";
|
|
141
|
+
})(INPUT_FIELD_TYPE || (INPUT_FIELD_TYPE = {}));
|
|
142
|
+
export var MENU_POSITIONS;
|
|
143
|
+
(function (MENU_POSITIONS) {
|
|
144
|
+
MENU_POSITIONS["bottom"] = "bottom";
|
|
145
|
+
MENU_POSITIONS["auto"] = "auto";
|
|
146
|
+
MENU_POSITIONS["top"] = "top";
|
|
147
|
+
})(MENU_POSITIONS || (MENU_POSITIONS = {}));
|
|
148
|
+
export var MENU_LOCATION;
|
|
149
|
+
(function (MENU_LOCATION) {
|
|
150
|
+
MENU_LOCATION["absolute"] = "absolute";
|
|
151
|
+
MENU_LOCATION["fixed"] = "fixed";
|
|
152
|
+
})(MENU_LOCATION || (MENU_LOCATION = {}));
|
|
153
|
+
export var CREATABLE_MENU_LIST_MAX_HEIGHT = 248;
|
|
154
|
+
export var MENU_LIST_MAX_HEIGHT = 292;
|
|
155
|
+
export var DEFAULT_SCROLL_BAR_HIDE_DURATION = 2000;
|
|
156
|
+
export var DEFAULT_SCROLL_BAR_MARGIN = 0;
|
|
157
|
+
export var LANGUAGES;
|
|
158
|
+
(function (LANGUAGES) {
|
|
159
|
+
LANGUAGES["ru"] = "ru";
|
|
160
|
+
LANGUAGES["en"] = "en";
|
|
161
|
+
LANGUAGES["de"] = "de";
|
|
162
|
+
LANGUAGES["es"] = "es";
|
|
163
|
+
LANGUAGES["fr"] = "fr";
|
|
164
|
+
LANGUAGES["ar"] = "ar";
|
|
165
|
+
LANGUAGES["ms"] = "ms";
|
|
166
|
+
LANGUAGES["tr"] = "tr";
|
|
167
|
+
LANGUAGES["id"] = "id";
|
|
168
|
+
LANGUAGES["uz"] = "uz";
|
|
169
|
+
LANGUAGES["kk"] = "kk";
|
|
170
|
+
})(LANGUAGES || (LANGUAGES = {}));
|
|
171
|
+
export var HEADER_COLOR_BG;
|
|
172
|
+
(function (HEADER_COLOR_BG) {
|
|
173
|
+
HEADER_COLOR_BG["grey"] = "grey";
|
|
174
|
+
HEADER_COLOR_BG["blue"] = "blue";
|
|
175
|
+
})(HEADER_COLOR_BG || (HEADER_COLOR_BG = {}));
|
|
176
|
+
export var MODAL_BUTTONS_DIRECTION;
|
|
177
|
+
(function (MODAL_BUTTONS_DIRECTION) {
|
|
178
|
+
MODAL_BUTTONS_DIRECTION["row"] = "row";
|
|
179
|
+
MODAL_BUTTONS_DIRECTION["column"] = "column";
|
|
180
|
+
})(MODAL_BUTTONS_DIRECTION || (MODAL_BUTTONS_DIRECTION = {}));
|
|
181
|
+
export var THEME_ARRAY = Object.keys(THEME);
|
|
182
|
+
export var PLATFORM_ARRAY = Object.keys(PLATFORM);
|
|
183
|
+
export var LAYOUT_TYPE_ARRAY = Object.keys(LAYOUT_TYPE);
|
|
184
|
+
export var MODAL_BUTTONS_DIRECTION_ARRAY = Object.keys(MODAL_BUTTONS_DIRECTION);
|
|
185
|
+
export var WIDTH_TYPE_SUMMARY = '1 | 2 | 3 | 4 | 5 | ... | 100';
|
|
186
|
+
export var STYLES_TYPE_DETAIL = 'type TStyles = { [key: string]: number | string }';
|
|
187
|
+
export var AVATAR_TYPE_SUMMARY = 'ReactElement | string | null';
|
|
188
|
+
export var USER_TYPE_DETAILS = 'My contact | GAL contact | Private DL | Public DL | Meeting room | Room list';
|
|
189
|
+
export var CENTER = 'center';
|
|
190
|
+
export var BOTTOM_SHEET = 'bottom-sheet';
|
|
191
|
+
export var DIRECTION = 'direction';
|
|
192
|
+
export var ROW = 'row';
|
|
193
|
+
export var EVENT_LISTENER_TYPES;
|
|
194
|
+
(function (EVENT_LISTENER_TYPES) {
|
|
195
|
+
EVENT_LISTENER_TYPES["mouseup"] = "mouseup";
|
|
196
|
+
EVENT_LISTENER_TYPES["mousedown"] = "mousedown";
|
|
197
|
+
EVENT_LISTENER_TYPES["click"] = "click";
|
|
198
|
+
EVENT_LISTENER_TYPES["pointerup"] = "pointerup";
|
|
199
|
+
EVENT_LISTENER_TYPES["touchend"] = "touchend";
|
|
200
|
+
EVENT_LISTENER_TYPES["touchcancel"] = "touchcancel";
|
|
201
|
+
EVENT_LISTENER_TYPES["blur"] = "blur";
|
|
202
|
+
EVENT_LISTENER_TYPES["visibilityChange"] = "visibilitychange";
|
|
203
|
+
EVENT_LISTENER_TYPES["resize"] = "resize";
|
|
204
|
+
EVENT_LISTENER_TYPES["focus"] = "focus";
|
|
205
|
+
EVENT_LISTENER_TYPES["scroll"] = "scroll";
|
|
206
|
+
EVENT_LISTENER_TYPES["focusIn"] = "focusin";
|
|
207
|
+
EVENT_LISTENER_TYPES["focusOut"] = "focusout";
|
|
208
|
+
})(EVENT_LISTENER_TYPES || (EVENT_LISTENER_TYPES = {}));
|
|
209
|
+
export var POPUP_ON_EVENT_TYPE;
|
|
210
|
+
(function (POPUP_ON_EVENT_TYPE) {
|
|
211
|
+
POPUP_ON_EVENT_TYPE["hover"] = "hover";
|
|
212
|
+
})(POPUP_ON_EVENT_TYPE || (POPUP_ON_EVENT_TYPE = {}));
|
|
213
|
+
export var SPACE = ' ';
|
|
214
|
+
export var FIT_CONTENT = 'fit-content';
|
|
215
|
+
export var POPUP_VERTICAL_POSITION;
|
|
216
|
+
(function (POPUP_VERTICAL_POSITION) {
|
|
217
|
+
POPUP_VERTICAL_POSITION["bottom"] = "bottom";
|
|
218
|
+
POPUP_VERTICAL_POSITION["top"] = "top";
|
|
219
|
+
})(POPUP_VERTICAL_POSITION || (POPUP_VERTICAL_POSITION = {}));
|
|
220
|
+
export var FILE_FORMATS;
|
|
221
|
+
(function (FILE_FORMATS) {
|
|
222
|
+
FILE_FORMATS["pdf"] = "pdf";
|
|
223
|
+
FILE_FORMATS["doc"] = "doc";
|
|
224
|
+
FILE_FORMATS["docx"] = "docx";
|
|
225
|
+
FILE_FORMATS["xls"] = "xls";
|
|
226
|
+
FILE_FORMATS["xlsx"] = "xlsx";
|
|
227
|
+
FILE_FORMATS["ppt"] = "ppt";
|
|
228
|
+
FILE_FORMATS["pptx"] = "pptx";
|
|
229
|
+
FILE_FORMATS["txt"] = "txt";
|
|
230
|
+
FILE_FORMATS["file"] = "file";
|
|
231
|
+
FILE_FORMATS["mov"] = "mov";
|
|
232
|
+
FILE_FORMATS["mp4"] = "mp4";
|
|
233
|
+
FILE_FORMATS["webm"] = "webm";
|
|
234
|
+
FILE_FORMATS["wmv"] = "wmv";
|
|
235
|
+
FILE_FORMATS["jpeg"] = "jpeg";
|
|
236
|
+
FILE_FORMATS["jpg"] = "jpg";
|
|
237
|
+
FILE_FORMATS["png"] = "png";
|
|
238
|
+
})(FILE_FORMATS || (FILE_FORMATS = {}));
|
|
239
|
+
export var VIDEO_FORMATS = [FILE_FORMATS.mov, FILE_FORMATS.mp4, FILE_FORMATS.webm, FILE_FORMATS.wmv];
|
|
240
|
+
export var MODAL_ICONS_PADDING_LEFT = 16;
|
|
241
|
+
export var DRAGGABLE_KEY = 'handle';
|
|
242
|
+
export var BUTTON = 'button';
|
|
243
|
+
export var INPUT_CHAR_HINT = (_a = {},
|
|
244
|
+
_a[LANGUAGES.ru] = 'Запрос должен содержать не менее 3-х символов',
|
|
245
|
+
_a[LANGUAGES.en] = 'The query must contain at least 3 characters',
|
|
246
|
+
_a[LANGUAGES.de] = 'Die Anfrage muss mindestens 3 Zeichen enthalten',
|
|
247
|
+
_a[LANGUAGES.es] = 'La consulta debe contener al menos 3 caracteres',
|
|
248
|
+
_a[LANGUAGES.fr] = 'Il faut au moins 3 caractères pour la recherche',
|
|
249
|
+
_a[LANGUAGES.ar] = 'الاستفسار يجب أن يحتوي على 3 حروف على الأقل',
|
|
250
|
+
_a[LANGUAGES.ms] = 'Pertanyaan harus mengandungi sekurang-kurangnya 3 aksara',
|
|
251
|
+
_a[LANGUAGES.tr] = 'Sorgu en az 3 karakter içermelidir',
|
|
252
|
+
_a[LANGUAGES.id] = 'Kueri harus berisi minimal 3 karakter',
|
|
253
|
+
_a[LANGUAGES.uz] = 'So‘rov kamida 3 ta belgi bo‘lishi kerak',
|
|
254
|
+
_a[LANGUAGES.kk] = 'Сұрау кемінде 3 таңбадан тұруы керек',
|
|
255
|
+
_a);
|
|
256
|
+
export var USER_DROPDOWN_CHAR_HINT = (_b = {},
|
|
257
|
+
_b[LANGUAGES.ru] = 'Для поиска введите не менее 3-х символов',
|
|
258
|
+
_b[LANGUAGES.en] = 'Enter at least 3 characters to search',
|
|
259
|
+
_b[LANGUAGES.de] = 'Für die Suche mind. 3 Zeichen eingeben',
|
|
260
|
+
_b[LANGUAGES.es] = 'Ingresa al menos 3 caracteres',
|
|
261
|
+
_b[LANGUAGES.fr] = 'Saisissez min. 3 caractères',
|
|
262
|
+
_b[LANGUAGES.ar] = 'أدخل 3 أحرف على الأقل للبحث',
|
|
263
|
+
_b[LANGUAGES.ms] = 'Masukkan minimum 3 aksara',
|
|
264
|
+
_b[LANGUAGES.tr] = 'En az 3 karakter girin',
|
|
265
|
+
_b[LANGUAGES.id] = 'Masukkan minimal 3 karakter',
|
|
266
|
+
_b[LANGUAGES.uz] = 'Kamida 3 ta belgi kiriting',
|
|
267
|
+
_b[LANGUAGES.kk] = 'Іздеу үшін кемінде 3 таңба енгізіңіз',
|
|
268
|
+
_b);
|
|
269
|
+
export var SEARCH_PLACEHOLDER = (_c = {},
|
|
270
|
+
_c[LANGUAGES.ru] = 'Поиск от 3-х символов',
|
|
271
|
+
_c[LANGUAGES.en] = 'Search from 3 characters',
|
|
272
|
+
_c[LANGUAGES.de] = 'Suche ab 3 Zeichen',
|
|
273
|
+
_c[LANGUAGES.es] = 'Buscar con al menos 3 caracteres',
|
|
274
|
+
_c[LANGUAGES.fr] = 'Recherche à partir de 3 caractères',
|
|
275
|
+
_c[LANGUAGES.ar] = 'بحث من أول 3 أحرف',
|
|
276
|
+
_c[LANGUAGES.ms] = 'Cari daripada 3 aksara',
|
|
277
|
+
_c[LANGUAGES.tr] = '3 karakterden arama',
|
|
278
|
+
_c[LANGUAGES.id] = 'Cari dari 3 karakter',
|
|
279
|
+
_c[LANGUAGES.uz] = 'Qidirish (3 ta belgidan boshlab)',
|
|
280
|
+
_c[LANGUAGES.kk] = 'Іздеу үшін кемінде 3 таңба керек',
|
|
281
|
+
_c);
|
|
282
|
+
export var MIN_INPUT_SYMBOLS = 3;
|
|
283
|
+
export var SMARTAPP_MODAL_ID = 'SMARTAPP_MODAL';
|
|
284
|
+
export var EMAIL_FIELD = 'email';
|
|
285
|
+
export var OVERLAYS = 'overlays';
|
|
286
|
+
export var RENDER_DELAY = 50;
|
|
287
|
+
export var PERSISTENT_POSITION_FULLSCREEN;
|
|
288
|
+
(function (PERSISTENT_POSITION_FULLSCREEN) {
|
|
289
|
+
PERSISTENT_POSITION_FULLSCREEN["right"] = "right";
|
|
290
|
+
PERSISTENT_POSITION_FULLSCREEN["left"] = "left";
|
|
291
|
+
})(PERSISTENT_POSITION_FULLSCREEN || (PERSISTENT_POSITION_FULLSCREEN = {}));
|
|
292
|
+
export var BOTTOM_SHEET_SCROLL_POSITION;
|
|
293
|
+
(function (BOTTOM_SHEET_SCROLL_POSITION) {
|
|
294
|
+
BOTTOM_SHEET_SCROLL_POSITION["top"] = "top";
|
|
295
|
+
BOTTOM_SHEET_SCROLL_POSITION["bottom"] = "bottom";
|
|
296
|
+
})(BOTTOM_SHEET_SCROLL_POSITION || (BOTTOM_SHEET_SCROLL_POSITION = {}));
|
|
297
|
+
export var ENTER_KEY_HINT;
|
|
298
|
+
(function (ENTER_KEY_HINT) {
|
|
299
|
+
ENTER_KEY_HINT["done"] = "done";
|
|
300
|
+
ENTER_KEY_HINT["enter"] = "enter";
|
|
301
|
+
})(ENTER_KEY_HINT || (ENTER_KEY_HINT = {}));
|
|
302
|
+
export var EMPTY_STRING = '';
|
|
303
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/constants/constants.ts"],"names":[],"mappings":";AAEA,MAAM,CAAC,IAAM,MAAM,GAAG;IACpB,WAAW,EAAE,WAAW;IACxB,SAAS,EAAE,SAAS;IACpB,IAAI,EAAE,SAAS;IACf,QAAQ,EAAE,SAAS;IACnB,UAAU,EAAE,SAAS;IACrB,WAAW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,4BAA4B;IACtC,2CAAW,CAAA;IACX,iDAAiB,CAAA;AACnB,CAAC,EAHW,4BAA4B,KAA5B,4BAA4B,QAGvC;AAED,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,+BAAa,CAAA;IACb,iCAAe,CAAA;AACjB,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB;AAED,MAAM,CAAC,IAAM,YAAY,GAAG,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { ReactElement, RefObject } from 'react';
|
|
3
|
+
import { MouseEvent, TouchEvent } from 'react';
|
|
4
|
+
import { CONTACT_TYPES } from '../сomponents/UserDropdown/constants';
|
|
5
|
+
export type TStyles = {
|
|
6
|
+
[key: string]: number | string;
|
|
7
|
+
};
|
|
8
|
+
export interface IThemeProps {
|
|
9
|
+
theme?: 'default' | 'dark';
|
|
10
|
+
}
|
|
11
|
+
export interface IPlatformProps {
|
|
12
|
+
platform?: 'web' | 'ios' | 'android' | 'aurora';
|
|
13
|
+
}
|
|
14
|
+
export interface ILayoutTypeProps {
|
|
15
|
+
layoutType?: 'minimal' | 'half' | 'full';
|
|
16
|
+
}
|
|
17
|
+
export interface ILanguageProps {
|
|
18
|
+
language?: 'ru' | 'en' | 'de' | 'es' | 'fr' | 'ar' | 'ms' | 'tr' | 'id' | 'uz' | 'kk';
|
|
19
|
+
}
|
|
20
|
+
export interface IFontFamilyProps {
|
|
21
|
+
fontFamily?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface ICommonProps extends IThemeProps, IPlatformProps {
|
|
24
|
+
}
|
|
25
|
+
export type TCalculatePercentageOfValue = {
|
|
26
|
+
value: number;
|
|
27
|
+
percentage: number;
|
|
28
|
+
shouldBeRounded?: boolean;
|
|
29
|
+
};
|
|
30
|
+
export type TGenerateClassNames = {
|
|
31
|
+
className: string;
|
|
32
|
+
delimiter: string;
|
|
33
|
+
additionalClassName: string | string[];
|
|
34
|
+
};
|
|
35
|
+
export type TTextWithLocale = {
|
|
36
|
+
[key: string]: string;
|
|
37
|
+
};
|
|
38
|
+
export type TTimeout = number | NodeJS.Timeout | undefined;
|
|
39
|
+
export type TNodejsTimeout = NodeJS.Timeout | null;
|
|
40
|
+
export type TRenderStoryComponent = {
|
|
41
|
+
component: ReactElement;
|
|
42
|
+
componentDarkTheme?: ReactElement;
|
|
43
|
+
styles?: TStyles;
|
|
44
|
+
};
|
|
45
|
+
export type TTarget = {
|
|
46
|
+
target: any;
|
|
47
|
+
stopPropagation(): void;
|
|
48
|
+
};
|
|
49
|
+
export type TFontFamilyStyle = {
|
|
50
|
+
fontFamily: string;
|
|
51
|
+
};
|
|
52
|
+
export type TRenderCloseIconSpace = {
|
|
53
|
+
elementRef: RefObject<HTMLElement | null>;
|
|
54
|
+
closeIconRef: RefObject<HTMLDivElement | null>;
|
|
55
|
+
isContent?: boolean;
|
|
56
|
+
};
|
|
57
|
+
export type TRenderUserIcon = {
|
|
58
|
+
isMyContacts?: boolean;
|
|
59
|
+
isLocalContact?: boolean;
|
|
60
|
+
isCachedContact?: boolean;
|
|
61
|
+
userType?: CONTACT_TYPES;
|
|
62
|
+
style?: TStyles;
|
|
63
|
+
};
|
|
64
|
+
export type TCoords = {
|
|
65
|
+
x: number;
|
|
66
|
+
y: number;
|
|
67
|
+
};
|
|
68
|
+
export type TClickEvent = MouseEvent | TouchEvent;
|
|
69
|
+
export type TAvatar = ReactElement | string | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/constants/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { isFinite, isUndefined } from 'lodash';
|
|
2
|
+
import { DEFAULT_FONT_SCALE, FONT_SCALE_CSS_VARIABLE } from '../constants';
|
|
3
|
+
// Тут забираем значение fontScale, чтобы использовать его в коде
|
|
4
|
+
export var getFontScale = function () {
|
|
5
|
+
if (isUndefined(globalThis.document))
|
|
6
|
+
return DEFAULT_FONT_SCALE;
|
|
7
|
+
var fontScale = Number(globalThis.getComputedStyle(globalThis.document.documentElement).getPropertyValue(FONT_SCALE_CSS_VARIABLE).trim());
|
|
8
|
+
return isFinite(fontScale) && fontScale > 0 ? fontScale : DEFAULT_FONT_SCALE;
|
|
9
|
+
};
|
|
10
|
+
export var generateScaledCssValue = function (value) {
|
|
11
|
+
return "calc(".concat(value, " * var(").concat(FONT_SCALE_CSS_VARIABLE, ", ").concat(DEFAULT_FONT_SCALE, "))");
|
|
12
|
+
};
|
|
13
|
+
export var generateScaledFontValue = function (value, fontScale) {
|
|
14
|
+
if (fontScale === void 0) { fontScale = getFontScale(); }
|
|
15
|
+
return value * fontScale;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=fontScale.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fontScale.js","sourceRoot":"","sources":["../../../src/helpers/fontScale.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AAC9C,OAAO,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAA;AAE1E,iEAAiE;AACjE,MAAM,CAAC,IAAM,YAAY,GAAG;IAC1B,IAAI,WAAW,CAAC,UAAU,CAAC,QAAQ,CAAC;QAAE,OAAO,kBAAkB,CAAA;IAE/D,IAAM,SAAS,GAAG,MAAM,CAAC,UAAU,CAAC,gBAAgB,CAAC,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC,gBAAgB,CAAC,uBAAuB,CAAC,CAAC,IAAI,EAAE,CAAC,CAAA;IAE3I,OAAO,QAAQ,CAAC,SAAS,CAAC,IAAI,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,kBAAkB,CAAA;AAC9E,CAAC,CAAA;AAED,MAAM,CAAC,IAAM,sBAAsB,GAAG,UAAC,KAAa;IAClD,OAAA,eAAQ,KAAK,oBAAU,uBAAuB,eAAK,kBAAkB,OAAI;AAAzE,CAAyE,CAAA;AAE3E,MAAM,CAAC,IAAM,uBAAuB,GAAG,UAAC,KAAa,EAAE,SAAkC;IAAlC,0BAAA,EAAA,YAAoB,YAAY,EAAE;IAAK,OAAA,KAAK,GAAG,SAAS;AAAjB,CAAiB,CAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
import { TCalculatePercentageOfValue, TGenerateClassNames, TRenderCloseIconSpace, TRenderStoryComponent, TRenderUserIcon } from '../constants';
|
|
3
|
+
import { CONTACT_TYPES } from '../сomponents/UserDropdown/constants';
|
|
4
|
+
export { getFontScale, generateScaledCssValue, generateScaledFontValue } from './fontScale';
|
|
5
|
+
export declare const generateColor: (color?: string, defaultColor?: string) => string;
|
|
6
|
+
export declare const checkIsWebPlatform: (platform: string) => boolean;
|
|
7
|
+
export declare const checkIsIosPlatform: (platform: string) => boolean;
|
|
8
|
+
export declare const checkIsAndroidPlatform: (platform: string) => boolean;
|
|
9
|
+
export declare const checkIsMobilePlatform: (platform: string) => boolean;
|
|
10
|
+
export declare const isDarkTheme: (theme?: string) => boolean;
|
|
11
|
+
export declare const generateClassNames: ({ className, delimiter, additionalClassName }: TGenerateClassNames) => string;
|
|
12
|
+
export declare const userNameToColor: (userName?: string) => string;
|
|
13
|
+
export declare const createInitials: (str: string) => string;
|
|
14
|
+
export declare const calculatePercentageOfValue: ({ value, percentage, shouldBeRounded }: TCalculatePercentageOfValue) => number;
|
|
15
|
+
export declare const isFullScreen: (layoutType: string) => boolean;
|
|
16
|
+
export declare const isValueEqualToZero: (value: number) => boolean;
|
|
17
|
+
export declare const renderStoryComponent: ({ component, componentDarkTheme, styles }: TRenderStoryComponent) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare const generateIsCloseIconHidden: (platform: string, isCloseIconHidden?: boolean) => boolean;
|
|
19
|
+
export declare const checkIfContentIsCentered: (elementRef: RefObject<HTMLElement | null>) => boolean | undefined;
|
|
20
|
+
export declare const generateBottomSheetClassName: (platform: string, shouldUseBottomSheet: boolean) => string[];
|
|
21
|
+
export declare const generateId: () => string;
|
|
22
|
+
export declare const generateAvatarIcon: (userType?: CONTACT_TYPES) => import("react/jsx-runtime").JSX.Element | null;
|
|
23
|
+
export declare const renderUserIcon: ({ isMyContacts, isLocalContact, isCachedContact, userType, style }: TRenderUserIcon) => import("react/jsx-runtime").JSX.Element | null;
|
|
24
|
+
export declare const extractFileExtensionRegex: (filename: string) => string;
|
|
25
|
+
export declare const generateFileIcon: (fileName: string, displaySize: string) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare const renderCloseIconSpace: ({ elementRef, closeIconRef, isContent }: TRenderCloseIconSpace) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export declare const generateFontFamilyStyle: (fontFamily?: string) => {
|
|
28
|
+
fontFamily: string;
|
|
29
|
+
};
|
|
30
|
+
export declare const createSanitizedHtml: (str: string) => {
|
|
31
|
+
__html: string;
|
|
32
|
+
};
|
|
33
|
+
export declare const clickOutsideTheModal: (closeModal: () => void, clickOutside?: () => void) => void;
|
|
34
|
+
export declare const checkIfContactTypeIsGroup: (contactType?: CONTACT_TYPES) => boolean;
|