@photoroom/ui 0.1.90 → 0.1.92

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
@@ -32376,11 +32376,11 @@ var XW = ({ checkerboard: e, cover: t, imageUrl: n, loading: r, bottomRightIcon:
32376
32376
  })]
32377
32377
  }),
32378
32378
  /* @__PURE__ */ T("div", {
32379
- className: "heading-light-600 text-content-primary mb-4",
32379
+ className: "component-semi-strong-800 text-content-primary mb-4",
32380
32380
  children: e
32381
32381
  }),
32382
32382
  /* @__PURE__ */ T("div", {
32383
- className: "body-500 text-content-secondary grow",
32383
+ className: "body-light-500 text-content-secondary grow",
32384
32384
  children: i
32385
32385
  }),
32386
32386
  r && /* @__PURE__ */ T("div", {
@@ -51342,7 +51342,7 @@ function nme({ className: e, inProgressLabel: t, completedLabel: n, actionLabel:
51342
51342
  "aria-hidden": l,
51343
51343
  className: V(v7, {
51344
51344
  "pointer-events-none -translate-y-4 opacity-0": l,
51345
- "translate-y-0 opacity-1": !l
51345
+ "translate-y-0 opacity-100": !l
51346
51346
  }),
51347
51347
  children: [/* @__PURE__ */ T("span", {
51348
51348
  className: y7,
@@ -51359,7 +51359,7 @@ function nme({ className: e, inProgressLabel: t, completedLabel: n, actionLabel:
51359
51359
  "aria-hidden": !l,
51360
51360
  className: V(v7, {
51361
51361
  "pointer-events-none translate-y-4 opacity-0": !l,
51362
- "translate-y-0 opacity-1": l
51362
+ "translate-y-0 opacity-100": l
51363
51363
  }),
51364
51364
  children: [
51365
51365
  /* @__PURE__ */ T(M, { className: "-ml-1 h-5 w-5 shrink-0" }),
@@ -54691,32 +54691,35 @@ var sge = Object.assign(L9, {
54691
54691
  })]
54692
54692
  })]
54693
54693
  })
54694
- }), dge = ({ titleBlock: e, reviews: t, ctaLabel: n, ctaLink: r, ...i }) => /* @__PURE__ */ E("section", {
54695
- className: V("flex flex-col", "px-4", "gap-i400", "py-e500"),
54696
- ...i,
54697
- children: [
54698
- e,
54699
- t && t.length > 0 && /* @__PURE__ */ T("ul", {
54700
- className: V("lg:max-w-5.5xl mx-auto max-w-sm sm:max-w-lg", "flex flex-col flex-wrap gap-6 lg:flex-row lg:justify-center"),
54701
- children: t
54702
- }),
54703
- n && r && /* @__PURE__ */ T(rr, {
54704
- variant: "primary",
54705
- className: "font-700 mx-auto",
54706
- size: "medium",
54707
- density: "spacious",
54708
- as: "a",
54709
- href: r.href,
54710
- rel: "noreferrer noopener",
54711
- ...r.extraAttrs,
54712
- children: n
54713
- })
54714
- ]
54715
- }), fge = ({ title: e, content: t, image: n, name: r, occupation: i, ...a }) => /* @__PURE__ */ T("li", {
54716
- className: V("md:max-w-5.5xl sm:max-w-lg", "lg:flex lg:items-stretch lg:justify-center", "lg:w-[calc(100%/3-16px)]"),
54694
+ }), dge = ({ titleBlock: e, reviews: t, ctaLabel: n, ctaLink: r, className: i, ...a }) => /* @__PURE__ */ T("section", {
54695
+ className: H("pt-e700 pb-e1000 px-4 sm:px-6 md:px-8 xl:px-10", i),
54717
54696
  ...a,
54697
+ children: /* @__PURE__ */ E("div", {
54698
+ className: "gap-i600 mx-auto flex w-full max-w-[1200px] flex-col",
54699
+ children: [
54700
+ e,
54701
+ t && t.length > 0 && /* @__PURE__ */ T("ul", {
54702
+ className: "grid gap-6 lg:grid-cols-3",
54703
+ children: t
54704
+ }),
54705
+ n && /* @__PURE__ */ T(rr, {
54706
+ className: "mx-auto lg:hidden",
54707
+ variant: "primary",
54708
+ size: "medium",
54709
+ density: "spacious",
54710
+ as: "a",
54711
+ href: r?.href,
54712
+ rel: "noreferrer noopener",
54713
+ ...r?.extraAttrs,
54714
+ children: n
54715
+ })
54716
+ ]
54717
+ })
54718
+ }), fge = ({ title: e, content: t, image: n, name: r, occupation: i, density: a = "default", className: o, ...s }) => /* @__PURE__ */ T("li", {
54719
+ className: H("flex", o),
54720
+ ...s,
54718
54721
  children: /* @__PURE__ */ E("article", {
54719
- className: V("rounded-500 flex h-full w-full flex-col gap-6 bg-neutral-100", "p-5 sm:p-8"),
54722
+ className: V("rounded-500 flex h-full w-full flex-col bg-neutral-100", a === "compact" ? "p-6" : "p-8"),
54720
54723
  children: [
54721
54724
  /* @__PURE__ */ T("ul", {
54722
54725
  className: "flex gap-1",
@@ -54726,28 +54729,28 @@ var sge = Object.assign(L9, {
54726
54729
  }, `star_${t}`))
54727
54730
  }),
54728
54731
  /* @__PURE__ */ T("h3", {
54729
- className: "heading-light-400 text-black",
54732
+ className: V("component-600 max-w-[560px] text-black", a === "compact" ? "py-4" : "py-6"),
54730
54733
  children: e
54731
54734
  }),
54732
54735
  /* @__PURE__ */ T("div", {
54733
54736
  className: "flex-1",
54734
54737
  children: /* @__PURE__ */ T("p", {
54735
- className: "body-500 text-content-secondary",
54738
+ className: "body-light-500 text-content-secondary max-w-[560px]",
54736
54739
  children: t
54737
54740
  })
54738
54741
  }),
54739
54742
  /* @__PURE__ */ E("div", {
54740
- className: "flex gap-3",
54743
+ className: "flex gap-3 pt-6",
54741
54744
  children: [!!n && /* @__PURE__ */ T("div", {
54742
54745
  className: "relative h-10 w-10 shrink-0",
54743
54746
  children: n
54744
54747
  }), /* @__PURE__ */ E("div", {
54745
54748
  className: "flex flex-col",
54746
- children: [/* @__PURE__ */ T("strong", {
54747
- className: "body-semi-strong-500 text-black",
54749
+ children: [/* @__PURE__ */ T("span", {
54750
+ className: "component-500 text-black",
54748
54751
  children: r
54749
54752
  }), /* @__PURE__ */ T("p", {
54750
- className: "body-400 text-content-secondary",
54753
+ className: "component-light-400 text-content-secondary",
54751
54754
  children: i
54752
54755
  })]
54753
54756
  })]
@@ -55022,7 +55025,7 @@ var _ge = ({ titleBlock: e, content: t, ctaLabel: n, ctaLink: r, ...i }) => /* @
55022
55025
  className: "mx-auto flex max-w-[1200px] flex-col gap-6 lg:flex-row lg:justify-center",
55023
55026
  children: t
55024
55027
  })]
55025
- }), xge = "cursor-pointer rounded-200 outline-hidden focus-visible:ring focus-visible:ring-misc-focus-indicator text-content-accent hover:text-content-accent-hover active:text-content-accent-down focus-visible:text-content-accent-hover".split(" ").map((e) => `[&_a]:${e}`).join(" "), Sge = ({ type: e = "default", content: t, footer: n, className: r, ...i }) => {
55028
+ }), xge = "cursor-pointer rounded-200 outline-hidden focus-visible:ring focus-visible:ring-misc-focus-indicator text-content-accent hover:text-content-accent-hover active:text-content-accent-down focus-visible:text-content-accent-hover".split(" ").map((e) => `[&_a]:${e}`).join(" "), Sge = ({ density: e = "default", content: t, footer: n, className: r, ...i }) => {
55026
55029
  let a = e === "compact";
55027
55030
  return /* @__PURE__ */ E("div", {
55028
55031
  ...i,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.90",
3
+ "version": "0.1.92",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [