@ultraviolet/plus 0.21.2 → 0.21.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.
@@ -38,7 +38,7 @@ type ItemProps = {
38
38
  * This function will be triggered on click of the item. If the item is expandable
39
39
  * toggle will be passed with it.
40
40
  */
41
- onClick?: (toggle?: true | false) => void;
41
+ onToggle?: (toggle: boolean) => void;
42
42
  onClickPinUnpin?: (parameters: PinUnPinType) => void;
43
43
  /**
44
44
  * This prop is used to control if the item is expanded or collapsed
@@ -79,5 +79,5 @@ type ItemProps = {
79
79
  disabled?: boolean;
80
80
  'data-testid'?: string;
81
81
  };
82
- export declare const Item: ({ children, categoryIcon, categoryIconVariant, label, subLabel, badgeText, badgeSentiment, href, onClick, onClickPinUnpin, toggle, active, noPinButton, type, hasParents, as, disabled, noExpand, index, id, "data-testid": dataTestId, }: ItemProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;
82
+ export declare const Item: ({ children, categoryIcon, categoryIconVariant, label, subLabel, badgeText, badgeSentiment, href, onToggle, onClickPinUnpin, toggle, active, noPinButton, type, hasParents, as, disabled, noExpand, index, id, "data-testid": dataTestId, }: ItemProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;
83
83
  export {};