@voidable/ui-react 0.9.0 → 0.11.0
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/index.d.ts +24 -12
- package/dist/index.js +46 -40
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -133,7 +133,7 @@ export declare const ActionInput: default_2.ForwardRefExoticComponent<{
|
|
|
133
133
|
spellcheck?: boolean;
|
|
134
134
|
icon?: string;
|
|
135
135
|
actionLabel?: string;
|
|
136
|
-
iconSide?: "
|
|
136
|
+
iconSide?: "start" | "end";
|
|
137
137
|
/** Form field name; the value is submitted under it. */
|
|
138
138
|
name?: string;
|
|
139
139
|
/** Form validation: the control must have a value. */
|
|
@@ -229,10 +229,11 @@ export declare const BarChart: default_2.ForwardRefExoticComponent<{
|
|
|
229
229
|
data?: BarChartData;
|
|
230
230
|
height?: number;
|
|
231
231
|
showValue?: boolean;
|
|
232
|
+
showTable?: boolean;
|
|
232
233
|
variant?: "filled" | "outline" | "wireframe";
|
|
233
234
|
/** Milliseconds between bars as they animate in; 0 animates them together. Default: the theme's. */
|
|
234
235
|
stagger?: number;
|
|
235
|
-
} & Omit<default_2.HTMLAttributes<HTMLElement>, "data" | "variant" | "showValue" | "height" | "stagger"> & {
|
|
236
|
+
} & Omit<default_2.HTMLAttributes<HTMLElement>, "data" | "variant" | "showValue" | "height" | "showTable" | "stagger"> & {
|
|
236
237
|
children?: default_2.ReactNode;
|
|
237
238
|
} & default_2.RefAttributes<VoidBarChart>>;
|
|
238
239
|
|
|
@@ -351,7 +352,7 @@ export declare const CarouselIndicators: default_2.ForwardRefExoticComponent<Omi
|
|
|
351
352
|
|
|
352
353
|
/** One slide (role="group"); the carousel marks the slide being shown with active. Renders `<void-carousel-item>`, a part of `<void-carousel-content>`. */
|
|
353
354
|
export declare const CarouselItem: default_2.ForwardRefExoticComponent<{
|
|
354
|
-
/** Set by
|
|
355
|
+
/** Set by the carousel on the slide being shown. */
|
|
355
356
|
active?: boolean;
|
|
356
357
|
} & Omit<default_2.HTMLAttributes<HTMLElement>, "active"> & {
|
|
357
358
|
children?: default_2.ReactNode;
|
|
@@ -502,6 +503,8 @@ export declare const DatePicker: default_2.ForwardRefExoticComponent<{
|
|
|
502
503
|
placeholder?: string;
|
|
503
504
|
format?: string;
|
|
504
505
|
color?: "default" | "error" | "warning" | "caution" | "success" | "info" | "notice" | "highlight";
|
|
506
|
+
/** Marks the field invalid; the field also sets it when a typed date is refused. */
|
|
507
|
+
error?: string;
|
|
505
508
|
/** Form field name; the value is submitted under it. */
|
|
506
509
|
name?: string;
|
|
507
510
|
/** Form validation: the control must have a value. */
|
|
@@ -509,9 +512,9 @@ export declare const DatePicker: default_2.ForwardRefExoticComponent<{
|
|
|
509
512
|
} & VoidEvents<{
|
|
510
513
|
Change: {
|
|
511
514
|
value: string;
|
|
512
|
-
date: Date;
|
|
515
|
+
date: Date | null;
|
|
513
516
|
};
|
|
514
|
-
} & OverlayEvents> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "size" | "disabled" | "onVoidChange" | "name" | "required" | "value" | "onVoidClose" | "max" | "placeholder" | "onVoidOpen" | "open" | "min" | "locale" | "firstDay" | "format"> & {
|
|
517
|
+
} & OverlayEvents> & Omit<default_2.HTMLAttributes<HTMLElement>, "color" | "error" | "size" | "disabled" | "onVoidChange" | "name" | "required" | "value" | "onVoidClose" | "max" | "placeholder" | "onVoidOpen" | "open" | "min" | "locale" | "firstDay" | "format"> & {
|
|
515
518
|
children?: default_2.ReactNode;
|
|
516
519
|
} & default_2.RefAttributes<VoidDatePicker>>;
|
|
517
520
|
|
|
@@ -573,8 +576,9 @@ export declare const DonutChart: default_2.ForwardRefExoticComponent<{
|
|
|
573
576
|
gaps?: boolean | number;
|
|
574
577
|
variant?: "filled" | "outline" | "wireframe";
|
|
575
578
|
showValue?: boolean;
|
|
579
|
+
showTable?: boolean;
|
|
576
580
|
showTotal?: boolean;
|
|
577
|
-
} & Omit<default_2.HTMLAttributes<HTMLElement>, "data" | "size" | "variant" | "showValue" | "inner" | "gaps" | "showTotal"> & {
|
|
581
|
+
} & Omit<default_2.HTMLAttributes<HTMLElement>, "data" | "size" | "variant" | "showValue" | "showTable" | "inner" | "gaps" | "showTotal"> & {
|
|
578
582
|
children?: default_2.ReactNode;
|
|
579
583
|
} & default_2.RefAttributes<VoidDonutChart>>;
|
|
580
584
|
|
|
@@ -582,7 +586,7 @@ export { DonutChartData }
|
|
|
582
586
|
|
|
583
587
|
export declare const Drawer: default_2.ForwardRefExoticComponent<{
|
|
584
588
|
open?: boolean;
|
|
585
|
-
side?: "left" | "right" | "top" | "bottom";
|
|
589
|
+
side?: "left" | "right" | "start" | "end" | "top" | "bottom";
|
|
586
590
|
size?: "sm" | "md" | "lg";
|
|
587
591
|
/** No close button; Escape and the backdrop do not close it. */
|
|
588
592
|
hideClose?: boolean;
|
|
@@ -735,7 +739,13 @@ export declare const FileUpload: default_2.ForwardRefExoticComponent<{
|
|
|
735
739
|
value: File[];
|
|
736
740
|
files: File[];
|
|
737
741
|
};
|
|
738
|
-
|
|
742
|
+
Reject: {
|
|
743
|
+
rejected: {
|
|
744
|
+
file: File;
|
|
745
|
+
reason: "type" | "size" | "count";
|
|
746
|
+
}[];
|
|
747
|
+
};
|
|
748
|
+
}> & Omit<default_2.HTMLAttributes<HTMLElement>, "error" | "disabled" | "onVoidChange" | "name" | "required" | "multiple" | "onVoidReject" | "accept" | "maxSize"> & {
|
|
739
749
|
children?: default_2.ReactNode;
|
|
740
750
|
} & default_2.RefAttributes<VoidFileUpload>>;
|
|
741
751
|
|
|
@@ -751,6 +761,7 @@ export declare const Gauge: default_2.ForwardRefExoticComponent<{
|
|
|
751
761
|
circular?: "full" | "semi" | "triple";
|
|
752
762
|
variant?: "filled" | "outline" | "wireframe";
|
|
753
763
|
hideValue?: boolean;
|
|
764
|
+
showTable?: boolean;
|
|
754
765
|
unitInline?: boolean;
|
|
755
766
|
tickMajor?: number;
|
|
756
767
|
tickMinor?: number;
|
|
@@ -758,7 +769,7 @@ export declare const Gauge: default_2.ForwardRefExoticComponent<{
|
|
|
758
769
|
hideTickMax?: boolean;
|
|
759
770
|
segmentsSort?: "value" | "manual";
|
|
760
771
|
gaps?: boolean | number;
|
|
761
|
-
} & Omit<default_2.HTMLAttributes<HTMLElement>, "data" | "size" | "variant" | "circular" | "value" | "max" | "min" | "unit" | "
|
|
772
|
+
} & Omit<default_2.HTMLAttributes<HTMLElement>, "data" | "zones" | "size" | "variant" | "circular" | "value" | "max" | "min" | "unit" | "showTable" | "gaps" | "thickness" | "hideValue" | "unitInline" | "tickMajor" | "tickMinor" | "hideTickMin" | "hideTickMax" | "segmentsSort"> & {
|
|
762
773
|
children?: default_2.ReactNode;
|
|
763
774
|
} & default_2.RefAttributes<VoidGauge>>;
|
|
764
775
|
|
|
@@ -771,7 +782,7 @@ export declare const Hamburger: default_2.ForwardRefExoticComponent<{
|
|
|
771
782
|
size?: "sm" | "md" | "lg";
|
|
772
783
|
} & VoidEvents<{
|
|
773
784
|
Open: {
|
|
774
|
-
reason: "trigger";
|
|
785
|
+
reason: "trigger" | "keyboard";
|
|
775
786
|
};
|
|
776
787
|
Close: {
|
|
777
788
|
reason: "trigger";
|
|
@@ -855,9 +866,10 @@ export declare const LineChart: default_2.ForwardRefExoticComponent<{
|
|
|
855
866
|
data?: LineChartData;
|
|
856
867
|
height?: number;
|
|
857
868
|
showValue?: boolean;
|
|
869
|
+
showTable?: boolean;
|
|
858
870
|
variant?: "filled" | "outline" | "wireframe";
|
|
859
871
|
interpolation?: "linear" | "step";
|
|
860
|
-
} & Omit<default_2.HTMLAttributes<HTMLElement>, "data" | "variant" | "showValue" | "height" | "interpolation"> & {
|
|
872
|
+
} & Omit<default_2.HTMLAttributes<HTMLElement>, "data" | "variant" | "showValue" | "height" | "showTable" | "interpolation"> & {
|
|
861
873
|
children?: default_2.ReactNode;
|
|
862
874
|
} & default_2.RefAttributes<VoidLineChart>>;
|
|
863
875
|
|
|
@@ -1273,7 +1285,7 @@ export declare const Select: default_2.ForwardRefExoticComponent<{
|
|
|
1273
1285
|
} & default_2.RefAttributes<VoidSelect>>;
|
|
1274
1286
|
|
|
1275
1287
|
export declare const Sidebar: default_2.ForwardRefExoticComponent<{
|
|
1276
|
-
side?: "
|
|
1288
|
+
side?: "start" | "end";
|
|
1277
1289
|
collapsed?: boolean;
|
|
1278
1290
|
width?: string;
|
|
1279
1291
|
collapsedWidth?: string;
|
package/dist/index.js
CHANGED
|
@@ -29,30 +29,30 @@ function l(e) {
|
|
|
29
29
|
function u(e) {
|
|
30
30
|
return e.slice(2).replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function d(e) {
|
|
33
33
|
return e.replace(/([A-Z])/g, "-$1").toLowerCase();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function f(e) {
|
|
36
36
|
return typeof e == "string" || typeof e == "number";
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
function
|
|
40
|
-
let
|
|
41
|
-
for (let
|
|
42
|
-
let
|
|
43
|
-
if (c(
|
|
44
|
-
else if (
|
|
45
|
-
else if (l(
|
|
46
|
-
else if (
|
|
47
|
-
else
|
|
38
|
+
var p = typeof window < "u" ? i : r;
|
|
39
|
+
function ee(e, t = []) {
|
|
40
|
+
let n = {}, r = {}, i = {};
|
|
41
|
+
for (let a of Object.keys(e)) {
|
|
42
|
+
let o = e[a];
|
|
43
|
+
if (c(a)) typeof o == "function" && (i[u(a)] = o);
|
|
44
|
+
else if (a === "className") o != null && (n.class = o);
|
|
45
|
+
else if (l(a)) n[a] = o;
|
|
46
|
+
else if (o === void 0) continue;
|
|
47
|
+
else t.includes(a) ? n[a] = typeof o == "string" || o === null ? o : JSON.stringify(o) : a === "spellcheck" ? r[a] = o : f(o) && a === a.toLowerCase() ? n[a] = o : r[a] = o;
|
|
48
48
|
}
|
|
49
49
|
return {
|
|
50
|
-
react:
|
|
51
|
-
elementProps:
|
|
52
|
-
events:
|
|
50
|
+
react: n,
|
|
51
|
+
elementProps: r,
|
|
52
|
+
events: i
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function te(e, t, n) {
|
|
56
56
|
if (t === "spellcheck") {
|
|
57
57
|
n == null ? e.removeAttribute("spellcheck") : e.setAttribute("spellcheck", String(n));
|
|
58
58
|
return;
|
|
@@ -61,22 +61,22 @@ function ne(e, t, n) {
|
|
|
61
61
|
e[t] = n;
|
|
62
62
|
return;
|
|
63
63
|
}
|
|
64
|
-
let r =
|
|
65
|
-
n === !1 || n == null ? e.removeAttribute(r) : n === !0 ? e.setAttribute(r, "") :
|
|
64
|
+
let r = d(t);
|
|
65
|
+
n === !1 || n == null ? e.removeAttribute(r) : n === !0 ? e.setAttribute(r, "") : f(n) && e.setAttribute(r, String(n));
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function ne(e, t, n) {
|
|
68
68
|
let r = a({}), i = a({});
|
|
69
|
-
|
|
69
|
+
p(() => {
|
|
70
70
|
let a = e.current;
|
|
71
71
|
if (!a) return;
|
|
72
72
|
let o = r.current;
|
|
73
|
-
for (let e of Object.keys(t)) (!(e in o) || !Object.is(o[e], t[e])) &&
|
|
73
|
+
for (let e of Object.keys(t)) (!(e in o) || !Object.is(o[e], t[e])) && te(a, e, t[e]);
|
|
74
74
|
r.current = t;
|
|
75
75
|
let s = i.current;
|
|
76
76
|
for (let e of Object.keys(s)) s[e] !== n[e] && a.removeEventListener(e, s[e]);
|
|
77
77
|
for (let e of Object.keys(n)) s[e] !== n[e] && a.addEventListener(e, n[e]);
|
|
78
78
|
i.current = n;
|
|
79
|
-
}),
|
|
79
|
+
}), p(() => {
|
|
80
80
|
let t = e.current;
|
|
81
81
|
return () => {
|
|
82
82
|
if (t) {
|
|
@@ -86,51 +86,57 @@ function re(e, t, n) {
|
|
|
86
86
|
};
|
|
87
87
|
}, [e]);
|
|
88
88
|
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
89
|
+
var re = {
|
|
90
|
+
"void-bar-chart": ["data"],
|
|
91
|
+
"void-line-chart": ["data"],
|
|
92
|
+
"void-donut-chart": ["data"],
|
|
93
|
+
"void-gauge": ["data", "zones"]
|
|
94
|
+
};
|
|
95
|
+
function m(r, i) {
|
|
96
|
+
let o = re[r] ?? [], s = t((t, i) => {
|
|
97
|
+
let s = a(null), { react: c, elementProps: l, events: u } = ee(t, o);
|
|
98
|
+
ne(s, l, u);
|
|
99
|
+
let d = n((e) => {
|
|
100
|
+
s.current = e, typeof i == "function" ? i(e) : i && (i.current = e);
|
|
95
101
|
}, [i]);
|
|
96
102
|
return e.createElement(r, {
|
|
97
|
-
...
|
|
98
|
-
ref:
|
|
103
|
+
...c,
|
|
104
|
+
ref: d
|
|
99
105
|
});
|
|
100
106
|
});
|
|
101
|
-
return
|
|
107
|
+
return s.displayName = i, s;
|
|
102
108
|
}
|
|
103
|
-
var ie =
|
|
109
|
+
var ie = m("void-badge", "Badge"), h = m("void-button", "Button"), g = m("void-divider", "Divider"), _ = m("void-spinner", "Spinner"), v = m("void-skeleton", "Skeleton"), y = m("void-status-dot", "StatusDot"), b = m("void-switch", "Switch"), x = m("void-avatar", "Avatar"), S = m("void-alert", "Alert"), C = m("void-tag", "Tag"), w = m("void-progress", "Progress"), T = m("void-panel", "Panel"), E = m("void-input", "Input"), D = m("void-textarea", "Textarea"), O = m("void-select", "Select"), k = m("void-checkbox", "Checkbox"), A = m("void-radio", "Radio"), j = m("void-radio-group", "RadioGroup"), M = m("void-field", "Field"), N = m("void-multiselect", "Multiselect"), P = m("void-option", "Option"), F = m("void-dialog", "Dialog"), I = m("void-tabs", "Tabs"), L = m("void-accordion", "Accordion"), R = m("void-accordion-item", "AccordionItem"), z = m("void-breadcrumbs", "Breadcrumbs"), B = m("void-list", "List"), V = m("void-list-item", "ListItem"), H = m("void-toast", "Toast"), U = m("void-toast-container", "ToastContainer"), W = m("void-stepper", "Stepper"), G = m("void-drawer", "Drawer"), K = m("void-card", "Card"), q = m("void-popover", "Popover"), J = m("void-tooltip", "Tooltip"), Y = m("void-banner", "Banner"), ae = m("void-scroll-area", "ScrollArea"), oe = m("void-table", "Table"), se = m("void-pagination", "Pagination"), ce = m("void-error-fallback", "ErrorFallback"), le = m("void-checkbox-group", "CheckboxGroup"), ue = m("void-combobox", "Combobox"), de = m("void-slider", "Slider"), fe = m("void-file-upload", "FileUpload"), pe = m("void-nav-bar", "NavBar"), me = m("void-hamburger", "Hamburger"), he = m("void-compose-input", "ComposeInput"), ge = m("void-sidebar", "Sidebar"), _e = m("void-dropdown-menu", "DropdownMenu"), ve = m("void-dropdown-menu-item", "DropdownMenuItem"), ye = m("void-toggle", "Toggle"), be = m("void-segmented-control", "SegmentedControl"), xe = m("void-segmented-control-item", "SegmentedControlItem"), Se = m("void-stat", "Stat"), Ce = m("void-indicator", "Indicator"), we = m("void-menu", "Menu"), Te = m("void-menu-item", "MenuItem"), Ee = m("void-menu-group", "MenuGroup"), De = m("void-carousel", "Carousel"), Oe = m("void-carousel-previous", "CarouselPrevious"), ke = m("void-carousel-next", "CarouselNext"), Ae = m("void-calendar", "Calendar"), je = m("void-date-picker", "DatePicker"), Me = m("void-number-input", "NumberInput"), Ne = m("void-toggle-group", "ToggleGroup"), Pe = m("void-collapsible", "Collapsible"), Fe = m("void-editable", "Editable"), Ie = m("void-hover-card", "HoverCard"), Le = m("void-pin-input", "PinInput"), Re = m("void-tags-input", "TagsInput"), ze = m("void-nav-menu", "NavMenu"), Be = m("void-nav-menu-item", "NavMenuItem"), Ve = m("void-color-picker", "ColorPicker"), He = m("void-action-input", "ActionInput"), Ue = m("void-bar-chart", "BarChart"), We = m("void-line-chart", "LineChart"), Ge = m("void-donut-chart", "DonutChart"), Ke = m("void-gauge", "Gauge"), X = "dark", Z = "(prefers-color-scheme: light)", qe = [
|
|
104
110
|
"data-theme",
|
|
105
111
|
"data-void-theme",
|
|
106
112
|
"data-void-skin",
|
|
107
113
|
"class",
|
|
108
114
|
"style"
|
|
109
115
|
];
|
|
110
|
-
function
|
|
116
|
+
function Je() {
|
|
111
117
|
if (typeof document > "u") return X;
|
|
112
118
|
let e = document.documentElement, t = getComputedStyle(e).getPropertyValue("--void-color-scheme").trim();
|
|
113
119
|
if (t === "light" || t === "dark") return t;
|
|
114
120
|
let n = e.getAttribute("data-theme");
|
|
115
121
|
return n === "light" || n === "dark" ? n : typeof matchMedia == "function" && matchMedia(Z).matches ? "light" : "dark";
|
|
116
122
|
}
|
|
117
|
-
function
|
|
123
|
+
function Ye() {
|
|
118
124
|
return X;
|
|
119
125
|
}
|
|
120
|
-
function
|
|
126
|
+
function Xe(e) {
|
|
121
127
|
if (typeof document > "u") return () => {};
|
|
122
128
|
let t;
|
|
123
129
|
typeof MutationObserver < "u" && (t = new MutationObserver(e), t.observe(document.documentElement, {
|
|
124
130
|
attributes: !0,
|
|
125
|
-
attributeFilter:
|
|
131
|
+
attributeFilter: qe
|
|
126
132
|
}));
|
|
127
133
|
let n = typeof matchMedia == "function" ? matchMedia(Z) : void 0;
|
|
128
134
|
return n?.addEventListener("change", e), () => {
|
|
129
135
|
t?.disconnect(), n?.removeEventListener("change", e);
|
|
130
136
|
};
|
|
131
137
|
}
|
|
132
|
-
function
|
|
133
|
-
return o(
|
|
138
|
+
function Ze() {
|
|
139
|
+
return o(Xe, Je, Ye);
|
|
134
140
|
}
|
|
135
141
|
//#endregion
|
|
136
142
|
//#region src/parts.generated.tsx
|
|
@@ -142,6 +148,6 @@ function Q(n, r) {
|
|
|
142
148
|
});
|
|
143
149
|
return i.displayName = r, i;
|
|
144
150
|
}
|
|
145
|
-
var
|
|
151
|
+
var Qe = Q("void-accordion-content", "AccordionContent"), $e = Q("void-accordion-trigger", "AccordionTrigger"), et = Q("void-alert-close", "AlertClose"), tt = Q("void-alert-description", "AlertDescription"), nt = Q("void-alert-title", "AlertTitle"), rt = Q("void-banner-actions", "BannerActions"), it = Q("void-banner-close", "BannerClose"), at = Q("void-banner-description", "BannerDescription"), ot = Q("void-banner-title", "BannerTitle"), st = Q("void-breadcrumbs-item", "BreadcrumbsItem"), ct = Q("void-breadcrumbs-list", "BreadcrumbsList"), lt = Q("void-card-body", "CardBody"), ut = Q("void-card-description", "CardDescription"), dt = Q("void-card-footer", "CardFooter"), ft = Q("void-card-header", "CardHeader"), pt = Q("void-card-title", "CardTitle"), mt = Q("void-carousel-content", "CarouselContent"), ht = Q("void-carousel-indicators", "CarouselIndicators"), gt = Q("void-carousel-item", "CarouselItem"), _t = Q("void-collapsible-content", "CollapsibleContent"), vt = Q("void-collapsible-trigger", "CollapsibleTrigger"), yt = Q("void-combobox-content", "ComboboxContent"), bt = Q("void-dialog-actions", "DialogActions"), xt = Q("void-dialog-body", "DialogBody"), St = Q("void-dialog-description", "DialogDescription"), Ct = Q("void-dialog-title", "DialogTitle"), wt = Q("void-drawer-actions", "DrawerActions"), Tt = Q("void-drawer-body", "DrawerBody"), Et = Q("void-drawer-description", "DrawerDescription"), Dt = Q("void-drawer-title", "DrawerTitle"), Ot = Q("void-dropdown-menu-content", "DropdownMenuContent"), kt = Q("void-dropdown-menu-separator", "DropdownMenuSeparator"), At = Q("void-dropdown-menu-trigger", "DropdownMenuTrigger"), jt = Q("void-error-fallback-actions", "ErrorFallbackActions"), Mt = Q("void-error-fallback-description", "ErrorFallbackDescription"), Nt = Q("void-error-fallback-title", "ErrorFallbackTitle"), Pt = Q("void-hover-card-content", "HoverCardContent"), Ft = Q("void-hover-card-trigger", "HoverCardTrigger"), It = Q("void-menu-content", "MenuContent"), Lt = Q("void-menu-empty", "MenuEmpty"), Rt = Q("void-menu-group-label", "MenuGroupLabel"), zt = Q("void-menu-item-icon", "MenuItemIcon"), Bt = Q("void-menu-item-shortcut", "MenuItemShortcut"), Vt = Q("void-menu-search", "MenuSearch"), Ht = Q("void-multiselect-content", "MultiselectContent"), Ut = Q("void-nav-menu-content", "NavMenuContent"), Wt = Q("void-nav-menu-trigger", "NavMenuTrigger"), Gt = Q("void-panel-body", "PanelBody"), Kt = Q("void-panel-description", "PanelDescription"), qt = Q("void-panel-header", "PanelHeader"), $ = Q("void-panel-title", "PanelTitle"), Jt = Q("void-popover-content", "PopoverContent"), Yt = Q("void-popover-trigger", "PopoverTrigger"), Xt = Q("void-tabs-content", "TabsContent"), Zt = Q("void-tabs-list", "TabsList"), Qt = Q("void-tabs-trigger", "TabsTrigger"), $t = Q("void-toast-actions", "ToastActions"), en = Q("void-toast-close", "ToastClose"), tn = Q("void-toast-description", "ToastDescription"), nn = Q("void-toast-title", "ToastTitle"), rn = Q("void-tooltip-content", "TooltipContent"), an = Q("void-tooltip-trigger", "TooltipTrigger"), on = /* @__PURE__ */ "void-accordion-content.void-accordion-trigger.void-alert-close.void-alert-description.void-alert-title.void-banner-actions.void-banner-close.void-banner-description.void-banner-title.void-breadcrumbs-item.void-breadcrumbs-list.void-card-body.void-card-description.void-card-footer.void-card-header.void-card-title.void-carousel-content.void-carousel-indicators.void-carousel-item.void-collapsible-content.void-collapsible-trigger.void-combobox-content.void-dialog-actions.void-dialog-body.void-dialog-description.void-dialog-title.void-drawer-actions.void-drawer-body.void-drawer-description.void-drawer-title.void-dropdown-menu-content.void-dropdown-menu-separator.void-dropdown-menu-trigger.void-error-fallback-actions.void-error-fallback-description.void-error-fallback-title.void-hover-card-content.void-hover-card-trigger.void-menu-content.void-menu-empty.void-menu-group-label.void-menu-item-icon.void-menu-item-shortcut.void-menu-search.void-multiselect-content.void-nav-menu-content.void-nav-menu-trigger.void-panel-body.void-panel-description.void-panel-header.void-panel-title.void-popover-content.void-popover-trigger.void-tabs-content.void-tabs-list.void-tabs-trigger.void-toast-actions.void-toast-close.void-toast-description.void-toast-title.void-tooltip-content.void-tooltip-trigger".split(".");
|
|
146
152
|
//#endregion
|
|
147
|
-
export {
|
|
153
|
+
export { L as Accordion, Qe as AccordionContent, R as AccordionItem, $e as AccordionTrigger, He as ActionInput, S as Alert, et as AlertClose, tt as AlertDescription, nt as AlertTitle, x as Avatar, ie as Badge, Y as Banner, rt as BannerActions, it as BannerClose, at as BannerDescription, ot as BannerTitle, Ue as BarChart, z as Breadcrumbs, st as BreadcrumbsItem, ct as BreadcrumbsList, h as Button, Ae as Calendar, K as Card, lt as CardBody, ut as CardDescription, dt as CardFooter, ft as CardHeader, pt as CardTitle, De as Carousel, mt as CarouselContent, ht as CarouselIndicators, gt as CarouselItem, ke as CarouselNext, Oe as CarouselPrevious, k as Checkbox, le as CheckboxGroup, Pe as Collapsible, _t as CollapsibleContent, vt as CollapsibleTrigger, Ve as ColorPicker, ue as Combobox, yt as ComboboxContent, he as ComposeInput, je as DatePicker, F as Dialog, bt as DialogActions, xt as DialogBody, St as DialogDescription, Ct as DialogTitle, g as Divider, Ge as DonutChart, G as Drawer, wt as DrawerActions, Tt as DrawerBody, Et as DrawerDescription, Dt as DrawerTitle, _e as DropdownMenu, Ot as DropdownMenuContent, ve as DropdownMenuItem, kt as DropdownMenuSeparator, At as DropdownMenuTrigger, Fe as Editable, ce as ErrorFallback, jt as ErrorFallbackActions, Mt as ErrorFallbackDescription, Nt as ErrorFallbackTitle, M as Field, fe as FileUpload, Ke as Gauge, me as Hamburger, Ie as HoverCard, Pt as HoverCardContent, Ft as HoverCardTrigger, Ce as Indicator, E as Input, We as LineChart, B as List, V as ListItem, we as Menu, It as MenuContent, Lt as MenuEmpty, Ee as MenuGroup, Rt as MenuGroupLabel, Te as MenuItem, zt as MenuItemIcon, Bt as MenuItemShortcut, Vt as MenuSearch, N as Multiselect, Ht as MultiselectContent, pe as NavBar, ze as NavMenu, Ut as NavMenuContent, Be as NavMenuItem, Wt as NavMenuTrigger, Me as NumberInput, P as Option, se as Pagination, T as Panel, Gt as PanelBody, Kt as PanelDescription, qt as PanelHeader, $ as PanelTitle, Le as PinInput, q as Popover, Jt as PopoverContent, Yt as PopoverTrigger, w as Progress, A as Radio, j as RadioGroup, ae as ScrollArea, be as SegmentedControl, xe as SegmentedControlItem, O as Select, ge as Sidebar, v as Skeleton, de as Slider, _ as Spinner, Se as Stat, y as StatusDot, W as Stepper, b as Switch, oe as Table, I as Tabs, Xt as TabsContent, Zt as TabsList, Qt as TabsTrigger, C as Tag, Re as TagsInput, D as Textarea, H as Toast, $t as ToastActions, en as ToastClose, U as ToastContainer, tn as ToastDescription, nn as ToastTitle, ye as Toggle, Ne as ToggleGroup, J as Tooltip, rn as TooltipContent, an as TooltipTrigger, on as partTags, Ze as useTheme };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voidable/ui-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "React wrappers and hooks for Voidable UI web components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
],
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"react": "^18.0.0 || ^19.0.0",
|
|
32
|
-
"@voidable/ui": "0.
|
|
32
|
+
"@voidable/ui": "0.11.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"react": "^19.0.0",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"typescript": "^6.0.0",
|
|
43
43
|
"vite": "^8.0.0",
|
|
44
44
|
"vite-plugin-dts": "^4.5.0",
|
|
45
|
-
"@voidable/ui": "0.
|
|
45
|
+
"@voidable/ui": "0.11.0"
|
|
46
46
|
},
|
|
47
47
|
"repository": {
|
|
48
48
|
"type": "git",
|