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.
- package/README.md +8 -6
- package/dist/bitwrench-bccl.cjs.js +1 -1
- package/dist/bitwrench-bccl.cjs.min.js +1 -1
- package/dist/bitwrench-bccl.cjs.min.js.gz +0 -0
- package/dist/bitwrench-bccl.esm.js +1 -1
- package/dist/bitwrench-bccl.esm.min.js +1 -1
- package/dist/bitwrench-bccl.esm.min.js.gz +0 -0
- package/dist/bitwrench-bccl.umd.js +1 -1
- package/dist/bitwrench-bccl.umd.min.js +1 -1
- package/dist/bitwrench-bccl.umd.min.js.gz +0 -0
- package/dist/bitwrench-code-edit.cjs.js +1 -1
- package/dist/bitwrench-code-edit.cjs.min.js +1 -1
- package/dist/bitwrench-code-edit.es5.js +1 -1
- package/dist/bitwrench-code-edit.es5.min.js +1 -1
- package/dist/bitwrench-code-edit.esm.js +1 -1
- package/dist/bitwrench-code-edit.esm.min.js +1 -1
- package/dist/bitwrench-code-edit.umd.js +1 -1
- package/dist/bitwrench-code-edit.umd.min.js +1 -1
- package/dist/bitwrench-code-edit.umd.min.js.gz +0 -0
- package/dist/bitwrench-debug.js +1 -1
- package/dist/bitwrench-debug.min.js +1 -1
- package/dist/bitwrench-lean.cjs.js +41 -22
- package/dist/bitwrench-lean.cjs.min.js +4 -4
- package/dist/bitwrench-lean.cjs.min.js.gz +0 -0
- package/dist/bitwrench-lean.es5.js +43 -24
- package/dist/bitwrench-lean.es5.min.js +4 -4
- package/dist/bitwrench-lean.es5.min.js.gz +0 -0
- package/dist/bitwrench-lean.esm.js +41 -22
- package/dist/bitwrench-lean.esm.min.js +4 -4
- package/dist/bitwrench-lean.esm.min.js.gz +0 -0
- package/dist/bitwrench-lean.umd.js +41 -22
- package/dist/bitwrench-lean.umd.min.js +4 -4
- package/dist/bitwrench-lean.umd.min.js.gz +0 -0
- package/dist/bitwrench-util-css.cjs.js +1 -1
- package/dist/bitwrench-util-css.cjs.min.js +1 -1
- package/dist/bitwrench-util-css.es5.js +1 -1
- package/dist/bitwrench-util-css.es5.min.js +1 -1
- package/dist/bitwrench-util-css.esm.js +1 -1
- package/dist/bitwrench-util-css.esm.min.js +1 -1
- package/dist/bitwrench-util-css.umd.js +1 -1
- package/dist/bitwrench-util-css.umd.min.js +1 -1
- package/dist/bitwrench-util-css.umd.min.js.gz +0 -0
- package/dist/bitwrench.cjs.js +41 -22
- package/dist/bitwrench.cjs.min.js +6 -6
- package/dist/bitwrench.cjs.min.js.gz +0 -0
- package/dist/bitwrench.css +6 -6
- package/dist/bitwrench.d.ts +659 -0
- package/dist/bitwrench.es5.js +43 -24
- package/dist/bitwrench.es5.min.js +4 -4
- package/dist/bitwrench.es5.min.js.gz +0 -0
- package/dist/bitwrench.esm.js +41 -22
- package/dist/bitwrench.esm.min.js +4 -4
- package/dist/bitwrench.esm.min.js.gz +0 -0
- package/dist/bitwrench.min.css +1 -1
- package/dist/bitwrench.umd.js +41 -22
- package/dist/bitwrench.umd.min.js +6 -6
- package/dist/bitwrench.umd.min.js.gz +0 -0
- package/dist/builds.json +88 -88
- package/dist/bwserve.cjs.js +2 -2
- package/dist/bwserve.esm.js +2 -2
- package/dist/sri.json +46 -46
- package/docs/README.md +5 -3
- package/docs/bitwrench-mcp.md +1 -1
- package/docs/bitwrench-taco-schema-discussion.md +694 -0
- package/docs/bitwrench_api.md +4 -4
- package/docs/bitwrench_typescript_usage.md +441 -0
- package/docs/component-cheatsheet.md +1 -1
- package/docs/framework-translation-table.md +1 -1
- package/docs/llm-bitwrench-guide.md +28 -1
- package/docs/routing.md +1 -1
- package/docs/thinking-in-bitwrench.md +3 -3
- package/docs/tutorial-bwserve.md +1 -1
- package/docs/tutorial-website.md +1 -1
- package/package.json +7 -3
- package/readme.html +14 -8
- package/src/bitwrench-styles.js +17 -17
- package/src/bitwrench.d.ts +659 -0
- package/src/bitwrench.js +21 -2
- package/src/cli/serve.js +1 -0
- package/src/mcp/live.js +3 -1
- package/src/mcp/server.js +7 -7
- 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
|
|
31
|
-
| [Component Library](component-library.md) | All
|
|
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
|
|
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
|
|
package/docs/bitwrench-mcp.md
CHANGED
|
@@ -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
|
|
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
|
|