Socket
Socket
Sign inDemoInstall

@khanacademy/wonder-blocks-clickable

Package Overview
Dependencies
Maintainers
0
Versions
235
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 4.2.2 to 4.2.3

10

CHANGELOG.md
# @khanacademy/wonder-blocks-clickable
## 4.2.3
### Patch Changes
- f099cf87: Improves accessibility of the checked status on `OptionItem` components used
within the `ActionMenu` component. The checked status is communicated to
screenreaders by using a `menuitemcheckbox` role with the `aria-checked`
attribute (instead of `aria-selected`). - `CellCore` (used by `CompactCell` and `DetailCell`) has a new optional
prop for `aria-checked` - `ClickableRole` type now supports the `menuitemcheckbox` role - `OptionItem`'s `role` prop now also supports the `menuitemcheckbox` role
## 4.2.2

@@ -4,0 +14,0 @@

2

dist/components/clickable-behavior.d.ts
import * as React from "react";
export type ClickableRole = "button" | "checkbox" | "link" | "listbox" | "menu" | "menuitem" | "option" | "radio" | "switch" | "tab";
export type ClickableRole = "button" | "checkbox" | "link" | "listbox" | "menu" | "menuitem" | "menuitemcheckbox" | "option" | "radio" | "switch" | "tab";
type CommonProps = Readonly<{

@@ -4,0 +4,0 @@ /**

{
"name": "@khanacademy/wonder-blocks-clickable",
"version": "4.2.2",
"version": "4.2.3",
"design": "v1",

@@ -5,0 +5,0 @@ "description": "Clickable component for Wonder-Blocks.",

@@ -11,2 +11,3 @@ import * as React from "react";

| "menuitem"
| "menuitemcheckbox"
| "option"

@@ -13,0 +14,0 @@ | "radio"

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