hook-modal
Advanced tools
Comparing version 0.1.1 to 0.1.2
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
{ | ||
"name": "hook-modal", | ||
"description": "React Hooks for building accessible modal", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"main": "dist/index.js", | ||
@@ -16,21 +16,21 @@ "author": "dqn <dqn270@gmail.com>", | ||
"devDependencies": { | ||
"@types/body-scroll-lock": "^3.1.0", | ||
"@types/react": "^17.0.38", | ||
"@types/react-dom": "^17.0.11", | ||
"@typescript-eslint/eslint-plugin": "^5.10.0", | ||
"@typescript-eslint/parser": "^5.10.0", | ||
"eslint": "^8.7.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-jsx-a11y": "^6.5.1", | ||
"eslint-plugin-react": "^7.28.0", | ||
"eslint-plugin-react-hooks": "^4.3.0", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^2.5.1", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2", | ||
"rimraf": "^3.0.2", | ||
"typescript": "^4.5.4" | ||
"@types/body-scroll-lock": "3.1.0", | ||
"@types/react": "18.0.25", | ||
"@types/react-dom": "18.0.8", | ||
"@typescript-eslint/eslint-plugin": "5.42.1", | ||
"@typescript-eslint/parser": "5.42.1", | ||
"eslint": "8.27.0", | ||
"eslint-config-prettier": "8.5.0", | ||
"eslint-plugin-jsx-a11y": "6.6.1", | ||
"eslint-plugin-react": "7.31.10", | ||
"eslint-plugin-react-hooks": "4.6.0", | ||
"npm-run-all": "4.1.5", | ||
"prettier": "2.7.1", | ||
"react": "18.2.0", | ||
"react-dom": "18.2.0", | ||
"rimraf": "3.0.2", | ||
"typescript": "4.8.4" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.8.0 || ^17" | ||
"react": "^16.8.0 || ^17 || ^18.0.0" | ||
}, | ||
@@ -51,4 +51,4 @@ "files": [ | ||
"body-scroll-lock": "3.1.5", | ||
"focus-trap": "^6.7.2" | ||
"focus-trap": "^7.0.0" | ||
} | ||
} |
9358
117
+ Addedfocus-trap@7.5.4(transitive)
+ Addedreact@18.2.0(transitive)
+ Addedtabbable@6.2.0(transitive)
- Removedfocus-trap@6.9.4(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedreact@17.0.2(transitive)
- Removedtabbable@5.3.3(transitive)
Updatedfocus-trap@^7.0.0