@tltdsh/mx 1.6.0 → 1.6.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.
package/AGENTS.md CHANGED
@@ -4,6 +4,8 @@ Instructions for AI coding agents working with mx.js codebases.
4
4
 
5
5
  **Full documentation: [mxjs.dev](https://mxjs.dev)** - API reference, patterns, gotchas, playground.
6
6
 
7
+ **For agents:** [mxjs.dev/ai](https://mxjs.dev/ai) has a paste-ready system prompt, the React, Vue and Svelte habits that break mx, and a self-check list. [mxjs.dev/llms.txt](https://mxjs.dev/llms.txt) has the same rules in one plain-text file.
8
+
7
9
  When transferring from React/Vue/Svelte, read [mxjs.dev/what-mx-is-not](https://mxjs.dev/what-mx-is-not) first. mx deliberately has no hooks, no JSX, no fragments, no portals, no memo, no synthetic events, no signals. That page lists every omission and what replaces it.
8
10
 
9
11
  ---
package/CLAUDE.md CHANGED
@@ -4,6 +4,8 @@ Instructions for AI coding agents working with mx.js codebases.
4
4
 
5
5
  **Full documentation: [mxjs.dev](https://mxjs.dev)** - API reference, patterns, gotchas, playground.
6
6
 
7
+ **For agents:** [mxjs.dev/ai](https://mxjs.dev/ai) has a paste-ready system prompt, the React, Vue and Svelte habits that break mx, and a self-check list. [mxjs.dev/llms.txt](https://mxjs.dev/llms.txt) has the same rules in one plain-text file.
8
+
7
9
  When transferring from React/Vue/Svelte, read [mxjs.dev/what-mx-is-not](https://mxjs.dev/what-mx-is-not) first. mx deliberately has no hooks, no JSX, no fragments, no portals, no memo, no synthetic events, no signals. That page lists every omission and what replaces it.
8
10
 
9
11
  ---
package/README.md CHANGED
@@ -26,7 +26,7 @@ A DOM reconciliation engine for building user interfaces in plain JavaScript, fr
26
26
  ### Pinned version
27
27
 
28
28
  ```html
29
- <script src="https://cdn.jsdelivr.net/npm/@tltdsh/mx@1.6.0/mx.min.js"></script>
29
+ <script src="https://cdn.jsdelivr.net/npm/@tltdsh/mx@1.6.2/mx.min.js"></script>
30
30
  ```
31
31
 
32
32
  ### npm / yarn / bun
@@ -232,7 +232,7 @@ The package ships an agent skill in `node_modules/@tltdsh/mx/skill/`: the mx rul
232
232
  ln -s "$PWD/node_modules/@tltdsh/mx/skill" ~/.claude/skills/mx
233
233
  ```
234
234
 
235
- The same skill is a zip at [mxjs.dev/mx-skill.zip](https://mxjs.dev/mx-skill.zip).
235
+ The same skill is a zip at [mxjs.dev/mx-skill.zip](https://mxjs.dev/mx-skill.zip). [mxjs.dev/ai](https://mxjs.dev/ai) has a paste-ready system prompt for agents without skills, and [mxjs.dev/llms.txt](https://mxjs.dev/llms.txt) has the same rules in one plain-text file.
236
236
 
237
237
  ## TypeScript
238
238
 
package/mx.d.ts CHANGED
@@ -159,6 +159,21 @@ interface MxHTMLAttrs {
159
159
  'aria-modal'?: boolean | 'true' | 'false';
160
160
  'aria-roledescription'?: string;
161
161
 
162
+ // ARIA composite widgets cluster (accessibility)
163
+ // aria-relevant is a space-separated token list; absent means "additions text".
164
+ 'aria-activedescendant'?: string;
165
+ 'aria-description'?: string;
166
+ 'aria-details'?: string;
167
+ 'aria-keyshortcuts'?: string;
168
+ 'aria-relevant'?: 'additions' | 'removals' | 'text' | 'all' | 'additions text' | (string & {});
169
+
170
+ // ARIA list and tree cluster (accessibility)
171
+ // aria-setsize takes -1 when the total is unknown.
172
+ 'aria-multiselectable'?: boolean | 'true' | 'false';
173
+ 'aria-level'?: number;
174
+ 'aria-posinset'?: number;
175
+ 'aria-setsize'?: number;
176
+
162
177
  // Loading
163
178
  fetchpriority?: 'high' | 'low' | 'auto';
164
179
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tltdsh/mx",
3
- "version": "1.6.0",
3
+ "version": "1.6.2",
4
4
  "description": "A sub-1KB (brotli) DOM reconciliation engine for building user interfaces in plain JavaScript",
5
5
  "license": "0BSD",
6
6
  "author": "tltdsh",