diff --git a/libs/deps/merch-mnemonic-list.js b/libs/deps/merch-mnemonic-list.js index 6eb84d9ff0..cbfc882270 100644 --- a/libs/deps/merch-mnemonic-list.js +++ b/libs/deps/merch-mnemonic-list.js @@ -1,31 +1,32 @@ -// branch: HEAD commit: 67de0c8cd791a99e9ce3fa3bdf055833941bd3aa Fri, 12 Jul 2024 09:45:07 GMT +// branch: MWPW-142267 commit: 77b7e5b35a2706362b75f387151b077615df049b Mon, 15 Jul 2024 21:03:03 GMT import{html as e,css as i,LitElement as s}from"/libs/deps/lit-all.min.js";var t=class extends s{static styles=i` - :host { - display: flex; - flex-direction: row; - gap: 10px; - margin-bottom: 10px; - align-items: flex-end; - } + :host { + display: flex; + flex-direction: row; + gap: 5px; + margin-bottom: 5px; + margin-right: 10px; + align-items: flex-end; + } - ::slotted([slot='icon']) { - display: flex; - justify-content: center; - align-items: center; - height: max-content; - } + ::slotted([slot='icon']) { + display: flex; + justify-content: center; + align-items: center; + height: max-content; + } - ::slotted([slot='description']) { - font-size: 14px; - line-height: 21px; - margin: 0; - } + ::slotted([slot='description']) { + font-size: 14px; + line-height: 21px; + margin: 0; + } - :host .hidden { - display: none; - } -`;static properties={description:{type:String,attribute:!0}};constructor(){super()}render(){return e` - - ${this.description} - `}};customElements.define("merch-mnemonic-list",t);export{t as MerchMnemonicList}; + :host .hidden { + display: none; + } + `;static properties={description:{type:String,attribute:!0}};constructor(){super()}render(){return e` + + ${this.description} + `}};customElements.define("merch-mnemonic-list",t);export{t as MerchMnemonicList}; //# sourceMappingURL=merch-mnemonic-list.js.map diff --git a/libs/deps/merch-whats-included.js b/libs/deps/merch-whats-included.js index bc22f37920..7f3b3946ff 100644 --- a/libs/deps/merch-whats-included.js +++ b/libs/deps/merch-whats-included.js @@ -1,45 +1,45 @@ -// branch: HEAD commit: 67de0c8cd791a99e9ce3fa3bdf055833941bd3aa Fri, 12 Jul 2024 09:45:07 GMT +// branch: MWPW-142267 commit: 77b7e5b35a2706362b75f387151b077615df049b Mon, 15 Jul 2024 21:03:03 GMT import{html as e,css as o,LitElement as l}from"/libs/deps/lit-all.min.js";var t=class extends l{static styles=o` - :host { - display: inline-grid; - place-items: end start; - grid-auto-flow: row; - width: auto; - overflow: hidden; - place-content: stretch start; - box-sizing: border-box; - align-self: baseline; - margin-top: 16px; - margin-bottom: 16px; - grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); - grid-auto-rows: unset; - height: inherit; - } + :host { + display: inline-grid; + place-items: end start; + grid-auto-flow: row; + width: auto; + overflow: hidden; + place-content: stretch start; + box-sizing: border-box; + align-self: baseline; + margin-top: 16px; + margin-bottom: 16px; + grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); + grid-auto-rows: unset; + height: inherit; + } - ::slotted([slot='heading']) { - grid-column: 1 / -1; - font-size: 18px; - margin: 0; - margin-bottom: 16px; - } + ::slotted([slot='heading']) { + grid-column: 1 / -1; + font-size: 18px; + margin: 0; + margin-bottom: 16px; + } - ::slotted([slot='content']) { - display: contents; - } + ::slotted([slot='content']) { + display: contents; + } - .hidden { - display: none; - } + .hidden { + display: none; + } - .see-more { - font-size: 14px; - text-decoration: underline; - color: var(--link-color-dark); - margin-top: 16px; - } -`;static properties={heading:{type:String,attribute:!0},mobileRows:{type:Number,attribute:!0}};updated(){this.hideSeeMoreEls()}hideSeeMoreEls(){this.isMobile&&this.rows.forEach((s,i)=>{i>=5&&(s.style.display=this.showAll?"flex":"none")})}constructor(){super(),this.showAll=!1,this.mobileRows=this.mobileRows===void 0?5:this.mobileRows}toggle(){this.showAll=!this.showAll,this.dispatchEvent(new CustomEvent("hide-see-more-elements",{bubbles:!0,composed:!0})),this.requestUpdate()}render(){return e` - - ${this.isMobile&&this.rows.length>this.mobileRows?e`
- ${this.showAll?"- See less":"+ See more"} -
`:e``}`}get isMobile(){return window.matchMedia("(max-width: 767px)").matches}get rows(){return this.querySelectorAll("merch-mnemonic-list")}};customElements.define("merch-whats-included",t);export{t as MerchWhatsIncluded}; + .see-more { + font-size: 14px; + text-decoration: underline; + color: var(--link-color-dark); + margin-top: 16px; + } + `;static properties={heading:{type:String,attribute:!0},mobileRows:{type:Number,attribute:!0}};updated(){this.hideSeeMoreEls()}hideSeeMoreEls(){this.isMobile&&this.rows.forEach((s,i)=>{i>=5&&(s.style.display=this.showAll?"flex":"none")})}constructor(){super(),this.showAll=!1,this.mobileRows=this.mobileRows===void 0?5:this.mobileRows}toggle(){this.showAll=!this.showAll,this.dispatchEvent(new CustomEvent("hide-see-more-elements",{bubbles:!0,composed:!0})),this.requestUpdate()}render(){return e` + + ${this.isMobile&&this.rows.length>this.mobileRows?e`
+ ${this.showAll?"- See less":"+ See more"} +
`:e``}`}get isMobile(){return window.matchMedia("(max-width: 767px)").matches}get rows(){return this.querySelectorAll("merch-mnemonic-list")}};customElements.define("merch-whats-included",t);export{t as MerchWhatsIncluded}; //# sourceMappingURL=merch-whats-included.js.map