@photoroom/ui 0.1.124 → 0.1.126

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,6 +3,9 @@ export type UnpublishedStatusProps = {
3
3
  * Whether to render the pill background. Use a background when placing the
4
4
  * status on top of an image; omit the background when rendering inline next
5
5
  * to other text.
6
+ *
7
+ * The pill is always white with dark text — readable over both light and
8
+ * dark image backgrounds. Defaults to `true`.
6
9
  */
7
10
  background?: boolean;
8
11
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"UnpublishedStatus.d.ts","sourceRoot":"","sources":["../../../../src/components/status/UnpublishedStatus/UnpublishedStatus.tsx"],"names":[],"mappings":"AAkBA,MAAM,MAAM,sBAAsB,GAAG;IACnC;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,CAAC;AAEnD,eAAO,MAAM,iBAAiB,GAAI,8CAK/B,sBAAsB,4CAOxB,CAAC"}
1
+ {"version":3,"file":"UnpublishedStatus.d.ts","sourceRoot":"","sources":["../../../../src/components/status/UnpublishedStatus/UnpublishedStatus.tsx"],"names":[],"mappings":"AAkBA,MAAM,MAAM,sBAAsB,GAAG;IACnC;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,CAAC;AAEnD,eAAO,MAAM,iBAAiB,GAAI,8CAK/B,sBAAsB,4CAOxB,CAAC"}
@@ -1,10 +1,11 @@
1
+ import { type BlockBackgroundVariant } from "../BlockBackground";
1
2
  export type FocusBlockProps = Readonly<{
2
3
  overline?: string;
3
4
  title?: string;
4
5
  description?: React.ReactNode;
5
6
  visual?: React.ReactNode;
6
7
  ctas?: React.ReactNode[];
7
- bgColor?: string;
8
+ background?: BlockBackgroundVariant;
8
9
  }>;
9
- export declare const FocusBlock: ({ overline, title, description, visual, ctas, bgColor: backgroundColor, ...rest }: FocusBlockProps) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const FocusBlock: ({ overline, title, description, visual, ctas, background, ...rest }: FocusBlockProps) => import("react/jsx-runtime").JSX.Element;
10
11
  //# 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,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"}
1
+ {"version":3,"file":"FocusBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/FocusBlock/FocusBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAElF,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,UAAU,CAAC,EAAE,sBAAsB,CAAC;CACrC,CAAC,CAAC;AAEH,eAAO,MAAM,UAAU,GAAI,qEAQxB,eAAe,4CAoBjB,CAAC"}