@vuu-ui/vuu-ui-controls 3.3.11 → 4.0.0-alpha.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.
Files changed (40) hide show
  1. package/package.json +12 -13
  2. package/src/context-panel-provider/ContextPanelProvider.js +28 -40
  3. package/src/icon-button/Icon.js +1 -0
  4. package/src/icon-button/IconButton.js +1 -1
  5. package/src/instrument-picker/useTablePicker.js +3 -2
  6. package/src/item-picker/ItemPicker.js +12 -2
  7. package/src/tabstrip/Tabstrip.js +1 -1
  8. package/types/calendar/useCalendar.d.ts +3 -3
  9. package/types/calendar/useSelection.d.ts +1 -1
  10. package/types/context-panel-provider/ContextPanelProvider.d.ts +4 -7
  11. package/types/date-input/DateInput.d.ts +1 -1
  12. package/types/date-picker/DatePicker.d.ts +1 -1
  13. package/types/date-picker/DatePickerContext.d.ts +2 -2
  14. package/types/date-picker/DatePickerPanel.d.ts +1 -1
  15. package/types/drag-drop/DragDropProvider.d.ts +1 -1
  16. package/types/hover-overlay/HoverOverlay.d.ts +1 -1
  17. package/types/icon-button/Icon.d.ts +2 -2
  18. package/types/icon-button/IconButton.d.ts +1 -1
  19. package/types/icon-button/ToggleIconButton.d.ts +1 -1
  20. package/types/instrument-picker/SearchCell.d.ts +1 -1
  21. package/types/instrument-picker/TablePicker.d.ts +1 -1
  22. package/types/instrument-picker/useTablePicker.d.ts +5 -5
  23. package/types/item-picker/ItemPicker.d.ts +2 -0
  24. package/types/modal-provider/ModalProvider.d.ts +1 -1
  25. package/types/price-ticker/PriceTicker.d.ts +1 -1
  26. package/types/prompt/Prompt.d.ts +1 -1
  27. package/types/sortable-list/SortableList.d.ts +2 -2
  28. package/types/split-button/useSplitButton.d.ts +131 -131
  29. package/types/table-search/SearchCell.d.ts +1 -1
  30. package/types/table-search/TableSearch.d.ts +1 -1
  31. package/types/tabs-next/hooks/useOverflow.d.ts +1 -1
  32. package/types/tabstrip/Tab.d.ts +1 -1
  33. package/types/tabstrip/TabMenu.d.ts +1 -1
  34. package/types/tabstrip/Tabstrip.d.ts +3 -2
  35. package/types/tabstrip/useTabstrip.d.ts +1 -1
  36. package/types/toolbar/Toolbar.d.ts +2 -1
  37. package/types/toolbar/useToolbar.d.ts +1 -1
  38. package/types/vuu-date-picker/VuuDatePicker.d.ts +1 -1
  39. package/types/vuu-time-picker/VuuTimePicker.d.ts +1 -1
  40. package/types/vuu-typeahead-input/VuuTypeaheadInput.d.ts +1 -1
package/package.json CHANGED
@@ -1,27 +1,27 @@
1
1
  {
2
- "version": "3.3.11",
2
+ "version": "4.0.0-alpha.2",
3
3
  "description": "VUU UI Controls",
4
4
  "main": "./src/index.js",
5
5
  "author": "heswell",
6
6
  "license": "Apache-2.0",
7
+ "type": "module",
7
8
  "scripts": {
8
9
  "build:dev": "node ../../scripts/run-build.mjs",
9
10
  "build": "node ../../scripts/run-build-rslib.ts",
10
11
  "type-defs": "node ../../scripts/build-type-defs.mjs"
11
12
  },
12
13
  "devDependencies": {
13
- "@vuu-ui/vuu-data-types": "3.3.11",
14
- "@vuu-ui/vuu-protocol-types": "3.3.11",
15
- "@vuu-ui/vuu-table-types": "3.3.11"
14
+ "@vuu-ui/vuu-data-types": "4.0.0-alpha.2",
15
+ "@vuu-ui/vuu-protocol-types": "4.0.0-alpha.2",
16
+ "@vuu-ui/vuu-table-types": "4.0.0-alpha.2"
16
17
  },
17
18
  "dependencies": {
18
- "@vuu-ui/vuu-context-menu": "3.3.11",
19
- "@vuu-ui/vuu-data-react": "3.3.11",
20
- "@vuu-ui/vuu-layout": "3.3.11",
21
- "@vuu-ui/vuu-popups": "3.3.11",
22
- "@vuu-ui/vuu-table": "3.3.11",
23
- "@vuu-ui/vuu-utils": "3.3.11",
24
- "@salt-ds/core": "1.54.1",
19
+ "@vuu-ui/vuu-context-menu": "4.0.0-alpha.2",
20
+ "@vuu-ui/vuu-data-react": "4.0.0-alpha.2",
21
+ "@vuu-ui/vuu-popups": "4.0.0-alpha.2",
22
+ "@vuu-ui/vuu-table": "4.0.0-alpha.2",
23
+ "@vuu-ui/vuu-utils": "4.0.0-alpha.2",
24
+ "@salt-ds/core": "1.67.0",
25
25
  "@salt-ds/icons": "1.16.0",
26
26
  "@salt-ds/styles": "0.2.1",
27
27
  "@salt-ds/window": "0.1.1",
@@ -29,13 +29,12 @@
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@internationalized/date": "^3.0.0",
32
- "@floating-ui/react": "^0.26.28",
32
+ "@floating-ui/react": "^0.27.19",
33
33
  "clsx": "^2.0.0",
34
34
  "react": "^19.2.3",
35
35
  "react-dom": "^19.2.3"
36
36
  },
37
37
  "sideEffects": false,
38
- "type": "module",
39
38
  "files": [
40
39
  "README.md",
41
40
  "src",
@@ -1,6 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { createContext, useCallback, useContext, useState } from "react";
3
- import { isUnconfiguredProperty, layoutFromJson, useLayoutOperation } from "@vuu-ui/vuu-layout";
2
+ import { createContext, isValidElement, useCallback, useContext, useState } from "react";
4
3
  import { Dialog, DialogCloseButton, DialogContent, DialogHeader } from "@salt-ds/core";
5
4
  const UndefinedShowContextPanel = ()=>{
6
5
  console.warn("[ContextPanelContext] no implementation for showContextPanel, you need to add a ContextPanelProvider");
@@ -8,54 +7,43 @@ const UndefinedShowContextPanel = ()=>{
8
7
  const ContextPanelContext = /*#__PURE__*/ createContext({
9
8
  showContextPanel: UndefinedShowContextPanel
10
9
  });
11
- const ContextPanelProvider = ({ children, hideContextPanel: hideContextPanelProp, showContextPanel: showContextPanelProp })=>{
10
+ const ContextPanelProvider = ({ children, hideContextPanel: hideContextPanelProp, resolveComponent, showContextPanel: showContextPanelProp })=>{
12
11
  const { hideContextPanel: inheritedHideContextPanel, showContextPanel: inheritedShowContextPanel } = useContext(ContextPanelContext);
13
- const { showComponentInContextPanel } = useLayoutOperation();
14
12
  const [dialog, setDialog] = useState(null);
15
13
  const handleOpenChange = useCallback((isOpen)=>{
16
14
  if (!isOpen) setDialog(null);
17
15
  }, []);
18
16
  const hideContextPanel = hideContextPanelProp ?? inheritedHideContextPanel;
19
- const showContextPanel = useCallback((elementOrComponentType, title, props)=>{
20
- if (showContextPanelProp) showContextPanelProp(elementOrComponentType, title, props);
21
- else if (inheritedShowContextPanel !== UndefinedShowContextPanel) inheritedShowContextPanel(elementOrComponentType, title, props);
22
- else if (isUnconfiguredProperty(showComponentInContextPanel)) {
23
- if ("string" == typeof elementOrComponentType) {
24
- const component = "string" == typeof elementOrComponentType ? layoutFromJson({
25
- type: elementOrComponentType,
26
- props
27
- }, "") : elementOrComponentType;
28
- setDialog(/*#__PURE__*/ jsxs(Dialog, {
29
- open: true,
30
- onOpenChange: handleOpenChange,
31
- children: [
32
- /*#__PURE__*/ jsx(DialogCloseButton, {
33
- appearance: "transparent",
34
- "data-embedded": true,
35
- "data-icon": "close",
36
- onClick: ()=>setDialog(null),
37
- sentiment: "neutral"
38
- }),
39
- /*#__PURE__*/ jsx(DialogHeader, {
40
- header: title
41
- }),
42
- /*#__PURE__*/ jsx(DialogContent, {
43
- children: component
44
- })
45
- ]
46
- }));
47
- }
48
- } else {
49
- const component = "string" == typeof elementOrComponentType ? {
50
- type: elementOrComponentType,
51
- props
52
- } : elementOrComponentType;
53
- showComponentInContextPanel(component, title);
17
+ const showContextPanel = useCallback((component, title, componentProps)=>{
18
+ const resolvedComponent = "string" == typeof component && resolveComponent ? resolveComponent(component, componentProps) : component;
19
+ if (showContextPanelProp) showContextPanelProp(resolvedComponent, title, componentProps);
20
+ else if (inheritedShowContextPanel !== UndefinedShowContextPanel) inheritedShowContextPanel(resolvedComponent, title, componentProps);
21
+ else {
22
+ if (!/*#__PURE__*/ isValidElement(resolvedComponent)) throw new Error(`Context panel component "${component}" requires a configured resolver`);
23
+ setDialog(/*#__PURE__*/ jsxs(Dialog, {
24
+ open: true,
25
+ onOpenChange: handleOpenChange,
26
+ children: [
27
+ /*#__PURE__*/ jsx(DialogCloseButton, {
28
+ appearance: "transparent",
29
+ "data-embedded": true,
30
+ "data-icon": "close",
31
+ onClick: ()=>setDialog(null),
32
+ sentiment: "neutral"
33
+ }),
34
+ /*#__PURE__*/ jsx(DialogHeader, {
35
+ header: title
36
+ }),
37
+ /*#__PURE__*/ jsx(DialogContent, {
38
+ children: resolvedComponent
39
+ })
40
+ ]
41
+ }));
54
42
  }
55
43
  }, [
56
44
  handleOpenChange,
57
45
  inheritedShowContextPanel,
58
- showComponentInContextPanel,
46
+ resolveComponent,
59
47
  showContextPanelProp
60
48
  ]);
61
49
  return /*#__PURE__*/ jsxs(ContextPanelContext.Provider, {
@@ -17,6 +17,7 @@ const Icon_Icon = ({ className, name, size, style: styleProp, ...htmlAttributes
17
17
  } : styleProp;
18
18
  return /*#__PURE__*/ jsx("span", {
19
19
  ...htmlAttributes,
20
+ "aria-hidden": true,
20
21
  className: clsx(classBase, className),
21
22
  "data-icon": name,
22
23
  role: "img",
@@ -16,10 +16,10 @@ const IconButton_IconButton = /*#__PURE__*/ forwardRef(function({ "aria-label":
16
16
  });
17
17
  return /*#__PURE__*/ jsx(Button, {
18
18
  ...buttonProps,
19
+ "aria-label": ariaLabel,
19
20
  className: clsx(classBase, className),
20
21
  ref: ref,
21
22
  children: /*#__PURE__*/ jsx(Icon, {
22
- "aria-label": ariaLabel,
23
23
  name: icon,
24
24
  size: size
25
25
  })
@@ -1,8 +1,9 @@
1
1
  import { flip, size, useClick, useDismiss, useInteractions } from "@floating-ui/react";
2
2
  import { useFloatingUI } from "@salt-ds/core";
3
- import { useCallback, useMemo, useRef, useState } from "react";
4
- import { isStringColumn, toColumnName, useData } from "@vuu-ui/vuu-utils";
5
3
  import { isNavigationKey, isRowSelectionKey, useControlledTableNavigation } from "@vuu-ui/vuu-table";
4
+ import { isStringColumn, toColumnName } from "@vuu-ui/vuu-utils";
5
+ import { useData } from "@vuu-ui/core";
6
+ import { useCallback, useMemo, useRef, useState } from "react";
6
7
  const defaultRowToString = (dataRow)=>Object.values(dataRow).join(" ");
7
8
  const useTablePicker = ({ TableProps, onSelect, rowToString = defaultRowToString, schema, searchColumns = schema.columns.filter(isStringColumn).map(toColumnName) })=>{
8
9
  const { VuuDataSource } = useData();
@@ -98,7 +98,7 @@ const AvailableListItem = ({ className: classNameProp, index, item, onAdd, searc
98
98
  ]
99
99
  });
100
100
  };
101
- const ItemPicker_ItemPicker = /*#__PURE__*/ forwardRef(function({ className, itemTypeName, allItems, selectedItems, maxSelections, onSelectedItemsChange, onSelectionChange, selected = NO_SELECTION, createCustomItemProps, ...htmlAttributes }, forwardedRef) {
101
+ const ItemPicker_ItemPicker = /*#__PURE__*/ forwardRef(function({ className, itemTypeName, searchForm = true, allItems, selectedItems, maxSelections, onSelectedItemsChange, onSelectionChange, selected = NO_SELECTION, createCustomItemProps, ...htmlAttributes }, forwardedRef) {
102
102
  const targetWindow = useWindow();
103
103
  useComponentCssInjection({
104
104
  testId: "vuu-item-picker",
@@ -145,7 +145,17 @@ const ItemPicker_ItemPicker = /*#__PURE__*/ forwardRef(function({ className, ite
145
145
  className: clsx(classBase, className),
146
146
  ref: forwardedRef,
147
147
  children: [
148
- /*#__PURE__*/ jsx("form", {
148
+ searchForm ? /*#__PURE__*/ jsx("form", {
149
+ className: `${classBase}-search`,
150
+ role: "search",
151
+ children: /*#__PURE__*/ jsx(Input, {
152
+ startAdornment: searchIcon,
153
+ placeholder: searchPlaceholderText,
154
+ ref: searchCallbackRef,
155
+ value: searchText,
156
+ onChange: onChangeSearchInput
157
+ })
158
+ }) : /*#__PURE__*/ jsx("div", {
149
159
  className: `${classBase}-search`,
150
160
  role: "search",
151
161
  children: /*#__PURE__*/ jsx(Input, {
@@ -67,7 +67,7 @@ const Tabstrip_Tabstrip = ({ activeTabIndex: activeTabIndexProp, allowAddTab, al
67
67
  key: "addButton",
68
68
  onClick: onClickAddTab,
69
69
  variant: "secondary",
70
- tabIndex: -1
70
+ tabIndex: -1 === activeTabIndex ? 0 : -1
71
71
  }) : []), [
72
72
  children,
73
73
  allowAddTab,
@@ -16,16 +16,16 @@ interface BaseUseCalendarProps {
16
16
  export type useCalendarProps = (Omit<UseSingleSelectionCalendarProps, "isDaySelectable"> | Omit<UseMultiSelectionCalendarProps, "isDaySelectable"> | Omit<UseRangeSelectionCalendarProps, "isDaySelectable"> | Omit<UseOffsetSelectionCalendarProps, "isDaySelectable">) & BaseUseCalendarProps;
17
17
  export declare function useCalendar(props: useCalendarProps): {
18
18
  state: {
19
- selectedDate: DateValue | import("./useSelection").RangeSelectionValueType | {
19
+ selectedDate: DateValue[] | {
20
20
  startDate?: DateValue;
21
21
  endDate?: DateValue;
22
- } | DateValue[] | null | undefined;
22
+ } | import("./useSelection").RangeSelectionValueType | DateValue | null | undefined;
23
23
  hoveredDate: import("@internationalized/date").CalendarDate | import("@internationalized/date").CalendarDateTime | import("@internationalized/date").ZonedDateTime | null | undefined;
24
24
  visibleMonth: DateValue;
25
25
  focusedDate: DateValue;
26
26
  minDate: DateValue | undefined;
27
27
  maxDate: DateValue | undefined;
28
- selectionVariant: "offset" | "range" | "multiselect" | "default";
28
+ selectionVariant: "default" | "multiselect" | "offset" | "range";
29
29
  hideOutOfRangeDates: boolean | undefined;
30
30
  calendarFocused: boolean;
31
31
  };
@@ -38,7 +38,7 @@ export declare function isRangeOrOffsetSelectionValue(selectionValue?: AllSelect
38
38
  export declare function isRangeOrOffsetSelectionWithStartDate(selectionValue?: AllSelectionValueType): selectionValue is RangeSelectionValueType | OffsetSelectionValueType;
39
39
  export declare function useSelectionCalendar(props: useSelectionCalendarProps): {
40
40
  state: {
41
- selectedDate: DateValue | RangeSelectionValueType | OffsetSelectionValueType | MultiSelectionValueType | null | undefined;
41
+ selectedDate: MultiSelectionValueType | OffsetSelectionValueType | RangeSelectionValueType | DateValue | null | undefined;
42
42
  hoveredDate: CalendarDate | import("@internationalized/date").CalendarDateTime | import("@internationalized/date").ZonedDateTime | null | undefined;
43
43
  };
44
44
  helpers: {
@@ -1,17 +1,14 @@
1
1
  import { type ReactElement, type ReactNode } from "react";
2
- /**
3
- * If component is a string, the component will be read from the
4
- * comoponent registry. In that case, componentProps can be used
5
- * to pass props to the component.
6
- */
7
2
  export type ShowContextPanel = (component: string | ReactElement, title: string, componentProps?: unknown) => void;
8
3
  export interface ContextPanelProps {
9
4
  hideContextPanel?: () => void;
10
5
  showContextPanel: ShowContextPanel;
11
6
  }
7
+ export type ResolveContextPanelComponent = (component: string, componentProps?: unknown) => ReactElement;
12
8
  export declare const ContextPanelContext: import("react").Context<ContextPanelProps>;
13
- export declare const ContextPanelProvider: ({ children, hideContextPanel: hideContextPanelProp, showContextPanel: showContextPanelProp, }: Partial<ContextPanelProps> & {
9
+ export declare const ContextPanelProvider: ({ children, hideContextPanel: hideContextPanelProp, resolveComponent, showContextPanel: showContextPanelProp, }: Partial<ContextPanelProps> & {
14
10
  children: ReactNode;
15
- }) => import("react/jsx-runtime").JSX.Element;
11
+ resolveComponent?: ResolveContextPanelComponent;
12
+ }) => import("react").JSX.Element;
16
13
  export declare function useContextPanel(): ShowContextPanel;
17
14
  export declare function useHideContextPanel(): (() => void) | undefined;
@@ -57,4 +57,4 @@ export interface DateInputProps<SelectionVariantType> extends Omit<ComponentProp
57
57
  */
58
58
  onChange?: SelectionVariantType extends SingleSelectionValueType ? (event: ChangeEvent<HTMLInputElement>, selectedDateInputValue?: string) => void : (event: ChangeEvent<HTMLInputElement>, startDateInputValue?: string, endDateInputValue?: string) => void;
59
59
  }
60
- export declare const DateInput: import("react").ForwardRefExoticComponent<DateInputProps<DateValue | RangeSelectionValueType> & import("react").RefAttributes<HTMLDivElement>>;
60
+ export declare const DateInput: import("react").ForwardRefExoticComponent<DateInputProps<RangeSelectionValueType | DateValue> & import("react").RefAttributes<HTMLDivElement>>;
@@ -63,4 +63,4 @@ export interface DatePickerProps<SelectionVariantType> extends DateInputProps<Se
63
63
  */
64
64
  visibleMonths?: 1 | 2;
65
65
  }
66
- export declare const DatePicker: import("react").ForwardRefExoticComponent<DatePickerProps<DateValue | RangeSelectionValueType> & import("react").RefAttributes<HTMLDivElement>>;
66
+ export declare const DatePicker: import("react").ForwardRefExoticComponent<DatePickerProps<RangeSelectionValueType | DateValue> & import("react").RefAttributes<HTMLDivElement>>;
@@ -15,5 +15,5 @@ export interface DatePickerContextValue<SelectionVariantType> extends Partial<Pi
15
15
  selectionVariant: "default" | "range";
16
16
  getPanelPosition: () => Record<string, unknown>;
17
17
  }
18
- export declare const DatePickerContext: import("react").Context<DatePickerContextValue<DateValue | RangeSelectionValueType>>;
19
- export declare function useDatePickerContext(): DatePickerContextValue<DateValue | RangeSelectionValueType>;
18
+ export declare const DatePickerContext: import("react").Context<DatePickerContextValue<RangeSelectionValueType | DateValue>>;
19
+ export declare function useDatePickerContext(): DatePickerContextValue<RangeSelectionValueType | DateValue>;
@@ -7,4 +7,4 @@ export interface DatePickerPanelProps<SelectionVariantType> extends ComponentPro
7
7
  visibleMonths?: 1 | 2;
8
8
  CalendarProps?: Partial<Omit<CalendarProps, "selectionVariant" | "selectedDate" | "defaultSelectedDate" | "onSelectedDateChange">>;
9
9
  }
10
- export declare const DatePickerPanel: import("react").ForwardRefExoticComponent<DatePickerPanelProps<DateValue | RangeSelectionValueType> & import("react").RefAttributes<HTMLDivElement>>;
10
+ export declare const DatePickerPanel: import("react").ForwardRefExoticComponent<DatePickerPanelProps<RangeSelectionValueType | DateValue> & import("react").RefAttributes<HTMLDivElement>>;
@@ -27,7 +27,7 @@ export type MeasuredTarget = {
27
27
  right: number;
28
28
  top: number;
29
29
  };
30
- export declare const DragDropProvider: ({ children, dragSources: dragSourcesProp, }: DragDropProviderProps) => import("react/jsx-runtime").JSX.Element;
30
+ export declare const DragDropProvider: ({ children, dragSources: dragSourcesProp, }: DragDropProviderProps) => import("react").JSX.Element;
31
31
  export interface DragDropProviderResult {
32
32
  isDragSource?: boolean;
33
33
  isDropTarget?: boolean;
@@ -5,4 +5,4 @@ export interface HoverOverlayProps extends Pick<OverlayProps, "placement" | "onO
5
5
  open?: boolean;
6
6
  trigger: ReactNode;
7
7
  }
8
- export declare const HoverOverlay: ({ children, open: openProp, onOpenChange, placement, trigger, }: HoverOverlayProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const HoverOverlay: ({ children, open: openProp, onOpenChange, placement, trigger, }: HoverOverlayProps) => import("react").JSX.Element;
@@ -1,6 +1,6 @@
1
- import { HTMLAttributes } from "react";
1
+ import type { HTMLAttributes } from "react";
2
2
  export interface IconProps extends HTMLAttributes<HTMLSpanElement> {
3
3
  name: string;
4
4
  size?: number;
5
5
  }
6
- export declare const Icon: ({ className, name, size, style: styleProp, ...htmlAttributes }: IconProps) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const Icon: ({ className, name, size, style: styleProp, ...htmlAttributes }: IconProps) => import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { ButtonProps } from "@salt-ds/core";
1
+ import { type ButtonProps } from "@salt-ds/core";
2
2
  export interface IconButtonProps extends Omit<ButtonProps, "children"> {
3
3
  icon: string;
4
4
  size?: number;
@@ -2,4 +2,4 @@ import { IconButtonProps } from "./IconButton";
2
2
  export interface ToggleIconButtonProps extends Omit<IconButtonProps, "icon"> {
3
3
  isExpanded: boolean;
4
4
  }
5
- export declare const ToggleIconButton: ({ className, isExpanded, size, ...props }: ToggleIconButtonProps) => import("react/jsx-runtime").JSX.Element;
5
+ export declare const ToggleIconButton: ({ className, isExpanded, size, ...props }: ToggleIconButtonProps) => import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { TableCellRendererProps } from "@vuu-ui/vuu-table-types";
2
- export declare const SearchCell: ({ column, dataRow }: TableCellRendererProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const SearchCell: ({ column, dataRow }: TableCellRendererProps) => import("react").JSX.Element;
@@ -8,4 +8,4 @@ export interface TablePickerProps extends Omit<HTMLAttributes<HTMLElement>, "onS
8
8
  schema: TableSchema;
9
9
  searchColumns?: string[];
10
10
  }
11
- export declare const TablePicker: ({ TableProps, onSelect, rowToString, schema, searchColumns, ...htmlAttributes }: TablePickerProps) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const TablePicker: ({ TableProps, onSelect, rowToString, schema, searchColumns, ...htmlAttributes }: TablePickerProps) => import("react").JSX.Element;
@@ -1,5 +1,5 @@
1
- import { ChangeEvent, KeyboardEventHandler, RefCallback } from "react";
2
1
  import type { TableConfig, TableRowSelectHandler } from "@vuu-ui/vuu-table-types";
2
+ import { type ChangeEvent, type KeyboardEventHandler, type RefCallback } from "react";
3
3
  import type { TablePickerProps } from "./TablePicker";
4
4
  export interface TablePickerHookProps extends Pick<TablePickerProps, "TableProps" | "onSelect" | "rowToString" | "schema" | "searchColumns"> {
5
5
  defaultIsOpen?: boolean;
@@ -10,13 +10,9 @@ export declare const useTablePicker: ({ TableProps, onSelect, rowToString, schem
10
10
  dataSource: import("@vuu-ui/vuu-data-types").DataSource;
11
11
  highlightedIndex: number | undefined;
12
12
  floatingUIProps: {
13
- reference: ((node: import("@floating-ui/react-dom").ReferenceType | null) => void) & ((node: import("@floating-ui/react").ReferenceType | null) => void);
14
- floating: ((node: HTMLElement | null) => void) & ((node: HTMLElement | null) => void);
15
13
  placement: import("@floating-ui/utils").Placement;
16
14
  strategy: import("@floating-ui/utils").Strategy;
17
15
  middlewareData: import("@floating-ui/core").MiddlewareData;
18
- x: number;
19
- y: number;
20
16
  isPositioned: boolean;
21
17
  update: () => void;
22
18
  floatingStyles: React.CSSProperties;
@@ -26,6 +22,10 @@ export declare const useTablePicker: ({ TableProps, onSelect, rowToString, schem
26
22
  setReference: (node: import("@floating-ui/react-dom").ReferenceType | null) => void;
27
23
  setFloating: (node: HTMLElement | null) => void;
28
24
  } & import("@floating-ui/react").ExtendedRefs<import("@floating-ui/react").ReferenceType>;
25
+ reference: ((node: import("@floating-ui/react-dom").ReferenceType | null) => void) & ((node: import("@floating-ui/react").ReferenceType | null) => void);
26
+ floating: ((node: HTMLElement | null) => void) & ((node: HTMLElement | null) => void);
27
+ x: number;
28
+ y: number;
29
29
  };
30
30
  inputProps: {
31
31
  inputProps: {
@@ -5,6 +5,8 @@ import { CreateCustomItemProps, ItemDescriptor, ItemPickerHookProps } from "./us
5
5
  export declare const classBaseListItem = "vuuItemPickerListItem";
6
6
  export interface ItemPickerProps extends ItemPickerHookProps, HTMLAttributes<HTMLDivElement>, Pick<ListBoxProps<ItemDescriptor>, "selected" | "onSelectionChange"> {
7
7
  itemTypeName: ItemTypeName;
8
+ /** Render the search control as a form. Set false when the picker is nested in a form. */
9
+ searchForm?: boolean;
8
10
  createCustomItemProps?: CreateCustomItemProps;
9
11
  }
10
12
  /** Generic controlled component that displays items in a 'picker' that are available to search, select, reorder or deselect.
@@ -4,7 +4,7 @@ export type ShowDialog = (dialogContent: ReactElement, title: string, dialogActi
4
4
  export type ShowPrompt = (promptContent: ReactElement, promptProps: PromptProps) => void;
5
5
  export declare const ModalProvider: ({ children }: {
6
6
  children: ReactNode;
7
- }) => import("react/jsx-runtime").JSX.Element;
7
+ }) => import("react").JSX.Element;
8
8
  export declare const useModal: () => {
9
9
  showDialog: ShowDialog;
10
10
  closeDialog: () => void;
@@ -4,4 +4,4 @@ export interface PriceTickerProps extends HTMLAttributes<HTMLDivElement> {
4
4
  price?: number;
5
5
  showArrow?: boolean;
6
6
  }
7
- export declare const PriceTicker: import("react").MemoExoticComponent<({ className, decimals, price, showArrow, ...htmlAttributes }: PriceTickerProps) => import("react/jsx-runtime").JSX.Element>;
7
+ export declare const PriceTicker: import("react").MemoExoticComponent<({ className, decimals, price, showArrow, ...htmlAttributes }: PriceTickerProps) => import("react").JSX.Element>;
@@ -50,4 +50,4 @@ export interface PromptProps extends Pick<DialogProps, "disableDismiss" | "onOpe
50
50
  showConfirmButton?: boolean;
51
51
  title: string;
52
52
  }
53
- export declare const Prompt: ({ children, className, cancelButtonLabel, cancelButtonProps, confirmButtonLabel, confirmButtonProps, customAction, disableDismiss, disableAccent, headerTag, icon, initialFocusedItem, onCancel, onClose, onConfirm, onOpenChange, open, showCancelButton, showCloseButton, showConfirmButton, status, title, ...htmlAttributes }: PromptProps) => import("react/jsx-runtime").JSX.Element;
53
+ export declare const Prompt: ({ children, className, cancelButtonLabel, cancelButtonProps, confirmButtonLabel, confirmButtonProps, customAction, disableDismiss, disableAccent, headerTag, icon, initialFocusedItem, onCancel, onClose, onConfirm, onOpenChange, open, showCancelButton, showCloseButton, showConfirmButton, status, title, ...htmlAttributes }: PromptProps) => import("react").JSX.Element;
@@ -2,7 +2,7 @@ import { ListBoxProps, OptionProps } from "@salt-ds/core";
2
2
  export declare const SortableOption: ({ id, index, value, ...optionProps }: OptionProps & {
3
3
  id: string;
4
4
  index: number;
5
- }) => import("react/jsx-runtime").JSX.Element;
5
+ }) => import("react").JSX.Element;
6
6
  export declare const SortableList: ({ children, onReorderListItems, ...listBoxProps }: ListBoxProps & {
7
7
  onReorderListItems?: (listItems: unknown[]) => void;
8
- }) => import("react/jsx-runtime").JSX.Element;
8
+ }) => import("react").JSX.Element;
@@ -6,127 +6,7 @@ export interface SplitButtonHookProps extends Pick<SplitButtonProps, "PopupMenuP
6
6
  }
7
7
  export declare const useSplitButton: ({ ButtonProps: ButtonPropsProp, PopupMenuProps, classBase, onClick, }: SplitButtonHookProps) => {
8
8
  ButtonProps: {
9
- onClick: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
10
- onKeyDown: KeyboardEventHandler<HTMLButtonElement>;
11
- type?: "submit" | "reset" | "button" | undefined;
12
- form?: string | undefined;
13
- slot?: string | undefined;
14
- style?: import("react").CSSProperties | undefined;
15
- title?: string | undefined;
16
9
  key?: import("react").Key | null | undefined;
17
- disabled?: boolean;
18
- formAction?: string | ((formData: FormData) => void | Promise<void>) | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
19
- formEncType?: string | undefined;
20
- formMethod?: string | undefined;
21
- formNoValidate?: boolean | undefined;
22
- formTarget?: string | undefined;
23
- name?: string | undefined;
24
- value?: string | readonly string[] | number | undefined;
25
- defaultChecked?: boolean | undefined;
26
- defaultValue?: string | number | readonly string[] | undefined;
27
- suppressContentEditableWarning?: boolean | undefined;
28
- suppressHydrationWarning?: boolean | undefined;
29
- accessKey?: string | undefined;
30
- autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
31
- autoFocus?: boolean | undefined;
32
- className?: string | undefined;
33
- contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
34
- contextMenu?: string | undefined;
35
- dir?: string | undefined;
36
- draggable?: (boolean | "true" | "false") | undefined;
37
- enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
38
- hidden?: boolean | undefined;
39
- id?: string | undefined;
40
- lang?: string | undefined;
41
- nonce?: string | undefined;
42
- spellCheck?: (boolean | "true" | "false") | undefined;
43
- tabIndex?: number | undefined;
44
- translate?: "yes" | "no" | undefined;
45
- radioGroup?: string | undefined;
46
- role?: import("react").AriaRole | undefined;
47
- about?: string | undefined;
48
- content?: string | undefined;
49
- datatype?: string | undefined;
50
- inlist?: any;
51
- prefix?: string | undefined;
52
- property?: string | undefined;
53
- rel?: string | undefined;
54
- resource?: string | undefined;
55
- rev?: string | undefined;
56
- typeof?: string | undefined;
57
- vocab?: string | undefined;
58
- autoCorrect?: string | undefined;
59
- autoSave?: string | undefined;
60
- color?: string | undefined;
61
- itemProp?: string | undefined;
62
- itemScope?: boolean | undefined;
63
- itemType?: string | undefined;
64
- itemID?: string | undefined;
65
- itemRef?: string | undefined;
66
- results?: number | undefined;
67
- security?: string | undefined;
68
- unselectable?: "on" | "off" | undefined;
69
- popover?: "" | "auto" | "manual" | undefined;
70
- popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
71
- popoverTarget?: string | undefined;
72
- inert?: boolean | undefined;
73
- inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
74
- is?: string | undefined;
75
- exportparts?: string | undefined;
76
- part?: string | undefined;
77
- "aria-activedescendant"?: string | undefined;
78
- "aria-atomic"?: (boolean | "true" | "false") | undefined;
79
- "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
80
- "aria-braillelabel"?: string | undefined;
81
- "aria-brailleroledescription"?: string | undefined;
82
- "aria-busy"?: (boolean | "true" | "false") | undefined;
83
- "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
84
- "aria-colcount"?: number | undefined;
85
- "aria-colindex"?: number | undefined;
86
- "aria-colindextext"?: string | undefined;
87
- "aria-colspan"?: number | undefined;
88
- "aria-controls"?: string | undefined;
89
- "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
90
- "aria-describedby"?: string | undefined;
91
- "aria-description"?: string | undefined;
92
- "aria-details"?: string | undefined;
93
- "aria-disabled"?: (boolean | "true" | "false") | undefined;
94
- "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
95
- "aria-errormessage"?: string | undefined;
96
- "aria-expanded"?: (boolean | "true" | "false") | undefined;
97
- "aria-flowto"?: string | undefined;
98
- "aria-grabbed"?: (boolean | "true" | "false") | undefined;
99
- "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
100
- "aria-hidden"?: (boolean | "true" | "false") | undefined;
101
- "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
102
- "aria-keyshortcuts"?: string | undefined;
103
- "aria-label"?: string | undefined;
104
- "aria-labelledby"?: string | undefined;
105
- "aria-level"?: number | undefined;
106
- "aria-live"?: "off" | "assertive" | "polite" | undefined;
107
- "aria-modal"?: (boolean | "true" | "false") | undefined;
108
- "aria-multiline"?: (boolean | "true" | "false") | undefined;
109
- "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
110
- "aria-orientation"?: "horizontal" | "vertical" | undefined;
111
- "aria-owns"?: string | undefined;
112
- "aria-placeholder"?: string | undefined;
113
- "aria-posinset"?: number | undefined;
114
- "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
115
- "aria-readonly"?: (boolean | "true" | "false") | undefined;
116
- "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
117
- "aria-required"?: (boolean | "true" | "false") | undefined;
118
- "aria-roledescription"?: string | undefined;
119
- "aria-rowcount"?: number | undefined;
120
- "aria-rowindex"?: number | undefined;
121
- "aria-rowindextext"?: string | undefined;
122
- "aria-rowspan"?: number | undefined;
123
- "aria-selected"?: (boolean | "true" | "false") | undefined;
124
- "aria-setsize"?: number | undefined;
125
- "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
126
- "aria-valuemax"?: number | undefined;
127
- "aria-valuemin"?: number | undefined;
128
- "aria-valuenow"?: number | undefined;
129
- "aria-valuetext"?: string | undefined;
130
10
  children?: import("react").ReactNode | undefined;
131
11
  dangerouslySetInnerHTML?: {
132
12
  __html: string | TrustedHTML;
@@ -147,18 +27,18 @@ export declare const useSplitButton: ({ ButtonProps: ButtonPropsProp, PopupMenuP
147
27
  onFocusCapture?: FocusEventHandler<HTMLButtonElement> | undefined;
148
28
  onBlur?: FocusEventHandler<HTMLButtonElement> | undefined;
149
29
  onBlurCapture?: FocusEventHandler<HTMLButtonElement> | undefined;
150
- onChange?: import("react").FormEventHandler<HTMLButtonElement> | undefined;
151
- onChangeCapture?: import("react").FormEventHandler<HTMLButtonElement> | undefined;
30
+ onChange?: import("react").ChangeEventHandler<HTMLButtonElement, Element> | undefined;
31
+ onChangeCapture?: import("react").ChangeEventHandler<HTMLButtonElement, Element> | undefined;
152
32
  onBeforeInput?: import("react").InputEventHandler<HTMLButtonElement> | undefined;
153
- onBeforeInputCapture?: import("react").FormEventHandler<HTMLButtonElement> | undefined;
154
- onInput?: import("react").FormEventHandler<HTMLButtonElement> | undefined;
155
- onInputCapture?: import("react").FormEventHandler<HTMLButtonElement> | undefined;
156
- onReset?: import("react").FormEventHandler<HTMLButtonElement> | undefined;
157
- onResetCapture?: import("react").FormEventHandler<HTMLButtonElement> | undefined;
158
- onSubmit?: import("react").FormEventHandler<HTMLButtonElement> | undefined;
159
- onSubmitCapture?: import("react").FormEventHandler<HTMLButtonElement> | undefined;
160
- onInvalid?: import("react").FormEventHandler<HTMLButtonElement> | undefined;
161
- onInvalidCapture?: import("react").FormEventHandler<HTMLButtonElement> | undefined;
33
+ onBeforeInputCapture?: import("react").InputEventHandler<HTMLButtonElement> | undefined;
34
+ onInput?: import("react").InputEventHandler<HTMLButtonElement> | undefined;
35
+ onInputCapture?: import("react").InputEventHandler<HTMLButtonElement> | undefined;
36
+ onReset?: import("react").ReactEventHandler<HTMLButtonElement> | undefined;
37
+ onResetCapture?: import("react").ReactEventHandler<HTMLButtonElement> | undefined;
38
+ onSubmit?: import("react").SubmitEventHandler<HTMLButtonElement> | undefined;
39
+ onSubmitCapture?: import("react").SubmitEventHandler<HTMLButtonElement> | undefined;
40
+ onInvalid?: import("react").ReactEventHandler<HTMLButtonElement> | undefined;
41
+ onInvalidCapture?: import("react").ReactEventHandler<HTMLButtonElement> | undefined;
162
42
  onLoad?: import("react").ReactEventHandler<HTMLButtonElement> | undefined;
163
43
  onLoadCapture?: import("react").ReactEventHandler<HTMLButtonElement> | undefined;
164
44
  onError?: import("react").ReactEventHandler<HTMLButtonElement> | undefined;
@@ -297,11 +177,131 @@ export declare const useSplitButton: ({ ButtonProps: ButtonPropsProp, PopupMenuP
297
177
  onTransitionRunCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
298
178
  onTransitionStart?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
299
179
  onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
180
+ "aria-activedescendant"?: string | undefined;
181
+ "aria-atomic"?: ("false" | "true" | boolean) | undefined;
182
+ "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
183
+ "aria-braillelabel"?: string | undefined;
184
+ "aria-brailleroledescription"?: string | undefined;
185
+ "aria-busy"?: ("false" | "true" | boolean) | undefined;
186
+ "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
187
+ "aria-colcount"?: number | undefined;
188
+ "aria-colindex"?: number | undefined;
189
+ "aria-colindextext"?: string | undefined;
190
+ "aria-colspan"?: number | undefined;
191
+ "aria-controls"?: string | undefined;
192
+ "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
193
+ "aria-describedby"?: string | undefined;
194
+ "aria-description"?: string | undefined;
195
+ "aria-details"?: string | undefined;
196
+ "aria-disabled"?: ("false" | "true" | boolean) | undefined;
197
+ "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
198
+ "aria-errormessage"?: string | undefined;
199
+ "aria-expanded"?: ("false" | "true" | boolean) | undefined;
200
+ "aria-flowto"?: string | undefined;
201
+ "aria-grabbed"?: ("false" | "true" | boolean) | undefined;
202
+ "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
203
+ "aria-hidden"?: ("false" | "true" | boolean) | undefined;
204
+ "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
205
+ "aria-keyshortcuts"?: string | undefined;
206
+ "aria-label"?: string | undefined;
207
+ "aria-labelledby"?: string | undefined;
208
+ "aria-level"?: number | undefined;
209
+ "aria-live"?: "off" | "assertive" | "polite" | undefined;
210
+ "aria-modal"?: ("false" | "true" | boolean) | undefined;
211
+ "aria-multiline"?: ("false" | "true" | boolean) | undefined;
212
+ "aria-multiselectable"?: ("false" | "true" | boolean) | undefined;
213
+ "aria-orientation"?: "horizontal" | "vertical" | undefined;
214
+ "aria-owns"?: string | undefined;
215
+ "aria-placeholder"?: string | undefined;
216
+ "aria-posinset"?: number | undefined;
217
+ "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
218
+ "aria-readonly"?: ("false" | "true" | boolean) | undefined;
219
+ "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
220
+ "aria-required"?: ("false" | "true" | boolean) | undefined;
221
+ "aria-roledescription"?: string | undefined;
222
+ "aria-rowcount"?: number | undefined;
223
+ "aria-rowindex"?: number | undefined;
224
+ "aria-rowindextext"?: string | undefined;
225
+ "aria-rowspan"?: number | undefined;
226
+ "aria-selected"?: ("false" | "true" | boolean) | undefined;
227
+ "aria-setsize"?: number | undefined;
228
+ "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
229
+ "aria-valuemax"?: number | undefined;
230
+ "aria-valuemin"?: number | undefined;
231
+ "aria-valuenow"?: number | undefined;
232
+ "aria-valuetext"?: string | undefined;
233
+ defaultChecked?: boolean | undefined;
234
+ defaultValue?: string | number | readonly string[] | undefined;
235
+ suppressContentEditableWarning?: boolean | undefined;
236
+ suppressHydrationWarning?: boolean | undefined;
237
+ accessKey?: string | undefined;
238
+ autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
239
+ autoFocus?: boolean | undefined;
240
+ className?: string | undefined;
241
+ contentEditable?: ("false" | "true" | boolean) | "inherit" | "plaintext-only" | undefined;
242
+ contextMenu?: string | undefined;
243
+ dir?: string | undefined;
244
+ draggable?: ("false" | "true" | boolean) | undefined;
245
+ enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
246
+ hidden?: boolean | undefined;
247
+ id?: string | undefined;
248
+ lang?: string | undefined;
249
+ nonce?: string | undefined;
250
+ slot?: string | undefined;
251
+ spellCheck?: ("false" | "true" | boolean) | undefined;
252
+ style?: import("react").CSSProperties | undefined;
253
+ tabIndex?: number | undefined;
254
+ title?: string | undefined;
255
+ translate?: "yes" | "no" | undefined;
256
+ radioGroup?: string | undefined;
257
+ role?: import("react").AriaRole | undefined;
258
+ about?: string | undefined;
259
+ content?: string | undefined;
260
+ datatype?: string | undefined;
261
+ inlist?: any;
262
+ prefix?: string | undefined;
263
+ property?: string | undefined;
264
+ rel?: string | undefined;
265
+ resource?: string | undefined;
266
+ rev?: string | undefined;
267
+ typeof?: string | undefined;
268
+ vocab?: string | undefined;
269
+ autoCorrect?: string | undefined;
270
+ autoSave?: string | undefined;
271
+ color?: string | undefined;
272
+ itemProp?: string | undefined;
273
+ itemScope?: boolean | undefined;
274
+ itemType?: string | undefined;
275
+ itemID?: string | undefined;
276
+ itemRef?: string | undefined;
277
+ results?: number | undefined;
278
+ security?: string | undefined;
279
+ unselectable?: "on" | "off" | undefined;
280
+ popover?: "" | "auto" | "manual" | "hint" | undefined;
281
+ popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
282
+ popoverTarget?: string | undefined;
283
+ inert?: boolean | undefined;
284
+ inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
285
+ is?: string | undefined;
286
+ exportparts?: string | undefined;
287
+ part?: string | undefined;
288
+ form?: string | undefined;
289
+ formAction?: string | ((formData: FormData) => void | Promise<void>) | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
290
+ formEncType?: string | undefined;
291
+ formMethod?: string | undefined;
292
+ formNoValidate?: boolean | undefined;
293
+ formTarget?: string | undefined;
294
+ name?: string | undefined;
295
+ type?: "submit" | "reset" | "button" | undefined;
296
+ value?: string | readonly string[] | number | undefined;
297
+ disabled?: boolean;
300
298
  focusableWhenDisabled?: boolean;
301
299
  appearance?: import("@salt-ds/core").ButtonAppearance;
302
300
  sentiment?: import("@salt-ds/core").ButtonSentiment;
303
301
  loading?: boolean;
304
302
  loadingAnnouncement?: string;
303
+ onClick: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
304
+ onKeyDown: KeyboardEventHandler<HTMLButtonElement>;
305
305
  };
306
306
  PopupMenuProps: PopupMenuProps;
307
307
  buttonRef: import("react").RefObject<HTMLButtonElement | null>;
@@ -1,2 +1,2 @@
1
1
  import { TableCellRendererProps } from "@vuu-ui/vuu-table-types";
2
- export declare const SearchCell: ({ column, dataRow, searchPattern, }: TableCellRendererProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const SearchCell: ({ column, dataRow, searchPattern, }: TableCellRendererProps) => import("react").JSX.Element;
@@ -6,4 +6,4 @@ export interface TableSearchProps extends HTMLAttributes<HTMLDivElement> {
6
6
  placeHolder?: string;
7
7
  searchColumns: string[];
8
8
  }
9
- export declare const TableSearch: ({ TableProps: { dataSource: dataSourceProp, ...TableProps }, autoFocus, className, placeHolder, searchColumns, ...htmlAttributes }: TableSearchProps) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const TableSearch: ({ TableProps: { dataSource: dataSourceProp, ...TableProps }, autoFocus, className, placeHolder, searchColumns, ...htmlAttributes }: TableSearchProps) => import("react").JSX.Element;
@@ -7,5 +7,5 @@ interface UseOverflowProps {
7
7
  tabs: Item[];
8
8
  overflowButton: RefObject<HTMLButtonElement | null>;
9
9
  }
10
- export declare function useOverflow({ tabs, container, overflowButton, children, selected, }: UseOverflowProps): readonly [(string | number | bigint | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | import("react").ReactPortal | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined>)[], (string | number | bigint | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | import("react").ReactPortal | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined>)[], false] | readonly [(string | number | bigint | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | import("react").ReactPortal | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined>)[], readonly [], true];
10
+ export declare function useOverflow({ tabs, container, overflowButton, children, selected, }: UseOverflowProps): readonly [(string | number | bigint | Iterable<ReactNode> | Promise<string | number | bigint | boolean | Iterable<ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal)[], (string | number | bigint | Iterable<ReactNode> | Promise<string | number | bigint | boolean | Iterable<ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal)[], false] | readonly [(string | number | bigint | Iterable<ReactNode> | Promise<string | number | bigint | boolean | Iterable<ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal)[], readonly [], true];
11
11
  export {};
@@ -1,7 +1,7 @@
1
1
  import { KeyboardEvent, MouseEvent } from "react";
2
2
  import { EditableLabelProps } from "../editable-label";
3
3
  import { MenuActionHandler } from "@vuu-ui/vuu-context-menu";
4
- export declare const Tab: import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "onKeyUp" | "onClick"> & {
4
+ export declare const Tab: import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "onClick" | "onKeyUp"> & {
5
5
  ariaControls?: import("react").AriaAttributes["aria-controls"];
6
6
  closeable?: boolean;
7
7
  draggable?: boolean;
@@ -20,4 +20,4 @@ export interface TabMenuProps {
20
20
  */
21
21
  controlledComponentTitle?: string;
22
22
  }
23
- export declare const TabMenu: ({ allowClose, allowRename, controlledComponentId, controlledComponentTitle, location, onMenuAction, onMenuClose, index, }: TabMenuProps) => import("react/jsx-runtime").JSX.Element;
23
+ export declare const TabMenu: ({ allowClose, allowRename, controlledComponentId, controlledComponentTitle, location, onMenuAction, onMenuClose, index, }: TabMenuProps) => import("react").JSX.Element;
@@ -1,2 +1,3 @@
1
- import { TabstripProps } from "./TabsTypes";
2
- export declare const Tabstrip: ({ activeTabIndex: activeTabIndexProp, allowAddTab, allowCloseTab, allowDragDrop, allowRenameTab, animateSelectionThumb, children, className: classNameProp, id: idProp, keyBoardActivation, location, onActiveChange, onAddTab, onCloseTab, onExitEditMode, onMoveTab, orientation, showTabMenuButton, style: styleProp, tabClassName, variant, ...htmlAttributes }: TabstripProps) => import("react/jsx-runtime").JSX.Element;
1
+ import React from "react";
2
+ import type { TabstripProps } from "./TabsTypes";
3
+ export declare const Tabstrip: ({ activeTabIndex: activeTabIndexProp, allowAddTab, allowCloseTab, allowDragDrop, allowRenameTab, animateSelectionThumb, children, className: classNameProp, id: idProp, keyBoardActivation, location, onActiveChange, onAddTab, onCloseTab, onExitEditMode, onMoveTab, orientation, showTabMenuButton, style: styleProp, tabClassName, variant, ...htmlAttributes }: TabstripProps) => React.JSX.Element;
@@ -29,11 +29,11 @@ export declare const useTabstrip: ({ activeTabIndex: activeTabIndexProp, allowDr
29
29
  revealOverflowedItems?: boolean;
30
30
  activeTabIndex: number;
31
31
  containerProps: {
32
- onSwitchWrappedItemIntoView: (item: OverflowItem) => void;
33
32
  onBlur: import("react").FocusEventHandler;
34
33
  onFocus: import("react").FocusEventHandler;
35
34
  onMouseDownCapture: import("react").MouseEventHandler;
36
35
  onMouseLeave: import("react").MouseEventHandler;
36
+ onSwitchWrappedItemIntoView: (item: OverflowItem) => void;
37
37
  };
38
38
  containerStyle: import("react").CSSProperties;
39
39
  focusVisible: number;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { OverflowContainerProps } from "../overflow-container";
2
3
  import { SelectionStrategy, SpecialKeyMultipleSelection } from "../common-hooks";
3
4
  export type ActiveItemChangeHandler = (itemIndex: number[]) => void;
@@ -16,4 +17,4 @@ export interface ToolbarProps extends OverflowContainerProps {
16
17
  selectionStrategy?: SelectionStrategy | SpecialKeyMultipleSelection;
17
18
  showSeparators?: boolean;
18
19
  }
19
- export declare const Toolbar: ({ activeItemIndex: activeItemIndexProp, alignItems, defaultActiveItemIndex, children, className, id: idProp, onActiveChange, onNavigateOutOfBounds, orientation, selectionStrategy, showSeparators, ...props }: ToolbarProps) => import("react/jsx-runtime").JSX.Element;
20
+ export declare const Toolbar: ({ activeItemIndex: activeItemIndexProp, alignItems, defaultActiveItemIndex, children, className, id: idProp, onActiveChange, onNavigateOutOfBounds, orientation, selectionStrategy, showSeparators, ...props }: ToolbarProps) => React.JSX.Element;
@@ -10,7 +10,6 @@ export declare const useToolbar: ({ activeItemIndex: activeItemIndexProp, defaul
10
10
  focusableIdx: number;
11
11
  focusVisible: number;
12
12
  containerProps: {
13
- onSwitchWrappedItemIntoView: (item: OverflowItem) => void;
14
13
  onBlur: import("react").FocusEventHandler;
15
14
  onFocus: import("react").FocusEventHandler;
16
15
  onMouseDownCapture: import("react").MouseEventHandler;
@@ -19,6 +18,7 @@ export declare const useToolbar: ({ activeItemIndex: activeItemIndexProp, defaul
19
18
  onKeyDown: (evt: KeyboardEvent) => void;
20
19
  onMenuClose: import("@vuu-ui/vuu-popups").MenuCloseHandler | undefined;
21
20
  };
21
+ onSwitchWrappedItemIntoView: (item: OverflowItem) => void;
22
22
  };
23
23
  itemProps: {
24
24
  onClick: (evt: ReactMouseEvent<HTMLElement>) => void;
@@ -4,4 +4,4 @@ import { DatePickerProps } from "../date-picker";
4
4
  export declare const VuuDatePicker: ({ className, onSelectionChange, selectedDate: selectedDateProp, onCommit, preserveFocusOnSelect, ...props }: Omit<DatePickerProps<SingleSelectionValueType>, "defaultSelectedDate"> & {
5
5
  onCommit?: CommitHandler<HTMLElement, number>;
6
6
  preserveFocusOnSelect?: boolean;
7
- }) => import("react/jsx-runtime").JSX.Element;
7
+ }) => import("react").JSX.Element;
@@ -4,4 +4,4 @@ import { TimeInputProps } from "../time-input/TimeInput";
4
4
  export interface VuuTimePickerProps extends Pick<TimeInputProps, "defaultValue" | "onChange" | "value">, Omit<HTMLAttributes<HTMLDivElement>, "defaultValue" | "onChange" | "value"> {
5
5
  onCommit: CommitHandler<HTMLInputElement, TimeString>;
6
6
  }
7
- export declare const VuuTimePicker: ({ className, defaultValue, onChange, onCommit, value, ...htmlAttributes }: VuuTimePickerProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const VuuTimePicker: ({ className, defaultValue, onChange, onCommit, value, ...htmlAttributes }: VuuTimePickerProps) => import("react").JSX.Element;
@@ -3,4 +3,4 @@ import { VuuTypeaheadInputHookProps } from "./useVuuTypeaheadInput";
3
3
  export interface VuuTypeaheadInputProps extends VuuTypeaheadInputHookProps, Pick<ComboBoxProps, "selectOnTab"> {
4
4
  className?: string;
5
5
  }
6
- export declare const VuuTypeaheadInput: ({ allowFreeInput, className, column, freeTextWarning, highlightFirstSuggestion, inputProps: inputPropsProp, minCharacterCountToTriggerSuggestions, onCommit, selectOnTab, table, }: VuuTypeaheadInputProps) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const VuuTypeaheadInput: ({ allowFreeInput, className, column, freeTextWarning, highlightFirstSuggestion, inputProps: inputPropsProp, minCharacterCountToTriggerSuggestions, onCommit, selectOnTab, table, }: VuuTypeaheadInputProps) => import("react").JSX.Element;