@carto/ps-react-ui 4.3.2 → 4.3.3

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.
@@ -7,8 +7,11 @@ import { ToolbarActionsProps } from './types';
7
7
  * When visibleCount is undefined, all actions are shown without overflow.
8
8
  *
9
9
  * Children with the `data-toolbar-hidden` attribute are ignored when counting
10
- * visible actions and excluded from the collapsed preview, but remain in the
11
- * expanded view. This is useful for elements like Dividers that should not
12
- * count as actions.
10
+ * visible actions but are included in the preview. This is useful for elements
11
+ * like Dividers that should appear between actions but not count toward the limit.
12
+ *
13
+ * Example: With visibleCount=2 and children [Action1, Divider, Action2, Divider, Action3]:
14
+ * - Preview shows: Action1, Divider, Action2 (2 visible actions + divider)
15
+ * - Hidden: Divider, Action3
13
16
  */
14
17
  export declare function ToolbarActions({ children: _children, visibleCount, direction, labels, sx, IconButtonProps, TooltipProps, }: ToolbarActionsProps): JSX.Element | null;