@zvoove/unity-ui 2.42.0 → 2.44.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.
@@ -2279,8 +2279,8 @@ export declare interface InfoBoxProps {
2279
2279
  message: ReactNode;
2280
2280
  /**
2281
2281
  * Optional title displayed above the message. When present, the InfoBox uses
2282
- * a stacked title/message structure; actions still sit beside the message
2283
- * when there is enough width.
2282
+ * a stacked title/message structure; actions sit beside the message when
2283
+ * they fit in this container, otherwise they wrap below it.
2284
2284
  */
2285
2285
  title?: ReactNode;
2286
2286
  /**
@@ -2303,8 +2303,8 @@ export declare interface InfoBoxProps {
2303
2303
  */
2304
2304
  borderRadius?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
2305
2305
  /**
2306
- * Optional action buttons displayed alongside the message or below it when
2307
- * the InfoBox is too narrow for the inline layout.
2306
+ * Optional action buttons displayed beside the message when they fit in this
2307
+ * container, or on the next line when they do not.
2308
2308
  */
2309
2309
  actions?: InfoBoxAction[];
2310
2310
  /**
@@ -4141,7 +4141,7 @@ export declare interface TableSectionRow {
4141
4141
  }
4142
4142
 
4143
4143
  export declare const Tabs: {
4144
- <T extends React.ElementType = "button">({ items, activeItem, onChange, hideBorder, itemsAlignment, isSticky, panels, linkComponent: LinkComponent, }: TabsProps<T>): JSX.Element;
4144
+ <T extends React.ElementType = "button">({ items, activeItem, onChange, hideBorder, itemsAlignment, isSticky, panels, panelPadding, linkComponent: LinkComponent, }: TabsProps<T>): JSX.Element;
4145
4145
  displayName: string;
4146
4146
  };
4147
4147
 
@@ -4178,6 +4178,11 @@ export declare interface TabsProps<T extends React.ElementType = 'button'> {
4178
4178
  * The alignment of the tabs.
4179
4179
  */
4180
4180
  itemsAlignment?: 'left' | 'center' | 'right' | 'between' | 'around' | 'evenly';
4181
+ /**
4182
+ * Padding applied to each panel.
4183
+ * @default 'md'
4184
+ */
4185
+ panelPadding?: SpacingKeys;
4181
4186
  }
4182
4187
 
4183
4188
  export declare const TabStepper: {
@@ -4491,7 +4496,7 @@ export declare interface TopBarProps {
4491
4496
  density?: 'default' | '-2' | '-4';
4492
4497
  }
4493
4498
 
4494
- export declare const Typography: ({ children, variant, size, as: AsComponent, color, textAlign, truncate, textTransform, hyphenate, wrap, ...props }: TypographyProps) => JSX.Element;
4499
+ export declare const Typography: ({ children, variant, size, as: AsComponent, color, textAlign, truncate, truncatedBy, textTransform, hyphenate, wrap, className, ...props }: TypographyProps) => JSX.Element;
4495
4500
 
4496
4501
  declare type TypographyElements = 'p' | 'span' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
4497
4502
 
@@ -4543,6 +4548,13 @@ export declare type TypographyProps<T extends TypographyElements = 'p'> = Omit<R
4543
4548
  * The text that doesn't fit the container will be hidden and replaced by ellipsis
4544
4549
  */
4545
4550
  truncate?: number;
4551
+ /**
4552
+ * Controls whether text wraps at word boundaries or individual letters.
4553
+ * Can be used with or without `truncate`. The `letter` value applies
4554
+ * `word-break: break-all`.
4555
+ * @default 'word'
4556
+ */
4557
+ truncatedBy?: 'word' | 'letter';
4546
4558
  /**
4547
4559
  * If true, the text will be wrapped.
4548
4560
  */