@fluid-topics/ft-file-drop 1.0.61 → 1.0.62
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.
|
@@ -574,7 +574,7 @@ const tt=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===tt)return null==t?void
|
|
|
574
574
|
</ft-tooltip>
|
|
575
575
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
576
576
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
577
|
-
<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}}oe.elementDefinitions={"ft-ripple":u,"ft-tooltip":Jo,"ft-typography":Io,"ft-icon":Eo,"ft-loader":Qo},te([r.property({type:String,reflect:!0})],oe.prototype,"role",void 0),te([r.property()],oe.prototype,"type",void 0),te([r.property({type:Boolean})],oe.prototype,"disabled",void 0),te([r.property()],oe.prototype,"label",void 0),te([r.property()],oe.prototype,"icon",void 0),te([r.property()],oe.prototype,"iconVariant",void 0),te([r.property({type:Boolean})],oe.prototype,"trailingIcon",void 0),te([r.property({type:Boolean})],oe.prototype,"loading",void 0),te([r.property()],oe.prototype,"tooltipPosition",void 0),te([r.property({type:Boolean})],oe.prototype,"hideTooltip",void 0),te([r.property({type:Boolean})],oe.prototype,"forceTooltip",void 0),te([r.query(".ft-button")],oe.prototype,"button",void 0),te([r.query(".ft-button--label slot")],oe.prototype,"slottedContent",void 0);var ee=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class re extends oe{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.
|
|
577
|
+
<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}}oe.elementDefinitions={"ft-ripple":u,"ft-tooltip":Jo,"ft-typography":Io,"ft-icon":Eo,"ft-loader":Qo},te([r.property({type:String,reflect:!0})],oe.prototype,"role",void 0),te([r.property()],oe.prototype,"type",void 0),te([r.property({type:Boolean})],oe.prototype,"disabled",void 0),te([r.property()],oe.prototype,"label",void 0),te([r.property()],oe.prototype,"icon",void 0),te([r.property()],oe.prototype,"iconVariant",void 0),te([r.property({type:Boolean})],oe.prototype,"trailingIcon",void 0),te([r.property({type:Boolean})],oe.prototype,"loading",void 0),te([r.property()],oe.prototype,"tooltipPosition",void 0),te([r.property({type:Boolean})],oe.prototype,"hideTooltip",void 0),te([r.property({type:Boolean})],oe.prototype,"forceTooltip",void 0),te([r.query(".ft-button")],oe.prototype,"button",void 0),te([r.query(".ft-button--label slot")],oe.prototype,"slottedContent",void 0);var ee=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class re extends oe{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}re.styles=[o.safariEllipsisFix,jo],ee([r.property({type:Boolean})],re.prototype,"primary",void 0),ee([r.property({type:Boolean})],re.prototype,"outlined",void 0),ee([r.property({type:Boolean})],re.prototype,"dense",void 0),ee([r.property({type:Boolean})],re.prototype,"round",void 0);const ie=[e.css`
|
|
578
578
|
:host {
|
|
579
579
|
display: inline-block;
|
|
580
580
|
max-width: 100%;
|
|
@@ -692,7 +692,7 @@ function(t,o,e){let i,r=t;return"object"==typeof t?(r=t.slot,i=t):i={flatten:o},
|
|
|
692
692
|
</ft-tooltip>
|
|
693
693
|
`:t}resolveIcon(){return this.loading?V`
|
|
694
694
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?V`
|
|
695
|
-
<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}}qe.elementDefinitions={"ft-ripple":Qt,"ft-tooltip":Ye,"ft-typography":xe,"ft-icon":Ee,"ft-loader":Ve},Je([i({type:String,reflect:!0})],qe.prototype,"role",void 0),Je([i()],qe.prototype,"type",void 0),Je([i({type:Boolean})],qe.prototype,"disabled",void 0),Je([i()],qe.prototype,"label",void 0),Je([i()],qe.prototype,"icon",void 0),Je([i()],qe.prototype,"iconVariant",void 0),Je([i({type:Boolean})],qe.prototype,"trailingIcon",void 0),Je([i({type:Boolean})],qe.prototype,"loading",void 0),Je([i()],qe.prototype,"tooltipPosition",void 0),Je([i({type:Boolean})],qe.prototype,"hideTooltip",void 0),Je([i({type:Boolean})],qe.prototype,"forceTooltip",void 0),Je([a(".ft-button")],qe.prototype,"button",void 0),Je([a(".ft-button--label slot")],qe.prototype,"slottedContent",void 0);var Xe=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Qe extends qe{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.
|
|
695
|
+
<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}}qe.elementDefinitions={"ft-ripple":Qt,"ft-tooltip":Ye,"ft-typography":xe,"ft-icon":Ee,"ft-loader":Ve},Je([i({type:String,reflect:!0})],qe.prototype,"role",void 0),Je([i()],qe.prototype,"type",void 0),Je([i({type:Boolean})],qe.prototype,"disabled",void 0),Je([i()],qe.prototype,"label",void 0),Je([i()],qe.prototype,"icon",void 0),Je([i()],qe.prototype,"iconVariant",void 0),Je([i({type:Boolean})],qe.prototype,"trailingIcon",void 0),Je([i({type:Boolean})],qe.prototype,"loading",void 0),Je([i()],qe.prototype,"tooltipPosition",void 0),Je([i({type:Boolean})],qe.prototype,"hideTooltip",void 0),Je([i({type:Boolean})],qe.prototype,"forceTooltip",void 0),Je([a(".ft-button")],qe.prototype,"button",void 0),Je([a(".ft-button--label slot")],qe.prototype,"slottedContent",void 0);var Xe=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Qe extends qe{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Qe.styles=[Lt,De],Xe([i({type:Boolean})],Qe.prototype,"primary",void 0),Xe([i({type:Boolean})],Qe.prototype,"outlined",void 0),Xe([i({type:Boolean})],Qe.prototype,"dense",void 0),Xe([i({type:Boolean})],Qe.prototype,"round",void 0);const ti=[b`
|
|
696
696
|
:host {
|
|
697
697
|
display: inline-block;
|
|
698
698
|
max-width: 100%;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-file-drop",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.62",
|
|
4
4
|
"description": "Container that accepts dropping files",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-chip": "1.0.
|
|
23
|
-
"@fluid-topics/ft-wc-utils": "1.0.
|
|
22
|
+
"@fluid-topics/ft-chip": "1.0.62",
|
|
23
|
+
"@fluid-topics/ft-wc-utils": "1.0.62",
|
|
24
24
|
"lit": "2.7.2"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "44e9005773fe47b2e6a9ada16802918052a146cf"
|
|
27
27
|
}
|