kuzenbo 0.0.1
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/LICENSE +21 -0
- package/README.md +185 -0
- package/dist/accordion-trigger-D5XnBMS6.d.ts +24 -0
- package/dist/accordion-trigger-TjAe8JHy.js +53 -0
- package/dist/alert-dialog-trigger-BV0BsaVU.d.ts +638 -0
- package/dist/alert-dialog-trigger-D5BRoizR.js +98 -0
- package/dist/alert-title-CISzcj0X.js +28 -0
- package/dist/alert-title-CVC9G-Xf.d.ts +22 -0
- package/dist/announcement-title-CCZuGB1O.d.ts +18 -0
- package/dist/announcement-title-CIwzt9Wl.js +18 -0
- package/dist/autocomplete-value-BhyszIrf.d.ts +111 -0
- package/dist/autocomplete-value-DNJ3sAIH.js +141 -0
- package/dist/avatar-image-BKgKyzVw.d.ts +35 -0
- package/dist/avatar-image-Bw3G-Bl6.js +45 -0
- package/dist/breadcrumb-separator-D66-B1DA.d.ts +44 -0
- package/dist/breadcrumb-separator-Do-19Uow.js +74 -0
- package/dist/button-group-text-D98w78rH.js +25 -0
- package/dist/calendar-week-number-6AXvZ4Ij.js +72 -0
- package/dist/calendar-week-number-in2gpvA_.d.ts +36 -0
- package/dist/card-title-CbRPAh3M.js +52 -0
- package/dist/card-title-DSDluDoy.d.ts +40 -0
- package/dist/carousel-previous-B_jysGv_.js +89 -0
- package/dist/chart-tooltip-content-h5oLtil-.js +144 -0
- package/dist/collapsible-trigger-DcQWODN-.js +20 -0
- package/dist/collapsible-trigger-aZF7_mPR.d.ts +15 -0
- package/dist/command-shortcut-DoWM7Mnm.js +97 -0
- package/dist/context-menu-trigger-CYBhdcpg.js +147 -0
- package/dist/context-menu-trigger-Du2vcTco.d.ts +103 -0
- package/dist/dialog-trigger-CR23tYql.js +97 -0
- package/dist/dialog-trigger-xeE4e96-.d.ts +74 -0
- package/dist/drawer-trigger-7jI4Zmqs.js +79 -0
- package/dist/drawer-trigger-H_Wv5R00.d.ts +67 -0
- package/dist/dropdown-menu-trigger-CFdruqOk.d.ts +108 -0
- package/dist/dropdown-menu-trigger-IKeAoU_a.js +152 -0
- package/dist/dropzone-context-BRX1K7nw.d.ts +45 -0
- package/dist/dropzone-status-CW-3AXuh.js +33 -0
- package/dist/emoji-picker-skin-tone-selector-Cmv-1vDO.js +117 -0
- package/dist/emoji-picker-skin-tone-selector-yMYxt4oJ.d.ts +67 -0
- package/dist/empty-title-CH3DhcfT.d.ts +53 -0
- package/dist/empty-title-CHNBH7WJ.js +53 -0
- package/dist/form-field-title-CNrq8v88.js +101 -0
- package/dist/hooks/use-isomorphic-effect.d.ts +7 -0
- package/dist/hooks/use-isomorphic-effect.js +7 -0
- package/dist/hooks/use-mobile.d.ts +4 -0
- package/dist/hooks/use-mobile.js +20 -0
- package/dist/hover-card-trigger-B9jf3FEB.js +31 -0
- package/dist/hover-card-trigger-BqVoZ7h4.d.ts +20 -0
- package/dist/index.d.ts +122 -0
- package/dist/index.js +130 -0
- package/dist/input-group-textarea-voYOV11-.js +79 -0
- package/dist/input-otp-slot-DWbXhUmU.js +45 -0
- package/dist/input-otp-slot-eVdOjx8C.d.ts +24 -0
- package/dist/item-title-BYrYJZpa.js +89 -0
- package/dist/kbd-group-CT-Xtgug.js +12 -0
- package/dist/kbd-group-D3yVrb2D.d.ts +10 -0
- package/dist/marquee-item-BGJ5NSiz.js +29 -0
- package/dist/marquee-item-DD6JuLJ4.d.ts +32 -0
- package/dist/menubar-trigger-BLg3XdRv.d.ts +104 -0
- package/dist/menubar-trigger-aKMWAxdz.js +146 -0
- package/dist/meter-value-BmxUICOA.js +37 -0
- package/dist/meter-value-DYkZLCtx.d.ts +30 -0
- package/dist/navigation-menu-trigger-Bf60DnIz.d.ts +53 -0
- package/dist/navigation-menu-trigger-D80wiliM.js +82 -0
- package/dist/number-field-scrub-area-CXSyafBE.js +80 -0
- package/dist/optional-portal-C7TpYnOc.js +15 -0
- package/dist/pagination-previous-DPZrRgiD.js +88 -0
- package/dist/pagination-previous-qJeZZTou.d.ts +45 -0
- package/dist/pill-status-CD9XXuE7.js +74 -0
- package/dist/pill-status-rg-3AMSI.d.ts +77 -0
- package/dist/popover-trigger-B9PVErig.d.ts +39 -0
- package/dist/popover-trigger-C8dP_u7N.js +52 -0
- package/dist/progress-value-CFlgP0nv.d.ts +28 -0
- package/dist/progress-value-CfCodKnX.js +37 -0
- package/dist/radio-group-item-09fw05Va.d.ts +10 -0
- package/dist/radio-group-item-CQjCazjw.js +24 -0
- package/dist/rating-star-6ov3lbpn.d.ts +57 -0
- package/dist/rating-star-BuLQfAnZ.js +110 -0
- package/dist/resizable-panel-B4lAr8Vb.d.ts +19 -0
- package/dist/resizable-panel-BO97wcPj.js +21 -0
- package/dist/scroll-bar-BQzpb5hF.js +19 -0
- package/dist/scroll-bar-vYvxEOph.d.ts +11 -0
- package/dist/select-value-BUnWentK.js +117 -0
- package/dist/select-value-DG31IHy3.d.ts +70 -0
- package/dist/sheet-trigger-CLgKANrf.d.ts +64 -0
- package/dist/sheet-trigger-CUU7xwUn.js +95 -0
- package/dist/sidebar-trigger-BCjVuIqi.js +366 -0
- package/dist/styles.css +145 -0
- package/dist/table-row-BxhKJPfE.d.ts +46 -0
- package/dist/table-row-D63xalkM.js +60 -0
- package/dist/tabs-trigger-B2mBxFgq.js +38 -0
- package/dist/tabs-trigger-BGo2XGvh.d.ts +41 -0
- package/dist/timeline-title-BH8JxX2n.js +389 -0
- package/dist/toggle-group-item-Bz_ohmnY.d.ts +53 -0
- package/dist/toggle-group-item-aggwtgam.js +34 -0
- package/dist/toolbar-separator-7CgKz2aX.d.ts +40 -0
- package/dist/toolbar-separator-Bre5OtBI.js +41 -0
- package/dist/tooltip-trigger-CrAGfaqr.d.ts +27 -0
- package/dist/tooltip-trigger-Z-aPDRog.js +37 -0
- package/dist/ui/accordion.d.ts +27 -0
- package/dist/ui/accordion.js +17 -0
- package/dist/ui/affix.d.ts +49 -0
- package/dist/ui/affix.js +57 -0
- package/dist/ui/alert-dialog.d.ts +123 -0
- package/dist/ui/alert-dialog.js +23 -0
- package/dist/ui/alert.d.ts +58 -0
- package/dist/ui/alert.js +59 -0
- package/dist/ui/announcement.d.ts +27 -0
- package/dist/ui/announcement.js +16 -0
- package/dist/ui/aspect-ratio.d.ts +13 -0
- package/dist/ui/aspect-ratio.js +13 -0
- package/dist/ui/autocomplete.d.ts +67 -0
- package/dist/ui/autocomplete.js +30 -0
- package/dist/ui/avatar.d.ts +37 -0
- package/dist/ui/avatar.js +22 -0
- package/dist/ui/badge.d.ts +54 -0
- package/dist/ui/badge.js +33 -0
- package/dist/ui/breadcrumb.d.ts +41 -0
- package/dist/ui/breadcrumb.js +20 -0
- package/dist/ui/button-group.d.ts +94 -0
- package/dist/ui/button-group.js +24 -0
- package/dist/ui/button.d.ts +91 -0
- package/dist/ui/button.js +64 -0
- package/dist/ui/calendar.d.ts +52 -0
- package/dist/ui/calendar.js +64 -0
- package/dist/ui/card.d.ts +40 -0
- package/dist/ui/card.js +20 -0
- package/dist/ui/carousel.d.ts +100 -0
- package/dist/ui/carousel.js +76 -0
- package/dist/ui/chart.d.ts +61 -0
- package/dist/ui/chart.js +34 -0
- package/dist/ui/checkbox-group.d.ts +12 -0
- package/dist/ui/checkbox-group.js +13 -0
- package/dist/ui/checkbox.d.ts +12 -0
- package/dist/ui/checkbox.js +27 -0
- package/dist/ui/collapsible.d.ts +19 -0
- package/dist/ui/collapsible.js +16 -0
- package/dist/ui/combobox.d.ts +95 -0
- package/dist/ui/combobox.js +31 -0
- package/dist/ui/command.d.ts +146 -0
- package/dist/ui/command.js +24 -0
- package/dist/ui/context-menu.d.ts +83 -0
- package/dist/ui/context-menu.js +26 -0
- package/dist/ui/country-flag.d.ts +18 -0
- package/dist/ui/country-flag.js +36 -0
- package/dist/ui/dialog.d.ts +53 -0
- package/dist/ui/dialog.js +23 -0
- package/dist/ui/drawer.d.ts +52 -0
- package/dist/ui/drawer.js +24 -0
- package/dist/ui/dropdown-menu.d.ts +88 -0
- package/dist/ui/dropdown-menu.js +26 -0
- package/dist/ui/dropzone.d.ts +233 -0
- package/dist/ui/dropzone.js +180 -0
- package/dist/ui/emoji-picker.d.ts +46 -0
- package/dist/ui/emoji-picker.js +23 -0
- package/dist/ui/empty.d.ts +50 -0
- package/dist/ui/empty.js +18 -0
- package/dist/ui/form-field.d.ts +134 -0
- package/dist/ui/form-field.js +33 -0
- package/dist/ui/google-logo.d.ts +13 -0
- package/dist/ui/google-logo.js +36 -0
- package/dist/ui/hover-card.d.ts +24 -0
- package/dist/ui/hover-card.js +16 -0
- package/dist/ui/input-group.d.ts +141 -0
- package/dist/ui/input-group.js +21 -0
- package/dist/ui/input-otp.d.ts +31 -0
- package/dist/ui/input-otp.js +19 -0
- package/dist/ui/input.d.ts +12 -0
- package/dist/ui/input.js +14 -0
- package/dist/ui/item.d.ts +158 -0
- package/dist/ui/item.js +50 -0
- package/dist/ui/kbd.d.ts +18 -0
- package/dist/ui/kbd.js +14 -0
- package/dist/ui/label.d.ts +12 -0
- package/dist/ui/label.js +15 -0
- package/dist/ui/marquee.d.ts +30 -0
- package/dist/ui/marquee.js +17 -0
- package/dist/ui/menubar.d.ts +228 -0
- package/dist/ui/menubar.js +29 -0
- package/dist/ui/meter.d.ts +29 -0
- package/dist/ui/meter.js +19 -0
- package/dist/ui/navigation-menu.d.ts +12 -0
- package/dist/ui/navigation-menu.js +15 -0
- package/dist/ui/number-field.d.ts +41 -0
- package/dist/ui/number-field.js +33 -0
- package/dist/ui/pagination.d.ts +38 -0
- package/dist/ui/pagination.js +20 -0
- package/dist/ui/pill.d.ts +49 -0
- package/dist/ui/pill.js +21 -0
- package/dist/ui/popover.d.ts +37 -0
- package/dist/ui/popover.js +19 -0
- package/dist/ui/portal.d.ts +29 -0
- package/dist/ui/portal.js +52 -0
- package/dist/ui/progress.d.ts +31 -0
- package/dist/ui/progress.js +22 -0
- package/dist/ui/qr-code.d.ts +20 -0
- package/dist/ui/qr-code.js +78 -0
- package/dist/ui/radio-group.d.ts +18 -0
- package/dist/ui/radio-group.js +15 -0
- package/dist/ui/rating.d.ts +80 -0
- package/dist/ui/rating.js +59 -0
- package/dist/ui/resizable.d.ts +25 -0
- package/dist/ui/resizable.js +18 -0
- package/dist/ui/scroll-area.d.ts +19 -0
- package/dist/ui/scroll-area.js +24 -0
- package/dist/ui/select.d.ts +65 -0
- package/dist/ui/select.js +23 -0
- package/dist/ui/separator.d.ts +12 -0
- package/dist/ui/separator.js +14 -0
- package/dist/ui/sheet.d.ts +54 -0
- package/dist/ui/sheet.js +23 -0
- package/dist/ui/sidebar.d.ts +247 -0
- package/dist/ui/sidebar.js +83 -0
- package/dist/ui/skeleton.d.ts +11 -0
- package/dist/ui/skeleton.js +12 -0
- package/dist/ui/slider.d.ts +15 -0
- package/dist/ui/slider.js +47 -0
- package/dist/ui/spacer.d.ts +18 -0
- package/dist/ui/spacer.js +25 -0
- package/dist/ui/spinner.d.ts +12 -0
- package/dist/ui/spinner.js +17 -0
- package/dist/ui/surface.d.ts +41 -0
- package/dist/ui/surface.js +31 -0
- package/dist/ui/switch.d.ts +14 -0
- package/dist/ui/switch.js +20 -0
- package/dist/ui/table.d.ts +41 -0
- package/dist/ui/table.js +34 -0
- package/dist/ui/tabs.d.ts +43 -0
- package/dist/ui/tabs.js +20 -0
- package/dist/ui/textarea.d.ts +13 -0
- package/dist/ui/textarea.js +14 -0
- package/dist/ui/theme-icon.d.ts +77 -0
- package/dist/ui/theme-icon.js +56 -0
- package/dist/ui/timeline.d.ts +96 -0
- package/dist/ui/timeline.js +88 -0
- package/dist/ui/toast.d.ts +50 -0
- package/dist/ui/toast.js +23 -0
- package/dist/ui/toggle-group.d.ts +31 -0
- package/dist/ui/toggle-group.js +31 -0
- package/dist/ui/toggle.d.ts +46 -0
- package/dist/ui/toggle.js +34 -0
- package/dist/ui/toolbar.d.ts +33 -0
- package/dist/ui/toolbar.js +19 -0
- package/dist/ui/tooltip.d.ts +29 -0
- package/dist/ui/tooltip.js +17 -0
- package/dist/ui/video-player.d.ts +48 -0
- package/dist/ui/video-player.js +37 -0
- package/dist/use-chart-BRpzPrMJ.d.ts +77 -0
- package/dist/use-combobox-anchor-2KUf_cBk.js +198 -0
- package/dist/use-combobox-anchor-ByuqnpKH.d.ts +120 -0
- package/dist/use-number-field-Dzl9JLNK.d.ts +55 -0
- package/dist/use-timeline-BRlmxoQ7.d.ts +81 -0
- package/dist/use-toast-BGG4leSx.d.ts +118 -0
- package/dist/use-toast-DjRKuQG6.js +129 -0
- package/dist/video-player-volume-range-D971L6mz.d.ts +65 -0
- package/dist/video-player-volume-range-V7x0b1-r.js +66 -0
- package/package.json +128 -0
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import "../dropdown-menu-trigger-CFdruqOk.js";
|
|
2
|
+
import { a as MenubarShortcut, c as MenubarRadioGroup, d as MenubarLabel, f as MenubarItem, h as MenubarCheckboxItem, i as MenubarSub, l as MenubarPortal, m as MenubarContent, n as MenubarSubTrigger, o as MenubarSeparator, p as MenubarGroup, r as MenubarSubContent, s as MenubarRadioItem, t as MenubarTrigger, u as MenubarMenu } from "../menubar-trigger-BLg3XdRv.js";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
import * as react from "react";
|
|
5
|
+
import * as _base_ui_react0 from "@base-ui/react";
|
|
6
|
+
import { Menubar as Menubar$1 } from "@base-ui/react/menubar";
|
|
7
|
+
|
|
8
|
+
//#region src/components/menubar/menubar.d.ts
|
|
9
|
+
declare const Menubar: {
|
|
10
|
+
({
|
|
11
|
+
className,
|
|
12
|
+
...props
|
|
13
|
+
}: Menubar$1.Props): react_jsx_runtime0.JSX.Element;
|
|
14
|
+
CheckboxItem: ({
|
|
15
|
+
className,
|
|
16
|
+
children,
|
|
17
|
+
checked,
|
|
18
|
+
...props
|
|
19
|
+
}: _base_ui_react0.MenuCheckboxItem.Props) => react_jsx_runtime0.JSX.Element;
|
|
20
|
+
Content: ({
|
|
21
|
+
className,
|
|
22
|
+
align,
|
|
23
|
+
alignOffset,
|
|
24
|
+
sideOffset,
|
|
25
|
+
...props
|
|
26
|
+
}: react.ComponentProps<({
|
|
27
|
+
align,
|
|
28
|
+
alignOffset,
|
|
29
|
+
side,
|
|
30
|
+
sideOffset,
|
|
31
|
+
className,
|
|
32
|
+
...props
|
|
33
|
+
}: _base_ui_react0.MenuPopup.Props & Pick<_base_ui_react0.MenuPositioner.Props, "align" | "alignOffset" | "side" | "sideOffset">) => react_jsx_runtime0.JSX.Element>) => react_jsx_runtime0.JSX.Element;
|
|
34
|
+
Group: ({
|
|
35
|
+
...props
|
|
36
|
+
}: react.ComponentProps<({
|
|
37
|
+
...props
|
|
38
|
+
}: _base_ui_react0.MenuGroup.Props) => react_jsx_runtime0.JSX.Element>) => react_jsx_runtime0.JSX.Element;
|
|
39
|
+
Item: ({
|
|
40
|
+
className,
|
|
41
|
+
inset,
|
|
42
|
+
variant,
|
|
43
|
+
...props
|
|
44
|
+
}: react.ComponentProps<({
|
|
45
|
+
className,
|
|
46
|
+
inset,
|
|
47
|
+
variant,
|
|
48
|
+
...props
|
|
49
|
+
}: _base_ui_react0.MenuItem.Props & {
|
|
50
|
+
inset?: boolean;
|
|
51
|
+
variant?: "default" | "destructive";
|
|
52
|
+
}) => react_jsx_runtime0.JSX.Element>) => react_jsx_runtime0.JSX.Element;
|
|
53
|
+
Label: ({
|
|
54
|
+
className,
|
|
55
|
+
inset,
|
|
56
|
+
...props
|
|
57
|
+
}: react.ComponentProps<({
|
|
58
|
+
className,
|
|
59
|
+
inset,
|
|
60
|
+
...props
|
|
61
|
+
}: _base_ui_react0.MenuGroupLabel.Props & {
|
|
62
|
+
inset?: boolean;
|
|
63
|
+
}) => react_jsx_runtime0.JSX.Element>) => react_jsx_runtime0.JSX.Element;
|
|
64
|
+
Menu: ({
|
|
65
|
+
...props
|
|
66
|
+
}: react.ComponentProps<{
|
|
67
|
+
({
|
|
68
|
+
...props
|
|
69
|
+
}: _base_ui_react0.MenuRoot.Props): react_jsx_runtime0.JSX.Element;
|
|
70
|
+
CheckboxItem: ({
|
|
71
|
+
className,
|
|
72
|
+
children,
|
|
73
|
+
checked,
|
|
74
|
+
...props
|
|
75
|
+
}: _base_ui_react0.MenuCheckboxItem.Props) => react_jsx_runtime0.JSX.Element;
|
|
76
|
+
Content: ({
|
|
77
|
+
align,
|
|
78
|
+
alignOffset,
|
|
79
|
+
side,
|
|
80
|
+
sideOffset,
|
|
81
|
+
className,
|
|
82
|
+
...props
|
|
83
|
+
}: _base_ui_react0.MenuPopup.Props & Pick<_base_ui_react0.MenuPositioner.Props, "align" | "alignOffset" | "side" | "sideOffset">) => react_jsx_runtime0.JSX.Element;
|
|
84
|
+
Group: ({
|
|
85
|
+
...props
|
|
86
|
+
}: _base_ui_react0.MenuGroup.Props) => react_jsx_runtime0.JSX.Element;
|
|
87
|
+
Item: ({
|
|
88
|
+
className,
|
|
89
|
+
inset,
|
|
90
|
+
variant,
|
|
91
|
+
...props
|
|
92
|
+
}: _base_ui_react0.MenuItem.Props & {
|
|
93
|
+
inset?: boolean;
|
|
94
|
+
variant?: "default" | "destructive";
|
|
95
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
96
|
+
Label: ({
|
|
97
|
+
className,
|
|
98
|
+
inset,
|
|
99
|
+
...props
|
|
100
|
+
}: _base_ui_react0.MenuGroupLabel.Props & {
|
|
101
|
+
inset?: boolean;
|
|
102
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
103
|
+
Portal: ({
|
|
104
|
+
...props
|
|
105
|
+
}: _base_ui_react0.MenuPortal.Props) => react_jsx_runtime0.JSX.Element;
|
|
106
|
+
RadioGroup: ({
|
|
107
|
+
...props
|
|
108
|
+
}: _base_ui_react0.MenuRadioGroup.Props) => react_jsx_runtime0.JSX.Element;
|
|
109
|
+
RadioItem: ({
|
|
110
|
+
className,
|
|
111
|
+
children,
|
|
112
|
+
...props
|
|
113
|
+
}: _base_ui_react0.MenuRadioItem.Props) => react_jsx_runtime0.JSX.Element;
|
|
114
|
+
Separator: ({
|
|
115
|
+
className,
|
|
116
|
+
...props
|
|
117
|
+
}: _base_ui_react0.Separator.Props) => react_jsx_runtime0.JSX.Element;
|
|
118
|
+
Shortcut: ({
|
|
119
|
+
className,
|
|
120
|
+
...props
|
|
121
|
+
}: react.ComponentProps<"span">) => react_jsx_runtime0.JSX.Element;
|
|
122
|
+
Sub: ({
|
|
123
|
+
...props
|
|
124
|
+
}: _base_ui_react0.MenuSubmenuRoot.Props) => react_jsx_runtime0.JSX.Element;
|
|
125
|
+
SubContent: ({
|
|
126
|
+
align,
|
|
127
|
+
alignOffset,
|
|
128
|
+
side,
|
|
129
|
+
sideOffset,
|
|
130
|
+
className,
|
|
131
|
+
...props
|
|
132
|
+
}: react.ComponentProps<({
|
|
133
|
+
align,
|
|
134
|
+
alignOffset,
|
|
135
|
+
side,
|
|
136
|
+
sideOffset,
|
|
137
|
+
className,
|
|
138
|
+
...props
|
|
139
|
+
}: _base_ui_react0.MenuPopup.Props & Pick<_base_ui_react0.MenuPositioner.Props, "align" | "alignOffset" | "side" | "sideOffset">) => react_jsx_runtime0.JSX.Element>) => react_jsx_runtime0.JSX.Element;
|
|
140
|
+
SubTrigger: ({
|
|
141
|
+
className,
|
|
142
|
+
inset,
|
|
143
|
+
children,
|
|
144
|
+
...props
|
|
145
|
+
}: _base_ui_react0.MenuSubmenuTrigger.Props & {
|
|
146
|
+
inset?: boolean;
|
|
147
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
148
|
+
Trigger: ({
|
|
149
|
+
className,
|
|
150
|
+
...props
|
|
151
|
+
}: _base_ui_react0.MenuTrigger.Props) => react_jsx_runtime0.JSX.Element;
|
|
152
|
+
}>) => react_jsx_runtime0.JSX.Element;
|
|
153
|
+
Portal: ({
|
|
154
|
+
...props
|
|
155
|
+
}: react.ComponentProps<({
|
|
156
|
+
...props
|
|
157
|
+
}: _base_ui_react0.MenuPortal.Props) => react_jsx_runtime0.JSX.Element>) => react_jsx_runtime0.JSX.Element;
|
|
158
|
+
RadioGroup: ({
|
|
159
|
+
...props
|
|
160
|
+
}: react.ComponentProps<({
|
|
161
|
+
...props
|
|
162
|
+
}: _base_ui_react0.MenuRadioGroup.Props) => react_jsx_runtime0.JSX.Element>) => react_jsx_runtime0.JSX.Element;
|
|
163
|
+
RadioItem: ({
|
|
164
|
+
className,
|
|
165
|
+
children,
|
|
166
|
+
...props
|
|
167
|
+
}: _base_ui_react0.MenuRadioItem.Props) => react_jsx_runtime0.JSX.Element;
|
|
168
|
+
Separator: ({
|
|
169
|
+
className,
|
|
170
|
+
...props
|
|
171
|
+
}: react.ComponentProps<({
|
|
172
|
+
className,
|
|
173
|
+
...props
|
|
174
|
+
}: _base_ui_react0.Separator.Props) => react_jsx_runtime0.JSX.Element>) => react_jsx_runtime0.JSX.Element;
|
|
175
|
+
Shortcut: ({
|
|
176
|
+
className,
|
|
177
|
+
...props
|
|
178
|
+
}: react.ComponentProps<({
|
|
179
|
+
className,
|
|
180
|
+
...props
|
|
181
|
+
}: react.ComponentProps<"span">) => react_jsx_runtime0.JSX.Element>) => react_jsx_runtime0.JSX.Element;
|
|
182
|
+
Sub: ({
|
|
183
|
+
...props
|
|
184
|
+
}: react.ComponentProps<({
|
|
185
|
+
...props
|
|
186
|
+
}: _base_ui_react0.MenuSubmenuRoot.Props) => react_jsx_runtime0.JSX.Element>) => react_jsx_runtime0.JSX.Element;
|
|
187
|
+
SubContent: ({
|
|
188
|
+
className,
|
|
189
|
+
...props
|
|
190
|
+
}: react.ComponentProps<({
|
|
191
|
+
align,
|
|
192
|
+
alignOffset,
|
|
193
|
+
side,
|
|
194
|
+
sideOffset,
|
|
195
|
+
className,
|
|
196
|
+
...props
|
|
197
|
+
}: react.ComponentProps<({
|
|
198
|
+
align,
|
|
199
|
+
alignOffset,
|
|
200
|
+
side,
|
|
201
|
+
sideOffset,
|
|
202
|
+
className,
|
|
203
|
+
...props
|
|
204
|
+
}: _base_ui_react0.MenuPopup.Props & Pick<_base_ui_react0.MenuPositioner.Props, "align" | "alignOffset" | "side" | "sideOffset">) => react_jsx_runtime0.JSX.Element>) => react_jsx_runtime0.JSX.Element>) => react_jsx_runtime0.JSX.Element;
|
|
205
|
+
SubTrigger: ({
|
|
206
|
+
className,
|
|
207
|
+
inset,
|
|
208
|
+
...props
|
|
209
|
+
}: react.ComponentProps<({
|
|
210
|
+
className,
|
|
211
|
+
inset,
|
|
212
|
+
children,
|
|
213
|
+
...props
|
|
214
|
+
}: _base_ui_react0.MenuSubmenuTrigger.Props & {
|
|
215
|
+
inset?: boolean;
|
|
216
|
+
}) => react_jsx_runtime0.JSX.Element> & {
|
|
217
|
+
inset?: boolean;
|
|
218
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
219
|
+
Trigger: ({
|
|
220
|
+
className,
|
|
221
|
+
...props
|
|
222
|
+
}: react.ComponentProps<({
|
|
223
|
+
className,
|
|
224
|
+
...props
|
|
225
|
+
}: _base_ui_react0.MenuTrigger.Props) => react_jsx_runtime0.JSX.Element>) => react_jsx_runtime0.JSX.Element;
|
|
226
|
+
};
|
|
227
|
+
//#endregion
|
|
228
|
+
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { a as MenubarShortcut, c as MenubarRadioGroup, d as MenubarLabel, f as MenubarItem, h as MenubarCheckboxItem, i as MenubarSub, l as MenubarPortal, m as MenubarContent, n as MenubarSubTrigger, o as MenubarSeparator, p as MenubarGroup, r as MenubarSubContent, s as MenubarRadioItem, t as MenubarTrigger, u as MenubarMenu } from "../menubar-trigger-aKMWAxdz.js";
|
|
2
|
+
import { cn } from "tailwind-variants";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { Menubar as Menubar$1 } from "@base-ui/react/menubar";
|
|
5
|
+
|
|
6
|
+
//#region src/components/menubar/menubar.tsx
|
|
7
|
+
const Menubar = ({ className, ...props }) => /* @__PURE__ */ jsx(Menubar$1, {
|
|
8
|
+
className: cn("flex h-9 items-center gap-1 rounded-md border bg-background p-1", className),
|
|
9
|
+
"data-slot": "menubar",
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
Menubar.CheckboxItem = MenubarCheckboxItem;
|
|
13
|
+
Menubar.Content = MenubarContent;
|
|
14
|
+
Menubar.Group = MenubarGroup;
|
|
15
|
+
Menubar.Item = MenubarItem;
|
|
16
|
+
Menubar.Label = MenubarLabel;
|
|
17
|
+
Menubar.Menu = MenubarMenu;
|
|
18
|
+
Menubar.Portal = MenubarPortal;
|
|
19
|
+
Menubar.RadioGroup = MenubarRadioGroup;
|
|
20
|
+
Menubar.RadioItem = MenubarRadioItem;
|
|
21
|
+
Menubar.Separator = MenubarSeparator;
|
|
22
|
+
Menubar.Shortcut = MenubarShortcut;
|
|
23
|
+
Menubar.Sub = MenubarSub;
|
|
24
|
+
Menubar.SubContent = MenubarSubContent;
|
|
25
|
+
Menubar.SubTrigger = MenubarSubTrigger;
|
|
26
|
+
Menubar.Trigger = MenubarTrigger;
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
29
|
+
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { a as MeterLabel, c as MeterIndicatorProps, i as MeterTrackProps, n as MeterValueProps, o as MeterLabelProps, r as MeterTrack, s as MeterIndicator, t as MeterValue } from "../meter-value-DYkZLCtx.js";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { ComponentProps } from "react";
|
|
4
|
+
import { Meter as Meter$1 } from "@base-ui/react/meter";
|
|
5
|
+
|
|
6
|
+
//#region src/components/meter/meter.d.ts
|
|
7
|
+
type MeterProps = ComponentProps<typeof Meter$1.Root>;
|
|
8
|
+
declare const Meter: {
|
|
9
|
+
({
|
|
10
|
+
className,
|
|
11
|
+
children,
|
|
12
|
+
...props
|
|
13
|
+
}: MeterProps): react_jsx_runtime0.JSX.Element;
|
|
14
|
+
Indicator: (props: MeterIndicatorProps) => react_jsx_runtime0.JSX.Element;
|
|
15
|
+
Label: ({
|
|
16
|
+
className,
|
|
17
|
+
...props
|
|
18
|
+
}: MeterLabelProps) => react_jsx_runtime0.JSX.Element;
|
|
19
|
+
Track: ({
|
|
20
|
+
className,
|
|
21
|
+
...props
|
|
22
|
+
}: MeterTrackProps) => react_jsx_runtime0.JSX.Element;
|
|
23
|
+
Value: ({
|
|
24
|
+
className,
|
|
25
|
+
...props
|
|
26
|
+
}: MeterValueProps) => react_jsx_runtime0.JSX.Element;
|
|
27
|
+
};
|
|
28
|
+
//#endregion
|
|
29
|
+
export { Meter, MeterIndicator, type MeterIndicatorProps, MeterLabel, type MeterLabelProps, MeterProps, MeterTrack, type MeterTrackProps, MeterValue, type MeterValueProps };
|
package/dist/ui/meter.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { i as MeterIndicator, n as MeterTrack, r as MeterLabel, t as MeterValue } from "../meter-value-BmxUICOA.js";
|
|
2
|
+
import { cn } from "tailwind-variants";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { Meter as Meter$1 } from "@base-ui/react/meter";
|
|
5
|
+
|
|
6
|
+
//#region src/components/meter/meter.tsx
|
|
7
|
+
const Meter = ({ className, children, ...props }) => /* @__PURE__ */ jsxs(Meter$1.Root, {
|
|
8
|
+
className: cn("w-full space-y-1.5", className),
|
|
9
|
+
"data-slot": "meter",
|
|
10
|
+
...props,
|
|
11
|
+
children: [children, /* @__PURE__ */ jsx(MeterTrack, { children: /* @__PURE__ */ jsx(MeterIndicator, {}) })]
|
|
12
|
+
});
|
|
13
|
+
Meter.Indicator = MeterIndicator;
|
|
14
|
+
Meter.Label = MeterLabel;
|
|
15
|
+
Meter.Track = MeterTrack;
|
|
16
|
+
Meter.Value = MeterValue;
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { Meter, MeterIndicator, MeterLabel, MeterTrack, MeterValue };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { a as NavigationMenuItem, i as NavigationMenuLink, n as NavigationMenuPositioner, o as NavigationMenuIndicator, r as NavigationMenuList, s as NavigationMenuContent, t as NavigationMenuTrigger } from "../navigation-menu-trigger-Bf60DnIz.js";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { NavigationMenu as NavigationMenu$1 } from "@base-ui/react/navigation-menu";
|
|
4
|
+
|
|
5
|
+
//#region src/components/navigation-menu/navigation-menu.d.ts
|
|
6
|
+
declare const NavigationMenu: ({
|
|
7
|
+
className,
|
|
8
|
+
children,
|
|
9
|
+
...props
|
|
10
|
+
}: NavigationMenu$1.Root.Props) => react_jsx_runtime0.JSX.Element;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPositioner, NavigationMenuTrigger };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { a as NavigationMenuIndicator, i as NavigationMenuItem, n as NavigationMenuList, o as NavigationMenuContent, r as NavigationMenuLink, s as NavigationMenuPositioner, t as NavigationMenuTrigger } from "../navigation-menu-trigger-D80wiliM.js";
|
|
2
|
+
import { cn } from "tailwind-variants";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { NavigationMenu as NavigationMenu$1 } from "@base-ui/react/navigation-menu";
|
|
5
|
+
|
|
6
|
+
//#region src/components/navigation-menu/navigation-menu.tsx
|
|
7
|
+
const NavigationMenu = ({ className, children, ...props }) => /* @__PURE__ */ jsxs(NavigationMenu$1.Root, {
|
|
8
|
+
className: cn("group/navigation-menu relative flex max-w-max max-w-max flex-1 items-center justify-center", className),
|
|
9
|
+
"data-slot": "navigation-menu",
|
|
10
|
+
...props,
|
|
11
|
+
children: [children, /* @__PURE__ */ jsx(NavigationMenuPositioner, {})]
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPositioner, NavigationMenuTrigger };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { a as NumberFieldScrubAreaProps, c as NumberFieldIncrement, d as NumberFieldGroupProps, f as NumberFieldDecrement, i as NumberFieldScrubArea, l as NumberFieldIncrementProps, n as NumberFieldScrubAreaCursor, o as NumberFieldInput, p as NumberFieldDecrementProps, r as NumberFieldScrubAreaCursorProps, s as NumberFieldInputProps, t as useNumberField, u as NumberFieldGroup } from "../use-number-field-Dzl9JLNK.js";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { ComponentProps } from "react";
|
|
4
|
+
import { NumberField as NumberField$1 } from "@base-ui/react/number-field";
|
|
5
|
+
|
|
6
|
+
//#region src/components/number-field/number-field.d.ts
|
|
7
|
+
type NumberFieldProps = ComponentProps<typeof NumberField$1.Root>;
|
|
8
|
+
declare const NumberField: {
|
|
9
|
+
({
|
|
10
|
+
id,
|
|
11
|
+
className,
|
|
12
|
+
children,
|
|
13
|
+
...props
|
|
14
|
+
}: NumberFieldProps): react_jsx_runtime0.JSX.Element;
|
|
15
|
+
Decrement: ({
|
|
16
|
+
className,
|
|
17
|
+
...props
|
|
18
|
+
}: NumberFieldDecrementProps) => react_jsx_runtime0.JSX.Element;
|
|
19
|
+
Group: ({
|
|
20
|
+
className,
|
|
21
|
+
...props
|
|
22
|
+
}: NumberFieldGroupProps) => react_jsx_runtime0.JSX.Element;
|
|
23
|
+
Increment: ({
|
|
24
|
+
className,
|
|
25
|
+
...props
|
|
26
|
+
}: NumberFieldIncrementProps) => react_jsx_runtime0.JSX.Element;
|
|
27
|
+
Input: ({
|
|
28
|
+
className,
|
|
29
|
+
...props
|
|
30
|
+
}: NumberFieldInputProps) => react_jsx_runtime0.JSX.Element;
|
|
31
|
+
ScrubArea: ({
|
|
32
|
+
className,
|
|
33
|
+
...props
|
|
34
|
+
}: NumberFieldScrubAreaProps) => react_jsx_runtime0.JSX.Element;
|
|
35
|
+
ScrubAreaCursor: ({
|
|
36
|
+
className,
|
|
37
|
+
...props
|
|
38
|
+
}: NumberFieldScrubAreaCursorProps) => react_jsx_runtime0.JSX.Element;
|
|
39
|
+
};
|
|
40
|
+
//#endregion
|
|
41
|
+
export { NumberField, NumberFieldDecrement, type NumberFieldDecrementProps, NumberFieldGroup, type NumberFieldGroupProps, NumberFieldIncrement, type NumberFieldIncrementProps, NumberFieldInput, type NumberFieldInputProps, NumberFieldProps, NumberFieldScrubArea, NumberFieldScrubAreaCursor, type NumberFieldScrubAreaCursorProps, type NumberFieldScrubAreaProps, useNumberField };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { a as NumberFieldInput, c as NumberFieldDecrement, i as NumberFieldScrubAreaCursor, n as NumberFieldContext, o as NumberFieldIncrement, r as useNumberField, s as NumberFieldGroup, t as NumberFieldScrubArea } from "../number-field-scrub-area-CXSyafBE.js";
|
|
2
|
+
import { cn } from "tailwind-variants";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { useId } from "react";
|
|
5
|
+
import { NumberField as NumberField$1 } from "@base-ui/react/number-field";
|
|
6
|
+
|
|
7
|
+
//#region src/components/number-field/number-field.tsx
|
|
8
|
+
const NumberField = ({ id, className, children, ...props }) => {
|
|
9
|
+
const fieldId = useId();
|
|
10
|
+
return /* @__PURE__ */ jsx(NumberFieldContext.Provider, {
|
|
11
|
+
value: { id: id || fieldId },
|
|
12
|
+
children: /* @__PURE__ */ jsxs(NumberField$1.Root, {
|
|
13
|
+
className: cn("flex flex-col items-start gap-1", className),
|
|
14
|
+
"data-slot": "number-field",
|
|
15
|
+
id: id || fieldId,
|
|
16
|
+
...props,
|
|
17
|
+
children: [children, /* @__PURE__ */ jsxs(NumberFieldGroup, { children: [
|
|
18
|
+
/* @__PURE__ */ jsx(NumberFieldDecrement, {}),
|
|
19
|
+
/* @__PURE__ */ jsx(NumberFieldInput, {}),
|
|
20
|
+
/* @__PURE__ */ jsx(NumberFieldIncrement, {})
|
|
21
|
+
] })]
|
|
22
|
+
})
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
NumberField.Decrement = NumberFieldDecrement;
|
|
26
|
+
NumberField.Group = NumberFieldGroup;
|
|
27
|
+
NumberField.Increment = NumberFieldIncrement;
|
|
28
|
+
NumberField.Input = NumberFieldInput;
|
|
29
|
+
NumberField.ScrubArea = NumberFieldScrubArea;
|
|
30
|
+
NumberField.ScrubAreaCursor = NumberFieldScrubAreaCursor;
|
|
31
|
+
|
|
32
|
+
//#endregion
|
|
33
|
+
export { NumberField, NumberFieldDecrement, NumberFieldGroup, NumberFieldIncrement, NumberFieldInput, NumberFieldScrubArea, NumberFieldScrubAreaCursor, useNumberField };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { a as PaginationContent, i as PaginationEllipsis, n as PaginationNext, o as PaginationLink, r as PaginationItem, s as PaginationLinkProps, t as PaginationPrevious } from "../pagination-previous-qJeZZTou.js";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { ComponentProps } from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/pagination/pagination.d.ts
|
|
6
|
+
declare const Pagination: {
|
|
7
|
+
({
|
|
8
|
+
className,
|
|
9
|
+
...props
|
|
10
|
+
}: ComponentProps<"nav">): react_jsx_runtime0.JSX.Element;
|
|
11
|
+
Content: ({
|
|
12
|
+
className,
|
|
13
|
+
...props
|
|
14
|
+
}: ComponentProps<"ul">) => react_jsx_runtime0.JSX.Element;
|
|
15
|
+
Ellipsis: ({
|
|
16
|
+
className,
|
|
17
|
+
...props
|
|
18
|
+
}: ComponentProps<"span">) => react_jsx_runtime0.JSX.Element;
|
|
19
|
+
Item: ({
|
|
20
|
+
...props
|
|
21
|
+
}: ComponentProps<"li">) => react_jsx_runtime0.JSX.Element;
|
|
22
|
+
Link: ({
|
|
23
|
+
className,
|
|
24
|
+
isActive,
|
|
25
|
+
size,
|
|
26
|
+
...props
|
|
27
|
+
}: PaginationLinkProps) => react_jsx_runtime0.JSX.Element;
|
|
28
|
+
Next: ({
|
|
29
|
+
className,
|
|
30
|
+
...props
|
|
31
|
+
}: ComponentProps<typeof PaginationLink>) => react_jsx_runtime0.JSX.Element;
|
|
32
|
+
Previous: ({
|
|
33
|
+
className,
|
|
34
|
+
...props
|
|
35
|
+
}: ComponentProps<typeof PaginationLink>) => react_jsx_runtime0.JSX.Element;
|
|
36
|
+
};
|
|
37
|
+
//#endregion
|
|
38
|
+
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { a as PaginationEllipsis, i as PaginationItem, n as PaginationNext, o as PaginationContent, r as PaginationLink, t as PaginationPrevious } from "../pagination-previous-DPZrRgiD.js";
|
|
2
|
+
import { cn } from "tailwind-variants";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/pagination/pagination.tsx
|
|
6
|
+
const Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx("nav", {
|
|
7
|
+
"aria-label": "pagination",
|
|
8
|
+
className: cn("mx-auto flex w-full justify-center", className),
|
|
9
|
+
"data-slot": "pagination",
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
Pagination.Content = PaginationContent;
|
|
13
|
+
Pagination.Ellipsis = PaginationEllipsis;
|
|
14
|
+
Pagination.Item = PaginationItem;
|
|
15
|
+
Pagination.Link = PaginationLink;
|
|
16
|
+
Pagination.Next = PaginationNext;
|
|
17
|
+
Pagination.Previous = PaginationPrevious;
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Badge } from "./badge.js";
|
|
2
|
+
import "../avatar-image-BKgKyzVw.js";
|
|
3
|
+
import { a as PillIcon, c as PillDeltaProps, d as PillAvatarGroup, f as PillAvatarGroupProps, i as PillIndicatorProps, l as PillButton, m as PillAvatarProps, n as PillStatusProps, o as PillIconProps, p as PillAvatar, r as PillIndicator, s as PillDelta, t as PillStatus, u as PillButtonProps } from "../pill-status-rg-3AMSI.js";
|
|
4
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
|
+
import { ComponentProps } from "react";
|
|
6
|
+
|
|
7
|
+
//#region src/components/pill/pill.d.ts
|
|
8
|
+
type PillProps = ComponentProps<typeof Badge>;
|
|
9
|
+
declare const Pill: {
|
|
10
|
+
({
|
|
11
|
+
variant,
|
|
12
|
+
className,
|
|
13
|
+
...props
|
|
14
|
+
}: PillProps): react_jsx_runtime0.JSX.Element;
|
|
15
|
+
Avatar: ({
|
|
16
|
+
fallback,
|
|
17
|
+
className,
|
|
18
|
+
...props
|
|
19
|
+
}: PillAvatarProps) => react_jsx_runtime0.JSX.Element;
|
|
20
|
+
AvatarGroup: ({
|
|
21
|
+
children,
|
|
22
|
+
className,
|
|
23
|
+
...props
|
|
24
|
+
}: PillAvatarGroupProps) => react_jsx_runtime0.JSX.Element;
|
|
25
|
+
Button: ({
|
|
26
|
+
className,
|
|
27
|
+
...props
|
|
28
|
+
}: PillButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
29
|
+
Delta: ({
|
|
30
|
+
className,
|
|
31
|
+
delta
|
|
32
|
+
}: PillDeltaProps) => react_jsx_runtime0.JSX.Element;
|
|
33
|
+
Icon: ({
|
|
34
|
+
icon,
|
|
35
|
+
className,
|
|
36
|
+
...props
|
|
37
|
+
}: PillIconProps) => react_jsx_runtime0.JSX.Element;
|
|
38
|
+
Indicator: ({
|
|
39
|
+
variant,
|
|
40
|
+
pulse
|
|
41
|
+
}: PillIndicatorProps) => react_jsx_runtime0.JSX.Element;
|
|
42
|
+
Status: ({
|
|
43
|
+
children,
|
|
44
|
+
className,
|
|
45
|
+
...props
|
|
46
|
+
}: PillStatusProps) => react_jsx_runtime0.JSX.Element;
|
|
47
|
+
};
|
|
48
|
+
//#endregion
|
|
49
|
+
export { Pill, PillAvatar, PillAvatarGroup, type PillAvatarGroupProps, type PillAvatarProps, PillButton, type PillButtonProps, PillDelta, type PillDeltaProps, PillIcon, type PillIconProps, PillIndicator, type PillIndicatorProps, PillProps, PillStatus, type PillStatusProps };
|
package/dist/ui/pill.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Badge } from "./badge.js";
|
|
2
|
+
import { a as PillButton, i as PillDelta, n as PillIndicator, o as PillAvatarGroup, r as PillIcon, s as PillAvatar, t as PillStatus } from "../pill-status-CD9XXuE7.js";
|
|
3
|
+
import { cn } from "tailwind-variants";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/pill/pill.tsx
|
|
7
|
+
const Pill = ({ variant = "default", className, ...props }) => /* @__PURE__ */ jsx(Badge, {
|
|
8
|
+
className: cn("gap-2 rounded-full px-3 py-1.5 font-normal", className),
|
|
9
|
+
variant,
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
Pill.Avatar = PillAvatar;
|
|
13
|
+
Pill.AvatarGroup = PillAvatarGroup;
|
|
14
|
+
Pill.Button = PillButton;
|
|
15
|
+
Pill.Delta = PillDelta;
|
|
16
|
+
Pill.Icon = PillIcon;
|
|
17
|
+
Pill.Indicator = PillIndicator;
|
|
18
|
+
Pill.Status = PillStatus;
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { Pill, PillAvatar, PillAvatarGroup, PillButton, PillDelta, PillIcon, PillIndicator, PillStatus };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { a as PopoverContent, i as PopoverDescription, n as PopoverTitle, r as PopoverHeader, t as PopoverTrigger } from "../popover-trigger-B9PVErig.js";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import * as react from "react";
|
|
4
|
+
import { Popover as Popover$1 } from "@base-ui/react/popover";
|
|
5
|
+
|
|
6
|
+
//#region src/components/popover/popover.d.ts
|
|
7
|
+
declare const Popover: {
|
|
8
|
+
({
|
|
9
|
+
...props
|
|
10
|
+
}: Popover$1.Root.Props): react_jsx_runtime0.JSX.Element;
|
|
11
|
+
Content: ({
|
|
12
|
+
className,
|
|
13
|
+
align,
|
|
14
|
+
alignOffset,
|
|
15
|
+
side,
|
|
16
|
+
sideOffset,
|
|
17
|
+
...props
|
|
18
|
+
}: Popover$1.Popup.Props & Pick<Popover$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">) => react_jsx_runtime0.JSX.Element;
|
|
19
|
+
Description: ({
|
|
20
|
+
className,
|
|
21
|
+
...props
|
|
22
|
+
}: Popover$1.Description.Props) => react_jsx_runtime0.JSX.Element;
|
|
23
|
+
Header: ({
|
|
24
|
+
className,
|
|
25
|
+
...props
|
|
26
|
+
}: react.ComponentProps<"div">) => react_jsx_runtime0.JSX.Element;
|
|
27
|
+
Title: ({
|
|
28
|
+
className,
|
|
29
|
+
...props
|
|
30
|
+
}: Popover$1.Title.Props) => react_jsx_runtime0.JSX.Element;
|
|
31
|
+
Trigger: ({
|
|
32
|
+
className,
|
|
33
|
+
...props
|
|
34
|
+
}: Popover$1.Trigger.Props) => react_jsx_runtime0.JSX.Element;
|
|
35
|
+
};
|
|
36
|
+
//#endregion
|
|
37
|
+
export { Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { a as PopoverContent, i as PopoverDescription, n as PopoverTitle, r as PopoverHeader, t as PopoverTrigger } from "../popover-trigger-C8dP_u7N.js";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { Popover as Popover$1 } from "@base-ui/react/popover";
|
|
6
|
+
|
|
7
|
+
//#region src/components/popover/popover.tsx
|
|
8
|
+
const Popover = ({ ...props }) => /* @__PURE__ */ jsx(Popover$1.Root, {
|
|
9
|
+
"data-slot": "popover",
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
Popover.Content = PopoverContent;
|
|
13
|
+
Popover.Description = PopoverDescription;
|
|
14
|
+
Popover.Header = PopoverHeader;
|
|
15
|
+
Popover.Title = PopoverTitle;
|
|
16
|
+
Popover.Trigger = PopoverTrigger;
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as react from "react";
|
|
2
|
+
import { ComponentPropsWithoutRef, RefObject } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/portal/portal.d.ts
|
|
5
|
+
type BasePortalProps = ComponentPropsWithoutRef<"div"> & {
|
|
6
|
+
/**
|
|
7
|
+
* Element inside which portal should be created, by default a new div element is created and appended to the `document.body`
|
|
8
|
+
*/
|
|
9
|
+
target?: HTMLElement | string | RefObject<HTMLElement | null>;
|
|
10
|
+
/**
|
|
11
|
+
* If set, all portals are rendered in the same DOM node
|
|
12
|
+
* @default true
|
|
13
|
+
*/
|
|
14
|
+
reuseTargetNode?: boolean;
|
|
15
|
+
};
|
|
16
|
+
type PortalProps = BasePortalProps & {
|
|
17
|
+
/**
|
|
18
|
+
* Portal children, for example, custom modal or popover
|
|
19
|
+
*/
|
|
20
|
+
children: React.ReactNode;
|
|
21
|
+
};
|
|
22
|
+
declare const Portal: ({
|
|
23
|
+
children,
|
|
24
|
+
target,
|
|
25
|
+
reuseTargetNode,
|
|
26
|
+
...others
|
|
27
|
+
}: PortalProps) => react.ReactPortal | null;
|
|
28
|
+
//#endregion
|
|
29
|
+
export { BasePortalProps, Portal, PortalProps };
|