@polymer/polymer
Advanced tools
Comparing version 3.0.0-pre.11 to 3.0.0-pre.12
@@ -1,2 +0,2 @@ | ||
import { Element } from '../../polymer-element.js'; | ||
import { PolymerElement } from '../../polymer-element.js'; | ||
import { dedupingMixin } from '../utils/mixin.js'; | ||
@@ -337,3 +337,3 @@ import { calculateSplices } from '../utils/array-splice.js'; | ||
*/ | ||
let baseArraySelector = ArraySelectorMixin(Element); | ||
let baseArraySelector = ArraySelectorMixin(PolymerElement); | ||
@@ -340,0 +340,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import '../../../../@webcomponents/shadycss/entrypoints/custom-style-interface.js'; | ||
import '@webcomponents/shadycss/entrypoints/custom-style-interface.js'; | ||
import { cssFromModules } from '../utils/style-gather.js'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { Element } from '../../polymer-element.js'; | ||
import { PolymerElement } from '../../polymer-element.js'; | ||
import { templatize } from '../utils/templatize.js'; | ||
@@ -30,3 +30,3 @@ import { Debouncer } from '../utils/debounce.js'; | ||
*/ | ||
class DomIf extends Element { | ||
class DomIf extends PolymerElement { | ||
@@ -33,0 +33,0 @@ // Not needed to find template; can be removed once the analyzer |
@@ -1,2 +0,2 @@ | ||
import { Element } from '../../polymer-element.js'; | ||
import { PolymerElement } from '../../polymer-element.js'; | ||
import { TemplateInstanceBase as TemplateInstanceBase$0, templatize, modelForElement as modelForElement$0 } from '../utils/templatize.js'; | ||
@@ -16,3 +16,3 @@ import { Debouncer } from '../utils/debounce.js'; | ||
*/ | ||
const domRepeatBase = OptionalMutableData(Element); | ||
const domRepeatBase = OptionalMutableData(PolymerElement); | ||
@@ -19,0 +19,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import '../../../../@webcomponents/shadycss/entrypoints/apply-shim.js'; | ||
import '@webcomponents/shadycss/entrypoints/apply-shim.js'; | ||
import { ElementMixin } from '../mixins/element-mixin.js'; | ||
@@ -3,0 +3,0 @@ import { GestureEventListeners } from '../mixins/gesture-event-listeners.js'; |
@@ -230,5 +230,5 @@ import '../utils/boot.js'; | ||
} | ||
this.prototype._template = template; | ||
} | ||
this.prototype._template = template; | ||
} | ||
@@ -235,0 +235,0 @@ |
@@ -75,3 +75,5 @@ import { resolveCss } from './resolve-url.js'; | ||
if (include) { | ||
styles.push(...stylesFromModules(include)); | ||
styles.push(...stylesFromModules(include).filter(function(item, index, self) { | ||
return self.indexOf(item) === index; | ||
})); | ||
} | ||
@@ -78,0 +80,0 @@ if (baseURI) { |
@@ -9,3 +9,3 @@ { | ||
"name": "@polymer/polymer", | ||
"version": "3.0.0-pre.11", | ||
"version": "3.0.0-pre.12", | ||
"main": "polymer.js", | ||
@@ -42,4 +42,4 @@ "directories": { | ||
"wct-browser-legacy": "0.0.1-pre.11", | ||
"@polymer/test-fixture": "^3.0.0-pre.10", | ||
"@polymer/iron-component-page": "^3.0.0-pre.10" | ||
"@polymer/test-fixture": "3.0.0-pre.12", | ||
"@polymer/iron-component-page": "3.0.0-pre.12" | ||
}, | ||
@@ -46,0 +46,0 @@ "scripts": { |
@@ -21,3 +21,3 @@ import { ElementMixin } from './lib/mixins/element-mixin.js'; | ||
const Element = ElementMixin(HTMLElement); | ||
export { Element }; | ||
export { Element as PolymerElement }; | ||
export { html$0 as html }; |
@@ -1,2 +0,2 @@ | ||
import '../../../polymer.js'; | ||
import '../../../polymer-legacy.js'; | ||
import { Polymer } from '../../../lib/legacy/polymer-fn.js'; | ||
@@ -3,0 +3,0 @@ import { html } from '../../../lib/utils/html-tag.js'; |
@@ -1,2 +0,2 @@ | ||
import '../../../polymer.js'; | ||
import '../../../polymer-legacy.js'; | ||
import { Polymer } from '../../../lib/legacy/polymer-fn.js'; | ||
@@ -3,0 +3,0 @@ import { html } from '../../../lib/utils/html-tag.js'; |
@@ -1,2 +0,2 @@ | ||
import { Base } from '../../polymer.js'; | ||
import { Base } from '../../polymer-legacy.js'; | ||
import { Polymer } from '../../lib/legacy/polymer-fn.js'; | ||
@@ -3,0 +3,0 @@ import { html } from '../../lib/utils/html-tag.js'; |
@@ -1,5 +0,5 @@ | ||
import '../../polymer.js'; | ||
import '../../polymer-legacy.js'; | ||
import { Polymer } from '../../lib/legacy/polymer-fn.js'; | ||
import { html } from '../../lib/utils/html-tag.js'; | ||
import { Element } from '../../polymer-element.js'; | ||
import { PolymerElement } from '../../polymer-element.js'; | ||
import { GestureEventListeners } from '../../lib/mixins/gesture-event-listeners.js'; | ||
@@ -172,3 +172,3 @@ /** | ||
}); | ||
class XNativeLabel extends Element { | ||
class XNativeLabel extends PolymerElement { | ||
static get template() { | ||
@@ -186,3 +186,3 @@ return html` | ||
customElements.define(XNativeLabel.is, XNativeLabel); | ||
class XNativeLabelNested extends Element { | ||
class XNativeLabelNested extends PolymerElement { | ||
static get template() { | ||
@@ -201,3 +201,3 @@ return html` | ||
customElements.define(XNativeLabelNested.is, XNativeLabelNested); | ||
class XDisabled extends GestureEventListeners(Element) { | ||
class XDisabled extends GestureEventListeners(PolymerElement) { | ||
static get template() { | ||
@@ -204,0 +204,0 @@ return html` |
@@ -1,3 +0,3 @@ | ||
import { Element } from '../../polymer-element.js'; | ||
import '../../../../@webcomponents/shadycss/entrypoints/apply-shim.js'; | ||
import { PolymerElement } from '../../polymer-element.js'; | ||
import '@webcomponents/shadycss/entrypoints/apply-shim.js'; | ||
import '../../lib/elements/custom-style.js'; | ||
@@ -14,3 +14,3 @@ import { html } from '../../lib/utils/html-tag.js'; | ||
*/ | ||
class ApplyElement extends Element { | ||
class ApplyElement extends PolymerElement { | ||
static get template() { | ||
@@ -30,3 +30,3 @@ return html` | ||
customElements.define('apply-element', ApplyElement); | ||
class XOuter extends Element { | ||
class XOuter extends PolymerElement { | ||
static get template() { | ||
@@ -33,0 +33,0 @@ return html` |
@@ -0,4 +1,5 @@ | ||
import '../../polymer-legacy.js'; | ||
import { Polymer } from '../../lib/legacy/polymer-fn.js'; | ||
import { html } from '../../lib/utils/html-tag.js'; | ||
import { Element } from '../../polymer-element.js'; | ||
import { PolymerElement } from '../../polymer-element.js'; | ||
import { MutableDataBehavior } from '../../lib/legacy/mutable-data-behavior.js'; | ||
@@ -903,3 +904,3 @@ import { MutableData } from '../../lib/mixins/mutable-data.js'; | ||
}); | ||
class XImmutableB extends Element { | ||
class XImmutableB extends PolymerElement { | ||
static get template() { | ||
@@ -943,3 +944,3 @@ return html` | ||
}); | ||
class XMutableB extends MutableData(Element) { | ||
class XMutableB extends MutableData(PolymerElement) { | ||
static get template() { | ||
@@ -970,1 +971,19 @@ return html` | ||
}); | ||
class SVGElement extends PolymerElement { | ||
static get template() { | ||
return html` | ||
<svg id="svg" viewBox="[[value]]"></svg> | ||
`; | ||
} | ||
static get is() { return 'svg-element'; } | ||
static get properties() { | ||
return { | ||
value: { | ||
type: String, | ||
value: '0 0 50 50' | ||
} | ||
}; | ||
} | ||
} | ||
customElements.define(SVGElement.is, SVGElement); |
import { html } from '../../../lib/utils/html-tag.js'; | ||
import { Element } from '../../../polymer-element.js'; | ||
import { PolymerElement } from '../../../polymer-element.js'; | ||
const $_documentContainer = document.createElement('div'); | ||
@@ -16,3 +16,3 @@ $_documentContainer.setAttribute('style', 'display: none;'); | ||
*/ | ||
class PR extends Element { | ||
class PR extends PolymerElement { | ||
static get template() { | ||
@@ -47,5 +47,5 @@ return html` | ||
customElements.define(PR.is, PR); | ||
class PRAp extends Element { | ||
class PRAp extends PolymerElement { | ||
static get is() { return 'p-r-ap'; } | ||
} | ||
customElements.define(PRAp.is, PRAp); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
2527651
181
17049