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

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-b89faf386a96.mjs';
4
+ import { c as DataExplorerAppearance } from '../types-c3e072f57261.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-b89faf386a96.js';
4
+ import { c as DataExplorerAppearance } from '../types-c3e072f57261.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-b89faf386a96.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-c3e072f57261.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,7 +17,7 @@ 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, mediaAttributes, onLoad, onError, }: DataExplorerMediaPreviewProps): react_jsx_runtime.JSX.Element;
20
+ declare function DataExplorerMediaPreview({ src, kind, alt, title, aspectRatio, fit, controls, loading, empty, error, className, style, 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;
@@ -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-b89faf386a96.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-c3e072f57261.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,7 +17,7 @@ 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, mediaAttributes, onLoad, onError, }: DataExplorerMediaPreviewProps): react_jsx_runtime.JSX.Element;
20
+ declare function DataExplorerMediaPreview({ src, kind, alt, title, aspectRatio, fit, controls, loading, empty, error, className, style, 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;
@@ -1178,6 +1178,7 @@ interface DataExplorerMediaPreviewProps {
1178
1178
  empty?: ReactNode;
1179
1179
  error?: ReactNode;
1180
1180
  className?: string;
1181
+ style?: CSSProperties;
1181
1182
  classNames?: DataExplorerMediaPreviewClassNames;
1182
1183
  mediaAttributes?: Record<string, string | undefined>;
1183
1184
  onLoad?: () => void;
@@ -1201,7 +1202,9 @@ interface DataExplorerUploadSurfaceProps {
1201
1202
  hint?: ReactNode;
1202
1203
  busyLabel?: ReactNode;
1203
1204
  icon?: ReactNode;
1204
- inputProps?: Omit<InputHTMLAttributes<HTMLInputElement>, 'accept' | 'disabled' | 'multiple' | 'onChange' | 'type'>;
1205
+ inputProps?: Omit<InputHTMLAttributes<HTMLInputElement>, 'accept' | 'disabled' | 'multiple' | 'onChange' | 'type'> & {
1206
+ [key: `data-${string}`]: string | undefined;
1207
+ };
1205
1208
  className?: string;
1206
1209
  classNames?: DataExplorerUploadSurfaceClassNames;
1207
1210
  onFilesSelected?: (files: File[]) => void;
@@ -1178,6 +1178,7 @@ interface DataExplorerMediaPreviewProps {
1178
1178
  empty?: ReactNode;
1179
1179
  error?: ReactNode;
1180
1180
  className?: string;
1181
+ style?: CSSProperties;
1181
1182
  classNames?: DataExplorerMediaPreviewClassNames;
1182
1183
  mediaAttributes?: Record<string, string | undefined>;
1183
1184
  onLoad?: () => void;
@@ -1201,7 +1202,9 @@ interface DataExplorerUploadSurfaceProps {
1201
1202
  hint?: ReactNode;
1202
1203
  busyLabel?: ReactNode;
1203
1204
  icon?: ReactNode;
1204
- inputProps?: Omit<InputHTMLAttributes<HTMLInputElement>, 'accept' | 'disabled' | 'multiple' | 'onChange' | 'type'>;
1205
+ inputProps?: Omit<InputHTMLAttributes<HTMLInputElement>, 'accept' | 'disabled' | 'multiple' | 'onChange' | 'type'> & {
1206
+ [key: `data-${string}`]: string | undefined;
1207
+ };
1205
1208
  className?: string;
1206
1209
  classNames?: DataExplorerUploadSurfaceClassNames;
1207
1210
  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.101",
3
+ "version": "1.0.102",
4
4
  "description": "Monkeys Design Components Library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",