@photoroom/ui 0.1.113 → 0.1.114

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.
@@ -4,11 +4,11 @@ type ProductTileProps = {
4
4
  imageUrl?: string;
5
5
  mediaCount: number;
6
6
  onClick?: () => void;
7
- hasUnsavedChanges?: boolean;
8
- unsavedChangesLabel: React.ReactNode;
7
+ hasUnpublishedChanges?: boolean;
8
+ unpublishedChangesLabel: React.ReactNode;
9
9
  sellScore?: SellScoreProps;
10
10
  className?: string;
11
11
  };
12
- export declare const ProductTile: ({ title, imageUrl, sellScore, mediaCount, onClick, hasUnsavedChanges, unsavedChangesLabel, className, }: ProductTileProps) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const ProductTile: ({ title, imageUrl, sellScore, mediaCount, onClick, hasUnpublishedChanges, unpublishedChangesLabel, className, }: ProductTileProps) => import("react/jsx-runtime").JSX.Element;
13
13
  export {};
14
14
  //# sourceMappingURL=ProductTile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductTile.d.ts","sourceRoot":"","sources":["../../../../src/components/content/ProductTile/ProductTile.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAK9D,KAAK,gBAAgB,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,mBAAmB,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,yGASzB,gBAAgB,4CAqBlB,CAAC"}
1
+ {"version":3,"file":"ProductTile.d.ts","sourceRoot":"","sources":["../../../../src/components/content/ProductTile/ProductTile.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAK9D,KAAK,gBAAgB,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,uBAAuB,EAAE,KAAK,CAAC,SAAS,CAAC;IACzC,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,iHASzB,gBAAgB,4CAqBlB,CAAC"}
package/index.mjs CHANGED
@@ -32845,7 +32845,7 @@ var rG = ({ checkerboard: e, cover: t, imageUrl: n, loading: r, bottomRightIcon:
32845
32845
  mG.Label = fG, mG.Gauge = uG;
32846
32846
  //#endregion
32847
32847
  //#region src/components/status/UnpublishedStatus/UnpublishedStatus.tsx
32848
- var hG = U("rounded-300 component-semi-strong-300 inline-flex h-5 items-center justify-center gap-1", {
32848
+ var hG = U("rounded-300 component-semi-strong-300 inline-flex h-5 w-fit items-center justify-center gap-1", {
32849
32849
  variants: { background: {
32850
32850
  true: "bg-background-subdued text-content-black-primary dark:bg-background-white px-2",
32851
32851
  false: "text-content-primary"
@@ -32901,7 +32901,7 @@ var hG = U("rounded-300 component-semi-strong-300 inline-flex h-5 items-center j
32901
32901
  className: "flex h-full w-full items-center justify-center",
32902
32902
  children: /* @__PURE__ */ T(xe, { className: "text-content-tertiary icon-size-600" })
32903
32903
  })
32904
- }), yG = ({ title: e, imageUrl: t, sellScore: n, mediaCount: r, onClick: i, hasUnsavedChanges: a = !1, unsavedChangesLabel: o, className: s }) => /* @__PURE__ */ E("div", {
32904
+ }), yG = ({ title: e, imageUrl: t, sellScore: n, mediaCount: r, onClick: i, hasUnpublishedChanges: a = !1, unpublishedChangesLabel: o, className: s }) => /* @__PURE__ */ E("div", {
32905
32905
  onClick: i,
32906
32906
  className: H("rounded-500 bg-surface-high relative flex cursor-pointer items-center justify-start gap-3 p-1 pr-9", "border-misc-hairline misc-border-size-hairline hover:border-misc-border-emphasized", "active:bg-background-subdued-down", s),
32907
32907
  children: [/* @__PURE__ */ T(vG, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.113",
3
+ "version": "0.1.114",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [