@vaadin/vaadin-radio-button
Advanced tools
Comparing version 1.1.0-alpha3 to 1.1.0-beta1
@@ -14,3 +14,3 @@ { | ||
"name": "@vaadin/vaadin-radio-button", | ||
"version": "1.1.0-alpha3", | ||
"version": "1.1.0-beta1", | ||
"main": "vaadin-radio-button.js", | ||
@@ -30,18 +30,18 @@ "author": "Vaadin Ltd", | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/vaadin-control-state-mixin": "^2.1.0-alpha2", | ||
"@vaadin/vaadin-themable-mixin": "^1.2.0-alpha2", | ||
"@vaadin/vaadin-lumo-styles": "^1.1.0-alpha3", | ||
"@vaadin/vaadin-material-styles": "^1.1.0-alpha2", | ||
"@vaadin/vaadin-element-mixin": "^1.1.0-alpha1" | ||
"@vaadin/vaadin-control-state-mixin": "^2.1.1", | ||
"@vaadin/vaadin-themable-mixin": "^1.2.1", | ||
"@vaadin/vaadin-lumo-styles": "^1.1.0-beta1", | ||
"@vaadin/vaadin-material-styles": "^1.1.0-beta1", | ||
"@vaadin/vaadin-element-mixin": "^1.1.2" | ||
}, | ||
"devDependencies": { | ||
"@polymer/iron-component-page": "^3.0.0-pre.12", | ||
"@polymer/iron-demo-helpers": "^3.0.0-pre.12", | ||
"@polymer/iron-form": "^3.0.0-pre.12", | ||
"@polymer/iron-test-helpers": "^3.0.0-pre.12", | ||
"@vaadin/vaadin-button": "^2.1.0-alpha2", | ||
"@webcomponents/webcomponentsjs": "^1.0.0", | ||
"wct-browser-legacy": "0.0.1-pre.11", | ||
"@vaadin/vaadin-demo-helpers": "^2.0.0-alpha2" | ||
"@polymer/iron-component-page": "^3.0.0-pre.18", | ||
"@polymer/iron-demo-helpers": "^3.0.0-pre.18", | ||
"@polymer/iron-form": "^3.0.0-pre.18", | ||
"@polymer/iron-test-helpers": "^3.0.0-pre.18", | ||
"@vaadin/vaadin-button": "^2.1.0-beta1", | ||
"@webcomponents/webcomponentsjs": "^2.0.0", | ||
"wct-browser-legacy": "^1.0.1", | ||
"@vaadin/vaadin-demo-helpers": "^2.0.1" | ||
} | ||
} |
@@ -76,24 +76,27 @@ [](https://badge.fury.io/js/%40vaadin%2Fvaadin-radio-button) | ||
## Getting Started | ||
## Getting started | ||
Vaadin components use the Lumo theme by default. | ||
## The file structure for Vaadin components | ||
To use the Material theme, import the correspondent file from the `theme/material` folder. | ||
- `src/vaadin-radio-button.html` | ||
- `src/vaadin-radio-group.html` | ||
## Entry points | ||
Unstyled components. | ||
- The components with the Lumo theme: | ||
- `theme/lumo/vaadin-radio-button.html` | ||
- `theme/lumo/vaadin-radio-group.html` | ||
`theme/lumo/vaadin-radio-button.html` | ||
`theme/lumo/vaadin-radio-group.html` | ||
Components with Lumo theme. | ||
- The components with the Material theme: | ||
- `vaadin-radio-button.html` | ||
- `vaadin-radio-group.html` | ||
`theme/material/vaadin-radio-button.html` | ||
`theme/material/vaadin-radio-group.html` | ||
Alias for theme/lumo/vaadin-radio-button.html | ||
theme/lumo/vaadin-radio-group.html | ||
- Alias for `theme/lumo/vaadin-radio-button.html` | ||
`theme/lumo/vaadin-radio-group.html`: | ||
`vaadin-radio-button.html` | ||
`vaadin-radio-group.html` | ||
## Running demos and tests in browser | ||
@@ -127,6 +130,3 @@ | ||
- Make sure your code is compliant with our code linters: `gulp lint` | ||
- Check that tests are passing: `polymer test` | ||
- [Submit a pull request](https://www.digitalocean.com/community/tutorials/how-to-create-a-pull-request-on-github) with detailed title and description | ||
- Wait for response from one of Vaadin components team members | ||
To contribute to the component, please read [the guideline](https://github.com/vaadin/vaadin-core/blob/master/CONTRIBUTING.md) first. | ||
@@ -133,0 +133,0 @@ |
@@ -0,2 +1,8 @@ | ||
/** | ||
@license | ||
Copyright (c) 2017 Vaadin Ltd. | ||
This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
*/ | ||
import { PolymerElement } from '@polymer/polymer/polymer-element.js'; | ||
import { GestureEventListeners } from '@polymer/polymer/lib/mixins/gesture-event-listeners.js'; | ||
@@ -99,3 +105,3 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js'; | ||
static get version() { | ||
return '1.1.0-alpha3'; | ||
return '1.1.0-beta1'; | ||
} | ||
@@ -102,0 +108,0 @@ |
@@ -0,2 +1,8 @@ | ||
/** | ||
@license | ||
Copyright (c) 2017 Vaadin Ltd. | ||
This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
*/ | ||
import { PolymerElement } from '@polymer/polymer/polymer-element.js'; | ||
import { FlattenedNodesObserver } from '@polymer/polymer/lib/utils/flattened-nodes-observer.js'; | ||
@@ -3,0 +9,0 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js'; |
import '@vaadin/vaadin-lumo-styles/color.js'; | ||
import '@vaadin/vaadin-lumo-styles/style.js'; | ||
const $_documentContainer = document.createElement('div'); | ||
$_documentContainer.setAttribute('style', 'display: none;'); | ||
const $_documentContainer = document.createElement('template'); | ||
@@ -122,2 +121,2 @@ $_documentContainer.innerHTML = `<dom-module id="lumo-radio-button" theme-for="vaadin-radio-button"> | ||
document.head.appendChild($_documentContainer); | ||
document.head.appendChild($_documentContainer.content); |
@@ -1,3 +0,2 @@ | ||
const $_documentContainer = document.createElement('div'); | ||
$_documentContainer.setAttribute('style', 'display: none;'); | ||
const $_documentContainer = document.createElement('template'); | ||
@@ -88,2 +87,2 @@ $_documentContainer.innerHTML = `<dom-module id="lumo-radio-group" theme-for="vaadin-radio-group"> | ||
document.head.appendChild($_documentContainer); | ||
document.head.appendChild($_documentContainer.content); |
import '@vaadin/vaadin-material-styles/color.js'; | ||
const $_documentContainer = document.createElement('div'); | ||
$_documentContainer.setAttribute('style', 'display: none;'); | ||
const $_documentContainer = document.createElement('template'); | ||
@@ -120,2 +119,2 @@ $_documentContainer.innerHTML = `<dom-module id="material-radio-button" theme-for="vaadin-radio-button"> | ||
document.head.appendChild($_documentContainer); | ||
document.head.appendChild($_documentContainer.content); |
@@ -1,3 +0,2 @@ | ||
const $_documentContainer = document.createElement('div'); | ||
$_documentContainer.setAttribute('style', 'display: none;'); | ||
const $_documentContainer = document.createElement('template'); | ||
@@ -89,2 +88,2 @@ $_documentContainer.innerHTML = `<dom-module id="material-radio-group" theme-for="vaadin-radio-group"> | ||
document.head.appendChild($_documentContainer); | ||
document.head.appendChild($_documentContainer.content); |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1347
175274
27