@momentum-design/components 0.129.3 → 0.129.4
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/dist/browser/index.js +5 -1
- package/dist/browser/index.js.map +2 -2
- package/dist/components/card/card.component.d.ts +1 -0
- package/dist/components/card/card.component.js +1 -0
- package/dist/components/cardbutton/cardbutton.component.d.ts +1 -0
- package/dist/components/cardbutton/cardbutton.component.js +1 -0
- package/dist/custom-elements.json +3910 -3886
- package/dist/react/card/index.d.ts +1 -0
- package/dist/react/card/index.js +1 -0
- package/dist/react/cardbutton/index.d.ts +1 -0
- package/dist/react/cardbutton/index.js +1 -0
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +3 -3
- package/dist/utils/mixins/CardComponentMixin.js +5 -1
- package/package.json +1 -1
package/dist/browser/index.js
CHANGED
|
@@ -2065,7 +2065,11 @@
|
|
|
2065
2065
|
${this.prefixIcon?_`<mdc-icon name="${this.prefixIcon}" part="prefix-icon" length-unit="rem"></mdc-icon>`:""}
|
|
2066
2066
|
<slot @slotchange="${this.inferButtonType}" part="button-text"></slot>
|
|
2067
2067
|
${this.postfixIcon?_`<mdc-icon name="${this.postfixIcon}" part="postfix-icon" length-unit="rem"></mdc-icon>`:""}
|
|
2068
|
-
`}};xs.styles=[...To.styles,...nf],p([u({type:Number,reflect:!0})],xs.prototype,"size",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],xs.prototype,"softDisabled",2);var Fc=xs;var lf=z.constructTagName("buttonlink");Fc.register(lf);var KE=Fc;var kl=n=>{class o extends n{constructor(){super(...arguments);this.cardTitle="";this.subtitle="";this.imageSrc="";this.imageAlt="";this.variant=ae.VARIANT;this.orientation=ae.ORIENTATION;this.titleTagName=ae.TAGNAME;this.subtitleTagName=ae.TAGNAME}renderImage(){return this.imageSrc?_`<div part="image-wrapper"
|
|
2068
|
+
`}};xs.styles=[...To.styles,...nf],p([u({type:Number,reflect:!0})],xs.prototype,"size",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],xs.prototype,"softDisabled",2);var Fc=xs;var lf=z.constructTagName("buttonlink");Fc.register(lf);var KE=Fc;var kl=n=>{class o extends n{constructor(){super(...arguments);this.cardTitle="";this.subtitle="";this.imageSrc="";this.imageAlt="";this.variant=ae.VARIANT;this.orientation=ae.ORIENTATION;this.titleTagName=ae.TAGNAME;this.subtitleTagName=ae.TAGNAME}renderImage(){return this.imageSrc?_`<div part="image-wrapper">
|
|
2069
|
+
<slot name="image">
|
|
2070
|
+
<img part="image" src="${this.imageSrc}" alt="${this.imageAlt}" />
|
|
2071
|
+
</slot>
|
|
2072
|
+
</div>`:j}renderIcon(){return this.iconName?_`<mdc-icon
|
|
2069
2073
|
part="icon"
|
|
2070
2074
|
size="${ae.ICON_SIZE}"
|
|
2071
2075
|
length-unit="${ae.ICON_LENGTH_UNIT}"
|