@dimasbaguspm/versaur 0.0.56 → 0.0.58

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 (47) hide show
  1. package/dist/js/desktop-breakpoint-CuSom-sN.js +47 -0
  2. package/dist/js/feedbacks/index.js +1 -1
  3. package/dist/js/forms/index.js +1 -1
  4. package/dist/js/helpers/index.js +14 -0
  5. package/dist/js/{image-rectangle-K9jmTTED.js → image-rectangle-CCvXv24a.js} +819 -926
  6. package/dist/js/{index-DOdDlCoL.js → index-BDtz_hQY.js} +520 -802
  7. package/dist/js/index.js +76 -64
  8. package/dist/js/jsx-runtime-C5mzlN2N.js +284 -0
  9. package/dist/js/layouts/index.js +1 -1
  10. package/dist/js/navigation/index.js +1 -1
  11. package/dist/js/overlays/index.js +2 -2
  12. package/dist/js/primitive/index.js +2 -2
  13. package/dist/js/providers/index.js +1 -1
  14. package/dist/js/{skeleton-BNZyaRjo.js → skeleton-BRwIW26B.js} +6 -5
  15. package/dist/js/{snackbar-DH8jCh2V.js → snackbar-CTq4MLir.js} +14 -13
  16. package/dist/js/{tabs-I4n6MLAv.js → tabs-BQs53hHL.js} +59 -50
  17. package/dist/js/{time-picker-input-BgbyllDK.js → time-picker-input-Disd231b.js} +24 -23
  18. package/dist/js/{tooltip-nZW9TUz3.js → tooltip-Dpx3TpR6.js} +211 -205
  19. package/dist/js/{top-bar-Dqje-W3G.js → top-bar-DEesTo9i.js} +242 -197
  20. package/dist/js/{use-snackbars-Cou8L41F.js → use-snackbars-B6lnVjrX.js} +14 -13
  21. package/dist/types/helpers/index.d.ts +1 -0
  22. package/dist/types/helpers/match-media/built-in/components/desktop-breakpoint.d.ts +18 -0
  23. package/dist/types/helpers/match-media/built-in/components/index.d.ts +3 -0
  24. package/dist/types/helpers/match-media/built-in/components/mobile-breakpoint.d.ts +18 -0
  25. package/dist/types/helpers/match-media/built-in/components/tablet-breakpoint.d.ts +18 -0
  26. package/dist/types/helpers/match-media/built-in/hooks/index.d.ts +3 -0
  27. package/dist/types/helpers/match-media/built-in/hooks/use-desktop-breakpoint.d.ts +11 -0
  28. package/dist/types/helpers/match-media/built-in/hooks/use-mobile-breakpoint.d.ts +11 -0
  29. package/dist/types/helpers/match-media/built-in/hooks/use-tablet-breakpoint.d.ts +11 -0
  30. package/dist/types/helpers/match-media/built-in/index.d.ts +2 -0
  31. package/dist/types/helpers/match-media/constants.d.ts +7 -0
  32. package/dist/types/helpers/match-media/index.d.ts +4 -0
  33. package/dist/types/helpers/match-media/match-media.d.ts +25 -0
  34. package/dist/types/helpers/match-media/test-helpers.d.ts +21 -0
  35. package/dist/types/helpers/match-media/use-match-media.d.ts +15 -0
  36. package/dist/types/index.d.ts +1 -0
  37. package/dist/types/layouts/badge-group/types.d.ts +5 -0
  38. package/dist/types/layouts/button-group/types.d.ts +5 -0
  39. package/dist/types/layouts/filter-chip-group/types.d.ts +5 -0
  40. package/dist/types/layouts/page-header/types.d.ts +14 -0
  41. package/dist/types/navigation/tabs/types.d.ts +4 -0
  42. package/dist/types/overlays/menu/types.d.ts +8 -8
  43. package/dist/types/primitive/button-menu/types.d.ts +1 -1
  44. package/dist/types/primitive/button-menu-icon/types.d.ts +1 -1
  45. package/dist/utils/enforce-subpath-import.js +3 -1
  46. package/package.json +5 -1
  47. package/dist/types/overlays/menu/use-menu.d.ts +0 -15
package/dist/js/index.js CHANGED
@@ -1,78 +1,90 @@
1
- import { L as e, P as t, S as r } from "./skeleton-BNZyaRjo.js";
2
- import { A as n, a as u, B as p, b as i, F as c, e as l, c as I, P as B, d, S, T as m } from "./top-bar-Dqje-W3G.js";
3
- import { C as T, b, a as x, D as A, E as h, P, c as C, R as f, S as k, d as M, f as F, e as L, g as D, i as H, T as R, h as G, j } from "./time-picker-input-BgbyllDK.js";
4
- import { B as v, D as w, M as E, T as N } from "./tooltip-nZW9TUz3.js";
5
- import { A as z, a as J, b as K, c as O, d as Q, e as U, f as V, B as W, s as X, g as Y, h as Z, i as _, l as $, j as aa, k as sa, C as ea, F as ta, H as ra, m as oa, I as na, p as ua, r as pa, q as ia, M as ca, N as la, T as Ia, n as Ba, o as da } from "./image-rectangle-K9jmTTED.js";
6
- import { S as ma } from "./snackbar-DH8jCh2V.js";
7
- import { B as Ta, T as ba } from "./tabs-I4n6MLAv.js";
8
- import { S as Aa, u as ha } from "./use-snackbars-Cou8L41F.js";
1
+ import { L as e, P as t, S as o } from "./skeleton-BRwIW26B.js";
2
+ import { A as n, a as p, B as i, b as u, F as B, e as c, c as l, P as I, d, S as T, T as S } from "./top-bar-DEesTo9i.js";
3
+ import { C as b, b as g, a as A, D as k, E as M, P, c as h, R as x, S as f, d as C, f as D, e as E, g as L, i as R, T as F, h as N, j as O } from "./time-picker-input-Disd231b.js";
4
+ import { B as K, D as G, M as _, T as j } from "./tooltip-Dpx3TpR6.js";
5
+ import { A as v, a as w, b as y, c as z, d as J, e as Q, f as U, B as V, s as W, g as X, h as Y, i as Z, l as $, j as aa, k as sa, C as ea, F as ta, H as oa, m as ra, I as na, p as pa, r as ia, q as ua, M as Ba, N as ca, T as la, n as Ia, o as da } from "./image-rectangle-CCvXv24a.js";
6
+ import { S as Sa } from "./snackbar-CTq4MLir.js";
7
+ import { B as ba, T as ga } from "./tabs-BQs53hHL.js";
8
+ import { S as ka, u as Ma } from "./use-snackbars-B6lnVjrX.js";
9
+ import { b as ha, B as xa, a as fa, D as Ca, M as Da, f as Ea, T as La, e as Ra, u as Fa, c as Na, d as Oa } from "./desktop-breakpoint-CuSom-sN.js";
9
10
  export {
10
- z as Accordion,
11
- J as ActionCard,
12
- K as Alert,
13
- O as Anchor,
11
+ v as Accordion,
12
+ w as ActionCard,
13
+ y as Alert,
14
+ z as Anchor,
14
15
  n as AppBar,
15
- Q as Attribute,
16
- U as AttributeList,
17
- V as Avatar,
18
- W as Badge,
19
- u as BadgeGroup,
20
- X as BaseImage,
21
- p as BottomBar,
22
- v as BottomSheet,
23
- Y as Brand,
24
- Ta as Breadcrumbs,
25
- Z as Button,
26
- _ as ButtonAnchor,
27
- i as ButtonGroup,
16
+ J as Attribute,
17
+ Q as AttributeList,
18
+ U as Avatar,
19
+ ha as BREAKPOINT_DESKTOP,
20
+ xa as BREAKPOINT_MOBILE,
21
+ fa as BREAKPOINT_TABLET,
22
+ V as Badge,
23
+ p as BadgeGroup,
24
+ W as BaseImage,
25
+ i as BottomBar,
26
+ K as BottomSheet,
27
+ X as Brand,
28
+ ba as Breadcrumbs,
29
+ Y as Button,
30
+ Z as ButtonAnchor,
31
+ u as ButtonGroup,
28
32
  $ as ButtonIcon,
29
33
  aa as ButtonMenu,
30
34
  sa as ButtonMenuIcon,
31
35
  ea as Card,
32
- T as CheckboxInput,
33
- b as ChipMultipleInput,
34
- x as ChipSingleInput,
35
- A as DateSinglePickerInput,
36
- w as Drawer,
37
- h as EmailInput,
36
+ b as CheckboxInput,
37
+ g as ChipMultipleInput,
38
+ A as ChipSingleInput,
39
+ k as DateSinglePickerInput,
40
+ Ca as DesktopBreakpoint,
41
+ G as Drawer,
42
+ M as EmailInput,
38
43
  ta as FilterChip,
39
- c as FilterChipGroup,
40
- l as FormLayout,
41
- ra as Heading,
42
- oa as Hr,
44
+ B as FilterChipGroup,
45
+ c as FormLayout,
46
+ oa as Heading,
47
+ ra as Hr,
43
48
  na as Icon,
44
- ua as ImageCircle,
45
- pa as ImageRectangle,
46
- ia as ImageSquare,
49
+ pa as ImageCircle,
50
+ ia as ImageRectangle,
51
+ ua as ImageSquare,
47
52
  e as LoadingIndicator,
48
- ca as Menu,
49
- E as Modal,
50
- la as NoResults,
51
- I as PageContent,
52
- B as PageHeader,
53
+ Da as MatchMedia,
54
+ Ba as Menu,
55
+ Ea as MobileBreakpoint,
56
+ _ as Modal,
57
+ ca as NoResults,
58
+ l as PageContent,
59
+ I as PageHeader,
53
60
  d as PageLoader,
54
61
  P as PinField,
55
- C as PriceInput,
62
+ h as PriceInput,
56
63
  t as ProgressIndicator,
57
- f as RadioInput,
58
- k as SearchInput,
59
- M as SelectInput,
60
- F as SelectableMultipleInput,
61
- L as SelectableSingleInput,
62
- S as SideBar,
63
- r as Skeleton,
64
- ma as Snackbar,
65
- Aa as SnackbarsProvider,
66
- D as SwitchInput,
67
- Ia as Table,
68
- ba as Tabs,
69
- Ba as Text,
70
- H as TextAreaInput,
71
- R as TextInput,
72
- G as TextInputAsButton,
64
+ x as RadioInput,
65
+ f as SearchInput,
66
+ C as SelectInput,
67
+ D as SelectableMultipleInput,
68
+ E as SelectableSingleInput,
69
+ T as SideBar,
70
+ o as Skeleton,
71
+ Sa as Snackbar,
72
+ ka as SnackbarsProvider,
73
+ L as SwitchInput,
74
+ la as Table,
75
+ La as TabletBreakpoint,
76
+ ga as Tabs,
77
+ Ia as Text,
78
+ R as TextAreaInput,
79
+ F as TextInput,
80
+ N as TextInputAsButton,
73
81
  da as Tile,
74
- j as TimePickerInput,
75
- N as Tooltip,
76
- m as TopBar,
77
- ha as useSnackbars
82
+ O as TimePickerInput,
83
+ j as Tooltip,
84
+ S as TopBar,
85
+ Ra as useDesktopBreakpoint,
86
+ Fa as useMatchMedia,
87
+ Na as useMobileBreakpoint,
88
+ Ma as useSnackbars,
89
+ Oa as useTabletBreakpoint
78
90
  };
@@ -0,0 +1,284 @@
1
+ import ee from "react";
2
+ var T = { exports: {} }, R = {};
3
+ /**
4
+ * @license React
5
+ * react-jsx-runtime.production.js
6
+ *
7
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */
12
+ var F;
13
+ function re() {
14
+ if (F) return R;
15
+ F = 1;
16
+ var l = Symbol.for("react.transitional.element"), _ = Symbol.for("react.fragment");
17
+ function f(d, a, s) {
18
+ var m = null;
19
+ if (s !== void 0 && (m = "" + s), a.key !== void 0 && (m = "" + a.key), "key" in a) {
20
+ s = {};
21
+ for (var E in a)
22
+ E !== "key" && (s[E] = a[E]);
23
+ } else s = a;
24
+ return a = s.ref, {
25
+ $$typeof: l,
26
+ type: d,
27
+ key: m,
28
+ ref: a !== void 0 ? a : null,
29
+ props: s
30
+ };
31
+ }
32
+ return R.Fragment = _, R.jsx = f, R.jsxs = f, R;
33
+ }
34
+ var b = {};
35
+ /**
36
+ * @license React
37
+ * react-jsx-runtime.development.js
38
+ *
39
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
40
+ *
41
+ * This source code is licensed under the MIT license found in the
42
+ * LICENSE file in the root directory of this source tree.
43
+ */
44
+ var D;
45
+ function te() {
46
+ return D || (D = 1, process.env.NODE_ENV !== "production" && function() {
47
+ function l(e) {
48
+ if (e == null) return null;
49
+ if (typeof e == "function")
50
+ return e.$$typeof === Z ? null : e.displayName || e.name || null;
51
+ if (typeof e == "string") return e;
52
+ switch (e) {
53
+ case p:
54
+ return "Fragment";
55
+ case J:
56
+ return "Profiler";
57
+ case U:
58
+ return "StrictMode";
59
+ case G:
60
+ return "Suspense";
61
+ case X:
62
+ return "SuspenseList";
63
+ case H:
64
+ return "Activity";
65
+ }
66
+ if (typeof e == "object")
67
+ switch (typeof e.tag == "number" && console.error(
68
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
69
+ ), e.$$typeof) {
70
+ case W:
71
+ return "Portal";
72
+ case z:
73
+ return (e.displayName || "Context") + ".Provider";
74
+ case q:
75
+ return (e._context.displayName || "Context") + ".Consumer";
76
+ case V:
77
+ var r = e.render;
78
+ return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
79
+ case B:
80
+ return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
81
+ case g:
82
+ r = e._payload, e = e._init;
83
+ try {
84
+ return l(e(r));
85
+ } catch {
86
+ }
87
+ }
88
+ return null;
89
+ }
90
+ function _(e) {
91
+ return "" + e;
92
+ }
93
+ function f(e) {
94
+ try {
95
+ _(e);
96
+ var r = !1;
97
+ } catch {
98
+ r = !0;
99
+ }
100
+ if (r) {
101
+ r = console;
102
+ var t = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
103
+ return t.call(
104
+ r,
105
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
106
+ n
107
+ ), _(e);
108
+ }
109
+ }
110
+ function d(e) {
111
+ if (e === p) return "<>";
112
+ if (typeof e == "object" && e !== null && e.$$typeof === g)
113
+ return "<...>";
114
+ try {
115
+ var r = l(e);
116
+ return r ? "<" + r + ">" : "<...>";
117
+ } catch {
118
+ return "<...>";
119
+ }
120
+ }
121
+ function a() {
122
+ var e = k.A;
123
+ return e === null ? null : e.getOwner();
124
+ }
125
+ function s() {
126
+ return Error("react-stack-top-frame");
127
+ }
128
+ function m(e) {
129
+ if (h.call(e, "key")) {
130
+ var r = Object.getOwnPropertyDescriptor(e, "key").get;
131
+ if (r && r.isReactWarning) return !1;
132
+ }
133
+ return e.key !== void 0;
134
+ }
135
+ function E(e, r) {
136
+ function t() {
137
+ y || (y = !0, console.error(
138
+ "%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)",
139
+ r
140
+ ));
141
+ }
142
+ t.isReactWarning = !0, Object.defineProperty(e, "key", {
143
+ get: t,
144
+ configurable: !0
145
+ });
146
+ }
147
+ function L() {
148
+ var e = l(this.type);
149
+ return N[e] || (N[e] = !0, console.error(
150
+ "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."
151
+ )), e = this.props.ref, e !== void 0 ? e : null;
152
+ }
153
+ function M(e, r, t, n, c, u, A, S) {
154
+ return t = u.ref, e = {
155
+ $$typeof: x,
156
+ type: e,
157
+ key: r,
158
+ props: u,
159
+ _owner: c
160
+ }, (t !== void 0 ? t : null) !== null ? Object.defineProperty(e, "ref", {
161
+ enumerable: !1,
162
+ get: L
163
+ }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
164
+ configurable: !1,
165
+ enumerable: !1,
166
+ writable: !0,
167
+ value: 0
168
+ }), Object.defineProperty(e, "_debugInfo", {
169
+ configurable: !1,
170
+ enumerable: !1,
171
+ writable: !0,
172
+ value: null
173
+ }), Object.defineProperty(e, "_debugStack", {
174
+ configurable: !1,
175
+ enumerable: !1,
176
+ writable: !0,
177
+ value: A
178
+ }), Object.defineProperty(e, "_debugTask", {
179
+ configurable: !1,
180
+ enumerable: !1,
181
+ writable: !0,
182
+ value: S
183
+ }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
184
+ }
185
+ function j(e, r, t, n, c, u, A, S) {
186
+ var o = r.children;
187
+ if (o !== void 0)
188
+ if (n)
189
+ if (Q(o)) {
190
+ for (n = 0; n < o.length; n++)
191
+ w(o[n]);
192
+ Object.freeze && Object.freeze(o);
193
+ } else
194
+ console.error(
195
+ "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
196
+ );
197
+ else w(o);
198
+ if (h.call(r, "key")) {
199
+ o = l(e);
200
+ var i = Object.keys(r).filter(function(K) {
201
+ return K !== "key";
202
+ });
203
+ n = 0 < i.length ? "{key: someKey, " + i.join(": ..., ") + ": ...}" : "{key: someKey}", I[o + n] || (i = 0 < i.length ? "{" + i.join(": ..., ") + ": ...}" : "{}", console.error(
204
+ `A props object containing a "key" prop is being spread into JSX:
205
+ let props = %s;
206
+ <%s {...props} />
207
+ React keys must be passed directly to JSX without using spread:
208
+ let props = %s;
209
+ <%s key={someKey} {...props} />`,
210
+ n,
211
+ o,
212
+ i,
213
+ o
214
+ ), I[o + n] = !0);
215
+ }
216
+ if (o = null, t !== void 0 && (f(t), o = "" + t), m(r) && (f(r.key), o = "" + r.key), "key" in r) {
217
+ t = {};
218
+ for (var P in r)
219
+ P !== "key" && (t[P] = r[P]);
220
+ } else t = r;
221
+ return o && E(
222
+ t,
223
+ typeof e == "function" ? e.displayName || e.name || "Unknown" : e
224
+ ), M(
225
+ e,
226
+ o,
227
+ u,
228
+ c,
229
+ a(),
230
+ t,
231
+ A,
232
+ S
233
+ );
234
+ }
235
+ function w(e) {
236
+ typeof e == "object" && e !== null && e.$$typeof === x && e._store && (e._store.validated = 1);
237
+ }
238
+ var v = ee, x = Symbol.for("react.transitional.element"), W = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), U = Symbol.for("react.strict_mode"), J = Symbol.for("react.profiler"), q = Symbol.for("react.consumer"), z = Symbol.for("react.context"), V = Symbol.for("react.forward_ref"), G = Symbol.for("react.suspense"), X = Symbol.for("react.suspense_list"), B = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), H = Symbol.for("react.activity"), Z = Symbol.for("react.client.reference"), k = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, h = Object.prototype.hasOwnProperty, Q = Array.isArray, O = console.createTask ? console.createTask : function() {
239
+ return null;
240
+ };
241
+ v = {
242
+ "react-stack-bottom-frame": function(e) {
243
+ return e();
244
+ }
245
+ };
246
+ var y, N = {}, C = v["react-stack-bottom-frame"].bind(
247
+ v,
248
+ s
249
+ )(), Y = O(d(s)), I = {};
250
+ b.Fragment = p, b.jsx = function(e, r, t, n, c) {
251
+ var u = 1e4 > k.recentlyCreatedOwnerStacks++;
252
+ return j(
253
+ e,
254
+ r,
255
+ t,
256
+ !1,
257
+ n,
258
+ c,
259
+ u ? Error("react-stack-top-frame") : C,
260
+ u ? O(d(e)) : Y
261
+ );
262
+ }, b.jsxs = function(e, r, t, n, c) {
263
+ var u = 1e4 > k.recentlyCreatedOwnerStacks++;
264
+ return j(
265
+ e,
266
+ r,
267
+ t,
268
+ !0,
269
+ n,
270
+ c,
271
+ u ? Error("react-stack-top-frame") : C,
272
+ u ? O(d(e)) : Y
273
+ );
274
+ };
275
+ }()), b;
276
+ }
277
+ var $;
278
+ function ne() {
279
+ return $ || ($ = 1, process.env.NODE_ENV === "production" ? T.exports = re() : T.exports = te()), T.exports;
280
+ }
281
+ var ae = ne();
282
+ export {
283
+ ae as j
284
+ };
@@ -1,4 +1,4 @@
1
- import { A as r, a as e, B as s, b as t, F as p, e as B, c as d, P as u, d as g, S as P, T as i } from "../top-bar-Dqje-W3G.js";
1
+ import { A as r, a as e, B as s, b as t, F as p, e as B, c as d, P as u, d as g, S as P, T as i } from "../top-bar-DEesTo9i.js";
2
2
  export {
3
3
  r as AppBar,
4
4
  e as BadgeGroup,
@@ -1,4 +1,4 @@
1
- import { B as s, T as b } from "../tabs-I4n6MLAv.js";
1
+ import { B as s, T as b } from "../tabs-BQs53hHL.js";
2
2
  export {
3
3
  s as Breadcrumbs,
4
4
  b as Tabs
@@ -1,5 +1,5 @@
1
- import { B as e, D as r, M as t, T as s } from "../tooltip-nZW9TUz3.js";
2
- import { M as m } from "../image-rectangle-K9jmTTED.js";
1
+ import { B as e, D as r, M as t, T as s } from "../tooltip-Dpx3TpR6.js";
2
+ import { M as m } from "../image-rectangle-CCvXv24a.js";
3
3
  export {
4
4
  e as BottomSheet,
5
5
  r as Drawer,
@@ -1,5 +1,5 @@
1
- import { A as t, a as e, b as r, c as n, d as o, e as c, f as i, B as u, s as A, g as B, h as g, i as l, l as I, j as d, k as m, C as b, F as C, H as h, m as p, I as T, p as f, r as x, q as H, N as S, T as k, n as q, o as F } from "../image-rectangle-K9jmTTED.js";
2
- import { S as N } from "../snackbar-DH8jCh2V.js";
1
+ import { A as t, a as e, b as r, c as n, d as o, e as c, f as i, B as u, s as A, g as B, h as g, i as l, l as I, j as d, k as m, C as b, F as C, H as h, m as p, I as T, p as f, r as x, q as H, N as S, T as k, n as q, o as F } from "../image-rectangle-CCvXv24a.js";
2
+ import { S as N } from "../snackbar-CTq4MLir.js";
3
3
  export {
4
4
  t as Accordion,
5
5
  e as ActionCard,
@@ -1,4 +1,4 @@
1
- import { S as s, u as e } from "../use-snackbars-Cou8L41F.js";
1
+ import { S as s, u as e } from "../use-snackbars-B6lnVjrX.js";
2
2
  export {
3
3
  s as SnackbarsProvider,
4
4
  e as useSnackbars
@@ -1,6 +1,7 @@
1
- import { c as l, j as o, a as d } from "./index-DOdDlCoL.js";
1
+ import { j as o } from "./jsx-runtime-C5mzlN2N.js";
2
2
  import * as m from "react";
3
3
  import u, { forwardRef as f } from "react";
4
+ import { c as l, a as d } from "./index-BDtz_hQY.js";
4
5
  const p = l(
5
6
  "inline-block border animate-spin rounded-full",
6
7
  {
@@ -189,7 +190,7 @@ const j = l(
189
190
  indeterminate: !1
190
191
  }
191
192
  }
192
- ), S = f(({ value: a, max: e = 100, color: n = "primary", className: r, ...s }, t) => {
193
+ ), L = f(({ value: a, max: e = 100, color: n = "primary", className: r, ...s }, t) => {
193
194
  const i = Math.max(0, Math.min(a, e));
194
195
  return /* @__PURE__ */ o.jsx(
195
196
  "div",
@@ -236,7 +237,7 @@ const j = l(
236
237
  shape: "rounded",
237
238
  size: "md"
238
239
  }
239
- }), L = m.forwardRef(
240
+ }), k = m.forwardRef(
240
241
  function({ shape: e = "rounded", size: n = "md", height: r, className: s, style: t, ...i }, c) {
241
242
  const g = ["sm", "md", "lg", "xl"].includes(n) ? n : "md", b = r ? {
242
243
  ...t,
@@ -272,6 +273,6 @@ const j = l(
272
273
  );
273
274
  export {
274
275
  x as L,
275
- S as P,
276
- L as S
276
+ L as P,
277
+ k as S
277
278
  };
@@ -1,6 +1,7 @@
1
- import { c, j as r, a as d } from "./index-DOdDlCoL.js";
2
- import { forwardRef as i } from "react";
3
- const l = c(
1
+ import { j as a } from "./jsx-runtime-C5mzlN2N.js";
2
+ import { forwardRef as c } from "react";
3
+ import { c as d, a as i } from "./index-BDtz_hQY.js";
4
+ const l = d(
4
5
  "flex items-center gap-2 px-4 py-2 rounded-sm w-auto mx-4 sm:mx-0 sm:w-fit relative shadow-sm",
5
6
  {
6
7
  variants: {
@@ -16,35 +17,35 @@ const l = c(
16
17
  }
17
18
  }
18
19
  ), b = ({
19
- children: a,
20
+ children: r,
20
21
  ...s
21
- }) => /* @__PURE__ */ r.jsx(
22
+ }) => /* @__PURE__ */ a.jsx(
22
23
  "span",
23
24
  {
24
25
  className: "flex-1 truncate text-sm",
25
26
  "data-testid": "snackbar-text",
26
27
  ...s,
27
- children: a
28
+ children: r
28
29
  }
29
30
  ), x = ({
30
- children: a,
31
+ children: r,
31
32
  ...s
32
- }) => /* @__PURE__ */ r.jsx("span", { className: "ml-2", "data-testid": "snackbar-action", ...s, children: a }), g = i(
33
- ({ children: a, action: s, color: e, className: t, ...o }, n) => /* @__PURE__ */ r.jsxs(
33
+ }) => /* @__PURE__ */ a.jsx("span", { className: "ml-2", "data-testid": "snackbar-action", ...s, children: r }), u = c(
34
+ ({ children: r, action: s, color: t, className: e, ...o }, n) => /* @__PURE__ */ a.jsxs(
34
35
  "div",
35
36
  {
36
37
  ref: n,
37
38
  role: "status",
38
39
  "aria-live": "polite",
39
- className: d(l({ color: e }), t),
40
+ className: i(l({ color: t }), e),
40
41
  ...o,
41
42
  children: [
42
- /* @__PURE__ */ r.jsx(b, { children: a }),
43
- s && /* @__PURE__ */ r.jsx(x, { children: s })
43
+ /* @__PURE__ */ a.jsx(b, { children: r }),
44
+ s && /* @__PURE__ */ a.jsx(x, { children: s })
44
45
  ]
45
46
  }
46
47
  )
47
48
  );
48
49
  export {
49
- g as S
50
+ u as S
50
51
  };