Skip to content

Commit

Permalink
Merge pull request #409 from alvarotrigo/dev
Browse files Browse the repository at this point in the history
Merging dev branch 0.1.38
  • Loading branch information
alvarotrigo authored Mar 28, 2023
2 parents 55500d0 + f3235bb commit 95158be
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<p align="center">Official React wrapper for the <a target="_blank" href="https://github.com/alvarotrigo/fullPage.js/">fullpage.js library</a></p>

<p align="center">
<img src="https://img.shields.io/badge/react--fullpage-v0.1.37-brightgreen.svg" alt="react-fullpage version" />
<img src="https://img.shields.io/badge/react--fullpage-v0.1.38-brightgreen.svg" alt="react-fullpage version" />
</p>

- [Demo online](https://alvarotrigo.com/react-fullpage/) | [CodeSandbox](https://codesandbox.io/s/m34yq5q0qx)
Expand Down
2 changes: 1 addition & 1 deletion dist/react-fullpage-umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/react-fullpage.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"serve": "export SET NODE_OPTIONS=--openssl-legacy-provider && gatsby serve"
},
"dependencies": {
"@fullpage/react-fullpage": "^0.1.37",
"@fullpage/react-fullpage": "^0.1.38",
"gatsby": "^4.22.1",
"react": "^18.1.0",
"react-dom": "^18.1.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "cmswalker",
"license": "GPL-3.0",
"dependencies": {
"@fullpage/react-fullpage": "^0.1.37",
"@fullpage/react-fullpage": "^0.1.38",
"next": "^12.1.6",
"react": "^18.1.0",
"react-dom": "^18.1.0"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fullpage/react-fullpage",
"version": "0.1.37",
"version": "0.1.38",
"description": "Official react wrapper for fullPage.js",
"author": "cmswalker",
"contributors": [
Expand Down
20 changes: 13 additions & 7 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ declare module '@fullpage/react-fullpage' {
type Parallax = boolean | "sections" | "slides";
type DropEffect = boolean | "sections" | "slides";
type WaterEffect = boolean | "sections" | "slides";
type Trigger = "slideArrow" | "verticalNav" | "horizontalNav" | "keydown" | "wheel" | "menu";
type ScrollOverflowReset = boolean | "slides" | "sections";
type WaterEffectOptions = {
animateContent: boolean
animateOnMouseMove: boolean
Expand Down Expand Up @@ -45,6 +47,7 @@ declare module '@fullpage/react-fullpage' {
continuousVertical?: boolean
controlArrowColor?: string
controlArrows?: boolean
controlArrowsHTML?: string[]
css3?: boolean
dragAndMove?: DragAndMove
easing?: string
Expand All @@ -57,6 +60,7 @@ declare module '@fullpage/react-fullpage' {
interlockedSlides?: InterlockedSlides
keyboardScrolling?: boolean
lazyLoading?: boolean
observer?: boolean
licenseKey?: string
credits: Credits
lockAnchors?: boolean
Expand All @@ -83,8 +87,9 @@ declare module '@fullpage/react-fullpage' {
scrollBar?: boolean
scrollHorizontally?: boolean
scrollOverflow?: boolean
scrollOverflowMacStyle?: boolean
scrollOverflowHandler?: any
scrollOverflowReset?: boolean
scrollOverflowReset?: ScrollOverflowReset
scrollingSpeed?: number
dropEffect?: DropEffect;
dropEffectOptions?: any;
Expand All @@ -99,18 +104,19 @@ declare module '@fullpage/react-fullpage' {
slidesNavPosition?: "top" | "bottom"
slidesNavigation?: boolean
touchSensitivity?: number
v2compatible?: boolean
verticalCentered?: boolean

/* callback and events */
afterLoad?(origin: Item, destination: Item, direction: string): void
afterLoad?(origin: Item, destination: Item, direction: string, trigger: Trigger): void
afterRender?(): void
afterResize?(width: number, height: number): void
afterReBuild?(): void
afterResponsive?(isResponsive: boolean): void
afterSlideLoad?(section: Item, origin: Item, destination: Item, direction: string): void
onLeave?(origin: Item, destination: Item, direction: string): void
onSlideLeave?(section: Item, origin: Item, destination: Item, direction: string): void
afterSlideLoad?(section: Item, origin: Item, destination: Item, direction: string, trigger: Trigger): void
onLeave?(origin: Item, destination: Item, direction: string, trigger: Trigger): void
beforeLeave?(origin: Item, destination: Item, direction: string, trigger: Trigger): void
onSlideLeave?(section: Item, origin: Item, destination: Item, direction: string, trigger: Trigger): void
onScrollOverflow?(section: Item, slide: Item, position: number, direction: string): void

/* keys for extensions */
fadingEffectKey?: string
Expand All @@ -135,7 +141,7 @@ declare module '@fullpage/react-fullpage' {
resetSliders: boolean
responsiveSlides: boolean
scrollHorizontally: boolean
scrollOverflowReset: boolean
scrollOverflowReset: ScrollOverflowReset
version: string
destroy(type?: string): void
fitToSection(): void
Expand Down

0 comments on commit 95158be

Please sign in to comment.