Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vaadin/vaadin-button

Package Overview
Dependencies
Maintainers
9
Versions
251
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/vaadin-button - npm Package Compare versions

Comparing version 2.1.0-alpha3 to 2.1.0-beta1

26

package.json

@@ -13,3 +13,3 @@ {

"name": "@vaadin/vaadin-button",
"version": "2.1.0-alpha3",
"version": "2.1.0-beta1",
"main": "vaadin-button.js",

@@ -29,17 +29,17 @@ "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-icon": "^3.0.0-pre.12",
"@polymer/iron-test-helpers": "^3.0.0-pre.12",
"@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-icon": "^3.0.0-pre.18",
"@polymer/iron-test-helpers": "^3.0.0-pre.18",
"@webcomponents/webcomponentsjs": "^2.0.0",
"wct-browser-legacy": "^1.0.1",
"@vaadin/vaadin-demo-helpers": "^2.0.1"
}
}

@@ -73,20 +73,23 @@ [![npm version](https://badge.fury.io/js/%40vaadin%2Fvaadin-button.svg)](https://badge.fury.io/js/%40vaadin%2Fvaadin-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-button.html`
## Entry points
Unstyled component.
- The component with the Lumo theme:
- `theme/lumo/vaadin-button.html`
`theme/lumo/vaadin-button.html`
Component with Lumo theme.
- The component with the Material theme:
- `vaadin-button.html`
`theme/material/vaadin-button.html`
Alias for theme/lumo/vaadin-button.html
- Alias for `theme/lumo/vaadin-button.html`:
`vaadin-button.html`
## Running demos and tests in browser

@@ -118,8 +121,5 @@

## Creating a pull request
## Contributing
- 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.

@@ -126,0 +126,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';

@@ -130,3 +136,3 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';

static get version() {
return '2.1.0-alpha3';
return '2.1.0-beta1';
}

@@ -133,0 +139,0 @@

@@ -6,4 +6,3 @@ import '@vaadin/vaadin-lumo-styles/color.js';

import '@vaadin/vaadin-lumo-styles/typography.js';
const $_documentContainer = document.createElement('div');
$_documentContainer.setAttribute('style', 'display: none;');
const $_documentContainer = document.createElement('template');

@@ -259,2 +258,2 @@ $_documentContainer.innerHTML = `<dom-module id="lumo-button" theme-for="vaadin-button">

document.head.appendChild($_documentContainer);
document.head.appendChild($_documentContainer.content);
import '@vaadin/vaadin-material-styles/color.js';
import '@vaadin/vaadin-material-styles/shadow.js';
import '@vaadin/vaadin-material-styles/typography.js';
const $_documentContainer = document.createElement('div');
$_documentContainer.setAttribute('style', 'display: none;');
const $_documentContainer = document.createElement('template');

@@ -147,2 +146,2 @@ $_documentContainer.innerHTML = `<dom-module id="material-button" theme-for="vaadin-button">

document.head.appendChild($_documentContainer);
document.head.appendChild($_documentContainer.content);

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc