@lightningjs/blits 1.30.2 → 1.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1029 -1019
- package/LICENSE +202 -202
- package/NOTICE +12 -12
- package/README.md +33 -33
- package/bin/index.js +8 -8
- package/blits.d.ts +6 -6
- package/index.d.ts +1099 -1099
- package/index.js +28 -28
- package/package.json +57 -56
- package/public/assets/fps_sprite.base64.js +1 -1
- package/scripts/postpublish.js +59 -59
- package/scripts/prepublishOnly.js +84 -84
- package/scripts/prepush.js +78 -78
- package/src/announcer/announcer.js +162 -162
- package/src/announcer/speechSynthesis.js +107 -107
- package/src/application.js +100 -100
- package/src/component/base/announcer.js +27 -27
- package/src/component/base/events.js +69 -69
- package/src/component/base/index.js +33 -33
- package/src/component/base/methods.js +244 -244
- package/src/component/base/router.js +41 -41
- package/src/component/base/timeouts_intervals.js +99 -99
- package/src/component/base/utils.js +72 -72
- package/src/component/setup/computed.js +48 -48
- package/src/component/setup/index.js +62 -62
- package/src/component/setup/input.js +30 -30
- package/src/component/setup/methods.js +37 -37
- package/src/component/setup/props.js +62 -62
- package/src/component/setup/routes.js +42 -42
- package/src/component/setup/state.js +59 -59
- package/src/component/setup/watch.js +35 -35
- package/src/component.js +437 -437
- package/src/components/Circle.js +73 -73
- package/src/components/FPScounter.js +1510 -1510
- package/src/components/RouterView.js +81 -81
- package/src/components/Sprite.js +94 -94
- package/src/components/index.js +28 -28
- package/src/constants.js +21 -21
- package/src/engine.js +1 -1
- package/src/engines/L3/element.js +744 -744
- package/src/engines/L3/fontLoader.js +38 -38
- package/src/engines/L3/index.js +7 -7
- package/src/engines/L3/launch.js +123 -123
- package/src/engines/L3/shaderLoader.js +12 -12
- package/src/engines/index.js +1 -1
- package/src/focus.js +90 -90
- package/src/helpers/deepEqualArray.js +50 -50
- package/src/helpers/fetchJson.js +34 -34
- package/src/helpers/sequence.js +26 -26
- package/src/launch.js +123 -123
- package/src/lib/blitsfileconverter/blitsfileconverter.js +52 -52
- package/src/lib/codegenerator/generator.js +788 -788
- package/src/lib/colors/colors.js +92 -92
- package/src/lib/colors/htmlColors.js +168 -168
- package/src/lib/componentId.js +49 -49
- package/src/lib/eventListeners.js +123 -123
- package/src/lib/hooks.js +59 -59
- package/src/lib/lifecycle.js +85 -85
- package/src/lib/log.js +117 -117
- package/src/lib/precompiler/precompiler.js +73 -73
- package/src/lib/reactivity/effect.js +93 -93
- package/src/lib/reactivity/reactive.js +208 -208
- package/src/lib/reactivityguard/computedprops.js +218 -218
- package/src/lib/symbols.js +108 -108
- package/src/lib/templateparser/parser.js +386 -386
- package/src/lib/utils.js +27 -27
- package/src/plugin.js +27 -27
- package/src/plugins/appstate.js +26 -26
- package/src/plugins/index.js +20 -20
- package/src/plugins/language.js +152 -152
- package/src/plugins/log.js +25 -25
- package/src/plugins/theme.js +94 -94
- package/src/router/router.js +516 -514
- package/src/router/transitions/fadeIn.js +27 -27
- package/src/router/transitions/fadeInOut.js +33 -33
- package/src/router/transitions/index.js +21 -21
- package/src/router/transitions/slideIn.js +28 -28
- package/src/router/transitions/slideInOut.js +33 -33
- package/src/settings.js +40 -40
- package/vite/blitsFileConverter.js +67 -67
- package/vite/index.js +28 -28
- package/vite/msdfGenerator.js +269 -269
- package/vite/preCompiler.js +47 -42
- package/vite/reactivityGuard.js +45 -45
- package/vscode/data/template-attributes.json +589 -589
- package/.editorconfig +0 -7
- package/.eslintignore +0 -1
- package/.eslintrc.cjs +0 -65
- package/.github/workflows/comment-lint-results.yml +0 -125
- package/.github/workflows/comment-test-results.yml +0 -109
- package/.github/workflows/deploy-docs.yml +0 -27
- package/.github/workflows/run-blits-tests.yml +0 -142
- package/.github/workflows/run-lint.yml +0 -128
- package/.husky/pre-commit +0 -1
- package/.husky/pre-push +0 -1
- package/.vscode/extensions.json +0 -7
- package/.vscode/settings.json +0 -9
- package/COPYING +0 -1
- package/banner.png +0 -0
- package/docs/.nojekyll +0 -0
- package/docs/README.md +0 -19
- package/docs/_sidebar.md +0 -37
- package/docs/built-in/directives.md +0 -50
- package/docs/built-in/for-loop.md +0 -204
- package/docs/built-in/layout.md +0 -168
- package/docs/components/component_state.md +0 -90
- package/docs/components/computed_properties.md +0 -45
- package/docs/components/lifecycle_events.md +0 -42
- package/docs/components/methods.md +0 -45
- package/docs/components/props.md +0 -56
- package/docs/components/user_input.md +0 -186
- package/docs/components/utility_methods.md +0 -320
- package/docs/components/watchers.md +0 -34
- package/docs/essentials/application_root.md +0 -19
- package/docs/essentials/components.md +0 -68
- package/docs/essentials/displaying_images.md +0 -67
- package/docs/essentials/displaying_text.md +0 -135
- package/docs/essentials/element_attributes.md +0 -195
- package/docs/essentials/settings.md +0 -117
- package/docs/essentials/template_syntax.md +0 -83
- package/docs/getting_started/file_structure.md +0 -58
- package/docs/getting_started/getting_started.md +0 -45
- package/docs/getting_started/intro.md +0 -20
- package/docs/index.html +0 -47
- package/docs/performance/lazy-loading.md +0 -161
- package/docs/plugins/global_app_state.md +0 -98
- package/docs/plugins/language.md +0 -172
- package/docs/plugins/text-to-speech-announcer.md +0 -120
- package/docs/plugins/theme.md +0 -176
- package/docs/router/basics.md +0 -175
- package/docs/router/hooks.md +0 -70
- package/docs/router/transitions.md +0 -146
- package/docs/sidebar.json +0 -171
- package/docs/transitions_animations/transitions.md +0 -150
- package/jsconfig.json +0 -12
- package/src/component/setup/props.test.js +0 -238
- package/src/component.test.js +0 -388
- package/src/components/Circle.orig.js +0 -31
- package/src/components/FPScounter.orig.js +0 -121
- package/src/components/RouterView.orig.js +0 -54
- package/src/components/Sprite.orig.js +0 -58
- package/src/components/index.orig.js +0 -28
- package/src/engines/L3/element.test.js +0 -579
- package/src/helpers/deepEqualArray.test.js +0 -127
- package/src/lib/codegenerator/generator.test.js +0 -3801
- package/src/lib/colors/colors.test.js +0 -290
- package/src/lib/componentId.test.js +0 -84
- package/src/lib/eventListeners.test.js +0 -236
- package/src/lib/reactivity/effect.test.js +0 -35
- package/src/lib/reactivity/reactive.test.js +0 -27
- package/src/lib/templateparser/parser.test.js +0 -1411
- package/src/router/router.test.js +0 -473
package/CHANGELOG.md
CHANGED
|
@@ -1,1019 +1,1029 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## v1.
|
|
6
|
-
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
- Added
|
|
32
|
-
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
-
|
|
85
|
-
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
-
|
|
93
|
-
-
|
|
94
|
-
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
- Fixed
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
- Fixed
|
|
153
|
-
- Fixed
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
- Added
|
|
165
|
-
- Added
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
-
|
|
182
|
-
|
|
183
|
-
## v1.
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
- Added
|
|
188
|
-
-
|
|
189
|
-
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
-
|
|
198
|
-
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
-
|
|
206
|
-
- Fixed
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
-
|
|
215
|
-
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
-
|
|
301
|
-
- Added
|
|
302
|
-
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
- Fixed
|
|
311
|
-
- Added
|
|
312
|
-
- Fixed
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
-
|
|
322
|
-
-
|
|
323
|
-
- Fixed issue with
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
-
|
|
332
|
-
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
- Added
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
-
|
|
350
|
-
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
- Fixed
|
|
360
|
-
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
-
|
|
404
|
-
- Upgraded renderer to 2.
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
- Fixed
|
|
452
|
-
- Fixed
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
-
|
|
503
|
-
-
|
|
504
|
-
-
|
|
505
|
-
-
|
|
506
|
-
|
|
507
|
-
## v1.
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
-
|
|
512
|
-
-
|
|
513
|
-
- Removed
|
|
514
|
-
-
|
|
515
|
-
-
|
|
516
|
-
|
|
517
|
-
## v1.
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
-
|
|
522
|
-
-
|
|
523
|
-
-
|
|
524
|
-
-
|
|
525
|
-
- Added
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
-
|
|
535
|
-
-
|
|
536
|
-
-
|
|
537
|
-
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
-
|
|
561
|
-
-
|
|
562
|
-
-
|
|
563
|
-
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
-
|
|
571
|
-
-
|
|
572
|
-
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
-
|
|
618
|
-
|
|
619
|
-
## v0.9.
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
-
|
|
624
|
-
-
|
|
625
|
-
-
|
|
626
|
-
-
|
|
627
|
-
-
|
|
628
|
-
|
|
629
|
-
## v0.
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
- Added
|
|
634
|
-
-
|
|
635
|
-
-
|
|
636
|
-
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
-
|
|
667
|
-
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
-
|
|
677
|
-
- Added
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
- Added support for
|
|
688
|
-
-
|
|
689
|
-
- Added
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
-
|
|
698
|
-
-
|
|
699
|
-
-
|
|
700
|
-
|
|
701
|
-
## v0.6.
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
-
|
|
706
|
-
-
|
|
707
|
-
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
-
|
|
724
|
-
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
-
|
|
748
|
-
|
|
749
|
-
## v0.6.
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
- Added
|
|
754
|
-
-
|
|
755
|
-
- Added
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
-
|
|
812
|
-
- Added
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
-
|
|
897
|
-
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
-
|
|
908
|
-
- Added
|
|
909
|
-
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
-
|
|
918
|
-
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
- Fixed
|
|
926
|
-
-
|
|
927
|
-
-
|
|
928
|
-
-
|
|
929
|
-
|
|
930
|
-
## v0.3.
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
_27 jun 2025_
|
|
4
|
+
|
|
5
|
+
## v1.31.0
|
|
6
|
+
|
|
7
|
+
- Added dereferencing of previousFocus pointer to ensure memory release
|
|
8
|
+
- Added npm ignore to reduce NPM package size
|
|
9
|
+
- Added support for precompilation of `.mjs` files
|
|
10
|
+
- Upgraded renderer to v2.14.3
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
_25 jun 2025_
|
|
14
|
+
|
|
15
|
+
## v1.30.2
|
|
16
|
+
|
|
17
|
+
- Bumped renderer to v2.14.2
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
_25 jun 2025_
|
|
21
|
+
|
|
22
|
+
## v1.30.1
|
|
23
|
+
|
|
24
|
+
- Bumped renderer to v2.14.1
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
_24 jun 2025_
|
|
28
|
+
|
|
29
|
+
## v1.30.0
|
|
30
|
+
|
|
31
|
+
- Added documentation on lazy loading performance
|
|
32
|
+
- Bumped renderer to v2.14.0 (simplified texture throttling)
|
|
33
|
+
- Fixed bug in announcer when utterance is cancelled
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
_12 jun 2025_
|
|
37
|
+
|
|
38
|
+
## v1.29.5
|
|
39
|
+
|
|
40
|
+
- Simplified timeout and interval cleanup
|
|
41
|
+
- Added explicit reset of component state upon destruction
|
|
42
|
+
- Fixed `exit` lifecycle hook
|
|
43
|
+
|
|
44
|
+
_06 jun 2025_
|
|
45
|
+
|
|
46
|
+
## v1.29.4
|
|
47
|
+
|
|
48
|
+
- Removed excessive shader creation for effects
|
|
49
|
+
- Added explicit cleanup of effects in for loop
|
|
50
|
+
- Improved element destruction
|
|
51
|
+
|
|
52
|
+
_03 jun 2025_
|
|
53
|
+
|
|
54
|
+
## v1.29.3
|
|
55
|
+
|
|
56
|
+
- Added first batch internal JS doc types
|
|
57
|
+
- Added documentation on Launch settings
|
|
58
|
+
- Fixed issue with reactivity effects being shared (and retained) on the prototype
|
|
59
|
+
|
|
60
|
+
_28 may 2025_
|
|
61
|
+
|
|
62
|
+
## v1.29.2
|
|
63
|
+
|
|
64
|
+
- Added end of life flag to prevent timers, intervals and listeners to be registered after component destroy
|
|
65
|
+
|
|
66
|
+
_22 may 2025_
|
|
67
|
+
|
|
68
|
+
## v1.29.1
|
|
69
|
+
|
|
70
|
+
- Fixed issue with async and lifecycle ready error
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
_22 may 2025_
|
|
74
|
+
|
|
75
|
+
## v1.29.0
|
|
76
|
+
|
|
77
|
+
- Fixed memory leaks
|
|
78
|
+
- Added componentId in warning when modifying props directly for easier debugging
|
|
79
|
+
|
|
80
|
+
_15 apr 2025_
|
|
81
|
+
|
|
82
|
+
## v1.28.0
|
|
83
|
+
|
|
84
|
+
- Added graceful handling of announcer when speechSynthesis API is not available
|
|
85
|
+
- Renamed `beforeAll` method on router to `beforeEach` (as specified in the type definitions)
|
|
86
|
+
- Fixed detection of correct PR to comment for github workflows
|
|
87
|
+
|
|
88
|
+
_15 apr 2025_
|
|
89
|
+
|
|
90
|
+
## v1.27.1
|
|
91
|
+
|
|
92
|
+
- Fixed issue with global watcher on router state not being cleared out
|
|
93
|
+
- Minor performance updates
|
|
94
|
+
- Fixed issue with retrieving correct renderer version for logging
|
|
95
|
+
- Fixed issue with nested layouts not properly updating parent layout
|
|
96
|
+
|
|
97
|
+
_11 apr 2025_
|
|
98
|
+
|
|
99
|
+
## v1.27.0
|
|
100
|
+
|
|
101
|
+
- Added pre push linting check
|
|
102
|
+
- Updated Github workflow for tests
|
|
103
|
+
- Added noop announcement for when announcer is disabled
|
|
104
|
+
- Add ability to interrupt specific announcement messages
|
|
105
|
+
|
|
106
|
+
_09 apr 2025_
|
|
107
|
+
|
|
108
|
+
## v1.26.1 / v1.26.2
|
|
109
|
+
|
|
110
|
+
- Fixed issue with announcer queue
|
|
111
|
+
|
|
112
|
+
_08 apr 2025_
|
|
113
|
+
|
|
114
|
+
## v1.26.0
|
|
115
|
+
|
|
116
|
+
- Announcer updates: queue, cancel individual messages, promise based chaining
|
|
117
|
+
- Fixed naming collision for `config`-key on component instance
|
|
118
|
+
- Fixed logging correct renderer version
|
|
119
|
+
|
|
120
|
+
## v1.25.1
|
|
121
|
+
|
|
122
|
+
_01 apr 2025_
|
|
123
|
+
|
|
124
|
+
- Fixed issue with page rendering after being destroyed when data is loaded by an async request
|
|
125
|
+
|
|
126
|
+
## v1.25.0
|
|
127
|
+
|
|
128
|
+
_28 mar 2025_
|
|
129
|
+
|
|
130
|
+
- Fixed issue when same effect type is used in `effects` attribute
|
|
131
|
+
- Added ability to enable / disable announcer via launch setting as well as runtime
|
|
132
|
+
|
|
133
|
+
## v1.24.0
|
|
134
|
+
|
|
135
|
+
_26 mar 2025_
|
|
136
|
+
|
|
137
|
+
- Added additional tests for router
|
|
138
|
+
- Fixed issues with `:show` attribute not working properly
|
|
139
|
+
- Fixed issue with strings starting with a number being casted to a number
|
|
140
|
+
- Fixed named slots functionality
|
|
141
|
+
|
|
142
|
+
## v1.23.2
|
|
143
|
+
|
|
144
|
+
_18 mar 2025_
|
|
145
|
+
|
|
146
|
+
- Fixed issue with keepAlive pages remaining in cache after navigating back
|
|
147
|
+
|
|
148
|
+
## v1.23.1
|
|
149
|
+
|
|
150
|
+
_17 mar 2025_
|
|
151
|
+
|
|
152
|
+
- Fixed issue in vite plugin that ensures reacitivity setup in computed props when code block has a comment
|
|
153
|
+
- Fixed warnings for non-declared variables in template when they refer to plugins (i.e. `$$apState.foo`)
|
|
154
|
+
|
|
155
|
+
## v1.23.0
|
|
156
|
+
|
|
157
|
+
_13 mar 2025_
|
|
158
|
+
|
|
159
|
+
- Added support for beforeEach router hook
|
|
160
|
+
- Added warning when variables used in the template are not declared on the component scope (only during dev)
|
|
161
|
+
- Added vite plugin that ensures reactivity is setup properly for all state variables in a computed prop
|
|
162
|
+
- Fixed keepAlive functionality in the router on back navigation
|
|
163
|
+
- Fixed various test cases
|
|
164
|
+
- Added useful base methods to the this context of plugins
|
|
165
|
+
- Added workflow to execute test cases for PRs
|
|
166
|
+
- Updated L3 renderer dependency to v2.13.2
|
|
167
|
+
- Fixed various typos in the documentation
|
|
168
|
+
- Fixed reactivity issue when value is set to `null`
|
|
169
|
+
|
|
170
|
+
## v1.22.0
|
|
171
|
+
|
|
172
|
+
_3 mar 2025_
|
|
173
|
+
|
|
174
|
+
- Added default value for `createImageBitmapSupport` to `auto`
|
|
175
|
+
- Added advanced launch settings
|
|
176
|
+
|
|
177
|
+
## v1.21.1
|
|
178
|
+
|
|
179
|
+
_28 feb 2025_
|
|
180
|
+
|
|
181
|
+
- Changed gpuMemory launch settings to be optional in type definitions
|
|
182
|
+
|
|
183
|
+
## v1.21.0
|
|
184
|
+
|
|
185
|
+
_27 feb 2025_
|
|
186
|
+
|
|
187
|
+
- Added functionality for keeping query params when navigating back in the router
|
|
188
|
+
- Exposed more info in reactive router state
|
|
189
|
+
- Added `range`-attribute to for-loop
|
|
190
|
+
- Fixed issue when setting `alpha` to truthy or false values
|
|
191
|
+
- Upgraded to renderer v2.13.0
|
|
192
|
+
|
|
193
|
+
## v1.20.1
|
|
194
|
+
|
|
195
|
+
_14 feb 2025_
|
|
196
|
+
|
|
197
|
+
- Added error message when root element in template contains a `:for`-attribute
|
|
198
|
+
- Added workaround fix for shader caching issue
|
|
199
|
+
- Upgraded to renderer v2.12.1
|
|
200
|
+
|
|
201
|
+
## v1.20.0
|
|
202
|
+
|
|
203
|
+
_12 feb 2025_
|
|
204
|
+
|
|
205
|
+
- Improved attribute definitions used for autocompletion in VScode extension
|
|
206
|
+
- Fixed calculation of `align-items` in Layout component
|
|
207
|
+
- Fixed issue with sorting reactive arrays
|
|
208
|
+
- Upgraded to renderer v2.12.0
|
|
209
|
+
|
|
210
|
+
## v1.19.1
|
|
211
|
+
|
|
212
|
+
_3 feb 2025_
|
|
213
|
+
|
|
214
|
+
- Removed left-over console.log
|
|
215
|
+
- Upgraded to renderer v2.11.1
|
|
216
|
+
- Fixed issues with wrongly pre-compiling `template` key of non-blits related objects
|
|
217
|
+
|
|
218
|
+
## v1.19.0
|
|
219
|
+
|
|
220
|
+
_31 jan 2025_
|
|
221
|
+
|
|
222
|
+
- Fixed `show`-attribute when an `alpha`-attribute is also present
|
|
223
|
+
- Added `inspector-data`-attribute to help with automated testing based on the Lightning inspector
|
|
224
|
+
- Added reactivity to Route changes (`this.$router.state.path` and `this.$router.state.navigating`)
|
|
225
|
+
- Added `renderQuality` launch setting
|
|
226
|
+
|
|
227
|
+
## v1.18.1
|
|
228
|
+
|
|
229
|
+
_27 jan 2025_
|
|
230
|
+
|
|
231
|
+
- Fixed issue with navigating back to a router page with `keepalive=true`
|
|
232
|
+
|
|
233
|
+
## v1.18.0
|
|
234
|
+
|
|
235
|
+
_27 jan 2025_
|
|
236
|
+
|
|
237
|
+
- Added backtracking functionality to the Router
|
|
238
|
+
- Upgraded to latest version of the renderer (2.10.0)
|
|
239
|
+
- Changed setting `textureProcessingLimit` to `textureProcessingTimeLimit`
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
## v1.17.1
|
|
243
|
+
|
|
244
|
+
_24 jan 2025_
|
|
245
|
+
|
|
246
|
+
- Fixed issue in sprite
|
|
247
|
+
|
|
248
|
+
## v1.17.0
|
|
249
|
+
|
|
250
|
+
_24 jan 2025_
|
|
251
|
+
|
|
252
|
+
- Deprecated `wordwrap`-attribute on Text component in favour of `maxwidth`
|
|
253
|
+
- Added documentation about text overflow
|
|
254
|
+
- Upgraded renderer to v2.9.1 and added `canvas` and `textureProcessingLimit` launch options
|
|
255
|
+
|
|
256
|
+
## v1.16.2
|
|
257
|
+
|
|
258
|
+
_21 jan 2025_
|
|
259
|
+
|
|
260
|
+
- Upgraded to latest version of MSDF font generator, with fix for missing presets
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
## v1.16.1
|
|
264
|
+
|
|
265
|
+
_17 jan 2025_
|
|
266
|
+
|
|
267
|
+
- Fixed issue in certain browsers caused by route query params functionality (and optimized for performance)
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
## v1.16.0
|
|
271
|
+
|
|
272
|
+
_16 jan 2025_
|
|
273
|
+
|
|
274
|
+
- Fixed issue with component scope in Slots
|
|
275
|
+
- Fixed issue with sprites (regression since v1.14.0)
|
|
276
|
+
- Changed reactive state to only make plain objects reactive, and return custom Classes, Blits components, Renderer texture etc in raw form
|
|
277
|
+
|
|
278
|
+
## v1.15.0
|
|
279
|
+
|
|
280
|
+
_14 jan 2025_
|
|
281
|
+
|
|
282
|
+
- Added `placement`-attribute for easily aligning Elements to predefined locations (i.e. `center`, `right`, `middle`, `bottom`)
|
|
283
|
+
- Removed automatic injection of `index` variable into forloop-scope to prevent unexpected naming collisions
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
## v1.14.1
|
|
287
|
+
|
|
288
|
+
_8 jan 2025_
|
|
289
|
+
|
|
290
|
+
- Fixed `undefined`-error with intercept method, when no input object is specified on root App component
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
## v1.14.0
|
|
294
|
+
|
|
295
|
+
_6 jan 2025_
|
|
296
|
+
|
|
297
|
+
- Added ability to deregister listeners (`this.$unlisten()`)
|
|
298
|
+
- Added autosize to images without `w` and `h` attributes
|
|
299
|
+
- Fixed cleanup of transitions and end-callbacks when Elements are destroyed
|
|
300
|
+
- Added support for reactively updating an entire object (instead of having to update each object key individually)
|
|
301
|
+
- Added `this.$size()` method to set the dimensions of a Component
|
|
302
|
+
- Added `intercept` input method to handle key presses before they reach the currently focused Component
|
|
303
|
+
- Added support for query-parameters in routes (in addition to regular query params)
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
## v1.13.1
|
|
307
|
+
|
|
308
|
+
_9 dec 2024_
|
|
309
|
+
|
|
310
|
+
- Fixed setting of correct color when turning off rtt on an element
|
|
311
|
+
- Added check for txManager in reactivity
|
|
312
|
+
- Fixed reference to correct `this`-scope in router before hook
|
|
313
|
+
|
|
314
|
+
## v1.13.0
|
|
315
|
+
|
|
316
|
+
_5 dec 2024_
|
|
317
|
+
|
|
318
|
+
- Added `padding` attribute to Layout component
|
|
319
|
+
- Added logging of Blits and Renderer version used in App
|
|
320
|
+
- Fixed show attribute for elements without predefined width and height
|
|
321
|
+
- Added automatic proxy fallback (when no browser support) for reactivity
|
|
322
|
+
- Fixed and added tests related to Blits Element
|
|
323
|
+
- Fixed memory issue with effects used in for-loop
|
|
324
|
+
- Fixed memory issue when changing props in dynamic shader effects
|
|
325
|
+
- Updated renderer to v2.8.0
|
|
326
|
+
|
|
327
|
+
## v1.12.0
|
|
328
|
+
|
|
329
|
+
_26 nov 2024_
|
|
330
|
+
|
|
331
|
+
- Fixed `$hasFocus` state variable not being set when navigating back to a page with `keepAlive` enabled
|
|
332
|
+
- Added `@updated`-event to Layout component
|
|
333
|
+
- Fixed issue with simple config for Theme plugin
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
## v1.11.0
|
|
337
|
+
|
|
338
|
+
_19 nov 2024_
|
|
339
|
+
|
|
340
|
+
- Added support for splitting up translation file per language
|
|
341
|
+
- Added hasFocus property to ComponentBase type
|
|
342
|
+
- Fixed issue with alpha during router transitions
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
## v1.10.1
|
|
346
|
+
|
|
347
|
+
_15 nov 2024_
|
|
348
|
+
|
|
349
|
+
- Upgraded to renderer 2.7.1
|
|
350
|
+
- Added documentation on Router
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
## v1.10.0
|
|
354
|
+
|
|
355
|
+
_8 nov 2024_
|
|
356
|
+
|
|
357
|
+
- Fixed issue with back button not bubbling to App component after last page in router history is popped
|
|
358
|
+
- Added `align-items` attribute to Layout component
|
|
359
|
+
- Fixed issue with watching nested state variables and global state
|
|
360
|
+
- Upgraded to renderer 2.6.2
|
|
361
|
+
- Fixed issue with white background for Elements with falsy src attribute
|
|
362
|
+
- Fixed issue with calling focus on component that already is focused
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
## v1.9.2
|
|
366
|
+
|
|
367
|
+
_5 nov 2024_
|
|
368
|
+
|
|
369
|
+
- Fixed Element related tests
|
|
370
|
+
- Bumped renderer to version 2.6.0
|
|
371
|
+
|
|
372
|
+
## v1.9.1
|
|
373
|
+
|
|
374
|
+
_4 nov 2024_
|
|
375
|
+
|
|
376
|
+
- Added fix for omitting gap-attribute in Layout component
|
|
377
|
+
|
|
378
|
+
## v1.9.0
|
|
379
|
+
|
|
380
|
+
_4 nov 2024_
|
|
381
|
+
|
|
382
|
+
- Added Layout component
|
|
383
|
+
|
|
384
|
+
## v1.8.3
|
|
385
|
+
|
|
386
|
+
_31 oct 2024_
|
|
387
|
+
|
|
388
|
+
- Exported TS interfaces and improved return type of before route hook
|
|
389
|
+
- Fixed test cases for codegenerator
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
## v1.8.2
|
|
393
|
+
|
|
394
|
+
_30 oct 2024_
|
|
395
|
+
|
|
396
|
+
- Fixed edge case issue with array based props not triggering reactivity
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
## v1.8.1
|
|
400
|
+
|
|
401
|
+
_29 oct 2024_
|
|
402
|
+
|
|
403
|
+
- Fixed issue with array based props not triggering reactivity
|
|
404
|
+
- Upgraded renderer to 2.5.1
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
## v1.8.0
|
|
408
|
+
|
|
409
|
+
_22 oct 2024_
|
|
410
|
+
|
|
411
|
+
- Refactored TypeScript definitions to give better autocompletion and general TS support for business logic
|
|
412
|
+
- Added option for custom characters in MSDF generated fonts
|
|
413
|
+
- Added export for symbols
|
|
414
|
+
- Upgraded renderer to 2.4.0
|
|
415
|
+
- Added transition progress event
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
## v1.7.1
|
|
419
|
+
|
|
420
|
+
_14 oct 2024_
|
|
421
|
+
|
|
422
|
+
- Fixed support for `.otf` and `.woff` fonts files in combination with MSDF generator
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
## v1.7.0
|
|
426
|
+
|
|
427
|
+
_14 oct 2024_
|
|
428
|
+
|
|
429
|
+
- Added cleanup upon component destroy of effects generated by global reactivity
|
|
430
|
+
|
|
431
|
+
## v1.6.0 / v1.6.1
|
|
432
|
+
|
|
433
|
+
_9 oct 2024_
|
|
434
|
+
|
|
435
|
+
- Abstracted app create functionality to separate package
|
|
436
|
+
- Cleaned up dependencies
|
|
437
|
+
- Fixed issue with item reference in for loop
|
|
438
|
+
- Fixed issue with looping directly over `<Text>` components
|
|
439
|
+
|
|
440
|
+
## v1.5.1
|
|
441
|
+
|
|
442
|
+
_7 oct 2024_
|
|
443
|
+
|
|
444
|
+
- Added export of symbols
|
|
445
|
+
- Various small performance improvements related to component creation
|
|
446
|
+
|
|
447
|
+
## v1.5.0
|
|
448
|
+
|
|
449
|
+
_1 oct 2024_
|
|
450
|
+
|
|
451
|
+
- Fixed issue with interrupting running / scheduled transitions with a new transition on the same prop
|
|
452
|
+
- Fixed issue with (incompatible) SDF text renderer being loaded when `renderMode` is set to canvas
|
|
453
|
+
- Added support for handling key release (i.e `keyup`) events
|
|
454
|
+
|
|
455
|
+
## v1.4.3
|
|
456
|
+
|
|
457
|
+
_26 sept 2024_
|
|
458
|
+
|
|
459
|
+
- Fixed issues with sprites in minified production build
|
|
460
|
+
- Bumped renderer to v2.2.0 (with fixes for nested alpha / show issue)
|
|
461
|
+
- Fixed reactivity in plugins not using reactivity mode setting
|
|
462
|
+
- Fixed named slots functionality
|
|
463
|
+
|
|
464
|
+
## v1.4.2
|
|
465
|
+
|
|
466
|
+
_24 sept 2024_
|
|
467
|
+
|
|
468
|
+
- Fixed timing issue with calculation of percentages
|
|
469
|
+
- Improved check to see if object is a Blits component, so it's more robust in case of code minification
|
|
470
|
+
|
|
471
|
+
## v1.4.1
|
|
472
|
+
|
|
473
|
+
_18 sept 2024_
|
|
474
|
+
|
|
475
|
+
- Fixed support for inspector, compatible with renderer 2.x changes
|
|
476
|
+
|
|
477
|
+
## v1.4.0
|
|
478
|
+
|
|
479
|
+
_16 sept 2024_
|
|
480
|
+
|
|
481
|
+
- Added support for `fit` attribute to enable resizeModes for images (cover, contain)
|
|
482
|
+
- Added priority parameter for event emitters + ability to stop propagation
|
|
483
|
+
- Added Global App State plugin
|
|
484
|
+
- Added Theme plugin
|
|
485
|
+
- Standardized built-in utility methods (i.e. focus, select, setTimeout, etc.) to all be prefixed with a `$`.
|
|
486
|
+
- Added support for triggering nested state variables with dot-notation (i.e `foo.bar.bla`)
|
|
487
|
+
- Added support for watching nested state variables (i.e `foo.bar.bla`)
|
|
488
|
+
- Fixed bug with Log plugin not picking up on `debugLevel` setting
|
|
489
|
+
- Fixed bug when using hex-colors in an effect
|
|
490
|
+
- Upgraded to latest version of the renderer (2.1.1)
|
|
491
|
+
|
|
492
|
+
## v1.3.1
|
|
493
|
+
|
|
494
|
+
_27 aug 2024_
|
|
495
|
+
|
|
496
|
+
- Moved `this.$log` functionality to a plugin, which delays the instantation and allows it to pick up launch settings (bug fix)
|
|
497
|
+
|
|
498
|
+
## v1.3.0
|
|
499
|
+
|
|
500
|
+
_19 aug 2024_
|
|
501
|
+
|
|
502
|
+
- Fixed bug in for-loop when key is not a string but a number
|
|
503
|
+
- Added `$shallow`-modifier to for-loop
|
|
504
|
+
- Added several performance optimizations
|
|
505
|
+
- Added support for dynamic arguments in object notation (i.e. `mount="{x: $x, y: $y}"`)
|
|
506
|
+
|
|
507
|
+
## v1.2.0
|
|
508
|
+
|
|
509
|
+
_5 aug 2024_
|
|
510
|
+
|
|
511
|
+
- Added plugin system for Blits
|
|
512
|
+
- Added Language plugin, modeled after L2-SDK Language plugin
|
|
513
|
+
- Removed unused built-in Image component
|
|
514
|
+
- Marked `this.trigger()`-method as deprecated in definition file
|
|
515
|
+
- Removed double assignment of `this.node` during element creation
|
|
516
|
+
|
|
517
|
+
## v1.1.0
|
|
518
|
+
|
|
519
|
+
_25 july 2024_
|
|
520
|
+
|
|
521
|
+
- Made `holdTimeout` configurable and added to launch settings
|
|
522
|
+
- Improved test coverage
|
|
523
|
+
- Removed imporChunkUrl dependency as it’s no longer needed
|
|
524
|
+
- Abstracted path from pre-compiler, to make it more reusable (in playground for example)
|
|
525
|
+
- Added `defaultFont` launch setting to boilerplate example
|
|
526
|
+
|
|
527
|
+
## v1.0.0
|
|
528
|
+
|
|
529
|
+
_15 july 2024_
|
|
530
|
+
|
|
531
|
+
- Added multiple optimizations that improve the performance
|
|
532
|
+
- Fixed mountY prop setting
|
|
533
|
+
- Added functionality for providing custom shaders
|
|
534
|
+
- Added initial support for accessing children
|
|
535
|
+
- Added first version of Layout component
|
|
536
|
+
- Improved test coverage
|
|
537
|
+
- Refactored transitions and fixed promise resolve issues
|
|
538
|
+
- Upgraded to renderer v1.0.0
|
|
539
|
+
|
|
540
|
+
## v0.10.0
|
|
541
|
+
|
|
542
|
+
_17 june 2024_
|
|
543
|
+
|
|
544
|
+
- Updated renderer to version v0.9.1
|
|
545
|
+
- Updated font generation to use the new `@lightningjs/msdf-generator`-package with required font metrics
|
|
546
|
+
- Added queue mechanism to font generation to prevent hanging process
|
|
547
|
+
- Added functionality to pass a component into the Component `:is` attribute
|
|
548
|
+
|
|
549
|
+
Please read refer to the [breaking changes](https://github.com/lightning-js/renderer/releases/tag/v0.9.0) in the
|
|
550
|
+
renderer related to MSDF fonts. When you have custom msdf fonts in your `/public` folder you may need to regenerate
|
|
551
|
+
them (or remove the files and let Blits take care of [generating for you from a `.ttf`](https://lightning-js.github.io/blits/#/essentials/displaying_text?id=using-custom-fonts))
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
## v0.9.9
|
|
555
|
+
|
|
556
|
+
_22 may 2024_
|
|
557
|
+
|
|
558
|
+
- Added support for `rtt`-attribute (Render To Texture)
|
|
559
|
+
- Refactored Component for efficiency and readability
|
|
560
|
+
- Improved type definitions
|
|
561
|
+
- Fixed error when no settings object is supplied to Launch method
|
|
562
|
+
- Fixed issue with `parent` variable being set on the global window object
|
|
563
|
+
- Improved code of firing transitions
|
|
564
|
+
- Bumped renderer to version 0.8.4
|
|
565
|
+
|
|
566
|
+
## v0.9.8
|
|
567
|
+
|
|
568
|
+
_25 apr 2024_
|
|
569
|
+
|
|
570
|
+
- Fixed issue with removing children during navigation with the router
|
|
571
|
+
- Added support for overflow (as an inversed alias of clipping)
|
|
572
|
+
- Upgraded to latest version of renderer (0.8.3)
|
|
573
|
+
- Introduced `renderMode` setting (`webgl` or `canvas`)
|
|
574
|
+
|
|
575
|
+
## v0.9.7
|
|
576
|
+
|
|
577
|
+
_15 apr 2024_
|
|
578
|
+
|
|
579
|
+
- Added support for direct assignment of an Array element and triggering reactivity
|
|
580
|
+
- Added support for .env in boilerplate
|
|
581
|
+
- Fixed issue with Blits component being wrapped in a Proxy when assigned to a state variable
|
|
582
|
+
- Fixed built-in `hasFocus`-state to also work for components that don't have state in their config object
|
|
583
|
+
|
|
584
|
+
## v0.9.6
|
|
585
|
+
|
|
586
|
+
_4 apr 2024_
|
|
587
|
+
|
|
588
|
+
- Added before hook to router
|
|
589
|
+
- Upgraded Lightning renderer to v0.8.2
|
|
590
|
+
|
|
591
|
+
## v0.9.5
|
|
592
|
+
|
|
593
|
+
_29 mar 2024_
|
|
594
|
+
|
|
595
|
+
- Fixed cancelling of scheduled / running transitions when starting a new transition on the same prop (broke in v0.7.1).
|
|
596
|
+
- Added viewport relates lifecycle hooks
|
|
597
|
+
|
|
598
|
+
## v0.9.4
|
|
599
|
+
|
|
600
|
+
_28 mar 2024_
|
|
601
|
+
|
|
602
|
+
- Upgraded Lightning renderer to v0.8.0
|
|
603
|
+
- Fixed issue with reactivity in a forloop when initial array is empty
|
|
604
|
+
- Introduced new `gpuMemoryLimit` launch setting
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
## v0.9.3
|
|
608
|
+
|
|
609
|
+
_25 mar 2024_
|
|
610
|
+
|
|
611
|
+
- Added support for mount / pivot on Text elements and Sprites.
|
|
612
|
+
|
|
613
|
+
## v0.9.2
|
|
614
|
+
|
|
615
|
+
_21 mar 2024_
|
|
616
|
+
|
|
617
|
+
- Fixed issue with updates not triggering during array operation
|
|
618
|
+
|
|
619
|
+
## v0.9.1
|
|
620
|
+
|
|
621
|
+
_21 mar 2024_
|
|
622
|
+
|
|
623
|
+
- Improved support for reactive advanced array operations (i.e. `splice()`, `concat()`, `sort()`)
|
|
624
|
+
- Upgraded Lightning renderer to v0.7.6
|
|
625
|
+
- Reverted removal of destroy of child nodes (added in v0.8.1)
|
|
626
|
+
- Introduced `viewportMargin` setting
|
|
627
|
+
- Added `undefined`-check for props sent to renderer
|
|
628
|
+
|
|
629
|
+
## v0.9.0
|
|
630
|
+
|
|
631
|
+
_18 mar 2024_
|
|
632
|
+
|
|
633
|
+
- Added symbol for `id` on component
|
|
634
|
+
- Fixed issue in for loop when `:key` is a number (and not a string)
|
|
635
|
+
- Added built-in `hasFocus` state variable, available on every Component
|
|
636
|
+
- Refactored font loading, removed the need for temporary `src/fontLoader.js` file
|
|
637
|
+
- Replaced using component name with unique identifier for registering and emitting hooks
|
|
638
|
+
|
|
639
|
+
## v0.8.1
|
|
640
|
+
|
|
641
|
+
_9 mar 2024_
|
|
642
|
+
|
|
643
|
+
- Added pre-processing of hardcoded colors used in the template
|
|
644
|
+
- Upgraded Lightning renderer to v0.7.5
|
|
645
|
+
- Removed explicit destroy of child nodes, as the renderer now takes care of this
|
|
646
|
+
- Re-added support for clipping
|
|
647
|
+
|
|
648
|
+
## v0.8.0
|
|
649
|
+
|
|
650
|
+
_1 mar 2024_
|
|
651
|
+
|
|
652
|
+
- Added `this.$clearIntervals()` and `this.$clearTimeouts()` methods that clear all intervals and timers set on a certain component
|
|
653
|
+
- **Breaking change:** Renamed the key `function` to `easing` in the transitions object used to specify a custom easing functio (deprecation notice added)
|
|
654
|
+
|
|
655
|
+
## v0.7.4
|
|
656
|
+
|
|
657
|
+
_28 feb 2024_
|
|
658
|
+
|
|
659
|
+
- Fixed dependency for on the fly MSDF font generation
|
|
660
|
+
|
|
661
|
+
## v0.7.3
|
|
662
|
+
|
|
663
|
+
_28 feb 2024_
|
|
664
|
+
|
|
665
|
+
- Added functionality that forces focus hook to fire when parent receives focus from child
|
|
666
|
+
- Improved destroy sequence of nodes to be disposed
|
|
667
|
+
- Fixed issue with tracking reactive objects multiple times (potential max call stack error)
|
|
668
|
+
- Added on the fly MSDF font generation from a `.ttf` file placed in `publics/fonts`
|
|
669
|
+
- Added support for pre-compilation for files with more than 1 Blits component
|
|
670
|
+
- Fixed transitions on scale attribute when passed an object with `x` and `y` values
|
|
671
|
+
|
|
672
|
+
## v0.7.2
|
|
673
|
+
|
|
674
|
+
_23 feb 2024_
|
|
675
|
+
|
|
676
|
+
- Added small fix to support for (re)assigning an array used in a for-loop
|
|
677
|
+
- Added option to enable the Lightning inspector in launch setting (`inspector: true/false`)
|
|
678
|
+
|
|
679
|
+
## v0.7.1
|
|
680
|
+
|
|
681
|
+
_22 feb 2024_
|
|
682
|
+
|
|
683
|
+
- Fixed clean up of children nodes when routing to a new view
|
|
684
|
+
- Fixed test cases for code generator (100% coverage)
|
|
685
|
+
- Added support for colorizing sprites
|
|
686
|
+
- Removed before setup and setup lifecycle events and optimized lifecycle instance in components
|
|
687
|
+
- Added support for (re)assigning an array used in a for-loop
|
|
688
|
+
- Refactored delay of transitions (using the now available built-in delay in the renderer)
|
|
689
|
+
- Added preliminary support for frameTick hook
|
|
690
|
+
- Upgraded to latest version of the renderer (0.7.4)
|
|
691
|
+
|
|
692
|
+
## v0.7.0
|
|
693
|
+
|
|
694
|
+
_20 feb 2024_
|
|
695
|
+
|
|
696
|
+
|
|
697
|
+
- Added support for dynamic components through the `is`-attribute (`<Component is="Poster" />` or `<Component is="$dynamicComponent" />`)
|
|
698
|
+
- 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)`)
|
|
699
|
+
- Added configuration option to set the canvas color (aka clear color)
|
|
700
|
+
|
|
701
|
+
## v0.6.13
|
|
702
|
+
|
|
703
|
+
_16 feb 2024_
|
|
704
|
+
|
|
705
|
+
- Upgraded to 0.7.2 of the renderer
|
|
706
|
+
- Introduced new `maxheight` attribute (besided the existing `maxlines` attribute) for the `<Text />` component
|
|
707
|
+
- Fixed issue with order of lifecycle event emits
|
|
708
|
+
- Fixed logic to not unfoces a parent when it passes focus to a child
|
|
709
|
+
- Removed temporary fix for renderer issue [#123](https://github.com/lightning-js/renderer/issues/123)
|
|
710
|
+
|
|
711
|
+
## v0.6.12
|
|
712
|
+
|
|
713
|
+
_9 feb 2024_
|
|
714
|
+
|
|
715
|
+
- Added type hinting for `this.$clearInterval` and `this.$clearTimeout`
|
|
716
|
+
- Fixed issue with `.gitignore` in app create flow
|
|
717
|
+
- Added support for dynamic route parts in the router (i.e `/tv/:series/episodes/:episode`)
|
|
718
|
+
|
|
719
|
+
## v0.6.11
|
|
720
|
+
|
|
721
|
+
_7 feb 2024_
|
|
722
|
+
|
|
723
|
+
- Enabled the use of `type` as a component prop or state variable
|
|
724
|
+
- Removed setting focus to AppComponent on back key press in RouterView
|
|
725
|
+
- Fixed broken app create flow caused by missing dev dependencies in npx command (temporary fix)
|
|
726
|
+
|
|
727
|
+
## v0.6.10
|
|
728
|
+
|
|
729
|
+
_2 feb 2024_
|
|
730
|
+
|
|
731
|
+
- Added FPS counter from Example App as a built-in Blits component (available as `<FPScounter />`)
|
|
732
|
+
- Added precompilation to all built-in Blits components for increased performance
|
|
733
|
+
- Updated flow to create a new App project with an interactive prompt of questions (`npx @lightningjs/blits@latest`)
|
|
734
|
+
- Upgraded to latest version of the Lightning 3 renderer (0.7.1)
|
|
735
|
+
|
|
736
|
+
## v0.6.9
|
|
737
|
+
|
|
738
|
+
_31 jan 2024_
|
|
739
|
+
|
|
740
|
+
- Fixed single quote escaping for all browsers (removing sometimes unsupported negative lookahead)
|
|
741
|
+
- Fixed issue with focus when navigating back to a page that is kept in history
|
|
742
|
+
|
|
743
|
+
## v0.6.8
|
|
744
|
+
|
|
745
|
+
_29 jan 2024_
|
|
746
|
+
|
|
747
|
+
- Reverted fix (initially) empty for-loops
|
|
748
|
+
|
|
749
|
+
## v0.6.7
|
|
750
|
+
|
|
751
|
+
_26 jan 2024_
|
|
752
|
+
|
|
753
|
+
- Added `this.$clearInterval` and `this.$clearTimeout` helper functions to Component
|
|
754
|
+
- Updated Lightning renderer to version _0.7.0_
|
|
755
|
+
- Added `lineheight` and `textoverflow` attributes to `<Text />`-component
|
|
756
|
+
- Added setting for specifying maximum number of web workers to spawn (`webWorkersLimit`)
|
|
757
|
+
- Added fix for issue with setting up reactivity for (initially) empty for-loops
|
|
758
|
+
|
|
759
|
+
## v0.6.6
|
|
760
|
+
|
|
761
|
+
_24 jan 2024_
|
|
762
|
+
|
|
763
|
+
- Added temporary fix for renderer issue [#123](https://github.com/lightning-js/renderer/issues/123)
|
|
764
|
+
- Fixed issue with setting mount, pivot and scale values to zero (0) in object literal with x and y key
|
|
765
|
+
- Added automatic mapping of ref string to each item in a for-loop
|
|
766
|
+
|
|
767
|
+
## v0.6.5
|
|
768
|
+
|
|
769
|
+
_16 jan 2024_
|
|
770
|
+
|
|
771
|
+
- Added `path` to boilerplate vite.config.js for deployments in a sub folder
|
|
772
|
+
- Improved error handling in the template parser, with more contextual error messages
|
|
773
|
+
|
|
774
|
+
## v0.6.4
|
|
775
|
+
|
|
776
|
+
_15 jan 2024_
|
|
777
|
+
|
|
778
|
+
- Added fix for sprites not working on certain devices
|
|
779
|
+
|
|
780
|
+
## v0.6.3
|
|
781
|
+
|
|
782
|
+
_12 jan 2024_
|
|
783
|
+
|
|
784
|
+
- Removed prepending protocol and host from sprite image
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
## v0.6.2
|
|
788
|
+
|
|
789
|
+
_12 jan 2024_
|
|
790
|
+
|
|
791
|
+
- Fixed issue with Sprites not working correctly due to missing background color
|
|
792
|
+
|
|
793
|
+
## v0.6.1
|
|
794
|
+
|
|
795
|
+
_8 jan 2024_
|
|
796
|
+
|
|
797
|
+
- Fixed issue with using single quotes as Text content
|
|
798
|
+
- Added first Text-to-Speech / Announcer functionality
|
|
799
|
+
|
|
800
|
+
## v0.6.0
|
|
801
|
+
|
|
802
|
+
_4 jan 2024_
|
|
803
|
+
|
|
804
|
+
- Added pre-compilation functionality to improve performance. Requires an update to the `vite.config.js` to enable. Read more details in this [blog post](https://lightningjs.io/blogs/blitsPreCompilation.html)
|
|
805
|
+
- Added `defaultFont` to the Launch settings
|
|
806
|
+
|
|
807
|
+
## v0.5.10
|
|
808
|
+
|
|
809
|
+
_3 jan 2024_
|
|
810
|
+
|
|
811
|
+
- Updated and improved documentation
|
|
812
|
+
- Added `screenResolution` and `pixelRatio` options to settings
|
|
813
|
+
|
|
814
|
+
## v0.5.9
|
|
815
|
+
|
|
816
|
+
_21 dec 2023_
|
|
817
|
+
|
|
818
|
+
- Changed transition-end callback to receive real prop value from node
|
|
819
|
+
- Implemented symbol for `wrapper` on Component (freeing up the name wrapper to be used in Component state)
|
|
820
|
+
- Added functionality to prevent a route ending up in the history stack (route option: `inHistory: false`)
|
|
821
|
+
- Improved router backtracking logic
|
|
822
|
+
- Added functionality to override route options during navigation
|
|
823
|
+
- Upgraded to latest version of the renderer (0.6.1) which contains a fix for animations not finishing correctly
|
|
824
|
+
|
|
825
|
+
## v0.5.8
|
|
826
|
+
|
|
827
|
+
_15 dec 2023_
|
|
828
|
+
|
|
829
|
+
- Internal refactor of the `Element`
|
|
830
|
+
|
|
831
|
+
## v0.5.7
|
|
832
|
+
|
|
833
|
+
_13 dec 2023_
|
|
834
|
+
|
|
835
|
+
- Added history and backhandling to the router
|
|
836
|
+
- Linked effects directly to the available shaders exposed by the L3 renderer (starting 0.6.0)
|
|
837
|
+
- Added setting `reactivityMode` to control whether `Proxy` (default) or `defineProperty` is used to trigger reactive side effects
|
|
838
|
+
|
|
839
|
+
## v0.5.6
|
|
840
|
+
|
|
841
|
+
_11 dec 2023_
|
|
842
|
+
|
|
843
|
+
- Upgraded to version 0.6.0 of the Lightning 3 renderer
|
|
844
|
+
|
|
845
|
+
## v0.5.5
|
|
846
|
+
|
|
847
|
+
_5 dec 2023_
|
|
848
|
+
|
|
849
|
+
- Fixed regression in Slots functionality caused by forloop cleanup fix in 0.5.4
|
|
850
|
+
|
|
851
|
+
## v0.5.4
|
|
852
|
+
|
|
853
|
+
_5 dec 2023_
|
|
854
|
+
|
|
855
|
+
- Fixed issue with Components and Elements not always being cleaned up in forloop
|
|
856
|
+
- Added support for nested children inside a forloop on an Element
|
|
857
|
+
|
|
858
|
+
## v0.5.3
|
|
859
|
+
|
|
860
|
+
_4 dec 2023_
|
|
861
|
+
|
|
862
|
+
- Added transition `start` and tranition `end` callbacks
|
|
863
|
+
|
|
864
|
+
## v0.5.2
|
|
865
|
+
|
|
866
|
+
_30 nov 2023_
|
|
867
|
+
|
|
868
|
+
- Fixed issue in code generator leading to creation unnecessary child nodes
|
|
869
|
+
- Added focus handler to router view (that passes focus to the current active page)
|
|
870
|
+
|
|
871
|
+
## v0.5.1
|
|
872
|
+
|
|
873
|
+
_29 nov 2023_
|
|
874
|
+
|
|
875
|
+
- Fixed issue with unexpected unfocus
|
|
876
|
+
- Added fastforward of transitions on the same property
|
|
877
|
+
- Added functionality to skip focus change on key hold
|
|
878
|
+
|
|
879
|
+
## v0.5.0
|
|
880
|
+
|
|
881
|
+
_23 nov 2023_
|
|
882
|
+
|
|
883
|
+
- Introduced `wordwrap` and `maxlines` attributes on the Text-component, replacing the previous `w` and `h` attributes (breaking change!)
|
|
884
|
+
|
|
885
|
+
## v0.4.2
|
|
886
|
+
|
|
887
|
+
_22 nov 2023_
|
|
888
|
+
|
|
889
|
+
- Improved parser and added more template validation (i.e. one single root element in a template)
|
|
890
|
+
- Fixed typo in documentation
|
|
891
|
+
|
|
892
|
+
## v0.4.1
|
|
893
|
+
|
|
894
|
+
_13 nov 2023_
|
|
895
|
+
|
|
896
|
+
- Added support for using dynamic import of components in routes
|
|
897
|
+
- Added support for returning components in an async function / Promise in routes
|
|
898
|
+
|
|
899
|
+
## v0.4.0
|
|
900
|
+
|
|
901
|
+
_9 nov 2023_
|
|
902
|
+
|
|
903
|
+
- Fixed bug related to animating percentage based values
|
|
904
|
+
- Added (customizable) navigation transitions to the router
|
|
905
|
+
- Renamed `.eslintrc.js` to `.eslintrc.cjs` in boilerplate code to make linting work on new projects
|
|
906
|
+
- Fixed issue in Settings when the default value was set to `false`
|
|
907
|
+
- Replace underscored keys for private properties with Symbols
|
|
908
|
+
- Added `keepAlive` option to the router (i.e. keeping a page in memory when navigating to a new page)
|
|
909
|
+
- Introduced a `this.$trigger` function to force a reevaluation of a reactive value (without changing the value)
|
|
910
|
+
- Exposed `currentRoute`, `routes` and `navigating` on the `this.$router` object
|
|
911
|
+
- Upgraded to lates version of `@lightningjs/renderer` (v0.5.0)
|
|
912
|
+
|
|
913
|
+
## v0.3.15
|
|
914
|
+
|
|
915
|
+
_23 oct 2023_
|
|
916
|
+
|
|
917
|
+
- Added support for slots
|
|
918
|
+
- Added support for defining custom keymapping
|
|
919
|
+
- Improved error handling of the template parser
|
|
920
|
+
|
|
921
|
+
## v0.3.14
|
|
922
|
+
|
|
923
|
+
_19 oct 2023_
|
|
924
|
+
|
|
925
|
+
- Fixed error when `<Text />`-component doesn't have any content
|
|
926
|
+
- Removed generic escape key handler that closed the App
|
|
927
|
+
- Introduced `quit()`-method on the root Application component
|
|
928
|
+
- Updated to v0.4.0 of the renderer
|
|
929
|
+
|
|
930
|
+
## v0.3.13
|
|
931
|
+
|
|
932
|
+
_18 oct 2023_
|
|
933
|
+
|
|
934
|
+
- Added support for `borderTop`, `borderBottom`, `borderLeft`, `borderRight` and `grayScale` effects
|
|
935
|
+
- Fixed `@loaded` and `@error` events on `<Text/>` componenent only firing once (and not for each change)
|
|
936
|
+
- Fixed loading of web canvas2d fonts
|
|
937
|
+
- Fixed error when using `this`-reference in component state
|
|
938
|
+
- Added basic support for inline text (i.e. `<Text>My text with a {{$dynamic}} value</Text>`)
|
|
939
|
+
|
|
940
|
+
## v0.3.12
|
|
941
|
+
|
|
942
|
+
_17 oct 2023_
|
|
943
|
+
|
|
944
|
+
- Fixed path to logo on readme
|
|
945
|
+
|
|
946
|
+
## v0.3.11
|
|
947
|
+
|
|
948
|
+
_17 oct 2023_
|
|
949
|
+
|
|
950
|
+
- Added support for using [percentages](https://lightning-js.github.io/blits/#/element_attributes?id=using-percentages) in dimensions (`w` / `h`) and positioning (`x` / `y`)
|
|
951
|
+
- Refactored template parser to be more robust and throw errors when the template contains a syntax mistake
|
|
952
|
+
- Re-enabled tests (still depends on renderer version bump though)
|
|
953
|
+
- Added the new official Blits logo to the readme!
|
|
954
|
+
|
|
955
|
+
## v0.3.10
|
|
956
|
+
|
|
957
|
+
_9 oct 2023_
|
|
958
|
+
|
|
959
|
+
- Updated L3 renderer dependency to 0.3.6
|
|
960
|
+
- Renamed internal methods for creating textures and shaders
|
|
961
|
+
|
|
962
|
+
|
|
963
|
+
## v0.3.9
|
|
964
|
+
|
|
965
|
+
_5 oct 2023_
|
|
966
|
+
|
|
967
|
+
- Updated L3 renderer dependency to 0.3.3
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
## v0.3.8
|
|
971
|
+
|
|
972
|
+
_4 oct 2023_
|
|
973
|
+
|
|
974
|
+
- Added Blits VS code extension to recommended extensions
|
|
975
|
+
|
|
976
|
+
|
|
977
|
+
## v0.3.7
|
|
978
|
+
|
|
979
|
+
_3 oct 2023_
|
|
980
|
+
|
|
981
|
+
- Fixed reactivity issue when using `null` values in state
|
|
982
|
+
|
|
983
|
+
|
|
984
|
+
## v0.3.6
|
|
985
|
+
|
|
986
|
+
_2 oct 2023_
|
|
987
|
+
|
|
988
|
+
- Bumped version number of dependency in boilerplate
|
|
989
|
+
|
|
990
|
+
|
|
991
|
+
## v0.3.5
|
|
992
|
+
|
|
993
|
+
_2 oct 2023_
|
|
994
|
+
|
|
995
|
+
- Added workaround for Vite import chunk url plugin for fontloading
|
|
996
|
+
|
|
997
|
+
## v0.3.4
|
|
998
|
+
|
|
999
|
+
_27 sep 2023_
|
|
1000
|
+
|
|
1001
|
+
- Fixed issue with re-applying reactivity to already reactive props in forloop
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
## v0.3.3
|
|
1005
|
+
|
|
1006
|
+
_25 sep 2023_
|
|
1007
|
+
|
|
1008
|
+
- Added support for `@loaded` and `@error` events on Elements (and Text Component)
|
|
1009
|
+
|
|
1010
|
+
|
|
1011
|
+
## v0.3.2
|
|
1012
|
+
|
|
1013
|
+
_22 sep 2023_
|
|
1014
|
+
|
|
1015
|
+
- Changed name of attribute to reference an Element or Component from `id` to `ref`
|
|
1016
|
+
|
|
1017
|
+
|
|
1018
|
+
## v0.3.1
|
|
1019
|
+
|
|
1020
|
+
_20 sep 2023_
|
|
1021
|
+
|
|
1022
|
+
- Fixed Blits dependency in create App boilerplate package.json
|
|
1023
|
+
|
|
1024
|
+
|
|
1025
|
+
## v0.3.0
|
|
1026
|
+
|
|
1027
|
+
_20 sep 2023_
|
|
1028
|
+
|
|
1029
|
+
Initial beta release of Blits ⚡️
|