@inf-monkeys-tech/monkeys-design 1.0.97 → 1.0.99

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.
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { b as DataExplorerActionBarProps, g as DataExplorerButtonProps, j as DataExplorerCheckboxProps, l as DataExplorerCollectionFooterProps, S as DataExplorerFilterBarProps, a3 as DataExplorerSelectProps, ad as DataExplorerToolbarActionsProps, r as DataExplorerDetailFieldProps, v as DataExplorerDetailSectionProps, x as DataExplorerDetailShellProps, B as DataExplorerDisplayActionMenuProps, F as DataExplorerDisplayCardProps, I as DataExplorerDisplayCollectionViewProps, L as DataExplorerDisplayListItemProps, P as DataExplorerDisplayMediaProps, V as DataExplorerImagePreviewProps, Y as DataExplorerPageProps, $ as DataExplorerRecordCardProps, af as DataExplorerToolbarShellProps, ai as DataExplorerTreeProps, al as DataExplorerTreeShellProps, aJ as DataExplorerViewTreeProps, as as DataExplorerViewId, ay as DataExplorerViewProps, aq as DataExplorerViewCollectionProps, au as DataExplorerViewItemProps, aw as DataExplorerViewItemShellProps, aB as DataExplorerViewShellProps, a0 as DataExplorerResolvedTheme, n as DataExplorerControlTone, c as DataExplorerAppearance } from './types-871f198ea40b.js';
2
+ import { b as DataExplorerActionBarProps, g as DataExplorerButtonProps, j as DataExplorerCheckboxProps, l as DataExplorerCollectionFooterProps, S as DataExplorerFilterBarProps, a6 as DataExplorerSelectProps, ag as DataExplorerToolbarActionsProps, r as DataExplorerDetailFieldProps, v as DataExplorerDetailSectionProps, x as DataExplorerDetailShellProps, B as DataExplorerDisplayActionMenuProps, F as DataExplorerDisplayCardProps, I as DataExplorerDisplayCollectionViewProps, L as DataExplorerDisplayListItemProps, P as DataExplorerDisplayMediaProps, V as DataExplorerImagePreviewProps, Y as DataExplorerPageProps, $ as DataExplorerRecordCardProps, a2 as DataExplorerRecordPickerProps, ai as DataExplorerToolbarShellProps, al as DataExplorerTreeProps, ao as DataExplorerTreeShellProps, aM as DataExplorerViewTreeProps, av as DataExplorerViewId, aB as DataExplorerViewProps, at as DataExplorerViewCollectionProps, ax as DataExplorerViewItemProps, az as DataExplorerViewItemShellProps, aE as DataExplorerViewShellProps, a3 as DataExplorerResolvedTheme, n as DataExplorerControlTone, c as DataExplorerAppearance } from './types-e36d6f4b3ca8.mjs';
3
3
  import * as React from 'react';
4
4
  declare function DataExplorerActionBar<TContext = unknown>({ context, actions, leading, trailing, children, empty, appearance, className, classNames, }: DataExplorerActionBarProps<TContext>): null | react_jsx_runtime.JSX.Element;
5
5
  declare const DataExplorerButton: React.ForwardRefExoticComponent<DataExplorerButtonProps & React.RefAttributes<HTMLButtonElement>>;
@@ -19,6 +19,7 @@ declare function DataExplorerDisplayMedia<TSource = unknown>({ media, fallbackTi
19
19
  declare function DataExplorerImagePreview({ src, alt, empty, actions, actionContext, toolbarActions, zoomStep, stagePadding, minScale, maxScale, controlsVisible, zoomLabelVisible, resetLabel, zoomInLabel, zoomOutLabel, appearance, className, classNames, onLoad, onError, }: DataExplorerImagePreviewProps): react_jsx_runtime.JSX.Element;
20
20
  declare function DataExplorerPage({ sidebar, tree, toolbar, controls, notices, content, view, detail, appearance, className, classNames, }: DataExplorerPageProps): react_jsx_runtime.JSX.Element;
21
21
  declare function DataExplorerRecordCard<TSource = unknown>({ item, selected, active, disabled, hasMedia, showHeaderWithMedia, selectionVisible, favoriteVisible, overlayControlsAlwaysVisible, favoriteActive, favoriteLabel, favoriteActiveLabel, selectLabel, unselectLabel, actions, media, footer, checkbox, favorite, keywordLimit, appearance, className, classNames, onClick, onToggleSelection, onToggleFavorite, }: DataExplorerRecordCardProps<TSource>): react_jsx_runtime.JSX.Element;
22
+ declare function DataExplorerRecordPicker({ value, activeValue, options, createOption, multiple, placeholder, triggerLabel, triggerIcon, searchPlaceholder, emptyState, loadingState, errorState, loading, disabled, open, defaultOpen, searchValue, defaultSearchValue, appearance, className, classNames, triggerProps, dataAttributes, onOpenChange, onListScroll, onSearchValueChange, onValueChange, }: DataExplorerRecordPickerProps): react_jsx_runtime.JSX.Element;
22
23
  declare function DataExplorerToolbarShell<TContext = unknown>({ context, leading, leadingActions, searchValue, searchPlaceholder, searchIcon, viewOptions, activeViewId, actions, toolbarActions, appearance, children, className, classNames, onSearchChange, onSearchSubmit, onViewChange, }: DataExplorerToolbarShellProps<TContext>): react_jsx_runtime.JSX.Element;
23
24
  declare function DataExplorerTree<TNode = unknown, TContext = unknown>({ nodes, context, capabilities, className, classNames, empty, selectedNodeId, getNodeId, getChildren, renderNode, onSelect, }: DataExplorerTreeProps<TNode, TContext>): null | react_jsx_runtime.JSX.Element;
24
25
  declare function DataExplorerTreeShell({ title, subtitle, toolbar, footer, children, className, classNames, }: DataExplorerTreeShellProps): react_jsx_runtime.JSX.Element;
@@ -31,4 +32,4 @@ declare function DataExplorerViewShell({ header, footer, overlay, empty, isEmpty
31
32
  declare function resolveDataExplorerAppearance(appearance?: DataExplorerAppearance): DataExplorerResolvedTheme;
32
33
  declare function getDataExplorerActionToneClassName(theme: DataExplorerResolvedTheme, tone: DataExplorerControlTone | undefined, active: boolean): string;
33
34
  declare function getDataExplorerMenuItemToneClassName(theme: DataExplorerResolvedTheme, tone: DataExplorerControlTone | undefined): string | undefined;
34
- export { getDataExplorerActionToneClassName as A, getDataExplorerMenuItemToneClassName as B, resolveDataExplorerAppearance as C, DataExplorerActionBar as D, DataExplorerButton as a, DataExplorerCheckbox as b, DataExplorerCollectionFooter as c, DataExplorerDetailField as d, DataExplorerDetailSection as e, DataExplorerDetailShell as f, DataExplorerDisplayActionMenu as g, DataExplorerDisplayCard as h, DataExplorerDisplayCollectionView as i, DataExplorerDisplayListItem as j, DataExplorerDisplayMedia as k, DataExplorerFilterBar as l, DataExplorerImagePreview as m, DataExplorerPage as n, DataExplorerRecordCard as o, DataExplorerSelect as p, DataExplorerToolbarActions as q, DataExplorerToolbarShell as r, DataExplorerTree as s, DataExplorerTreeShell as t, DataExplorerView as u, DataExplorerViewCollection as v, DataExplorerViewItem as w, DataExplorerViewItemShell as x, DataExplorerViewShell as y, DataExplorerViewTree as z };
35
+ export { DataExplorerViewTree as A, getDataExplorerActionToneClassName as B, getDataExplorerMenuItemToneClassName as C, DataExplorerActionBar as D, resolveDataExplorerAppearance as E, DataExplorerButton as a, DataExplorerCheckbox as b, DataExplorerCollectionFooter as c, DataExplorerDetailField as d, DataExplorerDetailSection as e, DataExplorerDetailShell as f, DataExplorerDisplayActionMenu as g, DataExplorerDisplayCard as h, DataExplorerDisplayCollectionView as i, DataExplorerDisplayListItem as j, DataExplorerDisplayMedia as k, DataExplorerFilterBar as l, DataExplorerImagePreview as m, DataExplorerPage as n, DataExplorerRecordCard as o, DataExplorerRecordPicker as p, DataExplorerSelect as q, DataExplorerToolbarActions as r, DataExplorerToolbarShell as s, DataExplorerTree as t, DataExplorerTreeShell as u, DataExplorerView as v, DataExplorerViewCollection as w, DataExplorerViewItem as x, DataExplorerViewItemShell as y, DataExplorerViewShell as z };
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { b as DataExplorerActionBarProps, g as DataExplorerButtonProps, j as DataExplorerCheckboxProps, l as DataExplorerCollectionFooterProps, S as DataExplorerFilterBarProps, a3 as DataExplorerSelectProps, ad as DataExplorerToolbarActionsProps, r as DataExplorerDetailFieldProps, v as DataExplorerDetailSectionProps, x as DataExplorerDetailShellProps, B as DataExplorerDisplayActionMenuProps, F as DataExplorerDisplayCardProps, I as DataExplorerDisplayCollectionViewProps, L as DataExplorerDisplayListItemProps, P as DataExplorerDisplayMediaProps, V as DataExplorerImagePreviewProps, Y as DataExplorerPageProps, $ as DataExplorerRecordCardProps, af as DataExplorerToolbarShellProps, ai as DataExplorerTreeProps, al as DataExplorerTreeShellProps, aJ as DataExplorerViewTreeProps, as as DataExplorerViewId, ay as DataExplorerViewProps, aq as DataExplorerViewCollectionProps, au as DataExplorerViewItemProps, aw as DataExplorerViewItemShellProps, aB as DataExplorerViewShellProps, a0 as DataExplorerResolvedTheme, n as DataExplorerControlTone, c as DataExplorerAppearance } from './types-871f198ea40b.mjs';
2
+ import { b as DataExplorerActionBarProps, g as DataExplorerButtonProps, j as DataExplorerCheckboxProps, l as DataExplorerCollectionFooterProps, S as DataExplorerFilterBarProps, a6 as DataExplorerSelectProps, ag as DataExplorerToolbarActionsProps, r as DataExplorerDetailFieldProps, v as DataExplorerDetailSectionProps, x as DataExplorerDetailShellProps, B as DataExplorerDisplayActionMenuProps, F as DataExplorerDisplayCardProps, I as DataExplorerDisplayCollectionViewProps, L as DataExplorerDisplayListItemProps, P as DataExplorerDisplayMediaProps, V as DataExplorerImagePreviewProps, Y as DataExplorerPageProps, $ as DataExplorerRecordCardProps, a2 as DataExplorerRecordPickerProps, ai as DataExplorerToolbarShellProps, al as DataExplorerTreeProps, ao as DataExplorerTreeShellProps, aM as DataExplorerViewTreeProps, av as DataExplorerViewId, aB as DataExplorerViewProps, at as DataExplorerViewCollectionProps, ax as DataExplorerViewItemProps, az as DataExplorerViewItemShellProps, aE as DataExplorerViewShellProps, a3 as DataExplorerResolvedTheme, n as DataExplorerControlTone, c as DataExplorerAppearance } from './types-e36d6f4b3ca8.js';
3
3
  import * as React from 'react';
4
4
  declare function DataExplorerActionBar<TContext = unknown>({ context, actions, leading, trailing, children, empty, appearance, className, classNames, }: DataExplorerActionBarProps<TContext>): null | react_jsx_runtime.JSX.Element;
5
5
  declare const DataExplorerButton: React.ForwardRefExoticComponent<DataExplorerButtonProps & React.RefAttributes<HTMLButtonElement>>;
@@ -19,6 +19,7 @@ declare function DataExplorerDisplayMedia<TSource = unknown>({ media, fallbackTi
19
19
  declare function DataExplorerImagePreview({ src, alt, empty, actions, actionContext, toolbarActions, zoomStep, stagePadding, minScale, maxScale, controlsVisible, zoomLabelVisible, resetLabel, zoomInLabel, zoomOutLabel, appearance, className, classNames, onLoad, onError, }: DataExplorerImagePreviewProps): react_jsx_runtime.JSX.Element;
20
20
  declare function DataExplorerPage({ sidebar, tree, toolbar, controls, notices, content, view, detail, appearance, className, classNames, }: DataExplorerPageProps): react_jsx_runtime.JSX.Element;
21
21
  declare function DataExplorerRecordCard<TSource = unknown>({ item, selected, active, disabled, hasMedia, showHeaderWithMedia, selectionVisible, favoriteVisible, overlayControlsAlwaysVisible, favoriteActive, favoriteLabel, favoriteActiveLabel, selectLabel, unselectLabel, actions, media, footer, checkbox, favorite, keywordLimit, appearance, className, classNames, onClick, onToggleSelection, onToggleFavorite, }: DataExplorerRecordCardProps<TSource>): react_jsx_runtime.JSX.Element;
22
+ declare function DataExplorerRecordPicker({ value, activeValue, options, createOption, multiple, placeholder, triggerLabel, triggerIcon, searchPlaceholder, emptyState, loadingState, errorState, loading, disabled, open, defaultOpen, searchValue, defaultSearchValue, appearance, className, classNames, triggerProps, dataAttributes, onOpenChange, onListScroll, onSearchValueChange, onValueChange, }: DataExplorerRecordPickerProps): react_jsx_runtime.JSX.Element;
22
23
  declare function DataExplorerToolbarShell<TContext = unknown>({ context, leading, leadingActions, searchValue, searchPlaceholder, searchIcon, viewOptions, activeViewId, actions, toolbarActions, appearance, children, className, classNames, onSearchChange, onSearchSubmit, onViewChange, }: DataExplorerToolbarShellProps<TContext>): react_jsx_runtime.JSX.Element;
23
24
  declare function DataExplorerTree<TNode = unknown, TContext = unknown>({ nodes, context, capabilities, className, classNames, empty, selectedNodeId, getNodeId, getChildren, renderNode, onSelect, }: DataExplorerTreeProps<TNode, TContext>): null | react_jsx_runtime.JSX.Element;
24
25
  declare function DataExplorerTreeShell({ title, subtitle, toolbar, footer, children, className, classNames, }: DataExplorerTreeShellProps): react_jsx_runtime.JSX.Element;
@@ -31,4 +32,4 @@ declare function DataExplorerViewShell({ header, footer, overlay, empty, isEmpty
31
32
  declare function resolveDataExplorerAppearance(appearance?: DataExplorerAppearance): DataExplorerResolvedTheme;
32
33
  declare function getDataExplorerActionToneClassName(theme: DataExplorerResolvedTheme, tone: DataExplorerControlTone | undefined, active: boolean): string;
33
34
  declare function getDataExplorerMenuItemToneClassName(theme: DataExplorerResolvedTheme, tone: DataExplorerControlTone | undefined): string | undefined;
34
- export { getDataExplorerActionToneClassName as A, getDataExplorerMenuItemToneClassName as B, resolveDataExplorerAppearance as C, DataExplorerActionBar as D, DataExplorerButton as a, DataExplorerCheckbox as b, DataExplorerCollectionFooter as c, DataExplorerDetailField as d, DataExplorerDetailSection as e, DataExplorerDetailShell as f, DataExplorerDisplayActionMenu as g, DataExplorerDisplayCard as h, DataExplorerDisplayCollectionView as i, DataExplorerDisplayListItem as j, DataExplorerDisplayMedia as k, DataExplorerFilterBar as l, DataExplorerImagePreview as m, DataExplorerPage as n, DataExplorerRecordCard as o, DataExplorerSelect as p, DataExplorerToolbarActions as q, DataExplorerToolbarShell as r, DataExplorerTree as s, DataExplorerTreeShell as t, DataExplorerView as u, DataExplorerViewCollection as v, DataExplorerViewItem as w, DataExplorerViewItemShell as x, DataExplorerViewShell as y, DataExplorerViewTree as z };
35
+ export { DataExplorerViewTree as A, getDataExplorerActionToneClassName as B, getDataExplorerMenuItemToneClassName as C, DataExplorerActionBar as D, resolveDataExplorerAppearance as E, DataExplorerButton as a, DataExplorerCheckbox as b, DataExplorerCollectionFooter as c, DataExplorerDetailField as d, DataExplorerDetailSection as e, DataExplorerDetailShell as f, DataExplorerDisplayActionMenu as g, DataExplorerDisplayCard as h, DataExplorerDisplayCollectionView as i, DataExplorerDisplayListItem as j, DataExplorerDisplayMedia as k, DataExplorerFilterBar as l, DataExplorerImagePreview as m, DataExplorerPage as n, DataExplorerRecordCard as o, DataExplorerRecordPicker as p, DataExplorerSelect as q, DataExplorerToolbarActions as r, DataExplorerToolbarShell as s, DataExplorerTree as t, DataExplorerTreeShell as u, DataExplorerView as v, DataExplorerViewCollection as w, DataExplorerViewItem as x, DataExplorerViewItemShell as y, DataExplorerViewShell as z };
@@ -1,4 +1,4 @@
1
- import { ReactNode, CSSProperties, ButtonHTMLAttributes, MouseEventHandler, KeyboardEventHandler, HTMLAttributes, ReactEventHandler } from 'react';
1
+ import { ReactNode, CSSProperties, ButtonHTMLAttributes, MouseEventHandler, KeyboardEventHandler, HTMLAttributes, ReactEventHandler, UIEvent } from 'react';
2
2
  type DataExplorerResolver<TValue, TContext = unknown> = ((context: TContext) => TValue) | TValue;
3
3
  interface DataExplorerCapabilities {
4
4
  canRead?: boolean;
@@ -1158,6 +1158,69 @@ interface DataExplorerRecordCardProps<TSource = unknown> {
1158
1158
  onToggleSelection?: (item: DataExplorerDisplayItem<TSource>) => void;
1159
1159
  onToggleFavorite?: (item: DataExplorerDisplayItem<TSource>) => void;
1160
1160
  }
1161
+ interface DataExplorerRecordPickerOption {
1162
+ value: string;
1163
+ label: ReactNode;
1164
+ description?: ReactNode;
1165
+ textValue?: string;
1166
+ disabled?: boolean;
1167
+ }
1168
+ interface DataExplorerRecordPickerClassNames {
1169
+ root?: string;
1170
+ trigger?: string;
1171
+ triggerValue?: string;
1172
+ content?: string;
1173
+ search?: string;
1174
+ list?: string;
1175
+ option?: string;
1176
+ optionIndicator?: string;
1177
+ optionLabel?: string;
1178
+ optionDescription?: string;
1179
+ selectedList?: string;
1180
+ selectedItem?: string;
1181
+ selectedItemLabel?: string;
1182
+ selectedItemRemove?: string;
1183
+ status?: string;
1184
+ }
1185
+ interface DataExplorerRecordPickerProps {
1186
+ value?: string | string[];
1187
+ activeValue?: string;
1188
+ options?: DataExplorerRecordPickerOption[];
1189
+ createOption?: DataExplorerRecordPickerOption;
1190
+ multiple?: boolean;
1191
+ placeholder?: ReactNode;
1192
+ triggerLabel?: string;
1193
+ triggerIcon?: ReactNode;
1194
+ searchPlaceholder?: string;
1195
+ emptyState?: ReactNode;
1196
+ loadingState?: ReactNode;
1197
+ errorState?: ReactNode;
1198
+ loading?: boolean;
1199
+ disabled?: boolean;
1200
+ open?: boolean;
1201
+ defaultOpen?: boolean;
1202
+ searchValue?: string;
1203
+ defaultSearchValue?: string;
1204
+ appearance?: DataExplorerAppearance;
1205
+ className?: string;
1206
+ classNames?: DataExplorerRecordPickerClassNames;
1207
+ triggerProps?: Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'className' | 'disabled' | 'type'>;
1208
+ dataAttributes?: {
1209
+ root?: Record<string, string | undefined>;
1210
+ trigger?: Record<string, string | undefined>;
1211
+ triggerValue?: Record<string, string | undefined>;
1212
+ content?: Record<string, string | undefined>;
1213
+ list?: Record<string, string | undefined>;
1214
+ option?: Record<string, string | undefined>;
1215
+ loading?: Record<string, string | undefined>;
1216
+ error?: Record<string, string | undefined>;
1217
+ empty?: Record<string, string | undefined>;
1218
+ };
1219
+ onOpenChange?: (open: boolean) => void;
1220
+ onListScroll?: (event: UIEvent<HTMLDivElement>) => void;
1221
+ onSearchValueChange?: (value: string) => void;
1222
+ onValueChange?: (value: string | string[]) => void;
1223
+ }
1161
1224
  interface DataExplorerCollectionFooterClassNames {
1162
1225
  root?: string;
1163
1226
  summary?: string;
@@ -1276,4 +1339,4 @@ interface DataExplorerDisplayCollectionItemContext<TSource = unknown> {
1276
1339
  layout: DataExplorerViewCollectionLayout;
1277
1340
  }
1278
1341
  type DataExplorerDisplayCollectionItemPropsResolver<TProps, TSource = unknown> = ((context: DataExplorerDisplayCollectionItemContext<TSource>) => Partial<TProps> | undefined) | Partial<TProps>;
1279
- export type { DataExplorerRecordCardProps as $, DataExplorerDisplayActionMenuClassNames as A, DataExplorerDisplayActionMenuProps as B, DataExplorerDisplayBadge as C, DataExplorerAction as D, DataExplorerDisplayCardClassNames as E, DataExplorerDisplayCardProps as F, DataExplorerDisplayCollectionItemContext as G, DataExplorerDisplayCollectionItemPropsResolver as H, DataExplorerDisplayCollectionViewProps as I, DataExplorerDisplayItem as J, DataExplorerDisplayListItemClassNames as K, DataExplorerDisplayListItemProps as L, DataExplorerDisplayMediaClassNames as M, DataExplorerDisplayMediaItem as N, DataExplorerDisplayMediaKind as O, DataExplorerDisplayMediaProps as P, DataExplorerDisplayMetadata as Q, DataExplorerFilterBarClassNames as R, DataExplorerFilterBarProps as S, DataExplorerImagePreviewClassNames as T, DataExplorerImagePreviewNaturalSize as U, DataExplorerImagePreviewProps as V, DataExplorerMeasuredGridOptions as W, DataExplorerPageClassNames as X, DataExplorerPageProps as Y, DataExplorerRadius as Z, DataExplorerRecordCardClassNames as _, DataExplorerActionBarClassNames as a, DataExplorerResolvedTheme as a0, DataExplorerResolver as a1, DataExplorerSelectClassNames as a2, DataExplorerSelectProps as a3, DataExplorerThemePresetId as a4, DataExplorerThemeSlots as a5, DataExplorerThemeStyles as a6, DataExplorerToolbarAction as a7, DataExplorerToolbarActionItem as a8, DataExplorerToolbarActionKind as a9, DataExplorerViewShellClassNames as aA, DataExplorerViewShellProps as aB, DataExplorerViewTreeAction as aC, DataExplorerViewTreeActionContext as aD, DataExplorerViewTreeClassNames as aE, DataExplorerViewTreeEntryType as aF, DataExplorerViewTreeGroup as aG, DataExplorerViewTreeLabels as aH, DataExplorerViewTreeNode as aI, DataExplorerViewTreeProps as aJ, DataExplorerViewTreeReorderPayload as aK, DataExplorerSplitButtonProps as aL, DataExplorerDraggableTreeProps as aM, DataExplorerDraggableTreeClassNames as aN, DataExplorerDraggableTreeDragPayload as aO, DataExplorerDraggableTreeFlattenedNode as aP, DataExplorerDraggableTreeLabels as aQ, DataExplorerDraggableTreeNode as aR, DataExplorerDraggableTreeRenderContext as aS, DataExplorerSplitButtonClassNames as aT, DataExplorerSplitButtonItem as aU, DataExplorerToolbarActionOption as aa, DataExplorerToolbarActionsClassNames as ab, DataExplorerToolbarActionsLayout as ac, DataExplorerToolbarActionsProps as ad, DataExplorerToolbarShellClassNames as ae, DataExplorerToolbarShellProps as af, DataExplorerToolbarViewOption as ag, DataExplorerTreeClassNames as ah, DataExplorerTreeProps as ai, DataExplorerTreeRenderProps as aj, DataExplorerTreeShellClassNames as ak, DataExplorerTreeShellProps as al, DataExplorerViewClassNames as am, DataExplorerViewCollectionClassNames as an, DataExplorerViewCollectionLayout as ao, DataExplorerViewCollectionOptions as ap, DataExplorerViewCollectionProps as aq, DataExplorerViewDefinition as ar, DataExplorerViewId as as, DataExplorerViewItemDefinition as at, DataExplorerViewItemProps as au, DataExplorerViewItemShellClassNames as av, DataExplorerViewItemShellProps as aw, DataExplorerViewOption as ax, DataExplorerViewProps as ay, DataExplorerViewRenderProps as az, DataExplorerActionBarProps as b, DataExplorerAppearance as c, DataExplorerBackground as d, DataExplorerBorder as e, DataExplorerButtonClassNames as f, DataExplorerButtonProps as g, DataExplorerCapabilities as h, DataExplorerCheckboxClassNames as i, DataExplorerCheckboxProps as j, DataExplorerCollectionFooterClassNames as k, DataExplorerCollectionFooterProps as l, DataExplorerControlOption as m, DataExplorerControlTone as n, DataExplorerDensity as o, DataExplorerDetailFieldClassNames as p, DataExplorerDetailFieldDefinition as q, DataExplorerDetailFieldProps as r, DataExplorerDetailNavigation as s, DataExplorerDetailSectionClassNames as t, DataExplorerDetailSectionDefinition as u, DataExplorerDetailSectionProps as v, DataExplorerDetailShellClassNames as w, DataExplorerDetailShellProps as x, DataExplorerDisplayAction as y, DataExplorerDisplayActionContext as z };
1342
+ export type { DataExplorerRecordCardProps as $, DataExplorerDisplayActionMenuClassNames as A, DataExplorerDisplayActionMenuProps as B, DataExplorerDisplayBadge as C, DataExplorerAction as D, DataExplorerDisplayCardClassNames as E, DataExplorerDisplayCardProps as F, DataExplorerDisplayCollectionItemContext as G, DataExplorerDisplayCollectionItemPropsResolver as H, DataExplorerDisplayCollectionViewProps as I, DataExplorerDisplayItem as J, DataExplorerDisplayListItemClassNames as K, DataExplorerDisplayListItemProps as L, DataExplorerDisplayMediaClassNames as M, DataExplorerDisplayMediaItem as N, DataExplorerDisplayMediaKind as O, DataExplorerDisplayMediaProps as P, DataExplorerDisplayMetadata as Q, DataExplorerFilterBarClassNames as R, DataExplorerFilterBarProps as S, DataExplorerImagePreviewClassNames as T, DataExplorerImagePreviewNaturalSize as U, DataExplorerImagePreviewProps as V, DataExplorerMeasuredGridOptions as W, DataExplorerPageClassNames as X, DataExplorerPageProps as Y, DataExplorerRadius as Z, DataExplorerRecordCardClassNames as _, DataExplorerActionBarClassNames as a, DataExplorerRecordPickerClassNames as a0, DataExplorerRecordPickerOption as a1, DataExplorerRecordPickerProps as a2, DataExplorerResolvedTheme as a3, DataExplorerResolver as a4, DataExplorerSelectClassNames as a5, DataExplorerSelectProps as a6, DataExplorerThemePresetId as a7, DataExplorerThemeSlots as a8, DataExplorerThemeStyles as a9, DataExplorerViewOption as aA, DataExplorerViewProps as aB, DataExplorerViewRenderProps as aC, DataExplorerViewShellClassNames as aD, DataExplorerViewShellProps as aE, DataExplorerViewTreeAction as aF, DataExplorerViewTreeActionContext as aG, DataExplorerViewTreeClassNames as aH, DataExplorerViewTreeEntryType as aI, DataExplorerViewTreeGroup as aJ, DataExplorerViewTreeLabels as aK, DataExplorerViewTreeNode as aL, DataExplorerViewTreeProps as aM, DataExplorerViewTreeReorderPayload as aN, DataExplorerSplitButtonProps as aO, DataExplorerDraggableTreeProps as aP, DataExplorerDraggableTreeClassNames as aQ, DataExplorerDraggableTreeDragPayload as aR, DataExplorerDraggableTreeFlattenedNode as aS, DataExplorerDraggableTreeLabels as aT, DataExplorerDraggableTreeNode as aU, DataExplorerDraggableTreeRenderContext as aV, DataExplorerSplitButtonClassNames as aW, DataExplorerSplitButtonItem as aX, DataExplorerToolbarAction as aa, DataExplorerToolbarActionItem as ab, DataExplorerToolbarActionKind as ac, DataExplorerToolbarActionOption as ad, DataExplorerToolbarActionsClassNames as ae, DataExplorerToolbarActionsLayout as af, DataExplorerToolbarActionsProps as ag, DataExplorerToolbarShellClassNames as ah, DataExplorerToolbarShellProps as ai, DataExplorerToolbarViewOption as aj, DataExplorerTreeClassNames as ak, DataExplorerTreeProps as al, DataExplorerTreeRenderProps as am, DataExplorerTreeShellClassNames as an, DataExplorerTreeShellProps as ao, DataExplorerViewClassNames as ap, DataExplorerViewCollectionClassNames as aq, DataExplorerViewCollectionLayout as ar, DataExplorerViewCollectionOptions as as, DataExplorerViewCollectionProps as at, DataExplorerViewDefinition as au, DataExplorerViewId as av, DataExplorerViewItemDefinition as aw, DataExplorerViewItemProps as ax, DataExplorerViewItemShellClassNames as ay, DataExplorerViewItemShellProps as az, DataExplorerActionBarProps as b, DataExplorerAppearance as c, DataExplorerBackground as d, DataExplorerBorder as e, DataExplorerButtonClassNames as f, DataExplorerButtonProps as g, DataExplorerCapabilities as h, DataExplorerCheckboxClassNames as i, DataExplorerCheckboxProps as j, DataExplorerCollectionFooterClassNames as k, DataExplorerCollectionFooterProps as l, DataExplorerControlOption as m, DataExplorerControlTone as n, DataExplorerDensity as o, DataExplorerDetailFieldClassNames as p, DataExplorerDetailFieldDefinition as q, DataExplorerDetailFieldProps as r, DataExplorerDetailNavigation as s, DataExplorerDetailSectionClassNames as t, DataExplorerDetailSectionDefinition as u, DataExplorerDetailSectionProps as v, DataExplorerDetailShellClassNames as w, DataExplorerDetailShellProps as x, DataExplorerDisplayAction as y, DataExplorerDisplayActionContext as z };
@@ -1,4 +1,4 @@
1
- import { ReactNode, CSSProperties, ButtonHTMLAttributes, MouseEventHandler, KeyboardEventHandler, HTMLAttributes, ReactEventHandler } from 'react';
1
+ import { ReactNode, CSSProperties, ButtonHTMLAttributes, MouseEventHandler, KeyboardEventHandler, HTMLAttributes, ReactEventHandler, UIEvent } from 'react';
2
2
  type DataExplorerResolver<TValue, TContext = unknown> = ((context: TContext) => TValue) | TValue;
3
3
  interface DataExplorerCapabilities {
4
4
  canRead?: boolean;
@@ -1158,6 +1158,69 @@ interface DataExplorerRecordCardProps<TSource = unknown> {
1158
1158
  onToggleSelection?: (item: DataExplorerDisplayItem<TSource>) => void;
1159
1159
  onToggleFavorite?: (item: DataExplorerDisplayItem<TSource>) => void;
1160
1160
  }
1161
+ interface DataExplorerRecordPickerOption {
1162
+ value: string;
1163
+ label: ReactNode;
1164
+ description?: ReactNode;
1165
+ textValue?: string;
1166
+ disabled?: boolean;
1167
+ }
1168
+ interface DataExplorerRecordPickerClassNames {
1169
+ root?: string;
1170
+ trigger?: string;
1171
+ triggerValue?: string;
1172
+ content?: string;
1173
+ search?: string;
1174
+ list?: string;
1175
+ option?: string;
1176
+ optionIndicator?: string;
1177
+ optionLabel?: string;
1178
+ optionDescription?: string;
1179
+ selectedList?: string;
1180
+ selectedItem?: string;
1181
+ selectedItemLabel?: string;
1182
+ selectedItemRemove?: string;
1183
+ status?: string;
1184
+ }
1185
+ interface DataExplorerRecordPickerProps {
1186
+ value?: string | string[];
1187
+ activeValue?: string;
1188
+ options?: DataExplorerRecordPickerOption[];
1189
+ createOption?: DataExplorerRecordPickerOption;
1190
+ multiple?: boolean;
1191
+ placeholder?: ReactNode;
1192
+ triggerLabel?: string;
1193
+ triggerIcon?: ReactNode;
1194
+ searchPlaceholder?: string;
1195
+ emptyState?: ReactNode;
1196
+ loadingState?: ReactNode;
1197
+ errorState?: ReactNode;
1198
+ loading?: boolean;
1199
+ disabled?: boolean;
1200
+ open?: boolean;
1201
+ defaultOpen?: boolean;
1202
+ searchValue?: string;
1203
+ defaultSearchValue?: string;
1204
+ appearance?: DataExplorerAppearance;
1205
+ className?: string;
1206
+ classNames?: DataExplorerRecordPickerClassNames;
1207
+ triggerProps?: Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'className' | 'disabled' | 'type'>;
1208
+ dataAttributes?: {
1209
+ root?: Record<string, string | undefined>;
1210
+ trigger?: Record<string, string | undefined>;
1211
+ triggerValue?: Record<string, string | undefined>;
1212
+ content?: Record<string, string | undefined>;
1213
+ list?: Record<string, string | undefined>;
1214
+ option?: Record<string, string | undefined>;
1215
+ loading?: Record<string, string | undefined>;
1216
+ error?: Record<string, string | undefined>;
1217
+ empty?: Record<string, string | undefined>;
1218
+ };
1219
+ onOpenChange?: (open: boolean) => void;
1220
+ onListScroll?: (event: UIEvent<HTMLDivElement>) => void;
1221
+ onSearchValueChange?: (value: string) => void;
1222
+ onValueChange?: (value: string | string[]) => void;
1223
+ }
1161
1224
  interface DataExplorerCollectionFooterClassNames {
1162
1225
  root?: string;
1163
1226
  summary?: string;
@@ -1276,4 +1339,4 @@ interface DataExplorerDisplayCollectionItemContext<TSource = unknown> {
1276
1339
  layout: DataExplorerViewCollectionLayout;
1277
1340
  }
1278
1341
  type DataExplorerDisplayCollectionItemPropsResolver<TProps, TSource = unknown> = ((context: DataExplorerDisplayCollectionItemContext<TSource>) => Partial<TProps> | undefined) | Partial<TProps>;
1279
- export type { DataExplorerRecordCardProps as $, DataExplorerDisplayActionMenuClassNames as A, DataExplorerDisplayActionMenuProps as B, DataExplorerDisplayBadge as C, DataExplorerAction as D, DataExplorerDisplayCardClassNames as E, DataExplorerDisplayCardProps as F, DataExplorerDisplayCollectionItemContext as G, DataExplorerDisplayCollectionItemPropsResolver as H, DataExplorerDisplayCollectionViewProps as I, DataExplorerDisplayItem as J, DataExplorerDisplayListItemClassNames as K, DataExplorerDisplayListItemProps as L, DataExplorerDisplayMediaClassNames as M, DataExplorerDisplayMediaItem as N, DataExplorerDisplayMediaKind as O, DataExplorerDisplayMediaProps as P, DataExplorerDisplayMetadata as Q, DataExplorerFilterBarClassNames as R, DataExplorerFilterBarProps as S, DataExplorerImagePreviewClassNames as T, DataExplorerImagePreviewNaturalSize as U, DataExplorerImagePreviewProps as V, DataExplorerMeasuredGridOptions as W, DataExplorerPageClassNames as X, DataExplorerPageProps as Y, DataExplorerRadius as Z, DataExplorerRecordCardClassNames as _, DataExplorerActionBarClassNames as a, DataExplorerResolvedTheme as a0, DataExplorerResolver as a1, DataExplorerSelectClassNames as a2, DataExplorerSelectProps as a3, DataExplorerThemePresetId as a4, DataExplorerThemeSlots as a5, DataExplorerThemeStyles as a6, DataExplorerToolbarAction as a7, DataExplorerToolbarActionItem as a8, DataExplorerToolbarActionKind as a9, DataExplorerViewShellClassNames as aA, DataExplorerViewShellProps as aB, DataExplorerViewTreeAction as aC, DataExplorerViewTreeActionContext as aD, DataExplorerViewTreeClassNames as aE, DataExplorerViewTreeEntryType as aF, DataExplorerViewTreeGroup as aG, DataExplorerViewTreeLabels as aH, DataExplorerViewTreeNode as aI, DataExplorerViewTreeProps as aJ, DataExplorerViewTreeReorderPayload as aK, DataExplorerSplitButtonProps as aL, DataExplorerDraggableTreeProps as aM, DataExplorerDraggableTreeClassNames as aN, DataExplorerDraggableTreeDragPayload as aO, DataExplorerDraggableTreeFlattenedNode as aP, DataExplorerDraggableTreeLabels as aQ, DataExplorerDraggableTreeNode as aR, DataExplorerDraggableTreeRenderContext as aS, DataExplorerSplitButtonClassNames as aT, DataExplorerSplitButtonItem as aU, DataExplorerToolbarActionOption as aa, DataExplorerToolbarActionsClassNames as ab, DataExplorerToolbarActionsLayout as ac, DataExplorerToolbarActionsProps as ad, DataExplorerToolbarShellClassNames as ae, DataExplorerToolbarShellProps as af, DataExplorerToolbarViewOption as ag, DataExplorerTreeClassNames as ah, DataExplorerTreeProps as ai, DataExplorerTreeRenderProps as aj, DataExplorerTreeShellClassNames as ak, DataExplorerTreeShellProps as al, DataExplorerViewClassNames as am, DataExplorerViewCollectionClassNames as an, DataExplorerViewCollectionLayout as ao, DataExplorerViewCollectionOptions as ap, DataExplorerViewCollectionProps as aq, DataExplorerViewDefinition as ar, DataExplorerViewId as as, DataExplorerViewItemDefinition as at, DataExplorerViewItemProps as au, DataExplorerViewItemShellClassNames as av, DataExplorerViewItemShellProps as aw, DataExplorerViewOption as ax, DataExplorerViewProps as ay, DataExplorerViewRenderProps as az, DataExplorerActionBarProps as b, DataExplorerAppearance as c, DataExplorerBackground as d, DataExplorerBorder as e, DataExplorerButtonClassNames as f, DataExplorerButtonProps as g, DataExplorerCapabilities as h, DataExplorerCheckboxClassNames as i, DataExplorerCheckboxProps as j, DataExplorerCollectionFooterClassNames as k, DataExplorerCollectionFooterProps as l, DataExplorerControlOption as m, DataExplorerControlTone as n, DataExplorerDensity as o, DataExplorerDetailFieldClassNames as p, DataExplorerDetailFieldDefinition as q, DataExplorerDetailFieldProps as r, DataExplorerDetailNavigation as s, DataExplorerDetailSectionClassNames as t, DataExplorerDetailSectionDefinition as u, DataExplorerDetailSectionProps as v, DataExplorerDetailShellClassNames as w, DataExplorerDetailShellProps as x, DataExplorerDisplayAction as y, DataExplorerDisplayActionContext as z };
1342
+ export type { DataExplorerRecordCardProps as $, DataExplorerDisplayActionMenuClassNames as A, DataExplorerDisplayActionMenuProps as B, DataExplorerDisplayBadge as C, DataExplorerAction as D, DataExplorerDisplayCardClassNames as E, DataExplorerDisplayCardProps as F, DataExplorerDisplayCollectionItemContext as G, DataExplorerDisplayCollectionItemPropsResolver as H, DataExplorerDisplayCollectionViewProps as I, DataExplorerDisplayItem as J, DataExplorerDisplayListItemClassNames as K, DataExplorerDisplayListItemProps as L, DataExplorerDisplayMediaClassNames as M, DataExplorerDisplayMediaItem as N, DataExplorerDisplayMediaKind as O, DataExplorerDisplayMediaProps as P, DataExplorerDisplayMetadata as Q, DataExplorerFilterBarClassNames as R, DataExplorerFilterBarProps as S, DataExplorerImagePreviewClassNames as T, DataExplorerImagePreviewNaturalSize as U, DataExplorerImagePreviewProps as V, DataExplorerMeasuredGridOptions as W, DataExplorerPageClassNames as X, DataExplorerPageProps as Y, DataExplorerRadius as Z, DataExplorerRecordCardClassNames as _, DataExplorerActionBarClassNames as a, DataExplorerRecordPickerClassNames as a0, DataExplorerRecordPickerOption as a1, DataExplorerRecordPickerProps as a2, DataExplorerResolvedTheme as a3, DataExplorerResolver as a4, DataExplorerSelectClassNames as a5, DataExplorerSelectProps as a6, DataExplorerThemePresetId as a7, DataExplorerThemeSlots as a8, DataExplorerThemeStyles as a9, DataExplorerViewOption as aA, DataExplorerViewProps as aB, DataExplorerViewRenderProps as aC, DataExplorerViewShellClassNames as aD, DataExplorerViewShellProps as aE, DataExplorerViewTreeAction as aF, DataExplorerViewTreeActionContext as aG, DataExplorerViewTreeClassNames as aH, DataExplorerViewTreeEntryType as aI, DataExplorerViewTreeGroup as aJ, DataExplorerViewTreeLabels as aK, DataExplorerViewTreeNode as aL, DataExplorerViewTreeProps as aM, DataExplorerViewTreeReorderPayload as aN, DataExplorerSplitButtonProps as aO, DataExplorerDraggableTreeProps as aP, DataExplorerDraggableTreeClassNames as aQ, DataExplorerDraggableTreeDragPayload as aR, DataExplorerDraggableTreeFlattenedNode as aS, DataExplorerDraggableTreeLabels as aT, DataExplorerDraggableTreeNode as aU, DataExplorerDraggableTreeRenderContext as aV, DataExplorerSplitButtonClassNames as aW, DataExplorerSplitButtonItem as aX, DataExplorerToolbarAction as aa, DataExplorerToolbarActionItem as ab, DataExplorerToolbarActionKind as ac, DataExplorerToolbarActionOption as ad, DataExplorerToolbarActionsClassNames as ae, DataExplorerToolbarActionsLayout as af, DataExplorerToolbarActionsProps as ag, DataExplorerToolbarShellClassNames as ah, DataExplorerToolbarShellProps as ai, DataExplorerToolbarViewOption as aj, DataExplorerTreeClassNames as ak, DataExplorerTreeProps as al, DataExplorerTreeRenderProps as am, DataExplorerTreeShellClassNames as an, DataExplorerTreeShellProps as ao, DataExplorerViewClassNames as ap, DataExplorerViewCollectionClassNames as aq, DataExplorerViewCollectionLayout as ar, DataExplorerViewCollectionOptions as as, DataExplorerViewCollectionProps as at, DataExplorerViewDefinition as au, DataExplorerViewId as av, DataExplorerViewItemDefinition as aw, DataExplorerViewItemProps as ax, DataExplorerViewItemShellClassNames as ay, DataExplorerViewItemShellProps as az, DataExplorerActionBarProps as b, DataExplorerAppearance as c, DataExplorerBackground as d, DataExplorerBorder as e, DataExplorerButtonClassNames as f, DataExplorerButtonProps as g, DataExplorerCapabilities as h, DataExplorerCheckboxClassNames as i, DataExplorerCheckboxProps as j, DataExplorerCollectionFooterClassNames as k, DataExplorerCollectionFooterProps as l, DataExplorerControlOption as m, DataExplorerControlTone as n, DataExplorerDensity as o, DataExplorerDetailFieldClassNames as p, DataExplorerDetailFieldDefinition as q, DataExplorerDetailFieldProps as r, DataExplorerDetailNavigation as s, DataExplorerDetailSectionClassNames as t, DataExplorerDetailSectionDefinition as u, DataExplorerDetailSectionProps as v, DataExplorerDetailShellClassNames as w, DataExplorerDetailShellProps as x, DataExplorerDisplayAction as y, DataExplorerDisplayActionContext as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inf-monkeys-tech/monkeys-design",
3
- "version": "1.0.97",
3
+ "version": "1.0.99",
4
4
  "description": "Monkeys Design Components Library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",