@momentum-design/components 0.123.0 → 0.123.2
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 -99
- package/dist/browser/index.js.map +2 -2
- package/dist/components/alertchip/alertchip.component.js +1 -1
- package/dist/components/stepperitem/stepperitem.styles.js +0 -1
- 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 +4 -3
- package/package.json +1 -1
|
@@ -84,7 +84,7 @@ class AlertChip extends IconNameMixin(Buttonsimple) {
|
|
|
84
84
|
}
|
|
85
85
|
AlertChip.styles = [...Component.styles, ...styles];
|
|
86
86
|
__decorate([
|
|
87
|
-
property({ type: String }),
|
|
87
|
+
property({ type: String, reflect: true }),
|
|
88
88
|
__metadata("design:type", String)
|
|
89
89
|
], AlertChip.prototype, "variant", void 0);
|
|
90
90
|
__decorate([
|
|
@@ -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) {
|
|
@@ -1081,7 +1081,8 @@
|
|
|
1081
1081
|
},
|
|
1082
1082
|
"description": "The variant of the alertchip. It supports 5 variants\n- neutral\n- warning\n- error\n- success\n- informational",
|
|
1083
1083
|
"default": "neutral",
|
|
1084
|
-
"attribute": "variant"
|
|
1084
|
+
"attribute": "variant",
|
|
1085
|
+
"reflects": true
|
|
1085
1086
|
},
|
|
1086
1087
|
{
|
|
1087
1088
|
"kind": "field",
|
|
@@ -46564,7 +46565,7 @@
|
|
|
46564
46565
|
"text": "number | undefined"
|
|
46565
46566
|
},
|
|
46566
46567
|
"description": "The cols attribute specifies the visible number of lines in a text area.",
|
|
46567
|
-
"default": "
|
|
46568
|
+
"default": "undefined",
|
|
46568
46569
|
"attribute": "cols"
|
|
46569
46570
|
},
|
|
46570
46571
|
{
|
|
@@ -47153,7 +47154,7 @@
|
|
|
47153
47154
|
"text": "number | undefined"
|
|
47154
47155
|
},
|
|
47155
47156
|
"description": "The cols attribute specifies the visible number of lines in a text area.",
|
|
47156
|
-
"default": "
|
|
47157
|
+
"default": "undefined",
|
|
47157
47158
|
"fieldName": "cols"
|
|
47158
47159
|
},
|
|
47159
47160
|
{
|