1mpacto-react-ui 1.0.0 → 2.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/_mixins.scss +43 -43
- package/dist/assets/core.css +1 -1
- package/dist/assets/fontfamily.css +1 -1
- package/dist/assets/icons/arrow-narrow-down.svg +3 -3
- package/dist/assets/style.css +1 -1
- package/dist/assets/toast.css +194 -98
- package/dist/index.cjs +154 -145
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +26996 -26119
- package/dist/package.json.d.ts +132 -131
- package/dist/src/components/Alert/index.d.ts +0 -1
- package/dist/src/components/Badges/Badges.d.ts +0 -1
- package/dist/src/components/Badges/Badges.stories.d.ts +1 -2
- package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +0 -1
- package/dist/src/components/Breadcrumbs/Breadcrumbs.stories.d.ts +1 -2
- package/dist/src/components/Button/Button.d.ts +0 -1
- package/dist/src/components/Button/Button.stories.d.ts +1 -2
- package/dist/src/components/ButtonIcon/ButtonIcon.d.ts +0 -1
- package/dist/src/components/ButtonIcon/ButtonIcon.stories.d.ts +1 -2
- package/dist/src/components/ButtonPopover/ButtonPopover.d.ts +0 -1
- package/dist/src/components/ButtonPopover/ButtonPopover.stories.d.ts +1 -2
- package/dist/src/components/Calendar/Calendar.d.ts +0 -1
- package/dist/src/components/Calendar/Calendar.stories.d.ts +1 -2
- package/dist/src/components/Calendar/CalendarButton.d.ts +0 -1
- package/dist/src/components/Calendar/CalendarCell.d.ts +0 -1
- package/dist/src/components/Calendar/CalendarMonth.d.ts +0 -1
- package/dist/src/components/Calendar/CalendarRange.d.ts +0 -1
- package/dist/src/components/Calendar/CalendarYear.d.ts +0 -1
- package/dist/src/components/Chart/DoughnutChart.d.ts +0 -1
- package/dist/src/components/Chart/GradientBarChart.d.ts +0 -1
- package/dist/src/components/Chart/GradientBarChart.stories.d.ts +3 -4
- package/dist/src/components/Chart/GradientLineChart.d.ts +0 -1
- package/dist/src/components/Chart/GradientLineChart.stories.d.ts +3 -4
- package/dist/src/components/Chart/LineChart.d.ts +0 -1
- package/dist/src/components/Chart/LineChart.stories.d.ts +1 -2
- package/dist/src/components/Chips/Chips.d.ts +0 -1
- package/dist/src/components/Chips/Chips.stories.d.ts +1 -2
- package/dist/src/components/Collapse/Collapse.d.ts +0 -1
- package/dist/src/components/Collapse/Collapse.stories.d.ts +1 -2
- package/dist/src/components/Collapse/CollapseV2.d.ts +0 -1
- package/dist/src/components/Collapse/CollapseV2.stories.d.ts +1 -2
- package/dist/src/components/Colors/Colors.stories.d.ts +1 -2
- package/dist/src/components/DatePicker/DatePicker.d.ts +0 -1
- package/dist/src/components/DatePicker/DatePicker.stories.d.ts +1 -2
- package/dist/src/components/DatePicker/DateRangePicker.d.ts +0 -1
- package/dist/src/components/DatePicker/FilterDate.d.ts +0 -1
- package/dist/src/components/DatePicker/FilterDate.stories.d.ts +1 -2
- package/dist/src/components/DatePicker/MonthYearPicker.d.ts +0 -1
- package/dist/src/components/DatePicker/MonthYearPicker.stories.d.ts +1 -2
- package/dist/src/components/ErrorMessage/ErrorMessage.d.ts +0 -1
- package/dist/src/components/ErrorMessage/ErrorMessage.stories.d.ts +1 -2
- package/dist/src/components/FilterContainer/FilterContainer.d.ts +0 -1
- package/dist/src/components/FilterContainer/FilterContainer.stories.d.ts +1 -2
- package/dist/src/components/Input/InputFloatingInner.d.ts +0 -1
- package/dist/src/components/Input/InputFloatingInner.stories.d.ts +1 -2
- package/dist/src/components/Input/InputInnerLabel.d.ts +0 -1
- package/dist/src/components/Input/InputInnerLabel.stories.d.ts +1 -2
- package/dist/src/components/Input/InputNative.d.ts +0 -1
- package/dist/src/components/Input/InputNative.stories.d.ts +1 -2
- package/dist/src/components/Input/InputReguler.d.ts +0 -1
- package/dist/src/components/Input/InputReguler.stories.d.ts +1 -2
- package/dist/src/components/Modal/ModalDialog.d.ts +0 -1
- package/dist/src/components/Modal/ModalDialog.stories.d.ts +1 -2
- package/dist/src/components/NumberFormat/NumberFormat.d.ts +0 -1
- package/dist/src/components/NumberFormat/NumberFormat.stories.d.ts +1 -2
- package/dist/src/components/Pagination/Pagination.d.ts +0 -1
- package/dist/src/components/Pagination/Pagination.stories.d.ts +1 -2
- package/dist/src/components/Popover/Popover.d.ts +0 -1
- package/dist/src/components/Popover/Popover.stories.d.ts +3 -4
- package/dist/src/components/PortalComponent/PortalComponent.d.ts +0 -1
- package/dist/src/components/PortalComponent/PortalComponent.stories.d.ts +1 -2
- package/dist/src/components/RadioCheckbox/CheckboxTable.d.ts +0 -1
- package/dist/src/components/RadioCheckbox/RadioCheckbox.d.ts +0 -1
- package/dist/src/components/RadioCheckbox/RadioCheckbox.stories.d.ts +1 -2
- package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.d.ts +0 -1
- package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.stories.d.ts +1 -2
- package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.d.ts +1 -2
- package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.stories.d.ts +4 -5
- package/dist/src/components/SelectDropdownContainer/styleConfig.d.ts +0 -1
- package/dist/src/components/Sidebar/ItemSidebar.d.ts +0 -1
- package/dist/src/components/Sidebar/Sidebar.d.ts +1 -2
- package/dist/src/components/Sidebar/Sidebar.stories.d.ts +5 -6
- package/dist/src/components/Step/Step.d.ts +0 -1
- package/dist/src/components/Step/Step.stories.d.ts +1 -2
- package/dist/src/components/Step/StepIndicator.d.ts +0 -1
- package/dist/src/components/Step/StepIndicator.stories.d.ts +1 -2
- package/dist/src/components/Switch/Switch.d.ts +0 -1
- package/dist/src/components/Switch/Switch.stories.d.ts +1 -2
- package/dist/src/components/Table/Table.config.d.ts +0 -1
- package/dist/src/components/Table/Table.d.ts +0 -1
- package/dist/src/components/Table/Table.stories.d.ts +1 -2
- package/dist/src/components/Table/TableSubMobile.d.ts +0 -1
- package/dist/src/components/Tabs/TabPanel.d.ts +0 -1
- package/dist/src/components/Tabs/Tabs.d.ts +0 -1
- package/dist/src/components/Tabs/Tabs.stories.d.ts +1 -2
- package/dist/src/components/TextEditor/TextEditor.d.ts +0 -1
- package/dist/src/components/TextEditor/TextEditor.stories.d.ts +1 -2
- package/dist/src/components/Textarea/Textarea.d.ts +0 -1
- package/dist/src/components/Textarea/Textarea.stories.d.ts +1 -2
- package/dist/src/components/Textarea/TextareaFloatingInner.d.ts +0 -1
- package/dist/src/components/Textarea/TextareaFloatingInner.stories.d.ts +1 -2
- package/dist/src/components/Textarea/TextareaInnerLabel.d.ts +0 -1
- package/dist/src/components/Textarea/TextareaInnerLabel.stories.d.ts +1 -2
- package/dist/src/components/TimeRange/TimeRange.d.ts +0 -1
- package/dist/src/components/TimeRange/TimeRange.stories.d.ts +1 -2
- package/dist/src/components/Timeline/Timeline.d.ts +0 -1
- package/dist/src/components/Timeline/Timeline.stories.d.ts +1 -2
- package/dist/src/components/Tooltip/Tooltip.d.ts +0 -1
- package/dist/src/components/Tooltip/Tooltip.stories.d.ts +1 -2
- package/dist/src/components/TruncateComponent/TruncateComponent.d.ts +0 -1
- package/dist/src/components/TruncateComponent/TruncateComponent.stories.d.ts +1 -2
- package/dist/src/components/Typography/Typography.stories.d.ts +1 -2
- package/dist/src/components/Upload/UploadFile.d.ts +0 -1
- package/dist/src/components/Upload/UploadFile.stories.d.ts +1 -2
- package/dist/src/components/Upload/UploadImage.d.ts +0 -1
- package/dist/src/components/Upload/UploadImage.stories.d.ts +1 -2
- package/dist/src/components/Upload/UploadMultipleFile.d.ts +0 -1
- package/dist/src/components/Upload/UploadMultipleFile.stories.d.ts +1 -2
- package/dist/src/components/Virtualization/ListVirtualization.d.ts +0 -1
- package/dist/src/components/Virtualization/ListVirtualization.stories.d.ts +1 -2
- package/dist/src/components/Virtualization/TableVirtualization.d.ts +0 -1
- package/dist/src/components/Virtualization/TableVirtualization.stories.d.ts +1 -2
- package/dist/src/components/index.d.ts +0 -1
- package/dist/src/components/screens/Screens.stories.d.ts +1 -2
- package/dist/src/config/bigNumber/index.d.ts +0 -1
- package/dist/src/config/components/tinymce.d.ts +0 -1
- package/dist/src/config/tailwind/index.d.ts +0 -1
- package/dist/src/hooks/index.d.ts +0 -1
- package/dist/src/hooks/useAsyncDebounce.d.ts +9 -0
- package/dist/src/hooks/useCombinedResizeObserver.d.ts +66 -1
- package/dist/src/hooks/useCountdown.d.ts +61 -0
- package/dist/src/hooks/useDeepCompareEffect.d.ts +13 -1
- package/dist/src/hooks/useElementOrWindowMediaQuery.d.ts +9 -0
- package/dist/src/hooks/useEventListener.d.ts +27 -1
- package/dist/src/hooks/useMasonry.d.ts +79 -1
- package/dist/src/hooks/useMergeRefs.d.ts +26 -1
- package/dist/src/hooks/useOtpInput.d.ts +157 -1
- package/dist/src/hooks/useStateRef.d.ts +8 -1
- package/dist/src/interfaces/components/Alert/index.d.ts +8 -1
- package/dist/src/interfaces/components/Badges/index.d.ts +28 -1
- package/dist/src/interfaces/components/Breadcrumbs/index.d.ts +79 -1
- package/dist/src/interfaces/components/Button/index.d.ts +44 -1
- package/dist/src/interfaces/components/ButtonIcon/index.d.ts +36 -1
- package/dist/src/interfaces/components/ButtonPopover/index.d.ts +78 -1
- package/dist/src/interfaces/components/Calendar/index.d.ts +364 -1
- package/dist/src/interfaces/components/Chart/index.d.ts +460 -1
- package/dist/src/interfaces/components/Checkbox/index.d.ts +12 -1
- package/dist/src/interfaces/components/Chips/index.d.ts +36 -1
- package/dist/src/interfaces/components/Collapse/index.d.ts +60 -1
- package/dist/src/interfaces/components/DatePicker/index.d.ts +274 -1
- package/dist/src/interfaces/components/ErrorMessage/index.d.ts +16 -0
- package/dist/src/interfaces/components/FilterContainer/index.d.ts +102 -1
- package/dist/src/interfaces/components/Input/index.d.ts +180 -1
- package/dist/src/interfaces/components/Modal/index.d.ts +45 -1
- package/dist/src/interfaces/components/NumberFormat/index.d.ts +25 -1
- package/dist/src/interfaces/components/Pagination/index.d.ts +81 -1
- package/dist/src/interfaces/components/Popover/index.d.ts +95 -1
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckbox.d.ts +56 -1
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckboxLabel.d.ts +44 -1
- package/dist/src/interfaces/components/SelectDropdownContainer/index.d.ts +195 -2
- package/dist/src/interfaces/components/Sidebar/index.d.ts +226 -1
- package/dist/src/interfaces/components/Step/index.d.ts +153 -1
- package/dist/src/interfaces/components/Switch/index.d.ts +53 -0
- package/dist/src/interfaces/components/Table/index.d.ts +364 -1
- package/dist/src/interfaces/components/Tabs/index.d.ts +126 -1
- package/dist/src/interfaces/components/TextEditor/index.d.ts +12 -1
- package/dist/src/interfaces/components/Textarea/index.d.ts +156 -1
- package/dist/src/interfaces/components/TimeRange/index.d.ts +100 -1
- package/dist/src/interfaces/components/Timeline/index.d.ts +36 -1
- package/dist/src/interfaces/components/Tooltip/index.d.ts +56 -1
- package/dist/src/interfaces/components/TruncateComponent/index.d.ts +34 -0
- package/dist/src/interfaces/components/UploadFile/index.d.ts +184 -2
- package/dist/src/interfaces/components/Virtualization/ListVirtualization.d.ts +138 -1
- package/dist/src/interfaces/components/Virtualization/TableVirtualization.d.ts +143 -1
- package/dist/src/main.d.ts +0 -1
- package/dist/src/utils/common.d.ts +0 -1
- 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 -15
- package/package.json +132 -131
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
-
import '@tanstack/react-table';
|
|
3
|
-
|
|
4
|
-
declare module '@tanstack/react-table' {
|
|
5
|
-
interface ColumnMeta<TData extends RowData, TValue> {
|
|
6
|
-
styleTd?: (original: RowData, row: Row<unknown>) => React.CSSProperties;
|
|
7
|
-
classNameTd?: (original: RowData, row: Row<unknown>) => string;
|
|
8
|
-
styleTh?: (header: Header<unknown, unknown>) => React.CSSProperties;
|
|
9
|
-
colSpan?: (header: Header<unknown, unknown>) => number;
|
|
10
|
-
rowSpan?: (header: Header<unknown, unknown>) => number;
|
|
11
|
-
styleTdLeftCellSubs?: (original: RowData, row: Row<unknown>) => React.CSSProperties;
|
|
12
|
-
styleTdRightCellSubs?: (original: RowData, row: Row<unknown>) => React.CSSProperties;
|
|
13
|
-
labelCellSubs?: (original: RowData, row: Row<unknown>) => React.ReactNode | string | React.ReactNode[];
|
|
14
|
-
}
|
|
15
|
-
}
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
+
import '@tanstack/react-table';
|
|
3
|
+
|
|
4
|
+
declare module '@tanstack/react-table' {
|
|
5
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
6
|
+
styleTd?: (original: RowData, row: Row<unknown>) => React.CSSProperties;
|
|
7
|
+
classNameTd?: (original: RowData, row: Row<unknown>) => string;
|
|
8
|
+
styleTh?: (header: Header<unknown, unknown>) => React.CSSProperties;
|
|
9
|
+
colSpan?: (header: Header<unknown, unknown>) => number;
|
|
10
|
+
rowSpan?: (header: Header<unknown, unknown>) => number;
|
|
11
|
+
styleTdLeftCellSubs?: (original: RowData, row: Row<unknown>) => React.CSSProperties;
|
|
12
|
+
styleTdRightCellSubs?: (original: RowData, row: Row<unknown>) => React.CSSProperties;
|
|
13
|
+
labelCellSubs?: (original: RowData, row: Row<unknown>) => React.ReactNode | string | React.ReactNode[];
|
|
14
|
+
}
|
|
15
|
+
}
|
package/package.json
CHANGED
|
@@ -1,131 +1,132 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "1mpacto-react-ui",
|
|
3
|
-
"private": false,
|
|
4
|
-
"version": "
|
|
5
|
-
"type": "module",
|
|
6
|
-
"engines": {
|
|
7
|
-
"node": ">=20.19.4",
|
|
8
|
-
"npm": ">=10.8.2"
|
|
9
|
-
},
|
|
10
|
-
"scripts": {
|
|
11
|
-
"copy:toastify-css": "cp ./node_modules/react-toastify/dist/ReactToastify.css ./dist/assets/toast.css",
|
|
12
|
-
"copy:mixin-scss": "cp ./src/styles/_mixins.scss ./dist/assets/_mixins.scss",
|
|
13
|
-
"dev": "vite",
|
|
14
|
-
"transform:style": "node -r ./src/utils/register-ts-node.js ./src/utils/generate-file-style.js",
|
|
15
|
-
"postProcess:fontfamily": "node ./src/utils/post-process-css.js",
|
|
16
|
-
"process:transformStyle": "npm run postProcess:fontfamily && npm run transform:style",
|
|
17
|
-
"process:copyStyle": "npm run copy:mixin-scss && npm run copy:toastify-css",
|
|
18
|
-
"build": "tsc -b && vite build && npm run build:css && npm run build:fontfamily && npm run process:copyStyle && npm run process:transformStyle",
|
|
19
|
-
"build:css": "tailwindcss -i ./src/styles/index.scss -o ./dist/assets/core.css --minify",
|
|
20
|
-
"build:fontfamily": "sass ./src/styles/fontfamily.scss ./dist/assets/fontfamily.css --no-source-map --style=compressed",
|
|
21
|
-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
22
|
-
"preview": "vite preview",
|
|
23
|
-
"prepare": "husky && npm run build",
|
|
24
|
-
"watch:build": "npx watch \"npm run build\" ./src",
|
|
25
|
-
"storybook": "storybook dev -p 6006",
|
|
26
|
-
"build-storybook": "storybook build",
|
|
27
|
-
"postbuild": "copyfiles -f src/types/* dist/types-external/",
|
|
28
|
-
"install": "copyfiles -f dist/types-external/* ../../src/types/"
|
|
29
|
-
},
|
|
30
|
-
"devDependencies": {
|
|
31
|
-
"@chromatic-com/storybook": "^
|
|
32
|
-
"@
|
|
33
|
-
"@
|
|
34
|
-
"@
|
|
35
|
-
"@storybook/
|
|
36
|
-
"@storybook/
|
|
37
|
-
"@storybook/react-vite": "^
|
|
38
|
-
"@
|
|
39
|
-
"@types/js-cookie": "^3.0.6",
|
|
40
|
-
"@types/node": "^20
|
|
41
|
-
"@types/node-forge": "^1.3.14",
|
|
42
|
-
"@types/react": "^
|
|
43
|
-
"@types/react-dom": "^
|
|
44
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
45
|
-
"@typescript-eslint/parser": "^
|
|
46
|
-
"@vitejs/plugin-react-swc": "^3.
|
|
47
|
-
"autoprefixer": "^10.4.19",
|
|
48
|
-
"eslint": "^
|
|
49
|
-
"eslint-config-prettier": "^
|
|
50
|
-
"eslint-plugin-import": "^2.32.0",
|
|
51
|
-
"eslint-plugin-prettier": "^5.
|
|
52
|
-
"eslint-plugin-react": "^7.
|
|
53
|
-
"eslint-plugin-react-hooks": "^
|
|
54
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
55
|
-
"eslint-plugin-storybook": "^0.
|
|
56
|
-
"glob": "^11.0.3",
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"react
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"vite
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
"react
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
"./dist/assets/
|
|
87
|
-
"./dist/assets/
|
|
88
|
-
"./dist/assets/
|
|
89
|
-
"./dist/assets/
|
|
90
|
-
"./dist/assets/
|
|
91
|
-
"./dist/assets/
|
|
92
|
-
"./dist/assets/
|
|
93
|
-
"./dist/assets/
|
|
94
|
-
"./dist/assets/
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
"@
|
|
113
|
-
"@
|
|
114
|
-
"@
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"react-
|
|
124
|
-
"react-
|
|
125
|
-
"react-
|
|
126
|
-
"react-
|
|
127
|
-
"react-
|
|
128
|
-
"react-
|
|
129
|
-
"
|
|
130
|
-
|
|
131
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "1mpacto-react-ui",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "2.0.0",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": ">=20.19.4",
|
|
8
|
+
"npm": ">=10.8.2"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"copy:toastify-css": "cp ./node_modules/react-toastify/dist/ReactToastify.css ./dist/assets/toast.css",
|
|
12
|
+
"copy:mixin-scss": "cp ./src/styles/_mixins.scss ./dist/assets/_mixins.scss",
|
|
13
|
+
"dev": "vite",
|
|
14
|
+
"transform:style": "node -r ./src/utils/register-ts-node.js ./src/utils/generate-file-style.js",
|
|
15
|
+
"postProcess:fontfamily": "node ./src/utils/post-process-css.js",
|
|
16
|
+
"process:transformStyle": "npm run postProcess:fontfamily && npm run transform:style",
|
|
17
|
+
"process:copyStyle": "npm run copy:mixin-scss && npm run copy:toastify-css",
|
|
18
|
+
"build": "tsc -b && vite build && npm run build:css && npm run build:fontfamily && npm run process:copyStyle && npm run process:transformStyle",
|
|
19
|
+
"build:css": "tailwindcss -i ./src/styles/index.scss -o ./dist/assets/core.css --minify",
|
|
20
|
+
"build:fontfamily": "sass ./src/styles/fontfamily.scss ./dist/assets/fontfamily.css --no-source-map --style=compressed",
|
|
21
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
22
|
+
"preview": "vite preview",
|
|
23
|
+
"prepare": "husky && npm run build",
|
|
24
|
+
"watch:build": "npx watch \"npm run build\" ./src",
|
|
25
|
+
"storybook": "storybook dev -p 6006",
|
|
26
|
+
"build-storybook": "storybook build",
|
|
27
|
+
"postbuild": "copyfiles -f src/types/* dist/types-external/",
|
|
28
|
+
"install": "copyfiles -f dist/types-external/* ../../src/types/"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@chromatic-com/storybook": "^4.0.1",
|
|
32
|
+
"@eslint/compat": "^1.3.1",
|
|
33
|
+
"@eslint/eslintrc": "^3.3.1",
|
|
34
|
+
"@eslint/js": "^9.32.0",
|
|
35
|
+
"@storybook/addon-docs": "^9.0.18",
|
|
36
|
+
"@storybook/addon-onboarding": "^9.0.18",
|
|
37
|
+
"@storybook/react-vite": "^9.0.18",
|
|
38
|
+
"@stylistic/eslint-plugin": "^5.2.2",
|
|
39
|
+
"@types/js-cookie": "^3.0.6",
|
|
40
|
+
"@types/node": "^20",
|
|
41
|
+
"@types/node-forge": "^1.3.14",
|
|
42
|
+
"@types/react": "^19.1.9",
|
|
43
|
+
"@types/react-dom": "^19.1.7",
|
|
44
|
+
"@typescript-eslint/eslint-plugin": "^8.38.0",
|
|
45
|
+
"@typescript-eslint/parser": "^8.38.0",
|
|
46
|
+
"@vitejs/plugin-react-swc": "^3.9.0",
|
|
47
|
+
"autoprefixer": "^10.4.19",
|
|
48
|
+
"eslint": "^9.32.0",
|
|
49
|
+
"eslint-config-prettier": "^10.1.8",
|
|
50
|
+
"eslint-plugin-import": "^2.32.0",
|
|
51
|
+
"eslint-plugin-prettier": "^5.5.3",
|
|
52
|
+
"eslint-plugin-react": "^7.37.5",
|
|
53
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
54
|
+
"eslint-plugin-react-refresh": "^0.4.19",
|
|
55
|
+
"eslint-plugin-storybook": "^9.0.18",
|
|
56
|
+
"glob": "^11.0.3",
|
|
57
|
+
"globals": "^16.3.0",
|
|
58
|
+
"husky": "^9.1.7",
|
|
59
|
+
"lint-staged": "^16.1.2",
|
|
60
|
+
"postcss": "^8.5.2",
|
|
61
|
+
"prettier": "^3.6.2",
|
|
62
|
+
"react": "^19.1.1",
|
|
63
|
+
"react-dom": "^19.1.1",
|
|
64
|
+
"sass": "^1.89.2",
|
|
65
|
+
"storybook": "^9.0.18",
|
|
66
|
+
"tailwindcss": "^3.4.4",
|
|
67
|
+
"ts-node": "^10.9.2",
|
|
68
|
+
"typescript": "~5.8.3",
|
|
69
|
+
"vite": "^6.3.5",
|
|
70
|
+
"vite-plugin-dts": "^4.5.4"
|
|
71
|
+
},
|
|
72
|
+
"peerDependencies": {
|
|
73
|
+
"react": ">= 19",
|
|
74
|
+
"react-dom": ">=19",
|
|
75
|
+
"yup": ">=1.4.0"
|
|
76
|
+
},
|
|
77
|
+
"main": "./dist/index.cjs",
|
|
78
|
+
"module": "./dist/index.mjs",
|
|
79
|
+
"types": "./dist/index.d.ts",
|
|
80
|
+
"exports": {
|
|
81
|
+
".": {
|
|
82
|
+
"types": "./dist/index.d.ts",
|
|
83
|
+
"import": "./dist/index.mjs",
|
|
84
|
+
"require": "./dist/index.cjs"
|
|
85
|
+
},
|
|
86
|
+
"./dist/assets/toast.css": "./dist/assets/toast.css",
|
|
87
|
+
"./dist/assets/core.css": "./dist/assets/core.css",
|
|
88
|
+
"./dist/assets/style.css": "./dist/assets/style.css",
|
|
89
|
+
"./dist/assets/colors.css": "./dist/assets/colors.css",
|
|
90
|
+
"./dist/assets/_colors.scss": "./dist/assets/_colors.scss",
|
|
91
|
+
"./dist/assets/typography.css": "./dist/assets/typography.css",
|
|
92
|
+
"./dist/assets/_typography.scss": "./dist/assets/_typography.scss",
|
|
93
|
+
"./dist/assets/screen.css": "./dist/assets/screen.css",
|
|
94
|
+
"./dist/assets/_screen.scss": "./dist/assets/_screen.scss",
|
|
95
|
+
"./dist/assets/_mixins.scss": "./dist/assets/_mixins.scss"
|
|
96
|
+
},
|
|
97
|
+
"files": [
|
|
98
|
+
"/dist"
|
|
99
|
+
],
|
|
100
|
+
"publishConfig": {
|
|
101
|
+
"access": "public"
|
|
102
|
+
},
|
|
103
|
+
"lint-staged": {
|
|
104
|
+
"*.{js,jsx,ts,tsx}": [
|
|
105
|
+
"eslint --quiet --fix"
|
|
106
|
+
],
|
|
107
|
+
"*.{json,js,ts,jsx,tsx,html}": [
|
|
108
|
+
"prettier --write --ignore-unknown"
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
"dependencies": {
|
|
112
|
+
"@floating-ui/react": "^0.27.15",
|
|
113
|
+
"@internationalized/date": "^3.8.2",
|
|
114
|
+
"@tanstack/react-table": "^8.21.3",
|
|
115
|
+
"@tinymce/tinymce-react": "^6.2.1",
|
|
116
|
+
"bignumber.js": "^9.1.2",
|
|
117
|
+
"chart.js": "^4.5.0",
|
|
118
|
+
"copyfiles": "^2.4.1",
|
|
119
|
+
"date-fns": "^3.6.0",
|
|
120
|
+
"js-cookie": "^3.0.5",
|
|
121
|
+
"lossless-json": "^4.0.2",
|
|
122
|
+
"node-forge": "^1.3.1",
|
|
123
|
+
"react-aria": "^3.42.0",
|
|
124
|
+
"react-chartjs-2": "^5.3.0",
|
|
125
|
+
"react-number-format": "^5.4.4",
|
|
126
|
+
"react-select": "^5.10.2",
|
|
127
|
+
"react-stately": "^3.40.0",
|
|
128
|
+
"react-toastify": "^11.0.5",
|
|
129
|
+
"react-virtuoso": "^4.13.0",
|
|
130
|
+
"tinymce": "^7.9.1"
|
|
131
|
+
}
|
|
132
|
+
}
|