@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.
package/dist/bin/cli.mjs CHANGED
File without changes
File without changes
package/dist/llms.txt CHANGED
@@ -806,6 +806,13 @@ import { List } from '@zvoove/unity-ui';
806
806
  ]}
807
807
  showDividers={true} // boolean (default: true) — show dividers between items
808
808
  linkComponent="div" // T | 'div' (default: 'div') — set to 'a' for native links or pass a custom router Link
809
+ spread="top" // 'top' | 'bottom' | 'center' | 'between' | 'evenly' (default: 'top') — vertical distribution; needs a fixed height to be visible
810
+ height={400} // ResponsiveType<number | string> — pixel number or any CSS length, also accepts a responsive object
811
+ width="100%" // ResponsiveType<number | string>
812
+ minHeight={200} // ResponsiveType<number | string>
813
+ maxHeight="80vh" // ResponsiveType<number | string>
814
+ minWidth={240} // ResponsiveType<number | string>
815
+ maxWidth="100%" // ResponsiveType<number | string>
809
816
  />
810
817
  ```
811
818
 
@@ -845,6 +852,18 @@ import { Link } from 'react-router-dom';
845
852
  ]}
846
853
  />
847
854
 
855
+ // Distributing items along a fixed height — pair `spread` with `showDividers={false}` for a clean layout
856
+ <List
857
+ spread="between"
858
+ showDividers={false}
859
+ height={320}
860
+ items={[
861
+ { id: 'item-1', content: 'Item 1' },
862
+ { id: 'item-2', content: 'Item 2' },
863
+ { id: 'item-3', content: 'Item 3' },
864
+ ]}
865
+ />
866
+
848
867
  // Inside a Card with header
849
868
  <Card padding="none" width={320} variant="outlined">
850
869
  <Stack padding="md" direction="row" gap="sm" align="center">
package/dist/theme.css CHANGED
@@ -40,7 +40,7 @@
40
40
  font-family: 'Overpass';
41
41
  font-style: normal;
42
42
  font-weight: 400;
43
- src: url('https://dj4fauerr81yp.cloudfront.net/fonts/overpass-normal-variable.woff2')
43
+ src: url('https://d1ciav5yxfbyc5.cloudfront.net/fonts/overpass-normal-variable.woff2')
44
44
  format('woff2');
45
45
  font-display: swap;
46
46
  }