@fluid-topics/ft-collapsible 0.3.50 → 0.3.52
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.
|
@@ -342,7 +342,8 @@ const J=Symbol.for(""),Q=t=>{if((null==t?void 0:t.r)===J)return null==t?void 0:t
|
|
|
342
342
|
:host, i.ft-icon {
|
|
343
343
|
display: inline-flex;
|
|
344
344
|
align-items: center;
|
|
345
|
-
|
|
345
|
+
flex-shrink: 0;
|
|
346
|
+
flex-grow: 0;
|
|
346
347
|
}
|
|
347
348
|
|
|
348
349
|
:host {
|
|
@@ -374,6 +375,7 @@ const J=Symbol.for(""),Q=t=>{if((null==t?void 0:t.r)===J)return null==t?void 0:t
|
|
|
374
375
|
font-size: calc(0.9 * ${Ei.size});
|
|
375
376
|
position: relative;
|
|
376
377
|
top: -5%;
|
|
378
|
+
justify-content: center;
|
|
377
379
|
}
|
|
378
380
|
|
|
379
381
|
.ft-icon--file-format {
|
|
@@ -529,6 +531,7 @@ const J=Symbol.for(""),Q=t=>{if((null==t?void 0:t.r)===J)return null==t?void 0:t
|
|
|
529
531
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
530
532
|
<ft-typography part="label"
|
|
531
533
|
variant="button"
|
|
534
|
+
element="span"
|
|
532
535
|
class="ft-button--label"
|
|
533
536
|
?hidden=${!this.hasTextContent()}>
|
|
534
537
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
@@ -71,7 +71,7 @@ var pt,ct;class dt extends E{constructor(){super(...arguments),this.renderOption
|
|
|
71
71
|
<style>${t}</style>
|
|
72
72
|
`))}
|
|
73
73
|
${this.getTemplate()}
|
|
74
|
-
`}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){}scheduleExportpartsUpdate(){this.exportpartsDebouncer.run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var i,e,o,n,s,r;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const h=new Set;for(let t of null!==(e=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const i=null!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],e=null!==(r=null===(s=t.getAttribute("exportparts"))||void 0===s?void 0:s.split(",").map((t=>t.split(":")[1])))&&void 0!==r?r:[];new Array(...i,...e).filter(a).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const p=[...h.values()].flatMap((t=>l.map((i=>`${t}:${i}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}bt([o()],xt.prototype,"exportpartsPrefix",void 0),bt([p([])],xt.prototype,"exportpartsPrefixes",void 0);const gt=b`
|
|
74
|
+
`}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var i,e;if((null!==(e=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this.exportpartsDebouncer.run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var i,e,o,n,s,r;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const h=new Set;for(let t of null!==(e=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const i=null!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],e=null!==(r=null===(s=t.getAttribute("exportparts"))||void 0===s?void 0:s.split(",").map((t=>t.split(":")[1])))&&void 0!==r?r:[];new Array(...i,...e).filter(a).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const p=[...h.values()].flatMap((t=>l.map((i=>`${t}:${i}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}bt([o()],xt.prototype,"exportpartsPrefix",void 0),bt([p([])],xt.prototype,"exportpartsPrefixes",void 0),bt([o()],xt.prototype,"customStylesheet",void 0);const gt=b`
|
|
75
75
|
.ft-no-text-select {
|
|
76
76
|
-webkit-touch-callout: none;
|
|
77
77
|
-webkit-user-select: none;
|
|
@@ -458,7 +458,8 @@ class we extends Ct{constructor(t){if(super(t),this.it=q,t.type!==kt)throw Error
|
|
|
458
458
|
:host, i.ft-icon {
|
|
459
459
|
display: inline-flex;
|
|
460
460
|
align-items: center;
|
|
461
|
-
|
|
461
|
+
flex-shrink: 0;
|
|
462
|
+
flex-grow: 0;
|
|
462
463
|
}
|
|
463
464
|
|
|
464
465
|
:host {
|
|
@@ -490,6 +491,7 @@ class we extends Ct{constructor(t){if(super(t),this.it=q,t.type!==kt)throw Error
|
|
|
490
491
|
font-size: calc(0.9 * ${ke.size});
|
|
491
492
|
position: relative;
|
|
492
493
|
top: -5%;
|
|
494
|
+
justify-content: center;
|
|
493
495
|
}
|
|
494
496
|
|
|
495
497
|
.ft-icon--file-format {
|
|
@@ -645,6 +647,7 @@ class we extends Ct{constructor(t){if(super(t),this.it=q,t.type!==kt)throw Error
|
|
|
645
647
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
646
648
|
<ft-typography part="label"
|
|
647
649
|
variant="button"
|
|
650
|
+
element="span"
|
|
648
651
|
class="ft-button--label"
|
|
649
652
|
?hidden=${!this.hasTextContent()}>
|
|
650
653
|
<slot @slotchange=${this.onSlotchange}></slot>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-collapsible",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.52",
|
|
4
4
|
"description": "Collapsible web component",
|
|
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": "0.3.
|
|
23
|
-
"@fluid-topics/ft-wc-utils": "0.3.
|
|
22
|
+
"@fluid-topics/ft-button": "0.3.52",
|
|
23
|
+
"@fluid-topics/ft-wc-utils": "0.3.52",
|
|
24
24
|
"lit": "2.2.8"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "746cdd6b34c2fa25220ed735914fb1dff9c0fde7"
|
|
27
27
|
}
|