@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.
- package/dist/js/helpers/index.js +28 -10
- package/dist/js/index.js +99 -80
- package/dist/js/layouts/index.js +9 -8
- package/dist/js/tablet-landscape-breakpoint-DUeRFxIA.js +113 -0
- package/dist/js/top-bar-DMBbEIlR.js +1078 -0
- package/dist/types/helpers/match-media/built-in/components/index.d.ts +6 -0
- package/dist/types/helpers/match-media/built-in/components/mobile-and-tablet-breakpoint.d.ts +18 -0
- package/dist/types/helpers/match-media/built-in/components/mobile-landscape-breakpoint.d.ts +18 -0
- package/dist/types/helpers/match-media/built-in/components/mobile-portrait-breakpoint.d.ts +18 -0
- package/dist/types/helpers/match-media/built-in/components/tablet-and-desktop-breakpoint.d.ts +18 -0
- package/dist/types/helpers/match-media/built-in/components/tablet-landscape-breakpoint.d.ts +18 -0
- package/dist/types/helpers/match-media/built-in/components/tablet-portrait-breakpoint.d.ts +18 -0
- package/dist/types/helpers/match-media/built-in/hooks/index.d.ts +6 -0
- package/dist/types/helpers/match-media/built-in/hooks/use-mobile-and-tablet-breakpoint.d.ts +11 -0
- package/dist/types/helpers/match-media/built-in/hooks/use-mobile-landscape-breakpoint.d.ts +11 -0
- package/dist/types/helpers/match-media/built-in/hooks/use-mobile-portrait-breakpoint.d.ts +11 -0
- package/dist/types/helpers/match-media/built-in/hooks/use-tablet-and-desktop-breakpoint.d.ts +11 -0
- package/dist/types/helpers/match-media/built-in/hooks/use-tablet-landscape-breakpoint.d.ts +11 -0
- package/dist/types/helpers/match-media/built-in/hooks/use-tablet-portrait-breakpoint.d.ts +11 -0
- package/dist/types/helpers/match-media/constants.d.ts +12 -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 +0 -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/utils/enforce-subpath-import.js +2 -1
- package/package.json +1 -1
- package/dist/js/desktop-breakpoint-CuSom-sN.js +0 -47
- package/dist/js/top-bar-DEesTo9i.js +0 -932
- 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/js/helpers/index.js
CHANGED
|
@@ -1,14 +1,32 @@
|
|
|
1
|
-
import { b as s, B as t,
|
|
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
|
|
6
|
-
B as
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
|
2
|
-
import { A as n, a as
|
|
3
|
-
import { C as
|
|
4
|
-
import { B as
|
|
5
|
-
import { A as
|
|
6
|
-
import { S as
|
|
7
|
-
import { B as
|
|
8
|
-
import { S as
|
|
9
|
-
import { b as
|
|
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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
n as
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
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
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
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
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
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
|
-
|
|
56
|
+
Ba as ImageRectangle,
|
|
51
57
|
ua as ImageSquare,
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
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
|
-
|
|
61
|
-
|
|
62
|
-
|
|
69
|
+
A as PageLayout,
|
|
70
|
+
c as PageLoader,
|
|
71
|
+
m as PinField,
|
|
72
|
+
g as PriceInput,
|
|
63
73
|
t as ProgressIndicator,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
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
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
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
|
};
|
package/dist/js/layouts/index.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { A as
|
|
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
|
-
|
|
4
|
-
|
|
3
|
+
e as AppLayout,
|
|
4
|
+
r as BadgeGroup,
|
|
5
5
|
s as BottomBar,
|
|
6
6
|
t as ButtonGroup,
|
|
7
7
|
p as FilterChipGroup,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
g as
|
|
12
|
-
P as
|
|
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
|
+
};
|