@muraldevkit/ui-toolkit 4.46.0 → 4.47.1-dev-0g73.1

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,7 +7,6 @@ import './MrlIconButton.scss';
7
7
  export interface MrlIconButtonProps extends Omit<MrlComponentProps, 'style'>, React.ComponentProps<'button'> {
8
8
  /**
9
9
  * Applies additional HTML attributes to the button element.
10
- *
11
10
  * @deprecated
12
11
  */
13
12
  attrs?: AttrsObject;
@@ -103,5 +102,11 @@ export interface MrlIconButtonProps extends Omit<MrlComponentProps, 'style'>, Re
103
102
  * An optional class name to add to the tooltip wrapper.
104
103
  */
105
104
  wrapperClassName?: string;
105
+ /**
106
+ * Controlled state that overrides the internal state management.
107
+ * When provided, this takes precedence over the `state` prop and allows
108
+ * the parent component to fully control the icon button's state.
109
+ */
110
+ controlledState?: MrlButtonState;
106
111
  }
107
112
  export declare const MrlIconButton: React.ForwardRefExoticComponent<Omit<MrlIconButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
@@ -80,7 +80,7 @@ export declare const colorPictoStoryData: {
80
80
  export declare const animateStoryData: {
81
81
  args: {
82
82
  delay: number;
83
- state: "play" | "stop";
83
+ state: "stop" | "play";
84
84
  };
85
85
  argTypes: {
86
86
  delay: {