@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,24 +1,21 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as O, jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import l, { forwardRef as p, useState as E, useId as k } from "react";
|
|
3
3
|
import { cn as w } from "../../utils/index.js";
|
|
4
|
-
import "
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import { P as l } from "../../index-D68N8v8R.js";
|
|
9
|
-
function p() {
|
|
10
|
-
return p = Object.assign || function(e) {
|
|
4
|
+
import { inputVariants as z } from "./Input.variants.js";
|
|
5
|
+
import { P as a } from "../../index-C5psggHV.js";
|
|
6
|
+
function u() {
|
|
7
|
+
return u = Object.assign || function(e) {
|
|
11
8
|
for (var o = 1; o < arguments.length; o++) {
|
|
12
9
|
var r = arguments[o];
|
|
13
10
|
for (var t in r)
|
|
14
11
|
Object.prototype.hasOwnProperty.call(r, t) && (e[t] = r[t]);
|
|
15
12
|
}
|
|
16
13
|
return e;
|
|
17
|
-
},
|
|
14
|
+
}, u.apply(this, arguments);
|
|
18
15
|
}
|
|
19
|
-
function
|
|
16
|
+
function N(e, o) {
|
|
20
17
|
if (e == null) return {};
|
|
21
|
-
var r =
|
|
18
|
+
var r = $(e, o), t, n;
|
|
22
19
|
if (Object.getOwnPropertySymbols) {
|
|
23
20
|
var i = Object.getOwnPropertySymbols(e);
|
|
24
21
|
for (n = 0; n < i.length; n++)
|
|
@@ -26,16 +23,16 @@ function P(e, o) {
|
|
|
26
23
|
}
|
|
27
24
|
return r;
|
|
28
25
|
}
|
|
29
|
-
function
|
|
26
|
+
function $(e, o) {
|
|
30
27
|
if (e == null) return {};
|
|
31
28
|
var r = {}, t = Object.keys(e), n, i;
|
|
32
29
|
for (i = 0; i < t.length; i++)
|
|
33
30
|
n = t[i], !(o.indexOf(n) >= 0) && (r[n] = e[n]);
|
|
34
31
|
return r;
|
|
35
32
|
}
|
|
36
|
-
var
|
|
37
|
-
var r = e.color, t = r === void 0 ? "currentColor" : r, n = e.size, i = n === void 0 ? 24 : n,
|
|
38
|
-
return /* @__PURE__ */
|
|
33
|
+
var h = p(function(e, o) {
|
|
34
|
+
var r = e.color, t = r === void 0 ? "currentColor" : r, n = e.size, i = n === void 0 ? 24 : n, s = N(e, ["color", "size"]);
|
|
35
|
+
return /* @__PURE__ */ l.createElement("svg", u({
|
|
39
36
|
ref: o,
|
|
40
37
|
xmlns: "http://www.w3.org/2000/svg",
|
|
41
38
|
width: i,
|
|
@@ -46,40 +43,40 @@ var u = m(function(e, o) {
|
|
|
46
43
|
strokeWidth: "2",
|
|
47
44
|
strokeLinecap: "round",
|
|
48
45
|
strokeLinejoin: "round"
|
|
49
|
-
},
|
|
46
|
+
}, s), /* @__PURE__ */ l.createElement("circle", {
|
|
50
47
|
cx: "12",
|
|
51
48
|
cy: "12",
|
|
52
49
|
r: "10"
|
|
53
|
-
}), /* @__PURE__ */
|
|
50
|
+
}), /* @__PURE__ */ l.createElement("line", {
|
|
54
51
|
x1: "12",
|
|
55
52
|
y1: "8",
|
|
56
53
|
x2: "12",
|
|
57
54
|
y2: "12"
|
|
58
|
-
}), /* @__PURE__ */
|
|
55
|
+
}), /* @__PURE__ */ l.createElement("line", {
|
|
59
56
|
x1: "12",
|
|
60
57
|
y1: "16",
|
|
61
58
|
x2: "12.01",
|
|
62
59
|
y2: "16"
|
|
63
60
|
}));
|
|
64
61
|
});
|
|
65
|
-
|
|
66
|
-
color:
|
|
67
|
-
size:
|
|
62
|
+
h.propTypes = {
|
|
63
|
+
color: a.string,
|
|
64
|
+
size: a.oneOfType([a.string, a.number])
|
|
68
65
|
};
|
|
69
|
-
|
|
70
|
-
function
|
|
71
|
-
return
|
|
66
|
+
h.displayName = "AlertCircle";
|
|
67
|
+
function m() {
|
|
68
|
+
return m = Object.assign || function(e) {
|
|
72
69
|
for (var o = 1; o < arguments.length; o++) {
|
|
73
70
|
var r = arguments[o];
|
|
74
71
|
for (var t in r)
|
|
75
72
|
Object.prototype.hasOwnProperty.call(r, t) && (e[t] = r[t]);
|
|
76
73
|
}
|
|
77
74
|
return e;
|
|
78
|
-
},
|
|
75
|
+
}, m.apply(this, arguments);
|
|
79
76
|
}
|
|
80
|
-
function
|
|
77
|
+
function _(e, o) {
|
|
81
78
|
if (e == null) return {};
|
|
82
|
-
var r =
|
|
79
|
+
var r = L(e, o), t, n;
|
|
83
80
|
if (Object.getOwnPropertySymbols) {
|
|
84
81
|
var i = Object.getOwnPropertySymbols(e);
|
|
85
82
|
for (n = 0; n < i.length; n++)
|
|
@@ -87,16 +84,16 @@ function E(e, o) {
|
|
|
87
84
|
}
|
|
88
85
|
return r;
|
|
89
86
|
}
|
|
90
|
-
function
|
|
87
|
+
function L(e, o) {
|
|
91
88
|
if (e == null) return {};
|
|
92
89
|
var r = {}, t = Object.keys(e), n, i;
|
|
93
90
|
for (i = 0; i < t.length; i++)
|
|
94
91
|
n = t[i], !(o.indexOf(n) >= 0) && (r[n] = e[n]);
|
|
95
92
|
return r;
|
|
96
93
|
}
|
|
97
|
-
var
|
|
98
|
-
var r = e.color, t = r === void 0 ? "currentColor" : r, n = e.size, i = n === void 0 ? 24 : n,
|
|
99
|
-
return /* @__PURE__ */
|
|
94
|
+
var v = p(function(e, o) {
|
|
95
|
+
var r = e.color, t = r === void 0 ? "currentColor" : r, n = e.size, i = n === void 0 ? 24 : n, s = _(e, ["color", "size"]);
|
|
96
|
+
return /* @__PURE__ */ l.createElement("svg", m({
|
|
100
97
|
ref: o,
|
|
101
98
|
xmlns: "http://www.w3.org/2000/svg",
|
|
102
99
|
width: i,
|
|
@@ -107,21 +104,74 @@ var h = m(function(e, o) {
|
|
|
107
104
|
strokeWidth: "2",
|
|
108
105
|
strokeLinecap: "round",
|
|
109
106
|
strokeLinejoin: "round"
|
|
110
|
-
},
|
|
107
|
+
}, s), /* @__PURE__ */ l.createElement("path", {
|
|
111
108
|
d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"
|
|
112
|
-
}), /* @__PURE__ */
|
|
109
|
+
}), /* @__PURE__ */ l.createElement("line", {
|
|
113
110
|
x1: "1",
|
|
114
111
|
y1: "1",
|
|
115
112
|
x2: "23",
|
|
116
113
|
y2: "23"
|
|
117
114
|
}));
|
|
118
115
|
});
|
|
119
|
-
|
|
120
|
-
color:
|
|
121
|
-
size:
|
|
116
|
+
v.propTypes = {
|
|
117
|
+
color: a.string,
|
|
118
|
+
size: a.oneOfType([a.string, a.number])
|
|
119
|
+
};
|
|
120
|
+
v.displayName = "EyeOff";
|
|
121
|
+
function y() {
|
|
122
|
+
return y = Object.assign || function(e) {
|
|
123
|
+
for (var o = 1; o < arguments.length; o++) {
|
|
124
|
+
var r = arguments[o];
|
|
125
|
+
for (var t in r)
|
|
126
|
+
Object.prototype.hasOwnProperty.call(r, t) && (e[t] = r[t]);
|
|
127
|
+
}
|
|
128
|
+
return e;
|
|
129
|
+
}, y.apply(this, arguments);
|
|
130
|
+
}
|
|
131
|
+
function W(e, o) {
|
|
132
|
+
if (e == null) return {};
|
|
133
|
+
var r = I(e, o), t, n;
|
|
134
|
+
if (Object.getOwnPropertySymbols) {
|
|
135
|
+
var i = Object.getOwnPropertySymbols(e);
|
|
136
|
+
for (n = 0; n < i.length; n++)
|
|
137
|
+
t = i[n], !(o.indexOf(t) >= 0) && Object.prototype.propertyIsEnumerable.call(e, t) && (r[t] = e[t]);
|
|
138
|
+
}
|
|
139
|
+
return r;
|
|
140
|
+
}
|
|
141
|
+
function I(e, o) {
|
|
142
|
+
if (e == null) return {};
|
|
143
|
+
var r = {}, t = Object.keys(e), n, i;
|
|
144
|
+
for (i = 0; i < t.length; i++)
|
|
145
|
+
n = t[i], !(o.indexOf(n) >= 0) && (r[n] = e[n]);
|
|
146
|
+
return r;
|
|
147
|
+
}
|
|
148
|
+
var g = p(function(e, o) {
|
|
149
|
+
var r = e.color, t = r === void 0 ? "currentColor" : r, n = e.size, i = n === void 0 ? 24 : n, s = W(e, ["color", "size"]);
|
|
150
|
+
return /* @__PURE__ */ l.createElement("svg", y({
|
|
151
|
+
ref: o,
|
|
152
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
153
|
+
width: i,
|
|
154
|
+
height: i,
|
|
155
|
+
viewBox: "0 0 24 24",
|
|
156
|
+
fill: "none",
|
|
157
|
+
stroke: t,
|
|
158
|
+
strokeWidth: "2",
|
|
159
|
+
strokeLinecap: "round",
|
|
160
|
+
strokeLinejoin: "round"
|
|
161
|
+
}, s), /* @__PURE__ */ l.createElement("path", {
|
|
162
|
+
d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"
|
|
163
|
+
}), /* @__PURE__ */ l.createElement("circle", {
|
|
164
|
+
cx: "12",
|
|
165
|
+
cy: "12",
|
|
166
|
+
r: "3"
|
|
167
|
+
}));
|
|
168
|
+
});
|
|
169
|
+
g.propTypes = {
|
|
170
|
+
color: a.string,
|
|
171
|
+
size: a.oneOfType([a.string, a.number])
|
|
122
172
|
};
|
|
123
|
-
|
|
124
|
-
const
|
|
173
|
+
g.displayName = "Eye";
|
|
174
|
+
const T = p(
|
|
125
175
|
({
|
|
126
176
|
className: e,
|
|
127
177
|
error: o,
|
|
@@ -129,50 +179,43 @@ const _ = m(
|
|
|
129
179
|
labelClassName: t,
|
|
130
180
|
name: n,
|
|
131
181
|
type: i,
|
|
132
|
-
theme:
|
|
133
|
-
|
|
134
|
-
...d
|
|
182
|
+
theme: s,
|
|
183
|
+
...b
|
|
135
184
|
}, x) => {
|
|
136
|
-
const
|
|
137
|
-
return /* @__PURE__ */
|
|
138
|
-
r ? /* @__PURE__ */
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
htmlFor: v,
|
|
142
|
-
className: w("pl-1 cursor-pointer", t),
|
|
143
|
-
children: r
|
|
144
|
-
}
|
|
145
|
-
) : null,
|
|
146
|
-
/* @__PURE__ */ y("div", { className: "relative", children: [
|
|
147
|
-
/* @__PURE__ */ a(
|
|
185
|
+
const [f, j] = E(!1), d = k(), P = f ? g : v;
|
|
186
|
+
return /* @__PURE__ */ O("div", { className: "flex flex-col gap-1.5 w-full", "data-theme": s, children: [
|
|
187
|
+
r ? /* @__PURE__ */ c("label", { htmlFor: d, className: w("cursor-pointer", t), children: r }) : null,
|
|
188
|
+
/* @__PURE__ */ O("div", { className: "relative", children: [
|
|
189
|
+
/* @__PURE__ */ c(
|
|
148
190
|
"input",
|
|
149
191
|
{
|
|
150
|
-
id:
|
|
192
|
+
id: d,
|
|
151
193
|
ref: x,
|
|
152
194
|
name: n,
|
|
153
|
-
type: i,
|
|
154
|
-
className:
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
195
|
+
type: f ? "text" : i,
|
|
196
|
+
className: w(
|
|
197
|
+
z({
|
|
198
|
+
className: e,
|
|
199
|
+
variant: o ? "error" : "default"
|
|
200
|
+
})
|
|
201
|
+
),
|
|
202
|
+
...b
|
|
160
203
|
}
|
|
161
204
|
),
|
|
162
|
-
o ? /* @__PURE__ */
|
|
163
|
-
i === "password" ? /* @__PURE__ */
|
|
164
|
-
|
|
205
|
+
o ? /* @__PURE__ */ c("i", { className: "absolute right-3 text-red-600 top-0 translate-y-[40%]", children: /* @__PURE__ */ c(h, { className: "w-5 h-5" }) }) : null,
|
|
206
|
+
i === "password" && !o ? /* @__PURE__ */ c("i", { className: "absolute right-3 text-slate-400 top-0 translate-y-[40%]", children: /* @__PURE__ */ c(
|
|
207
|
+
P,
|
|
165
208
|
{
|
|
166
209
|
className: "w-5 h-5 cursor-pointer",
|
|
167
|
-
onClick:
|
|
210
|
+
onClick: () => j(!f)
|
|
168
211
|
}
|
|
169
212
|
) }) : null
|
|
170
213
|
] }),
|
|
171
|
-
o ? /* @__PURE__ */
|
|
214
|
+
o ? /* @__PURE__ */ c("span", { className: "text-xs text-red-600 -mt-0.5", children: o }) : null
|
|
172
215
|
] });
|
|
173
216
|
}
|
|
174
217
|
);
|
|
175
|
-
|
|
218
|
+
T.displayName = "Input";
|
|
176
219
|
export {
|
|
177
|
-
|
|
220
|
+
T as Input
|
|
178
221
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as r } from "../../index-BNmRGtA6.js";
|
|
2
|
-
const
|
|
2
|
+
const i = r(
|
|
3
3
|
[
|
|
4
|
-
"bg-
|
|
4
|
+
"bg-white",
|
|
5
5
|
"border",
|
|
6
6
|
"border-zinc-200",
|
|
7
7
|
"disabled:cursor-not-allowed",
|
|
@@ -11,33 +11,27 @@ const t = r(
|
|
|
11
11
|
"focus-visible:ring-1",
|
|
12
12
|
"h-9",
|
|
13
13
|
"placeholder:text-muted-foreground",
|
|
14
|
-
"
|
|
14
|
+
"pl-3",
|
|
15
|
+
"pr-10",
|
|
15
16
|
"py-1",
|
|
16
17
|
"rounded-md",
|
|
17
|
-
"shadow-
|
|
18
|
-
"text-base",
|
|
19
|
-
"text-zinc-700",
|
|
18
|
+
"shadow-2xs",
|
|
20
19
|
"transition-colors",
|
|
21
|
-
"w-full"
|
|
20
|
+
"w-full",
|
|
21
|
+
"focus:ring-kubefirst-primary"
|
|
22
22
|
],
|
|
23
23
|
{
|
|
24
24
|
variants: {
|
|
25
25
|
variant: {
|
|
26
26
|
default: "",
|
|
27
|
-
error:
|
|
28
|
-
},
|
|
29
|
-
theme: {
|
|
30
|
-
kubefirst: "focus:ring-kubefirst-primary",
|
|
31
|
-
colony: "",
|
|
32
|
-
civo: ""
|
|
27
|
+
error: "border-red-600 pr-8 focus-visible:ring-transparent"
|
|
33
28
|
}
|
|
34
29
|
},
|
|
35
30
|
defaultVariants: {
|
|
36
|
-
variant: "default"
|
|
37
|
-
theme: "kubefirst"
|
|
31
|
+
variant: "default"
|
|
38
32
|
}
|
|
39
33
|
}
|
|
40
34
|
);
|
|
41
35
|
export {
|
|
42
|
-
|
|
36
|
+
i as inputVariants
|
|
43
37
|
};
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
+
import { cn as w } from "../../utils/index.js";
|
|
3
|
+
import { loadingVariants as f } from "./Loading.variants.js";
|
|
4
|
+
import { forwardRef as i, createElement as n } from "react";
|
|
5
|
+
/**
|
|
6
|
+
* @license lucide-react v0.488.0 - ISC
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the ISC license.
|
|
9
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/
|
|
11
|
+
const h = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), L = (e) => e.replace(
|
|
12
|
+
/^([A-Z])|[\s-_]+(\w)/g,
|
|
13
|
+
(t, o, r) => r ? r.toUpperCase() : o.toLowerCase()
|
|
14
|
+
), c = (e) => {
|
|
15
|
+
const t = L(e);
|
|
16
|
+
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
17
|
+
}, l = (...e) => e.filter((t, o, r) => !!t && t.trim() !== "" && r.indexOf(t) === o).join(" ").trim();
|
|
18
|
+
/**
|
|
19
|
+
* @license lucide-react v0.488.0 - ISC
|
|
20
|
+
*
|
|
21
|
+
* This source code is licensed under the ISC license.
|
|
22
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
23
|
+
*/
|
|
24
|
+
var k = {
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
+
width: 24,
|
|
27
|
+
height: 24,
|
|
28
|
+
viewBox: "0 0 24 24",
|
|
29
|
+
fill: "none",
|
|
30
|
+
stroke: "currentColor",
|
|
31
|
+
strokeWidth: 2,
|
|
32
|
+
strokeLinecap: "round",
|
|
33
|
+
strokeLinejoin: "round"
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* @license lucide-react v0.488.0 - ISC
|
|
37
|
+
*
|
|
38
|
+
* This source code is licensed under the ISC license.
|
|
39
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
40
|
+
*/
|
|
41
|
+
const A = i(
|
|
42
|
+
({
|
|
43
|
+
color: e = "currentColor",
|
|
44
|
+
size: t = 24,
|
|
45
|
+
strokeWidth: o = 2,
|
|
46
|
+
absoluteStrokeWidth: r,
|
|
47
|
+
className: s = "",
|
|
48
|
+
children: a,
|
|
49
|
+
iconNode: m,
|
|
50
|
+
...d
|
|
51
|
+
}, p) => n(
|
|
52
|
+
"svg",
|
|
53
|
+
{
|
|
54
|
+
ref: p,
|
|
55
|
+
...k,
|
|
56
|
+
width: t,
|
|
57
|
+
height: t,
|
|
58
|
+
stroke: e,
|
|
59
|
+
strokeWidth: r ? Number(o) * 24 / Number(t) : o,
|
|
60
|
+
className: l("lucide", s),
|
|
61
|
+
...d
|
|
62
|
+
},
|
|
63
|
+
[
|
|
64
|
+
...m.map(([u, C]) => n(u, C)),
|
|
65
|
+
...Array.isArray(a) ? a : [a]
|
|
66
|
+
]
|
|
67
|
+
)
|
|
68
|
+
);
|
|
69
|
+
/**
|
|
70
|
+
* @license lucide-react v0.488.0 - ISC
|
|
71
|
+
*
|
|
72
|
+
* This source code is licensed under the ISC license.
|
|
73
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
74
|
+
*/
|
|
75
|
+
const b = (e, t) => {
|
|
76
|
+
const o = i(
|
|
77
|
+
({ className: r, ...s }, a) => n(A, {
|
|
78
|
+
ref: a,
|
|
79
|
+
iconNode: t,
|
|
80
|
+
className: l(
|
|
81
|
+
`lucide-${h(c(e))}`,
|
|
82
|
+
`lucide-${e}`,
|
|
83
|
+
r
|
|
84
|
+
),
|
|
85
|
+
...s
|
|
86
|
+
})
|
|
87
|
+
);
|
|
88
|
+
return o.displayName = c(e), o;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* @license lucide-react v0.488.0 - ISC
|
|
92
|
+
*
|
|
93
|
+
* This source code is licensed under the ISC license.
|
|
94
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
95
|
+
*/
|
|
96
|
+
const x = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], y = b("loader-circle", x), v = ({ className: e, theme: t, ...o }) => /* @__PURE__ */ g(
|
|
97
|
+
y,
|
|
98
|
+
{
|
|
99
|
+
"data-theme": t,
|
|
100
|
+
className: w(
|
|
101
|
+
f({
|
|
102
|
+
className: e
|
|
103
|
+
})
|
|
104
|
+
),
|
|
105
|
+
...o
|
|
106
|
+
}
|
|
107
|
+
);
|
|
108
|
+
v.displayName = "Loading";
|
|
109
|
+
export {
|
|
110
|
+
v as Loading
|
|
111
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { c as t } from "../../index-BNmRGtA6.js";
|
|
2
|
+
const r = t([
|
|
3
|
+
"h-8",
|
|
4
|
+
"w-8",
|
|
5
|
+
"animate-spin",
|
|
6
|
+
"text-inherit",
|
|
7
|
+
"text-kubefirst-primary",
|
|
8
|
+
"colony:text-colony-primary",
|
|
9
|
+
"civo:text-civo-primary"
|
|
10
|
+
]);
|
|
11
|
+
export {
|
|
12
|
+
r as loadingVariants
|
|
13
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "
|
|
2
|
+
import "react";
|
|
3
|
+
import "../../index-g-TFwd6Y.js";
|
|
4
|
+
import { M as d } from "../../Modal-i7eolhYH.js";
|
|
5
|
+
import "./components/Header/Header.js";
|
|
3
6
|
import "./components/Body/Body.js";
|
|
4
7
|
import "./components/Footer/Footer.js";
|
|
5
|
-
import "./components/Header/Header.js";
|
|
6
|
-
import { M as d } from "../../Modal-L73dmnHv.js";
|
|
7
|
-
import "./hooks/useModal.js";
|
|
8
8
|
export {
|
|
9
9
|
d as Modal
|
|
10
10
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { S as n } from "../../../../index-
|
|
2
|
+
import { S as n } from "../../../../index-Bk324h27.js";
|
|
3
3
|
import { cn as e } from "../../../../utils/index.js";
|
|
4
4
|
const i = ({ children: o, asChild: t, className: m }) => /* @__PURE__ */ r(t ? n : "div", { className: e("flex-1", m), children: o });
|
|
5
5
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { S as n } from "../../../../index-
|
|
2
|
+
import { S as n } from "../../../../index-Bk324h27.js";
|
|
3
3
|
import { cn as e } from "../../../../utils/index.js";
|
|
4
|
-
const a = ({ children: o, asChild:
|
|
4
|
+
const a = ({ children: o, asChild: r, className: t }) => /* @__PURE__ */ m(r ? n : "div", { className: e("border-zinc-200", t), children: o });
|
|
5
5
|
export {
|
|
6
6
|
a as Footer
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { S as n } from "../../../../index-
|
|
2
|
+
import { S as n } from "../../../../index-Bk324h27.js";
|
|
3
3
|
import { cn as e } from "../../../../utils/index.js";
|
|
4
|
-
const
|
|
4
|
+
const a = ({ children: o, asChild: r, className: t }) => /* @__PURE__ */ m(r ? n : "div", { className: e("border-zinc-200", t), children: o });
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as Header
|
|
7
7
|
};
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../../index-
|
|
2
|
+
import "../../../../index-CWKdynYu.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import { W as
|
|
5
|
-
import "../../../../Combination-
|
|
6
|
-
import "../../../../contexts/theme.context.js";
|
|
7
|
-
import "../../../../contexts/theme.hook.js";
|
|
8
|
-
import "../../../../js.cookie-OLEfuq_g.js";
|
|
4
|
+
import { W as f } from "../../../../Modal-i7eolhYH.js";
|
|
5
|
+
import "../../../../Combination-b348x__d.js";
|
|
9
6
|
import "../../../../utils/index.js";
|
|
10
|
-
import "../../hooks/useModal.js";
|
|
11
7
|
import "./Wrapper.variants.js";
|
|
12
|
-
import "../../../../x-
|
|
8
|
+
import "../../../../x-DU-Zw-L_.js";
|
|
13
9
|
export {
|
|
14
|
-
|
|
10
|
+
f as Wrapper
|
|
15
11
|
};
|
|
@@ -1,48 +1,34 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
)
|
|
31
|
-
["absolute", "right-1.5", "top-1.5", "text-inherit"],
|
|
32
|
-
{
|
|
33
|
-
variants: {
|
|
34
|
-
theme: {
|
|
35
|
-
kubefirst: ["text-kubefirst-primary"],
|
|
36
|
-
colony: ["text-red-400"],
|
|
37
|
-
civo: ""
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
defaultVariants: {
|
|
41
|
-
theme: "kubefirst"
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
);
|
|
1
|
+
import { c as o } from "../../../../index-BNmRGtA6.js";
|
|
2
|
+
const t = o([
|
|
3
|
+
"bg-metal-1000",
|
|
4
|
+
"bg-white",
|
|
5
|
+
"border-none",
|
|
6
|
+
"flex",
|
|
7
|
+
"flex-col",
|
|
8
|
+
"justify-between",
|
|
9
|
+
"min-h-[450px]",
|
|
10
|
+
"min-w-[500px]",
|
|
11
|
+
"overflow-auto",
|
|
12
|
+
"relative",
|
|
13
|
+
"rounded-md",
|
|
14
|
+
"shadow-xs",
|
|
15
|
+
"lg:overflow-hidden",
|
|
16
|
+
"animate-in",
|
|
17
|
+
"fade-in-0",
|
|
18
|
+
"zoom-in-95",
|
|
19
|
+
"duration-150",
|
|
20
|
+
"shadow-kubefirst-primary",
|
|
21
|
+
"colony:shadow-red-400"
|
|
22
|
+
]), r = o([
|
|
23
|
+
"absolute",
|
|
24
|
+
"right-1.5",
|
|
25
|
+
"top-1.5",
|
|
26
|
+
"text-inherit",
|
|
27
|
+
"cursor-pointer",
|
|
28
|
+
"text-kubefirst-primary",
|
|
29
|
+
"colony:text-red-400"
|
|
30
|
+
]);
|
|
45
31
|
export {
|
|
46
|
-
|
|
47
|
-
|
|
32
|
+
r as buttonCloseVariants,
|
|
33
|
+
t as modalVariants
|
|
48
34
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Body as e } from "./Body/Body.js";
|
|
2
2
|
import { Footer as t } from "./Footer/Footer.js";
|
|
3
3
|
import { Header as m } from "./Header/Header.js";
|
|
4
|
-
import { W as a } from "../../../Modal-
|
|
4
|
+
import { W as a } from "../../../Modal-i7eolhYH.js";
|
|
5
5
|
export {
|
|
6
6
|
e as Body,
|
|
7
7
|
t as Footer,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { useState as t, useCallback as n } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { ModalContext as f } from "./Modal.context.js";
|
|
4
|
+
import { useToggle as h } from "../../../hooks/useToggle.js";
|
|
5
5
|
const x = ({ children: s }) => {
|
|
6
|
-
const [r, l] = t(!0), [a, o] =
|
|
6
|
+
const [r, l] = t(!0), [a, o] = h(!1), [u, c] = t(), e = n(() => o(!0), [o]), d = n(() => o(!1), [o]), p = (m, C = !0) => {
|
|
7
7
|
c(m), e(), l(C);
|
|
8
8
|
};
|
|
9
9
|
return /* @__PURE__ */ i(
|
|
10
|
-
|
|
10
|
+
f.Provider,
|
|
11
11
|
{
|
|
12
12
|
value: {
|
|
13
13
|
content: u,
|