@dimasbaguspm/versaur 0.0.59 → 0.0.61
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/forms/index.js +1 -1
- package/dist/js/helpers/index.js +28 -10
- package/dist/js/{image-rectangle-CCvXv24a.js → image-rectangle-CLLXF8w_.js} +409 -347
- package/dist/js/index.js +88 -68
- package/dist/js/layouts/index.js +1 -1
- package/dist/js/navigation/index.js +1 -1
- package/dist/js/overlays/index.js +2 -2
- package/dist/js/primitive/index.js +27 -25
- package/dist/js/tablet-landscape-breakpoint-DUeRFxIA.js +113 -0
- package/dist/js/{tabs-BQs53hHL.js → tabs-DeyqSghV.js} +1 -1
- package/dist/js/{time-picker-input-Disd231b.js → time-picker-input-B_cV6nlk.js} +854 -642
- package/dist/js/{tooltip-Dpx3TpR6.js → tooltip-C1TbSbNF.js} +1 -1
- package/dist/js/{top-bar-B2nzldfs.js → top-bar-BGJufFzt.js} +10 -6
- package/dist/types/forms/textarea-input/index.d.ts +1 -1
- package/dist/types/forms/textarea-input/textarea-input.atoms.d.ts +53 -0
- package/dist/types/forms/textarea-input/textarea-input.d.ts +1 -0
- package/dist/types/forms/textarea-input/types.d.ts +28 -0
- package/dist/types/forms/textarea-input/use-textarea-formatting.d.ts +21 -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/primitive/formatted-text/formatted-text.d.ts +10 -0
- package/dist/types/primitive/formatted-text/index.d.ts +3 -0
- package/dist/types/primitive/formatted-text/types.d.ts +19 -0
- package/dist/types/primitive/index.d.ts +1 -0
- package/dist/utils/enforce-subpath-import.js +2 -0
- package/package.json +1 -1
- package/dist/js/desktop-breakpoint-CuSom-sN.js +0 -47
package/dist/js/index.js
CHANGED
|
@@ -1,91 +1,111 @@
|
|
|
1
|
-
import { L as
|
|
2
|
-
import { A as n, a as
|
|
3
|
-
import { C as
|
|
4
|
-
import { B as y, D 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 d, T as b } from "./top-bar-BGJufFzt.js";
|
|
3
|
+
import { C as k, b as M, a as S, D as E, E as m, P as L, c as g, R as O, S as R, d as _, f as x, e as h, g as D, i as N, T as f, h as C, j as K } from "./time-picker-input-B_cV6nlk.js";
|
|
4
|
+
import { B as y, D as H, M as j, T as q } from "./tooltip-C1TbSbNF.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, u 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, m as ra, H as na, o as ia, I as pa, r as Ba, t as ua, s as Ta, M as la, N as Ia, T as Aa, p as ca, q as da, n as ba } from "./image-rectangle-CLLXF8w_.js";
|
|
6
|
+
import { S as ka } from "./snackbar-CTq4MLir.js";
|
|
7
|
+
import { B as Sa, T as Ea } from "./tabs-DeyqSghV.js";
|
|
8
|
+
import { S as La, u as ga } from "./use-snackbars-B6lnVjrX.js";
|
|
9
|
+
import { b as Ra, B as _a, c as xa, f as ha, e as Da, a as Na, d as fa, h as Ca, g as Ka, D as Fa, M as ya, s as Ha, r as ja, w as qa, v as va, t as wa, T as Ga, y as za, x as Ja, k as Qa, u as Ua, l as Va, i as Wa, o as Xa, n as Ya, m as Za, j as $a, q as ae, p as ee } from "./tablet-landscape-breakpoint-DUeRFxIA.js";
|
|
10
10
|
export {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
w as Accordion,
|
|
12
|
+
G as ActionCard,
|
|
13
13
|
z as Alert,
|
|
14
14
|
J as Anchor,
|
|
15
15
|
n as AppLayout,
|
|
16
16
|
Q as Attribute,
|
|
17
17
|
U as AttributeList,
|
|
18
18
|
V as Avatar,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
Ra as BREAKPOINT_DESKTOP,
|
|
20
|
+
_a as BREAKPOINT_MOBILE,
|
|
21
|
+
xa as BREAKPOINT_MOBILE_AND_TABLET,
|
|
22
|
+
ha as BREAKPOINT_MOBILE_LANDSCAPE,
|
|
23
|
+
Da as BREAKPOINT_MOBILE_PORTRAIT,
|
|
24
|
+
Na as BREAKPOINT_TABLET,
|
|
25
|
+
fa as BREAKPOINT_TABLET_AND_DESKTOP,
|
|
26
|
+
Ca as BREAKPOINT_TABLET_LANDSCAPE,
|
|
27
|
+
Ka as BREAKPOINT_TABLET_PORTRAIT,
|
|
22
28
|
W as Badge,
|
|
23
|
-
|
|
29
|
+
i as BadgeGroup,
|
|
24
30
|
X as BaseImage,
|
|
25
|
-
|
|
31
|
+
p as BottomBar,
|
|
26
32
|
y as BottomSheet,
|
|
27
33
|
Y as Brand,
|
|
28
|
-
|
|
34
|
+
Sa as Breadcrumbs,
|
|
29
35
|
Z as Button,
|
|
30
36
|
$ as ButtonAnchor,
|
|
31
|
-
|
|
37
|
+
B as ButtonGroup,
|
|
32
38
|
aa as ButtonIcon,
|
|
33
|
-
|
|
34
|
-
|
|
39
|
+
ea as ButtonMenu,
|
|
40
|
+
sa as ButtonMenuIcon,
|
|
35
41
|
ta as Card,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
k as CheckboxInput,
|
|
43
|
+
M as ChipMultipleInput,
|
|
44
|
+
S as ChipSingleInput,
|
|
45
|
+
E as DateSinglePickerInput,
|
|
46
|
+
Fa as DesktopBreakpoint,
|
|
47
|
+
H as Drawer,
|
|
48
|
+
m as EmailInput,
|
|
43
49
|
oa as FilterChip,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
ra as
|
|
47
|
-
na as
|
|
50
|
+
u as FilterChipGroup,
|
|
51
|
+
T as FormLayout,
|
|
52
|
+
ra as FormattedText,
|
|
53
|
+
na as Heading,
|
|
54
|
+
ia as Hr,
|
|
48
55
|
pa as Icon,
|
|
49
|
-
|
|
56
|
+
Ba as ImageCircle,
|
|
50
57
|
ua as ImageRectangle,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
+
Ta as ImageSquare,
|
|
59
|
+
s as LoadingIndicator,
|
|
60
|
+
ya as MatchMedia,
|
|
61
|
+
la as Menu,
|
|
62
|
+
Ha as MobileAndTabletBreakpoint,
|
|
63
|
+
ja as MobileBreakpoint,
|
|
64
|
+
qa as MobileLandscapeBreakpoint,
|
|
65
|
+
va as MobilePortraitBreakpoint,
|
|
66
|
+
j as Modal,
|
|
67
|
+
Ia as NoResults,
|
|
58
68
|
l as PageContent,
|
|
59
69
|
I as PageHeader,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
70
|
+
A as PageLayout,
|
|
71
|
+
c as PageLoader,
|
|
72
|
+
L as PinField,
|
|
73
|
+
g as PriceInput,
|
|
64
74
|
t as ProgressIndicator,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
75
|
+
O as RadioInput,
|
|
76
|
+
R as SearchInput,
|
|
77
|
+
_ as SelectInput,
|
|
78
|
+
x as SelectableMultipleInput,
|
|
79
|
+
h as SelectableSingleInput,
|
|
80
|
+
d as SideBar,
|
|
71
81
|
o as Skeleton,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
82
|
+
ka as Snackbar,
|
|
83
|
+
La as SnackbarsProvider,
|
|
84
|
+
D as SwitchInput,
|
|
85
|
+
Aa as Table,
|
|
86
|
+
wa as TabletAndDesktopBreakpoint,
|
|
87
|
+
Ga as TabletBreakpoint,
|
|
88
|
+
za as TabletLandscapeBreakpoint,
|
|
89
|
+
Ja as TabletPortraitBreakpoint,
|
|
90
|
+
Ea as Tabs,
|
|
91
|
+
ca as Text,
|
|
92
|
+
N as TextAreaInput,
|
|
93
|
+
f as TextInput,
|
|
94
|
+
C as TextInputAsButton,
|
|
95
|
+
da as Tile,
|
|
96
|
+
K as TimePickerInput,
|
|
97
|
+
q as Tooltip,
|
|
98
|
+
b as TopBar,
|
|
99
|
+
ba as formattedContentStyles,
|
|
100
|
+
Qa as useDesktopBreakpoint,
|
|
101
|
+
Ua as useMatchMedia,
|
|
102
|
+
Va as useMobileAndTabletBreakpoint,
|
|
103
|
+
Wa as useMobileBreakpoint,
|
|
104
|
+
Xa as useMobileLandscapeBreakpoint,
|
|
105
|
+
Ya as useMobilePortraitBreakpoint,
|
|
106
|
+
ga as useSnackbars,
|
|
107
|
+
Za as useTabletAndDesktopBreakpoint,
|
|
108
|
+
$a as useTabletBreakpoint,
|
|
109
|
+
ae as useTabletLandscapeBreakpoint,
|
|
110
|
+
ee as useTabletPortraitBreakpoint
|
|
91
111
|
};
|
package/dist/js/layouts/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-BGJufFzt.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AppLayout,
|
|
4
4
|
r as BadgeGroup,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as e, D as r, M as t, T as s } from "../tooltip-
|
|
2
|
-
import { M as m } from "../image-rectangle-
|
|
1
|
+
import { B as e, D as r, M as t, T as s } from "../tooltip-C1TbSbNF.js";
|
|
2
|
+
import { M as m } from "../image-rectangle-CLLXF8w_.js";
|
|
3
3
|
export {
|
|
4
4
|
e as BottomSheet,
|
|
5
5
|
r as Drawer,
|
|
@@ -1,32 +1,34 @@
|
|
|
1
|
-
import { A as t, a as e, b as
|
|
2
|
-
import { S as
|
|
1
|
+
import { A as t, a as e, b as o, c as r, d as n, e as c, f as u, B as i, u as d, g as l, h as m, i as A, l as B, j as g, k as I, C, F as b, m as T, H as f, o as h, I as p, r as x, t as S, s as F, N as H, T as k, p as q, q as M, n as N } from "../image-rectangle-CLLXF8w_.js";
|
|
2
|
+
import { S as j } from "../snackbar-CTq4MLir.js";
|
|
3
3
|
export {
|
|
4
4
|
t as Accordion,
|
|
5
5
|
e as ActionCard,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
o as Alert,
|
|
7
|
+
r as Anchor,
|
|
8
|
+
n as Attribute,
|
|
9
9
|
c as AttributeList,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
x as
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
10
|
+
u as Avatar,
|
|
11
|
+
i as Badge,
|
|
12
|
+
d as BaseImage,
|
|
13
|
+
l as Brand,
|
|
14
|
+
m as Button,
|
|
15
|
+
A as ButtonAnchor,
|
|
16
|
+
B as ButtonIcon,
|
|
17
|
+
g as ButtonMenu,
|
|
18
|
+
I as ButtonMenuIcon,
|
|
19
|
+
C as Card,
|
|
20
|
+
b as FilterChip,
|
|
21
|
+
T as FormattedText,
|
|
22
|
+
f as Heading,
|
|
23
|
+
h as Hr,
|
|
24
|
+
p as Icon,
|
|
25
|
+
x as ImageCircle,
|
|
26
|
+
S as ImageRectangle,
|
|
27
|
+
F as ImageSquare,
|
|
28
|
+
H as NoResults,
|
|
29
|
+
j as Snackbar,
|
|
29
30
|
k as Table,
|
|
30
31
|
q as Text,
|
|
31
|
-
|
|
32
|
+
M as Tile,
|
|
33
|
+
N as formattedContentStyles
|
|
32
34
|
};
|
|
@@ -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
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as t } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
2
|
import { c as d, a as f } from "./index-BDtz_hQY.js";
|
|
3
3
|
import { forwardRef as m, createContext as p, useContext as h, useState as g, useLayoutEffect as j, useRef as T } from "react";
|
|
4
|
-
import { I as w } from "./image-rectangle-
|
|
4
|
+
import { I as w } from "./image-rectangle-CLLXF8w_.js";
|
|
5
5
|
import "./snackbar-CTq4MLir.js";
|
|
6
6
|
import { ChevronRight as y } from "lucide-react";
|
|
7
7
|
const I = d(
|