Repository: thmsgbrt/react-simple-pull-to-refresh Branch: master Commit: 1f039086c96c Files: 95 Total size: 877.4 KB Directory structure: gitextract_c8bt5cc5/ ├── .gitignore ├── .prettierrc.yaml ├── .vscode/ │ └── settings.json ├── LICENCE ├── README.md ├── docs/ │ ├── asset-manifest.json │ ├── index.html │ ├── manifest.json │ ├── precache-manifest.002c0dcead9105f8546174db786b7469.js │ ├── precache-manifest.01cf629cab662f971c7599ebe88f6dab.js │ ├── precache-manifest.1b1c09b5287b3c5de1d83d3060a460e2.js │ ├── precache-manifest.2a1d4cb30f002bc6fed4969d364b9330.js │ ├── precache-manifest.32eb72f71ec0ad5f13a0fd056d8a62ea.js │ ├── precache-manifest.409be7e9ef7f20ee559ccb0411611cfc.js │ ├── precache-manifest.4eeed1c17041057ff4d8d13a6a8e720e.js │ ├── precache-manifest.5616aa284d6ed4511e3249f01616738e.js │ ├── precache-manifest.581823661a0500329e0ddcff1b1caa6b.js │ ├── precache-manifest.60ae62bd984225d9d6756ee99408105f.js │ ├── precache-manifest.6f8b33acd54c2a9acb61d0beaf009590.js │ ├── precache-manifest.75aca241657b25843a06b85b18aa7fd2.js │ ├── precache-manifest.836ae0097c5f1aac4c6a28a99385bcd0.js │ ├── precache-manifest.a0c61d87f54193ad0e92e6c67433dcf7.js │ ├── precache-manifest.d2dcbfd571f0f167a73d9e08866a6dba.js │ ├── precache-manifest.d944fe3be93f12a45300e4083b4081a6.js │ ├── precache-manifest.db32af7bb8fdb6eae62fd9fd83578331.js │ ├── precache-manifest.e1d30e97e339f2b88ce5728af299e878.js │ ├── precache-manifest.e2b167acef1e86a3019e7221c5fe65ed.js │ ├── precache-manifest.fef0e41f6f03ce2eeb9e823693d76cc6.js │ ├── robots.txt │ ├── service-worker.js │ └── static/ │ ├── css/ │ │ ├── main.0388a0eb.css │ │ ├── main.2c36170d.chunk.css │ │ ├── main.4ed805f0.chunk.css │ │ ├── main.609cc2a1.chunk.css │ │ └── main.8aa9810e.chunk.css │ └── js/ │ ├── 2.ce7fa3e7.chunk.js │ ├── 2.fa031f80.chunk.js │ ├── main.028fee3e.chunk.js │ ├── main.100e47c1.chunk.js │ ├── main.1fffc8d5.chunk.js │ ├── main.222dcf33.chunk.js │ ├── main.29b5d833.chunk.js │ ├── main.36aacf2c.chunk.js │ ├── main.37c8f8f4.chunk.js │ ├── main.39cd567c.js │ ├── main.39cd567c.js.LICENSE.txt │ ├── main.3a61f424.chunk.js │ ├── main.3f02033c.chunk.js │ ├── main.524f22fd.chunk.js │ ├── main.539afb7b.chunk.js │ ├── main.568b43db.chunk.js │ ├── main.5818df09.chunk.js │ ├── main.60752506.chunk.js │ ├── main.60884689.chunk.js │ ├── main.7c3992f0.js │ ├── main.7c3992f0.js.LICENSE.txt │ ├── main.9bf6d823.chunk.js │ ├── main.b28d2740.chunk.js │ ├── main.b6ce14fd.chunk.js │ ├── main.ea161887.chunk.js │ ├── main.f34627b8.chunk.js │ └── runtime-main.dd9dbc43.js ├── package.json ├── playground/ │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── public/ │ │ ├── index.html │ │ ├── manifest.json │ │ └── robots.txt │ ├── src/ │ │ ├── App.css │ │ ├── App.tsx │ │ ├── commands/ │ │ │ ├── commands.css │ │ │ └── commands.tsx │ │ ├── index.css │ │ ├── index.tsx │ │ ├── pull-to-refresh/ │ │ │ ├── components/ │ │ │ │ ├── pull-to-refresh.d.ts │ │ │ │ ├── pulling-content.d.ts │ │ │ │ └── refreshing-content.d.ts │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── isScrollable.d.ts │ │ │ └── types.d.ts │ │ ├── react-app-env.d.ts │ │ └── serviceWorker.ts │ └── tsconfig.json ├── rollup.config.js ├── src/ │ ├── components/ │ │ ├── pull-to-refresh.tsx │ │ ├── pulling-content.tsx │ │ └── refreshing-content.tsx │ ├── index.ts │ ├── isScrollable.ts │ ├── styles/ │ │ ├── main.scss │ │ └── refreshing-content.scss │ └── types.ts └── tsconfig.json ================================================ FILE CONTENTS ================================================ ================================================ FILE: .gitignore ================================================ # dependencies /node_modules # production /build # misc .DS_Store .ideas /.idea npm-debug.log* yarn-debug.log* yarn-error.log* #rollup /build .env ================================================ FILE: .prettierrc.yaml ================================================ printWidth: 110 tabWidth: 2 useTabs: false semi: true singleQuote: true quoteProps: 'consistent' jsxSingleQuote: false trailingComma: 'es5' bracketSpacing: true jsxBracketSameLine: false arrowParens: 'avoid' ================================================ FILE: .vscode/settings.json ================================================ { "workbench.colorCustomizations": { "titleBar.activeForeground": "#61dafb", "titleBar.inactiveForeground": "#53b7d3", "titleBar.activeBackground": "#20232a", "titleBar.inactiveBackground": "#0a0e16" }, "editor.formatOnSave": true, "files.insertFinalNewline": true, "editor.tabSize": 2 } ================================================ FILE: LICENCE ================================================ Copyright 2019 GUIBERT THOMAS Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ================================================ FILE: README.md ================================================ # react-simple-pull-to-refresh [![npm version](https://badge.fury.io/js/react-simple-pull-to-refresh.svg)](https://badge.fury.io/js/react-simple-pull-to-refresh) [![license](https://img.shields.io/github/license/thmsgbrt/react-simple-pull-to-refresh.svg)](https://github.com/thmsgbrt/react-simple-pull-to-refresh/blob/master/LICENSE) ![](https://badgen.net/npm/types/react-simple-pull-to-refresh) ![](https://badgen.net/badge/maintained/yes/green) A Simple Pull-To-Refresh Component for React Application with 0 dependency. Works for Mobile and Desktop. ## Contributing ⚠️ I don't have much time to take care of the issues at the moment. 🙏 Any help and contribution is greatly appreciated. ## Demo [Click here 👍](https://thmsgbrt.github.io/react-simple-pull-to-refresh) ## Installation `npm i react-simple-pull-to-refresh` ## Usage ```jsx import PullToRefresh from 'react-simple-pull-to-refresh'; ``` Pull To Refresh only ```jsx // ... return ( ); // ... ``` Pull To Refresh and Fetch More enabled ```jsx // ... return ( ); // ... ``` ## Props Matrix | Name | Type | Required | Default | Description | | :-----------------: | :-------------------: | :------: | :-------------------: | ---------------------------------------------------------------------------- | | isPullable | boolean | false | true | Enable or disable pulling feature | | onRefresh | () => Promise | true | | Function called when Refresh Event has been trigerred | | pullDownThreshold | number | false | 67 | Distance in pixel to pull to trigger a Refresh Event | | maxPullDownDistance | number | false | 95 | Maximum transitionY applied to Children when dragging | | resistance | number | false | 1 | Scale of difficulty to pull down | | refreshingContent | JSX.Element or string | false | | Content displayed when Pulling or Fetch more has been trigerred | | pullingContent | JSX.Element or string | false | | Content displayed when Pulling | | canFetchMore | boolean | false | false | Enable or disable fetching more feature | | onFetchMore | () => Promise | false | | Function called when Fetch more Event has been trigerred | | fetchMoreThreshold | number | false | 100 | Distance in pixel from bottom of the container to trigger a Fetch more Event | | backgroundColor | string | false | | Apply a backgroundColor | | className | string | false | | | ## Changelog 1.3.4: Update package.json peerDependencies to support react 19 - (From: [@redimongo](https://github.com/redimongo)) 1.3.3: Update package.json peerDependencies to support react 18 - (From: [@mjauernig](https://github.com/mjauernig)) 1.3.2: Fix build issue encountered with 1.3.1 1.3.1: Fix issue preventing fixed elements to work properly - (From: [@ManuDoni](https://github.com/ManuDoni)) 1.3.0: Add a _resistance_ prop, that allows to adjust the pull down difficulty - (From: [@joshuahiggins](https://github.com/joshuahiggins)) 1.2.5: Fix event listenter leaks - (From: [@d-s-x](https://github.com/d-s-x)) 1.2.4: Fix overscroll on iOS Safari - (From: [@d-s-x](https://github.com/d-s-x)) 1.2.3: Add React 17+ as valid peer dependencies - (From: [@Felixmosh](https://github.com/felixmosh)) 1.2.2: Remove non-null assertion operators from ref.current + TouchEvent check for Mozilla - (From: [@HamAndRock](https://github.com/HamAndRock)) 1.2.1: Remove unnecessary z-index 1.2.0: onRefresh and onFetchMore now require to be of type () => Promise 1.1.2: Bind Scroll event to Window 1.1.0: Check for "canFetchMore" value for each scroll events. 1.1.0: Add a Fetch More feature ================================================ FILE: docs/asset-manifest.json ================================================ { "files": { "main.css": "/react-simple-pull-to-refresh/static/css/main.0388a0eb.css", "main.js": "/react-simple-pull-to-refresh/static/js/main.39cd567c.js", "index.html": "/react-simple-pull-to-refresh/index.html", "main.0388a0eb.css.map": "/react-simple-pull-to-refresh/static/css/main.0388a0eb.css.map", "main.39cd567c.js.map": "/react-simple-pull-to-refresh/static/js/main.39cd567c.js.map" }, "entrypoints": [ "static/css/main.0388a0eb.css", "static/js/main.39cd567c.js" ] } ================================================ FILE: docs/index.html ================================================ React App
================================================ FILE: docs/manifest.json ================================================ { "short_name": "React App", "name": "Create React App Sample", "icons": [ { "src": "favicon.ico", "sizes": "64x64 32x32 24x24 16x16", "type": "image/x-icon" }, { "src": "logo192.png", "type": "image/png", "sizes": "192x192" }, { "src": "logo512.png", "type": "image/png", "sizes": "512x512" } ], "start_url": ".", "display": "standalone", "theme_color": "#000000", "background_color": "#ffffff" } ================================================ FILE: docs/precache-manifest.002c0dcead9105f8546174db786b7469.js ================================================ self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "7d44d2cd7f4b9d9cd85221b2d28eb190", "url": "/react-simple-pull-to-refresh/index.html" }, { "revision": "d05ecb56c5c597cafb30", "url": "/react-simple-pull-to-refresh/static/css/main.609cc2a1.chunk.css" }, { "revision": "b87cefe09418f566e8b6", "url": "/react-simple-pull-to-refresh/static/js/2.fa031f80.chunk.js" }, { "revision": "d05ecb56c5c597cafb30", "url": "/react-simple-pull-to-refresh/static/js/main.1fffc8d5.chunk.js" }, { "revision": "e74c4cb01b298f907401", "url": "/react-simple-pull-to-refresh/static/js/runtime-main.dd9dbc43.js" } ]); ================================================ FILE: docs/precache-manifest.01cf629cab662f971c7599ebe88f6dab.js ================================================ self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "380081c043be70b7b460bc5a0de751a2", "url": "/react-simple-pull-to-refresh/index.html" }, { "revision": "23891c9ccff4ecfe5e06", "url": "/react-simple-pull-to-refresh/static/css/main.609cc2a1.chunk.css" }, { "revision": "b87cefe09418f566e8b6", "url": "/react-simple-pull-to-refresh/static/js/2.fa031f80.chunk.js" }, { "revision": "23891c9ccff4ecfe5e06", "url": "/react-simple-pull-to-refresh/static/js/main.222dcf33.chunk.js" }, { "revision": "e74c4cb01b298f907401", "url": "/react-simple-pull-to-refresh/static/js/runtime-main.dd9dbc43.js" } ]); ================================================ FILE: docs/precache-manifest.1b1c09b5287b3c5de1d83d3060a460e2.js ================================================ self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "c12dd199702d474f521e95cdd7aaa2dc", "url": "/react-simple-pull-to-refresh/index.html" }, { "revision": "0c55809f6cc1f8e185e9", "url": "/react-simple-pull-to-refresh/static/css/main.4ed805f0.chunk.css" }, { "revision": "4eb5ba97362c21187cdb", "url": "/react-simple-pull-to-refresh/static/js/2.ce7fa3e7.chunk.js" }, { "revision": "0c55809f6cc1f8e185e9", "url": "/react-simple-pull-to-refresh/static/js/main.29b5d833.chunk.js" }, { "revision": "e74c4cb01b298f907401", "url": "/react-simple-pull-to-refresh/static/js/runtime-main.dd9dbc43.js" } ]); ================================================ FILE: docs/precache-manifest.2a1d4cb30f002bc6fed4969d364b9330.js ================================================ self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "d26e4359df6833568a4b3aefa4aab370", "url": "/react-simple-pull-to-refresh/index.html" }, { "revision": "f95e8a317ffc8d6d6c45", "url": "/react-simple-pull-to-refresh/static/css/main.2c36170d.chunk.css" }, { "revision": "b87cefe09418f566e8b6", "url": "/react-simple-pull-to-refresh/static/js/2.fa031f80.chunk.js" }, { "revision": "f95e8a317ffc8d6d6c45", "url": "/react-simple-pull-to-refresh/static/js/main.9bf6d823.chunk.js" }, { "revision": "e74c4cb01b298f907401", "url": "/react-simple-pull-to-refresh/static/js/runtime-main.dd9dbc43.js" } ]); ================================================ FILE: docs/precache-manifest.32eb72f71ec0ad5f13a0fd056d8a62ea.js ================================================ self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "b8d68c8ba2647c6cdd65a158de32d809", "url": "/react-simple-pull-to-refresh/index.html" }, { "revision": "b16349a12bebae034001", "url": "/react-simple-pull-to-refresh/static/css/main.4ed805f0.chunk.css" }, { "revision": "4eb5ba97362c21187cdb", "url": "/react-simple-pull-to-refresh/static/js/2.ce7fa3e7.chunk.js" }, { "revision": "b16349a12bebae034001", "url": "/react-simple-pull-to-refresh/static/js/main.36aacf2c.chunk.js" }, { "revision": "e74c4cb01b298f907401", "url": "/react-simple-pull-to-refresh/static/js/runtime-main.dd9dbc43.js" } ]); ================================================ FILE: docs/precache-manifest.409be7e9ef7f20ee559ccb0411611cfc.js ================================================ self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "92cce5cdd1b42157dd56b9b3b754bb31", "url": "/react-simple-pull-to-refresh/index.html" }, { "revision": "c46260c2f8c7be219a0e", "url": "/react-simple-pull-to-refresh/static/css/main.4ed805f0.chunk.css" }, { "revision": "4eb5ba97362c21187cdb", "url": "/react-simple-pull-to-refresh/static/js/2.ce7fa3e7.chunk.js" }, { "revision": "c46260c2f8c7be219a0e", "url": "/react-simple-pull-to-refresh/static/js/main.60884689.chunk.js" }, { "revision": "e74c4cb01b298f907401", "url": "/react-simple-pull-to-refresh/static/js/runtime-main.dd9dbc43.js" } ]); ================================================ FILE: docs/precache-manifest.4eeed1c17041057ff4d8d13a6a8e720e.js ================================================ self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "946be0af5ffbded8dd516ba903598285", "url": "/react-simple-pull-to-refresh/index.html" }, { "revision": "4165949779918b1c4ec7", "url": "/react-simple-pull-to-refresh/static/css/main.8aa9810e.chunk.css" }, { "revision": "4eb5ba97362c21187cdb", "url": "/react-simple-pull-to-refresh/static/js/2.ce7fa3e7.chunk.js" }, { "revision": "4165949779918b1c4ec7", "url": "/react-simple-pull-to-refresh/static/js/main.3a61f424.chunk.js" }, { "revision": "e74c4cb01b298f907401", "url": "/react-simple-pull-to-refresh/static/js/runtime-main.dd9dbc43.js" } ]); ================================================ FILE: docs/precache-manifest.5616aa284d6ed4511e3249f01616738e.js ================================================ self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "89b815570abcc82283a4d2577aa1a6c8", "url": "/react-simple-pull-to-refresh/index.html" }, { "revision": "64c4bdd8e790f6831dd2", "url": "/react-simple-pull-to-refresh/static/css/main.4ed805f0.chunk.css" }, { "revision": "4eb5ba97362c21187cdb", "url": "/react-simple-pull-to-refresh/static/js/2.ce7fa3e7.chunk.js" }, { "revision": "64c4bdd8e790f6831dd2", "url": "/react-simple-pull-to-refresh/static/js/main.ea161887.chunk.js" }, { "revision": "e74c4cb01b298f907401", "url": "/react-simple-pull-to-refresh/static/js/runtime-main.dd9dbc43.js" } ]); ================================================ FILE: docs/precache-manifest.581823661a0500329e0ddcff1b1caa6b.js ================================================ self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "ef5c5696cf9bd1cd01bf2c6bf76ab239", "url": "/react-simple-pull-to-refresh/index.html" }, { "revision": "c1abed539c7fd50f976d", "url": "/react-simple-pull-to-refresh/static/css/main.609cc2a1.chunk.css" }, { "revision": "b87cefe09418f566e8b6", "url": "/react-simple-pull-to-refresh/static/js/2.fa031f80.chunk.js" }, { "revision": "c1abed539c7fd50f976d", "url": "/react-simple-pull-to-refresh/static/js/main.3f02033c.chunk.js" }, { "revision": "e74c4cb01b298f907401", "url": "/react-simple-pull-to-refresh/static/js/runtime-main.dd9dbc43.js" } ]); ================================================ FILE: docs/precache-manifest.60ae62bd984225d9d6756ee99408105f.js ================================================ self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "699d2ac367428db7adc621d6d45ab6ca", "url": "/react-simple-pull-to-refresh/index.html" }, { "revision": "92d8461652e9ff7e3dd9", "url": "/react-simple-pull-to-refresh/static/css/main.4ed805f0.chunk.css" }, { "revision": "4eb5ba97362c21187cdb", "url": "/react-simple-pull-to-refresh/static/js/2.ce7fa3e7.chunk.js" }, { "revision": "92d8461652e9ff7e3dd9", "url": "/react-simple-pull-to-refresh/static/js/main.568b43db.chunk.js" }, { "revision": "e74c4cb01b298f907401", "url": "/react-simple-pull-to-refresh/static/js/runtime-main.dd9dbc43.js" } ]); ================================================ FILE: docs/precache-manifest.6f8b33acd54c2a9acb61d0beaf009590.js ================================================ self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "789e655d69e2b23f5af255a819acbab4", "url": "/react-simple-pull-to-refresh/index.html" }, { "revision": "fbf728a345df4ad34411", "url": "/react-simple-pull-to-refresh/static/css/main.609cc2a1.chunk.css" }, { "revision": "b87cefe09418f566e8b6", "url": "/react-simple-pull-to-refresh/static/js/2.fa031f80.chunk.js" }, { "revision": "fbf728a345df4ad34411", "url": "/react-simple-pull-to-refresh/static/js/main.539afb7b.chunk.js" }, { "revision": "e74c4cb01b298f907401", "url": "/react-simple-pull-to-refresh/static/js/runtime-main.dd9dbc43.js" } ]); ================================================ FILE: docs/precache-manifest.75aca241657b25843a06b85b18aa7fd2.js ================================================ self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "8779c752248886287ecc63f5a1da98d6", "url": "/react-simple-pull-to-refresh/index.html" }, { "revision": "7a7124d7da89a345db39", "url": "/react-simple-pull-to-refresh/static/css/main.609cc2a1.chunk.css" }, { "revision": "b87cefe09418f566e8b6", "url": "/react-simple-pull-to-refresh/static/js/2.fa031f80.chunk.js" }, { "revision": "7a7124d7da89a345db39", "url": "/react-simple-pull-to-refresh/static/js/main.60752506.chunk.js" }, { "revision": "e74c4cb01b298f907401", "url": "/react-simple-pull-to-refresh/static/js/runtime-main.dd9dbc43.js" } ]); ================================================ FILE: docs/precache-manifest.836ae0097c5f1aac4c6a28a99385bcd0.js ================================================ self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "274fccac0ac081e8685f556a3da96060", "url": "/react-simple-pull-to-refresh/index.html" }, { "revision": "c066fd873e7645e7f9e7", "url": "/react-simple-pull-to-refresh/static/css/main.609cc2a1.chunk.css" }, { "revision": "b87cefe09418f566e8b6", "url": "/react-simple-pull-to-refresh/static/js/2.fa031f80.chunk.js" }, { "revision": "c066fd873e7645e7f9e7", "url": "/react-simple-pull-to-refresh/static/js/main.100e47c1.chunk.js" }, { "revision": "e74c4cb01b298f907401", "url": "/react-simple-pull-to-refresh/static/js/runtime-main.dd9dbc43.js" } ]); ================================================ FILE: docs/precache-manifest.a0c61d87f54193ad0e92e6c67433dcf7.js ================================================ self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "b85abdaf6ac16383d6836128b5814a06", "url": "/react-simple-pull-to-refresh/index.html" }, { "revision": "edaf7c18b867400e056c", "url": "/react-simple-pull-to-refresh/static/css/main.4ed805f0.chunk.css" }, { "revision": "4eb5ba97362c21187cdb", "url": "/react-simple-pull-to-refresh/static/js/2.ce7fa3e7.chunk.js" }, { "revision": "edaf7c18b867400e056c", "url": "/react-simple-pull-to-refresh/static/js/main.5818df09.chunk.js" }, { "revision": "e74c4cb01b298f907401", "url": "/react-simple-pull-to-refresh/static/js/runtime-main.dd9dbc43.js" } ]); ================================================ FILE: docs/precache-manifest.d2dcbfd571f0f167a73d9e08866a6dba.js ================================================ self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "ef2ea89fa06b2b0e817317f13c24e8cf", "url": "/react-simple-pull-to-refresh/index.html" }, { "revision": "9cf7b44a0ac1c0ba777f", "url": "/react-simple-pull-to-refresh/static/css/main.609cc2a1.chunk.css" }, { "revision": "b87cefe09418f566e8b6", "url": "/react-simple-pull-to-refresh/static/js/2.fa031f80.chunk.js" }, { "revision": "9cf7b44a0ac1c0ba777f", "url": "/react-simple-pull-to-refresh/static/js/main.37c8f8f4.chunk.js" }, { "revision": "e74c4cb01b298f907401", "url": "/react-simple-pull-to-refresh/static/js/runtime-main.dd9dbc43.js" } ]); ================================================ FILE: docs/precache-manifest.d944fe3be93f12a45300e4083b4081a6.js ================================================ self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "26dce3a866d855df790db4c109a9f6b1", "url": "/react-simple-pull-to-refresh/index.html" }, { "revision": "0ec4bcf07207eea47265", "url": "/react-simple-pull-to-refresh/static/css/main.609cc2a1.chunk.css" }, { "revision": "b87cefe09418f566e8b6", "url": "/react-simple-pull-to-refresh/static/js/2.fa031f80.chunk.js" }, { "revision": "0ec4bcf07207eea47265", "url": "/react-simple-pull-to-refresh/static/js/main.028fee3e.chunk.js" }, { "revision": "e74c4cb01b298f907401", "url": "/react-simple-pull-to-refresh/static/js/runtime-main.dd9dbc43.js" } ]); ================================================ FILE: docs/precache-manifest.db32af7bb8fdb6eae62fd9fd83578331.js ================================================ self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "7941419d8e5ed6c66865396002e62a5f", "url": "/react-simple-pull-to-refresh/index.html" }, { "revision": "34f3a7d9e91becb9cd73", "url": "/react-simple-pull-to-refresh/static/css/main.609cc2a1.chunk.css" }, { "revision": "b87cefe09418f566e8b6", "url": "/react-simple-pull-to-refresh/static/js/2.fa031f80.chunk.js" }, { "revision": "34f3a7d9e91becb9cd73", "url": "/react-simple-pull-to-refresh/static/js/main.f34627b8.chunk.js" }, { "revision": "e74c4cb01b298f907401", "url": "/react-simple-pull-to-refresh/static/js/runtime-main.dd9dbc43.js" } ]); ================================================ FILE: docs/precache-manifest.e1d30e97e339f2b88ce5728af299e878.js ================================================ self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "e4c0f72225267e48095d7c6619a293f4", "url": "/react-simple-pull-to-refresh/index.html" }, { "revision": "cab036de5abd1707d45f", "url": "/react-simple-pull-to-refresh/static/css/main.4ed805f0.chunk.css" }, { "revision": "4eb5ba97362c21187cdb", "url": "/react-simple-pull-to-refresh/static/js/2.ce7fa3e7.chunk.js" }, { "revision": "cab036de5abd1707d45f", "url": "/react-simple-pull-to-refresh/static/js/main.b6ce14fd.chunk.js" }, { "revision": "e74c4cb01b298f907401", "url": "/react-simple-pull-to-refresh/static/js/runtime-main.dd9dbc43.js" } ]); ================================================ FILE: docs/precache-manifest.e2b167acef1e86a3019e7221c5fe65ed.js ================================================ self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "c9da8ea263edb0a71fd9c73fa9a3bf9f", "url": "/react-simple-pull-to-refresh/index.html" }, { "revision": "1753a60b0964d8ee6d6b", "url": "/react-simple-pull-to-refresh/static/css/main.4ed805f0.chunk.css" }, { "revision": "4eb5ba97362c21187cdb", "url": "/react-simple-pull-to-refresh/static/js/2.ce7fa3e7.chunk.js" }, { "revision": "1753a60b0964d8ee6d6b", "url": "/react-simple-pull-to-refresh/static/js/main.b28d2740.chunk.js" }, { "revision": "e74c4cb01b298f907401", "url": "/react-simple-pull-to-refresh/static/js/runtime-main.dd9dbc43.js" } ]); ================================================ FILE: docs/precache-manifest.fef0e41f6f03ce2eeb9e823693d76cc6.js ================================================ self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "efd13898e4b9fcd8d05cb207353fc80e", "url": "/react-simple-pull-to-refresh/index.html" }, { "revision": "283f743af568b1fda081", "url": "/react-simple-pull-to-refresh/static/css/main.4ed805f0.chunk.css" }, { "revision": "4eb5ba97362c21187cdb", "url": "/react-simple-pull-to-refresh/static/js/2.ce7fa3e7.chunk.js" }, { "revision": "283f743af568b1fda081", "url": "/react-simple-pull-to-refresh/static/js/main.524f22fd.chunk.js" }, { "revision": "e74c4cb01b298f907401", "url": "/react-simple-pull-to-refresh/static/js/runtime-main.dd9dbc43.js" } ]); ================================================ FILE: docs/robots.txt ================================================ # https://www.robotstxt.org/robotstxt.html User-agent: * ================================================ FILE: docs/service-worker.js ================================================ /** * Welcome to your Workbox-powered service worker! * * You'll need to register this file in your web app and you should * disable HTTP caching for this file too. * See https://goo.gl/nhQhGp * * The rest of the code is auto-generated. Please don't update this file * directly; instead, make changes to your Workbox build configuration * and re-run your build process. * See https://goo.gl/2aRDsh */ importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); importScripts( "/react-simple-pull-to-refresh/precache-manifest.5616aa284d6ed4511e3249f01616738e.js" ); self.addEventListener('message', (event) => { if (event.data && event.data.type === 'SKIP_WAITING') { self.skipWaiting(); } }); workbox.core.clientsClaim(); /** * The workboxSW.precacheAndRoute() method efficiently caches and responds to * requests for URLs in the manifest. * See https://goo.gl/S9QRab */ self.__precacheManifest = [].concat(self.__precacheManifest || []); workbox.precaching.precacheAndRoute(self.__precacheManifest, {}); workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/react-simple-pull-to-refresh/index.html"), { blacklist: [/^\/_/,/\/[^/?]+\.[^/]+$/], }); ================================================ FILE: docs/static/css/main.0388a0eb.css ================================================ body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0}body,code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}h1,h2{margin:.3rem}h1{font-size:2rem}h2{font-size:1rem}.App-header{align-items:center;background-color:#282c34;color:#fff;display:flex;flex-direction:column;font-size:calc(10px + 2vmin);height:15vh;justify-content:center;text-align:center}.App-ptr{height:100%}.App-commands{background:linear-gradient(35deg,#64b6ac,#3c6b7c 100%)}.commands{display:flex;overflow-x:auto;padding:15px 20px}.command__group{align-items:center;display:flex;font-size:1rem;margin:10px}input[type=number]{background:#fff;background-position:0 15px;background-repeat:no-repeat;background-size:15px 15px;border:2px solid transparent;border-radius:3px;color:salmon;font-weight:700;line-height:15px;margin-right:1rem;padding:5px;width:35px}input[type=checkbox]{height:20px;margin-right:1rem;position:relative;width:20px}input[type=checkbox]:after{background:#fff;background-image:url(https://cdn0.iconfinder.com/data/icons/slim-square-icons-basics/100/basics-21-32.png);background-position:0 15px;background-repeat:no-repeat;background-size:15px 15px;border:2px solid transparent;border-radius:3px;color:transparent;content:"\00D7";display:block;height:15px;left:0;line-height:15px;pointer-events:none;position:absolute;top:0;transition:all .25s ease-in-out;width:15px}input[type=checkbox]:checked:after{background-color:salmon;background-position:0 0}input[type=checkbox]:hover:after{border-color:salmon}button{background:transparent;border:1px solid #fff;border-radius:3px;color:#fff;padding:10px} /*# sourceMappingURL=main.0388a0eb.css.map*/ ================================================ FILE: docs/static/css/main.2c36170d.chunk.css ================================================ body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.App-header{text-align:center;background-color:#282c34;height:15vh;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:calc(10px + 2vmin);color:#fff} /*# sourceMappingURL=main.2c36170d.chunk.css.map */ ================================================ FILE: docs/static/css/main.4ed805f0.chunk.css ================================================ body{margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body,code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}h1,h2{margin:.3rem}h1{font-size:2rem}h2{font-size:1rem}.App-header{text-align:center;background-color:#282c34;height:15vh;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:calc(10px + 2vmin);color:#fff}.App-ptr{height:100%}.App-commands{background:linear-gradient(35deg,#64b6ac,#3c6b7c 100%)}.commands{display:flex;overflow-x:auto;padding:15px 20px}.command__group{display:flex;align-items:center;margin:10px;font-size:1rem}input[type=number]{background:#fff;border-radius:3px;line-height:15px;background-position:0 15px;background-repeat:no-repeat;background-size:15px 15px;border:2px solid transparent;color:salmon;font-weight:700;padding:5px;margin-right:1rem;width:35px}input[type=checkbox]{height:20px;width:20px;position:relative;margin-right:1rem}input[type=checkbox]:after{content:"\00D7";display:block;background:#fff;background-image:url(https://cdn0.iconfinder.com/data/icons/slim-square-icons-basics/100/basics-21-32.png);pointer-events:none;position:absolute;top:0;left:0;height:15px;width:15px;color:transparent;-webkit-transition:all .25s ease-in-out;transition:all .25s ease-in-out;border-radius:3px;line-height:15px;background-position:0 15px;background-repeat:no-repeat;background-size:15px 15px;border:2px solid transparent}input[type=checkbox]:checked:after{background-color:salmon;background-position:0 0}input[type=checkbox]:hover:after{border-color:salmon}button{background:transparent;border:1px solid #fff;border-radius:3px;padding:10px;color:#fff} /*# sourceMappingURL=main.4ed805f0.chunk.css.map */ ================================================ FILE: docs/static/css/main.609cc2a1.chunk.css ================================================ body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.App{height:100vh}.App-header{text-align:center;background-color:#282c34;height:15vh;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:calc(10px + 2vmin);color:#fff} /*# sourceMappingURL=main.609cc2a1.chunk.css.map */ ================================================ FILE: docs/static/css/main.8aa9810e.chunk.css ================================================ body{margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body,code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}h1,h2{margin:.3rem}h1{font-size:2rem}h2{font-size:1rem}.App-header{text-align:center;background-color:#282c34;height:15vh;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:calc(10px + 2vmin);color:#fff}.App-ptr{height:100%}.App-commands{background:linear-gradient(35deg,#64b6ac,#3c6b7c 100%)}.commands{display:flex;overflow-x:auto;padding:15px 20px}.command__group{display:flex;align-items:center;margin:10px;font-size:1rem}input[type=number]{background:#fff;border-radius:3px;line-height:15px;background-position:0 15px;background-repeat:no-repeat;background-size:15px 15px;border:2px solid transparent;color:salmon;font-weight:700;padding:5px;margin-right:1rem;width:35px}input[type=checkbox]{height:20px;width:20px;position:relative;margin-right:1rem}input[type=checkbox]:after{content:"\00D7";display:block;background:#fff;background-image:url(https://cdn0.iconfinder.com/data/icons/slim-square-icons-basics/100/basics-21-32.png);pointer-events:none;position:absolute;top:0;left:0;height:15px;width:15px;color:transparent;-webkit-transition:all .25s ease-in-out;transition:all .25s ease-in-out;border-radius:3px;line-height:15px;background-position:0 15px;background-repeat:no-repeat;background-size:15px 15px;border:2px solid transparent}input[type=checkbox]:checked:after{background-color:salmon;background-position:0 0}input[type=checkbox]:hover:after{border-color:salmon}button{background:transparent;border:1px solid #fff;border-radius:3px;padding:10px;color:#fff} /*# sourceMappingURL=main.8aa9810e.chunk.css.map */ ================================================ FILE: docs/static/js/2.ce7fa3e7.chunk.js ================================================ (this["webpackJsonpreact-simple-pull-to-refresh-playground"]=this["webpackJsonpreact-simple-pull-to-refresh-playground"]||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(6)},function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,l=!1,i=void 0;try{for(var a,o=e[Symbol.iterator]();!(r=(a=o.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){l=!0,i=u}finally{try{r||null==o.return||o.return()}finally{if(l)throw i}}return n}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(l){return!1}}()?Object.assign:function(e,t){for(var n,o,u=a(e),c=1;cR.length&&R.push(e)}function U(e,t,n){return null==e?0:function e(t,n,r,l){var o=typeof t;"undefined"!==o&&"boolean"!==o||(t=null);var u=!1;if(null===t)u=!0;else switch(o){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case a:u=!0}}if(u)return r(l,t,""===n?"."+D(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;c