@tltdsh/mx 1.1.0 → 1.2.0
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 +1 -1
- package/CLAUDE.md +1 -1
- package/README.md +2 -2
- package/mx.d.ts +8 -0
- package/package.json +2 -2
package/AGENTS.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Instructions for AI coding agents working with mx.js codebases.
|
|
4
4
|
|
|
5
|
-
**Full documentation: [mxjs.dev](https://mxjs.dev)**
|
|
5
|
+
**Full documentation: [mxjs.dev](https://mxjs.dev)** - API reference, patterns, gotchas, playground.
|
|
6
6
|
|
|
7
7
|
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
8
|
|
package/CLAUDE.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Instructions for AI coding agents working with mx.js codebases.
|
|
4
4
|
|
|
5
|
-
**Full documentation: [mxjs.dev](https://mxjs.dev)**
|
|
5
|
+
**Full documentation: [mxjs.dev](https://mxjs.dev)** - API reference, patterns, gotchas, playground.
|
|
6
6
|
|
|
7
7
|
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
8
|
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ Sub-1KB reactive DOM reconciliation engine for building massive platforms and us
|
|
|
21
21
|
### Pinned version
|
|
22
22
|
|
|
23
23
|
```html
|
|
24
|
-
<script src="https://cdn.jsdelivr.net/npm/@tltdsh/mx@1.
|
|
24
|
+
<script src="https://cdn.jsdelivr.net/npm/@tltdsh/mx@1.2.0/mx.min.js"></script>
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
### npm / yarn / bun
|
|
@@ -42,7 +42,7 @@ import { mx, dom, define, components } from '@tltdsh/mx'
|
|
|
42
42
|
const { mx, dom, define, components } = await import('https://cdn.jsdelivr.net/npm/@tltdsh/mx/mx.mjs')
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
Works in any modern browser or
|
|
45
|
+
Works in any modern browser, Deno, or Bun - no install, no bundler, one line.
|
|
46
46
|
|
|
47
47
|
## 4 Globals
|
|
48
48
|
|
package/mx.d.ts
CHANGED
|
@@ -94,12 +94,20 @@ interface MxHTMLAttrs {
|
|
|
94
94
|
inert?: boolean;
|
|
95
95
|
inputmode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
96
96
|
enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
|
97
|
+
autocapitalize?: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
|
|
97
98
|
|
|
98
99
|
// Popover
|
|
99
100
|
popover?: 'auto' | 'manual' | boolean;
|
|
100
101
|
popovertarget?: string;
|
|
101
102
|
popovertargetaction?: 'toggle' | 'show' | 'hide';
|
|
102
103
|
|
|
104
|
+
// ARIA labels cluster (accessibility)
|
|
105
|
+
'aria-label'?: string;
|
|
106
|
+
'aria-labelledby'?: string;
|
|
107
|
+
'aria-describedby'?: string;
|
|
108
|
+
'aria-placeholder'?: string;
|
|
109
|
+
'aria-errormessage'?: string;
|
|
110
|
+
|
|
103
111
|
// Loading
|
|
104
112
|
fetchpriority?: 'high' | 'low' | 'auto';
|
|
105
113
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tltdsh/mx",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "<1KB UI engine. Build big. Ship small
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "<1KB UI engine. Build big. Ship small. Iterate fast.",
|
|
5
5
|
"license": "0BSD",
|
|
6
6
|
"author": "tltdsh",
|
|
7
7
|
"homepage": "https://mxjs.dev",
|