Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@chakra-ui/live-region

Package Overview
Dependencies
Maintainers
3
Versions
230
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/live-region - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

dist/index.cjs.js

15

package.json
{
"name": "@chakra-ui/live-region",
"version": "2.0.5",
"version": "2.0.6",
"description": "Aria live region for React components",

@@ -18,4 +18,4 @@ "keywords": [

"license": "MIT",
"main": "dist/index.js",
"module": "dist/index.mjs",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",

@@ -37,3 +37,3 @@ "files": [

"dependencies": {
"@chakra-ui/utils": "2.0.5"
"@chakra-ui/utils": "2.0.6"
},

@@ -47,8 +47,9 @@ "peerDependencies": {

"scripts": {
"build": "tsup src/index.ts --format=esm,cjs --dts",
"build": "tsup src/index.ts --dts",
"dev": "pnpm build -- --watch",
"clean": "rimraf dist .turbo",
"typecheck": "tsc --noEmit",
"build:fast": "tsup src/index.ts --format=esm,cjs"
}
"build:fast": "tsup src/index.ts"
},
"readme": "# Live Regions\n\nARIA Live Regions are used to communicate important information to screen reader\nsoftware.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/live-region\n```\n\n## Import components\n\n```jsx\nimport { LiveRegion, useLiveRegion } from \"@chakra-ui/live-region\"\n```\n\n## Usage\n\n```jsx\nimport { useLiveRegion } from \"@chakra-ui/live-region\"\n\nfunction Example() {\n const region = useLiveRegion()\n return (\n <button\n onClick={() => {\n region.speak(\"Filtering categories was successful\")\n }}\n >\n Click me\n </button>\n )\n}\n```\n"
}
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