@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
@@ -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
+ };
@@ -1,4 +1,4 @@
1
- import { L as r, P as s, S as e } from "../skeleton-BNZyaRjo.js";
1
+ import { L as r, P as s, S as e } from "../skeleton-BRwIW26B.js";
2
2
  export {
3
3
  r as LoadingIndicator,
4
4
  s as ProgressIndicator,
@@ -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-BgbyllDK.js";
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
+ };