New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sb1/ffe-accordion-react

Package Overview
Dependencies
Maintainers
4
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sb1/ffe-accordion-react - npm Package Compare versions

Comparing version 6.1.0 to 6.1.1

203

CHANGELOG.md

@@ -6,168 +6,139 @@ # Change Log

<a name="6.1.1"></a>
## [6.1.1](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-accordion-react@6.1.0...@sb1/ffe-accordion-react@6.1.1) (2018-09-24)
### Bug Fixes
- **ffe-accordion-react:** fixed async issues with setState ([706dee5](https://github.com/SpareBank1/designsystem/commit/706dee5))
<a name="6.1.0"></a>
# [6.1.0](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-accordion-react@6.0.7...@sb1/ffe-accordion-react@6.1.0) (2018-09-06)
### Features
* **ffe-accordion-react:** Use css transition ([8aae70c](https://github.com/SpareBank1/designsystem/commit/8aae70c))
* **ffe-accordion-react:** Use new modifier class names ([8bf9c03](https://github.com/SpareBank1/designsystem/commit/8bf9c03))
- **ffe-accordion-react:** Use css transition ([8aae70c](https://github.com/SpareBank1/designsystem/commit/8aae70c))
- **ffe-accordion-react:** Use new modifier class names ([8bf9c03](https://github.com/SpareBank1/designsystem/commit/8bf9c03))
### BREAKING CHANGES
* **ffe-accordion-react:** Replaces `react-collapse` with `react-css-collapse`,
which is internally used for toggling the accordion items with help of
css transitions. Further, this change drops support for property
`hasNestedCollapse`, which is a flag used by `react-collapse`.
- **ffe-accordion-react:** Replaces `react-collapse` with `react-css-collapse`,
which is internally used for toggling the accordion items with help of
css transitions. Further, this change drops support for property
`hasNestedCollapse`, which is a flag used by `react-collapse`.
See https://www.npmjs.com/package/react-css-collapse
<a name="6.0.7"></a>
<a name="6.0.7"></a>
## [6.0.7](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-accordion-react@6.0.6...@sb1/ffe-accordion-react@6.0.7) (2018-08-09)
**Note:** Version bump only for package @sb1/ffe-accordion-react
<a name="6.0.6"></a>
## [6.0.6](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-accordion-react@6.0.5...@sb1/ffe-accordion-react@6.0.6) (2018-06-14)
**Note:** Version bump only for package @sb1/ffe-accordion-react
<a name="6.0.5"></a>
## [6.0.5](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-accordion-react@6.0.4...@sb1/ffe-accordion-react@6.0.5) (2018-06-04)
**Note:** Version bump only for package @sb1/ffe-accordion-react
<a name="6.0.4"></a>
**Note:** Version bump only for package @sb1/ffe-accordion-react
<a name="6.0.4"></a>
## [6.0.4](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-accordion-react@6.0.3...@sb1/ffe-accordion-react@6.0.4) (2018-06-04)
**Note:** Version bump only for package @sb1/ffe-accordion-react
<a name="6.0.3"></a>
## [6.0.3](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-accordion-react@6.0.2...@sb1/ffe-accordion-react@6.0.3) (2018-05-29)
**Note:** Version bump only for package @sb1/ffe-accordion-react
<a name="6.0.2"></a>
## [6.0.2](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-accordion-react@6.0.1...@sb1/ffe-accordion-react@6.0.2) (2018-05-04)
**Note:** Version bump only for package @sb1/ffe-accordion-react
<a name="6.0.1"></a>
## [6.0.1](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-accordion-react@6.0.0...@sb1/ffe-accordion-react@6.0.1) (2018-04-11)
**Note:** Version bump only for package @sb1/ffe-accordion-react
<a name="6.0.0"></a>
# [6.0.0](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-accordion-react@5.0.5...@sb1/ffe-accordion-react@6.0.0) (2018-04-11)
### Features
* **ffe-accordion-react:** Make AccordionItems controllable ([a2761e8](https://github.com/SpareBank1/designsystem/commit/a2761e8)), closes [#155](https://github.com/SpareBank1/designsystem/issues/155)
- **ffe-accordion-react:** Make AccordionItems controllable ([a2761e8](https://github.com/SpareBank1/designsystem/commit/a2761e8)), closes [#155](https://github.com/SpareBank1/designsystem/issues/155)
### BREAKING CHANGES
* **ffe-accordion-react:** `AccordionItem`'s prop `isOpen` is renamed to
`defaultOpen`, while a new `open` prop let's the consumer control the
open state of the accordion. To migrate, simply rename all `isOpen`
props to `defaultOpen`.
* **ffe-accordion-react:** `AccordionItem`'s props `onOpen` and `onClose` replaced
with `onToggleOpen(nextIsOpen)`.
- **ffe-accordion-react:** `AccordionItem`'s prop `isOpen` is renamed to
`defaultOpen`, while a new `open` prop let's the consumer control the
open state of the accordion. To migrate, simply rename all `isOpen`
props to `defaultOpen`.
- **ffe-accordion-react:** `AccordionItem`'s props `onOpen` and `onClose` replaced
with `onToggleOpen(nextIsOpen)`.
<a name="5.0.5"></a>
<a name="5.0.5"></a>
## [5.0.5](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-accordion-react@5.0.4...@sb1/ffe-accordion-react@5.0.5) (2018-04-06)
**Note:** Version bump only for package @sb1/ffe-accordion-react
<a name="5.0.4"></a>
## [5.0.4](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-accordion-react@5.0.3...@sb1/ffe-accordion-react@5.0.4) (2018-03-27)
**Note:** Version bump only for package @sb1/ffe-accordion-react
<a name="5.0.3"></a>
## [5.0.3](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-accordion-react@5.0.2...@sb1/ffe-accordion-react@5.0.3) (2018-03-13)
**Note:** Version bump only for package @sb1/ffe-accordion-react
<a name="5.0.2"></a>
## [5.0.2](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-accordion-react@5.0.0...@sb1/ffe-accordion-react@5.0.2) (2018-03-07)
### Bug Fixes
* Correct peerDependencies after breaking change ([aab59ce](https://github.com/SpareBank1/designsystem/commit/aab59ce))
- Correct peerDependencies after breaking change ([aab59ce](https://github.com/SpareBank1/designsystem/commit/aab59ce))
<a name="5.0.1"></a>
<a name="5.0.1"></a>
## [5.0.1](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-accordion-react@5.0.0...@sb1/ffe-accordion-react@5.0.1) (2018-03-02)
### Bug Fixes
* Correct peerDependencies after breaking change ([4318363](https://github.com/SpareBank1/designsystem/commit/4318363))
- Correct peerDependencies after breaking change ([4318363](https://github.com/SpareBank1/designsystem/commit/4318363))
<a name="5.0.0"></a>
<a name="5.0.0"></a>
# 5.0.0 (2018-02-25)
### Bug Fixes
* **ffe-accordion-react:** Create ID only once ([dc94925](https://github.com/SpareBank1/designsystem/commit/dc94925))
* **ffe-accordion-react:** Remove "expandableContent" prop ([be8043d](https://github.com/SpareBank1/designsystem/commit/be8043d))
* Treeshake ffe-icons ([6bc9d6f](https://github.com/SpareBank1/designsystem/commit/6bc9d6f))
* Upgrade ffe-icons-react to v4 ([01bc161](https://github.com/SpareBank1/designsystem/commit/01bc161))
- **ffe-accordion-react:** Create ID only once ([dc94925](https://github.com/SpareBank1/designsystem/commit/dc94925))
- **ffe-accordion-react:** Remove "expandableContent" prop ([be8043d](https://github.com/SpareBank1/designsystem/commit/be8043d))
- Treeshake ffe-icons ([6bc9d6f](https://github.com/SpareBank1/designsystem/commit/6bc9d6f))
- Upgrade ffe-icons-react to v4 ([01bc161](https://github.com/SpareBank1/designsystem/commit/01bc161))
### Chores
* add [@sb1](https://github.com/sb1)/ scope to all packages ([37efbb4](https://github.com/SpareBank1/designsystem/commit/37efbb4))
- add [@sb1](https://github.com/sb1)/ scope to all packages ([37efbb4](https://github.com/SpareBank1/designsystem/commit/37efbb4))
### BREAKING CHANGES
* All packages have been renamed to add the @sb1 scope.
- All packages have been renamed to add the @sb1 scope.

@@ -244,4 +215,5 @@ See links [1] and [2] to read more about package scopes.

[3]: https://github.com/sparebank1/designsystem/tags
* **ffe-accordion-react:** Replace "expandedContent" with children- & title- prop
- **ffe-accordion-react:** Replace "expandedContent" with children- & title- prop
This commit changes the structure of ffe-accordion-react by making

@@ -252,103 +224,77 @@ the expandable content of the accordion item the children, while the heading of the item

<a name="4.0.10"></a>
<a name="4.0.10"></a>
## [4.0.10](https://github.com/SpareBank1/designsystem/compare/ffe-accordion-react@4.0.9...ffe-accordion-react@4.0.10) (2018-02-23)
**Note:** Version bump only for package ffe-accordion-react
<a name="4.0.9"></a>
## [4.0.9](https://github.com/SpareBank1/designsystem/compare/ffe-accordion-react@4.0.8...ffe-accordion-react@4.0.9) (2018-02-22)
**Note:** Version bump only for package ffe-accordion-react
<a name="4.0.8"></a>
## [4.0.8](https://github.com/SpareBank1/designsystem/compare/ffe-accordion-react@4.0.7...ffe-accordion-react@4.0.8) (2018-02-20)
**Note:** Version bump only for package ffe-accordion-react
<a name="4.0.7"></a>
## [4.0.7](https://github.com/SpareBank1/designsystem/compare/ffe-accordion-react@4.0.6...ffe-accordion-react@4.0.7) (2018-02-15)
**Note:** Version bump only for package ffe-accordion-react
<a name="4.0.6"></a>
## [4.0.6](https://github.com/SpareBank1/designsystem/compare/ffe-accordion-react@4.0.5...ffe-accordion-react@4.0.6) (2018-02-01)
**Note:** Version bump only for package ffe-accordion-react
<a name="4.0.5"></a>
## [4.0.5](https://github.com/SpareBank1/designsystem/compare/ffe-accordion-react@4.0.4...ffe-accordion-react@4.0.5) (2018-01-31)
### Bug Fixes
* Treeshake ffe-icons
- Treeshake ffe-icons
<a name="4.0.4"></a>
<a name="4.0.4"></a>
## [4.0.4](https://github.com/SpareBank1/designsystem/compare/ffe-accordion-react@4.0.3...ffe-accordion-react@4.0.4) (2018-01-31)
**Note:** Version bump only for package ffe-accordion-react
<a name="4.0.3"></a>
## [4.0.3](https://github.com/SpareBank1/designsystem/compare/ffe-accordion-react@4.0.2...ffe-accordion-react@4.0.3) (2018-01-19)
**Note:** Version bump only for package ffe-accordion-react
<a name="4.0.2"></a>
## [4.0.2](https://github.com/SpareBank1/designsystem/compare/ffe-accordion-react@4.0.1...ffe-accordion-react@4.0.2) (2018-01-19)
### Bug Fixes
* Upgrade ffe-icons-react to v4
- Upgrade ffe-icons-react to v4
<a name="4.0.1"></a>
<a name="4.0.1"></a>
## [4.0.1](https://github.com/SpareBank1/designsystem/compare/ffe-accordion-react@4.0.0...ffe-accordion-react@4.0.1) (2018-01-19)
**Note:** Version bump only for package ffe-accordion-react
<a name="4.0.0"></a>
# [4.0.0](https://github.com/SpareBank1/designsystem/compare/ffe-accordion-react@3.1.6...ffe-accordion-react@4.0.0) (2018-01-19)
### Bug Fixes
* **ffe-accordion-react:** Remove "expandableContent" prop
- **ffe-accordion-react:** Remove "expandableContent" prop
### BREAKING CHANGES
* **ffe-accordion-react:** Replace "expandedContent" with children- & title- prop
- **ffe-accordion-react:** Replace "expandedContent" with children- & title- prop

@@ -360,5 +306,2 @@ This commit changes the structure of ffe-accordion-react by making

<a name="3.1.6"></a>

@@ -388,21 +331,21 @@

* **ffe-accordion-react:** Create ID only once
- **ffe-accordion-react:** Create ID only once
## 3.1.2
* Added documentation and refactored internally.
- Added documentation and refactored internally.
## 3.1.1
* Removed button and replaced with div to fix bug in internet explorer
- Removed button and replaced with div to fix bug in internet explorer
# 3.1.0
* Upgraded to react 16. Enzyme to 3.1.1 to support react 16. Added repository to remove warning.
Upgraded ffe-accordian to remove warning.
- Upgraded to react 16. Enzyme to 3.1.1 to support react 16. Added repository to remove warning.
Upgraded ffe-accordian to remove warning.
## 3.0.1
* Fix a propType error that would happen if isOpen was not set on AccordionItem. Collapse complained that
`this.state.isOpen` was undefined, so it now defaults to the boolean `false`.
- Fix a propType error that would happen if isOpen was not set on AccordionItem. Collapse complained that
`this.state.isOpen` was undefined, so it now defaults to the boolean `false`.

@@ -413,3 +356,3 @@ # 3.0.0

* Changing to use flex to align items instead of absolute positioning
- Changing to use flex to align items instead of absolute positioning

@@ -427,3 +370,3 @@ # 2.1.0

* Use PropTypes from prop-types package
- Use PropTypes from prop-types package

@@ -461,4 +404,4 @@ ## 2.0.2

* Use `uuid` instead of `nfe-hash` for unique IDs.
* Make `uuid` and `isOpen` optional props.
- Use `uuid` instead of `nfe-hash` for unique IDs.
- Make `uuid` and `isOpen` optional props.

@@ -465,0 +408,0 @@ ## 1.2.3

@@ -72,3 +72,5 @@ 'use strict';

_this.props.onToggleOpen(!open);
_this.setState({ open: !open });
_this.setState(function (prevState) {
return { open: !prevState.open };
});
}, _temp), _possibleConstructorReturn(_this, _ret);

@@ -75,0 +77,0 @@ }

{
"name": "@sb1/ffe-accordion-react",
"version": "6.1.0",
"version": "6.1.1",
"license": "MIT",

@@ -45,3 +45,3 @@ "author": "SpareBank 1",

},
"gitHead": "440e4d021a1387581a98fef093a4f6f90313d451"
"gitHead": "96663f58725c93c984087dcb48dd3f68d17b2ae6"
}
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