├── .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 ├── package.json ├── prettier.config.js ├── release.config.js ├── src └── 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: /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.13.3](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.13.2...v1.13.3) (2025-05-01) 2 | 3 | 4 | ### Bug Fixes 5 | 6 | * update [@cocreate](https://github.com/cocreate) dependencies ([6e9e160](https://github.com/CoCreate-app/CoCreate-scroll/commit/6e9e1602133c73b5eac9d28dd5c16f545abd25f6)) 7 | 8 | ## [1.13.2](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.13.1...v1.13.2) (2025-04-30) 9 | 10 | 11 | ### Bug Fixes 12 | 13 | * added css-loader ([6eaf058](https://github.com/CoCreate-app/CoCreate-scroll/commit/6eaf058ae9360abfbec5057677ea2a990e28a95c)) 14 | * update query attributes ([880d5cd](https://github.com/CoCreate-app/CoCreate-scroll/commit/880d5cd9dc803eed53b671a27c6d6f7224d262a0)) 15 | * updated cocreate modules versions ([a8a0123](https://github.com/CoCreate-app/CoCreate-scroll/commit/a8a0123495ef8636753b343e06ce28b750be871a)) 16 | * webpack.config and devdependencies ([97fa1b1](https://github.com/CoCreate-app/CoCreate-scroll/commit/97fa1b15aaf2d2dd9c4d5d9827611978cf19e9c0)) 17 | 18 | ## [1.13.1](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.13.0...v1.13.1) (2025-04-11) 19 | 20 | 21 | ### Bug Fixes 22 | 23 | * update observer observe param to type and and attributeName to attributeFilter ([38c28e8](https://github.com/CoCreate-app/CoCreate-scroll/commit/38c28e8ccef5153cd4f6369ff7586c9d7b342922)) 24 | 25 | # [1.13.0](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.12.0...v1.13.0) (2024-11-04) 26 | 27 | 28 | ### Bug Fixes 29 | 30 | * observer taget has been renamed to selector ([c29bc49](https://github.com/CoCreate-app/CoCreate-scroll/commit/c29bc49a623dd66f5aee115636b77eae0b0ea27f)) 31 | * pretier.config.js and file formating ([a6b0297](https://github.com/CoCreate-app/CoCreate-scroll/commit/a6b0297dea674108e47f92afaabc4d0954686703)) 32 | * support for scrollable-y and scrollable-x attributes to detect if the element has a scroll ([2240d2f](https://github.com/CoCreate-app/CoCreate-scroll/commit/2240d2fec057b6d7dd036ad750e42d308f537b3c)) 33 | 34 | 35 | ### Features 36 | 37 | * add prettier.config.js and format files ([d96636c](https://github.com/CoCreate-app/CoCreate-scroll/commit/d96636cbf7eafb546ac789f9d093b8a1cb148c9d)) 38 | * add prettier.config.js and format files ([3f15adc](https://github.com/CoCreate-app/CoCreate-scroll/commit/3f15adc4c96c171119012168e8d60297fb2b37dd)) 39 | 40 | # [1.12.0](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.11.3...v1.12.0) (2024-09-21) 41 | 42 | 43 | ### Features 44 | 45 | * added CoCreate-actions ([e2c2a6a](https://github.com/CoCreate-app/CoCreate-scroll/commit/e2c2a6a3071ea691244874495f5d2426906e192d)) 46 | * scroll-to to set a scroll position top | bottom | left | right ([0c42fc1](https://github.com/CoCreate-app/CoCreate-scroll/commit/0c42fc1ce81b1bf585d5fd5508e1e1ff97de04c5)) 47 | 48 | ## [1.11.3](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.11.2...v1.11.3) (2024-06-12) 49 | 50 | 51 | ### Bug Fixes 52 | 53 | * bump cocreate dependencies ([c08effc](https://github.com/CoCreate-app/CoCreate-scroll/commit/c08effcdda017ee38af9dc3496c1899cc35c79ad)) 54 | * svg icon class ([cdc192a](https://github.com/CoCreate-app/CoCreate-scroll/commit/cdc192a957f4202a632f8efc088bdb6b9b7e88cb)) 55 | 56 | ## [1.11.2](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.11.1...v1.11.2) (2024-04-29) 57 | 58 | 59 | ### Bug Fixes 60 | 61 | * bump cocreate dependencies ([517dd4d](https://github.com/CoCreate-app/CoCreate-scroll/commit/517dd4df8e4f44b5f0a1360a22ddf221d883a4c1)) 62 | 63 | ## [1.11.1](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.11.0...v1.11.1) (2024-02-05) 64 | 65 | 66 | ### Bug Fixes 67 | 68 | * Removed https://cdn.cocreate.app/latest/CoCreate.min.css ([4514fef](https://github.com/CoCreate-app/CoCreate-scroll/commit/4514feffe05e8e1a388d7b9160ae688bb75cce6c)) 69 | 70 | # [1.11.0](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.10.0...v1.11.0) (2023-11-25) 71 | 72 | 73 | ### Features 74 | 75 | * upgrade dependencies for latest features and fixes ([b96df2c](https://github.com/CoCreate-app/CoCreate-scroll/commit/b96df2c95bc758e9c5ddb6433f4e46021cc8f643)) 76 | 77 | # [1.10.0](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.9.0...v1.10.0) (2023-11-25) 78 | 79 | 80 | ### Bug Fixes 81 | 82 | * update nav, edit button and css path ([1c50ee0](https://github.com/CoCreate-app/CoCreate-scroll/commit/1c50ee06cb3ed14fc56930894b80bfce625e9f3c)) 83 | 84 | 85 | ### Features 86 | 87 | * upgrade dependencies for latest features and fixes ([780e31e](https://github.com/CoCreate-app/CoCreate-scroll/commit/780e31e5e061eac4b6a68e7efd27e69fd941e2a3)) 88 | 89 | # [1.9.0](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.8.9...v1.9.0) (2023-11-19) 90 | 91 | 92 | ### Features 93 | 94 | * update dependecies for th latest features and bug fixes ([aaccfcc](https://github.com/CoCreate-app/CoCreate-scroll/commit/aaccfcc826cdbb5cfbaa3e9e84a4fc64ea5702fd)) 95 | 96 | ## [1.8.9](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.8.8...v1.8.9) (2023-11-12) 97 | 98 | 99 | ### Bug Fixes 100 | 101 | * bump dependencies for latest features ([b3b145a](https://github.com/CoCreate-app/CoCreate-scroll/commit/b3b145ab0ff60ce5dbb8acc519667ff951f61e52)) 102 | 103 | ## [1.8.8](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.8.7...v1.8.8) (2023-11-09) 104 | 105 | 106 | ### Bug Fixes 107 | 108 | * meta name typo ([9e3f03e](https://github.com/CoCreate-app/CoCreate-scroll/commit/9e3f03e81c2e4164760eb503c0d05e3fe11d8577)) 109 | * update host ([7f4c151](https://github.com/CoCreate-app/CoCreate-scroll/commit/7f4c1511d977cd20cf0336e0f4b6a5437ab0991d)) 110 | 111 | ## [1.8.7](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.8.6...v1.8.7) (2023-11-03) 112 | 113 | 114 | ### Bug Fixes 115 | 116 | * update dependencies to the lates versions ([f81ea88](https://github.com/CoCreate-app/CoCreate-scroll/commit/f81ea88c7fee38c1b56d98a87efc7eaddf894583)) 117 | 118 | ## [1.8.6](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.8.5...v1.8.6) (2023-10-25) 119 | 120 | 121 | ### Bug Fixes 122 | 123 | * bump dependencies ([12e017d](https://github.com/CoCreate-app/CoCreate-scroll/commit/12e017d6a99b819d0f777ae7623517ca008994df)) 124 | 125 | ## [1.8.5](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.8.4...v1.8.5) (2023-10-14) 126 | 127 | 128 | ### Bug Fixes 129 | 130 | * bump dependencies ([8d8947d](https://github.com/CoCreate-app/CoCreate-scroll/commit/8d8947df49c24519198bd0e2541cfc7edf906f3b)) 131 | 132 | ## [1.8.4](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.8.3...v1.8.4) (2023-10-09) 133 | 134 | 135 | ### Bug Fixes 136 | 137 | * bump dependencies ([6434fe5](https://github.com/CoCreate-app/CoCreate-scroll/commit/6434fe53097ad149ed75aadd51ee6e682bf49760)) 138 | 139 | ## [1.8.3](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.8.2...v1.8.3) (2023-10-09) 140 | 141 | 142 | ### Bug Fixes 143 | 144 | * bump dependencies ([461a8e1](https://github.com/CoCreate-app/CoCreate-scroll/commit/461a8e14191909c4169d81e98eb0a91c65eeb39d)) 145 | 146 | ## [1.8.2](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.8.1...v1.8.2) (2023-09-18) 147 | 148 | 149 | ### Bug Fixes 150 | 151 | * Add path and pathname ([ad9c6ef](https://github.com/CoCreate-app/CoCreate-scroll/commit/ad9c6ef3aa60854d7e139898cd9afb8a4475c069)) 152 | * Update CoCreate depndencies to latest versions ([4f26adc](https://github.com/CoCreate-app/CoCreate-scroll/commit/4f26adc6f13d0612f200f76d4e07747b3fc699d5)) 153 | 154 | ## [1.8.1](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.8.0...v1.8.1) (2023-08-21) 155 | 156 | 157 | ### Bug Fixes 158 | 159 | * bump dependencies ([a08b1d8](https://github.com/CoCreate-app/CoCreate-scroll/commit/a08b1d8540a64f7213dc3ae515c8df5fa916b0d4)) 160 | 161 | # [1.8.0](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.7.1...v1.8.0) (2023-08-21) 162 | 163 | 164 | ### Features 165 | 166 | * Update cocreate dependencies for the latest features and bug fixes ([5b87fbe](https://github.com/CoCreate-app/CoCreate-scroll/commit/5b87fbe690b212c78a2d34c4b5272eed163a4ef7)) 167 | 168 | ## [1.7.1](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.7.0...v1.7.1) (2023-08-21) 169 | 170 | 171 | ### Bug Fixes 172 | 173 | * /dist/CoCreate.js updated to https://CoCreate.app/dist/CoCreate.js ([f541db3](https://github.com/CoCreate-app/CoCreate-scroll/commit/f541db3683d2ae229d27d2a2820f3f1c687b73ee)) 174 | * replace cdn with /dist ([3e0141a](https://github.com/CoCreate-app/CoCreate-scroll/commit/3e0141a4cc3dfb148b770861a020142cbd00e66b)) 175 | * update file uploader ([a416fb8](https://github.com/CoCreate-app/CoCreate-scroll/commit/a416fb8f6275054529f8ddcd73d88e2608140a39)) 176 | 177 | # [1.7.0](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.6.0...v1.7.0) (2023-08-17) 178 | 179 | 180 | ### Features 181 | 182 | * bump cocreate dependencies for the latest updates and features ([d237287](https://github.com/CoCreate-app/CoCreate-scroll/commit/d237287ad81b6464cfe4b5f47d6a99aac778a5d3)) 183 | 184 | # [1.6.0](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.28...v1.6.0) (2023-08-16) 185 | 186 | 187 | ### Bug Fixes 188 | 189 | * crud attributes renamed ([973d02d](https://github.com/CoCreate-app/CoCreate-scroll/commit/973d02d5cfaa0f091d5b7ddd809d9221da6cf90d)) 190 | * replace -target -selector ([bc8aecc](https://github.com/CoCreate-app/CoCreate-scroll/commit/bc8aecc98134e9e8ff032527dfc61aef16cb87bc)) 191 | * webpack.config and package.json make use of mode=production instead of process.env ([bffad89](https://github.com/CoCreate-app/CoCreate-scroll/commit/bffad894608346a240a1d62969b878277a0e6ef4)) 192 | 193 | 194 | ### Features 195 | 196 | * name attribute and variable renamed to key ([6f7e1b0](https://github.com/CoCreate-app/CoCreate-scroll/commit/6f7e1b04f300350c7423075998c11d56173cb098)) 197 | 198 | ## [1.5.28](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.27...v1.5.28) (2023-06-14) 199 | 200 | 201 | ### Bug Fixes 202 | 203 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([3a75aef](https://github.com/CoCreate-app/CoCreate-scroll/commit/3a75aefc5ce12450444d4c916b3d785a617bade8)) 204 | 205 | ## [1.5.27](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.26...v1.5.27) (2023-06-11) 206 | 207 | 208 | ### Bug Fixes 209 | 210 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([575fbf6](https://github.com/CoCreate-app/CoCreate-scroll/commit/575fbf613bcb471620db9075dfff00a0f9577d27)) 211 | 212 | ## [1.5.26](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.25...v1.5.26) (2023-06-11) 213 | 214 | 215 | ### Bug Fixes 216 | 217 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([faeb304](https://github.com/CoCreate-app/CoCreate-scroll/commit/faeb304d66b18ee964b269d440dd688d5f550163)) 218 | 219 | ## [1.5.25](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.24...v1.5.25) (2023-06-11) 220 | 221 | 222 | ### Bug Fixes 223 | 224 | * testing workflow ([11689e6](https://github.com/CoCreate-app/CoCreate-scroll/commit/11689e63863d7aef8f06cffaa2963016edfa2681)) 225 | 226 | ## [1.5.24](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.23...v1.5.24) (2023-06-11) 227 | 228 | 229 | ### Bug Fixes 230 | 231 | * testing workflow ([89ddac4](https://github.com/CoCreate-app/CoCreate-scroll/commit/89ddac42533e3e424e9c48d607d606dcf5505b3e)) 232 | 233 | ## [1.5.23](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.22...v1.5.23) (2023-06-11) 234 | 235 | 236 | ### Bug Fixes 237 | 238 | * testing workflow ([bba359e](https://github.com/CoCreate-app/CoCreate-scroll/commit/bba359ef3be24b648baf572db863401969ecc6e1)) 239 | * testing workflow ([41624e0](https://github.com/CoCreate-app/CoCreate-scroll/commit/41624e0552e3b57cdeb9b6f52d2708759ad67e9e)) 240 | 241 | ## [1.5.22](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.21...v1.5.22) (2023-06-11) 242 | 243 | 244 | ### Bug Fixes 245 | 246 | * testing workflow ([91d24a0](https://github.com/CoCreate-app/CoCreate-scroll/commit/91d24a082f207de76f81dd56f678705c9f6727eb)) 247 | 248 | ## [1.5.21](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.20...v1.5.21) (2023-06-11) 249 | 250 | 251 | ### Bug Fixes 252 | 253 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([a6ba207](https://github.com/CoCreate-app/CoCreate-scroll/commit/a6ba207ee44724e18e97f71891eefd6bdfe49964)) 254 | 255 | ## [1.5.20](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.19...v1.5.20) (2023-06-11) 256 | 257 | 258 | ### Bug Fixes 259 | 260 | * postintall error ([dc1d914](https://github.com/CoCreate-app/CoCreate-scroll/commit/dc1d914bbfc75a20ef5077c9b98e1903f607a64d)) 261 | 262 | ## [1.5.19](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.18...v1.5.19) (2023-06-11) 263 | 264 | 265 | ### Bug Fixes 266 | 267 | * @cocreate/cli moved to dependencies ([efb82ae](https://github.com/CoCreate-app/CoCreate-scroll/commit/efb82aec105624bf2fa9d49125a03a89f7376299)) 268 | 269 | ## [1.5.18](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.17...v1.5.18) (2023-06-11) 270 | 271 | 272 | ### Bug Fixes 273 | 274 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([6891baf](https://github.com/CoCreate-app/CoCreate-scroll/commit/6891bafb72c4b8e410b7ebecfdf81202437cac5e)) 275 | 276 | ## [1.5.17](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.16...v1.5.17) (2023-06-11) 277 | 278 | 279 | ### Bug Fixes 280 | 281 | * renamed hosts to host. the value can be a string or an array of strings ([e4d7b36](https://github.com/CoCreate-app/CoCreate-scroll/commit/e4d7b3660c7289606638cc0b00580cc90aee7069)) 282 | 283 | ## [1.5.16](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.15...v1.5.16) (2023-06-10) 284 | 285 | 286 | ### Bug Fixes 287 | 288 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([ee7f06a](https://github.com/CoCreate-app/CoCreate-scroll/commit/ee7f06a3973c224a2bf7007b07e6c70deb0de152)) 289 | 290 | ## [1.5.15](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.14...v1.5.15) (2023-06-10) 291 | 292 | 293 | ### Bug Fixes 294 | 295 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([a2fe2f8](https://github.com/CoCreate-app/CoCreate-scroll/commit/a2fe2f84505c69da34150309277a67a7f721a756)) 296 | 297 | ## [1.5.14](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.13...v1.5.14) (2023-06-04) 298 | 299 | 300 | ### Bug Fixes 301 | 302 | * Refactor CoCreate.config.js to remove hard-coded credentials ([1f42ae4](https://github.com/CoCreate-app/CoCreate-scroll/commit/1f42ae456856150911f290cd4a1ec91fe596db4e)) 303 | 304 | ## [1.5.13](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.12...v1.5.13) (2023-06-04) 305 | 306 | 307 | ### Bug Fixes 308 | 309 | * replaced secert GITHUB_TOKEN with GITHUB ([2fc3e6d](https://github.com/CoCreate-app/CoCreate-scroll/commit/2fc3e6d681b48c769fcc72036b1e884005c6cb4e)) 310 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([d45f60e](https://github.com/CoCreate-app/CoCreate-scroll/commit/d45f60ef043bdd28911047f5948ce7085f678f0b)) 311 | 312 | ## [1.5.12](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.11...v1.5.12) (2023-06-04) 313 | 314 | 315 | ### Bug Fixes 316 | 317 | * **semantic-release:** worklow error solved by running node version 14 ([2971d9c](https://github.com/CoCreate-app/CoCreate-scroll/commit/2971d9c5d249d5cc7e48e7e5c7967d1e498a553b)) 318 | 319 | ## [1.5.11](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.10...v1.5.11) (2023-06-02) 320 | 321 | 322 | ### Bug Fixes 323 | 324 | * format demo html ([ca10891](https://github.com/CoCreate-app/CoCreate-scroll/commit/ca10891e2cbcb07a6eb74ee4b06c28a7506e941e)) 325 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([d7ecf15](https://github.com/CoCreate-app/CoCreate-scroll/commit/d7ecf15f0bb151f98a5c60599cbf4d4ad6714ac1)) 326 | 327 | ## [1.5.10](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.9...v1.5.10) (2023-05-21) 328 | 329 | 330 | ### Bug Fixes 331 | 332 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([d8c49d2](https://github.com/CoCreate-app/CoCreate-scroll/commit/d8c49d27d861502edf13acdc27d86b7934083208)) 333 | 334 | ## [1.5.9](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.8...v1.5.9) (2023-05-19) 335 | 336 | 337 | ### Bug Fixes 338 | 339 | * 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. ([a423c23](https://github.com/CoCreate-app/CoCreate-scroll/commit/a423c23804e9c9418a250b91bb4e05655e6c8005)) 340 | 341 | ## [1.5.8](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.7...v1.5.8) (2023-05-10) 342 | 343 | 344 | ### Bug Fixes 345 | 346 | * apikey renamed to key ([9542ac0](https://github.com/CoCreate-app/CoCreate-scroll/commit/9542ac087c9667be61984a4e7a6848a386e3c746)) 347 | 348 | ## [1.5.7](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.6...v1.5.7) (2023-05-06) 349 | 350 | 351 | ### Bug Fixes 352 | 353 | * bump [@cocreate](https://github.com/cocreate) dependencies ([c51de49](https://github.com/CoCreate-app/CoCreate-scroll/commit/c51de49209ac82edec5d4545b9de7a8dbf38ecd6)) 354 | 355 | ## [1.5.6](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.5...v1.5.6) (2023-05-01) 356 | 357 | 358 | ### Bug Fixes 359 | 360 | * update manifest.json to manifest.webmanifest ([e6efc06](https://github.com/CoCreate-app/CoCreate-scroll/commit/e6efc06917da036935b9aeeb5727ece15cf282c6)) 361 | 362 | ## [1.5.5](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.4...v1.5.5) (2023-05-01) 363 | 364 | 365 | ### Bug Fixes 366 | 367 | * replace fontawesome with svg ([14af515](https://github.com/CoCreate-app/CoCreate-scroll/commit/14af5155856cc0b914b2f380517bd11175f50504)) 368 | 369 | ## [1.5.4](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.3...v1.5.4) (2023-04-30) 370 | 371 | 372 | ### Bug Fixes 373 | 374 | * fullscreen target updated to fullscreen fullscreen-target ([3720797](https://github.com/CoCreate-app/CoCreate-scroll/commit/37207977be97bf2f0c39260f3171fc4b357a97e1)) 375 | * package-lock.json and pnpm-lock.yaml added to .gitignore ([1975ab8](https://github.com/CoCreate-app/CoCreate-scroll/commit/1975ab8db69f90a65977d5a3eba4a227d1bf95ac)) 376 | * removed toogle fullscreen icons. now using css content ([b26eaa3](https://github.com/CoCreate-app/CoCreate-scroll/commit/b26eaa3485ff2a5976b3e928e9cc30b11ef58612)) 377 | 378 | ## [1.5.3](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.2...v1.5.3) (2023-04-24) 379 | 380 | 381 | ### Bug Fixes 382 | 383 | * updated worrkflows to v3 and node version 16 ([8ea727c](https://github.com/CoCreate-app/CoCreate-scroll/commit/8ea727cb51f17e44573e0fc66d1fdf207b439d65)) 384 | * workflow node version updated 16 ([c0aa9f1](https://github.com/CoCreate-app/CoCreate-scroll/commit/c0aa9f156294d620ebce0c4fc164dc79d760c9e3)) 385 | 386 | ## [1.5.2](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.1...v1.5.2) (2023-04-24) 387 | 388 | 389 | ### Bug Fixes 390 | 391 | * bump [@cocreate](https://github.com/cocreate) dependencies ([20e5348](https://github.com/CoCreate-app/CoCreate-scroll/commit/20e5348fc1dbe87b61aaea91a4de3cf6dd23a5e5)) 392 | 393 | ## [1.5.1](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.0...v1.5.1) (2023-04-24) 394 | 395 | 396 | ### Bug Fixes 397 | 398 | * removed uglifyjs-webpack-plugin ([02c9d58](https://github.com/CoCreate-app/CoCreate-scroll/commit/02c9d5862e4685ee7722e1544af9b36ddf39b8fb)) 399 | 400 | # [1.5.0](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.4.6...v1.5.0) (2023-04-24) 401 | 402 | 403 | ### Features 404 | 405 | * added pwa manifest ([811db48](https://github.com/CoCreate-app/CoCreate-scroll/commit/811db4832ae722d6b0da72d6a761d2d76237ad1f)) 406 | 407 | ## [1.4.6](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.4.5...v1.4.6) (2023-04-11) 408 | 409 | 410 | ### Bug Fixes 411 | 412 | * bump dependencies ([fd6fe47](https://github.com/CoCreate-app/CoCreate-scroll/commit/fd6fe47550e3f6875f908780d829b1da3328b0a1)) 413 | 414 | ## [1.4.5](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.4.4...v1.4.5) (2023-04-11) 415 | 416 | 417 | ### Bug Fixes 418 | 419 | * bump [@cocreate](https://github.com/cocreate) dependencies ([367e703](https://github.com/CoCreate-app/CoCreate-scroll/commit/367e7039ea5125b1a71c20aa8e0c05971e5dad73)) 420 | 421 | ## [1.4.4](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.4.3...v1.4.4) (2023-04-11) 422 | 423 | 424 | ### Bug Fixes 425 | 426 | * renamed domains to hosts ([e7bb782](https://github.com/CoCreate-app/CoCreate-scroll/commit/e7bb782d502ffaf08769bca53ee8ff50a755cad2)) 427 | 428 | ## [1.4.3](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.4.2...v1.4.3) (2023-03-30) 429 | 430 | 431 | ### Bug Fixes 432 | 433 | * bump [@cocreate](https://github.com/cocreate) dependencies' ([e478db9](https://github.com/CoCreate-app/CoCreate-scroll/commit/e478db91b816eb8722182b9cd79d2b57d11a753f)) 434 | 435 | ## [1.4.2](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.4.1...v1.4.2) (2023-03-16) 436 | 437 | 438 | ### Bug Fixes 439 | 440 | * bump dependencies' ([df92716](https://github.com/CoCreate-app/CoCreate-scroll/commit/df9271699ea3306b44c73b61002cbf0ad806874d)) 441 | 442 | ## [1.4.1](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.4.0...v1.4.1) (2023-03-16) 443 | 444 | 445 | ### Bug Fixes 446 | 447 | * bump dependencies' ([3d08482](https://github.com/CoCreate-app/CoCreate-scroll/commit/3d0848239c192cdbcfdb58889192ec29cbd5602b)) 448 | 449 | # [1.4.0](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.58...v1.4.0) (2023-03-16) 450 | 451 | 452 | ### Features 453 | 454 | * replaced get-value and set-value with a super charged version of CoCreate-events ([b2941c8](https://github.com/CoCreate-app/CoCreate-scroll/commit/b2941c8717812fd4deb60eb2e90016c6d37e6b4e)) 455 | 456 | ## [1.3.58](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.57...v1.3.58) (2023-02-01) 457 | 458 | 459 | ### Bug Fixes 460 | 461 | * bump dependencies ([d70ee5b](https://github.com/CoCreate-app/CoCreate-scroll/commit/d70ee5bcdf7753083b878984d32d5da4f54ca888)) 462 | 463 | ## [1.3.57](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.56...v1.3.57) (2023-01-31) 464 | 465 | 466 | ### Bug Fixes 467 | 468 | * bump dependencies ([e28218b](https://github.com/CoCreate-app/CoCreate-scroll/commit/e28218bd15cf0734b8a00f7f4ede1e9619ccc555)) 469 | 470 | ## [1.3.56](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.55...v1.3.56) (2023-01-30) 471 | 472 | 473 | ### Bug Fixes 474 | 475 | * bump dependencies ([2febf83](https://github.com/CoCreate-app/CoCreate-scroll/commit/2febf8359f0d81d891e709ac78ada23da491767a)) 476 | 477 | ## [1.3.55](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.54...v1.3.55) (2023-01-29) 478 | 479 | 480 | ### Bug Fixes 481 | 482 | * bump dependencies ([55c30ba](https://github.com/CoCreate-app/CoCreate-scroll/commit/55c30bafdb970956845c14fbaa82609d1d193ad8)) 483 | 484 | ## [1.3.54](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.53...v1.3.54) (2023-01-27) 485 | 486 | 487 | ### Bug Fixes 488 | 489 | * bump dependencies ([21fe358](https://github.com/CoCreate-app/CoCreate-scroll/commit/21fe35867ecd3d1b6d5af595aaef24958f9239a2)) 490 | 491 | ## [1.3.53](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.52...v1.3.53) (2023-01-13) 492 | 493 | 494 | ### Bug Fixes 495 | 496 | * bump dependencies ([d84a9b1](https://github.com/CoCreate-app/CoCreate-scroll/commit/d84a9b1374db48fe69495c0b55327aad96f8697e)) 497 | 498 | ## [1.3.52](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.51...v1.3.52) (2023-01-10) 499 | 500 | 501 | ### Bug Fixes 502 | 503 | * bump dependencies ([81ed4f1](https://github.com/CoCreate-app/CoCreate-scroll/commit/81ed4f1f72ee35c35f02399347381aebdb410102)) 504 | 505 | ## [1.3.51](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.50...v1.3.51) (2023-01-09) 506 | 507 | 508 | ### Bug Fixes 509 | 510 | * bump dependnecies ([0fd256c](https://github.com/CoCreate-app/CoCreate-scroll/commit/0fd256cc2949a6024d6e3078af7941df1b339005)) 511 | 512 | ## [1.3.50](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.49...v1.3.50) (2023-01-06) 513 | 514 | 515 | ### Bug Fixes 516 | 517 | * bump dependencies, worklow [@v3](https://github.com/v3) ([0cc096b](https://github.com/CoCreate-app/CoCreate-scroll/commit/0cc096b8832f9266a84a4405376f9b47c98e8b66)) 518 | * edit in github btn styles ([e6fa05b](https://github.com/CoCreate-app/CoCreate-scroll/commit/e6fa05b05f878d1e9b4d1f1158361575fd37051d)) 519 | 520 | ## [1.3.49](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.48...v1.3.49) (2023-01-05) 521 | 522 | 523 | ### Bug Fixes 524 | 525 | * bump cdn to 1.39.4 ([a851d69](https://github.com/CoCreate-app/CoCreate-scroll/commit/a851d69fa0a71d4a492554c595abeba5e3ef927f)) 526 | * bump dependencies ([b205994](https://github.com/CoCreate-app/CoCreate-scroll/commit/b205994dea93cde63cafd0d7c671a81e4050b9da)) 527 | 528 | ## [1.3.48](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.47...v1.3.48) (2023-01-01) 529 | 530 | 531 | ### Bug Fixes 532 | 533 | * docs sanbox overflow ([cea40e3](https://github.com/CoCreate-app/CoCreate-scroll/commit/cea40e3dd5d3d261841f879402be6c9711a3192b)) 534 | 535 | ## [1.3.47](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.46...v1.3.47) (2022-12-31) 536 | 537 | 538 | ### Bug Fixes 539 | 540 | * bump dependencies ([d1a21b0](https://github.com/CoCreate-app/CoCreate-scroll/commit/d1a21b0350c7b42a0d1f3f89f01d10c75a0e2ec4)) 541 | 542 | ## [1.3.46](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.45...v1.3.46) (2022-12-30) 543 | 544 | 545 | ### Bug Fixes 546 | 547 | * update config sources to use template braces with entry on src ([c48ecde](https://github.com/CoCreate-app/CoCreate-scroll/commit/c48ecdef07fcf80c19959a08f1a76d52a3abd7c4)) 548 | 549 | ## [1.3.45](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.44...v1.3.45) (2022-12-29) 550 | 551 | 552 | ### Bug Fixes 553 | 554 | * bump dependencies ([469300f](https://github.com/CoCreate-app/CoCreate-scroll/commit/469300ff6aefba87efdbb1b313319a0dffb4267a)) 555 | 556 | ## [1.3.44](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.43...v1.3.44) (2022-12-27) 557 | 558 | 559 | ### Bug Fixes 560 | 561 | * bump dependencies ([f0fcd7a](https://github.com/CoCreate-app/CoCreate-scroll/commit/f0fcd7ad31ad7c8c8e52c43b14915637ca0c09be)) 562 | 563 | ## [1.3.43](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.42...v1.3.43) (2022-12-25) 564 | 565 | 566 | ### Bug Fixes 567 | 568 | * bump dependencies ([963c721](https://github.com/CoCreate-app/CoCreate-scroll/commit/963c721c7d8ea2c5c73881bdd7d9031e10618849)) 569 | 570 | ## [1.3.42](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.41...v1.3.42) (2022-12-23) 571 | 572 | 573 | ### Bug Fixes 574 | 575 | * bump dependnecies ([b0a15d8](https://github.com/CoCreate-app/CoCreate-scroll/commit/b0a15d8c0032945130d2be5279a7c39b549da10c)) 576 | 577 | ## [1.3.41](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.40...v1.3.41) (2022-12-22) 578 | 579 | 580 | ### Bug Fixes 581 | 582 | * bump dependencies ([0996b8b](https://github.com/CoCreate-app/CoCreate-scroll/commit/0996b8b991952ed3cdfd0b271568b331d6e39f01)) 583 | * update cdn ([35d7f81](https://github.com/CoCreate-app/CoCreate-scroll/commit/35d7f81cca748877d923778d26f0fdf830d956aa)) 584 | 585 | ## [1.3.40](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.39...v1.3.40) (2022-12-22) 586 | 587 | 588 | ### Bug Fixes 589 | 590 | * update demos and bump dependencies ([2dfe193](https://github.com/CoCreate-app/CoCreate-scroll/commit/2dfe193001db942de1977ce2e9705d3b029914b8)) 591 | 592 | ## [1.3.39](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.38...v1.3.39) (2022-12-21) 593 | 594 | 595 | ### Bug Fixes 596 | 597 | * bump dependencies ([9854a02](https://github.com/CoCreate-app/CoCreate-scroll/commit/9854a027f04a692c58f803d5befabdb445265daa)) 598 | 599 | ## [1.3.38](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.37...v1.3.38) (2022-12-20) 600 | 601 | 602 | ### Bug Fixes 603 | 604 | * bump dependencies ([dadba21](https://github.com/CoCreate-app/CoCreate-scroll/commit/dadba21dd4594b3127531d3def8dc095dc7480c9)) 605 | 606 | ## [1.3.37](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.36...v1.3.37) (2022-12-15) 607 | 608 | 609 | ### Bug Fixes 610 | 611 | * add missing dev dependency style-loader ([ac00a29](https://github.com/CoCreate-app/CoCreate-scroll/commit/ac00a29fd657f5401faf7ab923e08dce55d9e159)) 612 | 613 | ## [1.3.36](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.35...v1.3.36) (2022-12-13) 614 | 615 | 616 | ### Bug Fixes 617 | 618 | * removed un used devDependencies ([3685d22](https://github.com/CoCreate-app/CoCreate-scroll/commit/3685d2286941fa25e36474d0ed5745676968def3)) 619 | 620 | ## [1.3.35](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.34...v1.3.35) (2022-12-13) 621 | 622 | 623 | ### Bug Fixes 624 | 625 | * bump dependencies ([65236f3](https://github.com/CoCreate-app/CoCreate-scroll/commit/65236f39a439c9d8b61de4cbefe2dc4c6ec2b1c2)) 626 | 627 | ## [1.3.34](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.33...v1.3.34) (2022-12-12) 628 | 629 | 630 | ### Bug Fixes 631 | 632 | * bump dependencies ([08713f7](https://github.com/CoCreate-app/CoCreate-scroll/commit/08713f7e782003249d692b804067a87b56429b56)) 633 | 634 | ## [1.3.33](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.32...v1.3.33) (2022-12-11) 635 | 636 | 637 | ### Bug Fixes 638 | 639 | * bump dependencies ([040a654](https://github.com/CoCreate-app/CoCreate-scroll/commit/040a654eafc234d84997a1a9bc782479af5f0a18)) 640 | 641 | ## [1.3.32](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.31...v1.3.32) (2022-12-09) 642 | 643 | 644 | ### Bug Fixes 645 | 646 | * bump dependencies ([6dc5330](https://github.com/CoCreate-app/CoCreate-scroll/commit/6dc533082f478291c02d469fdaacfe91e56ee1c4)) 647 | 648 | ## [1.3.31](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.30...v1.3.31) (2022-12-08) 649 | 650 | 651 | ### Bug Fixes 652 | 653 | * bump dependencies ([b5b1c81](https://github.com/CoCreate-app/CoCreate-scroll/commit/b5b1c81fe883a30e3515334681a4c5e296641c2a)) 654 | 655 | ## [1.3.30](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.29...v1.3.30) (2022-12-07) 656 | 657 | 658 | ### Bug Fixes 659 | 660 | * bump dependencies ([fe1f790](https://github.com/CoCreate-app/CoCreate-scroll/commit/fe1f7900efe95e6cd53256140dac54138df75bf7)) 661 | 662 | ## [1.3.29](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.28...v1.3.29) (2022-12-04) 663 | 664 | 665 | ### Bug Fixes 666 | 667 | * bump dependencies ([60a8657](https://github.com/CoCreate-app/CoCreate-scroll/commit/60a865704275a4ae48f1955d52a1201f4a087858)) 668 | 669 | ## [1.3.28](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.27...v1.3.28) (2022-12-02) 670 | 671 | 672 | ### Bug Fixes 673 | 674 | * docs ([b56a0eb](https://github.com/CoCreate-app/CoCreate-scroll/commit/b56a0eb482ed45e3289b868f520a86b6e58a3c02)) 675 | 676 | ## [1.3.27](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.26...v1.3.27) (2022-12-02) 677 | 678 | 679 | ### Bug Fixes 680 | 681 | * bump dependencies ([b6d7a7c](https://github.com/CoCreate-app/CoCreate-scroll/commit/b6d7a7c8b508e13c7ff175743bc1773372de4d56)) 682 | 683 | ## [1.3.26](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.25...v1.3.26) (2022-11-28) 684 | 685 | 686 | ### Bug Fixes 687 | 688 | * bump dependencies ([a63d03a](https://github.com/CoCreate-app/CoCreate-scroll/commit/a63d03aba60f3b8f38d6919dcc89c9d1f7d394da)) 689 | 690 | ## [1.3.25](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.24...v1.3.25) (2022-11-28) 691 | 692 | 693 | ### Bug Fixes 694 | 695 | * bump dependencies ([3722a7a](https://github.com/CoCreate-app/CoCreate-scroll/commit/3722a7a19dfc64919187cba7ed6f3e9326efee55)) 696 | 697 | ## [1.3.24](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.23...v1.3.24) (2022-11-27) 698 | 699 | 700 | ### Bug Fixes 701 | 702 | * bump dependencies ([87a0969](https://github.com/CoCreate-app/CoCreate-scroll/commit/87a0969a7e276de6a350441d156c9c7ca55adfa1)) 703 | 704 | ## [1.3.23](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.22...v1.3.23) (2022-11-26) 705 | 706 | 707 | ### Bug Fixes 708 | 709 | * bump dependencies ([75230ea](https://github.com/CoCreate-app/CoCreate-scroll/commit/75230eac08456beea6e358112b9abda4cc3cc424)) 710 | 711 | ## [1.3.22](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.21...v1.3.22) (2022-11-25) 712 | 713 | 714 | ### Bug Fixes 715 | 716 | * bump dependencies ([cc3bc21](https://github.com/CoCreate-app/CoCreate-scroll/commit/cc3bc2192bf9402c077d8709ac281c4d6b932265)) 717 | 718 | ## [1.3.21](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.20...v1.3.21) (2022-11-24) 719 | 720 | 721 | ### Bug Fixes 722 | 723 | * bump depenedencies ([c56d83c](https://github.com/CoCreate-app/CoCreate-scroll/commit/c56d83cd90b3e210522259c7e61c40766ad31530)) 724 | 725 | ## [1.3.20](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.19...v1.3.20) (2022-11-23) 726 | 727 | 728 | ### Bug Fixes 729 | 730 | * bumped [@cocreate](https://github.com/cocreate) dependencies ([9ae8a0d](https://github.com/CoCreate-app/CoCreate-scroll/commit/9ae8a0d0a7f339b733d749c3b6d4a4d301ec437f)) 731 | 732 | ## [1.3.19](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.18...v1.3.19) (2022-11-22) 733 | 734 | 735 | ### Bug Fixes 736 | 737 | * apply src: {{source}} to CoCreate.config ([b7b5449](https://github.com/CoCreate-app/CoCreate-scroll/commit/b7b5449567248f5b67b07b3663e08d158b0cdf65)) 738 | * workflow docs ([264d373](https://github.com/CoCreate-app/CoCreate-scroll/commit/264d373aa03883a3c0731349b2b99a226759fe9e)) 739 | 740 | ## [1.3.18](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.17...v1.3.18) (2022-11-21) 741 | 742 | 743 | ### Bug Fixes 744 | 745 | * @cocreate/docs bug fix ([3ba7406](https://github.com/CoCreate-app/CoCreate-scroll/commit/3ba740671b7d57710bb4411e1506ce9efc7586b1)) 746 | 747 | ## [1.3.17](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.16...v1.3.17) (2022-11-21) 748 | 749 | 750 | ### Bug Fixes 751 | 752 | * replaced document_id with document._id ([c27c990](https://github.com/CoCreate-app/CoCreate-scroll/commit/c27c990bc8f7fc47e7e3a30decc748d2c87edc63)) 753 | 754 | ## [1.3.16](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.15...v1.3.16) (2022-11-21) 755 | 756 | 757 | ### Bug Fixes 758 | 759 | * bump [@cocreate](https://github.com/cocreate) dependencies ([4b0d017](https://github.com/CoCreate-app/CoCreate-scroll/commit/4b0d017e38216e1274b9a4c509292f7300dbefda)) 760 | 761 | ## [1.3.15](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.14...v1.3.15) (2022-11-21) 762 | 763 | 764 | ### Bug Fixes 765 | 766 | * bump d@cocreate ependencies ([db25c1c](https://github.com/CoCreate-app/CoCreate-scroll/commit/db25c1c88a15a321c5bda05425b3ec8826e634ab)) 767 | 768 | ## [1.3.14](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.13...v1.3.14) (2022-10-02) 769 | 770 | 771 | ### Bug Fixes 772 | 773 | * minor bug fixes ([1020e0d](https://github.com/CoCreate-app/CoCreate-scroll/commit/1020e0ddee44091637be11d0291802b231bbb39f)) 774 | 775 | ## [1.3.13](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.12...v1.3.13) (2022-10-02) 776 | 777 | 778 | ### Bug Fixes 779 | 780 | * bump @cocreate/hosting and @cocreate/socket-client ([adfe6e8](https://github.com/CoCreate-app/CoCreate-scroll/commit/adfe6e8b9f1d7700a3280c438760b0f4163a64fe)) 781 | 782 | ## [1.3.12](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.11...v1.3.12) (2022-10-01) 783 | 784 | 785 | ### Bug Fixes 786 | 787 | * bump dependencies ([eaed916](https://github.com/CoCreate-app/CoCreate-scroll/commit/eaed916faf69b30ca8bb3adff1e8412458227300)) 788 | 789 | ## [1.3.11](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.10...v1.3.11) (2022-09-30) 790 | 791 | 792 | ### Bug Fixes 793 | 794 | * bump [@cocreate](https://github.com/cocreate) dependencies ([1023eca](https://github.com/CoCreate-app/CoCreate-scroll/commit/1023eca3ca67c861ff0f409d46beff4c5970bbe2)) 795 | 796 | ## [1.3.10](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.9...v1.3.10) (2022-09-30) 797 | 798 | 799 | ### Bug Fixes 800 | 801 | * bump [@cocreate](https://github.com/cocreate) dependencies ([52c1ebd](https://github.com/CoCreate-app/CoCreate-scroll/commit/52c1ebdf08a36ac738a7d9f05bcf3184a4b1b955)) 802 | 803 | ## [1.3.9](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.8...v1.3.9) (2022-09-30) 804 | 805 | 806 | ### Bug Fixes 807 | 808 | * bump [@cocreate](https://github.com/cocreate) dependencies ([595f4d1](https://github.com/CoCreate-app/CoCreate-scroll/commit/595f4d1478da5e93717633241aa3ee43958f0cc9)) 809 | 810 | ## [1.3.8](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.7...v1.3.8) (2022-09-30) 811 | 812 | 813 | ### Bug Fixes 814 | 815 | * bump dependencies ([72eafbd](https://github.com/CoCreate-app/CoCreate-scroll/commit/72eafbdc87eae76babaeac49b052c453b798220d)) 816 | 817 | ## [1.3.7](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.6...v1.3.7) (2022-09-01) 818 | 819 | 820 | ### Bug Fixes 821 | 822 | * bump all of [@cocreate](https://github.com/cocreate) dependencies ([614bb8b](https://github.com/CoCreate-app/CoCreate-scroll/commit/614bb8b7ff126796dc49540e84986768390acc3b)) 823 | 824 | ## [1.3.6](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.5...v1.3.6) (2022-06-22) 825 | 826 | 827 | ### Bug Fixes 828 | 829 | * compare datetime to break infinite loop on scroll up and scroll down ([c86b317](https://github.com/CoCreate-app/CoCreate-scroll/commit/c86b3170a9335acf895006de54d10b2cc3fc2ab0)) 830 | 831 | ## [1.3.5](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.4...v1.3.5) (2022-06-19) 832 | 833 | 834 | ### Bug Fixes 835 | 836 | * removed scroll-element support as it was causing a loop. Moved to branch newScroll fordebugging ([f8d99c7](https://github.com/CoCreate-app/CoCreate-scroll/commit/f8d99c707b0e87032f7dd547b3342d308182c6d6)) 837 | 838 | ## [1.3.4](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.3...v1.3.4) (2022-06-18) 839 | 840 | 841 | ### Bug Fixes 842 | 843 | * bump dependencies ([0bd768f](https://github.com/CoCreate-app/CoCreate-scroll/commit/0bd768fb982758e6daa62bfd3724a3dec1618f88)) 844 | 845 | ## [1.3.3](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.2...v1.3.3) (2022-06-18) 846 | 847 | 848 | ### Bug Fixes 849 | 850 | * fix scroll event loop ([59f6998](https://github.com/CoCreate-app/CoCreate-scroll/commit/59f6998d5c4f562584efa3b64793381a3e49ebe6)) 851 | 852 | ## [1.3.2](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.1...v1.3.2) (2022-06-17) 853 | 854 | 855 | ### Bug Fixes 856 | 857 | * scrollEl.scrollTop || scrollEl.scrollY to calculate return condition ([d511431](https://github.com/CoCreate-app/CoCreate-scroll/commit/d51143144468d42540c4d397dd49689b5a2552ae)) 858 | 859 | ## [1.3.1](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.3.0...v1.3.1) (2022-06-12) 860 | 861 | 862 | ### Bug Fixes 863 | 864 | * update dependencies ([d131faf](https://github.com/CoCreate-app/CoCreate-scroll/commit/d131faf0964cff3be5d1bfe9bcff30272c0d76d0)) 865 | * update docs css document_id ([4535a55](https://github.com/CoCreate-app/CoCreate-scroll/commit/4535a5565c58b5faa02a31f9b8fce3c92b343568)) 866 | 867 | # [1.3.0](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.29...v1.3.0) (2022-06-07) 868 | 869 | 870 | ### Features 871 | 872 | * sortable-element to define a scroll element defaults to window ([dd0b493](https://github.com/CoCreate-app/CoCreate-scroll/commit/dd0b49330b89afc6526b5ea9c81f7166615a57c0)) 873 | 874 | ## [1.2.29](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.28...v1.2.29) (2022-05-23) 875 | 876 | 877 | ### Bug Fixes 878 | 879 | * bump all dependencies ([4c5dcd0](https://github.com/CoCreate-app/CoCreate-scroll/commit/4c5dcd0a3097c55289ed365a966718a09c9ca099)) 880 | 881 | ## [1.2.28](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.27...v1.2.28) (2022-05-19) 882 | 883 | 884 | ### Bug Fixes 885 | 886 | * update document_id on link index.css ([501ef76](https://github.com/CoCreate-app/CoCreate-scroll/commit/501ef76623dc3d0989387f70b053939247943539)) 887 | 888 | ## [1.2.27](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.26...v1.2.27) (2022-05-06) 889 | 890 | 891 | ### Bug Fixes 892 | 893 | * update config organization_Id to organization_id ([e1a7a43](https://github.com/CoCreate-app/CoCreate-scroll/commit/e1a7a43ba6cec9c6ad0810ece67fe88a58ac0322)) 894 | 895 | ## [1.2.26](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.25...v1.2.26) (2022-02-24) 896 | 897 | 898 | ### Bug Fixes 899 | 900 | * CoCreate.config replace CoCreate.app with * ([1108943](https://github.com/CoCreate-app/CoCreate-scroll/commit/1108943b97f98ccaed88d1f1b1a16de706a65a0b)) 901 | 902 | ## [1.2.25](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.24...v1.2.25) (2022-02-16) 903 | 904 | 905 | ### Bug Fixes 906 | 907 | * update dependencies ([8924d42](https://github.com/CoCreate-app/CoCreate-scroll/commit/8924d42f82000cd8195bea178246b6f3a0db7295)) 908 | 909 | ## [1.2.24](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.23...v1.2.24) (2022-02-10) 910 | 911 | 912 | ### Bug Fixes 913 | 914 | * bump dependencies ([11c09cb](https://github.com/CoCreate-app/CoCreate-scroll/commit/11c09cbad4ec48f1a0e175bcf39bd6a503678215)) 915 | 916 | ## [1.2.23](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.22...v1.2.23) (2022-02-07) 917 | 918 | 919 | ### Bug Fixes 920 | 921 | * bump dependency versions ([769e1a9](https://github.com/CoCreate-app/CoCreate-scroll/commit/769e1a981b32764f81690f66fd463cf06dc96d9a)) 922 | 923 | ## [1.2.22](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.21...v1.2.22) (2022-02-03) 924 | 925 | 926 | ### Bug Fixes 927 | 928 | * replaced show and hide class hidden with attribute hidden ([fc5f3ae](https://github.com/CoCreate-app/CoCreate-scroll/commit/fc5f3ae759df2d4d31fefc6a419acb34c3c1bfc8)) 929 | 930 | ## [1.2.21](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.20...v1.2.21) (2022-02-01) 931 | 932 | 933 | ### Bug Fixes 934 | 935 | * update dependency versions ([300468f](https://github.com/CoCreate-app/CoCreate-scroll/commit/300468ff42ec17c444baa0c9a4d9108288c5e95f)) 936 | 937 | ## [1.2.20](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.19...v1.2.20) (2022-01-23) 938 | 939 | 940 | ### Bug Fixes 941 | 942 | * scroll bug ([f67c52b](https://github.com/CoCreate-app/CoCreate-scroll/commit/f67c52bc51be1ebbef9a06a4b103d747934b8253)) 943 | 944 | ## [1.2.19](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.18...v1.2.19) (2022-01-16) 945 | 946 | 947 | ### Bug Fixes 948 | 949 | * update class overflow:overlay to overflow:auto ([bd60036](https://github.com/CoCreate-app/CoCreate-scroll/commit/bd6003620fa1d563c84fd4c4f279896b6ff64154)) 950 | 951 | ## [1.2.18](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.17...v1.2.18) (2022-01-01) 952 | 953 | 954 | ### Bug Fixes 955 | 956 | * get-value attribute value now supports a selector added # to all values currently in get-value attributes ([fbbb310](https://github.com/CoCreate-app/CoCreate-scroll/commit/fbbb310eaf7ac7a6f3e5078b532ceafd9498657d)) 957 | 958 | ## [1.2.17](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.16...v1.2.17) (2022-01-01) 959 | 960 | 961 | ### Bug Fixes 962 | 963 | * removed data- from attributes ([0a5996a](https://github.com/CoCreate-app/CoCreate-scroll/commit/0a5996a174492ba2d88a495c37e2d743a5e14e55)) 964 | 965 | ## [1.2.16](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.15...v1.2.16) (2021-12-15) 966 | 967 | 968 | ### Bug Fixes 969 | 970 | * update dependencies ([f3733d1](https://github.com/CoCreate-app/CoCreate-scroll/commit/f3733d19124913408da2f29d3773ab87af41dc80)) 971 | 972 | ## [1.2.15](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.14...v1.2.15) (2021-12-14) 973 | 974 | 975 | ### Bug Fixes 976 | 977 | * update dependencies ([f8c90e5](https://github.com/CoCreate-app/CoCreate-scroll/commit/f8c90e580a2fc4548f1b50457e807af4239e7bd4)) 978 | 979 | ## [1.2.14](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.13...v1.2.14) (2021-11-27) 980 | 981 | 982 | ### Bug Fixes 983 | 984 | * update dependencies ([a6afbf5](https://github.com/CoCreate-app/CoCreate-scroll/commit/a6afbf5fb13ab67037eb889ede22579e49e1529a)) 985 | 986 | ## [1.2.13](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.12...v1.2.13) (2021-11-27) 987 | 988 | 989 | ### Bug Fixes 990 | 991 | * update dependencies ([a69df32](https://github.com/CoCreate-app/CoCreate-scroll/commit/a69df3266b13c9f2b53c5933d152863a200b7904)) 992 | 993 | ## [1.2.12](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.11...v1.2.12) (2021-11-27) 994 | 995 | 996 | ### Bug Fixes 997 | 998 | * update docs api and cocreateJS script ([bc18a2e](https://github.com/CoCreate-app/CoCreate-scroll/commit/bc18a2e13d0e9284f3fada557aa839176f5e4c8f)) 999 | 1000 | ## [1.2.11](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.10...v1.2.11) (2021-11-26) 1001 | 1002 | 1003 | ### Bug Fixes 1004 | 1005 | * docs sidenav width ([12de3da](https://github.com/CoCreate-app/CoCreate-scroll/commit/12de3da676cf14dcb862debeca44635e33c7a1d0)) 1006 | 1007 | ## [1.2.10](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.9...v1.2.10) (2021-11-26) 1008 | 1009 | 1010 | ### Bug Fixes 1011 | 1012 | * update dependencies ([a9fed40](https://github.com/CoCreate-app/CoCreate-scroll/commit/a9fed40acef4521ca1ad1eaa8d6993ff2ed8bd1e)) 1013 | 1014 | ## [1.2.9](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.8...v1.2.9) (2021-11-23) 1015 | 1016 | 1017 | ### Bug Fixes 1018 | 1019 | * update dependencies ([e01463f](https://github.com/CoCreate-app/CoCreate-scroll/commit/e01463fcf9b93262dab7baf3e2aec77c435ab912)) 1020 | 1021 | ## [1.2.8](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.7...v1.2.8) (2021-11-20) 1022 | 1023 | 1024 | ### Bug Fixes 1025 | 1026 | * update dependencies ([089e7c1](https://github.com/CoCreate-app/CoCreate-scroll/commit/089e7c126d7b39a46dc0ff0fe3e926fbf1616e25)) 1027 | 1028 | ## [1.2.7](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.6...v1.2.7) (2021-11-19) 1029 | 1030 | 1031 | ### Bug Fixes 1032 | 1033 | * update dependencies ([67ffae8](https://github.com/CoCreate-app/CoCreate-scroll/commit/67ffae8212f41c98a150c33125d619b429af54ff)) 1034 | 1035 | ## [1.2.6](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.5...v1.2.6) (2021-11-18) 1036 | 1037 | 1038 | ### Bug Fixes 1039 | 1040 | * update dependencies ([07b1efc](https://github.com/CoCreate-app/CoCreate-scroll/commit/07b1efc3447cc69e6cf296667556adf1b1f1e8a6)) 1041 | 1042 | ## [1.2.5](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.4...v1.2.5) (2021-11-16) 1043 | 1044 | 1045 | ### Bug Fixes 1046 | 1047 | * update dependencies ([668268f](https://github.com/CoCreate-app/CoCreate-scroll/commit/668268f23025aef77a597e25f4e460e8565ce116)) 1048 | 1049 | ## [1.2.4](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.3...v1.2.4) (2021-11-15) 1050 | 1051 | 1052 | ### Bug Fixes 1053 | 1054 | * update dependencies ([8fd6ab9](https://github.com/CoCreate-app/CoCreate-scroll/commit/8fd6ab90f8283e60a6a8415392a01987979a00a1)) 1055 | 1056 | ## [1.2.3](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.2...v1.2.3) (2021-11-11) 1057 | 1058 | 1059 | ### Bug Fixes 1060 | 1061 | * update readme ([e5b49b8](https://github.com/CoCreate-app/CoCreate-scroll/commit/e5b49b83b80efb39d85b70dfb341f53ba8a28942)) 1062 | 1063 | ## [1.2.2](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.1...v1.2.2) (2021-11-07) 1064 | 1065 | 1066 | ### Bug Fixes 1067 | 1068 | * add init() directly above export default to fix bug in firefox ([b73c7b0](https://github.com/CoCreate-app/CoCreate-scroll/commit/b73c7b07016d7909fe474d17576ac9a5d435b75e)) 1069 | 1070 | ## [1.2.1](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.2.0...v1.2.1) (2021-11-06) 1071 | 1072 | 1073 | ### Bug Fixes 1074 | 1075 | * update dependencies ([88ef537](https://github.com/CoCreate-app/CoCreate-scroll/commit/88ef5378d41409e7a3d7f62502161d09728ac43a)) 1076 | 1077 | # [1.2.0](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.36...v1.2.0) (2021-11-05) 1078 | 1079 | 1080 | ### Features 1081 | 1082 | * scroll runs on load and added a new attribute scroll-limbo fires when not top or bottom its limbo ([16d8356](https://github.com/CoCreate-app/CoCreate-scroll/commit/16d835680227ca79f056805a87a496cc0814242e)) 1083 | 1084 | ## [1.1.36](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.35...v1.1.36) (2021-11-04) 1085 | 1086 | 1087 | ### Bug Fixes 1088 | 1089 | * update dependencies ([1b1a27c](https://github.com/CoCreate-app/CoCreate-scroll/commit/1b1a27c6205533cad1557f7579716f54523083d8)) 1090 | 1091 | ## [1.1.35](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.34...v1.1.35) (2021-11-04) 1092 | 1093 | 1094 | ### Bug Fixes 1095 | 1096 | * update packages ([d2a34dd](https://github.com/CoCreate-app/CoCreate-scroll/commit/d2a34dd2b8a5d05cdb5866514bd060e2ee2ea361)) 1097 | 1098 | ## [1.1.34](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.33...v1.1.34) (2021-11-01) 1099 | 1100 | 1101 | ### Bug Fixes 1102 | 1103 | * update package dependencies ([35c804f](https://github.com/CoCreate-app/CoCreate-scroll/commit/35c804fe4b076e9119955e3d64d74a259395dbba)) 1104 | 1105 | ## [1.1.33](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.32...v1.1.33) (2021-10-29) 1106 | 1107 | 1108 | ### Bug Fixes 1109 | 1110 | * update dependencies ([0e80ef6](https://github.com/CoCreate-app/CoCreate-scroll/commit/0e80ef63297186601d4bf21fe63b7076237d4b79)) 1111 | 1112 | ## [1.1.32](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.31...v1.1.32) (2021-10-17) 1113 | 1114 | 1115 | ### Bug Fixes 1116 | 1117 | * update dependendies ([48c236a](https://github.com/CoCreate-app/CoCreate-scroll/commit/48c236a5e8fbc15376978ac208e94f518cb53862)) 1118 | 1119 | ## [1.1.31](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.30...v1.1.31) (2021-10-16) 1120 | 1121 | 1122 | ### Bug Fixes 1123 | 1124 | * update socket package to fix bug in docs ([955988c](https://github.com/CoCreate-app/CoCreate-scroll/commit/955988c73e7daa4a653a9cc38da69a06229c9f58)) 1125 | 1126 | ## [1.1.30](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.29...v1.1.30) (2021-10-15) 1127 | 1128 | 1129 | ### Bug Fixes 1130 | 1131 | * update dependencies ([136d5fd](https://github.com/CoCreate-app/CoCreate-scroll/commit/136d5fda3c456d6bcdc2c606760db37a4fe0af7e)) 1132 | * update dependencies ([04adaf8](https://github.com/CoCreate-app/CoCreate-scroll/commit/04adaf8f0bfce4566891156091dab8ba76590112)) 1133 | 1134 | ## [1.1.29](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.28...v1.1.29) (2021-10-15) 1135 | 1136 | 1137 | ### Bug Fixes 1138 | 1139 | * update packages ([218407b](https://github.com/CoCreate-app/CoCreate-scroll/commit/218407b69520c33b46424fc79559e98fd9205762)) 1140 | 1141 | ## [1.1.28](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.27...v1.1.28) (2021-10-15) 1142 | 1143 | 1144 | ### Bug Fixes 1145 | 1146 | * updated dependencies ([ae1574a](https://github.com/CoCreate-app/CoCreate-scroll/commit/ae1574ae8bb2d915c07c565ad5e09a7ebfe4d213)) 1147 | 1148 | ## [1.1.27](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.26...v1.1.27) (2021-10-13) 1149 | 1150 | 1151 | ### Bug Fixes 1152 | 1153 | * update descriptions ([18433c8](https://github.com/CoCreate-app/CoCreate-scroll/commit/18433c89fac5b1f27247a7e9aec4cb508639ed11)) 1154 | 1155 | ## [1.1.26](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.25...v1.1.26) (2021-10-13) 1156 | 1157 | 1158 | ### Bug Fixes 1159 | 1160 | * update dependencies ([07ff4e4](https://github.com/CoCreate-app/CoCreate-scroll/commit/07ff4e4a94a7ebbb68efacc049c3290120b912bb)) 1161 | 1162 | ## [1.1.25](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.24...v1.1.25) (2021-10-06) 1163 | 1164 | 1165 | ### Bug Fixes 1166 | 1167 | * update dependencies ([c0ed00e](https://github.com/CoCreate-app/CoCreate-scroll/commit/c0ed00e91ed5d2c42f6bf987aec4d1f0bbaf4305)) 1168 | 1169 | ## [1.1.24](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.23...v1.1.24) (2021-10-05) 1170 | 1171 | 1172 | ### Bug Fixes 1173 | 1174 | * update dependencies ([08b1eb2](https://github.com/CoCreate-app/CoCreate-scroll/commit/08b1eb24622911384503ade49c27e154f3ab1196)) 1175 | * website_id in CoCreate.config ([f2b282c](https://github.com/CoCreate-app/CoCreate-scroll/commit/f2b282ccb709499b4bbcf723fa45c1aff9c96fc5)) 1176 | 1177 | ## [1.1.23](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.22...v1.1.23) (2021-10-04) 1178 | 1179 | 1180 | ### Bug Fixes 1181 | 1182 | * update dependencies ([470a926](https://github.com/CoCreate-app/CoCreate-scroll/commit/470a926da05c48a85c90e9015c29dae64ee83cad)) 1183 | 1184 | ## [1.1.22](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.21...v1.1.22) (2021-10-04) 1185 | 1186 | 1187 | ### Bug Fixes 1188 | 1189 | * update dependencies ([63501dd](https://github.com/CoCreate-app/CoCreate-scroll/commit/63501dd8825929ca1e2ea7e92c115a640fbd3e49)) 1190 | 1191 | ## [1.1.21](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.20...v1.1.21) (2021-10-01) 1192 | 1193 | 1194 | ### Bug Fixes 1195 | 1196 | * update packages ([1f63906](https://github.com/CoCreate-app/CoCreate-scroll/commit/1f6390680bab28a3e7606e97356350ecfeb429ce)) 1197 | 1198 | ## [1.1.20](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.19...v1.1.20) (2021-10-01) 1199 | 1200 | 1201 | ### Bug Fixes 1202 | 1203 | * update dependencies ([c4b5ecc](https://github.com/CoCreate-app/CoCreate-scroll/commit/c4b5ecca3d2915b7c86386f7a325b39e0bed5056)) 1204 | 1205 | ## [1.1.19](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.18...v1.1.19) (2021-09-28) 1206 | 1207 | 1208 | ### Bug Fixes 1209 | 1210 | * update dependencies ([e3fbba8](https://github.com/CoCreate-app/CoCreate-scroll/commit/e3fbba80ea2ec1b84b394b819b60ec17ddd55a7a)) 1211 | 1212 | ## [1.1.18](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.17...v1.1.18) (2021-09-16) 1213 | 1214 | 1215 | ### Bug Fixes 1216 | 1217 | * update dependencies ([5eab8df](https://github.com/CoCreate-app/CoCreate-scroll/commit/5eab8df6aeb8ef264e16e744b9d362fc44dbe194)) 1218 | 1219 | ## [1.1.17](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.16...v1.1.17) (2021-09-14) 1220 | 1221 | 1222 | ### Bug Fixes 1223 | 1224 | * add cocreate.app to domains ([a09d427](https://github.com/CoCreate-app/CoCreate-scroll/commit/a09d4275353494ff96b73329d422d79dc6ca56de)) 1225 | 1226 | ## [1.1.16](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.15...v1.1.16) (2021-09-13) 1227 | 1228 | 1229 | ### Bug Fixes 1230 | 1231 | * upgrade dependencies ([2631f95](https://github.com/CoCreate-app/CoCreate-scroll/commit/2631f95b02984d27762d270c1a81c2c61df8cb16)) 1232 | 1233 | ## [1.1.15](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.14...v1.1.15) (2021-09-12) 1234 | 1235 | 1236 | ### Bug Fixes 1237 | 1238 | * update sidenav to use resize and toggle ([37c64ef](https://github.com/CoCreate-app/CoCreate-scroll/commit/37c64ef17a6a0d3cd7d8258898b292a8d7b831a2)) 1239 | 1240 | ## [1.1.14](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.13...v1.1.14) (2021-09-09) 1241 | 1242 | 1243 | ### Bug Fixes 1244 | 1245 | * update dependency @cocreate/docs ([6a6f9cf](https://github.com/CoCreate-app/CoCreate-scroll/commit/6a6f9cf81ecb73ad62dbf80feb8b9606bad6bfee)) 1246 | 1247 | ## [1.1.13](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.12...v1.1.13) (2021-09-09) 1248 | 1249 | 1250 | ### Bug Fixes 1251 | 1252 | * ci docs ([8b77fea](https://github.com/CoCreate-app/CoCreate-scroll/commit/8b77fea496fd4403935c5f55f5b5c13da4301441)) 1253 | 1254 | ## [1.1.12](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.11...v1.1.12) (2021-09-09) 1255 | 1256 | 1257 | ### Bug Fixes 1258 | 1259 | * update dependencies ([2e06ee2](https://github.com/CoCreate-app/CoCreate-scroll/commit/2e06ee295d223116fe8951827b342ccb18625263)) 1260 | 1261 | ## [1.1.11](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.10...v1.1.11) (2021-09-09) 1262 | 1263 | 1264 | ### Bug Fixes 1265 | 1266 | * CoCreate.config directory, path, name and public ([74c1851](https://github.com/CoCreate-app/CoCreate-scroll/commit/74c1851e819d45921f3a6fa8da2dc99f1ed3f4a5)) 1267 | 1268 | ## [1.1.10](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.9...v1.1.10) (2021-09-08) 1269 | 1270 | 1271 | ### Bug Fixes 1272 | 1273 | * update dependencies ([0025064](https://github.com/CoCreate-app/CoCreate-scroll/commit/0025064077324d8abb3c7d554959b95a3323b4d6)) 1274 | 1275 | ## [1.1.9](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.8...v1.1.9) (2021-09-04) 1276 | 1277 | 1278 | ### Bug Fixes 1279 | 1280 | * update dependencies ([a2bfd05](https://github.com/CoCreate-app/CoCreate-scroll/commit/a2bfd05e9213e3be395823459e0d1c090e06b9a4)) 1281 | 1282 | ## [1.1.8](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.7...v1.1.8) (2021-08-31) 1283 | 1284 | 1285 | ### Bug Fixes 1286 | 1287 | * update dependencies ([71a2543](https://github.com/CoCreate-app/CoCreate-scroll/commit/71a254370cdb59d7ded7d1e8ae519bbd3d630ffa)) 1288 | 1289 | ## [1.1.7](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.6...v1.1.7) (2021-08-27) 1290 | 1291 | 1292 | ### Bug Fixes 1293 | 1294 | * updaed dependencies ([2b51fac](https://github.com/CoCreate-app/CoCreate-scroll/commit/2b51fac65f9af6719c2d9aac3387f35481d13c37)) 1295 | 1296 | ## [1.1.6](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.5...v1.1.6) (2021-08-23) 1297 | 1298 | 1299 | ### Bug Fixes 1300 | 1301 | * update package versions ([494a318](https://github.com/CoCreate-app/CoCreate-scroll/commit/494a318f7f8e4f08d5db063f401aa5da8d5d11a3)) 1302 | 1303 | ## [1.1.5](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.4...v1.1.5) (2021-08-22) 1304 | 1305 | 1306 | ### Bug Fixes 1307 | 1308 | * removed data- from main-content, clone, filter-value_type ([4ca269a](https://github.com/CoCreate-app/CoCreate-scroll/commit/4ca269a59981a15d4318b10064888176d3ada582)) 1309 | 1310 | ## [1.1.4](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.3...v1.1.4) (2021-08-22) 1311 | 1312 | 1313 | ### Bug Fixes 1314 | 1315 | * bump package versions ([5d39c14](https://github.com/CoCreate-app/CoCreate-scroll/commit/5d39c14725e65c77739f47df6d558a966ef8212d)) 1316 | 1317 | ## [1.1.3](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.2...v1.1.3) (2021-08-22) 1318 | 1319 | 1320 | ### Bug Fixes 1321 | 1322 | * bump package versions ([f7f9cf5](https://github.com/CoCreate-app/CoCreate-scroll/commit/f7f9cf5a91bb1d4a18c7a804e0b9743c50d26862)) 1323 | 1324 | ## [1.1.2](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.1...v1.1.2) (2021-08-02) 1325 | 1326 | 1327 | ### Bug Fixes 1328 | 1329 | * remove data- from attributes ([88e076f](https://github.com/CoCreate-app/CoCreate-scroll/commit/88e076f5727fdf142749a1f25ea58cc1be81ea55)) 1330 | * removed data- from scroll attributes ([dcb2305](https://github.com/CoCreate-app/CoCreate-scroll/commit/dcb23053cf5ee7dcc4e51c3999051c5203855b68)) 1331 | * update data-fullscreen to fullscreen ([0486fc9](https://github.com/CoCreate-app/CoCreate-scroll/commit/0486fc92ec55af121747b147d29ac9c133a6a32d)) 1332 | 1333 | ## [1.1.1](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.1.0...v1.1.1) (2021-07-28) 1334 | 1335 | 1336 | ### Bug Fixes 1337 | 1338 | * remove data- from fetch, pass and filter ([d96fd79](https://github.com/CoCreate-app/CoCreate-scroll/commit/d96fd79bed31f435f7ab8c4528387d3a1fa150f3)) 1339 | 1340 | # [1.1.0](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.0.19...v1.1.0) (2021-07-28) 1341 | 1342 | 1343 | ### Features 1344 | 1345 | * add new is{attribute} system and remove data- from attributtes ([31398e5](https://github.com/CoCreate-app/CoCreate-scroll/commit/31398e5073582af05aaf2d0c71e1f02c8d3ed6fc)) 1346 | 1347 | ## [1.0.19](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.0.18...v1.0.19) (2021-07-17) 1348 | 1349 | 1350 | ### Bug Fixes 1351 | 1352 | * init and update demos scripts ([6589903](https://github.com/CoCreate-app/CoCreate-scroll/commit/65899034e4516d5e0131afca2fd2675381a0f6d1)) 1353 | * initElement function name ([0b21e96](https://github.com/CoCreate-app/CoCreate-scroll/commit/0b21e96cf8f039726b2087dea2fa4fc3fa912a48)) 1354 | * update init functions ([84e6c7c](https://github.com/CoCreate-app/CoCreate-scroll/commit/84e6c7ca38196eab11928373b2383e848a9804bf)) 1355 | * workflows ([f058a80](https://github.com/CoCreate-app/CoCreate-scroll/commit/f058a8006c04d3a86637ef3e612d249d517103d9)) 1356 | 1357 | ## [1.0.18](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.0.17...v1.0.18) (2021-07-14) 1358 | 1359 | 1360 | ### Bug Fixes 1361 | 1362 | * upgrade all packages ([d6367b8](https://github.com/CoCreate-app/CoCreate-scroll/commit/d6367b83560dc9e4b7af7f661130f44fc2c09129)) 1363 | 1364 | ## [1.0.17](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.0.16...v1.0.17) (2021-07-13) 1365 | 1366 | 1367 | ### Bug Fixes 1368 | 1369 | * add yarn lockfile to git ignore ([457cee5](https://github.com/CoCreate-app/CoCreate-scroll/commit/457cee56c4c822f6f4150f8ad3ac4b4d597c5d33)) 1370 | * remove yarn.lock ([c96b199](https://github.com/CoCreate-app/CoCreate-scroll/commit/c96b19999abe8c08763e509fc9334986bac90e4f)) 1371 | 1372 | ## [1.0.16](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.0.15...v1.0.16) (2021-07-10) 1373 | 1374 | 1375 | ### Bug Fixes 1376 | 1377 | * gitignore all logs ([3ae74b6](https://github.com/CoCreate-app/CoCreate-scroll/commit/3ae74b6d4e7d1579055ee07cf2ecdabed3169914)) 1378 | 1379 | ## [1.0.15](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.0.14...v1.0.15) (2021-07-07) 1380 | 1381 | 1382 | ### Bug Fixes 1383 | 1384 | * update package versions ([6a51017](https://github.com/CoCreate-app/CoCreate-scroll/commit/6a510177b3ea936c2f1bef9b29a18bcda71c927d)) 1385 | 1386 | ## [1.0.14](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.0.13...v1.0.14) (2021-06-30) 1387 | 1388 | 1389 | ### Bug Fixes 1390 | 1391 | * Update readme.md ([930d6b7](https://github.com/CoCreate-app/CoCreate-scroll/commit/930d6b759f29102c28b71de9df012c26c83a8da5)) 1392 | 1393 | ## [1.0.13](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.0.12...v1.0.13) (2021-06-30) 1394 | 1395 | 1396 | ### Bug Fixes 1397 | 1398 | * automated and manual workflows ([93992d3](https://github.com/CoCreate-app/CoCreate-scroll/commit/93992d3027ea3dbe1d21fdd18504c0f7c65875d7)) 1399 | 1400 | ## [1.0.12](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.0.11...v1.0.12) (2021-06-25) 1401 | 1402 | 1403 | ### Bug Fixes 1404 | 1405 | * latest version numbers applied to all cocreate packages ([5a0eb5f](https://github.com/CoCreate-app/CoCreate-scroll/commit/5a0eb5fc9943c71ec35c696b76d31b44ffefea08)) 1406 | 1407 | ## [1.0.11](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.0.10...v1.0.11) (2021-06-24) 1408 | 1409 | 1410 | ### Bug Fixes 1411 | 1412 | * package versioningto 1.0.0 ([80d0862](https://github.com/CoCreate-app/CoCreate-scroll/commit/80d0862ebc0b99765a7c7b4b180326ffb28ef53f)) 1413 | 1414 | ## [1.0.10](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.0.9...v1.0.10) (2021-06-24) 1415 | 1416 | 1417 | ### Bug Fixes 1418 | 1419 | * update all [@cocreate](https://github.com/cocreate) to use latest versions ([4c92a3d](https://github.com/CoCreate-app/CoCreate-scroll/commit/4c92a3d4ee3fcb19fb80dcaa730287840374d814)) 1420 | 1421 | ## [1.0.9](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.0.8...v1.0.9) (2021-06-20) 1422 | 1423 | 1424 | ### Bug Fixes 1425 | 1426 | * new mutaionObserver init function ([3b3889c](https://github.com/CoCreate-app/CoCreate-scroll/commit/3b3889cbe1d49510eb9697143722df86f604fc48)) 1427 | 1428 | ## [1.0.8](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.0.7...v1.0.8) (2021-06-16) 1429 | 1430 | 1431 | ### Bug Fixes 1432 | 1433 | * added header for seo ([751df7c](https://github.com/CoCreate-app/CoCreate-scroll/commit/751df7c5dbda7831666c1fbd811492ad24bf5496)) 1434 | 1435 | ## [1.0.7](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.0.6...v1.0.7) (2021-05-08) 1436 | 1437 | 1438 | ### Bug Fixes 1439 | 1440 | * add css auto parse and save to docs. ([7fdfe82](https://github.com/CoCreate-app/CoCreate-scroll/commit/7fdfe82fc44a848bb8eb8d49cf0b61e26680ed4c)) 1441 | 1442 | ## [1.0.6](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.0.5...v1.0.6) (2021-04-27) 1443 | 1444 | 1445 | ### Bug Fixes 1446 | 1447 | * add host in docs ([1809e37](https://github.com/CoCreate-app/CoCreate-scroll/commit/1809e37932e5e6eac15b6593f1914c71d4005667)) 1448 | 1449 | ## [1.0.5](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.0.4...v1.0.5) (2021-04-27) 1450 | 1451 | 1452 | ### Bug Fixes 1453 | 1454 | * Update to readme, demo, added cdn scripts ([f6df4e6](https://github.com/CoCreate-app/CoCreate-scroll/commit/f6df4e6eb175cad5111137868aa1b7a4f479d4d2)) 1455 | 1456 | ## [1.0.4](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.0.3...v1.0.4) (2021-04-23) 1457 | 1458 | 1459 | ### Bug Fixes 1460 | 1461 | * readme and documentation. Removed securitykeys ([e013e83](https://github.com/CoCreate-app/CoCreate-scroll/commit/e013e83ca0027ebe1d16cecaf0eff5f06ca2d1f6)) 1462 | 1463 | ## [1.0.3](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.0.2...v1.0.3) (2021-04-19) 1464 | 1465 | 1466 | ### Bug Fixes 1467 | 1468 | * add missing packages ([7d2947a](https://github.com/CoCreate-app/CoCreate-scroll/commit/7d2947ad72a104856644fb8c27f364181e9770b6)) 1469 | 1470 | ## [1.0.2](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.0.1...v1.0.2) (2021-04-19) 1471 | 1472 | 1473 | ### Bug Fixes 1474 | 1475 | * ci and build process ([8e6db3f](https://github.com/CoCreate-app/CoCreate-scroll/commit/8e6db3ff01c971af6ab097c6996df3b529aab169)) 1476 | * npm publish and cdn deployment ([f67d0eb](https://github.com/CoCreate-app/CoCreate-scroll/commit/f67d0eb318eb473f2bbcb24376b37a7bfb7a32a5)) 1477 | 1478 | ## [1.0.1](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.0.0...v1.0.1) (2021-03-29) 1479 | 1480 | 1481 | ### Bug Fixes 1482 | 1483 | * Package Paths ([b03375c](https://github.com/CoCreate-app/CoCreate-scroll/commit/b03375cc3d57beaf121b32516cffacc324cebcbd)) 1484 | 1485 | # 1.0.0 (2021-03-26) 1486 | 1487 | 1488 | ### Features 1489 | 1490 | * Initial Release ([34c3729](https://github.com/CoCreate-app/CoCreate-scroll/commit/34c372994e6dba9f5fc1a660fe6f13e7511cb87b)) 1491 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to CoCreate-scroll 2 | 3 | This project is work of [many contributors](https://github.com/CoCreate-app/CoCreate-scroll/graphs/contributors). 4 | You're encouraged to submit [pull requests](https://github.com/CoCreate-app/CoCreate-scroll/pulls), 5 | [propose features and discuss issues](https://github.com/CoCreate-app/CoCreate-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-scroll) and check out your copy. 12 | 13 | ``` 14 | git scroll https://github.com/contributor/CoCreate-scroll.git 15 | cd CoCreate-scroll 16 | git remote add upstream https://github.com/CoCreate-app/CoCreate-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-scroll](https://github.com/CoCreate-app/CoCreate-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": "602095e13c260207bf49cac4", 10 | "name": "index.html", 11 | "path": "/docs/scroll", 12 | "pathname": "/docs/scroll/index.html", 13 | "src": "{{./docs/index.html}}", 14 | "host": [ 15 | "*" 16 | ], 17 | "directory": "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-scroll 2 | 3 | A simple 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/scroll) 4 | 5 | ![minified](https://img.badgesize.io/https://cdn.cocreate.app/scroll/latest/CoCreate-scroll.min.js?style=flat-square&label=minified&color=orange) 6 | ![gzip](https://img.badgesize.io/https://cdn.cocreate.app/scroll/latest/CoCreate-scroll.min.js?compression=gzip&style=flat-square&label=gzip&color=yellow) 7 | ![brotli](https://img.badgesize.io/https://cdn.cocreate.app/scroll/latest/CoCreate-scroll.min.js?compression=brotli&style=flat-square&label=brotli) 8 | ![GitHub latest release](https://img.shields.io/github/v/release/CoCreate-app/CoCreate-scroll?style=flat-square) 9 | ![License](https://img.shields.io/github/license/CoCreate-app/CoCreate-scroll?style=flat-square) 10 | ![Hiring](https://img.shields.io/static/v1?style=flat-square&label=&message=Hiring&color=blueviolet) 11 | 12 | ![CoCreate-scroll](https://cdn.cocreate.app/docs/CoCreate-scroll.gif) 13 | 14 | ## [Docs & Demo](https://cocreate.app/docs/scroll) 15 | 16 | For a complete guide and working demo refer to the [doumentation](https://cocreate.app/docs/scroll) 17 | 18 | ## CDN 19 | 20 | ```html 21 | 22 | ``` 23 | 24 | ```html 25 | 26 | ``` 27 | 28 | ## NPM 29 | 30 | ```shell 31 | $ npm i @cocreate/scroll 32 | ``` 33 | 34 | ## yarn 35 | 36 | ```shell 37 | $ yarn install @cocreate/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-scroll/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-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-scroll/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-scroll/pulls). We would love to hear your feedback. 60 | 61 | 62 | 63 | # About 64 | 65 | CoCreate-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-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-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-scroll/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-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-scroll/blob/master/LICENSE) 86 | -------------------------------------------------------------------------------- /demo/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | CoCreate - Build your business in minutes. 12 | 13 | 14 | 15 | 16 | 60 | 61 | 62 | 120 |
124 |
125 |
127 |
128 | 133 |
134 |
136 |

137 | Build your buisness in 138 | minutes 139 |

140 |

141 | Collaborate. Track. Sell. Manage with ease. 142 |

143 | Get Started 147 |
148 |
149 |
150 |
151 |
155 |
156 |
158 |
159 | 162 |
163 |
164 | 167 |
168 |
169 | 172 |
173 |
174 | 177 |
178 |
179 | 182 |
183 |
184 | 187 |
188 |
189 | 192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 | 205 |
206 |
208 |

209 | Easy onboarding, fast adoption 210 |

211 |

212 | Getting your team on board is as simple as sending 213 | an email. Getting them hooked is as simple as 214 | letting them use it. 215 |

216 |

217 | See all features 221 |
222 |
223 |
224 |
225 |
226 |
227 |
229 |
230 | 240 |
241 |
243 |

244 | Create dashboards & stay in control 245 |

246 |

250 | Build and customize your dashboards to gain 251 | important insights and a clear overview of your 252 | work. 253 |

254 |
255 |
256 |
257 |
258 | 325 | 326 | 353 | 354 | 355 | 356 | 357 | -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | overflow:auto Documentation | CoCreateJS 8 | 13 | 16 | 19 | 20 | 23 | 24 | 32 | 33 | 34 | 35 | 36 | 37 | 45 | 52 | 56 |
57 |
58 |
62 |
64 |
65 |

overflow:auto

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

116 | A headless vinilla javascript micro component. Easy 117 | configuration using HTML5 attributes or Javscript api. 118 |

119 |
120 |
122 |
128 | 132 |

Install

133 | 138 |
139 |
140 |
npm i @cocreate/scroll
141 |

142 | Or you can use cdn link: 143 |

144 |
<script>https://cdn.cocreate.app/scroll/latest/overflow:auto.min.js</script>
145 | 146 |
152 | 156 |

Usage

157 | 162 |
163 |
164 |
165 |

166 | This is scroll usage 167 |

168 | 169 |
170 |
171 |                                 
172 | <div scroll-up_class="up" scroll-down_class="down" scroll-ing_class="scrolling" scroll-range_class="range" scroll-range_begin="1000" scroll-range_end="1500" scroll-intersect="intersect">
173 |                             
174 |
175 |

176 | This is scroll usage 177 |

178 |

179 | This is scroll usage 180 |

181 |
182 |
188 | 192 |

Attributes

193 | 198 |
199 |
200 |
    201 |
  • 203 |

    204 | scroll-up_class 205 | string 208 | optional 211 |

    212 |

    Scroll-Up-Class

    213 |
  • 214 |
  • 216 |

    217 | scroll-down_class 218 | string 221 | optional 224 |

    225 |

    Scroll-Down-Class

    226 |
  • 227 |
  • 229 |

    230 | scroll-ing_class 231 | string 234 | optional 237 |

    238 |

    Scroll-Range-Class

    239 |
  • 240 |
  • 242 |

    243 | scroll-range_class 244 | string 247 | optional 250 |

    251 |

    Scroll-Range-Class

    252 |
  • 253 |
  • 255 |

    256 | scroll-range_begin 257 | number 260 | optional 263 |

    264 |

    Scroll-Range-Begin

    265 |
  • 266 |
  • 268 |

    269 | scroll-range_end 270 | number 273 | optional 276 |

    277 |

    Scroll-Range-End

    278 |
  • 279 |
  • 281 |

    282 | scroll-intersect 283 | string 286 | optional 289 |

    290 |

    Scroll-Intersect

    291 |
  • 292 |
293 |
294 | 295 |
297 | 298 |
304 | 308 |

Demo

309 | 314 |
315 |
316 |
318 | 319 |
322 |
326 | 338 |
341 |
342 | 343 |
346 |
347 |
348 | 349 |
351 | 362 | 372 | 379 | 389 | 393 |
394 |
395 | 396 |
397 |
398 |
399 | 405 |
406 | 407 | 408 | 409 | 410 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@cocreate/scroll", 3 | "version": "1.13.3", 4 | "description": "A simple scroll component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.", 5 | "keywords": [ 6 | "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-scroll.git" 35 | }, 36 | "author": "CoCreate LLC", 37 | "license": "MIT", 38 | "bugs": { 39 | "url": "https://github.com/CoCreate-app/CoCreate-scroll/issues" 40 | }, 41 | "homepage": "https://cocreate.app/docs/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 | "dependencies": { 57 | "@cocreate/observer": "^1.18.1", 58 | "@cocreate/actions": "^1.21.1" 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /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.js: -------------------------------------------------------------------------------- 1 | import Observer from "@cocreate/observer"; 2 | import Actions from "@cocreate/actions"; 3 | 4 | const CoCreateScroll = { 5 | delta: 3, 6 | observer: null, 7 | timer: null, 8 | firedEvents: new Map(), 9 | 10 | init: function () { 11 | let elements = document.querySelectorAll( 12 | `[scroll], [scroll-to], [scrollable-x], [scrollable-y]` 13 | ); 14 | this.__initIntersectionObserver(); 15 | this.initElements(elements); 16 | }, 17 | 18 | initElements: function (elements) { 19 | for (let el of elements) this.initElement(el); 20 | }, 21 | 22 | initElement: function (element) { 23 | const self = this; 24 | const upSize = this.__getSize(element.getAttribute("scroll-up")); 25 | const downSize = this.__getSize(element.getAttribute("scroll-down")); 26 | const attrName = element.getAttribute("scroll-attribute") || "class"; 27 | const targetSelector = element.getAttribute("scroll-query"); 28 | const scrollSelector = element.getAttribute("scroll-element"); 29 | const intersectValue = element.getAttribute("scroll-intersect"); 30 | const scrollTo = element.getAttribute("scroll-to"); 31 | 32 | updateScrollableAttributes(element); 33 | 34 | let values = 35 | element.getAttribute("scroll") || 36 | element.getAttribute("scroll-value"); 37 | if (values || values === "") 38 | values = values.split(",").map((x) => x.trim()); 39 | 40 | let scrollInfo = { 41 | attrName: attrName, 42 | values: values, 43 | upSize: upSize, 44 | downSize: downSize, 45 | scrollTop: element.getAttribute("scroll-top"), 46 | scrollLimbo: element.getAttribute("scroll-limbo"), 47 | scrollBottom: element.getAttribute("scroll-bottom"), 48 | scrolling: element.getAttribute("scrolling"), 49 | scrollTo 50 | }; 51 | 52 | let elements = [element]; 53 | if (targetSelector) { 54 | elements = document.querySelectorAll(targetSelector); 55 | } 56 | 57 | elements.forEach((el) => { 58 | el.scrollStatus = { currentPos: 0 }; 59 | }); 60 | 61 | // this.__runScrollEvent(element, scrollInfo); 62 | 63 | let scrollableElements; 64 | if (scrollSelector) 65 | scrollableElements = document.querySelectorAll(scrollSelector); 66 | else if (element.hasAttribute("scroll-element")) 67 | scrollableElements = [element]; 68 | 69 | if (scrollableElements) { 70 | for (let scrollableEl of scrollableElements) { 71 | scrollableEl.addEventListener("scroll", function (event) { 72 | self._scrollEvent( 73 | elements, 74 | element, 75 | scrollInfo, 76 | scrollableEl 77 | ); 78 | }); 79 | } 80 | } else { 81 | // this.WindowInit = true; 82 | window.addEventListener("scroll", function (event) { 83 | self._scrollEvent(elements, element, scrollInfo); 84 | }); 85 | } 86 | 87 | if (intersectValue && window.IntersectionObserver && this.observer) { 88 | this.observer.observe(element); 89 | } 90 | 91 | if (scrollTo) { 92 | this.setScrollPosition(element, scrollTo); 93 | } 94 | }, 95 | 96 | _scrollEvent: function (elements, element, scrollInfo, scrollableEl) { 97 | const self = this; 98 | if (!element.scrollStatus) return; 99 | let scrollEl = scrollableEl || window; 100 | if ( 101 | Math.abs( 102 | scrollEl.scrollTop || 103 | scrollEl.scrollY - element.scrollStatus.currentPos 104 | ) <= self.delta 105 | ) { 106 | return; 107 | } 108 | 109 | let timer = null; 110 | if (timer != null) { 111 | clearTimeout(timer); 112 | } 113 | 114 | elements.forEach((el) => { 115 | self.__setScrolling(el, scrollInfo, false); 116 | self.__runScrollEvent(el, scrollInfo, scrollableEl); 117 | }); 118 | 119 | timer = setTimeout(function () { 120 | elements.forEach((el) => { 121 | self.__setScrolling(el, scrollInfo, true); 122 | }); 123 | }, 500); 124 | }, 125 | 126 | setScrollPosition: function (element, scrollTo) { 127 | if (!scrollTo) return; 128 | if (scrollTo.includes("top")) { 129 | element.scrollTop = 0; 130 | } else if (scrollTo.includes("bottom")) { 131 | element.scrollTop = element.scrollHeight; 132 | } 133 | 134 | if (scrollTo.includes("left")) { 135 | element.scrollLeft = 0; 136 | } else if (scrollTo.includes("right")) { 137 | element.scrollLeft = element.scrollWidth; 138 | } 139 | }, 140 | 141 | __initIntersectionObserver: function () { 142 | const self = this; 143 | this.observer = new IntersectionObserver((entries) => { 144 | entries.forEach((entry) => { 145 | let element = entry.target; 146 | const attrName = 147 | element.getAttribute("scroll-attribute") || "class"; 148 | const targetSelector = element.getAttribute("scroll-query"); 149 | const intersectValue = element.getAttribute("scroll-intersect"); 150 | 151 | let targetElements = [element]; 152 | if (targetSelector) { 153 | targetElements = document.querySelectorAll(targetSelector); 154 | } 155 | if (entry.isIntersecting > 0) { 156 | targetElements.forEach((el) => 157 | self.__addAttributeValue(el, attrName, intersectValue) 158 | ); 159 | } else { 160 | targetElements.forEach((el) => 161 | self.__removeAttrbuteValue(el, attrName, intersectValue) 162 | ); 163 | } 164 | }); 165 | }); 166 | }, 167 | 168 | __setScrolling: function (element, info, stopped = false) { 169 | const { scrolling, attrName } = info; 170 | if (stopped) { 171 | this.__removeAttrbuteValue(element, attrName, scrolling); 172 | } else { 173 | this.__addAttributeValue(element, attrName, scrolling); 174 | } 175 | }, 176 | 177 | __runScrollEvent: function (element, info, scrollableEl) { 178 | if (!element.scrollStatus) return; 179 | const currentPos = element.scrollStatus.currentPos; 180 | let scrollY, scrollHeight, innerHeight; 181 | if (scrollableEl) { 182 | scrollY = scrollableEl.scrollTop; 183 | scrollHeight = scrollableEl.scrollHeight; 184 | innerHeight = scrollableEl.clientHeight; 185 | } else { 186 | scrollY = window.scrollY; 187 | scrollHeight = document.body.scrollHeight; 188 | innerHeight = window.innerHeight; 189 | } 190 | const { 191 | upSize, 192 | downSize, 193 | attrName, 194 | values, 195 | scrollTop, 196 | scrollBottom, 197 | scrollLimbo 198 | } = info; 199 | 200 | let newTime = new Date().getTime(); 201 | if (!info.datetime || newTime - info.datetime > 200) { 202 | info["datetime"] = newTime; 203 | 204 | if (upSize <= currentPos - scrollY) { 205 | this.__addAttributeValue(element, attrName, values[0]); 206 | this.__removeAttrbuteValue(element, attrName, values[1]); 207 | } else if (downSize <= scrollY - currentPos) { 208 | this.__removeAttrbuteValue(element, attrName, values[0]); 209 | this.__addAttributeValue(element, attrName, values[1]); 210 | } 211 | } 212 | 213 | //. scroll top case 214 | if (scrollY <= this.delta) { 215 | this.__removeAttrbuteValue(element, attrName, values[0]); 216 | this.__removeAttrbuteValue(element, attrName, values[1]); 217 | 218 | this.__addAttributeValue(element, attrName, scrollTop); 219 | } else { 220 | this.__removeAttrbuteValue(element, attrName, scrollTop); 221 | } 222 | 223 | //. scroll bottom case 224 | // if ((window.innerHeight + scrollY) >= document.body.scrollHeight) { 225 | if (innerHeight + scrollY >= scrollHeight) { 226 | // this.__removeAttrbuteValue(element, attrName, values[0]); 227 | // this.__removeAttrbuteValue(element, attrName, values[1]); 228 | 229 | this.__addAttributeValue(element, attrName, scrollBottom); 230 | } else { 231 | this.__removeAttrbuteValue(element, attrName, scrollBottom); 232 | } 233 | 234 | // if (scrollY != 0 && (scrollY + window.innerHeight) != document.body.scrollHeight){ 235 | if (scrollY != 0 && scrollY + innerHeight != scrollHeight) { 236 | this.__addAttributeValue(element, attrName, scrollLimbo); 237 | } else { 238 | this.__removeAttrbuteValue(element, attrName, scrollLimbo); 239 | } 240 | 241 | element.scrollStatus.currentPos = scrollY; 242 | }, 243 | 244 | __addAttributeValue: function (element, attrName, value) { 245 | if (!value) return; 246 | let check = new RegExp("(\\s|^)" + value + "(\\s|$)"); 247 | let attrValue = element.getAttribute(attrName) || ""; 248 | 249 | if (!check.test(attrValue)) { 250 | if (attrName === "class") attrValue += " " + value; 251 | else attrValue = value; 252 | element.setAttribute(attrName, attrValue); 253 | } 254 | }, 255 | 256 | __removeAttrbuteValue: function (element, attrName, value) { 257 | if (!value) return; 258 | let check = new RegExp("(\\s|^)" + value + "(\\s|$)"); 259 | let attrValue = element.getAttribute(attrName) || ""; 260 | 261 | if (check.test(attrValue)) { 262 | attrValue = attrValue.replace(check, " ").trim(); 263 | element.setAttribute(attrName, attrValue); 264 | } 265 | }, 266 | 267 | __getSize: function (attrValue, isWidth) { 268 | let size = 0; 269 | if (!attrValue) { 270 | return 0; 271 | } 272 | 273 | if (attrValue.includes("%")) { 274 | size = attrValue.replace("%", "").trim(); 275 | size = Number(size) || 0; 276 | 277 | size = isWidth 278 | ? window.innerWidth / size 279 | : window.innerHeight / size; 280 | } else { 281 | size = attrValue.replace("px", "").trim(); 282 | size = Number(size) || 0; 283 | } 284 | 285 | return size; 286 | } 287 | }; 288 | 289 | function updateScrollableAttributes(element) { 290 | if (element.hasAttribute("scrollable-y")) { 291 | if (element.scrollWidth > element.clientWidth) 292 | element.setAttribute("scrollable-y", "true"); 293 | else element.setAttribute("scrollable-y", "false"); 294 | } 295 | 296 | if (element.hasAttribute("scrollable-x")) { 297 | if (element.scrollHeight > element.clientHeight) 298 | element.setAttribute("scrollable-x", "true"); 299 | else element.setAttribute("scrollable-x", "false"); 300 | } 301 | } 302 | 303 | Observer.init({ 304 | name: "CoCreateScrollCreate", 305 | types: ["addedNodes"], 306 | selector: "[scroll], [scroll-to], [scrollable-x], [scrollable-y]", 307 | callback: function (mutation) { 308 | CoCreateScroll.initElement(mutation.target); 309 | } 310 | }); 311 | 312 | Observer.init({ 313 | name: "CoCreateScrollAttributes", 314 | types: ["attributes"], 315 | attributeFilter: ["scroll-to"], 316 | // target: selector, // blocks mutations when applied 317 | callback: function (mutation) { 318 | CoCreateScroll.setScrollPosition( 319 | mutation.target, 320 | mutation.target.getAttribute("scroll-to") 321 | ); 322 | } 323 | }); 324 | Observer.init({ 325 | name: "CoCreateScrollAttributes", 326 | types: ["attributes"], 327 | attributeFilter: ["scrollable-x", "scrollable-y"], 328 | // target: selector, // blocks mutations when applied 329 | callback: function (mutation) { 330 | if ( 331 | mutation.oldValue !== 332 | mutation.target.getAttribute(mutation.attributeName) 333 | ) 334 | updateScrollableAttributes(mutation.target); 335 | } 336 | }); 337 | 338 | Actions.init({ 339 | name: "scroll-to", 340 | callback: (action) => { 341 | // CoCreateScroll.setScrollPosition(mutation.target) 342 | } 343 | }); 344 | 345 | CoCreateScroll.init(); 346 | 347 | export default CoCreateScroll; 348 | -------------------------------------------------------------------------------- /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-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", "scroll"], 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 | --------------------------------------------------------------------------------