@customafk/lunas-ui 0.0.38 → 0.0.40
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-CuD6ftFd.d.cts → button-B3IGQSHK.d.cts} +5 -5
- package/dist/{button-DG4Wt4hh.d.ts → button-DDKLvzA9.d.ts} +3 -3
- package/dist/calendar-4R0xSc0m.js +2 -0
- package/dist/calendar-4R0xSc0m.js.map +1 -0
- package/dist/calendar-DB7j4ZPb.cjs +2 -0
- package/dist/calendar-DB7j4ZPb.cjs.map +1 -0
- package/dist/{command-DT-Vyt0F.d.cts → command-4kxRwXtl.d.cts} +12 -12
- package/dist/{command-D-A3HhTp.d.ts → command-Cc0A7QL7.d.ts} +12 -12
- package/dist/data-display/empty.d.cts +2 -2
- package/dist/data-display/empty.d.ts +2 -2
- package/dist/data-display/statistic.d.cts +2 -2
- package/dist/data-display/statistic.d.ts +2 -2
- package/dist/{dialog-bbVmbjTG.d.cts → dialog-CIrv1yaX.d.cts} +12 -12
- package/dist/{dialog-q2qolwKy.d.ts → dialog-DD4Dinba.d.ts} +12 -12
- package/dist/dialogs/detail-dialog/component/sidebar.cjs +1 -1
- package/dist/dialogs/detail-dialog/component/sidebar.d.cts +49 -48
- package/dist/dialogs/detail-dialog/component/sidebar.d.ts +49 -48
- package/dist/dialogs/detail-dialog/component/sidebar.js +1 -1
- package/dist/dialogs/detail-dialog/index.cjs +1 -1
- package/dist/dialogs/detail-dialog/index.cjs.map +1 -1
- package/dist/dialogs/detail-dialog/index.js +1 -1
- package/dist/dialogs/detail-dialog/index.js.map +1 -1
- package/dist/dialogs/form-dialog.d.cts +2 -2
- package/dist/dialogs/form-dialog.d.ts +2 -2
- package/dist/forms/combobox-field.d.cts +2 -2
- package/dist/forms/combobox-field.d.ts +2 -2
- package/dist/forms/date-field.cjs +1 -1
- package/dist/forms/date-field.d.cts +2 -2
- package/dist/forms/date-field.d.ts +2 -2
- package/dist/forms/date-field.js +1 -1
- package/dist/forms/form-wrapper.d.cts +2 -2
- package/dist/forms/form-wrapper.d.ts +2 -2
- package/dist/forms/multi-select-field.d.cts +2 -2
- package/dist/forms/multi-select-field.d.ts +2 -2
- package/dist/forms/number-field.d.cts +2 -2
- package/dist/forms/number-field.d.ts +2 -2
- package/dist/forms/password-field.d.cts +2 -2
- package/dist/forms/password-field.d.ts +2 -2
- package/dist/forms/select-field.d.cts +2 -2
- package/dist/forms/select-field.d.ts +2 -2
- package/dist/forms/switch-field.d.cts +2 -2
- package/dist/forms/switch-field.d.ts +2 -2
- package/dist/forms/text-field.d.cts +2 -2
- package/dist/forms/text-field.d.ts +2 -2
- package/dist/forms/textarea-field.d.cts +2 -2
- package/dist/forms/textarea-field.d.ts +2 -2
- package/dist/{input-xXKZJ_56.d.ts → input-CBmfFkSA.d.cts} +3 -3
- package/dist/{input-Cl99LGyN.d.cts → input-CVn7IbgO.d.ts} +3 -3
- package/dist/layouts/app-layout/index.cjs +1 -1
- package/dist/layouts/app-layout/index.cjs.map +1 -1
- package/dist/layouts/app-layout/index.d.cts +24 -24
- package/dist/layouts/app-layout/index.d.ts +47 -47
- package/dist/layouts/app-layout/index.js +1 -1
- package/dist/layouts/app-layout/index.js.map +1 -1
- package/dist/layouts/flex.d.cts +7 -7
- package/dist/layouts/flex.d.ts +5 -5
- package/dist/layouts/main/index.d.cts +4 -4
- package/dist/layouts/main/index.d.ts +4 -4
- package/dist/{separator-DUrj7nek.d.ts → separator-CKvy23ea.d.ts} +3 -3
- package/dist/{separator-DnlF2DdF.d.cts → separator-DHBhn7Y8.d.cts} +3 -3
- package/dist/sidebar-3ZtESIIQ.cjs +2 -0
- package/dist/sidebar-3ZtESIIQ.cjs.map +1 -0
- package/dist/sidebar-3aHCC_OD.js +2 -0
- package/dist/sidebar-3aHCC_OD.js.map +1 -0
- package/dist/table/index.d.cts +2 -2
- package/dist/table/index.d.ts +2 -2
- package/dist/{toggle-CtovzZAs.d.cts → toggle-BLlf4Xgl.d.cts} +3 -3
- package/dist/{toggle-DBzjbA4J.d.ts → toggle-Bmcoz8U-.d.ts} +5 -5
- package/dist/{tooltip-0nIbScX6.d.ts → tooltip-D0KLOhA8.d.ts} +6 -6
- package/dist/{tooltip-Dmw3-czf.d.cts → tooltip-etVeWcFC.d.cts} +6 -6
- package/dist/typography/paragraph.d.cts +2 -2
- package/dist/typography/paragraph.d.ts +2 -2
- package/dist/typography/title.d.cts +2 -2
- package/dist/typography/title.d.ts +2 -2
- package/dist/ui/alert-dialog.d.cts +12 -12
- package/dist/ui/alert-dialog.d.ts +12 -12
- package/dist/ui/alert.d.cts +4 -4
- package/dist/ui/alert.d.ts +4 -4
- package/dist/ui/aspect-ratio.d.cts +2 -2
- package/dist/ui/aspect-ratio.d.ts +2 -2
- package/dist/ui/avatar.d.cts +4 -4
- package/dist/ui/avatar.d.ts +4 -4
- package/dist/ui/badge.d.cts +5 -5
- package/dist/ui/badge.d.ts +3 -3
- package/dist/ui/breadcrumb.d.cts +8 -8
- package/dist/ui/breadcrumb.d.ts +8 -8
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.ts +1 -1
- package/dist/ui/calendar.cjs +1 -1
- package/dist/ui/calendar.d.cts +4 -4
- package/dist/ui/calendar.d.ts +4 -4
- package/dist/ui/calendar.js +1 -1
- package/dist/ui/card.d.cts +8 -8
- package/dist/ui/card.d.ts +8 -8
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.ts +7 -7
- package/dist/ui/collapsible.d.cts +4 -4
- package/dist/ui/collapsible.d.ts +4 -4
- package/dist/ui/command.d.cts +2 -2
- package/dist/ui/command.d.ts +2 -2
- package/dist/ui/context-menu.d.cts +16 -16
- package/dist/ui/context-menu.d.ts +16 -16
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/dialog.d.ts +1 -1
- package/dist/ui/dropdown-menu.d.cts +16 -16
- package/dist/ui/dropdown-menu.d.ts +16 -16
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.ts +2 -2
- package/dist/ui/form.d.cts +7 -7
- package/dist/ui/form.d.ts +7 -7
- package/dist/ui/hover-card.d.cts +4 -4
- package/dist/ui/hover-card.d.ts +4 -4
- package/dist/ui/input-otp.d.cts +5 -5
- package/dist/ui/input-otp.d.ts +5 -5
- package/dist/ui/input.d.cts +1 -1
- package/dist/ui/input.d.ts +1 -1
- package/dist/ui/inputs/search-input.d.cts +3 -3
- package/dist/ui/inputs/search-input.d.ts +3 -3
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.ts +2 -2
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/menubar.d.ts +17 -17
- package/dist/ui/multi-select.d.cts +2 -2
- package/dist/ui/multi-select.d.ts +2 -2
- package/dist/ui/navigation-menu.d.cts +9 -9
- package/dist/ui/navigation-menu.d.ts +11 -11
- package/dist/ui/pagination.d.cts +9 -9
- package/dist/ui/pagination.d.ts +9 -9
- package/dist/ui/popover.d.cts +5 -5
- package/dist/ui/popover.d.ts +5 -5
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.ts +2 -2
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/radio-group.d.ts +3 -3
- package/dist/ui/resizable.d.cts +4 -4
- package/dist/ui/resizable.d.ts +4 -4
- package/dist/ui/scroll-area.d.cts +3 -3
- package/dist/ui/scroll-area.d.ts +3 -3
- package/dist/ui/select.d.cts +11 -11
- package/dist/ui/select.d.ts +11 -11
- package/dist/ui/separator.d.cts +1 -1
- package/dist/ui/separator.d.ts +1 -1
- package/dist/ui/sheet.d.cts +9 -9
- package/dist/ui/sheet.d.ts +9 -9
- package/dist/ui/sidebar.d.cts +28 -28
- package/dist/ui/sidebar.d.ts +28 -28
- package/dist/ui/skeleton.d.cts +2 -2
- package/dist/ui/skeleton.d.ts +2 -2
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/slider.d.ts +2 -2
- package/dist/ui/sonner.d.cts +2 -2
- package/dist/ui/sonner.d.ts +2 -2
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.ts +2 -2
- package/dist/ui/table.d.cts +9 -9
- package/dist/ui/table.d.ts +9 -9
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.ts +5 -5
- package/dist/ui/textarea.d.ts +2 -2
- package/dist/ui/toggle-group.d.cts +4 -4
- package/dist/ui/toggle-group.d.ts +4 -4
- package/dist/ui/toggle.d.cts +1 -1
- package/dist/ui/toggle.d.ts +1 -1
- package/dist/ui/tooltip.d.cts +1 -1
- package/dist/ui/tooltip.d.ts +1 -1
- package/package.json +1 -5
- package/styles/theme.css +7 -3
- package/dist/calendar-CdqoCacy.js +0 -2
- package/dist/calendar-CdqoCacy.js.map +0 -1
- package/dist/calendar-Di2ItTy8.cjs +0 -2
- package/dist/calendar-Di2ItTy8.cjs.map +0 -1
- package/dist/sidebar-DQ2i5dVQ.cjs +0 -2
- package/dist/sidebar-DQ2i5dVQ.cjs.map +0 -1
- package/dist/sidebar-PJA75H5x.js +0 -2
- package/dist/sidebar-PJA75H5x.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime43 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types2 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/button.d.ts
|
|
@@ -7,7 +7,7 @@ declare const buttonVariants: (props?: ({
|
|
|
7
7
|
variant?: "default" | "outline" | "ghost" | "link" | null | undefined;
|
|
8
8
|
color?: "muted" | "primary" | "secondary" | "success" | "important" | "info" | "warning" | "danger" | null | undefined;
|
|
9
9
|
size?: "sm" | "lg" | "default" | "icon" | null | undefined;
|
|
10
|
-
} &
|
|
10
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
11
11
|
declare function Button({
|
|
12
12
|
className,
|
|
13
13
|
variant,
|
|
@@ -20,7 +20,7 @@ declare function Button({
|
|
|
20
20
|
}: React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
|
|
21
21
|
asChild?: boolean;
|
|
22
22
|
isLoading?: boolean;
|
|
23
|
-
}):
|
|
23
|
+
}): react_jsx_runtime43.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { Button, buttonVariants };
|
|
26
|
-
//# sourceMappingURL=button-
|
|
26
|
+
//# sourceMappingURL=button-B3IGQSHK.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime29 from "react/jsx-runtime";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
import * as class_variance_authority_types2 from "class-variance-authority/types";
|
|
4
4
|
|
|
@@ -20,7 +20,7 @@ declare function Button({
|
|
|
20
20
|
}: React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
|
|
21
21
|
asChild?: boolean;
|
|
22
22
|
isLoading?: boolean;
|
|
23
|
-
}):
|
|
23
|
+
}): react_jsx_runtime29.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { Button, buttonVariants };
|
|
26
|
-
//# sourceMappingURL=button-
|
|
26
|
+
//# sourceMappingURL=button-DDKLvzA9.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{cn as e}from"./utils-D9AH0PUV.js";import{Button as t,buttonVariants as n}from"./button-tXV0dTFU.js";import r from"react";import{jsx as i}from"react/jsx-runtime";import{ChevronDownIcon as a,ChevronLeftIcon as o,ChevronRightIcon as s}from"lucide-react";import{DayButton as c,DayPicker as l,getDefaultClassNames as u}from"react-day-picker";function d({className:t,classNames:r,showOutsideDays:c=!0,captionLayout:d=`label`,buttonVariant:p=`ghost`,formatters:m,components:h,...g}){let _=u();return i(l,{showOutsideDays:c,className:e(`bg-background group/calendar p-3`,`[--cell-size:--spacing(8)]`,`[[data-slot=card-content]_&]:bg-transparent`,`[[data-slot=popover-content]_&]:bg-transparent`,String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,t),captionLayout:d,formatters:{formatMonthDropdown:e=>e.toLocaleString(`default`,{month:`short`}),...m},classNames:{root:e(`w-fit`,_.root),months:e(`flex gap-4 flex-col md:flex-row relative`,_.months),month:e(`flex flex-col w-full gap-4`,_.month),nav:e(`flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between`,_.nav),button_previous:e(n({variant:p}),`size-(--cell-size) aria-disabled:opacity-50 p-0 select-none`,_.button_previous),button_next:e(n({variant:p}),`size-(--cell-size) aria-disabled:opacity-50 p-0 select-none`,_.button_next),month_caption:e(`flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)`,_.month_caption),dropdowns:e(`w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5`,_.dropdowns),dropdown_root:e(`relative has-focus:border-primary-strong border border-border-weak shadow-xs has-focus:ring-primary-weak has-focus:ring-[3px] rounded-md`,_.dropdown_root),dropdown:e(`absolute inset-0 opacity-0`,_.dropdown),caption_label:e(`select-none font-medium`,d===`label`?`text-sm`:`rounded-md pl-2 pr-1 flex items-center gap-1 text-sm h-8 [&>svg]:text-text-positive [&>svg]:size-3.5`,_.caption_label),table:`w-full border-collapse`,weekdays:e(`flex`,_.weekdays),weekday:e(`text-text-positive rounded-md flex-1 font-normal text-[0.8rem] select-none`,_.weekday),week:e(`flex w-full mt-2`,_.week),week_number_header:e(`select-none w-(--cell-size)`,_.week_number_header),week_number:e(`text-[0.8rem] select-none text-text-positive`,_.week_number),day:e(`relative w-full h-full p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none`,_.day),range_start:e(`rounded-l-md bg-muted-muted`,_.range_start),range_middle:e(`rounded-none`,_.range_middle),range_end:e(`rounded-r-md bg-muted-muted`,_.range_end),today:e(`bg-muted-muted text-text-positive rounded-md data-[selected=true]:rounded-none`,_.today),outside:e(`text-text-positive aria-selected:text-text-positive`,_.outside),disabled:e(`text-text-positive opacity-50`,_.disabled),hidden:e(`invisible`,_.hidden),...r},components:{Root:({className:t,rootRef:n,...r})=>i(`div`,{"data-slot":`calendar`,ref:n,className:e(t),...r}),Chevron:({className:t,orientation:n,...r})=>i(n===`left`?o:n===`right`?s:a,{className:e(`size-4`,t),...r}),DayButton:f,WeekNumber:({children:e,...t})=>i(`td`,{...t,children:i(`div`,{className:`flex size-(--cell-size) items-center justify-center text-center`,children:e})}),...h},...g})}function f({className:n,day:a,modifiers:o,...s}){let c=u(),l=r.useRef(null);return r.useEffect(()=>{o.focused&&l.current?.focus()},[o.focused]),i(t,{ref:l,variant:`ghost`,size:`icon`,"data-day":a.date.toLocaleDateString(),"data-selected-single":o.selected&&!o.range_start&&!o.range_end&&!o.range_middle,"data-range-start":o.range_start,"data-range-end":o.range_end,"data-range-middle":o.range_middle,className:e(`flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal`,`data-[selected-single=true]:bg-primary`,`data-[selected-single=true]:text-text-positive`,`data-[range-middle=true]:bg-muted-muted`,`data-[range-middle=true]:text-text-positive`,`data-[range-start=true]:bg-primary-muted`,`data-[range-start=true]:text-text-positive-strong`,`data-[range-end=true]:bg-primary`,`data-[range-end=true]:text-text-positive-strong`,`group-data-[focused=true]/day:border-primary-strong`,`group-data-[focused=true]/day:ring-primary-weak`,`group-data-[focused=true]/day:relative`,`group-data-[focused=true]/day:z-10`,`group-data-[focused=true]/day:ring-[3px]`,`data-[range-end=true]:rounded-md`,`data-[range-end=true]:rounded-r-md`,`data-[range-middle=true]:rounded-none`,`data-[range-start=true]:rounded-md`,`data-[range-start=true]:rounded-l-md`,`[&>span]:text-xs [&>span]:opacity-70`,c.day,n),...s,color:`secondary`})}export{d as Calendar,f as CalendarDayButton};
|
|
2
|
+
//# sourceMappingURL=calendar-4R0xSc0m.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar-4R0xSc0m.js","names":["props","className"],"sources":["../packages/components/ui/calendar.tsx"],"sourcesContent":["'use client'\nimport React from 'react'\nimport { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon } from 'lucide-react'\nimport { DayButton, DayPicker, getDefaultClassNames } from 'react-day-picker'\n\nimport { Button, buttonVariants } from '@/components/ui/button'\nimport { cn } from '@/lib/utils'\n\nfunction Calendar({\n className,\n classNames,\n showOutsideDays = true,\n captionLayout = 'label',\n buttonVariant = 'ghost',\n formatters,\n components,\n ...props\n}: React.ComponentProps<typeof DayPicker> & {\n buttonVariant?: React.ComponentProps<typeof Button>['variant']\n}) {\n const defaultClassNames = getDefaultClassNames()\n\n return (\n <DayPicker\n showOutsideDays={showOutsideDays}\n className={cn(\n 'bg-background group/calendar p-3',\n '[--cell-size:--spacing(8)]',\n '[[data-slot=card-content]_&]:bg-transparent',\n '[[data-slot=popover-content]_&]:bg-transparent',\n String.raw`rtl:**:[.rdp-button\\_next>svg]:rotate-180`,\n String.raw`rtl:**:[.rdp-button\\_previous>svg]:rotate-180`,\n className,\n )}\n captionLayout={captionLayout}\n formatters={{\n formatMonthDropdown: (date) => date.toLocaleString('default', { month: 'short' }),\n ...formatters,\n }}\n classNames={{\n root: cn('w-fit', defaultClassNames.root),\n months: cn('flex gap-4 flex-col md:flex-row relative', defaultClassNames.months),\n month: cn('flex flex-col w-full gap-4', defaultClassNames.month),\n nav: cn('flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between', defaultClassNames.nav),\n button_previous: cn(\n buttonVariants({ variant: buttonVariant }),\n 'size-(--cell-size) aria-disabled:opacity-50 p-0 select-none',\n defaultClassNames.button_previous,\n ),\n button_next: cn(\n buttonVariants({ variant: buttonVariant }),\n 'size-(--cell-size) aria-disabled:opacity-50 p-0 select-none',\n defaultClassNames.button_next,\n ),\n month_caption: cn('flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)', defaultClassNames.month_caption),\n dropdowns: cn('w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5', defaultClassNames.dropdowns),\n dropdown_root: cn(\n 'relative has-focus:border-primary-strong border border-border-weak shadow-xs has-focus:ring-primary-weak has-focus:ring-[3px] rounded-md',\n defaultClassNames.dropdown_root,\n ),\n dropdown: cn('absolute inset-0 opacity-0', defaultClassNames.dropdown),\n caption_label: cn(\n 'select-none font-medium',\n captionLayout === 'label' ? 'text-sm' : 'rounded-md pl-2 pr-1 flex items-center gap-1 text-sm h-8 [&>svg]:text-text-positive [&>svg]:size-3.5',\n defaultClassNames.caption_label,\n ),\n table: 'w-full border-collapse',\n weekdays: cn('flex', defaultClassNames.weekdays),\n weekday: cn('text-text-positive rounded-md flex-1 font-normal text-[0.8rem] select-none', defaultClassNames.weekday),\n week: cn('flex w-full mt-2', defaultClassNames.week),\n week_number_header: cn('select-none w-(--cell-size)', defaultClassNames.week_number_header),\n week_number: cn('text-[0.8rem] select-none text-text-positive', defaultClassNames.week_number),\n day: cn(\n 'relative w-full h-full p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none',\n defaultClassNames.day,\n ),\n range_start: cn('rounded-l-md bg-muted-muted', defaultClassNames.range_start),\n range_middle: cn('rounded-none', defaultClassNames.range_middle),\n range_end: cn('rounded-r-md bg-muted-muted', defaultClassNames.range_end),\n today: cn('bg-muted-muted text-text-positive rounded-md data-[selected=true]:rounded-none', defaultClassNames.today),\n outside: cn('text-text-positive aria-selected:text-text-positive', defaultClassNames.outside),\n disabled: cn('text-text-positive opacity-50', defaultClassNames.disabled),\n hidden: cn('invisible', defaultClassNames.hidden),\n ...classNames,\n }}\n components={{\n Root: ({ className, rootRef, ...props }) => {\n return <div data-slot=\"calendar\" ref={rootRef} className={cn(className)} {...props} />\n },\n Chevron: ({ className, orientation, ...props }) => {\n if (orientation === 'left') {\n return <ChevronLeftIcon className={cn('size-4', className)} {...props} />\n }\n\n if (orientation === 'right') {\n return <ChevronRightIcon className={cn('size-4', className)} {...props} />\n }\n\n return <ChevronDownIcon className={cn('size-4', className)} {...props} />\n },\n DayButton: CalendarDayButton,\n WeekNumber: ({ children, ...props }) => {\n return (\n <td {...props}>\n <div className=\"flex size-(--cell-size) items-center justify-center text-center\">{children}</div>\n </td>\n )\n },\n ...components,\n }}\n {...props}\n />\n )\n}\n\nfunction CalendarDayButton({ className, day, modifiers, ...props }: React.ComponentProps<typeof DayButton>) {\n const defaultClassNames = getDefaultClassNames()\n\n const ref = React.useRef<HTMLButtonElement>(null)\n React.useEffect(() => {\n if (modifiers.focused) ref.current?.focus()\n }, [modifiers.focused])\n\n return (\n <Button\n ref={ref}\n variant=\"ghost\"\n size=\"icon\"\n data-day={day.date.toLocaleDateString()}\n data-selected-single={modifiers.selected && !modifiers.range_start && !modifiers.range_end && !modifiers.range_middle}\n data-range-start={modifiers.range_start}\n data-range-end={modifiers.range_end}\n data-range-middle={modifiers.range_middle}\n className={cn(\n 'flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal',\n 'data-[selected-single=true]:bg-primary',\n 'data-[selected-single=true]:text-text-positive',\n 'data-[range-middle=true]:bg-muted-muted',\n 'data-[range-middle=true]:text-text-positive',\n 'data-[range-start=true]:bg-primary-muted',\n 'data-[range-start=true]:text-text-positive-strong',\n 'data-[range-end=true]:bg-primary',\n 'data-[range-end=true]:text-text-positive-strong',\n 'group-data-[focused=true]/day:border-primary-strong',\n 'group-data-[focused=true]/day:ring-primary-weak',\n 'group-data-[focused=true]/day:relative',\n 'group-data-[focused=true]/day:z-10',\n 'group-data-[focused=true]/day:ring-[3px]',\n 'data-[range-end=true]:rounded-md',\n 'data-[range-end=true]:rounded-r-md',\n 'data-[range-middle=true]:rounded-none',\n 'data-[range-start=true]:rounded-md',\n 'data-[range-start=true]:rounded-l-md',\n '[&>span]:text-xs [&>span]:opacity-70',\n defaultClassNames.day,\n className,\n )}\n {...props}\n color=\"secondary\"\n />\n )\n}\n\nexport { Calendar, CalendarDayButton }\n"],"mappings":"wVAQA,SAAS,EAAS,CAChB,YACA,aACA,kBAAkB,GAClB,gBAAgB,QAChB,gBAAgB,QAChB,aACA,aACA,GAAG,GAGF,CACD,IAAM,EAAoB,IAE1B,OACE,EAAC,EAAA,CACkB,kBACjB,UAAW,EACT,mCACA,6BACA,8CACA,iDACA,OAAO,GAAG,4CACV,OAAO,GAAG,gDACV,GAEa,gBACf,WAAY,CACV,oBAAsB,GAAS,EAAK,eAAe,UAAW,CAAE,MAAO,UACvE,GAAG,GAEL,WAAY,CACV,KAAM,EAAG,QAAS,EAAkB,MACpC,OAAQ,EAAG,2CAA4C,EAAkB,QACzE,MAAO,EAAG,6BAA8B,EAAkB,OAC1D,IAAK,EAAG,0EAA2E,EAAkB,KACrG,gBAAiB,EACf,EAAe,CAAE,QAAS,IAC1B,8DACA,EAAkB,iBAEpB,YAAa,EACX,EAAe,CAAE,QAAS,IAC1B,8DACA,EAAkB,aAEpB,cAAe,EAAG,2EAA4E,EAAkB,eAChH,UAAW,EAAG,sFAAuF,EAAkB,WACvH,cAAe,EACb,2IACA,EAAkB,eAEpB,SAAU,EAAG,6BAA8B,EAAkB,UAC7D,cAAe,EACb,0BACA,IAAkB,QAAU,UAAY,uGACxC,EAAkB,eAEpB,MAAO,yBACP,SAAU,EAAG,OAAQ,EAAkB,UACvC,QAAS,EAAG,6EAA8E,EAAkB,SAC5G,KAAM,EAAG,mBAAoB,EAAkB,MAC/C,mBAAoB,EAAG,8BAA+B,EAAkB,oBACxE,YAAa,EAAG,+CAAgD,EAAkB,aAClF,IAAK,EACH,4LACA,EAAkB,KAEpB,YAAa,EAAG,8BAA+B,EAAkB,aACjE,aAAc,EAAG,eAAgB,EAAkB,cACnD,UAAW,EAAG,8BAA+B,EAAkB,WAC/D,MAAO,EAAG,iFAAkF,EAAkB,OAC9G,QAAS,EAAG,sDAAuD,EAAkB,SACrF,SAAU,EAAG,gCAAiC,EAAkB,UAChE,OAAQ,EAAG,YAAa,EAAkB,QAC1C,GAAG,GAEL,WAAY,CACV,MAAO,CAAE,UAAA,EAAW,UAAS,GAAGA,KACvB,EAAC,MAAA,CAAI,YAAU,WAAW,IAAK,EAAS,UAAW,EAAGC,GAAY,GAAID,IAE/E,SAAU,CAAE,UAAA,EAAW,cAAa,GAAGA,KAE5B,EADL,IAAgB,OACV,EAGN,IAAgB,QACV,EAGF,EAPE,CAAgB,UAAW,EAAG,SAAUC,GAAY,GAAID,IASpE,UAAW,EACX,YAAa,CAAE,WAAU,GAAGA,KAExB,EAAC,KAAA,CAAG,GAAIA,WACN,EAAC,MAAA,CAAI,UAAU,kEAAmE,eAIxF,GAAG,GAEL,GAAI,IAKV,SAAS,EAAkB,CAAE,YAAW,MAAK,YAAW,GAAG,GAAiD,CAC1G,IAAM,EAAoB,IAEpB,EAAM,EAAM,OAA0B,MAK5C,OAJA,EAAM,cAAgB,CAChB,EAAU,SAAS,EAAI,SAAS,SACnC,CAAC,EAAU,UAGZ,EAAC,EAAA,CACM,MACL,QAAQ,QACR,KAAK,OACL,WAAU,EAAI,KAAK,qBACnB,uBAAsB,EAAU,UAAY,CAAC,EAAU,aAAe,CAAC,EAAU,WAAa,CAAC,EAAU,aACzG,mBAAkB,EAAU,YAC5B,iBAAgB,EAAU,UAC1B,oBAAmB,EAAU,aAC7B,UAAW,EACT,kGACA,yCACA,iDACA,0CACA,8CACA,2CACA,oDACA,mCACA,kDACA,sDACA,kDACA,yCACA,qCACA,2CACA,mCACA,qCACA,wCACA,qCACA,uCACA,uCACA,EAAkB,IAClB,GAEF,GAAI,EACJ,MAAM"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const e=require(`./chunk-CUT6urMc.cjs`),t=require(`./utils-BsjVK5EW.cjs`),n=require(`./button-Cg9ZsZ68.cjs`),r=e.__toESM(require(`react`)),i=e.__toESM(require(`react/jsx-runtime`)),a=e.__toESM(require(`lucide-react`)),o=e.__toESM(require(`react-day-picker`));function s({className:e,classNames:r,showOutsideDays:s=!0,captionLayout:l=`label`,buttonVariant:u=`ghost`,formatters:d,components:f,...p}){let m=(0,o.getDefaultClassNames)();return(0,i.jsx)(o.DayPicker,{showOutsideDays:s,className:t.cn(`bg-background group/calendar p-3`,`[--cell-size:--spacing(8)]`,`[[data-slot=card-content]_&]:bg-transparent`,`[[data-slot=popover-content]_&]:bg-transparent`,String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,e),captionLayout:l,formatters:{formatMonthDropdown:e=>e.toLocaleString(`default`,{month:`short`}),...d},classNames:{root:t.cn(`w-fit`,m.root),months:t.cn(`flex gap-4 flex-col md:flex-row relative`,m.months),month:t.cn(`flex flex-col w-full gap-4`,m.month),nav:t.cn(`flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between`,m.nav),button_previous:t.cn(n.buttonVariants({variant:u}),`size-(--cell-size) aria-disabled:opacity-50 p-0 select-none`,m.button_previous),button_next:t.cn(n.buttonVariants({variant:u}),`size-(--cell-size) aria-disabled:opacity-50 p-0 select-none`,m.button_next),month_caption:t.cn(`flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)`,m.month_caption),dropdowns:t.cn(`w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5`,m.dropdowns),dropdown_root:t.cn(`relative has-focus:border-primary-strong border border-border-weak shadow-xs has-focus:ring-primary-weak has-focus:ring-[3px] rounded-md`,m.dropdown_root),dropdown:t.cn(`absolute inset-0 opacity-0`,m.dropdown),caption_label:t.cn(`select-none font-medium`,l===`label`?`text-sm`:`rounded-md pl-2 pr-1 flex items-center gap-1 text-sm h-8 [&>svg]:text-text-positive [&>svg]:size-3.5`,m.caption_label),table:`w-full border-collapse`,weekdays:t.cn(`flex`,m.weekdays),weekday:t.cn(`text-text-positive rounded-md flex-1 font-normal text-[0.8rem] select-none`,m.weekday),week:t.cn(`flex w-full mt-2`,m.week),week_number_header:t.cn(`select-none w-(--cell-size)`,m.week_number_header),week_number:t.cn(`text-[0.8rem] select-none text-text-positive`,m.week_number),day:t.cn(`relative w-full h-full p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none`,m.day),range_start:t.cn(`rounded-l-md bg-muted-muted`,m.range_start),range_middle:t.cn(`rounded-none`,m.range_middle),range_end:t.cn(`rounded-r-md bg-muted-muted`,m.range_end),today:t.cn(`bg-muted-muted text-text-positive rounded-md data-[selected=true]:rounded-none`,m.today),outside:t.cn(`text-text-positive aria-selected:text-text-positive`,m.outside),disabled:t.cn(`text-text-positive opacity-50`,m.disabled),hidden:t.cn(`invisible`,m.hidden),...r},components:{Root:({className:e,rootRef:n,...r})=>(0,i.jsx)(`div`,{"data-slot":`calendar`,ref:n,className:t.cn(e),...r}),Chevron:({className:e,orientation:n,...r})=>n===`left`?(0,i.jsx)(a.ChevronLeftIcon,{className:t.cn(`size-4`,e),...r}):n===`right`?(0,i.jsx)(a.ChevronRightIcon,{className:t.cn(`size-4`,e),...r}):(0,i.jsx)(a.ChevronDownIcon,{className:t.cn(`size-4`,e),...r}),DayButton:c,WeekNumber:({children:e,...t})=>(0,i.jsx)(`td`,{...t,children:(0,i.jsx)(`div`,{className:`flex size-(--cell-size) items-center justify-center text-center`,children:e})}),...f},...p})}function c({className:e,day:a,modifiers:s,...c}){let l=(0,o.getDefaultClassNames)(),u=r.default.useRef(null);return r.default.useEffect(()=>{s.focused&&u.current?.focus()},[s.focused]),(0,i.jsx)(n.Button,{ref:u,variant:`ghost`,size:`icon`,"data-day":a.date.toLocaleDateString(),"data-selected-single":s.selected&&!s.range_start&&!s.range_end&&!s.range_middle,"data-range-start":s.range_start,"data-range-end":s.range_end,"data-range-middle":s.range_middle,className:t.cn(`flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal`,`data-[selected-single=true]:bg-primary`,`data-[selected-single=true]:text-text-positive`,`data-[range-middle=true]:bg-muted-muted`,`data-[range-middle=true]:text-text-positive`,`data-[range-start=true]:bg-primary-muted`,`data-[range-start=true]:text-text-positive-strong`,`data-[range-end=true]:bg-primary`,`data-[range-end=true]:text-text-positive-strong`,`group-data-[focused=true]/day:border-primary-strong`,`group-data-[focused=true]/day:ring-primary-weak`,`group-data-[focused=true]/day:relative`,`group-data-[focused=true]/day:z-10`,`group-data-[focused=true]/day:ring-[3px]`,`data-[range-end=true]:rounded-md`,`data-[range-end=true]:rounded-r-md`,`data-[range-middle=true]:rounded-none`,`data-[range-start=true]:rounded-md`,`data-[range-start=true]:rounded-l-md`,`[&>span]:text-xs [&>span]:opacity-70`,l.day,e),...c,color:`secondary`})}Object.defineProperty(exports,`Calendar`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`CalendarDayButton`,{enumerable:!0,get:function(){return c}});
|
|
2
|
+
//# sourceMappingURL=calendar-DB7j4ZPb.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar-DB7j4ZPb.cjs","names":["DayPicker","cn","buttonVariants","props","className","ChevronLeftIcon","ChevronRightIcon","ChevronDownIcon","React","Button"],"sources":["../packages/components/ui/calendar.tsx"],"sourcesContent":["'use client'\nimport React from 'react'\nimport { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon } from 'lucide-react'\nimport { DayButton, DayPicker, getDefaultClassNames } from 'react-day-picker'\n\nimport { Button, buttonVariants } from '@/components/ui/button'\nimport { cn } from '@/lib/utils'\n\nfunction Calendar({\n className,\n classNames,\n showOutsideDays = true,\n captionLayout = 'label',\n buttonVariant = 'ghost',\n formatters,\n components,\n ...props\n}: React.ComponentProps<typeof DayPicker> & {\n buttonVariant?: React.ComponentProps<typeof Button>['variant']\n}) {\n const defaultClassNames = getDefaultClassNames()\n\n return (\n <DayPicker\n showOutsideDays={showOutsideDays}\n className={cn(\n 'bg-background group/calendar p-3',\n '[--cell-size:--spacing(8)]',\n '[[data-slot=card-content]_&]:bg-transparent',\n '[[data-slot=popover-content]_&]:bg-transparent',\n String.raw`rtl:**:[.rdp-button\\_next>svg]:rotate-180`,\n String.raw`rtl:**:[.rdp-button\\_previous>svg]:rotate-180`,\n className,\n )}\n captionLayout={captionLayout}\n formatters={{\n formatMonthDropdown: (date) => date.toLocaleString('default', { month: 'short' }),\n ...formatters,\n }}\n classNames={{\n root: cn('w-fit', defaultClassNames.root),\n months: cn('flex gap-4 flex-col md:flex-row relative', defaultClassNames.months),\n month: cn('flex flex-col w-full gap-4', defaultClassNames.month),\n nav: cn('flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between', defaultClassNames.nav),\n button_previous: cn(\n buttonVariants({ variant: buttonVariant }),\n 'size-(--cell-size) aria-disabled:opacity-50 p-0 select-none',\n defaultClassNames.button_previous,\n ),\n button_next: cn(\n buttonVariants({ variant: buttonVariant }),\n 'size-(--cell-size) aria-disabled:opacity-50 p-0 select-none',\n defaultClassNames.button_next,\n ),\n month_caption: cn('flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)', defaultClassNames.month_caption),\n dropdowns: cn('w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5', defaultClassNames.dropdowns),\n dropdown_root: cn(\n 'relative has-focus:border-primary-strong border border-border-weak shadow-xs has-focus:ring-primary-weak has-focus:ring-[3px] rounded-md',\n defaultClassNames.dropdown_root,\n ),\n dropdown: cn('absolute inset-0 opacity-0', defaultClassNames.dropdown),\n caption_label: cn(\n 'select-none font-medium',\n captionLayout === 'label' ? 'text-sm' : 'rounded-md pl-2 pr-1 flex items-center gap-1 text-sm h-8 [&>svg]:text-text-positive [&>svg]:size-3.5',\n defaultClassNames.caption_label,\n ),\n table: 'w-full border-collapse',\n weekdays: cn('flex', defaultClassNames.weekdays),\n weekday: cn('text-text-positive rounded-md flex-1 font-normal text-[0.8rem] select-none', defaultClassNames.weekday),\n week: cn('flex w-full mt-2', defaultClassNames.week),\n week_number_header: cn('select-none w-(--cell-size)', defaultClassNames.week_number_header),\n week_number: cn('text-[0.8rem] select-none text-text-positive', defaultClassNames.week_number),\n day: cn(\n 'relative w-full h-full p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none',\n defaultClassNames.day,\n ),\n range_start: cn('rounded-l-md bg-muted-muted', defaultClassNames.range_start),\n range_middle: cn('rounded-none', defaultClassNames.range_middle),\n range_end: cn('rounded-r-md bg-muted-muted', defaultClassNames.range_end),\n today: cn('bg-muted-muted text-text-positive rounded-md data-[selected=true]:rounded-none', defaultClassNames.today),\n outside: cn('text-text-positive aria-selected:text-text-positive', defaultClassNames.outside),\n disabled: cn('text-text-positive opacity-50', defaultClassNames.disabled),\n hidden: cn('invisible', defaultClassNames.hidden),\n ...classNames,\n }}\n components={{\n Root: ({ className, rootRef, ...props }) => {\n return <div data-slot=\"calendar\" ref={rootRef} className={cn(className)} {...props} />\n },\n Chevron: ({ className, orientation, ...props }) => {\n if (orientation === 'left') {\n return <ChevronLeftIcon className={cn('size-4', className)} {...props} />\n }\n\n if (orientation === 'right') {\n return <ChevronRightIcon className={cn('size-4', className)} {...props} />\n }\n\n return <ChevronDownIcon className={cn('size-4', className)} {...props} />\n },\n DayButton: CalendarDayButton,\n WeekNumber: ({ children, ...props }) => {\n return (\n <td {...props}>\n <div className=\"flex size-(--cell-size) items-center justify-center text-center\">{children}</div>\n </td>\n )\n },\n ...components,\n }}\n {...props}\n />\n )\n}\n\nfunction CalendarDayButton({ className, day, modifiers, ...props }: React.ComponentProps<typeof DayButton>) {\n const defaultClassNames = getDefaultClassNames()\n\n const ref = React.useRef<HTMLButtonElement>(null)\n React.useEffect(() => {\n if (modifiers.focused) ref.current?.focus()\n }, [modifiers.focused])\n\n return (\n <Button\n ref={ref}\n variant=\"ghost\"\n size=\"icon\"\n data-day={day.date.toLocaleDateString()}\n data-selected-single={modifiers.selected && !modifiers.range_start && !modifiers.range_end && !modifiers.range_middle}\n data-range-start={modifiers.range_start}\n data-range-end={modifiers.range_end}\n data-range-middle={modifiers.range_middle}\n className={cn(\n 'flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal',\n 'data-[selected-single=true]:bg-primary',\n 'data-[selected-single=true]:text-text-positive',\n 'data-[range-middle=true]:bg-muted-muted',\n 'data-[range-middle=true]:text-text-positive',\n 'data-[range-start=true]:bg-primary-muted',\n 'data-[range-start=true]:text-text-positive-strong',\n 'data-[range-end=true]:bg-primary',\n 'data-[range-end=true]:text-text-positive-strong',\n 'group-data-[focused=true]/day:border-primary-strong',\n 'group-data-[focused=true]/day:ring-primary-weak',\n 'group-data-[focused=true]/day:relative',\n 'group-data-[focused=true]/day:z-10',\n 'group-data-[focused=true]/day:ring-[3px]',\n 'data-[range-end=true]:rounded-md',\n 'data-[range-end=true]:rounded-r-md',\n 'data-[range-middle=true]:rounded-none',\n 'data-[range-start=true]:rounded-md',\n 'data-[range-start=true]:rounded-l-md',\n '[&>span]:text-xs [&>span]:opacity-70',\n defaultClassNames.day,\n className,\n )}\n {...props}\n color=\"secondary\"\n />\n )\n}\n\nexport { Calendar, CalendarDayButton }\n"],"mappings":"mQAQA,SAAS,EAAS,CAChB,YACA,aACA,kBAAkB,GAClB,gBAAgB,QAChB,gBAAgB,QAChB,aACA,aACA,GAAG,GAGF,CACD,IAAM,GAAA,EAAA,EAAA,wBAEN,OACE,EAAA,EAAA,KAACA,EAAAA,UAAAA,CACkB,kBACjB,UAAWC,EAAAA,GACT,mCACA,6BACA,8CACA,iDACA,OAAO,GAAG,4CACV,OAAO,GAAG,gDACV,GAEa,gBACf,WAAY,CACV,oBAAsB,GAAS,EAAK,eAAe,UAAW,CAAE,MAAO,UACvE,GAAG,GAEL,WAAY,CACV,KAAMA,EAAAA,GAAG,QAAS,EAAkB,MACpC,OAAQA,EAAAA,GAAG,2CAA4C,EAAkB,QACzE,MAAOA,EAAAA,GAAG,6BAA8B,EAAkB,OAC1D,IAAKA,EAAAA,GAAG,0EAA2E,EAAkB,KACrG,gBAAiBA,EAAAA,GACfC,EAAAA,eAAe,CAAE,QAAS,IAC1B,8DACA,EAAkB,iBAEpB,YAAaD,EAAAA,GACXC,EAAAA,eAAe,CAAE,QAAS,IAC1B,8DACA,EAAkB,aAEpB,cAAeD,EAAAA,GAAG,2EAA4E,EAAkB,eAChH,UAAWA,EAAAA,GAAG,sFAAuF,EAAkB,WACvH,cAAeA,EAAAA,GACb,2IACA,EAAkB,eAEpB,SAAUA,EAAAA,GAAG,6BAA8B,EAAkB,UAC7D,cAAeA,EAAAA,GACb,0BACA,IAAkB,QAAU,UAAY,uGACxC,EAAkB,eAEpB,MAAO,yBACP,SAAUA,EAAAA,GAAG,OAAQ,EAAkB,UACvC,QAASA,EAAAA,GAAG,6EAA8E,EAAkB,SAC5G,KAAMA,EAAAA,GAAG,mBAAoB,EAAkB,MAC/C,mBAAoBA,EAAAA,GAAG,8BAA+B,EAAkB,oBACxE,YAAaA,EAAAA,GAAG,+CAAgD,EAAkB,aAClF,IAAKA,EAAAA,GACH,4LACA,EAAkB,KAEpB,YAAaA,EAAAA,GAAG,8BAA+B,EAAkB,aACjE,aAAcA,EAAAA,GAAG,eAAgB,EAAkB,cACnD,UAAWA,EAAAA,GAAG,8BAA+B,EAAkB,WAC/D,MAAOA,EAAAA,GAAG,iFAAkF,EAAkB,OAC9G,QAASA,EAAAA,GAAG,sDAAuD,EAAkB,SACrF,SAAUA,EAAAA,GAAG,gCAAiC,EAAkB,UAChE,OAAQA,EAAAA,GAAG,YAAa,EAAkB,QAC1C,GAAG,GAEL,WAAY,CACV,MAAO,CAAE,UAAA,EAAW,UAAS,GAAGE,MACvB,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,WAAW,IAAK,EAAS,UAAWF,EAAAA,GAAGG,GAAY,GAAID,IAE/E,SAAU,CAAE,UAAA,EAAW,cAAa,GAAGA,KACjC,IAAgB,QACX,EAAA,EAAA,KAACE,EAAAA,gBAAAA,CAAgB,UAAWJ,EAAAA,GAAG,SAAUG,GAAY,GAAID,IAG9D,IAAgB,SACX,EAAA,EAAA,KAACG,EAAAA,iBAAAA,CAAiB,UAAWL,EAAAA,GAAG,SAAUG,GAAY,GAAID,KAG5D,EAAA,EAAA,KAACI,EAAAA,gBAAAA,CAAgB,UAAWN,EAAAA,GAAG,SAAUG,GAAY,GAAID,IAElE,UAAW,EACX,YAAa,CAAE,WAAU,GAAGA,MAExB,EAAA,EAAA,KAAC,KAAA,CAAG,GAAIA,YACN,EAAA,EAAA,KAAC,MAAA,CAAI,UAAU,kEAAmE,eAIxF,GAAG,GAEL,GAAI,IAKV,SAAS,EAAkB,CAAE,YAAW,MAAK,YAAW,GAAG,GAAiD,CAC1G,IAAM,GAAA,EAAA,EAAA,wBAEA,EAAMK,EAAAA,QAAM,OAA0B,MAK5C,OAJA,EAAA,QAAM,cAAgB,CAChB,EAAU,SAAS,EAAI,SAAS,SACnC,CAAC,EAAU,WAGZ,EAAA,EAAA,KAACC,EAAAA,OAAAA,CACM,MACL,QAAQ,QACR,KAAK,OACL,WAAU,EAAI,KAAK,qBACnB,uBAAsB,EAAU,UAAY,CAAC,EAAU,aAAe,CAAC,EAAU,WAAa,CAAC,EAAU,aACzG,mBAAkB,EAAU,YAC5B,iBAAgB,EAAU,UAC1B,oBAAmB,EAAU,aAC7B,UAAWR,EAAAA,GACT,kGACA,yCACA,iDACA,0CACA,8CACA,2CACA,oDACA,mCACA,kDACA,sDACA,kDACA,yCACA,qCACA,2CACA,mCACA,qCACA,wCACA,qCACA,uCACA,uCACA,EAAkB,IAClB,GAEF,GAAI,EACJ,MAAM"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Dialog } from "./dialog-
|
|
2
|
-
import * as
|
|
1
|
+
import { Dialog } from "./dialog-CIrv1yaX.cjs";
|
|
2
|
+
import * as react_jsx_runtime61 from "react/jsx-runtime";
|
|
3
3
|
import { Command } from "cmdk";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/command.d.ts
|
|
6
6
|
declare function Command$1({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Command>):
|
|
9
|
+
}: React.ComponentProps<typeof Command>): react_jsx_runtime61.JSX.Element;
|
|
10
10
|
declare function CommandDialog({
|
|
11
11
|
title,
|
|
12
12
|
description,
|
|
@@ -19,34 +19,34 @@ declare function CommandDialog({
|
|
|
19
19
|
description?: string;
|
|
20
20
|
className?: string;
|
|
21
21
|
showCloseButton?: boolean;
|
|
22
|
-
}):
|
|
22
|
+
}): react_jsx_runtime61.JSX.Element;
|
|
23
23
|
declare function CommandInput({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<typeof Command.Input>):
|
|
26
|
+
}: React.ComponentProps<typeof Command.Input>): react_jsx_runtime61.JSX.Element;
|
|
27
27
|
declare function CommandList({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<typeof Command.List>):
|
|
30
|
+
}: React.ComponentProps<typeof Command.List>): react_jsx_runtime61.JSX.Element;
|
|
31
31
|
declare function CommandEmpty({
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<typeof Command.Empty>):
|
|
33
|
+
}: React.ComponentProps<typeof Command.Empty>): react_jsx_runtime61.JSX.Element;
|
|
34
34
|
declare function CommandGroup({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: React.ComponentProps<typeof Command.Group>):
|
|
37
|
+
}: React.ComponentProps<typeof Command.Group>): react_jsx_runtime61.JSX.Element;
|
|
38
38
|
declare function CommandSeparator({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<typeof Command.Separator>):
|
|
41
|
+
}: React.ComponentProps<typeof Command.Separator>): react_jsx_runtime61.JSX.Element;
|
|
42
42
|
declare function CommandItem({
|
|
43
43
|
className,
|
|
44
44
|
...props
|
|
45
|
-
}: React.ComponentProps<typeof Command.Item>):
|
|
45
|
+
}: React.ComponentProps<typeof Command.Item>): react_jsx_runtime61.JSX.Element;
|
|
46
46
|
declare function CommandShortcut({
|
|
47
47
|
className,
|
|
48
48
|
...props
|
|
49
|
-
}: React.ComponentProps<'span'>):
|
|
49
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime61.JSX.Element;
|
|
50
50
|
//#endregion
|
|
51
51
|
export { Command$1 as Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
|
|
52
|
-
//# sourceMappingURL=command-
|
|
52
|
+
//# sourceMappingURL=command-4kxRwXtl.d.cts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Dialog } from "./dialog-
|
|
2
|
-
import * as
|
|
1
|
+
import { Dialog } from "./dialog-DD4Dinba.js";
|
|
2
|
+
import * as react_jsx_runtime40 from "react/jsx-runtime";
|
|
3
3
|
import { Command } from "cmdk";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/command.d.ts
|
|
6
6
|
declare function Command$1({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Command>):
|
|
9
|
+
}: React.ComponentProps<typeof Command>): react_jsx_runtime40.JSX.Element;
|
|
10
10
|
declare function CommandDialog({
|
|
11
11
|
title,
|
|
12
12
|
description,
|
|
@@ -19,34 +19,34 @@ declare function CommandDialog({
|
|
|
19
19
|
description?: string;
|
|
20
20
|
className?: string;
|
|
21
21
|
showCloseButton?: boolean;
|
|
22
|
-
}):
|
|
22
|
+
}): react_jsx_runtime40.JSX.Element;
|
|
23
23
|
declare function CommandInput({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<typeof Command.Input>):
|
|
26
|
+
}: React.ComponentProps<typeof Command.Input>): react_jsx_runtime40.JSX.Element;
|
|
27
27
|
declare function CommandList({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<typeof Command.List>):
|
|
30
|
+
}: React.ComponentProps<typeof Command.List>): react_jsx_runtime40.JSX.Element;
|
|
31
31
|
declare function CommandEmpty({
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<typeof Command.Empty>):
|
|
33
|
+
}: React.ComponentProps<typeof Command.Empty>): react_jsx_runtime40.JSX.Element;
|
|
34
34
|
declare function CommandGroup({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: React.ComponentProps<typeof Command.Group>):
|
|
37
|
+
}: React.ComponentProps<typeof Command.Group>): react_jsx_runtime40.JSX.Element;
|
|
38
38
|
declare function CommandSeparator({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<typeof Command.Separator>):
|
|
41
|
+
}: React.ComponentProps<typeof Command.Separator>): react_jsx_runtime40.JSX.Element;
|
|
42
42
|
declare function CommandItem({
|
|
43
43
|
className,
|
|
44
44
|
...props
|
|
45
|
-
}: React.ComponentProps<typeof Command.Item>):
|
|
45
|
+
}: React.ComponentProps<typeof Command.Item>): react_jsx_runtime40.JSX.Element;
|
|
46
46
|
declare function CommandShortcut({
|
|
47
47
|
className,
|
|
48
48
|
...props
|
|
49
|
-
}: React.ComponentProps<'span'>):
|
|
49
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime40.JSX.Element;
|
|
50
50
|
//#endregion
|
|
51
51
|
export { Command$1 as Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
|
|
52
|
-
//# sourceMappingURL=command-
|
|
52
|
+
//# sourceMappingURL=command-Cc0A7QL7.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/data-display/empty.d.ts
|
|
4
|
-
declare const EmptyDisplay: () =>
|
|
4
|
+
declare const EmptyDisplay: () => react_jsx_runtime3.JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { EmptyDisplay };
|
|
7
7
|
//# sourceMappingURL=empty.d.cts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/data-display/empty.d.ts
|
|
4
|
-
declare const EmptyDisplay: () =>
|
|
4
|
+
declare const EmptyDisplay: () => react_jsx_runtime1.JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { EmptyDisplay };
|
|
7
7
|
//# sourceMappingURL=empty.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/data-display/statistic.d.ts
|
|
@@ -23,7 +23,7 @@ declare const Statistic: React.MemoExoticComponent<({
|
|
|
23
23
|
showTrailingZeros,
|
|
24
24
|
size,
|
|
25
25
|
value
|
|
26
|
-
}: Props) =>
|
|
26
|
+
}: Props) => react_jsx_runtime1.JSX.Element>;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { Statistic };
|
|
29
29
|
//# sourceMappingURL=statistic.d.cts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/data-display/statistic.d.ts
|
|
5
5
|
type Props = {
|
|
@@ -23,7 +23,7 @@ declare const Statistic: React.MemoExoticComponent<({
|
|
|
23
23
|
showTrailingZeros,
|
|
24
24
|
size,
|
|
25
25
|
value
|
|
26
|
-
}: Props) =>
|
|
26
|
+
}: Props) => react_jsx_runtime0.JSX.Element>;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { Statistic };
|
|
29
29
|
//# sourceMappingURL=statistic.d.ts.map
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime85 from "react/jsx-runtime";
|
|
2
2
|
import { Dialog } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/dialog.d.ts
|
|
5
5
|
declare function Dialog$1({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof Dialog.Root>):
|
|
7
|
+
}: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime85.JSX.Element;
|
|
8
8
|
declare function DialogTrigger({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof Dialog.Trigger>):
|
|
10
|
+
}: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime85.JSX.Element;
|
|
11
11
|
declare function DialogPortal({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof Dialog.Portal>):
|
|
13
|
+
}: React.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime85.JSX.Element;
|
|
14
14
|
declare function DialogClose({
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Dialog.Close>):
|
|
16
|
+
}: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime85.JSX.Element;
|
|
17
17
|
declare function DialogOverlay({
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof Dialog.Overlay>):
|
|
20
|
+
}: React.ComponentProps<typeof Dialog.Overlay>): react_jsx_runtime85.JSX.Element;
|
|
21
21
|
declare function DialogContent({
|
|
22
22
|
className,
|
|
23
23
|
children,
|
|
@@ -25,23 +25,23 @@ declare function DialogContent({
|
|
|
25
25
|
...props
|
|
26
26
|
}: React.ComponentProps<typeof Dialog.Content> & {
|
|
27
27
|
showCloseButton?: boolean;
|
|
28
|
-
}):
|
|
28
|
+
}): react_jsx_runtime85.JSX.Element;
|
|
29
29
|
declare function DialogHeader({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<'div'>):
|
|
32
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime85.JSX.Element;
|
|
33
33
|
declare function DialogFooter({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<'div'>):
|
|
36
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime85.JSX.Element;
|
|
37
37
|
declare function DialogTitle({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<typeof Dialog.Title>):
|
|
40
|
+
}: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime85.JSX.Element;
|
|
41
41
|
declare function DialogDescription({
|
|
42
42
|
className,
|
|
43
43
|
...props
|
|
44
|
-
}: React.ComponentProps<typeof Dialog.Description>):
|
|
44
|
+
}: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime85.JSX.Element;
|
|
45
45
|
//#endregion
|
|
46
46
|
export { Dialog$1 as Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
|
47
|
-
//# sourceMappingURL=dialog-
|
|
47
|
+
//# sourceMappingURL=dialog-CIrv1yaX.d.cts.map
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime103 from "react/jsx-runtime";
|
|
2
2
|
import { Dialog } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/dialog.d.ts
|
|
5
5
|
declare function Dialog$1({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof Dialog.Root>):
|
|
7
|
+
}: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime103.JSX.Element;
|
|
8
8
|
declare function DialogTrigger({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof Dialog.Trigger>):
|
|
10
|
+
}: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime103.JSX.Element;
|
|
11
11
|
declare function DialogPortal({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof Dialog.Portal>):
|
|
13
|
+
}: React.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime103.JSX.Element;
|
|
14
14
|
declare function DialogClose({
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Dialog.Close>):
|
|
16
|
+
}: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime103.JSX.Element;
|
|
17
17
|
declare function DialogOverlay({
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof Dialog.Overlay>):
|
|
20
|
+
}: React.ComponentProps<typeof Dialog.Overlay>): react_jsx_runtime103.JSX.Element;
|
|
21
21
|
declare function DialogContent({
|
|
22
22
|
className,
|
|
23
23
|
children,
|
|
@@ -25,23 +25,23 @@ declare function DialogContent({
|
|
|
25
25
|
...props
|
|
26
26
|
}: React.ComponentProps<typeof Dialog.Content> & {
|
|
27
27
|
showCloseButton?: boolean;
|
|
28
|
-
}):
|
|
28
|
+
}): react_jsx_runtime103.JSX.Element;
|
|
29
29
|
declare function DialogHeader({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<'div'>):
|
|
32
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime103.JSX.Element;
|
|
33
33
|
declare function DialogFooter({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<'div'>):
|
|
36
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime103.JSX.Element;
|
|
37
37
|
declare function DialogTitle({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<typeof Dialog.Title>):
|
|
40
|
+
}: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime103.JSX.Element;
|
|
41
41
|
declare function DialogDescription({
|
|
42
42
|
className,
|
|
43
43
|
...props
|
|
44
|
-
}: React.ComponentProps<typeof Dialog.Description>):
|
|
44
|
+
}: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime103.JSX.Element;
|
|
45
45
|
//#endregion
|
|
46
46
|
export { Dialog$1 as Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
|
47
|
-
//# sourceMappingURL=dialog-
|
|
47
|
+
//# sourceMappingURL=dialog-DD4Dinba.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";require(`../../../utils-BsjVK5EW.cjs`),require(`../../../tooltip-D7xs4Hao.cjs`),require(`../../../button-Cg9ZsZ68.cjs`),require(`../../../input-C2xQcVZP.cjs`),require(`../../../separator-Cigaqna1.cjs`),require(`../../../skeleton-tNlCAW9R.cjs`);const e=require(`../../../sidebar-
|
|
1
|
+
"use client";require(`../../../utils-BsjVK5EW.cjs`),require(`../../../tooltip-D7xs4Hao.cjs`),require(`../../../button-Cg9ZsZ68.cjs`),require(`../../../input-C2xQcVZP.cjs`),require(`../../../separator-Cigaqna1.cjs`),require(`../../../sheet-CX3PajAc.cjs`),require(`../../../skeleton-tNlCAW9R.cjs`),require(`../../../use-mobile-DD7ESbjU.cjs`);const e=require(`../../../sidebar-3ZtESIIQ.cjs`);exports.DetailDialogSidebarContent=e.DetailDialogSidebarContent,exports.DetailDialogSidebarFooter=e.DetailDialogSidebarFooter,exports.DetailDialogSidebarGroup=e.DetailDialogSidebarGroup,exports.DetailDialogSidebarGroupAction=e.DetailDialogSidebarGroupAction,exports.DetailDialogSidebarGroupContent=e.DetailDialogSidebarGroupContent,exports.DetailDialogSidebarGroupLabel=e.DetailDialogSidebarGroupLabel,exports.DetailDialogSidebarHeader=e.DetailDialogSidebarHeader,exports.DetailDialogSidebarMenu=e.DetailDialogSidebarMenu,exports.DetailDialogSidebarMenuAction=e.DetailDialogSidebarMenuAction,exports.DetailDialogSidebarMenuBadge=e.DetailDialogSidebarMenuBadge,exports.DetailDialogSidebarMenuButton=e.DetailDialogSidebarMenuButton,exports.DetailDialogSidebarMenuItem=e.DetailDialogSidebarMenuItem,exports.DetailDialogSidebarMenuSkeleton=e.DetailDialogSidebarMenuSkeleton,exports.DetailDialogSidebarMenuSub=e.DetailDialogSidebarMenuSub,exports.DetailDialogSidebarMenuSubButton=e.DetailDialogSidebarMenuSubButton,exports.DetailDialogSidebarMenuSubItem=e.DetailDialogSidebarMenuSubItem,exports.DetailDialogSidebarRail=e.DetailDialogSidebarRail,exports.DetailDialogSidebarSeparator=e.DetailDialogSidebarSeparator,exports.DetailDialogSidebarTrigger=e.DetailDialogSidebarTrigger,exports.Sidebar=e.Sidebar,exports.SidebarInput=e.SidebarInput,exports.SidebarInset=e.SidebarInset,exports.SidebarProvider=e.SidebarProvider,exports.useSidebar=e.useSidebar;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Button } from "../../../button-
|
|
2
|
-
import { Input } from "../../../input-
|
|
3
|
-
import { Separator } from "../../../separator-
|
|
4
|
-
import { TooltipContent } from "../../../tooltip-
|
|
5
|
-
import * as
|
|
1
|
+
import { Button } from "../../../button-B3IGQSHK.cjs";
|
|
2
|
+
import { Input } from "../../../input-CBmfFkSA.cjs";
|
|
3
|
+
import { Separator } from "../../../separator-DHBhn7Y8.cjs";
|
|
4
|
+
import { TooltipContent } from "../../../tooltip-etVeWcFC.cjs";
|
|
5
|
+
import * as react_jsx_runtime236 from "react/jsx-runtime";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import * as class_variance_authority_types6 from "class-variance-authority/types";
|
|
8
8
|
import { VariantProps } from "class-variance-authority";
|
|
@@ -14,6 +14,7 @@ type SidebarContextProps = {
|
|
|
14
14
|
setOpen: (open: boolean) => void;
|
|
15
15
|
openMobile: boolean;
|
|
16
16
|
setOpenMobile: (open: boolean) => void;
|
|
17
|
+
isMobile: boolean;
|
|
17
18
|
toggleSidebar: () => void;
|
|
18
19
|
};
|
|
19
20
|
declare function useSidebar(): SidebarContextProps;
|
|
@@ -29,7 +30,7 @@ declare function SidebarProvider({
|
|
|
29
30
|
defaultOpen?: boolean;
|
|
30
31
|
open?: boolean;
|
|
31
32
|
onOpenChange?: (open: boolean) => void;
|
|
32
|
-
}):
|
|
33
|
+
}): react_jsx_runtime236.JSX.Element;
|
|
33
34
|
declare function Sidebar({
|
|
34
35
|
side,
|
|
35
36
|
variant,
|
|
@@ -41,75 +42,75 @@ declare function Sidebar({
|
|
|
41
42
|
side?: 'left' | 'right';
|
|
42
43
|
variant?: 'sidebar' | 'floating' | 'inset';
|
|
43
44
|
collapsible?: 'offcanvas' | 'icon' | 'none';
|
|
44
|
-
}):
|
|
45
|
-
declare function
|
|
45
|
+
}): react_jsx_runtime236.JSX.Element;
|
|
46
|
+
declare function DetailDialogSidebarTrigger({
|
|
46
47
|
className,
|
|
47
48
|
onClick,
|
|
48
49
|
...props
|
|
49
|
-
}: React.ComponentProps<typeof Button>):
|
|
50
|
-
declare function
|
|
50
|
+
}: React.ComponentProps<typeof Button>): react_jsx_runtime236.JSX.Element;
|
|
51
|
+
declare function DetailDialogSidebarRail({
|
|
51
52
|
className,
|
|
52
53
|
...props
|
|
53
|
-
}: React.ComponentProps<'button'>):
|
|
54
|
+
}: React.ComponentProps<'button'>): react_jsx_runtime236.JSX.Element;
|
|
54
55
|
declare function SidebarInset({
|
|
55
56
|
className,
|
|
56
57
|
...props
|
|
57
|
-
}: React.ComponentProps<'main'>):
|
|
58
|
+
}: React.ComponentProps<'main'>): react_jsx_runtime236.JSX.Element;
|
|
58
59
|
declare function SidebarInput({
|
|
59
60
|
className,
|
|
60
61
|
...props
|
|
61
|
-
}: React.ComponentProps<typeof Input>):
|
|
62
|
-
declare function
|
|
62
|
+
}: React.ComponentProps<typeof Input>): react_jsx_runtime236.JSX.Element;
|
|
63
|
+
declare function DetailDialogSidebarHeader({
|
|
63
64
|
className,
|
|
64
65
|
...props
|
|
65
|
-
}: React.ComponentProps<'div'>):
|
|
66
|
-
declare function
|
|
66
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime236.JSX.Element;
|
|
67
|
+
declare function DetailDialogSidebarFooter({
|
|
67
68
|
className,
|
|
68
69
|
...props
|
|
69
|
-
}: React.ComponentProps<'div'>):
|
|
70
|
-
declare function
|
|
70
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime236.JSX.Element;
|
|
71
|
+
declare function DetailDialogSidebarSeparator({
|
|
71
72
|
className,
|
|
72
73
|
...props
|
|
73
|
-
}: React.ComponentProps<typeof Separator>):
|
|
74
|
-
declare function
|
|
74
|
+
}: React.ComponentProps<typeof Separator>): react_jsx_runtime236.JSX.Element;
|
|
75
|
+
declare function DetailDialogSidebarContent({
|
|
75
76
|
className,
|
|
76
77
|
...props
|
|
77
|
-
}: React.ComponentProps<'div'>):
|
|
78
|
-
declare function
|
|
78
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime236.JSX.Element;
|
|
79
|
+
declare function DetailDialogSidebarGroup({
|
|
79
80
|
className,
|
|
80
81
|
...props
|
|
81
|
-
}: React.ComponentProps<'div'>):
|
|
82
|
-
declare function
|
|
82
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime236.JSX.Element;
|
|
83
|
+
declare function DetailDialogSidebarGroupLabel({
|
|
83
84
|
className,
|
|
84
85
|
asChild,
|
|
85
86
|
...props
|
|
86
87
|
}: React.ComponentProps<'div'> & {
|
|
87
88
|
asChild?: boolean;
|
|
88
|
-
}):
|
|
89
|
-
declare function
|
|
89
|
+
}): react_jsx_runtime236.JSX.Element;
|
|
90
|
+
declare function DetailDialogSidebarGroupAction({
|
|
90
91
|
className,
|
|
91
92
|
asChild,
|
|
92
93
|
...props
|
|
93
94
|
}: React.ComponentProps<'button'> & {
|
|
94
95
|
asChild?: boolean;
|
|
95
|
-
}):
|
|
96
|
-
declare function
|
|
96
|
+
}): react_jsx_runtime236.JSX.Element;
|
|
97
|
+
declare function DetailDialogSidebarGroupContent({
|
|
97
98
|
className,
|
|
98
99
|
...props
|
|
99
|
-
}: React.ComponentProps<'div'>):
|
|
100
|
-
declare function
|
|
100
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime236.JSX.Element;
|
|
101
|
+
declare function DetailDialogSidebarMenu({
|
|
101
102
|
className,
|
|
102
103
|
...props
|
|
103
|
-
}: React.ComponentProps<'ul'>):
|
|
104
|
-
declare function
|
|
104
|
+
}: React.ComponentProps<'ul'>): react_jsx_runtime236.JSX.Element;
|
|
105
|
+
declare function DetailDialogSidebarMenuItem({
|
|
105
106
|
className,
|
|
106
107
|
...props
|
|
107
|
-
}: React.ComponentProps<'li'>):
|
|
108
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime236.JSX.Element;
|
|
108
109
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
109
110
|
variant?: "default" | "outline" | null | undefined;
|
|
110
111
|
size?: "sm" | "lg" | "default" | null | undefined;
|
|
111
112
|
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
112
|
-
declare function
|
|
113
|
+
declare function DetailDialogSidebarMenuButton({
|
|
113
114
|
asChild,
|
|
114
115
|
isActive,
|
|
115
116
|
variant,
|
|
@@ -121,8 +122,8 @@ declare function SidebarMenuButton({
|
|
|
121
122
|
asChild?: boolean;
|
|
122
123
|
isActive?: boolean;
|
|
123
124
|
tooltip?: string | React.ComponentProps<typeof TooltipContent>;
|
|
124
|
-
} & VariantProps<typeof sidebarMenuButtonVariants>):
|
|
125
|
-
declare function
|
|
125
|
+
} & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime236.JSX.Element;
|
|
126
|
+
declare function DetailDialogSidebarMenuAction({
|
|
126
127
|
className,
|
|
127
128
|
asChild,
|
|
128
129
|
showOnHover,
|
|
@@ -130,27 +131,27 @@ declare function SidebarMenuAction({
|
|
|
130
131
|
}: React.ComponentProps<'button'> & {
|
|
131
132
|
asChild?: boolean;
|
|
132
133
|
showOnHover?: boolean;
|
|
133
|
-
}):
|
|
134
|
-
declare function
|
|
134
|
+
}): react_jsx_runtime236.JSX.Element;
|
|
135
|
+
declare function DetailDialogSidebarMenuBadge({
|
|
135
136
|
className,
|
|
136
137
|
...props
|
|
137
|
-
}: React.ComponentProps<'div'>):
|
|
138
|
-
declare function
|
|
138
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime236.JSX.Element;
|
|
139
|
+
declare function DetailDialogSidebarMenuSkeleton({
|
|
139
140
|
className,
|
|
140
141
|
showIcon,
|
|
141
142
|
...props
|
|
142
143
|
}: React.ComponentProps<'div'> & {
|
|
143
144
|
showIcon?: boolean;
|
|
144
|
-
}):
|
|
145
|
-
declare function
|
|
145
|
+
}): react_jsx_runtime236.JSX.Element;
|
|
146
|
+
declare function DetailDialogSidebarMenuSub({
|
|
146
147
|
className,
|
|
147
148
|
...props
|
|
148
|
-
}: React.ComponentProps<'ul'>):
|
|
149
|
-
declare function
|
|
149
|
+
}: React.ComponentProps<'ul'>): react_jsx_runtime236.JSX.Element;
|
|
150
|
+
declare function DetailDialogSidebarMenuSubItem({
|
|
150
151
|
className,
|
|
151
152
|
...props
|
|
152
|
-
}: React.ComponentProps<'li'>):
|
|
153
|
-
declare function
|
|
153
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime236.JSX.Element;
|
|
154
|
+
declare function DetailDialogSidebarMenuSubButton({
|
|
154
155
|
asChild,
|
|
155
156
|
size,
|
|
156
157
|
isActive,
|
|
@@ -160,7 +161,7 @@ declare function SidebarMenuSubButton({
|
|
|
160
161
|
asChild?: boolean;
|
|
161
162
|
size?: 'sm' | 'md';
|
|
162
163
|
isActive?: boolean;
|
|
163
|
-
}):
|
|
164
|
+
}): react_jsx_runtime236.JSX.Element;
|
|
164
165
|
//#endregion
|
|
165
|
-
export {
|
|
166
|
+
export { DetailDialogSidebarContent, DetailDialogSidebarFooter, DetailDialogSidebarGroup, DetailDialogSidebarGroupAction, DetailDialogSidebarGroupContent, DetailDialogSidebarGroupLabel, DetailDialogSidebarHeader, DetailDialogSidebarMenu, DetailDialogSidebarMenuAction, DetailDialogSidebarMenuBadge, DetailDialogSidebarMenuButton, DetailDialogSidebarMenuItem, DetailDialogSidebarMenuSkeleton, DetailDialogSidebarMenuSub, DetailDialogSidebarMenuSubButton, DetailDialogSidebarMenuSubItem, DetailDialogSidebarRail, DetailDialogSidebarSeparator, DetailDialogSidebarTrigger, Sidebar, SidebarInput, SidebarInset, SidebarProvider, useSidebar };
|
|
166
167
|
//# sourceMappingURL=sidebar.d.cts.map
|