smbls 3.14.879 → 3.14.881
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/CHANGELOG.md +16 -0
- package/dist/smbls.cjs +47 -45
- package/dist/smbls.cjs.map +3 -3
- package/dist/smbls.core.chunk-3H2HJXO5.esm.js +22 -0
- package/dist/smbls.core.chunk-3H2HJXO5.esm.js.map +6 -0
- package/dist/smbls.core.chunk-3LAKUVP7.esm.js +37 -0
- package/dist/smbls.core.chunk-3LAKUVP7.esm.js.map +1 -0
- package/dist/{smbls.core.chunk-7A7ZHIPY.esm.js → smbls.core.chunk-4LVYOA5Q.esm.js} +2 -2
- package/dist/{smbls.core.chunk-AHBTKYPQ.esm.js → smbls.core.chunk-JETT5GTF.esm.js} +3 -3
- package/dist/{smbls.core.chunk-AHBTKYPQ.esm.js.map → smbls.core.chunk-JETT5GTF.esm.js.map} +1 -1
- package/dist/{smbls.core.chunk-JVLEEAGM.esm.js → smbls.core.chunk-NQEIROW4.esm.js} +3 -3
- package/dist/{smbls.core.chunk-JVLEEAGM.esm.js.map → smbls.core.chunk-NQEIROW4.esm.js.map} +1 -1
- package/dist/smbls.core.chunk-TPU4OVYT.esm.js +28 -0
- package/dist/smbls.core.chunk-TPU4OVYT.esm.js.map +1 -0
- package/dist/{smbls.core.dropdown-OEMIT6SL.esm.js → smbls.core.dropdown-YSPRMFZD.esm.js} +2 -2
- package/dist/smbls.core.esm.js +1 -1
- package/dist/smbls.core.fetch-MQ6KBJVY.esm.js +2 -0
- package/dist/smbls.core.fetch-MQ6KBJVY.esm.js.map +1 -0
- package/dist/{smbls.core.fetchOnCreate-225YNSG4.esm.js → smbls.core.fetchOnCreate-HPABQVQS.esm.js} +2 -2
- package/dist/{smbls.core.inspect-SAUJY7PK.esm.js → smbls.core.inspect-3DZUFJGB.esm.js} +2 -2
- package/dist/{smbls.core.lazyParts-PBQU6EMA.esm.js → smbls.core.lazyParts-LO5CTNLB.esm.js} +2 -2
- package/dist/{smbls.core.lazyParts-PBQU6EMA.esm.js.map → smbls.core.lazyParts-LO5CTNLB.esm.js.map} +1 -1
- package/dist/{smbls.core.sync-3ILZQDY7.esm.js → smbls.core.sync-UQVA3HWA.esm.js} +2 -2
- package/dist/smbls.core.windows-ZGWTLJ55.esm.js +2 -0
- package/dist/smbls.core.windows-ZGWTLJ55.esm.js.map +6 -0
- package/dist/smbls.embed.iife.js +1 -1
- package/dist/smbls.embed.iife.js.map +1 -1
- package/dist/smbls.esm.js +47 -45
- package/dist/smbls.esm.js.map +1 -1
- package/dist/smbls.iife-prod-string.js +3 -0
- package/dist/smbls.iife-string.js +2 -2
- package/dist/smbls.iife.js +1 -1
- package/dist/smbls.iife.js.map +1 -1
- package/dist/smbls.server-utils.esm.js.map +1 -1
- package/dist/smbls.socket-io-client.esm.js.map +1 -1
- package/package.json +11 -10
- package/dist/smbls.core.chunk-ENREPXDR.esm.js +0 -22
- package/dist/smbls.core.chunk-ENREPXDR.esm.js.map +0 -6
- package/dist/smbls.core.chunk-IU3SXCSR.esm.js +0 -27
- package/dist/smbls.core.chunk-IU3SXCSR.esm.js.map +0 -1
- package/dist/smbls.core.chunk-QYEEHAQK.esm.js +0 -36
- package/dist/smbls.core.chunk-QYEEHAQK.esm.js.map +0 -1
- package/dist/smbls.core.fetch-QIVSDIDT.esm.js +0 -2
- package/dist/smbls.core.fetch-QIVSDIDT.esm.js.map +0 -1
- package/dist/smbls.core.windows-OE4KI5RC.esm.js +0 -2
- package/dist/smbls.core.windows-OE4KI5RC.esm.js.map +0 -6
- /package/dist/{smbls.core.chunk-7A7ZHIPY.esm.js.map → smbls.core.chunk-4LVYOA5Q.esm.js.map} +0 -0
- /package/dist/{smbls.core.dropdown-OEMIT6SL.esm.js.map → smbls.core.dropdown-YSPRMFZD.esm.js.map} +0 -0
- /package/dist/{smbls.core.fetchOnCreate-225YNSG4.esm.js.map → smbls.core.fetchOnCreate-HPABQVQS.esm.js.map} +0 -0
- /package/dist/{smbls.core.inspect-SAUJY7PK.esm.js.map → smbls.core.inspect-3DZUFJGB.esm.js.map} +0 -0
- /package/dist/{smbls.core.sync-3ILZQDY7.esm.js.map → smbls.core.sync-UQVA3HWA.esm.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# smbls
|
|
2
2
|
|
|
3
|
+
## 3.14.881
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c1f4e66: A prefetch (`queryClient.prefetchQuery`, `el.call('prefetchQuery', config)`) now owns its answer by the tenant scope it started in, as a query's reply already did. An answer that lands after `root.__fetchScope` changed, or after the scope came back from another one that a query on the same root saw (A → B → A), is written nowhere; a scope that changes while the adapter resolves sends no request. Before, the prefetch wrote its rows under the key it built at the start whatever the scope had become, the one cache write of the plugin without that check. The element that asked does not own the answer (a link a click unmounts), so the page's query still takes over the prefetch it joined. `smbls`: the bundles carry the new check.
|
|
8
|
+
|
|
9
|
+
## 3.14.880
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 3257c05: A flat `placeholder` now renders only on `input` and `textarea`; use `attr: { placeholder }` on other elements. `placeholder` is not a global HTML attribute (the WHATWG index lists it for those two fields only), but attrs-in-props listed it among the globals, so a field wrapper's flat `placeholder` reached its `<div>` as well: a shared combobox wrapper showed its raw polyglot key as an attribute. The prop itself stays on the element, so a child still reads `el.parent.placeholder` as a value or a function. `@symbo.ls/frank-audit` rule FA105 asks the same tables, so it no longer tells you to move `attr: { placeholder }` out of `attr:` on an element that is not a field.
|
|
14
|
+
- 9184635: New element key `deferUntil: (el, s) => boolean`: an element the page does not build until the function first returns true. Until then it waits parked, as behind a false `if:` — no node, no published markup, nothing for a hydrating boot to adopt. The first true builds it once, in its place, with its full lifecycle; after that the key never removes it, so the element's own hide rules close it and its exit transition plays on a live node. With an `if:` beside it, the element opens at the first moment both are true and `if:` alone decides after that. A function that throws counts as false and warns once. On the landing, four hidden overlays built at first open cost 0.55–0.63 s of main-thread work on a phone (CPU ×4) and 501 nodes. `@symbo.ls/windows` `ModalRoot` uses it: slot 0 is built at boot and slot N when the stack first holds N layers (closed, while the modal below it opens), so every open still lands on a built slot with its enter fade, autofocus and focus trap, and a page builds one slot instead of five. `@symbo.ls/frank-audit` knows the key (the element registry table and the Rule 19 non-CSS keys).
|
|
15
|
+
- 38c23b9: `smbls push` and every other frank run now warn when a hand-written `context.js` (or another entry you name) does not import a file of your `designSystem/` folder. The pushed record carries only the design system the entry exports, so the tokens of a file the entry leaves out never reach it — for example a hand copy of `sizes` in `context.js` that lacks a token `designSystem/sizes.js` defines. The warning names each file, the entry and the import to add. `index.js` and test files in the folder are not checked, and a project without `context.js` (frank builds its entry from `designSystem/index.js`) is not either. Nothing is merged: the entry stays what is pushed.
|
|
16
|
+
- e496c10: `smbls publish --ssr` now stops before any publish request when a route fails to pre-render, exits 1 and names every failed route with its error. A route fails when its render throws, renders nothing, or leaves out a part of the page on an error the framework caught. Until now the pre-render step was never fatal, and a caught error was no failure at all: a design-system token missing from the design system made every route lose its content, the routes were stored as rendered, and the version was published. To keep a route out of the pre-render on purpose, give its page `prerender: false` or list it in symbols.json `brender.exclude`. The parts come from a new `renderError` plugin hook: `@symbo.ls/element` calls it when a child, a `children:` row or a `children:` factory fails to build, and `@symbo.ls/router` when a route's content fails, each beside its existing console line (a plugin cannot silence that line). `@symbo.ls/brender` records them per render and returns them as `renderErrors` from `render`, `renderRoute` and `renderPage`.
|
|
17
|
+
- 4b2e9dd: A production page now inlines a production build of the smbls runtime, `smbls/iife-prod-string`, written by `build:iife` next to `smbls/iife-string` (same version, same 768 exports, no source map). It drops every dev-only warning gate and every author-mistake warning at framework build time: deployed sites printed 61 author-mistake warnings to their visitors, and carried the dev-only warning text they never printed. Real runtime failures (`[smbls] effect error:`, a route that failed to load) still report. Which build a page gets follows its deployment identity: `@symbo.ls/mermaid` `renderProjectHtml` asks the new `loadSmblsIifeForChannel(channel)`, which gives the production build to the production channel (the prod Worker: production hosts, `*.at.symbo.ls`, custom domains; the server's static publish) and the loud build to every other channel (the dev Worker, staging, local) — so dev and staging pages still name an author's mistake. The production build loads on first use through a guarded dynamic import, and an smbls without it, an empty one, or one of another version keeps the loud build. `@symbo.ls/runner` `smbls build` inlines the build of its target channel (`buildRuntimeChannel`: `SYMBOLS_CHANNEL`, an API base, `SYMBOLS_LOCAL`, else production); `smbls start` keeps the loud build.
|
|
18
|
+
|
|
3
19
|
## 3.14.879
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|