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

@khanacademy/wonder-blocks-icon-button

Package Overview
Dependencies
Maintainers
0
Versions
398
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 0.0.0-PR2325-20240919175114 to 0.0.0-PR2332-20241001155238

10

CHANGELOG.md
# @khanacademy/wonder-blocks-icon-button
## 0.0.0-PR2325-20240919175114
## 0.0.0-PR2332-20241001155238
### Minor Changes
- bf2a6f6a: Add type=submit prop to allow submitting forms with the button
- 47f224da: Adds `id` prop and fixes `type` prop to set 'button' as default value.
## 5.5.0
### Minor Changes
- 3463bde3: Add type=submit prop to allow submitting forms with the button
## 5.4.1

@@ -10,0 +16,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 @@ */

@@ -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": "0.0.0-PR2325-20240919175114",
"version": "0.0.0-PR2332-20241001155238",
"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