@seed-design/stackflow 0.0.1-rc.1 → 0.0.1-rc.4
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/lib/components/AppBar/AppBar.cjs +92 -0
- package/lib/components/AppBar/AppBar.d.ts +13 -12
- package/lib/components/AppBar/AppBar.js +81 -0
- package/lib/components/AppBar/AppBar.namespace.cjs +15 -0
- package/lib/components/AppBar/AppBar.namespace.d.ts +2 -2
- package/lib/components/AppBar/AppBar.namespace.js +1 -0
- package/lib/components/AppBar/index.cjs +17 -0
- package/lib/components/AppBar/index.d.ts +3 -3
- package/lib/components/AppBar/index.js +3 -0
- package/lib/components/AppScreen/AppScreen.cjs +58 -0
- package/lib/components/AppScreen/AppScreen.d.ts +8 -7
- package/lib/components/AppScreen/AppScreen.js +50 -0
- package/lib/components/AppScreen/AppScreen.namespace.cjs +13 -0
- package/lib/components/AppScreen/AppScreen.namespace.d.ts +2 -2
- package/lib/components/AppScreen/AppScreen.namespace.js +1 -0
- package/lib/components/AppScreen/index.cjs +15 -0
- package/lib/components/AppScreen/index.d.ts +3 -3
- package/lib/components/AppScreen/index.js +3 -0
- package/lib/components/index.cjs +25 -0
- package/lib/components/index.d.ts +2 -2
- package/lib/components/index.js +6 -0
- package/lib/index.cjs +29 -0
- package/lib/index.d.ts +3 -3
- package/lib/index.js +9 -786
- package/lib/plugin.cjs +16 -0
- package/lib/plugin.d.ts +1 -1
- package/lib/plugin.js +12 -0
- package/lib/primitive/AppBar/AppBar.cjs +43 -0
- package/lib/primitive/AppBar/AppBar.d.ts +7 -6
- package/lib/primitive/AppBar/AppBar.js +36 -0
- package/lib/primitive/AppBar/AppBar.namespace.cjs +12 -0
- package/lib/primitive/AppBar/AppBar.namespace.d.ts +1 -1
- package/lib/primitive/AppBar/AppBar.namespace.js +1 -0
- package/lib/primitive/AppBar/index.cjs +14 -0
- package/lib/primitive/AppBar/index.d.ts +2 -2
- package/lib/primitive/AppBar/index.js +3 -0
- package/lib/primitive/AppBar/useAppBar.cjs +38 -0
- package/lib/primitive/AppBar/useAppBar.d.ts +168 -167
- package/lib/primitive/AppBar/useAppBar.js +34 -0
- package/lib/primitive/AppBar/useAppBarContext.cjs +20 -0
- package/lib/primitive/AppBar/useAppBarContext.d.ts +3 -2
- package/lib/primitive/AppBar/useAppBarContext.js +15 -0
- package/lib/primitive/AppScreen/AppScreen.cjs +57 -0
- package/lib/primitive/AppScreen/AppScreen.d.ts +7 -6
- package/lib/primitive/AppScreen/AppScreen.js +50 -0
- package/lib/primitive/AppScreen/AppScreen.namespace.cjs +12 -0
- package/lib/primitive/AppScreen/AppScreen.namespace.d.ts +1 -1
- package/lib/primitive/AppScreen/AppScreen.namespace.js +1 -0
- package/lib/primitive/AppScreen/index.cjs +16 -0
- package/lib/primitive/AppScreen/index.d.ts +3 -3
- package/lib/primitive/AppScreen/index.js +4 -0
- package/lib/primitive/AppScreen/useAppScreen.cjs +64 -0
- package/lib/primitive/AppScreen/useAppScreen.d.ts +657 -655
- package/lib/primitive/AppScreen/useAppScreen.js +60 -0
- package/lib/primitive/AppScreen/useAppScreenContext.cjs +20 -0
- package/lib/primitive/AppScreen/useAppScreenContext.d.ts +3 -2
- package/lib/primitive/AppScreen/useAppScreenContext.js +15 -0
- package/lib/primitive/GlobalInteraction/GlobalInteraction.cjs +27 -0
- package/lib/primitive/GlobalInteraction/GlobalInteraction.d.ts +3 -2
- package/lib/primitive/GlobalInteraction/GlobalInteraction.js +23 -0
- package/lib/primitive/GlobalInteraction/index.cjs +11 -0
- package/lib/primitive/GlobalInteraction/index.d.ts +2 -2
- package/lib/primitive/GlobalInteraction/index.js +2 -0
- package/lib/primitive/GlobalInteraction/useGlobalInteraction.cjs +122 -0
- package/lib/primitive/GlobalInteraction/useGlobalInteraction.d.ts +5 -4
- package/lib/primitive/GlobalInteraction/useGlobalInteraction.js +118 -0
- package/lib/primitive/GlobalInteraction/useGlobalInteractionContext.cjs +20 -0
- package/lib/primitive/GlobalInteraction/useGlobalInteractionContext.d.ts +3 -2
- package/lib/primitive/GlobalInteraction/useGlobalInteractionContext.js +15 -0
- package/lib/primitive/GlobalInteraction/useSwipeBack.cjs +57 -0
- package/lib/primitive/GlobalInteraction/useSwipeBack.d.ts +1 -1
- package/lib/primitive/GlobalInteraction/useSwipeBack.js +53 -0
- package/lib/primitive/index.cjs +27 -0
- package/lib/primitive/index.d.ts +3 -3
- package/lib/primitive/index.js +9 -0
- package/lib/primitive/private/useElementOffset.cjs +53 -0
- package/lib/primitive/private/useElementOffset.js +30 -0
- package/lib/primitive/private/useTopActivity.cjs +31 -0
- package/lib/primitive/private/useTopActivity.js +27 -0
- package/lib/utils/createStyleContext.cjs +76 -0
- package/lib/utils/createStyleContext.js +72 -0
- package/lib/utils/createWithStateProps.d.ts +2 -1
- package/package.json +13 -14
- package/src/components/AppScreen/AppScreen.namespace.ts +1 -0
- package/src/components/AppScreen/{index.tsx → index.ts} +1 -0
- package/src/plugin.tsx +1 -1
- package/lib/index.js.map +0 -7
- package/lib/index.mjs +0 -759
- package/lib/index.mjs.map +0 -7
- /package/src/components/AppBar/{index.tsx → index.ts} +0 -0
- /package/src/components/{index.tsx → index.ts} +0 -0
- /package/src/primitive/{index.tsx → index.ts} +0 -0
package/lib/plugin.cjs
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
+
|
|
5
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
const AppScreen = require('./components/AppScreen/AppScreen.cjs');
|
|
7
|
+
const GlobalInteraction = require('./primitive/GlobalInteraction/GlobalInteraction.cjs');
|
|
8
|
+
|
|
9
|
+
const seedPlugin = (options) => () => ({
|
|
10
|
+
key: "seed-design",
|
|
11
|
+
wrapStack({ stack }) {
|
|
12
|
+
return /* @__PURE__ */ jsxRuntime.jsx(AppScreen.AppScreenPropsProvider, { value: options, children: /* @__PURE__ */ jsxRuntime.jsx(GlobalInteraction.GlobalInteraction, { children: stack.render() }) });
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
exports.seedPlugin = seedPlugin;
|
package/lib/plugin.d.ts
CHANGED
package/lib/plugin.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { AppScreenPropsProvider } from './components/AppScreen/AppScreen.js';
|
|
3
|
+
import { GlobalInteraction } from './primitive/GlobalInteraction/GlobalInteraction.js';
|
|
4
|
+
|
|
5
|
+
const seedPlugin = (options) => () => ({
|
|
6
|
+
key: "seed-design",
|
|
7
|
+
wrapStack({ stack }) {
|
|
8
|
+
return /* @__PURE__ */ jsx(AppScreenPropsProvider, { value: options, children: /* @__PURE__ */ jsx(GlobalInteraction, { children: stack.render() }) });
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
export { seedPlugin };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
+
|
|
5
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
const reactPrimitive = require('@seed-design/react-primitive');
|
|
7
|
+
const React = require('react');
|
|
8
|
+
const useAppBar = require('./useAppBar.cjs');
|
|
9
|
+
const useAppBarContext = require('./useAppBarContext.cjs');
|
|
10
|
+
const domUtils = require('@seed-design/dom-utils');
|
|
11
|
+
const reactComposeRefs = require('@radix-ui/react-compose-refs');
|
|
12
|
+
|
|
13
|
+
const AppBarRoot = React.forwardRef((props, ref) => {
|
|
14
|
+
const { ...otherProps } = props;
|
|
15
|
+
const api = useAppBar.useAppBar();
|
|
16
|
+
return /* @__PURE__ */ jsxRuntime.jsx(useAppBarContext.AppBarProvider, { value: api, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
17
|
+
reactPrimitive.Primitive.div,
|
|
18
|
+
{
|
|
19
|
+
ref: reactComposeRefs.composeRefs(api.refs.root, ref),
|
|
20
|
+
...domUtils.mergeProps(api.rootProps, otherProps)
|
|
21
|
+
}
|
|
22
|
+
) });
|
|
23
|
+
});
|
|
24
|
+
AppBarRoot.displayName = "AppBarRoot";
|
|
25
|
+
const AppBarLeft = React.forwardRef((props, ref) => {
|
|
26
|
+
const { refs, stateProps } = useAppBarContext.useAppBarContext();
|
|
27
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactPrimitive.Primitive.div, { ref: reactComposeRefs.composeRefs(refs.left, ref), ...domUtils.mergeProps(stateProps, props) });
|
|
28
|
+
});
|
|
29
|
+
AppBarLeft.displayName = "AppBarLeft";
|
|
30
|
+
const AppBarRight = React.forwardRef((props, ref) => {
|
|
31
|
+
const { refs, stateProps } = useAppBarContext.useAppBarContext();
|
|
32
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactPrimitive.Primitive.div, { ref: reactComposeRefs.composeRefs(refs.right, ref), ...domUtils.mergeProps(stateProps, props) });
|
|
33
|
+
});
|
|
34
|
+
AppBarRight.displayName = "AppBarRight";
|
|
35
|
+
const AppBarMain = React.forwardRef((props, ref) => {
|
|
36
|
+
const { stateProps } = useAppBarContext.useAppBarContext();
|
|
37
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactPrimitive.Primitive.div, { ref, ...domUtils.mergeProps(stateProps, props) });
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
exports.AppBarLeft = AppBarLeft;
|
|
41
|
+
exports.AppBarMain = AppBarMain;
|
|
42
|
+
exports.AppBarRight = AppBarRight;
|
|
43
|
+
exports.AppBarRoot = AppBarRoot;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { PrimitiveProps } from '@seed-design/react-primitive';
|
|
2
|
+
import { UseAppBarProps } from './useAppBar';
|
|
3
|
+
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
3
4
|
export interface AppBarRootProps extends PrimitiveProps, UseAppBarProps, React.HTMLAttributes<HTMLDivElement> {
|
|
4
5
|
}
|
|
5
|
-
export declare const AppBarRoot:
|
|
6
|
+
export declare const AppBarRoot: ForwardRefExoticComponent<AppBarRootProps & RefAttributes<HTMLDivElement>>;
|
|
6
7
|
export interface AppBarLeftProps extends PrimitiveProps, React.HTMLAttributes<HTMLDivElement> {
|
|
7
8
|
}
|
|
8
|
-
export declare const AppBarLeft:
|
|
9
|
+
export declare const AppBarLeft: ForwardRefExoticComponent<AppBarLeftProps & RefAttributes<HTMLDivElement>>;
|
|
9
10
|
export interface AppBarRightProps extends PrimitiveProps, React.HTMLAttributes<HTMLDivElement> {
|
|
10
11
|
}
|
|
11
|
-
export declare const AppBarRight:
|
|
12
|
+
export declare const AppBarRight: ForwardRefExoticComponent<AppBarRightProps & RefAttributes<HTMLDivElement>>;
|
|
12
13
|
export interface AppBarMainProps extends PrimitiveProps, React.HTMLAttributes<HTMLDivElement> {
|
|
13
14
|
}
|
|
14
|
-
export declare const AppBarMain:
|
|
15
|
+
export declare const AppBarMain: ForwardRefExoticComponent<AppBarMainProps & RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { Primitive } from '@seed-design/react-primitive';
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
import { useAppBar } from './useAppBar.js';
|
|
5
|
+
import { useAppBarContext, AppBarProvider } from './useAppBarContext.js';
|
|
6
|
+
import { mergeProps } from '@seed-design/dom-utils';
|
|
7
|
+
import { composeRefs } from '@radix-ui/react-compose-refs';
|
|
8
|
+
|
|
9
|
+
const AppBarRoot = forwardRef((props, ref) => {
|
|
10
|
+
const { ...otherProps } = props;
|
|
11
|
+
const api = useAppBar();
|
|
12
|
+
return /* @__PURE__ */ jsx(AppBarProvider, { value: api, children: /* @__PURE__ */ jsx(
|
|
13
|
+
Primitive.div,
|
|
14
|
+
{
|
|
15
|
+
ref: composeRefs(api.refs.root, ref),
|
|
16
|
+
...mergeProps(api.rootProps, otherProps)
|
|
17
|
+
}
|
|
18
|
+
) });
|
|
19
|
+
});
|
|
20
|
+
AppBarRoot.displayName = "AppBarRoot";
|
|
21
|
+
const AppBarLeft = forwardRef((props, ref) => {
|
|
22
|
+
const { refs, stateProps } = useAppBarContext();
|
|
23
|
+
return /* @__PURE__ */ jsx(Primitive.div, { ref: composeRefs(refs.left, ref), ...mergeProps(stateProps, props) });
|
|
24
|
+
});
|
|
25
|
+
AppBarLeft.displayName = "AppBarLeft";
|
|
26
|
+
const AppBarRight = forwardRef((props, ref) => {
|
|
27
|
+
const { refs, stateProps } = useAppBarContext();
|
|
28
|
+
return /* @__PURE__ */ jsx(Primitive.div, { ref: composeRefs(refs.right, ref), ...mergeProps(stateProps, props) });
|
|
29
|
+
});
|
|
30
|
+
AppBarRight.displayName = "AppBarRight";
|
|
31
|
+
const AppBarMain = forwardRef((props, ref) => {
|
|
32
|
+
const { stateProps } = useAppBarContext();
|
|
33
|
+
return /* @__PURE__ */ jsx(Primitive.div, { ref, ...mergeProps(stateProps, props) });
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export { AppBarLeft, AppBarMain, AppBarRight, AppBarRoot };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
+
|
|
5
|
+
const AppBar = require('./AppBar.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.Left = AppBar.AppBarLeft;
|
|
10
|
+
exports.Main = AppBar.AppBarMain;
|
|
11
|
+
exports.Right = AppBar.AppBarRight;
|
|
12
|
+
exports.Root = AppBar.AppBarRoot;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { AppBarRoot as Root, AppBarMain as Main, AppBarLeft as Left, AppBarRight as Right, type AppBarRootProps as RootProps, type AppBarMainProps as MainProps, type AppBarLeftProps as LeftProps, type AppBarRightProps as RightProps, } from
|
|
1
|
+
export { AppBarRoot as Root, AppBarMain as Main, AppBarLeft as Left, AppBarRight as Right, type AppBarRootProps as RootProps, type AppBarMainProps as MainProps, type AppBarLeftProps as LeftProps, type AppBarRightProps as RightProps, } from './AppBar';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AppBarLeft as Left, AppBarMain as Main, AppBarRight as Right, AppBarRoot as Root } from './AppBar.js';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
+
|
|
5
|
+
const AppBar = require('./AppBar.cjs');
|
|
6
|
+
const AppBar_namespace = require('./AppBar.namespace.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
exports.AppBarLeft = AppBar.AppBarLeft;
|
|
11
|
+
exports.AppBarMain = AppBar.AppBarMain;
|
|
12
|
+
exports.AppBarRight = AppBar.AppBarRight;
|
|
13
|
+
exports.AppBarRoot = AppBar.AppBarRoot;
|
|
14
|
+
exports.AppBar = AppBar_namespace;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { AppBarLeft, AppBarRight, AppBarRoot, AppBarMain, type AppBarLeftProps, type AppBarRightProps, type AppBarRootProps, type AppBarMainProps, } from
|
|
2
|
-
export * as AppBar from
|
|
1
|
+
export { AppBarLeft, AppBarRight, AppBarRoot, AppBarMain, type AppBarLeftProps, type AppBarRightProps, type AppBarRootProps, type AppBarMainProps, } from './AppBar';
|
|
2
|
+
export * as AppBar from './AppBar.namespace';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
+
|
|
5
|
+
const domUtils = require('@seed-design/dom-utils');
|
|
6
|
+
const React = require('react');
|
|
7
|
+
const useAppScreenContext = require('../AppScreen/useAppScreenContext.cjs');
|
|
8
|
+
const useElementOffset = require('../private/useElementOffset.cjs');
|
|
9
|
+
|
|
10
|
+
function useAppBar(_props) {
|
|
11
|
+
const { stateProps } = useAppScreenContext.useAppScreenContext();
|
|
12
|
+
const [root, rootRef] = React.useState(null);
|
|
13
|
+
const [left, leftRef] = React.useState(null);
|
|
14
|
+
const [right, rightRef] = React.useState(null);
|
|
15
|
+
const leftOffset = useElementOffset.useElementOffset(left);
|
|
16
|
+
const rightOffset = useElementOffset.useElementOffset(right);
|
|
17
|
+
const centeredTitlePaddingX = root ? `${Math.max(leftOffset?.fromLeft ?? 0, rightOffset?.fromRight ?? 0)}px` : "initial";
|
|
18
|
+
return React.useMemo(
|
|
19
|
+
() => ({
|
|
20
|
+
refs: {
|
|
21
|
+
root: rootRef,
|
|
22
|
+
left: leftRef,
|
|
23
|
+
right: rightRef
|
|
24
|
+
},
|
|
25
|
+
stateProps,
|
|
26
|
+
rootProps: domUtils.elementProps({
|
|
27
|
+
"data-part": "appBar",
|
|
28
|
+
...stateProps,
|
|
29
|
+
style: {
|
|
30
|
+
"--centered-title-padding-x": centeredTitlePaddingX
|
|
31
|
+
}
|
|
32
|
+
})
|
|
33
|
+
}),
|
|
34
|
+
[stateProps, centeredTitlePaddingX]
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
exports.useAppBar = useAppBar;
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction, HTMLAttributes, CSSProperties, ReactNode, AriaRole, ClipboardEventHandler, CompositionEventHandler, FocusEventHandler, FormEventHandler, ReactEventHandler, KeyboardEventHandler, MouseEventHandler, DragEventHandler, TouchEventHandler, PointerEventHandler, UIEventHandler, WheelEventHandler, AnimationEventHandler, TransitionEventHandler } from 'react';
|
|
1
2
|
export interface UseAppBarProps {
|
|
2
3
|
}
|
|
3
4
|
export type UseAppBarReturn = ReturnType<typeof useAppBar>;
|
|
4
5
|
export declare function useAppBar(_props: UseAppBarProps): {
|
|
5
6
|
refs: {
|
|
6
|
-
root:
|
|
7
|
-
left:
|
|
8
|
-
right:
|
|
7
|
+
root: Dispatch<SetStateAction<HTMLElement | null>>;
|
|
8
|
+
left: Dispatch<SetStateAction<HTMLElement | null>>;
|
|
9
|
+
right: Dispatch<SetStateAction<HTMLElement | null>>;
|
|
9
10
|
};
|
|
10
|
-
stateProps:
|
|
11
|
+
stateProps: HTMLAttributes<HTMLElement>;
|
|
11
12
|
rootProps: {
|
|
12
13
|
slot?: string | undefined | undefined;
|
|
13
|
-
style?:
|
|
14
|
+
style?: CSSProperties | undefined;
|
|
14
15
|
title?: string | undefined | undefined;
|
|
15
16
|
dir?: string | undefined | undefined;
|
|
16
|
-
children?:
|
|
17
|
+
children?: ReactNode;
|
|
17
18
|
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
18
19
|
defaultChecked?: boolean | undefined | undefined;
|
|
19
20
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -34,7 +35,7 @@ export declare function useAppBar(_props: UseAppBarProps): {
|
|
|
34
35
|
tabIndex?: number | undefined | undefined;
|
|
35
36
|
translate?: "yes" | "no" | undefined | undefined;
|
|
36
37
|
radioGroup?: string | undefined | undefined;
|
|
37
|
-
role?:
|
|
38
|
+
role?: AriaRole | undefined;
|
|
38
39
|
about?: string | undefined | undefined;
|
|
39
40
|
content?: string | undefined | undefined;
|
|
40
41
|
datatype?: string | undefined | undefined;
|
|
@@ -115,165 +116,165 @@ export declare function useAppBar(_props: UseAppBarProps): {
|
|
|
115
116
|
dangerouslySetInnerHTML?: {
|
|
116
117
|
__html: string | TrustedHTML;
|
|
117
118
|
} | undefined | undefined;
|
|
118
|
-
onCopy?:
|
|
119
|
-
onCopyCapture?:
|
|
120
|
-
onCut?:
|
|
121
|
-
onCutCapture?:
|
|
122
|
-
onPaste?:
|
|
123
|
-
onPasteCapture?:
|
|
124
|
-
onCompositionEnd?:
|
|
125
|
-
onCompositionEndCapture?:
|
|
126
|
-
onCompositionStart?:
|
|
127
|
-
onCompositionStartCapture?:
|
|
128
|
-
onCompositionUpdate?:
|
|
129
|
-
onCompositionUpdateCapture?:
|
|
130
|
-
onFocus?:
|
|
131
|
-
onFocusCapture?:
|
|
132
|
-
onBlur?:
|
|
133
|
-
onBlurCapture?:
|
|
134
|
-
onChange?:
|
|
135
|
-
onChangeCapture?:
|
|
136
|
-
onBeforeInput?:
|
|
137
|
-
onBeforeInputCapture?:
|
|
138
|
-
onInput?:
|
|
139
|
-
onInputCapture?:
|
|
140
|
-
onReset?:
|
|
141
|
-
onResetCapture?:
|
|
142
|
-
onSubmit?:
|
|
143
|
-
onSubmitCapture?:
|
|
144
|
-
onInvalid?:
|
|
145
|
-
onInvalidCapture?:
|
|
146
|
-
onLoad?:
|
|
147
|
-
onLoadCapture?:
|
|
148
|
-
onError?:
|
|
149
|
-
onErrorCapture?:
|
|
150
|
-
onKeyDown?:
|
|
151
|
-
onKeyDownCapture?:
|
|
152
|
-
onKeyPress?:
|
|
153
|
-
onKeyPressCapture?:
|
|
154
|
-
onKeyUp?:
|
|
155
|
-
onKeyUpCapture?:
|
|
156
|
-
onAbort?:
|
|
157
|
-
onAbortCapture?:
|
|
158
|
-
onCanPlay?:
|
|
159
|
-
onCanPlayCapture?:
|
|
160
|
-
onCanPlayThrough?:
|
|
161
|
-
onCanPlayThroughCapture?:
|
|
162
|
-
onDurationChange?:
|
|
163
|
-
onDurationChangeCapture?:
|
|
164
|
-
onEmptied?:
|
|
165
|
-
onEmptiedCapture?:
|
|
166
|
-
onEncrypted?:
|
|
167
|
-
onEncryptedCapture?:
|
|
168
|
-
onEnded?:
|
|
169
|
-
onEndedCapture?:
|
|
170
|
-
onLoadedData?:
|
|
171
|
-
onLoadedDataCapture?:
|
|
172
|
-
onLoadedMetadata?:
|
|
173
|
-
onLoadedMetadataCapture?:
|
|
174
|
-
onLoadStart?:
|
|
175
|
-
onLoadStartCapture?:
|
|
176
|
-
onPause?:
|
|
177
|
-
onPauseCapture?:
|
|
178
|
-
onPlay?:
|
|
179
|
-
onPlayCapture?:
|
|
180
|
-
onPlaying?:
|
|
181
|
-
onPlayingCapture?:
|
|
182
|
-
onProgress?:
|
|
183
|
-
onProgressCapture?:
|
|
184
|
-
onRateChange?:
|
|
185
|
-
onRateChangeCapture?:
|
|
186
|
-
onResize?:
|
|
187
|
-
onResizeCapture?:
|
|
188
|
-
onSeeked?:
|
|
189
|
-
onSeekedCapture?:
|
|
190
|
-
onSeeking?:
|
|
191
|
-
onSeekingCapture?:
|
|
192
|
-
onStalled?:
|
|
193
|
-
onStalledCapture?:
|
|
194
|
-
onSuspend?:
|
|
195
|
-
onSuspendCapture?:
|
|
196
|
-
onTimeUpdate?:
|
|
197
|
-
onTimeUpdateCapture?:
|
|
198
|
-
onVolumeChange?:
|
|
199
|
-
onVolumeChangeCapture?:
|
|
200
|
-
onWaiting?:
|
|
201
|
-
onWaitingCapture?:
|
|
202
|
-
onAuxClick?:
|
|
203
|
-
onAuxClickCapture?:
|
|
204
|
-
onClick?:
|
|
205
|
-
onClickCapture?:
|
|
206
|
-
onContextMenu?:
|
|
207
|
-
onContextMenuCapture?:
|
|
208
|
-
onDoubleClick?:
|
|
209
|
-
onDoubleClickCapture?:
|
|
210
|
-
onDrag?:
|
|
211
|
-
onDragCapture?:
|
|
212
|
-
onDragEnd?:
|
|
213
|
-
onDragEndCapture?:
|
|
214
|
-
onDragEnter?:
|
|
215
|
-
onDragEnterCapture?:
|
|
216
|
-
onDragExit?:
|
|
217
|
-
onDragExitCapture?:
|
|
218
|
-
onDragLeave?:
|
|
219
|
-
onDragLeaveCapture?:
|
|
220
|
-
onDragOver?:
|
|
221
|
-
onDragOverCapture?:
|
|
222
|
-
onDragStart?:
|
|
223
|
-
onDragStartCapture?:
|
|
224
|
-
onDrop?:
|
|
225
|
-
onDropCapture?:
|
|
226
|
-
onMouseDown?:
|
|
227
|
-
onMouseDownCapture?:
|
|
228
|
-
onMouseEnter?:
|
|
229
|
-
onMouseLeave?:
|
|
230
|
-
onMouseMove?:
|
|
231
|
-
onMouseMoveCapture?:
|
|
232
|
-
onMouseOut?:
|
|
233
|
-
onMouseOutCapture?:
|
|
234
|
-
onMouseOver?:
|
|
235
|
-
onMouseOverCapture?:
|
|
236
|
-
onMouseUp?:
|
|
237
|
-
onMouseUpCapture?:
|
|
238
|
-
onSelect?:
|
|
239
|
-
onSelectCapture?:
|
|
240
|
-
onTouchCancel?:
|
|
241
|
-
onTouchCancelCapture?:
|
|
242
|
-
onTouchEnd?:
|
|
243
|
-
onTouchEndCapture?:
|
|
244
|
-
onTouchMove?:
|
|
245
|
-
onTouchMoveCapture?:
|
|
246
|
-
onTouchStart?:
|
|
247
|
-
onTouchStartCapture?:
|
|
248
|
-
onPointerDown?:
|
|
249
|
-
onPointerDownCapture?:
|
|
250
|
-
onPointerMove?:
|
|
251
|
-
onPointerMoveCapture?:
|
|
252
|
-
onPointerUp?:
|
|
253
|
-
onPointerUpCapture?:
|
|
254
|
-
onPointerCancel?:
|
|
255
|
-
onPointerCancelCapture?:
|
|
256
|
-
onPointerEnter?:
|
|
257
|
-
onPointerLeave?:
|
|
258
|
-
onPointerOver?:
|
|
259
|
-
onPointerOverCapture?:
|
|
260
|
-
onPointerOut?:
|
|
261
|
-
onPointerOutCapture?:
|
|
262
|
-
onGotPointerCapture?:
|
|
263
|
-
onGotPointerCaptureCapture?:
|
|
264
|
-
onLostPointerCapture?:
|
|
265
|
-
onLostPointerCaptureCapture?:
|
|
266
|
-
onScroll?:
|
|
267
|
-
onScrollCapture?:
|
|
268
|
-
onWheel?:
|
|
269
|
-
onWheelCapture?:
|
|
270
|
-
onAnimationStart?:
|
|
271
|
-
onAnimationStartCapture?:
|
|
272
|
-
onAnimationEnd?:
|
|
273
|
-
onAnimationEndCapture?:
|
|
274
|
-
onAnimationIteration?:
|
|
275
|
-
onAnimationIterationCapture?:
|
|
276
|
-
onTransitionEnd?:
|
|
277
|
-
onTransitionEndCapture?:
|
|
119
|
+
onCopy?: ClipboardEventHandler<HTMLElement> | undefined;
|
|
120
|
+
onCopyCapture?: ClipboardEventHandler<HTMLElement> | undefined;
|
|
121
|
+
onCut?: ClipboardEventHandler<HTMLElement> | undefined;
|
|
122
|
+
onCutCapture?: ClipboardEventHandler<HTMLElement> | undefined;
|
|
123
|
+
onPaste?: ClipboardEventHandler<HTMLElement> | undefined;
|
|
124
|
+
onPasteCapture?: ClipboardEventHandler<HTMLElement> | undefined;
|
|
125
|
+
onCompositionEnd?: CompositionEventHandler<HTMLElement> | undefined;
|
|
126
|
+
onCompositionEndCapture?: CompositionEventHandler<HTMLElement> | undefined;
|
|
127
|
+
onCompositionStart?: CompositionEventHandler<HTMLElement> | undefined;
|
|
128
|
+
onCompositionStartCapture?: CompositionEventHandler<HTMLElement> | undefined;
|
|
129
|
+
onCompositionUpdate?: CompositionEventHandler<HTMLElement> | undefined;
|
|
130
|
+
onCompositionUpdateCapture?: CompositionEventHandler<HTMLElement> | undefined;
|
|
131
|
+
onFocus?: FocusEventHandler<HTMLElement> | undefined;
|
|
132
|
+
onFocusCapture?: FocusEventHandler<HTMLElement> | undefined;
|
|
133
|
+
onBlur?: FocusEventHandler<HTMLElement> | undefined;
|
|
134
|
+
onBlurCapture?: FocusEventHandler<HTMLElement> | undefined;
|
|
135
|
+
onChange?: FormEventHandler<HTMLElement> | undefined;
|
|
136
|
+
onChangeCapture?: FormEventHandler<HTMLElement> | undefined;
|
|
137
|
+
onBeforeInput?: FormEventHandler<HTMLElement> | undefined;
|
|
138
|
+
onBeforeInputCapture?: FormEventHandler<HTMLElement> | undefined;
|
|
139
|
+
onInput?: FormEventHandler<HTMLElement> | undefined;
|
|
140
|
+
onInputCapture?: FormEventHandler<HTMLElement> | undefined;
|
|
141
|
+
onReset?: FormEventHandler<HTMLElement> | undefined;
|
|
142
|
+
onResetCapture?: FormEventHandler<HTMLElement> | undefined;
|
|
143
|
+
onSubmit?: FormEventHandler<HTMLElement> | undefined;
|
|
144
|
+
onSubmitCapture?: FormEventHandler<HTMLElement> | undefined;
|
|
145
|
+
onInvalid?: FormEventHandler<HTMLElement> | undefined;
|
|
146
|
+
onInvalidCapture?: FormEventHandler<HTMLElement> | undefined;
|
|
147
|
+
onLoad?: ReactEventHandler<HTMLElement> | undefined;
|
|
148
|
+
onLoadCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
149
|
+
onError?: ReactEventHandler<HTMLElement> | undefined;
|
|
150
|
+
onErrorCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
151
|
+
onKeyDown?: KeyboardEventHandler<HTMLElement> | undefined;
|
|
152
|
+
onKeyDownCapture?: KeyboardEventHandler<HTMLElement> | undefined;
|
|
153
|
+
onKeyPress?: KeyboardEventHandler<HTMLElement> | undefined;
|
|
154
|
+
onKeyPressCapture?: KeyboardEventHandler<HTMLElement> | undefined;
|
|
155
|
+
onKeyUp?: KeyboardEventHandler<HTMLElement> | undefined;
|
|
156
|
+
onKeyUpCapture?: KeyboardEventHandler<HTMLElement> | undefined;
|
|
157
|
+
onAbort?: ReactEventHandler<HTMLElement> | undefined;
|
|
158
|
+
onAbortCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
159
|
+
onCanPlay?: ReactEventHandler<HTMLElement> | undefined;
|
|
160
|
+
onCanPlayCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
161
|
+
onCanPlayThrough?: ReactEventHandler<HTMLElement> | undefined;
|
|
162
|
+
onCanPlayThroughCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
163
|
+
onDurationChange?: ReactEventHandler<HTMLElement> | undefined;
|
|
164
|
+
onDurationChangeCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
165
|
+
onEmptied?: ReactEventHandler<HTMLElement> | undefined;
|
|
166
|
+
onEmptiedCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
167
|
+
onEncrypted?: ReactEventHandler<HTMLElement> | undefined;
|
|
168
|
+
onEncryptedCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
169
|
+
onEnded?: ReactEventHandler<HTMLElement> | undefined;
|
|
170
|
+
onEndedCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
171
|
+
onLoadedData?: ReactEventHandler<HTMLElement> | undefined;
|
|
172
|
+
onLoadedDataCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
173
|
+
onLoadedMetadata?: ReactEventHandler<HTMLElement> | undefined;
|
|
174
|
+
onLoadedMetadataCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
175
|
+
onLoadStart?: ReactEventHandler<HTMLElement> | undefined;
|
|
176
|
+
onLoadStartCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
177
|
+
onPause?: ReactEventHandler<HTMLElement> | undefined;
|
|
178
|
+
onPauseCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
179
|
+
onPlay?: ReactEventHandler<HTMLElement> | undefined;
|
|
180
|
+
onPlayCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
181
|
+
onPlaying?: ReactEventHandler<HTMLElement> | undefined;
|
|
182
|
+
onPlayingCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
183
|
+
onProgress?: ReactEventHandler<HTMLElement> | undefined;
|
|
184
|
+
onProgressCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
185
|
+
onRateChange?: ReactEventHandler<HTMLElement> | undefined;
|
|
186
|
+
onRateChangeCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
187
|
+
onResize?: ReactEventHandler<HTMLElement> | undefined;
|
|
188
|
+
onResizeCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
189
|
+
onSeeked?: ReactEventHandler<HTMLElement> | undefined;
|
|
190
|
+
onSeekedCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
191
|
+
onSeeking?: ReactEventHandler<HTMLElement> | undefined;
|
|
192
|
+
onSeekingCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
193
|
+
onStalled?: ReactEventHandler<HTMLElement> | undefined;
|
|
194
|
+
onStalledCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
195
|
+
onSuspend?: ReactEventHandler<HTMLElement> | undefined;
|
|
196
|
+
onSuspendCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
197
|
+
onTimeUpdate?: ReactEventHandler<HTMLElement> | undefined;
|
|
198
|
+
onTimeUpdateCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
199
|
+
onVolumeChange?: ReactEventHandler<HTMLElement> | undefined;
|
|
200
|
+
onVolumeChangeCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
201
|
+
onWaiting?: ReactEventHandler<HTMLElement> | undefined;
|
|
202
|
+
onWaitingCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
203
|
+
onAuxClick?: MouseEventHandler<HTMLElement> | undefined;
|
|
204
|
+
onAuxClickCapture?: MouseEventHandler<HTMLElement> | undefined;
|
|
205
|
+
onClick?: MouseEventHandler<HTMLElement> | undefined;
|
|
206
|
+
onClickCapture?: MouseEventHandler<HTMLElement> | undefined;
|
|
207
|
+
onContextMenu?: MouseEventHandler<HTMLElement> | undefined;
|
|
208
|
+
onContextMenuCapture?: MouseEventHandler<HTMLElement> | undefined;
|
|
209
|
+
onDoubleClick?: MouseEventHandler<HTMLElement> | undefined;
|
|
210
|
+
onDoubleClickCapture?: MouseEventHandler<HTMLElement> | undefined;
|
|
211
|
+
onDrag?: DragEventHandler<HTMLElement> | undefined;
|
|
212
|
+
onDragCapture?: DragEventHandler<HTMLElement> | undefined;
|
|
213
|
+
onDragEnd?: DragEventHandler<HTMLElement> | undefined;
|
|
214
|
+
onDragEndCapture?: DragEventHandler<HTMLElement> | undefined;
|
|
215
|
+
onDragEnter?: DragEventHandler<HTMLElement> | undefined;
|
|
216
|
+
onDragEnterCapture?: DragEventHandler<HTMLElement> | undefined;
|
|
217
|
+
onDragExit?: DragEventHandler<HTMLElement> | undefined;
|
|
218
|
+
onDragExitCapture?: DragEventHandler<HTMLElement> | undefined;
|
|
219
|
+
onDragLeave?: DragEventHandler<HTMLElement> | undefined;
|
|
220
|
+
onDragLeaveCapture?: DragEventHandler<HTMLElement> | undefined;
|
|
221
|
+
onDragOver?: DragEventHandler<HTMLElement> | undefined;
|
|
222
|
+
onDragOverCapture?: DragEventHandler<HTMLElement> | undefined;
|
|
223
|
+
onDragStart?: DragEventHandler<HTMLElement> | undefined;
|
|
224
|
+
onDragStartCapture?: DragEventHandler<HTMLElement> | undefined;
|
|
225
|
+
onDrop?: DragEventHandler<HTMLElement> | undefined;
|
|
226
|
+
onDropCapture?: DragEventHandler<HTMLElement> | undefined;
|
|
227
|
+
onMouseDown?: MouseEventHandler<HTMLElement> | undefined;
|
|
228
|
+
onMouseDownCapture?: MouseEventHandler<HTMLElement> | undefined;
|
|
229
|
+
onMouseEnter?: MouseEventHandler<HTMLElement> | undefined;
|
|
230
|
+
onMouseLeave?: MouseEventHandler<HTMLElement> | undefined;
|
|
231
|
+
onMouseMove?: MouseEventHandler<HTMLElement> | undefined;
|
|
232
|
+
onMouseMoveCapture?: MouseEventHandler<HTMLElement> | undefined;
|
|
233
|
+
onMouseOut?: MouseEventHandler<HTMLElement> | undefined;
|
|
234
|
+
onMouseOutCapture?: MouseEventHandler<HTMLElement> | undefined;
|
|
235
|
+
onMouseOver?: MouseEventHandler<HTMLElement> | undefined;
|
|
236
|
+
onMouseOverCapture?: MouseEventHandler<HTMLElement> | undefined;
|
|
237
|
+
onMouseUp?: MouseEventHandler<HTMLElement> | undefined;
|
|
238
|
+
onMouseUpCapture?: MouseEventHandler<HTMLElement> | undefined;
|
|
239
|
+
onSelect?: ReactEventHandler<HTMLElement> | undefined;
|
|
240
|
+
onSelectCapture?: ReactEventHandler<HTMLElement> | undefined;
|
|
241
|
+
onTouchCancel?: TouchEventHandler<HTMLElement> | undefined;
|
|
242
|
+
onTouchCancelCapture?: TouchEventHandler<HTMLElement> | undefined;
|
|
243
|
+
onTouchEnd?: TouchEventHandler<HTMLElement> | undefined;
|
|
244
|
+
onTouchEndCapture?: TouchEventHandler<HTMLElement> | undefined;
|
|
245
|
+
onTouchMove?: TouchEventHandler<HTMLElement> | undefined;
|
|
246
|
+
onTouchMoveCapture?: TouchEventHandler<HTMLElement> | undefined;
|
|
247
|
+
onTouchStart?: TouchEventHandler<HTMLElement> | undefined;
|
|
248
|
+
onTouchStartCapture?: TouchEventHandler<HTMLElement> | undefined;
|
|
249
|
+
onPointerDown?: PointerEventHandler<HTMLElement> | undefined;
|
|
250
|
+
onPointerDownCapture?: PointerEventHandler<HTMLElement> | undefined;
|
|
251
|
+
onPointerMove?: PointerEventHandler<HTMLElement> | undefined;
|
|
252
|
+
onPointerMoveCapture?: PointerEventHandler<HTMLElement> | undefined;
|
|
253
|
+
onPointerUp?: PointerEventHandler<HTMLElement> | undefined;
|
|
254
|
+
onPointerUpCapture?: PointerEventHandler<HTMLElement> | undefined;
|
|
255
|
+
onPointerCancel?: PointerEventHandler<HTMLElement> | undefined;
|
|
256
|
+
onPointerCancelCapture?: PointerEventHandler<HTMLElement> | undefined;
|
|
257
|
+
onPointerEnter?: PointerEventHandler<HTMLElement> | undefined;
|
|
258
|
+
onPointerLeave?: PointerEventHandler<HTMLElement> | undefined;
|
|
259
|
+
onPointerOver?: PointerEventHandler<HTMLElement> | undefined;
|
|
260
|
+
onPointerOverCapture?: PointerEventHandler<HTMLElement> | undefined;
|
|
261
|
+
onPointerOut?: PointerEventHandler<HTMLElement> | undefined;
|
|
262
|
+
onPointerOutCapture?: PointerEventHandler<HTMLElement> | undefined;
|
|
263
|
+
onGotPointerCapture?: PointerEventHandler<HTMLElement> | undefined;
|
|
264
|
+
onGotPointerCaptureCapture?: PointerEventHandler<HTMLElement> | undefined;
|
|
265
|
+
onLostPointerCapture?: PointerEventHandler<HTMLElement> | undefined;
|
|
266
|
+
onLostPointerCaptureCapture?: PointerEventHandler<HTMLElement> | undefined;
|
|
267
|
+
onScroll?: UIEventHandler<HTMLElement> | undefined;
|
|
268
|
+
onScrollCapture?: UIEventHandler<HTMLElement> | undefined;
|
|
269
|
+
onWheel?: WheelEventHandler<HTMLElement> | undefined;
|
|
270
|
+
onWheelCapture?: WheelEventHandler<HTMLElement> | undefined;
|
|
271
|
+
onAnimationStart?: AnimationEventHandler<HTMLElement> | undefined;
|
|
272
|
+
onAnimationStartCapture?: AnimationEventHandler<HTMLElement> | undefined;
|
|
273
|
+
onAnimationEnd?: AnimationEventHandler<HTMLElement> | undefined;
|
|
274
|
+
onAnimationEndCapture?: AnimationEventHandler<HTMLElement> | undefined;
|
|
275
|
+
onAnimationIteration?: AnimationEventHandler<HTMLElement> | undefined;
|
|
276
|
+
onAnimationIterationCapture?: AnimationEventHandler<HTMLElement> | undefined;
|
|
277
|
+
onTransitionEnd?: TransitionEventHandler<HTMLElement> | undefined;
|
|
278
|
+
onTransitionEndCapture?: TransitionEventHandler<HTMLElement> | undefined;
|
|
278
279
|
};
|
|
279
280
|
};
|