am-shared-assets 1.0.4 → 1.0.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/components.js
CHANGED
|
@@ -1,57 +1,55 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as l, jsx as t, Fragment as O } from "react/jsx-runtime";
|
|
2
2
|
import { I as F, b as S, a as W, W as q, T as V, C as Y } from "./ChevronBottomIcon-BM6pUrh1.js";
|
|
3
3
|
import { Slider as G, MenuItem as J } from "@mui/material";
|
|
4
4
|
import K from "@mui/material/Select";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var r, s, e = "";
|
|
9
|
-
if (typeof a == "string" || typeof a == "number") e += a;
|
|
5
|
+
function T(a) {
|
|
6
|
+
var e, s, r = "";
|
|
7
|
+
if (typeof a == "string" || typeof a == "number") r += a;
|
|
10
8
|
else if (typeof a == "object") if (Array.isArray(a)) {
|
|
11
9
|
var n = a.length;
|
|
12
|
-
for (
|
|
13
|
-
} else for (s in a) a[s] && (
|
|
14
|
-
return
|
|
10
|
+
for (e = 0; e < n; e++) a[e] && (s = T(a[e])) && (r && (r += " "), r += s);
|
|
11
|
+
} else for (s in a) a[s] && (r && (r += " "), r += s);
|
|
12
|
+
return r;
|
|
15
13
|
}
|
|
16
|
-
function
|
|
17
|
-
for (var a,
|
|
18
|
-
return
|
|
14
|
+
function b() {
|
|
15
|
+
for (var a, e, s = 0, r = "", n = arguments.length; s < n; s++) (a = arguments[s]) && (e = T(a)) && (r && (r += " "), r += e);
|
|
16
|
+
return r;
|
|
19
17
|
}
|
|
20
|
-
const
|
|
18
|
+
const Q = {
|
|
21
19
|
sm: "text-xs",
|
|
22
20
|
md: "text-sm"
|
|
23
|
-
},
|
|
21
|
+
}, U = {
|
|
24
22
|
default: "w-[342px] min-w-[342px]",
|
|
25
23
|
full: "w-full"
|
|
26
|
-
},
|
|
24
|
+
}, X = {
|
|
27
25
|
default: "bg-default-100",
|
|
28
26
|
primary: "bg-primary-50",
|
|
29
27
|
secondary: "bg-secondary-50",
|
|
30
28
|
success: "bg-success-50",
|
|
31
29
|
warning: "bg-warning-50",
|
|
32
30
|
danger: "bg-danger-50"
|
|
33
|
-
},
|
|
31
|
+
}, Z = {
|
|
34
32
|
default: "text-default-900",
|
|
35
33
|
primary: "text-base-primary",
|
|
36
34
|
secondary: "text-base-secondary",
|
|
37
35
|
success: "text-base-success",
|
|
38
36
|
warning: "text-default-900",
|
|
39
37
|
danger: "text-base-danger"
|
|
40
|
-
},
|
|
38
|
+
}, H = {
|
|
41
39
|
default: "text-default-600",
|
|
42
40
|
primary: "text-base-primary",
|
|
43
41
|
secondary: "text-base-secondary",
|
|
44
42
|
success: "text-base-success",
|
|
45
43
|
warning: "text-default-600",
|
|
46
44
|
danger: "text-base-danger"
|
|
47
|
-
},
|
|
45
|
+
}, ee = {
|
|
48
46
|
default: "bg-default-300",
|
|
49
47
|
primary: "bg-base-primary",
|
|
50
48
|
secondary: "bg-base-secondary",
|
|
51
49
|
success: "bg-base-success",
|
|
52
50
|
warning: "bg-base-warning",
|
|
53
51
|
danger: "bg-base-danger"
|
|
54
|
-
},
|
|
52
|
+
}, re = {
|
|
55
53
|
white: "text-white",
|
|
56
54
|
black: "text-default-900"
|
|
57
55
|
}, z = {
|
|
@@ -71,116 +69,116 @@ const U = {
|
|
|
71
69
|
success: "#17c964",
|
|
72
70
|
warning: "#f5a524",
|
|
73
71
|
danger: "#f31260"
|
|
74
|
-
},
|
|
72
|
+
}, $ = {
|
|
75
73
|
success: /* @__PURE__ */ t(V, { color: "#17C964", size: 24 }),
|
|
76
74
|
warning: /* @__PURE__ */ t(q, { color: "#F5A524", size: 24 }),
|
|
77
75
|
danger: /* @__PURE__ */ t(W, { color: "#F31260", size: 24 })
|
|
78
|
-
},
|
|
76
|
+
}, se = {
|
|
79
77
|
none: "rounded-none",
|
|
80
78
|
sm: "rounded-md",
|
|
81
79
|
md: "rounded-xl",
|
|
82
80
|
lg: "rounded-[22px]",
|
|
83
81
|
full: "rounded-full"
|
|
84
|
-
},
|
|
82
|
+
}, Re = ({
|
|
85
83
|
title: a,
|
|
86
|
-
description:
|
|
84
|
+
description: e,
|
|
87
85
|
color: s = "default",
|
|
88
|
-
size:
|
|
86
|
+
size: r = "md",
|
|
89
87
|
width: n = "default",
|
|
90
88
|
rounded: o = "none",
|
|
91
89
|
infoIconAlignment: d,
|
|
92
90
|
isInfoIcon: c = !0,
|
|
93
91
|
hasCloseButton: i = !0,
|
|
94
|
-
hasButton:
|
|
95
|
-
buttonTitle:
|
|
96
|
-
buttonTextColor:
|
|
97
|
-
buttonClickHandler:
|
|
98
|
-
closeAlertHandler:
|
|
99
|
-
children:
|
|
92
|
+
hasButton: u = !1,
|
|
93
|
+
buttonTitle: x,
|
|
94
|
+
buttonTextColor: h = "black",
|
|
95
|
+
buttonClickHandler: f,
|
|
96
|
+
closeAlertHandler: w,
|
|
97
|
+
children: y
|
|
100
98
|
}) => {
|
|
101
|
-
const
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
99
|
+
const p = b(
|
|
100
|
+
U[n],
|
|
101
|
+
Q[r],
|
|
102
|
+
se[o],
|
|
103
|
+
X[s]
|
|
106
104
|
);
|
|
107
|
-
return
|
|
105
|
+
return y ? /* @__PURE__ */ l(
|
|
108
106
|
"div",
|
|
109
107
|
{
|
|
110
|
-
className: `flex p-3 ${
|
|
108
|
+
className: `flex p-3 ${p} ${d && A[d]}`,
|
|
111
109
|
children: [
|
|
112
|
-
/* @__PURE__ */ t("div", { className: "mt-[1px]", children: c ||
|
|
113
|
-
|
|
110
|
+
/* @__PURE__ */ t("div", { className: "mt-[1px]", children: c || !$[s] ? /* @__PURE__ */ t(F, { color: M[s] }) : $[s] }),
|
|
111
|
+
y
|
|
114
112
|
]
|
|
115
113
|
}
|
|
116
|
-
) : /* @__PURE__ */
|
|
117
|
-
/* @__PURE__ */
|
|
114
|
+
) : /* @__PURE__ */ l("div", { className: `relative flex justify-between p-3 ${p}`, children: [
|
|
115
|
+
/* @__PURE__ */ l(
|
|
118
116
|
"div",
|
|
119
117
|
{
|
|
120
|
-
className: `flex ${d ? A[d] :
|
|
118
|
+
className: `flex ${d ? A[d] : u ? "items-center" : a && e ? "items-start" : "items-center"} gap-3`,
|
|
121
119
|
children: [
|
|
122
|
-
/* @__PURE__ */ t("div", { className: "mt-[1px]", children: c ||
|
|
123
|
-
/* @__PURE__ */
|
|
124
|
-
a && /* @__PURE__ */ t("h2", { className: `font-semibold ${
|
|
125
|
-
|
|
120
|
+
/* @__PURE__ */ t("div", { className: "mt-[1px]", children: c || !$[s] ? /* @__PURE__ */ t(F, { color: M[s] }) : $[s] }),
|
|
121
|
+
/* @__PURE__ */ l("div", { children: [
|
|
122
|
+
a && /* @__PURE__ */ t("h2", { className: `font-semibold ${Z[s]}`, children: a }),
|
|
123
|
+
e && /* @__PURE__ */ t("p", { className: H[s], children: e })
|
|
126
124
|
] })
|
|
127
125
|
]
|
|
128
126
|
}
|
|
129
127
|
),
|
|
130
|
-
|
|
128
|
+
u ? /* @__PURE__ */ l("div", { className: "flex items-center", children: [
|
|
131
129
|
/* @__PURE__ */ t(
|
|
132
130
|
"button",
|
|
133
131
|
{
|
|
134
|
-
onClick:
|
|
135
|
-
className: `h-8 px-3 rounded-md ${
|
|
136
|
-
children:
|
|
132
|
+
onClick: f,
|
|
133
|
+
className: `h-8 px-3 rounded-md ${ee[s]} ${re[h]}`,
|
|
134
|
+
children: x
|
|
137
135
|
}
|
|
138
136
|
),
|
|
139
137
|
i && /* @__PURE__ */ t(
|
|
140
138
|
"button",
|
|
141
139
|
{
|
|
142
|
-
onClick:
|
|
140
|
+
onClick: w,
|
|
143
141
|
className: "absolute -top-1 -left-1 border border-default-300 bg-default-100 rounded-full",
|
|
144
142
|
children: /* @__PURE__ */ t(S, { color: z.default, size: 14 })
|
|
145
143
|
}
|
|
146
144
|
)
|
|
147
|
-
] }) : i && /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t("button", { onClick:
|
|
145
|
+
] }) : i && /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t("button", { onClick: w, children: /* @__PURE__ */ t(S, { color: z[s] }) }) })
|
|
148
146
|
] });
|
|
149
|
-
},
|
|
147
|
+
}, ae = {
|
|
150
148
|
sm: "h-5 text-xs px-2",
|
|
151
149
|
md: "h-6 text-sm px-2.5",
|
|
152
150
|
lg: "h-7 text-sm px-3"
|
|
153
|
-
},
|
|
151
|
+
}, te = {
|
|
154
152
|
neutral: "bg-default-500",
|
|
155
153
|
default: "bg-default-200",
|
|
156
154
|
primary: "bg-layout-focus",
|
|
157
155
|
danger: "bg-base-danger",
|
|
158
156
|
success: "bg-base-success"
|
|
159
|
-
},
|
|
157
|
+
}, ne = {
|
|
160
158
|
white: "text-content-1",
|
|
161
159
|
black: "text-layout-fg"
|
|
162
|
-
},
|
|
160
|
+
}, oe = {
|
|
163
161
|
pill: "rounded-full",
|
|
164
162
|
Rectangle: "rounded-xxs"
|
|
165
|
-
},
|
|
163
|
+
}, Te = ({
|
|
166
164
|
label: a,
|
|
167
|
-
color:
|
|
165
|
+
color: e = "default",
|
|
168
166
|
type: s = "pill",
|
|
169
|
-
size:
|
|
167
|
+
size: r = "md",
|
|
170
168
|
textColor: n = "black"
|
|
171
169
|
}) => {
|
|
172
|
-
const o =
|
|
173
|
-
ne[r],
|
|
174
|
-
oe[n],
|
|
170
|
+
const o = b(
|
|
175
171
|
te[e],
|
|
176
|
-
|
|
172
|
+
ne[n],
|
|
173
|
+
ae[r],
|
|
174
|
+
oe[s]
|
|
177
175
|
);
|
|
178
176
|
return /* @__PURE__ */ t("div", { className: `flex justify-center items-center ${o}`, children: a });
|
|
179
|
-
},
|
|
177
|
+
}, de = {
|
|
180
178
|
sm: "h-8 text-xs px-3",
|
|
181
179
|
md: "h-10 text-sm px-4",
|
|
182
180
|
lg: "h-12 text-base px-6"
|
|
183
|
-
},
|
|
181
|
+
}, m = {
|
|
184
182
|
white: "text-white",
|
|
185
183
|
black: "text-default-900",
|
|
186
184
|
default: "text-default-900",
|
|
@@ -203,94 +201,94 @@ const U = {
|
|
|
203
201
|
success: "border-base-success",
|
|
204
202
|
warning: "border-base-warning",
|
|
205
203
|
danger: "border-base-danger"
|
|
206
|
-
},
|
|
204
|
+
}, E = {
|
|
207
205
|
default: "bg-default-100",
|
|
208
206
|
primary: "bg-primary-100",
|
|
209
207
|
secondary: "bg-secondary-100",
|
|
210
208
|
success: "bg-success-100",
|
|
211
209
|
warning: "bg-warning-100",
|
|
212
210
|
danger: "bg-danger-100"
|
|
213
|
-
},
|
|
211
|
+
}, ce = {
|
|
214
212
|
none: "rounded-none",
|
|
215
213
|
sm: "rounded-sm",
|
|
216
214
|
md: "rounded-md",
|
|
217
215
|
lg: "rounded-lg",
|
|
218
216
|
full: "rounded-full"
|
|
219
|
-
},
|
|
220
|
-
let
|
|
217
|
+
}, ie = (a, e, s) => {
|
|
218
|
+
let r = "";
|
|
221
219
|
switch (a) {
|
|
222
220
|
case "solid":
|
|
223
|
-
|
|
221
|
+
r = `${B[e]} ${m[s]}`;
|
|
224
222
|
break;
|
|
225
223
|
case "bordered":
|
|
226
|
-
|
|
224
|
+
r = `border-2 ${I[e]} ${m[e]}`;
|
|
227
225
|
break;
|
|
228
226
|
case "light":
|
|
229
|
-
|
|
227
|
+
r = m[e];
|
|
230
228
|
break;
|
|
231
229
|
case "flat":
|
|
232
|
-
|
|
230
|
+
r = `${E[e]} ${m[e]}`;
|
|
233
231
|
break;
|
|
234
232
|
case "faded":
|
|
235
|
-
|
|
233
|
+
r = `border-2 ${I.default} ${E.default} ${m[e]}`;
|
|
236
234
|
break;
|
|
237
235
|
case "shadow":
|
|
238
|
-
|
|
236
|
+
r = `shadow-lg ${B[e]} ${m[s]}`;
|
|
239
237
|
break;
|
|
240
238
|
}
|
|
241
|
-
return
|
|
242
|
-
},
|
|
239
|
+
return r;
|
|
240
|
+
}, Le = ({
|
|
243
241
|
type: a = "button",
|
|
244
|
-
variant:
|
|
242
|
+
variant: e = "solid",
|
|
245
243
|
color: s = "default",
|
|
246
|
-
textColor:
|
|
244
|
+
textColor: r = "black",
|
|
247
245
|
size: n = "md",
|
|
248
246
|
rounded: o = "none",
|
|
249
247
|
label: d,
|
|
250
248
|
icon: c,
|
|
251
249
|
iconPosition: i = "left",
|
|
252
|
-
width:
|
|
253
|
-
disabled:
|
|
254
|
-
onClick:
|
|
250
|
+
width: u = "auto",
|
|
251
|
+
disabled: x = !1,
|
|
252
|
+
onClick: h
|
|
255
253
|
}) => {
|
|
256
|
-
const
|
|
257
|
-
|
|
254
|
+
const f = b(
|
|
255
|
+
u === "full" ? "w-full" : "w-auto",
|
|
258
256
|
i === "right" ? "flex-row" : "flex-row-reverse",
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
257
|
+
ce[o],
|
|
258
|
+
de[n],
|
|
259
|
+
ie(e, s, r)
|
|
262
260
|
);
|
|
263
|
-
return /* @__PURE__ */
|
|
261
|
+
return /* @__PURE__ */ l(
|
|
264
262
|
"button",
|
|
265
263
|
{
|
|
266
264
|
type: a,
|
|
267
|
-
className: "flex items-center justify-center gap-2 font-semibold transition-all duration-300 " +
|
|
268
|
-
onClick:
|
|
269
|
-
disabled:
|
|
265
|
+
className: "flex items-center justify-center gap-2 font-semibold transition-all duration-300 " + f,
|
|
266
|
+
onClick: h,
|
|
267
|
+
disabled: x,
|
|
270
268
|
children: [
|
|
271
269
|
c,
|
|
272
270
|
d && /* @__PURE__ */ t("p", { children: d })
|
|
273
271
|
]
|
|
274
272
|
}
|
|
275
273
|
);
|
|
276
|
-
},
|
|
274
|
+
}, le = {
|
|
277
275
|
sm: "h-6 text-xs",
|
|
278
276
|
md: "h-7 text-sm",
|
|
279
277
|
lg: "h-8 text-base"
|
|
280
|
-
},
|
|
278
|
+
}, ue = {
|
|
281
279
|
none: "rounded-none",
|
|
282
280
|
sm: "rounded-sm",
|
|
283
281
|
md: "rounded-md",
|
|
284
282
|
lg: "rounded-lg",
|
|
285
283
|
full: "rounded-full"
|
|
286
|
-
},
|
|
284
|
+
}, j = {
|
|
287
285
|
default: "bg-default-200",
|
|
288
286
|
primary: "bg-base-primary",
|
|
289
287
|
secondary: "bg-base-secondary",
|
|
290
288
|
success: "bg-base-success",
|
|
291
289
|
warning: "bg-base-warning",
|
|
292
290
|
danger: "bg-base-danger"
|
|
293
|
-
},
|
|
291
|
+
}, g = {
|
|
294
292
|
white: "text-content-1",
|
|
295
293
|
black: "text-layout-fg",
|
|
296
294
|
default: "text-layout-fg",
|
|
@@ -299,85 +297,85 @@ const U = {
|
|
|
299
297
|
success: "text-base-success",
|
|
300
298
|
warning: "text-base-warning",
|
|
301
299
|
danger: "text-base-danger"
|
|
302
|
-
},
|
|
300
|
+
}, v = {
|
|
303
301
|
default: "border-default-200",
|
|
304
302
|
primary: "border-base-primary",
|
|
305
303
|
secondary: "border-base-secondary",
|
|
306
304
|
success: "border-base-success",
|
|
307
305
|
warning: "border-base-warning",
|
|
308
306
|
danger: "border-base-danger"
|
|
309
|
-
},
|
|
307
|
+
}, be = {
|
|
310
308
|
default: "bg-default-200",
|
|
311
309
|
primary: "bg-primary-100",
|
|
312
310
|
secondary: "bg-secondary-100",
|
|
313
311
|
success: "bg-success-100",
|
|
314
312
|
warning: "bg-warning-100",
|
|
315
313
|
danger: "bg-danger-100"
|
|
316
|
-
},
|
|
314
|
+
}, ge = {
|
|
317
315
|
default: "bg-default-400",
|
|
318
316
|
primary: "bg-base-primary",
|
|
319
317
|
secondary: "bg-base-secondary",
|
|
320
318
|
success: "bg-base-success",
|
|
321
319
|
warning: "bg-base-warning",
|
|
322
320
|
danger: "bg-base-danger"
|
|
323
|
-
},
|
|
324
|
-
let
|
|
321
|
+
}, fe = (a, e, s) => {
|
|
322
|
+
let r = "";
|
|
325
323
|
switch (a) {
|
|
326
324
|
case "solid":
|
|
327
|
-
|
|
325
|
+
r = `${j[e]} ${g[s]}`;
|
|
328
326
|
break;
|
|
329
327
|
case "bordered":
|
|
330
|
-
|
|
328
|
+
r = `border-2 ${v[e]} ${g[e]}`;
|
|
331
329
|
break;
|
|
332
330
|
case "light":
|
|
333
|
-
|
|
331
|
+
r = g[e];
|
|
334
332
|
break;
|
|
335
333
|
case "flat":
|
|
336
|
-
|
|
334
|
+
r = `${be[e]} ${g[e]}`;
|
|
337
335
|
break;
|
|
338
336
|
case "faded":
|
|
339
|
-
|
|
337
|
+
r = `border-2 ${v.default} bg-default-100 ${g[e]}`;
|
|
340
338
|
break;
|
|
341
339
|
case "shadow":
|
|
342
|
-
|
|
340
|
+
r = `shadow-lg ${j[e]} ${g[s]}`;
|
|
343
341
|
break;
|
|
344
342
|
case "dot":
|
|
345
|
-
|
|
343
|
+
r = `border-2 ${v.default} ${g.black}`;
|
|
346
344
|
break;
|
|
347
345
|
}
|
|
348
|
-
return
|
|
349
|
-
},
|
|
346
|
+
return r;
|
|
347
|
+
}, Pe = ({
|
|
350
348
|
variant: a = "solid",
|
|
351
|
-
color:
|
|
349
|
+
color: e = "default",
|
|
352
350
|
textColor: s = "black",
|
|
353
|
-
label:
|
|
351
|
+
label: r,
|
|
354
352
|
size: n = "md",
|
|
355
353
|
rounded: o = "none",
|
|
356
354
|
children: d
|
|
357
355
|
}) => {
|
|
358
|
-
const c =
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
356
|
+
const c = b(
|
|
357
|
+
ue[o],
|
|
358
|
+
le[n],
|
|
359
|
+
fe(a, e, s)
|
|
362
360
|
);
|
|
363
|
-
return /* @__PURE__ */ t("div", { className: `w-fit flex items-center justify-center gap-1 px-2 ${c}`, children: d || /* @__PURE__ */
|
|
364
|
-
/* @__PURE__ */ t("p", { children:
|
|
365
|
-
a === "dot" && /* @__PURE__ */ t("div", { className: `size-2 rounded-full ${
|
|
361
|
+
return /* @__PURE__ */ t("div", { className: `w-fit flex items-center justify-center gap-1 px-2 ${c}`, children: d || /* @__PURE__ */ l(O, { children: [
|
|
362
|
+
/* @__PURE__ */ t("p", { children: r }),
|
|
363
|
+
a === "dot" && /* @__PURE__ */ t("div", { className: `size-2 rounded-full ${ge[e]}` })
|
|
366
364
|
] }) });
|
|
367
|
-
},
|
|
365
|
+
}, pe = {
|
|
368
366
|
sm: "h-8 py-1",
|
|
369
367
|
lg: "h-10 py-2"
|
|
370
|
-
},
|
|
368
|
+
}, me = {
|
|
371
369
|
default: "text-default-600",
|
|
372
370
|
primary: "text-base-primary",
|
|
373
371
|
success: "text-base-success",
|
|
374
372
|
warning: "text-base-warning",
|
|
375
373
|
danger: "text-base-danger"
|
|
376
|
-
},
|
|
374
|
+
}, xe = {
|
|
377
375
|
primary: "text-base-primary hover:text-base-primary",
|
|
378
376
|
success: "text-base-success hover:text-base-success",
|
|
379
377
|
warning: "text-base-warning hover:text-base-warning"
|
|
380
|
-
},
|
|
378
|
+
}, he = {
|
|
381
379
|
default: "bg-default-100 hover:bg-default-200 focus-within:hover:bg-transparent",
|
|
382
380
|
primary: "bg-primary-100 hover:bg-primary-50 focus-within:hover:bg-transparent",
|
|
383
381
|
success: "bg-success-100 hover:bg-success-50 focus-within:hover:bg-transparent",
|
|
@@ -389,76 +387,76 @@ const U = {
|
|
|
389
387
|
success: "focus-within:bg-transparent focus-within:border focus-within:border-base-success focus-within:hover:border-base-success focus-within:hover:bg-transparent",
|
|
390
388
|
warning: "focus-within:bg-transparent focus-within:border focus-within:border-base-warning focus-within:hover:border-base-warning focus-within:hover:bg-transparent",
|
|
391
389
|
danger: "focus-within:bg-transparent focus-within:border focus-within:border-base-danger focus-within:hover:border-base-danger focus-within:hover:bg-transparent"
|
|
392
|
-
},
|
|
390
|
+
}, we = {
|
|
393
391
|
default: "hover:border-default-400",
|
|
394
392
|
primary: "hover:border-base-primary",
|
|
395
393
|
success: "hover:border-base-success",
|
|
396
394
|
warning: "hover:border-base-warning",
|
|
397
395
|
danger: "hover:border-base-danger"
|
|
398
|
-
},
|
|
396
|
+
}, ye = {
|
|
399
397
|
sm: "rounded-sm",
|
|
400
398
|
full: "rounded-full"
|
|
401
|
-
}, $e = (a,
|
|
402
|
-
let
|
|
399
|
+
}, $e = (a, e, s) => {
|
|
400
|
+
let r = "";
|
|
403
401
|
if (s)
|
|
404
|
-
return
|
|
402
|
+
return r = "bg-danger-100 hover:bg-danger-50 focus-within:hover:bg-transparent focus-within:bg-transparent focus-within:border focus-within:border-base-danger";
|
|
405
403
|
switch (a) {
|
|
406
404
|
case "flat":
|
|
407
|
-
|
|
405
|
+
r = `${he[e]} ${C[e]} ${xe[e]} focus-within:text-layout-fg`;
|
|
408
406
|
break;
|
|
409
407
|
case "bordered":
|
|
410
|
-
|
|
408
|
+
r = `bg-transparent border border-default-200 hover:border-default-400 ${C[e]}`;
|
|
411
409
|
break;
|
|
412
410
|
case "faded":
|
|
413
|
-
|
|
411
|
+
r = `border border-default-200 bg-default-100 hover:bg-default-200 ${we[e]} ${C[e]}`;
|
|
414
412
|
break;
|
|
415
413
|
}
|
|
416
|
-
return
|
|
417
|
-
},
|
|
414
|
+
return r;
|
|
415
|
+
}, Oe = ({
|
|
418
416
|
id: a,
|
|
419
|
-
label:
|
|
417
|
+
label: e,
|
|
420
418
|
required: s = !1,
|
|
421
|
-
register:
|
|
419
|
+
register: r,
|
|
422
420
|
name: n,
|
|
423
421
|
value: o,
|
|
424
422
|
onChange: d,
|
|
425
423
|
placeHolder: c,
|
|
426
424
|
variant: i = "flat",
|
|
427
|
-
color:
|
|
428
|
-
size:
|
|
429
|
-
rounded:
|
|
430
|
-
description:
|
|
431
|
-
icon:
|
|
432
|
-
endIcon:
|
|
433
|
-
errorMsg:
|
|
434
|
-
hasError:
|
|
425
|
+
color: u = "default",
|
|
426
|
+
size: x = "sm",
|
|
427
|
+
rounded: h = "sm",
|
|
428
|
+
description: f = "",
|
|
429
|
+
icon: w,
|
|
430
|
+
endIcon: y,
|
|
431
|
+
errorMsg: p = "",
|
|
432
|
+
hasError: _ = !1
|
|
435
433
|
}) => {
|
|
436
|
-
const
|
|
437
|
-
return /* @__PURE__ */
|
|
438
|
-
|
|
434
|
+
const L = b(ye[h], $e(i, u, _)), N = b(pe[x]);
|
|
435
|
+
return /* @__PURE__ */ l("label", { className: "flex flex-col w-full", children: [
|
|
436
|
+
e && /* @__PURE__ */ l(
|
|
439
437
|
"div",
|
|
440
438
|
{
|
|
441
|
-
className: `h-4 text-xs mb-2 ${
|
|
439
|
+
className: `h-4 text-xs mb-2 ${_ ? "text-base-danger" : me[u]}`,
|
|
442
440
|
children: [
|
|
443
|
-
|
|
441
|
+
e,
|
|
444
442
|
s && /* @__PURE__ */ t("span", { className: "text-base-danger text-sm", children: "*" })
|
|
445
443
|
]
|
|
446
444
|
}
|
|
447
445
|
),
|
|
448
|
-
/* @__PURE__ */
|
|
446
|
+
/* @__PURE__ */ l(
|
|
449
447
|
"div",
|
|
450
448
|
{
|
|
451
|
-
className: `${
|
|
449
|
+
className: `${L} flex items-center px-1.5 transition-all duration-200`,
|
|
452
450
|
children: [
|
|
453
|
-
|
|
454
|
-
|
|
451
|
+
w,
|
|
452
|
+
r ? /* @__PURE__ */ t(
|
|
455
453
|
"input",
|
|
456
454
|
{
|
|
457
455
|
id: `${a}`,
|
|
458
456
|
type: "text",
|
|
459
|
-
...
|
|
457
|
+
...r(n),
|
|
460
458
|
placeholder: c,
|
|
461
|
-
className: `${
|
|
459
|
+
className: `${N} bg-transparent w-full px-1.5 text-sm outline-none`
|
|
462
460
|
}
|
|
463
461
|
) : /* @__PURE__ */ t(
|
|
464
462
|
"input",
|
|
@@ -466,64 +464,64 @@ const U = {
|
|
|
466
464
|
id: `${a}`,
|
|
467
465
|
type: "text",
|
|
468
466
|
value: o,
|
|
469
|
-
onChange: (
|
|
467
|
+
onChange: (P) => d && d(P.target.value),
|
|
470
468
|
placeholder: c,
|
|
471
|
-
className: `${
|
|
469
|
+
className: `${N} bg-transparent w-full px-1.5 text-sm outline-none`
|
|
472
470
|
}
|
|
473
471
|
),
|
|
474
|
-
|
|
472
|
+
y
|
|
475
473
|
]
|
|
476
474
|
}
|
|
477
475
|
),
|
|
478
|
-
|
|
479
|
-
|
|
476
|
+
f && !p && /* @__PURE__ */ t("p", { className: "mt-1 text-xs text-default-400", children: f }),
|
|
477
|
+
p && /* @__PURE__ */ t("p", { className: "mt-1 mr-1 text-xs text-base-danger", children: p })
|
|
480
478
|
] });
|
|
481
|
-
},
|
|
479
|
+
}, ve = {
|
|
482
480
|
sm: "size-4 min-w-4 p-[3px]",
|
|
483
481
|
md: "size-5 min-w-5 p-1",
|
|
484
482
|
lg: "size-6 min-w-6 p-[5px]"
|
|
485
|
-
},
|
|
483
|
+
}, Ce = {
|
|
486
484
|
primary: "border-base-primary",
|
|
487
485
|
secondary: "border-base-secondary",
|
|
488
486
|
success: "border-base-success",
|
|
489
487
|
warning: "border-base-warning",
|
|
490
488
|
danger: "border-base-danger",
|
|
491
489
|
neutral: "border-default-500"
|
|
492
|
-
},
|
|
490
|
+
}, ke = {
|
|
493
491
|
primary: "bg-base-primary",
|
|
494
492
|
secondary: "bg-base-secondary",
|
|
495
493
|
success: "bg-base-success",
|
|
496
494
|
warning: "bg-base-warning",
|
|
497
495
|
danger: "bg-base-danger",
|
|
498
496
|
neutral: "bg-default-500"
|
|
499
|
-
},
|
|
497
|
+
}, We = ({
|
|
500
498
|
name: a,
|
|
501
|
-
value:
|
|
499
|
+
value: e,
|
|
502
500
|
checked: s,
|
|
503
|
-
disabled:
|
|
501
|
+
disabled: r = !1,
|
|
504
502
|
onChange: n,
|
|
505
503
|
size: o = "md",
|
|
506
504
|
color: d = "primary",
|
|
507
505
|
children: c
|
|
508
506
|
}) => {
|
|
509
|
-
const i =
|
|
510
|
-
|
|
511
|
-
s ?
|
|
507
|
+
const i = b(
|
|
508
|
+
ve[o],
|
|
509
|
+
s ? Ce[d] : "border-base-default hover:bg-default-100 transition-all duration-200"
|
|
512
510
|
);
|
|
513
|
-
return /* @__PURE__ */
|
|
511
|
+
return /* @__PURE__ */ l(
|
|
514
512
|
"label",
|
|
515
513
|
{
|
|
516
|
-
className: `flex items-center gap-2 ${
|
|
514
|
+
className: `flex items-center gap-2 ${r ? "opacity-50" : "cursor-pointer"}`,
|
|
517
515
|
children: [
|
|
518
516
|
/* @__PURE__ */ t(
|
|
519
517
|
"input",
|
|
520
518
|
{
|
|
521
519
|
name: a,
|
|
522
520
|
type: "radio",
|
|
523
|
-
value:
|
|
521
|
+
value: e,
|
|
524
522
|
checked: s,
|
|
525
|
-
onChange: (
|
|
526
|
-
disabled:
|
|
523
|
+
onChange: (u) => n && n(u.target.value),
|
|
524
|
+
disabled: r,
|
|
527
525
|
style: { display: "none" }
|
|
528
526
|
}
|
|
529
527
|
),
|
|
@@ -534,7 +532,7 @@ const U = {
|
|
|
534
532
|
children: s && /* @__PURE__ */ t(
|
|
535
533
|
"span",
|
|
536
534
|
{
|
|
537
|
-
className: `block w-full h-full rounded-full ${
|
|
535
|
+
className: `block w-full h-full rounded-full ${ke[d]}`
|
|
538
536
|
}
|
|
539
537
|
)
|
|
540
538
|
}
|
|
@@ -547,25 +545,25 @@ const U = {
|
|
|
547
545
|
sm: "min-h-6 text-xs",
|
|
548
546
|
md: "min-h-7 text-sm",
|
|
549
547
|
lg: "min-h-8 text-base"
|
|
550
|
-
},
|
|
548
|
+
}, D = {
|
|
551
549
|
default: "bg-content-1",
|
|
552
550
|
primary: "bg-layout-focus",
|
|
553
551
|
secondary: "bg-base-secondary",
|
|
554
552
|
success: "bg-base-success",
|
|
555
553
|
warning: "bg-base-warning",
|
|
556
554
|
danger: "bg-base-danger"
|
|
557
|
-
},
|
|
555
|
+
}, Ne = {
|
|
558
556
|
white: "text-content-1",
|
|
559
557
|
black: "text-default-900"
|
|
560
|
-
},
|
|
558
|
+
}, Fe = {
|
|
561
559
|
none: "rounded-none",
|
|
562
560
|
sm: "rounded-sm",
|
|
563
561
|
md: "rounded-md",
|
|
564
562
|
lg: "rounded-lg",
|
|
565
563
|
full: "rounded-full"
|
|
566
|
-
},
|
|
564
|
+
}, Se = (a, e) => {
|
|
567
565
|
let s = "";
|
|
568
|
-
const
|
|
566
|
+
const r = {
|
|
569
567
|
start: "left-4",
|
|
570
568
|
center: "left-1/2 -translate-x-1/2",
|
|
571
569
|
end: "right-4"
|
|
@@ -576,35 +574,35 @@ const U = {
|
|
|
576
574
|
};
|
|
577
575
|
switch (a) {
|
|
578
576
|
case "top":
|
|
579
|
-
s = "top-[-3px] " + e
|
|
577
|
+
s = "top-[-3px] " + r[e];
|
|
580
578
|
break;
|
|
581
579
|
case "right":
|
|
582
|
-
s = "right-[-3px] " + n[
|
|
580
|
+
s = "right-[-3px] " + n[e];
|
|
583
581
|
break;
|
|
584
582
|
case "bottom":
|
|
585
|
-
s = "bottom-[-3px] " + e
|
|
583
|
+
s = "bottom-[-3px] " + r[e];
|
|
586
584
|
break;
|
|
587
585
|
case "left":
|
|
588
|
-
s = "left-[-3px] " + n[
|
|
586
|
+
s = "left-[-3px] " + n[e];
|
|
589
587
|
break;
|
|
590
588
|
}
|
|
591
589
|
return s;
|
|
592
|
-
},
|
|
590
|
+
}, ze = ({
|
|
593
591
|
label: a,
|
|
594
|
-
color:
|
|
592
|
+
color: e = "default",
|
|
595
593
|
textColor: s = "black",
|
|
596
|
-
size:
|
|
594
|
+
size: r = "md",
|
|
597
595
|
rounded: n = "md",
|
|
598
596
|
direction: o = "bottom",
|
|
599
597
|
position: d = "center"
|
|
600
598
|
}) => {
|
|
601
|
-
const c =
|
|
602
|
-
_e[
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
599
|
+
const c = b(
|
|
600
|
+
_e[r],
|
|
601
|
+
D[e],
|
|
602
|
+
Ne[s],
|
|
603
|
+
Fe[n]
|
|
606
604
|
);
|
|
607
|
-
return /* @__PURE__ */
|
|
605
|
+
return /* @__PURE__ */ l("div", { className: "relative", children: [
|
|
608
606
|
/* @__PURE__ */ t(
|
|
609
607
|
"div",
|
|
610
608
|
{
|
|
@@ -615,7 +613,7 @@ const U = {
|
|
|
615
613
|
/* @__PURE__ */ t(
|
|
616
614
|
"div",
|
|
617
615
|
{
|
|
618
|
-
className: `absolute size-2.5 rotate-45 rounded-[2px] shadow-[0px_0px_1px_0px_#0000004D,0px_2px_10px_0px_#0000000F,0px_0px_5px_0px_#00000005] ${
|
|
616
|
+
className: `absolute size-2.5 rotate-45 rounded-[2px] shadow-[0px_0px_1px_0px_#0000004D,0px_2px_10px_0px_#0000000F,0px_0px_5px_0px_#00000005] ${Se(o, d)} ${D[e]}`
|
|
619
617
|
}
|
|
620
618
|
)
|
|
621
619
|
] });
|
|
@@ -633,11 +631,11 @@ const U = {
|
|
|
633
631
|
success: "#d1f4e0",
|
|
634
632
|
warning: "#fdedd3",
|
|
635
633
|
danger: "#fdd0df"
|
|
636
|
-
},
|
|
634
|
+
}, qe = ({
|
|
637
635
|
value: a,
|
|
638
|
-
setValue:
|
|
636
|
+
setValue: e,
|
|
639
637
|
min: s = 0,
|
|
640
|
-
max:
|
|
638
|
+
max: r = 100,
|
|
641
639
|
step: n = 1,
|
|
642
640
|
color: o = "primary",
|
|
643
641
|
tooltipColor: d = "primary",
|
|
@@ -647,15 +645,15 @@ const U = {
|
|
|
647
645
|
{
|
|
648
646
|
value: a,
|
|
649
647
|
min: s,
|
|
650
|
-
max:
|
|
648
|
+
max: r,
|
|
651
649
|
step: n,
|
|
652
|
-
onChange: (i,
|
|
653
|
-
|
|
650
|
+
onChange: (i, u) => {
|
|
651
|
+
e(u);
|
|
654
652
|
},
|
|
655
653
|
onChangeCommitted: (i) => {
|
|
656
654
|
},
|
|
657
655
|
valueLabelFormat: (i) => /* @__PURE__ */ t(
|
|
658
|
-
|
|
656
|
+
ze,
|
|
659
657
|
{
|
|
660
658
|
color: d,
|
|
661
659
|
textColor: c,
|
|
@@ -692,7 +690,7 @@ const U = {
|
|
|
692
690
|
}
|
|
693
691
|
}
|
|
694
692
|
}
|
|
695
|
-
),
|
|
693
|
+
), Ae = () => /* @__PURE__ */ t("div", { className: "custom-select-icon", children: /* @__PURE__ */ t(Y, {}) }), Ve = ({ options: a, value: e, onChange: s }) => /* @__PURE__ */ t(
|
|
696
694
|
K,
|
|
697
695
|
{
|
|
698
696
|
MenuProps: {
|
|
@@ -712,7 +710,7 @@ const U = {
|
|
|
712
710
|
}
|
|
713
711
|
}
|
|
714
712
|
},
|
|
715
|
-
IconComponent:
|
|
713
|
+
IconComponent: Ae,
|
|
716
714
|
sx: {
|
|
717
715
|
width: "100%",
|
|
718
716
|
height: 34,
|
|
@@ -738,9 +736,9 @@ const U = {
|
|
|
738
736
|
transform: "rotate(180deg)"
|
|
739
737
|
}
|
|
740
738
|
},
|
|
741
|
-
value:
|
|
742
|
-
onChange: (
|
|
743
|
-
children: a.map(({ title:
|
|
739
|
+
value: e,
|
|
740
|
+
onChange: (r) => s(r.target.value),
|
|
741
|
+
children: a.map(({ title: r, value: n }, o) => /* @__PURE__ */ t(
|
|
744
742
|
J,
|
|
745
743
|
{
|
|
746
744
|
sx: {
|
|
@@ -764,44 +762,44 @@ const U = {
|
|
|
764
762
|
}
|
|
765
763
|
},
|
|
766
764
|
value: n,
|
|
767
|
-
children:
|
|
765
|
+
children: r
|
|
768
766
|
},
|
|
769
767
|
o
|
|
770
768
|
))
|
|
771
769
|
}
|
|
772
|
-
),
|
|
770
|
+
), Me = {
|
|
773
771
|
sm: "min-w-10 min-h-6",
|
|
774
772
|
md: "min-w-12 min-h-7",
|
|
775
773
|
lg: "min-w-14 min-h-8"
|
|
776
|
-
},
|
|
774
|
+
}, Be = {
|
|
777
775
|
default: "bg-default-400",
|
|
778
776
|
primary: "bg-layout-focus",
|
|
779
777
|
secondary: "bg-base-secondary",
|
|
780
778
|
success: "bg-base-success",
|
|
781
779
|
warning: "bg-base-warning",
|
|
782
780
|
danger: "bg-base-danger"
|
|
783
|
-
},
|
|
781
|
+
}, Ye = ({
|
|
784
782
|
enabled: a,
|
|
785
|
-
onChange:
|
|
783
|
+
onChange: e,
|
|
786
784
|
label: s,
|
|
787
|
-
labelPosition:
|
|
785
|
+
labelPosition: r = "left",
|
|
788
786
|
size: n = "md",
|
|
789
787
|
color: o = "default",
|
|
790
788
|
disabled: d = !1
|
|
791
789
|
}) => {
|
|
792
|
-
const c =
|
|
793
|
-
|
|
790
|
+
const c = b(
|
|
791
|
+
r === "left" ? "flex-row" : "flex-row-reverse",
|
|
794
792
|
d && "opacity-50"
|
|
795
|
-
), i =
|
|
796
|
-
|
|
797
|
-
a ?
|
|
793
|
+
), i = b(
|
|
794
|
+
Me[n],
|
|
795
|
+
a ? Be[o] : "bg-default-700",
|
|
798
796
|
d && "cursor-auto"
|
|
799
797
|
);
|
|
800
|
-
return /* @__PURE__ */
|
|
798
|
+
return /* @__PURE__ */ l("div", { className: `flex items-center gap-2 ${c}`, children: [
|
|
801
799
|
/* @__PURE__ */ t(
|
|
802
800
|
"button",
|
|
803
801
|
{
|
|
804
|
-
onClick:
|
|
802
|
+
onClick: e,
|
|
805
803
|
className: `relative rounded-full transition-colors duration-300 p-1 ${i}`,
|
|
806
804
|
disabled: d,
|
|
807
805
|
children: /* @__PURE__ */ t(
|
|
@@ -818,104 +816,16 @@ const U = {
|
|
|
818
816
|
),
|
|
819
817
|
s && /* @__PURE__ */ t("p", { className: `text-default-600 ${n === "sm" && "text-sm"}`, children: s })
|
|
820
818
|
] });
|
|
821
|
-
}
|
|
822
|
-
sm: "h-8 py-1",
|
|
823
|
-
lg: "h-10 py-2"
|
|
824
|
-
}, De = {
|
|
825
|
-
flat: "bg-default-100 hover:bg-default-200 focus:bg-transparent focus:border-2 border-[#11181C]",
|
|
826
|
-
faded: "bg-default-100 hover:bg-default-200 focus:bg-transparent border-2 border-default-200 hover:border-default-400 focus:border-[#11181C]",
|
|
827
|
-
bordered: "bg-transparent border-2 border-default-200 hover:border-default-400 focus:border-[#11181C]"
|
|
828
|
-
}, Pe = ({
|
|
829
|
-
value: a,
|
|
830
|
-
onChange: r,
|
|
831
|
-
placeHolder: s,
|
|
832
|
-
inputIcon: e,
|
|
833
|
-
inputEndIcon: n,
|
|
834
|
-
inputProps: o,
|
|
835
|
-
inputRef: d,
|
|
836
|
-
size: c,
|
|
837
|
-
variant: i,
|
|
838
|
-
iconOnClick: l,
|
|
839
|
-
endIconOnClick: f
|
|
840
|
-
}) => /* @__PURE__ */ u("div", { ref: d, className: "relative", children: [
|
|
841
|
-
e && /* @__PURE__ */ t(
|
|
842
|
-
"button",
|
|
843
|
-
{
|
|
844
|
-
onClick: l,
|
|
845
|
-
className: "absolute top-1/2 -translate-y-1/2 right-2",
|
|
846
|
-
children: e
|
|
847
|
-
}
|
|
848
|
-
),
|
|
849
|
-
/* @__PURE__ */ t(
|
|
850
|
-
"input",
|
|
851
|
-
{
|
|
852
|
-
...o,
|
|
853
|
-
type: "text",
|
|
854
|
-
value: a,
|
|
855
|
-
onChange: (p) => r && r(p.target.value),
|
|
856
|
-
placeholder: s,
|
|
857
|
-
className: `${De[i]} ${je[c]} transition-all duration-300 w-full px-3 text-sm outline-none rounded-sm ${n && "pl-[30px]"} ${e && "pr-[30px]"}`
|
|
858
|
-
}
|
|
859
|
-
),
|
|
860
|
-
n && /* @__PURE__ */ t(
|
|
861
|
-
"button",
|
|
862
|
-
{
|
|
863
|
-
onClick: f,
|
|
864
|
-
className: "absolute top-1/2 -translate-y-1/2 left-2",
|
|
865
|
-
children: n
|
|
866
|
-
}
|
|
867
|
-
)
|
|
868
|
-
] }), Ze = ({
|
|
869
|
-
label: a,
|
|
870
|
-
placeHolder: r,
|
|
871
|
-
inputIcon: s,
|
|
872
|
-
inputEndIcon: e,
|
|
873
|
-
value: n,
|
|
874
|
-
onChange: o,
|
|
875
|
-
size: d = "sm",
|
|
876
|
-
variant: c = "flat",
|
|
877
|
-
options: i,
|
|
878
|
-
optionsUI: l,
|
|
879
|
-
iconOnClick: f,
|
|
880
|
-
endIconOnClick: p
|
|
881
|
-
}) => /* @__PURE__ */ t(
|
|
882
|
-
Q,
|
|
883
|
-
{
|
|
884
|
-
disablePortal: !0,
|
|
885
|
-
options: i,
|
|
886
|
-
sx: { width: "100%" },
|
|
887
|
-
renderOption: (b, x) => /* @__PURE__ */ t("li", { ...b, children: l.find(({ id: h }) => h === x.id)?.element }),
|
|
888
|
-
renderInput: (b) => /* @__PURE__ */ u("div", { children: [
|
|
889
|
-
a && /* @__PURE__ */ t("div", { className: "h-4 text-xs mb-2 text-default-600", children: a }),
|
|
890
|
-
/* @__PURE__ */ t(
|
|
891
|
-
Pe,
|
|
892
|
-
{
|
|
893
|
-
value: n,
|
|
894
|
-
onChange: o,
|
|
895
|
-
placeHolder: r,
|
|
896
|
-
inputIcon: s,
|
|
897
|
-
inputEndIcon: e,
|
|
898
|
-
inputProps: b.slotProps.htmlInput,
|
|
899
|
-
inputRef: b.slotProps.input.ref,
|
|
900
|
-
size: d,
|
|
901
|
-
variant: c,
|
|
902
|
-
iconOnClick: f,
|
|
903
|
-
endIconOnClick: p
|
|
904
|
-
}
|
|
905
|
-
)
|
|
906
|
-
] })
|
|
907
|
-
}
|
|
908
|
-
);
|
|
819
|
+
};
|
|
909
820
|
export {
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
Ae as Tooltip
|
|
821
|
+
Re as Alert,
|
|
822
|
+
Te as Badge,
|
|
823
|
+
Le as Button,
|
|
824
|
+
Pe as Chip,
|
|
825
|
+
Oe as Input,
|
|
826
|
+
We as Radio,
|
|
827
|
+
qe as RangeSlider,
|
|
828
|
+
Ve as Select,
|
|
829
|
+
Ye as Switch,
|
|
830
|
+
ze as Tooltip
|
|
921
831
|
};
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -59,4 +59,6 @@ import { default as FireIcon } from './components/FireIcon';
|
|
|
59
59
|
import { default as CartIcon } from './components/CartIcon';
|
|
60
60
|
import { default as BalloonIcon } from './components/BalloonIcon';
|
|
61
61
|
import { default as PetIcon } from './components/PetIcon';
|
|
62
|
-
|
|
62
|
+
import { default as MinusIcon } from './components/MinusIcon';
|
|
63
|
+
import { default as LocationIcon } from './components/LocationIcon';
|
|
64
|
+
export { CloseIcon, InfoIcon, WarningIcon, CloseCircleIcon, TickCircleIcon, ShoppingCartIcon, SearchIcon, ArrowRightIcon, ChevronLeftIcon, ChevronRightIcon, ChevronTopIcon, ShopIcon, StarIcon, HeartIcon, ShareIcon, TruckIcon, BoxIcon, CardTickIcon, CardsIcon, WalletCheckIcon, RotateBoxIcon, LikeIcon, DislikeIcon, RotateInfoIcon, ChevronBottomIcon, EditIcon, SettingIcon, UserIcon, BagIcon, CategoryIcon, HomeIcon, TrashIcon, MoreIcon, MessageIcon, AddIcon, BoxTimeIcon, MoneyIcon, ArrowDownIcon, SpinnerIcon, OutlineTickCircleIcon, FillShoppingCartIcon, UserSquareIcon, WalletIcon, BoxTickIcon, ReceiptIcon, LogoutIcon, MobileIcon, LaptopIcon, DigitalDevicesIcon, SofaIcon, FridgeIcon, CosmeticsIcon, TShirtIcon, GoldIcon, MotorcycleIcon, WheelIcon, HammerIcon, FireIcon, CartIcon, BalloonIcon, PetIcon, MinusIcon, LocationIcon };
|
package/dist/icons.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as
|
|
1
|
+
import { C as h1, a as c1, b as k1, I as u1, T as w1, W as p1 } from "./ChevronBottomIcon-BM6pUrh1.js";
|
|
2
2
|
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
3
3
|
const C = ({
|
|
4
4
|
color: t,
|
|
@@ -2286,6 +2286,57 @@ const C = ({
|
|
|
2286
2286
|
)
|
|
2287
2287
|
]
|
|
2288
2288
|
}
|
|
2289
|
+
), i1 = ({ color: t, size: o = 20 }) => /* @__PURE__ */ r(
|
|
2290
|
+
"svg",
|
|
2291
|
+
{
|
|
2292
|
+
width: o,
|
|
2293
|
+
height: o,
|
|
2294
|
+
viewBox: "0 0 16 16",
|
|
2295
|
+
fill: "none",
|
|
2296
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2297
|
+
style: { color: t },
|
|
2298
|
+
children: /* @__PURE__ */ r(
|
|
2299
|
+
"path",
|
|
2300
|
+
{
|
|
2301
|
+
d: "M4 8H12",
|
|
2302
|
+
stroke: "currentColor",
|
|
2303
|
+
"stroke-width": "1.5",
|
|
2304
|
+
"stroke-linecap": "round",
|
|
2305
|
+
"stroke-linejoin": "round"
|
|
2306
|
+
}
|
|
2307
|
+
)
|
|
2308
|
+
}
|
|
2309
|
+
), l1 = ({
|
|
2310
|
+
color: t,
|
|
2311
|
+
size: o = 20
|
|
2312
|
+
}) => /* @__PURE__ */ e(
|
|
2313
|
+
"svg",
|
|
2314
|
+
{
|
|
2315
|
+
width: o,
|
|
2316
|
+
height: o,
|
|
2317
|
+
viewBox: "0 0 20 20",
|
|
2318
|
+
fill: "none",
|
|
2319
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2320
|
+
style: { color: t },
|
|
2321
|
+
children: [
|
|
2322
|
+
/* @__PURE__ */ r(
|
|
2323
|
+
"path",
|
|
2324
|
+
{
|
|
2325
|
+
d: "M9.9999 11.1912C11.4358 11.1912 12.5999 10.0272 12.5999 8.59121C12.5999 7.15527 11.4358 5.99121 9.9999 5.99121C8.56396 5.99121 7.3999 7.15527 7.3999 8.59121C7.3999 10.0272 8.56396 11.1912 9.9999 11.1912Z",
|
|
2326
|
+
stroke: "currentColor",
|
|
2327
|
+
"stroke-width": "1.25"
|
|
2328
|
+
}
|
|
2329
|
+
),
|
|
2330
|
+
/* @__PURE__ */ r(
|
|
2331
|
+
"path",
|
|
2332
|
+
{
|
|
2333
|
+
d: "M3.01675 7.07533C4.65842 -0.141339 15.3501 -0.133006 16.9834 7.08366C17.9417 11.317 15.3084 14.9003 13.0001 17.117C11.3251 18.7337 8.67508 18.7337 6.99175 17.117C4.69175 14.9003 2.05842 11.3087 3.01675 7.07533Z",
|
|
2334
|
+
stroke: "currentColor",
|
|
2335
|
+
"stroke-width": "1.25"
|
|
2336
|
+
}
|
|
2337
|
+
)
|
|
2338
|
+
]
|
|
2339
|
+
}
|
|
2289
2340
|
);
|
|
2290
2341
|
export {
|
|
2291
2342
|
_ as AddIcon,
|
|
@@ -2300,12 +2351,12 @@ export {
|
|
|
2300
2351
|
M as CardsIcon,
|
|
2301
2352
|
e1 as CartIcon,
|
|
2302
2353
|
I as CategoryIcon,
|
|
2303
|
-
|
|
2354
|
+
h1 as ChevronBottomIcon,
|
|
2304
2355
|
s as ChevronLeftIcon,
|
|
2305
2356
|
d as ChevronRightIcon,
|
|
2306
2357
|
h as ChevronTopIcon,
|
|
2307
|
-
|
|
2308
|
-
|
|
2358
|
+
c1 as CloseCircleIcon,
|
|
2359
|
+
k1 as CloseIcon,
|
|
2309
2360
|
X as CosmeticsIcon,
|
|
2310
2361
|
K as DigitalDevicesIcon,
|
|
2311
2362
|
m as DislikeIcon,
|
|
@@ -2317,11 +2368,13 @@ export {
|
|
|
2317
2368
|
o1 as HammerIcon,
|
|
2318
2369
|
u as HeartIcon,
|
|
2319
2370
|
B as HomeIcon,
|
|
2320
|
-
|
|
2371
|
+
u1 as InfoIcon,
|
|
2321
2372
|
J as LaptopIcon,
|
|
2322
2373
|
H as LikeIcon,
|
|
2374
|
+
l1 as LocationIcon,
|
|
2323
2375
|
G as LogoutIcon,
|
|
2324
2376
|
T as MessageIcon,
|
|
2377
|
+
i1 as MinusIcon,
|
|
2325
2378
|
O as MobileIcon,
|
|
2326
2379
|
W as MoneyIcon,
|
|
2327
2380
|
S as MoreIcon,
|
|
@@ -2340,13 +2393,13 @@ export {
|
|
|
2340
2393
|
A as SpinnerIcon,
|
|
2341
2394
|
k as StarIcon,
|
|
2342
2395
|
Y as TShirtIcon,
|
|
2343
|
-
|
|
2396
|
+
w1 as TickCircleIcon,
|
|
2344
2397
|
y as TrashIcon,
|
|
2345
2398
|
p as TruckIcon,
|
|
2346
2399
|
x as UserIcon,
|
|
2347
2400
|
b as UserSquareIcon,
|
|
2348
2401
|
v as WalletCheckIcon,
|
|
2349
2402
|
U as WalletIcon,
|
|
2350
|
-
|
|
2403
|
+
p1 as WarningIcon,
|
|
2351
2404
|
r1 as WheelIcon
|
|
2352
2405
|
};
|