Commit graph

62 commits

Author SHA1 Message Date
ayo
005db549c0
docs(demo): add the library-comparison counter demo 2026-07-22 23:41:52 +02:00
ayo
9d8c8879f8
docs: correct stale Library Size figures 2026-07-22 22:47:46 +02:00
aad6525c3c docs: compile-time and runtime type guards 2026-07-22 21:44:44 +02:00
abe67055d0 docs: Prop Access documentation improvements 2026-07-22 21:22:00 +02:00
ayo
7b48653966
docs: align cem-plugin example with the typed-props pattern 2026-07-22 15:09:13 +02:00
ayo
cef76dfd66
docs: tighten the "why" page (grammar and figures) 2026-07-22 01:18:01 +02:00
ayo
b4ce4c8cf7
docs: focus Getting Started on npm flows 2026-07-22 00:39:22 +02:00
ayo
1bb352f893
docs: small updates to getting-started 2026-07-21 22:41:58 +02:00
ayo
46ad64d5aa
docs: surface create-wcb in the getting started guide and homepage 2026-07-21 22:30:42 +02:00
ayo
f5adb74028
feat: add create-wcb scaffolder (npm create wcb@latest) 2026-07-21 21:27:18 +02:00
ayo
2997caddde
docs: switch typed-props pattern to named type above, defaults within 2026-07-21 16:41:24 +02:00
ayo
cdfe928112
docs: document unobserved state via plain class properties 2026-07-21 16:13:41 +02:00
ayo
20e31e4796
fix: nested components no longer wipe each other on re-render (#59)
Some checks are pending
Tests / Unit (push) Waiting to run
Tests / E2E (push) Waiting to run
2026-07-20 23:46:14 +02:00
ayo
4b4cbc6cc8
docs: add comparison page and a new why (#58) 2026-07-20 22:49:40 +02:00
Ayo
561294f72c docs: fix build failing
Some checks are pending
Tests / Unit (push) Waiting to run
Tests / E2E (push) Waiting to run
2026-07-20 20:31:27 +02:00
Ayo
f290e049bd feat: custom prop <> attr conversion
Override `toAttribute()` and `fromAttribute()` methods to
implement custom conversion between props and attributes
2026-07-20 20:18:06 +02:00
Ayo
1b3e251a9d feat!: reflect boolean props as bare attributes
Some checks are pending
Tests / Unit (push) Waiting to run
Tests / E2E (push) Waiting to run
Boolean props follow the HTML presence/absence semantics.
- We stick close to standard HTML behavior: flag="false" is treated as
true in most cases. Standard bare attributes disabled and required for
form fields are interpreted as true with non-existence as false.
- The use-cases for aria-*="false" and contenteditable="false" are also
supported by typing them in the JS class as string ("true" | "false").
This "true" | "false" opt-in is types-only. At runtime it's just a
string, and strings already serialize literally and are never removed —
so the enumerated/aria path needs no runtime code.
2026-07-20 19:57:23 +02:00
Ayo
c7d87086a2 feat: smart diffing
Some checks are pending
Tests / Unit (push) Waiting to run
Tests / E2E (push) Waiting to run
2026-07-19 23:32:19 +02:00
Ayo
133881a127 feat: composing stylesheets
Some checks are pending
Tests / Unit (push) Waiting to run
Tests / E2E (push) Waiting to run
2026-07-19 21:19:01 +02:00
Ayo
2da6cd5afc feat: new cem analyzer plugin (cem-plugin)
Some checks are pending
Tests / Unit (push) Waiting to run
Tests / E2E (push) Waiting to run
2026-07-19 21:06:22 +02:00
Ayo
861310c6bf feat: typed props
Some checks are pending
Tests / Unit (push) Waiting to run
Tests / E2E (push) Waiting to run
- jsdocs / types change only to enforce giving shapt to `static props`
2026-07-19 18:27:52 +02:00
Ayo
5503e57897 feat: buffer attribute changes until end of onInit
The assumption of everything starting at `onInit` breaks when browsers
triggers `attributeChanged` first after parsing HTML. This buffers all
property initialization after `onInit` logic for more predictable
behavior
2026-07-05 11:54:44 +02:00
Ayo
61d0a5adf9 feat!: better distinction between props & attr
`onChanges` now introduces an `attribute` in its arguments and
repurposes the `property` to be used for this.props lookup
- `property` is now the camelCase key for `this.props`
- `attribute` is the kebab-case attribute name (i.e., what used to be
  `property` before v5)
2026-07-05 11:43:56 +02:00
Ayo
248ef14322 fix: no TypeErorr for default props; add strictProps
- Remove thrown error if type difference is found in defined props
- Introduce strictProps toggle for error behavior
- Extract size changes to its own log file
2026-07-05 11:11:36 +02:00
Ayo
394e094693 fix: safer prop clone w/ define-time validation
- This implements clear errors & warnings when non-serializeable values are assigned to properties
- Adjusts the size limit budget to allow better messages
- Updates references to size limits
2026-07-05 10:49:16 +02:00
Ayo
f6fe02bf12 feat(docs): more concise tagline for maximum marketing impact 2026-05-16 10:16:58 +02:00
Ayo
10a8a5203e feat(docs): update home page title & tagline 2026-05-16 09:54:06 +02:00
Ayo
f9f839ed6c chore(docs): remove package-lock 2026-05-08 15:40:02 +02:00
Ayo
5c80d196ce chore(docs): upgrade to astro 6 2026-05-08 15:34:11 +02:00
Ayo
74fbf45fcf feat: change all github repo to new username: ayo-run 2026-05-08 14:47:10 +02:00
Ayo
64a2a3fc87 chore: use hi@ayo.run email 2026-03-18 11:35:23 +01:00
Ayo
64d0451d72 chore: fix lint issues 2026-03-11 22:38:23 +01:00
Ayo
593944b619 feat(docs): remove discord from social links and ways to get in touch 2026-03-11 22:25:37 +01:00
ayo
c0b3350bd2
chore: housekeeping (#55)
* chore: remove lit & fast reference in readme

* chore: remove sourcehut build automation

* chore(docs): various changes

* chore: update attribution
2025-06-07 23:35:36 +02:00
ayo
9abf7fcc6b
chore: housekeeping (#54)
* chore: remove lit & fast reference in readme

* chore: remove sourcehut build automation

* chore(docs): various changes
2025-05-30 01:24:39 +02:00
58e9d14b79 docs: mention option to start a gh discussion 2025-04-21 22:36:09 +02:00
b6104ad1a1 feat(docs): clarify & emphasize alternative options 2025-04-07 15:26:34 +01:00
6f11f6fe85 feat(docs): ultimate marketing energy 2025-03-30 21:09:45 +02:00
e0e3151727 feat(docs): update marketing stuff 2025-03-30 21:08:35 +02:00
f98119162f feat(docs): marketing stuff 2025-03-30 21:07:14 +02:00
64113c242c feat(docs): add discord social; update icons 2025-03-30 20:18:39 +02:00
0c7cc10750 feat(docs): show shadow-dom before styling guide 2025-03-30 12:27:48 +02:00
c8c8eb90f3 feat(docs): add codepen for constructable stylesheets 2025-03-30 12:17:24 +02:00
ea4cca1958 feat(docs): add guide for shadow dom & constructable stylesheets 2025-03-30 12:14:56 +02:00
fdc3b428e5 feat(docs): update ways to request regarding distribution 2025-03-29 21:02:52 +01:00
2a11ac1d77 feat(docs): show github link 2025-03-29 10:48:35 +01:00
822fdf95a3 feat(docs): mention FAST & Lit 2025-03-29 08:56:20 +01:00
422b7a2e06 feat(docs): use note Aside on prop access guide 2025-03-27 20:40:39 +01:00
4c8be71875 feat(docs): indicate tip for using lit-html 2025-03-27 16:28:00 +01:00
e80b157d9d feat(docs): reduce "just" 2025-03-27 13:34:36 +01:00