@pluralsight/react-utils
Advanced tools
Comparing version 0.0.0-experimental-967294-20220726 to 0.0.0-experimental-b88221-20220729
@@ -0,1 +1,2 @@ | ||
export { useEscToClose } from './hooks/useEscToClose'; | ||
export { useFocusTrap } from './hooks/useFocusTrap'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.useFocusTrap = void 0; | ||
exports.useFocusTrap = exports.useEscToClose = void 0; | ||
var useEscToClose_1 = require("./hooks/useEscToClose"); | ||
Object.defineProperty(exports, "useEscToClose", { enumerable: true, get: function () { return useEscToClose_1.useEscToClose; } }); | ||
var useFocusTrap_1 = require("./hooks/useFocusTrap"); | ||
Object.defineProperty(exports, "useFocusTrap", { enumerable: true, get: function () { return useFocusTrap_1.useFocusTrap; } }); |
@@ -0,1 +1,2 @@ | ||
export { useEscToClose } from './hooks/useEscToClose' | ||
export { useFocusTrap } from './hooks/useFocusTrap' |
{ | ||
"name": "@pluralsight/react-utils", | ||
"version": "0.0.0-experimental-967294-20220726", | ||
"version": "0.0.0-experimental-b88221-20220729", | ||
"description": "A set of React custom hooks for Pluralsight.", | ||
@@ -10,6 +10,5 @@ "main": "build/index.js", | ||
".": { | ||
"import": "build/wrapper.js", | ||
"require": "build/index.js" | ||
}, | ||
"./types": "build/types.d.ts" | ||
"import": "./build/wrapper.js", | ||
"require": "./build/index.js" | ||
} | ||
}, | ||
@@ -30,2 +29,3 @@ "files": [ | ||
"rename:wrapper": "renamer --path-element ext src/wrapper.ts --find '.ts' --replace '.js'", | ||
"lint:ts": "tsc --project tsconfig.json --noEmit", | ||
"test": "echo \"'yarn test' should be run from root directory.\" && exit 1" | ||
@@ -37,3 +37,6 @@ }, | ||
"devDependencies": { | ||
"@testing-library/dom": "^8.16.0", | ||
"@testing-library/jest-dom": "^5.16.4", | ||
"@testing-library/react": "^13.3.0", | ||
"@testing-library/user-event": "^14.3.0", | ||
"@types/copyfiles": "^2", | ||
@@ -43,2 +46,3 @@ "@types/jest": "^28.1.6", | ||
"@types/react-dom": "^18", | ||
"@types/testing-library__jest-dom": "^5", | ||
"copyfiles": "^2.4.1", | ||
@@ -45,0 +49,0 @@ "identity-obj-proxy": "^3.0.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
6647
9
95
15