138 Commits

Author SHA1 Message Date
dpiercey
6abf3d3cf8 chore: rename pending signal 2025-01-24 18:34:32 -07:00
dpiercey
218c43674e refactor: improve naming and avoid closest branch calls 2025-01-24 18:34:32 -07:00
dpiercey
d18d698e0f refactor: create stateful ssr if/for runtimes 2025-01-24 18:34:32 -07:00
dpiercey
a7fbe5e46b refactor: setup closestBranch and branch scopes 2025-01-24 18:34:32 -07:00
Michael Rawlings
96dd7b212c refactor: convert closures to use controlflow sorted queue 2025-01-24 18:34:32 -07:00
Michael Rawlings
f1b51ba936 refactor: reactive queue now sorts by control flow owner 2025-01-24 18:34:32 -07:00
Dylan Piercey
a364d1ebd8
feat: rename renderBody to content in tags api (#2436) 2024-12-19 14:00:09 -08:00
Michael Rawlings
da44e24ef4 fix: guard change handler since toggle is fired from programatic changes to open 2024-12-16 11:56:14 -07:00
dpiercey
46f8d7cfba
feat: tags api script tag and misc fixes 2024-12-11 09:01:16 -07:00
Dylan Piercey
032afa125b
refactor: binding renames, binding assignments, register functions 2024-12-10 10:20:24 -07:00
Dylan Piercey
fefe9ae668
feat: member expression hoisting (#2382) 2024-12-04 13:59:53 -07:00
Dylan Piercey
d8a9ee58a0
feat: valueChange on return tag (#2374) 2024-11-21 09:10:04 -07:00
Dylan Piercey
e4f385f7b0
refactor: share event handler name logic between translator/runtime (#2363) 2024-11-18 09:45:23 -07:00
Dylan Piercey
7165a7866b
chore: improve size snapshot/tooling (#2362)
chore: improve size snapshot/tooling
2024-11-13 10:53:44 -07:00
Michael Rawlings
7492eb819f
compiled output cleanup (#2356)
* refactor: add new state signal helper

* refactor: add new effect helper

* refactor: use namespace import for runtime

* refactor: queue aborts as effects

* refactor: remove changeHandler helper

* refactor: use 0 rather than null for missing arguments in signal constructors

* refactor: call createRenderer internally from createTemplate
2024-11-06 14:25:33 -05:00
Dylan Piercey
a4069c2054
fix: textarea value attribute and controllable textarea (#2354) 2024-11-05 12:14:04 -07:00
Dylan Piercey
b32b01f661
fix: controllable elements in shadow root (#2352) 2024-11-04 20:42:50 -07:00
Dylan Piercey
6501821981
refactor: misc refactoring for controllable input (#2350) 2024-11-04 15:38:38 -07:00
Michael Rawlings
7394cda29a feat: controllable native elements 2024-11-01 18:46:35 -04:00
dpiercey
bafeac1db6 refactor: attribute tag handling and attrs translator 2024-10-30 13:02:33 -07:00
dpiercey
33a1ba61cd feat: add <for> tag runtime 2024-10-28 10:18:37 -07:00
dpiercey
8fe4e50225 refactor: share html parser with template and dynamic html 2024-10-22 10:24:25 -07:00
dpiercey
bdbe303724 fix: remove bindFunction api, support serialized element references 2024-10-22 10:24:25 -07:00
dpiercey
427cb87f5f fix: remove bind renderer 2024-10-22 10:24:25 -07:00
dpiercey
e4a6d8b46c fix: make templates renders, cleanup dynamic tags 2024-10-22 10:24:25 -07:00
dpiercey
7199f879a6 fix: remove Before/After walk codes 2024-10-21 09:24:48 -07:00
dpiercey
b582929fbd fix: ensure change handler errors are in debug mode 2024-10-21 09:24:48 -07:00
dpiercey
def0e6c308 fix: prefer ||= over ??= 2024-10-21 09:24:48 -07:00
dpiercey
76b7a00163 fix: refactor template parsing 2024-10-21 09:24:48 -07:00
Ryan Turnquist
2a971ce661
Fix cleanup (#2309)
* fix: cleanup nested scopes

* fix: ensure child scopes get written for custom and dynamic tags

* fix: add downstream intersections to `intersection` signals

* fix: lazy intersections in dom compilation, make order irrelevant

* fix: use symbol for tag extra member
2024-10-01 13:57:33 -07:00
Ryan Turnquist
3464f38903
fix: walk over child with no sibling (#2293)
* fix: walk over child with no sibling
2024-09-10 16:17:03 -07:00
Ryan Turnquist
71936e7a6a
Dynamic tag vars (#2288)
* feat: support dynamic tag variables
2024-08-30 14:24:47 -07:00
dpiercey
10f61e206b chore: minor serialize improvement 2024-08-21 15:12:04 -07:00
dpiercey
07072eb4e2 chore: upgrade deps and eslint config 2024-08-08 14:12:51 -07:00
Dylan Piercey
a3378e265f
Tags API: New HTML writer implementation (#2268)
* feat: new tags api writer
2024-08-05 18:42:08 -04:00
Ryan Turnquist
40d406799d
feat: controllable let (#2258) 2024-07-10 14:04:37 -07:00
Michael Rawlings
21d260151c
fix: precommit script tracks size snapshots (#2243)
* fix: precommit script tracks size snapshots
* feat: replace registryIds with knownTemplates
2024-06-11 16:46:36 -04:00
dpiercey
b53e8487fd chore: update sizes script to print assets to disk 2024-05-25 15:35:47 -07:00