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.4 to 3.1.5

8

components/icon-button-core.js

@@ -64,3 +64,2 @@ // @flow

skipClientNav,
"aria-label": ariaLabel,
color,

@@ -102,5 +101,2 @@ disabled,

const commonProps = {
// TODO(kevinb): figure out a better way of forward ARIA props
"aria-disabled": disabled ? "true" : undefined,
"aria-label": ariaLabel,
"data-test-id": testId,

@@ -154,2 +150,6 @@ style: [defaultStyle, style],

touchAction: "manipulation",
":focus": {
// Mobile: Removes a blue highlight style shown when the user clicks a button
WebkitTapHighlightColor: "rgba(0,0,0,0)",
},
},

@@ -156,0 +156,0 @@ disabled: {

@@ -11,3 +11,3 @@ // @flow

export type SharedProps = {|
...AriaProps,
...$Rest<AriaProps, {|"aria-disabled": "true" | "false" | void|}>,

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

@@ -186,3 +186,2 @@ import React from 'react';

skipClientNav = _this$props.skipClientNav,
ariaLabel = _this$props["aria-label"],
color = _this$props.color,

@@ -199,3 +198,3 @@ disabled = _this$props.disabled,

testId = _this$props.testId,
handlers = _objectWithoutProperties(_this$props, ["skipClientNav", "aria-label", "color", "disabled", "focused", "hovered", "href", "icon", "kind", "light", "pressed", "style", "testId"]);
handlers = _objectWithoutProperties(_this$props, ["skipClientNav", "color", "disabled", "focused", "hovered", "href", "icon", "kind", "light", "pressed", "style", "testId"]);

@@ -215,5 +214,2 @@ var router = this.context.router;

var commonProps = _objectSpread({
// TODO(kevinb): figure out a better way of forward ARIA props
"aria-disabled": disabled ? "true" : undefined,
"aria-label": ariaLabel,
"data-test-id": testId,

@@ -263,3 +259,7 @@ style: [defaultStyle, style]

// "double-tap to zoom" shouldn't be used on this element.
touchAction: "manipulation"
touchAction: "manipulation",
":focus": {
// Mobile: Removes a blue highlight style shown when the user clicks a button
WebkitTapHighlightColor: "rgba(0,0,0,0)"
}
},

@@ -266,0 +266,0 @@ disabled: {

@@ -218,3 +218,2 @@ module.exports =

skipClientNav = _this$props.skipClientNav,
ariaLabel = _this$props["aria-label"],
color = _this$props.color,

@@ -231,3 +230,3 @@ disabled = _this$props.disabled,

testId = _this$props.testId,
handlers = _objectWithoutProperties(_this$props, ["skipClientNav", "aria-label", "color", "disabled", "focused", "hovered", "href", "icon", "kind", "light", "pressed", "style", "testId"]);
handlers = _objectWithoutProperties(_this$props, ["skipClientNav", "color", "disabled", "focused", "hovered", "href", "icon", "kind", "light", "pressed", "style", "testId"]);

@@ -247,5 +246,2 @@ var router = this.context.router;

var commonProps = _objectSpread({
// TODO(kevinb): figure out a better way of forward ARIA props
"aria-disabled": disabled ? "true" : undefined,
"aria-label": ariaLabel,
"data-test-id": testId,

@@ -297,3 +293,7 @@ style: [defaultStyle, style]

// "double-tap to zoom" shouldn't be used on this element.
touchAction: "manipulation"
touchAction: "manipulation",
":focus": {
// Mobile: Removes a blue highlight style shown when the user clicks a button
WebkitTapHighlightColor: "rgba(0,0,0,0)"
}
},

@@ -300,0 +300,0 @@ disabled: {

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

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

"dependencies": {
"@khanacademy/wonder-blocks-color": "^1.1.4",
"@khanacademy/wonder-blocks-core": "^2.3.0",
"@khanacademy/wonder-blocks-icon": "^1.2.0"
"@khanacademy/wonder-blocks-color": "^1.1.5",
"@khanacademy/wonder-blocks-core": "^2.3.1",
"@khanacademy/wonder-blocks-icon": "^1.2.1"
},

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

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