@photoroom/ui 0.1.810 → 0.1.812

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.
@@ -1,5 +1,10 @@
1
- type FontFamilyRowProps = React.ComponentPropsWithRef<"div">;
2
- export declare function FontFamilyRow({ children, className, ref, ...rest }: FontFamilyRowProps): import("react").JSX.Element;
1
+ type FontFamilyRowProps = React.ComponentPropsWithRef<"div"> & {
2
+ /**
3
+ * Content shown before the chevron, e.g. a badge
4
+ */
5
+ trailing?: React.ReactNode;
6
+ };
7
+ export declare function FontFamilyRow({ children, trailing, className, ref, ...rest }: FontFamilyRowProps): import("react").JSX.Element;
3
8
  export declare namespace FontFamilyRow {
4
9
  var displayName: string;
5
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"FontFamilyRow.d.ts","sourceRoot":"","sources":["../../../../src/components/list/FontFamilyRow/FontFamilyRow.tsx"],"names":[],"mappings":"AAGA,KAAK,kBAAkB,GAAG,KAAK,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAC;sCAE/B,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,EAAE,kBAAkB"}
1
+ {"version":3,"file":"FontFamilyRow.d.ts","sourceRoot":"","sources":["../../../../src/components/list/FontFamilyRow/FontFamilyRow.tsx"],"names":[],"mappings":"AAGA,KAAK,kBAAkB,GAAG,KAAK,CAAC,qBAAqB,CAAC,KAAK,CAAC,GAAG;IAC7D;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;sCAE4B,EAC5B,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,GAAG,EACH,GAAG,IAAI,EACR,EAAE,kBAAkB"}
package/index.mjs CHANGED
@@ -53991,11 +53991,14 @@ var Sxe = G(["min-h-full min-w-full p-1.5 py-2", "duration-200 active:bg-neutral
53991
53991
  })
53992
53992
  ]
53993
53993
  });
53994
- }, z6 = ({ children: e, className: t, ref: n, ...r }) => /* @__PURE__ */ R("div", {
53995
- ref: n,
53996
- ...r,
53997
- className: U("relative flex items-center justify-between", "rounded-500 p-2.5 pe-3", "cursor-default outline-hidden", "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", "[&>img]:size-h-250 [&>img]:object-cover [&>img]:py-[3.5px] [&>img]:filter-(--font-thumbnail-filter)", t),
53998
- children: [e, /* @__PURE__ */ L(m, { className: "text-content-tertiary icon-size-500 shrink-0" })]
53994
+ }, z6 = ({ children: e, trailing: t, className: n, ref: r, ...i }) => /* @__PURE__ */ R("div", {
53995
+ ref: r,
53996
+ ...i,
53997
+ className: U("relative flex items-center justify-between", "rounded-500 p-2.5 pe-3", "cursor-default outline-hidden", "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", "[&>img]:size-h-250 [&>img]:object-cover [&>img]:py-[3.5px] [&>img]:filter-(--font-thumbnail-filter)", n),
53998
+ children: [e, /* @__PURE__ */ R("div", {
53999
+ className: "flex shrink-0 items-center gap-1",
54000
+ children: [t, /* @__PURE__ */ L(m, { className: "text-content-tertiary icon-size-500 shrink-0" })]
54001
+ })]
53999
54002
  });
54000
54003
  z6.displayName = "FontFamilyRow";
54001
54004
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.810",
3
+ "version": "0.1.812",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [