@fluid-topics/ft-floating-menu 0.3.70 → 1.0.0-alpha.0
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/ft-floating-menu-item.css.d.ts +0 -1
- package/build/ft-floating-menu-item.css.js +0 -1
- package/build/ft-floating-menu-item.d.ts +0 -1
- package/build/ft-floating-menu-item.js +3 -4
- package/build/ft-floating-menu-item.properties.d.ts +0 -1
- package/build/ft-floating-menu-item.properties.js +0 -1
- package/build/ft-floating-menu.css.d.ts +0 -1
- package/build/ft-floating-menu.css.js +0 -1
- package/build/ft-floating-menu.d.ts +0 -1
- package/build/ft-floating-menu.js +2 -2
- package/build/ft-floating-menu.light.js +148 -144
- package/build/ft-floating-menu.min.js +193 -199
- package/build/ft-floating-menu.properties.d.ts +2 -3
- package/build/ft-floating-menu.properties.js +0 -1
- package/build/index.d.ts +0 -1
- package/build/index.js +0 -1
- package/package.json +8 -8
|
@@ -16,19 +16,18 @@ export class FtFloatingMenuItemSelect extends CustomEvent {
|
|
|
16
16
|
super("select", { detail: value, bubbles: true, composed: true });
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
|
|
19
|
+
class FtFloatingMenuItem extends FtLitElement {
|
|
20
20
|
constructor() {
|
|
21
21
|
super(...arguments);
|
|
22
22
|
this.value = "";
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
var _a;
|
|
26
25
|
return html `
|
|
27
26
|
<div class="ft-floating-menu-item"
|
|
28
27
|
@click=${this.onClick}>
|
|
29
28
|
<ft-ripple></ft-ripple>
|
|
30
29
|
${this.icon ? html `
|
|
31
|
-
<ft-icon variant="${
|
|
30
|
+
<ft-icon .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
32
31
|
` : nothing}
|
|
33
32
|
<ft-typography variant="body2">
|
|
34
33
|
<slot></slot>
|
|
@@ -56,4 +55,4 @@ __decorate([
|
|
|
56
55
|
__decorate([
|
|
57
56
|
property()
|
|
58
57
|
], FtFloatingMenuItem.prototype, "value", void 0);
|
|
59
|
-
|
|
58
|
+
export { FtFloatingMenuItem };
|
|
@@ -12,7 +12,7 @@ import { FtButton } from "@fluid-topics/ft-button";
|
|
|
12
12
|
import { classMap } from "lit/directives/class-map.js";
|
|
13
13
|
import { FtFloatingMenuItem } from "./ft-floating-menu-item";
|
|
14
14
|
import { FtIconVariants } from "@fluid-topics/ft-icon/build/ft-icon.properties";
|
|
15
|
-
|
|
15
|
+
class FtFloatingMenu extends FtLitElement {
|
|
16
16
|
constructor() {
|
|
17
17
|
super(...arguments);
|
|
18
18
|
this.menuOpen = false;
|
|
@@ -112,4 +112,4 @@ __decorate([
|
|
|
112
112
|
__decorate([
|
|
113
113
|
property({ type: Boolean })
|
|
114
114
|
], FtFloatingMenu.prototype, "disabled", void 0);
|
|
115
|
-
|
|
115
|
+
export { FtFloatingMenu };
|