@konstructio/ui 0.0.12 → 0.0.13-alpha.2
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/{Combination-Cmu9JRkv.js → Combination-b348x__d.js} +89 -89
- package/dist/Modal-i7eolhYH.js +926 -0
- package/dist/{chevron-up-CvquEaNg.js → chevron-up-DgLBQCKD.js} +1 -1
- package/dist/components/Alert/Alert.js +53 -0
- package/dist/components/Alert/Alert.variants.js +71 -0
- package/dist/components/AlertDialog/AlertDialog.js +60 -50
- package/dist/components/AlertDialog/components/AlertDialogTrigger.js +3 -6
- package/dist/components/AlertDialog/components/index.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.js +74 -72
- package/dist/components/Autocomplete/Autocomplete.variants.js +11 -21
- package/dist/components/Autocomplete/components/List/List.js +28 -30
- package/dist/components/Autocomplete/components/List/List.variants.js +34 -40
- package/dist/components/Breadcrumb/Breadcrumb.js +67 -77
- package/dist/components/Breadcrumb/Breadcrumb.variants.js +22 -40
- package/dist/components/Breadcrumb/components/Item/Item.js +49 -0
- package/dist/components/Breadcrumb/components/Item/Item.variants.js +72 -0
- package/dist/components/Breadcrumb/components/index.js +4 -0
- package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +2 -3
- package/dist/components/Button/Button.js +34 -40
- package/dist/components/Button/Button.variants.js +138 -195
- package/dist/components/Card/Card.js +30 -37
- package/dist/components/Card/Card.variants.js +18 -53
- package/dist/components/Checkbox/Checkbox.js +70 -75
- package/dist/components/Checkbox/Checkbox.variants.js +11 -35
- package/dist/components/Command/Command.js +40 -0
- package/dist/components/Command/Command.variants.js +50 -0
- package/dist/components/Command/components/Command.js +8 -0
- package/dist/components/Command/components/CommandEmpty.js +15 -0
- package/dist/components/Command/components/CommandGroup.js +19 -0
- package/dist/components/Command/components/CommandInput.js +84 -0
- package/dist/components/Command/components/CommandItem.js +29 -0
- package/dist/components/Command/components/CommandList.js +16 -0
- package/dist/components/Command/components/CommandSeparator.js +16 -0
- package/dist/components/Command/components/CommandShortcut.js +19 -0
- package/dist/components/Command/components/DialogContent.js +31 -0
- package/dist/components/Command/components/DialogOverlay.js +19 -0
- package/dist/components/Command/components/index.js +20 -0
- package/dist/components/Command/contexts/Command.context.js +13 -0
- package/dist/components/Command/contexts/Command.provider.js +24 -0
- package/dist/components/Command/contexts/index.js +6 -0
- package/dist/components/Divider/Divider.js +11 -0
- package/dist/components/Divider/Divider.variants.js +17 -0
- package/dist/components/Dropdown/Dropdown.js +6 -8
- package/dist/components/Dropdown/Dropdown.variants.js +31 -38
- package/dist/components/Dropdown/components/List/List.js +18 -17
- package/dist/components/Dropdown/components/List/List.variants.js +22 -32
- package/dist/components/Dropdown/components/ListItem/ListItem.js +19 -19
- package/dist/components/Dropdown/components/ListItem/ListItem.variants.js +18 -28
- package/dist/components/Dropdown/components/Wrapper.js +128 -94
- package/dist/components/Dropdown/contexts/dropdown.context.js +1 -1
- package/dist/components/Dropdown/contexts/dropdown.provider.js +12 -12
- package/dist/components/Dropdown/hooks/useDropdown.js +12 -14
- package/dist/components/Dropdown/hooks/useNavigationList.js +8 -10
- package/dist/components/Input/Input.js +112 -69
- package/dist/components/Input/Input.variants.js +10 -16
- package/dist/components/Loading/Loading.js +111 -0
- package/dist/components/Loading/Loading.variants.js +13 -0
- package/dist/components/Modal/Modal.js +4 -4
- package/dist/components/Modal/components/Body/Body.js +1 -1
- package/dist/components/Modal/components/Footer/Footer.js +2 -2
- package/dist/components/Modal/components/Header/Header.js +3 -3
- package/dist/components/Modal/components/Wrapper/Wrapper.js +5 -9
- package/dist/components/Modal/components/Wrapper/Wrapper.variants.js +32 -46
- package/dist/components/Modal/components/index.js +1 -1
- package/dist/components/Modal/contexts/Modal.provider.js +4 -4
- package/dist/components/NumberInput/NumberInput.js +93 -113
- package/dist/components/NumberInput/NumberInput.variants.js +30 -51
- package/dist/components/ProgressBar/ProgressBar.js +25 -32
- package/dist/components/ProgressBar/ProgressBar.variants.js +10 -31
- package/dist/components/Radio/Radio.js +47 -30
- package/dist/components/Radio/Radio.variants.js +61 -17
- package/dist/components/RadioCard/RadioCard.js +35 -0
- package/dist/components/RadioCard/RadioCard.variants.js +10 -0
- package/dist/components/RadioCardGroup/RadioCardGroup.js +46 -0
- package/dist/components/RadioCardGroup/RadioCardGroup.variants.js +15 -0
- package/dist/components/RadioGroup/RadioGroup.js +40 -31
- package/dist/components/RadioGroup/RadioGroup.variants.js +15 -0
- package/dist/components/Range/Range.js +31 -39
- package/dist/components/Range/Range.variants.js +21 -53
- package/dist/components/Sidebar/Sidebar.js +15 -18
- package/dist/components/Sidebar/Sidebar.variants.js +30 -55
- package/dist/components/Sidebar/components/Footer/Footer.js +5 -20
- package/dist/components/Sidebar/components/Footer/Footer.variants.js +9 -16
- package/dist/components/Sidebar/components/Logo/Logo.js +5 -18
- package/dist/components/Sidebar/components/Logo/Logo.variants.js +21 -43
- package/dist/components/Sidebar/components/Navigation/Navigation.js +15 -31
- package/dist/components/Sidebar/components/Navigation/Navigation.variants.js +3 -17
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +23 -38
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.js +3 -14
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +24 -33
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +13 -22
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +7 -22
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.js +6 -16
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +9 -25
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.variants.js +11 -20
- package/dist/components/Sidebar/components/Wrapper/Wrapper.js +41 -42
- package/dist/components/Slider/Slider.js +26 -29
- package/dist/components/Slider/Slider.variants.js +22 -34
- package/dist/components/Switch/Switch.js +100 -105
- package/dist/components/Switch/Switch.variants.js +28 -53
- package/dist/components/Table/Table.js +27 -0
- package/dist/components/Table/Table.variants.js +39 -0
- package/dist/components/Table/components/Body.js +18 -0
- package/dist/components/Table/components/Filter.js +9 -0
- package/dist/components/Table/components/Head.js +18 -0
- package/dist/components/Table/components/Row.js +28 -0
- package/dist/components/Table/components/index.js +10 -0
- package/dist/components/Tag/Tag.js +17 -5
- package/dist/components/Tag/Tag.variants.js +11 -1
- package/dist/components/TagSelect/TagSelect.js +6 -73
- package/dist/components/TagSelect/TagSelect.variants.js +24 -77
- package/dist/components/TagSelect/components/Item/Item.js +21 -0
- package/dist/components/TagSelect/components/Item/Item.variants.js +32 -0
- package/dist/components/TagSelect/components/List/List.js +12 -0
- package/dist/components/TagSelect/components/List/List.variants.js +23 -0
- package/dist/components/TagSelect/components/Wrapper/Wrapper.js +86 -0
- package/dist/components/TagSelect/components/index.js +8 -0
- package/dist/components/TagSelect/contexts/TagSelect.context.js +19 -0
- package/dist/components/TagSelect/contexts/TagSelect.hook.js +11 -0
- package/dist/components/TagSelect/contexts/TagSelect.provider.js +69 -0
- package/dist/components/TagSelect/contexts/index.js +6 -0
- package/dist/components/TagSelect/hooks/useTagSelect.js +22 -27
- package/dist/components/TextArea/TextArea.js +26 -25
- package/dist/components/TextArea/TextArea.variants.js +19 -32
- package/dist/components/Toast/Toast.js +177 -172
- package/dist/components/Toast/Toast.variants.js +42 -71
- package/dist/components/Tooltip/Tooltip.js +21 -29
- package/dist/components/Tooltip/Tooltip.variants.js +61 -62
- package/dist/components/Typography/Typography.js +35 -0
- package/dist/components/Typography/Typography.variants.js +57 -0
- package/dist/components/index.js +68 -52
- package/dist/contexts/theme.provider.js +84 -16
- package/dist/index-AM3avohj.js +133 -0
- package/dist/{index-z-AJyzdv.js → index-BOx5P4tS.js} +11 -11
- package/dist/index-Bk324h27.js +82 -0
- package/dist/{index-BxeV34ij.js → index-Bry5AFQ2.js} +1 -1
- package/dist/{index-D68N8v8R.js → index-C5psggHV.js} +17 -17
- package/dist/{index-BtibbG81.js → index-CWKdynYu.js} +1 -1
- package/dist/index-D9BbbgUq.js +47 -0
- package/dist/index-DvFiic6N.js +446 -0
- package/dist/{index-D4Q2rMby.js → index-G_6jG4Qc.js} +2 -2
- package/dist/{index-BedjZUuB.js → index-YaQrdkGE.js} +3 -3
- package/dist/{index-8vgf-x5i.js → index-bYyfdsls.js} +11 -11
- package/dist/index-dRxIWVBr.js +313 -0
- package/dist/index-g-TFwd6Y.js +422 -0
- package/dist/index.d.ts +591 -4
- package/dist/index.js +72 -58
- package/dist/package.json +44 -42
- package/dist/styles.css +1 -1
- package/dist/styles.js +1 -1
- package/dist/ui/kubefirst-theme.css +296 -0
- package/dist/ui/theme.css +6 -0
- package/dist/ui/utilities.css +165 -0
- package/dist/useBreadcrumb-BsIeMoR1.js +1279 -0
- package/dist/utils/index.js +671 -422
- package/dist/{x-CRBgmX1Q.js → x-DU-Zw-L_.js} +1 -1
- package/package.json +44 -42
- package/dist/AlertDialogTrigger-D4Tm_9M0.js +0 -553
- package/dist/Modal-L73dmnHv.js +0 -914
- package/dist/components/AlertDialog/AlertDialog.d.ts +0 -3
- package/dist/components/AlertDialog/AlertDialog.types.d.ts +0 -18
- package/dist/components/AlertDialog/AlertDialog.types.js +0 -1
- package/dist/components/AlertDialog/AlertDialog.variants.d.ts +0 -3
- package/dist/components/AlertDialog/AlertDialog.variants.js +0 -15
- package/dist/components/AlertDialog/components/AlertDialogTrigger.d.ts +0 -3
- package/dist/components/AlertDialog/components/AlertDialogTrigger.types.d.ts +0 -6
- package/dist/components/AlertDialog/components/AlertDialogTrigger.types.js +0 -1
- package/dist/components/AlertDialog/components/index.d.ts +0 -1
- package/dist/components/AlertDialog/hooks/index.d.ts +0 -1
- package/dist/components/AlertDialog/hooks/useAlertDialog.d.ts +0 -7
- package/dist/components/Autocomplete/Autocomplete.d.ts +0 -3
- package/dist/components/Autocomplete/Autocomplete.types.d.ts +0 -18
- package/dist/components/Autocomplete/Autocomplete.types.js +0 -1
- package/dist/components/Autocomplete/Autocomplete.variants.d.ts +0 -8
- package/dist/components/Autocomplete/components/List/List.d.ts +0 -3
- package/dist/components/Autocomplete/components/List/List.types.d.ts +0 -13
- package/dist/components/Autocomplete/components/List/List.types.js +0 -1
- package/dist/components/Autocomplete/components/List/List.variants.d.ts +0 -16
- package/dist/components/Autocomplete/components/index.d.ts +0 -1
- package/dist/components/Autocomplete/hooks/index.d.ts +0 -2
- package/dist/components/Autocomplete/hooks/useAutocomplete.d.ts +0 -17
- package/dist/components/Autocomplete/hooks/useNavigationList.d.ts +0 -10
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +0 -3
- package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +0 -11
- package/dist/components/Breadcrumb/Breadcrumb.types.js +0 -1
- package/dist/components/Breadcrumb/Breadcrumb.variants.d.ts +0 -12
- package/dist/components/Breadcrumb/hooks/useBreadcrumb.d.ts +0 -3
- package/dist/components/Button/Button.d.ts +0 -4
- package/dist/components/Button/Button.types.d.ts +0 -7
- package/dist/components/Button/Button.types.js +0 -1
- package/dist/components/Button/Button.variants.d.ts +0 -7
- package/dist/components/Card/Card.d.ts +0 -4
- package/dist/components/Card/Card.types.d.ts +0 -8
- package/dist/components/Card/Card.types.js +0 -1
- package/dist/components/Card/Card.variants.d.ts +0 -10
- package/dist/components/Checkbox/Checkbox.d.ts +0 -3
- package/dist/components/Checkbox/Checkbox.types.d.ts +0 -14
- package/dist/components/Checkbox/Checkbox.types.js +0 -1
- package/dist/components/Checkbox/Checkbox.variants.d.ts +0 -9
- package/dist/components/Dropdown/Dropdown.d.ts +0 -3
- package/dist/components/Dropdown/Dropdown.types.d.ts +0 -16
- package/dist/components/Dropdown/Dropdown.types.js +0 -1
- package/dist/components/Dropdown/Dropdown.variants.d.ts +0 -3
- package/dist/components/Dropdown/components/EmptyList.d.ts +0 -2
- package/dist/components/Dropdown/components/List/List.d.ts +0 -3
- package/dist/components/Dropdown/components/List/List.types.d.ts +0 -6
- package/dist/components/Dropdown/components/List/List.types.js +0 -1
- package/dist/components/Dropdown/components/List/List.variants.d.ts +0 -3
- package/dist/components/Dropdown/components/ListItem/ListItem.d.ts +0 -3
- package/dist/components/Dropdown/components/ListItem/ListItem.types.d.ts +0 -4
- package/dist/components/Dropdown/components/ListItem/ListItem.types.js +0 -1
- package/dist/components/Dropdown/components/ListItem/ListItem.variants.d.ts +0 -3
- package/dist/components/Dropdown/components/Wrapper.d.ts +0 -3
- package/dist/components/Dropdown/components/index.d.ts +0 -3
- package/dist/components/Dropdown/contexts/dropdown.context.d.ts +0 -8
- package/dist/components/Dropdown/contexts/dropdown.hook.d.ts +0 -2
- package/dist/components/Dropdown/contexts/dropdown.provider.d.ts +0 -5
- package/dist/components/Dropdown/contexts/index.d.ts +0 -2
- package/dist/components/Dropdown/hooks/useDropdown.d.ts +0 -11
- package/dist/components/Dropdown/hooks/useNavigationList.d.ts +0 -8
- package/dist/components/Input/Input.d.ts +0 -3
- package/dist/components/Input/Input.types.d.ts +0 -9
- package/dist/components/Input/Input.types.js +0 -1
- package/dist/components/Input/Input.variants.d.ts +0 -4
- package/dist/components/Modal/Modal.d.ts +0 -8
- package/dist/components/Modal/Modal.types.d.ts +0 -12
- package/dist/components/Modal/Modal.types.js +0 -1
- package/dist/components/Modal/components/Body/Body.d.ts +0 -3
- package/dist/components/Modal/components/Body/Body.types.d.ts +0 -5
- package/dist/components/Modal/components/Body/Body.types.js +0 -1
- package/dist/components/Modal/components/Footer/Footer.d.ts +0 -3
- package/dist/components/Modal/components/Footer/Footer.types.d.ts +0 -5
- package/dist/components/Modal/components/Footer/Footer.types.js +0 -1
- package/dist/components/Modal/components/Header/Header.d.ts +0 -3
- package/dist/components/Modal/components/Header/Header.types.d.ts +0 -5
- package/dist/components/Modal/components/Header/Header.types.js +0 -1
- package/dist/components/Modal/components/Wrapper/Wrapper.d.ts +0 -3
- package/dist/components/Modal/components/Wrapper/Wrapper.types.d.ts +0 -7
- package/dist/components/Modal/components/Wrapper/Wrapper.types.js +0 -1
- package/dist/components/Modal/components/Wrapper/Wrapper.variants.d.ts +0 -6
- package/dist/components/Modal/components/index.d.ts +0 -4
- package/dist/components/Modal/contexts/Modal.context.d.ts +0 -2
- package/dist/components/Modal/contexts/Modal.provider.d.ts +0 -4
- package/dist/components/Modal/contexts/Modal.types.d.ts +0 -9
- package/dist/components/Modal/contexts/Modal.types.js +0 -1
- package/dist/components/Modal/contexts/index.d.ts +0 -1
- package/dist/components/Modal/hooks/index.d.ts +0 -1
- package/dist/components/Modal/hooks/useModal.d.ts +0 -9
- package/dist/components/NumberInput/NumberInput.d.ts +0 -3
- package/dist/components/NumberInput/NumberInput.types.d.ts +0 -11
- package/dist/components/NumberInput/NumberInput.types.js +0 -1
- package/dist/components/NumberInput/NumberInput.variants.d.ts +0 -11
- package/dist/components/ProgressBar/ProgressBar.d.ts +0 -3
- package/dist/components/ProgressBar/ProgressBar.types.d.ts +0 -8
- package/dist/components/ProgressBar/ProgressBar.types.js +0 -1
- package/dist/components/ProgressBar/ProgressBar.variants.d.ts +0 -7
- package/dist/components/Radio/Radio.d.ts +0 -3
- package/dist/components/Radio/Radio.types.d.ts +0 -12
- package/dist/components/Radio/Radio.types.js +0 -1
- package/dist/components/Radio/Radio.variants.d.ts +0 -3
- package/dist/components/RadioGroup/RadioGroup.d.ts +0 -3
- package/dist/components/RadioGroup/RadioGroup.types.d.ts +0 -12
- package/dist/components/RadioGroup/RadioGroup.types.js +0 -1
- package/dist/components/Range/Range.d.ts +0 -3
- package/dist/components/Range/Range.types.d.ts +0 -13
- package/dist/components/Range/Range.types.js +0 -1
- package/dist/components/Range/Range.variants.d.ts +0 -14
- package/dist/components/Sidebar/Sidebar.d.ts +0 -5
- package/dist/components/Sidebar/Sidebar.types.d.ts +0 -18
- package/dist/components/Sidebar/Sidebar.types.js +0 -1
- package/dist/components/Sidebar/Sidebar.variants.d.ts +0 -6
- package/dist/components/Sidebar/components/Footer/Footer.d.ts +0 -3
- package/dist/components/Sidebar/components/Footer/Footer.types.d.ts +0 -6
- package/dist/components/Sidebar/components/Footer/Footer.types.js +0 -1
- package/dist/components/Sidebar/components/Footer/Footer.variants.d.ts +0 -3
- package/dist/components/Sidebar/components/Logo/Logo.d.ts +0 -3
- package/dist/components/Sidebar/components/Logo/Logo.types.d.ts +0 -6
- package/dist/components/Sidebar/components/Logo/Logo.types.js +0 -1
- package/dist/components/Sidebar/components/Logo/Logo.variants.d.ts +0 -3
- package/dist/components/Sidebar/components/Navigation/Navigation.d.ts +0 -4
- package/dist/components/Sidebar/components/Navigation/Navigation.types.d.ts +0 -16
- package/dist/components/Sidebar/components/Navigation/Navigation.types.js +0 -1
- package/dist/components/Sidebar/components/Navigation/Navigation.variants.d.ts +0 -3
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.d.ts +0 -3
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.types.d.ts +0 -7
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.types.js +0 -1
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.d.ts +0 -3
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.d.ts +0 -3
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.types.d.ts +0 -17
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.types.js +0 -1
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.d.ts +0 -4
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.d.ts +0 -3
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.types.d.ts +0 -5
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.types.js +0 -1
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.d.ts +0 -3
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.d.ts +0 -3
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.types.d.ts +0 -8
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.types.js +0 -1
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.variants.d.ts +0 -3
- package/dist/components/Sidebar/components/Wrapper/Wrapper.d.ts +0 -3
- package/dist/components/Sidebar/components/index.d.ts +0 -15
- package/dist/components/Slider/Slider.d.ts +0 -3
- package/dist/components/Slider/Slider.types.d.ts +0 -13
- package/dist/components/Slider/Slider.types.js +0 -1
- package/dist/components/Slider/Slider.variants.d.ts +0 -11
- package/dist/components/Switch/Switch.d.ts +0 -3
- package/dist/components/Switch/Switch.types.d.ts +0 -10
- package/dist/components/Switch/Switch.types.js +0 -1
- package/dist/components/Switch/Switch.variants.d.ts +0 -6
- package/dist/components/Tag/Tag.d.ts +0 -3
- package/dist/components/Tag/Tag.types.d.ts +0 -4
- package/dist/components/Tag/Tag.types.js +0 -1
- package/dist/components/Tag/Tag.variants.d.ts +0 -3
- package/dist/components/TagSelect/TagSelect.d.ts +0 -3
- package/dist/components/TagSelect/TagSelect.types.d.ts +0 -9
- package/dist/components/TagSelect/TagSelect.types.js +0 -1
- package/dist/components/TagSelect/TagSelect.variants.d.ts +0 -9
- package/dist/components/TagSelect/hooks/useTagSelect.d.ts +0 -9
- package/dist/components/TextArea/TextArea.d.ts +0 -3
- package/dist/components/TextArea/TextArea.types.d.ts +0 -10
- package/dist/components/TextArea/TextArea.types.js +0 -1
- package/dist/components/TextArea/TextArea.variants.d.ts +0 -3
- package/dist/components/Toast/Toast.d.ts +0 -3
- package/dist/components/Toast/Toast.types.d.ts +0 -12
- package/dist/components/Toast/Toast.types.js +0 -1
- package/dist/components/Toast/Toast.variants.d.ts +0 -9
- package/dist/components/Tooltip/Tooltip.d.ts +0 -3
- package/dist/components/Tooltip/Tooltip.types.d.ts +0 -8
- package/dist/components/Tooltip/Tooltip.types.js +0 -1
- package/dist/components/Tooltip/Tooltip.variants.d.ts +0 -8
- package/dist/components/Tooltip/hooks/useTooltip.d.ts +0 -4
- package/dist/components/index.d.ts +0 -21
- package/dist/contexts/index.d.ts +0 -3
- package/dist/contexts/theme.context.d.ts +0 -6
- package/dist/contexts/theme.hook.d.ts +0 -7
- package/dist/contexts/theme.provider.d.ts +0 -6
- package/dist/hooks/index.d.ts +0 -1
- package/dist/hooks/useToggle.d.ts +0 -1
- package/dist/index-BBjak_0p.js +0 -47
- package/dist/index-BaNV0qac.js +0 -19164
- package/dist/index-DoOsnuB6.js +0 -72
- package/dist/js.cookie-OLEfuq_g.js +0 -74
- package/dist/plugins/index.d.ts +0 -1
- package/dist/plugins/index.js +0 -4
- package/dist/plugins/konstruct.d.ts +0 -4
- package/dist/plugins/konstruct.js +0 -115
- package/dist/plugins/utils/colors.d.ts +0 -328
- package/dist/plugins/utils/colors.js +0 -331
- package/dist/useBreadcrumb-DxYsZvj_.js +0 -1398
- package/dist/utils/index.d.ts +0 -4
- /package/dist/{styles.d.ts → domain/theme.js} +0 -0
|
@@ -1,81 +1,75 @@
|
|
|
1
1
|
import { c as t } from "../../../../index-BNmRGtA6.js";
|
|
2
|
-
const
|
|
2
|
+
const e = t(["max-h-[250px]", "overflow-y-auto"], {
|
|
3
3
|
variants: {
|
|
4
4
|
variant: {
|
|
5
5
|
default: "bg-white"
|
|
6
|
-
},
|
|
7
|
-
theme: {
|
|
8
|
-
kubefirst: "",
|
|
9
|
-
colony: "",
|
|
10
|
-
civo: ""
|
|
11
6
|
}
|
|
12
7
|
},
|
|
13
8
|
defaultVariants: {
|
|
14
|
-
variant: "default"
|
|
15
|
-
theme: "kubefirst"
|
|
9
|
+
variant: "default"
|
|
16
10
|
}
|
|
17
11
|
}), r = t(
|
|
18
|
-
["p-1", "text-center", "w-full block", "bg-white"],
|
|
12
|
+
["p-1", "text-center", "w-full", "block", "bg-white"],
|
|
19
13
|
{
|
|
20
14
|
variants: {
|
|
21
15
|
variant: {
|
|
22
16
|
default: ""
|
|
23
|
-
},
|
|
24
|
-
theme: {
|
|
25
|
-
kubefirst: "",
|
|
26
|
-
colony: "",
|
|
27
|
-
civo: ""
|
|
28
17
|
}
|
|
29
18
|
},
|
|
30
19
|
defaultVariants: {
|
|
31
|
-
variant: "default"
|
|
32
|
-
theme: "kubefirst"
|
|
20
|
+
variant: "default"
|
|
33
21
|
}
|
|
34
22
|
}
|
|
35
|
-
),
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
23
|
+
), o = t(
|
|
24
|
+
[
|
|
25
|
+
"focus-visible:outline-none",
|
|
26
|
+
"focus:bg-purple-100",
|
|
27
|
+
"hover:bg-purple-100",
|
|
28
|
+
"border-transparent",
|
|
29
|
+
"colony:focus:bg-red-100",
|
|
30
|
+
"colony:hover:bg-red-100",
|
|
31
|
+
"civo:focus:bg-blue-100",
|
|
32
|
+
"civo:hover:bg-blue-100"
|
|
33
|
+
],
|
|
34
|
+
{
|
|
35
|
+
variants: {
|
|
36
|
+
variant: {
|
|
37
|
+
default: ""
|
|
38
|
+
}
|
|
39
39
|
},
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
colony: ["focus:bg-red-100", "hover:bg-red-100"],
|
|
43
|
-
civo: ""
|
|
40
|
+
defaultVariants: {
|
|
41
|
+
variant: "default"
|
|
44
42
|
}
|
|
45
|
-
},
|
|
46
|
-
defaultVariants: {
|
|
47
|
-
variant: "default",
|
|
48
|
-
theme: "kubefirst"
|
|
49
43
|
}
|
|
50
|
-
|
|
44
|
+
), n = t(
|
|
51
45
|
[
|
|
52
46
|
"cursor-pointer",
|
|
53
47
|
"focus-visible:outline-none",
|
|
54
48
|
"px-3",
|
|
55
49
|
"py-1.5",
|
|
56
50
|
"w-full",
|
|
57
|
-
"text-left"
|
|
51
|
+
"text-left",
|
|
52
|
+
"focus:bg-purple-100",
|
|
53
|
+
"hover:bg-purple-100",
|
|
54
|
+
"colony:focus:bg-red-100",
|
|
55
|
+
"colony:hover:bg-red-100",
|
|
56
|
+
"civo:focus:bg-blue-100",
|
|
57
|
+
"civo:hover:bg-blue-100"
|
|
58
58
|
],
|
|
59
59
|
{
|
|
60
60
|
variants: {
|
|
61
61
|
variant: {
|
|
62
62
|
default: ""
|
|
63
|
-
},
|
|
64
|
-
theme: {
|
|
65
|
-
kubefirst: ["focus:bg-purple-100", "hover:bg-purple-100"],
|
|
66
|
-
colony: ["focus:bg-red-100", "hover:bg-red-100"],
|
|
67
|
-
civo: ""
|
|
68
63
|
}
|
|
69
64
|
},
|
|
70
65
|
defaultVariants: {
|
|
71
|
-
variant: "default"
|
|
72
|
-
theme: "kubefirst"
|
|
66
|
+
variant: "default"
|
|
73
67
|
}
|
|
74
68
|
}
|
|
75
69
|
);
|
|
76
70
|
export {
|
|
77
|
-
|
|
71
|
+
n as buttonVariants,
|
|
78
72
|
r as emptyListVariants,
|
|
79
|
-
|
|
80
|
-
|
|
73
|
+
o as listItemVariants,
|
|
74
|
+
e as listVariants
|
|
81
75
|
};
|
|
@@ -1,110 +1,100 @@
|
|
|
1
|
-
import { jsx as a, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import "../../
|
|
4
|
-
import {
|
|
5
|
-
import "
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import { P as c } from "../../index-D68N8v8R.js";
|
|
10
|
-
function f() {
|
|
11
|
-
return f = Object.assign || function(e) {
|
|
1
|
+
import { jsx as a, jsxs as v } from "react/jsx-runtime";
|
|
2
|
+
import h, { forwardRef as b, useId as y, Fragment as O } from "react";
|
|
3
|
+
import { cn as c } from "../../utils/index.js";
|
|
4
|
+
import { chevronVariants as j, breadcrumbVariants as w, breadcrumbWrapperVariants as P } from "./Breadcrumb.variants.js";
|
|
5
|
+
import { Item as x } from "./components/Item/Item.js";
|
|
6
|
+
import { P as l } from "../../index-C5psggHV.js";
|
|
7
|
+
function m() {
|
|
8
|
+
return m = Object.assign || function(r) {
|
|
12
9
|
for (var n = 1; n < arguments.length; n++) {
|
|
13
|
-
var
|
|
14
|
-
for (var
|
|
15
|
-
Object.prototype.hasOwnProperty.call(
|
|
10
|
+
var e = arguments[n];
|
|
11
|
+
for (var t in e)
|
|
12
|
+
Object.prototype.hasOwnProperty.call(e, t) && (r[t] = e[t]);
|
|
16
13
|
}
|
|
17
|
-
return
|
|
18
|
-
},
|
|
14
|
+
return r;
|
|
15
|
+
}, m.apply(this, arguments);
|
|
19
16
|
}
|
|
20
|
-
function
|
|
21
|
-
if (
|
|
22
|
-
var
|
|
17
|
+
function k(r, n) {
|
|
18
|
+
if (r == null) return {};
|
|
19
|
+
var e = N(r, n), t, o;
|
|
23
20
|
if (Object.getOwnPropertySymbols) {
|
|
24
|
-
var i = Object.getOwnPropertySymbols(
|
|
21
|
+
var i = Object.getOwnPropertySymbols(r);
|
|
25
22
|
for (o = 0; o < i.length; o++)
|
|
26
|
-
|
|
23
|
+
t = i[o], !(n.indexOf(t) >= 0) && Object.prototype.propertyIsEnumerable.call(r, t) && (e[t] = r[t]);
|
|
27
24
|
}
|
|
28
|
-
return
|
|
25
|
+
return e;
|
|
29
26
|
}
|
|
30
|
-
function
|
|
31
|
-
if (
|
|
32
|
-
var
|
|
33
|
-
for (i = 0; i <
|
|
34
|
-
o =
|
|
35
|
-
return
|
|
27
|
+
function N(r, n) {
|
|
28
|
+
if (r == null) return {};
|
|
29
|
+
var e = {}, t = Object.keys(r), o, i;
|
|
30
|
+
for (i = 0; i < t.length; i++)
|
|
31
|
+
o = t[i], !(n.indexOf(o) >= 0) && (e[o] = r[o]);
|
|
32
|
+
return e;
|
|
36
33
|
}
|
|
37
|
-
var p =
|
|
38
|
-
var
|
|
39
|
-
return /* @__PURE__ */
|
|
34
|
+
var p = b(function(r, n) {
|
|
35
|
+
var e = r.color, t = e === void 0 ? "currentColor" : e, o = r.size, i = o === void 0 ? 24 : o, s = k(r, ["color", "size"]);
|
|
36
|
+
return /* @__PURE__ */ h.createElement("svg", m({
|
|
40
37
|
ref: n,
|
|
41
38
|
xmlns: "http://www.w3.org/2000/svg",
|
|
42
39
|
width: i,
|
|
43
40
|
height: i,
|
|
44
41
|
viewBox: "0 0 24 24",
|
|
45
42
|
fill: "none",
|
|
46
|
-
stroke:
|
|
43
|
+
stroke: t,
|
|
47
44
|
strokeWidth: "2",
|
|
48
45
|
strokeLinecap: "round",
|
|
49
46
|
strokeLinejoin: "round"
|
|
50
|
-
}, s), /* @__PURE__ */
|
|
47
|
+
}, s), /* @__PURE__ */ h.createElement("polyline", {
|
|
51
48
|
points: "9 18 15 12 9 6"
|
|
52
49
|
}));
|
|
53
50
|
});
|
|
54
51
|
p.propTypes = {
|
|
55
|
-
color:
|
|
56
|
-
size:
|
|
52
|
+
color: l.string,
|
|
53
|
+
size: l.oneOfType([l.string, l.number])
|
|
57
54
|
};
|
|
58
55
|
p.displayName = "ChevronRight";
|
|
59
|
-
const
|
|
60
|
-
className:
|
|
56
|
+
const C = ({
|
|
57
|
+
className: r,
|
|
61
58
|
size: n,
|
|
62
|
-
steps:
|
|
63
|
-
theme:
|
|
59
|
+
steps: e,
|
|
60
|
+
theme: t,
|
|
61
|
+
"aria-label": o = "breadcrumb",
|
|
62
|
+
wrapperClassName: i,
|
|
63
|
+
...s
|
|
64
64
|
}) => {
|
|
65
|
-
const
|
|
66
|
-
return /* @__PURE__ */ a(
|
|
67
|
-
"
|
|
65
|
+
const d = y();
|
|
66
|
+
return /* @__PURE__ */ a(
|
|
67
|
+
"nav",
|
|
68
68
|
{
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
"aria-label": o,
|
|
70
|
+
"data-theme": t,
|
|
71
|
+
className: c(
|
|
72
|
+
P({
|
|
73
|
+
className: i
|
|
74
|
+
})
|
|
71
75
|
),
|
|
72
|
-
children:
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
{
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
N,
|
|
81
|
-
{
|
|
82
|
-
to: l,
|
|
83
|
-
target: u,
|
|
84
|
-
className: "hover:underline hover:underline-offset-2",
|
|
85
|
-
children: m
|
|
86
|
-
}
|
|
87
|
-
) : /* @__PURE__ */ a(
|
|
88
|
-
"a",
|
|
76
|
+
children: /* @__PURE__ */ a(
|
|
77
|
+
"ol",
|
|
78
|
+
{
|
|
79
|
+
className: c(w({ className: r, size: n })),
|
|
80
|
+
...s,
|
|
81
|
+
children: e.map(({ label: f, ...g }, u) => /* @__PURE__ */ v(O, { children: [
|
|
82
|
+
/* @__PURE__ */ a(
|
|
83
|
+
x,
|
|
89
84
|
{
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
85
|
+
...g,
|
|
86
|
+
label: f,
|
|
87
|
+
isLast: u === e.length - 1,
|
|
88
|
+
size: n
|
|
94
89
|
}
|
|
95
|
-
)
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
{
|
|
101
|
-
className: h(P({ size: n, theme: s }))
|
|
102
|
-
}
|
|
103
|
-
) })
|
|
104
|
-
] }, m))
|
|
90
|
+
),
|
|
91
|
+
u !== e.length - 1 && /* @__PURE__ */ a("li", { "aria-hidden": "true", children: /* @__PURE__ */ a(p, { className: c(j({ size: n })) }) })
|
|
92
|
+
] }, `${d}-${f}`))
|
|
93
|
+
}
|
|
94
|
+
)
|
|
105
95
|
}
|
|
106
|
-
)
|
|
96
|
+
);
|
|
107
97
|
};
|
|
108
98
|
export {
|
|
109
|
-
|
|
99
|
+
C as Breadcrumb
|
|
110
100
|
};
|
|
@@ -1,11 +1,18 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
const
|
|
1
|
+
import { c as a } from "../../index-BNmRGtA6.js";
|
|
2
|
+
const e = a(
|
|
3
|
+
["text-slate-500", "cursor-pointer"],
|
|
4
|
+
{
|
|
5
|
+
variants: {
|
|
6
|
+
size: {
|
|
7
|
+
sm: "",
|
|
8
|
+
base: "",
|
|
9
|
+
lg: "",
|
|
10
|
+
xl: ""
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
), t = a(["flex", "gap-1", "items-center"], {
|
|
3
15
|
variants: {
|
|
4
|
-
theme: {
|
|
5
|
-
kubefirst: "",
|
|
6
|
-
colony: "",
|
|
7
|
-
civo: ""
|
|
8
|
-
},
|
|
9
16
|
size: {
|
|
10
17
|
sm: "",
|
|
11
18
|
base: "",
|
|
@@ -14,48 +21,23 @@ const s = e(["flex", "gap-1.5", "items-center"], {
|
|
|
14
21
|
}
|
|
15
22
|
},
|
|
16
23
|
defaultVariants: {
|
|
17
|
-
theme: "kubefirst",
|
|
18
|
-
size: "base"
|
|
19
|
-
}
|
|
20
|
-
}), a = e(["text-slate-400", "font-semibold"], {
|
|
21
|
-
variants: {
|
|
22
|
-
theme: {
|
|
23
|
-
kubefirst: "",
|
|
24
|
-
colony: "",
|
|
25
|
-
civo: ""
|
|
26
|
-
},
|
|
27
|
-
size: {
|
|
28
|
-
sm: "text-sm",
|
|
29
|
-
base: "text-base",
|
|
30
|
-
lg: "text-lg",
|
|
31
|
-
xl: "text-xl"
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
defaultVariants: {
|
|
35
|
-
theme: "kubefirst",
|
|
36
24
|
size: "base"
|
|
37
25
|
}
|
|
38
|
-
}),
|
|
26
|
+
}), r = a("text-[#abadc6]", {
|
|
39
27
|
variants: {
|
|
40
|
-
theme: {
|
|
41
|
-
kubefirst: "text-kubefirst-primary",
|
|
42
|
-
colony: "text-red-500",
|
|
43
|
-
civo: ""
|
|
44
|
-
},
|
|
45
28
|
size: {
|
|
46
|
-
sm: ["w-
|
|
47
|
-
base: ["w-
|
|
48
|
-
lg: ["w-
|
|
49
|
-
xl: ["w-
|
|
29
|
+
sm: ["w-3", "h-3"],
|
|
30
|
+
base: ["w-4", "h-4"],
|
|
31
|
+
lg: ["w-5", "h-5"],
|
|
32
|
+
xl: ["w-6", "h-6"]
|
|
50
33
|
}
|
|
51
34
|
},
|
|
52
35
|
defaultVariants: {
|
|
53
|
-
theme: "kubefirst",
|
|
54
36
|
size: "base"
|
|
55
37
|
}
|
|
56
38
|
});
|
|
57
39
|
export {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
40
|
+
t as breadcrumbVariants,
|
|
41
|
+
e as breadcrumbWrapperVariants,
|
|
42
|
+
r as chevronVariants
|
|
61
43
|
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { jsx as a, Fragment as f } from "react/jsx-runtime";
|
|
2
|
+
import { cn as n } from "../../../../utils/index.js";
|
|
3
|
+
import { u as b, L as h } from "../../../../useBreadcrumb-BsIeMoR1.js";
|
|
4
|
+
import { breadcrumbLinkVariants as c, breadcrumbLabelVariants as p, breadcrumbItemVariants as k } from "./Item.variants.js";
|
|
5
|
+
const V = ({
|
|
6
|
+
isActive: r,
|
|
7
|
+
isLast: d,
|
|
8
|
+
label: s,
|
|
9
|
+
size: l,
|
|
10
|
+
target: m,
|
|
11
|
+
theme: t,
|
|
12
|
+
to: e
|
|
13
|
+
}) => {
|
|
14
|
+
const { isInsideRouter: o } = b(), i = (u) => {
|
|
15
|
+
e === "#" && u.preventDefault();
|
|
16
|
+
};
|
|
17
|
+
return /* @__PURE__ */ a(
|
|
18
|
+
"li",
|
|
19
|
+
{
|
|
20
|
+
"aria-current": d ? "page" : void 0,
|
|
21
|
+
className: n(k({ size: l })),
|
|
22
|
+
"data-theme": t,
|
|
23
|
+
children: e ? /* @__PURE__ */ a(f, { children: o ? /* @__PURE__ */ a(
|
|
24
|
+
h,
|
|
25
|
+
{
|
|
26
|
+
to: e,
|
|
27
|
+
target: m,
|
|
28
|
+
className: n(c({ isActive: r })),
|
|
29
|
+
"aria-disabled": r ? "true" : "false",
|
|
30
|
+
onClick: i,
|
|
31
|
+
children: s
|
|
32
|
+
}
|
|
33
|
+
) : /* @__PURE__ */ a(
|
|
34
|
+
"a",
|
|
35
|
+
{
|
|
36
|
+
href: e,
|
|
37
|
+
target: m,
|
|
38
|
+
className: n(c({ isActive: r })),
|
|
39
|
+
"aria-disabled": r ? "true" : "false",
|
|
40
|
+
onClick: i,
|
|
41
|
+
children: s
|
|
42
|
+
}
|
|
43
|
+
) }) : /* @__PURE__ */ a("span", { className: n(p({ isActive: r })), children: s })
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
V as Item
|
|
49
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { c as t } from "../../../../index-BNmRGtA6.js";
|
|
2
|
+
const i = t(
|
|
3
|
+
["group", "font-semibold", "text-inherit"],
|
|
4
|
+
{
|
|
5
|
+
variants: {
|
|
6
|
+
size: {
|
|
7
|
+
sm: "text-xs",
|
|
8
|
+
base: "text-sm",
|
|
9
|
+
lg: "text-base",
|
|
10
|
+
xl: "text-lg"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
defaultVariants: {
|
|
14
|
+
size: "base"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
), o = t(["text-inherit"], {
|
|
18
|
+
variants: {
|
|
19
|
+
isActive: {
|
|
20
|
+
true: "",
|
|
21
|
+
false: ["text-slate-400", "cursor-auto"]
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
defaultVariants: {
|
|
25
|
+
isActive: !0
|
|
26
|
+
},
|
|
27
|
+
compoundVariants: [
|
|
28
|
+
{
|
|
29
|
+
isActive: !0,
|
|
30
|
+
class: [
|
|
31
|
+
"group-focus-within:no-underline",
|
|
32
|
+
"group-focus-within:outline",
|
|
33
|
+
"group-focus-within:outline-2",
|
|
34
|
+
"group-focus-within:outline-offset-4",
|
|
35
|
+
"group-focus-within:outline-slate-500",
|
|
36
|
+
"group-focus-within:rounded-sm",
|
|
37
|
+
"group-hover:rounded-sm",
|
|
38
|
+
"hover:no-underline",
|
|
39
|
+
"hover:text-slate-500"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
isActive: void 0,
|
|
44
|
+
class: [
|
|
45
|
+
"group-focus-within:no-underline",
|
|
46
|
+
"group-focus-within:outline",
|
|
47
|
+
"group-focus-within:outline-2",
|
|
48
|
+
"group-focus-within:outline-offset-4",
|
|
49
|
+
"group-focus-within:outline-slate-500",
|
|
50
|
+
"group-focus-within:rounded-sm",
|
|
51
|
+
"group-hover:rounded-sm",
|
|
52
|
+
"hover:no-underline",
|
|
53
|
+
"hover:text-slate-500"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
}), s = t(["text-inherit"], {
|
|
58
|
+
variants: {
|
|
59
|
+
isActive: {
|
|
60
|
+
true: "",
|
|
61
|
+
false: ["text-slate-400"]
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
defaultVariants: {
|
|
65
|
+
isActive: !0
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
export {
|
|
69
|
+
i as breadcrumbItemVariants,
|
|
70
|
+
s as breadcrumbLabelVariants,
|
|
71
|
+
o as breadcrumbLinkVariants
|
|
72
|
+
};
|
|
@@ -1,44 +1,38 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { S as u } from "../../index-
|
|
4
|
-
import { cn as
|
|
5
|
-
import "
|
|
6
|
-
|
|
7
|
-
import "../../js.cookie-OLEfuq_g.js";
|
|
8
|
-
import { buttonVariants as T } from "./Button.variants.js";
|
|
9
|
-
const B = c(
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as i } from "react";
|
|
3
|
+
import { S as u } from "../../index-Bk324h27.js";
|
|
4
|
+
import { cn as c } from "../../utils/index.js";
|
|
5
|
+
import { buttonVariants as l } from "./Button.variants.js";
|
|
6
|
+
const x = i(
|
|
10
7
|
({
|
|
11
|
-
className:
|
|
12
|
-
variant:
|
|
13
|
-
theme:
|
|
14
|
-
size:
|
|
15
|
-
version:
|
|
16
|
-
disabled:
|
|
17
|
-
asChild:
|
|
18
|
-
...
|
|
19
|
-
},
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
);
|
|
39
|
-
}
|
|
8
|
+
className: t,
|
|
9
|
+
variant: r,
|
|
10
|
+
theme: m,
|
|
11
|
+
size: a,
|
|
12
|
+
version: f,
|
|
13
|
+
disabled: o = !1,
|
|
14
|
+
asChild: n = !1,
|
|
15
|
+
...p
|
|
16
|
+
}, s) => /* @__PURE__ */ e(
|
|
17
|
+
n ? u : "button",
|
|
18
|
+
{
|
|
19
|
+
ref: s,
|
|
20
|
+
"data-theme": m,
|
|
21
|
+
className: c(
|
|
22
|
+
l({
|
|
23
|
+
variant: r,
|
|
24
|
+
disabled: o,
|
|
25
|
+
size: a,
|
|
26
|
+
className: t,
|
|
27
|
+
version: f
|
|
28
|
+
})
|
|
29
|
+
),
|
|
30
|
+
disabled: o,
|
|
31
|
+
...p
|
|
32
|
+
}
|
|
33
|
+
)
|
|
40
34
|
);
|
|
41
|
-
|
|
35
|
+
x.displayName = "Button";
|
|
42
36
|
export {
|
|
43
|
-
|
|
37
|
+
x as Button
|
|
44
38
|
};
|