@photoroom/ui 0.1.544 → 0.1.545

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
@@ -6949,49 +6949,49 @@ var sd = W("focus-visible:misc-border-size-focus-ring relative inline-flex w-fit
6949
6949
  size: "medium",
6950
6950
  density: "compact",
6951
6951
  icon: !1,
6952
- class: "content-to-edge-spacious-px-400 size-h-400"
6952
+ class: "size-h-400 px-3.25"
6953
6953
  },
6954
6954
  {
6955
6955
  size: "medium",
6956
6956
  density: "regular",
6957
6957
  icon: !1,
6958
- class: "content-to-edge-spacious-px-500 size-h-500"
6958
+ class: "size-h-500 px-4"
6959
6959
  },
6960
6960
  {
6961
6961
  size: "medium",
6962
6962
  density: "spacious",
6963
6963
  icon: !1,
6964
- class: "content-to-edge-spacious-px-600 size-h-600"
6964
+ class: "size-h-600 px-4.75"
6965
6965
  },
6966
6966
  {
6967
6967
  size: "large",
6968
6968
  density: "spacious",
6969
6969
  icon: !1,
6970
- class: "content-to-edge-spacious-px-700 size-h-700"
6970
+ class: "size-h-700 px-5.5"
6971
6971
  },
6972
6972
  {
6973
6973
  size: "medium",
6974
6974
  density: "compact",
6975
6975
  icon: !0,
6976
- class: "content-to-edge-spacious-pe-400 icon-to-edge-spacious-ps-400 size-h-400"
6976
+ class: "size-h-400 ps-2.75 pe-3.25"
6977
6977
  },
6978
6978
  {
6979
6979
  size: "medium",
6980
6980
  density: "regular",
6981
6981
  icon: !0,
6982
- class: "content-to-edge-spacious-pe-500 icon-to-edge-spacious-ps-500 size-h-500"
6982
+ class: "size-h-500 ps-3.5 pe-4"
6983
6983
  },
6984
6984
  {
6985
6985
  size: "medium",
6986
6986
  density: "spacious",
6987
6987
  icon: !0,
6988
- class: "content-to-edge-spacious-pe-600 icon-to-edge-spacious-ps-600 size-h-600"
6988
+ class: "size-h-600 ps-4.25 pe-4.75"
6989
6989
  },
6990
6990
  {
6991
6991
  size: "large",
6992
6992
  density: "spacious",
6993
6993
  icon: !0,
6994
- class: "content-to-edge-spacious-pe-700 icon-to-edge-spacious-ps-700 size-h-700"
6994
+ class: "size-h-700 ps-4.75 pe-5.5"
6995
6995
  }
6996
6996
  ]
6997
6997
  }), Hre = W("flex items-center justify-center", {
@@ -7031,8 +7031,8 @@ var sd = W("focus-visible:misc-border-size-focus-ring relative inline-flex w-fit
7031
7031
  class: "component-600"
7032
7032
  }]
7033
7033
  }), Ure = {
7034
- medium: "text-to-leading-500",
7035
- large: "text-to-leading-600"
7034
+ medium: "ms-2",
7035
+ large: "ms-2.5"
7036
7036
  }, fd = (({ as: t = "button", type: n, className: r, loading: i = !1, variant: a = "accent", size: o = "medium", density: s = "spacious", stacked: c, children: l, icon: u, ref: d, ...f }) => {
7037
7037
  let p = Bre({
7038
7038
  icon: u,
@@ -7152,7 +7152,7 @@ var Wre = ({ open: e, onClose: t, closeLabel: n, text: r, inlineAction: i, child
7152
7152
  }) }), md = (({ as: e = "button", icon: t, label: n, className: r, ref: i, ...a }) => /* @__PURE__ */ L(e, {
7153
7153
  ref: i,
7154
7154
  ...a,
7155
- className: H("inline-flex items-center justify-center gap-1.5", "content-to-edge-pe-500 size-h-500 shrink-0 ps-2.5", "rounded-500 border-misc-border misc-border-size-default", "bg-background-default hover:bg-background-hover focus-visible:bg-background-hover active:bg-background-down", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring focus-visible:outline-hidden", "component-500 text-content-white-primary-inverted", "interaction-transition transition-colors", r),
7155
+ className: H("inline-flex items-center justify-center gap-1.5", "size-h-500 shrink-0 ps-2.5 pe-3", "rounded-500 border-misc-border misc-border-size-default", "bg-background-default hover:bg-background-hover focus-visible:bg-background-hover active:bg-background-down", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring focus-visible:outline-hidden", "component-500 text-content-white-primary-inverted", "interaction-transition transition-colors", r),
7156
7156
  children: [/* @__PURE__ */ I(t, { className: "icon-size-400" }), n]
7157
7157
  }));
7158
7158
  md.displayName = "AppButton";
@@ -11311,8 +11311,8 @@ var Zh = (({ as: t = "button", type: n = "button", className: r, variant: a = "a
11311
11311
  ...d,
11312
11312
  disabled: s || d.disabled,
11313
11313
  className: U("relative shrink-0 appearance-none overflow-hidden", "flex items-center justify-center gap-[7px]", "rounded-500", "focus-visible:misc-border-size-focus-ring focus-visible:outline-hidden", "interaction-transition transition-colors", {
11314
- "icon-to-edge-pe-750 size-h-600 ps-[19px]": o === "medium",
11315
- "content-to-edge-spacious-ps-700 size-h-700 pe-[18px]": o === "large",
11314
+ "size-h-600 ps-4.75 pe-3.75": o === "medium",
11315
+ "size-h-700 ps-5.5 pe-[18px]": o === "large",
11316
11316
  "bg-background-accent hover:bg-background-accent-hover focus-visible:bg-background-accent-hover active:bg-background-accent-down": a === "accent",
11317
11317
  "bg-background-default hover:bg-background-hover focus-visible:bg-background-hover active:bg-background-down": a === "primary",
11318
11318
  "bg-background-white hover:bg-background-white-hover focus-visible:bg-background-white-hover active:bg-background-white-down": a === "on-dark",
@@ -11412,34 +11412,34 @@ var tg = W("inline-flex items-center justify-center", {
11412
11412
  size: "small",
11413
11413
  icon: !0,
11414
11414
  iconOnly: !1,
11415
- class: "content-to-edge-pe-200 p-1"
11415
+ class: "p-1 pe-1.25"
11416
11416
  },
11417
11417
  {
11418
11418
  size: "small",
11419
11419
  icon: !1,
11420
- class: "content-to-edge-px-200"
11420
+ class: "px-1.25"
11421
11421
  },
11422
11422
  {
11423
11423
  size: "medium",
11424
11424
  icon: !0,
11425
11425
  iconOnly: !1,
11426
- class: "content-to-edge-pe-250 p-[5px]"
11426
+ class: "p-[5px] pe-1.5"
11427
11427
  },
11428
11428
  {
11429
11429
  size: "medium",
11430
11430
  icon: !1,
11431
- class: "content-to-edge-px-250"
11431
+ class: "px-1.5"
11432
11432
  },
11433
11433
  {
11434
11434
  size: "large",
11435
11435
  icon: !0,
11436
11436
  iconOnly: !1,
11437
- class: "content-to-edge-pe-300 p-[5px]"
11437
+ class: "p-[5px] pe-1.75"
11438
11438
  },
11439
11439
  {
11440
11440
  size: "large",
11441
11441
  icon: !1,
11442
- class: "content-to-edge-px-300"
11442
+ class: "px-1.75"
11443
11443
  },
11444
11444
  {
11445
11445
  iconOnly: !0,
@@ -12198,7 +12198,7 @@ var qg = /* @__PURE__ */ function(e) {
12198
12198
  className: H("justify-self-center", r && "invisible"),
12199
12199
  children: c
12200
12200
  }), /* @__PURE__ */ I("span", {
12201
- className: "icon-to-edge-py-750 justify-self-center",
12201
+ className: "justify-self-center py-3.75",
12202
12202
  children: r ? /* @__PURE__ */ I(e, { className: H("icon-size-500", n === qg.Google ? "text-white" : "text-content-accent") }) : t
12203
12203
  })] }) : /* @__PURE__ */ I(me, { children: r ? /* @__PURE__ */ I(e, { className: H("icon-size-500", n === qg.Google ? "text-white" : "text-content-accent") }) : /* @__PURE__ */ I("span", {
12204
12204
  className: r ? "invisible" : "",
@@ -12359,7 +12359,7 @@ var a_ = ({ isSelected: e, ref: t, ...n }) => /* @__PURE__ */ I(r_, {
12359
12359
  a_.displayName = "OverlaySelectButton";
12360
12360
  //#endregion
12361
12361
  //#region src/components/action/PullDownButton/utils.ts
12362
- var o_ = W("content-to-edge-px-650 flex h-10 items-center justify-center", { variants: { withLabel: {
12362
+ var o_ = W("flex h-10 items-center justify-center px-4", { variants: { withLabel: {
12363
12363
  true: "size-h-600",
12364
12364
  false: "size-h-500"
12365
12365
  } } }), s_ = W("component-300 overflow-hidden text-start text-ellipsis whitespace-nowrap", { variants: { variant: {
@@ -12389,7 +12389,7 @@ var o_ = W("content-to-edge-px-650 flex h-10 items-center justify-center", { var
12389
12389
  }) : i;
12390
12390
  }, d_ = (({ as: e = "button", variant: t = "accent", className: n, children: r, label: i, badge: a, ref: o, ...s }) => /* @__PURE__ */ L(e, {
12391
12391
  ref: o,
12392
- className: td(H("content-to-edge-px-650 flex max-w-full items-center justify-center", sd({
12392
+ className: td(H("flex max-w-full items-center justify-center px-4", sd({
12393
12393
  variant: t,
12394
12394
  loading: !1
12395
12395
  }), o_({ withLabel: !!i }), n)),
@@ -12408,7 +12408,7 @@ var o_ = W("content-to-edge-px-650 flex h-10 items-center justify-center", { var
12408
12408
  children: i ?? r
12409
12409
  })]
12410
12410
  }), /* @__PURE__ */ I(d, {
12411
- className: "text-to-leading-compact-500 icon-size-400",
12411
+ className: "icon-size-400 ms-1",
12412
12412
  "aria-hidden": !0
12413
12413
  })]
12414
12414
  }));
@@ -31209,7 +31209,7 @@ var XH = (({ as: e, icon: t, title: n, description: r, href: i, className: a, di
31209
31209
  className: "body-500 text-content-secondary line-clamp-2",
31210
31210
  children: r
31211
31211
  })]
31212
- })] }), d = H("rounded-500 content-to-edge-spacious-px-500 flex items-start gap-4 py-4", "border-misc-border bg-surface-higher border transition-colors duration-150 ease-in-out", "overflow-hidden text-start", "cursor-pointer", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring outline-hidden", "hover:border-misc-border-hover", "active:border-misc-border-down", "focus-visible:border-misc-border-hover", "h-auto w-full grow", { "pointer-events-none cursor-not-allowed opacity-50": o }, a), f = e || (i ? "a" : "button"), p = {
31212
+ })] }), d = H("rounded-500 flex items-start gap-4 px-4 py-4", "border-misc-border bg-surface-higher border transition-colors duration-150 ease-in-out", "overflow-hidden text-start", "cursor-pointer", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring outline-hidden", "hover:border-misc-border-hover", "active:border-misc-border-down", "focus-visible:border-misc-border-hover", "h-auto w-full grow", { "pointer-events-none cursor-not-allowed opacity-50": o }, a), f = e || (i ? "a" : "button"), p = {
31213
31213
  className: d,
31214
31214
  onClick: s
31215
31215
  };
@@ -31522,7 +31522,7 @@ var wU = 175, TU = typeof window < "u" ? Me : De, EU = ({ label: e, isSelected:
31522
31522
  }), /* @__PURE__ */ I("hr", { className: H("h-px flex-1 border-none", t ? "bg-background-accent" : "bg-misc-border group-hover:bg-misc-border-emphasized") })]
31523
31523
  });
31524
31524
  }, DU = ({ label: e, className: t }) => /* @__PURE__ */ I("kbd", {
31525
- className: U("content-to-edge-px-300 inline-block shrink-0", "rounded-300 bg-background-subdued", "component-400 font-brand text-content-secondary leading-6 uppercase", "text-center whitespace-nowrap", t),
31525
+ className: U("inline-block shrink-0 px-1.75", "rounded-300 bg-background-subdued", "component-400 font-brand text-content-secondary leading-6 uppercase", "text-center whitespace-nowrap", t),
31526
31526
  children: e
31527
31527
  }), OU = ({ labels: e, onRename: t, onMoveUp: n, onMoveDown: r, onDownloadAsZip: i, onDelete: a, isMoveUpDisabled: o, isMoveDownDisabled: s, isDownloadAsZipDisabled: c, formatShortcut: l }) => /* @__PURE__ */ L(me, { children: [
31528
31528
  /* @__PURE__ */ I(eH.Item, {
@@ -32701,7 +32701,7 @@ var BW = ({ indeterminate: e, defaultIndeterminate: t, onIndeterminateChange: n,
32701
32701
  }, VW = ({ label: e, description: t, tooltip: n, isTooltipDisabled: r, className: i, inverted: a = !1, indeterminate: o, defaultIndeterminate: s, onIndeterminateChange: c, variant: l, size: u, ...d }) => {
32702
32702
  let f = ke(), p = d.id || f;
32703
32703
  return /* @__PURE__ */ L("div", {
32704
- className: H("group content-to-edge-py-250 flex items-start gap-3", a ? "flex-row-reverse" : "flex-row", i),
32704
+ className: H("group flex items-start gap-3 py-1.5", a ? "flex-row-reverse" : "flex-row", i),
32705
32705
  children: [/* @__PURE__ */ I(BW, {
32706
32706
  ...d,
32707
32707
  id: p,
@@ -36732,7 +36732,7 @@ var JY = ({ icon: e, label: t, className: n, chevron: r = !1, tooltip: i, ref: a
36732
36732
  ...o,
36733
36733
  ref: a,
36734
36734
  "aria-label": o["aria-label"] ?? (s ? i : void 0),
36735
- className: H("group shrink-0 cursor-pointer outline-hidden", "inline-flex items-center justify-center", "rounded-300", "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", "text-content-primary", "disabled:cursor-not-allowed disabled:opacity-30", "interaction-transition transition-all", s && !r && "size-400", s && r && "size-h-400 content-to-edge-ps-250 content-to-edge-pe-150 gap-1", c && !r && "content-to-edge-px-400 size-h-400", c && r && "content-to-edge-ps-400 content-to-edge-pe-250 size-h-400 gap-1", l && !r && "content-to-edge-pe-400 icon-to-edge-ps-400 size-h-400 gap-2", l && r && "icon-to-edge-ps-400 content-to-edge-pe-250 size-h-400 gap-1", n),
36735
+ className: H("group shrink-0 cursor-pointer outline-hidden", "inline-flex items-center justify-center", "rounded-300", "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", "text-content-primary", "disabled:cursor-not-allowed disabled:opacity-30", "interaction-transition transition-all", s && !r && "size-400", s && r && "size-h-400 gap-1 ps-1.5 pe-1", c && !r && "size-h-400 px-2.5", c && r && "size-h-400 gap-1 ps-2.5 pe-1.5", l && !r && "size-h-400 gap-2 ps-2 pe-2.5", l && r && "size-h-400 gap-1 ps-2 pe-1.5", n),
36736
36736
  children: r ? /* @__PURE__ */ L(me, { children: [/* @__PURE__ */ I("span", {
36737
36737
  className: "flex items-center gap-2",
36738
36738
  children: u
@@ -36786,8 +36786,8 @@ var XY = W([
36786
36786
  },
36787
36787
  content: {
36788
36788
  icon: "size-400",
36789
- label: "content-to-edge-px-400 size-h-400",
36790
- "icon-label": "content-to-edge-pe-400 icon-to-edge-ps-400 size-h-400 gap-2"
36789
+ label: "size-h-400 px-2.5",
36790
+ "icon-label": "size-h-400 gap-2 ps-2 pe-2.5"
36791
36791
  }
36792
36792
  },
36793
36793
  defaultVariants: {
@@ -36846,7 +36846,7 @@ var eX = 4e3, tX = ({ backgroundColor: e, displayName: t, initials: n, isLast: r
36846
36846
  l();
36847
36847
  }, [l]), /* @__PURE__ */ I("span", {
36848
36848
  ref: a,
36849
- className: H("ms-[-9px]", "h-5 min-w-5", "content-to-edge-px-250", "body-400 text-center whitespace-nowrap text-white", r ? "rounded-300" : "rounded-s-300"),
36849
+ className: H("ms-[-9px]", "h-5 min-w-5", "px-1.5", "body-400 text-center whitespace-nowrap text-white", r ? "rounded-300" : "rounded-s-300"),
36850
36850
  style: { backgroundColor: e },
36851
36851
  children: s
36852
36852
  });
@@ -47001,7 +47001,7 @@ var jhe = ({ type: e = "prompt", image: t, icon: n = ee, label: r, ...i }) => {
47001
47001
  "active:bg-background-borderless-subdued-down",
47002
47002
  "focus-visible:bg-surface-high",
47003
47003
  "disabled:bg-surface-high"
47004
- ], n ? "content-to-edge-pe-400 icon-to-edge-ps-400 gap-2" : "content-to-edge-px-400", r),
47004
+ ], n ? "gap-2 ps-2 pe-2.5" : "px-2.5", r),
47005
47005
  ...a,
47006
47006
  children: [!!n && /* @__PURE__ */ I("span", {
47007
47007
  role: "presentation",
@@ -47171,7 +47171,7 @@ x4.displayName = "CanvasInput";
47171
47171
  var Rhe = ({ label: e, className: t, description: n, tooltip: r, isTooltipDisabled: i, variant: a, ...o }) => {
47172
47172
  let s = ke(), c = o.id || s;
47173
47173
  return /* @__PURE__ */ L("div", {
47174
- className: H("content-to-edge-py-250 flex items-start gap-3", {
47174
+ className: H("flex items-start gap-3 py-1.5", {
47175
47175
  "pointer-events-none opacity-30": o.disabled,
47176
47176
  "cursor-pointer": !o.disabled
47177
47177
  }, t),
@@ -49260,7 +49260,7 @@ R3.displayName = "PromptInput";
49260
49260
  //#region src/components/input/RadioGroup/RadioGroupItem/RadioGroupItem.tsx
49261
49261
  var Nge = ({ label: e, description: t, className: n, ...r }) => /* @__PURE__ */ I(GG, {
49262
49262
  ...r,
49263
- className: H("group/radiogroupitem content-to-edge-py-250 relative focus-visible:outline-hidden", n),
49263
+ className: H("group/radiogroupitem relative py-1.5 focus-visible:outline-hidden", n),
49264
49264
  children: /* @__PURE__ */ L("div", {
49265
49265
  className: H("flex gap-4 text-start", {
49266
49266
  "pointer-events-none opacity-30": r.disabled,
@@ -50780,7 +50780,7 @@ var L_e = ({ value: e, defaultValue: t = 0, onValueChange: n, onNumberFieldValue
50780
50780
  ...o
50781
50781
  }), [o, s]);
50782
50782
  return /* @__PURE__ */ L("div", {
50783
- className: H("content-to-edge-py-250 flex items-start gap-4", a),
50783
+ className: H("flex items-start gap-4 py-1.5", a),
50784
50784
  children: [/* @__PURE__ */ I(VW.Indicator, {
50785
50785
  "aria-labelledby": `${c.id}-label`,
50786
50786
  ...c,
@@ -50879,7 +50879,7 @@ F6.displayName = "TagField";
50879
50879
  //#region src/components/input/TextEditionBox/TextEditionBox.tsx
50880
50880
  var I6 = ({ className: e, ref: t, ...n }) => /* @__PURE__ */ I(EP, {
50881
50881
  ref: t,
50882
- className: H("component-500 rounded-500 bg-black-alpha-800", "max-w-full", "text-content-white-primary placeholder-content-white-secondary", "icon-to-edge-py-450 px-[10px]", "backdrop-blur-2xl", "border-none! ring-0!", e),
50882
+ className: H("component-500 rounded-500 bg-black-alpha-800", "max-w-full", "text-content-white-primary placeholder-content-white-secondary", "px-2.5 py-2.25", "backdrop-blur-2xl", "border-none! ring-0!", e),
50883
50883
  minRows: 1,
50884
50884
  ...n
50885
50885
  });
@@ -52270,7 +52270,7 @@ q8.Item = G8;
52270
52270
  //#endregion
52271
52271
  //#region src/components/navigation/TagGroup/Tag/Tag.tsx
52272
52272
  var J8 = (({ as: e = "a", children: t, className: n, onClick: r, href: i, ref: a, ...o }) => /* @__PURE__ */ L(e, {
52273
- className: H("max-w-full", "content-to-edge-ps-700 icon-to-edge-pe-700 size-h-700", "interaction-transition cursor-pointer rounded-full outline-hidden", "component-semi-strong-600 bg-background-subdued text-content-primary", "hover:bg-background-subdued-hover", "active:bg-background-subdued-down", "focus-visible:bg-background-subdued-hover focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "inline-flex items-center gap-1", n),
52273
+ className: H("max-w-full", "size-h-700 ps-4.25 pe-3.5", "interaction-transition cursor-pointer rounded-full outline-hidden", "component-semi-strong-600 bg-background-subdued text-content-primary", "hover:bg-background-subdued-hover", "active:bg-background-subdued-down", "focus-visible:bg-background-subdued-hover focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "inline-flex items-center gap-1", n),
52274
52274
  href: i,
52275
52275
  onClick: r,
52276
52276
  role: "link",
@@ -52295,7 +52295,7 @@ var X8 = (({ selected: e, children: t, className: n, as: r = "button", ref: i, .
52295
52295
  ref: i,
52296
52296
  ...r === "button" ? { type: "button" } : {},
52297
52297
  "aria-pressed": r === "button" ? e : void 0,
52298
- className: U("inline-flex items-center", "content-to-edge-px-300 h-6", "outline-hidden", "rounded-300", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "component-400 whitespace-nowrap", { "shadow-[inset_0_0_0_0.5px_var(--color-misc-border-default)]": !e }, {
52298
+ className: U("inline-flex items-center", "h-6 px-1.75", "outline-hidden", "rounded-300", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "component-400 whitespace-nowrap", { "shadow-[inset_0_0_0_0.5px_var(--color-misc-border-default)]": !e }, {
52299
52299
  "bg-background-default": e,
52300
52300
  "hover:bg-background-hover focus-visible:bg-background-hover active:bg-background-down": e,
52301
52301
  "hover:bg-background-subdued-hover focus-visible:bg-background-subdued-hover active:bg-background-subdued-down": !e
@@ -55524,7 +55524,7 @@ var rxe = ({ title: e, children: t, cta: n, className: r }) => {
55524
55524
  ]
55525
55525
  });
55526
55526
  }, ixe = ({ variant: e = "default", author: t, children: n, className: r, ...i }) => /* @__PURE__ */ L("blockquote", {
55527
- className: H("not-prose flex flex-col gap-4", "content-to-edge-spacious-ps-700 my-10 sm:my-12 sm:ps-[30px]", "border-misc-border border-s-2", r),
55527
+ className: H("not-prose flex flex-col gap-4", "my-10 ps-5.5 sm:my-12 sm:ps-[30px]", "border-misc-border border-s-2", r),
55528
55528
  ...i,
55529
55529
  children: [/* @__PURE__ */ I("div", {
55530
55530
  className: H("text-content-primary", {
@@ -56764,7 +56764,7 @@ var Zxe = ({ titleBlock: e, logoWallBlock: t, children: n, className: r, ...i })
56764
56764
  })]
56765
56765
  }), I7 = ({ language: e, translatedLanguage: t, selected: n, onClick: r, className: i, ...a }) => /* @__PURE__ */ L("button", {
56766
56766
  tabIndex: 0,
56767
- className: H("rounded-500 content-to-edge-px-500 box-border flex h-16 w-full flex-col justify-center gap-1 border-2 text-start", "transition-all duration-100", "hover:cursor-pointer", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring outline-hidden", {
56767
+ className: H("rounded-500 box-border flex h-16 w-full flex-col justify-center gap-1 border-2 px-3 text-start", "transition-all duration-100", "hover:cursor-pointer", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring outline-hidden", {
56768
56768
  "border-content-primary": n,
56769
56769
  "border-transparent": !n,
56770
56770
  "hover:bg-background-borderless-subdued-hover focus-visible:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down": !n
@@ -57691,7 +57691,7 @@ var CSe = ({ lang: e, monthlyProcessedImages: t = 1e3, items: n, partnerCard: r,
57691
57691
  }), a && /* @__PURE__ */ I("div", {
57692
57692
  className: "flex items-center",
57693
57693
  children: /* @__PURE__ */ I("div", {
57694
- className: "component-semi-strong-400 rounded-200 bg-content-accent content-to-edge-px-300 py-[2px] text-white",
57694
+ className: "component-semi-strong-400 rounded-200 bg-content-accent px-1.75 py-[2px] text-white",
57695
57695
  children: a
57696
57696
  })
57697
57697
  })]
@@ -57752,7 +57752,7 @@ var CSe = ({ lang: e, monthlyProcessedImages: t = 1e3, items: n, partnerCard: r,
57752
57752
  children: n && /* @__PURE__ */ I("div", {
57753
57753
  className: "block *:w-full",
57754
57754
  children: v ? /* @__PURE__ */ I("div", {
57755
- className: H("flex items-center justify-center", "content-to-edge-spacious-px-600 h-12", "rounded-500 border-neutral-alpha-400 border border-dashed", "component-500 text-content-secondary"),
57755
+ className: H("flex items-center justify-center", "h-12 px-4.75", "rounded-500 border-neutral-alpha-400 border border-dashed", "component-500 text-content-secondary"),
57756
57756
  children: y
57757
57757
  }) : n
57758
57758
  })
@@ -58469,7 +58469,7 @@ var iCe = ({ titleBlock: e, content: t, ctaLabel: n, ctaLink: r, ...i }) => /* @
58469
58469
  children: [/* @__PURE__ */ L("div", {
58470
58470
  className: "flex items-center",
58471
58471
  children: [t, /* @__PURE__ */ I("span", {
58472
- className: "component-600 text-to-leading-compact-600",
58472
+ className: "component-600 ms-1.25",
58473
58473
  children: n
58474
58474
  })]
58475
58475
  }), r && /* @__PURE__ */ I("p", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.544",
3
+ "version": "0.1.545",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [
package/theme.css CHANGED
@@ -391,69 +391,6 @@
391
391
  --animate-nav-content-fade-out: nav-content-fade-out 450ms cubic-bezier(0.16, 1, 0.3, 1);
392
392
  }
393
393
 
394
- /*
395
- * Content-to-edge spacing tokens (used only by the @utility blocks below)
396
- * https://www.figma.com/file/cHgANa7dtzDDGXk7dKuAOQ/Design-system?node-id=11366-12472
397
- */
398
- @theme {
399
- --content-edge-150: 4px;
400
- --content-edge-200: 5px;
401
- --content-edge-250: 6px;
402
- --content-edge-300: 7px;
403
- --content-edge-350: 8px;
404
- --content-edge-400: 10px;
405
- --content-edge-450: 11px;
406
- --content-edge-500: 12px;
407
- --content-edge-550: 13px;
408
- --content-edge-600: 14px;
409
- --content-edge-650: 16px;
410
- --content-edge-700: 17px;
411
- --content-edge-750: 18px;
412
- --content-edge-800: 19px;
413
-
414
- --content-edge-spacious-200: 6px;
415
- --content-edge-spacious-250: 8px;
416
- --content-edge-spacious-300: 10px;
417
- --content-edge-spacious-350: 11px;
418
- --content-edge-spacious-400: 13px;
419
- --content-edge-spacious-450: 14px;
420
- --content-edge-spacious-500: 16px;
421
- --content-edge-spacious-550: 18px;
422
- --content-edge-spacious-600: 19px;
423
- --content-edge-spacious-650: 21px;
424
- --content-edge-spacious-700: 22px;
425
- --content-edge-spacious-750: 24px;
426
- --content-edge-spacious-800: 26px;
427
-
428
- --icon-edge-200: 4px;
429
- --icon-edge-250: 5px;
430
- --icon-edge-300: 6px;
431
- --icon-edge-350: 6px;
432
- --icon-edge-400: 8px;
433
- --icon-edge-450: 9px;
434
- --icon-edge-500: 10px;
435
- --icon-edge-550: 11px;
436
- --icon-edge-600: 12px;
437
- --icon-edge-650: 13px;
438
- --icon-edge-700: 14px;
439
- --icon-edge-750: 15px;
440
- --icon-edge-800: 16px;
441
-
442
- --icon-edge-spacious-200: 5px;
443
- --icon-edge-spacious-250: 7px;
444
- --icon-edge-spacious-300: 9px;
445
- --icon-edge-spacious-350: 9px;
446
- --icon-edge-spacious-400: 11px;
447
- --icon-edge-spacious-450: 12px;
448
- --icon-edge-spacious-500: 14px;
449
- --icon-edge-spacious-550: 16px;
450
- --icon-edge-spacious-600: 17px;
451
- --icon-edge-spacious-650: 18px;
452
- --icon-edge-spacious-700: 19px;
453
- --icon-edge-spacious-750: 21px;
454
- --icon-edge-spacious-800: 23px;
455
- }
456
-
457
394
  /*
458
395
  * Custom utilities (replaces src/plugins/transitions.js)
459
396
  * https://www.figma.com/design/cHgANa7dtzDDGXk7dKuAOQ/Prism?node-id=62868-23303&m=dev
@@ -463,29 +400,6 @@
463
400
  transition-duration: 200ms;
464
401
  }
465
402
 
466
- /*
467
- * Icon offset utilities (replaces src/plugins/icon-offset.js)
468
- * https://www.figma.com/file/cHgANa7dtzDDGXk7dKuAOQ/Design-system?node-id=11366-12440
469
- */
470
- @utility icon-offset-200 {
471
- margin-left: -1.2px;
472
- }
473
- @utility icon-offset-300 {
474
- margin-left: -1.4px;
475
- }
476
- @utility icon-offset-400 {
477
- margin-left: -1.7px;
478
- }
479
- @utility icon-offset-500 {
480
- margin-left: -2px;
481
- }
482
- @utility icon-offset-600 {
483
- margin-left: -2.4px;
484
- }
485
- @utility icon-offset-700 {
486
- margin-left: -2.9px;
487
- }
488
-
489
403
  /*
490
404
  * Icon size utilities (replaces src/plugins/icon-size.js)
491
405
  * https://www.figma.com/file/cHgANa7dtzDDGXk7dKuAOQ/Design-system?node-id=11366-12716
@@ -678,56 +592,6 @@
678
592
  background-size: 28px 28px;
679
593
  }
680
594
 
681
- /*
682
- * Text-to-leading utilities (replaces src/plugins/text-to-leading.js)
683
- * https://www.figma.com/file/cHgANa7dtzDDGXk7dKuAOQ/Design-system?node-id=11366-12592
684
- */
685
- @utility text-to-leading-300 {
686
- margin-inline-start: 6px;
687
- }
688
- @utility text-to-leading-400 {
689
- margin-inline-start: 7px;
690
- }
691
- @utility text-to-leading-500 {
692
- margin-inline-start: 8px;
693
- }
694
- @utility text-to-leading-600 {
695
- margin-inline-start: 10px;
696
- }
697
- @utility text-to-leading-700 {
698
- margin-inline-start: 12px;
699
- }
700
- @utility text-to-leading-compact-300 {
701
- margin-inline-start: 3px;
702
- }
703
- @utility text-to-leading-compact-400 {
704
- margin-inline-start: 3.3px;
705
- }
706
- @utility text-to-leading-compact-500 {
707
- margin-inline-start: 4px;
708
- }
709
- @utility text-to-leading-compact-600 {
710
- margin-inline-start: 5px;
711
- }
712
- @utility text-to-leading-compact-700 {
713
- margin-inline-start: 6px;
714
- }
715
- @utility text-to-leading-spacious-300 {
716
- margin-inline-start: 8px;
717
- }
718
- @utility text-to-leading-spacious-400 {
719
- margin-inline-start: 10px;
720
- }
721
- @utility text-to-leading-spacious-500 {
722
- margin-inline-start: 12px;
723
- }
724
- @utility text-to-leading-spacious-600 {
725
- margin-inline-start: 14px;
726
- }
727
- @utility text-to-leading-spacious-700 {
728
- margin-inline-start: 17px;
729
- }
730
-
731
595
  /*
732
596
  * Misc design-system utilities (replaces src/plugins/misc.js)
733
597
  * https://www.figma.com/file/cHgANa7dtzDDGXk7dKuAOQ/Design-system?node-id=20464-7406
@@ -830,70 +694,6 @@
830
694
  color: transparent;
831
695
  }
832
696
 
833
- /* Content to edge (replaces src/plugins/content-to-edge.js) */
834
- @utility content-to-edge-pl-* {
835
- padding-left: --value(--content-edge-*);
836
- }
837
- @utility content-to-edge-pr-* {
838
- padding-right: --value(--content-edge-*);
839
- }
840
- @utility content-to-edge-ps-* {
841
- padding-inline-start: --value(--content-edge-*);
842
- }
843
- @utility content-to-edge-pe-* {
844
- padding-inline-end: --value(--content-edge-*);
845
- }
846
- @utility content-to-edge-px-* {
847
- padding-inline: --value(--content-edge-*);
848
- }
849
- @utility content-to-edge-py-* {
850
- padding-block: --value(--content-edge-*);
851
- }
852
- @utility content-to-edge-spacious-pl-* {
853
- padding-left: --value(--content-edge-spacious-*);
854
- }
855
- @utility content-to-edge-spacious-pr-* {
856
- padding-right: --value(--content-edge-spacious-*);
857
- }
858
- @utility content-to-edge-spacious-px-* {
859
- padding-inline: --value(--content-edge-spacious-*);
860
- }
861
- @utility content-to-edge-spacious-ps-* {
862
- padding-inline-start: --value(--content-edge-spacious-*);
863
- }
864
- @utility content-to-edge-spacious-pe-* {
865
- padding-inline-end: --value(--content-edge-spacious-*);
866
- }
867
-
868
- /* Icon to edge (replaces src/plugins/icon-to-edge.js) */
869
- @utility icon-to-edge-pl-* {
870
- padding-left: --value(--icon-edge-*);
871
- }
872
- @utility icon-to-edge-pr-* {
873
- padding-right: --value(--icon-edge-*);
874
- }
875
- @utility icon-to-edge-ps-* {
876
- padding-inline-start: --value(--icon-edge-*);
877
- }
878
- @utility icon-to-edge-pe-* {
879
- padding-inline-end: --value(--icon-edge-*);
880
- }
881
- @utility icon-to-edge-py-* {
882
- padding-block: --value(--icon-edge-*);
883
- }
884
- @utility icon-to-edge-spacious-pl-* {
885
- padding-left: --value(--icon-edge-spacious-*);
886
- }
887
- @utility icon-to-edge-spacious-pr-* {
888
- padding-right: --value(--icon-edge-spacious-*);
889
- }
890
- @utility icon-to-edge-spacious-ps-* {
891
- padding-inline-start: --value(--icon-edge-spacious-*);
892
- }
893
- @utility icon-to-edge-spacious-pe-* {
894
- padding-inline-end: --value(--icon-edge-spacious-*);
895
- }
896
-
897
697
  /*
898
698
  * Size utilities (replaces src/plugins/size.js)
899
699
  * https://www.figma.com/file/cHgANa7dtzDDGXk7dKuAOQ/Design-system?node-id=16712-19165