@nimbus-ds/components 5.40.2 → 5.41.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.
package/dist/index.d.ts CHANGED
@@ -1615,6 +1615,31 @@ export interface TitleSprinkle {
1615
1615
  */
1616
1616
  color?: TitleColorProperties | TitleConditions<TitleColorProperties>;
1617
1617
  }
1618
+ declare const list: {
1619
+ classnames: {
1620
+ container: string;
1621
+ container__item: string;
1622
+ skeleton: string;
1623
+ };
1624
+ sprinkle: ((props: {
1625
+ padding?: "1" | "2" | "3" | "4" | "5" | "0-5" | "6" | "7" | "8" | undefined;
1626
+ }) => string) & {
1627
+ properties: Set<"padding">;
1628
+ };
1629
+ properties: {
1630
+ padding: {
1631
+ "0-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1632
+ "1": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1633
+ "2": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1634
+ "3": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1635
+ "4": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1636
+ "5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1637
+ "6": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1638
+ "7": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1639
+ "8": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1640
+ };
1641
+ };
1642
+ };
1618
1643
  declare const multiSelect: {
1619
1644
  sprinkle: ((props: {
1620
1645
  zIndex?: "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | {
@@ -2832,6 +2857,11 @@ export interface ListProperties {
2832
2857
  * @default ul
2833
2858
  */
2834
2859
  as?: "ul" | "ol";
2860
+ /**
2861
+ * The padding of the list.
2862
+ * @default 6
2863
+ */
2864
+ padding?: keyof typeof list.properties.padding;
2835
2865
  }
2836
2866
  export type ListProps = ListProperties & HTMLAttributes<HTMLUListElement | HTMLOListElement>;
2837
2867
  export declare const List: React.FC<ListProps> & ListComponents;