fireworks-js

🎆 A simple fireworks library! Ready to use components available for React, Vue 3, Svelte, Angular, Preact, Solid, and Web Components.

MIT License

Downloads
170K
Stars
1.1K
Committers
11

Bot releases are hidden (Show)

fireworks-js - v2.2.0

Published by crashmax-dev about 2 years ago

fireworks-js - v2.1.0

Published by crashmax-dev about 2 years ago

What's Changed

Full Changelog: https://github.com/crashmax-dev/fireworks-js/compare/v2.0.1...v2.1.0

fireworks-js - v2.0.1

Published by crashmax-dev about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/crashmax-dev/fireworks-js/compare/v2.0.0...v2.0.1

fireworks-js - v2.0.0

Published by crashmax-dev over 2 years ago

fireworks-js v2

Breaking Changes

Core

Options

brightness: {
  min: 50,
  max: 80,
-  decay: {
-    min: 0.015,
-    max: 0.03
-  }
},
+decay: {
+  min: 0.015,
+  max: 0.03
+}

API

const fireworks = new Fireworks(container)
- fireworks.setSize()
+ fireworks.updateSize()

- fireworks.setOptions()
+ fireworks.updateOptions()

- fireworks.setBoundaries()
+ fireworks.updateBoundaries()

React component

- import { Fireworks } from 'fireworks-js/dist/react'
+ import { Fireworks } from '@fireworks-js/react'

What's Changed

Packages

Full Changelog: https://github.com/crashmax-dev/fireworks-js/compare/v1.4.1...v2.0.0

fireworks-js - v1.4.1

Published by crashmax-dev over 2 years ago

What's Changed

Full Changelog: https://github.com/crashmax-dev/fireworks-js/compare/v1.4.0...v1.4.1

fireworks-js - v1.4.0

Published by crashmax-dev over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/crashmax-dev/fireworks-js/compare/v1.3.5...v1.4.0