@tltdsh/mx 1.0.6 → 1.0.7
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 +1 -1
- package/mx.d.ts +17 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ Sub-1KB reactive DOM reconciliation engine for building massive platforms and us
|
|
|
19
19
|
### Pinned version
|
|
20
20
|
|
|
21
21
|
```html
|
|
22
|
-
<script src="https://cdn.jsdelivr.net/npm/@tltdsh/mx@1.0.
|
|
22
|
+
<script src="https://cdn.jsdelivr.net/npm/@tltdsh/mx@1.0.7/mx.min.js"></script>
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
### npm / yarn / bun
|
package/mx.d.ts
CHANGED
|
@@ -91,6 +91,17 @@ interface MxHTMLAttrs {
|
|
|
91
91
|
lang?: string;
|
|
92
92
|
dir?: string;
|
|
93
93
|
translate?: string;
|
|
94
|
+
inert?: boolean;
|
|
95
|
+
inputmode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
96
|
+
enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
|
97
|
+
|
|
98
|
+
// Popover
|
|
99
|
+
popover?: 'auto' | 'manual' | boolean;
|
|
100
|
+
popovertarget?: string;
|
|
101
|
+
popovertargetaction?: 'toggle' | 'show' | 'hide';
|
|
102
|
+
|
|
103
|
+
// Loading
|
|
104
|
+
fetchpriority?: 'high' | 'low' | 'auto';
|
|
94
105
|
|
|
95
106
|
// Meta / script
|
|
96
107
|
charset?: string;
|
|
@@ -172,12 +183,18 @@ interface MxHTMLAttrs {
|
|
|
172
183
|
onload?: ((e: Event) => void) | null;
|
|
173
184
|
onabort?: ((e: Event) => void) | null;
|
|
174
185
|
|
|
186
|
+
// Toggle events
|
|
187
|
+
ontoggle?: ((e: Event) => void) | null;
|
|
188
|
+
|
|
175
189
|
// Animation / transition
|
|
176
190
|
onanimationstart?: ((e: AnimationEvent) => void) | null;
|
|
177
191
|
onanimationend?: ((e: AnimationEvent) => void) | null;
|
|
178
192
|
onanimationiteration?: ((e: AnimationEvent) => void) | null;
|
|
179
193
|
ontransitionend?: ((e: TransitionEvent) => void) | null;
|
|
180
194
|
ontransitionstart?: ((e: TransitionEvent) => void) | null;
|
|
195
|
+
|
|
196
|
+
// Dialog
|
|
197
|
+
open?: boolean;
|
|
181
198
|
}
|
|
182
199
|
|
|
183
200
|
/** SVG-specific attributes */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tltdsh/mx",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "Sub-1KB reactive DOM reconciliation engine for building massive platforms and user interfaces at scale. 862 bytes brotli, zero dependencies, no build step. Small enough for AI context windows.",
|
|
5
5
|
"license": "0BSD",
|
|
6
6
|
"author": "tltdsh",
|