@photoroom/ui 0.1.667 → 0.1.669
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/README.md +2 -2
- package/components/index.d.ts +0 -1
- package/components/index.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.mjs +11514 -11592
- package/package.json +1 -1
- package/components/action/InsertActionBar/InsertActionBar.d.ts +0 -23
- package/components/action/InsertActionBar/InsertActionBar.d.ts.map +0 -1
- package/components/action/InsertActionBar/index.d.ts +0 -2
- package/components/action/InsertActionBar/index.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
export type InsertActionBarProps = {
|
|
3
|
-
/** Number of currently selected items; drives which state renders. */
|
|
4
|
-
selectedCount: number;
|
|
5
|
-
/** Copy shown when nothing is selected, e.g. "Select up to 4 images". */
|
|
6
|
-
emptyLabel: string;
|
|
7
|
-
/**
|
|
8
|
-
* Copy shown when one or more items are selected, e.g. "3 selected" or
|
|
9
|
-
* "4 selected • Image limit reached". The caller owns limit detection.
|
|
10
|
-
*/
|
|
11
|
-
selectedLabel?: string;
|
|
12
|
-
/** Selected image URLs, most recent first. The first two drive the thumbnail. */
|
|
13
|
-
thumbnailUrls?: readonly string[];
|
|
14
|
-
/** Label of the clear-selection text button, e.g. "Clear all". */
|
|
15
|
-
clearLabel: string;
|
|
16
|
-
/** Called when the clear button is clicked. */
|
|
17
|
-
onClear: () => void;
|
|
18
|
-
/** Trailing primary action button(s); rendered in every state. */
|
|
19
|
-
children?: ReactNode;
|
|
20
|
-
className?: string;
|
|
21
|
-
};
|
|
22
|
-
export declare const InsertActionBar: ({ selectedCount, emptyLabel, selectedLabel, thumbnailUrls, clearLabel, onClear, children, className, }: InsertActionBarProps) => import("react").JSX.Element;
|
|
23
|
-
//# sourceMappingURL=InsertActionBar.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;AA6DF,eAAO,MAAM,eAAe,2GASzB,oBAAoB,gCA2BtB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/action/InsertActionBar/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|