@photoroom/ui 0.1.661 → 0.1.662

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
@@ -33803,8 +33803,8 @@ uG.displayName = "CheckboxPullDown";
33803
33803
  //#endregion
33804
33804
  //#region src/components/content/ColumnHeader/ColumnHeader.tsx
33805
33805
  var dG = ({ selection: e, reserveSelection: t, productLabel: n, imagesLabel: r, statusLabel: i, listingScoreLabel: a, className: o }) => {
33806
- let s = "w-[339px]";
33807
- return e ? s = "w-[298px]" : t && (s = "w-[366px]"), /* @__PURE__ */ L("div", {
33806
+ let s = !e && t ? "min-w-[308px]" : "min-w-60";
33807
+ return /* @__PURE__ */ L("div", {
33808
33808
  className: U("bg-surface-high flex flex-col gap-2 pt-2", o),
33809
33809
  children: [/* @__PURE__ */ L("div", {
33810
33810
  className: "flex items-center px-4",
@@ -33816,23 +33816,23 @@ var dG = ({ selection: e, reserveSelection: t, productLabel: n, imagesLabel: r,
33816
33816
  menuLabel: e.menuLabel,
33817
33817
  menuExpanded: e.menuExpanded
33818
33818
  }), /* @__PURE__ */ L("div", {
33819
- className: H("flex flex-1 items-center", e && "ps-3"),
33819
+ className: H("flex min-w-0 flex-1 items-center", e && "ps-3"),
33820
33820
  children: [
33821
33821
  /* @__PURE__ */ I(fG, {
33822
- className: H("shrink-0", s),
33822
+ className: H("flex-1", s),
33823
33823
  first: !0,
33824
33824
  children: n
33825
33825
  }),
33826
33826
  /* @__PURE__ */ I(fG, {
33827
- className: "w-[245px] shrink-0",
33827
+ className: "w-[245px] min-w-40",
33828
33828
  children: r
33829
33829
  }),
33830
33830
  /* @__PURE__ */ I(fG, {
33831
- className: "w-[245px] shrink-0",
33831
+ className: "w-[245px] min-w-40",
33832
33832
  children: i
33833
33833
  }),
33834
33834
  /* @__PURE__ */ I(fG, {
33835
- className: "w-[245px] shrink-0",
33835
+ className: "w-[245px] min-w-40",
33836
33836
  children: a
33837
33837
  })
33838
33838
  ]
@@ -34992,7 +34992,7 @@ var dK = W("rounded-300 component-semi-strong-300 inline-flex h-5 w-fit items-ce
34992
34992
  }, vK = ({ status: e, label: t }) => {
34993
34993
  let n = e === "none";
34994
34994
  return /* @__PURE__ */ L("div", {
34995
- className: "flex w-[245px] shrink-0 items-center gap-2 ps-3",
34995
+ className: "flex w-[245px] min-w-40 items-center gap-2 ps-3",
34996
34996
  children: [!n && /* @__PURE__ */ I("span", {
34997
34997
  "aria-hidden": "true",
34998
34998
  className: H("size-2 shrink-0 rounded-full", _K[e])
@@ -35018,7 +35018,7 @@ var dK = W("rounded-300 component-semi-strong-300 inline-flex h-5 w-fit items-ce
35018
35018
  onClick: l,
35019
35019
  onKeyDown: f,
35020
35020
  children: [/* @__PURE__ */ L("div", {
35021
- className: "flex items-center ps-4 pt-3",
35021
+ className: "flex items-center px-4 pt-3",
35022
35022
  children: [
35023
35023
  c && /* @__PURE__ */ I("span", {
35024
35024
  className: "flex h-10 w-9 shrink-0 items-center justify-center",
@@ -35035,10 +35035,10 @@ var dK = W("rounded-300 component-semi-strong-300 inline-flex h-5 w-fit items-ce
35035
35035
  "aria-hidden": "true"
35036
35036
  }),
35037
35037
  /* @__PURE__ */ L("div", {
35038
- className: H("flex flex-1 items-center", c && "ps-3"),
35038
+ className: H("flex min-w-0 flex-1 items-center", c && "ps-3"),
35039
35039
  children: [
35040
35040
  /* @__PURE__ */ L("div", {
35041
- className: H("flex shrink-0 items-center gap-4 ps-3", c ? "w-[298px]" : "w-[339px]"),
35041
+ className: "flex min-w-60 flex-1 items-center gap-4 ps-3",
35042
35042
  children: [/* @__PURE__ */ I(gK, {
35043
35043
  size: "small",
35044
35044
  bordered: !0,
@@ -35047,7 +35047,7 @@ var dK = W("rounded-300 component-semi-strong-300 inline-flex h-5 w-fit items-ce
35047
35047
  }), /* @__PURE__ */ L("div", {
35048
35048
  className: "flex min-w-0 flex-col items-start justify-center",
35049
35049
  children: [/* @__PURE__ */ I("p", {
35050
- className: "component-500 font-600 text-content-primary block max-w-full truncate",
35050
+ className: "component-500 font-600 text-content-primary line-clamp-2 max-w-full wrap-anywhere",
35051
35051
  children: e
35052
35052
  }), a != null && /* @__PURE__ */ I(fK, {
35053
35053
  background: !1,
@@ -35056,7 +35056,7 @@ var dK = W("rounded-300 component-semi-strong-300 inline-flex h-5 w-fit items-ce
35056
35056
  })]
35057
35057
  }),
35058
35058
  /* @__PURE__ */ I("span", {
35059
- className: "component-500 text-content-tertiary w-[245px] shrink-0 truncate ps-3",
35059
+ className: "component-500 text-content-tertiary w-[245px] min-w-40 truncate ps-3",
35060
35060
  children: n
35061
35061
  }),
35062
35062
  /* @__PURE__ */ I(vK, {
@@ -35064,7 +35064,7 @@ var dK = W("rounded-300 component-semi-strong-300 inline-flex h-5 w-fit items-ce
35064
35064
  label: i
35065
35065
  }),
35066
35066
  /* @__PURE__ */ I("div", {
35067
- className: "w-[245px] shrink-0 ps-3",
35067
+ className: "w-[245px] min-w-40 ps-3",
35068
35068
  children: o ? /* @__PURE__ */ I(uK, { ...o }) : /* @__PURE__ */ I("span", {
35069
35069
  className: "component-500 text-content-tertiary",
35070
35070
  "aria-label": s,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.661",
3
+ "version": "0.1.662",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [