@muraldevkit/ui-toolkit 4.52.2 → 4.52.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.
@@ -23,7 +23,16 @@ export interface MrlMenuItemProps {
23
23
  onMouseOut?: (e?: React.MouseEvent) => void;
24
24
  /** Data-qa attribute for the menu item */
25
25
  dataQa?: string;
26
- /** Role for the menu item */
26
+ /**
27
+ * Role for the menu item
28
+ *
29
+ * When using `menuitemcheckbox` or `menuitemradio`, the menu item will be treated as a selectable item,
30
+ * aria-checked will be set to 'true' or 'false' based on the selected state.
31
+ *
32
+ * @default 'menuitem' - for regular menu items
33
+ * @example 'menuitemcheckbox' - for checkbox menu items
34
+ * @example 'menuitemradio' - for radio menu items
35
+ */
27
36
  role?: 'menuitem' | 'menuitemcheckbox' | 'menuitemradio';
28
37
  /** If the menu item is selected */
29
38
  selected?: boolean;
@@ -80,7 +80,7 @@ export declare const colorPictoStoryData: {
80
80
  export declare const animateStoryData: {
81
81
  args: {
82
82
  delay: number;
83
- state: "stop" | "play";
83
+ state: "play" | "stop";
84
84
  };
85
85
  argTypes: {
86
86
  delay: {