@x-plat/design-system 0.20.0 → 0.21.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/chunk-2EGVOUGV.cjs +93 -0
- package/dist/chunk-2T3BVV7R.js +0 -0
- package/dist/chunk-3FYYFDKQ.js +159 -0
- package/dist/chunk-3M3GFSHJ.js +67 -0
- package/dist/chunk-3WBHUFOA.cjs +48 -0
- package/dist/chunk-3XYYZQR5.cjs +22 -0
- package/dist/chunk-4EF7NVAL.js +67 -0
- package/dist/chunk-4ISERXK2.cjs +1 -0
- package/dist/chunk-4KYHHJ6Z.cjs +250 -0
- package/dist/chunk-4NSRDRXC.cjs +70 -0
- package/dist/chunk-4OXMRSVE.cjs +99 -0
- package/dist/chunk-55EPYLXN.js +30 -0
- package/dist/chunk-5CE3ADO5.js +254 -0
- package/dist/chunk-5F6Y2JD6.cjs +1 -0
- package/dist/chunk-5FMTMXSP.cjs +127 -0
- package/dist/chunk-5POCKDDY.js +36 -0
- package/dist/chunk-5VDI56BV.js +33 -0
- package/dist/chunk-5WLBUPSK.js +77 -0
- package/dist/chunk-5WNNWQHD.cjs +272 -0
- package/dist/chunk-66STZB6I.cjs +404 -0
- package/dist/chunk-6AIKCZN7.js +1455 -0
- package/dist/chunk-6IUJJUVP.js +18 -0
- package/dist/chunk-6P2B3ZGP.js +79 -0
- package/dist/chunk-764ILIDG.cjs +22 -0
- package/dist/chunk-7B44DWC4.js +0 -0
- package/dist/chunk-7BE6ETFY.js +18 -0
- package/dist/chunk-7BSUS5A4.js +97 -0
- package/dist/chunk-7RPWCDEW.cjs +20 -0
- package/dist/chunk-7ULXHGLO.cjs +77 -0
- package/dist/chunk-7YOI5XOW.js +55 -0
- package/dist/chunk-AFVTM5CP.js +0 -0
- package/dist/chunk-AN2WSL3B.cjs +1 -0
- package/dist/chunk-AT5Y5GLS.cjs +118 -0
- package/dist/chunk-AWPO2FI7.js +404 -0
- package/dist/chunk-BGXHIDUR.js +103 -0
- package/dist/chunk-BPZXL5TP.js +99 -0
- package/dist/chunk-BRTS5GWV.js +275 -0
- package/dist/chunk-BS3MLZCK.cjs +97 -0
- package/dist/chunk-BSPYYE2U.js +36 -0
- package/dist/chunk-BWJAEB42.js +48 -0
- package/dist/chunk-C4RMTISI.cjs +18 -0
- package/dist/chunk-C6M4XVR7.cjs +36 -0
- package/dist/chunk-CGC4D5MP.cjs +89 -0
- package/dist/chunk-CIRQYSQW.js +70 -0
- package/dist/chunk-CLOTWJNP.cjs +310 -0
- package/dist/chunk-CS7ZY35M.cjs +49 -0
- package/dist/chunk-CUV4RLDE.js +89 -0
- package/dist/chunk-CZAMLFSE.cjs +275 -0
- package/dist/chunk-D7QZLJ3Z.cjs +18 -0
- package/dist/chunk-DMSAAZ3M.cjs +92 -0
- package/dist/chunk-DUIZC7VJ.cjs +36 -0
- package/dist/chunk-DVBF4BDH.js +43 -0
- package/dist/chunk-EETYMP6K.cjs +584 -0
- package/dist/chunk-EFQL7JPX.js +0 -0
- package/dist/chunk-EFU7IAF5.cjs +12 -0
- package/dist/chunk-F3M2H5EX.cjs +79 -0
- package/dist/chunk-F436V2SX.cjs +254 -0
- package/dist/chunk-F664X2OY.js +250 -0
- package/dist/chunk-FF7ELUQW.cjs +1 -0
- package/dist/chunk-G3HE4S3Q.cjs +296 -0
- package/dist/chunk-GOPD5KUK.js +23 -0
- package/dist/chunk-GYTB24V6.cjs +107 -0
- package/dist/chunk-GZ657SGO.js +310 -0
- package/dist/chunk-H2QN65L6.cjs +1 -0
- package/dist/chunk-H6WUT7CK.js +22 -0
- package/dist/chunk-H76OQ75T.js +49 -0
- package/dist/chunk-HA3XONYI.js +18 -0
- package/dist/chunk-HF3UFXEU.js +296 -0
- package/dist/chunk-HGA47QVV.cjs +55 -0
- package/dist/chunk-HHPPAMXF.cjs +674 -0
- package/dist/chunk-HLV2XIE2.cjs +385 -0
- package/dist/chunk-HNQGIL45.cjs +96 -0
- package/dist/chunk-HQ37R7T3.js +53 -0
- package/dist/chunk-HXUGW4RR.js +187 -0
- package/dist/chunk-HYPRLWD3.js +272 -0
- package/dist/chunk-I7TLJUTP.cjs +6 -0
- package/dist/chunk-ICTWDTKC.cjs +1 -0
- package/dist/chunk-IPYKHDP4.cjs +187 -0
- package/dist/chunk-IRKREQ2X.cjs +18 -0
- package/dist/chunk-IVJJBMRY.js +92 -0
- package/dist/chunk-JPVIVOFG.js +26 -0
- package/dist/chunk-JYNBNSNF.js +151 -0
- package/dist/chunk-JZC3BXAC.js +93 -0
- package/dist/chunk-K5XPQWXN.cjs +92 -0
- package/dist/chunk-KQ3GOMHL.js +31 -0
- package/dist/chunk-KUJH72U6.cjs +159 -0
- package/dist/chunk-KVUXLC6M.cjs +479 -0
- package/dist/chunk-KZOJN57Q.js +19 -0
- package/dist/chunk-L3XPL4NP.cjs +53 -0
- package/dist/chunk-LOEMSXYB.js +0 -0
- package/dist/chunk-LU4KBPNG.cjs +23 -0
- package/dist/chunk-MWWWPQDB.js +26 -0
- package/dist/chunk-NCBB3WUJ.js +562 -0
- package/dist/chunk-NGCZTZST.cjs +562 -0
- package/dist/chunk-NSDKALIS.cjs +67 -0
- package/dist/chunk-NZHCRLNB.cjs +26 -0
- package/dist/chunk-OL4NANHB.js +0 -0
- package/dist/chunk-OTJRNKLR.js +96 -0
- package/dist/chunk-OWWFKTSK.js +0 -0
- package/dist/chunk-P2E3PB62.cjs +99 -0
- package/dist/chunk-P2QVFR7S.js +20 -0
- package/dist/chunk-P6ZGIYY7.cjs +18 -0
- package/dist/chunk-PFGSJJRY.cjs +19 -0
- package/dist/chunk-PNIUW7AJ.cjs +32 -0
- package/dist/chunk-Q2M2ONGO.js +70 -0
- package/dist/chunk-Q4PGP5KE.cjs +562 -0
- package/dist/chunk-QAI2YQPY.cjs +51 -0
- package/dist/chunk-QCD7UEZ3.cjs +59 -0
- package/dist/chunk-QEZ4R3SK.js +6 -0
- package/dist/chunk-QKDCPM2D.cjs +23 -0
- package/dist/chunk-QRGG3V7W.cjs +59 -0
- package/dist/chunk-QURIHUEC.js +107 -0
- package/dist/chunk-QY742LWN.js +30 -0
- package/dist/chunk-QYMRGYTN.js +127 -0
- package/dist/chunk-RLKJ2RZG.js +23 -0
- package/dist/chunk-RRR5BUOM.cjs +30 -0
- package/dist/chunk-RU3FCVXM.cjs +1 -0
- package/dist/chunk-RYTDVTV2.js +32 -0
- package/dist/chunk-RYYGUYDE.js +92 -0
- package/dist/chunk-SGLP4U3Y.cjs +67 -0
- package/dist/chunk-SJC543ZK.js +71 -0
- package/dist/chunk-SLYQK4SC.js +20 -0
- package/dist/chunk-SMLCOMLS.js +2888 -0
- package/dist/chunk-SNMOPLMH.cjs +372 -0
- package/dist/chunk-TRJUJYW7.cjs +151 -0
- package/dist/chunk-TTY5PE3P.js +30 -0
- package/dist/chunk-TXARYG3J.js +22 -0
- package/dist/chunk-TYXJU4EF.js +18 -0
- package/dist/chunk-U3PC7FYZ.cjs +26 -0
- package/dist/chunk-U67JM2WL.cjs +34 -0
- package/dist/chunk-UARGO5UG.js +59 -0
- package/dist/chunk-UCYE3H3F.cjs +43 -0
- package/dist/chunk-UGEGN35F.js +118 -0
- package/dist/chunk-UHUA3GQC.cjs +30 -0
- package/dist/chunk-UJQN477L.js +59 -0
- package/dist/chunk-UMX7DTFZ.cjs +70 -0
- package/dist/chunk-UT42P54P.js +372 -0
- package/dist/chunk-V76ZRGHQ.cjs +1 -0
- package/dist/chunk-VCIK366Y.cjs +1455 -0
- package/dist/chunk-VMA74ABT.cjs +137 -0
- package/dist/chunk-VSA62N2O.js +12 -0
- package/dist/chunk-WDAFLVQK.js +479 -0
- package/dist/chunk-WHMLMAMO.js +674 -0
- package/dist/chunk-WNBLKKLM.js +0 -0
- package/dist/chunk-WQ2GY7F3.js +46 -0
- package/dist/chunk-WRLCCK3M.cjs +30 -0
- package/dist/chunk-WVCZIOLY.js +562 -0
- package/dist/chunk-WZLGJQLW.js +385 -0
- package/dist/chunk-XB6FEBK6.js +34 -0
- package/dist/chunk-XMERDSRE.js +75 -0
- package/dist/chunk-XMLFKZYY.js +137 -0
- package/dist/chunk-XMM52J3T.js +584 -0
- package/dist/chunk-XZ7C5CGB.cjs +103 -0
- package/dist/chunk-YGFBAOKX.js +51 -0
- package/dist/chunk-YIN552MF.cjs +20 -0
- package/dist/chunk-YLC42E65.cjs +31 -0
- package/dist/chunk-YOTXRYJL.cjs +46 -0
- package/dist/chunk-ZAUGJZK7.js +99 -0
- package/dist/chunk-ZIZOQTDG.cjs +75 -0
- package/dist/chunk-ZMSV5VZI.cjs +2888 -0
- package/dist/chunk-ZN6MLZAE.cjs +71 -0
- package/dist/chunk-ZNCT6HXA.cjs +33 -0
- package/dist/components/Accordion/index.cjs +5 -1036
- package/dist/components/Accordion/index.js +5 -999
- package/dist/components/Alert/index.cjs +4 -69
- package/dist/components/Alert/index.js +4 -42
- package/dist/components/AutoResizeTextArea/index.cjs +6 -260
- package/dist/components/AutoResizeTextArea/index.js +6 -223
- package/dist/components/Avatar/index.cjs +4 -65
- package/dist/components/Avatar/index.js +4 -38
- package/dist/components/Badge/index.cjs +6 -69
- package/dist/components/Badge/index.js +5 -40
- package/dist/components/Box/index.cjs +4 -58
- package/dist/components/Box/index.js +4 -31
- package/dist/components/Breadcrumb/index.cjs +4 -42
- package/dist/components/Breadcrumb/index.js +3 -14
- package/dist/components/Button/index.cjs +5 -65
- package/dist/components/Button/index.js +5 -38
- package/dist/components/Calendar/index.cjs +6 -1317
- package/dist/components/Calendar/index.js +10 -1281
- package/dist/components/CardTab/index.cjs +4 -120
- package/dist/components/CardTab/index.js +4 -83
- package/dist/components/Chart/index.cjs +5 -708
- package/dist/components/Chart/index.js +4 -670
- package/dist/components/ChatInput/index.cjs +9 -390
- package/dist/components/ChatInput/index.js +9 -353
- package/dist/components/CheckBox/index.cjs +20 -1125
- package/dist/components/CheckBox/index.js +17 -1095
- package/dist/components/Chip/index.cjs +5 -55
- package/dist/components/Chip/index.js +5 -28
- package/dist/components/DatePicker/index.cjs +16 -2136
- package/dist/components/DatePicker/index.js +19 -2099
- package/dist/components/Divider/index.cjs +4 -58
- package/dist/components/Divider/index.js +4 -31
- package/dist/components/Drawer/index.cjs +5 -190
- package/dist/components/Drawer/index.js +5 -153
- package/dist/components/Dropdown/index.cjs +7 -375
- package/dist/components/Dropdown/index.js +7 -338
- package/dist/components/Editor/index.cjs +6 -1486
- package/dist/components/Editor/index.css +53 -0
- package/dist/components/Editor/index.d.cts +13 -0
- package/dist/components/Editor/index.d.ts +13 -0
- package/dist/components/Editor/index.js +6 -1453
- package/dist/components/EmptyState/index.cjs +4 -42
- package/dist/components/EmptyState/index.js +3 -14
- package/dist/components/FieldMessage/index.cjs +7 -182
- package/dist/components/FieldMessage/index.js +8 -154
- package/dist/components/FileUpload/index.cjs +7 -1171
- package/dist/components/FileUpload/index.js +7 -1134
- package/dist/components/HtmlTypeWriter/index.cjs +3 -171
- package/dist/components/HtmlTypeWriter/index.js +3 -133
- package/dist/components/IconButton/index.cjs +4 -65
- package/dist/components/IconButton/index.js +4 -38
- package/dist/components/ImageSelector/index.cjs +8 -1214
- package/dist/components/ImageSelector/index.js +8 -1177
- package/dist/components/Input/index.cjs +7 -429
- package/dist/components/Input/index.js +8 -392
- package/dist/components/Link/index.cjs +4 -61
- package/dist/components/Link/index.js +4 -34
- package/dist/components/LinkButton/index.cjs +5 -61
- package/dist/components/LinkButton/index.js +5 -34
- package/dist/components/Modal/index.cjs +5 -190
- package/dist/components/Modal/index.js +5 -153
- package/dist/components/NotificationBadge/index.cjs +5 -68
- package/dist/components/NotificationBadge/index.js +5 -40
- package/dist/components/Pagination/index.cjs +6 -1034
- package/dist/components/Pagination/index.js +6 -1007
- package/dist/components/PopOver/index.cjs +7 -363
- package/dist/components/PopOver/index.js +7 -326
- package/dist/components/Progress/index.cjs +5 -84
- package/dist/components/Progress/index.js +5 -57
- package/dist/components/Radio/index.cjs +7 -274
- package/dist/components/Radio/index.js +8 -237
- package/dist/components/Select/index.cjs +10 -1577
- package/dist/components/Select/index.js +11 -1540
- package/dist/components/Skeleton/index.cjs +4 -71
- package/dist/components/Skeleton/index.js +4 -44
- package/dist/components/Spinner/index.cjs +5 -88
- package/dist/components/Spinner/index.js +5 -61
- package/dist/components/Stat/index.cjs +5 -81
- package/dist/components/Stat/index.js +5 -54
- package/dist/components/Steps/index.cjs +7 -968
- package/dist/components/Steps/index.js +7 -941
- package/dist/components/Swiper/index.cjs +4 -357
- package/dist/components/Swiper/index.js +4 -320
- package/dist/components/Switch/index.cjs +7 -252
- package/dist/components/Switch/index.js +7 -215
- package/dist/components/Tab/index.cjs +4 -144
- package/dist/components/Tab/index.js +4 -107
- package/dist/components/Table/index.cjs +4 -337
- package/dist/components/Table/index.js +8 -300
- package/dist/components/Tag/index.cjs +6 -969
- package/dist/components/Tag/index.js +6 -942
- package/dist/components/TextArea/index.cjs +6 -229
- package/dist/components/TextArea/index.js +6 -192
- package/dist/components/TimePicker/index.cjs +9 -579
- package/dist/components/TimePicker/index.js +9 -542
- package/dist/components/Toast/index.cjs +5 -146
- package/dist/components/Toast/index.js +5 -108
- package/dist/components/ToggleChip/index.cjs +5 -66
- package/dist/components/ToggleChip/index.js +5 -39
- package/dist/components/Tooltip/index.cjs +6 -204
- package/dist/components/Tooltip/index.js +6 -167
- package/dist/components/Tour/index.cjs +6 -414
- package/dist/components/Tour/index.js +6 -377
- package/dist/components/Video/index.cjs +7 -796
- package/dist/components/Video/index.js +7 -759
- package/dist/components/index.cjs +140 -8342
- package/dist/components/index.js +190 -8288
- package/dist/index.cjs +903 -13318
- package/dist/index.js +524 -12526
- package/dist/layout/Grid/FullGrid/index.cjs +4 -46
- package/dist/layout/Grid/FullGrid/index.js +3 -18
- package/dist/layout/Grid/FullScreen/index.cjs +4 -46
- package/dist/layout/Grid/FullScreen/index.js +3 -18
- package/dist/layout/Grid/Item/index.cjs +5 -68
- package/dist/layout/Grid/Item/index.js +5 -41
- package/dist/layout/Grid/index.cjs +14 -109
- package/dist/layout/Grid/index.js +14 -79
- package/dist/layout/Header/index.cjs +4 -44
- package/dist/layout/Header/index.js +3 -16
- package/dist/layout/Layout/index.cjs +4 -42
- package/dist/layout/Layout/index.js +3 -14
- package/dist/layout/SideBar/index.cjs +6 -96
- package/dist/layout/SideBar/index.js +6 -57
- package/dist/layout/index.cjs +38 -209
- package/dist/layout/index.js +27 -153
- package/dist/tokens/index.cjs +627 -6119
- package/dist/tokens/index.js +324 -5489
- package/guidelines/components/editor.md +3 -0
- package/guidelines/setup.md +7 -0
- package/package.json +6 -3
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkPFGSJJRYcjs = require('./chunk-PFGSJJRY.cjs');
|
|
4
|
+
|
|
5
|
+
// src/components/Alert/Alert.tsx
|
|
6
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
7
|
+
var Alert = (props) => {
|
|
8
|
+
const { type = "info", children, onClose } = props;
|
|
9
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
10
|
+
"div",
|
|
11
|
+
{
|
|
12
|
+
className: _chunkPFGSJJRYcjs.clsx_default.call(void 0, "lib-xplat-alert", type),
|
|
13
|
+
role: "alert",
|
|
14
|
+
children: [
|
|
15
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "content", children }),
|
|
16
|
+
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17
|
+
"button",
|
|
18
|
+
{
|
|
19
|
+
className: "close-btn",
|
|
20
|
+
onClick: onClose,
|
|
21
|
+
"aria-label": "\uB2EB\uAE30",
|
|
22
|
+
children: "\xD7"
|
|
23
|
+
}
|
|
24
|
+
)
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
};
|
|
29
|
+
Alert.displayName = "Alert";
|
|
30
|
+
var Alert_default = Alert;
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
exports.Alert_default = Alert_default;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import {
|
|
2
|
+
findScrollParent
|
|
3
|
+
} from "./chunk-F664X2OY.js";
|
|
4
|
+
|
|
5
|
+
// src/tokens/hooks/useClickOutside.ts
|
|
6
|
+
import React from "react";
|
|
7
|
+
var useClickOutside = (refs, handler, enabled = true) => {
|
|
8
|
+
React.useEffect(() => {
|
|
9
|
+
if (!enabled) return;
|
|
10
|
+
const refArray = Array.isArray(refs) ? refs : [refs];
|
|
11
|
+
const listener = (event) => {
|
|
12
|
+
const target = event.target;
|
|
13
|
+
const isInside = refArray.some(
|
|
14
|
+
(ref) => ref.current && ref.current.contains(target)
|
|
15
|
+
);
|
|
16
|
+
if (!isInside) {
|
|
17
|
+
handler();
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
document.addEventListener("mousedown", listener);
|
|
21
|
+
document.addEventListener("touchstart", listener);
|
|
22
|
+
return () => {
|
|
23
|
+
document.removeEventListener("mousedown", listener);
|
|
24
|
+
document.removeEventListener("touchstart", listener);
|
|
25
|
+
};
|
|
26
|
+
}, [refs, handler, enabled]);
|
|
27
|
+
};
|
|
28
|
+
var useClickOutside_default = useClickOutside;
|
|
29
|
+
|
|
30
|
+
// src/tokens/hooks/useOverlayHost.ts
|
|
31
|
+
import React2 from "react";
|
|
32
|
+
var useOverlayHost = (triggerRef, enabled) => {
|
|
33
|
+
const [host, setHost] = React2.useState(null);
|
|
34
|
+
React2.useLayoutEffect(() => {
|
|
35
|
+
if (!enabled || !triggerRef.current) {
|
|
36
|
+
setHost(null);
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
const el = document.createElement("div");
|
|
40
|
+
el.dataset.xplatOverlayHost = "";
|
|
41
|
+
el.style.position = "relative";
|
|
42
|
+
el.style.width = "0";
|
|
43
|
+
el.style.height = "0";
|
|
44
|
+
const parent = findScrollParent(triggerRef.current) ?? document.body;
|
|
45
|
+
parent.appendChild(el);
|
|
46
|
+
setHost(el);
|
|
47
|
+
return () => {
|
|
48
|
+
el.remove();
|
|
49
|
+
setHost(null);
|
|
50
|
+
};
|
|
51
|
+
}, [enabled, triggerRef]);
|
|
52
|
+
return host;
|
|
53
|
+
};
|
|
54
|
+
var useOverlayHost_default = useOverlayHost;
|
|
55
|
+
|
|
56
|
+
export {
|
|
57
|
+
useClickOutside_default,
|
|
58
|
+
useOverlayHost_default
|
|
59
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
|
+
|
|
3
|
+
var _chunkSNMOPLMHcjs = require('./chunk-SNMOPLMH.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkPFGSJJRYcjs = require('./chunk-PFGSJJRY.cjs');
|
|
7
|
+
|
|
8
|
+
// src/components/Tag/Tag.tsx
|
|
9
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
10
|
+
var Tag = (props) => {
|
|
11
|
+
const {
|
|
12
|
+
children,
|
|
13
|
+
variant,
|
|
14
|
+
type,
|
|
15
|
+
onClose,
|
|
16
|
+
size = "md",
|
|
17
|
+
disabled = false,
|
|
18
|
+
colorIndex
|
|
19
|
+
} = props;
|
|
20
|
+
const shape = _nullishCoalesce(_nullishCoalesce(variant, () => ( type)), () => ( "neutral"));
|
|
21
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22
|
+
"span",
|
|
23
|
+
{
|
|
24
|
+
className: _chunkPFGSJJRYcjs.clsx_default.call(void 0,
|
|
25
|
+
"lib-xplat-tag",
|
|
26
|
+
shape,
|
|
27
|
+
size,
|
|
28
|
+
shape === "categorical" && colorIndex !== void 0 && `cat-${colorIndex}`,
|
|
29
|
+
disabled && "disabled"
|
|
30
|
+
),
|
|
31
|
+
children: [
|
|
32
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "tag-label", children }),
|
|
33
|
+
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { className: "tag-close", onClick: onClose, "aria-label": "\uC0AD\uC81C", disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSNMOPLMHcjs.XIcon_default, {}) })
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
);
|
|
37
|
+
};
|
|
38
|
+
Tag.displayName = "Tag";
|
|
39
|
+
var Tag_default = Tag;
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
exports.Tag_default = Tag_default;
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
// src/tokens/svg/date/CalendarIcon.tsx
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
var CalendarIcon = () => /* @__PURE__ */ jsx(
|
|
4
|
+
"svg",
|
|
5
|
+
{
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "1em",
|
|
8
|
+
height: "1em",
|
|
9
|
+
viewBox: "0 0 20 20",
|
|
10
|
+
fill: "none",
|
|
11
|
+
children: /* @__PURE__ */ jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.334 0.916992C13.748 0.917256 14.084 1.25294 14.084 1.66699V2.58301H15.833C17.1676 2.58301 18.2499 3.66542 18.25 5V16.666C18.25 18.0007 17.1677 19.083 15.833 19.083H4.16699C2.8323 19.083 1.75 18.0007 1.75 16.666V5C1.75013 3.66542 2.83239 2.58301 4.16699 2.58301H5.91699V1.66699C5.91699 1.25278 6.25278 0.916992 6.66699 0.916992C7.08098 0.917256 7.41699 1.25294 7.41699 1.66699V2.58301H12.584V1.66699C12.584 1.25278 12.9198 0.916992 13.334 0.916992ZM3.25 9.08301V16.666C3.25 17.1723 3.66073 17.583 4.16699 17.583H15.833C16.3393 17.583 16.75 17.1723 16.75 16.666V9.08301H3.25ZM4.16699 4.08301C3.66081 4.08301 3.25013 4.49385 3.25 5V7.58301H16.75V5C16.7499 4.49385 16.3392 4.08301 15.833 4.08301H14.084V5C14.0839 5.41394 13.7479 5.74974 13.334 5.75C12.9199 5.75 12.5841 5.4141 12.584 5V4.08301H7.41699V5C7.41686 5.41394 7.0809 5.74974 6.66699 5.75C6.25286 5.75 5.91712 5.4141 5.91699 5V4.08301H4.16699Z", fill: "currentColor" })
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
var CalendarIcon_default = CalendarIcon;
|
|
15
|
+
|
|
16
|
+
// src/tokens/svg/date/CalenderIcon.tsx
|
|
17
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
18
|
+
var CalenderIcon = () => /* @__PURE__ */ jsx2(
|
|
19
|
+
"svg",
|
|
20
|
+
{
|
|
21
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
22
|
+
width: "1em",
|
|
23
|
+
height: "1em",
|
|
24
|
+
viewBox: "0 0 16 16",
|
|
25
|
+
fill: "none",
|
|
26
|
+
children: /* @__PURE__ */ jsx2(
|
|
27
|
+
"path",
|
|
28
|
+
{
|
|
29
|
+
fillRule: "evenodd",
|
|
30
|
+
clipRule: "evenodd",
|
|
31
|
+
d: "M10.6671 0.733398C10.9983 0.73361 11.2671 1.00216 11.2671 1.3334V2.06621H12.6663C13.734 2.06621 14.5998 2.93214 14.5999 3.9998V13.3326C14.5999 14.4004 13.7341 15.2662 12.6663 15.2662H3.3335C2.26575 15.2662 1.3999 14.4004 1.3999 13.3326V3.9998C1.40001 2.93214 2.26581 2.06621 3.3335 2.06621H4.7335V1.3334C4.7335 1.00203 5.00213 0.733398 5.3335 0.733398C5.66469 0.73361 5.9335 1.00216 5.9335 1.3334V2.06621H10.0671V1.3334C10.0671 1.00203 10.3357 0.733398 10.6671 0.733398ZM2.5999 7.26621V13.3326C2.5999 13.7376 2.92849 14.0662 3.3335 14.0662H12.6663C13.0713 14.0662 13.3999 13.7376 13.3999 13.3326V7.26621H2.5999ZM3.3335 3.26621C2.92855 3.26621 2.60001 3.59489 2.5999 3.9998V6.06621H13.3999V3.9998C13.3998 3.59489 13.0713 3.26621 12.6663 3.26621H11.2671V3.9998C11.267 4.33096 10.9982 4.59959 10.6671 4.5998C10.3358 4.5998 10.0672 4.33109 10.0671 3.9998V3.26621H5.9335V3.9998C5.93339 4.33096 5.66462 4.59959 5.3335 4.5998C5.00219 4.5998 4.7336 4.33109 4.7335 3.9998V3.26621H3.3335Z",
|
|
32
|
+
fill: "currentColor"
|
|
33
|
+
}
|
|
34
|
+
)
|
|
35
|
+
}
|
|
36
|
+
);
|
|
37
|
+
var CalenderIcon_default = CalenderIcon;
|
|
38
|
+
|
|
39
|
+
// src/tokens/svg/date/ClockIcon.tsx
|
|
40
|
+
import { jsx as jsx3, jsxs } from "react/jsx-runtime";
|
|
41
|
+
var ClockIcon = () => /* @__PURE__ */ jsxs(
|
|
42
|
+
"svg",
|
|
43
|
+
{
|
|
44
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
45
|
+
width: "1em",
|
|
46
|
+
height: "1em",
|
|
47
|
+
viewBox: "0 0 20 20",
|
|
48
|
+
fill: "none",
|
|
49
|
+
children: [
|
|
50
|
+
/* @__PURE__ */ jsxs("g", { clipPath: "url(#clock-clip)", children: [
|
|
51
|
+
/* @__PURE__ */ jsx3("path", { d: "M10 4.25C10.4142 4.25 10.75 4.58579 10.75 5V9.53613L13.6689 10.9961C14.0392 11.1814 14.1891 11.6316 14.0039 12.002C13.8187 12.3723 13.3685 12.5229 12.998 12.3379L9.66504 10.6709C9.41095 10.5439 9.25 10.2841 9.25 10V5C9.25 4.58579 9.58579 4.25 10 4.25Z", fill: "currentColor" }),
|
|
52
|
+
/* @__PURE__ */ jsx3("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10 0.916992C15.0163 0.917256 19.0838 4.98373 19.084 10C19.0839 15.0163 15.0163 19.0837 10 19.084C4.98364 19.0838 0.916148 15.0164 0.916016 10C0.916191 4.98367 4.98367 0.917168 10 0.916992ZM10 2.41699C5.8121 2.41717 2.41717 5.8121 2.41699 10C2.41712 14.1879 5.81207 17.5838 10 17.584C14.1879 17.5837 17.5839 14.1879 17.584 10C17.5838 5.81215 14.1878 2.41726 10 2.41699Z", fill: "currentColor" })
|
|
53
|
+
] }),
|
|
54
|
+
/* @__PURE__ */ jsx3("defs", { children: /* @__PURE__ */ jsx3("clipPath", { id: "clock-clip", children: /* @__PURE__ */ jsx3("rect", { width: "20", height: "20", fill: "currentColor" }) }) })
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
);
|
|
58
|
+
var ClockIcon_default = ClockIcon;
|
|
59
|
+
|
|
60
|
+
// src/tokens/svg/date/SunriseIcon.tsx
|
|
61
|
+
import { jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
62
|
+
var SunriseIcon = () => /* @__PURE__ */ jsxs2(
|
|
63
|
+
"svg",
|
|
64
|
+
{
|
|
65
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
66
|
+
width: "1em",
|
|
67
|
+
height: "1em",
|
|
68
|
+
viewBox: "0 0 20 20",
|
|
69
|
+
fill: "none",
|
|
70
|
+
children: [
|
|
71
|
+
/* @__PURE__ */ jsxs2("g", { clipPath: "url(#sunrise-clip)", children: [
|
|
72
|
+
/* @__PURE__ */ jsx4("path", { d: "M19.167 17.583C19.5809 17.5833 19.9169 17.9191 19.917 18.333C19.917 18.7471 19.581 19.0827 19.167 19.083H0.833984C0.419771 19.083 0.0830078 18.7472 0.0830078 18.333C0.0831396 17.9189 0.419852 17.583 0.833984 17.583H19.167Z", fill: "currentColor" }),
|
|
73
|
+
/* @__PURE__ */ jsx4("path", { d: "M2.50098 14.25C2.91482 14.2504 3.25098 14.5861 3.25098 15C3.25098 15.4139 2.91482 15.7496 2.50098 15.75H0.833984C0.419771 15.75 0.0830078 15.4142 0.0830078 15C0.0830078 14.5858 0.419771 14.25 0.833984 14.25H2.50098Z", fill: "currentColor" }),
|
|
74
|
+
/* @__PURE__ */ jsx4("path", { d: "M10.001 10.083C11.3047 10.0832 12.5557 10.6016 13.4775 11.5234C14.3993 12.4454 14.9169 13.6963 14.917 15C14.9168 15.4139 14.5809 15.7497 14.167 15.75C13.753 15.7498 13.4172 15.414 13.417 15C13.4169 14.0941 13.0574 13.2246 12.417 12.584C11.7764 11.9434 10.9068 11.5832 10.001 11.583C9.09499 11.583 8.22568 11.9435 7.58496 12.584C6.94427 13.2247 6.58405 14.0939 6.58398 15C6.58381 15.4139 6.24786 15.7497 5.83398 15.75C5.41988 15.75 5.08416 15.4141 5.08398 15C5.08405 13.6961 5.60242 12.4454 6.52441 11.5234C7.44643 10.6016 8.69717 10.083 10.001 10.083Z", fill: "currentColor" }),
|
|
75
|
+
/* @__PURE__ */ jsx4("path", { d: "M19.167 14.25C19.5811 14.2502 19.917 14.5859 19.917 15C19.917 15.4141 19.5811 15.7498 19.167 15.75H17.5C17.0858 15.75 16.75 15.4142 16.75 15C16.75 14.5858 17.0858 14.25 17.5 14.25H19.167Z", fill: "currentColor" }),
|
|
76
|
+
/* @__PURE__ */ jsx4("path", { d: "M2.98633 7.98633C3.27922 7.69343 3.75398 7.69343 4.04688 7.98633L5.23047 9.16992C5.5231 9.46284 5.52328 9.93766 5.23047 10.2305C4.93766 10.5233 4.46284 10.5231 4.16992 10.2305L2.98633 9.04688C2.69343 8.75398 2.69343 8.27922 2.98633 7.98633Z", fill: "currentColor" }),
|
|
77
|
+
/* @__PURE__ */ jsx4("path", { d: "M15.9531 7.98633C16.246 7.69357 16.7208 7.69348 17.0137 7.98633C17.3064 8.27919 17.3064 8.75401 17.0137 9.04688L15.8301 10.2305C15.5372 10.5232 15.0624 10.5232 14.7695 10.2305C14.4767 9.93762 14.4768 9.46283 14.7695 9.16992L15.9531 7.98633Z", fill: "currentColor" }),
|
|
78
|
+
/* @__PURE__ */ jsx4("path", { d: "M10 0.916992C10.0873 0.916992 10.1701 0.934492 10.248 0.961914C10.2596 0.965972 10.2718 0.968018 10.2832 0.972656C10.3113 0.984139 10.337 0.999973 10.3633 1.01465C10.4224 1.04763 10.4801 1.08653 10.5303 1.13672L13.8643 4.46973C14.1566 4.7625 14.1566 5.23747 13.8643 5.53027C13.5715 5.82304 13.0966 5.8228 12.8037 5.53027L10.75 3.47656V7.5C10.7499 7.9141 10.4141 8.25 10 8.25C9.58587 8.25 9.25013 7.9141 9.25 7.5V3.47656L7.19727 5.53027C6.90449 5.82304 6.42964 5.8228 6.13672 5.53027C5.84399 5.23737 5.84388 4.76257 6.13672 4.46973L9.46973 1.13672C9.526 1.08047 9.59011 1.03755 9.65723 1.00293C9.67427 0.994113 9.69024 0.983103 9.70801 0.975586L9.71777 0.97168C9.73425 0.965012 9.75173 0.961503 9.76855 0.956055C9.8417 0.932251 9.91892 0.916992 10 0.916992Z", fill: "currentColor" })
|
|
79
|
+
] }),
|
|
80
|
+
/* @__PURE__ */ jsx4("defs", { children: /* @__PURE__ */ jsx4("clipPath", { id: "sunrise-clip", children: /* @__PURE__ */ jsx4("rect", { width: "20", height: "20", fill: "currentColor" }) }) })
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
);
|
|
84
|
+
var SunriseIcon_default = SunriseIcon;
|
|
85
|
+
|
|
86
|
+
// src/tokens/svg/date/SunsetIcon.tsx
|
|
87
|
+
import { jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
88
|
+
var SunsetIcon = () => /* @__PURE__ */ jsxs3(
|
|
89
|
+
"svg",
|
|
90
|
+
{
|
|
91
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
92
|
+
width: "1em",
|
|
93
|
+
height: "1em",
|
|
94
|
+
viewBox: "0 0 20 20",
|
|
95
|
+
fill: "none",
|
|
96
|
+
children: [
|
|
97
|
+
/* @__PURE__ */ jsxs3("g", { clipPath: "url(#sunset-clip)", children: [
|
|
98
|
+
/* @__PURE__ */ jsx5("path", { d: "M19.167 17.583C19.5809 17.5833 19.9169 17.9191 19.917 18.333C19.917 18.7471 19.581 19.0827 19.167 19.083H0.833984C0.419771 19.083 0.0830078 18.7472 0.0830078 18.333C0.0831396 17.9189 0.419852 17.583 0.833984 17.583H19.167Z", fill: "currentColor" }),
|
|
99
|
+
/* @__PURE__ */ jsx5("path", { d: "M2.50098 14.25C2.91482 14.2504 3.25098 14.5861 3.25098 15C3.25098 15.4139 2.91482 15.7496 2.50098 15.75H0.833984C0.419771 15.75 0.0830078 15.4142 0.0830078 15C0.0830078 14.5858 0.419771 14.25 0.833984 14.25H2.50098Z", fill: "currentColor" }),
|
|
100
|
+
/* @__PURE__ */ jsx5("path", { d: "M10.001 10.083C11.3047 10.0832 12.5557 10.6016 13.4775 11.5234C14.3993 12.4454 14.9169 13.6963 14.917 15C14.9168 15.4139 14.5809 15.7497 14.167 15.75C13.753 15.7498 13.4172 15.414 13.417 15C13.4169 14.0941 13.0574 13.2246 12.417 12.584C11.7764 11.9434 10.9068 11.5832 10.001 11.583C9.09499 11.583 8.22568 11.9435 7.58496 12.584C6.94427 13.2247 6.58405 14.0939 6.58398 15C6.58381 15.4139 6.24786 15.7497 5.83398 15.75C5.41988 15.75 5.08416 15.4141 5.08398 15C5.08405 13.6961 5.60242 12.4454 6.52441 11.5234C7.44643 10.6016 8.69717 10.083 10.001 10.083Z", fill: "currentColor" }),
|
|
101
|
+
/* @__PURE__ */ jsx5("path", { d: "M19.167 14.25C19.5811 14.2502 19.917 14.5859 19.917 15C19.917 15.4141 19.5811 15.7498 19.167 15.75H17.5C17.0858 15.75 16.75 15.4142 16.75 15C16.75 14.5858 17.0858 14.25 17.5 14.25H19.167Z", fill: "currentColor" }),
|
|
102
|
+
/* @__PURE__ */ jsx5("path", { d: "M2.98633 7.98633C3.27922 7.69343 3.75398 7.69343 4.04688 7.98633L5.23047 9.16992C5.5231 9.46284 5.52328 9.93766 5.23047 10.2305C4.93766 10.5233 4.46284 10.5231 4.16992 10.2305L2.98633 9.04688C2.69343 8.75398 2.69343 8.27922 2.98633 7.98633Z", fill: "currentColor" }),
|
|
103
|
+
/* @__PURE__ */ jsx5("path", { d: "M15.9531 7.98633C16.246 7.69357 16.7208 7.69348 17.0137 7.98633C17.3064 8.27919 17.3064 8.75401 17.0137 9.04688L15.8301 10.2305C15.5372 10.5232 15.0624 10.5232 14.7695 10.2305C14.4767 9.93762 14.4768 9.46283 14.7695 9.16992L15.9531 7.98633Z", fill: "currentColor" }),
|
|
104
|
+
/* @__PURE__ */ jsx5("path", { d: "M10 0.916992C10.4142 0.916992 10.75 1.25278 10.75 1.66699V5.68945L12.8037 3.63672C13.0966 3.34411 13.5715 3.34392 13.8643 3.63672C14.1565 3.92956 14.1567 4.40453 13.8643 4.69727L10.5303 8.03027C10.5 8.06057 10.4664 8.08632 10.4326 8.11035C10.3863 8.14321 10.3364 8.17059 10.2832 8.19238C10.2638 8.20031 10.2435 8.2047 10.2236 8.21094C10.1978 8.21906 10.1725 8.22906 10.1455 8.23438C10.1413 8.23521 10.137 8.23557 10.1328 8.23633C10.0896 8.24407 10.0454 8.25 10 8.25C9.95463 8.25 9.91033 8.24502 9.86719 8.2373C9.86165 8.23632 9.8561 8.23549 9.85059 8.23438C9.83516 8.23126 9.82073 8.22475 9.80566 8.2207C9.77435 8.21231 9.74312 8.20392 9.71289 8.19141C9.68498 8.17981 9.6589 8.16515 9.63281 8.15039C9.61638 8.14112 9.59885 8.13366 9.58301 8.12305C9.58031 8.12123 9.57787 8.11903 9.5752 8.11719C9.53822 8.09171 9.50264 8.06314 9.46973 8.03027L6.13672 4.69727C5.84383 4.40437 5.84383 3.92961 6.13672 3.63672C6.42962 3.34395 6.90441 3.34387 7.19727 3.63672L9.25 5.68945V1.66699C9.25 1.25278 9.58579 0.916992 10 0.916992Z", fill: "currentColor" })
|
|
105
|
+
] }),
|
|
106
|
+
/* @__PURE__ */ jsx5("defs", { children: /* @__PURE__ */ jsx5("clipPath", { id: "sunset-clip", children: /* @__PURE__ */ jsx5("rect", { width: "20", height: "20", fill: "currentColor" }) }) })
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
);
|
|
110
|
+
var SunsetIcon_default = SunsetIcon;
|
|
111
|
+
|
|
112
|
+
export {
|
|
113
|
+
CalendarIcon_default,
|
|
114
|
+
CalenderIcon_default,
|
|
115
|
+
ClockIcon_default,
|
|
116
|
+
SunriseIcon_default,
|
|
117
|
+
SunsetIcon_default
|
|
118
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkPFGSJJRYcjs = require('./chunk-PFGSJJRY.cjs');
|
|
4
|
+
|
|
5
|
+
// src/components/Button/Button.tsx
|
|
6
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
7
|
+
var Button = (props) => {
|
|
8
|
+
const {
|
|
9
|
+
children,
|
|
10
|
+
type = "primary",
|
|
11
|
+
size = "md",
|
|
12
|
+
disabled,
|
|
13
|
+
...rest
|
|
14
|
+
} = props;
|
|
15
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16
|
+
"button",
|
|
17
|
+
{
|
|
18
|
+
className: _chunkPFGSJJRYcjs.clsx_default.call(void 0, "lib-xplat-button", type, size),
|
|
19
|
+
disabled,
|
|
20
|
+
...rest,
|
|
21
|
+
children
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
};
|
|
25
|
+
Button.displayName = "Button";
|
|
26
|
+
var Button_default = Button;
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
exports.Button_default = Button_default;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CheckIcon_default
|
|
3
|
+
} from "./chunk-UT42P54P.js";
|
|
4
|
+
import {
|
|
5
|
+
Field,
|
|
6
|
+
hasError
|
|
7
|
+
} from "./chunk-7YOI5XOW.js";
|
|
8
|
+
import {
|
|
9
|
+
normalizeStatus
|
|
10
|
+
} from "./chunk-QEZ4R3SK.js";
|
|
11
|
+
import {
|
|
12
|
+
clsx_default
|
|
13
|
+
} from "./chunk-KZOJN57Q.js";
|
|
14
|
+
|
|
15
|
+
// src/components/CheckBox/CheckBox.tsx
|
|
16
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
|
+
var CheckBox = (props) => {
|
|
18
|
+
const {
|
|
19
|
+
checked,
|
|
20
|
+
className,
|
|
21
|
+
label,
|
|
22
|
+
onChange,
|
|
23
|
+
disabled,
|
|
24
|
+
size = "md",
|
|
25
|
+
type = "primary",
|
|
26
|
+
validations,
|
|
27
|
+
...rest
|
|
28
|
+
} = props;
|
|
29
|
+
const statusType = normalizeStatus(type);
|
|
30
|
+
const handleChange = (e) => {
|
|
31
|
+
if (onChange) onChange(e);
|
|
32
|
+
};
|
|
33
|
+
const uncheckedClasses = `unchecked`;
|
|
34
|
+
const checkedClasses = `checked`;
|
|
35
|
+
const disabledClasses = "disabled";
|
|
36
|
+
const boxClasses = disabled ? disabledClasses : checked ? checkedClasses : uncheckedClasses;
|
|
37
|
+
const control = /* @__PURE__ */ jsxs("label", { className: clsx_default("lib-xplat-checkbox", size, statusType, className), children: [
|
|
38
|
+
/* @__PURE__ */ jsx(
|
|
39
|
+
"input",
|
|
40
|
+
{
|
|
41
|
+
type: "checkbox",
|
|
42
|
+
checked,
|
|
43
|
+
onChange: handleChange,
|
|
44
|
+
disabled,
|
|
45
|
+
"aria-invalid": hasError(validations) || void 0,
|
|
46
|
+
...rest
|
|
47
|
+
}
|
|
48
|
+
),
|
|
49
|
+
/* @__PURE__ */ jsx("span", { className: clsx_default("checkbox", boxClasses), children: /* @__PURE__ */ jsx("span", { className: clsx_default("check-icon", { visible: checked }), children: /* @__PURE__ */ jsx(CheckIcon_default, {}) }) }),
|
|
50
|
+
label && /* @__PURE__ */ jsx("span", { className: "label", children: label })
|
|
51
|
+
] });
|
|
52
|
+
return /* @__PURE__ */ jsx(Field, { validations, children: control });
|
|
53
|
+
};
|
|
54
|
+
CheckBox.displayName = "CheckBox";
|
|
55
|
+
var CheckBox_default = CheckBox;
|
|
56
|
+
|
|
57
|
+
export {
|
|
58
|
+
CheckBox_default
|
|
59
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/tokens/svg/form/CloseEyeIcon.tsx
|
|
2
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
3
|
+
var CloseEyeIcon = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4
|
+
"svg",
|
|
5
|
+
{
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "1em",
|
|
8
|
+
height: "1em",
|
|
9
|
+
viewBox: "0 0 20 20",
|
|
10
|
+
fill: "none",
|
|
11
|
+
children: [
|
|
12
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13
|
+
"path",
|
|
14
|
+
{
|
|
15
|
+
fillRule: "evenodd",
|
|
16
|
+
clipRule: "evenodd",
|
|
17
|
+
d: "M0.219742 0.219551C0.512654 -0.0731039 0.987475 -0.0732631 1.28029 0.219551L19.6133 18.5526C19.9059 18.8454 19.9059 19.3203 19.6133 19.6131C19.3205 19.9059 18.8457 19.9058 18.5527 19.6131L14.7813 15.8416C13.3403 16.784 11.6591 17.3045 9.92873 17.3328H9.91701C6.70085 17.3328 4.22416 15.4963 2.59865 13.7625C1.77931 12.8885 1.15357 12.0171 0.732437 11.3651C0.521591 11.0386 0.360106 10.7651 0.250992 10.5711C0.196584 10.4744 0.154657 10.3968 0.125992 10.3426C0.111712 10.3156 0.100585 10.2933 0.0927887 10.2781C0.0890167 10.2708 0.0852609 10.2649 0.083023 10.2606C0.0819635 10.2585 0.0817067 10.2561 0.0810699 10.2547L0.0800933 10.2528L0.0791168 10.2518C-0.0297164 10.034 -0.0260827 9.77692 0.0888824 9.56232C1.04113 7.78778 2.31584 6.20831 3.84572 4.90607L0.219742 1.2801C-0.0731515 0.987204 -0.0731515 0.512444 0.219742 0.219551ZM4.91115 5.9715C3.58556 7.08096 2.46618 8.41669 1.60646 9.91779C1.70047 10.0817 1.82896 10.2988 1.9922 10.5516C2.37833 11.1494 2.95068 11.9449 3.69337 12.7371C5.19121 14.3347 7.2954 15.8286 9.90822 15.8319C11.2476 15.8092 12.5514 15.4346 13.6934 14.7537L11.6348 12.6951C11.4891 12.7906 11.3365 12.8759 11.1768 12.9471C10.7784 13.1246 10.3482 13.2205 9.91212 13.2283C9.47589 13.236 9.0413 13.1554 8.63673 12.992C8.23247 12.8287 7.86504 12.5854 7.55666 12.2772C7.24809 11.9686 7.00429 11.6007 6.84084 11.1961C6.6774 10.7915 6.59683 10.358 6.60451 9.9217C6.61221 9.48532 6.70813 9.05473 6.88576 8.65607C6.95708 8.49604 7.04011 8.3419 7.13576 8.19611L4.91115 5.9715ZM8.24123 9.30158C8.15522 9.50642 8.10843 9.72574 8.10451 9.94807C8.10037 10.183 8.14345 10.4167 8.23146 10.6346C8.31948 10.8524 8.45111 11.0505 8.6172 11.2166C8.78327 11.3825 8.98157 11.5135 9.19923 11.6014C9.41683 11.6892 9.65018 11.7324 9.88478 11.7283C10.1069 11.7244 10.3257 11.6765 10.5303 11.5906L8.24123 9.30158Z",
|
|
18
|
+
fill: "currentColor"
|
|
19
|
+
}
|
|
20
|
+
),
|
|
21
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22
|
+
"path",
|
|
23
|
+
{
|
|
24
|
+
d: "M9.91701 2.5008C13.1328 2.5011 15.609 4.33645 17.2344 6.07014C18.0538 6.94422 18.6805 7.81555 19.1016 8.4676C19.3125 8.79427 19.473 9.06857 19.582 9.26252C19.6366 9.35947 19.6784 9.43688 19.707 9.49103C19.7213 9.51797 19.7325 9.53938 19.7402 9.55451C19.744 9.56183 19.7478 9.5677 19.75 9.57209L19.7539 9.5799L19.7901 9.66486C19.8604 9.86248 19.8453 10.0829 19.7451 10.2703C19.2148 11.2625 18.5817 12.1966 17.8574 13.0574C17.5908 13.3743 17.1177 13.4147 16.8008 13.1483C16.4839 12.8816 16.4424 12.4085 16.709 12.0916C17.2798 11.4133 17.7876 10.6845 18.2266 9.91486C18.1327 9.75115 18.0048 9.53442 17.8418 9.28205C17.4558 8.68431 16.8833 7.88875 16.1406 7.0965C14.6413 5.49721 12.5337 4.00013 9.91701 3.99982H9.91505C9.3843 3.99858 8.85471 4.05957 8.33791 4.18049C7.93468 4.27487 7.53105 4.02408 7.43654 3.62092C7.34213 3.21761 7.5928 2.81396 7.99611 2.71955C8.62561 2.57227 9.27051 2.49939 9.91701 2.5008Z",
|
|
25
|
+
fill: "currentColor"
|
|
26
|
+
}
|
|
27
|
+
)
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
var CloseEyeIcon_default = CloseEyeIcon;
|
|
32
|
+
|
|
33
|
+
// src/tokens/svg/form/OpenEyeIcon.tsx
|
|
34
|
+
|
|
35
|
+
var OpenEyeIcon = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
36
|
+
"svg",
|
|
37
|
+
{
|
|
38
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
39
|
+
width: "1em",
|
|
40
|
+
height: "1em",
|
|
41
|
+
viewBox: "0 0 20 20",
|
|
42
|
+
fill: "none",
|
|
43
|
+
children: [
|
|
44
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
45
|
+
"path",
|
|
46
|
+
{
|
|
47
|
+
fillRule: "evenodd",
|
|
48
|
+
clipRule: "evenodd",
|
|
49
|
+
d: "M10 6.75C11.795 6.75 13.25 8.20507 13.25 10C13.25 11.7949 11.795 13.25 10 13.25C8.20514 13.25 6.75004 11.7949 6.75004 10C6.75004 8.20509 8.20514 6.75002 10 6.75ZM10 8.25C9.03356 8.25002 8.25004 9.03352 8.25004 10C8.25004 10.9665 9.03356 11.75 10 11.75C10.9665 11.75 11.75 10.9665 11.75 10C11.75 9.0335 10.9665 8.25 10 8.25Z",
|
|
50
|
+
fill: "currentColor"
|
|
51
|
+
}
|
|
52
|
+
),
|
|
53
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
54
|
+
"path",
|
|
55
|
+
{
|
|
56
|
+
fillRule: "evenodd",
|
|
57
|
+
clipRule: "evenodd",
|
|
58
|
+
d: "M10.001 2.58301C13.2168 2.5833 15.693 4.41963 17.3184 6.15332C18.1379 7.02746 18.7644 7.8987 19.1856 8.55078C19.3966 8.87754 19.5569 9.15172 19.6661 9.3457C19.7206 9.44274 19.7624 9.52003 19.7911 9.57422C19.8054 9.60124 19.8165 9.62253 19.8243 9.6377C19.8281 9.64511 19.8318 9.65085 19.834 9.65527L19.8379 9.66309L19.8731 9.74512C19.9423 9.93686 19.9301 10.1503 19.8379 10.335L19.834 10.3438C19.8318 10.3481 19.828 10.354 19.8243 10.3613C19.8165 10.3764 19.8053 10.3989 19.7911 10.4258C19.7624 10.4799 19.7204 10.5577 19.6661 10.6543C19.557 10.8482 19.3963 11.1219 19.1856 11.4482C18.7645 12.1003 18.1378 12.9716 17.3184 13.8457C15.693 15.5794 13.2169 17.4157 10.001 17.416C6.78478 17.416 4.30817 15.5796 2.68266 13.8457C1.86324 12.9716 1.23758 12.1003 0.816447 11.4482C0.605537 11.1217 0.444118 10.8483 0.335002 10.6543C0.280535 10.5575 0.23867 10.4799 0.210002 10.4258C0.195664 10.3987 0.184599 10.3765 0.176799 10.3613C0.172971 10.3539 0.169262 10.3481 0.167033 10.3438C0.165933 10.3416 0.165786 10.3393 0.16508 10.3379L0.164103 10.3359L0.163127 10.335C0.0576283 10.1238 0.0575788 9.87516 0.163127 9.66406L0.164103 9.66309L0.16508 9.66113C0.165655 9.65972 0.166042 9.65723 0.167033 9.65527C0.169295 9.6509 0.17306 9.64497 0.176799 9.6377C0.184576 9.62257 0.195818 9.60103 0.210002 9.57422C0.238658 9.52007 0.280573 9.44247 0.335002 9.3457C0.444118 9.15173 0.605537 8.87735 0.816447 8.55078C1.2376 7.89875 1.86341 7.02719 2.68266 6.15332C4.30818 4.41955 6.78494 2.58301 10.001 2.58301ZM10.001 4.08301C7.38417 4.08301 5.27685 5.58037 3.77738 7.17969C3.03465 7.97195 2.46234 8.7674 2.07621 9.36523C1.91278 9.6183 1.78352 9.83509 1.68949 9.99902C1.7836 10.1632 1.91229 10.3809 2.07621 10.6348C2.46234 11.2326 3.03462 12.028 3.77738 12.8203C5.27685 14.4196 7.38421 15.916 10.001 15.916C12.6177 15.9157 14.7253 14.4196 16.2246 12.8203C16.9674 12.028 17.5397 11.2326 17.9258 10.6348C18.0896 10.3812 18.2175 10.1631 18.3116 9.99902C18.2176 9.83513 18.0892 9.61828 17.9258 9.36523C17.5398 8.76747 16.9674 7.97197 16.2246 7.17969C14.7253 5.58039 12.6177 4.0833 10.001 4.08301Z",
|
|
59
|
+
fill: "currentColor"
|
|
60
|
+
}
|
|
61
|
+
)
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
);
|
|
65
|
+
var OpenEyeIcon_default = OpenEyeIcon;
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
exports.CloseEyeIcon_default = CloseEyeIcon_default; exports.OpenEyeIcon_default = OpenEyeIcon_default;
|