@momentum-design/components 0.144.0 → 0.144.2

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.
@@ -996,11 +996,12 @@
996
996
  }
997
997
  `,gv=[cA,...At()];var Hi=class extends Z{constructor(){super();this.size=bn.SIZE;this.variant=bn.VARIANT;this.allowMultiple=!1;this.addEventListener("shown",this.handleAccordionExpanded)}handleAccordionExpanded(t){this.allowMultiple||[...this.accordionItems,...this.accordionButtonItems].forEach(e=>{e!==t.target&&e.hasAttribute("expanded")&&e.toggleAttribute("expanded")})}setChildrenAccordionAttributes(t,e){[...this.accordionItems].forEach(i=>{i.setAttribute(t,e)}),[...this.accordionButtonItems].forEach(i=>{i.setAttribute(t,e)})}updated(t){super.updated(t),t.has("size")&&(this.size||(this.size=bn.SIZE),this.setChildrenAccordionAttributes("size",this.size)),t.has("variant")&&(this.variant||(this.variant=bn.VARIANT),this.setChildrenAccordionAttributes("variant",this.variant))}render(){return x` <slot></slot> `}};Hi.styles=[...Z.styles,...gv],h([u({type:String,reflect:!0})],Hi.prototype,"size",2),h([u({type:String,reflect:!0})],Hi.prototype,"variant",2),h([u({type:Boolean,reflect:!0,attribute:"allow-multiple"})],Hi.prototype,"allowMultiple",2),h([Xt({selector:rd})],Hi.prototype,"accordionItems",2),h([Xt({selector:ed})],Hi.prototype,"accordionButtonItems",2);var Hh=Hi;Hh.register(uv);var hA=Hh;Xs.register(ed);var pA=Xs;var ue=n=>{class o extends n{}return h([u({type:String,attribute:"icon-name",reflect:!0})],o.prototype,"iconName",2),o};var mA=z`
998
998
  :host {
999
- height: 1.5rem;
1000
- gap: 0.25rem;
1001
- padding: 0 0.5rem;
1002
- border-radius: 0.25rem;
1003
- border: 1px solid;
999
+ height: var(--mds-size-theme-md-24);
1000
+ gap: var(--mds-spacing-theme-gap-2xs);
1001
+ padding: var(--mds-spacing-theme-pad-none) var(--mds-spacing-theme-pad-h-xs);
1002
+ border-radius: var(--mds-radius-theme-xs);
1003
+ border-style: solid;
1004
+ border-width: var(--mds-border-theme-default);
1004
1005
  cursor: pointer;
1005
1006
  white-space: nowrap;
1006
1007
 
@@ -4068,7 +4069,7 @@
4068
4069
  <div></div>
4069
4070
  `}};Lo.styles=[...Z.styles,...Gb],h([u({type:String,reflect:!0})],Lo.prototype,"orientation",2),h([u({type:String,reflect:!0})],Lo.prototype,"variant",2),h([u({type:String,attribute:"arrow-direction",reflect:!0})],Lo.prototype,"arrowDirection",2),h([u({type:String,attribute:"button-position",reflect:!0})],Lo.prototype,"buttonPosition",2);var Hp=Lo;Hp.register(Kn);var p0=Hp;var m0=z`
4070
4071
  :host([selected]) {
4071
- border: 2px solid;
4072
+ border: var(--mds-border-theme-emphasis) solid;
4072
4073
  --mdc-chip-background-color: var(--mds-color-theme-background-label-default-active);
4073
4074
  }
4074
4075