@photoroom/ui 0.1.450 → 0.1.452
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":"InsertActionBar.d.ts","sourceRoot":"","sources":["../../../../src/components/action/InsertActionBar/InsertActionBar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InsertActionBar.d.ts","sourceRoot":"","sources":["../../../../src/components/action/InsertActionBar/InsertActionBar.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKlC,MAAM,MAAM,oBAAoB,GAAG;IACjC,sEAAsE;IACtE,aAAa,EAAE,MAAM,CAAC;IACtB,yEAAyE;IACzE,UAAU,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iFAAiF;IACjF,aAAa,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,kEAAkE;IAClE,UAAU,EAAE,MAAM,CAAC;IACnB,+CAA+C;IAC/C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,kEAAkE;IAClE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AA2DF,eAAO,MAAM,eAAe,GAAI,wGAS7B,oBAAoB,gCA2BtB,CAAC"}
|
|
@@ -2,16 +2,18 @@ import { VariantProps } from "class-variance-authority";
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Merge, PolymorphicComponent } from "../../polymorphic";
|
|
4
4
|
declare const menuItemCva: (props?: ({
|
|
5
|
-
|
|
5
|
+
leadingSlot?: "icon" | "none" | "statusDot" | null | undefined;
|
|
6
6
|
variant?: "default" | "negative" | "positive" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
|
-
type MenuItemCvaProps = VariantProps<typeof menuItemCva>;
|
|
8
|
+
type MenuItemCvaProps = Pick<VariantProps<typeof menuItemCva>, "variant">;
|
|
9
9
|
type MenuItemButtonOwnProps = Readonly<{
|
|
10
10
|
avatar?: React.ReactElement;
|
|
11
11
|
objectPreview?: React.ReactElement;
|
|
12
12
|
icon?: React.ComponentType<React.ComponentPropsWithoutRef<"svg">>;
|
|
13
13
|
leading?: React.ReactNode;
|
|
14
14
|
hideIcon?: boolean;
|
|
15
|
+
/** Semantic color token className for an 8px leading status dot, e.g. "bg-content-accent". */
|
|
16
|
+
statusDot?: `bg-content-${string}` | `bg-background-${string}`;
|
|
15
17
|
rightElement?: React.ReactNode;
|
|
16
18
|
trailingLabel?: string;
|
|
17
19
|
description?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuItemButton.d.ts","sourceRoot":"","sources":["../../../../src/components/collections/CommonMenu/MenuItemButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,KAAgD,MAAM,OAAO,CAAC;AAErE,OAAO,EAAE,KAAK,EAAE,oBAAoB,EAAoB,MAAM,mBAAmB,CAAC;AAGlF,QAAA,MAAM,WAAW;;;
|
|
1
|
+
{"version":3,"file":"MenuItemButton.d.ts","sourceRoot":"","sources":["../../../../src/components/collections/CommonMenu/MenuItemButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,KAAgD,MAAM,OAAO,CAAC;AAErE,OAAO,EAAE,KAAK,EAAE,oBAAoB,EAAoB,MAAM,mBAAmB,CAAC;AAGlF,QAAA,MAAM,WAAW;;;8EAyBhB,CAAC;AAcF,KAAK,gBAAgB,GAAG,IAAI,CAAC,YAAY,CAAC,OAAO,WAAW,CAAC,EAAE,SAAS,CAAC,CAAC;AAE1E,KAAK,sBAAsB,GAAG,QAAQ,CAAC;IACrC,MAAM,CAAC,EAAE,KAAK,CAAC,YAA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