@photoroom/ui 0.1.765 → 0.1.767
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/README.md +2 -2
- package/components/content/LazyImage/LazyImage.d.ts.map +1 -0
- package/components/content/LazyImage/index.d.ts +2 -0
- package/components/content/LazyImage/index.d.ts.map +1 -0
- package/components/index.d.ts +1 -2
- package/components/index.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.mjs +12064 -12207
- package/package.json +1 -1
- package/components/feed/ChoiceFeedTileGroup/ChoiceFeedTile.d.ts +0 -17
- package/components/feed/ChoiceFeedTileGroup/ChoiceFeedTile.d.ts.map +0 -1
- package/components/feed/ChoiceFeedTileGroup/ChoiceFeedTileGroup.d.ts +0 -8
- package/components/feed/ChoiceFeedTileGroup/ChoiceFeedTileGroup.d.ts.map +0 -1
- package/components/feed/ChoiceFeedTileGroup/index.d.ts +0 -3
- package/components/feed/ChoiceFeedTileGroup/index.d.ts.map +0 -1
- package/components/feed/FeedTile/FeedTile.d.ts +0 -22
- package/components/feed/FeedTile/FeedTile.d.ts.map +0 -1
- package/components/feed/FeedTile/LazyImage.d.ts.map +0 -1
- package/components/feed/FeedTile/index.d.ts +0 -3
- package/components/feed/FeedTile/index.d.ts.map +0 -1
- /package/components/{feed/FeedTile → content/LazyImage}/LazyImage.d.ts +0 -0
package/package.json
CHANGED
|
@@ -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 +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 +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"}
|
|
File without changes
|