Socket
Socket
Sign inDemoInstall

@khanacademy/wonder-blocks-icon-button

Package Overview
Dependencies
Maintainers
1
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 3.1.5 to 3.1.6

30

components/icon-button-core.js

@@ -13,3 +13,6 @@ // @flow

import {addStyle} from "@khanacademy/wonder-blocks-core";
import type {ClickableHandlers} from "@khanacademy/wonder-blocks-core";
import type {
ClickableHandlers,
ClickableState,
} from "@khanacademy/wonder-blocks-core";
import Icon from "@khanacademy/wonder-blocks-icon";

@@ -21,28 +24,5 @@ import type {SharedProps} from "./icon-button.js";

...ClickableHandlers,
...ClickableState,
/**
* Whether the IconButton is hovered.
*
* Same styling as focused. Refer to `ClickableBehavior` for more
* information on when this prop should be `true`.
*/
hovered: boolean,
/**
* Whether the IconButton is focused.
*
* Same styling as hvoered. Refer to `ClickableBehavior` for more
* information on when this prop should be `true`.
*/
focused: boolean,
/**
* Whether the IconButton is pressed.
*
* Refer to `ClickableBehavior` for more information on when this prop
* should be `true`.
*/
pressed: boolean,
/**
* URL to navigate to.

@@ -49,0 +29,0 @@ *

8

package.json
{
"name": "@khanacademy/wonder-blocks-icon-button",
"version": "3.1.5",
"version": "3.1.6",
"design": "v1",

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

"dependencies": {
"@khanacademy/wonder-blocks-color": "^1.1.5",
"@khanacademy/wonder-blocks-core": "^2.3.1",
"@khanacademy/wonder-blocks-icon": "^1.2.1"
"@khanacademy/wonder-blocks-color": "^1.1.6",
"@khanacademy/wonder-blocks-core": "^2.4.0",
"@khanacademy/wonder-blocks-icon": "^1.2.2"
},

@@ -23,0 +23,0 @@ "peerDependencies": {

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