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,33 @@
|
|
|
1
|
+
import { a as ToolbarInput, c as ToolbarGroupProps, i as ToolbarLinkProps, l as ToolbarButton, n as ToolbarSeparatorProps, o as ToolbarInputProps, r as ToolbarLink, s as ToolbarGroup, t as ToolbarSeparator, u as ToolbarButtonProps } from "../toolbar-separator-7CgKz2aX.js";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { Toolbar as Toolbar$1 } from "@base-ui/react/toolbar";
|
|
4
|
+
|
|
5
|
+
//#region src/components/toolbar/toolbar.d.ts
|
|
6
|
+
type ToolbarProps = Toolbar$1.Root.Props;
|
|
7
|
+
declare const Toolbar: {
|
|
8
|
+
({
|
|
9
|
+
className,
|
|
10
|
+
...props
|
|
11
|
+
}: ToolbarProps): react_jsx_runtime0.JSX.Element;
|
|
12
|
+
Button: ({
|
|
13
|
+
className,
|
|
14
|
+
variant,
|
|
15
|
+
size,
|
|
16
|
+
...props
|
|
17
|
+
}: ToolbarButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
18
|
+
Group: ({
|
|
19
|
+
className,
|
|
20
|
+
...props
|
|
21
|
+
}: ToolbarGroupProps) => react_jsx_runtime0.JSX.Element;
|
|
22
|
+
Input: (props: ToolbarInputProps) => react_jsx_runtime0.JSX.Element;
|
|
23
|
+
Link: ({
|
|
24
|
+
className,
|
|
25
|
+
...props
|
|
26
|
+
}: ToolbarLinkProps) => react_jsx_runtime0.JSX.Element;
|
|
27
|
+
Separator: ({
|
|
28
|
+
className,
|
|
29
|
+
...props
|
|
30
|
+
}: ToolbarSeparatorProps) => react_jsx_runtime0.JSX.Element;
|
|
31
|
+
};
|
|
32
|
+
//#endregion
|
|
33
|
+
export { Toolbar, ToolbarButton, type ToolbarButtonProps, ToolbarGroup, type ToolbarGroupProps, ToolbarInput, type ToolbarInputProps, ToolbarLink, type ToolbarLinkProps, ToolbarProps, ToolbarSeparator, type ToolbarSeparatorProps };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { a as ToolbarButton, i as ToolbarGroup, n as ToolbarLink, r as ToolbarInput, t as ToolbarSeparator } from "../toolbar-separator-Bre5OtBI.js";
|
|
2
|
+
import { cn } from "tailwind-variants";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { Toolbar as Toolbar$1 } from "@base-ui/react/toolbar";
|
|
5
|
+
|
|
6
|
+
//#region src/components/toolbar/toolbar.tsx
|
|
7
|
+
const Toolbar = ({ className, ...props }) => /* @__PURE__ */ jsx(Toolbar$1.Root, {
|
|
8
|
+
className: cn("flex items-center gap-1 rounded-lg bg-popover p-1 shadow-xs outline outline-border", className),
|
|
9
|
+
"data-slot": "toolbar",
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
Toolbar.Button = ToolbarButton;
|
|
13
|
+
Toolbar.Group = ToolbarGroup;
|
|
14
|
+
Toolbar.Input = ToolbarInput;
|
|
15
|
+
Toolbar.Link = ToolbarLink;
|
|
16
|
+
Toolbar.Separator = ToolbarSeparator;
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { Toolbar, ToolbarButton, ToolbarGroup, ToolbarInput, ToolbarLink, ToolbarSeparator };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { n as TooltipProvider, r as TooltipContent, t as TooltipTrigger } from "../tooltip-trigger-CrAGfaqr.js";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { Tooltip as Tooltip$1 } from "@base-ui/react/tooltip";
|
|
4
|
+
|
|
5
|
+
//#region src/components/tooltip/tooltip.d.ts
|
|
6
|
+
declare const Tooltip: {
|
|
7
|
+
({
|
|
8
|
+
...props
|
|
9
|
+
}: Tooltip$1.Root.Props): react_jsx_runtime0.JSX.Element;
|
|
10
|
+
Content: ({
|
|
11
|
+
className,
|
|
12
|
+
side,
|
|
13
|
+
sideOffset,
|
|
14
|
+
align,
|
|
15
|
+
alignOffset,
|
|
16
|
+
children,
|
|
17
|
+
...props
|
|
18
|
+
}: Tooltip$1.Popup.Props & Pick<Tooltip$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">) => react_jsx_runtime0.JSX.Element;
|
|
19
|
+
Provider: ({
|
|
20
|
+
delay,
|
|
21
|
+
...props
|
|
22
|
+
}: Tooltip$1.Provider.Props) => react_jsx_runtime0.JSX.Element;
|
|
23
|
+
Trigger: ({
|
|
24
|
+
className,
|
|
25
|
+
...props
|
|
26
|
+
}: Tooltip$1.Trigger.Props) => react_jsx_runtime0.JSX.Element;
|
|
27
|
+
};
|
|
28
|
+
//#endregion
|
|
29
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { n as TooltipProvider, r as TooltipContent, t as TooltipTrigger } from "../tooltip-trigger-Z-aPDRog.js";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { Tooltip as Tooltip$1 } from "@base-ui/react/tooltip";
|
|
6
|
+
|
|
7
|
+
//#region src/components/tooltip/tooltip.tsx
|
|
8
|
+
const Tooltip = ({ ...props }) => /* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsx(Tooltip$1.Root, {
|
|
9
|
+
"data-slot": "tooltip",
|
|
10
|
+
...props
|
|
11
|
+
}) });
|
|
12
|
+
Tooltip.Content = TooltipContent;
|
|
13
|
+
Tooltip.Provider = TooltipProvider;
|
|
14
|
+
Tooltip.Trigger = TooltipTrigger;
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { _ as VideoPlayerContent, a as VideoPlayerTimeDisplay, c as VideoPlayerSeekForwardButtonProps, d as VideoPlayerPlayButton, f as VideoPlayerPlayButtonProps, g as VideoPlayerControlBarProps, h as VideoPlayerControlBar, i as VideoPlayerTimeRangeProps, l as VideoPlayerSeekBackwardButton, m as VideoPlayerMuteButtonProps, n as VideoPlayerVolumeRangeProps, o as VideoPlayerTimeDisplayProps, p as VideoPlayerMuteButton, r as VideoPlayerTimeRange, s as VideoPlayerSeekForwardButton, t as VideoPlayerVolumeRange, u as VideoPlayerSeekBackwardButtonProps, v as VideoPlayerContentProps } from "../video-player-volume-range-D971L6mz.js";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { ComponentProps } from "react";
|
|
4
|
+
import { MediaController } from "media-chrome/react";
|
|
5
|
+
|
|
6
|
+
//#region src/components/video-player/video-player.d.ts
|
|
7
|
+
type VideoPlayerProps = ComponentProps<typeof MediaController>;
|
|
8
|
+
declare const VideoPlayer: {
|
|
9
|
+
({
|
|
10
|
+
style,
|
|
11
|
+
...props
|
|
12
|
+
}: VideoPlayerProps): react_jsx_runtime0.JSX.Element;
|
|
13
|
+
Content: ({
|
|
14
|
+
className,
|
|
15
|
+
...props
|
|
16
|
+
}: VideoPlayerContentProps) => react_jsx_runtime0.JSX.Element;
|
|
17
|
+
ControlBar: (props: VideoPlayerControlBarProps) => react_jsx_runtime0.JSX.Element;
|
|
18
|
+
MuteButton: ({
|
|
19
|
+
className,
|
|
20
|
+
...props
|
|
21
|
+
}: VideoPlayerMuteButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
22
|
+
PlayButton: ({
|
|
23
|
+
className,
|
|
24
|
+
...props
|
|
25
|
+
}: VideoPlayerPlayButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
26
|
+
SeekBackwardButton: ({
|
|
27
|
+
className,
|
|
28
|
+
...props
|
|
29
|
+
}: VideoPlayerSeekBackwardButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
30
|
+
SeekForwardButton: ({
|
|
31
|
+
className,
|
|
32
|
+
...props
|
|
33
|
+
}: VideoPlayerSeekForwardButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
34
|
+
TimeDisplay: ({
|
|
35
|
+
className,
|
|
36
|
+
...props
|
|
37
|
+
}: VideoPlayerTimeDisplayProps) => react_jsx_runtime0.JSX.Element;
|
|
38
|
+
TimeRange: ({
|
|
39
|
+
className,
|
|
40
|
+
...props
|
|
41
|
+
}: VideoPlayerTimeRangeProps) => react_jsx_runtime0.JSX.Element;
|
|
42
|
+
VolumeRange: ({
|
|
43
|
+
className,
|
|
44
|
+
...props
|
|
45
|
+
}: VideoPlayerVolumeRangeProps) => react_jsx_runtime0.JSX.Element;
|
|
46
|
+
};
|
|
47
|
+
//#endregion
|
|
48
|
+
export { VideoPlayer, VideoPlayerContent, type VideoPlayerContentProps, VideoPlayerControlBar, type VideoPlayerControlBarProps, VideoPlayerMuteButton, type VideoPlayerMuteButtonProps, VideoPlayerPlayButton, type VideoPlayerPlayButtonProps, VideoPlayerProps, VideoPlayerSeekBackwardButton, type VideoPlayerSeekBackwardButtonProps, VideoPlayerSeekForwardButton, type VideoPlayerSeekForwardButtonProps, VideoPlayerTimeDisplay, type VideoPlayerTimeDisplayProps, VideoPlayerTimeRange, type VideoPlayerTimeRangeProps, VideoPlayerVolumeRange, type VideoPlayerVolumeRangeProps };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { a as VideoPlayerSeekBackwardButton, c as VideoPlayerControlBar, i as VideoPlayerSeekForwardButton, l as VideoPlayerContent, n as VideoPlayerTimeRange, o as VideoPlayerPlayButton, r as VideoPlayerTimeDisplay, s as VideoPlayerMuteButton, t as VideoPlayerVolumeRange } from "../video-player-volume-range-V7x0b1-r.js";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { MediaController } from "media-chrome/react";
|
|
6
|
+
|
|
7
|
+
//#region src/components/video-player/video-player.tsx
|
|
8
|
+
const variables = {
|
|
9
|
+
"--media-primary-color": "var(--primary)",
|
|
10
|
+
"--media-secondary-color": "var(--background)",
|
|
11
|
+
"--media-text-color": "var(--foreground)",
|
|
12
|
+
"--media-background-color": "var(--background)",
|
|
13
|
+
"--media-control-hover-background": "var(--accent)",
|
|
14
|
+
"--media-font-family": "var(--font-sans)",
|
|
15
|
+
"--media-live-button-icon-color": "var(--muted-foreground)",
|
|
16
|
+
"--media-live-button-indicator-color": "var(--destructive)",
|
|
17
|
+
"--media-range-track-background": "var(--border)"
|
|
18
|
+
};
|
|
19
|
+
const VideoPlayer = ({ style, ...props }) => /* @__PURE__ */ jsx(MediaController, {
|
|
20
|
+
style: {
|
|
21
|
+
...variables,
|
|
22
|
+
...style
|
|
23
|
+
},
|
|
24
|
+
...props
|
|
25
|
+
});
|
|
26
|
+
VideoPlayer.Content = VideoPlayerContent;
|
|
27
|
+
VideoPlayer.ControlBar = VideoPlayerControlBar;
|
|
28
|
+
VideoPlayer.MuteButton = VideoPlayerMuteButton;
|
|
29
|
+
VideoPlayer.PlayButton = VideoPlayerPlayButton;
|
|
30
|
+
VideoPlayer.SeekBackwardButton = VideoPlayerSeekBackwardButton;
|
|
31
|
+
VideoPlayer.SeekForwardButton = VideoPlayerSeekForwardButton;
|
|
32
|
+
VideoPlayer.TimeDisplay = VideoPlayerTimeDisplay;
|
|
33
|
+
VideoPlayer.TimeRange = VideoPlayerTimeRange;
|
|
34
|
+
VideoPlayer.VolumeRange = VideoPlayerVolumeRange;
|
|
35
|
+
|
|
36
|
+
//#endregion
|
|
37
|
+
export { VideoPlayer, VideoPlayerContent, VideoPlayerControlBar, VideoPlayerMuteButton, VideoPlayerPlayButton, VideoPlayerSeekBackwardButton, VideoPlayerSeekForwardButton, VideoPlayerTimeDisplay, VideoPlayerTimeRange, VideoPlayerVolumeRange };
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import { ComponentProps, ComponentType, ReactNode } from "react";
|
|
3
|
+
import { Legend, Tooltip } from "recharts";
|
|
4
|
+
|
|
5
|
+
//#region src/components/chart/chart-types.d.ts
|
|
6
|
+
declare const THEMES: {
|
|
7
|
+
readonly light: "";
|
|
8
|
+
readonly dark: ".dark";
|
|
9
|
+
};
|
|
10
|
+
type ChartConfig = Record<string, {
|
|
11
|
+
label?: ReactNode;
|
|
12
|
+
icon?: ComponentType;
|
|
13
|
+
} & ({
|
|
14
|
+
color?: string;
|
|
15
|
+
theme?: never;
|
|
16
|
+
} | {
|
|
17
|
+
color?: never;
|
|
18
|
+
theme: Record<keyof typeof THEMES, string>;
|
|
19
|
+
})>;
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region src/components/chart/chart-legend.d.ts
|
|
22
|
+
declare const ChartLegend: typeof Legend;
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region src/components/chart/chart-legend-content.d.ts
|
|
25
|
+
declare const ChartLegendContent: ({
|
|
26
|
+
className,
|
|
27
|
+
hideIcon,
|
|
28
|
+
payload,
|
|
29
|
+
verticalAlign,
|
|
30
|
+
nameKey
|
|
31
|
+
}: ComponentProps<"div"> & Pick<ComponentProps<typeof Legend>, "payload" | "verticalAlign"> & {
|
|
32
|
+
hideIcon?: boolean;
|
|
33
|
+
nameKey?: string;
|
|
34
|
+
}) => react_jsx_runtime0.JSX.Element | null;
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region src/components/chart/chart-style.d.ts
|
|
37
|
+
declare const ChartStyle: ({
|
|
38
|
+
id,
|
|
39
|
+
config
|
|
40
|
+
}: {
|
|
41
|
+
id: string;
|
|
42
|
+
config: ChartConfig;
|
|
43
|
+
}) => react_jsx_runtime0.JSX.Element | null;
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region src/components/chart/chart-tooltip.d.ts
|
|
46
|
+
declare const ChartTooltip: typeof Tooltip;
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region src/components/chart/chart-tooltip-content.d.ts
|
|
49
|
+
declare const ChartTooltipContent: ({
|
|
50
|
+
active,
|
|
51
|
+
payload,
|
|
52
|
+
className,
|
|
53
|
+
indicator,
|
|
54
|
+
hideLabel,
|
|
55
|
+
hideIndicator,
|
|
56
|
+
label,
|
|
57
|
+
labelFormatter,
|
|
58
|
+
labelClassName,
|
|
59
|
+
formatter,
|
|
60
|
+
color,
|
|
61
|
+
nameKey,
|
|
62
|
+
labelKey
|
|
63
|
+
}: ComponentProps<typeof Tooltip> & ComponentProps<"div"> & {
|
|
64
|
+
hideLabel?: boolean;
|
|
65
|
+
hideIndicator?: boolean;
|
|
66
|
+
indicator?: "line" | "dot" | "dashed";
|
|
67
|
+
nameKey?: string;
|
|
68
|
+
labelKey?: string;
|
|
69
|
+
}) => react_jsx_runtime0.JSX.Element | null;
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region src/components/chart/use-chart.d.ts
|
|
72
|
+
interface ChartContextProps {
|
|
73
|
+
config: ChartConfig;
|
|
74
|
+
}
|
|
75
|
+
declare const useChart: () => ChartContextProps;
|
|
76
|
+
//#endregion
|
|
77
|
+
export { ChartLegendContent as a, ChartStyle as i, ChartTooltipContent as n, ChartLegend as o, ChartTooltip as r, ChartConfig as s, useChart as t };
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import { Button } from "./ui/button.js";
|
|
2
|
+
import { a as InputGroupAddon, i as InputGroupButton, r as InputGroupInput } from "./input-group-textarea-voYOV11-.js";
|
|
3
|
+
import { InputGroup } from "./ui/input-group.js";
|
|
4
|
+
import { cn } from "tailwind-variants";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { ArrowDown01Icon, Cancel01Icon, Tick02Icon } from "@hugeicons/core-free-icons";
|
|
7
|
+
import { HugeiconsIcon } from "@hugeicons/react";
|
|
8
|
+
import { useRef } from "react";
|
|
9
|
+
import { Combobox } from "@base-ui/react";
|
|
10
|
+
|
|
11
|
+
//#region src/components/combobox/combobox-chip-remove.tsx
|
|
12
|
+
const ComboboxChipRemove = ({ ...props }) => /* @__PURE__ */ jsx(Combobox.ChipRemove, {
|
|
13
|
+
className: "-ml-1 opacity-50 hover:opacity-100",
|
|
14
|
+
"data-slot": "combobox-chip-remove",
|
|
15
|
+
render: /* @__PURE__ */ jsx(Button, {
|
|
16
|
+
size: "icon-xs",
|
|
17
|
+
variant: "ghost"
|
|
18
|
+
}),
|
|
19
|
+
...props,
|
|
20
|
+
children: /* @__PURE__ */ jsx(HugeiconsIcon, {
|
|
21
|
+
className: "pointer-events-none",
|
|
22
|
+
icon: Cancel01Icon,
|
|
23
|
+
strokeWidth: 2
|
|
24
|
+
})
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region src/components/combobox/combobox-chip.tsx
|
|
29
|
+
const ComboboxChip = ({ className, children, showRemove = true, ...props }) => /* @__PURE__ */ jsxs(Combobox.Chip, {
|
|
30
|
+
className: cn("flex h-[calc(--spacing(5.25))] w-fit items-center justify-center gap-1 whitespace-nowrap rounded-sm bg-muted px-1.5 font-medium text-foreground text-xs has-disabled:pointer-events-none has-disabled:cursor-not-allowed has-data-[slot=combobox-chip-remove]:pr-0 has-disabled:opacity-50", className),
|
|
31
|
+
"data-slot": "combobox-chip",
|
|
32
|
+
...props,
|
|
33
|
+
children: [children, showRemove && /* @__PURE__ */ jsx(ComboboxChipRemove, {})]
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/components/combobox/combobox-chips.tsx
|
|
38
|
+
const ComboboxChips = ({ className, ...props }) => /* @__PURE__ */ jsx(Combobox.Chips, {
|
|
39
|
+
className: cn("flex min-h-8 flex-wrap items-center gap-1 rounded-lg border border-input bg-transparent bg-clip-padding px-2.5 py-1 text-sm transition-colors focus-within:border-ring focus-within:ring-[3px] focus-within:ring-ring/50 has-aria-invalid:border-destructive has-data-[slot=combobox-chip]:px-1 has-aria-invalid:ring-[3px] has-aria-invalid:ring-destructive/20 dark:bg-input/30 dark:has-aria-invalid:border-destructive/50 dark:has-aria-invalid:ring-destructive/40", className),
|
|
40
|
+
"data-slot": "combobox-chips",
|
|
41
|
+
...props
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region src/components/combobox/combobox-chips-input.tsx
|
|
46
|
+
const ComboboxChipsInput = ({ className, ...props }) => /* @__PURE__ */ jsx(Combobox.Input, {
|
|
47
|
+
className: cn("min-w-16 flex-1 outline-none", className),
|
|
48
|
+
"data-slot": "combobox-chip-input",
|
|
49
|
+
...props
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
//#endregion
|
|
53
|
+
//#region src/components/combobox/combobox-clear.tsx
|
|
54
|
+
const ComboboxClear = ({ className, ...props }) => /* @__PURE__ */ jsx(Combobox.Clear, {
|
|
55
|
+
className: cn(className),
|
|
56
|
+
"data-slot": "combobox-clear",
|
|
57
|
+
render: /* @__PURE__ */ jsx(InputGroupButton, {
|
|
58
|
+
size: "icon-xs",
|
|
59
|
+
variant: "ghost"
|
|
60
|
+
}),
|
|
61
|
+
...props,
|
|
62
|
+
children: /* @__PURE__ */ jsx(HugeiconsIcon, {
|
|
63
|
+
className: "pointer-events-none",
|
|
64
|
+
icon: Cancel01Icon,
|
|
65
|
+
strokeWidth: 2
|
|
66
|
+
})
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
//#endregion
|
|
70
|
+
//#region src/components/combobox/combobox-collection.tsx
|
|
71
|
+
const ComboboxCollection = ({ ...props }) => /* @__PURE__ */ jsx(Combobox.Collection, {
|
|
72
|
+
"data-slot": "combobox-collection",
|
|
73
|
+
...props
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
//#endregion
|
|
77
|
+
//#region src/components/combobox/combobox-content.tsx
|
|
78
|
+
const ComboboxContent = ({ className, side = "bottom", sideOffset = 6, align = "start", alignOffset = 0, anchor, ...props }) => /* @__PURE__ */ jsx(Combobox.Portal, { children: /* @__PURE__ */ jsx(Combobox.Positioner, {
|
|
79
|
+
align,
|
|
80
|
+
alignOffset,
|
|
81
|
+
anchor,
|
|
82
|
+
className: "isolate z-50",
|
|
83
|
+
side,
|
|
84
|
+
sideOffset,
|
|
85
|
+
children: /* @__PURE__ */ jsx(Combobox.Popup, {
|
|
86
|
+
className: cn("data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 group/combobox-content relative max-h-(--available-height) max-h-72 w-(--anchor-width) min-w-36 min-w-[calc(var(--anchor-width)+--spacing(7))] max-w-(--available-width) origin-(--transform-origin) overflow-hidden rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[chips=true]:min-w-(--anchor-width) data-closed:animate-out data-open:animate-in *:data-[slot=input-group]:m-1 *:data-[slot=input-group]:mb-0 *:data-[slot=input-group]:h-8 *:data-[slot=input-group]:border-input/30 *:data-[slot=input-group]:bg-input/30 *:data-[slot=input-group]:shadow-none", className),
|
|
87
|
+
"data-chips": !!anchor,
|
|
88
|
+
"data-slot": "combobox-content",
|
|
89
|
+
...props
|
|
90
|
+
})
|
|
91
|
+
}) });
|
|
92
|
+
|
|
93
|
+
//#endregion
|
|
94
|
+
//#region src/components/combobox/combobox-empty.tsx
|
|
95
|
+
const ComboboxEmpty = ({ className, ...props }) => /* @__PURE__ */ jsx(Combobox.Empty, {
|
|
96
|
+
className: cn("hidden w-full justify-center py-2 text-center text-muted-foreground text-sm group-data-empty/combobox-content:flex", className),
|
|
97
|
+
"data-slot": "combobox-empty",
|
|
98
|
+
...props
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
//#endregion
|
|
102
|
+
//#region src/components/combobox/combobox-group.tsx
|
|
103
|
+
const ComboboxGroup = ({ className, ...props }) => /* @__PURE__ */ jsx(Combobox.Group, {
|
|
104
|
+
className: cn(className),
|
|
105
|
+
"data-slot": "combobox-group",
|
|
106
|
+
...props
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
//#endregion
|
|
110
|
+
//#region src/components/combobox/combobox-trigger.tsx
|
|
111
|
+
const ComboboxTrigger = ({ className, children, ...props }) => /* @__PURE__ */ jsxs(Combobox.Trigger, {
|
|
112
|
+
className: cn("cursor-pointer [&_svg:not([class*='size-'])]:size-4", className),
|
|
113
|
+
"data-slot": "combobox-trigger",
|
|
114
|
+
...props,
|
|
115
|
+
children: [children, /* @__PURE__ */ jsx(HugeiconsIcon, {
|
|
116
|
+
className: "pointer-events-none size-4 text-muted-foreground",
|
|
117
|
+
icon: ArrowDown01Icon,
|
|
118
|
+
strokeWidth: 2
|
|
119
|
+
})]
|
|
120
|
+
});
|
|
121
|
+
|
|
122
|
+
//#endregion
|
|
123
|
+
//#region src/components/combobox/combobox-input.tsx
|
|
124
|
+
const ComboboxInput = ({ className, children, disabled = false, showTrigger = true, showClear = false, ...props }) => /* @__PURE__ */ jsxs(InputGroup, {
|
|
125
|
+
className: cn("w-auto", className),
|
|
126
|
+
children: [
|
|
127
|
+
/* @__PURE__ */ jsx(Combobox.Input, {
|
|
128
|
+
render: /* @__PURE__ */ jsx(InputGroupInput, { disabled }),
|
|
129
|
+
...props
|
|
130
|
+
}),
|
|
131
|
+
/* @__PURE__ */ jsxs(InputGroupAddon, {
|
|
132
|
+
align: "inline-end",
|
|
133
|
+
children: [showTrigger && /* @__PURE__ */ jsx(InputGroupButton, {
|
|
134
|
+
className: "group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent",
|
|
135
|
+
"data-slot": "input-group-button",
|
|
136
|
+
disabled,
|
|
137
|
+
render: /* @__PURE__ */ jsx(ComboboxTrigger, {}),
|
|
138
|
+
size: "icon-xs",
|
|
139
|
+
variant: "ghost"
|
|
140
|
+
}), showClear && /* @__PURE__ */ jsx(ComboboxClear, { disabled })]
|
|
141
|
+
}),
|
|
142
|
+
children
|
|
143
|
+
]
|
|
144
|
+
});
|
|
145
|
+
|
|
146
|
+
//#endregion
|
|
147
|
+
//#region src/components/combobox/combobox-item.tsx
|
|
148
|
+
const ComboboxItem = ({ className, children, ...props }) => /* @__PURE__ */ jsxs(Combobox.Item, {
|
|
149
|
+
className: cn("relative flex w-full cursor-pointer select-none items-center gap-2 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden data-[disabled]:pointer-events-none data-[disabled]:cursor-not-allowed data-highlighted:bg-accent data-highlighted:text-accent-foreground data-[disabled]:opacity-50 not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", className),
|
|
150
|
+
"data-slot": "combobox-item",
|
|
151
|
+
...props,
|
|
152
|
+
children: [children, /* @__PURE__ */ jsx(Combobox.ItemIndicator, {
|
|
153
|
+
render: /* @__PURE__ */ jsx("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
|
|
154
|
+
children: /* @__PURE__ */ jsx(HugeiconsIcon, {
|
|
155
|
+
className: "pointer-events-none",
|
|
156
|
+
icon: Tick02Icon,
|
|
157
|
+
strokeWidth: 2
|
|
158
|
+
})
|
|
159
|
+
})]
|
|
160
|
+
});
|
|
161
|
+
|
|
162
|
+
//#endregion
|
|
163
|
+
//#region src/components/combobox/combobox-label.tsx
|
|
164
|
+
const ComboboxLabel = ({ className, ...props }) => /* @__PURE__ */ jsx(Combobox.GroupLabel, {
|
|
165
|
+
className: cn("px-2 py-1.5 text-muted-foreground text-xs", className),
|
|
166
|
+
"data-slot": "combobox-label",
|
|
167
|
+
...props
|
|
168
|
+
});
|
|
169
|
+
|
|
170
|
+
//#endregion
|
|
171
|
+
//#region src/components/combobox/combobox-list.tsx
|
|
172
|
+
const ComboboxList = ({ className, ...props }) => /* @__PURE__ */ jsx(Combobox.List, {
|
|
173
|
+
className: cn("no-scrollbar max-h-[min(calc(--spacing(72)---spacing(9)),calc(var(--available-height)---spacing(9)))] scroll-py-1 overflow-y-auto overflow-y-auto overscroll-contain p-1 data-empty:p-0", className),
|
|
174
|
+
"data-slot": "combobox-list",
|
|
175
|
+
...props
|
|
176
|
+
});
|
|
177
|
+
|
|
178
|
+
//#endregion
|
|
179
|
+
//#region src/components/combobox/combobox-separator.tsx
|
|
180
|
+
const ComboboxSeparator = ({ className, ...props }) => /* @__PURE__ */ jsx(Combobox.Separator, {
|
|
181
|
+
className: cn("-mx-1 my-1 h-px bg-border", className),
|
|
182
|
+
"data-slot": "combobox-separator",
|
|
183
|
+
...props
|
|
184
|
+
});
|
|
185
|
+
|
|
186
|
+
//#endregion
|
|
187
|
+
//#region src/components/combobox/combobox-value.tsx
|
|
188
|
+
const ComboboxValue = ({ ...props }) => /* @__PURE__ */ jsx(Combobox.Value, {
|
|
189
|
+
"data-slot": "combobox-value",
|
|
190
|
+
...props
|
|
191
|
+
});
|
|
192
|
+
|
|
193
|
+
//#endregion
|
|
194
|
+
//#region src/components/combobox/use-combobox-anchor.tsx
|
|
195
|
+
const useComboboxAnchor = () => useRef(null);
|
|
196
|
+
|
|
197
|
+
//#endregion
|
|
198
|
+
export { ComboboxChipRemove as _, ComboboxLabel as a, ComboboxTrigger as c, ComboboxContent as d, ComboboxCollection as f, ComboboxChip as g, ComboboxChips as h, ComboboxList as i, ComboboxGroup as l, ComboboxChipsInput as m, ComboboxValue as n, ComboboxItem as o, ComboboxClear as p, ComboboxSeparator as r, ComboboxInput as s, useComboboxAnchor as t, ComboboxEmpty as u };
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as react from "react";
|
|
3
|
+
import { ComponentPropsWithRef } from "react";
|
|
4
|
+
import { Combobox } from "@base-ui/react";
|
|
5
|
+
|
|
6
|
+
//#region src/components/combobox/combobox-chip.d.ts
|
|
7
|
+
declare const ComboboxChip: ({
|
|
8
|
+
className,
|
|
9
|
+
children,
|
|
10
|
+
showRemove,
|
|
11
|
+
...props
|
|
12
|
+
}: Combobox.Chip.Props & {
|
|
13
|
+
showRemove?: boolean;
|
|
14
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/components/combobox/combobox-chip-remove.d.ts
|
|
17
|
+
declare const ComboboxChipRemove: ({
|
|
18
|
+
...props
|
|
19
|
+
}: Combobox.ChipRemove.Props) => react_jsx_runtime0.JSX.Element;
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region src/components/combobox/combobox-chips.d.ts
|
|
22
|
+
declare const ComboboxChips: ({
|
|
23
|
+
className,
|
|
24
|
+
...props
|
|
25
|
+
}: ComponentPropsWithRef<typeof Combobox.Chips> & Combobox.Chips.Props) => react_jsx_runtime0.JSX.Element;
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/components/combobox/combobox-chips-input.d.ts
|
|
28
|
+
declare const ComboboxChipsInput: ({
|
|
29
|
+
className,
|
|
30
|
+
...props
|
|
31
|
+
}: Combobox.Input.Props) => react_jsx_runtime0.JSX.Element;
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region src/components/combobox/combobox-clear.d.ts
|
|
34
|
+
declare const ComboboxClear: ({
|
|
35
|
+
className,
|
|
36
|
+
...props
|
|
37
|
+
}: Combobox.Clear.Props) => react_jsx_runtime0.JSX.Element;
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region src/components/combobox/combobox-collection.d.ts
|
|
40
|
+
declare const ComboboxCollection: ({
|
|
41
|
+
...props
|
|
42
|
+
}: Combobox.Collection.Props) => react_jsx_runtime0.JSX.Element;
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region src/components/combobox/combobox-content.d.ts
|
|
45
|
+
declare const ComboboxContent: ({
|
|
46
|
+
className,
|
|
47
|
+
side,
|
|
48
|
+
sideOffset,
|
|
49
|
+
align,
|
|
50
|
+
alignOffset,
|
|
51
|
+
anchor,
|
|
52
|
+
...props
|
|
53
|
+
}: Combobox.Popup.Props & Pick<Combobox.Positioner.Props, "side" | "align" | "sideOffset" | "alignOffset" | "anchor">) => react_jsx_runtime0.JSX.Element;
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region src/components/combobox/combobox-empty.d.ts
|
|
56
|
+
declare const ComboboxEmpty: ({
|
|
57
|
+
className,
|
|
58
|
+
...props
|
|
59
|
+
}: Combobox.Empty.Props) => react_jsx_runtime0.JSX.Element;
|
|
60
|
+
//#endregion
|
|
61
|
+
//#region src/components/combobox/combobox-group.d.ts
|
|
62
|
+
declare const ComboboxGroup: ({
|
|
63
|
+
className,
|
|
64
|
+
...props
|
|
65
|
+
}: Combobox.Group.Props) => react_jsx_runtime0.JSX.Element;
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region src/components/combobox/combobox-input.d.ts
|
|
68
|
+
declare const ComboboxInput: ({
|
|
69
|
+
className,
|
|
70
|
+
children,
|
|
71
|
+
disabled,
|
|
72
|
+
showTrigger,
|
|
73
|
+
showClear,
|
|
74
|
+
...props
|
|
75
|
+
}: Combobox.Input.Props & {
|
|
76
|
+
showTrigger?: boolean;
|
|
77
|
+
showClear?: boolean;
|
|
78
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
79
|
+
//#endregion
|
|
80
|
+
//#region src/components/combobox/combobox-item.d.ts
|
|
81
|
+
declare const ComboboxItem: ({
|
|
82
|
+
className,
|
|
83
|
+
children,
|
|
84
|
+
...props
|
|
85
|
+
}: Combobox.Item.Props) => react_jsx_runtime0.JSX.Element;
|
|
86
|
+
//#endregion
|
|
87
|
+
//#region src/components/combobox/combobox-label.d.ts
|
|
88
|
+
declare const ComboboxLabel: ({
|
|
89
|
+
className,
|
|
90
|
+
...props
|
|
91
|
+
}: Combobox.GroupLabel.Props) => react_jsx_runtime0.JSX.Element;
|
|
92
|
+
//#endregion
|
|
93
|
+
//#region src/components/combobox/combobox-list.d.ts
|
|
94
|
+
declare const ComboboxList: ({
|
|
95
|
+
className,
|
|
96
|
+
...props
|
|
97
|
+
}: Combobox.List.Props) => react_jsx_runtime0.JSX.Element;
|
|
98
|
+
//#endregion
|
|
99
|
+
//#region src/components/combobox/combobox-separator.d.ts
|
|
100
|
+
declare const ComboboxSeparator: ({
|
|
101
|
+
className,
|
|
102
|
+
...props
|
|
103
|
+
}: Combobox.Separator.Props) => react_jsx_runtime0.JSX.Element;
|
|
104
|
+
//#endregion
|
|
105
|
+
//#region src/components/combobox/combobox-trigger.d.ts
|
|
106
|
+
declare const ComboboxTrigger: ({
|
|
107
|
+
className,
|
|
108
|
+
children,
|
|
109
|
+
...props
|
|
110
|
+
}: Combobox.Trigger.Props) => react_jsx_runtime0.JSX.Element;
|
|
111
|
+
//#endregion
|
|
112
|
+
//#region src/components/combobox/combobox-value.d.ts
|
|
113
|
+
declare const ComboboxValue: ({
|
|
114
|
+
...props
|
|
115
|
+
}: Combobox.Value.Props) => react_jsx_runtime0.JSX.Element;
|
|
116
|
+
//#endregion
|
|
117
|
+
//#region src/components/combobox/use-combobox-anchor.d.ts
|
|
118
|
+
declare const useComboboxAnchor: () => react.RefObject<HTMLDivElement | null>;
|
|
119
|
+
//#endregion
|
|
120
|
+
export { ComboboxChip as _, ComboboxList as a, ComboboxInput as c, ComboboxContent as d, ComboboxCollection as f, ComboboxChipRemove as g, ComboboxChips as h, ComboboxSeparator as i, ComboboxGroup as l, ComboboxChipsInput as m, ComboboxValue as n, ComboboxLabel as o, ComboboxClear as p, ComboboxTrigger as r, ComboboxItem as s, useComboboxAnchor as t, ComboboxEmpty as u };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as react from "react";
|
|
3
|
+
import { ComponentProps } from "react";
|
|
4
|
+
import { NumberField } from "@base-ui/react/number-field";
|
|
5
|
+
|
|
6
|
+
//#region src/components/number-field/number-field-decrement.d.ts
|
|
7
|
+
type NumberFieldDecrementProps = ComponentProps<typeof NumberField.Decrement>;
|
|
8
|
+
declare const NumberFieldDecrement: ({
|
|
9
|
+
className,
|
|
10
|
+
...props
|
|
11
|
+
}: NumberFieldDecrementProps) => react_jsx_runtime0.JSX.Element;
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region src/components/number-field/number-field-group.d.ts
|
|
14
|
+
type NumberFieldGroupProps = ComponentProps<typeof NumberField.Group>;
|
|
15
|
+
declare const NumberFieldGroup: ({
|
|
16
|
+
className,
|
|
17
|
+
...props
|
|
18
|
+
}: NumberFieldGroupProps) => react_jsx_runtime0.JSX.Element;
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region src/components/number-field/number-field-increment.d.ts
|
|
21
|
+
type NumberFieldIncrementProps = ComponentProps<typeof NumberField.Increment>;
|
|
22
|
+
declare const NumberFieldIncrement: ({
|
|
23
|
+
className,
|
|
24
|
+
...props
|
|
25
|
+
}: NumberFieldIncrementProps) => react_jsx_runtime0.JSX.Element;
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/components/number-field/number-field-input.d.ts
|
|
28
|
+
type NumberFieldInputProps = ComponentProps<typeof NumberField.Input>;
|
|
29
|
+
declare const NumberFieldInput: ({
|
|
30
|
+
className,
|
|
31
|
+
...props
|
|
32
|
+
}: NumberFieldInputProps) => react_jsx_runtime0.JSX.Element;
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/components/number-field/number-field-scrub-area.d.ts
|
|
35
|
+
type NumberFieldScrubAreaProps = ComponentProps<typeof NumberField.ScrubArea>;
|
|
36
|
+
declare const NumberFieldScrubArea: ({
|
|
37
|
+
className,
|
|
38
|
+
...props
|
|
39
|
+
}: NumberFieldScrubAreaProps) => react_jsx_runtime0.JSX.Element;
|
|
40
|
+
//#endregion
|
|
41
|
+
//#region src/components/number-field/number-field-scrub-area-cursor.d.ts
|
|
42
|
+
type NumberFieldScrubAreaCursorProps = ComponentProps<typeof NumberField.ScrubAreaCursor>;
|
|
43
|
+
declare const NumberFieldScrubAreaCursor: ({
|
|
44
|
+
className,
|
|
45
|
+
...props
|
|
46
|
+
}: NumberFieldScrubAreaCursorProps) => react_jsx_runtime0.JSX.Element;
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region src/components/number-field/use-number-field.d.ts
|
|
49
|
+
interface NumberFieldContext {
|
|
50
|
+
id: string;
|
|
51
|
+
}
|
|
52
|
+
declare const NumberFieldContext: react.Context<NumberFieldContext | null>;
|
|
53
|
+
declare const useNumberField: () => NumberFieldContext;
|
|
54
|
+
//#endregion
|
|
55
|
+
export { NumberFieldScrubAreaProps as a, NumberFieldIncrement as c, NumberFieldGroupProps as d, NumberFieldDecrement as f, NumberFieldScrubArea as i, NumberFieldIncrementProps as l, NumberFieldScrubAreaCursor as n, NumberFieldInput as o, NumberFieldDecrementProps as p, NumberFieldScrubAreaCursorProps as r, NumberFieldInputProps as s, useNumberField as t, NumberFieldGroup as u };
|