smbls 3.14.876 → 3.14.878
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 +15 -0
- package/dist/smbls.cjs +44 -44
- package/dist/smbls.cjs.map +2 -2
- package/dist/{smbls.core.chunk-3V2V7CLR.esm.js → smbls.core.chunk-EWQC5I2T.esm.js} +9 -9
- package/dist/smbls.core.chunk-EWQC5I2T.esm.js.map +1 -0
- package/dist/smbls.core.chunk-HX5DBP4W.esm.js +27 -0
- package/dist/smbls.core.chunk-HX5DBP4W.esm.js.map +1 -0
- package/dist/smbls.core.chunk-XCWZVKHU.esm.js +7 -0
- package/dist/{smbls.core.chunk-H37BRSGW.esm.js.map → smbls.core.chunk-XCWZVKHU.esm.js.map} +2 -2
- package/dist/{smbls.core.dropdown-XNCG6OXB.esm.js → smbls.core.dropdown-DOACVHMV.esm.js} +2 -2
- package/dist/smbls.core.esm.js +1 -1
- package/dist/{smbls.core.fetch-LGESGHM7.esm.js → smbls.core.fetch-VA4ORXZO.esm.js} +2 -2
- package/dist/{smbls.core.inspect-OKZDU4NF.esm.js → smbls.core.inspect-ZTY4R27U.esm.js} +2 -2
- package/dist/{smbls.core.sync-LW22SKQ2.esm.js → smbls.core.sync-CFJHH3WU.esm.js} +2 -2
- package/dist/{smbls.core.windows-6OQPJMI3.esm.js → smbls.core.windows-AH6DA6IG.esm.js} +2 -2
- package/dist/smbls.embed.iife.js +1 -1
- package/dist/smbls.embed.iife.js.map +1 -1
- package/dist/smbls.esm.js +45 -45
- package/dist/smbls.esm.js.map +1 -1
- 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 +7 -7
- package/dist/smbls.server-utils.esm.js.map +2 -2
- package/package.json +4 -4
- package/dist/smbls.core.chunk-3V2V7CLR.esm.js.map +0 -1
- package/dist/smbls.core.chunk-A5YECEQ5.esm.js +0 -27
- package/dist/smbls.core.chunk-A5YECEQ5.esm.js.map +0 -1
- package/dist/smbls.core.chunk-H37BRSGW.esm.js +0 -7
- /package/dist/{smbls.core.dropdown-XNCG6OXB.esm.js.map → smbls.core.dropdown-DOACVHMV.esm.js.map} +0 -0
- /package/dist/{smbls.core.fetch-LGESGHM7.esm.js.map → smbls.core.fetch-VA4ORXZO.esm.js.map} +0 -0
- /package/dist/{smbls.core.inspect-OKZDU4NF.esm.js.map → smbls.core.inspect-ZTY4R27U.esm.js.map} +0 -0
- /package/dist/{smbls.core.sync-LW22SKQ2.esm.js.map → smbls.core.sync-CFJHH3WU.esm.js.map} +0 -0
- /package/dist/{smbls.core.windows-6OQPJMI3.esm.js.map → smbls.core.windows-AH6DA6IG.esm.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# smbls
|
|
2
2
|
|
|
3
|
+
## 3.14.878
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- cf16521: The dev warning for a dropped CSS prop ("is valid CSS, but smbls has no entry for …") no longer fires for a prop the element sets as an attribute. An SVG circle's `cx`, `cy`, `r`, `stroke-width`, `stroke-linecap` and `stroke-dashoffset` are valid CSS too, so a dev mount of a ring logged six warnings although attrs-in-props writes all six to the node. The check now asks the same `checkAttributeByTagName` the attribute loops use; a real dropped prop still warns.
|
|
8
|
+
|
|
9
|
+
## 3.14.877
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 6b34e4a: A built page writes its atomic rules in the app's cascade-tier order (XMA #1283). In the app each rule sits in a tier sheet (`@symbo.ls/css` atomic.js "Cascade tiers": max-width rules narrowest last, min-width widest last, a longhand class after its shorthand). brender's `renderPage` kept the rules of every page of a build in one set and wrote them in that set's order, each where the FIRST page that used it put it: `/` minted `@media (max-width: 560px){…{grid-template-columns:1fr}}`, `/b` minted the 768 px rule after it, and the built `/b` wrote 560 before 768, so at 390 px it showed 2 columns where the app shows 1 (and a longhand class an earlier page minted lost to the shorthand a later page needs). `@symbo.ls/css` exports `tierOfStyle(style)` (the tier of a `<style>` the engine made, read off its `data-tier`; null for any other `<style>`) and `sortByTier(items, tierOf)` (a stable sort in cascade order, on the one tier comparison the sheets' own placement uses). brender's render names the tier of each captured class rule (`classRuleTiers`, also on `renderRoute`'s result: the tier of the engine sheet it was read from, never re-derived from the rule's text), and `renderPage` (both `cssClasses` modes) and `getAccumulatedEmotionCSS` write the rules by tier, in first-written order inside a tier; one page's own rules keep their order, and the `@font-face` rules keep theirs. brender also exports `sortByTier` for a caller that merges several renders: `smbls publish`'s pre-render (`buildSsrCache`) now stores the routes' shared rules (`__ssr.__styles.css`) in tier order, so the platform serves `/b` with 768 before 560 too; with an older brender it keeps the first-seen order. `smbls` re-exports the two helpers (`export *` of `@symbo.ls/css`) and inlines the engine in its bundles.
|
|
14
|
+
- 0db50ef: Under `designSystem.faceWait`, an element that renders with no text of its own now waits for its face once a text is written: a label filled by a later `s.update()`, or an `el.update({ text })`. It was armed only when it rendered, and only if its own text was not empty then; the text hook checked again only elements already armed. Such a text painted in a stand-in face until the face came (XMA #1298: from 408 ms to 3158 ms in the repro). An element that never gets a text costs nothing more: rendered() marks it, nothing checks it. `faceWait: false` still opts an element out.
|
|
15
|
+
- b4c02a8: A faceWait check reads its element's computed style once: the font key that a later class/style/lang write compares with and the font the face match reads now come from the same read. It read the style twice per check, about a tenth of a check's cost at 4x CPU (XMA #1298, cost item b). The key's format is unchanged, so a write that keeps the font still checks nothing.
|
|
16
|
+
- a4fdcb8: The node of an `if:` element's first opening points back at its element (`node.ref`), as every other node does. registerIfEffect's first-activation branch placed the new node with insertIfElementAtDeclaredOrder, which inserts it directly and never wrote `ref`; only a later re-opening set it. `$0.ref` in DevTools, the chrome-connect inspector, the page-agent and any probe that finds elements by `node.ref` missed such an element until it closed and opened again. The apps rendered fine.
|
|
17
|
+
|
|
3
18
|
## 3.14.876
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|