@mp-front/components 0.0.1-next-8 → 0.0.1-next-9

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.
Files changed (74) hide show
  1. package/dist/{classNames-EUcv3dqx.js → classNames-BiTpavcN.js} +2 -2
  2. package/dist/components/animation/count-up/count-up.component.d.ts +3 -0
  3. package/dist/components/animation/count-up/count-up.component.d.ts.map +1 -0
  4. package/dist/components/animation/count-up/count-up.stories.d.ts +15 -0
  5. package/dist/components/animation/count-up/count-up.stories.d.ts.map +1 -0
  6. package/dist/components/animation/count-up/count-up.test.d.ts +2 -0
  7. package/dist/components/animation/count-up/count-up.test.d.ts.map +1 -0
  8. package/dist/components/animation/count-up/count-up.types.d.ts +11 -0
  9. package/dist/components/animation/count-up/count-up.types.d.ts.map +1 -0
  10. package/dist/components/animation/index.d.ts +2 -0
  11. package/dist/components/animation/index.d.ts.map +1 -0
  12. package/dist/components/dropdown/dropdown.types.d.ts +1 -0
  13. package/dist/components/dropdown/dropdown.types.d.ts.map +1 -1
  14. package/dist/components/input/number/useInputNumber.d.ts +3 -2
  15. package/dist/components/input/number/useInputNumber.d.ts.map +1 -1
  16. package/dist/components/modal/{modal.overlay.d.ts → dialog.overlay.d.ts} +5 -6
  17. package/dist/components/modal/dialog.overlay.d.ts.map +1 -0
  18. package/dist/components/modal/dialog.types.d.ts +5 -0
  19. package/dist/components/modal/dialog.types.d.ts.map +1 -0
  20. package/dist/components/modal/modal.component.d.ts +4 -3
  21. package/dist/components/modal/modal.component.d.ts.map +1 -1
  22. package/dist/indeterminate-C7JUOCP0.cjs +1 -0
  23. package/dist/indeterminate-CSEeEKiJ.js +25 -0
  24. package/dist/index-DGDeDoym.cjs +17 -0
  25. package/dist/index-q_fyr_Rn.js +156 -0
  26. package/dist/interfaces/modal/index.d.ts +2 -0
  27. package/dist/interfaces/modal/index.d.ts.map +1 -1
  28. package/dist/layout/header/right-side.component.d.ts.map +1 -1
  29. package/dist/layout/header/store.component.d.ts.map +1 -1
  30. package/dist/layout/header/user.component.d.ts.map +1 -1
  31. package/dist/proxy-2cglvzJh.cjs +31 -0
  32. package/dist/proxy-uRb7Bek8.js +5497 -0
  33. package/dist/skeleton-avatar-8uHbPAra.cjs +1 -0
  34. package/dist/skeleton-avatar-Cp8o0kUa.js +20 -0
  35. package/dist/styles.css +2 -2
  36. package/dist/toggle-group.component-Cs7zS-s6.js +11256 -0
  37. package/dist/toggle-group.component-DOQKWhkg.cjs +80 -0
  38. package/dist/ui-components-animation.cjs +1 -0
  39. package/dist/ui-components-animation.js +416 -0
  40. package/dist/ui-components-hooks.cjs +1 -1
  41. package/dist/ui-components-hooks.js +16 -15
  42. package/dist/ui-components-icons.cjs +1 -1
  43. package/dist/ui-components-icons.js +24 -23
  44. package/dist/ui-components-index.cjs +3 -102
  45. package/dist/ui-components-index.js +3211 -19256
  46. package/dist/ui-components-layout.cjs +1 -131
  47. package/dist/ui-components-layout.js +1146 -21133
  48. package/dist/ui-components-utils.js +2 -2
  49. package/dist/use-controlled-state-CNjWcDSI.js +19 -0
  50. package/dist/use-controlled-state-Ci1ztv5B.cjs +1 -0
  51. package/dist/useTranslation-2Dz5dMlm.cjs +1 -0
  52. package/dist/useTranslation-B0fSob9I.js +189 -0
  53. package/package.json +3 -3
  54. package/dist/components/modal/modal.overlay.d.ts.map +0 -1
  55. package/dist/index-BP9HuXkV.cjs +0 -31
  56. package/dist/index-C0ENqrRs.js +0 -570
  57. package/dist/interfaces/animation/check-icon.d.ts +0 -5
  58. package/dist/interfaces/animation/check-icon.d.ts.map +0 -1
  59. package/dist/interfaces/animation/count-up.d.ts +0 -12
  60. package/dist/interfaces/animation/count-up.d.ts.map +0 -1
  61. package/dist/interfaces/animation/index.d.ts +0 -6
  62. package/dist/interfaces/animation/index.d.ts.map +0 -1
  63. package/dist/interfaces/animation/text-effect.d.ts +0 -25
  64. package/dist/interfaces/animation/text-effect.d.ts.map +0 -1
  65. package/dist/interfaces/animation/text-morph.d.ts +0 -10
  66. package/dist/interfaces/animation/text-morph.d.ts.map +0 -1
  67. package/dist/interfaces/animation/text-scramble.d.ts +0 -14
  68. package/dist/interfaces/animation/text-scramble.d.ts.map +0 -1
  69. package/dist/skeleton-avatar-BzklbqjK.js +0 -41
  70. package/dist/skeleton-avatar-Ce_osCsT.cjs +0 -1
  71. package/dist/use-controlled-state-FlR7N58L.js +0 -51
  72. package/dist/use-controlled-state-H7oMYjxi.cjs +0 -1
  73. package/dist/useTranslation-QicPQnlv.cjs +0 -1
  74. package/dist/useTranslation-tTfk6apO.js +0 -157
@@ -1,570 +0,0 @@
1
- import * as E from "react";
2
- import Ae from "react";
3
- import * as ke from "react-dom";
4
- import Pe from "react-dom";
5
- var P = { exports: {} }, O = {};
6
- /**
7
- * @license React
8
- * react-jsx-runtime.production.js
9
- *
10
- * Copyright (c) Meta Platforms, Inc. and affiliates.
11
- *
12
- * This source code is licensed under the MIT license found in the
13
- * LICENSE file in the root directory of this source tree.
14
- */
15
- var Ee;
16
- function Ye() {
17
- if (Ee) return O;
18
- Ee = 1;
19
- var o = Symbol.for("react.transitional.element"), a = Symbol.for("react.fragment");
20
- function u(i, n, c) {
21
- var d = null;
22
- if (c !== void 0 && (d = "" + c), n.key !== void 0 && (d = "" + n.key), "key" in n) {
23
- c = {};
24
- for (var v in n)
25
- v !== "key" && (c[v] = n[v]);
26
- } else c = n;
27
- return n = c.ref, {
28
- $$typeof: o,
29
- type: i,
30
- key: d,
31
- ref: n !== void 0 ? n : null,
32
- props: c
33
- };
34
- }
35
- return O.Fragment = a, O.jsx = u, O.jsxs = u, O;
36
- }
37
- var N = {};
38
- /**
39
- * @license React
40
- * react-jsx-runtime.development.js
41
- *
42
- * Copyright (c) Meta Platforms, Inc. and affiliates.
43
- *
44
- * This source code is licensed under the MIT license found in the
45
- * LICENSE file in the root directory of this source tree.
46
- */
47
- var me;
48
- function Me() {
49
- return me || (me = 1, process.env.NODE_ENV !== "production" && (function() {
50
- function o(e) {
51
- if (e == null) return null;
52
- if (typeof e == "function")
53
- return e.$$typeof === je ? null : e.displayName || e.name || null;
54
- if (typeof e == "string") return e;
55
- switch (e) {
56
- case $:
57
- return "Fragment";
58
- case Te:
59
- return "Portal";
60
- case Q:
61
- return "Profiler";
62
- case Z:
63
- return "StrictMode";
64
- case U:
65
- return "Suspense";
66
- case J:
67
- return "SuspenseList";
68
- }
69
- if (typeof e == "object")
70
- switch (typeof e.tag == "number" && console.error(
71
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
72
- ), e.$$typeof) {
73
- case D:
74
- return (e.displayName || "Context") + ".Provider";
75
- case K:
76
- return (e._context.displayName || "Context") + ".Consumer";
77
- case V:
78
- var r = e.render;
79
- return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
80
- case q:
81
- return r = e.displayName || null, r !== null ? r : o(e.type) || "Memo";
82
- case z:
83
- r = e._payload, e = e._init;
84
- try {
85
- return o(e(r));
86
- } catch {
87
- }
88
- }
89
- return null;
90
- }
91
- function a(e) {
92
- return "" + e;
93
- }
94
- function u(e) {
95
- try {
96
- a(e);
97
- var r = !1;
98
- } catch {
99
- r = !0;
100
- }
101
- if (r) {
102
- r = console;
103
- var t = r.error, s = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
104
- return t.call(
105
- r,
106
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
107
- s
108
- ), a(e);
109
- }
110
- }
111
- function i() {
112
- }
113
- function n() {
114
- if (w === 0) {
115
- te = console.log, oe = console.info, ne = console.warn, ae = console.error, le = console.group, se = console.groupCollapsed, ue = console.groupEnd;
116
- var e = {
117
- configurable: !0,
118
- enumerable: !0,
119
- value: i,
120
- writable: !0
121
- };
122
- Object.defineProperties(console, {
123
- info: e,
124
- log: e,
125
- warn: e,
126
- error: e,
127
- group: e,
128
- groupCollapsed: e,
129
- groupEnd: e
130
- });
131
- }
132
- w++;
133
- }
134
- function c() {
135
- if (w--, w === 0) {
136
- var e = { configurable: !0, enumerable: !0, writable: !0 };
137
- Object.defineProperties(console, {
138
- log: h({}, e, { value: te }),
139
- info: h({}, e, { value: oe }),
140
- warn: h({}, e, { value: ne }),
141
- error: h({}, e, { value: ae }),
142
- group: h({}, e, { value: le }),
143
- groupCollapsed: h({}, e, { value: se }),
144
- groupEnd: h({}, e, { value: ue })
145
- });
146
- }
147
- 0 > w && console.error(
148
- "disabledDepth fell below zero. This is a bug in React. Please file an issue."
149
- );
150
- }
151
- function d(e) {
152
- if (B === void 0)
153
- try {
154
- throw Error();
155
- } catch (t) {
156
- var r = t.stack.trim().match(/\n( *(at )?)/);
157
- B = r && r[1] || "", ie = -1 < t.stack.indexOf(`
158
- at`) ? " (<anonymous>)" : -1 < t.stack.indexOf("@") ? "@unknown:0:0" : "";
159
- }
160
- return `
161
- ` + B + e + ie;
162
- }
163
- function v(e, r) {
164
- if (!e || G) return "";
165
- var t = I.get(e);
166
- if (t !== void 0) return t;
167
- G = !0, t = Error.prepareStackTrace, Error.prepareStackTrace = void 0;
168
- var s = null;
169
- s = S.H, S.H = null, n();
170
- try {
171
- var m = {
172
- DetermineComponentFrameRoot: function() {
173
- try {
174
- if (r) {
175
- var _ = function() {
176
- throw Error();
177
- };
178
- if (Object.defineProperty(_.prototype, "props", {
179
- set: function() {
180
- throw Error();
181
- }
182
- }), typeof Reflect == "object" && Reflect.construct) {
183
- try {
184
- Reflect.construct(_, []);
185
- } catch (R) {
186
- var k = R;
187
- }
188
- Reflect.construct(e, [], _);
189
- } else {
190
- try {
191
- _.call();
192
- } catch (R) {
193
- k = R;
194
- }
195
- e.call(_.prototype);
196
- }
197
- } else {
198
- try {
199
- throw Error();
200
- } catch (R) {
201
- k = R;
202
- }
203
- (_ = e()) && typeof _.catch == "function" && _.catch(function() {
204
- });
205
- }
206
- } catch (R) {
207
- if (R && k && typeof R.stack == "string")
208
- return [R.stack, k.stack];
209
- }
210
- return [null, null];
211
- }
212
- };
213
- m.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
214
- var f = Object.getOwnPropertyDescriptor(
215
- m.DetermineComponentFrameRoot,
216
- "name"
217
- );
218
- f && f.configurable && Object.defineProperty(
219
- m.DetermineComponentFrameRoot,
220
- "name",
221
- { value: "DetermineComponentFrameRoot" }
222
- );
223
- var l = m.DetermineComponentFrameRoot(), y = l[0], C = l[1];
224
- if (y && C) {
225
- var p = y.split(`
226
- `), x = C.split(`
227
- `);
228
- for (l = f = 0; f < p.length && !p[f].includes(
229
- "DetermineComponentFrameRoot"
230
- ); )
231
- f++;
232
- for (; l < x.length && !x[l].includes(
233
- "DetermineComponentFrameRoot"
234
- ); )
235
- l++;
236
- if (f === p.length || l === x.length)
237
- for (f = p.length - 1, l = x.length - 1; 1 <= f && 0 <= l && p[f] !== x[l]; )
238
- l--;
239
- for (; 1 <= f && 0 <= l; f--, l--)
240
- if (p[f] !== x[l]) {
241
- if (f !== 1 || l !== 1)
242
- do
243
- if (f--, l--, 0 > l || p[f] !== x[l]) {
244
- var j = `
245
- ` + p[f].replace(
246
- " at new ",
247
- " at "
248
- );
249
- return e.displayName && j.includes("<anonymous>") && (j = j.replace("<anonymous>", e.displayName)), typeof e == "function" && I.set(e, j), j;
250
- }
251
- while (1 <= f && 0 <= l);
252
- break;
253
- }
254
- }
255
- } finally {
256
- G = !1, S.H = s, c(), Error.prepareStackTrace = t;
257
- }
258
- return p = (p = e ? e.displayName || e.name : "") ? d(p) : "", typeof e == "function" && I.set(e, p), p;
259
- }
260
- function b(e) {
261
- if (e == null) return "";
262
- if (typeof e == "function") {
263
- var r = e.prototype;
264
- return v(
265
- e,
266
- !(!r || !r.isReactComponent)
267
- );
268
- }
269
- if (typeof e == "string") return d(e);
270
- switch (e) {
271
- case U:
272
- return d("Suspense");
273
- case J:
274
- return d("SuspenseList");
275
- }
276
- if (typeof e == "object")
277
- switch (e.$$typeof) {
278
- case V:
279
- return e = v(e.render, !1), e;
280
- case q:
281
- return b(e.type);
282
- case z:
283
- r = e._payload, e = e._init;
284
- try {
285
- return b(e(r));
286
- } catch {
287
- }
288
- }
289
- return "";
290
- }
291
- function g() {
292
- var e = S.A;
293
- return e === null ? null : e.getOwner();
294
- }
295
- function Y(e) {
296
- if (re.call(e, "key")) {
297
- var r = Object.getOwnPropertyDescriptor(e, "key").get;
298
- if (r && r.isReactWarning) return !1;
299
- }
300
- return e.key !== void 0;
301
- }
302
- function A(e, r) {
303
- function t() {
304
- ce || (ce = !0, console.error(
305
- "%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)",
306
- r
307
- ));
308
- }
309
- t.isReactWarning = !0, Object.defineProperty(e, "key", {
310
- get: t,
311
- configurable: !0
312
- });
313
- }
314
- function Se() {
315
- var e = o(this.type);
316
- return fe[e] || (fe[e] = !0, console.error(
317
- "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."
318
- )), e = this.props.ref, e !== void 0 ? e : null;
319
- }
320
- function he(e, r, t, s, m, f) {
321
- return t = f.ref, e = {
322
- $$typeof: W,
323
- type: e,
324
- key: r,
325
- props: f,
326
- _owner: m
327
- }, (t !== void 0 ? t : null) !== null ? Object.defineProperty(e, "ref", {
328
- enumerable: !1,
329
- get: Se
330
- }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
331
- configurable: !1,
332
- enumerable: !1,
333
- writable: !0,
334
- value: 0
335
- }), Object.defineProperty(e, "_debugInfo", {
336
- configurable: !1,
337
- enumerable: !1,
338
- writable: !0,
339
- value: null
340
- }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
341
- }
342
- function L(e, r, t, s, m, f) {
343
- if (typeof e == "string" || typeof e == "function" || e === $ || e === Q || e === Z || e === U || e === J || e === we || typeof e == "object" && e !== null && (e.$$typeof === z || e.$$typeof === q || e.$$typeof === D || e.$$typeof === K || e.$$typeof === V || e.$$typeof === Oe || e.getModuleId !== void 0)) {
344
- var l = r.children;
345
- if (l !== void 0)
346
- if (s)
347
- if (H(l)) {
348
- for (s = 0; s < l.length; s++)
349
- F(l[s], e);
350
- Object.freeze && Object.freeze(l);
351
- } else
352
- console.error(
353
- "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
354
- );
355
- else F(l, e);
356
- } else
357
- l = "", (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (l += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), e === null ? s = "null" : H(e) ? s = "array" : e !== void 0 && e.$$typeof === W ? (s = "<" + (o(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, console.error(
358
- "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
359
- s,
360
- l
361
- );
362
- if (re.call(r, "key")) {
363
- l = o(e);
364
- var y = Object.keys(r).filter(function(p) {
365
- return p !== "key";
366
- });
367
- s = 0 < y.length ? "{key: someKey, " + y.join(": ..., ") + ": ...}" : "{key: someKey}", de[l + s] || (y = 0 < y.length ? "{" + y.join(": ..., ") + ": ...}" : "{}", console.error(
368
- `A props object containing a "key" prop is being spread into JSX:
369
- let props = %s;
370
- <%s {...props} />
371
- React keys must be passed directly to JSX without using spread:
372
- let props = %s;
373
- <%s key={someKey} {...props} />`,
374
- s,
375
- l,
376
- y,
377
- l
378
- ), de[l + s] = !0);
379
- }
380
- if (l = null, t !== void 0 && (u(t), l = "" + t), Y(r) && (u(r.key), l = "" + r.key), "key" in r) {
381
- t = {};
382
- for (var C in r)
383
- C !== "key" && (t[C] = r[C]);
384
- } else t = r;
385
- return l && A(
386
- t,
387
- typeof e == "function" ? e.displayName || e.name || "Unknown" : e
388
- ), he(e, l, f, m, g(), t);
389
- }
390
- function F(e, r) {
391
- if (typeof e == "object" && e && e.$$typeof !== Ne) {
392
- if (H(e))
393
- for (var t = 0; t < e.length; t++) {
394
- var s = e[t];
395
- M(s) && X(s, r);
396
- }
397
- else if (M(e))
398
- e._store && (e._store.validated = 1);
399
- else if (e === null || typeof e != "object" ? t = null : (t = ee && e[ee] || e["@@iterator"], t = typeof t == "function" ? t : null), typeof t == "function" && t !== e.entries && (t = t.call(e), t !== e))
400
- for (; !(e = t.next()).done; )
401
- M(e.value) && X(e.value, r);
402
- }
403
- }
404
- function M(e) {
405
- return typeof e == "object" && e !== null && e.$$typeof === W;
406
- }
407
- function X(e, r) {
408
- if (e._store && !e._store.validated && e.key == null && (e._store.validated = 1, r = xe(r), !ve[r])) {
409
- ve[r] = !0;
410
- var t = "";
411
- e && e._owner != null && e._owner !== g() && (t = null, typeof e._owner.tag == "number" ? t = o(e._owner.type) : typeof e._owner.name == "string" && (t = e._owner.name), t = " It was passed a child from " + t + ".");
412
- var s = S.getCurrentStack;
413
- S.getCurrentStack = function() {
414
- var m = b(e.type);
415
- return s && (m += s() || ""), m;
416
- }, console.error(
417
- 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
418
- r,
419
- t
420
- ), S.getCurrentStack = s;
421
- }
422
- }
423
- function xe(e) {
424
- var r = "", t = g();
425
- return t && (t = o(t.type)) && (r = `
426
-
427
- Check the render method of \`` + t + "`."), r || (e = o(e)) && (r = `
428
-
429
- Check the top-level render call using <` + e + ">."), r;
430
- }
431
- var Ce = Ae, W = Symbol.for("react.transitional.element"), Te = Symbol.for("react.portal"), $ = Symbol.for("react.fragment"), Z = Symbol.for("react.strict_mode"), Q = Symbol.for("react.profiler"), K = Symbol.for("react.consumer"), D = Symbol.for("react.context"), V = Symbol.for("react.forward_ref"), U = Symbol.for("react.suspense"), J = Symbol.for("react.suspense_list"), q = Symbol.for("react.memo"), z = Symbol.for("react.lazy"), we = Symbol.for("react.offscreen"), ee = Symbol.iterator, je = Symbol.for("react.client.reference"), S = Ce.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, re = Object.prototype.hasOwnProperty, h = Object.assign, Oe = Symbol.for("react.client.reference"), H = Array.isArray, w = 0, te, oe, ne, ae, le, se, ue;
432
- i.__reactDisabledLog = !0;
433
- var B, ie, G = !1, I = new (typeof WeakMap == "function" ? WeakMap : Map)(), Ne = Symbol.for("react.client.reference"), ce, fe = {}, de = {}, ve = {};
434
- N.Fragment = $, N.jsx = function(e, r, t, s, m) {
435
- return L(e, r, t, !1, s, m);
436
- }, N.jsxs = function(e, r, t, s, m) {
437
- return L(e, r, t, !0, s, m);
438
- };
439
- })()), N;
440
- }
441
- var pe;
442
- function We() {
443
- return pe || (pe = 1, process.env.NODE_ENV === "production" ? P.exports = Ye() : P.exports = Me()), P.exports;
444
- }
445
- var T = We();
446
- function be(o, a) {
447
- if (typeof o == "function")
448
- return o(a);
449
- o != null && (o.current = a);
450
- }
451
- function ge(...o) {
452
- return (a) => {
453
- let u = !1;
454
- const i = o.map((n) => {
455
- const c = be(n, a);
456
- return !u && typeof c == "function" && (u = !0), c;
457
- });
458
- if (u)
459
- return () => {
460
- for (let n = 0; n < i.length; n++) {
461
- const c = i[n];
462
- typeof c == "function" ? c() : be(o[n], null);
463
- }
464
- };
465
- };
466
- }
467
- function Le(...o) {
468
- return E.useCallback(ge(...o), o);
469
- }
470
- // @__NO_SIDE_EFFECTS__
471
- function ye(o) {
472
- const a = /* @__PURE__ */ $e(o), u = E.forwardRef((i, n) => {
473
- const { children: c, ...d } = i, v = E.Children.toArray(c), b = v.find(Ve);
474
- if (b) {
475
- const g = b.props.children, Y = v.map((A) => A === b ? E.Children.count(g) > 1 ? E.Children.only(null) : E.isValidElement(g) ? g.props.children : null : A);
476
- return /* @__PURE__ */ T.jsx(a, { ...d, ref: n, children: E.isValidElement(g) ? E.cloneElement(g, void 0, Y) : null });
477
- }
478
- return /* @__PURE__ */ T.jsx(a, { ...d, ref: n, children: c });
479
- });
480
- return u.displayName = `${o}.Slot`, u;
481
- }
482
- var Fe = /* @__PURE__ */ ye("Slot");
483
- // @__NO_SIDE_EFFECTS__
484
- function $e(o) {
485
- const a = E.forwardRef((u, i) => {
486
- const { children: n, ...c } = u;
487
- if (E.isValidElement(n)) {
488
- const d = Je(n), v = Ue(c, n.props);
489
- return n.type !== E.Fragment && (v.ref = i ? ge(i, d) : d), E.cloneElement(n, v);
490
- }
491
- return E.Children.count(n) > 1 ? E.Children.only(null) : null;
492
- });
493
- return a.displayName = `${o}.SlotClone`, a;
494
- }
495
- var Re = Symbol("radix.slottable");
496
- // @__NO_SIDE_EFFECTS__
497
- function Xe(o) {
498
- const a = ({ children: u }) => /* @__PURE__ */ T.jsx(T.Fragment, { children: u });
499
- return a.displayName = `${o}.Slottable`, a.__radixId = Re, a;
500
- }
501
- function Ve(o) {
502
- return E.isValidElement(o) && typeof o.type == "function" && "__radixId" in o.type && o.type.__radixId === Re;
503
- }
504
- function Ue(o, a) {
505
- const u = { ...a };
506
- for (const i in a) {
507
- const n = o[i], c = a[i];
508
- /^on[A-Z]/.test(i) ? n && c ? u[i] = (...v) => {
509
- const b = c(...v);
510
- return n(...v), b;
511
- } : n && (u[i] = n) : i === "style" ? u[i] = { ...n, ...c } : i === "className" && (u[i] = [n, c].filter(Boolean).join(" "));
512
- }
513
- return { ...o, ...u };
514
- }
515
- function Je(o) {
516
- var i, n;
517
- let a = (i = Object.getOwnPropertyDescriptor(o.props, "ref")) == null ? void 0 : i.get, u = a && "isReactWarning" in a && a.isReactWarning;
518
- return u ? o.ref : (a = (n = Object.getOwnPropertyDescriptor(o, "ref")) == null ? void 0 : n.get, u = a && "isReactWarning" in a && a.isReactWarning, u ? o.props.ref : o.props.ref || o.ref);
519
- }
520
- var qe = [
521
- "a",
522
- "button",
523
- "div",
524
- "form",
525
- "h2",
526
- "h3",
527
- "img",
528
- "input",
529
- "label",
530
- "li",
531
- "nav",
532
- "ol",
533
- "p",
534
- "select",
535
- "span",
536
- "svg",
537
- "ul"
538
- ], ze = qe.reduce((o, a) => {
539
- const u = /* @__PURE__ */ ye(`Primitive.${a}`), i = E.forwardRef((n, c) => {
540
- const { asChild: d, ...v } = n, b = d ? u : a;
541
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ T.jsx(b, { ...v, ref: c });
542
- });
543
- return i.displayName = `Primitive.${a}`, { ...o, [a]: i };
544
- }, {});
545
- function Ze(o, a) {
546
- o && ke.flushSync(() => o.dispatchEvent(a));
547
- }
548
- var He = globalThis != null && globalThis.document ? E.useLayoutEffect : () => {
549
- }, Be = "Portal", _e = E.forwardRef((o, a) => {
550
- var v;
551
- const { container: u, ...i } = o, [n, c] = E.useState(!1);
552
- He(() => c(!0), []);
553
- const d = u || n && ((v = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : v.body);
554
- return d ? Pe.createPortal(/* @__PURE__ */ T.jsx(ze.div, { ...i, ref: a }), d) : null;
555
- });
556
- _e.displayName = Be;
557
- var Qe = _e;
558
- export {
559
- ze as P,
560
- Qe as R,
561
- Fe as S,
562
- He as a,
563
- _e as b,
564
- ye as c,
565
- Ze as d,
566
- ge as e,
567
- Xe as f,
568
- T as j,
569
- Le as u
570
- };
@@ -1,5 +0,0 @@
1
- export interface ICheckIconProps {
2
- color?: `#${string}`;
3
- size?: number;
4
- }
5
- //# sourceMappingURL=check-icon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"check-icon.d.ts","sourceRoot":"","sources":["../../../src/lib/interfaces/animation/check-icon.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,IAAI,MAAM,EAAE,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd"}
@@ -1,12 +0,0 @@
1
- export interface ICountUpProps {
2
- end: number;
3
- /** default value `0` */
4
- start?: number;
5
- /** default value `1` */
6
- duration?: number;
7
- className?: string;
8
- style?: "decimal" | "currency";
9
- /** default value `false` */
10
- rounded?: boolean;
11
- }
12
- //# sourceMappingURL=count-up.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"count-up.d.ts","sourceRoot":"","sources":["../../../src/lib/interfaces/animation/count-up.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAA;IACX,wBAAwB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,wBAAwB;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,SAAS,GAAG,UAAU,CAAA;IAC9B,4BAA4B;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB"}
@@ -1,6 +0,0 @@
1
- export * from './check-icon';
2
- export * from './count-up';
3
- export * from './text-scramble';
4
- export * from './text-effect';
5
- export * from './text-morph';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/interfaces/animation/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA"}
@@ -1,25 +0,0 @@
1
- import { Transition, Variants } from 'motion';
2
- export type PresetType = "blur-sm" | "fade-in-blur" | "scale" | "fade" | "slide";
3
- export type PerType = "word" | "char" | "line";
4
- export interface TextEffectProps {
5
- children: string;
6
- per?: PerType;
7
- as?: keyof React.JSX.IntrinsicElements;
8
- variants?: {
9
- container?: Variants;
10
- item?: Variants;
11
- };
12
- className?: string;
13
- preset?: PresetType;
14
- delay?: number;
15
- speedReveal?: number;
16
- speedSegment?: number;
17
- trigger?: boolean;
18
- onAnimationComplete?: () => void;
19
- onAnimationStart?: () => void;
20
- segmentWrapperClassName?: string;
21
- containerTransition?: Transition;
22
- segmentTransition?: Transition;
23
- style?: React.CSSProperties;
24
- }
25
- //# sourceMappingURL=text-effect.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"text-effect.d.ts","sourceRoot":"","sources":["../../../src/lib/interfaces/animation/text-effect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AAElD,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,cAAc,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAA;AAEhF,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;AAE9C,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,MAAM,CAAA;IAChB,GAAG,CAAC,EAAE,OAAO,CAAA;IACb,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAA;IACtC,QAAQ,CAAC,EAAE;QACT,SAAS,CAAC,EAAE,QAAQ,CAAA;QACpB,IAAI,CAAC,EAAE,QAAQ,CAAA;KAChB,CAAA;IACD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAA;IAChC,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC7B,uBAAuB,CAAC,EAAE,MAAM,CAAA;IAChC,mBAAmB,CAAC,EAAE,UAAU,CAAA;IAChC,iBAAiB,CAAC,EAAE,UAAU,CAAA;IAC9B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;CAC5B"}
@@ -1,10 +0,0 @@
1
- import { Transition, Variants } from 'motion';
2
- export interface TextMorphProps {
3
- children: string;
4
- as?: React.ElementType;
5
- className?: string;
6
- style?: React.CSSProperties;
7
- variants?: Variants;
8
- transition?: Transition;
9
- }
10
- //# sourceMappingURL=text-morph.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"text-morph.d.ts","sourceRoot":"","sources":["../../../src/lib/interfaces/animation/text-morph.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AAElD,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,CAAA;IAChB,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IAC3B,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,UAAU,CAAC,EAAE,UAAU,CAAA;CACxB"}
@@ -1,14 +0,0 @@
1
- import { MotionProps } from 'motion/react';
2
- export interface TextScrambleProps extends MotionProps {
3
- children: string;
4
- duration?: number;
5
- speed?: number;
6
- characterSet?: string;
7
- as?: React.ElementType;
8
- className?: string;
9
- trigger?: boolean;
10
- onScrambleComplete?: () => void;
11
- prefix?: string;
12
- suffix?: string;
13
- }
14
- //# sourceMappingURL=text-scramble.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"text-scramble.d.ts","sourceRoot":"","sources":["../../../src/lib/interfaces/animation/text-scramble.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IACpD,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB"}