@momentum-design/components 0.104.8 → 0.104.9

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