@muraldevkit/ui-toolkit 2.78.0-dev-G53p.1 → 2.78.0-dev-b0Ku.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.
@@ -25,6 +25,8 @@ interface MrlTextareaProps {
25
25
  state?: 'disabled' | 'error';
26
26
  /** Additional class to add to the textarea */
27
27
  className?: string;
28
+ /** Autoexpand will automatically adjust the height of the textarea based on the amount of text within it */
29
+ autoExpand?: boolean;
28
30
  }
29
31
  /**
30
32
  * Allows the user to input plain text in a multi-line format
@@ -32,5 +34,5 @@ interface MrlTextareaProps {
32
34
  * @param {MrlTextareaProps} props - the component props
33
35
  * @returns a textarea element
34
36
  */
35
- export declare function MrlTextarea({ attrs, className, inputId, state, maxLength, placeholder, value }: MrlTextareaProps): JSX.Element;
37
+ export declare function MrlTextarea({ attrs, className, inputId, state, maxLength, placeholder, value, autoExpand }: MrlTextareaProps): JSX.Element;
36
38
  export {};
@@ -1,15 +1,30 @@
1
1
  import React from 'react';
2
2
  import { DSIconType } from '../../svg';
3
- export type InlineNotificationKind = 'error' | 'info' | 'warning' | 'success' | 'general';
3
+ export type InlineNotificationKind = 'error' | 'info' | 'warning' | 'success' | 'helper';
4
4
  interface PropTypes {
5
- /** a custom DS icon which is only applied if the alert is not an error, info, or warning type */
5
+ /**
6
+ * A custom DS icon which is only applied if the alert is not an error, info, or warning type
7
+ */
6
8
  customIcon?: DSIconType;
9
+ /**
10
+ * The id of the notification.
11
+ *
12
+ * Used to link the notification to a form field using aria-describedby.
13
+ */
7
14
  id: string;
8
15
  /**
9
- * Accepted values: error, info, warning, success, general
16
+ * Choose the kind of notification to display.
17
+ *
18
+ * Accepted values: error, info, warning, success, helper
10
19
  */
11
20
  kind: InlineNotificationKind;
21
+ /**
22
+ * The text to be displayed in the notification.
23
+ */
12
24
  message: string;
25
+ /**
26
+ * The data-qa attribute for testing purposes.
27
+ */
13
28
  ['data-qa']?: string;
14
29
  }
15
30
  /**
@@ -115,7 +115,7 @@ export declare const colorPictoStoryData: {
115
115
  export declare const animateStoryData: {
116
116
  args: {
117
117
  delay: number;
118
- state: "stop" | "play";
118
+ state: "play" | "stop";
119
119
  };
120
120
  argTypes: {
121
121
  delay: {