@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,23 +1,23 @@
|
|
|
1
|
-
import { t as Separator } from "../separator-
|
|
2
|
-
import * as react_jsx_runtime111 from "react/jsx-runtime";
|
|
1
|
+
import { t as Separator } from "../separator-pyhTqgkN.js";
|
|
3
2
|
import * as React$1 from "react";
|
|
3
|
+
import * as react_jsx_runtime174 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
import { useRender } from "@base-ui/react/use-render";
|
|
6
|
-
import * as
|
|
6
|
+
import * as class_variance_authority_types8 from "class-variance-authority/types";
|
|
7
7
|
|
|
8
8
|
//#region src/components/item.d.ts
|
|
9
9
|
declare function ItemGroup({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React$1.ComponentProps<"div">):
|
|
12
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime174.JSX.Element;
|
|
13
13
|
declare function ItemSeparator({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React$1.ComponentProps<typeof Separator>):
|
|
16
|
+
}: React$1.ComponentProps<typeof Separator>): react_jsx_runtime174.JSX.Element;
|
|
17
17
|
declare const itemVariants: (props?: ({
|
|
18
18
|
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
19
|
-
size?: "default" | "
|
|
20
|
-
} &
|
|
19
|
+
size?: "default" | "sm" | "xs" | null | undefined;
|
|
20
|
+
} & class_variance_authority_types8.ClassProp) | undefined) => string;
|
|
21
21
|
declare function Item({
|
|
22
22
|
className,
|
|
23
23
|
variant,
|
|
@@ -27,36 +27,36 @@ declare function Item({
|
|
|
27
27
|
}: useRender.ComponentProps<"div"> & VariantProps<typeof itemVariants>): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
28
28
|
declare const itemMediaVariants: (props?: ({
|
|
29
29
|
variant?: "default" | "image" | "icon" | null | undefined;
|
|
30
|
-
} &
|
|
30
|
+
} & class_variance_authority_types8.ClassProp) | undefined) => string;
|
|
31
31
|
declare function ItemMedia({
|
|
32
32
|
className,
|
|
33
33
|
variant,
|
|
34
34
|
...props
|
|
35
|
-
}: React$1.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>):
|
|
35
|
+
}: React$1.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): react_jsx_runtime174.JSX.Element;
|
|
36
36
|
declare function ItemContent({
|
|
37
37
|
className,
|
|
38
38
|
...props
|
|
39
|
-
}: React$1.ComponentProps<"div">):
|
|
39
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime174.JSX.Element;
|
|
40
40
|
declare function ItemTitle({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React$1.ComponentProps<"div">):
|
|
43
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime174.JSX.Element;
|
|
44
44
|
declare function ItemDescription({
|
|
45
45
|
className,
|
|
46
46
|
...props
|
|
47
|
-
}: React$1.ComponentProps<"p">):
|
|
47
|
+
}: React$1.ComponentProps<"p">): react_jsx_runtime174.JSX.Element;
|
|
48
48
|
declare function ItemActions({
|
|
49
49
|
className,
|
|
50
50
|
...props
|
|
51
|
-
}: React$1.ComponentProps<"div">):
|
|
51
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime174.JSX.Element;
|
|
52
52
|
declare function ItemHeader({
|
|
53
53
|
className,
|
|
54
54
|
...props
|
|
55
|
-
}: React$1.ComponentProps<"div">):
|
|
55
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime174.JSX.Element;
|
|
56
56
|
declare function ItemFooter({
|
|
57
57
|
className,
|
|
58
58
|
...props
|
|
59
|
-
}: React$1.ComponentProps<"div">):
|
|
59
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime174.JSX.Element;
|
|
60
60
|
//#endregion
|
|
61
61
|
export { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle };
|
|
62
62
|
//# sourceMappingURL=item.d.ts.map
|
package/dist/components/item.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as cn } from "../utils-
|
|
2
|
-
import { t as Separator } from "../separator-
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
1
|
+
import { t as cn } from "../utils-DeIaBj75.js";
|
|
2
|
+
import { t as Separator } from "../separator-BQBOLUMc.js";
|
|
4
3
|
import "react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { cva } from "class-variance-authority";
|
|
6
6
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
7
7
|
import { useRender } from "@base-ui/react/use-render";
|
package/dist/components/kbd.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime198 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/kbd.d.ts
|
|
4
4
|
declare function Kbd({
|
|
5
5
|
className,
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<"kbd">):
|
|
7
|
+
}: React.ComponentProps<"kbd">): react_jsx_runtime198.JSX.Element;
|
|
8
8
|
declare function KbdGroup({
|
|
9
9
|
className,
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<"div">):
|
|
11
|
+
}: React.ComponentProps<"div">): react_jsx_runtime198.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { Kbd, KbdGroup };
|
|
14
14
|
//# sourceMappingURL=kbd.d.ts.map
|
package/dist/components/kbd.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Label } from "../label-
|
|
1
|
+
import { t as Label } from "../label-BnSHwOyi.js";
|
|
2
2
|
export { Label };
|
package/dist/components/label.js
CHANGED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime252 from "react/jsx-runtime";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
import { useRender } from "@base-ui/react/use-render";
|
|
5
|
+
import * as class_variance_authority_types14 from "class-variance-authority/types";
|
|
6
|
+
|
|
7
|
+
//#region src/components/marker.d.ts
|
|
8
|
+
declare const markerVariants: (props?: ({
|
|
9
|
+
variant?: "default" | "separator" | "border" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types14.ClassProp) | undefined) => string;
|
|
11
|
+
declare function Marker({
|
|
12
|
+
className,
|
|
13
|
+
variant,
|
|
14
|
+
render,
|
|
15
|
+
...props
|
|
16
|
+
}: useRender.ComponentProps<"div"> & VariantProps<typeof markerVariants>): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
17
|
+
declare function MarkerIcon({
|
|
18
|
+
className,
|
|
19
|
+
...props
|
|
20
|
+
}: React$1.ComponentProps<"span">): react_jsx_runtime252.JSX.Element;
|
|
21
|
+
declare function MarkerContent({
|
|
22
|
+
className,
|
|
23
|
+
...props
|
|
24
|
+
}: React$1.ComponentProps<"span">): react_jsx_runtime252.JSX.Element;
|
|
25
|
+
//#endregion
|
|
26
|
+
export { Marker, MarkerContent, MarkerIcon, markerVariants };
|
|
27
|
+
//# sourceMappingURL=marker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marker.d.ts","names":[],"sources":["../../src/components/marker.tsx"],"sourcesContent":[],"mappings":";;;;;;;cAOM;;IAYL,gCAAA,CAAA;iBAEQ,MAAA;;;;;GAKN,SAAA,CAAU,wBAAwB,oBAAoB,kBAAe,OAAA,CAAA,+BAAA,OAAA,CAAA;AAvBP,iBAwCxD,UAAA,CAxBR;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAwB4C,OAAA,CAAM,cAxBlD,CAAA,MAAA,CAAA,CAAA,EAwBwE,oBAAA,CAAA,GAAA,CAAA,OAxBxE;iBAsCQ,aAAA,CApCM;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAoCiC,OAAA,CAAM,cApCvC,CAAA,MAAA,CAAA,CAAA,EAoC6D,oBAAA,CAAA,GAAA,CAAA,OApC7D"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { t as cn } from "../utils-DeIaBj75.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { cva } from "class-variance-authority";
|
|
5
|
+
import { mergeProps } from "@base-ui/react/merge-props";
|
|
6
|
+
import { useRender } from "@base-ui/react/use-render";
|
|
7
|
+
|
|
8
|
+
//#region src/components/marker.tsx
|
|
9
|
+
const markerVariants = cva("group/marker relative flex min-h-4 w-full items-center gap-2 text-start text-sm text-muted-foreground [&_svg:not([class*='size-'])]:size-4 [a]:underline [a]:underline-offset-3 [a]:hover:text-foreground", { variants: { variant: {
|
|
10
|
+
default: "",
|
|
11
|
+
separator: "before:me-1 before:h-px before:min-w-0 before:flex-1 before:bg-border after:ms-1 after:h-px after:min-w-0 after:flex-1 after:bg-border",
|
|
12
|
+
border: "border-b border-border pb-2"
|
|
13
|
+
} } });
|
|
14
|
+
function Marker({ className, variant = "default", render, ...props }) {
|
|
15
|
+
return useRender({
|
|
16
|
+
defaultTagName: "div",
|
|
17
|
+
props: mergeProps({ className: cn(markerVariants({
|
|
18
|
+
variant,
|
|
19
|
+
className
|
|
20
|
+
})) }, props),
|
|
21
|
+
render,
|
|
22
|
+
state: {
|
|
23
|
+
slot: "marker",
|
|
24
|
+
variant
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
function MarkerIcon({ className, ...props }) {
|
|
29
|
+
return /* @__PURE__ */ jsx("span", {
|
|
30
|
+
"data-slot": "marker-icon",
|
|
31
|
+
"aria-hidden": "true",
|
|
32
|
+
className: cn("size-4 shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
|
|
33
|
+
...props
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
function MarkerContent({ className, ...props }) {
|
|
37
|
+
return /* @__PURE__ */ jsx("span", {
|
|
38
|
+
"data-slot": "marker-content",
|
|
39
|
+
className: cn("min-w-0 wrap-break-word group-data-[variant=separator]/marker:flex-none group-data-[variant=separator]/marker:text-center *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground", className),
|
|
40
|
+
...props
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
//#endregion
|
|
45
|
+
export { Marker, MarkerContent, MarkerIcon, markerVariants };
|
|
46
|
+
//# sourceMappingURL=marker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marker.js","names":[],"sources":["../../src/components/marker.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { mergeProps } from \"@base-ui/react/merge-props\"\nimport { useRender } from \"@base-ui/react/use-render\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@px-ui/ui/lib/utils\"\n\nconst markerVariants = cva(\n \"group/marker relative flex min-h-4 w-full items-center gap-2 text-start text-sm text-muted-foreground [&_svg:not([class*='size-'])]:size-4 [a]:underline [a]:underline-offset-3 [a]:hover:text-foreground\",\n {\n variants: {\n variant: {\n default: \"\",\n separator:\n \"before:me-1 before:h-px before:min-w-0 before:flex-1 before:bg-border after:ms-1 after:h-px after:min-w-0 after:flex-1 after:bg-border\",\n border: \"border-b border-border pb-2\",\n },\n },\n }\n)\n\nfunction Marker({\n className,\n variant = \"default\",\n render,\n ...props\n}: useRender.ComponentProps<\"div\"> & VariantProps<typeof markerVariants>) {\n return useRender({\n defaultTagName: \"div\",\n props: mergeProps<\"div\">(\n {\n className: cn(markerVariants({ variant, className })),\n },\n props\n ),\n render,\n state: {\n slot: \"marker\",\n variant,\n },\n })\n}\n\nfunction MarkerIcon({ className, ...props }: React.ComponentProps<\"span\">) {\n return (\n <span\n data-slot=\"marker-icon\"\n aria-hidden=\"true\"\n className={cn(\n \"size-4 shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction MarkerContent({ className, ...props }: React.ComponentProps<\"span\">) {\n return (\n <span\n data-slot=\"marker-content\"\n className={cn(\n \"min-w-0 wrap-break-word group-data-[variant=separator]/marker:flex-none group-data-[variant=separator]/marker:text-center *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground\",\n className\n )}\n {...props}\n />\n )\n}\n\nexport { Marker, MarkerIcon, MarkerContent, markerVariants }\n"],"mappings":";;;;;;;;AAOA,MAAM,iBAAiB,IACrB,6MACA,EACE,UAAU,EACR,SAAS;CACP,SAAS;CACT,WACE;CACF,QAAQ;CACT,EACF,EACF,CACF;AAED,SAAS,OAAO,EACd,WACA,UAAU,WACV,QACA,GAAG,SACqE;AACxE,QAAO,UAAU;EACf,gBAAgB;EAChB,OAAO,WACL,EACE,WAAW,GAAG,eAAe;GAAE;GAAS;GAAW,CAAC,CAAC,EACtD,EACD,MACD;EACD;EACA,OAAO;GACL,MAAM;GACN;GACD;EACF,CAAC;;AAGJ,SAAS,WAAW,EAAE,WAAW,GAAG,SAAuC;AACzE,QACE,oBAAC;EACC,aAAU;EACV,eAAY;EACZ,WAAW,GACT,wDACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,cAAc,EAAE,WAAW,GAAG,SAAuC;AAC5E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,kMACA,UACD;EACD,GAAI;GACJ"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as DropdownMenuItem, c as DropdownMenuRadioGroup, d as DropdownMenuShortcut, f as DropdownMenuSub, h as DropdownMenuTrigger, i as DropdownMenuGroup, m as DropdownMenuSubTrigger, o as DropdownMenuLabel, p as DropdownMenuSubContent, r as DropdownMenuContent, s as DropdownMenuPortal, t as DropdownMenu, u as DropdownMenuSeparator } from "../dropdown-menu-
|
|
2
|
-
import * as react_jsx_runtime126 from "react/jsx-runtime";
|
|
1
|
+
import { a as DropdownMenuItem, c as DropdownMenuRadioGroup, d as DropdownMenuShortcut, f as DropdownMenuSub, h as DropdownMenuTrigger, i as DropdownMenuGroup, m as DropdownMenuSubTrigger, o as DropdownMenuLabel, p as DropdownMenuSubContent, r as DropdownMenuContent, s as DropdownMenuPortal, t as DropdownMenu, u as DropdownMenuSeparator } from "../dropdown-menu-C6n_oYre.js";
|
|
3
2
|
import * as React$1 from "react";
|
|
3
|
+
import * as react_jsx_runtime236 from "react/jsx-runtime";
|
|
4
4
|
import { Menu } from "@base-ui/react/menu";
|
|
5
5
|
import { Menubar as Menubar$1 } from "@base-ui/react/menubar";
|
|
6
6
|
|
|
@@ -8,33 +8,33 @@ import { Menubar as Menubar$1 } from "@base-ui/react/menubar";
|
|
|
8
8
|
declare function Menubar({
|
|
9
9
|
className,
|
|
10
10
|
...props
|
|
11
|
-
}: Menubar$1.Props):
|
|
11
|
+
}: Menubar$1.Props): react_jsx_runtime236.JSX.Element;
|
|
12
12
|
declare function MenubarMenu({
|
|
13
13
|
...props
|
|
14
|
-
}: React$1.ComponentProps<typeof DropdownMenu>):
|
|
14
|
+
}: React$1.ComponentProps<typeof DropdownMenu>): react_jsx_runtime236.JSX.Element;
|
|
15
15
|
declare function MenubarGroup({
|
|
16
16
|
...props
|
|
17
|
-
}: React$1.ComponentProps<typeof DropdownMenuGroup>):
|
|
17
|
+
}: React$1.ComponentProps<typeof DropdownMenuGroup>): react_jsx_runtime236.JSX.Element;
|
|
18
18
|
declare function MenubarPortal({
|
|
19
19
|
...props
|
|
20
|
-
}: React$1.ComponentProps<typeof DropdownMenuPortal>):
|
|
20
|
+
}: React$1.ComponentProps<typeof DropdownMenuPortal>): react_jsx_runtime236.JSX.Element;
|
|
21
21
|
declare function MenubarTrigger({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: React$1.ComponentProps<typeof DropdownMenuTrigger>):
|
|
24
|
+
}: React$1.ComponentProps<typeof DropdownMenuTrigger>): react_jsx_runtime236.JSX.Element;
|
|
25
25
|
declare function MenubarContent({
|
|
26
26
|
className,
|
|
27
27
|
align,
|
|
28
28
|
alignOffset,
|
|
29
29
|
sideOffset,
|
|
30
30
|
...props
|
|
31
|
-
}: React$1.ComponentProps<typeof DropdownMenuContent>):
|
|
31
|
+
}: React$1.ComponentProps<typeof DropdownMenuContent>): react_jsx_runtime236.JSX.Element;
|
|
32
32
|
declare function MenubarItem({
|
|
33
33
|
className,
|
|
34
34
|
inset,
|
|
35
35
|
variant,
|
|
36
36
|
...props
|
|
37
|
-
}: React$1.ComponentProps<typeof DropdownMenuItem>):
|
|
37
|
+
}: React$1.ComponentProps<typeof DropdownMenuItem>): react_jsx_runtime236.JSX.Element;
|
|
38
38
|
declare function MenubarCheckboxItem({
|
|
39
39
|
className,
|
|
40
40
|
children,
|
|
@@ -43,10 +43,10 @@ declare function MenubarCheckboxItem({
|
|
|
43
43
|
...props
|
|
44
44
|
}: Menu.CheckboxItem.Props & {
|
|
45
45
|
inset?: boolean;
|
|
46
|
-
}):
|
|
46
|
+
}): react_jsx_runtime236.JSX.Element;
|
|
47
47
|
declare function MenubarRadioGroup({
|
|
48
48
|
...props
|
|
49
|
-
}: React$1.ComponentProps<typeof DropdownMenuRadioGroup>):
|
|
49
|
+
}: React$1.ComponentProps<typeof DropdownMenuRadioGroup>): react_jsx_runtime236.JSX.Element;
|
|
50
50
|
declare function MenubarRadioItem({
|
|
51
51
|
className,
|
|
52
52
|
children,
|
|
@@ -54,36 +54,36 @@ declare function MenubarRadioItem({
|
|
|
54
54
|
...props
|
|
55
55
|
}: Menu.RadioItem.Props & {
|
|
56
56
|
inset?: boolean;
|
|
57
|
-
}):
|
|
57
|
+
}): react_jsx_runtime236.JSX.Element;
|
|
58
58
|
declare function MenubarLabel({
|
|
59
59
|
className,
|
|
60
60
|
inset,
|
|
61
61
|
...props
|
|
62
62
|
}: React$1.ComponentProps<typeof DropdownMenuLabel> & {
|
|
63
63
|
inset?: boolean;
|
|
64
|
-
}):
|
|
64
|
+
}): react_jsx_runtime236.JSX.Element;
|
|
65
65
|
declare function MenubarSeparator({
|
|
66
66
|
className,
|
|
67
67
|
...props
|
|
68
|
-
}: React$1.ComponentProps<typeof DropdownMenuSeparator>):
|
|
68
|
+
}: React$1.ComponentProps<typeof DropdownMenuSeparator>): react_jsx_runtime236.JSX.Element;
|
|
69
69
|
declare function MenubarShortcut({
|
|
70
70
|
className,
|
|
71
71
|
...props
|
|
72
|
-
}: React$1.ComponentProps<typeof DropdownMenuShortcut>):
|
|
72
|
+
}: React$1.ComponentProps<typeof DropdownMenuShortcut>): react_jsx_runtime236.JSX.Element;
|
|
73
73
|
declare function MenubarSub({
|
|
74
74
|
...props
|
|
75
|
-
}: React$1.ComponentProps<typeof DropdownMenuSub>):
|
|
75
|
+
}: React$1.ComponentProps<typeof DropdownMenuSub>): react_jsx_runtime236.JSX.Element;
|
|
76
76
|
declare function MenubarSubTrigger({
|
|
77
77
|
className,
|
|
78
78
|
inset,
|
|
79
79
|
...props
|
|
80
80
|
}: React$1.ComponentProps<typeof DropdownMenuSubTrigger> & {
|
|
81
81
|
inset?: boolean;
|
|
82
|
-
}):
|
|
82
|
+
}): react_jsx_runtime236.JSX.Element;
|
|
83
83
|
declare function MenubarSubContent({
|
|
84
84
|
className,
|
|
85
85
|
...props
|
|
86
|
-
}: React$1.ComponentProps<typeof DropdownMenuSubContent>):
|
|
86
|
+
}: React$1.ComponentProps<typeof DropdownMenuSubContent>): react_jsx_runtime236.JSX.Element;
|
|
87
87
|
//#endregion
|
|
88
88
|
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger };
|
|
89
89
|
//# sourceMappingURL=menubar.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import { t as cn } from "../utils-
|
|
4
|
-
import { a as DropdownMenuItem, c as DropdownMenuRadioGroup, d as DropdownMenuShortcut, f as DropdownMenuSub, h as DropdownMenuTrigger, i as DropdownMenuGroup, m as DropdownMenuSubTrigger, o as DropdownMenuLabel, p as DropdownMenuSubContent, r as DropdownMenuContent, s as DropdownMenuPortal, t as DropdownMenu, u as DropdownMenuSeparator } from "../dropdown-menu-
|
|
3
|
+
import { t as cn } from "../utils-DeIaBj75.js";
|
|
4
|
+
import { a as DropdownMenuItem, c as DropdownMenuRadioGroup, d as DropdownMenuShortcut, f as DropdownMenuSub, h as DropdownMenuTrigger, i as DropdownMenuGroup, m as DropdownMenuSubTrigger, o as DropdownMenuLabel, p as DropdownMenuSubContent, r as DropdownMenuContent, s as DropdownMenuPortal, t as DropdownMenu, u as DropdownMenuSeparator } from "../dropdown-menu-vwX--mgm.js";
|
|
5
|
+
import "react";
|
|
5
6
|
import { CheckIcon } from "lucide-react";
|
|
6
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
import "react";
|
|
8
8
|
import { Menu } from "@base-ui/react/menu";
|
|
9
9
|
import { Menubar as Menubar$1 } from "@base-ui/react/menubar";
|
|
10
10
|
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { t as Button } from "../button-BJ727apo.js";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
|
+
import * as react_jsx_runtime205 from "react/jsx-runtime";
|
|
4
|
+
import { MessageScroller as MessageScroller$1, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility } from "@shadcn/react/message-scroller";
|
|
5
|
+
|
|
6
|
+
//#region src/components/message-scroller.d.ts
|
|
7
|
+
declare function MessageScrollerProvider(props: React$1.ComponentProps<typeof MessageScroller$1.Provider>): react_jsx_runtime205.JSX.Element;
|
|
8
|
+
declare function MessageScroller({
|
|
9
|
+
className,
|
|
10
|
+
...props
|
|
11
|
+
}: React$1.ComponentProps<typeof MessageScroller$1.Root>): react_jsx_runtime205.JSX.Element;
|
|
12
|
+
declare function MessageScrollerViewport({
|
|
13
|
+
className,
|
|
14
|
+
...props
|
|
15
|
+
}: React$1.ComponentProps<typeof MessageScroller$1.Viewport>): react_jsx_runtime205.JSX.Element;
|
|
16
|
+
declare function MessageScrollerContent({
|
|
17
|
+
className,
|
|
18
|
+
...props
|
|
19
|
+
}: React$1.ComponentProps<typeof MessageScroller$1.Content>): react_jsx_runtime205.JSX.Element;
|
|
20
|
+
declare function MessageScrollerItem({
|
|
21
|
+
className,
|
|
22
|
+
scrollAnchor,
|
|
23
|
+
...props
|
|
24
|
+
}: React$1.ComponentProps<typeof MessageScroller$1.Item>): react_jsx_runtime205.JSX.Element;
|
|
25
|
+
declare function MessageScrollerButton({
|
|
26
|
+
direction,
|
|
27
|
+
className,
|
|
28
|
+
children,
|
|
29
|
+
render,
|
|
30
|
+
variant,
|
|
31
|
+
size,
|
|
32
|
+
...props
|
|
33
|
+
}: React$1.ComponentProps<typeof MessageScroller$1.Button> & Pick<React$1.ComponentProps<typeof Button>, "variant" | "size">): react_jsx_runtime205.JSX.Element;
|
|
34
|
+
//#endregion
|
|
35
|
+
export { MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility };
|
|
36
|
+
//# sourceMappingURL=message-scroller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message-scroller.d.ts","names":[],"sources":["../../src/components/message-scroller.tsx"],"sourcesContent":[],"mappings":";;;;;;iBAYS,uBAAA,QACA,OAAA,CAAM,sBAAsB,iBAAA,CAAyB,YAAS,oBAAA,CAAA,GAAA,CAAA;iBAK9D,eAAA;;;GAGN,OAAA,CAAM,sBAAsB,iBAAA,CAAyB,QAAK,oBAAA,CAAA,GAAA,CAAA;iBAapD,uBAAA;;;GAGN,OAAA,CAAM,sBAAsB,iBAAA,CAAyB,YAAS,oBAAA,CAAA,GAAA,CAAA;AA5Bb,iBAyC3C,sBAAA,CAtCuB;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAyC7B,OAAA,CAAM,cAzCuB,CAAA,OAyCD,iBAAA,CAAyB,OAzCxB,CAAA,CAAA,EAyCgC,oBAAA,CAAA,GAAA,CAAA,OAzChC;iBAmDvB,mBAAA,CAlDqD;EAAA,SAAA;EAAA,YAAA;EAAA,GAAA;AAAA,CAAA,EAsD3D,OAAA,CAAM,cAtDqD,CAAA,OAsD/B,iBAAA,CAAyB,IAtDM,CAAA,CAAA,EAsDD,oBAAA,CAAA,GAAA,CAAA,OAtDC;iBAoErD,qBAAA,CApEM;EAAA,SAAA;EAAA,SAAA;EAAA,QAAA;EAAA,MAAA;EAAA,OAAA;EAAA,IAAA;EAAA,GAAA;AAAA,CAAA,EA4EZ,OAAA,CAAM,cA5EM,CAAA,OA4EgB,iBAAA,CAAyB,MA5EzC,CAAA,GA6Eb,IA7Ea,CA6ER,OAAA,CAAM,cA7EE,CAAA,OA6EoB,MA7EpB,CAAA,EAAA,SAAA,GAAA,MAAA,CAAA,CAAA,EA6EgD,oBAAA,CAAA,GAAA,CAAA,OA7EhD"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { t as cn } from "../utils-DeIaBj75.js";
|
|
2
|
+
import { t as Button } from "../button-Cp2S1spE.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import { ArrowDownIcon } from "lucide-react";
|
|
5
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { MessageScroller as MessageScroller$1, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility } from "@shadcn/react/message-scroller";
|
|
7
|
+
|
|
8
|
+
//#region src/components/message-scroller.tsx
|
|
9
|
+
function MessageScrollerProvider(props) {
|
|
10
|
+
return /* @__PURE__ */ jsx(MessageScroller$1.Provider, { ...props });
|
|
11
|
+
}
|
|
12
|
+
function MessageScroller({ className, ...props }) {
|
|
13
|
+
return /* @__PURE__ */ jsx(MessageScroller$1.Root, {
|
|
14
|
+
"data-slot": "message-scroller",
|
|
15
|
+
className: cn("group/message-scroller relative flex size-full min-h-0 flex-col overflow-hidden", className),
|
|
16
|
+
...props
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
function MessageScrollerViewport({ className, ...props }) {
|
|
20
|
+
return /* @__PURE__ */ jsx(MessageScroller$1.Viewport, {
|
|
21
|
+
"data-slot": "message-scroller-viewport",
|
|
22
|
+
className: cn("size-full min-h-0 min-w-0 scroll-fade-b scrollbar-thin scrollbar-gutter-stable overflow-y-auto overscroll-contain contain-content data-autoscrolling:scrollbar-thumb-transparent data-autoscrolling:scrollbar-track-transparent", className),
|
|
23
|
+
...props
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
function MessageScrollerContent({ className, ...props }) {
|
|
27
|
+
return /* @__PURE__ */ jsx(MessageScroller$1.Content, {
|
|
28
|
+
"data-slot": "message-scroller-content",
|
|
29
|
+
className: cn("flex h-max min-h-full flex-col gap-8", className),
|
|
30
|
+
...props
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
function MessageScrollerItem({ className, scrollAnchor = false, ...props }) {
|
|
34
|
+
return /* @__PURE__ */ jsx(MessageScroller$1.Item, {
|
|
35
|
+
"data-slot": "message-scroller-item",
|
|
36
|
+
scrollAnchor,
|
|
37
|
+
className: cn("min-w-0 shrink-0 [contain-intrinsic-size:auto_10rem] [content-visibility:auto]", className),
|
|
38
|
+
...props
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
function MessageScrollerButton({ direction = "end", className, children, render, variant = "secondary", size = "icon-sm", ...props }) {
|
|
42
|
+
return /* @__PURE__ */ jsx(MessageScroller$1.Button, {
|
|
43
|
+
"data-slot": "message-scroller-button",
|
|
44
|
+
"data-direction": direction,
|
|
45
|
+
"data-variant": variant,
|
|
46
|
+
"data-size": size,
|
|
47
|
+
direction,
|
|
48
|
+
className: cn("absolute inset-s-1/2 -translate-x-1/2 rtl:translate-x-1/2 border-border bg-background text-foreground transition-[translate,scale,opacity] duration-200 hover:bg-muted hover:text-foreground data-[active=false]:pointer-events-none data-[active=false]:scale-95 data-[active=false]:opacity-0 data-[active=false]:duration-400 data-[active=false]:ease-[cubic-bezier(0.7,0,0.84,0)] data-[active=true]:translate-y-0 data-[active=true]:scale-100 data-[active=true]:opacity-100 data-[active=true]:ease-[cubic-bezier(0.23,1,0.32,1)] data-[direction=end]:bottom-4 data-[direction=end]:data-[active=false]:translate-y-full data-[direction=start]:top-4 data-[direction=start]:data-[active=false]:-translate-y-full rtl:translate-x-1/2 data-[direction=start]:[&_svg]:rotate-180", className),
|
|
49
|
+
render: render ?? /* @__PURE__ */ jsx(Button, {
|
|
50
|
+
variant,
|
|
51
|
+
size
|
|
52
|
+
}),
|
|
53
|
+
...props,
|
|
54
|
+
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(ArrowDownIcon, {}), /* @__PURE__ */ jsx("span", {
|
|
55
|
+
className: "sr-only",
|
|
56
|
+
children: direction === "end" ? "Scroll to end" : "Scroll to start"
|
|
57
|
+
})] })
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
//#endregion
|
|
62
|
+
export { MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility };
|
|
63
|
+
//# sourceMappingURL=message-scroller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message-scroller.js","names":["MessageScrollerPrimitive"],"sources":["../../src/components/message-scroller.tsx"],"sourcesContent":["import * as React from \"react\"\nimport {\n MessageScroller as MessageScrollerPrimitive,\n useMessageScroller,\n useMessageScrollerScrollable,\n useMessageScrollerVisibility,\n} from \"@shadcn/react/message-scroller\"\n\nimport { cn } from \"@px-ui/ui/lib/utils\"\nimport { Button } from \"@px-ui/ui/components/button\"\nimport { ArrowDownIcon } from \"lucide-react\"\n\nfunction MessageScrollerProvider(\n props: React.ComponentProps<typeof MessageScrollerPrimitive.Provider>\n) {\n return <MessageScrollerPrimitive.Provider {...props} />\n}\n\nfunction MessageScroller({\n className,\n ...props\n}: React.ComponentProps<typeof MessageScrollerPrimitive.Root>) {\n return (\n <MessageScrollerPrimitive.Root\n data-slot=\"message-scroller\"\n className={cn(\n \"group/message-scroller relative flex size-full min-h-0 flex-col overflow-hidden\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction MessageScrollerViewport({\n className,\n ...props\n}: React.ComponentProps<typeof MessageScrollerPrimitive.Viewport>) {\n return (\n <MessageScrollerPrimitive.Viewport\n data-slot=\"message-scroller-viewport\"\n className={cn(\n \"size-full min-h-0 min-w-0 scroll-fade-b scrollbar-thin scrollbar-gutter-stable overflow-y-auto overscroll-contain contain-content data-autoscrolling:scrollbar-thumb-transparent data-autoscrolling:scrollbar-track-transparent\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction MessageScrollerContent({\n className,\n ...props\n}: React.ComponentProps<typeof MessageScrollerPrimitive.Content>) {\n return (\n <MessageScrollerPrimitive.Content\n data-slot=\"message-scroller-content\"\n className={cn(\"flex h-max min-h-full flex-col gap-8\", className)}\n {...props}\n />\n )\n}\n\nfunction MessageScrollerItem({\n className,\n scrollAnchor = false,\n ...props\n}: React.ComponentProps<typeof MessageScrollerPrimitive.Item>) {\n return (\n <MessageScrollerPrimitive.Item\n data-slot=\"message-scroller-item\"\n scrollAnchor={scrollAnchor}\n className={cn(\n \"min-w-0 shrink-0 [contain-intrinsic-size:auto_10rem] [content-visibility:auto]\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction MessageScrollerButton({\n direction = \"end\",\n className,\n children,\n render,\n variant = \"secondary\",\n size = \"icon-sm\",\n ...props\n}: React.ComponentProps<typeof MessageScrollerPrimitive.Button> &\n Pick<React.ComponentProps<typeof Button>, \"variant\" | \"size\">) {\n return (\n <MessageScrollerPrimitive.Button\n data-slot=\"message-scroller-button\"\n data-direction={direction}\n data-variant={variant}\n data-size={size}\n direction={direction}\n className={cn(\n \"absolute inset-s-1/2 -translate-x-1/2 rtl:translate-x-1/2 border-border bg-background text-foreground transition-[translate,scale,opacity] duration-200 hover:bg-muted hover:text-foreground data-[active=false]:pointer-events-none data-[active=false]:scale-95 data-[active=false]:opacity-0 data-[active=false]:duration-400 data-[active=false]:ease-[cubic-bezier(0.7,0,0.84,0)] data-[active=true]:translate-y-0 data-[active=true]:scale-100 data-[active=true]:opacity-100 data-[active=true]:ease-[cubic-bezier(0.23,1,0.32,1)] data-[direction=end]:bottom-4 data-[direction=end]:data-[active=false]:translate-y-full data-[direction=start]:top-4 data-[direction=start]:data-[active=false]:-translate-y-full rtl:translate-x-1/2 data-[direction=start]:[&_svg]:rotate-180\",\n className\n )}\n render={render ?? <Button variant={variant} size={size} />}\n {...props}\n >\n {children ?? (\n <>\n <ArrowDownIcon\n />\n <span className=\"sr-only\">\n {direction === \"end\" ? \"Scroll to end\" : \"Scroll to start\"}\n </span>\n </>\n )}\n </MessageScrollerPrimitive.Button>\n )\n}\n\nexport {\n MessageScrollerProvider,\n MessageScroller,\n MessageScrollerViewport,\n MessageScrollerContent,\n MessageScrollerItem,\n MessageScrollerButton,\n useMessageScroller,\n useMessageScrollerScrollable,\n useMessageScrollerVisibility,\n}\n"],"mappings":";;;;;;;;AAYA,SAAS,wBACP,OACA;AACA,QAAO,oBAACA,kBAAyB,YAAS,GAAI,QAAS;;AAGzD,SAAS,gBAAgB,EACvB,WACA,GAAG,SAC0D;AAC7D,QACE,oBAACA,kBAAyB;EACxB,aAAU;EACV,WAAW,GACT,mFACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,wBAAwB,EAC/B,WACA,GAAG,SAC8D;AACjE,QACE,oBAACA,kBAAyB;EACxB,aAAU;EACV,WAAW,GACT,mOACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,uBAAuB,EAC9B,WACA,GAAG,SAC6D;AAChE,QACE,oBAACA,kBAAyB;EACxB,aAAU;EACV,WAAW,GAAG,wCAAwC,UAAU;EAChE,GAAI;GACJ;;AAIN,SAAS,oBAAoB,EAC3B,WACA,eAAe,OACf,GAAG,SAC0D;AAC7D,QACE,oBAACA,kBAAyB;EACxB,aAAU;EACI;EACd,WAAW,GACT,kFACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,sBAAsB,EAC7B,YAAY,OACZ,WACA,UACA,QACA,UAAU,aACV,OAAO,WACP,GAAG,SAE4D;AAC/D,QACE,oBAACA,kBAAyB;EACxB,aAAU;EACV,kBAAgB;EAChB,gBAAc;EACd,aAAW;EACA;EACX,WAAW,GACT,6vBACA,UACD;EACD,QAAQ,UAAU,oBAAC;GAAgB;GAAe;IAAQ;EAC1D,GAAI;YAEH,YACC,4CACE,oBAAC,kBACC,EACF,oBAAC;GAAK,WAAU;aACb,cAAc,QAAQ,kBAAkB;IACpC,IACN;GAE2B"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime211 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/message.d.ts
|
|
5
|
+
declare function MessageGroup({
|
|
6
|
+
className,
|
|
7
|
+
...props
|
|
8
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime211.JSX.Element;
|
|
9
|
+
declare function Message({
|
|
10
|
+
className,
|
|
11
|
+
align,
|
|
12
|
+
...props
|
|
13
|
+
}: React$1.ComponentProps<"div"> & {
|
|
14
|
+
align?: "start" | "end";
|
|
15
|
+
}): react_jsx_runtime211.JSX.Element;
|
|
16
|
+
declare function MessageAvatar({
|
|
17
|
+
className,
|
|
18
|
+
...props
|
|
19
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime211.JSX.Element;
|
|
20
|
+
declare function MessageContent({
|
|
21
|
+
className,
|
|
22
|
+
...props
|
|
23
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime211.JSX.Element;
|
|
24
|
+
declare function MessageHeader({
|
|
25
|
+
className,
|
|
26
|
+
...props
|
|
27
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime211.JSX.Element;
|
|
28
|
+
declare function MessageFooter({
|
|
29
|
+
className,
|
|
30
|
+
...props
|
|
31
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime211.JSX.Element;
|
|
32
|
+
//#endregion
|
|
33
|
+
export { Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader };
|
|
34
|
+
//# sourceMappingURL=message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message.d.ts","names":[],"sources":["../../src/components/message.tsx"],"sourcesContent":[],"mappings":";;;;iBAIS,YAAA;;;GAAsC,OAAA,CAAM,wBAAqB,oBAAA,CAAA,GAAA,CAAA;iBAUjE,OAAA;;;;AAdqB,GAkB3B,OAAA,CAAM;;AAlBqB,CAAA,CAAA,EAkB8B,oBAAA,CAAA,GAAA,CAAA,OAdvC;iBA4BZ,aAAA,CA5Be;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA4BwB,OAAA,CAAM,cA5B9B,CAAA,KAAA,CAAA,CAAA,EA4BmD,oBAAA,CAAA,GAAA,CAAA,OA5BnD;iBAyCf,cAAA,CAzC4C;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAyCJ,OAAA,CAAM,cAzCF,CAAA,KAAA,CAAA,CAAA,EAyCuB,oBAAA,CAAA,GAAA,CAAA,OAzCvB;iBAsD5C,aAAA,CAtDiE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAsD1B,OAAA,CAAM,cAtDoB,CAAA,KAAA,CAAA,CAAA,EAsDC,oBAAA,CAAA,GAAA,CAAA,OAtDD;iBAmEjE,aAAA,CAnEiE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAmE1B,OAAA,CAAM,cAnEoB,CAAA,KAAA,CAAA,CAAA,EAmEC,oBAAA,CAAA,GAAA,CAAA,OAnED"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { t as cn } from "../utils-DeIaBj75.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/message.tsx
|
|
6
|
+
function MessageGroup({ className, ...props }) {
|
|
7
|
+
return /* @__PURE__ */ jsx("div", {
|
|
8
|
+
"data-slot": "message-group",
|
|
9
|
+
className: cn("flex min-w-0 flex-col gap-2", className),
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
function Message({ className, align = "start", ...props }) {
|
|
14
|
+
return /* @__PURE__ */ jsx("div", {
|
|
15
|
+
"data-slot": "message",
|
|
16
|
+
"data-align": align,
|
|
17
|
+
className: cn("group/message relative flex w-full min-w-0 gap-2 text-sm data-[align=end]:flex-row-reverse", className),
|
|
18
|
+
...props
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
function MessageAvatar({ className, ...props }) {
|
|
22
|
+
return /* @__PURE__ */ jsx("div", {
|
|
23
|
+
"data-slot": "message-avatar",
|
|
24
|
+
className: cn("flex w-fit min-w-8 shrink-0 items-center justify-center self-end overflow-hidden rounded-full bg-muted group-has-data-[slot=message-footer]/message:-translate-y-8", className),
|
|
25
|
+
...props
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
function MessageContent({ className, ...props }) {
|
|
29
|
+
return /* @__PURE__ */ jsx("div", {
|
|
30
|
+
"data-slot": "message-content",
|
|
31
|
+
className: cn("flex w-full min-w-0 flex-col gap-2.5 wrap-break-word group-data-[align=end]/message:*:data-slot:self-end", className),
|
|
32
|
+
...props
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
function MessageHeader({ className, ...props }) {
|
|
36
|
+
return /* @__PURE__ */ jsx("div", {
|
|
37
|
+
"data-slot": "message-header",
|
|
38
|
+
className: cn("flex max-w-full min-w-0 items-center px-3 text-xs font-medium text-muted-foreground group-has-data-[variant=ghost]/message:px-0", className),
|
|
39
|
+
...props
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
function MessageFooter({ className, ...props }) {
|
|
43
|
+
return /* @__PURE__ */ jsx("div", {
|
|
44
|
+
"data-slot": "message-footer",
|
|
45
|
+
className: cn("flex max-w-full min-w-0 items-center px-3 text-xs font-medium text-muted-foreground group-has-data-[variant=ghost]/message:px-0 group-data-[align=end]/message:justify-end", className),
|
|
46
|
+
...props
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
//#endregion
|
|
51
|
+
export { Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader };
|
|
52
|
+
//# sourceMappingURL=message.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message.js","names":[],"sources":["../../src/components/message.tsx"],"sourcesContent":["import * as React from \"react\"\n\nimport { cn } from \"@px-ui/ui/lib/utils\"\n\nfunction MessageGroup({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"message-group\"\n className={cn(\"flex min-w-0 flex-col gap-2\", className)}\n {...props}\n />\n )\n}\n\nfunction Message({\n className,\n align = \"start\",\n ...props\n}: React.ComponentProps<\"div\"> & { align?: \"start\" | \"end\" }) {\n return (\n <div\n data-slot=\"message\"\n data-align={align}\n className={cn(\n \"group/message relative flex w-full min-w-0 gap-2 text-sm data-[align=end]:flex-row-reverse\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction MessageAvatar({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"message-avatar\"\n className={cn(\n \"flex w-fit min-w-8 shrink-0 items-center justify-center self-end overflow-hidden rounded-full bg-muted group-has-data-[slot=message-footer]/message:-translate-y-8\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction MessageContent({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"message-content\"\n className={cn(\n \"flex w-full min-w-0 flex-col gap-2.5 wrap-break-word group-data-[align=end]/message:*:data-slot:self-end\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction MessageHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"message-header\"\n className={cn(\n \"flex max-w-full min-w-0 items-center px-3 text-xs font-medium text-muted-foreground group-has-data-[variant=ghost]/message:px-0\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction MessageFooter({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"message-footer\"\n className={cn(\n \"flex max-w-full min-w-0 items-center px-3 text-xs font-medium text-muted-foreground group-has-data-[variant=ghost]/message:px-0 group-data-[align=end]/message:justify-end\",\n className\n )}\n {...props}\n />\n )\n}\n\nexport {\n MessageGroup,\n Message,\n MessageAvatar,\n MessageContent,\n MessageFooter,\n MessageHeader,\n}\n"],"mappings":";;;;;AAIA,SAAS,aAAa,EAAE,WAAW,GAAG,SAAsC;AAC1E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,+BAA+B,UAAU;EACvD,GAAI;GACJ;;AAIN,SAAS,QAAQ,EACf,WACA,QAAQ,SACR,GAAG,SACyD;AAC5D,QACE,oBAAC;EACC,aAAU;EACV,cAAY;EACZ,WAAW,GACT,8FACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,cAAc,EAAE,WAAW,GAAG,SAAsC;AAC3E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,sKACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,eAAe,EAAE,WAAW,GAAG,SAAsC;AAC5E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,4GACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,cAAc,EAAE,WAAW,GAAG,SAAsC;AAC3E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,mIACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,cAAc,EAAE,WAAW,GAAG,SAAsC;AAC3E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,8KACA,UACD;EACD,GAAI;GACJ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as react_jsx_runtime123 from "react/jsx-runtime";
|
|
2
1
|
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime217 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/native-select.d.ts
|
|
5
5
|
type NativeSelectProps = Omit<React$1.ComponentProps<"select">, "size"> & {
|
|
@@ -9,15 +9,15 @@ declare function NativeSelect({
|
|
|
9
9
|
className,
|
|
10
10
|
size,
|
|
11
11
|
...props
|
|
12
|
-
}: NativeSelectProps):
|
|
12
|
+
}: NativeSelectProps): react_jsx_runtime217.JSX.Element;
|
|
13
13
|
declare function NativeSelectOption({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React$1.ComponentProps<"option">):
|
|
16
|
+
}: React$1.ComponentProps<"option">): react_jsx_runtime217.JSX.Element;
|
|
17
17
|
declare function NativeSelectOptGroup({
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: React$1.ComponentProps<"optgroup">):
|
|
20
|
+
}: React$1.ComponentProps<"optgroup">): react_jsx_runtime217.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { NativeSelect, NativeSelectOptGroup, NativeSelectOption };
|
|
23
23
|
//# sourceMappingURL=native-select.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as cn } from "../utils-
|
|
1
|
+
import { t as cn } from "../utils-DeIaBj75.js";
|
|
2
|
+
import "react";
|
|
2
3
|
import { ChevronDownIcon } from "lucide-react";
|
|
3
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
import "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/native-select.tsx
|
|
7
7
|
function NativeSelect({ className, size = "default", ...props }) {
|