@photoroom/ui 0.1.845 → 0.1.847

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
@@ -36216,12 +36216,12 @@ var AK = ({ isOver: e, label: t, className: n }) => /* @__PURE__ */ R("div", {
36216
36216
  return /* @__PURE__ */ R("button", {
36217
36217
  ...i,
36218
36218
  ref: r,
36219
- className: W("group relative flex appearance-none outline-hidden", "bg-surface-primary-elevated min-h-[64px] min-w-[64px]", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", t),
36219
+ className: W("group group/starterTile relative flex appearance-none outline-hidden", "bg-surface-primary-elevated min-h-[64px] min-w-[64px]", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", t),
36220
36220
  children: [n, uh.isMobile ? /* @__PURE__ */ L("span", {
36221
36221
  className: "rounded-500 absolute inset-e-3 top-3 z-10 flex size-10 items-center justify-center bg-white",
36222
36222
  children: /* @__PURE__ */ L(b, { className: "size-5" })
36223
36223
  }) : /* @__PURE__ */ L("div", {
36224
- className: U("absolute inset-0 z-10", "flex items-center", "hover:bg-misc-visual-hover group-focus-visible:bg-misc-visual-hover group-active:after:bg-misc-visual-down", "group-focus-visible:opacity-100 hover:opacity-100", "interaction-transition transition-all", {
36224
+ className: U("absolute inset-0 z-10", "flex items-center", "hover:bg-misc-visual-hover group-focus-visible:bg-misc-visual-hover group-has-focus-visible/starterTile:bg-misc-visual-hover group-active:after:bg-misc-visual-down", "group-focus-visible:opacity-100 group-has-focus-visible/starterTile:opacity-100 hover:opacity-100", "interaction-transition transition-all", {
36225
36225
  "opacity-0": !a,
36226
36226
  "opacity-100": a
36227
36227
  }),
@@ -38899,9 +38899,9 @@ var HY = ({ label: e, selected: t, badge: n, thumbnail: r, icon: i, multiline: a
38899
38899
  HY.displayName = "DropdownMenuSingleSelectionItem";
38900
38900
  //#endregion
38901
38901
  //#region src/components/dropdown/DropdownMenuDivider/DropdownMenuDivider.tsx
38902
- var hhe = (e) => /* @__PURE__ */ L(dU, {
38903
- className: "border-misc-divider mx-3 my-1 border-t",
38904
- ...e
38902
+ var hhe = ({ className: e, ...t }) => /* @__PURE__ */ L(dU, {
38903
+ className: W("border-misc-divider mx-3 my-1 border-t", e),
38904
+ ...t
38905
38905
  }), UY = ({ selected: e, className: t, children: n, ...r }) => /* @__PURE__ */ R("button", {
38906
38906
  ...r,
38907
38907
  type: "button",
@@ -60045,12 +60045,12 @@ var O7 = ({ label: e, value: t, max: n = 5, tooltip: r, className: i }) => {
60045
60045
  })]
60046
60046
  })
60047
60047
  });
60048
- }, aEe = function({ as: e = "a", label: t, isNew: n, ref: r, ...i }) {
60048
+ }, aEe = function({ as: e = "a", label: t, isNew: n, className: r, ref: i, ...a }) {
60049
60049
  return /* @__PURE__ */ R(e, {
60050
- ref: r,
60051
- className: U("inline-flex items-center gap-1.5", "rounded-200 cursor-pointer outline-hidden", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "component-light-500 text-content-subdued-primary", "hover:text-content-primary focus-visible:text-content-primary active:text-content-primary", "interaction-transition transition-colors"),
60052
- ...i,
60053
- ...i.href?.toString().startsWith("http") ? {
60050
+ ref: i,
60051
+ className: W("inline-flex items-center gap-1.5", "rounded-200 cursor-pointer outline-hidden", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "component-light-500 text-content-subdued-primary", "hover:text-content-primary focus-visible:text-content-primary active:text-content-primary", "interaction-transition transition-colors", r),
60052
+ ...a,
60053
+ ...a.href?.toString().startsWith("http") ? {
60054
60054
  target: "_blank",
60055
60055
  rel: "noopener noreferrer"
60056
60056
  } : {},
@@ -60109,10 +60109,10 @@ function oEe({ title: e, className: t, children: n, ...r }) {
60109
60109
  }
60110
60110
  //#endregion
60111
60111
  //#region src/components/website/FooterBlockV2/FooterV2Block.tsx
60112
- function M7({ appsSectionTitle: e, appButtons: t, linksSections: n, socialLinks: r, legalLinks: i, languageSelector: a, ...o }) {
60112
+ function M7({ appsSectionTitle: e, appButtons: t, linksSections: n, socialLinks: r, legalLinks: i, languageSelector: a, className: o, ...s }) {
60113
60113
  return /* @__PURE__ */ L("footer", {
60114
- className: "bg-surface-primary px-4 py-6 sm:px-6 sm:pt-20 md:px-8 lg:pt-24 lg:pb-10",
60115
- ...o,
60114
+ className: W("bg-surface-primary px-4 py-6 sm:px-6 sm:pt-20 md:px-8 lg:pt-24 lg:pb-10", o),
60115
+ ...s,
60116
60116
  children: /* @__PURE__ */ R("div", {
60117
60117
  className: "mx-auto flex max-w-[1200px] flex-col gap-12 md:gap-16 lg:gap-32",
60118
60118
  children: [/* @__PURE__ */ R("div", {
@@ -60201,11 +60201,11 @@ var sEe = ({ image: e, title: t, description: n, className: r, ...i }) => /* @__
60201
60201
  children: n
60202
60202
  })]
60203
60203
  })
60204
- }), N7 = ({ letter: e, href: t, ref: n, ...r }) => /* @__PURE__ */ L("a", {
60205
- ref: n,
60204
+ }), N7 = ({ letter: e, href: t, className: n, ref: r, ...i }) => /* @__PURE__ */ L("a", {
60205
+ ref: r,
60206
60206
  href: t,
60207
- className: U("component-700 rounded-500 flex size-500 items-center justify-center", "outline-hidden", t ? "hover:bg-background-subdued-hover active:bg-background-subdued-down" : "opacity-30", "interaction-transition focus-visible:bg-background-subdued-hover focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring transition-all"),
60208
- ...r,
60207
+ className: W("component-700 rounded-500 flex size-500 items-center justify-center", "outline-hidden", t ? "hover:bg-background-subdued-hover active:bg-background-subdued-down" : "opacity-30", "interaction-transition focus-visible:bg-background-subdued-hover focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring transition-all", n),
60208
+ ...i,
60209
60209
  children: e
60210
60210
  });
60211
60211
  N7.displayName = "GlossaryLetterLink";
@@ -62014,17 +62014,17 @@ var fDe = Object.assign(r9, {
62014
62014
  className: "heading-thin-700 max-w-[600px] text-balance",
62015
62015
  children: e
62016
62016
  })]
62017
- }), ODe = ({ titleBlock: e, children: t, cta: n, ...r }) => {
62018
- let i = Se.count(t);
62017
+ }), ODe = ({ titleBlock: e, children: t, cta: n, className: r, ...i }) => {
62018
+ let a = Se.count(t);
62019
62019
  return /* @__PURE__ */ R("div", {
62020
- className: U("px-4 sm:px-6 md:px-8 xl:px-10", "pt-e700 pb-e1000", "gap-i600 flex flex-col items-stretch"),
62021
- ...r,
62020
+ className: W("px-4 sm:px-6 md:px-8 xl:px-10", "pt-e700 pb-e1000", "gap-i600 flex flex-col items-stretch", r),
62021
+ ...i,
62022
62022
  children: [e, /* @__PURE__ */ R("div", {
62023
62023
  className: "gap-i500 mx-auto flex w-full max-w-[1200px] flex-col",
62024
62024
  children: [/* @__PURE__ */ L("div", {
62025
62025
  className: U("grid w-full grid-cols-1 gap-6", {
62026
- "lg:grid-cols-2": i < 3,
62027
- "lg:grid-cols-3": i >= 3
62026
+ "lg:grid-cols-2": a < 3,
62027
+ "lg:grid-cols-3": a >= 3
62028
62028
  }),
62029
62029
  children: t
62030
62030
  }), n && /* @__PURE__ */ L("div", {
@@ -62412,24 +62412,24 @@ var kDe = ({ titleBlock: e, children: t, className: n, ...r }) => {
62412
62412
  className: U("bg-surface-primary border-misc-border absolute size-3 rounded-full border", "start-0 top-3", "lg:start-1/2 lg:top-14 lg:-translate-x-1/2 lg:rtl:translate-x-1/2")
62413
62413
  })
62414
62414
  ]
62415
- }), s9 = (({ as: e = "a", icon: t, title: n, description: r, image: i, ref: a, ...o }) => o.href ? /* @__PURE__ */ R(e, {
62416
- ref: a,
62417
- className: "group inline-flex w-full flex-col gap-3 outline-hidden",
62418
- ...o,
62415
+ }), s9 = (({ as: e = "a", className: t, icon: n, title: r, description: i, image: a, ref: o, ...s }) => s.href ? /* @__PURE__ */ R(e, {
62416
+ ref: o,
62417
+ className: W("group inline-flex w-full flex-col gap-3 outline-hidden", t),
62418
+ ...s,
62419
62419
  children: [/* @__PURE__ */ R("div", {
62420
62420
  className: U("relative flex", "rounded-500 aspect-video overflow-hidden", "group-focus-visible:ring-misc-focus-indicator group-focus-visible:misc-border-size-focus-ring", "transition-all"),
62421
- children: [i, /* @__PURE__ */ L("div", { className: "rounded-500 ring-misc-border pointer-events-none absolute inset-0 ring-1 ring-inset" })]
62421
+ children: [a, /* @__PURE__ */ L("div", { className: "rounded-500 ring-misc-border pointer-events-none absolute inset-0 ring-1 ring-inset" })]
62422
62422
  }), /* @__PURE__ */ R("div", {
62423
62423
  className: "flex flex-col gap-1",
62424
62424
  children: [/* @__PURE__ */ R("div", {
62425
62425
  className: "flex items-center",
62426
- children: [t, /* @__PURE__ */ L("span", {
62426
+ children: [n, /* @__PURE__ */ L("span", {
62427
62427
  className: "component-600 ms-1.25",
62428
- children: n
62428
+ children: r
62429
62429
  })]
62430
- }), r && /* @__PURE__ */ L("p", {
62430
+ }), i && /* @__PURE__ */ L("p", {
62431
62431
  className: "component-light-500 text-content-secondary",
62432
- children: r
62432
+ children: i
62433
62433
  })]
62434
62434
  })]
62435
62435
  }) : null);
@@ -62596,10 +62596,10 @@ var d9 = ({ title: e, subtitle: t, image: n, form: r, cta: i, dismiss: a, classN
62596
62596
  d9.displayName = "RaterPromoBanner";
62597
62597
  //#endregion
62598
62598
  //#region src/components/website/ToolSmallCard/ToolSmallCard.tsx
62599
- var f9 = (({ as: e = "a", title: t, image: n, ref: r, ...i }) => i.href ? /* @__PURE__ */ R(e, {
62600
- ref: r,
62601
- className: U("inline-flex items-center gap-2 py-1.5 ps-1.5 pe-3", "rounded-500 border-misc-hairline-emphasized misc-border-size-hairline", "hover:bg-background-borderless-subdued-hover", "active:bg-background-borderless-subdued-down", "focus-visible:bg-background-borderless-subdued-hover", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring outline-hidden transition-all"),
62602
- ...i,
62599
+ var f9 = (({ as: e = "a", title: t, image: n, className: r, ref: i, ...a }) => a.href ? /* @__PURE__ */ R(e, {
62600
+ ref: i,
62601
+ className: W("inline-flex items-center gap-2 py-1.5 ps-1.5 pe-3", "rounded-500 border-misc-hairline-emphasized misc-border-size-hairline", "hover:bg-background-borderless-subdued-hover", "active:bg-background-borderless-subdued-down", "focus-visible:bg-background-borderless-subdued-hover", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring outline-hidden transition-all", r),
62602
+ ...a,
62603
62603
  children: [!!n && /* @__PURE__ */ L("div", {
62604
62604
  className: "rounded-concentric-500-6px relative flex h-12 w-[85px] shrink-0 overflow-hidden [&_img]:size-full [&_img]:object-cover",
62605
62605
  children: n
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.845",
3
+ "version": "0.1.847",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [