@photoroom/ui 0.1.457 → 0.1.458

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ChoiceMultipleGroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/onboarding/ChoiceGroup/ChoiceMultiple/ChoiceMultipleGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAE9E,OAAO,EAAe,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAO/D,MAAM,MAAM,wBAAwB,GAAG,eAAe,GACpD,IAAI,CAAC,gBAAgB,EAAE,OAAO,GAAG,QAAQ,GAAG,UAAU,CAAC,CAAC;AAE1D,eAAO,MAAM,mBAAmB;iEAO7B,wBAAwB;;;;;;;;;;;;;;;;;CAiB1B,CAAC"}
1
+ {"version":3,"file":"ChoiceMultipleGroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/onboarding/ChoiceGroup/ChoiceMultiple/ChoiceMultipleGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAE9E,OAAO,EAAe,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAO/D,MAAM,MAAM,wBAAwB,GAAG,eAAe,GACpD,IAAI,CAAC,gBAAgB,EAAE,OAAO,GAAG,QAAQ,GAAG,UAAU,CAAC,CAAC;AAE1D,eAAO,MAAM,mBAAmB;iEAO7B,wBAAwB;;;;;;;;;;;;;;;;;CAsB1B,CAAC"}
@@ -1,12 +1,22 @@
1
1
  import { type VariantProps } from "class-variance-authority";
2
+ declare const gridTileSizes: {
3
+ readonly default: {
4
+ readonly frame: "min-h-14 gap-2.5";
5
+ readonly label: "component-600";
6
+ };
7
+ readonly compact: {
8
+ readonly frame: "min-h-20 gap-3";
9
+ readonly label: "component-500";
10
+ };
11
+ };
2
12
  export type GridTileProps = React.ComponentPropsWithoutRef<"label"> & VariantProps<typeof gridTileVariants> & {
3
13
  label: string;
4
14
  icon?: React.FC<React.SVGProps<SVGSVGElement>>;
5
15
  iconClassName?: string;
16
+ size?: keyof typeof gridTileSizes;
6
17
  };
7
18
  declare const gridTileVariants: (props?: ({
8
19
  selected?: boolean | null | undefined;
9
- size?: "default" | "compact" | null | undefined;
10
20
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
11
21
  export declare const GridTile: ({ label, icon: Icon, iconClassName, selected, size, className, children, ...props }: GridTileProps) => import("react").JSX.Element;
12
22
  export {};
@@ -1 +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;AAKlE,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;IAG/C,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAKJ,QAAA,MAAM,gBAAgB;;;8EAgCrB,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,qFAStB,aAAa,gCAaf,CAAC"}
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;AAQlE,QAAA,MAAM,aAAa;;;;;;;;;CAGT,CAAC;AAEX,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;IAG/C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,OAAO,aAAa,CAAC;CACnC,CAAC;AAKJ,QAAA,MAAM,gBAAgB;;8EAwBrB,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,qFAStB,aAAa,gCAWf,CAAC"}