Socket
Socket
Sign inDemoInstall

@spectrum-web-components/button

Package Overview
Dependencies
16
Maintainers
7
Versions
225
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.42.2 to 0.42.3

54

custom-elements.json

@@ -77,7 +77,15 @@ {

"description": "text label of the Button",
"name": ""
"name": "",
"inheritedFrom": {
"name": "ButtonBase",
"module": "src/ButtonBase.ts"
}
},
{
"description": "The icon to use for Button",
"name": "icon"
"name": "icon",
"inheritedFrom": {
"name": "ButtonBase",
"module": "src/ButtonBase.ts"
}
}

@@ -799,7 +807,15 @@ ],

"description": "text label of the Clear Button",
"name": ""
"name": "",
"inheritedFrom": {
"name": "ButtonBase",
"module": "src/ButtonBase.ts"
}
},
{
"description": "The icon to use for Clear Button",
"name": "icon"
"name": "icon",
"inheritedFrom": {
"name": "ButtonBase",
"module": "src/ButtonBase.ts"
}
}

@@ -1144,7 +1160,15 @@ ],

"description": "text label of the Close Button",
"name": ""
"name": "",
"inheritedFrom": {
"name": "ButtonBase",
"module": "src/ButtonBase.ts"
}
},
{
"description": "The icon to use for Close Button",
"name": "icon"
"name": "icon",
"inheritedFrom": {
"name": "ButtonBase",
"module": "src/ButtonBase.ts"
}
}

@@ -1507,2 +1531,20 @@ ],

},
"slots": [
{
"description": "text content to be displayed in the Button element",
"name": "",
"inheritedFrom": {
"name": "ButtonBase",
"module": "src/ButtonBase.ts"
}
},
{
"description": "icon element(s) to display at the start of the button",
"name": "icon",
"inheritedFrom": {
"name": "ButtonBase",
"module": "src/ButtonBase.ts"
}
}
],
"attributes": [

@@ -1509,0 +1551,0 @@ {

18

package.json
{
"name": "@spectrum-web-components/button",
"version": "0.42.2",
"version": "0.42.3",
"publishConfig": {

@@ -85,9 +85,9 @@ "access": "public"

"dependencies": {
"@spectrum-web-components/base": "^0.42.2",
"@spectrum-web-components/clear-button": "^0.42.2",
"@spectrum-web-components/close-button": "^0.42.2",
"@spectrum-web-components/icon": "^0.42.2",
"@spectrum-web-components/icons-ui": "^0.42.2",
"@spectrum-web-components/progress-circle": "^0.42.2",
"@spectrum-web-components/shared": "^0.42.2"
"@spectrum-web-components/base": "^0.42.3",
"@spectrum-web-components/clear-button": "^0.42.3",
"@spectrum-web-components/close-button": "^0.42.3",
"@spectrum-web-components/icon": "^0.42.3",
"@spectrum-web-components/icons-ui": "^0.42.3",
"@spectrum-web-components/progress-circle": "^0.42.3",
"@spectrum-web-components/shared": "^0.42.3"
},

@@ -103,3 +103,3 @@ "devDependencies": {

],
"gitHead": "e19af30387032608baaa88c6a17c2ee50103a7c5"
"gitHead": "a03edce4f21f232f1705d8eb222e6e5436cad4c3"
}
import { CSSResultArray, PropertyValues, TemplateResult } from '@spectrum-web-components/base';
import { ButtonBase } from './ButtonBase.js';
export declare type DeprecatedButtonVariants = 'cta' | 'overBackground';
export declare type ButtonStatics = 'white' | 'black';
export declare type ButtonVariants = 'accent' | 'primary' | 'secondary' | 'negative' | ButtonStatics | DeprecatedButtonVariants;
export type DeprecatedButtonVariants = 'cta' | 'overBackground';
export type ButtonStatics = 'white' | 'black';
export type ButtonVariants = 'accent' | 'primary' | 'secondary' | 'negative' | ButtonStatics | DeprecatedButtonVariants;
export declare const VALID_VARIANTS: string[];
export declare const VALID_STATICS: string[];
export declare type ButtonTreatments = 'fill' | 'outline';
export type ButtonTreatments = 'fill' | 'outline';
declare const Button_base: typeof ButtonBase & {

@@ -10,0 +10,0 @@ new (...args: any[]): import("@spectrum-web-components/base").SizedElementInterface;

"use strict";
import { fixture } from "@open-wc/testing";
import { Default } from "../stories/button-accent-fill.stories.js";
import { testForMemoryLeaks } from "../../../test/testing-helpers.js";
testForMemoryLeaks(async () => await fixture(Default({})));
testForMemoryLeaks(Default({}));
//# sourceMappingURL=button-memory.test.js.map

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