Version 1.0.2 mit node_modules Verzeichnis

This commit is contained in:
ISA
2024-10-02 07:58:24 +02:00
parent f353a06b1b
commit 62b6e55a0a
68228 changed files with 4548477 additions and 651 deletions

View File

@@ -0,0 +1,5 @@
/// <reference types="react" />
/** @jsx jsx */
import { jsx } from '@emotion/react';
declare const A11yText: (props: JSX.IntrinsicElements['span']) => jsx.JSX.Element;
export default A11yText;

View File

@@ -0,0 +1,6 @@
/** @jsx jsx */
import { Ref } from 'react';
import { jsx } from '@emotion/react';
export default function DummyInput({ innerRef, ...props }: JSX.IntrinsicElements['input'] & {
readonly innerRef: Ref<HTMLInputElement>;
}): jsx.JSX.Element;

View File

@@ -0,0 +1,7 @@
/** @jsx jsx */
import { FocusEventHandler, FunctionComponent } from 'react';
declare const RequiredInput: FunctionComponent<{
readonly name?: string;
readonly onFocus: FocusEventHandler<HTMLInputElement>;
}>;
export default RequiredInput;

View File

@@ -0,0 +1,14 @@
/** @jsx jsx */
import { jsx } from '@emotion/react';
import { ReactElement, RefCallback } from 'react';
interface Props {
readonly children: (ref: RefCallback<HTMLElement>) => ReactElement;
readonly lockEnabled: boolean;
readonly captureEnabled: boolean;
readonly onBottomArrive?: (event: WheelEvent | TouchEvent) => void;
readonly onBottomLeave?: (event: WheelEvent | TouchEvent) => void;
readonly onTopArrive?: (event: WheelEvent | TouchEvent) => void;
readonly onTopLeave?: (event: WheelEvent | TouchEvent) => void;
}
export default function ScrollManager({ children, lockEnabled, captureEnabled, onBottomArrive, onBottomLeave, onTopArrive, onTopLeave, }: Props): jsx.JSX.Element;
export {};

View File

@@ -0,0 +1,4 @@
export { default as A11yText } from './A11yText';
export { default as DummyInput } from './DummyInput';
export { default as ScrollManager } from './ScrollManager';
export { default as RequiredInput } from './RequiredInput';

View File

@@ -0,0 +1,9 @@
interface Options {
readonly isEnabled: boolean;
readonly onBottomArrive?: (event: WheelEvent | TouchEvent) => void;
readonly onBottomLeave?: (event: WheelEvent | TouchEvent) => void;
readonly onTopArrive?: (event: WheelEvent | TouchEvent) => void;
readonly onTopLeave?: (event: WheelEvent | TouchEvent) => void;
}
export default function useScrollCapture({ isEnabled, onBottomArrive, onBottomLeave, onTopArrive, onTopLeave, }: Options): (element: HTMLElement | null) => void;
export {};

View File

@@ -0,0 +1,6 @@
interface Options {
readonly isEnabled: boolean;
readonly accountForScrollbars?: boolean;
}
export default function useScrollLock({ isEnabled, accountForScrollbars, }: Options): (element: HTMLElement | null) => void;
export {};