@penwin/discord-components-core 4.3.1 → 4.3.3
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.
- package/custom-elements.json +846 -846
- package/dist/bundle/index.mjs +2 -1
- package/dist/bundle/index.mjs.map +1 -1
- package/dist/components/discord-select-menu-portal/DiscordSelectMenuPortal.d.ts.map +1 -1
- package/dist/components/discord-select-menu-portal/DiscordSelectMenuPortal.js +2 -0
- package/dist/components/discord-select-menu-portal/DiscordSelectMenuPortal.js.map +1 -1
- package/package.json +1 -1
package/dist/bundle/index.mjs
CHANGED
|
@@ -6550,7 +6550,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),ee=D,K=Y),V===void 0&&
|
|
|
6550
6550
|
slot.has-only-one-text-display-child::slotted(discord-text-display) {
|
|
6551
6551
|
--justify-content: center;
|
|
6552
6552
|
}
|
|
6553
|
-
`,m([z({context:ks,subscribe:!0}),u({type:Boolean,attribute:!1})],mi.prototype,"withButton",2),m([u({type:Boolean,attribute:!1})],mi.prototype,"hasOnlyOneTextDisplayChild",2),mi=m([w("discord-section-components")],mi);var Qt=class extends L{render(){let i=[],t=this.type==="mentionable",r=this.type==="role"||t,n=this.type==="user"||t,o=this.type==="channel"||t,s=globalThis.$discordSelectMenu;if(n&&s?.users){let l=!this.defaultType||this.defaultType==="user";for(let d of s.users)i.push(_`<discord-user-select-menu-option
|
|
6553
|
+
`,m([z({context:ks,subscribe:!0}),u({type:Boolean,attribute:!1})],mi.prototype,"withButton",2),m([u({type:Boolean,attribute:!1})],mi.prototype,"hasOnlyOneTextDisplayChild",2),mi=m([w("discord-section-components")],mi);var Qt=class extends L{render(){let i=[],t=this.type==="mentionable",r=this.type==="role"||t,n=this.type==="user"||t,o=this.type==="channel"||t,s=globalThis.$discordSelectMenu;if(console.log(s),n&&s?.users){let l=!this.defaultType||this.defaultType==="user";for(let d of s.users)i.push(_`<discord-user-select-menu-option
|
|
6554
6554
|
identifier=${d.identifier}
|
|
6555
6555
|
avatar-url=${d.avatarUrl}
|
|
6556
6556
|
username=${d.username}
|
|
@@ -6566,6 +6566,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),ee=D,K=Y),V===void 0&&
|
|
|
6566
6566
|
member-count=${d.memberCount}
|
|
6567
6567
|
iconUrl=${B(d.iconUrl)}
|
|
6568
6568
|
?selected=${d.identifier===this.defaultIdentifier&&l}
|
|
6569
|
+
.showMemberCount=${d.showMemberCount??!0}
|
|
6569
6570
|
></discord-role-select-menu-option>`)}if(o&&s?.channels){let l=!this.defaultType||this.defaultType==="channel";for(let d of s.channels)i.push(_`<discord-channel-select-menu-option
|
|
6570
6571
|
identifier=${d.identifier}
|
|
6571
6572
|
name=${d.name}
|