@lightningjs/blits
Advanced tools
+16
-0
| # Changelog | ||
| ## v2.0.0 | ||
| _20 mar 2026_ | ||
| **Blits v2 as part of the Lightning 3.1 release** | ||
| - Upgraded to Lightning renderer v3 | ||
| - Prefixed built-in variables with `$` (i.e. `hasFocus` => `$hasFocus`) | ||
| - Changed array based props to object based props | ||
| - Removed several deprecated methods and variables (`focus`, `select`, `trigger`, `wordwrap`, `width`, `height`) | ||
| - Removed `effects` attribute and replaced for `border`, `rounded` and `shadow` | ||
| - Changed handling of props with the same name as know Element attributes | ||
| - Removed MSDF font generator as a blits dependency | ||
| - Updated key mapping to rely only on `keyCode` | ||
| ## v1.51.0 | ||
@@ -4,0 +20,0 @@ |
+2
-2
| { | ||
| "name": "@lightningjs/blits", | ||
| "version": "2.0.0-beta.11", | ||
| "version": "2.0.0", | ||
| "description": "Blits: The Lightning 3 App Development Framework", | ||
@@ -78,3 +78,3 @@ "bin": "bin/index.js", | ||
| "dependencies": { | ||
| "@lightningjs/renderer": "3.0.0-beta24", | ||
| "@lightningjs/renderer": "^3.0.0", | ||
| "magic-string": "^0.30.21" | ||
@@ -81,0 +81,0 @@ }, |
@@ -81,3 +81,3 @@ /* | ||
| const key = keyMap[e.key] || keyMap[e.keyCode] || e.key || e.keyCode | ||
| const key = keyMap[e.keyCode] || e.keyCode | ||
| const sameKey = lastInputKey === key | ||
@@ -84,0 +84,0 @@ lastInputKey = key |
@@ -30,5 +30,3 @@ /* | ||
| 'w', | ||
| 'width', | ||
| 'h', | ||
| 'height', | ||
| 'x', | ||
@@ -35,0 +33,0 @@ 'y', |
@@ -32,5 +32,3 @@ /* | ||
| 'w', | ||
| 'width', | ||
| 'h', | ||
| 'height', | ||
| 'x', | ||
@@ -37,0 +35,0 @@ 'y', |
@@ -39,5 +39,3 @@ /* | ||
| 'w', | ||
| 'width', | ||
| 'h', | ||
| 'height', | ||
| 'x', | ||
@@ -44,0 +42,0 @@ 'y', |
@@ -32,5 +32,3 @@ /* | ||
| 'w', | ||
| 'width', | ||
| 'h', | ||
| 'height', | ||
| 'x', | ||
@@ -37,0 +35,0 @@ 'y', |
@@ -225,5 +225,2 @@ /* | ||
| }, | ||
| set width(v) { | ||
| this.w = v | ||
| }, | ||
| set h(v) { | ||
@@ -240,5 +237,2 @@ const parsed = parsePercentage.call(this, v, 'h') | ||
| }, | ||
| set height(v) { | ||
| this.h = v | ||
| }, | ||
| set x(v) { | ||
@@ -245,0 +239,0 @@ this.props['x'] = parsePercentage.call(this, v, 'w') |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
633609
0.05%1
-50%13292
-0.11%+ Added
- Removed
Updated