Socket
Socket
Sign inDemoInstall

@khanacademy/wonder-blocks-icon-button

Package Overview
Dependencies
Maintainers
0
Versions
383
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@khanacademy/wonder-blocks-icon-button - npm Package Compare versions

Comparing version 5.5.0 to 5.6.0

6

CHANGELOG.md
# @khanacademy/wonder-blocks-icon-button
## 5.6.0
### Minor Changes
- 75da0046: Adds `id` prop and fixes `type` prop to set 'button' as default value.
## 5.5.0

@@ -4,0 +10,0 @@

4

dist/components/icon-button.d.ts

@@ -8,2 +8,6 @@ import * as React from "react";

/**
* A unique identifier for the IconButton.
*/
id?: string;
/**
* A Phosphor icon asset (imported as a static SVG file).

@@ -10,0 +14,0 @@ */

7

dist/es/index.js

@@ -180,3 +180,3 @@ import _extends from '@babel/runtime/helpers/extends';

const _excluded$1 = ["color", "disabled", "href", "icon", "kind", "light", "size", "skipClientNav", "style", "testId"];
const _excluded$1 = ["color", "disabled", "href", "icon", "kind", "light", "size", "skipClientNav", "style", "testId", "type"];
function IconChooser({

@@ -217,3 +217,4 @@ icon,

style,
testId
testId,
type = "button"
} = props,

@@ -246,3 +247,3 @@ restProps = _objectWithoutPropertiesLoose(props, _excluded$1);

return React.createElement(StyledButton, _extends({
type: "button"
type: type
}, commonProps, {

@@ -249,0 +250,0 @@ onClick: disabled ? undefined : restProps.onClick,

@@ -207,3 +207,3 @@ 'use strict';

const _excluded$1 = ["color", "disabled", "href", "icon", "kind", "light", "size", "skipClientNav", "style", "testId"];
const _excluded$1 = ["color", "disabled", "href", "icon", "kind", "light", "size", "skipClientNav", "style", "testId", "type"];
function IconChooser({

@@ -244,3 +244,4 @@ icon,

style,
testId
testId,
type = "button"
} = props,

@@ -273,3 +274,3 @@ restProps = _objectWithoutPropertiesLoose__default["default"](props, _excluded$1);

return React__namespace.createElement(StyledButton, _extends__default["default"]({
type: "button"
type: type
}, commonProps, {

@@ -276,0 +277,0 @@ onClick: disabled ? undefined : restProps.onClick,

{
"name": "@khanacademy/wonder-blocks-icon-button",
"version": "5.5.0",
"version": "5.6.0",
"design": "v1",

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

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