@zvoove/unity-ui 2.33.1 → 2.35.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.
@@ -794,7 +803,10 @@ export declare const commonIconsMap: {
794
803
  }) => JSX.Element;
795
804
  readonly folder: Icon_2;
796
805
  readonly 'folder-open': Icon_2;
806
+ readonly folders: Icon_2;
797
807
  readonly 'grid-view': Icon_2;
808
+ readonly 'hand-coins': Icon_2;
809
+ readonly handshake: Icon_2;
798
810
  readonly 'hard-hat': Icon_2;
799
811
  readonly 'head-circuit': Icon_2;
800
812
  readonly help: Icon_2;
@@ -821,6 +833,7 @@ export declare const commonIconsMap: {
821
833
  readonly code: Icon_2;
822
834
  readonly microphone: Icon_2;
823
835
  readonly minus: Icon_2;
836
+ readonly 'money-wavy': Icon_2;
824
837
  readonly 'more-horizontal': Icon_2;
825
838
  readonly 'more-vertical': Icon_2;
826
839
  readonly moped: Icon_2;
@@ -841,12 +854,14 @@ export declare const commonIconsMap: {
841
854
  readonly 'pin-slash': Icon_2;
842
855
  readonly 'piggy-bank': Icon_2;
843
856
  readonly plant: Icon_2;
857
+ readonly 'plugs-connected': Icon_2;
844
858
  readonly printer: Icon_2;
845
859
  readonly privacy: Icon_2;
846
860
  readonly 'qr-code': Icon_2;
847
861
  readonly refresh: Icon_2;
848
862
  readonly remark: Icon_2;
849
863
  readonly robot: Icon_2;
864
+ readonly 'rocket-launch': Icon_2;
850
865
  readonly save: Icon_2;
851
866
  readonly search: Icon_2;
852
867
  readonly 'search-plus': Icon_2;
@@ -861,6 +876,7 @@ export declare const commonIconsMap: {
861
876
  readonly 'skip-forward': Icon_2;
862
877
  readonly smartphone: Icon_2;
863
878
  readonly sparkle: Icon_2;
879
+ readonly 'squares-four': Icon_2;
864
880
  readonly star: Icon_2;
865
881
  readonly start: Icon_2;
866
882
  readonly stop: Icon_2;
@@ -1725,6 +1741,23 @@ export declare type HighlightStyle = {
1725
1741
  export declare const Icon: ({ name, size, weight, color, type, featured, ...props }: IconProps) => JSX.Element;
1726
1742
 
1727
1743
  declare const iconMap: {
1744
+ readonly 'prod-recruit': Icon_2;
1745
+ readonly 'prod-cockpit': Icon_2;
1746
+ readonly 'prod-insights': Icon_2;
1747
+ readonly 'prod-documents': Icon_2;
1748
+ readonly 'prod-zvoove-one-pdl': Icon_2;
1749
+ readonly 'prod-zvoove-one-payroll': Icon_2;
1750
+ readonly 'prod-connect': Icon_2;
1751
+ readonly 'prod-work-app': Icon_2;
1752
+ readonly 'prod-analytics': Icon_2;
1753
+ readonly 'prod-dms-plus': Icon_2;
1754
+ readonly 'prod-safety-manager': Icon_2;
1755
+ readonly 'prod-timesheets': Icon_2;
1756
+ readonly 'prod-managed-payroll': Icon_2;
1757
+ readonly 'prod-cashlink': Icon_2;
1758
+ readonly 'prod-professional-service': Icon_2;
1759
+ readonly 'prod-online-academy': Icon_2;
1760
+ readonly 'prod-knowledge-base': Icon_2;
1728
1761
  readonly zvoove: ({ size, color }: ZvooveLogoProps) => JSX.Element;
1729
1762
  readonly 'zvoove-one': ({ size, color }: {
1730
1763
  size?: number;
@@ -1895,7 +1928,10 @@ declare const iconMap: {
1895
1928
  }) => JSX.Element;
1896
1929
  readonly folder: Icon_2;
1897
1930
  readonly 'folder-open': Icon_2;
1931
+ readonly folders: Icon_2;
1898
1932
  readonly 'grid-view': Icon_2;
1933
+ readonly 'hand-coins': Icon_2;
1934
+ readonly handshake: Icon_2;
1899
1935
  readonly 'hard-hat': Icon_2;
1900
1936
  readonly 'head-circuit': Icon_2;
1901
1937
  readonly help: Icon_2;
@@ -1922,6 +1958,7 @@ declare const iconMap: {
1922
1958
  readonly code: Icon_2;
1923
1959
  readonly microphone: Icon_2;
1924
1960
  readonly minus: Icon_2;
1961
+ readonly 'money-wavy': Icon_2;
1925
1962
  readonly 'more-horizontal': Icon_2;
1926
1963
  readonly 'more-vertical': Icon_2;
1927
1964
  readonly moped: Icon_2;
@@ -1942,12 +1979,14 @@ declare const iconMap: {
1942
1979
  readonly 'pin-slash': Icon_2;
1943
1980
  readonly 'piggy-bank': Icon_2;
1944
1981
  readonly plant: Icon_2;
1982
+ readonly 'plugs-connected': Icon_2;
1945
1983
  readonly printer: Icon_2;
1946
1984
  readonly privacy: Icon_2;
1947
1985
  readonly 'qr-code': Icon_2;
1948
1986
  readonly refresh: Icon_2;
1949
1987
  readonly remark: Icon_2;
1950
1988
  readonly robot: Icon_2;
1989
+ readonly 'rocket-launch': Icon_2;
1951
1990
  readonly save: Icon_2;
1952
1991
  readonly search: Icon_2;
1953
1992
  readonly 'search-plus': Icon_2;
@@ -1962,6 +2001,7 @@ declare const iconMap: {
1962
2001
  readonly 'skip-forward': Icon_2;
1963
2002
  readonly smartphone: Icon_2;
1964
2003
  readonly sparkle: Icon_2;
2004
+ readonly 'squares-four': Icon_2;
1965
2005
  readonly star: Icon_2;
1966
2006
  readonly start: Icon_2;
1967
2007
  readonly stop: Icon_2;
@@ -2149,15 +2189,16 @@ export declare interface ImageVisualizerProps {
2149
2189
  }
2150
2190
 
2151
2191
  export declare const InfoBox: {
2152
- ({ message, variant, icon, elevated, }: InfoBoxProps): JSX.Element;
2192
+ ({ message, variant, icon, elevated, borderRadius, }: InfoBoxProps): JSX.Element;
2153
2193
  displayName: string;
2154
2194
  };
2155
2195
 
2156
2196
  export declare interface InfoBoxProps {
2157
2197
  /**
2158
- * The message to display in the InfoBox.
2198
+ * The content to display in the InfoBox. Accepts a plain string or any
2199
+ * React node (e.g. formatted text combined with an action button).
2159
2200
  */
2160
- message: string;
2201
+ message: ReactNode;
2161
2202
  /**
2162
2203
  * The semantic variant of the InfoBox
2163
2204
  * @default 'default'
@@ -2172,6 +2213,11 @@ export declare interface InfoBoxProps {
2172
2213
  * @default true
2173
2214
  */
2174
2215
  elevated?: boolean;
2216
+ /**
2217
+ * The border radius of the InfoBox.
2218
+ * @default 'sm'
2219
+ */
2220
+ borderRadius?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
2175
2221
  }
2176
2222
 
2177
2223
  export declare type InfoBoxVariant = 'default' | 'positive' | 'warning' | 'error' | 'subtle' | 'neutral' | 'outlined';
@@ -2581,7 +2627,7 @@ declare type Panel = {
2581
2627
  children: React.ReactNode;
2582
2628
  };
2583
2629
 
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;
2630
+ 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
2631
 
2586
2632
  export declare type PopUpMenuItem<T extends React.ElementType = 'button'> = UnionAs_3 & {
2587
2633
  /**
@@ -2825,10 +2871,45 @@ export declare interface PopUpMenuProps extends Omit<React.HTMLAttributes<HTMLDi
2825
2871
  * The max height of the popup menu content
2826
2872
  */
2827
2873
  maxHeight?: ResponsiveType<number | string>;
2874
+ /**
2875
+ * Whether the first menu item should be focused automatically when the menu opens.
2876
+ * Set this to `false` when the trigger contains its own focusable input (e.g. a
2877
+ * searchable Select) so focus stays on the input and only moves into the list on ArrowDown.
2878
+ * @default true
2879
+ */
2880
+ autoFocusFirstItem?: boolean;
2828
2881
  }
2829
2882
 
2830
2883
  export declare type PopUpMenuSelectionType = string | string[] | undefined;
2831
2884
 
2885
+ export declare type ProductIconNames = keyof typeof productIconsMap;
2886
+
2887
+ /**
2888
+ * Product icons — semantic aliases that map a zvoove product to its
2889
+ * representative Phosphor icon. These reuse the same glyphs as the common
2890
+ * icons but are named after the product they represent (e.g. `prod-recruit`),
2891
+ * so they can be used directly in product/app lists.
2892
+ */
2893
+ export declare const productIconsMap: {
2894
+ readonly 'prod-recruit': Icon_2;
2895
+ readonly 'prod-cockpit': Icon_2;
2896
+ readonly 'prod-insights': Icon_2;
2897
+ readonly 'prod-documents': Icon_2;
2898
+ readonly 'prod-zvoove-one-pdl': Icon_2;
2899
+ readonly 'prod-zvoove-one-payroll': Icon_2;
2900
+ readonly 'prod-connect': Icon_2;
2901
+ readonly 'prod-work-app': Icon_2;
2902
+ readonly 'prod-analytics': Icon_2;
2903
+ readonly 'prod-dms-plus': Icon_2;
2904
+ readonly 'prod-safety-manager': Icon_2;
2905
+ readonly 'prod-timesheets': Icon_2;
2906
+ readonly 'prod-managed-payroll': Icon_2;
2907
+ readonly 'prod-cashlink': Icon_2;
2908
+ readonly 'prod-professional-service': Icon_2;
2909
+ readonly 'prod-online-academy': Icon_2;
2910
+ readonly 'prod-knowledge-base': Icon_2;
2911
+ };
2912
+
2832
2913
  export declare const ProgressIndicator: ({ value, indeterminate, variant, size, foregroundColor, backgroundColor, }: ProgressIndicatorProps) => JSX.Element;
2833
2914
 
2834
2915
  export declare interface ProgressIndicatorProps {
@@ -3702,7 +3783,7 @@ export declare interface SwitchProps extends Omit<React.InputHTMLAttributes<HTML
3702
3783
  id?: string;
3703
3784
  }
3704
3785
 
3705
- declare type TabItem<T extends React.ElementType = 'button'> = {
3786
+ export declare type TabItem<T extends React.ElementType = 'button'> = {
3706
3787
  label: string;
3707
3788
  icon?: CommonIconNames;
3708
3789
  iconPosition?: 'left' | 'top';