@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.
- package/dist/browser/index.js +100 -98
- package/dist/browser/index.js.map +2 -2
- package/dist/components/textarea/textarea.component.d.ts +1 -1
- package/dist/components/textarea/textarea.component.js +0 -5
- package/dist/components/textarea/textarea.styles.js +2 -0
- package/dist/custom-elements.json +2247 -2247
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +3 -3
- package/package.json +1 -1
|
@@ -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) {
|