@bysages/react 0.3.1 → 0.4.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/dist/{ai-response-BfKTmtCt.mjs → ai-response-nhDOlELQ.mjs} +4 -2
- package/dist/chevron-a2nIZKN4.mjs +6 -0
- package/dist/components/accordion/index.d.mts +22 -4
- package/dist/components/accordion/index.mjs +32 -2
- package/dist/components/affix/index.d.mts +4 -1
- package/dist/components/affix/index.mjs +6 -4
- package/dist/components/ai/index.d.mts +1 -1
- package/dist/components/ai/index.mjs +6 -4
- package/dist/components/ai-action/index.d.mts +4 -1
- package/dist/components/ai-action/index.mjs +4 -2
- package/dist/components/ai-attachments/index.d.mts +10 -4
- package/dist/components/ai-attachments/index.mjs +17 -45
- package/dist/components/ai-message/index.d.mts +4 -1
- package/dist/components/ai-message/index.mjs +4 -2
- package/dist/components/ai-prompt-input/index.d.mts +5 -2
- package/dist/components/ai-prompt-input/index.mjs +11 -15
- package/dist/components/ai-reasoning/index.d.mts +4 -1
- package/dist/components/ai-reasoning/index.mjs +5 -3
- package/dist/components/ai-response/index.d.mts +4 -1
- 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 +6 -3
- package/dist/components/ai-suggestion/index.d.mts +4 -1
- package/dist/components/ai-suggestion/index.mjs +4 -2
- package/dist/components/ai-tool/index.d.mts +4 -1
- package/dist/components/ai-tool/index.mjs +5 -3
- package/dist/components/alert/index.d.mts +2 -0
- package/dist/components/alert/index.mjs +12 -19
- package/dist/components/angle-slider/index.d.mts +19 -2
- package/dist/components/angle-slider/index.mjs +32 -9
- package/dist/components/aspect-ratio/index.d.mts +4 -1
- package/dist/components/aspect-ratio/index.mjs +4 -2
- package/dist/components/autocomplete/index.d.mts +3 -1
- package/dist/components/autocomplete/index.mjs +15 -3
- package/dist/components/avatar/index.d.mts +2 -2
- package/dist/components/avatar/index.mjs +10 -3
- package/dist/components/avatar-group/index.d.mts +4 -1
- package/dist/components/avatar-group/index.mjs +4 -2
- package/dist/components/back-top/index.d.mts +7 -1
- package/dist/components/back-top/index.mjs +13 -18
- package/dist/components/badge/index.d.mts +4 -1
- package/dist/components/badge/index.mjs +4 -2
- package/dist/components/banner/index.mjs +3 -12
- package/dist/components/bento/index.mjs +1 -1
- package/dist/components/block-ui/index.d.mts +4 -1
- package/dist/components/block-ui/index.mjs +4 -2
- package/dist/components/breadcrumb/index.mjs +1 -1
- package/dist/components/browser/index.mjs +1 -1
- package/dist/components/button/index.d.mts +4 -1
- package/dist/components/button/index.mjs +4 -2
- package/dist/components/button-group/index.mjs +1 -1
- package/dist/components/calendar/index.d.mts +3 -1
- package/dist/components/calendar/index.mjs +10 -11
- package/dist/components/card/index.mjs +1 -1
- package/dist/components/carousel/index.d.mts +21 -1
- package/dist/components/carousel/index.mjs +44 -3
- package/dist/components/cascade-select/index.d.mts +6 -1
- package/dist/components/cascade-select/index.mjs +13 -36
- package/dist/components/checkbox/index.d.mts +20 -2
- package/dist/components/checkbox/index.mjs +29 -9
- package/dist/components/checkbox-group/index.d.mts +8 -6
- package/dist/components/checkbox-group/index.mjs +45 -49
- package/dist/components/chip/index.d.mts +4 -1
- package/dist/components/chip/index.mjs +4 -2
- 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 +34 -6
- package/dist/components/collapsible/index.d.mts +16 -4
- package/dist/components/collapsible/index.mjs +26 -2
- package/dist/components/color-picker/index.d.mts +20 -4
- package/dist/components/color-picker/index.mjs +57 -15
- package/dist/components/combobox/index.d.mts +27 -1
- package/dist/components/combobox/index.mjs +63 -6
- package/dist/components/command/index.d.mts +4 -1
- package/dist/components/command/index.mjs +8 -2
- package/dist/components/comment/index.d.mts +4 -1
- package/dist/components/comment/index.mjs +4 -2
- package/dist/components/config-provider/index.d.mts +4 -1
- package/dist/components/config-provider/index.mjs +3 -1
- package/dist/components/container/index.d.mts +4 -1
- package/dist/components/container/index.mjs +4 -2
- package/dist/components/data-view/index.d.mts +4 -1
- package/dist/components/data-view/index.mjs +4 -2
- package/dist/components/date-input/index.d.mts +19 -4
- package/dist/components/date-input/index.mjs +34 -10
- package/dist/components/date-picker/index.d.mts +21 -4
- package/dist/components/date-picker/index.mjs +59 -12
- package/dist/components/deferred-content/index.d.mts +4 -1
- package/dist/components/deferred-content/index.mjs +4 -2
- package/dist/components/descriptions/index.d.mts +10 -2
- package/dist/components/descriptions/index.mjs +14 -9
- package/dist/components/dialog/index.d.mts +18 -5
- package/dist/components/dialog/index.mjs +44 -2
- package/dist/components/dock/index.mjs +1 -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 +41 -2
- package/dist/components/dynamic-input/index.d.mts +4 -1
- package/dist/components/dynamic-input/index.mjs +11 -19
- package/dist/components/editable/index.d.mts +28 -7
- package/dist/components/editable/index.mjs +44 -5
- package/dist/components/ellipsis/index.d.mts +4 -1
- package/dist/components/ellipsis/index.mjs +4 -2
- package/dist/components/empty/index.mjs +1 -1
- package/dist/components/field/index.d.mts +30 -5
- package/dist/components/field/index.mjs +37 -4
- package/dist/components/fieldset/index.d.mts +19 -4
- package/dist/components/fieldset/index.mjs +29 -4
- package/dist/components/file-upload/index.d.mts +29 -9
- package/dist/components/file-upload/index.mjs +47 -11
- package/dist/components/float-button/index.mjs +1 -1
- package/dist/components/floating-panel/index.d.mts +18 -6
- package/dist/components/floating-panel/index.mjs +56 -2
- 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 +6 -3
- 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 +4 -2
- package/dist/components/highlight/index.d.mts +3 -5
- package/dist/components/highlight/index.mjs +7 -2
- package/dist/components/hover-card/index.d.mts +20 -4
- package/dist/components/hover-card/index.mjs +33 -2
- package/dist/components/icon/index.d.mts +10 -8
- package/dist/components/icon/index.mjs +6 -4
- package/dist/components/image/index.d.mts +5 -2
- package/dist/components/image/index.mjs +15 -30
- package/dist/components/image-cropper/index.d.mts +13 -2
- package/dist/components/image-cropper/index.mjs +35 -3
- package/dist/components/image-viewer/index.d.mts +2 -24
- package/dist/components/image-viewer/index.mjs +3 -113
- package/dist/components/input/index.d.mts +3 -1
- package/dist/components/input/index.mjs +1 -1
- package/dist/components/input-group/index.mjs +1 -1
- package/dist/components/json-tree-view/index.d.mts +17 -1
- package/dist/components/json-tree-view/index.mjs +27 -6
- package/dist/components/kbd/index.d.mts +4 -1
- package/dist/components/kbd/index.mjs +4 -2
- package/dist/components/layout/index.d.mts +25 -7
- package/dist/components/layout/index.mjs +158 -64
- package/dist/components/link/index.d.mts +4 -1
- package/dist/components/link/index.mjs +4 -2
- package/dist/components/list/index.mjs +1 -1
- package/dist/components/listbox/index.d.mts +22 -1
- package/dist/components/listbox/index.mjs +37 -5
- package/dist/components/marquee/index.d.mts +18 -1
- package/dist/components/marquee/index.mjs +35 -3
- package/dist/components/masonry/index.d.mts +4 -1
- package/dist/components/masonry/index.mjs +4 -2
- 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 +35 -13
- package/dist/components/menubar/index.d.mts +3 -1
- package/dist/components/menubar/index.mjs +7 -2
- package/dist/components/meter/index.mjs +1 -1
- package/dist/components/navigation-menu/index.d.mts +25 -1
- package/dist/components/navigation-menu/index.mjs +37 -2
- package/dist/components/number-input/index.d.mts +28 -6
- package/dist/components/number-input/index.mjs +34 -9
- package/dist/components/order-list/index.d.mts +4 -1
- package/dist/components/order-list/index.mjs +27 -25
- package/dist/components/page-header/index.mjs +1 -1
- package/dist/components/pagination/index.d.mts +23 -3
- package/dist/components/pagination/index.mjs +58 -13
- package/dist/components/password-input/index.d.mts +24 -6
- package/dist/components/password-input/index.mjs +32 -9
- package/dist/components/pin-input/index.d.mts +23 -5
- package/dist/components/pin-input/index.mjs +30 -8
- package/dist/components/popconfirm/index.d.mts +9 -5
- package/dist/components/popconfirm/index.mjs +24 -19
- package/dist/components/popover/index.d.mts +2 -8
- package/dist/components/popover/index.mjs +45 -5
- 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 +35 -10
- package/dist/components/progress-group/index.d.mts +4 -1
- package/dist/components/progress-group/index.mjs +5 -3
- package/dist/components/qr-code/index.d.mts +14 -1
- package/dist/components/qr-code/index.mjs +27 -3
- package/dist/components/radio-group/index.d.mts +27 -2
- package/dist/components/radio-group/index.mjs +33 -9
- package/dist/components/rating-group/index.d.mts +20 -3
- package/dist/components/rating-group/index.mjs +27 -9
- package/dist/components/result/index.d.mts +1 -1
- package/dist/components/result/index.mjs +3 -3
- package/dist/components/scroll-area/index.d.mts +14 -1
- package/dist/components/scroll-area/index.mjs +33 -3
- package/dist/components/segment-group/index.d.mts +28 -2
- package/dist/components/segment-group/index.mjs +35 -8
- 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 +4 -2
- package/dist/components/signature-pad/index.d.mts +25 -5
- package/dist/components/signature-pad/index.mjs +38 -4
- package/dist/components/skeleton/index.d.mts +4 -1
- package/dist/components/skeleton/index.mjs +4 -2
- package/dist/components/slider/index.d.mts +21 -2
- package/dist/components/slider/index.mjs +32 -9
- package/dist/components/spinner/index.d.mts +4 -1
- package/dist/components/spinner/index.mjs +4 -2
- package/dist/components/split-button/index.d.mts +3 -1
- package/dist/components/split-button/index.mjs +13 -18
- package/dist/components/splitter/index.d.mts +17 -4
- package/dist/components/splitter/index.mjs +36 -2
- package/dist/components/spotlight/index.d.mts +4 -1
- package/dist/components/spotlight/index.mjs +4 -2
- package/dist/components/stack/index.d.mts +4 -1
- package/dist/components/stack/index.mjs +7 -5
- package/dist/components/stat/index.mjs +1 -1
- package/dist/components/steps/index.d.mts +26 -6
- package/dist/components/steps/index.mjs +27 -12
- package/dist/components/swap/index.d.mts +11 -5
- package/dist/components/swap/index.mjs +31 -4
- package/dist/components/switch/index.d.mts +20 -2
- package/dist/components/switch/index.mjs +28 -9
- package/dist/components/table/index.d.mts +4 -1
- package/dist/components/table/index.mjs +38 -60
- package/dist/components/tabs/index.d.mts +24 -2
- package/dist/components/tabs/index.mjs +26 -10
- package/dist/components/tags-input/index.d.mts +33 -8
- package/dist/components/tags-input/index.mjs +42 -10
- package/dist/components/terminal/index.d.mts +4 -1
- package/dist/components/terminal/index.mjs +4 -2
- package/dist/components/textarea/index.d.mts +4 -1
- package/dist/components/textarea/index.mjs +4 -2
- package/dist/components/timeline/index.mjs +1 -1
- package/dist/components/timer/index.d.mts +18 -1
- package/dist/components/timer/index.mjs +52 -3
- package/dist/components/toast/index.d.mts +3 -6
- package/dist/components/toast/index.mjs +23 -3
- package/dist/components/toc/index.d.mts +19 -5
- package/dist/components/toc/index.mjs +32 -6
- package/dist/components/toggle/index.d.mts +11 -4
- package/dist/components/toggle/index.mjs +22 -2
- package/dist/components/toggle-group/index.d.mts +26 -2
- package/dist/components/toggle-group/index.mjs +32 -7
- package/dist/components/toolbar/index.d.mts +4 -1
- package/dist/components/toolbar/index.mjs +4 -2
- package/dist/components/tooltip/index.d.mts +17 -4
- package/dist/components/tooltip/index.mjs +29 -2
- package/dist/components/tour/index.d.mts +18 -9
- package/dist/components/tour/index.mjs +45 -3
- package/dist/components/transfer/index.d.mts +3 -1
- package/dist/components/transfer/index.mjs +15 -27
- package/dist/components/tree-select/index.d.mts +3 -1
- package/dist/components/tree-select/index.mjs +12 -23
- package/dist/components/tree-view/index.d.mts +22 -2
- package/dist/components/tree-view/index.mjs +51 -9
- package/dist/components/typography/index.d.mts +4 -0
- package/dist/components/typography/index.mjs +2 -1
- package/dist/components/user/index.d.mts +4 -1
- package/dist/components/user/index.mjs +4 -2
- package/dist/components/virtual-list/index.d.mts +4 -1
- package/dist/components/virtual-list/index.mjs +11 -13
- package/dist/components/watermark/index.d.mts +4 -1
- package/dist/components/watermark/index.mjs +5 -3
- 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-B-hKFkEw.mjs +141 -0
- package/dist/{index-Dn5mHf1g.d.mts → index-B4twHAQC.d.mts} +194 -106
- package/dist/{index-Uefyw7Im.d.mts → index-Bbg4heDO.d.mts} +12 -7
- package/dist/index-BcRdWGY-.d.mts +115 -0
- package/dist/{index-Iy8m0Qev.d.mts → index-D_iKc2Uw.d.mts} +31 -2
- 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 +11 -10
- package/dist/{input-2oezH-dY.mjs → input-BDpQ0e6G.mjs} +4 -2
- package/dist/media-player-DjVvo1_7.mjs +554 -0
- package/dist/{mentions-DMIBCBOd.mjs → mentions-BwnyvdXz.mjs} +75 -43
- package/dist/select-i9UZsQCU.mjs +121 -0
- package/package.json +9 -81
- package/dist/chevron-BeHvt46K.mjs +0 -17
- package/dist/glyph-VI989p8H.mjs +0 -14
- package/dist/select-eAHutw56.mjs +0 -70
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes, HTMLAttributes, InputHTMLAttributes, ReactNode } from "react";
|
|
2
|
+
//#region src/components/media-player/parts.d.ts
|
|
3
|
+
type MediaPartProps = HTMLAttributes<HTMLElement>;
|
|
4
|
+
type ButtonPartProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
5
|
+
label?: string;
|
|
6
|
+
};
|
|
7
|
+
type InputPartProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
8
|
+
label?: string;
|
|
9
|
+
};
|
|
10
|
+
type DivPartProps = HTMLAttributes<HTMLDivElement> & {
|
|
11
|
+
label?: string;
|
|
12
|
+
};
|
|
13
|
+
/** The native media element, framed by the shared shell's state machine. */
|
|
14
|
+
declare function Media(props: MediaPartProps): import("react").JSX.Element;
|
|
15
|
+
/** Play and pause share one seal-cut control: the state changes the mark,
|
|
16
|
+
* never the control's place in the hand. */
|
|
17
|
+
declare function PlayButton({ label, ...props }: ButtonPartProps): import("react").JSX.Element;
|
|
18
|
+
/** The elapsed and total time bracket the timeline. */
|
|
19
|
+
declare function Time(props: HTMLAttributes<HTMLSpanElement>): import("react").JSX.Element;
|
|
20
|
+
/** Seeking writes straight to currentTime; buffered ranges can later
|
|
21
|
+
* ride the same part as a second ink wash. */
|
|
22
|
+
declare function Timeline({ label, ...props }: InputPartProps): import("react").JSX.Element;
|
|
23
|
+
/** Muting stays at the left of the volume well, the way a hand expects. */
|
|
24
|
+
declare function MuteButton({ label, ...props }: ButtonPartProps): import("react").JSX.Element;
|
|
25
|
+
declare function Volume({ label, ...props }: InputPartProps): import("react").JSX.Element;
|
|
26
|
+
/** Playback rate is a real choice, not hidden behind native menus. */
|
|
27
|
+
declare function Rate({ label, ...props }: DivPartProps): import("react").JSX.Element;
|
|
28
|
+
/** Text tracks use the browser's native model; the control chooses a
|
|
29
|
+
* track index, while rendering stays with the media element. */
|
|
30
|
+
declare function Captions({ label, ...props }: DivPartProps): import("react").JSX.Element | null;
|
|
31
|
+
/** Picture-in-picture is video-only and capability-detected. */
|
|
32
|
+
declare function PipButton({ label, ...props }: ButtonPartProps): import("react").JSX.Element | null;
|
|
33
|
+
/** Fullscreen takes the whole vessel, not just the moving picture. */
|
|
34
|
+
declare function FullscreenButton({ label, ...props }: MediaPartProps & {
|
|
35
|
+
label?: string;
|
|
36
|
+
}): import("react").JSX.Element;
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region src/components/media-player/use-media-controls.d.ts
|
|
39
|
+
/** One alternative encoding offered to the browser before playback. */
|
|
40
|
+
interface MediaSourceOption {
|
|
41
|
+
src: string;
|
|
42
|
+
type?: string;
|
|
43
|
+
}
|
|
44
|
+
/** A WebVTT track handed to the native text-track model. */
|
|
45
|
+
interface MediaTextTrackOption {
|
|
46
|
+
src: string;
|
|
47
|
+
kind?: "subtitles" | "captions" | "descriptions" | "chapters" | "metadata";
|
|
48
|
+
label?: string;
|
|
49
|
+
srcLang?: string;
|
|
50
|
+
default?: boolean;
|
|
51
|
+
}
|
|
52
|
+
/** A compact clock for player chrome: hours only when the media asks
|
|
53
|
+
* for them, stable digits so the time never jitters the controls. */
|
|
54
|
+
declare function formatMediaTime(seconds: number): string;
|
|
55
|
+
//#endregion
|
|
56
|
+
//#region src/components/media-player/shell.d.ts
|
|
57
|
+
interface MediaPlayerProps extends Omit<HTMLAttributes<HTMLDivElement>, "onPlay" | "onPause" | "onEnded" | "onTimeUpdate" | "onVolumeChange" | "onRateChange" | "onError"> {
|
|
58
|
+
label?: string;
|
|
59
|
+
src?: string;
|
|
60
|
+
sources?: MediaSourceOption[];
|
|
61
|
+
tracks?: MediaTextTrackOption[];
|
|
62
|
+
autoplay?: boolean;
|
|
63
|
+
loop?: boolean;
|
|
64
|
+
muted?: boolean;
|
|
65
|
+
preload?: "none" | "metadata" | "auto";
|
|
66
|
+
volume?: number;
|
|
67
|
+
playbackRate?: number;
|
|
68
|
+
playbackRates?: number[];
|
|
69
|
+
disabled?: boolean;
|
|
70
|
+
poster?: string;
|
|
71
|
+
playsInline?: boolean;
|
|
72
|
+
onPlay?: (event: Event) => void;
|
|
73
|
+
onPause?: (event: Event) => void;
|
|
74
|
+
onEnded?: (event: Event) => void;
|
|
75
|
+
onTimeupdate?: (event: Event) => void;
|
|
76
|
+
onVolumechange?: (event: Event) => void;
|
|
77
|
+
onRatechange?: (event: Event) => void;
|
|
78
|
+
onError?: (event: Event) => void;
|
|
79
|
+
}
|
|
80
|
+
//#endregion
|
|
81
|
+
//#region src/components/media-player/index.d.ts
|
|
82
|
+
/** Audio and video share one instrument: the same state, the same keys,
|
|
83
|
+
* and the same control rhythm, while each face keeps its native element's
|
|
84
|
+
* own semantics. The parts — Root, Stage, Media, Controls, PlayButton,
|
|
85
|
+
* Timeline, Time, MuteButton, Volume, Rate, Captions, PipButton,
|
|
86
|
+
* FullscreenButton. */
|
|
87
|
+
declare const Audio: ((props: MediaPlayerProps) => import("react").JSX.Element) & {
|
|
88
|
+
Root: (props: MediaPlayerProps) => import("react").JSX.Element;
|
|
89
|
+
Stage: (props: import("react").HTMLAttributes<HTMLDivElement>) => import("react").JSX.Element;
|
|
90
|
+
Media: typeof Media;
|
|
91
|
+
Controls: (props: import("react").HTMLAttributes<HTMLDivElement>) => import("react").JSX.Element;
|
|
92
|
+
PlayButton: typeof PlayButton;
|
|
93
|
+
Timeline: typeof Timeline;
|
|
94
|
+
Time: typeof Time;
|
|
95
|
+
MuteButton: typeof MuteButton;
|
|
96
|
+
Volume: typeof Volume;
|
|
97
|
+
Rate: typeof Rate;
|
|
98
|
+
};
|
|
99
|
+
declare const Video: ((props: MediaPlayerProps) => import("react").JSX.Element) & {
|
|
100
|
+
Root: (props: MediaPlayerProps) => import("react").JSX.Element;
|
|
101
|
+
Stage: (props: import("react").HTMLAttributes<HTMLDivElement>) => import("react").JSX.Element;
|
|
102
|
+
Media: typeof Media;
|
|
103
|
+
Controls: (props: import("react").HTMLAttributes<HTMLDivElement>) => import("react").JSX.Element;
|
|
104
|
+
PlayButton: typeof PlayButton;
|
|
105
|
+
Timeline: typeof Timeline;
|
|
106
|
+
Time: typeof Time;
|
|
107
|
+
MuteButton: typeof MuteButton;
|
|
108
|
+
Volume: typeof Volume;
|
|
109
|
+
Rate: typeof Rate;
|
|
110
|
+
Captions: typeof Captions;
|
|
111
|
+
PipButton: typeof PipButton;
|
|
112
|
+
FullscreenButton: typeof FullscreenButton;
|
|
113
|
+
};
|
|
114
|
+
//#endregion
|
|
115
|
+
export { MediaTextTrackOption as a, MediaSourceOption as i, Video as n, formatMediaTime as o, MediaPlayerProps as r, Audio as t };
|
|
@@ -35,8 +35,37 @@ type SelectOwnProps = {
|
|
|
35
35
|
size?: "sm" | "md" | "lg";
|
|
36
36
|
};
|
|
37
37
|
declare function SelectRoot<T extends CollectionItem>(props: SelectRootComponentProps<T, SelectOwnProps>): import("react").JSX.Element;
|
|
38
|
-
|
|
38
|
+
type SelectFacadeValue = string | string[];
|
|
39
|
+
type SelectParts = Omit<typeof Select, "Root"> & {
|
|
39
40
|
Root: typeof SelectRoot;
|
|
40
41
|
};
|
|
42
|
+
interface SelectFacadeProps {
|
|
43
|
+
value?: SelectFacadeValue;
|
|
44
|
+
defaultValue?: SelectFacadeValue;
|
|
45
|
+
options: NativeSelectOption[];
|
|
46
|
+
multiple?: boolean;
|
|
47
|
+
deselectable?: boolean;
|
|
48
|
+
/** Show the clear-value control when the machine allows it. */
|
|
49
|
+
clearable?: boolean;
|
|
50
|
+
disabled?: boolean;
|
|
51
|
+
invalid?: boolean;
|
|
52
|
+
required?: boolean;
|
|
53
|
+
readOnly?: boolean;
|
|
54
|
+
label?: string;
|
|
55
|
+
/** Heading above the flat option list. */
|
|
56
|
+
groupLabel?: string;
|
|
57
|
+
placeholder?: string;
|
|
58
|
+
name?: string;
|
|
59
|
+
form?: string;
|
|
60
|
+
autoComplete?: string;
|
|
61
|
+
/** One rung of the control-height ladder for the trigger. */
|
|
62
|
+
size?: "sm" | "md" | "lg";
|
|
63
|
+
onValueChange?: (value: string | string[]) => void;
|
|
64
|
+
}
|
|
65
|
+
declare function SelectFacade({ value, defaultValue, options, multiple, deselectable, clearable, disabled, invalid, required, readOnly, label, groupLabel, placeholder, name, form, autoComplete, size, onValueChange }: SelectFacadeProps): import("react").JSX.Element;
|
|
66
|
+
declare namespace SelectFacade {
|
|
67
|
+
var displayName: string;
|
|
68
|
+
}
|
|
69
|
+
declare const Select$1: typeof SelectFacade & SelectParts;
|
|
41
70
|
//#endregion
|
|
42
|
-
export { NativeSelectProps as i,
|
|
71
|
+
export { NativeSelectProps as a, NativeSelectOption as i, SelectFacadeProps as n, NativeSelect as r, Select$1 as t };
|
|
@@ -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 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-
|
|
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-B4twHAQC.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, 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, AspectRatio, AspectRatioProps, AttachmentProps, 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, CheckboxGroup, CheckboxGroupProps, CheckboxOption, Chip, ChipProps, ClientOnly, type ClientOnlyProps, Clipboard, Collapsible, 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, DescriptionsRoot, DescriptionsRootProps, Dialog, type DialogOpenChangeDetails, Dock, DockItem, DockItemProps, DockProps, DockRoot, DownloadTrigger, type DownloadTriggerBaseProps, type DownloadTriggerProps, type DownloadableData, Drawer, 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, FocusTrap, type FocusTrapBaseProps, type FocusTrapProps, Form, type FormApi, FormField, FormFieldProps, FormProps, Format, Frame, Grid, type GridCollection, type GridCollectionOptions, GridProps, Highlight, HoverCard, Icon, IconProps, Image, ImageCropper, ImageProps, ImageViewer, ImageViewerProps, Input, InputGroup, InputGroupPartProps, InputProps, JsonTreeView, Kbd, KbdProps, Layout, LayoutContextValue, LayoutRootProps, LayoutSiderProps, Link, LinkProps, List, type ListCollection, ListContentProps, ListRootProps, Listbox, Marquee, Masonry, MasonryProps, MentionEntry, Mentions, MentionsProps, MentionsVessel, MentionsVesselProps, Menu, Menubar, MenubarEntry, MenubarGroup, MenubarProps, MessageProps, Meter, MeterRootProps, NativeSelect, type NativeSelectOption, type NativeSelectProps, NavigationMenu, NumberInput, OrderList, OrderListProps, OrderOption, PageHeader, Pagination, PasswordInput, PinInput, Popconfirm, PopconfirmProps, Popover, Presence, type PresenceBaseProps, type PresenceProps, PresenceProvider, Progress, ProgressGroup, ProgressGroupProps, ProgressSegment, PromptInputProps, QrCode, RadioGroup, RatingGroup, ReasoningProps, type ReasoningUIPart, ResponseProps, Result, ResultIcon, ResultRoot, ResultRootProps, ScrollArea, SegmentGroup, Select, Separator, SeparatorProps, SignaturePad, Skeleton, SkeletonProps, Slider, type SortingState, type SourceDocumentUIPart, SourceProps, type SourceUrlUIPart, SourcesProps, Spinner, SpinnerProps, SplitButton, SplitButtonEntry, SplitButtonProps, Splitter, Spotlight, SpotlightProps, Stack, StackProps, Stat, StatDeltaProps, type StepStartUIPart, Steps, SuggestionProps, Swap, Switch, Tabs, TagsInput, Terminal, TerminalProps, type TextUIPart, Textarea, TextareaProps, Timeline, Timer, Toast, Toaster, Toc, Toggle, ToggleGroup, ToolProps, ToolStatus, type ToolUIPart, Toolbar, ToolbarProps, Tooltip, Tour, 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, VirtualList, VirtualListProps, Watermark, WatermarkProps, createColumnHelper, createFileTreeCollection, createGridCollection, createToaster, createTreeCollection, useAsyncList, useConfig, useDownload, useField, useForm, useListCollection, useListSelection, useMentions, usePresence, usePresenceContext, useTour };
|
|
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
|
@@ -5,11 +5,12 @@ import { Button } from "./components/button/index.mjs";
|
|
|
5
5
|
import { Action } from "./components/ai-action/index.mjs";
|
|
6
6
|
import { AiMessage as Message } from "./components/ai-message/index.mjs";
|
|
7
7
|
import { Field } from "./components/field/index.mjs";
|
|
8
|
-
import {
|
|
8
|
+
import { Popover } from "./components/popover/index.mjs";
|
|
9
|
+
import { n as MentionsVessel, r as useMentions, t as Mentions } from "./mentions-BwnyvdXz.mjs";
|
|
9
10
|
import { AiPromptInput as PromptInput } from "./components/ai-prompt-input/index.mjs";
|
|
10
11
|
import { Collapsible } from "./components/collapsible/index.mjs";
|
|
11
12
|
import { AiReasoning as Reasoning } from "./components/ai-reasoning/index.mjs";
|
|
12
|
-
import { t as Response } from "./ai-response-
|
|
13
|
+
import { t as Response } from "./ai-response-nhDOlELQ.mjs";
|
|
13
14
|
import { AiSource as Source, AiSources as Sources } from "./components/ai-source/index.mjs";
|
|
14
15
|
import { AiSuggestion as Suggestion } from "./components/ai-suggestion/index.mjs";
|
|
15
16
|
import { AiTool as Tool } from "./components/ai-tool/index.mjs";
|
|
@@ -18,6 +19,7 @@ import { AiAttachment as Attachment, AiAttachments as Attachments } from "./comp
|
|
|
18
19
|
import { Alert } from "./components/alert/index.mjs";
|
|
19
20
|
import { AngleSlider } from "./components/angle-slider/index.mjs";
|
|
20
21
|
import { AspectRatio } from "./components/aspect-ratio/index.mjs";
|
|
22
|
+
import { Combobox } from "./components/combobox/index.mjs";
|
|
21
23
|
import { AutoComplete } from "./components/autocomplete/index.mjs";
|
|
22
24
|
import { Avatar } from "./components/avatar/index.mjs";
|
|
23
25
|
import { AvatarGroup } from "./components/avatar-group/index.mjs";
|
|
@@ -30,10 +32,11 @@ import { BlockUI } from "./components/block-ui/index.mjs";
|
|
|
30
32
|
import { Breadcrumb } from "./components/breadcrumb/index.mjs";
|
|
31
33
|
import { Browser, BrowserBody, BrowserDots, BrowserRoot, BrowserTitleBar, BrowserUrlBar } from "./components/browser/index.mjs";
|
|
32
34
|
import { ButtonGroup } from "./components/button-group/index.mjs";
|
|
35
|
+
import { DatePicker } from "./components/date-picker/index.mjs";
|
|
33
36
|
import { Calendar } from "./components/calendar/index.mjs";
|
|
34
37
|
import { Card } from "./components/card/index.mjs";
|
|
35
38
|
import { Carousel } from "./components/carousel/index.mjs";
|
|
36
|
-
import { t as Input } from "./input-
|
|
39
|
+
import { t as Input } from "./input-BDpQ0e6G.mjs";
|
|
37
40
|
import { CascadeSelect } from "./components/cascade-select/index.mjs";
|
|
38
41
|
import { Checkbox } from "./components/checkbox/index.mjs";
|
|
39
42
|
import { CheckboxGroup } from "./components/checkbox-group/index.mjs";
|
|
@@ -42,17 +45,15 @@ import { ClientOnly } from "./components/client-only/index.mjs";
|
|
|
42
45
|
import { Clipboard } from "./components/clipboard/index.mjs";
|
|
43
46
|
import { createFileTreeCollection, createGridCollection, createTreeCollection, useAsyncList, useListCollection, useListSelection } from "./components/collection/index.mjs";
|
|
44
47
|
import { ColorPicker } from "./components/color-picker/index.mjs";
|
|
45
|
-
import {
|
|
48
|
+
import { Dialog } from "./components/dialog/index.mjs";
|
|
46
49
|
import { Command } from "./components/command/index.mjs";
|
|
47
50
|
import { Comment } from "./components/comment/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-B-hKFkEw.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-i9UZsQCU.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-DjVvo1_7.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, 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, 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, VirtualList, Watermark, createColumnHelper, createFileTreeCollection, createGridCollection, createToaster, createTreeCollection, useAsyncList, useConfig, useDownload, useField, useForm, useListCollection, useListSelection, useMentions, usePresence, usePresenceContext, useTour };
|
|
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,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as withSelfRoot } from "./family-DE_GQeeM.mjs";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
2
3
|
import { jsx } from "react/jsx-runtime";
|
|
3
4
|
import { forwardRef } from "react";
|
|
4
5
|
import { useFieldContext } from "@ark-ui/react/field";
|
|
@@ -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 };
|