@refinn/core-ui 0.1.4 → 0.1.6

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.js CHANGED
@@ -1,12 +1,8 @@
1
- "use strict";
2
- var __create = Object.create;
1
+ "use client";
3
2
  var __defProp = Object.defineProperty;
4
3
  var __defProps = Object.defineProperties;
5
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
4
  var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
7
- var __getOwnPropNames = Object.getOwnPropertyNames;
8
5
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
9
- var __getProtoOf = Object.getPrototypeOf;
10
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
11
7
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
12
8
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
@@ -34,63 +30,17 @@ var __objRest = (source, exclude) => {
34
30
  }
35
31
  return target;
36
32
  };
37
- var __export = (target, all) => {
38
- for (var name in all)
39
- __defProp(target, name, { get: all[name], enumerable: true });
40
- };
41
- var __copyProps = (to, from, except, desc) => {
42
- if (from && typeof from === "object" || typeof from === "function") {
43
- for (let key of __getOwnPropNames(from))
44
- if (!__hasOwnProp.call(to, key) && key !== except)
45
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
46
- }
47
- return to;
48
- };
49
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
50
- // If the importer is in node compatibility mode or this is not an ESM
51
- // file that has been converted to a CommonJS file using a Babel-
52
- // compatible transform (i.e. "__esModule" has not been set), then set
53
- // "default" to the CommonJS "module.exports" for node compatibility.
54
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
55
- mod
56
- ));
57
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
58
-
59
- // src/components/index.ts
60
- var index_exports = {};
61
- __export(index_exports, {
62
- Accordion: () => Accordion,
63
- AlertBanner: () => AlertBanner,
64
- Avatar: () => Avatar,
65
- Badge: () => Badge,
66
- BottomSheet: () => BottomSheet,
67
- Branding: () => Branding,
68
- Button: () => Button,
69
- Checkbox: () => Checkbox,
70
- Chip: () => Chip,
71
- Dialog: () => Dialog,
72
- Dropdown: () => Dropdown,
73
- FinancialLogo: () => FinancialLogo,
74
- Icon: () => Icon,
75
- Link: () => Link,
76
- Loading: () => Loading,
77
- Radio: () => Radio,
78
- SegmentControl: () => SegmentControl,
79
- Slider: () => Slider,
80
- Tab: () => Tab,
81
- TextArea: () => TextArea,
82
- TextField: () => TextField,
83
- Toast: () => Toast,
84
- ToggleSwitch: () => ToggleSwitch,
85
- Tooltip: () => Tooltip
86
- });
87
- module.exports = __toCommonJS(index_exports);
88
33
 
89
34
  // src/components/Accordion/Accordion.tsx
90
- var import_react = require("react");
91
- var import_jsx_runtime = require("react/jsx-runtime");
35
+ import {
36
+ forwardRef,
37
+ useCallback,
38
+ useId,
39
+ useState
40
+ } from "react";
41
+ import { jsx, jsxs } from "react/jsx-runtime";
92
42
  function ChevronIcon({ className }) {
93
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { className, viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
43
+ return /* @__PURE__ */ jsx("svg", { className, viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx(
94
44
  "path",
95
45
  {
96
46
  d: "M5 7.5L10 12.5L15 7.5",
@@ -109,8 +59,8 @@ function AccordionItem({ item, isOpen, onToggle, generatedId }) {
109
59
  isOpen ? "rotate-180" : "",
110
60
  item.disabled ? "text-static-icon-disabled" : "text-static-icon-primary"
111
61
  ].join(" ");
112
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [
113
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
62
+ return /* @__PURE__ */ jsxs("div", { children: [
63
+ /* @__PURE__ */ jsxs(
114
64
  "button",
115
65
  {
116
66
  id: triggerId,
@@ -121,8 +71,8 @@ function AccordionItem({ item, isOpen, onToggle, generatedId }) {
121
71
  className: "flex flex-row items-center justify-between w-full pl-16 pr-8 py-8 lg:pl-24 lg:py-16 lg:pr-12",
122
72
  onClick: onToggle,
123
73
  children: [
124
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { className: `flex flex-col`, children: [
125
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
74
+ /* @__PURE__ */ jsxs("span", { className: `flex flex-col`, children: [
75
+ /* @__PURE__ */ jsx(
126
76
  "span",
127
77
  {
128
78
  className: `
@@ -134,16 +84,16 @@ function AccordionItem({ item, isOpen, onToggle, generatedId }) {
134
84
  children: item.title
135
85
  }
136
86
  ),
137
- item.subtitle && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: [
87
+ item.subtitle && /* @__PURE__ */ jsx("span", { className: [
138
88
  "text-body-small",
139
89
  item.disabled ? "text-accordion-text-disabled" : "text-accordion-text-secondary"
140
90
  ].join(" "), children: item.subtitle })
141
91
  ] }),
142
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronIcon, { className: iconClasses })
92
+ /* @__PURE__ */ jsx(ChevronIcon, { className: iconClasses })
143
93
  ]
144
94
  }
145
95
  ),
146
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
96
+ /* @__PURE__ */ jsx(
147
97
  "div",
148
98
  {
149
99
  id: panelId,
@@ -151,12 +101,12 @@ function AccordionItem({ item, isOpen, onToggle, generatedId }) {
151
101
  "aria-labelledby": triggerId,
152
102
  className: "overflow-hidden transition-[grid-template-rows] duration-200",
153
103
  style: { display: "grid", gridTemplateRows: isOpen ? "1fr" : "0fr" },
154
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: `text-accordion-text-secondary text-body-small pt-8 pb-16 px-16 lg:text-body-regular lg:pl-24 lg:pr-64 lg:pb-24 lg:pt-12`, children: item.content }) })
104
+ children: /* @__PURE__ */ jsx("div", { className: "overflow-hidden", children: /* @__PURE__ */ jsx("div", { className: `text-accordion-text-secondary text-body-small pt-8 pb-16 px-16 lg:text-body-regular lg:pl-24 lg:pr-64 lg:pb-24 lg:pt-12`, children: item.content }) })
155
105
  }
156
106
  )
157
107
  ] });
158
108
  }
159
- var Accordion = (0, import_react.forwardRef)(
109
+ var Accordion = forwardRef(
160
110
  (_a, ref) => {
161
111
  var _b = _a, {
162
112
  items,
@@ -169,7 +119,7 @@ var Accordion = (0, import_react.forwardRef)(
169
119
  "loading",
170
120
  "className"
171
121
  ]);
172
- const baseId = (0, import_react.useId)();
122
+ const baseId = useId();
173
123
  const defaultOpen = () => {
174
124
  const set = /* @__PURE__ */ new Set();
175
125
  items.forEach((item, i) => {
@@ -178,8 +128,8 @@ var Accordion = (0, import_react.forwardRef)(
178
128
  });
179
129
  return set;
180
130
  };
181
- const [openItems, setOpenItems] = (0, import_react.useState)(defaultOpen);
182
- const handleToggle = (0, import_react.useCallback)(
131
+ const [openItems, setOpenItems] = useState(defaultOpen);
132
+ const handleToggle = useCallback(
183
133
  (itemId) => {
184
134
  setOpenItems((prev) => {
185
135
  const next = new Set(multiple ? prev : []);
@@ -199,15 +149,15 @@ var Accordion = (0, import_react.forwardRef)(
199
149
  className
200
150
  ].filter(Boolean).join(" ");
201
151
  if (loading) {
202
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", __spreadProps(__spreadValues({ ref, className: containerClasses }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: `flex items-center justify-between gap-8 pl-16 pr-8 py-8`, children: [
203
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "flex-1 flex flex-col gap-4", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "h-16 w-3/4 rounded bg-gray-200 animate-pulse" }) }),
204
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronIcon, { className: `shrink-0 text-accordion-icon w-20 h-20 my-8 mx-12` })
152
+ return /* @__PURE__ */ jsx("div", __spreadProps(__spreadValues({ ref, className: containerClasses }, rest), { children: /* @__PURE__ */ jsxs("div", { className: `flex items-center justify-between gap-8 pl-16 pr-8 py-8`, children: [
153
+ /* @__PURE__ */ jsx("div", { className: "flex-1 flex flex-col gap-4", children: /* @__PURE__ */ jsx("div", { className: "h-16 w-3/4 rounded bg-gray-200 animate-pulse" }) }),
154
+ /* @__PURE__ */ jsx(ChevronIcon, { className: `shrink-0 text-accordion-icon w-20 h-20 my-8 mx-12` })
205
155
  ] }) }));
206
156
  }
207
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", __spreadProps(__spreadValues({ ref, className: containerClasses }, rest), { children: items.map((item, i) => {
157
+ return /* @__PURE__ */ jsx("div", __spreadProps(__spreadValues({ ref, className: containerClasses }, rest), { children: items.map((item, i) => {
208
158
  var _a2;
209
159
  const itemId = (_a2 = item.id) != null ? _a2 : String(i);
210
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
160
+ return /* @__PURE__ */ jsx(
211
161
  AccordionItem,
212
162
  {
213
163
  item,
@@ -223,8 +173,8 @@ var Accordion = (0, import_react.forwardRef)(
223
173
  Accordion.displayName = "Accordion";
224
174
 
225
175
  // src/components/AlertBanner/AlertBanner.tsx
226
- var import_react2 = require("react");
227
- var import_jsx_runtime2 = require("react/jsx-runtime");
176
+ import { forwardRef as forwardRef2 } from "react";
177
+ import { Fragment, jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
228
178
  var pageClasses = {
229
179
  info: "bg-alert-page-info-bg text-alert-text-primary-inverse",
230
180
  success: "bg-alert-page-success-bg text-alert-text-primary-inverse",
@@ -261,25 +211,25 @@ var inlineIconClasses = {
261
211
  none: "text-alert-inline-common-icon"
262
212
  };
263
213
  function InfoIcon({ className }) {
264
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16ZM10 6h.01M9 10h1v4h1", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
214
+ return /* @__PURE__ */ jsx2("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx2("path", { d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16ZM10 6h.01M9 10h1v4h1", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
265
215
  }
266
216
  function SuccessIcon({ className }) {
267
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: [
268
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z", stroke: "currentColor", strokeWidth: "1.5" }),
269
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "m7 10 2 2 4-4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
217
+ return /* @__PURE__ */ jsxs2("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: [
218
+ /* @__PURE__ */ jsx2("path", { d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z", stroke: "currentColor", strokeWidth: "1.5" }),
219
+ /* @__PURE__ */ jsx2("path", { d: "m7 10 2 2 4-4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
270
220
  ] });
271
221
  }
272
222
  function WarningIcon({ className }) {
273
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M8.57 3.22 1.53 15.5a1.67 1.67 0 0 0 1.43 2.5h14.08a1.67 1.67 0 0 0 1.43-2.5L11.43 3.22a1.67 1.67 0 0 0-2.86 0ZM10 7.5v3.33M10 14.17h.01", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
223
+ return /* @__PURE__ */ jsx2("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx2("path", { d: "M8.57 3.22 1.53 15.5a1.67 1.67 0 0 0 1.43 2.5h14.08a1.67 1.67 0 0 0 1.43-2.5L11.43 3.22a1.67 1.67 0 0 0-2.86 0ZM10 7.5v3.33M10 14.17h.01", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
274
224
  }
275
225
  function DangerIcon({ className }) {
276
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16ZM12.5 7.5l-5 5M7.5 7.5l5 5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
226
+ return /* @__PURE__ */ jsx2("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx2("path", { d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16ZM12.5 7.5l-5 5M7.5 7.5l5 5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
277
227
  }
278
228
  function NoneIcon({ className }) {
279
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, {});
229
+ return /* @__PURE__ */ jsx2(Fragment, {});
280
230
  }
281
231
  function CloseIcon({ className }) {
282
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("svg", { className, width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M12 4 4 12M4 4l8 8", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
232
+ return /* @__PURE__ */ jsx2("svg", { className, width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx2("path", { d: "M12 4 4 12M4 4l8 8", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
283
233
  }
284
234
  var defaultIcons = {
285
235
  info: InfoIcon,
@@ -288,7 +238,7 @@ var defaultIcons = {
288
238
  danger: DangerIcon,
289
239
  none: NoneIcon
290
240
  };
291
- var AlertBanner = (0, import_react2.forwardRef)(
241
+ var AlertBanner = forwardRef2(
292
242
  (_a, ref) => {
293
243
  var _b = _a, {
294
244
  variant = "info",
@@ -325,25 +275,25 @@ var AlertBanner = (0, import_react2.forwardRef)(
325
275
  variantClass,
326
276
  className
327
277
  ].filter(Boolean).join(" ");
328
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", __spreadProps(__spreadValues({ ref, role: "alert", className: classes }, rest), { children: [
329
- /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: "flex items-start gap-8", children: [
330
- icon != null ? icon : /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(DefaultIcon, { className: `h-20 w-20 ${iconColorClass}` }),
331
- /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: "flex-1 min-w-0 flex flex-col", children: [
332
- title && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("p", { className: "text-label-medium", children: title }),
333
- description && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("p", { className: `text-body-small ${descColorClass} ${title ? "mt-2" : ""} ${children ? "mb-8" : ""}`, children: description }),
278
+ return /* @__PURE__ */ jsxs2("div", __spreadProps(__spreadValues({ ref, role: "alert", className: classes }, rest), { children: [
279
+ /* @__PURE__ */ jsxs2("div", { className: "flex items-start gap-8", children: [
280
+ icon != null ? icon : /* @__PURE__ */ jsx2(DefaultIcon, { className: `h-20 w-20 ${iconColorClass}` }),
281
+ /* @__PURE__ */ jsxs2("div", { className: "flex-1 min-w-0 flex flex-col", children: [
282
+ title && /* @__PURE__ */ jsx2("p", { className: "text-label-medium", children: title }),
283
+ description && /* @__PURE__ */ jsx2("p", { className: `text-body-small ${descColorClass} ${title ? "mt-2" : ""} ${children ? "mb-8" : ""}`, children: description }),
334
284
  children
335
285
  ] })
336
286
  ] }),
337
- /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: `flex ${children ? "items-start" : "self-center"} gap-24`, children: [
338
- (action == null ? void 0 : action[0]) && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("a", { className: `${actionClass} underline text-sm font-medium`, href: action[1], children: action[0] }),
339
- onClose && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
287
+ /* @__PURE__ */ jsxs2("div", { className: `flex ${children ? "items-start" : "self-center"} gap-24`, children: [
288
+ (action == null ? void 0 : action[0]) && /* @__PURE__ */ jsx2("a", { className: `${actionClass} underline text-sm font-medium`, href: action[1], children: action[0] }),
289
+ onClose && /* @__PURE__ */ jsx2(
340
290
  "button",
341
291
  {
342
292
  type: "button",
343
293
  onClick: onClose,
344
294
  className: `shrink-0 p-2 rounded transition-colors ${closeColorClass}`,
345
295
  "aria-label": "Close",
346
- children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(CloseIcon, { className: "h-16 w-16" })
296
+ children: /* @__PURE__ */ jsx2(CloseIcon, { className: "h-16 w-16" })
347
297
  }
348
298
  )
349
299
  ] })
@@ -353,8 +303,8 @@ var AlertBanner = (0, import_react2.forwardRef)(
353
303
  AlertBanner.displayName = "AlertBanner";
354
304
 
355
305
  // src/components/Avatar/Avatar.tsx
356
- var import_react3 = require("react");
357
- var import_jsx_runtime3 = require("react/jsx-runtime");
306
+ import { forwardRef as forwardRef3 } from "react";
307
+ import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
358
308
  var sizeClasses = {
359
309
  sm: { container: "h-24 w-24", text: "text-sm", status: "h-6 w-6", statusRing: "ring-1" },
360
310
  md: { container: "h-32 w-32", text: "text-base", status: "h-8 w-8", statusRing: "ring-[1.5px]" },
@@ -373,9 +323,9 @@ function getInitials(name) {
373
323
  return (parts[0][0] + parts[parts.length - 1][0]).toUpperCase();
374
324
  }
375
325
  function PersonIcon({ className }) {
376
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { className, viewBox: "0 0 20 20", fill: "currentColor", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M10 10a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5ZM3.75 17.5a6.25 6.25 0 0 1 12.5 0" }) });
326
+ return /* @__PURE__ */ jsx3("svg", { className, viewBox: "0 0 20 20", fill: "currentColor", "aria-hidden": "true", children: /* @__PURE__ */ jsx3("path", { d: "M10 10a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5ZM3.75 17.5a6.25 6.25 0 0 1 12.5 0" }) });
377
327
  }
378
- var Avatar = (0, import_react3.forwardRef)(
328
+ var Avatar = forwardRef3(
379
329
  (_a, ref) => {
380
330
  var _b = _a, {
381
331
  size = "md",
@@ -405,7 +355,7 @@ var Avatar = (0, import_react3.forwardRef)(
405
355
  ].filter(Boolean).join(" ");
406
356
  let content;
407
357
  if (src) {
408
- content = /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
358
+ content = /* @__PURE__ */ jsx3(
409
359
  "img",
410
360
  {
411
361
  src,
@@ -416,13 +366,13 @@ var Avatar = (0, import_react3.forwardRef)(
416
366
  } else if (icon) {
417
367
  content = icon;
418
368
  } else if (name) {
419
- content = /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: sz.text, children: getInitials(name) });
369
+ content = /* @__PURE__ */ jsx3("span", { className: sz.text, children: getInitials(name) });
420
370
  } else {
421
- content = /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(PersonIcon, { className: `${sz.text} h-[60%] w-[60%]` });
371
+ content = /* @__PURE__ */ jsx3(PersonIcon, { className: `${sz.text} h-[60%] w-[60%]` });
422
372
  }
423
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", __spreadProps(__spreadValues({ ref, className: containerClasses }, rest), { children: [
373
+ return /* @__PURE__ */ jsxs3("div", __spreadProps(__spreadValues({ ref, className: containerClasses }, rest), { children: [
424
374
  content,
425
- status && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
375
+ status && /* @__PURE__ */ jsx3(
426
376
  "span",
427
377
  {
428
378
  className: [
@@ -440,8 +390,8 @@ var Avatar = (0, import_react3.forwardRef)(
440
390
  Avatar.displayName = "Avatar";
441
391
 
442
392
  // src/components/Badge/Badge.tsx
443
- var import_react4 = require("react");
444
- var import_jsx_runtime4 = require("react/jsx-runtime");
393
+ import { forwardRef as forwardRef4 } from "react";
394
+ import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
445
395
  var sizeClasses2 = {
446
396
  sm: "h-20 px-8 py-2 text-label-small gap-4",
447
397
  md: "h-28 px-10 py-4 text-label-medium gap-4",
@@ -481,7 +431,7 @@ var styleMap = {
481
431
  subtle: subtleClasses,
482
432
  bold: boldClasses
483
433
  };
484
- var Badge = (0, import_react4.forwardRef)(
434
+ var Badge = forwardRef4(
485
435
  (_a, ref) => {
486
436
  var _b = _a, {
487
437
  status = "common",
@@ -508,8 +458,8 @@ var Badge = (0, import_react4.forwardRef)(
508
458
  styleMap[badgeStyle][status],
509
459
  className
510
460
  ].filter(Boolean).join(" ");
511
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("span", __spreadProps(__spreadValues({ ref, className: classes }, rest), { children: [
512
- icon && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: `shrink-0 ${iconSizeClasses[size]}`, children: icon }),
461
+ return /* @__PURE__ */ jsxs4("span", __spreadProps(__spreadValues({ ref, className: classes }, rest), { children: [
462
+ icon && /* @__PURE__ */ jsx4("span", { className: `shrink-0 ${iconSizeClasses[size]}`, children: icon }),
513
463
  children
514
464
  ] }));
515
465
  }
@@ -517,18 +467,20 @@ var Badge = (0, import_react4.forwardRef)(
517
467
  Badge.displayName = "Badge";
518
468
 
519
469
  // src/components/Branding/Branding.tsx
520
- var import_react5 = require("react");
521
- var import_jsx_runtime5 = require("react/jsx-runtime");
522
- var Branding = (0, import_react5.forwardRef)(
470
+ import {
471
+ forwardRef as forwardRef5
472
+ } from "react";
473
+ import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
474
+ var Branding = forwardRef5(
523
475
  (_a, ref) => {
524
476
  var _b = _a, { type = "brand", className = "" } = _b, rest = __objRest(_b, ["type", "className"]);
525
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
477
+ return /* @__PURE__ */ jsx5(
526
478
  "div",
527
479
  __spreadProps(__spreadValues({
528
480
  ref,
529
481
  className: `${type === "black" ? "text-gray-900" : type === "white" ? "text-white-100" : "text-blue-600"} ${className}`
530
482
  }, rest), {
531
- children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
483
+ children: /* @__PURE__ */ jsxs5(
532
484
  "svg",
533
485
  {
534
486
  xmlns: "http://www.w3.org/2000/svg",
@@ -537,8 +489,8 @@ var Branding = (0, import_react5.forwardRef)(
537
489
  viewBox: "0 0 89 20",
538
490
  fill: "currentColor",
539
491
  children: [
540
- /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("g", { "clip-path": "url(#clip0_828_998)", children: [
541
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
492
+ /* @__PURE__ */ jsxs5("g", { "clip-path": "url(#clip0_828_998)", children: [
493
+ /* @__PURE__ */ jsx5(
542
494
  "path",
543
495
  {
544
496
  "fill-rule": "evenodd",
@@ -547,14 +499,14 @@ var Branding = (0, import_react5.forwardRef)(
547
499
  fill: "currentColor"
548
500
  }
549
501
  ),
550
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
502
+ /* @__PURE__ */ jsx5(
551
503
  "path",
552
504
  {
553
505
  d: "M30.3851 15.1575C31.5816 13.5 34.0989 15.2805 32.9023 16.9379C31.9828 18.1966 30.3241 19.854 27.2241 19.823C23.6241 19.823 20.5575 16.7195 20.4736 12.6379C20.4671 12.5169 20.4671 12.3957 20.4736 12.2747C20.5621 8.18966 23.6241 5.08966 27.1931 5.08966H27.2241C30.815 5.08966 33.977 8.28162 33.977 12.4563C33.979 12.6584 33.9407 12.8588 33.8643 13.0459C33.7879 13.233 33.6749 13.4029 33.532 13.5458C33.3891 13.6887 33.2192 13.8017 33.0321 13.8781C32.845 13.9545 32.6446 13.9928 32.4425 13.9908H23.7851C24.3046 15.5667 25.6023 16.7494 27.223 16.7494H27.254C28.9736 16.7816 29.8943 15.8621 30.3851 15.1575ZM23.7851 10.9195H30.9115C30.9115 10.1828 29.346 8.16093 27.2333 8.16093C25.6023 8.16093 24.3046 9.34598 23.7851 10.9195Z",
554
506
  fill: "currentColor"
555
507
  }
556
508
  ),
557
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
509
+ /* @__PURE__ */ jsx5(
558
510
  "path",
559
511
  {
560
512
  "fill-rule": "evenodd",
@@ -563,7 +515,7 @@ var Branding = (0, import_react5.forwardRef)(
563
515
  fill: "currentColor"
564
516
  }
565
517
  ),
566
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
518
+ /* @__PURE__ */ jsx5(
567
519
  "path",
568
520
  {
569
521
  "fill-rule": "evenodd",
@@ -572,7 +524,7 @@ var Branding = (0, import_react5.forwardRef)(
572
524
  fill: "currentColor"
573
525
  }
574
526
  ),
575
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
527
+ /* @__PURE__ */ jsx5(
576
528
  "path",
577
529
  {
578
530
  "fill-rule": "evenodd",
@@ -581,7 +533,7 @@ var Branding = (0, import_react5.forwardRef)(
581
533
  fill: "currentColor"
582
534
  }
583
535
  ),
584
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
536
+ /* @__PURE__ */ jsx5(
585
537
  "path",
586
538
  {
587
539
  "fill-rule": "evenodd",
@@ -590,7 +542,7 @@ var Branding = (0, import_react5.forwardRef)(
590
542
  fill: "currentColor"
591
543
  }
592
544
  ),
593
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
545
+ /* @__PURE__ */ jsx5(
594
546
  "path",
595
547
  {
596
548
  "fill-rule": "evenodd",
@@ -600,7 +552,7 @@ var Branding = (0, import_react5.forwardRef)(
600
552
  }
601
553
  )
602
554
  ] }),
603
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("clipPath", { id: "clip0_828_998", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { width: "88.892", height: "20", fill: "currentColor" }) }) })
555
+ /* @__PURE__ */ jsx5("defs", { children: /* @__PURE__ */ jsx5("clipPath", { id: "clip0_828_998", children: /* @__PURE__ */ jsx5("rect", { width: "88.892", height: "20", fill: "currentColor" }) }) })
604
556
  ]
605
557
  }
606
558
  )
@@ -611,19 +563,19 @@ var Branding = (0, import_react5.forwardRef)(
611
563
  Branding.displayName = "Branding";
612
564
 
613
565
  // src/components/Button/Button.tsx
614
- var import_react7 = require("react");
566
+ import { forwardRef as forwardRef7 } from "react";
615
567
 
616
568
  // src/components/Loading/Loading.tsx
617
- var import_react6 = require("react");
618
- var import_jsx_runtime6 = require("react/jsx-runtime");
619
- var Loading = (0, import_react6.forwardRef)(
569
+ import { forwardRef as forwardRef6 } from "react";
570
+ import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
571
+ var Loading = forwardRef6(
620
572
  (_a, ref) => {
621
573
  var _b = _a, { size = "sm", isDark = false, className = "" } = _b, rest = __objRest(_b, ["size", "isDark", "className"]);
622
574
  const containerClasses = [
623
575
  isDark ? "text-white-100" : "text-blue-600",
624
576
  className
625
577
  ].filter(Boolean).join(" ");
626
- return size === "sm" && !isDark ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", __spreadProps(__spreadValues({ ref, className: containerClasses }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
578
+ return size === "sm" && !isDark ? /* @__PURE__ */ jsx6("div", __spreadProps(__spreadValues({ ref, className: containerClasses }, rest), { children: /* @__PURE__ */ jsxs6(
627
579
  "svg",
628
580
  {
629
581
  className: "animate-spin",
@@ -633,7 +585,7 @@ var Loading = (0, import_react6.forwardRef)(
633
585
  viewBox: "0 0 18 18",
634
586
  fill: "none",
635
587
  children: [
636
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
588
+ /* @__PURE__ */ jsx6(
637
589
  "path",
638
590
  {
639
591
  d: "M1 9C1 6.87827 1.84286 4.84344 3.34315 3.34315C4.84344 1.84285 6.87827 1 9 1C11.1217 1 13.1566 1.84286 14.6569 3.34315C16.1571 4.84344 17 6.87827 17 9C17 11.1217 16.1571 13.1566 14.6569 14.6569C13.1566 16.1571 11.1217 17 9 17C6.87827 17 4.84344 16.1571 3.34315 14.6569C1.84285 13.1566 1 11.1217 1 9L1 9Z",
@@ -641,7 +593,7 @@ var Loading = (0, import_react6.forwardRef)(
641
593
  "stroke-width": "2"
642
594
  }
643
595
  ),
644
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
596
+ /* @__PURE__ */ jsx6(
645
597
  "path",
646
598
  {
647
599
  d: "M1 9C1 7.31057 1.53484 5.6645 2.52786 4.29772C3.52089 2.93094 4.92112 1.91361 6.52787 1.39155C8.13461 0.869484 9.86539 0.869484 11.4721 1.39155C13.0789 1.91361 14.4791 2.93094 15.4721 4.29772",
@@ -651,7 +603,7 @@ var Loading = (0, import_react6.forwardRef)(
651
603
  )
652
604
  ]
653
605
  }
654
- ) })) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", __spreadProps(__spreadValues({ ref, className: containerClasses }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
606
+ ) })) : /* @__PURE__ */ jsx6("div", __spreadProps(__spreadValues({ ref, className: containerClasses }, rest), { children: /* @__PURE__ */ jsx6(
655
607
  "svg",
656
608
  {
657
609
  className: "animate-spin",
@@ -659,7 +611,7 @@ var Loading = (0, import_react6.forwardRef)(
659
611
  height: size === "sm" ? 18 : 88,
660
612
  viewBox: "0 0 20 20",
661
613
  fill: "none",
662
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
614
+ children: /* @__PURE__ */ jsx6(
663
615
  "path",
664
616
  {
665
617
  d: "M10 2.5a7.5 7.5 0 1 0 7.5 7.5",
@@ -675,7 +627,7 @@ var Loading = (0, import_react6.forwardRef)(
675
627
  Loading.displayName = "Loading";
676
628
 
677
629
  // src/components/Button/Button.tsx
678
- var import_jsx_runtime7 = require("react/jsx-runtime");
630
+ import { jsx as jsx7, jsxs as jsxs7 } from "react/jsx-runtime";
679
631
  var variantClasses = {
680
632
  primary: [
681
633
  "bg-blue-600 text-white-100",
@@ -719,7 +671,7 @@ var sizeClasses3 = {
719
671
  lg: "px-24 py-12 text-label-large",
720
672
  xl: "px-32 py-16 text-label-large"
721
673
  };
722
- var Button = (0, import_react7.forwardRef)(
674
+ var Button = forwardRef7(
723
675
  (_a, ref) => {
724
676
  var _b = _a, {
725
677
  variant = "primary",
@@ -754,8 +706,8 @@ var Button = (0, import_react7.forwardRef)(
754
706
  rounded ? "rounded-full" : size === "sm" ? "rounded-6" : size === "xl" ? "rounded-12" : "rounded-8",
755
707
  className
756
708
  ].filter(Boolean).join(" ");
757
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("button", __spreadProps(__spreadValues({ ref, disabled: isDisabled, className: classes }, rest), { children: [
758
- loading ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Loading, { size: "sm", isDark: variant === "primary" || variant === "transparent" }) : startIcon,
709
+ return /* @__PURE__ */ jsxs7("button", __spreadProps(__spreadValues({ ref, disabled: isDisabled, className: classes }, rest), { children: [
710
+ loading ? /* @__PURE__ */ jsx7(Loading, { size: "sm", isDark: variant === "primary" || variant === "transparent" }) : startIcon,
759
711
  children,
760
712
  !loading && endIcon
761
713
  ] }));
@@ -764,10 +716,10 @@ var Button = (0, import_react7.forwardRef)(
764
716
  Button.displayName = "Button";
765
717
 
766
718
  // src/components/BottomSheet/BottomSheet.tsx
767
- var import_react8 = __toESM(require("react"));
768
- var import_react_dom = require("react-dom");
769
- var import_jsx_runtime8 = require("react/jsx-runtime");
770
- var BottomSheet = (0, import_react8.forwardRef)(
719
+ import React, { useEffect, useState as useState2, useCallback as useCallback2, forwardRef as forwardRef8 } from "react";
720
+ import { createPortal } from "react-dom";
721
+ import { jsx as jsx8, jsxs as jsxs8 } from "react/jsx-runtime";
722
+ var BottomSheet = forwardRef8(
771
723
  (_a, ref) => {
772
724
  var _b = _a, {
773
725
  isForceOpen = false,
@@ -794,10 +746,10 @@ var BottomSheet = (0, import_react8.forwardRef)(
794
746
  "modalDesc",
795
747
  "className"
796
748
  ]);
797
- const [isOpen, setIsOpen] = (0, import_react8.useState)(false);
798
- const [shouldRender, setShouldRender] = (0, import_react8.useState)(false);
799
- const [animate, setAnimate] = (0, import_react8.useState)(false);
800
- (0, import_react8.useEffect)(() => {
749
+ const [isOpen, setIsOpen] = useState2(false);
750
+ const [shouldRender, setShouldRender] = useState2(false);
751
+ const [animate, setAnimate] = useState2(false);
752
+ useEffect(() => {
801
753
  if (isOpen) {
802
754
  setShouldRender(true);
803
755
  setTimeout(() => setAnimate(true), 10);
@@ -807,14 +759,14 @@ var BottomSheet = (0, import_react8.forwardRef)(
807
759
  return () => clearTimeout(timer);
808
760
  }
809
761
  }, [isOpen]);
810
- (0, import_react8.useEffect)(() => {
762
+ useEffect(() => {
811
763
  if (isForceOpen) {
812
764
  setIsOpen(true);
813
765
  } else {
814
766
  setIsOpen(false);
815
767
  }
816
768
  }, [isForceOpen]);
817
- const handleStartClick = (0, import_react8.useCallback)(
769
+ const handleStartClick = useCallback2(
818
770
  (e) => {
819
771
  var _a2, _b2;
820
772
  (_b2 = startModalBtn == null ? void 0 : (_a2 = startModalBtn.props).onClick) == null ? void 0 : _b2.call(_a2, e);
@@ -823,7 +775,7 @@ var BottomSheet = (0, import_react8.forwardRef)(
823
775
  },
824
776
  [startModalBtn]
825
777
  );
826
- const handleStopClick = (0, import_react8.useCallback)(
778
+ const handleStopClick = useCallback2(
827
779
  (e) => {
828
780
  var _a2, _b2;
829
781
  (_b2 = stopModalBtn == null ? void 0 : (_a2 = stopModalBtn.props).onClick) == null ? void 0 : _b2.call(_a2, e);
@@ -836,19 +788,19 @@ var BottomSheet = (0, import_react8.forwardRef)(
836
788
  setIsForceOpen == null ? void 0 : setIsForceOpen(false);
837
789
  setIsOpen(false);
838
790
  };
839
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { ref, style: { display: "contents" }, children: [
840
- startModalBtn && import_react8.default.cloneElement(startModalBtn, {
791
+ return /* @__PURE__ */ jsxs8("span", { ref, style: { display: "contents" }, children: [
792
+ startModalBtn && React.cloneElement(startModalBtn, {
841
793
  onClick: handleStartClick
842
794
  }),
843
- shouldRender && (0, import_react_dom.createPortal)(
844
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
795
+ shouldRender && createPortal(
796
+ /* @__PURE__ */ jsxs8(
845
797
  "div",
846
798
  {
847
799
  className: `fixed inset-0 z-50 flex items-end justify-center transition-opacity duration-300 ${animate ? "opacity-100" : "opacity-0"}`,
848
800
  "aria-modal": "true",
849
801
  role: "dialog",
850
802
  children: [
851
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
803
+ /* @__PURE__ */ jsx8(
852
804
  "div",
853
805
  {
854
806
  className: "absolute inset-0 bg-black/40",
@@ -856,26 +808,26 @@ var BottomSheet = (0, import_react8.forwardRef)(
856
808
  "aria-label": "Close modal"
857
809
  }
858
810
  ),
859
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
811
+ /* @__PURE__ */ jsxs8(
860
812
  "div",
861
813
  {
862
814
  className: `flex flex-col z-10 w-full rounded-t-xl bg-white pt-8 pb-16 px-16 shadow-lg transform transition-all duration-300
863
815
  ${size === "sm" ? "h-auto max-h-auto" : size === "md" ? "h-full max-h-[85vh]" : "h-full max-h-screen rounded-t-none!"}
864
816
  ${animate ? "scale-100 translate-y-0" : "scale-95 translate-y-full"}`,
865
817
  children: [
866
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "w-full flex flex-row relative items-center pt-8 pb-16", children: [
867
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex flex-col px-8 max-w-225", children: [
868
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { className: "text-heading-3 text-button-sheet-text-primary", children: modalTitle }),
869
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { className: "text-body-small text-button-sheet-text-secondary", children: modalDesc })
818
+ /* @__PURE__ */ jsxs8("div", { className: "w-full flex flex-row relative items-center pt-8 pb-16", children: [
819
+ /* @__PURE__ */ jsxs8("div", { className: "flex flex-col px-8 max-w-225", children: [
820
+ /* @__PURE__ */ jsx8("p", { className: "text-heading-3 text-button-sheet-text-primary", children: modalTitle }),
821
+ /* @__PURE__ */ jsx8("p", { className: "text-body-small text-button-sheet-text-secondary", children: modalDesc })
870
822
  ] }),
871
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
823
+ /* @__PURE__ */ jsx8(
872
824
  "i",
873
825
  {
874
826
  className: "fi fi-br-cross-small flex text-xl text-gray-600 w-44 h-44 absolute top-0 right-0 p-12",
875
827
  onClick: () => handleCloseClick()
876
828
  }
877
829
  ),
878
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
830
+ /* @__PURE__ */ jsx8(
879
831
  "div",
880
832
  {
881
833
  className: "text-gray-600 text-xl absolute top-0 right-0 p-12",
@@ -884,9 +836,9 @@ var BottomSheet = (0, import_react8.forwardRef)(
884
836
  }
885
837
  )
886
838
  ] }),
887
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "w-full h-full grow overflow-y-auto overflow-x-visible", children: [
839
+ /* @__PURE__ */ jsxs8("div", { className: "w-full h-full grow overflow-y-auto overflow-x-visible", children: [
888
840
  children,
889
- stopModalBtn && import_react8.default.cloneElement(stopModalBtn, {
841
+ stopModalBtn && React.cloneElement(stopModalBtn, {
890
842
  onClick: handleStopClick
891
843
  }),
892
844
  afterStopBtn && afterStopBtn
@@ -905,17 +857,21 @@ var BottomSheet = (0, import_react8.forwardRef)(
905
857
  BottomSheet.displayName = "BottomSheet";
906
858
 
907
859
  // src/components/Checkbox/Checkbox.tsx
908
- var import_react9 = require("react");
909
- var import_jsx_runtime9 = require("react/jsx-runtime");
860
+ import {
861
+ forwardRef as forwardRef9,
862
+ useId as useId2,
863
+ useState as useState3
864
+ } from "react";
865
+ import { jsx as jsx9, jsxs as jsxs9 } from "react/jsx-runtime";
910
866
  function CheckIcon({ className }) {
911
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
867
+ return /* @__PURE__ */ jsx9(
912
868
  "svg",
913
869
  {
914
870
  className,
915
871
  viewBox: "0 0 16 16",
916
872
  fill: "none",
917
873
  "aria-hidden": "true",
918
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
874
+ children: /* @__PURE__ */ jsx9(
919
875
  "path",
920
876
  {
921
877
  d: "M13.333 4.667 6 12l-3.333-3.333",
@@ -929,14 +885,14 @@ function CheckIcon({ className }) {
929
885
  );
930
886
  }
931
887
  function IndeterminateIcon({ className }) {
932
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
888
+ return /* @__PURE__ */ jsx9(
933
889
  "svg",
934
890
  {
935
891
  className,
936
892
  viewBox: "0 0 16 16",
937
893
  fill: "none",
938
894
  "aria-hidden": "true",
939
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
895
+ children: /* @__PURE__ */ jsx9(
940
896
  "path",
941
897
  {
942
898
  d: "M3.333 8h9.334",
@@ -948,7 +904,7 @@ function IndeterminateIcon({ className }) {
948
904
  }
949
905
  );
950
906
  }
951
- var Checkbox = (0, import_react9.forwardRef)(
907
+ var Checkbox = forwardRef9(
952
908
  (_a, ref) => {
953
909
  var _b = _a, {
954
910
  label,
@@ -971,17 +927,17 @@ var Checkbox = (0, import_react9.forwardRef)(
971
927
  "id",
972
928
  "defaultChecked"
973
929
  ]);
974
- const reactId = (0, import_react9.useId)();
930
+ const reactId = useId2();
975
931
  const inputId = id != null ? id : reactId;
976
- const [isChecked, setIsChecked] = (0, import_react9.useState)(defaultChecked != null ? defaultChecked : false);
977
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
932
+ const [isChecked, setIsChecked] = useState3(defaultChecked != null ? defaultChecked : false);
933
+ return /* @__PURE__ */ jsxs9(
978
934
  "label",
979
935
  {
980
936
  htmlFor: inputId,
981
937
  className: `flex select-none font-sans ${disabled ? "cursor-not-allowed" : "cursor-pointer"} ${className}`,
982
938
  children: [
983
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "relative mr-16", children: [
984
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
939
+ /* @__PURE__ */ jsxs9("div", { className: "relative mr-16", children: [
940
+ /* @__PURE__ */ jsx9(
985
941
  "input",
986
942
  __spreadValues({
987
943
  ref,
@@ -998,16 +954,16 @@ var Checkbox = (0, import_react9.forwardRef)(
998
954
  className: "sr-only"
999
955
  }, rest)
1000
956
  ),
1001
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
957
+ /* @__PURE__ */ jsx9(
1002
958
  "div",
1003
959
  {
1004
960
  className: `box m-6 flex h-20 w-20 rounded-md items-center justify-center border ${contrast ? isChecked || indeterminate ? "border-white bg-white" : "border-white" : isChecked || indeterminate ? "bg-static-icon-brand border-static-icon-brand" : "border-static-icon-primary"}`,
1005
- children: isChecked ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
961
+ children: isChecked ? /* @__PURE__ */ jsx9(
1006
962
  CheckIcon,
1007
963
  {
1008
964
  className: `h-20 ${contrast ? "text-static-icon-brand" : "text-white"}`
1009
965
  }
1010
- ) : indeterminate ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
966
+ ) : indeterminate ? /* @__PURE__ */ jsx9(
1011
967
  IndeterminateIcon,
1012
968
  {
1013
969
  className: `h-20 ${contrast ? "text-static-icon-brand" : "text-white"}`
@@ -1016,15 +972,15 @@ var Checkbox = (0, import_react9.forwardRef)(
1016
972
  }
1017
973
  )
1018
974
  ] }),
1019
- (label || description) && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "flex flex-col", children: [
1020
- label && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
975
+ (label || description) && /* @__PURE__ */ jsxs9("span", { className: "flex flex-col", children: [
976
+ label && /* @__PURE__ */ jsx9(
1021
977
  "span",
1022
978
  {
1023
979
  className: `text-label-large ${disabled ? "text-checkbox-text-disabled" : contrast ? "text-checkbox-text-primary-inverse" : "text-checkbox-text-primary"}`,
1024
980
  children: label
1025
981
  }
1026
982
  ),
1027
- description && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
983
+ description && /* @__PURE__ */ jsx9(
1028
984
  "span",
1029
985
  {
1030
986
  className: `text-body-small ${error ? "text-checkbox-text-danger" : disabled ? "text-checkbox-text-disabled" : contrast ? "text-checkbox-text-primary-inverse" : "text-checkbox-text-secondary"}`,
@@ -1040,8 +996,11 @@ var Checkbox = (0, import_react9.forwardRef)(
1040
996
  Checkbox.displayName = "Checkbox";
1041
997
 
1042
998
  // src/components/Chip/Chip.tsx
1043
- var import_react10 = require("react");
1044
- var import_jsx_runtime10 = require("react/jsx-runtime");
999
+ import {
1000
+ forwardRef as forwardRef10,
1001
+ useState as useState4
1002
+ } from "react";
1003
+ import { jsx as jsx10, jsxs as jsxs10 } from "react/jsx-runtime";
1045
1004
  var sizeClasses4 = {
1046
1005
  sm: "h-32 text-label-medium px-12 py-6",
1047
1006
  md: "h-40 text-label-large px-16 py-10",
@@ -1060,7 +1019,7 @@ var isDarkClasses = {
1060
1019
  true: "!bg-chip-background-black-active !text-chip-text-inverse",
1061
1020
  false: "!bg-chip-background-active !text-chip-text-inverse"
1062
1021
  };
1063
- var Chip = (0, import_react10.forwardRef)(
1022
+ var Chip = forwardRef10(
1064
1023
  (_a, ref) => {
1065
1024
  var _b = _a, {
1066
1025
  size = "md",
@@ -1085,7 +1044,7 @@ var Chip = (0, import_react10.forwardRef)(
1085
1044
  "disabled",
1086
1045
  "className"
1087
1046
  ]);
1088
- const [selected, setSelected] = (0, import_react10.useState)(defaultSelected);
1047
+ const [selected, setSelected] = useState4(defaultSelected);
1089
1048
  const sz = sizeClasses4[size];
1090
1049
  const outlinedClass = isOutlinedClasses[String(isOutlined)];
1091
1050
  const darkClass = isDarkClasses[String(isDark)];
@@ -1097,7 +1056,7 @@ var Chip = (0, import_react10.forwardRef)(
1097
1056
  className,
1098
1057
  selected ? darkClass : ""
1099
1058
  ].filter(Boolean).join(" ");
1100
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
1059
+ return /* @__PURE__ */ jsxs10(
1101
1060
  "div",
1102
1061
  __spreadProps(__spreadValues({
1103
1062
  ref,
@@ -1105,7 +1064,7 @@ var Chip = (0, import_react10.forwardRef)(
1105
1064
  }, rest), {
1106
1065
  onClick: () => !disabled && setSelected(!selected),
1107
1066
  children: [
1108
- icon ? icon : src && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("img", { src, alt, className: `${marginImgClasses[size]} rounded-full` }),
1067
+ icon ? icon : src && /* @__PURE__ */ jsx10("img", { src, alt, className: `${marginImgClasses[size]} rounded-full` }),
1109
1068
  label
1110
1069
  ]
1111
1070
  })
@@ -1115,10 +1074,15 @@ var Chip = (0, import_react10.forwardRef)(
1115
1074
  Chip.displayName = "Chip";
1116
1075
 
1117
1076
  // src/components/Dialog/Dialog.tsx
1118
- var import_react11 = __toESM(require("react"));
1119
- var import_react_dom2 = require("react-dom");
1120
- var import_jsx_runtime11 = require("react/jsx-runtime");
1121
- var Dialog = (0, import_react11.forwardRef)(
1077
+ import React2, {
1078
+ useEffect as useEffect2,
1079
+ useState as useState5,
1080
+ useCallback as useCallback3,
1081
+ forwardRef as forwardRef11
1082
+ } from "react";
1083
+ import { createPortal as createPortal2 } from "react-dom";
1084
+ import { jsx as jsx11, jsxs as jsxs11 } from "react/jsx-runtime";
1085
+ var Dialog = forwardRef11(
1122
1086
  ({
1123
1087
  isForceOpen = false,
1124
1088
  setIsForceOpen,
@@ -1131,10 +1095,10 @@ var Dialog = (0, import_react11.forwardRef)(
1131
1095
  p = "20",
1132
1096
  maxW = "md"
1133
1097
  }, ref) => {
1134
- const [isOpen, setIsOpen] = (0, import_react11.useState)(false);
1135
- const [isRender, setIsRender] = (0, import_react11.useState)(false);
1136
- const [animate, setAnimate] = (0, import_react11.useState)(false);
1137
- (0, import_react11.useEffect)(() => {
1098
+ const [isOpen, setIsOpen] = useState5(false);
1099
+ const [isRender, setIsRender] = useState5(false);
1100
+ const [animate, setAnimate] = useState5(false);
1101
+ useEffect2(() => {
1138
1102
  if (isOpen) {
1139
1103
  setIsRender(true);
1140
1104
  setTimeout(() => setAnimate(true), 10);
@@ -1144,14 +1108,14 @@ var Dialog = (0, import_react11.forwardRef)(
1144
1108
  return () => clearTimeout(timer);
1145
1109
  }
1146
1110
  }, [isOpen]);
1147
- (0, import_react11.useEffect)(() => {
1111
+ useEffect2(() => {
1148
1112
  if (isForceOpen) {
1149
1113
  setIsOpen(true);
1150
1114
  } else {
1151
1115
  setIsOpen(false);
1152
1116
  }
1153
1117
  }, [isForceOpen]);
1154
- const handleStartClick = (0, import_react11.useCallback)(
1118
+ const handleStartClick = useCallback3(
1155
1119
  (e) => {
1156
1120
  var _a, _b;
1157
1121
  (_b = startModalBtn == null ? void 0 : (_a = startModalBtn.props).onClick) == null ? void 0 : _b.call(_a, e);
@@ -1160,7 +1124,7 @@ var Dialog = (0, import_react11.forwardRef)(
1160
1124
  },
1161
1125
  [startModalBtn]
1162
1126
  );
1163
- const handleStopClick = (0, import_react11.useCallback)(
1127
+ const handleStopClick = useCallback3(
1164
1128
  (e) => {
1165
1129
  var _a, _b;
1166
1130
  (_b = stopModalBtn == null ? void 0 : (_a = stopModalBtn.props).onClick) == null ? void 0 : _b.call(_a, e);
@@ -1173,19 +1137,19 @@ var Dialog = (0, import_react11.forwardRef)(
1173
1137
  setIsForceOpen == null ? void 0 : setIsForceOpen(false);
1174
1138
  setIsOpen(false);
1175
1139
  };
1176
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { ref, style: { display: "contents" }, children: [
1177
- startModalBtn && import_react11.default.cloneElement(startModalBtn, {
1140
+ return /* @__PURE__ */ jsxs11("span", { ref, style: { display: "contents" }, children: [
1141
+ startModalBtn && React2.cloneElement(startModalBtn, {
1178
1142
  onClick: handleStartClick
1179
1143
  }),
1180
- isRender && (0, import_react_dom2.createPortal)(
1181
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
1144
+ isRender && createPortal2(
1145
+ /* @__PURE__ */ jsxs11(
1182
1146
  "div",
1183
1147
  {
1184
1148
  className: `fixed inset-0 z-50 flex items-center justify-center transition-opacity duration-300 ${animate ? "opacity-100" : "opacity-0"}`,
1185
1149
  "aria-modal": "true",
1186
1150
  role: "dialog",
1187
1151
  children: [
1188
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1152
+ /* @__PURE__ */ jsx11(
1189
1153
  "div",
1190
1154
  {
1191
1155
  className: "absolute inset-0 bg-black/40",
@@ -1193,12 +1157,12 @@ var Dialog = (0, import_react11.forwardRef)(
1193
1157
  "aria-label": "Close modal"
1194
1158
  }
1195
1159
  ),
1196
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
1160
+ /* @__PURE__ */ jsxs11(
1197
1161
  "div",
1198
1162
  {
1199
1163
  className: `relative z-10 w-[calc(100%-40px)] max-w-${maxW} rounded-xl bg-white p-${p || "20"} shadow-lg transform transition-all duration-300 ${animate ? "scale-100 opacity-100" : "scale-95 opacity-0"}`,
1200
1164
  children: [
1201
- isCloseIcon && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1165
+ isCloseIcon && /* @__PURE__ */ jsx11(
1202
1166
  "svg",
1203
1167
  {
1204
1168
  xmlns: "http://www.w3.org/2000/svg",
@@ -1211,7 +1175,7 @@ var Dialog = (0, import_react11.forwardRef)(
1211
1175
  e.preventDefault();
1212
1176
  handleCloseClick();
1213
1177
  },
1214
- children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1178
+ children: /* @__PURE__ */ jsx11(
1215
1179
  "path",
1216
1180
  {
1217
1181
  d: "M14.7119 6.0625L10.7744 10L14.7119 13.9375L13.9375 14.7119L10 10.7744L6.0625 14.7119L5.28809 13.9375L9.22559 10L5.28809 6.0625L6.0625 5.28809L10 9.22559L13.9375 5.28809L14.7119 6.0625Z",
@@ -1221,7 +1185,7 @@ var Dialog = (0, import_react11.forwardRef)(
1221
1185
  }
1222
1186
  ),
1223
1187
  children,
1224
- stopModalBtn && import_react11.default.cloneElement(stopModalBtn, {
1188
+ stopModalBtn && React2.cloneElement(stopModalBtn, {
1225
1189
  onClick: handleStopClick
1226
1190
  }),
1227
1191
  afterStopBtn && afterStopBtn
@@ -1239,9 +1203,9 @@ var Dialog = (0, import_react11.forwardRef)(
1239
1203
  Dialog.displayName = "Dialog";
1240
1204
 
1241
1205
  // src/components/Dropdown/Dropdown.tsx
1242
- var import_react12 = require("react");
1243
- var import_jsx_runtime12 = require("react/jsx-runtime");
1244
- var IconDanger = () => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1206
+ import { useState as useState6, useRef, useEffect as useEffect3 } from "react";
1207
+ import { Fragment as Fragment2, jsx as jsx12, jsxs as jsxs12 } from "react/jsx-runtime";
1208
+ var IconDanger = () => /* @__PURE__ */ jsx12(
1245
1209
  "svg",
1246
1210
  {
1247
1211
  xmlns: "http://www.w3.org/2000/svg",
@@ -1249,7 +1213,7 @@ var IconDanger = () => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1249
1213
  height: "20",
1250
1214
  viewBox: "0 0 20 20",
1251
1215
  fill: "none",
1252
- children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1216
+ children: /* @__PURE__ */ jsx12(
1253
1217
  "path",
1254
1218
  {
1255
1219
  d: "M10.0078 2.41699C11.0548 2.41699 12.0363 2.61407 12.9512 3.00879C13.8657 3.40341 14.6687 3.94646 15.3604 4.6377C16.0522 5.32922 16.5962 6.13426 16.9912 7.05176C17.386 7.96936 17.583 8.95002 17.583 9.99316C17.583 11.0363 17.3859 12.0187 16.9912 12.9404C16.5966 13.862 16.0536 14.6687 15.3623 15.3604C14.6708 16.0522 13.8657 16.5962 12.9482 16.9912C12.0306 17.386 11.05 17.583 10.0068 17.583C8.96373 17.583 7.9813 17.3859 7.05957 16.9912C6.13798 16.5966 5.33135 16.0536 4.63965 15.3623C3.94784 14.6708 3.40379 13.8642 3.00879 12.9434C2.61398 12.0228 2.41703 11.039 2.41699 9.99219C2.41699 8.94524 2.61407 7.96369 3.00879 7.04883C3.40341 6.13429 3.94646 5.33128 4.6377 4.63965C5.32922 3.94784 6.13581 3.40379 7.05664 3.00879C7.97723 2.61398 8.961 2.41703 10.0078 2.41699ZM10.0039 12.5967C9.83828 12.5968 9.69804 12.6527 9.58301 12.7646C9.46793 12.8769 9.41016 13.0159 9.41016 13.1816C9.4102 13.3472 9.46621 13.4875 9.57812 13.6025C9.69035 13.7177 9.83026 13.7754 9.99609 13.7754C10.1617 13.7753 10.302 13.7195 10.417 13.6074C10.5321 13.4952 10.5898 13.3562 10.5898 13.1904C10.5898 13.0246 10.534 12.8837 10.4219 12.7686C10.3097 12.6536 10.1697 12.5967 10.0039 12.5967ZM9.45801 11.0645H10.542V6.06445H9.45801V11.0645Z",
@@ -1259,7 +1223,7 @@ var IconDanger = () => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1259
1223
  }
1260
1224
  );
1261
1225
  function IconCheck({ className }) {
1262
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1226
+ return /* @__PURE__ */ jsx12(
1263
1227
  "svg",
1264
1228
  {
1265
1229
  xmlns: "http://www.w3.org/2000/svg",
@@ -1268,7 +1232,7 @@ function IconCheck({ className }) {
1268
1232
  viewBox: "0 0 20 20",
1269
1233
  fill: "none",
1270
1234
  className,
1271
- children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1235
+ children: /* @__PURE__ */ jsx12(
1272
1236
  "path",
1273
1237
  {
1274
1238
  d: "M15.6328 6.64062L8.10449 14.1494L4.36719 10.4326L5.13281 9.64551L8.10449 12.6172L14.8672 5.875L15.6328 6.64062Z",
@@ -1279,7 +1243,7 @@ function IconCheck({ className }) {
1279
1243
  );
1280
1244
  }
1281
1245
  function ChevronDown({ className }) {
1282
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1246
+ return /* @__PURE__ */ jsx12(
1283
1247
  "svg",
1284
1248
  {
1285
1249
  xmlns: "http://www.w3.org/2000/svg",
@@ -1288,7 +1252,7 @@ function ChevronDown({ className }) {
1288
1252
  viewBox: "0 0 20 20",
1289
1253
  fill: "none",
1290
1254
  className,
1291
- children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1255
+ children: /* @__PURE__ */ jsx12(
1292
1256
  "path",
1293
1257
  {
1294
1258
  d: "M14.7119 8.0625L10 12.7744L5.28809 8.0625L6.0625 7.28809L10 11.2256L13.9375 7.28809L14.7119 8.0625Z",
@@ -1315,13 +1279,13 @@ var Dropdown = ({
1315
1279
  { label: "Maria Garcia", value: "Maria Garcia" }
1316
1280
  ]
1317
1281
  }) => {
1318
- const [isOpen, setIsOpen] = (0, import_react12.useState)(false);
1319
- const [search, setSearch] = (0, import_react12.useState)("");
1320
- const dropdownRef = (0, import_react12.useRef)(null);
1282
+ const [isOpen, setIsOpen] = useState6(false);
1283
+ const [search, setSearch] = useState6("");
1284
+ const dropdownRef = useRef(null);
1321
1285
  const filteredItems = dropDownItems.filter(
1322
1286
  (item) => item.label.toLowerCase().includes(search.toLowerCase())
1323
1287
  );
1324
- (0, import_react12.useEffect)(() => {
1288
+ useEffect3(() => {
1325
1289
  function handleClickOutside(event) {
1326
1290
  if (dropdownRef.current && !dropdownRef.current.contains(event.target)) {
1327
1291
  setIsOpen(false);
@@ -1332,16 +1296,16 @@ var Dropdown = ({
1332
1296
  document.removeEventListener("mousedown", handleClickOutside);
1333
1297
  };
1334
1298
  }, []);
1335
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "w-full", children: [
1336
- label ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1299
+ return /* @__PURE__ */ jsxs12("div", { className: "w-full", children: [
1300
+ label ? /* @__PURE__ */ jsx12(
1337
1301
  "p",
1338
1302
  {
1339
1303
  className: `text-label-medium text-left items-left font-medium mb-4 ${isDisabled ? "text-dropdown-text-disabled" : "text-dropdown-text-primary"}`,
1340
1304
  children: label
1341
1305
  }
1342
- ) : /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_jsx_runtime12.Fragment, {}),
1343
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "w-full flex flex-col relative", ref: dropdownRef, children: [
1344
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
1306
+ ) : /* @__PURE__ */ jsx12(Fragment2, {}),
1307
+ /* @__PURE__ */ jsxs12("div", { className: "w-full flex flex-col relative", ref: dropdownRef, children: [
1308
+ /* @__PURE__ */ jsxs12(
1345
1309
  "button",
1346
1310
  {
1347
1311
  onClick: () => !isDisabled && setIsOpen(!isOpen),
@@ -1349,10 +1313,10 @@ var Dropdown = ({
1349
1313
  ${isDisabled ? "pointer-events-none bg-dropdown-background-disabled text-dropdown-text-disabled border-dropdown-border-disabled" : error ? "border-red-600 bg-dropdown-background-enabled focus:border-red-600" : value ? "text-dropdown-text-primary bg-dropdown-background-enabled border-dropdown-border-enabled focus:border-dropdown-border-active " : "text-dropdown-text-secondary bg-dropdown-background-enabled border-dropdown-border-enabled focus:border-dropdown-border-active "} `,
1350
1314
  type: "button",
1351
1315
  children: [
1352
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { className: `grow ${isTextCenter ? "text-center" : "text-start"}`, children: value.label || placeholder }),
1353
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "flex items-center gap-8", children: [
1354
- isDisabled ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_jsx_runtime12.Fragment, {}) : error ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(IconDanger, {}) : /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_jsx_runtime12.Fragment, {}),
1355
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1316
+ /* @__PURE__ */ jsx12("p", { className: `grow ${isTextCenter ? "text-center" : "text-start"}`, children: value.label || placeholder }),
1317
+ /* @__PURE__ */ jsxs12("div", { className: "flex items-center gap-8", children: [
1318
+ isDisabled ? /* @__PURE__ */ jsx12(Fragment2, {}) : error ? /* @__PURE__ */ jsx12(IconDanger, {}) : /* @__PURE__ */ jsx12(Fragment2, {}),
1319
+ /* @__PURE__ */ jsx12(
1356
1320
  ChevronDown,
1357
1321
  {
1358
1322
  className: `h-20 w-20 duration-300 ${isOpen ? "rotate-180" : ""}`
@@ -1362,16 +1326,16 @@ var Dropdown = ({
1362
1326
  ]
1363
1327
  }
1364
1328
  ),
1365
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
1329
+ /* @__PURE__ */ jsxs12(
1366
1330
  "div",
1367
1331
  {
1368
1332
  id: "dropdownSearch",
1369
1333
  className: `${isOpen ? "flex" : "hidden"} top-[calc(100%+4px)] left-8 absolute z-10000 bg-white-100 rounded-lg shadow-base w-9/10 min-w-fit flex-col`,
1370
1334
  children: [
1371
- isSearchable ? /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "p-3", children: [
1372
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("label", { htmlFor: "input-group-search", className: "sr-only", children: "Search" }),
1373
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "relative", children: [
1374
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "absolute inset-y-0 rtl:inset-r-0 inset-s-0 flex items-center ps-12 pointer-events-none", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
1335
+ isSearchable ? /* @__PURE__ */ jsxs12("div", { className: "p-3", children: [
1336
+ /* @__PURE__ */ jsx12("label", { htmlFor: "input-group-search", className: "sr-only", children: "Search" }),
1337
+ /* @__PURE__ */ jsxs12("div", { className: "relative", children: [
1338
+ /* @__PURE__ */ jsx12("div", { className: "absolute inset-y-0 rtl:inset-r-0 inset-s-0 flex items-center ps-12 pointer-events-none", children: /* @__PURE__ */ jsxs12(
1375
1339
  "svg",
1376
1340
  {
1377
1341
  xmlns: "http://www.w3.org/2000/svg",
@@ -1380,7 +1344,7 @@ var Dropdown = ({
1380
1344
  viewBox: "0 0 20 20",
1381
1345
  fill: "none",
1382
1346
  children: [
1383
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1347
+ /* @__PURE__ */ jsx12(
1384
1348
  "mask",
1385
1349
  {
1386
1350
  id: "mask0_3218_5077",
@@ -1390,10 +1354,10 @@ var Dropdown = ({
1390
1354
  y: "0",
1391
1355
  width: "20",
1392
1356
  height: "20",
1393
- children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("rect", { width: "20", height: "20", fill: "#D9D9D9" })
1357
+ children: /* @__PURE__ */ jsx12("rect", { width: "20", height: "20", fill: "#D9D9D9" })
1394
1358
  }
1395
1359
  ),
1396
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("g", { mask: "url(#mask0_3218_5077)", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1360
+ /* @__PURE__ */ jsx12("g", { mask: "url(#mask0_3218_5077)", children: /* @__PURE__ */ jsx12(
1397
1361
  "path",
1398
1362
  {
1399
1363
  d: "M15.8894 16.6476L10.9263 11.6842C10.5096 12.0005 10.0527 12.2454 9.55563 12.419C9.05855 12.5926 8.54556 12.6794 8.01667 12.6794C6.7182 12.6794 5.61354 12.2241 4.70271 11.3134C3.79202 10.4026 3.33667 9.29811 3.33667 8.00005C3.33667 6.702 3.79202 5.59755 4.70271 4.68672C5.61354 3.77603 6.71799 3.32068 8.01604 3.32068C9.3141 3.32068 10.4185 3.77603 11.3294 4.68672C12.2401 5.59755 12.6954 6.70221 12.6954 8.00068C12.6954 8.54554 12.606 9.06651 12.4271 9.56359C12.2481 10.0608 12.0058 10.5097 11.7002 10.9103L16.6633 15.8734L15.8894 16.6476ZM8.01604 11.5963C9.02035 11.5963 9.87077 11.248 10.5673 10.5513C11.264 9.85478 11.6123 9.00436 11.6123 8.00005C11.6123 6.99575 11.264 6.14533 10.5673 5.4488C9.87077 4.75214 9.02035 4.4038 8.01604 4.4038C7.01174 4.4038 6.16132 4.75214 5.46479 5.4488C4.76813 6.14533 4.41979 6.99575 4.41979 8.00005C4.41979 9.00436 4.76813 9.85478 5.46479 10.5513C6.16132 11.248 7.01174 11.5963 8.01604 11.5963Z",
@@ -1403,7 +1367,7 @@ var Dropdown = ({
1403
1367
  ]
1404
1368
  }
1405
1369
  ) }),
1406
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1370
+ /* @__PURE__ */ jsx12(
1407
1371
  "input",
1408
1372
  {
1409
1373
  type: "text",
@@ -1414,13 +1378,13 @@ var Dropdown = ({
1414
1378
  }
1415
1379
  )
1416
1380
  ] })
1417
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_jsx_runtime12.Fragment, {}),
1418
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1381
+ ] }) : /* @__PURE__ */ jsx12(Fragment2, {}),
1382
+ /* @__PURE__ */ jsx12(
1419
1383
  "ul",
1420
1384
  {
1421
1385
  className: "h-auto max-h-392 overflow-y-auto cursor-pointer",
1422
1386
  "aria-labelledby": "dropdownSearchButton",
1423
- children: filteredItems.length > 0 ? filteredItems.map((item, idx) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
1387
+ children: filteredItems.length > 0 ? filteredItems.map((item, idx) => /* @__PURE__ */ jsx12("li", { children: /* @__PURE__ */ jsxs12(
1424
1388
  "div",
1425
1389
  {
1426
1390
  onClick: () => {
@@ -1431,30 +1395,30 @@ var Dropdown = ({
1431
1395
  className: "relative text-gray-900 py-12 px-16 rounded-sm text-label-medium hover:bg-gray-100",
1432
1396
  children: [
1433
1397
  item.label,
1434
- value.value === item.value && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(IconCheck, { className: "absolute h-20 w-20 right-24 top-2 translate-y-1/2" })
1398
+ value.value === item.value && /* @__PURE__ */ jsx12(IconCheck, { className: "absolute h-20 w-20 right-24 top-2 translate-y-1/2" })
1435
1399
  ]
1436
1400
  }
1437
- ) }, idx)) : /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("li", { className: "px-8 py-8 text-label-medium text-gray-900", children: "No results found" })
1401
+ ) }, idx)) : /* @__PURE__ */ jsx12("li", { className: "px-8 py-8 text-label-medium text-gray-900", children: "No results found" })
1438
1402
  }
1439
1403
  )
1440
1404
  ]
1441
1405
  }
1442
1406
  )
1443
1407
  ] }),
1444
- error ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1408
+ error ? /* @__PURE__ */ jsx12(
1445
1409
  "p",
1446
1410
  {
1447
1411
  className: `text-caption-caption text-left items-left text-dropdown-text-danger mt-4 ${isDisabled ? "hidden" : ""}`,
1448
1412
  children: error
1449
1413
  }
1450
- ) : /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_jsx_runtime12.Fragment, {})
1414
+ ) : /* @__PURE__ */ jsx12(Fragment2, {})
1451
1415
  ] });
1452
1416
  };
1453
1417
  Dropdown.displayName = "Dropdown";
1454
1418
 
1455
1419
  // src/components/FinancialLogo/FinancialLogo.tsx
1456
- var import_react13 = require("react");
1457
- var import_jsx_runtime13 = require("react/jsx-runtime");
1420
+ import { forwardRef as forwardRef12 } from "react";
1421
+ import { jsx as jsx13, jsxs as jsxs13 } from "react/jsx-runtime";
1458
1422
  var inlineClasses2 = {
1459
1423
  info: "bg-alert-inline-info-bg border-alert-inline-info-border text-alert-text-primary",
1460
1424
  success: "bg-alert-inline-success-bg border-alert-inline-success-border text-alert-text-primary",
@@ -1484,25 +1448,25 @@ var inlineIconClasses2 = {
1484
1448
  common: "text-alert-inline-common-icon"
1485
1449
  };
1486
1450
  function InfoIcon2({ className }) {
1487
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("path", { d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16ZM10 6h.01M9 10h1v4h1", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
1451
+ return /* @__PURE__ */ jsx13("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx13("path", { d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16ZM10 6h.01M9 10h1v4h1", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
1488
1452
  }
1489
1453
  function SuccessIcon2({ className }) {
1490
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: [
1491
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("path", { d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z", stroke: "currentColor", strokeWidth: "1.5" }),
1492
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("path", { d: "m7 10 2 2 4-4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
1454
+ return /* @__PURE__ */ jsxs13("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: [
1455
+ /* @__PURE__ */ jsx13("path", { d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z", stroke: "currentColor", strokeWidth: "1.5" }),
1456
+ /* @__PURE__ */ jsx13("path", { d: "m7 10 2 2 4-4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
1493
1457
  ] });
1494
1458
  }
1495
1459
  function WarningIcon2({ className }) {
1496
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("path", { d: "M8.57 3.22 1.53 15.5a1.67 1.67 0 0 0 1.43 2.5h14.08a1.67 1.67 0 0 0 1.43-2.5L11.43 3.22a1.67 1.67 0 0 0-2.86 0ZM10 7.5v3.33M10 14.17h.01", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
1460
+ return /* @__PURE__ */ jsx13("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx13("path", { d: "M8.57 3.22 1.53 15.5a1.67 1.67 0 0 0 1.43 2.5h14.08a1.67 1.67 0 0 0 1.43-2.5L11.43 3.22a1.67 1.67 0 0 0-2.86 0ZM10 7.5v3.33M10 14.17h.01", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
1497
1461
  }
1498
1462
  function DangerIcon2({ className }) {
1499
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("path", { d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16ZM12.5 7.5l-5 5M7.5 7.5l5 5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
1463
+ return /* @__PURE__ */ jsx13("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx13("path", { d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16ZM12.5 7.5l-5 5M7.5 7.5l5 5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
1500
1464
  }
1501
1465
  function CommonIcon({ className }) {
1502
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("path", { d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16ZM10 6v4M10 14h.01", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
1466
+ return /* @__PURE__ */ jsx13("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx13("path", { d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16ZM10 6v4M10 14h.01", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
1503
1467
  }
1504
1468
  function CloseIcon2({ className }) {
1505
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("svg", { className, width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("path", { d: "M12 4 4 12M4 4l8 8", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
1469
+ return /* @__PURE__ */ jsx13("svg", { className, width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx13("path", { d: "M12 4 4 12M4 4l8 8", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
1506
1470
  }
1507
1471
  var defaultIcons2 = {
1508
1472
  info: InfoIcon2,
@@ -1511,7 +1475,7 @@ var defaultIcons2 = {
1511
1475
  danger: DangerIcon2,
1512
1476
  common: CommonIcon
1513
1477
  };
1514
- var FinancialLogo = (0, import_react13.forwardRef)(
1478
+ var FinancialLogo = forwardRef12(
1515
1479
  (_a, ref) => {
1516
1480
  var _b = _a, {
1517
1481
  variant = "info",
@@ -1547,22 +1511,22 @@ var FinancialLogo = (0, import_react13.forwardRef)(
1547
1511
  variantClass,
1548
1512
  className
1549
1513
  ].filter(Boolean).join(" ");
1550
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", __spreadProps(__spreadValues({ ref, role: "alert", className: classes }, rest), { children: [
1551
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: `shrink-0 mt-2 ${iconColorClass}`, children: icon != null ? icon : /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(DefaultIcon, { className: "h-20 w-20" }) }),
1552
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "flex-1 min-w-0", children: [
1553
- title && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("p", { className: "text-sm font-medium leading-20", children: title }),
1554
- description && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("p", { className: `text-sm leading-20 ${descColorClass} ${title ? "mt-4" : ""}`, children: description }),
1514
+ return /* @__PURE__ */ jsxs13("div", __spreadProps(__spreadValues({ ref, role: "alert", className: classes }, rest), { children: [
1515
+ /* @__PURE__ */ jsx13("span", { className: `shrink-0 mt-2 ${iconColorClass}`, children: icon != null ? icon : /* @__PURE__ */ jsx13(DefaultIcon, { className: "h-20 w-20" }) }),
1516
+ /* @__PURE__ */ jsxs13("div", { className: "flex-1 min-w-0", children: [
1517
+ title && /* @__PURE__ */ jsx13("p", { className: "text-sm font-medium leading-20", children: title }),
1518
+ description && /* @__PURE__ */ jsx13("p", { className: `text-sm leading-20 ${descColorClass} ${title ? "mt-4" : ""}`, children: description }),
1555
1519
  children
1556
1520
  ] }),
1557
- action && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: `${actionClass} underline text-sm font-medium`, children: action }),
1558
- onClose && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1521
+ action && /* @__PURE__ */ jsx13("div", { className: `${actionClass} underline text-sm font-medium`, children: action }),
1522
+ onClose && /* @__PURE__ */ jsx13(
1559
1523
  "button",
1560
1524
  {
1561
1525
  type: "button",
1562
1526
  onClick: onClose,
1563
1527
  className: `shrink-0 p-2 rounded transition-colors ${closeColorClass}`,
1564
1528
  "aria-label": "Close",
1565
- children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(CloseIcon2, { className: "h-16 w-16" })
1529
+ children: /* @__PURE__ */ jsx13(CloseIcon2, { className: "h-16 w-16" })
1566
1530
  }
1567
1531
  )
1568
1532
  ] }));
@@ -1571,9 +1535,9 @@ var FinancialLogo = (0, import_react13.forwardRef)(
1571
1535
  FinancialLogo.displayName = "FinancialLogo";
1572
1536
 
1573
1537
  // src/components/Icon/Icon.tsx
1574
- var import_react14 = require("react");
1575
- var import_jsx_runtime14 = require("react/jsx-runtime");
1576
- var Icon = (0, import_react14.forwardRef)(
1538
+ import { forwardRef as forwardRef13 } from "react";
1539
+ import { jsx as jsx14 } from "react/jsx-runtime";
1540
+ var Icon = forwardRef13(
1577
1541
  (_a, ref) => {
1578
1542
  var _b = _a, {
1579
1543
  name,
@@ -1601,7 +1565,7 @@ var Icon = (0, import_react14.forwardRef)(
1601
1565
  "material-symbols-outlined select-none shrink-0 inline-block leading-none",
1602
1566
  className
1603
1567
  ].filter(Boolean).join(" ");
1604
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1568
+ return /* @__PURE__ */ jsx14(
1605
1569
  "span",
1606
1570
  __spreadProps(__spreadValues({
1607
1571
  ref,
@@ -1624,8 +1588,8 @@ var Icon = (0, import_react14.forwardRef)(
1624
1588
  Icon.displayName = "Icon";
1625
1589
 
1626
1590
  // src/components/Link/Link.tsx
1627
- var import_react15 = require("react");
1628
- var import_jsx_runtime15 = require("react/jsx-runtime");
1591
+ import { forwardRef as forwardRef14 } from "react";
1592
+ import { jsx as jsx15, jsxs as jsxs14 } from "react/jsx-runtime";
1629
1593
  var linkStyleClasses = {
1630
1594
  brand: "font-sans text-link-text-enabled",
1631
1595
  white: "font-sans text-link-text-enabled-inverse",
@@ -1647,12 +1611,12 @@ var iconVariantClasses = {
1647
1611
  lg: "w-24 h-24"
1648
1612
  };
1649
1613
  function SuccessIcon3({ className }) {
1650
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: [
1651
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("path", { d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z", stroke: "currentColor", strokeWidth: "1.5" }),
1652
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("path", { d: "m7 10 2 2 4-4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
1614
+ return /* @__PURE__ */ jsxs14("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: [
1615
+ /* @__PURE__ */ jsx15("path", { d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z", stroke: "currentColor", strokeWidth: "1.5" }),
1616
+ /* @__PURE__ */ jsx15("path", { d: "m7 10 2 2 4-4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
1653
1617
  ] });
1654
1618
  }
1655
- var Link = (0, import_react15.forwardRef)(
1619
+ var Link = forwardRef14(
1656
1620
  (_a, ref) => {
1657
1621
  var _b = _a, {
1658
1622
  variant = "sm",
@@ -1683,18 +1647,21 @@ var Link = (0, import_react15.forwardRef)(
1683
1647
  variantClass,
1684
1648
  className
1685
1649
  ].filter(Boolean).join(" ");
1686
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", __spreadProps(__spreadValues({ ref, role: "link", className: classes }, rest), { children: [
1687
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("a", { className: "", href, children: text }),
1688
- icon && !isInline ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(SuccessIcon3, { className: iconClass }) : null
1650
+ return /* @__PURE__ */ jsxs14("div", __spreadProps(__spreadValues({ ref, role: "link", className: classes }, rest), { children: [
1651
+ /* @__PURE__ */ jsx15("a", { className: "", href, children: text }),
1652
+ icon && !isInline ? /* @__PURE__ */ jsx15(SuccessIcon3, { className: iconClass }) : null
1689
1653
  ] }));
1690
1654
  }
1691
1655
  );
1692
1656
  Link.displayName = "Link";
1693
1657
 
1694
1658
  // src/components/Radio/Radio.tsx
1695
- var import_react16 = require("react");
1696
- var import_jsx_runtime16 = require("react/jsx-runtime");
1697
- var Radio = (0, import_react16.forwardRef)(
1659
+ import {
1660
+ forwardRef as forwardRef15,
1661
+ useId as useId3
1662
+ } from "react";
1663
+ import { jsx as jsx16, jsxs as jsxs15 } from "react/jsx-runtime";
1664
+ var Radio = forwardRef15(
1698
1665
  (_a, ref) => {
1699
1666
  var _b = _a, {
1700
1667
  size = "sm",
@@ -1719,20 +1686,20 @@ var Radio = (0, import_react16.forwardRef)(
1719
1686
  "id",
1720
1687
  "name"
1721
1688
  ]);
1722
- const reactId = (0, import_react16.useId)();
1689
+ const reactId = useId3();
1723
1690
  const inputId = id != null ? id : reactId;
1724
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1691
+ return /* @__PURE__ */ jsx16(
1725
1692
  "div",
1726
1693
  {
1727
1694
  className: `${disabled ? "cursor-not-allowed" : "cursor-pointer"} ${className}`,
1728
- children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1695
+ children: /* @__PURE__ */ jsxs15(
1729
1696
  "label",
1730
1697
  {
1731
1698
  htmlFor: inputId,
1732
1699
  className: `flex gap-4 ${disabled ? "pointer-events-none text-gray-400" : "text-gray-900 cursor-pointer"}`,
1733
1700
  children: [
1734
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { children: [
1735
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1701
+ /* @__PURE__ */ jsxs15("div", { children: [
1702
+ /* @__PURE__ */ jsx16(
1736
1703
  "input",
1737
1704
  __spreadValues({
1738
1705
  ref,
@@ -1745,14 +1712,14 @@ var Radio = (0, import_react16.forwardRef)(
1745
1712
  name
1746
1713
  }, rest)
1747
1714
  ),
1748
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1715
+ /* @__PURE__ */ jsx16(
1749
1716
  "div",
1750
1717
  {
1751
1718
  className: `relative box flex items-center justify-center rounded-full border-2 group bg-white
1752
1719
  ${size === "sm" ? "h-16 w-16 my-4 ml-3 mr-3" : "m-3 h-20 w-20 text-label-large"}
1753
1720
  ${error ? "border-red-500" : "border-gray-600 peer-checked:border-blue-600 peer-disabled:border-gray-400!"}
1754
1721
  `,
1755
- children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1722
+ children: /* @__PURE__ */ jsx16(
1756
1723
  "span",
1757
1724
  {
1758
1725
  className: `absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2
@@ -1763,12 +1730,12 @@ var Radio = (0, import_react16.forwardRef)(
1763
1730
  }
1764
1731
  )
1765
1732
  ] }),
1766
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1733
+ /* @__PURE__ */ jsxs15(
1767
1734
  "div",
1768
1735
  {
1769
1736
  className: `flex flex-col gap-1 ${size === "sm" ? "mt-2" : "mt-4"}`,
1770
1737
  children: [
1771
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1738
+ /* @__PURE__ */ jsx16(
1772
1739
  "p",
1773
1740
  {
1774
1741
  className: `
@@ -1778,7 +1745,7 @@ var Radio = (0, import_react16.forwardRef)(
1778
1745
  children: label
1779
1746
  }
1780
1747
  ),
1781
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1748
+ /* @__PURE__ */ jsx16(
1782
1749
  "p",
1783
1750
  {
1784
1751
  className: `text-caption-caption ${disabled ? "text-gray-400" : error ? "text-red-600" : "text-gray-600"}`,
@@ -1798,18 +1765,20 @@ var Radio = (0, import_react16.forwardRef)(
1798
1765
  Radio.displayName = "Radio";
1799
1766
 
1800
1767
  // src/components/SegmentControl/SegmentControl.tsx
1801
- var import_react17 = require("react");
1802
- var import_jsx_runtime17 = require("react/jsx-runtime");
1803
- var SegmentControl = (0, import_react17.forwardRef)(
1768
+ import {
1769
+ forwardRef as forwardRef16
1770
+ } from "react";
1771
+ import { jsx as jsx17 } from "react/jsx-runtime";
1772
+ var SegmentControl = forwardRef16(
1804
1773
  (_a, ref) => {
1805
1774
  var _b = _a, { size = "md", items, selected, setSelected, className = "" } = _b, rest = __objRest(_b, ["size", "items", "selected", "setSelected", "className"]);
1806
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1775
+ return /* @__PURE__ */ jsx17(
1807
1776
  "div",
1808
1777
  __spreadProps(__spreadValues({
1809
1778
  ref,
1810
1779
  className: `bg-background-tertiary rounded-full flex flex-row items-center justify-center p-4 gap-4 ${className}`
1811
1780
  }, rest), {
1812
- children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1781
+ children: items.map((item) => /* @__PURE__ */ jsx17(
1813
1782
  "div",
1814
1783
  {
1815
1784
  onClick: () => setSelected == null ? void 0 : setSelected(item.value),
@@ -1826,8 +1795,13 @@ var SegmentControl = (0, import_react17.forwardRef)(
1826
1795
  SegmentControl.displayName = "SegmentControl";
1827
1796
 
1828
1797
  // src/components/Slider/Slider.tsx
1829
- var import_react18 = require("react");
1830
- var import_jsx_runtime18 = require("react/jsx-runtime");
1798
+ import {
1799
+ forwardRef as forwardRef17,
1800
+ useCallback as useCallback4,
1801
+ useId as useId4,
1802
+ useState as useState8
1803
+ } from "react";
1804
+ import { jsx as jsx18, jsxs as jsxs16 } from "react/jsx-runtime";
1831
1805
  var sizeConfig = {
1832
1806
  small: {
1833
1807
  trackH: "h-4",
@@ -1858,7 +1832,7 @@ var sizeConfig = {
1858
1832
  }
1859
1833
  };
1860
1834
  function ChevronGlyphs({ size, color }) {
1861
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1835
+ return /* @__PURE__ */ jsxs16(
1862
1836
  "svg",
1863
1837
  {
1864
1838
  width: size,
@@ -1868,7 +1842,7 @@ function ChevronGlyphs({ size, color }) {
1868
1842
  xmlns: "http://www.w3.org/2000/svg",
1869
1843
  "aria-hidden": "true",
1870
1844
  children: [
1871
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1845
+ /* @__PURE__ */ jsx18(
1872
1846
  "path",
1873
1847
  {
1874
1848
  d: "M4.75 3.25L2.25 6L4.75 8.75",
@@ -1878,7 +1852,7 @@ function ChevronGlyphs({ size, color }) {
1878
1852
  strokeLinejoin: "round"
1879
1853
  }
1880
1854
  ),
1881
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1855
+ /* @__PURE__ */ jsx18(
1882
1856
  "path",
1883
1857
  {
1884
1858
  d: "M7.25 3.25L9.75 6L7.25 8.75",
@@ -1892,7 +1866,7 @@ function ChevronGlyphs({ size, color }) {
1892
1866
  }
1893
1867
  );
1894
1868
  }
1895
- var Slider = (0, import_react18.forwardRef)(
1869
+ var Slider = forwardRef17(
1896
1870
  (_a, ref) => {
1897
1871
  var _b = _a, {
1898
1872
  size = "medium",
@@ -1927,15 +1901,15 @@ var Slider = (0, import_react18.forwardRef)(
1927
1901
  "onChange",
1928
1902
  "aria-label"
1929
1903
  ]);
1930
- const reactId = (0, import_react18.useId)();
1904
+ const reactId = useId4();
1931
1905
  const inputId = id != null ? id : reactId;
1932
1906
  const sz = sizeConfig[size];
1933
1907
  const ariaLabel = ariaLabelProp != null ? ariaLabelProp : typeof label === "string" ? void 0 : "Slider";
1934
1908
  const ariaDescriptionId = description ? `${inputId}-description` : void 0;
1935
1909
  const isControlled = controlledValue !== void 0;
1936
- const [internalValue, setInternalValue] = (0, import_react18.useState)(defaultValue != null ? defaultValue : min);
1910
+ const [internalValue, setInternalValue] = useState8(defaultValue != null ? defaultValue : min);
1937
1911
  const currentValue = isControlled ? controlledValue : internalValue;
1938
- const handleChange = (0, import_react18.useCallback)(
1912
+ const handleChange = useCallback4(
1939
1913
  (e) => {
1940
1914
  const val = Number(e.target.value);
1941
1915
  if (!isControlled) {
@@ -1955,13 +1929,13 @@ var Slider = (0, import_react18.forwardRef)(
1955
1929
  const descriptionColor = disabled ? "text-slider-label-disabled" : "text-slider-description";
1956
1930
  const thumbOffset = percent * sz.thumbPx / 100;
1957
1931
  const fillOffset = sz.thumbPx / 2 - thumbOffset;
1958
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1932
+ return /* @__PURE__ */ jsxs16(
1959
1933
  "div",
1960
1934
  {
1961
1935
  className: ["flex w-full flex-col gap-8 font-sans", className].filter(Boolean).join(" "),
1962
1936
  children: [
1963
- (label || showValue && !disabled) && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "flex items-center justify-between", children: [
1964
- label && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1937
+ (label || showValue && !disabled) && /* @__PURE__ */ jsxs16("div", { className: "flex items-center justify-between", children: [
1938
+ label && /* @__PURE__ */ jsx18(
1965
1939
  "label",
1966
1940
  {
1967
1941
  htmlFor: inputId,
@@ -1974,7 +1948,7 @@ var Slider = (0, import_react18.forwardRef)(
1974
1948
  children: label
1975
1949
  }
1976
1950
  ),
1977
- showValue && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1951
+ showValue && /* @__PURE__ */ jsx18(
1978
1952
  "span",
1979
1953
  {
1980
1954
  className: [sz.description, "tabular-nums", labelColor].join(" "),
@@ -1982,7 +1956,7 @@ var Slider = (0, import_react18.forwardRef)(
1982
1956
  }
1983
1957
  )
1984
1958
  ] }),
1985
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1959
+ /* @__PURE__ */ jsxs16(
1986
1960
  "div",
1987
1961
  {
1988
1962
  className: [
@@ -1991,7 +1965,7 @@ var Slider = (0, import_react18.forwardRef)(
1991
1965
  disabled ? "cursor-not-allowed" : "cursor-pointer"
1992
1966
  ].join(" "),
1993
1967
  children: [
1994
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1968
+ /* @__PURE__ */ jsx18(
1995
1969
  "div",
1996
1970
  {
1997
1971
  className: [
@@ -2001,14 +1975,14 @@ var Slider = (0, import_react18.forwardRef)(
2001
1975
  ].join(" ")
2002
1976
  }
2003
1977
  ),
2004
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1978
+ /* @__PURE__ */ jsx18(
2005
1979
  "div",
2006
1980
  {
2007
1981
  className: ["absolute left-0 rounded-full", sz.trackH, fillBg].join(" "),
2008
1982
  style: { width: `calc(${percent}% + ${fillOffset}px)` }
2009
1983
  }
2010
1984
  ),
2011
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1985
+ /* @__PURE__ */ jsx18(
2012
1986
  "input",
2013
1987
  __spreadValues({
2014
1988
  ref,
@@ -2029,7 +2003,7 @@ var Slider = (0, import_react18.forwardRef)(
2029
2003
  ].join(" ")
2030
2004
  }, rest)
2031
2005
  ),
2032
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2006
+ /* @__PURE__ */ jsx18(
2033
2007
  "div",
2034
2008
  {
2035
2009
  className: [
@@ -2042,13 +2016,13 @@ var Slider = (0, import_react18.forwardRef)(
2042
2016
  !disabled && "peer-hover:shadow-medium"
2043
2017
  ].filter(Boolean).join(" "),
2044
2018
  style: { left: `calc(${percent}% - ${thumbOffset}px)` },
2045
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(ChevronGlyphs, { size: sz.iconPx, color: iconColor })
2019
+ children: /* @__PURE__ */ jsx18(ChevronGlyphs, { size: sz.iconPx, color: iconColor })
2046
2020
  }
2047
2021
  )
2048
2022
  ]
2049
2023
  }
2050
2024
  ),
2051
- description && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2025
+ description && /* @__PURE__ */ jsx18(
2052
2026
  "span",
2053
2027
  {
2054
2028
  id: ariaDescriptionId,
@@ -2064,9 +2038,9 @@ var Slider = (0, import_react18.forwardRef)(
2064
2038
  Slider.displayName = "Slider";
2065
2039
 
2066
2040
  // src/components/Tab/Tab.tsx
2067
- var import_react19 = require("react");
2068
- var import_jsx_runtime19 = require("react/jsx-runtime");
2069
- var Tab = (0, import_react19.forwardRef)(
2041
+ import { forwardRef as forwardRef18 } from "react";
2042
+ import { jsx as jsx19 } from "react/jsx-runtime";
2043
+ var Tab = forwardRef18(
2070
2044
  (_a, ref) => {
2071
2045
  var _b = _a, {
2072
2046
  size = "md",
@@ -2085,7 +2059,7 @@ var Tab = (0, import_react19.forwardRef)(
2085
2059
  "setSelected",
2086
2060
  "className"
2087
2061
  ]);
2088
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
2062
+ return /* @__PURE__ */ jsx19(
2089
2063
  "div",
2090
2064
  __spreadProps(__spreadValues({
2091
2065
  ref,
@@ -2103,9 +2077,12 @@ var Tab = (0, import_react19.forwardRef)(
2103
2077
  Tab.displayName = "Tab";
2104
2078
 
2105
2079
  // src/components/TextArea/TextArea.tsx
2106
- var import_react20 = require("react");
2107
- var import_jsx_runtime20 = require("react/jsx-runtime");
2108
- var TextArea = (0, import_react20.forwardRef)(
2080
+ import {
2081
+ useState as useState9,
2082
+ forwardRef as forwardRef19
2083
+ } from "react";
2084
+ import { Fragment as Fragment3, jsx as jsx20, jsxs as jsxs17 } from "react/jsx-runtime";
2085
+ var TextArea = forwardRef19(
2109
2086
  (_a, ref) => {
2110
2087
  var _b = _a, {
2111
2088
  maxText = 500,
@@ -2138,25 +2115,25 @@ var TextArea = (0, import_react20.forwardRef)(
2138
2115
  "value",
2139
2116
  "onChange"
2140
2117
  ]);
2141
- const [isFocused, setIsFocused] = (0, import_react20.useState)(false);
2142
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "w-full flex flex-col gap-4", children: [
2143
- /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "w-full flex justify-between items-center ", children: [
2144
- label ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2118
+ const [isFocused, setIsFocused] = useState9(false);
2119
+ return /* @__PURE__ */ jsxs17("div", { className: "w-full flex flex-col gap-4", children: [
2120
+ /* @__PURE__ */ jsxs17("div", { className: "w-full flex justify-between items-center ", children: [
2121
+ label ? /* @__PURE__ */ jsx20(
2145
2122
  "p",
2146
2123
  {
2147
2124
  className: `text-label-medium text-left items-left ${isDisabled || disabled ? "text-gray-400" : "text-gray-900"}`,
2148
2125
  children: label
2149
2126
  }
2150
- ) : /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_jsx_runtime20.Fragment, {}),
2151
- maxText ? /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("p", { className: "text-gray-400 text-caption-caption", children: [
2127
+ ) : /* @__PURE__ */ jsx20(Fragment3, {}),
2128
+ maxText ? /* @__PURE__ */ jsxs17("p", { className: "text-gray-400 text-caption-caption", children: [
2152
2129
  " ",
2153
2130
  (value == null ? void 0 : value.length) || 0,
2154
2131
  " / ",
2155
2132
  maxText
2156
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_jsx_runtime20.Fragment, {})
2133
+ ] }) : /* @__PURE__ */ jsx20(Fragment3, {})
2157
2134
  ] }),
2158
- /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "relative w-full", children: [
2159
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2135
+ /* @__PURE__ */ jsxs17("div", { className: "relative w-full", children: [
2136
+ /* @__PURE__ */ jsx20(
2160
2137
  "textarea",
2161
2138
  __spreadValues({
2162
2139
  ref,
@@ -2170,13 +2147,13 @@ var TextArea = (0, import_react20.forwardRef)(
2170
2147
  className: `w-full min-h-${height} focus:min-h-${height - 2} pt-12 pb-8 pr-44 pl-16 focus:pt-11 focus:pb-7 focus:pr-43 focus:pl-15 border border-gray-300 text-base rounded-md focus:outline-none focus:ring-1 focus:m-1 focus:w-[calc(100%-2px)] ${isDisabled || disabled ? "bg-gray-50 text-gray-400" : error ? "bg-white text-gray-900 border-red-500 focus:border-red-500 focus:ring-red-500" : "bg-white text-gray-900 focus:border-blue-600 focus:ring-blue-600"}`
2171
2148
  }, props)
2172
2149
  ),
2173
- isLoading ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2150
+ isLoading ? /* @__PURE__ */ jsx20(
2174
2151
  Loading,
2175
2152
  {
2176
2153
  size: "sm",
2177
2154
  className: `absolute right-12 top-12`
2178
2155
  }
2179
- ) : isClearable && isFocused && value ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2156
+ ) : isClearable && isFocused && value ? /* @__PURE__ */ jsx20(
2180
2157
  "svg",
2181
2158
  {
2182
2159
  xmlns: "http://www.w3.org/2000/svg",
@@ -2189,7 +2166,7 @@ var TextArea = (0, import_react20.forwardRef)(
2189
2166
  e.preventDefault();
2190
2167
  onChange == null ? void 0 : onChange({ target: { value: "" } });
2191
2168
  },
2192
- children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2169
+ children: /* @__PURE__ */ jsx20(
2193
2170
  "path",
2194
2171
  {
2195
2172
  d: "M14.7119 6.0625L10.7744 10L14.7119 13.9375L13.9375 14.7119L10 10.7744L6.0625 14.7119L5.28809 13.9375L9.22559 10L5.28809 6.0625L6.0625 5.28809L10 9.22559L13.9375 5.28809L14.7119 6.0625Z",
@@ -2197,7 +2174,7 @@ var TextArea = (0, import_react20.forwardRef)(
2197
2174
  }
2198
2175
  )
2199
2176
  }
2200
- ) : isVertify ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2177
+ ) : isVertify ? /* @__PURE__ */ jsx20(
2201
2178
  "svg",
2202
2179
  {
2203
2180
  xmlns: "http://www.w3.org/2000/svg",
@@ -2206,7 +2183,7 @@ var TextArea = (0, import_react20.forwardRef)(
2206
2183
  viewBox: "0 0 20 20",
2207
2184
  fill: "none",
2208
2185
  className: "text-green-600 flex h-20 w-20 items-center justify-center absolute right-12 top-12",
2209
- children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2186
+ children: /* @__PURE__ */ jsx20(
2210
2187
  "path",
2211
2188
  {
2212
2189
  "fill-rule": "evenodd",
@@ -2216,7 +2193,7 @@ var TextArea = (0, import_react20.forwardRef)(
2216
2193
  }
2217
2194
  )
2218
2195
  }
2219
- ) : error ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2196
+ ) : error ? /* @__PURE__ */ jsx20(
2220
2197
  "svg",
2221
2198
  {
2222
2199
  xmlns: "http://www.w3.org/2000/svg",
@@ -2225,7 +2202,7 @@ var TextArea = (0, import_react20.forwardRef)(
2225
2202
  viewBox: "0 0 20 20",
2226
2203
  fill: "none",
2227
2204
  className: "text-red-500 flex h-20 w-20 items-center justify-center absolute right-12 top-12",
2228
- children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2205
+ children: /* @__PURE__ */ jsx20(
2229
2206
  "path",
2230
2207
  {
2231
2208
  d: "M10.0078 2.41699C11.0548 2.41699 12.0363 2.61407 12.9512 3.00879C13.8657 3.40341 14.6687 3.94646 15.3604 4.6377C16.0522 5.32922 16.5962 6.13426 16.9912 7.05176C17.386 7.96936 17.583 8.95002 17.583 9.99316C17.583 11.0363 17.3859 12.0187 16.9912 12.9404C16.5966 13.862 16.0536 14.6687 15.3623 15.3604C14.6708 16.0522 13.8657 16.5962 12.9482 16.9912C12.0306 17.386 11.05 17.583 10.0068 17.583C8.96373 17.583 7.9813 17.3859 7.05957 16.9912C6.13798 16.5966 5.33135 16.0536 4.63965 15.3623C3.94784 14.6708 3.40379 13.8642 3.00879 12.9434C2.61398 12.0228 2.41703 11.039 2.41699 9.99219C2.41699 8.94524 2.61407 7.96369 3.00879 7.04883C3.40341 6.13429 3.94646 5.33128 4.6377 4.63965C5.32922 3.94784 6.13581 3.40379 7.05664 3.00879C7.97723 2.61398 8.961 2.41703 10.0078 2.41699ZM10.0039 12.5967C9.83828 12.5968 9.69804 12.6527 9.58301 12.7646C9.46793 12.8769 9.41016 13.0159 9.41016 13.1816C9.4102 13.3472 9.46621 13.4875 9.57812 13.6025C9.69035 13.7177 9.83026 13.7754 9.99609 13.7754C10.1617 13.7753 10.302 13.7195 10.417 13.6074C10.5321 13.4952 10.5898 13.3562 10.5898 13.1904C10.5898 13.0246 10.534 12.8837 10.4219 12.7686C10.3097 12.6536 10.1697 12.5967 10.0039 12.5967ZM9.45801 11.0645H10.542V6.06445H9.45801V11.0645Z",
@@ -2233,18 +2210,21 @@ var TextArea = (0, import_react20.forwardRef)(
2233
2210
  }
2234
2211
  )
2235
2212
  }
2236
- ) : /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_jsx_runtime20.Fragment, {})
2213
+ ) : /* @__PURE__ */ jsx20(Fragment3, {})
2237
2214
  ] }),
2238
- error ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { className: "text-caption-caption text-left items-left text-red-600", children: error }) : description ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { className: "text-caption-caption text-left items-left text-gray-600", children: description }) : /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_jsx_runtime20.Fragment, {})
2215
+ error ? /* @__PURE__ */ jsx20("p", { className: "text-caption-caption text-left items-left text-red-600", children: error }) : description ? /* @__PURE__ */ jsx20("p", { className: "text-caption-caption text-left items-left text-gray-600", children: description }) : /* @__PURE__ */ jsx20(Fragment3, {})
2239
2216
  ] });
2240
2217
  }
2241
2218
  );
2242
2219
  TextArea.displayName = "TextArea";
2243
2220
 
2244
2221
  // src/components/TextField/TextField.tsx
2245
- var import_react21 = require("react");
2246
- var import_jsx_runtime21 = require("react/jsx-runtime");
2247
- var TextField = (0, import_react21.forwardRef)(
2222
+ import {
2223
+ useState as useState10,
2224
+ forwardRef as forwardRef20
2225
+ } from "react";
2226
+ import { Fragment as Fragment4, jsx as jsx21, jsxs as jsxs18 } from "react/jsx-runtime";
2227
+ var TextField = forwardRef20(
2248
2228
  (_a, ref) => {
2249
2229
  var _b = _a, {
2250
2230
  inputSize,
@@ -2277,21 +2257,21 @@ var TextField = (0, import_react21.forwardRef)(
2277
2257
  "value",
2278
2258
  "onChange"
2279
2259
  ]);
2280
- const [isFocused, setIsFocused] = (0, import_react21.useState)(false);
2281
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "w-full flex flex-col gap-4", children: [
2282
- label ? /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
2260
+ const [isFocused, setIsFocused] = useState10(false);
2261
+ return /* @__PURE__ */ jsxs18("div", { className: "w-full flex flex-col gap-4", children: [
2262
+ label ? /* @__PURE__ */ jsxs18(
2283
2263
  "p",
2284
2264
  {
2285
2265
  className: `text-label-medium text-left items-left ${isDisabled || disabled ? "text-gray-400" : "text-gray-900"}`,
2286
2266
  children: [
2287
2267
  label,
2288
2268
  " ",
2289
- isUnrequired && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "text-gray-400", children: `(\u0E44\u0E21\u0E48\u0E1A\u0E31\u0E07\u0E04\u0E31\u0E1A)` })
2269
+ isUnrequired && /* @__PURE__ */ jsx21("span", { className: "text-gray-400", children: `(\u0E44\u0E21\u0E48\u0E1A\u0E31\u0E07\u0E04\u0E31\u0E1A)` })
2290
2270
  ]
2291
2271
  }
2292
- ) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_jsx_runtime21.Fragment, {}),
2293
- /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "relative w-full", children: [
2294
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2272
+ ) : /* @__PURE__ */ jsx21(Fragment4, {}),
2273
+ /* @__PURE__ */ jsxs18("div", { className: "relative w-full", children: [
2274
+ /* @__PURE__ */ jsx21(
2295
2275
  "input",
2296
2276
  __spreadValues({
2297
2277
  ref,
@@ -2306,13 +2286,13 @@ var TextField = (0, import_react21.forwardRef)(
2306
2286
  className: `w-full ${inputSize === "md" ? "px-16 py-12 focus:px-15 focus:py-11" : "p-16 focus:p-15"} border border-gray-300 text-base rounded-md focus:outline-none focus:ring-1 focus:m-1 focus:w-[calc(100%-2px)] ${isDisabled || disabled ? "bg-gray-50 text-gray-400" : error ? "bg-white text-gray-900 border-red-500 focus:border-red-500 focus:ring-red-500" : "bg-white text-gray-900 focus:border-blue-600 focus:ring-blue-600"}`
2307
2287
  }, props)
2308
2288
  ),
2309
- isLoading ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2289
+ isLoading ? /* @__PURE__ */ jsx21(
2310
2290
  Loading,
2311
2291
  {
2312
2292
  size: "sm",
2313
2293
  className: `absolute right-16 top-1/2 -translate-y-1/2`
2314
2294
  }
2315
- ) : isClearable && isFocused && value ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2295
+ ) : isClearable && isFocused && value ? /* @__PURE__ */ jsx21(
2316
2296
  "svg",
2317
2297
  {
2318
2298
  xmlns: "http://www.w3.org/2000/svg",
@@ -2325,7 +2305,7 @@ var TextField = (0, import_react21.forwardRef)(
2325
2305
  e.preventDefault();
2326
2306
  onChange == null ? void 0 : onChange({ target: { value: "" } });
2327
2307
  },
2328
- children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2308
+ children: /* @__PURE__ */ jsx21(
2329
2309
  "path",
2330
2310
  {
2331
2311
  d: "M14.7119 6.0625L10.7744 10L14.7119 13.9375L13.9375 14.7119L10 10.7744L6.0625 14.7119L5.28809 13.9375L9.22559 10L5.28809 6.0625L6.0625 5.28809L10 9.22559L13.9375 5.28809L14.7119 6.0625Z",
@@ -2333,7 +2313,7 @@ var TextField = (0, import_react21.forwardRef)(
2333
2313
  }
2334
2314
  )
2335
2315
  }
2336
- ) : isVertify ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2316
+ ) : isVertify ? /* @__PURE__ */ jsx21(
2337
2317
  "svg",
2338
2318
  {
2339
2319
  xmlns: "http://www.w3.org/2000/svg",
@@ -2342,7 +2322,7 @@ var TextField = (0, import_react21.forwardRef)(
2342
2322
  viewBox: "0 0 20 20",
2343
2323
  fill: "none",
2344
2324
  className: "text-green-600 flex h-20 w-20 items-center justify-center absolute right-16 top-1/2 -translate-y-1/2",
2345
- children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2325
+ children: /* @__PURE__ */ jsx21(
2346
2326
  "path",
2347
2327
  {
2348
2328
  "fill-rule": "evenodd",
@@ -2352,7 +2332,7 @@ var TextField = (0, import_react21.forwardRef)(
2352
2332
  }
2353
2333
  )
2354
2334
  }
2355
- ) : error ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2335
+ ) : error ? /* @__PURE__ */ jsx21(
2356
2336
  "svg",
2357
2337
  {
2358
2338
  xmlns: "http://www.w3.org/2000/svg",
@@ -2361,7 +2341,7 @@ var TextField = (0, import_react21.forwardRef)(
2361
2341
  viewBox: "0 0 20 20",
2362
2342
  fill: "none",
2363
2343
  className: "text-red-500 flex h-20 w-20 items-center justify-center absolute right-16 top-1/2 -translate-y-1/2",
2364
- children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2344
+ children: /* @__PURE__ */ jsx21(
2365
2345
  "path",
2366
2346
  {
2367
2347
  d: "M10.0078 2.41699C11.0548 2.41699 12.0363 2.61407 12.9512 3.00879C13.8657 3.40341 14.6687 3.94646 15.3604 4.6377C16.0522 5.32922 16.5962 6.13426 16.9912 7.05176C17.386 7.96936 17.583 8.95002 17.583 9.99316C17.583 11.0363 17.3859 12.0187 16.9912 12.9404C16.5966 13.862 16.0536 14.6687 15.3623 15.3604C14.6708 16.0522 13.8657 16.5962 12.9482 16.9912C12.0306 17.386 11.05 17.583 10.0068 17.583C8.96373 17.583 7.9813 17.3859 7.05957 16.9912C6.13798 16.5966 5.33135 16.0536 4.63965 15.3623C3.94784 14.6708 3.40379 13.8642 3.00879 12.9434C2.61398 12.0228 2.41703 11.039 2.41699 9.99219C2.41699 8.94524 2.61407 7.96369 3.00879 7.04883C3.40341 6.13429 3.94646 5.33128 4.6377 4.63965C5.32922 3.94784 6.13581 3.40379 7.05664 3.00879C7.97723 2.61398 8.961 2.41703 10.0078 2.41699ZM10.0039 12.5967C9.83828 12.5968 9.69804 12.6527 9.58301 12.7646C9.46793 12.8769 9.41016 13.0159 9.41016 13.1816C9.4102 13.3472 9.46621 13.4875 9.57812 13.6025C9.69035 13.7177 9.83026 13.7754 9.99609 13.7754C10.1617 13.7753 10.302 13.7195 10.417 13.6074C10.5321 13.4952 10.5898 13.3562 10.5898 13.1904C10.5898 13.0246 10.534 12.8837 10.4219 12.7686C10.3097 12.6536 10.1697 12.5967 10.0039 12.5967ZM9.45801 11.0645H10.542V6.06445H9.45801V11.0645Z",
@@ -2369,37 +2349,37 @@ var TextField = (0, import_react21.forwardRef)(
2369
2349
  }
2370
2350
  )
2371
2351
  }
2372
- ) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_jsx_runtime21.Fragment, {})
2352
+ ) : /* @__PURE__ */ jsx21(Fragment4, {})
2373
2353
  ] }),
2374
- error ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "text-caption-caption text-left items-left text-red-600", children: error }) : description ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "text-caption-caption text-left items-left text-gray-600", children: description }) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_jsx_runtime21.Fragment, {})
2354
+ error ? /* @__PURE__ */ jsx21("p", { className: "text-caption-caption text-left items-left text-red-600", children: error }) : description ? /* @__PURE__ */ jsx21("p", { className: "text-caption-caption text-left items-left text-gray-600", children: description }) : /* @__PURE__ */ jsx21(Fragment4, {})
2375
2355
  ] });
2376
2356
  }
2377
2357
  );
2378
2358
  TextField.displayName = "TextField";
2379
2359
 
2380
2360
  // src/components/Toast/Toast.tsx
2381
- var import_react22 = require("react");
2382
- var import_jsx_runtime22 = require("react/jsx-runtime");
2361
+ import { forwardRef as forwardRef21 } from "react";
2362
+ import { jsx as jsx22, jsxs as jsxs19 } from "react/jsx-runtime";
2383
2363
  function CheckCircleIcon({ className }) {
2384
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: [
2385
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("circle", { cx: "10", cy: "10", r: "8", stroke: "currentColor", strokeWidth: "1.5" }),
2386
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("path", { d: "m7 10 2 2 4-4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
2364
+ return /* @__PURE__ */ jsxs19("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: [
2365
+ /* @__PURE__ */ jsx22("circle", { cx: "10", cy: "10", r: "8", stroke: "currentColor", strokeWidth: "1.5" }),
2366
+ /* @__PURE__ */ jsx22("path", { d: "m7 10 2 2 4-4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
2387
2367
  ] });
2388
2368
  }
2389
2369
  function ProgressIcon({ className }) {
2390
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: [
2391
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("circle", { cx: "10", cy: "10", r: "8", stroke: "currentColor", strokeWidth: "1.5", opacity: "0.3" }),
2392
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("path", { d: "M10 2a8 8 0 0 1 8 8", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("animateTransform", { attributeName: "transform", type: "rotate", from: "0 10 10", to: "360 10 10", dur: "1s", repeatCount: "indefinite" }) })
2370
+ return /* @__PURE__ */ jsxs19("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: [
2371
+ /* @__PURE__ */ jsx22("circle", { cx: "10", cy: "10", r: "8", stroke: "currentColor", strokeWidth: "1.5", opacity: "0.3" }),
2372
+ /* @__PURE__ */ jsx22("path", { d: "M10 2a8 8 0 0 1 8 8", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", children: /* @__PURE__ */ jsx22("animateTransform", { attributeName: "transform", type: "rotate", from: "0 10 10", to: "360 10 10", dur: "1s", repeatCount: "indefinite" }) })
2393
2373
  ] });
2394
2374
  }
2395
2375
  function ErrorIcon({ className }) {
2396
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: [
2397
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("circle", { cx: "10", cy: "10", r: "8", stroke: "currentColor", strokeWidth: "1.5" }),
2398
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("path", { d: "M10 6.5v4M10 13.5h.01", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
2376
+ return /* @__PURE__ */ jsxs19("svg", { className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: [
2377
+ /* @__PURE__ */ jsx22("circle", { cx: "10", cy: "10", r: "8", stroke: "currentColor", strokeWidth: "1.5" }),
2378
+ /* @__PURE__ */ jsx22("path", { d: "M10 6.5v4M10 13.5h.01", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
2399
2379
  ] });
2400
2380
  }
2401
2381
  function CloseIcon3({ className }) {
2402
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("svg", { className, width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("path", { d: "M12 4 4 12M4 4l8 8", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
2382
+ return /* @__PURE__ */ jsx22("svg", { className, width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx22("path", { d: "M12 4 4 12M4 4l8 8", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
2403
2383
  }
2404
2384
  var defaultIcons3 = {
2405
2385
  default: CheckCircleIcon,
@@ -2416,7 +2396,7 @@ var iconColorClasses = {
2416
2396
  progress: "text-toast-progress-icon",
2417
2397
  error: "text-toast-error-icon"
2418
2398
  };
2419
- var Toast = (0, import_react22.forwardRef)(
2399
+ var Toast = forwardRef21(
2420
2400
  (_a, ref) => {
2421
2401
  var _b = _a, {
2422
2402
  type = "default",
@@ -2444,10 +2424,10 @@ var Toast = (0, import_react22.forwardRef)(
2444
2424
  typeClasses[type],
2445
2425
  className
2446
2426
  ].filter(Boolean).join(" ");
2447
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", __spreadProps(__spreadValues({ ref, role: "alert", className: classes }, rest), { children: [
2448
- icon && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: `shrink-0 ${iconColorClasses[type]}`, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(DefaultIcon, { className: "h-20 w-20" }) }),
2449
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "flex-1 text-sm font-medium leading-20 truncate", children }),
2450
- actionLabel && onAction && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
2427
+ return /* @__PURE__ */ jsxs19("div", __spreadProps(__spreadValues({ ref, role: "alert", className: classes }, rest), { children: [
2428
+ icon && /* @__PURE__ */ jsx22("span", { className: `shrink-0 ${iconColorClasses[type]}`, children: /* @__PURE__ */ jsx22(DefaultIcon, { className: "h-20 w-20" }) }),
2429
+ /* @__PURE__ */ jsx22("span", { className: "flex-1 text-sm font-medium leading-20 truncate", children }),
2430
+ actionLabel && onAction && /* @__PURE__ */ jsx22(
2451
2431
  "button",
2452
2432
  {
2453
2433
  type: "button",
@@ -2456,14 +2436,14 @@ var Toast = (0, import_react22.forwardRef)(
2456
2436
  children: actionLabel
2457
2437
  }
2458
2438
  ),
2459
- onDismiss && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
2439
+ onDismiss && /* @__PURE__ */ jsx22(
2460
2440
  "button",
2461
2441
  {
2462
2442
  type: "button",
2463
2443
  onClick: onDismiss,
2464
2444
  className: "shrink-0 p-4 rounded-md text-toast-dismiss hover:text-toast-dismiss-hover transition-colors",
2465
2445
  "aria-label": "Dismiss",
2466
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(CloseIcon3, { className: "h-16 w-16" })
2446
+ children: /* @__PURE__ */ jsx22(CloseIcon3, { className: "h-16 w-16" })
2467
2447
  }
2468
2448
  )
2469
2449
  ] }));
@@ -2472,9 +2452,9 @@ var Toast = (0, import_react22.forwardRef)(
2472
2452
  Toast.displayName = "Toast";
2473
2453
 
2474
2454
  // src/components/ToggleSwitch/ToggleSwitch.tsx
2475
- var import_react23 = require("react");
2476
- var import_jsx_runtime23 = require("react/jsx-runtime");
2477
- var ToggleSwitch = (0, import_react23.forwardRef)(
2455
+ import { forwardRef as forwardRef22 } from "react";
2456
+ import { jsx as jsx23, jsxs as jsxs20 } from "react/jsx-runtime";
2457
+ var ToggleSwitch = forwardRef22(
2478
2458
  (_a, ref) => {
2479
2459
  var _b = _a, {
2480
2460
  value,
@@ -2489,14 +2469,14 @@ var ToggleSwitch = (0, import_react23.forwardRef)(
2489
2469
  "setIsSelected",
2490
2470
  "className"
2491
2471
  ]);
2492
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
2472
+ return /* @__PURE__ */ jsxs20(
2493
2473
  "label",
2494
2474
  __spreadProps(__spreadValues({
2495
2475
  ref,
2496
2476
  className: `inline-flex items-center ${className}`
2497
2477
  }, rest), {
2498
2478
  children: [
2499
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2479
+ /* @__PURE__ */ jsx23(
2500
2480
  "input",
2501
2481
  {
2502
2482
  type: "checkbox",
@@ -2506,7 +2486,7 @@ var ToggleSwitch = (0, import_react23.forwardRef)(
2506
2486
  onChange: () => !isDisabled && (setIsSelected == null ? void 0 : setIsSelected(!isSelected))
2507
2487
  }
2508
2488
  ),
2509
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2489
+ /* @__PURE__ */ jsx23(
2510
2490
  "div",
2511
2491
  {
2512
2492
  className: `${isDisabled ? "opacity-40 cursor-not-allowed" : "cursor-pointer hover:bg-gray-300 hover:peer-checked:bg-green-700"} relative w-48 h-26 bg-gray-200 rounded-full peer-checked:after:translate-x-22 rtl:peer-checked:after:-translate-x-22 peer-checked:after:border-white after:content-[''] after:absolute after:top-4 after:left-4 after:bg-white after:border-gray-300 after:border after:rounded-full after:h-18 after:w-18 after:transition-all peer-checked:bg-green-600 `
@@ -2520,9 +2500,14 @@ var ToggleSwitch = (0, import_react23.forwardRef)(
2520
2500
  ToggleSwitch.displayName = "ToggleSwitch";
2521
2501
 
2522
2502
  // src/components/Tooltip/Tooltip.tsx
2523
- var import_react24 = require("react");
2524
- var import_jsx_runtime24 = require("react/jsx-runtime");
2525
- var Tooltip = (0, import_react24.forwardRef)(
2503
+ import {
2504
+ useState as useState11,
2505
+ useEffect as useEffect6,
2506
+ useRef as useRef4,
2507
+ forwardRef as forwardRef23
2508
+ } from "react";
2509
+ import { Fragment as Fragment5, jsx as jsx24, jsxs as jsxs21 } from "react/jsx-runtime";
2510
+ var Tooltip = forwardRef23(
2526
2511
  (_a, ref) => {
2527
2512
  var _b = _a, {
2528
2513
  size = "md",
@@ -2539,10 +2524,10 @@ var Tooltip = (0, import_react24.forwardRef)(
2539
2524
  "position",
2540
2525
  "className"
2541
2526
  ]);
2542
- const wrapperRef = (0, import_react24.useRef)(null);
2543
- const [isVisible, setIsVisible] = (0, import_react24.useState)(false);
2544
- const [isHovered, setIsHovered] = (0, import_react24.useState)(false);
2545
- (0, import_react24.useEffect)(() => {
2527
+ const wrapperRef = useRef4(null);
2528
+ const [isVisible, setIsVisible] = useState11(false);
2529
+ const [isHovered, setIsHovered] = useState11(false);
2530
+ useEffect6(() => {
2546
2531
  const handleClickOutside = (event) => {
2547
2532
  if (wrapperRef.current && !wrapperRef.current.contains(event.target)) {
2548
2533
  setIsVisible(false);
@@ -2554,14 +2539,14 @@ var Tooltip = (0, import_react24.forwardRef)(
2554
2539
  document.removeEventListener("mousedown", handleClickOutside);
2555
2540
  };
2556
2541
  }, []);
2557
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
2542
+ return /* @__PURE__ */ jsxs21(
2558
2543
  "div",
2559
2544
  __spreadProps(__spreadValues({
2560
2545
  className: `group relative inline-block ${className}`,
2561
2546
  ref
2562
2547
  }, rest), {
2563
2548
  children: [
2564
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2549
+ /* @__PURE__ */ jsx24(
2565
2550
  "div",
2566
2551
  {
2567
2552
  ref: wrapperRef,
@@ -2578,25 +2563,25 @@ var Tooltip = (0, import_react24.forwardRef)(
2578
2563
  children
2579
2564
  }
2580
2565
  ),
2581
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
2566
+ /* @__PURE__ */ jsxs21(
2582
2567
  "div",
2583
2568
  {
2584
2569
  className: `min-w-100 max-w-300 whitespace-nowrap rounded bg-gray-900 text-white ${size === "lg" ? "text-body-regular py-12 px-16" : size === "md" ? "text-body-small px-12 pt-10 pb-8" : "text-body-small px-8 pt-6 pb-4"} ${position === "right" && `absolute left-full top-1/2 z-20 ml-8 -translate-y-1/2 ${isVisible || isHovered ? "opacity-100" : "opacity-0"}` || position === "top" && `absolute bottom-full left-1/2 z-20 mb-8 -translate-x-1/2 ${isVisible || isHovered ? "opacity-100" : "opacity-0"}` || position === "left" && `absolute right-full top-1/2 z-20 mr-8 -translate-y-1/2 ${isVisible || isHovered ? "opacity-100" : "opacity-0"}` || position === "bottom" && `absolute left-1/2 top-full z-20 mt-8 -translate-x-1/2 ${isVisible || isHovered ? "opacity-100" : "opacity-0"}`}`,
2585
2570
  children: [
2586
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2571
+ /* @__PURE__ */ jsx24(
2587
2572
  "span",
2588
2573
  {
2589
2574
  className: ` ${position === "right" && `absolute -left-3 top-1/2 -z-10 h-8 w-8 -translate-y-1/2 rotate-45 rounded-xs bg-black` || position === "top" && `absolute -bottom-3 left-1/2 -z-10 h-8 w-8 -translate-x-1/2 rotate-45 rounded-xs bg-black` || position === "left" && `absolute -right-3 top-1/2 -z-10 h-8 w-8 -translate-y-1/2 rotate-45 rounded-xs bg-black` || position === "bottom" && `absolute left-1/2 -top-3 -z-10 h-8 w-8 -translate-x-1/2 rotate-45 rounded-xs bg-black`} `
2590
2575
  }
2591
2576
  ),
2592
- headText ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2577
+ headText ? /* @__PURE__ */ jsx24(
2593
2578
  "p",
2594
2579
  {
2595
2580
  className: `text-sm text-white font-semibold text-center ${text ? "mb-5" : ""}`,
2596
2581
  children: headText
2597
2582
  }
2598
- ) : /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_jsx_runtime24.Fragment, {}),
2599
- text ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("p", { className: "text-xs text-white font-normal text-center text-wrap", children: text }) : /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_jsx_runtime24.Fragment, {})
2583
+ ) : /* @__PURE__ */ jsx24(Fragment5, {}),
2584
+ text ? /* @__PURE__ */ jsx24("p", { className: "text-xs text-white font-normal text-center text-wrap", children: text }) : /* @__PURE__ */ jsx24(Fragment5, {})
2600
2585
  ]
2601
2586
  }
2602
2587
  )
@@ -2606,8 +2591,7 @@ var Tooltip = (0, import_react24.forwardRef)(
2606
2591
  }
2607
2592
  );
2608
2593
  Tooltip.displayName = "Tooltip";
2609
- // Annotate the CommonJS export names for ESM import in node:
2610
- 0 && (module.exports = {
2594
+ export {
2611
2595
  Accordion,
2612
2596
  AlertBanner,
2613
2597
  Avatar,
@@ -2632,4 +2616,4 @@ Tooltip.displayName = "Tooltip";
2632
2616
  Toast,
2633
2617
  ToggleSwitch,
2634
2618
  Tooltip
2635
- });
2619
+ };