Commit graph

447 commits

Author SHA1 Message Date
Ayo Ayco
1879c36350
feat(site): show example of custom template w/ lit-html (#26) 2023-12-13 15:32:17 +01:00
Ayo Ayco
6379334335
chore: mention lit-html usage on readme (#25) 2023-12-13 15:23:13 +01:00
Ayo
f82aed7f26 chore: test branch protection rule 2023-12-12 22:16:29 +01:00
Ayo
fae9ed2cd3 chore: test branch protection rule 🤣 2023-12-12 22:14:43 +01:00
Ayo
ad467ded5e chore: test branch protection rule 2023-12-12 22:13:52 +01:00
Ayo
63c1ee6b24 2.0.2 2023-12-12 22:11:08 +01:00
Ayo Ayco
5720901d25
chore: update license info (#21) 2023-12-12 22:06:12 +01:00
Ayo
ce1733c7ca chore: update readme
to test branch protection rules on GH
2023-12-12 21:26:50 +01:00
Ayo Ayco
2a562a3b39
feat: update meta & document title (#20) 2023-12-12 21:21:43 +01:00
Ayo Ayco
d290fc90a0
refactor: use static props in all examples (#19) 2023-12-12 21:17:57 +01:00
Ayo
8aabf89208 feat(site): update meta description 2023-12-12 20:39:48 +01:00
Ayo
45180dc681 chore: add fine-grained usage on readme 2023-12-12 12:30:24 +01:00
Ayo
dcb9222bf9 refactor(site): remove unused components; update counter 2023-12-12 11:56:53 +01:00
Ayo
a35f5a086e Merge branch 'main' of github.com:ayoayco/web-component-base 2023-12-12 08:36:44 +01:00
Ayo
a0f62d65d4 feat(site): update project description 2023-12-12 08:36:33 +01:00
42f8b75781
chore: Update README.md screenshot 2023-12-11 23:43:01 +01:00
fa249b53d4
chore: add sample code pix 2023-12-11 23:40:43 +01:00
Ayo
5cc52e66f4 feat(site): update why section 2023-12-11 20:20:40 +01:00
Ayo
48bf30ea7b feat(site): update why section 2023-12-11 20:07:38 +01:00
Ayo
dc829269a6 feat(site): update why section 2023-12-11 19:28:02 +01:00
Ayo
041aed195e feat(site): update counter component & why section 2023-12-11 19:22:43 +01:00
Ayo
79ce197c8a fix(site): first letter line-height on firefox 2023-12-11 17:01:13 +01:00
Ayo
01c9a4f170 feat(site): remove mcfly in features list 2023-12-11 16:55:50 +01:00
Ayo Ayco
06d41cd78b
chore: update README.md 2023-12-10 22:37:44 +01:00
Ayo
8418287e1d chore: update package description 2023-12-10 21:11:15 +01:00
Ayo
a6c292ff68 chore: update library size report in readme 2023-12-10 21:08:41 +01:00
Ayo
6d52a3bea0 chore: fix typos in readme 2023-12-10 20:27:48 +01:00
Ayo
5eafd01827 fix(site): typo in link to preact htm/mini 2023-12-10 20:19:17 +01:00
Ayo
4c885ccf9d chore: update site, readme, & examples for v2.0 features 2023-12-10 20:17:46 +01:00
Ayo Ayco
4d4fdb3d89
chore: set up bundling; bump for major release (#16)
* chore: format code with prettier

* chore: use eslint; bump to major
2023-12-10 18:24:27 +01:00
Ayo Ayco
488743e011
chore: format code with prettier (#14) 2023-12-10 10:58:46 +01:00
Ayo
6eb93b5dd3 feat: update counter example 2023-12-09 22:52:17 +01:00
Ayo
ec50f0f86e refactor(templating): attributes handling & JSX
- support unparented DOM nodes
- simpler attributes handling
- jsx-like syntax
- use .mjs for utils
2023-12-09 22:35:58 +01:00
Ayo
538aa01ecd feat(templating): support adding aria- attributes 2023-12-09 09:54:35 +01:00
Ayo
669fee1d49 feat(templating): only assign standard DOM props 2023-12-09 02:05:32 +01:00
Ayo
6844ffe9f2 feat(templating): support more standard attrs
- data- <-> dataset.
- for <-> htmlFor
- class <-> className
2023-12-09 01:57:13 +01:00
Ayo
27a5fb3024 feat(templating): support for non on-event props
- use class or className
- only on-event props are tolowercase'd
2023-12-09 00:48:56 +01:00
Ayo
b4f3b98ee4 feat: use standard event prop behavior
- call .toLowerCase() on attribute props
2023-12-09 00:15:39 +01:00
Ayo
7bf37d75db feat: use standard event handler props 2023-12-09 00:11:32 +01:00
Ayo
956424cbaf chore: bump version for release 2023-12-08 23:36:20 +01:00
Ayo
26129a5934 feat: helpful TypeError message 2023-12-08 23:36:01 +01:00
Ayo
07bb2d850a feat: simpler TypeError; use proxy default err 2023-12-08 23:14:03 +01:00
Ayo
75f914606f feat: example of type mismatch 2023-12-08 22:40:27 +01:00
Ayo
bea93f69f7 feat: improve error report for type mismatch 2023-12-08 22:40:03 +01:00
Ayo
98c89624f9 feat: throw TypeError when setting different type 2023-12-08 22:34:25 +01:00
Ayo
7500f0c3fe chore: bump version for release 2023-12-08 22:13:51 +01:00
Ayo
85284e9e42 fix: wrong previous dom used in diffing 2023-12-08 22:13:34 +01:00
Ayo Ayco
3c1b3b0893
feat: templating (#9) 2023-12-08 21:31:05 +01:00
Ayo Ayco
00648883fa
feat: props blueprint (#8) 2023-12-08 18:00:40 +01:00
Ayo
000e3811cd feat(site): update code example import 2023-12-08 15:35:42 +01:00