@photoroom/ui 0.1.313 → 0.1.315
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/components/index.d.ts +0 -3
- package/components/index.d.ts.map +1 -1
- package/components/list/SectionHeader/SectionHeader.figma.d.ts +2 -0
- package/components/list/SectionHeader/SectionHeader.figma.d.ts.map +1 -0
- package/index.css +1 -1
- package/index.lib.d.ts +1 -3
- package/index.lib.d.ts.map +1 -1
- package/index.mjs +10938 -11028
- package/package.json +1 -1
- package/components/collections/FeedHeader/FeedHeader.d.ts +0 -13
- package/components/collections/FeedHeader/FeedHeader.d.ts.map +0 -1
- package/components/collections/FeedHeader/FeedHeaderTitle.d.ts +0 -11
- package/components/collections/FeedHeader/FeedHeaderTitle.d.ts.map +0 -1
- package/components/collections/FeedHeader/index.d.ts +0 -2
- package/components/collections/FeedHeader/index.d.ts.map +0 -1
- package/components/input/StandardInput/OptionalImagePromptButton.d.ts +0 -7
- package/components/input/StandardInput/OptionalImagePromptButton.d.ts.map +0 -1
- package/components/input/StandardInput/StandardInputImagePrompt.d.ts +0 -25
- package/components/input/StandardInput/StandardInputImagePrompt.d.ts.map +0 -1
- package/components/input/StandardInput/StandardInputTextPrompt.d.ts +0 -13
- package/components/input/StandardInput/StandardInputTextPrompt.d.ts.map +0 -1
- package/components/input/StandardInput/index.d.ts +0 -15
- package/components/input/StandardInput/index.d.ts.map +0 -1
- package/components/list/ActionHeader/ActionHeader.d.ts +0 -12
- package/components/list/ActionHeader/ActionHeader.d.ts.map +0 -1
- package/components/list/ActionHeader/index.d.ts +0 -2
- package/components/list/ActionHeader/index.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
type FeedHeaderProps = React.HTMLAttributes<HTMLDivElement>;
|
|
2
|
-
export declare const FeedHeader: {
|
|
3
|
-
({ children, className }: FeedHeaderProps): import("react").JSX.Element;
|
|
4
|
-
Title: {
|
|
5
|
-
({ children, className, avatar, variant, ref, ...rest }: import("react").ClassAttributes<HTMLParagraphElement> & import("react").HTMLAttributes<HTMLParagraphElement> & {
|
|
6
|
-
avatar?: React.ReactElement;
|
|
7
|
-
variant?: "primary" | "secondary";
|
|
8
|
-
}): import("react").JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=FeedHeader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FeedHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/collections/FeedHeader/FeedHeader.tsx"],"names":[],"mappings":"AAIA,KAAK,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;AAE5D,eAAO,MAAM,UAAU;8BAA6B,eAAe;;;;;;;;CASlE,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ComponentProps } from "react";
|
|
2
|
-
type FeedHeaderTitleProps = ComponentProps<"p"> & {
|
|
3
|
-
avatar?: React.ReactElement;
|
|
4
|
-
variant?: "primary" | "secondary";
|
|
5
|
-
};
|
|
6
|
-
export declare const FeedHeaderTitle: {
|
|
7
|
-
({ children, className, avatar, variant, ref, ...rest }: FeedHeaderTitleProps): import("react").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=FeedHeaderTitle.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FeedHeaderTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/collections/FeedHeader/FeedHeaderTitle.tsx"],"names":[],"mappings":"AACA,OAAO,EAAgB,cAAc,EAAW,MAAM,OAAO,CAAC;AAE9D,KAAK,oBAAoB,GAAG,cAAc,CAAC,GAAG,CAAC,GAAG;IAChD,MAAM,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC5B,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,eAAe;6DAOzB,oBAAoB;;CA+BtB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/collections/FeedHeader/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export type OptionalImagePromptButtonProps = Readonly<{
|
|
2
|
-
limit?: number;
|
|
3
|
-
onImageAdd: (images: FileList) => void;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
}>;
|
|
6
|
-
export declare const OptionalImagePromptButton: ({ limit, onImageAdd, disabled, }: OptionalImagePromptButtonProps) => import("react").JSX.Element;
|
|
7
|
-
//# sourceMappingURL=OptionalImagePromptButton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OptionalImagePromptButton.d.ts","sourceRoot":"","sources":["../../../../src/components/input/StandardInput/OptionalImagePromptButton.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,8BAA8B,GAAG,QAAQ,CAAC;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,CAAC,MAAM,EAAE,QAAQ,KAAK,IAAI,CAAC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC,CAAC;AAEH,eAAO,MAAM,yBAAyB,GAAI,kCAIvC,8BAA8B,gCAmChC,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export type UserInputImage = {
|
|
2
|
-
name: string;
|
|
3
|
-
base64: string;
|
|
4
|
-
isLoading: boolean;
|
|
5
|
-
};
|
|
6
|
-
export type StandardInputImagePromptProps = {
|
|
7
|
-
images: UserInputImage[];
|
|
8
|
-
onImageAdd: (images: FileList) => void;
|
|
9
|
-
onImageRemove: (imageName: string) => void;
|
|
10
|
-
limit?: number;
|
|
11
|
-
showDropZone?: boolean;
|
|
12
|
-
dropZoneLabel: string;
|
|
13
|
-
removeLabel: string;
|
|
14
|
-
className?: string;
|
|
15
|
-
displayOptionalImagesButton?: boolean;
|
|
16
|
-
} & React.RefAttributes<HTMLDivElement>;
|
|
17
|
-
export type ImageWidgetProps = React.ComponentProps<"div"> & {
|
|
18
|
-
onDismiss?: () => void;
|
|
19
|
-
dismissLabel?: string;
|
|
20
|
-
};
|
|
21
|
-
export declare const StandardInputImagePrompt: {
|
|
22
|
-
({ images, onImageAdd, onImageRemove, limit, dropZoneLabel, removeLabel, className, ref, ...rest }: StandardInputImagePromptProps): import("react").JSX.Element;
|
|
23
|
-
displayName: string;
|
|
24
|
-
};
|
|
25
|
-
//# sourceMappingURL=StandardInputImagePrompt.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StandardInputImagePrompt.d.ts","sourceRoot":"","sources":["../../../../src/components/input/StandardInput/StandardInputImagePrompt.tsx"],"names":[],"mappings":"AAOA,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,MAAM,EAAE,cAAc,EAAE,CAAC;IACzB,UAAU,EAAE,CAAC,MAAM,EAAE,QAAQ,KAAK,IAAI,CAAC;IACvC,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACvC,GAAG,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;AAExC,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG;IAC3D,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAsDF,eAAO,MAAM,wBAAwB;wGAUlC,6BAA6B;;CAgD/B,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export type StandardInputTextPromptProps = {
|
|
2
|
-
value: string;
|
|
3
|
-
onChange: (value: string) => void;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
placeholder?: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
maxHeight?: string;
|
|
8
|
-
} & React.RefAttributes<HTMLTextAreaElement>;
|
|
9
|
-
export declare const StandardInputTextPrompt: {
|
|
10
|
-
({ value, onChange, disabled, placeholder, className, maxHeight, ref, ...rest }: StandardInputTextPromptProps): import("react").JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=StandardInputTextPrompt.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StandardInputTextPrompt.d.ts","sourceRoot":"","sources":["../../../../src/components/input/StandardInput/StandardInputTextPrompt.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,4BAA4B,GAAG;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAAC;AAE7C,eAAO,MAAM,uBAAuB;qFASjC,4BAA4B;;CAkB9B,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { StandardInputImagePrompt } from "./StandardInputImagePrompt";
|
|
2
|
-
import { StandardInputTextPrompt } from "./StandardInputTextPrompt";
|
|
3
|
-
export declare const StandardInput: {
|
|
4
|
-
TextPrompt: {
|
|
5
|
-
({ value, onChange, disabled, placeholder, className, maxHeight, ref, ...rest }: import("./StandardInputTextPrompt").StandardInputTextPromptProps): import("react").JSX.Element;
|
|
6
|
-
displayName: string;
|
|
7
|
-
};
|
|
8
|
-
ImagePrompt: {
|
|
9
|
-
({ images, onImageAdd, onImageRemove, limit, dropZoneLabel, removeLabel, className, ref, ...rest }: import("./StandardInputImagePrompt").StandardInputImagePromptProps): import("react").JSX.Element;
|
|
10
|
-
displayName: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export default StandardInput;
|
|
14
|
-
export { StandardInputTextPrompt, StandardInputImagePrompt };
|
|
15
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/input/StandardInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,eAAO,MAAM,aAAa;;;;;;;;;CAGzB,CAAC;AAEF,eAAe,aAAa,CAAC;AAE7B,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from "class-variance-authority";
|
|
2
|
-
declare const titleCva: (props?: ({
|
|
3
|
-
size?: "small" | "default" | null | undefined;
|
|
4
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5
|
-
export type ActionHeaderProps = {
|
|
6
|
-
title: string;
|
|
7
|
-
detail?: string;
|
|
8
|
-
action?: React.ReactNode;
|
|
9
|
-
} & VariantProps<typeof titleCva>;
|
|
10
|
-
export declare const ActionHeader: ({ title, detail, action, size }: ActionHeaderProps) => import("react").JSX.Element;
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=ActionHeader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ActionHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/list/ActionHeader/ActionHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,QAAA,MAAM,QAAQ;;8EAUZ,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,GAAG,YAAY,CAAC,OAAO,QAAQ,CAAC,CAAC;AAElC,eAAO,MAAM,YAAY,GAAI,iCAA6C,iBAAiB,gCAY1F,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/list/ActionHeader/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|