@photoroom/ui 0.1.88 → 0.1.90

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/index.mjs CHANGED
@@ -53041,10 +53041,10 @@ var Yme = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
53041
53041
  })]
53042
53042
  })]
53043
53043
  }), $me = ({ titleBlock: e, children: t, className: n, ...r }) => /* @__PURE__ */ T("section", {
53044
- className: H("py-e500 w-full px-4 sm:px-6 md:px-8 xl:px-10", n),
53044
+ className: H("pt-e700 pb-e1000 w-full px-4 sm:px-6 md:px-8 xl:px-10", n),
53045
53045
  ...r,
53046
53046
  children: /* @__PURE__ */ E("div", {
53047
- className: "gap-i500 mx-auto flex w-full max-w-[1200px] flex-col items-center",
53047
+ className: "gap-i600 mx-auto flex w-full max-w-[1200px] flex-col items-center",
53048
53048
  children: [e, /* @__PURE__ */ T("div", {
53049
53049
  className: "w-full max-w-[640px]",
53050
53050
  children: t
@@ -53097,7 +53097,7 @@ var Yme = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
53097
53097
  role: "row",
53098
53098
  children: [
53099
53099
  /* @__PURE__ */ T("div", {
53100
- className: "component-600 text-content-secondary flex-1 py-[13px] text-balance",
53100
+ className: "component-light-600 text-content-secondary flex-1 py-[13px] text-balance",
53101
53101
  role: "rowheader",
53102
53102
  children: e.featureName
53103
53103
  }),
@@ -53657,7 +53657,7 @@ var v9 = {}, y9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
53657
53657
  })
53658
53658
  ]
53659
53659
  }), Che = ({ titleBlock: e, logoWallBlock: t, children: n, className: r, ...i }) => /* @__PURE__ */ T("section", {
53660
- className: H("pt-e800 pb-e1000 w-full px-4 sm:px-6 md:px-8 xl:px-10", r),
53660
+ className: H("pt-e700 pb-e1000 w-full px-4 sm:px-6 md:px-8 xl:px-10", r),
53661
53661
  ...i,
53662
53662
  children: /* @__PURE__ */ E("div", {
53663
53663
  className: "gap-i600 mx-auto flex w-full flex-col xl:max-w-[1200px]",
@@ -53740,14 +53740,14 @@ var v9 = {}, y9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
53740
53740
  let i = n?.slice(0, 8);
53741
53741
  return /* @__PURE__ */ T("div", {
53742
53742
  className: V("px-4 sm:px-6 md:px-8 xl:px-10", {
53743
- "py-e400": e === "default",
53743
+ "pt-e400 pb-e600": e === "default",
53744
53744
  "border-misc-border border-b py-6": e === "compact"
53745
53745
  }),
53746
53746
  ...r,
53747
53747
  children: /* @__PURE__ */ E("div", {
53748
53748
  className: "flex flex-col items-center gap-4 sm:gap-6",
53749
53749
  children: [t && /* @__PURE__ */ T("div", {
53750
- className: V("body-600 text-content-secondary max-w-[640px] text-center", { "sr-only": e === "compact" }),
53750
+ className: V("component-600 text-content-secondary max-w-[640px] text-center", { "sr-only": e === "compact" }),
53751
53751
  children: t
53752
53752
  }), !!i?.length && /* @__PURE__ */ T("div", {
53753
53753
  className: V("mx-auto flex justify-center gap-2 lg:max-w-[1200px] lg:flex-nowrap", {
@@ -53778,7 +53778,7 @@ var v9 = {}, y9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
53778
53778
  "aria-hidden": "true"
53779
53779
  }),
53780
53780
  /* @__PURE__ */ T("p", {
53781
- className: "body-700 text-content-primary text-center font-medium",
53781
+ className: "component-600 text-content-primary text-center",
53782
53782
  children: e
53783
53783
  }),
53784
53784
  /* @__PURE__ */ T("div", {
@@ -53789,17 +53789,17 @@ var v9 = {}, y9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
53789
53789
  }), /* @__PURE__ */ T("div", {
53790
53790
  className: "flex flex-wrap justify-center gap-2 lg:gap-4 xl:gap-8",
53791
53791
  children: t.map((e, t) => /* @__PURE__ */ T("figure", {
53792
- className: "relative aspect-video w-[calc((100%-1rem)/3)] sm:w-[calc((100%-2rem)/5)] lg:w-[calc((100%-5rem)/6)] xl:w-[calc((100%-10rem)/6)]",
53792
+ className: "relative aspect-[16/9] w-[calc((100%-1rem)/3)] sm:w-[calc((100%-2rem)/5)] lg:w-[calc((100%-5rem)/6)] xl:w-[calc((100%-10rem)/6)]",
53793
53793
  children: e
53794
53794
  }, t.toString()))
53795
53795
  })]
53796
53796
  }), jhe = ({ title: e, children: t, ...n }) => /* @__PURE__ */ T("section", {
53797
- className: "bg-surface-default py-e500 px-4 sm:px-6 md:px-8",
53797
+ className: "bg-surface-default pt-e700 pb-e1000 px-4 sm:px-6 md:px-8",
53798
53798
  ...n,
53799
53799
  children: /* @__PURE__ */ E("div", {
53800
53800
  className: "mx-auto flex max-w-[1200px] flex-col items-center",
53801
53801
  children: [!!e && /* @__PURE__ */ T("div", {
53802
- className: "pb-i500 w-full",
53802
+ className: "pb-i600 w-full",
53803
53803
  children: e
53804
53804
  }), /* @__PURE__ */ T("div", {
53805
53805
  className: "grid items-stretch gap-6 sm:grid-cols-2 lg:grid-cols-4",
@@ -53847,10 +53847,10 @@ var v9 = {}, y9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
53847
53847
  });
53848
53848
  }, Nhe = ({ containerId: e, title: t, helpText: n, url: r, visibleOnMobile: i, ...a }) => /* @__PURE__ */ E("div", {
53849
53849
  id: e,
53850
- className: V("bg-surface-alternate py-e500 w-full px-4 xl:px-10", !i && "hidden lg:block"),
53850
+ className: V("pt-e700 pb-e1000 w-full bg-neutral-50 px-4 xl:px-10", !i && "hidden lg:block"),
53851
53851
  ...a,
53852
53852
  children: [/* @__PURE__ */ E("div", {
53853
- className: "gap-i500 flex flex-col justify-center",
53853
+ className: "gap-i600 flex flex-col justify-center",
53854
53854
  children: [t, /* @__PURE__ */ T("div", {
53855
53855
  className: V("mx-auto h-[720px] w-full max-w-[1200px]", "rounded-500 overflow-hidden border"),
53856
53856
  children: /* @__PURE__ */ T("iframe", {
@@ -54668,24 +54668,24 @@ var sge = Object.assign(L9, {
54668
54668
  })]
54669
54669
  })
54670
54670
  }), uge = ({ content: e, avatar: t, name: n, occupation: r }) => /* @__PURE__ */ T("div", {
54671
- className: "py-e600 px-4 sm:px-6 md:px-8 xl:px-10",
54671
+ className: "py-e700 px-4 sm:px-6 md:px-8 xl:px-10",
54672
54672
  children: /* @__PURE__ */ E("div", {
54673
- className: "mx-auto flex max-w-[960px] flex-col justify-center gap-8",
54673
+ className: "mx-auto flex max-w-[1200px] flex-col justify-center gap-8",
54674
54674
  children: [/* @__PURE__ */ T("div", {
54675
- className: V("text-900 font-800 leading-500", "sm:text-1100 sm:font-800 sm:leading-500", "lg:text-1300 lg:font-800 lg:leading-500"),
54675
+ className: V("text-900 font-500 leading-500 -tracking-[0.058px]", "sm:text-1100 sm:-tracking-[0.357px]", "lg:text-1300 lg:-tracking-[1.05px]"),
54676
54676
  children: e
54677
54677
  }), /* @__PURE__ */ E("div", {
54678
54678
  className: "flex flex-row items-center gap-4 sm:gap-6",
54679
54679
  children: [!!t && /* @__PURE__ */ T("div", {
54680
- className: V("relative", "w-16 sm:w-20", "aspect-square overflow-hidden rounded-full"),
54680
+ className: V("relative", "w-16 sm:w-20", "aspect-[1/1] overflow-hidden rounded-full"),
54681
54681
  children: t
54682
54682
  }), /* @__PURE__ */ E("div", {
54683
- className: "flex flex-col",
54683
+ className: "flex flex-col gap-1",
54684
54684
  children: [/* @__PURE__ */ T("span", {
54685
- className: "body-strong-500 sm:body-strong-700",
54685
+ className: "component-semi-strong-600 sm:component-semi-strong-700",
54686
54686
  children: n
54687
54687
  }), /* @__PURE__ */ T("span", {
54688
- className: "body-400 text-content-secondary sm:body-500",
54688
+ className: "component-light-400 text-content-secondary sm:component-light-500",
54689
54689
  children: r
54690
54690
  })]
54691
54691
  })]
@@ -54850,7 +54850,7 @@ var sge = Object.assign(L9, {
54850
54850
  })]
54851
54851
  });
54852
54852
  }, z9 = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ T("section", {
54853
- className: "py-e400 mx-auto max-w-[1200px] px-4 sm:px-6 md:px-8 xl:px-10",
54853
+ className: "pt-e400 pb-e600 mx-auto max-w-[1200px] px-4 sm:px-6 md:px-8 xl:px-10",
54854
54854
  ...n,
54855
54855
  children: /* @__PURE__ */ E("div", {
54856
54856
  className: "gap-i200 flex flex-col",
@@ -55169,7 +55169,7 @@ var wge = ({ titleBlock: e, selectedIndex: t, useCases: n, ...r }) => /* @__PURE
55169
55169
  })
55170
55170
  });
55171
55171
  }, Oge = ({ icon: e, title: t, description: n, className: r, ...i }) => /* @__PURE__ */ E("div", {
55172
- className: H("flex flex-col gap-4 sm:flex-row sm:gap-6 lg:flex-col lg:gap-4", "rounded-500 border-misc-border-default border", "p-6 sm:p-8", r),
55172
+ className: H("flex flex-col gap-4 sm:flex-row sm:gap-6 lg:flex-col lg:gap-4", "border-t border-neutral-400", "pt-6 sm:pt-8", r),
55173
55173
  ...i,
55174
55174
  children: [/* @__PURE__ */ T("div", {
55175
55175
  className: "relative size-12 shrink-0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.88",
3
+ "version": "0.1.90",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [
@@ -1,9 +0,0 @@
1
- import { StatementBlockItem } from "./StatementBlockItem";
2
- export type StatementBlockProps = React.ComponentProps<"section"> & Readonly<{
3
- title: string;
4
- }>;
5
- export declare function StatementBlock({ title, children, className, ...rest }: StatementBlockProps): import("react/jsx-runtime").JSX.Element;
6
- export declare namespace StatementBlock {
7
- var Item: typeof StatementBlockItem;
8
- }
9
- //# sourceMappingURL=StatementBlock.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StatementBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/StatementBlock/StatementBlock.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,GAC/D,QAAQ,CAAC;IACP,KAAK,EAAE,MAAM,CAAC;CACf,CAAC,CAAC;AAEL,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,mBAAmB,2CAc1F;yBAde,cAAc"}
@@ -1,6 +0,0 @@
1
- export type StatementBlockItemProps = React.ComponentProps<"article"> & Readonly<{
2
- title: string;
3
- icon?: React.ReactNode;
4
- }>;
5
- export declare function StatementBlockItem({ title, icon, children, className, ...rest }: StatementBlockItemProps): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=StatementBlockItem.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StatementBlockItem.d.ts","sourceRoot":"","sources":["../../../../src/components/website/StatementBlock/StatementBlockItem.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,GACnE,QAAQ,CAAC;IACP,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB,CAAC,CAAC;AAEL,wBAAgB,kBAAkB,CAAC,EACjC,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,uBAAuB,2CAUzB"}
@@ -1,2 +0,0 @@
1
- export * from "./StatementBlock";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/website/StatementBlock/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}