@photoroom/ui 0.1.764 → 0.1.766

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.764",
3
+ "version": "0.1.766",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [
@@ -1,17 +0,0 @@
1
- import * as RadioGroup from "@radix-ui/react-radio-group";
2
- export type ChoiceFeedTileProps = Omit<RadioGroup.RadioGroupItemProps, "children"> & Readonly<{
3
- label: React.ReactNode;
4
- previewUrl?: string;
5
- previewBitmap?: ImageBitmap;
6
- showLabel?: boolean;
7
- isLoading?: boolean;
8
- onLoad?: () => void;
9
- error?: React.ReactNode;
10
- aspectRatio?: string;
11
- containerClassName?: string;
12
- }> & React.RefAttributes<HTMLButtonElement>;
13
- export declare function ChoiceFeedTile({ label, previewUrl, previewBitmap, showLabel, isLoading, onLoad, error, aspectRatio, className, containerClassName, ref, ...props }: ChoiceFeedTileProps): import("react").JSX.Element;
14
- export declare namespace ChoiceFeedTile {
15
- var displayName: string;
16
- }
17
- //# sourceMappingURL=ChoiceFeedTile.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChoiceFeedTile.d.ts","sourceRoot":"","sources":["../../../../src/components/feed/ChoiceFeedTileGroup/ChoiceFeedTile.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,UAAU,MAAM,6BAA6B,CAAC;AAS1D,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,UAAU,CAAC,mBAAmB,EAAE,UAAU,CAAC,GAChF,QAAQ,CAAC;IACP,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,WAAW,CAAC;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC,GACF,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC;uCAEV,EAC7B,KAAK,EACL,UAAU,EACV,aAAa,EACb,SAAgB,EAChB,SAAS,EACT,MAAM,EACN,KAAK,EACL,WAAmB,EACnB,SAAS,EACT,kBAAkB,EAClB,GAAG,EACH,GAAG,KAAK,EACT,EAAE,mBAAmB"}
@@ -1,8 +0,0 @@
1
- import * as RadioGroup from "@radix-ui/react-radio-group";
2
- import { ChoiceFeedTile } from "./ChoiceFeedTile";
3
- export type ChoiceFeedTileGroupProps = RadioGroup.RadioGroupProps;
4
- export declare function ChoiceFeedTileGroup(props: ChoiceFeedTileGroupProps): import("react").JSX.Element;
5
- export declare namespace ChoiceFeedTileGroup {
6
- export { ChoiceFeedTile as Item };
7
- }
8
- //# sourceMappingURL=ChoiceFeedTileGroup.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChoiceFeedTileGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/feed/ChoiceFeedTileGroup/ChoiceFeedTileGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,6BAA6B,CAAC;AAI1D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,eAAe,CAAC;4CAE9B,KAAK,EAAE,wBAAwB;;aAWxC,cAAc"}
@@ -1,3 +0,0 @@
1
- export * from "./ChoiceFeedTile";
2
- export * from "./ChoiceFeedTileGroup";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/feed/ChoiceFeedTileGroup/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC"}
@@ -1,22 +0,0 @@
1
- import { AvatarProps } from "../../navigation/Avatar";
2
- export type FeedTileProps = Readonly<{
3
- label?: string;
4
- variant?: "default" | "stack" | "tag";
5
- previewUrl?: string;
6
- icon?: React.ComponentType<React.ComponentPropsWithoutRef<"svg">>;
7
- aspectRatio?: string;
8
- previewFit?: "contain" | "cover" | "fill";
9
- constrain?: "height" | "width";
10
- showLabel?: boolean;
11
- showCheckerboard?: boolean;
12
- showProBadge?: boolean;
13
- labelClassName?: string;
14
- customBadge?: React.ReactNode;
15
- avatar?: Pick<AvatarProps, "displayName" | "imageSrc" | "accountType" | "customColor">;
16
- loading?: boolean;
17
- onLoad?: () => void;
18
- error?: React.ReactNode;
19
- backgroundClassName?: string;
20
- }> & React.ComponentPropsWithoutRef<"button">;
21
- export declare const FeedTile: ({ variant, label, previewUrl, icon: Icon, aspectRatio, previewFit, constrain, showLabel, showCheckerboard, showProBadge, labelClassName, customBadge, avatar, loading, onLoad, error, children, backgroundClassName, ...buttonProps }: FeedTileProps) => import("react").JSX.Element;
22
- //# sourceMappingURL=FeedTile.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FeedTile.d.ts","sourceRoot":"","sources":["../../../../src/components/feed/FeedTile/FeedTile.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAU,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAO9D,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,KAAK,CAAC;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC,CAAC;IAClE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;IAC1C,SAAS,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,MAAM,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,aAAa,GAAG,UAAU,GAAG,aAAa,GAAG,aAAa,CAAC,CAAC;IACvF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC,GACA,KAAK,CAAC,wBAAwB,CAAC,QAAQ,CAAC,CAAC;AAE3C,eAAO,MAAM,QAAQ,0OAoBlB,aAAa,gCA0If,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"LazyImage.d.ts","sourceRoot":"","sources":["../../../../src/components/feed/FeedTile/LazyImage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAA4B,MAAM,OAAO,CAAC;AAG3E,KAAK,cAAc,GAAG,wBAAwB,CAAC,KAAK,CAAC,GAAG;IACtD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;kCAEhB,EACxB,cAAoB,EACpB,SAAS,EACT,YAAY,EACZ,KAAK,EACL,MAAM,EACN,SAAiB,EACjB,GAAG,EACH,GAAG,KAAK,EACT,EAAE,cAAc"}
@@ -1,3 +0,0 @@
1
- export * from "./FeedTile";
2
- export * from "./LazyImage";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/feed/FeedTile/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC"}