@dimasbaguspm/versaur 0.0.57 → 0.0.59
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/desktop-breakpoint-CuSom-sN.js +47 -0
- package/dist/js/feedbacks/index.js +1 -1
- package/dist/js/forms/index.js +1 -1
- package/dist/js/helpers/index.js +14 -0
- package/dist/js/{image-rectangle-K9jmTTED.js → image-rectangle-CCvXv24a.js} +819 -926
- package/dist/js/{index-DOdDlCoL.js → index-BDtz_hQY.js} +520 -802
- package/dist/js/index.js +72 -59
- package/dist/js/jsx-runtime-C5mzlN2N.js +284 -0
- package/dist/js/layouts/index.js +9 -8
- package/dist/js/navigation/index.js +1 -1
- package/dist/js/overlays/index.js +2 -2
- package/dist/js/primitive/index.js +2 -2
- package/dist/js/providers/index.js +1 -1
- package/dist/js/{skeleton-BNZyaRjo.js → skeleton-BRwIW26B.js} +6 -5
- package/dist/js/{snackbar-DH8jCh2V.js → snackbar-CTq4MLir.js} +14 -13
- package/dist/js/{tabs-CmfJNCe6.js → tabs-BQs53hHL.js} +8 -7
- package/dist/js/{time-picker-input-BgbyllDK.js → time-picker-input-Disd231b.js} +24 -23
- package/dist/js/{tooltip-nZW9TUz3.js → tooltip-Dpx3TpR6.js} +211 -205
- package/dist/js/top-bar-B2nzldfs.js +1074 -0
- package/dist/js/{use-snackbars-Cou8L41F.js → use-snackbars-B6lnVjrX.js} +14 -13
- package/dist/types/helpers/index.d.ts +1 -0
- package/dist/types/helpers/match-media/built-in/components/desktop-breakpoint.d.ts +18 -0
- package/dist/types/helpers/match-media/built-in/components/index.d.ts +3 -0
- package/dist/types/helpers/match-media/built-in/components/mobile-breakpoint.d.ts +18 -0
- package/dist/types/helpers/match-media/built-in/components/tablet-breakpoint.d.ts +18 -0
- package/dist/types/helpers/match-media/built-in/hooks/index.d.ts +3 -0
- package/dist/types/helpers/match-media/built-in/hooks/use-desktop-breakpoint.d.ts +11 -0
- package/dist/types/helpers/match-media/built-in/hooks/use-mobile-breakpoint.d.ts +11 -0
- package/dist/types/helpers/match-media/built-in/hooks/use-tablet-breakpoint.d.ts +11 -0
- package/dist/types/helpers/match-media/built-in/index.d.ts +2 -0
- package/dist/types/helpers/match-media/constants.d.ts +7 -0
- package/dist/types/helpers/match-media/index.d.ts +4 -0
- package/dist/types/helpers/match-media/match-media.d.ts +25 -0
- package/dist/types/helpers/match-media/test-helpers.d.ts +21 -0
- package/dist/types/helpers/match-media/use-match-media.d.ts +15 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/layouts/app-layout/app-layout.atoms.d.ts +6 -0
- package/dist/types/layouts/app-layout/app-layout.d.ts +8 -0
- package/dist/types/layouts/app-layout/index.d.ts +2 -0
- package/dist/types/layouts/app-layout/types.d.ts +52 -0
- package/dist/types/layouts/index.d.ts +2 -1
- package/dist/types/layouts/page-content/types.d.ts +0 -6
- package/dist/types/layouts/page-header/types.d.ts +14 -6
- package/dist/types/layouts/page-layout/index.d.ts +2 -0
- package/dist/types/layouts/page-layout/page-layout.atoms.d.ts +3 -0
- package/dist/types/layouts/page-layout/page-layout.d.ts +5 -0
- package/dist/types/layouts/page-layout/types.d.ts +37 -0
- package/dist/types/layouts/side-bar/side-bar.atoms.d.ts +1 -1
- package/dist/types/layouts/side-bar/side-bar.d.ts +1 -1
- package/dist/types/layouts/side-bar/types.d.ts +55 -18
- package/dist/types/overlays/menu/types.d.ts +8 -8
- package/dist/types/primitive/button-menu/types.d.ts +1 -1
- package/dist/types/primitive/button-menu-icon/types.d.ts +1 -1
- package/dist/utils/enforce-subpath-import.js +5 -2
- package/package.json +5 -1
- package/dist/js/top-bar-Do2JqSqe.js +0 -908
- package/dist/types/layouts/app-bar/app-bar.atoms.d.ts +0 -25
- package/dist/types/layouts/app-bar/app-bar.d.ts +0 -9
- package/dist/types/layouts/app-bar/index.d.ts +0 -2
- package/dist/types/layouts/app-bar/types.d.ts +0 -46
- package/dist/types/overlays/menu/use-menu.d.ts +0 -15
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { j as t } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
|
+
import { useState as m, useEffect as h } from "react";
|
|
3
|
+
const u = "(max-width: 767px)", c = "(min-width: 768px) and (max-width: 1023px)", d = "(min-width: 1024px)";
|
|
4
|
+
function n(e) {
|
|
5
|
+
const [a, s] = m(() => typeof window > "u" ? !1 : window.matchMedia(e).matches);
|
|
6
|
+
return h(() => {
|
|
7
|
+
if (typeof window > "u") return;
|
|
8
|
+
const r = window.matchMedia(e), o = (f) => s(f.matches);
|
|
9
|
+
return s(r.matches), r.addEventListener("change", o), () => {
|
|
10
|
+
r.removeEventListener("change", o);
|
|
11
|
+
};
|
|
12
|
+
}, [e]), a;
|
|
13
|
+
}
|
|
14
|
+
function i({ query: e, children: a }) {
|
|
15
|
+
return n(e) ? /* @__PURE__ */ t.jsx(t.Fragment, { children: a }) : null;
|
|
16
|
+
}
|
|
17
|
+
function w() {
|
|
18
|
+
return n(u);
|
|
19
|
+
}
|
|
20
|
+
function B() {
|
|
21
|
+
return n(c);
|
|
22
|
+
}
|
|
23
|
+
function M() {
|
|
24
|
+
return n(d);
|
|
25
|
+
}
|
|
26
|
+
function E({ children: e }) {
|
|
27
|
+
return /* @__PURE__ */ t.jsx(i, { query: u, children: e });
|
|
28
|
+
}
|
|
29
|
+
function T({ children: e }) {
|
|
30
|
+
return /* @__PURE__ */ t.jsx(i, { query: c, children: e });
|
|
31
|
+
}
|
|
32
|
+
function k({ children: e }) {
|
|
33
|
+
return /* @__PURE__ */ t.jsx(i, { query: d, children: e });
|
|
34
|
+
}
|
|
35
|
+
export {
|
|
36
|
+
u as B,
|
|
37
|
+
k as D,
|
|
38
|
+
i as M,
|
|
39
|
+
T,
|
|
40
|
+
c as a,
|
|
41
|
+
d as b,
|
|
42
|
+
w as c,
|
|
43
|
+
B as d,
|
|
44
|
+
M as e,
|
|
45
|
+
E as f,
|
|
46
|
+
n as u
|
|
47
|
+
};
|
package/dist/js/forms/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as a, b as n, a as p, D as u, E as s, P as i, c as I, R as l, S as c, d as S, f as r, e as h, g as o, i as x, T as P, h as T, j as b } from "../time-picker-input-
|
|
1
|
+
import { C as a, b as n, a as p, D as u, E as s, P as i, c as I, R as l, S as c, d as S, f as r, e as h, g as o, i as x, T as P, h as T, j as b } from "../time-picker-input-Disd231b.js";
|
|
2
2
|
export {
|
|
3
3
|
a as CheckboxInput,
|
|
4
4
|
n as ChipMultipleInput,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { b as s, B as t, a as o, D as B, M as i, f as p, T, e as k, u as r, c as M, d as n } from "../desktop-breakpoint-CuSom-sN.js";
|
|
2
|
+
export {
|
|
3
|
+
s as BREAKPOINT_DESKTOP,
|
|
4
|
+
t as BREAKPOINT_MOBILE,
|
|
5
|
+
o as BREAKPOINT_TABLET,
|
|
6
|
+
B as DesktopBreakpoint,
|
|
7
|
+
i as MatchMedia,
|
|
8
|
+
p as MobileBreakpoint,
|
|
9
|
+
T as TabletBreakpoint,
|
|
10
|
+
k as useDesktopBreakpoint,
|
|
11
|
+
r as useMatchMedia,
|
|
12
|
+
M as useMobileBreakpoint,
|
|
13
|
+
n as useTabletBreakpoint
|
|
14
|
+
};
|