boottent-design 0.1.75 → 0.1.76

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 CHANGED
@@ -29,13 +29,13 @@ React, Vite, TypeScript, TailwindCSS, Radix-UI를 사용해 만든 부트텐트
29
29
  ### 설치
30
30
 
31
31
  ```sh
32
- yarn add boottent-design@0.1.69
32
+ yarn add boottent-design@latest
33
33
  ```
34
34
 
35
35
  또는
36
36
 
37
37
  ```sh
38
- npm install boottent-design@0.1.67
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-D6YAvWdo.cjs"),o=require("./index-CZf57oSO.cjs");exports.AspectRatio=e.AspectRatio;exports.FlexBox=e.FlexBox;exports.GridBox=e.GridBox;exports.Box=o.Box;
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, F as r, G as s } from "./index-DD8Ojcka.js";
2
- import { B as t } from "./index-BXP6oKuL.js";
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
- t as Box,
6
- r as FlexBox,
7
- s as GridBox
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 n=require("./use-portal-BhH8jBDX.cjs"),e=require("./index-D6YAvWdo.cjs"),i=require("./index-CZf57oSO.cjs"),a=require("./portal-provider-Cb7zYvmj.cjs"),l=require("./boottent-design.styles.cjs.js"),o=require("./toggleButtonGroup-primitive-Btop14ud.cjs");require("react/jsx-runtime");const r=require("./boottent-design.utils.cjs.js"),t=require("./index-BN8YyhmH.cjs"),c=require("./portal-manager-9WO01tNb.cjs");exports.usePortal=n.usePortal;exports.AspectRatio=e.AspectRatio;exports.FlexBox=e.FlexBox;exports.GridBox=e.GridBox;exports.Box=i.Box;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
+ "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-HOCziFPu.cjs"),l=require("./boottent-design.styles.cjs.js"),o=require("./toggleButtonGroup-primitive-BXtN42o0.cjs");require("react/jsx-runtime");const r=require("./boottent-design.utils.cjs.js"),t=require("./index-KoPz-kAj.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, F as n, G as p } from "./index-DD8Ojcka.js";
3
- import { B as i } from "./index-BXP6oKuL.js";
4
- import { P as x } from "./portal-provider-ChQPna7K.js";
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-DQhrTkX-.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-Ci7jcgoo.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-8daUH1wv.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-Ct8xkpa5.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-CL21svHz.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
- i as Box,
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
- n as FlexBox,
24
- p as GridBox,
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-Cb7zYvmj.cjs");exports.PortalProvider=r.PortalProvider;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./portal-provider-HOCziFPu.cjs");exports.PortalProvider=r.PortalProvider;
@@ -1,4 +1,4 @@
1
- import { P } from "./portal-provider-ChQPna7K.js";
1
+ import { P } from "./portal-provider-DQhrTkX-.js";
2
2
  export {
3
3
  P as PortalProvider
4
4
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./toggleButtonGroup-primitive-Btop14ud.cjs");require("react/jsx-runtime");require("react");const t=require("./index-BN8YyhmH.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
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./toggleButtonGroup-primitive-BXtN42o0.cjs");require("react/jsx-runtime");require("react");const t=require("./index-KoPz-kAj.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-Ci7jcgoo.js";
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-8daUH1wv.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-Ct8xkpa5.js";
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-CL21svHz.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,7 +1,7 @@
1
- import { jsx as e, jsxs as o } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as a } from "react/jsx-runtime";
2
2
  import { cn as g } from "./boottent-design.utils.es.js";
3
3
  import { colors as w } from "./boottent-design.styles.es.js";
4
- import { h as V, i as f, j as H, k as m, l as b, m as v, n as u } from "./toggleButtonGroup-primitive-Ci7jcgoo.js";
4
+ import { h as V, i as f, j as m, k as H, l as b, m as v, n as u } from "./toggleButtonGroup-primitive-8daUH1wv.js";
5
5
  import * as x from "react";
6
6
  function _({
7
7
  className: l,
@@ -66,7 +66,7 @@ const M = ({
66
66
  size: l = "24",
67
67
  fill: t = "#FFFFFF",
68
68
  className: i
69
- }) => /* @__PURE__ */ o(
69
+ }) => /* @__PURE__ */ a(
70
70
  "svg",
71
71
  {
72
72
  xmlns: "http://www.w3.org/2000/svg",
@@ -92,7 +92,7 @@ const M = ({
92
92
  size: l = "24",
93
93
  fill: t = "none",
94
94
  className: i
95
- }) => /* @__PURE__ */ o(
95
+ }) => /* @__PURE__ */ a(
96
96
  "svg",
97
97
  {
98
98
  xmlns: "http://www.w3.org/2000/svg",
@@ -144,7 +144,7 @@ const M = ({
144
144
  size: l = "24",
145
145
  fill: t = "none",
146
146
  className: i
147
- }) => /* @__PURE__ */ o(
147
+ }) => /* @__PURE__ */ a(
148
148
  "svg",
149
149
  {
150
150
  xmlns: "http://www.w3.org/2000/svg",
@@ -188,7 +188,7 @@ const M = ({
188
188
  size: l = "20",
189
189
  fill: t = "none",
190
190
  className: i
191
- }) => /* @__PURE__ */ o(
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__ */ o("g", { clipPath: "url(#clip0_4596_247326)", children: [
203
+ /* @__PURE__ */ a("g", { clipPath: "url(#clip0_4596_247326)", children: [
204
204
  /* @__PURE__ */ e(
205
205
  "path",
206
206
  {
@@ -276,7 +276,7 @@ const M = ({
276
276
  size: l = "20",
277
277
  fill: t = "none",
278
278
  className: i
279
- }) => /* @__PURE__ */ o(
279
+ }) => /* @__PURE__ */ a(
280
280
  "svg",
281
281
  {
282
282
  xmlns: "http://www.w3.org/2000/svg",
@@ -415,16 +415,16 @@ const M = ({
415
415
  }
416
416
  }
417
417
  );
418
- function I({ className: l, variant: t, size: i, shape: s, icLeft: n, icRight: r, ...a }) {
419
- return /* @__PURE__ */ o(
418
+ function I({ className: l, variant: t, size: i, shape: s, icLeft: n, icRight: r, ...o }) {
419
+ return /* @__PURE__ */ a(
420
420
  "div",
421
421
  {
422
422
  className: g(D({ variant: t, size: i, shape: s }), l),
423
- ...a,
423
+ ...o,
424
424
  children: [
425
425
  n && /* @__PURE__ */ e("div", { children: n }),
426
426
  " ",
427
- /* @__PURE__ */ e("div", { children: a.children }),
427
+ /* @__PURE__ */ e("div", { children: o.children }),
428
428
  r && /* @__PURE__ */ e("div", { children: r }),
429
429
  " "
430
430
  ]
@@ -433,19 +433,19 @@ function I({ className: l, variant: t, size: i, shape: s, icLeft: n, icRight: r,
433
433
  }
434
434
  const p = ({
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: a,
442
- bubbleTip: h,
441
+ position: o = "top-center",
442
+ bubbleTip: h = !0,
443
443
  forceMount: d
444
444
  }) => {
445
445
  const [C, c] = x.useState(!1);
446
- return /* @__PURE__ */ e(f, { delayDuration: 200, children: /* @__PURE__ */ o(H, { delayDuration: 200, children: [
446
+ return /* @__PURE__ */ e(f, { delayDuration: 200, children: /* @__PURE__ */ a(m, { delayDuration: 200, children: [
447
447
  /* @__PURE__ */ e(
448
- m,
448
+ H,
449
449
  {
450
450
  asChild: !0,
451
451
  "data-state": C ? "delayed-open" : "closed",
@@ -461,7 +461,7 @@ const p = ({
461
461
  size: i,
462
462
  icLeft: n,
463
463
  icRight: r,
464
- position: a,
464
+ position: o,
465
465
  forceMount: d || C || void 0,
466
466
  bubbleTip: h,
467
467
  children: l
@@ -475,7 +475,7 @@ const p = ({
475
475
  size: s = "md",
476
476
  shape: n = "square",
477
477
  value: r,
478
- onChange: a,
478
+ onChange: o,
479
479
  nullable: h = !0,
480
480
  className: d
481
481
  }) => /* @__PURE__ */ e(
@@ -484,7 +484,7 @@ const p = ({
484
484
  type: "single",
485
485
  value: r,
486
486
  onValueChange: (C) => {
487
- !h && !C || a(C);
487
+ !h && !C || o(C);
488
488
  },
489
489
  theme: i,
490
490
  size: s,
@@ -531,14 +531,14 @@ const p = ({
531
531
  size: s = "md",
532
532
  shape: n = "square",
533
533
  value: r,
534
- onChange: a,
534
+ onChange: o,
535
535
  className: h
536
536
  }) => /* @__PURE__ */ e(
537
537
  v,
538
538
  {
539
539
  type: "multiple",
540
540
  value: r,
541
- onValueChange: a,
541
+ onValueChange: o,
542
542
  theme: i,
543
543
  size: s,
544
544
  shape: n,
@@ -0,0 +1 @@
1
+ "use strict";const f=require("react"),n=require("./index-Ly7gJulk.cjs"),a=require("react/jsx-runtime"),g=require("./boottent-design.utils.cjs.js");function R(t){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(i,r,o.get?o:{enumerable:!0,get:()=>t[r]})}}return i.default=t,Object.freeze(i)}const v=R(f);var x="AspectRatio",c=v.forwardRef((t,i)=>{const{ratio:r=1/1,style:o,...s}=t;return a.jsx("div",{style:{position:"relative",width:"100%",paddingBottom:`${100/r}%`},"data-radix-aspect-ratio-wrapper":"",children:a.jsx(n.Primitive.div,{...s,ref:i,style:{...o,position:"absolute",top:0,right:0,bottom:0,left:0}})})});c.displayName=x;var b=c;const j=b,m=({className:t,columns:i,rows:r,gap:o,style:s,...d})=>{const u=e=>e?e>=1&&e<=12?`grid-cols-${e}`:"grid-cols-auto":"",l=e=>e?e>=1&&e<=12?`grid-rows-${e} grid-flow-col`:"grid-rows-auto":"",p=o!==void 0?`${o/4}rem`:void 0;return a.jsx(n.Box,{className:g.cn("grid",u(i),l(r),t),style:{gap:p,...s},...d})};exports.AspectRatio=j;exports.GridBox=m;
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),g=require("./boottent-design.utils.cjs.js"),w=require("./boottent-design.styles.cjs.js"),r=require("./toggleButtonGroup-primitive-Btop14ud.cjs"),f=require("react");function V(l){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(l){for(const i in l)if(i!=="default"){const s=Object.getOwnPropertyDescriptor(l,i);Object.defineProperty(t,i,s.get?s:{enumerable:!0,get:()=>l[i]})}}return t.default=l,Object.freeze(t)}const H=V(f);function j({className:l,...t}){return e.jsx("div",{role:"presentation",className:g.cn("animate-pulse rounded-md bg-grey-200/80",l),...t})}const m=({size:l="24",fill:t="#000000",className:i})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 24 24",fill:"none",className:i,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.95557 21.9477C10.2363 21.9477 10.798 21.0602 12.3933 21.0602C13.9887 21.0602 14.3706 21.914 15.7862 21.914C17.2017 21.914 18.1117 20.5883 18.9993 19.2851C19.9879 17.7909 20.3924 16.3304 20.4261 16.263C20.3362 16.2406 17.6624 15.1059 17.6624 11.949C17.6624 9.20773 19.7745 7.97193 19.8868 7.88205C18.4937 5.81489 16.3704 5.76995 15.7974 5.76995C14.2358 5.76995 12.9551 6.74736 12.1462 6.74736C11.2811 6.74736 10.1352 5.82612 8.77582 5.82612C6.19187 5.82612 3.57422 8.0281 3.57422 12.1737C3.57422 14.7464 4.55163 17.4764 5.74249 19.2402C6.76483 20.7344 7.6636 21.959 8.95557 21.959V21.9477ZM12.2473 5.52279C13.1798 5.52279 14.3594 4.87119 15.0559 4.00613C15.6851 3.21971 16.1457 2.11872 16.1457 1.01773C16.1457 0.87168 16.1345 0.714396 16.1007 0.602051C15.0559 0.646989 13.8089 1.32106 13.0562 2.23106C12.4608 2.92761 11.9215 4.00612 11.9215 5.11835C11.9215 5.27563 11.944 5.44415 11.9664 5.50032C12.0338 5.51156 12.135 5.52279 12.2473 5.52279Z",fill:t})}),b=({className:l,fill:t=w.colors.main[600],size:i="140"})=>e.jsx("svg",{width:i,height:`${Number(i)*124/977}`,viewBox:"0 0 977 124",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:l,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M93 62C93 99.7533 117.112 124 151 124C185.051 124 209 99.7533 209 62C209 24.084 185.051 0 151 0C117.112 0 93 24.084 93 62ZM194.989 62C194.989 89.9895 178.86 110.656 151 110.656C123.303 110.656 107.174 89.9895 107.174 62C107.174 34.0105 123.303 13.3438 151 13.3438C178.86 13.3438 194.989 33.8478 194.989 62ZM278 124C244.112 124 220 99.7533 220 62C220 24.084 244.112 0 278 0C312.051 0 336 24.084 336 62C336 99.7533 312.051 124 278 124ZM278 110.656C305.86 110.656 321.989 89.9895 321.989 62C321.989 33.8478 305.86 13.3438 278 13.3438C250.303 13.3438 234.174 34.0105 234.174 62C234.174 89.9895 250.303 110.656 278 110.656ZM390.078 122H379.922C378.775 122 378.119 121.346 378.119 120.201V14.9155H338.638C337.491 14.9155 337 14.2616 337 13.1171V3.63487C337 2.65395 337.491 2 338.638 2H431.362C432.345 2 433 2.65395 433 3.63487V13.1171C433 14.2616 432.345 14.9155 431.362 14.9155H391.881V120.201C391.881 121.346 391.225 122 390.078 122ZM42.9184 122H1.79507C0.652752 122 0 121.346 0 120.201V3.63487C0 2.65395 0.652752 2 1.79507 2H40.797C68.0493 2 80.2884 15.2425 80.2884 32.4086C80.2884 45.3242 74.0873 54.8064 62.3378 59.2206C78.167 63.1443 86 73.444 86 88.4848C86 108.267 73.2713 122 42.9184 122ZM13.7078 14.752V53.662H40.9602C58.5844 53.662 66.4175 46.3051 66.4175 34.207C66.4175 22.2724 57.7685 14.752 39.981 14.752H13.7078ZM13.7078 66.2505V109.084H42.9184C62.6641 109.084 71.9659 101.237 71.9659 87.5039C71.9659 73.9345 62.6641 66.2505 42.9184 66.2505H13.7078ZM923.922 122H934.078C935.225 122 935.881 121.346 935.881 120.201V14.9155H975.362C976.345 14.9155 977 14.2616 977 13.1171V3.63487C977 2.65395 976.345 2 975.362 2H882.638C881.491 2 881 2.65395 881 3.63487V13.1171C881 14.2616 881.491 14.9155 882.638 14.9155H922.119V120.201C922.119 121.346 922.775 122 923.922 122ZM787.625 122H777.801C776.655 122 776 121.346 776 120.201V3.63487C776 2.65395 776.655 2 777.801 2H788.771C789.754 2 790.245 2.32697 790.9 3.14441L855.738 99.7655V3.63487C855.738 2.65395 856.393 2 857.539 2H867.363C868.345 2 869 2.65395 869 3.63487V120.201C869 121.346 868.345 122 867.363 122H856.393C855.41 122 854.919 121.673 854.264 120.855L789.262 24.0708V120.201C789.262 121.346 788.607 122 787.625 122ZM687.806 122H762.358C763.343 122 764 121.346 764 120.201V110.719C764 109.738 763.343 109.084 762.358 109.084H699.794V66.2505H755.133C756.118 66.2505 756.775 65.5966 756.775 64.6157V55.2969C756.775 54.1525 756.118 53.4985 755.133 53.4985H699.794V14.9155H760.387C761.537 14.9155 762.194 14.2616 762.194 13.1171V3.63487C762.194 2.65395 761.537 2 760.387 2H687.806C686.657 2 686 2.65395 686 3.63487V120.201C686 121.346 686.657 122 687.806 122ZM631.078 122H620.922C619.775 122 619.119 121.346 619.119 120.201V14.9155H579.638C578.491 14.9155 578 14.2616 578 13.1171V3.63487C578 2.65395 578.491 2 579.638 2H672.362C673.345 2 674 2.65395 674 3.63487V13.1171C674 14.2616 673.345 14.9155 672.362 14.9155H632.881V120.201C632.881 121.346 632.225 122 631.078 122ZM460.936 106.978L506.5 28.8673L552.064 106.978H460.936ZM440 119L506.5 5L573 119H440Z",fill:t})}),M=({size:l="24",fill:t="#FFFFFF",className:i})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 24 24",fill:"none",className:i,children:[e.jsx("circle",{cx:"12",cy:"12.0002",r:"12",fill:"#0866FF"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.8821 23.8536V15.4806H16.6781L17.2061 12.0126H13.8821V9.75663C13.8821 8.80863 14.3501 7.88463 15.8381 7.88463H17.3501V4.93263C17.3501 4.93263 15.9701 4.69263 14.6621 4.69263C11.9141 4.69263 10.1261 6.34863 10.1261 9.36063V12.0006H7.07812V15.4686H10.1261V23.8555C10.7361 23.951 11.3613 24.0006 11.9981 24.0006C12.6391 24.0006 13.2683 23.9504 13.8821 23.8536Z",fill:t})]}),R=({size:l="24",fill:t="none",className:i})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 24 24",fill:t,className:i,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.52 12.2733C23.52 11.4226 23.444 10.6039 23.3013 9.8186H12V14.4599H18.4587C18.18 15.9599 17.3347 17.2319 16.064 18.0826V21.0933H19.9413C22.2107 19.0039 23.52 15.9279 23.52 12.2733Z",fill:"#3D82F0"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9994 24.0005C15.2394 24.0005 17.956 22.9253 19.9413 21.0933L16.064 18.0826C14.9893 18.8026 13.6141 19.2272 11.9994 19.2272C8.87406 19.2272 6.22872 17.1165 5.28472 14.2805H1.27539V17.3899C3.25006 21.3112 7.30872 24.0005 11.9994 24.0005Z",fill:"#31A752"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.28472 14.2805C5.04472 13.5605 4.90933 12.7912 4.90933 12.0005C4.90933 11.2099 5.04533 10.4405 5.28533 9.72054V6.61121H1.276C0.464 8.23121 0 10.0645 0 12.0005C0 13.9365 0.463391 15.7699 1.27539 17.3899L5.28472 14.2805Z",fill:"#F9BA00"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9994 4.77358C13.7607 4.77358 15.3434 5.37891 16.5861 6.56824L20.0287 3.12691C17.9501 1.18958 15.2341 0.000244141 11.9994 0.000244141C7.30872 0.000244141 3.25006 2.68958 1.27539 6.61225L5.28533 9.72054C6.22933 6.88454 8.87406 4.77358 11.9994 4.77358Z",fill:"#E64234"})]}),Z=({size:l="24",fill:t="none",className:i})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:`${Number(l)*24/21}`,viewBox:"0 0 21 24",fill:t,className:i,children:[e.jsx("path",{d:"M9.84416 11.5002L0.591043 21.3177C0.877759 22.3864 1.85086 23.1683 3.00641 23.1683C3.4669 23.1683 3.90131 23.0467 4.27491 22.8208L4.30098 22.8034L14.7097 16.7999L9.83547 11.4915L9.84416 11.5002Z",fill:"#EA4335"}),e.jsx("path",{d:"M19.2006 9.83196H19.192L14.7001 7.21684L9.63475 11.726L14.7174 16.8085L19.192 14.2281C19.9739 13.8024 20.5039 12.9771 20.5039 12.0301C20.5039 11.083 19.9826 10.2577 19.2006 9.84065V9.83196Z",fill:"#FBBC04"}),e.jsx("path",{d:"M0.59079 2.69054C0.53866 2.89905 0.503906 3.10757 0.503906 3.33346V20.6836C0.503906 20.9095 0.529971 21.118 0.59079 21.3265L10.1567 11.7609L0.59079 2.69054Z",fill:"#4285F4"}),e.jsx("path",{d:"M9.91367 12.0041L14.7001 7.21684L4.30098 1.18739C3.92738 0.961499 3.48427 0.831177 3.00641 0.831177C1.85086 0.831177 0.877759 1.6218 0.591043 2.68175L9.91367 11.9954V12.0041Z",fill:"#34A853"})]}),L=({size:l="20",fill:t="none",className:i})=>e.jsxs("svg",{width:l,height:l,viewBox:"0 0 20 20",fill:t,xmlns:"http://www.w3.org/2000/svg",className:i,children:[e.jsx("rect",{x:"0.5",y:"0.5",width:"19",height:"19",rx:"9.5",fill:"white"}),e.jsx("rect",{x:"0.5",y:"0.5",width:"19",height:"19",rx:"9.5",stroke:"#DDE2E6"}),e.jsxs("g",{clipPath:"url(#clip0_4596_247326)",children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.8 10.1139C14.8 9.75944 14.7683 9.41833 14.7089 9.0911H10V11.025H12.6911C12.575 11.65 12.2228 12.18 11.6933 12.5344V13.7889H13.3089C14.2544 12.9183 14.8 11.6367 14.8 10.1139Z",fill:"#3D82F0"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99975 15.0002C11.3497 15.0002 12.4817 14.5522 13.3089 13.7889L11.6933 12.5344C11.2456 12.8344 10.6725 13.0113 9.99975 13.0113C8.69752 13.0113 7.5953 12.1319 7.20197 10.9502H5.53141V12.2458C6.35419 13.8797 8.0453 15.0002 9.99975 15.0002Z",fill:"#31A752"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.20197 10.9502C7.10197 10.6502 7.04556 10.3297 7.04556 10.0002C7.04556 9.6708 7.10222 9.35025 7.20222 9.05025V7.75469H5.53167C5.19333 8.42969 5 9.19358 5 10.0002C5 10.8069 5.19308 11.5708 5.53141 12.2458L7.20197 10.9502Z",fill:"#F9BA00"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99975 6.98901C10.7336 6.98901 11.3931 7.24123 11.9109 7.73679L13.3453 6.3029C12.4792 5.49568 11.3475 5.00012 9.99975 5.00012C8.0453 5.00012 6.35419 6.12068 5.53141 7.75512L7.20222 9.05025C7.59556 7.86858 8.69752 6.98901 9.99975 6.98901Z",fill:"#E64234"})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_4596_247326",children:e.jsx("rect",{width:"10",height:"10",fill:"white",transform:"translate(5 5)"})})})]}),y=({size:l="24",fill:t="black",className:i})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 24 24",fill:"none",className:i,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2.61816C6.48 2.61816 2 6.09816 2 10.3782C2 13.0482 3.73 15.3782 6.37 16.7982L5.26 20.8682C5.23906 20.9491 5.24337 21.0345 5.27235 21.113C5.30134 21.1914 5.35362 21.2591 5.42217 21.307C5.49073 21.3549 5.57228 21.3806 5.6559 21.3808C5.73952 21.3811 5.8212 21.3557 5.89 21.3082L10.75 18.0782C11.16 18.0782 11.58 18.1482 12 18.1482C17.52 18.1482 22 14.6682 22 10.3782C22 6.08816 17.52 2.61816 12 2.61816Z",fill:t})}),T=({size:l="20",fill:t="none",className:i})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 20 20",fill:t,className:i,children:[e.jsx("rect",{width:"20",height:"20",rx:"10",fill:"#FEE500"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 5.3125C7.24 5.3125 5 7.0525 5 9.1925C5 10.5275 5.865 11.6925 7.185 12.4025L6.63 14.4375C6.61953 14.478 6.62168 14.5207 6.63618 14.5599C6.65067 14.5991 6.67681 14.633 6.71109 14.6569C6.74536 14.6809 6.78614 14.6937 6.82795 14.6938C6.86976 14.6939 6.9106 14.6813 6.945 14.6575L9.375 13.0425C9.58 13.0425 9.79 13.0775 10 13.0775C12.76 13.0775 15 11.3375 15 9.1925C15 7.0475 12.76 5.3125 10 5.3125Z",fill:"black"})]}),B=({size:l="20",fill:t="none",className:i})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 20 20",fill:t,className:i,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.61259 0.350098H12.3905C13.4775 0.35009 14.3482 0.350084 15.052 0.407584C15.7746 0.466628 16.4002 0.590759 16.9761 0.884167C17.898 1.35395 18.6476 2.10355 19.1174 3.02555C19.4108 3.60139 19.535 4.22695 19.594 4.94962C19.6515 5.65339 19.6515 6.52407 19.6515 7.61115V12.3891C19.6515 13.4761 19.6515 14.3468 19.594 15.0506C19.535 15.7732 19.4108 16.3988 19.1174 16.9747C18.6476 17.8966 17.898 18.6462 16.9761 19.116C16.4002 19.4094 15.7746 19.5336 15.052 19.5926C14.3482 19.6501 13.4775 19.6501 12.3905 19.6501H7.6125C6.52547 19.6501 5.65482 19.6501 4.95106 19.5926C4.2284 19.5336 3.60284 19.4094 3.027 19.116C2.10501 18.6462 1.35541 17.8966 0.885629 16.9747C0.592223 16.3988 0.468093 15.7732 0.409049 15.0506C0.351549 14.3468 0.351555 13.4761 0.351562 12.3891V7.61112C0.351555 6.52405 0.351549 5.65338 0.409049 4.94962C0.468093 4.22695 0.592223 3.60139 0.885629 3.02555C1.35541 2.10355 2.10501 1.35395 3.027 0.884167C3.60284 0.590759 4.2284 0.466628 4.95106 0.407584C5.65483 0.350084 6.52552 0.35009 7.61258 0.350098H7.61259ZM5.85129 7.14866C5.13227 7.14866 4.55176 6.56687 4.55176 5.84923C4.55176 5.13159 5.13227 4.5498 5.85129 4.5498C6.56736 4.5498 7.14787 5.13159 7.14787 5.84923C7.14787 6.56391 6.56736 7.14866 5.85129 7.14866ZM6.97107 15.3498H4.73151V8.13209H6.97107V15.3498ZM13.1151 15.3498H15.3517V11.3895C15.3517 9.44628 14.9333 7.95194 12.6672 7.95194C11.5798 7.95194 10.849 8.55145 10.5514 9.11847H10.5219V8.13209H8.37668V15.3498H10.6103V11.7823C10.6103 10.8402 10.7871 9.92766 11.9511 9.92766C13.1004 9.92766 13.1151 11.0056 13.1151 11.8414V15.3498Z",fill:"#0A66C2"})}),F=({size:l="20",fill:t="none",className:i})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:`${Number(l)*18/20}`,viewBox:"0 0 20 18",fill:t,className:i,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.61259 0.350098H12.3905C13.4775 0.35009 14.3482 0.350084 15.052 0.407584C15.7746 0.466628 16.4002 0.590759 16.9761 0.884167C17.898 1.35395 18.6476 2.10355 19.1174 3.02555C19.4108 3.60139 19.535 4.22695 19.594 4.94962C19.6515 5.65339 19.6515 6.52407 19.6515 7.61115V12.3891C19.6515 13.4761 19.6515 14.3468 19.594 15.0506C19.535 15.7732 19.4108 16.3988 19.1174 16.9747C18.6476 17.8966 17.898 18.6462 16.9761 19.116C16.4002 19.4094 15.7746 19.5336 15.052 19.5926C14.3482 19.6501 13.4775 19.6501 12.3905 19.6501H7.6125C6.52547 19.6501 5.65482 19.6501 4.95106 19.5926C4.2284 19.5336 3.60284 19.4094 3.027 19.116C2.10501 18.6462 1.35541 17.8966 0.885629 16.9747C0.592223 16.3988 0.468093 15.7732 0.409049 15.0506C0.351549 14.3468 0.351555 13.4761 0.351562 12.3891V7.61112C0.351555 6.52405 0.351549 5.65338 0.409049 4.94962C0.468093 4.22695 0.592223 3.60139 0.885629 3.02555C1.35541 2.10355 2.10501 1.35395 3.027 0.884167C3.60284 0.590759 4.2284 0.466628 4.95106 0.407584C5.65483 0.350084 6.52552 0.35009 7.61258 0.350098H7.61259ZM5.85129 7.14866C5.13227 7.14866 4.55176 6.56687 4.55176 5.84923C4.55176 5.13159 5.13227 4.5498 5.85129 4.5498C6.56736 4.5498 7.14787 5.13159 7.14787 5.84923C7.14787 6.56391 6.56736 7.14866 5.85129 7.14866ZM6.97107 15.3498H4.73151V8.13209H6.97107V15.3498ZM13.1151 15.3498H15.3517V11.3895C15.3517 9.44628 14.9333 7.95194 12.6672 7.95194C11.5798 7.95194 10.849 8.55145 10.5514 9.11847H10.5219V8.13209H8.37668V15.3498H10.6103V11.7823C10.6103 10.8402 10.7871 9.92766 11.9511 9.92766C13.1004 9.92766 13.1151 11.0056 13.1151 11.8414V15.3498Z",fill:"#00C73C"})}),k=({size:l="22",fill:t="none",className:i})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 22 16",fill:t,className:i,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.3192 0.992222C20.2351 1.23717 20.9593 1.96137 21.2043 2.87727C21.6516 4.53867 21.6516 7.99992 21.6516 7.99992C21.6516 7.99992 21.6516 11.4612 21.2043 13.1226C20.9593 14.0385 20.2351 14.7627 19.3192 15.0076C17.6578 15.4549 11.0016 15.4549 11.0016 15.4549C11.0016 15.4549 4.34531 15.4549 2.68391 15.0076C1.76801 14.7627 1.04381 14.0385 0.798863 13.1226C0.351562 11.4612 0.351562 7.99992 0.351562 7.99992C0.351562 7.99992 0.351562 4.53867 0.798863 2.87727C1.04381 1.96137 1.76801 1.23717 2.68391 0.992222C4.34531 0.544922 11.0016 0.544922 11.0016 0.544922C11.0016 0.544922 17.6578 0.544922 19.3192 0.992222ZM8.87207 10.329C8.87207 10.7138 9.2886 10.9544 9.62193 10.7621L13.6594 8.43278C13.9929 8.24037 13.9929 7.75901 13.6594 7.5666L9.62193 5.2373C9.2886 5.04499 8.87207 5.28556 8.87207 5.67039V10.329Z",fill:"#FF0000"})}),G={Apple:m,FacebookRound:M,Google:R,GooglePlaystore:Z,GoogleRound:L,KakaoMessage:y,KakaoRound:T,LinkedIn:B,NaverBlog:F,YouTube:k,Boottent:b},x=r.cva("inline-flex items-center justify-center whitespace-nowrap gap-0.5",{variants:{variant:{"solid-primary-50":"bg-main-50 text-main-600","solid-primary-100":"bg-main-100 text-main-600","solid-primary-600":"bg-main-600 text-main-50","solid-secondary-100":"bg-grey-100 text-grey-600","solid-secondary-400":"bg-grey-400 text-white","solid-secondary-800":"bg-grey-800 text-white","outline-primary-600":"bg-main-100 border border-main-600 text-main-600","outline-secondary-200":"bg-white border border-grey-200 text-grey-800",etc:""},size:{sm:"px-1 py-0.5 text-[13px] font-normal",md:"px-1 py-1 text-[13px] font-normal",lg:"px-2 py-1 text-sm font-medium"},shape:{square:"rounded",round:"rounded-full",ad:"rounded-tr-lg rounded-bl-lg"}},defaultVariants:{variant:"solid-primary-50",size:"sm",shape:"square"}});function q({className:l,variant:t,size:i,shape:s,icLeft:o,icRight:d,...a}){return e.jsxs("div",{className:g.cn(x({variant:t,size:i,shape:s}),l),...a,children:[o&&e.jsx("div",{children:o})," ",e.jsx("div",{children:a.children}),d&&e.jsx("div",{children:d})," "]})}const c=({label:l,variant:t,size:i,children:s,icLeft:o,icRight:d,position:a,bubbleTip:u,forceMount:n})=>{const[C,h]=H.useState(!1);return e.jsx(r.TooltipProvider,{delayDuration:200,children:e.jsxs(r.Tooltip,{delayDuration:200,children:[e.jsx(r.TooltipTrigger,{asChild:!0,"data-state":C?"delayed-open":"closed",onMouseLeave:()=>h(!1),onMouseEnter:()=>h(!0),children:s}),e.jsx(r.TooltipContent,{variant:t,size:i,icLeft:o,icRight:d,position:a,forceMount:n||C||void 0,bubbleTip:u,children:l})]})})},p=({options:l,variant:t="outline",theme:i="primary",size:s="md",shape:o="square",value:d,onChange:a,nullable:u=!0,className:n})=>e.jsx(r.ToggleGroup,{type:"single",value:d,onValueChange:C=>{!u&&!C||a(C)},theme:i,size:s,shape:o,className:n,children:l.map(C=>C.tooltip?e.jsx(c,{label:C.tooltip.label,variant:C.tooltip.variant,size:C.tooltip.size,icLeft:C.tooltip.icLeft,icRight:C.tooltip.icRight,position:C.tooltip.position,bubbleTip:C.tooltip.bubbleTip,children:e.jsx(r.ToggleGroupItem,{value:C.value,checked:d===C.value,disabled:C.disabled,variant:t,children:C.label})},C.value):e.jsx(r.ToggleGroupItem,{value:C.value,checked:d===C.value,disabled:C.disabled,variant:t,children:C.label},C.value))}),v=({options:l,variant:t="outline",theme:i="primary",size:s="md",shape:o="square",value:d,onChange:a,className:u})=>e.jsx(r.ToggleGroup,{type:"multiple",value:d,onValueChange:a,theme:i,size:s,shape:o,className:u,children:l.map(n=>n.tooltip?e.jsx(c,{label:n.tooltip.label,variant:n.tooltip.variant,size:n.tooltip.size,icLeft:n.tooltip.icLeft,icRight:n.tooltip.icRight,position:n.tooltip.position,bubbleTip:n.tooltip.bubbleTip,children:e.jsx(r.ToggleGroupItem,{value:n.value,checked:(d||[]).includes(n.value),disabled:n.disabled,variant:t,children:n.label})},n.value):e.jsx(r.ToggleGroupItem,{value:n.value,checked:(d||[]).includes(n.value),disabled:n.disabled,variant:t,children:n.label},n.value))}),S={Single:p,Multiple:v};exports.Multiple=v;exports.Single=p;exports.Skeleton=j;exports.Symbols=G;exports.Tag=q;exports.ToggleButtonGroup=S;exports.Tooltip=c;exports.tagVariants=x;
1
+ "use strict";const e=require("react/jsx-runtime"),g=require("./boottent-design.utils.cjs.js"),w=require("./boottent-design.styles.cjs.js"),r=require("./toggleButtonGroup-primitive-BXtN42o0.cjs"),f=require("react");function V(l){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(l){for(const i in l)if(i!=="default"){const s=Object.getOwnPropertyDescriptor(l,i);Object.defineProperty(t,i,s.get?s:{enumerable:!0,get:()=>l[i]})}}return t.default=l,Object.freeze(t)}const H=V(f);function m({className:l,...t}){return e.jsx("div",{role:"presentation",className:g.cn("animate-pulse rounded-md bg-grey-200/80",l),...t})}const j=({size:l="24",fill:t="#000000",className:i})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 24 24",fill:"none",className:i,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.95557 21.9477C10.2363 21.9477 10.798 21.0602 12.3933 21.0602C13.9887 21.0602 14.3706 21.914 15.7862 21.914C17.2017 21.914 18.1117 20.5883 18.9993 19.2851C19.9879 17.7909 20.3924 16.3304 20.4261 16.263C20.3362 16.2406 17.6624 15.1059 17.6624 11.949C17.6624 9.20773 19.7745 7.97193 19.8868 7.88205C18.4937 5.81489 16.3704 5.76995 15.7974 5.76995C14.2358 5.76995 12.9551 6.74736 12.1462 6.74736C11.2811 6.74736 10.1352 5.82612 8.77582 5.82612C6.19187 5.82612 3.57422 8.0281 3.57422 12.1737C3.57422 14.7464 4.55163 17.4764 5.74249 19.2402C6.76483 20.7344 7.6636 21.959 8.95557 21.959V21.9477ZM12.2473 5.52279C13.1798 5.52279 14.3594 4.87119 15.0559 4.00613C15.6851 3.21971 16.1457 2.11872 16.1457 1.01773C16.1457 0.87168 16.1345 0.714396 16.1007 0.602051C15.0559 0.646989 13.8089 1.32106 13.0562 2.23106C12.4608 2.92761 11.9215 4.00612 11.9215 5.11835C11.9215 5.27563 11.944 5.44415 11.9664 5.50032C12.0338 5.51156 12.135 5.52279 12.2473 5.52279Z",fill:t})}),b=({className:l,fill:t=w.colors.main[600],size:i="140"})=>e.jsx("svg",{width:i,height:`${Number(i)*124/977}`,viewBox:"0 0 977 124",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:l,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M93 62C93 99.7533 117.112 124 151 124C185.051 124 209 99.7533 209 62C209 24.084 185.051 0 151 0C117.112 0 93 24.084 93 62ZM194.989 62C194.989 89.9895 178.86 110.656 151 110.656C123.303 110.656 107.174 89.9895 107.174 62C107.174 34.0105 123.303 13.3438 151 13.3438C178.86 13.3438 194.989 33.8478 194.989 62ZM278 124C244.112 124 220 99.7533 220 62C220 24.084 244.112 0 278 0C312.051 0 336 24.084 336 62C336 99.7533 312.051 124 278 124ZM278 110.656C305.86 110.656 321.989 89.9895 321.989 62C321.989 33.8478 305.86 13.3438 278 13.3438C250.303 13.3438 234.174 34.0105 234.174 62C234.174 89.9895 250.303 110.656 278 110.656ZM390.078 122H379.922C378.775 122 378.119 121.346 378.119 120.201V14.9155H338.638C337.491 14.9155 337 14.2616 337 13.1171V3.63487C337 2.65395 337.491 2 338.638 2H431.362C432.345 2 433 2.65395 433 3.63487V13.1171C433 14.2616 432.345 14.9155 431.362 14.9155H391.881V120.201C391.881 121.346 391.225 122 390.078 122ZM42.9184 122H1.79507C0.652752 122 0 121.346 0 120.201V3.63487C0 2.65395 0.652752 2 1.79507 2H40.797C68.0493 2 80.2884 15.2425 80.2884 32.4086C80.2884 45.3242 74.0873 54.8064 62.3378 59.2206C78.167 63.1443 86 73.444 86 88.4848C86 108.267 73.2713 122 42.9184 122ZM13.7078 14.752V53.662H40.9602C58.5844 53.662 66.4175 46.3051 66.4175 34.207C66.4175 22.2724 57.7685 14.752 39.981 14.752H13.7078ZM13.7078 66.2505V109.084H42.9184C62.6641 109.084 71.9659 101.237 71.9659 87.5039C71.9659 73.9345 62.6641 66.2505 42.9184 66.2505H13.7078ZM923.922 122H934.078C935.225 122 935.881 121.346 935.881 120.201V14.9155H975.362C976.345 14.9155 977 14.2616 977 13.1171V3.63487C977 2.65395 976.345 2 975.362 2H882.638C881.491 2 881 2.65395 881 3.63487V13.1171C881 14.2616 881.491 14.9155 882.638 14.9155H922.119V120.201C922.119 121.346 922.775 122 923.922 122ZM787.625 122H777.801C776.655 122 776 121.346 776 120.201V3.63487C776 2.65395 776.655 2 777.801 2H788.771C789.754 2 790.245 2.32697 790.9 3.14441L855.738 99.7655V3.63487C855.738 2.65395 856.393 2 857.539 2H867.363C868.345 2 869 2.65395 869 3.63487V120.201C869 121.346 868.345 122 867.363 122H856.393C855.41 122 854.919 121.673 854.264 120.855L789.262 24.0708V120.201C789.262 121.346 788.607 122 787.625 122ZM687.806 122H762.358C763.343 122 764 121.346 764 120.201V110.719C764 109.738 763.343 109.084 762.358 109.084H699.794V66.2505H755.133C756.118 66.2505 756.775 65.5966 756.775 64.6157V55.2969C756.775 54.1525 756.118 53.4985 755.133 53.4985H699.794V14.9155H760.387C761.537 14.9155 762.194 14.2616 762.194 13.1171V3.63487C762.194 2.65395 761.537 2 760.387 2H687.806C686.657 2 686 2.65395 686 3.63487V120.201C686 121.346 686.657 122 687.806 122ZM631.078 122H620.922C619.775 122 619.119 121.346 619.119 120.201V14.9155H579.638C578.491 14.9155 578 14.2616 578 13.1171V3.63487C578 2.65395 578.491 2 579.638 2H672.362C673.345 2 674 2.65395 674 3.63487V13.1171C674 14.2616 673.345 14.9155 672.362 14.9155H632.881V120.201C632.881 121.346 632.225 122 631.078 122ZM460.936 106.978L506.5 28.8673L552.064 106.978H460.936ZM440 119L506.5 5L573 119H440Z",fill:t})}),M=({size:l="24",fill:t="#FFFFFF",className:i})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 24 24",fill:"none",className:i,children:[e.jsx("circle",{cx:"12",cy:"12.0002",r:"12",fill:"#0866FF"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.8821 23.8536V15.4806H16.6781L17.2061 12.0126H13.8821V9.75663C13.8821 8.80863 14.3501 7.88463 15.8381 7.88463H17.3501V4.93263C17.3501 4.93263 15.9701 4.69263 14.6621 4.69263C11.9141 4.69263 10.1261 6.34863 10.1261 9.36063V12.0006H7.07812V15.4686H10.1261V23.8555C10.7361 23.951 11.3613 24.0006 11.9981 24.0006C12.6391 24.0006 13.2683 23.9504 13.8821 23.8536Z",fill:t})]}),R=({size:l="24",fill:t="none",className:i})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 24 24",fill:t,className:i,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.52 12.2733C23.52 11.4226 23.444 10.6039 23.3013 9.8186H12V14.4599H18.4587C18.18 15.9599 17.3347 17.2319 16.064 18.0826V21.0933H19.9413C22.2107 19.0039 23.52 15.9279 23.52 12.2733Z",fill:"#3D82F0"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9994 24.0005C15.2394 24.0005 17.956 22.9253 19.9413 21.0933L16.064 18.0826C14.9893 18.8026 13.6141 19.2272 11.9994 19.2272C8.87406 19.2272 6.22872 17.1165 5.28472 14.2805H1.27539V17.3899C3.25006 21.3112 7.30872 24.0005 11.9994 24.0005Z",fill:"#31A752"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.28472 14.2805C5.04472 13.5605 4.90933 12.7912 4.90933 12.0005C4.90933 11.2099 5.04533 10.4405 5.28533 9.72054V6.61121H1.276C0.464 8.23121 0 10.0645 0 12.0005C0 13.9365 0.463391 15.7699 1.27539 17.3899L5.28472 14.2805Z",fill:"#F9BA00"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9994 4.77358C13.7607 4.77358 15.3434 5.37891 16.5861 6.56824L20.0287 3.12691C17.9501 1.18958 15.2341 0.000244141 11.9994 0.000244141C7.30872 0.000244141 3.25006 2.68958 1.27539 6.61225L5.28533 9.72054C6.22933 6.88454 8.87406 4.77358 11.9994 4.77358Z",fill:"#E64234"})]}),Z=({size:l="24",fill:t="none",className:i})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:`${Number(l)*24/21}`,viewBox:"0 0 21 24",fill:t,className:i,children:[e.jsx("path",{d:"M9.84416 11.5002L0.591043 21.3177C0.877759 22.3864 1.85086 23.1683 3.00641 23.1683C3.4669 23.1683 3.90131 23.0467 4.27491 22.8208L4.30098 22.8034L14.7097 16.7999L9.83547 11.4915L9.84416 11.5002Z",fill:"#EA4335"}),e.jsx("path",{d:"M19.2006 9.83196H19.192L14.7001 7.21684L9.63475 11.726L14.7174 16.8085L19.192 14.2281C19.9739 13.8024 20.5039 12.9771 20.5039 12.0301C20.5039 11.083 19.9826 10.2577 19.2006 9.84065V9.83196Z",fill:"#FBBC04"}),e.jsx("path",{d:"M0.59079 2.69054C0.53866 2.89905 0.503906 3.10757 0.503906 3.33346V20.6836C0.503906 20.9095 0.529971 21.118 0.59079 21.3265L10.1567 11.7609L0.59079 2.69054Z",fill:"#4285F4"}),e.jsx("path",{d:"M9.91367 12.0041L14.7001 7.21684L4.30098 1.18739C3.92738 0.961499 3.48427 0.831177 3.00641 0.831177C1.85086 0.831177 0.877759 1.6218 0.591043 2.68175L9.91367 11.9954V12.0041Z",fill:"#34A853"})]}),L=({size:l="20",fill:t="none",className:i})=>e.jsxs("svg",{width:l,height:l,viewBox:"0 0 20 20",fill:t,xmlns:"http://www.w3.org/2000/svg",className:i,children:[e.jsx("rect",{x:"0.5",y:"0.5",width:"19",height:"19",rx:"9.5",fill:"white"}),e.jsx("rect",{x:"0.5",y:"0.5",width:"19",height:"19",rx:"9.5",stroke:"#DDE2E6"}),e.jsxs("g",{clipPath:"url(#clip0_4596_247326)",children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.8 10.1139C14.8 9.75944 14.7683 9.41833 14.7089 9.0911H10V11.025H12.6911C12.575 11.65 12.2228 12.18 11.6933 12.5344V13.7889H13.3089C14.2544 12.9183 14.8 11.6367 14.8 10.1139Z",fill:"#3D82F0"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99975 15.0002C11.3497 15.0002 12.4817 14.5522 13.3089 13.7889L11.6933 12.5344C11.2456 12.8344 10.6725 13.0113 9.99975 13.0113C8.69752 13.0113 7.5953 12.1319 7.20197 10.9502H5.53141V12.2458C6.35419 13.8797 8.0453 15.0002 9.99975 15.0002Z",fill:"#31A752"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.20197 10.9502C7.10197 10.6502 7.04556 10.3297 7.04556 10.0002C7.04556 9.6708 7.10222 9.35025 7.20222 9.05025V7.75469H5.53167C5.19333 8.42969 5 9.19358 5 10.0002C5 10.8069 5.19308 11.5708 5.53141 12.2458L7.20197 10.9502Z",fill:"#F9BA00"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99975 6.98901C10.7336 6.98901 11.3931 7.24123 11.9109 7.73679L13.3453 6.3029C12.4792 5.49568 11.3475 5.00012 9.99975 5.00012C8.0453 5.00012 6.35419 6.12068 5.53141 7.75512L7.20222 9.05025C7.59556 7.86858 8.69752 6.98901 9.99975 6.98901Z",fill:"#E64234"})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_4596_247326",children:e.jsx("rect",{width:"10",height:"10",fill:"white",transform:"translate(5 5)"})})})]}),y=({size:l="24",fill:t="black",className:i})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 24 24",fill:"none",className:i,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2.61816C6.48 2.61816 2 6.09816 2 10.3782C2 13.0482 3.73 15.3782 6.37 16.7982L5.26 20.8682C5.23906 20.9491 5.24337 21.0345 5.27235 21.113C5.30134 21.1914 5.35362 21.2591 5.42217 21.307C5.49073 21.3549 5.57228 21.3806 5.6559 21.3808C5.73952 21.3811 5.8212 21.3557 5.89 21.3082L10.75 18.0782C11.16 18.0782 11.58 18.1482 12 18.1482C17.52 18.1482 22 14.6682 22 10.3782C22 6.08816 17.52 2.61816 12 2.61816Z",fill:t})}),T=({size:l="20",fill:t="none",className:i})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 20 20",fill:t,className:i,children:[e.jsx("rect",{width:"20",height:"20",rx:"10",fill:"#FEE500"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 5.3125C7.24 5.3125 5 7.0525 5 9.1925C5 10.5275 5.865 11.6925 7.185 12.4025L6.63 14.4375C6.61953 14.478 6.62168 14.5207 6.63618 14.5599C6.65067 14.5991 6.67681 14.633 6.71109 14.6569C6.74536 14.6809 6.78614 14.6937 6.82795 14.6938C6.86976 14.6939 6.9106 14.6813 6.945 14.6575L9.375 13.0425C9.58 13.0425 9.79 13.0775 10 13.0775C12.76 13.0775 15 11.3375 15 9.1925C15 7.0475 12.76 5.3125 10 5.3125Z",fill:"black"})]}),B=({size:l="20",fill:t="none",className:i})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 20 20",fill:t,className:i,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.61259 0.350098H12.3905C13.4775 0.35009 14.3482 0.350084 15.052 0.407584C15.7746 0.466628 16.4002 0.590759 16.9761 0.884167C17.898 1.35395 18.6476 2.10355 19.1174 3.02555C19.4108 3.60139 19.535 4.22695 19.594 4.94962C19.6515 5.65339 19.6515 6.52407 19.6515 7.61115V12.3891C19.6515 13.4761 19.6515 14.3468 19.594 15.0506C19.535 15.7732 19.4108 16.3988 19.1174 16.9747C18.6476 17.8966 17.898 18.6462 16.9761 19.116C16.4002 19.4094 15.7746 19.5336 15.052 19.5926C14.3482 19.6501 13.4775 19.6501 12.3905 19.6501H7.6125C6.52547 19.6501 5.65482 19.6501 4.95106 19.5926C4.2284 19.5336 3.60284 19.4094 3.027 19.116C2.10501 18.6462 1.35541 17.8966 0.885629 16.9747C0.592223 16.3988 0.468093 15.7732 0.409049 15.0506C0.351549 14.3468 0.351555 13.4761 0.351562 12.3891V7.61112C0.351555 6.52405 0.351549 5.65338 0.409049 4.94962C0.468093 4.22695 0.592223 3.60139 0.885629 3.02555C1.35541 2.10355 2.10501 1.35395 3.027 0.884167C3.60284 0.590759 4.2284 0.466628 4.95106 0.407584C5.65483 0.350084 6.52552 0.35009 7.61258 0.350098H7.61259ZM5.85129 7.14866C5.13227 7.14866 4.55176 6.56687 4.55176 5.84923C4.55176 5.13159 5.13227 4.5498 5.85129 4.5498C6.56736 4.5498 7.14787 5.13159 7.14787 5.84923C7.14787 6.56391 6.56736 7.14866 5.85129 7.14866ZM6.97107 15.3498H4.73151V8.13209H6.97107V15.3498ZM13.1151 15.3498H15.3517V11.3895C15.3517 9.44628 14.9333 7.95194 12.6672 7.95194C11.5798 7.95194 10.849 8.55145 10.5514 9.11847H10.5219V8.13209H8.37668V15.3498H10.6103V11.7823C10.6103 10.8402 10.7871 9.92766 11.9511 9.92766C13.1004 9.92766 13.1151 11.0056 13.1151 11.8414V15.3498Z",fill:"#0A66C2"})}),F=({size:l="20",fill:t="none",className:i})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:`${Number(l)*18/20}`,viewBox:"0 0 20 18",fill:t,className:i,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.61259 0.350098H12.3905C13.4775 0.35009 14.3482 0.350084 15.052 0.407584C15.7746 0.466628 16.4002 0.590759 16.9761 0.884167C17.898 1.35395 18.6476 2.10355 19.1174 3.02555C19.4108 3.60139 19.535 4.22695 19.594 4.94962C19.6515 5.65339 19.6515 6.52407 19.6515 7.61115V12.3891C19.6515 13.4761 19.6515 14.3468 19.594 15.0506C19.535 15.7732 19.4108 16.3988 19.1174 16.9747C18.6476 17.8966 17.898 18.6462 16.9761 19.116C16.4002 19.4094 15.7746 19.5336 15.052 19.5926C14.3482 19.6501 13.4775 19.6501 12.3905 19.6501H7.6125C6.52547 19.6501 5.65482 19.6501 4.95106 19.5926C4.2284 19.5336 3.60284 19.4094 3.027 19.116C2.10501 18.6462 1.35541 17.8966 0.885629 16.9747C0.592223 16.3988 0.468093 15.7732 0.409049 15.0506C0.351549 14.3468 0.351555 13.4761 0.351562 12.3891V7.61112C0.351555 6.52405 0.351549 5.65338 0.409049 4.94962C0.468093 4.22695 0.592223 3.60139 0.885629 3.02555C1.35541 2.10355 2.10501 1.35395 3.027 0.884167C3.60284 0.590759 4.2284 0.466628 4.95106 0.407584C5.65483 0.350084 6.52552 0.35009 7.61258 0.350098H7.61259ZM5.85129 7.14866C5.13227 7.14866 4.55176 6.56687 4.55176 5.84923C4.55176 5.13159 5.13227 4.5498 5.85129 4.5498C6.56736 4.5498 7.14787 5.13159 7.14787 5.84923C7.14787 6.56391 6.56736 7.14866 5.85129 7.14866ZM6.97107 15.3498H4.73151V8.13209H6.97107V15.3498ZM13.1151 15.3498H15.3517V11.3895C15.3517 9.44628 14.9333 7.95194 12.6672 7.95194C11.5798 7.95194 10.849 8.55145 10.5514 9.11847H10.5219V8.13209H8.37668V15.3498H10.6103V11.7823C10.6103 10.8402 10.7871 9.92766 11.9511 9.92766C13.1004 9.92766 13.1151 11.0056 13.1151 11.8414V15.3498Z",fill:"#00C73C"})}),k=({size:l="22",fill:t="none",className:i})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 22 16",fill:t,className:i,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.3192 0.992222C20.2351 1.23717 20.9593 1.96137 21.2043 2.87727C21.6516 4.53867 21.6516 7.99992 21.6516 7.99992C21.6516 7.99992 21.6516 11.4612 21.2043 13.1226C20.9593 14.0385 20.2351 14.7627 19.3192 15.0076C17.6578 15.4549 11.0016 15.4549 11.0016 15.4549C11.0016 15.4549 4.34531 15.4549 2.68391 15.0076C1.76801 14.7627 1.04381 14.0385 0.798863 13.1226C0.351562 11.4612 0.351562 7.99992 0.351562 7.99992C0.351562 7.99992 0.351562 4.53867 0.798863 2.87727C1.04381 1.96137 1.76801 1.23717 2.68391 0.992222C4.34531 0.544922 11.0016 0.544922 11.0016 0.544922C11.0016 0.544922 17.6578 0.544922 19.3192 0.992222ZM8.87207 10.329C8.87207 10.7138 9.2886 10.9544 9.62193 10.7621L13.6594 8.43278C13.9929 8.24037 13.9929 7.75901 13.6594 7.5666L9.62193 5.2373C9.2886 5.04499 8.87207 5.28556 8.87207 5.67039V10.329Z",fill:"#FF0000"})}),G={Apple:j,FacebookRound:M,Google:R,GooglePlaystore:Z,GoogleRound:L,KakaoMessage:y,KakaoRound:T,LinkedIn:B,NaverBlog:F,YouTube:k,Boottent:b},x=r.cva("inline-flex items-center justify-center whitespace-nowrap gap-0.5",{variants:{variant:{"solid-primary-50":"bg-main-50 text-main-600","solid-primary-100":"bg-main-100 text-main-600","solid-primary-600":"bg-main-600 text-main-50","solid-secondary-100":"bg-grey-100 text-grey-600","solid-secondary-400":"bg-grey-400 text-white","solid-secondary-800":"bg-grey-800 text-white","outline-primary-600":"bg-main-100 border border-main-600 text-main-600","outline-secondary-200":"bg-white border border-grey-200 text-grey-800",etc:""},size:{sm:"px-1 py-0.5 text-[13px] font-normal",md:"px-1 py-1 text-[13px] font-normal",lg:"px-2 py-1 text-sm font-medium"},shape:{square:"rounded",round:"rounded-full",ad:"rounded-tr-lg rounded-bl-lg"}},defaultVariants:{variant:"solid-primary-50",size:"sm",shape:"square"}});function q({className:l,variant:t,size:i,shape:s,icLeft:o,icRight:d,...a}){return e.jsxs("div",{className:g.cn(x({variant:t,size:i,shape:s}),l),...a,children:[o&&e.jsx("div",{children:o})," ",e.jsx("div",{children:a.children}),d&&e.jsx("div",{children:d})," "]})}const c=({label:l,variant:t="secondary",size:i="md",children:s,icLeft:o,icRight:d,position:a="top-center",bubbleTip:u=!0,forceMount:n})=>{const[C,h]=H.useState(!1);return e.jsx(r.TooltipProvider,{delayDuration:200,children:e.jsxs(r.Tooltip,{delayDuration:200,children:[e.jsx(r.TooltipTrigger,{asChild:!0,"data-state":C?"delayed-open":"closed",onMouseLeave:()=>h(!1),onMouseEnter:()=>h(!0),children:s}),e.jsx(r.TooltipContent,{variant:t,size:i,icLeft:o,icRight:d,position:a,forceMount:n||C||void 0,bubbleTip:u,children:l})]})})},p=({options:l,variant:t="outline",theme:i="primary",size:s="md",shape:o="square",value:d,onChange:a,nullable:u=!0,className:n})=>e.jsx(r.ToggleGroup,{type:"single",value:d,onValueChange:C=>{!u&&!C||a(C)},theme:i,size:s,shape:o,className:n,children:l.map(C=>C.tooltip?e.jsx(c,{label:C.tooltip.label,variant:C.tooltip.variant,size:C.tooltip.size,icLeft:C.tooltip.icLeft,icRight:C.tooltip.icRight,position:C.tooltip.position,bubbleTip:C.tooltip.bubbleTip,children:e.jsx(r.ToggleGroupItem,{value:C.value,checked:d===C.value,disabled:C.disabled,variant:t,children:C.label})},C.value):e.jsx(r.ToggleGroupItem,{value:C.value,checked:d===C.value,disabled:C.disabled,variant:t,children:C.label},C.value))}),v=({options:l,variant:t="outline",theme:i="primary",size:s="md",shape:o="square",value:d,onChange:a,className:u})=>e.jsx(r.ToggleGroup,{type:"multiple",value:d,onValueChange:a,theme:i,size:s,shape:o,className:u,children:l.map(n=>n.tooltip?e.jsx(c,{label:n.tooltip.label,variant:n.tooltip.variant,size:n.tooltip.size,icLeft:n.tooltip.icLeft,icRight:n.tooltip.icRight,position:n.tooltip.position,bubbleTip:n.tooltip.bubbleTip,children:e.jsx(r.ToggleGroupItem,{value:n.value,checked:(d||[]).includes(n.value),disabled:n.disabled,variant:t,children:n.label})},n.value):e.jsx(r.ToggleGroupItem,{value:n.value,checked:(d||[]).includes(n.value),disabled:n.disabled,variant:t,children:n.label},n.value))}),S={Single:p,Multiple:v};exports.Multiple=v;exports.Single=p;exports.Skeleton=m;exports.Symbols=G;exports.Tag=q;exports.ToggleButtonGroup=S;exports.Tooltip=c;exports.tagVariants=x;
@@ -0,0 +1 @@
1
+ "use strict";const v=require("react"),g=require("react-dom"),l=require("react/jsx-runtime"),p=require("./boottent-design.utils.cjs.js");function R(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const i=R(v),j=R(g);function b(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function d(...e){return t=>e.forEach(r=>b(r,t))}function C(...e){return i.useCallback(d(...e),e)}var m=i.forwardRef((e,t)=>{const{children:r,...n}=e,o=i.Children.toArray(r),s=o.find(w);if(s){const c=s.props.children,a=o.map(y=>y===s?i.Children.count(c)>1?i.Children.only(null):i.isValidElement(c)?c.props.children:null:y);return l.jsx(f,{...n,ref:t,children:i.isValidElement(c)?i.cloneElement(c,void 0,a):null})}return l.jsx(f,{...n,ref:t,children:r})});m.displayName="Slot";var f=i.forwardRef((e,t)=>{const{children:r,...n}=e;if(i.isValidElement(r)){const o=S(r);return i.cloneElement(r,{...E(n,r.props),ref:t?d(t,o):o})}return i.Children.count(r)>1?i.Children.only(null):null});f.displayName="SlotClone";var h=({children:e})=>l.jsx(l.Fragment,{children:e});function w(e){return i.isValidElement(e)&&e.type===h}function E(e,t){const r={...t};for(const n in t){const o=e[n],s=t[n];/^on[A-Z]/.test(n)?o&&s?r[n]=(...a)=>{s(...a),o(...a)}:o&&(r[n]=o):n==="style"?r[n]={...o,...s}:n==="className"&&(r[n]=[o,s].filter(Boolean).join(" "))}return{...e,...r}}function S(e){var n,o;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var O=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],N=O.reduce((e,t)=>{const r=i.forwardRef((n,o)=>{const{asChild:s,...c}=n,a=s?m:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(a,{...c,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function P(e,t){e&&j.flushSync(()=>e.dispatchEvent(t))}const u=v.forwardRef(({...e},t)=>l.jsx("div",{ref:t,...e})),x=({className:e,...t})=>l.jsx(u,{className:p.cn("flex",e),...t});x.Col=({className:e,...t})=>l.jsx(u,{className:p.cn("flex flex-col items-start",e),...t});x.Row=({className:e,...t})=>l.jsx(u,{className:p.cn("flex flex-row justify-start",e),...t});exports.Box=u;exports.FlexBox=x;exports.Primitive=N;exports.Slot=m;exports.Slottable=h;exports.composeRefs=d;exports.dispatchDiscreteCustomEvent=P;exports.useComposedRefs=C;
@@ -1,5 +1,5 @@
1
1
  import { jsxs as m, jsx as a } from "react/jsx-runtime";
2
- import { P as p, T as C, g as h, f as P, M as b } from "./toggleButtonGroup-primitive-Ci7jcgoo.js";
2
+ import { P as p, T as C, g as h, f as P, M as b } from "./toggleButtonGroup-primitive-8daUH1wv.js";
3
3
  import { useState as g, useEffect as c, useCallback as l } from "react";
4
4
  import { p as f } from "./portal-manager-nNJ4SIa2.js";
5
5
  import { toast as T } from "./boottent-design.utils.es.js";
@@ -1 +1 @@
1
- "use strict";const u=require("react/jsx-runtime"),a=require("./toggleButtonGroup-primitive-Btop14ud.cjs"),i=require("react"),f=require("./portal-manager-9WO01tNb.cjs"),p=require("./boottent-design.utils.cjs.js"),C=()=>{const[n,l]=i.useState([]);i.useEffect(()=>{const e=f.portalManager.subscribe((s,c)=>{l(o=>{if(c){if(!o.find(t=>t.id===s.id))return[...o,{...s,isOpen:c}]}else return o.map(t=>t.id===s.id?{...t,isOpen:c}:t);return o})});return()=>{e()}},[]);const r=i.useCallback(e=>{f.portalManager.setPortalOpen(e,!1)},[]);i.useEffect(()=>{const e=[];return n.forEach(s=>{if(!s.isOpen){const c=setTimeout(()=>{l(o=>o.filter(t=>t.id!==s.id))},300);e.push(c)}}),()=>{e.forEach(s=>clearTimeout(s))}},[n]);const d=i.useCallback(e=>{const s=e.props;p.toast({title:s.title,description:s.description,action:s.action,closeButton:s.closeButton,variant:s.variant,position:s.position,size:s.size,className:s.className}),r(e.id)},[r]);return i.useEffect(()=>{n.forEach(e=>{e.type==="toast"&&e.isOpen&&d(e)})},[n,d]),u.jsxs(a.PortalContainer,{children:[u.jsx(a.Toaster,{}),n.map(e=>{var s;if(!e.isOpen)return null;switch(e.type){case"modal":return u.jsx(a.Modal,{...e.props,onClose:()=>{e.props.onClose&&e.props.onClose(),r(e.id)},description:(s=e.props.description)==null?void 0:s.toString()},e.id);case"alert":return u.jsx(a.Alert,{...e.props,onClose:()=>{e.props.onClose&&e.props.onClose(),r(e.id)}},e.id);case"dialog":return u.jsx(a.Dialog,{...e.props,onClose:()=>{e.props.onClose&&e.props.onClose(),r(e.id)}},e.id);case"toast":return null;default:return null}})]})};exports.PortalProvider=C;
1
+ "use strict";const u=require("react/jsx-runtime"),a=require("./toggleButtonGroup-primitive-BXtN42o0.cjs"),i=require("react"),f=require("./portal-manager-9WO01tNb.cjs"),p=require("./boottent-design.utils.cjs.js"),C=()=>{const[n,l]=i.useState([]);i.useEffect(()=>{const e=f.portalManager.subscribe((s,c)=>{l(o=>{if(c){if(!o.find(t=>t.id===s.id))return[...o,{...s,isOpen:c}]}else return o.map(t=>t.id===s.id?{...t,isOpen:c}:t);return o})});return()=>{e()}},[]);const r=i.useCallback(e=>{f.portalManager.setPortalOpen(e,!1)},[]);i.useEffect(()=>{const e=[];return n.forEach(s=>{if(!s.isOpen){const c=setTimeout(()=>{l(o=>o.filter(t=>t.id!==s.id))},300);e.push(c)}}),()=>{e.forEach(s=>clearTimeout(s))}},[n]);const d=i.useCallback(e=>{const s=e.props;p.toast({title:s.title,description:s.description,action:s.action,closeButton:s.closeButton,variant:s.variant,position:s.position,size:s.size,className:s.className}),r(e.id)},[r]);return i.useEffect(()=>{n.forEach(e=>{e.type==="toast"&&e.isOpen&&d(e)})},[n,d]),u.jsxs(a.PortalContainer,{children:[u.jsx(a.Toaster,{}),n.map(e=>{var s;if(!e.isOpen)return null;switch(e.type){case"modal":return u.jsx(a.Modal,{...e.props,onClose:()=>{e.props.onClose&&e.props.onClose(),r(e.id)},description:(s=e.props.description)==null?void 0:s.toString()},e.id);case"alert":return u.jsx(a.Alert,{...e.props,onClose:()=>{e.props.onClose&&e.props.onClose(),r(e.id)}},e.id);case"dialog":return u.jsx(a.Dialog,{...e.props,onClose:()=>{e.props.onClose&&e.props.onClose(),r(e.id)}},e.id);case"toast":return null;default:return null}})]})};exports.PortalProvider=C;