@momentum-design/components 0.122.22 → 0.123.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.
@@ -80,7 +80,7 @@ declare class Textarea extends Textarea_base {
80
80
  rows?: number;
81
81
  /**
82
82
  * The cols attribute specifies the visible number of lines in a text area.
83
- * @default 40
83
+ * @default undefined
84
84
  */
85
85
  cols?: number;
86
86
  /**
@@ -91,11 +91,6 @@ class Textarea extends AutoFocusOnMountMixin(FormInternalsMixin(DataAriaLabelMix
91
91
  * @default 5
92
92
  */
93
93
  this.rows = DEFAULTS.ROWS;
94
- /**
95
- * The cols attribute specifies the visible number of lines in a text area.
96
- * @default 40
97
- */
98
- this.cols = DEFAULTS.COLS;
99
94
  /**
100
95
  * The wrap attribute specifies how the text in a text area is to be wrapped when submitted in a form.
101
96
  * @default 'soft'
@@ -10,6 +10,7 @@ const styles = [
10
10
  --mdc-textarea-text-secondary-normal: var(--mds-color-theme-text-secondary-normal);
11
11
  --mdc-textarea-text-font-size: var(--mds-font-size-body-midsize);
12
12
  --mdc-textarea-text-line-height: var(--mds-font-lineheight-body-midsize);
13
+ width: 100%;
13
14
  }
14
15
 
15
16
  :host::part(textarea) {
@@ -33,6 +34,7 @@ const styles = [
33
34
  overflow: hidden;
34
35
  padding: 0.375rem 0.25rem 0.25rem 0.75rem;
35
36
  background-color: var(--mdc-textarea-container-background-color);
37
+ width: 100%;
36
38
  }
37
39
 
38
40
  :host(:dir(rtl))::part(textarea-container) {