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

@lightningjs/blits

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lightningjs/blits - npm Package Versions

michielvandergeest
published 0.7.4 •

Changelog

Source

v0.7.4

28 feb 2024

  • Fixed dependency for on the fly MSDF font generation
michielvandergeest
published 0.7.3 •

Changelog

Source

v0.7.3

28 feb 2024

  • Added functionality that forces focus hook to fire when parent receives focus from child
  • Improved destroy sequence of nodes to be disposed
  • Fixed issue with tracking reactive objects multiple times (potential max call stack error)
  • Added on the fly MSDF font generation from a .ttf file placed in publics/fonts
  • Added support for pre-compilation for files with more than 1 Blits component
  • Fixed transitions on scale attribute when passed an object with x and y values
michielvandergeest
published 0.7.2 •

Changelog

Source

v0.7.2

23 feb 2024

  • Added small fix to support for (re)assigning an array used in a for-loop
  • Added option to enable the Lightning inspector in launch setting (inspector: true/false)
michielvandergeest
published 0.7.1 •

Changelog

Source

v0.7.1

22 feb 2024

  • Fixed clean up of children nodes when routing to a new view
  • Fixed test cases for code generator (100% coverage)
  • Added support for colorizing sprites
  • Removed before setup and setup lifecycle events and optimized lifecycle instance in components
  • Added support for (re)assigning an array used in a for-loop
  • Refactored delay of transitions (using the now available built-in delay in the renderer)
  • Added preliminary support for frameTick hook
  • Upgraded to latest version of the renderer (0.7.4)
michielvandergeest
published 0.7.0 •

Changelog

Source

v0.7.0

20 feb 2024

  • Added support for dynamic components through the is-attribute (<Component is="Poster" /> or <Component is="$dynamicComponent" />)
  • Added functionality to pass extra data / props when navigating to a new route ( breaking change in signature of router.to() method - previously: router.to(path, options), now: router.to(path, data, options))
  • Added configuration option to set the canvas color (aka clear color)
michielvandergeest
published 0.6.13 •

Changelog

Source

v0.6.13

16 feb 2024

  • Upgraded to 0.7.2 of the renderer
  • Introduced new maxheight attribute (besided the existing maxlines attribute) for the <Text /> component
  • Fixed issue with order of lifecycle event emits
  • Fixed logic to not unfoces a parent when it passes focus to a child
  • Removed temporary fix for renderer issue #123
michielvandergeest
published 0.6.12 •

Changelog

Source

v0.6.12

9 feb 2024

  • Added type hinting for this.$clearInterval and this.$clearTimeout
  • Fixed issue with .gitignore in app create flow
  • Added support for dynamic route parts in the router (i.e /tv/:series/episodes/:episode)
michielvandergeest
published 0.6.11 •

Changelog

Source

v0.6.11

7 feb 2024

  • Enabled the use of type as a component prop or state variable
  • Removed setting focus to AppComponent on back key press in RouterView
  • Fixed broken app create flow caused by missing dev dependencies in npx command (temporary fix)
michielvandergeest
published 0.6.10 •

Changelog

Source

v0.6.10

2 feb 2024

  • Added FPS counter from Example App as a built-in Blits component (available as <FPScounter />)
  • Added precompilation to all built-in Blits components for increased performance
  • Updated flow to create a new App project with an interactive prompt of questions (npx @lightningjs/blits@latest)
  • Upgraded to latest version of the Lightning 3 renderer (0.7.1)
michielvandergeest
published 0.6.9 •

Changelog

Source

v0.6.9

31 jan 2024

  • Fixed single quote escaping for all browsers (removing sometimes unsupported negative lookahead)
  • Fixed issue with focus when navigating back to a page that is kept in history