├── .github ├── FUNDING.yml └── workflows │ ├── automated.yml │ └── manual.yml ├── .gitignore ├── CHANGELOG.md ├── CONTRIBUTING.md ├── CoCreate.config.js ├── LICENSE ├── README.md ├── demo └── index.html ├── docs └── index.html ├── overlay-scroll-archive ├── CoCreate-overlay-scroll.css └── CoCreate-overlay-scroll.js ├── package.json ├── prettier.config.js ├── release.config.js ├── src ├── index.css └── index.js └── webpack.config.js /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: CoCreate-app 4 | -------------------------------------------------------------------------------- /.github/workflows/automated.yml: -------------------------------------------------------------------------------- 1 | name: Automated Workflow 2 | on: 3 | push: 4 | branches: 5 | - master 6 | jobs: 7 | about: 8 | runs-on: ubuntu-latest 9 | steps: 10 | - name: Checkout 11 | uses: actions/checkout@v3 12 | - name: Setup Node.js 13 | uses: actions/setup-node@v3 14 | with: 15 | node-version: 16 16 | - name: Jaid/action-sync-node-meta 17 | uses: jaid/action-sync-node-meta@v1.4.0 18 | with: 19 | direction: overwrite-github 20 | githubToken: "${{ secrets.GITHUB }}" 21 | release: 22 | runs-on: ubuntu-latest 23 | steps: 24 | - name: Checkout 25 | uses: actions/checkout@v3 26 | - name: Setup Node.js 27 | uses: actions/setup-node@v3 28 | with: 29 | node-version: 14 30 | - name: Semantic Release 31 | uses: cycjimmy/semantic-release-action@v3 32 | id: semantic 33 | with: 34 | extra_plugins: | 35 | @semantic-release/changelog 36 | @semantic-release/git 37 | @semantic-release/github 38 | env: 39 | GITHUB_TOKEN: "${{ secrets.GITHUB }}" 40 | NPM_TOKEN: "${{ secrets.NPM_TOKEN }}" 41 | outputs: 42 | new_release_published: "${{ steps.semantic.outputs.new_release_published }}" 43 | new_release_version: "${{ steps.semantic.outputs.new_release_version }}" 44 | 45 | -------------------------------------------------------------------------------- /.github/workflows/manual.yml: -------------------------------------------------------------------------------- 1 | name: Manual Workflow 2 | on: 3 | workflow_dispatch: 4 | inputs: 5 | invalidations: 6 | description: | 7 | If set to 'true', invalidates previous upload. 8 | default: "true" 9 | required: true 10 | 11 | jobs: 12 | cdn: 13 | runs-on: ubuntu-latest 14 | env: 15 | DRY_RUN: ${{ github.event.inputs.dry_run }} 16 | GITHUB_TOKEN: "${{ secrets.GITHUB }}" 17 | NPM_TOKEN: "${{ secrets.NPM_TOKEN }}" 18 | 19 | steps: 20 | - name: Checkout 21 | uses: actions/checkout@v3 22 | - name: setup nodejs 23 | uses: actions/setup-node@v3 24 | with: 25 | node-version: 16 26 | - name: yarn install 27 | run: > 28 | echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > 29 | .npmrc 30 | 31 | yarn install 32 | - name: yarn build 33 | run: yarn build 34 | - name: upload latest bundle 35 | uses: CoCreate-app/CoCreate-s3@master 36 | with: 37 | aws-key-id: "${{ secrets.AWSACCESSKEYID }}" 38 | aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}" 39 | distributionId: "${{ secrets.DISTRIBUTION_ID }}" 40 | bucket: testcrudbucket 41 | source: ./dist 42 | destination: /overlay-scroll/latest 43 | acl: public-read 44 | invalidations: ${{ github.event.inputs.invalidations }} 45 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # ignore 2 | node_modules 3 | dist 4 | package-lock.json 5 | yarn.lock 6 | pnpm-lock.yaml 7 | 8 | logs 9 | *.log 10 | npm-debug.log* 11 | yarn-debug.log* 12 | yarn-error.log* 13 | lerna-debug.log* 14 | .pnpm-debug.log* 15 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## [1.10.2](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.10.1...v1.10.2) (2025-05-01) 2 | 3 | 4 | ### Bug Fixes 5 | 6 | * update [@cocreate](https://github.com/cocreate) dependencies ([760d993](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/760d9930f165bd212a8c70a329d0db96105ef9a2)) 7 | 8 | ## [1.10.1](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.10.0...v1.10.1) (2025-04-30) 9 | 10 | 11 | ### Bug Fixes 12 | 13 | * added css-loader ([07dfe8d](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/07dfe8d8479904f9112600989d32ca52cb06f3b4)) 14 | * update query attributes ([e48ff8f](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/e48ff8fed83b0d99d6ac581d2a4fa544570f5f11)) 15 | * updated cocreate modules versions ([c7f7b03](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/c7f7b039fa5993fabc5a8671acfc7e7fd24bbd97)) 16 | * webpack.config and devdependencies ([01c0c5c](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/01c0c5ccdef7eecb3a50158799f6beca2d737fe3)) 17 | 18 | # [1.10.0](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.9.3...v1.10.0) (2024-11-04) 19 | 20 | 21 | ### Bug Fixes 22 | 23 | * pretier.config.js and file formating ([b1fa7e1](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/b1fa7e1ceb8bc1cb660d996243c464777191bd3e)) 24 | 25 | 26 | ### Features 27 | 28 | * add prettier.config.js and format files ([2127c18](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/2127c18b918b86acb46c594b1c47292221df40d4)) 29 | * add prettier.config.js and format files ([842afb0](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/842afb070240e3b811b8b80327472ecf5c8ef09c)) 30 | 31 | ## [1.9.3](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.9.2...v1.9.3) (2024-06-12) 32 | 33 | 34 | ### Bug Fixes 35 | 36 | * bump cocreate dependencies ([446f4a6](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/446f4a6badba5a17865dc8aeb66824b70747d533)) 37 | * svg icon class ([1cbdf3c](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/1cbdf3c486d97cc9f1863bcd4e5849afec605748)) 38 | 39 | ## [1.9.2](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.9.1...v1.9.2) (2024-04-29) 40 | 41 | 42 | ### Bug Fixes 43 | 44 | * bump cocreate dependencies ([04655c6](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/04655c6bffd7ec3bf528356c8da1cdbadea12e40)) 45 | 46 | ## [1.9.1](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.9.0...v1.9.1) (2024-02-05) 47 | 48 | 49 | ### Bug Fixes 50 | 51 | * Removed https://cdn.cocreate.app/latest/CoCreate.min.css ([d2e6c51](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/d2e6c512a3395a6c5f40c6228c46c19dd4a156eb)) 52 | 53 | # [1.9.0](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.8.0...v1.9.0) (2023-11-25) 54 | 55 | 56 | ### Features 57 | 58 | * upgrade dependencies for latest features and fixes ([404e1d9](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/404e1d92a70540bdd9f000df56e71f20e999c7d2)) 59 | 60 | # [1.8.0](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.7.0...v1.8.0) (2023-11-25) 61 | 62 | 63 | ### Bug Fixes 64 | 65 | * update nav, edit button and css path ([5669aad](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/5669aadf6187e63b66e8a435d204fa3a93325cb8)) 66 | 67 | 68 | ### Features 69 | 70 | * upgrade dependencies for latest features and fixes ([3fcea7a](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/3fcea7a0758a0d139f2b81acae3538fa78ff171b)) 71 | 72 | # [1.7.0](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.6.5...v1.7.0) (2023-11-19) 73 | 74 | 75 | ### Features 76 | 77 | * update dependecies for th latest features and bug fixes ([3653c19](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/3653c19b1eeaab810a6a680caae4ad128921854e)) 78 | 79 | ## [1.6.5](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.6.4...v1.6.5) (2023-11-12) 80 | 81 | 82 | ### Bug Fixes 83 | 84 | * bump dependencies for latest features ([505732b](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/505732b1a1fffece8bb2f53e83e10976eae7d4df)) 85 | 86 | ## [1.6.4](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.6.3...v1.6.4) (2023-11-09) 87 | 88 | 89 | ### Bug Fixes 90 | 91 | * meta name typo ([47365c8](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/47365c8558acb545d2535b7c4d186893aa7e272d)) 92 | * update host ([ed1917d](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/ed1917d6feb19190dae0b65f207ad30f466e31f6)) 93 | 94 | ## [1.6.3](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.6.2...v1.6.3) (2023-11-03) 95 | 96 | 97 | ### Bug Fixes 98 | 99 | * favicon.ico path ([bf0e0e4](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/bf0e0e447b68be32c139b2a8b10eaf4e5e42971e)) 100 | 101 | ## [1.6.2](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.6.1...v1.6.2) (2023-09-18) 102 | 103 | 104 | ### Bug Fixes 105 | 106 | * Add path and pathname ([d27bd0f](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/d27bd0ff55ec2975f0da4a6a9fc277bff936d9c6)) 107 | * Update CoCreate depndencies to latest versions ([f41c360](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/f41c360941160a7b455b09f623915ff2503b8712)) 108 | 109 | ## [1.6.1](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.6.0...v1.6.1) (2023-08-21) 110 | 111 | 112 | ### Bug Fixes 113 | 114 | * bump dependencies ([abe5ecc](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/abe5ecc7ed99481954c3774e03d0e6224309f8ce)) 115 | 116 | # [1.6.0](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.5.1...v1.6.0) (2023-08-21) 117 | 118 | 119 | ### Features 120 | 121 | * Update cocreate dependencies for the latest features and bug fixes ([ba82d44](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/ba82d448b621ec309410e2bcd89b84292f743b7a)) 122 | 123 | ## [1.5.1](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.5.0...v1.5.1) (2023-08-21) 124 | 125 | 126 | ### Bug Fixes 127 | 128 | * /dist/CoCreate.js updated to https://CoCreate.app/dist/CoCreate.js ([f4f48c4](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/f4f48c48708a7fa4775ad1b2cf4f5b218774c943)) 129 | * replace cdn with /dist ([1d52862](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/1d528621d37c9d1d0ff87e5882138236cbb948a1)) 130 | * update file uploader ([0bf2e18](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/0bf2e18061da1f324a9efb2ee17f60d7a0f18fa6)) 131 | 132 | # [1.5.0](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.4.0...v1.5.0) (2023-08-17) 133 | 134 | 135 | ### Features 136 | 137 | * bump cocreate dependencies for the latest updates and features ([274c84d](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/274c84d1b2806a2a9ee2d2e631f8ff47051422a5)) 138 | 139 | # [1.4.0](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.27...v1.4.0) (2023-08-16) 140 | 141 | 142 | ### Bug Fixes 143 | 144 | * crud attributes renamed ([aa813d7](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/aa813d7c574cbf72ab7e41ddbff4e13bdf6ab380)) 145 | * replace -target -selector ([9af60d3](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/9af60d305cba344eff5c7b309b176451f755607a)) 146 | * webpack.config and package.json make use of mode=production instead of process.env ([e424a29](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/e424a2982aba1af90bba4e020b1e0fb50efe04e7)) 147 | 148 | 149 | ### Features 150 | 151 | * name attribute and variable renamed to key ([36bffa1](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/36bffa1a15c938a24b1fa1959ca93049dc292e06)) 152 | 153 | ## [1.3.27](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.26...v1.3.27) (2023-06-14) 154 | 155 | 156 | ### Bug Fixes 157 | 158 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([24b4d74](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/24b4d743af29d426bd41d8ad451e18f6e9bccd8b)) 159 | 160 | ## [1.3.26](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.25...v1.3.26) (2023-06-11) 161 | 162 | 163 | ### Bug Fixes 164 | 165 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([d7f843a](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/d7f843a7fb49b74d1728fac6cc1f0e1b74a2d427)) 166 | 167 | ## [1.3.25](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.24...v1.3.25) (2023-06-11) 168 | 169 | 170 | ### Bug Fixes 171 | 172 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([454d865](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/454d865dcd456b45d1af975ba54be51741b5d733)) 173 | 174 | ## [1.3.24](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.23...v1.3.24) (2023-06-11) 175 | 176 | 177 | ### Bug Fixes 178 | 179 | * testing workflow ([de2e1dd](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/de2e1dd365abca6bae689b809674d0d0f2167922)) 180 | 181 | ## [1.3.23](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.22...v1.3.23) (2023-06-11) 182 | 183 | 184 | ### Bug Fixes 185 | 186 | * testing workflow ([1816301](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/181630179a104a41985bc47d2e885da7fe4a8558)) 187 | 188 | ## [1.3.22](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.21...v1.3.22) (2023-06-11) 189 | 190 | 191 | ### Bug Fixes 192 | 193 | * testing workflow ([ed005ec](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/ed005ece8bc0c47fbb2e410bed5fe9b1cb36bb32)) 194 | * testing workflow ([cd1cb72](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/cd1cb72bea2557778a42a62a94c7dec5ada8fb5a)) 195 | 196 | ## [1.3.21](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.20...v1.3.21) (2023-06-11) 197 | 198 | 199 | ### Bug Fixes 200 | 201 | * testing workflow ([48c19c7](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/48c19c7336684596a7861f639f08bbb72fc2c2c1)) 202 | 203 | ## [1.3.20](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.19...v1.3.20) (2023-06-11) 204 | 205 | 206 | ### Bug Fixes 207 | 208 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([8f8ccae](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/8f8ccae5226db6784a364dfcd1fbde2436df91b7)) 209 | 210 | ## [1.3.19](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.18...v1.3.19) (2023-06-11) 211 | 212 | 213 | ### Bug Fixes 214 | 215 | * postintall error ([3bf2999](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/3bf2999e300c559808c9044ee2e37e3c38c94c47)) 216 | 217 | ## [1.3.18](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.17...v1.3.18) (2023-06-11) 218 | 219 | 220 | ### Bug Fixes 221 | 222 | * @cocreate/cli moved to dependencies ([91aad76](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/91aad76227ac1f32e9df622cfc743de84aca1f95)) 223 | 224 | ## [1.3.17](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.16...v1.3.17) (2023-06-11) 225 | 226 | 227 | ### Bug Fixes 228 | 229 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([0332d80](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/0332d80e62c2911dd10d23166becbbd90a026361)) 230 | 231 | ## [1.3.16](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.15...v1.3.16) (2023-06-11) 232 | 233 | 234 | ### Bug Fixes 235 | 236 | * renamed hosts to host. the value can be a string or an array of strings ([53e9113](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/53e9113e9aa23e061b181c307f977c727b21d797)) 237 | 238 | ## [1.3.15](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.14...v1.3.15) (2023-06-10) 239 | 240 | 241 | ### Bug Fixes 242 | 243 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([24b3cb5](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/24b3cb571e51381d53ecd135afd8263cf0a9f970)) 244 | 245 | ## [1.3.14](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.13...v1.3.14) (2023-06-04) 246 | 247 | 248 | ### Bug Fixes 249 | 250 | * Refactor CoCreate.config.js to remove hard-coded credentials ([54b94a6](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/54b94a6aa7ec9b07da2a47eb4e22fadc65d4da4b)) 251 | 252 | ## [1.3.13](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.12...v1.3.13) (2023-06-04) 253 | 254 | 255 | ### Bug Fixes 256 | 257 | * replaced secert GITHUB_TOKEN with GITHUB ([2171d8a](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/2171d8a874d4ea3065d3d1572c4a8d500455e78e)) 258 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([34b5d7f](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/34b5d7f53e4378347caecf8493f79bc0b85211c9)) 259 | 260 | ## [1.3.12](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.11...v1.3.12) (2023-06-04) 261 | 262 | 263 | ### Bug Fixes 264 | 265 | * **semantic-release:** worklow error solved by running node version 14 ([f8e72a8](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/f8e72a89554d36e344f69a8b85c6969b5e53c26e)) 266 | 267 | ## [1.3.11](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.10...v1.3.11) (2023-06-02) 268 | 269 | 270 | ### Bug Fixes 271 | 272 | * format demo html ([7123d07](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/7123d07ba93e61a94da87c1dccf3d1d521c4ffa1)) 273 | 274 | ## [1.3.10](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.9...v1.3.10) (2023-05-21) 275 | 276 | 277 | ### Bug Fixes 278 | 279 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([13df78b](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/13df78bec73907d376bb00d028e23a90c6563dcb)) 280 | 281 | ## [1.3.9](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.8...v1.3.9) (2023-05-19) 282 | 283 | 284 | ### Bug Fixes 285 | 286 | * update packages to latest version. This commit updates various packages in the dependencies section of the package.json file to their latest published versions, thereby fixing multiple bugs and improving overall performance. ([435f740](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/435f740eab18ff2887e5354cfa5223da54941a57)) 287 | 288 | ## [1.3.8](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.7...v1.3.8) (2023-05-10) 289 | 290 | 291 | ### Bug Fixes 292 | 293 | * apikey renamed to key ([6e35ebf](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/6e35ebfc2a195cb09f3c4e9275158df8c2e7270b)) 294 | 295 | ## [1.3.7](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.6...v1.3.7) (2023-05-06) 296 | 297 | 298 | ### Bug Fixes 299 | 300 | * bump [@cocreate](https://github.com/cocreate) dependencies ([87f43bc](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/87f43bc2ca48dba469886e55323ac1c3ac636f64)) 301 | 302 | ## [1.3.6](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.5...v1.3.6) (2023-05-01) 303 | 304 | 305 | ### Bug Fixes 306 | 307 | * update manifest.json to manifest.webmanifest ([236a4bb](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/236a4bb22811bbf724733e5ac86612843623f35d)) 308 | 309 | ## [1.3.5](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.4...v1.3.5) (2023-05-01) 310 | 311 | 312 | ### Bug Fixes 313 | 314 | * replace fontawesome with svg ([9b79432](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/9b79432953d842593c8e23722dbdce3e76402209)) 315 | 316 | ## [1.3.4](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.3...v1.3.4) (2023-04-30) 317 | 318 | 319 | ### Bug Fixes 320 | 321 | * fullscreen target updated to fullscreen fullscreen-target ([f22bef7](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/f22bef705d3de40021f288fc9b822624cf0e2cd6)) 322 | * package-lock.json and pnpm-lock.yaml added to .gitignore ([7e036a5](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/7e036a5552c8bb4bc05cc8bd18ae4d2f960521eb)) 323 | * removed toogle fullscreen icons. now using css content ([c3c84d5](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/c3c84d5bbefb8f81bb39d0db81d02cd4767787b1)) 324 | 325 | ## [1.3.3](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.2...v1.3.3) (2023-04-24) 326 | 327 | 328 | ### Bug Fixes 329 | 330 | * updated worrkflows to v3 and node version 16 ([9dc57e4](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/9dc57e4c71474f16605e850d459a5f268a1ce092)) 331 | * workflow node version updated 16 ([c97cdad](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/c97cdad51f497be3b95eb66e393c6b8cd2ef6ad8)) 332 | 333 | ## [1.3.2](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.1...v1.3.2) (2023-04-24) 334 | 335 | 336 | ### Bug Fixes 337 | 338 | * bump [@cocreate](https://github.com/cocreate) dependencies ([9072bc2](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/9072bc2c908601861e9d00c9f800b02205263cf9)) 339 | 340 | ## [1.3.1](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.3.0...v1.3.1) (2023-04-24) 341 | 342 | 343 | ### Bug Fixes 344 | 345 | * removed uglifyjs-webpack-plugin ([f8acc4c](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/f8acc4cbad11b87544cfb4505a3fb8dadc494b71)) 346 | 347 | # [1.3.0](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.2.6...v1.3.0) (2023-04-24) 348 | 349 | 350 | ### Features 351 | 352 | * added pwa manifest ([9d67f1c](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/9d67f1c8e1bfa9c57f07c8e282e868f7c3864be8)) 353 | 354 | ## [1.2.6](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.2.5...v1.2.6) (2023-04-11) 355 | 356 | 357 | ### Bug Fixes 358 | 359 | * bump dependencies ([0766e71](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/0766e717f539117466fe50b6c46a49b90c9689bc)) 360 | 361 | ## [1.2.5](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.2.4...v1.2.5) (2023-04-11) 362 | 363 | 364 | ### Bug Fixes 365 | 366 | * bump [@cocreate](https://github.com/cocreate) dependencies ([d00917e](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/d00917e64bbcf37ee2c9e75758d5d46a7d771f51)) 367 | 368 | ## [1.2.4](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.2.3...v1.2.4) (2023-04-11) 369 | 370 | 371 | ### Bug Fixes 372 | 373 | * renamed domains to hosts ([3d58183](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/3d58183fc15c366aa4b2c01292cdd611a4a837ef)) 374 | 375 | ## [1.2.3](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.2.2...v1.2.3) (2023-03-30) 376 | 377 | 378 | ### Bug Fixes 379 | 380 | * bump [@cocreate](https://github.com/cocreate) dependencies' ([a430f52](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/a430f5291fdd24b92cee79b6d81cc215874be2bf)) 381 | 382 | ## [1.2.2](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.2.1...v1.2.2) (2023-03-16) 383 | 384 | 385 | ### Bug Fixes 386 | 387 | * bump dependencies' ([83c4d69](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/83c4d694f9df3129e1e1b7613bdf5b44678770a7)) 388 | 389 | ## [1.2.1](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.2.0...v1.2.1) (2023-03-16) 390 | 391 | 392 | ### Bug Fixes 393 | 394 | * bump dependencies' ([6a55816](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/6a55816a35d0d2962a427dbd27e312368d8e4f71)) 395 | 396 | # [1.2.0](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.116...v1.2.0) (2023-03-16) 397 | 398 | 399 | ### Features 400 | 401 | * replaced get-value and set-value with a super charged version of CoCreate-events ([8133cc1](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/8133cc1586d76458d7fd5ad51edfedc92f0ed8fb)) 402 | 403 | ## [1.1.116](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.115...v1.1.116) (2023-02-01) 404 | 405 | 406 | ### Bug Fixes 407 | 408 | * bump dependencies ([c948cf7](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/c948cf72544ecefba16f74cf512b0b982fa6e358)) 409 | 410 | ## [1.1.115](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.114...v1.1.115) (2023-01-31) 411 | 412 | 413 | ### Bug Fixes 414 | 415 | * bump dependencies ([ce4bbad](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/ce4bbad4b9b4aafce801c144b75b61e88c086716)) 416 | 417 | ## [1.1.114](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.113...v1.1.114) (2023-01-30) 418 | 419 | 420 | ### Bug Fixes 421 | 422 | * bump dependencies ([a11c65b](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/a11c65b0bbd47adb365e33f38a8fc9c75c337540)) 423 | 424 | ## [1.1.113](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.112...v1.1.113) (2023-01-29) 425 | 426 | 427 | ### Bug Fixes 428 | 429 | * bump dependencies ([f8c7828](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/f8c7828e703a6b75c9ec90b00401710ccff3337e)) 430 | 431 | ## [1.1.112](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.111...v1.1.112) (2023-01-27) 432 | 433 | 434 | ### Bug Fixes 435 | 436 | * bump dependencies ([868ddd1](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/868ddd1ee3188ad076e74364842f94d685bc4a15)) 437 | 438 | ## [1.1.111](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.110...v1.1.111) (2023-01-13) 439 | 440 | 441 | ### Bug Fixes 442 | 443 | * bump dependencies ([888c3dc](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/888c3dcce7e67970fa52e481af87e8f3aff6c55d)) 444 | 445 | ## [1.1.110](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.109...v1.1.110) (2023-01-10) 446 | 447 | 448 | ### Bug Fixes 449 | 450 | * bump dependencies ([d9b8a54](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/d9b8a54769b735739aff58fef38446ae99be5ffb)) 451 | 452 | ## [1.1.109](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.108...v1.1.109) (2023-01-09) 453 | 454 | 455 | ### Bug Fixes 456 | 457 | * bump dependnecies ([b7481ab](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/b7481ab3ea6b00fcddcc4bdee1cde1aa4743ceb3)) 458 | 459 | ## [1.1.108](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.107...v1.1.108) (2023-01-06) 460 | 461 | 462 | ### Bug Fixes 463 | 464 | * bump dependencies, worklow [@v3](https://github.com/v3) ([1bf9645](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/1bf964560355b4e40417387007bc6691491be5e5)) 465 | * edit in github btn styles ([89d9f9e](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/89d9f9eda262fadd4f5cecf6808d2ea245c4050c)) 466 | 467 | ## [1.1.107](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.106...v1.1.107) (2023-01-05) 468 | 469 | 470 | ### Bug Fixes 471 | 472 | * bump cdn to 1.39.4 ([84f00b7](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/84f00b741198f4aaaa57c4c05053e17eb4bcf7cb)) 473 | * bump dependencies ([ad2cd8c](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/ad2cd8c22c5daac30cba605ae1fd6279b03a4cb0)) 474 | 475 | ## [1.1.106](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.105...v1.1.106) (2023-01-01) 476 | 477 | 478 | ### Bug Fixes 479 | 480 | * docs sanbox overflow ([b7e04af](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/b7e04afe35a6f9ac0f34f5cd18bdd9ade9a5dc3e)) 481 | 482 | ## [1.1.105](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.104...v1.1.105) (2022-12-31) 483 | 484 | 485 | ### Bug Fixes 486 | 487 | * bump dependencies ([7daa55f](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/7daa55f202f1f938a625a799e213c5db73403c77)) 488 | 489 | ## [1.1.104](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.103...v1.1.104) (2022-12-30) 490 | 491 | 492 | ### Bug Fixes 493 | 494 | * update config sources to use template braces with entry on src ([8b82ffa](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/8b82ffac33ccab027e3b7fe42667d440c2557a90)) 495 | 496 | ## [1.1.103](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.102...v1.1.103) (2022-12-29) 497 | 498 | 499 | ### Bug Fixes 500 | 501 | * bump dependencies ([8e25c26](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/8e25c26ff03a08861f8ce03de226758a866ee983)) 502 | 503 | ## [1.1.102](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.101...v1.1.102) (2022-12-27) 504 | 505 | 506 | ### Bug Fixes 507 | 508 | * bump dependencies ([654a68e](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/654a68ed3ea0ec1b41fc7c52a644327660e47863)) 509 | 510 | ## [1.1.101](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.100...v1.1.101) (2022-12-25) 511 | 512 | 513 | ### Bug Fixes 514 | 515 | * bump dependencies ([cb72904](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/cb72904ba5bd5920710cb570408278991dfbb730)) 516 | 517 | ## [1.1.100](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.99...v1.1.100) (2022-12-23) 518 | 519 | 520 | ### Bug Fixes 521 | 522 | * bump dependnecies ([9c76135](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/9c7613536d8bfaa9ad8ac3ed26be782e2f5215b2)) 523 | 524 | ## [1.1.99](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.98...v1.1.99) (2022-12-22) 525 | 526 | 527 | ### Bug Fixes 528 | 529 | * bump dependencies ([5c12826](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/5c12826e7c3f4c0c6f9525c999b95639e3b2d9eb)) 530 | * update cdn ([e9d9995](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/e9d99959ab255b62a7d3ccd0f1e45530672350b2)) 531 | 532 | ## [1.1.98](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.97...v1.1.98) (2022-12-22) 533 | 534 | 535 | ### Bug Fixes 536 | 537 | * update demos and bump dependencies ([937f58f](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/937f58fadc858e5357d9a0b678b2509c3bb5a4b0)) 538 | 539 | ## [1.1.97](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.96...v1.1.97) (2022-12-21) 540 | 541 | 542 | ### Bug Fixes 543 | 544 | * bump dependencies ([a2085b8](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/a2085b8232af91c2eea1ec5022de29e23c236112)) 545 | 546 | ## [1.1.96](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.95...v1.1.96) (2022-12-20) 547 | 548 | 549 | ### Bug Fixes 550 | 551 | * bump dependencies ([b51c766](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/b51c76699f2a9c911b3d687167f324fb7a12d1f7)) 552 | 553 | ## [1.1.95](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.94...v1.1.95) (2022-12-15) 554 | 555 | 556 | ### Bug Fixes 557 | 558 | * add missing dev dependency style-loader ([16da946](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/16da9463c74724ba884869e1c57c4bd4690d0cdd)) 559 | 560 | ## [1.1.94](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.93...v1.1.94) (2022-12-13) 561 | 562 | 563 | ### Bug Fixes 564 | 565 | * removed un used devDependencies ([f5c16c4](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/f5c16c4bb11710e5f68d3df086a5bc34cdd2c273)) 566 | 567 | ## [1.1.93](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.92...v1.1.93) (2022-12-13) 568 | 569 | 570 | ### Bug Fixes 571 | 572 | * bump dependencies ([1ddd1d1](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/1ddd1d143f6b0462759248d23fa326fe43b8ed8d)) 573 | 574 | ## [1.1.92](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.91...v1.1.92) (2022-12-12) 575 | 576 | 577 | ### Bug Fixes 578 | 579 | * bump dependencies ([f1c42cf](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/f1c42cf2984171bea6c40f19239dd8cce70e9f85)) 580 | 581 | ## [1.1.91](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.90...v1.1.91) (2022-12-11) 582 | 583 | 584 | ### Bug Fixes 585 | 586 | * bump dependencies ([efed0ee](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/efed0ee0141a00b211a554350a8cb9f9d2ccbde5)) 587 | 588 | ## [1.1.90](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.89...v1.1.90) (2022-12-09) 589 | 590 | 591 | ### Bug Fixes 592 | 593 | * bump dependencies ([955ea86](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/955ea86a35808b5b44be32f9ce186f9756be7d6f)) 594 | 595 | ## [1.1.89](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.88...v1.1.89) (2022-12-08) 596 | 597 | 598 | ### Bug Fixes 599 | 600 | * bump dependencies ([eec0608](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/eec0608ad2f4574b97b3949dca2a27c749ddc193)) 601 | 602 | ## [1.1.88](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.87...v1.1.88) (2022-12-07) 603 | 604 | 605 | ### Bug Fixes 606 | 607 | * bump dependencies ([97da3b8](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/97da3b8bd38d1194aca8748259fb1d6fdb96723e)) 608 | 609 | ## [1.1.87](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.86...v1.1.87) (2022-12-04) 610 | 611 | 612 | ### Bug Fixes 613 | 614 | * bump dependencies ([b0c84e2](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/b0c84e27f97780638ced9917163646e500216128)) 615 | 616 | ## [1.1.86](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.85...v1.1.86) (2022-12-02) 617 | 618 | 619 | ### Bug Fixes 620 | 621 | * bump dependencies ([6e445d9](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/6e445d969e983ea6d9e8e6cad40b09d9976ba295)) 622 | * docs ([abeb8b7](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/abeb8b7f2cff9982c47222b4a127c048d68e46da)) 623 | 624 | ## [1.1.85](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.84...v1.1.85) (2022-11-28) 625 | 626 | 627 | ### Bug Fixes 628 | 629 | * bump dependencies ([ef25574](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/ef25574c5888b64d360a970b58eb183895b85678)) 630 | 631 | ## [1.1.84](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.83...v1.1.84) (2022-11-28) 632 | 633 | 634 | ### Bug Fixes 635 | 636 | * bump dependencies ([befee38](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/befee38f73711fd73bd71cb740f4e3565bc084ed)) 637 | 638 | ## [1.1.83](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.82...v1.1.83) (2022-11-27) 639 | 640 | 641 | ### Bug Fixes 642 | 643 | * bump dependencies ([2b7714e](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/2b7714eaa9e4ae5335febd69f11d66f794b739b8)) 644 | 645 | ## [1.1.82](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.81...v1.1.82) (2022-11-26) 646 | 647 | 648 | ### Bug Fixes 649 | 650 | * bump dependencies ([3a0d03a](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/3a0d03adbfc9efab6716b84545790447367ed0b7)) 651 | * toggle-order renamed to filter-sort-toggle ([92b9547](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/92b9547a11929e5badc348f8b8442fe15e1cc9d2)) 652 | 653 | ## [1.1.81](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.80...v1.1.81) (2022-11-25) 654 | 655 | 656 | ### Bug Fixes 657 | 658 | * bump dependencies ([ea7c4f0](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/ea7c4f0878ed7ff358363bab6a350a01e0a5a7d6)) 659 | 660 | ## [1.1.80](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.79...v1.1.80) (2022-11-24) 661 | 662 | 663 | ### Bug Fixes 664 | 665 | * bump depenedencies ([133a7d5](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/133a7d5c4254f926c52e0f43a86ad69c04ca0e09)) 666 | 667 | ## [1.1.79](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.78...v1.1.79) (2022-11-23) 668 | 669 | 670 | ### Bug Fixes 671 | 672 | * bumped [@cocreate](https://github.com/cocreate) dependencies ([7ce857a](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/7ce857a9ca87b3dd544ec58560c5ddd1a65bf185)) 673 | 674 | ## [1.1.78](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.77...v1.1.78) (2022-11-22) 675 | 676 | 677 | ### Bug Fixes 678 | 679 | * apply src: {{source}} to CoCreate.config ([c17b2a8](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/c17b2a876d598ab448329d1cc4feb3ca59418782)) 680 | * workflow docs ([cb5a16b](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/cb5a16be76ab22f8bfcdd902e67878a109381ec9)) 681 | 682 | ## [1.1.78](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.77...v1.1.78) (2022-11-22) 683 | 684 | 685 | ### Bug Fixes 686 | 687 | * apply src: {{source}} to CoCreate.config ([c17b2a8](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/c17b2a876d598ab448329d1cc4feb3ca59418782)) 688 | 689 | ## [1.1.77](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.76...v1.1.77) (2022-11-21) 690 | 691 | 692 | ### Bug Fixes 693 | 694 | * @cocreate/docs bug fix ([f85865c](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/f85865c4fd7dc8f8eb2e7db7abbcefb73fa17d3a)) 695 | 696 | ## [1.1.76](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.75...v1.1.76) (2022-11-21) 697 | 698 | 699 | ### Bug Fixes 700 | 701 | * replaced document_id with document._id ([3945476](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/3945476903a41fc33f7fd2d0055907b48bb972bb)) 702 | 703 | ## [1.1.75](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.74...v1.1.75) (2022-11-21) 704 | 705 | 706 | ### Bug Fixes 707 | 708 | * bump [@cocreate](https://github.com/cocreate) dependencies ([7bd7621](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/7bd7621532fe7df4c4df5e1a60d32a5f628881ee)) 709 | 710 | ## [1.1.74](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.73...v1.1.74) (2022-11-21) 711 | 712 | 713 | ### Bug Fixes 714 | 715 | * bump d@cocreate ependencies ([f65fb89](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/f65fb895ecb9e27b2fab532fd273d9464762fe56)) 716 | 717 | ## [1.1.73](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.72...v1.1.73) (2022-10-02) 718 | 719 | 720 | ### Bug Fixes 721 | 722 | * minor bug fixes ([a092bd0](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/a092bd031506527bb6de9d1e23b945cb3988d42e)) 723 | 724 | ## [1.1.72](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.71...v1.1.72) (2022-10-02) 725 | 726 | 727 | ### Bug Fixes 728 | 729 | * bump @cocreate/hosting and @cocreate/socket-client ([175d9a8](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/175d9a81812f5e72aff55accef59789fcf45fc06)) 730 | 731 | ## [1.1.71](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.70...v1.1.71) (2022-10-01) 732 | 733 | 734 | ### Bug Fixes 735 | 736 | * bump dependencies ([2a6fdfe](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/2a6fdfe34a4c84fd2cccdf4ea88d1d2e6534bc5b)) 737 | 738 | ## [1.1.70](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.69...v1.1.70) (2022-09-30) 739 | 740 | 741 | ### Bug Fixes 742 | 743 | * bump [@cocreate](https://github.com/cocreate) dependencies ([7add814](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/7add81421d3c87f0ec5db76a8bf653216ca24c4d)) 744 | 745 | ## [1.1.69](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.68...v1.1.69) (2022-09-30) 746 | 747 | 748 | ### Bug Fixes 749 | 750 | * bump [@cocreate](https://github.com/cocreate) dependencies ([e74e595](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/e74e595b0c7ac97273a5292c9524f9080761b91e)) 751 | 752 | ## [1.1.68](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.67...v1.1.68) (2022-09-30) 753 | 754 | 755 | ### Bug Fixes 756 | 757 | * bump [@cocreate](https://github.com/cocreate) dependencies ([39dee75](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/39dee756a6762550005fa4126c02f27b087c6f01)) 758 | 759 | ## [1.1.67](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.66...v1.1.67) (2022-09-30) 760 | 761 | 762 | ### Bug Fixes 763 | 764 | * bump dependencies ([1dcfa12](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/1dcfa12eb902e5b0a39609379966a7fc603fcfd3)) 765 | 766 | ## [1.1.66](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.65...v1.1.66) (2022-09-29) 767 | 768 | 769 | ### Bug Fixes 770 | 771 | * config renameed to CoCreateConfig ([38b3807](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/38b380764aa1df2df79c81c760c0de4a44e27f45)) 772 | 773 | ## [1.1.65](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.64...v1.1.65) (2022-09-01) 774 | 775 | 776 | ### Bug Fixes 777 | 778 | * bump all of [@cocreate](https://github.com/cocreate) dependencies ([7183dad](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/7183dada54d7595c67de45f191f6d405ee8933eb)) 779 | 780 | ## [1.1.64](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.63...v1.1.64) (2022-06-18) 781 | 782 | 783 | ### Bug Fixes 784 | 785 | * bump dependencies ([3d850cf](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/3d850cfd12115cbb478afa6a92827d6f2baadea5)) 786 | 787 | ## [1.1.63](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.62...v1.1.63) (2022-06-12) 788 | 789 | 790 | ### Bug Fixes 791 | 792 | * update dependencies ([ad2d9ea](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/ad2d9ea6fb224ce3a1d753465549e66ed4648cf8)) 793 | * update docs css document_id ([7c06e7f](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/7c06e7fa96fcfdb6b91c7f8cfd0e45ec529b71f4)) 794 | 795 | ## [1.1.62](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.61...v1.1.62) (2022-05-23) 796 | 797 | 798 | ### Bug Fixes 799 | 800 | * bump all dependencies ([75d86e3](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/75d86e3b4f0e716c85045204f6f568616cbbfc7e)) 801 | 802 | ## [1.1.61](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.60...v1.1.61) (2022-05-19) 803 | 804 | 805 | ### Bug Fixes 806 | 807 | * update document_id on link index.css ([a02bfde](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/a02bfdeb5caad377e641d009587087ab5462d9fe)) 808 | 809 | ## [1.1.60](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.59...v1.1.60) (2022-05-06) 810 | 811 | 812 | ### Bug Fixes 813 | 814 | * update config organization_Id to organization_id ([667d23a](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/667d23a57dc50ba49216ceca8542916bf75b7c39)) 815 | 816 | ## [1.1.59](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.58...v1.1.59) (2022-02-24) 817 | 818 | 819 | ### Bug Fixes 820 | 821 | * CoCreate.config replace CoCreate.app with * ([4f06622](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/4f06622a4129a576afd515f42d7c318403539872)) 822 | 823 | ## [1.1.58](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.57...v1.1.58) (2022-02-16) 824 | 825 | 826 | ### Bug Fixes 827 | 828 | * update dependencies ([fd32e9c](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/fd32e9c68f3e721465171fc1f1de0c3d2f4c7fbb)) 829 | 830 | ## [1.1.57](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.56...v1.1.57) (2022-02-10) 831 | 832 | 833 | ### Bug Fixes 834 | 835 | * bump dependencies ([6804267](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/6804267b0aad17101bfd3e0188b4f1da07c20eb8)) 836 | 837 | ## [1.1.56](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.55...v1.1.56) (2022-02-07) 838 | 839 | 840 | ### Bug Fixes 841 | 842 | * bump dependency versions ([8e26605](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/8e2660522c359fad5af62c6d00be5b2804b6faf7)) 843 | 844 | ## [1.1.55](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.54...v1.1.55) (2022-02-03) 845 | 846 | 847 | ### Bug Fixes 848 | 849 | * replaced show and hide class hidden with attribute hidden ([9cfc299](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/9cfc2995d7db36e60f8541f6a128f2a5fbc16237)) 850 | 851 | ## [1.1.54](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.53...v1.1.54) (2022-02-01) 852 | 853 | 854 | ### Bug Fixes 855 | 856 | * update dependency versions ([0cac2db](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/0cac2db6370db291714ae9ce27fb3dced112e534)) 857 | 858 | ## [1.1.53](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.52...v1.1.53) (2022-01-01) 859 | 860 | 861 | ### Bug Fixes 862 | 863 | * get-value attribute value now supports a selector added # to all values currently in get-value attributes ([428f3ce](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/428f3ced7fcf8cd99dfdf854a566e67d870733ea)) 864 | 865 | ## [1.1.52](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.51...v1.1.52) (2021-12-15) 866 | 867 | 868 | ### Bug Fixes 869 | 870 | * update dependencies ([544f052](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/544f052f450667f2f266318574edad5cb7ea2ecf)) 871 | 872 | ## [1.1.51](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.50...v1.1.51) (2021-12-14) 873 | 874 | 875 | ### Bug Fixes 876 | 877 | * update dependencies ([40f4d5d](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/40f4d5d6505c00297d94a28ef3f006a61d08de45)) 878 | 879 | ## [1.1.50](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.49...v1.1.50) (2021-11-27) 880 | 881 | 882 | ### Bug Fixes 883 | 884 | * update dependencies ([3a9b9fa](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/3a9b9fa1e4aefb22d3aee531c925b5ed638aee33)) 885 | 886 | ## [1.1.49](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.48...v1.1.49) (2021-11-27) 887 | 888 | 889 | ### Bug Fixes 890 | 891 | * update dependencies ([151c90d](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/151c90d8b746f3bd43fb87bfd235d637646bcfbe)) 892 | 893 | ## [1.1.48](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.47...v1.1.48) (2021-11-27) 894 | 895 | 896 | ### Bug Fixes 897 | 898 | * update docs api and cocreateJS script ([bcac455](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/bcac4554be37629bba972ac917cae4a84ce8e6e5)) 899 | 900 | ## [1.1.47](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.46...v1.1.47) (2021-11-26) 901 | 902 | 903 | ### Bug Fixes 904 | 905 | * docs sidenav width ([65ac0a2](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/65ac0a21b245505098ceb16aa90387c764b855b6)) 906 | 907 | ## [1.1.46](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.45...v1.1.46) (2021-11-26) 908 | 909 | 910 | ### Bug Fixes 911 | 912 | * update dependencies ([c00458d](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/c00458d582135b2a8bbe5cba772a5b39e1478c18)) 913 | 914 | ## [1.1.45](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.44...v1.1.45) (2021-11-23) 915 | 916 | 917 | ### Bug Fixes 918 | 919 | * update dependencies ([dd4b261](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/dd4b261c479b3e7d1e7c1d4ea59987fd96fe6185)) 920 | 921 | ## [1.1.44](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.43...v1.1.44) (2021-11-20) 922 | 923 | 924 | ### Bug Fixes 925 | 926 | * update dependencies ([f15b391](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/f15b39110cc10a5bc3b38cb7d108dbf12bcb4988)) 927 | 928 | ## [1.1.43](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.42...v1.1.43) (2021-11-19) 929 | 930 | 931 | ### Bug Fixes 932 | 933 | * update dependencies ([b22d74c](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/b22d74c44cfb331f851d2aa453b20148ecf03fb8)) 934 | 935 | ## [1.1.42](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.41...v1.1.42) (2021-11-18) 936 | 937 | 938 | ### Bug Fixes 939 | 940 | * update dependencies ([b7501c9](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/b7501c934d1f73a74be0e67b82b572e7d9db2c78)) 941 | 942 | ## [1.1.41](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.40...v1.1.41) (2021-11-16) 943 | 944 | 945 | ### Bug Fixes 946 | 947 | * update dependencies ([bdd0b47](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/bdd0b4704e092fd20d86255860bbd9156ee38dbd)) 948 | 949 | ## [1.1.40](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.39...v1.1.40) (2021-11-15) 950 | 951 | 952 | ### Bug Fixes 953 | 954 | * update dependencies ([c57fe76](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/c57fe76a167660cd3d75fe17c2dbc86e4a74dd53)) 955 | 956 | ## [1.1.39](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.38...v1.1.39) (2021-11-11) 957 | 958 | 959 | ### Bug Fixes 960 | 961 | * update readme ([0dd1803](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/0dd180375d5f8bd9100dbeb1a15d9994c976ac79)) 962 | 963 | ## [1.1.38](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.37...v1.1.38) (2021-11-07) 964 | 965 | 966 | ### Bug Fixes 967 | 968 | * add init() directly above export default to fix bug in firefox ([716a94a](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/716a94ab69bf509172093886eb843569e7969413)) 969 | 970 | ## [1.1.37](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.36...v1.1.37) (2021-11-06) 971 | 972 | 973 | ### Bug Fixes 974 | 975 | * update dependencies ([1b3d438](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/1b3d438c686e9e6feffff049aadcdc6966334d9c)) 976 | 977 | ## [1.1.36](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.35...v1.1.36) (2021-11-04) 978 | 979 | 980 | ### Bug Fixes 981 | 982 | * update dependencies ([c72f51d](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/c72f51d1907c776455f67c8b49e82b7828b5e1c7)) 983 | 984 | ## [1.1.35](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.34...v1.1.35) (2021-11-04) 985 | 986 | 987 | ### Bug Fixes 988 | 989 | * update packages ([a927ece](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/a927ecee613bd96d6266d8df91e1bfab349ce911)) 990 | 991 | ## [1.1.34](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.33...v1.1.34) (2021-11-01) 992 | 993 | 994 | ### Bug Fixes 995 | 996 | * update package dependencies ([75c17a6](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/75c17a66a04a3f52a0174f2d0b55e11e6a84426c)) 997 | 998 | ## [1.1.33](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.32...v1.1.33) (2021-10-29) 999 | 1000 | 1001 | ### Bug Fixes 1002 | 1003 | * update dependencies ([9619316](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/9619316957b42abc5748a9445640fc2b21196cc3)) 1004 | 1005 | ## [1.1.32](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.31...v1.1.32) (2021-10-17) 1006 | 1007 | 1008 | ### Bug Fixes 1009 | 1010 | * update dependendies ([9d91b54](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/9d91b54d6f17972c7da71e7208e095984d3cdcb1)) 1011 | 1012 | ## [1.1.31](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.30...v1.1.31) (2021-10-16) 1013 | 1014 | 1015 | ### Bug Fixes 1016 | 1017 | * update socket package to fix bug in docs ([e3d9866](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/e3d9866574b205eea2d129fb12f77d5b88201357)) 1018 | 1019 | ## [1.1.30](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.29...v1.1.30) (2021-10-15) 1020 | 1021 | 1022 | ### Bug Fixes 1023 | 1024 | * update dependencies ([7c24408](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/7c24408c88740f11002001f9e862cd0e5f96c31d)) 1025 | * update dependencies ([b9ec311](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/b9ec311fc5a6a02bfb94b8bef74f8271bad2a001)) 1026 | 1027 | ## [1.1.29](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.28...v1.1.29) (2021-10-15) 1028 | 1029 | 1030 | ### Bug Fixes 1031 | 1032 | * update packages ([57dcf41](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/57dcf411f226e809feee49e9a43cb119bc86c964)) 1033 | 1034 | ## [1.1.28](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.27...v1.1.28) (2021-10-15) 1035 | 1036 | 1037 | ### Bug Fixes 1038 | 1039 | * updated dependencies ([245f141](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/245f141ed5fecea3933800a098a0a92d0a2a5be0)) 1040 | 1041 | ## [1.1.27](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.26...v1.1.27) (2021-10-13) 1042 | 1043 | 1044 | ### Bug Fixes 1045 | 1046 | * update descriptions ([712b03b](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/712b03b1c91a2065d24f7b36a697ff164f0d35b7)) 1047 | 1048 | ## [1.1.26](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.25...v1.1.26) (2021-10-13) 1049 | 1050 | 1051 | ### Bug Fixes 1052 | 1053 | * update dependencies ([1b2d143](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/1b2d143f0a065d95fc897029b6cfcde49457175b)) 1054 | 1055 | ## [1.1.25](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.24...v1.1.25) (2021-10-06) 1056 | 1057 | 1058 | ### Bug Fixes 1059 | 1060 | * update dependencies ([5a00b54](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/5a00b5448168a492e9aa9bfdef3ab2f15bdc0b7a)) 1061 | 1062 | ## [1.1.24](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.23...v1.1.24) (2021-10-05) 1063 | 1064 | 1065 | ### Bug Fixes 1066 | 1067 | * update dependencies ([15cecbe](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/15cecbe30e5687ec9184ad0ca22a610aa652e6ab)) 1068 | * website_id in CoCreate.config ([3884655](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/3884655f734467f6ed537bd5549aabb03cdef5ec)) 1069 | 1070 | ## [1.1.23](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.22...v1.1.23) (2021-10-04) 1071 | 1072 | 1073 | ### Bug Fixes 1074 | 1075 | * update dependencies ([b3a47d8](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/b3a47d84ccb069fb22b243d5630c41ec54982296)) 1076 | 1077 | ## [1.1.22](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.21...v1.1.22) (2021-10-04) 1078 | 1079 | 1080 | ### Bug Fixes 1081 | 1082 | * update dependencies ([3685793](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/368579352e259e49844e78016d1a6db6271f6fc9)) 1083 | 1084 | ## [1.1.21](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.20...v1.1.21) (2021-10-01) 1085 | 1086 | 1087 | ### Bug Fixes 1088 | 1089 | * update packages ([ef69d23](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/ef69d23e9147687bad7c315f9d3f34f1816d216d)) 1090 | 1091 | ## [1.1.20](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.19...v1.1.20) (2021-10-01) 1092 | 1093 | 1094 | ### Bug Fixes 1095 | 1096 | * update dependencies ([d490a34](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/d490a34fb0e3372aa08442915e391ad98f0dd7e7)) 1097 | 1098 | ## [1.1.19](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.18...v1.1.19) (2021-09-28) 1099 | 1100 | 1101 | ### Bug Fixes 1102 | 1103 | * update dependencies ([64f24c1](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/64f24c14a201f31f5cde3dbac3a8445ce95b6b4d)) 1104 | 1105 | ## [1.1.18](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.17...v1.1.18) (2021-09-16) 1106 | 1107 | 1108 | ### Bug Fixes 1109 | 1110 | * update dependencies ([0074c4c](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/0074c4cc1f236456c58fc25aa4b183bbacaff1d6)) 1111 | 1112 | ## [1.1.17](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.16...v1.1.17) (2021-09-14) 1113 | 1114 | 1115 | ### Bug Fixes 1116 | 1117 | * add cocreate.app to domains ([cecef7e](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/cecef7e75686719c76c9eb0dfa9789854369101a)) 1118 | 1119 | ## [1.1.16](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.15...v1.1.16) (2021-09-13) 1120 | 1121 | 1122 | ### Bug Fixes 1123 | 1124 | * upgrade dependencies ([893be8f](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/893be8fb6040cfdc159f2f4df53523b0125523d6)) 1125 | 1126 | ## [1.1.15](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.14...v1.1.15) (2021-09-12) 1127 | 1128 | 1129 | ### Bug Fixes 1130 | 1131 | * update sidenav to use resize and toggle ([5ae200f](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/5ae200f8bea981a77335b3df83319263f74c3b4d)) 1132 | 1133 | ## [1.1.14](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.13...v1.1.14) (2021-09-09) 1134 | 1135 | 1136 | ### Bug Fixes 1137 | 1138 | * update dependency @cocreate/docs ([563d04b](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/563d04be59bb751919713102d61a81ee020e31f1)) 1139 | 1140 | ## [1.1.13](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.12...v1.1.13) (2021-09-09) 1141 | 1142 | 1143 | ### Bug Fixes 1144 | 1145 | * ci docs ([4dc9ab9](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/4dc9ab93e1541036521b0c28ca6a3b3cddb911de)) 1146 | 1147 | ## [1.1.12](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.11...v1.1.12) (2021-09-09) 1148 | 1149 | 1150 | ### Bug Fixes 1151 | 1152 | * update dependencies ([dd631a0](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/dd631a0d971e40cbc2b7dddbd8d87e19bbf16202)) 1153 | 1154 | ## [1.1.11](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.10...v1.1.11) (2021-09-09) 1155 | 1156 | 1157 | ### Bug Fixes 1158 | 1159 | * CoCreate.config directory, path, name and public ([a740759](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/a7407592e5f82f5fb6a1b4ca2626e834376a7848)) 1160 | 1161 | ## [1.1.10](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.9...v1.1.10) (2021-09-08) 1162 | 1163 | 1164 | ### Bug Fixes 1165 | 1166 | * update dependencies ([ea76e48](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/ea76e488b0a9819bde23d109be4b6975a980857a)) 1167 | 1168 | ## [1.1.9](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.8...v1.1.9) (2021-09-04) 1169 | 1170 | 1171 | ### Bug Fixes 1172 | 1173 | * update dependencies ([de4245a](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/de4245add93b6b6616a14e508712bd785023d764)) 1174 | 1175 | ## [1.1.8](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.7...v1.1.8) (2021-08-31) 1176 | 1177 | 1178 | ### Bug Fixes 1179 | 1180 | * update dependencies ([4de5307](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/4de5307ce1874b5dde297dac3416c9f38be822c3)) 1181 | 1182 | ## [1.1.7](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.6...v1.1.7) (2021-08-27) 1183 | 1184 | 1185 | ### Bug Fixes 1186 | 1187 | * updaed dependencies ([dfa6846](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/dfa68462ad60340a3f8175d909af19ca292ac905)) 1188 | 1189 | ## [1.1.6](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.5...v1.1.6) (2021-08-23) 1190 | 1191 | 1192 | ### Bug Fixes 1193 | 1194 | * update package versions ([08abb19](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/08abb19d220b389dd8d3b00737064034dc1c2119)) 1195 | 1196 | ## [1.1.5](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.4...v1.1.5) (2021-08-22) 1197 | 1198 | 1199 | ### Bug Fixes 1200 | 1201 | * removed data- from main-content, clone, filter-value_type ([e875dc9](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/e875dc9c965baaabb8fb47d55886a55f9aac2530)) 1202 | 1203 | ## [1.1.4](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.3...v1.1.4) (2021-08-22) 1204 | 1205 | 1206 | ### Bug Fixes 1207 | 1208 | * bump package versions ([c6a8f86](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/c6a8f862056568c162ffd29b0f8ef003bc89f4a0)) 1209 | 1210 | ## [1.1.3](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.2...v1.1.3) (2021-08-22) 1211 | 1212 | 1213 | ### Bug Fixes 1214 | 1215 | * bump package versions ([8c5c2ce](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/8c5c2ce61d88164a0d97b02ba6e52dbf3fb3e8f1)) 1216 | 1217 | ## [1.1.2](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.1...v1.1.2) (2021-08-14) 1218 | 1219 | 1220 | ### Bug Fixes 1221 | 1222 | * update to docs ([5233644](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/5233644f9a1ca71da410b6142612f165fe9a0d9a)) 1223 | 1224 | ## [1.1.1](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.1.0...v1.1.1) (2021-08-02) 1225 | 1226 | 1227 | ### Bug Fixes 1228 | 1229 | * remove data- from attributes ([00beb39](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/00beb39875d5721176fb5021508f87ac7e41cb9e)) 1230 | * remove data- from fetch, pass and filter ([5f3d882](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/5f3d882fdbf542980cef4dfc579280f4ffaddbce)) 1231 | * update data-fullscreen to fullscreen ([01edb6e](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/01edb6e1988558a5a30627e766e29e3ea39c142a)) 1232 | 1233 | # [1.1.0](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.0.16...v1.1.0) (2021-07-28) 1234 | 1235 | 1236 | ### Features 1237 | 1238 | * add new is{attribute} system and remove data- from attributtes ([48dce79](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/48dce7911c4e35ffb2cf9eb950d6a464dd82f771)) 1239 | 1240 | ## [1.0.16](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.0.15...v1.0.16) (2021-07-17) 1241 | 1242 | 1243 | ### Bug Fixes 1244 | 1245 | * init and update demos scripts ([03c3534](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/03c35345c40c036b0c8ef6350af05ced79a494c5)) 1246 | * workflows ([7266726](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/72667268f4e489b3062ba9e07dd09765d7519a7b)) 1247 | 1248 | ## [1.0.15](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.0.14...v1.0.15) (2021-07-14) 1249 | 1250 | 1251 | ### Bug Fixes 1252 | 1253 | * upgrade all packages ([9f385f0](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/9f385f02d5635d8c2f4648ac4086bdbb18b42657)) 1254 | 1255 | ## [1.0.14](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.0.13...v1.0.14) (2021-07-13) 1256 | 1257 | 1258 | ### Bug Fixes 1259 | 1260 | * add yarn lockfile to git ignore ([9603dfb](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/9603dfb8814a5e297eb310ce2a466da0274b8a97)) 1261 | * remove yarn.lock ([f5db933](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/f5db933887bf9388df4fba9ce8c56a1642675878)) 1262 | 1263 | ## [1.0.13](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.0.12...v1.0.13) (2021-07-10) 1264 | 1265 | 1266 | ### Bug Fixes 1267 | 1268 | * gitignore all logs ([434be51](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/434be514be730b3608338ff8fb50cd01db9ea0cb)) 1269 | 1270 | ## [1.0.12](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.0.11...v1.0.12) (2021-07-07) 1271 | 1272 | 1273 | ### Bug Fixes 1274 | 1275 | * update package versions ([e1c16c8](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/e1c16c8e23724c05a2b43b52af5e0784e35784f1)) 1276 | 1277 | ## [1.0.11](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.0.10...v1.0.11) (2021-06-30) 1278 | 1279 | 1280 | ### Bug Fixes 1281 | 1282 | * Update readme.md ([0ff2757](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/0ff2757a398db3255ee4355281221b6a4568c1db)) 1283 | 1284 | ## [1.0.10](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.0.9...v1.0.10) (2021-06-30) 1285 | 1286 | 1287 | ### Bug Fixes 1288 | 1289 | * automated and manual workflows ([bf5c617](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/bf5c6173e33082229d376fea43df2cc820950691)) 1290 | 1291 | ## [1.0.9](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.0.8...v1.0.9) (2021-06-25) 1292 | 1293 | 1294 | ### Bug Fixes 1295 | 1296 | * latest version numbers applied to all cocreate packages ([75301ed](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/75301ed5332d5b75e43024fa08ecdbcbcd3d1de9)) 1297 | 1298 | ## [1.0.8](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.0.7...v1.0.8) (2021-06-24) 1299 | 1300 | 1301 | ### Bug Fixes 1302 | 1303 | * package versioningto 1.0.0 ([cd33e32](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/cd33e32093c836008b14e4f8b88dacd43c221dfa)) 1304 | 1305 | ## [1.0.7](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.0.6...v1.0.7) (2021-06-24) 1306 | 1307 | 1308 | ### Bug Fixes 1309 | 1310 | * update all [@cocreate](https://github.com/cocreate) to use latest versions ([6eb99bc](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/6eb99bc2df6ae083cb9947ec981ac832f032a18b)) 1311 | 1312 | ## [1.0.6](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.0.5...v1.0.6) (2021-06-16) 1313 | 1314 | 1315 | ### Bug Fixes 1316 | 1317 | * added header for seo ([4696e71](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/4696e71a74d0fc7fe6c015ba6427fd889a485b4a)) 1318 | 1319 | ## [1.0.5](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.0.4...v1.0.5) (2021-05-08) 1320 | 1321 | 1322 | ### Bug Fixes 1323 | 1324 | * add css auto parse and save to docs. ([49fd93f](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/49fd93fdaed4e617a600d9cb851f4e00780c0cef)) 1325 | 1326 | ## [1.0.4](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.0.3...v1.0.4) (2021-04-27) 1327 | 1328 | 1329 | ### Bug Fixes 1330 | 1331 | * Update to readme, demo, added cdn scripts ([83be3cf](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/83be3cf890b24c3d786f6266e5ab77b3b8410f6a)) 1332 | 1333 | ## [1.0.3](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.0.2...v1.0.3) (2021-04-23) 1334 | 1335 | 1336 | ### Bug Fixes 1337 | 1338 | * readme and documentation. Removed securitykeys ([ebb691a](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/ebb691a82bd1d2f7887050d6fe9f6495f4d20c0b)) 1339 | 1340 | ## [1.0.2](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.0.1...v1.0.2) (2021-04-19) 1341 | 1342 | 1343 | ### Bug Fixes 1344 | 1345 | * ci and build process ([d0540ed](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/d0540ed95d84c652193f929ce7c75c6e10553b40)) 1346 | * npm publish and cdn deployment ([77c13c5](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/77c13c55f19021367a0ce0fad4a88fc87f638345)) 1347 | 1348 | ## [1.0.1](https://github.com/CoCreate-app/CoCreate-overlay-scroll/compare/v1.0.0...v1.0.1) (2021-03-29) 1349 | 1350 | 1351 | ### Bug Fixes 1352 | 1353 | * Package Paths ([7ad8d47](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/7ad8d4711eed73a833f651d7c1846f73b91cc235)) 1354 | 1355 | # 1.0.0 (2021-03-26) 1356 | 1357 | 1358 | ### Features 1359 | 1360 | * Initial Release ([feff2f8](https://github.com/CoCreate-app/CoCreate-overlay-scroll/commit/feff2f8cb7eb9a4f6573548194080e67e36e1dfc)) 1361 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to CoCreate-overlay-scroll 2 | 3 | This project is work of [many contributors](https://github.com/CoCreate-app/CoCreate-overlay-scroll/graphs/contributors). 4 | You're encouraged to submit [pull requests](https://github.com/CoCreate-app/CoCreate-overlay-scroll/pulls), 5 | [propose features and discuss issues](https://github.com/CoCreate-app/CoCreate-overlay-scroll/issues). 6 | 7 | In the examples below, substitute your Github username for `contributor` in URLs. 8 | 9 | ## Fork the Project 10 | 11 | Fork the [project on Github](https://github.com/CoCreate-app/CoCreate-overlay-scroll) and check out your copy. 12 | 13 | ``` 14 | git overlay-scroll https://github.com/contributor/CoCreate-overlay-scroll.git 15 | cd CoCreate-overlay-scroll 16 | git remote add upstream https://github.com/CoCreate-app/CoCreate-overlay-scroll.git 17 | ``` 18 | 19 | ## Create a Topic Branch 20 | 21 | Make sure your fork is up-to-date and create a topic branch for your feature or bug fix on dev branch. 22 | 23 | ``` 24 | git checkout dev 25 | git pull upstream dev 26 | git checkout -b my-feature-branch 27 | ``` 28 | 29 | ## Write Tests 30 | 31 | Try to write a test that reproduces the problem you're trying to fix or describes a feature that you want to build. 32 | 33 | We definitely appreciate pull requests that highlight or reproduce a problem, even without a fix. 34 | 35 | ## Write Code 36 | 37 | Implement your feature or bug fix. 38 | 39 | ## Write Documentation 40 | 41 | Document any external behavior in the [README](README.md). 42 | 43 | ## Commit Changes 44 | 45 | Make sure git knows your name and email address: 46 | 47 | ``` 48 | git config --global user.name "Your Name" 49 | git config --global user.email "contributor@example.com" 50 | ``` 51 | 52 | We use [semantic-release](https://github.com/semantic-release/semantic-release) as process to generate changelog 53 | and to release. Write meaningful commits according to 54 | [Commit Message Formats](https://github.com/semantic-release/semantic-release#commit-message-format) is important. 55 | 56 | ``` 57 | git add ... 58 | git commit -am "commit-type(optional topic): a meaningful message" 59 | ``` 60 | 61 | Here is an example of the release type that should be done based on a [semantic-release](https://github.com/semantic-release/semantic-release): 62 | 63 | | Commit message | Release type | 64 | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------- | 65 | | `fix(pencil): stop graphite breaking when too much pressure applied` | Patch Release | 66 | | `feat(pencil): add 'graphiteWidth' option` | ~~Minor~~ Feature Release | 67 | | `perf(pencil): remove graphiteWidth option`

`BREAKING CHANGE: The graphiteWidth option has been removed.`
`The default graphite width of 10mm is always used for performance reasons.` | ~~Major~~ Breaking Release | 68 | 69 | 70 | ## Push 71 | 72 | ``` 73 | git push origin my-feature-branch 74 | ``` 75 | 76 | ## Make a Pull Request 77 | 78 | Go to [https://github.com/CoCreate-app/CoCreate-overlay-scroll](https://github.com/CoCreate-app/CoCreate-overlay-scroll) and select your feature branch. 79 | Click the 'Pull Request' button and fill out the form. Pull requests are usually reviewed within a few days. 80 | 81 | ## Rebase 82 | 83 | If you've been working on a change for a while, rebase with upstream/dev. 84 | 85 | ``` 86 | git fetch upstream 87 | git rebase upstream/dev 88 | git push origin my-feature-branch -f 89 | ``` 90 | 91 | ## Be Patient 92 | 93 | It's likely that your change will not be merged and that the nitpicky maintainers will ask you to do more, or fix seemingly benign problems. Hang in there! 94 | 95 | ## Thank You 96 | 97 | Please do know that we really appreciate and value your time and work. We love you, really. -------------------------------------------------------------------------------- /CoCreate.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | "organization_id": "", 3 | "key": "", 4 | "host": "", 5 | "sources": [ 6 | { 7 | "array": "files", 8 | "object": { 9 | "_id": "6020801d3c260207bf49caba", 10 | "name": "index.html", 11 | "path": "/docs/overlay-scroll", 12 | "pathname": "/docs/overlay-scroll/index.html", 13 | "src": "{{./docs/index.html}}", 14 | "host": [ 15 | "*" 16 | ], 17 | "directory": "overlay-scroll", 18 | "content-type": "{{content-type}}", 19 | "public": "true" 20 | } 21 | } 22 | ] 23 | }; -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 CoCreate LLC 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # CoCreate-overlay-scroll 2 | 3 | A simple overlay-scroll component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/overlay-scroll) 4 | 5 | ![minified](https://img.badgesize.io/https://cdn.cocreate.app/overlay-scroll/latest/CoCreate-overlay-scroll.min.js?style=flat-square&label=minified&color=orange) 6 | ![gzip](https://img.badgesize.io/https://cdn.cocreate.app/overlay-scroll/latest/CoCreate-overlay-scroll.min.js?compression=gzip&style=flat-square&label=gzip&color=yellow) 7 | ![brotli](https://img.badgesize.io/https://cdn.cocreate.app/overlay-scroll/latest/CoCreate-overlay-scroll.min.js?compression=brotli&style=flat-square&label=brotli) 8 | ![GitHub latest release](https://img.shields.io/github/v/release/CoCreate-app/CoCreate-overlay-scroll?style=flat-square) 9 | ![License](https://img.shields.io/github/license/CoCreate-app/CoCreate-overlay-scroll?style=flat-square) 10 | ![Hiring](https://img.shields.io/static/v1?style=flat-square&label=&message=Hiring&color=blueviolet) 11 | 12 | ![CoCreate-overlay-scroll](https://cdn.cocreate.app/docs/CoCreate-overlay-scroll.gif) 13 | 14 | ## [Docs & Demo](https://cocreate.app/docs/overlay-scroll) 15 | 16 | For a complete guide and working demo refer to the [doumentation](https://cocreate.app/docs/overlay-scroll) 17 | 18 | ## CDN 19 | 20 | ```html 21 | 22 | ``` 23 | 24 | ```html 25 | 26 | ``` 27 | 28 | ## NPM 29 | 30 | ```shell 31 | $ npm i @cocreate/overlay-scroll 32 | ``` 33 | 34 | ## yarn 35 | 36 | ```shell 37 | $ yarn install @cocreate/overlay-scroll 38 | ``` 39 | 40 | # Table of Contents 41 | 42 | - [Table of Contents](#table-of-contents) 43 | - [Announcements](#announcements) 44 | - [Roadmap](#roadmap) 45 | - [How to Contribute](#how-to-contribute) 46 | - [About](#about) 47 | - [License](#license) 48 | 49 | 50 | 51 | # Announcements 52 | 53 | All updates to this library are documented in our [CHANGELOG](https://github.com/CoCreate-app/CoCreate-overlay-scroll/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-overlay-scroll/releases). You may also subscribe to email for releases and breaking changes. 54 | 55 | 56 | 57 | # Roadmap 58 | 59 | If you are interested in the future direction of this project, please take a look at our open [issues](https://github.com/CoCreate-app/CoCreate-overlay-scroll/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-overlay-scroll/pulls). We would love to hear your feedback. 60 | 61 | 62 | 63 | # About 64 | 65 | CoCreate-overlay-scroll is guided and supported by the CoCreate Developer Experience Team. 66 | 67 | Please Email the Developer Experience Team [here](mailto:develop@cocreate.app) in case of any queries. 68 | 69 | CoCreate-overlay-scroll is maintained and funded by CoCreate. The names and logos for CoCreate are trademarks of CoCreate, LLC. 70 | 71 | 72 | 73 | # How to Contribute 74 | 75 | We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/CoCreate-app/CoCreate-overlay-scroll/blob/master/CONTRIBUTING.md) guide for details. 76 | 77 | We want this library to be community-driven, and CoCreate led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/CoCreate-app/CoCreate-overlay-scroll/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-overlay-scroll/pulls) or merely upvote or comment on existing issues or pull requests. 78 | 79 | We appreciate your continued support, thank you! 80 | 81 | 82 | 83 | # License 84 | 85 | [The MIT License (MIT)](https://github.com/CoCreate-app/CoCreate-overlay-scroll/blob/master/LICENSE) 86 | -------------------------------------------------------------------------------- /demo/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Overlay Scroll | CoCreateJS 5 | 6 | 7 | 12 | 13 | 17 | 18 | 19 | 20 |
21 | 22 |
23 |

Default

24 |
27 | 29 |
30 |
31 | 32 |
33 |

X-direction ScrollBar

34 |
38 | 40 |
41 |
42 | 43 |
44 |

Y-direction ScrollBar

45 |
49 | 51 |
52 |
53 |
54 | 55 |
56 | 57 |
58 |

Bottom, Left

59 |
63 | 65 |
66 |
67 | 68 |
69 |

Top, Right

70 |
74 | 76 |
77 |
78 | 79 |
80 |

Top, Left

81 |
85 | 87 |
88 |
89 |
90 | 91 |
92 | 93 |
94 |

Dark Mode

95 |
98 | 100 |
101 |
102 | 103 |
104 |

Hidden ScrollBar

105 |
109 | 111 |
112 |
113 | 114 |
115 |

Auto Hidden ScrollBar

116 |
120 | 122 |
123 |
124 |
125 | 126 | 127 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | CoCreate-overlay-scroll Documentation | CoCreateJS 8 | 13 | 16 | 19 | 20 | 23 | 24 | 32 | 33 | 34 | 35 | 36 | 37 | 45 | 52 | 56 |
57 |
58 |
62 |
64 |
65 |

CoCreate-overlay-scroll

66 |
67 |
69 |
79 | 99 | 105 |
106 | 112 |
113 |
114 |

116 | CoCreate-overlay-scroll javascript component. Easy configuration 117 | using HTML5 attributes or Javscript api and highly styleable. 118 |

119 |
122 |
124 |
130 | 134 |

Install

135 | 140 |
141 |
142 |
npm i @cocreate/overlay-scroll
143 |

144 | Or you can use cdn link: 145 |

146 |
<script>https://cdn.cocreate.app/overlay-scroll/latest/CoCreate-overlay-scroll.min.js</script>
147 | 148 | 149 |
155 | 159 |

Usage

160 | 165 |
166 |
167 |

168 | CoCreate-overlay-scroll would hide the native 169 | scrollbars, and render the overlay scrollbars by 170 | attributes, and provide the features including dragable, 171 | clickable, scrollable. 172 |

173 | 174 |

176 | Example 177 |

178 |

179 | 180 | 181 |
182 |
183 | 							
184 | 								<div class="co_overlay-scroll dark-mode"
185 | 									data-overlay-scroll_type="scrollX;scrollY"
186 | 									data-overlay-scroll_visible="auto"
187 | 									data-overlay-scroll_pos="bottom;left"
188 | 									style="width:300px;height:300px">
189 | 									<img src="https://mdbootstrap.com/img/Photos/Others/img%20(44).jpg"/>
190 | 								</div>
191 | 							
192 | 						
193 |
194 | 195 |
196 |

198 | Classes 199 |

200 |
    201 |
  • 203 |

    204 | co_overlay-scroll 205 | required 208 |

    209 |

    210 | Template main class. This class should be 211 | defined. 212 |

    213 |
  • 214 |
  • 216 |

    217 | dark-mode 218 | optional 221 |

    222 |

    223 | Scrollbar theme mode. if not set, it will be 224 | light-mode as default. 225 |

    226 |
  • 227 |
228 |
229 | 230 |
236 | 240 |

Attributes

241 | 246 |
247 |
248 | 249 |
    250 |
  • 252 |

    253 | overlay-scroll_type 254 | string 257 | optional 260 |

    261 |

    262 | ScrollBar Enable/Disable. "scrollX" and 263 | "scrollY" are available. if not set, it will be 264 | enable the x-scrollbar and y-scrollbar as 265 | default. 266 |

    267 |
  • 268 |
  • 270 |

    271 | overlay-scroll_visible 272 | string 275 | optional 278 |

    279 |

    280 | ScrollBar Behavior. "visible" and "hide", "auto" 281 | are available. if not set, it will be visable as 282 | default. 283 |

    284 |
  • 285 |
  • 287 |

    288 | overlay-scroll_pos 289 | string 292 | optional 295 |

    296 |

    297 | ScrollBar Position. "bottom" and "top", "right", 298 | "left" are available. if not set, it will be 299 | "bottom" and "right" as default. 300 |

    301 |
  • 302 |
303 | 304 |

306 | How Does It Works 307 |

308 |

309 | CoCreate-overlay-scroll works based on cocreate.js and 310 | template. 311 |

312 | 313 |

315 | Effects and Styles 316 |

317 | 318 |

320 | Events 321 |

322 |

323 | fetchedData 325 |

326 |
327 | 328 |
330 | 331 |
337 | 341 |

Demo

342 | 347 |
348 |
349 |
351 | 352 |
355 |
359 | 368 |
371 |
372 | 373 |
376 |
377 |
378 | 379 |
381 | 392 | 402 | 409 | 419 | 423 |
424 |
425 | 426 |
427 |
428 |
429 | 435 |
436 | 437 | 438 | 439 | 440 | -------------------------------------------------------------------------------- /overlay-scroll-archive/CoCreate-overlay-scroll.css: -------------------------------------------------------------------------------- 1 | html.co_html, 2 | html.co_html > .co_host { 3 | display: block; 4 | overflow: hidden; 5 | box-sizing: border-box; 6 | height: 100% !important; 7 | width: 100% !important; 8 | min-width: 100% !important; 9 | min-height: 100% !important; 10 | margin: 0 !important; 11 | position: absolute !important; 12 | } 13 | html.co_html > .co_host > .co_wrapper { 14 | position: absolute; 15 | } 16 | body.co_dragging, 17 | body.co_dragging * { 18 | cursor: default; 19 | } 20 | .co_host, 21 | .co_host-textarea { 22 | position: relative; 23 | overflow: visible !important; 24 | -webkit-box-orient: vertical; 25 | -webkit-box-direction: normal; 26 | -ms-flex-direction: column; 27 | flex-direction: column; 28 | -ms-flex-wrap: nowrap; 29 | flex-wrap: nowrap; 30 | -webkit-box-pack: start; 31 | -ms-flex-pack: start; 32 | justify-content: flex-start; 33 | -ms-flex-line-pack: start; 34 | align-content: flex-start; 35 | -webkit-box-align: start; 36 | -ms-flex-align: start; 37 | -ms-grid-row-align: flex-start; 38 | align-items: flex-start; 39 | } 40 | .co_host-flexbox { 41 | overflow: hidden !important; 42 | display: -webkit-box; 43 | display: -ms-flexbox; 44 | display: flex; 45 | } 46 | .co_host-flexbox > .co_size-auto-observer { 47 | height: inherit !important; 48 | } 49 | .co_host-flexbox > .co_content-glue { 50 | -webkit-box-flex: 1; 51 | -ms-flex-positive: 1; 52 | flex-grow: 1; 53 | -ms-flex-negative: 0; 54 | flex-shrink: 0; 55 | } 56 | .co_host-flexbox > .co_size-auto-observer, 57 | .co_host-flexbox > .co_content-glue { 58 | min-height: 0; 59 | min-width: 0; 60 | -webkit-box-flex: 0; 61 | -ms-flex-positive: 0; 62 | flex-grow: 0; 63 | -ms-flex-negative: 1; 64 | flex-shrink: 1; 65 | -ms-flex-preferred-size: auto; 66 | flex-basis: auto; 67 | } 68 | #os-dummy-scrollbar-size { 69 | position: fixed; 70 | opacity: 0; 71 | -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)'; 72 | visibility: hidden; 73 | overflow: scroll; 74 | height: 500px; 75 | width: 500px; 76 | } 77 | #os-dummy-scrollbar-size > div { 78 | width: 200%; 79 | height: 200%; 80 | margin: 10px 0; 81 | } 82 | /* fix restricted measuring */ 83 | #os-dummy-scrollbar-size:before, 84 | #os-dummy-scrollbar-size:after, 85 | .co_content:before, 86 | .co_content:after { 87 | content: ''; 88 | display: table; 89 | width: 0.01px; 90 | height: 0.01px; 91 | line-height: 0; 92 | font-size: 0; 93 | flex-grow: 0; 94 | flex-shrink: 0; 95 | visibility: hidden; 96 | } 97 | #os-dummy-scrollbar-size, 98 | .co_viewport { 99 | -ms-overflow-style: scrollbar !important; 100 | } 101 | .co_overlay-scroll #os-dummy-scrollbar-size, 102 | .co_overlay-scroll .co_viewport { 103 | scrollbar-width: none !important; 104 | } 105 | .co_overlay-scroll #os-dummy-scrollbar-size::-webkit-scrollbar, 106 | .co_overlay-scroll .co_viewport::-webkit-scrollbar, 107 | .co_overlay-scroll #os-dummy-scrollbar-size::-webkit-scrollbar-corner, 108 | .co_overlay-scroll .co_viewport::-webkit-scrollbar-corner { 109 | display: none !important; 110 | width: 0px !important; 111 | height: 0px !important; 112 | visibility: hidden !important; 113 | background: transparent !important; 114 | } 115 | .co_content-glue { 116 | box-sizing: inherit; 117 | max-height: 100%; 118 | max-width: 100%; 119 | width: 100%; 120 | pointer-events: none; 121 | } 122 | .co_wrapper { 123 | box-sizing: inherit; 124 | direction: inherit; 125 | position: absolute; 126 | overflow: visible; 127 | padding: 0; 128 | margin: 0; 129 | left: 0; 130 | top: 0; 131 | bottom: 0; 132 | right: 0; 133 | width: auto !important; 134 | height: auto !important; 135 | } 136 | .co_host-overflow > .co_wrapper { 137 | overflow: hidden; 138 | } 139 | .co_viewport { 140 | direction: inherit !important; 141 | box-sizing: inherit !important; 142 | resize: none !important; 143 | outline: none !important; 144 | position: absolute; 145 | overflow: hidden; 146 | top: 0; 147 | left: 0; 148 | bottom: 0; 149 | right: 0; 150 | padding: 0; 151 | margin: 0; 152 | -webkit-overflow-scrolling: touch; 153 | } 154 | .co_content-arrange { 155 | position: absolute; 156 | z-index: -1; 157 | min-height: 1px; 158 | min-width: 1px; 159 | pointer-events: none; 160 | } 161 | .co_content { 162 | direction: inherit; 163 | box-sizing: border-box !important; 164 | position: relative; 165 | display: block; 166 | height: 100%; 167 | width: 100%; 168 | height: 100%; 169 | width: 100%; 170 | visibility: visible; 171 | } 172 | .co_content > .co_textarea { 173 | box-sizing: border-box !important; 174 | direction: inherit !important; 175 | background: transparent !important; 176 | outline: 0px none transparent !important; 177 | overflow: hidden !important; 178 | position: absolute !important; 179 | display: block !important; 180 | top: 0 !important; 181 | left: 0 !important; 182 | margin: 0 !important; 183 | border-radius: 0px !important; 184 | float: none !important; 185 | -webkit-filter: none !important; 186 | filter: none !important; 187 | border: none !important; 188 | resize: none !important; 189 | -webkit-transform: none !important; 190 | transform: none !important; 191 | max-width: none !important; 192 | max-height: none !important; 193 | box-shadow: none !important; 194 | -webkit-perspective: none !important; 195 | perspective: none !important; 196 | opacity: 1 !important; 197 | z-index: 1 !important; 198 | clip: auto !important; 199 | vertical-align: baseline !important; 200 | padding: 0px; 201 | } 202 | .co_content > .co_textarea-cover { 203 | z-index: -1; 204 | pointer-events: none; 205 | } 206 | .co_content > .co_textarea[wrap='off'] { 207 | white-space: pre !important; 208 | margin: 0px !important; 209 | } 210 | .co_text-inherit { 211 | font-family: inherit; 212 | font-size: inherit; 213 | font-weight: inherit; 214 | font-style: inherit; 215 | font-variant: inherit; 216 | text-transform: inherit; 217 | text-decoration: inherit; 218 | text-indent: inherit; 219 | text-align: inherit; 220 | text-shadow: inherit; 221 | text-overflow: inherit; 222 | letter-spacing: inherit; 223 | word-spacing: inherit; 224 | line-height: inherit; 225 | unicode-bidi: inherit; 226 | direction: inherit; 227 | color: inherit; 228 | cursor: text; 229 | } 230 | .co_resize-observer, 231 | .co_resize-observer-host { 232 | box-sizing: inherit; 233 | display: block; 234 | visibility: hidden; 235 | position: absolute; 236 | top: 0; 237 | left: 0; 238 | height: 100%; 239 | width: 100%; 240 | overflow: hidden; 241 | pointer-events: none; 242 | z-index: -1; 243 | } 244 | .co_resize-observer-host { 245 | padding: inherit; 246 | border: inherit; 247 | border-color: transparent; 248 | border-style: solid; 249 | box-sizing: border-box; 250 | } 251 | .co_resize-observer-host.observed { 252 | display: flex; 253 | flex-direction: column; 254 | justify-content: flex-start; 255 | align-items: flex-start; 256 | } 257 | .co_resize-observer-host > .co_resize-observer, 258 | .co_resize-observer-host.observed > .co_resize-observer { 259 | height: 200%; 260 | width: 200%; 261 | padding: inherit; 262 | border: inherit; 263 | margin: 0; 264 | display: block; 265 | box-sizing: content-box; 266 | } 267 | .co_resize-observer-host.observed > .co_resize-observer, 268 | .co_resize-observer-host.observed > .co_resize-observer:before { 269 | display: flex; 270 | position: relative; 271 | flex-grow: 1; 272 | flex-shrink: 0; 273 | flex-basis: auto; 274 | box-sizing: border-box; 275 | } 276 | .co_resize-observer-host.observed > .co_resize-observer:before { 277 | content: ''; 278 | box-sizing: content-box; 279 | padding: inherit; 280 | border: inherit; 281 | margin: 0; 282 | } 283 | .co_size-auto-observer { 284 | box-sizing: inherit !important; 285 | height: 100%; 286 | width: inherit; 287 | max-width: 1px; 288 | position: relative; 289 | float: left; 290 | max-height: 1px; 291 | overflow: hidden; 292 | z-index: -1; 293 | padding: 0; 294 | margin: 0; 295 | pointer-events: none; 296 | -webkit-box-flex: inherit; 297 | -ms-flex-positive: inherit; 298 | flex-grow: inherit; 299 | -ms-flex-negative: 0; 300 | flex-shrink: 0; 301 | -ms-flex-preferred-size: 0; 302 | flex-basis: 0; 303 | } 304 | .co_size-auto-observer > .co_resize-observer { 305 | width: 1000%; 306 | height: 1000%; 307 | min-height: 1px; 308 | min-width: 1px; 309 | } 310 | .co_resize-observer-item { 311 | position: absolute; 312 | top: 0; 313 | right: 0; 314 | bottom: 0; 315 | left: 0; 316 | overflow: hidden; 317 | z-index: -1; 318 | opacity: 0; 319 | direction: ltr !important; 320 | -webkit-box-flex: 0 !important; 321 | -ms-flex: none !important; 322 | flex: none !important; 323 | } 324 | .co_resize-observer-item-final { 325 | position: absolute; 326 | left: 0; 327 | top: 0; 328 | -webkit-transition: none !important; 329 | transition: none !important; 330 | -webkit-box-flex: 0 !important; 331 | -ms-flex: none !important; 332 | flex: none !important; 333 | } 334 | .co_resize-observer { 335 | -webkit-animation-duration: 0.001s; 336 | animation-duration: 0.001s; 337 | -webkit-animation-name: os-resize-observer-dummy-animation; 338 | animation-name: os-resize-observer-dummy-animation; 339 | } 340 | object.co_resize-observer { 341 | box-sizing: border-box !important; 342 | } 343 | @-webkit-keyframes os-resize-observer-dummy-animation { 344 | from { 345 | z-index: 0; 346 | } 347 | to { 348 | z-index: -1; 349 | } 350 | } 351 | @keyframes os-resize-observer-dummy-animation { 352 | from { 353 | z-index: 0; 354 | } 355 | to { 356 | z-index: -1; 357 | } 358 | } 359 | 360 | /* 361 | CUSTOM SCROLLBARS AND CORNER CORE: 362 | */ 363 | 364 | .co_host-transition > .co_scrollbar, 365 | .co_host-transition > .co_scrollbar-corner { 366 | -webkit-transition: opacity 0.3s, visibility 0.3s, top 0.3s, right 0.3s, bottom 0.3s, left 0.3s; 367 | transition: opacity 0.3s, visibility 0.3s, top 0.3s, right 0.3s, bottom 0.3s, left 0.3s; 368 | } 369 | html.co_html > .co_host > .co_scrollbar { 370 | position: absolute; 371 | z-index: 999999; 372 | } 373 | .co_scrollbar, 374 | .co_scrollbar-corner { 375 | position: absolute; 376 | opacity: 1; 377 | -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)'; 378 | z-index: 1; 379 | } 380 | .co_scrollbar-corner { 381 | bottom: 0; 382 | right: 0; 383 | } 384 | .co_scrollbar { 385 | pointer-events: none; 386 | } 387 | .co_scrollbar-track { 388 | pointer-events: auto; 389 | position: relative; 390 | height: 100%; 391 | width: 100%; 392 | padding: 0 !important; 393 | border: none !important; 394 | } 395 | .co_scrollbar-handle { 396 | pointer-events: auto; 397 | position: absolute; 398 | width: 100%; 399 | height: 100%; 400 | } 401 | .co_scrollbar-handle-off, 402 | .co_scrollbar-track-off { 403 | pointer-events: none; 404 | } 405 | .co_scrollbar.co_scrollbar-unusable, 406 | .co_scrollbar.co_scrollbar-unusable * { 407 | pointer-events: none !important; 408 | } 409 | .co_scrollbar.co_scrollbar-unusable .co_scrollbar-handle { 410 | opacity: 0 !important; 411 | } 412 | .co_scrollbar-horizontal.position-top { 413 | top: 0; 414 | left: 0; 415 | } 416 | .co_scrollbar-horizontal.position-bottom { 417 | bottom: 0; 418 | left: 0; 419 | } 420 | .co_scrollbar-vertical.position-left { 421 | top: 0; 422 | left: 0; 423 | } 424 | .co_scrollbar-vertical.position-right { 425 | top: 0; 426 | right: 0; 427 | } 428 | .co_scrollbar-auto-hidden, 429 | .co_wrapper + .co_scrollbar-corner, 430 | .co_host-resize-disabled.co_host-scrollbar-horizontal-hidden > .co_scrollbar-corner, 431 | .co_host-scrollbar-horizontal-hidden > .co_scrollbar-horizontal, 432 | .co_host-resize-disabled.co_host-scrollbar-vertical-hidden > .co_scrollbar-corner, 433 | .co_host-scrollbar-vertical-hidden > .co_scrollbar-vertical, 434 | .co_scrollbar-horizontal.co_scrollbar-auto-hidden + .co_scrollbar-vertical + .co_scrollbar-corner, 435 | .co_scrollbar-horizontal + .co_scrollbar-vertical.co_scrollbar-auto-hidden + .co_scrollbar-corner, 436 | .co_scrollbar-horizontal.co_scrollbar-auto-hidden + .co_scrollbar-vertical.co_scrollbar-auto-hidden + .co_scrollbar-corner { 437 | opacity: 0; 438 | visibility: hidden; 439 | pointer-events: none; 440 | } 441 | .co_scrollbar-corner-resize-both { 442 | cursor: nwse-resize; 443 | } 444 | .co_scrollbar-corner-resize-horizontal { 445 | cursor: ew-resize; 446 | } 447 | .co_scrollbar-corner-resize-vertical { 448 | cursor: ns-resize; 449 | } 450 | .co_dragging .co_scrollbar-corner.co_scrollbar-corner-resize { 451 | cursor: default; 452 | } 453 | .co_host-resize-disabled.co_host-scrollbar-horizontal-hidden > .co_scrollbar-vertical { 454 | top: 0; 455 | bottom: 0; 456 | } 457 | .co_host-resize-disabled.co_host-scrollbar-vertical-hidden > .co_scrollbar-horizontal{ 458 | right: 0; 459 | left: 0; 460 | } 461 | .co_scrollbar:hover, 462 | .co_scrollbar-corner.co_scrollbar-corner-resize { 463 | opacity: 1 !important; 464 | visibility: visible !important; 465 | } 466 | .co_overlay-scroll { 467 | overflow: hidden !important; 468 | } 469 | 470 | .co_overlay-scroll > .co_scrollbar-horizontal { 471 | left: 10px; 472 | right: 10px; 473 | height: 10px; 474 | } 475 | .co_overlay-scroll > .co_scrollbar-vertical { 476 | top: 10px; 477 | bottom: 10px; 478 | width: 10px; 479 | } 480 | .co_overlay-scroll > .co_scrollbar-corner { 481 | height: 10px; 482 | width: 10px; 483 | } 484 | .co_overlay-scroll > .co_scrollbar-corner { 485 | background-color: transparent; 486 | } 487 | .co_overlay-scroll > .co_scrollbar { 488 | padding: 2px; 489 | box-sizing: border-box; 490 | background: transparent; 491 | } 492 | .co_overlay-scroll > .co_scrollbar.co_scrollbar-unusable { 493 | background: transparent; 494 | } 495 | .co_overlay-scroll > .co_scrollbar > .co_scrollbar-track { 496 | background: transparent; 497 | } 498 | .co_overlay-scroll > .co_scrollbar-horizontal > .co_scrollbar-track > .co_scrollbar-handle { 499 | min-width: 30px; 500 | } 501 | .co_overlay-scroll > .co_scrollbar-vertical > .co_scrollbar-track > .co_scrollbar-handle { 502 | min-height: 30px; 503 | } 504 | .co_overlay-scroll.co_host-transition > .co_scrollbar > .co_scrollbar-track > .co_scrollbar-handle { 505 | -webkit-transition: background-color 0.3s; 506 | transition: background-color 0.3s; 507 | } 508 | .co_overlay-scroll > .co_scrollbar > .co_scrollbar-track > .co_scrollbar-handle, 509 | .co_overlay-scroll > .co_scrollbar > .co_scrollbar-track { 510 | border-radius: 10px; 511 | } 512 | 513 | .co_overlay-scroll > .co_scrollbar > .co_scrollbar-track > .co_scrollbar-handle { 514 | background: rgba(190, 190, 190, .8); 515 | } 516 | .co_overlay-scroll > .co_scrollbar:hover > .co_scrollbar-track > .co_scrollbar-handle { 517 | background: rgba(150, 150, 150, .8); 518 | } 519 | .co_overlay-scroll > .co_scrollbar > .co_scrollbar-track > .co_scrollbar-handle.active { 520 | background: rgba(170, 170, 170, .8); 521 | } 522 | 523 | .co_overlay-scroll.dark-mode > .co_scrollbar > .co_scrollbar-track > .co_scrollbar-handle { 524 | background: rgba(0, 0, 0, 0.4); 525 | } 526 | .co_overlay-scroll.dark-mode > .co_scrollbar:hover > .co_scrollbar-track > .co_scrollbar-handle { 527 | background: rgba(0, 0, 0, .55); 528 | } 529 | .co_overlay-scroll.dark-mode > .co_scrollbar > .co_scrollbar-track > .co_scrollbar-handle.active { 530 | background: rgba(0, 0, 0, .7); 531 | } 532 | 533 | .co_overlay-scroll > .co_scrollbar-horizontal .co_scrollbar-handle:before, 534 | .co_overlay-scroll > .co_scrollbar-vertical .co_scrollbar-handle:before { 535 | content: ''; 536 | position: absolute; 537 | left: 0; 538 | right: 0; 539 | top: 0; 540 | bottom: 0; 541 | display: block; 542 | } 543 | .co_overlay-scroll.co_host-scrollbar-horizontal-hidden > .co_scrollbar-horizontal .co_scrollbar-handle:before, 544 | .co_overlay-scroll.co_host-scrollbar-vertical-hidden > .co_scrollbar-vertical .co_scrollbar-handle:before { 545 | display: none; 546 | } 547 | .co_overlay-scroll > .co_scrollbar-horizontal .co_scrollbar-handle:before { 548 | top: -6px; 549 | bottom: -2px; 550 | } 551 | .co_overlay-scroll > .co_scrollbar-vertical .co_scrollbar-handle:before { 552 | left: -6px; 553 | right: -2px; 554 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@cocreate/overlay-scroll", 3 | "version": "1.10.2", 4 | "description": "A simple overlay-scroll component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.", 5 | "keywords": [ 6 | "overlay-scroll", 7 | "cocreate", 8 | "low-code-framework", 9 | "no-code-framework", 10 | "cocreatejs", 11 | "cocreatejs-component", 12 | "cocreate-framework", 13 | "no-code", 14 | "low-code", 15 | "collaborative-framework", 16 | "realtime", 17 | "realtime-framework", 18 | "collaboration", 19 | "shared-editing", 20 | "html5-framework", 21 | "javascript-framework" 22 | ], 23 | "publishConfig": { 24 | "access": "public" 25 | }, 26 | "scripts": { 27 | "start": "npx webpack --config webpack.config.js", 28 | "build": "npx webpack --mode=production --config webpack.config.js", 29 | "dev": "npx webpack --config webpack.config.js --watch", 30 | "postinstall": "node -e \"const { execSync } = require('child_process'); try { execSync('coc --version', { stdio: 'ignore' }); } catch (error) { try { execSync('npm install -g @cocreate/cli', { stdio: 'inherit' }); console.log('Installed \"@cocreate/cli\" globally.'); } catch (error) { console.error('Failed to install \"@cocreate/cli\" globally:', error); } }\"" 31 | }, 32 | "repository": { 33 | "type": "git", 34 | "url": "git+https://github.com/CoCreate-app/CoCreate-overlay-scroll.git" 35 | }, 36 | "author": "CoCreate LLC", 37 | "license": "MIT", 38 | "bugs": { 39 | "url": "https://github.com/CoCreate-app/CoCreate-overlay-scroll/issues" 40 | }, 41 | "homepage": "https://cocreate.app/docs/overlay-scroll", 42 | "funding": { 43 | "type": "GitHub Sponsors ❤", 44 | "url": "https://github.com/sponsors/CoCreate-app" 45 | }, 46 | "main": "./src/index.js", 47 | "devDependencies": { 48 | "css-loader": "^5.1.3", 49 | "esbuild": "^0.25.2", 50 | "esbuild-loader": "^4.3.0", 51 | "mini-css-extract-plugin": "^1.5.0", 52 | "webpack": "^5.24.4", 53 | "webpack-cli": "^4.5.0", 54 | "webpack-log": "^3.0.1" 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | tabWidth: 4, 3 | semi: true, 4 | trailingComma: "none", 5 | bracketSameLine: true, 6 | useTabs: true, 7 | overrides: [ 8 | { 9 | files: ["*.json", "*.yml", "*.yaml"], 10 | options: { 11 | tabWidth: 2, 12 | useTabs: false 13 | }, 14 | } 15 | ], 16 | }; -------------------------------------------------------------------------------- /release.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | dryRun: false, 3 | branches: ["master"], 4 | plugins: [ 5 | "@semantic-release/commit-analyzer", 6 | "@semantic-release/release-notes-generator", 7 | [ 8 | "@semantic-release/changelog", 9 | { 10 | changelogFile: "CHANGELOG.md", 11 | }, 12 | ], 13 | "@semantic-release/npm", 14 | "@semantic-release/github", 15 | [ 16 | "@semantic-release/git", 17 | { 18 | assets: ["CHANGELOG.md", "package.json"], 19 | }, 20 | ], 21 | ], 22 | }; -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- 1 | .co_scrollbar-disable-selection { 2 | -webkit-touch-callout: none; 3 | -webkit-user-select: none; 4 | -khtml-user-select: none; 5 | -moz-user-select: none; 6 | -ms-user-select: none; 7 | user-select: none; 8 | } 9 | 10 | .co_prevented { 11 | -webkit-overflow-scrolling: touch; 12 | } 13 | .co_prevented > .co_scrollbar { 14 | display: none; 15 | } 16 | 17 | .co_overlay-scroll { 18 | position: relative; 19 | overflow: hidden!important; 20 | width: 100%; 21 | height: 100%; 22 | } 23 | 24 | .co_scrollbar { 25 | position: absolute; 26 | right: 2px; 27 | bottom: 2px; 28 | z-index: 1; 29 | border-radius: 3px; 30 | } 31 | 32 | .co_scrollbar._vertical { 33 | width: 6px; 34 | top: 2px; 35 | } 36 | .co_scrollbar._vertical.left { 37 | left: 2px; 38 | } 39 | 40 | .co_scrollbar._horizontal { 41 | height: 6px; 42 | left: 2px; 43 | } 44 | .co_scrollbar._horizontal.top { 45 | top: 2px 46 | } 47 | 48 | .co_scrollbar .thumb { 49 | position: relative; 50 | display: block; 51 | width: 0; 52 | height: 0; 53 | cursor: pointer; 54 | border-radius: inherit; 55 | background-color: rgba(150,150,150,.5); 56 | transform: translate3d(0,0,0); 57 | } 58 | 59 | .co_scrollbar .thumb:hover, 60 | .co_scrollbar .thumb:active { 61 | background-color: rgba(150,150,150,.6); 62 | } 63 | 64 | .co_scrollbar._vertical .thumb { 65 | width: 100%; 66 | } 67 | 68 | .co_scrollbar._horizontal .thumb { 69 | height: 100%; 70 | } 71 | 72 | .co_overlay-scroll .co_overlay-viewport { 73 | width: 100%; 74 | height: 100%; 75 | overflow: scroll; 76 | transform: translate3d(0,0,0); 77 | -webkit-overflow-scrolling: touch; 78 | } 79 | 80 | .co_overlay-scroll.dark-mode .co_scrollbar .thumb { 81 | background-color: rgba(0,0,0,.5); 82 | } 83 | .co_overlay-scroll.dark-mode .co_scrollbar .thumb:hover, 84 | .co_overlay-scroll.dark-mode .co_scrollbar .thumb:active { 85 | background-color: rgba(0,0,0,.7); 86 | } 87 | .co_overlay-scroll.scroll-hide .co_scrollbar, 88 | .co_overlay-scroll.vertical_disabled .co_scrollbar._vertical, 89 | .co_overlay-scroll.horizontal_disabled .co_scrollbar._horizontal{ 90 | display: none; 91 | } 92 | .co_overlay-scroll.vertical_disabled .co_overlay-viewport { 93 | overflow-y: hidden; 94 | } 95 | .co_overlay-scroll.horizontal_disabled .co_overlay-viewport { 96 | overflow-x: hidden; 97 | } 98 | .co_overlay-scroll.scroll-auto .co_scrollbar { 99 | opacity: 0; 100 | transition: opacity 120ms ease-out; 101 | } 102 | .co_overlay-scroll.scroll-auto:hover > .co_scrollbar, 103 | .co_overlay-scroll.scroll-auto:active > .co_scrollbar, 104 | .co_overlay-scroll.scroll-auto:focus > .co_scrollbar { 105 | opacity: 1; 106 | transition: opacity 340ms ease-out; 107 | } 108 | 109 | .co_resize-trigger { 110 | position: absolute; 111 | display: block; 112 | top: 0; 113 | left: 0; 114 | height: 100%; 115 | width: 100%; 116 | overflow: hidden; 117 | pointer-events: none; 118 | z-index: -1; 119 | opacity: 0; 120 | } 121 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | var CoCreateOverlayScroll = (function() { 2 | var _base; 3 | 4 | var SCROLLBAR_WIDTH = getScrollbarWidth(); 5 | var CLASSNAMES = { 6 | element: 'co_overlay-scroll', 7 | verticalScrollbar: 'co_scrollbar _vertical', 8 | horizontalScrollbar: 'co_scrollbar _horizontal', 9 | thumb: 'thumb', 10 | view: 'co_overlay-viewport', 11 | disable: 'co_scrollbar-disable-selection', 12 | prevented: 'co_prevented', 13 | resizeTrigger: 'co_resize-trigger', 14 | }; 15 | 16 | function getScrollbarWidth() { 17 | var e = document.createElement('div'), sw; 18 | e.style.position = 'absolute'; 19 | e.style.top = '-9999px'; 20 | e.style.width = '100px'; 21 | e.style.height = '100px'; 22 | e.style.overflow = 'scroll'; 23 | e.style.msOverflowStyle = 'scrollbar'; 24 | document.body.appendChild(e); 25 | sw = (e.offsetWidth - e.clientWidth); 26 | document.body.removeChild(e); 27 | return sw; 28 | } 29 | 30 | function isSubstr (str, sub) { 31 | if (str.indexOf(sub) > -1) return true; 32 | return false; 33 | } 34 | 35 | function addClass(el, classNames) { 36 | if (el.classList) { 37 | return classNames.forEach(function(cl) { 38 | el.classList.add(cl); 39 | }); 40 | } 41 | el.className += ' ' + classNames.join(' '); 42 | } 43 | 44 | function removeClass(el, classNames) { 45 | if (el.classList) { 46 | return classNames.forEach(function(cl) { 47 | el.classList.remove(cl); 48 | }); 49 | } 50 | el.className = el.className.replace(new RegExp('(^|\\b)' + classNames.join('|') + '(\\b|$)', 'gi'), ' '); 51 | } 52 | 53 | function innerDomElement ( target, selector, isInnerWrap = false) { 54 | var innerEle = target.querySelector(selector); 55 | if (!innerEle) { 56 | innerEle = document.createElement('div'); 57 | if (isInnerWrap){ 58 | while(target.childNodes.length > 0) { 59 | innerEle.appendChild(target.childNodes[0]); 60 | } 61 | } 62 | target.appendChild(innerEle); 63 | } 64 | 65 | return innerEle; 66 | } 67 | 68 | function isIE() { 69 | var agent = navigator.userAgent.toLowerCase(); 70 | return agent.indexOf("msie") !== -1 || agent.indexOf("trident") !== -1 || agent.indexOf(" edge/") !== -1; 71 | } 72 | 73 | function ScrollInstance(el) { 74 | var _instance = { 75 | element : el, 76 | options : { 77 | visible: 'show', 78 | hScroll: { behavior: 'scroll', pos: 'bottom' }, 79 | vScroll: { behavior: 'scroll', pos: 'right' } 80 | }, 81 | forceGemini : false, 82 | onResize : null, 83 | minThumbSize : 20, 84 | 85 | _cache : {events: {}}, 86 | _cursorDown : false, 87 | _prevPageX : 0, 88 | _prevPageY : 0, 89 | 90 | _document : null, 91 | _viewElement : null, 92 | _scrollbarVerticalElement : null, 93 | _thumbVerticalElement : null, 94 | _scrollbarHorizontalElement : null, 95 | _scrollbarHorizontalElement : null 96 | } 97 | 98 | _instance.initDomOptions = function() { 99 | var scrollTypes = this.element.dataset.overlayScroll_type; 100 | if (typeof scrollTypes !== 'undefined'){ 101 | scrollTypes = scrollTypes.toLowerCase(); 102 | this.options.hScroll.behavior = isSubstr(scrollTypes, 'scrollx') ? "scroll" : "_disabled"; 103 | this.options.vScroll.behavior = isSubstr(scrollTypes, 'scrolly') ? "scroll" : "_disabled"; 104 | } 105 | 106 | var scrollPos = this.element.dataset.overlayScroll_pos; 107 | if (typeof scrollPos !== 'undefined'){ 108 | scrollPos = scrollPos.toLowerCase(); 109 | this.options.hScroll.pos = isSubstr(scrollPos, 'top') ? 'top' : 'bottom'; 110 | this.options.vScroll.pos = isSubstr(scrollPos, 'left') ? 'left' : 'right'; 111 | } 112 | 113 | var scrollVisible = this.element.dataset.overlayScroll_visible; 114 | var visibles = ['show', 'hide', 'auto']; 115 | if (typeof scrollVisible !== 'undefined'){ 116 | scrollVisible = scrollVisible.toLowerCase(); 117 | this.options.visible = visibles.indexOf(scrollVisible) > -1 ? scrollVisible : 'show'; 118 | } 119 | 120 | console.log(this.options); 121 | } 122 | 123 | _instance.create = function() { 124 | this.initDomOptions(); 125 | 126 | if ( !SCROLLBAR_WIDTH ) { 127 | addClass(this.element, [CLASSNAMES.prevented]); 128 | 129 | if (this.onResize) { 130 | this._viewElement = innerDomElement(this.element, ':scope > .' + CLASSNAMES.view, true); 131 | addClass(this._viewElement, [CLASSNAMES.view]); 132 | 133 | this._createResizeTrigger(); 134 | } 135 | } else { 136 | var targetClassNames = [] 137 | if (this.options.visible !== 'show') targetClassNames.push('scroll-' + this.options.visible); 138 | if (this.options.hScroll.behavior !== 'scroll') targetClassNames.push('horizontal' + this.options.hScroll.behavior); 139 | if (this.options.vScroll.behavior !== 'scroll') targetClassNames.push('vertical' + this.options.vScroll.behavior); 140 | addClass(this.element, targetClassNames); 141 | 142 | this._document = document; 143 | 144 | this._viewElement = innerDomElement(this.element, ':scope > .' + CLASSNAMES.view, true); 145 | addClass(this._viewElement, [CLASSNAMES.view]); 146 | 147 | this._scrollbarHorizontalElement = innerDomElement(this.element, ':scope > .' + CLASSNAMES.horizontalScrollbar.split(' ').join('.')); 148 | this._thumbHorizontalElement = innerDomElement(this._scrollbarHorizontalElement, ':scope > .' + CLASSNAMES.thumb); 149 | 150 | var hScrollClassNames = CLASSNAMES.horizontalScrollbar.split(/\s/); 151 | hScrollClassNames.push(this.options.hScroll.pos); 152 | 153 | addClass(this._scrollbarHorizontalElement, hScrollClassNames); 154 | addClass(this._thumbHorizontalElement, [CLASSNAMES.thumb]); 155 | 156 | this._scrollbarVerticalElement = innerDomElement(this.element, ':scope > .' + CLASSNAMES.verticalScrollbar.split(' ').join('.')); 157 | this._thumbVerticalElement = innerDomElement(this._scrollbarVerticalElement, ':scope > .' + CLASSNAMES.thumb); 158 | 159 | var vScrollClassNames = CLASSNAMES.verticalScrollbar.split(/\s/); 160 | vScrollClassNames.push(this.options.vScroll.pos); 161 | 162 | addClass(this._scrollbarVerticalElement, vScrollClassNames); 163 | addClass(this._thumbVerticalElement, [CLASSNAMES.thumb]); 164 | 165 | 166 | } 167 | 168 | this._createResizeTrigger(); 169 | return this._bindEvents().update(); 170 | }; 171 | 172 | _instance._createResizeTrigger = function() { 173 | var obj = document.createElement('object'); 174 | addClass(obj, [CLASSNAMES.resizeTrigger]); 175 | obj.type = 'text/html'; 176 | obj.setAttribute('tabindex', '-1'); 177 | var resizeHandler = this._resizeHandler.bind(this); 178 | obj.onload = function () { 179 | var win = obj.contentDocument.defaultView; 180 | win.addEventListener('resize', resizeHandler); 181 | }; 182 | 183 | if (!isIE()) obj.data = 'about:blank'; 184 | 185 | this.element.appendChild(obj); 186 | 187 | if (isIE()) obj.data = 'about:blank'; 188 | this._resizeTriggerElement = obj; 189 | }; 190 | 191 | _instance.update = function() { 192 | if (!SCROLLBAR_WIDTH) return this; 193 | 194 | this._viewElement.style.width = ((this.element.offsetWidth + SCROLLBAR_WIDTH).toString() + 'px'); 195 | this._viewElement.style.height = ((this.element.offsetHeight + SCROLLBAR_WIDTH).toString() + 'px'); 196 | 197 | this._naturalThumbSizeX = this._scrollbarHorizontalElement.clientWidth / this._viewElement.scrollWidth * this._scrollbarHorizontalElement.clientWidth; 198 | this._naturalThumbSizeY = this._scrollbarVerticalElement.clientHeight / this._viewElement.scrollHeight * this._scrollbarVerticalElement.clientHeight; 199 | 200 | this._scrollTopMax = this._viewElement.scrollHeight - this._viewElement.clientHeight; 201 | this._scrollLeftMax = this._viewElement.scrollWidth - this._viewElement.clientWidth; 202 | 203 | if (this._naturalThumbSizeY < this.minThumbSize) { 204 | this._thumbVerticalElement.style.height = this.minThumbSize + 'px'; 205 | } else if (this._scrollTopMax) { 206 | this._thumbVerticalElement.style.height = this._naturalThumbSizeY + 'px'; 207 | } else { 208 | this._thumbVerticalElement.style.height = '0px'; 209 | } 210 | 211 | if (this._naturalThumbSizeX < this.minThumbSize) { 212 | this._thumbHorizontalElement.style.width = this.minThumbSize + 'px'; 213 | } else if (this._scrollLeftMax) { 214 | this._thumbHorizontalElement.style.width = this._naturalThumbSizeX + 'px'; 215 | } else { 216 | this._thumbHorizontalElement.style.width = '0px'; 217 | } 218 | 219 | this._thumbSizeY = this._thumbVerticalElement.clientHeight; 220 | this._thumbSizeX = this._thumbHorizontalElement.clientWidth; 221 | 222 | this._trackTopMax = this._scrollbarVerticalElement.clientHeight - this._thumbSizeY; 223 | this._trackLeftMax = this._scrollbarHorizontalElement.clientWidth - this._thumbSizeX; 224 | 225 | this._scrollHandler(); 226 | 227 | return this; 228 | }; 229 | 230 | _instance.destroy = function() { 231 | if (this._resizeTriggerElement) { 232 | this.element.removeChild(this._resizeTriggerElement); 233 | this._resizeTriggerElement = null; 234 | } 235 | 236 | if (!SCROLLBAR_WIDTH) return this; 237 | 238 | this._unbinEvents(); 239 | 240 | removeClass(this.element, [CLASSNAMES.element, 'scroll-' + this.options.visible]); 241 | 242 | this.element.removeChild(this._scrollbarVerticalElement); 243 | this.element.removeChild(this._scrollbarHorizontalElement); 244 | while(this._viewElement.childNodes.length > 0) { 245 | this.element.appendChild(this._viewElement.childNodes[0]); 246 | } 247 | this.element.removeChild(this._viewElement); 248 | 249 | this._document = null; 250 | 251 | return null; 252 | }; 253 | 254 | _instance._bindEvents = function() { 255 | this._cache.events.scrollHandler = this._scrollHandler.bind(this); 256 | this._cache.events.clickVerticalTrackHandler = this._clickVerticalTrackHandler.bind(this); 257 | this._cache.events.clickHorizontalTrackHandler = this._clickHorizontalTrackHandler.bind(this); 258 | this._cache.events.clickVerticalThumbHandler = this._clickVerticalThumbHandler.bind(this); 259 | this._cache.events.clickHorizontalThumbHandler = this._clickHorizontalThumbHandler.bind(this); 260 | this._cache.events.mouseUpDocumentHandler = this._mouseUpDocumentHandler.bind(this); 261 | this._cache.events.mouseMoveDocumentHandler = this._mouseMoveDocumentHandler.bind(this); 262 | 263 | this._viewElement.addEventListener('scroll', this._cache.events.scrollHandler); 264 | this._scrollbarVerticalElement.addEventListener('mousedown', this._cache.events.clickVerticalTrackHandler); 265 | this._scrollbarHorizontalElement.addEventListener('mousedown', this._cache.events.clickHorizontalTrackHandler); 266 | this._thumbVerticalElement.addEventListener('mousedown', this._cache.events.clickVerticalThumbHandler); 267 | this._thumbHorizontalElement.addEventListener('mousedown', this._cache.events.clickHorizontalThumbHandler); 268 | this._document.addEventListener('mouseup', this._cache.events.mouseUpDocumentHandler); 269 | 270 | return this; 271 | }; 272 | 273 | _instance._unbinEvents = function() { 274 | this._viewElement.removeEventListener('scroll', this._cache.events.scrollHandler); 275 | this._scrollbarVerticalElement.removeEventListener('mousedown', this._cache.events.clickVerticalTrackHandler); 276 | this._scrollbarHorizontalElement.removeEventListener('mousedown', this._cache.events.clickHorizontalTrackHandler); 277 | this._thumbVerticalElement.removeEventListener('mousedown', this._cache.events.clickVerticalThumbHandler); 278 | this._thumbHorizontalElement.removeEventListener('mousedown', this._cache.events.clickHorizontalThumbHandler); 279 | this._document.removeEventListener('mouseup', this._cache.events.mouseUpDocumentHandler); 280 | this._document.removeEventListener('mousemove', this._cache.events.mouseMoveDocumentHandler); 281 | 282 | return this; 283 | }; 284 | 285 | _instance._scrollHandler = function() { 286 | var x = (this._viewElement.scrollLeft * this._trackLeftMax / this._scrollLeftMax) || 0; 287 | var y = (this._viewElement.scrollTop * this._trackTopMax / this._scrollTopMax) || 0; 288 | 289 | this._thumbHorizontalElement.style.msTransform = 'translateX(' + x + 'px)'; 290 | this._thumbHorizontalElement.style.webkitTransform = 'translate3d(' + x + 'px, 0, 0)'; 291 | this._thumbHorizontalElement.style.transform = 'translate3d(' + x + 'px, 0, 0)'; 292 | 293 | if (this.options.vScroll.behavior == 'scroll'){ 294 | this._thumbVerticalElement.style.msTransform = 'translateY(' + y + 'px)'; 295 | this._thumbVerticalElement.style.webkitTransform = 'translate3d(0, ' + y + 'px, 0)'; 296 | this._thumbVerticalElement.style.transform = 'translate3d(0, ' + y + 'px, 0)'; 297 | } 298 | }; 299 | 300 | _instance._resizeHandler = function() { 301 | this.update(); 302 | if (this.onResize) { 303 | this.onResize(); 304 | } 305 | }; 306 | 307 | _instance._clickVerticalTrackHandler = function(e) { 308 | if (e.target !== e.currentTarget) { 309 | return; 310 | } 311 | var offset = e.offsetY - this._naturalThumbSizeY * .5 312 | , thumbPositionPercentage = offset * 100 / this._scrollbarVerticalElement.clientHeight; 313 | 314 | this._viewElement.scrollTop = thumbPositionPercentage * this._viewElement.scrollHeight / 100; 315 | }; 316 | 317 | _instance._clickHorizontalTrackHandler = function(e) { 318 | if (e.target !== e.currentTarget) { 319 | return; 320 | } 321 | var offset = e.offsetX - this._naturalThumbSizeX * .5 322 | , thumbPositionPercentage = offset * 100 / this._scrollbarHorizontalElement.clientWidth; 323 | 324 | this._viewElement.scrollLeft = thumbPositionPercentage * this._viewElement.scrollWidth / 100; 325 | }; 326 | 327 | _instance._clickVerticalThumbHandler = function(e) { 328 | this._startDrag(e); 329 | this._prevPageY = this._thumbSizeY - e.offsetY; 330 | }; 331 | 332 | _instance._clickHorizontalThumbHandler = function(e) { 333 | this._startDrag(e); 334 | this._prevPageX = this._thumbSizeX - e.offsetX; 335 | }; 336 | 337 | _instance._startDrag = function(e) { 338 | this._cursorDown = true; 339 | addClass(document.body, [CLASSNAMES.disable]); 340 | this._document.addEventListener('mousemove', this._cache.events.mouseMoveDocumentHandler); 341 | this._document.onselectstart = function() {return false;}; 342 | }; 343 | 344 | _instance._mouseUpDocumentHandler = function() { 345 | this._cursorDown = false; 346 | this._prevPageX = this._prevPageY = 0; 347 | removeClass(document.body, [CLASSNAMES.disable]); 348 | this._document.removeEventListener('mousemove', this._cache.events.mouseMoveDocumentHandler); 349 | this._document.onselectstart = null; 350 | }; 351 | 352 | _instance._mouseMoveDocumentHandler = function(e) { 353 | if (this._cursorDown === false) {return;} 354 | 355 | var offset, thumbClickPosition; 356 | 357 | if (this._prevPageY) { 358 | offset = e.clientY - this._scrollbarVerticalElement.getBoundingClientRect().top; 359 | thumbClickPosition = this._thumbSizeY - this._prevPageY; 360 | 361 | this._viewElement.scrollTop = this._scrollTopMax * (offset - thumbClickPosition) / this._trackTopMax; 362 | 363 | return void 0; 364 | } 365 | 366 | if (this._prevPageX) { 367 | offset = e.clientX - this._scrollbarHorizontalElement.getBoundingClientRect().left; 368 | thumbClickPosition = this._thumbSizeX - this._prevPageX; 369 | 370 | this._viewElement.scrollLeft = this._scrollLeftMax * (offset - thumbClickPosition) / this._trackLeftMax; 371 | } 372 | }; 373 | 374 | _instance.create(); 375 | return _instance; 376 | } 377 | 378 | _base = { 379 | 380 | _objects: [], 381 | 382 | init: function() { 383 | var scrollEles = document.querySelectorAll('.co_overlay-scroll'); 384 | for(var i = 0; i < scrollEles.length; i++){ 385 | this.createObj(scrollEles[i]); 386 | } 387 | }, 388 | checkExistObj: function(el) { 389 | for(var i = 0; i < this._objects.length; i++){ 390 | if (el.isSameNode(this._objects[i].el)) return true; 391 | } 392 | return false; 393 | }, 394 | createObj: function(el) { 395 | if (this.checkExistObj(el)) return; 396 | this._objects.push(new ScrollInstance(el)); 397 | } 398 | }; 399 | 400 | return _base; 401 | })(); 402 | 403 | CoCreateOverlayScroll.init(); 404 | 405 | export default CoCreateOverlayScroll; -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- 1 | const path = require("path"); 2 | const MiniCssExtractPlugin = require("mini-css-extract-plugin"); 3 | const { EsbuildPlugin } = require("esbuild-loader"); 4 | const { FileUploader } = require("@cocreate/webpack"); 5 | 6 | module.exports = async (env, argv) => { 7 | const isProduction = argv && argv.mode === "production"; 8 | const config = { 9 | entry: { 10 | "CoCreate-overlay-scroll": "./src/index.js" 11 | }, 12 | output: { 13 | path: path.resolve(__dirname, "dist"), 14 | filename: isProduction ? "[name].min.js" : "[name].js", 15 | libraryExport: "default", 16 | library: ["CoCreate", "overlayScroll"], 17 | clean: true 18 | }, 19 | plugins: [ 20 | new MiniCssExtractPlugin({ 21 | filename: isProduction ? "[name].min.css" : "[name].css" 22 | }), 23 | new FileUploader(env, argv) 24 | ], 25 | mode: isProduction ? "production" : "development", 26 | devtool: isProduction ? "source-map" : "eval-source-map", 27 | module: { 28 | rules: [ 29 | { 30 | test: /.js$/, 31 | exclude: /node_modules/, 32 | use: { 33 | loader: "esbuild-loader", 34 | options: { 35 | loader: "js", 36 | target: "es2017" 37 | } 38 | } 39 | }, 40 | { 41 | test: /.css$/i, 42 | use: [MiniCssExtractPlugin.loader, "css-loader"] 43 | } 44 | ] 45 | }, 46 | optimization: { 47 | minimize: isProduction, 48 | minimizer: [ 49 | new EsbuildPlugin({ 50 | target: "es2017", 51 | css: true 52 | }) 53 | ], 54 | splitChunks: { 55 | cacheGroups: { 56 | defaultVendors: false 57 | } 58 | } 59 | }, 60 | performance: { 61 | hints: isProduction ? "warning" : false 62 | } 63 | }; 64 | return config; 65 | }; 66 | --------------------------------------------------------------------------------