@weahead/react-customizable-modal
Advanced tools
Comparing version 1.2.1 to 1.3.0
@@ -5,11 +5,9 @@ # Changelog | ||
### [1.2.1](https://github.com/weahead/react-customizable-modal/compare/v1.2.0...v1.2.1) (2019-12-01) | ||
## [1.3.0](https://github.com/weahead/react-customizable-modal/compare/v1.2.1...v1.3.0) (2020-02-20) | ||
## [1.2.0](https://github.com/weahead/react-customizable-modal/compare/v1.1.0...v1.2.0) (2019-12-01) | ||
### Features | ||
* add check to enable use in gatsby projects ([62b943b](https://github.com/weahead/react-customizable-modal/commit/62b943b9c299a8af8d5915229cfed67f62348328)) | ||
* add gatsby example project ([33ec797](https://github.com/weahead/react-customizable-modal/commit/33ec797bba88b2aba00ec514251f2a89f37d9197)) | ||
* added SwipeInFromBelowModal example component ([c0d82db](https://github.com/weahead/react-customizable-modal/commit/c0d82dbc4af14aa598b71b4819d71c9737e2acf5)) | ||
* move whole package to tsdx ([7638cad](https://github.com/weahead/react-customizable-modal/commit/7638cad6ecddf266a41e848ee2306b75ea64dada)) | ||
@@ -19,36 +17,3 @@ | ||
* remove old example code ([420c8f9](https://github.com/weahead/react-customizable-modal/commit/420c8f9d4b4d49ae7bdded7673b11b1fc2a49737)) | ||
* update lockfile ([675bfeb](https://github.com/weahead/react-customizable-modal/commit/675bfeb03f7b4ddcfca610bd520e825abf866b4a)) | ||
## 1.1.0 (2019-12-01) | ||
### Features | ||
* add basic modal ([8a8cdd4](https://github.com/weahead/react-customizable-modal/commit/8a8cdd40c1b4204c0dbb82097c25a0ae332a7273)) | ||
* add basic modal component ([903cbff](https://github.com/weahead/react-customizable-modal/commit/903cbffa87ff26c77c9998f355cbf570cc2204dd)) | ||
* add body scroll lock hook ([0c83525](https://github.com/weahead/react-customizable-modal/commit/0c83525c3e6ccd79a5b8578dfdcb41247eebf828)) | ||
* add example app ([8cc7581](https://github.com/weahead/react-customizable-modal/commit/8cc75811736f2d7284eebd4cc9fe9bb961a6f675)) | ||
* add new hook ([a8c187d](https://github.com/weahead/react-customizable-modal/commit/a8c187d22f2f4083acf5a171c7dc0b1928dcb519)) | ||
* add overlay ([bee5029](https://github.com/weahead/react-customizable-modal/commit/bee5029e48f080de247b156f86a1067c8f0351f3)) | ||
* add storybook ([7477025](https://github.com/weahead/react-customizable-modal/commit/74770253d97178472c77e88331a8e7a37f47b9f5)) | ||
* animated modal example ([3a1133d](https://github.com/weahead/react-customizable-modal/commit/3a1133db03e4d65d4a0bd2500809a47c592326f1)) | ||
* export useHandleKeyPress hook ([1446939](https://github.com/weahead/react-customizable-modal/commit/1446939b147d1ea01a244cad76ca409880265895)) | ||
* initial example modal ([26e1f17](https://github.com/weahead/react-customizable-modal/commit/26e1f1747fdc9adbd15a39aef986073bb9e786ee)) | ||
* initial ModalPortal component ([91d437f](https://github.com/weahead/react-customizable-modal/commit/91d437f6bab3018bacc429ef986448d2acdda98c)) | ||
* initial typescripting ([57ae632](https://github.com/weahead/react-customizable-modal/commit/57ae6329fab4edb22e92a29157833dee21576487)) | ||
* modal with portal ([62093f8](https://github.com/weahead/react-customizable-modal/commit/62093f8249dec7f566a7d61e36f2ded706c92bfe)) | ||
* move to monorepo ([9799acd](https://github.com/weahead/react-customizable-modal/commit/9799acd6dc6c185bf70f8ee3a6ccc9030785b580)) | ||
* new structure ([3b252ac](https://github.com/weahead/react-customizable-modal/commit/3b252ac7da229e08e6bfd93ec58faefd68684863)) | ||
### Bug Fixes | ||
* add types to helper library ([b365832](https://github.com/weahead/react-customizable-modal/commit/b365832975dd160afffe44a7520be54cf3cddb9f)) | ||
* add wip to readme ([321f67a](https://github.com/weahead/react-customizable-modal/commit/321f67aad78ed0c37f450beff636fd19612429f3)) | ||
* change scope ([7557987](https://github.com/weahead/react-customizable-modal/commit/7557987a0f844657d3e1cb7b3feff1a977f7d570)) | ||
* default options for usetrapfocus ([b6ccea3](https://github.com/weahead/react-customizable-modal/commit/b6ccea389e5d9ee6ac36da71f472e7f01e5be2ed)) | ||
* fixed test ([493161d](https://github.com/weahead/react-customizable-modal/commit/493161d6a32f5ac158ca0fd9a58d5521a76b0767)) | ||
* positioning of modal in overlay ([e114e67](https://github.com/weahead/react-customizable-modal/commit/e114e6746fe381425df054561a3ac065e361611c)) | ||
* rename components ([f9c65c7](https://github.com/weahead/react-customizable-modal/commit/f9c65c7ffb81ec319b7188b01763df641cdd3fa1)) | ||
* test of trapfocus ([3d304f0](https://github.com/weahead/react-customizable-modal/commit/3d304f0e63bc350205963bc3a478bb36d15f7874)) | ||
* change to weahead modal npm package in example code ([2246e66](https://github.com/weahead/react-customizable-modal/commit/2246e6650dca094bbd79d4b3000c478b337667e5)) | ||
* linting ([70ba77d](https://github.com/weahead/react-customizable-modal/commit/70ba77d7e39206ca90f456191c30e37f281b2c83)) |
{ | ||
"name": "@weahead/react-customizable-modal", | ||
"version": "1.2.1", | ||
"description": "A fully customizable and accessable react modal with hook primitives.", | ||
"main": "lib/index.js", | ||
"types": "lib", | ||
"version": "1.3.0", | ||
"license": "MIT", | ||
"main": "dist/index.js", | ||
"typings": "dist/index.d.ts", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"build": "tsc -p .", | ||
"build-watch": "tsc -w", | ||
"test": "jest", | ||
"release": "standard-version", | ||
"prepublishOnly": "npm run build" | ||
"start": "tsdx watch", | ||
"build": "tsdx build", | ||
"test": "tsdx test --passWithNoTests", | ||
"lint": "tsdx lint", | ||
"prepare": "tsdx build", | ||
"release": "standard-version" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/weahead/react-customizable-modal.git" | ||
"peerDependencies": { | ||
"react": ">=16.9.19" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "tsdx lint" | ||
} | ||
}, | ||
"keywords": [ | ||
@@ -26,3 +35,12 @@ "react", | ||
"author": "Jonathan Borg <jonathan.borg@weahead.se>", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/weahead/react-customizable-modal.git" | ||
}, | ||
"prettier": { | ||
"printWidth": 80, | ||
"semi": true, | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
}, | ||
"bugs": { | ||
@@ -32,22 +50,16 @@ "url": "https://github.com/weahead/react-customizable-modal/issues" | ||
"homepage": "https://github.com/weahead/react-customizable-modal#readme", | ||
"peerDependencies": { | ||
"react": ">=16.9.0" | ||
}, | ||
"files": [ | ||
"lib" | ||
], | ||
"module": "dist/react-customizable-modal.esm.js", | ||
"devDependencies": { | ||
"@testing-library/jest-dom": "^4.1.0", | ||
"@testing-library/react": "^9.1.4", | ||
"@types/jest": "^24.0.18", | ||
"@types/react": "^16.9.2", | ||
"jest": "^24.9.0", | ||
"react": "^16.9.0", | ||
"standard-version": "^7.0.1", | ||
"ts-jest": "^24.0.2", | ||
"typescript": "^3.6.4" | ||
}, | ||
"dependencies": { | ||
"react-dom": "^16.9.0" | ||
"@types/jest": "^24.9.1", | ||
"@types/react": "^16.9.19", | ||
"@types/react-dom": "^16.9.5", | ||
"husky": "^4.2.1", | ||
"react": "^16.12.0", | ||
"react-dom": "^16.12.0", | ||
"standard-version": "^7.1.0", | ||
"tsdx": "^0.12.3", | ||
"tslib": "^1.10.0", | ||
"typescript": "^3.7.5", | ||
"@testing-library/react": "^9.4.0" | ||
} | ||
} |
@@ -18,2 +18,8 @@ # react-customizable-modal | ||
## Demos | ||
[Default builtin Modal](https://codesandbox.io/s/currying-moon-2251f) | ||
[Animated modal with react-spring](https://codesandbox.io/s/solitary-pond-b5kw3) | ||
[Swipe up from below ](https://codesandbox.io/s/bold-murdock-86ysz) | ||
## Code Examples | ||
@@ -20,0 +26,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
91750
1
648
286
11
23
1
1
1
- Removedreact-dom@^16.9.0
- Removedobject-assign@4.1.1(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedreact@16.14.0(transitive)
- Removedreact-dom@16.14.0(transitive)
- Removedreact-is@16.13.1(transitive)
- Removedscheduler@0.19.1(transitive)