bitwrench 2.0.23 → 2.0.25

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 (82) hide show
  1. package/README.md +8 -6
  2. package/dist/bitwrench-bccl.cjs.js +1 -1
  3. package/dist/bitwrench-bccl.cjs.min.js +1 -1
  4. package/dist/bitwrench-bccl.cjs.min.js.gz +0 -0
  5. package/dist/bitwrench-bccl.esm.js +1 -1
  6. package/dist/bitwrench-bccl.esm.min.js +1 -1
  7. package/dist/bitwrench-bccl.esm.min.js.gz +0 -0
  8. package/dist/bitwrench-bccl.umd.js +1 -1
  9. package/dist/bitwrench-bccl.umd.min.js +1 -1
  10. package/dist/bitwrench-bccl.umd.min.js.gz +0 -0
  11. package/dist/bitwrench-code-edit.cjs.js +1 -1
  12. package/dist/bitwrench-code-edit.cjs.min.js +1 -1
  13. package/dist/bitwrench-code-edit.es5.js +1 -1
  14. package/dist/bitwrench-code-edit.es5.min.js +1 -1
  15. package/dist/bitwrench-code-edit.esm.js +1 -1
  16. package/dist/bitwrench-code-edit.esm.min.js +1 -1
  17. package/dist/bitwrench-code-edit.umd.js +1 -1
  18. package/dist/bitwrench-code-edit.umd.min.js +1 -1
  19. package/dist/bitwrench-code-edit.umd.min.js.gz +0 -0
  20. package/dist/bitwrench-debug.js +1 -1
  21. package/dist/bitwrench-debug.min.js +1 -1
  22. package/dist/bitwrench-lean.cjs.js +41 -22
  23. package/dist/bitwrench-lean.cjs.min.js +4 -4
  24. package/dist/bitwrench-lean.cjs.min.js.gz +0 -0
  25. package/dist/bitwrench-lean.es5.js +43 -24
  26. package/dist/bitwrench-lean.es5.min.js +4 -4
  27. package/dist/bitwrench-lean.es5.min.js.gz +0 -0
  28. package/dist/bitwrench-lean.esm.js +41 -22
  29. package/dist/bitwrench-lean.esm.min.js +4 -4
  30. package/dist/bitwrench-lean.esm.min.js.gz +0 -0
  31. package/dist/bitwrench-lean.umd.js +41 -22
  32. package/dist/bitwrench-lean.umd.min.js +4 -4
  33. package/dist/bitwrench-lean.umd.min.js.gz +0 -0
  34. package/dist/bitwrench-util-css.cjs.js +1 -1
  35. package/dist/bitwrench-util-css.cjs.min.js +1 -1
  36. package/dist/bitwrench-util-css.es5.js +1 -1
  37. package/dist/bitwrench-util-css.es5.min.js +1 -1
  38. package/dist/bitwrench-util-css.esm.js +1 -1
  39. package/dist/bitwrench-util-css.esm.min.js +1 -1
  40. package/dist/bitwrench-util-css.umd.js +1 -1
  41. package/dist/bitwrench-util-css.umd.min.js +1 -1
  42. package/dist/bitwrench-util-css.umd.min.js.gz +0 -0
  43. package/dist/bitwrench.cjs.js +41 -22
  44. package/dist/bitwrench.cjs.min.js +6 -6
  45. package/dist/bitwrench.cjs.min.js.gz +0 -0
  46. package/dist/bitwrench.css +6 -6
  47. package/dist/bitwrench.d.ts +659 -0
  48. package/dist/bitwrench.es5.js +43 -24
  49. package/dist/bitwrench.es5.min.js +4 -4
  50. package/dist/bitwrench.es5.min.js.gz +0 -0
  51. package/dist/bitwrench.esm.js +41 -22
  52. package/dist/bitwrench.esm.min.js +4 -4
  53. package/dist/bitwrench.esm.min.js.gz +0 -0
  54. package/dist/bitwrench.min.css +1 -1
  55. package/dist/bitwrench.umd.js +41 -22
  56. package/dist/bitwrench.umd.min.js +6 -6
  57. package/dist/bitwrench.umd.min.js.gz +0 -0
  58. package/dist/builds.json +88 -88
  59. package/dist/bwserve.cjs.js +2 -2
  60. package/dist/bwserve.esm.js +2 -2
  61. package/dist/sri.json +46 -46
  62. package/docs/README.md +5 -3
  63. package/docs/bitwrench-mcp.md +1 -1
  64. package/docs/bitwrench-taco-schema-discussion.md +694 -0
  65. package/docs/bitwrench_api.md +4 -4
  66. package/docs/bitwrench_typescript_usage.md +441 -0
  67. package/docs/component-cheatsheet.md +1 -1
  68. package/docs/framework-translation-table.md +1 -1
  69. package/docs/llm-bitwrench-guide.md +28 -1
  70. package/docs/routing.md +1 -1
  71. package/docs/thinking-in-bitwrench.md +3 -3
  72. package/docs/tutorial-bwserve.md +1 -1
  73. package/docs/tutorial-website.md +1 -1
  74. package/package.json +7 -3
  75. package/readme.html +14 -8
  76. package/src/bitwrench-styles.js +17 -17
  77. package/src/bitwrench.d.ts +659 -0
  78. package/src/bitwrench.js +21 -2
  79. package/src/cli/serve.js +1 -0
  80. package/src/mcp/live.js +3 -1
  81. package/src/mcp/server.js +7 -7
  82. package/src/version.js +3 -3
package/docs/README.md CHANGED
@@ -13,6 +13,7 @@ These guides cover how to build UIs with bitwrench.
13
13
  | How do I theme my app? | [Theming](theming.md) |
14
14
  | I'm an LLM generating bitwrench code | [LLM Guide](llm-bitwrench-guide.md) |
15
15
  | How do I use bwmcp with an AI agent? | [bwmcp MCP Server](bitwrench-mcp.md) |
16
+ | How do I use TypeScript? | [TypeScript Usage Guide](bitwrench_typescript_usage.md) |
16
17
  | Full API with signatures? | [API Reference](bitwrench_api.md) |
17
18
 
18
19
  ## Start Here
@@ -27,8 +28,8 @@ These guides cover how to build UIs with bitwrench.
27
28
  | [Thinking in Bitwrench](thinking-in-bitwrench.md) | Design philosophy: why TACO exists, component model vs. DOM templates |
28
29
  | [TACO Format](taco-format.md) | The `{t, a, c, o}` object format that bitwrench uses for everything |
29
30
  | [State Management](state-management.md) | Three-level component model, reactive state, cross-component communication |
30
- | [Component Cheat Sheet](component-cheatsheet.md) | Scannable table of all 50+ components with capabilities and handles |
31
- | [Component Library](component-library.md) | All 50+ `make*()` functions with full signatures and examples |
31
+ | [Component Cheat Sheet](component-cheatsheet.md) | Scannable table of all components with capabilities and handles |
32
+ | [Component Library](component-library.md) | All `make*()` functions with full signatures and examples |
32
33
  | [Routing](routing.md) | Client-side router: hash/history mode, route params, guards, pub/sub |
33
34
  | [Theming](theming.md) | Palette-driven theme generation, presets, design tokens |
34
35
  | [CLI](cli.md) | The `bwcli` command: file conversion, themes, standalone pages |
@@ -36,6 +37,7 @@ These guides cover how to build UIs with bitwrench.
36
37
  | [bwcli attach](bw-attach.md) | Remote debugging REPL: terminal-based inspector for any bitwrench page |
37
38
  | [App Patterns](app-patterns.md) | Canonical project layouts: dashboard, SPA, bwserve, embedded, static site |
38
39
  | [LLM Guide](llm-bitwrench-guide.md) | Compact single-file reference for AI-assisted development |
40
+ | [TypeScript Usage Guide](bitwrench_typescript_usage.md) | Import patterns, typed configs, TACO types, tree-shaking |
39
41
  | [bwmcp MCP Server](bitwrench-mcp.md) | MCP server for AI agents: tool catalog, live rendering, screenshots |
40
42
 
41
43
  ## Tutorials
@@ -69,7 +71,7 @@ Bitwrench describes UI as plain JavaScript objects. There is no JSX, no template
69
71
  The library provides four things:
70
72
 
71
73
  1. **A rendering engine** that turns objects into HTML or DOM
72
- 2. **A component library** of 50+ ready-made UI elements
74
+ 2. **A component library** of ready-made UI elements
73
75
  3. **A reactivity system** that updates the DOM when state changes
74
76
  4. **A client-side router** that maps URLs to views with guards and pub/sub
75
77
 
@@ -150,7 +150,7 @@ These return documentation text. They teach the LLM how to use bitwrench.
150
150
  |------|-------------|--------------|
151
151
  | `bitwrench_start_here` | 30-line orientation: TACO, workflow, key rules | Always first |
152
152
  | `bitwrench_guide` | Full developer guide (629 lines). Optional `section` filter. | Before building UI |
153
- | `bitwrench_components` | Props reference for all 50+ make*() components. Optional `component` filter. | When configuring components |
153
+ | `bitwrench_components` | Props reference for all make*() components. Optional `component` filter. | When configuring components |
154
154
  | `bitwrench_server_guide` | bwserve tutorial for server-driven UI | Only for live/streaming UI |
155
155
  | `bitwrench_themes` | Theme presets, palettes, color utilities | When choosing/customizing themes |
156
156