smbls 3.14.847 → 3.14.849

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 (45) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/core.js +6 -0
  3. package/dist/smbls.cjs +46 -46
  4. package/dist/smbls.cjs.map +3 -3
  5. package/dist/smbls.core.chunk-7SZUGO5L.esm.js +36 -0
  6. package/dist/smbls.core.chunk-7SZUGO5L.esm.js.map +1 -0
  7. package/dist/smbls.core.chunk-CCELIELA.esm.js +2 -0
  8. package/dist/smbls.core.chunk-CCELIELA.esm.js.map +1 -0
  9. package/dist/smbls.core.chunk-DF7QFXYQ.esm.js +36 -0
  10. package/dist/smbls.core.chunk-DF7QFXYQ.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-MZ3W3DXX.esm.js → smbls.core.dropdown-WHTRDSTC.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-RUKGR5EW.esm.js → smbls.core.inspect-2Y3VVWKT.esm.js} +2 -2
  18. package/dist/{smbls.core.sync-Q2XHZCCY.esm.js → smbls.core.sync-CFCAWBC2.esm.js} +2 -2
  19. package/dist/{smbls.core.windows-FPJLEOZB.esm.js → smbls.core.windows-ICMSWA7V.esm.js} +2 -2
  20. package/dist/smbls.embed.iife.js +1 -1
  21. package/dist/smbls.embed.iife.js.map +1 -1
  22. package/dist/smbls.esm.js +46 -46
  23. package/dist/smbls.esm.js.map +1 -6
  24. package/dist/smbls.iife-string.js +2 -2
  25. package/dist/smbls.iife.js +1 -1
  26. package/dist/smbls.iife.js.map +1 -1
  27. package/dist/smbls.server-utils.esm.js +6 -6
  28. package/dist/smbls.server-utils.esm.js.map +1 -1
  29. package/dist/smbls.tree-shake.json +113 -1
  30. package/index.js +11 -0
  31. package/package.json +7 -6
  32. package/dist/smbls.core.chunk-463ZMXSP.esm.js +0 -7
  33. package/dist/smbls.core.chunk-463ZMXSP.esm.js.map +0 -6
  34. package/dist/smbls.core.chunk-CHOPXIH6.esm.js +0 -36
  35. package/dist/smbls.core.chunk-CHOPXIH6.esm.js.map +0 -6
  36. package/dist/smbls.core.chunk-L5L4R3IM.esm.js +0 -36
  37. package/dist/smbls.core.chunk-L5L4R3IM.esm.js.map +0 -6
  38. package/dist/smbls.core.chunk-YN5FXJKZ.esm.js +0 -2
  39. package/dist/smbls.core.chunk-YN5FXJKZ.esm.js.map +0 -6
  40. package/dist/smbls.core.fetch-RYVOUPSO.esm.js +0 -2
  41. package/dist/smbls.core.fetch-RYVOUPSO.esm.js.map +0 -6
  42. /package/dist/{smbls.core.dropdown-MZ3W3DXX.esm.js.map → smbls.core.dropdown-WHTRDSTC.esm.js.map} +0 -0
  43. /package/dist/{smbls.core.inspect-RUKGR5EW.esm.js.map → smbls.core.inspect-2Y3VVWKT.esm.js.map} +0 -0
  44. /package/dist/{smbls.core.sync-Q2XHZCCY.esm.js.map → smbls.core.sync-CFCAWBC2.esm.js.map} +0 -0
  45. /package/dist/{smbls.core.windows-FPJLEOZB.esm.js.map → smbls.core.windows-ICMSWA7V.esm.js.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # smbls
2
2
 
3
+ ## 3.14.849
4
+
5
+ ### Patch Changes
6
+
7
+ - Round 8 patch (XMA test of 3.14.848):
8
+ - 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.
9
+ - `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'`).
10
+ - New `build.treeShakeFeatures: { drop: [...] }` forces a drop; refused with a warning when the framework uses the feature or `keep` lists it.
11
+
12
+ ## 3.14.848
13
+
14
+ ### Patch Changes
15
+
16
+ - XMA round 8 (page weight and core size). Default builds look and behave the same; opt-in options save more.
17
+
18
+ Built pages (brender), on by default with no visible change, each with an off switch:
19
+
20
+ - The inline sprite holds only the page's icons (`brender.spriteIcons: 'all'` restores all).
21
+ - Atomic CSS only for classes in the page's markup (`brender.cssClasses: 'all'`).
22
+ - The element-path registry ships as a tree when the client reads it (`brender.registryFormat: 'paths'`).
23
+
24
+ Opt-in:
25
+
26
+ - `build.prepareDesignSystem: { pages: false }`: built pages do not request the prepared design-system file (`false` keeps meaning `{ shell: false }`).
27
+ - `brender.cssVariables: 'page'`: a built page carries only the CSS variables it reads.
28
+ - `build.treeShakeFeatures: true | { keep: [...] }`: a production `smbls build` drops unused autoGrow, inertOutside, bridge, viewEvents, lazy route groups, viewTransition, live sync, the pre-rendered boot (kept when the build pre-renders) and getSafeInk. Using a dropped feature logs a loud error naming the option.
29
+
30
+ Core: the full `esm` dist no longer carries esbuild `__esm` wrappers (namespace objects marked pure): about 2 KB Brotli less in every build.
31
+
32
+ Fix (round 7 options): the build scan for `treeShakeComponents`, `treeShakeIcons`, `treeShakeLibraries` and `treeShakeFeatures` reads only what the app loads (the symbols dir without tests, the entry document, symbols.json, and what they import). Files in scripts/, tests/, tool configs and worker files no longer keep components alive, and they no longer change the build output.
33
+
3
34
  ## 3.14.847
4
35
 
5
36
  ### 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'