@momentum-design/components 0.129.31 → 0.129.32
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.
|
@@ -119,5 +119,13 @@ declare class Toggle extends Toggle_base implements AssociatedFormControl {
|
|
|
119
119
|
private renderLabelAndHelperText;
|
|
120
120
|
render(): import("lit-html").TemplateResult<1>;
|
|
121
121
|
static styles: Array<CSSResult>;
|
|
122
|
+
static shadowRootOptions: {
|
|
123
|
+
delegatesFocus: boolean;
|
|
124
|
+
clonable?: boolean;
|
|
125
|
+
customElementRegistry?: CustomElementRegistry;
|
|
126
|
+
mode: ShadowRootMode;
|
|
127
|
+
serializable?: boolean;
|
|
128
|
+
slotAssignment?: SlotAssignmentMode;
|
|
129
|
+
};
|
|
122
130
|
}
|
|
123
131
|
export default Toggle;
|
|
@@ -246,6 +246,7 @@ class Toggle extends ControlTypeMixin(AutoFocusOnMountMixin(FormInternalsMixin(D
|
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
248
|
Toggle.styles = [...FormfieldWrapper.styles, ...styles];
|
|
249
|
+
Toggle.shadowRootOptions = { ...FormfieldWrapper.shadowRootOptions, delegatesFocus: true };
|
|
249
250
|
__decorate([
|
|
250
251
|
property({ type: Boolean, reflect: true }),
|
|
251
252
|
__metadata("design:type", Object)
|
|
@@ -153,8 +153,8 @@
|
|
|
153
153
|
"attribute": "disabled",
|
|
154
154
|
"reflects": true,
|
|
155
155
|
"inheritedFrom": {
|
|
156
|
-
"name": "
|
|
157
|
-
"module": "
|
|
156
|
+
"name": "DisabledMixin",
|
|
157
|
+
"module": "utils/mixins/DisabledMixin.js"
|
|
158
158
|
}
|
|
159
159
|
},
|
|
160
160
|
{
|
|
@@ -412,8 +412,8 @@
|
|
|
412
412
|
"default": "undefined",
|
|
413
413
|
"fieldName": "disabled",
|
|
414
414
|
"inheritedFrom": {
|
|
415
|
-
"name": "
|
|
416
|
-
"module": "src/
|
|
415
|
+
"name": "DisabledMixin",
|
|
416
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
|
417
417
|
}
|
|
418
418
|
},
|
|
419
419
|
{
|
|
@@ -48761,6 +48761,15 @@
|
|
|
48761
48761
|
"module": "utils/mixins/FormInternalsMixin.js"
|
|
48762
48762
|
}
|
|
48763
48763
|
},
|
|
48764
|
+
{
|
|
48765
|
+
"kind": "field",
|
|
48766
|
+
"name": "shadowRootOptions",
|
|
48767
|
+
"type": {
|
|
48768
|
+
"text": "object"
|
|
48769
|
+
},
|
|
48770
|
+
"static": true,
|
|
48771
|
+
"default": "{ ...FormfieldWrapper.shadowRootOptions, delegatesFocus: true }"
|
|
48772
|
+
},
|
|
48764
48773
|
{
|
|
48765
48774
|
"kind": "field",
|
|
48766
48775
|
"name": "size",
|