@konstructio/ui 0.1.2-alpha.82 → 0.1.2-alpha.85
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-CRCQ5p31.js → AdditionalOptions-UEegkZqG.js} +2 -2
- package/dist/{AlertDialogTrigger-Dtrr7WJM.js → AlertDialogTrigger-C2GlLI2j.js} +4 -4
- package/dist/{Breadcrumb-DNjDbdm5.js → Breadcrumb-BYO5PNVF.js} +10 -10
- package/dist/{Checkbox-CRQtgvZk.js → Checkbox-BvRmHWxk.js} +19 -19
- package/dist/{Combination-DiOw6ItW.js → Combination-DFcElBFt.js} +9 -9
- package/dist/{CommandInput-CLn5OaH8.js → CommandInput-C45ylYPm.js} +8 -8
- package/dist/{Counter-CH_5cCac.js → Counter-Qqu8PU85.js} +22 -22
- package/dist/{DayPicker-CrrmX-H8.js → DayPicker-BQlzb5kH.js} +1 -1
- package/dist/{DropdownButton-B2XkEqPt.js → DropdownButton-CWwjA3zI.js} +3 -3
- package/dist/{FlagSelectorList-C17nmEBM.js → FlagSelectorList-NMlHNF7N.js} +122 -118
- package/dist/HamburgerTrigger-BzCfBWzH.js +85 -0
- package/dist/{ImageUpload-BzXjGZ2w.js → ImageUpload-DebL0hwF.js} +2 -2
- package/dist/{Input-t3DjCWy0.js → Input-BZG7N8m1.js} +7 -7
- package/dist/{Loading-DKqxR-oV.js → Loading-DNlO4qxs.js} +2 -2
- package/dist/{Modal-_XSbN0WP.js → Modal-IyDr5vIx.js} +5 -5
- package/dist/{Spinner-DWxsFSVh.js → Spinner-BB1muhcJ.js} +2 -2
- package/dist/{StepIndicatorContent-D5z1Ziqg.js → StepIndicatorContent-87ASgJsX.js} +2 -2
- package/dist/{Switch-DjbC0A8y.js → Switch-CT2R9JgM.js} +5 -5
- package/dist/{Toast-8BbU25GW.js → Toast-CWyLcmNX.js} +10 -10
- package/dist/{Wrapper-DEJ-hyar.js → Wrapper-DimnwFZe.js} +3 -3
- package/dist/{Wrapper-DPwHto7U.js → Wrapper-F9NmImqw.js} +10 -10
- package/dist/{Wrapper-BYC8shQP.js → Wrapper-TuoyTFqo.js} +3 -3
- package/dist/assets/icons/components/CircumGlobe.js +20 -0
- package/dist/assets/icons/components/CpuAlt.js +33 -0
- package/dist/assets/icons/components/Docs.js +40 -0
- package/dist/assets/icons/components/FirewallAlt.js +23 -0
- package/dist/assets/icons/components/Inventory.js +23 -0
- package/dist/assets/icons/components/LoadBalancerAlt.js +20 -0
- package/dist/assets/icons/components/Lock.js +20 -0
- package/dist/assets/icons/components/LogOut.js +23 -0
- package/dist/assets/icons/components/NetworkAlt.js +30 -0
- package/dist/assets/icons/components/OrgSettings.js +20 -0
- package/dist/assets/icons/components/Profile.js +20 -0
- package/dist/assets/icons/components/index.js +186 -164
- package/dist/assets/icons/index.js +186 -164
- package/dist/{chevron-down-DgssmYWu.js → chevron-down-T3Rx8Nc7.js} +1 -1
- package/dist/{chevron-left-DRJXef9g.js → chevron-left-CeJrJR0U.js} +1 -1
- package/dist/{chevron-right-BooB_b7g.js → chevron-right-BFOnP164.js} +1 -1
- package/dist/{chevron-up-DuS9MUNr.js → chevron-up-BKlxfVX9.js} +1 -1
- package/dist/{chunk-D1xtDmiO.js → chunk-cI0lbGMq.js} +7 -7
- package/dist/components/Alert/Alert.js +3 -3
- package/dist/components/Alert/Alert.variants.js +1 -1
- 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/Autocomplete.variants.js +1 -1
- package/dist/components/Autocomplete/components/List/List.js +1 -1
- package/dist/components/Autocomplete/components/List/List.variants.js +1 -1
- package/dist/components/Autocomplete/hooks/useAutocomplete.js +1 -1
- package/dist/components/Badge/Badge.js +3 -3
- package/dist/components/Badge/Badge.variants.js +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.variants.js +1 -1
- package/dist/components/Breadcrumb/components/Item/Item.js +2 -2
- package/dist/components/Breadcrumb/components/Item/Item.variants.js +1 -1
- package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +1 -1
- package/dist/components/Button/Button.js +2 -2
- package/dist/components/Button/Button.variants.js +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.js +2 -2
- package/dist/components/ButtonGroup/ButtonGroup.variants.js +1 -1
- package/dist/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.js +2 -2
- package/dist/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.variants.js +1 -1
- 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/Card/Card.variants.js +1 -1
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/Checkbox/Checkbox.variants.js +1 -1
- package/dist/components/Command/Command.js +3 -3
- package/dist/components/Command/Command.variants.js +1 -1
- 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/Counter/Counter.js +1 -1
- package/dist/components/Counter/Counter.variants.js +1 -1
- package/dist/components/DateRangePicker/DateRangePicker.js +1 -1
- package/dist/components/DateRangePicker/DateRangePicker.variants.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/CalendarPanel.variants.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/DateTimeInputs.variants.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/PresetPanel/PresetPanel.variants.js +1 -1
- package/dist/components/Datepicker/DatePicker.js +4 -4
- package/dist/components/Datepicker/DatePicker.variants.js +1 -1
- package/dist/components/Divider/Divider.js +1 -1
- package/dist/components/Divider/Divider.variants.js +1 -1
- package/dist/components/Drawer/Drawer.js +4 -4
- package/dist/components/Drawer/Drawer.variants.js +1 -1
- 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/Filter.variants.js +1 -1
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +3 -3
- package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.hook.js +1 -1
- package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.js +2 -2
- package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.hook.js +1 -1
- package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.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/Filter/utils/index.js +1 -1
- package/dist/components/ImageUpload/ImageUpload.js +1 -1
- package/dist/components/ImageUpload/ImageUpload.variants.js +1 -1
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Input/Input.variants.js +1 -1
- package/dist/components/LineChart/LineChart.js +2 -2
- package/dist/components/Loading/Loading.js +1 -1
- package/dist/components/Loading/Loading.variants.js +1 -1
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Modal/components/Body/Body.js +2 -2
- package/dist/components/Modal/components/Footer/Footer.js +2 -2
- package/dist/components/Modal/components/Header/Header.js +2 -2
- package/dist/components/Modal/components/Wrapper/Wrapper.js +1 -1
- package/dist/components/Modal/components/Wrapper/Wrapper.variants.js +1 -1
- package/dist/components/Modal/components/index.js +1 -1
- package/dist/components/MultiSelectDropdown/MultiSelectDropdown.js +1 -1
- package/dist/components/MultiSelectDropdown/MultiSelectDropdown.variants.js +1 -1
- package/dist/components/MultiSelectDropdown/components/Item/Item.js +1 -1
- package/dist/components/MultiSelectDropdown/components/Item/Item.variants.js +1 -1
- package/dist/components/MultiSelectDropdown/components/List/List.js +1 -1
- package/dist/components/MultiSelectDropdown/components/List/List.variants.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/PhoneNumberInput.variants.js +1 -1
- 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 +3 -3
- 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 +1 -1
- package/dist/components/ProgressBar/ProgressBar.js +1 -1
- package/dist/components/ProgressBar/ProgressBar.variants.js +1 -1
- package/dist/components/Radio/Radio.js +1 -1
- package/dist/components/Radio/Radio.variants.js +1 -1
- package/dist/components/RadioCard/RadioCard.js +1 -1
- package/dist/components/RadioCard/RadioCard.variants.js +1 -1
- package/dist/components/RadioCardGroup/RadioCardGroup.js +1 -1
- package/dist/components/RadioCardGroup/RadioCardGroup.variants.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.js +2 -2
- package/dist/components/RadioGroup/RadioGroup.variants.js +1 -1
- package/dist/components/Range/Range.js +2 -2
- package/dist/components/Range/Range.variants.js +1 -1
- package/dist/components/Select/Select.js +3 -3
- package/dist/components/Select/Select.variants.js +1 -1
- 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 +5 -5
- package/dist/components/Select/components/List/List.variants.js +1 -1
- package/dist/components/Select/components/ListItem/ListItem.js +1 -1
- package/dist/components/Select/components/ListItem/ListItem.variants.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/Sidebar.js +15 -12
- package/dist/components/Sidebar/Sidebar.variants.js +12 -8
- package/dist/components/Sidebar/components/Footer/Footer.js +1 -1
- package/dist/components/Sidebar/components/Footer/Footer.variants.js +1 -1
- package/dist/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.js +4 -0
- package/dist/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.variants.js +22 -0
- package/dist/components/Sidebar/components/Label/Label.js +20 -0
- package/dist/components/Sidebar/components/Logo/Logo.js +1 -1
- package/dist/components/Sidebar/components/Logo/Logo.variants.js +5 -5
- package/dist/components/Sidebar/components/Navigation/Navigation.js +29 -16
- package/dist/components/Sidebar/components/Navigation/Navigation.variants.js +1 -1
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +15 -11
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.js +1 -1
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +24 -14
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +4 -4
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +1 -1
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.js +7 -6
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +1 -1
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.variants.js +1 -1
- package/dist/components/Sidebar/components/Wrapper/Wrapper.js +99 -33
- package/dist/components/Sidebar/components/index.js +18 -14
- package/dist/components/Sidebar/contexts/SidebarContext.js +11 -0
- package/dist/components/Sidebar/contexts/index.js +5 -0
- package/dist/components/Sidebar/hooks/index.js +6 -0
- package/dist/components/Sidebar/hooks/useSidebarMode.js +10 -0
- package/dist/components/Slider/Slider.js +2 -2
- package/dist/components/Slider/Slider.variants.js +1 -1
- package/dist/components/Spinner/Spinner.js +1 -1
- package/dist/components/Spinner/Spinner.variants.js +1 -1
- package/dist/components/Stepper/Stepper.js +1 -1
- package/dist/components/Stepper/Stepper.variants.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/Stepper/hooks/useStepItemLogic.js +1 -1
- package/dist/components/Switch/Switch.js +1 -1
- package/dist/components/Switch/Switch.variants.js +1 -1
- package/dist/components/Table/Table.js +1 -1
- package/dist/components/Table/Table.variants.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/Tabs.variants.js +1 -1
- 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 +2 -2
- package/dist/components/Tag/Tag.variants.js +1 -1
- package/dist/components/TagSelect/TagSelect.js +1 -1
- package/dist/components/TagSelect/TagSelect.variants.js +1 -1
- package/dist/components/TagSelect/components/Item/Item.js +1 -1
- package/dist/components/TagSelect/components/Item/Item.variants.js +1 -1
- package/dist/components/TagSelect/components/List/List.js +1 -1
- package/dist/components/TagSelect/components/List/List.variants.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/TextArea/TextArea.variants.js +1 -1
- package/dist/components/TimePicker/TimePicker.variants.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 +1 -1
- package/dist/components/Tooltip/Tooltip.js +2 -2
- package/dist/components/Typography/Typography.js +1 -1
- package/dist/components/Typography/Typography.variants.js +1 -1
- package/dist/components/VirtualizedTable/VirtualizedTable.js +2 -2
- package/dist/components/VirtualizedTable/VirtualizedTable.variants.js +1 -1
- package/dist/components/VirtualizedTable/components/Actions/Actions.js +2 -2
- 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/ExpandableRow/ExpandableRow.js +1 -1
- package/dist/components/VirtualizedTable/components/Filter/Filter.js +4 -4
- 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 +3 -3
- 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 +80 -78
- package/dist/{components-CIIoAkfF.js → components-C_LekSz_.js} +3 -3
- package/dist/{constants-D96yCePL.js → constants-CLe3ZLC_.js} +1 -1
- package/dist/contexts/index.js +1 -1
- package/dist/contexts/theme.provider.js +1 -1
- package/dist/{debounce-CzFlgg9h.js → debounce-B55BpO1u.js} +2 -2
- package/dist/{dist-Dhq9W8Kh.js → dist-AZfrfAUz.js} +12 -12
- package/dist/{dist-DG28sjv9.js → dist-B5WmTRxj.js} +22 -22
- package/dist/{dist-DtEbXv47.js → dist-Bcn6lMQe.js} +1 -1
- package/dist/{dist-CO1nuZPa.js → dist-BeLV4B_x.js} +7 -7
- package/dist/{dist-C7fZcI-O.js → dist-BfrkYZKI.js} +6 -6
- package/dist/{dist-T4PJ-tgg.js → dist-Br5jSLr2.js} +7 -7
- package/dist/{dist-bbY12nin.js → dist-CMPkuWNy.js} +3 -3
- package/dist/{dist-CUwKSQtF.js → dist-CPK4FXV9.js} +4 -4
- package/dist/{dist-DZcOdXgW.js → dist-CQfmhKEs.js} +1 -1
- package/dist/{dist-DPLyqzsL.js → dist-CZChgJLY.js} +4 -4
- package/dist/{dist-DpqiA4Yn.js → dist-DF7Yi2EK.js} +2 -2
- package/dist/{dist-uVUx9i0a.js → dist-D_9sBzad.js} +1 -1
- package/dist/{dist-BpTK1H2d.js → dist-EV-1XXQr.js} +1 -1
- package/dist/{dist-DeVdyMHW2.js → dist-X40eHC8j2.js} +1 -1
- package/dist/{ellipsis-vertical-My0S9QY5.js → ellipsis-vertical-Cm9A6Zu8.js} +1 -1
- package/dist/hooks/index.js +4 -2
- package/dist/hooks/useMediaQuery.js +17 -0
- package/dist/index.js +139 -135
- package/dist/{isObject--aYwGuhx.js → isObject-CGNJbB5a.js} +1 -1
- package/dist/lib/assets/icons/components/CircumGlobe.d.ts +3 -0
- package/dist/lib/assets/icons/components/CpuAlt.d.ts +3 -0
- package/dist/lib/assets/icons/components/Docs.d.ts +3 -0
- package/dist/lib/assets/icons/components/FirewallAlt.d.ts +3 -0
- package/dist/lib/assets/icons/components/Inventory.d.ts +3 -0
- package/dist/lib/assets/icons/components/LoadBalancerAlt.d.ts +3 -0
- package/dist/lib/assets/icons/components/Lock.d.ts +3 -0
- package/dist/lib/assets/icons/components/LogOut.d.ts +3 -0
- package/dist/lib/assets/icons/components/NetworkAlt.d.ts +3 -0
- package/dist/lib/assets/icons/components/OrgSettings.d.ts +3 -0
- package/dist/lib/assets/icons/components/Profile.d.ts +3 -0
- package/dist/lib/assets/icons/components/index.d.ts +11 -0
- package/dist/lib/components/Sidebar/Sidebar.d.ts +2 -2
- package/dist/lib/components/Sidebar/Sidebar.types.d.ts +46 -5
- package/dist/lib/components/Sidebar/Sidebar.variants.d.ts +3 -1
- package/dist/lib/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.d.ts +4 -0
- package/dist/lib/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.types.d.ts +7 -0
- package/dist/lib/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.variants.d.ts +1 -0
- package/dist/lib/components/Sidebar/components/Label/Label.d.ts +4 -0
- package/dist/lib/components/Sidebar/components/Label/Label.types.d.ts +9 -0
- package/dist/lib/components/Sidebar/components/Wrapper/Wrapper.d.ts +2 -2
- package/dist/lib/components/Sidebar/components/index.d.ts +4 -0
- package/dist/lib/components/Sidebar/contexts/SidebarContext.d.ts +10 -0
- package/dist/lib/components/Sidebar/contexts/index.d.ts +1 -0
- package/dist/lib/components/Sidebar/hooks/index.d.ts +1 -0
- package/dist/lib/components/Sidebar/hooks/useSidebarMode.d.ts +5 -0
- package/dist/lib/hooks/index.d.ts +1 -0
- package/dist/lib/hooks/useMediaQuery.d.ts +1 -0
- package/dist/{libphonenumber-7uXgv7U8.js → libphonenumber-Dy3Kac9j.js} +1 -1
- package/dist/package.json +19 -18
- package/dist/{phone-number.provider-B9BWYAqH.js → phone-number.provider-CdPQAKnl.js} +584 -560
- package/dist/{prop-types-DTnODft1.js → prop-types-CE0Kfmwk.js} +1 -1
- package/dist/{proxy-uLtw-ZML.js → proxy-Cx8v8fok.js} +85 -85
- package/dist/styles.css +1 -1
- package/dist/{table.provider-02pWXplc.js → table.provider-BBlJgEJf.js} +3 -3
- package/dist/{theme.provider-BgxXUOMP.js → theme.provider-ps3SkwAo.js} +1 -1
- package/dist/{useBreadcrumb-nYudTOOA.js → useBreadcrumb-mrkCWjS0.js} +292 -292
- package/dist/utils/index.js +1 -1
- package/dist/{utils-DHuiYnx1.js → utils-COaoD3PI.js} +1 -1
- package/dist/{utils-2zv-ysvP.js → utils-Cc9GhtYC.js} +4 -3
- package/dist/{x-a0ouxoIM.js → x-DBIZFfaM.js} +1 -1
- package/dist/{x-BwIi6Wii.js → x-KjMYhcCb.js} +2 -2
- package/package.json +19 -18
- /package/dist/{clsx-kDhLfUq2.js → clsx-Dzz4NoNN.js} +0 -0
- /package/dist/{createLucideIcon-BVGkzDZC.js → createLucideIcon-CL4htJAF.js} +0 -0
- /package/dist/{dist-DRmqW28Z2.js → dist-BHslNQd82.js} +0 -0
- /package/dist/{dist-ByyYBtbL.js → dist-C4El7dZ5.js} +0 -0
- /package/dist/{dist-DstQl8xY.js → dist-Cf-pDuuw.js} +0 -0
- /package/dist/{dist-C8r5DW7s.js → dist-D6dB-_Oy.js} +0 -0
- /package/dist/{dist-BL-H4bEw2.js → dist-DxDE5irg2.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as i } from "./dist-
|
|
2
|
-
import { t as p } from "./utils-
|
|
1
|
+
import { t as i } from "./dist-CMPkuWNy.js";
|
|
2
|
+
import { t as p } from "./utils-COaoD3PI.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
|
-
import { n as u } from "./dist-
|
|
2
|
-
import { t as O } from "./utils-
|
|
3
|
-
import { a as w, s as I } from "./dist-
|
|
4
|
-
import { c as x, d as M, f as A, l as $, n as F, o as L, r as B, s as G, t as f, u as j } from "./dist-
|
|
1
|
+
import { n as u } from "./dist-C4El7dZ5.js";
|
|
2
|
+
import { t as O } from "./utils-COaoD3PI.js";
|
|
3
|
+
import { a as w, s as I } from "./dist-D_9sBzad.js";
|
|
4
|
+
import { c as x, d as M, f as A, l as $, n as F, o as L, r as B, s as G, t as f, u as j } from "./dist-B5WmTRxj.js";
|
|
5
5
|
import { Button as W } from "./components/Button/Button.js";
|
|
6
6
|
import * as i from "react";
|
|
7
7
|
import { forwardRef as Y } from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { o as g } from "./chunk-
|
|
2
|
-
import { t as v } from "./prop-types-
|
|
3
|
-
import { t as u } from "./utils-
|
|
1
|
+
import { o as g } from "./chunk-cI0lbGMq.js";
|
|
2
|
+
import { t as v } from "./prop-types-CE0Kfmwk.js";
|
|
3
|
+
import { t as u } from "./utils-COaoD3PI.js";
|
|
4
4
|
import { breadcrumbVariants as b, breadcrumbWrapperVariants as y } from "./components/Breadcrumb/Breadcrumb.variants.js";
|
|
5
5
|
import { Item as O } from "./components/Breadcrumb/components/Item/Item.js";
|
|
6
6
|
import d, { Fragment as j, forwardRef as w, useId as _ } from "react";
|
|
@@ -52,7 +52,7 @@ p.propTypes = {
|
|
|
52
52
|
size: l.default.oneOfType([l.default.string, l.default.number])
|
|
53
53
|
};
|
|
54
54
|
p.displayName = "ChevronRight";
|
|
55
|
-
var
|
|
55
|
+
var C = ({ "aria-label": r = "breadcrumb", className: n, steps: t, theme: e, wrapperClassName: o, ...a }) => {
|
|
56
56
|
const s = _();
|
|
57
57
|
return /* @__PURE__ */ i("nav", {
|
|
58
58
|
"aria-label": r,
|
|
@@ -61,17 +61,17 @@ var I = ({ "aria-label": r = "breadcrumb", className: n, steps: t, theme: e, wra
|
|
|
61
61
|
children: /* @__PURE__ */ i("ol", {
|
|
62
62
|
className: u(b({ className: n })),
|
|
63
63
|
...a,
|
|
64
|
-
children: t.map(({ label:
|
|
64
|
+
children: t.map(({ label: c, ...h }, f) => /* @__PURE__ */ x(j, { children: [/* @__PURE__ */ i(O, {
|
|
65
65
|
...h,
|
|
66
|
-
label:
|
|
67
|
-
isLast:
|
|
68
|
-
}),
|
|
66
|
+
label: c,
|
|
67
|
+
isLast: f === t.length - 1
|
|
68
|
+
}), f !== t.length - 1 && /* @__PURE__ */ i("li", {
|
|
69
69
|
"aria-hidden": "true",
|
|
70
70
|
children: /* @__PURE__ */ i(p, { className: "text-gray-400 w-5 h-5 mt-0.5" })
|
|
71
|
-
})] }, `${s}-${
|
|
71
|
+
})] }, `${s}-${c}`))
|
|
72
72
|
})
|
|
73
73
|
});
|
|
74
74
|
};
|
|
75
75
|
export {
|
|
76
|
-
|
|
76
|
+
C as t
|
|
77
77
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { o as G } from "./chunk-
|
|
2
|
-
import { t as U } from "./prop-types-
|
|
3
|
-
import { n as B } from "./dist-
|
|
4
|
-
import { t as w } from "./utils-
|
|
5
|
-
import { a as S, r as V, s as X, t as
|
|
6
|
-
import { t as J } from "./dist-
|
|
7
|
-
import { t as Q } from "./dist-
|
|
8
|
-
import { t as Y } from "./dist-
|
|
1
|
+
import { o as G } from "./chunk-cI0lbGMq.js";
|
|
2
|
+
import { t as U } from "./prop-types-CE0Kfmwk.js";
|
|
3
|
+
import { n as B } from "./dist-C4El7dZ5.js";
|
|
4
|
+
import { t as w } from "./utils-COaoD3PI.js";
|
|
5
|
+
import { a as S, r as V, s as X, t as I } from "./dist-D_9sBzad.js";
|
|
6
|
+
import { t as J } from "./dist-DF7Yi2EK.js";
|
|
7
|
+
import { t as Q } from "./dist-DxDE5irg2.js";
|
|
8
|
+
import { t as Y } from "./dist-X40eHC8j2.js";
|
|
9
9
|
import { useToggle as Z } from "./hooks/useToggle.js";
|
|
10
10
|
import { checkboxVariants as ee, labelVariants as te } from "./components/Checkbox/Checkbox.variants.js";
|
|
11
11
|
import * as p from "react";
|
|
12
12
|
import j, { forwardRef as T, useCallback as re, useId as oe } from "react";
|
|
13
13
|
import { Fragment as ne, jsx as f, jsxs as z } from "react/jsx-runtime";
|
|
14
14
|
var E = /* @__PURE__ */ G(U());
|
|
15
|
-
function
|
|
16
|
-
return
|
|
15
|
+
function R() {
|
|
16
|
+
return R = Object.assign || function(e) {
|
|
17
17
|
for (var a = 1; a < arguments.length; a++) {
|
|
18
18
|
var n = arguments[a];
|
|
19
19
|
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
20
20
|
}
|
|
21
21
|
return e;
|
|
22
|
-
},
|
|
22
|
+
}, R.apply(this, arguments);
|
|
23
23
|
}
|
|
24
24
|
function ae(e, a) {
|
|
25
25
|
if (e == null) return {};
|
|
@@ -40,7 +40,7 @@ function se(e, a) {
|
|
|
40
40
|
}
|
|
41
41
|
var N = T(function(e, a) {
|
|
42
42
|
var n = e.color, r = n === void 0 ? "currentColor" : n, o = e.size, t = o === void 0 ? 24 : o, l = ae(e, ["color", "size"]);
|
|
43
|
-
return /* @__PURE__ */ j.createElement("svg",
|
|
43
|
+
return /* @__PURE__ */ j.createElement("svg", R({
|
|
44
44
|
ref: a,
|
|
45
45
|
xmlns: "http://www.w3.org/2000/svg",
|
|
46
46
|
width: t,
|
|
@@ -95,7 +95,7 @@ var L = "CheckboxTrigger", M = p.forwardRef(({ __scopeCheckbox: e, onKeyDown: a,
|
|
|
95
95
|
const c = () => d(v.current);
|
|
96
96
|
return s.addEventListener("reset", c), () => s.removeEventListener("reset", c);
|
|
97
97
|
}
|
|
98
|
-
}, [t, d]), /* @__PURE__ */ f(
|
|
98
|
+
}, [t, d]), /* @__PURE__ */ f(I.button, {
|
|
99
99
|
type: "button",
|
|
100
100
|
role: "checkbox",
|
|
101
101
|
"aria-checked": g(i) ? "mixed" : i,
|
|
@@ -131,7 +131,7 @@ var q = p.forwardRef((e, a) => {
|
|
|
131
131
|
...d,
|
|
132
132
|
ref: a,
|
|
133
133
|
__scopeCheckbox: n
|
|
134
|
-
}), u && /* @__PURE__ */ f(
|
|
134
|
+
}), u && /* @__PURE__ */ f(D, { __scopeCheckbox: n })] })
|
|
135
135
|
});
|
|
136
136
|
});
|
|
137
137
|
q.displayName = P;
|
|
@@ -139,7 +139,7 @@ var F = "CheckboxIndicator", A = p.forwardRef((e, a) => {
|
|
|
139
139
|
const { __scopeCheckbox: n, forceMount: r, ...o } = e, t = O(F, n);
|
|
140
140
|
return /* @__PURE__ */ f(J, {
|
|
141
141
|
present: r || g(t.checked) || t.checked === !0,
|
|
142
|
-
children: /* @__PURE__ */ f(
|
|
142
|
+
children: /* @__PURE__ */ f(I.span, {
|
|
143
143
|
"data-state": H(t.checked),
|
|
144
144
|
"data-disabled": t.disabled ? "" : void 0,
|
|
145
145
|
...o,
|
|
@@ -152,8 +152,8 @@ var F = "CheckboxIndicator", A = p.forwardRef((e, a) => {
|
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
154
|
A.displayName = F;
|
|
155
|
-
var
|
|
156
|
-
const { control: r, hasConsumerStoppedPropagationRef: o, checked: t, defaultChecked: l, required: h, disabled: i, name: b, value: k, form: d, bubbleInput: u, setBubbleInput: x } = O(
|
|
155
|
+
var $ = "CheckboxBubbleInput", D = p.forwardRef(({ __scopeCheckbox: e, ...a }, n) => {
|
|
156
|
+
const { control: r, hasConsumerStoppedPropagationRef: o, checked: t, defaultChecked: l, required: h, disabled: i, name: b, value: k, form: d, bubbleInput: u, setBubbleInput: x } = O($, e), C = B(n, x), m = Q(t), v = Y(r);
|
|
157
157
|
p.useEffect(() => {
|
|
158
158
|
const c = u;
|
|
159
159
|
if (!c) return;
|
|
@@ -169,7 +169,7 @@ var D = "CheckboxBubbleInput", $ = p.forwardRef(({ __scopeCheckbox: e, ...a }, n
|
|
|
169
169
|
o
|
|
170
170
|
]);
|
|
171
171
|
const s = p.useRef(g(t) ? !1 : t);
|
|
172
|
-
return /* @__PURE__ */ f(
|
|
172
|
+
return /* @__PURE__ */ f(I.input, {
|
|
173
173
|
type: "checkbox",
|
|
174
174
|
"aria-hidden": !0,
|
|
175
175
|
defaultChecked: l ?? s.current,
|
|
@@ -192,7 +192,7 @@ var D = "CheckboxBubbleInput", $ = p.forwardRef(({ __scopeCheckbox: e, ...a }, n
|
|
|
192
192
|
}
|
|
193
193
|
});
|
|
194
194
|
});
|
|
195
|
-
|
|
195
|
+
D.displayName = $;
|
|
196
196
|
function de(e) {
|
|
197
197
|
return typeof e == "function";
|
|
198
198
|
}
|
|
@@ -221,7 +221,7 @@ var ge = function() {
|
|
|
221
221
|
};
|
|
222
222
|
}, [t && r]);
|
|
223
223
|
};
|
|
224
|
-
},
|
|
224
|
+
}, $ = function() {
|
|
225
225
|
var e = ye(), t = function(r) {
|
|
226
226
|
var n = r.styles, a = r.dynamic;
|
|
227
227
|
return e(n, a), null;
|
|
@@ -250,7 +250,7 @@ var ge = function() {
|
|
|
250
250
|
right: t[2],
|
|
251
251
|
gap: Math.max(0, n - r + t[2] - t[0])
|
|
252
252
|
};
|
|
253
|
-
}, pe =
|
|
253
|
+
}, pe = $(), T = "data-scroll-locked", Ce = function(e, t, r, n) {
|
|
254
254
|
var a = e.left, c = e.top, f = e.right, u = e.gap;
|
|
255
255
|
return r === void 0 && (r = "margin"), `
|
|
256
256
|
.`.concat(re, ` {
|
|
@@ -322,18 +322,18 @@ if (typeof window < "u") try {
|
|
|
322
322
|
}
|
|
323
323
|
var P = Y ? { passive: !1 } : !1, ke = function(e) {
|
|
324
324
|
return e.tagName === "TEXTAREA";
|
|
325
|
-
},
|
|
325
|
+
}, q = function(e, t) {
|
|
326
326
|
if (!(e instanceof Element)) return !1;
|
|
327
327
|
var r = window.getComputedStyle(e);
|
|
328
328
|
return r[t] !== "hidden" && !(r.overflowY === r.overflowX && !ke(e) && r[t] === "visible");
|
|
329
329
|
}, Pe = function(e) {
|
|
330
|
-
return
|
|
330
|
+
return q(e, "overflowY");
|
|
331
331
|
}, Ne = function(e) {
|
|
332
|
-
return
|
|
332
|
+
return q(e, "overflowX");
|
|
333
333
|
}, Z = function(e, t) {
|
|
334
334
|
var r = t.ownerDocument, n = t;
|
|
335
335
|
do {
|
|
336
|
-
if (typeof ShadowRoot < "u" && n instanceof ShadowRoot && (n = n.host),
|
|
336
|
+
if (typeof ShadowRoot < "u" && n instanceof ShadowRoot && (n = n.host), J(e, n)) {
|
|
337
337
|
var a = ee(e, n);
|
|
338
338
|
if (a[1] > a[2]) return !0;
|
|
339
339
|
}
|
|
@@ -352,7 +352,7 @@ var P = Y ? { passive: !1 } : !1, ke = function(e) {
|
|
|
352
352
|
e.scrollWidth,
|
|
353
353
|
e.clientWidth
|
|
354
354
|
];
|
|
355
|
-
},
|
|
355
|
+
}, J = function(e, t) {
|
|
356
356
|
return e === "v" ? Pe(t) : Ne(t);
|
|
357
357
|
}, ee = function(e, t) {
|
|
358
358
|
return e === "v" ? Te(t) : Me(t);
|
|
@@ -363,7 +363,7 @@ var P = Y ? { passive: !1 } : !1, ke = function(e) {
|
|
|
363
363
|
do {
|
|
364
364
|
if (!u) break;
|
|
365
365
|
var E = ee(e, u), R = E[0], o = E[1] - E[2] - c * R;
|
|
366
|
-
(R || o) &&
|
|
366
|
+
(R || o) && J(e, u) && (b += o, C += R);
|
|
367
367
|
var l = u.parentNode;
|
|
368
368
|
u = l && l.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? l.host : l;
|
|
369
369
|
} while (!v && u !== document.body || v && (t.contains(u) || t === u));
|
|
@@ -383,7 +383,7 @@ var P = Y ? { passive: !1 } : !1, ke = function(e) {
|
|
|
383
383
|
`);
|
|
384
384
|
}, Ie = 0, N = [];
|
|
385
385
|
function Oe(e) {
|
|
386
|
-
var t = i.useRef([]), r = i.useRef([0, 0]), n = i.useRef(), a = i.useState(Ie++)[0], c = i.useState(
|
|
386
|
+
var t = i.useRef([]), r = i.useRef([0, 0]), n = i.useRef(), a = i.useState(Ie++)[0], c = i.useState($)[0], f = i.useRef(e);
|
|
387
387
|
i.useEffect(function() {
|
|
388
388
|
f.current = e;
|
|
389
389
|
}, [e]), i.useEffect(function() {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { o as v } from "./chunk-
|
|
2
|
-
import { t as y } from "./prop-types-
|
|
3
|
-
import { t as
|
|
1
|
+
import { o as v } from "./chunk-cI0lbGMq.js";
|
|
2
|
+
import { t as y } from "./prop-types-CE0Kfmwk.js";
|
|
3
|
+
import { t as c } from "./utils-COaoD3PI.js";
|
|
4
4
|
import { inputVariants as g, searchInconInputVariants as h } from "./components/Command/Command.variants.js";
|
|
5
|
-
import { t as
|
|
5
|
+
import { t as m } from "./dist-CPK4FXV9.js";
|
|
6
6
|
import p, { forwardRef as u } from "react";
|
|
7
|
-
import { jsx as
|
|
7
|
+
import { jsx as f, jsxs as b } from "react/jsx-runtime";
|
|
8
8
|
var a = /* @__PURE__ */ v(y());
|
|
9
9
|
function s() {
|
|
10
10
|
return s = Object.assign || function(r) {
|
|
@@ -64,13 +64,13 @@ l.displayName = "Search";
|
|
|
64
64
|
var j = u(({ className: r, ...n }, t) => /* @__PURE__ */ b("div", {
|
|
65
65
|
className: "flex items-center px-3 border-b border-neutral-900/35",
|
|
66
66
|
"cmdk-input-wrapper": "",
|
|
67
|
-
children: [/* @__PURE__ */
|
|
67
|
+
children: [/* @__PURE__ */ f(l, { className: c(h({ className: r })) }), /* @__PURE__ */ f(m.Input, {
|
|
68
68
|
ref: t,
|
|
69
|
-
className:
|
|
69
|
+
className: c(g({ className: r })),
|
|
70
70
|
...n
|
|
71
71
|
})]
|
|
72
72
|
}));
|
|
73
|
-
j.displayName =
|
|
73
|
+
j.displayName = m.Input.displayName;
|
|
74
74
|
export {
|
|
75
75
|
j as t
|
|
76
76
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { o as W } from "./chunk-
|
|
2
|
-
import { t as M } from "./prop-types-
|
|
3
|
-
import { t as j } from "./dist-
|
|
4
|
-
import { t as f } from "./utils-
|
|
1
|
+
import { o as W } from "./chunk-cI0lbGMq.js";
|
|
2
|
+
import { t as M } from "./prop-types-CE0Kfmwk.js";
|
|
3
|
+
import { t as j } from "./dist-EV-1XXQr.js";
|
|
4
|
+
import { t as f } from "./utils-COaoD3PI.js";
|
|
5
5
|
import { Typography as T } from "./components/Typography/Typography.js";
|
|
6
6
|
import { buttonVariants as N, counterVariants as V, labelVariants as C } from "./components/Counter/Counter.variants.js";
|
|
7
|
-
import m, { forwardRef as g, useCallback as k, useId as
|
|
8
|
-
import { jsx as
|
|
7
|
+
import m, { forwardRef as g, useCallback as k, useId as R } from "react";
|
|
8
|
+
import { jsx as u, jsxs as p } from "react/jsx-runtime";
|
|
9
9
|
var a = /* @__PURE__ */ W(M());
|
|
10
10
|
function h() {
|
|
11
11
|
return h = Object.assign || function(e) {
|
|
@@ -16,9 +16,9 @@ function h() {
|
|
|
16
16
|
return e;
|
|
17
17
|
}, h.apply(this, arguments);
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function S(e, o) {
|
|
20
20
|
if (e == null) return {};
|
|
21
|
-
var r =
|
|
21
|
+
var r = B(e, o), t, n;
|
|
22
22
|
if (Object.getOwnPropertySymbols) {
|
|
23
23
|
var i = Object.getOwnPropertySymbols(e);
|
|
24
24
|
for (n = 0; n < i.length; n++)
|
|
@@ -26,7 +26,7 @@ function B(e, o) {
|
|
|
26
26
|
}
|
|
27
27
|
return r;
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function B(e, o) {
|
|
30
30
|
if (e == null) return {};
|
|
31
31
|
var r = {}, t = Object.keys(e), n, i;
|
|
32
32
|
for (i = 0; i < t.length; i++)
|
|
@@ -34,7 +34,7 @@ function D(e, o) {
|
|
|
34
34
|
return r;
|
|
35
35
|
}
|
|
36
36
|
var O = g(function(e, o) {
|
|
37
|
-
var r = e.color, t = r === void 0 ? "currentColor" : r, n = e.size, i = n === void 0 ? 24 : n, l =
|
|
37
|
+
var r = e.color, t = r === void 0 ? "currentColor" : r, n = e.size, i = n === void 0 ? 24 : n, l = S(e, ["color", "size"]);
|
|
38
38
|
return /* @__PURE__ */ m.createElement("svg", h({
|
|
39
39
|
ref: o,
|
|
40
40
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -67,7 +67,7 @@ function b() {
|
|
|
67
67
|
return e;
|
|
68
68
|
}, b.apply(this, arguments);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function D(e, o) {
|
|
71
71
|
if (e == null) return {};
|
|
72
72
|
var r = q(e, o), t, n;
|
|
73
73
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -85,7 +85,7 @@ function q(e, o) {
|
|
|
85
85
|
return r;
|
|
86
86
|
}
|
|
87
87
|
var w = g(function(e, o) {
|
|
88
|
-
var r = e.color, t = r === void 0 ? "currentColor" : r, n = e.size, i = n === void 0 ? 24 : n, l =
|
|
88
|
+
var r = e.color, t = r === void 0 ? "currentColor" : r, n = e.size, i = n === void 0 ? 24 : n, l = D(e, ["color", "size"]);
|
|
89
89
|
return /* @__PURE__ */ m.createElement("svg", b({
|
|
90
90
|
ref: o,
|
|
91
91
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -115,16 +115,16 @@ w.propTypes = {
|
|
|
115
115
|
};
|
|
116
116
|
w.displayName = "Plus";
|
|
117
117
|
var X = g(({ canDecrement: e = !0, canIncrement: o = !0, className: r, decrementButtonClassName: t, incrementButtonClassName: n, isRequired: i, label: l, labelWrapperClassName: P, max: y = -1 / 0, min: v = 1 / 0, name: x, theme: _, value: z, onChange: d }, I) => {
|
|
118
|
-
const E =
|
|
119
|
-
let
|
|
120
|
-
v === 1 / 0 ?
|
|
118
|
+
const E = R(), s = z ?? 0, L = k(() => {
|
|
119
|
+
let c = 0;
|
|
120
|
+
v === 1 / 0 ? c = s - 1 : c = Math.max(v, s - 1), d?.({ target: { value: c } });
|
|
121
121
|
}, [
|
|
122
122
|
s,
|
|
123
123
|
v,
|
|
124
124
|
d
|
|
125
125
|
]), $ = k(() => {
|
|
126
|
-
let
|
|
127
|
-
y === -1 / 0 ?
|
|
126
|
+
let c = 0;
|
|
127
|
+
y === -1 / 0 ? c = s + 1 : c = Math.min(y, s + 1), d?.({ target: { value: c } });
|
|
128
128
|
}, [
|
|
129
129
|
s,
|
|
130
130
|
y,
|
|
@@ -133,7 +133,7 @@ var X = g(({ canDecrement: e = !0, canIncrement: o = !0, className: r, decrement
|
|
|
133
133
|
return /* @__PURE__ */ p("div", {
|
|
134
134
|
className: "flex flex-col gap-2",
|
|
135
135
|
"data-theme": _,
|
|
136
|
-
children: [l ? /* @__PURE__ */
|
|
136
|
+
children: [l ? /* @__PURE__ */ u("div", {
|
|
137
137
|
className: f(P),
|
|
138
138
|
children: /* @__PURE__ */ p(T, {
|
|
139
139
|
component: "label",
|
|
@@ -143,7 +143,7 @@ var X = g(({ canDecrement: e = !0, canIncrement: o = !0, className: r, decrement
|
|
|
143
143
|
children: [
|
|
144
144
|
"Number of nodes",
|
|
145
145
|
" ",
|
|
146
|
-
i && /* @__PURE__ */
|
|
146
|
+
i && /* @__PURE__ */ u("span", {
|
|
147
147
|
className: "text-red-600 dark:text-red-500",
|
|
148
148
|
children: "*"
|
|
149
149
|
})
|
|
@@ -161,9 +161,9 @@ var X = g(({ canDecrement: e = !0, canIncrement: o = !0, className: r, decrement
|
|
|
161
161
|
className: t
|
|
162
162
|
})),
|
|
163
163
|
disabled: !e,
|
|
164
|
-
children: [/* @__PURE__ */
|
|
164
|
+
children: [/* @__PURE__ */ u(O, { className: "w-4 h-4" }), /* @__PURE__ */ u(j, { children: "Decrement" })]
|
|
165
165
|
}),
|
|
166
|
-
/* @__PURE__ */
|
|
166
|
+
/* @__PURE__ */ u("input", {
|
|
167
167
|
ref: I,
|
|
168
168
|
type: "number",
|
|
169
169
|
value: s,
|
|
@@ -180,7 +180,7 @@ var X = g(({ canDecrement: e = !0, canIncrement: o = !0, className: r, decrement
|
|
|
180
180
|
className: n
|
|
181
181
|
})),
|
|
182
182
|
disabled: !o,
|
|
183
|
-
children: [/* @__PURE__ */
|
|
183
|
+
children: [/* @__PURE__ */ u(w, { className: "w-4 h-4" }), /* @__PURE__ */ u(j, { children: "Increment" })]
|
|
184
184
|
})
|
|
185
185
|
]
|
|
186
186
|
})]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as Qe } from "./chunk-
|
|
1
|
+
import { r as Qe } from "./chunk-cI0lbGMq.js";
|
|
2
2
|
import d, { createContext as Nn, useCallback as $, useContext as Cn, useEffect as Yn, useLayoutEffect as Tn, useMemo as Se, useRef as Ne, useState as Ze } from "react";
|
|
3
3
|
function xn(e, t, n = "long") {
|
|
4
4
|
return new Intl.DateTimeFormat("en-US", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { o as x } from "./chunk-
|
|
2
|
-
import { t as C } from "./prop-types-
|
|
3
|
-
import { t as l } from "./utils-
|
|
1
|
+
import { o as x } from "./chunk-cI0lbGMq.js";
|
|
2
|
+
import { t as C } from "./prop-types-CE0Kfmwk.js";
|
|
3
|
+
import { t as l } from "./utils-COaoD3PI.js";
|
|
4
4
|
import { Button as E } from "./components/Button/Button.js";
|
|
5
5
|
import v, { forwardRef as _, useCallback as h, useEffect as z, useRef as w, useState as L } from "react";
|
|
6
6
|
import { jsx as d, jsxs as b } from "react/jsx-runtime";
|