rockin 0.0.40 → 0.0.42
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/sdk/accordion.d.ts +1 -0
- package/dist/sdk/agent.d.ts +1 -0
- package/dist/sdk/alert-dialog.d.ts +1 -0
- package/dist/sdk/async-options.d.ts +1 -0
- package/dist/sdk/autocomplete.d.ts +1 -0
- package/dist/sdk/avatar.d.ts +1 -0
- package/dist/sdk/button.d.ts +1 -0
- package/dist/sdk/calendar.d.ts +1 -0
- package/dist/sdk/carousel.d.ts +1 -0
- package/dist/sdk/checkbox.d.ts +1 -0
- package/dist/sdk/collapsible.d.ts +1 -0
- package/dist/sdk/color-picker.d.ts +1 -0
- package/dist/sdk/color.d.ts +1 -0
- package/dist/sdk/combobox.d.ts +1 -0
- package/dist/sdk/command.d.ts +1 -0
- package/dist/sdk/core/accordion.d.ts +1 -0
- package/dist/sdk/core/agent.d.ts +1 -0
- package/dist/sdk/core/alert-dialog.d.ts +1 -0
- package/dist/sdk/core/async-options.d.ts +1 -0
- package/dist/sdk/core/autocomplete.d.ts +1 -0
- package/dist/sdk/core/avatar.d.ts +1 -0
- package/dist/sdk/core/button.d.ts +1 -0
- package/dist/sdk/core/calendar.d.ts +1 -0
- package/dist/sdk/core/carousel.d.ts +1 -0
- package/dist/sdk/core/checkbox.d.ts +1 -0
- package/dist/sdk/core/collapsible.d.ts +1 -0
- package/dist/sdk/core/color-picker.d.ts +1 -0
- package/dist/sdk/core/color.d.ts +1 -0
- package/dist/sdk/core/combobox.d.ts +1 -0
- package/dist/sdk/core/command.d.ts +1 -0
- package/dist/sdk/core/date-input.d.ts +1 -0
- package/dist/sdk/core/date-picker.d.ts +1 -0
- package/dist/sdk/core/date.d.ts +1 -0
- package/dist/sdk/core/dialog.d.ts +1 -0
- package/dist/sdk/core/drawer.d.ts +1 -0
- package/dist/sdk/core/field.d.ts +1 -0
- package/dist/sdk/core/file-input.d.ts +1 -0
- package/dist/sdk/core/gesture.d.ts +1 -0
- package/dist/sdk/core/history.d.ts +1 -0
- package/dist/sdk/core/hover-card.d.ts +1 -0
- package/dist/sdk/core/image-cropper.d.ts +1 -0
- package/dist/sdk/core/image.d.ts +1 -0
- package/dist/sdk/core/input.d.ts +1 -0
- package/dist/sdk/core/label.d.ts +1 -0
- package/dist/sdk/core/listbox.d.ts +1 -0
- package/dist/sdk/core/menu.d.ts +1 -0
- package/dist/sdk/core/menubar.d.ts +1 -0
- package/dist/sdk/core/meter.d.ts +1 -0
- package/dist/sdk/core/navigation-menu.d.ts +1 -0
- package/dist/sdk/core/number-input.d.ts +1 -0
- package/dist/sdk/core/number.d.ts +1 -0
- package/dist/sdk/core/observe.d.ts +1 -0
- package/dist/sdk/core/otp-input.d.ts +1 -0
- package/dist/sdk/core/overlays.d.ts +1 -0
- package/dist/sdk/core/pagination.d.ts +1 -0
- package/dist/sdk/core/password-input.d.ts +1 -0
- package/dist/sdk/core/popover.d.ts +1 -0
- package/dist/sdk/core/progress.d.ts +1 -0
- package/dist/sdk/core/radio.d.ts +1 -0
- package/dist/sdk/core/rating.d.ts +1 -0
- package/dist/sdk/core/renderer.d.ts +1 -0
- package/dist/sdk/core/resizable.d.ts +1 -0
- package/dist/sdk/core/scroll-area.d.ts +1 -0
- package/dist/sdk/core/segmented-control.d.ts +1 -0
- package/dist/sdk/core/select.d.ts +1 -0
- package/dist/sdk/core/separator.d.ts +1 -0
- package/dist/sdk/core/shortcuts.d.ts +1 -0
- package/dist/sdk/core/slider.d.ts +1 -0
- package/dist/sdk/core/switch.d.ts +1 -0
- package/dist/sdk/core/tabs.d.ts +1 -0
- package/dist/sdk/core/testing.d.ts +1 -0
- package/dist/sdk/core/text-match.d.ts +1 -0
- package/dist/sdk/core/time-input.d.ts +1 -0
- package/dist/sdk/core/timeline.d.ts +1 -0
- package/dist/sdk/core/toast.d.ts +1 -0
- package/dist/sdk/core/toggle.d.ts +1 -0
- package/dist/sdk/core/token-input.d.ts +1 -0
- package/dist/sdk/core/toolbar.d.ts +1 -0
- package/dist/sdk/core/tooltip.d.ts +1 -0
- package/dist/sdk/core/tree.d.ts +1 -0
- package/dist/sdk/core/trigger-menu.d.ts +1 -0
- package/dist/sdk/core/waterfall.d.ts +1 -0
- package/dist/sdk/core.d.ts +1 -0
- package/dist/sdk/date-input.d.ts +1 -0
- package/dist/sdk/date-picker.d.ts +1 -0
- package/dist/sdk/date.d.ts +1 -0
- package/dist/sdk/dialog.d.ts +1 -0
- package/dist/sdk/drawer.d.ts +1 -0
- package/dist/sdk/field.d.ts +1 -0
- package/dist/sdk/file-input.d.ts +1 -0
- package/dist/sdk/gesture.d.ts +1 -0
- package/dist/sdk/history.d.ts +1 -0
- package/dist/sdk/hover-card.d.ts +1 -0
- package/dist/sdk/image-cropper.d.ts +1 -0
- package/dist/sdk/image.d.ts +1 -0
- package/dist/sdk/input.d.ts +1 -0
- package/dist/sdk/label.d.ts +1 -0
- package/dist/sdk/listbox.d.ts +1 -0
- package/dist/sdk/menu.d.ts +1 -0
- package/dist/sdk/menubar.d.ts +1 -0
- package/dist/sdk/meter.d.ts +1 -0
- package/dist/sdk/navigation-menu.d.ts +1 -0
- package/dist/sdk/number-input.d.ts +1 -0
- package/dist/sdk/number.d.ts +1 -0
- package/dist/sdk/observe.d.ts +1 -0
- package/dist/sdk/otp-input.d.ts +1 -0
- package/dist/sdk/overlays.d.ts +1 -0
- package/dist/sdk/pagination.d.ts +1 -0
- package/dist/sdk/password-input.d.ts +1 -0
- package/dist/sdk/popover.d.ts +1 -0
- package/dist/sdk/preferences.d.ts +1 -0
- package/dist/sdk/primitive.d.ts +1 -0
- package/dist/sdk/progress.d.ts +1 -0
- package/dist/sdk/radio.d.ts +1 -0
- package/dist/sdk/rating.d.ts +1 -0
- package/dist/sdk/resizable.d.ts +1 -0
- package/dist/sdk/scroll-area.d.ts +1 -0
- package/dist/sdk/segmented-control.d.ts +1 -0
- package/dist/sdk/select.d.ts +1 -0
- package/dist/sdk/separator.d.ts +1 -0
- package/dist/sdk/shortcuts.d.ts +1 -0
- package/dist/sdk/slider.d.ts +1 -0
- package/dist/sdk/switch.d.ts +1 -0
- package/dist/sdk/tabs.d.ts +1 -0
- package/dist/sdk/text-match.d.ts +1 -0
- package/dist/sdk/textarea.d.ts +1 -0
- package/dist/sdk/time-input.d.ts +1 -0
- package/dist/sdk/timeline.d.ts +1 -0
- package/dist/sdk/toast.d.ts +1 -0
- package/dist/sdk/toggle.d.ts +1 -0
- package/dist/sdk/token-input.d.ts +1 -0
- package/dist/sdk/toolbar.d.ts +1 -0
- package/dist/sdk/tooltip.d.ts +1 -0
- package/dist/sdk/tree.d.ts +1 -0
- package/dist/sdk/trigger-menu.d.ts +1 -0
- package/dist/sdk/waterfall.d.ts +1 -0
- package/dist/styles.css +3 -1
- package/dist/ui/index.d.ts +1216 -3
- package/dist/ui/index.js +1 -0
- package/dist/ui/list.js +357 -0
- package/package.json +21 -21
package/dist/ui/index.d.ts
CHANGED
|
@@ -33,6 +33,14 @@ import { OTPInput as OTPInput$1 } from 'input-otp';
|
|
|
33
33
|
export { REGEXP_ONLY_DIGITS } from 'input-otp';
|
|
34
34
|
import { JellyBlobMood, JellyBlobMascotProps } from 'feral-blob';
|
|
35
35
|
export { BlobSpeech, BlobSpeechProps, JellyBlobEyeStyle, JellyBlobMascot, JellyBlobMascotDemo, JellyBlobMascotProps, JellyBlobMood } from 'feral-blob';
|
|
36
|
+
import { Live, Direct } from './live.js';
|
|
37
|
+
import { Unneeded } from './roles.js';
|
|
38
|
+
import { Selects } from './selects.js';
|
|
39
|
+
import { Store } from './store.js';
|
|
40
|
+
import * as _ui_sdk_core_renderer from '@ui-sdk/core/renderer';
|
|
41
|
+
import * as _ui_sdk_core from '@ui-sdk/core';
|
|
42
|
+
import { OptionsOf, StateOf, SlotName, PropsOf } from '@ui-sdk/core';
|
|
43
|
+
import { PartProps } from '@ui-sdk/react/primitive';
|
|
36
44
|
import { MessageScroller as MessageScroller$1 } from '@shadcn/react/message-scroller';
|
|
37
45
|
export { useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility } from '@shadcn/react/message-scroller';
|
|
38
46
|
import { Popover as Popover$1 } from '@base-ui/react/popover';
|
|
@@ -46,10 +54,8 @@ import { DndContextProps, UniqueIdentifier, DragEndEvent, DragOverlay } from '@d
|
|
|
46
54
|
import { SortableContextProps } from '@dnd-kit/sortable';
|
|
47
55
|
import * as SwipeActionsPrimitive from '@ncdai/react-swipe-actions';
|
|
48
56
|
import { Switch as Switch$1 } from '@base-ui/react/switch';
|
|
49
|
-
import { OptionsOf, StateOf, SlotName, PropsOf } from '@ui-sdk/core';
|
|
50
57
|
import { tabs } from '@ui-sdk/core/tabs';
|
|
51
58
|
export { TabsController, TabsOrientation, TabsValueChangeReason, createTabsController } from '@ui-sdk/core/tabs';
|
|
52
|
-
import { PartProps } from '@ui-sdk/react/primitive';
|
|
53
59
|
import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
|
|
54
60
|
|
|
55
61
|
declare function Accordion({ className, ...props }: Accordion$1.Root.Props): React$1.JSX.Element;
|
|
@@ -828,6 +834,1213 @@ declare function JellyEmpty({ title, description, actions, size, className, ...c
|
|
|
828
834
|
declare function Kbd({ className, ...props }: React.ComponentProps<"kbd">): React$1.JSX.Element;
|
|
829
835
|
declare function KbdGroup({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
|
|
830
836
|
|
|
837
|
+
/**
|
|
838
|
+
* HTML attributes as the DOM sees them. Strings only, undefined removes.
|
|
839
|
+
* Boolean attributes use "" for present, like in markup.
|
|
840
|
+
* @stable
|
|
841
|
+
*/
|
|
842
|
+
type Attrs = Record<string, string | undefined>;
|
|
843
|
+
/**
|
|
844
|
+
* The kind of value an option or a slot prop takes, which renderers read at
|
|
845
|
+
* runtime to tell it from an element's own props and to parse attributes:
|
|
846
|
+
* `"string"`, `"number"`, `"boolean"` and `"list"` (strings, or one string;
|
|
847
|
+
* comma-separated as an attribute) can come from an attribute; `"value"` is any other value, set as a property;
|
|
848
|
+
* `"callback"` is a function the component calls, an event on custom
|
|
849
|
+
* elements; `"action"` is a callback whose return value matters, like a
|
|
850
|
+
* Promise that makes the part pending, so Vue passes it as a prop, not an
|
|
851
|
+
* emit; `"id"` is a string the renderer makes unique when it's left out;
|
|
852
|
+
* `"key"` is a list item's value, of any type, which keys the part by
|
|
853
|
+
* `api.internal.keyOf(value)`, and which the parts inside it take as that key.
|
|
854
|
+
*/
|
|
855
|
+
type PropKind = "string" | "number" | "boolean" | "list" | "value" | "callback" | "action" | "id" | "key";
|
|
856
|
+
/**
|
|
857
|
+
* An option or slot prop's kind. With `from`, a part nested in a part of that
|
|
858
|
+
* slot takes the prop from it when it's left out: `"item"` takes the prop of
|
|
859
|
+
* the same name, like an accordion trigger's `value` from its item, and
|
|
860
|
+
* `"group.id"` names the parent's prop, like an option's `group` from its
|
|
861
|
+
* group's `id`. With `required`, a part left outside that slot throws, like
|
|
862
|
+
* an item's check outside an item. A function reads the prop from a custom
|
|
863
|
+
* element's attribute, for values no kind fits, like `modal`, a boolean or a string.
|
|
864
|
+
* @stable
|
|
865
|
+
*/
|
|
866
|
+
type PropSpec = PropKind | {
|
|
867
|
+
kind: PropKind;
|
|
868
|
+
from: string;
|
|
869
|
+
required?: boolean;
|
|
870
|
+
} | ((attribute: string | null) => unknown);
|
|
871
|
+
/**
|
|
872
|
+
* Every option or prop of `Props`, by name, with its kind. A slot's `id` needs
|
|
873
|
+
* an entry when the part reads it, `"string"`, or when the adapter should make
|
|
874
|
+
* one, `"id"`.
|
|
875
|
+
* @stable
|
|
876
|
+
*/
|
|
877
|
+
type PropSchema<Props> = {
|
|
878
|
+
[Key in Exclude<keyof Props, "id"> & string]: PropSpec;
|
|
879
|
+
} & {
|
|
880
|
+
id?: PropSpec;
|
|
881
|
+
};
|
|
882
|
+
type EventMap = HTMLElementEventMap;
|
|
883
|
+
/** What a slot's `press` and `on` handlers receive. */
|
|
884
|
+
type SlotContext<State extends object, Api, Props> = {
|
|
885
|
+
/** The bound element. Undefined before it binds, like for a press a test sends through `press`. */
|
|
886
|
+
el: HTMLElement | undefined;
|
|
887
|
+
/** The instance's id. Build part ids from it, like `${id}-content`. */
|
|
888
|
+
id: string;
|
|
889
|
+
/** The part's key: its `id` prop, else its `value`. Tells parts of one slot apart. */
|
|
890
|
+
key: string;
|
|
891
|
+
/** The props of the part's newest render. */
|
|
892
|
+
props: Props;
|
|
893
|
+
/** The instance's store. */
|
|
894
|
+
store: Store<State>;
|
|
895
|
+
/** What `api` returned. Call it rather than writing state here. */
|
|
896
|
+
api: Api;
|
|
897
|
+
};
|
|
898
|
+
/**
|
|
899
|
+
* One rendered element of a slot, like one item among many. Adapters get one
|
|
900
|
+
* from `instance.part(slot, props)`, and slots receive it in `bind` and
|
|
901
|
+
* `connect`.
|
|
902
|
+
* @stable
|
|
903
|
+
*/
|
|
904
|
+
type Part<State extends object = any, Api = any, Props = any> = {
|
|
905
|
+
/** The slot's name. */
|
|
906
|
+
readonly slot: string;
|
|
907
|
+
/** `props.id ?? String(props.value)`, which tells parts of one slot apart. */
|
|
908
|
+
readonly key: string;
|
|
909
|
+
/** The instance's id. */
|
|
910
|
+
readonly id: string;
|
|
911
|
+
/** The instance's api. */
|
|
912
|
+
readonly api: Api;
|
|
913
|
+
/** The instance's store. */
|
|
914
|
+
readonly store: Store<State>;
|
|
915
|
+
/** The props of the part's newest render. */
|
|
916
|
+
props: Props;
|
|
917
|
+
/** The bound element. Undefined until it binds. */
|
|
918
|
+
el: HTMLElement | undefined;
|
|
919
|
+
};
|
|
920
|
+
type SlotFields<State extends object, Api, Props, Public> = {
|
|
921
|
+
/**
|
|
922
|
+
* Whether the slot's element should exist. Adapters that cannot unmount
|
|
923
|
+
* markup, like custom elements, bind and unbind on it. Defaults to always.
|
|
924
|
+
* Keyed parts, like one panel among many, decide from their own props.
|
|
925
|
+
* May read live state: adapters check presence on every change.
|
|
926
|
+
*/
|
|
927
|
+
present?: (state: State, context: {
|
|
928
|
+
id: string;
|
|
929
|
+
key: string;
|
|
930
|
+
props: Props;
|
|
931
|
+
api: Api;
|
|
932
|
+
}) => boolean;
|
|
933
|
+
/** Pure. Runs on the server and on every render. Never reads live state. */
|
|
934
|
+
attrs?: (state: State, context: {
|
|
935
|
+
id: string;
|
|
936
|
+
key: string;
|
|
937
|
+
props: Props;
|
|
938
|
+
api: Api;
|
|
939
|
+
}) => Attrs;
|
|
940
|
+
/**
|
|
941
|
+
* What `render` functions and state-based class names see, like
|
|
942
|
+
* { highlighted, disabled }. May read live state: adapters only re-render a
|
|
943
|
+
* part for live changes when its render function actually read them.
|
|
944
|
+
*/
|
|
945
|
+
state?: (state: State, context: {
|
|
946
|
+
id: string;
|
|
947
|
+
key: string;
|
|
948
|
+
props: Props;
|
|
949
|
+
api: Api;
|
|
950
|
+
}) => Public;
|
|
951
|
+
/** Attributes written straight to the element on every change, built by `live()`. */
|
|
952
|
+
live?: Live<State, Api, Props>;
|
|
953
|
+
/** Attributes of `attrs` core keeps current on a framework's element, built by `direct()`. */
|
|
954
|
+
direct?: Direct;
|
|
955
|
+
/** Narrows which changes reach the slot's parts, built by `selects()`. */
|
|
956
|
+
selects?: Selects<State, Api, Props>;
|
|
957
|
+
/**
|
|
958
|
+
* Activation: a click, which keys and screen readers send too. `{ none: "why" }`
|
|
959
|
+
* for a role that activates when another handler does it, like the author's own click.
|
|
960
|
+
*/
|
|
961
|
+
press?: ((context: SlotContext<State, Api, Props>, event?: Event) => void) | Unneeded;
|
|
962
|
+
/**
|
|
963
|
+
* DOM events. Adapters attach these so user handlers run first and can
|
|
964
|
+
* call preventDefault() to skip them.
|
|
965
|
+
*/
|
|
966
|
+
on?: {
|
|
967
|
+
[Type in keyof EventMap]?: (event: EventMap[Type], context: SlotContext<State, Api, Props>) => void;
|
|
968
|
+
};
|
|
969
|
+
/**
|
|
970
|
+
* Client only, web only. Focus, positioning, observers. Gets the part, whose
|
|
971
|
+
* `props` are its newest render's. Return a cleanup. Follow state with
|
|
972
|
+
* `part.store.subscribe`, or write attributes that change often with `direct`.
|
|
973
|
+
*/
|
|
974
|
+
bind?: (el: HTMLElement, part: Part<State, Api, Props>) => (() => void) | void;
|
|
975
|
+
/**
|
|
976
|
+
* Client only, web only. Like `bind`, but runs at once while the instance
|
|
977
|
+
* is asleep, for what a part can't wait for, like naming its trigger. Its
|
|
978
|
+
* `part.api` is undefined until the instance wakes.
|
|
979
|
+
* @experimental
|
|
980
|
+
*/
|
|
981
|
+
asleep?: (el: HTMLElement, part: Part<State, Api, Props>) => (() => void) | void;
|
|
982
|
+
/**
|
|
983
|
+
* Client only. Runs while the element is in the page, present or not, for
|
|
984
|
+
* adapters that keep parts that aren't present, like custom elements. A
|
|
985
|
+
* popup's content registers here, so shortcuts inside a closed one don't run.
|
|
986
|
+
*/
|
|
987
|
+
connect?: (el: HTMLElement) => () => void;
|
|
988
|
+
};
|
|
989
|
+
/**
|
|
990
|
+
* One part of a primitive, like a trigger or an item: how its element
|
|
991
|
+
* renders, reacts and binds. Build slots with the `slot` helper `slots`
|
|
992
|
+
* receives. Every field is optional.
|
|
993
|
+
* @stable
|
|
994
|
+
*/
|
|
995
|
+
type SlotDefinition<State extends object, Api, Props, Public = {}> = SlotFields<State, Api, Props, Public> & SlotSchema<Props>;
|
|
996
|
+
/**
|
|
997
|
+
* Each prop the slot takes, with its kind, for renderers to read. TypeScript
|
|
998
|
+
* checks it names them all, and requires it when the slot takes any. A slot
|
|
999
|
+
* typed `any`, like `AnySlot`, never requires it.
|
|
1000
|
+
*/
|
|
1001
|
+
type SlotSchema<Props> = 0 extends 1 & Props ? Partial<PropsSchema<Props>> : [Exclude<keyof Props, "id">] extends [never] ? Partial<PropsSchema<Props>> : PropsSchema<Props>;
|
|
1002
|
+
type PropsSchema<Props> = {
|
|
1003
|
+
/** Each prop the slot's parts take, with its kind, like `{ value: "string" }`. */
|
|
1004
|
+
props: PropSchema<Props>;
|
|
1005
|
+
};
|
|
1006
|
+
type SlotProps<Slot> = Slot extends SlotDefinition<any, any, infer Props, any> ? Props : never;
|
|
1007
|
+
|
|
1008
|
+
/**
|
|
1009
|
+
* How arrow keys move between items: `vertical` (Up/Down), `horizontal`
|
|
1010
|
+
* (Left/Right), or `grid` (all four arrows, following the on-screen layout,
|
|
1011
|
+
* so wrapping card grids work at any column count).
|
|
1012
|
+
*/
|
|
1013
|
+
type ListOrientation = "vertical" | "horizontal" | "grid";
|
|
1014
|
+
type ListController = {
|
|
1015
|
+
/** Focuses an item by `value`, or the item holding the tab stop, or the first. */
|
|
1016
|
+
focus: (value?: string) => void;
|
|
1017
|
+
};
|
|
1018
|
+
type ListOptions = {
|
|
1019
|
+
/** Arrow-key axis. Defaults to `vertical`. */
|
|
1020
|
+
orientation?: ListOrientation;
|
|
1021
|
+
/** Whether arrows wrap past either end. Defaults to `false`. Ignored by `grid`. */
|
|
1022
|
+
loop?: boolean;
|
|
1023
|
+
/** From `createListController()`, to focus the list from another control (e.g. ArrowDown in a search box). */
|
|
1024
|
+
controller?: ListController;
|
|
1025
|
+
};
|
|
1026
|
+
type ListItemProps = {
|
|
1027
|
+
/** Stable key for the item, like a record id. Generated when omitted. */
|
|
1028
|
+
value?: string;
|
|
1029
|
+
/** Keeps the item reachable by arrows but blocks Enter/Space activation. */
|
|
1030
|
+
disabled?: boolean;
|
|
1031
|
+
};
|
|
1032
|
+
declare function createListController(): ListController;
|
|
1033
|
+
declare const list: ((initialOptions: ListOptions & {
|
|
1034
|
+
id: string;
|
|
1035
|
+
}) => {
|
|
1036
|
+
types: {
|
|
1037
|
+
options: ListOptions;
|
|
1038
|
+
state: {
|
|
1039
|
+
stop: string | null;
|
|
1040
|
+
labels: string[];
|
|
1041
|
+
/** The item shown as current: the hovered one, or the focused one while keys drive. */
|
|
1042
|
+
highlighted: string | null;
|
|
1043
|
+
/** True after arrow-key navigation until the mouse really moves, like cmdk. */
|
|
1044
|
+
pointerHidden: boolean;
|
|
1045
|
+
orientation: ListOrientation;
|
|
1046
|
+
};
|
|
1047
|
+
api: {
|
|
1048
|
+
focus: (value?: string) => void;
|
|
1049
|
+
internal: {
|
|
1050
|
+
roving: {
|
|
1051
|
+
bind(el: HTMLElement, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): () => void;
|
|
1052
|
+
tabIndex(state: {
|
|
1053
|
+
stop: string | null;
|
|
1054
|
+
}, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): "0" | "-1";
|
|
1055
|
+
keydown(event: KeyboardEvent, el: HTMLElement): {
|
|
1056
|
+
key: string;
|
|
1057
|
+
from: string;
|
|
1058
|
+
shift: boolean;
|
|
1059
|
+
} | undefined;
|
|
1060
|
+
items: () => {
|
|
1061
|
+
key: string;
|
|
1062
|
+
props: ListItemProps;
|
|
1063
|
+
el: HTMLElement;
|
|
1064
|
+
}[];
|
|
1065
|
+
focus(itemKey?: string): void;
|
|
1066
|
+
remember(itemKey: string): void;
|
|
1067
|
+
check: () => void;
|
|
1068
|
+
stopFor: (preferred: (item: _ui_sdk_core.RovingFocusItem<ListItemProps>) => boolean) => string | undefined;
|
|
1069
|
+
};
|
|
1070
|
+
keydown(event: KeyboardEvent, el: HTMLElement): void;
|
|
1071
|
+
pointermove(event: PointerEvent): void;
|
|
1072
|
+
pointerleave(): void;
|
|
1073
|
+
focusin(event: FocusEvent): void;
|
|
1074
|
+
focusout(event: FocusEvent, root: HTMLElement): void;
|
|
1075
|
+
/**
|
|
1076
|
+
* Keys pressed while nothing has focus (fresh page load, after closing a
|
|
1077
|
+
* drawer) act on the hovered item, like cmdk: arrows move from it and
|
|
1078
|
+
* Enter opens it. Focus in an input or another control is left alone.
|
|
1079
|
+
*/
|
|
1080
|
+
listenToPage(): () => void;
|
|
1081
|
+
};
|
|
1082
|
+
};
|
|
1083
|
+
slots: {
|
|
1084
|
+
root: _ui_sdk_core.SlotDefinition<{
|
|
1085
|
+
stop: string | null;
|
|
1086
|
+
labels: string[];
|
|
1087
|
+
/** The item shown as current: the hovered one, or the focused one while keys drive. */
|
|
1088
|
+
highlighted: string | null;
|
|
1089
|
+
/** True after arrow-key navigation until the mouse really moves, like cmdk. */
|
|
1090
|
+
pointerHidden: boolean;
|
|
1091
|
+
orientation: ListOrientation;
|
|
1092
|
+
}, {
|
|
1093
|
+
focus: (value?: string) => void;
|
|
1094
|
+
internal: {
|
|
1095
|
+
roving: {
|
|
1096
|
+
bind(el: HTMLElement, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): () => void;
|
|
1097
|
+
tabIndex(state: {
|
|
1098
|
+
stop: string | null;
|
|
1099
|
+
}, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): "0" | "-1";
|
|
1100
|
+
keydown(event: KeyboardEvent, el: HTMLElement): {
|
|
1101
|
+
key: string;
|
|
1102
|
+
from: string;
|
|
1103
|
+
shift: boolean;
|
|
1104
|
+
} | undefined;
|
|
1105
|
+
items: () => {
|
|
1106
|
+
key: string;
|
|
1107
|
+
props: ListItemProps;
|
|
1108
|
+
el: HTMLElement;
|
|
1109
|
+
}[];
|
|
1110
|
+
focus(itemKey?: string): void;
|
|
1111
|
+
remember(itemKey: string): void;
|
|
1112
|
+
check: () => void;
|
|
1113
|
+
stopFor: (preferred: (item: _ui_sdk_core.RovingFocusItem<ListItemProps>) => boolean) => string | undefined;
|
|
1114
|
+
};
|
|
1115
|
+
keydown(event: KeyboardEvent, el: HTMLElement): void;
|
|
1116
|
+
pointermove(event: PointerEvent): void;
|
|
1117
|
+
pointerleave(): void;
|
|
1118
|
+
focusin(event: FocusEvent): void;
|
|
1119
|
+
focusout(event: FocusEvent, root: HTMLElement): void;
|
|
1120
|
+
/**
|
|
1121
|
+
* Keys pressed while nothing has focus (fresh page load, after closing a
|
|
1122
|
+
* drawer) act on the hovered item, like cmdk: arrows move from it and
|
|
1123
|
+
* Enter opens it. Focus in an input or another control is left alone.
|
|
1124
|
+
*/
|
|
1125
|
+
listenToPage(): () => void;
|
|
1126
|
+
};
|
|
1127
|
+
}, object & _ui_sdk_core_renderer.BaseSlotProps, NoInfer<{
|
|
1128
|
+
orientation: ListOrientation;
|
|
1129
|
+
}>>;
|
|
1130
|
+
item: _ui_sdk_core.SlotDefinition<{
|
|
1131
|
+
stop: string | null;
|
|
1132
|
+
labels: string[];
|
|
1133
|
+
/** The item shown as current: the hovered one, or the focused one while keys drive. */
|
|
1134
|
+
highlighted: string | null;
|
|
1135
|
+
/** True after arrow-key navigation until the mouse really moves, like cmdk. */
|
|
1136
|
+
pointerHidden: boolean;
|
|
1137
|
+
orientation: ListOrientation;
|
|
1138
|
+
}, {
|
|
1139
|
+
focus: (value?: string) => void;
|
|
1140
|
+
internal: {
|
|
1141
|
+
roving: {
|
|
1142
|
+
bind(el: HTMLElement, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): () => void;
|
|
1143
|
+
tabIndex(state: {
|
|
1144
|
+
stop: string | null;
|
|
1145
|
+
}, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): "0" | "-1";
|
|
1146
|
+
keydown(event: KeyboardEvent, el: HTMLElement): {
|
|
1147
|
+
key: string;
|
|
1148
|
+
from: string;
|
|
1149
|
+
shift: boolean;
|
|
1150
|
+
} | undefined;
|
|
1151
|
+
items: () => {
|
|
1152
|
+
key: string;
|
|
1153
|
+
props: ListItemProps;
|
|
1154
|
+
el: HTMLElement;
|
|
1155
|
+
}[];
|
|
1156
|
+
focus(itemKey?: string): void;
|
|
1157
|
+
remember(itemKey: string): void;
|
|
1158
|
+
check: () => void;
|
|
1159
|
+
stopFor: (preferred: (item: _ui_sdk_core.RovingFocusItem<ListItemProps>) => boolean) => string | undefined;
|
|
1160
|
+
};
|
|
1161
|
+
keydown(event: KeyboardEvent, el: HTMLElement): void;
|
|
1162
|
+
pointermove(event: PointerEvent): void;
|
|
1163
|
+
pointerleave(): void;
|
|
1164
|
+
focusin(event: FocusEvent): void;
|
|
1165
|
+
focusout(event: FocusEvent, root: HTMLElement): void;
|
|
1166
|
+
/**
|
|
1167
|
+
* Keys pressed while nothing has focus (fresh page load, after closing a
|
|
1168
|
+
* drawer) act on the hovered item, like cmdk: arrows move from it and
|
|
1169
|
+
* Enter opens it. Focus in an input or another control is left alone.
|
|
1170
|
+
*/
|
|
1171
|
+
listenToPage(): () => void;
|
|
1172
|
+
};
|
|
1173
|
+
}, NoInfer<ListItemProps> & _ui_sdk_core_renderer.BaseSlotProps, NoInfer<{
|
|
1174
|
+
highlighted: boolean;
|
|
1175
|
+
disabled: boolean;
|
|
1176
|
+
}>>;
|
|
1177
|
+
group: _ui_sdk_core.SlotDefinition<{
|
|
1178
|
+
stop: string | null;
|
|
1179
|
+
labels: string[];
|
|
1180
|
+
/** The item shown as current: the hovered one, or the focused one while keys drive. */
|
|
1181
|
+
highlighted: string | null;
|
|
1182
|
+
/** True after arrow-key navigation until the mouse really moves, like cmdk. */
|
|
1183
|
+
pointerHidden: boolean;
|
|
1184
|
+
orientation: ListOrientation;
|
|
1185
|
+
}, {
|
|
1186
|
+
focus: (value?: string) => void;
|
|
1187
|
+
internal: {
|
|
1188
|
+
roving: {
|
|
1189
|
+
bind(el: HTMLElement, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): () => void;
|
|
1190
|
+
tabIndex(state: {
|
|
1191
|
+
stop: string | null;
|
|
1192
|
+
}, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): "0" | "-1";
|
|
1193
|
+
keydown(event: KeyboardEvent, el: HTMLElement): {
|
|
1194
|
+
key: string;
|
|
1195
|
+
from: string;
|
|
1196
|
+
shift: boolean;
|
|
1197
|
+
} | undefined;
|
|
1198
|
+
items: () => {
|
|
1199
|
+
key: string;
|
|
1200
|
+
props: ListItemProps;
|
|
1201
|
+
el: HTMLElement;
|
|
1202
|
+
}[];
|
|
1203
|
+
focus(itemKey?: string): void;
|
|
1204
|
+
remember(itemKey: string): void;
|
|
1205
|
+
check: () => void;
|
|
1206
|
+
stopFor: (preferred: (item: _ui_sdk_core.RovingFocusItem<ListItemProps>) => boolean) => string | undefined;
|
|
1207
|
+
};
|
|
1208
|
+
keydown(event: KeyboardEvent, el: HTMLElement): void;
|
|
1209
|
+
pointermove(event: PointerEvent): void;
|
|
1210
|
+
pointerleave(): void;
|
|
1211
|
+
focusin(event: FocusEvent): void;
|
|
1212
|
+
focusout(event: FocusEvent, root: HTMLElement): void;
|
|
1213
|
+
/**
|
|
1214
|
+
* Keys pressed while nothing has focus (fresh page load, after closing a
|
|
1215
|
+
* drawer) act on the hovered item, like cmdk: arrows move from it and
|
|
1216
|
+
* Enter opens it. Focus in an input or another control is left alone.
|
|
1217
|
+
*/
|
|
1218
|
+
listenToPage(): () => void;
|
|
1219
|
+
};
|
|
1220
|
+
}, NoInfer<{
|
|
1221
|
+
value?: string;
|
|
1222
|
+
}> & _ui_sdk_core_renderer.BaseSlotProps, {}>;
|
|
1223
|
+
label: _ui_sdk_core.SlotDefinition<{
|
|
1224
|
+
stop: string | null;
|
|
1225
|
+
labels: string[];
|
|
1226
|
+
/** The item shown as current: the hovered one, or the focused one while keys drive. */
|
|
1227
|
+
highlighted: string | null;
|
|
1228
|
+
/** True after arrow-key navigation until the mouse really moves, like cmdk. */
|
|
1229
|
+
pointerHidden: boolean;
|
|
1230
|
+
orientation: ListOrientation;
|
|
1231
|
+
}, {
|
|
1232
|
+
focus: (value?: string) => void;
|
|
1233
|
+
internal: {
|
|
1234
|
+
roving: {
|
|
1235
|
+
bind(el: HTMLElement, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): () => void;
|
|
1236
|
+
tabIndex(state: {
|
|
1237
|
+
stop: string | null;
|
|
1238
|
+
}, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): "0" | "-1";
|
|
1239
|
+
keydown(event: KeyboardEvent, el: HTMLElement): {
|
|
1240
|
+
key: string;
|
|
1241
|
+
from: string;
|
|
1242
|
+
shift: boolean;
|
|
1243
|
+
} | undefined;
|
|
1244
|
+
items: () => {
|
|
1245
|
+
key: string;
|
|
1246
|
+
props: ListItemProps;
|
|
1247
|
+
el: HTMLElement;
|
|
1248
|
+
}[];
|
|
1249
|
+
focus(itemKey?: string): void;
|
|
1250
|
+
remember(itemKey: string): void;
|
|
1251
|
+
check: () => void;
|
|
1252
|
+
stopFor: (preferred: (item: _ui_sdk_core.RovingFocusItem<ListItemProps>) => boolean) => string | undefined;
|
|
1253
|
+
};
|
|
1254
|
+
keydown(event: KeyboardEvent, el: HTMLElement): void;
|
|
1255
|
+
pointermove(event: PointerEvent): void;
|
|
1256
|
+
pointerleave(): void;
|
|
1257
|
+
focusin(event: FocusEvent): void;
|
|
1258
|
+
focusout(event: FocusEvent, root: HTMLElement): void;
|
|
1259
|
+
/**
|
|
1260
|
+
* Keys pressed while nothing has focus (fresh page load, after closing a
|
|
1261
|
+
* drawer) act on the hovered item, like cmdk: arrows move from it and
|
|
1262
|
+
* Enter opens it. Focus in an input or another control is left alone.
|
|
1263
|
+
*/
|
|
1264
|
+
listenToPage(): () => void;
|
|
1265
|
+
};
|
|
1266
|
+
}, NoInfer<{
|
|
1267
|
+
value?: string;
|
|
1268
|
+
}> & _ui_sdk_core_renderer.BaseSlotProps, {}>;
|
|
1269
|
+
};
|
|
1270
|
+
};
|
|
1271
|
+
name: string;
|
|
1272
|
+
id: string;
|
|
1273
|
+
get: () => {
|
|
1274
|
+
stop: string | null;
|
|
1275
|
+
labels: string[];
|
|
1276
|
+
/** The item shown as current: the hovered one, or the focused one while keys drive. */
|
|
1277
|
+
highlighted: string | null;
|
|
1278
|
+
/** True after arrow-key navigation until the mouse really moves, like cmdk. */
|
|
1279
|
+
pointerHidden: boolean;
|
|
1280
|
+
orientation: ListOrientation;
|
|
1281
|
+
};
|
|
1282
|
+
subscribe: (listener: _ui_sdk_core_renderer.Listener) => () => void;
|
|
1283
|
+
readonly api: {
|
|
1284
|
+
focus: (value?: string) => void;
|
|
1285
|
+
internal: {
|
|
1286
|
+
roving: {
|
|
1287
|
+
bind(el: HTMLElement, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): () => void;
|
|
1288
|
+
tabIndex(state: {
|
|
1289
|
+
stop: string | null;
|
|
1290
|
+
}, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): "0" | "-1";
|
|
1291
|
+
keydown(event: KeyboardEvent, el: HTMLElement): {
|
|
1292
|
+
key: string;
|
|
1293
|
+
from: string;
|
|
1294
|
+
shift: boolean;
|
|
1295
|
+
} | undefined;
|
|
1296
|
+
items: () => {
|
|
1297
|
+
key: string;
|
|
1298
|
+
props: ListItemProps;
|
|
1299
|
+
el: HTMLElement;
|
|
1300
|
+
}[];
|
|
1301
|
+
focus(itemKey?: string): void;
|
|
1302
|
+
remember(itemKey: string): void;
|
|
1303
|
+
check: () => void;
|
|
1304
|
+
stopFor: (preferred: (item: _ui_sdk_core.RovingFocusItem<ListItemProps>) => boolean) => string | undefined;
|
|
1305
|
+
};
|
|
1306
|
+
keydown(event: KeyboardEvent, el: HTMLElement): void;
|
|
1307
|
+
pointermove(event: PointerEvent): void;
|
|
1308
|
+
pointerleave(): void;
|
|
1309
|
+
focusin(event: FocusEvent): void;
|
|
1310
|
+
focusout(event: FocusEvent, root: HTMLElement): void;
|
|
1311
|
+
/**
|
|
1312
|
+
* Keys pressed while nothing has focus (fresh page load, after closing a
|
|
1313
|
+
* drawer) act on the hovered item, like cmdk: arrows move from it and
|
|
1314
|
+
* Enter opens it. Focus in an input or another control is left alone.
|
|
1315
|
+
*/
|
|
1316
|
+
listenToPage(): () => void;
|
|
1317
|
+
};
|
|
1318
|
+
};
|
|
1319
|
+
part: <S extends "label" | "group" | "item" | "root">(slot: S, props?: SlotProps<{
|
|
1320
|
+
root: _ui_sdk_core.SlotDefinition<{
|
|
1321
|
+
stop: string | null;
|
|
1322
|
+
labels: string[];
|
|
1323
|
+
/** The item shown as current: the hovered one, or the focused one while keys drive. */
|
|
1324
|
+
highlighted: string | null;
|
|
1325
|
+
/** True after arrow-key navigation until the mouse really moves, like cmdk. */
|
|
1326
|
+
pointerHidden: boolean;
|
|
1327
|
+
orientation: ListOrientation;
|
|
1328
|
+
}, {
|
|
1329
|
+
focus: (value?: string) => void;
|
|
1330
|
+
internal: {
|
|
1331
|
+
roving: {
|
|
1332
|
+
bind(el: HTMLElement, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): () => void;
|
|
1333
|
+
tabIndex(state: {
|
|
1334
|
+
stop: string | null;
|
|
1335
|
+
}, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): "0" | "-1";
|
|
1336
|
+
keydown(event: KeyboardEvent, el: HTMLElement): {
|
|
1337
|
+
key: string;
|
|
1338
|
+
from: string;
|
|
1339
|
+
shift: boolean;
|
|
1340
|
+
} | undefined;
|
|
1341
|
+
items: () => {
|
|
1342
|
+
key: string;
|
|
1343
|
+
props: ListItemProps;
|
|
1344
|
+
el: HTMLElement;
|
|
1345
|
+
}[];
|
|
1346
|
+
focus(itemKey?: string): void;
|
|
1347
|
+
remember(itemKey: string): void;
|
|
1348
|
+
check: () => void;
|
|
1349
|
+
stopFor: (preferred: (item: _ui_sdk_core.RovingFocusItem<ListItemProps>) => boolean) => string | undefined;
|
|
1350
|
+
};
|
|
1351
|
+
keydown(event: KeyboardEvent, el: HTMLElement): void;
|
|
1352
|
+
pointermove(event: PointerEvent): void;
|
|
1353
|
+
pointerleave(): void;
|
|
1354
|
+
focusin(event: FocusEvent): void;
|
|
1355
|
+
focusout(event: FocusEvent, root: HTMLElement): void;
|
|
1356
|
+
/**
|
|
1357
|
+
* Keys pressed while nothing has focus (fresh page load, after closing a
|
|
1358
|
+
* drawer) act on the hovered item, like cmdk: arrows move from it and
|
|
1359
|
+
* Enter opens it. Focus in an input or another control is left alone.
|
|
1360
|
+
*/
|
|
1361
|
+
listenToPage(): () => void;
|
|
1362
|
+
};
|
|
1363
|
+
}, object & _ui_sdk_core_renderer.BaseSlotProps, NoInfer<{
|
|
1364
|
+
orientation: ListOrientation;
|
|
1365
|
+
}>>;
|
|
1366
|
+
item: _ui_sdk_core.SlotDefinition<{
|
|
1367
|
+
stop: string | null;
|
|
1368
|
+
labels: string[];
|
|
1369
|
+
/** The item shown as current: the hovered one, or the focused one while keys drive. */
|
|
1370
|
+
highlighted: string | null;
|
|
1371
|
+
/** True after arrow-key navigation until the mouse really moves, like cmdk. */
|
|
1372
|
+
pointerHidden: boolean;
|
|
1373
|
+
orientation: ListOrientation;
|
|
1374
|
+
}, {
|
|
1375
|
+
focus: (value?: string) => void;
|
|
1376
|
+
internal: {
|
|
1377
|
+
roving: {
|
|
1378
|
+
bind(el: HTMLElement, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): () => void;
|
|
1379
|
+
tabIndex(state: {
|
|
1380
|
+
stop: string | null;
|
|
1381
|
+
}, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): "0" | "-1";
|
|
1382
|
+
keydown(event: KeyboardEvent, el: HTMLElement): {
|
|
1383
|
+
key: string;
|
|
1384
|
+
from: string;
|
|
1385
|
+
shift: boolean;
|
|
1386
|
+
} | undefined;
|
|
1387
|
+
items: () => {
|
|
1388
|
+
key: string;
|
|
1389
|
+
props: ListItemProps;
|
|
1390
|
+
el: HTMLElement;
|
|
1391
|
+
}[];
|
|
1392
|
+
focus(itemKey?: string): void;
|
|
1393
|
+
remember(itemKey: string): void;
|
|
1394
|
+
check: () => void;
|
|
1395
|
+
stopFor: (preferred: (item: _ui_sdk_core.RovingFocusItem<ListItemProps>) => boolean) => string | undefined;
|
|
1396
|
+
};
|
|
1397
|
+
keydown(event: KeyboardEvent, el: HTMLElement): void;
|
|
1398
|
+
pointermove(event: PointerEvent): void;
|
|
1399
|
+
pointerleave(): void;
|
|
1400
|
+
focusin(event: FocusEvent): void;
|
|
1401
|
+
focusout(event: FocusEvent, root: HTMLElement): void;
|
|
1402
|
+
/**
|
|
1403
|
+
* Keys pressed while nothing has focus (fresh page load, after closing a
|
|
1404
|
+
* drawer) act on the hovered item, like cmdk: arrows move from it and
|
|
1405
|
+
* Enter opens it. Focus in an input or another control is left alone.
|
|
1406
|
+
*/
|
|
1407
|
+
listenToPage(): () => void;
|
|
1408
|
+
};
|
|
1409
|
+
}, NoInfer<ListItemProps> & _ui_sdk_core_renderer.BaseSlotProps, NoInfer<{
|
|
1410
|
+
highlighted: boolean;
|
|
1411
|
+
disabled: boolean;
|
|
1412
|
+
}>>;
|
|
1413
|
+
group: _ui_sdk_core.SlotDefinition<{
|
|
1414
|
+
stop: string | null;
|
|
1415
|
+
labels: string[];
|
|
1416
|
+
/** The item shown as current: the hovered one, or the focused one while keys drive. */
|
|
1417
|
+
highlighted: string | null;
|
|
1418
|
+
/** True after arrow-key navigation until the mouse really moves, like cmdk. */
|
|
1419
|
+
pointerHidden: boolean;
|
|
1420
|
+
orientation: ListOrientation;
|
|
1421
|
+
}, {
|
|
1422
|
+
focus: (value?: string) => void;
|
|
1423
|
+
internal: {
|
|
1424
|
+
roving: {
|
|
1425
|
+
bind(el: HTMLElement, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): () => void;
|
|
1426
|
+
tabIndex(state: {
|
|
1427
|
+
stop: string | null;
|
|
1428
|
+
}, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): "0" | "-1";
|
|
1429
|
+
keydown(event: KeyboardEvent, el: HTMLElement): {
|
|
1430
|
+
key: string;
|
|
1431
|
+
from: string;
|
|
1432
|
+
shift: boolean;
|
|
1433
|
+
} | undefined;
|
|
1434
|
+
items: () => {
|
|
1435
|
+
key: string;
|
|
1436
|
+
props: ListItemProps;
|
|
1437
|
+
el: HTMLElement;
|
|
1438
|
+
}[];
|
|
1439
|
+
focus(itemKey?: string): void;
|
|
1440
|
+
remember(itemKey: string): void;
|
|
1441
|
+
check: () => void;
|
|
1442
|
+
stopFor: (preferred: (item: _ui_sdk_core.RovingFocusItem<ListItemProps>) => boolean) => string | undefined;
|
|
1443
|
+
};
|
|
1444
|
+
keydown(event: KeyboardEvent, el: HTMLElement): void;
|
|
1445
|
+
pointermove(event: PointerEvent): void;
|
|
1446
|
+
pointerleave(): void;
|
|
1447
|
+
focusin(event: FocusEvent): void;
|
|
1448
|
+
focusout(event: FocusEvent, root: HTMLElement): void;
|
|
1449
|
+
/**
|
|
1450
|
+
* Keys pressed while nothing has focus (fresh page load, after closing a
|
|
1451
|
+
* drawer) act on the hovered item, like cmdk: arrows move from it and
|
|
1452
|
+
* Enter opens it. Focus in an input or another control is left alone.
|
|
1453
|
+
*/
|
|
1454
|
+
listenToPage(): () => void;
|
|
1455
|
+
};
|
|
1456
|
+
}, NoInfer<{
|
|
1457
|
+
value?: string;
|
|
1458
|
+
}> & _ui_sdk_core_renderer.BaseSlotProps, {}>;
|
|
1459
|
+
label: _ui_sdk_core.SlotDefinition<{
|
|
1460
|
+
stop: string | null;
|
|
1461
|
+
labels: string[];
|
|
1462
|
+
/** The item shown as current: the hovered one, or the focused one while keys drive. */
|
|
1463
|
+
highlighted: string | null;
|
|
1464
|
+
/** True after arrow-key navigation until the mouse really moves, like cmdk. */
|
|
1465
|
+
pointerHidden: boolean;
|
|
1466
|
+
orientation: ListOrientation;
|
|
1467
|
+
}, {
|
|
1468
|
+
focus: (value?: string) => void;
|
|
1469
|
+
internal: {
|
|
1470
|
+
roving: {
|
|
1471
|
+
bind(el: HTMLElement, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): () => void;
|
|
1472
|
+
tabIndex(state: {
|
|
1473
|
+
stop: string | null;
|
|
1474
|
+
}, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): "0" | "-1";
|
|
1475
|
+
keydown(event: KeyboardEvent, el: HTMLElement): {
|
|
1476
|
+
key: string;
|
|
1477
|
+
from: string;
|
|
1478
|
+
shift: boolean;
|
|
1479
|
+
} | undefined;
|
|
1480
|
+
items: () => {
|
|
1481
|
+
key: string;
|
|
1482
|
+
props: ListItemProps;
|
|
1483
|
+
el: HTMLElement;
|
|
1484
|
+
}[];
|
|
1485
|
+
focus(itemKey?: string): void;
|
|
1486
|
+
remember(itemKey: string): void;
|
|
1487
|
+
check: () => void;
|
|
1488
|
+
stopFor: (preferred: (item: _ui_sdk_core.RovingFocusItem<ListItemProps>) => boolean) => string | undefined;
|
|
1489
|
+
};
|
|
1490
|
+
keydown(event: KeyboardEvent, el: HTMLElement): void;
|
|
1491
|
+
pointermove(event: PointerEvent): void;
|
|
1492
|
+
pointerleave(): void;
|
|
1493
|
+
focusin(event: FocusEvent): void;
|
|
1494
|
+
focusout(event: FocusEvent, root: HTMLElement): void;
|
|
1495
|
+
/**
|
|
1496
|
+
* Keys pressed while nothing has focus (fresh page load, after closing a
|
|
1497
|
+
* drawer) act on the hovered item, like cmdk: arrows move from it and
|
|
1498
|
+
* Enter opens it. Focus in an input or another control is left alone.
|
|
1499
|
+
*/
|
|
1500
|
+
listenToPage(): () => void;
|
|
1501
|
+
};
|
|
1502
|
+
}, NoInfer<{
|
|
1503
|
+
value?: string;
|
|
1504
|
+
}> & _ui_sdk_core_renderer.BaseSlotProps, {}>;
|
|
1505
|
+
}[S]> | undefined, rendering?: boolean) => _ui_sdk_core.Part<{
|
|
1506
|
+
stop: string | null;
|
|
1507
|
+
labels: string[];
|
|
1508
|
+
/** The item shown as current: the hovered one, or the focused one while keys drive. */
|
|
1509
|
+
highlighted: string | null;
|
|
1510
|
+
/** True after arrow-key navigation until the mouse really moves, like cmdk. */
|
|
1511
|
+
pointerHidden: boolean;
|
|
1512
|
+
orientation: ListOrientation;
|
|
1513
|
+
}, {
|
|
1514
|
+
focus: (value?: string) => void;
|
|
1515
|
+
internal: {
|
|
1516
|
+
roving: {
|
|
1517
|
+
bind(el: HTMLElement, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): () => void;
|
|
1518
|
+
tabIndex(state: {
|
|
1519
|
+
stop: string | null;
|
|
1520
|
+
}, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): "0" | "-1";
|
|
1521
|
+
keydown(event: KeyboardEvent, el: HTMLElement): {
|
|
1522
|
+
key: string;
|
|
1523
|
+
from: string;
|
|
1524
|
+
shift: boolean;
|
|
1525
|
+
} | undefined;
|
|
1526
|
+
items: () => {
|
|
1527
|
+
key: string;
|
|
1528
|
+
props: ListItemProps;
|
|
1529
|
+
el: HTMLElement;
|
|
1530
|
+
}[];
|
|
1531
|
+
focus(itemKey?: string): void;
|
|
1532
|
+
remember(itemKey: string): void;
|
|
1533
|
+
check: () => void;
|
|
1534
|
+
stopFor: (preferred: (item: _ui_sdk_core.RovingFocusItem<ListItemProps>) => boolean) => string | undefined;
|
|
1535
|
+
};
|
|
1536
|
+
keydown(event: KeyboardEvent, el: HTMLElement): void;
|
|
1537
|
+
pointermove(event: PointerEvent): void;
|
|
1538
|
+
pointerleave(): void;
|
|
1539
|
+
focusin(event: FocusEvent): void;
|
|
1540
|
+
focusout(event: FocusEvent, root: HTMLElement): void;
|
|
1541
|
+
/**
|
|
1542
|
+
* Keys pressed while nothing has focus (fresh page load, after closing a
|
|
1543
|
+
* drawer) act on the hovered item, like cmdk: arrows move from it and
|
|
1544
|
+
* Enter opens it. Focus in an input or another control is left alone.
|
|
1545
|
+
*/
|
|
1546
|
+
listenToPage(): () => void;
|
|
1547
|
+
};
|
|
1548
|
+
}, SlotProps<{
|
|
1549
|
+
root: _ui_sdk_core.SlotDefinition<{
|
|
1550
|
+
stop: string | null;
|
|
1551
|
+
labels: string[];
|
|
1552
|
+
/** The item shown as current: the hovered one, or the focused one while keys drive. */
|
|
1553
|
+
highlighted: string | null;
|
|
1554
|
+
/** True after arrow-key navigation until the mouse really moves, like cmdk. */
|
|
1555
|
+
pointerHidden: boolean;
|
|
1556
|
+
orientation: ListOrientation;
|
|
1557
|
+
}, {
|
|
1558
|
+
focus: (value?: string) => void;
|
|
1559
|
+
internal: {
|
|
1560
|
+
roving: {
|
|
1561
|
+
bind(el: HTMLElement, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): () => void;
|
|
1562
|
+
tabIndex(state: {
|
|
1563
|
+
stop: string | null;
|
|
1564
|
+
}, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): "0" | "-1";
|
|
1565
|
+
keydown(event: KeyboardEvent, el: HTMLElement): {
|
|
1566
|
+
key: string;
|
|
1567
|
+
from: string;
|
|
1568
|
+
shift: boolean;
|
|
1569
|
+
} | undefined;
|
|
1570
|
+
items: () => {
|
|
1571
|
+
key: string;
|
|
1572
|
+
props: ListItemProps;
|
|
1573
|
+
el: HTMLElement;
|
|
1574
|
+
}[];
|
|
1575
|
+
focus(itemKey?: string): void;
|
|
1576
|
+
remember(itemKey: string): void;
|
|
1577
|
+
check: () => void;
|
|
1578
|
+
stopFor: (preferred: (item: _ui_sdk_core.RovingFocusItem<ListItemProps>) => boolean) => string | undefined;
|
|
1579
|
+
};
|
|
1580
|
+
keydown(event: KeyboardEvent, el: HTMLElement): void;
|
|
1581
|
+
pointermove(event: PointerEvent): void;
|
|
1582
|
+
pointerleave(): void;
|
|
1583
|
+
focusin(event: FocusEvent): void;
|
|
1584
|
+
focusout(event: FocusEvent, root: HTMLElement): void;
|
|
1585
|
+
/**
|
|
1586
|
+
* Keys pressed while nothing has focus (fresh page load, after closing a
|
|
1587
|
+
* drawer) act on the hovered item, like cmdk: arrows move from it and
|
|
1588
|
+
* Enter opens it. Focus in an input or another control is left alone.
|
|
1589
|
+
*/
|
|
1590
|
+
listenToPage(): () => void;
|
|
1591
|
+
};
|
|
1592
|
+
}, object & _ui_sdk_core_renderer.BaseSlotProps, NoInfer<{
|
|
1593
|
+
orientation: ListOrientation;
|
|
1594
|
+
}>>;
|
|
1595
|
+
item: _ui_sdk_core.SlotDefinition<{
|
|
1596
|
+
stop: string | null;
|
|
1597
|
+
labels: string[];
|
|
1598
|
+
/** The item shown as current: the hovered one, or the focused one while keys drive. */
|
|
1599
|
+
highlighted: string | null;
|
|
1600
|
+
/** True after arrow-key navigation until the mouse really moves, like cmdk. */
|
|
1601
|
+
pointerHidden: boolean;
|
|
1602
|
+
orientation: ListOrientation;
|
|
1603
|
+
}, {
|
|
1604
|
+
focus: (value?: string) => void;
|
|
1605
|
+
internal: {
|
|
1606
|
+
roving: {
|
|
1607
|
+
bind(el: HTMLElement, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): () => void;
|
|
1608
|
+
tabIndex(state: {
|
|
1609
|
+
stop: string | null;
|
|
1610
|
+
}, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): "0" | "-1";
|
|
1611
|
+
keydown(event: KeyboardEvent, el: HTMLElement): {
|
|
1612
|
+
key: string;
|
|
1613
|
+
from: string;
|
|
1614
|
+
shift: boolean;
|
|
1615
|
+
} | undefined;
|
|
1616
|
+
items: () => {
|
|
1617
|
+
key: string;
|
|
1618
|
+
props: ListItemProps;
|
|
1619
|
+
el: HTMLElement;
|
|
1620
|
+
}[];
|
|
1621
|
+
focus(itemKey?: string): void;
|
|
1622
|
+
remember(itemKey: string): void;
|
|
1623
|
+
check: () => void;
|
|
1624
|
+
stopFor: (preferred: (item: _ui_sdk_core.RovingFocusItem<ListItemProps>) => boolean) => string | undefined;
|
|
1625
|
+
};
|
|
1626
|
+
keydown(event: KeyboardEvent, el: HTMLElement): void;
|
|
1627
|
+
pointermove(event: PointerEvent): void;
|
|
1628
|
+
pointerleave(): void;
|
|
1629
|
+
focusin(event: FocusEvent): void;
|
|
1630
|
+
focusout(event: FocusEvent, root: HTMLElement): void;
|
|
1631
|
+
/**
|
|
1632
|
+
* Keys pressed while nothing has focus (fresh page load, after closing a
|
|
1633
|
+
* drawer) act on the hovered item, like cmdk: arrows move from it and
|
|
1634
|
+
* Enter opens it. Focus in an input or another control is left alone.
|
|
1635
|
+
*/
|
|
1636
|
+
listenToPage(): () => void;
|
|
1637
|
+
};
|
|
1638
|
+
}, NoInfer<ListItemProps> & _ui_sdk_core_renderer.BaseSlotProps, NoInfer<{
|
|
1639
|
+
highlighted: boolean;
|
|
1640
|
+
disabled: boolean;
|
|
1641
|
+
}>>;
|
|
1642
|
+
group: _ui_sdk_core.SlotDefinition<{
|
|
1643
|
+
stop: string | null;
|
|
1644
|
+
labels: string[];
|
|
1645
|
+
/** The item shown as current: the hovered one, or the focused one while keys drive. */
|
|
1646
|
+
highlighted: string | null;
|
|
1647
|
+
/** True after arrow-key navigation until the mouse really moves, like cmdk. */
|
|
1648
|
+
pointerHidden: boolean;
|
|
1649
|
+
orientation: ListOrientation;
|
|
1650
|
+
}, {
|
|
1651
|
+
focus: (value?: string) => void;
|
|
1652
|
+
internal: {
|
|
1653
|
+
roving: {
|
|
1654
|
+
bind(el: HTMLElement, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): () => void;
|
|
1655
|
+
tabIndex(state: {
|
|
1656
|
+
stop: string | null;
|
|
1657
|
+
}, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): "0" | "-1";
|
|
1658
|
+
keydown(event: KeyboardEvent, el: HTMLElement): {
|
|
1659
|
+
key: string;
|
|
1660
|
+
from: string;
|
|
1661
|
+
shift: boolean;
|
|
1662
|
+
} | undefined;
|
|
1663
|
+
items: () => {
|
|
1664
|
+
key: string;
|
|
1665
|
+
props: ListItemProps;
|
|
1666
|
+
el: HTMLElement;
|
|
1667
|
+
}[];
|
|
1668
|
+
focus(itemKey?: string): void;
|
|
1669
|
+
remember(itemKey: string): void;
|
|
1670
|
+
check: () => void;
|
|
1671
|
+
stopFor: (preferred: (item: _ui_sdk_core.RovingFocusItem<ListItemProps>) => boolean) => string | undefined;
|
|
1672
|
+
};
|
|
1673
|
+
keydown(event: KeyboardEvent, el: HTMLElement): void;
|
|
1674
|
+
pointermove(event: PointerEvent): void;
|
|
1675
|
+
pointerleave(): void;
|
|
1676
|
+
focusin(event: FocusEvent): void;
|
|
1677
|
+
focusout(event: FocusEvent, root: HTMLElement): void;
|
|
1678
|
+
/**
|
|
1679
|
+
* Keys pressed while nothing has focus (fresh page load, after closing a
|
|
1680
|
+
* drawer) act on the hovered item, like cmdk: arrows move from it and
|
|
1681
|
+
* Enter opens it. Focus in an input or another control is left alone.
|
|
1682
|
+
*/
|
|
1683
|
+
listenToPage(): () => void;
|
|
1684
|
+
};
|
|
1685
|
+
}, NoInfer<{
|
|
1686
|
+
value?: string;
|
|
1687
|
+
}> & _ui_sdk_core_renderer.BaseSlotProps, {}>;
|
|
1688
|
+
label: _ui_sdk_core.SlotDefinition<{
|
|
1689
|
+
stop: string | null;
|
|
1690
|
+
labels: string[];
|
|
1691
|
+
/** The item shown as current: the hovered one, or the focused one while keys drive. */
|
|
1692
|
+
highlighted: string | null;
|
|
1693
|
+
/** True after arrow-key navigation until the mouse really moves, like cmdk. */
|
|
1694
|
+
pointerHidden: boolean;
|
|
1695
|
+
orientation: ListOrientation;
|
|
1696
|
+
}, {
|
|
1697
|
+
focus: (value?: string) => void;
|
|
1698
|
+
internal: {
|
|
1699
|
+
roving: {
|
|
1700
|
+
bind(el: HTMLElement, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): () => void;
|
|
1701
|
+
tabIndex(state: {
|
|
1702
|
+
stop: string | null;
|
|
1703
|
+
}, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): "0" | "-1";
|
|
1704
|
+
keydown(event: KeyboardEvent, el: HTMLElement): {
|
|
1705
|
+
key: string;
|
|
1706
|
+
from: string;
|
|
1707
|
+
shift: boolean;
|
|
1708
|
+
} | undefined;
|
|
1709
|
+
items: () => {
|
|
1710
|
+
key: string;
|
|
1711
|
+
props: ListItemProps;
|
|
1712
|
+
el: HTMLElement;
|
|
1713
|
+
}[];
|
|
1714
|
+
focus(itemKey?: string): void;
|
|
1715
|
+
remember(itemKey: string): void;
|
|
1716
|
+
check: () => void;
|
|
1717
|
+
stopFor: (preferred: (item: _ui_sdk_core.RovingFocusItem<ListItemProps>) => boolean) => string | undefined;
|
|
1718
|
+
};
|
|
1719
|
+
keydown(event: KeyboardEvent, el: HTMLElement): void;
|
|
1720
|
+
pointermove(event: PointerEvent): void;
|
|
1721
|
+
pointerleave(): void;
|
|
1722
|
+
focusin(event: FocusEvent): void;
|
|
1723
|
+
focusout(event: FocusEvent, root: HTMLElement): void;
|
|
1724
|
+
/**
|
|
1725
|
+
* Keys pressed while nothing has focus (fresh page load, after closing a
|
|
1726
|
+
* drawer) act on the hovered item, like cmdk: arrows move from it and
|
|
1727
|
+
* Enter opens it. Focus in an input or another control is left alone.
|
|
1728
|
+
*/
|
|
1729
|
+
listenToPage(): () => void;
|
|
1730
|
+
};
|
|
1731
|
+
}, NoInfer<{
|
|
1732
|
+
value?: string;
|
|
1733
|
+
}> & _ui_sdk_core_renderer.BaseSlotProps, {}>;
|
|
1734
|
+
}[S]>>;
|
|
1735
|
+
use: (feature: _ui_sdk_core_renderer.Feature<{
|
|
1736
|
+
focus: (value?: string) => void;
|
|
1737
|
+
internal: {
|
|
1738
|
+
roving: {
|
|
1739
|
+
bind(el: HTMLElement, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): () => void;
|
|
1740
|
+
tabIndex(state: {
|
|
1741
|
+
stop: string | null;
|
|
1742
|
+
}, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): "0" | "-1";
|
|
1743
|
+
keydown(event: KeyboardEvent, el: HTMLElement): {
|
|
1744
|
+
key: string;
|
|
1745
|
+
from: string;
|
|
1746
|
+
shift: boolean;
|
|
1747
|
+
} | undefined;
|
|
1748
|
+
items: () => {
|
|
1749
|
+
key: string;
|
|
1750
|
+
props: ListItemProps;
|
|
1751
|
+
el: HTMLElement;
|
|
1752
|
+
}[];
|
|
1753
|
+
focus(itemKey?: string): void;
|
|
1754
|
+
remember(itemKey: string): void;
|
|
1755
|
+
check: () => void;
|
|
1756
|
+
stopFor: (preferred: (item: _ui_sdk_core.RovingFocusItem<ListItemProps>) => boolean) => string | undefined;
|
|
1757
|
+
};
|
|
1758
|
+
keydown(event: KeyboardEvent, el: HTMLElement): void;
|
|
1759
|
+
pointermove(event: PointerEvent): void;
|
|
1760
|
+
pointerleave(): void;
|
|
1761
|
+
focusin(event: FocusEvent): void;
|
|
1762
|
+
focusout(event: FocusEvent, root: HTMLElement): void;
|
|
1763
|
+
/**
|
|
1764
|
+
* Keys pressed while nothing has focus (fresh page load, after closing a
|
|
1765
|
+
* drawer) act on the hovered item, like cmdk: arrows move from it and
|
|
1766
|
+
* Enter opens it. Focus in an input or another control is left alone.
|
|
1767
|
+
*/
|
|
1768
|
+
listenToPage(): () => void;
|
|
1769
|
+
};
|
|
1770
|
+
}>) => void;
|
|
1771
|
+
preview(next: ListOptions & {
|
|
1772
|
+
id: string;
|
|
1773
|
+
}): {
|
|
1774
|
+
stop: string | null;
|
|
1775
|
+
labels: string[];
|
|
1776
|
+
/** The item shown as current: the hovered one, or the focused one while keys drive. */
|
|
1777
|
+
highlighted: string | null;
|
|
1778
|
+
/** True after arrow-key navigation until the mouse really moves, like cmdk. */
|
|
1779
|
+
pointerHidden: boolean;
|
|
1780
|
+
orientation: ListOrientation;
|
|
1781
|
+
} | undefined;
|
|
1782
|
+
view<T>(state: {
|
|
1783
|
+
stop: string | null;
|
|
1784
|
+
labels: string[];
|
|
1785
|
+
/** The item shown as current: the hovered one, or the focused one while keys drive. */
|
|
1786
|
+
highlighted: string | null;
|
|
1787
|
+
/** True after arrow-key navigation until the mouse really moves, like cmdk. */
|
|
1788
|
+
pointerHidden: boolean;
|
|
1789
|
+
orientation: ListOrientation;
|
|
1790
|
+
}, read: () => T, around?: Record<string, object>): T;
|
|
1791
|
+
setOptions(next: ListOptions & {
|
|
1792
|
+
id: string;
|
|
1793
|
+
}): void;
|
|
1794
|
+
startState: (next: ListOptions & {
|
|
1795
|
+
id: string;
|
|
1796
|
+
}) => {
|
|
1797
|
+
stop: string | null;
|
|
1798
|
+
labels: string[];
|
|
1799
|
+
/** The item shown as current: the hovered one, or the focused one while keys drive. */
|
|
1800
|
+
highlighted: string | null;
|
|
1801
|
+
/** True after arrow-key navigation until the mouse really moves, like cmdk. */
|
|
1802
|
+
pointerHidden: boolean;
|
|
1803
|
+
orientation: ListOrientation;
|
|
1804
|
+
};
|
|
1805
|
+
follow(current: () => ListOptions & {
|
|
1806
|
+
id: string;
|
|
1807
|
+
}): (state?: {
|
|
1808
|
+
stop: string | null;
|
|
1809
|
+
labels: string[];
|
|
1810
|
+
/** The item shown as current: the hovered one, or the focused one while keys drive. */
|
|
1811
|
+
highlighted: string | null;
|
|
1812
|
+
/** True after arrow-key navigation until the mouse really moves, like cmdk. */
|
|
1813
|
+
pointerHidden: boolean;
|
|
1814
|
+
orientation: ListOrientation;
|
|
1815
|
+
} | undefined, before?: ListOptions | undefined) => Partial<{
|
|
1816
|
+
stop: string | null;
|
|
1817
|
+
labels: string[];
|
|
1818
|
+
/** The item shown as current: the hovered one, or the focused one while keys drive. */
|
|
1819
|
+
highlighted: string | null;
|
|
1820
|
+
/** True after arrow-key navigation until the mouse really moves, like cmdk. */
|
|
1821
|
+
pointerHidden: boolean;
|
|
1822
|
+
orientation: ListOrientation;
|
|
1823
|
+
}> | undefined;
|
|
1824
|
+
destroy(): void;
|
|
1825
|
+
}) & {
|
|
1826
|
+
options: Record<string, _ui_sdk_core.PropSpec> | undefined;
|
|
1827
|
+
slots: {
|
|
1828
|
+
root: _ui_sdk_core.SlotDefinition<{
|
|
1829
|
+
stop: string | null;
|
|
1830
|
+
labels: string[];
|
|
1831
|
+
/** The item shown as current: the hovered one, or the focused one while keys drive. */
|
|
1832
|
+
highlighted: string | null;
|
|
1833
|
+
/** True after arrow-key navigation until the mouse really moves, like cmdk. */
|
|
1834
|
+
pointerHidden: boolean;
|
|
1835
|
+
orientation: ListOrientation;
|
|
1836
|
+
}, {
|
|
1837
|
+
focus: (value?: string) => void;
|
|
1838
|
+
internal: {
|
|
1839
|
+
roving: {
|
|
1840
|
+
bind(el: HTMLElement, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): () => void;
|
|
1841
|
+
tabIndex(state: {
|
|
1842
|
+
stop: string | null;
|
|
1843
|
+
}, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): "0" | "-1";
|
|
1844
|
+
keydown(event: KeyboardEvent, el: HTMLElement): {
|
|
1845
|
+
key: string;
|
|
1846
|
+
from: string;
|
|
1847
|
+
shift: boolean;
|
|
1848
|
+
} | undefined;
|
|
1849
|
+
items: () => {
|
|
1850
|
+
key: string;
|
|
1851
|
+
props: ListItemProps;
|
|
1852
|
+
el: HTMLElement;
|
|
1853
|
+
}[];
|
|
1854
|
+
focus(itemKey?: string): void;
|
|
1855
|
+
remember(itemKey: string): void;
|
|
1856
|
+
check: () => void;
|
|
1857
|
+
stopFor: (preferred: (item: _ui_sdk_core.RovingFocusItem<ListItemProps>) => boolean) => string | undefined;
|
|
1858
|
+
};
|
|
1859
|
+
keydown(event: KeyboardEvent, el: HTMLElement): void;
|
|
1860
|
+
pointermove(event: PointerEvent): void;
|
|
1861
|
+
pointerleave(): void;
|
|
1862
|
+
focusin(event: FocusEvent): void;
|
|
1863
|
+
focusout(event: FocusEvent, root: HTMLElement): void;
|
|
1864
|
+
/**
|
|
1865
|
+
* Keys pressed while nothing has focus (fresh page load, after closing a
|
|
1866
|
+
* drawer) act on the hovered item, like cmdk: arrows move from it and
|
|
1867
|
+
* Enter opens it. Focus in an input or another control is left alone.
|
|
1868
|
+
*/
|
|
1869
|
+
listenToPage(): () => void;
|
|
1870
|
+
};
|
|
1871
|
+
}, object & _ui_sdk_core_renderer.BaseSlotProps, NoInfer<{
|
|
1872
|
+
orientation: ListOrientation;
|
|
1873
|
+
}>>;
|
|
1874
|
+
item: _ui_sdk_core.SlotDefinition<{
|
|
1875
|
+
stop: string | null;
|
|
1876
|
+
labels: string[];
|
|
1877
|
+
/** The item shown as current: the hovered one, or the focused one while keys drive. */
|
|
1878
|
+
highlighted: string | null;
|
|
1879
|
+
/** True after arrow-key navigation until the mouse really moves, like cmdk. */
|
|
1880
|
+
pointerHidden: boolean;
|
|
1881
|
+
orientation: ListOrientation;
|
|
1882
|
+
}, {
|
|
1883
|
+
focus: (value?: string) => void;
|
|
1884
|
+
internal: {
|
|
1885
|
+
roving: {
|
|
1886
|
+
bind(el: HTMLElement, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): () => void;
|
|
1887
|
+
tabIndex(state: {
|
|
1888
|
+
stop: string | null;
|
|
1889
|
+
}, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): "0" | "-1";
|
|
1890
|
+
keydown(event: KeyboardEvent, el: HTMLElement): {
|
|
1891
|
+
key: string;
|
|
1892
|
+
from: string;
|
|
1893
|
+
shift: boolean;
|
|
1894
|
+
} | undefined;
|
|
1895
|
+
items: () => {
|
|
1896
|
+
key: string;
|
|
1897
|
+
props: ListItemProps;
|
|
1898
|
+
el: HTMLElement;
|
|
1899
|
+
}[];
|
|
1900
|
+
focus(itemKey?: string): void;
|
|
1901
|
+
remember(itemKey: string): void;
|
|
1902
|
+
check: () => void;
|
|
1903
|
+
stopFor: (preferred: (item: _ui_sdk_core.RovingFocusItem<ListItemProps>) => boolean) => string | undefined;
|
|
1904
|
+
};
|
|
1905
|
+
keydown(event: KeyboardEvent, el: HTMLElement): void;
|
|
1906
|
+
pointermove(event: PointerEvent): void;
|
|
1907
|
+
pointerleave(): void;
|
|
1908
|
+
focusin(event: FocusEvent): void;
|
|
1909
|
+
focusout(event: FocusEvent, root: HTMLElement): void;
|
|
1910
|
+
/**
|
|
1911
|
+
* Keys pressed while nothing has focus (fresh page load, after closing a
|
|
1912
|
+
* drawer) act on the hovered item, like cmdk: arrows move from it and
|
|
1913
|
+
* Enter opens it. Focus in an input or another control is left alone.
|
|
1914
|
+
*/
|
|
1915
|
+
listenToPage(): () => void;
|
|
1916
|
+
};
|
|
1917
|
+
}, NoInfer<ListItemProps> & _ui_sdk_core_renderer.BaseSlotProps, NoInfer<{
|
|
1918
|
+
highlighted: boolean;
|
|
1919
|
+
disabled: boolean;
|
|
1920
|
+
}>>;
|
|
1921
|
+
group: _ui_sdk_core.SlotDefinition<{
|
|
1922
|
+
stop: string | null;
|
|
1923
|
+
labels: string[];
|
|
1924
|
+
/** The item shown as current: the hovered one, or the focused one while keys drive. */
|
|
1925
|
+
highlighted: string | null;
|
|
1926
|
+
/** True after arrow-key navigation until the mouse really moves, like cmdk. */
|
|
1927
|
+
pointerHidden: boolean;
|
|
1928
|
+
orientation: ListOrientation;
|
|
1929
|
+
}, {
|
|
1930
|
+
focus: (value?: string) => void;
|
|
1931
|
+
internal: {
|
|
1932
|
+
roving: {
|
|
1933
|
+
bind(el: HTMLElement, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): () => void;
|
|
1934
|
+
tabIndex(state: {
|
|
1935
|
+
stop: string | null;
|
|
1936
|
+
}, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): "0" | "-1";
|
|
1937
|
+
keydown(event: KeyboardEvent, el: HTMLElement): {
|
|
1938
|
+
key: string;
|
|
1939
|
+
from: string;
|
|
1940
|
+
shift: boolean;
|
|
1941
|
+
} | undefined;
|
|
1942
|
+
items: () => {
|
|
1943
|
+
key: string;
|
|
1944
|
+
props: ListItemProps;
|
|
1945
|
+
el: HTMLElement;
|
|
1946
|
+
}[];
|
|
1947
|
+
focus(itemKey?: string): void;
|
|
1948
|
+
remember(itemKey: string): void;
|
|
1949
|
+
check: () => void;
|
|
1950
|
+
stopFor: (preferred: (item: _ui_sdk_core.RovingFocusItem<ListItemProps>) => boolean) => string | undefined;
|
|
1951
|
+
};
|
|
1952
|
+
keydown(event: KeyboardEvent, el: HTMLElement): void;
|
|
1953
|
+
pointermove(event: PointerEvent): void;
|
|
1954
|
+
pointerleave(): void;
|
|
1955
|
+
focusin(event: FocusEvent): void;
|
|
1956
|
+
focusout(event: FocusEvent, root: HTMLElement): void;
|
|
1957
|
+
/**
|
|
1958
|
+
* Keys pressed while nothing has focus (fresh page load, after closing a
|
|
1959
|
+
* drawer) act on the hovered item, like cmdk: arrows move from it and
|
|
1960
|
+
* Enter opens it. Focus in an input or another control is left alone.
|
|
1961
|
+
*/
|
|
1962
|
+
listenToPage(): () => void;
|
|
1963
|
+
};
|
|
1964
|
+
}, NoInfer<{
|
|
1965
|
+
value?: string;
|
|
1966
|
+
}> & _ui_sdk_core_renderer.BaseSlotProps, {}>;
|
|
1967
|
+
label: _ui_sdk_core.SlotDefinition<{
|
|
1968
|
+
stop: string | null;
|
|
1969
|
+
labels: string[];
|
|
1970
|
+
/** The item shown as current: the hovered one, or the focused one while keys drive. */
|
|
1971
|
+
highlighted: string | null;
|
|
1972
|
+
/** True after arrow-key navigation until the mouse really moves, like cmdk. */
|
|
1973
|
+
pointerHidden: boolean;
|
|
1974
|
+
orientation: ListOrientation;
|
|
1975
|
+
}, {
|
|
1976
|
+
focus: (value?: string) => void;
|
|
1977
|
+
internal: {
|
|
1978
|
+
roving: {
|
|
1979
|
+
bind(el: HTMLElement, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): () => void;
|
|
1980
|
+
tabIndex(state: {
|
|
1981
|
+
stop: string | null;
|
|
1982
|
+
}, part: _ui_sdk_core.RovingFocusItem<ListItemProps>): "0" | "-1";
|
|
1983
|
+
keydown(event: KeyboardEvent, el: HTMLElement): {
|
|
1984
|
+
key: string;
|
|
1985
|
+
from: string;
|
|
1986
|
+
shift: boolean;
|
|
1987
|
+
} | undefined;
|
|
1988
|
+
items: () => {
|
|
1989
|
+
key: string;
|
|
1990
|
+
props: ListItemProps;
|
|
1991
|
+
el: HTMLElement;
|
|
1992
|
+
}[];
|
|
1993
|
+
focus(itemKey?: string): void;
|
|
1994
|
+
remember(itemKey: string): void;
|
|
1995
|
+
check: () => void;
|
|
1996
|
+
stopFor: (preferred: (item: _ui_sdk_core.RovingFocusItem<ListItemProps>) => boolean) => string | undefined;
|
|
1997
|
+
};
|
|
1998
|
+
keydown(event: KeyboardEvent, el: HTMLElement): void;
|
|
1999
|
+
pointermove(event: PointerEvent): void;
|
|
2000
|
+
pointerleave(): void;
|
|
2001
|
+
focusin(event: FocusEvent): void;
|
|
2002
|
+
focusout(event: FocusEvent, root: HTMLElement): void;
|
|
2003
|
+
/**
|
|
2004
|
+
* Keys pressed while nothing has focus (fresh page load, after closing a
|
|
2005
|
+
* drawer) act on the hovered item, like cmdk: arrows move from it and
|
|
2006
|
+
* Enter opens it. Focus in an input or another control is left alone.
|
|
2007
|
+
*/
|
|
2008
|
+
listenToPage(): () => void;
|
|
2009
|
+
};
|
|
2010
|
+
}, NoInfer<{
|
|
2011
|
+
value?: string;
|
|
2012
|
+
}> & _ui_sdk_core_renderer.BaseSlotProps, {}>;
|
|
2013
|
+
};
|
|
2014
|
+
};
|
|
2015
|
+
type ListSlot = SlotName<typeof list>;
|
|
2016
|
+
type ListPartProps<S extends ListSlot> = PropsOf<typeof list, S> & Omit<PartProps<"div", StateOf<typeof list, S>>, keyof PropsOf<typeof list, S>>;
|
|
2017
|
+
type ListRootProps = OptionsOf<typeof list> & Omit<PartProps<"div", StateOf<typeof list, "root">>, keyof OptionsOf<typeof list>>;
|
|
2018
|
+
/**
|
|
2019
|
+
* A keyboard-navigable collection: one Tab stop, arrows move between items,
|
|
2020
|
+
* Home/End jump to the ends, Enter/Space activate the focused item's `onClick`.
|
|
2021
|
+
* Works for rows (`vertical`), strips (`horizontal`) and wrapping card grids (`grid`).
|
|
2022
|
+
*/
|
|
2023
|
+
declare function List({ className, ...props }: ListRootProps): React$1.JSX.Element;
|
|
2024
|
+
/**
|
|
2025
|
+
* How an item shows hover, keyboard focus, press and `active`. Colours come
|
|
2026
|
+
* from CSS variables, so a list can retint without new variants:
|
|
2027
|
+
* `--list-item-hover`, `--list-item-active`, `--list-item-ring`.
|
|
2028
|
+
*/
|
|
2029
|
+
declare const listItemVariants: (props?: ({
|
|
2030
|
+
highlight?: "none" | "both" | "outline" | "background" | null | undefined;
|
|
2031
|
+
ring?: "inset" | "offset" | null | undefined;
|
|
2032
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2033
|
+
type ListItemStyleProps = VariantProps<typeof listItemVariants> & {
|
|
2034
|
+
/** Marks the item that's open or current (e.g. the record shown in a drawer). Sets `aria-current` and `data-active`. */
|
|
2035
|
+
active?: boolean;
|
|
2036
|
+
};
|
|
2037
|
+
/** One focusable entry. Put the action in `onClick`; Enter and Space trigger it too. */
|
|
2038
|
+
declare function ListItem({ className, highlight, ring: ringPlacement, active, ...props }: ListPartProps<"item"> & ListItemStyleProps): React$1.JSX.Element;
|
|
2039
|
+
/** Groups items under a heading (e.g. a day) without breaking arrow navigation across groups. */
|
|
2040
|
+
declare function ListGroup({ className, ...props }: ListPartProps<"group">): React$1.JSX.Element;
|
|
2041
|
+
/** The visible name of its `ListGroup`; announced when focus enters the group. */
|
|
2042
|
+
declare function ListLabel({ className, ...props }: ListPartProps<"label">): React$1.JSX.Element;
|
|
2043
|
+
|
|
831
2044
|
declare function MessageGroup({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
832
2045
|
declare function Message({ className, align, ...props }: React$1.ComponentProps<"div"> & {
|
|
833
2046
|
align?: "start" | "end";
|
|
@@ -1137,4 +2350,4 @@ declare function Tooltip({ ...props }: Tooltip$1.Root.Props): React$1.JSX.Elemen
|
|
|
1137
2350
|
declare function TooltipTrigger({ ...props }: Tooltip$1.Trigger.Props): React$1.JSX.Element;
|
|
1138
2351
|
declare function TooltipContent({ className, side, sideOffset, align, alignOffset, children, ...props }: Tooltip$1.Popup.Props & Pick<Tooltip$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): React$1.JSX.Element;
|
|
1139
2352
|
|
|
1140
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AnimatedDiv, type AnimatedTAGProps, Apple, AppleHelloEffectEnglish, AppleHelloEffectHindi, AppleHelloEffectSpanish, Autocomplete, AutocompleteClear, AutocompleteCollection, AutocompleteEmpty, AutocompleteGroup, AutocompleteGroupLabel, AutocompleteInput, AutocompleteItem, AutocompleteList, AutocompletePopup, AutocompleteRow, AutocompleteSeparator, AutocompleteStatus, AutocompleteTrigger, AutocompleteValue, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, BlogCardAnimation, Bottom, Bubble, BubbleContent, BubbleGroup, BubbleReactions, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CodeBlock, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, type CustomRendererProps, DEFAULT_I18N, DEFAULT_OPERATORS, DashedSeparator, DataTable, DataTableBody, DataTableCell, DataTableEmptyBody, DataTableHeader, DataTablePagination, DataTableRow, DataTableSearchFilter, DataTableSkeleton, DataTableToolbarSection, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Dock, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerDialogRoot as DrawerDialog, DrawerDialogBody, DrawerDialogClose, DrawerDialogContent, type DrawerDialogController, DrawerDialogDescription, DrawerDialogFooter, DrawerDialogHeader, type DrawerDialogProps, DrawerDialogTitle, DrawerDialogTrigger, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerSwipeHandle, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EASE_DRAWER, EASE_IN_OUT, EASE_OUT, EASE_OUT_CSS, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FadeContainer, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, type Filter, type FilterFieldConfig, type FilterFieldGroup, type FilterFieldsConfig, type FilterGroup, type FilterI18nConfig, type FilterOperator, type FilterOption, type FilterOptionListRenderProps, Filters, FiltersContent, Image, type ImageProps, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, JellyAction, JellyBlob, JellyEmpty, type JellyEmptyProps, JellyGroup, JellyLink, JellyMascot, type JellyMascotConfig, JellyMini, type JellySize, Kbd, KbdGroup, Label, ListItemVariant, Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport, NativeAppBridge, NumberStepper, OTPInput, type OTPInputProps, type OTPStatus, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, QuantityInput, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, RollingNumber, SPRING_LAYOUT, SPRING_MOUSE, SPRING_PANEL, SPRING_PRESS, SPRING_SWAP, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, ShimmerSkeleton, type SkeletonProps as ShimmerSkeletonProps, Skeleton, SkeletonAvatar, SkeletonButton, type SkeletonProps, type SkeletonRounded, SkeletonText, type SkeletonVariant, Sortable, SortableContent, SortableItem, SortableItemHandle, SortableOverlay, type SortableProps, SwipeAction, SwipeActions, SwipeContent, SwipeItem, SwipeRoot, type SwipeSide, type SwipeState, Switch, Tabs, TabsIcon, TabsList, TabsPanel, TabsTab, Textarea, ThemeSwitcher, ThemeToggle, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Top, activityItemAnimation, badgeVariants, buttonGroupVariants, buttonVariants, createDrawerDialogController, createFilter, createFilterGroup, fromLeftChildren, fromLeftVariant, fromRightVariant, fromTopVariant, getSkeletonVariantDuration, hamFastFadeContainer, headingFromLeft, kanbanOrderCardAnimation, kanbanOrderCardLayoutTransition, kanbanOrderCardReducedMotionAnimation, mobileNavItemSideways, opacityVariant, popUp, popUpFromBottomForText, resolveSkeletonA11yProps, searchBarSlideAnimation, skeletonRoundedClasses, skeletonVariantDefaultDuration, svgVariant, tabsVariants, useAutocompleteFilter, useCarousel, useComboboxAnchor, useDrawerDialog, useJellyMood };
|
|
2353
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AnimatedDiv, type AnimatedTAGProps, Apple, AppleHelloEffectEnglish, AppleHelloEffectHindi, AppleHelloEffectSpanish, Autocomplete, AutocompleteClear, AutocompleteCollection, AutocompleteEmpty, AutocompleteGroup, AutocompleteGroupLabel, AutocompleteInput, AutocompleteItem, AutocompleteList, AutocompletePopup, AutocompleteRow, AutocompleteSeparator, AutocompleteStatus, AutocompleteTrigger, AutocompleteValue, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, BlogCardAnimation, Bottom, Bubble, BubbleContent, BubbleGroup, BubbleReactions, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CodeBlock, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, type CustomRendererProps, DEFAULT_I18N, DEFAULT_OPERATORS, DashedSeparator, DataTable, DataTableBody, DataTableCell, DataTableEmptyBody, DataTableHeader, DataTablePagination, DataTableRow, DataTableSearchFilter, DataTableSkeleton, DataTableToolbarSection, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Dock, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerDialogRoot as DrawerDialog, DrawerDialogBody, DrawerDialogClose, DrawerDialogContent, type DrawerDialogController, DrawerDialogDescription, DrawerDialogFooter, DrawerDialogHeader, type DrawerDialogProps, DrawerDialogTitle, DrawerDialogTrigger, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerSwipeHandle, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EASE_DRAWER, EASE_IN_OUT, EASE_OUT, EASE_OUT_CSS, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FadeContainer, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, type Filter, type FilterFieldConfig, type FilterFieldGroup, type FilterFieldsConfig, type FilterGroup, type FilterI18nConfig, type FilterOperator, type FilterOption, type FilterOptionListRenderProps, Filters, FiltersContent, Image, type ImageProps, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, JellyAction, JellyBlob, JellyEmpty, type JellyEmptyProps, JellyGroup, JellyLink, JellyMascot, type JellyMascotConfig, JellyMini, type JellySize, Kbd, KbdGroup, Label, List, type ListController, ListGroup, ListItem, ListItemVariant, ListLabel, type ListOptions, type ListOrientation, Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport, NativeAppBridge, NumberStepper, OTPInput, type OTPInputProps, type OTPStatus, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, QuantityInput, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, RollingNumber, SPRING_LAYOUT, SPRING_MOUSE, SPRING_PANEL, SPRING_PRESS, SPRING_SWAP, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, ShimmerSkeleton, type SkeletonProps as ShimmerSkeletonProps, Skeleton, SkeletonAvatar, SkeletonButton, type SkeletonProps, type SkeletonRounded, SkeletonText, type SkeletonVariant, Sortable, SortableContent, SortableItem, SortableItemHandle, SortableOverlay, type SortableProps, SwipeAction, SwipeActions, SwipeContent, SwipeItem, SwipeRoot, type SwipeSide, type SwipeState, Switch, Tabs, TabsIcon, TabsList, TabsPanel, TabsTab, Textarea, ThemeSwitcher, ThemeToggle, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Top, activityItemAnimation, badgeVariants, buttonGroupVariants, buttonVariants, createDrawerDialogController, createFilter, createFilterGroup, createListController, fromLeftChildren, fromLeftVariant, fromRightVariant, fromTopVariant, getSkeletonVariantDuration, hamFastFadeContainer, headingFromLeft, kanbanOrderCardAnimation, kanbanOrderCardLayoutTransition, kanbanOrderCardReducedMotionAnimation, listItemVariants, mobileNavItemSideways, opacityVariant, popUp, popUpFromBottomForText, resolveSkeletonA11yProps, searchBarSlideAnimation, skeletonRoundedClasses, skeletonVariantDefaultDuration, svgVariant, tabsVariants, useAutocompleteFilter, useCarousel, useComboboxAnchor, useDrawerDialog, useJellyMood };
|