@assecosolutions/fox-list
Advanced tools
Comparing version 1.6.0-next.1 to 1.6.0-next.2
69
index.js
import { ListBase } from '@material/mwc-list/mwc-list-base'; | ||
import { styles as styles$2 } from '@material/mwc-list/mwc-list.css'; | ||
import { customElement } from 'lit/decorators.js'; | ||
import { css, html } from 'lit'; | ||
@@ -14,24 +13,2 @@ export { createSetFromIndex, isEventMulti, isIndexSet } from '@material/mwc-list/mwc-list-foundation'; | ||
/****************************************************************************** | ||
Copyright (c) Microsoft Corporation. | ||
Permission to use, copy, modify, and/or distribute this software for any | ||
purpose with or without fee is hereby granted. | ||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH | ||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY | ||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, | ||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM | ||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR | ||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR | ||
PERFORMANCE OF THIS SOFTWARE. | ||
***************************************************************************** */ | ||
function __decorate(decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
} | ||
let _$4 = t => t, | ||
@@ -41,3 +18,3 @@ _t$4; | ||
let FoxList = class FoxList extends ListBase {}; | ||
class FoxList extends ListBase {} | ||
/** | ||
@@ -48,4 +25,10 @@ * @ignore | ||
FoxList.styles = [styles$2, styles$1]; | ||
FoxList = __decorate([customElement('fox-list')], FoxList); | ||
const name$3 = 'fox-list'; | ||
if (!customElements.get(name$3)) { | ||
customElements.define(name$3, FoxList); | ||
} else { | ||
console.warn(`${name$3} is already defined`); | ||
} | ||
let _$3 = t => t, | ||
@@ -382,3 +365,3 @@ _t$3; | ||
_t4; | ||
let FoxListItem = class FoxListItem extends ListItemBase { | ||
class FoxListItem extends ListItemBase { | ||
render() { | ||
@@ -398,3 +381,3 @@ const text = this.renderText(); | ||
}; | ||
} | ||
/** | ||
@@ -405,4 +388,10 @@ * @ignore | ||
FoxListItem.styles = [styles]; | ||
FoxListItem = __decorate([customElement('fox-list-item')], FoxListItem); | ||
const name$2 = 'fox-list-item'; | ||
if (!customElements.get(name$2)) { | ||
customElements.define(name$2, FoxListItem); | ||
} else { | ||
console.warn(`${name$2} is already defined`); | ||
} | ||
let _$1 = t => t, | ||
@@ -412,3 +401,3 @@ _t$1, | ||
_t3$1; | ||
let FoxCheckListItem = class FoxCheckListItem extends CheckListItemBase { | ||
class FoxCheckListItem extends CheckListItemBase { | ||
render() { | ||
@@ -437,3 +426,3 @@ const checkboxClasses = { | ||
}; | ||
} | ||
/** | ||
@@ -444,4 +433,10 @@ * @ignore | ||
FoxCheckListItem.styles = [styles$3, styles$4, styles]; | ||
FoxCheckListItem = __decorate([customElement('fox-check-list-item')], FoxCheckListItem); | ||
const name$1 = 'fox-check-list-item'; | ||
if (!customElements.get(name$1)) { | ||
customElements.define(name$1, FoxCheckListItem); | ||
} else { | ||
console.warn(`${name$1} is already defined`); | ||
} | ||
let _ = t => t, | ||
@@ -451,3 +446,3 @@ _t, | ||
_t3; | ||
let FoxRadioListItem = class FoxRadioListItem extends RadioListItemBase { | ||
class FoxRadioListItem extends RadioListItemBase { | ||
render() { | ||
@@ -476,3 +471,3 @@ const radioClasses = { | ||
}; | ||
} | ||
/** | ||
@@ -483,4 +478,10 @@ * @ignore | ||
FoxRadioListItem.styles = [styles$3, styles$4, styles]; | ||
FoxRadioListItem = __decorate([customElement('fox-radio-list-item')], FoxRadioListItem); | ||
const name = 'fox-radio-list-item'; | ||
if (!customElements.get(name)) { | ||
customElements.define(name, FoxRadioListItem); | ||
} else { | ||
console.warn(`${name} is already defined`); | ||
} | ||
export { FoxCheckListItem, FoxList, FoxListItem, FoxRadioListItem, styles as foxListItemStyles, styles$1 as foxListStyles }; |
@@ -5,3 +5,3 @@ import { CheckListItemBase } from '@material/mwc-list/mwc-check-list-item-base'; | ||
interface HTMLElementTagNameMap { | ||
'fox-check-list-item': FoxCheckListItem; | ||
[name]: FoxCheckListItem; | ||
} | ||
@@ -16,1 +16,2 @@ } | ||
} | ||
declare const name = "fox-check-list-item"; |
@@ -5,3 +5,3 @@ import { ListBase } from '@material/mwc-list/mwc-list-base'; | ||
interface HTMLElementTagNameMap { | ||
'fox-list': FoxList; | ||
[name]: FoxList; | ||
} | ||
@@ -15,1 +15,2 @@ } | ||
} | ||
declare const name = "fox-list"; |
@@ -5,3 +5,3 @@ import { ListItemBase } from '@material/mwc-list/mwc-list-item-base'; | ||
interface HTMLElementTagNameMap { | ||
'fox-list-item': FoxListItem; | ||
[name]: FoxListItem; | ||
} | ||
@@ -17,1 +17,2 @@ } | ||
} | ||
declare const name = "fox-list-item"; |
@@ -5,3 +5,3 @@ import { RadioListItemBase } from '@material/mwc-list/mwc-radio-list-item-base'; | ||
interface HTMLElementTagNameMap { | ||
'fox-radio-list-item': FoxRadioListItem; | ||
[name]: FoxRadioListItem; | ||
} | ||
@@ -16,1 +16,2 @@ } | ||
} | ||
declare const name = "fox-radio-list-item"; |
{ | ||
"name": "@assecosolutions/fox-list", | ||
"version": "1.6.0-next.1", | ||
"version": "1.6.0-next.2", | ||
"public": true, | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
525
21453