@bysages/react 0.2.0 → 0.2.2
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/index.d.mts +280 -52
- package/dist/index.mjs +401 -83
- package/package.json +3 -2
package/dist/index.d.mts
CHANGED
|
@@ -4,8 +4,8 @@ import { Field as Field$1 } from "@ark-ui/react/field";
|
|
|
4
4
|
import { Popover as Popover$1 } from "@ark-ui/react/popover";
|
|
5
5
|
import { Collapsible as Collapsible$1 } from "@ark-ui/react/collapsible";
|
|
6
6
|
import { AngleSlider as AngleSlider$1 } from "@ark-ui/react/angle-slider";
|
|
7
|
-
import { CollectionItem, CollectionOptions, FilePathTreeNode, FlatTreeNode, GridCollection, GridCollectionOptions, ListCollection, TreeCollection, TreeCollectionOptions, TreeNode, UseAsyncListProps, UseAsyncListReturn, UseListCollectionProps, UseListCollectionReturn, UseListSelectionProps, UseListSelectionReturn, createFileTreeCollection, createGridCollection, createTreeCollection, useAsyncList, useListCollection, useListSelection } from "@ark-ui/react/collection";
|
|
8
|
-
import { Combobox as Combobox$1 } from "@ark-ui/react/combobox";
|
|
7
|
+
import { CollectionItem, CollectionItem as CollectionItem$1, CollectionOptions, FilePathTreeNode, FlatTreeNode, GridCollection, GridCollectionOptions, ListCollection, TreeCollection, TreeCollectionOptions, TreeNode, UseAsyncListProps, UseAsyncListReturn, UseListCollectionProps, UseListCollectionReturn, UseListSelectionProps, UseListSelectionReturn, createFileTreeCollection, createGridCollection, createTreeCollection, useAsyncList, useListCollection, useListSelection } from "@ark-ui/react/collection";
|
|
8
|
+
import { Combobox as Combobox$1, ComboboxRootComponentProps } from "@ark-ui/react/combobox";
|
|
9
9
|
import { Avatar as Avatar$1 } from "@ark-ui/react/avatar";
|
|
10
10
|
import { DatePicker as DatePicker$1, DatePickerFocusChangeDetails, DatePickerOpenChangeDetails, DatePickerRootProps, DatePickerValueChangeDetails, DatePickerViewChangeDetails, DatePickerVisibleRangeChangeDetails } from "@ark-ui/react/date-picker";
|
|
11
11
|
import { Carousel as Carousel$1 } from "@ark-ui/react/carousel";
|
|
@@ -26,7 +26,7 @@ import { Format as Format$1 } from "@ark-ui/react/format";
|
|
|
26
26
|
import { HoverCard as HoverCard$1 } from "@ark-ui/react/hover-card";
|
|
27
27
|
import { ImageCropper as ImageCropper$1 } from "@ark-ui/react/image-cropper";
|
|
28
28
|
import { JsonTreeView as JsonTreeView$1 } from "@ark-ui/react/json-tree-view";
|
|
29
|
-
import { Listbox as Listbox$1 } from "@ark-ui/react/listbox";
|
|
29
|
+
import { Listbox as Listbox$1, ListboxRootComponentProps } from "@ark-ui/react/listbox";
|
|
30
30
|
import { Marquee as Marquee$1 } from "@ark-ui/react/marquee";
|
|
31
31
|
import { Menu as Menu$1 } from "@ark-ui/react/menu";
|
|
32
32
|
import { NavigationMenu as NavigationMenu$1 } from "@ark-ui/react/navigation-menu";
|
|
@@ -41,7 +41,7 @@ import { RadioGroup as RadioGroup$1 } from "@ark-ui/react/radio-group";
|
|
|
41
41
|
import { RatingGroup as RatingGroup$1 } from "@ark-ui/react/rating-group";
|
|
42
42
|
import { ScrollArea as ScrollArea$1 } from "@ark-ui/react/scroll-area";
|
|
43
43
|
import { SegmentGroup as SegmentGroup$1 } from "@ark-ui/react/segment-group";
|
|
44
|
-
import { Select as Select$1 } from "@ark-ui/react/select";
|
|
44
|
+
import { Select as Select$1, SelectRootComponentProps } from "@ark-ui/react/select";
|
|
45
45
|
import { SignaturePad as SignaturePad$1 } from "@ark-ui/react/signature-pad";
|
|
46
46
|
import { Slider as Slider$1 } from "@ark-ui/react/slider";
|
|
47
47
|
import { Splitter as Splitter$1 } from "@ark-ui/react/splitter";
|
|
@@ -58,7 +58,7 @@ import { Toggle as Toggle$1 } from "@ark-ui/react/toggle";
|
|
|
58
58
|
import { ToggleGroup as ToggleGroup$1 } from "@ark-ui/react/toggle-group";
|
|
59
59
|
import { Tooltip as Tooltip$1 } from "@ark-ui/react/tooltip";
|
|
60
60
|
import { Tour as Tour$1, TourInteractOutsideEvent, TourPointerDownOutsideEvent, TourStepDetails, useTour } from "@ark-ui/react/tour";
|
|
61
|
-
import { TreeView as TreeView$1,
|
|
61
|
+
import { TreeView as TreeView$1, TreeViewRootComponentProps } from "@ark-ui/react/tree-view";
|
|
62
62
|
import { JSONSchema7, JSONSchema7 as JSONSchema7$1 } from "json-schema";
|
|
63
63
|
export * from "@bysages/core";
|
|
64
64
|
//#endregion
|
|
@@ -154,6 +154,8 @@ export interface MentionEntry {
|
|
|
154
154
|
value: string;
|
|
155
155
|
}
|
|
156
156
|
export interface MentionsVesselProps {
|
|
157
|
+
/** The host field's rung, so the rows keep the field's register. */
|
|
158
|
+
size?: "sm" | "md" | "lg";
|
|
157
159
|
/** Whether the candidates are up. */
|
|
158
160
|
open?: boolean;
|
|
159
161
|
/** The candidates on offer. */
|
|
@@ -174,7 +176,7 @@ export interface MentionsVesselProps {
|
|
|
174
176
|
* its own anatomy (the textarea rides where the host puts it) and the
|
|
175
177
|
* vessel still points at the right place. Shares the detection state
|
|
176
178
|
* with the host through `useMentions`. */
|
|
177
|
-
export declare function MentionsVessel({ open, matches, active, anchor, onInsert, onActiveChange, onOpenChange }: MentionsVesselProps): import("react").JSX.Element;
|
|
179
|
+
export declare function MentionsVessel({ size, open, matches, active, anchor, onInsert, onActiveChange, onOpenChange }: MentionsVesselProps): import("react").JSX.Element;
|
|
178
180
|
/**
|
|
179
181
|
* @-mentions: a plain textarea that, when the text before the caret ends
|
|
180
182
|
* with the trigger character followed by a token, offers the matching
|
|
@@ -205,10 +207,12 @@ export interface MentionsProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
205
207
|
/** Standing alone, the field styles itself from this flag; inside a
|
|
206
208
|
* `Field.Root` the field's own invalid state takes over. */
|
|
207
209
|
invalid?: boolean;
|
|
210
|
+
/** One rung of the control-height ladder for the resting field. */
|
|
211
|
+
size?: "sm" | "md" | "lg";
|
|
208
212
|
/** Reports the field's next text. */
|
|
209
213
|
onValueChange?: (value: string) => void;
|
|
210
214
|
}
|
|
211
|
-
export declare function Mentions({ items, value, trigger, placeholder, autoresize, invalid, onValueChange, children, ...rest }: MentionsProps): import("react").JSX.Element;
|
|
215
|
+
export declare function Mentions({ items, value, trigger, placeholder, autoresize, invalid, size, onValueChange, children, ...rest }: MentionsProps): import("react").JSX.Element;
|
|
212
216
|
//#endregion
|
|
213
217
|
//#region src/components/ai-prompt-input/index.d.ts
|
|
214
218
|
/**
|
|
@@ -13544,11 +13548,18 @@ export declare const Alert: typeof AlertRoot & {
|
|
|
13544
13548
|
};
|
|
13545
13549
|
//#endregion
|
|
13546
13550
|
//#region src/components/angle-slider/index.d.ts
|
|
13551
|
+
type AngleSliderRootProps = ComponentProps<typeof AngleSlider$1.Root> & {
|
|
13552
|
+
/** One rung of the dial ladder — the diameter the needle sweeps. */
|
|
13553
|
+
size?: "sm" | "md" | "lg";
|
|
13554
|
+
};
|
|
13555
|
+
declare function AngleSliderRoot({ size, ...rest }: AngleSliderRootProps): import("react").JSX.Element;
|
|
13547
13556
|
/** Ark's AngleSlider, dressed in the paper-and-ink system: a flat paper dial
|
|
13548
13557
|
* the thumb sweeps as a pigment needle over hairline degree ticks. The API
|
|
13549
13558
|
* is Ark's own — Root, Label, ValueText, Control, Thumb, MarkerGroup,
|
|
13550
13559
|
* Marker, HiddenInput. */
|
|
13551
|
-
export declare const AngleSlider: typeof AngleSlider$1
|
|
13560
|
+
export declare const AngleSlider: Omit<typeof AngleSlider$1, "Root"> & {
|
|
13561
|
+
Root: typeof AngleSliderRoot;
|
|
13562
|
+
};
|
|
13552
13563
|
//#endregion
|
|
13553
13564
|
//#region src/components/aspect-ratio/index.d.ts
|
|
13554
13565
|
/** A frame that keeps its shape: the box holds the given ratio whatever
|
|
@@ -13573,9 +13584,11 @@ export interface AutoCompleteProps extends Omit<HTMLAttributes<HTMLDivElement>,
|
|
|
13573
13584
|
placeholder?: string;
|
|
13574
13585
|
/** Field text to match against; defaults to the item itself. */
|
|
13575
13586
|
filter?: (item: string, input: string) => boolean;
|
|
13587
|
+
/** One rung of the control-height ladder for the field row. */
|
|
13588
|
+
size?: "sm" | "md" | "lg";
|
|
13576
13589
|
onValueChange?: (value: string) => void;
|
|
13577
13590
|
}
|
|
13578
|
-
export declare function AutoComplete({ value, items, placeholder, filter, onValueChange, ...rest }: AutoCompleteProps): import("react").JSX.Element;
|
|
13591
|
+
export declare function AutoComplete({ value, items, placeholder, filter, size, onValueChange, ...rest }: AutoCompleteProps): import("react").JSX.Element;
|
|
13579
13592
|
//#endregion
|
|
13580
13593
|
//#region src/components/avatar/index.d.ts
|
|
13581
13594
|
/** Avatar, dressed in the paper-and-ink system: a circular seal on
|
|
@@ -13598,8 +13611,12 @@ export declare const Avatar: typeof Avatar$1 & {
|
|
|
13598
13611
|
//#region src/components/avatar-group/index.d.ts
|
|
13599
13612
|
/** Avatars overlapping one row, each rimmed in the ground so the pile
|
|
13600
13613
|
* stays legible. */
|
|
13601
|
-
export
|
|
13602
|
-
|
|
13614
|
+
export interface AvatarGroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
13615
|
+
/** One register for every seal: falls onto data-size for the
|
|
13616
|
+
* stylesheet to re-point the avatars' measure. */
|
|
13617
|
+
size?: "sm" | "md" | "lg";
|
|
13618
|
+
}
|
|
13619
|
+
export declare function AvatarGroup({ size, children, ...rest }: AvatarGroupProps): import("react").JSX.Element;
|
|
13603
13620
|
//#endregion
|
|
13604
13621
|
//#region src/components/back-top/index.d.ts
|
|
13605
13622
|
export interface BackTopProps extends HTMLAttributes<HTMLButtonElement> {
|
|
@@ -13824,9 +13841,11 @@ export interface CascadeSelectProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
13824
13841
|
filterable?: boolean;
|
|
13825
13842
|
multiple?: boolean;
|
|
13826
13843
|
disabled?: boolean;
|
|
13844
|
+
/** One rung of the control-height ladder for the trigger. */
|
|
13845
|
+
size?: "sm" | "md" | "lg";
|
|
13827
13846
|
onValueChange?: (value: string[][]) => void;
|
|
13828
13847
|
}
|
|
13829
|
-
export declare function CascadeSelect({ value, data, placeholder, highlightTrigger, filterable, multiple, disabled, onValueChange, ...rest }: CascadeSelectProps): import("react").JSX.Element;
|
|
13848
|
+
export declare function CascadeSelect({ value, data, placeholder, highlightTrigger, filterable, multiple, disabled, size, onValueChange, ...rest }: CascadeSelectProps): import("react").JSX.Element;
|
|
13830
13849
|
//#endregion
|
|
13831
13850
|
//#region src/components/carousel/index.d.ts
|
|
13832
13851
|
/** Ark's Carousel, dressed in the paper-and-ink system: slides ride in one
|
|
@@ -13837,11 +13856,18 @@ export declare function CascadeSelect({ value, data, placeholder, highlightTrigg
|
|
|
13837
13856
|
export declare const Carousel: typeof Carousel$1;
|
|
13838
13857
|
//#endregion
|
|
13839
13858
|
//#region src/components/checkbox/index.d.ts
|
|
13859
|
+
type CheckboxRootProps = ComponentProps<typeof Checkbox$1.Root> & {
|
|
13860
|
+
/** One rung for the control's box: the tick scales with it. */
|
|
13861
|
+
size?: "sm" | "md" | "lg";
|
|
13862
|
+
};
|
|
13863
|
+
declare function CheckboxRoot({ size, ...rest }: CheckboxRootProps): import("react").JSX.Element;
|
|
13840
13864
|
/** Ark's Checkbox, dressed in the paper-and-ink system: a square-cut seal
|
|
13841
13865
|
* that fills flat with primary ink when ticked, the mark springing into
|
|
13842
13866
|
* place. The API is Ark's own — Root, Label, Control, Indicator,
|
|
13843
13867
|
* HiddenInput. */
|
|
13844
|
-
export declare const Checkbox: typeof Checkbox$1
|
|
13868
|
+
export declare const Checkbox: Omit<typeof Checkbox$1, "Root"> & {
|
|
13869
|
+
Root: typeof CheckboxRoot;
|
|
13870
|
+
};
|
|
13845
13871
|
//#endregion
|
|
13846
13872
|
//#region src/components/checkbox-group/index.d.ts
|
|
13847
13873
|
export interface CheckboxOption {
|
|
@@ -13853,6 +13879,9 @@ export interface CheckboxGroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
13853
13879
|
value?: string[];
|
|
13854
13880
|
options: CheckboxOption[];
|
|
13855
13881
|
layout?: "vertical" | "horizontal";
|
|
13882
|
+
/** One register for every box: falls onto each root's data-size for
|
|
13883
|
+
* the stylesheet to retune. */
|
|
13884
|
+
size?: "sm" | "md" | "lg";
|
|
13856
13885
|
invalid?: boolean;
|
|
13857
13886
|
disabled?: boolean;
|
|
13858
13887
|
onValueChange?: (value: string[]) => void;
|
|
@@ -13865,7 +13894,7 @@ export interface CheckboxGroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
13865
13894
|
* the field context, so the invalid and disabled states a Form routes to
|
|
13866
13895
|
* its name dress every box at once.
|
|
13867
13896
|
*/
|
|
13868
|
-
export declare function CheckboxGroup({ value, options, layout, invalid, disabled, onValueChange, ...rest }: CheckboxGroupProps): import("react").JSX.Element;
|
|
13897
|
+
export declare function CheckboxGroup({ value, options, layout, size, invalid, disabled, onValueChange, ...rest }: CheckboxGroupProps): import("react").JSX.Element;
|
|
13869
13898
|
//#endregion
|
|
13870
13899
|
//#region src/components/chip/index.d.ts
|
|
13871
13900
|
/** A counting coin: the numeric value, capped at `max` with an ellipsis
|
|
@@ -13883,7 +13912,15 @@ export declare function Chip({ value, max, tone, variant, ...rest }: ChipProps):
|
|
|
13883
13912
|
* field beside an icon-sized copy trigger whose ink turns bamboo while the
|
|
13884
13913
|
* copy is confirmed. The API is Ark's own — Root, Label, Control, Input,
|
|
13885
13914
|
* Trigger, Indicator, Context, HiddenInput. */
|
|
13886
|
-
|
|
13915
|
+
type ClipboardRootProps = ComponentProps<typeof Clipboard$1.Root> & {
|
|
13916
|
+
/** One rung of the control-height ladder for the value field and
|
|
13917
|
+
* its copy seal. */
|
|
13918
|
+
size?: "sm" | "md" | "lg";
|
|
13919
|
+
};
|
|
13920
|
+
declare function ClipboardRoot({ size, ...rest }: ClipboardRootProps): import("react").JSX.Element;
|
|
13921
|
+
export declare const Clipboard: Omit<typeof Clipboard$1, "Root"> & {
|
|
13922
|
+
Root: typeof ClipboardRoot;
|
|
13923
|
+
};
|
|
13887
13924
|
//#endregion
|
|
13888
13925
|
//#region src/components/collapsible/index.d.ts
|
|
13889
13926
|
/** Ark's Collapsible, dressed in the paper-and-ink system: one control on
|
|
@@ -13892,6 +13929,11 @@ export declare const Clipboard: typeof Clipboard$1;
|
|
|
13892
13929
|
export declare const Collapsible: typeof Collapsible$1;
|
|
13893
13930
|
//#endregion
|
|
13894
13931
|
//#region src/components/color-picker/index.d.ts
|
|
13932
|
+
type ColorPickerRootProps = ComponentProps<typeof ColorPicker$1.Root> & {
|
|
13933
|
+
/** One rung of the control-height ladder for the swatch seal. */
|
|
13934
|
+
size?: "sm" | "md" | "lg";
|
|
13935
|
+
};
|
|
13936
|
+
declare function ColorPickerRoot({ size, ...rest }: ColorPickerRootProps): import("react").JSX.Element;
|
|
13895
13937
|
/** Ark's ColorPicker, dressed in the paper-and-ink system: a seal-sized swatch
|
|
13896
13938
|
* on the paper, opening into an area and channel sliders where pigment is
|
|
13897
13939
|
* picked. The API is Ark's own — Root, Label, Control, Trigger, Positioner,
|
|
@@ -13900,7 +13942,9 @@ export declare const Collapsible: typeof Collapsible$1;
|
|
|
13900
13942
|
* ChannelSliderValueText, ChannelInput, TransparencyGrid, SwatchGroup,
|
|
13901
13943
|
* SwatchTrigger, SwatchIndicator, Swatch, EyeDropperTrigger, FormatTrigger,
|
|
13902
13944
|
* FormatSelect, HiddenInput, Context. */
|
|
13903
|
-
export declare const ColorPicker: typeof ColorPicker$1
|
|
13945
|
+
export declare const ColorPicker: Omit<typeof ColorPicker$1, "Root"> & {
|
|
13946
|
+
Root: typeof ColorPickerRoot;
|
|
13947
|
+
};
|
|
13904
13948
|
//#endregion
|
|
13905
13949
|
//#region src/components/combobox/index.d.ts
|
|
13906
13950
|
/** Ark's Combobox, dressed in the paper-and-ink system: the field carries
|
|
@@ -13908,7 +13952,14 @@ export declare const ColorPicker: typeof ColorPicker$1;
|
|
|
13908
13952
|
* checked row taking the flat ink fill. The API is Ark's own — Root, Label,
|
|
13909
13953
|
* Control, Input, Trigger, ClearTrigger, Positioner, Content, List, Empty,
|
|
13910
13954
|
* Item, ItemText, ItemIndicator, ItemGroup, ItemGroupLabel. */
|
|
13911
|
-
|
|
13955
|
+
type ComboboxOwnProps = {
|
|
13956
|
+
/** One rung of the control-height ladder for the field row. */
|
|
13957
|
+
size?: "sm" | "md" | "lg";
|
|
13958
|
+
};
|
|
13959
|
+
declare function ComboboxRoot<T extends CollectionItem$1>(props: ComboboxRootComponentProps<T, ComboboxOwnProps>): import("react").JSX.Element;
|
|
13960
|
+
export declare const Combobox: Omit<typeof Combobox$1, "Root"> & {
|
|
13961
|
+
Root: typeof ComboboxRoot;
|
|
13962
|
+
};
|
|
13912
13963
|
//#endregion
|
|
13913
13964
|
//#region src/components/command/index.d.ts
|
|
13914
13965
|
export interface CommandEntry {
|
|
@@ -14020,20 +14071,34 @@ export interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
14020
14071
|
export declare function Container({ size, padding, ...rest }: ContainerProps): import("react").JSX.Element;
|
|
14021
14072
|
//#endregion
|
|
14022
14073
|
//#region src/components/date-input/index.d.ts
|
|
14074
|
+
type DateInputRootProps = ComponentProps<typeof DateInput$1.Root> & {
|
|
14075
|
+
/** One rung of the control-height ladder for the segmented field. */
|
|
14076
|
+
size?: "sm" | "md" | "lg";
|
|
14077
|
+
};
|
|
14078
|
+
declare function DateInputRoot({ size, ...rest }: DateInputRootProps): import("react").JSX.Element;
|
|
14023
14079
|
/** Ark's DateInput, dressed in the paper-and-ink system: a segmented
|
|
14024
14080
|
* field where the focused segment takes the flat ink fill. The API is
|
|
14025
14081
|
* Ark's own — Root, Label, Control, SegmentGroup, Segment, SegmentContext,
|
|
14026
14082
|
* HiddenInput. */
|
|
14027
|
-
export declare const DateInput: typeof DateInput$1
|
|
14083
|
+
export declare const DateInput: Omit<typeof DateInput$1, "Root"> & {
|
|
14084
|
+
Root: typeof DateInputRoot;
|
|
14085
|
+
};
|
|
14028
14086
|
//#endregion
|
|
14029
14087
|
//#region src/components/date-picker/index.d.ts
|
|
14088
|
+
type DatePickerRootProps$1 = ComponentProps<typeof DatePicker$1.Root> & {
|
|
14089
|
+
/** One rung of the control-height ladder for the field row. */
|
|
14090
|
+
size?: "sm" | "md" | "lg";
|
|
14091
|
+
};
|
|
14092
|
+
declare function DatePickerRoot({ size, ...rest }: DatePickerRootProps$1): import("react").JSX.Element;
|
|
14030
14093
|
/** Ark's DatePicker, dressed in the paper-and-ink system: the popup
|
|
14031
14094
|
* dissolves in on elevation, selected days take the flat ink fill, and
|
|
14032
14095
|
* range middles run subtle with cut corners. The API is Ark's own —
|
|
14033
14096
|
* Root, Label, Control, Input, Trigger, ClearTrigger, Positioner,
|
|
14034
14097
|
* Content, View, ViewControl, ViewTrigger, RangeText, PrevTrigger,
|
|
14035
14098
|
* NextTrigger, Table*, MonthSelect, YearSelect, PresetTrigger. */
|
|
14036
|
-
export declare const DatePicker: typeof DatePicker$1
|
|
14099
|
+
export declare const DatePicker: Omit<typeof DatePicker$1, "Root"> & {
|
|
14100
|
+
Root: typeof DatePickerRoot;
|
|
14101
|
+
};
|
|
14037
14102
|
//#endregion
|
|
14038
14103
|
//#region src/components/descriptions/index.d.ts
|
|
14039
14104
|
/** A ledger laid flat: term and detail pairs in one quiet grid. The
|
|
@@ -14087,6 +14152,8 @@ export interface DynamicInputProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
14087
14152
|
addLabel?: string;
|
|
14088
14153
|
disabled?: boolean;
|
|
14089
14154
|
invalid?: boolean;
|
|
14155
|
+
/** One rung of the ladder, handed to every row's field and seals. */
|
|
14156
|
+
size?: "sm" | "md" | "lg";
|
|
14090
14157
|
onValueChange?: (value: string[]) => void;
|
|
14091
14158
|
}
|
|
14092
14159
|
/**
|
|
@@ -14097,14 +14164,21 @@ export interface DynamicInputProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
14097
14164
|
* grows past `max`, and the group always keeps one row: an entry list
|
|
14098
14165
|
* that emptied itself would leave the reader no place to type.
|
|
14099
14166
|
*/
|
|
14100
|
-
export declare function DynamicInput({ value, min, max, placeholder, addLabel, disabled, invalid, onValueChange, children: _children, ...rest }: DynamicInputProps): import("react").JSX.Element;
|
|
14167
|
+
export declare function DynamicInput({ value, min, max, placeholder, addLabel, disabled, invalid, size, onValueChange, children: _children, ...rest }: DynamicInputProps): import("react").JSX.Element;
|
|
14101
14168
|
//#endregion
|
|
14102
14169
|
//#region src/components/editable/index.d.ts
|
|
14103
14170
|
/** Ark's Editable, dressed in the paper-and-ink system: bare ink while
|
|
14104
14171
|
* reading, the full field recipe while editing. The API is Ark's own —
|
|
14105
14172
|
* Root, Area, Label, Preview, Input, EditTrigger, SubmitTrigger,
|
|
14106
14173
|
* CancelTrigger, Control. */
|
|
14107
|
-
|
|
14174
|
+
type EditableRootProps = ComponentProps<typeof Editable$1.Root> & {
|
|
14175
|
+
/** One rung of the control-height ladder for the editing field. */
|
|
14176
|
+
size?: "sm" | "md" | "lg";
|
|
14177
|
+
};
|
|
14178
|
+
declare function EditableRoot({ size, ...rest }: EditableRootProps): import("react").JSX.Element;
|
|
14179
|
+
export declare const Editable: Omit<typeof Editable$1, "Root"> & {
|
|
14180
|
+
Root: typeof EditableRoot;
|
|
14181
|
+
};
|
|
14108
14182
|
//#endregion
|
|
14109
14183
|
//#region src/components/ellipsis/index.d.ts
|
|
14110
14184
|
/** The overflow knife: text cut at one line, or held to N lines. The
|
|
@@ -14156,19 +14230,30 @@ export declare const Field: typeof Field$1;
|
|
|
14156
14230
|
export declare const Fieldset: typeof Fieldset$1;
|
|
14157
14231
|
//#endregion
|
|
14158
14232
|
//#region src/components/file-upload/index.d.ts
|
|
14233
|
+
type FileUploadRootProps = ComponentProps<typeof FileUpload$1.Root> & {
|
|
14234
|
+
/** One rung of the control-height ladder for the trigger. */
|
|
14235
|
+
size?: "sm" | "md" | "lg";
|
|
14236
|
+
};
|
|
14237
|
+
declare function FileUploadRoot({ size, ...rest }: FileUploadRootProps): import("react").JSX.Element;
|
|
14159
14238
|
/** Ark's FileUpload, dressed in the paper-and-ink system: a dashed
|
|
14160
14239
|
* dropzone that floods with subtle light on drag-over, and accepted files
|
|
14161
14240
|
* as loose hairline slips. The API is Ark's own — Root, Label, Trigger,
|
|
14162
14241
|
* Dropzone, HiddenInput, ItemGroup, Item, ItemName, ItemSizeText,
|
|
14163
14242
|
* ItemPreview, ItemPreviewImage, ItemDeleteTrigger, ClearTrigger,
|
|
14164
14243
|
* Context. */
|
|
14165
|
-
export declare const FileUpload: typeof FileUpload$1
|
|
14244
|
+
export declare const FileUpload: Omit<typeof FileUpload$1, "Root"> & {
|
|
14245
|
+
Root: typeof FileUploadRoot;
|
|
14246
|
+
};
|
|
14166
14247
|
//#endregion
|
|
14167
14248
|
//#region src/components/float-button/index.d.ts
|
|
14168
14249
|
export type FloatButtonPlacement = "bottom-end" | "bottom-start" | "top-end" | "top-start";
|
|
14250
|
+
export type FloatButtonSize = "sm" | "md" | "lg";
|
|
14169
14251
|
/** The group's openness, shared from the mooring to its parts. */
|
|
14170
14252
|
export interface FloatButtonContextValue {
|
|
14171
14253
|
open: boolean;
|
|
14254
|
+
/** The group's button rung; the trigger takes it whole, the items
|
|
14255
|
+
* step down one. */
|
|
14256
|
+
size: FloatButtonSize;
|
|
14172
14257
|
toggle: () => void;
|
|
14173
14258
|
/** Folds the fan — an Item calls this once its action fires, the way
|
|
14174
14259
|
* a speed dial closes after a choice. */
|
|
@@ -14184,6 +14269,8 @@ export interface FloatButtonRootProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
14184
14269
|
open?: boolean;
|
|
14185
14270
|
/** Which corner the group moors at. */
|
|
14186
14271
|
placement?: FloatButtonPlacement;
|
|
14272
|
+
/** One rung of the button ladder for the whole group. */
|
|
14273
|
+
size?: FloatButtonSize;
|
|
14187
14274
|
onOpenChange?: (open: boolean) => void;
|
|
14188
14275
|
children?: ReactNode;
|
|
14189
14276
|
}
|
|
@@ -14196,7 +14283,7 @@ export interface FloatButtonRootProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
14196
14283
|
* (vessels here: round); this family owns only the mooring, the fan
|
|
14197
14284
|
* and the fold.
|
|
14198
14285
|
*/
|
|
14199
|
-
declare function Root$2({ open: openProp, placement, onOpenChange, children, ...rest }: FloatButtonRootProps): import("react").JSX.Element;
|
|
14286
|
+
declare function Root$2({ open: openProp, placement, size, onOpenChange, children, ...rest }: FloatButtonRootProps): import("react").JSX.Element;
|
|
14200
14287
|
declare function Trigger({ label, children }: {
|
|
14201
14288
|
label?: string;
|
|
14202
14289
|
children?: ReactNode;
|
|
@@ -14343,7 +14430,8 @@ export declare const HoverCard: typeof HoverCard$1;
|
|
|
14343
14430
|
//#region src/components/icon/index.d.ts
|
|
14344
14431
|
/** The inkwell: a standard box that keeps any inline svg at its optical
|
|
14345
14432
|
* measure and in the text's own ink — the icon carries no pigment and no
|
|
14346
|
-
* size of its own. Bring
|
|
14433
|
+
* size of its own. Bring a glyph through `name` from the registry, or
|
|
14434
|
+
* bring your own; the well renders either. */
|
|
14347
14435
|
export interface IconProps extends HTMLAttributes<HTMLSpanElement> {
|
|
14348
14436
|
/** Size steps follow the surrounding font size; `inherit` is the
|
|
14349
14437
|
* default — one em of the text the icon sits in. */
|
|
@@ -14351,8 +14439,11 @@ export interface IconProps extends HTMLAttributes<HTMLSpanElement> {
|
|
|
14351
14439
|
/** The accessible name. Without it the icon is presentation-only and
|
|
14352
14440
|
* hidden from the accessibility tree. */
|
|
14353
14441
|
label?: string;
|
|
14442
|
+
/** A glyph from the registry. Ignored when children are given — an
|
|
14443
|
+
* explicit glyph always wins over the registry. */
|
|
14444
|
+
name?: string;
|
|
14354
14445
|
}
|
|
14355
|
-
export declare function Icon({ size, label, children, ...rest }: IconProps): import("react").JSX.Element;
|
|
14446
|
+
export declare function Icon({ size, label, name, children, ...rest }: IconProps): import("react").JSX.Element;
|
|
14356
14447
|
//#endregion
|
|
14357
14448
|
//#region src/components/image/index.d.ts
|
|
14358
14449
|
/** A framed picture: while the source loads, the frame keeps the
|
|
@@ -14552,7 +14643,14 @@ export declare const List: typeof Root & {
|
|
|
14552
14643
|
* Ark's own — Root, Label, Input, Content, Empty, Item, ItemText,
|
|
14553
14644
|
* ItemIndicator, ItemGroup, ItemGroupLabel, ValueText, plus
|
|
14554
14645
|
* createListCollection. */
|
|
14555
|
-
|
|
14646
|
+
type ListboxOwnProps = {
|
|
14647
|
+
/** One rung of the ladder for the row register and the filter field. */
|
|
14648
|
+
size?: "sm" | "md" | "lg";
|
|
14649
|
+
};
|
|
14650
|
+
declare function ListboxRoot<T extends CollectionItem$1>(props: ListboxRootComponentProps<T, ListboxOwnProps>): import("react").JSX.Element;
|
|
14651
|
+
export declare const Listbox: Omit<typeof Listbox$1, "Root"> & {
|
|
14652
|
+
Root: typeof ListboxRoot;
|
|
14653
|
+
};
|
|
14556
14654
|
//#endregion
|
|
14557
14655
|
//#region src/components/marquee/index.d.ts
|
|
14558
14656
|
/** Ark's Marquee, dressed in the paper-and-ink system: a linear ribbon of
|
|
@@ -14571,12 +14669,23 @@ export interface MasonryProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
14571
14669
|
export declare function Masonry({ columns, gap, ...rest }: MasonryProps): import("react").JSX.Element;
|
|
14572
14670
|
//#endregion
|
|
14573
14671
|
//#region src/components/menu/index.d.ts
|
|
14672
|
+
type MenuRootProps = Parameters<typeof Menu$1.Root>[0] & {
|
|
14673
|
+
/** One rung of the control-height ladder for the vessel's rows. */
|
|
14674
|
+
size?: "sm" | "md" | "lg";
|
|
14675
|
+
};
|
|
14676
|
+
declare function MenuRoot({ size, ...rest }: MenuRootProps): import("react").JSX.Element;
|
|
14677
|
+
declare function MenuContent(props: Parameters<typeof Menu$1.Content>[0]): import("react").JSX.Element;
|
|
14574
14678
|
/** Ark's Menu, dressed in the paper-and-ink system: a quiet paper vessel on
|
|
14575
14679
|
* elevation, hover as light on the row, checked items as the flat ink fill.
|
|
14576
|
-
* The
|
|
14680
|
+
* The parts — Root, Trigger, ContextTrigger, Indicator, Positioner,
|
|
14577
14681
|
* Content, Item, ItemText, ItemIndicator, ItemGroup, ItemGroupLabel,
|
|
14578
|
-
* TriggerItem, Separator, Arrow, ArrowTip.
|
|
14579
|
-
|
|
14682
|
+
* TriggerItem, Separator, Arrow, ArrowTip. Ark's namespace is frozen —
|
|
14683
|
+
* spread copies the members so Root and Content can be the sized
|
|
14684
|
+
* wrappers while the rest stay Ark's own parts. */
|
|
14685
|
+
export declare const Menu: Omit<typeof Menu$1, "Root" | "Content"> & {
|
|
14686
|
+
Root: typeof MenuRoot;
|
|
14687
|
+
Content: typeof MenuContent;
|
|
14688
|
+
};
|
|
14580
14689
|
//#endregion
|
|
14581
14690
|
//#region src/components/menubar/index.d.ts
|
|
14582
14691
|
export interface MenubarEntry {
|
|
@@ -14617,10 +14726,12 @@ export interface MeterRootProps extends HTMLAttributes<HTMLElement> {
|
|
|
14617
14726
|
max?: number;
|
|
14618
14727
|
/** The pigment the ink rides: primary unless a threshold is crossed. */
|
|
14619
14728
|
level?: "normal" | "success" | "warning" | "danger";
|
|
14729
|
+
/** One rung of the groove ladder — the track's thickness. */
|
|
14730
|
+
size?: "sm" | "md" | "lg";
|
|
14620
14731
|
label?: string;
|
|
14621
14732
|
}
|
|
14622
|
-
export declare const Meter: (({ value, min, max, level, label, children, ...rest }: MeterRootProps) => import("react").JSX.Element) & {
|
|
14623
|
-
Root: ({ value, min, max, level, label, children, ...rest }: MeterRootProps) => import("react").JSX.Element;
|
|
14733
|
+
export declare const Meter: (({ value, min, max, level, size, label, children, ...rest }: MeterRootProps) => import("react").JSX.Element) & {
|
|
14734
|
+
Root: ({ value, min, max, level, size, label, children, ...rest }: MeterRootProps) => import("react").JSX.Element;
|
|
14624
14735
|
Label: {
|
|
14625
14736
|
({ children, ...rest }: HTMLAttributes<HTMLElement>): import("react").JSX.Element;
|
|
14626
14737
|
displayName: string;
|
|
@@ -14640,33 +14751,61 @@ export declare const Meter: (({ value, min, max, level, label, children, ...rest
|
|
|
14640
14751
|
export declare const NavigationMenu: typeof NavigationMenu$1;
|
|
14641
14752
|
//#endregion
|
|
14642
14753
|
//#region src/components/number-input/index.d.ts
|
|
14754
|
+
type NumberInputRootProps = ComponentProps<typeof NumberInput$1.Root> & {
|
|
14755
|
+
/** One rung of the control-height ladder for the field and its stepper. */
|
|
14756
|
+
size?: "sm" | "md" | "lg";
|
|
14757
|
+
};
|
|
14758
|
+
declare function NumberInputRoot({ size, ...rest }: NumberInputRootProps): import("react").JSX.Element;
|
|
14643
14759
|
/** Ark's NumberInput, dressed in the paper-and-ink system: the stepper
|
|
14644
14760
|
* rides inside the field as one seal split by a hairline, numbers set in
|
|
14645
14761
|
* tabular figures. The API is Ark's own — Root, Label, Control, Input,
|
|
14646
14762
|
* ValueText, IncrementTrigger, DecrementTrigger, Scrubber. */
|
|
14647
|
-
export declare const NumberInput: typeof NumberInput$1
|
|
14763
|
+
export declare const NumberInput: Omit<typeof NumberInput$1, "Root"> & {
|
|
14764
|
+
Root: typeof NumberInputRoot;
|
|
14765
|
+
};
|
|
14648
14766
|
//#endregion
|
|
14649
14767
|
//#region src/components/pagination/index.d.ts
|
|
14768
|
+
type PaginationRootProps = ComponentProps<typeof Pagination$1.Root> & {
|
|
14769
|
+
/** One rung of the control-height ladder every page seal shares. */
|
|
14770
|
+
size?: "sm" | "md" | "lg";
|
|
14771
|
+
};
|
|
14772
|
+
declare function PaginationRoot({ size, ...rest }: PaginationRootProps): import("react").JSX.Element;
|
|
14650
14773
|
/**
|
|
14651
14774
|
* Pagination — paged navigation.
|
|
14652
14775
|
*
|
|
14653
14776
|
* Parts: Root, Item (page seals), Ellipsis, PrevTrigger, NextTrigger,
|
|
14654
14777
|
* FirstTrigger, LastTrigger. Items carry data-selected.
|
|
14655
14778
|
*/
|
|
14656
|
-
export declare const Pagination: typeof Pagination$1
|
|
14779
|
+
export declare const Pagination: Omit<typeof Pagination$1, "Root"> & {
|
|
14780
|
+
Root: typeof PaginationRoot;
|
|
14781
|
+
};
|
|
14657
14782
|
//#endregion
|
|
14658
14783
|
//#region src/components/password-input/index.d.ts
|
|
14784
|
+
type PasswordInputRootProps = ComponentProps<typeof PasswordInput$1.Root> & {
|
|
14785
|
+
/** One rung of the control-height ladder for the field and its eye. */
|
|
14786
|
+
size?: "sm" | "md" | "lg";
|
|
14787
|
+
};
|
|
14788
|
+
declare function PasswordInputRoot({ size, ...rest }: PasswordInputRootProps): import("react").JSX.Element;
|
|
14659
14789
|
/** Ark's PasswordInput, dressed in the paper-and-ink system: the reveal
|
|
14660
14790
|
* eye sits quiet at the field's edge and swaps in place — no shift, no
|
|
14661
14791
|
* noise. The API is Ark's own — Root, Label, Control, Input, Indicator,
|
|
14662
14792
|
* VisibilityTrigger. */
|
|
14663
|
-
export declare const PasswordInput: typeof PasswordInput$1
|
|
14793
|
+
export declare const PasswordInput: Omit<typeof PasswordInput$1, "Root"> & {
|
|
14794
|
+
Root: typeof PasswordInputRoot;
|
|
14795
|
+
};
|
|
14664
14796
|
//#endregion
|
|
14665
14797
|
//#region src/components/pin-input/index.d.ts
|
|
14798
|
+
type PinInputRootProps = ComponentProps<typeof PinInput$1.Root> & {
|
|
14799
|
+
/** One rung of the control-height ladder each seal stands on. */
|
|
14800
|
+
size?: "sm" | "md" | "lg";
|
|
14801
|
+
};
|
|
14802
|
+
declare function PinInputRoot({ size, ...rest }: PinInputRootProps): import("react").JSX.Element;
|
|
14666
14803
|
/** Ark's PinInput, dressed in the paper-and-ink system: one character per
|
|
14667
14804
|
* square-cut seal, centered ink in tabular figures. The API is Ark's own —
|
|
14668
14805
|
* Root, Label, Control, Input, HiddenInput. */
|
|
14669
|
-
export declare const PinInput: typeof PinInput$1
|
|
14806
|
+
export declare const PinInput: Omit<typeof PinInput$1, "Root"> & {
|
|
14807
|
+
Root: typeof PinInputRoot;
|
|
14808
|
+
};
|
|
14670
14809
|
//#endregion
|
|
14671
14810
|
//#region src/components/popconfirm/index.d.ts
|
|
14672
14811
|
/**
|
|
@@ -14695,11 +14834,18 @@ export declare function Popconfirm({ message, confirmText, cancelText, children,
|
|
|
14695
14834
|
export declare const Popover: typeof Popover$1;
|
|
14696
14835
|
//#endregion
|
|
14697
14836
|
//#region src/components/progress/index.d.ts
|
|
14837
|
+
type ProgressRootProps = ComponentProps<typeof Progress$1.Root> & {
|
|
14838
|
+
/** One rung of the groove ladder — the track's thickness. */
|
|
14839
|
+
size?: "sm" | "md" | "lg";
|
|
14840
|
+
};
|
|
14841
|
+
declare function ProgressRoot({ size, ...rest }: ProgressRootProps): import("react").JSX.Element;
|
|
14698
14842
|
/** Ark's Progress, dressed in the paper-and-ink system: a quiet hairline
|
|
14699
14843
|
* groove that the primary ink fills at the machine's pace. The API is
|
|
14700
14844
|
* Ark's own — Root, Label, ValueText, Track, Range, View, Circle,
|
|
14701
14845
|
* CircleTrack, CircleRange. */
|
|
14702
|
-
export declare const Progress: typeof Progress$1
|
|
14846
|
+
export declare const Progress: Omit<typeof Progress$1, "Root"> & {
|
|
14847
|
+
Root: typeof ProgressRoot;
|
|
14848
|
+
};
|
|
14703
14849
|
//#endregion
|
|
14704
14850
|
//#region src/components/progress-group/index.d.ts
|
|
14705
14851
|
/** One verdict on the bar. */
|
|
@@ -14730,18 +14876,32 @@ export declare function ProgressGroup({ segments, max, showLegend, ...rest }: Pr
|
|
|
14730
14876
|
export declare const QrCode: typeof QrCode$1;
|
|
14731
14877
|
//#endregion
|
|
14732
14878
|
//#region src/components/radio-group/index.d.ts
|
|
14879
|
+
type RadioGroupRootProps = ComponentProps<typeof RadioGroup$1.Root> & {
|
|
14880
|
+
/** One rung for the dial; the chosen dot rides it. */
|
|
14881
|
+
size?: "sm" | "md" | "lg";
|
|
14882
|
+
};
|
|
14883
|
+
declare function RadioGroupRoot({ size, ...rest }: RadioGroupRootProps): import("react").JSX.Element;
|
|
14733
14884
|
/** Ark's RadioGroup, dressed in the paper-and-ink system: a column of
|
|
14734
14885
|
* full-circle seals that fill flat with primary ink when chosen, the dot
|
|
14735
14886
|
* punched through as paper. The API is Ark's own — Root, Label, Item,
|
|
14736
14887
|
* ItemText, ItemControl, Indicator, ItemHiddenInput. */
|
|
14737
|
-
export declare const RadioGroup: typeof RadioGroup$1
|
|
14888
|
+
export declare const RadioGroup: Omit<typeof RadioGroup$1, "Root"> & {
|
|
14889
|
+
Root: typeof RadioGroupRoot;
|
|
14890
|
+
};
|
|
14738
14891
|
//#endregion
|
|
14739
14892
|
//#region src/components/rating-group/index.d.ts
|
|
14893
|
+
type RatingGroupRootProps = ComponentProps<typeof RatingGroup$1.Root> & {
|
|
14894
|
+
/** One rung of the control-height ladder every seal stands on. */
|
|
14895
|
+
size?: "sm" | "md" | "lg";
|
|
14896
|
+
};
|
|
14897
|
+
declare function RatingGroupRoot({ size, ...rest }: RatingGroupRootProps): import("react").JSX.Element;
|
|
14740
14898
|
/** Ark's RatingGroup, dressed in the paper-and-ink system: a row of quiet
|
|
14741
14899
|
* seals whose glyphs take the primary pigment as they light up. The API is
|
|
14742
14900
|
* Ark's own — Root, Label, Control, Item, HiddenInput (plus the Context and
|
|
14743
14901
|
* ItemContext render helpers). */
|
|
14744
|
-
export declare const RatingGroup: typeof RatingGroup$1
|
|
14902
|
+
export declare const RatingGroup: Omit<typeof RatingGroup$1, "Root"> & {
|
|
14903
|
+
Root: typeof RatingGroupRoot;
|
|
14904
|
+
};
|
|
14745
14905
|
//#endregion
|
|
14746
14906
|
//#region src/components/scroll-area/index.d.ts
|
|
14747
14907
|
/** Ark's ScrollArea, dressed in the paper-and-ink system: native bars
|
|
@@ -14750,11 +14910,20 @@ export declare const RatingGroup: typeof RatingGroup$1;
|
|
|
14750
14910
|
export declare const ScrollArea: typeof ScrollArea$1;
|
|
14751
14911
|
//#endregion
|
|
14752
14912
|
//#region src/components/segment-group/index.d.ts
|
|
14753
|
-
|
|
14754
|
-
|
|
14755
|
-
|
|
14913
|
+
type SegmentGroupRootProps = ComponentProps<typeof SegmentGroup$1.Root> & {
|
|
14914
|
+
/** One rung of the control-height ladder for the segments. The
|
|
14915
|
+
* family keeps its compact register, so the rungs sit one notch
|
|
14916
|
+
* below the global ladder - the default md rests at the small
|
|
14917
|
+
* height. */
|
|
14918
|
+
size?: "sm" | "md" | "lg";
|
|
14919
|
+
};
|
|
14920
|
+
declare function SegmentGroupRoot({ size, ...rest }: SegmentGroupRootProps): import("react").JSX.Element;
|
|
14921
|
+
/** SegmentGroup, dressed in the paper-and-ink system: a hairline tray
|
|
14922
|
+
* where one flat ink plate travels beneath the checked seal. The parts - Root, Label, Indicator, Item, ItemText, ItemControl,
|
|
14756
14923
|
* ItemHiddenInput. */
|
|
14757
|
-
export declare const SegmentGroup: typeof SegmentGroup$1
|
|
14924
|
+
export declare const SegmentGroup: Omit<typeof SegmentGroup$1, "Root"> & {
|
|
14925
|
+
Root: typeof SegmentGroupRoot;
|
|
14926
|
+
};
|
|
14758
14927
|
//#endregion
|
|
14759
14928
|
//#region src/components/select/index.d.ts
|
|
14760
14929
|
/** Ark's Select, dressed in the paper-and-ink system: the trigger is the
|
|
@@ -14762,7 +14931,14 @@ export declare const SegmentGroup: typeof SegmentGroup$1;
|
|
|
14762
14931
|
* row taking the flat ink fill. The API is Ark's own — Root, Label, Control,
|
|
14763
14932
|
* Trigger, ValueText, Indicator, ClearTrigger, HiddenSelect, Positioner,
|
|
14764
14933
|
* Content, List, Item, ItemText, ItemIndicator, ItemGroup, ItemGroupLabel. */
|
|
14765
|
-
|
|
14934
|
+
type SelectOwnProps = {
|
|
14935
|
+
/** One rung of the control-height ladder for the trigger. */
|
|
14936
|
+
size?: "sm" | "md" | "lg";
|
|
14937
|
+
};
|
|
14938
|
+
declare function SelectRoot<T extends CollectionItem$1>(props: SelectRootComponentProps<T, SelectOwnProps>): import("react").JSX.Element;
|
|
14939
|
+
export declare const Select: Omit<typeof Select$1, "Root"> & {
|
|
14940
|
+
Root: typeof SelectRoot;
|
|
14941
|
+
};
|
|
14766
14942
|
//#endregion
|
|
14767
14943
|
//#region src/components/separator/index.d.ts
|
|
14768
14944
|
/** The paper-ink hairline as a component: a named rule between sections.
|
|
@@ -14788,11 +14964,18 @@ export type SkeletonProps = HTMLAttributes<HTMLDivElement>;
|
|
|
14788
14964
|
export declare function Skeleton({ ...rest }: SkeletonProps): import("react").JSX.Element;
|
|
14789
14965
|
//#endregion
|
|
14790
14966
|
//#region src/components/slider/index.d.ts
|
|
14967
|
+
type SliderRootProps = ComponentProps<typeof Slider$1.Root> & {
|
|
14968
|
+
/** One rung of the part-size ladder for the thumb seal. */
|
|
14969
|
+
size?: "sm" | "md" | "lg";
|
|
14970
|
+
};
|
|
14971
|
+
declare function SliderRoot({ size, ...rest }: SliderRootProps): import("react").JSX.Element;
|
|
14791
14972
|
/** Ark's Slider, dressed in the paper-and-ink system: a recessed track the
|
|
14792
14973
|
* primary ink runs along, a paper-seal thumb, and hairline tick markers.
|
|
14793
14974
|
* The API is Ark's own — Root, Label, ValueText, Control, Track, Range,
|
|
14794
14975
|
* Thumb, MarkerGroup, Marker, DraggingIndicator, HiddenInput. */
|
|
14795
|
-
export declare const Slider: typeof Slider$1
|
|
14976
|
+
export declare const Slider: Omit<typeof Slider$1, "Root"> & {
|
|
14977
|
+
Root: typeof SliderRoot;
|
|
14978
|
+
};
|
|
14796
14979
|
//#endregion
|
|
14797
14980
|
//#region src/components/split-button/index.d.ts
|
|
14798
14981
|
export interface SplitButtonEntry {
|
|
@@ -14913,6 +15096,11 @@ export declare const Stat: {
|
|
|
14913
15096
|
};
|
|
14914
15097
|
//#endregion
|
|
14915
15098
|
//#region src/components/steps/index.d.ts
|
|
15099
|
+
type StepsRootProps = ComponentProps<typeof Steps$1.Root> & {
|
|
15100
|
+
/** One rung of the control-height ladder every indicator stands on. */
|
|
15101
|
+
size?: "sm" | "md" | "lg";
|
|
15102
|
+
};
|
|
15103
|
+
declare function StepsRoot({ size, ...rest }: StepsRootProps): import("react").JSX.Element;
|
|
14916
15104
|
/**
|
|
14917
15105
|
* Steps — linear progress through a sequence.
|
|
14918
15106
|
*
|
|
@@ -14920,7 +15108,9 @@ export declare const Stat: {
|
|
|
14920
15108
|
* PrevTrigger, NextTrigger, Progress. Indicator and Separator carry
|
|
14921
15109
|
* data-complete / data-current / data-incomplete.
|
|
14922
15110
|
*/
|
|
14923
|
-
export declare const Steps: typeof Steps$1
|
|
15111
|
+
export declare const Steps: Omit<typeof Steps$1, "Root"> & {
|
|
15112
|
+
Root: typeof StepsRoot;
|
|
15113
|
+
};
|
|
14924
15114
|
//#endregion
|
|
14925
15115
|
//#region src/components/swap/index.d.ts
|
|
14926
15116
|
/** Ark's Swap, dressed in the paper-and-ink system: two impressions
|
|
@@ -14930,28 +15120,49 @@ export declare const Steps: typeof Steps$1;
|
|
|
14930
15120
|
export declare const Swap: typeof Swap$1;
|
|
14931
15121
|
//#endregion
|
|
14932
15122
|
//#region src/components/switch/index.d.ts
|
|
15123
|
+
type SwitchRootProps = ComponentProps<typeof Switch$1.Root> & {
|
|
15124
|
+
/** One rung for the thumb; the track travels with it. */
|
|
15125
|
+
size?: "sm" | "md" | "lg";
|
|
15126
|
+
};
|
|
15127
|
+
declare function SwitchRoot({ size, ...rest }: SwitchRootProps): import("react").JSX.Element;
|
|
14933
15128
|
/** Ark's Switch, dressed in the paper-and-ink system: a track that rests
|
|
14934
15129
|
* in the inset shade of the paper and fills flat with primary ink when on,
|
|
14935
15130
|
* the thumb sliding on the spring. The API is Ark's own — Root, Label,
|
|
14936
15131
|
* Control, Thumb, HiddenInput. */
|
|
14937
|
-
export declare const Switch: typeof Switch$1
|
|
15132
|
+
export declare const Switch: Omit<typeof Switch$1, "Root"> & {
|
|
15133
|
+
Root: typeof SwitchRoot;
|
|
15134
|
+
};
|
|
14938
15135
|
//#endregion
|
|
14939
15136
|
//#region src/components/tabs/index.d.ts
|
|
15137
|
+
type TabsRootProps = ComponentProps<typeof Tabs$1.Root> & {
|
|
15138
|
+
/** One rung of the control-height ladder for the tab rows. */
|
|
15139
|
+
size?: "sm" | "md" | "lg";
|
|
15140
|
+
};
|
|
15141
|
+
declare function TabsRoot({ size, ...rest }: TabsRootProps): import("react").JSX.Element;
|
|
14940
15142
|
/**
|
|
14941
15143
|
* Tabs — tabbed navigation.
|
|
14942
15144
|
*
|
|
14943
15145
|
* Parts: Root, List, Trigger, Content, Indicator (machine-positioned ink
|
|
14944
15146
|
* bar on the list rule).
|
|
14945
15147
|
*/
|
|
14946
|
-
export declare const Tabs: typeof Tabs$1
|
|
15148
|
+
export declare const Tabs: Omit<typeof Tabs$1, "Root"> & {
|
|
15149
|
+
Root: typeof TabsRoot;
|
|
15150
|
+
};
|
|
14947
15151
|
//#endregion
|
|
14948
15152
|
//#region src/components/tags-input/index.d.ts
|
|
15153
|
+
type TagsInputRootProps = ComponentProps<typeof TagsInput$1.Root> & {
|
|
15154
|
+
/** One rung of the control-height ladder for the vessel at rest. */
|
|
15155
|
+
size?: "sm" | "md" | "lg";
|
|
15156
|
+
};
|
|
15157
|
+
declare function TagsInputRoot({ size, ...rest }: TagsInputRootProps): import("react").JSX.Element;
|
|
14949
15158
|
/** Ark's TagsInput, dressed in the paper-and-ink system: one field vessel
|
|
14950
15159
|
* whose chips rest as quiet ink and lift only a tone when edited. The API
|
|
14951
15160
|
* is Ark's own — Root, Label, Control, Input, ClearTrigger, Item,
|
|
14952
15161
|
* ItemPreview, ItemText, ItemInput, ItemDeleteTrigger, HiddenInput,
|
|
14953
15162
|
* Context. */
|
|
14954
|
-
export declare const TagsInput: typeof TagsInput$1
|
|
15163
|
+
export declare const TagsInput: Omit<typeof TagsInput$1, "Root"> & {
|
|
15164
|
+
Root: typeof TagsInputRoot;
|
|
15165
|
+
};
|
|
14955
15166
|
//#endregion
|
|
14956
15167
|
//#region src/components/table/index.d.ts
|
|
14957
15168
|
/** Column metadata understood by this table: mark columns whose values
|
|
@@ -15125,10 +15336,17 @@ export declare const Typography: {
|
|
|
15125
15336
|
};
|
|
15126
15337
|
//#endregion
|
|
15127
15338
|
//#region src/components/toggle-group/index.d.ts
|
|
15339
|
+
type ToggleGroupRootProps = ComponentProps<typeof ToggleGroup$1.Root> & {
|
|
15340
|
+
/** One rung of the control-height ladder for the items. */
|
|
15341
|
+
size?: "sm" | "md" | "lg";
|
|
15342
|
+
};
|
|
15343
|
+
declare function ToggleGroupRoot({ size, ...rest }: ToggleGroupRootProps): import("react").JSX.Element;
|
|
15128
15344
|
/** Ark's ToggleGroup, dressed in the paper-and-ink system: a hairline tray
|
|
15129
15345
|
* of quiet seals where the pressed item takes the flat ink fill. The API is
|
|
15130
15346
|
* Ark's own — Root, Item. */
|
|
15131
|
-
export declare const ToggleGroup: typeof ToggleGroup$1
|
|
15347
|
+
export declare const ToggleGroup: Omit<typeof ToggleGroup$1, "Root"> & {
|
|
15348
|
+
Root: typeof ToggleGroupRoot;
|
|
15349
|
+
};
|
|
15132
15350
|
//#endregion
|
|
15133
15351
|
//#region src/components/tooltip/index.d.ts
|
|
15134
15352
|
/** Ark's Tooltip, dressed in the paper-and-ink system: the smallest
|
|
@@ -15187,9 +15405,12 @@ export interface TreeSelectProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
15187
15405
|
placeholder?: string;
|
|
15188
15406
|
filterable?: boolean;
|
|
15189
15407
|
disabled?: boolean;
|
|
15408
|
+
/** One rung of the ladder: the trigger height and the vessel's row
|
|
15409
|
+
* register follow it together. */
|
|
15410
|
+
size?: "sm" | "md" | "lg";
|
|
15190
15411
|
onValueChange?: (value: string) => void;
|
|
15191
15412
|
}
|
|
15192
|
-
export declare function TreeSelect({ value, data, placeholder, filterable, disabled, onValueChange, ...rest }: TreeSelectProps): import("react").JSX.Element;
|
|
15413
|
+
export declare function TreeSelect({ value, data, placeholder, filterable, disabled, size, onValueChange, ...rest }: TreeSelectProps): import("react").JSX.Element;
|
|
15193
15414
|
//#endregion
|
|
15194
15415
|
//#region src/components/tree-view/index.d.ts
|
|
15195
15416
|
/** Ark's TreeView, dressed in the paper-and-ink system: quiet rows where
|
|
@@ -15199,7 +15420,14 @@ export declare function TreeSelect({ value, data, placeholder, filterable, disab
|
|
|
15199
15420
|
* BranchTrigger, BranchIndicator, BranchText, BranchContent,
|
|
15200
15421
|
* BranchIndentGuide, Item, ItemText, ItemIndicator, NodeCheckbox,
|
|
15201
15422
|
* NodeRenameInput, plus createTreeCollection. */
|
|
15202
|
-
|
|
15423
|
+
type TreeViewOwnProps = {
|
|
15424
|
+
/** One rung of the row register: the rows' breathing room follows it. */
|
|
15425
|
+
size?: "sm" | "md" | "lg";
|
|
15426
|
+
};
|
|
15427
|
+
declare function TreeViewRoot<T extends CollectionItem$1>(props: TreeViewRootComponentProps<T, TreeViewOwnProps>): import("react").JSX.Element;
|
|
15428
|
+
export declare const TreeView: Omit<typeof TreeView$1, "Root"> & {
|
|
15429
|
+
Root: typeof TreeViewRoot;
|
|
15430
|
+
};
|
|
15203
15431
|
//#endregion
|
|
15204
15432
|
//#region src/components/watermark/index.d.ts
|
|
15205
15433
|
export interface WatermarkProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -15216,4 +15444,4 @@ export interface WatermarkProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
15216
15444
|
*/
|
|
15217
15445
|
export declare function Watermark({ content, opacity, rotate, fontSize, children, ...rest }: WatermarkProps): import("react").JSX.Element;
|
|
15218
15446
|
//#endregion
|
|
15219
|
-
export { Action as AiAction, Attachment as AiAttachment, Attachments as AiAttachments, Message as AiMessage, PromptInput as AiPromptInput, Reasoning as AiReasoning, Response$1 as AiResponse, Response$1 as Response, Source as AiSource, Sources as AiSources, Suggestion as AiSuggestion, Tool as AiTool, Card$1 as Card, ClientOnly, type ClientOnlyProps, type CollectionItem, type CollectionOptions, type ColumnDef, type CreateToasterReturn, type DataUIPart, type DateInputFocusChangeDetails, type DateInputValueChangeDetails, type DatePickerFocusChangeDetails, type DatePickerOpenChangeDetails, type DatePickerValueChangeDetails, type DatePickerViewChangeDetails, type DatePickerVisibleRangeChangeDetails, type DialogOpenChangeDetails, DownloadTrigger, type DownloadTriggerBaseProps, type DownloadTriggerProps, type DownloadableData, type FilePathTreeNode, type FileUIPart, type FlatTreeNode, FlexRender, FocusTrap, type FocusTrapBaseProps, type FocusTrapProps, type GridCollection, type GridCollectionOptions, type ListCollection, Presence, type PresenceBaseProps, type PresenceProps, PresenceProvider, type ReasoningUIPart, type SortingState, type SourceDocumentUIPart, type SourceUrlUIPart, type StepStartUIPart, type TextUIPart, type ToolUIPart, type TourInteractOutsideEvent, type TourPointerDownOutsideEvent, type TourStepDetails, type TreeCollection, type TreeCollectionOptions, type TreeNode, type
|
|
15447
|
+
export { Action as AiAction, Attachment as AiAttachment, Attachments as AiAttachments, Message as AiMessage, PromptInput as AiPromptInput, Reasoning as AiReasoning, Response$1 as AiResponse, Response$1 as Response, Source as AiSource, Sources as AiSources, Suggestion as AiSuggestion, Tool as AiTool, Card$1 as Card, ClientOnly, type ClientOnlyProps, type CollectionItem, type CollectionOptions, type ColumnDef, type CreateToasterReturn, type DataUIPart, type DateInputFocusChangeDetails, type DateInputValueChangeDetails, type DatePickerFocusChangeDetails, type DatePickerOpenChangeDetails, type DatePickerValueChangeDetails, type DatePickerViewChangeDetails, type DatePickerVisibleRangeChangeDetails, type DialogOpenChangeDetails, DownloadTrigger, type DownloadTriggerBaseProps, type DownloadTriggerProps, type DownloadableData, type FilePathTreeNode, type FileUIPart, type FlatTreeNode, FlexRender, FocusTrap, type FocusTrapBaseProps, type FocusTrapProps, type GridCollection, type GridCollectionOptions, type ListCollection, Presence, type PresenceBaseProps, type PresenceProps, PresenceProvider, type ReasoningUIPart, type SortingState, type SourceDocumentUIPart, type SourceUrlUIPart, type StepStartUIPart, type TextUIPart, type ToolUIPart, type TourInteractOutsideEvent, type TourPointerDownOutsideEvent, type TourStepDetails, type TreeCollection, type TreeCollectionOptions, type TreeNode, 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, createColumnHelper, createFileTreeCollection, createGridCollection, createToaster, createTreeCollection, useAsyncList, useDownload, useListCollection, useListSelection, usePresence, usePresenceContext, useTour };
|