@photoroom/ui 0.1.56 → 0.1.57

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,7 @@
1
1
  type FaqBlockProps = React.ComponentProps<"section"> & Readonly<{
2
2
  titleBlock?: React.ReactNode;
3
+ background?: "white" | "lightgrey";
3
4
  }>;
4
- export declare const FaqBlock: ({ titleBlock, className, children, ...rest }: FaqBlockProps) => import("react/jsx-runtime").JSX.Element;
5
+ export declare const FaqBlock: ({ titleBlock, background, className, children, ...rest }: FaqBlockProps) => import("react/jsx-runtime").JSX.Element;
5
6
  export {};
6
7
  //# sourceMappingURL=FaqBlock.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FaqBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/FaqBlock/FaqBlock.tsx"],"names":[],"mappings":"AAEA,KAAK,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,GAClD,QAAQ,CAAC;IACP,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B,CAAC,CAAC;AAEL,eAAO,MAAM,QAAQ,GAAI,8CAA8C,aAAa,4CAcnF,CAAC"}
1
+ {"version":3,"file":"FaqBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/FaqBlock/FaqBlock.tsx"],"names":[],"mappings":"AAEA,KAAK,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,GAClD,QAAQ,CAAC;IACP,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,UAAU,CAAC,EAAE,OAAO,GAAG,WAAW,CAAC;CACpC,CAAC,CAAC;AAEL,eAAO,MAAM,QAAQ,GAAI,0DAMtB,aAAa,4CAqBf,CAAC"}
package/index.mjs CHANGED
@@ -53160,17 +53160,20 @@ var Rme = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
53160
53160
  children: t
53161
53161
  })]
53162
53162
  })
53163
- }), Jme = ({ titleBlock: e, className: t, children: n, ...r }) => /* @__PURE__ */ T("section", {
53164
- ...r,
53165
- className: H("px-4 pt-e700 pb-e1000 sm:px-6 md:px-8 xl:px-10", "bg-neutral-50", t),
53163
+ }), Jme = ({ titleBlock: e, background: t = "lightgrey", className: n, children: r, ...i }) => /* @__PURE__ */ T("section", {
53164
+ ...i,
53165
+ className: H("px-4 pt-e700 pb-e1000 sm:px-6 md:px-8 xl:px-10", {
53166
+ "bg-surface-default": t === "white",
53167
+ "bg-neutral-50": t === "lightgrey"
53168
+ }, n),
53166
53169
  children: /* @__PURE__ */ E("div", {
53167
53170
  className: "mx-auto flex max-w-[1200px] flex-col gap-i600 lg:flex-row lg:gap-i500",
53168
53171
  children: [/* @__PURE__ */ T("div", {
53169
53172
  className: "w-full shrink-0 lg:w-[360px] lg:pt-2",
53170
53173
  children: e
53171
- }), !!n && /* @__PURE__ */ T("div", {
53174
+ }), !!r && /* @__PURE__ */ T("div", {
53172
53175
  className: "grow divide-y divide-misc-divider border-y border-misc-divider",
53173
- children: n
53176
+ children: r
53174
53177
  })]
53175
53178
  })
53176
53179
  }), Yme = ({ question: e, answer: t, ...n }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.56",
3
+ "version": "0.1.57",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [