Commit graph

162 commits

Author SHA1 Message Date
Ayo Ayco
a2c34bdc81
chore: add eslint.yml for gh actions (#42) 2023-12-27 13:45:30 +01:00
Ayo Ayco
e78030ab13
feat: use shadow dom host (#41) 2023-12-27 00:13:21 +01:00
Ayo Ayco
29fa864ca2
feat: use shadow mode (#39) 2023-12-26 23:48:54 +01:00
Ayo Ayco
879032aa1e
chore: set up eslint & husky (#38) 2023-12-23 22:40:45 +01:00
Ayo Ayco
64fd600435
chore: publish dist from root dir (#32) 2023-12-18 23:12:18 +01:00
Ayo
43b526a870 chore: bump 2.1.0-beta 2023-12-18 17:01:32 +01:00
Ayo
8b074a3495 chore: update pkg scripts 2023-12-16 09:05:35 +01:00
Ayo
f984e6f595 2.0.6 2023-12-16 09:04:14 +01:00
Ayo
99eb2e0e26 2.0.5 2023-12-16 09:03:07 +01:00
Ayo
c4a5d7d6e6 2.0.4 2023-12-14 12:21:29 +01:00
Ayo
df99804bab 2.0.3 2023-12-14 12:07:08 +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
8418287e1d chore: update package description 2023-12-10 21:11:15 +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
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
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
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 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
f56068e76e chore: export all utils 2023-12-08 15:05:27 +01:00
Ayo Ayco
703ef9e45d
feat: initial utils distribution (#7) 2023-12-08 13:15:00 +01:00
Ayo
d7651b5f33 feat: support objects in props 2023-12-07 17:30:53 +01:00
Ayo
fd72c6d097 2.0.0-beta 2023-12-01 09:11:44 +01:00
Ayo
7632f96f69 2.0.0 2023-12-01 09:11:18 +01:00
Ayo
2943aa4c37 breaking: remove main entry point; use exports 2023-12-01 09:11:05 +01:00
Ayo
78ebd0058e 1.14.7 2023-12-01 08:48:03 +01:00
Ayo Ayco
73dd374a3e
feat: attach-effect (#2)
We are now able to attach "side effects" to property value changes, from inside the component and outside.
2023-12-01 08:42:10 +01:00
Ayo
da85a71aec 1.13.3 2023-11-26 03:47:07 +01:00
Ayo
0140f79339 1.13.2 2023-11-23 22:15:34 +01:00
Ayo
d392b1a0ca 1.13.1 2023-11-23 22:03:37 +01:00
Ayo
15a3b1ce33 chore: clean up; update readme docs 2023-11-23 22:03:26 +01:00
Ayo
b5bb13a7d2 feat(site): initial website for webcomponent.io 2023-11-22 08:55:10 +01:00
Ayo
98d47af7dc 1.13.0 2023-11-21 21:05:43 +01:00
Ayo
eeb0b1ef59 feat: allow string | Node | (string | Node)[] 2023-11-21 21:05:22 +01:00
Ayo
bce526f17e 1.12.21 2023-11-21 13:32:22 +01:00
Ayo
a7f3dfaf8e 1.12.20 2023-11-21 09:50:17 +01:00
Ayo
d56d7593f8 chore: update pkg meta 2023-11-21 09:50:09 +01:00
Ayo
3828c0392e 1.12.19 2023-11-20 22:17:25 +01:00
Ayo
51110f46ed chore: update package description 2023-11-20 22:17:17 +01:00