1mpacto-react-ui 0.2.0-beta.8 → 1.0.0
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/dist/assets/_colors.scss +80 -0
- package/dist/assets/_mixins.scss +44 -17
- package/dist/assets/_typography.scss +582 -0
- package/dist/assets/colors.css +40 -0
- package/dist/assets/core.css +1 -1
- package/dist/assets/fontfamily.css +1 -1
- package/dist/assets/fonts/PlusJakartaSans-Italic.ttf +0 -0
- package/dist/assets/fonts/PlusJakartaSans.ttf +0 -0
- package/dist/assets/icons/arrow-narrow-down.svg +3 -3
- package/dist/assets/style.css +1 -1
- package/dist/assets/toast.css +98 -194
- package/dist/assets/typography.css +96 -0
- package/dist/index.cjs +147 -144
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +27706 -27060
- package/dist/package.json.d.ts +131 -132
- package/dist/src/components/Alert/index.d.ts +1 -0
- package/dist/src/components/Badges/Badges.config.d.ts +57 -0
- package/dist/src/components/Badges/Badges.d.ts +1 -0
- package/dist/src/components/Badges/Badges.stories.d.ts +117 -2
- package/dist/src/components/Breadcrumbs/Breadcrumbs.config.d.ts +113 -0
- package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +2 -1
- package/dist/src/components/Breadcrumbs/Breadcrumbs.stories.d.ts +221 -6
- package/dist/src/components/Button/Button.config.d.ts +70 -0
- package/dist/src/components/Button/Button.d.ts +1 -0
- package/dist/src/components/Button/Button.stories.d.ts +129 -4
- package/dist/src/components/ButtonIcon/ButtonIcon.config.d.ts +53 -0
- package/dist/src/components/ButtonIcon/ButtonIcon.d.ts +1 -0
- package/dist/src/components/ButtonIcon/ButtonIcon.stories.d.ts +123 -4
- package/dist/src/components/ButtonPopover/ButtonPopover.d.ts +1 -0
- package/dist/src/components/ButtonPopover/ButtonPopover.stories.d.ts +258 -2
- package/dist/src/components/Calendar/Calendar.d.ts +3 -1
- package/dist/src/components/Calendar/Calendar.stories.d.ts +283 -2
- package/dist/src/components/Calendar/CalendarButton.d.ts +1 -0
- package/dist/src/components/Calendar/CalendarCell.d.ts +1 -0
- package/dist/src/components/Calendar/CalendarMonth.d.ts +1 -0
- package/dist/src/components/Calendar/CalendarRange.d.ts +1 -0
- package/dist/src/components/Calendar/CalendarYear.d.ts +1 -0
- package/dist/src/components/Chart/DoughnutChart.d.ts +1 -0
- package/dist/src/components/Chart/GradientBarChart.d.ts +1 -0
- package/dist/src/components/Chart/GradientBarChart.stories.d.ts +71 -4
- package/dist/src/components/Chart/GradientLineChart.d.ts +1 -0
- package/dist/src/components/Chart/GradientLineChart.stories.d.ts +82 -4
- package/dist/src/components/Chart/LineChart.d.ts +1 -0
- package/dist/src/components/Chart/LineChart.stories.d.ts +35 -2
- package/dist/src/components/Chips/Chips.config.d.ts +35 -0
- package/dist/src/components/Chips/Chips.d.ts +1 -0
- package/dist/src/components/Chips/Chips.stories.d.ts +137 -2
- package/dist/src/components/Collapse/Collapse.d.ts +1 -0
- package/dist/src/components/Collapse/Collapse.stories.d.ts +89 -2
- package/dist/src/components/Collapse/CollapseV2.d.ts +1 -0
- package/dist/src/components/Collapse/CollapseV2.stories.d.ts +59 -2
- package/dist/src/components/Colors/Colors.stories.d.ts +2 -1
- package/dist/src/components/DatePicker/DatePicker.d.ts +1 -0
- package/dist/src/components/DatePicker/DatePicker.stories.d.ts +221 -2
- package/dist/src/components/DatePicker/DateRangePicker.d.ts +1 -0
- package/dist/src/components/DatePicker/FilterDate.d.ts +2 -1
- package/dist/src/components/DatePicker/FilterDate.stories.d.ts +232 -3
- package/dist/src/components/DatePicker/MonthYearPicker.d.ts +1 -0
- package/dist/src/components/DatePicker/MonthYearPicker.stories.d.ts +198 -2
- package/dist/src/components/ErrorMessage/ErrorMessage.config.d.ts +8 -0
- package/dist/src/components/ErrorMessage/ErrorMessage.d.ts +1 -0
- package/dist/src/components/ErrorMessage/ErrorMessage.stories.d.ts +39 -2
- package/dist/src/components/FilterContainer/FilterContainer.d.ts +1 -0
- package/dist/src/components/FilterContainer/FilterContainer.stories.d.ts +165 -0
- package/dist/src/components/Input/InputFloatingInner.config.d.ts +9 -0
- package/dist/src/components/Input/InputFloatingInner.d.ts +1 -0
- package/dist/src/components/Input/InputFloatingInner.stories.d.ts +177 -6
- package/dist/src/components/Input/InputInnerLabel.config.d.ts +8 -0
- package/dist/src/components/Input/InputInnerLabel.d.ts +5 -0
- package/dist/src/components/Input/InputInnerLabel.stories.d.ts +205 -0
- package/dist/src/components/Input/InputNative.config.d.ts +9 -0
- package/dist/src/components/Input/InputNative.d.ts +1 -0
- package/dist/src/components/Input/InputNative.stories.d.ts +149 -5
- package/dist/src/components/Input/InputReguler.config.d.ts +9 -0
- package/dist/src/components/Input/InputReguler.d.ts +1 -0
- package/dist/src/components/Input/InputReguler.stories.d.ts +177 -6
- package/dist/src/components/Modal/ModalDialog.config.d.ts +9 -0
- package/dist/src/components/Modal/ModalDialog.d.ts +1 -0
- package/dist/src/components/Modal/ModalDialog.stories.d.ts +121 -2
- package/dist/src/components/NumberFormat/NumberFormat.d.ts +1 -0
- package/dist/src/components/NumberFormat/NumberFormat.stories.d.ts +373 -18
- package/dist/src/components/Pagination/Pagination.config.d.ts +5 -0
- package/dist/src/components/Pagination/Pagination.d.ts +2 -1
- package/dist/src/components/Pagination/Pagination.stories.d.ts +200 -3
- package/dist/src/components/Popover/Popover.d.ts +1 -0
- package/dist/src/components/Popover/Popover.stories.d.ts +216 -7
- package/dist/src/components/PortalComponent/PortalComponent.d.ts +1 -0
- package/dist/src/components/PortalComponent/PortalComponent.stories.d.ts +61 -0
- package/dist/src/components/RadioCheckbox/CheckboxTable.d.ts +1 -0
- package/dist/src/components/RadioCheckbox/RadioCheckbox.config.d.ts +41 -0
- package/dist/src/components/RadioCheckbox/RadioCheckbox.d.ts +1 -0
- package/dist/src/components/RadioCheckbox/RadioCheckbox.stories.d.ts +230 -8
- package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.config.d.ts +25 -0
- package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.d.ts +1 -0
- package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.stories.d.ts +196 -4
- package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.config.d.ts +26 -0
- package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.d.ts +2 -1
- package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.stories.d.ts +5 -4
- package/dist/src/components/SelectDropdownContainer/styleConfig.d.ts +5 -1
- package/dist/src/components/Sidebar/ItemSidebar.config.d.ts +34 -0
- package/dist/src/components/Sidebar/ItemSidebar.d.ts +1 -0
- package/dist/src/components/Sidebar/Sidebar.config.d.ts +16 -0
- package/dist/src/components/Sidebar/Sidebar.d.ts +2 -1
- package/dist/src/components/Sidebar/Sidebar.stories.d.ts +6 -5
- package/dist/src/components/Step/Step.d.ts +1 -0
- package/dist/src/components/Step/Step.stories.d.ts +135 -2
- package/dist/src/components/Step/StepIndicator.d.ts +1 -0
- package/dist/src/components/Step/StepIndicator.stories.d.ts +148 -2
- package/dist/src/components/Switch/Switch.config.d.ts +26 -0
- package/dist/src/components/Switch/Switch.d.ts +1 -0
- package/dist/src/components/Switch/Switch.stories.d.ts +128 -2
- package/dist/src/components/Table/Table.config.d.ts +5 -0
- package/dist/src/components/Table/Table.d.ts +3 -3
- package/dist/src/components/Table/Table.stories.d.ts +71 -52
- package/dist/src/components/Table/TableSubMobile.d.ts +4 -0
- package/dist/src/components/Tabs/TabPanel.d.ts +1 -0
- package/dist/src/components/Tabs/Tabs.config.d.ts +31 -0
- package/dist/src/components/Tabs/Tabs.d.ts +2 -1
- package/dist/src/components/Tabs/Tabs.stories.d.ts +220 -3
- package/dist/src/components/TextEditor/TextEditor.d.ts +1 -0
- package/dist/src/components/TextEditor/TextEditor.stories.d.ts +59 -10
- package/dist/src/components/Textarea/Textarea.config.d.ts +31 -0
- package/dist/src/components/Textarea/Textarea.d.ts +1 -0
- package/dist/src/components/Textarea/Textarea.stories.d.ts +250 -3
- package/dist/src/components/Textarea/TextareaFloatingInner.config.d.ts +6 -0
- package/dist/src/components/Textarea/TextareaFloatingInner.d.ts +1 -0
- package/dist/src/components/Textarea/TextareaFloatingInner.stories.d.ts +260 -3
- package/dist/src/components/Textarea/TextareaInnerLabel.config.d.ts +7 -0
- package/dist/src/components/Textarea/TextareaInnerLabel.d.ts +5 -0
- package/dist/src/components/Textarea/TextareaInnerLabel.stories.d.ts +259 -0
- package/dist/src/components/TimeRange/TimeRange.d.ts +4 -0
- package/dist/src/components/TimeRange/TimeRange.stories.d.ts +186 -0
- package/dist/src/components/Timeline/Timeline.d.ts +1 -0
- package/dist/src/components/Timeline/Timeline.stories.d.ts +40 -2
- package/dist/src/components/Tooltip/Tooltip.d.ts +1 -0
- package/dist/src/components/Tooltip/Tooltip.stories.d.ts +159 -2
- package/dist/src/components/TruncateComponent/TruncateComponent.d.ts +1 -0
- package/dist/src/components/TruncateComponent/TruncateComponent.stories.d.ts +106 -2
- package/dist/src/components/Typography/Typography.stories.d.ts +2 -1
- package/dist/src/components/Upload/UploadFile.d.ts +1 -0
- package/dist/src/components/Upload/UploadFile.stories.d.ts +127 -2
- package/dist/src/components/Upload/UploadImage.d.ts +2 -1
- package/dist/src/components/Upload/UploadImage.stories.d.ts +145 -3
- package/dist/src/components/Upload/UploadMultipleFile.d.ts +2 -1
- package/dist/src/components/Upload/UploadMultipleFile.stories.d.ts +190 -3
- package/dist/src/components/Virtualization/ListVirtualization.d.ts +1 -0
- package/dist/src/components/Virtualization/ListVirtualization.stories.d.ts +279 -2
- package/dist/src/components/Virtualization/TableVirtualization.d.ts +1 -0
- package/dist/src/components/Virtualization/TableVirtualization.stories.d.ts +296 -2
- package/dist/src/components/index.d.ts +16 -9
- package/dist/src/components/screens/Screens.stories.d.ts +14 -0
- package/dist/src/config/bigNumber/index.d.ts +1 -0
- package/dist/src/config/components/borderRadius.d.ts +1 -0
- package/dist/src/config/components/font.d.ts +7 -0
- package/dist/src/config/components/gap.d.ts +1 -0
- package/dist/src/config/components/tinymce.d.ts +1 -0
- package/dist/src/config/components/typography.d.ts +3 -49
- package/dist/src/config/tailwind/index.d.ts +3 -1
- package/dist/src/config/tailwind/nativeScreen.d.ts +3 -0
- package/dist/src/config/tailwind/typography.d.ts +1 -0
- package/dist/src/hooks/index.d.ts +6 -3
- package/dist/src/hooks/useCombinedResizeObserver.d.ts +1 -0
- package/dist/src/hooks/useCountdown.d.ts +6 -3
- package/dist/src/hooks/useDeepCompareEffect.d.ts +1 -0
- package/dist/src/hooks/useEventListener.d.ts +1 -0
- package/dist/src/hooks/useMasonry.d.ts +1 -0
- package/dist/src/hooks/useMergeRefs.d.ts +1 -0
- package/dist/src/hooks/useOtpInput.d.ts +43 -0
- package/dist/src/hooks/useStateRef.d.ts +1 -0
- package/dist/src/interfaces/components/Alert/index.d.ts +1 -0
- package/dist/src/interfaces/components/Badges/index.d.ts +3 -1
- package/dist/src/interfaces/components/Breadcrumbs/index.d.ts +7 -2
- package/dist/src/interfaces/components/Button/index.d.ts +3 -2
- package/dist/src/interfaces/components/ButtonIcon/index.d.ts +1 -0
- package/dist/src/interfaces/components/ButtonPopover/index.d.ts +1 -0
- package/dist/src/interfaces/components/Calendar/index.d.ts +21 -3
- package/dist/src/interfaces/components/Chart/index.d.ts +1 -0
- package/dist/src/interfaces/components/Checkbox/index.d.ts +1 -0
- package/dist/src/interfaces/components/Chips/index.d.ts +3 -1
- package/dist/src/interfaces/components/Collapse/index.d.ts +1 -0
- package/dist/src/interfaces/components/DatePicker/index.d.ts +4 -1
- package/dist/src/interfaces/components/ErrorMessage/index.d.ts +1 -1
- package/dist/src/interfaces/components/FilterContainer/index.d.ts +1 -0
- package/dist/src/interfaces/components/Input/index.d.ts +14 -0
- package/dist/src/interfaces/components/Modal/index.d.ts +1 -0
- package/dist/src/interfaces/components/NumberFormat/index.d.ts +1 -0
- package/dist/src/interfaces/components/Pagination/index.d.ts +3 -0
- package/dist/src/interfaces/components/Popover/index.d.ts +4 -1
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckbox.d.ts +4 -2
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckboxLabel.d.ts +3 -1
- package/dist/src/interfaces/components/SelectDropdownContainer/index.d.ts +2 -1
- package/dist/src/interfaces/components/Sidebar/index.d.ts +4 -1
- package/dist/src/interfaces/components/Step/index.d.ts +1 -0
- package/dist/src/interfaces/components/Switch/index.d.ts +1 -1
- package/dist/src/interfaces/components/Table/index.d.ts +39 -6
- package/dist/src/interfaces/components/Tabs/index.d.ts +7 -2
- package/dist/src/interfaces/components/TextEditor/index.d.ts +1 -0
- package/dist/src/interfaces/components/Textarea/index.d.ts +14 -0
- package/dist/src/interfaces/components/TimeRange/index.d.ts +29 -0
- package/dist/src/interfaces/components/Timeline/index.d.ts +1 -0
- package/dist/src/interfaces/components/Tooltip/index.d.ts +1 -0
- package/dist/src/interfaces/components/UploadFile/index.d.ts +4 -0
- package/dist/src/interfaces/components/Virtualization/ListVirtualization.d.ts +1 -0
- package/dist/src/interfaces/components/Virtualization/TableVirtualization.d.ts +1 -0
- package/dist/src/main.d.ts +1 -0
- package/dist/src/utils/common.d.ts +5 -4
- package/dist/src/utils/constant.d.ts +1 -0
- package/dist/tinymce/CHANGELOG.md +3785 -3785
- package/dist/tinymce/js/tinymce/langs/README.md +3 -3
- package/dist/tinymce/js/tinymce/license.md +6 -6
- package/dist/tinymce/js/tinymce/notices.txt +21 -21
- package/dist/tinymce/js/tinymce/plugins/codesample/plugin.min.js +8 -8
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ar.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ca.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/cs.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/da.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/de.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/el.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/en.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/es.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/eu.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/fa.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/fi.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/he_IL.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/hi.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/hr.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/id.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/it.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ja.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/kk.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ms.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/nl.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/pl.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ro.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ru.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/sk.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/th_TH.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/tr.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/uk.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/vi.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +86 -86
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +92 -92
- package/dist/tinymce/js/tinymce/skins/content/dark/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/content/dark/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/content/default/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/content/default/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/content/document/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/content/document/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/content/tinymce-5/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/content/tinymce-5/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/content/tinymce-5-dark/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/content/tinymce-5-dark/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/content/writer/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/content/writer/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/oxide/content.inline.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/oxide/content.inline.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/oxide/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/oxide/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/oxide/skin.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/oxide/skin.shadowdom.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.inline.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.inline.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/skin.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.inline.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.inline.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/skin.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.inline.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +1 -1
- package/dist/tinymce/js/tinymce/tinymce.d.ts +3350 -3350
- package/dist/tinymce/js/tinymce/tinymce.min.js +10 -10
- package/dist/types-external/table.d.ts +15 -12
- package/package.json +131 -132
- package/dist/index.cjs.map +0 -1
- package/dist/index.mjs.map +0 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
2
|
import { ITableVirtualization } from '../../interfaces/components/Virtualization/TableVirtualization';
|
|
3
|
+
|
|
3
4
|
declare const meta: {
|
|
4
5
|
title: string;
|
|
5
6
|
component: import('react').ForwardRefExoticComponent<ITableVirtualization & import('react').RefAttributes<import('react-virtuoso').TableVirtuosoHandle>>;
|
|
@@ -7,7 +8,300 @@ declare const meta: {
|
|
|
7
8
|
layout: string;
|
|
8
9
|
};
|
|
9
10
|
tags: string[];
|
|
10
|
-
argTypes: {
|
|
11
|
+
argTypes: {
|
|
12
|
+
totalCount: {
|
|
13
|
+
control: "number";
|
|
14
|
+
description: string;
|
|
15
|
+
table: {
|
|
16
|
+
category: string;
|
|
17
|
+
type: {
|
|
18
|
+
summary: string;
|
|
19
|
+
};
|
|
20
|
+
defaultValue: {
|
|
21
|
+
summary: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
computeItemKey: {
|
|
26
|
+
type: "function";
|
|
27
|
+
description: string;
|
|
28
|
+
table: {
|
|
29
|
+
category: string;
|
|
30
|
+
type: {
|
|
31
|
+
summary: string;
|
|
32
|
+
};
|
|
33
|
+
defaultValue: {
|
|
34
|
+
summary: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
context: {
|
|
39
|
+
control: "object";
|
|
40
|
+
description: string;
|
|
41
|
+
table: {
|
|
42
|
+
category: string;
|
|
43
|
+
type: {
|
|
44
|
+
summary: string;
|
|
45
|
+
};
|
|
46
|
+
defaultValue: {
|
|
47
|
+
summary: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
classNameContainer: {
|
|
52
|
+
control: "text";
|
|
53
|
+
description: string;
|
|
54
|
+
table: {
|
|
55
|
+
category: string;
|
|
56
|
+
type: {
|
|
57
|
+
summary: string;
|
|
58
|
+
};
|
|
59
|
+
defaultValue: {
|
|
60
|
+
summary: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
typeHight: {
|
|
65
|
+
control: {
|
|
66
|
+
type: "select";
|
|
67
|
+
};
|
|
68
|
+
options: string[];
|
|
69
|
+
description: string;
|
|
70
|
+
table: {
|
|
71
|
+
category: string;
|
|
72
|
+
type: {
|
|
73
|
+
summary: string;
|
|
74
|
+
};
|
|
75
|
+
defaultValue: {
|
|
76
|
+
summary: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
typeCalculateItemSize: {
|
|
81
|
+
control: {
|
|
82
|
+
type: "select";
|
|
83
|
+
};
|
|
84
|
+
options: string[];
|
|
85
|
+
description: string;
|
|
86
|
+
table: {
|
|
87
|
+
category: string;
|
|
88
|
+
type: {
|
|
89
|
+
summary: string;
|
|
90
|
+
};
|
|
91
|
+
defaultValue: {
|
|
92
|
+
summary: string;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
itemSize: {
|
|
97
|
+
type: "function";
|
|
98
|
+
description: string;
|
|
99
|
+
table: {
|
|
100
|
+
category: string;
|
|
101
|
+
type: {
|
|
102
|
+
summary: string;
|
|
103
|
+
};
|
|
104
|
+
defaultValue: {
|
|
105
|
+
summary: string;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
itemSizeNames: {
|
|
110
|
+
control: "object";
|
|
111
|
+
description: string;
|
|
112
|
+
table: {
|
|
113
|
+
category: string;
|
|
114
|
+
type: {
|
|
115
|
+
summary: string;
|
|
116
|
+
};
|
|
117
|
+
defaultValue: {
|
|
118
|
+
summary: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
minHeightItem: {
|
|
123
|
+
control: "number";
|
|
124
|
+
description: string;
|
|
125
|
+
table: {
|
|
126
|
+
category: string;
|
|
127
|
+
type: {
|
|
128
|
+
summary: string;
|
|
129
|
+
};
|
|
130
|
+
defaultValue: {
|
|
131
|
+
summary: string;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
maxHeightTable: {
|
|
136
|
+
control: "number";
|
|
137
|
+
description: string;
|
|
138
|
+
table: {
|
|
139
|
+
category: string;
|
|
140
|
+
type: {
|
|
141
|
+
summary: string;
|
|
142
|
+
};
|
|
143
|
+
defaultValue: {
|
|
144
|
+
summary: string;
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
minLengthItem: {
|
|
149
|
+
control: "number";
|
|
150
|
+
description: string;
|
|
151
|
+
table: {
|
|
152
|
+
category: string;
|
|
153
|
+
type: {
|
|
154
|
+
summary: string;
|
|
155
|
+
};
|
|
156
|
+
defaultValue: {
|
|
157
|
+
summary: string;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
overscan: {
|
|
162
|
+
type: "function";
|
|
163
|
+
description: string;
|
|
164
|
+
table: {
|
|
165
|
+
category: string;
|
|
166
|
+
type: {
|
|
167
|
+
summary: string;
|
|
168
|
+
};
|
|
169
|
+
defaultValue: {
|
|
170
|
+
summary: string;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
increaseViewportBy: {
|
|
175
|
+
type: "function";
|
|
176
|
+
description: string;
|
|
177
|
+
table: {
|
|
178
|
+
category: string;
|
|
179
|
+
type: {
|
|
180
|
+
summary: string;
|
|
181
|
+
};
|
|
182
|
+
defaultValue: {
|
|
183
|
+
summary: string;
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
idContainer: {
|
|
188
|
+
control: "text";
|
|
189
|
+
description: string;
|
|
190
|
+
table: {
|
|
191
|
+
category: string;
|
|
192
|
+
type: {
|
|
193
|
+
summary: string;
|
|
194
|
+
};
|
|
195
|
+
defaultValue: {
|
|
196
|
+
summary: string;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
triggerCalCulateContainer: {
|
|
201
|
+
control: "object";
|
|
202
|
+
description: string;
|
|
203
|
+
table: {
|
|
204
|
+
category: string;
|
|
205
|
+
type: {
|
|
206
|
+
summary: string;
|
|
207
|
+
};
|
|
208
|
+
defaultValue: {
|
|
209
|
+
summary: string;
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
accumulationHeight: {
|
|
214
|
+
control: "number";
|
|
215
|
+
description: string;
|
|
216
|
+
table: {
|
|
217
|
+
category: string;
|
|
218
|
+
type: {
|
|
219
|
+
summary: string;
|
|
220
|
+
};
|
|
221
|
+
defaultValue: {
|
|
222
|
+
summary: string;
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
delayTriggerCalculateHeight: {
|
|
227
|
+
control: "number";
|
|
228
|
+
description: string;
|
|
229
|
+
table: {
|
|
230
|
+
category: string;
|
|
231
|
+
type: {
|
|
232
|
+
summary: string;
|
|
233
|
+
};
|
|
234
|
+
defaultValue: {
|
|
235
|
+
summary: string;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
increaseTotalCount: {
|
|
240
|
+
control: "number";
|
|
241
|
+
description: string;
|
|
242
|
+
table: {
|
|
243
|
+
category: string;
|
|
244
|
+
type: {
|
|
245
|
+
summary: string;
|
|
246
|
+
};
|
|
247
|
+
defaultValue: {
|
|
248
|
+
summary: string;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
itemContent: {
|
|
253
|
+
type: "function";
|
|
254
|
+
description: string;
|
|
255
|
+
table: {
|
|
256
|
+
category: string;
|
|
257
|
+
type: {
|
|
258
|
+
summary: string;
|
|
259
|
+
};
|
|
260
|
+
defaultValue: {
|
|
261
|
+
summary: string;
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
fixedHeaderContent: {
|
|
266
|
+
type: "function";
|
|
267
|
+
description: string;
|
|
268
|
+
table: {
|
|
269
|
+
category: string;
|
|
270
|
+
type: {
|
|
271
|
+
summary: string;
|
|
272
|
+
};
|
|
273
|
+
defaultValue: {
|
|
274
|
+
summary: string;
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
component: {
|
|
279
|
+
control: "object";
|
|
280
|
+
description: string;
|
|
281
|
+
table: {
|
|
282
|
+
category: string;
|
|
283
|
+
type: {
|
|
284
|
+
summary: string;
|
|
285
|
+
};
|
|
286
|
+
defaultValue: {
|
|
287
|
+
summary: string;
|
|
288
|
+
};
|
|
289
|
+
};
|
|
290
|
+
};
|
|
291
|
+
endReached: {
|
|
292
|
+
type: "function";
|
|
293
|
+
description: string;
|
|
294
|
+
table: {
|
|
295
|
+
category: string;
|
|
296
|
+
type: {
|
|
297
|
+
summary: string;
|
|
298
|
+
};
|
|
299
|
+
defaultValue: {
|
|
300
|
+
summary: string;
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
};
|
|
11
305
|
render: (args: ITableVirtualization & import('react').RefAttributes<import('react-virtuoso').TableVirtuosoHandle>) => import("react/jsx-runtime").JSX.Element;
|
|
12
306
|
};
|
|
13
307
|
export default meta;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { ICollapse } from './../interfaces/components/Collapse';
|
|
2
|
-
import { IMasonryLayout } from './../hooks/useMasonry';
|
|
3
2
|
import { IChips } from './../interfaces/components/Chips';
|
|
4
|
-
import { IDatePicker } from './../interfaces/components/DatePicker
|
|
3
|
+
import { IDatePicker } from './../interfaces/components/DatePicker';
|
|
5
4
|
import { default as TPublish } from './TPublish/TPublish';
|
|
6
5
|
import { default as Button } from './Button/Button';
|
|
7
6
|
import { default as Popover } from './Popover/Popover';
|
|
8
7
|
import { IRefPopover, IPopover } from '../interfaces/components/Popover';
|
|
9
8
|
import { default as InputFloatingInner } from './Input/InputFloatingInner';
|
|
10
9
|
import { default as InputReguler } from './Input/InputReguler';
|
|
11
|
-
import { default as Table
|
|
12
|
-
import {
|
|
10
|
+
import { default as Table } from './Table/Table';
|
|
11
|
+
import { default as TableSubComponent } from './Table/TableSubMobile';
|
|
12
|
+
import { ITableColumnDef, ITableColumnBreakpoint, ITableConfig, TTableRenderSubComponent, TTableHandlerRowClick } from '../interfaces/components/Table';
|
|
13
13
|
import { default as TableVirtualization } from './Virtualization/TableVirtualization';
|
|
14
14
|
import { TableVirtuosoHandle as IRefTableVirtualization, VirtuosoHandle as IRefListVirtualization } from 'react-virtuoso';
|
|
15
15
|
import { default as ListVirtualization } from './Virtualization/ListVirtualization';
|
|
@@ -23,6 +23,7 @@ import { default as CalendarRange } from './Calendar/CalendarRange';
|
|
|
23
23
|
import { default as DatePicker } from './DatePicker/DatePicker';
|
|
24
24
|
import { default as DateRangePicker } from './DatePicker/DateRangePicker';
|
|
25
25
|
import { default as FilterDate } from './DatePicker/FilterDate';
|
|
26
|
+
import { TKeyLocale } from '../interfaces/components/Calendar';
|
|
26
27
|
import { IFilterDateButtonList, TKeyFilterDateButtonListType } from '../interfaces/components/DatePicker';
|
|
27
28
|
import { default as Switch } from './Switch/Switch';
|
|
28
29
|
import { default as ButtonIcon } from './ButtonIcon/ButtonIcon';
|
|
@@ -41,11 +42,12 @@ import { default as FilterContainer } from './FilterContainer/FilterContainer';
|
|
|
41
42
|
import { default as NumberFormat } from './NumberFormat/NumberFormat';
|
|
42
43
|
import { PatternFormat } from 'react-number-format';
|
|
43
44
|
import { IInputReguler, IInputFloatingInner, IInputNative } from '../interfaces/components/Input';
|
|
45
|
+
import { ConfigTable } from './Table/Table.config';
|
|
44
46
|
import { default as PortalComponent } from './PortalComponent/PortalComponent';
|
|
45
47
|
import { ToastContainer as AlertContainer } from 'react-toastify';
|
|
46
48
|
import { TButtonVariants, TButtonSize } from '../interfaces/components/Button';
|
|
47
49
|
import { default as UploadFile } from './Upload/UploadFile';
|
|
48
|
-
import { ITabsList } from '../interfaces/components/Tabs';
|
|
50
|
+
import { ITabsList, TTypeEventTabs } from '../interfaces/components/Tabs';
|
|
49
51
|
import { default as TruncateComponent } from './TruncateComponent/TruncateComponent';
|
|
50
52
|
import { default as UploadImage } from './Upload/UploadImage';
|
|
51
53
|
import { default as Textarea } from './Textarea/Textarea';
|
|
@@ -62,19 +64,24 @@ import { IUploadMultipleFileValue } from '../interfaces/components/UploadFile';
|
|
|
62
64
|
import { default as ErrorMessage } from './ErrorMessage/ErrorMessage';
|
|
63
65
|
import { default as TextareaFloatingInner } from './Textarea/TextareaFloatingInner';
|
|
64
66
|
import { default as Step } from './Step/Step';
|
|
65
|
-
import { IDataStepList } from '../interfaces/components/Step
|
|
67
|
+
import { IDataStepList } from '../interfaces/components/Step';
|
|
66
68
|
import { default as LineChart } from './Chart/LineChart';
|
|
67
69
|
import { default as Tooltip } from './Tooltip/Tooltip';
|
|
68
70
|
import { default as ButtonPopover } from './ButtonPopover/ButtonPopover';
|
|
69
|
-
import { IRefButtonPopover } from '../interfaces/components/ButtonPopover
|
|
71
|
+
import { IRefButtonPopover } from '../interfaces/components/ButtonPopover';
|
|
70
72
|
import { default as GradientLineChart } from './Chart/GradientLineChart';
|
|
71
73
|
import { default as GradientBarChart } from './Chart/GradientBarChart';
|
|
72
74
|
import { default as StepIndicator } from './Step/StepIndicator';
|
|
73
75
|
import { default as TextEditor } from './TextEditor/TextEditor';
|
|
74
76
|
import { ITextEditorProps } from '../interfaces/components/TextEditor';
|
|
75
77
|
import { default as CollapseV2 } from './Collapse/CollapseV2';
|
|
78
|
+
import { default as TimeRange } from './TimeRange/TimeRange';
|
|
79
|
+
import { ITimeRangeListTime, ITimeRange, TTimeRangeValue } from '../interfaces/components/TimeRange';
|
|
80
|
+
import { default as TextareaInnerLabel } from './Textarea/TextareaInnerLabel';
|
|
81
|
+
import { default as InputInnerLabel } from './Input/InputInnerLabel';
|
|
82
|
+
|
|
76
83
|
import * as utilTable from '@tanstack/react-table';
|
|
77
84
|
import type * as SelectDropdownContainerType from 'react-select';
|
|
78
85
|
import type * as FilterContainerType from '../interfaces/components/FilterContainer';
|
|
79
|
-
export { TPublish, Button, Popover, Calendar, CalendarRange, DatePicker, DateRangePicker, FilterDate, InputFloatingInner, InputReguler, Pagination, Tabs, TabPanel, Table, TableVirtualization, ListVirtualization, SelectDropdownContainer, utilTable, Switch, ButtonIcon, Badges, Chips, RadioCheckbox, RadioCheckboxLabel, Breadcrumbs, Sidebar, Collapse, ModalDialog, SelectDropdownContainerComponents, Timeline, FilterContainer, NumberFormat, PatternFormat, DefaultCheckedChecboxIcon, DefaultRadioChecboxIcon, ConfigTable, PortalComponent, AlertContainer, UploadFile, TruncateComponent, UploadImage, Textarea, DoughnutChart, MonthYearPicker, CheckboxTable, InputNative, UploadMultipleFile, ErrorMessage, TextareaFloatingInner, Step, LineChart, Tooltip, ButtonPopover, GradientLineChart, GradientBarChart, StepIndicator, TextEditor, CollapseV2, };
|
|
80
|
-
export type { ITableColumnDef, IRefPopover, IRefTableVirtualization, IRefListVirtualization, IRefSelectDropdownContainer, IChildrenSelectDropdownContainer, ISidebarModule, SelectDropdownContainerType, FilterContainerType, IInputReguler, IInputFloatingInner, ITableConfig, TButtonVariants, TButtonSize, ITabsList, ITextarea, IListVirtualization, ITableVirtualization, IRefSidebar, IChildrenIconCompany, ICloneElementSidebar, IDataDoughnutChart, IDataInnerLabelDoughnutChart, ISelectDropdownContainer, IDatePicker, IPopover, IInputNative, IUploadMultipleFileValue, IDataStepList, IDataLineChart, IChips, IRefButtonPopover, TGradientLineChartCustomTooltip, IGradientLineChart, IGradientLineChartDataSet, IGradientLineChartData, TGradientBarChartCustomTooltip, IGradientBarChart, IGradientBarChartDataSet, IGradientBarChartData, IFilterDateButtonList, TKeyFilterDateButtonListType,
|
|
86
|
+
export { TPublish, Button, Popover, Calendar, CalendarRange, DatePicker, DateRangePicker, FilterDate, InputFloatingInner, InputReguler, Pagination, Tabs, TabPanel, Table, TableVirtualization, ListVirtualization, SelectDropdownContainer, utilTable, Switch, ButtonIcon, Badges, Chips, RadioCheckbox, RadioCheckboxLabel, Breadcrumbs, Sidebar, Collapse, ModalDialog, SelectDropdownContainerComponents, Timeline, FilterContainer, NumberFormat, PatternFormat, DefaultCheckedChecboxIcon, DefaultRadioChecboxIcon, ConfigTable, PortalComponent, AlertContainer, UploadFile, TruncateComponent, UploadImage, Textarea, DoughnutChart, MonthYearPicker, CheckboxTable, InputNative, UploadMultipleFile, ErrorMessage, TextareaFloatingInner, Step, LineChart, Tooltip, ButtonPopover, GradientLineChart, GradientBarChart, StepIndicator, TextEditor, CollapseV2, TableSubComponent, TimeRange, TextareaInnerLabel, InputInnerLabel, };
|
|
87
|
+
export type { ITableColumnDef, IRefPopover, IRefTableVirtualization, IRefListVirtualization, IRefSelectDropdownContainer, IChildrenSelectDropdownContainer, ISidebarModule, SelectDropdownContainerType, FilterContainerType, IInputReguler, IInputFloatingInner, ITableConfig, TButtonVariants, TButtonSize, ITabsList, TTypeEventTabs, ITextarea, IListVirtualization, ITableVirtualization, IRefSidebar, IChildrenIconCompany, ICloneElementSidebar, IDataDoughnutChart, IDataInnerLabelDoughnutChart, ISelectDropdownContainer, IDatePicker, IPopover, IInputNative, IUploadMultipleFileValue, IDataStepList, IDataLineChart, IChips, IRefButtonPopover, TGradientLineChartCustomTooltip, IGradientLineChart, IGradientLineChartDataSet, IGradientLineChartData, TGradientBarChartCustomTooltip, IGradientBarChart, IGradientBarChartDataSet, IGradientBarChartData, IFilterDateButtonList, TKeyFilterDateButtonListType, IDataGradientBarChartCustomTooltip, IDataGradientLineChartCustomTooltip, ITextEditorProps, ICollapse, ITableColumnBreakpoint, TTableRenderSubComponent, TTableHandlerRowClick, TKeyLocale, ITimeRangeListTime, ITimeRange, TTimeRangeValue, };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
tags: string[];
|
|
9
|
+
argTypes: {};
|
|
10
|
+
render: () => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
};
|
|
12
|
+
export default meta;
|
|
13
|
+
type Story = StoryObj<typeof meta>;
|
|
14
|
+
export declare const Default: Story;
|
|
@@ -1,49 +1,3 @@
|
|
|
1
|
-
export type Itypography = 'payhere-h1' | 'payhere-h2' | 'payhere-h3' | 'payhere-h4' | 'payhere-h5' | 'payhere-h6' | 'payhere-body-lr' | 'payhere-body-lm' | 'payhere-body-ls' | 'payhere-body-lb' | 'payhere-body-mr' | 'payhere-body-mm' | 'payhere-body-ms' | 'payhere-body-mb' | 'payhere-label-r' | 'payhere-label-m' | 'payhere-body-sr' | 'payhere-body-sm' | 'payhere-body-esr' | 'payhere-body-esm' | 'laba-title-lb' | 'laba-title-ls' | 'laba-title-lr' | 'laba-title-mb' | 'laba-title-ms' | 'laba-title-mr' | 'laba-h1' | 'laba-h1-b' | 'laba-h1-sb' | 'laba-h1-r' | 'laba-h2' | 'laba-h2-b' | 'laba-h2-sb' | 'laba-h2-r' | 'laba-base-rb' | 'laba-base-rs' | 'laba-base-rr' | 'laba-base-sb' | 'laba-base-ss' | 'laba-base-sr' | 'laba-subtitle-rb' | 'laba-subtitle-rs' | 'laba-subtitle-rr' | 'laba-subtitle-sb' | 'laba-subtitle-ss' | 'laba-subtitle-sr';
|
|
2
|
-
export declare const configtypography:
|
|
3
|
-
|
|
4
|
-
'payhere-h2': string;
|
|
5
|
-
'payhere-h3': string;
|
|
6
|
-
'payhere-h4': string;
|
|
7
|
-
'payhere-h5': string;
|
|
8
|
-
'payhere-h6': string;
|
|
9
|
-
'payhere-body-lr': string;
|
|
10
|
-
'payhere-body-lm': string;
|
|
11
|
-
'payhere-body-ls': string;
|
|
12
|
-
'payhere-body-lb': string;
|
|
13
|
-
'payhere-body-mr': string;
|
|
14
|
-
'payhere-body-mm': string;
|
|
15
|
-
'payhere-body-ms': string;
|
|
16
|
-
'payhere-body-mb': string;
|
|
17
|
-
'payhere-label-r': string;
|
|
18
|
-
'payhere-label-m': string;
|
|
19
|
-
'payhere-body-sr': string;
|
|
20
|
-
'payhere-body-sm': string;
|
|
21
|
-
'payhere-body-esr': string;
|
|
22
|
-
'payhere-body-esm': string;
|
|
23
|
-
'laba-title-lb': string;
|
|
24
|
-
'laba-title-ls': string;
|
|
25
|
-
'laba-title-lr': string;
|
|
26
|
-
'laba-title-mb': string;
|
|
27
|
-
'laba-title-ms': string;
|
|
28
|
-
'laba-title-mr': string;
|
|
29
|
-
'laba-h1': string;
|
|
30
|
-
'laba-h1-b': string;
|
|
31
|
-
'laba-h1-sb': string;
|
|
32
|
-
'laba-h1-r': string;
|
|
33
|
-
'laba-h2': string;
|
|
34
|
-
'laba-h2-b': string;
|
|
35
|
-
'laba-h2-sb': string;
|
|
36
|
-
'laba-h2-r': string;
|
|
37
|
-
'laba-base-rb': string;
|
|
38
|
-
'laba-base-rs': string;
|
|
39
|
-
'laba-base-rr': string;
|
|
40
|
-
'laba-base-sb': string;
|
|
41
|
-
'laba-base-ss': string;
|
|
42
|
-
'laba-base-sr': string;
|
|
43
|
-
'laba-subtitle-rb': string;
|
|
44
|
-
'laba-subtitle-rs': string;
|
|
45
|
-
'laba-subtitle-rr': string;
|
|
46
|
-
'laba-subtitle-sb': string;
|
|
47
|
-
'laba-subtitle-ss': string;
|
|
48
|
-
'laba-subtitle-sr': string;
|
|
49
|
-
};
|
|
1
|
+
export type Itypography = 'payhere-h1' | 'payhere-h2' | 'payhere-h3' | 'payhere-h4' | 'payhere-h5' | 'payhere-h6' | 'payhere-body-lr' | 'payhere-body-lm' | 'payhere-body-ls' | 'payhere-body-lb' | 'payhere-body-mr' | 'payhere-body-mm' | 'payhere-body-ms' | 'payhere-body-mb' | 'payhere-label-r' | 'payhere-label-m' | 'payhere-label-sb' | 'payhere-label-b' | 'payhere-body-sr' | 'payhere-body-sm' | 'payhere-body-smb' | 'payhere-body-sb' | 'payhere-body-esr' | 'payhere-body-esm' | 'payhere-body-esmb' | 'payhere-body-esb' | 'laba-title-lb' | 'laba-title-ls' | 'laba-title-lr' | 'laba-title-mb' | 'laba-title-ms' | 'laba-title-mr' | 'laba-h1' | 'laba-h1-b' | 'laba-h1-sb' | 'laba-h1-r' | 'laba-h2' | 'laba-h2-b' | 'laba-h2-sb' | 'laba-h2-r' | 'laba-base-rb' | 'laba-base-rs' | 'laba-base-rr' | 'laba-base-sb' | 'laba-base-ss' | 'laba-base-sr' | 'laba-subtitle-rb' | 'laba-subtitle-rs' | 'laba-subtitle-rr' | 'laba-subtitle-sb' | 'laba-subtitle-ss' | 'laba-subtitle-sr' | 'bill-h1' | 'bill-h2' | 'bill-h3' | 'bill-h4' | 'bill-h5' | 'bill-h6' | 'bill-body-lr' | 'bill-body-lm' | 'bill-body-lsm' | 'bill-body-blb' | 'bill-body-mr' | 'bill-body-mm' | 'bill-body-msm' | 'bill-body-mb' | 'bill-label-r' | 'bill-label-m' | 'bill-label-sm' | 'bill-label-b' | 'bill-body-sr' | 'bill-body-sm' | 'bill-body-ssm' | 'bill-body-sb' | 'bill-body-esr' | 'bill-body-ems' | 'bill-body-essm' | 'bill-body-esb';
|
|
2
|
+
export declare const configtypography: Record<Itypography, string>;
|
|
3
|
+
export declare const keysTypography: string[];
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { default as ConfigColors } from './colors';
|
|
2
2
|
import { default as configTypography, configTypographyLabaBisnis, configTypographyPayhere } from './typography';
|
|
3
3
|
import { default as configScreens } from './screen';
|
|
4
|
-
|
|
4
|
+
import { default as configNativeScreens } from './nativeScreen';
|
|
5
|
+
|
|
6
|
+
export { ConfigColors, configTypography, configTypographyLabaBisnis, configTypographyPayhere, configScreens, configNativeScreens, };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export type ITypography = Record<string, [string, Record<string, string | number>]>;
|
|
2
2
|
export declare const configTypographyPayhere: ITypography;
|
|
3
3
|
export declare const configTypographyLabaBisnis: ITypography;
|
|
4
|
+
export declare const configTypographyBillId: ITypography;
|
|
4
5
|
declare const _default: {
|
|
5
6
|
[x: string]: [string, Record<string, string | number>];
|
|
6
7
|
};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { default as useElementOrWindowMediaQuery } from './useElementOrWindowMediaQuery';
|
|
2
|
-
import { default as useCountdown } from './useCountdown';
|
|
2
|
+
import { default as useCountdown, IUseCountdownReturn, IUseCountdown } from './useCountdown';
|
|
3
3
|
import { default as useAsyncDebounce } from './useAsyncDebounce';
|
|
4
4
|
import { default as useCombinedResizeObserver } from './useCombinedResizeObserver';
|
|
5
5
|
import { default as useStateRef } from './useStateRef';
|
|
6
6
|
import { useMergeRefs } from './useMergeRefs';
|
|
7
7
|
import { useDeepCompareEffect, useDeepCompareMemoize } from './useDeepCompareEffect';
|
|
8
8
|
import { useEventListener } from './useEventListener';
|
|
9
|
-
import { default as useMasonry } from './useMasonry';
|
|
10
|
-
|
|
9
|
+
import { default as useMasonry, IMasonryLayout } from './useMasonry';
|
|
10
|
+
import { default as useOtpInput, IUseOtpInput, IUseOtpInputReturn } from './useOtpInput';
|
|
11
|
+
|
|
12
|
+
export { useElementOrWindowMediaQuery, useCountdown, useAsyncDebounce, useCombinedResizeObserver, useStateRef, useDeepCompareEffect, useDeepCompareMemoize, useMergeRefs, useEventListener, useMasonry, useOtpInput, };
|
|
13
|
+
export type { IUseOtpInput, IUseOtpInputReturn, IMasonryLayout, IUseCountdownReturn, IUseCountdown };
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
export interface IUseCountdown {
|
|
2
2
|
date: string;
|
|
3
3
|
intervalMs: number;
|
|
4
4
|
running: boolean;
|
|
5
5
|
adjustTimesTime?: number;
|
|
6
6
|
callbackDone?: () => void;
|
|
7
|
-
}
|
|
7
|
+
}
|
|
8
|
+
export interface IUseCountdownReturn {
|
|
8
9
|
count: number;
|
|
10
|
+
isRunning: boolean;
|
|
9
11
|
startCountdown: () => void;
|
|
10
12
|
stopCountdown: () => void;
|
|
11
13
|
resetCountdown: (value?: Date | number) => void;
|
|
12
14
|
setCallbackDone: (val: () => void) => void;
|
|
13
|
-
}
|
|
15
|
+
}
|
|
16
|
+
declare const useCountdown: (options: IUseCountdown) => IUseCountdownReturn;
|
|
14
17
|
export default useCountdown;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
|
|
2
3
|
export type ReactRef<T> = React.RefCallback<T> | React.MutableRefObject<T>;
|
|
3
4
|
export declare function assignRef<T = unknown>(ref: ReactRef<T> | null | undefined, value: T): void;
|
|
4
5
|
export declare function mergeRefs<T>(...refs: (ReactRef<T> | null | undefined)[]): (node: T | null) => void;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface IUseOtpInput {
|
|
4
|
+
id?: string;
|
|
5
|
+
numInputs: number;
|
|
6
|
+
onComplete?: (otp: string) => void;
|
|
7
|
+
disableFocusOnEdit?: boolean;
|
|
8
|
+
blurOnComplete?: boolean;
|
|
9
|
+
disableOnComplete?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface IInputProps {
|
|
12
|
+
id: string;
|
|
13
|
+
ref: (el: HTMLInputElement | null) => void;
|
|
14
|
+
value: string;
|
|
15
|
+
onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
16
|
+
onKeyDown: (e: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
17
|
+
onPaste: (e: React.ClipboardEvent<HTMLInputElement>) => void;
|
|
18
|
+
onFocus: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
type: 'text';
|
|
21
|
+
inputMode: 'numeric';
|
|
22
|
+
autoComplete: 'one-time-code';
|
|
23
|
+
'aria-label': string;
|
|
24
|
+
}
|
|
25
|
+
export interface IInputData {
|
|
26
|
+
id: string;
|
|
27
|
+
ref: (el: HTMLInputElement | null) => void;
|
|
28
|
+
value: string;
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
type: 'text';
|
|
31
|
+
inputMode: 'numeric';
|
|
32
|
+
isOtpFilled: boolean;
|
|
33
|
+
}
|
|
34
|
+
export interface IUseOtpInputReturn {
|
|
35
|
+
getInputProps: (index: number) => IInputProps;
|
|
36
|
+
getInputData: (index: number) => IInputData;
|
|
37
|
+
clearOtp: () => void;
|
|
38
|
+
otpValues: string[];
|
|
39
|
+
otpString: string;
|
|
40
|
+
isOtpComplete: boolean;
|
|
41
|
+
}
|
|
42
|
+
export declare const useOtpInput: ({ id, numInputs, onComplete, disableFocusOnEdit, blurOnComplete, disableOnComplete, }: IUseOtpInput) => IUseOtpInputReturn;
|
|
43
|
+
export default useOtpInput;
|