@zvoove/unity-ui 2.33.0 → 2.34.0

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.
@@ -489,6 +489,15 @@ export declare interface ChatBubbleProps extends React.HTMLAttributes<HTMLDivEle
489
489
  * @default 'default'
490
490
  */
491
491
  state?: ChatBubbleState;
492
+ /**
493
+ * Compact mode hides the avatar and allows the bubble to take up to 90%
494
+ * of the container width. Useful for narrow embedded panels.
495
+ *
496
+ * Additionally, when the ChatBubble is placed inside a container narrower
497
+ * than 480px, compact behavior activates automatically via container queries.
498
+ * @default false
499
+ */
500
+ compact?: boolean;
492
501
  /**
493
502
  * The message content to display in the bubble. Accepts any ReactNode —
494
503
  * plain text, HTML via ContentBlock, custom components, media, tables, etc.
@@ -2149,15 +2158,16 @@ export declare interface ImageVisualizerProps {
2149
2158
  }
2150
2159
 
2151
2160
  export declare const InfoBox: {
2152
- ({ message, variant, icon, elevated, }: InfoBoxProps): JSX.Element;
2161
+ ({ message, variant, icon, elevated, borderRadius, }: InfoBoxProps): JSX.Element;
2153
2162
  displayName: string;
2154
2163
  };
2155
2164
 
2156
2165
  export declare interface InfoBoxProps {
2157
2166
  /**
2158
- * The message to display in the InfoBox.
2167
+ * The content to display in the InfoBox. Accepts a plain string or any
2168
+ * React node (e.g. formatted text combined with an action button).
2159
2169
  */
2160
- message: string;
2170
+ message: ReactNode;
2161
2171
  /**
2162
2172
  * The semantic variant of the InfoBox
2163
2173
  * @default 'default'
@@ -2172,6 +2182,11 @@ export declare interface InfoBoxProps {
2172
2182
  * @default true
2173
2183
  */
2174
2184
  elevated?: boolean;
2185
+ /**
2186
+ * The border radius of the InfoBox.
2187
+ * @default 'sm'
2188
+ */
2189
+ borderRadius?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
2175
2190
  }
2176
2191
 
2177
2192
  export declare type InfoBoxVariant = 'default' | 'positive' | 'warning' | 'error' | 'subtle' | 'neutral' | 'outlined';
@@ -2581,7 +2596,7 @@ declare type Panel = {
2581
2596
  children: React.ReactNode;
2582
2597
  };
2583
2598
 
2584
- export declare const PopUpMenu: ({ children, placement, disabled, trigger, density, closeOnItemClick, items, onItemClick, selectedItem, selectable, open, onClose, closeOnClickOutside, closeOnEscape, toggleOnClick, queryHighlight, showSearch, searchPlaceholder, allowClearAll, allowSelectAll, selectAllLabel, clearAllLabel, noResultsFoundMessage, onClearAllOrSelectAllClick, searchMode, onSearchChange, isLoading, wrapperWidth, onScrollEnd, isLoadingMore, height, minHeight, maxHeight, ...props }: PopUpMenuProps) => JSX.Element;
2599
+ export declare const PopUpMenu: ({ children, placement, disabled, trigger, density, closeOnItemClick, items, onItemClick, selectedItem, selectable, open, onClose, closeOnClickOutside, closeOnEscape, toggleOnClick, queryHighlight, showSearch, searchPlaceholder, allowClearAll, allowSelectAll, selectAllLabel, clearAllLabel, noResultsFoundMessage, onClearAllOrSelectAllClick, searchMode, onSearchChange, isLoading, wrapperWidth, onScrollEnd, isLoadingMore, height, minHeight, maxHeight, autoFocusFirstItem, ...props }: PopUpMenuProps) => JSX.Element;
2585
2600
 
2586
2601
  export declare type PopUpMenuItem<T extends React.ElementType = 'button'> = UnionAs_3 & {
2587
2602
  /**
@@ -2825,6 +2840,13 @@ export declare interface PopUpMenuProps extends Omit<React.HTMLAttributes<HTMLDi
2825
2840
  * The max height of the popup menu content
2826
2841
  */
2827
2842
  maxHeight?: ResponsiveType<number | string>;
2843
+ /**
2844
+ * Whether the first menu item should be focused automatically when the menu opens.
2845
+ * Set this to `false` when the trigger contains its own focusable input (e.g. a
2846
+ * searchable Select) so focus stays on the input and only moves into the list on ArrowDown.
2847
+ * @default true
2848
+ */
2849
+ autoFocusFirstItem?: boolean;
2828
2850
  }
2829
2851
 
2830
2852
  export declare type PopUpMenuSelectionType = string | string[] | undefined;