react-accessible-accordion
Advanced tools
Comparing version 2.2.1 to 2.3.0
@@ -6,2 +6,9 @@ # Changelog | ||
## [[v2.3.0]](https://github.com/springload/react-accessible-accordion/releases/tag/v2.3.0) | ||
### Changed | ||
* Refactored to use `unstated` for state-management instead of `mobx` + `mobx-react`, cutting the | ||
size of the bundle by approximately 60% 🎉. | ||
## [[v2.2.1]](https://github.com/springload/react-accessible-accordion/releases/tag/v2.2.1) | ||
@@ -13,3 +20,2 @@ | ||
## [[v2.2.0]](https://github.com/springload/react-accessible-accordion/releases/tag/v2.2.0) | ||
@@ -20,6 +26,5 @@ | ||
* Demo styles added to the bundle as two optional files: | ||
- `minimal-example.css`: 'Minimal' theme - hide/show the AccordionBody component | ||
- `fancy-example.css`: 'Fancy' theme - boilerplate styles for all components, as seen on our demo | ||
* `minimal-example.css`: 'Minimal' theme - hide/show the AccordionBody component | ||
* `fancy-example.css`: 'Fancy' theme - boilerplate styles for all components, as seen on our demo | ||
## [[v2.1.0]](https://github.com/springload/react-accessible-accordion/releases/tag/v2.1.0) | ||
@@ -26,0 +31,0 @@ |
{ | ||
"name": "react-accessible-accordion", | ||
"version": "2.2.1", | ||
"version": "2.3.0", | ||
"description": "Accessible Accordion component for React", | ||
@@ -94,2 +94,4 @@ "main": "dist/umd/index.js", | ||
"babel-loader": "^7.1.2", | ||
"babel-plugin-external-helpers": "^6.22.0", | ||
"babel-polyfill": "^6.26.0", | ||
"babel-preset-es2015": "^6.24.1", | ||
@@ -131,4 +133,3 @@ "babel-preset-react": "^6.24.1", | ||
"consecutive": "^5.0.4", | ||
"mobx": "^3.4.0", | ||
"mobx-react": "^4.3.5" | ||
"unstated": "^1.2.0" | ||
}, | ||
@@ -135,0 +136,0 @@ "peerDependencies": { |
@@ -24,3 +24,6 @@ import resolve from 'rollup-plugin-node-resolve'; | ||
eslint(), | ||
babel(), | ||
babel({ | ||
plugins: ['external-helpers'], | ||
externalHelpers: true, | ||
}), | ||
commonjs(), | ||
@@ -27,0 +30,0 @@ replace({ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
5
26
0
425791
37
3589
19
+ Addedunstated@^1.2.0
+ Addedcreate-react-context@0.1.6(transitive)
+ Addedunstated@1.2.0(transitive)
- Removedmobx@^3.4.0
- Removedmobx-react@^4.3.5
- Removedhoist-non-react-statics@2.5.5(transitive)
- Removedmobx@3.6.2(transitive)
- Removedmobx-react@4.4.3(transitive)