@photoroom/ui 0.1.230 → 0.1.231
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,4 +1,9 @@
|
|
|
1
|
+
import { type VariantProps } from "class-variance-authority";
|
|
1
2
|
export type OptionTileTrailingType = "value" | "preview" | "color" | "badge";
|
|
3
|
+
declare const optionTileVariants: (props?: ({
|
|
4
|
+
size?: "compact" | "regular" | null | undefined;
|
|
5
|
+
hasThumbnail?: boolean | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
2
7
|
export type OptionTileProps = {
|
|
3
8
|
/** Label text displayed on the left */
|
|
4
9
|
label: string;
|
|
@@ -14,7 +19,7 @@ export type OptionTileProps = {
|
|
|
14
19
|
badgeLabel?: string;
|
|
15
20
|
/** Additional className for custom styling */
|
|
16
21
|
className?: string;
|
|
17
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "type">;
|
|
22
|
+
} & Omit<VariantProps<typeof optionTileVariants>, "hasThumbnail"> & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "type">;
|
|
18
23
|
export declare const OptionTile: import("react").ForwardRefExoticComponent<{
|
|
19
24
|
/** Label text displayed on the left */
|
|
20
25
|
label: string;
|
|
@@ -30,5 +35,9 @@ export declare const OptionTile: import("react").ForwardRefExoticComponent<{
|
|
|
30
35
|
badgeLabel?: string;
|
|
31
36
|
/** Additional className for custom styling */
|
|
32
37
|
className?: string;
|
|
33
|
-
} & Omit<
|
|
38
|
+
} & Omit<VariantProps<(props?: ({
|
|
39
|
+
size?: "compact" | "regular" | null | undefined;
|
|
40
|
+
hasThumbnail?: boolean | null | undefined;
|
|
41
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string>, "hasThumbnail"> & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "type"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
42
|
+
export {};
|
|
34
43
|
//# sourceMappingURL=OptionTile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OptionTile.d.ts","sourceRoot":"","sources":["../../../../src/components/input/OptionTile/OptionTile.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OptionTile.d.ts","sourceRoot":"","sources":["../../../../src/components/input/OptionTile/OptionTile.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAOlE,MAAM,MAAM,sBAAsB,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;AAE7E,QAAA,MAAM,kBAAkB;;;8EAwBvB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,uCAAuC;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,6CAA6C;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qJAAqJ;IACrJ,QAAQ,CAAC,EAAE,sBAAsB,CAAC;IAClC,uCAAuC;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uCAAuC;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,8CAA8C;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,IAAI,CAAC,YAAY,CAAC,OAAO,kBAAkB,CAAC,EAAE,cAAc,CAAC,GAC/D,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC,CAAC;AAE9D,eAAO,MAAM,UAAU;IAjBrB,uCAAuC;WAChC,MAAM;IACb,6CAA6C;YACrC,MAAM;IACd,qJAAqJ;eAC1I,sBAAsB;IACjC,uCAAuC;iBAC1B,MAAM;IACnB,4CAA4C;YACpC,MAAM;IACd,uCAAuC;iBAC1B,MAAM;IACnB,8CAA8C;gBAClC,MAAM;;;;4NAsEnB,CAAC"}
|