@konstructio/ui 0.1.2-alpha.77 → 0.1.2-alpha.79
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/AdditionalOptions-Cx9wU01w.js +37 -0
- package/dist/AlertDialogTrigger-C-NMEoDd.js +146 -0
- package/dist/Breadcrumb-C95aOsYk.js +77 -0
- package/dist/CalendarPanel.css +1 -1
- package/dist/Checkbox-Cn0UWlk8.js +239 -0
- package/dist/Combination-DUTBK_qM.js +486 -0
- package/dist/CommandInput-BKv-EZ7T.js +76 -0
- package/dist/Counter-DtQu_T-D.js +191 -0
- package/dist/DayPicker-CNWQ1Oyd.js +2884 -0
- package/dist/DropdownButton-B2XkEqPt.js +92 -0
- package/dist/FlagSelectorList-C17nmEBM.js +597 -0
- package/dist/ImageUpload-BzXjGZ2w.js +181 -0
- package/dist/Input-GBMxM3Z7.js +188 -0
- package/dist/Loading-DKqxR-oV.js +16 -0
- package/dist/Modal-DbTe8PVX.js +76 -0
- package/dist/Spinner-CyuXAaC8.js +41 -0
- package/dist/StepIndicatorContent-D5z1Ziqg.js +30 -0
- package/dist/Switch-DjbC0A8y.js +136 -0
- package/dist/Toast-C3XjAvtC.js +478 -0
- package/dist/Wrapper-BWSOaT1y.js +1056 -0
- package/dist/Wrapper-CjUokv72.js +110 -0
- package/dist/Wrapper-DEJ-hyar.js +161 -0
- package/dist/assets/icons/components/Accounts.js +21 -23
- package/dist/assets/icons/components/AddChart.js +18 -20
- package/dist/assets/icons/components/AlertOutline.js +18 -20
- package/dist/assets/icons/components/AppRepo.js +18 -20
- package/dist/assets/icons/components/Apps.js +18 -20
- package/dist/assets/icons/components/Archives.js +18 -20
- package/dist/assets/icons/components/ArrowDown.js +18 -20
- package/dist/assets/icons/components/ArrowLeft.js +18 -20
- package/dist/assets/icons/components/ArrowRight.js +17 -19
- package/dist/assets/icons/components/ArrowUp.js +18 -20
- package/dist/assets/icons/components/BarChart.js +28 -24
- package/dist/assets/icons/components/BookOpen.js +22 -20
- package/dist/assets/icons/components/CalendarMonth.js +18 -20
- package/dist/assets/icons/components/Check.js +18 -20
- package/dist/assets/icons/components/CheckCircleFilled.js +28 -25
- package/dist/assets/icons/components/CheckCircleOutline.js +18 -20
- package/dist/assets/icons/components/CheckboxMarkedCircleOutline.js +18 -20
- package/dist/assets/icons/components/ClockAlert.js +18 -20
- package/dist/assets/icons/components/ClockOutline.js +18 -20
- package/dist/assets/icons/components/Close.js +18 -20
- package/dist/assets/icons/components/Cloud.js +12 -17
- package/dist/assets/icons/components/CloudLockOutline.js +18 -20
- package/dist/assets/icons/components/Clusters.js +28 -24
- package/dist/assets/icons/components/CogOutline.js +18 -20
- package/dist/assets/icons/components/Copy.js +18 -20
- package/dist/assets/icons/components/Cpu.js +25 -23
- package/dist/assets/icons/components/Cube.js +18 -20
- package/dist/assets/icons/components/Datacenter.js +18 -20
- package/dist/assets/icons/components/Delete.js +18 -20
- package/dist/assets/icons/components/DollarSign.js +20 -20
- package/dist/assets/icons/components/Download.js +17 -19
- package/dist/assets/icons/components/Edit.js +18 -20
- package/dist/assets/icons/components/Ellipses.js +18 -20
- package/dist/assets/icons/components/Environments.js +20 -20
- package/dist/assets/icons/components/Error.js +18 -20
- package/dist/assets/icons/components/ErrorOutline.js +18 -20
- package/dist/assets/icons/components/Exclamation.js +21 -20
- package/dist/assets/icons/components/Git.js +15 -17
- package/dist/assets/icons/components/GitOpsCatalog.js +25 -23
- package/dist/assets/icons/components/GridView.js +15 -20
- package/dist/assets/icons/components/Help.js +24 -25
- package/dist/assets/icons/components/HideOutline.js +21 -23
- package/dist/assets/icons/components/Home.js +18 -20
- package/dist/assets/icons/components/Home2.js +21 -20
- package/dist/assets/icons/components/Id.js +17 -19
- package/dist/assets/icons/components/InfoCircle.js +28 -25
- package/dist/assets/icons/components/InformationOutline.js +18 -20
- package/dist/assets/icons/components/InvoiceList.js +18 -20
- package/dist/assets/icons/components/Key.js +18 -20
- package/dist/assets/icons/components/LightBulb.js +27 -23
- package/dist/assets/icons/components/Loader.js +18 -20
- package/dist/assets/icons/components/Network.js +18 -20
- package/dist/assets/icons/components/PagesStack.js +24 -25
- package/dist/assets/icons/components/Pageview.js +18 -20
- package/dist/assets/icons/components/People.js +18 -20
- package/dist/assets/icons/components/PhotoLibrary.js +14 -16
- package/dist/assets/icons/components/Pipeline.js +20 -20
- package/dist/assets/icons/components/Plus.js +18 -20
- package/dist/assets/icons/components/PowerSettings.js +18 -20
- package/dist/assets/icons/components/Preview.js +18 -20
- package/dist/assets/icons/components/ReceiptLong.js +15 -20
- package/dist/assets/icons/components/Refresh.js +18 -20
- package/dist/assets/icons/components/ScatterPlot.js +15 -20
- package/dist/assets/icons/components/Search.js +30 -25
- package/dist/assets/icons/components/Server.js +18 -20
- package/dist/assets/icons/components/Start.js +18 -20
- package/dist/assets/icons/components/TabNew.js +34 -24
- package/dist/assets/icons/components/Teams.js +17 -19
- package/dist/assets/icons/components/Upload.js +18 -20
- package/dist/assets/icons/components/Warning.js +18 -20
- package/dist/assets/icons/components/WarningTriangle.js +18 -20
- package/dist/assets/icons/components/X.js +18 -20
- package/dist/assets/icons/components/index.js +82 -82
- package/dist/assets/icons/index.js +88 -88
- package/dist/chevron-down-DgssmYWu.js +8 -0
- package/dist/chevron-left-DRJXef9g.js +8 -0
- package/dist/chevron-right-BooB_b7g.js +8 -0
- package/dist/chevron-up-DuS9MUNr.js +8 -0
- package/dist/chunk-D1xtDmiO.js +31 -0
- package/dist/{clsx-OuTLNxxd.js → clsx-kDhLfUq2.js} +1 -1
- package/dist/components/Alert/Alert.js +58 -79
- package/dist/components/Alert/Alert.variants.js +86 -46
- package/dist/components/AlertDialog/AlertDialog.js +71 -103
- package/dist/components/AlertDialog/components/AlertDialogTrigger.js +2 -7
- package/dist/components/AlertDialog/components/index.js +2 -2
- package/dist/components/AlertDialog/hooks/useAlertDialog.js +12 -25
- package/dist/components/Autocomplete/Autocomplete.js +58 -54
- package/dist/components/Autocomplete/Autocomplete.variants.js +26 -2
- package/dist/components/Autocomplete/components/List/List.js +33 -48
- package/dist/components/Autocomplete/components/List/List.variants.js +33 -5
- package/dist/components/Autocomplete/components/index.js +2 -2
- package/dist/components/Autocomplete/hooks/useAutocomplete.js +32 -79
- package/dist/components/Autocomplete/hooks/useNavigationList.js +47 -65
- package/dist/components/Badge/Badge.js +62 -66
- package/dist/components/Badge/Badge.variants.js +69 -16
- package/dist/components/Breadcrumb/Breadcrumb.js +2 -97
- package/dist/components/Breadcrumb/Breadcrumb.variants.js +14 -4
- package/dist/components/Breadcrumb/components/Item/Item.js +33 -33
- package/dist/components/Breadcrumb/components/Item/Item.variants.js +47 -23
- package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +2 -2
- package/dist/components/Button/Button.js +22 -37
- package/dist/components/Button/Button.variants.js +294 -75
- package/dist/components/ButtonGroup/ButtonGroup.js +84 -101
- package/dist/components/ButtonGroup/ButtonGroup.variants.js +29 -14
- package/dist/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.js +57 -105
- package/dist/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.variants.js +60 -27
- package/dist/components/ButtonGroup/components/ButtonGroupItem/index.js +2 -2
- package/dist/components/ButtonGroup/components/ButtonGroupLabel/ButtonGroupLabel.js +20 -25
- package/dist/components/ButtonGroup/components/ButtonGroupLabel/index.js +2 -2
- package/dist/components/ButtonGroup/components/ButtonGroupMessage/ButtonGroupMessage.js +16 -28
- package/dist/components/ButtonGroup/components/index.js +6 -6
- package/dist/components/ButtonGroup/hooks/index.js +2 -2
- package/dist/components/ButtonGroup/hooks/useButtonGroup.js +49 -64
- package/dist/components/Card/Card.js +22 -34
- package/dist/components/Card/Card.variants.js +26 -13
- package/dist/components/Checkbox/Checkbox.js +2 -343
- package/dist/components/Checkbox/Checkbox.variants.js +50 -13
- package/dist/components/Command/Command.js +29 -46
- package/dist/components/Command/Command.variants.js +46 -3
- package/dist/components/Command/components/Command.js +14 -19
- package/dist/components/Command/components/CommandEmpty.js +9 -10
- package/dist/components/Command/components/CommandGroup.js +10 -18
- package/dist/components/Command/components/CommandInput.js +2 -90
- package/dist/components/Command/components/CommandItem.js +17 -28
- package/dist/components/Command/components/CommandList.js +11 -19
- package/dist/components/Command/components/CommandSeparator.js +11 -19
- package/dist/components/Command/components/CommandShortcut.js +7 -16
- package/dist/components/Command/components/DialogContent.js +20 -35
- package/dist/components/Command/components/DialogOverlay.js +11 -19
- package/dist/components/Command/components/index.js +16 -16
- package/dist/components/Command/contexts/Command.context.js +1 -1
- package/dist/components/Command/contexts/Command.provider.js +15 -23
- package/dist/components/Command/contexts/index.js +2 -2
- package/dist/components/Counter/Counter.js +3 -206
- package/dist/components/Counter/Counter.variants.js +53 -19
- package/dist/components/DateRangePicker/DateRangePicker.js +77 -93
- package/dist/components/DateRangePicker/DateRangePicker.variants.js +23 -4
- package/dist/components/DateRangePicker/components/CalendarPanel/CalendarPanel.js +75 -81
- package/dist/components/DateRangePicker/components/CalendarPanel/CalendarPanel.variants.js +54 -10
- package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarDivider/CalendarDivider.js +8 -14
- package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarMonth/CalendarMonth.js +35 -50
- package/dist/components/DateRangePicker/components/CalendarPanel/components/IndependentModeCalendar/IndependentModeCalendar.js +179 -107
- package/dist/components/DateRangePicker/components/CalendarPanel/components/NavigationButton/NavigationButton.js +19 -34
- package/dist/components/DateRangePicker/components/CalendarPanel/components/TogetherModeCalendar/TogetherModeCalendar.js +78 -61
- package/dist/components/DateRangePicker/components/CalendarPanel/components/index.js +6 -6
- package/dist/components/DateRangePicker/components/CalendarPanel/constants/dayPickerClassNames.js +2 -3
- package/dist/components/DateRangePicker/components/CalendarPanel/constants/index.js +10 -31
- package/dist/components/DateRangePicker/components/CalendarPanel/hooks/index.js +19 -19
- package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useIndependentCarousel.js +121 -144
- package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useTogetherCarousel.js +82 -53
- package/dist/components/DateRangePicker/components/CalendarPanel/utils/index.js +8 -8
- package/dist/components/DateRangePicker/components/DateTimeInputs/DateTimeInputs.js +60 -69
- package/dist/components/DateRangePicker/components/DateTimeInputs/DateTimeInputs.variants.js +31 -5
- package/dist/components/DateRangePicker/components/DateTimeInputs/components/EndInputFields/EndInputFields.js +43 -55
- package/dist/components/DateRangePicker/components/DateTimeInputs/components/StartInputFields/StartInputFields.js +43 -55
- package/dist/components/DateRangePicker/components/DateTimeInputs/components/index.js +2 -2
- package/dist/components/DateRangePicker/components/DateTimeInputs/hooks/index.js +2 -2
- package/dist/components/DateRangePicker/components/DateTimeInputs/hooks/useDateTimeInputs.js +144 -176
- package/dist/components/DateRangePicker/components/PresetPanel/PresetPanel.js +37 -56
- package/dist/components/DateRangePicker/components/PresetPanel/PresetPanel.variants.js +20 -2
- package/dist/components/DateRangePicker/components/index.js +6 -6
- package/dist/components/DateRangePicker/constants/index.js +2 -2
- package/dist/components/DateRangePicker/constants/presets.js +22 -16
- package/dist/components/DateRangePicker/contexts/date-range-picker.context.js +3 -3
- package/dist/components/DateRangePicker/contexts/date-range-picker.hook.js +4 -5
- package/dist/components/DateRangePicker/contexts/date-range-picker.provider.js +114 -187
- package/dist/components/DateRangePicker/contexts/index.js +6 -6
- package/dist/components/DateRangePicker/utils/disabled-dates.js +25 -39
- package/dist/components/DateRangePicker/utils/index.js +20 -20
- package/dist/components/DateRangePicker/utils/presets.js +6 -8
- package/dist/components/DateRangePicker/utils/validation.js +60 -57
- package/dist/components/Datepicker/DatePicker.js +48 -81
- package/dist/components/Datepicker/DatePicker.variants.js +3 -3
- package/dist/components/Divider/Divider.js +6 -17
- package/dist/components/Divider/Divider.variants.js +9 -11
- package/dist/components/Drawer/Drawer.js +73 -109
- package/dist/components/Drawer/Drawer.variants.js +74 -24
- package/dist/components/Drawer/components/Body/Body.js +12 -18
- package/dist/components/Drawer/components/Body/index.js +2 -2
- package/dist/components/Drawer/components/Footer/Footer.js +12 -18
- package/dist/components/Drawer/components/Footer/index.js +2 -2
- package/dist/components/Drawer/components/Header/Header.js +13 -20
- package/dist/components/Drawer/components/Header/index.js +2 -2
- package/dist/components/Drawer/components/index.js +6 -6
- package/dist/components/Drawer/constants/index.js +1 -1
- package/dist/components/Drawer/contexts/Drawer.context.js +3 -3
- package/dist/components/Drawer/contexts/index.js +3 -3
- package/dist/components/Drawer/hooks/index.js +2 -2
- package/dist/components/Drawer/hooks/useDrawer.js +54 -82
- package/dist/components/DropdownButton/DropdownButton.js +2 -118
- package/dist/components/Filter/Filter.js +32 -40
- package/dist/components/Filter/Filter.variants.js +24 -4
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.hook.js +59 -127
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +73 -84
- package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.hook.js +47 -84
- package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.js +52 -67
- package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.hook.js +29 -39
- package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.js +55 -75
- package/dist/components/Filter/components/ResetButton/ResetButton.js +19 -25
- package/dist/components/Filter/components/TextMultiSelect/TextMultiSelect.js +73 -84
- package/dist/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.hook.js +48 -83
- package/dist/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.js +81 -81
- package/dist/components/Filter/components/index.js +6 -6
- package/dist/components/Filter/contexts/filter.context.js +2 -4
- package/dist/components/Filter/contexts/filter.hook.js +5 -6
- package/dist/components/Filter/contexts/filter.provider.js +7 -16
- package/dist/components/Filter/contexts/index.js +4 -4
- package/dist/components/Filter/events/index.js +4 -8
- package/dist/components/Filter/utils/index.js +2 -2435
- package/dist/components/ImageUpload/ImageUpload.js +2 -119
- package/dist/components/ImageUpload/ImageUpload.variants.js +86 -51
- package/dist/components/Input/Input.js +2 -161
- package/dist/components/Input/Input.variants.js +46 -11
- package/dist/components/LineChart/LineChart.js +63 -56
- package/dist/components/Loading/Loading.js +2 -22
- package/dist/components/Loading/Loading.variants.js +9 -2
- package/dist/components/Modal/Modal.js +3 -9
- package/dist/components/Modal/components/Body/Body.js +8 -16
- package/dist/components/Modal/components/Footer/Footer.js +8 -16
- package/dist/components/Modal/components/Header/Header.js +8 -16
- package/dist/components/Modal/components/Wrapper/Wrapper.js +2 -11
- package/dist/components/Modal/components/Wrapper/Wrapper.variants.js +29 -2
- package/dist/components/Modal/components/index.js +8 -8
- package/dist/components/Modal/contexts/Modal.context.js +1 -1
- package/dist/components/Modal/contexts/Modal.provider.js +20 -33
- package/dist/components/Modal/contexts/index.js +2 -2
- package/dist/components/Modal/hooks/useModal.js +20 -31
- package/dist/components/MultiSelectDropdown/MultiSelectDropdown.js +2 -26
- package/dist/components/MultiSelectDropdown/MultiSelectDropdown.variants.js +29 -5
- package/dist/components/MultiSelectDropdown/components/Item/Item.js +19 -32
- package/dist/components/MultiSelectDropdown/components/Item/Item.variants.js +21 -11
- package/dist/components/MultiSelectDropdown/components/List/List.js +2 -27
- package/dist/components/MultiSelectDropdown/components/List/List.variants.js +23 -3
- package/dist/components/MultiSelectDropdown/components/Wrapper/Wrapper.js +2 -74
- package/dist/components/MultiSelectDropdown/components/index.js +4 -5
- package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.context.js +4 -4
- package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.hook.js +3 -4
- package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.provider.js +94 -122
- package/dist/components/MultiSelectDropdown/contexts/index.js +2 -2
- package/dist/components/MultiSelectDropdown/hooks/useMultiSelectDropdown.js +18 -31
- package/dist/components/PhoneNumberInput/PhoneNumberInput.js +11 -18
- package/dist/components/PhoneNumberInput/PhoneNumberInput.variants.js +37 -14
- package/dist/components/PhoneNumberInput/components/FlagContent/FlagContent.js +16 -28
- package/dist/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.js +2 -670
- package/dist/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.js +22 -20
- package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +48 -52
- package/dist/components/PhoneNumberInput/components/Wrapper.js +2 -612
- package/dist/components/PhoneNumberInput/components/index.js +4 -4
- package/dist/components/PhoneNumberInput/contexts/index.js +3 -3
- package/dist/components/PhoneNumberInput/contexts/phone-number.context.js +1 -1
- package/dist/components/PhoneNumberInput/contexts/phone-number.hook.js +5 -6
- package/dist/components/PhoneNumberInput/contexts/phone-number.provider.js +2 -6092
- package/dist/components/PhoneNumberInput/utils/index.js +7 -8
- package/dist/components/PieChart/PieChart.js +49 -85
- package/dist/components/ProgressBar/ProgressBar.js +29 -47
- package/dist/components/ProgressBar/ProgressBar.variants.js +24 -14
- package/dist/components/Radio/Radio.js +50 -70
- package/dist/components/Radio/Radio.variants.js +76 -30
- package/dist/components/RadioCard/RadioCard.js +19 -32
- package/dist/components/RadioCard/RadioCard.variants.js +7 -2
- package/dist/components/RadioCardGroup/RadioCardGroup.js +25 -42
- package/dist/components/RadioCardGroup/RadioCardGroup.variants.js +8 -12
- package/dist/components/RadioGroup/RadioGroup.js +26 -48
- package/dist/components/RadioGroup/RadioGroup.variants.js +8 -12
- package/dist/components/Range/Range.js +49 -83
- package/dist/components/Range/Range.variants.js +46 -25
- package/dist/components/Select/Select.js +36 -56
- package/dist/components/Select/Select.variants.js +59 -5
- package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.js +2 -10
- package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.variants.js +3 -3
- package/dist/components/Select/components/EmptyList.js +3 -8
- package/dist/components/Select/components/List/List.js +113 -88
- package/dist/components/Select/components/List/List.variants.js +42 -2
- package/dist/components/Select/components/ListItem/ListItem.js +51 -49
- package/dist/components/Select/components/ListItem/ListItem.variants.js +21 -3
- package/dist/components/Select/components/Wrapper.js +2 -125
- package/dist/components/Select/components/index.js +8 -8
- package/dist/components/Select/constants/index.js +4 -4
- package/dist/components/Select/constants/list.js +2 -2
- package/dist/components/Select/constants/pagination.js +2 -2
- package/dist/components/Select/contexts/index.js +4 -4
- package/dist/components/Select/contexts/select.context.js +2 -2
- package/dist/components/Select/contexts/select.hook.js +6 -7
- package/dist/components/Select/contexts/select.provider.js +39 -42
- package/dist/components/Select/hooks/useNavigationList.js +34 -49
- package/dist/components/Select/hooks/useSelect.js +54 -100
- package/dist/components/Sidebar/Sidebar.js +22 -26
- package/dist/components/Sidebar/Sidebar.variants.js +29 -3
- package/dist/components/Sidebar/components/Footer/Footer.js +9 -18
- package/dist/components/Sidebar/components/Footer/Footer.variants.js +9 -2
- package/dist/components/Sidebar/components/Logo/Logo.js +9 -18
- package/dist/components/Sidebar/components/Logo/Logo.variants.js +20 -2
- package/dist/components/Sidebar/components/Navigation/Navigation.js +17 -26
- package/dist/components/Sidebar/components/Navigation/Navigation.variants.js +8 -3
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +14 -33
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.js +6 -2
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +14 -25
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +28 -8
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +6 -17
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.js +6 -2
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +9 -21
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.variants.js +12 -3
- package/dist/components/Sidebar/components/Wrapper/Wrapper.js +27 -34
- package/dist/components/Sidebar/components/index.js +14 -14
- package/dist/components/Slider/Slider.js +38 -70
- package/dist/components/Slider/Slider.variants.js +39 -26
- package/dist/components/Spinner/Spinner.js +2 -56
- package/dist/components/Spinner/Spinner.variants.js +36 -24
- package/dist/components/Stepper/Stepper.js +45 -56
- package/dist/components/Stepper/Stepper.variants.js +174 -77
- package/dist/components/Stepper/components/HorizontalStepItem/HorizontalStepItem.js +120 -151
- package/dist/components/Stepper/components/StepConnector/StepConnector.js +15 -24
- package/dist/components/Stepper/components/StepIndicatorContent/StepIndicatorContent.js +2 -40
- package/dist/components/Stepper/components/StepItem/StepItem.js +6 -15
- package/dist/components/Stepper/components/VerticalStepItem/VerticalStepItem.js +70 -94
- package/dist/components/Stepper/constants/index.js +1 -1
- package/dist/components/Stepper/hooks/index.js +2 -2
- package/dist/components/Stepper/hooks/useStepItemLogic.js +15 -15
- package/dist/components/Stepper/utils/index.js +4 -5
- package/dist/components/Switch/Switch.js +2 -185
- package/dist/components/Switch/Switch.variants.js +41 -2
- package/dist/components/Table/Table.js +18 -29
- package/dist/components/Table/Table.variants.js +29 -12
- package/dist/components/Table/components/Body.js +9 -20
- package/dist/components/Table/components/Filter.js +13 -21
- package/dist/components/Table/components/Head.js +9 -20
- package/dist/components/Table/components/Row.js +14 -28
- package/dist/components/Table/components/index.js +6 -6
- package/dist/components/Tabs/Tabs.js +26 -34
- package/dist/components/Tabs/Tabs.variants.js +54 -42
- package/dist/components/Tabs/components/Content.js +12 -21
- package/dist/components/Tabs/components/List.js +17 -28
- package/dist/components/Tabs/components/Trigger.js +19 -25
- package/dist/components/Tabs/components/index.js +4 -4
- package/dist/components/Tag/Tag.js +26 -33
- package/dist/components/Tag/Tag.variants.js +31 -25
- package/dist/components/TagSelect/TagSelect.js +13 -18
- package/dist/components/TagSelect/TagSelect.variants.js +26 -5
- package/dist/components/TagSelect/components/Item/Item.js +14 -23
- package/dist/components/TagSelect/components/Item/Item.variants.js +16 -12
- package/dist/components/TagSelect/components/List/List.js +17 -22
- package/dist/components/TagSelect/components/List/List.variants.js +21 -3
- package/dist/components/TagSelect/components/Wrapper/Wrapper.js +2 -69
- package/dist/components/TagSelect/components/index.js +6 -6
- package/dist/components/TagSelect/contexts/TagSelect.context.js +1 -1
- package/dist/components/TagSelect/contexts/TagSelect.hook.js +6 -7
- package/dist/components/TagSelect/contexts/TagSelect.provider.js +49 -75
- package/dist/components/TagSelect/contexts/index.js +4 -4
- package/dist/components/TagSelect/hooks/useTagSelect.js +18 -31
- package/dist/components/TextArea/TextArea.js +27 -35
- package/dist/components/TextArea/TextArea.variants.js +18 -3
- package/dist/components/TimePicker/TimePicker.js +15 -23
- package/dist/components/TimePicker/TimePicker.variants.js +65 -2
- package/dist/components/TimePicker/components/HoursList/HoursList.js +88 -75
- package/dist/components/TimePicker/components/MeridianList/MeridianList.js +53 -79
- package/dist/components/TimePicker/components/MinutesList/MinutesList.js +61 -64
- package/dist/components/TimePicker/components/Wrapper/Wrapper.js +134 -143
- package/dist/components/TimePicker/components/WrapperList/WrapperList.js +38 -44
- package/dist/components/TimePicker/components/index.js +2 -2
- package/dist/components/TimePicker/contexts/index.js +6 -6
- package/dist/components/TimePicker/contexts/time-picker.context.js +1 -1
- package/dist/components/TimePicker/contexts/time-picker.hook.js +4 -5
- package/dist/components/TimePicker/contexts/time-picker.provider.js +56 -76
- package/dist/components/TimePicker/utils/index.js +17 -19
- package/dist/components/Toast/Toast.js +3 -547
- package/dist/components/Toast/Toast.variants.js +44 -14
- package/dist/components/Tooltip/Tooltip.js +16 -36
- package/dist/components/Typography/Typography.js +16 -27
- package/dist/components/Typography/Typography.variants.js +71 -26
- package/dist/components/VirtualizedTable/VirtualizedTable.js +89 -77
- package/dist/components/VirtualizedTable/VirtualizedTable.types.d.ts +1 -1
- package/dist/components/VirtualizedTable/VirtualizedTable.variants.js +2 -2
- package/dist/components/VirtualizedTable/assets/chevron-down.js +14 -13
- package/dist/components/VirtualizedTable/assets/chevron-up.js +14 -13
- package/dist/components/VirtualizedTable/assets/index.js +4 -4
- package/dist/components/VirtualizedTable/components/Actions/Actions.js +35 -63
- package/dist/components/VirtualizedTable/components/Body/Body.js +49 -57
- package/dist/components/VirtualizedTable/components/DotPaginate/DotPaginate.js +100 -105
- package/dist/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.js +18 -20
- package/dist/components/VirtualizedTable/components/ExpandableRow/ExpandableRow.js +29 -43
- package/dist/components/VirtualizedTable/components/Filter/Filter.js +110 -117
- package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +42 -32
- package/dist/components/VirtualizedTable/components/Header/Header.js +33 -58
- package/dist/components/VirtualizedTable/components/Pagination/Pagination.js +29 -65
- package/dist/components/VirtualizedTable/components/Skeleton/Skeleton.js +39 -32
- package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +39 -52
- package/dist/components/VirtualizedTable/components/WrapperBody/WrapperBody.js +9 -19
- package/dist/components/VirtualizedTable/components/index.js +10 -10
- package/dist/components/VirtualizedTable/constants/index.js +3 -3
- package/dist/components/VirtualizedTable/constants/pagination.js +6 -1
- package/dist/components/VirtualizedTable/contexts/index.js +6 -6
- package/dist/components/VirtualizedTable/contexts/table.context.js +3 -3
- package/dist/components/VirtualizedTable/contexts/table.hook.js +7 -8
- package/dist/components/VirtualizedTable/contexts/table.provider.js +2 -239
- package/dist/components/VirtualizedTable/contexts/table.types.d.ts +1 -1
- package/dist/components/VirtualizedTable/events/index.js +19 -24
- package/dist/components/index.js +140 -140
- package/dist/components-DNFycJGm.js +120 -0
- package/dist/constants-D96yCePL.js +31 -0
- package/dist/contexts/index.js +6 -6
- package/dist/contexts/theme.context.js +2 -2
- package/dist/contexts/theme.hook.js +2 -2
- package/dist/contexts/theme.provider.js +2 -96
- package/dist/createLucideIcon-BVGkzDZC.js +42 -0
- package/dist/debounce-CzFlgg9h.js +86 -0
- package/dist/dist-B5SlrgYz.js +263 -0
- package/dist/{index-BZPx6jYI.js → dist-BL-H4bEw2.js} +5 -2
- package/dist/dist-BL8l9uRy.js +361 -0
- package/dist/{index-DLcqcWxM.js → dist-ByyYBtbL.js} +9 -11
- package/dist/dist-C8r5DW7s.js +10 -0
- package/dist/dist-CBnErrr1.js +58 -0
- package/dist/dist-COY3FRYC.js +480 -0
- package/dist/dist-CSP6X06u.js +1701 -0
- package/dist/dist-DNSmoWJp.js +469 -0
- package/dist/dist-DRmqW28Z2.js +7479 -0
- package/dist/dist-DXJSck4j.js +74 -0
- package/dist/dist-DXXHfL7M.js +132 -0
- package/dist/dist-DZNdbzbm.js +120 -0
- package/dist/dist-DZcOdXgW.js +13 -0
- package/dist/dist-DeVdyMHW2.js +31 -0
- package/dist/{index-3fEdeexs.js → dist-DpqiA4Yn.js} +25 -28
- package/dist/dist-DstQl8xY.js +10 -0
- package/dist/dist-DtEbXv47.js +34 -0
- package/dist/dist-uVUx9i0a.js +223 -0
- package/dist/ellipsis-vertical-My0S9QY5.js +24 -0
- package/dist/hooks/index.js +2 -2
- package/dist/hooks/useToggle.js +5 -10
- package/dist/icons.js +88 -88
- package/dist/index.js +150 -149
- package/dist/isObject--aYwGuhx.js +62 -0
- package/dist/libphonenumber-7uXgv7U8.js +81977 -0
- package/dist/package.json +18 -19
- package/dist/phone-number.provider-B5TfHi8y.js +6646 -0
- package/dist/prop-types-DTnODft1.js +547 -0
- package/dist/proxy-uLtw-ZML.js +4690 -0
- package/dist/style.css +1 -1
- package/dist/styles.css +1 -1
- package/dist/{index-CSWGJT-v.js → table.provider-4OQNqxH3.js} +805 -674
- package/dist/theme.provider-BgxXUOMP.js +74 -0
- package/dist/useBreadcrumb-BBm5lX0U.js +1263 -0
- package/dist/utils/index.js +5 -2920
- package/dist/utils-CQSRNcoF.js +2022 -0
- package/dist/utils-DHuiYnx1.js +1689 -0
- package/dist/x-BwIi6Wii.js +63 -0
- package/dist/x-a0ouxoIM.js +11 -0
- package/package.json +18 -19
- package/dist/AdditionalOptions-DiXvUzhu.js +0 -42
- package/dist/Combination-BtmnusWq.js +0 -480
- package/dist/DayPicker-CaeUXRCF.js +0 -2798
- package/dist/Modal-h5H4yxYg.js +0 -128
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
- package/dist/chevron-down-BBFYYzZq.js +0 -5
- package/dist/chevron-left-BHBf-gQY.js +0 -5
- package/dist/chevron-right-DvXGOiS_.js +0 -5
- package/dist/chevron-up-DEfvgPCw.js +0 -54
- package/dist/chevron-up-IlDPxR7j.js +0 -5
- package/dist/compiler-runtime-DA41awpA.js +0 -36
- package/dist/createLucideIcon-CP-mMPfa.js +0 -75
- package/dist/debounce-DJveWHr_.js +0 -114
- package/dist/ellipsis-vertical-Cl3yNtOy.js +0 -9
- package/dist/index--l0zux8V.js +0 -200
- package/dist/index-0g-eSmV1.js +0 -142
- package/dist/index-0ioNhtNM.js +0 -10
- package/dist/index-B9v5VxE2.js +0 -431
- package/dist/index-BKMaItIC.js +0 -13
- package/dist/index-BKjcReYh.js +0 -55
- package/dist/index-BOE_3f_Z.js +0 -646
- package/dist/index-BRXMsxSL.js +0 -27
- package/dist/index-BdMNhZnh.js +0 -9
- package/dist/index-BmVmDQGH.js +0 -662
- package/dist/index-BvEpLnOv.js +0 -144
- package/dist/index-BvoZGpli.js +0 -60
- package/dist/index-C6mt--X_.js +0 -478
- package/dist/index-CJnS4BVW.js +0 -93
- package/dist/index-CiACf4ao.js +0 -1885
- package/dist/index-D29mdTf5.js +0 -34
- package/dist/index-Dy4FVowi.js +0 -314
- package/dist/index-kTGTSLpq.js +0 -322
- package/dist/index-qDQP8rW4.js +0 -7281
- package/dist/isObject-9XxUefZH.js +0 -97
- package/dist/libphonenumber-aZ-2KWIf.js +0 -11581
- package/dist/proxy-BGrSEZuV.js +0 -5046
- package/dist/useBreadcrumb-C_Wb2cXs.js +0 -1435
- package/dist/x-B9bYxG31.js +0 -8
- package/dist/x-Eoa9FJjA.js +0 -62
package/dist/Modal-h5H4yxYg.js
DELETED
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { Body as D } from "./components/Modal/components/Body/Body.js";
|
|
2
|
-
import { Footer as M } from "./components/Modal/components/Footer/Footer.js";
|
|
3
|
-
import { Header as O } from "./components/Modal/components/Header/Header.js";
|
|
4
|
-
import { jsxs as E, jsx as k, Fragment as W } from "react/jsx-runtime";
|
|
5
|
-
import { c as j } from "./compiler-runtime-DA41awpA.js";
|
|
6
|
-
import { Children as A, isValidElement as F, useRef as $, useState as z, useEffect as _ } from "react";
|
|
7
|
-
import { createPortal as I } from "react-dom";
|
|
8
|
-
import { R as K } from "./index-BKjcReYh.js";
|
|
9
|
-
import { R as L } from "./Combination-BtmnusWq.js";
|
|
10
|
-
import { cn as V } from "./utils/index.js";
|
|
11
|
-
import { modalVariants as P, buttonCloseVariants as T } from "./components/Modal/components/Wrapper/Wrapper.variants.js";
|
|
12
|
-
import { X } from "./x-Eoa9FJjA.js";
|
|
13
|
-
import { m as q } from "./proxy-BGrSEZuV.js";
|
|
14
|
-
const G = (o) => {
|
|
15
|
-
const e = j.c(32), {
|
|
16
|
-
buttonCloseClassName: r,
|
|
17
|
-
children: t,
|
|
18
|
-
className: i,
|
|
19
|
-
containerClassName: n,
|
|
20
|
-
showCloseButton: s,
|
|
21
|
-
theme: C,
|
|
22
|
-
transition: b,
|
|
23
|
-
onClose: f
|
|
24
|
-
} = o, p = s === void 0 ? !0 : s;
|
|
25
|
-
let c;
|
|
26
|
-
e[0] !== t ? (c = A.toArray(t).find(J), e[0] = t, e[1] = c) : c = e[1];
|
|
27
|
-
const u = c;
|
|
28
|
-
let m;
|
|
29
|
-
e[2] !== t ? (m = A.toArray(t).find(Q), e[2] = t, e[3] = m) : m = e[3];
|
|
30
|
-
const N = m;
|
|
31
|
-
let l;
|
|
32
|
-
e[4] !== t ? (l = A.toArray(t).find(U), e[4] = t, e[5] = l) : l = e[5];
|
|
33
|
-
const y = l;
|
|
34
|
-
let a;
|
|
35
|
-
e[6] !== t ? (a = A.toArray(t).filter(Y), e[6] = t, e[7] = a) : a = e[7];
|
|
36
|
-
const H = a;
|
|
37
|
-
let h;
|
|
38
|
-
e[8] !== n ? (h = V("fixed inset-0 grid place-content-center", n), e[8] = n, e[9] = h) : h = e[9];
|
|
39
|
-
let R;
|
|
40
|
-
e[10] !== f ? (R = /* @__PURE__ */ k("div", { className: "absolute inset-0 bg-black opacity-70 dark:opacity-85 animate-in fade-in-0", onClick: f, role: "presentation" }), e[10] = f, e[11] = R) : R = e[11];
|
|
41
|
-
let g;
|
|
42
|
-
e[12] !== i ? (g = V(P({
|
|
43
|
-
className: i
|
|
44
|
-
})), e[12] = i, e[13] = g) : g = e[13];
|
|
45
|
-
let w;
|
|
46
|
-
e[14] !== b ? (w = b ?? {
|
|
47
|
-
duration: 0.25,
|
|
48
|
-
ease: "easeInOut"
|
|
49
|
-
}, e[14] = b, e[15] = w) : w = e[15];
|
|
50
|
-
let v;
|
|
51
|
-
e[16] !== r || e[17] !== f || e[18] !== p ? (v = p && /* @__PURE__ */ E("button", { className: V(T({
|
|
52
|
-
className: r
|
|
53
|
-
})), onClick: f, children: [
|
|
54
|
-
/* @__PURE__ */ k(X, {}),
|
|
55
|
-
/* @__PURE__ */ k(K, { children: "Dismiss modal" })
|
|
56
|
-
] }), e[16] = r, e[17] = f, e[18] = p, e[19] = v) : v = e[19];
|
|
57
|
-
const S = N ?? H;
|
|
58
|
-
let B;
|
|
59
|
-
e[20] !== y || e[21] !== u || e[22] !== v || e[23] !== S || e[24] !== g || e[25] !== w ? (B = /* @__PURE__ */ E(q.div, { className: g, role: "dialog", "aria-modal": "true", layout: "size", transition: w, children: [
|
|
60
|
-
u,
|
|
61
|
-
v,
|
|
62
|
-
S,
|
|
63
|
-
y
|
|
64
|
-
] }), e[20] = y, e[21] = u, e[22] = v, e[23] = S, e[24] = g, e[25] = w, e[26] = B) : B = e[26];
|
|
65
|
-
let x;
|
|
66
|
-
return e[27] !== B || e[28] !== h || e[29] !== R || e[30] !== C ? (x = /* @__PURE__ */ k(L, { children: /* @__PURE__ */ E("div", { className: h, "data-theme": C, children: [
|
|
67
|
-
R,
|
|
68
|
-
B
|
|
69
|
-
] }) }), e[27] = B, e[28] = h, e[29] = R, e[30] = C, e[31] = x) : x = e[31], x;
|
|
70
|
-
};
|
|
71
|
-
function J(o) {
|
|
72
|
-
return F(o) && o.type === d.Header;
|
|
73
|
-
}
|
|
74
|
-
function Q(o) {
|
|
75
|
-
return F(o) && o.type === d.Body;
|
|
76
|
-
}
|
|
77
|
-
function U(o) {
|
|
78
|
-
return F(o) && o.type === d.Footer;
|
|
79
|
-
}
|
|
80
|
-
function Y(o) {
|
|
81
|
-
return !F(o) || ![d.Header, d.Body, d.Footer].includes(o.type);
|
|
82
|
-
}
|
|
83
|
-
const d = (o) => {
|
|
84
|
-
const e = j.c(23);
|
|
85
|
-
let r, t, i, n, s;
|
|
86
|
-
e[0] !== o ? ({
|
|
87
|
-
isOpen: i,
|
|
88
|
-
onClose: n,
|
|
89
|
-
container: r,
|
|
90
|
-
theme: s,
|
|
91
|
-
...t
|
|
92
|
-
} = o, e[0] = o, e[1] = r, e[2] = t, e[3] = i, e[4] = n, e[5] = s) : (r = e[1], t = e[2], i = e[3], n = e[4], s = e[5]);
|
|
93
|
-
const C = $(null), [b, f] = z(null);
|
|
94
|
-
let p, c;
|
|
95
|
-
e[6] !== r || e[7] !== s ? (p = () => {
|
|
96
|
-
if (!C.current || s || r)
|
|
97
|
-
return;
|
|
98
|
-
const a = C.current.closest("[data-theme]");
|
|
99
|
-
a && f(a);
|
|
100
|
-
}, c = [s, r], e[6] = r, e[7] = s, e[8] = p, e[9] = c) : (p = e[8], c = e[9]), _(p, c);
|
|
101
|
-
let u, m;
|
|
102
|
-
e[10] !== n ? (u = () => {
|
|
103
|
-
const a = new AbortController(), H = (h) => {
|
|
104
|
-
h.code === "Escape" && n?.();
|
|
105
|
-
};
|
|
106
|
-
return window.addEventListener("keydown", H, {
|
|
107
|
-
signal: a.signal
|
|
108
|
-
}), () => {
|
|
109
|
-
a.abort();
|
|
110
|
-
};
|
|
111
|
-
}, m = [n], e[10] = n, e[11] = u, e[12] = m) : (u = e[11], m = e[12]), _(u, m);
|
|
112
|
-
let N;
|
|
113
|
-
e[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (N = /* @__PURE__ */ k("span", { ref: C, "data-testid": "modal-anchor", hidden: !0 }), e[13] = N) : N = e[13];
|
|
114
|
-
let l;
|
|
115
|
-
e[14] !== r || e[15] !== t || e[16] !== i || e[17] !== n || e[18] !== s || e[19] !== b ? (l = i && I(/* @__PURE__ */ k(G, { ...t, theme: s, onClose: n }), r || b || document.body), e[14] = r, e[15] = t, e[16] = i, e[17] = n, e[18] = s, e[19] = b, e[20] = l) : l = e[20];
|
|
116
|
-
let y;
|
|
117
|
-
return e[21] !== l ? (y = /* @__PURE__ */ E(W, { children: [
|
|
118
|
-
N,
|
|
119
|
-
l
|
|
120
|
-
] }), e[21] = l, e[22] = y) : y = e[22], y;
|
|
121
|
-
};
|
|
122
|
-
d.Header = O;
|
|
123
|
-
d.Body = D;
|
|
124
|
-
d.Footer = M;
|
|
125
|
-
export {
|
|
126
|
-
d as M,
|
|
127
|
-
G as W
|
|
128
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
2
|
-
function l(e) {
|
|
3
|
-
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4
|
-
}
|
|
5
|
-
export {
|
|
6
|
-
o as c,
|
|
7
|
-
l as g
|
|
8
|
-
};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import l, { forwardRef as c } from "react";
|
|
2
|
-
import { P as a } from "./index-BOE_3f_Z.js";
|
|
3
|
-
function p() {
|
|
4
|
-
return p = Object.assign || function(e) {
|
|
5
|
-
for (var o = 1; o < arguments.length; o++) {
|
|
6
|
-
var t = arguments[o];
|
|
7
|
-
for (var r in t)
|
|
8
|
-
Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]);
|
|
9
|
-
}
|
|
10
|
-
return e;
|
|
11
|
-
}, p.apply(this, arguments);
|
|
12
|
-
}
|
|
13
|
-
function u(e, o) {
|
|
14
|
-
if (e == null) return {};
|
|
15
|
-
var t = v(e, o), r, n;
|
|
16
|
-
if (Object.getOwnPropertySymbols) {
|
|
17
|
-
var i = Object.getOwnPropertySymbols(e);
|
|
18
|
-
for (n = 0; n < i.length; n++)
|
|
19
|
-
r = i[n], !(o.indexOf(r) >= 0) && Object.prototype.propertyIsEnumerable.call(e, r) && (t[r] = e[r]);
|
|
20
|
-
}
|
|
21
|
-
return t;
|
|
22
|
-
}
|
|
23
|
-
function v(e, o) {
|
|
24
|
-
if (e == null) return {};
|
|
25
|
-
var t = {}, r = Object.keys(e), n, i;
|
|
26
|
-
for (i = 0; i < r.length; i++)
|
|
27
|
-
n = r[i], !(o.indexOf(n) >= 0) && (t[n] = e[n]);
|
|
28
|
-
return t;
|
|
29
|
-
}
|
|
30
|
-
var s = c(function(e, o) {
|
|
31
|
-
var t = e.color, r = t === void 0 ? "currentColor" : t, n = e.size, i = n === void 0 ? 24 : n, f = u(e, ["color", "size"]);
|
|
32
|
-
return /* @__PURE__ */ l.createElement("svg", p({
|
|
33
|
-
ref: o,
|
|
34
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
35
|
-
width: i,
|
|
36
|
-
height: i,
|
|
37
|
-
viewBox: "0 0 24 24",
|
|
38
|
-
fill: "none",
|
|
39
|
-
stroke: r,
|
|
40
|
-
strokeWidth: "2",
|
|
41
|
-
strokeLinecap: "round",
|
|
42
|
-
strokeLinejoin: "round"
|
|
43
|
-
}, f), /* @__PURE__ */ l.createElement("polyline", {
|
|
44
|
-
points: "18 15 12 9 6 15"
|
|
45
|
-
}));
|
|
46
|
-
});
|
|
47
|
-
s.propTypes = {
|
|
48
|
-
color: a.string,
|
|
49
|
-
size: a.oneOfType([a.string, a.number])
|
|
50
|
-
};
|
|
51
|
-
s.displayName = "ChevronUp";
|
|
52
|
-
export {
|
|
53
|
-
s as C
|
|
54
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import p from "react";
|
|
2
|
-
var e = { exports: {} }, t = {};
|
|
3
|
-
var a;
|
|
4
|
-
function s() {
|
|
5
|
-
if (a) return t;
|
|
6
|
-
a = 1;
|
|
7
|
-
var o = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
8
|
-
return t.c = function(r) {
|
|
9
|
-
return o.H.useMemoCache(r);
|
|
10
|
-
}, t;
|
|
11
|
-
}
|
|
12
|
-
var n = {};
|
|
13
|
-
var u;
|
|
14
|
-
function m() {
|
|
15
|
-
return u || (u = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
16
|
-
var o = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
17
|
-
n.c = function(r) {
|
|
18
|
-
var i = o.H;
|
|
19
|
-
return i === null && console.error(
|
|
20
|
-
`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
21
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
22
|
-
2. You might be breaking the Rules of Hooks
|
|
23
|
-
3. You might have more than one copy of React in the same app
|
|
24
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
|
|
25
|
-
), i.useMemoCache(r);
|
|
26
|
-
};
|
|
27
|
-
})()), n;
|
|
28
|
-
}
|
|
29
|
-
var c;
|
|
30
|
-
function l() {
|
|
31
|
-
return c || (c = 1, process.env.NODE_ENV === "production" ? e.exports = /* @__PURE__ */ s() : e.exports = /* @__PURE__ */ m()), e.exports;
|
|
32
|
-
}
|
|
33
|
-
var _ = /* @__PURE__ */ l();
|
|
34
|
-
export {
|
|
35
|
-
_ as c
|
|
36
|
-
};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { forwardRef as l, createElement as n } from "react";
|
|
2
|
-
const u = (...t) => t.filter((e, r, o) => !!e && e.trim() !== "" && o.indexOf(e) === r).join(" ").trim();
|
|
3
|
-
const w = (t) => t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
4
|
-
const f = (t) => t.replace(
|
|
5
|
-
/^([A-Z])|[\s-_]+(\w)/g,
|
|
6
|
-
(e, r, o) => o ? o.toUpperCase() : r.toLowerCase()
|
|
7
|
-
);
|
|
8
|
-
const i = (t) => {
|
|
9
|
-
const e = f(t);
|
|
10
|
-
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
11
|
-
};
|
|
12
|
-
var h = {
|
|
13
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
-
width: 24,
|
|
15
|
-
height: 24,
|
|
16
|
-
viewBox: "0 0 24 24",
|
|
17
|
-
fill: "none",
|
|
18
|
-
stroke: "currentColor",
|
|
19
|
-
strokeWidth: 2,
|
|
20
|
-
strokeLinecap: "round",
|
|
21
|
-
strokeLinejoin: "round"
|
|
22
|
-
};
|
|
23
|
-
const g = (t) => {
|
|
24
|
-
for (const e in t)
|
|
25
|
-
if (e.startsWith("aria-") || e === "role" || e === "title")
|
|
26
|
-
return !0;
|
|
27
|
-
return !1;
|
|
28
|
-
};
|
|
29
|
-
const A = l(
|
|
30
|
-
({
|
|
31
|
-
color: t = "currentColor",
|
|
32
|
-
size: e = 24,
|
|
33
|
-
strokeWidth: r = 2,
|
|
34
|
-
absoluteStrokeWidth: o,
|
|
35
|
-
className: s = "",
|
|
36
|
-
children: a,
|
|
37
|
-
iconNode: p,
|
|
38
|
-
...c
|
|
39
|
-
}, m) => n(
|
|
40
|
-
"svg",
|
|
41
|
-
{
|
|
42
|
-
ref: m,
|
|
43
|
-
...h,
|
|
44
|
-
width: e,
|
|
45
|
-
height: e,
|
|
46
|
-
stroke: t,
|
|
47
|
-
strokeWidth: o ? Number(r) * 24 / Number(e) : r,
|
|
48
|
-
className: u("lucide", s),
|
|
49
|
-
...!a && !g(c) && { "aria-hidden": "true" },
|
|
50
|
-
...c
|
|
51
|
-
},
|
|
52
|
-
[
|
|
53
|
-
...p.map(([C, d]) => n(C, d)),
|
|
54
|
-
...Array.isArray(a) ? a : [a]
|
|
55
|
-
]
|
|
56
|
-
)
|
|
57
|
-
);
|
|
58
|
-
const k = (t, e) => {
|
|
59
|
-
const r = l(
|
|
60
|
-
({ className: o, ...s }, a) => n(A, {
|
|
61
|
-
ref: a,
|
|
62
|
-
iconNode: e,
|
|
63
|
-
className: u(
|
|
64
|
-
`lucide-${w(i(t))}`,
|
|
65
|
-
`lucide-${t}`,
|
|
66
|
-
o
|
|
67
|
-
),
|
|
68
|
-
...s
|
|
69
|
-
})
|
|
70
|
-
);
|
|
71
|
-
return r.displayName = i(t), r;
|
|
72
|
-
};
|
|
73
|
-
export {
|
|
74
|
-
k as c
|
|
75
|
-
};
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { g as U } from "./_commonjsHelpers-DaMA6jEr.js";
|
|
2
|
-
import { r as X, a as z, b as F } from "./isObject-9XxUefZH.js";
|
|
3
|
-
var y, A;
|
|
4
|
-
function G() {
|
|
5
|
-
if (A) return y;
|
|
6
|
-
A = 1;
|
|
7
|
-
var f = /* @__PURE__ */ X(), i = function() {
|
|
8
|
-
return f.Date.now();
|
|
9
|
-
};
|
|
10
|
-
return y = i, y;
|
|
11
|
-
}
|
|
12
|
-
var N, D;
|
|
13
|
-
function J() {
|
|
14
|
-
if (D) return N;
|
|
15
|
-
D = 1;
|
|
16
|
-
var f = /\s/;
|
|
17
|
-
function i(o) {
|
|
18
|
-
for (var n = o.length; n-- && f.test(o.charAt(n)); )
|
|
19
|
-
;
|
|
20
|
-
return n;
|
|
21
|
-
}
|
|
22
|
-
return N = i, N;
|
|
23
|
-
}
|
|
24
|
-
var R, L;
|
|
25
|
-
function K() {
|
|
26
|
-
if (L) return R;
|
|
27
|
-
L = 1;
|
|
28
|
-
var f = /* @__PURE__ */ J(), i = /^\s+/;
|
|
29
|
-
function o(n) {
|
|
30
|
-
return n && n.slice(0, f(n) + 1).replace(i, "");
|
|
31
|
-
}
|
|
32
|
-
return R = o, R;
|
|
33
|
-
}
|
|
34
|
-
var O, M;
|
|
35
|
-
function Q() {
|
|
36
|
-
if (M) return O;
|
|
37
|
-
M = 1;
|
|
38
|
-
var f = /* @__PURE__ */ K(), i = /* @__PURE__ */ F(), o = /* @__PURE__ */ z(), n = NaN, g = /^[-+]0x[0-9a-f]+$/i, h = /^0b[01]+$/i, E = /^0o[0-7]+$/i, T = parseInt;
|
|
39
|
-
function a(e) {
|
|
40
|
-
if (typeof e == "number")
|
|
41
|
-
return e;
|
|
42
|
-
if (o(e))
|
|
43
|
-
return n;
|
|
44
|
-
if (i(e)) {
|
|
45
|
-
var u = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
46
|
-
e = i(u) ? u + "" : u;
|
|
47
|
-
}
|
|
48
|
-
if (typeof e != "string")
|
|
49
|
-
return e === 0 ? e : +e;
|
|
50
|
-
e = f(e);
|
|
51
|
-
var d = h.test(e);
|
|
52
|
-
return d || E.test(e) ? T(e.slice(2), d ? 2 : 8) : g.test(e) ? n : +e;
|
|
53
|
-
}
|
|
54
|
-
return O = a, O;
|
|
55
|
-
}
|
|
56
|
-
var S, B;
|
|
57
|
-
function V() {
|
|
58
|
-
if (B) return S;
|
|
59
|
-
B = 1;
|
|
60
|
-
var f = /* @__PURE__ */ F(), i = /* @__PURE__ */ G(), o = /* @__PURE__ */ Q(), n = "Expected a function", g = Math.max, h = Math.min;
|
|
61
|
-
function E(T, a, e) {
|
|
62
|
-
var u, d, x, c, t, m, v = 0, k = !1, b = !1, q = !0;
|
|
63
|
-
if (typeof T != "function")
|
|
64
|
-
throw new TypeError(n);
|
|
65
|
-
a = o(a) || 0, f(e) && (k = !!e.leading, b = "maxWait" in e, x = b ? g(o(e.maxWait) || 0, a) : x, q = "trailing" in e ? !!e.trailing : q);
|
|
66
|
-
function p(r) {
|
|
67
|
-
var s = u, l = d;
|
|
68
|
-
return u = d = void 0, v = r, c = T.apply(l, s), c;
|
|
69
|
-
}
|
|
70
|
-
function $(r) {
|
|
71
|
-
return v = r, t = setTimeout(I, a), k ? p(r) : c;
|
|
72
|
-
}
|
|
73
|
-
function w(r) {
|
|
74
|
-
var s = r - m, l = r - v, j = a - s;
|
|
75
|
-
return b ? h(j, x - l) : j;
|
|
76
|
-
}
|
|
77
|
-
function W(r) {
|
|
78
|
-
var s = r - m, l = r - v;
|
|
79
|
-
return m === void 0 || s >= a || s < 0 || b && l >= x;
|
|
80
|
-
}
|
|
81
|
-
function I() {
|
|
82
|
-
var r = i();
|
|
83
|
-
if (W(r))
|
|
84
|
-
return C(r);
|
|
85
|
-
t = setTimeout(I, w(r));
|
|
86
|
-
}
|
|
87
|
-
function C(r) {
|
|
88
|
-
return t = void 0, q && u ? p(r) : (u = d = void 0, c);
|
|
89
|
-
}
|
|
90
|
-
function H() {
|
|
91
|
-
t !== void 0 && clearTimeout(t), v = 0, u = m = d = t = void 0;
|
|
92
|
-
}
|
|
93
|
-
function P() {
|
|
94
|
-
return t === void 0 ? c : C(i());
|
|
95
|
-
}
|
|
96
|
-
function _() {
|
|
97
|
-
var r = i(), s = W(r);
|
|
98
|
-
if (u = arguments, d = this, m = r, s) {
|
|
99
|
-
if (t === void 0)
|
|
100
|
-
return $(m);
|
|
101
|
-
if (b)
|
|
102
|
-
return clearTimeout(t), t = setTimeout(I, a), p(m);
|
|
103
|
-
}
|
|
104
|
-
return t === void 0 && (t = setTimeout(I, a)), c;
|
|
105
|
-
}
|
|
106
|
-
return _.cancel = H, _.flush = P, _;
|
|
107
|
-
}
|
|
108
|
-
return S = E, S;
|
|
109
|
-
}
|
|
110
|
-
var Y = /* @__PURE__ */ V();
|
|
111
|
-
const re = /* @__PURE__ */ U(Y);
|
|
112
|
-
export {
|
|
113
|
-
re as d
|
|
114
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { c } from "./createLucideIcon-CP-mMPfa.js";
|
|
2
|
-
const e = [
|
|
3
|
-
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
|
4
|
-
["circle", { cx: "12", cy: "5", r: "1", key: "gxeob9" }],
|
|
5
|
-
["circle", { cx: "12", cy: "19", r: "1", key: "lyex9k" }]
|
|
6
|
-
], r = c("ellipsis-vertical", e);
|
|
7
|
-
export {
|
|
8
|
-
r as E
|
|
9
|
-
};
|
package/dist/index--l0zux8V.js
DELETED
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
import * as r from "react";
|
|
2
|
-
import { jsx as m } from "react/jsx-runtime";
|
|
3
|
-
import * as y from "react-dom";
|
|
4
|
-
import { c as E } from "./index-DLcqcWxM.js";
|
|
5
|
-
function M(e, t) {
|
|
6
|
-
const n = r.createContext(t), s = (i) => {
|
|
7
|
-
const { children: u, ...c } = i, l = r.useMemo(() => c, Object.values(c));
|
|
8
|
-
return /* @__PURE__ */ m(n.Provider, { value: l, children: u });
|
|
9
|
-
};
|
|
10
|
-
s.displayName = e + "Provider";
|
|
11
|
-
function o(i) {
|
|
12
|
-
const u = r.useContext(n);
|
|
13
|
-
if (u) return u;
|
|
14
|
-
if (t !== void 0) return t;
|
|
15
|
-
throw new Error(`\`${i}\` must be used within \`${e}\``);
|
|
16
|
-
}
|
|
17
|
-
return [s, o];
|
|
18
|
-
}
|
|
19
|
-
function W(e, t = []) {
|
|
20
|
-
let n = [];
|
|
21
|
-
function s(i, u) {
|
|
22
|
-
const c = r.createContext(u), l = n.length;
|
|
23
|
-
n = [...n, u];
|
|
24
|
-
const f = (a) => {
|
|
25
|
-
const { scope: v, children: C, ...p } = a, h = v?.[e]?.[l] || c, S = r.useMemo(() => p, Object.values(p));
|
|
26
|
-
return /* @__PURE__ */ m(h.Provider, { value: S, children: C });
|
|
27
|
-
};
|
|
28
|
-
f.displayName = i + "Provider";
|
|
29
|
-
function d(a, v) {
|
|
30
|
-
const C = v?.[e]?.[l] || c, p = r.useContext(C);
|
|
31
|
-
if (p) return p;
|
|
32
|
-
if (u !== void 0) return u;
|
|
33
|
-
throw new Error(`\`${a}\` must be used within \`${i}\``);
|
|
34
|
-
}
|
|
35
|
-
return [f, d];
|
|
36
|
-
}
|
|
37
|
-
const o = () => {
|
|
38
|
-
const i = n.map((u) => r.createContext(u));
|
|
39
|
-
return function(c) {
|
|
40
|
-
const l = c?.[e] || i;
|
|
41
|
-
return r.useMemo(
|
|
42
|
-
() => ({ [`__scope${e}`]: { ...c, [e]: l } }),
|
|
43
|
-
[c, l]
|
|
44
|
-
);
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
return o.scopeName = e, [s, x(o, ...t)];
|
|
48
|
-
}
|
|
49
|
-
function x(...e) {
|
|
50
|
-
const t = e[0];
|
|
51
|
-
if (e.length === 1) return t;
|
|
52
|
-
const n = () => {
|
|
53
|
-
const s = e.map((o) => ({
|
|
54
|
-
useScope: o(),
|
|
55
|
-
scopeName: o.scopeName
|
|
56
|
-
}));
|
|
57
|
-
return function(i) {
|
|
58
|
-
const u = s.reduce((c, { useScope: l, scopeName: f }) => {
|
|
59
|
-
const a = l(i)[`__scope${f}`];
|
|
60
|
-
return { ...c, ...a };
|
|
61
|
-
}, {});
|
|
62
|
-
return r.useMemo(() => ({ [`__scope${t.scopeName}`]: u }), [u]);
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
return n.scopeName = t.scopeName, n;
|
|
66
|
-
}
|
|
67
|
-
function A(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
68
|
-
return function(o) {
|
|
69
|
-
if (e?.(o), n === !1 || !o.defaultPrevented)
|
|
70
|
-
return t?.(o);
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
var P = globalThis?.document ? r.useLayoutEffect : () => {
|
|
74
|
-
}, b = r[" useInsertionEffect ".trim().toString()] || P;
|
|
75
|
-
function H({
|
|
76
|
-
prop: e,
|
|
77
|
-
defaultProp: t,
|
|
78
|
-
onChange: n = () => {
|
|
79
|
-
},
|
|
80
|
-
caller: s
|
|
81
|
-
}) {
|
|
82
|
-
const [o, i, u] = g({
|
|
83
|
-
defaultProp: t,
|
|
84
|
-
onChange: n
|
|
85
|
-
}), c = e !== void 0, l = c ? e : o;
|
|
86
|
-
{
|
|
87
|
-
const d = r.useRef(e !== void 0);
|
|
88
|
-
r.useEffect(() => {
|
|
89
|
-
const a = d.current;
|
|
90
|
-
a !== c && console.warn(
|
|
91
|
-
`${s} is changing from ${a ? "controlled" : "uncontrolled"} to ${c ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
|
|
92
|
-
), d.current = c;
|
|
93
|
-
}, [c, s]);
|
|
94
|
-
}
|
|
95
|
-
const f = r.useCallback(
|
|
96
|
-
(d) => {
|
|
97
|
-
if (c) {
|
|
98
|
-
const a = w(d) ? d(e) : d;
|
|
99
|
-
a !== e && u.current?.(a);
|
|
100
|
-
} else
|
|
101
|
-
i(d);
|
|
102
|
-
},
|
|
103
|
-
[c, e, i, u]
|
|
104
|
-
);
|
|
105
|
-
return [l, f];
|
|
106
|
-
}
|
|
107
|
-
function g({
|
|
108
|
-
defaultProp: e,
|
|
109
|
-
onChange: t
|
|
110
|
-
}) {
|
|
111
|
-
const [n, s] = r.useState(e), o = r.useRef(n), i = r.useRef(t);
|
|
112
|
-
return b(() => {
|
|
113
|
-
i.current = t;
|
|
114
|
-
}, [t]), r.useEffect(() => {
|
|
115
|
-
o.current !== n && (i.current?.(n), o.current = n);
|
|
116
|
-
}, [n, o]), [n, s, i];
|
|
117
|
-
}
|
|
118
|
-
function w(e) {
|
|
119
|
-
return typeof e == "function";
|
|
120
|
-
}
|
|
121
|
-
// @__NO_SIDE_EFFECTS__
|
|
122
|
-
function R(e) {
|
|
123
|
-
const t = /* @__PURE__ */ $(e), n = r.forwardRef((s, o) => {
|
|
124
|
-
const { children: i, ...u } = s, c = r.Children.toArray(i), l = c.find(O);
|
|
125
|
-
if (l) {
|
|
126
|
-
const f = l.props.children, d = c.map((a) => a === l ? r.Children.count(f) > 1 ? r.Children.only(null) : r.isValidElement(f) ? f.props.children : null : a);
|
|
127
|
-
return /* @__PURE__ */ m(t, { ...u, ref: o, children: r.isValidElement(f) ? r.cloneElement(f, void 0, d) : null });
|
|
128
|
-
}
|
|
129
|
-
return /* @__PURE__ */ m(t, { ...u, ref: o, children: i });
|
|
130
|
-
});
|
|
131
|
-
return n.displayName = `${e}.Slot`, n;
|
|
132
|
-
}
|
|
133
|
-
// @__NO_SIDE_EFFECTS__
|
|
134
|
-
function $(e) {
|
|
135
|
-
const t = r.forwardRef((n, s) => {
|
|
136
|
-
const { children: o, ...i } = n;
|
|
137
|
-
if (r.isValidElement(o)) {
|
|
138
|
-
const u = D(o), c = N(i, o.props);
|
|
139
|
-
return o.type !== r.Fragment && (c.ref = s ? E(s, u) : u), r.cloneElement(o, c);
|
|
140
|
-
}
|
|
141
|
-
return r.Children.count(o) > 1 ? r.Children.only(null) : null;
|
|
142
|
-
});
|
|
143
|
-
return t.displayName = `${e}.SlotClone`, t;
|
|
144
|
-
}
|
|
145
|
-
var _ = /* @__PURE__ */ Symbol("radix.slottable");
|
|
146
|
-
function O(e) {
|
|
147
|
-
return r.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === _;
|
|
148
|
-
}
|
|
149
|
-
function N(e, t) {
|
|
150
|
-
const n = { ...t };
|
|
151
|
-
for (const s in t) {
|
|
152
|
-
const o = e[s], i = t[s];
|
|
153
|
-
/^on[A-Z]/.test(s) ? o && i ? n[s] = (...c) => {
|
|
154
|
-
const l = i(...c);
|
|
155
|
-
return o(...c), l;
|
|
156
|
-
} : o && (n[s] = o) : s === "style" ? n[s] = { ...o, ...i } : s === "className" && (n[s] = [o, i].filter(Boolean).join(" "));
|
|
157
|
-
}
|
|
158
|
-
return { ...e, ...n };
|
|
159
|
-
}
|
|
160
|
-
function D(e) {
|
|
161
|
-
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
162
|
-
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
163
|
-
}
|
|
164
|
-
var I = [
|
|
165
|
-
"a",
|
|
166
|
-
"button",
|
|
167
|
-
"div",
|
|
168
|
-
"form",
|
|
169
|
-
"h2",
|
|
170
|
-
"h3",
|
|
171
|
-
"img",
|
|
172
|
-
"input",
|
|
173
|
-
"label",
|
|
174
|
-
"li",
|
|
175
|
-
"nav",
|
|
176
|
-
"ol",
|
|
177
|
-
"p",
|
|
178
|
-
"select",
|
|
179
|
-
"span",
|
|
180
|
-
"svg",
|
|
181
|
-
"ul"
|
|
182
|
-
], L = I.reduce((e, t) => {
|
|
183
|
-
const n = /* @__PURE__ */ R(`Primitive.${t}`), s = r.forwardRef((o, i) => {
|
|
184
|
-
const { asChild: u, ...c } = o, l = u ? n : t;
|
|
185
|
-
return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ m(l, { ...c, ref: i });
|
|
186
|
-
});
|
|
187
|
-
return s.displayName = `Primitive.${t}`, { ...e, [t]: s };
|
|
188
|
-
}, {});
|
|
189
|
-
function T(e, t) {
|
|
190
|
-
e && y.flushSync(() => e.dispatchEvent(t));
|
|
191
|
-
}
|
|
192
|
-
export {
|
|
193
|
-
L as P,
|
|
194
|
-
H as a,
|
|
195
|
-
W as b,
|
|
196
|
-
A as c,
|
|
197
|
-
T as d,
|
|
198
|
-
M as e,
|
|
199
|
-
P as u
|
|
200
|
-
};
|