@photoroom/ui 0.1.708 → 0.1.709
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
|
@@ -36168,27 +36168,27 @@ var Lq = (({ as: e = "button", layout: t = "fixedHeight128", aspectRatio: n = "1
|
|
|
36168
36168
|
Lq.displayName = "Tile", Lq.Font = aq, Lq.Grid = oq, Lq.Icon = sq, Lq.MoreMenu = cq, Lq.Preview = Aq, Lq.Selectable = jq, Lq.Skeleton = Iq, Lq.Size = Mq;
|
|
36169
36169
|
//#endregion
|
|
36170
36170
|
//#region src/components/content/ToolBanner/ToolBanner.tsx
|
|
36171
|
-
var Rq = ({ title: e, titleClassName: t,
|
|
36172
|
-
className: U("@container",
|
|
36173
|
-
...
|
|
36171
|
+
var Rq = ({ title: e, titleClassName: t, contentClassName: n, caption: r, cta: i, background: a, className: o, ...s }) => /* @__PURE__ */ I("div", {
|
|
36172
|
+
className: U("@container", o),
|
|
36173
|
+
...s,
|
|
36174
36174
|
children: /* @__PURE__ */ L("div", {
|
|
36175
|
-
className: H("rounded-400 relative overflow-hidden", "h-[200px] @[420px]:h-[256px] @[720px]:h-[280px]"),
|
|
36175
|
+
className: H("rounded-400 relative flex overflow-hidden", "min-h-[200px] @[420px]:min-h-[256px] @[720px]:min-h-[280px]"),
|
|
36176
36176
|
children: [/* @__PURE__ */ I("div", {
|
|
36177
36177
|
"aria-hidden": "true",
|
|
36178
36178
|
className: H("pointer-events-none absolute inset-0 *:size-full *:object-cover", "*:object-left @[420px]:*:object-center"),
|
|
36179
|
-
children:
|
|
36179
|
+
children: a
|
|
36180
36180
|
}), /* @__PURE__ */ L("div", {
|
|
36181
|
-
className:
|
|
36181
|
+
className: U("relative flex flex-col items-start justify-center gap-6", "w-full px-8", "@[420px]:w-1/2 @[420px]:pe-4", "@[720px]:w-full @[720px]:max-w-[384px] @[720px]:ps-12 @[720px]:pe-6", "@[960px]:max-w-[480px]", n),
|
|
36182
36182
|
children: [/* @__PURE__ */ L("div", {
|
|
36183
36183
|
className: "flex w-full flex-col gap-3",
|
|
36184
36184
|
children: [/* @__PURE__ */ I("h2", {
|
|
36185
|
-
className: U("text-content-white-primary font-400 w-full
|
|
36185
|
+
className: U("text-content-white-primary font-400 w-full tracking-[-0.02em] break-words", "text-[32px] @[420px]:text-[36px] @[720px]:text-[40px] @[960px]:text-[48px]", "leading-400", t),
|
|
36186
36186
|
children: e
|
|
36187
|
-
}), !!
|
|
36187
|
+
}), !!r && /* @__PURE__ */ I("div", {
|
|
36188
36188
|
className: "text-content-white-secondary component-600 flex w-full flex-wrap items-center gap-1",
|
|
36189
|
-
children:
|
|
36189
|
+
children: r
|
|
36190
36190
|
})]
|
|
36191
|
-
}),
|
|
36191
|
+
}), i]
|
|
36192
36192
|
})]
|
|
36193
36193
|
})
|
|
36194
36194
|
});
|