boottent-design 0.1.75 → 0.1.77
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/README.md +2 -2
- package/dist/boottent-design.layout.cjs.js +1 -1
- package/dist/boottent-design.layout.es.js +5 -5
- package/dist/boottent-design.main.cjs.js +1 -1
- package/dist/boottent-design.main.es.js +8 -8
- package/dist/boottent-design.provider.cjs.js +1 -1
- package/dist/boottent-design.provider.es.js +1 -1
- package/dist/boottent-design.ui.cjs.js +1 -1
- package/dist/boottent-design.ui.es.js +2 -2
- package/dist/index-BfapRZRW.js +55 -0
- package/dist/index-BshWFt1Y.js +113 -0
- package/dist/{index-Ct8xkpa5.js → index-CS-MyqzN.js} +89 -84
- package/dist/{index-BN8YyhmH.cjs → index-DA-vbnGe.cjs} +1 -1
- package/dist/index-DDNLKhqC.cjs +1 -0
- package/dist/index-Ly7gJulk.cjs +1 -0
- package/dist/{portal-provider-Cb7zYvmj.cjs → portal-provider-BB1ZUJea.cjs} +1 -1
- package/dist/{portal-provider-ChQPna7K.js → portal-provider-Z7EnJtHu.js} +1 -1
- package/dist/toggleButtonGroup-primitive-CC3iAt_X.cjs +52 -0
- package/dist/toggleButtonGroup-primitive-DPb6avPH.js +9081 -0
- package/dist/types/main.d.ts +1 -2
- package/dist/types/types.d.ts +0 -1
- package/dist/types/ui.d.ts +1 -2
- package/package.json +2 -1
- package/dist/index-BXP6oKuL.js +0 -91
- package/dist/index-CZf57oSO.cjs +0 -1
- package/dist/index-D6YAvWdo.cjs +0 -1
- package/dist/index-DD8Ojcka.js +0 -77
- package/dist/toggleButtonGroup-primitive-Btop14ud.cjs +0 -51
- package/dist/toggleButtonGroup-primitive-Ci7jcgoo.js +0 -8310
package/README.md
CHANGED
|
@@ -29,13 +29,13 @@ React, Vite, TypeScript, TailwindCSS, Radix-UI를 사용해 만든 부트텐트
|
|
|
29
29
|
### 설치
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
|
-
yarn add boottent-design@
|
|
32
|
+
yarn add boottent-design@latest
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
또는
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
|
-
npm install boottent-design@
|
|
38
|
+
npm install boottent-design@latest
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
### 프로젝트 설정
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DDNLKhqC.cjs"),o=require("./index-Ly7gJulk.cjs");exports.AspectRatio=e.AspectRatio;exports.GridBox=e.GridBox;exports.Box=o.Box;exports.FlexBox=o.FlexBox;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A as a,
|
|
2
|
-
import { B as t } from "./index-
|
|
1
|
+
import { A as a, G as r } from "./index-BfapRZRW.js";
|
|
2
|
+
import { B as e, F as t } from "./index-BshWFt1Y.js";
|
|
3
3
|
export {
|
|
4
4
|
a as AspectRatio,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
e as Box,
|
|
6
|
+
t as FlexBox,
|
|
7
|
+
r as GridBox
|
|
8
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./use-portal-BhH8jBDX.cjs"),e=require("./index-DDNLKhqC.cjs"),n=require("./index-Ly7gJulk.cjs"),a=require("./portal-provider-BB1ZUJea.cjs"),l=require("./boottent-design.styles.cjs.js"),o=require("./toggleButtonGroup-primitive-CC3iAt_X.cjs");require("react/jsx-runtime");const r=require("./boottent-design.utils.cjs.js"),t=require("./index-DA-vbnGe.cjs"),c=require("./portal-manager-9WO01tNb.cjs");exports.usePortal=i.usePortal;exports.AspectRatio=e.AspectRatio;exports.GridBox=e.GridBox;exports.Box=n.Box;exports.FlexBox=n.FlexBox;exports.PortalProvider=a.PortalProvider;exports.colors=l.colors;exports.Accordion=o.Accordion;exports.AccordionContent=o.AccordionContent;exports.AccordionItem=o.AccordionItem;exports.AccordionTrigger=o.AccordionTrigger;exports.Alert=o.Alert;exports.Button=o.Button;exports.Callout=o.Callout;exports.Dialog=o.Dialog;exports.Dropdown=o.Dropdown;exports.Icon=o.Icon;exports.Input=o.Input;exports.Modal=o.Modal;exports.PortalContainer=o.PortalContainer;exports.Toaster=o.Toaster;exports.buttonVariants=o.buttonVariants;exports.cn=r.cn;exports.getDropdownButtonText=r.getDropdownButtonText;exports.reducer=r.reducer;exports.toast=r.toast;exports.toaster=r.toaster;exports.Multiple=t.Multiple;exports.Single=t.Single;exports.Skeleton=t.Skeleton;exports.Symbols=t.Symbols;exports.Tag=t.Tag;exports.ToggleButtonGroup=t.ToggleButtonGroup;exports.Tooltip=t.Tooltip;exports.tagVariants=t.tagVariants;exports.portalManager=c.portalManager;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { u as t } from "./use-portal-HyR5LGEj.js";
|
|
2
|
-
import { A as e,
|
|
3
|
-
import { B as i } from "./index-
|
|
4
|
-
import { P as x } from "./portal-provider-
|
|
2
|
+
import { A as e, G as n } from "./index-BfapRZRW.js";
|
|
3
|
+
import { B as l, F as i } from "./index-BshWFt1Y.js";
|
|
4
|
+
import { P as x } from "./portal-provider-Z7EnJtHu.js";
|
|
5
5
|
import { colors as m } from "./boottent-design.styles.es.js";
|
|
6
|
-
import { A as u, a as f, b as A, c as B, f as T, B as P, C as M, g as b, D as C, I as D, e as I, M as S, P as G, T as w, d as F } from "./toggleButtonGroup-primitive-
|
|
6
|
+
import { A as u, a as f, b as A, c as B, f as T, B as P, C as M, g as b, D as C, I as D, e as I, M as S, P as G, T as w, d as F } from "./toggleButtonGroup-primitive-DPb6avPH.js";
|
|
7
7
|
import "react/jsx-runtime";
|
|
8
8
|
import { cn as k, getDropdownButtonText as v, reducer as y, toast as R, toaster as h } from "./boottent-design.utils.es.js";
|
|
9
|
-
import { M as q, b as z, S as E, a as H, T as J, c as K, d as L, t as N } from "./index-
|
|
9
|
+
import { M as q, b as z, S as E, a as H, T as J, c as K, d as L, t as N } from "./index-CS-MyqzN.js";
|
|
10
10
|
import { p as Q } from "./portal-manager-nNJ4SIa2.js";
|
|
11
11
|
export {
|
|
12
12
|
u as Accordion,
|
|
@@ -15,13 +15,13 @@ export {
|
|
|
15
15
|
B as AccordionTrigger,
|
|
16
16
|
T as Alert,
|
|
17
17
|
e as AspectRatio,
|
|
18
|
-
|
|
18
|
+
l as Box,
|
|
19
19
|
P as Button,
|
|
20
20
|
M as Callout,
|
|
21
21
|
b as Dialog,
|
|
22
22
|
C as Dropdown,
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
i as FlexBox,
|
|
24
|
+
n as GridBox,
|
|
25
25
|
D as Icon,
|
|
26
26
|
I as Input,
|
|
27
27
|
S as Modal,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./portal-provider-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./portal-provider-BB1ZUJea.cjs");exports.PortalProvider=r.PortalProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./toggleButtonGroup-primitive-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./toggleButtonGroup-primitive-CC3iAt_X.cjs");require("react/jsx-runtime");require("react");const t=require("./index-DA-vbnGe.cjs");exports.Accordion=o.Accordion;exports.AccordionContent=o.AccordionContent;exports.AccordionItem=o.AccordionItem;exports.AccordionTrigger=o.AccordionTrigger;exports.Alert=o.Alert;exports.Button=o.Button;exports.Callout=o.Callout;exports.Dialog=o.Dialog;exports.Dropdown=o.Dropdown;exports.Icon=o.Icon;exports.Input=o.Input;exports.Modal=o.Modal;exports.PortalContainer=o.PortalContainer;exports.Toaster=o.Toaster;exports.buttonVariants=o.buttonVariants;exports.Multiple=t.Multiple;exports.Single=t.Single;exports.Skeleton=t.Skeleton;exports.Symbols=t.Symbols;exports.Tag=t.Tag;exports.ToggleButtonGroup=t.ToggleButtonGroup;exports.Tooltip=t.Tooltip;exports.tagVariants=t.tagVariants;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as r, a as n, b as e, c as i, f as l, B as c, C as g, g as p, D as d, I as u, e as T, M as m, P as A, T as b, d as C } from "./toggleButtonGroup-primitive-
|
|
1
|
+
import { A as r, a as n, b as e, c as i, f as l, B as c, C as g, g as p, D as d, I as u, e as T, M as m, P as A, T as b, d as C } from "./toggleButtonGroup-primitive-DPb6avPH.js";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "react";
|
|
4
|
-
import { M, b as S, S as f, a as B, T as D, c as x, d as P, t as V } from "./index-
|
|
4
|
+
import { M, b as S, S as f, a as B, T as D, c as x, d as P, t as V } from "./index-CS-MyqzN.js";
|
|
5
5
|
export {
|
|
6
6
|
r as Accordion,
|
|
7
7
|
n as AccordionContent,
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as f from "react";
|
|
2
|
+
import { P as g, B as m } from "./index-BshWFt1Y.js";
|
|
3
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
4
|
+
import { cn as v } from "./boottent-design.utils.es.js";
|
|
5
|
+
var u = "AspectRatio", d = f.forwardRef(
|
|
6
|
+
(o, i) => {
|
|
7
|
+
const { ratio: a = 1 / 1, style: r, ...s } = o;
|
|
8
|
+
return /* @__PURE__ */ e(
|
|
9
|
+
"div",
|
|
10
|
+
{
|
|
11
|
+
style: {
|
|
12
|
+
// ensures inner element is contained
|
|
13
|
+
position: "relative",
|
|
14
|
+
// ensures padding bottom trick maths works
|
|
15
|
+
width: "100%",
|
|
16
|
+
paddingBottom: `${100 / a}%`
|
|
17
|
+
},
|
|
18
|
+
"data-radix-aspect-ratio-wrapper": "",
|
|
19
|
+
children: /* @__PURE__ */ e(
|
|
20
|
+
g.div,
|
|
21
|
+
{
|
|
22
|
+
...s,
|
|
23
|
+
ref: i,
|
|
24
|
+
style: {
|
|
25
|
+
...r,
|
|
26
|
+
// ensures children expand in ratio
|
|
27
|
+
position: "absolute",
|
|
28
|
+
top: 0,
|
|
29
|
+
right: 0,
|
|
30
|
+
bottom: 0,
|
|
31
|
+
left: 0
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
)
|
|
35
|
+
}
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
d.displayName = u;
|
|
40
|
+
var R = d;
|
|
41
|
+
const $ = R, w = ({ className: o, columns: i, rows: a, gap: r, style: s, ...p }) => {
|
|
42
|
+
const n = (t) => t ? t >= 1 && t <= 12 ? `grid-cols-${t}` : "grid-cols-auto" : "", c = (t) => t ? t >= 1 && t <= 12 ? `grid-rows-${t} grid-flow-col` : "grid-rows-auto" : "", l = r !== void 0 ? `${r / 4}rem` : void 0;
|
|
43
|
+
return /* @__PURE__ */ e(
|
|
44
|
+
m,
|
|
45
|
+
{
|
|
46
|
+
className: v("grid", n(i), c(a), o),
|
|
47
|
+
style: { gap: l, ...s },
|
|
48
|
+
...p
|
|
49
|
+
}
|
|
50
|
+
);
|
|
51
|
+
};
|
|
52
|
+
export {
|
|
53
|
+
$ as A,
|
|
54
|
+
w as G
|
|
55
|
+
};
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import * as i from "react";
|
|
2
|
+
import { forwardRef as v } from "react";
|
|
3
|
+
import * as C from "react-dom";
|
|
4
|
+
import { jsx as a, Fragment as R } from "react/jsx-runtime";
|
|
5
|
+
import { cn as u } from "./boottent-design.utils.es.js";
|
|
6
|
+
function g(e, r) {
|
|
7
|
+
typeof e == "function" ? e(r) : e != null && (e.current = r);
|
|
8
|
+
}
|
|
9
|
+
function d(...e) {
|
|
10
|
+
return (r) => e.forEach((n) => g(n, r));
|
|
11
|
+
}
|
|
12
|
+
function V(...e) {
|
|
13
|
+
return i.useCallback(d(...e), e);
|
|
14
|
+
}
|
|
15
|
+
var h = i.forwardRef((e, r) => {
|
|
16
|
+
const { children: n, ...t } = e, o = i.Children.toArray(n), s = o.find(E);
|
|
17
|
+
if (s) {
|
|
18
|
+
const l = s.props.children, c = o.map((m) => m === s ? i.Children.count(l) > 1 ? i.Children.only(null) : i.isValidElement(l) ? l.props.children : null : m);
|
|
19
|
+
return /* @__PURE__ */ a(f, { ...t, ref: r, children: i.isValidElement(l) ? i.cloneElement(l, void 0, c) : null });
|
|
20
|
+
}
|
|
21
|
+
return /* @__PURE__ */ a(f, { ...t, ref: r, children: n });
|
|
22
|
+
});
|
|
23
|
+
h.displayName = "Slot";
|
|
24
|
+
var f = i.forwardRef((e, r) => {
|
|
25
|
+
const { children: n, ...t } = e;
|
|
26
|
+
if (i.isValidElement(n)) {
|
|
27
|
+
const o = N(n);
|
|
28
|
+
return i.cloneElement(n, {
|
|
29
|
+
...x(t, n.props),
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
ref: r ? d(r, o) : o
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
return i.Children.count(n) > 1 ? i.Children.only(null) : null;
|
|
35
|
+
});
|
|
36
|
+
f.displayName = "SlotClone";
|
|
37
|
+
var w = ({ children: e }) => /* @__PURE__ */ a(R, { children: e });
|
|
38
|
+
function E(e) {
|
|
39
|
+
return i.isValidElement(e) && e.type === w;
|
|
40
|
+
}
|
|
41
|
+
function x(e, r) {
|
|
42
|
+
const n = { ...r };
|
|
43
|
+
for (const t in r) {
|
|
44
|
+
const o = e[t], s = r[t];
|
|
45
|
+
/^on[A-Z]/.test(t) ? o && s ? n[t] = (...c) => {
|
|
46
|
+
s(...c), o(...c);
|
|
47
|
+
} : o && (n[t] = o) : t === "style" ? n[t] = { ...o, ...s } : t === "className" && (n[t] = [o, s].filter(Boolean).join(" "));
|
|
48
|
+
}
|
|
49
|
+
return { ...e, ...n };
|
|
50
|
+
}
|
|
51
|
+
function N(e) {
|
|
52
|
+
var t, o;
|
|
53
|
+
let r = (t = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : t.get, n = r && "isReactWarning" in r && r.isReactWarning;
|
|
54
|
+
return n ? e.ref : (r = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = r && "isReactWarning" in r && r.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
55
|
+
}
|
|
56
|
+
var S = [
|
|
57
|
+
"a",
|
|
58
|
+
"button",
|
|
59
|
+
"div",
|
|
60
|
+
"form",
|
|
61
|
+
"h2",
|
|
62
|
+
"h3",
|
|
63
|
+
"img",
|
|
64
|
+
"input",
|
|
65
|
+
"label",
|
|
66
|
+
"li",
|
|
67
|
+
"nav",
|
|
68
|
+
"ol",
|
|
69
|
+
"p",
|
|
70
|
+
"span",
|
|
71
|
+
"svg",
|
|
72
|
+
"ul"
|
|
73
|
+
], j = S.reduce((e, r) => {
|
|
74
|
+
const n = i.forwardRef((t, o) => {
|
|
75
|
+
const { asChild: s, ...l } = t, c = s ? h : r;
|
|
76
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ a(c, { ...l, ref: o });
|
|
77
|
+
});
|
|
78
|
+
return n.displayName = `Primitive.${r}`, { ...e, [r]: n };
|
|
79
|
+
}, {});
|
|
80
|
+
function D(e, r) {
|
|
81
|
+
e && C.flushSync(() => e.dispatchEvent(r));
|
|
82
|
+
}
|
|
83
|
+
const p = v(({ ...e }, r) => /* @__PURE__ */ a("div", { ref: r, ...e })), y = ({ className: e, ...r }) => /* @__PURE__ */ a(
|
|
84
|
+
p,
|
|
85
|
+
{
|
|
86
|
+
className: u("flex", e),
|
|
87
|
+
...r
|
|
88
|
+
}
|
|
89
|
+
);
|
|
90
|
+
y.Col = ({ className: e, ...r }) => /* @__PURE__ */ a(
|
|
91
|
+
p,
|
|
92
|
+
{
|
|
93
|
+
className: u("flex flex-col items-start", e),
|
|
94
|
+
...r
|
|
95
|
+
}
|
|
96
|
+
);
|
|
97
|
+
y.Row = ({ className: e, ...r }) => /* @__PURE__ */ a(
|
|
98
|
+
p,
|
|
99
|
+
{
|
|
100
|
+
className: u("flex flex-row justify-start", e),
|
|
101
|
+
...r
|
|
102
|
+
}
|
|
103
|
+
);
|
|
104
|
+
export {
|
|
105
|
+
p as B,
|
|
106
|
+
y as F,
|
|
107
|
+
j as P,
|
|
108
|
+
h as S,
|
|
109
|
+
w as a,
|
|
110
|
+
d as c,
|
|
111
|
+
D as d,
|
|
112
|
+
V as u
|
|
113
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { cn as
|
|
3
|
-
import { colors as
|
|
4
|
-
import { h as
|
|
5
|
-
import * as
|
|
6
|
-
function
|
|
1
|
+
import { jsx as e, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import { cn as w } from "./boottent-design.utils.es.js";
|
|
3
|
+
import { colors as H } from "./boottent-design.styles.es.js";
|
|
4
|
+
import { h as b, i as M, j as x, k as R, l as g, m as Z, n as f, o as v } from "./toggleButtonGroup-primitive-DPb6avPH.js";
|
|
5
|
+
import * as p from "react";
|
|
6
|
+
function K({
|
|
7
7
|
className: l,
|
|
8
8
|
...t
|
|
9
9
|
}) {
|
|
@@ -11,12 +11,12 @@ function _({
|
|
|
11
11
|
"div",
|
|
12
12
|
{
|
|
13
13
|
role: "presentation",
|
|
14
|
-
className:
|
|
14
|
+
className: w("animate-pulse rounded-md bg-grey-200/80", l),
|
|
15
15
|
...t
|
|
16
16
|
}
|
|
17
17
|
);
|
|
18
18
|
}
|
|
19
|
-
const
|
|
19
|
+
const L = ({
|
|
20
20
|
size: l = "24",
|
|
21
21
|
fill: t = "#000000",
|
|
22
22
|
className: i
|
|
@@ -39,9 +39,9 @@ const M = ({
|
|
|
39
39
|
}
|
|
40
40
|
)
|
|
41
41
|
}
|
|
42
|
-
),
|
|
42
|
+
), y = ({
|
|
43
43
|
className: l,
|
|
44
|
-
fill: t =
|
|
44
|
+
fill: t = H.main[600],
|
|
45
45
|
size: i = "140"
|
|
46
46
|
}) => /* @__PURE__ */ e(
|
|
47
47
|
"svg",
|
|
@@ -62,11 +62,11 @@ const M = ({
|
|
|
62
62
|
}
|
|
63
63
|
)
|
|
64
64
|
}
|
|
65
|
-
),
|
|
65
|
+
), T = ({
|
|
66
66
|
size: l = "24",
|
|
67
67
|
fill: t = "#FFFFFF",
|
|
68
68
|
className: i
|
|
69
|
-
}) => /* @__PURE__ */
|
|
69
|
+
}) => /* @__PURE__ */ a(
|
|
70
70
|
"svg",
|
|
71
71
|
{
|
|
72
72
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -88,11 +88,11 @@ const M = ({
|
|
|
88
88
|
)
|
|
89
89
|
]
|
|
90
90
|
}
|
|
91
|
-
),
|
|
91
|
+
), B = ({
|
|
92
92
|
size: l = "24",
|
|
93
93
|
fill: t = "none",
|
|
94
94
|
className: i
|
|
95
|
-
}) => /* @__PURE__ */
|
|
95
|
+
}) => /* @__PURE__ */ a(
|
|
96
96
|
"svg",
|
|
97
97
|
{
|
|
98
98
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -140,11 +140,11 @@ const M = ({
|
|
|
140
140
|
)
|
|
141
141
|
]
|
|
142
142
|
}
|
|
143
|
-
),
|
|
143
|
+
), F = ({
|
|
144
144
|
size: l = "24",
|
|
145
145
|
fill: t = "none",
|
|
146
146
|
className: i
|
|
147
|
-
}) => /* @__PURE__ */
|
|
147
|
+
}) => /* @__PURE__ */ a(
|
|
148
148
|
"svg",
|
|
149
149
|
{
|
|
150
150
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -184,11 +184,11 @@ const M = ({
|
|
|
184
184
|
)
|
|
185
185
|
]
|
|
186
186
|
}
|
|
187
|
-
),
|
|
187
|
+
), k = ({
|
|
188
188
|
size: l = "20",
|
|
189
189
|
fill: t = "none",
|
|
190
190
|
className: i
|
|
191
|
-
}) => /* @__PURE__ */
|
|
191
|
+
}) => /* @__PURE__ */ a(
|
|
192
192
|
"svg",
|
|
193
193
|
{
|
|
194
194
|
width: l,
|
|
@@ -200,7 +200,7 @@ const M = ({
|
|
|
200
200
|
children: [
|
|
201
201
|
/* @__PURE__ */ e("rect", { x: "0.5", y: "0.5", width: "19", height: "19", rx: "9.5", fill: "white" }),
|
|
202
202
|
/* @__PURE__ */ e("rect", { x: "0.5", y: "0.5", width: "19", height: "19", rx: "9.5", stroke: "#DDE2E6" }),
|
|
203
|
-
/* @__PURE__ */
|
|
203
|
+
/* @__PURE__ */ a("g", { clipPath: "url(#clip0_4596_247326)", children: [
|
|
204
204
|
/* @__PURE__ */ e(
|
|
205
205
|
"path",
|
|
206
206
|
{
|
|
@@ -249,7 +249,7 @@ const M = ({
|
|
|
249
249
|
) }) })
|
|
250
250
|
]
|
|
251
251
|
}
|
|
252
|
-
),
|
|
252
|
+
), E = ({
|
|
253
253
|
size: l = "24",
|
|
254
254
|
fill: t = "black",
|
|
255
255
|
className: i
|
|
@@ -272,11 +272,11 @@ const M = ({
|
|
|
272
272
|
}
|
|
273
273
|
)
|
|
274
274
|
}
|
|
275
|
-
),
|
|
275
|
+
), A = ({
|
|
276
276
|
size: l = "20",
|
|
277
277
|
fill: t = "none",
|
|
278
278
|
className: i
|
|
279
|
-
}) => /* @__PURE__ */
|
|
279
|
+
}) => /* @__PURE__ */ a(
|
|
280
280
|
"svg",
|
|
281
281
|
{
|
|
282
282
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -298,7 +298,7 @@ const M = ({
|
|
|
298
298
|
)
|
|
299
299
|
]
|
|
300
300
|
}
|
|
301
|
-
),
|
|
301
|
+
), D = ({
|
|
302
302
|
size: l = "20",
|
|
303
303
|
fill: t = "none",
|
|
304
304
|
className: i
|
|
@@ -321,7 +321,7 @@ const M = ({
|
|
|
321
321
|
}
|
|
322
322
|
)
|
|
323
323
|
}
|
|
324
|
-
),
|
|
324
|
+
), G = ({
|
|
325
325
|
size: l = "20",
|
|
326
326
|
fill: t = "none",
|
|
327
327
|
className: i
|
|
@@ -344,7 +344,7 @@ const M = ({
|
|
|
344
344
|
}
|
|
345
345
|
)
|
|
346
346
|
}
|
|
347
|
-
),
|
|
347
|
+
), N = ({
|
|
348
348
|
size: l = "22",
|
|
349
349
|
fill: t = "none",
|
|
350
350
|
className: i
|
|
@@ -367,19 +367,19 @@ const M = ({
|
|
|
367
367
|
}
|
|
368
368
|
)
|
|
369
369
|
}
|
|
370
|
-
),
|
|
371
|
-
Apple:
|
|
372
|
-
FacebookRound:
|
|
373
|
-
Google:
|
|
374
|
-
GooglePlaystore:
|
|
375
|
-
GoogleRound:
|
|
376
|
-
KakaoMessage:
|
|
377
|
-
KakaoRound:
|
|
378
|
-
LinkedIn:
|
|
379
|
-
NaverBlog:
|
|
380
|
-
YouTube:
|
|
381
|
-
Boottent:
|
|
382
|
-
},
|
|
370
|
+
), O = {
|
|
371
|
+
Apple: L,
|
|
372
|
+
FacebookRound: T,
|
|
373
|
+
Google: B,
|
|
374
|
+
GooglePlaystore: F,
|
|
375
|
+
GoogleRound: k,
|
|
376
|
+
KakaoMessage: E,
|
|
377
|
+
KakaoRound: A,
|
|
378
|
+
LinkedIn: D,
|
|
379
|
+
NaverBlog: G,
|
|
380
|
+
YouTube: N,
|
|
381
|
+
Boottent: y
|
|
382
|
+
}, S = b(
|
|
383
383
|
"inline-flex items-center justify-center whitespace-nowrap gap-0.5",
|
|
384
384
|
{
|
|
385
385
|
variants: {
|
|
@@ -415,83 +415,88 @@ const M = ({
|
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
417
|
);
|
|
418
|
-
function
|
|
419
|
-
return /* @__PURE__ */
|
|
418
|
+
function Y({ className: l, variant: t, size: i, shape: s, icLeft: n, icRight: r, ...o }) {
|
|
419
|
+
return /* @__PURE__ */ a(
|
|
420
420
|
"div",
|
|
421
421
|
{
|
|
422
|
-
className:
|
|
423
|
-
...
|
|
422
|
+
className: w(S({ variant: t, size: i, shape: s }), l),
|
|
423
|
+
...o,
|
|
424
424
|
children: [
|
|
425
425
|
n && /* @__PURE__ */ e("div", { children: n }),
|
|
426
426
|
" ",
|
|
427
|
-
/* @__PURE__ */ e("div", { children:
|
|
427
|
+
/* @__PURE__ */ e("div", { children: o.children }),
|
|
428
428
|
r && /* @__PURE__ */ e("div", { children: r }),
|
|
429
429
|
" "
|
|
430
430
|
]
|
|
431
431
|
}
|
|
432
432
|
);
|
|
433
433
|
}
|
|
434
|
-
const
|
|
434
|
+
const m = ({
|
|
435
435
|
label: l,
|
|
436
|
-
variant: t,
|
|
437
|
-
size: i,
|
|
436
|
+
variant: t = "secondary",
|
|
437
|
+
size: i = "md",
|
|
438
438
|
children: s,
|
|
439
439
|
icLeft: n,
|
|
440
440
|
icRight: r,
|
|
441
|
-
position:
|
|
442
|
-
bubbleTip:
|
|
441
|
+
position: o = "top-center",
|
|
442
|
+
bubbleTip: u = !0,
|
|
443
443
|
forceMount: d
|
|
444
444
|
}) => {
|
|
445
|
-
const [C,
|
|
446
|
-
|
|
445
|
+
const [C, h] = p.useState(!1), c = p.useRef(null), V = () => {
|
|
446
|
+
h(!0), c.current && clearTimeout(c.current), c.current = setTimeout(() => h(!1), 3e3);
|
|
447
|
+
};
|
|
448
|
+
return p.useEffect(() => () => {
|
|
449
|
+
c.current && clearTimeout(c.current);
|
|
450
|
+
}, []), /* @__PURE__ */ e(M, { delayDuration: 200, children: /* @__PURE__ */ a(x, { delayDuration: 200, children: [
|
|
447
451
|
/* @__PURE__ */ e(
|
|
448
|
-
|
|
452
|
+
R,
|
|
449
453
|
{
|
|
450
454
|
asChild: !0,
|
|
451
455
|
"data-state": C ? "delayed-open" : "closed",
|
|
452
|
-
onMouseLeave: () =>
|
|
453
|
-
onMouseEnter: () =>
|
|
456
|
+
onMouseLeave: g ? void 0 : () => h(!1),
|
|
457
|
+
onMouseEnter: g ? void 0 : () => h(!0),
|
|
458
|
+
onClick: g ? V : void 0,
|
|
454
459
|
children: s
|
|
455
460
|
}
|
|
456
461
|
),
|
|
457
462
|
/* @__PURE__ */ e(
|
|
458
|
-
|
|
463
|
+
Z,
|
|
459
464
|
{
|
|
460
465
|
variant: t,
|
|
461
466
|
size: i,
|
|
462
467
|
icLeft: n,
|
|
463
468
|
icRight: r,
|
|
464
|
-
position:
|
|
469
|
+
position: o,
|
|
465
470
|
forceMount: d || C || void 0,
|
|
466
|
-
bubbleTip:
|
|
471
|
+
bubbleTip: u,
|
|
467
472
|
children: l
|
|
468
473
|
}
|
|
469
474
|
)
|
|
470
475
|
] }) });
|
|
471
|
-
},
|
|
476
|
+
}, _ = ({
|
|
472
477
|
options: l,
|
|
473
478
|
variant: t = "outline",
|
|
474
479
|
theme: i = "primary",
|
|
475
480
|
size: s = "md",
|
|
476
481
|
shape: n = "square",
|
|
477
482
|
value: r,
|
|
478
|
-
onChange:
|
|
479
|
-
nullable:
|
|
483
|
+
onChange: o,
|
|
484
|
+
nullable: u = !0,
|
|
480
485
|
className: d
|
|
481
486
|
}) => /* @__PURE__ */ e(
|
|
482
|
-
|
|
487
|
+
f,
|
|
483
488
|
{
|
|
484
489
|
type: "single",
|
|
485
490
|
value: r,
|
|
486
491
|
onValueChange: (C) => {
|
|
487
|
-
!
|
|
492
|
+
!u && !C || o(C);
|
|
488
493
|
},
|
|
489
494
|
theme: i,
|
|
490
495
|
size: s,
|
|
491
496
|
shape: n,
|
|
492
497
|
className: d,
|
|
493
498
|
children: l.map((C) => C.tooltip ? /* @__PURE__ */ e(
|
|
494
|
-
|
|
499
|
+
m,
|
|
495
500
|
{
|
|
496
501
|
label: C.tooltip.label,
|
|
497
502
|
variant: C.tooltip.variant,
|
|
@@ -501,7 +506,7 @@ const p = ({
|
|
|
501
506
|
position: C.tooltip.position,
|
|
502
507
|
bubbleTip: C.tooltip.bubbleTip,
|
|
503
508
|
children: /* @__PURE__ */ e(
|
|
504
|
-
|
|
509
|
+
v,
|
|
505
510
|
{
|
|
506
511
|
value: C.value,
|
|
507
512
|
checked: r === C.value,
|
|
@@ -513,7 +518,7 @@ const p = ({
|
|
|
513
518
|
},
|
|
514
519
|
C.value
|
|
515
520
|
) : /* @__PURE__ */ e(
|
|
516
|
-
|
|
521
|
+
v,
|
|
517
522
|
{
|
|
518
523
|
value: C.value,
|
|
519
524
|
checked: r === C.value,
|
|
@@ -524,27 +529,27 @@ const p = ({
|
|
|
524
529
|
C.value
|
|
525
530
|
))
|
|
526
531
|
}
|
|
527
|
-
),
|
|
532
|
+
), j = ({
|
|
528
533
|
options: l,
|
|
529
534
|
variant: t = "outline",
|
|
530
535
|
theme: i = "primary",
|
|
531
536
|
size: s = "md",
|
|
532
537
|
shape: n = "square",
|
|
533
538
|
value: r,
|
|
534
|
-
onChange:
|
|
535
|
-
className:
|
|
539
|
+
onChange: o,
|
|
540
|
+
className: u
|
|
536
541
|
}) => /* @__PURE__ */ e(
|
|
537
|
-
|
|
542
|
+
f,
|
|
538
543
|
{
|
|
539
544
|
type: "multiple",
|
|
540
545
|
value: r,
|
|
541
|
-
onValueChange:
|
|
546
|
+
onValueChange: o,
|
|
542
547
|
theme: i,
|
|
543
548
|
size: s,
|
|
544
549
|
shape: n,
|
|
545
|
-
className:
|
|
550
|
+
className: u,
|
|
546
551
|
children: l.map((d) => d.tooltip ? /* @__PURE__ */ e(
|
|
547
|
-
|
|
552
|
+
m,
|
|
548
553
|
{
|
|
549
554
|
label: d.tooltip.label,
|
|
550
555
|
variant: d.tooltip.variant,
|
|
@@ -554,7 +559,7 @@ const p = ({
|
|
|
554
559
|
position: d.tooltip.position,
|
|
555
560
|
bubbleTip: d.tooltip.bubbleTip,
|
|
556
561
|
children: /* @__PURE__ */ e(
|
|
557
|
-
|
|
562
|
+
v,
|
|
558
563
|
{
|
|
559
564
|
value: d.value,
|
|
560
565
|
checked: (r || []).includes(d.value),
|
|
@@ -566,7 +571,7 @@ const p = ({
|
|
|
566
571
|
},
|
|
567
572
|
d.value
|
|
568
573
|
) : /* @__PURE__ */ e(
|
|
569
|
-
|
|
574
|
+
v,
|
|
570
575
|
{
|
|
571
576
|
value: d.value,
|
|
572
577
|
checked: (r || []).includes(d.value),
|
|
@@ -577,17 +582,17 @@ const p = ({
|
|
|
577
582
|
d.value
|
|
578
583
|
))
|
|
579
584
|
}
|
|
580
|
-
),
|
|
581
|
-
Single:
|
|
582
|
-
Multiple:
|
|
585
|
+
), J = {
|
|
586
|
+
Single: _,
|
|
587
|
+
Multiple: j
|
|
583
588
|
};
|
|
584
589
|
export {
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
590
|
+
j as M,
|
|
591
|
+
K as S,
|
|
592
|
+
Y as T,
|
|
593
|
+
O as a,
|
|
594
|
+
_ as b,
|
|
595
|
+
J as c,
|
|
596
|
+
m as d,
|
|
597
|
+
S as t
|
|
593
598
|
};
|