kopular 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LLM.md +4 -2
- package/package.json +1 -1
package/LLM.md
CHANGED
|
@@ -442,8 +442,10 @@ class Counter : Component {
|
|
|
442
442
|
to the exact same `VElement.Create`/`.AppendChild`/`.TextContent`/named-event-field
|
|
443
443
|
calls a hand-written `Render()` would use. `(event)` only accepts `click`/`input`/
|
|
444
444
|
`blur`/`change` — `VElement`'s own fixed set — anything else is a compile error
|
|
445
|
-
(`KS5016`). `[prop]`/static `attr="..."` assign directly for `id`/`className`/`value
|
|
446
|
-
|
|
445
|
+
(`KS5016`). `[prop]`/static `attr="..."` assign directly for `id`/`className`/`value`
|
|
446
|
+
**and the two real bool fields, `disabled`/`checked`** (the compiler's own
|
|
447
|
+
`BOOL_FIELD_NAMES` map — a boolean attribute is present-or-absent, so only a real
|
|
448
|
+
property can turn one back off); anything else goes through `SetAttr` instead.
|
|
447
449
|
- **`*mount="expr"`** embeds a live child Component declaratively — desugars to
|
|
448
450
|
`VElement.Mount(expr)`, the same mechanism a hand-written `Render()` uses (see "Nested
|
|
449
451
|
component composition" below). Unlike `*if`/`*for`, it composes with either — `*for="Row
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kopular",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "Kopular: a small component framework for KopScript — components, reactive state, constructor-injected services, routing, real compiled templates, and HTTP, with no DI container",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|