@photoroom/ui 0.1.732 → 0.1.734

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
@@ -37726,19 +37726,19 @@ var Yme = ({ open: e, defaultOpen: t, onOpenChange: n, trigger: r, visual: i, ti
37726
37726
  bY.displayName = "DropdownListBox";
37727
37727
  //#endregion
37728
37728
  //#region src/components/dropdown/DropdownListBox/DropdownMenuSingleSelectionItem.tsx
37729
- var xY = ({ label: e, selected: t, badge: n, thumbnail: r, icon: i, multiline: a = !1, ref: o, ...s }) => {
37730
- let c = n?.avatar ? be(n.avatar, {
37729
+ var xY = ({ label: e, selected: t, badge: n, thumbnail: r, icon: i, multiline: a = !1, className: o, ref: s, ...c }) => {
37730
+ let u = n?.avatar ? be(n.avatar, {
37731
37731
  className: H("pointer-events-none shrink-0", n.avatar.props.className),
37732
37732
  size: 12
37733
37733
  }) : null;
37734
37734
  return /* @__PURE__ */ L("div", {
37735
- ref: o,
37735
+ ref: s,
37736
37736
  tabIndex: 0,
37737
- ...s,
37738
- className: H("misc-dropdown-inner-rounding flex w-full cursor-pointer gap-1 pe-3 outline-hidden", a ? "min-h-12 items-start py-2" : "h-12 items-center", "hover:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down", "focus-visible:border-size-ring-3 focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", {
37737
+ ...c,
37738
+ className: U("misc-dropdown-inner-rounding flex w-full cursor-pointer gap-1 pe-3 outline-hidden", a ? "min-h-12 items-start py-2" : "h-12 items-center", "hover:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down", "focus-visible:border-size-ring-3 focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", {
37739
37739
  "ps-2": t,
37740
37740
  "ps-8": !t
37741
- }),
37741
+ }, o),
37742
37742
  children: [
37743
37743
  !!t && /* @__PURE__ */ I(l, { className: "text-content-primary icon-size-500" }),
37744
37744
  r && /* @__PURE__ */ I(th, {
@@ -37759,7 +37759,7 @@ var xY = ({ label: e, selected: t, badge: n, thumbnail: r, icon: i, multiline: a
37759
37759
  className: "shrink-0",
37760
37760
  size: "small",
37761
37761
  variant: "subdued",
37762
- icon: c,
37762
+ icon: u,
37763
37763
  children: n.label
37764
37764
  })
37765
37765
  ]
@@ -54100,10 +54100,7 @@ var a8 = kSe, o8 = ISe, s8 = RSe, c8 = zSe, l8 = VSe, HSe = ({ children: e, clas
54100
54100
  type: "multiple",
54101
54101
  className: t,
54102
54102
  children: e
54103
- }), u8 = ({ className: e }) => /* @__PURE__ */ I("div", {
54104
- className: U("px-2", e),
54105
- children: /* @__PURE__ */ I(d, { className: "text-content-tertiary icon-size-500 group-radix-state-open:rotate-180 transition-transform duration-200" })
54106
- }), USe = ({ label: e, subtitle: t }) => /* @__PURE__ */ L("div", {
54103
+ }), u8 = ({ label: e, subtitle: t }) => /* @__PURE__ */ L("div", {
54107
54104
  className: "flex flex-col items-start gap-1 py-2",
54108
54105
  children: [/* @__PURE__ */ I("span", {
54109
54106
  className: "component-500 text-content-primary",
@@ -54140,28 +54137,32 @@ var a8 = kSe, o8 = ISe, s8 = RSe, c8 = zSe, l8 = VSe, HSe = ({ children: e, clas
54140
54137
  });
54141
54138
  d8.displayName = "VariantsListItemLeading";
54142
54139
  //#endregion
54143
- //#region src/components/list/VariantListItem/VariantsValueItem.tsx
54144
- var f8 = ({ label: e, subtitle: t, onClickLeading: n, className: r, ...i }) => /* @__PURE__ */ L("div", {
54140
+ //#region src/components/list/VariantListItem/VariantsListItemTrailing.tsx
54141
+ var f8 = ({ className: e }) => /* @__PURE__ */ I("div", {
54142
+ className: U("px-2", e),
54143
+ children: /* @__PURE__ */ I(d, { className: "text-content-tertiary icon-size-500 group-radix-state-open:rotate-180 transition-transform duration-200" })
54144
+ }), USe = ({ label: e, subtitle: t, onClick: n, onClickLeading: r, ...i }) => /* @__PURE__ */ L(s8, {
54145
+ onClick: n,
54146
+ className: "group rounded-450 border-misc-border hover:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down radix-state-open:rounded-b-none radix-state-open:border-b flex w-full items-center overflow-hidden",
54147
+ children: [/* @__PURE__ */ I(d8, {
54148
+ onClick: r,
54149
+ ...i
54150
+ }), /* @__PURE__ */ L(c8, {
54151
+ className: H("flex flex-1 items-center self-stretch outline-hidden", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring focus-visible:ring-inset"),
54152
+ children: [/* @__PURE__ */ I(u8, {
54153
+ label: e,
54154
+ subtitle: t
54155
+ }), /* @__PURE__ */ I(f8, { className: "ms-auto" })]
54156
+ })]
54157
+ }), WSe = ({ label: e, subtitle: t, onClickLeading: n, className: r, ...i }) => /* @__PURE__ */ L("div", {
54145
54158
  className: U("flex items-center", r),
54146
54159
  children: [/* @__PURE__ */ I(d8, {
54147
54160
  onClick: n,
54148
54161
  ...i
54149
- }), /* @__PURE__ */ I(USe, {
54162
+ }), /* @__PURE__ */ I(u8, {
54150
54163
  label: e,
54151
54164
  subtitle: t
54152
54165
  })]
54153
- }), WSe = ({ label: e, subtitle: t, onClick: n, onClickLeading: r, ...i }) => /* @__PURE__ */ I(s8, {
54154
- onClick: n,
54155
- children: /* @__PURE__ */ L(c8, {
54156
- className: "group rounded-450 border-misc-border hover:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down radix-state-open:rounded-b-none radix-state-open:border-b flex w-full items-center overflow-hidden",
54157
- children: [/* @__PURE__ */ I(f8, {
54158
- label: e,
54159
- subtitle: t,
54160
- onClickLeading: r,
54161
- className: "flex-1",
54162
- ...i
54163
- }), /* @__PURE__ */ I(u8, {})]
54164
- })
54165
54166
  }), p8 = ({ value: e, header: t, children: n }) => /* @__PURE__ */ L(o8, {
54166
54167
  value: e,
54167
54168
  className: "rounded-450 radix-state-open:bg-background-subdued mb-1",
@@ -54173,7 +54174,7 @@ var f8 = ({ label: e, subtitle: t, onClickLeading: n, className: r, ...i }) => /
54173
54174
  })
54174
54175
  })]
54175
54176
  });
54176
- p8.HeaderItem = WSe, p8.ValueItem = f8, p8.Trailing = u8, p8.Leading = d8;
54177
+ p8.HeaderItem = USe, p8.ValueItem = WSe, p8.Trailing = f8, p8.Leading = d8;
54177
54178
  //#endregion
54178
54179
  //#region src/components/multiplayer/ActivityRow/ActivityRow.tsx
54179
54180
  var GSe = ({ variant: e, accountType: t, title: n, description: r, thumbnail: i, time: a, avatar: o, unread: s = !1, stacked: c = !1, selectable: l = !0, showUnread: u = !0 }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.732",
3
+ "version": "0.1.734",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [