@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,18 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
import { buttonAlertDialogVariants } from './AlertDialog.variants';
|
|
4
|
-
export interface AlertDialogProps extends PropsWithChildren, VariantProps<typeof buttonAlertDialogVariants> {
|
|
5
|
-
buttonCancelClassName?: string;
|
|
6
|
-
buttonCancelText?: string;
|
|
7
|
-
buttonConfirmClassName?: string;
|
|
8
|
-
buttonConfirmText?: string;
|
|
9
|
-
buttonText?: string;
|
|
10
|
-
className?: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
o?: string;
|
|
13
|
-
title?: string;
|
|
14
|
-
onConfirm?: () => void;
|
|
15
|
-
}
|
|
16
|
-
export type UseAlertiDialogProps = {
|
|
17
|
-
onConfirm: AlertDialogProps['onConfirm'];
|
|
18
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './AlertDialogTrigger';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useAlertDialog';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
import { autocompleteVariants } from './Autocomplete.variants';
|
|
4
|
-
export type Option = {
|
|
5
|
-
value: string;
|
|
6
|
-
};
|
|
7
|
-
export interface AutocompleteProps extends VariantProps<typeof autocompleteVariants> {
|
|
8
|
-
autoComplete?: 'off';
|
|
9
|
-
className?: string;
|
|
10
|
-
label?: string;
|
|
11
|
-
labelClassName?: string;
|
|
12
|
-
name?: string;
|
|
13
|
-
options: Option[];
|
|
14
|
-
placeHolderEmptyValues?: string | ReactNode;
|
|
15
|
-
placeHolderEmptyValuesClassName?: string;
|
|
16
|
-
placeholder?: string;
|
|
17
|
-
onChange(value: string): void;
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const autocompleteVariants: (props?: ({
|
|
2
|
-
variant?: "default" | null | undefined;
|
|
3
|
-
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
4
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
-
export declare const labelVariants: (props?: ({
|
|
6
|
-
variant?: "default" | null | undefined;
|
|
7
|
-
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
8
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { ComponentRef, ReactNode, RefObject } from 'react';
|
|
3
|
-
import { Option } from '../../Autocomplete.types';
|
|
4
|
-
import { autocompleteVariants } from '../../Autocomplete.variants';
|
|
5
|
-
export interface Props extends VariantProps<typeof autocompleteVariants> {
|
|
6
|
-
className?: string;
|
|
7
|
-
inputRef: RefObject<ComponentRef<'input'> | null>;
|
|
8
|
-
wrapperRef: RefObject<ComponentRef<'div'> | null>;
|
|
9
|
-
options: Option[];
|
|
10
|
-
placeholder: string | ReactNode;
|
|
11
|
-
placeholderClassName?: string;
|
|
12
|
-
onClick(value: string): void;
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare const listVariants: (props?: ({
|
|
2
|
-
variant?: "default" | null | undefined;
|
|
3
|
-
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
4
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
-
export declare const emptyListVariants: (props?: ({
|
|
6
|
-
variant?: "default" | null | undefined;
|
|
7
|
-
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
8
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
-
export declare const listItemVariants: (props?: ({
|
|
10
|
-
variant?: "default" | null | undefined;
|
|
11
|
-
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
12
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
13
|
-
export declare const buttonVariants: (props?: ({
|
|
14
|
-
variant?: "default" | null | undefined;
|
|
15
|
-
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
16
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './List/List';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ChangeEvent, ComponentRef, RefObject } from 'react';
|
|
2
|
-
import { Option } from '../Autocomplete.types';
|
|
3
|
-
type UseAutocompleteProps = {
|
|
4
|
-
options: Option[];
|
|
5
|
-
inputRef: RefObject<ComponentRef<'input'> | null>;
|
|
6
|
-
wrapperRef: RefObject<ComponentRef<'div'> | null>;
|
|
7
|
-
onChange(value: string): void;
|
|
8
|
-
};
|
|
9
|
-
export declare const useAutocomplete: ({ options, inputRef, wrapperRef, onChange, }: UseAutocompleteProps) => {
|
|
10
|
-
inputRef: RefObject<HTMLInputElement | null>;
|
|
11
|
-
newOptions: Option[];
|
|
12
|
-
showOptions: boolean;
|
|
13
|
-
value: string;
|
|
14
|
-
handleChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
15
|
-
handleSelectValue: (value: string) => void;
|
|
16
|
-
};
|
|
17
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ComponentRef, RefObject } from 'react';
|
|
2
|
-
import { Option } from '../Autocomplete.types';
|
|
3
|
-
type UseNavigationListProps = {
|
|
4
|
-
ulRef: RefObject<ComponentRef<'ul'> | null>;
|
|
5
|
-
inputRef: RefObject<ComponentRef<'input'> | null>;
|
|
6
|
-
wrapperRef: RefObject<ComponentRef<'div'> | null>;
|
|
7
|
-
options: Option[];
|
|
8
|
-
};
|
|
9
|
-
export declare const useNavigationUlList: ({ ulRef, inputRef, wrapperRef, options, }: UseNavigationListProps) => void;
|
|
10
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { breadcrumbVariants } from './Breadcrumb.variants';
|
|
3
|
-
export type Step = {
|
|
4
|
-
label: string;
|
|
5
|
-
to?: string;
|
|
6
|
-
target?: '_self' | '_blank';
|
|
7
|
-
};
|
|
8
|
-
export interface BreadcrumbProps extends VariantProps<typeof breadcrumbVariants> {
|
|
9
|
-
steps: Step[];
|
|
10
|
-
className?: string;
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare const breadcrumbVariants: (props?: ({
|
|
2
|
-
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
3
|
-
size?: "base" | "sm" | "lg" | "xl" | null | undefined;
|
|
4
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
-
export declare const breadcrumbItemVariants: (props?: ({
|
|
6
|
-
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
7
|
-
size?: "base" | "sm" | "lg" | "xl" | null | undefined;
|
|
8
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
-
export declare const chevronVariants: (props?: ({
|
|
10
|
-
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
11
|
-
size?: "base" | "sm" | "lg" | "xl" | null | undefined;
|
|
12
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { ButtonHTMLAttributes } from 'react';
|
|
3
|
-
import { buttonVariants } from './Button.variants';
|
|
4
|
-
export interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'disabled'>, VariantProps<typeof buttonVariants> {
|
|
5
|
-
asChild?: boolean;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const buttonVariants: (props?: ({
|
|
2
|
-
variant?: "primary" | "secondary" | "danger" | "text" | "circle" | null | undefined;
|
|
3
|
-
version?: "default" | "alternate" | null | undefined;
|
|
4
|
-
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
5
|
-
disabled?: boolean | null | undefined;
|
|
6
|
-
size?: "medium" | "large" | null | undefined;
|
|
7
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
import { cardVariants } from './Card.variants';
|
|
4
|
-
export interface CardProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants>, PropsWithChildren {
|
|
5
|
-
isActive?: boolean;
|
|
6
|
-
canHover?: boolean;
|
|
7
|
-
wrapperClassName?: string;
|
|
8
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const cardBaseVariants: (props?: ({
|
|
2
|
-
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
3
|
-
isActive?: boolean | null | undefined;
|
|
4
|
-
canHover?: boolean | null | undefined;
|
|
5
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
-
export declare const cardVariants: (props?: ({
|
|
7
|
-
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
8
|
-
isActive?: boolean | null | undefined;
|
|
9
|
-
canHover?: boolean | null | undefined;
|
|
10
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { InputHTMLAttributes } from 'react';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
import { checkboxVariants } from './Checkbox.variants';
|
|
4
|
-
export interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'checked'>, VariantProps<typeof checkboxVariants> {
|
|
5
|
-
ariaLabelledBy?: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
defaultChecked?: boolean;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
id?: string;
|
|
10
|
-
label?: string;
|
|
11
|
-
labelClassName?: string;
|
|
12
|
-
name?: string;
|
|
13
|
-
onChange?: () => void;
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const checkboxVariants: (props?: ({
|
|
2
|
-
variant?: "default" | null | undefined;
|
|
3
|
-
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
4
|
-
checked?: boolean | null | undefined;
|
|
5
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
-
export declare const labelVariants: (props?: ({
|
|
7
|
-
variant?: "default" | null | undefined;
|
|
8
|
-
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
9
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
import { dropdownVariants } from './Dropdown.variants';
|
|
4
|
-
export type Option = {
|
|
5
|
-
label: string | ReactNode;
|
|
6
|
-
leftIcon?: ReactNode | string;
|
|
7
|
-
value: string;
|
|
8
|
-
};
|
|
9
|
-
export interface DropdownProps extends VariantProps<typeof dropdownVariants> {
|
|
10
|
-
defaultValue?: string;
|
|
11
|
-
label?: string;
|
|
12
|
-
name?: string;
|
|
13
|
-
options: Option[];
|
|
14
|
-
placeholder?: string;
|
|
15
|
-
onChange?: (value: Option) => void;
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ComponentRef, RefObject } from 'react';
|
|
2
|
-
import { DropdownProps } from '../../Dropdown.types';
|
|
3
|
-
export type ListProps = Pick<DropdownProps, 'name' | 'options' | 'theme'> & {
|
|
4
|
-
wrapperRef: RefObject<ComponentRef<'div'> | null>;
|
|
5
|
-
wrapperInputRef: RefObject<ComponentRef<'div'> | null>;
|
|
6
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Option } from '../Dropdown.types';
|
|
2
|
-
export type DropdownContextType = {
|
|
3
|
-
value: Option | null;
|
|
4
|
-
isOpen: boolean;
|
|
5
|
-
setValue: (value: Option) => void;
|
|
6
|
-
toggleOpen: (value?: boolean) => void;
|
|
7
|
-
};
|
|
8
|
-
export declare const DropdownContext: import('react').Context<DropdownContextType>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ComponentRef, RefObject } from 'react';
|
|
2
|
-
type UseDropDownParams = {
|
|
3
|
-
ulRef: RefObject<ComponentRef<'ul'> | null>;
|
|
4
|
-
};
|
|
5
|
-
export declare const useDropdown: ({ ulRef }: UseDropDownParams) => {
|
|
6
|
-
wrapperRef: RefObject<HTMLDivElement | null>;
|
|
7
|
-
wrapperInputRef: RefObject<HTMLDivElement | null>;
|
|
8
|
-
handleOpen: () => void;
|
|
9
|
-
handleOpenIfClosed: () => void;
|
|
10
|
-
};
|
|
11
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ComponentRef, RefObject } from 'react';
|
|
2
|
-
type UseNavigationListProps = {
|
|
3
|
-
ulRef: RefObject<ComponentRef<'ul'> | null>;
|
|
4
|
-
wrapperRef: RefObject<ComponentRef<'div'> | null>;
|
|
5
|
-
wrapperInputRef: RefObject<ComponentRef<'div'> | null>;
|
|
6
|
-
};
|
|
7
|
-
export declare const useNavigationUlList: ({ ulRef, wrapperRef, wrapperInputRef, }: UseNavigationListProps) => void;
|
|
8
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { InputHTMLAttributes } from 'react';
|
|
3
|
-
import { inputVariants } from './Input.variants';
|
|
4
|
-
export interface InputProps extends InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof inputVariants> {
|
|
5
|
-
label?: string;
|
|
6
|
-
labelClassName?: string;
|
|
7
|
-
error?: string;
|
|
8
|
-
onClickIcon?: () => void;
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren, ReactNode } from 'react';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
import { modalVariants } from './components/Wrapper/Wrapper.variants';
|
|
4
|
-
export interface ModalProps extends PropsWithChildren, VariantProps<typeof modalVariants> {
|
|
5
|
-
className?: string;
|
|
6
|
-
buttonCloseClassName?: string;
|
|
7
|
-
}
|
|
8
|
-
export type ModalChildProps = {
|
|
9
|
-
children: ReactNode;
|
|
10
|
-
className?: string;
|
|
11
|
-
asChild?: boolean;
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
import { modalVariants } from './Wrapper.variants';
|
|
4
|
-
export interface WrapperProps extends PropsWithChildren, VariantProps<typeof modalVariants> {
|
|
5
|
-
className?: string;
|
|
6
|
-
buttonCloseClassName?: string;
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const modalVariants: (props?: ({
|
|
2
|
-
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
3
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
4
|
-
export declare const buttonCloseVariants: (props?: ({
|
|
5
|
-
theme?: "kubefirst" | "colony" | "civo" | null | undefined;
|
|
6
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|