@konstructio/ui 0.1.2-alpha.109 → 0.1.2-alpha.110
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-Crcnz0_g.js → AdditionalOptions-D3SZ2WFJ.js} +1 -1
- package/dist/{AlertDialogTrigger-ouMGAlJW.js → AlertDialogTrigger-Cdw3C2Tv.js} +2 -2
- package/dist/AnimatePresence-V0yte2ER.js +186 -0
- package/dist/{Breadcrumb-MrF1Z6w2.js → Breadcrumb-CHi5-wVa.js} +2 -3
- package/dist/{Checkbox-8KnRLpQG.js → Checkbox-CrNxsm3G.js} +2 -3
- package/dist/{CommandInput-CGnqfudl.js → CommandInput-DiRv6fEA.js} +3 -4
- package/dist/{Counter-CDXdP1Af.js → Counter-DN50BVq6.js} +4 -5
- package/dist/{DayPicker-C22j0Y-u.js → DayPicker-BtpJg2q3.js} +355 -349
- package/dist/{DropdownButton-LEDrhn1j.js → DropdownButton-Blhkj-Oi.js} +114 -117
- package/dist/FlagSelectorList-ClKGwDpS.js +918 -0
- package/dist/{HamburgerTrigger-B_NGSZ2r.js → HamburgerTrigger-DjHmNEJD.js} +2 -3
- package/dist/{ImageUpload-D7HKSXK8.js → ImageUpload-BNZjCUTX.js} +2 -2
- package/dist/{Input-is8n7emP.js → Input-2M2I_H60.js} +3 -5
- package/dist/Loading-u8hXrFJR.js +25 -0
- package/dist/{Modal-DL4p692X.js → Modal-B6lSyPYQ.js} +3 -3
- package/dist/{Spinner-BJE79VTl.js → Spinner-smR3esbL.js} +28 -22
- package/dist/StepIndicatorContent-yB2HfOdY.js +36 -0
- package/dist/{Switch-C7286Bcu.js → Switch-CPE8v6Zh.js} +1 -1
- package/dist/Toast-DTb03cfB.js +76 -0
- package/dist/{Wrapper-a7RVCcrn.js → Wrapper-BxfB3BDa.js} +2 -2
- package/dist/{Wrapper-CyHxGs4E.js → Wrapper-JmStmade.js} +3 -4
- package/dist/{Wrapper-Bbaaa7YA.js → Wrapper-MmlrJppS.js} +76 -70
- package/dist/chevron-down-BODx0Q7h.js +14 -0
- package/dist/chevron-left-B1zWfqll.js +14 -0
- package/dist/chevron-right-D4OkgIIT.js +14 -0
- package/dist/chevron-up-B8hiVgxZ.js +14 -0
- package/dist/components/Alert/Alert.js +2 -2
- package/dist/components/AlertDialog/AlertDialog.js +2 -2
- package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
- package/dist/components/AlertDialog/components/index.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.js +1 -1
- package/dist/components/Autocomplete/components/List/List.js +1 -1
- package/dist/components/Autocomplete/hooks/useAutocomplete.js +1 -1
- package/dist/components/Badge/Badge.js +2 -2
- package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/components/Breadcrumb/components/BackButton/BackButton.js +2 -2
- package/dist/components/Breadcrumb/components/Item/Item.js +2 -2
- package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +1 -1
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.js +2 -2
- package/dist/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.js +2 -2
- package/dist/components/ButtonGroup/components/ButtonGroupLabel/ButtonGroupLabel.js +1 -1
- package/dist/components/ButtonGroup/components/ButtonGroupMessage/ButtonGroupMessage.js +1 -1
- package/dist/components/Card/Card.js +1 -1
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/Command/Command.js +2 -2
- package/dist/components/Command/components/Command.js +1 -1
- package/dist/components/Command/components/CommandEmpty.js +1 -1
- package/dist/components/Command/components/CommandGroup.js +2 -2
- package/dist/components/Command/components/CommandInput.js +1 -1
- package/dist/components/Command/components/CommandItem.js +2 -2
- package/dist/components/Command/components/CommandList.js +2 -2
- package/dist/components/Command/components/CommandSeparator.js +2 -2
- package/dist/components/Command/components/CommandShortcut.js +1 -1
- package/dist/components/Command/components/DialogContent.js +3 -3
- package/dist/components/Command/components/DialogOverlay.js +2 -2
- package/dist/components/Command/components/index.js +1 -1
- package/dist/components/CopyButton/CopyButton.js +2 -2
- package/dist/components/Counter/Counter.js +1 -1
- package/dist/components/DateRangePicker/DateRangePicker.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/CalendarPanel.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarDivider/CalendarDivider.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarMonth/CalendarMonth.js +3 -3
- package/dist/components/DateRangePicker/components/CalendarPanel/components/IndependentModeCalendar/IndependentModeCalendar.js +3 -3
- package/dist/components/DateRangePicker/components/CalendarPanel/components/NavigationButton/NavigationButton.js +3 -3
- package/dist/components/DateRangePicker/components/CalendarPanel/components/TogetherModeCalendar/TogetherModeCalendar.js +2 -2
- package/dist/components/DateRangePicker/components/CalendarPanel/constants/dayPickerClassNames.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/constants/index.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/hooks/index.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useIndependentCarousel.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useTogetherCarousel.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/utils/index.js +1 -1
- package/dist/components/DateRangePicker/components/DateTimeInputs/DateTimeInputs.js +1 -1
- package/dist/components/DateRangePicker/components/DateTimeInputs/components/EndInputFields/EndInputFields.js +2 -2
- package/dist/components/DateRangePicker/components/DateTimeInputs/components/StartInputFields/StartInputFields.js +2 -2
- package/dist/components/DateRangePicker/components/PresetPanel/PresetPanel.js +1 -1
- package/dist/components/DateRangePicker/components/RightPanel/RightPanel.js +3 -3
- package/dist/components/Datepicker/DatePicker.js +4 -4
- package/dist/components/Divider/Divider.js +1 -1
- package/dist/components/Drawer/Drawer.js +2 -2
- package/dist/components/Drawer/components/Body/Body.js +1 -1
- package/dist/components/Drawer/components/Footer/Footer.js +1 -1
- package/dist/components/Drawer/components/Header/Header.js +1 -1
- package/dist/components/DropdownButton/DropdownButton.js +1 -1
- package/dist/components/Filter/Filter.js +1 -1
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +3 -3
- package/dist/components/Filter/components/CustomDateRangeFilterDropdown/components/Actions/Actions.js +3 -3
- package/dist/components/Filter/components/CustomDateRangeFilterDropdown/components/Trigger/Trigger.js +2 -2
- package/dist/components/Filter/components/CustomDateRangeFilterDropdown/components/Wrapper/Wrapper.js +1 -1
- package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.js +2 -2
- package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.js +2 -2
- package/dist/components/Filter/components/FilterDropdown/FilterDropdown.js +2 -2
- package/dist/components/Filter/components/ResetButton/ResetButton.js +1 -1
- package/dist/components/Filter/components/TextMultiSelect/TextMultiSelect.js +3 -3
- package/dist/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.js +2 -2
- package/dist/components/ImageUpload/ImageUpload.js +1 -1
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/LineChart/LineChart.js +2 -2
- package/dist/components/Loading/Loading.js +1 -1
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Modal/components/Body/Body.js +1 -1
- package/dist/components/Modal/components/Footer/Footer.js +1 -1
- package/dist/components/Modal/components/Header/Header.js +1 -1
- package/dist/components/Modal/components/Wrapper/Wrapper.js +1 -1
- package/dist/components/Modal/components/index.js +1 -1
- package/dist/components/MultiSelectDropdown/MultiSelectDropdown.js +1 -1
- package/dist/components/MultiSelectDropdown/components/Item/Item.js +1 -1
- package/dist/components/MultiSelectDropdown/components/List/List.js +1 -1
- package/dist/components/MultiSelectDropdown/components/Wrapper/Wrapper.js +1 -1
- package/dist/components/MultiSelectDropdown/components/index.js +1 -1
- package/dist/components/PhoneNumberInput/PhoneNumberInput.js +2 -2
- package/dist/components/PhoneNumberInput/components/FlagContent/FlagContent.js +2 -2
- package/dist/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.js +1 -1
- package/dist/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.js +3 -3
- package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +1 -1
- package/dist/components/PhoneNumberInput/components/Wrapper.js +1 -1
- package/dist/components/PhoneNumberInput/components/index.js +2 -2
- package/dist/components/PhoneNumberInput/contexts/index.js +1 -1
- package/dist/components/PhoneNumberInput/contexts/phone-number.provider.js +1 -1
- package/dist/components/PhoneNumberInput/utils/index.js +1 -1
- package/dist/components/PieChart/PieChart.js +2 -2
- package/dist/components/ProgressBar/ProgressBar.js +1 -1
- package/dist/components/Radio/Radio.js +1 -1
- package/dist/components/RadioCard/RadioCard.js +1 -1
- package/dist/components/RadioCardGroup/RadioCardGroup.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/Range/Range.js +2 -2
- package/dist/components/Select/Select.js +3 -3
- package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.js +1 -1
- package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.variants.js +1 -1
- package/dist/components/Select/components/List/List.js +3 -3
- package/dist/components/Select/components/ListItem/ListItem.js +1 -1
- package/dist/components/Select/components/Wrapper.js +1 -1
- package/dist/components/Select/components/index.js +2 -2
- package/dist/components/Sidebar/components/CollapseTrigger/CollapseTrigger.js +1 -1
- package/dist/components/Sidebar/components/Footer/Footer.js +1 -1
- package/dist/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.js +1 -1
- package/dist/components/Sidebar/components/Label/Label.js +1 -1
- package/dist/components/Sidebar/components/Logo/Logo.js +1 -1
- package/dist/components/Sidebar/components/Navigation/Navigation.js +1 -1
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +1 -1
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +2 -2
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +1 -1
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +1 -1
- package/dist/components/Sidebar/components/Wrapper/Wrapper.js +2 -2
- package/dist/components/Sidebar/components/index.js +1 -1
- package/dist/components/Slider/Slider.js +2 -2
- package/dist/components/Spinner/Spinner.js +3 -2
- package/dist/components/Stepper/Stepper.js +1 -1
- package/dist/components/Stepper/components/HorizontalStepItem/HorizontalStepItem.js +2 -2
- package/dist/components/Stepper/components/StepConnector/StepConnector.js +1 -1
- package/dist/components/Stepper/components/StepIndicatorContent/StepIndicatorContent.js +1 -1
- package/dist/components/Stepper/components/VerticalStepItem/VerticalStepItem.js +2 -2
- package/dist/components/Switch/Switch.js +1 -1
- package/dist/components/Table/Table.js +1 -1
- package/dist/components/Table/components/Body.js +1 -1
- package/dist/components/Table/components/Filter.js +1 -1
- package/dist/components/Table/components/Head.js +1 -1
- package/dist/components/Table/components/Row.js +1 -1
- package/dist/components/Tabs/Tabs.js +2 -2
- package/dist/components/Tabs/components/Content.js +2 -2
- package/dist/components/Tabs/components/List.js +2 -2
- package/dist/components/Tabs/components/Trigger.js +2 -2
- package/dist/components/Tag/Tag.js +1 -1
- package/dist/components/TagSelect/TagSelect.js +1 -1
- package/dist/components/TagSelect/components/Item/Item.js +1 -1
- package/dist/components/TagSelect/components/List/List.js +1 -1
- package/dist/components/TagSelect/components/Wrapper/Wrapper.js +1 -1
- package/dist/components/TagSelect/components/index.js +1 -1
- package/dist/components/TextArea/TextArea.js +1 -1
- package/dist/components/TimePicker/components/HoursList/HoursList.js +1 -1
- package/dist/components/TimePicker/components/MeridianList/MeridianList.js +1 -1
- package/dist/components/TimePicker/components/MinutesList/MinutesList.js +1 -1
- package/dist/components/TimePicker/components/Wrapper/Wrapper.js +2 -2
- package/dist/components/TimePicker/components/WrapperList/WrapperList.js +1 -1
- package/dist/components/Toast/Toast.js +1 -1
- package/dist/components/Toast/Toast.variants.js +73 -41
- package/dist/components/Toast/ToastProvider.js +19 -0
- package/dist/components/Toast/components/ToastCard/ToastCard.js +103 -0
- package/dist/components/Toast/components/index.js +4 -0
- package/dist/components/Toast/constants/index.js +35 -0
- package/dist/components/Toast/contexts/index.js +4 -0
- package/dist/components/Toast/contexts/toast-store.context.js +5 -0
- package/dist/components/Toast/hooks/index.js +15 -0
- package/dist/components/Toast/hooks/useStackExpansion/useStackExpansion.js +29 -0
- package/dist/components/Toast/hooks/useToast/useToast.js +17 -0
- package/dist/components/Toast/hooks/useToastHeights/useToastHeights.js +23 -0
- package/dist/components/Toast/hooks/useToastSource/useToastSource.js +15 -0
- package/dist/components/Toast/hooks/useToastStore/useToastStore.js +11 -0
- package/dist/components/Toast/hooks/useToastTimer/useToastTimer.js +26 -0
- package/dist/components/Toast/store/create-toast-store.js +46 -0
- package/dist/components/Toast/store/default-toast-store.js +5 -0
- package/dist/components/Toast/store/index.js +6 -0
- package/dist/components/Toast/utils/compute-stack-layout/compute-stack-layout.js +24 -0
- package/dist/components/Toast/utils/index.js +4 -0
- package/dist/components/Tooltip/Tooltip.js +2 -2
- package/dist/components/Typography/Typography.js +1 -1
- package/dist/components/VirtualizedTable/VirtualizedTable.js +2 -2
- package/dist/components/VirtualizedTable/components/Actions/components/ActionsList/ActionsList.js +1 -1
- package/dist/components/VirtualizedTable/components/Actions/components/ActionsTrigger/ActionsTrigger.js +2 -2
- package/dist/components/VirtualizedTable/components/Actions/components/InlineActions/InlineActions.js +1 -1
- package/dist/components/VirtualizedTable/components/Actions/components/PortalActions/PortalActions.js +1 -1
- package/dist/components/VirtualizedTable/components/Body/Body.js +2 -2
- package/dist/components/VirtualizedTable/components/DotPaginate/DotPaginate.js +3 -3
- package/dist/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.js +3 -3
- package/dist/components/VirtualizedTable/components/ExpandableRow/ExpandableRow.js +1 -1
- package/dist/components/VirtualizedTable/components/Filter/Filter.js +2 -2
- package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +1 -1
- package/dist/components/VirtualizedTable/components/Header/Header.js +2 -2
- package/dist/components/VirtualizedTable/components/Pagination/Pagination.js +1 -1
- package/dist/components/VirtualizedTable/components/Skeleton/Skeleton.js +2 -2
- package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +1 -1
- package/dist/components/VirtualizedTable/components/WrapperBody/WrapperBody.js +1 -1
- package/dist/components/VirtualizedTable/contexts/index.js +1 -1
- package/dist/components/VirtualizedTable/contexts/table.provider.js +1 -1
- package/dist/components/index.js +143 -130
- package/dist/{components-CaEW5ge4.js → components-z-LYRWfq.js} +3 -3
- package/dist/{constants-HQIXhj2t.js → constants-q2QnJrOb.js} +1 -1
- package/dist/contexts/index.js +1 -1
- package/dist/contexts/theme.provider.js +1 -1
- package/dist/createLucideIcon-C7E_xycG.js +119 -0
- package/dist/{dist-CszFjHAP.js → dist-Bi8Y5nEx.js} +7 -9
- package/dist/{dist-BIBFLVt1.js → dist-CNui_Egg.js} +9 -10
- package/dist/{dist-pxvIAJzo.js → dist-CR3FMRzF.js} +3 -3
- package/dist/{dist-BbX4Nrk2.js → dist-CgzF5_J6.js} +2 -2
- package/dist/{dist-AxOGvL82.js → dist-D5Q2IYuC.js} +3 -3
- package/dist/dist-D70ZJkHf.js +29 -0
- package/dist/{dist-DwxO2RoR.js → dist-DZ_SU77k.js} +82 -72
- package/dist/{dist-9WbMf_jT.js → dist-DcFwF4XM.js} +1 -1
- package/dist/{dist-iUAHw-3y.js → dist-Dg3vyTx9.js} +6 -6
- package/dist/{dist-ByCJijZd.js → dist-LRkZdylX.js} +4 -4
- package/dist/{dist-DO3apbIh.js → dist-f8EwfITY.js} +3 -3
- package/dist/dist-uerXivvM.js +178 -0
- package/dist/ellipsis-vertical-C_yX7aQe.js +31 -0
- package/dist/{es2015-CoHq2g4y.js → es2015-Hhb87ipX.js} +1 -1
- package/dist/hooks/index.js +8 -6
- package/dist/hooks/useIsHydrated/useIsHydrated.js +6 -0
- package/dist/hooks/useIsHydrated/utils/index.js +4 -0
- package/dist/hooks/useIsHydrated/utils/noop-subscribe/noop-subscribe.js +5 -0
- package/dist/hooks/useMediaQuery.js +1 -1
- package/dist/index.js +164 -149
- package/dist/lib/components/Command/components/CommandShortcut.d.ts +1 -1
- package/dist/lib/components/Command/contexts/Command.provider.d.ts +1 -1
- package/dist/lib/components/ImageUpload/ImageUpload.d.ts +1 -1
- package/dist/lib/components/Modal/contexts/Modal.provider.d.ts +1 -1
- package/dist/lib/components/Toast/Toast.d.ts +19 -14
- package/dist/lib/components/Toast/Toast.types.d.ts +62 -35
- package/dist/lib/components/Toast/Toast.variants.d.ts +16 -3
- package/dist/lib/components/Toast/ToastProvider.d.ts +11 -0
- package/dist/lib/components/Toast/ToastProvider.types.d.ts +17 -0
- package/dist/lib/components/Toast/components/ToastCard/ToastCard.d.ts +3 -0
- package/dist/lib/components/Toast/components/ToastCard/ToastCard.types.d.ts +17 -0
- package/dist/lib/components/Toast/components/index.d.ts +1 -0
- package/dist/lib/components/Toast/constants/index.d.ts +25 -0
- package/dist/lib/components/Toast/contexts/index.d.ts +1 -0
- package/dist/lib/components/Toast/contexts/toast-store.context.d.ts +2 -0
- package/dist/lib/components/Toast/hooks/index.d.ts +6 -0
- package/dist/lib/components/Toast/hooks/useStackExpansion/useStackExpansion.d.ts +2 -0
- package/dist/lib/components/Toast/hooks/useStackExpansion/useStackExpansion.types.d.ts +6 -0
- package/dist/lib/components/Toast/hooks/useToast/useToast.d.ts +2 -0
- package/dist/lib/components/Toast/hooks/useToastHeights/useToastHeights.d.ts +2 -0
- package/dist/lib/components/Toast/hooks/useToastHeights/useToastHeights.types.d.ts +6 -0
- package/dist/lib/components/Toast/hooks/useToastSource/useToastSource.d.ts +2 -0
- package/dist/lib/components/Toast/hooks/useToastSource/useToastSource.types.d.ts +11 -0
- package/dist/lib/components/Toast/hooks/useToastStore/useToastStore.d.ts +3 -0
- package/dist/lib/components/Toast/hooks/useToastTimer/useToastTimer.d.ts +2 -0
- package/dist/lib/components/Toast/hooks/useToastTimer/useToastTimer.types.d.ts +7 -0
- package/dist/lib/components/Toast/store/create-toast-store.d.ts +2 -0
- package/dist/lib/components/Toast/store/create-toast-store.types.d.ts +24 -0
- package/dist/lib/components/Toast/store/default-toast-store.d.ts +1 -0
- package/dist/lib/components/Toast/store/index.d.ts +2 -0
- package/dist/lib/components/Toast/utils/compute-stack-layout/compute-stack-layout.d.ts +2 -0
- package/dist/lib/components/Toast/utils/compute-stack-layout/compute-stack-layout.types.d.ts +12 -0
- package/dist/lib/components/Toast/utils/index.d.ts +1 -0
- package/dist/lib/components/VirtualizedTable/components/Actions/Actions.d.ts +1 -1
- package/dist/lib/components/VirtualizedTable/components/Actions/components/ActionsList/ActionsList.d.ts +1 -1
- package/dist/lib/components/VirtualizedTable/components/Actions/components/InlineActions/InlineActions.d.ts +1 -1
- package/dist/lib/components/VirtualizedTable/components/Actions/components/PortalActions/PortalActions.d.ts +1 -1
- package/dist/lib/components/VirtualizedTable/components/Body/Body.d.ts +1 -1
- package/dist/lib/components/VirtualizedTable/components/DotPaginate/DotPaginate.d.ts +1 -1
- package/dist/lib/components/VirtualizedTable/components/FormPaginate/FormPaginate.d.ts +1 -1
- package/dist/lib/components/VirtualizedTable/components/Header/Header.d.ts +1 -1
- package/dist/lib/components/VirtualizedTable/components/Skeleton/Skeleton.d.ts +1 -1
- package/dist/lib/components/VirtualizedTable/components/TruncateText/TruncateText.d.ts +1 -1
- package/dist/lib/components/VirtualizedTable/contexts/table.provider.d.ts +1 -1
- package/dist/lib/components/index.d.ts +8 -0
- package/dist/lib/hooks/index.d.ts +1 -0
- package/dist/lib/hooks/useIsHydrated/useIsHydrated.d.ts +1 -0
- package/dist/lib/hooks/useIsHydrated/utils/index.d.ts +1 -0
- package/dist/lib/hooks/useIsHydrated/utils/noop-subscribe/noop-subscribe.d.ts +1 -0
- package/dist/{libphonenumber-BMq3Thej.js → libphonenumber-DtibHRPP.js} +123 -114
- package/dist/package.json +28 -28
- package/dist/{phone-number.provider-Dkq_p1Gi.js → phone-number.provider-BASl9fGG.js} +2 -3
- package/dist/{react-DRLuFcbk.js → react-DpRKGbW_.js} +1935 -1841
- package/dist/styles.css +1 -1
- package/dist/{table.provider-CWzODR1t.js → table.provider-MQ4T5Xb5.js} +2 -2
- package/dist/{theme.provider-CSL1WCYG.js → theme.provider-CvL6sqHq.js} +1 -1
- package/dist/{useBreadcrumb-Ds_9BeFz.js → useBreadcrumb-BvP9cgD8.js} +580 -545
- package/dist/utils/index.js +1 -1
- package/dist/{utils-B-6R7kNE.js → utils-DnIJruo0.js} +208 -129
- package/dist/x-C8O1IsaM.js +17 -0
- package/dist/{x-Ierxf0uI.js → x-Vur_9PXW.js} +1 -2
- package/package.json +28 -28
- package/dist/AnimatePresence-C5PSMIZj.js +0 -186
- package/dist/FlagSelectorList-tYZNl-tz.js +0 -863
- package/dist/Loading-DO8JOWBV.js +0 -18
- package/dist/StepIndicatorContent-BGDvxLzV.js +0 -30
- package/dist/Toast-jSx3Lao8.js +0 -461
- package/dist/chevron-down-DNP-OOAQ.js +0 -8
- package/dist/chevron-left-DxGDBBKA.js +0 -8
- package/dist/chevron-right-CDwgDdp-.js +0 -8
- package/dist/chevron-up-Bjpvg6ui.js +0 -8
- package/dist/createLucideIcon-MbzNWCaI.js +0 -42
- package/dist/dist-D5XYRjmR.js +0 -15
- package/dist/dist-DGOjiAnB.js +0 -14
- package/dist/dist-DKryKPmP.js +0 -193
- package/dist/dist-DYIabsrY.js +0 -17
- package/dist/ellipsis-vertical-BBmhzIXn.js +0 -24
- package/dist/x-a_LpoXzG.js +0 -11
package/dist/components/index.js
CHANGED
|
@@ -1,155 +1,168 @@
|
|
|
1
|
-
import { t as o } from "../Checkbox-
|
|
2
|
-
import { t as m } from "../DropdownButton-
|
|
3
|
-
import { t as p } from "../Breadcrumb-
|
|
4
|
-
import { t as a } from "../Input-
|
|
5
|
-
import { t as n } from "../Counter-
|
|
1
|
+
import { t as o } from "../Checkbox-CrNxsm3G.js";
|
|
2
|
+
import { t as m } from "../DropdownButton-Blhkj-Oi.js";
|
|
3
|
+
import { t as p } from "../Breadcrumb-CHi5-wVa.js";
|
|
4
|
+
import { t as a } from "../Input-2M2I_H60.js";
|
|
5
|
+
import { t as n } from "../Counter-DN50BVq6.js";
|
|
6
6
|
import { Alert as l } from "./Alert/Alert.js";
|
|
7
|
-
import { Button as
|
|
8
|
-
import { AlertDialog as
|
|
9
|
-
import { Autocomplete as
|
|
10
|
-
import { t as
|
|
11
|
-
import { Badge as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
7
|
+
import { Button as d } from "./Button/Button.js";
|
|
8
|
+
import { AlertDialog as g } from "./AlertDialog/AlertDialog.js";
|
|
9
|
+
import { Autocomplete as S } from "./Autocomplete/Autocomplete.js";
|
|
10
|
+
import { t as C } from "../Loading-u8hXrFJR.js";
|
|
11
|
+
import { Badge as A } from "./Badge/Badge.js";
|
|
12
|
+
import { t as v } from "../Toast-DTb03cfB.js";
|
|
13
|
+
import { Typography as L } from "./Typography/Typography.js";
|
|
14
|
+
import { ButtonGroup as E } from "./ButtonGroup/ButtonGroup.js";
|
|
15
|
+
import { Card as F } from "./Card/Card.js";
|
|
16
|
+
import { CopyButton as h } from "./CopyButton/CopyButton.js";
|
|
17
|
+
import { DatePicker as P } from "./Datepicker/DatePicker.js";
|
|
18
|
+
import { Radio as x } from "./Radio/Radio.js";
|
|
19
|
+
import { RadioGroup as O } from "./RadioGroup/RadioGroup.js";
|
|
20
|
+
import { TimePicker as k } from "./TimePicker/TimePicker.js";
|
|
21
|
+
import { DateRangePicker as y } from "./DateRangePicker/DateRangePicker.js";
|
|
22
|
+
import { Divider as W } from "./Divider/Divider.js";
|
|
22
23
|
import { Drawer as j } from "./Drawer/Drawer.js";
|
|
23
24
|
import { BadgeMultiSelect as H } from "./Filter/components/BadgeDropdown/BadgeMultiSelect.js";
|
|
24
25
|
import { CustomDateRangeFilterDropdown as K } from "./Filter/components/CustomDateRangeFilterDropdown/CustomDateRangeFilterDropdown.js";
|
|
25
|
-
import { DateFilterDropdown as
|
|
26
|
-
import { DateRangeFilterDropdown as
|
|
27
|
-
import { TextMultiSelect as
|
|
28
|
-
import { TimeFilterDropdown as
|
|
29
|
-
import { Filter as
|
|
30
|
-
import { t as
|
|
31
|
-
import { LineChart as
|
|
32
|
-
import { t as
|
|
33
|
-
import { t as
|
|
26
|
+
import { DateFilterDropdown as Y } from "./Filter/components/DateFilterDropdown/DateFilterDropdown.js";
|
|
27
|
+
import { DateRangeFilterDropdown as $ } from "./Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.js";
|
|
28
|
+
import { TextMultiSelect as or } from "./Filter/components/TextMultiSelect/TextMultiSelect.js";
|
|
29
|
+
import { TimeFilterDropdown as mr } from "./Filter/components/TimeFilterDropdown/TimeFilterDropdown.js";
|
|
30
|
+
import { Filter as pr } from "./Filter/Filter.js";
|
|
31
|
+
import { t as ar } from "../ImageUpload-BNZjCUTX.js";
|
|
32
|
+
import { LineChart as nr } from "./LineChart/LineChart.js";
|
|
33
|
+
import { t as lr } from "../Modal-B6lSyPYQ.js";
|
|
34
|
+
import { t as dr } from "../components-z-LYRWfq.js";
|
|
34
35
|
import { PhoneNumberInput as gr } from "./PhoneNumberInput/PhoneNumberInput.js";
|
|
35
|
-
import { PieChart as
|
|
36
|
-
import { ProgressBar as
|
|
37
|
-
import { RadioCard as
|
|
38
|
-
import { RadioCardGroup as
|
|
39
|
-
import { Range as
|
|
40
|
-
import { Select as
|
|
41
|
-
import { CollapseTrigger as
|
|
42
|
-
import { Footer as
|
|
43
|
-
import { Label as
|
|
44
|
-
import { Logo as
|
|
45
|
-
import { NavigationGroup as
|
|
46
|
-
import { NavigationOption as
|
|
47
|
-
import { NavigationSeparator as
|
|
48
|
-
import { Navigation as
|
|
36
|
+
import { PieChart as Sr } from "./PieChart/PieChart.js";
|
|
37
|
+
import { ProgressBar as Cr } from "./ProgressBar/ProgressBar.js";
|
|
38
|
+
import { RadioCard as Ar } from "./RadioCard/RadioCard.js";
|
|
39
|
+
import { RadioCardGroup as vr } from "./RadioCardGroup/RadioCardGroup.js";
|
|
40
|
+
import { Range as Lr } from "./Range/Range.js";
|
|
41
|
+
import { Select as Er } from "./Select/Select.js";
|
|
42
|
+
import { CollapseTrigger as Fr } from "./Sidebar/components/CollapseTrigger/CollapseTrigger.js";
|
|
43
|
+
import { Footer as hr } from "./Sidebar/components/Footer/Footer.js";
|
|
44
|
+
import { Label as Pr } from "./Sidebar/components/Label/Label.js";
|
|
45
|
+
import { Logo as xr } from "./Sidebar/components/Logo/Logo.js";
|
|
46
|
+
import { NavigationGroup as Or } from "./Sidebar/components/NavigationGroup/NavigationGroup.js";
|
|
47
|
+
import { NavigationOption as kr } from "./Sidebar/components/NavigationOption/NavigationOption.js";
|
|
48
|
+
import { NavigationSeparator as yr } from "./Sidebar/components/NavigationSeparator/NavigationSeparator.js";
|
|
49
|
+
import { Navigation as Wr } from "./Sidebar/components/Navigation/Navigation.js";
|
|
49
50
|
import { Sidebar as jr } from "./Sidebar/Sidebar.js";
|
|
50
51
|
import { Slider as Hr } from "./Slider/Slider.js";
|
|
51
|
-
import { t as Kr } from "../Spinner-
|
|
52
|
-
import { horizontalConnectorWrapperVariants as
|
|
53
|
-
import { Stepper as
|
|
54
|
-
import { t as
|
|
55
|
-
import { Table as
|
|
52
|
+
import { t as Kr } from "../Spinner-smR3esbL.js";
|
|
53
|
+
import { horizontalConnectorWrapperVariants as Yr, stepConnectorVariants as Zr, stepContentVariants as $r, stepDescriptionVariants as ro, stepIndicatorVariants as oo, stepItemVariants as to, stepLabelVariants as mo, stepListVariants as io, stepVariants as po, stepperVariants as eo } from "./Stepper/Stepper.variants.js";
|
|
54
|
+
import { Stepper as fo } from "./Stepper/Stepper.js";
|
|
55
|
+
import { t as so } from "../Switch-CPE8v6Zh.js";
|
|
56
|
+
import { Table as To } from "./Table/Table.js";
|
|
56
57
|
import { Content as go } from "./Tabs/components/Content.js";
|
|
57
|
-
import { List as
|
|
58
|
-
import { Trigger as
|
|
59
|
-
import { Tabs as
|
|
60
|
-
import { Tag as
|
|
61
|
-
import { TagSelect as
|
|
62
|
-
import { TextArea as
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
58
|
+
import { List as So } from "./Tabs/components/List.js";
|
|
59
|
+
import { Trigger as Co } from "./Tabs/components/Trigger.js";
|
|
60
|
+
import { Tabs as Ao } from "./Tabs/Tabs.js";
|
|
61
|
+
import { Tag as vo } from "./Tag/Tag.js";
|
|
62
|
+
import { TagSelect as Lo } from "./TagSelect/TagSelect.js";
|
|
63
|
+
import { TextArea as Eo } from "./TextArea/TextArea.js";
|
|
64
|
+
import { DEFAULT_MAX_VISIBLE_TOASTS as Fo, DEFAULT_TOAST_DURATION as Bo, DEFAULT_TOAST_LIMIT as ho } from "./Toast/constants/index.js";
|
|
65
|
+
import { createToastStore as Po } from "./Toast/store/create-toast-store.js";
|
|
66
|
+
import { useToastStore as xo, useToastStoreApi as Mo } from "./Toast/hooks/useToastStore/useToastStore.js";
|
|
67
|
+
import { useToast as Uo } from "./Toast/hooks/useToast/useToast.js";
|
|
68
|
+
import { ToastProvider as Go } from "./Toast/ToastProvider.js";
|
|
69
|
+
import { Tooltip as zo } from "./Tooltip/Tooltip.js";
|
|
70
|
+
import { t as Xo } from "../events.types-BG1Uh8i6.js";
|
|
71
|
+
import { sendResetFiltersEvent as qo } from "./VirtualizedTable/events/filters/filters.js";
|
|
72
|
+
import { sendRefreshEvent as Jo } from "./VirtualizedTable/events/refresh/refresh.js";
|
|
73
|
+
import { sendCollapseRowEvent as Qo, sendExpandRowEvent as Yo, sendToggleRowEvent as Zo } from "./VirtualizedTable/events/row/row.js";
|
|
74
|
+
import { TruncateText as rt } from "./VirtualizedTable/components/TruncateText/TruncateText.js";
|
|
75
|
+
import { VirtualizedTable as tt } from "./VirtualizedTable/VirtualizedTable.js";
|
|
71
76
|
export {
|
|
72
77
|
l as Alert,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
78
|
+
g as AlertDialog,
|
|
79
|
+
S as Autocomplete,
|
|
80
|
+
A as Badge,
|
|
76
81
|
H as BadgeMultiSelect,
|
|
77
82
|
p as Breadcrumb,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
83
|
+
d as Button,
|
|
84
|
+
E as ButtonGroup,
|
|
85
|
+
F as Card,
|
|
81
86
|
o as Checkbox,
|
|
82
|
-
|
|
87
|
+
Fr as CollapseTrigger,
|
|
83
88
|
go as Content,
|
|
84
|
-
|
|
89
|
+
h as CopyButton,
|
|
85
90
|
n as Counter,
|
|
86
91
|
K as CustomDateRangeFilterDropdown,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
+
Fo as DEFAULT_MAX_VISIBLE_TOASTS,
|
|
93
|
+
Bo as DEFAULT_TOAST_DURATION,
|
|
94
|
+
ho as DEFAULT_TOAST_LIMIT,
|
|
95
|
+
Y as DateFilterDropdown,
|
|
96
|
+
P as DatePicker,
|
|
97
|
+
$ as DateRangeFilterDropdown,
|
|
98
|
+
y as DateRangePicker,
|
|
99
|
+
W as Divider,
|
|
92
100
|
j as Drawer,
|
|
93
|
-
|
|
101
|
+
Er as Dropdown,
|
|
94
102
|
m as DropdownButton,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
103
|
+
pr as Filter,
|
|
104
|
+
hr as Footer,
|
|
105
|
+
ar as ImageUpload,
|
|
98
106
|
a as Input,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
Pr as Label,
|
|
108
|
+
nr as LineChart,
|
|
109
|
+
So as List,
|
|
110
|
+
C as Loading,
|
|
111
|
+
xr as Logo,
|
|
112
|
+
lr as Modal,
|
|
113
|
+
dr as MultiSelectDropdown,
|
|
114
|
+
Wr as Navigation,
|
|
115
|
+
Or as NavigationGroup,
|
|
116
|
+
kr as NavigationOption,
|
|
117
|
+
yr as NavigationSeparator,
|
|
110
118
|
n as NumberInput,
|
|
111
119
|
gr as PhoneNumberInput,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
+
Sr as PieChart,
|
|
121
|
+
Cr as ProgressBar,
|
|
122
|
+
x as Radio,
|
|
123
|
+
Ar as RadioCard,
|
|
124
|
+
vr as RadioCardGroup,
|
|
125
|
+
O as RadioGroup,
|
|
126
|
+
Lr as Range,
|
|
127
|
+
Er as Select,
|
|
120
128
|
jr as Sidebar,
|
|
121
129
|
Hr as Slider,
|
|
122
130
|
Kr as Spinner,
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
$r as
|
|
150
|
-
ro as
|
|
151
|
-
oo as
|
|
152
|
-
to as
|
|
153
|
-
mo as
|
|
154
|
-
io as
|
|
131
|
+
fo as Stepper,
|
|
132
|
+
so as Switch,
|
|
133
|
+
To as Table,
|
|
134
|
+
Ao as Tabs,
|
|
135
|
+
vo as Tag,
|
|
136
|
+
Lo as TagSelect,
|
|
137
|
+
Eo as TextArea,
|
|
138
|
+
or as TextMultiSelect,
|
|
139
|
+
mr as TimeFilterDropdown,
|
|
140
|
+
k as TimePicker,
|
|
141
|
+
v as Toast,
|
|
142
|
+
Go as ToastProvider,
|
|
143
|
+
zo as Tooltip,
|
|
144
|
+
Co as Trigger,
|
|
145
|
+
rt as TruncateText,
|
|
146
|
+
L as Typography,
|
|
147
|
+
tt as VirtualizedTable,
|
|
148
|
+
Xo as VirtualizedTableEvent,
|
|
149
|
+
Po as createToastStore,
|
|
150
|
+
Yr as horizontalConnectorWrapperVariants,
|
|
151
|
+
Qo as sendCollapseRowEvent,
|
|
152
|
+
Yo as sendExpandRowEvent,
|
|
153
|
+
Jo as sendRefreshEvent,
|
|
154
|
+
qo as sendResetFiltersEvent,
|
|
155
|
+
Zo as sendToggleRowEvent,
|
|
156
|
+
Zr as stepConnectorVariants,
|
|
157
|
+
$r as stepContentVariants,
|
|
158
|
+
ro as stepDescriptionVariants,
|
|
159
|
+
oo as stepIndicatorVariants,
|
|
160
|
+
to as stepItemVariants,
|
|
161
|
+
mo as stepLabelVariants,
|
|
162
|
+
io as stepListVariants,
|
|
163
|
+
po as stepVariants,
|
|
164
|
+
eo as stepperVariants,
|
|
165
|
+
Uo as useToast,
|
|
166
|
+
xo as useToastStore,
|
|
167
|
+
Mo as useToastStoreApi
|
|
155
168
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as I } from "./Wrapper-
|
|
2
|
-
import { t as i } from "./utils-
|
|
1
|
+
import { n as I } from "./Wrapper-JmStmade.js";
|
|
2
|
+
import { t as i } from "./utils-DnIJruo0.js";
|
|
3
3
|
import { LoaderIcon as L } from "./assets/icons/components/Loader.js";
|
|
4
|
-
import { t as C } from "./x-
|
|
4
|
+
import { t as C } from "./x-C8O1IsaM.js";
|
|
5
5
|
import { Badge as R } from "./components/Badge/Badge.js";
|
|
6
6
|
import { Typography as x } from "./components/Typography/Typography.js";
|
|
7
7
|
import { useMultiSelectDropdown as g } from "./components/MultiSelectDropdown/contexts/MultiSelectDropdown.hook.js";
|
package/dist/contexts/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ThemeContext as m } from "./theme.context.js";
|
|
2
2
|
import { useTheme as r } from "./theme.hook.js";
|
|
3
|
-
import { t as i } from "../theme.provider-
|
|
3
|
+
import { t as i } from "../theme.provider-CvL6sqHq.js";
|
|
4
4
|
export {
|
|
5
5
|
m as ThemeContext,
|
|
6
6
|
i as ThemeProvider,
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { createContext as I, createElement as C, forwardRef as x, useContext as $ } from "react";
|
|
2
|
+
var j = (t) => t?.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
3
|
+
function P(t, e, n = []) {
|
|
4
|
+
if (e == null) throw new Error("[lucide]: iconNode is required when icon name is used");
|
|
5
|
+
return {
|
|
6
|
+
name: j(t),
|
|
7
|
+
size: 24,
|
|
8
|
+
node: e,
|
|
9
|
+
...n.length > 0 ? { aliases: n } : {}
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
var E = (t) => {
|
|
13
|
+
let e = "", n = !1;
|
|
14
|
+
for (const o of t) {
|
|
15
|
+
if (o === "-" || o === "_" || o <= " ") {
|
|
16
|
+
n = e.length > 0;
|
|
17
|
+
continue;
|
|
18
|
+
}
|
|
19
|
+
e.length === 0 ? e += o.toLowerCase() : e += n ? o.toUpperCase() : o, n = !1;
|
|
20
|
+
}
|
|
21
|
+
return e;
|
|
22
|
+
}, p = (t) => {
|
|
23
|
+
const e = E(t);
|
|
24
|
+
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
25
|
+
}, v = (...t) => t.filter((e, n, o) => !!e && e.trim() !== "" && o.indexOf(e) === n).join(" ").trim(), c = {
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
+
width: 24,
|
|
28
|
+
height: 24,
|
|
29
|
+
viewBox: "0 0 24 24",
|
|
30
|
+
fill: "none",
|
|
31
|
+
stroke: "currentColor",
|
|
32
|
+
"stroke-width": 2,
|
|
33
|
+
"stroke-linecap": "round",
|
|
34
|
+
"stroke-linejoin": "round"
|
|
35
|
+
};
|
|
36
|
+
function b(t) {
|
|
37
|
+
return t != null;
|
|
38
|
+
}
|
|
39
|
+
function D(t, e = {}) {
|
|
40
|
+
const n = e.attributeNames ?? {}, o = (i) => n[i] ?? i, l = t.size ?? t.width ?? c.width, h = t.size ?? t.height ?? c.height, d = t.aliases?.filter((i) => typeof i == "string" && i.trim() !== "").map((i) => `lucide-${i}`) ?? [], a = [...t.name ? [`lucide-${t.name}`] : [], ...d], r = e.className?.split(" ").filter(Boolean) ?? [], f = e.includeDefaultClasses === !1 ? v(...r) : v("lucide", ...a, ...r), g = e.absoluteStrokeWidth ? Number(e.strokeWidth ?? c["stroke-width"]) * Number(t.size ?? t.width ?? c.width) / Number(e.size ?? e.width ?? c.width) : e.strokeWidth ?? c["stroke-width"];
|
|
41
|
+
return [
|
|
42
|
+
"svg",
|
|
43
|
+
{
|
|
44
|
+
...Object.entries(c).reduce((i, [u, s]) => (i[o(u)] = s, i), {}),
|
|
45
|
+
..."color" in e && e.color && { [o("stroke")]: e.color },
|
|
46
|
+
..."size" in e && b(e.size) && {
|
|
47
|
+
[o("width")]: e.size,
|
|
48
|
+
[o("height")]: e.size
|
|
49
|
+
},
|
|
50
|
+
..."width" in e && b(e.width) && { [o("width")]: e.width },
|
|
51
|
+
..."height" in e && b(e.height) && { [o("height")]: e.height },
|
|
52
|
+
[o("stroke-width")]: g,
|
|
53
|
+
...f && { [o("class")]: f },
|
|
54
|
+
[o("viewBox")]: `0 0 ${l} ${h}`,
|
|
55
|
+
...e.hasA11yProp === !1 ? { [o("aria-hidden")]: "true" } : {},
|
|
56
|
+
..."attributes" in e && e.attributes
|
|
57
|
+
},
|
|
58
|
+
t.node.map((i) => {
|
|
59
|
+
const [u, s, w] = i, k = e.nonScalingStroke ? {
|
|
60
|
+
[o("vector-effect")]: "non-scaling-stroke",
|
|
61
|
+
...s
|
|
62
|
+
} : s;
|
|
63
|
+
return w ? [
|
|
64
|
+
u,
|
|
65
|
+
k,
|
|
66
|
+
w
|
|
67
|
+
] : [u, k];
|
|
68
|
+
})
|
|
69
|
+
];
|
|
70
|
+
}
|
|
71
|
+
function F(t, e = {}) {
|
|
72
|
+
return D(t, {
|
|
73
|
+
...e,
|
|
74
|
+
attributeNames: {
|
|
75
|
+
...e.attributeNames,
|
|
76
|
+
class: "className",
|
|
77
|
+
"stroke-width": "strokeWidth",
|
|
78
|
+
"stroke-linecap": "strokeLinecap",
|
|
79
|
+
"stroke-linejoin": "strokeLinejoin",
|
|
80
|
+
"vector-effect": "vectorEffect"
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
var R = (t) => {
|
|
85
|
+
for (const e in t) if (e.startsWith("aria-") || e === "role" || e === "title") return !0;
|
|
86
|
+
return !1;
|
|
87
|
+
}, U = I({}), q = () => $(U), H = x(({ color: t, size: e, width: n, height: o, strokeWidth: l, absoluteStrokeWidth: h, nonScalingStroke: d, className: a = "", children: r, iconNode: f = [], icon: g = {
|
|
88
|
+
node: f,
|
|
89
|
+
aliases: [],
|
|
90
|
+
size: 24
|
|
91
|
+
}, ...i }, u) => {
|
|
92
|
+
const { size: s = 24, strokeWidth: w = 2, absoluteStrokeWidth: k = !1, nonScalingStroke: N = !1, color: S = "currentColor", className: A = "" } = q() ?? {}, W = !!r || R(i), [m, z, L = []] = F(g, {
|
|
93
|
+
color: t ?? S,
|
|
94
|
+
width: n ?? e ?? s,
|
|
95
|
+
height: o ?? e ?? s,
|
|
96
|
+
strokeWidth: l ?? w,
|
|
97
|
+
absoluteStrokeWidth: h ?? k,
|
|
98
|
+
nonScalingStroke: d ?? N,
|
|
99
|
+
className: v(A, a),
|
|
100
|
+
hasA11yProp: W,
|
|
101
|
+
attributes: i
|
|
102
|
+
});
|
|
103
|
+
return C(m, {
|
|
104
|
+
ref: u,
|
|
105
|
+
...z
|
|
106
|
+
}, [...L.map(([y, B]) => C(y, B)), ...Array.isArray(r) ? r : [r]]);
|
|
107
|
+
});
|
|
108
|
+
function Z(t, e = [], n = []) {
|
|
109
|
+
const o = typeof t == "string" ? P(t, e, n) : t, l = x(({ className: h, ...d }, a) => C(H, {
|
|
110
|
+
ref: a,
|
|
111
|
+
icon: o,
|
|
112
|
+
className: h,
|
|
113
|
+
...d
|
|
114
|
+
}));
|
|
115
|
+
return o.name && (l.displayName = p(o.name)), l;
|
|
116
|
+
}
|
|
117
|
+
export {
|
|
118
|
+
Z as t
|
|
119
|
+
};
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { a as J } from "./dist-xCbHbMLA.js";
|
|
2
2
|
import { t as L } from "./dist-CCdbu9GU.js";
|
|
3
3
|
import { i as Q, n as W, r as F, t as X } from "./dist-D-yS0HN8.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as te } from "./dist-DwxO2RoR.js";
|
|
7
|
-
import { t as oe } from "./dist-DGOjiAnB.js";
|
|
4
|
+
import { n as Z, t as ee } from "./dist-D70ZJkHf.js";
|
|
5
|
+
import { n as te, t as oe } from "./dist-DZ_SU77k.js";
|
|
8
6
|
import * as r from "react";
|
|
9
7
|
import { jsx as m } from "react/jsx-runtime";
|
|
10
8
|
var re = Object.defineProperty, O = (t, e) => re(t, "name", {
|
|
@@ -34,7 +32,7 @@ var ne = typeof k == "function" ? B : N, se = Object.defineProperty, v = (t, e)
|
|
|
34
32
|
}), x = "rovingFocusGroup.onEntryFocus", ue = {
|
|
35
33
|
bubbles: !1,
|
|
36
34
|
cancelable: !0
|
|
37
|
-
}, w = "RovingFocusGroup", [D, j, ce] = te(w), [ae,
|
|
35
|
+
}, w = "RovingFocusGroup", [D, j, ce] = te(w), [ae, Se] = Q(w, [ce]), [ie, fe] = ae(w), le = /* @__PURE__ */ r.forwardRef(/* @__PURE__ */ v(function(e, u) {
|
|
38
36
|
return /* @__PURE__ */ m(D.Provider, {
|
|
39
37
|
scope: e.__scopeRovingFocusGroup,
|
|
40
38
|
children: /* @__PURE__ */ m(D.Slot, {
|
|
@@ -184,9 +182,9 @@ function V(t, e) {
|
|
|
184
182
|
return t.map((u, n) => t[(e + n) % t.length]);
|
|
185
183
|
}
|
|
186
184
|
v(V, "wrapArray");
|
|
187
|
-
var
|
|
185
|
+
var Ee = le, we = me;
|
|
188
186
|
export {
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
187
|
+
Ee as n,
|
|
188
|
+
Se as r,
|
|
189
|
+
we as t
|
|
192
190
|
};
|
|
@@ -2,8 +2,7 @@ import { a as D } from "./dist-xCbHbMLA.js";
|
|
|
2
2
|
import { t as B } from "./dist-CCdbu9GU.js";
|
|
3
3
|
import { i as Pe, r as T, t as Re } from "./dist-D-yS0HN8.js";
|
|
4
4
|
import { t as _e } from "./dist-pWlMx4Fi.js";
|
|
5
|
-
import {
|
|
6
|
-
import { t as Ee } from "./dist-DGOjiAnB.js";
|
|
5
|
+
import { n as xe, t as Ee } from "./dist-DZ_SU77k.js";
|
|
7
6
|
import * as u from "react";
|
|
8
7
|
import { Fragment as ye, jsx as h, jsxs as Ce } from "react/jsx-runtime";
|
|
9
8
|
var Me = Object.defineProperty, Te = (t, e) => Me(t, "name", {
|
|
@@ -59,7 +58,7 @@ var Ie = Object.defineProperty, c = (t, e) => Ie(t, "name", {
|
|
|
59
58
|
"ArrowUp",
|
|
60
59
|
"ArrowLeft"
|
|
61
60
|
]
|
|
62
|
-
}, A = "Slider", [U, Be, Ae] = xe(A), [Y,
|
|
61
|
+
}, A = "Slider", [U, Be, Ae] = xe(A), [Y, qe] = Pe(A, [Ae]), [Ke, K] = Y(A), Je = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ c(function(e, r) {
|
|
63
62
|
const { name: o, min: i = 0, max: n = 100, step: l = 1, orientation: s = "horizontal", disabled: d = !1, minStepsBetweenThumbs: f = 0, defaultValue: S = [i], value: p, onValueChange: a = /* @__PURE__ */ c(() => {
|
|
64
63
|
}, "onValueChange"), onValueCommit: m = /* @__PURE__ */ c(() => {
|
|
65
64
|
}, "onValueCommit"), inverted: P = !1, form: g, ...v } = e, w = u.useRef(/* @__PURE__ */ new Set()), R = u.useRef(0), x = u.useRef(!1), E = s === "horizontal" ? Fe : Ne, [_, O] = u.useState(null), be = D(r, O), [y = [], k] = Re({
|
|
@@ -266,7 +265,7 @@ var Ie = Object.defineProperty, c = (t, e) => Ie(t, "name", {
|
|
|
266
265
|
m.hasPointerCapture(a.pointerId) && (m.releasePointerCapture(a.pointerId), l(a));
|
|
267
266
|
})
|
|
268
267
|
});
|
|
269
|
-
}, "SliderImpl")), He = "SliderTrack",
|
|
268
|
+
}, "SliderImpl")), He = "SliderTrack", Qe = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ c(function(e, r) {
|
|
270
269
|
const { __scopeSlider: o, ...i } = e, n = K(He, o);
|
|
271
270
|
return /* @__PURE__ */ h(B.span, {
|
|
272
271
|
"data-disabled": n.disabled ? "" : void 0,
|
|
@@ -274,7 +273,7 @@ var Ie = Object.defineProperty, c = (t, e) => Ie(t, "name", {
|
|
|
274
273
|
...i,
|
|
275
274
|
ref: r
|
|
276
275
|
});
|
|
277
|
-
}, "SliderTrack")), te = "SliderRange",
|
|
276
|
+
}, "SliderTrack")), te = "SliderRange", Ze = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ c(function(e, r) {
|
|
278
277
|
const { __scopeSlider: o, ...i } = e, n = K(te, o), l = se(te, o), s = u.useRef(null), d = D(r, s), f = n.values.length, S = n.values.map((m) => G(m, n.min, n.max)), p = f > 1 ? Math.min(...S) : 0, a = 100 - Math.max(...S);
|
|
279
278
|
return /* @__PURE__ */ h(B.span, {
|
|
280
279
|
"data-orientation": n.orientation,
|
|
@@ -343,7 +342,7 @@ var $ = "SliderThumbTrigger", ze = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */
|
|
|
343
342
|
})
|
|
344
343
|
})
|
|
345
344
|
});
|
|
346
|
-
}, "SliderThumbTrigger")),
|
|
345
|
+
}, "SliderThumbTrigger")), et = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ c(function(e, r) {
|
|
347
346
|
const { __scopeSlider: o, name: i, ...n } = e;
|
|
348
347
|
return /* @__PURE__ */ h(ue, {
|
|
349
348
|
__scopeSlider: o,
|
|
@@ -445,8 +444,8 @@ function ve(t) {
|
|
|
445
444
|
}
|
|
446
445
|
c(ve, "isFunction");
|
|
447
446
|
export {
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
447
|
+
Qe as i,
|
|
448
|
+
Ze as n,
|
|
449
|
+
et as r,
|
|
450
|
+
Je as t
|
|
452
451
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as m } from "./dist-CCdbu9GU.js";
|
|
2
2
|
import { i as P, r as p, t as S } from "./dist-D-yS0HN8.js";
|
|
3
|
-
import {
|
|
3
|
+
import { n as M } from "./dist-D70ZJkHf.js";
|
|
4
4
|
import { t as x } from "./dist-BUocnzkM.js";
|
|
5
|
-
import { t as y } from "./dist-
|
|
6
|
-
import { n as E, r as R, t as F } from "./dist-
|
|
5
|
+
import { t as y } from "./dist-DZ_SU77k.js";
|
|
6
|
+
import { n as E, r as R, t as F } from "./dist-Bi8Y5nEx.js";
|
|
7
7
|
import * as f from "react";
|
|
8
8
|
import { jsx as d } from "react/jsx-runtime";
|
|
9
9
|
var w = Object.defineProperty, v = (i, e) => w(i, "name", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as j } from "./dist-xCbHbMLA.js";
|
|
2
2
|
import { t as R } from "./dist-CCdbu9GU.js";
|
|
3
|
-
import {
|
|
4
|
-
import { a as Ee, o as ke, r as Se, t as Ie } from "./dist-
|
|
3
|
+
import { n as q } from "./dist-D70ZJkHf.js";
|
|
4
|
+
import { a as Ee, o as ke, r as Se, t as Ie } from "./dist-f8EwfITY.js";
|
|
5
5
|
import * as n from "react";
|
|
6
6
|
var ce = 1, xe = 0.9, Ce = 0.8, Re = 0.17, Y = 0.1, Q = 0.999, Ae = 0.9999, Me = 0.99, $e = /[\\\/_+.#"@\[\(\{&]/, De = /[\\\/_+.#"@\[\(\{&]/g, Fe = /[\s-]/, fe = /[\s-]/g;
|
|
7
7
|
function _(t, l, r, f, u, c, d) {
|
|
@@ -2,11 +2,11 @@ import { a as G, r as z } from "./dist-xCbHbMLA.js";
|
|
|
2
2
|
import { t as J } from "./dist-CCdbu9GU.js";
|
|
3
3
|
import { t as Q } from "./dist-DX0sBG3Q.js";
|
|
4
4
|
import { i as W, n as Z, r as w, t as ee } from "./dist-D-yS0HN8.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { n as te } from "./dist-D70ZJkHf.js";
|
|
6
|
+
import { t as oe } from "./dist-uerXivvM.js";
|
|
7
7
|
import { t as re } from "./dist-C4j75TwZ.js";
|
|
8
8
|
import { t as j } from "./dist-BUocnzkM.js";
|
|
9
|
-
import { a as F, i as ne, n as se, r as ae, t as ie } from "./dist-
|
|
9
|
+
import { a as F, i as ne, n as se, r as ae, t as ie } from "./dist-DcFwF4XM.js";
|
|
10
10
|
import * as s from "react";
|
|
11
11
|
import { jsx as h, jsxs as le } from "react/jsx-runtime";
|
|
12
12
|
var ce = Object.defineProperty, f = (r, e) => ce(r, "name", {
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { n } from "./dist-D-yS0HN8.js";
|
|
2
|
+
import * as t from "react";
|
|
3
|
+
var o = Object.defineProperty, f = (e, r) => o(e, "name", {
|
|
4
|
+
value: r,
|
|
5
|
+
configurable: !0
|
|
6
|
+
}), s = t[" useId ".trim().toString()] || (() => {
|
|
7
|
+
}), c = 0;
|
|
8
|
+
function i(e) {
|
|
9
|
+
const [r, a] = t.useState(s());
|
|
10
|
+
return n(() => {
|
|
11
|
+
e || a((u) => u ?? String(c++));
|
|
12
|
+
}, [e]), e || (r ? `radix-${r}` : "");
|
|
13
|
+
}
|
|
14
|
+
f(i, "useId");
|
|
15
|
+
var d = Object.defineProperty, m = (e, r) => d(e, "name", {
|
|
16
|
+
value: r,
|
|
17
|
+
configurable: !0
|
|
18
|
+
});
|
|
19
|
+
function _(e) {
|
|
20
|
+
const r = t.useRef(e);
|
|
21
|
+
return t.useEffect(() => {
|
|
22
|
+
r.current = e;
|
|
23
|
+
}), t.useMemo(() => ((...a) => r.current?.(...a)), []);
|
|
24
|
+
}
|
|
25
|
+
m(_, "useCallbackRef");
|
|
26
|
+
export {
|
|
27
|
+
i as n,
|
|
28
|
+
_ as t
|
|
29
|
+
};
|