New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vaadin/vaadin-notification

Package Overview
Dependencies
Maintainers
9
Versions
252
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/vaadin-notification - npm Package Compare versions

Comparing version 1.1.0-alpha3 to 1.1.0-beta1

28

package.json

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

"name": "@vaadin/vaadin-notification",
"version": "1.1.0-alpha3",
"version": "1.1.0-beta1",
"main": "vaadin-notification.js",

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

"@polymer/polymer": "^3.0.0",
"@vaadin/vaadin-themable-mixin": "^1.2.0-alpha2",
"@vaadin/vaadin-element-mixin": "^1.1.0-alpha1",
"@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-element-mixin": "^1.1.2",
"@vaadin/vaadin-lumo-styles": "^1.1.0-beta1",
"@vaadin/vaadin-material-styles": "^1.1.0-beta1"
},
"devDependencies": {
"@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-button": "^2.1.0-alpha2",
"@vaadin/vaadin-checkbox": "^2.2.0-alpha2",
"@vaadin/vaadin-demo-helpers": "^2.0.0-alpha2",
"@vaadin/vaadin-radio-button": "^1.1.0-alpha2",
"@vaadin/vaadin-text-field": "^2.1.0-alpha2"
"@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-button": "^2.1.0-beta1",
"@vaadin/vaadin-checkbox": "^2.2.0-beta1",
"@vaadin/vaadin-demo-helpers": "^2.0.1",
"@vaadin/vaadin-radio-button": "^1.1.0-beta1",
"@vaadin/vaadin-text-field": "^2.1.0-beta1"
}
}

@@ -76,19 +76,22 @@ [![npm version](https://badge.fury.io/js/%40vaadin%2Fvaadin-notification.svg)](https://badge.fury.io/js/%40vaadin%2Fvaadin-notification)

## 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-notification.html`
## Entry points
Unstyled component.
- The component with the Lumo theme:
- `theme/lumo/vaadin-notification.html`
`theme/lumo/vaadin-notification.html`
Component with Lumo theme.
- The component with the Material theme:
`theme/material/vaadin-notification.html`
- Alias for `theme/lumo/vaadin-notification.html`:
- `vaadin-notification.html`
Alias for theme/lumo/vaadin-notification.html

@@ -123,6 +126,3 @@ ## Running demos and tests in browser

- 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.

@@ -129,0 +129,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 { templatize } from '@polymer/polymer/lib/utils/templatize.js';

@@ -214,3 +220,3 @@ import { ElementMixin } from '@vaadin/vaadin-element-mixin/vaadin-element-mixin.js';

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

@@ -217,0 +223,0 @@

@@ -5,4 +5,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');

@@ -141,2 +140,2 @@ $_documentContainer.innerHTML = `<dom-module id="lumo-notification-card" theme-for="vaadin-notification-card">

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

@@ -159,2 +158,2 @@ $_documentContainer.innerHTML = `<dom-module id="material-notification-container" theme-for="vaadin-notification-container">

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

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