@dimasbaguspm/versaur 0.0.38 → 0.0.39
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/js/{bottom-sheet-input-DnDTMRzo.js → bottom-sheet-input-Ch9h_vZC.js} +1 -1
- package/dist/js/forms/index.js +1 -1
- package/dist/js/index.js +2 -2
- package/dist/js/providers/index.js +1 -1
- package/dist/js/{use-snackbars-B0MaRlg1.js → use-snackbars-CKi6BQDT.js} +6 -6
- package/package.json +1 -1
package/dist/js/forms/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as a, C as n, b as p, a as u, D as s, k as I, E as i, M as l, P as S, R as c, d as r, c as g, S as h, e as o, j as m, i as M, h as b, f as k, T as x, g as C } from "../bottom-sheet-input-
|
|
1
|
+
import { B as a, C as n, b as p, a as u, D as s, k as I, E as i, M as l, P as S, R as c, d as r, c as g, S as h, e as o, j as m, i as M, h as b, f as k, T as x, g as C } from "../bottom-sheet-input-Ch9h_vZC.js";
|
|
2
2
|
export {
|
|
3
3
|
a as BottomSheetInput,
|
|
4
4
|
n as CheckboxInput,
|
package/dist/js/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { L as e, P as s, S as r } from "./skeleton-BNZyaRjo.js";
|
|
2
2
|
import { A as n, a as u, B as p, b as i, F as l, e as I, P as c, c as S, d as m, S as B, T as g } from "./top-bar-CKFu3xrL.js";
|
|
3
|
-
import { B as b, C as T, b as x, a as h, D as f, k as C, E as M, M as P, P as A, R as k, d as F, c as D, S as L, e as H, j as R, i as w, h as G, f as j, T as q, g as v } from "./bottom-sheet-input-
|
|
3
|
+
import { B as b, C as T, b as x, a as h, D as f, k as C, E as M, M as P, P as A, R as k, d as F, c as D, S as L, e as H, j as R, i as w, h as G, f as j, T as q, g as v } from "./bottom-sheet-input-Ch9h_vZC.js";
|
|
4
4
|
import { B as E, D as N, M as z } from "./bottom-sheet-B9Knzg2N.js";
|
|
5
5
|
import { A as K, a as O, b as Q, c as U, d as V, e as W, B as X, s as Y, f as Z, g as _, j as $, k as aa, h as ta, i as ea, C as sa, l as ra, F as oa, H as na, m as ua, I as pa, p as ia, r as la, q as Ia, M as ca, N as Sa, T as ma, n as Ba, o as ga } from "./image-rectangle-C1ydvFGL.js";
|
|
6
6
|
import { T as ba } from "./tooltip-CvOzRRkS.js";
|
|
7
7
|
import { S as xa } from "./snackbar-DH8jCh2V.js";
|
|
8
8
|
import { B as fa, T as Ca } from "./tabs-38zAflsT.js";
|
|
9
|
-
import { S as Pa, u as Aa } from "./use-snackbars-
|
|
9
|
+
import { S as Pa, u as Aa } from "./use-snackbars-CKi6BQDT.js";
|
|
10
10
|
export {
|
|
11
11
|
K as Accordion,
|
|
12
12
|
O as Alert,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as d, j as c } from "./index-DOdDlCoL.js";
|
|
2
|
-
import { createContext as x, useState as
|
|
3
|
-
import { S as
|
|
2
|
+
import { createContext as x, useState as p, useRef as k, useCallback as m, useEffect as S, useMemo as v, useContext as w } from "react";
|
|
3
|
+
import { S as h } from "./snackbar-DH8jCh2V.js";
|
|
4
4
|
const f = x(
|
|
5
5
|
null
|
|
6
6
|
), j = d(
|
|
7
7
|
[
|
|
8
8
|
"fixed z-100 flex flex-col gap-2 px-0 pb-2",
|
|
9
|
-
"w-
|
|
9
|
+
"w-[80vw] left-0 top-4",
|
|
10
10
|
// mobile: full width
|
|
11
11
|
"sm:w-auto sm:left-4 sm:bottom-4 sm:max-w-sm"
|
|
12
12
|
// desktop/tablet
|
|
@@ -23,7 +23,7 @@ const f = x(
|
|
|
23
23
|
}
|
|
24
24
|
}), C = 4e3;
|
|
25
25
|
function E() {
|
|
26
|
-
const [a, s] =
|
|
26
|
+
const [a, s] = p([]), t = k({}), n = m((e) => {
|
|
27
27
|
s((r) => r.filter((o) => o.id !== e)), t.current[e] && (clearTimeout(t.current[e]), delete t.current[e]);
|
|
28
28
|
}, []), i = m(
|
|
29
29
|
(e, r, o) => {
|
|
@@ -65,7 +65,7 @@ const V = ({ children: a }) => {
|
|
|
65
65
|
}),
|
|
66
66
|
style: { transitionDelay: `${r * 60}ms` },
|
|
67
67
|
children: /* @__PURE__ */ c.jsx(
|
|
68
|
-
|
|
68
|
+
h,
|
|
69
69
|
{
|
|
70
70
|
color: e.color,
|
|
71
71
|
action: e.action,
|
|
@@ -83,7 +83,7 @@ const V = ({ children: a }) => {
|
|
|
83
83
|
] });
|
|
84
84
|
};
|
|
85
85
|
function N() {
|
|
86
|
-
const a =
|
|
86
|
+
const a = w(f);
|
|
87
87
|
if (!a)
|
|
88
88
|
throw new Error("useSnackbars must be used within a SnackbarsProvider");
|
|
89
89
|
return a;
|