@photoroom/ui 0.1.373 → 0.1.375

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.
@@ -10,7 +10,7 @@ type MoveableSelectionObjectBoxProps = MoveableProps & Readonly<{
10
10
  onRotateButtonPointerMove?: (e: React.PointerEvent) => void;
11
11
  }> & React.RefAttributes<Moveable>;
12
12
  export declare const MoveableSelectionObjectBox: {
13
- ({ target, shouldShowLateralHandles, shouldShowVerticalHandles, selectionBoxHeight, editionPill, forcedPillPosition, variant, onRotateStart, onRotateEnd, onScaleStart, onScale, onScaleEnd, onRotate, onEditionPillPointerMove, onRotateButtonPointerMove, ref, ...rest }: MoveableSelectionObjectBoxProps): import("react").JSX.Element;
13
+ ({ target, shouldShowLateralHandles, shouldShowVerticalHandles, selectionBoxHeight, editionPill, forcedPillPosition, variant, onRotateStart, onRotateEnd, onScaleStart, onScale, onScaleEnd, onRotate, onEditionPillPointerMove, onRotateButtonPointerMove, scalable, rotatable, ref, ...rest }: MoveableSelectionObjectBoxProps): import("react").JSX.Element;
14
14
  displayName: string;
15
15
  };
16
16
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"MoveableSelectionObjectBox.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/SelectionObjectBox/MoveableSelectionObjectBox.tsx"],"names":[],"mappings":"AAEA,OAAO,QAAQ,EAAE,EACf,aAAa,EAKd,MAAM,gBAAgB,CAAC;AA4BxB,KAAK,+BAA+B,GAAG,aAAa,GAClD,QAAQ,CAAC;IACP,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,kBAAkB,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IACtC,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;IAC7C,wBAAwB,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,YAAY,KAAK,IAAI,CAAC;IAC3D,yBAAyB,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,YAAY,KAAK,IAAI,CAAC;CAC7D,CAAC,GACF,KAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;AAEhC,eAAO,MAAM,0BAA0B;gRAkBpC,+BAA+B;;CAoMjC,CAAC"}
1
+ {"version":3,"file":"MoveableSelectionObjectBox.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/SelectionObjectBox/MoveableSelectionObjectBox.tsx"],"names":[],"mappings":"AAEA,OAAO,QAAQ,EAAE,EACf,aAAa,EAKd,MAAM,gBAAgB,CAAC;AA4BxB,KAAK,+BAA+B,GAAG,aAAa,GAClD,QAAQ,CAAC;IACP,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,kBAAkB,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IACtC,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;IAC7C,wBAAwB,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,YAAY,KAAK,IAAI,CAAC;IAC3D,yBAAyB,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,YAAY,KAAK,IAAI,CAAC;CAC7D,CAAC,GACF,KAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;AAEhC,eAAO,MAAM,0BAA0B;qSAqBpC,+BAA+B;;CA0MjC,CAAC"}
@@ -12,7 +12,7 @@ export declare const SelectionObjectBox: {
12
12
  ({ className, left, top, width, height, transform, children, ref, ...rest }: SelectionObjectBoxProps): import("react").JSX.Element;
13
13
  displayName: string;
14
14
  Moveable: {
15
- ({ target, shouldShowLateralHandles, shouldShowVerticalHandles, selectionBoxHeight, editionPill, forcedPillPosition, variant, onRotateStart, onRotateEnd, onScaleStart, onScale, onScaleEnd, onRotate, onEditionPillPointerMove, onRotateButtonPointerMove, ref, ...rest }: import("react-moveable").MoveableProps & Readonly<{
15
+ ({ target, shouldShowLateralHandles, shouldShowVerticalHandles, selectionBoxHeight, editionPill, forcedPillPosition, variant, onRotateStart, onRotateEnd, onScaleStart, onScale, onScaleEnd, onRotate, onEditionPillPointerMove, onRotateButtonPointerMove, scalable, rotatable, ref, ...rest }: import("react-moveable").MoveableProps & Readonly<{
16
16
  shouldShowLateralHandles?: boolean;
17
17
  shouldShowVerticalHandles?: boolean;
18
18
  selectionBoxHeight: number;
@@ -1,11 +1,14 @@
1
1
  import { ChoiceGroupProps } from "../ChoiceGroup";
2
2
  import { ChoiceTileProps } from "../ChoiceTile";
3
+ import { GridTileProps } from "../GridTile";
3
4
  import { ListChoiceTileProps } from "../ListChoiceTile";
4
5
  export declare const ChoiceSingleGroup: {
5
6
  (props: ChoiceGroupProps): import("react").JSX.Element;
6
7
  ChoiceTile: (props: ChoiceTileProps) => import("react").JSX.Element;
7
8
  ListChoiceTile: (props: ListChoiceTileProps) => import("react").JSX.Element;
9
+ GridTile: (props: GridTileProps) => import("react").JSX.Element;
8
10
  };
9
11
  export declare const ChoiceSingleTile: (props: ChoiceTileProps) => import("react").JSX.Element;
10
12
  export declare const ListChoiceSingleTile: (props: ListChoiceTileProps) => import("react").JSX.Element;
13
+ export declare const GridSingleTile: (props: GridTileProps) => import("react").JSX.Element;
11
14
  //# sourceMappingURL=ChoiceSingleGroup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChoiceSingleGroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/onboarding/ChoiceGroup/ChoiceSingle/ChoiceSingleGroup.tsx"],"names":[],"mappings":"AACA,OAAO,EAAe,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,EAAc,eAAe,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAkB,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExE,eAAO,MAAM,iBAAiB;YAAW,gBAAgB;wBAMjB,eAAe;4BAYX,mBAAmB;CAd9D,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,OAAO,eAAe,gCAUtD,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,OAAO,mBAAmB,gCAU9D,CAAC"}
1
+ {"version":3,"file":"ChoiceSingleGroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/onboarding/ChoiceGroup/ChoiceSingle/ChoiceSingleGroup.tsx"],"names":[],"mappings":"AACA,OAAO,EAAe,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,EAAc,eAAe,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAY,aAAa,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAkB,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExE,eAAO,MAAM,iBAAiB;YAAW,gBAAgB;wBAMjB,eAAe;4BAYX,mBAAmB;sBAYzB,aAAa;CA1BlD,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,OAAO,eAAe,gCAUtD,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,OAAO,mBAAmB,gCAU9D,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,aAAa,gCAUlD,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ export type GridTileProps = React.ComponentPropsWithoutRef<"label"> & VariantProps<typeof gridTileVariants> & {
3
+ label: string;
4
+ icon?: React.FC<React.SVGProps<SVGSVGElement>>;
5
+ };
6
+ declare const gridTileVariants: (props?: ({
7
+ selected?: boolean | null | undefined;
8
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
+ export declare const GridTile: ({ label, icon: Icon, selected, className, children, ...props }: GridTileProps) => import("react").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=GridTile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GridTile.d.ts","sourceRoot":"","sources":["../../../../src/components/onboarding/ChoiceGroup/GridTile.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC,GACjE,YAAY,CAAC,OAAO,gBAAgB,CAAC,GAAG;IACtC,KAAK,EAAE,MAAM,CAAC;IAGd,IAAI,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;CAChD,CAAC;AAKJ,QAAA,MAAM,gBAAgB;;8EAsBrB,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,gEAOtB,aAAa,gCAQf,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=GridTile.figma.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GridTile.figma.d.ts","sourceRoot":"","sources":["../../../../src/components/onboarding/ChoiceGroup/GridTile.figma.tsx"],"names":[],"mappings":""}