@types/reactour
Advanced tools
Comparing version 1.18.1 to 1.18.2
@@ -31,3 +31,3 @@ // Type definitions for reactour 1.18 | ||
*/ | ||
action?: (domNode: any) => void; | ||
action?: ((domNode: any) => void) | undefined; | ||
@@ -37,3 +37,3 @@ /** | ||
*/ | ||
position?: ReactourStepPosition | [number, number]; | ||
position?: ReactourStepPosition | [number, number] | undefined; | ||
@@ -43,3 +43,3 @@ /** | ||
*/ | ||
selector?: string; | ||
selector?: string | undefined; | ||
@@ -51,3 +51,3 @@ /** | ||
*/ | ||
stepInteraction?: boolean; | ||
stepInteraction?: boolean | undefined; | ||
@@ -57,3 +57,3 @@ /** | ||
*/ | ||
style?: React.CSSProperties; | ||
style?: React.CSSProperties | undefined; | ||
@@ -63,3 +63,3 @@ /** | ||
*/ | ||
navDotAriaLabel?: string; | ||
navDotAriaLabel?: string | undefined; | ||
@@ -71,3 +71,3 @@ /** | ||
*/ | ||
observe?: string; | ||
observe?: string | undefined; | ||
@@ -79,3 +79,3 @@ /** | ||
*/ | ||
highlightedSelectors?: string[]; | ||
highlightedSelectors?: string[] | undefined; | ||
@@ -87,3 +87,3 @@ /** | ||
*/ | ||
mutationObservables?: string[]; | ||
mutationObservables?: string[] | undefined; | ||
@@ -96,3 +96,3 @@ /** | ||
*/ | ||
resizeObservables?: string[]; | ||
resizeObservables?: string[] | undefined; | ||
} | ||
@@ -102,7 +102,7 @@ | ||
// attribute to associate the dialog with a title for screen readers | ||
ariaLabelledBy?: string; | ||
ariaLabelledBy?: string | undefined; | ||
// aria-label attribute for the close button | ||
closeButtonAriaLabel?: string; | ||
closeButtonAriaLabel?: string | undefined; | ||
// Show/Hide Navigation Dots for screen reader software | ||
showNavigationScreenReaders?: boolean; | ||
showNavigationScreenReaders?: boolean | undefined; | ||
} | ||
@@ -138,3 +138,3 @@ | ||
*/ | ||
accentColor?: string; | ||
accentColor?: string | undefined; | ||
@@ -144,3 +144,3 @@ /** | ||
*/ | ||
badgeContent?: (current: number, total: number) => React.ReactNode; | ||
badgeContent?: ((current: number, total: number) => React.ReactNode) | undefined; | ||
@@ -150,3 +150,3 @@ /** | ||
*/ | ||
children?: React.ReactNode; | ||
children?: React.ReactNode | undefined; | ||
@@ -156,3 +156,3 @@ /** | ||
*/ | ||
className?: string; | ||
className?: string | undefined; | ||
@@ -163,3 +163,3 @@ /** | ||
*/ | ||
closeWithMask?: boolean; | ||
closeWithMask?: boolean | undefined; | ||
@@ -169,3 +169,3 @@ /** | ||
*/ | ||
disableDotsNavigation?: boolean; | ||
disableDotsNavigation?: boolean | undefined; | ||
@@ -175,3 +175,3 @@ /** | ||
*/ | ||
disableInteraction?: boolean; | ||
disableInteraction?: boolean | undefined; | ||
@@ -181,3 +181,3 @@ /** | ||
*/ | ||
disableKeyboardNavigation?: boolean | Array<'esc' | 'right' | 'left'>; | ||
disableKeyboardNavigation?: boolean | Array<'esc' | 'right' | 'left'> | undefined; | ||
@@ -187,3 +187,3 @@ /** | ||
*/ | ||
getCurrentStep?: (currentStep: number) => void; | ||
getCurrentStep?: ((currentStep: number) => void) | undefined; | ||
@@ -193,3 +193,3 @@ /** | ||
*/ | ||
goToStep?: number; | ||
goToStep?: number | undefined; | ||
@@ -199,3 +199,3 @@ /** | ||
*/ | ||
highlightedMaskClassName?: string; | ||
highlightedMaskClassName?: string | undefined; | ||
@@ -205,3 +205,3 @@ /** | ||
*/ | ||
inViewThreshold?: number; | ||
inViewThreshold?: number | undefined; | ||
@@ -211,3 +211,3 @@ /** | ||
*/ | ||
lastStepNextButton?: React.ReactNode; | ||
lastStepNextButton?: React.ReactNode | undefined; | ||
@@ -217,3 +217,3 @@ /** | ||
*/ | ||
maskClassName?: string; | ||
maskClassName?: string | undefined; | ||
@@ -223,3 +223,3 @@ /** | ||
*/ | ||
maskSpace?: number; | ||
maskSpace?: number | undefined; | ||
@@ -229,3 +229,3 @@ /** | ||
*/ | ||
nextButton?: React.ReactNode; | ||
nextButton?: React.ReactNode | undefined; | ||
@@ -235,3 +235,3 @@ /** | ||
*/ | ||
nextStep?: () => void; | ||
nextStep?: (() => void) | undefined; | ||
@@ -241,3 +241,3 @@ /** | ||
*/ | ||
onAfterOpen?: (target: HTMLDivElement) => void; | ||
onAfterOpen?: ((target: HTMLDivElement) => void) | undefined; | ||
@@ -247,3 +247,3 @@ /** | ||
*/ | ||
onBeforeClose?: (target: HTMLDivElement) => void; | ||
onBeforeClose?: ((target: HTMLDivElement) => void) | undefined; | ||
@@ -253,3 +253,3 @@ /** | ||
*/ | ||
prevButton?: React.ReactNode; | ||
prevButton?: React.ReactNode | undefined; | ||
@@ -259,3 +259,3 @@ /** | ||
*/ | ||
prevStep?: () => void; | ||
prevStep?: (() => void) | undefined; | ||
@@ -266,3 +266,3 @@ /** | ||
*/ | ||
rounded?: number; | ||
rounded?: number | undefined; | ||
@@ -273,3 +273,3 @@ /** | ||
*/ | ||
scrollDuration?: number; | ||
scrollDuration?: number | undefined; | ||
@@ -279,3 +279,3 @@ /** | ||
*/ | ||
scrollOffset?: number; | ||
scrollOffset?: number | undefined; | ||
@@ -286,3 +286,3 @@ /** | ||
*/ | ||
showButtons?: boolean; | ||
showButtons?: boolean | undefined; | ||
@@ -293,3 +293,3 @@ /** | ||
*/ | ||
showCloseButton?: boolean; | ||
showCloseButton?: boolean | undefined; | ||
@@ -300,3 +300,3 @@ /** | ||
*/ | ||
showNavigation?: boolean; | ||
showNavigation?: boolean | undefined; | ||
@@ -307,3 +307,3 @@ /** | ||
*/ | ||
showNavigationNumber?: boolean; | ||
showNavigationNumber?: boolean | undefined; | ||
@@ -314,3 +314,3 @@ /** | ||
*/ | ||
showNumber?: boolean; | ||
showNumber?: boolean | undefined; | ||
@@ -320,3 +320,3 @@ /** | ||
*/ | ||
startAt?: number; | ||
startAt?: number | undefined; | ||
@@ -326,3 +326,3 @@ /** | ||
*/ | ||
update?: string; | ||
update?: string | undefined; | ||
@@ -333,3 +333,3 @@ /** | ||
*/ | ||
updateDelay?: number; | ||
updateDelay?: number | undefined; | ||
@@ -340,3 +340,3 @@ /** | ||
*/ | ||
disableFocusLock?: boolean; | ||
disableFocusLock?: boolean | undefined; | ||
@@ -346,3 +346,3 @@ /** | ||
*/ | ||
accessibilityOptions?: ReactourAccessibilityOptions; | ||
accessibilityOptions?: ReactourAccessibilityOptions | undefined; | ||
@@ -352,3 +352,3 @@ /** | ||
*/ | ||
CustomHelper?: ({ ...props }: CustomHelperProps) => React.ReactElement; | ||
CustomHelper?: (({ ...props }: CustomHelperProps) => React.ReactElement) | undefined; | ||
} | ||
@@ -370,5 +370,5 @@ | ||
focusUnlocked: boolean; | ||
helperWidth?: number; | ||
helperHeight?: number; | ||
helperPosition?: ReactourStepPosition; | ||
helperWidth?: number | undefined; | ||
helperHeight?: number | undefined; | ||
helperPosition?: ReactourStepPosition | undefined; | ||
} | ||
@@ -385,6 +385,6 @@ | ||
onClick: React.MouseEventHandler<HTMLButtonElement>; | ||
className?: string; | ||
disabled?: boolean; | ||
inverted?: boolean; | ||
label?: React.ReactNode; | ||
className?: string | undefined; | ||
disabled?: boolean | undefined; | ||
inverted?: boolean | undefined; | ||
label?: React.ReactNode | undefined; | ||
} | ||
@@ -394,3 +394,3 @@ export function Arrow(props: ArrowProps): React.ReactElement; | ||
export interface BadgeProps extends React.ComponentPropsWithRef<'span'> { | ||
accentColor?: string; | ||
accentColor?: string | undefined; | ||
} | ||
@@ -401,3 +401,3 @@ export const Badge: React.FC<BadgeProps>; | ||
onClick: React.MouseEventHandler<HTMLButtonElement>; | ||
className?: string; | ||
className?: string | undefined; | ||
} | ||
@@ -410,7 +410,7 @@ export function Close(props: CloseProps): React.ReactElement; | ||
export interface DotProps extends React.ComponentPropsWithRef<'button'> { | ||
disabled?: boolean; | ||
current?: number; | ||
index?: number; | ||
showNumber?: boolean; | ||
accentColor?: string; | ||
disabled?: boolean | undefined; | ||
current?: number | undefined; | ||
index?: number | undefined; | ||
showNumber?: boolean | undefined; | ||
accentColor?: string | undefined; | ||
} | ||
@@ -417,0 +417,0 @@ export const Dot: React.FC<DotProps>; |
{ | ||
"name": "@types/reactour", | ||
"version": "1.18.1", | ||
"version": "1.18.2", | ||
"description": "TypeScript definitions for reactour", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/reactour", | ||
"license": "MIT", | ||
@@ -29,4 +30,4 @@ "contributors": [ | ||
}, | ||
"typesPublisherContentHash": "d0287bb43ec314495a8712cbda50508dfc21e8252ad4619fd8ae97d061bbb96e", | ||
"typeScriptVersion": "3.4" | ||
"typesPublisherContentHash": "92d83488e03b3d5480648be0afd9d26a3239783035059c577560a985cae0e415", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Sun, 14 Feb 2021 12:49:37 GMT | ||
* Last updated: Thu, 08 Jul 2021 22:41:45 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
13156
0