Socket
Socket
Sign inDemoInstall

@khanacademy/wonder-blocks-button

Package Overview
Dependencies
Maintainers
1
Versions
348
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 2.3.4 to 2.4.0

17

components/button.js

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

import {getClickableBehavior} from "@khanacademy/wonder-blocks-core";
import type {StyleType} from "@khanacademy/wonder-blocks-core";
import type {AriaProps, StyleType} from "@khanacademy/wonder-blocks-core";
import type {IconAsset} from "@khanacademy/wonder-blocks-icon";

@@ -13,2 +13,9 @@ import ButtonCore from "./button-core.js";

/**
* aria-label should be used when `spinner={true}` to let people using screen
* readers that the action taken by clicking the button will take some
* time to complete.
*/
...AriaProps,
/**
* Text to appear on the button.

@@ -33,9 +40,2 @@ */

/**
* This should be use when `spinner={true}` to let people using screen
* readers that the action taken by clicking the button will take some
* time to complete.
*/
"aria-label": string,
/**
* The color of the button, either blue or red.

@@ -164,3 +164,2 @@ */

spinner: false,
"aria-label": "",
};

@@ -167,0 +166,0 @@

@@ -503,4 +503,3 @@ import { createElement, Component, Fragment } from 'react';

disabled: false,
spinner: false,
"aria-label": ""
spinner: false
});

@@ -507,0 +506,0 @@

@@ -595,4 +595,3 @@ module.exports =

disabled: false,
spinner: false,
"aria-label": ""
spinner: false
});

@@ -599,0 +598,0 @@

{
"name": "@khanacademy/wonder-blocks-button",
"version": "2.3.4",
"version": "2.4.0",
"design": "v1",

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

"dependencies": {
"@khanacademy/wonder-blocks-color": "^1.1.3",
"@khanacademy/wonder-blocks-core": "^2.2.1",
"@khanacademy/wonder-blocks-icon": "^1.1.3",
"@khanacademy/wonder-blocks-progress-spinner": "^1.1.3",
"@khanacademy/wonder-blocks-spacing": "^2.1.3",
"@khanacademy/wonder-blocks-typography": "^1.1.3"
"@khanacademy/wonder-blocks-color": "^1.1.4",
"@khanacademy/wonder-blocks-core": "^2.3.0",
"@khanacademy/wonder-blocks-icon": "^1.2.0",
"@khanacademy/wonder-blocks-progress-spinner": "^1.1.4",
"@khanacademy/wonder-blocks-spacing": "^2.1.4",
"@khanacademy/wonder-blocks-typography": "^1.1.4"
},

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

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