@khanacademy/wonder-blocks-icon-button
Advanced tools
Comparing version 3.1.5 to 3.1.6
@@ -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 @@ * |
{ | ||
"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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
178975
1397