@momentum-design/components 0.104.8 → 0.104.10

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.
@@ -201,10 +201,10 @@ declare class Popover extends Popover_base {
201
201
  */
202
202
  backdropAppendTo?: string;
203
203
  /**
204
- * Set this property to true to make the backdrop invisible (if `backdrop` is true).
205
- * This is useful for components that do want a backdrop which stops interaction,
206
- * but do not want the backdrop to be visible as a overlay.
207
- * @default false
204
+ * Set this property to false to make the backdrop a dimmed visible backdrop (if `backdrop` is true).
205
+ * This is useful for cases where the popovers backdrop should get dimmed.
206
+ *
207
+ * @default true - default is to have a invisible backdrop
208
208
  */
209
209
  isBackdropInvisible?: boolean;
210
210
  /**
@@ -206,10 +206,10 @@ class Popover extends BackdropMixin(PreventScrollMixin(FocusTrapMixin(Component)
206
206
  */
207
207
  this.backdrop = DEFAULTS.BACKDROP;
208
208
  /**
209
- * Set this property to true to make the backdrop invisible (if `backdrop` is true).
210
- * This is useful for components that do want a backdrop which stops interaction,
211
- * but do not want the backdrop to be visible as a overlay.
212
- * @default false
209
+ * Set this property to false to make the backdrop a dimmed visible backdrop (if `backdrop` is true).
210
+ * This is useful for cases where the popovers backdrop should get dimmed.
211
+ *
212
+ * @default true - default is to have a invisible backdrop
213
213
  */
214
214
  this.isBackdropInvisible = DEFAULTS.IS_BACKDROP_INVISIBLE;
215
215
  /**
@@ -52,6 +52,6 @@ declare const DEFAULTS: {
52
52
  readonly PROPAGATE_EVENT_ON_ESCAPE: false;
53
53
  readonly KEEP_CONNECTED_TOOLTIP_CLOSED: true;
54
54
  readonly STRATEGY: "absolute";
55
- readonly IS_BACKDROP_INVISIBLE: false;
55
+ readonly IS_BACKDROP_INVISIBLE: true;
56
56
  };
57
57
  export { TAG_NAME, POPOVER_PLACEMENT, COLOR, TRIGGER, DEFAULTS };
@@ -53,6 +53,6 @@ const DEFAULTS = {
53
53
  PROPAGATE_EVENT_ON_ESCAPE: false,
54
54
  KEEP_CONNECTED_TOOLTIP_CLOSED: true,
55
55
  STRATEGY: 'absolute',
56
- IS_BACKDROP_INVISIBLE: false,
56
+ IS_BACKDROP_INVISIBLE: true,
57
57
  };
58
58
  export { TAG_NAME, POPOVER_PLACEMENT, COLOR, TRIGGER, DEFAULTS };
@@ -557,7 +557,6 @@ class Select extends FormInternalsMixin(DataAriaLabelMixin(FormfieldWrapper)) {
557
557
  role=""
558
558
  backdrop
559
559
  backdrop-append-to="${ifDefined(this.backdropAppendTo)}"
560
- is-backdrop-invisible
561
560
  hide-on-outside-click
562
561
  hide-on-escape
563
562
  focus-back-to-trigger
@@ -12,7 +12,7 @@ import { Component } from '../../models';
12
12
  * @slot default - This is a default/unnamed slot, which can be used to insert mdc-option components.
13
13
  */
14
14
  declare class Selectlistbox extends Component {
15
- role: "listbox";
15
+ connectedCallback(): void;
16
16
  protected createRenderRoot(): HTMLElement | DocumentFragment;
17
17
  }
18
18
  export default Selectlistbox;
@@ -13,8 +13,8 @@ import { ROLE } from '../../utils/roles';
13
13
  * @slot default - This is a default/unnamed slot, which can be used to insert mdc-option components.
14
14
  */
15
15
  class Selectlistbox extends Component {
16
- constructor() {
17
- super(...arguments);
16
+ connectedCallback() {
17
+ super.connectedCallback();
18
18
  this.role = ROLE.LISTBOX;
19
19
  }
20
20
  createRenderRoot() {
@@ -10076,8 +10076,8 @@
10076
10076
  "type": {
10077
10077
  "text": "boolean | undefined"
10078
10078
  },
10079
- "description": "Set this property to true to make the backdrop invisible (if `backdrop` is true).\nThis is useful for components that do want a backdrop which stops interaction,\nbut do not want the backdrop to be visible as a overlay.",
10080
- "default": "false",
10079
+ "description": "Set this property to false to make the backdrop a dimmed visible backdrop (if `backdrop` is true).\nThis is useful for cases where the popovers backdrop should get dimmed.",
10080
+ "default": "true - default is to have a invisible backdrop",
10081
10081
  "attribute": "is-backdrop-invisible",
10082
10082
  "reflects": true,
10083
10083
  "inheritedFrom": {
@@ -10886,8 +10886,8 @@
10886
10886
  "type": {
10887
10887
  "text": "boolean | undefined"
10888
10888
  },
10889
- "description": "Set this property to true to make the backdrop invisible (if `backdrop` is true).\nThis is useful for components that do want a backdrop which stops interaction,\nbut do not want the backdrop to be visible as a overlay.",
10890
- "default": "false",
10889
+ "description": "Set this property to false to make the backdrop a dimmed visible backdrop (if `backdrop` is true).\nThis is useful for cases where the popovers backdrop should get dimmed.",
10890
+ "default": "true - default is to have a invisible backdrop",
10891
10891
  "fieldName": "isBackdropInvisible",
10892
10892
  "inheritedFrom": {
10893
10893
  "name": "Popover",
@@ -22008,8 +22008,8 @@
22008
22008
  "type": {
22009
22009
  "text": "boolean | undefined"
22010
22010
  },
22011
- "description": "Set this property to true to make the backdrop invisible (if `backdrop` is true).\nThis is useful for components that do want a backdrop which stops interaction,\nbut do not want the backdrop to be visible as a overlay.",
22012
- "default": "false",
22011
+ "description": "Set this property to false to make the backdrop a dimmed visible backdrop (if `backdrop` is true).\nThis is useful for cases where the popovers backdrop should get dimmed.",
22012
+ "default": "true - default is to have a invisible backdrop",
22013
22013
  "attribute": "is-backdrop-invisible",
22014
22014
  "reflects": true,
22015
22015
  "inheritedFrom": {
@@ -22778,8 +22778,8 @@
22778
22778
  "type": {
22779
22779
  "text": "boolean | undefined"
22780
22780
  },
22781
- "description": "Set this property to true to make the backdrop invisible (if `backdrop` is true).\nThis is useful for components that do want a backdrop which stops interaction,\nbut do not want the backdrop to be visible as a overlay.",
22782
- "default": "false",
22781
+ "description": "Set this property to false to make the backdrop a dimmed visible backdrop (if `backdrop` is true).\nThis is useful for cases where the popovers backdrop should get dimmed.",
22782
+ "default": "true - default is to have a invisible backdrop",
22783
22783
  "fieldName": "isBackdropInvisible",
22784
22784
  "inheritedFrom": {
22785
22785
  "name": "Popover",
@@ -27090,8 +27090,8 @@
27090
27090
  "type": {
27091
27091
  "text": "boolean | undefined"
27092
27092
  },
27093
- "description": "Set this property to true to make the backdrop invisible (if `backdrop` is true).\nThis is useful for components that do want a backdrop which stops interaction,\nbut do not want the backdrop to be visible as a overlay.",
27094
- "default": "false",
27093
+ "description": "Set this property to false to make the backdrop a dimmed visible backdrop (if `backdrop` is true).\nThis is useful for cases where the popovers backdrop should get dimmed.",
27094
+ "default": "true - default is to have a invisible backdrop",
27095
27095
  "attribute": "is-backdrop-invisible",
27096
27096
  "reflects": true
27097
27097
  },
@@ -28166,8 +28166,8 @@
28166
28166
  "type": {
28167
28167
  "text": "boolean | undefined"
28168
28168
  },
28169
- "description": "Set this property to true to make the backdrop invisible (if `backdrop` is true).\nThis is useful for components that do want a backdrop which stops interaction,\nbut do not want the backdrop to be visible as a overlay.",
28170
- "default": "false",
28169
+ "description": "Set this property to false to make the backdrop a dimmed visible backdrop (if `backdrop` is true).\nThis is useful for cases where the popovers backdrop should get dimmed.",
28170
+ "default": "true - default is to have a invisible backdrop",
28171
28171
  "fieldName": "isBackdropInvisible"
28172
28172
  },
28173
28173
  {
@@ -33237,12 +33237,7 @@
33237
33237
  "name": "default"
33238
33238
  }
33239
33239
  ],
33240
- "members": [
33241
- {
33242
- "kind": "field",
33243
- "name": "role"
33244
- }
33245
- ],
33240
+ "members": [],
33246
33241
  "superclass": {
33247
33242
  "name": "Component",
33248
33243
  "module": "/src/models"
@@ -39307,8 +39302,8 @@
39307
39302
  "type": {
39308
39303
  "text": "boolean | undefined"
39309
39304
  },
39310
- "description": "Set this property to true to make the backdrop invisible (if `backdrop` is true).\nThis is useful for components that do want a backdrop which stops interaction,\nbut do not want the backdrop to be visible as a overlay.",
39311
- "default": "false",
39305
+ "description": "Set this property to false to make the backdrop a dimmed visible backdrop (if `backdrop` is true).\nThis is useful for cases where the popovers backdrop should get dimmed.",
39306
+ "default": "true - default is to have a invisible backdrop",
39312
39307
  "attribute": "is-backdrop-invisible",
39313
39308
  "reflects": true,
39314
39309
  "inheritedFrom": {
@@ -40127,8 +40122,8 @@
40127
40122
  "type": {
40128
40123
  "text": "boolean | undefined"
40129
40124
  },
40130
- "description": "Set this property to true to make the backdrop invisible (if `backdrop` is true).\nThis is useful for components that do want a backdrop which stops interaction,\nbut do not want the backdrop to be visible as a overlay.",
40131
- "default": "false",
40125
+ "description": "Set this property to false to make the backdrop a dimmed visible backdrop (if `backdrop` is true).\nThis is useful for cases where the popovers backdrop should get dimmed.",
40126
+ "default": "true - default is to have a invisible backdrop",
40132
40127
  "fieldName": "isBackdropInvisible",
40133
40128
  "inheritedFrom": {
40134
40129
  "name": "Popover",
@@ -41391,8 +41386,8 @@
41391
41386
  "type": {
41392
41387
  "text": "boolean | undefined"
41393
41388
  },
41394
- "description": "Set this property to true to make the backdrop invisible (if `backdrop` is true).\nThis is useful for components that do want a backdrop which stops interaction,\nbut do not want the backdrop to be visible as a overlay.",
41395
- "default": "false",
41389
+ "description": "Set this property to false to make the backdrop a dimmed visible backdrop (if `backdrop` is true).\nThis is useful for cases where the popovers backdrop should get dimmed.",
41390
+ "default": "true - default is to have a invisible backdrop",
41396
41391
  "attribute": "is-backdrop-invisible",
41397
41392
  "reflects": true,
41398
41393
  "inheritedFrom": {
@@ -42212,8 +42207,8 @@
42212
42207
  "type": {
42213
42208
  "text": "boolean | undefined"
42214
42209
  },
42215
- "description": "Set this property to true to make the backdrop invisible (if `backdrop` is true).\nThis is useful for components that do want a backdrop which stops interaction,\nbut do not want the backdrop to be visible as a overlay.",
42216
- "default": "false",
42210
+ "description": "Set this property to false to make the backdrop a dimmed visible backdrop (if `backdrop` is true).\nThis is useful for cases where the popovers backdrop should get dimmed.",
42211
+ "default": "true - default is to have a invisible backdrop",
42217
42212
  "fieldName": "isBackdropInvisible",
42218
42213
  "inheritedFrom": {
42219
42214
  "name": "Popover",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@momentum-design/components",
3
3
  "packageManager": "yarn@3.2.4",
4
- "version": "0.104.8",
4
+ "version": "0.104.10",
5
5
  "engines": {
6
6
  "node": ">=20.0.0",
7
7
  "npm": ">=8.0.0"