@cashdoc/cashdoc-cms-design-system 2.6.2 → 2.7.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/index.es.js
CHANGED
|
@@ -6615,30 +6615,32 @@ function Na(e) {
|
|
|
6615
6615
|
const t = Vt(Fb);
|
|
6616
6616
|
return e ?? t ?? void 0;
|
|
6617
6617
|
}
|
|
6618
|
-
const dK = Ma, fK = Tf, Yk = Ce(
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
|
|
6641
|
-
|
|
6618
|
+
const dK = Ma, fK = Tf, Yk = Ce(
|
|
6619
|
+
({ className: e, align: t = "start", sideOffset: r = 8, container: n, ...o }, a) => /* @__PURE__ */ g(ka, { container: Na(n), children: /* @__PURE__ */ g(
|
|
6620
|
+
No,
|
|
6621
|
+
{
|
|
6622
|
+
ref: a,
|
|
6623
|
+
align: t,
|
|
6624
|
+
sideOffset: r,
|
|
6625
|
+
className: P(
|
|
6626
|
+
"z-cms-overlay min-w-50 p-1.5",
|
|
6627
|
+
"rounded-cms-lg border border-cms-gray-200",
|
|
6628
|
+
"bg-cms-white",
|
|
6629
|
+
"shadow-[0_12px_24px_rgba(15,20,25,0.08),0_4px_8px_rgba(15,20,25,0.04)]",
|
|
6630
|
+
"animate-in fade-in-0 zoom-in-95",
|
|
6631
|
+
"data-[state=closed]:animate-out",
|
|
6632
|
+
"data-[state=closed]:fade-out-0",
|
|
6633
|
+
"data-[state=closed]:zoom-out-95",
|
|
6634
|
+
"data-[side=bottom]:slide-in-from-top-2",
|
|
6635
|
+
"data-[side=left]:slide-in-from-right-2",
|
|
6636
|
+
"data-[side=right]:slide-in-from-left-2",
|
|
6637
|
+
"data-[side=top]:slide-in-from-bottom-2",
|
|
6638
|
+
e
|
|
6639
|
+
),
|
|
6640
|
+
...o
|
|
6641
|
+
}
|
|
6642
|
+
) })
|
|
6643
|
+
);
|
|
6642
6644
|
Yk.displayName = No.displayName;
|
|
6643
6645
|
const zk = De(
|
|
6644
6646
|
P(
|
|
@@ -12864,7 +12866,8 @@ const FT = [
|
|
|
12864
12866
|
"aria-invalid": i || void 0,
|
|
12865
12867
|
"aria-describedby": w,
|
|
12866
12868
|
className: P(
|
|
12867
|
-
"h-9 w-full rounded-cms-md border bg-cms-white px-3
|
|
12869
|
+
"h-9 w-full rounded-cms-md border bg-cms-white px-3",
|
|
12870
|
+
u && "pr-8",
|
|
12868
12871
|
"text-sm text-cms-gray-900",
|
|
12869
12872
|
"placeholder:text-cms-gray-450",
|
|
12870
12873
|
"hover:border-cms-gray-350",
|
|
@@ -14971,29 +14974,30 @@ const m5 = {
|
|
|
14971
14974
|
onOpenChange: t,
|
|
14972
14975
|
icon: r,
|
|
14973
14976
|
title: n,
|
|
14974
|
-
|
|
14975
|
-
|
|
14976
|
-
|
|
14977
|
-
|
|
14978
|
-
|
|
14979
|
-
|
|
14980
|
-
|
|
14981
|
-
|
|
14982
|
-
|
|
14983
|
-
|
|
14977
|
+
description: o,
|
|
14978
|
+
children: a,
|
|
14979
|
+
footer: i,
|
|
14980
|
+
className: s,
|
|
14981
|
+
showCloseButton: c = !0,
|
|
14982
|
+
size: l = "md",
|
|
14983
|
+
modal: d,
|
|
14984
|
+
onOpenAutoFocus: u,
|
|
14985
|
+
onCloseAutoFocus: f
|
|
14986
|
+
}, h) => {
|
|
14987
|
+
const [v, m] = E.useState(
|
|
14984
14988
|
null
|
|
14985
|
-
),
|
|
14986
|
-
(
|
|
14987
|
-
|
|
14989
|
+
), p = E.useCallback(
|
|
14990
|
+
(y) => {
|
|
14991
|
+
m(y), typeof h == "function" ? h(y) : h && (h.current = y);
|
|
14988
14992
|
},
|
|
14989
|
-
[
|
|
14993
|
+
[h]
|
|
14990
14994
|
);
|
|
14991
14995
|
return /* @__PURE__ */ g(
|
|
14992
14996
|
s5,
|
|
14993
14997
|
{
|
|
14994
14998
|
open: e,
|
|
14995
14999
|
onOpenChange: t,
|
|
14996
|
-
modal:
|
|
15000
|
+
modal: d,
|
|
14997
15001
|
children: /* @__PURE__ */ N(c5, { children: [
|
|
14998
15002
|
/* @__PURE__ */ g(
|
|
14999
15003
|
l5,
|
|
@@ -15011,14 +15015,20 @@ const m5 = {
|
|
|
15011
15015
|
/* @__PURE__ */ g(
|
|
15012
15016
|
u5,
|
|
15013
15017
|
{
|
|
15014
|
-
ref:
|
|
15015
|
-
onOpenAutoFocus:
|
|
15016
|
-
onCloseAutoFocus:
|
|
15018
|
+
ref: p,
|
|
15019
|
+
onOpenAutoFocus: u,
|
|
15020
|
+
onCloseAutoFocus: f,
|
|
15021
|
+
...o ? {} : { "aria-describedby": void 0 },
|
|
15017
15022
|
className: P(
|
|
15023
|
+
// Radix Dialog는 body로 portal되어 .cms-cashdoc-ds inherit
|
|
15024
|
+
// 체인 밖에 놓인다. 루트 클래스를 직접 부여해 Pretendard/
|
|
15025
|
+
// font-weight 등 DS 타이포를 복원한다. (없으면 OS serif로
|
|
15026
|
+
// fallback되어 라벨 폭이 넓어져 픽커 라벨↔값 간격이 깨짐)
|
|
15027
|
+
"cms-cashdoc-ds",
|
|
15018
15028
|
"fixed top-[50%] left-[50%] z-cms-modal",
|
|
15019
15029
|
"translate-x-[-50%] translate-y-[-50%]",
|
|
15020
15030
|
"w-full",
|
|
15021
|
-
m5[
|
|
15031
|
+
m5[l],
|
|
15022
15032
|
"rounded-cms-xl",
|
|
15023
15033
|
"shadow-[0_24px_48px_rgba(15,20,25,0.12),0_8px_16px_rgba(15,20,25,0.06)]",
|
|
15024
15034
|
"data-[state=closed]:animate-out",
|
|
@@ -15027,10 +15037,10 @@ const m5 = {
|
|
|
15027
15037
|
"data-[state=open]:fade-in-0",
|
|
15028
15038
|
"data-[state=closed]:zoom-out-95",
|
|
15029
15039
|
"data-[state=open]:zoom-in-95",
|
|
15030
|
-
|
|
15040
|
+
s
|
|
15031
15041
|
),
|
|
15032
|
-
children: /* @__PURE__ */ g(Fb.Provider, { value:
|
|
15033
|
-
|
|
15042
|
+
children: /* @__PURE__ */ g(Fb.Provider, { value: v, children: /* @__PURE__ */ N("div", { className: "overflow-hidden rounded-cms-xl bg-cms-white", children: [
|
|
15043
|
+
c && /* @__PURE__ */ g(h5, { asChild: !0, children: /* @__PURE__ */ N(
|
|
15034
15044
|
$t,
|
|
15035
15045
|
{
|
|
15036
15046
|
variant: "ghost",
|
|
@@ -15055,16 +15065,17 @@ const m5 = {
|
|
|
15055
15065
|
}
|
|
15056
15066
|
)
|
|
15057
15067
|
] }),
|
|
15058
|
-
o && /* @__PURE__ */ g(
|
|
15059
|
-
|
|
15068
|
+
o && /* @__PURE__ */ g(f5, { className: "sr-only", children: o }),
|
|
15069
|
+
a && /* @__PURE__ */ g(
|
|
15070
|
+
"div",
|
|
15060
15071
|
{
|
|
15061
15072
|
className: P(
|
|
15062
15073
|
"px-6 pt-1 pb-5 text-sm/relaxed text-cms-gray-700"
|
|
15063
15074
|
),
|
|
15064
|
-
children:
|
|
15075
|
+
children: a
|
|
15065
15076
|
}
|
|
15066
15077
|
),
|
|
15067
|
-
|
|
15078
|
+
i && /* @__PURE__ */ g(
|
|
15068
15079
|
"div",
|
|
15069
15080
|
{
|
|
15070
15081
|
className: P(
|
|
@@ -15072,7 +15083,7 @@ const m5 = {
|
|
|
15072
15083
|
"px-6 pt-3.5 pb-[18px]",
|
|
15073
15084
|
"border-t border-cms-gray-150 bg-cms-gray-50"
|
|
15074
15085
|
),
|
|
15075
|
-
children:
|
|
15086
|
+
children: i
|
|
15076
15087
|
}
|
|
15077
15088
|
)
|
|
15078
15089
|
] }) })
|