All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
For more information about keeping good change logs please refer to keep a changelog.
- All dependancies package
- Some package security vunerabilities
- NPM package release to include fix for issue 26
- Security issue with
tar
package
- Option
addListenersOnInit
. See PR 26 for more info
- Running NPM audit to fix vulnerabilities
- Issue#24: Fixing setting for
hiddenClass
andinitializedClass
- Issue#16: Properly hiding accordion content for all users
- Issue#17: Removed aria-label and deprecated
headerOpenLabel
&headerCloseLabel
- Merged in PR from
@micmania1
for the correct spelling of aria-labelledby
- Made NPM scripts bit nicer by calling each other. Also now compiling .css
- Created the ability to have nested accordions. For this to happen I needed to change how a single accordion instance selected its headers & panels. Now the headers & panels selected are only 1 level deep.
- Spelling of
initializedClass
so it is the American spelling
- Fixing demo styles
- Issue #14: seanjhulse created a PR and patched this so openAll/closeAll works.
- Issue #9 Active class to the open header & panel
-
Deprecating
setPanelHeight()
in favour better name This method was “private” and not named great for it being used after the initialisation IMO. I have now called itcalculateAllPanelsHeight()
which I feel is more descriptive. Also created a method to calculate a single panel’s heightcalculatePanelHeight()
. Also updated the docs. -
Issue #8: Setting the roles. By default both the
presentation
role on the container element ®ion
on the panel will be set. You can now using turn them both offroles: false
or explicitly set one or both of the roles to be set.roles: { region: true }
-
Issue #10 - Moved packages to devDependencies and cleaned up package.json
_openHeadersOnLoad()
updates state with method- Updated NPM scripts
- Issue#20:
Open()
&Close()
methods were not correctly updating state and therefore if fired upon start the whole state object was incorrect and using the accordion was impossible.
- Discarding some temporary changes
- LICENSE so its correct...
- Plugin so can now pass in a DOM node
- README & example files
- Tweaking minor Firefox CSS bug with the demo
- NPM version
- Deprecated
hidenClass
option. This was a spelling mistake and has been deprecated. If you have used in from version < 1.0.28 thenhiddenClass
is now equal tohidenClass
- Compiled assets and updated readme
- Updated default transition to be more specific
- Improving SCSS comment
- Updated rollup so default example styles are copied by rollup
- NPM version
- Dependancies
- Updated essential SCSS/CSS. Renamed default hidden class. Removed some old unnecessary css.
- Updated example SCSS
- Ignored .sass-cache
- Compiled assets
- And this time updated
.babelrc
's preset
- Bable setup so it follows the latest standard as well as all dependencies. This should fix Issue #4
- Adding
pre-pubish
npm script. This is a safty net to stop issues with.esm
file that thenpm example
script was causing before publishing the plugin
- Fixing typo in
package.json
for module - Error with
npm run example
from inserting code don't want intodist/northern-badger.esm.js
- Added
rollup-plugin-copy
to copy style files
- Fixed link to demo site in Readme
- NPM version
- Added rol=“region” to accordion panel
- Added rol=“presentation” to accordion
- Updated README
- Compiled assets
- Moved setAttributes method up
- Importing array.from polyfill by default
- Updated copy with new file size!
- Tweaked example demo markup and styles
- Updated packages for Rollup. Now have
umd
&esm
versions transpiled
- Created .esm files
- Improving readme
- Fixed IE11 bug with object assign
- Babel plugins to fix IE11 bug
- Updated README.md with download info
- Updated transitionEnd JS to ensure that
Object.defineProperty
is writable
- Updated issue template
- Issue #1: Conflict with jQuery as raised here. After some investigation I found this thread - I updated the “transitionEnd” functions. This appears to have fixed the issue.
- Main
dist/badger-accordion.js
is now not minifed and added a minifed version indist
directory.
rollup.config.js
so that srcmaps aren't included with complied JS files.
- Just added this change log. Wont detail whats happened until now. Released the plugin and updated a bunch of things.