@fluid-topics/ft-floating-menu 0.3.63 → 0.3.65
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.
|
@@ -579,8 +579,8 @@ const tt=Symbol.for(""),it=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
579
579
|
${t}
|
|
580
580
|
</ft-tooltip>
|
|
581
581
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
582
|
-
<ft-loader></ft-loader> `:this.icon?e.html`
|
|
583
|
-
<ft-icon variant="${this.iconVariant}" value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}qi.elementDefinitions={"ft-ripple":b,"ft-tooltip":Ii,"ft-typography":wi,"ft-icon":Zi,"ft-loader":Bi},qi.styles=[i.safariEllipsisFix,Pi],Vi([o.property({type:String,reflect:!0})],qi.prototype,"role",void 0),Vi([o.property({type:Boolean})],qi.prototype,"primary",void 0),Vi([o.property({type:Boolean})],qi.prototype,"outlined",void 0),Vi([o.property({type:Boolean})],qi.prototype,"disabled",void 0),Vi([o.property({type:Boolean})],qi.prototype,"dense",void 0),Vi([o.property({type:Boolean})],qi.prototype,"round",void 0),Vi([o.property({type:String})],qi.prototype,"label",void 0),Vi([o.property({type:String})],qi.prototype,"icon",void 0),Vi([o.property({type:String})],qi.prototype,"iconVariant",void 0),Vi([o.property({type:Boolean})],qi.prototype,"trailingIcon",void 0),Vi([o.property({type:Boolean})],qi.prototype,"loading",void 0),Vi([o.property({type:String})],qi.prototype,"tooltipPosition",void 0),Vi([o.property({type:Boolean})],qi.prototype,"hideTooltip",void 0),Vi([o.property({type:Boolean})],qi.prototype,"forceTooltip",void 0),Vi([o.query(".ft-button")],qi.prototype,"button",void 0),Vi([o.query(".ft-button--label slot")],qi.prototype,"slottedContent",void 0),i.customElement("ft-button")(qi);const Xi={iconColor:i.FtCssVariableFactory.extend("--ft-floating-menu-icon-color",i.designSystemVariables.colorOnSurfaceMedium)},Yi=e.css`
|
|
582
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
583
|
+
<ft-icon part="icon" variant="${this.iconVariant}" value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}qi.elementDefinitions={"ft-ripple":b,"ft-tooltip":Ii,"ft-typography":wi,"ft-icon":Zi,"ft-loader":Bi},qi.styles=[i.safariEllipsisFix,Pi],Vi([o.property({type:String,reflect:!0})],qi.prototype,"role",void 0),Vi([o.property({type:Boolean})],qi.prototype,"primary",void 0),Vi([o.property({type:Boolean})],qi.prototype,"outlined",void 0),Vi([o.property({type:Boolean})],qi.prototype,"disabled",void 0),Vi([o.property({type:Boolean})],qi.prototype,"dense",void 0),Vi([o.property({type:Boolean})],qi.prototype,"round",void 0),Vi([o.property({type:String})],qi.prototype,"label",void 0),Vi([o.property({type:String})],qi.prototype,"icon",void 0),Vi([o.property({type:String})],qi.prototype,"iconVariant",void 0),Vi([o.property({type:Boolean})],qi.prototype,"trailingIcon",void 0),Vi([o.property({type:Boolean})],qi.prototype,"loading",void 0),Vi([o.property({type:String})],qi.prototype,"tooltipPosition",void 0),Vi([o.property({type:Boolean})],qi.prototype,"hideTooltip",void 0),Vi([o.property({type:Boolean})],qi.prototype,"forceTooltip",void 0),Vi([o.query(".ft-button")],qi.prototype,"button",void 0),Vi([o.query(".ft-button--label slot")],qi.prototype,"slottedContent",void 0),i.customElement("ft-button")(qi);const Xi={iconColor:i.FtCssVariableFactory.extend("--ft-floating-menu-icon-color",i.designSystemVariables.colorOnSurfaceMedium)},Yi=e.css`
|
|
584
584
|
.ft-floating-menu-item {
|
|
585
585
|
cursor: pointer;
|
|
586
586
|
display: flex;
|
|
@@ -707,8 +707,8 @@ class ke extends Mt{constructor(t){if(super(t),this.it=q,t.type!==Et)throw Error
|
|
|
707
707
|
${t}
|
|
708
708
|
</ft-tooltip>
|
|
709
709
|
`:t}resolveIcon(){return this.loading?V`
|
|
710
|
-
<ft-loader></ft-loader> `:this.icon?V`
|
|
711
|
-
<ft-icon variant="${this.iconVariant}" value="${this.icon}"></ft-icon> `:q}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}_e.elementDefinitions={"ft-ripple":It,"ft-tooltip":me,"ft-typography":ce,"ft-icon":Ue,"ft-loader":Oe},_e.styles=[mt,Le],Pe([o({type:String,reflect:!0})],_e.prototype,"role",void 0),Pe([o({type:Boolean})],_e.prototype,"primary",void 0),Pe([o({type:Boolean})],_e.prototype,"outlined",void 0),Pe([o({type:Boolean})],_e.prototype,"disabled",void 0),Pe([o({type:Boolean})],_e.prototype,"dense",void 0),Pe([o({type:Boolean})],_e.prototype,"round",void 0),Pe([o({type:String})],_e.prototype,"label",void 0),Pe([o({type:String})],_e.prototype,"icon",void 0),Pe([o({type:String})],_e.prototype,"iconVariant",void 0),Pe([o({type:Boolean})],_e.prototype,"trailingIcon",void 0),Pe([o({type:Boolean})],_e.prototype,"loading",void 0),Pe([o({type:String})],_e.prototype,"tooltipPosition",void 0),Pe([o({type:Boolean})],_e.prototype,"hideTooltip",void 0),Pe([o({type:Boolean})],_e.prototype,"forceTooltip",void 0),Pe([s(".ft-button")],_e.prototype,"button",void 0),Pe([s(".ft-button--label slot")],_e.prototype,"slottedContent",void 0),h("ft-button")(_e);const De={iconColor:ut.extend("--ft-floating-menu-icon-color",yt.colorOnSurfaceMedium)},Ie=x`
|
|
710
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?V`
|
|
711
|
+
<ft-icon part="icon" variant="${this.iconVariant}" value="${this.icon}"></ft-icon> `:q}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}_e.elementDefinitions={"ft-ripple":It,"ft-tooltip":me,"ft-typography":ce,"ft-icon":Ue,"ft-loader":Oe},_e.styles=[mt,Le],Pe([o({type:String,reflect:!0})],_e.prototype,"role",void 0),Pe([o({type:Boolean})],_e.prototype,"primary",void 0),Pe([o({type:Boolean})],_e.prototype,"outlined",void 0),Pe([o({type:Boolean})],_e.prototype,"disabled",void 0),Pe([o({type:Boolean})],_e.prototype,"dense",void 0),Pe([o({type:Boolean})],_e.prototype,"round",void 0),Pe([o({type:String})],_e.prototype,"label",void 0),Pe([o({type:String})],_e.prototype,"icon",void 0),Pe([o({type:String})],_e.prototype,"iconVariant",void 0),Pe([o({type:Boolean})],_e.prototype,"trailingIcon",void 0),Pe([o({type:Boolean})],_e.prototype,"loading",void 0),Pe([o({type:String})],_e.prototype,"tooltipPosition",void 0),Pe([o({type:Boolean})],_e.prototype,"hideTooltip",void 0),Pe([o({type:Boolean})],_e.prototype,"forceTooltip",void 0),Pe([s(".ft-button")],_e.prototype,"button",void 0),Pe([s(".ft-button--label slot")],_e.prototype,"slottedContent",void 0),h("ft-button")(_e);const De={iconColor:ut.extend("--ft-floating-menu-icon-color",yt.colorOnSurfaceMedium)},Ie=x`
|
|
712
712
|
.ft-floating-menu-item {
|
|
713
713
|
cursor: pointer;
|
|
714
714
|
display: flex;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-floating-menu",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.65",
|
|
4
4
|
"description": "Floating menu component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-button": "0.3.
|
|
23
|
-
"@fluid-topics/ft-icon": "0.3.
|
|
24
|
-
"@fluid-topics/ft-ripple": "0.3.
|
|
25
|
-
"@fluid-topics/ft-typography": "0.3.
|
|
26
|
-
"@fluid-topics/ft-wc-utils": "0.3.
|
|
22
|
+
"@fluid-topics/ft-button": "0.3.65",
|
|
23
|
+
"@fluid-topics/ft-icon": "0.3.65",
|
|
24
|
+
"@fluid-topics/ft-ripple": "0.3.65",
|
|
25
|
+
"@fluid-topics/ft-typography": "0.3.65",
|
|
26
|
+
"@fluid-topics/ft-wc-utils": "0.3.65",
|
|
27
27
|
"lit": "2.2.8"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "e19de923a28e68d55617219545fb7398511e8a77"
|
|
30
30
|
}
|