@pfct/purple 1.7.0-next.3 → 1.7.0-next.4
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/chunks/index.9fap07Gq.js +60 -0
- package/dist/chunks/index.B-Bfcjo7.js +1 -0
- package/dist/chunks/index.BfjI33ZB.js +41 -0
- package/dist/chunks/{index.Dud5PpT2.js → index.BmifSqQX.js} +26 -26
- package/dist/chunks/{index.BRcoZnsL.js → index.BngGCpBd.js} +1 -1
- package/dist/chunks/{index.B04X8ryw.js → index.BtGja8CI.js} +1 -1
- package/dist/chunks/{index.BKkcGVEJ.js → index.C1WOc90r.js} +81 -81
- package/dist/chunks/index.C3oZfEx6.js +283 -0
- package/dist/chunks/{index.CtswiKeA.js → index.CDVf4iB0.js} +1 -1
- package/dist/chunks/{index.DrALxeqy.js → index.CIUK7hO2.js} +23 -23
- package/dist/chunks/{index.DIsmU7qE.js → index.CVogEmtp.js} +1 -1
- package/dist/chunks/index.CqHp_goI.js +1 -0
- package/dist/chunks/{index.B3rAhBCw.js → index.CskkVMdK.js} +1 -1
- package/dist/chunks/{index.93u2Cu_l.js → index.DIaW0faE.js} +1 -1
- package/dist/chunks/{index.-8MfVPUU.js → index.DVHp5IZe.js} +47 -47
- package/dist/chunks/index.QJBZMz2E.js +5 -0
- package/dist/chunks/index.eYfYnSCV.js +1 -0
- package/dist/chunks/index.ps14_l3u.js +1 -0
- package/dist/components/Accordion/index.cjs.js +1 -1
- package/dist/components/Accordion/index.es.js +176 -176
- package/dist/components/Badge/BaseBadge/index.cjs.js +1 -1
- package/dist/components/Badge/BaseBadge/index.es.js +10 -10
- package/dist/components/Badge/BaseBadge/index.styled.cjs.js +1 -1
- package/dist/components/Badge/BaseBadge/index.styled.es.js +1 -1
- package/dist/components/Badge/IconBadge/index.cjs.js +1 -1
- package/dist/components/Badge/IconBadge/index.es.js +6 -6
- package/dist/components/Badge/TextBadge/index.cjs.js +1 -1
- package/dist/components/Badge/TextBadge/index.es.js +7 -7
- package/dist/components/BottomSheet/BaseBottomSheet/index.cjs.js +1 -1
- package/dist/components/BottomSheet/BaseBottomSheet/index.es.js +32 -32
- package/dist/components/BottomSheet/NavBottomSheet/index.cjs.js +1 -1
- package/dist/components/BottomSheet/NavBottomSheet/index.es.js +8 -8
- package/dist/components/BottomSheet/TitleBottomSheet/index.cjs.js +1 -1
- package/dist/components/BottomSheet/TitleBottomSheet/index.es.js +15 -15
- package/dist/components/Button/BaseButton/index.cjs.js +1 -1
- package/dist/components/Button/BaseButton/index.es.js +4 -4
- package/dist/components/Button/DoubleButton/index.cjs.js +1 -1
- package/dist/components/Button/DoubleButton/index.es.js +6 -6
- package/dist/components/Button/FloatBaseButton/index.cjs.js +1 -1
- package/dist/components/Button/FloatBaseButton/index.es.js +16 -16
- package/dist/components/Button/FloatDoubleButton/index.cjs.js +1 -1
- package/dist/components/Button/FloatDoubleButton/index.es.js +13 -13
- package/dist/components/Button/FloatSingleButton/index.cjs.js +1 -1
- package/dist/components/Button/FloatSingleButton/index.es.js +8 -8
- package/dist/components/Button/SingleButton/index.cjs.js +1 -1
- package/dist/components/Button/SingleButton/index.es.js +3 -3
- package/dist/components/Button/TestButton/index.cjs.js +1 -1
- package/dist/components/Button/TestButton/index.es.js +2 -2
- package/dist/components/Card/index.cjs.js +1 -1
- package/dist/components/Card/index.es.js +7 -7
- package/dist/components/Chips/BasicChips/index.cjs.js +1 -1
- package/dist/components/Chips/BasicChips/index.es.js +8 -8
- package/dist/components/Chips/BasicChips/index.styled.cjs.js +1 -1
- package/dist/components/Chips/BasicChips/index.styled.es.js +1 -1
- package/dist/components/Chips/ChipItem/index.cjs.js +1 -1
- package/dist/components/Chips/ChipItem/index.es.js +31 -34
- package/dist/components/Chips/ChipsFrame/index.cjs.js +1 -1
- package/dist/components/Chips/ChipsFrame/index.es.js +14 -14
- package/dist/components/Chips/ChipsFrame/index.styled.cjs.js +1 -1
- package/dist/components/Chips/ChipsFrame/index.styled.es.js +1 -1
- package/dist/components/Comment/Group/index.cjs.js +1 -1
- package/dist/components/Comment/Group/index.es.js +3 -3
- package/dist/components/Comment/Item/index.cjs.js +1 -1
- package/dist/components/Comment/Item/index.es.js +6 -6
- package/dist/components/Control/CheckMark/CheckMark.cjs.js +1 -1
- package/dist/components/Control/CheckMark/CheckMark.es.js +3 -3
- package/dist/components/Control/CheckMark/index.cjs.js +1 -1
- package/dist/components/Control/CheckMark/index.es.js +7 -7
- package/dist/components/Control/RadioButton/index.cjs.js +1 -1
- package/dist/components/Control/RadioButton/index.es.js +11 -11
- package/dist/components/Control/Switch/index.cjs.js +1 -1
- package/dist/components/Control/Switch/index.es.js +71 -71
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/ActiveDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/ActiveDateOfMonth.es.js +12 -12
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/DisabledDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/DisabledDateOfMonth.es.js +12 -12
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/NoneDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/NoneDateOfMonth.es.js +3 -3
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeEndFocusDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeEndFocusDateOfMonth.es.js +14 -14
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeStartFocusDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeStartFocusDateOfMonth.es.js +18 -18
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/SingleFocusDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/SingleFocusDateOfMonth.es.js +13 -13
- package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.es.js +3 -3
- package/dist/components/DatePicker/BaseDatePicker/Month/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/Month/index.es.js +4 -4
- package/dist/components/DatePicker/BaseDatePicker/Week/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/Week/index.es.js +3 -3
- package/dist/components/DatePicker/BaseDatePicker/YearMonthController/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/YearMonthController/index.es.js +16 -16
- package/dist/components/DatePicker/BaseDatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/index.es.js +31 -31
- package/dist/components/DatePicker/RangeDatePickerModal/index.cjs.js +1 -1
- package/dist/components/DatePicker/RangeDatePickerModal/index.es.js +27 -27
- package/dist/components/DatePicker/SingleDatePickerModal/index.cjs.js +1 -1
- package/dist/components/DatePicker/SingleDatePickerModal/index.es.js +14 -14
- package/dist/components/Divider/index.cjs.js +1 -1
- package/dist/components/Divider/index.es.js +17 -17
- package/dist/components/Input/BaseInput/index.cjs.js +1 -1
- package/dist/components/Input/BaseInput/index.es.js +44 -44
- package/dist/components/Input/NumberInput/index.cjs.js +1 -1
- package/dist/components/Input/NumberInput/index.es.js +23 -23
- package/dist/components/Input/PostfixInput/index.cjs.js +1 -1
- package/dist/components/Input/PostfixInput/index.es.js +61 -61
- package/dist/components/Input/ResidentNumberInput/index.cjs.js +1 -1
- package/dist/components/Input/ResidentNumberInput/index.es.js +65 -65
- package/dist/components/Input/TextField/index.cjs.js +1 -1
- package/dist/components/Input/TextField/index.es.js +32 -32
- package/dist/components/Input/common/InputFrame/index.cjs.js +1 -1
- package/dist/components/Input/common/InputFrame/index.es.js +17 -17
- package/dist/components/Input/index.cjs.js +1 -1
- package/dist/components/Input/index.es.js +1 -1
- package/dist/components/LegacyModal/BaseModal/index.cjs.js +1 -1
- package/dist/components/LegacyModal/BaseModal/index.es.js +8 -8
- package/dist/components/LegacyModal/index.cjs.js +1 -1
- package/dist/components/LegacyModal/index.es.js +19 -19
- package/dist/components/List/index.cjs.js +1 -1
- package/dist/components/List/index.es.js +11 -11
- package/dist/components/Loading/ProgressBar/index.cjs.js +1 -1
- package/dist/components/Loading/ProgressBar/index.es.js +3 -3
- package/dist/components/Loading/Skeleton/index.cjs.js +1 -1
- package/dist/components/Loading/Skeleton/index.es.js +5 -5
- package/dist/components/Loading/Spinner/index.cjs.js +1 -1
- package/dist/components/Loading/Spinner/index.es.js +3 -3
- package/dist/components/MiniButton/BoxMiniButton/index.cjs.js +1 -1
- package/dist/components/MiniButton/BoxMiniButton/index.es.js +4 -4
- package/dist/components/MiniButton/IconMiniButton/index.cjs.js +1 -1
- package/dist/components/MiniButton/IconMiniButton/index.es.js +27 -30
- package/dist/components/MiniButton/UnderLineMiniButton/index.cjs.js +1 -1
- package/dist/components/MiniButton/UnderLineMiniButton/index.es.js +40 -43
- package/dist/components/MiniButton/common/ButtonTag.cjs.js +1 -1
- package/dist/components/MiniButton/common/ButtonTag.es.js +3 -3
- package/dist/components/Modal/index.cjs.js +1 -1
- package/dist/components/Modal/index.es.js +42 -42
- package/dist/components/Navigation/BaseNavigation/index.cjs.js +1 -1
- package/dist/components/Navigation/BaseNavigation/index.es.js +14 -14
- package/dist/components/Navigation/BottomNavigationBar/index.cjs.js +1 -1
- package/dist/components/Navigation/BottomNavigationBar/index.es.js +10 -10
- package/dist/components/Navigation/PageNavigationBar/index.cjs.js +1 -1
- package/dist/components/Navigation/PageNavigationBar/index.es.js +21 -21
- package/dist/components/Navigation/TitleNavigationBar/index.cjs.js +1 -1
- package/dist/components/Navigation/TitleNavigationBar/index.es.js +12 -12
- package/dist/components/Navigation/index.cjs.js +1 -1
- package/dist/components/Navigation/index.es.js +21 -21
- package/dist/components/OverlayRoot/index.cjs.js +1 -1
- package/dist/components/OverlayRoot/index.es.js +6 -6
- package/dist/components/Segment/BaseSegment/index.cjs.js +1 -1
- package/dist/components/Segment/BaseSegment/index.es.js +16 -16
- package/dist/components/Segment/ExtendSegment/index.cjs.js +1 -1
- package/dist/components/Segment/ExtendSegment/index.es.js +18 -18
- package/dist/components/SelectBox/index.cjs.js +1 -1
- package/dist/components/SelectBox/index.es.js +42 -42
- package/dist/components/Tabs/FillTabs/index.cjs.js +1 -1
- package/dist/components/Tabs/FillTabs/index.es.js +11 -11
- package/dist/components/Tabs/TextTabs/index.cjs.js +1 -1
- package/dist/components/Tabs/TextTabs/index.es.js +18 -18
- package/dist/components/Tag/index.cjs.js +1 -1
- package/dist/components/Tag/index.es.js +7 -8
- package/dist/components/Terms/index.cjs.js +1 -1
- package/dist/components/Terms/index.es.js +26 -26
- package/dist/components/TextArea/index.cjs.js +1 -1
- package/dist/components/TextArea/index.es.js +17 -17
- package/dist/components/Title/index.cjs.js +1 -1
- package/dist/components/Title/index.es.js +12 -12
- package/dist/components/Toast/index.cjs.js +1 -1
- package/dist/components/Toast/index.es.js +4 -4
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.es.js +1 -1
- package/dist/components/ui/bottomSheet.cjs.js +1 -1
- package/dist/components/ui/bottomSheet.es.js +92 -92
- package/dist/components/ui/button.cjs.js +1 -1
- package/dist/components/ui/button.es.js +13 -14
- package/dist/components/ui/checkbox.cjs.js +1 -1
- package/dist/components/ui/checkbox.es.js +88 -88
- package/dist/components/ui/dialog.cjs.js +1 -1
- package/dist/components/ui/dialog.es.js +48 -48
- package/dist/components/ui/drawer.cjs.js +2 -2
- package/dist/components/ui/drawer.es.js +159 -159
- package/dist/components/ui/impact-tooltip.cjs.js +1 -1
- package/dist/components/ui/impact-tooltip.es.js +133 -133
- package/dist/components/ui/share-ui.cjs.js +1 -1
- package/dist/components/ui/share-ui.es.js +34 -34
- package/dist/components/ui/tooltip.cjs.js +1 -1
- package/dist/components/ui/tooltip.es.js +138 -138
- package/dist/components/ui/typography.cjs.js +1 -1
- package/dist/components/ui/typography.es.js +3 -3
- package/dist/core/Display/Mobile.cjs.js +1 -1
- package/dist/core/Display/Mobile.es.js +4 -4
- package/dist/core/Display/Pc.cjs.js +1 -1
- package/dist/core/Display/Pc.es.js +4 -4
- package/dist/core/Typography/BaseTypography/index.cjs.js +1 -1
- package/dist/core/Typography/BaseTypography/index.es.js +3 -3
- package/dist/core/Typography/index.cjs.js +1 -1
- package/dist/core/Typography/index.es.js +19 -19
- package/dist/icons/src/icons/index.cjs.js +1 -1
- package/dist/icons/src/icons/index.d.ts +1 -1
- package/dist/icons/src/icons/index.d.ts.map +1 -1
- package/dist/icons/src/icons/index.es.js +4 -4
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/library/BasicForm/index.cjs.js +1 -1
- package/dist/library/BasicForm/index.es.js +10 -10
- package/dist/library/BasicLayout/Body.cjs.js +1 -1
- package/dist/library/BasicLayout/Body.es.js +7 -7
- package/dist/library/BasicLayout/Footer.cjs.js +1 -1
- package/dist/library/BasicLayout/Footer.es.js +71 -71
- package/dist/library/BasicLayout/index.cjs.js +1 -1
- package/dist/library/BasicLayout/index.es.js +35 -35
- package/dist/library/BasicLayout/index.styled.cjs.js +1 -1
- package/dist/library/BasicLayout/index.styled.es.js +1 -1
- package/dist/library/IconWithImage/index.cjs.js +1 -1
- package/dist/library/IconWithImage/index.es.js +4 -4
- package/dist/library/List/BottomSheetItemList/index.cjs.js +1 -1
- package/dist/library/List/BottomSheetItemList/index.es.js +5 -5
- package/dist/library/Lottie/index.cjs.js +1 -1
- package/dist/library/Lottie/index.es.js +47 -47
- package/dist/library/Spacing/index.cjs.js +1 -1
- package/dist/library/Spacing/index.es.js +3 -3
- package/package.json +1 -1
- package/dist/chunks/index.9yN3bH7k.js +0 -283
- package/dist/chunks/index.BTUe9yKh.js +0 -1
- package/dist/chunks/index.Beaq4T1c.js +0 -1
- package/dist/chunks/index.BspO8Abs.js +0 -41
- package/dist/chunks/index.CtIpJqp4.js +0 -5
- package/dist/chunks/index.DcvrUsoU.js +0 -1
- package/dist/chunks/index._MxrBNop.js +0 -60
- package/dist/chunks/index.mCMIO9lL.js +0 -1
- package/dist/chunks/jsx-runtime.B0Vkbtvx.js +0 -14
- package/dist/chunks/jsx-runtime.C63F304d.js +0 -615
|
@@ -1,49 +1,46 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { S as
|
|
3
|
-
import { cn as
|
|
4
|
-
import { miniButtonTextVariants as
|
|
5
|
-
const
|
|
1
|
+
import { jsx as e, Fragment as u } from "react/jsx-runtime";
|
|
2
|
+
import { S as f } from "../../../chunks/index.9fap07Gq.js";
|
|
3
|
+
import { cn as x } from "../../../lib/utils.es.js";
|
|
4
|
+
import { miniButtonTextVariants as i } from "../IconMiniButton/index.es.js";
|
|
5
|
+
const d = ({
|
|
6
6
|
size: r = "s",
|
|
7
7
|
colorType: n,
|
|
8
8
|
children: o,
|
|
9
|
-
url:
|
|
10
|
-
className:
|
|
9
|
+
url: a,
|
|
10
|
+
className: p,
|
|
11
11
|
disabled: t,
|
|
12
|
-
type:
|
|
13
|
-
asChild:
|
|
14
|
-
...
|
|
15
|
-
}) => {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
) });
|
|
46
|
-
};
|
|
12
|
+
type: g = "button",
|
|
13
|
+
asChild: s = !1,
|
|
14
|
+
...m
|
|
15
|
+
}) => /* @__PURE__ */ e(u, { children: a ? /* @__PURE__ */ e(
|
|
16
|
+
f,
|
|
17
|
+
{
|
|
18
|
+
className: x(
|
|
19
|
+
"flex h-fit w-max items-center gap-[3px] rounded-[5px] p-[5px]",
|
|
20
|
+
!t && "underline underline-offset-4 hover:bg-gray-50 focus:bg-gray-100",
|
|
21
|
+
t ? "text-gray-200" : i({ colorType: n }),
|
|
22
|
+
r === "s" ? "typo-t4" : "typo-t3",
|
|
23
|
+
p
|
|
24
|
+
),
|
|
25
|
+
...m,
|
|
26
|
+
children: /* @__PURE__ */ e("a", { className: "text-decoration-none", href: a, rel: "noreferrer", target: "_blank", children: o })
|
|
27
|
+
}
|
|
28
|
+
) : /* @__PURE__ */ e(
|
|
29
|
+
s ? f : "button",
|
|
30
|
+
{
|
|
31
|
+
className: x(
|
|
32
|
+
"flex h-fit w-max items-center gap-[3px] rounded-[5px] p-[5px]",
|
|
33
|
+
!t && "underline underline-offset-4 hover:bg-gray-50 focus:bg-gray-100",
|
|
34
|
+
t ? "text-gray-200" : i({ colorType: n }),
|
|
35
|
+
r === "s" ? "typo-t4" : "typo-t3",
|
|
36
|
+
p
|
|
37
|
+
),
|
|
38
|
+
disabled: t,
|
|
39
|
+
type: g,
|
|
40
|
+
...m,
|
|
41
|
+
children: o
|
|
42
|
+
}
|
|
43
|
+
) });
|
|
47
44
|
export {
|
|
48
|
-
|
|
45
|
+
d as UnderLineMiniButton
|
|
49
46
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),e=require("./index.styled.cjs.js"),o=t=>n.jsx(e.ButtonTag,{...t,type:"button"});module.exports=o;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { ButtonTag as r } from "./index.styled.es.js";
|
|
3
|
-
const
|
|
3
|
+
const u = (t) => /* @__PURE__ */ o(r, { ...t, type: "button" });
|
|
4
4
|
export {
|
|
5
|
-
|
|
5
|
+
u as default
|
|
6
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("../../chunks/index.QJBZMz2E.js"),l=require("../../lib/utils.cjs.js");function i({...a}){return e.jsx(o.Root,{"data-slot":"dialog",...a})}function r({...a}){return e.jsx(o.Trigger,{"data-slot":"dialog-trigger",...a})}function n({...a}){return e.jsx(o.Portal,{"data-slot":"dialog-portal",...a})}function c({...a}){return e.jsx(o.Close,{"data-slot":"dialog-close",...a})}function d({className:a,...t}){return e.jsx(o.Overlay,{className:l.cn("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-1000 bg-black/50 data-[state=closed]:animate-out data-[state=open]:animate-in",a),"data-slot":"dialog-overlay",...t})}function u({className:a,children:t,...s}){return e.jsxs(n,{"data-slot":"dialog-portal",children:[e.jsx(d,{}),e.jsx(o.Content,{className:l.cn("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-1000 grid max-h-150 w-full max-w-[320px] translate-x-[-50%] translate-y-[-50%] overflow-hidden rounded-[10px] bg-white duration-200 data-[state=closed]:animate-out data-[state=open]:animate-in",a),"data-slot":"dialog-content",...s,children:t})]})}function x({className:a,...t}){return e.jsx("div",{className:l.cn("flex flex-col gap-5 px-5 py-[30px] text-center",a),"data-slot":"dialog-info",...t})}function p({className:a,...t}){return e.jsx("div",{className:l.cn("flex flex-col gap-2.5",a),"data-slot":"dialog-header",...t})}function f({className:a,...t}){return e.jsx("div",{className:l.cn("flex items-center gap-2.5 px-[15px] pb-[15px]",a),"data-slot":"dialog-footer",...t})}function g({className:a,...t}){return e.jsx(o.Title,{className:l.cn("typo-h4 whitespace-pre-wrap",a),"data-slot":"dialog-title",...t})}function M({className:a,...t}){return e.jsx(o.Description,{className:l.cn("typo-t3 whitespace-pre-wrap text-gray-400",a),"data-slot":"dialog-description",...t})}exports.Modal=i;exports.ModalClose=c;exports.ModalContent=u;exports.ModalDescription=M;exports.ModalFooter=f;exports.ModalHeader=p;exports.ModalInfo=x;exports.ModalOverlay=d;exports.ModalPortal=n;exports.ModalTitle=g;exports.ModalTrigger=r;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { R as
|
|
1
|
+
import { jsx as o, jsxs as d } from "react/jsx-runtime";
|
|
2
|
+
import { R as n, C as s, a as r, D as i, O as c, P as p, T as f, b as u } from "../../chunks/index.C3oZfEx6.js";
|
|
3
3
|
import { cn as e } from "../../lib/utils.es.js";
|
|
4
|
-
function
|
|
5
|
-
return /* @__PURE__ */ o
|
|
4
|
+
function w({ ...a }) {
|
|
5
|
+
return /* @__PURE__ */ o(n, { "data-slot": "dialog", ...a });
|
|
6
6
|
}
|
|
7
|
-
function
|
|
8
|
-
return /* @__PURE__ */ o
|
|
7
|
+
function y({ ...a }) {
|
|
8
|
+
return /* @__PURE__ */ o(u, { "data-slot": "dialog-trigger", ...a });
|
|
9
9
|
}
|
|
10
|
-
function
|
|
11
|
-
return /* @__PURE__ */ o
|
|
10
|
+
function g({ ...a }) {
|
|
11
|
+
return /* @__PURE__ */ o(p, { "data-slot": "dialog-portal", ...a });
|
|
12
12
|
}
|
|
13
|
-
function
|
|
14
|
-
return /* @__PURE__ */ o
|
|
13
|
+
function v({ ...a }) {
|
|
14
|
+
return /* @__PURE__ */ o(s, { "data-slot": "dialog-close", ...a });
|
|
15
15
|
}
|
|
16
|
-
function
|
|
17
|
-
return /* @__PURE__ */ o
|
|
18
|
-
|
|
16
|
+
function m({ className: a, ...t }) {
|
|
17
|
+
return /* @__PURE__ */ o(
|
|
18
|
+
c,
|
|
19
19
|
{
|
|
20
20
|
className: e(
|
|
21
21
|
"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-1000 bg-black/50 data-[state=closed]:animate-out data-[state=open]:animate-in",
|
|
@@ -26,25 +26,25 @@ function u({ className: a, ...t }) {
|
|
|
26
26
|
}
|
|
27
27
|
);
|
|
28
28
|
}
|
|
29
|
-
function
|
|
30
|
-
return /* @__PURE__ */
|
|
31
|
-
/* @__PURE__ */ o
|
|
32
|
-
/* @__PURE__ */ o
|
|
33
|
-
|
|
29
|
+
function N({ className: a, children: t, ...l }) {
|
|
30
|
+
return /* @__PURE__ */ d(g, { "data-slot": "dialog-portal", children: [
|
|
31
|
+
/* @__PURE__ */ o(m, {}),
|
|
32
|
+
/* @__PURE__ */ o(
|
|
33
|
+
r,
|
|
34
34
|
{
|
|
35
35
|
className: e(
|
|
36
36
|
"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-1000 grid max-h-150 w-full max-w-[320px] translate-x-[-50%] translate-y-[-50%] overflow-hidden rounded-[10px] bg-white duration-200 data-[state=closed]:animate-out data-[state=open]:animate-in",
|
|
37
37
|
a
|
|
38
38
|
),
|
|
39
39
|
"data-slot": "dialog-content",
|
|
40
|
-
...
|
|
40
|
+
...l,
|
|
41
41
|
children: t
|
|
42
42
|
}
|
|
43
43
|
)
|
|
44
44
|
] });
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
return /* @__PURE__ */ o
|
|
46
|
+
function b({ className: a, ...t }) {
|
|
47
|
+
return /* @__PURE__ */ o(
|
|
48
48
|
"div",
|
|
49
49
|
{
|
|
50
50
|
className: e("flex flex-col gap-5 px-5 py-[30px] text-center", a),
|
|
@@ -53,11 +53,11 @@ function v({ className: a, ...t }) {
|
|
|
53
53
|
}
|
|
54
54
|
);
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
return /* @__PURE__ */ o
|
|
56
|
+
function C({ className: a, ...t }) {
|
|
57
|
+
return /* @__PURE__ */ o("div", { className: e("flex flex-col gap-2.5", a), "data-slot": "dialog-header", ...t });
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
return /* @__PURE__ */ o
|
|
59
|
+
function T({ className: a, ...t }) {
|
|
60
|
+
return /* @__PURE__ */ o(
|
|
61
61
|
"div",
|
|
62
62
|
{
|
|
63
63
|
className: e("flex items-center gap-2.5 px-[15px] pb-[15px]", a),
|
|
@@ -66,9 +66,9 @@ function b({ className: a, ...t }) {
|
|
|
66
66
|
}
|
|
67
67
|
);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
return /* @__PURE__ */ o
|
|
71
|
-
|
|
69
|
+
function z({ className: a, ...t }) {
|
|
70
|
+
return /* @__PURE__ */ o(
|
|
71
|
+
f,
|
|
72
72
|
{
|
|
73
73
|
className: e("typo-h4 whitespace-pre-wrap", a),
|
|
74
74
|
"data-slot": "dialog-title",
|
|
@@ -76,9 +76,9 @@ function C({ className: a, ...t }) {
|
|
|
76
76
|
}
|
|
77
77
|
);
|
|
78
78
|
}
|
|
79
|
-
function
|
|
80
|
-
return /* @__PURE__ */ o
|
|
81
|
-
|
|
79
|
+
function D({ className: a, ...t }) {
|
|
80
|
+
return /* @__PURE__ */ o(
|
|
81
|
+
i,
|
|
82
82
|
{
|
|
83
83
|
className: e("typo-t3 whitespace-pre-wrap text-gray-400", a),
|
|
84
84
|
"data-slot": "dialog-description",
|
|
@@ -87,15 +87,15 @@ function T({ className: a, ...t }) {
|
|
|
87
87
|
);
|
|
88
88
|
}
|
|
89
89
|
export {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
90
|
+
w as Modal,
|
|
91
|
+
v as ModalClose,
|
|
92
|
+
N as ModalContent,
|
|
93
|
+
D as ModalDescription,
|
|
94
|
+
T as ModalFooter,
|
|
95
|
+
C as ModalHeader,
|
|
96
|
+
b as ModalInfo,
|
|
97
|
+
m as ModalOverlay,
|
|
98
|
+
g as ModalPortal,
|
|
99
|
+
z as ModalTitle,
|
|
100
|
+
y as ModalTrigger
|
|
101
101
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("../../../lib/utils.cjs.js"),d=require("../../../constants/style.constants.cjs.js"),l=require("../../../core/Typography/index.cjs.js"),n=require("./index.styled.cjs.js"),u=({title:t,titleColor:s,leftChildren:r,rightChildren:i,zIndex:a=d.zIndex.gnb,backgroundColor:o})=>e.jsxs(n.Wrapper,{backgroundColor:o,zIndex:a,children:[r&&e.jsx(n.LeftChildrenWrapper,{children:r}),t&&e.jsx(l.Headline5,{className:c.cn(s==="white"?"text-white":"text-gray-900"),children:t}),i&&e.jsx(n.RightChildrenWrapper,{children:i})]});exports.BaseNavigation=u;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { cn as
|
|
3
|
-
import { zIndex as
|
|
1
|
+
import { jsxs as m, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { cn as a } from "../../../lib/utils.es.js";
|
|
3
|
+
import { zIndex as d } from "../../../constants/style.constants.es.js";
|
|
4
4
|
import { Headline5 as x } from "../../../core/Typography/index.es.js";
|
|
5
|
-
import { Wrapper as
|
|
6
|
-
const
|
|
5
|
+
import { Wrapper as c, LeftChildrenWrapper as s, RightChildrenWrapper as h } from "./index.styled.es.js";
|
|
6
|
+
const W = ({
|
|
7
7
|
title: e,
|
|
8
|
-
titleColor:
|
|
9
|
-
leftChildren:
|
|
10
|
-
rightChildren:
|
|
11
|
-
zIndex:
|
|
8
|
+
titleColor: o,
|
|
9
|
+
leftChildren: i,
|
|
10
|
+
rightChildren: n,
|
|
11
|
+
zIndex: t = d.gnb,
|
|
12
12
|
backgroundColor: p
|
|
13
|
-
}) => /* @__PURE__ */
|
|
14
|
-
|
|
15
|
-
e && /* @__PURE__ */ r
|
|
16
|
-
|
|
13
|
+
}) => /* @__PURE__ */ m(c, { backgroundColor: p, zIndex: t, children: [
|
|
14
|
+
i && /* @__PURE__ */ r(s, { children: i }),
|
|
15
|
+
e && /* @__PURE__ */ r(x, { className: a(o === "white" ? "text-white" : "text-gray-900"), children: e }),
|
|
16
|
+
n && /* @__PURE__ */ r(h, { children: n })
|
|
17
17
|
] });
|
|
18
18
|
export {
|
|
19
|
-
|
|
19
|
+
W as BaseNavigation
|
|
20
20
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),l=require("react"),i=require("../../ui/typography.cjs.js"),o=require("../../../lib/utils.cjs.js"),m=t=>t&&typeof t=="object"&&"default"in t?t:{default:t},u=m(l),g=({items:t,...e})=>c.jsx("div",{className:o.cn("flex w-full items-center border-gray-50 border-t bg-white",e.className),...e,children:t?.map((a,r)=>c.jsx(n,{...a},r))}),n=({label:t,icon:e,isActive:a,...r})=>{const s=u.default.cloneElement(e,{className:o.cn(a?"text-gray-900":"text-gray-200",e.props.className)});return c.jsxs("div",{className:o.cn("flex flex-1 cursor-pointer flex-col items-center gap-[3px] p-[5px]",r.className),...r,children:[s,c.jsx(i.Typography,{className:o.cn(a?"text-gray-900":"text-gray-200"),variant:"c2",children:t})]})};exports.BottomNavigationBar=g;exports.BottomNavigationBarItem=n;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import { Typography as
|
|
1
|
+
import { jsx as m, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
import s from "react";
|
|
3
|
+
import { Typography as n } from "../../ui/typography.es.js";
|
|
4
4
|
import { cn as a } from "../../../lib/utils.es.js";
|
|
5
|
-
const
|
|
6
|
-
const
|
|
5
|
+
const d = ({ items: o, ...e }) => /* @__PURE__ */ m("div", { className: a("flex w-full items-center border-gray-50 border-t bg-white", e.className), ...e, children: o?.map((t, r) => /* @__PURE__ */ m(i, { ...t }, r)) }), i = ({ label: o, icon: e, isActive: t, ...r }) => {
|
|
6
|
+
const c = s.cloneElement(e, {
|
|
7
7
|
className: a(t ? "text-gray-900" : "text-gray-200", e.props.className)
|
|
8
8
|
});
|
|
9
|
-
return /* @__PURE__ */
|
|
9
|
+
return /* @__PURE__ */ l(
|
|
10
10
|
"div",
|
|
11
11
|
{
|
|
12
12
|
className: a("flex flex-1 cursor-pointer flex-col items-center gap-[3px] p-[5px]", r.className),
|
|
13
13
|
...r,
|
|
14
14
|
children: [
|
|
15
|
-
|
|
16
|
-
/* @__PURE__ */
|
|
15
|
+
c,
|
|
16
|
+
/* @__PURE__ */ m(n, { className: a(t ? "text-gray-900" : "text-gray-200"), variant: "c2", children: o })
|
|
17
17
|
]
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
};
|
|
21
21
|
export {
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
d as BottomNavigationBar,
|
|
23
|
+
i as BottomNavigationBarItem
|
|
24
24
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),q=require("react"),o=require("../../ui/typography.cjs.js");require("../../../icons/src/icons/Alarm_fill.cjs.js");require("../../../icons/src/icons/Calendar.cjs.js");require("../../../icons/src/icons/Cancel.cjs.js");require("../../../icons/src/icons/Cancel_circle.cjs.js");require("../../../icons/src/icons/Cart_fill.cjs.js");require("../../../icons/src/icons/Check.cjs.js");require("../../../icons/src/icons/Chevron_down.cjs.js");const x=require("../../../icons/src/icons/Chevron_left.cjs.js");require("../../../icons/src/icons/Chevron_right.cjs.js");require("../../../icons/src/icons/Chevron_up.cjs.js");require("../../../icons/src/icons/Double_Chevron_left.cjs.js");require("../../../icons/src/icons/Double_Chevron_right.cjs.js");require("../../../icons/src/icons/Eye_fill.cjs.js");require("../../../icons/src/icons/Eye_slash_fill.cjs.js");require("../../../icons/src/icons/Filter.cjs.js");require("../../../icons/src/icons/Information.cjs.js");require("../../../icons/src/icons/Menu.cjs.js");require("../../../icons/src/icons/More.cjs.js");require("../../../icons/src/icons/Person_fill.cjs.js");require("../../../icons/src/icons/Plus.cjs.js");require("../../../icons/src/icons/Question_circle.cjs.js");require("../../../icons/src/icons/Re.cjs.js");require("../../../icons/src/icons/Search.cjs.js");require("../../../icons/src/icons/Setting_fill.cjs.js");require("../../../icons/src/icons/Share.cjs.js");require("../../../icons/src/icons/Store.cjs.js");const c=require("../../../lib/utils.cjs.js");function u({hasBackground:n=!0,contentColor:e="gray",showTitle:r=!0,header:t={},title:a={children:"타이틀"},leftArea:s,rightArea:l={children:[]}}){return i.jsxs(u.Header,{contentColor:e,hasBackground:n,...t,children:[s?i.jsx(u.BackButton,{contentColor:e,...s}):null,r?i.jsx(u.Title,{contentColor:e,hasBackground:n,...a}):null,l?i.jsx(u.RightArea,{contentColor:e,hasBackground:n,...l}):null]})}u.Header=function({children:e,className:r="",hasBackground:t=!0,contentColor:a="gray",...s}){return i.jsx("header",{className:c.cn("fixed top-0 mx-auto my-0 box-border flex h-[55px] w-full items-center",t?"bg-white":"bg-transparent",a==="white"?"text-white":"text-gray-900",r),...s,children:e})};u.Title=function({children:e,className:r="",contentColor:t="gray",...a}){return i.jsx(o.Typography,{className:c.cn("absolute left-1/2 -translate-x-1/2",t==="white"?"text-white":"text-gray-900",r),variant:"h5",...a,children:e})};u.BackButton=q.forwardRef(function({className:e="",contentColor:r,size:t=25,...a},s){return i.jsx("button",{className:c.cn("absolute left-[20px] cursor-pointer",e),ref:s,...a,children:i.jsx(x.default,{className:c.cn(r==="white"?"text-white":"text-gray-900",e),size:t})})});u.RightArea=function({children:e,className:r="",...t}){return i.jsx("div",{className:c.cn("absolute right-[20px] flex items-center justify-center gap-[20px]",r),...t,children:e})};exports.PageNavigationBar=u;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { Typography as
|
|
1
|
+
import { jsx as o, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as f } from "react";
|
|
3
|
+
import { Typography as x } from "../../ui/typography.es.js";
|
|
4
4
|
import "../../../icons/src/icons/Alarm_fill.es.js";
|
|
5
5
|
import "../../../icons/src/icons/Calendar.es.js";
|
|
6
6
|
import "../../../icons/src/icons/Cancel.es.js";
|
|
@@ -8,7 +8,7 @@ import "../../../icons/src/icons/Cancel_circle.es.js";
|
|
|
8
8
|
import "../../../icons/src/icons/Cart_fill.es.js";
|
|
9
9
|
import "../../../icons/src/icons/Check.es.js";
|
|
10
10
|
import "../../../icons/src/icons/Chevron_down.es.js";
|
|
11
|
-
import
|
|
11
|
+
import s from "../../../icons/src/icons/Chevron_left.es.js";
|
|
12
12
|
import "../../../icons/src/icons/Chevron_right.es.js";
|
|
13
13
|
import "../../../icons/src/icons/Chevron_up.es.js";
|
|
14
14
|
import "../../../icons/src/icons/Double_Chevron_left.es.js";
|
|
@@ -28,7 +28,7 @@ import "../../../icons/src/icons/Setting_fill.es.js";
|
|
|
28
28
|
import "../../../icons/src/icons/Share.es.js";
|
|
29
29
|
import "../../../icons/src/icons/Store.es.js";
|
|
30
30
|
import { cn as n } from "../../../lib/utils.es.js";
|
|
31
|
-
function
|
|
31
|
+
function i({
|
|
32
32
|
hasBackground: m = !0,
|
|
33
33
|
contentColor: t = "gray",
|
|
34
34
|
showTitle: r = !0,
|
|
@@ -37,24 +37,24 @@ function o({
|
|
|
37
37
|
children: "타이틀"
|
|
38
38
|
},
|
|
39
39
|
leftArea: a,
|
|
40
|
-
rightArea:
|
|
40
|
+
rightArea: u = {
|
|
41
41
|
children: []
|
|
42
42
|
}
|
|
43
43
|
}) {
|
|
44
|
-
return /* @__PURE__ */ i.
|
|
45
|
-
a ? /* @__PURE__ */ i.
|
|
46
|
-
r ? /* @__PURE__ */ i.
|
|
47
|
-
|
|
44
|
+
return /* @__PURE__ */ l(i.Header, { contentColor: t, hasBackground: m, ...e, children: [
|
|
45
|
+
a ? /* @__PURE__ */ o(i.BackButton, { contentColor: t, ...a }) : null,
|
|
46
|
+
r ? /* @__PURE__ */ o(i.Title, { contentColor: t, hasBackground: m, ...p }) : null,
|
|
47
|
+
u ? /* @__PURE__ */ o(i.RightArea, { contentColor: t, hasBackground: m, ...u }) : null
|
|
48
48
|
] });
|
|
49
49
|
}
|
|
50
|
-
|
|
50
|
+
i.Header = function({
|
|
51
51
|
children: t,
|
|
52
52
|
className: r = "",
|
|
53
53
|
hasBackground: e = !0,
|
|
54
54
|
contentColor: p = "gray",
|
|
55
55
|
...a
|
|
56
56
|
}) {
|
|
57
|
-
return /* @__PURE__ */
|
|
57
|
+
return /* @__PURE__ */ o(
|
|
58
58
|
"header",
|
|
59
59
|
{
|
|
60
60
|
className: n(
|
|
@@ -68,14 +68,14 @@ o.Header = function({
|
|
|
68
68
|
}
|
|
69
69
|
);
|
|
70
70
|
};
|
|
71
|
-
|
|
71
|
+
i.Title = function({
|
|
72
72
|
children: t,
|
|
73
73
|
className: r = "",
|
|
74
74
|
contentColor: e = "gray",
|
|
75
75
|
...p
|
|
76
76
|
}) {
|
|
77
|
-
return /* @__PURE__ */
|
|
78
|
-
|
|
77
|
+
return /* @__PURE__ */ o(
|
|
78
|
+
x,
|
|
79
79
|
{
|
|
80
80
|
className: n(
|
|
81
81
|
"absolute left-1/2 -translate-x-1/2",
|
|
@@ -88,22 +88,22 @@ o.Title = function({
|
|
|
88
88
|
}
|
|
89
89
|
);
|
|
90
90
|
};
|
|
91
|
-
|
|
92
|
-
return /* @__PURE__ */
|
|
93
|
-
|
|
91
|
+
i.BackButton = f(function({ className: t = "", contentColor: r, size: e = 25, ...p }, a) {
|
|
92
|
+
return /* @__PURE__ */ o("button", { className: n("absolute left-[20px] cursor-pointer", t), ref: a, ...p, children: /* @__PURE__ */ o(
|
|
93
|
+
s,
|
|
94
94
|
{
|
|
95
95
|
className: n(r === "white" ? "text-white" : "text-gray-900", t),
|
|
96
96
|
size: e
|
|
97
97
|
}
|
|
98
98
|
) });
|
|
99
99
|
});
|
|
100
|
-
|
|
100
|
+
i.RightArea = function({
|
|
101
101
|
children: t,
|
|
102
102
|
className: r = "",
|
|
103
103
|
...e
|
|
104
104
|
}) {
|
|
105
|
-
return /* @__PURE__ */
|
|
105
|
+
return /* @__PURE__ */ o("div", { className: n("absolute right-[20px] flex items-center justify-center gap-[20px]", r), ...e, children: t });
|
|
106
106
|
};
|
|
107
107
|
export {
|
|
108
|
-
|
|
108
|
+
i as PageNavigationBar
|
|
109
109
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),m=require("react"),o=require("../../ui/typography.cjs.js"),s=require("../../../lib/utils.cjs.js"),n=m.forwardRef(({hasBackground:c=!0,contentColor:t="gray",type:l="title",leftArea:i,rightArea:x,leftProps:a,...r},u)=>e.jsxs("div",{className:s.cn("flex h-[55px] w-full items-center justify-between px-[20px]",c?"bg-white":"bg-transparent",r.className),ref:u,...r,children:[l==="title"?e.jsx(o.Typography,{className:s.cn(t==="white"?"text-white":"text-gray-900",a?.className),variant:"h3",...a,children:i}):i,e.jsx("div",{className:"flex items-center gap-[20px]",children:x?.map((g,h)=>e.jsx("div",{className:t==="white"?"text-white":"text-gray-900",children:g},h))})]}));n.displayName="TitleNavigationBar";exports.TitleNavigationBar=n;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { Typography as
|
|
1
|
+
import { jsxs as p, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as d } from "react";
|
|
3
|
+
import { Typography as g } from "../../ui/typography.es.js";
|
|
4
4
|
import { cn as s } from "../../../lib/utils.es.js";
|
|
5
|
-
const
|
|
5
|
+
const o = d(
|
|
6
6
|
({
|
|
7
7
|
hasBackground: m = !0,
|
|
8
8
|
contentColor: t = "gray",
|
|
9
|
-
type:
|
|
9
|
+
type: l = "title",
|
|
10
10
|
leftArea: a,
|
|
11
|
-
rightArea:
|
|
11
|
+
rightArea: c,
|
|
12
12
|
leftProps: i,
|
|
13
13
|
...r
|
|
14
|
-
}, n) => /* @__PURE__ */
|
|
14
|
+
}, n) => /* @__PURE__ */ p(
|
|
15
15
|
"div",
|
|
16
16
|
{
|
|
17
17
|
className: s(
|
|
@@ -22,8 +22,8 @@ const d = h(
|
|
|
22
22
|
ref: n,
|
|
23
23
|
...r,
|
|
24
24
|
children: [
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
l === "title" ? /* @__PURE__ */ e(
|
|
26
|
+
g,
|
|
27
27
|
{
|
|
28
28
|
className: s(t === "white" ? "text-white" : "text-gray-900", i?.className),
|
|
29
29
|
variant: "h3",
|
|
@@ -31,12 +31,12 @@ const d = h(
|
|
|
31
31
|
children: a
|
|
32
32
|
}
|
|
33
33
|
) : a,
|
|
34
|
-
/* @__PURE__ */ e
|
|
34
|
+
/* @__PURE__ */ e("div", { className: "flex items-center gap-[20px]", children: c?.map((x, h) => /* @__PURE__ */ e("div", { className: t === "white" ? "text-white" : "text-gray-900", children: x }, h)) })
|
|
35
35
|
]
|
|
36
36
|
}
|
|
37
37
|
)
|
|
38
38
|
);
|
|
39
|
-
|
|
39
|
+
o.displayName = "TitleNavigationBar";
|
|
40
40
|
export {
|
|
41
|
-
|
|
41
|
+
o as TitleNavigationBar
|
|
42
42
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),u=require("react"),n=require("../../lib/utils.cjs.js"),x=require("../../core/Typography/index.cjs.js");require("../../icons/src/icons/Alarm_fill.cjs.js");require("../../icons/src/icons/Calendar.cjs.js");const h=require("../../icons/src/icons/Cancel.cjs.js");require("../../icons/src/icons/Cancel_circle.cjs.js");require("../../icons/src/icons/Cart_fill.cjs.js");require("../../icons/src/icons/Check.cjs.js");require("../../icons/src/icons/Chevron_down.cjs.js");const _=require("../../icons/src/icons/Chevron_left.cjs.js");require("../../icons/src/icons/Chevron_right.cjs.js");require("../../icons/src/icons/Chevron_up.cjs.js");require("../../icons/src/icons/Double_Chevron_left.cjs.js");require("../../icons/src/icons/Double_Chevron_right.cjs.js");require("../../icons/src/icons/Eye_fill.cjs.js");require("../../icons/src/icons/Eye_slash_fill.cjs.js");require("../../icons/src/icons/Filter.cjs.js");require("../../icons/src/icons/Information.cjs.js");require("../../icons/src/icons/Menu.cjs.js");require("../../icons/src/icons/More.cjs.js");require("../../icons/src/icons/Person_fill.cjs.js");require("../../icons/src/icons/Plus.cjs.js");require("../../icons/src/icons/Question_circle.cjs.js");require("../../icons/src/icons/Re.cjs.js");require("../../icons/src/icons/Search.cjs.js");require("../../icons/src/icons/Setting_fill.cjs.js");require("../../icons/src/icons/Share.cjs.js");require("../../icons/src/icons/Store.cjs.js");const p=require("./BaseNavigation/index.cjs.js"),g=require("./constant.cjs.js"),c=require("./index.styled.cjs.js"),N=({contentColor:r,hasBackgroundColor:a,leftArea:s,rightArea:i,...o})=>{const l=g.CONTENT_COLOR_MAP[r].backgroundColor,q=u.useMemo(()=>{const t=()=>{s?.handleClickButton()};if(s?.type==="backIcon")return e.jsx(c.IconWrapper,{onClick:t,children:e.jsx(_.default,{className:n.cn(r==="white"?"text-white":"text-gray-900")})})},[s,r]),d=u.useMemo(()=>{const t=()=>{i?.handleClickButton()};switch(i?.type){case"closeIcon":return e.jsx(c.IconWrapper,{onClick:t,children:e.jsx(h.default,{className:n.cn(r==="white"?"text-white":"text-gray-900")})});case"icon":return e.jsx(c.IconWrapper,{onClick:t,children:e.jsx(i.children,{className:n.cn(r==="white"?"text-white":"text-gray-900")})});case"text":return e.jsx(c.TextWrapper,{onClick:t,children:e.jsx(x.Title3,{className:n.cn(r==="white"?"text-white":"text-gray-700"),children:i.children})});default:return}},[i,r]);return e.jsx(p.BaseNavigation,{backgroundColor:a?l:"transparent",leftChildren:q,rightChildren:d,titleColor:r,...o})};exports.Navigation=N;
|