Skip to content

Releases: tomhazledine/picobel

V3

01 Feb 12:54
Compare
Choose a tag to compare
  • Changes to class names on generated markup (breaking! but better 👍 ).
  • Configure which elements to include (play button, volume slider, etc.) with the new components option.
  • Optional context option to allow targeted application of Picobel (a.k.a. only run Picobel on audio tags within a defined parent DOM node)
  • Improved a11y for pre-made themes (focus visibility and input labels)

Housekeeping

08 Jan 16:10
Compare
Choose a tag to compare
  • Switches js transpilation and bundling from webpack to esbuild
  • Switches from scss to vanilla css
  • Switches build checks from Travic CI to GitHub Actions
  • Fixes default export (so will now work correctly as-per the documentation when installing from npm)
  • Fixes a bug where nodes would hang in "loading" state indefinitely

Converted to ES6

11 Jun 14:00
Compare
Choose a tag to compare
  • Source code moved to /src - running npm run build now compiles the ES6 modules into production bundle at /esm and a Common JS version is added to /cjs.
  • Jest has been added for running tests. Test files live in the /tests directory, and match the main module files: for example, the /src/helpers.js file has a corresponding test file called /tests/helpers.tests.js
  • Webpack has been added to handle the compilation/transpilation of the module-code into single production-ready vanilla JS files.

Fixing support

30 May 15:26
Compare
Choose a tag to compare
  • Browser support extend back to "last 2 versions".
  • Recent changes added to the legacy files.

>60mins time support

30 May 14:53
Compare
Choose a tag to compare

The time displays (.songPlayTimer and .songDuration) now show correct values for durations greater than 60 minutes.

Published to NPM

29 May 14:27
Compare
Choose a tag to compare

Picobel is now available through NPM: npmjs.com/package/picobel

  • ESM (ECMAScript module) version now the canonical Picobel: /esm/picobel.js.
  • CJS (Common JS) version included for backwards compatibility. Not stored in repo, but created on upload to NPM registry with prepublishOnly script.
  • "regular" version (for including by linking to a script file) maintained for posterity: /picobel.legacy.js

New installation process is documented in the /README.md

Rebranded as Picobel

09 Feb 19:30
Compare
Choose a tag to compare
  • Cleaned up the docs.
  • Removed dev. code from the repo.
  • Added screenshots
  • More detail on how to install and initialise.