am-shared-assets 0.0.11 → 0.0.13
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/App.d.ts +2 -0
- package/dist/ChevronBottomIcon-Rbhqbn7b.js +397 -0
- package/dist/components/Alert.d.ts +20 -0
- package/dist/components/Autocomplete.d.ts +11 -0
- package/dist/components/Badge.d.ts +9 -0
- package/dist/components/Button.d.ts +16 -0
- package/dist/components/Checkbox.d.ts +2 -0
- package/dist/components/Chip.d.ts +12 -0
- package/dist/components/Input.d.ts +22 -0
- package/dist/components/Radio.d.ts +13 -0
- package/dist/components/RangeSlider.d.ts +13 -0
- package/dist/components/Select.d.ts +10 -0
- package/dist/components/Switch.d.ts +11 -0
- package/dist/components/Tooltip.d.ts +11 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/components.d.ts +2 -0
- package/dist/components.js +11260 -0
- package/dist/icons/components/AddIcon.d.ts +5 -0
- package/dist/icons/components/ArrowDownIcon.d.ts +5 -0
- package/dist/icons/components/ArrowRightIcon.d.ts +5 -0
- package/dist/icons/components/BagIcon.d.ts +5 -0
- package/dist/icons/components/BoxIcon.d.ts +5 -0
- package/dist/icons/components/BoxTickIcon.d.ts +5 -0
- package/dist/icons/components/BoxTimeIcon.d.ts +5 -0
- package/dist/icons/components/CardTickIcon.d.ts +5 -0
- package/dist/icons/components/CardsIcon.d.ts +5 -0
- package/dist/icons/components/CategoryIcon.d.ts +5 -0
- package/dist/icons/components/ChevronBottomIcon.d.ts +5 -0
- package/dist/icons/components/ChevronLeftIcon.d.ts +5 -0
- package/dist/icons/components/ChevronRightIcon.d.ts +5 -0
- package/dist/icons/components/ChevronTopIcon.d.ts +5 -0
- package/dist/icons/components/CloseCircleIcon.d.ts +5 -0
- package/dist/icons/components/CloseIcon.d.ts +5 -0
- package/dist/icons/components/DislikeIcon.d.ts +5 -0
- package/dist/icons/components/EditIcon.d.ts +5 -0
- package/dist/icons/components/FillShoppingCartIcon.d.ts +5 -0
- package/dist/icons/components/HeartIcon.d.ts +5 -0
- package/dist/icons/components/HomeIcon.d.ts +5 -0
- package/dist/icons/components/InfoIcon.d.ts +5 -0
- package/dist/icons/components/LikeIcon.d.ts +5 -0
- package/dist/icons/components/LogoutIcon.d.ts +5 -0
- package/dist/icons/components/MessageIcon.d.ts +5 -0
- package/dist/icons/components/MoneyIcon.d.ts +5 -0
- package/dist/icons/components/MoreIcon.d.ts +5 -0
- package/dist/icons/components/OutlineTickCircleIcon.d.ts +5 -0
- package/dist/icons/components/ReceiptIcon.d.ts +5 -0
- package/dist/icons/components/RotateBoxIcon.d.ts +5 -0
- package/dist/icons/components/RotateInfoIcon.d.ts +5 -0
- package/dist/icons/components/SearchIcon.d.ts +5 -0
- package/dist/icons/components/SettingIcon.d.ts +5 -0
- package/dist/icons/components/ShareIcon.d.ts +5 -0
- package/dist/icons/components/ShopIcon.d.ts +5 -0
- package/dist/icons/components/ShoppingCartIcon.d.ts +5 -0
- package/dist/icons/components/SpinnerIcon.d.ts +5 -0
- package/dist/icons/components/StarIcon.d.ts +5 -0
- package/dist/icons/components/TickCircleIcon.d.ts +5 -0
- package/dist/icons/components/TrashIcon.d.ts +5 -0
- package/dist/icons/components/TruckIcon.d.ts +5 -0
- package/dist/icons/components/UserIcon.d.ts +5 -0
- package/dist/icons/components/UserSquareIcon.d.ts +5 -0
- package/dist/icons/components/WalletCheckIcon.d.ts +5 -0
- package/dist/icons/components/WalletIcon.d.ts +5 -0
- package/dist/icons/components/WarningIcon.d.ts +5 -0
- package/dist/icons/index.d.ts +47 -0
- package/dist/icons.d.ts +2 -0
- package/dist/icons.js +1830 -0
- package/dist/index.d.ts +2 -0
- package/dist/main.d.ts +0 -0
- package/dist/vite.svg +1 -0
- package/package.json +5 -1
package/dist/App.d.ts
ADDED
|
@@ -0,0 +1,397 @@
|
|
|
1
|
+
import ee from "react";
|
|
2
|
+
var w = { exports: {} }, v = {};
|
|
3
|
+
var I;
|
|
4
|
+
function re() {
|
|
5
|
+
if (I) return v;
|
|
6
|
+
I = 1;
|
|
7
|
+
var o = /* @__PURE__ */ Symbol.for("react.transitional.element"), t = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
8
|
+
function f(C, u, c) {
|
|
9
|
+
var d = null;
|
|
10
|
+
if (c !== void 0 && (d = "" + c), u.key !== void 0 && (d = "" + u.key), "key" in u) {
|
|
11
|
+
c = {};
|
|
12
|
+
for (var m in u)
|
|
13
|
+
m !== "key" && (c[m] = u[m]);
|
|
14
|
+
} else c = u;
|
|
15
|
+
return u = c.ref, {
|
|
16
|
+
$$typeof: o,
|
|
17
|
+
type: C,
|
|
18
|
+
key: d,
|
|
19
|
+
ref: u !== void 0 ? u : null,
|
|
20
|
+
props: c
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
return v.Fragment = t, v.jsx = f, v.jsxs = f, v;
|
|
24
|
+
}
|
|
25
|
+
var _ = {};
|
|
26
|
+
var Y;
|
|
27
|
+
function te() {
|
|
28
|
+
return Y || (Y = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
29
|
+
function o(e) {
|
|
30
|
+
if (e == null) return null;
|
|
31
|
+
if (typeof e == "function")
|
|
32
|
+
return e.$$typeof === z ? null : e.displayName || e.name || null;
|
|
33
|
+
if (typeof e == "string") return e;
|
|
34
|
+
switch (e) {
|
|
35
|
+
case h:
|
|
36
|
+
return "Fragment";
|
|
37
|
+
case U:
|
|
38
|
+
return "Profiler";
|
|
39
|
+
case W:
|
|
40
|
+
return "StrictMode";
|
|
41
|
+
case q:
|
|
42
|
+
return "Suspense";
|
|
43
|
+
case G:
|
|
44
|
+
return "SuspenseList";
|
|
45
|
+
case H:
|
|
46
|
+
return "Activity";
|
|
47
|
+
}
|
|
48
|
+
if (typeof e == "object")
|
|
49
|
+
switch (typeof e.tag == "number" && console.error(
|
|
50
|
+
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
51
|
+
), e.$$typeof) {
|
|
52
|
+
case D:
|
|
53
|
+
return "Portal";
|
|
54
|
+
case B:
|
|
55
|
+
return e.displayName || "Context";
|
|
56
|
+
case V:
|
|
57
|
+
return (e._context.displayName || "Context") + ".Consumer";
|
|
58
|
+
case J:
|
|
59
|
+
var r = e.render;
|
|
60
|
+
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
61
|
+
case X:
|
|
62
|
+
return r = e.displayName || null, r !== null ? r : o(e.type) || "Memo";
|
|
63
|
+
case R:
|
|
64
|
+
r = e._payload, e = e._init;
|
|
65
|
+
try {
|
|
66
|
+
return o(e(r));
|
|
67
|
+
} catch {
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
return null;
|
|
71
|
+
}
|
|
72
|
+
function t(e) {
|
|
73
|
+
return "" + e;
|
|
74
|
+
}
|
|
75
|
+
function f(e) {
|
|
76
|
+
try {
|
|
77
|
+
t(e);
|
|
78
|
+
var r = !1;
|
|
79
|
+
} catch {
|
|
80
|
+
r = !0;
|
|
81
|
+
}
|
|
82
|
+
if (r) {
|
|
83
|
+
r = console;
|
|
84
|
+
var n = r.error, a = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
85
|
+
return n.call(
|
|
86
|
+
r,
|
|
87
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
88
|
+
a
|
|
89
|
+
), t(e);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
function C(e) {
|
|
93
|
+
if (e === h) return "<>";
|
|
94
|
+
if (typeof e == "object" && e !== null && e.$$typeof === R)
|
|
95
|
+
return "<...>";
|
|
96
|
+
try {
|
|
97
|
+
var r = o(e);
|
|
98
|
+
return r ? "<" + r + ">" : "<...>";
|
|
99
|
+
} catch {
|
|
100
|
+
return "<...>";
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
function u() {
|
|
104
|
+
var e = b.A;
|
|
105
|
+
return e === null ? null : e.getOwner();
|
|
106
|
+
}
|
|
107
|
+
function c() {
|
|
108
|
+
return Error("react-stack-top-frame");
|
|
109
|
+
}
|
|
110
|
+
function d(e) {
|
|
111
|
+
if (A.call(e, "key")) {
|
|
112
|
+
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
113
|
+
if (r && r.isReactWarning) return !1;
|
|
114
|
+
}
|
|
115
|
+
return e.key !== void 0;
|
|
116
|
+
}
|
|
117
|
+
function m(e, r) {
|
|
118
|
+
function n() {
|
|
119
|
+
S || (S = !0, console.error(
|
|
120
|
+
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
121
|
+
r
|
|
122
|
+
));
|
|
123
|
+
}
|
|
124
|
+
n.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
125
|
+
get: n,
|
|
126
|
+
configurable: !0
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
function F() {
|
|
130
|
+
var e = o(this.type);
|
|
131
|
+
return P[e] || (P[e] = !0, console.error(
|
|
132
|
+
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
133
|
+
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
134
|
+
}
|
|
135
|
+
function Z(e, r, n, a, p, T) {
|
|
136
|
+
var l = n.ref;
|
|
137
|
+
return e = {
|
|
138
|
+
$$typeof: O,
|
|
139
|
+
type: e,
|
|
140
|
+
key: r,
|
|
141
|
+
props: n,
|
|
142
|
+
_owner: a
|
|
143
|
+
}, (l !== void 0 ? l : null) !== null ? Object.defineProperty(e, "ref", {
|
|
144
|
+
enumerable: !1,
|
|
145
|
+
get: F
|
|
146
|
+
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
147
|
+
configurable: !1,
|
|
148
|
+
enumerable: !1,
|
|
149
|
+
writable: !0,
|
|
150
|
+
value: 0
|
|
151
|
+
}), Object.defineProperty(e, "_debugInfo", {
|
|
152
|
+
configurable: !1,
|
|
153
|
+
enumerable: !1,
|
|
154
|
+
writable: !0,
|
|
155
|
+
value: null
|
|
156
|
+
}), Object.defineProperty(e, "_debugStack", {
|
|
157
|
+
configurable: !1,
|
|
158
|
+
enumerable: !1,
|
|
159
|
+
writable: !0,
|
|
160
|
+
value: p
|
|
161
|
+
}), Object.defineProperty(e, "_debugTask", {
|
|
162
|
+
configurable: !1,
|
|
163
|
+
enumerable: !1,
|
|
164
|
+
writable: !0,
|
|
165
|
+
value: T
|
|
166
|
+
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
167
|
+
}
|
|
168
|
+
function k(e, r, n, a, p, T) {
|
|
169
|
+
var l = r.children;
|
|
170
|
+
if (l !== void 0)
|
|
171
|
+
if (a)
|
|
172
|
+
if (Q(l)) {
|
|
173
|
+
for (a = 0; a < l.length; a++)
|
|
174
|
+
j(l[a]);
|
|
175
|
+
Object.freeze && Object.freeze(l);
|
|
176
|
+
} else
|
|
177
|
+
console.error(
|
|
178
|
+
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
179
|
+
);
|
|
180
|
+
else j(l);
|
|
181
|
+
if (A.call(r, "key")) {
|
|
182
|
+
l = o(e);
|
|
183
|
+
var i = Object.keys(r).filter(function(K) {
|
|
184
|
+
return K !== "key";
|
|
185
|
+
});
|
|
186
|
+
a = 0 < i.length ? "{key: someKey, " + i.join(": ..., ") + ": ...}" : "{key: someKey}", M[l + a] || (i = 0 < i.length ? "{" + i.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
187
|
+
`A props object containing a "key" prop is being spread into JSX:
|
|
188
|
+
let props = %s;
|
|
189
|
+
<%s {...props} />
|
|
190
|
+
React keys must be passed directly to JSX without using spread:
|
|
191
|
+
let props = %s;
|
|
192
|
+
<%s key={someKey} {...props} />`,
|
|
193
|
+
a,
|
|
194
|
+
l,
|
|
195
|
+
i,
|
|
196
|
+
l
|
|
197
|
+
), M[l + a] = !0);
|
|
198
|
+
}
|
|
199
|
+
if (l = null, n !== void 0 && (f(n), l = "" + n), d(r) && (f(r.key), l = "" + r.key), "key" in r) {
|
|
200
|
+
n = {};
|
|
201
|
+
for (var g in r)
|
|
202
|
+
g !== "key" && (n[g] = r[g]);
|
|
203
|
+
} else n = r;
|
|
204
|
+
return l && m(
|
|
205
|
+
n,
|
|
206
|
+
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
207
|
+
), Z(
|
|
208
|
+
e,
|
|
209
|
+
l,
|
|
210
|
+
n,
|
|
211
|
+
u(),
|
|
212
|
+
p,
|
|
213
|
+
T
|
|
214
|
+
);
|
|
215
|
+
}
|
|
216
|
+
function j(e) {
|
|
217
|
+
y(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === R && (e._payload.status === "fulfilled" ? y(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
|
|
218
|
+
}
|
|
219
|
+
function y(e) {
|
|
220
|
+
return typeof e == "object" && e !== null && e.$$typeof === O;
|
|
221
|
+
}
|
|
222
|
+
var E = ee, O = /* @__PURE__ */ Symbol.for("react.transitional.element"), D = /* @__PURE__ */ Symbol.for("react.portal"), h = /* @__PURE__ */ Symbol.for("react.fragment"), W = /* @__PURE__ */ Symbol.for("react.strict_mode"), U = /* @__PURE__ */ Symbol.for("react.profiler"), V = /* @__PURE__ */ Symbol.for("react.consumer"), B = /* @__PURE__ */ Symbol.for("react.context"), J = /* @__PURE__ */ Symbol.for("react.forward_ref"), q = /* @__PURE__ */ Symbol.for("react.suspense"), G = /* @__PURE__ */ Symbol.for("react.suspense_list"), X = /* @__PURE__ */ Symbol.for("react.memo"), R = /* @__PURE__ */ Symbol.for("react.lazy"), H = /* @__PURE__ */ Symbol.for("react.activity"), z = /* @__PURE__ */ Symbol.for("react.client.reference"), b = E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, A = Object.prototype.hasOwnProperty, Q = Array.isArray, x = console.createTask ? console.createTask : function() {
|
|
223
|
+
return null;
|
|
224
|
+
};
|
|
225
|
+
E = {
|
|
226
|
+
react_stack_bottom_frame: function(e) {
|
|
227
|
+
return e();
|
|
228
|
+
}
|
|
229
|
+
};
|
|
230
|
+
var S, P = {}, L = E.react_stack_bottom_frame.bind(
|
|
231
|
+
E,
|
|
232
|
+
c
|
|
233
|
+
)(), N = x(C(c)), M = {};
|
|
234
|
+
_.Fragment = h, _.jsx = function(e, r, n) {
|
|
235
|
+
var a = 1e4 > b.recentlyCreatedOwnerStacks++;
|
|
236
|
+
return k(
|
|
237
|
+
e,
|
|
238
|
+
r,
|
|
239
|
+
n,
|
|
240
|
+
!1,
|
|
241
|
+
a ? Error("react-stack-top-frame") : L,
|
|
242
|
+
a ? x(C(e)) : N
|
|
243
|
+
);
|
|
244
|
+
}, _.jsxs = function(e, r, n) {
|
|
245
|
+
var a = 1e4 > b.recentlyCreatedOwnerStacks++;
|
|
246
|
+
return k(
|
|
247
|
+
e,
|
|
248
|
+
r,
|
|
249
|
+
n,
|
|
250
|
+
!0,
|
|
251
|
+
a ? Error("react-stack-top-frame") : L,
|
|
252
|
+
a ? x(C(e)) : N
|
|
253
|
+
);
|
|
254
|
+
};
|
|
255
|
+
})()), _;
|
|
256
|
+
}
|
|
257
|
+
var $;
|
|
258
|
+
function ne() {
|
|
259
|
+
return $ || ($ = 1, process.env.NODE_ENV === "production" ? w.exports = re() : w.exports = te()), w.exports;
|
|
260
|
+
}
|
|
261
|
+
var s = ne();
|
|
262
|
+
const ae = ({
|
|
263
|
+
color: o,
|
|
264
|
+
size: t = 24
|
|
265
|
+
}) => /* @__PURE__ */ s.jsxs(
|
|
266
|
+
"svg",
|
|
267
|
+
{
|
|
268
|
+
width: t,
|
|
269
|
+
height: t,
|
|
270
|
+
viewBox: "0 0 24 24",
|
|
271
|
+
fill: "none",
|
|
272
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
273
|
+
style: { color: o },
|
|
274
|
+
children: [
|
|
275
|
+
/* @__PURE__ */ s.jsx(
|
|
276
|
+
"path",
|
|
277
|
+
{
|
|
278
|
+
d: "M7.25367 18C6.93501 18 6.61635 17.8826 6.36478 17.6312C5.87841 17.145 5.87841 16.3402 6.36478 15.854L15.8574 6.36465C16.3438 5.87845 17.1488 5.87845 17.6352 6.36465C18.1216 6.85086 18.1216 7.65561 17.6352 8.14181L8.14256 17.6312C7.90776 17.8826 7.57233 18 7.25367 18Z",
|
|
279
|
+
fill: "currentColor"
|
|
280
|
+
}
|
|
281
|
+
),
|
|
282
|
+
/* @__PURE__ */ s.jsx(
|
|
283
|
+
"path",
|
|
284
|
+
{
|
|
285
|
+
d: "M16.7463 18C16.4277 18 16.109 17.8826 15.8574 17.6312L6.36478 8.14181C5.87841 7.65561 5.87841 6.85086 6.36478 6.36465C6.85115 5.87845 7.65618 5.87845 8.14256 6.36465L17.6352 15.854C18.1216 16.3402 18.1216 17.145 17.6352 17.6312C17.3836 17.8826 17.065 18 16.7463 18Z",
|
|
286
|
+
fill: "currentColor"
|
|
287
|
+
}
|
|
288
|
+
)
|
|
289
|
+
]
|
|
290
|
+
}
|
|
291
|
+
), le = ({
|
|
292
|
+
color: o,
|
|
293
|
+
size: t = 20
|
|
294
|
+
}) => /* @__PURE__ */ s.jsx(
|
|
295
|
+
"svg",
|
|
296
|
+
{
|
|
297
|
+
width: t,
|
|
298
|
+
height: t,
|
|
299
|
+
viewBox: "0 0 20 20",
|
|
300
|
+
fill: "none",
|
|
301
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
302
|
+
style: { color: o },
|
|
303
|
+
children: /* @__PURE__ */ s.jsx(
|
|
304
|
+
"path",
|
|
305
|
+
{
|
|
306
|
+
d: "M10 20C15.51 20 20 15.51 20 10C20 4.49 15.51 -3.92528e-07 10 -8.74228e-07C4.49 -1.35593e-06 1.35593e-06 4.49 8.74228e-07 10C3.92528e-07 15.51 4.49 20 10 20ZM10.75 14C10.75 14.41 10.41 14.75 10 14.75C9.59 14.75 9.25 14.41 9.25 14L9.25 9C9.25 8.59 9.59 8.25 10 8.25C10.41 8.25 10.75 8.59 10.75 9L10.75 14ZM9.08 5.62C9.13 5.49 9.2 5.39 9.29 5.29C9.39 5.2 9.5 5.13 9.62 5.08C9.74 5.03 9.87 5 10 5C10.13 5 10.26 5.03 10.38 5.08C10.5 5.13 10.61 5.2 10.71 5.29C10.8 5.39 10.87 5.49 10.92 5.62C10.97 5.74 11 5.87 11 6C11 6.13 10.97 6.26 10.92 6.38C10.87 6.5 10.8 6.61 10.71 6.71C10.61 6.8 10.5 6.87 10.38 6.92C10.14 7.02 9.86 7.02 9.62 6.92C9.5 6.87 9.39 6.8 9.29 6.71C9.2 6.61 9.13 6.5 9.08 6.38C9.03 6.26 9 6.13 9 6C9 5.87 9.03 5.74 9.08 5.62Z",
|
|
307
|
+
fill: "currentColor"
|
|
308
|
+
}
|
|
309
|
+
)
|
|
310
|
+
}
|
|
311
|
+
), se = ({ color: o, size: t = 24 }) => /* @__PURE__ */ s.jsx(
|
|
312
|
+
"svg",
|
|
313
|
+
{
|
|
314
|
+
width: t,
|
|
315
|
+
height: t,
|
|
316
|
+
viewBox: "0 0 21 20",
|
|
317
|
+
fill: "none",
|
|
318
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
319
|
+
style: { color: o },
|
|
320
|
+
children: /* @__PURE__ */ s.jsx(
|
|
321
|
+
"path",
|
|
322
|
+
{
|
|
323
|
+
d: "M20.1999 13.92L13.7999 2.4C12.9399 0.85 11.7499 0 10.4399 0C9.12992 0 7.93992 0.85 7.07992 2.4L0.679919 13.92C-0.130081 15.39 -0.220081 16.8 0.429919 17.91C1.07992 19.02 2.35992 19.63 4.03992 19.63H16.8399C18.5199 19.63 19.7999 19.02 20.4499 17.91C21.0999 16.8 21.0099 15.38 20.1999 13.92ZM9.68992 7C9.68992 6.59 10.0299 6.25 10.4399 6.25C10.8499 6.25 11.1899 6.59 11.1899 7V12C11.1899 12.41 10.8499 12.75 10.4399 12.75C10.0299 12.75 9.68992 12.41 9.68992 12V7ZM11.1499 15.71C11.0999 15.75 11.0499 15.79 10.9999 15.83C10.9399 15.87 10.8799 15.9 10.8199 15.92C10.7599 15.95 10.6999 15.97 10.6299 15.98C10.5699 15.99 10.4999 16 10.4399 16C10.3799 16 10.3099 15.99 10.2399 15.98C10.1799 15.97 10.1199 15.95 10.0599 15.92C9.99992 15.9 9.93992 15.87 9.87992 15.83C9.82992 15.79 9.77992 15.75 9.72992 15.71C9.54992 15.52 9.43992 15.26 9.43992 15C9.43992 14.74 9.54992 14.48 9.72992 14.29C9.77992 14.25 9.82992 14.21 9.87992 14.17C9.93992 14.13 9.99992 14.1 10.0599 14.08C10.1199 14.05 10.1799 14.03 10.2399 14.02C10.3699 13.99 10.5099 13.99 10.6299 14.02C10.6999 14.03 10.7599 14.05 10.8199 14.08C10.8799 14.1 10.9399 14.13 10.9999 14.17C11.0499 14.21 11.0999 14.25 11.1499 14.29C11.3299 14.48 11.4399 14.74 11.4399 15C11.4399 15.26 11.3299 15.52 11.1499 15.71Z",
|
|
324
|
+
fill: "currentColor"
|
|
325
|
+
}
|
|
326
|
+
)
|
|
327
|
+
}
|
|
328
|
+
), ue = ({
|
|
329
|
+
color: o,
|
|
330
|
+
size: t = 24
|
|
331
|
+
}) => /* @__PURE__ */ s.jsx(
|
|
332
|
+
"svg",
|
|
333
|
+
{
|
|
334
|
+
width: t,
|
|
335
|
+
height: t,
|
|
336
|
+
viewBox: "0 0 20 20",
|
|
337
|
+
fill: "none",
|
|
338
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
339
|
+
style: { color: o },
|
|
340
|
+
children: /* @__PURE__ */ s.jsx(
|
|
341
|
+
"path",
|
|
342
|
+
{
|
|
343
|
+
d: "M10 0C4.49 0 0 4.49 0 10C0 15.51 4.49 20 10 20C15.51 20 20 15.51 20 10C20 4.49 15.51 0 10 0ZM13.36 12.3C13.65 12.59 13.65 13.07 13.36 13.36C13.21 13.51 13.02 13.58 12.83 13.58C12.64 13.58 12.45 13.51 12.3 13.36L10 11.06L7.7 13.36C7.55 13.51 7.36 13.58 7.17 13.58C6.98 13.58 6.79 13.51 6.64 13.36C6.35 13.07 6.35 12.59 6.64 12.3L8.94 10L6.64 7.7C6.35 7.41 6.35 6.93 6.64 6.64C6.93 6.35 7.41 6.35 7.7 6.64L10 8.94L12.3 6.64C12.59 6.35 13.07 6.35 13.36 6.64C13.65 6.93 13.65 7.41 13.36 7.7L11.06 10L13.36 12.3Z",
|
|
344
|
+
fill: "currentColor"
|
|
345
|
+
}
|
|
346
|
+
)
|
|
347
|
+
}
|
|
348
|
+
), ce = ({
|
|
349
|
+
color: o,
|
|
350
|
+
size: t = 20
|
|
351
|
+
}) => /* @__PURE__ */ s.jsx(
|
|
352
|
+
"svg",
|
|
353
|
+
{
|
|
354
|
+
width: t,
|
|
355
|
+
height: t,
|
|
356
|
+
viewBox: "0 0 20 20",
|
|
357
|
+
fill: "none",
|
|
358
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
359
|
+
style: { color: o },
|
|
360
|
+
children: /* @__PURE__ */ s.jsx(
|
|
361
|
+
"path",
|
|
362
|
+
{
|
|
363
|
+
d: "M10 0C4.49 0 0 4.49 0 10C0 15.51 4.49 20 10 20C15.51 20 20 15.51 20 10C20 4.49 15.51 0 10 0ZM14.78 7.7L9.11 13.37C8.97 13.51 8.78 13.59 8.58 13.59C8.38 13.59 8.19 13.51 8.05 13.37L5.22 10.54C4.93 10.25 4.93 9.77 5.22 9.48C5.51 9.19 5.99 9.19 6.28 9.48L8.58 11.78L13.72 6.64C14.01 6.35 14.49 6.35 14.78 6.64C15.07 6.93 15.07 7.4 14.78 7.7Z",
|
|
364
|
+
fill: "currentColor"
|
|
365
|
+
}
|
|
366
|
+
)
|
|
367
|
+
}
|
|
368
|
+
), ie = ({ color: o, size: t = 20 }) => /* @__PURE__ */ s.jsx(
|
|
369
|
+
"svg",
|
|
370
|
+
{
|
|
371
|
+
width: t,
|
|
372
|
+
height: t,
|
|
373
|
+
viewBox: "0 0 16 16",
|
|
374
|
+
fill: "none",
|
|
375
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
376
|
+
style: { color: o },
|
|
377
|
+
children: /* @__PURE__ */ s.jsx(
|
|
378
|
+
"path",
|
|
379
|
+
{
|
|
380
|
+
d: "M13.2797 5.96667L8.93306 10.3133C8.41973 10.8267 7.57973 10.8267 7.06639 10.3133L2.71973 5.96667",
|
|
381
|
+
stroke: "currentColor",
|
|
382
|
+
"stroke-miterlimit": "10",
|
|
383
|
+
"stroke-linecap": "round",
|
|
384
|
+
"stroke-linejoin": "round"
|
|
385
|
+
}
|
|
386
|
+
)
|
|
387
|
+
}
|
|
388
|
+
);
|
|
389
|
+
export {
|
|
390
|
+
ie as C,
|
|
391
|
+
le as I,
|
|
392
|
+
ce as T,
|
|
393
|
+
se as W,
|
|
394
|
+
ue as a,
|
|
395
|
+
ae as b,
|
|
396
|
+
s as j
|
|
397
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface IAlertProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
6
|
+
size?: "sm" | "md";
|
|
7
|
+
width?: "default" | "full";
|
|
8
|
+
rounded?: "none" | "sm" | "md" | "lg" | "full";
|
|
9
|
+
infoIconAlignment?: "start" | "center";
|
|
10
|
+
isInfoIcon?: boolean;
|
|
11
|
+
hasCloseButton?: boolean;
|
|
12
|
+
hasButton?: boolean;
|
|
13
|
+
buttonTitle?: string;
|
|
14
|
+
buttonTextColor?: "black" | "white";
|
|
15
|
+
buttonClickHandler?: () => void;
|
|
16
|
+
closeAlertHandler?: () => void;
|
|
17
|
+
children?: ReactNode;
|
|
18
|
+
}
|
|
19
|
+
export declare const Alert: ({ title, description, color, size, width, rounded, infoIconAlignment, isInfoIcon, hasCloseButton, hasButton, buttonTitle, buttonTextColor, buttonClickHandler, closeAlertHandler, children, }: IAlertProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface IAutocompleteProps {
|
|
3
|
+
label?: string;
|
|
4
|
+
placeHolder?: string;
|
|
5
|
+
inputIcon?: ReactNode;
|
|
6
|
+
inputEndIcon?: ReactNode;
|
|
7
|
+
size?: "sm" | "lg";
|
|
8
|
+
variant?: "flat" | "faded" | "bordered";
|
|
9
|
+
}
|
|
10
|
+
export declare const Autocomplete: ({ label, placeHolder, inputIcon, inputEndIcon, size, variant }: IAutocompleteProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface IBadgeProps {
|
|
2
|
+
label: string;
|
|
3
|
+
size?: "sm" | "md" | "lg";
|
|
4
|
+
color?: "neutral" | "default" | "primary" | "danger" | "success";
|
|
5
|
+
textColor?: "white" | "black";
|
|
6
|
+
type?: "pill" | "Rectangle";
|
|
7
|
+
}
|
|
8
|
+
export declare const Badge: ({ label, color, type, size, textColor, }: IBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface ButtonProps {
|
|
3
|
+
type?: "button" | "submit";
|
|
4
|
+
variant?: "solid" | "bordered" | "light" | "flat" | "faded" | "shadow";
|
|
5
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
6
|
+
textColor?: "black" | "white";
|
|
7
|
+
size?: "sm" | "md" | "lg";
|
|
8
|
+
rounded?: "none" | "sm" | "md" | "lg" | "full";
|
|
9
|
+
label?: string;
|
|
10
|
+
icon?: ReactNode;
|
|
11
|
+
iconPosition?: "right" | "left";
|
|
12
|
+
width?: "full" | "auto";
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
onClick?: () => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const Button: ({ type, variant, color, textColor, size, rounded, label, icon, iconPosition, width, disabled, onClick, }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface IChipProps {
|
|
3
|
+
variant?: "solid" | "bordered" | "light" | "flat" | "faded" | "shadow" | "dot";
|
|
4
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
5
|
+
textColor?: "black" | "white";
|
|
6
|
+
size?: "sm" | "md" | "lg";
|
|
7
|
+
rounded?: "none" | "sm" | "md" | "lg" | "full";
|
|
8
|
+
label?: string;
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
export declare const Chip: ({ variant, color, textColor, label, size, rounded, children, }: IChipProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface IInputProps {
|
|
3
|
+
id: string | number;
|
|
4
|
+
label?: string;
|
|
5
|
+
required?: boolean;
|
|
6
|
+
register?: any;
|
|
7
|
+
name?: string;
|
|
8
|
+
value?: string;
|
|
9
|
+
onChange?: (value: string) => void;
|
|
10
|
+
placeHolder?: string;
|
|
11
|
+
variant?: "flat" | "bordered" | "faded";
|
|
12
|
+
color?: "default" | "primary" | "success" | "warning" | "danger";
|
|
13
|
+
size?: "sm" | "lg";
|
|
14
|
+
rounded?: "sm" | "full";
|
|
15
|
+
description?: string;
|
|
16
|
+
icon?: ReactNode;
|
|
17
|
+
endIcon?: ReactNode;
|
|
18
|
+
errorMsg?: string;
|
|
19
|
+
hasError?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare const Input: ({ id, label, required, register, name, value, onChange, placeHolder, variant, color, size, rounded, description, icon, endIcon, errorMsg, hasError, }: IInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface IRadioProps {
|
|
3
|
+
name: string;
|
|
4
|
+
value?: string;
|
|
5
|
+
checked: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
onChange?: (value: string) => void;
|
|
8
|
+
size?: "sm" | "md" | "lg";
|
|
9
|
+
color?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral";
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare const Radio: ({ name, value, checked, disabled, onChange, size, color, children, }: IRadioProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
interface IRangeSliderProps {
|
|
3
|
+
value: number | number[];
|
|
4
|
+
setValue: Dispatch<SetStateAction<any>>;
|
|
5
|
+
min?: number;
|
|
6
|
+
max?: number;
|
|
7
|
+
step?: number;
|
|
8
|
+
color?: "foreground" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
9
|
+
tooltipColor?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
10
|
+
tooltipTextColor?: "white" | "black";
|
|
11
|
+
}
|
|
12
|
+
export declare const RangeSlider: ({ value, setValue, min, max, step, color, tooltipColor, tooltipTextColor, }: IRangeSliderProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface ISwitchProps {
|
|
2
|
+
enabled: boolean;
|
|
3
|
+
onChange: () => void;
|
|
4
|
+
label?: string;
|
|
5
|
+
labelPosition?: "right" | "left";
|
|
6
|
+
size?: "sm" | "md" | "lg";
|
|
7
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const Switch: ({ enabled, onChange, label, labelPosition, size, color, disabled, }: ISwitchProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface ITooltipProps {
|
|
2
|
+
label?: string;
|
|
3
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
4
|
+
textColor?: "black" | "white";
|
|
5
|
+
size?: "sm" | "md" | "lg";
|
|
6
|
+
rounded?: "none" | "sm" | "md" | "lg" | "full";
|
|
7
|
+
direction?: "top" | "right" | "left" | "bottom";
|
|
8
|
+
position?: "start" | "center" | "end";
|
|
9
|
+
}
|
|
10
|
+
export declare const Tooltip: ({ label, color, textColor, size, rounded, direction, position, }: ITooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { Alert } from './Alert';
|
|
2
|
+
export { Badge } from './Badge';
|
|
3
|
+
export { Button } from './Button';
|
|
4
|
+
export { Chip } from './Chip';
|
|
5
|
+
export { Input } from './Input';
|
|
6
|
+
export { Radio } from './Radio';
|
|
7
|
+
export { RangeSlider } from './RangeSlider';
|
|
8
|
+
export { Select } from './Select';
|
|
9
|
+
export { Switch } from './Switch';
|
|
10
|
+
export { Tooltip } from './Tooltip';
|