iguazio.dashboard-react-controls 3.2.21 → 3.2.22
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/components/ActionsMenu/ActionsMenu.d.ts +17 -10
- package/dist/components/ActionsMenu/ActionsMenu.d.ts.map +1 -1
- package/dist/components/Backdrop/Backdrop.d.ts +8 -7
- package/dist/components/Backdrop/Backdrop.d.ts.map +1 -1
- package/dist/components/BlockerSpy/BlockerSpy.d.ts +4 -3
- package/dist/components/BlockerSpy/BlockerSpy.d.ts.map +1 -1
- package/dist/components/Button/Button.d.ts +16 -15
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/Button.stories.d.ts +69 -7
- package/dist/components/Button/Button.stories.d.ts.map +1 -1
- package/dist/components/ChipForm/ChipForm.d.ts +20 -12
- package/dist/components/ChipForm/ChipForm.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.d.ts +21 -20
- package/dist/components/ConfirmDialog/ConfirmDialog.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.stories.d.ts +22 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.stories.d.ts.map +1 -1
- package/dist/components/CopyToClipboard/CopyToClipboard.d.ts +11 -10
- package/dist/components/CopyToClipboard/CopyToClipboard.d.ts.map +1 -1
- package/dist/components/ErrorMessage/ErrorMessage.d.ts +5 -4
- package/dist/components/ErrorMessage/ErrorMessage.d.ts.map +1 -1
- package/dist/components/FormCheckBox/FormCheckBox.d.ts +13 -12
- package/dist/components/FormCheckBox/FormCheckBox.d.ts.map +1 -1
- package/dist/components/FormCheckBox/FormCheckbox.stories.d.ts +8 -1
- package/dist/components/FormCheckBox/FormCheckbox.stories.d.ts.map +1 -1
- package/dist/components/FormChipCell/FormChip/FormChip.d.ts +24 -23
- package/dist/components/FormChipCell/FormChip/FormChip.d.ts.map +1 -1
- package/dist/components/FormChipCell/FormChipCell.d.ts +30 -29
- package/dist/components/FormChipCell/FormChipCell.d.ts.map +1 -1
- package/dist/components/FormChipCell/FormChipCellView.d.ts +29 -28
- package/dist/components/FormChipCell/FormChipCellView.d.ts.map +1 -1
- package/dist/components/FormChipCell/HiddenChipsBlock/HiddenChipsBlock.d.ts +16 -7
- package/dist/components/FormChipCell/HiddenChipsBlock/HiddenChipsBlock.d.ts.map +1 -1
- package/dist/components/FormChipCell/NewChipForm/NewChipForm.d.ts +26 -18
- package/dist/components/FormChipCell/NewChipForm/NewChipForm.d.ts.map +1 -1
- package/dist/components/FormChipCell/NewChipInput/NewChipInput.d.ts +5 -4
- package/dist/components/FormChipCell/NewChipInput/NewChipInput.d.ts.map +1 -1
- package/dist/components/FormCombobox/FormCombobox.d.ts +44 -39
- package/dist/components/FormCombobox/FormCombobox.d.ts.map +1 -1
- package/dist/components/FormCombobox/FormCombobox.stories.d.ts +58 -6
- package/dist/components/FormCombobox/FormCombobox.stories.d.ts.map +1 -1
- package/dist/components/FormInput/FormInput.d.ts +77 -1
- package/dist/components/FormInput/FormInput.d.ts.map +1 -1
- package/dist/components/FormInput/FormInput.stories.d.ts +86 -8
- package/dist/components/FormInput/FormInput.stories.d.ts.map +1 -1
- package/dist/components/FormInput/InputNumberButtons/InputNumberButtons.d.ts +12 -11
- package/dist/components/FormInput/InputNumberButtons/InputNumberButtons.d.ts.map +1 -1
- package/dist/components/FormKeyValueTable/FormKeyValueTable.d.ts +41 -37
- package/dist/components/FormKeyValueTable/FormKeyValueTable.d.ts.map +1 -1
- package/dist/components/FormOnChange/FormOnChange.d.ts +4 -3
- package/dist/components/FormOnChange/FormOnChange.d.ts.map +1 -1
- package/dist/components/FormRadio/FormRadio.d.ts +10 -9
- package/dist/components/FormRadio/FormRadio.d.ts.map +1 -1
- package/dist/components/FormRadio/FormRadio.stories.d.ts +8 -1
- package/dist/components/FormRadio/FormRadio.stories.d.ts.map +1 -1
- package/dist/components/FormSelect/FormSelect.d.ts +44 -34
- package/dist/components/FormSelect/FormSelect.d.ts.map +1 -1
- package/dist/components/FormSelect/FormSelect.stories.d.ts +36 -4
- package/dist/components/FormSelect/FormSelect.stories.d.ts.map +1 -1
- package/dist/components/FormTextarea/FormTextarea.d.ts +31 -30
- package/dist/components/FormTextarea/FormTextarea.d.ts.map +1 -1
- package/dist/components/FormTextarea/FormTextarea.stories.d.ts +26 -3
- package/dist/components/FormTextarea/FormTextarea.stories.d.ts.map +1 -1
- package/dist/components/FormToggle/FormToggle.d.ts +14 -13
- package/dist/components/FormToggle/FormToggle.d.ts.map +1 -1
- package/dist/components/LoadButton/LoadButton.d.ts +8 -7
- package/dist/components/LoadButton/LoadButton.d.ts.map +1 -1
- package/dist/components/LoadButton/LoadButton.stories.d.ts +29 -3
- package/dist/components/LoadButton/LoadButton.stories.d.ts.map +1 -1
- package/dist/components/Loader/Loader.d.ts +14 -1
- package/dist/components/Loader/Loader.d.ts.map +1 -1
- package/dist/components/Loader/LoaderForSuspenseFallback.d.ts +2 -1
- package/dist/components/Loader/LoaderForSuspenseFallback.d.ts.map +1 -1
- package/dist/components/Modal/Modal.d.ts +19 -18
- package/dist/components/Modal/Modal.d.ts.map +1 -1
- package/dist/components/PopUpDialog/PopUpDialog.d.ts +22 -20
- package/dist/components/PopUpDialog/PopUpDialog.d.ts.map +1 -1
- package/dist/components/ReadOnlyChips/ReadOnlyChips.d.ts +5 -4
- package/dist/components/ReadOnlyChips/ReadOnlyChips.d.ts.map +1 -1
- package/dist/components/RoundedIcon/RoundedIcon.d.ts +15 -14
- package/dist/components/RoundedIcon/RoundedIcon.d.ts.map +1 -1
- package/dist/components/RoundedIcon/RoundedIcon.stories.d.ts +13 -2
- package/dist/components/RoundedIcon/RoundedIcon.stories.d.ts.map +1 -1
- package/dist/components/TableCell/TableCell.d.ts +20 -19
- package/dist/components/TableCell/TableCell.d.ts.map +1 -1
- package/dist/components/TabsSlider/TabsSlider.d.ts +18 -12
- package/dist/components/TabsSlider/TabsSlider.d.ts.map +1 -1
- package/dist/components/Tip/Tip.d.ts +7 -6
- package/dist/components/Tip/Tip.d.ts.map +1 -1
- package/dist/components/Tip/Tip.stories.d.ts +6 -1
- package/dist/components/Tip/Tip.stories.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +17 -16
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.stories.d.ts +16 -2
- package/dist/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
- package/dist/components/TooltipTemplate/ProducerTooltipTemplate.d.ts +6 -5
- package/dist/components/TooltipTemplate/ProducerTooltipTemplate.d.ts.map +1 -1
- package/dist/components/TooltipTemplate/TextTooltipTemplate.d.ts +6 -5
- package/dist/components/TooltipTemplate/TextTooltipTemplate.d.ts.map +1 -1
- package/dist/components/Wizard/Wizard.d.ts +16 -15
- package/dist/components/Wizard/Wizard.d.ts.map +1 -1
- package/dist/components/Wizard/WizardSteps/WizardSteps.d.ts +13 -6
- package/dist/components/Wizard/WizardSteps/WizardSteps.d.ts.map +1 -1
- package/dist/elements/ActionsMenuItem/ActionsMenuItem.d.ts +7 -6
- package/dist/elements/ActionsMenuItem/ActionsMenuItem.d.ts.map +1 -1
- package/dist/elements/FormActionButton/FormActionButton.d.ts +13 -12
- package/dist/elements/FormActionButton/FormActionButton.d.ts.map +1 -1
- package/dist/elements/FormRowActions/FormRowActions.d.ts +14 -13
- package/dist/elements/FormRowActions/FormRowActions.d.ts.map +1 -1
- package/dist/elements/OptionsMenu/OptionsMenu.d.ts +7 -6
- package/dist/elements/OptionsMenu/OptionsMenu.d.ts.map +1 -1
- package/dist/elements/SelectOption/SelectOption.d.ts +20 -10
- package/dist/elements/SelectOption/SelectOption.d.ts.map +1 -1
- package/dist/elements/TableHead/TableHead.d.ts +8 -7
- package/dist/elements/TableHead/TableHead.d.ts.map +1 -1
- package/dist/elements/TableLinkCell/TableLinkCell.d.ts +15 -14
- package/dist/elements/TableLinkCell/TableLinkCell.d.ts.map +1 -1
- package/dist/elements/TableTypeCell/TableTypeCell.d.ts +5 -4
- package/dist/elements/TableTypeCell/TableTypeCell.d.ts.map +1 -1
- package/dist/elements/ValidationTemplate/ValidationTemplate.d.ts +4 -3
- package/dist/elements/ValidationTemplate/ValidationTemplate.d.ts.map +1 -1
- package/dist/hooks/useDetails.hook.d.ts +35 -29
- package/dist/hooks/useDetails.hook.d.ts.map +1 -1
- package/dist/hooks/useDetailsHeader.hook.d.ts +59 -44
- package/dist/hooks/useDetailsHeader.hook.d.ts.map +1 -1
- package/dist/hooks/useFormTable.hook.d.ts +5 -5
- package/dist/hooks/useTable.hook.d.ts +42 -32
- package/dist/hooks/useTable.hook.d.ts.map +1 -1
- package/dist/images/activeFilter.svg +6 -0
- package/dist/images/activeFilter.svg.mjs +6 -0
- package/dist/images/activeFilter.svg.mjs.map +1 -0
- package/dist/images/calendar-chevron.svg +3 -0
- package/dist/images/calendar-chevron.svg.mjs +6 -0
- package/dist/images/calendar-chevron.svg.mjs.map +1 -0
- package/dist/images/check.svg +3 -0
- package/dist/images/check.svg.mjs +6 -0
- package/dist/images/check.svg.mjs.map +1 -0
- package/dist/images/clock.svg.mjs +6 -0
- package/dist/images/clock.svg.mjs.map +1 -0
- package/dist/images/double-check.svg +3 -0
- package/dist/images/filter-2.svg +5 -0
- package/dist/images/filter-2.svg.mjs +6 -0
- package/dist/images/filter-2.svg.mjs.map +1 -0
- package/dist/images/refresh-2.svg +3 -0
- package/dist/images/refresh-2.svg.mjs +6 -0
- package/dist/images/refresh-2.svg.mjs.map +1 -0
- package/dist/images/search2-icon.svg +3 -0
- package/dist/images/select.svg +3 -0
- package/dist/images/select.svg.mjs +6 -0
- package/dist/images/select.svg.mjs.map +1 -0
- package/dist/images/sort-arrow.svg +3 -0
- package/dist/images/sort-arrow.svg.mjs +6 -0
- package/dist/images/sort-arrow.svg.mjs.map +1 -0
- package/dist/nextGenComponents/components/CustomRangePicker/CustomRangePicker.d.ts +10 -0
- package/dist/nextGenComponents/components/CustomRangePicker/CustomRangePicker.d.ts.map +1 -0
- package/dist/nextGenComponents/components/CustomRangePicker/CustomRangePicker.mjs +103 -0
- package/dist/nextGenComponents/components/CustomRangePicker/CustomRangePicker.mjs.map +1 -0
- package/dist/nextGenComponents/components/CustomRangePicker/DateTimePickerPanel.d.ts +14 -0
- package/dist/nextGenComponents/components/CustomRangePicker/DateTimePickerPanel.d.ts.map +1 -0
- package/dist/nextGenComponents/components/CustomRangePicker/DateTimePickerPanel.mjs +115 -0
- package/dist/nextGenComponents/components/CustomRangePicker/DateTimePickerPanel.mjs.map +1 -0
- package/dist/nextGenComponents/components/CustomRangePicker/MaskedInput.d.ts +14 -0
- package/dist/nextGenComponents/components/CustomRangePicker/MaskedInput.d.ts.map +1 -0
- package/dist/nextGenComponents/components/CustomRangePicker/MaskedInput.mjs +109 -0
- package/dist/nextGenComponents/components/CustomRangePicker/MaskedInput.mjs.map +1 -0
- package/dist/nextGenComponents/components/CustomRangePicker/TimePickerInput.d.ts +8 -0
- package/dist/nextGenComponents/components/CustomRangePicker/TimePickerInput.d.ts.map +1 -0
- package/dist/nextGenComponents/components/CustomRangePicker/TimePickerInput.mjs +109 -0
- package/dist/nextGenComponents/components/CustomRangePicker/TimePickerInput.mjs.map +1 -0
- package/dist/nextGenComponents/components/CustomRangePicker/index.d.ts +2 -0
- package/dist/nextGenComponents/components/CustomRangePicker/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/CustomRangePicker/index.mjs +5 -0
- package/dist/nextGenComponents/components/CustomRangePicker/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/DataTable/DataTable.d.ts +29 -0
- package/dist/nextGenComponents/components/DataTable/DataTable.d.ts.map +1 -0
- package/dist/nextGenComponents/components/DataTable/DataTable.mjs +223 -0
- package/dist/nextGenComponents/components/DataTable/DataTable.mjs.map +1 -0
- package/dist/nextGenComponents/components/DataTable/DataTable.utils.d.ts +11 -0
- package/dist/nextGenComponents/components/DataTable/DataTable.utils.d.ts.map +1 -0
- package/dist/nextGenComponents/components/DataTable/DataTable.utils.mjs +17 -0
- package/dist/nextGenComponents/components/DataTable/DataTable.utils.mjs.map +1 -0
- package/dist/nextGenComponents/components/DataTable/checkboxColumn.d.ts +4 -0
- package/dist/nextGenComponents/components/DataTable/checkboxColumn.d.ts.map +1 -0
- package/dist/nextGenComponents/components/DataTable/checkboxColumn.mjs +30 -0
- package/dist/nextGenComponents/components/DataTable/checkboxColumn.mjs.map +1 -0
- package/dist/nextGenComponents/components/DataTable/index.d.ts +2 -0
- package/dist/nextGenComponents/components/DataTable/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/DataTable/index.mjs +5 -0
- package/dist/nextGenComponents/components/DataTable/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/DetailsPanel/DetailsPanel.d.ts +11 -0
- package/dist/nextGenComponents/components/DetailsPanel/DetailsPanel.d.ts.map +1 -0
- package/dist/nextGenComponents/components/DetailsPanel/DetailsPanel.mjs +53 -0
- package/dist/nextGenComponents/components/DetailsPanel/DetailsPanel.mjs.map +1 -0
- package/dist/nextGenComponents/components/DetailsPanel/index.d.ts +2 -0
- package/dist/nextGenComponents/components/DetailsPanel/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/DetailsPanel/index.mjs +5 -0
- package/dist/nextGenComponents/components/DetailsPanel/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/EllipsisTooltip/EllipsisTooltip.d.ts +8 -0
- package/dist/nextGenComponents/components/EllipsisTooltip/EllipsisTooltip.d.ts.map +1 -0
- package/dist/nextGenComponents/components/EllipsisTooltip/EllipsisTooltip.mjs +20 -0
- package/dist/nextGenComponents/components/EllipsisTooltip/EllipsisTooltip.mjs.map +1 -0
- package/dist/nextGenComponents/components/EllipsisTooltip/index.d.ts +2 -0
- package/dist/nextGenComponents/components/EllipsisTooltip/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/EllipsisTooltip/index.mjs +5 -0
- package/dist/nextGenComponents/components/EllipsisTooltip/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/FilterPopover/FilterPopover.d.ts +10 -0
- package/dist/nextGenComponents/components/FilterPopover/FilterPopover.d.ts.map +1 -0
- package/dist/nextGenComponents/components/FilterPopover/FilterPopover.mjs +157 -0
- package/dist/nextGenComponents/components/FilterPopover/FilterPopover.mjs.map +1 -0
- package/dist/nextGenComponents/components/FilterPopover/index.d.ts +2 -0
- package/dist/nextGenComponents/components/FilterPopover/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/FilterPopover/index.mjs +5 -0
- package/dist/nextGenComponents/components/FilterPopover/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/Loader/Loader.d.ts +16 -0
- package/dist/nextGenComponents/components/Loader/Loader.d.ts.map +1 -0
- package/dist/nextGenComponents/components/Loader/Loader.mjs +62 -0
- package/dist/nextGenComponents/components/Loader/Loader.mjs.map +1 -0
- package/dist/nextGenComponents/components/Loader/index.d.ts +3 -0
- package/dist/nextGenComponents/components/Loader/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/Loader/index.mjs +5 -0
- package/dist/nextGenComponents/components/Loader/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/MultiSelectField/MultiSelectField.d.ts +15 -0
- package/dist/nextGenComponents/components/MultiSelectField/MultiSelectField.d.ts.map +1 -0
- package/dist/nextGenComponents/components/MultiSelectField/MultiSelectField.mjs +113 -0
- package/dist/nextGenComponents/components/MultiSelectField/MultiSelectField.mjs.map +1 -0
- package/dist/nextGenComponents/components/MultiSelectField/index.d.ts +3 -0
- package/dist/nextGenComponents/components/MultiSelectField/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/MultiSelectField/index.mjs +6 -0
- package/dist/nextGenComponents/components/MultiSelectField/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/PaginationControls/PaginationControls.d.ts +17 -0
- package/dist/nextGenComponents/components/PaginationControls/PaginationControls.d.ts.map +1 -0
- package/dist/nextGenComponents/components/PaginationControls/PaginationControls.mjs +106 -0
- package/dist/nextGenComponents/components/PaginationControls/PaginationControls.mjs.map +1 -0
- package/dist/nextGenComponents/components/PaginationControls/index.d.ts +3 -0
- package/dist/nextGenComponents/components/PaginationControls/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/PaginationControls/index.mjs +5 -0
- package/dist/nextGenComponents/components/PaginationControls/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/RefreshButton/RefreshButton.d.ts +5 -0
- package/dist/nextGenComponents/components/RefreshButton/RefreshButton.d.ts.map +1 -0
- package/dist/nextGenComponents/components/RefreshButton/RefreshButton.mjs +20 -0
- package/dist/nextGenComponents/components/RefreshButton/RefreshButton.mjs.map +1 -0
- package/dist/nextGenComponents/components/RefreshButton/index.d.ts +2 -0
- package/dist/nextGenComponents/components/RefreshButton/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/RefreshButton/index.mjs +5 -0
- package/dist/nextGenComponents/components/RefreshButton/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/RowActions/ActionMenu/ActionMenu.d.ts +8 -0
- package/dist/nextGenComponents/components/RowActions/ActionMenu/ActionMenu.d.ts.map +1 -0
- package/dist/nextGenComponents/components/RowActions/ActionMenu/ActionMenu.mjs +58 -0
- package/dist/nextGenComponents/components/RowActions/ActionMenu/ActionMenu.mjs.map +1 -0
- package/dist/nextGenComponents/components/RowActions/RowActions.d.ts +8 -0
- package/dist/nextGenComponents/components/RowActions/RowActions.d.ts.map +1 -0
- package/dist/nextGenComponents/components/RowActions/RowActions.mjs +19 -0
- package/dist/nextGenComponents/components/RowActions/RowActions.mjs.map +1 -0
- package/dist/nextGenComponents/components/RowActions/SingleActionButton/SingleActionButton.d.ts +9 -0
- package/dist/nextGenComponents/components/RowActions/SingleActionButton/SingleActionButton.d.ts.map +1 -0
- package/dist/nextGenComponents/components/RowActions/SingleActionButton/SingleActionButton.mjs +27 -0
- package/dist/nextGenComponents/components/RowActions/SingleActionButton/SingleActionButton.mjs.map +1 -0
- package/dist/nextGenComponents/components/RowActions/index.d.ts +5 -0
- package/dist/nextGenComponents/components/RowActions/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/RowActions/index.mjs +9 -0
- package/dist/nextGenComponents/components/RowActions/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/StatsCard/StatsCard.d.ts +47 -0
- package/dist/nextGenComponents/components/StatsCard/StatsCard.d.ts.map +1 -0
- package/dist/nextGenComponents/components/StatsCard/StatsCard.mjs +75 -0
- package/dist/nextGenComponents/components/StatsCard/StatsCard.mjs.map +1 -0
- package/dist/nextGenComponents/components/StatsCard/index.d.ts +2 -0
- package/dist/nextGenComponents/components/StatsCard/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/StatsCard/index.mjs +5 -0
- package/dist/nextGenComponents/components/StatsCard/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/TimeFilterDropdown/TimeFilterDropdown.d.ts +4 -0
- package/dist/nextGenComponents/components/TimeFilterDropdown/TimeFilterDropdown.d.ts.map +1 -0
- package/dist/nextGenComponents/components/TimeFilterDropdown/TimeFilterDropdown.mjs +106 -0
- package/dist/nextGenComponents/components/TimeFilterDropdown/TimeFilterDropdown.mjs.map +1 -0
- package/dist/nextGenComponents/components/TimeFilterDropdown/index.d.ts +2 -0
- package/dist/nextGenComponents/components/TimeFilterDropdown/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/TimeFilterDropdown/index.mjs +5 -0
- package/dist/nextGenComponents/components/TimeFilterDropdown/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/index.d.ts +32 -0
- package/dist/nextGenComponents/components/index.d.ts.map +1 -0
- package/dist/nextGenComponents/components/index.mjs +83 -0
- package/dist/nextGenComponents/components/index.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/button.d.ts +14 -0
- package/dist/nextGenComponents/components/ui/button.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/button.mjs +56 -0
- package/dist/nextGenComponents/components/ui/button.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/calendar.d.ts +29 -0
- package/dist/nextGenComponents/components/ui/calendar.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/calendar.mjs +157 -0
- package/dist/nextGenComponents/components/ui/calendar.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/card.d.ts +9 -0
- package/dist/nextGenComponents/components/ui/card.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/card.mjs +50 -0
- package/dist/nextGenComponents/components/ui/card.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/checkbox.d.ts +8 -0
- package/dist/nextGenComponents/components/ui/checkbox.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/checkbox.mjs +33 -0
- package/dist/nextGenComponents/components/ui/checkbox.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/dropdown-menu.d.ts +28 -0
- package/dist/nextGenComponents/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/dropdown-menu.mjs +131 -0
- package/dist/nextGenComponents/components/ui/dropdown-menu.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/input.d.ts +4 -0
- package/dist/nextGenComponents/components/ui/input.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/input.mjs +33 -0
- package/dist/nextGenComponents/components/ui/input.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/pagination.d.ts +25 -0
- package/dist/nextGenComponents/components/ui/pagination.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/pagination.mjs +93 -0
- package/dist/nextGenComponents/components/ui/pagination.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/popover.d.ts +7 -0
- package/dist/nextGenComponents/components/ui/popover.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/popover.mjs +24 -0
- package/dist/nextGenComponents/components/ui/popover.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/scroll-area.d.ts +6 -0
- package/dist/nextGenComponents/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/scroll-area.mjs +39 -0
- package/dist/nextGenComponents/components/ui/scroll-area.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/select.d.ts +14 -0
- package/dist/nextGenComponents/components/ui/select.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/select.mjs +117 -0
- package/dist/nextGenComponents/components/ui/select.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/separator.d.ts +5 -0
- package/dist/nextGenComponents/components/ui/separator.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/separator.mjs +25 -0
- package/dist/nextGenComponents/components/ui/separator.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/tabs.d.ts +8 -0
- package/dist/nextGenComponents/components/ui/tabs.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/tabs.mjs +56 -0
- package/dist/nextGenComponents/components/ui/tabs.mjs.map +1 -0
- package/dist/nextGenComponents/components/ui/tooltip.d.ts +8 -0
- package/dist/nextGenComponents/components/ui/tooltip.d.ts.map +1 -0
- package/dist/nextGenComponents/components/ui/tooltip.mjs +24 -0
- package/dist/nextGenComponents/components/ui/tooltip.mjs.map +1 -0
- package/dist/nextGenComponents/constants/index.d.ts +41 -0
- package/dist/nextGenComponents/constants/index.d.ts.map +1 -0
- package/dist/nextGenComponents/constants/index.mjs +49 -0
- package/dist/nextGenComponents/constants/index.mjs.map +1 -0
- package/dist/nextGenComponents/hooks/useClickOutside.d.ts +3 -0
- package/dist/nextGenComponents/hooks/useClickOutside.d.ts.map +1 -0
- package/dist/nextGenComponents/hooks/useClickOutside.mjs +22 -0
- package/dist/nextGenComponents/hooks/useClickOutside.mjs.map +1 -0
- package/dist/nextGenComponents/index.d.ts +4 -0
- package/dist/nextGenComponents/index.d.ts.map +1 -0
- package/dist/nextGenComponents/index.mjs +103 -0
- package/dist/nextGenComponents/index.mjs.map +1 -0
- package/dist/nextGenComponents/lib/utils.d.ts +3 -0
- package/dist/nextGenComponents/lib/utils.d.ts.map +1 -0
- package/dist/nextGenComponents/lib/utils.mjs +7 -0
- package/dist/nextGenComponents/lib/utils.mjs.map +1 -0
- package/dist/nextGenComponents/stores/tableStore.d.ts +22 -0
- package/dist/nextGenComponents/stores/tableStore.d.ts.map +1 -0
- package/dist/nextGenComponents/stores/tableStore.mjs +36 -0
- package/dist/nextGenComponents/stores/tableStore.mjs.map +1 -0
- package/dist/nextGenComponents/types/table/filter.d.ts +21 -0
- package/dist/nextGenComponents/types/table/filter.d.ts.map +1 -0
- package/dist/nextGenComponents/types/table/rowAction.d.ts +13 -0
- package/dist/nextGenComponents/types/table/rowAction.d.ts.map +1 -0
- package/dist/nextGenComponents/types/table/timeFilter.d.ts +23 -0
- package/dist/nextGenComponents/types/table/timeFilter.d.ts.map +1 -0
- package/dist/nextGenComponents/utils/date.utils.d.ts +24 -0
- package/dist/nextGenComponents/utils/date.utils.d.ts.map +1 -0
- package/dist/nextGenComponents/utils/date.utils.mjs +79 -0
- package/dist/nextGenComponents/utils/date.utils.mjs.map +1 -0
- package/dist/nextGenComponents/utils/tableFilters.utils.d.ts +7 -0
- package/dist/nextGenComponents/utils/tableFilters.utils.d.ts.map +1 -0
- package/dist/nextGenComponents/utils/tableFilters.utils.mjs +7 -0
- package/dist/nextGenComponents/utils/tableFilters.utils.mjs.map +1 -0
- package/dist/reducers/notificationReducer.d.ts +1 -1
- package/dist/types.d.ts +148 -31
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/chips.util.d.ts +2 -2
- package/dist/utils/chips.util.d.ts.map +1 -1
- package/dist/utils/common.util.d.ts +1 -1
- package/dist/utils/common.util.d.ts.map +1 -1
- package/dist/utils/datetime.util.d.ts +3 -3
- package/dist/utils/datetime.util.d.ts.map +1 -1
- package/dist/utils/generateChipsList.util.d.ts +1 -1
- package/dist/utils/notification.util.d.ts +1 -1
- package/dist/utils/notification.util.d.ts.map +1 -1
- package/dist/utils/proxyServerConfig.util.d.ts +4 -4
- package/package.json +33 -8
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { format as i, parse as p } from "date-fns";
|
|
2
|
+
const d = "en-US", s = () => {
|
|
3
|
+
if (typeof navigator > "u") return d;
|
|
4
|
+
const t = /* @__PURE__ */ new Set(["en-GB", "en-US"]);
|
|
5
|
+
return (navigator.languages ?? [navigator.language]).find((r) => t.has(r)) ?? d;
|
|
6
|
+
}, m = () => !!new Intl.DateTimeFormat(s(), { hour: "numeric" }).resolvedOptions().hour12, u = () => m() ? "hh:mm a" : "HH:mm", H = (t) => new Intl.DateTimeFormat(s(), {
|
|
7
|
+
day: "2-digit",
|
|
8
|
+
month: "2-digit",
|
|
9
|
+
year: "numeric",
|
|
10
|
+
numberingSystem: "latn",
|
|
11
|
+
calendar: "gregory"
|
|
12
|
+
}).format(t), T = (t) => {
|
|
13
|
+
const e = t.trim().match(/^(\d{2})\/(\d{2})\/(\d{4})$/);
|
|
14
|
+
if (!e) return null;
|
|
15
|
+
const [, n, r, o] = e, a = s() === "en-US", l = parseInt(a ? n : r, 10) - 1, f = parseInt(a ? r : n, 10), g = parseInt(o, 10), c = new Date(g, l, f);
|
|
16
|
+
return c.getFullYear() !== g || c.getMonth() !== l || c.getDate() !== f ? null : c;
|
|
17
|
+
}, A = H, I = T, N = () => s() === "en-US" ? "mm/dd/yyyy" : "dd/mm/yyyy", Y = () => m() ? "hh:mm AM" : "HH:mm", F = () => m() ? "12:00 AM" : "00:00", _ = () => m() ? "11:30 PM" : "23:30", y = 48, L = () => {
|
|
18
|
+
const t = u();
|
|
19
|
+
return Array.from(
|
|
20
|
+
{ length: y },
|
|
21
|
+
(e, n) => i(new Date(2e3, 0, 1, Math.floor(n / 2), n % 2 * 30), t)
|
|
22
|
+
);
|
|
23
|
+
}, w = L, M = (t) => t.toISOString(), U = M, S = ["hh:mm a", "h:mm a", "HH:mm", "H:mm"], b = (t, e, n) => {
|
|
24
|
+
const r = e || n;
|
|
25
|
+
if (!r) return t;
|
|
26
|
+
for (const o of S) {
|
|
27
|
+
const a = p(r, o, t);
|
|
28
|
+
if (!Number.isNaN(a.getTime())) return a;
|
|
29
|
+
}
|
|
30
|
+
return t;
|
|
31
|
+
}, D = (t) => {
|
|
32
|
+
if (!t) return;
|
|
33
|
+
const e = new Date(t);
|
|
34
|
+
if (!Number.isNaN(e.getTime()))
|
|
35
|
+
return new Date(e.getFullYear(), e.getMonth(), e.getDate());
|
|
36
|
+
}, E = (t) => {
|
|
37
|
+
if (!t) return "";
|
|
38
|
+
const e = new Date(t);
|
|
39
|
+
return Number.isNaN(e.getTime()) ? "" : i(new Date(2e3, 0, 1, e.getHours(), e.getMinutes()), u());
|
|
40
|
+
}, P = (t) => {
|
|
41
|
+
const e = t.trim().replace(/\s+/g, " ").replace(/(\d)([AaPp][Mm])/, "$1 $2");
|
|
42
|
+
if (!e) return "";
|
|
43
|
+
const n = new Date(2e3, 0, 1);
|
|
44
|
+
for (const r of S) {
|
|
45
|
+
const o = p(e, r, n);
|
|
46
|
+
if (!Number.isNaN(o.getTime()) && o.getFullYear() === 2e3)
|
|
47
|
+
return i(o, u());
|
|
48
|
+
}
|
|
49
|
+
return "";
|
|
50
|
+
}, h = { month: "short", day: "numeric" }, R = (t, e) => {
|
|
51
|
+
const n = D(t);
|
|
52
|
+
if (!n) return "";
|
|
53
|
+
const r = s(), o = n.toLocaleDateString(r, h);
|
|
54
|
+
if (!e) return o;
|
|
55
|
+
const a = D(e);
|
|
56
|
+
return a ? `${o} - ${a.toLocaleDateString(r, h)}` : o;
|
|
57
|
+
};
|
|
58
|
+
export {
|
|
59
|
+
b as applyHourToDate,
|
|
60
|
+
L as buildHalfHourOptions,
|
|
61
|
+
w as buildHalfHourOptions12h,
|
|
62
|
+
R as formatCustomRangeLabel,
|
|
63
|
+
A as formatDateDDMMYYYY,
|
|
64
|
+
H as formatLocalDate,
|
|
65
|
+
N as getDatePlaceholder,
|
|
66
|
+
F as getDefaultSinceHour,
|
|
67
|
+
_ as getDefaultUntilHour,
|
|
68
|
+
s as getSupportedLocale,
|
|
69
|
+
Y as getTimePlaceholder,
|
|
70
|
+
m as is12HourFormat,
|
|
71
|
+
E as isoToHour,
|
|
72
|
+
D as isoToLocalDate,
|
|
73
|
+
I as parseDateDDMMYYYY,
|
|
74
|
+
T as parseLocalDate,
|
|
75
|
+
P as parseTimeInput,
|
|
76
|
+
U as toLocalISO,
|
|
77
|
+
M as toUTCISO
|
|
78
|
+
};
|
|
79
|
+
//# sourceMappingURL=date.utils.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date.utils.mjs","sources":["../../../src/lib/nextGenComponents/utils/date.utils.ts"],"sourcesContent":["import { format, parse } from 'date-fns'\n\nconst DEFAULT_LOCALE = 'en-US'\n\nexport const getSupportedLocale = (): string => {\n if (typeof navigator === 'undefined') return DEFAULT_LOCALE\n const SUPPORTED_LOCALES = new Set(['en-GB', 'en-US'])\n const userLocales = navigator.languages ?? [navigator.language]\n const match = userLocales.find(locale => SUPPORTED_LOCALES.has(locale))\n return match ?? DEFAULT_LOCALE\n}\n\nexport const is12HourFormat = (): boolean =>\n !!new Intl.DateTimeFormat(getSupportedLocale(), { hour: 'numeric' }).resolvedOptions().hour12\n\nconst getTimeFormat = (): string => (is12HourFormat() ? 'hh:mm a' : 'HH:mm')\n\nexport const formatLocalDate = (d: Date): string =>\n new Intl.DateTimeFormat(getSupportedLocale(), {\n day: '2-digit',\n month: '2-digit',\n year: 'numeric',\n numberingSystem: 'latn',\n calendar: 'gregory'\n }).format(d)\n\nexport const parseLocalDate = (text: string): Date | null => {\n const match = text.trim().match(/^(\\d{2})\\/(\\d{2})\\/(\\d{4})$/)\n if (!match) return null\n\n const [, first, second, yearStr] = match\n const isUS = getSupportedLocale() === 'en-US'\n const month = (isUS ? parseInt(first, 10) : parseInt(second, 10)) - 1\n const day = isUS ? parseInt(second, 10) : parseInt(first, 10)\n const year = parseInt(yearStr, 10)\n\n const date = new Date(year, month, day)\n if (date.getFullYear() !== year || date.getMonth() !== month || date.getDate() !== day) {\n return null\n }\n return date\n}\n\n/** @deprecated Use formatLocalDate */\nexport const formatDateDDMMYYYY = formatLocalDate\n\n/** @deprecated Use parseLocalDate */\nexport const parseDateDDMMYYYY = parseLocalDate\n\nexport const getDatePlaceholder = (): string =>\n getSupportedLocale() === 'en-US' ? 'mm/dd/yyyy' : 'dd/mm/yyyy'\n\nexport const getTimePlaceholder = (): string => (is12HourFormat() ? 'hh:mm AM' : 'HH:mm')\n\nexport const getDefaultSinceHour = (): string => (is12HourFormat() ? '12:00 AM' : '00:00')\n\nexport const getDefaultUntilHour = (): string => (is12HourFormat() ? '11:30 PM' : '23:30')\n\nconst HALF_HOUR_SLOTS_PER_DAY = 24 * 2\n\nexport const buildHalfHourOptions = (): string[] => {\n const fmt = getTimeFormat()\n return Array.from({ length: HALF_HOUR_SLOTS_PER_DAY }, (_, i) =>\n format(new Date(2000, 0, 1, Math.floor(i / 2), (i % 2) * 30), fmt)\n )\n}\n\n/** @deprecated Use buildHalfHourOptions */\nexport const buildHalfHourOptions12h = buildHalfHourOptions\n\nexport const toUTCISO = (d: Date): string => d.toISOString()\n\n/** @deprecated Use toUTCISO */\nexport const toLocalISO = toUTCISO\n\nconst TIME_PARSE_FORMATS = ['hh:mm a', 'h:mm a', 'HH:mm', 'H:mm'] as const\n\nexport const applyHourToDate = (date: Date, hour: string, defaultHour?: string): Date => {\n const effectiveHour = hour || defaultHour\n if (!effectiveHour) return date\n for (const fmt of TIME_PARSE_FORMATS) {\n const parsed = parse(effectiveHour, fmt, date)\n if (!Number.isNaN(parsed.getTime())) return parsed\n }\n return date\n}\n\nexport const isoToLocalDate = (iso: string): Date | undefined => {\n if (!iso) return undefined\n const d = new Date(iso)\n if (Number.isNaN(d.getTime())) return undefined\n return new Date(d.getFullYear(), d.getMonth(), d.getDate())\n}\n\nexport const isoToHour = (iso: string): string => {\n if (!iso) return ''\n const d = new Date(iso)\n if (Number.isNaN(d.getTime())) return ''\n return format(new Date(2000, 0, 1, d.getHours(), d.getMinutes()), getTimeFormat())\n}\n\nexport const parseTimeInput = (text: string): string => {\n const trimmed = text\n .trim()\n .replace(/\\s+/g, ' ')\n .replace(/(\\d)([AaPp][Mm])/, '$1 $2')\n if (!trimmed) return ''\n\n const ref = new Date(2000, 0, 1)\n\n for (const fmt of TIME_PARSE_FORMATS) {\n const parsed = parse(trimmed, fmt, ref)\n if (!Number.isNaN(parsed.getTime()) && parsed.getFullYear() === 2000) {\n return format(parsed, getTimeFormat())\n }\n }\n\n return ''\n}\n\nconst SHORT_DATE_FORMAT: Intl.DateTimeFormatOptions = { month: 'short', day: 'numeric' }\n\nexport const formatCustomRangeLabel = (since: string, until?: string): string => {\n const from = isoToLocalDate(since)\n if (!from) return ''\n\n const locale = getSupportedLocale()\n const fromStr = from.toLocaleDateString(locale, SHORT_DATE_FORMAT)\n\n if (!until) return fromStr\n\n const to = isoToLocalDate(until)\n if (!to) return fromStr\n\n return `${fromStr} - ${to.toLocaleDateString(locale, SHORT_DATE_FORMAT)}`\n}\n"],"names":["DEFAULT_LOCALE","getSupportedLocale","SUPPORTED_LOCALES","locale","is12HourFormat","getTimeFormat","formatLocalDate","d","parseLocalDate","text","match","first","second","yearStr","isUS","month","day","year","date","formatDateDDMMYYYY","parseDateDDMMYYYY","getDatePlaceholder","getTimePlaceholder","getDefaultSinceHour","getDefaultUntilHour","HALF_HOUR_SLOTS_PER_DAY","buildHalfHourOptions","fmt","_","i","format","buildHalfHourOptions12h","toUTCISO","toLocalISO","TIME_PARSE_FORMATS","applyHourToDate","hour","defaultHour","effectiveHour","parsed","parse","isoToLocalDate","iso","isoToHour","parseTimeInput","trimmed","ref","SHORT_DATE_FORMAT","formatCustomRangeLabel","since","until","from","fromStr","to"],"mappings":"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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { DraftValues } from '@/stores/tableStore';
|
|
2
|
+
import type { FilterSchema } from '@/types/table/filter';
|
|
3
|
+
declare const objectValues: <T extends Record<string, unknown>>(obj: T) => Array<T[keyof T]>;
|
|
4
|
+
declare const buildInitialFromSchema: <K extends string>(schema: FilterSchema<K>) => DraftValues;
|
|
5
|
+
declare const hasActiveFilters: <K extends string>(schema: FilterSchema<K>) => boolean;
|
|
6
|
+
export { objectValues, buildInitialFromSchema, hasActiveFilters };
|
|
7
|
+
//# sourceMappingURL=tableFilters.utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableFilters.utils.d.ts","sourceRoot":"","sources":["../../../src/lib/nextGenComponents/utils/tableFilters.utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,KAAK,EAAkB,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAExE,QAAA,MAAM,YAAY,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,KAAK,CAAC,KAChC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAC9C,CAAA;AAED,QAAA,MAAM,sBAAsB,GAAI,CAAC,SAAS,MAAM,EAAE,QAAQ,YAAY,CAAC,CAAC,CAAC,KAAG,WAM3E,CAAA;AAQD,QAAA,MAAM,gBAAgB,GAAI,CAAC,SAAS,MAAM,EAAE,QAAQ,YAAY,CAAC,CAAC,CAAC,KAAG,OAGrE,CAAA;AAED,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
const s = (e) => Object.values(e), l = (e) => s(e).reduce((t, r) => (t[r.key] = r.defaultValue ?? (r.kind === "multi-select" ? [] : ""), t), {}), i = (e) => e === void 0 || e === "" || e === "all" ? !1 : Array.isArray(e) ? e.length > 0 && !(e.length === 1 && e[0] === "all") : !0, n = (e) => s(e).some((t) => i(t.defaultValue));
|
|
2
|
+
export {
|
|
3
|
+
l as buildInitialFromSchema,
|
|
4
|
+
n as hasActiveFilters,
|
|
5
|
+
s as objectValues
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=tableFilters.utils.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableFilters.utils.mjs","sources":["../../../src/lib/nextGenComponents/utils/tableFilters.utils.ts"],"sourcesContent":["import type { DraftValues } from '@/stores/tableStore'\nimport type { FilterFieldDef, FilterSchema } from '@/types/table/filter'\n\nconst objectValues = <T extends Record<string, unknown>>(obj: T) => {\n return Object.values(obj) as Array<T[keyof T]>\n}\n\nconst buildInitialFromSchema = <K extends string>(schema: FilterSchema<K>): DraftValues => {\n const fields = objectValues(schema) as FilterFieldDef<K>[]\n return fields.reduce<DraftValues>((acc, f) => {\n acc[f.key] = f.defaultValue ?? (f.kind === 'multi-select' ? [] : '')\n return acc\n }, {})\n}\n\nconst isActiveValue = (val: string | string[] | undefined): boolean => {\n if (val === undefined || val === '' || val === 'all') return false\n if (Array.isArray(val)) return val.length > 0 && !(val.length === 1 && val[0] === 'all')\n return true\n}\n\nconst hasActiveFilters = <K extends string>(schema: FilterSchema<K>): boolean => {\n const fields = objectValues(schema) as FilterFieldDef<K>[]\n return fields.some(field => isActiveValue(field.defaultValue))\n}\n\nexport { objectValues, buildInitialFromSchema, hasActiveFilters }\n"],"names":["objectValues","obj","buildInitialFromSchema","schema","acc","f","isActiveValue","val","hasActiveFilters","field"],"mappings":"AAGA,MAAMA,IAAe,CAAoCC,MAChD,OAAO,OAAOA,CAAG,GAGpBC,IAAyB,CAAmBC,MACjCH,EAAaG,CAAM,EACpB,OAAoB,CAACC,GAAKC,OACtCD,EAAIC,EAAE,GAAG,IAAIA,EAAE,iBAAiBA,EAAE,SAAS,iBAAiB,CAAA,IAAK,KAC1DD,IACN,CAAA,CAAE,GAGDE,IAAgB,CAACC,MACjBA,MAAQ,UAAaA,MAAQ,MAAMA,MAAQ,QAAc,KACzD,MAAM,QAAQA,CAAG,IAAUA,EAAI,SAAS,KAAK,EAAEA,EAAI,WAAW,KAAKA,EAAI,CAAC,MAAM,SAC3E,IAGHC,IAAmB,CAAmBL,MAC3BH,EAAaG,CAAM,EACpB,KAAK,CAAAM,MAASH,EAAcG,EAAM,YAAY,CAAC;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const setNotification: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "notification/setNotification">;
|
|
2
2
|
export const removeNotification: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "notification/removeNotification">;
|
|
3
3
|
declare const _default: import("redux").Reducer<{
|
|
4
|
-
notification:
|
|
4
|
+
notification: never[];
|
|
5
5
|
}>;
|
|
6
6
|
export default _default;
|
|
7
7
|
//# sourceMappingURL=notificationReducer.d.ts.map
|
package/dist/types.d.ts
CHANGED
|
@@ -1,32 +1,149 @@
|
|
|
1
|
-
export const BUTTON_VARIANTS:
|
|
2
|
-
export const CHIP:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export const
|
|
16
|
-
export const
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
export const
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
export const
|
|
30
|
-
export const
|
|
31
|
-
|
|
1
|
+
export const BUTTON_VARIANTS: PropTypes.Requireable<string>;
|
|
2
|
+
export const CHIP: PropTypes.Requireable<PropTypes.InferProps<{
|
|
3
|
+
delimiter: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
4
|
+
id: PropTypes.Requireable<string>;
|
|
5
|
+
value: PropTypes.Validator<string>;
|
|
6
|
+
}>>;
|
|
7
|
+
export const CHIP_INPUT_LIST: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
8
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
9
|
+
icon: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
10
|
+
id: PropTypes.Validator<string>;
|
|
11
|
+
label: PropTypes.Validator<string>;
|
|
12
|
+
subLabel: PropTypes.Requireable<string>;
|
|
13
|
+
ui: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
14
|
+
}> | null | undefined)[]>;
|
|
15
|
+
export const DENSITY_OPTIONS: PropTypes.Requireable<string>;
|
|
16
|
+
export const CHIP_OPTIONS: PropTypes.Requireable<PropTypes.InferProps<{
|
|
17
|
+
background: PropTypes.Requireable<string>;
|
|
18
|
+
boldValue: PropTypes.Requireable<boolean>;
|
|
19
|
+
borderColor: PropTypes.Requireable<string>;
|
|
20
|
+
density: PropTypes.Requireable<string>;
|
|
21
|
+
font: PropTypes.Requireable<string>;
|
|
22
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
23
|
+
}>>;
|
|
24
|
+
export const CHIPS: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
25
|
+
delimiter: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
26
|
+
id: PropTypes.Requireable<string>;
|
|
27
|
+
value: PropTypes.Validator<string>;
|
|
28
|
+
}> | null | undefined)[]>;
|
|
29
|
+
export const VISIBLE_CHIPS_MAX_LENGTH: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
30
|
+
export const POP_UP_CUSTOM_POSITION: PropTypes.Requireable<PropTypes.InferProps<{
|
|
31
|
+
element: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
32
|
+
position: PropTypes.Requireable<string>;
|
|
33
|
+
autoHorizontalPosition: PropTypes.Requireable<boolean>;
|
|
34
|
+
autoVerticalPosition: PropTypes.Requireable<boolean>;
|
|
35
|
+
}>>;
|
|
36
|
+
export const MODAL_SIZES: PropTypes.Requireable<string>;
|
|
37
|
+
export const CONFIRM_DIALOG_CANCEL_BUTTON: PropTypes.Requireable<PropTypes.InferProps<{
|
|
38
|
+
handler: PropTypes.Requireable<(...args: any[]) => any>;
|
|
39
|
+
label: PropTypes.Validator<string>;
|
|
40
|
+
variant: PropTypes.Validator<string>;
|
|
41
|
+
}>>;
|
|
42
|
+
export const CONFIRM_DIALOG_MESSAGE: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
|
|
43
|
+
export const CONFIRM_DIALOG_SUBMIT_BUTTON: PropTypes.Requireable<PropTypes.InferProps<{
|
|
44
|
+
handler: PropTypes.Validator<(...args: any[]) => any>;
|
|
45
|
+
label: PropTypes.Validator<string>;
|
|
46
|
+
variant: PropTypes.Validator<string>;
|
|
47
|
+
}>>;
|
|
48
|
+
export const WIZARD_STEPS_CONFIG: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
49
|
+
id: PropTypes.Validator<string>;
|
|
50
|
+
label: PropTypes.Validator<string>;
|
|
51
|
+
hidden: PropTypes.Requireable<boolean>;
|
|
52
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
53
|
+
nextIsDisabled: PropTypes.Requireable<boolean>;
|
|
54
|
+
}> | null | undefined)[]>;
|
|
55
|
+
export const INPUT_LINK: PropTypes.Requireable<PropTypes.InferProps<{
|
|
56
|
+
show: PropTypes.Requireable<NonNullable<string | boolean | null | undefined>>;
|
|
57
|
+
url: PropTypes.Requireable<string>;
|
|
58
|
+
}>>;
|
|
59
|
+
export const SELECT_OPTION: PropTypes.Requireable<PropTypes.InferProps<{
|
|
60
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
61
|
+
hidden: PropTypes.Requireable<boolean>;
|
|
62
|
+
icon: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
63
|
+
id: PropTypes.Validator<string>;
|
|
64
|
+
label: PropTypes.Validator<NonNullable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>>;
|
|
65
|
+
labelHtml: PropTypes.Requireable<string>;
|
|
66
|
+
status: PropTypes.Requireable<string>;
|
|
67
|
+
subLabel: PropTypes.Requireable<string>;
|
|
68
|
+
}>>;
|
|
69
|
+
export const SELECT_OPTIONS: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
70
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
71
|
+
hidden: PropTypes.Requireable<boolean>;
|
|
72
|
+
icon: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
73
|
+
id: PropTypes.Validator<string>;
|
|
74
|
+
label: PropTypes.Validator<NonNullable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>>;
|
|
75
|
+
labelHtml: PropTypes.Requireable<string>;
|
|
76
|
+
status: PropTypes.Requireable<string>;
|
|
77
|
+
subLabel: PropTypes.Requireable<string>;
|
|
78
|
+
}> | null | undefined)[]>;
|
|
79
|
+
export const INPUT_VALIDATION_RULES: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
80
|
+
name: PropTypes.Validator<string>;
|
|
81
|
+
label: PropTypes.Validator<string>;
|
|
82
|
+
pattern: PropTypes.Validator<NonNullable<NonNullable<RegExp | ((...args: any[]) => any) | null | undefined>>>;
|
|
83
|
+
isValid: PropTypes.Requireable<boolean>;
|
|
84
|
+
}> | null | undefined)[]>;
|
|
85
|
+
export const COMBOBOX_SUGGESTION_LIST: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
86
|
+
customDelimiter: PropTypes.Requireable<string>;
|
|
87
|
+
id: PropTypes.Validator<string>;
|
|
88
|
+
label: PropTypes.Validator<string>;
|
|
89
|
+
}> | null | undefined)[]>;
|
|
90
|
+
export const COMBOBOX_VALIDATION_RULES: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
91
|
+
name: PropTypes.Validator<string>;
|
|
92
|
+
label: PropTypes.Validator<string>;
|
|
93
|
+
isValid: PropTypes.Requireable<boolean>;
|
|
94
|
+
}> | null | undefined)[]>;
|
|
95
|
+
export const COMBOBOX_SELECT_OPTIONS: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
96
|
+
className: PropTypes.Requireable<string>;
|
|
97
|
+
id: PropTypes.Validator<string>;
|
|
98
|
+
label: PropTypes.Validator<string>;
|
|
99
|
+
}> | null | undefined)[]>;
|
|
100
|
+
export const FORM_TABLE_EDITING_ITEM: PropTypes.Requireable<PropTypes.InferProps<{
|
|
101
|
+
data: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
|
|
102
|
+
ui: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
103
|
+
isNew: PropTypes.Requireable<boolean>;
|
|
104
|
+
index: PropTypes.Validator<number>;
|
|
105
|
+
fieldsPath: PropTypes.Validator<string>;
|
|
106
|
+
}>>>;
|
|
107
|
+
}>>;
|
|
108
|
+
export const SORT_PROPS: PropTypes.Requireable<PropTypes.InferProps<{
|
|
109
|
+
selectedColumnName: PropTypes.Validator<string>;
|
|
110
|
+
getSortingIcon: PropTypes.Validator<(...args: any[]) => any>;
|
|
111
|
+
sortTable: PropTypes.Validator<(...args: any[]) => any>;
|
|
112
|
+
}>>;
|
|
113
|
+
export const ALLOW_SORT_BY: PropTypes.Requireable<NonNullable<string | number | (string | null | undefined)[] | null | undefined>>;
|
|
114
|
+
export const DEFAULT_SORT_BY: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
115
|
+
export const EXCLUDE_SORT_BY: PropTypes.Requireable<NonNullable<string | number | (string | null | undefined)[] | null | undefined>>;
|
|
116
|
+
export const DENSITY: PropTypes.Requireable<string>;
|
|
117
|
+
export const VIRTUALIZATION_CONFIG: PropTypes.Requireable<PropTypes.InferProps<{
|
|
118
|
+
startIndex: PropTypes.Validator<number>;
|
|
119
|
+
endIndex: PropTypes.Validator<number>;
|
|
120
|
+
tableBodyPaddingTop: PropTypes.Validator<number>;
|
|
121
|
+
}>>;
|
|
122
|
+
export const SLIDER_TABS: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
123
|
+
id: PropTypes.Validator<string>;
|
|
124
|
+
label: PropTypes.Validator<string>;
|
|
125
|
+
tip: PropTypes.Requireable<string>;
|
|
126
|
+
hidden: PropTypes.Requireable<boolean>;
|
|
127
|
+
}> | null | undefined)[]>;
|
|
128
|
+
export const DETAILS_MENU: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
129
|
+
id: PropTypes.Validator<string>;
|
|
130
|
+
label: PropTypes.Validator<string>;
|
|
131
|
+
hidden: PropTypes.Requireable<boolean>;
|
|
132
|
+
}> | null | undefined)[]>;
|
|
133
|
+
export const ACTION_BUTTON: PropTypes.Requireable<PropTypes.InferProps<{
|
|
134
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
135
|
+
hidden: PropTypes.Requireable<boolean>;
|
|
136
|
+
label: PropTypes.Validator<string>;
|
|
137
|
+
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
138
|
+
tooltip: PropTypes.Requireable<string>;
|
|
139
|
+
variant: PropTypes.Requireable<string>;
|
|
140
|
+
}>>;
|
|
141
|
+
export const ACTIONS_MENU: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | (NonNullable<PropTypes.InferProps<{
|
|
142
|
+
label: PropTypes.Validator<string>;
|
|
143
|
+
icon: PropTypes.Requireable<object>;
|
|
144
|
+
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
145
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
146
|
+
className: PropTypes.Requireable<string>;
|
|
147
|
+
}>>[] | null | undefined)[] | null | undefined>>;
|
|
148
|
+
import PropTypes from 'prop-types';
|
|
32
149
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/lib/types.js"],"names":[],"mappings":"AAmCA,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/lib/types.js"],"names":[],"mappings":"AAmCA,4DAME;AAEF;;;;IAIE;AAEF;;;;;;;0BASC;AAED,4DAKE;AAEF;;;;;;;IAgBE;AAEF;;;;0BAA4C;AAE5C,8GAGE;AAEF;;;;;IAKE;AAEF,wDAAgG;AAEhG;;;;IAIE;AACF,gIAAgG;AAChG;;;;IAIE;AAEF;;;;;;0BAQC;AAED;;;IAGE;AAEF;;;;;;;;;IASE;AAEF;;;;;;;;;0BAA8D;AAE9D;;;;;0BAOC;AAED;;;;0BAMC;AAED;;;;0BAMC;AAED;;;;0BAMC;AAED;;;;;;;IAQE;AAEF;;;;IAIE;AAEF,mIAIE;AAEF,qGAAwF;AAExF,qIAIE;AAEF,oDAA+E;AAE/E;;;;IAIE;AAEF;;;;;0BAOC;AAED;;;;0BAMC;AAED;;;;;;;IAOE;AAUF;;;;;;iDAGE;sBAzOoB,YAAY"}
|
|
@@ -6,8 +6,8 @@ export function getChipOptions(variant: any): {
|
|
|
6
6
|
density: string;
|
|
7
7
|
font: string;
|
|
8
8
|
borderRadius: string;
|
|
9
|
-
};
|
|
10
|
-
export function cutChips(chips: any[], maxLength: any, delimiter: any): {
|
|
9
|
+
} | undefined;
|
|
10
|
+
export function cutChips(chips: any[] | undefined, maxLength: any, delimiter: any): {
|
|
11
11
|
visibleChips: {
|
|
12
12
|
value: any;
|
|
13
13
|
delimiter: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chips.util.d.ts","sourceRoot":"","sources":["../../src/lib/utils/chips.util.js"],"names":[],"mappings":"AAqFO;;;;;;;;
|
|
1
|
+
{"version":3,"file":"chips.util.d.ts","sourceRoot":"","sources":["../../src/lib/utils/chips.util.js"],"names":[],"mappings":"AAqFO;;;;;;;;cAAiF;AAEjF;;;;;;;;;;;;;;;EAkBN;AAEM;;;EAQN"}
|
|
@@ -7,7 +7,7 @@ export function getErrorDetail(error: Error): string;
|
|
|
7
7
|
export function getErrorMsg(error: Error, defaultError: string): string;
|
|
8
8
|
export function getTransitionEndEventName(): string;
|
|
9
9
|
export function getScssVariableValue(variableName: any): string;
|
|
10
|
-
export function getViewMode(search: any): string;
|
|
10
|
+
export function getViewMode(search: any): string | undefined;
|
|
11
11
|
export function performDetailsActionHelper(changes: any, dispatch: any, filtersWasHandled?: boolean): Promise<boolean>;
|
|
12
12
|
export function copyToClipboard(textToCopy: any, dispatch: any): void;
|
|
13
13
|
export function roundFloats(value: any, precision: any): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.util.d.ts","sourceRoot":"","sources":["../../src/lib/utils/common.util.js"],"names":[],"mappings":"AAgCO,kEAEN;AAEM,kFAcN;AAEM,qGAcN;AAEM,2DAGJ;AAGI,uFAQN;AAYM,sCAHI,KAAK,GACH,MAAM,CAUlB;AASM,mCAJI,KAAK,gBACL,MAAM,GACJ,MAAM,CAoBlB;AAOM,6CAFM,MAAM,CAiBlB;AAEM,gEAEN;AAEM,
|
|
1
|
+
{"version":3,"file":"common.util.d.ts","sourceRoot":"","sources":["../../src/lib/utils/common.util.js"],"names":[],"mappings":"AAgCO,kEAEN;AAEM,kFAcN;AAEM,qGAcN;AAEM,2DAGJ;AAGI,uFAQN;AAYM,sCAHI,KAAK,GACH,MAAM,CAUlB;AASM,mCAJI,KAAK,gBACL,MAAM,GACJ,MAAM,CAoBlB;AAOM,6CAFM,MAAM,CAiBlB;AAEM,gEAEN;AAEM,6DAEN;AAEM,uHAqBN;AAEM,sEAwBN;AAEM,6DAWN;AAEM,6DAEN"}
|
|
@@ -12,7 +12,7 @@ export function getFormatTime(time: any): {
|
|
|
12
12
|
hour: any;
|
|
13
13
|
minute: any;
|
|
14
14
|
};
|
|
15
|
-
export function getTimeElapsedByDate(creationDate: any):
|
|
16
|
-
export function getDateAndTimeByFormat(date: any, dateFormat: any):
|
|
17
|
-
export function sortListByDate(list: any[], field: any, isAscending?: boolean): any[];
|
|
15
|
+
export function getTimeElapsedByDate(creationDate: any): string;
|
|
16
|
+
export function getDateAndTimeByFormat(date: any, dateFormat: any): string;
|
|
17
|
+
export function sortListByDate(list: any[] | undefined, field: any, isAscending?: boolean): any[];
|
|
18
18
|
//# sourceMappingURL=datetime.util.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datetime.util.d.ts","sourceRoot":"","sources":["../../src/lib/utils/datetime.util.js"],"names":[],"mappings":"AAqBA,6CASC;AAED,qCAAmD;AAE5C;;;;;;;yBA8BN;AAEM;;;EAYN;AAEM,
|
|
1
|
+
{"version":3,"file":"datetime.util.d.ts","sourceRoot":"","sources":["../../src/lib/utils/datetime.util.js"],"names":[],"mappings":"AAqBA,6CASC;AAED,qCAAmD;AAE5C;;;;;;;yBA8BN;AAEM;;;EAYN;AAEM,gEAyBN;AAEM,2EAEN;AAEM,kGAON"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function showErrorNotification(dispatch: any, error: any, defaultErrorMsg: any, customErrorMsg: any, retryCallback?:
|
|
1
|
+
export function showErrorNotification(dispatch: any, error: any, defaultErrorMsg: any, customErrorMsg: any, retryCallback?: null, showNotificationCallback?: null): void;
|
|
2
2
|
//# sourceMappingURL=notification.util.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.util.d.ts","sourceRoot":"","sources":["../../src/lib/utils/notification.util.js"],"names":[],"mappings":"AAwBO,
|
|
1
|
+
{"version":3,"file":"notification.util.d.ts","sourceRoot":"","sources":["../../src/lib/utils/notification.util.js"],"names":[],"mappings":"AAwBO,yKAsBN"}
|
|
@@ -7,21 +7,21 @@ export function mlrunProxyConfig(env: any): {
|
|
|
7
7
|
'x-v3io-session-key': any;
|
|
8
8
|
'x-remote-user': string;
|
|
9
9
|
};
|
|
10
|
-
};
|
|
10
|
+
} | undefined;
|
|
11
11
|
'/nuclio': {
|
|
12
12
|
target: any;
|
|
13
13
|
changeOrigin: boolean;
|
|
14
14
|
rewrite: (path: any) => any;
|
|
15
|
-
};
|
|
15
|
+
} | undefined;
|
|
16
16
|
'/iguazio': {
|
|
17
17
|
target: any;
|
|
18
18
|
changeOrigin: boolean;
|
|
19
19
|
rewrite: (path: any) => any;
|
|
20
|
-
};
|
|
20
|
+
} | undefined;
|
|
21
21
|
'/function-catalog': {
|
|
22
22
|
target: any;
|
|
23
23
|
changeOrigin: boolean;
|
|
24
24
|
rewrite: (path: any) => any;
|
|
25
|
-
};
|
|
25
|
+
} | undefined;
|
|
26
26
|
};
|
|
27
27
|
//# sourceMappingURL=proxyServerConfig.util.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iguazio.dashboard-react-controls",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.22",
|
|
4
4
|
"description": "Collection of resources (such as CSS styles, fonts and images) and ReactJS 17.x components to share among different Iguazio React repos.",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
@@ -24,7 +24,12 @@
|
|
|
24
24
|
"./reducers/*": "./dist/reducers/*",
|
|
25
25
|
"./images/*": "./dist/images/*",
|
|
26
26
|
"./scss/*": "./dist/scss/*",
|
|
27
|
-
"./index.css": "./dist/index.css"
|
|
27
|
+
"./index.css": "./dist/index.css",
|
|
28
|
+
"./nextGenComponents": {
|
|
29
|
+
"import": "./dist/nextGenComponents/index.mjs",
|
|
30
|
+
"types": "./dist/nextGenComponents/index.d.ts"
|
|
31
|
+
},
|
|
32
|
+
"./nextGenComponents/*": "./dist/nextGenComponents/*"
|
|
28
33
|
},
|
|
29
34
|
"files": [
|
|
30
35
|
"dist",
|
|
@@ -40,6 +45,26 @@
|
|
|
40
45
|
"MLRun",
|
|
41
46
|
"mlrun"
|
|
42
47
|
],
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@radix-ui/react-checkbox": "^1.3.3",
|
|
50
|
+
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
51
|
+
"@radix-ui/react-popover": "^1.1.15",
|
|
52
|
+
"@radix-ui/react-scroll-area": "^1.2.10",
|
|
53
|
+
"@radix-ui/react-select": "^2.2.6",
|
|
54
|
+
"@radix-ui/react-separator": "^1.1.8",
|
|
55
|
+
"@radix-ui/react-slot": "^1.2.3",
|
|
56
|
+
"@radix-ui/react-tabs": "^1.1.13",
|
|
57
|
+
"@radix-ui/react-tooltip": "^1.2.8",
|
|
58
|
+
"@tanstack/react-table": "^8.21.3",
|
|
59
|
+
"@tanstack/react-virtual": "^3.13.19",
|
|
60
|
+
"class-variance-authority": "^0.7.1",
|
|
61
|
+
"clsx": "^2.1.1",
|
|
62
|
+
"date-fns": "^4.1.0",
|
|
63
|
+
"lucide-react": "^0.552.0",
|
|
64
|
+
"react-day-picker": "^9.13.0",
|
|
65
|
+
"tailwind-merge": "^3.3.1",
|
|
66
|
+
"zustand": "^5.0.8"
|
|
67
|
+
},
|
|
43
68
|
"peerDependencies": {
|
|
44
69
|
"@reduxjs/toolkit": "*",
|
|
45
70
|
"classnames": "*",
|
|
@@ -68,8 +93,8 @@
|
|
|
68
93
|
"@storybook/manager-webpack5": "^6.5.16",
|
|
69
94
|
"@storybook/react": "^8.6.17",
|
|
70
95
|
"@storybook/testing-library": "0.2.2",
|
|
71
|
-
"@types/react": "18.3.
|
|
72
|
-
"@types/react-dom": "18.3.
|
|
96
|
+
"@types/react": "18.3.28",
|
|
97
|
+
"@types/react-dom": "18.3.7",
|
|
73
98
|
"@vitejs/plugin-react": "^4.3.4",
|
|
74
99
|
"classnames": "^2.3.1",
|
|
75
100
|
"cross-env": "^7.0.3",
|
|
@@ -117,10 +142,10 @@
|
|
|
117
142
|
"picomatch@4": "4.0.4"
|
|
118
143
|
},
|
|
119
144
|
"scripts": {
|
|
120
|
-
"lint": "eslint \"src/**/*.{js,jsx}\" --quiet",
|
|
121
|
-
"lint:fix": "eslint \"src/**/*.{js,jsx}\" --fix",
|
|
122
|
-
"prettier": "prettier --check \"src/**/*.{js,jsx,scss}\"",
|
|
123
|
-
"prettier:fix": "prettier --write \"src/**/*.{js,jsx,scss}\"",
|
|
145
|
+
"lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\" --quiet",
|
|
146
|
+
"lint:fix": "eslint \"src/**/*.{js,jsx,ts,tsx}\" --fix",
|
|
147
|
+
"prettier": "prettier --check \"src/**/*.{js,jsx,ts,tsx,scss}\"",
|
|
148
|
+
"prettier:fix": "prettier --write \"src/**/*.{js,jsx,ts,tsx,scss}\"",
|
|
124
149
|
"build-storybook": "build-storybook",
|
|
125
150
|
"storybook": "start-storybook -p 6006",
|
|
126
151
|
"start": "vite",
|