@zvoove/unity-ui 2.30.0 → 2.32.2

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.
@@ -2153,7 +2153,7 @@ declare type LabelStates = {
2153
2153
  };
2154
2154
 
2155
2155
  export declare const List: {
2156
- <T extends default_2.ElementType = "div">({ items, activeItemId, showDividers, linkComponent: LinkComponent, }: ListProps<T>): JSX.Element;
2156
+ <T extends default_2.ElementType = "div">({ items, activeItemId, showDividers, linkComponent: LinkComponent, spread, height, width, minHeight, maxHeight, minWidth, maxWidth, }: ListProps<T>): JSX.Element;
2157
2157
  displayName: string;
2158
2158
  };
2159
2159
 
@@ -2270,8 +2270,53 @@ export declare interface ListProps<T extends default_2.ElementType = 'div'> {
2270
2270
  * @default 'div'
2271
2271
  */
2272
2272
  linkComponent?: T | 'div';
2273
+ /**
2274
+ * Vertical distribution of the items inside the List's height.
2275
+ * Requires a height larger than the items' total height to be visible.
2276
+ *
2277
+ * - `top` — items packed at the top (default).
2278
+ * - `bottom` — items packed at the bottom.
2279
+ * - `center` — items centered vertically.
2280
+ * - `between` — equal space between items, none at the edges.
2281
+ * - `evenly` — equal space around and between items.
2282
+ *
2283
+ * @default 'top'
2284
+ */
2285
+ spread?: ResponsiveType<ListSpread>;
2286
+ /**
2287
+ * The height of the list.
2288
+ * @default 'auto'
2289
+ */
2290
+ height?: ResponsiveType<number | string>;
2291
+ /**
2292
+ * The width of the list.
2293
+ * @default '100%'
2294
+ */
2295
+ width?: ResponsiveType<number | string>;
2296
+ /**
2297
+ * The min height of the list.
2298
+ * @default 'auto'
2299
+ */
2300
+ minHeight?: ResponsiveType<number | string>;
2301
+ /**
2302
+ * The max height of the list.
2303
+ * @default 'auto'
2304
+ */
2305
+ maxHeight?: ResponsiveType<number | string>;
2306
+ /**
2307
+ * The min width of the list.
2308
+ * @default 'auto'
2309
+ */
2310
+ minWidth?: ResponsiveType<number | string>;
2311
+ /**
2312
+ * The max width of the list.
2313
+ * @default 'auto'
2314
+ */
2315
+ maxWidth?: ResponsiveType<number | string>;
2273
2316
  }
2274
2317
 
2318
+ declare type ListSpread = 'top' | 'bottom' | 'center' | 'between' | 'evenly';
2319
+
2275
2320
  export declare type Margin = SpacingKeys | {
2276
2321
  top?: SpacingKeys;
2277
2322
  right?: SpacingKeys;