@momentum-ui/web-components 2.22.7 → 2.22.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.
- package/dist/1323.js +3 -3
- package/dist/1598.js +1 -1
- package/dist/4663.js +1 -1
- package/dist/6067.js +1 -1
- package/dist/8841.js +1 -1
- package/dist/9130.js +1 -1
- package/dist/comp/md-card-v2-entry.js +7 -7
- package/dist/comp/md-coachmark-popover-entry.js +26 -25
- package/dist/comp/md-floating-minimize-entry.js +12 -2
- package/dist/comp/md-floating-modal-entry.js +17 -5
- package/dist/comp/md-menu-overlay-entry.js +3 -3
- package/dist/comp/md-popover-entry.js +24 -24
- package/dist/index-entry.js +47 -34
- package/dist/types/components/combobox/ComboBox.d.ts +1 -1
- package/dist/types/components/floating-modal/FloatingMinimizedModal.d.ts +1 -0
- package/dist/types/components/floating-modal/FloatingModal.d.ts +2 -0
- package/dist/types/components/grabber/Grabber.d.ts +1 -1
- package/dist/types/components/menu-overlay/MenuOverlay.d.ts +2 -0
- package/dist/types/components/popover/Popover.d.ts +24 -1
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import "@/components/button/Button";
|
|
9
9
|
import "@/components/icon/Icon";
|
|
10
10
|
import { LitElement, PropertyValues } from "lit-element";
|
|
11
|
-
import { PlacementType, PopoverRoleType } from "./Popover.types";
|
|
11
|
+
import { PlacementType, PopoverRoleType, StrategyType } from "./Popover.types";
|
|
12
12
|
export declare namespace Popover {
|
|
13
13
|
const ELEMENT_base: typeof LitElement & import("@/mixins/FocusTrapMixin").AnyConstructor<import("@/mixins/FocusTrapMixin").FocusTrapClass & import("@/mixins/FocusTrapMixin").FocusTrapInterface & import("../../mixins/FocusMixin").FocusClass>;
|
|
14
14
|
/**
|
|
@@ -24,6 +24,19 @@ export declare namespace Popover {
|
|
|
24
24
|
* @type {PlacementType}
|
|
25
25
|
*/
|
|
26
26
|
placement: PlacementType;
|
|
27
|
+
/**
|
|
28
|
+
* The positioning strategy for the popover.
|
|
29
|
+
*
|
|
30
|
+
* This property specifies how the popover is positioned relative to the trigger element.
|
|
31
|
+
* It accepts two values:
|
|
32
|
+
* - `"absolute"`: The popover is positioned relative to the nearest positioned ancestor.
|
|
33
|
+
* - `"fixed"`: The popover is positioned relative to the viewport, allowing it to escape parent containers with `overflow: hidden` or `overflow: auto`.
|
|
34
|
+
*
|
|
35
|
+
* By default, the positioning strategy is `"absolute"`. Use `"fixed"` if the popover needs to escape parent boundaries.
|
|
36
|
+
*
|
|
37
|
+
* @type {StrategyType}
|
|
38
|
+
*/
|
|
39
|
+
positioningStrategy?: StrategyType;
|
|
27
40
|
/**
|
|
28
41
|
* Indicates whether the popover is open.
|
|
29
42
|
*
|
|
@@ -124,6 +137,14 @@ export declare namespace Popover {
|
|
|
124
137
|
* @type {string}
|
|
125
138
|
*/
|
|
126
139
|
trigger?: string;
|
|
140
|
+
/**
|
|
141
|
+
* Indicates whether the popover should use an inverted color scheme.
|
|
142
|
+
*
|
|
143
|
+
* When set to `true`, the popover will invert its background color and text color.
|
|
144
|
+
*
|
|
145
|
+
* @type {boolean}
|
|
146
|
+
*/
|
|
147
|
+
inverted: boolean;
|
|
127
148
|
/**
|
|
128
149
|
* The trigger element for the popover.
|
|
129
150
|
*
|
|
@@ -173,6 +194,8 @@ export declare namespace Popover {
|
|
|
173
194
|
protected updated(changedProperties: PropertyValues): void;
|
|
174
195
|
private isOpenUpdated;
|
|
175
196
|
private dispatchPopoverIsOpenChanged;
|
|
197
|
+
private get popoverClassMap();
|
|
198
|
+
private get renderPopoverTemplate();
|
|
176
199
|
render(): import("lit-element").TemplateResult;
|
|
177
200
|
}
|
|
178
201
|
export {};
|