├── .eslintrc.cjs ├── .gitignore ├── .npmignore ├── .prettierignore ├── .prettierrc ├── LICENSE ├── README.md ├── package.json ├── postcss.config.js ├── src ├── assets │ ├── icons │ │ ├── check-icon.svg │ │ ├── empty-state.svg │ │ └── uncheck-icon.svg │ ├── images │ │ ├── hulu.jpeg │ │ ├── instagram.png │ │ ├── linkedin.png │ │ ├── snapchat.png │ │ └── spotify.png │ └── styles │ │ └── demo.css ├── demo │ ├── App.tsx │ ├── components │ │ ├── Actions.tsx │ │ ├── Content.tsx │ │ └── Draggable.tsx │ ├── globals.d.ts │ ├── index.html │ ├── main.tsx │ ├── mock │ │ └── mock.tsx │ ├── tsconfig.json │ └── vite.config.ts ├── lib │ ├── components │ │ ├── CardSwiper.tsx │ │ ├── CardSwiperActionButton.tsx │ │ ├── CardSwiperEmptyState.tsx │ │ ├── CardSwiperLeftActionButton.tsx │ │ ├── CardSwiperRibbons.tsx │ │ └── CardSwiperRightActionButton.tsx │ ├── hooks │ │ └── useCardSwiper.tsx │ ├── index.ts │ ├── main.css │ ├── types │ │ └── types.ts │ └── utils │ │ └── swiper.ts └── vite-env.d.ts ├── tailwind.config.js ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/.npmignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/.prettierrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/postcss.config.js -------------------------------------------------------------------------------- /src/assets/icons/check-icon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/assets/icons/check-icon.svg -------------------------------------------------------------------------------- /src/assets/icons/empty-state.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/assets/icons/empty-state.svg -------------------------------------------------------------------------------- /src/assets/icons/uncheck-icon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/assets/icons/uncheck-icon.svg -------------------------------------------------------------------------------- /src/assets/images/hulu.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/assets/images/hulu.jpeg -------------------------------------------------------------------------------- /src/assets/images/instagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/assets/images/instagram.png -------------------------------------------------------------------------------- /src/assets/images/linkedin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/assets/images/linkedin.png -------------------------------------------------------------------------------- /src/assets/images/snapchat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/assets/images/snapchat.png -------------------------------------------------------------------------------- /src/assets/images/spotify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/assets/images/spotify.png -------------------------------------------------------------------------------- /src/assets/styles/demo.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/assets/styles/demo.css -------------------------------------------------------------------------------- /src/demo/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/demo/App.tsx -------------------------------------------------------------------------------- /src/demo/components/Actions.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/demo/components/Actions.tsx -------------------------------------------------------------------------------- /src/demo/components/Content.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/demo/components/Content.tsx -------------------------------------------------------------------------------- /src/demo/components/Draggable.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/demo/components/Draggable.tsx -------------------------------------------------------------------------------- /src/demo/globals.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/demo/globals.d.ts -------------------------------------------------------------------------------- /src/demo/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/demo/index.html -------------------------------------------------------------------------------- /src/demo/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/demo/main.tsx -------------------------------------------------------------------------------- /src/demo/mock/mock.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/demo/mock/mock.tsx -------------------------------------------------------------------------------- /src/demo/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/demo/tsconfig.json -------------------------------------------------------------------------------- /src/demo/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/demo/vite.config.ts -------------------------------------------------------------------------------- /src/lib/components/CardSwiper.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/lib/components/CardSwiper.tsx -------------------------------------------------------------------------------- /src/lib/components/CardSwiperActionButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/lib/components/CardSwiperActionButton.tsx -------------------------------------------------------------------------------- /src/lib/components/CardSwiperEmptyState.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/lib/components/CardSwiperEmptyState.tsx -------------------------------------------------------------------------------- /src/lib/components/CardSwiperLeftActionButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/lib/components/CardSwiperLeftActionButton.tsx -------------------------------------------------------------------------------- /src/lib/components/CardSwiperRibbons.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/lib/components/CardSwiperRibbons.tsx -------------------------------------------------------------------------------- /src/lib/components/CardSwiperRightActionButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/lib/components/CardSwiperRightActionButton.tsx -------------------------------------------------------------------------------- /src/lib/hooks/useCardSwiper.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/lib/hooks/useCardSwiper.tsx -------------------------------------------------------------------------------- /src/lib/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/lib/index.ts -------------------------------------------------------------------------------- /src/lib/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/lib/main.css -------------------------------------------------------------------------------- /src/lib/types/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/lib/types/types.ts -------------------------------------------------------------------------------- /src/lib/utils/swiper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/src/lib/utils/swiper.ts -------------------------------------------------------------------------------- /src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/tsconfig.node.json -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativSibony/react-card-swiper/HEAD/vite.config.ts --------------------------------------------------------------------------------