@skalar-saas/design-system 0.1.152 → 0.1.154
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/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -5
- package/dist/index.mjs.map +1 -1
- package/dist/shared/ui/FloatingBar/FloatingBar.d.ts +4 -0
- package/package.json +1 -1
|
@@ -8,6 +8,8 @@ export type FloatingBarDropdownItem = {
|
|
|
8
8
|
id: string;
|
|
9
9
|
label: string;
|
|
10
10
|
icon?: React.ReactNode;
|
|
11
|
+
/** Texto a la derecha del ítem (p. ej. atajo de teclado "V"). Requiere showTrailingText. */
|
|
12
|
+
trailingText?: string;
|
|
11
13
|
onClick: () => void;
|
|
12
14
|
disabled?: boolean;
|
|
13
15
|
destructive?: boolean;
|
|
@@ -61,6 +63,8 @@ type DropdownAction = BaseAction & {
|
|
|
61
63
|
showTag?: boolean;
|
|
62
64
|
/** Show checkbox in dropdown items - defaults to false */
|
|
63
65
|
showCheckbox?: boolean;
|
|
66
|
+
/** IDs de los ítems marcados como seleccionados (check del activo, estilo Figma) */
|
|
67
|
+
selectedIds?: string[];
|
|
64
68
|
};
|
|
65
69
|
export type Action = ButtonAction | DropdownAction;
|
|
66
70
|
/**
|