bitwrench 2.0.9 → 2.0.11

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 CHANGED
@@ -78,7 +78,7 @@ Or include directly in a page:
78
78
  title: 'Welcome',
79
79
  content: 'Built with plain JavaScript objects.'
80
80
  }),
81
- bw.makeButton({ label: 'Click me', variant: 'primary' })
81
+ bw.makeButton({ text: 'Click me', variant: 'primary' })
82
82
  ]
83
83
  });
84
84
  </script>
@@ -186,13 +186,14 @@ All formats include source maps. A separate CSS file (`bitwrench.css`) is also a
186
186
  - [State & Interactivity](https://deftio.github.io/bitwrench/pages/05-state.html) — `bw.patch()`, `bw.update()`, pub/sub
187
187
  - [Tic Tac Toe Tutorial](https://deftio.github.io/bitwrench/pages/06-tic-tac-toe-tutorial.html) — step-by-step game with state management
188
188
  - [Framework Comparison](https://deftio.github.io/bitwrench/pages/07-framework-comparison.html) — bitwrench vs React, Vue, Svelte
189
+ - [LLM Guide](https://github.com/deftio/bitwrench/blob/main/dev/llm-bitwrench-guide.md) — single-file reference for AI-assisted bitwrench development
189
190
 
190
191
  ## Development
191
192
 
192
193
  ```bash
193
194
  npm install # install dev dependencies
194
195
  npm run build # build all dist formats (UMD, ESM, CJS, ES5)
195
- npm test # run unit tests (284 tests)
196
+ npm test # run unit tests (344 tests)
196
197
  npm run test:cli # run CLI tests (49 tests)
197
198
  npm run test:e2e # run Playwright browser tests
198
199
  npm run lint # run ESLint
@@ -1,4 +1,4 @@
1
- /*! bitwrench v2.0.9 | BSD-2-Clause | http://deftio.com/bitwrench */
1
+ /*! bitwrench v2.0.11 | BSD-2-Clause | https://deftio.github.com/bitwrench/pages */
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- /*! bitwrench v2.0.9 | BSD-2-Clause | http://deftio.com/bitwrench */
1
+ /*! bitwrench v2.0.11 | BSD-2-Clause | https://deftio.github.com/bitwrench/pages */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
4
4
  typeof define === 'function' && define.amd ? define(['exports'], factory) :
@@ -1,4 +1,4 @@
1
- /*! bitwrench v2.0.9 | BSD-2-Clause | http://deftio.com/bitwrench */
1
+ /*! bitwrench v2.0.11 | BSD-2-Clause | https://deftio.github.com/bitwrench/pages */
2
2
  !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bwCodeEdit={})}(this,function(e){"use strict";
3
3
  /**
4
4
  * bitwrench-code-edit.js - syntax-highlighted contenteditable code editor addon
@@ -1,4 +1,4 @@
1
- /*! bitwrench v2.0.9 | BSD-2-Clause | http://deftio.com/bitwrench */
1
+ /*! bitwrench v2.0.11 | BSD-2-Clause | https://deftio.github.com/bitwrench/pages */
2
2
  /**
3
3
  * bitwrench-code-edit.js - syntax-highlighted contenteditable code editor addon
4
4
  *
@@ -1,4 +1,4 @@
1
- /*! bitwrench v2.0.9 | BSD-2-Clause | http://deftio.com/bitwrench */
1
+ /*! bitwrench v2.0.11 | BSD-2-Clause | https://deftio.github.com/bitwrench/pages */
2
2
  /**
3
3
  * bitwrench-code-edit.js - syntax-highlighted contenteditable code editor addon
4
4
  *
@@ -1,4 +1,4 @@
1
- /*! bitwrench v2.0.9 | BSD-2-Clause | http://deftio.com/bitwrench */
1
+ /*! bitwrench v2.0.11 | BSD-2-Clause | https://deftio.github.com/bitwrench/pages */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
4
4
  typeof define === 'function' && define.amd ? define(['exports'], factory) :
@@ -1,4 +1,4 @@
1
- /*! bitwrench v2.0.9 | BSD-2-Clause | http://deftio.com/bitwrench */
1
+ /*! bitwrench v2.0.11 | BSD-2-Clause | https://deftio.github.com/bitwrench/pages */
2
2
  !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bwCodeEdit={})}(this,function(e){"use strict";
3
3
  /**
4
4
  * bitwrench-code-edit.js - syntax-highlighted contenteditable code editor addon