@pixpilot/shadcn 0.1.8 → 0.1.9
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/_virtual/rolldown_runtime.cjs +1 -0
- package/dist/components/index.cjs +1 -0
- package/dist/components/index.d.cts +30 -0
- package/dist/components/index.d.ts +30 -0
- package/dist/components/index.js +1 -35
- package/dist/components/ui/OrContinueWithSeparator.cjs +1 -0
- package/dist/{OrContinueWithSeparator-CLGD1Hp8.d.ts → components/ui/OrContinueWithSeparator.d.cts} +3 -3
- package/dist/components/ui/OrContinueWithSeparator.d.ts +11 -0
- package/dist/components/ui/OrContinueWithSeparator.js +1 -6
- package/dist/components/ui/alert-dialog.cjs +1 -0
- package/dist/{alert-dialog-DfqbbSSI.d.ts → components/ui/alert-dialog.d.cts} +13 -13
- package/dist/components/ui/alert-dialog.d.ts +48 -0
- package/dist/components/ui/alert-dialog.js +1 -7
- package/dist/components/ui/alert.cjs +1 -0
- package/dist/{alert-BuSJW7FJ.d.ts → components/ui/alert.d.cts} +6 -6
- package/dist/components/ui/alert.d.ts +24 -0
- package/dist/components/ui/alert.js +1 -5
- package/dist/components/ui/avatar.cjs +1 -0
- package/dist/{avatar-Cu2GSSYZ.d.ts → components/ui/avatar.d.cts} +5 -5
- package/dist/components/ui/avatar.d.ts +19 -0
- package/dist/components/ui/avatar.js +1 -5
- package/dist/components/ui/badge.cjs +1 -0
- package/dist/{badge-_1_wFXtU.d.ts → components/ui/badge.d.cts} +5 -5
- package/dist/components/ui/badge.d.ts +19 -0
- package/dist/components/ui/badge.js +1 -5
- package/dist/components/ui/button.cjs +1 -0
- package/dist/{button-D3LwGnow.d.ts → components/ui/button.d.cts} +5 -5
- package/dist/components/ui/button.d.ts +21 -0
- package/dist/components/ui/button.js +1 -5
- package/dist/components/ui/calendar.cjs +1 -0
- package/dist/{calendar-BmGC3KEi.d.ts → components/ui/calendar.d.cts} +5 -5
- package/dist/components/ui/calendar.d.ts +26 -0
- package/dist/components/ui/calendar.js +1 -6
- package/dist/components/ui/card.cjs +1 -0
- package/dist/components/ui/card.d.cts +34 -0
- package/dist/components/ui/card.d.ts +34 -0
- package/dist/components/ui/card.js +1 -5
- package/dist/components/ui/checkbox.cjs +1 -0
- package/dist/{checkbox-B3agGzx9.d.ts → components/ui/checkbox.d.cts} +3 -3
- package/dist/components/ui/checkbox.d.ts +11 -0
- package/dist/components/ui/checkbox.js +1 -7
- package/dist/components/ui/command.cjs +1 -0
- package/dist/{command-DYY3jhrg.d.ts → components/ui/command.d.cts} +12 -12
- package/dist/components/ui/command.d.ts +52 -0
- package/dist/components/ui/command.js +1 -8
- package/dist/components/ui/dialog.cjs +1 -0
- package/dist/{dialog-D-hcbHxy.d.ts → components/ui/dialog.d.cts} +12 -12
- package/dist/components/ui/dialog.d.ts +47 -0
- package/dist/components/ui/dialog.js +1 -5
- package/dist/components/ui/dropdown-menu.cjs +1 -0
- package/dist/{dropdown-menu-BmbK1aYU.d.ts → components/ui/dropdown-menu.d.cts} +17 -17
- package/dist/components/ui/dropdown-menu.d.ts +77 -0
- package/dist/components/ui/dropdown-menu.js +1 -5
- package/dist/components/ui/file-upload.cjs +1 -0
- package/dist/{file-upload-CvqXunyl.d.ts → components/ui/file-upload.d.cts} +12 -12
- package/dist/components/ui/file-upload.d.ts +94 -0
- package/dist/components/ui/file-upload.js +1 -7
- package/dist/components/ui/form.cjs +1 -0
- package/dist/{form-DlY7oYOM.d.ts → components/ui/form.d.cts} +10 -10
- package/dist/components/ui/form.d.ts +45 -0
- package/dist/components/ui/form.js +1 -6
- package/dist/components/ui/index.cjs +1 -0
- package/dist/components/ui/index.d.cts +29 -0
- package/dist/components/ui/index.d.ts +29 -0
- package/dist/components/ui/index.js +1 -34
- package/dist/components/ui/input.cjs +1 -0
- package/dist/{input-RumcwxJs.d.ts → components/ui/input.d.cts} +3 -3
- package/dist/components/ui/input.d.ts +11 -0
- package/dist/components/ui/input.js +1 -5
- package/dist/components/ui/label.cjs +1 -0
- package/dist/{label-CQ-28O7Q.d.ts → components/ui/label.d.cts} +3 -3
- package/dist/components/ui/label.d.ts +11 -0
- package/dist/components/ui/label.js +1 -5
- package/dist/components/ui/pagination.cjs +1 -0
- package/dist/components/ui/pagination.d.cts +40 -0
- package/dist/{pagination-Q6kLlw6J.d.ts → components/ui/pagination.d.ts} +9 -9
- package/dist/components/ui/pagination.js +1 -5
- package/dist/components/ui/popover.cjs +1 -0
- package/dist/{popover-BzPxXXo8.d.ts → components/ui/popover.d.cts} +6 -6
- package/dist/components/ui/popover.d.ts +22 -0
- package/dist/components/ui/popover.js +1 -5
- package/dist/components/ui/radio-group.cjs +1 -0
- package/dist/{radio-group-B_Q80541.d.ts → components/ui/radio-group.d.cts} +4 -4
- package/dist/components/ui/radio-group.d.ts +15 -0
- package/dist/components/ui/radio-group.js +1 -5
- package/dist/components/ui/select.cjs +1 -0
- package/dist/{select-DbSK-rd_.d.ts → components/ui/select.d.cts} +12 -12
- package/dist/components/ui/select.d.ts +52 -0
- package/dist/components/ui/select.js +1 -7
- package/dist/components/ui/separator.cjs +1 -0
- package/dist/{separator-C_t229Nc.d.ts → components/ui/separator.d.cts} +3 -3
- package/dist/components/ui/separator.d.ts +13 -0
- package/dist/components/ui/separator.js +1 -5
- package/dist/components/ui/shadcn-io/tags/index.cjs +1 -0
- package/dist/{index-ii6MOZO-.d.ts → components/ui/shadcn-io/tags/index.d.cts} +14 -14
- package/dist/components/ui/shadcn-io/tags/index.d.ts +70 -0
- package/dist/components/ui/shadcn-io/tags/index.js +1 -12
- package/dist/components/ui/shadcn-io/tags-input-inline/index.cjs +1 -0
- package/dist/{index-BR__9xyL.d.ts → components/ui/shadcn-io/tags-input-inline/index.d.cts} +8 -8
- package/dist/components/ui/shadcn-io/tags-input-inline/index.d.ts +31 -0
- package/dist/components/ui/shadcn-io/tags-input-inline/index.js +1 -4
- package/dist/components/ui/sheet.cjs +1 -0
- package/dist/{sheet-CQ4h2nhf.d.ts → components/ui/sheet.d.cts} +10 -10
- package/dist/components/ui/sheet.d.ts +40 -0
- package/dist/components/ui/sheet.js +1 -5
- package/dist/components/ui/slider.cjs +1 -0
- package/dist/{slider-DNo33RNT.d.ts → components/ui/slider.d.cts} +3 -3
- package/dist/components/ui/slider.d.ts +15 -0
- package/dist/components/ui/slider.js +1 -5
- package/dist/components/ui/switch.cjs +1 -0
- package/dist/{switch-vvbTlbEc.d.ts → components/ui/switch.d.cts} +3 -3
- package/dist/components/ui/switch.d.ts +11 -0
- package/dist/components/ui/switch.js +1 -7
- package/dist/components/ui/tabs.cjs +1 -0
- package/dist/{tabs-D2Ubjb4f.d.ts → components/ui/tabs.d.cts} +6 -6
- package/dist/components/ui/tabs.d.ts +23 -0
- package/dist/components/ui/tabs.js +1 -5
- package/dist/components/ui/textarea.cjs +1 -0
- package/dist/components/ui/textarea.d.cts +10 -0
- package/dist/components/ui/textarea.d.ts +10 -0
- package/dist/components/ui/textarea.js +1 -5
- package/dist/components/ui/tooltip.cjs +1 -0
- package/dist/{tooltip-JmJWz4lK.d.ts → components/ui/tooltip.d.cts} +6 -6
- package/dist/components/ui/tooltip.d.ts +23 -0
- package/dist/components/ui/tooltip.js +1 -5
- package/dist/dist/components/ui/OrContinueWithSeparator.d.cts +1 -0
- package/dist/dist/components/ui/alert-dialog.d.cts +3 -0
- package/dist/dist/components/ui/alert.d.cts +3 -0
- package/dist/dist/components/ui/avatar.d.cts +3 -0
- package/dist/dist/components/ui/badge.d.cts +3 -0
- package/dist/dist/components/ui/button.d.cts +23 -0
- package/dist/dist/components/ui/calendar.d.cts +4 -0
- package/dist/dist/components/ui/card.d.cts +2 -0
- package/dist/dist/components/ui/checkbox.d.cts +3 -0
- package/dist/dist/components/ui/command.d.cts +4 -0
- package/dist/dist/components/ui/dialog.d.cts +3 -0
- package/dist/dist/components/ui/dropdown-menu.d.cts +3 -0
- package/dist/dist/components/ui/file-upload.d.cts +2 -0
- package/dist/dist/components/ui/form.d.cts +5 -0
- package/dist/dist/components/ui/input.d.cts +2 -0
- package/dist/dist/components/ui/label.d.cts +3 -0
- package/dist/dist/components/ui/pagination.d.cts +3 -0
- package/dist/dist/components/ui/popover.d.cts +3 -0
- package/dist/dist/components/ui/radio-group.d.cts +3 -0
- package/dist/dist/components/ui/select.d.cts +3 -0
- package/dist/dist/components/ui/separator.d.cts +3 -0
- package/dist/dist/components/ui/shadcn-io/tags/index.d.cts +6 -0
- package/dist/dist/components/ui/shadcn-io/tags-input-inline/index.d.cts +2 -0
- package/dist/dist/components/ui/sheet.d.cts +3 -0
- package/dist/dist/components/ui/slider.d.cts +3 -0
- package/dist/dist/components/ui/switch.d.cts +3 -0
- package/dist/dist/components/ui/tabs.d.cts +3 -0
- package/dist/dist/components/ui/textarea.d.cts +2 -0
- package/dist/dist/components/ui/tooltip.d.cts +3 -0
- package/dist/dist/index.d.cts +30 -0
- package/dist/dist/lib/utils.d.cts +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +33 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.js +1 -35
- package/dist/lib/index.cjs +1 -0
- package/dist/lib/index.d.cts +1 -0
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.js +1 -4
- package/dist/lib/utils.cjs +1 -0
- package/dist/{utils-9ayr7mhb.d.ts → lib/utils.d.cts} +1 -1
- package/dist/lib/utils.d.ts +6 -0
- package/dist/lib/utils.js +1 -3
- package/package.json +8 -4
- package/dist/OrContinueWithSeparator-CkITP0NT.js +0 -27
- package/dist/alert-DgTy4F7t.js +0 -38
- package/dist/alert-dialog-eEUiwCc2.js +0 -82
- package/dist/avatar-ggnaPAdx.js +0 -30
- package/dist/badge-OxgStuN-.js +0 -26
- package/dist/button-Ct22vvF2.js +0 -45
- package/dist/calendar-SVLTPCYN.js +0 -106
- package/dist/card-CgZyi8N4.d.ts +0 -34
- package/dist/card-mGJMSXR3.js +0 -57
- package/dist/checkbox-Car6S-YU.js +0 -22
- package/dist/command-Bh0lIHth.js +0 -87
- package/dist/components/index-STwYZkVD.d.ts +0 -30
- package/dist/components/ui/OrContinueWithSeparator-zD9Uvv6K.d.ts +0 -2
- package/dist/components/ui/alert-CrGZ30uR.d.ts +0 -2
- package/dist/components/ui/alert-dialog-C0WF5Dos.d.ts +0 -2
- package/dist/components/ui/avatar-CktZYO6v.d.ts +0 -2
- package/dist/components/ui/badge-C9NYum6y.d.ts +0 -2
- package/dist/components/ui/button-CoYoii2T.d.ts +0 -2
- package/dist/components/ui/calendar-5xd65Bmh.d.ts +0 -2
- package/dist/components/ui/card-Ckto1jiE.d.ts +0 -2
- package/dist/components/ui/checkbox-BCQklDUE.d.ts +0 -2
- package/dist/components/ui/command-BqHc3wli.d.ts +0 -2
- package/dist/components/ui/dialog-BLBozK8K.d.ts +0 -2
- package/dist/components/ui/dropdown-menu-C-dl2Ajc.d.ts +0 -2
- package/dist/components/ui/file-upload-SPbnttch.d.ts +0 -2
- package/dist/components/ui/form-ViAewsgB.d.ts +0 -2
- package/dist/components/ui/index-IiXyLa8U.d.ts +0 -30
- package/dist/components/ui/input-CMceREK-.d.ts +0 -2
- package/dist/components/ui/label-BUAecFS7.d.ts +0 -2
- package/dist/components/ui/pagination-CAR6sJhu.d.ts +0 -2
- package/dist/components/ui/popover-CGeLg_mb.d.ts +0 -2
- package/dist/components/ui/radio-group-Bwr6-_75.d.ts +0 -2
- package/dist/components/ui/select-Ceyh3aK6.d.ts +0 -2
- package/dist/components/ui/separator-Dfxgb7gD.d.ts +0 -2
- package/dist/components/ui/shadcn-io/tags/index-CAKU-H34.d.ts +0 -2
- package/dist/components/ui/shadcn-io/tags-input-inline/index-DhQmdtJh.d.ts +0 -2
- package/dist/components/ui/sheet-DWnv_e2Q.d.ts +0 -2
- package/dist/components/ui/slider-CfcbtbNG.d.ts +0 -2
- package/dist/components/ui/switch-7kQX0wi0.d.ts +0 -2
- package/dist/components/ui/tabs-B6omTiQk.d.ts +0 -2
- package/dist/components/ui/textarea-DlRILngG.d.ts +0 -2
- package/dist/components/ui/tooltip-C3dlvOcu.d.ts +0 -2
- package/dist/components-CjOwsud_.js +0 -0
- package/dist/dialog-O7j71U82.js +0 -87
- package/dist/dropdown-menu-ChXZkLy7.js +0 -124
- package/dist/file-upload-DPXO1W1r.js +0 -906
- package/dist/form-DITfwajn.js +0 -88
- package/dist/index-BRXix37V.d.ts +0 -1
- package/dist/index-CuzvJC30.d.ts +0 -1
- package/dist/index-DmFnvxaQ.d.ts +0 -1
- package/dist/index-mle9QVf7.d.ts +0 -31
- package/dist/input-Yyz-T5fE.js +0 -16
- package/dist/label-CAjd9Y0A.js +0 -16
- package/dist/lib/index-Cw9OTq6Z.d.ts +0 -2
- package/dist/lib/utils-BjeUWu6D.d.ts +0 -2
- package/dist/lib-IiLuXmGR.js +0 -0
- package/dist/pagination-X2x4H7jR.js +0 -80
- package/dist/popover-CfOLUbKw.js +0 -36
- package/dist/radio-group-4k6LZmww.js +0 -29
- package/dist/select-CXWDXh_t.js +0 -98
- package/dist/separator-BVBCxKBW.js +0 -18
- package/dist/sheet-BBbn5TK4.js +0 -83
- package/dist/slider-DZtuc6x6.js +0 -37
- package/dist/switch-C62hH2DB.js +0 -20
- package/dist/tabs-FcdB14CD.js +0 -37
- package/dist/tags-BAsyeRVu.js +0 -130
- package/dist/tags-input-inline-ClkRtl0N.js +0 -57
- package/dist/textarea-CmzvDEJd.d.ts +0 -10
- package/dist/textarea-DiUrRyYt.js +0 -15
- package/dist/tooltip-DVfEzbIm.js +0 -37
- package/dist/ui-8TGeeaIT.js +0 -0
- package/dist/utils-CeuVg6RA.js +0 -10
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Button } from "./button.js";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
4
|
+
import { DayButton, DayPicker } from "react-day-picker";
|
|
5
|
+
|
|
6
|
+
//#region src/components/ui/calendar.d.ts
|
|
7
|
+
declare function Calendar({
|
|
8
|
+
className,
|
|
9
|
+
classNames,
|
|
10
|
+
showOutsideDays,
|
|
11
|
+
captionLayout,
|
|
12
|
+
buttonVariant,
|
|
13
|
+
formatters,
|
|
14
|
+
components,
|
|
15
|
+
...props
|
|
16
|
+
}: React.ComponentProps<typeof DayPicker> & {
|
|
17
|
+
buttonVariant?: React.ComponentProps<typeof Button>['variant'];
|
|
18
|
+
}): react_jsx_runtime17.JSX.Element;
|
|
19
|
+
declare function CalendarDayButton({
|
|
20
|
+
className,
|
|
21
|
+
day,
|
|
22
|
+
modifiers,
|
|
23
|
+
...props
|
|
24
|
+
}: React.ComponentProps<typeof DayButton>): react_jsx_runtime17.JSX.Element;
|
|
25
|
+
//#endregion
|
|
26
|
+
export { Calendar, CalendarDayButton };
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
import "../../utils
|
|
2
|
-
import "../../lib-IiLuXmGR.js";
|
|
3
|
-
import "../../button-Ct22vvF2.js";
|
|
4
|
-
import { n as CalendarDayButton, t as Calendar } from "../../calendar-SVLTPCYN.js";
|
|
5
|
-
|
|
6
|
-
export { Calendar, CalendarDayButton };
|
|
1
|
+
import{cn as e}from"../../lib/utils.js";import"../../lib/index.js";import{Button as t,buttonVariants as n}from"./button.js";import*as 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{DayPicker as c,getDefaultClassNames as l}from"react-day-picker";function u({className:t,classNames:r,showOutsideDays:u=!0,captionLayout:f=`label`,buttonVariant:p=`ghost`,formatters:m,components:h,...g}){let _=l();return i(c,{showOutsideDays:u,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:f,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-ring border border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] rounded-md`,_.dropdown_root),dropdown:e(`absolute bg-popover inset-0 opacity-0`,_.dropdown),caption_label:e(`select-none font-medium`,f===`label`?`text-sm`:`rounded-md pl-2 pr-1 flex items-center gap-1 text-sm h-8 [&>svg]:text-muted-foreground [&>svg]:size-3.5`,_.caption_label),table:`w-full border-collapse`,weekdays:e(`flex`,_.weekdays),weekday:e(`text-muted-foreground 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-muted-foreground`,_.week_number),day:e(`relative w-full h-full p-0 text-center [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none`,g.showWeekNumber?`[&:nth-child(2)[data-selected=true]_button]:rounded-l-md`:`[&:first-child[data-selected=true]_button]:rounded-l-md`,_.day),range_start:e(`rounded-l-md bg-accent`,_.range_start),range_middle:e(`rounded-none`,_.range_middle),range_end:e(`rounded-r-md bg-accent`,_.range_end),today:e(`bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none`,_.today),outside:e(`text-muted-foreground aria-selected:text-muted-foreground`,_.outside),disabled:e(`text-muted-foreground 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:d,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 d({className:n,day:a,modifiers:o,...s}){let c=l(),u=r.useRef(null);return r.useEffect(()=>{o.focused&&u.current?.focus()},[o.focused]),i(t,{ref:u,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(`data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal 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})}export{u as Calendar,d as CalendarDayButton};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`../../_virtual/rolldown_runtime.cjs`),t=require(`../../lib/utils.cjs`);require(`../../lib/index.cjs`);let n=require(`react`);n=e.__toESM(n);let r=require(`react/jsx-runtime`);r=e.__toESM(r);function i({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`card`,className:t.cn(`bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm`,e),...n})}function a({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`card-header`,className:t.cn(`@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6`,e),...n})}function o({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`card-title`,className:t.cn(`leading-none font-semibold`,e),...n})}function s({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`card-description`,className:t.cn(`text-muted-foreground text-sm`,e),...n})}function c({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`card-action`,className:t.cn(`col-start-2 row-span-2 row-start-1 self-start justify-self-end`,e),...n})}function l({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`card-content`,className:t.cn(`px-6`,e),...n})}function u({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`card-footer`,className:t.cn(`flex items-center px-6 [.border-t]:pt-6`,e),...n})}exports.Card=i,exports.CardAction=c,exports.CardContent=l,exports.CardDescription=s,exports.CardFooter=u,exports.CardHeader=a,exports.CardTitle=o;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/ui/card.d.ts
|
|
5
|
+
declare function Card({
|
|
6
|
+
className,
|
|
7
|
+
...props
|
|
8
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime11.JSX.Element;
|
|
9
|
+
declare function CardHeader({
|
|
10
|
+
className,
|
|
11
|
+
...props
|
|
12
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime11.JSX.Element;
|
|
13
|
+
declare function CardTitle({
|
|
14
|
+
className,
|
|
15
|
+
...props
|
|
16
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime11.JSX.Element;
|
|
17
|
+
declare function CardDescription({
|
|
18
|
+
className,
|
|
19
|
+
...props
|
|
20
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime11.JSX.Element;
|
|
21
|
+
declare function CardAction({
|
|
22
|
+
className,
|
|
23
|
+
...props
|
|
24
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime11.JSX.Element;
|
|
25
|
+
declare function CardContent({
|
|
26
|
+
className,
|
|
27
|
+
...props
|
|
28
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime11.JSX.Element;
|
|
29
|
+
declare function CardFooter({
|
|
30
|
+
className,
|
|
31
|
+
...props
|
|
32
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime11.JSX.Element;
|
|
33
|
+
//#endregion
|
|
34
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/ui/card.d.ts
|
|
5
|
+
declare function Card({
|
|
6
|
+
className,
|
|
7
|
+
...props
|
|
8
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime20.JSX.Element;
|
|
9
|
+
declare function CardHeader({
|
|
10
|
+
className,
|
|
11
|
+
...props
|
|
12
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime20.JSX.Element;
|
|
13
|
+
declare function CardTitle({
|
|
14
|
+
className,
|
|
15
|
+
...props
|
|
16
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime20.JSX.Element;
|
|
17
|
+
declare function CardDescription({
|
|
18
|
+
className,
|
|
19
|
+
...props
|
|
20
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime20.JSX.Element;
|
|
21
|
+
declare function CardAction({
|
|
22
|
+
className,
|
|
23
|
+
...props
|
|
24
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime20.JSX.Element;
|
|
25
|
+
declare function CardContent({
|
|
26
|
+
className,
|
|
27
|
+
...props
|
|
28
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime20.JSX.Element;
|
|
29
|
+
declare function CardFooter({
|
|
30
|
+
className,
|
|
31
|
+
...props
|
|
32
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime20.JSX.Element;
|
|
33
|
+
//#endregion
|
|
34
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
import "../../utils
|
|
2
|
-
import "../../lib-IiLuXmGR.js";
|
|
3
|
-
import { a as CardFooter, i as CardDescription, n as CardAction, o as CardHeader, r as CardContent, s as CardTitle, t as Card } from "../../card-mGJMSXR3.js";
|
|
4
|
-
|
|
5
|
-
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
1
|
+
import{cn as e}from"../../lib/utils.js";import"../../lib/index.js";import"react";import{jsx as t}from"react/jsx-runtime";function n({className:n,...r}){return t(`div`,{"data-slot":`card`,className:e(`bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm`,n),...r})}function r({className:n,...r}){return t(`div`,{"data-slot":`card-header`,className:e(`@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6`,n),...r})}function i({className:n,...r}){return t(`div`,{"data-slot":`card-title`,className:e(`leading-none font-semibold`,n),...r})}function a({className:n,...r}){return t(`div`,{"data-slot":`card-description`,className:e(`text-muted-foreground text-sm`,n),...r})}function o({className:n,...r}){return t(`div`,{"data-slot":`card-action`,className:e(`col-start-2 row-span-2 row-start-1 self-start justify-self-end`,n),...r})}function s({className:n,...r}){return t(`div`,{"data-slot":`card-content`,className:e(`px-6`,n),...r})}function c({className:n,...r}){return t(`div`,{"data-slot":`card-footer`,className:e(`flex items-center px-6 [.border-t]:pt-6`,n),...r})}export{n as Card,o as CardAction,s as CardContent,a as CardDescription,c as CardFooter,r as CardHeader,i as CardTitle};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";const e=require(`../../_virtual/rolldown_runtime.cjs`),t=require(`../../lib/utils.cjs`);require(`../../lib/index.cjs`);let n=require(`react`);n=e.__toESM(n);let r=require(`react/jsx-runtime`);r=e.__toESM(r);let i=require(`lucide-react`);i=e.__toESM(i);let a=require(`@radix-ui/react-checkbox`);a=e.__toESM(a);function o({className:e,...n}){return(0,r.jsx)(a.Root,{"data-slot":`checkbox`,className:t.cn(`peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50`,e),...n,children:(0,r.jsx)(a.Indicator,{"data-slot":`checkbox-indicator`,className:`grid place-content-center text-current transition-none`,children:(0,r.jsx)(i.CheckIcon,{className:`size-3.5`})})})}exports.Checkbox=o;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import * as react_jsx_runtime46 from "react/jsx-runtime";
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import * as react_jsx_runtime87 from "react/jsx-runtime";
|
|
3
3
|
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/checkbox.d.ts
|
|
6
6
|
declare function Checkbox({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof CheckboxPrimitive.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof CheckboxPrimitive.Root>): react_jsx_runtime46.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
|
-
export { Checkbox
|
|
11
|
+
export { Checkbox };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime27 from "react/jsx-runtime";
|
|
3
|
+
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/checkbox.d.ts
|
|
6
|
+
declare function Checkbox({
|
|
7
|
+
className,
|
|
8
|
+
...props
|
|
9
|
+
}: React.ComponentProps<typeof CheckboxPrimitive.Root>): react_jsx_runtime27.JSX.Element;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { Checkbox };
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import "../../utils-CeuVg6RA.js";
|
|
4
|
-
import "../../lib-IiLuXmGR.js";
|
|
5
|
-
import { t as Checkbox } from "../../checkbox-Car6S-YU.js";
|
|
6
|
-
|
|
7
|
-
export { Checkbox };
|
|
1
|
+
"use client";import{cn as e}from"../../lib/utils.js";import"../../lib/index.js";import"react";import{jsx as t}from"react/jsx-runtime";import{CheckIcon as n}from"lucide-react";import*as r from"@radix-ui/react-checkbox";function i({className:i,...a}){return t(r.Root,{"data-slot":`checkbox`,className:e(`peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50`,i),...a,children:t(r.Indicator,{"data-slot":`checkbox-indicator`,className:`grid place-content-center text-current transition-none`,children:t(n,{className:`size-3.5`})})})}export{i as Checkbox};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";const e=require(`../../_virtual/rolldown_runtime.cjs`),t=require(`../../lib/utils.cjs`);require(`../../lib/index.cjs`);const n=require(`./dialog.cjs`);let r=require(`react`);r=e.__toESM(r);let i=require(`react/jsx-runtime`);i=e.__toESM(i);let a=require(`lucide-react`);a=e.__toESM(a);let o=require(`cmdk`);o=e.__toESM(o);function s({className:e,...n}){return(0,i.jsx)(o.Command,{"data-slot":`command`,className:t.cn(`bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md`,e),...n})}function c({title:e=`Command Palette`,description:r=`Search for a command to run...`,children:a,className:o,showCloseButton:c=!0,...l}){return(0,i.jsxs)(n.Dialog,{...l,children:[(0,i.jsxs)(n.DialogHeader,{className:`sr-only`,children:[(0,i.jsx)(n.DialogTitle,{children:e}),(0,i.jsx)(n.DialogDescription,{children:r})]}),(0,i.jsx)(n.DialogContent,{className:t.cn(`overflow-hidden p-0`,o),showCloseButton:c,children:(0,i.jsx)(s,{className:`[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5`,children:a})})]})}function l({className:e,...n}){return(0,i.jsxs)(`div`,{"data-slot":`command-input-wrapper`,className:`flex h-9 items-center gap-2 border-b px-3`,children:[(0,i.jsx)(a.SearchIcon,{className:`size-4 shrink-0 opacity-50`}),(0,i.jsx)(o.Command.Input,{"data-slot":`command-input`,className:t.cn(`placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50`,e),...n})]})}function u({className:e,...n}){return(0,i.jsx)(o.Command.List,{"data-slot":`command-list`,className:t.cn(`max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto`,e),...n})}function d({...e}){return(0,i.jsx)(o.Command.Empty,{"data-slot":`command-empty`,className:`py-6 text-center text-sm`,...e})}function f({className:e,...n}){return(0,i.jsx)(o.Command.Group,{"data-slot":`command-group`,className:t.cn(`text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium`,e),...n})}function p({className:e,...n}){return(0,i.jsx)(o.Command.Separator,{"data-slot":`command-separator`,className:t.cn(`bg-border -mx-1 h-px`,e),...n})}function m({className:e,...n}){return(0,i.jsx)(o.Command.Item,{"data-slot":`command-item`,className:t.cn(`data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...n})}function h({className:e,...n}){return(0,i.jsx)(`span`,{"data-slot":`command-shortcut`,className:t.cn(`text-muted-foreground ml-auto text-xs tracking-widest`,e),...n})}exports.Command=s,exports.CommandDialog=c,exports.CommandEmpty=d,exports.CommandGroup=f,exports.CommandInput=l,exports.CommandItem=m,exports.CommandList=u,exports.CommandSeparator=p,exports.CommandShortcut=h;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Dialog } from "./dialog.cjs";
|
|
2
|
+
import * as react_jsx_runtime27 from "react/jsx-runtime";
|
|
2
3
|
import * as React from "react";
|
|
3
|
-
import * as react_jsx_runtime114 from "react/jsx-runtime";
|
|
4
4
|
import { Command } from "cmdk";
|
|
5
5
|
|
|
6
6
|
//#region src/components/ui/command.d.ts
|
|
7
7
|
declare function Command$1({
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof Command>):
|
|
10
|
+
}: React.ComponentProps<typeof Command>): react_jsx_runtime27.JSX.Element;
|
|
11
11
|
declare function CommandDialog({
|
|
12
12
|
title,
|
|
13
13
|
description,
|
|
@@ -20,33 +20,33 @@ declare function CommandDialog({
|
|
|
20
20
|
description?: string;
|
|
21
21
|
className?: string;
|
|
22
22
|
showCloseButton?: boolean;
|
|
23
|
-
}):
|
|
23
|
+
}): react_jsx_runtime27.JSX.Element;
|
|
24
24
|
declare function CommandInput({
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof Command.Input>):
|
|
27
|
+
}: React.ComponentProps<typeof Command.Input>): react_jsx_runtime27.JSX.Element;
|
|
28
28
|
declare function CommandList({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof Command.List>):
|
|
31
|
+
}: React.ComponentProps<typeof Command.List>): react_jsx_runtime27.JSX.Element;
|
|
32
32
|
declare function CommandEmpty({
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<typeof Command.Empty>):
|
|
34
|
+
}: React.ComponentProps<typeof Command.Empty>): react_jsx_runtime27.JSX.Element;
|
|
35
35
|
declare function CommandGroup({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<typeof Command.Group>):
|
|
38
|
+
}: React.ComponentProps<typeof Command.Group>): react_jsx_runtime27.JSX.Element;
|
|
39
39
|
declare function CommandSeparator({
|
|
40
40
|
className,
|
|
41
41
|
...props
|
|
42
|
-
}: React.ComponentProps<typeof Command.Separator>):
|
|
42
|
+
}: React.ComponentProps<typeof Command.Separator>): react_jsx_runtime27.JSX.Element;
|
|
43
43
|
declare function CommandItem({
|
|
44
44
|
className,
|
|
45
45
|
...props
|
|
46
|
-
}: React.ComponentProps<typeof Command.Item>):
|
|
46
|
+
}: React.ComponentProps<typeof Command.Item>): react_jsx_runtime27.JSX.Element;
|
|
47
47
|
declare function CommandShortcut({
|
|
48
48
|
className,
|
|
49
49
|
...props
|
|
50
|
-
}: React.ComponentProps<'span'>):
|
|
50
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime27.JSX.Element;
|
|
51
51
|
//#endregion
|
|
52
|
-
export {
|
|
52
|
+
export { Command$1 as Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Dialog } from "./dialog.js";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
4
|
+
import { Command } from "cmdk";
|
|
5
|
+
|
|
6
|
+
//#region src/components/ui/command.d.ts
|
|
7
|
+
declare function Command$1({
|
|
8
|
+
className,
|
|
9
|
+
...props
|
|
10
|
+
}: React.ComponentProps<typeof Command>): react_jsx_runtime28.JSX.Element;
|
|
11
|
+
declare function CommandDialog({
|
|
12
|
+
title,
|
|
13
|
+
description,
|
|
14
|
+
children,
|
|
15
|
+
className,
|
|
16
|
+
showCloseButton,
|
|
17
|
+
...props
|
|
18
|
+
}: React.ComponentProps<typeof Dialog> & {
|
|
19
|
+
title?: string;
|
|
20
|
+
description?: string;
|
|
21
|
+
className?: string;
|
|
22
|
+
showCloseButton?: boolean;
|
|
23
|
+
}): react_jsx_runtime28.JSX.Element;
|
|
24
|
+
declare function CommandInput({
|
|
25
|
+
className,
|
|
26
|
+
...props
|
|
27
|
+
}: React.ComponentProps<typeof Command.Input>): react_jsx_runtime28.JSX.Element;
|
|
28
|
+
declare function CommandList({
|
|
29
|
+
className,
|
|
30
|
+
...props
|
|
31
|
+
}: React.ComponentProps<typeof Command.List>): react_jsx_runtime28.JSX.Element;
|
|
32
|
+
declare function CommandEmpty({
|
|
33
|
+
...props
|
|
34
|
+
}: React.ComponentProps<typeof Command.Empty>): react_jsx_runtime28.JSX.Element;
|
|
35
|
+
declare function CommandGroup({
|
|
36
|
+
className,
|
|
37
|
+
...props
|
|
38
|
+
}: React.ComponentProps<typeof Command.Group>): react_jsx_runtime28.JSX.Element;
|
|
39
|
+
declare function CommandSeparator({
|
|
40
|
+
className,
|
|
41
|
+
...props
|
|
42
|
+
}: React.ComponentProps<typeof Command.Separator>): react_jsx_runtime28.JSX.Element;
|
|
43
|
+
declare function CommandItem({
|
|
44
|
+
className,
|
|
45
|
+
...props
|
|
46
|
+
}: React.ComponentProps<typeof Command.Item>): react_jsx_runtime28.JSX.Element;
|
|
47
|
+
declare function CommandShortcut({
|
|
48
|
+
className,
|
|
49
|
+
...props
|
|
50
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime28.JSX.Element;
|
|
51
|
+
//#endregion
|
|
52
|
+
export { Command$1 as Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
|
|
@@ -1,8 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import "../../utils-CeuVg6RA.js";
|
|
4
|
-
import "../../lib-IiLuXmGR.js";
|
|
5
|
-
import "../../dialog-O7j71U82.js";
|
|
6
|
-
import { a as CommandInput, c as CommandSeparator, i as CommandGroup, l as CommandShortcut, n as CommandDialog, o as CommandItem, r as CommandEmpty, s as CommandList, t as Command } from "../../command-Bh0lIHth.js";
|
|
7
|
-
|
|
8
|
-
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
|
|
1
|
+
"use client";import{cn as e}from"../../lib/utils.js";import"../../lib/index.js";import{Dialog as t,DialogContent as n,DialogDescription as r,DialogHeader as i,DialogTitle as a}from"./dialog.js";import"react";import{jsx as o,jsxs as s}from"react/jsx-runtime";import{SearchIcon as c}from"lucide-react";import{Command as l}from"cmdk";function u({className:t,...n}){return o(l,{"data-slot":`command`,className:e(`bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md`,t),...n})}function d({title:c=`Command Palette`,description:l=`Search for a command to run...`,children:d,className:f,showCloseButton:p=!0,...m}){return s(t,{...m,children:[s(i,{className:`sr-only`,children:[o(a,{children:c}),o(r,{children:l})]}),o(n,{className:e(`overflow-hidden p-0`,f),showCloseButton:p,children:o(u,{className:`[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5`,children:d})})]})}function f({className:t,...n}){return s(`div`,{"data-slot":`command-input-wrapper`,className:`flex h-9 items-center gap-2 border-b px-3`,children:[o(c,{className:`size-4 shrink-0 opacity-50`}),o(l.Input,{"data-slot":`command-input`,className:e(`placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50`,t),...n})]})}function p({className:t,...n}){return o(l.List,{"data-slot":`command-list`,className:e(`max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto`,t),...n})}function m({...e}){return o(l.Empty,{"data-slot":`command-empty`,className:`py-6 text-center text-sm`,...e})}function h({className:t,...n}){return o(l.Group,{"data-slot":`command-group`,className:e(`text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium`,t),...n})}function g({className:t,...n}){return o(l.Separator,{"data-slot":`command-separator`,className:e(`bg-border -mx-1 h-px`,t),...n})}function _({className:t,...n}){return o(l.Item,{"data-slot":`command-item`,className:e(`data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,t),...n})}function v({className:t,...n}){return o(`span`,{"data-slot":`command-shortcut`,className:e(`text-muted-foreground ml-auto text-xs tracking-widest`,t),...n})}export{u as Command,d as CommandDialog,m as CommandEmpty,h as CommandGroup,f as CommandInput,_ as CommandItem,p as CommandList,g as CommandSeparator,v as CommandShortcut};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`../../_virtual/rolldown_runtime.cjs`),t=require(`../../lib/utils.cjs`);require(`../../lib/index.cjs`);let n=require(`react`);n=e.__toESM(n);let r=require(`react/jsx-runtime`);r=e.__toESM(r);let i=require(`lucide-react`);i=e.__toESM(i);let a=require(`@radix-ui/react-dialog`);a=e.__toESM(a);function o({...e}){return(0,r.jsx)(a.Root,{"data-slot":`dialog`,...e})}function s({...e}){return(0,r.jsx)(a.Trigger,{"data-slot":`dialog-trigger`,...e})}function c({...e}){return(0,r.jsx)(a.Portal,{"data-slot":`dialog-portal`,...e})}function l({...e}){return(0,r.jsx)(a.Close,{"data-slot":`dialog-close`,...e})}function u({className:e,...n}){return(0,r.jsx)(a.Overlay,{"data-slot":`dialog-overlay`,className:t.cn(`data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50`,e),...n})}function d({className:e,children:n,showCloseButton:o=!0,...s}){return(0,r.jsxs)(c,{"data-slot":`dialog-portal`,children:[(0,r.jsx)(u,{}),(0,r.jsxs)(a.Content,{"data-slot":`dialog-content`,className:t.cn(`bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg`,e),...s,children:[n,o&&(0,r.jsxs)(a.Close,{"data-slot":`dialog-close`,className:`ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,children:[(0,r.jsx)(i.XIcon,{}),(0,r.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})]})}function f({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`dialog-header`,className:t.cn(`flex flex-col gap-2 text-center sm:text-left`,e),...n})}function p({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`dialog-footer`,className:t.cn(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,e),...n})}function m({className:e,...n}){return(0,r.jsx)(a.Title,{"data-slot":`dialog-title`,className:t.cn(`text-lg leading-none font-semibold`,e),...n})}function h({className:e,...n}){return(0,r.jsx)(a.Description,{"data-slot":`dialog-description`,className:t.cn(`text-muted-foreground text-sm`,e),...n})}exports.Dialog=o,exports.DialogClose=l,exports.DialogContent=d,exports.DialogDescription=h,exports.DialogFooter=p,exports.DialogHeader=f,exports.DialogOverlay=u,exports.DialogPortal=c,exports.DialogTitle=m,exports.DialogTrigger=s;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
+
import * as react_jsx_runtime36 from "react/jsx-runtime";
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import * as react_jsx_runtime67 from "react/jsx-runtime";
|
|
3
3
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/dialog.d.ts
|
|
6
6
|
declare function Dialog({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof DialogPrimitive.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime36.JSX.Element;
|
|
9
9
|
declare function DialogTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof DialogPrimitive.Trigger>):
|
|
11
|
+
}: React.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime36.JSX.Element;
|
|
12
12
|
declare function DialogPortal({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof DialogPrimitive.Portal>):
|
|
14
|
+
}: React.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime36.JSX.Element;
|
|
15
15
|
declare function DialogClose({
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof DialogPrimitive.Close>):
|
|
17
|
+
}: React.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime36.JSX.Element;
|
|
18
18
|
declare function DialogOverlay({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof DialogPrimitive.Overlay>):
|
|
21
|
+
}: React.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime36.JSX.Element;
|
|
22
22
|
declare function DialogContent({
|
|
23
23
|
className,
|
|
24
24
|
children,
|
|
@@ -26,22 +26,22 @@ declare function DialogContent({
|
|
|
26
26
|
...props
|
|
27
27
|
}: React.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
28
28
|
showCloseButton?: boolean;
|
|
29
|
-
}):
|
|
29
|
+
}): react_jsx_runtime36.JSX.Element;
|
|
30
30
|
declare function DialogHeader({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<'div'>):
|
|
33
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime36.JSX.Element;
|
|
34
34
|
declare function DialogFooter({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: React.ComponentProps<'div'>):
|
|
37
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime36.JSX.Element;
|
|
38
38
|
declare function DialogTitle({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<typeof DialogPrimitive.Title>):
|
|
41
|
+
}: React.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime36.JSX.Element;
|
|
42
42
|
declare function DialogDescription({
|
|
43
43
|
className,
|
|
44
44
|
...props
|
|
45
|
-
}: React.ComponentProps<typeof DialogPrimitive.Description>):
|
|
45
|
+
}: React.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime36.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
|
-
export {
|
|
47
|
+
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime37 from "react/jsx-runtime";
|
|
3
|
+
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/dialog.d.ts
|
|
6
|
+
declare function Dialog({
|
|
7
|
+
...props
|
|
8
|
+
}: React.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime37.JSX.Element;
|
|
9
|
+
declare function DialogTrigger({
|
|
10
|
+
...props
|
|
11
|
+
}: React.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime37.JSX.Element;
|
|
12
|
+
declare function DialogPortal({
|
|
13
|
+
...props
|
|
14
|
+
}: React.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime37.JSX.Element;
|
|
15
|
+
declare function DialogClose({
|
|
16
|
+
...props
|
|
17
|
+
}: React.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime37.JSX.Element;
|
|
18
|
+
declare function DialogOverlay({
|
|
19
|
+
className,
|
|
20
|
+
...props
|
|
21
|
+
}: React.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime37.JSX.Element;
|
|
22
|
+
declare function DialogContent({
|
|
23
|
+
className,
|
|
24
|
+
children,
|
|
25
|
+
showCloseButton,
|
|
26
|
+
...props
|
|
27
|
+
}: React.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
28
|
+
showCloseButton?: boolean;
|
|
29
|
+
}): react_jsx_runtime37.JSX.Element;
|
|
30
|
+
declare function DialogHeader({
|
|
31
|
+
className,
|
|
32
|
+
...props
|
|
33
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime37.JSX.Element;
|
|
34
|
+
declare function DialogFooter({
|
|
35
|
+
className,
|
|
36
|
+
...props
|
|
37
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime37.JSX.Element;
|
|
38
|
+
declare function DialogTitle({
|
|
39
|
+
className,
|
|
40
|
+
...props
|
|
41
|
+
}: React.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime37.JSX.Element;
|
|
42
|
+
declare function DialogDescription({
|
|
43
|
+
className,
|
|
44
|
+
...props
|
|
45
|
+
}: React.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime37.JSX.Element;
|
|
46
|
+
//#endregion
|
|
47
|
+
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
import "../../utils
|
|
2
|
-
import "../../lib-IiLuXmGR.js";
|
|
3
|
-
import { a as DialogFooter, c as DialogPortal, i as DialogDescription, l as DialogTitle, n as DialogClose, o as DialogHeader, r as DialogContent, s as DialogOverlay, t as Dialog, u as DialogTrigger } from "../../dialog-O7j71U82.js";
|
|
4
|
-
|
|
5
|
-
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
|
1
|
+
import{cn as e}from"../../lib/utils.js";import"../../lib/index.js";import"react";import{jsx as t,jsxs as n}from"react/jsx-runtime";import{XIcon as r}from"lucide-react";import*as i from"@radix-ui/react-dialog";function a({...e}){return t(i.Root,{"data-slot":`dialog`,...e})}function o({...e}){return t(i.Trigger,{"data-slot":`dialog-trigger`,...e})}function s({...e}){return t(i.Portal,{"data-slot":`dialog-portal`,...e})}function c({...e}){return t(i.Close,{"data-slot":`dialog-close`,...e})}function l({className:n,...r}){return t(i.Overlay,{"data-slot":`dialog-overlay`,className:e(`data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50`,n),...r})}function u({className:a,children:o,showCloseButton:c=!0,...u}){return n(s,{"data-slot":`dialog-portal`,children:[t(l,{}),n(i.Content,{"data-slot":`dialog-content`,className:e(`bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg`,a),...u,children:[o,c&&n(i.Close,{"data-slot":`dialog-close`,className:`ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,children:[t(r,{}),t(`span`,{className:`sr-only`,children:`Close`})]})]})]})}function d({className:n,...r}){return t(`div`,{"data-slot":`dialog-header`,className:e(`flex flex-col gap-2 text-center sm:text-left`,n),...r})}function f({className:n,...r}){return t(`div`,{"data-slot":`dialog-footer`,className:e(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,n),...r})}function p({className:n,...r}){return t(i.Title,{"data-slot":`dialog-title`,className:e(`text-lg leading-none font-semibold`,n),...r})}function m({className:n,...r}){return t(i.Description,{"data-slot":`dialog-description`,className:e(`text-muted-foreground text-sm`,n),...r})}export{a as Dialog,c as DialogClose,u as DialogContent,m as DialogDescription,f as DialogFooter,d as DialogHeader,l as DialogOverlay,s as DialogPortal,p as DialogTitle,o as DialogTrigger};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`../../_virtual/rolldown_runtime.cjs`),t=require(`../../lib/utils.cjs`);require(`../../lib/index.cjs`);let n=require(`react`);n=e.__toESM(n);let r=require(`react/jsx-runtime`);r=e.__toESM(r);let i=require(`lucide-react`);i=e.__toESM(i);let a=require(`@radix-ui/react-dropdown-menu`);a=e.__toESM(a);function o({...e}){return(0,r.jsx)(a.Root,{"data-slot":`dropdown-menu`,...e})}function s({...e}){return(0,r.jsx)(a.Portal,{"data-slot":`dropdown-menu-portal`,...e})}function c({...e}){return(0,r.jsx)(a.Trigger,{"data-slot":`dropdown-menu-trigger`,...e})}function l({className:e,sideOffset:n=4,...i}){return(0,r.jsx)(a.Portal,{children:(0,r.jsx)(a.Content,{"data-slot":`dropdown-menu-content`,sideOffset:n,className:t.cn(`bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md`,e),...i})})}function u({...e}){return(0,r.jsx)(a.Group,{"data-slot":`dropdown-menu-group`,...e})}function d({className:e,inset:n,variant:i=`default`,...o}){return(0,r.jsx)(a.Item,{"data-slot":`dropdown-menu-item`,"data-inset":n,"data-variant":i,className:t.cn(`focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...o})}function f({className:e,children:n,checked:o,...s}){return(0,r.jsxs)(a.CheckboxItem,{"data-slot":`dropdown-menu-checkbox-item`,className:t.cn(`focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),checked:o,...s,children:[(0,r.jsx)(`span`,{className:`pointer-events-none absolute left-2 flex size-3.5 items-center justify-center`,children:(0,r.jsx)(a.ItemIndicator,{children:(0,r.jsx)(i.CheckIcon,{className:`size-4`})})}),n]})}function p({...e}){return(0,r.jsx)(a.RadioGroup,{"data-slot":`dropdown-menu-radio-group`,...e})}function m({className:e,children:n,...o}){return(0,r.jsxs)(a.RadioItem,{"data-slot":`dropdown-menu-radio-item`,className:t.cn(`focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...o,children:[(0,r.jsx)(`span`,{className:`pointer-events-none absolute left-2 flex size-3.5 items-center justify-center`,children:(0,r.jsx)(a.ItemIndicator,{children:(0,r.jsx)(i.CircleIcon,{className:`size-2 fill-current`})})}),n]})}function h({className:e,inset:n,...i}){return(0,r.jsx)(a.Label,{"data-slot":`dropdown-menu-label`,"data-inset":n,className:t.cn(`px-2 py-1.5 text-sm font-medium data-[inset]:pl-8`,e),...i})}function g({className:e,...n}){return(0,r.jsx)(a.Separator,{"data-slot":`dropdown-menu-separator`,className:t.cn(`bg-border -mx-1 my-1 h-px`,e),...n})}function _({className:e,...n}){return(0,r.jsx)(`span`,{"data-slot":`dropdown-menu-shortcut`,className:t.cn(`text-muted-foreground ml-auto text-xs tracking-widest`,e),...n})}function v({...e}){return(0,r.jsx)(a.Sub,{"data-slot":`dropdown-menu-sub`,...e})}function y({className:e,inset:n,children:o,...s}){return(0,r.jsxs)(a.SubTrigger,{"data-slot":`dropdown-menu-sub-trigger`,"data-inset":n,className:t.cn(`focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...s,children:[o,(0,r.jsx)(i.ChevronRightIcon,{className:`ml-auto size-4`})]})}function b({className:e,...n}){return(0,r.jsx)(a.SubContent,{"data-slot":`dropdown-menu-sub-content`,className:t.cn(`bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg`,e),...n})}exports.DropdownMenu=o,exports.DropdownMenuCheckboxItem=f,exports.DropdownMenuContent=l,exports.DropdownMenuGroup=u,exports.DropdownMenuItem=d,exports.DropdownMenuLabel=h,exports.DropdownMenuPortal=s,exports.DropdownMenuRadioGroup=p,exports.DropdownMenuRadioItem=m,exports.DropdownMenuSeparator=g,exports.DropdownMenuShortcut=_,exports.DropdownMenuSub=v,exports.DropdownMenuSubContent=b,exports.DropdownMenuSubTrigger=y,exports.DropdownMenuTrigger=c;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
+
import * as react_jsx_runtime47 from "react/jsx-runtime";
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
3
3
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/dropdown-menu.d.ts
|
|
6
6
|
declare function DropdownMenu({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime47.JSX.Element;
|
|
9
9
|
declare function DropdownMenuPortal({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>):
|
|
11
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime47.JSX.Element;
|
|
12
12
|
declare function DropdownMenuTrigger({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>):
|
|
14
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime47.JSX.Element;
|
|
15
15
|
declare function DropdownMenuContent({
|
|
16
16
|
className,
|
|
17
17
|
sideOffset,
|
|
18
18
|
...props
|
|
19
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.Content>):
|
|
19
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime47.JSX.Element;
|
|
20
20
|
declare function DropdownMenuGroup({
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.Group>):
|
|
22
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime47.JSX.Element;
|
|
23
23
|
declare function DropdownMenuItem({
|
|
24
24
|
className,
|
|
25
25
|
inset,
|
|
@@ -28,39 +28,39 @@ declare function DropdownMenuItem({
|
|
|
28
28
|
}: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
29
29
|
inset?: boolean;
|
|
30
30
|
variant?: 'default' | 'destructive';
|
|
31
|
-
}):
|
|
31
|
+
}): react_jsx_runtime47.JSX.Element;
|
|
32
32
|
declare function DropdownMenuCheckboxItem({
|
|
33
33
|
className,
|
|
34
34
|
children,
|
|
35
35
|
checked,
|
|
36
36
|
...props
|
|
37
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>):
|
|
37
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime47.JSX.Element;
|
|
38
38
|
declare function DropdownMenuRadioGroup({
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>):
|
|
40
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime47.JSX.Element;
|
|
41
41
|
declare function DropdownMenuRadioItem({
|
|
42
42
|
className,
|
|
43
43
|
children,
|
|
44
44
|
...props
|
|
45
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>):
|
|
45
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime47.JSX.Element;
|
|
46
46
|
declare function DropdownMenuLabel({
|
|
47
47
|
className,
|
|
48
48
|
inset,
|
|
49
49
|
...props
|
|
50
50
|
}: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
51
51
|
inset?: boolean;
|
|
52
|
-
}):
|
|
52
|
+
}): react_jsx_runtime47.JSX.Element;
|
|
53
53
|
declare function DropdownMenuSeparator({
|
|
54
54
|
className,
|
|
55
55
|
...props
|
|
56
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>):
|
|
56
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime47.JSX.Element;
|
|
57
57
|
declare function DropdownMenuShortcut({
|
|
58
58
|
className,
|
|
59
59
|
...props
|
|
60
|
-
}: React.ComponentProps<'span'>):
|
|
60
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime47.JSX.Element;
|
|
61
61
|
declare function DropdownMenuSub({
|
|
62
62
|
...props
|
|
63
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>):
|
|
63
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime47.JSX.Element;
|
|
64
64
|
declare function DropdownMenuSubTrigger({
|
|
65
65
|
className,
|
|
66
66
|
inset,
|
|
@@ -68,10 +68,10 @@ declare function DropdownMenuSubTrigger({
|
|
|
68
68
|
...props
|
|
69
69
|
}: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
70
70
|
inset?: boolean;
|
|
71
|
-
}):
|
|
71
|
+
}): react_jsx_runtime47.JSX.Element;
|
|
72
72
|
declare function DropdownMenuSubContent({
|
|
73
73
|
className,
|
|
74
74
|
...props
|
|
75
|
-
}: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>):
|
|
75
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime47.JSX.Element;
|
|
76
76
|
//#endregion
|
|
77
|
-
export {
|
|
77
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime63 from "react/jsx-runtime";
|
|
3
|
+
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/dropdown-menu.d.ts
|
|
6
|
+
declare function DropdownMenu({
|
|
7
|
+
...props
|
|
8
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime63.JSX.Element;
|
|
9
|
+
declare function DropdownMenuPortal({
|
|
10
|
+
...props
|
|
11
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime63.JSX.Element;
|
|
12
|
+
declare function DropdownMenuTrigger({
|
|
13
|
+
...props
|
|
14
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime63.JSX.Element;
|
|
15
|
+
declare function DropdownMenuContent({
|
|
16
|
+
className,
|
|
17
|
+
sideOffset,
|
|
18
|
+
...props
|
|
19
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime63.JSX.Element;
|
|
20
|
+
declare function DropdownMenuGroup({
|
|
21
|
+
...props
|
|
22
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime63.JSX.Element;
|
|
23
|
+
declare function DropdownMenuItem({
|
|
24
|
+
className,
|
|
25
|
+
inset,
|
|
26
|
+
variant,
|
|
27
|
+
...props
|
|
28
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
29
|
+
inset?: boolean;
|
|
30
|
+
variant?: 'default' | 'destructive';
|
|
31
|
+
}): react_jsx_runtime63.JSX.Element;
|
|
32
|
+
declare function DropdownMenuCheckboxItem({
|
|
33
|
+
className,
|
|
34
|
+
children,
|
|
35
|
+
checked,
|
|
36
|
+
...props
|
|
37
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime63.JSX.Element;
|
|
38
|
+
declare function DropdownMenuRadioGroup({
|
|
39
|
+
...props
|
|
40
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime63.JSX.Element;
|
|
41
|
+
declare function DropdownMenuRadioItem({
|
|
42
|
+
className,
|
|
43
|
+
children,
|
|
44
|
+
...props
|
|
45
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime63.JSX.Element;
|
|
46
|
+
declare function DropdownMenuLabel({
|
|
47
|
+
className,
|
|
48
|
+
inset,
|
|
49
|
+
...props
|
|
50
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
51
|
+
inset?: boolean;
|
|
52
|
+
}): react_jsx_runtime63.JSX.Element;
|
|
53
|
+
declare function DropdownMenuSeparator({
|
|
54
|
+
className,
|
|
55
|
+
...props
|
|
56
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime63.JSX.Element;
|
|
57
|
+
declare function DropdownMenuShortcut({
|
|
58
|
+
className,
|
|
59
|
+
...props
|
|
60
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime63.JSX.Element;
|
|
61
|
+
declare function DropdownMenuSub({
|
|
62
|
+
...props
|
|
63
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime63.JSX.Element;
|
|
64
|
+
declare function DropdownMenuSubTrigger({
|
|
65
|
+
className,
|
|
66
|
+
inset,
|
|
67
|
+
children,
|
|
68
|
+
...props
|
|
69
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
70
|
+
inset?: boolean;
|
|
71
|
+
}): react_jsx_runtime63.JSX.Element;
|
|
72
|
+
declare function DropdownMenuSubContent({
|
|
73
|
+
className,
|
|
74
|
+
...props
|
|
75
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime63.JSX.Element;
|
|
76
|
+
//#endregion
|
|
77
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
|