@bysages/react 0.3.0 → 0.4.0
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/{ai-response-jZy-0Tvv.mjs → ai-response-B4DX7nmJ.mjs} +10 -4
- package/dist/chevron-a2nIZKN4.mjs +6 -0
- package/dist/components/accordion/index.d.mts +22 -4
- package/dist/components/accordion/index.mjs +31 -1
- package/dist/components/affix/index.d.mts +4 -1
- package/dist/components/affix/index.mjs +5 -3
- package/dist/components/ai/index.d.mts +2 -2
- package/dist/components/ai/index.mjs +29 -12
- package/dist/components/ai-action/index.d.mts +4 -1
- package/dist/components/ai-action/index.mjs +3 -1
- package/dist/components/ai-attachments/index.d.mts +10 -4
- package/dist/components/ai-attachments/index.mjs +19 -45
- package/dist/components/ai-message/index.d.mts +4 -1
- package/dist/components/ai-message/index.mjs +3 -1
- package/dist/components/ai-prompt-input/index.d.mts +5 -2
- package/dist/components/ai-prompt-input/index.mjs +17 -17
- package/dist/components/ai-reasoning/index.d.mts +4 -1
- package/dist/components/ai-reasoning/index.mjs +4 -2
- package/dist/components/ai-response/index.d.mts +8 -3
- package/dist/components/ai-response/index.mjs +1 -1
- package/dist/components/ai-source/index.d.mts +8 -2
- package/dist/components/ai-source/index.mjs +5 -2
- package/dist/components/ai-suggestion/index.d.mts +4 -1
- package/dist/components/ai-suggestion/index.mjs +3 -1
- package/dist/components/ai-tool/index.d.mts +4 -1
- package/dist/components/ai-tool/index.mjs +4 -2
- package/dist/components/alert/index.d.mts +2 -0
- package/dist/components/alert/index.mjs +11 -18
- package/dist/components/angle-slider/index.d.mts +19 -2
- package/dist/components/angle-slider/index.mjs +31 -8
- package/dist/components/aspect-ratio/index.d.mts +4 -1
- package/dist/components/aspect-ratio/index.mjs +3 -1
- package/dist/components/autocomplete/index.d.mts +3 -1
- package/dist/components/autocomplete/index.mjs +9 -2
- package/dist/components/avatar/index.d.mts +2 -2
- package/dist/components/avatar/index.mjs +9 -2
- package/dist/components/avatar-group/index.d.mts +4 -1
- package/dist/components/avatar-group/index.mjs +3 -1
- package/dist/components/back-top/index.d.mts +7 -1
- package/dist/components/back-top/index.mjs +12 -17
- package/dist/components/badge/index.d.mts +4 -1
- package/dist/components/badge/index.mjs +3 -1
- package/dist/components/banner/index.mjs +13 -18
- package/dist/components/block-ui/index.d.mts +4 -1
- package/dist/components/block-ui/index.mjs +3 -1
- package/dist/components/breadcrumb/index.d.mts +3 -8
- package/dist/components/breadcrumb/index.mjs +11 -1
- package/dist/components/button/index.d.mts +4 -1
- package/dist/components/button/index.mjs +3 -1
- package/dist/components/calendar/index.d.mts +3 -1
- package/dist/components/calendar/index.mjs +9 -10
- package/dist/components/carousel/index.d.mts +21 -1
- package/dist/components/carousel/index.mjs +43 -2
- package/dist/components/cascade-select/index.d.mts +6 -1
- package/dist/components/cascade-select/index.mjs +18 -37
- package/dist/components/checkbox/index.d.mts +20 -2
- package/dist/components/checkbox/index.mjs +28 -8
- package/dist/components/checkbox-group/index.d.mts +8 -6
- package/dist/components/checkbox-group/index.mjs +44 -48
- package/dist/components/chip/index.d.mts +4 -1
- package/dist/components/chip/index.mjs +3 -1
- package/dist/components/client-only/index.d.mts +7 -2
- package/dist/components/client-only/index.mjs +5 -1
- package/dist/components/clipboard/index.d.mts +17 -4
- package/dist/components/clipboard/index.mjs +33 -5
- package/dist/components/collapsible/index.d.mts +16 -4
- package/dist/components/collapsible/index.mjs +25 -1
- package/dist/components/color-picker/index.d.mts +20 -4
- package/dist/components/color-picker/index.mjs +56 -14
- package/dist/components/combobox/index.d.mts +27 -1
- package/dist/components/combobox/index.mjs +62 -5
- package/dist/components/command/index.d.mts +4 -1
- package/dist/components/command/index.mjs +15 -3
- package/dist/components/comment/index.d.mts +4 -1
- package/dist/components/comment/index.mjs +3 -1
- package/dist/components/config-provider/index.d.mts +8 -2
- package/dist/components/config-provider/index.mjs +5 -2
- package/dist/components/container/index.d.mts +4 -1
- package/dist/components/container/index.mjs +3 -1
- package/dist/components/data-view/index.d.mts +4 -1
- package/dist/components/data-view/index.mjs +7 -3
- package/dist/components/date-input/index.d.mts +19 -4
- package/dist/components/date-input/index.mjs +33 -9
- package/dist/components/date-picker/index.d.mts +21 -4
- package/dist/components/date-picker/index.mjs +58 -11
- package/dist/components/deferred-content/index.d.mts +4 -1
- package/dist/components/deferred-content/index.mjs +3 -1
- package/dist/components/descriptions/index.d.mts +10 -2
- package/dist/components/descriptions/index.mjs +13 -8
- package/dist/components/dialog/index.d.mts +18 -5
- package/dist/components/dialog/index.mjs +43 -1
- package/dist/components/download-trigger/index.d.mts +7 -2
- package/dist/components/download-trigger/index.mjs +5 -1
- package/dist/components/drawer/index.d.mts +18 -6
- package/dist/components/drawer/index.mjs +40 -1
- package/dist/components/dynamic-input/index.d.mts +4 -1
- package/dist/components/dynamic-input/index.mjs +13 -19
- package/dist/components/editable/index.d.mts +28 -7
- package/dist/components/editable/index.mjs +43 -4
- package/dist/components/ellipsis/index.d.mts +4 -1
- package/dist/components/ellipsis/index.mjs +3 -1
- package/dist/components/field/index.d.mts +30 -5
- package/dist/components/field/index.mjs +36 -3
- package/dist/components/fieldset/index.d.mts +19 -4
- package/dist/components/fieldset/index.mjs +28 -3
- package/dist/components/file-upload/index.d.mts +36 -9
- package/dist/components/file-upload/index.mjs +66 -11
- package/dist/components/float-button/index.mjs +3 -1
- package/dist/components/floating-panel/index.d.mts +18 -6
- package/dist/components/floating-panel/index.mjs +55 -1
- package/dist/components/focus-trap/index.d.mts +7 -2
- package/dist/components/focus-trap/index.mjs +5 -1
- package/dist/components/form/index.d.mts +1 -1
- package/dist/components/form/index.mjs +5 -2
- package/dist/components/frame/index.d.mts +4 -8
- package/dist/components/frame/index.mjs +13 -1
- package/dist/components/grid/index.d.mts +4 -1
- package/dist/components/grid/index.mjs +3 -1
- package/dist/components/highlight/index.d.mts +3 -5
- package/dist/components/highlight/index.mjs +6 -1
- package/dist/components/hover-card/index.d.mts +20 -4
- package/dist/components/hover-card/index.mjs +32 -1
- package/dist/components/icon/index.d.mts +10 -8
- package/dist/components/icon/index.mjs +5 -3
- package/dist/components/image/index.d.mts +11 -2
- package/dist/components/image/index.mjs +16 -29
- package/dist/components/image-cropper/index.d.mts +13 -2
- package/dist/components/image-cropper/index.mjs +34 -2
- package/dist/components/image-viewer/index.d.mts +2 -18
- package/dist/components/image-viewer/index.mjs +3 -109
- package/dist/components/input/index.d.mts +3 -1
- package/dist/components/input/index.mjs +1 -1
- package/dist/components/json-tree-view/index.d.mts +20 -4
- package/dist/components/json-tree-view/index.mjs +38 -4
- package/dist/components/kbd/index.d.mts +4 -1
- package/dist/components/kbd/index.mjs +3 -1
- package/dist/components/layout/index.d.mts +25 -7
- package/dist/components/layout/index.mjs +159 -63
- package/dist/components/link/index.d.mts +4 -1
- package/dist/components/link/index.mjs +3 -1
- package/dist/components/list/index.d.mts +5 -4
- package/dist/components/list/index.mjs +10 -1
- package/dist/components/listbox/index.d.mts +22 -1
- package/dist/components/listbox/index.mjs +36 -4
- package/dist/components/marquee/index.d.mts +18 -1
- package/dist/components/marquee/index.mjs +34 -2
- package/dist/components/masonry/index.d.mts +4 -1
- package/dist/components/masonry/index.mjs +3 -1
- package/dist/components/media-player/index.d.mts +2 -0
- package/dist/components/media-player/index.mjs +2 -0
- package/dist/components/mentions/index.d.mts +1 -1
- package/dist/components/mentions/index.mjs +1 -1
- package/dist/components/menu/index.d.mts +29 -11
- package/dist/components/menu/index.mjs +34 -12
- package/dist/components/menubar/index.d.mts +3 -1
- package/dist/components/menubar/index.mjs +7 -1
- package/dist/components/navigation-menu/index.d.mts +25 -1
- package/dist/components/navigation-menu/index.mjs +36 -1
- package/dist/components/number-input/index.d.mts +28 -6
- package/dist/components/number-input/index.mjs +33 -8
- package/dist/components/order-list/index.d.mts +4 -1
- package/dist/components/order-list/index.mjs +34 -33
- package/dist/components/pagination/index.d.mts +23 -3
- package/dist/components/pagination/index.mjs +57 -12
- package/dist/components/password-input/index.d.mts +24 -6
- package/dist/components/password-input/index.mjs +31 -8
- package/dist/components/pin-input/index.d.mts +23 -5
- package/dist/components/pin-input/index.mjs +29 -7
- package/dist/components/popconfirm/index.d.mts +9 -5
- package/dist/components/popconfirm/index.mjs +23 -18
- package/dist/components/popover/index.d.mts +2 -8
- package/dist/components/popover/index.mjs +44 -4
- package/dist/components/presence/index.d.mts +10 -2
- package/dist/components/presence/index.mjs +6 -1
- package/dist/components/progress/index.d.mts +18 -3
- package/dist/components/progress/index.mjs +34 -9
- package/dist/components/progress-group/index.d.mts +4 -1
- package/dist/components/progress-group/index.mjs +4 -2
- package/dist/components/qr-code/index.d.mts +14 -1
- package/dist/components/qr-code/index.mjs +26 -2
- package/dist/components/radio-group/index.d.mts +27 -2
- package/dist/components/radio-group/index.mjs +32 -8
- package/dist/components/rating-group/index.d.mts +20 -3
- package/dist/components/rating-group/index.mjs +26 -8
- package/dist/components/result/index.d.mts +1 -1
- package/dist/components/result/index.mjs +2 -2
- package/dist/components/scroll-area/index.d.mts +14 -1
- package/dist/components/scroll-area/index.mjs +32 -2
- package/dist/components/segment-group/index.d.mts +28 -2
- package/dist/components/segment-group/index.mjs +34 -7
- package/dist/components/select/index.d.mts +2 -2
- package/dist/components/select/index.mjs +1 -1
- package/dist/components/separator/index.d.mts +4 -1
- package/dist/components/separator/index.mjs +3 -1
- package/dist/components/signature-pad/index.d.mts +25 -5
- package/dist/components/signature-pad/index.mjs +37 -3
- package/dist/components/skeleton/index.d.mts +4 -1
- package/dist/components/skeleton/index.mjs +3 -1
- package/dist/components/slider/index.d.mts +21 -2
- package/dist/components/slider/index.mjs +31 -8
- package/dist/components/spinner/index.d.mts +4 -1
- package/dist/components/spinner/index.mjs +6 -2
- package/dist/components/split-button/index.d.mts +3 -1
- package/dist/components/split-button/index.mjs +15 -18
- package/dist/components/splitter/index.d.mts +17 -4
- package/dist/components/splitter/index.mjs +35 -1
- package/dist/components/spotlight/index.d.mts +4 -1
- package/dist/components/spotlight/index.mjs +3 -1
- package/dist/components/stack/index.d.mts +4 -1
- package/dist/components/stack/index.mjs +6 -4
- package/dist/components/steps/index.d.mts +27 -3
- package/dist/components/steps/index.mjs +36 -12
- package/dist/components/swap/index.d.mts +11 -5
- package/dist/components/swap/index.mjs +30 -3
- package/dist/components/switch/index.d.mts +20 -2
- package/dist/components/switch/index.mjs +27 -8
- package/dist/components/table/index.d.mts +4 -1
- package/dist/components/table/index.mjs +44 -70
- package/dist/components/tabs/index.d.mts +24 -2
- package/dist/components/tabs/index.mjs +25 -9
- package/dist/components/tags-input/index.d.mts +33 -8
- package/dist/components/tags-input/index.mjs +41 -9
- package/dist/components/terminal/index.d.mts +4 -1
- package/dist/components/terminal/index.mjs +8 -3
- package/dist/components/textarea/index.d.mts +4 -1
- package/dist/components/textarea/index.mjs +3 -1
- package/dist/components/timer/index.d.mts +18 -1
- package/dist/components/timer/index.mjs +51 -2
- package/dist/components/toast/index.d.mts +3 -6
- package/dist/components/toast/index.mjs +22 -2
- package/dist/components/toc/index.d.mts +24 -4
- package/dist/components/toc/index.mjs +41 -3
- package/dist/components/toggle/index.d.mts +11 -4
- package/dist/components/toggle/index.mjs +21 -1
- package/dist/components/toggle-group/index.d.mts +26 -2
- package/dist/components/toggle-group/index.mjs +31 -6
- package/dist/components/toolbar/index.d.mts +4 -1
- package/dist/components/toolbar/index.mjs +3 -1
- package/dist/components/tooltip/index.d.mts +17 -4
- package/dist/components/tooltip/index.mjs +28 -1
- package/dist/components/tour/index.d.mts +18 -9
- package/dist/components/tour/index.mjs +44 -2
- package/dist/components/transfer/index.d.mts +3 -1
- package/dist/components/transfer/index.mjs +20 -30
- package/dist/components/tree-select/index.d.mts +3 -1
- package/dist/components/tree-select/index.mjs +15 -24
- package/dist/components/tree-view/index.d.mts +30 -1
- package/dist/components/tree-view/index.mjs +69 -6
- package/dist/components/typography/index.d.mts +4 -0
- package/dist/components/typography/index.mjs +1 -0
- package/dist/components/user/index.d.mts +4 -1
- package/dist/components/user/index.mjs +3 -1
- package/dist/components/virtual-list/index.d.mts +4 -1
- package/dist/components/virtual-list/index.mjs +11 -12
- package/dist/components/watermark/index.d.mts +4 -1
- package/dist/components/watermark/index.mjs +4 -2
- package/dist/family-DE_GQeeM.mjs +9 -0
- package/dist/icon-BALgGtNK.mjs +18 -0
- package/dist/id-C37UYLwJ.mjs +13 -0
- package/dist/image-viewer-Cf6thHax.mjs +141 -0
- package/dist/{index-Uefyw7Im.d.mts → index-Bbg4heDO.d.mts} +12 -7
- package/dist/index-BcRdWGY-.d.mts +115 -0
- package/dist/{index-DFN9F5Zt.d.mts → index-D_iKc2Uw.d.mts} +32 -3
- package/dist/{index-CsfxYv6J.d.mts → index-DdNKngUQ.d.mts} +63 -39
- package/dist/index-Dj8S4eyJ.d.mts +41 -0
- package/dist/index-Eu-Bttta.d.mts +24 -0
- package/dist/{index-uPyYiWaL.d.mts → index-PsgGWW3m.d.mts} +8 -2
- package/dist/index.d.mts +36 -35
- package/dist/index.mjs +13 -12
- package/dist/{input-2oezH-dY.mjs → input-C21Zzuy6.mjs} +3 -1
- package/dist/media-player-gQrnxU52.mjs +554 -0
- package/dist/{mentions-DMIBCBOd.mjs → mentions-BuWibdci.mjs} +74 -42
- package/dist/messages-1jJWtaYU.mjs +16 -0
- package/dist/select-ozUFq0zd.mjs +121 -0
- package/package.json +3 -3
- package/dist/chevron-BeHvt46K.mjs +0 -17
- package/dist/select-D1xiT1oJ.mjs +0 -68
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Dialog } from "./components/dialog/index.mjs";
|
|
2
|
+
import { ComponentProps, ReactNode } from "react";
|
|
3
|
+
//#region src/components/image-viewer/preview.d.ts
|
|
4
|
+
interface ImageViewerPreviewProps extends Omit<ComponentProps<"span">, "children"> {
|
|
5
|
+
/** Visible beside the affordance over custom content. */
|
|
6
|
+
label?: string;
|
|
7
|
+
"data-part"?: string;
|
|
8
|
+
/** Custom doorway content; omit it for the default curated icon. */
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
/** The default doorway is the curated preview icon; custom content keeps
|
|
12
|
+
* that icon as its hover and focus affordance. */
|
|
13
|
+
declare function ImageViewerPreview({ label, children, "data-part": dataPart, ...rest }: ImageViewerPreviewProps): import("react").JSX.Element;
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region src/components/image-viewer/index.d.ts
|
|
16
|
+
/**
|
|
17
|
+
* Opens the full lightbox from a curated icon by default, or from any
|
|
18
|
+
* wrapped button, image or other doorway. Zoom, rotation, Escape and the scrim
|
|
19
|
+
* stay in the viewer. Anatomy remains available on `ImageViewer.Root`.
|
|
20
|
+
*/
|
|
21
|
+
interface ImageViewerProps {
|
|
22
|
+
id?: string;
|
|
23
|
+
src: string;
|
|
24
|
+
alt?: string;
|
|
25
|
+
open?: boolean;
|
|
26
|
+
zoomable?: boolean;
|
|
27
|
+
/** The large image handed to the lightbox. */
|
|
28
|
+
width?: number | string;
|
|
29
|
+
/** The large image handed to the lightbox. */
|
|
30
|
+
height?: number | string;
|
|
31
|
+
/** The wrapped content that opens the lightbox. */
|
|
32
|
+
children?: ReactNode;
|
|
33
|
+
/** Reports the viewer's next state. */
|
|
34
|
+
onOpenChange?: (open: boolean) => void;
|
|
35
|
+
}
|
|
36
|
+
declare function ImageViewerImpl({ src, alt, open, zoomable, width, height, children, onOpenChange, id }: ImageViewerProps): import("react").JSX.Element;
|
|
37
|
+
declare const ImageViewer: typeof ImageViewerImpl & typeof Dialog & {
|
|
38
|
+
Preview: typeof ImageViewerPreview;
|
|
39
|
+
};
|
|
40
|
+
//#endregion
|
|
41
|
+
export { ImageViewerProps as n, ImageViewer as t };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import { Popover } from "@ark-ui/react/popover";
|
|
3
|
+
//#region src/components/popover/index.d.ts
|
|
4
|
+
type PopoverPlacement = "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
|
|
5
|
+
interface PopoverFacadeProps {
|
|
6
|
+
open?: boolean;
|
|
7
|
+
defaultOpen?: boolean;
|
|
8
|
+
trigger?: ReactNode;
|
|
9
|
+
content?: string;
|
|
10
|
+
label: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
placement?: PopoverPlacement;
|
|
14
|
+
children?: ReactNode;
|
|
15
|
+
onOpenChange?: (open: boolean) => void;
|
|
16
|
+
}
|
|
17
|
+
declare function PopoverFacade({ open, defaultOpen, trigger, content, label, description, disabled, placement, children, onOpenChange }: PopoverFacadeProps): import("react").JSX.Element;
|
|
18
|
+
declare namespace PopoverFacade {
|
|
19
|
+
var displayName: string;
|
|
20
|
+
}
|
|
21
|
+
type PopoverParts = typeof Popover;
|
|
22
|
+
declare const Popover$1: typeof PopoverFacade & PopoverParts;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { PopoverFacadeProps as n, Popover$1 as t };
|
|
@@ -1787,7 +1787,10 @@ interface AnyFormApi {
|
|
|
1787
1787
|
interface FormProps extends HTMLAttributes<HTMLFormElement> {
|
|
1788
1788
|
form: AnyFormApi;
|
|
1789
1789
|
}
|
|
1790
|
-
declare function
|
|
1790
|
+
declare function FormImpl({ form, children, ...rest }: FormProps): import("react").JSX.Element;
|
|
1791
|
+
declare const Form: typeof FormImpl & {
|
|
1792
|
+
Root: typeof FormImpl;
|
|
1793
|
+
};
|
|
1791
1794
|
/**
|
|
1792
1795
|
* The named slot in the grid: label, control, hint — and the engine's
|
|
1793
1796
|
* errors for this name, shown through the same parts the standalone
|
|
@@ -1808,6 +1811,9 @@ interface FormFieldProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"
|
|
|
1808
1811
|
disabled?: boolean;
|
|
1809
1812
|
children?: ReactNode | ((field: any) => ReactNode);
|
|
1810
1813
|
}
|
|
1811
|
-
declare function
|
|
1814
|
+
declare function FormFieldImpl({ form: formProp, name, label, hint, required, invalid, disabled, children, ...rest }: FormFieldProps): import("react").JSX.Element;
|
|
1815
|
+
declare const FormField: typeof FormFieldImpl & {
|
|
1816
|
+
Root: typeof FormFieldImpl;
|
|
1817
|
+
};
|
|
1812
1818
|
//#endregion
|
|
1813
1819
|
export { useField as a, FieldApi as c, FormProps as i, FormField as n, useForm as o, FormFieldProps as r, FormApi as s, Form as t };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
import { Accordion } from "./components/accordion/index.mjs";
|
|
1
|
+
import { Accordion, AccordionFacadeProps, AccordionItem } from "./components/accordion/index.mjs";
|
|
2
2
|
import { Affix, AffixProps } from "./components/affix/index.mjs";
|
|
3
3
|
import { Action, ActionProps } from "./components/ai-action/index.mjs";
|
|
4
4
|
import { AiAttachment as Attachment, AiAttachments as Attachments, AttachmentProps } from "./components/ai-attachments/index.mjs";
|
|
5
5
|
import { AiMessage as Message, MessageProps } from "./components/ai-message/index.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { n as PopoverFacadeProps, t as Popover } from "./index-Eu-Bttta.mjs";
|
|
7
|
+
import { a as MentionsVesselProps, c as useMentions, i as MentionsVessel, n as Mentions, o as UseMentionsHandlers, r as MentionsProps, s as UseMentionsOptions, t as MentionEntry } from "./index-Bbg4heDO.mjs";
|
|
7
8
|
import { AiPromptInput as PromptInput, PromptInputProps } from "./components/ai-prompt-input/index.mjs";
|
|
8
9
|
import { AiReasoning as Reasoning, ReasoningProps } from "./components/ai-reasoning/index.mjs";
|
|
9
10
|
import { AiResponse as Response, ResponseProps } from "./components/ai-response/index.mjs";
|
|
10
11
|
import { AiSource as Source, AiSources as Sources, SourceProps, SourcesProps } from "./components/ai-source/index.mjs";
|
|
11
12
|
import { AiSuggestion as Suggestion, SuggestionProps } from "./components/ai-suggestion/index.mjs";
|
|
12
13
|
import { AiTool as Tool, ToolProps, ToolStatus } from "./components/ai-tool/index.mjs";
|
|
13
|
-
import { a as
|
|
14
|
+
import { a as FileUIPart, c as SourceUrlUIPart, d as ToolUIPart, f as UIMessage, i as DataUIPart, l as StepStartUIPart, n as AiActions, o as ReasoningUIPart, p as UIMessagePart, r as AiContent, s as SourceDocumentUIPart, t as Ai, u as TextUIPart } from "./index-DdNKngUQ.mjs";
|
|
14
15
|
import { Alert, AlertProps, AlertStatus } from "./components/alert/index.mjs";
|
|
15
|
-
import { AngleSlider } from "./components/angle-slider/index.mjs";
|
|
16
|
+
import { AngleSlider, AngleSliderFacadeProps } from "./components/angle-slider/index.mjs";
|
|
16
17
|
import { AspectRatio, AspectRatioProps } from "./components/aspect-ratio/index.mjs";
|
|
18
|
+
import { Combobox } from "./components/combobox/index.mjs";
|
|
17
19
|
import { AutoComplete, AutoCompleteProps } from "./components/autocomplete/index.mjs";
|
|
18
20
|
import { AvatarGroup, AvatarGroupProps } from "./components/avatar-group/index.mjs";
|
|
19
21
|
import { Avatar, AvatarProps, AvatarSize } from "./components/avatar/index.mjs";
|
|
@@ -26,32 +28,31 @@ import { Breadcrumb } from "./components/breadcrumb/index.mjs";
|
|
|
26
28
|
import { Browser, BrowserBody, BrowserDots, BrowserPartProps, BrowserRoot, BrowserTitleBar, BrowserUrlBar } from "./components/browser/index.mjs";
|
|
27
29
|
import { ButtonGroup, ButtonGroupProps } from "./components/button-group/index.mjs";
|
|
28
30
|
import { Button, ButtonProps } from "./components/button/index.mjs";
|
|
31
|
+
import { DatePicker, DatePickerFocusChangeDetails, DatePickerOpenChangeDetails, DatePickerValueChangeDetails, DatePickerViewChangeDetails, DatePickerVisibleRangeChangeDetails } from "./components/date-picker/index.mjs";
|
|
29
32
|
import { Calendar, CalendarProps } from "./components/calendar/index.mjs";
|
|
30
33
|
import { Card } from "./components/card/index.mjs";
|
|
31
34
|
import { Carousel } from "./components/carousel/index.mjs";
|
|
32
35
|
import { CascadeSelect, CascadeSelectNode, CascadeSelectProps } from "./components/cascade-select/index.mjs";
|
|
36
|
+
import { Checkbox, CheckboxFacadeProps } from "./components/checkbox/index.mjs";
|
|
33
37
|
import { CheckboxGroup, CheckboxGroupProps, CheckboxOption } from "./components/checkbox-group/index.mjs";
|
|
34
|
-
import { Checkbox } from "./components/checkbox/index.mjs";
|
|
35
38
|
import { Chip, ChipProps } from "./components/chip/index.mjs";
|
|
36
39
|
import { ClientOnly, ClientOnlyProps } from "./components/client-only/index.mjs";
|
|
37
40
|
import { Clipboard } from "./components/clipboard/index.mjs";
|
|
38
|
-
import { Collapsible } from "./components/collapsible/index.mjs";
|
|
41
|
+
import { Collapsible, CollapsibleFacadeProps } from "./components/collapsible/index.mjs";
|
|
39
42
|
import { CollectionItem, CollectionOptions, FilePathTreeNode, FlatTreeNode, GridCollection, GridCollectionOptions, ListCollection, TreeCollection, TreeCollectionOptions, TreeNode, UseAsyncListProps, UseAsyncListReturn, UseListCollectionProps, UseListCollectionReturn, UseListSelectionProps, UseListSelectionReturn, createFileTreeCollection, createGridCollection, createListCollection, createTreeCollection, useAsyncList, useListCollection, useListSelection } from "./components/collection/index.mjs";
|
|
40
43
|
import { ColorPicker } from "./components/color-picker/index.mjs";
|
|
41
|
-
import {
|
|
44
|
+
import { Dialog, DialogFacadeProps, DialogOpenChangeDetails } from "./components/dialog/index.mjs";
|
|
42
45
|
import { Command, CommandEntry, CommandProps } from "./components/command/index.mjs";
|
|
43
46
|
import { Comment, CommentProps } from "./components/comment/index.mjs";
|
|
44
47
|
import { ConfigContext, ConfigDensity, ConfigProvider, ConfigProviderProps, ConfigScene, useConfig } from "./components/config-provider/index.mjs";
|
|
45
48
|
import { Container, ContainerProps } from "./components/container/index.mjs";
|
|
46
49
|
import { DataView, DataViewProps } from "./components/data-view/index.mjs";
|
|
47
50
|
import { DateInput, DateInputFocusChangeDetails, DateInputValueChangeDetails } from "./components/date-input/index.mjs";
|
|
48
|
-
import { DatePicker, DatePickerFocusChangeDetails, DatePickerOpenChangeDetails, DatePickerValueChangeDetails, DatePickerViewChangeDetails, DatePickerVisibleRangeChangeDetails } from "./components/date-picker/index.mjs";
|
|
49
51
|
import { DeferredContent, DeferredContentProps } from "./components/deferred-content/index.mjs";
|
|
50
|
-
import { Descriptions, DescriptionsRoot, DescriptionsRootProps } from "./components/descriptions/index.mjs";
|
|
51
|
-
import { Dialog, DialogOpenChangeDetails } from "./components/dialog/index.mjs";
|
|
52
|
+
import { Descriptions, DescriptionsItemData, DescriptionsRoot, DescriptionsRootProps } from "./components/descriptions/index.mjs";
|
|
52
53
|
import { Dock, DockItem, DockItemProps, DockProps, DockRoot } from "./components/dock/index.mjs";
|
|
53
54
|
import { DownloadTrigger, DownloadTriggerBaseProps, DownloadTriggerProps, DownloadableData, UseDownloadProps, UseDownloadReturn, useDownload } from "./components/download-trigger/index.mjs";
|
|
54
|
-
import { Drawer } from "./components/drawer/index.mjs";
|
|
55
|
+
import { Drawer, DrawerFacadeProps } from "./components/drawer/index.mjs";
|
|
55
56
|
import { DynamicInput, DynamicInputProps } from "./components/dynamic-input/index.mjs";
|
|
56
57
|
import { Editable } from "./components/editable/index.mjs";
|
|
57
58
|
import { Ellipsis, EllipsisProps } from "./components/ellipsis/index.mjs";
|
|
@@ -60,32 +61,33 @@ import { Field } from "./components/field/index.mjs";
|
|
|
60
61
|
import { Fieldset } from "./components/fieldset/index.mjs";
|
|
61
62
|
import { FileUpload } from "./components/file-upload/index.mjs";
|
|
62
63
|
import { FLOAT_BUTTON_CONTEXT, FloatButton, FloatButtonContextValue, FloatButtonPlacement, FloatButtonRootProps, FloatButtonSize } from "./components/float-button/index.mjs";
|
|
63
|
-
import { FloatingPanel } from "./components/floating-panel/index.mjs";
|
|
64
|
+
import { FloatingPanel, FloatingPanelFacadeProps } from "./components/floating-panel/index.mjs";
|
|
64
65
|
import { FocusTrap, FocusTrapBaseProps, FocusTrapProps } from "./components/focus-trap/index.mjs";
|
|
65
|
-
import { a as useField, c as FieldApi, i as FormProps, n as FormField, o as useForm, r as FormFieldProps, s as FormApi, t as Form } from "./index-
|
|
66
|
+
import { a as useField, c as FieldApi, i as FormProps, n as FormField, o as useForm, r as FormFieldProps, s as FormApi, t as Form } from "./index-PsgGWW3m.mjs";
|
|
66
67
|
import { Format } from "./components/format/index.mjs";
|
|
67
68
|
import { Frame } from "./components/frame/index.mjs";
|
|
68
69
|
import { Grid, GridProps } from "./components/grid/index.mjs";
|
|
69
70
|
import { Highlight } from "./components/highlight/index.mjs";
|
|
70
|
-
import { HoverCard } from "./components/hover-card/index.mjs";
|
|
71
|
+
import { HoverCard, HoverCardFacadeProps } from "./components/hover-card/index.mjs";
|
|
71
72
|
import { Icon, IconProps } from "./components/icon/index.mjs";
|
|
72
|
-
import { ImageCropper } from "./components/image-cropper/index.mjs";
|
|
73
|
-
import {
|
|
73
|
+
import { ImageCropper, ImageCropperFacadeProps } from "./components/image-cropper/index.mjs";
|
|
74
|
+
import { n as ImageViewerProps, t as ImageViewer } from "./index-Dj8S4eyJ.mjs";
|
|
74
75
|
import { Image, ImageProps } from "./components/image/index.mjs";
|
|
75
76
|
import { InputGroup, InputGroupPartProps } from "./components/input-group/index.mjs";
|
|
76
77
|
import { Input, InputProps } from "./components/input/index.mjs";
|
|
77
78
|
import { JsonTreeView } from "./components/json-tree-view/index.mjs";
|
|
78
79
|
import { Kbd, KbdProps } from "./components/kbd/index.mjs";
|
|
79
|
-
import { Layout, LayoutContextValue, LayoutRootProps, LayoutSiderProps } from "./components/layout/index.mjs";
|
|
80
|
+
import { Layout, LayoutContextValue, LayoutResizeHandlers, LayoutRootProps, LayoutSiderProps, LayoutSiderState } from "./components/layout/index.mjs";
|
|
80
81
|
import { Link, LinkProps } from "./components/link/index.mjs";
|
|
81
82
|
import { List, ListContentProps, ListRootProps } from "./components/list/index.mjs";
|
|
82
83
|
import { Listbox } from "./components/listbox/index.mjs";
|
|
83
84
|
import { Marquee } from "./components/marquee/index.mjs";
|
|
84
85
|
import { Masonry, MasonryProps } from "./components/masonry/index.mjs";
|
|
85
|
-
import {
|
|
86
|
+
import { a as MediaTextTrackOption, i as MediaSourceOption, n as Video, o as formatMediaTime, r as MediaPlayerProps, t as Audio } from "./index-BcRdWGY-.mjs";
|
|
87
|
+
import { Menu, MenuFacadeProps, MenuItemOption } from "./components/menu/index.mjs";
|
|
86
88
|
import { Menubar, MenubarEntry, MenubarGroup, MenubarProps } from "./components/menubar/index.mjs";
|
|
87
89
|
import { Meter, MeterRootProps } from "./components/meter/index.mjs";
|
|
88
|
-
import { NavigationMenu } from "./components/navigation-menu/index.mjs";
|
|
90
|
+
import { NavigationMenu, NavigationMenuFacadeProps, NavigationMenuLinkOption } from "./components/navigation-menu/index.mjs";
|
|
89
91
|
import { NumberInput } from "./components/number-input/index.mjs";
|
|
90
92
|
import { OrderList, OrderListProps, OrderOption } from "./components/order-list/index.mjs";
|
|
91
93
|
import { PageHeader } from "./components/page-header/index.mjs";
|
|
@@ -93,44 +95,43 @@ import { Pagination } from "./components/pagination/index.mjs";
|
|
|
93
95
|
import { PasswordInput } from "./components/password-input/index.mjs";
|
|
94
96
|
import { PinInput } from "./components/pin-input/index.mjs";
|
|
95
97
|
import { Popconfirm, PopconfirmProps } from "./components/popconfirm/index.mjs";
|
|
96
|
-
import { Popover } from "./components/popover/index.mjs";
|
|
97
98
|
import { Presence, PresenceBaseProps, PresenceProps, PresenceProvider, UsePresenceContext, UsePresenceProps, UsePresenceReturn, usePresence, usePresenceContext } from "./components/presence/index.mjs";
|
|
98
99
|
import { ProgressGroup, ProgressGroupProps, ProgressSegment } from "./components/progress-group/index.mjs";
|
|
99
100
|
import { Progress } from "./components/progress/index.mjs";
|
|
100
101
|
import { QrCode } from "./components/qr-code/index.mjs";
|
|
101
|
-
import { RadioGroup } from "./components/radio-group/index.mjs";
|
|
102
|
-
import { RatingGroup } from "./components/rating-group/index.mjs";
|
|
102
|
+
import { RadioGroup, RadioGroupFacadeProps, RadioGroupItem } from "./components/radio-group/index.mjs";
|
|
103
|
+
import { RatingGroup, RatingGroupFacadeProps } from "./components/rating-group/index.mjs";
|
|
103
104
|
import { Result, ResultIcon, ResultRoot, ResultRootProps } from "./components/result/index.mjs";
|
|
104
105
|
import { ScrollArea } from "./components/scroll-area/index.mjs";
|
|
105
|
-
import { SegmentGroup } from "./components/segment-group/index.mjs";
|
|
106
|
-
import {
|
|
106
|
+
import { SegmentGroup, SegmentGroupFacadeProps, SegmentGroupItem } from "./components/segment-group/index.mjs";
|
|
107
|
+
import { a as NativeSelectProps, i as NativeSelectOption, n as SelectFacadeProps, r as NativeSelect, t as Select } from "./index-D_iKc2Uw.mjs";
|
|
107
108
|
import { Separator, SeparatorProps } from "./components/separator/index.mjs";
|
|
108
109
|
import { SignaturePad } from "./components/signature-pad/index.mjs";
|
|
109
110
|
import { Skeleton, SkeletonProps } from "./components/skeleton/index.mjs";
|
|
110
|
-
import { Slider } from "./components/slider/index.mjs";
|
|
111
|
+
import { Slider, SliderFacadeProps } from "./components/slider/index.mjs";
|
|
111
112
|
import { Spinner, SpinnerProps } from "./components/spinner/index.mjs";
|
|
112
113
|
import { SplitButton, SplitButtonEntry, SplitButtonProps } from "./components/split-button/index.mjs";
|
|
113
|
-
import { Splitter } from "./components/splitter/index.mjs";
|
|
114
|
+
import { Splitter, SplitterFacadeProps, SplitterItem } from "./components/splitter/index.mjs";
|
|
114
115
|
import { Spotlight, SpotlightProps } from "./components/spotlight/index.mjs";
|
|
115
116
|
import { Stack, StackProps } from "./components/stack/index.mjs";
|
|
116
117
|
import { Stat, StatDeltaProps } from "./components/stat/index.mjs";
|
|
117
|
-
import { Steps } from "./components/steps/index.mjs";
|
|
118
|
+
import { Steps, StepsFacadeProps, StepsItem } from "./components/steps/index.mjs";
|
|
118
119
|
import { Swap } from "./components/swap/index.mjs";
|
|
119
|
-
import { Switch } from "./components/switch/index.mjs";
|
|
120
|
+
import { Switch, SwitchFacadeProps } from "./components/switch/index.mjs";
|
|
120
121
|
import { ColumnDef, DataTable, DataTableProps, FlexRender, SortingState, createColumnHelper } from "./components/table/index.mjs";
|
|
121
|
-
import { Tabs } from "./components/tabs/index.mjs";
|
|
122
|
+
import { Tabs, TabsFacadeProps, TabsItem } from "./components/tabs/index.mjs";
|
|
122
123
|
import { TagsInput } from "./components/tags-input/index.mjs";
|
|
123
124
|
import { Terminal, TerminalProps } from "./components/terminal/index.mjs";
|
|
124
125
|
import { Textarea, TextareaProps } from "./components/textarea/index.mjs";
|
|
125
126
|
import { Timeline } from "./components/timeline/index.mjs";
|
|
126
127
|
import { Timer } from "./components/timer/index.mjs";
|
|
127
128
|
import { CreateToasterReturn, Toast, Toaster, createToaster } from "./components/toast/index.mjs";
|
|
128
|
-
import { Toc } from "./components/toc/index.mjs";
|
|
129
|
-
import { ToggleGroup } from "./components/toggle-group/index.mjs";
|
|
130
|
-
import { Toggle } from "./components/toggle/index.mjs";
|
|
129
|
+
import { Toc, TocFacadeProps } from "./components/toc/index.mjs";
|
|
130
|
+
import { ToggleGroup, ToggleGroupFacadeProps, ToggleGroupItem } from "./components/toggle-group/index.mjs";
|
|
131
|
+
import { Toggle, ToggleFacadeProps } from "./components/toggle/index.mjs";
|
|
131
132
|
import { Toolbar, ToolbarProps } from "./components/toolbar/index.mjs";
|
|
132
|
-
import { Tooltip } from "./components/tooltip/index.mjs";
|
|
133
|
-
import { Tour, TourInteractOutsideEvent, TourPointerDownOutsideEvent, TourStepDetails, useTour } from "./components/tour/index.mjs";
|
|
133
|
+
import { Tooltip, TooltipFacadeProps } from "./components/tooltip/index.mjs";
|
|
134
|
+
import { Tour, TourFacadeProps, TourInteractOutsideEvent, TourPointerDownOutsideEvent, TourStepDetails, useTour } from "./components/tour/index.mjs";
|
|
134
135
|
import { Transfer, TransferItem, TransferProps } from "./components/transfer/index.mjs";
|
|
135
136
|
import { TreeSelect, TreeSelectNode, TreeSelectProps } from "./components/tree-select/index.mjs";
|
|
136
137
|
import { TreeView } from "./components/tree-view/index.mjs";
|
|
@@ -139,4 +140,4 @@ import { User, UserProps } from "./components/user/index.mjs";
|
|
|
139
140
|
import { VirtualList, VirtualListProps } from "./components/virtual-list/index.mjs";
|
|
140
141
|
import { Watermark, WatermarkProps } from "./components/watermark/index.mjs";
|
|
141
142
|
export * from "@bysages/core";
|
|
142
|
-
export { Accordion, Action, Action as AiAction, ActionProps, Affix, AffixProps, Ai, AiActions, Attachment as AiAttachment, Attachment, Attachments as AiAttachments, Attachments, AiContent,
|
|
143
|
+
export { Accordion, AccordionFacadeProps, AccordionItem, Action, Action as AiAction, ActionProps, Affix, AffixProps, Ai, AiActions, Attachment as AiAttachment, Attachment, Attachments as AiAttachments, Attachments, AiContent, Message as AiMessage, Message, PromptInput as AiPromptInput, PromptInput, Reasoning as AiReasoning, Reasoning, Response as AiResponse, Response, Source as AiSource, Source, Sources as AiSources, Sources, Suggestion as AiSuggestion, Suggestion, Tool as AiTool, Tool, Alert, AlertProps, AlertStatus, AngleSlider, AngleSliderFacadeProps, AspectRatio, AspectRatioProps, AttachmentProps, Audio, AutoComplete, AutoCompleteProps, Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, AvatarSize, BackTop, BackTopProps, Badge, BadgeProps, Banner, BannerRootProps, BannerStatus, Bento, BentoCell, BentoCellProps, BentoProps, BentoRoot, BlockUI, BlockUIProps, Breadcrumb, Browser, BrowserBody, BrowserDots, BrowserPartProps, BrowserRoot, BrowserTitleBar, BrowserUrlBar, Button, ButtonGroup, ButtonGroupProps, ButtonProps, Calendar, CalendarProps, Card, Carousel, CascadeSelect, CascadeSelectNode, CascadeSelectProps, Checkbox, CheckboxFacadeProps, CheckboxGroup, CheckboxGroupProps, CheckboxOption, Chip, ChipProps, ClientOnly, type ClientOnlyProps, Clipboard, Collapsible, CollapsibleFacadeProps, type CollectionItem, type CollectionOptions, ColorPicker, type ColumnDef, Combobox, Command, CommandEntry, CommandProps, Comment, CommentProps, ConfigContext, ConfigDensity, ConfigProvider, ConfigProviderProps, ConfigScene, Container, ContainerProps, type CreateToasterReturn, DataTable, DataTableProps, type DataUIPart, DataView, DataViewProps, DateInput, type DateInputFocusChangeDetails, type DateInputValueChangeDetails, DatePicker, type DatePickerFocusChangeDetails, type DatePickerOpenChangeDetails, type DatePickerValueChangeDetails, type DatePickerViewChangeDetails, type DatePickerVisibleRangeChangeDetails, DeferredContent, DeferredContentProps, Descriptions, DescriptionsItemData, DescriptionsRoot, DescriptionsRootProps, Dialog, DialogFacadeProps, type DialogOpenChangeDetails, Dock, DockItem, DockItemProps, DockProps, DockRoot, DownloadTrigger, type DownloadTriggerBaseProps, type DownloadTriggerProps, type DownloadableData, Drawer, DrawerFacadeProps, DynamicInput, DynamicInputProps, Editable, Ellipsis, EllipsisProps, Empty, FLOAT_BUTTON_CONTEXT, Field, type FieldApi, Fieldset, type FilePathTreeNode, type FileUIPart, FileUpload, type FlatTreeNode, FlexRender, FloatButton, FloatButtonContextValue, FloatButtonPlacement, FloatButtonRootProps, FloatButtonSize, FloatingPanel, FloatingPanelFacadeProps, FocusTrap, type FocusTrapBaseProps, type FocusTrapProps, Form, type FormApi, FormField, FormFieldProps, FormProps, Format, Frame, Grid, type GridCollection, type GridCollectionOptions, GridProps, Highlight, HoverCard, HoverCardFacadeProps, Icon, IconProps, Image, ImageCropper, ImageCropperFacadeProps, ImageProps, ImageViewer, ImageViewerProps, Input, InputGroup, InputGroupPartProps, InputProps, JsonTreeView, Kbd, KbdProps, Layout, LayoutContextValue, LayoutResizeHandlers, LayoutRootProps, LayoutSiderProps, LayoutSiderState, Link, LinkProps, List, type ListCollection, ListContentProps, ListRootProps, Listbox, Marquee, Masonry, MasonryProps, type MediaPlayerProps, type MediaSourceOption, type MediaTextTrackOption, MentionEntry, Mentions, MentionsProps, MentionsVessel, MentionsVesselProps, Menu, MenuFacadeProps, MenuItemOption, Menubar, MenubarEntry, MenubarGroup, MenubarProps, MessageProps, Meter, MeterRootProps, NativeSelect, type NativeSelectOption, type NativeSelectProps, NavigationMenu, NavigationMenuFacadeProps, NavigationMenuLinkOption, NumberInput, OrderList, OrderListProps, OrderOption, PageHeader, Pagination, PasswordInput, PinInput, Popconfirm, PopconfirmProps, Popover, PopoverFacadeProps, Presence, type PresenceBaseProps, type PresenceProps, PresenceProvider, Progress, ProgressGroup, ProgressGroupProps, ProgressSegment, PromptInputProps, QrCode, RadioGroup, RadioGroupFacadeProps, RadioGroupItem, RatingGroup, RatingGroupFacadeProps, ReasoningProps, type ReasoningUIPart, ResponseProps, Result, ResultIcon, ResultRoot, ResultRootProps, ScrollArea, SegmentGroup, SegmentGroupFacadeProps, SegmentGroupItem, Select, SelectFacadeProps, Separator, SeparatorProps, SignaturePad, Skeleton, SkeletonProps, Slider, SliderFacadeProps, type SortingState, type SourceDocumentUIPart, SourceProps, type SourceUrlUIPart, SourcesProps, Spinner, SpinnerProps, SplitButton, SplitButtonEntry, SplitButtonProps, Splitter, SplitterFacadeProps, SplitterItem, Spotlight, SpotlightProps, Stack, StackProps, Stat, StatDeltaProps, type StepStartUIPart, Steps, StepsFacadeProps, StepsItem, SuggestionProps, Swap, Switch, SwitchFacadeProps, Tabs, TabsFacadeProps, TabsItem, TagsInput, Terminal, TerminalProps, type TextUIPart, Textarea, TextareaProps, Timeline, Timer, Toast, Toaster, Toc, TocFacadeProps, Toggle, ToggleFacadeProps, ToggleGroup, ToggleGroupFacadeProps, ToggleGroupItem, ToolProps, ToolStatus, type ToolUIPart, Toolbar, ToolbarProps, Tooltip, TooltipFacadeProps, Tour, TourFacadeProps, type TourInteractOutsideEvent, type TourPointerDownOutsideEvent, type TourStepDetails, Transfer, TransferItem, TransferProps, type TreeCollection, type TreeCollectionOptions, type TreeNode, TreeSelect, TreeSelectNode, TreeSelectProps, TreeView, Typography, type UIMessage, type UIMessagePart, type UseAsyncListProps, type UseAsyncListReturn, type UseDownloadProps, type UseDownloadReturn, type UseListCollectionProps, type UseListCollectionReturn, type UseListSelectionProps, type UseListSelectionReturn, type UseMentionsHandlers, type UseMentionsOptions, type UsePresenceContext, type UsePresenceProps, type UsePresenceReturn, User, UserProps, Video, VirtualList, VirtualListProps, Watermark, WatermarkProps, createColumnHelper, createFileTreeCollection, createGridCollection, createToaster, createTreeCollection, formatMediaTime, useAsyncList, useConfig, useDownload, useField, useForm, useListCollection, useListSelection, useMentions, usePresence, usePresenceContext, useTour };
|
package/dist/index.mjs
CHANGED
|
@@ -1,22 +1,25 @@
|
|
|
1
1
|
import { Accordion } from "./components/accordion/index.mjs";
|
|
2
2
|
import { Affix } from "./components/affix/index.mjs";
|
|
3
|
+
import { ConfigProvider, useConfig } from "./components/config-provider/index.mjs";
|
|
3
4
|
import { Button } from "./components/button/index.mjs";
|
|
4
5
|
import { Action } from "./components/ai-action/index.mjs";
|
|
5
6
|
import { AiMessage as Message } from "./components/ai-message/index.mjs";
|
|
6
7
|
import { Field } from "./components/field/index.mjs";
|
|
7
|
-
import {
|
|
8
|
+
import { Popover } from "./components/popover/index.mjs";
|
|
9
|
+
import { n as MentionsVessel, r as useMentions, t as Mentions } from "./mentions-BuWibdci.mjs";
|
|
8
10
|
import { AiPromptInput as PromptInput } from "./components/ai-prompt-input/index.mjs";
|
|
9
11
|
import { Collapsible } from "./components/collapsible/index.mjs";
|
|
10
12
|
import { AiReasoning as Reasoning } from "./components/ai-reasoning/index.mjs";
|
|
11
|
-
import { t as Response } from "./ai-response-
|
|
13
|
+
import { t as Response } from "./ai-response-B4DX7nmJ.mjs";
|
|
12
14
|
import { AiSource as Source, AiSources as Sources } from "./components/ai-source/index.mjs";
|
|
13
15
|
import { AiSuggestion as Suggestion } from "./components/ai-suggestion/index.mjs";
|
|
14
16
|
import { AiTool as Tool } from "./components/ai-tool/index.mjs";
|
|
15
|
-
import { Ai, AiActions, AiContent
|
|
17
|
+
import { Ai, AiActions, AiContent } from "./components/ai/index.mjs";
|
|
16
18
|
import { AiAttachment as Attachment, AiAttachments as Attachments } from "./components/ai-attachments/index.mjs";
|
|
17
19
|
import { Alert } from "./components/alert/index.mjs";
|
|
18
20
|
import { AngleSlider } from "./components/angle-slider/index.mjs";
|
|
19
21
|
import { AspectRatio } from "./components/aspect-ratio/index.mjs";
|
|
22
|
+
import { Combobox } from "./components/combobox/index.mjs";
|
|
20
23
|
import { AutoComplete } from "./components/autocomplete/index.mjs";
|
|
21
24
|
import { Avatar } from "./components/avatar/index.mjs";
|
|
22
25
|
import { AvatarGroup } from "./components/avatar-group/index.mjs";
|
|
@@ -29,10 +32,11 @@ import { BlockUI } from "./components/block-ui/index.mjs";
|
|
|
29
32
|
import { Breadcrumb } from "./components/breadcrumb/index.mjs";
|
|
30
33
|
import { Browser, BrowserBody, BrowserDots, BrowserRoot, BrowserTitleBar, BrowserUrlBar } from "./components/browser/index.mjs";
|
|
31
34
|
import { ButtonGroup } from "./components/button-group/index.mjs";
|
|
35
|
+
import { DatePicker } from "./components/date-picker/index.mjs";
|
|
32
36
|
import { Calendar } from "./components/calendar/index.mjs";
|
|
33
37
|
import { Card } from "./components/card/index.mjs";
|
|
34
38
|
import { Carousel } from "./components/carousel/index.mjs";
|
|
35
|
-
import { t as Input } from "./input-
|
|
39
|
+
import { t as Input } from "./input-C21Zzuy6.mjs";
|
|
36
40
|
import { CascadeSelect } from "./components/cascade-select/index.mjs";
|
|
37
41
|
import { Checkbox } from "./components/checkbox/index.mjs";
|
|
38
42
|
import { CheckboxGroup } from "./components/checkbox-group/index.mjs";
|
|
@@ -41,18 +45,15 @@ import { ClientOnly } from "./components/client-only/index.mjs";
|
|
|
41
45
|
import { Clipboard } from "./components/clipboard/index.mjs";
|
|
42
46
|
import { createFileTreeCollection, createGridCollection, createTreeCollection, useAsyncList, useListCollection, useListSelection } from "./components/collection/index.mjs";
|
|
43
47
|
import { ColorPicker } from "./components/color-picker/index.mjs";
|
|
44
|
-
import {
|
|
48
|
+
import { Dialog } from "./components/dialog/index.mjs";
|
|
45
49
|
import { Command } from "./components/command/index.mjs";
|
|
46
50
|
import { Comment } from "./components/comment/index.mjs";
|
|
47
|
-
import { ConfigProvider, useConfig } from "./components/config-provider/index.mjs";
|
|
48
51
|
import { Container } from "./components/container/index.mjs";
|
|
49
52
|
import { Pagination } from "./components/pagination/index.mjs";
|
|
50
53
|
import { DataView } from "./components/data-view/index.mjs";
|
|
51
54
|
import { DateInput } from "./components/date-input/index.mjs";
|
|
52
|
-
import { DatePicker } from "./components/date-picker/index.mjs";
|
|
53
55
|
import { DeferredContent } from "./components/deferred-content/index.mjs";
|
|
54
56
|
import { Descriptions, DescriptionsRoot } from "./components/descriptions/index.mjs";
|
|
55
|
-
import { Dialog } from "./components/dialog/index.mjs";
|
|
56
57
|
import { Dock, DockItem, DockRoot } from "./components/dock/index.mjs";
|
|
57
58
|
import { DownloadTrigger, useDownload } from "./components/download-trigger/index.mjs";
|
|
58
59
|
import { Drawer } from "./components/drawer/index.mjs";
|
|
@@ -74,7 +75,7 @@ import { HoverCard } from "./components/hover-card/index.mjs";
|
|
|
74
75
|
import { Icon } from "./components/icon/index.mjs";
|
|
75
76
|
import { Image } from "./components/image/index.mjs";
|
|
76
77
|
import { ImageCropper } from "./components/image-cropper/index.mjs";
|
|
77
|
-
import { ImageViewer } from "./
|
|
78
|
+
import { t as ImageViewer } from "./image-viewer-Cf6thHax.mjs";
|
|
78
79
|
import { InputGroup } from "./components/input-group/index.mjs";
|
|
79
80
|
import { JsonTreeView } from "./components/json-tree-view/index.mjs";
|
|
80
81
|
import { Kbd } from "./components/kbd/index.mjs";
|
|
@@ -94,7 +95,6 @@ import { PageHeader } from "./components/page-header/index.mjs";
|
|
|
94
95
|
import { PasswordInput } from "./components/password-input/index.mjs";
|
|
95
96
|
import { PinInput } from "./components/pin-input/index.mjs";
|
|
96
97
|
import { Popconfirm } from "./components/popconfirm/index.mjs";
|
|
97
|
-
import { Popover } from "./components/popover/index.mjs";
|
|
98
98
|
import { Presence, PresenceProvider, usePresence, usePresenceContext } from "./components/presence/index.mjs";
|
|
99
99
|
import { Progress } from "./components/progress/index.mjs";
|
|
100
100
|
import { ProgressGroup } from "./components/progress-group/index.mjs";
|
|
@@ -104,7 +104,7 @@ import { RatingGroup } from "./components/rating-group/index.mjs";
|
|
|
104
104
|
import { Result, ResultIcon, ResultRoot } from "./components/result/index.mjs";
|
|
105
105
|
import { ScrollArea } from "./components/scroll-area/index.mjs";
|
|
106
106
|
import { SegmentGroup } from "./components/segment-group/index.mjs";
|
|
107
|
-
import { n as NativeSelect, t as Select } from "./select-
|
|
107
|
+
import { n as NativeSelect, t as Select } from "./select-ozUFq0zd.mjs";
|
|
108
108
|
import { Separator } from "./components/separator/index.mjs";
|
|
109
109
|
import { SignaturePad } from "./components/signature-pad/index.mjs";
|
|
110
110
|
import { Skeleton } from "./components/skeleton/index.mjs";
|
|
@@ -138,5 +138,6 @@ import { Typography } from "./components/typography/index.mjs";
|
|
|
138
138
|
import { User } from "./components/user/index.mjs";
|
|
139
139
|
import { VirtualList } from "./components/virtual-list/index.mjs";
|
|
140
140
|
import { Watermark } from "./components/watermark/index.mjs";
|
|
141
|
+
import { n as Video, r as formatMediaTime, t as Audio } from "./media-player-gQrnxU52.mjs";
|
|
141
142
|
export * from "@bysages/core";
|
|
142
|
-
export { Accordion, Action, Action as AiAction, Affix, Ai, AiActions, Attachment as AiAttachment, Attachment, Attachments as AiAttachments, Attachments, AiContent,
|
|
143
|
+
export { Accordion, Action, Action as AiAction, Affix, Ai, AiActions, Attachment as AiAttachment, Attachment, Attachments as AiAttachments, Attachments, AiContent, Message as AiMessage, Message, PromptInput as AiPromptInput, PromptInput, Reasoning as AiReasoning, Reasoning, Response as AiResponse, Response, Source as AiSource, Source, Sources as AiSources, Sources, Suggestion as AiSuggestion, Suggestion, Tool as AiTool, Tool, Alert, AngleSlider, AspectRatio, Audio, AutoComplete, Avatar, AvatarGroup, BackTop, Badge, Banner, Bento, BentoCell, BentoRoot, BlockUI, Breadcrumb, Browser, BrowserBody, BrowserDots, BrowserRoot, BrowserTitleBar, BrowserUrlBar, Button, ButtonGroup, Calendar, Card, Carousel, CascadeSelect, Checkbox, CheckboxGroup, Chip, ClientOnly, Clipboard, Collapsible, ColorPicker, Combobox, Command, Comment, ConfigProvider, Container, DataTable, DataView, DateInput, DatePicker, DeferredContent, Descriptions, DescriptionsRoot, Dialog, Dock, DockItem, DockRoot, DownloadTrigger, Drawer, DynamicInput, Editable, Ellipsis, Empty, FLOAT_BUTTON_CONTEXT, Field, Fieldset, FileUpload, FlexRender, FloatButton, FloatingPanel, FocusTrap, Form, FormField, Format, Frame, Grid, Highlight, HoverCard, Icon, Image, ImageCropper, ImageViewer, Input, InputGroup, JsonTreeView, Kbd, Layout, Link, List, Listbox, Marquee, Masonry, Mentions, MentionsVessel, Menu, Menubar, Meter, NativeSelect, NavigationMenu, NumberInput, OrderList, PageHeader, Pagination, PasswordInput, PinInput, Popconfirm, Popover, Presence, PresenceProvider, Progress, ProgressGroup, QrCode, RadioGroup, RatingGroup, Result, ResultIcon, ResultRoot, ScrollArea, SegmentGroup, Select, Separator, SignaturePad, Skeleton, Slider, Spinner, SplitButton, Splitter, Spotlight, Stack, Stat, Steps, Swap, Switch, Tabs, TagsInput, Terminal, Textarea, Timeline, Timer, Toast, Toaster, Toc, Toggle, ToggleGroup, Toolbar, Tooltip, Tour, Transfer, TreeSelect, TreeView, Typography, User, Video, VirtualList, Watermark, createColumnHelper, createFileTreeCollection, createGridCollection, createToaster, createTreeCollection, formatMediaTime, useAsyncList, useConfig, useDownload, useField, useForm, useListCollection, useListSelection, useMentions, usePresence, usePresenceContext, useTour };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { t as withSelfRoot } from "./family-DE_GQeeM.mjs";
|
|
1
2
|
import { injectComponentStyle } from "@bysages/core";
|
|
2
3
|
import { jsx } from "react/jsx-runtime";
|
|
3
4
|
import { forwardRef } from "react";
|
|
@@ -38,7 +39,7 @@ function applyMask(raw, mask) {
|
|
|
38
39
|
}
|
|
39
40
|
//#endregion
|
|
40
41
|
//#region src/components/input/index.tsx
|
|
41
|
-
const
|
|
42
|
+
const InputImpl = forwardRef(function Input({ value, size = "md", invalid = false, mask, onValueChange, ...rest }, ref) {
|
|
42
43
|
injectComponentStyle("input");
|
|
43
44
|
const field = useFieldContext();
|
|
44
45
|
const fieldProps = field?.getInputProps() ?? {};
|
|
@@ -54,5 +55,6 @@ const Input = forwardRef(function Input({ value, size = "md", invalid = false, m
|
|
|
54
55
|
onChange: (event) => onValueChange?.(mask ? applyMask(event.target.value, mask) : event.target.value)
|
|
55
56
|
});
|
|
56
57
|
});
|
|
58
|
+
const Input = withSelfRoot(InputImpl);
|
|
57
59
|
//#endregion
|
|
58
60
|
export { Input as t };
|