@dimasbaguspm/versaur 0.0.58 → 0.0.60

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 (42) hide show
  1. package/dist/js/helpers/index.js +28 -10
  2. package/dist/js/index.js +99 -80
  3. package/dist/js/layouts/index.js +9 -8
  4. package/dist/js/tablet-landscape-breakpoint-DUeRFxIA.js +113 -0
  5. package/dist/js/top-bar-DMBbEIlR.js +1078 -0
  6. package/dist/types/helpers/match-media/built-in/components/index.d.ts +6 -0
  7. package/dist/types/helpers/match-media/built-in/components/mobile-and-tablet-breakpoint.d.ts +18 -0
  8. package/dist/types/helpers/match-media/built-in/components/mobile-landscape-breakpoint.d.ts +18 -0
  9. package/dist/types/helpers/match-media/built-in/components/mobile-portrait-breakpoint.d.ts +18 -0
  10. package/dist/types/helpers/match-media/built-in/components/tablet-and-desktop-breakpoint.d.ts +18 -0
  11. package/dist/types/helpers/match-media/built-in/components/tablet-landscape-breakpoint.d.ts +18 -0
  12. package/dist/types/helpers/match-media/built-in/components/tablet-portrait-breakpoint.d.ts +18 -0
  13. package/dist/types/helpers/match-media/built-in/hooks/index.d.ts +6 -0
  14. package/dist/types/helpers/match-media/built-in/hooks/use-mobile-and-tablet-breakpoint.d.ts +11 -0
  15. package/dist/types/helpers/match-media/built-in/hooks/use-mobile-landscape-breakpoint.d.ts +11 -0
  16. package/dist/types/helpers/match-media/built-in/hooks/use-mobile-portrait-breakpoint.d.ts +11 -0
  17. package/dist/types/helpers/match-media/built-in/hooks/use-tablet-and-desktop-breakpoint.d.ts +11 -0
  18. package/dist/types/helpers/match-media/built-in/hooks/use-tablet-landscape-breakpoint.d.ts +11 -0
  19. package/dist/types/helpers/match-media/built-in/hooks/use-tablet-portrait-breakpoint.d.ts +11 -0
  20. package/dist/types/helpers/match-media/constants.d.ts +12 -0
  21. package/dist/types/layouts/app-layout/app-layout.atoms.d.ts +6 -0
  22. package/dist/types/layouts/app-layout/app-layout.d.ts +8 -0
  23. package/dist/types/layouts/app-layout/index.d.ts +2 -0
  24. package/dist/types/layouts/app-layout/types.d.ts +52 -0
  25. package/dist/types/layouts/index.d.ts +2 -1
  26. package/dist/types/layouts/page-content/types.d.ts +0 -6
  27. package/dist/types/layouts/page-header/types.d.ts +0 -6
  28. package/dist/types/layouts/page-layout/index.d.ts +2 -0
  29. package/dist/types/layouts/page-layout/page-layout.atoms.d.ts +3 -0
  30. package/dist/types/layouts/page-layout/page-layout.d.ts +5 -0
  31. package/dist/types/layouts/page-layout/types.d.ts +37 -0
  32. package/dist/types/layouts/side-bar/side-bar.atoms.d.ts +1 -1
  33. package/dist/types/layouts/side-bar/side-bar.d.ts +1 -1
  34. package/dist/types/layouts/side-bar/types.d.ts +55 -18
  35. package/dist/utils/enforce-subpath-import.js +2 -1
  36. package/package.json +1 -1
  37. package/dist/js/desktop-breakpoint-CuSom-sN.js +0 -47
  38. package/dist/js/top-bar-DEesTo9i.js +0 -932
  39. package/dist/types/layouts/app-bar/app-bar.atoms.d.ts +0 -25
  40. package/dist/types/layouts/app-bar/app-bar.d.ts +0 -9
  41. package/dist/types/layouts/app-bar/index.d.ts +0 -2
  42. package/dist/types/layouts/app-bar/types.d.ts +0 -46
@@ -1,14 +1,32 @@
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";
1
+ import { b as s, B as t, c as o, f as B, e as T, a as i, d as r, h as p, g as n, D as A, M as k, s as E, r as b, w as l, v as P, t as M, T as O, y as _, x as I, k as L, u as N, l as R, i as d, o as u, n as D, m as K, j as c, q as S, p as h } from "../tablet-landscape-breakpoint-DUeRFxIA.js";
2
2
  export {
3
3
  s as BREAKPOINT_DESKTOP,
4
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
5
+ o as BREAKPOINT_MOBILE_AND_TABLET,
6
+ B as BREAKPOINT_MOBILE_LANDSCAPE,
7
+ T as BREAKPOINT_MOBILE_PORTRAIT,
8
+ i as BREAKPOINT_TABLET,
9
+ r as BREAKPOINT_TABLET_AND_DESKTOP,
10
+ p as BREAKPOINT_TABLET_LANDSCAPE,
11
+ n as BREAKPOINT_TABLET_PORTRAIT,
12
+ A as DesktopBreakpoint,
13
+ k as MatchMedia,
14
+ E as MobileAndTabletBreakpoint,
15
+ b as MobileBreakpoint,
16
+ l as MobileLandscapeBreakpoint,
17
+ P as MobilePortraitBreakpoint,
18
+ M as TabletAndDesktopBreakpoint,
19
+ O as TabletBreakpoint,
20
+ _ as TabletLandscapeBreakpoint,
21
+ I as TabletPortraitBreakpoint,
22
+ L as useDesktopBreakpoint,
23
+ N as useMatchMedia,
24
+ R as useMobileAndTabletBreakpoint,
25
+ d as useMobileBreakpoint,
26
+ u as useMobileLandscapeBreakpoint,
27
+ D as useMobilePortraitBreakpoint,
28
+ K as useTabletAndDesktopBreakpoint,
29
+ c as useTabletBreakpoint,
30
+ S as useTabletLandscapeBreakpoint,
31
+ h as useTabletPortraitBreakpoint
14
32
  };
package/dist/js/index.js CHANGED
@@ -1,90 +1,109 @@
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";
1
+ import { L as s, P as t, S as o } from "./skeleton-BRwIW26B.js";
2
+ import { A as n, a as i, B as p, b as B, F as u, f as T, c as l, P as I, d as A, e as c, S as b, T as d } from "./top-bar-DMBbEIlR.js";
3
+ import { C as k, b as M, a as E, D as S, E as L, P as m, c as g, R as O, S as R, d as _, f as h, e as x, g as D, i as N, T as f, h as C, j as K } from "./time-picker-input-Disd231b.js";
4
+ import { B as y, D as H, M as j, T as q } from "./tooltip-Dpx3TpR6.js";
5
+ import { A as w, a as G, b as z, c as J, 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 aa, j as ea, k as sa, C as ta, F as oa, H as ra, m as na, I as ia, p as pa, r as Ba, q as ua, M as Ta, N as la, T as Ia, n as Aa, o as ca } from "./image-rectangle-CCvXv24a.js";
6
+ import { S as da } from "./snackbar-CTq4MLir.js";
7
+ import { B as ka, T as Ma } from "./tabs-BQs53hHL.js";
8
+ import { S as Sa, u as La } from "./use-snackbars-B6lnVjrX.js";
9
+ import { b as ga, B as Oa, c as Ra, f as _a, e as ha, a as xa, d as Da, h as Na, g as fa, D as Ca, M as Ka, s as Fa, r as ya, w as Ha, v as ja, t as qa, T as va, y as wa, x as Ga, k as za, u as Ja, l as Qa, i as Ua, o as Va, n as Wa, m as Xa, j as Ya, q as Za, p as $a } from "./tablet-landscape-breakpoint-DUeRFxIA.js";
10
10
  export {
11
- v as Accordion,
12
- w as ActionCard,
13
- y as Alert,
14
- z as Anchor,
15
- n as AppBar,
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,
32
- $ as ButtonIcon,
33
- aa as ButtonMenu,
11
+ w as Accordion,
12
+ G as ActionCard,
13
+ z as Alert,
14
+ J as Anchor,
15
+ n as AppLayout,
16
+ Q as Attribute,
17
+ U as AttributeList,
18
+ V as Avatar,
19
+ ga as BREAKPOINT_DESKTOP,
20
+ Oa as BREAKPOINT_MOBILE,
21
+ Ra as BREAKPOINT_MOBILE_AND_TABLET,
22
+ _a as BREAKPOINT_MOBILE_LANDSCAPE,
23
+ ha as BREAKPOINT_MOBILE_PORTRAIT,
24
+ xa as BREAKPOINT_TABLET,
25
+ Da as BREAKPOINT_TABLET_AND_DESKTOP,
26
+ Na as BREAKPOINT_TABLET_LANDSCAPE,
27
+ fa as BREAKPOINT_TABLET_PORTRAIT,
28
+ W as Badge,
29
+ i as BadgeGroup,
30
+ X as BaseImage,
31
+ p as BottomBar,
32
+ y as BottomSheet,
33
+ Y as Brand,
34
+ ka as Breadcrumbs,
35
+ Z as Button,
36
+ $ as ButtonAnchor,
37
+ B as ButtonGroup,
38
+ aa as ButtonIcon,
39
+ ea as ButtonMenu,
34
40
  sa as ButtonMenuIcon,
35
- ea as Card,
36
- b as CheckboxInput,
37
- g as ChipMultipleInput,
38
- A as ChipSingleInput,
39
- k as DateSinglePickerInput,
41
+ ta as Card,
42
+ k as CheckboxInput,
43
+ M as ChipMultipleInput,
44
+ E as ChipSingleInput,
45
+ S as DateSinglePickerInput,
40
46
  Ca as DesktopBreakpoint,
41
- G as Drawer,
42
- M as EmailInput,
43
- ta as FilterChip,
44
- B as FilterChipGroup,
45
- c as FormLayout,
46
- oa as Heading,
47
- ra as Hr,
48
- na as Icon,
47
+ H as Drawer,
48
+ L as EmailInput,
49
+ oa as FilterChip,
50
+ u as FilterChipGroup,
51
+ T as FormLayout,
52
+ ra as Heading,
53
+ na as Hr,
54
+ ia as Icon,
49
55
  pa as ImageCircle,
50
- ia as ImageRectangle,
56
+ Ba as ImageRectangle,
51
57
  ua as ImageSquare,
52
- e as LoadingIndicator,
53
- Da as MatchMedia,
54
- Ba as Menu,
55
- Ea as MobileBreakpoint,
56
- _ as Modal,
57
- ca as NoResults,
58
+ s as LoadingIndicator,
59
+ Ka as MatchMedia,
60
+ Ta as Menu,
61
+ Fa as MobileAndTabletBreakpoint,
62
+ ya as MobileBreakpoint,
63
+ Ha as MobileLandscapeBreakpoint,
64
+ ja as MobilePortraitBreakpoint,
65
+ j as Modal,
66
+ la as NoResults,
58
67
  l as PageContent,
59
68
  I as PageHeader,
60
- d as PageLoader,
61
- P as PinField,
62
- h as PriceInput,
69
+ A as PageLayout,
70
+ c as PageLoader,
71
+ m as PinField,
72
+ g as PriceInput,
63
73
  t as ProgressIndicator,
64
- x as RadioInput,
65
- f as SearchInput,
66
- C as SelectInput,
67
- D as SelectableMultipleInput,
68
- E as SelectableSingleInput,
69
- T as SideBar,
74
+ O as RadioInput,
75
+ R as SearchInput,
76
+ _ as SelectInput,
77
+ h as SelectableMultipleInput,
78
+ x as SelectableSingleInput,
79
+ b as SideBar,
70
80
  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,
81
- da as Tile,
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
81
+ da as Snackbar,
82
+ Sa as SnackbarsProvider,
83
+ D as SwitchInput,
84
+ Ia as Table,
85
+ qa as TabletAndDesktopBreakpoint,
86
+ va as TabletBreakpoint,
87
+ wa as TabletLandscapeBreakpoint,
88
+ Ga as TabletPortraitBreakpoint,
89
+ Ma as Tabs,
90
+ Aa as Text,
91
+ N as TextAreaInput,
92
+ f as TextInput,
93
+ C as TextInputAsButton,
94
+ ca as Tile,
95
+ K as TimePickerInput,
96
+ q as Tooltip,
97
+ d as TopBar,
98
+ za as useDesktopBreakpoint,
99
+ Ja as useMatchMedia,
100
+ Qa as useMobileAndTabletBreakpoint,
101
+ Ua as useMobileBreakpoint,
102
+ Va as useMobileLandscapeBreakpoint,
103
+ Wa as useMobilePortraitBreakpoint,
104
+ La as useSnackbars,
105
+ Xa as useTabletAndDesktopBreakpoint,
106
+ Ya as useTabletBreakpoint,
107
+ Za as useTabletLandscapeBreakpoint,
108
+ $a as useTabletPortraitBreakpoint
90
109
  };
@@ -1,14 +1,15 @@
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";
1
+ import { A as e, a as r, B as s, b as t, F as p, f as u, c as B, P as d, d as g, e as P, S as L, T as i } from "../top-bar-DMBbEIlR.js";
2
2
  export {
3
- r as AppBar,
4
- e as BadgeGroup,
3
+ e as AppLayout,
4
+ r as BadgeGroup,
5
5
  s as BottomBar,
6
6
  t as ButtonGroup,
7
7
  p as FilterChipGroup,
8
- B as FormLayout,
9
- d as PageContent,
10
- u as PageHeader,
11
- g as PageLoader,
12
- P as SideBar,
8
+ u as FormLayout,
9
+ B as PageContent,
10
+ d as PageHeader,
11
+ g as PageLayout,
12
+ P as PageLoader,
13
+ L as SideBar,
13
14
  i as TopBar
14
15
  };
@@ -0,0 +1,113 @@
1
+ import { j as n } from "./jsx-runtime-C5mzlN2N.js";
2
+ import { useState as A, useEffect as E } from "react";
3
+ const u = "(max-width: 767px)", c = "(min-width: 768px) and (max-width: 1023px)", p = "(min-width: 1024px)", d = "(max-width: 1023px)", B = "(min-width: 768px)", T = "(max-width: 767px) and (orientation: portrait)", x = "(max-width: 767px) and (orientation: landscape)", f = "(min-width: 768px) and (max-width: 1023px) and (orientation: portrait)", m = "(min-width: 768px) and (max-width: 1023px) and (orientation: landscape)";
4
+ function e(t) {
5
+ const [r, i] = A(() => typeof window > "u" ? !1 : window.matchMedia(t).matches);
6
+ return E(() => {
7
+ if (typeof window > "u") return;
8
+ const o = window.matchMedia(t), s = (h) => i(h.matches);
9
+ return i(o.matches), o.addEventListener("change", s), () => {
10
+ o.removeEventListener("change", s);
11
+ };
12
+ }, [t]), r;
13
+ }
14
+ function a({ query: t, children: r }) {
15
+ return e(t) ? /* @__PURE__ */ n.jsx(n.Fragment, { children: r }) : null;
16
+ }
17
+ function w() {
18
+ return e(u);
19
+ }
20
+ function M() {
21
+ return e(c);
22
+ }
23
+ function b() {
24
+ return e(p);
25
+ }
26
+ function P() {
27
+ return e(d);
28
+ }
29
+ function L() {
30
+ return e(B);
31
+ }
32
+ function O() {
33
+ return e(T);
34
+ }
35
+ function _() {
36
+ return e(x);
37
+ }
38
+ function I() {
39
+ return e(f);
40
+ }
41
+ function R() {
42
+ return e(m);
43
+ }
44
+ function j({ children: t }) {
45
+ return /* @__PURE__ */ n.jsx(a, { query: u, children: t });
46
+ }
47
+ function N({ children: t }) {
48
+ return /* @__PURE__ */ n.jsx(a, { query: c, children: t });
49
+ }
50
+ function y({ children: t }) {
51
+ return /* @__PURE__ */ n.jsx(a, { query: p, children: t });
52
+ }
53
+ function D({
54
+ children: t
55
+ }) {
56
+ return /* @__PURE__ */ n.jsx(a, { query: d, children: t });
57
+ }
58
+ function K({
59
+ children: t
60
+ }) {
61
+ return /* @__PURE__ */ n.jsx(a, { query: B, children: t });
62
+ }
63
+ function q({
64
+ children: t
65
+ }) {
66
+ return /* @__PURE__ */ n.jsx(a, { query: T, children: t });
67
+ }
68
+ function S({
69
+ children: t
70
+ }) {
71
+ return /* @__PURE__ */ n.jsx(a, { query: x, children: t });
72
+ }
73
+ function g({
74
+ children: t
75
+ }) {
76
+ return /* @__PURE__ */ n.jsx(a, { query: f, children: t });
77
+ }
78
+ function v({
79
+ children: t
80
+ }) {
81
+ return /* @__PURE__ */ n.jsx(a, { query: m, children: t });
82
+ }
83
+ export {
84
+ u as B,
85
+ y as D,
86
+ a as M,
87
+ N as T,
88
+ c as a,
89
+ p as b,
90
+ d as c,
91
+ B as d,
92
+ T as e,
93
+ x as f,
94
+ f as g,
95
+ m as h,
96
+ w as i,
97
+ M as j,
98
+ b as k,
99
+ P as l,
100
+ L as m,
101
+ O as n,
102
+ _ as o,
103
+ I as p,
104
+ R as q,
105
+ j as r,
106
+ D as s,
107
+ K as t,
108
+ e as u,
109
+ q as v,
110
+ S as w,
111
+ g as x,
112
+ v as y
113
+ };