@fluid-topics/ft-snap-scroll 1.0.60 → 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.
|
@@ -206,12 +206,14 @@
|
|
|
206
206
|
vertical-align: inherit;
|
|
207
207
|
}
|
|
208
208
|
`,Zt=[Object.keys(m).map((t=>function(t){const o=m[t];return e.css`
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
209
|
+
.ft-typography--${e.unsafeCSS(t)} {
|
|
210
|
+
font-family: ${o.fontFamily};
|
|
211
|
+
font-size: ${o.fontSize};
|
|
212
|
+
font-weight: ${o.fontWeight};
|
|
213
|
+
letter-spacing: ${o.letterSpacing};
|
|
214
|
+
line-height: ${o.lineHeight};
|
|
215
|
+
text-transform: ${o.textCase};
|
|
216
|
+
}
|
|
215
217
|
`}(t)))],Ft={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Bt=e.css`
|
|
216
218
|
:host {
|
|
217
219
|
line-height: 0;
|
|
@@ -572,7 +574,7 @@ const Zo=Symbol.for(""),Fo=t=>{if((null==t?void 0:t.r)===Zo)return null==t?void
|
|
|
572
574
|
</ft-tooltip>
|
|
573
575
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
574
576
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
575
|
-
<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}}ne.elementDefinitions={"ft-ripple":Jt,"ft-tooltip":oe,"ft-typography":jo,"ft-icon":re,"ft-loader":ie},ae([r.property({type:String,reflect:!0})],ne.prototype,"role",void 0),ae([r.property()],ne.prototype,"type",void 0),ae([r.property({type:Boolean})],ne.prototype,"disabled",void 0),ae([r.property()],ne.prototype,"label",void 0),ae([r.property()],ne.prototype,"icon",void 0),ae([r.property()],ne.prototype,"iconVariant",void 0),ae([r.property({type:Boolean})],ne.prototype,"trailingIcon",void 0),ae([r.property({type:Boolean})],ne.prototype,"loading",void 0),ae([r.property()],ne.prototype,"tooltipPosition",void 0),ae([r.property({type:Boolean})],ne.prototype,"hideTooltip",void 0),ae([r.property({type:Boolean})],ne.prototype,"forceTooltip",void 0),ae([r.query(".ft-button")],ne.prototype,"button",void 0),ae([r.query(".ft-button--label slot")],ne.prototype,"slottedContent",void 0);var le=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 se extends ne{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}}ne.elementDefinitions={"ft-ripple":Jt,"ft-tooltip":oe,"ft-typography":jo,"ft-icon":re,"ft-loader":ie},ae([r.property({type:String,reflect:!0})],ne.prototype,"role",void 0),ae([r.property()],ne.prototype,"type",void 0),ae([r.property({type:Boolean})],ne.prototype,"disabled",void 0),ae([r.property()],ne.prototype,"label",void 0),ae([r.property()],ne.prototype,"icon",void 0),ae([r.property()],ne.prototype,"iconVariant",void 0),ae([r.property({type:Boolean})],ne.prototype,"trailingIcon",void 0),ae([r.property({type:Boolean})],ne.prototype,"loading",void 0),ae([r.property()],ne.prototype,"tooltipPosition",void 0),ae([r.property({type:Boolean})],ne.prototype,"hideTooltip",void 0),ae([r.property({type:Boolean})],ne.prototype,"forceTooltip",void 0),ae([r.query(".ft-button")],ne.prototype,"button",void 0),ae([r.query(".ft-button--label slot")],ne.prototype,"slottedContent",void 0);var le=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 se extends ne{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"}}se.styles=[o.safariEllipsisFix,Vt],le([r.property({type:Boolean})],se.prototype,"primary",void 0),le([r.property({type:Boolean})],se.prototype,"outlined",void 0),le([r.property({type:Boolean})],se.prototype,"dense",void 0),le([r.property({type:Boolean})],se.prototype,"round",void 0);const ce=[e.css`
|
|
576
578
|
:host {
|
|
577
579
|
display: inline-block;
|
|
578
580
|
max-width: 100%;
|
|
@@ -302,12 +302,14 @@ var ht,dt;let ut=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
302
302
|
vertical-align: inherit;
|
|
303
303
|
}
|
|
304
304
|
`,ce=[Object.keys(vt).map((t=>function(t){const o=vt[t];return b`
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
305
|
+
.ft-typography--${g(t)} {
|
|
306
|
+
font-family: ${o.fontFamily};
|
|
307
|
+
font-size: ${o.fontSize};
|
|
308
|
+
font-weight: ${o.fontWeight};
|
|
309
|
+
letter-spacing: ${o.letterSpacing};
|
|
310
|
+
line-height: ${o.lineHeight};
|
|
311
|
+
text-transform: ${o.textCase};
|
|
312
|
+
}
|
|
311
313
|
`}(t)))],pe={color:bt.extend("--ft-loader-color","",St.colorPrimary),size:bt.create("--ft-loader-size","","SIZE","80px")},fe=b`
|
|
312
314
|
:host {
|
|
313
315
|
line-height: 0;
|
|
@@ -685,7 +687,7 @@ class _e extends $e{constructor(t){if(super(t),this.et=q,t.type!==we)throw Error
|
|
|
685
687
|
</ft-tooltip>
|
|
686
688
|
`:t}resolveIcon(){return this.loading?V`
|
|
687
689
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?V`
|
|
688
|
-
<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}}er.elementDefinitions={"ft-ripple":Ue,"ft-tooltip":Ge,"ft-typography":Ze,"ft-icon":Qe,"ft-loader":tr},or([r({type:String,reflect:!0})],er.prototype,"role",void 0),or([r()],er.prototype,"type",void 0),or([r({type:Boolean})],er.prototype,"disabled",void 0),or([r()],er.prototype,"label",void 0),or([r()],er.prototype,"icon",void 0),or([r()],er.prototype,"iconVariant",void 0),or([r({type:Boolean})],er.prototype,"trailingIcon",void 0),or([r({type:Boolean})],er.prototype,"loading",void 0),or([r()],er.prototype,"tooltipPosition",void 0),or([r({type:Boolean})],er.prototype,"hideTooltip",void 0),or([r({type:Boolean})],er.prototype,"forceTooltip",void 0),or([a(".ft-button")],er.prototype,"button",void 0),or([a(".ft-button--label slot")],er.prototype,"slottedContent",void 0);var rr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ir extends er{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.
|
|
690
|
+
<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}}er.elementDefinitions={"ft-ripple":Ue,"ft-tooltip":Ge,"ft-typography":Ze,"ft-icon":Qe,"ft-loader":tr},or([r({type:String,reflect:!0})],er.prototype,"role",void 0),or([r()],er.prototype,"type",void 0),or([r({type:Boolean})],er.prototype,"disabled",void 0),or([r()],er.prototype,"label",void 0),or([r()],er.prototype,"icon",void 0),or([r()],er.prototype,"iconVariant",void 0),or([r({type:Boolean})],er.prototype,"trailingIcon",void 0),or([r({type:Boolean})],er.prototype,"loading",void 0),or([r()],er.prototype,"tooltipPosition",void 0),or([r({type:Boolean})],er.prototype,"hideTooltip",void 0),or([r({type:Boolean})],er.prototype,"forceTooltip",void 0),or([a(".ft-button")],er.prototype,"button",void 0),or([a(".ft-button--label slot")],er.prototype,"slottedContent",void 0);var rr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ir extends er{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"}}ir.styles=[Wt,Ne],rr([r({type:Boolean})],ir.prototype,"primary",void 0),rr([r({type:Boolean})],ir.prototype,"outlined",void 0),rr([r({type:Boolean})],ir.prototype,"dense",void 0),rr([r({type:Boolean})],ir.prototype,"round",void 0);const nr=[b`
|
|
689
691
|
:host {
|
|
690
692
|
display: inline-block;
|
|
691
693
|
max-width: 100%;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-snap-scroll",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.62",
|
|
4
4
|
"description": "Vertical or horizontal container with snap scrolling.",
|
|
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-button": "1.0.
|
|
23
|
-
"@fluid-topics/ft-wc-utils": "1.0.
|
|
22
|
+
"@fluid-topics/ft-button": "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
|
}
|