@fluid-topics/ftds-popover 2.2.2 → 2.2.3
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/build/ftds-popover.d.ts +2 -2
- package/build/ftds-popover.js +1 -4
- package/build/ftds-popover.light.js +55 -55
- package/build/ftds-popover.min.js +58 -58
- package/package.json +8 -8
package/build/ftds-popover.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { nothing, PropertyValues, TemplateResult } from "lit";
|
|
2
2
|
import { ElementDefinitionsMap, FtLitElement } from "@fluid-topics/ft-wc-utils";
|
|
3
3
|
import { FtdsPopoverMargins, FtdsPopoverProperties } from "./ftds-popover.properties";
|
|
4
|
-
import { DesignSystemFamily
|
|
4
|
+
import { DesignSystemFamily } from "@fluid-topics/design-system-variables";
|
|
5
5
|
import { FtdsIcons, FtdsIconVariants } from "@fluid-topics/ftds-icon";
|
|
6
6
|
import { Position } from "@fluid-topics/ft-tooltip";
|
|
7
7
|
export declare class FtdsPopover extends FtLitElement implements FtdsPopoverProperties {
|
|
@@ -14,7 +14,6 @@ export declare class FtdsPopover extends FtLitElement implements FtdsPopoverProp
|
|
|
14
14
|
openButtonTooltipPosition: Position;
|
|
15
15
|
opened: boolean;
|
|
16
16
|
hidden: boolean;
|
|
17
|
-
openButtonSize: DesignSystemSize;
|
|
18
17
|
openButtonFamily: DesignSystemFamily;
|
|
19
18
|
private isTriggerSlotAssigned;
|
|
20
19
|
heading: string;
|
|
@@ -33,6 +32,7 @@ export declare class FtdsPopover extends FtLitElement implements FtdsPopoverProp
|
|
|
33
32
|
private headingId;
|
|
34
33
|
private contentId;
|
|
35
34
|
private maxWidth;
|
|
35
|
+
private openButtonSize;
|
|
36
36
|
get openingElement(): HTMLElement | undefined;
|
|
37
37
|
protected render(): typeof nothing | TemplateResult<1>;
|
|
38
38
|
private renderPopover;
|
package/build/ftds-popover.js
CHANGED
|
@@ -25,7 +25,6 @@ export class FtdsPopover extends FtLitElement {
|
|
|
25
25
|
this.openButtonTooltipPosition = "bottom";
|
|
26
26
|
this.opened = false;
|
|
27
27
|
this.hidden = false;
|
|
28
|
-
this.openButtonSize = DesignSystemSize.small;
|
|
29
28
|
this.openButtonFamily = DesignSystemFamily.info;
|
|
30
29
|
this.isTriggerSlotAssigned = false;
|
|
31
30
|
this.heading = "";
|
|
@@ -34,6 +33,7 @@ export class FtdsPopover extends FtLitElement {
|
|
|
34
33
|
this.headingId = "ftds-popover-heading";
|
|
35
34
|
this.contentId = "ftds-popover-content";
|
|
36
35
|
this.maxWidth = popover.maxWidth;
|
|
36
|
+
this.openButtonSize = DesignSystemSize.small;
|
|
37
37
|
this.onTriggerSlotChange = () => {
|
|
38
38
|
var _a, _b;
|
|
39
39
|
const assignedTrigger = (_b = (_a = this.triggerSlot) === null || _a === void 0 ? void 0 : _a.assignedElements()) !== null && _b !== void 0 ? _b : [];
|
|
@@ -253,9 +253,6 @@ __decorate([
|
|
|
253
253
|
__decorate([
|
|
254
254
|
property({ type: Boolean })
|
|
255
255
|
], FtdsPopover.prototype, "hidden", void 0);
|
|
256
|
-
__decorate([
|
|
257
|
-
property({ type: DesignSystemSize })
|
|
258
|
-
], FtdsPopover.prototype, "openButtonSize", void 0);
|
|
259
256
|
__decorate([
|
|
260
257
|
property({ type: DesignSystemFamily })
|
|
261
258
|
], FtdsPopover.prototype, "openButtonFamily", void 0);
|