@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.
Files changed (40) hide show
  1. package/dist/js/forms/index.js +1 -1
  2. package/dist/js/helpers/index.js +28 -10
  3. package/dist/js/{image-rectangle-CCvXv24a.js → image-rectangle-CLLXF8w_.js} +409 -347
  4. package/dist/js/index.js +88 -68
  5. package/dist/js/layouts/index.js +1 -1
  6. package/dist/js/navigation/index.js +1 -1
  7. package/dist/js/overlays/index.js +2 -2
  8. package/dist/js/primitive/index.js +27 -25
  9. package/dist/js/tablet-landscape-breakpoint-DUeRFxIA.js +113 -0
  10. package/dist/js/{tabs-BQs53hHL.js → tabs-DeyqSghV.js} +1 -1
  11. package/dist/js/{time-picker-input-Disd231b.js → time-picker-input-B_cV6nlk.js} +854 -642
  12. package/dist/js/{tooltip-Dpx3TpR6.js → tooltip-C1TbSbNF.js} +1 -1
  13. package/dist/js/{top-bar-B2nzldfs.js → top-bar-BGJufFzt.js} +10 -6
  14. package/dist/types/forms/textarea-input/index.d.ts +1 -1
  15. package/dist/types/forms/textarea-input/textarea-input.atoms.d.ts +53 -0
  16. package/dist/types/forms/textarea-input/textarea-input.d.ts +1 -0
  17. package/dist/types/forms/textarea-input/types.d.ts +28 -0
  18. package/dist/types/forms/textarea-input/use-textarea-formatting.d.ts +21 -0
  19. package/dist/types/helpers/match-media/built-in/components/index.d.ts +6 -0
  20. package/dist/types/helpers/match-media/built-in/components/mobile-and-tablet-breakpoint.d.ts +18 -0
  21. package/dist/types/helpers/match-media/built-in/components/mobile-landscape-breakpoint.d.ts +18 -0
  22. package/dist/types/helpers/match-media/built-in/components/mobile-portrait-breakpoint.d.ts +18 -0
  23. package/dist/types/helpers/match-media/built-in/components/tablet-and-desktop-breakpoint.d.ts +18 -0
  24. package/dist/types/helpers/match-media/built-in/components/tablet-landscape-breakpoint.d.ts +18 -0
  25. package/dist/types/helpers/match-media/built-in/components/tablet-portrait-breakpoint.d.ts +18 -0
  26. package/dist/types/helpers/match-media/built-in/hooks/index.d.ts +6 -0
  27. package/dist/types/helpers/match-media/built-in/hooks/use-mobile-and-tablet-breakpoint.d.ts +11 -0
  28. package/dist/types/helpers/match-media/built-in/hooks/use-mobile-landscape-breakpoint.d.ts +11 -0
  29. package/dist/types/helpers/match-media/built-in/hooks/use-mobile-portrait-breakpoint.d.ts +11 -0
  30. package/dist/types/helpers/match-media/built-in/hooks/use-tablet-and-desktop-breakpoint.d.ts +11 -0
  31. package/dist/types/helpers/match-media/built-in/hooks/use-tablet-landscape-breakpoint.d.ts +11 -0
  32. package/dist/types/helpers/match-media/built-in/hooks/use-tablet-portrait-breakpoint.d.ts +11 -0
  33. package/dist/types/helpers/match-media/constants.d.ts +12 -0
  34. package/dist/types/primitive/formatted-text/formatted-text.d.ts +10 -0
  35. package/dist/types/primitive/formatted-text/index.d.ts +3 -0
  36. package/dist/types/primitive/formatted-text/types.d.ts +19 -0
  37. package/dist/types/primitive/index.d.ts +1 -0
  38. package/dist/utils/enforce-subpath-import.js +2 -0
  39. package/package.json +1 -1
  40. package/dist/js/desktop-breakpoint-CuSom-sN.js +0 -47
package/dist/js/index.js CHANGED
@@ -1,91 +1,111 @@
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, f as c, c as l, P as I, d, e as T, S, T as m } from "./top-bar-B2nzldfs.js";
3
- import { C as g, b as A, a as P, D as k, E as M, P as h, c as x, R as f, S as C, d as L, f as D, e as E, g as R, i as F, T as N, h as O, j as H } from "./time-picker-input-Disd231b.js";
4
- import { B as y, D as G, M as _, T as j } from "./tooltip-Dpx3TpR6.js";
5
- import { A as v, a as w, 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 sa, k as ea, C as ta, F as oa, H as ra, m as na, I as pa, p as ia, r as ua, q as Ba, M as ca, N as la, T as Ia, n as da, o as Ta } from "./image-rectangle-CCvXv24a.js";
6
- import { S as ma } from "./snackbar-CTq4MLir.js";
7
- import { B as ga, T as Aa } from "./tabs-BQs53hHL.js";
8
- import { S as ka, u as Ma } from "./use-snackbars-B6lnVjrX.js";
9
- import { b as xa, B as fa, a as Ca, D as La, M as Da, f as Ea, T as Ra, e as Fa, u as Na, c as Oa, d as Ha } 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 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
- v as Accordion,
12
- w as ActionCard,
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
- xa as BREAKPOINT_DESKTOP,
20
- fa as BREAKPOINT_MOBILE,
21
- Ca as BREAKPOINT_TABLET,
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
- p as BadgeGroup,
29
+ i as BadgeGroup,
24
30
  X as BaseImage,
25
- i as BottomBar,
31
+ p as BottomBar,
26
32
  y as BottomSheet,
27
33
  Y as Brand,
28
- ga as Breadcrumbs,
34
+ Sa as Breadcrumbs,
29
35
  Z as Button,
30
36
  $ as ButtonAnchor,
31
- u as ButtonGroup,
37
+ B as ButtonGroup,
32
38
  aa as ButtonIcon,
33
- sa as ButtonMenu,
34
- ea as ButtonMenuIcon,
39
+ ea as ButtonMenu,
40
+ sa as ButtonMenuIcon,
35
41
  ta as Card,
36
- g as CheckboxInput,
37
- A as ChipMultipleInput,
38
- P as ChipSingleInput,
39
- k as DateSinglePickerInput,
40
- La as DesktopBreakpoint,
41
- G as Drawer,
42
- M as EmailInput,
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
- B as FilterChipGroup,
45
- c as FormLayout,
46
- ra as Heading,
47
- na as Hr,
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
- ia as ImageCircle,
56
+ Ba as ImageCircle,
50
57
  ua as ImageRectangle,
51
- Ba as ImageSquare,
52
- e as LoadingIndicator,
53
- Da as MatchMedia,
54
- ca as Menu,
55
- Ea as MobileBreakpoint,
56
- _ as Modal,
57
- la as NoResults,
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
- d as PageLayout,
61
- T as PageLoader,
62
- h as PinField,
63
- x as PriceInput,
70
+ A as PageLayout,
71
+ c as PageLoader,
72
+ L as PinField,
73
+ g as PriceInput,
64
74
  t as ProgressIndicator,
65
- f as RadioInput,
66
- C as SearchInput,
67
- L as SelectInput,
68
- D as SelectableMultipleInput,
69
- E as SelectableSingleInput,
70
- S as SideBar,
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
- ma as Snackbar,
73
- ka as SnackbarsProvider,
74
- R as SwitchInput,
75
- Ia as Table,
76
- Ra as TabletBreakpoint,
77
- Aa as Tabs,
78
- da as Text,
79
- F as TextAreaInput,
80
- N as TextInput,
81
- O as TextInputAsButton,
82
- Ta as Tile,
83
- H as TimePickerInput,
84
- j as Tooltip,
85
- m as TopBar,
86
- Fa as useDesktopBreakpoint,
87
- Na as useMatchMedia,
88
- Oa as useMobileBreakpoint,
89
- Ma as useSnackbars,
90
- Ha as useTabletBreakpoint
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
  };
@@ -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-B2nzldfs.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-BGJufFzt.js";
2
2
  export {
3
3
  e as AppLayout,
4
4
  r as BadgeGroup,
@@ -1,4 +1,4 @@
1
- import { B as s, T as b } from "../tabs-BQs53hHL.js";
1
+ import { B as s, T as b } from "../tabs-DeyqSghV.js";
2
2
  export {
3
3
  s as Breadcrumbs,
4
4
  b as Tabs
@@ -1,5 +1,5 @@
1
- import { B as e, D as r, M as t, T as s } from "../tooltip-Dpx3TpR6.js";
2
- import { M as m } from "../image-rectangle-CCvXv24a.js";
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 r, c as n, d as o, e as c, f as i, B as u, s as A, g as B, h as g, i as l, l as I, j as d, k as m, C as b, F as C, H as h, m as p, I as T, p as f, r as x, q as H, N as S, T as k, n as q, o as F } from "../image-rectangle-CCvXv24a.js";
2
- import { S as N } from "../snackbar-CTq4MLir.js";
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
- r as Alert,
7
- n as Anchor,
8
- o as Attribute,
6
+ o as Alert,
7
+ r as Anchor,
8
+ n as Attribute,
9
9
  c as AttributeList,
10
- i as Avatar,
11
- u as Badge,
12
- A as BaseImage,
13
- B as Brand,
14
- g as Button,
15
- l as ButtonAnchor,
16
- I as ButtonIcon,
17
- d as ButtonMenu,
18
- m as ButtonMenuIcon,
19
- b as Card,
20
- C as FilterChip,
21
- h as Heading,
22
- p as Hr,
23
- T as Icon,
24
- f as ImageCircle,
25
- x as ImageRectangle,
26
- H as ImageSquare,
27
- S as NoResults,
28
- N as Snackbar,
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
- F as Tile
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-CCvXv24a.js";
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(