|
833e835f65
|
chore: format code
|
2024-12-19 22:43:12 +01:00 |
|
|
aa59785806
|
feat: update all examples to use latest features
|
2024-09-03 00:52:38 +02: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
|
83f30ae2c4
|
feat: add lit-html usage example (#35)
|
2023-12-21 12:59:25 +01:00 |
|
Ayo Ayco
|
aee0ec74aa
|
feat: scoped styles (#31)
|
2023-12-18 16:57:36 +01:00 |
|
Ayo
|
9268676797
|
fix: static props makes state shared across class instances
- uses structuredClone on static props
- closes #28
|
2023-12-16 09:03:01 +01:00 |
|
Ayo Ayco
|
d290fc90a0
|
refactor: use static props in all examples (#19)
|
2023-12-12 21:17:57 +01:00 |
|
Ayo
|
4c885ccf9d
|
chore: update site, readme, & examples for v2.0 features
|
2023-12-10 20:17:46 +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
|
75f914606f
|
feat: example of type mismatch
|
2023-12-08 22:40:27 +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
|
b613d8e77c
|
refactor: use index exports
|
2023-12-08 14:45:12 +01:00 |
|
Ayo
|
84c4a00fb8
|
feat: update example for object props
|
2023-12-07 18:05:51 +01:00 |
|
Ayo
|
d7651b5f33
|
feat: support objects in props
|
2023-12-07 17:30:53 +01:00 |
|
Ayo
|
d3dc78e75c
|
chore: organize examples
|
2023-12-02 17:00:41 +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
|
dd6dc96f1b
|
chore: organize examples
|
2023-11-30 15:23:44 +01:00 |
|