Socket
Socket
Sign inDemoInstall

@3mo/button

Package Overview
Dependencies
29
Maintainers
3
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.3 to 0.4.4

10

dist/Button.d.ts

@@ -40,9 +40,9 @@ import { Component } from '@a11d/lit';

protected readonly instanceofAttributeController: InstanceofAttributeController;
protected get template(): import("lit-html").TemplateResult<1>;
protected get template(): import("lit-html").HTMLTemplateResult;
protected get isDisabled(): boolean;
protected get contentTemplate(): import("lit-html").TemplateResult<1>;
protected get leadingSlotTemplate(): import("lit-html").TemplateResult<1>;
protected get contentTemplate(): import("lit-html").HTMLTemplateResult;
protected get leadingSlotTemplate(): import("lit-html").HTMLTemplateResult;
protected get leadingIconTemplate(): import("lit-html").HTMLTemplateResult;
protected get slotTemplate(): import("lit-html").TemplateResult<1>;
protected get trailingSlotTemplate(): import("lit-html").TemplateResult<1>;
protected get slotTemplate(): import("lit-html").HTMLTemplateResult;
protected get trailingSlotTemplate(): import("lit-html").HTMLTemplateResult;
protected get trailingIconTemplate(): import("lit-html").HTMLTemplateResult;

@@ -49,0 +49,0 @@ }

var Button_1;
import { __decorate } from "tslib";
import { component, property, css, Component, html, nothing, literal, staticHtml } from '@a11d/lit';
import { component, property, css, Component, html, literal, staticHtml } from '@a11d/lit';
import { InstanceofAttributeController } from '@3mo/instanceof-attribute-controller';

@@ -231,3 +231,3 @@ import { MdTextButton } from '@material/web/button/text-button.js';

get leadingIconTemplate() {
return !this.leadingIcon ? nothing : html `<mo-icon icon=${this.leadingIcon}></mo-icon>`;
return !this.leadingIcon ? html.nothing : html `<mo-icon icon=${this.leadingIcon}></mo-icon>`;
}

@@ -245,3 +245,3 @@ get slotTemplate() {

get trailingIconTemplate() {
return !this.trailingIcon ? nothing : html `<mo-icon icon=${this.trailingIcon}></mo-icon>`;
return !this.trailingIcon ? html.nothing : html `<mo-icon icon=${this.trailingIcon}></mo-icon>`;
}

@@ -248,0 +248,0 @@ };

{
"name": "@3mo/button",
"version": "0.4.3",
"version": "0.4.4",
"description": "A button web-component based on Material Web Components.",

@@ -33,3 +33,6 @@ "repository": {

"@material/web": "1.x"
},
"devDependencies": {
"@a11d/lit-testing": "x"
}
}
# Button
A button web-component based on Material Web Components (MWC).
A button web-component based on Material Web Components.

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc