@momentum-ui/web-components 2.26.18 → 2.26.20
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.
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
<slot name="footer"> </slot>
|
|
66
66
|
</div>
|
|
67
67
|
</div>
|
|
68
|
-
`}};p([(0,l.property)({type:String})],t.prototype,"title",void 0),p([(0,l.property)({type:String})],t.prototype,"subtitle",void 0),p([(0,l.property)({type:String})],t.prototype,"id",void 0),p([(0,l.property)({type:String})],t.prototype,"info",void 0),p([(0,l.property)({type:String,attribute:"info-aria-label"})],t.prototype,"infoAriaLabel",void 0),p([(0,l.property)({type:String,attribute:"menu-aria-label"})],t.prototype,"menuAriaLabel",void 0),p([(0,l.property)({type:Array})],t.prototype,"menuOptions",void 0),t=p([(0,s.w)("md-card")],t),e.ELEMENT=t}(r||(r={}))},22818:e=>{e.exports=m},22962:e=>{e.exports=n},23968:e=>{e.exports=t},32022:e=>{e.exports=o},40333:e=>{e.exports=r},41488:t=>{t.exports=e},60554:e=>{e.exports=l},66245:(e,t,i)=>{var r,s=i(3001),o=i(31890),l=i(26272),d=i(41488),n=i(23968),a=i(21392),c=function(e,t,i,r){var s,o=arguments.length,l=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,i,r);else for(var d=e.length-1;d>=0;d--)(s=e[d])&&(l=(o<3?s(l):o>3?s(t,i,l):s(t,i))||l);return o>3&&l&&Object.defineProperty(t,i,l),l};!function(e){let t=class extends((0,s.yC)(d.LitElement)){constructor(){super(...arguments),this.role="option",this.tabIndex=-1,this.shape="rounded",this._disabled=!1,this._selected=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",`${e}`),this.requestUpdate("disabled",t)}get selected(){return this._selected}set selected(e){const t=this._selected;this._selected=e,this.setAttribute("aria-selected",`${e}`),this.requestUpdate("selected",t)}get listItemTemplateClassMap(){return{[`md-list-item--${this.shape}`]:!!this.shape}}static get styles(){return[l.A,a.A]}render(){return d.html`
|
|
68
|
+
`}};p([(0,l.property)({type:String})],t.prototype,"title",void 0),p([(0,l.property)({type:String})],t.prototype,"subtitle",void 0),p([(0,l.property)({type:String})],t.prototype,"id",void 0),p([(0,l.property)({type:String})],t.prototype,"info",void 0),p([(0,l.property)({type:String,attribute:"info-aria-label"})],t.prototype,"infoAriaLabel",void 0),p([(0,l.property)({type:String,attribute:"menu-aria-label"})],t.prototype,"menuAriaLabel",void 0),p([(0,l.property)({type:Array})],t.prototype,"menuOptions",void 0),t=p([(0,s.w)("md-card")],t),e.ELEMENT=t}(r||(r={}))},22818:e=>{e.exports=m},22962:e=>{e.exports=n},23968:e=>{e.exports=t},32022:e=>{e.exports=o},40333:e=>{e.exports=r},41488:t=>{t.exports=e},60554:e=>{e.exports=l},66245:(e,t,i)=>{var r,s=i(3001),o=i(31890),l=i(26272),d=i(41488),n=i(23968),a=i(21392),c=function(e,t,i,r){var s,o=arguments.length,l=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,i,r);else for(var d=e.length-1;d>=0;d--)(s=e[d])&&(l=(o<3?s(l):o>3?s(t,i,l):s(t,i))||l);return o>3&&l&&Object.defineProperty(t,i,l),l};!function(e){let t=class extends((0,s.yC)(d.LitElement)){constructor(){super(...arguments),this.role="option",this.tabIndex=-1,this.shape="rounded",this._disabled=!1,this._selected=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",`${e}`),this.requestUpdate("disabled",t)}get selected(){return this._selected}set selected(e){const t=this._selected;this._selected=e,"option"===this.role&&this.setAttribute("aria-selected",`${e}`),this.requestUpdate("selected",t)}get listItemTemplateClassMap(){return{[`md-list-item--${this.shape}`]:!!this.shape}}static get styles(){return[l.A,a.A]}render(){return d.html`
|
|
69
69
|
<div class="md-list-item ${(0,n.classMap)(this.listItemTemplateClassMap)}" part="list-item">
|
|
70
70
|
<slot></slot>
|
|
71
71
|
</div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit-element"),require("lit-html/directives/class-map"));else if("function"==typeof define&&define.amd)define(["lit-element","lit-html/directives/class-map"],t);else{var r="object"==typeof exports?t(require("lit-element"),require("lit-html/directives/class-map")):t(e["lit-element"],e["lit-html/directives/class-map"]);for(var s in r)("object"==typeof exports?exports:e)[s]=r[s]}}(self,(e,t)=>(()=>{"use strict";var r,s={23968:e=>{e.exports=t},41488:t=>{t.exports=e},66245:(e,t,r)=>{r.r(t),r.d(t,{ListItem:()=>s});var s,i=r(3001),o=r(31890),l=r(26272),n=r(41488),p=r(23968),d=r(21392),a=function(e,t,r,s){var i,o=arguments.length,l=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,r,s);else for(var n=e.length-1;n>=0;n--)(i=e[n])&&(l=(o<3?i(l):o>3?i(t,r,l):i(t,r))||l);return o>3&&l&&Object.defineProperty(t,r,l),l};!function(e){let t=class extends((0,i.yC)(n.LitElement)){constructor(){super(...arguments),this.role="option",this.tabIndex=-1,this.shape="rounded",this._disabled=!1,this._selected=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",`${e}`),this.requestUpdate("disabled",t)}get selected(){return this._selected}set selected(e){const t=this._selected;this._selected=e,this.setAttribute("aria-selected",`${e}`),this.requestUpdate("selected",t)}get listItemTemplateClassMap(){return{[`md-list-item--${this.shape}`]:!!this.shape}}static get styles(){return[l.A,d.A]}render(){return n.html`
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit-element"),require("lit-html/directives/class-map"));else if("function"==typeof define&&define.amd)define(["lit-element","lit-html/directives/class-map"],t);else{var r="object"==typeof exports?t(require("lit-element"),require("lit-html/directives/class-map")):t(e["lit-element"],e["lit-html/directives/class-map"]);for(var s in r)("object"==typeof exports?exports:e)[s]=r[s]}}(self,(e,t)=>(()=>{"use strict";var r,s={23968:e=>{e.exports=t},41488:t=>{t.exports=e},66245:(e,t,r)=>{r.r(t),r.d(t,{ListItem:()=>s});var s,i=r(3001),o=r(31890),l=r(26272),n=r(41488),p=r(23968),d=r(21392),a=function(e,t,r,s){var i,o=arguments.length,l=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,r,s);else for(var n=e.length-1;n>=0;n--)(i=e[n])&&(l=(o<3?i(l):o>3?i(t,r,l):i(t,r))||l);return o>3&&l&&Object.defineProperty(t,r,l),l};!function(e){let t=class extends((0,i.yC)(n.LitElement)){constructor(){super(...arguments),this.role="option",this.tabIndex=-1,this.shape="rounded",this._disabled=!1,this._selected=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",`${e}`),this.requestUpdate("disabled",t)}get selected(){return this._selected}set selected(e){const t=this._selected;this._selected=e,"option"===this.role&&this.setAttribute("aria-selected",`${e}`),this.requestUpdate("selected",t)}get listItemTemplateClassMap(){return{[`md-list-item--${this.shape}`]:!!this.shape}}static get styles(){return[l.A,d.A]}render(){return n.html`
|
|
2
2
|
<div class="md-list-item ${(0,p.classMap)(this.listItemTemplateClassMap)}" part="list-item">
|
|
3
3
|
<slot></slot>
|
|
4
4
|
</div>
|
package/dist/index-entry.js
CHANGED
|
@@ -1537,7 +1537,6 @@
|
|
|
1537
1537
|
name="${t.name}"
|
|
1538
1538
|
id="${this.getCopyTabId(t)}"
|
|
1539
1539
|
aria-label=${t.ariaLabel}
|
|
1540
|
-
aria-controls="${this.getAriaControlId(t)}"
|
|
1541
1540
|
.isCrossVisible=${!0}
|
|
1542
1541
|
tabIndex="${this.getTabIndex(t)}"
|
|
1543
1542
|
.newMomentum=${this.newMomentum}
|
|
@@ -1989,7 +1988,7 @@
|
|
|
1989
1988
|
${this.renderHeader()}
|
|
1990
1989
|
<div class="content-margin">${this.renderCardText()} ${this.renderFooter()}</div>
|
|
1991
1990
|
</div>
|
|
1992
|
-
`}};p([(0,a.property)({type:String})],e.prototype,"id",void 0),p([(0,a.property)({type:String})],e.prototype,"title",void 0),p([(0,a.property)({type:String})],e.prototype,"cardText",void 0),p([(0,a.property)({type:String})],e.prototype,"timestamp",void 0),p([(0,a.property)({type:Boolean})],e.prototype,"summariseMoreVisible",void 0),p([(0,a.property)({type:String})],e.prototype,"variant",void 0),p([(0,a.internalProperty)()],e.prototype,"copyChecked",void 0),p([(0,a.internalProperty)()],e.prototype,"thumbsUpChecked",void 0),p([(0,a.internalProperty)()],e.prototype,"thumbsDownChecked",void 0),e=p([(0,r.w)("md-card-ai")],e),t.ELEMENT=e}(s||(s={}))},65796:t=>{t.exports=u},65875:t=>{t.exports=C},66245:(t,e,i)=>{i.d(e,{ListItem:()=>o});var o,s=i(3001),r=i(31890),n=i(26272),a=i(41488),l=i(23968),d=i(21392),h=function(t,e,i,o){var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){let e=class extends((0,s.yC)(a.LitElement)){constructor(){super(...arguments),this.role="option",this.tabIndex=-1,this.shape="rounded",this._disabled=!1,this._selected=!1}get disabled(){return this._disabled}set disabled(t){const e=this._disabled;this._disabled=t,this.setAttribute("aria-disabled",`${t}`),this.requestUpdate("disabled",e)}get selected(){return this._selected}set selected(t){const e=this._selected;this._selected=t,this.setAttribute("aria-selected",`${t}`),this.requestUpdate("selected",e)}get listItemTemplateClassMap(){return{[`md-list-item--${this.shape}`]:!!this.shape}}static get styles(){return[n.A,d.A]}render(){return a.html`
|
|
1991
|
+
`}};p([(0,a.property)({type:String})],e.prototype,"id",void 0),p([(0,a.property)({type:String})],e.prototype,"title",void 0),p([(0,a.property)({type:String})],e.prototype,"cardText",void 0),p([(0,a.property)({type:String})],e.prototype,"timestamp",void 0),p([(0,a.property)({type:Boolean})],e.prototype,"summariseMoreVisible",void 0),p([(0,a.property)({type:String})],e.prototype,"variant",void 0),p([(0,a.internalProperty)()],e.prototype,"copyChecked",void 0),p([(0,a.internalProperty)()],e.prototype,"thumbsUpChecked",void 0),p([(0,a.internalProperty)()],e.prototype,"thumbsDownChecked",void 0),e=p([(0,r.w)("md-card-ai")],e),t.ELEMENT=e}(s||(s={}))},65796:t=>{t.exports=u},65875:t=>{t.exports=C},66245:(t,e,i)=>{i.d(e,{ListItem:()=>o});var o,s=i(3001),r=i(31890),n=i(26272),a=i(41488),l=i(23968),d=i(21392),h=function(t,e,i,o){var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){let e=class extends((0,s.yC)(a.LitElement)){constructor(){super(...arguments),this.role="option",this.tabIndex=-1,this.shape="rounded",this._disabled=!1,this._selected=!1}get disabled(){return this._disabled}set disabled(t){const e=this._disabled;this._disabled=t,this.setAttribute("aria-disabled",`${t}`),this.requestUpdate("disabled",e)}get selected(){return this._selected}set selected(t){const e=this._selected;this._selected=t,"option"===this.role&&this.setAttribute("aria-selected",`${t}`),this.requestUpdate("selected",e)}get listItemTemplateClassMap(){return{[`md-list-item--${this.shape}`]:!!this.shape}}static get styles(){return[n.A,d.A]}render(){return a.html`
|
|
1993
1992
|
<div class="md-list-item ${(0,l.classMap)(this.listItemTemplateClassMap)}" part="list-item">
|
|
1994
1993
|
<slot></slot>
|
|
1995
1994
|
</div>
|
|
@@ -204,7 +204,7 @@ export declare namespace ComboBox {
|
|
|
204
204
|
checkForVirtualScroll(): boolean;
|
|
205
205
|
rangeChanged(): void;
|
|
206
206
|
getCustomErrorContent(): DocumentFragment;
|
|
207
|
-
getCustomContent(option: string | OptionMember):
|
|
207
|
+
getCustomContent(option: string | OptionMember): TemplateResult | DocumentFragment;
|
|
208
208
|
renderGroupLabelHeader(option: OptionMember, optionIndex: number): TemplateResult;
|
|
209
209
|
renderWithoutVirtualScroll(): import("lit-html").DirectiveFn;
|
|
210
210
|
highlightingSearchedText(option: OptionMember | string): TemplateResult[];
|