@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,5 +1,5 @@
|
|
|
1
1
|
import { t as i } from "./dist-xCbHbMLA.js";
|
|
2
|
-
import { t as p } from "./utils-
|
|
2
|
+
import { t as p } from "./utils-DnIJruo0.js";
|
|
3
3
|
import { useSelectContext as s } from "./components/Select/contexts/select.hook.js";
|
|
4
4
|
import { listGroupLabelVariants as m } from "./components/Select/components/List/List.variants.js";
|
|
5
5
|
import { additionalOptionSlotClassName as l } from "./components/Select/components/AdditionalOptions/AdditionalOptions.variants.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as A } from "./dist-xCbHbMLA.js";
|
|
2
|
-
import { t as m } from "./utils-
|
|
2
|
+
import { t as m } from "./utils-DnIJruo0.js";
|
|
3
3
|
import { i as _, r as C } from "./dist-D-yS0HN8.js";
|
|
4
|
-
import { a as P, c as R, i as S, l as u, n as v, o as T, r as O, s as w, t as y } from "./dist-
|
|
4
|
+
import { a as P, c as R, i as S, l as u, n as v, o as T, r as O, s as w, t as y } from "./dist-f8EwfITY.js";
|
|
5
5
|
import { Button as h } from "./components/Button/Button.js";
|
|
6
6
|
import * as n from "react";
|
|
7
7
|
import { forwardRef as x } from "react";
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import { d as j, f as U, l as V, n as W, r as _, s as S, u as T } from "./react-DpRKGbW_.js";
|
|
2
|
+
import * as I from "react";
|
|
3
|
+
import { Children as B, isValidElement as G, useContext as K, useId as N, useInsertionEffect as Y, useMemo as k, useRef as E, useState as A } from "react";
|
|
4
|
+
import { Fragment as q, jsx as M } from "react/jsx-runtime";
|
|
5
|
+
function D(e, o) {
|
|
6
|
+
if (typeof e == "function") return e(o);
|
|
7
|
+
e != null && (e.current = o);
|
|
8
|
+
}
|
|
9
|
+
function J(...e) {
|
|
10
|
+
return (o) => {
|
|
11
|
+
let t = !1;
|
|
12
|
+
const s = e.map((f) => {
|
|
13
|
+
const r = D(f, o);
|
|
14
|
+
return !t && typeof r == "function" && (t = !0), r;
|
|
15
|
+
});
|
|
16
|
+
if (t) return () => {
|
|
17
|
+
for (let f = 0; f < s.length; f++) {
|
|
18
|
+
const r = s[f];
|
|
19
|
+
typeof r == "function" ? r() : D(e[f], null);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function Q(...e) {
|
|
25
|
+
return I.useCallback(J(...e), e);
|
|
26
|
+
}
|
|
27
|
+
var X = class extends I.Component {
|
|
28
|
+
getSnapshotBeforeUpdate(e) {
|
|
29
|
+
const o = this.props.childRef.current;
|
|
30
|
+
if (S(o) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
|
|
31
|
+
const t = o.offsetParent, s = S(t) && t.offsetWidth || 0, f = S(t) && t.offsetHeight || 0, r = getComputedStyle(o), n = this.props.sizeRef.current;
|
|
32
|
+
n.height = parseFloat(r.height), n.width = parseFloat(r.width), n.top = o.offsetTop, n.left = o.offsetLeft, n.right = s - n.width - n.left, n.bottom = f - n.height - n.top, n.direction = r.direction;
|
|
33
|
+
}
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
componentDidUpdate() {
|
|
37
|
+
}
|
|
38
|
+
render() {
|
|
39
|
+
return this.props.children;
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
function Z({ children: e, isPresent: o, anchorX: t, anchorY: s, root: f, pop: r }) {
|
|
43
|
+
const n = N(), m = E(null), v = E({
|
|
44
|
+
width: 0,
|
|
45
|
+
height: 0,
|
|
46
|
+
top: 0,
|
|
47
|
+
left: 0,
|
|
48
|
+
right: 0,
|
|
49
|
+
bottom: 0,
|
|
50
|
+
direction: "ltr"
|
|
51
|
+
}), { nonce: w } = K(_), i = r !== !1 ? e.props?.ref ?? e?.ref : void 0, y = Q(m, i);
|
|
52
|
+
return Y(() => {
|
|
53
|
+
const { width: u, height: h, top: R, left: a, right: d, bottom: x, direction: P } = v.current;
|
|
54
|
+
if (o || r === !1 || !m.current || !u || !h) return;
|
|
55
|
+
const p = P === "rtl", L = t === "left" ? p ? `right: ${d}` : `left: ${a}` : p ? `left: ${a}` : `right: ${d}`, $ = s === "bottom" ? `bottom: ${x}` : `top: ${R}`;
|
|
56
|
+
m.current.dataset.motionPopId = n;
|
|
57
|
+
const C = document.createElement("style");
|
|
58
|
+
w && (C.nonce = w);
|
|
59
|
+
const l = f ?? document.head;
|
|
60
|
+
return l.appendChild(C), C.sheet && C.sheet.insertRule(`
|
|
61
|
+
[data-motion-pop-id="${n}"] {
|
|
62
|
+
position: absolute !important;
|
|
63
|
+
width: ${u}px !important;
|
|
64
|
+
height: ${h}px !important;
|
|
65
|
+
${L}px !important;
|
|
66
|
+
${$}px !important;
|
|
67
|
+
}
|
|
68
|
+
`), () => {
|
|
69
|
+
m.current?.removeAttribute("data-motion-pop-id"), l.contains(C) && l.removeChild(C);
|
|
70
|
+
};
|
|
71
|
+
}, [o]), M(X, {
|
|
72
|
+
isPresent: o,
|
|
73
|
+
childRef: m,
|
|
74
|
+
sizeRef: v,
|
|
75
|
+
pop: r,
|
|
76
|
+
children: r === !1 ? e : I.cloneElement(e, { ref: y })
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
var ee = ({ children: e, initial: o, isPresent: t, onExitComplete: s, custom: f, presenceAffectsLayout: r, mode: n, anchorX: m, anchorY: v, root: w }) => {
|
|
80
|
+
const i = j(te), y = N(), u = E(t), h = E(s);
|
|
81
|
+
T(() => {
|
|
82
|
+
u.current = t, h.current = s;
|
|
83
|
+
});
|
|
84
|
+
let R = !0, a = k(() => (R = !1, {
|
|
85
|
+
id: y,
|
|
86
|
+
initial: o,
|
|
87
|
+
isPresent: t,
|
|
88
|
+
custom: f,
|
|
89
|
+
onExitComplete: (d) => {
|
|
90
|
+
i.set(d, !0);
|
|
91
|
+
for (const x of i.values()) if (!x) return;
|
|
92
|
+
s && s();
|
|
93
|
+
},
|
|
94
|
+
register: (d) => (i.set(d, !1), () => {
|
|
95
|
+
i.delete(d), !u.current && !i.size && h.current?.();
|
|
96
|
+
})
|
|
97
|
+
}), [
|
|
98
|
+
t,
|
|
99
|
+
i,
|
|
100
|
+
s
|
|
101
|
+
]);
|
|
102
|
+
return r && R && (a = { ...a }), k(() => {
|
|
103
|
+
i.forEach((d, x) => i.set(x, !1));
|
|
104
|
+
}, [t]), I.useEffect(() => {
|
|
105
|
+
!t && !i.size && s && s();
|
|
106
|
+
}, [t]), e = M(Z, {
|
|
107
|
+
pop: n === "popLayout",
|
|
108
|
+
isPresent: t,
|
|
109
|
+
anchorX: m,
|
|
110
|
+
anchorY: v,
|
|
111
|
+
root: w,
|
|
112
|
+
children: e
|
|
113
|
+
}), M(V.Provider, {
|
|
114
|
+
value: a,
|
|
115
|
+
children: e
|
|
116
|
+
});
|
|
117
|
+
};
|
|
118
|
+
function te() {
|
|
119
|
+
return /* @__PURE__ */ new Map();
|
|
120
|
+
}
|
|
121
|
+
var b = (e) => e.key || "";
|
|
122
|
+
function H(e) {
|
|
123
|
+
const o = [];
|
|
124
|
+
return B.forEach(e, (t) => {
|
|
125
|
+
G(t) && o.push(t);
|
|
126
|
+
}), o;
|
|
127
|
+
}
|
|
128
|
+
var se = ({ children: e, custom: o, initial: t = !0, onExitComplete: s, presenceAffectsLayout: f = !0, mode: r = "sync", propagate: n = !1, anchorX: m = "left", anchorY: v = "top", root: w }) => {
|
|
129
|
+
const [i, y] = W(n), u = k(() => H(e), [e]), h = n && !i ? [] : u.map(b), R = E(!0), a = j(() => /* @__PURE__ */ new Map()), d = E(/* @__PURE__ */ new Set()), [x, P] = A(u), [p, L] = A(u);
|
|
130
|
+
T(() => {
|
|
131
|
+
n && !i && !p.length && y?.();
|
|
132
|
+
}, [
|
|
133
|
+
i,
|
|
134
|
+
n,
|
|
135
|
+
p.length,
|
|
136
|
+
y
|
|
137
|
+
]), T(() => {
|
|
138
|
+
R.current = !1;
|
|
139
|
+
for (let l = 0; l < p.length; l++) {
|
|
140
|
+
const c = b(p[l]);
|
|
141
|
+
h.includes(c) ? (a.delete(c), d.current.delete(c)) : a.get(c) !== !0 && a.set(c, !1);
|
|
142
|
+
}
|
|
143
|
+
}, [
|
|
144
|
+
p,
|
|
145
|
+
h.length,
|
|
146
|
+
h.join("-")
|
|
147
|
+
]);
|
|
148
|
+
const $ = [];
|
|
149
|
+
if (u !== x) {
|
|
150
|
+
let l = [...u], c = 0;
|
|
151
|
+
for (const g of p) {
|
|
152
|
+
const z = h.indexOf(b(g));
|
|
153
|
+
z === -1 ? (l.splice(c++, 0, g), $.push(g)) : c = z + $.length + 1;
|
|
154
|
+
}
|
|
155
|
+
return $.every((g) => a.get(b(g))) ? l = u : r === "wait" && (l = $), L(H(l)), P(u), null;
|
|
156
|
+
}
|
|
157
|
+
process.env.NODE_ENV !== "production" && r === "wait" && p.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
|
|
158
|
+
const { forceRender: C } = K(U);
|
|
159
|
+
return M(q, { children: p.map((l) => {
|
|
160
|
+
const c = b(l), g = n && !i ? !1 : u === p || h.includes(c), z = () => {
|
|
161
|
+
if (d.current.has(c)) return;
|
|
162
|
+
if (a.has(c))
|
|
163
|
+
d.current.add(c), a.set(c, !0);
|
|
164
|
+
else return;
|
|
165
|
+
let F = !0;
|
|
166
|
+
a.forEach((O) => {
|
|
167
|
+
O || (F = !1);
|
|
168
|
+
}), F && (C?.(), P([]), n && y?.(), s && s());
|
|
169
|
+
};
|
|
170
|
+
return M(ee, {
|
|
171
|
+
isPresent: g,
|
|
172
|
+
initial: !R.current || t ? void 0 : !1,
|
|
173
|
+
custom: o,
|
|
174
|
+
presenceAffectsLayout: f,
|
|
175
|
+
mode: r,
|
|
176
|
+
root: w,
|
|
177
|
+
onExitComplete: g ? void 0 : z,
|
|
178
|
+
anchorX: m,
|
|
179
|
+
anchorY: v,
|
|
180
|
+
children: l
|
|
181
|
+
}, c);
|
|
182
|
+
}) });
|
|
183
|
+
};
|
|
184
|
+
export {
|
|
185
|
+
se as t
|
|
186
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as b } from "./rolldown-runtime-Dw9YIBcH.js";
|
|
2
2
|
import { t as y } from "./prop-types-BCUW56rg.js";
|
|
3
|
-
import { t as u } from "./utils-
|
|
3
|
+
import { t as u } from "./utils-DnIJruo0.js";
|
|
4
4
|
import { breadcrumbVariants as O, breadcrumbWrapperVariants as j } from "./components/Breadcrumb/Breadcrumb.variants.js";
|
|
5
5
|
import { BackButton as w } from "./components/Breadcrumb/components/BackButton/BackButton.js";
|
|
6
6
|
import { Item as _ } from "./components/Breadcrumb/components/Item/Item.js";
|
|
@@ -28,8 +28,7 @@ function z(r, n) {
|
|
|
28
28
|
}
|
|
29
29
|
function P(r, n) {
|
|
30
30
|
if (r == null) return {};
|
|
31
|
-
var o = {}, e = Object.keys(r), t, a;
|
|
32
|
-
for (a = 0; a < e.length; a++)
|
|
31
|
+
for (var o = {}, e = Object.keys(r), t, a = 0; a < e.length; a++)
|
|
33
32
|
t = e[a], !(n.indexOf(t) >= 0) && (o[t] = r[t]);
|
|
34
33
|
return o;
|
|
35
34
|
}
|
|
@@ -2,7 +2,7 @@ import { o as X } from "./rolldown-runtime-Dw9YIBcH.js";
|
|
|
2
2
|
import { t as J } from "./prop-types-BCUW56rg.js";
|
|
3
3
|
import { a as U } from "./dist-xCbHbMLA.js";
|
|
4
4
|
import { t as N } from "./dist-CCdbu9GU.js";
|
|
5
|
-
import { t as O } from "./utils-
|
|
5
|
+
import { t as O } from "./utils-DnIJruo0.js";
|
|
6
6
|
import { i as Q, r as S, t as Y } from "./dist-D-yS0HN8.js";
|
|
7
7
|
import { t as Z } from "./dist-BUocnzkM.js";
|
|
8
8
|
import { useToggle as ee } from "./hooks/useToggle.js";
|
|
@@ -33,8 +33,7 @@ function ae(e, o) {
|
|
|
33
33
|
}
|
|
34
34
|
function se(e, o) {
|
|
35
35
|
if (e == null) return {};
|
|
36
|
-
var n = {}, t = Object.keys(e), r, c;
|
|
37
|
-
for (c = 0; c < t.length; c++)
|
|
36
|
+
for (var n = {}, t = Object.keys(e), r, c = 0; c < t.length; c++)
|
|
38
37
|
r = t[c], !(o.indexOf(r) >= 0) && (n[r] = e[r]);
|
|
39
38
|
return n;
|
|
40
39
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { o as v } from "./rolldown-runtime-Dw9YIBcH.js";
|
|
2
2
|
import { t as y } from "./prop-types-BCUW56rg.js";
|
|
3
|
-
import { t as c } from "./utils-
|
|
3
|
+
import { t as c } from "./utils-DnIJruo0.js";
|
|
4
4
|
import { inputVariants as g, searchInconInputVariants as h } from "./components/Command/Command.variants.js";
|
|
5
|
-
import { t as m } from "./dist-
|
|
5
|
+
import { t as m } from "./dist-CgzF5_J6.js";
|
|
6
6
|
import p, { forwardRef as u } from "react";
|
|
7
7
|
import { jsx as f, jsxs as b } from "react/jsx-runtime";
|
|
8
8
|
var a = /* @__PURE__ */ v(y());
|
|
@@ -27,8 +27,7 @@ function x(r, n) {
|
|
|
27
27
|
}
|
|
28
28
|
function O(r, n) {
|
|
29
29
|
if (r == null) return {};
|
|
30
|
-
var t = {}, e = Object.keys(r), o, i;
|
|
31
|
-
for (i = 0; i < e.length; i++)
|
|
30
|
+
for (var t = {}, e = Object.keys(r), o, i = 0; i < e.length; i++)
|
|
32
31
|
o = e[i], !(n.indexOf(o) >= 0) && (t[o] = r[o]);
|
|
33
32
|
return t;
|
|
34
33
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
import { o as D } from "./rolldown-runtime-Dw9YIBcH.js";
|
|
2
3
|
import { t as R } from "./prop-types-BCUW56rg.js";
|
|
3
4
|
import { t as P } from "./dist-DX0sBG3Q.js";
|
|
4
|
-
import { t as f } from "./utils-
|
|
5
|
+
import { t as f } from "./utils-DnIJruo0.js";
|
|
5
6
|
import { Typography as F } from "./components/Typography/Typography.js";
|
|
6
7
|
import { buttonVariants as _, counterVariants as q, labelVariants as A } from "./components/Counter/Counter.variants.js";
|
|
7
8
|
import m, { forwardRef as x, useId as G, useState as H } from "react";
|
|
@@ -28,8 +29,7 @@ function J(t, i) {
|
|
|
28
29
|
}
|
|
29
30
|
function K(t, i) {
|
|
30
31
|
if (t == null) return {};
|
|
31
|
-
var n = {}, e = Object.keys(t), r, o;
|
|
32
|
-
for (o = 0; o < e.length; o++)
|
|
32
|
+
for (var n = {}, e = Object.keys(t), r, o = 0; o < e.length; o++)
|
|
33
33
|
r = e[o], !(i.indexOf(r) >= 0) && (n[r] = t[r]);
|
|
34
34
|
return n;
|
|
35
35
|
}
|
|
@@ -79,8 +79,7 @@ function Q(t, i) {
|
|
|
79
79
|
}
|
|
80
80
|
function U(t, i) {
|
|
81
81
|
if (t == null) return {};
|
|
82
|
-
var n = {}, e = Object.keys(t), r, o;
|
|
83
|
-
for (o = 0; o < e.length; o++)
|
|
82
|
+
for (var n = {}, e = Object.keys(t), r, o = 0; o < e.length; o++)
|
|
84
83
|
r = e[o], !(i.indexOf(r) >= 0) && (n[r] = t[r]);
|
|
85
84
|
return n;
|
|
86
85
|
}
|