randmarcomps 1.618.0 → 1.619.0
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/dist/randmarcomps.d.ts +30 -0
- package/dist/randmarcomps.js +1887 -1782
- package/dist/randmarcomps.umd.cjs +40 -40
- package/package.json +1 -1
package/dist/randmarcomps.d.ts
CHANGED
|
@@ -269,6 +269,36 @@ export declare const ChatProvider: default_2.FC<{
|
|
|
269
269
|
|
|
270
270
|
export declare const Checkbox: React_2.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
271
271
|
|
|
272
|
+
export declare function CheckboxCardList({ items, selectedIds, onSelectedIdsChange, disabled, loading, selectionMode, emptyState, loadingState, getItemAriaLabel, renderItem, className, ...props }: CheckboxCardListProps): JSX.Element;
|
|
273
|
+
|
|
274
|
+
export declare interface CheckboxCardListItem {
|
|
275
|
+
id: string;
|
|
276
|
+
label: string;
|
|
277
|
+
description?: React_2.ReactNode;
|
|
278
|
+
prefix?: React_2.ReactNode;
|
|
279
|
+
emphasis?: React_2.ReactNode;
|
|
280
|
+
disabled?: boolean;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
export declare interface CheckboxCardListProps extends Omit<React_2.HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
284
|
+
items: CheckboxCardListItem[];
|
|
285
|
+
selectedIds: string[];
|
|
286
|
+
onSelectedIdsChange: (selectedIds: string[]) => void;
|
|
287
|
+
disabled?: boolean;
|
|
288
|
+
loading?: boolean;
|
|
289
|
+
selectionMode?: "single" | "multiple";
|
|
290
|
+
emptyState?: React_2.ReactNode;
|
|
291
|
+
loadingState?: React_2.ReactNode;
|
|
292
|
+
getItemAriaLabel?: (item: CheckboxCardListItem) => string;
|
|
293
|
+
renderItem?: (item: CheckboxCardListItem, state: CheckboxCardListRenderState) => React_2.ReactNode;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export declare interface CheckboxCardListRenderState {
|
|
297
|
+
checked: boolean;
|
|
298
|
+
disabled: boolean;
|
|
299
|
+
index: number;
|
|
300
|
+
}
|
|
301
|
+
|
|
272
302
|
export declare const Command: React_2.ForwardRefExoticComponent<Omit<{
|
|
273
303
|
children?: React_2.ReactNode;
|
|
274
304
|
} & Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|