@konstructio/ui 0.0.10 → 0.0.12-alpha.0
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/components/Button/Button.variants.d.ts +2 -2
- package/dist/components/Button/Button.variants.js +142 -8
- package/dist/components/Sidebar/Sidebar.d.ts +5 -0
- package/dist/components/Sidebar/Sidebar.js +27 -0
- 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/Sidebar.variants.js +57 -0
- package/dist/components/Sidebar/components/Footer/Footer.d.ts +3 -0
- package/dist/components/Sidebar/components/Footer/Footer.js +22 -0
- 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/Footer/Footer.variants.js +19 -0
- package/dist/components/Sidebar/components/Logo/Logo.d.ts +3 -0
- package/dist/components/Sidebar/components/Logo/Logo.js +20 -0
- 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/Logo/Logo.variants.js +45 -0
- package/dist/components/Sidebar/components/Navigation/Navigation.d.ts +4 -0
- package/dist/components/Sidebar/components/Navigation/Navigation.js +34 -0
- 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/Navigation/Navigation.variants.js +19 -0
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.d.ts +3 -0
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +41 -0
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.types.d.ts +8 -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/NavigationGroup/NavigationGroup.variants.js +16 -0
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.d.ts +3 -0
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +35 -0
- 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/NavigationOption/NavigationOption.variants.js +52 -0
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.d.ts +3 -0
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +24 -0
- 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/NavigationSeparator/NavigationSeparator.variants.js +19 -0
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.d.ts +3 -0
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +27 -0
- 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/NavigationTitle/NavigationTitle.variants.js +23 -0
- package/dist/components/Sidebar/components/Wrapper/Wrapper.d.ts +3 -0
- package/dist/components/Sidebar/components/Wrapper/Wrapper.js +85 -0
- package/dist/components/Sidebar/components/index.d.ts +15 -0
- package/dist/components/Sidebar/components/index.js +18 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +44 -30
- package/dist/index.js +46 -32
- package/dist/package.json +31 -16
- package/dist/plugins/utils/colors.d.ts +5 -0
- package/dist/plugins/utils/colors.js +6 -1
- package/dist/styles.css +1 -1
- package/dist/utils/index.js +747 -530
- package/package.json +31 -16
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import "../../../../contexts/theme.context.js";
|
|
3
|
+
import { useTheme as a } from "../../../../contexts/theme.hook.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "../../../../js.cookie-OLEfuq_g.js";
|
|
6
|
+
import { cn as s } from "../../../../utils/index.js";
|
|
7
|
+
import { navigationOptionVariants as c } from "./NavigationOption.variants.js";
|
|
8
|
+
const N = ({
|
|
9
|
+
children: t,
|
|
10
|
+
className: o,
|
|
11
|
+
theme: r,
|
|
12
|
+
isVisible: i = !0,
|
|
13
|
+
isActive: e,
|
|
14
|
+
...m
|
|
15
|
+
}) => {
|
|
16
|
+
const { theme: n } = a();
|
|
17
|
+
return i ? /* @__PURE__ */ p(
|
|
18
|
+
"li",
|
|
19
|
+
{
|
|
20
|
+
...m,
|
|
21
|
+
role: "option",
|
|
22
|
+
className: s(
|
|
23
|
+
c({
|
|
24
|
+
theme: r ?? n,
|
|
25
|
+
className: o,
|
|
26
|
+
isActive: e
|
|
27
|
+
})
|
|
28
|
+
),
|
|
29
|
+
children: t
|
|
30
|
+
}
|
|
31
|
+
) : null;
|
|
32
|
+
};
|
|
33
|
+
export {
|
|
34
|
+
N as NavigationOption
|
|
35
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { navigationOptionVariants } from './NavigationOption.variants';
|
|
4
|
+
type NavigationOption = VariantProps<typeof navigationOptionVariants> & {
|
|
5
|
+
className?: string;
|
|
6
|
+
isVisible?: boolean;
|
|
7
|
+
isActive?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export type NavigationOptionProps = NavigationOption & ({
|
|
10
|
+
role: 'button';
|
|
11
|
+
children: ReactNode;
|
|
12
|
+
onClick: VoidFunction;
|
|
13
|
+
} | {
|
|
14
|
+
role?: never;
|
|
15
|
+
children: ReactNode;
|
|
16
|
+
});
|
|
17
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { c as e } from "../../../../index-BNmRGtA6.js";
|
|
2
|
+
const a = e(
|
|
3
|
+
[
|
|
4
|
+
"[&>a]:flex",
|
|
5
|
+
"[&>a]:gap-2",
|
|
6
|
+
"[&>a]:no-underline",
|
|
7
|
+
"[&>a]:text-inherit",
|
|
8
|
+
"[&>a]:w-full",
|
|
9
|
+
"cursor-pointer",
|
|
10
|
+
"flex",
|
|
11
|
+
"font-normal",
|
|
12
|
+
"font-normal",
|
|
13
|
+
"gap-2",
|
|
14
|
+
"hover:rounded-xl",
|
|
15
|
+
"px-4",
|
|
16
|
+
"py-2.5",
|
|
17
|
+
"text-black",
|
|
18
|
+
"w-full"
|
|
19
|
+
],
|
|
20
|
+
{
|
|
21
|
+
variants: {
|
|
22
|
+
theme: {
|
|
23
|
+
colony: "",
|
|
24
|
+
kubefirst: [
|
|
25
|
+
"text-[#9ea2c6]",
|
|
26
|
+
"hover:text-white",
|
|
27
|
+
"hover:bg-[#252a41]",
|
|
28
|
+
"selection:bg-powder-500",
|
|
29
|
+
"selection:text-white"
|
|
30
|
+
],
|
|
31
|
+
civo: ""
|
|
32
|
+
},
|
|
33
|
+
isActive: {
|
|
34
|
+
true: "",
|
|
35
|
+
false: ""
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
compoundVariants: [
|
|
39
|
+
{
|
|
40
|
+
theme: "kubefirst",
|
|
41
|
+
isActive: !0,
|
|
42
|
+
class: ["text-white", "bg-[#252a41]"]
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
defaultVariants: {
|
|
46
|
+
theme: "kubefirst"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
);
|
|
50
|
+
export {
|
|
51
|
+
a as navigationOptionVariants
|
|
52
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import "../../../../contexts/theme.context.js";
|
|
3
|
+
import { useTheme as e } from "../../../../contexts/theme.hook.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "../../../../js.cookie-OLEfuq_g.js";
|
|
6
|
+
import { cn as i } from "../../../../utils/index.js";
|
|
7
|
+
import { navigationSeparatorVariant as a } from "./NavigationSeparator.variants.js";
|
|
8
|
+
const x = ({
|
|
9
|
+
className: t,
|
|
10
|
+
theme: o
|
|
11
|
+
}) => {
|
|
12
|
+
const { theme: r } = e();
|
|
13
|
+
return /* @__PURE__ */ m(
|
|
14
|
+
"div",
|
|
15
|
+
{
|
|
16
|
+
className: i(
|
|
17
|
+
a({ className: t, theme: o ?? r })
|
|
18
|
+
)
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
x as NavigationSeparator
|
|
24
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { HTMLAttributes } from 'react';
|
|
3
|
+
import { navigationSeparatorVariant } from './NavigationSeparator.variants';
|
|
4
|
+
export interface NavigationSeparatorProps extends Pick<HTMLAttributes<HTMLDivElement>, 'className' | 'style'>, VariantProps<typeof navigationSeparatorVariant> {
|
|
5
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { c as r } from "../../../../index-BNmRGtA6.js";
|
|
2
|
+
const a = r(
|
|
3
|
+
["border-t", "rounded-full", "my-1.5"],
|
|
4
|
+
{
|
|
5
|
+
variants: {
|
|
6
|
+
theme: {
|
|
7
|
+
colony: "",
|
|
8
|
+
kubefirst: "border-t-[#9ea2c6]/30",
|
|
9
|
+
civo: ""
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
defaultVariants: {
|
|
13
|
+
theme: "kubefirst"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
);
|
|
17
|
+
export {
|
|
18
|
+
a as navigationSeparatorVariant
|
|
19
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import "../../../../contexts/theme.context.js";
|
|
3
|
+
import { useTheme as n } from "../../../../contexts/theme.hook.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "../../../../js.cookie-OLEfuq_g.js";
|
|
6
|
+
import { cn as a } from "../../../../utils/index.js";
|
|
7
|
+
import { navigationTitleVariants as p } from "./NavigationTitle.variants.js";
|
|
8
|
+
const x = ({
|
|
9
|
+
title: t,
|
|
10
|
+
className: r,
|
|
11
|
+
theme: e,
|
|
12
|
+
isVisible: o = !0
|
|
13
|
+
}) => {
|
|
14
|
+
const { theme: i } = n();
|
|
15
|
+
return o ? /* @__PURE__ */ m(
|
|
16
|
+
"h2",
|
|
17
|
+
{
|
|
18
|
+
className: a(
|
|
19
|
+
p({ theme: e ?? i, className: r })
|
|
20
|
+
),
|
|
21
|
+
children: t
|
|
22
|
+
}
|
|
23
|
+
) : null;
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
x as NavigationTitle
|
|
27
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { HtmlHTMLAttributes } from 'react';
|
|
3
|
+
import { navigationTitleVariants } from './NavigationTitle.variants';
|
|
4
|
+
export interface NavigationTitleProps extends VariantProps<typeof navigationTitleVariants>, Pick<HtmlHTMLAttributes<HTMLHeadingElement>, 'className'> {
|
|
5
|
+
title: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
isVisible?: boolean;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { c as t } from "../../../../index-BNmRGtA6.js";
|
|
2
|
+
const i = t(
|
|
3
|
+
["text-sm", "font-bold", "px-4", "mt-3", "mb-2"],
|
|
4
|
+
{
|
|
5
|
+
variants: {
|
|
6
|
+
theme: {
|
|
7
|
+
colony: "",
|
|
8
|
+
kubefirst: [
|
|
9
|
+
"text-white",
|
|
10
|
+
"selection:bg-powder-500",
|
|
11
|
+
"selection:text-white"
|
|
12
|
+
],
|
|
13
|
+
civo: ""
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
defaultVariants: {
|
|
17
|
+
theme: "kubefirst"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
export {
|
|
22
|
+
i as navigationTitleVariants
|
|
23
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { jsxs as x, jsx as C } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as d, useCallback as l, useMemo as s, Children as a, isValidElement as v, useEffect as D } from "react";
|
|
3
|
+
import "../../../../contexts/theme.context.js";
|
|
4
|
+
import { useTheme as T } from "../../../../contexts/theme.hook.js";
|
|
5
|
+
import "../../../../js.cookie-OLEfuq_g.js";
|
|
6
|
+
import { cn as E } from "../../../../utils/index.js";
|
|
7
|
+
import { wrapperSiderbarVariants as V, dragVariants as b } from "../../Sidebar.variants.js";
|
|
8
|
+
import { Footer as j } from "../Footer/Footer.js";
|
|
9
|
+
import { Logo as z } from "../Logo/Logo.js";
|
|
10
|
+
import { Navigation as k } from "../Navigation/Navigation.js";
|
|
11
|
+
const I = ({
|
|
12
|
+
canResize: M = !0,
|
|
13
|
+
children: y,
|
|
14
|
+
maxWith: i = 300,
|
|
15
|
+
minWith: m = 240,
|
|
16
|
+
theme: c,
|
|
17
|
+
wrapperClassName: w
|
|
18
|
+
}) => {
|
|
19
|
+
const r = d(null), u = d(null), f = d(!1), { theme: g, setTheme: L } = T(), n = l(
|
|
20
|
+
(e) => {
|
|
21
|
+
if (!f.current) {
|
|
22
|
+
r.current && (r.current.style.opacity = "0");
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
let o = e.clientX;
|
|
26
|
+
o < m && (o = m), o > i && (o = i), u.current && r.current && (u.current.style.width = `${o}px`, r.current.classList.add("opacity-100"));
|
|
27
|
+
},
|
|
28
|
+
[i, m]
|
|
29
|
+
), p = l(() => {
|
|
30
|
+
f.current = !1, r.current && r.current.classList.remove("opacity-100"), document.removeEventListener("mousemove", n), document.removeEventListener("mouseup", p);
|
|
31
|
+
}, [n]), R = l(
|
|
32
|
+
(e) => {
|
|
33
|
+
e.preventDefault(), e.stopPropagation(), f.current = !0, document.addEventListener("mousemove", n), document.addEventListener("mouseup", p);
|
|
34
|
+
},
|
|
35
|
+
[n, p]
|
|
36
|
+
), t = s(
|
|
37
|
+
() => a.toArray(y),
|
|
38
|
+
[y]
|
|
39
|
+
), h = s(
|
|
40
|
+
() => a.toArray(t).find(
|
|
41
|
+
(e) => v(e) && e.type === z
|
|
42
|
+
),
|
|
43
|
+
[t]
|
|
44
|
+
), A = s(
|
|
45
|
+
() => a.toArray(t).find(
|
|
46
|
+
(e) => v(e) && e.type === k
|
|
47
|
+
),
|
|
48
|
+
[t]
|
|
49
|
+
), N = s(
|
|
50
|
+
() => a.toArray(t).find(
|
|
51
|
+
(e) => v(e) && e.type === j
|
|
52
|
+
),
|
|
53
|
+
[t]
|
|
54
|
+
);
|
|
55
|
+
return D(() => {
|
|
56
|
+
c && L(c);
|
|
57
|
+
}, [L, c]), /* @__PURE__ */ x(
|
|
58
|
+
"aside",
|
|
59
|
+
{
|
|
60
|
+
ref: u,
|
|
61
|
+
className: E(
|
|
62
|
+
V({
|
|
63
|
+
className: w,
|
|
64
|
+
theme: g
|
|
65
|
+
})
|
|
66
|
+
),
|
|
67
|
+
children: [
|
|
68
|
+
h,
|
|
69
|
+
A,
|
|
70
|
+
N,
|
|
71
|
+
M && /* @__PURE__ */ C(
|
|
72
|
+
"div",
|
|
73
|
+
{
|
|
74
|
+
ref: r,
|
|
75
|
+
className: E(b({ theme: g })),
|
|
76
|
+
onMouseDown: R
|
|
77
|
+
}
|
|
78
|
+
)
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
);
|
|
82
|
+
};
|
|
83
|
+
export {
|
|
84
|
+
I as Wrapper
|
|
85
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from './Footer/Footer';
|
|
2
|
+
export type * from './Footer/Footer.types';
|
|
3
|
+
export * from './Logo/Logo';
|
|
4
|
+
export type * from './Logo/Logo.types';
|
|
5
|
+
export * from './Navigation/Navigation';
|
|
6
|
+
export type * from './Navigation/Navigation.types';
|
|
7
|
+
export * from './NavigationGroup/NavigationGroup';
|
|
8
|
+
export type * from './NavigationGroup/NavigationGroup.types';
|
|
9
|
+
export * from './NavigationOption/NavigationOption';
|
|
10
|
+
export type * from './NavigationOption/NavigationOption.types';
|
|
11
|
+
export * from './NavigationSeparator/NavigationSeparator';
|
|
12
|
+
export type * from './NavigationSeparator/NavigationSeparator.types';
|
|
13
|
+
export * from './NavigationTitle/NavigationTitle';
|
|
14
|
+
export type * from './NavigationTitle/NavigationTitle.types';
|
|
15
|
+
export * from './Wrapper/Wrapper';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Footer as t } from "./Footer/Footer.js";
|
|
2
|
+
import { Logo as p } from "./Logo/Logo.js";
|
|
3
|
+
import { Navigation as i } from "./Navigation/Navigation.js";
|
|
4
|
+
import { NavigationGroup as m } from "./NavigationGroup/NavigationGroup.js";
|
|
5
|
+
import { NavigationOption as g } from "./NavigationOption/NavigationOption.js";
|
|
6
|
+
import { NavigationSeparator as v } from "./NavigationSeparator/NavigationSeparator.js";
|
|
7
|
+
import { NavigationTitle as l } from "./NavigationTitle/NavigationTitle.js";
|
|
8
|
+
import { Wrapper as F } from "./Wrapper/Wrapper.js";
|
|
9
|
+
export {
|
|
10
|
+
t as Footer,
|
|
11
|
+
p as Logo,
|
|
12
|
+
i as Navigation,
|
|
13
|
+
m as NavigationGroup,
|
|
14
|
+
g as NavigationOption,
|
|
15
|
+
v as NavigationSeparator,
|
|
16
|
+
l as NavigationTitle,
|
|
17
|
+
F as Wrapper
|
|
18
|
+
};
|
|
@@ -11,6 +11,7 @@ export * from './NumberInput/NumberInput';
|
|
|
11
11
|
export * from './ProgressBar/ProgressBar';
|
|
12
12
|
export * from './Radio/Radio';
|
|
13
13
|
export * from './Range/Range';
|
|
14
|
+
export * from './Sidebar/Sidebar';
|
|
14
15
|
export * from './Slider/Slider';
|
|
15
16
|
export * from './Switch/Switch';
|
|
16
17
|
export * from './Tag/Tag';
|
package/dist/components/index.js
CHANGED
|
@@ -1,42 +1,56 @@
|
|
|
1
|
-
import { AlertDialog as
|
|
1
|
+
import { AlertDialog as t } from "./AlertDialog/AlertDialog.js";
|
|
2
2
|
import { Autocomplete as p } from "./Autocomplete/Autocomplete.js";
|
|
3
3
|
import { Breadcrumb as x } from "./Breadcrumb/Breadcrumb.js";
|
|
4
4
|
import { Button as a } from "./Button/Button.js";
|
|
5
|
-
import { Card as
|
|
6
|
-
import { Checkbox as
|
|
7
|
-
import { Dropdown as
|
|
8
|
-
import { Input as
|
|
9
|
-
import { M as
|
|
10
|
-
import { NumberInput as
|
|
11
|
-
import { ProgressBar as
|
|
12
|
-
import { Radio as
|
|
13
|
-
import { Range as
|
|
5
|
+
import { Card as g } from "./Card/Card.js";
|
|
6
|
+
import { Checkbox as d } from "./Checkbox/Checkbox.js";
|
|
7
|
+
import { Dropdown as u } from "./Dropdown/Dropdown.js";
|
|
8
|
+
import { Input as N } from "./Input/Input.js";
|
|
9
|
+
import { M as T } from "../Modal-L73dmnHv.js";
|
|
10
|
+
import { NumberInput as s } from "./NumberInput/NumberInput.js";
|
|
11
|
+
import { ProgressBar as A } from "./ProgressBar/ProgressBar.js";
|
|
12
|
+
import { Radio as h } from "./Radio/Radio.js";
|
|
13
|
+
import { Range as C } from "./Range/Range.js";
|
|
14
|
+
import { Sidebar as I } from "./Sidebar/Sidebar.js";
|
|
14
15
|
import { Slider as R } from "./Slider/Slider.js";
|
|
15
|
-
import { Switch as
|
|
16
|
-
import { Tag as
|
|
17
|
-
import { TagSelect as
|
|
18
|
-
import { TextArea as
|
|
19
|
-
import { Toast as
|
|
16
|
+
import { Switch as F } from "./Switch/Switch.js";
|
|
17
|
+
import { Tag as L } from "./Tag/Tag.js";
|
|
18
|
+
import { TagSelect as P } from "./TagSelect/TagSelect.js";
|
|
19
|
+
import { TextArea as q } from "./TextArea/TextArea.js";
|
|
20
|
+
import { Toast as z } from "./Toast/Toast.js";
|
|
20
21
|
import { Tooltip as H } from "./Tooltip/Tooltip.js";
|
|
22
|
+
import { Footer as K } from "./Sidebar/components/Footer/Footer.js";
|
|
23
|
+
import { Logo as U } from "./Sidebar/components/Logo/Logo.js";
|
|
24
|
+
import { Navigation as W } from "./Sidebar/components/Navigation/Navigation.js";
|
|
25
|
+
import { NavigationGroup as Y } from "./Sidebar/components/NavigationGroup/NavigationGroup.js";
|
|
26
|
+
import { NavigationOption as _ } from "./Sidebar/components/NavigationOption/NavigationOption.js";
|
|
27
|
+
import { NavigationSeparator as oo } from "./Sidebar/components/NavigationSeparator/NavigationSeparator.js";
|
|
21
28
|
export {
|
|
22
|
-
|
|
29
|
+
t as AlertDialog,
|
|
23
30
|
p as Autocomplete,
|
|
24
31
|
x as Breadcrumb,
|
|
25
32
|
a as Button,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
g as Card,
|
|
34
|
+
d as Checkbox,
|
|
35
|
+
u as Dropdown,
|
|
36
|
+
K as Footer,
|
|
37
|
+
N as Input,
|
|
38
|
+
U as Logo,
|
|
39
|
+
T as Modal,
|
|
40
|
+
W as Navigation,
|
|
41
|
+
Y as NavigationGroup,
|
|
42
|
+
_ as NavigationOption,
|
|
43
|
+
oo as NavigationSeparator,
|
|
44
|
+
s as NumberInput,
|
|
45
|
+
A as ProgressBar,
|
|
46
|
+
h as Radio,
|
|
47
|
+
C as Range,
|
|
48
|
+
I as Sidebar,
|
|
35
49
|
R as Slider,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
50
|
+
F as Switch,
|
|
51
|
+
L as Tag,
|
|
52
|
+
P as TagSelect,
|
|
53
|
+
q as TextArea,
|
|
54
|
+
z as Toast,
|
|
41
55
|
H as Tooltip
|
|
42
56
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,52 +1,66 @@
|
|
|
1
1
|
import { AlertDialog as e } from "./components/AlertDialog/AlertDialog.js";
|
|
2
|
-
import { Autocomplete as
|
|
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
9
|
import { M as h } from "./Modal-L73dmnHv.js";
|
|
10
|
-
import { NumberInput as
|
|
11
|
-
import { ProgressBar as
|
|
12
|
-
import { Radio as
|
|
13
|
-
import { Range as
|
|
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";
|
|
14
15
|
import { Slider as I } from "./components/Slider/Slider.js";
|
|
15
16
|
import { Switch as R } from "./components/Switch/Switch.js";
|
|
16
|
-
import { Tag as
|
|
17
|
-
import { TagSelect as
|
|
18
|
-
import { TextArea as
|
|
19
|
-
import { Toast as
|
|
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";
|
|
20
21
|
import { Tooltip as H } from "./components/Tooltip/Tooltip.js";
|
|
21
22
|
import { ThemeContext as K } from "./contexts/theme.context.js";
|
|
22
|
-
import { useTheme as
|
|
23
|
-
import { ThemeProvider as
|
|
24
|
-
import { useToggle as
|
|
25
|
-
import { konstructPlugin as
|
|
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";
|
|
26
33
|
export {
|
|
27
34
|
e as AlertDialog,
|
|
28
|
-
|
|
35
|
+
p as Autocomplete,
|
|
29
36
|
x as Breadcrumb,
|
|
30
37
|
a as Button,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
38
|
+
g as Card,
|
|
39
|
+
u as Checkbox,
|
|
40
|
+
T as Dropdown,
|
|
41
|
+
oo as Footer,
|
|
34
42
|
s as Input,
|
|
43
|
+
eo as Logo,
|
|
35
44
|
h as Modal,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
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,
|
|
40
54
|
I as Slider,
|
|
41
55
|
R as Switch,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
56
|
+
G as Tag,
|
|
57
|
+
O as TagSelect,
|
|
58
|
+
q as TextArea,
|
|
45
59
|
K as ThemeContext,
|
|
46
|
-
|
|
47
|
-
|
|
60
|
+
W as ThemeProvider,
|
|
61
|
+
z as Toast,
|
|
48
62
|
H as Tooltip,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
63
|
+
_ as konstructPlugin,
|
|
64
|
+
U as useTheme,
|
|
65
|
+
Y as useToggle
|
|
52
66
|
};
|