@bysages/react 0.2.2 → 0.3.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/README.md +16 -2
- package/dist/ai-response-jZy-0Tvv.mjs +127 -0
- package/dist/chevron-BeHvt46K.mjs +17 -0
- package/dist/components/accordion/index.d.mts +7 -0
- package/dist/components/accordion/index.mjs +10 -0
- package/dist/components/affix/index.d.mts +20 -0
- package/dist/components/affix/index.mjs +18 -0
- package/dist/components/ai/index.d.mts +2 -0
- package/dist/components/ai/index.mjs +65 -0
- package/dist/components/ai-action/index.d.mts +14 -0
- package/dist/components/ai-action/index.mjs +18 -0
- package/dist/components/ai-attachments/index.d.mts +19 -0
- package/dist/components/ai-attachments/index.mjs +106 -0
- package/dist/components/ai-message/index.d.mts +11 -0
- package/dist/components/ai-message/index.mjs +15 -0
- package/dist/components/ai-prompt-input/index.d.mts +47 -0
- package/dist/components/ai-prompt-input/index.mjs +135 -0
- package/dist/components/ai-reasoning/index.d.mts +13 -0
- package/dist/components/ai-reasoning/index.mjs +19 -0
- package/dist/components/ai-response/index.d.mts +22 -0
- package/dist/components/ai-response/index.mjs +2 -0
- package/dist/components/ai-source/index.d.mts +17 -0
- package/dist/components/ai-source/index.mjs +27 -0
- package/dist/components/ai-suggestion/index.d.mts +13 -0
- package/dist/components/ai-suggestion/index.mjs +16 -0
- package/dist/components/ai-tool/index.d.mts +21 -0
- package/dist/components/ai-tool/index.mjs +36 -0
- package/dist/components/alert/index.d.mts +23 -0
- package/dist/components/alert/index.mjs +80 -0
- package/dist/components/angle-slider/index.d.mts +16 -0
- package/dist/components/angle-slider/index.mjs +21 -0
- package/dist/components/aspect-ratio/index.d.mts +10 -0
- package/dist/components/aspect-ratio/index.mjs +17 -0
- package/dist/components/autocomplete/index.d.mts +21 -0
- package/dist/components/autocomplete/index.mjs +35 -0
- package/dist/components/avatar/index.d.mts +23 -0
- package/dist/components/avatar/index.mjs +15 -0
- package/dist/components/avatar-group/index.d.mts +11 -0
- package/dist/components/avatar-group/index.mjs +15 -0
- package/dist/components/back-top/index.d.mts +29 -0
- package/dist/components/back-top/index.mjs +82 -0
- package/dist/components/badge/index.d.mts +10 -0
- package/dist/components/badge/index.mjs +15 -0
- package/dist/components/banner/index.d.mts +31 -0
- package/dist/components/banner/index.mjs +63 -0
- package/dist/components/bento/index.d.mts +26 -0
- package/dist/components/bento/index.mjs +41 -0
- package/dist/components/block-ui/index.d.mts +12 -0
- package/dist/components/block-ui/index.mjs +24 -0
- package/dist/components/breadcrumb/index.d.mts +32 -0
- package/dist/components/breadcrumb/index.mjs +35 -0
- package/dist/components/browser/index.d.mts +23 -0
- package/dist/components/browser/index.mjs +70 -0
- package/dist/components/button/index.d.mts +19 -0
- package/dist/components/button/index.mjs +29 -0
- package/dist/components/button-group/index.d.mts +24 -0
- package/dist/components/button-group/index.mjs +25 -0
- package/dist/components/calendar/index.d.mts +17 -0
- package/dist/components/calendar/index.mjs +96 -0
- package/dist/components/card/index.d.mts +46 -0
- package/dist/components/card/index.mjs +44 -0
- package/dist/components/carousel/index.d.mts +9 -0
- package/dist/components/carousel/index.mjs +12 -0
- package/dist/components/cascade-select/index.d.mts +31 -0
- package/dist/components/cascade-select/index.mjs +229 -0
- package/dist/components/checkbox/index.d.mts +16 -0
- package/dist/components/checkbox/index.mjs +21 -0
- package/dist/components/checkbox-group/index.d.mts +28 -0
- package/dist/components/checkbox-group/index.mjs +65 -0
- package/dist/components/chip/index.d.mts +12 -0
- package/dist/components/chip/index.mjs +17 -0
- package/dist/components/client-only/index.d.mts +2 -0
- package/dist/components/client-only/index.mjs +2 -0
- package/dist/components/clipboard/index.d.mts +17 -0
- package/dist/components/clipboard/index.mjs +17 -0
- package/dist/components/collapsible/index.d.mts +7 -0
- package/dist/components/collapsible/index.mjs +10 -0
- package/dist/components/collection/index.d.mts +2 -0
- package/dist/components/collection/index.mjs +2 -0
- package/dist/components/color-picker/index.d.mts +20 -0
- package/dist/components/color-picker/index.mjs +25 -0
- package/dist/components/combobox/index.d.mts +17 -0
- package/dist/components/combobox/index.mjs +18 -0
- package/dist/components/command/index.d.mts +43 -0
- package/dist/components/command/index.mjs +137 -0
- package/dist/components/comment/index.d.mts +17 -0
- package/dist/components/comment/index.mjs +47 -0
- package/dist/components/config-provider/index.d.mts +46 -0
- package/dist/components/config-provider/index.mjs +41 -0
- package/dist/components/container/index.d.mts +13 -0
- package/dist/components/container/index.mjs +15 -0
- package/dist/components/data-view/index.d.mts +18 -0
- package/dist/components/data-view/index.mjs +64 -0
- package/dist/components/date-input/index.d.mts +17 -0
- package/dist/components/date-input/index.mjs +21 -0
- package/dist/components/date-picker/index.d.mts +19 -0
- package/dist/components/date-picker/index.mjs +23 -0
- package/dist/components/deferred-content/index.d.mts +16 -0
- package/dist/components/deferred-content/index.mjs +34 -0
- package/dist/components/descriptions/index.d.mts +33 -0
- package/dist/components/descriptions/index.mjs +50 -0
- package/dist/components/dialog/index.d.mts +9 -0
- package/dist/components/dialog/index.mjs +11 -0
- package/dist/components/dock/index.d.mts +25 -0
- package/dist/components/dock/index.mjs +51 -0
- package/dist/components/download-trigger/index.d.mts +2 -0
- package/dist/components/download-trigger/index.mjs +2 -0
- package/dist/components/drawer/index.d.mts +9 -0
- package/dist/components/drawer/index.mjs +12 -0
- package/dist/components/dynamic-input/index.d.mts +28 -0
- package/dist/components/dynamic-input/index.mjs +83 -0
- package/dist/components/editable/index.d.mts +16 -0
- package/dist/components/editable/index.mjs +17 -0
- package/dist/components/ellipsis/index.d.mts +10 -0
- package/dist/components/ellipsis/index.mjs +19 -0
- package/dist/components/empty/index.d.mts +28 -0
- package/dist/components/empty/index.mjs +32 -0
- package/dist/components/field/index.d.mts +8 -0
- package/dist/components/field/index.mjs +11 -0
- package/dist/components/fieldset/index.d.mts +7 -0
- package/dist/components/fieldset/index.mjs +10 -0
- package/dist/components/file-upload/index.d.mts +18 -0
- package/dist/components/file-upload/index.mjs +23 -0
- package/dist/components/float-button/index.d.mts +59 -0
- package/dist/components/float-button/index.mjs +90 -0
- package/dist/components/floating-panel/index.d.mts +9 -0
- package/dist/components/floating-panel/index.mjs +12 -0
- package/dist/components/focus-trap/index.d.mts +2 -0
- package/dist/components/focus-trap/index.mjs +2 -0
- package/dist/components/form/index.d.mts +2 -0
- package/dist/components/form/index.mjs +67 -0
- package/dist/components/format/index.d.mts +9 -0
- package/dist/components/format/index.mjs +10 -0
- package/dist/components/frame/index.d.mts +10 -0
- package/dist/components/frame/index.mjs +12 -0
- package/dist/components/grid/index.d.mts +13 -0
- package/dist/components/grid/index.mjs +31 -0
- package/dist/components/highlight/index.d.mts +7 -0
- package/dist/components/highlight/index.mjs +11 -0
- package/dist/components/hover-card/index.d.mts +7 -0
- package/dist/components/hover-card/index.mjs +10 -0
- package/dist/components/icon/index.d.mts +24 -0
- package/dist/components/icon/index.mjs +26 -0
- package/dist/components/image/index.d.mts +17 -0
- package/dist/components/image/index.mjs +57 -0
- package/dist/components/image-cropper/index.d.mts +8 -0
- package/dist/components/image-cropper/index.mjs +11 -0
- package/dist/components/image-viewer/index.d.mts +18 -0
- package/dist/components/image-viewer/index.mjs +110 -0
- package/dist/components/input/index.d.mts +19 -0
- package/dist/components/input/index.mjs +2 -0
- package/dist/components/input-group/index.d.mts +17 -0
- package/dist/components/input-group/index.mjs +31 -0
- package/dist/components/json-tree-view/index.d.mts +7 -0
- package/dist/components/json-tree-view/index.mjs +10 -0
- package/dist/components/kbd/index.d.mts +6 -0
- package/dist/components/kbd/index.mjs +14 -0
- package/dist/components/layout/index.d.mts +63 -0
- package/dist/components/layout/index.mjs +133 -0
- package/dist/components/link/index.d.mts +10 -0
- package/dist/components/link/index.mjs +18 -0
- package/dist/components/list/index.d.mts +39 -0
- package/dist/components/list/index.mjs +66 -0
- package/dist/components/listbox/index.d.mts +18 -0
- package/dist/components/listbox/index.mjs +18 -0
- package/dist/components/marquee/index.d.mts +7 -0
- package/dist/components/marquee/index.mjs +10 -0
- package/dist/components/masonry/index.d.mts +11 -0
- package/dist/components/masonry/index.mjs +29 -0
- package/dist/components/mentions/index.d.mts +2 -0
- package/dist/components/mentions/index.mjs +2 -0
- package/dist/components/menu/index.d.mts +20 -0
- package/dist/components/menu/index.mjs +37 -0
- package/dist/components/menubar/index.d.mts +32 -0
- package/dist/components/menubar/index.mjs +35 -0
- package/dist/components/meter/index.d.mts +26 -0
- package/dist/components/meter/index.mjs +59 -0
- package/dist/components/navigation-menu/index.d.mts +8 -0
- package/dist/components/navigation-menu/index.mjs +11 -0
- package/dist/components/number-input/index.d.mts +16 -0
- package/dist/components/number-input/index.mjs +21 -0
- package/dist/components/order-list/index.d.mts +21 -0
- package/dist/components/order-list/index.mjs +162 -0
- package/dist/components/page-header/index.d.mts +32 -0
- package/dist/components/page-header/index.mjs +34 -0
- package/dist/components/pagination/index.d.mts +18 -0
- package/dist/components/pagination/index.mjs +23 -0
- package/dist/components/password-input/index.d.mts +16 -0
- package/dist/components/password-input/index.mjs +21 -0
- package/dist/components/pin-input/index.d.mts +15 -0
- package/dist/components/pin-input/index.mjs +20 -0
- package/dist/components/popconfirm/index.d.mts +20 -0
- package/dist/components/popconfirm/index.mjs +44 -0
- package/dist/components/popover/index.d.mts +8 -0
- package/dist/components/popover/index.mjs +11 -0
- package/dist/components/presence/index.d.mts +2 -0
- package/dist/components/presence/index.mjs +2 -0
- package/dist/components/progress/index.d.mts +16 -0
- package/dist/components/progress/index.mjs +21 -0
- package/dist/components/progress-group/index.d.mts +22 -0
- package/dist/components/progress-group/index.mjs +56 -0
- package/dist/components/qr-code/index.d.mts +8 -0
- package/dist/components/qr-code/index.mjs +11 -0
- package/dist/components/radio-group/index.d.mts +16 -0
- package/dist/components/radio-group/index.mjs +21 -0
- package/dist/components/rating-group/index.d.mts +16 -0
- package/dist/components/rating-group/index.mjs +21 -0
- package/dist/components/result/index.d.mts +31 -0
- package/dist/components/result/index.mjs +59 -0
- package/dist/components/scroll-area/index.d.mts +7 -0
- package/dist/components/scroll-area/index.mjs +10 -0
- package/dist/components/segment-group/index.d.mts +18 -0
- package/dist/components/segment-group/index.mjs +20 -0
- package/dist/components/select/index.d.mts +2 -0
- package/dist/components/select/index.mjs +2 -0
- package/dist/components/separator/index.d.mts +11 -0
- package/dist/components/separator/index.mjs +16 -0
- package/dist/components/signature-pad/index.d.mts +8 -0
- package/dist/components/signature-pad/index.mjs +11 -0
- package/dist/components/skeleton/index.d.mts +7 -0
- package/dist/components/skeleton/index.mjs +13 -0
- package/dist/components/slider/index.d.mts +16 -0
- package/dist/components/slider/index.mjs +21 -0
- package/dist/components/spinner/index.d.mts +9 -0
- package/dist/components/spinner/index.mjs +36 -0
- package/dist/components/split-button/index.d.mts +36 -0
- package/dist/components/split-button/index.mjs +71 -0
- package/dist/components/splitter/index.d.mts +7 -0
- package/dist/components/splitter/index.mjs +10 -0
- package/dist/components/spotlight/index.d.mts +12 -0
- package/dist/components/spotlight/index.mjs +33 -0
- package/dist/components/stack/index.d.mts +11 -0
- package/dist/components/stack/index.mjs +32 -0
- package/dist/components/stat/index.d.mts +29 -0
- package/dist/components/stat/index.mjs +37 -0
- package/dist/components/steps/index.d.mts +19 -0
- package/dist/components/steps/index.mjs +24 -0
- package/dist/components/swap/index.d.mts +8 -0
- package/dist/components/swap/index.mjs +11 -0
- package/dist/components/switch/index.d.mts +16 -0
- package/dist/components/switch/index.mjs +21 -0
- package/dist/components/table/index.d.mts +79 -0
- package/dist/components/table/index.mjs +688 -0
- package/dist/components/tabs/index.d.mts +20 -0
- package/dist/components/tabs/index.mjs +24 -0
- package/dist/components/tags-input/index.d.mts +17 -0
- package/dist/components/tags-input/index.mjs +22 -0
- package/dist/components/terminal/index.d.mts +17 -0
- package/dist/components/terminal/index.mjs +65 -0
- package/dist/components/textarea/index.d.mts +14 -0
- package/dist/components/textarea/index.mjs +20 -0
- package/dist/components/timeline/index.d.mts +26 -0
- package/dist/components/timeline/index.mjs +40 -0
- package/dist/components/timer/index.d.mts +8 -0
- package/dist/components/timer/index.mjs +11 -0
- package/dist/components/toast/index.d.mts +11 -0
- package/dist/components/toast/index.mjs +13 -0
- package/dist/components/toc/index.d.mts +7 -0
- package/dist/components/toc/index.mjs +10 -0
- package/dist/components/toggle/index.d.mts +7 -0
- package/dist/components/toggle/index.mjs +10 -0
- package/dist/components/toggle-group/index.d.mts +15 -0
- package/dist/components/toggle-group/index.mjs +20 -0
- package/dist/components/toolbar/index.d.mts +17 -0
- package/dist/components/toolbar/index.mjs +29 -0
- package/dist/components/tooltip/index.d.mts +7 -0
- package/dist/components/tooltip/index.mjs +10 -0
- package/dist/components/tour/index.d.mts +11 -0
- package/dist/components/tour/index.mjs +13 -0
- package/dist/components/transfer/index.d.mts +23 -0
- package/dist/components/transfer/index.mjs +154 -0
- package/dist/components/tree-select/index.d.mts +28 -0
- package/dist/components/tree-select/index.mjs +157 -0
- package/dist/components/tree-view/index.d.mts +19 -0
- package/dist/components/tree-view/index.mjs +18 -0
- package/dist/components/typography/index.d.mts +32 -0
- package/dist/components/typography/index.mjs +34 -0
- package/dist/components/user/index.d.mts +20 -0
- package/dist/components/user/index.mjs +42 -0
- package/dist/components/virtual-list/index.d.mts +17 -0
- package/dist/components/virtual-list/index.mjs +52 -0
- package/dist/components/watermark/index.d.mts +16 -0
- package/dist/components/watermark/index.mjs +80 -0
- package/dist/index-CsfxYv6J.d.mts +10383 -0
- package/dist/index-DFN9F5Zt.d.mts +42 -0
- package/dist/index-Uefyw7Im.d.mts +108 -0
- package/dist/index-uPyYiWaL.d.mts +1813 -0
- package/dist/index.d.mts +141 -15446
- package/dist/index.mjs +141 -4871
- package/dist/input-2oezH-dY.mjs +58 -0
- package/dist/mentions-DMIBCBOd.mjs +181 -0
- package/dist/select-D1xiT1oJ.mjs +68 -0
- package/package.json +103 -9
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ComponentProps } from "react";
|
|
2
|
+
import { Tabs as Tabs$1 } from "@ark-ui/react/tabs";
|
|
3
|
+
//#region src/components/tabs/index.d.ts
|
|
4
|
+
type TabsRootProps = ComponentProps<typeof Tabs$1.Root> & {
|
|
5
|
+
/** One rung of the control-height ladder for the tab rows. */
|
|
6
|
+
size?: "sm" | "md" | "lg";
|
|
7
|
+
/** The register: a ruled line (default), or each tab its own card. */
|
|
8
|
+
variant?: "line" | "card";
|
|
9
|
+
};
|
|
10
|
+
declare function TabsRoot({ size, variant, ...rest }: TabsRootProps): import("react").JSX.Element;
|
|
11
|
+
/**
|
|
12
|
+
* Tabs — tabbed navigation.
|
|
13
|
+
*
|
|
14
|
+
* Parts: Root, List, Trigger, Content, Indicator (machine-positioned ink
|
|
15
|
+
* bar on the list rule).
|
|
16
|
+
*/
|
|
17
|
+
export declare const Tabs: Omit<typeof Tabs$1, "Root"> & {
|
|
18
|
+
Root: typeof TabsRoot;
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { Tabs as Tabs$1 } from "@ark-ui/react/tabs";
|
|
4
|
+
//#region src/components/tabs/index.tsx
|
|
5
|
+
function TabsRoot({ size = "md", variant = "line", ...rest }) {
|
|
6
|
+
return /* @__PURE__ */ jsx(Tabs$1.Root, {
|
|
7
|
+
...rest,
|
|
8
|
+
"data-size": size,
|
|
9
|
+
"data-variant": variant
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Tabs — tabbed navigation.
|
|
14
|
+
*
|
|
15
|
+
* Parts: Root, List, Trigger, Content, Indicator (machine-positioned ink
|
|
16
|
+
* bar on the list rule).
|
|
17
|
+
*/
|
|
18
|
+
const Tabs = {
|
|
19
|
+
...Tabs$1,
|
|
20
|
+
Root: TabsRoot
|
|
21
|
+
};
|
|
22
|
+
injectComponentStyle("tabs");
|
|
23
|
+
//#endregion
|
|
24
|
+
export { Tabs };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ComponentProps } from "react";
|
|
2
|
+
import { TagsInput as TagsInput$1 } from "@ark-ui/react/tags-input";
|
|
3
|
+
//#region src/components/tags-input/index.d.ts
|
|
4
|
+
type TagsInputRootProps = ComponentProps<typeof TagsInput$1.Root> & {
|
|
5
|
+
/** One rung of the control-height ladder for the vessel at rest. */
|
|
6
|
+
size?: "sm" | "md" | "lg";
|
|
7
|
+
};
|
|
8
|
+
declare function TagsInputRoot({ size, ...rest }: TagsInputRootProps): import("react").JSX.Element;
|
|
9
|
+
/** Ark's TagsInput, dressed in the paper-and-ink system: one field vessel
|
|
10
|
+
* whose chips rest as quiet ink and lift only a tone when edited. The API
|
|
11
|
+
* is Ark's own — Root, Label, Control, Input, ClearTrigger, Item,
|
|
12
|
+
* ItemPreview, ItemText, ItemInput, ItemDeleteTrigger, HiddenInput,
|
|
13
|
+
* Context. */
|
|
14
|
+
export declare const TagsInput: Omit<typeof TagsInput$1, "Root"> & {
|
|
15
|
+
Root: typeof TagsInputRoot;
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { TagsInput as TagsInput$1 } from "@ark-ui/react/tags-input";
|
|
4
|
+
//#region src/components/tags-input/index.tsx
|
|
5
|
+
function TagsInputRoot({ size = "md", ...rest }) {
|
|
6
|
+
return /* @__PURE__ */ jsx(TagsInput$1.Root, {
|
|
7
|
+
...rest,
|
|
8
|
+
"data-size": size
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
/** Ark's TagsInput, dressed in the paper-and-ink system: one field vessel
|
|
12
|
+
* whose chips rest as quiet ink and lift only a tone when edited. The API
|
|
13
|
+
* is Ark's own — Root, Label, Control, Input, ClearTrigger, Item,
|
|
14
|
+
* ItemPreview, ItemText, ItemInput, ItemDeleteTrigger, HiddenInput,
|
|
15
|
+
* Context. */
|
|
16
|
+
const TagsInput = {
|
|
17
|
+
...TagsInput$1,
|
|
18
|
+
Root: TagsInputRoot
|
|
19
|
+
};
|
|
20
|
+
injectComponentStyle("tags-input");
|
|
21
|
+
//#endregion
|
|
22
|
+
export { TagsInput };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HTMLAttributes } from "react";
|
|
2
|
+
//#region src/components/terminal/index.d.ts
|
|
3
|
+
export interface TerminalProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
/** The transcript, oldest line first. */
|
|
5
|
+
lines?: string[];
|
|
6
|
+
/** The sigil at the head of the entry line. */
|
|
7
|
+
prompt?: string;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
onCommand?: (text: string) => void;
|
|
11
|
+
}
|
|
12
|
+
/** A quiet console: the transcript above, the prompt line below. The
|
|
13
|
+
* component owns only the reading and the caret — each entered line
|
|
14
|
+
* leaves as an event, and the caller answers through the lines prop,
|
|
15
|
+
* so history stays theirs to shape. */
|
|
16
|
+
export declare function Terminal({ lines, prompt, placeholder, label, onCommand, ...rest }: TerminalProps): import("react").JSX.Element;
|
|
17
|
+
//#endregion
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useEffect, useRef, useState } from "react";
|
|
4
|
+
//#region src/components/terminal/index.tsx
|
|
5
|
+
/** A quiet console: the transcript above, the prompt line below. The
|
|
6
|
+
* component owns only the reading and the caret — each entered line
|
|
7
|
+
* leaves as an event, and the caller answers through the lines prop,
|
|
8
|
+
* so history stays theirs to shape. */
|
|
9
|
+
function Terminal({ lines = [], prompt = "$", placeholder, label, onCommand, ...rest }) {
|
|
10
|
+
injectComponentStyle("terminal");
|
|
11
|
+
const [draft, setDraft] = useState("");
|
|
12
|
+
const scroll = useRef(null);
|
|
13
|
+
useEffect(() => {
|
|
14
|
+
scroll.current?.scrollTo({ top: scroll.current.scrollHeight });
|
|
15
|
+
}, [lines.length]);
|
|
16
|
+
function submit() {
|
|
17
|
+
const text = draft.trim();
|
|
18
|
+
if (!text) return;
|
|
19
|
+
setDraft("");
|
|
20
|
+
onCommand?.(text);
|
|
21
|
+
}
|
|
22
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
23
|
+
...rest,
|
|
24
|
+
role: "log",
|
|
25
|
+
"aria-label": label ?? void 0,
|
|
26
|
+
"data-scope": "terminal",
|
|
27
|
+
"data-part": "root",
|
|
28
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
29
|
+
ref: scroll,
|
|
30
|
+
"data-scope": "terminal",
|
|
31
|
+
"data-part": "scroll",
|
|
32
|
+
children: lines.map((line, index) => /* @__PURE__ */ jsx("div", {
|
|
33
|
+
"data-scope": "terminal",
|
|
34
|
+
"data-part": "line",
|
|
35
|
+
children: line
|
|
36
|
+
}, index))
|
|
37
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
38
|
+
"data-scope": "terminal",
|
|
39
|
+
"data-part": "entry",
|
|
40
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
41
|
+
"data-scope": "terminal",
|
|
42
|
+
"data-part": "sigil",
|
|
43
|
+
"aria-hidden": "true",
|
|
44
|
+
children: prompt
|
|
45
|
+
}), /* @__PURE__ */ jsx("input", {
|
|
46
|
+
"data-scope": "terminal",
|
|
47
|
+
"data-part": "input",
|
|
48
|
+
value: draft,
|
|
49
|
+
placeholder,
|
|
50
|
+
"aria-label": label ? `${label} command line` : "Command line",
|
|
51
|
+
spellCheck: false,
|
|
52
|
+
autoComplete: "off",
|
|
53
|
+
onInput: (event) => setDraft(event.target.value),
|
|
54
|
+
onKeyDown: (event) => {
|
|
55
|
+
if (event.key === "Enter") {
|
|
56
|
+
event.preventDefault();
|
|
57
|
+
submit();
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
})]
|
|
61
|
+
})]
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
//#endregion
|
|
65
|
+
export { Terminal };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { TextareaHTMLAttributes } from "react";
|
|
2
|
+
//#region src/components/textarea/index.d.ts
|
|
3
|
+
/** The bare multi-line input: the field recipe on a `<textarea>`, sized
|
|
4
|
+
* by rows and resizable in the block direction. Standing alone it styles
|
|
5
|
+
* itself from the `invalid` prop; inside a `Field.Root` it consumes the
|
|
6
|
+
* field context, picking up the label id, the described-by wiring and
|
|
7
|
+
* the invalid state for free. Disabled rides the native attribute. */
|
|
8
|
+
export interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
9
|
+
value?: string;
|
|
10
|
+
invalid?: boolean;
|
|
11
|
+
onValueChange?: (value: string) => void;
|
|
12
|
+
}
|
|
13
|
+
export declare function Textarea({ value, invalid, onValueChange, ...rest }: TextareaProps): import("react").JSX.Element;
|
|
14
|
+
//#endregion
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { useFieldContext } from "@ark-ui/react/field";
|
|
4
|
+
//#region src/components/textarea/index.tsx
|
|
5
|
+
function Textarea({ value, invalid = false, onValueChange, ...rest }) {
|
|
6
|
+
injectComponentStyle("textarea");
|
|
7
|
+
const field = useFieldContext();
|
|
8
|
+
const fieldProps = field?.getTextareaProps() ?? {};
|
|
9
|
+
return /* @__PURE__ */ jsx("textarea", {
|
|
10
|
+
...fieldProps,
|
|
11
|
+
...rest,
|
|
12
|
+
...value !== void 0 ? { value } : {},
|
|
13
|
+
"data-scope": "textarea",
|
|
14
|
+
"data-part": "root",
|
|
15
|
+
"data-invalid": invalid || field?.invalid ? "" : void 0,
|
|
16
|
+
onChange: (event) => onValueChange?.(event.target.value)
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
export { Textarea };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { HTMLAttributes } from "react";
|
|
3
|
+
//#region src/components/timeline/index.d.ts
|
|
4
|
+
declare function Root({ orientation, children, ...rest }: HTMLAttributes<HTMLElement> & {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
orientation?: "vertical" | "horizontal";
|
|
7
|
+
}): React.JSX.Element;
|
|
8
|
+
declare namespace Root {
|
|
9
|
+
var displayName: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const Timeline: typeof Root & {
|
|
12
|
+
Root: typeof Root;
|
|
13
|
+
Item: {
|
|
14
|
+
({ children, ...rest }: HTMLAttributes<HTMLElement>): React.JSX.Element;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
17
|
+
Marker: {
|
|
18
|
+
({ children, ...rest }: HTMLAttributes<HTMLElement>): React.JSX.Element;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
21
|
+
Content: {
|
|
22
|
+
({ children, ...rest }: HTMLAttributes<HTMLElement>): React.JSX.Element;
|
|
23
|
+
displayName: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
//#endregion
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/timeline/index.tsx
|
|
4
|
+
/** A line of moments: Root is the ordered thread, Item one moment on it,
|
|
5
|
+
* Marker the point where the thread passes, Content what the moment
|
|
6
|
+
* holds. The hairline between markers is drawn by the stylesheet. */
|
|
7
|
+
function part(name, tag) {
|
|
8
|
+
const Tag = tag;
|
|
9
|
+
const Component = ({ children, ...rest }) => /* @__PURE__ */ jsx(Tag, {
|
|
10
|
+
...rest,
|
|
11
|
+
"data-scope": "timeline",
|
|
12
|
+
"data-part": name.toLowerCase(),
|
|
13
|
+
children
|
|
14
|
+
});
|
|
15
|
+
Component.displayName = "Timeline" + name;
|
|
16
|
+
return Component;
|
|
17
|
+
}
|
|
18
|
+
function Root({ orientation = "vertical", children, ...rest }) {
|
|
19
|
+
injectComponentStyle("timeline");
|
|
20
|
+
return /* @__PURE__ */ jsx("ol", {
|
|
21
|
+
...rest,
|
|
22
|
+
"data-scope": "timeline",
|
|
23
|
+
"data-part": "root",
|
|
24
|
+
"data-orientation": orientation,
|
|
25
|
+
children
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
Root.displayName = "TimelineRoot";
|
|
29
|
+
const Item = part("Item", "li");
|
|
30
|
+
const Marker = part("Marker", "span");
|
|
31
|
+
const Content = part("Content", "div");
|
|
32
|
+
const Timeline = Object.assign(Root, {
|
|
33
|
+
Root,
|
|
34
|
+
Item,
|
|
35
|
+
Marker,
|
|
36
|
+
Content
|
|
37
|
+
});
|
|
38
|
+
injectComponentStyle("timeline");
|
|
39
|
+
//#endregion
|
|
40
|
+
export { Timeline };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Timer as Timer$1 } from "@ark-ui/react/timer";
|
|
2
|
+
//#region src/components/timer/index.d.ts
|
|
3
|
+
/** Ark's Timer, dressed in the paper-and-ink system: monospaced digits
|
|
4
|
+
* that never jitter, quiet action triggers on the control recipe. The API
|
|
5
|
+
* is Ark's own — Root, Area, Control, Item, Separator, ActionTrigger,
|
|
6
|
+
* Context. Unit labels are plain content, not a machine part. */
|
|
7
|
+
export declare const Timer: typeof Timer$1;
|
|
8
|
+
//#endregion
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { Timer as Timer$1 } from "@ark-ui/react/timer";
|
|
3
|
+
//#region src/components/timer/index.tsx
|
|
4
|
+
/** Ark's Timer, dressed in the paper-and-ink system: monospaced digits
|
|
5
|
+
* that never jitter, quiet action triggers on the control recipe. The API
|
|
6
|
+
* is Ark's own — Root, Area, Control, Item, Separator, ActionTrigger,
|
|
7
|
+
* Context. Unit labels are plain content, not a machine part. */
|
|
8
|
+
const Timer = Timer$1;
|
|
9
|
+
injectComponentStyle("timer");
|
|
10
|
+
//#endregion
|
|
11
|
+
export { Timer };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CreateToasterReturn, Toast as Toast$1, createToaster } from "@ark-ui/react/toast";
|
|
2
|
+
//#region src/components/toast/index.d.ts
|
|
3
|
+
/** Ark's Toast, dressed in the paper-and-ink system: each notice rides the
|
|
4
|
+
* popup vessel while a pigment accents the title by type, and the machine's
|
|
5
|
+
* translate variables carry the slide. The API is Ark's own — Toaster,
|
|
6
|
+
* Root, Title, Description, ActionTrigger, CloseTrigger, plus
|
|
7
|
+
* createToaster. */
|
|
8
|
+
export declare const Toast: typeof Toast$1;
|
|
9
|
+
export declare const Toaster: import("react").ForwardRefExoticComponent<import("@ark-ui/react/toast").ToasterProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { type CreateToasterReturn, createToaster };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { Toast as Toast$1, Toaster as Toaster$1, createToaster } from "@ark-ui/react/toast";
|
|
3
|
+
//#region src/components/toast/index.tsx
|
|
4
|
+
/** Ark's Toast, dressed in the paper-and-ink system: each notice rides the
|
|
5
|
+
* popup vessel while a pigment accents the title by type, and the machine's
|
|
6
|
+
* translate variables carry the slide. The API is Ark's own — Toaster,
|
|
7
|
+
* Root, Title, Description, ActionTrigger, CloseTrigger, plus
|
|
8
|
+
* createToaster. */
|
|
9
|
+
const Toast = Toast$1;
|
|
10
|
+
const Toaster = Toaster$1;
|
|
11
|
+
injectComponentStyle("toast");
|
|
12
|
+
//#endregion
|
|
13
|
+
export { Toast, Toaster, createToaster };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Toc as Toc$1 } from "@ark-ui/react/toc";
|
|
2
|
+
//#region src/components/toc/index.d.ts
|
|
3
|
+
/** Ark's Toc, dressed in the paper-and-ink system: a quiet rail of links
|
|
4
|
+
* beside the scroll, one stroke of primary ink marking where the reader
|
|
5
|
+
* stands. The API is Ark's own — Root, Title, List, Item, Link, Indicator. */
|
|
6
|
+
export declare const Toc: typeof Toc$1;
|
|
7
|
+
//#endregion
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { Toc as Toc$1 } from "@ark-ui/react/toc";
|
|
3
|
+
//#region src/components/toc/index.tsx
|
|
4
|
+
/** Ark's Toc, dressed in the paper-and-ink system: a quiet rail of links
|
|
5
|
+
* beside the scroll, one stroke of primary ink marking where the reader
|
|
6
|
+
* stands. The API is Ark's own — Root, Title, List, Item, Link, Indicator. */
|
|
7
|
+
const Toc = Toc$1;
|
|
8
|
+
injectComponentStyle("toc");
|
|
9
|
+
//#endregion
|
|
10
|
+
export { Toc };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Toggle as Toggle$1 } from "@ark-ui/react/toggle";
|
|
2
|
+
//#region src/components/toggle/index.d.ts
|
|
3
|
+
/** Ark's Toggle, dressed in the paper-and-ink system: a standalone seal that
|
|
4
|
+
* settles into the flat ink fill while pressed on. The API is Ark's own —
|
|
5
|
+
* Root, Indicator. */
|
|
6
|
+
export declare const Toggle: typeof Toggle$1;
|
|
7
|
+
//#endregion
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { Toggle as Toggle$1 } from "@ark-ui/react/toggle";
|
|
3
|
+
//#region src/components/toggle/index.tsx
|
|
4
|
+
/** Ark's Toggle, dressed in the paper-and-ink system: a standalone seal that
|
|
5
|
+
* settles into the flat ink fill while pressed on. The API is Ark's own —
|
|
6
|
+
* Root, Indicator. */
|
|
7
|
+
const Toggle = Toggle$1;
|
|
8
|
+
injectComponentStyle("toggle");
|
|
9
|
+
//#endregion
|
|
10
|
+
export { Toggle };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ComponentProps } from "react";
|
|
2
|
+
import { ToggleGroup as ToggleGroup$1 } from "@ark-ui/react/toggle-group";
|
|
3
|
+
//#region src/components/toggle-group/index.d.ts
|
|
4
|
+
type ToggleGroupRootProps = ComponentProps<typeof ToggleGroup$1.Root> & {
|
|
5
|
+
/** One rung of the control-height ladder for the items. */
|
|
6
|
+
size?: "sm" | "md" | "lg";
|
|
7
|
+
};
|
|
8
|
+
declare function ToggleGroupRoot({ size, ...rest }: ToggleGroupRootProps): import("react").JSX.Element;
|
|
9
|
+
/** Ark's ToggleGroup, dressed in the paper-and-ink system: a hairline tray
|
|
10
|
+
* of quiet seals where the pressed item takes the flat ink fill. The API is
|
|
11
|
+
* Ark's own — Root, Item. */
|
|
12
|
+
export declare const ToggleGroup: Omit<typeof ToggleGroup$1, "Root"> & {
|
|
13
|
+
Root: typeof ToggleGroupRoot;
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { ToggleGroup as ToggleGroup$1 } from "@ark-ui/react/toggle-group";
|
|
4
|
+
//#region src/components/toggle-group/index.tsx
|
|
5
|
+
function ToggleGroupRoot({ size = "md", ...rest }) {
|
|
6
|
+
return /* @__PURE__ */ jsx(ToggleGroup$1.Root, {
|
|
7
|
+
...rest,
|
|
8
|
+
"data-size": size
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
/** Ark's ToggleGroup, dressed in the paper-and-ink system: a hairline tray
|
|
12
|
+
* of quiet seals where the pressed item takes the flat ink fill. The API is
|
|
13
|
+
* Ark's own — Root, Item. */
|
|
14
|
+
const ToggleGroup = {
|
|
15
|
+
...ToggleGroup$1,
|
|
16
|
+
Root: ToggleGroupRoot
|
|
17
|
+
};
|
|
18
|
+
injectComponentStyle("toggle-group");
|
|
19
|
+
//#endregion
|
|
20
|
+
export { ToggleGroup };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from "react";
|
|
2
|
+
//#region src/components/toolbar/index.d.ts
|
|
3
|
+
export interface ToolbarProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
/** Accessible name when more than one toolbar shares a page. */
|
|
5
|
+
label?: string;
|
|
6
|
+
/** Tools at the leading edge; `children` land here when no start is
|
|
7
|
+
* given. */
|
|
8
|
+
start?: ReactNode;
|
|
9
|
+
/** Tools at the trailing edge. */
|
|
10
|
+
end?: ReactNode;
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
}
|
|
13
|
+
/** A workbench rail: the start tools at the leading edge, the end tools
|
|
14
|
+
* at the trailing, the rail itself carrying the toolbar role so
|
|
15
|
+
* assistive tech reads it as one group of commands. */
|
|
16
|
+
export declare function Toolbar({ label, start, end, children, ...rest }: ToolbarProps): import("react").JSX.Element;
|
|
17
|
+
//#endregion
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/toolbar/index.tsx
|
|
4
|
+
/** A workbench rail: the start tools at the leading edge, the end tools
|
|
5
|
+
* at the trailing, the rail itself carrying the toolbar role so
|
|
6
|
+
* assistive tech reads it as one group of commands. */
|
|
7
|
+
function Toolbar({ label, start, end, children, ...rest }) {
|
|
8
|
+
injectComponentStyle("toolbar");
|
|
9
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
10
|
+
...rest,
|
|
11
|
+
role: "toolbar",
|
|
12
|
+
"aria-label": label ?? void 0,
|
|
13
|
+
"data-scope": "toolbar",
|
|
14
|
+
"data-part": "root",
|
|
15
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
16
|
+
"data-scope": "toolbar",
|
|
17
|
+
"data-part": "group",
|
|
18
|
+
"data-edge": "start",
|
|
19
|
+
children: start ?? children
|
|
20
|
+
}), end ? /* @__PURE__ */ jsx("div", {
|
|
21
|
+
"data-scope": "toolbar",
|
|
22
|
+
"data-part": "group",
|
|
23
|
+
"data-edge": "end",
|
|
24
|
+
children: end
|
|
25
|
+
}) : null]
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
//#endregion
|
|
29
|
+
export { Toolbar };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Tooltip as Tooltip$1 } from "@ark-ui/react/tooltip";
|
|
2
|
+
//#region src/components/tooltip/index.d.ts
|
|
3
|
+
/** Ark's Tooltip, dressed in the paper-and-ink system: the smallest
|
|
4
|
+
* vessel — a tight chip of ink that dissolves in over its anchor. The
|
|
5
|
+
* API is Ark's own — Root, Trigger, Positioner, Content, Arrow, ArrowTip. */
|
|
6
|
+
export declare const Tooltip: typeof Tooltip$1;
|
|
7
|
+
//#endregion
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { Tooltip as Tooltip$1 } from "@ark-ui/react/tooltip";
|
|
3
|
+
//#region src/components/tooltip/index.tsx
|
|
4
|
+
/** Ark's Tooltip, dressed in the paper-and-ink system: the smallest
|
|
5
|
+
* vessel — a tight chip of ink that dissolves in over its anchor. The
|
|
6
|
+
* API is Ark's own — Root, Trigger, Positioner, Content, Arrow, ArrowTip. */
|
|
7
|
+
const Tooltip = Tooltip$1;
|
|
8
|
+
injectComponentStyle("tooltip");
|
|
9
|
+
//#endregion
|
|
10
|
+
export { Tooltip };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Tour as Tour$1, TourInteractOutsideEvent, TourPointerDownOutsideEvent, TourStepDetails, useTour } from "@ark-ui/react/tour";
|
|
2
|
+
//#region src/components/tour/index.d.ts
|
|
3
|
+
/** Ark's Tour, dressed in the paper-and-ink system: a dimmed page where
|
|
4
|
+
* the spotlight alone keeps the focus halo, and the anchored card rides
|
|
5
|
+
* the shared popup vessel. The API is Ark's own — Root, Backdrop,
|
|
6
|
+
* Spotlight, Positioner, Content, Arrow, ArrowTip, Title, Description,
|
|
7
|
+
* ProgressText, Control, Actions, ActionTrigger, CloseTrigger, plus
|
|
8
|
+
* useTour. */
|
|
9
|
+
export declare const Tour: typeof Tour$1;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { type TourInteractOutsideEvent, type TourPointerDownOutsideEvent, type TourStepDetails, useTour };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { injectComponentStyle } from "@bysages/core";
|
|
2
|
+
import { Tour as Tour$1, useTour } from "@ark-ui/react/tour";
|
|
3
|
+
//#region src/components/tour/index.tsx
|
|
4
|
+
/** Ark's Tour, dressed in the paper-and-ink system: a dimmed page where
|
|
5
|
+
* the spotlight alone keeps the focus halo, and the anchored card rides
|
|
6
|
+
* the shared popup vessel. The API is Ark's own — Root, Backdrop,
|
|
7
|
+
* Spotlight, Positioner, Content, Arrow, ArrowTip, Title, Description,
|
|
8
|
+
* ProgressText, Control, Actions, ActionTrigger, CloseTrigger, plus
|
|
9
|
+
* useTour. */
|
|
10
|
+
const Tour = Tour$1;
|
|
11
|
+
injectComponentStyle("tour");
|
|
12
|
+
//#endregion
|
|
13
|
+
export { Tour, useTour };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { HTMLAttributes } from "react";
|
|
2
|
+
//#region src/components/transfer/index.d.ts
|
|
3
|
+
export interface TransferItem {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface TransferProps extends HTMLAttributes<HTMLDivElement> {
|
|
9
|
+
value?: string[];
|
|
10
|
+
data: TransferItem[];
|
|
11
|
+
titles?: string[];
|
|
12
|
+
searchable?: boolean;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
onValueChange?: (value: string[]) => void;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Two ledgers and a crossing: items sit in the source column until the
|
|
18
|
+
* reader checks them and walks them across — and back, the same way.
|
|
19
|
+
* `value` is the target column's value list; everything else in `data`
|
|
20
|
+
* stays on the left. `searchable` adds a filter line to each panel.
|
|
21
|
+
*/
|
|
22
|
+
export declare function Transfer({ value, data, titles, searchable, disabled, onValueChange, ...rest }: TransferProps): import("react").JSX.Element;
|
|
23
|
+
//#endregion
|