@px-ui/ui 1.0.9 → 1.0.11
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/{avatar-Bb0tx0Hn.js → avatar-a40DzPi3.js} +4 -4
- package/dist/{avatar-Bb0tx0Hn.js.map → avatar-a40DzPi3.js.map} +1 -1
- package/dist/{avatar-CT9YANjF.d.ts → avatar-cLlUF5Lz.d.ts} +6 -6
- package/dist/{avatar-CT9YANjF.d.ts.map → avatar-cLlUF5Lz.d.ts.map} +1 -1
- package/dist/{button-D7hCT6ip.d.ts → button-BJ727apo.d.ts} +7 -7
- package/dist/{button-D7hCT6ip.d.ts.map → button-BJ727apo.d.ts.map} +1 -1
- package/dist/{button-hBUFMmsZ.js → button-Cp2S1spE.js} +2 -2
- package/dist/{button-hBUFMmsZ.js.map → button-Cp2S1spE.js.map} +1 -1
- package/dist/{combobox-BJtVbIeP.d.ts → combobox-B73nb6Tq.d.ts} +19 -19
- package/dist/{combobox-BJtVbIeP.d.ts.map → combobox-B73nb6Tq.d.ts.map} +1 -1
- package/dist/{combobox-CHkmVNZ2.js → combobox-Di5naqIR.js} +9 -9
- package/dist/{combobox-CHkmVNZ2.js.map → combobox-Di5naqIR.js.map} +1 -1
- package/dist/components/accordion.d.ts +5 -5
- package/dist/components/accordion.d.ts.map +1 -1
- package/dist/components/accordion.js +2 -2
- package/dist/components/alert-dialog.d.ts +14 -14
- package/dist/components/alert-dialog.d.ts.map +1 -1
- package/dist/components/alert-dialog.js +3 -3
- package/dist/components/alert.d.ts +5 -5
- package/dist/components/alert.d.ts.map +1 -1
- package/dist/components/alert.js +2 -2
- package/dist/components/aspect-ratio.d.ts +2 -2
- package/dist/components/aspect-ratio.d.ts.map +1 -1
- package/dist/components/aspect-ratio.js +1 -1
- package/dist/components/attachment.d.ts +64 -0
- package/dist/components/attachment.d.ts.map +1 -0
- package/dist/components/attachment.js +107 -0
- package/dist/components/attachment.js.map +1 -0
- package/dist/components/avatar-group.d.ts +4 -4
- package/dist/components/avatar-group.d.ts.map +1 -1
- package/dist/components/avatar-group.js +5 -5
- package/dist/components/avatar.d.ts +1 -1
- package/dist/components/avatar.js +3 -3
- package/dist/components/badge.d.ts +2 -2
- package/dist/components/badge.js +1 -1
- package/dist/components/breadcrumb.d.ts +7 -7
- package/dist/components/breadcrumb.js +2 -2
- package/dist/components/bubble.d.ts +39 -0
- package/dist/components/bubble.d.ts.map +1 -0
- package/dist/components/bubble.js +76 -0
- package/dist/components/bubble.js.map +1 -0
- package/dist/components/button-group.d.ts +7 -7
- package/dist/components/button-group.d.ts.map +1 -1
- package/dist/components/button-group.js +2 -2
- package/dist/components/button.d.ts +1 -1
- package/dist/components/button.js +2 -2
- package/dist/components/calendar.d.ts +4 -4
- package/dist/components/calendar.js +3 -3
- package/dist/components/card.d.ts +8 -8
- package/dist/components/card.js +2 -2
- package/dist/components/carousel.d.ts +7 -7
- package/dist/components/carousel.js +3 -3
- package/dist/components/chart.d.ts +5 -5
- package/dist/components/chart.js +2 -2
- package/dist/components/checkbox.d.ts +2 -2
- package/dist/components/checkbox.js +4 -4
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/collapsible.d.ts +4 -4
- package/dist/components/collapsible.js +1 -1
- package/dist/components/combobox.d.ts +2 -2
- package/dist/components/combobox.js +11 -11
- package/dist/components/command.d.ts +11 -11
- package/dist/components/command.js +7 -7
- package/dist/components/context-menu.d.ts +16 -16
- package/dist/components/context-menu.d.ts.map +1 -1
- package/dist/components/context-menu.js +2 -2
- package/dist/components/currency-select-field.d.ts +4 -4
- package/dist/components/currency-select-field.js +12 -12
- package/dist/components/dialog.d.ts +11 -11
- package/dist/components/dialog.d.ts.map +1 -1
- package/dist/components/dialog.js +3 -3
- package/dist/components/direction.js +1 -1
- package/dist/components/drawer.d.ts +11 -11
- package/dist/components/drawer.d.ts.map +1 -1
- package/dist/components/drawer.js +2 -2
- package/dist/components/dropdown-menu.d.ts +1 -1
- package/dist/components/dropdown-menu.js +2 -2
- package/dist/components/empty.d.ts +9 -9
- package/dist/components/empty.js +1 -1
- package/dist/components/field.d.ts +16 -16
- package/dist/components/field.d.ts.map +1 -1
- package/dist/components/field.js +4 -4
- package/dist/components/file-upload-field.d.ts +3 -3
- package/dist/components/file-upload-field.js +6 -6
- package/dist/components/file-upload.d.ts +3 -3
- package/dist/components/file-upload.js +4 -4
- package/dist/components/hover-card.d.ts +4 -4
- package/dist/components/hover-card.js +1 -1
- package/dist/components/input-group.d.ts +12 -12
- package/dist/components/input-group.d.ts.map +1 -1
- package/dist/components/input-group.js +5 -5
- package/dist/components/input-otp.d.ts +5 -5
- package/dist/components/input-otp.js +2 -2
- package/dist/components/input.d.ts +1 -1
- package/dist/components/input.js +2 -2
- package/dist/components/item.d.ts +15 -15
- package/dist/components/item.js +3 -3
- package/dist/components/kbd.d.ts +3 -3
- package/dist/components/kbd.js +1 -1
- package/dist/components/label.d.ts +1 -1
- package/dist/components/label.js +2 -2
- package/dist/components/marker.d.ts +27 -0
- package/dist/components/marker.d.ts.map +1 -0
- package/dist/components/marker.js +46 -0
- package/dist/components/marker.js.map +1 -0
- package/dist/components/menubar.d.ts +18 -18
- package/dist/components/menubar.js +3 -3
- package/dist/components/message-scroller.d.ts +36 -0
- package/dist/components/message-scroller.d.ts.map +1 -0
- package/dist/components/message-scroller.js +63 -0
- package/dist/components/message-scroller.js.map +1 -0
- package/dist/components/message.d.ts +34 -0
- package/dist/components/message.d.ts.map +1 -0
- package/dist/components/message.js +52 -0
- package/dist/components/message.js.map +1 -0
- package/dist/components/native-select.d.ts +4 -4
- package/dist/components/native-select.js +2 -2
- package/dist/components/navigation-menu.d.ts +11 -11
- package/dist/components/navigation-menu.d.ts.map +1 -1
- package/dist/components/navigation-menu.js +1 -1
- package/dist/components/pagination.d.ts +9 -9
- package/dist/components/pagination.js +3 -3
- package/dist/components/phone-input.d.ts +2 -2
- package/dist/components/phone-input.js +2 -2
- package/dist/components/popover.d.ts +7 -7
- package/dist/components/popover.js +2 -2
- package/dist/components/progress.d.ts +6 -6
- package/dist/components/progress.js +1 -1
- package/dist/components/radio-group.d.ts +3 -3
- package/dist/components/radio-group.js +1 -1
- package/dist/components/resizable.d.ts +4 -4
- package/dist/components/resizable.js +1 -1
- package/dist/components/scroll-area.d.ts +3 -3
- package/dist/components/scroll-area.d.ts.map +1 -1
- package/dist/components/scroll-area.js +2 -2
- package/dist/components/select.d.ts +10 -10
- package/dist/components/select.js +2 -2
- package/dist/components/separator.d.ts +1 -1
- package/dist/components/separator.js +2 -2
- package/dist/components/sheet.d.ts +9 -9
- package/dist/components/sheet.js +3 -3
- package/dist/components/sidebar.d.ts +26 -26
- package/dist/components/sidebar.js +9 -9
- package/dist/components/skeleton.d.ts +2 -2
- package/dist/components/skeleton.js +2 -2
- package/dist/components/slider.d.ts +2 -2
- package/dist/components/slider.js +1 -1
- package/dist/components/spinner.d.ts +2 -2
- package/dist/components/spinner.js +2 -2
- package/dist/components/switch.d.ts +2 -2
- package/dist/components/switch.js +1 -1
- package/dist/components/table.d.ts +9 -9
- package/dist/components/table.js +2 -2
- package/dist/components/tabs.d.ts +7 -7
- package/dist/components/tabs.js +1 -1
- package/dist/components/textarea.d.ts +2 -2
- package/dist/components/textarea.js +2 -2
- package/dist/components/toast.d.ts +1 -1
- package/dist/components/toast.js +2 -2
- package/dist/components/toggle-group.d.ts +4 -4
- package/dist/components/toggle-group.js +3 -3
- package/dist/components/toggle.d.ts +1 -1
- package/dist/components/toggle.js +2 -2
- package/dist/components/tooltip.d.ts +1 -1
- package/dist/components/tooltip.js +2 -2
- package/dist/{dialog-DrdXva1a.js → dialog-B3HhbIdv.js} +4 -4
- package/dist/{dialog-DrdXva1a.js.map → dialog-B3HhbIdv.js.map} +1 -1
- package/dist/{dropdown-menu-Bju9Jfkd.d.ts → dropdown-menu-C6n_oYre.d.ts} +17 -17
- package/dist/{dropdown-menu-Bju9Jfkd.d.ts.map → dropdown-menu-C6n_oYre.d.ts.map} +1 -1
- package/dist/{dropdown-menu-CcumvwhM.js → dropdown-menu-vwX--mgm.js} +3 -3
- package/dist/{dropdown-menu-CcumvwhM.js.map → dropdown-menu-vwX--mgm.js.map} +1 -1
- package/dist/{file-upload-DeCIv13t.js → file-upload-B0fHdUBL.js} +5 -5
- package/dist/{file-upload-DeCIv13t.js.map → file-upload-B0fHdUBL.js.map} +1 -1
- package/dist/{file-upload-CHnDSq1W.d.ts → file-upload-CGfXHKPZ.d.ts} +11 -11
- package/dist/{file-upload-CHnDSq1W.d.ts.map → file-upload-CGfXHKPZ.d.ts.map} +1 -1
- package/dist/hooks/use-async-options.d.ts +1 -1
- package/dist/hooks/use-async-options.js +1 -1
- package/dist/hooks/use-debounce.js +1 -1
- package/dist/hooks/use-file-upload.d.ts +1 -1
- package/dist/hooks/use-file-upload.js +1 -1
- package/dist/hooks/use-infinite-scroll.d.ts +1 -1
- package/dist/hooks/use-infinite-scroll.js +2 -2
- package/dist/hooks/use-intersection-observer.d.ts +1 -1
- package/dist/hooks/use-intersection-observer.js +1 -1
- package/dist/hooks/use-mobile.js +1 -1
- package/dist/{input-8jqdnUZl.js → input-B-RCmrtR.js} +3 -3
- package/dist/{input-8jqdnUZl.js.map → input-B-RCmrtR.js.map} +1 -1
- package/dist/{input-C9UsUnIo.d.ts → input-BtI3FvrB.d.ts} +3 -3
- package/dist/input-BtI3FvrB.d.ts.map +1 -0
- package/dist/{input-group-DqEkmpXW.js → input-group-C78_1dEy.js} +6 -6
- package/dist/{input-group-DqEkmpXW.js.map → input-group-C78_1dEy.js.map} +1 -1
- package/dist/label-BnSHwOyi.d.ts +11 -0
- package/dist/label-BnSHwOyi.d.ts.map +1 -0
- package/dist/{label-AaH9ZYCZ.js → label-Cmlhz-uF.js} +3 -3
- package/dist/{label-AaH9ZYCZ.js.map → label-Cmlhz-uF.js.map} +1 -1
- package/dist/lib/utils.js +1 -1
- package/dist/{popover-C9D43EuT.js → popover-CsTnnBvx.js} +3 -3
- package/dist/{popover-C9D43EuT.js.map → popover-CsTnnBvx.js.map} +1 -1
- package/dist/providers/px-ui-provider.d.ts +4 -4
- package/dist/providers/px-ui-provider.d.ts.map +1 -1
- package/dist/providers/px-ui-provider.js +4 -4
- package/dist/{separator-BS3ilczC.js → separator-BQBOLUMc.js} +2 -2
- package/dist/{separator-BS3ilczC.js.map → separator-BQBOLUMc.js.map} +1 -1
- package/dist/{separator-Dx2S4o5E.d.ts → separator-pyhTqgkN.d.ts} +3 -3
- package/dist/separator-pyhTqgkN.d.ts.map +1 -0
- package/dist/{sheet-CLjNDrfL.js → sheet-Chg_afex.js} +4 -4
- package/dist/{sheet-CLjNDrfL.js.map → sheet-Chg_afex.js.map} +1 -1
- package/dist/{skeleton-BcIxI5Wq.js → skeleton-J879XBBA.js} +2 -2
- package/dist/{skeleton-BcIxI5Wq.js.map → skeleton-J879XBBA.js.map} +1 -1
- package/dist/{spinner-Bo0sUZEg.js → spinner-C7yzrK_s.js} +2 -2
- package/dist/{spinner-Bo0sUZEg.js.map → spinner-C7yzrK_s.js.map} +1 -1
- package/dist/styles.css +665 -1
- package/dist/{textarea-Cq0o323P.js → textarea-CaHmr0re.js} +3 -3
- package/dist/{textarea-Cq0o323P.js.map → textarea-CaHmr0re.js.map} +1 -1
- package/dist/{toast-COWAQbIk.js → toast-BrPEQywl.js} +4 -4
- package/dist/{toast-COWAQbIk.js.map → toast-BrPEQywl.js.map} +1 -1
- package/dist/{toast-inWdxcan.d.ts → toast-CSU7vJkV.d.ts} +5 -5
- package/dist/{toast-inWdxcan.d.ts.map → toast-CSU7vJkV.d.ts.map} +1 -1
- package/dist/{toggle-lqIyJptS.js → toggle-CA4KsgWs.js} +2 -2
- package/dist/{toggle-lqIyJptS.js.map → toggle-CA4KsgWs.js.map} +1 -1
- package/dist/{toggle-BzmANp4O.d.ts → toggle-gjMAPmkg.d.ts} +6 -6
- package/dist/{toggle-BzmANp4O.d.ts.map → toggle-gjMAPmkg.d.ts.map} +1 -1
- package/dist/{tooltip-CQbuWNPO.d.ts → tooltip-7bptiThf.d.ts} +6 -6
- package/dist/{tooltip-CQbuWNPO.d.ts.map → tooltip-7bptiThf.d.ts.map} +1 -1
- package/dist/{tooltip-DkPxCJIL.js → tooltip-BhxGE3Gb.js} +2 -2
- package/dist/{tooltip-DkPxCJIL.js.map → tooltip-BhxGE3Gb.js.map} +1 -1
- package/dist/{use-async-options-CcsImGX4.js → use-async-options-CtB4wZrr.js} +1 -1
- package/dist/{use-async-options-CcsImGX4.js.map → use-async-options-CtB4wZrr.js.map} +1 -1
- package/dist/{use-async-options-Cu5T43vj.d.ts → use-async-options-rNdyxIrQ.d.ts} +1 -1
- package/dist/{use-async-options-Cu5T43vj.d.ts.map → use-async-options-rNdyxIrQ.d.ts.map} +1 -1
- package/dist/{use-debounce-_qaEZqtt.js → use-debounce--Lv1ABSa.js} +1 -1
- package/dist/{use-debounce-_qaEZqtt.js.map → use-debounce--Lv1ABSa.js.map} +1 -1
- package/dist/{use-file-upload-Dxrej28u.js → use-file-upload-BbERd3Nw.js} +1 -1
- package/dist/{use-file-upload-Dxrej28u.js.map → use-file-upload-BbERd3Nw.js.map} +1 -1
- package/dist/{use-file-upload-yy-xLBtn.d.ts → use-file-upload-Cbb_9kTw.d.ts} +1 -1
- package/dist/{use-file-upload-yy-xLBtn.d.ts.map → use-file-upload-Cbb_9kTw.d.ts.map} +1 -1
- package/dist/{use-infinite-scroll-CpbhGGT5.js → use-infinite-scroll-CC_Guyvn.js} +2 -2
- package/dist/{use-infinite-scroll-CpbhGGT5.js.map → use-infinite-scroll-CC_Guyvn.js.map} +1 -1
- package/dist/{use-intersection-observer-C2xDq2SW.d.ts → use-intersection-observer-CgAaXczI.d.ts} +1 -1
- package/dist/{use-intersection-observer-C2xDq2SW.d.ts.map → use-intersection-observer-CgAaXczI.d.ts.map} +1 -1
- package/dist/{use-intersection-observer-CZfnep4z.js → use-intersection-observer-S0wsPmhF.js} +1 -1
- package/dist/{use-intersection-observer-CZfnep4z.js.map → use-intersection-observer-S0wsPmhF.js.map} +1 -1
- package/dist/{use-mobile-l5ebOdQl.js → use-mobile--NaMWuCj.js} +1 -1
- package/dist/{use-mobile-l5ebOdQl.js.map → use-mobile--NaMWuCj.js.map} +1 -1
- package/dist/{utils-mWJR2N24.js → utils-DeIaBj75.js} +1 -1
- package/dist/{utils-mWJR2N24.js.map → utils-DeIaBj75.js.map} +1 -1
- package/package.json +22 -1
- package/dist/input-C9UsUnIo.d.ts.map +0 -1
- package/dist/label-D5SCGMZl.d.ts +0 -11
- package/dist/label-D5SCGMZl.d.ts.map +0 -1
- package/dist/separator-Dx2S4o5E.d.ts.map +0 -1
- /package/dist/{direction-BKSh6e6q.js → direction-ZS2Hta3v.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { t as Button } from "../button-
|
|
2
|
-
import { t as Separator } from "../separator-
|
|
3
|
-
import { t as Input } from "../input-
|
|
4
|
-
import { n as TooltipContent } from "../tooltip-
|
|
5
|
-
import * as react_jsx_runtime260 from "react/jsx-runtime";
|
|
1
|
+
import { t as Button } from "../button-BJ727apo.js";
|
|
2
|
+
import { t as Separator } from "../separator-pyhTqgkN.js";
|
|
3
|
+
import { t as Input } from "../input-BtI3FvrB.js";
|
|
4
|
+
import { n as TooltipContent } from "../tooltip-7bptiThf.js";
|
|
6
5
|
import * as React$1 from "react";
|
|
6
|
+
import * as react_jsx_runtime274 from "react/jsx-runtime";
|
|
7
7
|
import { VariantProps } from "class-variance-authority";
|
|
8
8
|
import { useRender } from "@base-ui/react/use-render";
|
|
9
|
-
import * as
|
|
9
|
+
import * as class_variance_authority_types15 from "class-variance-authority/types";
|
|
10
10
|
|
|
11
11
|
//#region src/components/sidebar.d.ts
|
|
12
12
|
type SidebarContextProps = {
|
|
@@ -31,7 +31,7 @@ declare function SidebarProvider({
|
|
|
31
31
|
defaultOpen?: boolean;
|
|
32
32
|
open?: boolean;
|
|
33
33
|
onOpenChange?: (open: boolean) => void;
|
|
34
|
-
}):
|
|
34
|
+
}): react_jsx_runtime274.JSX.Element;
|
|
35
35
|
declare function Sidebar({
|
|
36
36
|
side,
|
|
37
37
|
variant,
|
|
@@ -44,44 +44,44 @@ declare function Sidebar({
|
|
|
44
44
|
side?: "left" | "right";
|
|
45
45
|
variant?: "sidebar" | "floating" | "inset";
|
|
46
46
|
collapsible?: "offcanvas" | "icon" | "none";
|
|
47
|
-
}):
|
|
47
|
+
}): react_jsx_runtime274.JSX.Element;
|
|
48
48
|
declare function SidebarTrigger({
|
|
49
49
|
className,
|
|
50
50
|
onClick,
|
|
51
51
|
...props
|
|
52
|
-
}: React$1.ComponentProps<typeof Button>):
|
|
52
|
+
}: React$1.ComponentProps<typeof Button>): react_jsx_runtime274.JSX.Element;
|
|
53
53
|
declare function SidebarRail({
|
|
54
54
|
className,
|
|
55
55
|
...props
|
|
56
|
-
}: React$1.ComponentProps<"button">):
|
|
56
|
+
}: React$1.ComponentProps<"button">): react_jsx_runtime274.JSX.Element;
|
|
57
57
|
declare function SidebarInset({
|
|
58
58
|
className,
|
|
59
59
|
...props
|
|
60
|
-
}: React$1.ComponentProps<"main">):
|
|
60
|
+
}: React$1.ComponentProps<"main">): react_jsx_runtime274.JSX.Element;
|
|
61
61
|
declare function SidebarInput({
|
|
62
62
|
className,
|
|
63
63
|
...props
|
|
64
|
-
}: React$1.ComponentProps<typeof Input>):
|
|
64
|
+
}: React$1.ComponentProps<typeof Input>): react_jsx_runtime274.JSX.Element;
|
|
65
65
|
declare function SidebarHeader({
|
|
66
66
|
className,
|
|
67
67
|
...props
|
|
68
|
-
}: React$1.ComponentProps<"div">):
|
|
68
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime274.JSX.Element;
|
|
69
69
|
declare function SidebarFooter({
|
|
70
70
|
className,
|
|
71
71
|
...props
|
|
72
|
-
}: React$1.ComponentProps<"div">):
|
|
72
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime274.JSX.Element;
|
|
73
73
|
declare function SidebarSeparator({
|
|
74
74
|
className,
|
|
75
75
|
...props
|
|
76
|
-
}: React$1.ComponentProps<typeof Separator>):
|
|
76
|
+
}: React$1.ComponentProps<typeof Separator>): react_jsx_runtime274.JSX.Element;
|
|
77
77
|
declare function SidebarContent({
|
|
78
78
|
className,
|
|
79
79
|
...props
|
|
80
|
-
}: React$1.ComponentProps<"div">):
|
|
80
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime274.JSX.Element;
|
|
81
81
|
declare function SidebarGroup({
|
|
82
82
|
className,
|
|
83
83
|
...props
|
|
84
|
-
}: React$1.ComponentProps<"div">):
|
|
84
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime274.JSX.Element;
|
|
85
85
|
declare function SidebarGroupLabel({
|
|
86
86
|
className,
|
|
87
87
|
render,
|
|
@@ -95,19 +95,19 @@ declare function SidebarGroupAction({
|
|
|
95
95
|
declare function SidebarGroupContent({
|
|
96
96
|
className,
|
|
97
97
|
...props
|
|
98
|
-
}: React$1.ComponentProps<"div">):
|
|
98
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime274.JSX.Element;
|
|
99
99
|
declare function SidebarMenu({
|
|
100
100
|
className,
|
|
101
101
|
...props
|
|
102
|
-
}: React$1.ComponentProps<"ul">):
|
|
102
|
+
}: React$1.ComponentProps<"ul">): react_jsx_runtime274.JSX.Element;
|
|
103
103
|
declare function SidebarMenuItem({
|
|
104
104
|
className,
|
|
105
105
|
...props
|
|
106
|
-
}: React$1.ComponentProps<"li">):
|
|
106
|
+
}: React$1.ComponentProps<"li">): react_jsx_runtime274.JSX.Element;
|
|
107
107
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
108
108
|
variant?: "default" | "outline" | null | undefined;
|
|
109
109
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
110
|
-
} &
|
|
110
|
+
} & class_variance_authority_types15.ClassProp) | undefined) => string;
|
|
111
111
|
declare function SidebarMenuButton({
|
|
112
112
|
render,
|
|
113
113
|
isActive,
|
|
@@ -119,7 +119,7 @@ declare function SidebarMenuButton({
|
|
|
119
119
|
}: useRender.ComponentProps<"button"> & React$1.ComponentProps<"button"> & {
|
|
120
120
|
isActive?: boolean;
|
|
121
121
|
tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
|
|
122
|
-
} & VariantProps<typeof sidebarMenuButtonVariants>):
|
|
122
|
+
} & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime274.JSX.Element;
|
|
123
123
|
declare function SidebarMenuAction({
|
|
124
124
|
className,
|
|
125
125
|
render,
|
|
@@ -131,22 +131,22 @@ declare function SidebarMenuAction({
|
|
|
131
131
|
declare function SidebarMenuBadge({
|
|
132
132
|
className,
|
|
133
133
|
...props
|
|
134
|
-
}: React$1.ComponentProps<"div">):
|
|
134
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime274.JSX.Element;
|
|
135
135
|
declare function SidebarMenuSkeleton({
|
|
136
136
|
className,
|
|
137
137
|
showIcon,
|
|
138
138
|
...props
|
|
139
139
|
}: React$1.ComponentProps<"div"> & {
|
|
140
140
|
showIcon?: boolean;
|
|
141
|
-
}):
|
|
141
|
+
}): react_jsx_runtime274.JSX.Element;
|
|
142
142
|
declare function SidebarMenuSub({
|
|
143
143
|
className,
|
|
144
144
|
...props
|
|
145
|
-
}: React$1.ComponentProps<"ul">):
|
|
145
|
+
}: React$1.ComponentProps<"ul">): react_jsx_runtime274.JSX.Element;
|
|
146
146
|
declare function SidebarMenuSubItem({
|
|
147
147
|
className,
|
|
148
148
|
...props
|
|
149
|
-
}: React$1.ComponentProps<"li">):
|
|
149
|
+
}: React$1.ComponentProps<"li">): react_jsx_runtime274.JSX.Element;
|
|
150
150
|
declare function SidebarMenuSubButton({
|
|
151
151
|
render,
|
|
152
152
|
size,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { i as TooltipTrigger, n as TooltipContent, t as Tooltip } from "../tooltip-
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
3
|
+
import { t as useIsMobile } from "../use-mobile--NaMWuCj.js";
|
|
4
|
+
import { t as cn } from "../utils-DeIaBj75.js";
|
|
5
|
+
import { i as TooltipTrigger, n as TooltipContent, t as Tooltip } from "../tooltip-BhxGE3Gb.js";
|
|
6
|
+
import { t as Button } from "../button-Cp2S1spE.js";
|
|
7
|
+
import { t as Separator } from "../separator-BQBOLUMc.js";
|
|
8
|
+
import { t as Input } from "../input-B-RCmrtR.js";
|
|
9
|
+
import { i as SheetDescription, o as SheetHeader, r as SheetContent, s as SheetTitle, t as Sheet } from "../sheet-Chg_afex.js";
|
|
10
|
+
import { t as Skeleton } from "../skeleton-J879XBBA.js";
|
|
11
|
+
import * as React$1 from "react";
|
|
11
12
|
import { PanelLeftIcon } from "lucide-react";
|
|
12
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
-
import * as React$1 from "react";
|
|
14
14
|
import { cva } from "class-variance-authority";
|
|
15
15
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
16
16
|
import { useRender } from "@base-ui/react/use-render";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime293 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/skeleton.d.ts
|
|
4
4
|
declare function Skeleton({
|
|
5
5
|
className,
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<"div">):
|
|
7
|
+
}: React.ComponentProps<"div">): react_jsx_runtime293.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Skeleton };
|
|
10
10
|
//# sourceMappingURL=skeleton.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime294 from "react/jsx-runtime";
|
|
2
2
|
import { Slider as Slider$1 } from "@base-ui/react/slider";
|
|
3
3
|
|
|
4
4
|
//#region src/components/slider.d.ts
|
|
@@ -9,7 +9,7 @@ declare function Slider({
|
|
|
9
9
|
min,
|
|
10
10
|
max,
|
|
11
11
|
...props
|
|
12
|
-
}: Slider$1.Root.Props):
|
|
12
|
+
}: Slider$1.Root.Props): react_jsx_runtime294.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { Slider };
|
|
15
15
|
//# sourceMappingURL=slider.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Loader2Icon } from "lucide-react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime295 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/spinner.d.ts
|
|
5
5
|
declare function Spinner({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof Loader2Icon>):
|
|
8
|
+
}: React.ComponentProps<typeof Loader2Icon>): react_jsx_runtime295.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Spinner };
|
|
11
11
|
//# sourceMappingURL=spinner.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime304 from "react/jsx-runtime";
|
|
2
2
|
import { Switch as Switch$1 } from "@base-ui/react/switch";
|
|
3
3
|
|
|
4
4
|
//#region src/components/switch.d.ts
|
|
@@ -8,7 +8,7 @@ declare function Switch({
|
|
|
8
8
|
...props
|
|
9
9
|
}: Switch$1.Root.Props & {
|
|
10
10
|
size?: "sm" | "default";
|
|
11
|
-
}):
|
|
11
|
+
}): react_jsx_runtime304.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { Switch };
|
|
14
14
|
//# sourceMappingURL=switch.d.ts.map
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import * as react_jsx_runtime205 from "react/jsx-runtime";
|
|
2
1
|
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime305 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/table.d.ts
|
|
5
5
|
declare function Table({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React$1.ComponentProps<"table">):
|
|
8
|
+
}: React$1.ComponentProps<"table">): react_jsx_runtime305.JSX.Element;
|
|
9
9
|
declare function TableHeader({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React$1.ComponentProps<"thead">):
|
|
12
|
+
}: React$1.ComponentProps<"thead">): react_jsx_runtime305.JSX.Element;
|
|
13
13
|
declare function TableBody({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React$1.ComponentProps<"tbody">):
|
|
16
|
+
}: React$1.ComponentProps<"tbody">): react_jsx_runtime305.JSX.Element;
|
|
17
17
|
declare function TableFooter({
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: React$1.ComponentProps<"tfoot">):
|
|
20
|
+
}: React$1.ComponentProps<"tfoot">): react_jsx_runtime305.JSX.Element;
|
|
21
21
|
declare function TableRow({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: React$1.ComponentProps<"tr">):
|
|
24
|
+
}: React$1.ComponentProps<"tr">): react_jsx_runtime305.JSX.Element;
|
|
25
25
|
declare function TableHead({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React$1.ComponentProps<"th">):
|
|
28
|
+
}: React$1.ComponentProps<"th">): react_jsx_runtime305.JSX.Element;
|
|
29
29
|
declare function TableCell({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React$1.ComponentProps<"td">):
|
|
32
|
+
}: React$1.ComponentProps<"td">): react_jsx_runtime305.JSX.Element;
|
|
33
33
|
declare function TableCaption({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React$1.ComponentProps<"caption">):
|
|
36
|
+
}: React$1.ComponentProps<"caption">): react_jsx_runtime305.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
|
39
39
|
//# sourceMappingURL=table.d.ts.map
|
package/dist/components/table.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import { t as cn } from "../utils-
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { t as cn } from "../utils-DeIaBj75.js";
|
|
5
4
|
import "react";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/table.tsx
|
|
8
8
|
function Table({ className, ...props }) {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime313 from "react/jsx-runtime";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types17 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tabs.d.ts
|
|
7
7
|
declare function Tabs({
|
|
8
8
|
className,
|
|
9
9
|
orientation,
|
|
10
10
|
...props
|
|
11
|
-
}: Tabs$1.Root.Props):
|
|
11
|
+
}: Tabs$1.Root.Props): react_jsx_runtime313.JSX.Element;
|
|
12
12
|
declare const tabsListVariants: (props?: ({
|
|
13
13
|
variant?: "default" | "line" | null | undefined;
|
|
14
|
-
} &
|
|
14
|
+
} & class_variance_authority_types17.ClassProp) | undefined) => string;
|
|
15
15
|
declare function TabsList({
|
|
16
16
|
className,
|
|
17
17
|
variant,
|
|
18
18
|
children,
|
|
19
19
|
...props
|
|
20
|
-
}: Tabs$1.List.Props & VariantProps<typeof tabsListVariants>):
|
|
20
|
+
}: Tabs$1.List.Props & VariantProps<typeof tabsListVariants>): react_jsx_runtime313.JSX.Element;
|
|
21
21
|
declare function TabsTrigger({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: Tabs$1.Tab.Props):
|
|
24
|
+
}: Tabs$1.Tab.Props): react_jsx_runtime313.JSX.Element;
|
|
25
25
|
declare function TabsContent({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: Tabs$1.Panel.Props):
|
|
28
|
+
}: Tabs$1.Panel.Props): react_jsx_runtime313.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { Tabs, TabsContent, TabsList, TabsTrigger, tabsListVariants };
|
|
31
31
|
//# sourceMappingURL=tabs.d.ts.map
|
package/dist/components/tabs.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as react_jsx_runtime242 from "react/jsx-runtime";
|
|
2
1
|
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime317 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/textarea.d.ts
|
|
5
5
|
declare function Textarea({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React$1.ComponentProps<"textarea">):
|
|
8
|
+
}: React$1.ComponentProps<"textarea">): react_jsx_runtime317.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Textarea };
|
|
11
11
|
//# sourceMappingURL=textarea.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ToasterPosition, c as anchoredToastManager, i as Toaster, l as toast, n as AnchoredToaster, o as ToasterProps, r as ToastOptions, s as anchoredToast, t as AnchoredToastOptions, u as toastManager } from "../toast-
|
|
1
|
+
import { a as ToasterPosition, c as anchoredToastManager, i as Toaster, l as toast, n as AnchoredToaster, o as ToasterProps, r as ToastOptions, s as anchoredToast, t as AnchoredToastOptions, u as toastManager } from "../toast-CSU7vJkV.js";
|
|
2
2
|
export { AnchoredToastOptions, AnchoredToaster, ToastOptions, Toaster, ToasterPosition, ToasterProps, anchoredToast, anchoredToastManager, toast, toastManager };
|
package/dist/components/toast.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import "../utils-
|
|
4
|
-
import { a as toast, i as anchoredToastManager, n as Toaster, o as toastManager, r as anchoredToast, t as AnchoredToaster } from "../toast-
|
|
3
|
+
import "../utils-DeIaBj75.js";
|
|
4
|
+
import { a as toast, i as anchoredToastManager, n as Toaster, o as toastManager, r as anchoredToast, t as AnchoredToaster } from "../toast-BrPEQywl.js";
|
|
5
5
|
|
|
6
6
|
export { AnchoredToaster, Toaster, anchoredToast, anchoredToastManager, toast, toastManager };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as toggleVariants } from "../toggle-
|
|
2
|
-
import * as
|
|
1
|
+
import { n as toggleVariants } from "../toggle-gjMAPmkg.js";
|
|
2
|
+
import * as react_jsx_runtime296 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import { Toggle } from "@base-ui/react/toggle";
|
|
5
5
|
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
@@ -16,14 +16,14 @@ declare function ToggleGroup({
|
|
|
16
16
|
}: ToggleGroup$1.Props & VariantProps<typeof toggleVariants> & {
|
|
17
17
|
spacing?: number;
|
|
18
18
|
orientation?: "horizontal" | "vertical";
|
|
19
|
-
}):
|
|
19
|
+
}): react_jsx_runtime296.JSX.Element;
|
|
20
20
|
declare function ToggleGroupItem({
|
|
21
21
|
className,
|
|
22
22
|
children,
|
|
23
23
|
variant,
|
|
24
24
|
size,
|
|
25
25
|
...props
|
|
26
|
-
}: Toggle.Props & VariantProps<typeof toggleVariants>):
|
|
26
|
+
}: Toggle.Props & VariantProps<typeof toggleVariants>): react_jsx_runtime296.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { ToggleGroup, ToggleGroupItem };
|
|
29
29
|
//# sourceMappingURL=toggle-group.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as cn } from "../utils-
|
|
2
|
-
import { n as toggleVariants } from "../toggle-
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
1
|
+
import { t as cn } from "../utils-DeIaBj75.js";
|
|
2
|
+
import { n as toggleVariants } from "../toggle-CA4KsgWs.js";
|
|
4
3
|
import * as React$1 from "react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import "class-variance-authority";
|
|
6
6
|
import { Toggle } from "@base-ui/react/toggle";
|
|
7
7
|
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as toggleVariants, t as Toggle } from "../toggle-
|
|
1
|
+
import { n as toggleVariants, t as Toggle } from "../toggle-gjMAPmkg.js";
|
|
2
2
|
export { Toggle, toggleVariants };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import "../utils-
|
|
4
|
-
import { n as toggleVariants, t as Toggle } from "../toggle-
|
|
3
|
+
import "../utils-DeIaBj75.js";
|
|
4
|
+
import { n as toggleVariants, t as Toggle } from "../toggle-CA4KsgWs.js";
|
|
5
5
|
|
|
6
6
|
export { Toggle, toggleVariants };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as TooltipTrigger, n as TooltipContent, r as TooltipProvider, t as Tooltip } from "../tooltip-
|
|
1
|
+
import { i as TooltipTrigger, n as TooltipContent, r as TooltipProvider, t as Tooltip } from "../tooltip-7bptiThf.js";
|
|
2
2
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../utils-
|
|
2
|
-
import { i as TooltipTrigger, n as TooltipContent, r as TooltipProvider, t as Tooltip } from "../tooltip-
|
|
1
|
+
import "../utils-DeIaBj75.js";
|
|
2
|
+
import { i as TooltipTrigger, n as TooltipContent, r as TooltipProvider, t as Tooltip } from "../tooltip-BhxGE3Gb.js";
|
|
3
3
|
|
|
4
4
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as cn } from "./utils-
|
|
2
|
-
import { t as Button } from "./button-
|
|
1
|
+
import { t as cn } from "./utils-DeIaBj75.js";
|
|
2
|
+
import { t as Button } from "./button-Cp2S1spE.js";
|
|
3
|
+
import "react";
|
|
3
4
|
import { XIcon } from "lucide-react";
|
|
4
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import "react";
|
|
6
6
|
import { Dialog } from "@base-ui/react/dialog";
|
|
7
7
|
|
|
8
8
|
//#region src/components/dialog.tsx
|
|
@@ -100,4 +100,4 @@ const createDialogHandle = Dialog.createHandle;
|
|
|
100
100
|
|
|
101
101
|
//#endregion
|
|
102
102
|
export { DialogFooter as a, DialogPortal as c, createDialogHandle as d, DialogDescription as i, DialogTitle as l, DialogClose as n, DialogHeader as o, DialogContent as r, DialogOverlay as s, Dialog$1 as t, DialogTrigger as u };
|
|
103
|
-
//# sourceMappingURL=dialog-
|
|
103
|
+
//# sourceMappingURL=dialog-B3HhbIdv.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog-
|
|
1
|
+
{"version":3,"file":"dialog-B3HhbIdv.js","names":["Dialog","DialogPrimitive"],"sources":["../src/components/dialog.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Dialog as DialogPrimitive } from \"@base-ui/react/dialog\";\n\nimport { cn } from \"@px-ui/ui/lib/utils\";\nimport { Button } from \"@px-ui/ui/components/button\";\nimport { XIcon } from \"lucide-react\";\n\nfunction Dialog({ ...props }: DialogPrimitive.Root.Props) {\n return (\n <DialogPrimitive.Root\n data-slot=\"dialog\"\n disablePointerDismissal\n {...props}\n />\n );\n}\n\nfunction DialogTrigger({ ...props }: DialogPrimitive.Trigger.Props) {\n return <DialogPrimitive.Trigger data-slot=\"dialog-trigger\" {...props} />;\n}\n\nfunction DialogPortal({ ...props }: DialogPrimitive.Portal.Props) {\n return <DialogPrimitive.Portal data-slot=\"dialog-portal\" {...props} />;\n}\n\nfunction DialogClose({ ...props }: DialogPrimitive.Close.Props) {\n return <DialogPrimitive.Close data-slot=\"dialog-close\" {...props} />;\n}\n\nfunction DialogOverlay({\n className,\n ...props\n}: DialogPrimitive.Backdrop.Props) {\n return (\n <DialogPrimitive.Backdrop\n data-slot=\"dialog-overlay\"\n className={cn(\n \"supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0 fixed inset-0 isolate z-50 bg-black/10 duration-100\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction DialogContent({\n className,\n children,\n showCloseButton = true,\n ...props\n}: DialogPrimitive.Popup.Props & {\n showCloseButton?: boolean;\n}) {\n return (\n <DialogPortal>\n <DialogOverlay />\n <DialogPrimitive.Popup\n data-slot=\"dialog-content\"\n className={cn(\n \"bg-popover text-popover-foreground ring-foreground/10 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 fixed start-1/2 top-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-6 rounded-xl p-6 text-sm outline-none ring-1 duration-100 ppx-sm:max-w-md rtl:translate-x-1/2\",\n className,\n )}\n {...props}\n >\n {children}\n {showCloseButton && (\n <DialogPrimitive.Close\n data-slot=\"dialog-close\"\n render={\n <Button\n variant=\"ghost\"\n className=\"absolute end-4 top-4\"\n size=\"icon-sm\"\n />\n }\n >\n <XIcon />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n )}\n </DialogPrimitive.Popup>\n </DialogPortal>\n );\n}\n\nfunction DialogHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"dialog-header\"\n className={cn(\"flex flex-col gap-2\", className)}\n {...props}\n />\n );\n}\n\nfunction DialogFooter({\n className,\n showCloseButton = false,\n children,\n ...props\n}: React.ComponentProps<\"div\"> & {\n showCloseButton?: boolean;\n}) {\n return (\n <div\n data-slot=\"dialog-footer\"\n className={cn(\n \"flex flex-col-reverse gap-2 ppx-sm:flex-row ppx-sm:justify-end\",\n className,\n )}\n {...props}\n >\n {children}\n {showCloseButton && (\n <DialogPrimitive.Close render={<Button variant=\"outline\" />}>\n Close\n </DialogPrimitive.Close>\n )}\n </div>\n );\n}\n\nfunction DialogTitle({ className, ...props }: DialogPrimitive.Title.Props) {\n return (\n <DialogPrimitive.Title\n data-slot=\"dialog-title\"\n className={cn(\"font-heading text-lg font-medium leading-none\", className)}\n {...props}\n />\n );\n}\n\nfunction DialogDescription({\n className,\n ...props\n}: DialogPrimitive.Description.Props) {\n return (\n <DialogPrimitive.Description\n data-slot=\"dialog-description\"\n className={cn(\n \"text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground text-sm\",\n className,\n )}\n {...props}\n />\n );\n}\n\n/**\n * Creates a handle that links a `Dialog` to one or more `DialogTrigger`s via\n * their `handle` prop. Use it for detached triggers (a trigger rendered outside\n * `Dialog`) and to reuse a single dialog from multiple triggers. The handle also\n * exposes imperative `open(triggerId)`, `openWithPayload(payload)`, `close()`,\n * and `isOpen`. Create it once, outside render.\n */\nconst createDialogHandle = DialogPrimitive.createHandle;\n\ntype DialogHandle<Payload = unknown> = DialogPrimitive.Handle<Payload>;\n\nexport {\n createDialogHandle,\n Dialog,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogFooter,\n DialogHeader,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n};\n\nexport type { DialogHandle };\n"],"mappings":";;;;;;;;AAOA,SAASA,SAAO,EAAE,GAAG,SAAqC;AACxD,QACE,oBAACC,OAAgB;EACf,aAAU;EACV;EACA,GAAI;GACJ;;AAIN,SAAS,cAAc,EAAE,GAAG,SAAwC;AAClE,QAAO,oBAACA,OAAgB;EAAQ,aAAU;EAAiB,GAAI;GAAS;;AAG1E,SAAS,aAAa,EAAE,GAAG,SAAuC;AAChE,QAAO,oBAACA,OAAgB;EAAO,aAAU;EAAgB,GAAI;GAAS;;AAGxE,SAAS,YAAY,EAAE,GAAG,SAAsC;AAC9D,QAAO,oBAACA,OAAgB;EAAM,aAAU;EAAe,GAAI;GAAS;;AAGtE,SAAS,cAAc,EACrB,WACA,GAAG,SAC8B;AACjC,QACE,oBAACA,OAAgB;EACf,aAAU;EACV,WAAW,GACT,yLACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,cAAc,EACrB,WACA,UACA,kBAAkB,MAClB,GAAG,SAGF;AACD,QACE,qBAAC,2BACC,oBAAC,kBAAgB,EACjB,qBAACA,OAAgB;EACf,aAAU;EACV,WAAW,GACT,mYACA,UACD;EACD,GAAI;aAEH,UACA,mBACC,qBAACA,OAAgB;GACf,aAAU;GACV,QACE,oBAAC;IACC,SAAQ;IACR,WAAU;IACV,MAAK;KACL;cAGJ,oBAAC,UAAQ,EACT,oBAAC;IAAK,WAAU;cAAU;KAAY;IAChB;GAEJ,IACX;;AAInB,SAAS,aAAa,EAAE,WAAW,GAAG,SAAsC;AAC1E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,uBAAuB,UAAU;EAC/C,GAAI;GACJ;;AAIN,SAAS,aAAa,EACpB,WACA,kBAAkB,OAClB,UACA,GAAG,SAGF;AACD,QACE,qBAAC;EACC,aAAU;EACV,WAAW,GACT,kEACA,UACD;EACD,GAAI;aAEH,UACA,mBACC,oBAACA,OAAgB;GAAM,QAAQ,oBAAC,UAAO,SAAQ,YAAY;aAAE;IAErC;GAEtB;;AAIV,SAAS,YAAY,EAAE,WAAW,GAAG,SAAsC;AACzE,QACE,oBAACA,OAAgB;EACf,aAAU;EACV,WAAW,GAAG,iDAAiD,UAAU;EACzE,GAAI;GACJ;;AAIN,SAAS,kBAAkB,EACzB,WACA,GAAG,SACiC;AACpC,QACE,oBAACA,OAAgB;EACf,aAAU;EACV,WAAW,GACT,sGACA,UACD;EACD,GAAI;GACJ;;;;;;;;;AAWN,MAAM,qBAAqBA,OAAgB"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import * as react_jsx_runtime84 from "react/jsx-runtime";
|
|
2
1
|
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime146 from "react/jsx-runtime";
|
|
3
3
|
import { Menu } from "@base-ui/react/menu";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dropdown-menu.d.ts
|
|
6
6
|
declare function DropdownMenu({
|
|
7
7
|
...props
|
|
8
|
-
}: Menu.Root.Props):
|
|
8
|
+
}: Menu.Root.Props): react_jsx_runtime146.JSX.Element;
|
|
9
9
|
declare function DropdownMenuPortal({
|
|
10
10
|
...props
|
|
11
|
-
}: Menu.Portal.Props):
|
|
11
|
+
}: Menu.Portal.Props): react_jsx_runtime146.JSX.Element;
|
|
12
12
|
declare function DropdownMenuTrigger({
|
|
13
13
|
...props
|
|
14
|
-
}: Menu.Trigger.Props):
|
|
14
|
+
}: Menu.Trigger.Props): react_jsx_runtime146.JSX.Element;
|
|
15
15
|
declare function DropdownMenuContent({
|
|
16
16
|
align,
|
|
17
17
|
alignOffset,
|
|
@@ -19,17 +19,17 @@ declare function DropdownMenuContent({
|
|
|
19
19
|
sideOffset,
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: Menu.Popup.Props & Pick<Menu.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">):
|
|
22
|
+
}: Menu.Popup.Props & Pick<Menu.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): react_jsx_runtime146.JSX.Element;
|
|
23
23
|
declare function DropdownMenuGroup({
|
|
24
24
|
...props
|
|
25
|
-
}: Menu.Group.Props):
|
|
25
|
+
}: Menu.Group.Props): react_jsx_runtime146.JSX.Element;
|
|
26
26
|
declare function DropdownMenuLabel({
|
|
27
27
|
className,
|
|
28
28
|
inset,
|
|
29
29
|
...props
|
|
30
30
|
}: Menu.GroupLabel.Props & {
|
|
31
31
|
inset?: boolean;
|
|
32
|
-
}):
|
|
32
|
+
}): react_jsx_runtime146.JSX.Element;
|
|
33
33
|
declare function DropdownMenuItem({
|
|
34
34
|
className,
|
|
35
35
|
inset,
|
|
@@ -38,10 +38,10 @@ declare function DropdownMenuItem({
|
|
|
38
38
|
}: Menu.Item.Props & {
|
|
39
39
|
inset?: boolean;
|
|
40
40
|
variant?: "default" | "destructive";
|
|
41
|
-
}):
|
|
41
|
+
}): react_jsx_runtime146.JSX.Element;
|
|
42
42
|
declare function DropdownMenuSub({
|
|
43
43
|
...props
|
|
44
|
-
}: Menu.SubmenuRoot.Props):
|
|
44
|
+
}: Menu.SubmenuRoot.Props): react_jsx_runtime146.JSX.Element;
|
|
45
45
|
declare function DropdownMenuSubTrigger({
|
|
46
46
|
className,
|
|
47
47
|
inset,
|
|
@@ -49,7 +49,7 @@ declare function DropdownMenuSubTrigger({
|
|
|
49
49
|
...props
|
|
50
50
|
}: Menu.SubmenuTrigger.Props & {
|
|
51
51
|
inset?: boolean;
|
|
52
|
-
}):
|
|
52
|
+
}): react_jsx_runtime146.JSX.Element;
|
|
53
53
|
declare function DropdownMenuSubContent({
|
|
54
54
|
align,
|
|
55
55
|
alignOffset,
|
|
@@ -57,7 +57,7 @@ declare function DropdownMenuSubContent({
|
|
|
57
57
|
sideOffset,
|
|
58
58
|
className,
|
|
59
59
|
...props
|
|
60
|
-
}: React$1.ComponentProps<typeof DropdownMenuContent>):
|
|
60
|
+
}: React$1.ComponentProps<typeof DropdownMenuContent>): react_jsx_runtime146.JSX.Element;
|
|
61
61
|
declare function DropdownMenuCheckboxItem({
|
|
62
62
|
className,
|
|
63
63
|
children,
|
|
@@ -66,10 +66,10 @@ declare function DropdownMenuCheckboxItem({
|
|
|
66
66
|
...props
|
|
67
67
|
}: Menu.CheckboxItem.Props & {
|
|
68
68
|
inset?: boolean;
|
|
69
|
-
}):
|
|
69
|
+
}): react_jsx_runtime146.JSX.Element;
|
|
70
70
|
declare function DropdownMenuRadioGroup({
|
|
71
71
|
...props
|
|
72
|
-
}: Menu.RadioGroup.Props):
|
|
72
|
+
}: Menu.RadioGroup.Props): react_jsx_runtime146.JSX.Element;
|
|
73
73
|
declare function DropdownMenuRadioItem({
|
|
74
74
|
className,
|
|
75
75
|
children,
|
|
@@ -77,15 +77,15 @@ declare function DropdownMenuRadioItem({
|
|
|
77
77
|
...props
|
|
78
78
|
}: Menu.RadioItem.Props & {
|
|
79
79
|
inset?: boolean;
|
|
80
|
-
}):
|
|
80
|
+
}): react_jsx_runtime146.JSX.Element;
|
|
81
81
|
declare function DropdownMenuSeparator({
|
|
82
82
|
className,
|
|
83
83
|
...props
|
|
84
|
-
}: Menu.Separator.Props):
|
|
84
|
+
}: Menu.Separator.Props): react_jsx_runtime146.JSX.Element;
|
|
85
85
|
declare function DropdownMenuShortcut({
|
|
86
86
|
className,
|
|
87
87
|
...props
|
|
88
|
-
}: React$1.ComponentProps<"span">):
|
|
88
|
+
}: React$1.ComponentProps<"span">): react_jsx_runtime146.JSX.Element;
|
|
89
89
|
//#endregion
|
|
90
90
|
export { DropdownMenuItem as a, DropdownMenuRadioGroup as c, DropdownMenuShortcut as d, DropdownMenuSub as f, DropdownMenuTrigger as h, DropdownMenuGroup as i, DropdownMenuRadioItem as l, DropdownMenuSubTrigger as m, DropdownMenuCheckboxItem as n, DropdownMenuLabel as o, DropdownMenuSubContent as p, DropdownMenuContent as r, DropdownMenuPortal as s, DropdownMenu as t, DropdownMenuSeparator as u };
|
|
91
|
-
//# sourceMappingURL=dropdown-menu-
|
|
91
|
+
//# sourceMappingURL=dropdown-menu-C6n_oYre.d.ts.map
|