5510 Commits

Author SHA1 Message Date
Dylan Piercey
b7884ae9e2 feat: tag params for ssr 2023-05-16 08:39:35 -07:00
github-actions[bot]
aa756f68ba
[ci] release (#1954)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
marko@5.25.14
2023-05-16 08:32:55 -07:00
Luke LaValva
2b88703d5f
fix(input): make type optional (#1953)
* fix(input): make type optional

* chore: add changeset
2023-05-16 08:25:47 -07:00
Dylan Piercey
5acfab68e1 feat: derived let tag 2023-05-09 14:35:42 -07:00
github-actions[bot]
e2cf5c7c35
[ci] release (#1952)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
marko@5.25.13
2023-05-08 11:20:39 -07:00
Dylan Piercey
946f596c2d
chore: improve types (#1951) 2023-05-08 11:05:45 -07:00
github-actions[bot]
e81d431ce2
[ci] release (#1950)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@marko/compiler@5.27.8 @marko/translator-default@5.25.8 marko@5.25.12
2023-05-08 10:30:15 -07:00
Dylan Piercey
7f6b65a4b6
fix: use internal node_modules for remapped files (#1949)
* fix: use internal node_modules for remapped files

* [ci] format

---------

Co-authored-by: DylanPiercey <DylanPiercey@users.noreply.github.com>
2023-05-08 10:21:16 -07:00
Michael Rawlings
ebe1f4d15a
refactor: invert dirty to clean, intersections as arguments rather than calls (#160) 2023-05-08 11:16:06 -04:00
Dylan Piercey
61df5b9f45
Scope read refactor (#159)
* refactor: function scope reads use object destructuring

* refactor: use object destructuring for intersection scopes

* refactor: use object destructuring for effect scopes

* refactor: move common scope ast utilities into a single file
2023-04-28 15:43:05 -04:00
Michael Rawlings
0f6c65db4c
Section hierarchy + refactor (#158)
* refactor: reintroduce section object, rather than sectionsName array

* fix: get correct section hierarchy for closures

* refactor: store section, rather than sectionId on node.extra
2023-04-28 14:10:45 -04:00
github-actions[bot]
516319d2c7
[ci] release (#1948)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
marko@5.25.11
2023-04-26 17:23:12 -07:00
Luke LaValva
7264e6ce63
fix(typescript): add missing event handlers (#1947)
* fix(typescript): add missing event handlers

Co-authored-by: LuLaValva <LuLaValva@users.noreply.github.com>
2023-04-26 16:08:15 -07:00
Dylan Piercey
b0eb494000
Refactor (#157)
* refactor: sorted array helpers

* fix: issue with destructuring single binding

* refactor: remove reference groups abstraction

* refactor: rename apply => render and hydrate => effect/resume
2023-04-26 18:44:31 -04:00
github-actions[bot]
c4e7e9571c
[ci] release (#1946)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
marko@5.25.10
2023-04-25 13:28:35 -07:00
Luke LaValva
ce2ab47637
fix(typescript): add no-update-body and no-update-body-if (#1945)
* fix(typescript): add no-update-body and no-update-body-if

* Create changeset
2023-04-25 13:01:01 -07:00
Dylan Piercey
e940554405
chore: update contributing doc 2023-04-21 14:51:03 -07:00
github-actions[bot]
dc8db47363
[ci] release (#1941)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
marko@5.25.9
2023-04-21 12:46:57 -07:00
Eugene Fidelin
ed74ab32f8
Add note that dynamic tag doesn't work for macro (#1925) 2023-04-21 12:31:43 -07:00
Lucas Gonze
dd433d7706
Add OpenSSF Best Practices badge (#1933)
* Add OpenSSF Best Practices badge.

Signed-off-by: Lucas Gonze <lucas@gonze.com>

---------

Signed-off-by: Lucas Gonze <lucas@gonze.com>
Co-authored-by: Dylan Piercey <dpiercey@ebay.com>
2023-04-21 12:16:38 -07:00
Dylan Piercey
00c1535387
chore: fix format ci action 2023-04-21 12:10:38 -07:00
Dylan Piercey
5e8486c0d5 chore: improve typescript docs, link to type-check cli 2023-04-21 11:39:27 -07:00
Dylan Piercey
b314879466 fix: add back NativeTagInput and NativeTagReturn deprecated types 2023-04-21 11:39:27 -07:00
github-actions[bot]
23f7f44e7a [ci] release marko@5.25.8 2023-04-20 19:57:04 -07:00
Dylan Piercey
d8a922085e fix: improve form control types 2023-04-20 19:50:10 -07:00
github-actions[bot]
d959fcf1a6 [ci] release marko@5.25.7 2023-04-20 16:02:40 -07:00
Dylan Piercey
f216ca2540 feat: add ability to extend css properties 2023-04-20 15:53:53 -07:00
Dylan Piercey
f99e6deff2 fix: input tag type regression 2023-04-20 15:53:53 -07:00
github-actions[bot]
63faa46009 [ci] release @marko/compiler@5.27.7 @marko/translator-default@5.25.7 marko@5.25.6 2023-04-20 11:07:56 -07:00
Dylan Piercey
722467a6cf chore: loosen the requirements for the input tags types 2023-04-20 11:01:56 -07:00
Dylan Piercey
a5fbf6cb3b chore: expose attribute directive types 2023-04-20 11:01:56 -07:00
Dylan Piercey
4523d7ce1b chore: allow HTMLAttribute types to omit generic 2023-04-20 11:01:56 -07:00
Dylan Piercey
c492349a84 fix: style attribute types 2023-04-20 11:01:56 -07:00
Dylan Piercey
04d6fad6d5 fix: strip types from inline component class 2023-04-20 11:01:56 -07:00
github-actions[bot]
3ad4ebc86b [ci] release @marko/compiler@5.27.6 @marko/translator-default@5.25.6 marko@5.25.5 2023-04-17 12:25:39 -07:00
Dylan Piercey
c7a197a5c2 feat: add strict types for native html tags 2023-04-17 12:13:20 -07:00
Michael Rawlings
4d887d1750 test: enable hydration for shared-node-ref, keyed for test 2023-04-12 14:10:32 -04:00
github-actions[bot]
550e50bfa2 [ci] release @marko/compiler@5.27.5 @marko/translator-default@5.25.5 2023-04-12 10:12:17 -07:00
LuLaValva
712f680623
chore: add changeset 2023-04-12 10:05:23 -07:00
LuLaValva
c99e3c2b22 feat(ts): type override for imports 2023-04-12 10:02:50 -07:00
Michael Rawlings
6194bc0489
feat: resume for tag with key support (#155) 2023-04-12 10:33:58 -04:00
Michael Rawlings
f3d41105fa
Destructure for/const (#154)
* test: add test destructuring for tag params

* feat: destructure const
2023-04-10 14:25:40 -04:00
Tim Gates
ffa9bc3115 docs: Fix a few typos
There are small typos in:
- packages/marko/docs/marko-json.md
- packages/marko/docs/state.md
- packages/marko/docs/vite.md

Fixes:
- Should read `properties` rather than `properites`.
- Should read `individual` rather than `individial`.
- Should read `automatically` rather than `automaticall`.

Signed-off-by: Tim Gates <tim.gates@iress.com>
2023-04-07 21:13:59 -07:00
Michael Rawlings
d6c5091863
chore: update mocha-snap, make caught error snapshots explicit (#153) 2023-04-07 15:40:11 -04:00
Michael Rawlings
1398a1275e
fix: hydration when an if tag is false initially (#152) 2023-04-07 11:14:27 -04:00
Michael Rawlings
196b625100
refactor: switch to new signal implementation (#151) 2023-03-28 14:04:29 -04:00
github-actions[bot]
11e53b5a31 [ci] release @marko/compiler@5.27.4 @marko/translator-default@5.25.4 marko@5.25.4 2023-03-27 11:55:32 -07:00
Dylan Piercey
62afb3256a fix: remove class lifecycle types 2023-03-27 11:45:53 -07:00
github-actions[bot]
9ce05e1b7d [ci] release @marko/compiler@5.27.3 @marko/translator-default@5.25.3 marko@5.25.3 2023-03-24 09:18:29 -07:00
Dylan Piercey
c41cda53c8 refactor: avoid config deduping via global (it has not been working since Marko 4 anyway and is probably bad) 2023-03-24 09:07:13 -07:00