@customafk/lunas-ui 0.2.0 → 0.2.2
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/button-B2FJrOBP.mjs +2 -0
- package/dist/button-B2FJrOBP.mjs.map +1 -0
- package/dist/{button-D0YsVKtm.d.cts → button-BnFROtRM.d.cts} +3 -3
- package/dist/button-CYw2AqT0.cjs +2 -0
- package/dist/button-CYw2AqT0.cjs.map +1 -0
- package/dist/{button-L3Ts3X9d.d.mts → button-IfNjnUO-.d.mts} +3 -3
- package/dist/{calendar-D3hTjPxn.mjs → calendar-Bt6qXSZb.mjs} +2 -2
- package/dist/{calendar-D3hTjPxn.mjs.map → calendar-Bt6qXSZb.mjs.map} +1 -1
- package/dist/{calendar-CO20ceyB.cjs → calendar-BwWfk_Zk.cjs} +2 -2
- package/dist/{calendar-CO20ceyB.cjs.map → calendar-BwWfk_Zk.cjs.map} +1 -1
- package/dist/cards/grid-product-card.cjs +1 -1
- package/dist/cards/grid-product-card.mjs +1 -1
- package/dist/cards/product-card.cjs +1 -1
- package/dist/cards/product-card.mjs +1 -1
- package/dist/data-display/statistic.d.cts +2 -2
- package/dist/{dialog-C3T_1iTB.d.cts → dialog-CyLgmqny.d.cts} +12 -12
- package/dist/{dialog-COoKGA4Q.d.mts → dialog-lFDfcYPP.d.mts} +12 -12
- package/dist/dialogs/detail-dialog/components/sidebar.cjs +1 -1
- package/dist/dialogs/detail-dialog/components/sidebar.d.cts +26 -26
- package/dist/dialogs/detail-dialog/components/sidebar.d.mts +24 -24
- package/dist/dialogs/detail-dialog/components/sidebar.mjs +1 -1
- package/dist/dialogs/detail-dialog/index.cjs +1 -1
- package/dist/dialogs/detail-dialog/index.mjs +1 -1
- package/dist/features/descriptions/index.d.cts +4 -4
- package/dist/features/search-modal/index.d.cts +2 -2
- package/dist/features/search-modal/index.d.mts +2 -2
- package/dist/features/tables/index.cjs +1 -1
- package/dist/features/tables/index.d.cts +1 -1
- package/dist/features/tables/index.d.mts +23 -23
- package/dist/features/tables/index.mjs +1 -1
- package/dist/features/tanstack-form/index.cjs +1 -1
- package/dist/features/tanstack-form/index.cjs.map +1 -1
- package/dist/features/tanstack-form/index.d.cts +224 -224
- package/dist/features/tanstack-form/index.d.mts +224 -224
- package/dist/features/tanstack-form/index.mjs +1 -1
- package/dist/features/tanstack-form/index.mjs.map +1 -1
- package/dist/{input-C9dS5env.d.mts → input-Bm0YXroi.d.cts} +6 -6
- package/dist/{input-C3M7uZqX.d.cts → input-CLlVXOR2.d.mts} +6 -6
- package/dist/layouts/cms-layout/index.cjs +1 -1
- package/dist/layouts/cms-layout/index.mjs +1 -1
- package/dist/layouts/flex.d.cts +2 -2
- package/dist/layouts/flex.d.mts +2 -2
- package/dist/layouts/payment-layout/index.cjs +1 -1
- package/dist/layouts/payment-layout/index.mjs +1 -1
- package/dist/pages/FeatureDeveloping.cjs +1 -1
- package/dist/pages/FeatureDeveloping.d.cts +2 -2
- package/dist/pages/FeatureDeveloping.d.mts +2 -2
- package/dist/pages/FeatureDeveloping.mjs +1 -1
- package/dist/pages/FeatureFixing.cjs +1 -1
- package/dist/pages/FeatureFixing.d.cts +2 -2
- package/dist/pages/FeatureFixing.d.mts +2 -2
- package/dist/pages/FeatureFixing.mjs +1 -1
- package/dist/pages/NotAuthorized.cjs +1 -1
- package/dist/pages/NotAuthorized.d.cts +2 -2
- package/dist/pages/NotAuthorized.d.mts +2 -2
- package/dist/pages/NotAuthorized.mjs +1 -1
- package/dist/pages/NotFound.cjs +1 -1
- package/dist/pages/NotFound.d.cts +2 -2
- package/dist/pages/NotFound.d.mts +2 -2
- package/dist/pages/NotFound.mjs +1 -1
- package/dist/typography/paragraph.d.cts +5 -5
- package/dist/typography/paragraph.d.mts +5 -5
- package/dist/typography/title.d.cts +2 -2
- package/dist/typography/title.d.mts +2 -2
- package/dist/ui/alert-dialog.d.cts +12 -12
- package/dist/ui/alert-dialog.d.mts +12 -12
- package/dist/ui/alert.d.cts +4 -4
- package/dist/ui/alert.d.mts +4 -4
- package/dist/ui/aspect-ratio.d.cts +2 -2
- package/dist/ui/aspect-ratio.d.mts +2 -2
- package/dist/ui/avatar.d.cts +4 -4
- package/dist/ui/avatar.d.mts +4 -4
- package/dist/ui/badge.d.cts +4 -4
- package/dist/ui/badge.d.mts +4 -4
- package/dist/ui/breadcrumb.d.cts +8 -8
- package/dist/ui/breadcrumb.d.mts +8 -8
- package/dist/ui/button-group.d.cts +6 -6
- package/dist/ui/button-group.d.mts +6 -6
- package/dist/ui/button.cjs +1 -1
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.mts +1 -1
- package/dist/ui/button.mjs +1 -1
- package/dist/ui/buttons/add-new.cjs +1 -1
- package/dist/ui/buttons/add-new.mjs +1 -1
- package/dist/ui/buttons/edit.cjs +1 -1
- package/dist/ui/buttons/edit.mjs +1 -1
- package/dist/ui/buttons/refresh.cjs +1 -1
- package/dist/ui/buttons/refresh.mjs +1 -1
- package/dist/ui/buttons/trash.cjs +1 -1
- package/dist/ui/buttons/trash.mjs +1 -1
- package/dist/ui/buttons/upload-image.cjs +1 -1
- package/dist/ui/buttons/upload-image.mjs +1 -1
- package/dist/ui/calendar.cjs +1 -1
- package/dist/ui/calendar.d.cts +4 -4
- package/dist/ui/calendar.d.mts +4 -4
- package/dist/ui/calendar.mjs +1 -1
- package/dist/ui/card.d.cts +8 -8
- package/dist/ui/card.d.mts +8 -8
- package/dist/ui/carousel.cjs +1 -1
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.mts +7 -7
- package/dist/ui/carousel.mjs +1 -1
- package/dist/ui/checkbox.d.cts +2 -2
- package/dist/ui/checkbox.d.mts +2 -2
- package/dist/ui/collapsible.d.cts +4 -4
- package/dist/ui/collapsible.d.mts +4 -4
- package/dist/ui/command.d.cts +11 -11
- package/dist/ui/command.d.mts +11 -11
- package/dist/ui/context-menu.d.cts +16 -16
- package/dist/ui/context-menu.d.mts +16 -16
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/dialog.d.mts +1 -1
- package/dist/ui/drawer.d.cts +11 -11
- package/dist/ui/drawer.d.mts +11 -11
- package/dist/ui/dropdown-menu.d.cts +16 -16
- package/dist/ui/dropdown-menu.d.mts +16 -16
- package/dist/ui/empty.d.cts +9 -9
- package/dist/ui/empty.d.mts +9 -9
- package/dist/ui/field.d.cts +13 -13
- package/dist/ui/field.d.mts +24 -24
- package/dist/ui/file-uploader.cjs +1 -1
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.mts +2 -2
- package/dist/ui/file-uploader.mjs +1 -1
- package/dist/ui/form.d.cts +7 -7
- package/dist/ui/form.d.mts +11 -11
- package/dist/ui/hover-card.d.cts +4 -4
- package/dist/ui/hover-card.d.mts +4 -4
- package/dist/ui/input-otp.d.cts +5 -5
- package/dist/ui/input-otp.d.mts +5 -5
- package/dist/ui/input.d.cts +1 -1
- package/dist/ui/input.d.mts +1 -1
- package/dist/ui/inputs/search-input.d.cts +3 -3
- package/dist/ui/inputs/search-input.d.mts +3 -3
- package/dist/ui/item.d.cts +14 -14
- package/dist/ui/item.d.mts +14 -14
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.mts +2 -2
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/menubar.d.mts +17 -17
- package/dist/ui/multi-select.cjs +1 -1
- package/dist/ui/multi-select.d.cts +2 -2
- package/dist/ui/multi-select.d.mts +3 -3
- package/dist/ui/multi-select.mjs +1 -1
- package/dist/ui/navigation-menu.d.cts +9 -9
- package/dist/ui/navigation-menu.d.mts +11 -11
- package/dist/ui/pagination.d.cts +9 -9
- package/dist/ui/pagination.d.mts +9 -9
- package/dist/ui/popover.d.cts +6 -6
- package/dist/ui/popover.d.mts +6 -6
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.mts +2 -2
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/radio-group.d.mts +3 -3
- package/dist/ui/resizable.d.cts +9 -9
- package/dist/ui/resizable.d.mts +9 -9
- package/dist/ui/scroll-area.d.cts +3 -3
- package/dist/ui/scroll-area.d.mts +3 -3
- package/dist/ui/select.d.cts +9 -9
- package/dist/ui/select.d.mts +9 -9
- package/dist/ui/separator.d.cts +2 -2
- package/dist/ui/separator.d.mts +2 -2
- package/dist/ui/sheet.d.cts +9 -9
- package/dist/ui/sheet.d.mts +9 -9
- package/dist/ui/sidebar.cjs +1 -1
- package/dist/ui/sidebar.d.cts +26 -26
- package/dist/ui/sidebar.d.mts +28 -28
- package/dist/ui/sidebar.mjs +1 -1
- package/dist/ui/skeleton.d.cts +2 -2
- package/dist/ui/skeleton.d.mts +2 -2
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/slider.d.mts +2 -2
- package/dist/ui/sonner.d.cts +2 -2
- package/dist/ui/sonner.d.mts +2 -2
- package/dist/ui/spinner.d.cts +2 -2
- package/dist/ui/spinner.d.mts +2 -2
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.mts +2 -2
- package/dist/ui/table.d.cts +9 -9
- package/dist/ui/table.d.mts +18 -18
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.mts +5 -5
- package/dist/ui/textarea.d.cts +2 -2
- package/dist/ui/textarea.d.mts +2 -2
- package/dist/ui/toggle-group.d.cts +3 -3
- package/dist/ui/toggle-group.d.mts +3 -3
- package/dist/ui/toggle.d.cts +2 -2
- package/dist/ui/toggle.d.mts +4 -4
- package/dist/ui/tooltip.d.cts +5 -5
- package/dist/ui/tooltip.d.mts +5 -5
- package/package.json +1 -1
- package/dist/button-6-3G2PiR.mjs +0 -2
- package/dist/button-6-3G2PiR.mjs.map +0 -1
- package/dist/button-D0WaocKO.cjs +0 -2
- package/dist/button-D0WaocKO.cjs.map +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use client";import"../button.variants-DuuH1O0_.mjs";import{t as e}from"../button-
|
|
1
|
+
"use client";import"../button.variants-DuuH1O0_.mjs";import{t as e}from"../button-B2FJrOBP.mjs";import{Progress as t}from"./progress.mjs";import{cn as n,formatBytes as r}from"@customafk/react-toolkit/utils";import{useCallback as i,useEffect as a}from"react";import{jsx as o,jsxs as s}from"react/jsx-runtime";import{FileText as c,Image as l,Trash2 as u,Upload as d}from"lucide-react";import f from"react-dropzone";import{useControllableState as p}from"@customafk/react-toolkit/hooks/useControllableState";import{toast as m}from"sonner";function h(e){let{value:t,onValueChange:c,onUpload:h,progresses:v,accept:y={"image/*":[]},maxSize:b=1024*1024*2,maxFileCount:x=1,multiple:S=!1,disabled:C=!1,showText:w=!0,iconSize:T,className:E,...D}=e,[O,k]=p({prop:t,onChange:c}),A=i((e,t)=>{if(!S&&x===1&&e.length>1){m.error(`Cannot upload more than 1 file at a time`);return}if((O?.length??0)+e.length>x){m.error(`Cannot upload more than ${x} files`);return}let n=e.map(e=>Object.assign(e,{preview:URL.createObjectURL(e)})),r=O?[...O,...n]:n;if(k(r),t.length>0&&t.forEach(({file:e})=>{m.error(`File ${e.name} was rejected`)}),h&&r.length>0&&r.length<=x){let e=r.length>0?`${r.length} files`:`file`;h(r).then(()=>{k([]),m(`${e} uploaded`)})}},[O,x,S,h,k]);function j(e){if(!O)return;_(O[e])&&URL.revokeObjectURL(O[e].preview);let t=O.filter((t,n)=>n!==e);k(t),c?.(t)}a(()=>()=>{O&&O.forEach(e=>{_(e)&&URL.revokeObjectURL(e.preview)})},[]);let M=C||(O?.length??0)>=x;return s(`div`,{className:`relative flex w-full flex-col gap-6`,children:[o(f,{onDrop:A,accept:y,maxSize:b,maxFiles:x,multiple:x>1||S,disabled:M,children:({getRootProps:e,getInputProps:t,isDragActive:i})=>s(`div`,{...e(),className:n(`group`,`border-border-weak`,`hover:bg-border-weak/20`,`relative grid h-52 w-full cursor-pointer place-items-center rounded-lg border-2 border-dashed px-5 py-2.5 text-center transition`,`ring-offset-background`,`focus-visible:ring-primary-weak`,`focus-visible:ring-2`,`focus-visible:ring-offset-2`,`focus-visible:outline-hidden`,i&&`border-border-primary-strong bg-border-weak/40`,M&&`pointer-events-none opacity-60`,E),...D,children:[o(`input`,{...t()}),i?s(`div`,{className:`flex flex-col items-center justify-center gap-4 sm:px-5`,children:[o(`div`,{className:`rounded-full border border-dashed p-3`,children:o(d,{className:`text-text-positive-muted size-7`,"aria-hidden":`true`})}),o(`p`,{className:`text-text-positive-muted font-medium`,children:`Drop the files here`})]}):s(`div`,{className:`flex flex-col items-center justify-center gap-4 sm:px-5`,children:[o(`div`,{className:`rounded-full border border-dashed p-3`,children:o(d,{size:T||24,className:`text-muted-foreground`,"aria-hidden":`true`})}),w&&s(`div`,{className:`flex flex-col gap-px`,children:[s(`p`,{className:`text-text-positive-weak text-xs font-medium`,children:[`Drag `,`'n'`,` drop files here, or click to select files`]}),s(`p`,{className:`text-text-positive-muted text-xs`,children:[`You can upload`,x>1?` ${x===1/0?`multiple`:x}
|
|
2
2
|
files (up to ${r(b)} each)`:` a file with ${r(b)}`]})]})]})]})}),O?.length?s(`div`,{className:`h-fit w-full overflow-y-auto`,children:[s(`div`,{className:`flex items-center justify-between px-3 py-2.5`,children:[s(`div`,{className:`text-text-positive-weak flex items-center gap-1`,children:[o(l,{size:16,"aria-hidden":`true`}),s(`p`,{className:`text-sm`,children:[`Ảnh đã tải lên (`,O.length,`)`]})]}),s(`button`,{className:`hover:text-text-positive text-text-positive-muted flex cursor-pointer items-center gap-1 transition-colors duration-200`,onClick:()=>{O&&(O.forEach(e=>{_(e)&&URL.revokeObjectURL(e.preview)}),k([]),c?.([]))},children:[o(u,{size:16,"aria-hidden":`true`}),o(`p`,{className:`text-sm`,children:`Xóa tất cả`})]})]}),o(`div`,{className:`flex flex-col gap-2.5`,children:O?.map((e,t)=>o(g,{file:e,onRemove:()=>j(t),progress:v?.[e.name]},t))})]}):null]})}function g({file:n,progress:i,onRemove:a}){return s(`div`,{className:`border-border-weak hover:border-border relative flex items-center gap-4 rounded-md border py-2 pr-3 pl-2 shadow-xs transition-colors`,children:[s(`div`,{className:`flex flex-1 gap-2.5`,children:[_(n)?o(v,{file:n}):null,s(`div`,{className:`flex w-full flex-col gap-2`,children:[s(`div`,{className:`flex flex-col gap-y-0.5`,children:[o(`p`,{className:`text-text-positive line-clamp-1 text-sm`,children:n.name}),o(`p`,{className:`text-text-positive-muted text-xs`,children:r(n.size)})]}),i?o(t,{value:i}):null]})]}),o(`div`,{className:`flex items-center gap-2`,children:s(e,{type:`button`,variant:`ghost`,color:`secondary`,size:`icon`,className:`size-7`,onClick:a,children:[o(u,{size:16,className:`text-text-positive-muted`,"aria-hidden":`true`}),o(`span`,{className:`sr-only`,children:`Remove file`})]})})]})}function _(e){return`preview`in e&&typeof e.preview==`string`}function v({file:e}){return e.type.startsWith(`image/`)?o(`img`,{src:e.preview,className:`border-border aspect-square size-10 shrink-0 rounded border object-cover object-top shadow-sm`}):o(c,{className:`text-text-positive-muted size-10 border`,"aria-hidden":`true`})}export{h as FileUploader};
|
|
3
3
|
//# sourceMappingURL=file-uploader.mjs.map
|
package/dist/ui/form.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime113 from "react/jsx-runtime";
|
|
2
2
|
import * as react11 from "react";
|
|
3
3
|
import { Label, Slot } from "radix-ui";
|
|
4
4
|
import * as react_hook_form0 from "react-hook-form";
|
|
@@ -8,7 +8,7 @@ import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
|
|
|
8
8
|
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form0.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
9
9
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
|
|
10
10
|
...props
|
|
11
|
-
}: ControllerProps<TFieldValues, TName>) =>
|
|
11
|
+
}: ControllerProps<TFieldValues, TName>) => react_jsx_runtime113.JSX.Element;
|
|
12
12
|
declare const useFormField: () => {
|
|
13
13
|
invalid: boolean;
|
|
14
14
|
isDirty: boolean;
|
|
@@ -29,22 +29,22 @@ declare const FormItem: react11.MemoExoticComponent<({
|
|
|
29
29
|
...props
|
|
30
30
|
}: React.ComponentProps<"div"> & {
|
|
31
31
|
orientation?: "vertical" | "horizontal" | "responsive";
|
|
32
|
-
}) =>
|
|
32
|
+
}) => react_jsx_runtime113.JSX.Element>;
|
|
33
33
|
declare const FormLabel: react11.MemoExoticComponent<({
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<typeof Label.Root>) =>
|
|
35
|
+
}: React.ComponentProps<typeof Label.Root>) => react_jsx_runtime113.JSX.Element>;
|
|
36
36
|
declare const FormControl: react11.MemoExoticComponent<({
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<typeof Slot.Slot>) =>
|
|
38
|
+
}: React.ComponentProps<typeof Slot.Slot>) => react_jsx_runtime113.JSX.Element>;
|
|
39
39
|
declare function FormDescription({
|
|
40
40
|
className,
|
|
41
41
|
...props
|
|
42
|
-
}: React.ComponentProps<'p'>):
|
|
42
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime113.JSX.Element;
|
|
43
43
|
declare function FormMessage({
|
|
44
44
|
className,
|
|
45
45
|
children,
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<'p'>):
|
|
47
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime113.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
|
|
50
50
|
//# sourceMappingURL=form.d.cts.map
|
package/dist/ui/form.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react13 from "react";
|
|
2
|
+
import * as react_jsx_runtime184 from "react/jsx-runtime";
|
|
3
3
|
import { Label, Slot } from "radix-ui";
|
|
4
4
|
import * as react_hook_form0 from "react-hook-form";
|
|
5
5
|
import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
|
|
@@ -8,7 +8,7 @@ import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
|
|
|
8
8
|
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form0.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
9
9
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
|
|
10
10
|
...props
|
|
11
|
-
}: ControllerProps<TFieldValues, TName>) =>
|
|
11
|
+
}: ControllerProps<TFieldValues, TName>) => react_jsx_runtime184.JSX.Element;
|
|
12
12
|
declare const useFormField: () => {
|
|
13
13
|
invalid: boolean;
|
|
14
14
|
isDirty: boolean;
|
|
@@ -23,28 +23,28 @@ declare const useFormField: () => {
|
|
|
23
23
|
formDescriptionId: string;
|
|
24
24
|
formMessageId: string;
|
|
25
25
|
};
|
|
26
|
-
declare const FormItem:
|
|
26
|
+
declare const FormItem: react13.MemoExoticComponent<({
|
|
27
27
|
className,
|
|
28
28
|
orientation,
|
|
29
29
|
...props
|
|
30
30
|
}: React.ComponentProps<"div"> & {
|
|
31
31
|
orientation?: "vertical" | "horizontal" | "responsive";
|
|
32
|
-
}) =>
|
|
33
|
-
declare const FormLabel:
|
|
32
|
+
}) => react_jsx_runtime184.JSX.Element>;
|
|
33
|
+
declare const FormLabel: react13.MemoExoticComponent<({
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<typeof Label.Root>) =>
|
|
36
|
-
declare const FormControl:
|
|
35
|
+
}: React.ComponentProps<typeof Label.Root>) => react_jsx_runtime184.JSX.Element>;
|
|
36
|
+
declare const FormControl: react13.MemoExoticComponent<({
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<typeof Slot.Slot>) =>
|
|
38
|
+
}: React.ComponentProps<typeof Slot.Slot>) => react_jsx_runtime184.JSX.Element>;
|
|
39
39
|
declare function FormDescription({
|
|
40
40
|
className,
|
|
41
41
|
...props
|
|
42
|
-
}: React.ComponentProps<'p'>):
|
|
42
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime184.JSX.Element;
|
|
43
43
|
declare function FormMessage({
|
|
44
44
|
className,
|
|
45
45
|
children,
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<'p'>):
|
|
47
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime184.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
|
|
50
50
|
//# sourceMappingURL=form.d.mts.map
|
package/dist/ui/hover-card.d.cts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime198 from "react/jsx-runtime";
|
|
2
2
|
import { HoverCard as HoverCard$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/hover-card.d.ts
|
|
5
5
|
declare function HoverCard({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof HoverCard$1.Root>):
|
|
7
|
+
}: React.ComponentProps<typeof HoverCard$1.Root>): react_jsx_runtime198.JSX.Element;
|
|
8
8
|
declare function HoverCardTrigger({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof HoverCard$1.Trigger>):
|
|
10
|
+
}: React.ComponentProps<typeof HoverCard$1.Trigger>): react_jsx_runtime198.JSX.Element;
|
|
11
11
|
declare function HoverCardContent({
|
|
12
12
|
className,
|
|
13
13
|
align,
|
|
14
14
|
sideOffset,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof HoverCard$1.Content>):
|
|
16
|
+
}: React.ComponentProps<typeof HoverCard$1.Content>): react_jsx_runtime198.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
|
19
19
|
//# sourceMappingURL=hover-card.d.cts.map
|
package/dist/ui/hover-card.d.mts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime125 from "react/jsx-runtime";
|
|
2
2
|
import { HoverCard as HoverCard$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/hover-card.d.ts
|
|
5
5
|
declare function HoverCard({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof HoverCard$1.Root>):
|
|
7
|
+
}: React.ComponentProps<typeof HoverCard$1.Root>): react_jsx_runtime125.JSX.Element;
|
|
8
8
|
declare function HoverCardTrigger({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof HoverCard$1.Trigger>):
|
|
10
|
+
}: React.ComponentProps<typeof HoverCard$1.Trigger>): react_jsx_runtime125.JSX.Element;
|
|
11
11
|
declare function HoverCardContent({
|
|
12
12
|
className,
|
|
13
13
|
align,
|
|
14
14
|
sideOffset,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof HoverCard$1.Content>):
|
|
16
|
+
}: React.ComponentProps<typeof HoverCard$1.Content>): react_jsx_runtime125.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
|
19
19
|
//# sourceMappingURL=hover-card.d.mts.map
|
package/dist/ui/input-otp.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime133 from "react/jsx-runtime";
|
|
2
2
|
import { OTPInput } from "input-otp";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/input-otp.d.ts
|
|
@@ -8,21 +8,21 @@ declare function InputOTP({
|
|
|
8
8
|
...props
|
|
9
9
|
}: React.ComponentProps<typeof OTPInput> & {
|
|
10
10
|
containerClassName?: string;
|
|
11
|
-
}):
|
|
11
|
+
}): react_jsx_runtime133.JSX.Element;
|
|
12
12
|
declare function InputOTPGroup({
|
|
13
13
|
className,
|
|
14
14
|
...props
|
|
15
|
-
}: React.ComponentProps<'div'>):
|
|
15
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime133.JSX.Element;
|
|
16
16
|
declare function InputOTPSlot({
|
|
17
17
|
index,
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
20
|
}: React.ComponentProps<'div'> & {
|
|
21
21
|
index: number;
|
|
22
|
-
}):
|
|
22
|
+
}): react_jsx_runtime133.JSX.Element;
|
|
23
23
|
declare function InputOTPSeparator({
|
|
24
24
|
...props
|
|
25
|
-
}: React.ComponentProps<'div'>):
|
|
25
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime133.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };
|
|
28
28
|
//# sourceMappingURL=input-otp.d.cts.map
|
package/dist/ui/input-otp.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime146 from "react/jsx-runtime";
|
|
2
2
|
import { OTPInput } from "input-otp";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/input-otp.d.ts
|
|
@@ -8,21 +8,21 @@ declare function InputOTP({
|
|
|
8
8
|
...props
|
|
9
9
|
}: React.ComponentProps<typeof OTPInput> & {
|
|
10
10
|
containerClassName?: string;
|
|
11
|
-
}):
|
|
11
|
+
}): react_jsx_runtime146.JSX.Element;
|
|
12
12
|
declare function InputOTPGroup({
|
|
13
13
|
className,
|
|
14
14
|
...props
|
|
15
|
-
}: React.ComponentProps<'div'>):
|
|
15
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime146.JSX.Element;
|
|
16
16
|
declare function InputOTPSlot({
|
|
17
17
|
index,
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
20
|
}: React.ComponentProps<'div'> & {
|
|
21
21
|
index: number;
|
|
22
|
-
}):
|
|
22
|
+
}): react_jsx_runtime146.JSX.Element;
|
|
23
23
|
declare function InputOTPSeparator({
|
|
24
24
|
...props
|
|
25
|
-
}: React.ComponentProps<'div'>):
|
|
25
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime146.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };
|
|
28
28
|
//# sourceMappingURL=input-otp.d.mts.map
|
package/dist/ui/input.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as InputVariantProps, r as inputVariants, t as Input } from "../input-
|
|
1
|
+
import { n as InputVariantProps, r as inputVariants, t as Input } from "../input-Bm0YXroi.cjs";
|
|
2
2
|
export { Input, InputVariantProps, inputVariants };
|
package/dist/ui/input.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as InputVariantProps, r as inputVariants, t as Input } from "../input-
|
|
1
|
+
import { n as InputVariantProps, r as inputVariants, t as Input } from "../input-CLlVXOR2.mjs";
|
|
2
2
|
export { Input, InputVariantProps, inputVariants };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { t as Input } from "../../input-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Input } from "../../input-Bm0YXroi.cjs";
|
|
2
|
+
import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/inputs/search-input.d.ts
|
|
5
5
|
type Props = React.ComponentPropsWithoutRef<typeof Input>;
|
|
6
6
|
declare const SearchInput: ({
|
|
7
7
|
className,
|
|
8
8
|
...rest
|
|
9
|
-
}: Props) =>
|
|
9
|
+
}: Props) => react_jsx_runtime31.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { SearchInput };
|
|
12
12
|
//# sourceMappingURL=search-input.d.cts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { t as Input } from "../../input-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Input } from "../../input-CLlVXOR2.mjs";
|
|
2
|
+
import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/inputs/search-input.d.ts
|
|
5
5
|
type Props = React.ComponentPropsWithoutRef<typeof Input>;
|
|
6
6
|
declare const SearchInput: ({
|
|
7
7
|
className,
|
|
8
8
|
...rest
|
|
9
|
-
}: Props) =>
|
|
9
|
+
}: Props) => react_jsx_runtime31.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { SearchInput };
|
|
12
12
|
//# sourceMappingURL=search-input.d.mts.map
|
package/dist/ui/item.d.cts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { Separator } from "./separator.cjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime120 from "react/jsx-runtime";
|
|
3
|
+
import * as class_variance_authority_types5 from "class-variance-authority/types";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/ui/item.d.ts
|
|
7
7
|
declare function ItemGroup({
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<'div'>):
|
|
10
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime120.JSX.Element;
|
|
11
11
|
declare function ItemSeparator({
|
|
12
12
|
className,
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof Separator>):
|
|
14
|
+
}: React.ComponentProps<typeof Separator>): react_jsx_runtime120.JSX.Element;
|
|
15
15
|
declare const itemVariants: (props?: ({
|
|
16
16
|
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
17
17
|
size?: "sm" | "default" | null | undefined;
|
|
18
|
-
} &
|
|
18
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
19
19
|
declare function Item({
|
|
20
20
|
className,
|
|
21
21
|
variant,
|
|
@@ -24,39 +24,39 @@ declare function Item({
|
|
|
24
24
|
...props
|
|
25
25
|
}: React.ComponentProps<'div'> & VariantProps<typeof itemVariants> & {
|
|
26
26
|
asChild?: boolean;
|
|
27
|
-
}):
|
|
27
|
+
}): react_jsx_runtime120.JSX.Element;
|
|
28
28
|
declare const itemMediaVariants: (props?: ({
|
|
29
29
|
variant?: "default" | "image" | "icon" | null | undefined;
|
|
30
|
-
} &
|
|
30
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
31
31
|
declare function ItemMedia({
|
|
32
32
|
className,
|
|
33
33
|
variant,
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof itemMediaVariants>):
|
|
35
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof itemMediaVariants>): react_jsx_runtime120.JSX.Element;
|
|
36
36
|
declare function ItemContent({
|
|
37
37
|
className,
|
|
38
38
|
...props
|
|
39
|
-
}: React.ComponentProps<'div'>):
|
|
39
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime120.JSX.Element;
|
|
40
40
|
declare function ItemTitle({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<'div'>):
|
|
43
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime120.JSX.Element;
|
|
44
44
|
declare function ItemDescription({
|
|
45
45
|
className,
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<'p'>):
|
|
47
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime120.JSX.Element;
|
|
48
48
|
declare function ItemActions({
|
|
49
49
|
className,
|
|
50
50
|
...props
|
|
51
|
-
}: React.ComponentProps<'div'>):
|
|
51
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime120.JSX.Element;
|
|
52
52
|
declare function ItemHeader({
|
|
53
53
|
className,
|
|
54
54
|
...props
|
|
55
|
-
}: React.ComponentProps<'div'>):
|
|
55
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime120.JSX.Element;
|
|
56
56
|
declare function ItemFooter({
|
|
57
57
|
className,
|
|
58
58
|
...props
|
|
59
|
-
}: React.ComponentProps<'div'>):
|
|
59
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime120.JSX.Element;
|
|
60
60
|
//#endregion
|
|
61
61
|
export { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle };
|
|
62
62
|
//# sourceMappingURL=item.d.cts.map
|
package/dist/ui/item.d.mts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { Separator } from "./separator.mjs";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime167 from "react/jsx-runtime";
|
|
4
|
+
import * as class_variance_authority_types6 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/ui/item.d.ts
|
|
7
7
|
declare function ItemGroup({
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<'div'>):
|
|
10
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime167.JSX.Element;
|
|
11
11
|
declare function ItemSeparator({
|
|
12
12
|
className,
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof Separator>):
|
|
14
|
+
}: React.ComponentProps<typeof Separator>): react_jsx_runtime167.JSX.Element;
|
|
15
15
|
declare const itemVariants: (props?: ({
|
|
16
16
|
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
17
17
|
size?: "sm" | "default" | null | undefined;
|
|
18
|
-
} &
|
|
18
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
19
19
|
declare function Item({
|
|
20
20
|
className,
|
|
21
21
|
variant,
|
|
@@ -24,39 +24,39 @@ declare function Item({
|
|
|
24
24
|
...props
|
|
25
25
|
}: React.ComponentProps<'div'> & VariantProps<typeof itemVariants> & {
|
|
26
26
|
asChild?: boolean;
|
|
27
|
-
}):
|
|
27
|
+
}): react_jsx_runtime167.JSX.Element;
|
|
28
28
|
declare const itemMediaVariants: (props?: ({
|
|
29
29
|
variant?: "default" | "image" | "icon" | null | undefined;
|
|
30
|
-
} &
|
|
30
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
31
31
|
declare function ItemMedia({
|
|
32
32
|
className,
|
|
33
33
|
variant,
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof itemMediaVariants>):
|
|
35
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof itemMediaVariants>): react_jsx_runtime167.JSX.Element;
|
|
36
36
|
declare function ItemContent({
|
|
37
37
|
className,
|
|
38
38
|
...props
|
|
39
|
-
}: React.ComponentProps<'div'>):
|
|
39
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime167.JSX.Element;
|
|
40
40
|
declare function ItemTitle({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<'div'>):
|
|
43
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime167.JSX.Element;
|
|
44
44
|
declare function ItemDescription({
|
|
45
45
|
className,
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<'p'>):
|
|
47
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime167.JSX.Element;
|
|
48
48
|
declare function ItemActions({
|
|
49
49
|
className,
|
|
50
50
|
...props
|
|
51
|
-
}: React.ComponentProps<'div'>):
|
|
51
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime167.JSX.Element;
|
|
52
52
|
declare function ItemHeader({
|
|
53
53
|
className,
|
|
54
54
|
...props
|
|
55
|
-
}: React.ComponentProps<'div'>):
|
|
55
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime167.JSX.Element;
|
|
56
56
|
declare function ItemFooter({
|
|
57
57
|
className,
|
|
58
58
|
...props
|
|
59
|
-
}: React.ComponentProps<'div'>):
|
|
59
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime167.JSX.Element;
|
|
60
60
|
//#endregion
|
|
61
61
|
export { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle };
|
|
62
62
|
//# sourceMappingURL=item.d.mts.map
|
package/dist/ui/label.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime235 from "react/jsx-runtime";
|
|
2
2
|
import { Label as Label$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/label.d.ts
|
|
5
5
|
declare function Label({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof Label$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof Label$1.Root>): react_jsx_runtime235.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Label };
|
|
11
11
|
//# sourceMappingURL=label.d.cts.map
|
package/dist/ui/label.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime224 from "react/jsx-runtime";
|
|
2
2
|
import { Label as Label$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/label.d.ts
|
|
5
5
|
declare function Label({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof Label$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof Label$1.Root>): react_jsx_runtime224.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Label };
|
|
11
11
|
//# sourceMappingURL=label.d.mts.map
|
package/dist/ui/menubar.d.cts
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime138 from "react/jsx-runtime";
|
|
2
2
|
import { Menubar as Menubar$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/menubar.d.ts
|
|
5
5
|
declare function Menubar({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof Menubar$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof Menubar$1.Root>): react_jsx_runtime138.JSX.Element;
|
|
9
9
|
declare function MenubarMenu({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof Menubar$1.Menu>):
|
|
11
|
+
}: React.ComponentProps<typeof Menubar$1.Menu>): react_jsx_runtime138.JSX.Element;
|
|
12
12
|
declare function MenubarGroup({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof Menubar$1.Group>):
|
|
14
|
+
}: React.ComponentProps<typeof Menubar$1.Group>): react_jsx_runtime138.JSX.Element;
|
|
15
15
|
declare function MenubarPortal({
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof Menubar$1.Portal>):
|
|
17
|
+
}: React.ComponentProps<typeof Menubar$1.Portal>): react_jsx_runtime138.JSX.Element;
|
|
18
18
|
declare function MenubarRadioGroup({
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof Menubar$1.RadioGroup>):
|
|
20
|
+
}: React.ComponentProps<typeof Menubar$1.RadioGroup>): react_jsx_runtime138.JSX.Element;
|
|
21
21
|
declare function MenubarTrigger({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: React.ComponentProps<typeof Menubar$1.Trigger>):
|
|
24
|
+
}: React.ComponentProps<typeof Menubar$1.Trigger>): react_jsx_runtime138.JSX.Element;
|
|
25
25
|
declare function MenubarContent({
|
|
26
26
|
className,
|
|
27
27
|
align,
|
|
28
28
|
alignOffset,
|
|
29
29
|
sideOffset,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof Menubar$1.Content>):
|
|
31
|
+
}: React.ComponentProps<typeof Menubar$1.Content>): react_jsx_runtime138.JSX.Element;
|
|
32
32
|
declare function MenubarItem({
|
|
33
33
|
className,
|
|
34
34
|
inset,
|
|
@@ -37,36 +37,36 @@ declare function MenubarItem({
|
|
|
37
37
|
}: React.ComponentProps<typeof Menubar$1.Item> & {
|
|
38
38
|
inset?: boolean;
|
|
39
39
|
variant?: 'default' | 'destructive';
|
|
40
|
-
}):
|
|
40
|
+
}): react_jsx_runtime138.JSX.Element;
|
|
41
41
|
declare function MenubarCheckboxItem({
|
|
42
42
|
className,
|
|
43
43
|
children,
|
|
44
44
|
checked,
|
|
45
45
|
...props
|
|
46
|
-
}: React.ComponentProps<typeof Menubar$1.CheckboxItem>):
|
|
46
|
+
}: React.ComponentProps<typeof Menubar$1.CheckboxItem>): react_jsx_runtime138.JSX.Element;
|
|
47
47
|
declare function MenubarRadioItem({
|
|
48
48
|
className,
|
|
49
49
|
children,
|
|
50
50
|
...props
|
|
51
|
-
}: React.ComponentProps<typeof Menubar$1.RadioItem>):
|
|
51
|
+
}: React.ComponentProps<typeof Menubar$1.RadioItem>): react_jsx_runtime138.JSX.Element;
|
|
52
52
|
declare function MenubarLabel({
|
|
53
53
|
className,
|
|
54
54
|
inset,
|
|
55
55
|
...props
|
|
56
56
|
}: React.ComponentProps<typeof Menubar$1.Label> & {
|
|
57
57
|
inset?: boolean;
|
|
58
|
-
}):
|
|
58
|
+
}): react_jsx_runtime138.JSX.Element;
|
|
59
59
|
declare function MenubarSeparator({
|
|
60
60
|
className,
|
|
61
61
|
...props
|
|
62
|
-
}: React.ComponentProps<typeof Menubar$1.Separator>):
|
|
62
|
+
}: React.ComponentProps<typeof Menubar$1.Separator>): react_jsx_runtime138.JSX.Element;
|
|
63
63
|
declare function MenubarShortcut({
|
|
64
64
|
className,
|
|
65
65
|
...props
|
|
66
|
-
}: React.ComponentProps<'span'>):
|
|
66
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime138.JSX.Element;
|
|
67
67
|
declare function MenubarSub({
|
|
68
68
|
...props
|
|
69
|
-
}: React.ComponentProps<typeof Menubar$1.Sub>):
|
|
69
|
+
}: React.ComponentProps<typeof Menubar$1.Sub>): react_jsx_runtime138.JSX.Element;
|
|
70
70
|
declare function MenubarSubTrigger({
|
|
71
71
|
className,
|
|
72
72
|
inset,
|
|
@@ -74,11 +74,11 @@ declare function MenubarSubTrigger({
|
|
|
74
74
|
...props
|
|
75
75
|
}: React.ComponentProps<typeof Menubar$1.SubTrigger> & {
|
|
76
76
|
inset?: boolean;
|
|
77
|
-
}):
|
|
77
|
+
}): react_jsx_runtime138.JSX.Element;
|
|
78
78
|
declare function MenubarSubContent({
|
|
79
79
|
className,
|
|
80
80
|
...props
|
|
81
|
-
}: React.ComponentProps<typeof Menubar$1.SubContent>):
|
|
81
|
+
}: React.ComponentProps<typeof Menubar$1.SubContent>): react_jsx_runtime138.JSX.Element;
|
|
82
82
|
//#endregion
|
|
83
83
|
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger };
|
|
84
84
|
//# sourceMappingURL=menubar.d.cts.map
|