@momentum-design/components 0.101.3 → 0.101.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.
@@ -1604,7 +1604,7 @@
1604
1604
  ${this.prefixIcon?w` <mdc-icon name="${this.prefixIcon}" part="prefix-icon" length-unit="rem"></mdc-icon>`:""}
1605
1605
  <slot @slotchange=${this.inferButtonType}></slot>
1606
1606
  ${this.postfixIcon?w` <mdc-icon name="${this.postfixIcon}" part="postfix-icon" length-unit="rem"></mdc-icon>`:""}
1607
- `}};Wo.styles=[...Yi.styles],p([g({type:Number,reflect:!0})],Wo.prototype,"size",2),p([g({type:Boolean,attribute:"soft-disabled",reflect:!0})],Wo.prototype,"softDisabled",2);var Cc=Wo;var Em=W.constructTagName("buttonlink");Cc.register(Em);var zb=Cc;var Fn=W.constructTagName("link"),$n={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},zn={LARGE:1,MIDSIZE:.875,SMALL:.75},Tm={LINK_SIZE:$n.LARGE};var xm=W.constructTagName("card"),wc={BORDER:"border",GHOST:"ghost",PROMOTIONAL:"promotional"},Vb={HORIZONTAL:"horizontal",VERTICAL:"vertical"},re={VARIANT:wc.BORDER,ORIENTATION:Vb.VERTICAL,TITLE_TYPE:ot.HEADING_SMALL_BOLD,SUBTITLE_TYPE:ot.BODY_MIDSIZE_MEDIUM,TAGNAME:mt.SPAN,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem",LINK:Fn,BUTTON:Hr};var Vn=l=>{class i extends l{constructor(){super(...arguments);this.cardTitle="";this.subtitle="";this.imageSrc="";this.imageAlt="";this.variant=re.VARIANT;this.orientation=re.ORIENTATION;this.titleTagName=re.TAGNAME;this.subtitleTagName=re.TAGNAME}renderImage(){return this.imageSrc?w`<img part="image" src="${this.imageSrc}" alt="${this.imageAlt}" />`:Y}renderIcon(){return this.iconName?w`<mdc-icon
1607
+ `}};Wo.styles=[...Yi.styles],p([g({type:Number,reflect:!0})],Wo.prototype,"size",2),p([g({type:Boolean,attribute:"soft-disabled",reflect:!0})],Wo.prototype,"softDisabled",2);var Cc=Wo;var Em=W.constructTagName("buttonlink");Cc.register(Em);var zb=Cc;var Fn=W.constructTagName("link"),$n={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},zn={LARGE:1,MIDSIZE:.875,SMALL:.75},Tm={LINK_SIZE:$n.LARGE};var xm=W.constructTagName("card"),wc={BORDER:"border",GHOST:"ghost",PROMOTIONAL:"promotional"},Vb={HORIZONTAL:"horizontal",VERTICAL:"vertical"},re={VARIANT:wc.BORDER,ORIENTATION:Vb.VERTICAL,TITLE_TYPE:ot.HEADING_SMALL_BOLD,SUBTITLE_TYPE:ot.BODY_MIDSIZE_MEDIUM,TAGNAME:mt.SPAN,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem",LINK:Fn,BUTTON:Hr};var Vn=l=>{class i extends l{constructor(){super(...arguments);this.cardTitle="";this.subtitle="";this.imageSrc="";this.imageAlt="";this.variant=re.VARIANT;this.orientation=re.ORIENTATION;this.titleTagName=re.TAGNAME;this.subtitleTagName=re.TAGNAME}renderImage(){return this.imageSrc?w`<div part="image-wrapper"><img part="image" src="${this.imageSrc}" alt="${this.imageAlt}" /></div>`:Y}renderIcon(){return this.iconName?w`<mdc-icon
1608
1608
  part="icon"
1609
1609
  size="${re.ICON_SIZE}"
1610
1610
  length-unit="${re.ICON_LENGTH_UNIT}"
@@ -1629,7 +1629,7 @@
1629
1629
  </slot>`}}return p([Nt({slot:"footer-link"})],i.prototype,"footerLink",2),p([Nt({slot:"footer-button-primary"})],i.prototype,"footerButtonPrimary",2),p([Nt({slot:"footer-button-secondary"})],i.prototype,"footerButtonSecondary",2),i};var Bb=G`
1630
1630
  :host {
1631
1631
  --mdc-card-width: 20rem;
1632
- align-items: flex-start;
1632
+ align-items: stretch;
1633
1633
  border-radius: 0.5rem;
1634
1634
  border: 1px solid var(--mds-color-theme-outline-primary-normal);
1635
1635
  box-shadow: none;