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

@vaadin/vaadin-item

Package Overview
Dependencies
Maintainers
9
Versions
245
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/vaadin-item - npm Package Compare versions

Comparing version 2.1.0-alpha3 to 2.1.0-beta1

20

package.json

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

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

@@ -29,14 +29,14 @@ "author": "Vaadin Ltd",

"@polymer/polymer": "^3.0.0",
"@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-themable-mixin": "^1.2.1",
"@vaadin/vaadin-lumo-styles": "^1.1.0-beta1",
"@vaadin/vaadin-material-styles": "^1.1.0-beta1"
},
"devDependencies": {
"@polymer/iron-test-helpers": "^3.0.0-pre.12",
"@polymer/iron-component-page": "^3.0.0-pre.12",
"@polymer/iron-demo-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-test-helpers": "^3.0.0-pre.18",
"@polymer/iron-component-page": "^3.0.0-pre.18",
"@polymer/iron-demo-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-checkbox.svg)](https://badge.fury.io/js/%40vaadin%2Fvaadin-checkbox)

## 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-item.html`
## Entry points
Unstyled component.
- The component with the Lumo theme:
- `theme/lumo/vaadin-item.html`
`theme/lumo/vaadin-item.html`
Component with Lumo theme.
- The component with the Material theme:
- `vaadin-item.html`
`theme/material/vaadin-item.html`
Alias for theme/lumo/vaadin-item.html
- Alias for `theme/lumo/vaadin-item.html`:
`vaadin-item.html`
## Running demos and tests in browser

@@ -120,6 +123,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.

@@ -126,0 +126,0 @@

@@ -0,1 +1,12 @@

/**
@license
Copyright (c) 2017 Vaadin Ltd.
This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
/**
* A mixin providing `focused`, `focus-ring`, `active`, `disabled` and `selected`.
*
* `focused`, `active` and `focus-ring` are set as only as attributes.
* @polymerMixin
*/
export const ItemMixin = superClass => class VaadinItemMixin extends superClass {

@@ -2,0 +13,0 @@ static get properties() {

@@ -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 { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';

@@ -67,3 +73,3 @@ import { ItemMixin } from './vaadin-item-mixin.js';

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

@@ -70,0 +76,0 @@ }

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

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

@@ -76,2 +75,2 @@ $_documentContainer.innerHTML = `<dom-module id="lumo-item" theme-for="vaadin-item">

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

@@ -57,2 +56,2 @@ $_documentContainer.innerHTML = `<dom-module id="material-item" theme-for="vaadin-item">

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

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