react-joyride
Advanced tools
Comparing version 2.0.4 to 2.0.5
{ | ||
"name": "react-joyride", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "Create guided tours for your apps", | ||
@@ -5,0 +5,0 @@ "author": "Gil Barbara <gilbarbara@gmail.com>", |
@@ -59,2 +59,39 @@ import * as React from 'react'; | ||
export interface FloaterProps { | ||
options?: object; | ||
styles?: object; | ||
wrapperOptions?: object; | ||
} | ||
export interface Styles { | ||
beacon?: React.CSSProperties; | ||
beaconInner?: React.CSSProperties; | ||
beaconOuter?: React.CSSProperties; | ||
buttonBack?: React.CSSProperties; | ||
buttonClose?: React.CSSProperties; | ||
buttonNext?: React.CSSProperties; | ||
buttonSkip?: React.CSSProperties; | ||
options?: { | ||
arrowColor?: string; | ||
backgroundColor?: string; | ||
beaconSize?: number; | ||
overlayColor?: string; | ||
primaryColor?: string; | ||
spotlightShadow?: string; | ||
textColor?: string; | ||
zIndex?: number; | ||
}; | ||
overlay?: React.CSSProperties; | ||
overlayLegacy?: React.CSSProperties; | ||
overlayLegacyCenter?: React.CSSProperties; | ||
spotlight?: React.CSSProperties; | ||
spotlightLegacy?: React.CSSProperties; | ||
tooltip?: React.CSSProperties; | ||
tooltipContainer?: React.CSSProperties; | ||
tooltipContent?: React.CSSProperties; | ||
tooltipFooter?: React.CSSProperties; | ||
tooltipFooterSpacer?: React.CSSProperties; | ||
tooltipTitle?: React.CSSProperties; | ||
} | ||
export interface Step { | ||
@@ -70,3 +107,3 @@ beaconComponent?: (renderProps: BeaconRenderProps) => React.ReactNode; | ||
event?: string; | ||
floaterProps?: object; | ||
floaterProps?: FloaterProps; | ||
hideBackButton?: boolean; | ||
@@ -84,3 +121,3 @@ hideCloseButton?: boolean; | ||
spotlightPadding?: number; | ||
styles?: object; | ||
styles?: Styles; | ||
target: string | HTMLElement; | ||
@@ -103,24 +140,33 @@ title?: React.ReactNode; | ||
'aria-label': string; | ||
'data-action': string; | ||
onClick: () => void; | ||
role: string; | ||
title: React.ReactNode; | ||
title: string; | ||
}; | ||
closeProps: { | ||
'aria-label': string; | ||
'data-action': string; | ||
onClick: () => void; | ||
role: string; | ||
title: React.ReactNode; | ||
title: string; | ||
}; | ||
primaryProps: { | ||
'aria-label': string; | ||
'data-action': string; | ||
onClick: () => void; | ||
role: string; | ||
title: React.ReactNode; | ||
title: string; | ||
}; | ||
skipProps: { | ||
'aria-label': string; | ||
'data-action': string; | ||
onClick: () => void; | ||
role: string; | ||
title: React.ReactNode; | ||
title: string; | ||
}; | ||
tooltipProps: { | ||
'aria-modal': boolean; | ||
ref: () => void; | ||
role: string; | ||
}; | ||
} | ||
@@ -138,3 +184,3 @@ | ||
disableScrollParentFix?: boolean; | ||
floaterProps?: object; | ||
floaterProps?: FloaterProps; | ||
getHelpers?: () => StoreHelpers; | ||
@@ -152,3 +198,3 @@ hideBackButton?: boolean; | ||
steps: Array<Step>; | ||
styles?: object; | ||
styles?: Styles; | ||
tooltipComponent?: (renderProps: TooltipRenderProps) => React.ReactNode; | ||
@@ -155,0 +201,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
186131
5290