@photoroom/ui 0.1.87 → 0.1.88

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
@@ -53219,11 +53219,11 @@ var Yme = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
53219
53219
  })]
53220
53220
  });
53221
53221
  }, ihe = ({ title: e, content: t }) => /* @__PURE__ */ T("div", {
53222
- className: "py-e500 px-4 sm:px-6 md:px-8 xl:px-10",
53222
+ className: "pt-e700 pb-e1000 px-4 sm:px-6 md:px-8 xl:px-10",
53223
53223
  children: /* @__PURE__ */ E("div", {
53224
- className: "gap-i200 mx-auto flex max-w-[1200px] flex-col",
53224
+ className: "gap-i600 mx-auto flex max-w-[1200px] flex-col",
53225
53225
  children: [e, /* @__PURE__ */ T("div", {
53226
- className: V("body-500 rounded-500 bg-background-subdued p-4 sm:p-6", "columns-1 gap-6 sm:columns-2 lg:columns-3"),
53226
+ className: V("body-light-500 rounded-500 bg-background-subdued p-4 sm:p-6", "columns-1 gap-6 sm:columns-2 lg:columns-3"),
53227
53227
  children: t
53228
53228
  })]
53229
53229
  })
@@ -55014,25 +55014,28 @@ var _ge = ({ titleBlock: e, content: t, ctaLabel: n, ctaLink: r, ...i }) => /* @
55014
55014
  });
55015
55015
  }, bge = ({ titleBlock: e, cards: t, className: n, ...r }) => /* @__PURE__ */ E("section", {
55016
55016
  ...r,
55017
- className: V("py-e500 px-4 sm:px-8", n),
55017
+ className: V("pt-e700 pb-e1000 px-4 sm:px-8", n),
55018
55018
  children: [!!e && /* @__PURE__ */ T("div", {
55019
- className: "pb-i500",
55019
+ className: "pb-i600",
55020
55020
  children: e
55021
55021
  }), /* @__PURE__ */ T("div", {
55022
55022
  className: "mx-auto flex max-w-[1200px] flex-col gap-6 lg:flex-row lg:justify-center",
55023
55023
  children: t
55024
55024
  })]
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 = ({ content: e, footer: t, className: n, ...r }) => /* @__PURE__ */ E("div", {
55026
- ...r,
55027
- className: V("rounded-500 bg-background-subdued text-content-secondary [&_strong]:body-semi-strong-700 [&_strong]:text-content-primary mx-auto w-full max-w-[512px] px-6 py-5 sm:px-8 sm:py-6", n),
55028
- children: [/* @__PURE__ */ T("div", {
55029
- className: "body-600 sm:body-700",
55030
- children: e
55031
- }), !!t && /* @__PURE__ */ T("div", {
55032
- className: V("body-500 mt-6", xge),
55033
- children: t
55034
- })]
55035
- }), B9 = l(({ as: e = "a", icon: t, title: n, description: r, image: i, ...a }, o) => a.href ? /* @__PURE__ */ E(e, {
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 }) => {
55026
+ let a = e === "compact";
55027
+ return /* @__PURE__ */ E("div", {
55028
+ ...i,
55029
+ className: H("rounded-500 bg-background-subdued text-content-secondary [&_strong]:body-semi-strong-700 [&_strong]:text-content-primary w-full lg:max-w-[512px]", a ? "px-6 pt-5 pb-6" : "px-8 pt-6 pb-8", r),
55030
+ children: [/* @__PURE__ */ T("div", {
55031
+ className: V("w-full max-w-[560px]", a ? "body-light-600" : "body-light-700"),
55032
+ children: t
55033
+ }), !!n && /* @__PURE__ */ T("div", {
55034
+ className: V("body-light-500 mt-6 w-full max-w-[560px]", xge),
55035
+ children: n
55036
+ })]
55037
+ });
55038
+ }, B9 = l(({ as: e = "a", icon: t, title: n, description: r, image: i, ...a }, o) => a.href ? /* @__PURE__ */ E(e, {
55036
55039
  ref: o,
55037
55040
  className: "group inline-flex w-full flex-col gap-3 outline-hidden",
55038
55041
  ...a,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.87",
3
+ "version": "0.1.88",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [