@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
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as y, t as d } from "../../utils-
|
|
2
|
-
import { t as M } from "../../Wrapper-
|
|
1
|
+
import { n as y, t as d } from "../../utils-DnIJruo0.js";
|
|
2
|
+
import { t as M } from "../../Wrapper-MmlrJppS.js";
|
|
3
3
|
import { SelectProvider as S } from "./contexts/select.provider.js";
|
|
4
|
-
import { n as b } from "../../AdditionalOptions-
|
|
4
|
+
import { n as b } from "../../AdditionalOptions-D3SZ2WFJ.js";
|
|
5
5
|
import { forwardRef as E, useId as G, useMemo as H } from "react";
|
|
6
6
|
import { jsx as s, jsxs as P } from "react/jsx-runtime";
|
|
7
7
|
var B = E(({ error: e, errorClassName: m, helperText: l, helperTextClassName: x, highlightSearch: h, id: u, mainWrapperClassName: I, name: r, value: g, options: t, onChange: v, onBlur: n, onValueChange: $, ...N }, O) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../../../utils-
|
|
1
|
+
import { t as e } from "../../../../utils-DnIJruo0.js";
|
|
2
2
|
var r = e("flex", "min-h-10", "py-2", "px-6", "w-full", "h-full", "gap-1", "items-center", "text-sm", "[&>svg]:-ml-1", "[&>svg]:w-3.5", "[&>svg]:h-3.5", "[&>svg]:shrink-0", "cursor-pointer", "select-none", "hover:bg-gray-50", "hover:dark:bg-metal-700", "focus:outline-0", "text-blue-600", "dark:text-aurora-500");
|
|
3
3
|
export {
|
|
4
4
|
r as additionalOptionSlotClassName
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { o as $ } from "../../../../rolldown-runtime-Dw9YIBcH.js";
|
|
2
|
-
import { t as n } from "../../../../utils-
|
|
3
|
-
import { t as R } from "../../../../Loading-
|
|
2
|
+
import { t as n } from "../../../../utils-DnIJruo0.js";
|
|
3
|
+
import { t as R } from "../../../../Loading-u8hXrFJR.js";
|
|
4
4
|
import { t as ee } from "../../../../debounce-BdyZeJQk.js";
|
|
5
5
|
import { useSelectContext as te } from "../../contexts/select.hook.js";
|
|
6
|
-
import { n as re, t as oe } from "../../../../AdditionalOptions-
|
|
6
|
+
import { n as re, t as oe } from "../../../../AdditionalOptions-D3SZ2WFJ.js";
|
|
7
7
|
import { listGroupLabelVariants as ae, listVariants as ne } from "./List.variants.js";
|
|
8
8
|
import "../../constants/pagination.js";
|
|
9
9
|
import "../../constants/list.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as l } from "../../../../utils-
|
|
1
|
+
import { t as l } from "../../../../utils-DnIJruo0.js";
|
|
2
2
|
import { Typography as x } from "../../../Typography/Typography.js";
|
|
3
3
|
import { useSelectContext as I } from "../../contexts/select.hook.js";
|
|
4
4
|
import { listItemVariants as C } from "./ListItem.variants.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as o } from "../../../Wrapper-
|
|
2
|
-
import { t as i } from "../../../AdditionalOptions-
|
|
1
|
+
import { t as o } from "../../../Wrapper-MmlrJppS.js";
|
|
2
|
+
import { t as i } from "../../../AdditionalOptions-D3SZ2WFJ.js";
|
|
3
3
|
import { EmptyList as p } from "./EmptyList.js";
|
|
4
4
|
import { List as a } from "./List/List.js";
|
|
5
5
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as n } from "../../../../utils-
|
|
1
|
+
import { t as n } from "../../../../utils-DnIJruo0.js";
|
|
2
2
|
import { ArrowLeftIcon as l } from "../../../../assets/icons/components/ArrowLeft.js";
|
|
3
3
|
import { ArrowRightIcon as s } from "../../../../assets/icons/components/ArrowRight.js";
|
|
4
4
|
import { useSidebarContext as p } from "../../contexts/SidebarContext.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t } from "../../../../utils-
|
|
1
|
+
import { t } from "../../../../utils-DnIJruo0.js";
|
|
2
2
|
import { footerVariants as a } from "./Footer.variants.js";
|
|
3
3
|
import { jsx as e } from "react/jsx-runtime";
|
|
4
4
|
var m = ({ className: o, children: r }) => /* @__PURE__ */ e("footer", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as p } from "../../../../utils-
|
|
1
|
+
import { t as p } from "../../../../utils-DnIJruo0.js";
|
|
2
2
|
import { Typography as l } from "../../../Typography/Typography.js";
|
|
3
3
|
import { useSidebarContext as m } from "../../contexts/SidebarContext.js";
|
|
4
4
|
import { useNavigationOptionContext as f } from "../NavigationOption/NavigationOption.context.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../../../utils-
|
|
1
|
+
import { t as e } from "../../../../utils-DnIJruo0.js";
|
|
2
2
|
import { useSidebarContext as i } from "../../contexts/SidebarContext.js";
|
|
3
3
|
import { logoVariants as s } from "./Logo.variants.js";
|
|
4
4
|
import { jsx as m } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as c } from "../../../../utils-
|
|
1
|
+
import { t as c } from "../../../../utils-DnIJruo0.js";
|
|
2
2
|
import { useSidebarContext as d } from "../../contexts/SidebarContext.js";
|
|
3
3
|
import { NavigationTitle as y } from "../NavigationTitle/NavigationTitle.js";
|
|
4
4
|
import { NavigationGroup as u } from "../NavigationGroup/NavigationGroup.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as m } from "../../../../utils-
|
|
1
|
+
import { t as m } from "../../../../utils-DnIJruo0.js";
|
|
2
2
|
import { useSidebarContext as l } from "../../contexts/SidebarContext.js";
|
|
3
3
|
import { NavigationTitle as p } from "../NavigationTitle/NavigationTitle.js";
|
|
4
4
|
import { navigationGroupsVariants as u } from "./NavigationGroup.variants.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as u } from "../../../../utils-
|
|
2
|
-
import { a as j, i as P, n as V, o as A, r as D, t as E } from "../../../../dist-
|
|
1
|
+
import { t as u } from "../../../../utils-DnIJruo0.js";
|
|
2
|
+
import { a as j, i as P, n as V, o as A, r as D, t as E } from "../../../../dist-D5Q2IYuC.js";
|
|
3
3
|
import { useSidebarContext as H } from "../../contexts/SidebarContext.js";
|
|
4
4
|
import { NavigationOptionContext as R } from "./NavigationOption.context.js";
|
|
5
5
|
import { navigationOptionVariants as z } from "./NavigationOption.variants.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as r } from "../../../../utils-
|
|
1
|
+
import { t as r } from "../../../../utils-DnIJruo0.js";
|
|
2
2
|
import { navigationSeparatorVariant as o } from "./NavigationSeparator.variants.js";
|
|
3
3
|
import { jsx as t } from "react/jsx-runtime";
|
|
4
4
|
var i = ({ className: a }) => /* @__PURE__ */ t("div", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as a } from "../../../../utils-
|
|
1
|
+
import { t as a } from "../../../../utils-DnIJruo0.js";
|
|
2
2
|
import { navigationTitleVariants as e } from "./NavigationTitle.variants.js";
|
|
3
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
4
|
var o = ({ title: i, className: r, isVisible: t = !0 }) => t ? /* @__PURE__ */ n("h2", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Y } from "../../../../HamburgerTrigger-
|
|
2
|
-
import { t as l } from "../../../../utils-
|
|
1
|
+
import { t as Y } from "../../../../HamburgerTrigger-DjHmNEJD.js";
|
|
2
|
+
import { t as l } from "../../../../utils-DnIJruo0.js";
|
|
3
3
|
import { Drawer as Z } from "../../../Drawer/Drawer.js";
|
|
4
4
|
import { SidebarContext as k } from "../../contexts/SidebarContext.js";
|
|
5
5
|
import { useSidebarMode as ee } from "../../hooks/useSidebarMode.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as r } from "../../../HamburgerTrigger-
|
|
1
|
+
import { t as r } from "../../../HamburgerTrigger-DjHmNEJD.js";
|
|
2
2
|
import { CollapseTrigger as m } from "./CollapseTrigger/CollapseTrigger.js";
|
|
3
3
|
import { Footer as p } from "./Footer/Footer.js";
|
|
4
4
|
import { Label as f } from "./Label/Label.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t } from "../../utils-
|
|
2
|
-
import { i as v, r as N, t as S } from "../../dist-
|
|
1
|
+
import { t } from "../../utils-DnIJruo0.js";
|
|
2
|
+
import { i as v, r as N, t as S } from "../../dist-CNui_Egg.js";
|
|
3
3
|
import { sliderVariants as V, thumbVariants as g, trackVariants as j } from "./Slider.variants.js";
|
|
4
4
|
import { forwardRef as b, useEffect as w, useImperativeHandle as y, useRef as R, useState as k } from "react";
|
|
5
5
|
import { jsx as r, jsxs as l } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as s } from "../../utils-
|
|
1
|
+
import { t as s } from "../../utils-DnIJruo0.js";
|
|
2
2
|
import { stepItemVariants as S, stepListVariants as b, stepperVariants as k } from "./Stepper.variants.js";
|
|
3
3
|
import { StepItem as C } from "./components/StepItem/StepItem.js";
|
|
4
4
|
import { useMemo as I } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t } from "../../../../utils-
|
|
2
|
-
import { t as v } from "../../../../StepIndicatorContent-
|
|
1
|
+
import { t } from "../../../../utils-DnIJruo0.js";
|
|
2
|
+
import { t as v } from "../../../../StepIndicatorContent-yB2HfOdY.js";
|
|
3
3
|
import { useStepItemLogic as w } from "../../hooks/useStepItemLogic.js";
|
|
4
4
|
import { stepContentVariants as C, stepDescriptionVariants as k, stepIndicatorVariants as g, stepLabelVariants as I, stepVariants as x } from "../../Stepper.variants.js";
|
|
5
5
|
import { getStepAriaLabel as S } from "../../utils/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as m } from "../../../../utils-
|
|
1
|
+
import { t as m } from "../../../../utils-DnIJruo0.js";
|
|
2
2
|
import { stepConnectorVariants as n } from "../../Stepper.variants.js";
|
|
3
3
|
import { memo as i } from "react";
|
|
4
4
|
import { jsx as p } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as a } from "../../../../utils-
|
|
2
|
-
import { t as x } from "../../../../StepIndicatorContent-
|
|
1
|
+
import { t as a } from "../../../../utils-DnIJruo0.js";
|
|
2
|
+
import { t as x } from "../../../../StepIndicatorContent-yB2HfOdY.js";
|
|
3
3
|
import { useStepItemLogic as V } from "../../hooks/useStepItemLogic.js";
|
|
4
4
|
import { stepContentVariants as I, stepDescriptionVariants as S, stepIndicatorVariants as k, stepLabelVariants as D, stepVariants as L } from "../../Stepper.variants.js";
|
|
5
5
|
import { getStepAriaLabel as g } from "../../utils/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t } from "../../../utils-
|
|
1
|
+
import { t } from "../../../utils-DnIJruo0.js";
|
|
2
2
|
import { bodyVariants as a } from "../Table.variants.js";
|
|
3
3
|
import { jsx as s } from "react/jsx-runtime";
|
|
4
4
|
var f = ({ children: o, className: r, ...m }) => /* @__PURE__ */ s("tbody", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as o } from "../../../utils-
|
|
1
|
+
import { t as o } from "../../../utils-DnIJruo0.js";
|
|
2
2
|
import { headVariants as t } from "../Table.variants.js";
|
|
3
3
|
import { jsx as e } from "react/jsx-runtime";
|
|
4
4
|
var d = ({ children: a, className: r, ...m }) => /* @__PURE__ */ e("thead", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as i } from "../../../utils-
|
|
1
|
+
import { t as i } from "../../../utils-DnIJruo0.js";
|
|
2
2
|
import { rowVariants as p } from "../Table.variants.js";
|
|
3
3
|
import { jsx as c } from "react/jsx-runtime";
|
|
4
4
|
var n = ({ children: r, className: o, width: t, isSelected: m, onSelect: a, ...s }) => /* @__PURE__ */ c("tr", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as s } from "../../utils-
|
|
2
|
-
import { r as e } from "../../dist-
|
|
1
|
+
import { t as s } from "../../utils-DnIJruo0.js";
|
|
2
|
+
import { r as e } from "../../dist-CR3FMRzF.js";
|
|
3
3
|
import { rootVariants as p } from "./Tabs.variants.js";
|
|
4
4
|
import { Content as n } from "./components/Content.js";
|
|
5
5
|
import { List as f } from "./components/List.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as r } from "../../../utils-
|
|
2
|
-
import { t as n } from "../../../dist-
|
|
1
|
+
import { t as r } from "../../../utils-DnIJruo0.js";
|
|
2
|
+
import { t as n } from "../../../dist-CR3FMRzF.js";
|
|
3
3
|
import { contentVariants as m } from "../Tabs.variants.js";
|
|
4
4
|
import { jsx as s } from "react/jsx-runtime";
|
|
5
5
|
var e = ({ children: t, className: o, ...a }) => /* @__PURE__ */ s(n, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as a } from "../../../utils-
|
|
2
|
-
import { n } from "../../../dist-
|
|
1
|
+
import { t as a } from "../../../utils-DnIJruo0.js";
|
|
2
|
+
import { n } from "../../../dist-CR3FMRzF.js";
|
|
3
3
|
import { listVariants as t } from "../Tabs.variants.js";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
var e = ({ children: s, className: i, orientation: m, ...o }) => /* @__PURE__ */ r("div", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "../../../utils-
|
|
1
|
+
import { t as e } from "../../../utils-DnIJruo0.js";
|
|
2
2
|
import { Typography as m } from "../../Typography/Typography.js";
|
|
3
|
-
import { i as n } from "../../../dist-
|
|
3
|
+
import { i as n } from "../../../dist-CR3FMRzF.js";
|
|
4
4
|
import { triggerVariants as p } from "../Tabs.variants.js";
|
|
5
5
|
import { jsx as r } from "react/jsx-runtime";
|
|
6
6
|
var s = ({ tab: a, label: i, isActive: o, className: t }) => /* @__PURE__ */ r(n, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "../../dist-xCbHbMLA.js";
|
|
2
|
-
import { t as o } from "../../utils-
|
|
2
|
+
import { t as o } from "../../utils-DnIJruo0.js";
|
|
3
3
|
import { tagVariants as c } from "./Tag.variants.js";
|
|
4
4
|
import { jsx as a, jsxs as d } from "react/jsx-runtime";
|
|
5
5
|
var v = ({ label: i, color: s, component: l = "div", rightIcon: t, leftIcon: r, className: m, "data-value": n }) => /* @__PURE__ */ d(l, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as m } from "../../Wrapper-
|
|
2
|
+
import { t as m } from "../../Wrapper-JmStmade.js";
|
|
3
3
|
import { TagSelectProvider as p } from "./contexts/TagSelect.provider.js";
|
|
4
4
|
import { forwardRef as a } from "react";
|
|
5
5
|
import { jsx as r } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as o } from "../../../../utils-
|
|
1
|
+
import { t as o } from "../../../../utils-DnIJruo0.js";
|
|
2
2
|
import { Tag as a } from "../../../Tag/Tag.js";
|
|
3
3
|
import { useTagSelect as i } from "../../contexts/TagSelect.hook.js";
|
|
4
4
|
import { wrapperVariants as c } from "./Item.variants.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as a } from "../../../../utils-
|
|
1
|
+
import { t as a } from "../../../../utils-DnIJruo0.js";
|
|
2
2
|
import { useTagSelect as m } from "../../contexts/TagSelect.hook.js";
|
|
3
3
|
import { Item as s } from "../Item/Item.js";
|
|
4
4
|
import { wrapperVariants as i } from "./List.variants.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as E, t } from "../../utils-
|
|
1
|
+
import { n as E, t } from "../../utils-DnIJruo0.js";
|
|
2
2
|
import { WarningIcon as F } from "../../assets/icons/components/Warning.js";
|
|
3
3
|
import { Typography as n } from "../Typography/Typography.js";
|
|
4
4
|
import { textAreaVariants as H } from "./TextArea.variants.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as s } from "../../../../utils-
|
|
1
|
+
import { t as s } from "../../../../utils-DnIJruo0.js";
|
|
2
2
|
import { useTimePickerContext as S } from "../../contexts/time-picker.hook.js";
|
|
3
3
|
import { buttonVariants as d, liVariants as k, ulVariants as H } from "../../TimePicker.variants.js";
|
|
4
4
|
import { useEffect as A, useRef as D } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t } from "../../../../utils-
|
|
1
|
+
import { t } from "../../../../utils-DnIJruo0.js";
|
|
2
2
|
import { useTimePickerContext as w } from "../../contexts/time-picker.hook.js";
|
|
3
3
|
import { buttonVariants as d, liVariants as p } from "../../TimePicker.variants.js";
|
|
4
4
|
import { useRef as N } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as l } from "../../../../utils-
|
|
1
|
+
import { t as l } from "../../../../utils-DnIJruo0.js";
|
|
2
2
|
import { useTimePickerContext as h } from "../../contexts/time-picker.hook.js";
|
|
3
3
|
import { buttonVariants as k, liVariants as d, ulVariants as M } from "../../TimePicker.variants.js";
|
|
4
4
|
import { useEffect as p, useRef as m } from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as T } from "../../../../utils-
|
|
1
|
+
import { t as T } from "../../../../utils-DnIJruo0.js";
|
|
2
2
|
import { useClickOutside as te } from "../../../../hooks/useClickOutside.js";
|
|
3
|
-
import { t as re } from "../../../../chevron-down-
|
|
3
|
+
import { t as re } from "../../../../chevron-down-BODx0Q7h.js";
|
|
4
4
|
import { Typography as M } from "../../../Typography/Typography.js";
|
|
5
5
|
import { parseTimeString as V } from "../../utils/index.js";
|
|
6
6
|
import { useTimePickerContext as ae } from "../../contexts/time-picker.hook.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as a } from "../../../../utils-
|
|
1
|
+
import { t as a } from "../../../../utils-DnIJruo0.js";
|
|
2
2
|
import { getHours as s, getMinutes as x } from "../../utils/index.js";
|
|
3
3
|
import { useTimePickerContext as g } from "../../contexts/time-picker.hook.js";
|
|
4
4
|
import { HoursList as b } from "../HoursList/HoursList.js";
|
|
@@ -1,49 +1,81 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
var
|
|
3
|
-
"rounded-md",
|
|
4
|
-
"p-4",
|
|
5
|
-
"flex",
|
|
6
|
-
"flex-row",
|
|
7
|
-
"relative",
|
|
1
|
+
import { t as r } from "../../dist-B9GE4SXf.js";
|
|
2
|
+
var e = r([
|
|
8
3
|
"overflow-hidden",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"data-[swipe=cancel]:translate-x-0",
|
|
16
|
-
"data-[swipe=end]:animate-swipe-out",
|
|
17
|
-
"text-white",
|
|
18
|
-
"shadow-[0px_2px_4px_0px_rgba(100,116,139,0.25)]"
|
|
4
|
+
"rounded-lg",
|
|
5
|
+
"inset-ring",
|
|
6
|
+
"inset-ring-transparent",
|
|
7
|
+
"shadow-[0px_2px_2px_0px_rgba(100,116,139,0.25)]",
|
|
8
|
+
"dark:bg-metal-950",
|
|
9
|
+
"dark:shadow-[0px_2px_2px_0px_rgba(0,0,0,0.45)]"
|
|
19
10
|
], {
|
|
20
|
-
variants: {
|
|
21
|
-
success: ["
|
|
22
|
-
error: ["
|
|
23
|
-
warning: ["
|
|
24
|
-
info: ["
|
|
11
|
+
variants: { type: {
|
|
12
|
+
success: ["dark:inset-ring-green-600/20"],
|
|
13
|
+
error: ["dark:inset-ring-red-500/20"],
|
|
14
|
+
warning: ["dark:inset-ring-yellow-400/20"],
|
|
15
|
+
info: ["dark:inset-ring-blue-500/20"]
|
|
25
16
|
} },
|
|
26
|
-
defaultVariants: {
|
|
27
|
-
}),
|
|
28
|
-
"
|
|
29
|
-
"bottom-0",
|
|
30
|
-
"right-0",
|
|
17
|
+
defaultVariants: { type: "info" }
|
|
18
|
+
}), a = r([
|
|
19
|
+
"relative",
|
|
31
20
|
"flex",
|
|
21
|
+
"min-h-14",
|
|
32
22
|
"flex-col",
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
23
|
+
"justify-center",
|
|
24
|
+
"p-4"
|
|
25
|
+
], {
|
|
26
|
+
variants: { type: {
|
|
27
|
+
success: ["bg-green-800", "dark:bg-green-600/10"],
|
|
28
|
+
error: ["bg-red-800", "dark:bg-red-500/10"],
|
|
29
|
+
warning: ["bg-amber-800", "dark:bg-yellow-400/10"],
|
|
30
|
+
info: ["bg-blue-800", "dark:bg-blue-500/10"]
|
|
31
|
+
} },
|
|
32
|
+
defaultVariants: { type: "info" }
|
|
33
|
+
}), n = r([
|
|
34
|
+
"font-medium",
|
|
35
|
+
"tracking-normal",
|
|
36
|
+
"text-white"
|
|
37
|
+
], {
|
|
38
|
+
variants: { type: {
|
|
39
|
+
success: ["dark:text-green-300"],
|
|
40
|
+
error: ["dark:text-red-300"],
|
|
41
|
+
warning: ["dark:text-yellow-200"],
|
|
42
|
+
info: ["dark:text-blue-300"]
|
|
43
|
+
} },
|
|
44
|
+
defaultVariants: { type: "info" }
|
|
45
|
+
}), i = r(["text-white/80"], {
|
|
46
|
+
variants: { type: {
|
|
47
|
+
success: ["dark:text-green-100"],
|
|
48
|
+
error: ["dark:text-red-200"],
|
|
49
|
+
warning: ["dark:text-yellow-100"],
|
|
50
|
+
info: ["dark:text-blue-200"]
|
|
51
|
+
} },
|
|
52
|
+
defaultVariants: { type: "info" }
|
|
53
|
+
}), s = r(["shrink-0", "text-white"], {
|
|
54
|
+
variants: { type: {
|
|
55
|
+
success: ["dark:text-green-400"],
|
|
56
|
+
error: ["dark:text-red-400"],
|
|
57
|
+
warning: ["dark:text-yellow-300"],
|
|
58
|
+
info: ["dark:text-blue-400"]
|
|
59
|
+
} },
|
|
60
|
+
defaultVariants: { type: "info" }
|
|
61
|
+
}), o = r([
|
|
62
|
+
"shrink-0",
|
|
63
|
+
"cursor-pointer",
|
|
43
64
|
"text-white"
|
|
44
|
-
]
|
|
65
|
+
], {
|
|
66
|
+
variants: { type: {
|
|
67
|
+
success: ["dark:text-green-300"],
|
|
68
|
+
error: ["dark:text-red-300"],
|
|
69
|
+
warning: ["dark:text-yellow-200"],
|
|
70
|
+
info: ["dark:text-blue-300"]
|
|
71
|
+
} },
|
|
72
|
+
defaultVariants: { type: "info" }
|
|
73
|
+
});
|
|
45
74
|
export {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
75
|
+
o as toastCloseButtonVariants,
|
|
76
|
+
i as toastDescriptionVariants,
|
|
77
|
+
e as toastFrameVariants,
|
|
78
|
+
s as toastIconVariants,
|
|
79
|
+
n as toastTitleVariants,
|
|
80
|
+
a as toastVariants
|
|
49
81
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { ToastStoreContext as s } from "./contexts/toast-store.context.js";
|
|
3
|
+
import { createToastStore as i } from "./store/create-toast-store.js";
|
|
4
|
+
import { useState as m } from "react";
|
|
5
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
6
|
+
var p = ({ children: r, duration: t, limit: o, store: e }) => {
|
|
7
|
+
const [a] = m(() => e ?? i({
|
|
8
|
+
duration: t,
|
|
9
|
+
limit: o
|
|
10
|
+
}));
|
|
11
|
+
return /* @__PURE__ */ n(s.Provider, {
|
|
12
|
+
value: a,
|
|
13
|
+
children: r
|
|
14
|
+
});
|
|
15
|
+
};
|
|
16
|
+
p.displayName = "KonstructToastProvider";
|
|
17
|
+
export {
|
|
18
|
+
p as ToastProvider
|
|
19
|
+
};
|