@fictjs/runtime 0.16.0 → 0.17.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/dist/advanced.cjs +9 -9
- package/dist/advanced.js +4 -4
- package/dist/{chunk-CBRGOLTR.cjs → chunk-5FVWBK4M.cjs} +40 -40
- package/dist/{chunk-CBRGOLTR.cjs.map → chunk-5FVWBK4M.cjs.map} +1 -1
- package/dist/{chunk-BADX4WTQ.cjs → chunk-6DNYVH5U.cjs} +17 -17
- package/dist/{chunk-BADX4WTQ.cjs.map → chunk-6DNYVH5U.cjs.map} +1 -1
- package/dist/{chunk-MAHWGB55.js → chunk-CFAWL76V.js} +5 -5
- package/dist/{chunk-MAHWGB55.js.map → chunk-CFAWL76V.js.map} +1 -1
- package/dist/{chunk-WJMZ7X46.cjs → chunk-ECKYFH5Q.cjs} +5 -5
- package/dist/{chunk-WJMZ7X46.cjs.map → chunk-ECKYFH5Q.cjs.map} +1 -1
- package/dist/{chunk-ZJZ6LMDN.js → chunk-F5SDRX4J.js} +2 -2
- package/dist/{chunk-ZJZ6LMDN.js.map → chunk-F5SDRX4J.js.map} +1 -1
- package/dist/{chunk-4P4DYWLQ.js → chunk-IIWHTV23.js} +3 -3
- package/dist/{chunk-AR2T7JEX.cjs → chunk-INYTG4NG.cjs} +174 -174
- package/dist/{chunk-AR2T7JEX.cjs.map → chunk-INYTG4NG.cjs.map} +1 -1
- package/dist/{chunk-RK2WSQYL.js → chunk-M42N54LG.js} +3 -3
- package/dist/{chunk-ZWQLXWSV.js → chunk-UQTWIV3S.js} +3 -3
- package/dist/{chunk-ECNK25S4.cjs → chunk-WY4LI5PB.cjs} +8 -8
- package/dist/{chunk-ECNK25S4.cjs.map → chunk-WY4LI5PB.cjs.map} +1 -1
- package/dist/index.cjs +42 -42
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.dev.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/internal-list.cjs +4 -4
- package/dist/internal-list.js +3 -3
- package/dist/internal.cjs +5 -5
- package/dist/internal.d.cts +2 -2
- package/dist/internal.d.ts +2 -2
- package/dist/internal.js +4 -4
- package/dist/jsx-dev-runtime.cjs.map +1 -1
- package/dist/jsx-dev-runtime.d.cts +46 -0
- package/dist/jsx-dev-runtime.d.ts +46 -0
- package/dist/jsx-dev-runtime.js.map +1 -1
- package/dist/jsx-runtime.cjs.map +1 -1
- package/dist/jsx-runtime.d.cts +46 -0
- package/dist/jsx-runtime.d.ts +46 -0
- package/dist/jsx-runtime.js.map +1 -1
- package/dist/loader.cjs +143 -26
- package/dist/loader.cjs.map +1 -1
- package/dist/loader.d.cts +1 -1
- package/dist/loader.d.ts +1 -1
- package/dist/loader.js +122 -5
- package/dist/loader.js.map +1 -1
- package/dist/{props-DabFQwLR.d.ts → props-C04ScJgm.d.ts} +46 -0
- package/dist/{props-tImUZAty.d.cts → props-CdmuXCiu.d.cts} +46 -0
- package/dist/{resume-C5IKAIdh.d.ts → resume-C166aAVg.d.ts} +2 -2
- package/dist/{resume-DPZxmA95.d.cts → resume-C20cRVj9.d.cts} +2 -2
- package/package.json +1 -1
- package/src/jsx.ts +46 -0
- package/src/loader.ts +153 -4
- package/src/resume.ts +5 -5
- /package/dist/{chunk-4P4DYWLQ.js.map → chunk-IIWHTV23.js.map} +0 -0
- /package/dist/{chunk-RK2WSQYL.js.map → chunk-M42N54LG.js.map} +0 -0
- /package/dist/{chunk-ZWQLXWSV.js.map → chunk-UQTWIV3S.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createContext,
|
|
3
3
|
hasContext,
|
|
4
4
|
useContext
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UQTWIV3S.js";
|
|
6
6
|
import {
|
|
7
7
|
Fragment,
|
|
8
8
|
batch,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
untrack,
|
|
20
20
|
useDeferredValue,
|
|
21
21
|
useTransition
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-F5SDRX4J.js";
|
|
23
23
|
import {
|
|
24
24
|
__fictGetSSRStreamHooks,
|
|
25
25
|
__fictPopSSRBoundary,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
registerErrorHandler,
|
|
41
41
|
registerSuspenseHandler,
|
|
42
42
|
signal
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-CFAWL76V.js";
|
|
44
44
|
|
|
45
45
|
// src/ref.ts
|
|
46
46
|
function createRef() {
|
package/dist/internal-list.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk5FVWBK4Mcjs = require('./chunk-5FVWBK4M.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('./chunk-
|
|
6
|
+
var _chunkINYTG4NGcjs = require('./chunk-INYTG4NG.cjs');
|
|
7
|
+
require('./chunk-ECKYFH5Q.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.createKeyedList =
|
|
11
|
+
exports.createKeyedList = _chunk5FVWBK4Mcjs.createKeyedList; exports.toNodeArray = _chunkINYTG4NGcjs.toNodeArray;
|
|
12
12
|
//# sourceMappingURL=internal-list.cjs.map
|
package/dist/internal-list.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createKeyedList
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-M42N54LG.js";
|
|
4
4
|
import {
|
|
5
5
|
toNodeArray
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-F5SDRX4J.js";
|
|
7
|
+
import "./chunk-CFAWL76V.js";
|
|
8
8
|
export {
|
|
9
9
|
createKeyedList,
|
|
10
10
|
toNodeArray
|
package/dist/internal.cjs
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk5FVWBK4Mcjs = require('./chunk-5FVWBK4M.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkWY4LI5PBcjs = require('./chunk-WY4LI5PB.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -51,7 +51,7 @@ var _chunkECNK25S4cjs = require('./chunk-ECNK25S4.cjs');
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
var
|
|
54
|
+
var _chunkINYTG4NGcjs = require('./chunk-INYTG4NG.cjs');
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
|
|
@@ -109,7 +109,7 @@ var _chunkAR2T7JEXcjs = require('./chunk-AR2T7JEX.cjs');
|
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
|
|
112
|
-
var
|
|
112
|
+
var _chunkECKYFH5Qcjs = require('./chunk-ECKYFH5Q.cjs');
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
|
|
@@ -215,5 +215,5 @@ var _chunkWJMZ7X46cjs = require('./chunk-WJMZ7X46.cjs');
|
|
|
215
215
|
|
|
216
216
|
|
|
217
217
|
|
|
218
|
-
exports.Aliases =
|
|
218
|
+
exports.Aliases = _chunkECKYFH5Qcjs.Aliases; exports.BooleanAttributes = _chunkECKYFH5Qcjs.BooleanAttributes; exports.ChildProperties = _chunkECKYFH5Qcjs.ChildProperties; exports.DelegatedEvents = _chunkECKYFH5Qcjs.DelegatedEvents; exports.FICT_SSR_SNAPSHOT_SCHEMA_VERSION = _chunkECKYFH5Qcjs.FICT_SSR_SNAPSHOT_SCHEMA_VERSION; exports.Fragment = _chunkINYTG4NGcjs.Fragment; exports.Properties = _chunkECKYFH5Qcjs.Properties; exports.SVGElements = _chunkECKYFH5Qcjs.SVGElements; exports.SVGNamespace = _chunkECKYFH5Qcjs.SVGNamespace; exports.UnitlessStyles = _chunkECKYFH5Qcjs.UnitlessStyles; exports.__fictDisableResumable = _chunkECKYFH5Qcjs.__fictDisableResumable; exports.__fictDisableSSR = _chunkECKYFH5Qcjs.__fictDisableSSR; exports.__fictEnableResumable = _chunkECKYFH5Qcjs.__fictEnableResumable; exports.__fictEnableSSR = _chunkECKYFH5Qcjs.__fictEnableSSR; exports.__fictEnsureScope = _chunkECKYFH5Qcjs.__fictEnsureScope; exports.__fictEnterHydration = _chunkECKYFH5Qcjs.__fictEnterHydration; exports.__fictExitHydration = _chunkECKYFH5Qcjs.__fictExitHydration; exports.__fictGetResume = _chunkECKYFH5Qcjs.__fictGetResume; exports.__fictGetSSRScope = _chunkECKYFH5Qcjs.__fictGetSSRScope; exports.__fictGetSSRStreamHooks = _chunkECKYFH5Qcjs.__fictGetSSRStreamHooks; exports.__fictGetScopeProps = _chunkECKYFH5Qcjs.__fictGetScopeProps; exports.__fictGetScopeRegistry = _chunkECKYFH5Qcjs.__fictGetScopeRegistry; exports.__fictGetScopesForBoundary = _chunkECKYFH5Qcjs.__fictGetScopesForBoundary; exports.__fictIsHydrating = _chunkECKYFH5Qcjs.__fictIsHydrating; exports.__fictIsResumable = _chunkECKYFH5Qcjs.__fictIsResumable; exports.__fictIsSSR = _chunkECKYFH5Qcjs.__fictIsSSR; exports.__fictMergeSSRState = _chunkECKYFH5Qcjs.__fictMergeSSRState; exports.__fictPopContext = _chunkECKYFH5Qcjs.__fictPopContext; exports.__fictPrepareContext = _chunkECKYFH5Qcjs.__fictPrepareContext; exports.__fictProp = _chunkINYTG4NGcjs.__fictProp; exports.__fictPropsRest = _chunkINYTG4NGcjs.__fictPropsRest; exports.__fictPushContext = _chunkECKYFH5Qcjs.__fictPushContext; exports.__fictQrl = _chunkECKYFH5Qcjs.__fictQrl; exports.__fictRegisterResume = _chunkECKYFH5Qcjs.__fictRegisterResume; exports.__fictRegisterScope = _chunkECKYFH5Qcjs.__fictRegisterScope; exports.__fictRender = _chunkECKYFH5Qcjs.__fictRender; exports.__fictResetContext = _chunkECKYFH5Qcjs.__fictResetContext; exports.__fictSerializeSSRState = _chunkECKYFH5Qcjs.__fictSerializeSSRState; exports.__fictSerializeSSRStateForScopes = _chunkECKYFH5Qcjs.__fictSerializeSSRStateForScopes; exports.__fictSetSSRState = _chunkECKYFH5Qcjs.__fictSetSSRState; exports.__fictSetSSRStreamHooks = _chunkECKYFH5Qcjs.__fictSetSSRStreamHooks; exports.__fictUseContext = _chunkECKYFH5Qcjs.__fictUseContext; exports.__fictUseEffect = _chunkECKYFH5Qcjs.__fictUseEffect; exports.__fictUseLexicalScope = _chunkECKYFH5Qcjs.__fictUseLexicalScope; exports.__fictUseMemo = _chunkECKYFH5Qcjs.__fictUseMemo; exports.__fictUseSignal = _chunkECKYFH5Qcjs.__fictUseSignal; exports.__resetReactiveState = _chunkECKYFH5Qcjs.__resetReactiveState; exports.addEventListener = _chunkINYTG4NGcjs.addEventListener; exports.assign = _chunkINYTG4NGcjs.assign; exports.bindAttribute = _chunkINYTG4NGcjs.bindAttribute; exports.bindClass = _chunkINYTG4NGcjs.bindClass; exports.bindEvent = _chunkINYTG4NGcjs.bindEvent; exports.bindProperty = _chunkINYTG4NGcjs.bindProperty; exports.bindRef = _chunkINYTG4NGcjs.bindRef; exports.bindStyle = _chunkINYTG4NGcjs.bindStyle; exports.bindText = _chunkINYTG4NGcjs.bindText; exports.callEventHandler = _chunkINYTG4NGcjs.callEventHandler; exports.classList = _chunkINYTG4NGcjs.classList; exports.clearDelegatedEvents = _chunkINYTG4NGcjs.clearDelegatedEvents; exports.createConditional = _chunkINYTG4NGcjs.createConditional; exports.createEffect = _chunkECKYFH5Qcjs.createEffect; exports.createElement = _chunkINYTG4NGcjs.createElement; exports.createKeyedList = _chunk5FVWBK4Mcjs.createKeyedList; exports.createMemo = _chunkECKYFH5Qcjs.createMemo; exports.createPortal = _chunkINYTG4NGcjs.createPortal; exports.createPropsProxy = _chunkINYTG4NGcjs.createPropsProxy; exports.createRenderEffect = _chunkECKYFH5Qcjs.createRenderEffect; exports.createSelector = _chunkECKYFH5Qcjs.createSelector; exports.createSignal = _chunkECKYFH5Qcjs.signal; exports.createStore = _chunkECKYFH5Qcjs.createStore; exports.delegateEvents = _chunkINYTG4NGcjs.delegateEvents; exports.deserializeValue = _chunkECKYFH5Qcjs.deserializeValue; exports.getPropAlias = _chunkECKYFH5Qcjs.getPropAlias; exports.getSlotEnd = _chunkINYTG4NGcjs.getSlotEnd; exports.hydrateComponent = _chunkINYTG4NGcjs.hydrateComponent; exports.insert = _chunkINYTG4NGcjs.insert; exports.insertBetween = _chunkINYTG4NGcjs.insertBetween; exports.insertNodesBefore = _chunkINYTG4NGcjs.insertNodesBefore; exports.isNodeBetweenMarkers = _chunk5FVWBK4Mcjs.isNodeBetweenMarkers; exports.isReactive = _chunkINYTG4NGcjs.isReactive; exports.isStoreProxy = _chunkECKYFH5Qcjs.isStoreProxy; exports.keyed = _chunkINYTG4NGcjs.keyed; exports.mergeProps = _chunkINYTG4NGcjs.mergeProps; exports.moveNodesBefore = _chunk5FVWBK4Mcjs.moveNodesBefore; exports.nonReactive = _chunkINYTG4NGcjs.nonReactive; exports.onDestroy = _chunkECKYFH5Qcjs.onDestroy; exports.prop = _chunkINYTG4NGcjs.prop; exports.reactive = _chunkINYTG4NGcjs.reactive; exports.reconcileArrays = _chunk5FVWBK4Mcjs.reconcileArrays; exports.removeNodes = _chunkINYTG4NGcjs.removeNodes; exports.render = _chunkINYTG4NGcjs.render; exports.resolvePath = _chunkINYTG4NGcjs.resolvePath; exports.runInScope = _chunkWY4LI5PBcjs.runInScope; exports.serializeValue = _chunkECKYFH5Qcjs.serializeValue; exports.setAttr = _chunkINYTG4NGcjs.setAttr; exports.setClass = _chunkINYTG4NGcjs.setClass; exports.setProp = _chunkINYTG4NGcjs.setProp; exports.setStyle = _chunkINYTG4NGcjs.setStyle; exports.setText = _chunkINYTG4NGcjs.setText; exports.spread = _chunkINYTG4NGcjs.spread; exports.template = _chunkINYTG4NGcjs.template; exports.toNodeArray = _chunkINYTG4NGcjs.toNodeArray; exports.unwrap = _chunkINYTG4NGcjs.unwrap; exports.unwrapStore = _chunkECKYFH5Qcjs.unwrapStore;
|
|
219
219
|
//# sourceMappingURL=internal.cjs.map
|
package/dist/internal.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { _ as __resetReactiveState, c as createSelector, s as createSignal } from './signal-Z4KkDk9h.cjs';
|
|
2
|
-
export { F as Fragment, _ as __fictProp, a as __fictPropsRest, d as createElement, c as createMemo, b as createPropsProxy, h as hydrateComponent, k as keyed, m as mergeProps, p as prop, r as render, t as template } from './props-
|
|
2
|
+
export { F as Fragment, _ as __fictProp, a as __fictPropsRest, d as createElement, c as createMemo, b as createPropsProxy, h as hydrateComponent, k as keyed, m as mergeProps, p as prop, r as render, t as template } from './props-CdmuXCiu.cjs';
|
|
3
3
|
export { Q as AttributeSetter, O as BindingHandle, P as CreateElementFn, M as MaybeReactive, L as addEventListener, H as assign, l as bindAttribute, o as bindClass, w as bindEvent, y as bindProperty, z as bindRef, m as bindStyle, k as bindText, x as callEventHandler, I as classList, K as clearDelegatedEvents, D as createConditional, j as createEffect, E as createPortal, h as createRenderEffect, J as delegateEvents, A as insert, C as insertBetween, i as isReactive, n as nonReactive, N as onDestroy, r as reactive, p as setAttr, v as setClass, q as setProp, t as setStyle, s as setText, G as spread, u as unwrap } from './binding-BlABuUiG.cjs';
|
|
4
|
-
export { F as FICT_SSR_SNAPSHOT_SCHEMA_VERSION, n as __fictDisableResumable, k as __fictDisableSSR, m as __fictEnableResumable, j as __fictEnableSSR, A as __fictEnsureScope, p as __fictEnterHydration, q as __fictExitHydration, E as __fictGetResume, z as __fictGetSSRScope, B as __fictGetScopeProps, t as __fictGetScopeRegistry, u as __fictGetScopesForBoundary, r as __fictIsHydrating, o as __fictIsResumable, l as __fictIsSSR, y as __fictMergeSSRState, c as __fictPopContext, i as __fictPrepareContext, b as __fictPushContext, C as __fictQrl, D as __fictRegisterResume, s as __fictRegisterScope, g as __fictRender, h as __fictResetContext, v as __fictSerializeSSRState, w as __fictSerializeSSRStateForScopes, x as __fictSetSSRState, a as __fictUseContext, f as __fictUseEffect, _ as __fictUseLexicalScope, e as __fictUseMemo, d as __fictUseSignal, H as deserializeValue, G as serializeValue } from './resume-
|
|
4
|
+
export { F as FICT_SSR_SNAPSHOT_SCHEMA_VERSION, n as __fictDisableResumable, k as __fictDisableSSR, m as __fictEnableResumable, j as __fictEnableSSR, A as __fictEnsureScope, p as __fictEnterHydration, q as __fictExitHydration, E as __fictGetResume, z as __fictGetSSRScope, B as __fictGetScopeProps, t as __fictGetScopeRegistry, u as __fictGetScopesForBoundary, r as __fictIsHydrating, o as __fictIsResumable, l as __fictIsSSR, y as __fictMergeSSRState, c as __fictPopContext, i as __fictPrepareContext, b as __fictPushContext, C as __fictQrl, D as __fictRegisterResume, s as __fictRegisterScope, g as __fictRender, h as __fictResetContext, v as __fictSerializeSSRState, w as __fictSerializeSSRStateForScopes, x as __fictSetSSRState, a as __fictUseContext, f as __fictUseEffect, _ as __fictUseLexicalScope, e as __fictUseMemo, d as __fictUseSignal, H as deserializeValue, G as serializeValue } from './resume-C20cRVj9.cjs';
|
|
5
5
|
export { K as KeyedListBinding, c as createKeyedList, g as getSlotEnd, i as insertNodesBefore, b as isNodeBetweenMarkers, m as moveNodesBefore, a as removeNodes, r as resolvePath, t as toNodeArray } from './list-Bi8dDF8Q.cjs';
|
|
6
6
|
export { r as runInScope } from './scope-GwC4DJ50.cjs';
|
|
7
7
|
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { _ as __resetReactiveState, c as createSelector, s as createSignal } from './signal-Z4KkDk9h.js';
|
|
2
|
-
export { F as Fragment, _ as __fictProp, a as __fictPropsRest, d as createElement, c as createMemo, b as createPropsProxy, h as hydrateComponent, k as keyed, m as mergeProps, p as prop, r as render, t as template } from './props-
|
|
2
|
+
export { F as Fragment, _ as __fictProp, a as __fictPropsRest, d as createElement, c as createMemo, b as createPropsProxy, h as hydrateComponent, k as keyed, m as mergeProps, p as prop, r as render, t as template } from './props-C04ScJgm.js';
|
|
3
3
|
export { Q as AttributeSetter, O as BindingHandle, P as CreateElementFn, M as MaybeReactive, L as addEventListener, H as assign, l as bindAttribute, o as bindClass, w as bindEvent, y as bindProperty, z as bindRef, m as bindStyle, k as bindText, x as callEventHandler, I as classList, K as clearDelegatedEvents, D as createConditional, j as createEffect, E as createPortal, h as createRenderEffect, J as delegateEvents, A as insert, C as insertBetween, i as isReactive, n as nonReactive, N as onDestroy, r as reactive, p as setAttr, v as setClass, q as setProp, t as setStyle, s as setText, G as spread, u as unwrap } from './binding-CQUGLLBI.js';
|
|
4
|
-
export { F as FICT_SSR_SNAPSHOT_SCHEMA_VERSION, n as __fictDisableResumable, k as __fictDisableSSR, m as __fictEnableResumable, j as __fictEnableSSR, A as __fictEnsureScope, p as __fictEnterHydration, q as __fictExitHydration, E as __fictGetResume, z as __fictGetSSRScope, B as __fictGetScopeProps, t as __fictGetScopeRegistry, u as __fictGetScopesForBoundary, r as __fictIsHydrating, o as __fictIsResumable, l as __fictIsSSR, y as __fictMergeSSRState, c as __fictPopContext, i as __fictPrepareContext, b as __fictPushContext, C as __fictQrl, D as __fictRegisterResume, s as __fictRegisterScope, g as __fictRender, h as __fictResetContext, v as __fictSerializeSSRState, w as __fictSerializeSSRStateForScopes, x as __fictSetSSRState, a as __fictUseContext, f as __fictUseEffect, _ as __fictUseLexicalScope, e as __fictUseMemo, d as __fictUseSignal, H as deserializeValue, G as serializeValue } from './resume-
|
|
4
|
+
export { F as FICT_SSR_SNAPSHOT_SCHEMA_VERSION, n as __fictDisableResumable, k as __fictDisableSSR, m as __fictEnableResumable, j as __fictEnableSSR, A as __fictEnsureScope, p as __fictEnterHydration, q as __fictExitHydration, E as __fictGetResume, z as __fictGetSSRScope, B as __fictGetScopeProps, t as __fictGetScopeRegistry, u as __fictGetScopesForBoundary, r as __fictIsHydrating, o as __fictIsResumable, l as __fictIsSSR, y as __fictMergeSSRState, c as __fictPopContext, i as __fictPrepareContext, b as __fictPushContext, C as __fictQrl, D as __fictRegisterResume, s as __fictRegisterScope, g as __fictRender, h as __fictResetContext, v as __fictSerializeSSRState, w as __fictSerializeSSRStateForScopes, x as __fictSetSSRState, a as __fictUseContext, f as __fictUseEffect, _ as __fictUseLexicalScope, e as __fictUseMemo, d as __fictUseSignal, H as deserializeValue, G as serializeValue } from './resume-C166aAVg.js';
|
|
5
5
|
export { K as KeyedListBinding, c as createKeyedList, g as getSlotEnd, i as insertNodesBefore, b as isNodeBetweenMarkers, m as moveNodesBefore, a as removeNodes, r as resolvePath, t as toNodeArray } from './list-BKM6YOPq.js';
|
|
6
6
|
export { r as runInScope } from './scope-gpOMWTlf.js';
|
|
7
7
|
|
package/dist/internal.js
CHANGED
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
isNodeBetweenMarkers,
|
|
4
4
|
moveNodesBefore,
|
|
5
5
|
reconcileArrays
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-M42N54LG.js";
|
|
7
7
|
import {
|
|
8
8
|
runInScope
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IIWHTV23.js";
|
|
10
10
|
import {
|
|
11
11
|
Fragment,
|
|
12
12
|
__fictProp,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
template,
|
|
52
52
|
toNodeArray,
|
|
53
53
|
unwrap
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-F5SDRX4J.js";
|
|
55
55
|
import {
|
|
56
56
|
Aliases,
|
|
57
57
|
BooleanAttributes,
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
serializeValue,
|
|
110
110
|
signal,
|
|
111
111
|
unwrapStore
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-CFAWL76V.js";
|
|
113
113
|
export {
|
|
114
114
|
Aliases,
|
|
115
115
|
BooleanAttributes,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/jsx-dev-runtime.ts","../src/jsx.ts"],"sourcesContent":["export { jsx, jsxs, jsxDEV, Fragment } from './jsx'\nexport type { JSX } from './jsx'\n","import type { FictNode } from './types'\n\nexport const Fragment = Symbol('Fragment')\n\nexport function jsx(\n type: string | typeof Fragment | ((props: Record<string, unknown>) => FictNode),\n props: Record<string, unknown>,\n key?: string,\n): FictNode {\n return { type, props, key }\n}\n\nexport const jsxs = jsx\nexport const jsxDEV = jsx\n\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport namespace JSX {\n export type Element = FictNode\n\n export interface IntrinsicElements {\n // Document structure\n html: HTMLAttributes<HTMLHtmlElement>\n head: HTMLAttributes<HTMLHeadElement>\n body: HTMLAttributes<HTMLBodyElement>\n title: HTMLAttributes<HTMLTitleElement>\n meta: MetaHTMLAttributes<HTMLMetaElement>\n link: LinkHTMLAttributes<HTMLLinkElement>\n style: StyleHTMLAttributes<HTMLStyleElement>\n script: ScriptHTMLAttributes<HTMLScriptElement>\n noscript: HTMLAttributes<HTMLElement>\n\n // Layout & Semantic\n div: HTMLAttributes<HTMLDivElement>\n span: HTMLAttributes<HTMLSpanElement>\n main: HTMLAttributes<HTMLElement>\n header: HTMLAttributes<HTMLElement>\n footer: HTMLAttributes<HTMLElement>\n section: HTMLAttributes<HTMLElement>\n article: HTMLAttributes<HTMLElement>\n aside: HTMLAttributes<HTMLElement>\n nav: HTMLAttributes<HTMLElement>\n address: HTMLAttributes<HTMLElement>\n\n // Headings\n h1: HTMLAttributes<HTMLHeadingElement>\n h2: HTMLAttributes<HTMLHeadingElement>\n h3: HTMLAttributes<HTMLHeadingElement>\n h4: HTMLAttributes<HTMLHeadingElement>\n h5: HTMLAttributes<HTMLHeadingElement>\n h6: HTMLAttributes<HTMLHeadingElement>\n hgroup: HTMLAttributes<HTMLElement>\n\n // Text content\n p: HTMLAttributes<HTMLParagraphElement>\n blockquote: BlockquoteHTMLAttributes<HTMLQuoteElement>\n pre: HTMLAttributes<HTMLPreElement>\n figure: HTMLAttributes<HTMLElement>\n figcaption: HTMLAttributes<HTMLElement>\n hr: HTMLAttributes<HTMLHRElement>\n br: HTMLAttributes<HTMLBRElement>\n wbr: HTMLAttributes<HTMLElement>\n\n // Inline text semantics\n a: AnchorHTMLAttributes<HTMLAnchorElement>\n abbr: HTMLAttributes<HTMLElement>\n b: HTMLAttributes<HTMLElement>\n bdi: HTMLAttributes<HTMLElement>\n bdo: HTMLAttributes<HTMLElement>\n cite: HTMLAttributes<HTMLElement>\n code: HTMLAttributes<HTMLElement>\n data: DataHTMLAttributes<HTMLDataElement>\n dfn: HTMLAttributes<HTMLElement>\n em: HTMLAttributes<HTMLElement>\n i: HTMLAttributes<HTMLElement>\n kbd: HTMLAttributes<HTMLElement>\n mark: HTMLAttributes<HTMLElement>\n q: QuoteHTMLAttributes<HTMLQuoteElement>\n rp: HTMLAttributes<HTMLElement>\n rt: HTMLAttributes<HTMLElement>\n ruby: HTMLAttributes<HTMLElement>\n s: HTMLAttributes<HTMLElement>\n samp: HTMLAttributes<HTMLElement>\n small: HTMLAttributes<HTMLElement>\n strong: HTMLAttributes<HTMLElement>\n sub: HTMLAttributes<HTMLElement>\n sup: HTMLAttributes<HTMLElement>\n time: TimeHTMLAttributes<HTMLTimeElement>\n u: HTMLAttributes<HTMLElement>\n var: HTMLAttributes<HTMLElement>\n\n // Lists\n ul: HTMLAttributes<HTMLUListElement>\n ol: OlHTMLAttributes<HTMLOListElement>\n li: LiHTMLAttributes<HTMLLIElement>\n dl: HTMLAttributes<HTMLDListElement>\n dt: HTMLAttributes<HTMLElement>\n dd: HTMLAttributes<HTMLElement>\n menu: HTMLAttributes<HTMLMenuElement>\n\n // Tables\n table: TableHTMLAttributes<HTMLTableElement>\n caption: HTMLAttributes<HTMLTableCaptionElement>\n colgroup: ColgroupHTMLAttributes<HTMLTableColElement>\n col: ColHTMLAttributes<HTMLTableColElement>\n thead: HTMLAttributes<HTMLTableSectionElement>\n tbody: HTMLAttributes<HTMLTableSectionElement>\n tfoot: HTMLAttributes<HTMLTableSectionElement>\n tr: HTMLAttributes<HTMLTableRowElement>\n th: ThHTMLAttributes<HTMLTableCellElement>\n td: TdHTMLAttributes<HTMLTableCellElement>\n\n // Forms\n form: FormHTMLAttributes<HTMLFormElement>\n fieldset: FieldsetHTMLAttributes<HTMLFieldSetElement>\n legend: HTMLAttributes<HTMLLegendElement>\n label: LabelHTMLAttributes<HTMLLabelElement>\n input: InputHTMLAttributes<HTMLInputElement>\n button: ButtonHTMLAttributes<HTMLButtonElement>\n select: SelectHTMLAttributes<HTMLSelectElement>\n datalist: HTMLAttributes<HTMLDataListElement>\n optgroup: OptgroupHTMLAttributes<HTMLOptGroupElement>\n option: OptionHTMLAttributes<HTMLOptionElement>\n textarea: TextareaHTMLAttributes<HTMLTextAreaElement>\n output: OutputHTMLAttributes<HTMLOutputElement>\n progress: ProgressHTMLAttributes<HTMLProgressElement>\n meter: MeterHTMLAttributes<HTMLMeterElement>\n\n // Interactive\n details: DetailsHTMLAttributes<HTMLDetailsElement>\n summary: HTMLAttributes<HTMLElement>\n dialog: DialogHTMLAttributes<HTMLDialogElement>\n\n // Media\n img: ImgHTMLAttributes<HTMLImageElement>\n picture: HTMLAttributes<HTMLPictureElement>\n source: SourceHTMLAttributes<HTMLSourceElement>\n audio: AudioVideoHTMLAttributes<HTMLAudioElement>\n video: AudioVideoHTMLAttributes<HTMLVideoElement>\n track: TrackHTMLAttributes<HTMLTrackElement>\n map: MapHTMLAttributes<HTMLMapElement>\n area: AreaHTMLAttributes<HTMLAreaElement>\n\n // Embedded content\n iframe: IframeHTMLAttributes<HTMLIFrameElement>\n embed: EmbedHTMLAttributes<HTMLEmbedElement>\n object: ObjectHTMLAttributes<HTMLObjectElement>\n param: ParamHTMLAttributes<HTMLParamElement>\n canvas: CanvasHTMLAttributes<HTMLCanvasElement>\n\n // SVG (basic support)\n svg: SVGAttributes<SVGSVGElement>\n path: SVGAttributes<SVGPathElement>\n circle: SVGAttributes<SVGCircleElement>\n rect: SVGAttributes<SVGRectElement>\n line: SVGAttributes<SVGLineElement>\n polyline: SVGAttributes<SVGPolylineElement>\n polygon: SVGAttributes<SVGPolygonElement>\n ellipse: SVGAttributes<SVGEllipseElement>\n g: SVGAttributes<SVGGElement>\n defs: SVGAttributes<SVGDefsElement>\n use: SVGAttributes<SVGUseElement>\n text: SVGAttributes<SVGTextElement>\n tspan: SVGAttributes<SVGTSpanElement>\n\n // Web components / other\n template: HTMLAttributes<HTMLTemplateElement>\n slot: SlotHTMLAttributes<HTMLSlotElement>\n portal: HTMLAttributes<HTMLElement>\n }\n\n export interface ElementChildrenAttribute {\n children: unknown\n }\n}\n\n// ============================================================================\n// Base HTML Attributes\n// ============================================================================\n\ninterface HTMLAttributes<T> {\n // Children\n children?: FictNode | FictNode[]\n\n // JSX special attributes\n key?: string | number\n\n // Core attributes\n id?: string\n class?: string\n style?: string | Record<string, string | number>\n title?: string\n lang?: string\n dir?: 'ltr' | 'rtl' | 'auto'\n hidden?: boolean | 'hidden' | 'until-found'\n tabIndex?: number\n draggable?: boolean | 'true' | 'false'\n contentEditable?: boolean | 'true' | 'false' | 'inherit'\n spellCheck?: boolean | 'true' | 'false'\n translate?: 'yes' | 'no'\n inert?: boolean\n popover?: 'auto' | 'manual'\n\n // Experimental / newer\n autofocus?: boolean\n slot?: string\n accessKey?: string\n\n // Event handlers\n onClick?: (e: MouseEvent) => void\n onDblClick?: (e: MouseEvent) => void\n onMouseDown?: (e: MouseEvent) => void\n onMouseUp?: (e: MouseEvent) => void\n onMouseMove?: (e: MouseEvent) => void\n onMouseEnter?: (e: MouseEvent) => void\n onMouseLeave?: (e: MouseEvent) => void\n onMouseOver?: (e: MouseEvent) => void\n onMouseOut?: (e: MouseEvent) => void\n onContextMenu?: (e: MouseEvent) => void\n onInput?: (e: InputEvent) => void\n onChange?: (e: Event) => void\n onSubmit?: (e: SubmitEvent) => void\n onReset?: (e: Event) => void\n onKeyDown?: (e: KeyboardEvent) => void\n onKeyUp?: (e: KeyboardEvent) => void\n onKeyPress?: (e: KeyboardEvent) => void\n onFocus?: (e: FocusEvent) => void\n onBlur?: (e: FocusEvent) => void\n onScroll?: (e: Event) => void\n onWheel?: (e: WheelEvent) => void\n onLoad?: (e: Event) => void\n onError?: (e: Event) => void\n\n // Drag events\n onDrag?: (e: DragEvent) => void\n onDragStart?: (e: DragEvent) => void\n onDragEnd?: (e: DragEvent) => void\n onDragEnter?: (e: DragEvent) => void\n onDragLeave?: (e: DragEvent) => void\n onDragOver?: (e: DragEvent) => void\n onDrop?: (e: DragEvent) => void\n\n // Touch events\n onTouchStart?: (e: TouchEvent) => void\n onTouchMove?: (e: TouchEvent) => void\n onTouchEnd?: (e: TouchEvent) => void\n onTouchCancel?: (e: TouchEvent) => void\n\n // Animation events\n onAnimationStart?: (e: AnimationEvent) => void\n onAnimationEnd?: (e: AnimationEvent) => void\n onAnimationIteration?: (e: AnimationEvent) => void\n onTransitionEnd?: (e: TransitionEvent) => void\n\n // Pointer events\n onPointerDown?: (e: PointerEvent) => void\n onPointerUp?: (e: PointerEvent) => void\n onPointerMove?: (e: PointerEvent) => void\n onPointerEnter?: (e: PointerEvent) => void\n onPointerLeave?: (e: PointerEvent) => void\n onPointerOver?: (e: PointerEvent) => void\n onPointerOut?: (e: PointerEvent) => void\n onPointerCancel?: (e: PointerEvent) => void\n\n // Ref\n ref?: ((el: T | null) => void) | { current: T | null }\n\n // ARIA attributes (common ones)\n role?: string\n 'aria-hidden'?: boolean | 'true' | 'false'\n 'aria-label'?: string\n 'aria-labelledby'?: string\n 'aria-describedby'?: string\n 'aria-live'?: 'off' | 'polite' | 'assertive'\n 'aria-atomic'?: boolean | 'true' | 'false'\n 'aria-busy'?: boolean | 'true' | 'false'\n 'aria-current'?: boolean | 'true' | 'false' | 'page' | 'step' | 'location' | 'date' | 'time'\n 'aria-disabled'?: boolean | 'true' | 'false'\n 'aria-expanded'?: boolean | 'true' | 'false'\n 'aria-haspopup'?: boolean | 'true' | 'false' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog'\n 'aria-pressed'?: boolean | 'true' | 'false' | 'mixed'\n 'aria-selected'?: boolean | 'true' | 'false'\n 'aria-checked'?: boolean | 'true' | 'false' | 'mixed'\n 'aria-controls'?: string\n 'aria-owns'?: string\n 'aria-activedescendant'?: string\n 'aria-valuemin'?: number\n 'aria-valuemax'?: number\n 'aria-valuenow'?: number\n 'aria-valuetext'?: string\n 'aria-orientation'?: 'horizontal' | 'vertical'\n 'aria-readonly'?: boolean | 'true' | 'false'\n 'aria-required'?: boolean | 'true' | 'false'\n 'aria-invalid'?: boolean | 'true' | 'false' | 'grammar' | 'spelling'\n 'aria-errormessage'?: string\n 'aria-modal'?: boolean | 'true' | 'false'\n 'aria-placeholder'?: string\n 'aria-sort'?: 'none' | 'ascending' | 'descending' | 'other'\n 'aria-colcount'?: number\n 'aria-colindex'?: number\n 'aria-colspan'?: number\n 'aria-rowcount'?: number\n 'aria-rowindex'?: number\n 'aria-rowspan'?: number\n 'aria-setsize'?: number\n 'aria-posinset'?: number\n 'aria-level'?: number\n 'aria-multiselectable'?: boolean | 'true' | 'false'\n 'aria-autocomplete'?: 'none' | 'inline' | 'list' | 'both'\n 'aria-details'?: string\n 'aria-keyshortcuts'?: string\n 'aria-roledescription'?: string\n\n // Data attributes via index signature\n [key: `data-${string}`]: string | number | boolean | undefined\n}\n\n// ============================================================================\n// Specialized Attribute Interfaces\n// ============================================================================\n\ninterface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {\n href?: string\n target?: '_self' | '_blank' | '_parent' | '_top' | string\n rel?: string\n download?: boolean | string\n hreflang?: string\n type?: string\n referrerPolicy?: ReferrerPolicy\n ping?: string\n}\n\ninterface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {\n type?: 'button' | 'submit' | 'reset'\n disabled?: boolean\n name?: string\n value?: string\n form?: string\n formAction?: string\n formEncType?: string\n formMethod?: string\n formNoValidate?: boolean\n formTarget?: string\n popovertarget?: string\n popovertargetaction?: 'show' | 'hide' | 'toggle'\n}\n\ninterface InputHTMLAttributes<T> extends HTMLAttributes<T> {\n type?: string\n value?: string | number | readonly string[]\n defaultValue?: string | number | readonly string[]\n checked?: boolean\n defaultChecked?: boolean\n disabled?: boolean\n placeholder?: string\n name?: string\n form?: string\n required?: boolean\n readonly?: boolean\n multiple?: boolean\n min?: number | string\n max?: number | string\n minLength?: number\n maxLength?: number\n step?: number | string\n pattern?: string\n size?: number\n accept?: string\n capture?: boolean | 'user' | 'environment'\n list?: string\n autoComplete?: string\n autoCapitalize?: string\n inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'\n enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'\n height?: number | string\n width?: number | string\n alt?: string\n src?: string\n formAction?: string\n formEncType?: string\n formMethod?: string\n formNoValidate?: boolean\n formTarget?: string\n}\n\ninterface FormHTMLAttributes<T> extends HTMLAttributes<T> {\n action?: string\n method?: 'get' | 'post' | 'dialog'\n encType?: string\n target?: string\n name?: string\n noValidate?: boolean\n autoComplete?: 'on' | 'off'\n acceptCharset?: string\n}\n\ninterface ImgHTMLAttributes<T> extends HTMLAttributes<T> {\n src?: string\n alt?: string\n width?: number | string\n height?: number | string\n srcSet?: string\n sizes?: string\n loading?: 'eager' | 'lazy'\n decoding?: 'async' | 'auto' | 'sync'\n crossOrigin?: 'anonymous' | 'use-credentials'\n referrerPolicy?: ReferrerPolicy\n useMap?: string\n isMap?: boolean\n fetchPriority?: 'auto' | 'high' | 'low'\n}\n\ninterface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {\n value?: string | number\n defaultValue?: string\n disabled?: boolean\n placeholder?: string\n name?: string\n form?: string\n required?: boolean\n readonly?: boolean\n rows?: number\n cols?: number\n minLength?: number\n maxLength?: number\n wrap?: 'hard' | 'soft' | 'off'\n autoComplete?: string\n}\n\ninterface SelectHTMLAttributes<T> extends HTMLAttributes<T> {\n value?: string | number | readonly string[]\n defaultValue?: string | number | readonly string[]\n disabled?: boolean\n name?: string\n form?: string\n required?: boolean\n multiple?: boolean\n size?: number\n autoComplete?: string\n}\n\ninterface OptionHTMLAttributes<T> extends HTMLAttributes<T> {\n value?: string | number\n disabled?: boolean\n selected?: boolean\n label?: string\n}\n\ninterface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {\n disabled?: boolean\n label?: string\n}\n\ninterface LabelHTMLAttributes<T> extends HTMLAttributes<T> {\n for?: string\n htmlFor?: string\n form?: string\n}\n\ninterface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {\n disabled?: boolean\n name?: string\n form?: string\n}\n\ninterface OutputHTMLAttributes<T> extends HTMLAttributes<T> {\n for?: string\n htmlFor?: string\n form?: string\n name?: string\n}\n\ninterface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {\n value?: number | string\n max?: number | string\n}\n\ninterface MeterHTMLAttributes<T> extends HTMLAttributes<T> {\n value?: number | string\n min?: number | string\n max?: number | string\n low?: number | string\n high?: number | string\n optimum?: number | string\n}\n\n// Table elements\ninterface TableHTMLAttributes<T> extends HTMLAttributes<T> {\n cellPadding?: number | string\n cellSpacing?: number | string\n border?: number | string\n}\n\ninterface ThHTMLAttributes<T> extends HTMLAttributes<T> {\n colSpan?: number\n rowSpan?: number\n scope?: 'row' | 'col' | 'rowgroup' | 'colgroup'\n abbr?: string\n headers?: string\n}\n\ninterface TdHTMLAttributes<T> extends HTMLAttributes<T> {\n colSpan?: number\n rowSpan?: number\n headers?: string\n}\n\ninterface ColHTMLAttributes<T> extends HTMLAttributes<T> {\n span?: number\n}\n\ninterface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {\n span?: number\n}\n\n// List elements\ninterface OlHTMLAttributes<T> extends HTMLAttributes<T> {\n start?: number\n reversed?: boolean\n type?: '1' | 'a' | 'A' | 'i' | 'I'\n}\n\ninterface LiHTMLAttributes<T> extends HTMLAttributes<T> {\n value?: number\n}\n\n// Media elements\ninterface AudioVideoHTMLAttributes<T> extends HTMLAttributes<T> {\n src?: string\n controls?: boolean\n autoPlay?: boolean\n loop?: boolean\n muted?: boolean\n preload?: 'none' | 'metadata' | 'auto'\n crossOrigin?: 'anonymous' | 'use-credentials'\n poster?: string // video only\n width?: number | string // video only\n height?: number | string // video only\n playsInline?: boolean\n disableRemotePlayback?: boolean\n onPlay?: (e: Event) => void\n onPause?: (e: Event) => void\n onEnded?: (e: Event) => void\n onTimeUpdate?: (e: Event) => void\n onVolumeChange?: (e: Event) => void\n onSeeking?: (e: Event) => void\n onSeeked?: (e: Event) => void\n onLoadedData?: (e: Event) => void\n onLoadedMetadata?: (e: Event) => void\n onCanPlay?: (e: Event) => void\n onCanPlayThrough?: (e: Event) => void\n onWaiting?: (e: Event) => void\n onPlaying?: (e: Event) => void\n onProgress?: (e: Event) => void\n onDurationChange?: (e: Event) => void\n onRateChange?: (e: Event) => void\n onStalled?: (e: Event) => void\n onSuspend?: (e: Event) => void\n onEmptied?: (e: Event) => void\n}\n\ninterface SourceHTMLAttributes<T> extends HTMLAttributes<T> {\n src?: string\n srcSet?: string\n sizes?: string\n type?: string\n media?: string\n width?: number | string\n height?: number | string\n}\n\ninterface TrackHTMLAttributes<T> extends HTMLAttributes<T> {\n src?: string\n srcLang?: string\n label?: string\n kind?: 'subtitles' | 'captions' | 'descriptions' | 'chapters' | 'metadata'\n default?: boolean\n}\n\n// Embedded content\ninterface IframeHTMLAttributes<T> extends HTMLAttributes<T> {\n src?: string\n srcDoc?: string\n name?: string\n width?: number | string\n height?: number | string\n allow?: string\n allowFullScreen?: boolean\n sandbox?: string\n loading?: 'eager' | 'lazy'\n referrerPolicy?: ReferrerPolicy\n}\n\ninterface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {\n src?: string\n type?: string\n width?: number | string\n height?: number | string\n}\n\ninterface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {\n data?: string\n type?: string\n name?: string\n width?: number | string\n height?: number | string\n form?: string\n useMap?: string\n}\n\ninterface ParamHTMLAttributes<T> extends HTMLAttributes<T> {\n name?: string\n value?: string\n}\n\ninterface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {\n width?: number | string\n height?: number | string\n}\n\ninterface MapHTMLAttributes<T> extends HTMLAttributes<T> {\n name?: string\n}\n\ninterface AreaHTMLAttributes<T> extends HTMLAttributes<T> {\n alt?: string\n coords?: string\n href?: string\n hreflang?: string\n download?: boolean | string\n rel?: string\n shape?: 'rect' | 'circle' | 'poly' | 'default'\n target?: string\n referrerPolicy?: ReferrerPolicy\n ping?: string\n}\n\n// Interactive elements\ninterface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {\n open?: boolean\n onToggle?: (e: Event) => void\n}\n\ninterface DialogHTMLAttributes<T> extends HTMLAttributes<T> {\n open?: boolean\n onClose?: (e: Event) => void\n onCancel?: (e: Event) => void\n}\n\n// Other elements\ninterface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {\n cite?: string\n}\n\ninterface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {\n cite?: string\n}\n\ninterface TimeHTMLAttributes<T> extends HTMLAttributes<T> {\n dateTime?: string\n}\n\ninterface DataHTMLAttributes<T> extends HTMLAttributes<T> {\n value?: string\n}\n\ninterface MetaHTMLAttributes<T> extends HTMLAttributes<T> {\n name?: string\n content?: string\n httpEquiv?: string\n charSet?: string\n property?: string\n}\n\ninterface LinkHTMLAttributes<T> extends HTMLAttributes<T> {\n href?: string\n rel?: string\n type?: string\n media?: string\n as?: string\n crossOrigin?: 'anonymous' | 'use-credentials'\n referrerPolicy?: ReferrerPolicy\n sizes?: string\n hreflang?: string\n integrity?: string\n fetchPriority?: 'auto' | 'high' | 'low'\n disabled?: boolean\n}\n\ninterface StyleHTMLAttributes<T> extends HTMLAttributes<T> {\n media?: string\n nonce?: string\n blocking?: string\n}\n\ninterface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {\n src?: string\n type?: string\n async?: boolean\n defer?: boolean\n crossOrigin?: 'anonymous' | 'use-credentials'\n integrity?: string\n noModule?: boolean\n nonce?: string\n referrerPolicy?: ReferrerPolicy\n fetchPriority?: 'auto' | 'high' | 'low'\n blocking?: string\n}\n\ninterface SlotHTMLAttributes<T> extends HTMLAttributes<T> {\n name?: string\n onSlotchange?: (e: Event) => void\n}\n\n// SVG Attributes (basic support)\ninterface SVGAttributes<T> extends HTMLAttributes<T> {\n // Core SVG attributes\n viewBox?: string\n xmlns?: string\n xmlnsXlink?: string\n fill?: string\n stroke?: string\n strokeWidth?: string | number\n strokeLinecap?: 'butt' | 'round' | 'square'\n strokeLinejoin?: 'miter' | 'round' | 'bevel'\n strokeDasharray?: string\n strokeDashoffset?: string | number\n strokeOpacity?: string | number\n fillOpacity?: string | number\n opacity?: string | number\n transform?: string\n transformOrigin?: string\n clipPath?: string\n mask?: string\n filter?: string\n\n // Shape attributes\n d?: string\n cx?: string | number\n cy?: string | number\n r?: string | number\n rx?: string | number\n ry?: string | number\n x?: string | number\n y?: string | number\n x1?: string | number\n y1?: string | number\n x2?: string | number\n y2?: string | number\n width?: string | number\n height?: string | number\n points?: string\n pathLength?: string | number\n\n // Text attributes\n textAnchor?: 'start' | 'middle' | 'end'\n dominantBaseline?: string\n dx?: string | number\n dy?: string | number\n fontSize?: string | number\n fontFamily?: string\n fontWeight?: string | number\n\n // Use element\n href?: string\n xlinkHref?: string\n\n // Gradient/pattern\n gradientUnits?: 'userSpaceOnUse' | 'objectBoundingBox'\n gradientTransform?: string\n spreadMethod?: 'pad' | 'reflect' | 'repeat'\n offset?: string | number\n stopColor?: string\n stopOpacity?: string | number\n\n // Clip/mask\n clipPathUnits?: 'userSpaceOnUse' | 'objectBoundingBox'\n maskUnits?: 'userSpaceOnUse' | 'objectBoundingBox'\n maskContentUnits?: 'userSpaceOnUse' | 'objectBoundingBox'\n\n // Other\n preserveAspectRatio?: string\n markerStart?: string\n markerMid?: string\n markerEnd?: string\n vectorEffect?: string\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACEO,IAAM,WAAW,OAAO,UAAU;AAElC,SAAS,IACd,MACA,OACA,KACU;AACV,SAAO,EAAE,MAAM,OAAO,IAAI;AAC5B;AAEO,IAAM,OAAO;AACb,IAAM,SAAS;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/jsx-dev-runtime.ts","../src/jsx.ts"],"sourcesContent":["export { jsx, jsxs, jsxDEV, Fragment } from './jsx'\nexport type { JSX } from './jsx'\n","import type { FictNode } from './types'\n\nexport const Fragment = Symbol('Fragment')\n\nexport function jsx(\n type: string | typeof Fragment | ((props: Record<string, unknown>) => FictNode),\n props: Record<string, unknown>,\n key?: string,\n): FictNode {\n return { type, props, key }\n}\n\nexport const jsxs = jsx\nexport const jsxDEV = jsx\n\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport namespace JSX {\n export type Element = FictNode\n\n export interface IntrinsicElements {\n // Document structure\n html: HTMLAttributes<HTMLHtmlElement>\n head: HTMLAttributes<HTMLHeadElement>\n body: HTMLAttributes<HTMLBodyElement>\n title: HTMLAttributes<HTMLTitleElement>\n meta: MetaHTMLAttributes<HTMLMetaElement>\n link: LinkHTMLAttributes<HTMLLinkElement>\n style: StyleHTMLAttributes<HTMLStyleElement>\n script: ScriptHTMLAttributes<HTMLScriptElement>\n noscript: HTMLAttributes<HTMLElement>\n\n // Layout & Semantic\n div: HTMLAttributes<HTMLDivElement>\n span: HTMLAttributes<HTMLSpanElement>\n main: HTMLAttributes<HTMLElement>\n header: HTMLAttributes<HTMLElement>\n footer: HTMLAttributes<HTMLElement>\n section: HTMLAttributes<HTMLElement>\n article: HTMLAttributes<HTMLElement>\n aside: HTMLAttributes<HTMLElement>\n nav: HTMLAttributes<HTMLElement>\n address: HTMLAttributes<HTMLElement>\n\n // Headings\n h1: HTMLAttributes<HTMLHeadingElement>\n h2: HTMLAttributes<HTMLHeadingElement>\n h3: HTMLAttributes<HTMLHeadingElement>\n h4: HTMLAttributes<HTMLHeadingElement>\n h5: HTMLAttributes<HTMLHeadingElement>\n h6: HTMLAttributes<HTMLHeadingElement>\n hgroup: HTMLAttributes<HTMLElement>\n\n // Text content\n p: HTMLAttributes<HTMLParagraphElement>\n blockquote: BlockquoteHTMLAttributes<HTMLQuoteElement>\n pre: HTMLAttributes<HTMLPreElement>\n figure: HTMLAttributes<HTMLElement>\n figcaption: HTMLAttributes<HTMLElement>\n hr: HTMLAttributes<HTMLHRElement>\n br: HTMLAttributes<HTMLBRElement>\n wbr: HTMLAttributes<HTMLElement>\n\n // Inline text semantics\n a: AnchorHTMLAttributes<HTMLAnchorElement>\n abbr: HTMLAttributes<HTMLElement>\n b: HTMLAttributes<HTMLElement>\n bdi: HTMLAttributes<HTMLElement>\n bdo: HTMLAttributes<HTMLElement>\n cite: HTMLAttributes<HTMLElement>\n code: HTMLAttributes<HTMLElement>\n data: DataHTMLAttributes<HTMLDataElement>\n dfn: HTMLAttributes<HTMLElement>\n em: HTMLAttributes<HTMLElement>\n i: HTMLAttributes<HTMLElement>\n kbd: HTMLAttributes<HTMLElement>\n mark: HTMLAttributes<HTMLElement>\n q: QuoteHTMLAttributes<HTMLQuoteElement>\n rp: HTMLAttributes<HTMLElement>\n rt: HTMLAttributes<HTMLElement>\n ruby: HTMLAttributes<HTMLElement>\n s: HTMLAttributes<HTMLElement>\n samp: HTMLAttributes<HTMLElement>\n small: HTMLAttributes<HTMLElement>\n strong: HTMLAttributes<HTMLElement>\n sub: HTMLAttributes<HTMLElement>\n sup: HTMLAttributes<HTMLElement>\n time: TimeHTMLAttributes<HTMLTimeElement>\n u: HTMLAttributes<HTMLElement>\n var: HTMLAttributes<HTMLElement>\n\n // Lists\n ul: HTMLAttributes<HTMLUListElement>\n ol: OlHTMLAttributes<HTMLOListElement>\n li: LiHTMLAttributes<HTMLLIElement>\n dl: HTMLAttributes<HTMLDListElement>\n dt: HTMLAttributes<HTMLElement>\n dd: HTMLAttributes<HTMLElement>\n menu: HTMLAttributes<HTMLMenuElement>\n\n // Tables\n table: TableHTMLAttributes<HTMLTableElement>\n caption: HTMLAttributes<HTMLTableCaptionElement>\n colgroup: ColgroupHTMLAttributes<HTMLTableColElement>\n col: ColHTMLAttributes<HTMLTableColElement>\n thead: HTMLAttributes<HTMLTableSectionElement>\n tbody: HTMLAttributes<HTMLTableSectionElement>\n tfoot: HTMLAttributes<HTMLTableSectionElement>\n tr: HTMLAttributes<HTMLTableRowElement>\n th: ThHTMLAttributes<HTMLTableCellElement>\n td: TdHTMLAttributes<HTMLTableCellElement>\n\n // Forms\n form: FormHTMLAttributes<HTMLFormElement>\n fieldset: FieldsetHTMLAttributes<HTMLFieldSetElement>\n legend: HTMLAttributes<HTMLLegendElement>\n label: LabelHTMLAttributes<HTMLLabelElement>\n input: InputHTMLAttributes<HTMLInputElement>\n button: ButtonHTMLAttributes<HTMLButtonElement>\n select: SelectHTMLAttributes<HTMLSelectElement>\n datalist: HTMLAttributes<HTMLDataListElement>\n optgroup: OptgroupHTMLAttributes<HTMLOptGroupElement>\n option: OptionHTMLAttributes<HTMLOptionElement>\n textarea: TextareaHTMLAttributes<HTMLTextAreaElement>\n output: OutputHTMLAttributes<HTMLOutputElement>\n progress: ProgressHTMLAttributes<HTMLProgressElement>\n meter: MeterHTMLAttributes<HTMLMeterElement>\n\n // Interactive\n details: DetailsHTMLAttributes<HTMLDetailsElement>\n summary: HTMLAttributes<HTMLElement>\n dialog: DialogHTMLAttributes<HTMLDialogElement>\n\n // Media\n img: ImgHTMLAttributes<HTMLImageElement>\n picture: HTMLAttributes<HTMLPictureElement>\n source: SourceHTMLAttributes<HTMLSourceElement>\n audio: AudioVideoHTMLAttributes<HTMLAudioElement>\n video: AudioVideoHTMLAttributes<HTMLVideoElement>\n track: TrackHTMLAttributes<HTMLTrackElement>\n map: MapHTMLAttributes<HTMLMapElement>\n area: AreaHTMLAttributes<HTMLAreaElement>\n\n // Embedded content\n iframe: IframeHTMLAttributes<HTMLIFrameElement>\n embed: EmbedHTMLAttributes<HTMLEmbedElement>\n object: ObjectHTMLAttributes<HTMLObjectElement>\n param: ParamHTMLAttributes<HTMLParamElement>\n canvas: CanvasHTMLAttributes<HTMLCanvasElement>\n\n // SVG (basic support)\n svg: SVGAttributes<SVGSVGElement>\n path: SVGAttributes<SVGPathElement>\n circle: SVGAttributes<SVGCircleElement>\n rect: SVGAttributes<SVGRectElement>\n line: SVGAttributes<SVGLineElement>\n polyline: SVGAttributes<SVGPolylineElement>\n polygon: SVGAttributes<SVGPolygonElement>\n ellipse: SVGAttributes<SVGEllipseElement>\n g: SVGAttributes<SVGGElement>\n defs: SVGAttributes<SVGDefsElement>\n use: SVGAttributes<SVGUseElement>\n text: SVGAttributes<SVGTextElement>\n tspan: SVGAttributes<SVGTSpanElement>\n\n // Web components / other\n template: HTMLAttributes<HTMLTemplateElement>\n slot: SlotHTMLAttributes<HTMLSlotElement>\n portal: HTMLAttributes<HTMLElement>\n }\n\n export interface ElementChildrenAttribute {\n children: unknown\n }\n}\n\n// ============================================================================\n// Base HTML Attributes\n// ============================================================================\n\ninterface HTMLAttributes<T> {\n // Children\n children?: FictNode | FictNode[]\n\n // JSX special attributes\n key?: string | number\n\n // Core attributes\n id?: string\n class?: string\n style?: string | Record<string, string | number>\n title?: string\n lang?: string\n dir?: 'ltr' | 'rtl' | 'auto'\n hidden?: boolean | 'hidden' | 'until-found'\n tabIndex?: number\n draggable?: boolean | 'true' | 'false'\n contentEditable?: boolean | 'true' | 'false' | 'inherit'\n spellCheck?: boolean | 'true' | 'false'\n translate?: 'yes' | 'no'\n inert?: boolean\n popover?: 'auto' | 'manual'\n\n // Experimental / newer\n autofocus?: boolean\n slot?: string\n accessKey?: string\n\n // Event handlers\n onClick?: (e: MouseEvent) => void\n onClick$?: (e: MouseEvent) => void\n onDblClick?: (e: MouseEvent) => void\n onDblClick$?: (e: MouseEvent) => void\n onMouseDown?: (e: MouseEvent) => void\n onMouseDown$?: (e: MouseEvent) => void\n onMouseUp?: (e: MouseEvent) => void\n onMouseUp$?: (e: MouseEvent) => void\n onMouseMove?: (e: MouseEvent) => void\n onMouseMove$?: (e: MouseEvent) => void\n onMouseEnter?: (e: MouseEvent) => void\n onMouseEnter$?: (e: MouseEvent) => void\n onMouseLeave?: (e: MouseEvent) => void\n onMouseLeave$?: (e: MouseEvent) => void\n onMouseOver?: (e: MouseEvent) => void\n onMouseOver$?: (e: MouseEvent) => void\n onMouseOut?: (e: MouseEvent) => void\n onMouseOut$?: (e: MouseEvent) => void\n onContextMenu?: (e: MouseEvent) => void\n onContextMenu$?: (e: MouseEvent) => void\n onInput?: (e: InputEvent) => void\n onInput$?: (e: InputEvent) => void\n onChange?: (e: Event) => void\n onChange$?: (e: Event) => void\n onSubmit?: (e: SubmitEvent) => void\n onSubmit$?: (e: SubmitEvent) => void\n onReset?: (e: Event) => void\n onReset$?: (e: Event) => void\n onKeyDown?: (e: KeyboardEvent) => void\n onKeyDown$?: (e: KeyboardEvent) => void\n onKeyUp?: (e: KeyboardEvent) => void\n onKeyUp$?: (e: KeyboardEvent) => void\n onKeyPress?: (e: KeyboardEvent) => void\n onKeyPress$?: (e: KeyboardEvent) => void\n onFocus?: (e: FocusEvent) => void\n onFocus$?: (e: FocusEvent) => void\n onBlur?: (e: FocusEvent) => void\n onBlur$?: (e: FocusEvent) => void\n onScroll?: (e: Event) => void\n onScroll$?: (e: Event) => void\n onWheel?: (e: WheelEvent) => void\n onWheel$?: (e: WheelEvent) => void\n onLoad?: (e: Event) => void\n onLoad$?: (e: Event) => void\n onError?: (e: Event) => void\n onError$?: (e: Event) => void\n\n // Drag events\n onDrag?: (e: DragEvent) => void\n onDrag$?: (e: DragEvent) => void\n onDragStart?: (e: DragEvent) => void\n onDragStart$?: (e: DragEvent) => void\n onDragEnd?: (e: DragEvent) => void\n onDragEnd$?: (e: DragEvent) => void\n onDragEnter?: (e: DragEvent) => void\n onDragEnter$?: (e: DragEvent) => void\n onDragLeave?: (e: DragEvent) => void\n onDragLeave$?: (e: DragEvent) => void\n onDragOver?: (e: DragEvent) => void\n onDragOver$?: (e: DragEvent) => void\n onDrop?: (e: DragEvent) => void\n onDrop$?: (e: DragEvent) => void\n\n // Touch events\n onTouchStart?: (e: TouchEvent) => void\n onTouchStart$?: (e: TouchEvent) => void\n onTouchMove?: (e: TouchEvent) => void\n onTouchMove$?: (e: TouchEvent) => void\n onTouchEnd?: (e: TouchEvent) => void\n onTouchEnd$?: (e: TouchEvent) => void\n onTouchCancel?: (e: TouchEvent) => void\n onTouchCancel$?: (e: TouchEvent) => void\n\n // Animation events\n onAnimationStart?: (e: AnimationEvent) => void\n onAnimationStart$?: (e: AnimationEvent) => void\n onAnimationEnd?: (e: AnimationEvent) => void\n onAnimationEnd$?: (e: AnimationEvent) => void\n onAnimationIteration?: (e: AnimationEvent) => void\n onAnimationIteration$?: (e: AnimationEvent) => void\n onTransitionEnd?: (e: TransitionEvent) => void\n onTransitionEnd$?: (e: TransitionEvent) => void\n\n // Pointer events\n onPointerDown?: (e: PointerEvent) => void\n onPointerDown$?: (e: PointerEvent) => void\n onPointerUp?: (e: PointerEvent) => void\n onPointerUp$?: (e: PointerEvent) => void\n onPointerMove?: (e: PointerEvent) => void\n onPointerMove$?: (e: PointerEvent) => void\n onPointerEnter?: (e: PointerEvent) => void\n onPointerEnter$?: (e: PointerEvent) => void\n onPointerLeave?: (e: PointerEvent) => void\n onPointerLeave$?: (e: PointerEvent) => void\n onPointerOver?: (e: PointerEvent) => void\n onPointerOver$?: (e: PointerEvent) => void\n onPointerOut?: (e: PointerEvent) => void\n onPointerOut$?: (e: PointerEvent) => void\n onPointerCancel?: (e: PointerEvent) => void\n onPointerCancel$?: (e: PointerEvent) => void\n\n // Ref\n ref?: ((el: T | null) => void) | { current: T | null }\n\n // ARIA attributes (common ones)\n role?: string\n 'aria-hidden'?: boolean | 'true' | 'false'\n 'aria-label'?: string\n 'aria-labelledby'?: string\n 'aria-describedby'?: string\n 'aria-live'?: 'off' | 'polite' | 'assertive'\n 'aria-atomic'?: boolean | 'true' | 'false'\n 'aria-busy'?: boolean | 'true' | 'false'\n 'aria-current'?: boolean | 'true' | 'false' | 'page' | 'step' | 'location' | 'date' | 'time'\n 'aria-disabled'?: boolean | 'true' | 'false'\n 'aria-expanded'?: boolean | 'true' | 'false'\n 'aria-haspopup'?: boolean | 'true' | 'false' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog'\n 'aria-pressed'?: boolean | 'true' | 'false' | 'mixed'\n 'aria-selected'?: boolean | 'true' | 'false'\n 'aria-checked'?: boolean | 'true' | 'false' | 'mixed'\n 'aria-controls'?: string\n 'aria-owns'?: string\n 'aria-activedescendant'?: string\n 'aria-valuemin'?: number\n 'aria-valuemax'?: number\n 'aria-valuenow'?: number\n 'aria-valuetext'?: string\n 'aria-orientation'?: 'horizontal' | 'vertical'\n 'aria-readonly'?: boolean | 'true' | 'false'\n 'aria-required'?: boolean | 'true' | 'false'\n 'aria-invalid'?: boolean | 'true' | 'false' | 'grammar' | 'spelling'\n 'aria-errormessage'?: string\n 'aria-modal'?: boolean | 'true' | 'false'\n 'aria-placeholder'?: string\n 'aria-sort'?: 'none' | 'ascending' | 'descending' | 'other'\n 'aria-colcount'?: number\n 'aria-colindex'?: number\n 'aria-colspan'?: number\n 'aria-rowcount'?: number\n 'aria-rowindex'?: number\n 'aria-rowspan'?: number\n 'aria-setsize'?: number\n 'aria-posinset'?: number\n 'aria-level'?: number\n 'aria-multiselectable'?: boolean | 'true' | 'false'\n 'aria-autocomplete'?: 'none' | 'inline' | 'list' | 'both'\n 'aria-details'?: string\n 'aria-keyshortcuts'?: string\n 'aria-roledescription'?: string\n\n // Data attributes via index signature\n [key: `data-${string}`]: string | number | boolean | undefined\n}\n\n// ============================================================================\n// Specialized Attribute Interfaces\n// ============================================================================\n\ninterface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {\n href?: string\n target?: '_self' | '_blank' | '_parent' | '_top' | string\n rel?: string\n download?: boolean | string\n hreflang?: string\n type?: string\n referrerPolicy?: ReferrerPolicy\n ping?: string\n}\n\ninterface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {\n type?: 'button' | 'submit' | 'reset'\n disabled?: boolean\n name?: string\n value?: string\n form?: string\n formAction?: string\n formEncType?: string\n formMethod?: string\n formNoValidate?: boolean\n formTarget?: string\n popovertarget?: string\n popovertargetaction?: 'show' | 'hide' | 'toggle'\n}\n\ninterface InputHTMLAttributes<T> extends HTMLAttributes<T> {\n type?: string\n value?: string | number | readonly string[]\n defaultValue?: string | number | readonly string[]\n checked?: boolean\n defaultChecked?: boolean\n disabled?: boolean\n placeholder?: string\n name?: string\n form?: string\n required?: boolean\n readonly?: boolean\n multiple?: boolean\n min?: number | string\n max?: number | string\n minLength?: number\n maxLength?: number\n step?: number | string\n pattern?: string\n size?: number\n accept?: string\n capture?: boolean | 'user' | 'environment'\n list?: string\n autoComplete?: string\n autoCapitalize?: string\n inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'\n enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'\n height?: number | string\n width?: number | string\n alt?: string\n src?: string\n formAction?: string\n formEncType?: string\n formMethod?: string\n formNoValidate?: boolean\n formTarget?: string\n}\n\ninterface FormHTMLAttributes<T> extends HTMLAttributes<T> {\n action?: string\n method?: 'get' | 'post' | 'dialog'\n encType?: string\n target?: string\n name?: string\n noValidate?: boolean\n autoComplete?: 'on' | 'off'\n acceptCharset?: string\n}\n\ninterface ImgHTMLAttributes<T> extends HTMLAttributes<T> {\n src?: string\n alt?: string\n width?: number | string\n height?: number | string\n srcSet?: string\n sizes?: string\n loading?: 'eager' | 'lazy'\n decoding?: 'async' | 'auto' | 'sync'\n crossOrigin?: 'anonymous' | 'use-credentials'\n referrerPolicy?: ReferrerPolicy\n useMap?: string\n isMap?: boolean\n fetchPriority?: 'auto' | 'high' | 'low'\n}\n\ninterface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {\n value?: string | number\n defaultValue?: string\n disabled?: boolean\n placeholder?: string\n name?: string\n form?: string\n required?: boolean\n readonly?: boolean\n rows?: number\n cols?: number\n minLength?: number\n maxLength?: number\n wrap?: 'hard' | 'soft' | 'off'\n autoComplete?: string\n}\n\ninterface SelectHTMLAttributes<T> extends HTMLAttributes<T> {\n value?: string | number | readonly string[]\n defaultValue?: string | number | readonly string[]\n disabled?: boolean\n name?: string\n form?: string\n required?: boolean\n multiple?: boolean\n size?: number\n autoComplete?: string\n}\n\ninterface OptionHTMLAttributes<T> extends HTMLAttributes<T> {\n value?: string | number\n disabled?: boolean\n selected?: boolean\n label?: string\n}\n\ninterface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {\n disabled?: boolean\n label?: string\n}\n\ninterface LabelHTMLAttributes<T> extends HTMLAttributes<T> {\n for?: string\n htmlFor?: string\n form?: string\n}\n\ninterface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {\n disabled?: boolean\n name?: string\n form?: string\n}\n\ninterface OutputHTMLAttributes<T> extends HTMLAttributes<T> {\n for?: string\n htmlFor?: string\n form?: string\n name?: string\n}\n\ninterface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {\n value?: number | string\n max?: number | string\n}\n\ninterface MeterHTMLAttributes<T> extends HTMLAttributes<T> {\n value?: number | string\n min?: number | string\n max?: number | string\n low?: number | string\n high?: number | string\n optimum?: number | string\n}\n\n// Table elements\ninterface TableHTMLAttributes<T> extends HTMLAttributes<T> {\n cellPadding?: number | string\n cellSpacing?: number | string\n border?: number | string\n}\n\ninterface ThHTMLAttributes<T> extends HTMLAttributes<T> {\n colSpan?: number\n rowSpan?: number\n scope?: 'row' | 'col' | 'rowgroup' | 'colgroup'\n abbr?: string\n headers?: string\n}\n\ninterface TdHTMLAttributes<T> extends HTMLAttributes<T> {\n colSpan?: number\n rowSpan?: number\n headers?: string\n}\n\ninterface ColHTMLAttributes<T> extends HTMLAttributes<T> {\n span?: number\n}\n\ninterface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {\n span?: number\n}\n\n// List elements\ninterface OlHTMLAttributes<T> extends HTMLAttributes<T> {\n start?: number\n reversed?: boolean\n type?: '1' | 'a' | 'A' | 'i' | 'I'\n}\n\ninterface LiHTMLAttributes<T> extends HTMLAttributes<T> {\n value?: number\n}\n\n// Media elements\ninterface AudioVideoHTMLAttributes<T> extends HTMLAttributes<T> {\n src?: string\n controls?: boolean\n autoPlay?: boolean\n loop?: boolean\n muted?: boolean\n preload?: 'none' | 'metadata' | 'auto'\n crossOrigin?: 'anonymous' | 'use-credentials'\n poster?: string // video only\n width?: number | string // video only\n height?: number | string // video only\n playsInline?: boolean\n disableRemotePlayback?: boolean\n onPlay?: (e: Event) => void\n onPause?: (e: Event) => void\n onEnded?: (e: Event) => void\n onTimeUpdate?: (e: Event) => void\n onVolumeChange?: (e: Event) => void\n onSeeking?: (e: Event) => void\n onSeeked?: (e: Event) => void\n onLoadedData?: (e: Event) => void\n onLoadedMetadata?: (e: Event) => void\n onCanPlay?: (e: Event) => void\n onCanPlayThrough?: (e: Event) => void\n onWaiting?: (e: Event) => void\n onPlaying?: (e: Event) => void\n onProgress?: (e: Event) => void\n onDurationChange?: (e: Event) => void\n onRateChange?: (e: Event) => void\n onStalled?: (e: Event) => void\n onSuspend?: (e: Event) => void\n onEmptied?: (e: Event) => void\n}\n\ninterface SourceHTMLAttributes<T> extends HTMLAttributes<T> {\n src?: string\n srcSet?: string\n sizes?: string\n type?: string\n media?: string\n width?: number | string\n height?: number | string\n}\n\ninterface TrackHTMLAttributes<T> extends HTMLAttributes<T> {\n src?: string\n srcLang?: string\n label?: string\n kind?: 'subtitles' | 'captions' | 'descriptions' | 'chapters' | 'metadata'\n default?: boolean\n}\n\n// Embedded content\ninterface IframeHTMLAttributes<T> extends HTMLAttributes<T> {\n src?: string\n srcDoc?: string\n name?: string\n width?: number | string\n height?: number | string\n allow?: string\n allowFullScreen?: boolean\n sandbox?: string\n loading?: 'eager' | 'lazy'\n referrerPolicy?: ReferrerPolicy\n}\n\ninterface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {\n src?: string\n type?: string\n width?: number | string\n height?: number | string\n}\n\ninterface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {\n data?: string\n type?: string\n name?: string\n width?: number | string\n height?: number | string\n form?: string\n useMap?: string\n}\n\ninterface ParamHTMLAttributes<T> extends HTMLAttributes<T> {\n name?: string\n value?: string\n}\n\ninterface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {\n width?: number | string\n height?: number | string\n}\n\ninterface MapHTMLAttributes<T> extends HTMLAttributes<T> {\n name?: string\n}\n\ninterface AreaHTMLAttributes<T> extends HTMLAttributes<T> {\n alt?: string\n coords?: string\n href?: string\n hreflang?: string\n download?: boolean | string\n rel?: string\n shape?: 'rect' | 'circle' | 'poly' | 'default'\n target?: string\n referrerPolicy?: ReferrerPolicy\n ping?: string\n}\n\n// Interactive elements\ninterface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {\n open?: boolean\n onToggle?: (e: Event) => void\n}\n\ninterface DialogHTMLAttributes<T> extends HTMLAttributes<T> {\n open?: boolean\n onClose?: (e: Event) => void\n onCancel?: (e: Event) => void\n}\n\n// Other elements\ninterface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {\n cite?: string\n}\n\ninterface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {\n cite?: string\n}\n\ninterface TimeHTMLAttributes<T> extends HTMLAttributes<T> {\n dateTime?: string\n}\n\ninterface DataHTMLAttributes<T> extends HTMLAttributes<T> {\n value?: string\n}\n\ninterface MetaHTMLAttributes<T> extends HTMLAttributes<T> {\n name?: string\n content?: string\n httpEquiv?: string\n charSet?: string\n property?: string\n}\n\ninterface LinkHTMLAttributes<T> extends HTMLAttributes<T> {\n href?: string\n rel?: string\n type?: string\n media?: string\n as?: string\n crossOrigin?: 'anonymous' | 'use-credentials'\n referrerPolicy?: ReferrerPolicy\n sizes?: string\n hreflang?: string\n integrity?: string\n fetchPriority?: 'auto' | 'high' | 'low'\n disabled?: boolean\n}\n\ninterface StyleHTMLAttributes<T> extends HTMLAttributes<T> {\n media?: string\n nonce?: string\n blocking?: string\n}\n\ninterface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {\n src?: string\n type?: string\n async?: boolean\n defer?: boolean\n crossOrigin?: 'anonymous' | 'use-credentials'\n integrity?: string\n noModule?: boolean\n nonce?: string\n referrerPolicy?: ReferrerPolicy\n fetchPriority?: 'auto' | 'high' | 'low'\n blocking?: string\n}\n\ninterface SlotHTMLAttributes<T> extends HTMLAttributes<T> {\n name?: string\n onSlotchange?: (e: Event) => void\n}\n\n// SVG Attributes (basic support)\ninterface SVGAttributes<T> extends HTMLAttributes<T> {\n // Core SVG attributes\n viewBox?: string\n xmlns?: string\n xmlnsXlink?: string\n fill?: string\n stroke?: string\n strokeWidth?: string | number\n strokeLinecap?: 'butt' | 'round' | 'square'\n strokeLinejoin?: 'miter' | 'round' | 'bevel'\n strokeDasharray?: string\n strokeDashoffset?: string | number\n strokeOpacity?: string | number\n fillOpacity?: string | number\n opacity?: string | number\n transform?: string\n transformOrigin?: string\n clipPath?: string\n mask?: string\n filter?: string\n\n // Shape attributes\n d?: string\n cx?: string | number\n cy?: string | number\n r?: string | number\n rx?: string | number\n ry?: string | number\n x?: string | number\n y?: string | number\n x1?: string | number\n y1?: string | number\n x2?: string | number\n y2?: string | number\n width?: string | number\n height?: string | number\n points?: string\n pathLength?: string | number\n\n // Text attributes\n textAnchor?: 'start' | 'middle' | 'end'\n dominantBaseline?: string\n dx?: string | number\n dy?: string | number\n fontSize?: string | number\n fontFamily?: string\n fontWeight?: string | number\n\n // Use element\n href?: string\n xlinkHref?: string\n\n // Gradient/pattern\n gradientUnits?: 'userSpaceOnUse' | 'objectBoundingBox'\n gradientTransform?: string\n spreadMethod?: 'pad' | 'reflect' | 'repeat'\n offset?: string | number\n stopColor?: string\n stopOpacity?: string | number\n\n // Clip/mask\n clipPathUnits?: 'userSpaceOnUse' | 'objectBoundingBox'\n maskUnits?: 'userSpaceOnUse' | 'objectBoundingBox'\n maskContentUnits?: 'userSpaceOnUse' | 'objectBoundingBox'\n\n // Other\n preserveAspectRatio?: string\n markerStart?: string\n markerMid?: string\n markerEnd?: string\n vectorEffect?: string\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACEO,IAAM,WAAW,OAAO,UAAU;AAElC,SAAS,IACd,MACA,OACA,KACU;AACV,SAAO,EAAE,MAAM,OAAO,IAAI;AAC5B;AAEO,IAAM,OAAO;AACb,IAAM,SAAS;","names":[]}
|
|
@@ -169,51 +169,97 @@ interface HTMLAttributes<T> {
|
|
|
169
169
|
slot?: string;
|
|
170
170
|
accessKey?: string;
|
|
171
171
|
onClick?: (e: MouseEvent) => void;
|
|
172
|
+
onClick$?: (e: MouseEvent) => void;
|
|
172
173
|
onDblClick?: (e: MouseEvent) => void;
|
|
174
|
+
onDblClick$?: (e: MouseEvent) => void;
|
|
173
175
|
onMouseDown?: (e: MouseEvent) => void;
|
|
176
|
+
onMouseDown$?: (e: MouseEvent) => void;
|
|
174
177
|
onMouseUp?: (e: MouseEvent) => void;
|
|
178
|
+
onMouseUp$?: (e: MouseEvent) => void;
|
|
175
179
|
onMouseMove?: (e: MouseEvent) => void;
|
|
180
|
+
onMouseMove$?: (e: MouseEvent) => void;
|
|
176
181
|
onMouseEnter?: (e: MouseEvent) => void;
|
|
182
|
+
onMouseEnter$?: (e: MouseEvent) => void;
|
|
177
183
|
onMouseLeave?: (e: MouseEvent) => void;
|
|
184
|
+
onMouseLeave$?: (e: MouseEvent) => void;
|
|
178
185
|
onMouseOver?: (e: MouseEvent) => void;
|
|
186
|
+
onMouseOver$?: (e: MouseEvent) => void;
|
|
179
187
|
onMouseOut?: (e: MouseEvent) => void;
|
|
188
|
+
onMouseOut$?: (e: MouseEvent) => void;
|
|
180
189
|
onContextMenu?: (e: MouseEvent) => void;
|
|
190
|
+
onContextMenu$?: (e: MouseEvent) => void;
|
|
181
191
|
onInput?: (e: InputEvent) => void;
|
|
192
|
+
onInput$?: (e: InputEvent) => void;
|
|
182
193
|
onChange?: (e: Event) => void;
|
|
194
|
+
onChange$?: (e: Event) => void;
|
|
183
195
|
onSubmit?: (e: SubmitEvent) => void;
|
|
196
|
+
onSubmit$?: (e: SubmitEvent) => void;
|
|
184
197
|
onReset?: (e: Event) => void;
|
|
198
|
+
onReset$?: (e: Event) => void;
|
|
185
199
|
onKeyDown?: (e: KeyboardEvent) => void;
|
|
200
|
+
onKeyDown$?: (e: KeyboardEvent) => void;
|
|
186
201
|
onKeyUp?: (e: KeyboardEvent) => void;
|
|
202
|
+
onKeyUp$?: (e: KeyboardEvent) => void;
|
|
187
203
|
onKeyPress?: (e: KeyboardEvent) => void;
|
|
204
|
+
onKeyPress$?: (e: KeyboardEvent) => void;
|
|
188
205
|
onFocus?: (e: FocusEvent) => void;
|
|
206
|
+
onFocus$?: (e: FocusEvent) => void;
|
|
189
207
|
onBlur?: (e: FocusEvent) => void;
|
|
208
|
+
onBlur$?: (e: FocusEvent) => void;
|
|
190
209
|
onScroll?: (e: Event) => void;
|
|
210
|
+
onScroll$?: (e: Event) => void;
|
|
191
211
|
onWheel?: (e: WheelEvent) => void;
|
|
212
|
+
onWheel$?: (e: WheelEvent) => void;
|
|
192
213
|
onLoad?: (e: Event) => void;
|
|
214
|
+
onLoad$?: (e: Event) => void;
|
|
193
215
|
onError?: (e: Event) => void;
|
|
216
|
+
onError$?: (e: Event) => void;
|
|
194
217
|
onDrag?: (e: DragEvent) => void;
|
|
218
|
+
onDrag$?: (e: DragEvent) => void;
|
|
195
219
|
onDragStart?: (e: DragEvent) => void;
|
|
220
|
+
onDragStart$?: (e: DragEvent) => void;
|
|
196
221
|
onDragEnd?: (e: DragEvent) => void;
|
|
222
|
+
onDragEnd$?: (e: DragEvent) => void;
|
|
197
223
|
onDragEnter?: (e: DragEvent) => void;
|
|
224
|
+
onDragEnter$?: (e: DragEvent) => void;
|
|
198
225
|
onDragLeave?: (e: DragEvent) => void;
|
|
226
|
+
onDragLeave$?: (e: DragEvent) => void;
|
|
199
227
|
onDragOver?: (e: DragEvent) => void;
|
|
228
|
+
onDragOver$?: (e: DragEvent) => void;
|
|
200
229
|
onDrop?: (e: DragEvent) => void;
|
|
230
|
+
onDrop$?: (e: DragEvent) => void;
|
|
201
231
|
onTouchStart?: (e: TouchEvent) => void;
|
|
232
|
+
onTouchStart$?: (e: TouchEvent) => void;
|
|
202
233
|
onTouchMove?: (e: TouchEvent) => void;
|
|
234
|
+
onTouchMove$?: (e: TouchEvent) => void;
|
|
203
235
|
onTouchEnd?: (e: TouchEvent) => void;
|
|
236
|
+
onTouchEnd$?: (e: TouchEvent) => void;
|
|
204
237
|
onTouchCancel?: (e: TouchEvent) => void;
|
|
238
|
+
onTouchCancel$?: (e: TouchEvent) => void;
|
|
205
239
|
onAnimationStart?: (e: AnimationEvent) => void;
|
|
240
|
+
onAnimationStart$?: (e: AnimationEvent) => void;
|
|
206
241
|
onAnimationEnd?: (e: AnimationEvent) => void;
|
|
242
|
+
onAnimationEnd$?: (e: AnimationEvent) => void;
|
|
207
243
|
onAnimationIteration?: (e: AnimationEvent) => void;
|
|
244
|
+
onAnimationIteration$?: (e: AnimationEvent) => void;
|
|
208
245
|
onTransitionEnd?: (e: TransitionEvent) => void;
|
|
246
|
+
onTransitionEnd$?: (e: TransitionEvent) => void;
|
|
209
247
|
onPointerDown?: (e: PointerEvent) => void;
|
|
248
|
+
onPointerDown$?: (e: PointerEvent) => void;
|
|
210
249
|
onPointerUp?: (e: PointerEvent) => void;
|
|
250
|
+
onPointerUp$?: (e: PointerEvent) => void;
|
|
211
251
|
onPointerMove?: (e: PointerEvent) => void;
|
|
252
|
+
onPointerMove$?: (e: PointerEvent) => void;
|
|
212
253
|
onPointerEnter?: (e: PointerEvent) => void;
|
|
254
|
+
onPointerEnter$?: (e: PointerEvent) => void;
|
|
213
255
|
onPointerLeave?: (e: PointerEvent) => void;
|
|
256
|
+
onPointerLeave$?: (e: PointerEvent) => void;
|
|
214
257
|
onPointerOver?: (e: PointerEvent) => void;
|
|
258
|
+
onPointerOver$?: (e: PointerEvent) => void;
|
|
215
259
|
onPointerOut?: (e: PointerEvent) => void;
|
|
260
|
+
onPointerOut$?: (e: PointerEvent) => void;
|
|
216
261
|
onPointerCancel?: (e: PointerEvent) => void;
|
|
262
|
+
onPointerCancel$?: (e: PointerEvent) => void;
|
|
217
263
|
ref?: ((el: T | null) => void) | {
|
|
218
264
|
current: T | null;
|
|
219
265
|
};
|
|
@@ -169,51 +169,97 @@ interface HTMLAttributes<T> {
|
|
|
169
169
|
slot?: string;
|
|
170
170
|
accessKey?: string;
|
|
171
171
|
onClick?: (e: MouseEvent) => void;
|
|
172
|
+
onClick$?: (e: MouseEvent) => void;
|
|
172
173
|
onDblClick?: (e: MouseEvent) => void;
|
|
174
|
+
onDblClick$?: (e: MouseEvent) => void;
|
|
173
175
|
onMouseDown?: (e: MouseEvent) => void;
|
|
176
|
+
onMouseDown$?: (e: MouseEvent) => void;
|
|
174
177
|
onMouseUp?: (e: MouseEvent) => void;
|
|
178
|
+
onMouseUp$?: (e: MouseEvent) => void;
|
|
175
179
|
onMouseMove?: (e: MouseEvent) => void;
|
|
180
|
+
onMouseMove$?: (e: MouseEvent) => void;
|
|
176
181
|
onMouseEnter?: (e: MouseEvent) => void;
|
|
182
|
+
onMouseEnter$?: (e: MouseEvent) => void;
|
|
177
183
|
onMouseLeave?: (e: MouseEvent) => void;
|
|
184
|
+
onMouseLeave$?: (e: MouseEvent) => void;
|
|
178
185
|
onMouseOver?: (e: MouseEvent) => void;
|
|
186
|
+
onMouseOver$?: (e: MouseEvent) => void;
|
|
179
187
|
onMouseOut?: (e: MouseEvent) => void;
|
|
188
|
+
onMouseOut$?: (e: MouseEvent) => void;
|
|
180
189
|
onContextMenu?: (e: MouseEvent) => void;
|
|
190
|
+
onContextMenu$?: (e: MouseEvent) => void;
|
|
181
191
|
onInput?: (e: InputEvent) => void;
|
|
192
|
+
onInput$?: (e: InputEvent) => void;
|
|
182
193
|
onChange?: (e: Event) => void;
|
|
194
|
+
onChange$?: (e: Event) => void;
|
|
183
195
|
onSubmit?: (e: SubmitEvent) => void;
|
|
196
|
+
onSubmit$?: (e: SubmitEvent) => void;
|
|
184
197
|
onReset?: (e: Event) => void;
|
|
198
|
+
onReset$?: (e: Event) => void;
|
|
185
199
|
onKeyDown?: (e: KeyboardEvent) => void;
|
|
200
|
+
onKeyDown$?: (e: KeyboardEvent) => void;
|
|
186
201
|
onKeyUp?: (e: KeyboardEvent) => void;
|
|
202
|
+
onKeyUp$?: (e: KeyboardEvent) => void;
|
|
187
203
|
onKeyPress?: (e: KeyboardEvent) => void;
|
|
204
|
+
onKeyPress$?: (e: KeyboardEvent) => void;
|
|
188
205
|
onFocus?: (e: FocusEvent) => void;
|
|
206
|
+
onFocus$?: (e: FocusEvent) => void;
|
|
189
207
|
onBlur?: (e: FocusEvent) => void;
|
|
208
|
+
onBlur$?: (e: FocusEvent) => void;
|
|
190
209
|
onScroll?: (e: Event) => void;
|
|
210
|
+
onScroll$?: (e: Event) => void;
|
|
191
211
|
onWheel?: (e: WheelEvent) => void;
|
|
212
|
+
onWheel$?: (e: WheelEvent) => void;
|
|
192
213
|
onLoad?: (e: Event) => void;
|
|
214
|
+
onLoad$?: (e: Event) => void;
|
|
193
215
|
onError?: (e: Event) => void;
|
|
216
|
+
onError$?: (e: Event) => void;
|
|
194
217
|
onDrag?: (e: DragEvent) => void;
|
|
218
|
+
onDrag$?: (e: DragEvent) => void;
|
|
195
219
|
onDragStart?: (e: DragEvent) => void;
|
|
220
|
+
onDragStart$?: (e: DragEvent) => void;
|
|
196
221
|
onDragEnd?: (e: DragEvent) => void;
|
|
222
|
+
onDragEnd$?: (e: DragEvent) => void;
|
|
197
223
|
onDragEnter?: (e: DragEvent) => void;
|
|
224
|
+
onDragEnter$?: (e: DragEvent) => void;
|
|
198
225
|
onDragLeave?: (e: DragEvent) => void;
|
|
226
|
+
onDragLeave$?: (e: DragEvent) => void;
|
|
199
227
|
onDragOver?: (e: DragEvent) => void;
|
|
228
|
+
onDragOver$?: (e: DragEvent) => void;
|
|
200
229
|
onDrop?: (e: DragEvent) => void;
|
|
230
|
+
onDrop$?: (e: DragEvent) => void;
|
|
201
231
|
onTouchStart?: (e: TouchEvent) => void;
|
|
232
|
+
onTouchStart$?: (e: TouchEvent) => void;
|
|
202
233
|
onTouchMove?: (e: TouchEvent) => void;
|
|
234
|
+
onTouchMove$?: (e: TouchEvent) => void;
|
|
203
235
|
onTouchEnd?: (e: TouchEvent) => void;
|
|
236
|
+
onTouchEnd$?: (e: TouchEvent) => void;
|
|
204
237
|
onTouchCancel?: (e: TouchEvent) => void;
|
|
238
|
+
onTouchCancel$?: (e: TouchEvent) => void;
|
|
205
239
|
onAnimationStart?: (e: AnimationEvent) => void;
|
|
240
|
+
onAnimationStart$?: (e: AnimationEvent) => void;
|
|
206
241
|
onAnimationEnd?: (e: AnimationEvent) => void;
|
|
242
|
+
onAnimationEnd$?: (e: AnimationEvent) => void;
|
|
207
243
|
onAnimationIteration?: (e: AnimationEvent) => void;
|
|
244
|
+
onAnimationIteration$?: (e: AnimationEvent) => void;
|
|
208
245
|
onTransitionEnd?: (e: TransitionEvent) => void;
|
|
246
|
+
onTransitionEnd$?: (e: TransitionEvent) => void;
|
|
209
247
|
onPointerDown?: (e: PointerEvent) => void;
|
|
248
|
+
onPointerDown$?: (e: PointerEvent) => void;
|
|
210
249
|
onPointerUp?: (e: PointerEvent) => void;
|
|
250
|
+
onPointerUp$?: (e: PointerEvent) => void;
|
|
211
251
|
onPointerMove?: (e: PointerEvent) => void;
|
|
252
|
+
onPointerMove$?: (e: PointerEvent) => void;
|
|
212
253
|
onPointerEnter?: (e: PointerEvent) => void;
|
|
254
|
+
onPointerEnter$?: (e: PointerEvent) => void;
|
|
213
255
|
onPointerLeave?: (e: PointerEvent) => void;
|
|
256
|
+
onPointerLeave$?: (e: PointerEvent) => void;
|
|
214
257
|
onPointerOver?: (e: PointerEvent) => void;
|
|
258
|
+
onPointerOver$?: (e: PointerEvent) => void;
|
|
215
259
|
onPointerOut?: (e: PointerEvent) => void;
|
|
260
|
+
onPointerOut$?: (e: PointerEvent) => void;
|
|
216
261
|
onPointerCancel?: (e: PointerEvent) => void;
|
|
262
|
+
onPointerCancel$?: (e: PointerEvent) => void;
|
|
217
263
|
ref?: ((el: T | null) => void) | {
|
|
218
264
|
current: T | null;
|
|
219
265
|
};
|