@photoroom/ui 0.1.766 → 0.1.768

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.
Files changed (3) hide show
  1. package/index.css +1 -1
  2. package/index.mjs +42 -45
  3. package/package.json +1 -1
package/index.mjs CHANGED
@@ -39225,7 +39225,7 @@ var ihe = ({ x: e, y: t }, { width: n, height: r }, i, a) => ({
39225
39225
  height: c ? void 0 : i
39226
39226
  },
39227
39227
  onKeyDown: g,
39228
- className: W("border-misc-border-default bg-surface-primary-elevated shadow-600 misc-dropdown-rounding fixed isolate z-50 flex flex-col overflow-clip border", t),
39228
+ className: W("bg-surface-primary-elevated shadow-600 misc-outer-border misc-dropdown-rounding fixed isolate z-50 flex flex-col overflow-clip", t),
39229
39229
  children: e
39230
39230
  })
39231
39231
  });
@@ -61421,52 +61421,49 @@ var e9 = ({ title: e, subtitle: t, visual: n, form: r, cta: i, className: a, ...
61421
61421
  e9.displayName = "RaterBannerBlock";
61422
61422
  //#endregion
61423
61423
  //#region src/components/website/RaterPromoBanner/RaterPromoBanner.tsx
61424
- var t9 = ({ title: e, subtitle: t, image: n, form: r, cta: i, dismiss: a, className: o, ...s }) => /* @__PURE__ */ L("div", {
61425
- className: W("@container", o),
61424
+ var t9 = ({ title: e, subtitle: t, image: n, form: r, cta: i, dismiss: a, className: o, ...s }) => /* @__PURE__ */ R("div", {
61425
+ className: W("rounded-500 border-misc-border misc-border-size-hairline relative flex gap-3 overflow-hidden", "theme-light bg-sand-50 px-4", { "sm:ps-0": !!n }, o),
61426
61426
  ...s,
61427
- children: /* @__PURE__ */ R("div", {
61428
- className: U("rounded-500 border-misc-border misc-border-size-hairline relative flex gap-3 overflow-hidden", "theme-light bg-sand-50 px-4", { "@[480px]:ps-0": !!n }),
61429
- children: [
61430
- !!n && /* @__PURE__ */ L("div", {
61431
- className: "hidden w-21 shrink-0 *:size-full *:object-contain @[480px]:block",
61432
- children: n
61433
- }),
61434
- /* @__PURE__ */ R("div", {
61435
- className: "flex min-w-0 flex-1 flex-col gap-4 py-3",
61436
- children: [/* @__PURE__ */ R("div", {
61437
- className: U("flex flex-col gap-1", { "pe-6": !!a }),
61438
- children: [/* @__PURE__ */ L("p", {
61439
- className: "component-500 text-content-primary",
61440
- children: e
61441
- }), !!t && /* @__PURE__ */ L("p", {
61442
- className: "component-400 text-content-secondary text-balance",
61443
- children: t
61444
- })]
61445
- }), /* @__PURE__ */ L($7, {
61446
- ...r,
61447
- className: "flex-col @[360px]:flex-row",
61448
- button: /* @__PURE__ */ L(ed, {
61449
- ...i.extraAttrs,
61450
- type: "submit",
61451
- variant: "primary",
61452
- size: "medium",
61453
- density: "regular",
61454
- className: "w-full shrink-0 @[360px]:w-auto",
61455
- children: i.label
61456
- })
61427
+ children: [
61428
+ !!n && /* @__PURE__ */ L("div", {
61429
+ className: "hidden w-21 shrink-0 *:size-full *:object-contain sm:block",
61430
+ children: n
61431
+ }),
61432
+ /* @__PURE__ */ R("div", {
61433
+ className: "flex min-w-0 flex-1 flex-col gap-4 py-3",
61434
+ children: [/* @__PURE__ */ R("div", {
61435
+ className: U("flex flex-col gap-1", { "pe-6": !!a }),
61436
+ children: [/* @__PURE__ */ L("p", {
61437
+ className: "component-500 text-content-primary",
61438
+ children: e
61439
+ }), !!t && /* @__PURE__ */ L("p", {
61440
+ className: "component-400 text-content-secondary text-balance",
61441
+ children: t
61457
61442
  })]
61458
- }),
61459
- !!a && /* @__PURE__ */ L(od, {
61460
- ...a.extraAttrs,
61461
- type: "button",
61462
- size: "small",
61463
- variant: "secondary",
61464
- "aria-label": a.label,
61465
- onClick: a.onClick,
61466
- className: "absolute end-2 top-2"
61467
- })
61468
- ]
61469
- })
61443
+ }), /* @__PURE__ */ L($7, {
61444
+ ...r,
61445
+ className: "flex-col sm:flex-row",
61446
+ button: /* @__PURE__ */ L(ed, {
61447
+ ...i.extraAttrs,
61448
+ type: "submit",
61449
+ variant: "primary",
61450
+ size: "medium",
61451
+ density: "regular",
61452
+ className: "w-full shrink-0 sm:w-auto",
61453
+ children: i.label
61454
+ })
61455
+ })]
61456
+ }),
61457
+ !!a && /* @__PURE__ */ L(od, {
61458
+ ...a.extraAttrs,
61459
+ type: "button",
61460
+ size: "small",
61461
+ variant: "secondary",
61462
+ "aria-label": a.label,
61463
+ onClick: a.onClick,
61464
+ className: "absolute end-2 top-2"
61465
+ })
61466
+ ]
61470
61467
  });
61471
61468
  t9.displayName = "RaterPromoBanner";
61472
61469
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.766",
3
+ "version": "0.1.768",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [