@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
package/dist/index.js
CHANGED
|
@@ -1,154 +1,158 @@
|
|
|
1
|
-
import { t as o } from "./Checkbox-
|
|
2
|
-
import { t as m } from "./DropdownButton-
|
|
3
|
-
import { t as p } from "./Breadcrumb-
|
|
4
|
-
import { t as a } from "./Input-
|
|
5
|
-
import { t as n } from "./Counter-
|
|
6
|
-
import { i as l, t as d } from "./utils-
|
|
7
|
-
import { Alert as
|
|
1
|
+
import { t as o } from "./Checkbox-BvRmHWxk.js";
|
|
2
|
+
import { t as m } from "./DropdownButton-CWwjA3zI.js";
|
|
3
|
+
import { t as p } from "./Breadcrumb-BYO5PNVF.js";
|
|
4
|
+
import { t as a } from "./Input-BZG7N8m1.js";
|
|
5
|
+
import { t as n } from "./Counter-Qqu8PU85.js";
|
|
6
|
+
import { i as l, t as d } from "./utils-COaoD3PI.js";
|
|
7
|
+
import { Alert as g } from "./components/Alert/Alert.js";
|
|
8
8
|
import { Button as c } from "./components/Button/Button.js";
|
|
9
9
|
import { AlertDialog as D } from "./components/AlertDialog/AlertDialog.js";
|
|
10
|
-
import { Autocomplete as
|
|
11
|
-
import { t as
|
|
10
|
+
import { Autocomplete as b } from "./components/Autocomplete/Autocomplete.js";
|
|
11
|
+
import { t as w } from "./Loading-DNlO4qxs.js";
|
|
12
12
|
import { Badge as h } from "./components/Badge/Badge.js";
|
|
13
13
|
import { Typography as x } from "./components/Typography/Typography.js";
|
|
14
|
-
import { ButtonGroup as
|
|
15
|
-
import { Card as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import { t as dr } from "./
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
14
|
+
import { ButtonGroup as L } from "./components/ButtonGroup/ButtonGroup.js";
|
|
15
|
+
import { Card as I } from "./components/Card/Card.js";
|
|
16
|
+
import { useMediaQuery as E } from "./hooks/useMediaQuery.js";
|
|
17
|
+
import { useToggle as M } from "./hooks/useToggle.js";
|
|
18
|
+
import { DatePicker as A } from "./components/Datepicker/DatePicker.js";
|
|
19
|
+
import { Radio as y } from "./components/Radio/Radio.js";
|
|
20
|
+
import { RadioGroup as O } from "./components/RadioGroup/RadioGroup.js";
|
|
21
|
+
import { TimePicker as U } from "./components/TimePicker/TimePicker.js";
|
|
22
|
+
import { DateRangePicker as j } from "./components/DateRangePicker/DateRangePicker.js";
|
|
23
|
+
import { Divider as H } from "./components/Divider/Divider.js";
|
|
24
|
+
import { Drawer as K } from "./components/Drawer/Drawer.js";
|
|
25
|
+
import { BadgeMultiSelect as Y } from "./components/Filter/components/BadgeDropdown/BadgeMultiSelect.js";
|
|
26
|
+
import { DateFilterDropdown as _ } from "./components/Filter/components/DateFilterDropdown/DateFilterDropdown.js";
|
|
27
|
+
import { DateRangeFilterDropdown as rr } from "./components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.js";
|
|
28
|
+
import { TextMultiSelect as tr } from "./components/Filter/components/TextMultiSelect/TextMultiSelect.js";
|
|
29
|
+
import { TimeFilterDropdown as ir } from "./components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.js";
|
|
30
|
+
import { Filter as er } from "./components/Filter/Filter.js";
|
|
31
|
+
import { t as fr } from "./ImageUpload-DebL0hwF.js";
|
|
32
|
+
import { LineChart as sr } from "./components/LineChart/LineChart.js";
|
|
33
|
+
import { t as dr } from "./Modal-IyDr5vIx.js";
|
|
34
|
+
import { t as gr } from "./components-C_LekSz_.js";
|
|
35
|
+
import { PhoneNumberInput as cr } from "./components/PhoneNumberInput/PhoneNumberInput.js";
|
|
36
|
+
import { PieChart as Dr } from "./components/PieChart/PieChart.js";
|
|
37
|
+
import { ProgressBar as br } from "./components/ProgressBar/ProgressBar.js";
|
|
38
|
+
import { RadioCard as wr } from "./components/RadioCard/RadioCard.js";
|
|
39
|
+
import { RadioCardGroup as hr } from "./components/RadioCardGroup/RadioCardGroup.js";
|
|
40
|
+
import { Range as xr } from "./components/Range/Range.js";
|
|
41
|
+
import { Select as Lr } from "./components/Select/Select.js";
|
|
42
|
+
import { Footer as Ir } from "./components/Sidebar/components/Footer/Footer.js";
|
|
43
|
+
import { Label as Er } from "./components/Sidebar/components/Label/Label.js";
|
|
44
|
+
import { Logo as Mr } from "./components/Sidebar/components/Logo/Logo.js";
|
|
45
|
+
import { NavigationGroup as Ar } from "./components/Sidebar/components/NavigationGroup/NavigationGroup.js";
|
|
46
|
+
import { NavigationOption as yr } from "./components/Sidebar/components/NavigationOption/NavigationOption.js";
|
|
47
|
+
import { NavigationSeparator as Or } from "./components/Sidebar/components/NavigationSeparator/NavigationSeparator.js";
|
|
48
|
+
import { Navigation as Ur } from "./components/Sidebar/components/Navigation/Navigation.js";
|
|
49
|
+
import { Sidebar as jr } from "./components/Sidebar/Sidebar.js";
|
|
50
|
+
import { Slider as Hr } from "./components/Slider/Slider.js";
|
|
51
|
+
import { t as Kr } from "./Spinner-BB1muhcJ.js";
|
|
52
|
+
import { horizontalConnectorWrapperVariants as Yr, stepConnectorVariants as Zr, stepContentVariants as _r, stepDescriptionVariants as $r, stepIndicatorVariants as ro, stepItemVariants as oo, stepLabelVariants as to, stepListVariants as mo, stepVariants as io, stepperVariants as po } from "./components/Stepper/Stepper.variants.js";
|
|
53
|
+
import { Stepper as ao } from "./components/Stepper/Stepper.js";
|
|
54
|
+
import { t as no } from "./Switch-CT2R9JgM.js";
|
|
55
|
+
import { Table as lo } from "./components/Table/Table.js";
|
|
56
|
+
import { Content as go } from "./components/Tabs/components/Content.js";
|
|
57
|
+
import { List as co } from "./components/Tabs/components/List.js";
|
|
58
|
+
import { Trigger as Do } from "./components/Tabs/components/Trigger.js";
|
|
59
|
+
import { Tabs as bo } from "./components/Tabs/Tabs.js";
|
|
60
|
+
import { Tag as wo } from "./components/Tag/Tag.js";
|
|
61
|
+
import { TagSelect as ho } from "./components/TagSelect/TagSelect.js";
|
|
62
|
+
import { TextArea as xo } from "./components/TextArea/TextArea.js";
|
|
63
|
+
import { t as Lo } from "./Toast-CWyLcmNX.js";
|
|
64
|
+
import { Tooltip as Io } from "./components/Tooltip/Tooltip.js";
|
|
65
|
+
import { VirtualizedTableEvent as Eo, sendCollapseRowEvent as Fo, sendExpandRowEvent as Mo, sendToggleRowEvent as ko } from "./components/VirtualizedTable/events/index.js";
|
|
66
|
+
import { TruncateText as Go } from "./components/VirtualizedTable/components/TruncateText/TruncateText.js";
|
|
67
|
+
import { VirtualizedTable as zo } from "./components/VirtualizedTable/VirtualizedTable.js";
|
|
68
|
+
import { ThemeContext as Qo } from "./contexts/theme.context.js";
|
|
69
|
+
import { useTheme as Wo } from "./contexts/theme.hook.js";
|
|
70
|
+
import { t as qo } from "./theme.provider-ps3SkwAo.js";
|
|
69
71
|
import "./contexts/index.js";
|
|
70
72
|
export {
|
|
71
|
-
|
|
73
|
+
g as Alert,
|
|
72
74
|
D as AlertDialog,
|
|
73
|
-
|
|
75
|
+
b as Autocomplete,
|
|
74
76
|
h as Badge,
|
|
75
|
-
|
|
77
|
+
Y as BadgeMultiSelect,
|
|
76
78
|
p as Breadcrumb,
|
|
77
79
|
c as Button,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
+
L as ButtonGroup,
|
|
81
|
+
I as Card,
|
|
80
82
|
o as Checkbox,
|
|
81
|
-
|
|
83
|
+
go as Content,
|
|
82
84
|
n as Counter,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
85
|
+
_ as DateFilterDropdown,
|
|
86
|
+
A as DatePicker,
|
|
87
|
+
rr as DateRangeFilterDropdown,
|
|
88
|
+
j as DateRangePicker,
|
|
89
|
+
H as Divider,
|
|
90
|
+
K as Drawer,
|
|
91
|
+
Lr as Dropdown,
|
|
90
92
|
m as DropdownButton,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
93
|
+
er as Filter,
|
|
94
|
+
Ir as Footer,
|
|
95
|
+
fr as ImageUpload,
|
|
94
96
|
a as Input,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
dr as
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
97
|
+
Er as Label,
|
|
98
|
+
sr as LineChart,
|
|
99
|
+
co as List,
|
|
100
|
+
w as Loading,
|
|
101
|
+
Mr as Logo,
|
|
102
|
+
dr as Modal,
|
|
103
|
+
gr as MultiSelectDropdown,
|
|
104
|
+
Ur as Navigation,
|
|
105
|
+
Ar as NavigationGroup,
|
|
106
|
+
yr as NavigationOption,
|
|
107
|
+
Or as NavigationSeparator,
|
|
105
108
|
n as NumberInput,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
109
|
+
cr as PhoneNumberInput,
|
|
110
|
+
Dr as PieChart,
|
|
111
|
+
br as ProgressBar,
|
|
112
|
+
y as Radio,
|
|
113
|
+
wr as RadioCard,
|
|
114
|
+
hr as RadioCardGroup,
|
|
115
|
+
O as RadioGroup,
|
|
116
|
+
xr as Range,
|
|
117
|
+
Lr as Select,
|
|
118
|
+
jr as Sidebar,
|
|
119
|
+
Hr as Slider,
|
|
120
|
+
Kr as Spinner,
|
|
121
|
+
ao as Stepper,
|
|
122
|
+
no as Switch,
|
|
123
|
+
lo as Table,
|
|
124
|
+
bo as Tabs,
|
|
125
|
+
wo as Tag,
|
|
126
|
+
ho as TagSelect,
|
|
127
|
+
xo as TextArea,
|
|
128
|
+
tr as TextMultiSelect,
|
|
129
|
+
Qo as ThemeContext,
|
|
130
|
+
qo as ThemeProvider,
|
|
131
|
+
ir as TimeFilterDropdown,
|
|
132
|
+
U as TimePicker,
|
|
133
|
+
Lo as Toast,
|
|
134
|
+
Io as Tooltip,
|
|
135
|
+
Do as Trigger,
|
|
136
|
+
Go as TruncateText,
|
|
134
137
|
x as Typography,
|
|
135
|
-
|
|
136
|
-
|
|
138
|
+
zo as VirtualizedTable,
|
|
139
|
+
Eo as VirtualizedTableEvent,
|
|
137
140
|
d as cn,
|
|
138
|
-
|
|
141
|
+
Yr as horizontalConnectorWrapperVariants,
|
|
139
142
|
l as resolveColor,
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
143
|
+
Fo as sendCollapseRowEvent,
|
|
144
|
+
Mo as sendExpandRowEvent,
|
|
145
|
+
ko as sendToggleRowEvent,
|
|
146
|
+
Zr as stepConnectorVariants,
|
|
147
|
+
_r as stepContentVariants,
|
|
148
|
+
$r as stepDescriptionVariants,
|
|
149
|
+
ro as stepIndicatorVariants,
|
|
150
|
+
oo as stepItemVariants,
|
|
151
|
+
to as stepLabelVariants,
|
|
152
|
+
mo as stepListVariants,
|
|
153
|
+
io as stepVariants,
|
|
154
|
+
po as stepperVariants,
|
|
155
|
+
E as useMediaQuery,
|
|
156
|
+
Wo as useTheme,
|
|
157
|
+
M as useToggle
|
|
154
158
|
};
|
|
@@ -17,6 +17,7 @@ export { CheckboxMarkedCircleOutlineIcon } from './CheckboxMarkedCircleOutline';
|
|
|
17
17
|
export { CheckCircleFilledIcon } from './CheckCircleFilled';
|
|
18
18
|
export { CheckCircleOutlineIcon } from './CheckCircleOutline';
|
|
19
19
|
export { CheckIcon } from './Check';
|
|
20
|
+
export { CircumGlobeIcon } from './CircumGlobe';
|
|
20
21
|
export { ClockAlertIcon } from './ClockAlert';
|
|
21
22
|
export { ClockOutlineIcon } from './ClockOutline';
|
|
22
23
|
export { CloseIcon } from './Close';
|
|
@@ -27,12 +28,14 @@ export { CogOutlineIcon } from './CogOutline';
|
|
|
27
28
|
export { ComputeIcon } from './Compute';
|
|
28
29
|
export { CopyIcon } from './Copy';
|
|
29
30
|
export { CpuIcon } from './Cpu';
|
|
31
|
+
export { CpuAltIcon } from './CpuAlt';
|
|
30
32
|
export { CubeIcon } from './Cube';
|
|
31
33
|
export { DashboardIcon } from './Dashboard';
|
|
32
34
|
export { DatabaseIcon } from './Database';
|
|
33
35
|
export { DatacenterIcon } from './Datacenter';
|
|
34
36
|
export { DeleteIcon } from './Delete';
|
|
35
37
|
export { DnsIcon } from './Dns';
|
|
38
|
+
export { DocsIcon } from './Docs';
|
|
36
39
|
export { DollarSignIcon } from './DollarSign';
|
|
37
40
|
export { DownloadIcon } from './Download';
|
|
38
41
|
export { EditIcon } from './Edit';
|
|
@@ -42,6 +45,7 @@ export { ErrorIcon } from './Error';
|
|
|
42
45
|
export { ErrorOutlineIcon } from './ErrorOutline';
|
|
43
46
|
export { ExclamationIcon } from './Exclamation';
|
|
44
47
|
export { FirewallIcon } from './Firewall';
|
|
48
|
+
export { FirewallAltIcon } from './FirewallAlt';
|
|
45
49
|
export { GitIcon } from './Git';
|
|
46
50
|
export { GitOpsCatalogIcon } from './GitOpsCatalog';
|
|
47
51
|
export { GridViewIcon } from './GridView';
|
|
@@ -52,16 +56,22 @@ export { HomeIcon } from './Home';
|
|
|
52
56
|
export { IdIcon } from './Id';
|
|
53
57
|
export { InfoCircleIcon } from './InfoCircle';
|
|
54
58
|
export { InformationOutlineIcon } from './InformationOutline';
|
|
59
|
+
export { InventoryIcon } from './Inventory';
|
|
55
60
|
export { InvoiceListIcon } from './InvoiceList';
|
|
56
61
|
export { KeyIcon } from './Key';
|
|
57
62
|
export { KonstructIcon } from './Konstruct';
|
|
58
63
|
export { KubernetesIcon } from './Kubernetes';
|
|
59
64
|
export { LoadBalancerIcon } from './LoadBalancer';
|
|
65
|
+
export { LoadBalancerAltIcon } from './LoadBalancerAlt';
|
|
60
66
|
export { LoaderIcon } from './Loader';
|
|
61
67
|
export { LightBulbIcon } from './LightBulb';
|
|
68
|
+
export { LockIcon } from './Lock';
|
|
69
|
+
export { LogOutIcon } from './LogOut';
|
|
62
70
|
export { NetworkIcon } from './Network';
|
|
71
|
+
export { NetworkAltIcon } from './NetworkAlt';
|
|
63
72
|
export { ObjectStorageIcon } from './ObjectStorage';
|
|
64
73
|
export { OrganizationIcon } from './Organization';
|
|
74
|
+
export { OrgSettingsIcon } from './OrgSettings';
|
|
65
75
|
export { PagesStackIcon } from './PagesStack';
|
|
66
76
|
export { PageviewIcon } from './Pageview';
|
|
67
77
|
export { PeopleIcon } from './People';
|
|
@@ -71,6 +81,7 @@ export { PlusIcon } from './Plus';
|
|
|
71
81
|
export { PowerSettingsIcon } from './PowerSettings';
|
|
72
82
|
export { PreviewIcon } from './Preview';
|
|
73
83
|
export { PrivateRegionIcon } from './PrivateRegion';
|
|
84
|
+
export { ProfileIcon } from './Profile';
|
|
74
85
|
export { QuotaIcon } from './Quota';
|
|
75
86
|
export { ReceiptLongIcon } from './ReceiptLong';
|
|
76
87
|
export { RefreshIcon } from './Refresh';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { Footer, Logo, Navigation, NavigationGroup, NavigationOption, NavigationSeparator } from './components';
|
|
2
|
+
import { Footer, Label, Logo, Navigation, NavigationGroup, NavigationOption, NavigationSeparator } from './components';
|
|
3
3
|
import { SidebarChildrenProps, Props as SidebarProps } from './Sidebar.types';
|
|
4
4
|
/**
|
|
5
5
|
* A compound component for building application sidebars.
|
|
@@ -25,4 +25,4 @@ import { SidebarChildrenProps, Props as SidebarProps } from './Sidebar.types';
|
|
|
25
25
|
* @see {@link https://konstructio.github.io/konstruct-ui/?path=/docs/components-sidebar--docs Storybook}
|
|
26
26
|
*/
|
|
27
27
|
declare const Sidebar: FC<SidebarProps> & SidebarChildrenProps;
|
|
28
|
-
export { Footer, Logo, Navigation, NavigationGroup, NavigationOption, NavigationSeparator, Sidebar, };
|
|
28
|
+
export { Footer, Label, Logo, Navigation, NavigationGroup, NavigationOption, NavigationSeparator, Sidebar, };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import { FC, PropsWithChildren } from 'react';
|
|
3
3
|
import { Theme } from '../../../domain/theme';
|
|
4
|
+
import { SidebarModeProp } from './hooks/useSidebarMode';
|
|
4
5
|
import { wrapperSiderbarVariants } from './Sidebar.variants';
|
|
5
|
-
import { FooterProps, LogoProps, NavigationGroupProps, NavigationOptionProps, NavigationProps, NavigationSeparatorProps } from './components';
|
|
6
|
+
import { FooterProps, LabelProps, LogoProps, NavigationGroupProps, NavigationOptionProps, NavigationProps, NavigationSeparatorProps } from './components';
|
|
6
7
|
/**
|
|
7
8
|
* Props for the Sidebar component.
|
|
8
9
|
* A compound component for building application sidebars with navigation.
|
|
@@ -27,15 +28,54 @@ import { FooterProps, LogoProps, NavigationGroupProps, NavigationOptionProps, Na
|
|
|
27
28
|
* </Sidebar>
|
|
28
29
|
* ```
|
|
29
30
|
*/
|
|
30
|
-
export interface Props extends VariantProps<typeof wrapperSiderbarVariants>, PropsWithChildren {
|
|
31
|
-
/** Whether the sidebar can be resized by dragging */
|
|
31
|
+
export interface Props extends Omit<VariantProps<typeof wrapperSiderbarVariants>, 'mode'>, PropsWithChildren {
|
|
32
|
+
/** Whether the sidebar can be resized by dragging (only in expanded mode) */
|
|
32
33
|
canResize?: boolean;
|
|
33
34
|
/** Additional CSS classes for the divider */
|
|
34
35
|
dividerClassName?: string;
|
|
35
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* Viewport width in pixels below which the sidebar switches to `drawer` mode in `auto` mode (defaults to 640).
|
|
38
|
+
*/
|
|
39
|
+
drawerBreakpoint?: number;
|
|
40
|
+
/**
|
|
41
|
+
* Maximum width in pixels for the drawer panel in `drawer` mode (defaults to 280).
|
|
42
|
+
* The drawer width is `min(viewport, drawerMaxWidth)`, so on viewports narrower than
|
|
43
|
+
* the cap it shrinks to fit instead of overflowing.
|
|
44
|
+
*/
|
|
45
|
+
drawerMaxWidth?: number;
|
|
46
|
+
/**
|
|
47
|
+
* Viewport width in pixels at or above which the sidebar switches to `expanded` mode in `auto` mode (defaults to 1024).
|
|
48
|
+
*/
|
|
49
|
+
expandedBreakpoint?: number;
|
|
50
|
+
/**
|
|
51
|
+
* When true, animates the hover-expand width transition with `motion`. Only takes effect
|
|
52
|
+
* together with `expandOnHover`. Defaults to `true`.
|
|
53
|
+
*/
|
|
54
|
+
animateOnHover?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* When true and the sidebar is in `collapsed` mode, hovering a navigation option
|
|
57
|
+
* expands only that option (animated width) to reveal its label. The expanded
|
|
58
|
+
* option overlays content to its right and does not push siblings. Defaults to `true`.
|
|
59
|
+
*/
|
|
60
|
+
expandOnHover?: boolean;
|
|
61
|
+
/** Initial width in pixels when entering expanded mode (defaults to 256, clamped to [minWith, maxWith]) */
|
|
62
|
+
initialWidth?: number;
|
|
63
|
+
/** Maximum width when resizing in pixels (defaults to 300) */
|
|
36
64
|
maxWith?: number;
|
|
37
|
-
/** Minimum width when resizing
|
|
65
|
+
/** Minimum width when resizing in pixels (defaults to 240) */
|
|
38
66
|
minWith?: number;
|
|
67
|
+
/** Additional CSS classes for the auto-injected separator between groups in collapsed mode */
|
|
68
|
+
separatorClassName?: string;
|
|
69
|
+
/** Additional CSS classes for the hamburger trigger button rendered in drawer mode */
|
|
70
|
+
triggerClassName?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Controls the responsive mode of the sidebar.
|
|
73
|
+
* - `auto` (default): derives the mode from the viewport width
|
|
74
|
+
* (`>=1024px` expanded, `640-1023px` collapsed, `<640px` drawer).
|
|
75
|
+
* - `expanded`, `collapsed`, `drawer`: force a specific mode
|
|
76
|
+
* (useful for testing, stories, or manual control).
|
|
77
|
+
*/
|
|
78
|
+
mode?: SidebarModeProp;
|
|
39
79
|
/** Theme override for this component */
|
|
40
80
|
theme?: Theme;
|
|
41
81
|
/** Additional CSS classes for the wrapper */
|
|
@@ -48,6 +88,7 @@ export type SidebarProps = Props;
|
|
|
48
88
|
*/
|
|
49
89
|
export type SidebarChildrenProps = {
|
|
50
90
|
Footer: FC<FooterProps>;
|
|
91
|
+
Label: FC<LabelProps>;
|
|
51
92
|
Logo: FC<LogoProps>;
|
|
52
93
|
Navigation: FC<NavigationProps>;
|
|
53
94
|
NavigationGroup: FC<NavigationGroupProps>;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
export declare const wrapperSiderbarVariants: (props?:
|
|
1
|
+
export declare const wrapperSiderbarVariants: (props?: ({
|
|
2
|
+
mode?: "expanded" | "collapsed" | null | undefined;
|
|
3
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
2
4
|
export declare const dragVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
package/dist/lib/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.variants.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const hamburgerTriggerVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { PropsWithChildren } from 'react';
|
|
3
|
+
import { typographyVariants } from '../../../../../components/Typography/Typography.variants';
|
|
4
|
+
export interface Props extends PropsWithChildren {
|
|
5
|
+
className?: string;
|
|
6
|
+
variant?: VariantProps<typeof typographyVariants>['variant'];
|
|
7
|
+
}
|
|
8
|
+
/** @deprecated Use Props instead */
|
|
9
|
+
export type LabelProps = Props;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
export * from './Footer/Footer';
|
|
2
2
|
export type { FooterProps } from './Footer/Footer.types';
|
|
3
|
+
export * from './HamburgerTrigger/HamburgerTrigger';
|
|
4
|
+
export type { HamburgerTriggerProps } from './HamburgerTrigger/HamburgerTrigger.types';
|
|
5
|
+
export * from './Label/Label';
|
|
6
|
+
export type { LabelProps } from './Label/Label.types';
|
|
3
7
|
export * from './Logo/Logo';
|
|
4
8
|
export type { LogoProps } from './Logo/Logo.types';
|
|
5
9
|
export * from './Navigation/Navigation';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type SidebarMode = 'expanded' | 'collapsed' | 'drawer';
|
|
2
|
+
export interface SidebarContextValue {
|
|
3
|
+
mode: SidebarMode;
|
|
4
|
+
isCollapsed: boolean;
|
|
5
|
+
expandOnHover: boolean;
|
|
6
|
+
animateOnHover: boolean;
|
|
7
|
+
separatorClassName?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const SidebarContext: import('react').Context<SidebarContextValue>;
|
|
10
|
+
export declare const useSidebarContext: () => SidebarContextValue;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SidebarContext';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useSidebarMode';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { SidebarMode } from '../contexts/SidebarContext';
|
|
2
|
+
export type SidebarModeProp = SidebarMode | 'auto';
|
|
3
|
+
export declare const DEFAULT_EXPANDED_BREAKPOINT = 1024;
|
|
4
|
+
export declare const DEFAULT_DRAWER_BREAKPOINT = 640;
|
|
5
|
+
export declare const useSidebarMode: (mode?: SidebarModeProp, expandedBreakpoint?: number, drawerBreakpoint?: number) => SidebarMode;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useMediaQuery: (query: string) => boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as __require, t as __commonJSMin } from "./chunk-
|
|
1
|
+
import { i as __require, t as __commonJSMin } from "./chunk-cI0lbGMq.js";
|
|
2
2
|
var require_libphonenumber = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
3
3
|
(function(t) {
|
|
4
4
|
if (typeof exports == "object" && typeof module < "u") module.exports = t();
|