@dimasbaguspm/versaur 0.0.44 → 0.0.45
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/{bottom-sheet-BSN0J8ji.js → bottom-sheet-QdQ5L8Wo.js} +1 -1
- package/dist/js/{bottom-sheet-input-C9Ht9cxQ.js → bottom-sheet-input-CxLwoZLr.js} +2 -2
- package/dist/js/forms/index.js +1 -1
- package/dist/js/{image-rectangle-DjuCYHbk.js → image-rectangle-BijhERaV.js} +414 -279
- package/dist/js/index.js +46 -45
- package/dist/js/layouts/index.js +1 -1
- package/dist/js/navigation/index.js +1 -1
- package/dist/js/overlays/index.js +3 -3
- package/dist/js/primitive/index.js +26 -25
- package/dist/js/{tabs-CiZ2DPDD.js → tabs-D5aWU0pC.js} +1 -1
- package/dist/js/{tooltip-nOXyn9AX.js → tooltip-D80OXyWL.js} +1 -1
- package/dist/js/{top-bar-CKo6k1eW.js → top-bar-vvLnMBwo.js} +1 -1
- package/dist/types/primitive/action-card/action-card.atoms.d.ts +18 -0
- package/dist/types/primitive/action-card/action-card.d.ts +4 -0
- package/dist/types/primitive/action-card/index.d.ts +2 -0
- package/dist/types/primitive/action-card/types.d.ts +57 -0
- package/dist/types/primitive/brand/types.d.ts +1 -1
- package/dist/types/primitive/index.d.ts +1 -0
- package/dist/utils/enforce-subpath-import.js +1 -0
- package/package.json +1 -1
package/dist/js/index.js
CHANGED
|
@@ -1,57 +1,58 @@
|
|
|
1
|
-
import { L as
|
|
2
|
-
import { A as n, a as u, B as p, b as i, F as l, f as I, P as c, c as S, d as m, e as B, S as g, T as d } from "./top-bar-
|
|
3
|
-
import { B as T, C as x, b as f, a as h, D as
|
|
4
|
-
import { B as N, D as z, M as J } from "./bottom-sheet-
|
|
5
|
-
import { A as O, a as Q, b as U, c as V, d as W, e as X,
|
|
6
|
-
import { T as
|
|
7
|
-
import { S as
|
|
8
|
-
import { B as Pa, T as
|
|
9
|
-
import { S as
|
|
1
|
+
import { L as e, P as s, S as r } from "./skeleton-BNZyaRjo.js";
|
|
2
|
+
import { A as n, a as u, B as p, b as i, F as l, f as I, P as c, c as S, d as m, e as B, S as g, T as d } from "./top-bar-vvLnMBwo.js";
|
|
3
|
+
import { B as T, C as x, b as f, a as h, D as C, k as P, E as A, M, P as k, R as F, d as L, c as D, S as H, e as R, j as w, i as G, h as j, f as q, T as v, g as y } from "./bottom-sheet-input-CxLwoZLr.js";
|
|
4
|
+
import { B as N, D as z, M as J } from "./bottom-sheet-QdQ5L8Wo.js";
|
|
5
|
+
import { A as O, a as Q, b as U, c as V, d as W, e as X, f as Y, B as Z, t as _, g as $, h as aa, k as ta, l as ea, i as sa, j as ra, C as oa, m as na, F as ua, H as pa, n as ia, I as la, q as Ia, s as ca, r as Sa, M as ma, N as Ba, T as ga, o as da, p as ba } from "./image-rectangle-BijhERaV.js";
|
|
6
|
+
import { T as xa } from "./tooltip-D80OXyWL.js";
|
|
7
|
+
import { S as ha } from "./snackbar-DH8jCh2V.js";
|
|
8
|
+
import { B as Pa, T as Aa } from "./tabs-D5aWU0pC.js";
|
|
9
|
+
import { S as ka, u as Fa } from "./use-snackbars-Cou8L41F.js";
|
|
10
10
|
export {
|
|
11
11
|
O as Accordion,
|
|
12
|
-
Q as
|
|
13
|
-
U as
|
|
12
|
+
Q as ActionCard,
|
|
13
|
+
U as Alert,
|
|
14
|
+
V as Anchor,
|
|
14
15
|
n as AppBar,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
W as Attribute,
|
|
17
|
+
X as AttributeList,
|
|
18
|
+
Y as Avatar,
|
|
19
|
+
Z as Badge,
|
|
19
20
|
u as BadgeGroup,
|
|
20
|
-
|
|
21
|
+
_ as BaseImage,
|
|
21
22
|
p as BottomBar,
|
|
22
23
|
N as BottomSheet,
|
|
23
24
|
T as BottomSheetInput,
|
|
24
|
-
|
|
25
|
+
$ as Brand,
|
|
25
26
|
Pa as Breadcrumbs,
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
aa as Button,
|
|
28
|
+
ta as ButtonFloat,
|
|
28
29
|
i as ButtonGroup,
|
|
29
30
|
ea as ButtonIcon,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
sa as ButtonMenu,
|
|
32
|
+
ra as ButtonMenuIcon,
|
|
33
|
+
oa as Calculator,
|
|
34
|
+
na as Card,
|
|
34
35
|
x as CheckboxInput,
|
|
35
36
|
f as ChipMultipleInput,
|
|
36
37
|
h as ChipSingleInput,
|
|
37
|
-
|
|
38
|
+
C as DateSinglePickerInput,
|
|
38
39
|
z as Drawer,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
P as DrawerInput,
|
|
41
|
+
A as EmailInput,
|
|
42
|
+
ua as FilterChip,
|
|
42
43
|
l as FilterChipGroup,
|
|
43
44
|
I as FormLayout,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
45
|
+
pa as Heading,
|
|
46
|
+
ia as Hr,
|
|
47
|
+
la as Icon,
|
|
48
|
+
Ia as ImageCircle,
|
|
49
|
+
ca as ImageRectangle,
|
|
50
|
+
Sa as ImageSquare,
|
|
51
|
+
e as LoadingIndicator,
|
|
52
|
+
ma as Menu,
|
|
52
53
|
J as Modal,
|
|
53
|
-
|
|
54
|
-
|
|
54
|
+
M as ModalInput,
|
|
55
|
+
Ba as NoResults,
|
|
55
56
|
c as PageContent,
|
|
56
57
|
S as PageHeader,
|
|
57
58
|
m as PageLayout,
|
|
@@ -67,17 +68,17 @@ export {
|
|
|
67
68
|
G as SelectableSingleInput,
|
|
68
69
|
g as SideBar,
|
|
69
70
|
r as Skeleton,
|
|
70
|
-
|
|
71
|
-
|
|
71
|
+
ha as Snackbar,
|
|
72
|
+
ka as SnackbarsProvider,
|
|
72
73
|
j as SwitchInput,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
ga as Table,
|
|
75
|
+
Aa as Tabs,
|
|
76
|
+
da as Text,
|
|
76
77
|
q as TextAreaInput,
|
|
77
78
|
v as TextInput,
|
|
78
|
-
|
|
79
|
+
ba as Tile,
|
|
79
80
|
y as TimePickerInput,
|
|
80
|
-
|
|
81
|
+
xa as Tooltip,
|
|
81
82
|
d as TopBar,
|
|
82
|
-
|
|
83
|
+
Fa as useSnackbars
|
|
83
84
|
};
|
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 B, P as u, c as d, d as g, e as P, S as i, T as m } from "../top-bar-
|
|
1
|
+
import { A as e, a as r, B as s, b as t, F as p, f as B, P as u, c as d, d as g, e as P, S as i, T as m } from "../top-bar-vvLnMBwo.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AppBar,
|
|
4
4
|
r as BadgeGroup,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as a, D as e, M as t } from "../bottom-sheet-
|
|
2
|
-
import { M as m } from "../image-rectangle-
|
|
3
|
-
import { T as M } from "../tooltip-
|
|
1
|
+
import { B as a, D as e, M as t } from "../bottom-sheet-QdQ5L8Wo.js";
|
|
2
|
+
import { M as m } from "../image-rectangle-BijhERaV.js";
|
|
3
|
+
import { T as M } from "../tooltip-D80OXyWL.js";
|
|
4
4
|
export {
|
|
5
5
|
a as BottomSheet,
|
|
6
6
|
e as Drawer,
|
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
import { A as t, a as e, b as o, c as r, d as n, e 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, t as l, g as B, h as g, k as A, l as I, i as d, j as m, C, m as b, F as p, H as T, n as f, I as h, q as x, s as F, r as H, N as S, T as k, o as q, p as M } from "../image-rectangle-BijhERaV.js";
|
|
2
|
+
import { S as R } from "../snackbar-DH8jCh2V.js";
|
|
3
3
|
export {
|
|
4
4
|
t as Accordion,
|
|
5
|
-
e as
|
|
6
|
-
o as
|
|
7
|
-
r as
|
|
8
|
-
n as
|
|
5
|
+
e as ActionCard,
|
|
6
|
+
o as Alert,
|
|
7
|
+
r as Anchor,
|
|
8
|
+
n as Attribute,
|
|
9
|
+
c as AttributeList,
|
|
9
10
|
u as Avatar,
|
|
10
|
-
|
|
11
|
+
i as Badge,
|
|
11
12
|
l as BaseImage,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
B as Brand,
|
|
14
|
+
g as Button,
|
|
15
|
+
A as ButtonFloat,
|
|
15
16
|
I as ButtonIcon,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
d as ButtonMenu,
|
|
18
|
+
m as ButtonMenuIcon,
|
|
19
|
+
C as Calculator,
|
|
19
20
|
b as Card,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
21
|
+
p as FilterChip,
|
|
22
|
+
T as Heading,
|
|
23
|
+
f as Hr,
|
|
24
|
+
h as Icon,
|
|
25
|
+
x as ImageCircle,
|
|
26
|
+
F as ImageRectangle,
|
|
27
|
+
H as ImageSquare,
|
|
28
|
+
S as NoResults,
|
|
29
|
+
R as Snackbar,
|
|
30
|
+
k as Table,
|
|
31
|
+
q as Text,
|
|
32
|
+
M as Tile
|
|
32
33
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as d, j as s, a as u } from "./index-DOdDlCoL.js";
|
|
2
2
|
import { forwardRef as f, createContext as x, useContext as g, useState as p, useLayoutEffect as y, useRef as h } from "react";
|
|
3
|
-
import { I as w } from "./image-rectangle-
|
|
3
|
+
import { I as w } from "./image-rectangle-BijhERaV.js";
|
|
4
4
|
import "./snackbar-DH8jCh2V.js";
|
|
5
5
|
import { ChevronRight as T } from "lucide-react";
|
|
6
6
|
const j = d(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as v, j as c, a as w } from "./index-DOdDlCoL.js";
|
|
2
2
|
import { useRef as m, useState as d, useEffect as h, useId as T, cloneElement as j } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { o as y } from "./image-rectangle-BijhERaV.js";
|
|
4
4
|
function P(e = "auto") {
|
|
5
5
|
const n = m(null), [a, t] = d("bottom");
|
|
6
6
|
return h(() => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as i, j as s, a as l } from "./index-DOdDlCoL.js";
|
|
2
2
|
import * as v from "react";
|
|
3
3
|
import { forwardRef as o } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { o as f } from "./image-rectangle-BijhERaV.js";
|
|
5
5
|
import "./snackbar-DH8jCh2V.js";
|
|
6
6
|
import { L as h } from "./skeleton-BNZyaRjo.js";
|
|
7
7
|
const j = i(
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ActionCardGroupProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* ActionCard.Group - Container component for grouping multiple ActionCards
|
|
4
|
+
*
|
|
5
|
+
* Provides a clean container with proper spacing and borders for multiple ActionCards.
|
|
6
|
+
* ActionCards within a group are automatically spaced and can be configured with
|
|
7
|
+
* consistent sizing.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* <ActionCard.Group>
|
|
12
|
+
* <ActionCard icon={<WalletIcon />} title="Account Groups" badge={<Badge>Popular</Badge>} />
|
|
13
|
+
* <ActionCard icon={<TagsIcon />} title="Category Groups" />
|
|
14
|
+
* <ActionCard icon={<DatabaseIcon />} title="Backup & Restore" />
|
|
15
|
+
* </ActionCard.Group>
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare const ActionCardGroup: import('react').ForwardRefExoticComponent<ActionCardGroupProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ActionCardProps } from './types';
|
|
2
|
+
export declare const ActionCard: import('react').ForwardRefExoticComponent<ActionCardProps & import('react').RefAttributes<HTMLDivElement | HTMLButtonElement>> & {
|
|
3
|
+
Group: import('react').ForwardRefExoticComponent<import('./types').ActionCardGroupProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
4
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
import { actionCardVariants } from './helpers';
|
|
4
|
+
/**
|
|
5
|
+
* Props for the ActionCard component
|
|
6
|
+
*/
|
|
7
|
+
export interface ActionCardProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'title' | 'children'>, VariantProps<typeof actionCardVariants> {
|
|
8
|
+
/**
|
|
9
|
+
* Size variant affecting padding and spacing
|
|
10
|
+
* @default 'md'
|
|
11
|
+
*/
|
|
12
|
+
size?: 'sm' | 'md' | 'lg';
|
|
13
|
+
/**
|
|
14
|
+
* Icon element to display in the icon container
|
|
15
|
+
*/
|
|
16
|
+
icon?: ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Main title text
|
|
19
|
+
*/
|
|
20
|
+
title: ReactNode;
|
|
21
|
+
/**
|
|
22
|
+
* Subtitle or description text
|
|
23
|
+
*/
|
|
24
|
+
subtitle?: ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* Badge element to display next to the title
|
|
27
|
+
*/
|
|
28
|
+
badge?: ReactNode;
|
|
29
|
+
/**
|
|
30
|
+
* Whether to show the chevron arrow
|
|
31
|
+
* @default true
|
|
32
|
+
*/
|
|
33
|
+
showArrow?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Is the action card a button or a div?
|
|
36
|
+
* @default 'button'
|
|
37
|
+
*/
|
|
38
|
+
as?: 'button' | 'div';
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Props for the ActionCard Group container
|
|
42
|
+
*/
|
|
43
|
+
export interface ActionCardGroupProps {
|
|
44
|
+
/**
|
|
45
|
+
* ActionCard components to display as a group
|
|
46
|
+
*/
|
|
47
|
+
children: ReactNode;
|
|
48
|
+
/**
|
|
49
|
+
* Additional CSS classes
|
|
50
|
+
*/
|
|
51
|
+
className?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Size variant for all cards in the group
|
|
54
|
+
* @default 'md'
|
|
55
|
+
*/
|
|
56
|
+
size?: 'sm' | 'md' | 'lg';
|
|
57
|
+
}
|
|
@@ -6,7 +6,7 @@ export interface BrandProps extends HTMLAttributes<HTMLSpanElement> {
|
|
|
6
6
|
/**
|
|
7
7
|
* The app name to display (predefined, default: 'spenicle')
|
|
8
8
|
*/
|
|
9
|
-
name: 'spenicle' | 'hub';
|
|
9
|
+
name: 'spenicle' | 'hub' | 'notunic';
|
|
10
10
|
/**
|
|
11
11
|
* The size of the brand icon and text
|
|
12
12
|
* @default 'md'
|