@muraldevkit/ui-toolkit 2.38.1 → 2.38.2

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.
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- interface MrlMenuItemProps {
2
+ export interface MrlMenuItemProps {
3
3
  /** ID for associated description */
4
4
  ariaDescribedBy?: string;
5
5
  /**
@@ -15,7 +15,7 @@ interface MrlMenuItemProps {
15
15
  /** Unique ID for the menu item */
16
16
  id?: string;
17
17
  /** Callback to be called when the menu item is clicked */
18
- onClick: (e: React.MouseEvent<HTMLElement>) => void;
18
+ onClick: (e?: React.MouseEvent<HTMLElement>) => void;
19
19
  /** Callback to be called when the menu item is hovered */
20
20
  onMouseOver?: (e?: React.MouseEvent) => void;
21
21
  /** Callback to be called when the menu item is hovered out */
@@ -34,4 +34,3 @@ interface MrlMenuItemProps {
34
34
  * @returns {Element} - rendered MrlMenuItem component
35
35
  */
36
36
  export declare function MrlMenuItem({ ariaDescribedBy, children, className, dataQa, disabled, icon, id, onClick, onMouseOut, onMouseOver, selected }: MrlMenuItemProps): JSX.Element;
37
- export {};
@@ -115,7 +115,7 @@ export declare const colorPictoStoryData: {
115
115
  export declare const animateStoryData: {
116
116
  args: {
117
117
  delay: number;
118
- state: "play" | "stop";
118
+ state: "stop" | "play";
119
119
  };
120
120
  argTypes: {
121
121
  delay: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muraldevkit/ui-toolkit",
3
- "version": "2.38.1",
3
+ "version": "2.38.2",
4
4
  "description": "Mural's UI Toolkit",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",