@colletdev/core 0.2.1 → 0.2.2

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.
@@ -23,7 +23,7 @@
23
23
  import { initWasm, loadSharedStyles, loadInlineSharedStyles, loadMotionStyles, loadInlineMotionStyles, injectTokensToHead, injectFoucPrevention, CxElement, CxFormElement } from '../src/runtime.js';
24
24
 
25
25
  // Package version — used for CDN fallback URL
26
- const PKG_VERSION = '0.2.0';
26
+ const PKG_VERSION = '0.2.1';
27
27
 
28
28
  // ─── Lazy WASM + CSS ───
29
29
  // WASM glue and CSS strings are NOT imported at module level.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colletdev/core",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Rust/WASM Custom Elements — 48 production-grade UI components",
5
5
  "type": "module",
6
6
  "main": "generated/index.js",
@@ -9,8 +9,13 @@
9
9
 
10
10
  export function defineCxMessagePart(wasmFn, baseClass) {
11
11
  class CxMessagePart extends baseClass {
12
- static observedAttributes = ['stream'];
13
- static _booleanAttrs = new Set(['stream']);
12
+ static observedAttributes = [
13
+ 'id', 'kind', 'connection', 'size', 'content', 'html-content',
14
+ 'tool-name', 'tool-arguments', 'tool-status', 'tool-action',
15
+ 'description', 'collapsible', 'completed', 'border',
16
+ 'thinking-label', 'language', 'filename', 'markdown', 'stream',
17
+ ];
18
+ static _booleanAttrs = new Set(['collapsible', 'completed', 'markdown', 'stream']);
14
19
  static _focusable = false;
15
20
 
16
21
  #streamState = null;
Binary file