@momentum-design/components 0.104.15 → 0.104.17

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.
@@ -1021,13 +1021,13 @@
1021
1021
  :host::part(leading-section),
1022
1022
  :host::part(center-section),
1023
1023
  :host::part(trailing-section) {
1024
- flex: 1;
1025
1024
  display: flex;
1026
1025
  height: 100%;
1027
1026
  }
1028
1027
 
1029
1028
  :host::part(leading-section) {
1030
1029
  justify-content: flex-start;
1030
+ flex: 1;
1031
1031
  }
1032
1032
 
1033
1033
  :host::part(center-section) {
@@ -1037,18 +1037,19 @@
1037
1037
 
1038
1038
  :host::part(trailing-section) {
1039
1039
  justify-content: flex-end;
1040
+ flex: 1;
1040
1041
  }
1041
- `,om=[Mb];var Pn=class extends W{render(){return k` <header part="container">
1042
- <div part="leading-section">
1043
- <slot name="leading"></slot>
1044
- </div>
1045
- <div part="center-section">
1046
- <slot name="center"></slot>
1047
- </div>
1048
- <div part="trailing-section">
1049
- <slot name="trailing"></slot>
1050
- </div>
1051
- </header>`}};Pn.styles=[...W.styles,...om];var _c=Pn;var sm=Y.constructTagName("appheader");_c.register(sm);var Ob=_c;var am=Y.constructTagName("avatar"),ye={COUNTER:"counter",ICON:"icon",PHOTO:"photo",TEXT:"text"},Ic=99,Pb="user-regular",$t={24:24,32:32,48:48,64:64,72:72,88:88,124:124},jo={TYPE:ye.PHOTO,SIZE:$t[32],ICON_NAME:Pb};var Dn=l=>{class i extends l{constructor(){super(...arguments);this.size=jo.SIZE;this.isTyping=!1}}return p([f({type:String})],i.prototype,"src",2),p([f({type:String})],i.prototype,"initials",2),p([f({type:String})],i.prototype,"presence",2),p([f({type:Number,reflect:!0,attribute:"size"})],i.prototype,"size",2),p([f({type:Number})],i.prototype,"counter",2),p([f({type:Boolean,attribute:"is-typing"})],i.prototype,"isTyping",2),i};var ee=l=>{class i extends l{}return p([f({type:String,attribute:"icon-name"})],i.prototype,"iconName",2),i};var Db=[Et,G`
1042
+ `,om=[Mb];var Pn=class extends W{render(){return k`
1043
+ <header part="container">
1044
+ <div part="leading-section">
1045
+ <slot name="leading"></slot>
1046
+ </div>
1047
+ <div part="center-section"><slot name="center"></slot></div>
1048
+ <div part="trailing-section">
1049
+ <slot name="trailing"></slot>
1050
+ </div>
1051
+ </header>
1052
+ `}};Pn.styles=[...W.styles,...om];var _c=Pn;var sm=Y.constructTagName("appheader");_c.register(sm);var Ob=_c;var am=Y.constructTagName("avatar"),ye={COUNTER:"counter",ICON:"icon",PHOTO:"photo",TEXT:"text"},Ic=99,Pb="user-regular",$t={24:24,32:32,48:48,64:64,72:72,88:88,124:124},jo={TYPE:ye.PHOTO,SIZE:$t[32],ICON_NAME:Pb};var Dn=l=>{class i extends l{constructor(){super(...arguments);this.size=jo.SIZE;this.isTyping=!1}}return p([f({type:String})],i.prototype,"src",2),p([f({type:String})],i.prototype,"initials",2),p([f({type:String})],i.prototype,"presence",2),p([f({type:Number,reflect:!0,attribute:"size"})],i.prototype,"size",2),p([f({type:Number})],i.prototype,"counter",2),p([f({type:Boolean,attribute:"is-typing"})],i.prototype,"isTyping",2),i};var ee=l=>{class i extends l{}return p([f({type:String,attribute:"icon-name"})],i.prototype,"iconName",2),i};var Db=[Et,G`
1052
1053
  :host {
1053
1054
  --mdc-avatar-default-background-color: var(--mds-color-theme-avatar-default);
1054
1055
  --mdc-avatar-default-foreground-color: var(--mds-color-theme-common-text-primary-normal);