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

@material/mwc-icon

Package Overview
Dependencies
Maintainers
13
Versions
722
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material/mwc-icon - npm Package Compare versions

Comparing version 0.2.1 to 0.3.0

_mwc-icon-css.d.ts

3

mwc-icon-font.js

@@ -0,1 +1,2 @@

"use strict";
/**

@@ -17,3 +18,2 @@ @license

*/
// load material icons font

@@ -24,1 +24,2 @@ const fontEl = document.createElement('link');

document.head.appendChild(fontEl);
//# sourceMappingURL=mwc-icon-font.js.map

@@ -17,5 +17,4 @@ /**

*/
import {html} from '@polymer/lit-element/lit-element.js';
export const style = html`<style>:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:'liga';-webkit-font-smoothing:antialiased}
</style>`;
import { html } from '@polymer/lit-element';
export const style = html `<style>:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased}</style>`;
//# sourceMappingURL=mwc-icon-host-css.js.map

@@ -0,1 +1,7 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
/**

@@ -17,15 +23,17 @@ @license

*/
import {LitElement, html} from '@polymer/lit-element/lit-element.js';
import {style} from './mwc-icon-host-css.js';
import './mwc-icon-font.js';
export class Icon extends LitElement {
renderStyle() {
return style;
}
render() {
return html`${this.renderStyle()}<slot></slot>`;
}
}
customElements.define('mwc-icon', Icon);
import { LitElement, html, customElement } from '@polymer/lit-element';
import { style } from './mwc-icon-host-css';
import './mwc-icon-font';
let Icon = class Icon extends LitElement {
renderStyle() {
return style;
}
render() {
return html `${this.renderStyle()}<slot></slot>`;
}
};
Icon = __decorate([
customElement('mwc-icon')
], Icon);
export { Icon };
//# sourceMappingURL=mwc-icon.js.map
{
"name": "@material/mwc-icon",
"version": "0.2.1",
"version": "0.3.0",
"description": "",

@@ -16,8 +16,5 @@ "main": "mwc-icon.js",

"dependencies": {
"@material/mwc-base": "^0.2.1",
"@polymer/lit-element": "^0.6.0"
"@material/mwc-base": "^0.3.0",
"@polymer/lit-element": "^0.6.1"
},
"devDependencies": {
"@material/mwc-sass-render": "^0.2.1"
},
"publishConfig": {

@@ -24,0 +21,0 @@ "access": "public"

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