@konstructio/ui 0.0.12-alpha.1 → 0.0.12
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/{index-BVppSRDQ.js → AlertDialogTrigger-D4Tm_9M0.js} +21 -19
- package/dist/{Combination-BQYb0Gw7.js → Combination-Cmu9JRkv.js} +72 -72
- package/dist/{Modal-W2GbkC_F.js → Modal-L73dmnHv.js} +246 -238
- package/dist/{chevron-up-DgLBQCKD.js → chevron-up-CvquEaNg.js} +1 -1
- package/dist/components/AlertDialog/AlertDialog.d.ts +3 -0
- package/dist/components/AlertDialog/AlertDialog.js +23 -20
- package/dist/components/AlertDialog/AlertDialog.types.d.ts +18 -0
- package/dist/components/AlertDialog/AlertDialog.types.js +1 -0
- package/dist/components/AlertDialog/AlertDialog.variants.d.ts +3 -0
- package/dist/components/AlertDialog/components/AlertDialogTrigger.d.ts +3 -0
- package/dist/components/AlertDialog/components/AlertDialogTrigger.js +6 -3
- package/dist/components/AlertDialog/components/AlertDialogTrigger.types.d.ts +6 -0
- package/dist/components/AlertDialog/components/AlertDialogTrigger.types.js +1 -0
- package/dist/components/AlertDialog/components/index.d.ts +1 -0
- package/dist/components/AlertDialog/components/index.js +1 -1
- package/dist/components/AlertDialog/hooks/index.d.ts +1 -0
- package/dist/components/AlertDialog/hooks/useAlertDialog.d.ts +7 -0
- package/dist/components/Autocomplete/Autocomplete.d.ts +3 -0
- package/dist/components/Autocomplete/Autocomplete.js +17 -15
- package/dist/components/Autocomplete/Autocomplete.types.d.ts +18 -0
- package/dist/components/Autocomplete/Autocomplete.types.js +1 -0
- package/dist/components/Autocomplete/Autocomplete.variants.d.ts +8 -0
- package/dist/components/Autocomplete/components/List/List.d.ts +3 -0
- package/dist/components/Autocomplete/components/List/List.js +7 -7
- package/dist/components/Autocomplete/components/List/List.types.d.ts +13 -0
- package/dist/components/Autocomplete/components/List/List.types.js +1 -0
- package/dist/components/Autocomplete/components/List/List.variants.d.ts +16 -0
- package/dist/components/Autocomplete/components/index.d.ts +1 -0
- package/dist/components/Autocomplete/hooks/index.d.ts +2 -0
- package/dist/components/Autocomplete/hooks/useAutocomplete.d.ts +17 -0
- package/dist/components/Autocomplete/hooks/useNavigationList.d.ts +10 -0
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +3 -0
- package/dist/components/Breadcrumb/Breadcrumb.js +69 -68
- package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +11 -0
- package/dist/components/Breadcrumb/Breadcrumb.types.js +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.variants.d.ts +12 -0
- package/dist/components/Breadcrumb/Breadcrumb.variants.js +17 -16
- package/dist/components/Breadcrumb/hooks/useBreadcrumb.d.ts +3 -0
- package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +3 -2
- package/dist/components/Button/Button.d.ts +4 -0
- package/dist/components/Button/Button.js +16 -14
- package/dist/components/Button/Button.types.d.ts +7 -0
- package/dist/components/Button/Button.types.js +1 -0
- package/dist/components/Button/Button.variants.d.ts +7 -0
- package/dist/components/Card/Card.d.ts +4 -0
- package/dist/components/Card/Card.js +12 -10
- package/dist/components/Card/Card.types.d.ts +8 -0
- package/dist/components/Card/Card.types.js +1 -0
- package/dist/components/Card/Card.variants.d.ts +10 -0
- package/dist/components/Checkbox/Checkbox.d.ts +3 -0
- package/dist/components/Checkbox/Checkbox.js +15 -13
- package/dist/components/Checkbox/Checkbox.types.d.ts +14 -0
- package/dist/components/Checkbox/Checkbox.types.js +1 -0
- package/dist/components/Checkbox/Checkbox.variants.d.ts +9 -0
- package/dist/components/Dropdown/Dropdown.d.ts +3 -0
- package/dist/components/Dropdown/Dropdown.js +6 -4
- package/dist/components/Dropdown/Dropdown.types.d.ts +16 -0
- package/dist/components/Dropdown/Dropdown.types.js +1 -0
- package/dist/components/Dropdown/Dropdown.variants.d.ts +3 -0
- package/dist/components/Dropdown/components/EmptyList.d.ts +2 -0
- package/dist/components/Dropdown/components/List/List.d.ts +3 -0
- package/dist/components/Dropdown/components/List/List.js +10 -9
- package/dist/components/Dropdown/components/List/List.types.d.ts +6 -0
- package/dist/components/Dropdown/components/List/List.types.js +1 -0
- package/dist/components/Dropdown/components/List/List.variants.d.ts +3 -0
- package/dist/components/Dropdown/components/ListItem/ListItem.d.ts +3 -0
- package/dist/components/Dropdown/components/ListItem/ListItem.js +21 -20
- package/dist/components/Dropdown/components/ListItem/ListItem.types.d.ts +4 -0
- package/dist/components/Dropdown/components/ListItem/ListItem.types.js +1 -0
- package/dist/components/Dropdown/components/ListItem/ListItem.variants.d.ts +3 -0
- package/dist/components/Dropdown/components/Wrapper.d.ts +3 -0
- package/dist/components/Dropdown/components/Wrapper.js +34 -31
- package/dist/components/Dropdown/components/index.d.ts +3 -0
- package/dist/components/Dropdown/contexts/dropdown.context.d.ts +8 -0
- package/dist/components/Dropdown/contexts/dropdown.hook.d.ts +2 -0
- package/dist/components/Dropdown/contexts/dropdown.provider.d.ts +5 -0
- package/dist/components/Dropdown/contexts/dropdown.provider.js +4 -4
- package/dist/components/Dropdown/contexts/index.d.ts +2 -0
- package/dist/components/Dropdown/hooks/useDropdown.d.ts +11 -0
- package/dist/components/Dropdown/hooks/useDropdown.js +14 -12
- package/dist/components/Dropdown/hooks/useNavigationList.d.ts +8 -0
- package/dist/components/Dropdown/hooks/useNavigationList.js +10 -8
- package/dist/components/Input/Input.d.ts +3 -0
- package/dist/components/Input/Input.js +14 -12
- package/dist/components/Input/Input.types.d.ts +9 -0
- package/dist/components/Input/Input.types.js +1 -0
- package/dist/components/Input/Input.variants.d.ts +4 -0
- package/dist/components/Modal/Modal.d.ts +8 -0
- package/dist/components/Modal/Modal.js +3 -3
- package/dist/components/Modal/Modal.types.d.ts +12 -0
- package/dist/components/Modal/Modal.types.js +1 -0
- package/dist/components/Modal/components/Body/Body.d.ts +3 -0
- package/dist/components/Modal/components/Body/Body.types.d.ts +5 -0
- package/dist/components/Modal/components/Body/Body.types.js +1 -0
- package/dist/components/Modal/components/Footer/Footer.d.ts +3 -0
- package/dist/components/Modal/components/Footer/Footer.types.d.ts +5 -0
- package/dist/components/Modal/components/Footer/Footer.types.js +1 -0
- package/dist/components/Modal/components/Header/Header.d.ts +3 -0
- package/dist/components/Modal/components/Header/Header.types.d.ts +5 -0
- package/dist/components/Modal/components/Header/Header.types.js +1 -0
- package/dist/components/Modal/components/Wrapper/Wrapper.d.ts +3 -0
- package/dist/components/Modal/components/Wrapper/Wrapper.js +9 -7
- package/dist/components/Modal/components/Wrapper/Wrapper.types.d.ts +7 -0
- package/dist/components/Modal/components/Wrapper/Wrapper.types.js +1 -0
- package/dist/components/Modal/components/Wrapper/Wrapper.variants.d.ts +6 -0
- package/dist/components/Modal/components/index.d.ts +4 -0
- package/dist/components/Modal/components/index.js +1 -1
- package/dist/components/Modal/contexts/Modal.context.d.ts +2 -0
- package/dist/components/Modal/contexts/Modal.provider.d.ts +4 -0
- package/dist/components/Modal/contexts/Modal.provider.js +4 -4
- package/dist/components/Modal/contexts/Modal.types.d.ts +9 -0
- package/dist/components/Modal/contexts/Modal.types.js +1 -0
- package/dist/components/Modal/contexts/index.d.ts +1 -0
- package/dist/components/Modal/hooks/index.d.ts +1 -0
- package/dist/components/Modal/hooks/useModal.d.ts +9 -0
- package/dist/components/NumberInput/NumberInput.d.ts +3 -0
- package/dist/components/NumberInput/NumberInput.js +11 -9
- package/dist/components/NumberInput/NumberInput.types.d.ts +11 -0
- package/dist/components/NumberInput/NumberInput.types.js +1 -0
- package/dist/components/NumberInput/NumberInput.variants.d.ts +11 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +3 -0
- package/dist/components/ProgressBar/ProgressBar.js +16 -13
- package/dist/components/ProgressBar/ProgressBar.types.d.ts +8 -0
- package/dist/components/ProgressBar/ProgressBar.types.js +1 -0
- package/dist/components/ProgressBar/ProgressBar.variants.d.ts +7 -0
- package/dist/components/Radio/Radio.d.ts +3 -0
- package/dist/components/Radio/Radio.js +37 -55
- package/dist/components/Radio/Radio.types.d.ts +12 -0
- package/dist/components/Radio/Radio.types.js +1 -0
- package/dist/components/Radio/Radio.variants.d.ts +3 -0
- package/dist/components/Radio/Radio.variants.js +16 -69
- package/dist/components/RadioGroup/RadioGroup.d.ts +3 -0
- package/dist/components/RadioGroup/RadioGroup.js +27 -37
- package/dist/components/RadioGroup/RadioGroup.types.d.ts +12 -0
- package/dist/components/RadioGroup/RadioGroup.types.js +1 -0
- package/dist/components/Range/Range.d.ts +3 -0
- package/dist/components/Range/Range.js +22 -20
- package/dist/components/Range/Range.types.d.ts +13 -0
- package/dist/components/Range/Range.types.js +1 -0
- package/dist/components/Range/Range.variants.d.ts +14 -0
- package/dist/components/Sidebar/Sidebar.d.ts +5 -0
- package/dist/components/Sidebar/Sidebar.js +22 -20
- package/dist/components/Sidebar/Sidebar.types.d.ts +18 -0
- package/dist/components/Sidebar/Sidebar.types.js +1 -0
- package/dist/components/Sidebar/Sidebar.variants.d.ts +6 -0
- package/dist/components/Sidebar/components/Footer/Footer.d.ts +3 -0
- package/dist/components/Sidebar/components/Footer/Footer.js +12 -9
- package/dist/components/Sidebar/components/Footer/Footer.types.d.ts +6 -0
- package/dist/components/Sidebar/components/Footer/Footer.types.js +1 -0
- package/dist/components/Sidebar/components/Footer/Footer.variants.d.ts +3 -0
- package/dist/components/Sidebar/components/Logo/Logo.d.ts +3 -0
- package/dist/components/Sidebar/components/Logo/Logo.js +12 -9
- package/dist/components/Sidebar/components/Logo/Logo.types.d.ts +6 -0
- package/dist/components/Sidebar/components/Logo/Logo.types.js +1 -0
- package/dist/components/Sidebar/components/Logo/Logo.variants.d.ts +3 -0
- package/dist/components/Sidebar/components/Navigation/Navigation.d.ts +4 -0
- package/dist/components/Sidebar/components/Navigation/Navigation.js +15 -12
- package/dist/components/Sidebar/components/Navigation/Navigation.types.d.ts +16 -0
- package/dist/components/Sidebar/components/Navigation/Navigation.types.js +1 -0
- package/dist/components/Sidebar/components/Navigation/Navigation.variants.d.ts +3 -0
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.d.ts +3 -0
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +26 -24
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.types.d.ts +7 -0
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.types.js +1 -0
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.d.ts +3 -0
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.d.ts +3 -0
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +20 -17
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.types.d.ts +17 -0
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.types.js +1 -0
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.d.ts +4 -0
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.d.ts +3 -0
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +11 -8
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.types.d.ts +5 -0
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.types.js +1 -0
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.d.ts +3 -0
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.d.ts +3 -0
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +13 -10
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.types.d.ts +8 -0
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.types.js +1 -0
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.variants.d.ts +3 -0
- package/dist/components/Sidebar/components/Wrapper/Wrapper.d.ts +3 -0
- package/dist/components/Sidebar/components/Wrapper/Wrapper.js +27 -29
- package/dist/components/Sidebar/components/index.d.ts +15 -0
- package/dist/components/Slider/Slider.d.ts +3 -0
- package/dist/components/Slider/Slider.js +20 -18
- package/dist/components/Slider/Slider.types.d.ts +13 -0
- package/dist/components/Slider/Slider.types.js +1 -0
- package/dist/components/Slider/Slider.variants.d.ts +11 -0
- package/dist/components/Switch/Switch.d.ts +3 -0
- package/dist/components/Switch/Switch.js +21 -19
- package/dist/components/Switch/Switch.types.d.ts +10 -0
- package/dist/components/Switch/Switch.types.js +1 -0
- package/dist/components/Switch/Switch.variants.d.ts +6 -0
- package/dist/components/Tag/Tag.d.ts +3 -0
- package/dist/components/Tag/Tag.types.d.ts +4 -0
- package/dist/components/Tag/Tag.types.js +1 -0
- package/dist/components/Tag/Tag.variants.d.ts +3 -0
- package/dist/components/TagSelect/TagSelect.d.ts +3 -0
- package/dist/components/TagSelect/TagSelect.js +21 -19
- package/dist/components/TagSelect/TagSelect.types.d.ts +9 -0
- package/dist/components/TagSelect/TagSelect.types.js +1 -0
- package/dist/components/TagSelect/TagSelect.variants.d.ts +9 -0
- package/dist/components/TagSelect/hooks/useTagSelect.d.ts +9 -0
- package/dist/components/TextArea/TextArea.d.ts +3 -0
- package/dist/components/TextArea/TextArea.js +19 -17
- package/dist/components/TextArea/TextArea.types.d.ts +10 -0
- package/dist/components/TextArea/TextArea.types.js +1 -0
- package/dist/components/TextArea/TextArea.variants.d.ts +3 -0
- package/dist/components/Toast/Toast.d.ts +3 -0
- package/dist/components/Toast/Toast.js +54 -52
- package/dist/components/Toast/Toast.types.d.ts +12 -0
- package/dist/components/Toast/Toast.types.js +1 -0
- package/dist/components/Toast/Toast.variants.d.ts +9 -0
- package/dist/components/Tooltip/Tooltip.d.ts +3 -0
- package/dist/components/Tooltip/Tooltip.js +12 -10
- package/dist/components/Tooltip/Tooltip.types.d.ts +8 -0
- package/dist/components/Tooltip/Tooltip.types.js +1 -0
- package/dist/components/Tooltip/Tooltip.variants.d.ts +8 -0
- package/dist/components/Tooltip/hooks/useTooltip.d.ts +4 -0
- package/dist/components/index.d.ts +21 -0
- package/dist/components/index.js +44 -50
- package/dist/contexts/index.d.ts +3 -0
- package/dist/contexts/theme.context.d.ts +6 -0
- package/dist/contexts/theme.hook.d.ts +7 -0
- package/dist/contexts/theme.provider.d.ts +6 -0
- package/dist/contexts/theme.provider.js +14 -84
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useToggle.d.ts +1 -0
- package/dist/{index-1GLoikpT.js → index-BaNV0qac.js} +6585 -6555
- package/dist/{index-CoqDsznq.js → index-BedjZUuB.js} +1 -1
- package/dist/{index-KEdwcThH.js → index-BtibbG81.js} +1 -1
- package/dist/{index-C5psggHV.js → index-D68N8v8R.js} +17 -17
- package/dist/{index-CJsYodgi.js → index-z-AJyzdv.js} +10 -10
- package/dist/index.d.ts +4 -522
- package/dist/index.js +53 -59
- package/dist/js.cookie-OLEfuq_g.js +74 -0
- package/dist/package.json +1 -1
- package/dist/plugins/index.d.ts +1 -0
- package/dist/plugins/konstruct.d.ts +4 -0
- package/dist/plugins/konstruct.js +3 -3
- package/dist/plugins/utils/colors.d.ts +328 -0
- package/dist/styles.css +1 -1
- package/dist/styles.d.ts +0 -0
- package/dist/styles.js +1 -1
- package/dist/useBreadcrumb-DxYsZvj_.js +1398 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/{x-DU-Zw-L_.js → x-CRBgmX1Q.js} +1 -1
- package/package.json +1 -1
- package/dist/components/Breadcrumb/components/Item/Item.js +0 -61
- package/dist/components/Breadcrumb/components/Item/Item.variants.js +0 -90
- package/dist/components/Breadcrumb/components/index.js +0 -4
- package/dist/components/RadioCard/RadioCard.js +0 -41
- package/dist/components/RadioCard/RadioCard.variants.js +0 -19
- package/dist/components/RadioCardGroup/RadioCardGroup.js +0 -47
- package/dist/components/RadioCardGroup/RadioCardGroup.variants.js +0 -21
- package/dist/components/RadioGroup/RadioGroup.variants.js +0 -21
- package/dist/useBreadcrumb-CojbXFVD.js +0 -1279
package/dist/index.js
CHANGED
|
@@ -2,71 +2,65 @@ import { AlertDialog as e } from "./components/AlertDialog/AlertDialog.js";
|
|
|
2
2
|
import { Autocomplete as p } from "./components/Autocomplete/Autocomplete.js";
|
|
3
3
|
import { Breadcrumb as x } from "./components/Breadcrumb/Breadcrumb.js";
|
|
4
4
|
import { Button as a } from "./components/Button/Button.js";
|
|
5
|
-
import { Card as
|
|
6
|
-
import { Checkbox as
|
|
7
|
-
import { Dropdown as
|
|
5
|
+
import { Card as g } from "./components/Card/Card.js";
|
|
6
|
+
import { Checkbox as u } from "./components/Checkbox/Checkbox.js";
|
|
7
|
+
import { Dropdown as T } from "./components/Dropdown/Dropdown.js";
|
|
8
8
|
import { Input as s } from "./components/Input/Input.js";
|
|
9
|
-
import { M as h } from "./Modal-
|
|
10
|
-
import { NumberInput as
|
|
11
|
-
import { ProgressBar as
|
|
12
|
-
import { Radio as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import { ThemeProvider as uo } from "./contexts/theme.provider.js";
|
|
34
|
-
import { useToggle as To } from "./hooks/useToggle.js";
|
|
35
|
-
import { konstructPlugin as co } from "./plugins/konstruct.js";
|
|
9
|
+
import { M as h } from "./Modal-L73dmnHv.js";
|
|
10
|
+
import { NumberInput as N } from "./components/NumberInput/NumberInput.js";
|
|
11
|
+
import { ProgressBar as b } from "./components/ProgressBar/ProgressBar.js";
|
|
12
|
+
import { Radio as B } from "./components/Radio/Radio.js";
|
|
13
|
+
import { Range as P } from "./components/Range/Range.js";
|
|
14
|
+
import { Sidebar as w } from "./components/Sidebar/Sidebar.js";
|
|
15
|
+
import { Slider as I } from "./components/Slider/Slider.js";
|
|
16
|
+
import { Switch as R } from "./components/Switch/Switch.js";
|
|
17
|
+
import { Tag as G } from "./components/Tag/Tag.js";
|
|
18
|
+
import { TagSelect as O } from "./components/TagSelect/TagSelect.js";
|
|
19
|
+
import { TextArea as q } from "./components/TextArea/TextArea.js";
|
|
20
|
+
import { Toast as z } from "./components/Toast/Toast.js";
|
|
21
|
+
import { Tooltip as H } from "./components/Tooltip/Tooltip.js";
|
|
22
|
+
import { ThemeContext as K } from "./contexts/theme.context.js";
|
|
23
|
+
import { useTheme as U } from "./contexts/theme.hook.js";
|
|
24
|
+
import { ThemeProvider as W } from "./contexts/theme.provider.js";
|
|
25
|
+
import { useToggle as Y } from "./hooks/useToggle.js";
|
|
26
|
+
import { konstructPlugin as _ } from "./plugins/konstruct.js";
|
|
27
|
+
import { Footer as oo } from "./components/Sidebar/components/Footer/Footer.js";
|
|
28
|
+
import { Logo as eo } from "./components/Sidebar/components/Logo/Logo.js";
|
|
29
|
+
import { Navigation as po } from "./components/Sidebar/components/Navigation/Navigation.js";
|
|
30
|
+
import { NavigationGroup as xo } from "./components/Sidebar/components/NavigationGroup/NavigationGroup.js";
|
|
31
|
+
import { NavigationOption as ao } from "./components/Sidebar/components/NavigationOption/NavigationOption.js";
|
|
32
|
+
import { NavigationSeparator as go } from "./components/Sidebar/components/NavigationSeparator/NavigationSeparator.js";
|
|
36
33
|
export {
|
|
37
34
|
e as AlertDialog,
|
|
38
35
|
p as Autocomplete,
|
|
39
36
|
x as Breadcrumb,
|
|
40
37
|
a as Button,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
38
|
+
g as Card,
|
|
39
|
+
u as Checkbox,
|
|
40
|
+
T as Dropdown,
|
|
41
|
+
oo as Footer,
|
|
45
42
|
s as Input,
|
|
46
|
-
|
|
43
|
+
eo as Logo,
|
|
47
44
|
h as Modal,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
co as konstructPlugin,
|
|
70
|
-
go as useTheme,
|
|
71
|
-
To as useToggle
|
|
45
|
+
po as Navigation,
|
|
46
|
+
xo as NavigationGroup,
|
|
47
|
+
ao as NavigationOption,
|
|
48
|
+
go as NavigationSeparator,
|
|
49
|
+
N as NumberInput,
|
|
50
|
+
b as ProgressBar,
|
|
51
|
+
B as Radio,
|
|
52
|
+
P as Range,
|
|
53
|
+
w as Sidebar,
|
|
54
|
+
I as Slider,
|
|
55
|
+
R as Switch,
|
|
56
|
+
G as Tag,
|
|
57
|
+
O as TagSelect,
|
|
58
|
+
q as TextArea,
|
|
59
|
+
K as ThemeContext,
|
|
60
|
+
W as ThemeProvider,
|
|
61
|
+
z as Toast,
|
|
62
|
+
H as Tooltip,
|
|
63
|
+
_ as konstructPlugin,
|
|
64
|
+
U as useTheme,
|
|
65
|
+
Y as useToggle
|
|
72
66
|
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/*! js-cookie v3.0.5 | MIT */
|
|
2
|
+
function d(r) {
|
|
3
|
+
for (var c = 1; c < arguments.length; c++) {
|
|
4
|
+
var f = arguments[c];
|
|
5
|
+
for (var p in f)
|
|
6
|
+
r[p] = f[p];
|
|
7
|
+
}
|
|
8
|
+
return r;
|
|
9
|
+
}
|
|
10
|
+
var g = {
|
|
11
|
+
read: function(r) {
|
|
12
|
+
return r[0] === '"' && (r = r.slice(1, -1)), r.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
|
|
13
|
+
},
|
|
14
|
+
write: function(r) {
|
|
15
|
+
return encodeURIComponent(r).replace(
|
|
16
|
+
/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,
|
|
17
|
+
decodeURIComponent
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
function s(r, c) {
|
|
22
|
+
function f(n, t, e) {
|
|
23
|
+
if (!(typeof document > "u")) {
|
|
24
|
+
e = d({}, c, e), typeof e.expires == "number" && (e.expires = new Date(Date.now() + e.expires * 864e5)), e.expires && (e.expires = e.expires.toUTCString()), n = encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
|
|
25
|
+
var o = "";
|
|
26
|
+
for (var i in e)
|
|
27
|
+
e[i] && (o += "; " + i, e[i] !== !0 && (o += "=" + e[i].split(";")[0]));
|
|
28
|
+
return document.cookie = n + "=" + r.write(t, n) + o;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
function p(n) {
|
|
32
|
+
if (!(typeof document > "u" || arguments.length && !n)) {
|
|
33
|
+
for (var t = document.cookie ? document.cookie.split("; ") : [], e = {}, o = 0; o < t.length; o++) {
|
|
34
|
+
var i = t[o].split("="), v = i.slice(1).join("=");
|
|
35
|
+
try {
|
|
36
|
+
var u = decodeURIComponent(i[0]);
|
|
37
|
+
if (e[u] = r.read(v, u), n === u)
|
|
38
|
+
break;
|
|
39
|
+
} catch {
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return n ? e[n] : e;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
return Object.create(
|
|
46
|
+
{
|
|
47
|
+
set: f,
|
|
48
|
+
get: p,
|
|
49
|
+
remove: function(n, t) {
|
|
50
|
+
f(
|
|
51
|
+
n,
|
|
52
|
+
"",
|
|
53
|
+
d({}, t, {
|
|
54
|
+
expires: -1
|
|
55
|
+
})
|
|
56
|
+
);
|
|
57
|
+
},
|
|
58
|
+
withAttributes: function(n) {
|
|
59
|
+
return s(this.converter, d({}, this.attributes, n));
|
|
60
|
+
},
|
|
61
|
+
withConverter: function(n) {
|
|
62
|
+
return s(d({}, this.converter, n), this.attributes);
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
attributes: { value: Object.freeze(c) },
|
|
67
|
+
converter: { value: Object.freeze(r) }
|
|
68
|
+
}
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
var a = s(g, { path: "/" });
|
|
72
|
+
export {
|
|
73
|
+
a
|
|
74
|
+
};
|
package/dist/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './konstruct';
|
|
@@ -41,7 +41,7 @@ function _() {
|
|
|
41
41
|
return r;
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
|
-
const n = /* @__PURE__ */ u(
|
|
44
|
+
const n = /* @__PURE__ */ u(m());
|
|
45
45
|
function u(t) {
|
|
46
46
|
return t && t.__esModule ? t : {
|
|
47
47
|
default: t
|
|
@@ -54,10 +54,10 @@ var c, f;
|
|
|
54
54
|
function P() {
|
|
55
55
|
if (f) return c;
|
|
56
56
|
f = 1;
|
|
57
|
-
let e =
|
|
57
|
+
let e = _();
|
|
58
58
|
return c = (e.__esModule ? e : { default: e }).default, c;
|
|
59
59
|
}
|
|
60
|
-
var v =
|
|
60
|
+
var v = P();
|
|
61
61
|
const b = /* @__PURE__ */ g(v), w = b(
|
|
62
62
|
function({ addBase: e }) {
|
|
63
63
|
e({
|
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
export declare const konstructColors: {
|
|
2
|
+
black: string;
|
|
3
|
+
white: string;
|
|
4
|
+
amber: {
|
|
5
|
+
50: string;
|
|
6
|
+
100: string;
|
|
7
|
+
200: string;
|
|
8
|
+
300: string;
|
|
9
|
+
400: string;
|
|
10
|
+
500: string;
|
|
11
|
+
600: string;
|
|
12
|
+
700: string;
|
|
13
|
+
800: string;
|
|
14
|
+
900: string;
|
|
15
|
+
};
|
|
16
|
+
blue: {
|
|
17
|
+
50: string;
|
|
18
|
+
100: string;
|
|
19
|
+
200: string;
|
|
20
|
+
300: string;
|
|
21
|
+
400: string;
|
|
22
|
+
500: string;
|
|
23
|
+
600: string;
|
|
24
|
+
700: string;
|
|
25
|
+
800: string;
|
|
26
|
+
900: string;
|
|
27
|
+
};
|
|
28
|
+
cyan: {
|
|
29
|
+
50: string;
|
|
30
|
+
100: string;
|
|
31
|
+
200: string;
|
|
32
|
+
300: string;
|
|
33
|
+
400: string;
|
|
34
|
+
500: string;
|
|
35
|
+
600: string;
|
|
36
|
+
700: string;
|
|
37
|
+
800: string;
|
|
38
|
+
900: string;
|
|
39
|
+
};
|
|
40
|
+
emerald: {
|
|
41
|
+
50: string;
|
|
42
|
+
100: string;
|
|
43
|
+
200: string;
|
|
44
|
+
300: string;
|
|
45
|
+
400: string;
|
|
46
|
+
500: string;
|
|
47
|
+
600: string;
|
|
48
|
+
700: string;
|
|
49
|
+
800: string;
|
|
50
|
+
900: string;
|
|
51
|
+
};
|
|
52
|
+
fuchsia: {
|
|
53
|
+
50: string;
|
|
54
|
+
100: string;
|
|
55
|
+
200: string;
|
|
56
|
+
300: string;
|
|
57
|
+
400: string;
|
|
58
|
+
500: string;
|
|
59
|
+
600: string;
|
|
60
|
+
700: string;
|
|
61
|
+
800: string;
|
|
62
|
+
900: string;
|
|
63
|
+
};
|
|
64
|
+
gray: {
|
|
65
|
+
50: string;
|
|
66
|
+
100: string;
|
|
67
|
+
200: string;
|
|
68
|
+
300: string;
|
|
69
|
+
400: string;
|
|
70
|
+
500: string;
|
|
71
|
+
600: string;
|
|
72
|
+
700: string;
|
|
73
|
+
800: string;
|
|
74
|
+
900: string;
|
|
75
|
+
};
|
|
76
|
+
green: {
|
|
77
|
+
50: string;
|
|
78
|
+
100: string;
|
|
79
|
+
200: string;
|
|
80
|
+
300: string;
|
|
81
|
+
400: string;
|
|
82
|
+
500: string;
|
|
83
|
+
600: string;
|
|
84
|
+
700: string;
|
|
85
|
+
800: string;
|
|
86
|
+
900: string;
|
|
87
|
+
};
|
|
88
|
+
indigo: {
|
|
89
|
+
50: string;
|
|
90
|
+
100: string;
|
|
91
|
+
200: string;
|
|
92
|
+
300: string;
|
|
93
|
+
400: string;
|
|
94
|
+
500: string;
|
|
95
|
+
600: string;
|
|
96
|
+
700: string;
|
|
97
|
+
800: string;
|
|
98
|
+
900: string;
|
|
99
|
+
};
|
|
100
|
+
lime: {
|
|
101
|
+
50: string;
|
|
102
|
+
100: string;
|
|
103
|
+
200: string;
|
|
104
|
+
300: string;
|
|
105
|
+
400: string;
|
|
106
|
+
500: string;
|
|
107
|
+
600: string;
|
|
108
|
+
700: string;
|
|
109
|
+
800: string;
|
|
110
|
+
900: string;
|
|
111
|
+
};
|
|
112
|
+
metal: {
|
|
113
|
+
50: string;
|
|
114
|
+
100: string;
|
|
115
|
+
200: string;
|
|
116
|
+
300: string;
|
|
117
|
+
400: string;
|
|
118
|
+
500: string;
|
|
119
|
+
600: string;
|
|
120
|
+
700: string;
|
|
121
|
+
800: string;
|
|
122
|
+
900: string;
|
|
123
|
+
1000: string;
|
|
124
|
+
1100: string;
|
|
125
|
+
};
|
|
126
|
+
neutral: {
|
|
127
|
+
50: string;
|
|
128
|
+
100: string;
|
|
129
|
+
200: string;
|
|
130
|
+
300: string;
|
|
131
|
+
400: string;
|
|
132
|
+
500: string;
|
|
133
|
+
600: string;
|
|
134
|
+
700: string;
|
|
135
|
+
800: string;
|
|
136
|
+
900: string;
|
|
137
|
+
};
|
|
138
|
+
orange: {
|
|
139
|
+
50: string;
|
|
140
|
+
100: string;
|
|
141
|
+
200: string;
|
|
142
|
+
300: string;
|
|
143
|
+
400: string;
|
|
144
|
+
500: string;
|
|
145
|
+
600: string;
|
|
146
|
+
700: string;
|
|
147
|
+
800: string;
|
|
148
|
+
900: string;
|
|
149
|
+
};
|
|
150
|
+
pink: {
|
|
151
|
+
50: string;
|
|
152
|
+
100: string;
|
|
153
|
+
200: string;
|
|
154
|
+
300: string;
|
|
155
|
+
400: string;
|
|
156
|
+
500: string;
|
|
157
|
+
600: string;
|
|
158
|
+
700: string;
|
|
159
|
+
800: string;
|
|
160
|
+
900: string;
|
|
161
|
+
};
|
|
162
|
+
powder: {
|
|
163
|
+
50: string;
|
|
164
|
+
100: string;
|
|
165
|
+
200: string;
|
|
166
|
+
300: string;
|
|
167
|
+
400: string;
|
|
168
|
+
500: string;
|
|
169
|
+
600: string;
|
|
170
|
+
700: string;
|
|
171
|
+
800: string;
|
|
172
|
+
900: string;
|
|
173
|
+
};
|
|
174
|
+
purple: {
|
|
175
|
+
50: string;
|
|
176
|
+
100: string;
|
|
177
|
+
200: string;
|
|
178
|
+
300: string;
|
|
179
|
+
400: string;
|
|
180
|
+
500: string;
|
|
181
|
+
600: string;
|
|
182
|
+
700: string;
|
|
183
|
+
800: string;
|
|
184
|
+
900: string;
|
|
185
|
+
};
|
|
186
|
+
red: {
|
|
187
|
+
50: string;
|
|
188
|
+
100: string;
|
|
189
|
+
200: string;
|
|
190
|
+
300: string;
|
|
191
|
+
400: string;
|
|
192
|
+
500: string;
|
|
193
|
+
600: string;
|
|
194
|
+
700: string;
|
|
195
|
+
800: string;
|
|
196
|
+
900: string;
|
|
197
|
+
};
|
|
198
|
+
rose: {
|
|
199
|
+
50: string;
|
|
200
|
+
100: string;
|
|
201
|
+
200: string;
|
|
202
|
+
300: string;
|
|
203
|
+
400: string;
|
|
204
|
+
500: string;
|
|
205
|
+
600: string;
|
|
206
|
+
700: string;
|
|
207
|
+
800: string;
|
|
208
|
+
900: string;
|
|
209
|
+
};
|
|
210
|
+
sage: {
|
|
211
|
+
50: string;
|
|
212
|
+
100: string;
|
|
213
|
+
200: string;
|
|
214
|
+
300: string;
|
|
215
|
+
400: string;
|
|
216
|
+
500: string;
|
|
217
|
+
600: string;
|
|
218
|
+
700: string;
|
|
219
|
+
800: string;
|
|
220
|
+
900: string;
|
|
221
|
+
};
|
|
222
|
+
sky: {
|
|
223
|
+
50: string;
|
|
224
|
+
100: string;
|
|
225
|
+
200: string;
|
|
226
|
+
300: string;
|
|
227
|
+
400: string;
|
|
228
|
+
500: string;
|
|
229
|
+
600: string;
|
|
230
|
+
700: string;
|
|
231
|
+
800: string;
|
|
232
|
+
900: string;
|
|
233
|
+
};
|
|
234
|
+
slate: {
|
|
235
|
+
50: string;
|
|
236
|
+
100: string;
|
|
237
|
+
200: string;
|
|
238
|
+
300: string;
|
|
239
|
+
400: string;
|
|
240
|
+
500: string;
|
|
241
|
+
600: string;
|
|
242
|
+
700: string;
|
|
243
|
+
800: string;
|
|
244
|
+
900: string;
|
|
245
|
+
};
|
|
246
|
+
stone: {
|
|
247
|
+
50: string;
|
|
248
|
+
100: string;
|
|
249
|
+
200: string;
|
|
250
|
+
300: string;
|
|
251
|
+
400: string;
|
|
252
|
+
500: string;
|
|
253
|
+
600: string;
|
|
254
|
+
700: string;
|
|
255
|
+
800: string;
|
|
256
|
+
900: string;
|
|
257
|
+
};
|
|
258
|
+
teal: {
|
|
259
|
+
50: string;
|
|
260
|
+
100: string;
|
|
261
|
+
200: string;
|
|
262
|
+
300: string;
|
|
263
|
+
400: string;
|
|
264
|
+
500: string;
|
|
265
|
+
600: string;
|
|
266
|
+
700: string;
|
|
267
|
+
800: string;
|
|
268
|
+
900: string;
|
|
269
|
+
};
|
|
270
|
+
violet: {
|
|
271
|
+
50: string;
|
|
272
|
+
100: string;
|
|
273
|
+
200: string;
|
|
274
|
+
300: string;
|
|
275
|
+
400: string;
|
|
276
|
+
500: string;
|
|
277
|
+
600: string;
|
|
278
|
+
700: string;
|
|
279
|
+
800: string;
|
|
280
|
+
900: string;
|
|
281
|
+
};
|
|
282
|
+
yellow: {
|
|
283
|
+
50: string;
|
|
284
|
+
100: string;
|
|
285
|
+
200: string;
|
|
286
|
+
300: string;
|
|
287
|
+
400: string;
|
|
288
|
+
500: string;
|
|
289
|
+
600: string;
|
|
290
|
+
700: string;
|
|
291
|
+
800: string;
|
|
292
|
+
900: string;
|
|
293
|
+
};
|
|
294
|
+
zinc: {
|
|
295
|
+
50: string;
|
|
296
|
+
100: string;
|
|
297
|
+
200: string;
|
|
298
|
+
300: string;
|
|
299
|
+
400: string;
|
|
300
|
+
500: string;
|
|
301
|
+
600: string;
|
|
302
|
+
700: string;
|
|
303
|
+
800: string;
|
|
304
|
+
900: string;
|
|
305
|
+
};
|
|
306
|
+
kubefirst: {
|
|
307
|
+
primary: string;
|
|
308
|
+
secondary: string;
|
|
309
|
+
dark: {
|
|
310
|
+
blue: {
|
|
311
|
+
900: string;
|
|
312
|
+
};
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
'kubefirst-pro': {
|
|
316
|
+
primary: string;
|
|
317
|
+
secondary: string;
|
|
318
|
+
};
|
|
319
|
+
colony: {
|
|
320
|
+
primary: string;
|
|
321
|
+
secondary: string;
|
|
322
|
+
tertiary: string;
|
|
323
|
+
};
|
|
324
|
+
civo: {
|
|
325
|
+
primary: string;
|
|
326
|
+
secondary: string;
|
|
327
|
+
};
|
|
328
|
+
};
|