@photoroom/ui 0.1.545 → 0.1.547
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/index.d.ts +0 -3
- package/components/index.d.ts.map +1 -1
- package/components/onboarding/ChoiceGroup/ChoiceSingle/ChoiceSingleGroup.d.ts +2 -4
- package/components/onboarding/ChoiceGroup/ChoiceSingle/ChoiceSingleGroup.d.ts.map +1 -1
- package/components/website/QuickToolHeroBlock/QuickToolHeroBlock.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.mjs +9338 -9434
- package/package.json +1 -1
- package/components/dropdown/DropdownMenuItem/DropdownMenuItem.d.ts +0 -8
- package/components/dropdown/DropdownMenuItem/DropdownMenuItem.d.ts.map +0 -1
- package/components/dropdown/DropdownMenuItem/index.d.ts +0 -2
- package/components/dropdown/DropdownMenuItem/index.d.ts.map +0 -1
- package/components/editor/ShadowSandbox/ShadowSandbox.d.ts +0 -24
- package/components/editor/ShadowSandbox/ShadowSandbox.d.ts.map +0 -1
- package/components/editor/ShadowSandbox/ShadowSandbox.figma.d.ts +0 -2
- package/components/editor/ShadowSandbox/ShadowSandbox.figma.d.ts.map +0 -1
- package/components/editor/ShadowSandbox/index.d.ts +0 -2
- package/components/editor/ShadowSandbox/index.d.ts.map +0 -1
- package/components/input/PendingOptionGroup/PendingOptionGroup.d.ts +0 -7
- package/components/input/PendingOptionGroup/PendingOptionGroup.d.ts.map +0 -1
- package/components/input/PendingOptionGroup/PendingOptionGroup.figma.d.ts +0 -2
- package/components/input/PendingOptionGroup/PendingOptionGroup.figma.d.ts.map +0 -1
- package/components/input/PendingOptionGroup/PendingOptionGroupItem.d.ts +0 -8
- package/components/input/PendingOptionGroup/PendingOptionGroupItem.d.ts.map +0 -1
- package/components/input/PendingOptionGroup/PendingOptionGroupParts.figma.d.ts +0 -2
- package/components/input/PendingOptionGroup/PendingOptionGroupParts.figma.d.ts.map +0 -1
- package/components/input/PendingOptionGroup/index.d.ts +0 -2
- package/components/input/PendingOptionGroup/index.d.ts.map +0 -1
- package/components/list/StandardTile/StandardTileSkeleton.d.ts +0 -15
- package/components/list/StandardTile/StandardTileSkeleton.d.ts.map +0 -1
- package/components/list/StandardTile/index.d.ts +0 -2
- package/components/list/StandardTile/index.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as RadixDropdownMenu from "@radix-ui/react-dropdown-menu";
|
|
2
|
-
import { MenuItemButtonProps } from "../../collections/CommonMenu/MenuItemButton";
|
|
3
|
-
export type DropdownMenuItemProps = MenuItemButtonProps & Omit<RadixDropdownMenu.DropdownMenuItemProps, "asChild" | "textValue"> & React.RefAttributes<HTMLDivElement>;
|
|
4
|
-
export declare const DropdownMenuItem: {
|
|
5
|
-
({ onSelect, ref, ...rest }: DropdownMenuItemProps): import("react").JSX.Element;
|
|
6
|
-
displayName: string;
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=DropdownMenuItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMenuItem.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/DropdownMenuItem/DropdownMenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,MAAM,+BAA+B,CAAC;AAEnE,OAAO,EAAkB,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAElG,MAAM,MAAM,qBAAqB,GAAG,mBAAmB,GACrD,IAAI,CAAC,iBAAiB,CAAC,qBAAqB,EAAE,SAAS,GAAG,WAAW,CAAC,GACtE,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;AAEtC,eAAO,MAAM,gBAAgB;iCAAgC,qBAAqB;;CAMjF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/DropdownMenuItem/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export type ShadowSandboxKnobPosition = Readonly<{
|
|
2
|
-
x: number;
|
|
3
|
-
y: number;
|
|
4
|
-
}>;
|
|
5
|
-
export type ShadowSandboxFooterOption = Readonly<{
|
|
6
|
-
label: string;
|
|
7
|
-
value: string;
|
|
8
|
-
}>;
|
|
9
|
-
export type ShadowSandboxProps = Readonly<{
|
|
10
|
-
/** Subject image rendered (contained) at the centre of the sandbox. */
|
|
11
|
-
subjectSrc?: string;
|
|
12
|
-
/** Knob position in normalized sandbox coordinates (0..1, origin top-left). */
|
|
13
|
-
knobPosition: ShadowSandboxKnobPosition;
|
|
14
|
-
/** Fired on every drag frame with the clamped normalized position (map to a draft). */
|
|
15
|
-
onKnobDrag: (position: ShadowSandboxKnobPosition) => void;
|
|
16
|
-
/** Fired when the drag gesture ends (map to a commit). */
|
|
17
|
-
onKnobDragEnd?: () => void;
|
|
18
|
-
footerValue: string;
|
|
19
|
-
onFooterChange: (value: string) => void;
|
|
20
|
-
footerOptions: readonly ShadowSandboxFooterOption[];
|
|
21
|
-
className?: string;
|
|
22
|
-
}>;
|
|
23
|
-
export declare const ShadowSandbox: ({ subjectSrc, knobPosition, onKnobDrag, onKnobDragEnd, footerValue, onFooterChange, footerOptions, className, }: ShadowSandboxProps) => import("react").JSX.Element;
|
|
24
|
-
//# sourceMappingURL=ShadowSandbox.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ShadowSandbox.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/ShadowSandbox/ShadowSandbox.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAE3E,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC;IACxC,uEAAuE;IACvE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+EAA+E;IAC/E,YAAY,EAAE,yBAAyB,CAAC;IACxC,uFAAuF;IACvF,UAAU,EAAE,CAAC,QAAQ,EAAE,yBAAyB,KAAK,IAAI,CAAC;IAC1D,0DAA0D;IAC1D,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,aAAa,EAAE,SAAS,yBAAyB,EAAE,CAAC;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,CAAC;AA6BH,eAAO,MAAM,aAAa,GAAI,iHAS3B,kBAAkB,gCAwEpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ShadowSandbox.figma.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/ShadowSandbox/ShadowSandbox.figma.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/ShadowSandbox/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as RadixRadioGroup from "@radix-ui/react-radio-group";
|
|
2
|
-
export type PendingOptionGroupProps = RadixRadioGroup.RadioGroupProps;
|
|
3
|
-
export declare const PendingOptionGroup: {
|
|
4
|
-
({ children, className, ...props }: PendingOptionGroupProps): import("react").JSX.Element;
|
|
5
|
-
Item: ({ title, subtitle, loading, className, ...props }: import("./PendingOptionGroupItem").PendingOptionGroupItemProps) => import("react").JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
//# sourceMappingURL=PendingOptionGroup.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PendingOptionGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/input/PendingOptionGroup/PendingOptionGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAC;AAM/D,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC,eAAe,CAAC;AAEtE,eAAO,MAAM,kBAAkB;wCAAuC,uBAAuB;;CAM5F,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PendingOptionGroup.figma.d.ts","sourceRoot":"","sources":["../../../../src/components/input/PendingOptionGroup/PendingOptionGroup.figma.tsx"],"names":[],"mappings":""}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as RadixRadioGroup from "@radix-ui/react-radio-group";
|
|
2
|
-
export type PendingOptionGroupItemProps = RadixRadioGroup.RadioGroupItemProps & Readonly<{
|
|
3
|
-
title: string;
|
|
4
|
-
subtitle?: string;
|
|
5
|
-
loading?: boolean;
|
|
6
|
-
}>;
|
|
7
|
-
export declare const PendingOptionGroupItem: ({ title, subtitle, loading, className, ...props }: PendingOptionGroupItemProps) => import("react").JSX.Element;
|
|
8
|
-
//# sourceMappingURL=PendingOptionGroupItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PendingOptionGroupItem.d.ts","sourceRoot":"","sources":["../../../../src/components/input/PendingOptionGroup/PendingOptionGroupItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAC;AAK/D,MAAM,MAAM,2BAA2B,GAAG,eAAe,CAAC,mBAAmB,GAC3E,QAAQ,CAAC;IACP,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC,CAAC;AAEL,eAAO,MAAM,sBAAsB,GAAI,mDAMpC,2BAA2B,gCA4B7B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PendingOptionGroupParts.figma.d.ts","sourceRoot":"","sources":["../../../../src/components/input/PendingOptionGroup/PendingOptionGroupParts.figma.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/input/PendingOptionGroup/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from "class-variance-authority";
|
|
2
|
-
declare const standardTileSkeletonVariants: (props?: ({
|
|
3
|
-
layout?: "fixedHeight" | "fixedWidth" | null | undefined;
|
|
4
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5
|
-
type StandardTileSkeletonVariantProps = VariantProps<typeof standardTileSkeletonVariants>;
|
|
6
|
-
export type StandardTileSkeletonProps = Readonly<{
|
|
7
|
-
className?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Show label skeleton below the main content
|
|
10
|
-
*/
|
|
11
|
-
showLabel?: boolean;
|
|
12
|
-
}> & StandardTileSkeletonVariantProps;
|
|
13
|
-
export declare const StandardTileSkeleton: ({ layout, showLabel, className, }: StandardTileSkeletonProps) => import("react").JSX.Element;
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=StandardTileSkeleton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StandardTileSkeleton.d.ts","sourceRoot":"","sources":["../../../../src/components/list/StandardTile/StandardTileSkeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAM7D,QAAA,MAAM,4BAA4B;;8EAUhC,CAAC;AAEH,KAAK,gCAAgC,GAAG,YAAY,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAE1F,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC,GACA,gCAAgC,CAAC;AAEnC,eAAO,MAAM,oBAAoB,GAAI,mCAIlC,yBAAyB,gCAsB3B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/list/StandardTile/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,KAAK,yBAAyB,EAAE,MAAM,wBAAwB,CAAC"}
|