├── .babelrc ├── .eslintrc.js ├── .github └── workflows │ ├── deploy.yml │ ├── main.yml │ └── size.yml ├── .gitignore ├── .prettierrc.js ├── CHANGELOG.md ├── LICENSE ├── README.md ├── assets └── logo.svg ├── examples ├── README.md ├── gatsby │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc │ ├── LICENSE │ ├── gatsby-browser.js │ ├── gatsby-config.js │ ├── gatsby-node.js │ ├── gatsby-ssr.js │ ├── package.json │ ├── sandbox.config.json │ ├── src │ │ ├── components │ │ │ ├── header.js │ │ │ ├── image.js │ │ │ ├── layout.css │ │ │ ├── layout.js │ │ │ └── seo.js │ │ ├── images │ │ │ ├── gatsby-astronaut.png │ │ │ └── gatsby-icon.png │ │ └── pages │ │ │ ├── 404.js │ │ │ └── index.js │ └── yarn.lock └── nextjs │ ├── .gitignore │ ├── package.json │ ├── pages │ ├── api │ │ └── hello.js │ └── index.js │ ├── public │ ├── favicon.ico │ └── vercel.svg │ ├── sandbox.config.json │ ├── styles │ ├── Home.module.css │ └── globals.css │ └── yarn.lock ├── global.d.ts ├── jest.config.js ├── package.json ├── playground ├── .npmignore ├── app.tsx ├── assets │ ├── favicons │ │ ├── apple-touch-icon.png │ │ ├── favicon-16x16.png │ │ ├── favicon-32x32.png │ │ └── favicon.ico │ └── images │ │ ├── githubLogo.svg │ │ └── logo.svg ├── components │ ├── animatedStep.tsx │ ├── asyncStep.tsx │ ├── footer │ │ ├── footer.tsx │ │ └── footerStepIndex.tsx │ ├── index.ts │ ├── step.tsx │ └── tooltip.tsx ├── global.d.ts ├── hooks │ ├── index.ts │ └── useMockMutation.tsx ├── index.html ├── index.tsx ├── modules │ ├── common │ │ ├── button.tsx │ │ ├── index.ts │ │ ├── page.tsx │ │ ├── section.tsx │ │ └── style.tsx │ ├── index.ts │ └── wizard │ │ ├── animated │ │ └── index.tsx │ │ ├── goToStepIndex │ │ └── index.tsx │ │ ├── reactQuery │ │ ├── index.tsx │ │ ├── lazyQuery.tsx │ │ └── queryStep.tsx │ │ ├── simple │ │ └── index.tsx │ │ └── wizard.tsx ├── normalize.css ├── package.json ├── tsconfig.json └── yarn.lock ├── src ├── index.ts ├── logger.ts ├── types.ts ├── useWizard.ts ├── wizard.tsx └── wizardContext.ts ├── test ├── setup.ts ├── useWizard.test.tsx └── wizard.test.tsx ├── tsconfig.json ├── tsdx.config.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/.babelrc -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/.github/workflows/deploy.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.github/workflows/size.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/.github/workflows/size.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.log 2 | .DS_Store 3 | node_modules 4 | dist 5 | .parcel-cache 6 | .vscode -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/README.md -------------------------------------------------------------------------------- /assets/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/assets/logo.svg -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/gatsby/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/gatsby/.gitignore -------------------------------------------------------------------------------- /examples/gatsby/.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/gatsby/.prettierignore -------------------------------------------------------------------------------- /examples/gatsby/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/gatsby/.prettierrc -------------------------------------------------------------------------------- /examples/gatsby/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/gatsby/LICENSE -------------------------------------------------------------------------------- /examples/gatsby/gatsby-browser.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/gatsby/gatsby-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/gatsby/gatsby-config.js -------------------------------------------------------------------------------- /examples/gatsby/gatsby-node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/gatsby/gatsby-node.js -------------------------------------------------------------------------------- /examples/gatsby/gatsby-ssr.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/gatsby/gatsby-ssr.js -------------------------------------------------------------------------------- /examples/gatsby/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/gatsby/package.json -------------------------------------------------------------------------------- /examples/gatsby/sandbox.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/gatsby/sandbox.config.json -------------------------------------------------------------------------------- /examples/gatsby/src/components/header.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/gatsby/src/components/header.js -------------------------------------------------------------------------------- /examples/gatsby/src/components/image.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/gatsby/src/components/image.js -------------------------------------------------------------------------------- /examples/gatsby/src/components/layout.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/gatsby/src/components/layout.css -------------------------------------------------------------------------------- /examples/gatsby/src/components/layout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/gatsby/src/components/layout.js -------------------------------------------------------------------------------- /examples/gatsby/src/components/seo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/gatsby/src/components/seo.js -------------------------------------------------------------------------------- /examples/gatsby/src/images/gatsby-astronaut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/gatsby/src/images/gatsby-astronaut.png -------------------------------------------------------------------------------- /examples/gatsby/src/images/gatsby-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/gatsby/src/images/gatsby-icon.png -------------------------------------------------------------------------------- /examples/gatsby/src/pages/404.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/gatsby/src/pages/404.js -------------------------------------------------------------------------------- /examples/gatsby/src/pages/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/gatsby/src/pages/index.js -------------------------------------------------------------------------------- /examples/gatsby/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/gatsby/yarn.lock -------------------------------------------------------------------------------- /examples/nextjs/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/nextjs/.gitignore -------------------------------------------------------------------------------- /examples/nextjs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/nextjs/package.json -------------------------------------------------------------------------------- /examples/nextjs/pages/api/hello.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/nextjs/pages/api/hello.js -------------------------------------------------------------------------------- /examples/nextjs/pages/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/nextjs/pages/index.js -------------------------------------------------------------------------------- /examples/nextjs/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/nextjs/public/favicon.ico -------------------------------------------------------------------------------- /examples/nextjs/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/nextjs/public/vercel.svg -------------------------------------------------------------------------------- /examples/nextjs/sandbox.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/nextjs/sandbox.config.json -------------------------------------------------------------------------------- /examples/nextjs/styles/Home.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/nextjs/styles/Home.module.css -------------------------------------------------------------------------------- /examples/nextjs/styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/nextjs/styles/globals.css -------------------------------------------------------------------------------- /examples/nextjs/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/examples/nextjs/yarn.lock -------------------------------------------------------------------------------- /global.d.ts: -------------------------------------------------------------------------------- 1 | declare var __DEV__: boolean; 2 | -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/package.json -------------------------------------------------------------------------------- /playground/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .parcel-cache 3 | dist -------------------------------------------------------------------------------- /playground/app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/app.tsx -------------------------------------------------------------------------------- /playground/assets/favicons/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/assets/favicons/apple-touch-icon.png -------------------------------------------------------------------------------- /playground/assets/favicons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/assets/favicons/favicon-16x16.png -------------------------------------------------------------------------------- /playground/assets/favicons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/assets/favicons/favicon-32x32.png -------------------------------------------------------------------------------- /playground/assets/favicons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/assets/favicons/favicon.ico -------------------------------------------------------------------------------- /playground/assets/images/githubLogo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/assets/images/githubLogo.svg -------------------------------------------------------------------------------- /playground/assets/images/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/assets/images/logo.svg -------------------------------------------------------------------------------- /playground/components/animatedStep.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/components/animatedStep.tsx -------------------------------------------------------------------------------- /playground/components/asyncStep.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/components/asyncStep.tsx -------------------------------------------------------------------------------- /playground/components/footer/footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/components/footer/footer.tsx -------------------------------------------------------------------------------- /playground/components/footer/footerStepIndex.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/components/footer/footerStepIndex.tsx -------------------------------------------------------------------------------- /playground/components/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/components/index.ts -------------------------------------------------------------------------------- /playground/components/step.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/components/step.tsx -------------------------------------------------------------------------------- /playground/components/tooltip.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/components/tooltip.tsx -------------------------------------------------------------------------------- /playground/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/global.d.ts -------------------------------------------------------------------------------- /playground/hooks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/hooks/index.ts -------------------------------------------------------------------------------- /playground/hooks/useMockMutation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/hooks/useMockMutation.tsx -------------------------------------------------------------------------------- /playground/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/index.html -------------------------------------------------------------------------------- /playground/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/index.tsx -------------------------------------------------------------------------------- /playground/modules/common/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/modules/common/button.tsx -------------------------------------------------------------------------------- /playground/modules/common/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/modules/common/index.ts -------------------------------------------------------------------------------- /playground/modules/common/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/modules/common/page.tsx -------------------------------------------------------------------------------- /playground/modules/common/section.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/modules/common/section.tsx -------------------------------------------------------------------------------- /playground/modules/common/style.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/modules/common/style.tsx -------------------------------------------------------------------------------- /playground/modules/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/modules/index.ts -------------------------------------------------------------------------------- /playground/modules/wizard/animated/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/modules/wizard/animated/index.tsx -------------------------------------------------------------------------------- /playground/modules/wizard/goToStepIndex/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/modules/wizard/goToStepIndex/index.tsx -------------------------------------------------------------------------------- /playground/modules/wizard/reactQuery/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/modules/wizard/reactQuery/index.tsx -------------------------------------------------------------------------------- /playground/modules/wizard/reactQuery/lazyQuery.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/modules/wizard/reactQuery/lazyQuery.tsx -------------------------------------------------------------------------------- /playground/modules/wizard/reactQuery/queryStep.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/modules/wizard/reactQuery/queryStep.tsx -------------------------------------------------------------------------------- /playground/modules/wizard/simple/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/modules/wizard/simple/index.tsx -------------------------------------------------------------------------------- /playground/modules/wizard/wizard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/modules/wizard/wizard.tsx -------------------------------------------------------------------------------- /playground/normalize.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/normalize.css -------------------------------------------------------------------------------- /playground/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/package.json -------------------------------------------------------------------------------- /playground/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/tsconfig.json -------------------------------------------------------------------------------- /playground/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/playground/yarn.lock -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/src/logger.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/useWizard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/src/useWizard.ts -------------------------------------------------------------------------------- /src/wizard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/src/wizard.tsx -------------------------------------------------------------------------------- /src/wizardContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/src/wizardContext.ts -------------------------------------------------------------------------------- /test/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/test/setup.ts -------------------------------------------------------------------------------- /test/useWizard.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/test/useWizard.test.tsx -------------------------------------------------------------------------------- /test/wizard.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/test/wizard.test.tsx -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsdx.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/tsdx.config.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devrnt/react-use-wizard/HEAD/yarn.lock --------------------------------------------------------------------------------