@photoroom/ui 0.1.518 → 0.1.520
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
|
@@ -220,6 +220,9 @@
|
|
|
220
220
|
--color-background-accent-subdued: var(--color-accent-alpha-100);
|
|
221
221
|
--color-background-accent-subdued-hover: var(--color-accent-alpha-200);
|
|
222
222
|
--color-background-accent-subdued-down: var(--color-accent-alpha-300);
|
|
223
|
+
/* Theme-invariant brand accent: stays #492ffb in dark too, for permanent
|
|
224
|
+
accent surfaces with white content (e.g. the drag-and-drop drop state). */
|
|
225
|
+
--color-background-accent-fixed: #492ffb;
|
|
223
226
|
--color-background-positive: var(--color-positive-500);
|
|
224
227
|
--color-background-positive-hover: var(--color-positive-400);
|
|
225
228
|
--color-background-positive-down: var(--color-positive-600);
|
|
@@ -417,6 +420,9 @@
|
|
|
417
420
|
--color-background-accent-subdued: var(--color-accent-alpha-100);
|
|
418
421
|
--color-background-accent-subdued-hover: var(--color-accent-alpha-200);
|
|
419
422
|
--color-background-accent-subdued-down: var(--color-accent-alpha-300);
|
|
423
|
+
/* Theme-invariant brand accent: stays #492ffb in dark too, for permanent
|
|
424
|
+
accent surfaces with white content (e.g. the drag-and-drop drop state). */
|
|
425
|
+
--color-background-accent-fixed: #492ffb;
|
|
420
426
|
--color-background-positive: var(--color-positive-500);
|
|
421
427
|
--color-background-positive-hover: var(--color-positive-600);
|
|
422
428
|
--color-background-positive-down: var(--color-positive-400);
|
|
@@ -20,8 +20,12 @@ export type VisualToolTileProps = {
|
|
|
20
20
|
subtitle?: string;
|
|
21
21
|
badgeLabel?: string;
|
|
22
22
|
badgeVariant?: BadgeProps["variant"];
|
|
23
|
+
/** Shown in the accent overlay while `isDropTarget` is true. */
|
|
24
|
+
dropLabel?: string;
|
|
25
|
+
/** Accent drop state while an image is dragged over the tile. */
|
|
26
|
+
isDropTarget?: boolean;
|
|
23
27
|
className?: string;
|
|
24
28
|
} & VisualToolTileMediaProps & Omit<ComponentPropsWithoutRef<"button">, "children" | "onClick"> & VisualToolTileCvaProps;
|
|
25
|
-
export declare const VisualToolTile: ({ onClick, label, imageSrc, videoSrc, posterSrc, subtitle, badgeLabel, badgeVariant, density, className, ...rest }: VisualToolTileProps) => import("react").JSX.Element;
|
|
29
|
+
export declare const VisualToolTile: ({ onClick, label, imageSrc, videoSrc, posterSrc, subtitle, badgeLabel, badgeVariant, dropLabel, isDropTarget, density, className, ...rest }: VisualToolTileProps) => import("react").JSX.Element;
|
|
26
30
|
export {};
|
|
27
31
|
//# sourceMappingURL=VisualToolTile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VisualToolTile.d.ts","sourceRoot":"","sources":["../../../../src/components/content/VisualToolTile/VisualToolTile.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"VisualToolTile.d.ts","sourceRoot":"","sources":["../../../../src/components/content/VisualToolTile/VisualToolTile.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,EAAS,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEvD,QAAA,MAAM,iBAAiB;;8EAoBtB,CAAC;AACF,KAAK,sBAAsB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAErE,KAAK,wBAAwB,GACzB;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,KAAK,CAAC;IAAC,SAAS,CAAC,EAAE,KAAK,CAAA;CAAE,GACzD;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC;AAE9D,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;IACrC,gEAAgE;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iEAAiE;IACjE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,wBAAwB,GAC1B,IAAI,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC,GAChE,sBAAsB,CAAC;AA4CzB,eAAO,MAAM,cAAc,GAAI,6IAc5B,mBAAmB,gCAuErB,CAAC"}
|