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

@3mo/button

Package Overview
Dependencies
Maintainers
3
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@3mo/button - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

2

dist/Button.d.ts

@@ -25,2 +25,4 @@ import { Component } from '@a11d/lit';

* @cssprop --mo-button-disabled-color
*
* @csspart button - The composed native button element.
*/

@@ -27,0 +29,0 @@ export declare class Button extends Component {

@@ -20,2 +20,4 @@ import { __decorate } from "tslib";

* @cssprop --mo-button-disabled-color
*
* @csspart button - The composed native button element.
*/

@@ -73,3 +75,3 @@ let Button = class Button extends Component {

return html `
<mwc-button expandContent
<mwc-button exportparts='button' expandContent
?raised=${this.type === "raised" /* ButtonType.Raised */}

@@ -134,2 +136,8 @@ ?outlined=${this.type === "outlined" /* ButtonType.Outlined */}

export { Button };
MwcButton.addInitializer(async (element) => {
var _a;
const button = element;
await button.updateComplete;
(_a = button.renderRoot.querySelector('button')) === null || _a === void 0 ? void 0 : _a.setAttribute('part', 'button');
});
MwcButton.elementStyles.push(css `

@@ -136,0 +144,0 @@ :host {

@@ -25,2 +25,4 @@ import { Component } from '@a11d/lit';

* @cssprop --mo-button-disabled-color
*
* @csspart button - The composed native button element.
*/

@@ -27,0 +29,0 @@ export declare class Button extends Component {

2

package.json
{
"name": "@3mo/button",
"version": "0.1.4",
"version": "0.1.5",
"description": "A button web-component based on Material Web Components (MWC).",

@@ -5,0 +5,0 @@ "repository": {

Sorry, the diff of this file is too big to display

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