@khanacademy/wonder-blocks-cell
Advanced tools
Comparing version 2.0.0 to 2.0.1
# @khanacademy/wonder-blocks-cell | ||
## 2.0.1 | ||
### Patch Changes | ||
- 166ecc97: Use `aria-disabled` instead of disabled, fix focused + disabled styles. | ||
- Updated dependencies [166ecc97] | ||
- @khanacademy/wonder-blocks-clickable@2.2.4 | ||
## 2.0.0 | ||
@@ -4,0 +12,0 @@ |
@@ -258,3 +258,6 @@ import _objectWithoutPropertiesLoose from '@babel/runtime/helpers/objectWithoutPropertiesLoose'; | ||
disabled: { | ||
color: Color.offBlack32 | ||
color: Color.offBlack32, | ||
":hover": { | ||
cursor: "not-allowed" | ||
} | ||
}, | ||
@@ -261,0 +264,0 @@ accessoryActive: { |
@@ -423,3 +423,6 @@ module.exports = | ||
disabled: { | ||
color: _khanacademy_wonder_blocks_color__WEBPACK_IMPORTED_MODULE_4___default.a.offBlack32 | ||
color: _khanacademy_wonder_blocks_color__WEBPACK_IMPORTED_MODULE_4___default.a.offBlack32, | ||
":hover": { | ||
cursor: "not-allowed" | ||
} | ||
}, | ||
@@ -426,0 +429,0 @@ accessoryActive: { |
{ | ||
"name": "@khanacademy/wonder-blocks-cell", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"design": "v1", | ||
@@ -17,3 +17,3 @@ "publishConfig": { | ||
"@babel/runtime": "^7.16.3", | ||
"@khanacademy/wonder-blocks-clickable": "^2.2.3", | ||
"@khanacademy/wonder-blocks-clickable": "^2.2.4", | ||
"@khanacademy/wonder-blocks-color": "^1.1.20", | ||
@@ -20,0 +20,0 @@ "@khanacademy/wonder-blocks-core": "^4.2.1", |
@@ -77,3 +77,6 @@ // @flow | ||
// Assert | ||
expect(screen.getByRole("button")).toBeDisabled(); | ||
expect(screen.getByRole("button")).toHaveAttribute( | ||
"aria-disabled", | ||
"true", | ||
); | ||
}); | ||
@@ -80,0 +83,0 @@ |
@@ -288,2 +288,5 @@ // @flow | ||
color: Color.offBlack32, | ||
":hover": { | ||
cursor: "not-allowed", | ||
}, | ||
}, | ||
@@ -290,0 +293,0 @@ |
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
90671
2338