@polymer/iron-checked-element-behavior
Advanced tools
Comparing version 3.0.0-pre.4 to 3.0.0-pre.6
@@ -1,5 +0,4 @@ | ||
import { html } from '../../polymer/polymer.js'; | ||
import '../../polymer/polymer.js'; | ||
import '../../paper-button/paper-button.js'; | ||
import { IronCheckedElementBehavior } from '../iron-checked-element-behavior.js'; | ||
import { Polymer } from '../../polymer/lib/legacy/polymer-fn.js'; | ||
import '../iron-checked-element-behavior.js'; | ||
/** | ||
@@ -15,3 +14,3 @@ @license | ||
Polymer({ | ||
_template: html` | ||
_template: Polymer.html` | ||
<style> | ||
@@ -40,3 +39,3 @@ :host { | ||
behaviors: [ | ||
IronCheckedElementBehavior | ||
Polymer.IronCheckedElementBehavior | ||
], | ||
@@ -43,0 +42,0 @@ |
import '../polymer/polymer.js'; | ||
import { IronValidatableBehavior } from '../iron-validatable-behavior/iron-validatable-behavior.js'; | ||
import { IronFormElementBehavior } from '../iron-form-element-behavior/iron-form-element-behavior.js'; | ||
import '../iron-validatable-behavior/iron-validatable-behavior.js'; | ||
import '../iron-form-element-behavior/iron-form-element-behavior.js'; | ||
export const IronCheckedElementBehaviorImpl = { | ||
/** | ||
* Use `Polymer.IronCheckedElementBehavior` to implement a custom element | ||
* that has a `checked` property, which can be used for validation if the | ||
* element is also `required`. Element instances implementing this behavior | ||
* will also be registered for use in an `iron-form` element. | ||
* | ||
* @demo demo/index.html | ||
* @polymerBehavior Polymer.IronCheckedElementBehavior | ||
*/ | ||
/** | ||
@license | ||
Copyright (c) 2015 The Polymer Project Authors. All rights reserved. | ||
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt | ||
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | ||
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt | ||
Code distributed by Google as part of the polymer project is also | ||
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt | ||
*/ | ||
Polymer.IronCheckedElementBehaviorImpl = { | ||
@@ -92,6 +110,7 @@ properties: { | ||
export const IronCheckedElementBehavior = [ | ||
IronFormElementBehavior, | ||
IronValidatableBehavior, | ||
IronCheckedElementBehaviorImpl | ||
/** @polymerBehavior Polymer.IronCheckedElementBehavior */ | ||
Polymer.IronCheckedElementBehavior = [ | ||
Polymer.IronFormElementBehavior, | ||
Polymer.IronValidatableBehavior, | ||
Polymer.IronCheckedElementBehaviorImpl | ||
]; |
{ | ||
"name": "@polymer/iron-checked-element-behavior", | ||
"flat": true, | ||
"version": "3.0.0-pre.4", | ||
"version": "3.0.0-pre.6", | ||
"description": "Implements an element that has a checked attribute and can be added to a form", | ||
@@ -21,11 +21,11 @@ "contributors": "The Polymer Authors", | ||
"dependencies": { | ||
"@polymer/polymer": "^3.0.0-pre.4", | ||
"@polymer/iron-validatable-behavior": "^3.0.0-pre.4", | ||
"@polymer/iron-form-element-behavior": "^3.0.0-pre.4" | ||
"@polymer/polymer": "^3.0.0-pre.6", | ||
"@polymer/iron-validatable-behavior": "^3.0.0-pre.6", | ||
"@polymer/iron-form-element-behavior": "^3.0.0-pre.6" | ||
}, | ||
"devDependencies": { | ||
"@polymer/paper-styles": "^3.0.0-pre.4", | ||
"@polymer/paper-button": "^3.0.0-pre.4", | ||
"@polymer/iron-component-page": "^3.0.0-pre.4", | ||
"wct-browser-legacy": "0.0.1-pre.10", | ||
"@polymer/paper-styles": "^3.0.0-pre.6", | ||
"@polymer/paper-button": "^3.0.0-pre.6", | ||
"@polymer/iron-component-page": "^3.0.0-pre.6", | ||
"wct-browser-legacy": "0.0.1-pre.11", | ||
"@webcomponents/webcomponentsjs": "^1.0.0" | ||
@@ -32,0 +32,0 @@ }, |
import '../../polymer/polymer.js'; | ||
import { IronCheckedElementBehavior } from '../iron-checked-element-behavior.js'; | ||
import { Polymer } from '../../polymer/lib/legacy/polymer-fn.js'; | ||
import '../iron-checked-element-behavior.js'; | ||
@@ -19,5 +18,5 @@ /** | ||
behaviors: [ | ||
IronCheckedElementBehavior | ||
Polymer.IronCheckedElementBehavior | ||
] | ||
}); |
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
23116
223