@photoroom/ui 0.1.523 → 0.1.524
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/components/website/CardsBlock/CardsBlock.d.ts +3 -1
- package/components/website/CardsBlock/CardsBlock.d.ts.map +1 -1
- package/components/website/Pr100HeroBlock/Pr100HeroBlock.d.ts.map +1 -1
- package/components/website/SmallSectionTitle/SmallSectionTitle.d.ts +2 -2
- package/components/website/SmallSectionTitle/SmallSectionTitle.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.mjs +16 -14
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -53395,28 +53395,29 @@ var M_e = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
53395
53395
|
})]
|
|
53396
53396
|
})]
|
|
53397
53397
|
});
|
|
53398
|
-
}, P_e = ({ titleBlock: e, children: r, columns: i = 3, showMoreLabel: a,
|
|
53399
|
-
let [
|
|
53400
|
-
let e =
|
|
53401
|
-
Ie(() =>
|
|
53398
|
+
}, P_e = ({ titleBlock: e, children: r, columns: i = 3, showMoreLabel: a, background: o = "surface-default", ...s }) => {
|
|
53399
|
+
let [c, l] = Me(!1), u = V(null), d = fe.toArray(r), f = i * 2, p = !c && !!a && d.length > f, m = () => {
|
|
53400
|
+
let e = u.current;
|
|
53401
|
+
Ie(() => l(!0)), e?.querySelector("a, button")?.focus();
|
|
53402
53402
|
};
|
|
53403
|
-
return /* @__PURE__ */ n(
|
|
53403
|
+
return /* @__PURE__ */ n(u9, {
|
|
53404
|
+
variant: o,
|
|
53404
53405
|
className: H("pt-e700 pb-e1000 gap-i600 flex flex-col", "px-4 sm:px-6 md:px-8 xl:px-10"),
|
|
53405
|
-
...
|
|
53406
|
+
...s,
|
|
53406
53407
|
children: [e, /* @__PURE__ */ n("div", {
|
|
53407
53408
|
className: "mx-auto flex w-full flex-col gap-10 xl:max-w-[1200px]",
|
|
53408
53409
|
children: [/* @__PURE__ */ t("div", {
|
|
53409
53410
|
className: H("grid grid-cols-1 gap-y-6", "sm:grid-cols-2 sm:gap-x-6 sm:gap-y-8", "lg:grid-cols-3", { "xl:grid-cols-4": i === 4 }),
|
|
53410
|
-
children:
|
|
53411
|
-
ref:
|
|
53412
|
-
className: H("flex", { hidden:
|
|
53411
|
+
children: d.map((e, n) => /* @__PURE__ */ t("div", {
|
|
53412
|
+
ref: p && n === f ? u : void 0,
|
|
53413
|
+
className: H("flex", { hidden: p && n >= f }),
|
|
53413
53414
|
children: e
|
|
53414
53415
|
}, n))
|
|
53415
|
-
}),
|
|
53416
|
+
}), p && /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(Vu, {
|
|
53416
53417
|
as: "button",
|
|
53417
53418
|
type: "button",
|
|
53418
53419
|
variant: "accent",
|
|
53419
|
-
onClick:
|
|
53420
|
+
onClick: m,
|
|
53420
53421
|
children: a
|
|
53421
53422
|
}) })]
|
|
53422
53423
|
})]
|
|
@@ -55456,11 +55457,12 @@ var rye = Object.assign(R9, {
|
|
|
55456
55457
|
})
|
|
55457
55458
|
]
|
|
55458
55459
|
});
|
|
55459
|
-
}, dye = ({ title: e, overline: r, placement: i = "default" }) => /* @__PURE__ */ n("div", {
|
|
55460
|
-
className:
|
|
55460
|
+
}, dye = ({ title: e, overline: r, placement: i = "default", className: a, ...o }) => /* @__PURE__ */ n("div", {
|
|
55461
|
+
className: U("mx-auto flex w-full max-w-[1200px] flex-col gap-1", {
|
|
55461
55462
|
"items-center text-center": i === "default",
|
|
55462
55463
|
"items-start text-start": i === "side"
|
|
55463
|
-
}),
|
|
55464
|
+
}, a),
|
|
55465
|
+
...o,
|
|
55464
55466
|
children: [!!r && /* @__PURE__ */ t("div", {
|
|
55465
55467
|
className: "component-700 text-content-accent max-w-[600px]",
|
|
55466
55468
|
children: r
|