@photoroom/ui 0.1.74 → 0.1.76

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.
@@ -3,8 +3,8 @@ export type FocusBlockProps = Readonly<{
3
3
  title?: string;
4
4
  description?: React.ReactNode;
5
5
  visual?: React.ReactNode;
6
- cta?: React.ReactNode;
6
+ ctas?: React.ReactNode[];
7
7
  bgColor?: string;
8
8
  }>;
9
- export declare const FocusBlock: ({ overline, title, description, visual, cta, bgColor: backgroundColor, ...rest }: FocusBlockProps) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const FocusBlock: ({ overline, title, description, visual, ctas, bgColor: backgroundColor, ...rest }: FocusBlockProps) => import("react/jsx-runtime").JSX.Element;
10
10
  //# sourceMappingURL=FocusBlock.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FocusBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/FocusBlock/FocusBlock.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC,CAAC;AAEH,eAAO,MAAM,UAAU,GAAI,kFAQxB,eAAe,4CA2BjB,CAAC"}
1
+ {"version":3,"file":"FocusBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/FocusBlock/FocusBlock.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC,CAAC;AAEH,eAAO,MAAM,UAAU,GAAI,mFAQxB,eAAe,4CA2BjB,CAAC"}
package/index.mjs CHANGED
@@ -53324,7 +53324,7 @@ var Lme = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
53324
53324
  className: "body-light-500 text-content-secondary",
53325
53325
  children: n
53326
53326
  })]
53327
- }), ahe = ({ overline: e, title: t, description: n, visual: r, cta: i, bgColor: a, ...o }) => /* @__PURE__ */ T("section", {
53327
+ }), ahe = ({ overline: e, title: t, description: n, visual: r, ctas: i, bgColor: a, ...o }) => /* @__PURE__ */ T("section", {
53328
53328
  className: V("px-4 py-e400 sm:px-6 md:px-8 xl:px-10", { "bg-surface-alternate": !a }),
53329
53329
  style: { backgroundColor: a },
53330
53330
  ...o,
@@ -53347,8 +53347,8 @@ var Lme = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
53347
53347
  className: "body-600 mt-4 text-content-secondary sm:mt-6",
53348
53348
  children: n
53349
53349
  }),
53350
- !!i && /* @__PURE__ */ T("div", {
53351
- className: "mt-6 sm:mt-8",
53350
+ !!i?.length && /* @__PURE__ */ T("div", {
53351
+ className: "mt-6 flex flex-wrap gap-3 sm:mt-8",
53352
53352
  children: i
53353
53353
  })
53354
53354
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.74",
3
+ "version": "0.1.76",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [