smbls 3.14.848 → 3.14.850

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.
Files changed (43) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/core.js +6 -0
  3. package/dist/smbls.cjs +40 -40
  4. package/dist/smbls.cjs.map +3 -3
  5. package/dist/smbls.core.chunk-3GUNBVRH.esm.js +36 -0
  6. package/dist/smbls.core.chunk-3GUNBVRH.esm.js.map +1 -0
  7. package/dist/{smbls.core.chunk-2F2YRPHM.esm.js → smbls.core.chunk-7SZUGO5L.esm.js} +6 -6
  8. package/dist/smbls.core.chunk-7SZUGO5L.esm.js.map +1 -0
  9. package/dist/smbls.core.chunk-CCELIELA.esm.js +2 -0
  10. package/dist/smbls.core.chunk-CCELIELA.esm.js.map +1 -0
  11. package/dist/smbls.core.chunk-PJSRIWW6.esm.js +7 -0
  12. package/dist/smbls.core.chunk-PJSRIWW6.esm.js.map +6 -0
  13. package/dist/{smbls.core.dropdown-KNMDR2TZ.esm.js → smbls.core.dropdown-7XC7XM76.esm.js} +2 -2
  14. package/dist/smbls.core.esm.js +1 -1
  15. package/dist/smbls.core.fetch-MDXDXO47.esm.js +2 -0
  16. package/dist/smbls.core.fetch-MDXDXO47.esm.js.map +1 -0
  17. package/dist/{smbls.core.inspect-BY4NJMHD.esm.js → smbls.core.inspect-2Y3VVWKT.esm.js} +2 -2
  18. package/dist/{smbls.core.sync-7IUHWBAH.esm.js → smbls.core.sync-MI56XGY7.esm.js} +2 -2
  19. package/dist/{smbls.core.windows-RLXGBXPA.esm.js → smbls.core.windows-OJ24AAGO.esm.js} +2 -2
  20. package/dist/smbls.embed.iife.js +1 -1
  21. package/dist/smbls.esm.js +40 -40
  22. package/dist/smbls.esm.js.map +1 -1
  23. package/dist/smbls.iife-string.js +2 -2
  24. package/dist/smbls.iife.js +1 -1
  25. package/dist/smbls.iife.js.map +1 -1
  26. package/dist/smbls.server-utils.esm.js +2 -2
  27. package/dist/smbls.server-utils.esm.js.map +1 -1
  28. package/dist/smbls.tree-shake.json +18 -2
  29. package/index.js +11 -0
  30. package/package.json +3 -2
  31. package/dist/smbls.core.chunk-2F2YRPHM.esm.js.map +0 -6
  32. package/dist/smbls.core.chunk-EI3G25LW.esm.js +0 -7
  33. package/dist/smbls.core.chunk-EI3G25LW.esm.js.map +0 -6
  34. package/dist/smbls.core.chunk-GBRQOSKJ.esm.js +0 -36
  35. package/dist/smbls.core.chunk-GBRQOSKJ.esm.js.map +0 -6
  36. package/dist/smbls.core.chunk-YN5FXJKZ.esm.js +0 -2
  37. package/dist/smbls.core.chunk-YN5FXJKZ.esm.js.map +0 -6
  38. package/dist/smbls.core.fetch-LOKOAP2Y.esm.js +0 -2
  39. package/dist/smbls.core.fetch-LOKOAP2Y.esm.js.map +0 -6
  40. /package/dist/{smbls.core.dropdown-KNMDR2TZ.esm.js.map → smbls.core.dropdown-7XC7XM76.esm.js.map} +0 -0
  41. /package/dist/{smbls.core.inspect-BY4NJMHD.esm.js.map → smbls.core.inspect-2Y3VVWKT.esm.js.map} +0 -0
  42. /package/dist/{smbls.core.sync-7IUHWBAH.esm.js.map → smbls.core.sync-MI56XGY7.esm.js.map} +0 -0
  43. /package/dist/{smbls.core.windows-RLXGBXPA.esm.js.map → smbls.core.windows-OJ24AAGO.esm.js.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # smbls
2
2
 
3
+ ## 3.14.850
4
+
5
+ ### Patch Changes
6
+
7
+ - 75fc737: Round 8, XMA ("on a slow desktop, data holds still"): the text of a page built ahead no longer falls back to the system font while the app takes the page over.
8
+
9
+ - Cause: Chrome makes new, unloaded `FontFace` objects when the style sheet that holds a page's `@font-face` rules changes. The takeover changed it twice. First, smbls inserted the framework's default `SourceSans` face, a face with no file (`src: ;`). Second, it removed the server's styles and copied their faces into a new `<style data-smbls-faces>`. Each time the text drew in the fallback font for one to three frames, and every text block changed size. Measured on a fixture page of 40 data blocks, desktop 1440 px, CPU 6x slower: 45,828 px of layout change in 2 frames with `build.prepareDesignSystem` on, 68,742 px in 3 frames with `{ shell: false, pages: false }`. Now 0 px in both, 4 of 4 runs.
10
+ - `@symbo.ls/brender` `renderPage` writes the page's `@font-face` rules in a `<style data-smbls-faces>` of their own, ahead of `<style data-brender>`. They are no longer in `<style data-emotion="smbls">`. The takeover does not select that sheet, so it stays for the page's life and keeps its faces loaded. `splitCapturedCSS` does not change.
11
+ - `smbls` `applyFontFaces` does not insert a face that names no file.
12
+ - A post-build step that moves the `@font-face` rules out of the server's styles finds none there now. It can leave `<style data-smbls-faces>` where it is.
13
+
14
+ ## 3.14.849
15
+
16
+ ### Patch Changes
17
+
18
+ - Round 8 patch (XMA test of 3.14.848):
19
+ - The `esm-core` dist (`smblsEntry: "core"`) gets the same namespace cleanup as the full `esm` dist: each split file owns a pure namespace helper, so unused namespace objects drop in every build.
20
+ - `build.treeShakeFeatures` triggers use only the settings that switch a feature on. liveSync: `socketUrl`, `notifications: true`, `verbose: true`, the runner (not the member name `editor`, not `livesync`). lazyRoutes: `lazy` as an object key or an assigned non-literal member, or `loadLazy` (not `React.lazy`, `lazy: true`, `loading: 'lazy'`).
21
+ - New `build.treeShakeFeatures: { drop: [...] }` forces a drop; refused with a warning when the framework uses the feature or `keep` lists it.
22
+
3
23
  ## 3.14.848
4
24
 
5
25
  ### Patch Changes
package/core.js CHANGED
@@ -28,6 +28,12 @@
28
28
  export * from '@symbo.ls/signal'
29
29
  export * from '@symbo.ls/css'
30
30
 
31
+ // `@symbo.ls/signal`'s own `VERSION` (export * above) names the ADOPTED
32
+ // signal ENGINE, not this package — see index.js for the full note
33
+ // (FW-SMBLS-VERSION-EXPORT-IS-A-STALE-CONSTANT-1). Kept in step with
34
+ // index.js's override so coreEntry.test.js's "same bindings" check holds.
35
+ export { VERSION } from './src/version.js'
36
+
31
37
  // Core framework
32
38
  export * from '@symbo.ls/utils'
33
39
  export { update, dispose, remove, REGISTRY, LIFECYCLE_EVENTS, DELEGATED_EVENTS, MIXINS, addDelegatedEvent, removeDelegatedEvent, registerEvent, cacheNode, detectTag, createHTMLNode, isValidTag, isSvgTag, SVG_TAGS, applyExtends, addMethods } from '@symbo.ls/element'