@photoroom/ui 0.1.443 → 0.1.444

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.
@@ -1,6 +1,15 @@
1
1
  export type CardsBlockProps = Readonly<{
2
2
  titleBlock: React.ReactNode;
3
3
  children: React.ReactNode;
4
+ /** Maximum number of columns at the largest breakpoint: 3 (default) or 4. */
5
+ columns?: 3 | 4;
6
+ /**
7
+ * Label for the show-more link rendered below the grid. When set and there are more than
8
+ * `columns * 2` cards, the grid clips to the first `columns * 2` cards (two rows at the widest
9
+ * breakpoint) until the link is activated. Hidden cards stay in the DOM so they remain
10
+ * crawlable.
11
+ */
12
+ showMoreLabel?: string;
4
13
  }>;
5
- export declare const CardsBlock: ({ titleBlock, children, ...rest }: CardsBlockProps) => import("react").JSX.Element;
14
+ export declare const CardsBlock: ({ titleBlock, children, columns, showMoreLabel, ...rest }: CardsBlockProps) => import("react").JSX.Element;
6
15
  //# sourceMappingURL=CardsBlock.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CardsBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/CardsBlock/CardsBlock.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;IACrC,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC,CAAC;AAEH,eAAO,MAAM,UAAU,GAAI,mCAAmC,eAAe,gCAmB5E,CAAC"}
1
+ {"version":3,"file":"CardsBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/CardsBlock/CardsBlock.tsx"],"names":[],"mappings":"AAMA,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;IACrC,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,6EAA6E;IAC7E,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IAChB;;;;;OAKG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC,CAAC;AAEH,eAAO,MAAM,UAAU,GAAI,2DAMxB,eAAe,gCAuDjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=CardsBlock.figma.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardsBlock.figma.d.ts","sourceRoot":"","sources":["../../../../src/components/website/CardsBlock/CardsBlock.figma.tsx"],"names":[],"mappings":""}