@photoroom/ui 0.1.230 → 0.1.232

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/colors.css CHANGED
@@ -262,6 +262,10 @@
262
262
  --color-misc-ai-image: #5383ff;
263
263
  --color-misc-ai-video: #00cd9c;
264
264
  --color-misc-automated-exports: #aa4fff;
265
+
266
+ /* Yellow flash */
267
+ --color-misc-yellow: #e5ed49;
268
+ --color-misc-yellow-light: #fdffd5;
265
269
  }
266
270
 
267
271
  /*
@@ -445,6 +449,10 @@
445
449
  --color-misc-ai-image: #5383ff;
446
450
  --color-misc-ai-video: #00cd9c;
447
451
  --color-misc-automated-exports: #aa4fff;
452
+
453
+ /* Yellow flash */
454
+ --color-misc-yellow: #e5ed49;
455
+ --color-misc-yellow-light: #fdffd5;
448
456
  }
449
457
  .theme-dark .bg-background-pro-hover {
450
458
  background-image: linear-gradient(
@@ -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<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "type"> & import("react").RefAttributes<HTMLButtonElement>>;
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":"AAKA,MAAM,MAAM,sBAAsB,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;AAE7E,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,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC,CAAC;AAEhE,eAAO,MAAM,UAAU;IAhBrB,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,MA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