@inf-monkeys-tech/monkeys-design 1.0.100 → 1.0.101

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,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
3
  import { c as BaseAppearance } from '../types-c6ec8b90925b.mjs';
4
- import { c as DataExplorerAppearance } from '../types-cc1ff9de4c79.mjs';
4
+ import { c as DataExplorerAppearance } from '../types-b89faf386a96.mjs';
5
5
  import { o as MonkeysResolvedLocale, i as MonkeysLocaleMessages, h as MonkeysLocaleInput, j as MonkeysLocaleMessagesOverride } from '../types-89825c97f499.mjs';
6
6
  export { a as MonkeysBuiltInLocaleId } from '../types-89825c97f499.mjs';
7
7
  import { CompiledThemeTokens, MonkeysThemeColorMode, MonkeysThemeDensity } from '../theme-system/index.mjs';
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
3
  import { c as BaseAppearance } from '../types-c6ec8b90925b.js';
4
- import { c as DataExplorerAppearance } from '../types-cc1ff9de4c79.js';
4
+ import { c as DataExplorerAppearance } from '../types-b89faf386a96.js';
5
5
  import { o as MonkeysResolvedLocale, i as MonkeysLocaleMessages, h as MonkeysLocaleInput, j as MonkeysLocaleMessagesOverride } from '../types-89825c97f499.js';
6
6
  export { a as MonkeysBuiltInLocaleId } from '../types-89825c97f499.js';
7
7
  import { CompiledThemeTokens, MonkeysThemeColorMode, MonkeysThemeDensity } from '../theme-system/index.js';
@@ -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, a9 as DataExplorerSelectProps, aj 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, Z as DataExplorerMediaPreviewProps, $ as DataExplorerPageProps, a2 as DataExplorerRecordCardProps, a5 as DataExplorerRecordPickerProps, at as DataExplorerUploadSurfaceProps, al as DataExplorerToolbarShellProps, ao as DataExplorerTreeProps, ar as DataExplorerTreeShellProps, aR as DataExplorerViewTreeProps, aA as DataExplorerViewId, aG as DataExplorerViewProps, ay as DataExplorerViewCollectionProps, aC as DataExplorerViewItemProps, aE as DataExplorerViewItemShellProps, aJ as DataExplorerViewShellProps, a6 as DataExplorerResolvedTheme, n as DataExplorerControlTone, c as DataExplorerAppearance } from './types-cc1ff9de4c79.js';
2
+ import { b as DataExplorerActionBarProps, g as DataExplorerButtonProps, j as DataExplorerCheckboxProps, l as DataExplorerCollectionFooterProps, S as DataExplorerFilterBarProps, a9 as DataExplorerSelectProps, aj 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, Z as DataExplorerMediaPreviewProps, $ as DataExplorerPageProps, a2 as DataExplorerRecordCardProps, a5 as DataExplorerRecordPickerProps, at as DataExplorerUploadSurfaceProps, al as DataExplorerToolbarShellProps, ao as DataExplorerTreeProps, ar as DataExplorerTreeShellProps, aR as DataExplorerViewTreeProps, aA as DataExplorerViewId, aG as DataExplorerViewProps, ay as DataExplorerViewCollectionProps, aC as DataExplorerViewItemProps, aE as DataExplorerViewItemShellProps, aJ as DataExplorerViewShellProps, a6 as DataExplorerResolvedTheme, n as DataExplorerControlTone, c as DataExplorerAppearance } from './types-b89faf386a96.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>>;
@@ -17,11 +17,11 @@ declare function DataExplorerDisplayCollectionView<TSource = unknown>({ items, a
17
17
  declare function DataExplorerDisplayListItem<TSource = unknown>({ className, classNames, ...props }: DataExplorerDisplayListItemProps<TSource>): react_jsx_runtime.JSX.Element;
18
18
  declare function DataExplorerDisplayMedia<TSource = unknown>({ media, fallbackTitle, empty, className, classNames, onOpen, }: DataExplorerDisplayMediaProps<TSource>): null | react_jsx_runtime.JSX.Element;
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
- declare function DataExplorerMediaPreview({ src, kind, alt, title, aspectRatio, fit, controls, loading, empty, error, className, classNames, onLoad, onError, }: DataExplorerMediaPreviewProps): react_jsx_runtime.JSX.Element;
20
+ declare function DataExplorerMediaPreview({ src, kind, alt, title, aspectRatio, fit, controls, loading, empty, error, className, classNames, mediaAttributes, onLoad, onError, }: DataExplorerMediaPreviewProps): react_jsx_runtime.JSX.Element;
21
21
  declare function DataExplorerPage({ sidebar, tree, toolbar, controls, notices, content, view, detail, appearance, className, classNames, }: DataExplorerPageProps): react_jsx_runtime.JSX.Element;
22
22
  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;
23
23
  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;
24
- declare function DataExplorerUploadSurface({ accept, multiple, disabled, busy, title, description, hint, busyLabel, icon, className, classNames, onFilesSelected, }: DataExplorerUploadSurfaceProps): react_jsx_runtime.JSX.Element;
24
+ declare function DataExplorerUploadSurface({ accept, multiple, disabled, busy, title, description, hint, busyLabel, icon, inputProps, className, classNames, onFilesSelected, }: DataExplorerUploadSurfaceProps): react_jsx_runtime.JSX.Element;
25
25
  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;
26
26
  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;
27
27
  declare function DataExplorerTreeShell({ title, subtitle, toolbar, footer, children, className, classNames, }: DataExplorerTreeShellProps): react_jsx_runtime.JSX.Element;
@@ -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, a9 as DataExplorerSelectProps, aj 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, Z as DataExplorerMediaPreviewProps, $ as DataExplorerPageProps, a2 as DataExplorerRecordCardProps, a5 as DataExplorerRecordPickerProps, at as DataExplorerUploadSurfaceProps, al as DataExplorerToolbarShellProps, ao as DataExplorerTreeProps, ar as DataExplorerTreeShellProps, aR as DataExplorerViewTreeProps, aA as DataExplorerViewId, aG as DataExplorerViewProps, ay as DataExplorerViewCollectionProps, aC as DataExplorerViewItemProps, aE as DataExplorerViewItemShellProps, aJ as DataExplorerViewShellProps, a6 as DataExplorerResolvedTheme, n as DataExplorerControlTone, c as DataExplorerAppearance } from './types-cc1ff9de4c79.mjs';
2
+ import { b as DataExplorerActionBarProps, g as DataExplorerButtonProps, j as DataExplorerCheckboxProps, l as DataExplorerCollectionFooterProps, S as DataExplorerFilterBarProps, a9 as DataExplorerSelectProps, aj 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, Z as DataExplorerMediaPreviewProps, $ as DataExplorerPageProps, a2 as DataExplorerRecordCardProps, a5 as DataExplorerRecordPickerProps, at as DataExplorerUploadSurfaceProps, al as DataExplorerToolbarShellProps, ao as DataExplorerTreeProps, ar as DataExplorerTreeShellProps, aR as DataExplorerViewTreeProps, aA as DataExplorerViewId, aG as DataExplorerViewProps, ay as DataExplorerViewCollectionProps, aC as DataExplorerViewItemProps, aE as DataExplorerViewItemShellProps, aJ as DataExplorerViewShellProps, a6 as DataExplorerResolvedTheme, n as DataExplorerControlTone, c as DataExplorerAppearance } from './types-b89faf386a96.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>>;
@@ -17,11 +17,11 @@ declare function DataExplorerDisplayCollectionView<TSource = unknown>({ items, a
17
17
  declare function DataExplorerDisplayListItem<TSource = unknown>({ className, classNames, ...props }: DataExplorerDisplayListItemProps<TSource>): react_jsx_runtime.JSX.Element;
18
18
  declare function DataExplorerDisplayMedia<TSource = unknown>({ media, fallbackTitle, empty, className, classNames, onOpen, }: DataExplorerDisplayMediaProps<TSource>): null | react_jsx_runtime.JSX.Element;
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
- declare function DataExplorerMediaPreview({ src, kind, alt, title, aspectRatio, fit, controls, loading, empty, error, className, classNames, onLoad, onError, }: DataExplorerMediaPreviewProps): react_jsx_runtime.JSX.Element;
20
+ declare function DataExplorerMediaPreview({ src, kind, alt, title, aspectRatio, fit, controls, loading, empty, error, className, classNames, mediaAttributes, onLoad, onError, }: DataExplorerMediaPreviewProps): react_jsx_runtime.JSX.Element;
21
21
  declare function DataExplorerPage({ sidebar, tree, toolbar, controls, notices, content, view, detail, appearance, className, classNames, }: DataExplorerPageProps): react_jsx_runtime.JSX.Element;
22
22
  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;
23
23
  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;
24
- declare function DataExplorerUploadSurface({ accept, multiple, disabled, busy, title, description, hint, busyLabel, icon, className, classNames, onFilesSelected, }: DataExplorerUploadSurfaceProps): react_jsx_runtime.JSX.Element;
24
+ declare function DataExplorerUploadSurface({ accept, multiple, disabled, busy, title, description, hint, busyLabel, icon, inputProps, className, classNames, onFilesSelected, }: DataExplorerUploadSurfaceProps): react_jsx_runtime.JSX.Element;
25
25
  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;
26
26
  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;
27
27
  declare function DataExplorerTreeShell({ title, subtitle, toolbar, footer, children, className, classNames, }: DataExplorerTreeShellProps): react_jsx_runtime.JSX.Element;
@@ -1,4 +1,4 @@
1
- import { ReactNode, CSSProperties, ButtonHTMLAttributes, MouseEventHandler, KeyboardEventHandler, HTMLAttributes, ReactEventHandler, UIEvent } from 'react';
1
+ import { ReactNode, CSSProperties, ButtonHTMLAttributes, MouseEventHandler, KeyboardEventHandler, HTMLAttributes, ReactEventHandler, UIEvent, InputHTMLAttributes } from 'react';
2
2
  type DataExplorerResolver<TValue, TContext = unknown> = ((context: TContext) => TValue) | TValue;
3
3
  interface DataExplorerCapabilities {
4
4
  canRead?: boolean;
@@ -1179,6 +1179,7 @@ interface DataExplorerMediaPreviewProps {
1179
1179
  error?: ReactNode;
1180
1180
  className?: string;
1181
1181
  classNames?: DataExplorerMediaPreviewClassNames;
1182
+ mediaAttributes?: Record<string, string | undefined>;
1182
1183
  onLoad?: () => void;
1183
1184
  onError?: () => void;
1184
1185
  }
@@ -1200,6 +1201,7 @@ interface DataExplorerUploadSurfaceProps {
1200
1201
  hint?: ReactNode;
1201
1202
  busyLabel?: ReactNode;
1202
1203
  icon?: ReactNode;
1204
+ inputProps?: Omit<InputHTMLAttributes<HTMLInputElement>, 'accept' | 'disabled' | 'multiple' | 'onChange' | 'type'>;
1203
1205
  className?: string;
1204
1206
  classNames?: DataExplorerUploadSurfaceClassNames;
1205
1207
  onFilesSelected?: (files: File[]) => void;
@@ -1,4 +1,4 @@
1
- import { ReactNode, CSSProperties, ButtonHTMLAttributes, MouseEventHandler, KeyboardEventHandler, HTMLAttributes, ReactEventHandler, UIEvent } from 'react';
1
+ import { ReactNode, CSSProperties, ButtonHTMLAttributes, MouseEventHandler, KeyboardEventHandler, HTMLAttributes, ReactEventHandler, UIEvent, InputHTMLAttributes } from 'react';
2
2
  type DataExplorerResolver<TValue, TContext = unknown> = ((context: TContext) => TValue) | TValue;
3
3
  interface DataExplorerCapabilities {
4
4
  canRead?: boolean;
@@ -1179,6 +1179,7 @@ interface DataExplorerMediaPreviewProps {
1179
1179
  error?: ReactNode;
1180
1180
  className?: string;
1181
1181
  classNames?: DataExplorerMediaPreviewClassNames;
1182
+ mediaAttributes?: Record<string, string | undefined>;
1182
1183
  onLoad?: () => void;
1183
1184
  onError?: () => void;
1184
1185
  }
@@ -1200,6 +1201,7 @@ interface DataExplorerUploadSurfaceProps {
1200
1201
  hint?: ReactNode;
1201
1202
  busyLabel?: ReactNode;
1202
1203
  icon?: ReactNode;
1204
+ inputProps?: Omit<InputHTMLAttributes<HTMLInputElement>, 'accept' | 'disabled' | 'multiple' | 'onChange' | 'type'>;
1203
1205
  className?: string;
1204
1206
  classNames?: DataExplorerUploadSurfaceClassNames;
1205
1207
  onFilesSelected?: (files: File[]) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inf-monkeys-tech/monkeys-design",
3
- "version": "1.0.100",
3
+ "version": "1.0.101",
4
4
  "description": "Monkeys Design Components Library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",