├── .github ├── FUNDING.yml └── workflows │ ├── automated.yml │ └── manual.yml ├── .gitignore ├── CHANGELOG.md ├── CONTRIBUTING.md ├── CoCreate.config.js ├── LICENSE ├── README.md ├── demo ├── index.html └── page.html ├── docs └── index.html ├── package.json ├── prettier.config.js ├── release.config.js ├── src ├── index.css ├── index.js ├── modal.js └── viewport.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: /modal/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.18.2](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.18.1...v1.18.2) (2025-05-01) 2 | 3 | 4 | ### Bug Fixes 5 | 6 | * update [@cocreate](https://github.com/cocreate) dependencies ([b05a925](https://github.com/CoCreate-app/CoCreate-modal/commit/b05a925a21b3eb0eca1d91c3529b49e323fe5bcd)) 7 | 8 | ## [1.18.1](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.18.0...v1.18.1) (2025-04-30) 9 | 10 | 11 | ### Bug Fixes 12 | 13 | * added css-loader ([b5afc3d](https://github.com/CoCreate-app/CoCreate-modal/commit/b5afc3d0046114e7f9beb0ef0c294ea97efc076f)) 14 | * update query attributes ([e6e8d8e](https://github.com/CoCreate-app/CoCreate-modal/commit/e6e8d8e53529c7a4c032496f2bbd165deb028453)) 15 | * updated cocreate modules versions ([3802e2a](https://github.com/CoCreate-app/CoCreate-modal/commit/3802e2ac53f79ad52bcbaefea30914b8489a26d2)) 16 | * webpack.config and devdependencies ([6e592ff](https://github.com/CoCreate-app/CoCreate-modal/commit/6e592ffdacc30f53096a82f6ef4c50e5a57350e9)) 17 | 18 | # [1.18.0](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.17.2...v1.18.0) (2024-11-04) 19 | 20 | 21 | ### Bug Fixes 22 | 23 | * pretier.config.js and file formating ([9e4bd4b](https://github.com/CoCreate-app/CoCreate-modal/commit/9e4bd4b8d40aa7048fbbe7223cb46089c227b3da)) 24 | * support prefers-color-scheme ([156f727](https://github.com/CoCreate-app/CoCreate-modal/commit/156f727de26e1f6c9d891271b6bc5998d242dc37)) 25 | 26 | 27 | ### Features 28 | 29 | * add prettier.config.js and format files ([f1719a3](https://github.com/CoCreate-app/CoCreate-modal/commit/f1719a35d39d150512dd53de56e14191f28951e0)) 30 | * add prettier.config.js and format files ([d0d0a76](https://github.com/CoCreate-app/CoCreate-modal/commit/d0d0a76ecc4fd9ee06b53267a6d4748ffc887ced)) 31 | 32 | ## [1.17.2](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.17.1...v1.17.2) (2024-06-12) 33 | 34 | 35 | ### Bug Fixes 36 | 37 | * bump cocreate dependencies ([bb85fe4](https://github.com/CoCreate-app/CoCreate-modal/commit/bb85fe4bdd55146c67d63323979bc47d8d315ef2)) 38 | * svg icon class ([c24b93e](https://github.com/CoCreate-app/CoCreate-modal/commit/c24b93eed30de5a613d16e68afbc3558caa206d7)) 39 | 40 | ## [1.17.1](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.17.0...v1.17.1) (2024-04-29) 41 | 42 | 43 | ### Bug Fixes 44 | 45 | * bump cocreate dependencies ([fd81812](https://github.com/CoCreate-app/CoCreate-modal/commit/fd818128c90ee7b7893c2d89dd91c58bbd363297)) 46 | 47 | # [1.17.0](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.16.0...v1.17.0) (2023-11-25) 48 | 49 | 50 | ### Features 51 | 52 | * upgrade dependencies for latest features and fixes ([c9bc7b0](https://github.com/CoCreate-app/CoCreate-modal/commit/c9bc7b0e260031ceb4f663ed16133d5cdcc90662)) 53 | 54 | # [1.16.0](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.15.0...v1.16.0) (2023-11-25) 55 | 56 | 57 | ### Bug Fixes 58 | 59 | * pass attributes renamed to state ([1d4ca30](https://github.com/CoCreate-app/CoCreate-modal/commit/1d4ca30142b78eb98cd9208f3a7abc1b79ae1ca9)) 60 | * update nav, edit button and css path ([23f9a0f](https://github.com/CoCreate-app/CoCreate-modal/commit/23f9a0f96cfa858bdaa028f6d86371629b13be6d)) 61 | 62 | 63 | ### Features 64 | 65 | * upgrade dependencies for latest features and fixes ([465d238](https://github.com/CoCreate-app/CoCreate-modal/commit/465d238490d3b1ae22403edba417627b11515cda)) 66 | 67 | # [1.15.0](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.14.9...v1.15.0) (2023-11-19) 68 | 69 | 70 | ### Features 71 | 72 | * update dependecies for th latest features and bug fixes ([9f69be2](https://github.com/CoCreate-app/CoCreate-modal/commit/9f69be2e56b6ab5d9069e6bae5f406b7c9d206aa)) 73 | 74 | ## [1.14.9](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.14.8...v1.14.9) (2023-11-12) 75 | 76 | 77 | ### Bug Fixes 78 | 79 | * bump dependencies for latest features ([f487cfa](https://github.com/CoCreate-app/CoCreate-modal/commit/f487cfa5e475926844f9c3d84575ee4f85b48208)) 80 | 81 | ## [1.14.8](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.14.7...v1.14.8) (2023-11-09) 82 | 83 | 84 | ### Bug Fixes 85 | 86 | * meta name typo ([7b25458](https://github.com/CoCreate-app/CoCreate-modal/commit/7b25458d2d0c1f9026ac57c047ae78ecc74cf4da)) 87 | * update host ([ca22ad0](https://github.com/CoCreate-app/CoCreate-modal/commit/ca22ad00803cca3fbfa369d8eee36b1fc5097ba3)) 88 | 89 | ## [1.14.7](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.14.6...v1.14.7) (2023-11-03) 90 | 91 | 92 | ### Bug Fixes 93 | 94 | * favicon.ico path ([475357d](https://github.com/CoCreate-app/CoCreate-modal/commit/475357d495fd83761815b0c92d0fc6eeb8d553d9)) 95 | * update dependencies to the lates versions ([c05d218](https://github.com/CoCreate-app/CoCreate-modal/commit/c05d21808869a2a816030720d17b662c1f29446c)) 96 | 97 | ## [1.14.6](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.14.5...v1.14.6) (2023-10-25) 98 | 99 | 100 | ### Bug Fixes 101 | 102 | * bump dependencies ([1f70a97](https://github.com/CoCreate-app/CoCreate-modal/commit/1f70a972a50a0aa1b511e9e5060e6a28f679da96)) 103 | 104 | ## [1.14.5](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.14.4...v1.14.5) (2023-10-19) 105 | 106 | 107 | ### Bug Fixes 108 | 109 | * removed @cocreate/message-client ([1855c15](https://github.com/CoCreate-app/CoCreate-modal/commit/1855c15fb0db00ce3558d7b333c043138bfeb197)) 110 | 111 | ## [1.14.4](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.14.3...v1.14.4) (2023-10-14) 112 | 113 | 114 | ### Bug Fixes 115 | 116 | * bump dependencies ([2e5d297](https://github.com/CoCreate-app/CoCreate-modal/commit/2e5d297ef3578f736d14efe4f4b6558ba3850d36)) 117 | 118 | ## [1.14.3](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.14.2...v1.14.3) (2023-10-09) 119 | 120 | 121 | ### Bug Fixes 122 | 123 | * bump dependencies ([1127f16](https://github.com/CoCreate-app/CoCreate-modal/commit/1127f1679c078a85391262f74ecd354186de2ac3)) 124 | 125 | ## [1.14.2](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.14.1...v1.14.2) (2023-10-09) 126 | 127 | 128 | ### Bug Fixes 129 | 130 | * bump dependencies ([9a4f36b](https://github.com/CoCreate-app/CoCreate-modal/commit/9a4f36b46ba346aecb380a0b7ad44eeda1472336)) 131 | 132 | ## [1.14.1](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.14.0...v1.14.1) (2023-10-09) 133 | 134 | 135 | ### Bug Fixes 136 | 137 | * bump cocreate dependency versions ([713cc55](https://github.com/CoCreate-app/CoCreate-modal/commit/713cc553e6426664c0727c3f1ee4db04384331c8)) 138 | * bump dependencies ([081c332](https://github.com/CoCreate-app/CoCreate-modal/commit/081c33277e2d6ad13060ae987b489a6c1de825aa)) 139 | 140 | # [1.14.0](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.13.2...v1.14.0) (2023-09-19) 141 | 142 | 143 | ### Features 144 | 145 | * Update CoCreate dependencies to their latest versions ([0c64e8e](https://github.com/CoCreate-app/CoCreate-modal/commit/0c64e8e86b3bf8593be02743660aa08c07069e91)) 146 | 147 | ## [1.13.2](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.13.1...v1.13.2) (2023-09-18) 148 | 149 | 150 | ### Bug Fixes 151 | 152 | * Add path and pathname ([0fc81d1](https://github.com/CoCreate-app/CoCreate-modal/commit/0fc81d1d9bb4a88b821e3952ef072e73c2549215)) 153 | * Update CoCreate depndencies to latest versions ([868d4ca](https://github.com/CoCreate-app/CoCreate-modal/commit/868d4caf724337f7e6e15c4ba0c6cfe714014341)) 154 | 155 | ## [1.13.1](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.13.0...v1.13.1) (2023-08-21) 156 | 157 | 158 | ### Bug Fixes 159 | 160 | * bump dependencies ([4e446ce](https://github.com/CoCreate-app/CoCreate-modal/commit/4e446ced9a8eedf274ba3956532cb14d7f47008f)) 161 | 162 | # [1.13.0](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.12.1...v1.13.0) (2023-08-21) 163 | 164 | 165 | ### Features 166 | 167 | * Update cocreate dependencies for the latest features and bug fixes ([45a19ef](https://github.com/CoCreate-app/CoCreate-modal/commit/45a19ef59fff30072db8af1bbf1b07f9cfdfd5e2)) 168 | 169 | ## [1.12.1](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.12.0...v1.12.1) (2023-08-21) 170 | 171 | 172 | ### Bug Fixes 173 | 174 | * /dist/CoCreate.js updated to https://CoCreate.app/dist/CoCreate.js ([5ffb785](https://github.com/CoCreate-app/CoCreate-modal/commit/5ffb78552015edf9de4c5e0fe0c87d607f71ba7c)) 175 | * replace cdn with /dist ([bdf0711](https://github.com/CoCreate-app/CoCreate-modal/commit/bdf0711e06f53729db785e117fc8dd900259875c)) 176 | * update file uploader ([ff0117c](https://github.com/CoCreate-app/CoCreate-modal/commit/ff0117ce5ef5205ac5ea96de645a215aecd34c21)) 177 | 178 | # [1.12.0](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.11.0...v1.12.0) (2023-08-17) 179 | 180 | 181 | ### Features 182 | 183 | * bump cocreate dependencies for the latest updates and features ([9ddc2be](https://github.com/CoCreate-app/CoCreate-modal/commit/9ddc2be2c0df297b551215e44c9ed99fea19998e)) 184 | 185 | # [1.11.0](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.28...v1.11.0) (2023-08-16) 186 | 187 | 188 | ### Bug Fixes 189 | 190 | * crud attributes renamed ([682920e](https://github.com/CoCreate-app/CoCreate-modal/commit/682920e71eae1935f46b56ba81b88beb9f331e13)) 191 | * replace -target -selector ([948313e](https://github.com/CoCreate-app/CoCreate-modal/commit/948313efefa3788ac02c41aeceb89fc10c9205ea)) 192 | * updated actions callback data object ([171a544](https://github.com/CoCreate-app/CoCreate-modal/commit/171a5440bd912a30790fcf5dcd718d74317828f2)) 193 | * webpack.config and package.json make use of mode=production instead of process.env ([c90d56f](https://github.com/CoCreate-app/CoCreate-modal/commit/c90d56fd5412ac152fbac3958df54bab02ce8159)) 194 | 195 | 196 | ### Features 197 | 198 | * name attribute and variable renamed to key ([32880a0](https://github.com/CoCreate-app/CoCreate-modal/commit/32880a049d4624f9c9c09b45c00aed6af3240926)) 199 | 200 | ## [1.10.28](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.27...v1.10.28) (2023-06-14) 201 | 202 | 203 | ### Bug Fixes 204 | 205 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([b6a05a8](https://github.com/CoCreate-app/CoCreate-modal/commit/b6a05a8eec4ac0644cb3e667a6489176bb724637)) 206 | 207 | ## [1.10.27](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.26...v1.10.27) (2023-06-11) 208 | 209 | 210 | ### Bug Fixes 211 | 212 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([94240df](https://github.com/CoCreate-app/CoCreate-modal/commit/94240df982993c2fa1c21b9aacd5349553c6d508)) 213 | 214 | ## [1.10.26](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.25...v1.10.26) (2023-06-11) 215 | 216 | 217 | ### Bug Fixes 218 | 219 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([a334842](https://github.com/CoCreate-app/CoCreate-modal/commit/a33484280903ceaaa32d9f5dcc68fee42d2e40bf)) 220 | 221 | ## [1.10.25](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.24...v1.10.25) (2023-06-11) 222 | 223 | 224 | ### Bug Fixes 225 | 226 | * testing workflow ([d05fb8d](https://github.com/CoCreate-app/CoCreate-modal/commit/d05fb8d098c82c4434fb2dc28168efea6815aa60)) 227 | 228 | ## [1.10.24](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.23...v1.10.24) (2023-06-11) 229 | 230 | 231 | ### Bug Fixes 232 | 233 | * testing workflow ([3681dd5](https://github.com/CoCreate-app/CoCreate-modal/commit/3681dd579fd567096326a85ea89efd4a42d6b331)) 234 | 235 | ## [1.10.23](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.22...v1.10.23) (2023-06-11) 236 | 237 | 238 | ### Bug Fixes 239 | 240 | * testing workflow ([77e4a68](https://github.com/CoCreate-app/CoCreate-modal/commit/77e4a68a397dd073692423ae227be70a69f763d0)) 241 | * testing workflow ([c6f64c8](https://github.com/CoCreate-app/CoCreate-modal/commit/c6f64c8b46f85f4db86eae927b995d2080f7266b)) 242 | 243 | ## [1.10.22](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.21...v1.10.22) (2023-06-11) 244 | 245 | 246 | ### Bug Fixes 247 | 248 | * testing workflow ([bf754a0](https://github.com/CoCreate-app/CoCreate-modal/commit/bf754a02a81c29fe2a79aadfa741062af49020e3)) 249 | 250 | ## [1.10.21](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.20...v1.10.21) (2023-06-11) 251 | 252 | 253 | ### Bug Fixes 254 | 255 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([7c3fa49](https://github.com/CoCreate-app/CoCreate-modal/commit/7c3fa4991643ba56d859924dac51d37b8e9bd53f)) 256 | 257 | ## [1.10.20](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.19...v1.10.20) (2023-06-11) 258 | 259 | 260 | ### Bug Fixes 261 | 262 | * postintall error ([72db72a](https://github.com/CoCreate-app/CoCreate-modal/commit/72db72aa5523f7e94abad462ff7be89259d5350e)) 263 | 264 | ## [1.10.19](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.18...v1.10.19) (2023-06-11) 265 | 266 | 267 | ### Bug Fixes 268 | 269 | * @cocreate/cli moved to dependencies ([bfdf5e3](https://github.com/CoCreate-app/CoCreate-modal/commit/bfdf5e3df9a475f69313533350b68cf056308e89)) 270 | 271 | ## [1.10.18](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.17...v1.10.18) (2023-06-11) 272 | 273 | 274 | ### Bug Fixes 275 | 276 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([1958510](https://github.com/CoCreate-app/CoCreate-modal/commit/1958510659ac9ceede9844df81d8111e6b86c3d0)) 277 | 278 | ## [1.10.17](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.16...v1.10.17) (2023-06-11) 279 | 280 | 281 | ### Bug Fixes 282 | 283 | * renamed hosts to host. the value can be a string or an array of strings ([a8c5fcc](https://github.com/CoCreate-app/CoCreate-modal/commit/a8c5fcc020d094ab3bc921750483ae7543644603)) 284 | 285 | ## [1.10.16](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.15...v1.10.16) (2023-06-10) 286 | 287 | 288 | ### Bug Fixes 289 | 290 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([6cbaed4](https://github.com/CoCreate-app/CoCreate-modal/commit/6cbaed41b928d6c127d9947b059cf85ccad95b6b)) 291 | 292 | ## [1.10.15](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.14...v1.10.15) (2023-06-10) 293 | 294 | 295 | ### Bug Fixes 296 | 297 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([dc3dbf4](https://github.com/CoCreate-app/CoCreate-modal/commit/dc3dbf4a9de610089e45565e416ba2ef027b2dac)) 298 | 299 | ## [1.10.14](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.13...v1.10.14) (2023-06-04) 300 | 301 | 302 | ### Bug Fixes 303 | 304 | * Refactor CoCreate.config.js to remove hard-coded credentials ([f986361](https://github.com/CoCreate-app/CoCreate-modal/commit/f9863619f0c94ad60b2a2d2f904489315d607be7)) 305 | 306 | ## [1.10.13](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.12...v1.10.13) (2023-06-04) 307 | 308 | 309 | ### Bug Fixes 310 | 311 | * replaced secert GITHUB_TOKEN with GITHUB ([02eb73c](https://github.com/CoCreate-app/CoCreate-modal/commit/02eb73c0405c061d96c96a858721ba411629ecd1)) 312 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([50ef97d](https://github.com/CoCreate-app/CoCreate-modal/commit/50ef97d5e576e336ec1ad56a5b21f8d7228d3576)) 313 | 314 | ## [1.10.12](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.11...v1.10.12) (2023-06-04) 315 | 316 | 317 | ### Bug Fixes 318 | 319 | * **semantic-release:** worklow error solved by running node version 14 ([538fe5b](https://github.com/CoCreate-app/CoCreate-modal/commit/538fe5b36580e12166aeeb382b3abc9ea1507a02)) 320 | 321 | ## [1.10.11](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.10...v1.10.11) (2023-06-02) 322 | 323 | 324 | ### Bug Fixes 325 | 326 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([c90f71c](https://github.com/CoCreate-app/CoCreate-modal/commit/c90f71cce33903031a0594b00c2b890290a82ae8)) 327 | 328 | ## [1.10.10](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.9...v1.10.10) (2023-05-21) 329 | 330 | 331 | ### Bug Fixes 332 | 333 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([7e5f078](https://github.com/CoCreate-app/CoCreate-modal/commit/7e5f0787b01d7ec980c0d06c74153b994a9b4e10)) 334 | 335 | ## [1.10.9](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.8...v1.10.9) (2023-05-19) 336 | 337 | 338 | ### Bug Fixes 339 | 340 | * 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. ([02c94e9](https://github.com/CoCreate-app/CoCreate-modal/commit/02c94e93bf191fcfe8ec57e57ae181c5099bd7a6)) 341 | 342 | ## [1.10.8](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.7...v1.10.8) (2023-05-18) 343 | 344 | 345 | ### Bug Fixes 346 | 347 | * apikey renamed to key ([94874de](https://github.com/CoCreate-app/CoCreate-modal/commit/94874dea71549c171acfcf4892fd44b8d06d7daa)) 348 | * apikey renamed to key ([d90f0ce](https://github.com/CoCreate-app/CoCreate-modal/commit/d90f0ceb8b9e653f88173e9e1fa63895a752d1ee)) 349 | 350 | ## [1.10.7](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.6...v1.10.7) (2023-05-06) 351 | 352 | 353 | ### Bug Fixes 354 | 355 | * bump [@cocreate](https://github.com/cocreate) dependencies ([edfd872](https://github.com/CoCreate-app/CoCreate-modal/commit/edfd872e129426e1ec92655003c469459a256ab5)) 356 | 357 | ## [1.10.6](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.5...v1.10.6) (2023-05-01) 358 | 359 | 360 | ### Bug Fixes 361 | 362 | * update manifest.json to manifest.webmanifest ([a46d516](https://github.com/CoCreate-app/CoCreate-modal/commit/a46d516a0f6b849867e791fb1ccc9b4140ccb2cc)) 363 | 364 | ## [1.10.5](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.4...v1.10.5) (2023-05-01) 365 | 366 | 367 | ### Bug Fixes 368 | 369 | * replace fontawesome with svg ([f8cad28](https://github.com/CoCreate-app/CoCreate-modal/commit/f8cad28cbe5605ba219676836d22aefafe88daea)) 370 | 371 | ## [1.10.4](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.3...v1.10.4) (2023-04-30) 372 | 373 | 374 | ### Bug Fixes 375 | 376 | * comment overflow ([ebb669b](https://github.com/CoCreate-app/CoCreate-modal/commit/ebb669b62ca894d4268d91bd7ffe2acabc26ca92)) 377 | * fullscreen target updated to fullscreen fullscreen-target ([08f846b](https://github.com/CoCreate-app/CoCreate-modal/commit/08f846bcbeb198e600cda4aad86dc0e5f8faec87)) 378 | * package-lock.json and pnpm-lock.yaml added to .gitignore ([d3f91bf](https://github.com/CoCreate-app/CoCreate-modal/commit/d3f91bfed8663608d686410db5ad32962d131ea8)) 379 | * removed toogle fullscreen icons. now using css content ([d185a00](https://github.com/CoCreate-app/CoCreate-modal/commit/d185a00b3709283b8b9e7fbc8baf2defa2e00d56)) 380 | 381 | ## [1.10.3](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.2...v1.10.3) (2023-04-24) 382 | 383 | 384 | ### Bug Fixes 385 | 386 | * updated worrkflows to v3 and node version 16 ([20ec692](https://github.com/CoCreate-app/CoCreate-modal/commit/20ec692d929ed78bbf33cc914a40554e283fdac7)) 387 | * workflow node version updated 16 ([acae378](https://github.com/CoCreate-app/CoCreate-modal/commit/acae37811ee4f6c87105dc4cbec2c2f2eda2188a)) 388 | 389 | ## [1.10.2](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.1...v1.10.2) (2023-04-24) 390 | 391 | 392 | ### Bug Fixes 393 | 394 | * bump [@cocreate](https://github.com/cocreate) dependencies ([ed0a2e6](https://github.com/CoCreate-app/CoCreate-modal/commit/ed0a2e6c654054eeb45a96d0f959a4b06ededbe3)) 395 | 396 | ## [1.10.1](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.10.0...v1.10.1) (2023-04-24) 397 | 398 | 399 | ### Bug Fixes 400 | 401 | * removed uglifyjs-webpack-plugin ([de3a305](https://github.com/CoCreate-app/CoCreate-modal/commit/de3a305b1e4c014725cfdcf0adfd28e670217b06)) 402 | 403 | # [1.10.0](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.9.6...v1.10.0) (2023-04-24) 404 | 405 | 406 | ### Features 407 | 408 | * added pwa manifest ([47938c3](https://github.com/CoCreate-app/CoCreate-modal/commit/47938c38f6553a1e22c2d0962c25a4d0379341f8)) 409 | 410 | ## [1.9.6](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.9.5...v1.9.6) (2023-04-11) 411 | 412 | 413 | ### Bug Fixes 414 | 415 | * bump dependencies ([2e97ff9](https://github.com/CoCreate-app/CoCreate-modal/commit/2e97ff983a78092656b9258da10354d384809333)) 416 | 417 | ## [1.9.5](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.9.4...v1.9.5) (2023-04-11) 418 | 419 | 420 | ### Bug Fixes 421 | 422 | * bump [@cocreate](https://github.com/cocreate) dependencies ([03a0fc3](https://github.com/CoCreate-app/CoCreate-modal/commit/03a0fc3964f82a4946dcd809336bced0b346e306)) 423 | 424 | ## [1.9.4](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.9.3...v1.9.4) (2023-04-11) 425 | 426 | 427 | ### Bug Fixes 428 | 429 | * renamed domains to hosts ([9507f52](https://github.com/CoCreate-app/CoCreate-modal/commit/9507f52d4ec1c13ab2ac76d42c277bf31901787e)) 430 | 431 | ## [1.9.3](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.9.2...v1.9.3) (2023-03-30) 432 | 433 | 434 | ### Bug Fixes 435 | 436 | * bump [@cocreate](https://github.com/cocreate) dependencies' ([dcab3e7](https://github.com/CoCreate-app/CoCreate-modal/commit/dcab3e725a348d1aadd5fff9f81b7c799eecba1e)) 437 | 438 | ## [1.9.2](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.9.1...v1.9.2) (2023-03-16) 439 | 440 | 441 | ### Bug Fixes 442 | 443 | * bump dependencies' ([962cfd7](https://github.com/CoCreate-app/CoCreate-modal/commit/962cfd77a709459ba82585c6fbfef9af1217bdb6)) 444 | 445 | ## [1.9.1](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.9.0...v1.9.1) (2023-03-16) 446 | 447 | 448 | ### Bug Fixes 449 | 450 | * bump dependencies' ([5aafe23](https://github.com/CoCreate-app/CoCreate-modal/commit/5aafe23865702bcfe9108eb3a3f280709eb407d8)) 451 | 452 | # [1.9.0](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.8.5...v1.9.0) (2023-03-16) 453 | 454 | 455 | ### Bug Fixes 456 | 457 | * add attributes then append modal to reduce observer ([f889a56](https://github.com/CoCreate-app/CoCreate-modal/commit/f889a5638cd1b1d2c8f1ba0abe4371659ef7ac4e)) 458 | 459 | 460 | ### Features 461 | 462 | * replaced get-value and set-value with a super charged version of CoCreate-events ([d1c9cf2](https://github.com/CoCreate-app/CoCreate-modal/commit/d1c9cf236136599afa52e9a1e0c797b1ecc62872)) 463 | 464 | ## [1.8.5](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.8.4...v1.8.5) (2023-02-01) 465 | 466 | 467 | ### Bug Fixes 468 | 469 | * bump dependencies ([0ddddae](https://github.com/CoCreate-app/CoCreate-modal/commit/0ddddaec4602342cad331898c6f10a0de0a98f9c)) 470 | 471 | ## [1.8.4](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.8.3...v1.8.4) (2023-01-31) 472 | 473 | 474 | ### Bug Fixes 475 | 476 | * bump dependencies ([31aca34](https://github.com/CoCreate-app/CoCreate-modal/commit/31aca34e9f709eaffcb081bcde9da28ce1a038a0)) 477 | 478 | ## [1.8.3](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.8.2...v1.8.3) (2023-01-30) 479 | 480 | 481 | ### Bug Fixes 482 | 483 | * bump dependencies ([3be8696](https://github.com/CoCreate-app/CoCreate-modal/commit/3be8696c8e6893bf825a5459f08d7bc14f1bf84e)) 484 | 485 | ## [1.8.2](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.8.1...v1.8.2) (2023-01-29) 486 | 487 | 488 | ### Bug Fixes 489 | 490 | * bump dependencies ([aeec2c4](https://github.com/CoCreate-app/CoCreate-modal/commit/aeec2c41547d82b0b8ed8adbc9ca8867ec903238)) 491 | 492 | ## [1.8.1](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.8.0...v1.8.1) (2023-01-29) 493 | 494 | 495 | ### Bug Fixes 496 | 497 | * bump dependencies ([3229cc7](https://github.com/CoCreate-app/CoCreate-modal/commit/3229cc7fb767ce44ea1403e173e6501191b5b1b5)) 498 | 499 | # [1.8.0](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.7.10...v1.8.0) (2023-01-29) 500 | 501 | 502 | ### Features 503 | 504 | * import @cocreate/local-storage ([1a24bd2](https://github.com/CoCreate-app/CoCreate-modal/commit/1a24bd25467de054eb69f113571968e5d76f9fed)) 505 | 506 | ## [1.7.10](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.7.9...v1.7.10) (2023-01-27) 507 | 508 | 509 | ### Bug Fixes 510 | 511 | * bump dependencies ([00c0b14](https://github.com/CoCreate-app/CoCreate-modal/commit/00c0b144f69661c6690b08d328ce7be41b31662a)) 512 | 513 | ## [1.7.9](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.7.8...v1.7.9) (2023-01-13) 514 | 515 | 516 | ### Bug Fixes 517 | 518 | * bump dependencies ([96c604f](https://github.com/CoCreate-app/CoCreate-modal/commit/96c604f75bcf12ea001ad6c7ca8ab97efcb355d1)) 519 | 520 | ## [1.7.8](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.7.7...v1.7.8) (2023-01-10) 521 | 522 | 523 | ### Bug Fixes 524 | 525 | * bump dependencies ([5c7346a](https://github.com/CoCreate-app/CoCreate-modal/commit/5c7346a2df526439cca37dd26f21c65ec4bf53e7)) 526 | 527 | ## [1.7.7](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.7.6...v1.7.7) (2023-01-09) 528 | 529 | 530 | ### Bug Fixes 531 | 532 | * bump dependnecies ([78e689d](https://github.com/CoCreate-app/CoCreate-modal/commit/78e689da748aa74773873907e5cb0498b29ed64a)) 533 | 534 | ## [1.7.6](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.7.5...v1.7.6) (2023-01-06) 535 | 536 | 537 | ### Bug Fixes 538 | 539 | * bump dependencies, worklow [@v3](https://github.com/v3) ([8fe7121](https://github.com/CoCreate-app/CoCreate-modal/commit/8fe7121b005a1cc85c968a68aa95790eecb4ddc3)) 540 | * edit in github btn styles ([da8183d](https://github.com/CoCreate-app/CoCreate-modal/commit/da8183d516452c5e230d3b438ca4ac36be16625d)) 541 | 542 | ## [1.7.5](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.7.4...v1.7.5) (2023-01-05) 543 | 544 | 545 | ### Bug Fixes 546 | 547 | * bump cdn to 1.39.4 ([ae7e8f4](https://github.com/CoCreate-app/CoCreate-modal/commit/ae7e8f4e48817921b5591ece855d6fa7d8705bf8)) 548 | * bump dependencies ([6b8a1f4](https://github.com/CoCreate-app/CoCreate-modal/commit/6b8a1f4cb3b4d96daf6c8950c98c18b49358df5e)) 549 | 550 | ## [1.7.4](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.7.3...v1.7.4) (2023-01-01) 551 | 552 | 553 | ### Bug Fixes 554 | 555 | * docs sanbox overflow ([fda88af](https://github.com/CoCreate-app/CoCreate-modal/commit/fda88aff546009dc40cb15344eafe3093078aea2)) 556 | 557 | ## [1.7.3](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.7.2...v1.7.3) (2022-12-31) 558 | 559 | 560 | ### Bug Fixes 561 | 562 | * bump dependencies ([a0c583c](https://github.com/CoCreate-app/CoCreate-modal/commit/a0c583ccd35951a5c87e3c82d9088ad86166e7a7)) 563 | 564 | ## [1.7.2](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.7.1...v1.7.2) (2022-12-30) 565 | 566 | 567 | ### Bug Fixes 568 | 569 | * update config sources to use template braces with entry on src ([e5854ba](https://github.com/CoCreate-app/CoCreate-modal/commit/e5854ba7d7c9cf4db508fb490f772c72a2d06d62)) 570 | 571 | ## [1.7.1](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.7.0...v1.7.1) (2022-12-29) 572 | 573 | 574 | ### Bug Fixes 575 | 576 | * bump dependencies ([634a75e](https://github.com/CoCreate-app/CoCreate-modal/commit/634a75ec9c6338ba17b94b92d488d5d1b4257d20)) 577 | 578 | # [1.7.0](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.6.0...v1.7.0) (2022-12-27) 579 | 580 | 581 | ### Bug Fixes 582 | 583 | * bump dependecies ([af54e23](https://github.com/CoCreate-app/CoCreate-modal/commit/af54e239cda13b561546b935ca38a4599a49187f)) 584 | * bump dependencies ([10c7ac5](https://github.com/CoCreate-app/CoCreate-modal/commit/10c7ac5f9f7465ce06a3bd6eac855734e8058f45)) 585 | 586 | 587 | ### Features 588 | 589 | * href replace with modal-src, open-modal action ([c095737](https://github.com/CoCreate-app/CoCreate-modal/commit/c09573779bc81c8ae8efcd6b39529281d9a9d183)) 590 | * support for pass-value. will inset value in modal ([d7baedc](https://github.com/CoCreate-app/CoCreate-modal/commit/d7baedc79541ecaa943dbb344035542a4b74aa90)) 591 | 592 | # [1.6.0](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.28...v1.6.0) (2022-12-25) 593 | 594 | 595 | ### Bug Fixes 596 | 597 | * bump dependencies ([9a59b11](https://github.com/CoCreate-app/CoCreate-modal/commit/9a59b11cb81c172d9a2208e5cf6d15d5f7063bbf)) 598 | 599 | 600 | ### Features 601 | 602 | * openModal action ([cad7bc5](https://github.com/CoCreate-app/CoCreate-modal/commit/cad7bc54c778fc32f37f6ba1cb74f1d8b7fab335)) 603 | 604 | ## [1.5.28](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.27...v1.5.28) (2022-12-23) 605 | 606 | 607 | ### Bug Fixes 608 | 609 | * bump dependnecies ([3716b62](https://github.com/CoCreate-app/CoCreate-modal/commit/3716b6242bed8cf381d0e1a71766f1c4fec5919d)) 610 | 611 | ## [1.5.27](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.26...v1.5.27) (2022-12-22) 612 | 613 | 614 | ### Bug Fixes 615 | 616 | * bump dependencies ([c0dc526](https://github.com/CoCreate-app/CoCreate-modal/commit/c0dc52697b2a13ecbb84086792e074d30ca8bd8a)) 617 | 618 | ## [1.5.26](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.25...v1.5.26) (2022-12-22) 619 | 620 | 621 | ### Bug Fixes 622 | 623 | * update demos and bump dependencies ([926c098](https://github.com/CoCreate-app/CoCreate-modal/commit/926c0980558c1ffa4d112552b05b08b166b7b71c)) 624 | 625 | ## [1.5.25](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.24...v1.5.25) (2022-12-21) 626 | 627 | 628 | ### Bug Fixes 629 | 630 | * bump dependencies ([8443a7b](https://github.com/CoCreate-app/CoCreate-modal/commit/8443a7bc0f73ea07c1d9bc7f737cdab0be0106ef)) 631 | 632 | ## [1.5.24](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.23...v1.5.24) (2022-12-20) 633 | 634 | 635 | ### Bug Fixes 636 | 637 | * bump dependencies ([555d49d](https://github.com/CoCreate-app/CoCreate-modal/commit/555d49d3eb22d0d31df90d07745df0a15879dbab)) 638 | 639 | ## [1.5.23](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.22...v1.5.23) (2022-12-15) 640 | 641 | 642 | ### Bug Fixes 643 | 644 | * add missing dev dependency style-loader ([2d90858](https://github.com/CoCreate-app/CoCreate-modal/commit/2d908585d07c0de2b3174baf5b57aedb99f67f59)) 645 | 646 | ## [1.5.22](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.21...v1.5.22) (2022-12-13) 647 | 648 | 649 | ### Bug Fixes 650 | 651 | * removed un used devDependencies ([68bf133](https://github.com/CoCreate-app/CoCreate-modal/commit/68bf13363701a30d484377c780108a73ff1fd352)) 652 | 653 | ## [1.5.21](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.20...v1.5.21) (2022-12-13) 654 | 655 | 656 | ### Bug Fixes 657 | 658 | * bump dependencies ([3171c6d](https://github.com/CoCreate-app/CoCreate-modal/commit/3171c6d635f881f95195dc791783328ec204ac5b)) 659 | 660 | ## [1.5.20](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.19...v1.5.20) (2022-12-12) 661 | 662 | 663 | ### Bug Fixes 664 | 665 | * bump dependencies ([f9b59cb](https://github.com/CoCreate-app/CoCreate-modal/commit/f9b59cbc58958279ee28dbb5e0e7210dbcb9866d)) 666 | 667 | ## [1.5.19](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.18...v1.5.19) (2022-12-11) 668 | 669 | 670 | ### Bug Fixes 671 | 672 | * bump dependencies ([5984f30](https://github.com/CoCreate-app/CoCreate-modal/commit/5984f3022029a62a5494ebd31c98f20559dd06f4)) 673 | * minMax ([377f37b](https://github.com/CoCreate-app/CoCreate-modal/commit/377f37ba0c19d2d82b84e8808569468c45cadefc)) 674 | 675 | ## [1.5.18](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.17...v1.5.18) (2022-12-09) 676 | 677 | 678 | ### Bug Fixes 679 | 680 | * bump dependencies ([d520023](https://github.com/CoCreate-app/CoCreate-modal/commit/d520023ef3912f84808109770ef57d3ab7706560)) 681 | 682 | ## [1.5.17](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.16...v1.5.17) (2022-12-08) 683 | 684 | 685 | ### Bug Fixes 686 | 687 | * bump dependencies ([09b6b73](https://github.com/CoCreate-app/CoCreate-modal/commit/09b6b737c60b5024e22735cb22794c1d6feb1458)) 688 | 689 | ## [1.5.16](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.15...v1.5.16) (2022-12-07) 690 | 691 | 692 | ### Bug Fixes 693 | 694 | * bump dependencies ([1e9a601](https://github.com/CoCreate-app/CoCreate-modal/commit/1e9a601721c92a8150e31f50e10f6694e5a19d73)) 695 | 696 | ## [1.5.15](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.14...v1.5.15) (2022-12-04) 697 | 698 | 699 | ### Bug Fixes 700 | 701 | * bump dependencies ([9249189](https://github.com/CoCreate-app/CoCreate-modal/commit/92491898ad16885381d1d2dc110be88bfab71928)) 702 | 703 | ## [1.5.14](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.13...v1.5.14) (2022-12-02) 704 | 705 | 706 | ### Bug Fixes 707 | 708 | * bump dependencies ([8582758](https://github.com/CoCreate-app/CoCreate-modal/commit/85827588f49701f6b6e8d5ab1af6ad2ece9ec916)) 709 | * docs ([e692a4f](https://github.com/CoCreate-app/CoCreate-modal/commit/e692a4f10bb18dabcb6c9f00e912ed33043d04e4)) 710 | 711 | ## [1.5.13](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.12...v1.5.13) (2022-11-28) 712 | 713 | 714 | ### Bug Fixes 715 | 716 | * bump dependencies ([112a0a4](https://github.com/CoCreate-app/CoCreate-modal/commit/112a0a4948b5920def79cab6fc32a901c73b0b31)) 717 | 718 | ## [1.5.12](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.11...v1.5.12) (2022-11-28) 719 | 720 | 721 | ### Bug Fixes 722 | 723 | * bump dependencies ([bdb5754](https://github.com/CoCreate-app/CoCreate-modal/commit/bdb57547f110a50bede981f7016b913fc1250462)) 724 | 725 | ## [1.5.11](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.10...v1.5.11) (2022-11-27) 726 | 727 | 728 | ### Bug Fixes 729 | 730 | * bump dependencies ([80d2c0f](https://github.com/CoCreate-app/CoCreate-modal/commit/80d2c0f6b8d5430cf1a58a17264071aac2987b48)) 731 | 732 | ## [1.5.10](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.9...v1.5.10) (2022-11-26) 733 | 734 | 735 | ### Bug Fixes 736 | 737 | * bump dependencies ([3cc7f7a](https://github.com/CoCreate-app/CoCreate-modal/commit/3cc7f7ad4defc3c8638799cde637ac0d42b22e91)) 738 | 739 | ## [1.5.9](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.8...v1.5.9) (2022-11-25) 740 | 741 | 742 | ### Bug Fixes 743 | 744 | * bump dependencies ([d2f4020](https://github.com/CoCreate-app/CoCreate-modal/commit/d2f4020c1720589dbd71a6574be6e4805559756c)) 745 | 746 | ## [1.5.8](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.7...v1.5.8) (2022-11-24) 747 | 748 | 749 | ### Bug Fixes 750 | 751 | * bump depenedencies ([d706865](https://github.com/CoCreate-app/CoCreate-modal/commit/d706865d0a0dfcb089ed7b1e6663c570969fa9f4)) 752 | 753 | ## [1.5.7](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.6...v1.5.7) (2022-11-23) 754 | 755 | 756 | ### Bug Fixes 757 | 758 | * bumped [@cocreate](https://github.com/cocreate) dependencies ([48d334c](https://github.com/CoCreate-app/CoCreate-modal/commit/48d334c81570b10a4de8392011933731224f09b2)) 759 | 760 | ## [1.5.6](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.5...v1.5.6) (2022-11-22) 761 | 762 | 763 | ### Bug Fixes 764 | 765 | * workflow docs ([d19dde0](https://github.com/CoCreate-app/CoCreate-modal/commit/d19dde0c21a3803c53c41885b0bb5532a9e79539)) 766 | 767 | ## [1.5.5](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.4...v1.5.5) (2022-11-22) 768 | 769 | 770 | ### Bug Fixes 771 | 772 | * apply src: {{source}} to CoCreate.config ([7ee48e0](https://github.com/CoCreate-app/CoCreate-modal/commit/7ee48e0c650439226e5bb1465584005302fa6faa)) 773 | 774 | ## [1.5.4](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.3...v1.5.4) (2022-11-21) 775 | 776 | 777 | ### Bug Fixes 778 | 779 | * @cocreate/docs bug fix ([42da7ef](https://github.com/CoCreate-app/CoCreate-modal/commit/42da7ef38b09e75fb257539803986d1089895128)) 780 | 781 | ## [1.5.3](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.2...v1.5.3) (2022-11-21) 782 | 783 | 784 | ### Bug Fixes 785 | 786 | * replaced document_id with document._id ([6f48bbe](https://github.com/CoCreate-app/CoCreate-modal/commit/6f48bbe22dd2e1a68a46afeb01f2b930b8bee7cc)) 787 | 788 | ## [1.5.2](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.1...v1.5.2) (2022-11-21) 789 | 790 | 791 | ### Bug Fixes 792 | 793 | * bump [@cocreate](https://github.com/cocreate) dependencies ([e409b87](https://github.com/CoCreate-app/CoCreate-modal/commit/e409b879983136e873a5f77c6acd1152e680c183)) 794 | 795 | ## [1.5.1](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.5.0...v1.5.1) (2022-11-21) 796 | 797 | 798 | ### Bug Fixes 799 | 800 | * bump d@cocreate ependencies ([69a7d3d](https://github.com/CoCreate-app/CoCreate-modal/commit/69a7d3df820d3bf452c2922c6e604ed2ee55121c)) 801 | 802 | # [1.5.0](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.4.14...v1.5.0) (2022-11-21) 803 | 804 | 805 | ### Features 806 | 807 | * offline support, iframe cross origin support when online using socket. depreciated ModalStorage ([8b5c4d3](https://github.com/CoCreate-app/CoCreate-modal/commit/8b5c4d38d2303269f88415530cde5a4f9f13ecd1)) 808 | 809 | ## [1.4.14](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.4.13...v1.4.14) (2022-10-02) 810 | 811 | 812 | ### Bug Fixes 813 | 814 | * minor bug fixes ([5452d32](https://github.com/CoCreate-app/CoCreate-modal/commit/5452d326b79a265b35cf486eb5029faf121abd35)) 815 | 816 | ## [1.4.13](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.4.12...v1.4.13) (2022-10-02) 817 | 818 | 819 | ### Bug Fixes 820 | 821 | * bump @cocreate/hosting and @cocreate/socket-client ([609beb5](https://github.com/CoCreate-app/CoCreate-modal/commit/609beb5f982ad9a894dc38c4852531289a468b21)) 822 | * config renamed to CoCreateConfig ([046348b](https://github.com/CoCreate-app/CoCreate-modal/commit/046348b76e4bf7c861e345d32193edc925bc8094)) 823 | 824 | ## [1.4.12](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.4.11...v1.4.12) (2022-10-01) 825 | 826 | 827 | ### Bug Fixes 828 | 829 | * bump dependencies ([429f1b4](https://github.com/CoCreate-app/CoCreate-modal/commit/429f1b4f4be04492646e4968a412c96aaf1002d9)) 830 | 831 | ## [1.4.11](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.4.10...v1.4.11) (2022-09-30) 832 | 833 | 834 | ### Bug Fixes 835 | 836 | * bump [@cocreate](https://github.com/cocreate) dependencies ([3e6eb15](https://github.com/CoCreate-app/CoCreate-modal/commit/3e6eb159fd20cb6ddd2198b23b686df72bbc8d3d)) 837 | 838 | ## [1.4.10](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.4.9...v1.4.10) (2022-09-30) 839 | 840 | 841 | ### Bug Fixes 842 | 843 | * bump [@cocreate](https://github.com/cocreate) dependencies ([8c20e2c](https://github.com/CoCreate-app/CoCreate-modal/commit/8c20e2cc9816f41e1071c19b59d9713c0509d0f5)) 844 | 845 | ## [1.4.9](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.4.8...v1.4.9) (2022-09-30) 846 | 847 | 848 | ### Bug Fixes 849 | 850 | * bump [@cocreate](https://github.com/cocreate) dependencies ([2b85bbe](https://github.com/CoCreate-app/CoCreate-modal/commit/2b85bbe7ca845147922ebfbe63cf98ad79cf7146)) 851 | 852 | ## [1.4.8](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.4.7...v1.4.8) (2022-09-30) 853 | 854 | 855 | ### Bug Fixes 856 | 857 | * bump dependencies ([bee34c9](https://github.com/CoCreate-app/CoCreate-modal/commit/bee34c916d949179a9508552f166ccb47770c522)) 858 | 859 | ## [1.4.7](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.4.6...v1.4.7) (2022-09-30) 860 | 861 | 862 | ### Bug Fixes 863 | 864 | * bump dependencies ([1b60a06](https://github.com/CoCreate-app/CoCreate-modal/commit/1b60a06f1dcad630bd16356ed48fedcb3dac2be9)) 865 | 866 | ## [1.4.6](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.4.5...v1.4.6) (2022-09-29) 867 | 868 | 869 | ### Bug Fixes 870 | 871 | * config renameed to CoCreateConfig ([b0b1273](https://github.com/CoCreate-app/CoCreate-modal/commit/b0b1273efb61220de00eda4e96aedd72286aa469)) 872 | 873 | ## [1.4.5](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.4.4...v1.4.5) (2022-09-01) 874 | 875 | 876 | ### Bug Fixes 877 | 878 | * bump all of [@cocreate](https://github.com/cocreate) dependencies ([5b3fe21](https://github.com/CoCreate-app/CoCreate-modal/commit/5b3fe219b67659ca47358535d21756dbe7875416)) 879 | 880 | ## [1.4.4](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.4.3...v1.4.4) (2022-08-31) 881 | 882 | 883 | ### Bug Fixes 884 | 885 | * rename variables isBroadcast and isBroadcastSender to broadcast and broadcastSender ([bc42742](https://github.com/CoCreate-app/CoCreate-modal/commit/bc42742f42ad30de0cd3b9a311df0985ed15baa4)) 886 | 887 | ## [1.4.3](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.4.2...v1.4.3) (2022-07-08) 888 | 889 | 890 | ### Bug Fixes 891 | 892 | * position.minMax ([fd8f5da](https://github.com/CoCreate-app/CoCreate-modal/commit/fd8f5da8ee71c7fa5ab2ed525e1ae651dc7d43b5)) 893 | 894 | ## [1.4.2](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.4.1...v1.4.2) (2022-07-04) 895 | 896 | 897 | ### Bug Fixes 898 | 899 | * create an array of elements attributes to use with send message ([172d977](https://github.com/CoCreate-app/CoCreate-modal/commit/172d9778c6222e7239215014a700829099f3f6a5)) 900 | 901 | ## [1.4.1](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.4.0...v1.4.1) (2022-07-03) 902 | 903 | 904 | ### Bug Fixes 905 | 906 | * window.self typo ([14bc487](https://github.com/CoCreate-app/CoCreate-modal/commit/14bc487b31b17b49c80617694b3681773c0d3c6b)) 907 | 908 | # [1.4.0](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.3.0...v1.4.0) (2022-06-27) 909 | 910 | 911 | ### Bug Fixes 912 | 913 | * apply pass_id attributes if pass_to exist regardless of element tagName ([0dc29a3](https://github.com/CoCreate-app/CoCreate-modal/commit/0dc29a3857346b2b8625ecdf27c0635b5dcad80c)) 914 | 915 | 916 | ### Features 917 | 918 | * pass- any attribute to modal container ([79bc117](https://github.com/CoCreate-app/CoCreate-modal/commit/79bc117c70e207483e8fd95c5bc7ac9abe3ff2c7)) 919 | 920 | # [1.3.0](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.2.3...v1.3.0) (2022-06-27) 921 | 922 | 923 | ### Features 924 | 925 | * split modal into 2 components, modal and position. Added @cocreate/position to provide movable modal functionality ([2f9c50f](https://github.com/CoCreate-app/CoCreate-modal/commit/2f9c50fce30e671bf73402460b58162e10ed9ebe)) 926 | 927 | ## [1.2.3](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.2.2...v1.2.3) (2022-06-18) 928 | 929 | 930 | ### Bug Fixes 931 | 932 | * bump dependencies ([a78a382](https://github.com/CoCreate-app/CoCreate-modal/commit/a78a382d0691ab537e2cc53544406dbbb20e3da5)) 933 | 934 | ## [1.2.2](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.2.1...v1.2.2) (2022-06-13) 935 | 936 | 937 | ### Bug Fixes 938 | 939 | * update modal btn to actions ([86c140a](https://github.com/CoCreate-app/CoCreate-modal/commit/86c140a1bf9502a37bddf2184b1c366b88d95797)) 940 | 941 | ## [1.2.1](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.2.0...v1.2.1) (2022-06-12) 942 | 943 | 944 | ### Bug Fixes 945 | 946 | * update dependencies ([38b13f3](https://github.com/CoCreate-app/CoCreate-modal/commit/38b13f3905b8c16aa10d7a65bf97c37d306aebdb)) 947 | * update docs css document_id ([8f20018](https://github.com/CoCreate-app/CoCreate-modal/commit/8f20018e076bf84fa0148f6024cd416cf4d6fb4a)) 948 | 949 | # [1.2.0](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.71...v1.2.0) (2022-06-07) 950 | 951 | 952 | ### Features 953 | 954 | * modals btns will trigger their respective functions in same document and if in iframe will use sendMessage ([07c117f](https://github.com/CoCreate-app/CoCreate-modal/commit/07c117f5a270ef2988c63c376b4cba965ddb61e3)) 955 | 956 | ## [1.1.71](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.70...v1.1.71) (2022-06-07) 957 | 958 | 959 | ### Bug Fixes 960 | 961 | * if href add iframe else add div and pass-src ([20c007a](https://github.com/CoCreate-app/CoCreate-modal/commit/20c007ad6d84944c9e8506c7df08944a29d6d304)) 962 | 963 | ## [1.1.70](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.69...v1.1.70) (2022-05-23) 964 | 965 | 966 | ### Bug Fixes 967 | 968 | * bump all dependencies ([8fdbc54](https://github.com/CoCreate-app/CoCreate-modal/commit/8fdbc5455935e1ea01483e0dc4cc00babedc2e6a)) 969 | 970 | ## [1.1.69](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.68...v1.1.69) (2022-05-19) 971 | 972 | 973 | ### Bug Fixes 974 | 975 | * update document_id on link index.css ([cbd076a](https://github.com/CoCreate-app/CoCreate-modal/commit/cbd076a3cb88a6866a15db64d33d7bd3e951e3b9)) 976 | 977 | ## [1.1.68](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.67...v1.1.68) (2022-05-06) 978 | 979 | 980 | ### Bug Fixes 981 | 982 | * update config organization_Id to organization_id ([125def1](https://github.com/CoCreate-app/CoCreate-modal/commit/125def1c45b1e9c0a5c648cb279bad8a83a592d4)) 983 | 984 | ## [1.1.67](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.66...v1.1.67) (2022-04-16) 985 | 986 | 987 | ### Bug Fixes 988 | 989 | * update message to use data instead of emit ([119eb9e](https://github.com/CoCreate-app/CoCreate-modal/commit/119eb9e3f4c869c7cb0483d5b6eb69d9bf9caf2b)) 990 | 991 | ## [1.1.66](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.65...v1.1.66) (2022-02-24) 992 | 993 | 994 | ### Bug Fixes 995 | 996 | * CoCreate.config replace CoCreate.app with * ([c30b58a](https://github.com/CoCreate-app/CoCreate-modal/commit/c30b58affb58b15e4cf127805765f13714c8a848)) 997 | 998 | ## [1.1.65](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.64...v1.1.65) (2022-02-16) 999 | 1000 | 1001 | ### Bug Fixes 1002 | 1003 | * update dependencies ([3c1909a](https://github.com/CoCreate-app/CoCreate-modal/commit/3c1909abc1c6dec46d712a6672e1b574401100dd)) 1004 | 1005 | ## [1.1.64](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.63...v1.1.64) (2022-02-10) 1006 | 1007 | 1008 | ### Bug Fixes 1009 | 1010 | * bump dependencies ([775519a](https://github.com/CoCreate-app/CoCreate-modal/commit/775519a58dc3b225d39949df1577ed590b2280e0)) 1011 | 1012 | ## [1.1.63](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.62...v1.1.63) (2022-02-07) 1013 | 1014 | 1015 | ### Bug Fixes 1016 | 1017 | * bump dependency versions ([68e33c8](https://github.com/CoCreate-app/CoCreate-modal/commit/68e33c883541ac60d428fb90e3cfd926374111cd)) 1018 | 1019 | ## [1.1.62](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.61...v1.1.62) (2022-02-03) 1020 | 1021 | 1022 | ### Bug Fixes 1023 | 1024 | * replaced show and hide class hidden with attribute hidden ([9fd35da](https://github.com/CoCreate-app/CoCreate-modal/commit/9fd35da60ef7ebae455789b2fcfc501e95264cd7)) 1025 | 1026 | ## [1.1.61](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.60...v1.1.61) (2022-02-01) 1027 | 1028 | 1029 | ### Bug Fixes 1030 | 1031 | * update dependency versions ([f679702](https://github.com/CoCreate-app/CoCreate-modal/commit/f679702388a6aa561415132e51ba7f1d8967c411)) 1032 | 1033 | ## [1.1.60](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.59...v1.1.60) (2022-01-31) 1034 | 1035 | 1036 | ### Bug Fixes 1037 | 1038 | * url from element.href || element.getAttribute('href') ([ca43996](https://github.com/CoCreate-app/CoCreate-modal/commit/ca43996051034304a33ce49f9cc95cb044521425)) 1039 | 1040 | ## [1.1.59](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.58...v1.1.59) (2022-01-01) 1041 | 1042 | 1043 | ### Bug Fixes 1044 | 1045 | * get-value attribute value now supports a selector added # to all values currently in get-value attributes ([1f6a714](https://github.com/CoCreate-app/CoCreate-modal/commit/1f6a71485e27000caaea36ef5ab2e0c370e2e14f)) 1046 | 1047 | ## [1.1.58](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.57...v1.1.58) (2021-12-15) 1048 | 1049 | 1050 | ### Bug Fixes 1051 | 1052 | * update dependencies ([4f538ce](https://github.com/CoCreate-app/CoCreate-modal/commit/4f538ce73d5c062d4091d04de10463147f1adf27)) 1053 | 1054 | ## [1.1.57](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.56...v1.1.57) (2021-12-14) 1055 | 1056 | 1057 | ### Bug Fixes 1058 | 1059 | * update dependencies ([1a9999a](https://github.com/CoCreate-app/CoCreate-modal/commit/1a9999abbb6de64d0fc2f37e2d8e05dd9ffff3f6)) 1060 | * update dependencies ([d59c07c](https://github.com/CoCreate-app/CoCreate-modal/commit/d59c07cf492882129048480cb0ddd0e8e67c459e)) 1061 | 1062 | ## [1.1.56](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.55...v1.1.56) (2021-11-27) 1063 | 1064 | 1065 | ### Bug Fixes 1066 | 1067 | * update dependencies ([537f036](https://github.com/CoCreate-app/CoCreate-modal/commit/537f036dca5ba59280e5c555685b7b33b2072841)) 1068 | 1069 | ## [1.1.55](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.54...v1.1.55) (2021-11-27) 1070 | 1071 | 1072 | ### Bug Fixes 1073 | 1074 | * update dependencies ([20d0bd8](https://github.com/CoCreate-app/CoCreate-modal/commit/20d0bd873733195f8424524006a1121e043a9352)) 1075 | 1076 | ## [1.1.54](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.53...v1.1.54) (2021-11-27) 1077 | 1078 | 1079 | ### Bug Fixes 1080 | 1081 | * update docs api and cocreateJS script ([1be69f6](https://github.com/CoCreate-app/CoCreate-modal/commit/1be69f6ec998a2011f96c41c12d026d32799545a)) 1082 | 1083 | ## [1.1.53](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.52...v1.1.53) (2021-11-26) 1084 | 1085 | 1086 | ### Bug Fixes 1087 | 1088 | * docs sidenav width ([3eff059](https://github.com/CoCreate-app/CoCreate-modal/commit/3eff05974bbd9da387cd37922182cc8bffb9d70b)) 1089 | * updated action dependency to actions ([0a356fc](https://github.com/CoCreate-app/CoCreate-modal/commit/0a356fcc6107fc66fe82dc0cac79380597f19bf5)) 1090 | 1091 | ## [1.1.52](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.51...v1.1.52) (2021-11-26) 1092 | 1093 | 1094 | ### Bug Fixes 1095 | 1096 | * update dependencies ([3ec57be](https://github.com/CoCreate-app/CoCreate-modal/commit/3ec57bec1dce322b934611a234c8dbdd9bf681cf)) 1097 | 1098 | ## [1.1.51](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.50...v1.1.51) (2021-11-23) 1099 | 1100 | 1101 | ### Bug Fixes 1102 | 1103 | * update dependencies ([5f69f80](https://github.com/CoCreate-app/CoCreate-modal/commit/5f69f804389663efb9a7e0bc5db964e4327393fb)) 1104 | 1105 | ## [1.1.50](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.49...v1.1.50) (2021-11-20) 1106 | 1107 | 1108 | ### Bug Fixes 1109 | 1110 | * remove cdn.CoCreate.min.css ([234f918](https://github.com/CoCreate-app/CoCreate-modal/commit/234f9187149ff8d4ef55fe520d5d53ccaa5734e8)) 1111 | 1112 | ## [1.1.49](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.48...v1.1.49) (2021-11-20) 1113 | 1114 | 1115 | ### Bug Fixes 1116 | 1117 | * update dependencies ([91de81f](https://github.com/CoCreate-app/CoCreate-modal/commit/91de81f14c353f29fa199dbfd7dfe044d0d780df)) 1118 | 1119 | ## [1.1.48](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.47...v1.1.48) (2021-11-19) 1120 | 1121 | 1122 | ### Bug Fixes 1123 | 1124 | * update dependencies ([bf38d66](https://github.com/CoCreate-app/CoCreate-modal/commit/bf38d666b800019ca87fddaf07362b43a60a739d)) 1125 | 1126 | ## [1.1.47](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.46...v1.1.47) (2021-11-18) 1127 | 1128 | 1129 | ### Bug Fixes 1130 | 1131 | * update dependencies ([92a7198](https://github.com/CoCreate-app/CoCreate-modal/commit/92a71987ad521d4c142d723a8a36ec7a96f2889f)) 1132 | 1133 | ## [1.1.46](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.45...v1.1.46) (2021-11-16) 1134 | 1135 | 1136 | ### Bug Fixes 1137 | 1138 | * update dependencies ([83dce99](https://github.com/CoCreate-app/CoCreate-modal/commit/83dce9964a1b7232c680c3be5b0560bac3682163)) 1139 | 1140 | ## [1.1.45](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.44...v1.1.45) (2021-11-15) 1141 | 1142 | 1143 | ### Bug Fixes 1144 | 1145 | * update dependencies ([cc7101f](https://github.com/CoCreate-app/CoCreate-modal/commit/cc7101f171d6821c13b0182f4b8e266419ab114d)) 1146 | 1147 | ## [1.1.44](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.43...v1.1.44) (2021-11-11) 1148 | 1149 | 1150 | ### Bug Fixes 1151 | 1152 | * update readme ([4545ceb](https://github.com/CoCreate-app/CoCreate-modal/commit/4545ceb0926f7587a93c3dbbbb0cb12535e21ae2)) 1153 | 1154 | ## [1.1.43](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.42...v1.1.43) (2021-11-07) 1155 | 1156 | 1157 | ### Bug Fixes 1158 | 1159 | * height in firefox ([5be774d](https://github.com/CoCreate-app/CoCreate-modal/commit/5be774d01ea7d74293f4755d932c473599750875)) 1160 | 1161 | ## [1.1.42](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.41...v1.1.42) (2021-11-06) 1162 | 1163 | 1164 | ### Bug Fixes 1165 | 1166 | * update dependencies ([fcc56c5](https://github.com/CoCreate-app/CoCreate-modal/commit/fcc56c584dfc7c1950fd5a4c439818a8c5fafaf8)) 1167 | 1168 | ## [1.1.41](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.40...v1.1.41) (2021-11-04) 1169 | 1170 | 1171 | ### Bug Fixes 1172 | 1173 | * update dependencies ([b2b344b](https://github.com/CoCreate-app/CoCreate-modal/commit/b2b344b97ba1b9de9ca911890931c59e420aaecf)) 1174 | 1175 | ## [1.1.40](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.39...v1.1.40) (2021-11-04) 1176 | 1177 | 1178 | ### Bug Fixes 1179 | 1180 | * update packages ([9906e93](https://github.com/CoCreate-app/CoCreate-modal/commit/9906e937621f7ee79017f05d2e7d9434dfc9870e)) 1181 | 1182 | ## [1.1.39](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.38...v1.1.39) (2021-11-03) 1183 | 1184 | 1185 | ### Bug Fixes 1186 | 1187 | * update dependencies ([ac694f3](https://github.com/CoCreate-app/CoCreate-modal/commit/ac694f3f8a5e19bbc554df5e8e42aae4619572d9)) 1188 | 1189 | ## [1.1.38](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.37...v1.1.38) (2021-11-01) 1190 | 1191 | 1192 | ### Bug Fixes 1193 | 1194 | * update package dependencies ([cff6f3c](https://github.com/CoCreate-app/CoCreate-modal/commit/cff6f3ce57b147725b5a61e765d00d5fdce30de6)) 1195 | 1196 | ## [1.1.37](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.36...v1.1.37) (2021-10-29) 1197 | 1198 | 1199 | ### Bug Fixes 1200 | 1201 | * update dependencies ([b6be4b3](https://github.com/CoCreate-app/CoCreate-modal/commit/b6be4b3c39e29d05759863e5933e69ae0db7c5d1)) 1202 | 1203 | ## [1.1.36](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.35...v1.1.36) (2021-10-17) 1204 | 1205 | 1206 | ### Bug Fixes 1207 | 1208 | * update dependendies ([a6af4bc](https://github.com/CoCreate-app/CoCreate-modal/commit/a6af4bcc41e28aa1cbc689d8be891d85806cafbe)) 1209 | 1210 | ## [1.1.35](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.34...v1.1.35) (2021-10-16) 1211 | 1212 | 1213 | ### Bug Fixes 1214 | 1215 | * update socket package to fix bug in docs ([c51a26c](https://github.com/CoCreate-app/CoCreate-modal/commit/c51a26c99600fbcd0b75d7c9da03908577f9e632)) 1216 | 1217 | ## [1.1.34](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.33...v1.1.34) (2021-10-15) 1218 | 1219 | 1220 | ### Bug Fixes 1221 | 1222 | * update dependencies ([573b429](https://github.com/CoCreate-app/CoCreate-modal/commit/573b429162cec7a722b4355a330a950f116af77f)) 1223 | * update dependencies ([86b7385](https://github.com/CoCreate-app/CoCreate-modal/commit/86b738570cd5c3b6602870cc8f143ee11ad0ea83)) 1224 | 1225 | ## [1.1.33](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.32...v1.1.33) (2021-10-15) 1226 | 1227 | 1228 | ### Bug Fixes 1229 | 1230 | * update packages ([8fe2f1c](https://github.com/CoCreate-app/CoCreate-modal/commit/8fe2f1c25a840652376d3a89853664581bb28e3a)) 1231 | 1232 | ## [1.1.32](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.31...v1.1.32) (2021-10-15) 1233 | 1234 | 1235 | ### Bug Fixes 1236 | 1237 | * update packages ([5b29f81](https://github.com/CoCreate-app/CoCreate-modal/commit/5b29f8187956128b05ca967056ce1fb3deada0a0)) 1238 | * updated dependencies ([c7de61f](https://github.com/CoCreate-app/CoCreate-modal/commit/c7de61f22526154a8de95f726f380ef1ce01b07a)) 1239 | 1240 | ## [1.1.31](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.30...v1.1.31) (2021-10-13) 1241 | 1242 | 1243 | ### Bug Fixes 1244 | 1245 | * update dependencies ([5e74c6f](https://github.com/CoCreate-app/CoCreate-modal/commit/5e74c6fff7e260e4043d3710a79ba96ce287c96a)) 1246 | 1247 | ## [1.1.30](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.29...v1.1.30) (2021-10-06) 1248 | 1249 | 1250 | ### Bug Fixes 1251 | 1252 | * update dependencies ([1435e12](https://github.com/CoCreate-app/CoCreate-modal/commit/1435e1246e56068ad51a0fefd484c11078782bdf)) 1253 | 1254 | ## [1.1.29](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.28...v1.1.29) (2021-10-05) 1255 | 1256 | 1257 | ### Bug Fixes 1258 | 1259 | * update dependencies ([cc94d8a](https://github.com/CoCreate-app/CoCreate-modal/commit/cc94d8af6eb16ef45bdb0c8a65990e96f9cf5293)) 1260 | * website_id in CoCreate.config ([d5b1dcf](https://github.com/CoCreate-app/CoCreate-modal/commit/d5b1dcf071f3de1168be3836abcf8071168b55c4)) 1261 | 1262 | ## [1.1.28](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.27...v1.1.28) (2021-10-04) 1263 | 1264 | 1265 | ### Bug Fixes 1266 | 1267 | * update dependencies ([395b5fe](https://github.com/CoCreate-app/CoCreate-modal/commit/395b5fe608e6573ac1d44c02e025d0c12e401bb4)) 1268 | 1269 | ## [1.1.27](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.26...v1.1.27) (2021-10-04) 1270 | 1271 | 1272 | ### Bug Fixes 1273 | 1274 | * update dependencies ([01e2736](https://github.com/CoCreate-app/CoCreate-modal/commit/01e273672ded667871ab6047117b291d00302ae3)) 1275 | 1276 | ## [1.1.26](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.25...v1.1.26) (2021-10-01) 1277 | 1278 | 1279 | ### Bug Fixes 1280 | 1281 | * update packages ([e731aa6](https://github.com/CoCreate-app/CoCreate-modal/commit/e731aa632af1afec51aed316b17ebc3bca323289)) 1282 | 1283 | ## [1.1.25](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.24...v1.1.25) (2021-10-01) 1284 | 1285 | 1286 | ### Bug Fixes 1287 | 1288 | * update dependencies ([305e168](https://github.com/CoCreate-app/CoCreate-modal/commit/305e168e3a976cdd1702ea6519051d149a5e5acd)) 1289 | 1290 | ## [1.1.24](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.23...v1.1.24) (2021-09-28) 1291 | 1292 | 1293 | ### Bug Fixes 1294 | 1295 | * update dependencies ([88dd274](https://github.com/CoCreate-app/CoCreate-modal/commit/88dd274c20fc95d27928f8319d693f1f78b98c40)) 1296 | 1297 | ## [1.1.23](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.22...v1.1.23) (2021-09-16) 1298 | 1299 | 1300 | ### Bug Fixes 1301 | 1302 | * update dependencies ([80a1fdc](https://github.com/CoCreate-app/CoCreate-modal/commit/80a1fdcc4806851309a8a8920bf6a2c128799e94)) 1303 | 1304 | ## [1.1.22](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.21...v1.1.22) (2021-09-14) 1305 | 1306 | 1307 | ### Bug Fixes 1308 | 1309 | * add cocreate.app to domains ([b81b24a](https://github.com/CoCreate-app/CoCreate-modal/commit/b81b24a06775adeb6339077439da6ed47df5f0eb)) 1310 | 1311 | ## [1.1.21](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.20...v1.1.21) (2021-09-13) 1312 | 1313 | 1314 | ### Bug Fixes 1315 | 1316 | * upgrade dependencies ([71fe2fa](https://github.com/CoCreate-app/CoCreate-modal/commit/71fe2fac304f0e5c8aeae12764053e1c020e821a)) 1317 | 1318 | ## [1.1.20](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.19...v1.1.20) (2021-09-12) 1319 | 1320 | 1321 | ### Bug Fixes 1322 | 1323 | * update sidenav to use resize and toggle ([1a93d98](https://github.com/CoCreate-app/CoCreate-modal/commit/1a93d989254035f78274f1569be253341152578a)) 1324 | 1325 | ## [1.1.19](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.18...v1.1.19) (2021-09-09) 1326 | 1327 | 1328 | ### Bug Fixes 1329 | 1330 | * update dependency @cocreate/docs ([a06e6f8](https://github.com/CoCreate-app/CoCreate-modal/commit/a06e6f8a6b115c4af53d7c5c6c14333301d603e9)) 1331 | 1332 | ## [1.1.18](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.17...v1.1.18) (2021-09-09) 1333 | 1334 | 1335 | ### Bug Fixes 1336 | 1337 | * ci docs ([2ac514e](https://github.com/CoCreate-app/CoCreate-modal/commit/2ac514eb16f02a193d2ecd29570275130f798088)) 1338 | 1339 | ## [1.1.17](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.16...v1.1.17) (2021-09-09) 1340 | 1341 | 1342 | ### Bug Fixes 1343 | 1344 | * update dependencies ([e121ea2](https://github.com/CoCreate-app/CoCreate-modal/commit/e121ea2c5462ed357c83ecad04f9bee8780dd100)) 1345 | 1346 | ## [1.1.16](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.15...v1.1.16) (2021-09-09) 1347 | 1348 | 1349 | ### Bug Fixes 1350 | 1351 | * CoCreate.config directory, path, name and public ([988f19a](https://github.com/CoCreate-app/CoCreate-modal/commit/988f19a3ddebdbc9df05e64ae22de63f4c150b53)) 1352 | 1353 | ## [1.1.15](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.14...v1.1.15) (2021-09-08) 1354 | 1355 | 1356 | ### Bug Fixes 1357 | 1358 | * update dependencies ([9d17012](https://github.com/CoCreate-app/CoCreate-modal/commit/9d1701238fbdec0d07c987d341b7df3a8d691342)) 1359 | 1360 | ## [1.1.14](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.13...v1.1.14) (2021-09-06) 1361 | 1362 | 1363 | ### Bug Fixes 1364 | 1365 | * remove console.log ([26587f4](https://github.com/CoCreate-app/CoCreate-modal/commit/26587f41b4dd946d34b278278ed45c185064a40a)) 1366 | 1367 | ## [1.1.13](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.12...v1.1.13) (2021-09-04) 1368 | 1369 | 1370 | ### Bug Fixes 1371 | 1372 | * update dependencies ([6cfbb14](https://github.com/CoCreate-app/CoCreate-modal/commit/6cfbb14f4ee9e13a3cc1bdfb99bf316900fb61c3)) 1373 | 1374 | ## [1.1.12](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.11...v1.1.12) (2021-08-31) 1375 | 1376 | 1377 | ### Bug Fixes 1378 | 1379 | * update dependencies ([f513cc6](https://github.com/CoCreate-app/CoCreate-modal/commit/f513cc6a52a7f07016185a066090a16956dc66fd)) 1380 | 1381 | ## [1.1.11](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.10...v1.1.11) (2021-08-27) 1382 | 1383 | 1384 | ### Bug Fixes 1385 | 1386 | * updaed dependencies ([c8f579f](https://github.com/CoCreate-app/CoCreate-modal/commit/c8f579fbd074020592f52727ff7a5d46bfb7b49e)) 1387 | 1388 | ## [1.1.10](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.9...v1.1.10) (2021-08-27) 1389 | 1390 | 1391 | ### Bug Fixes 1392 | 1393 | * commented console.logs producing useless logs ([5414151](https://github.com/CoCreate-app/CoCreate-modal/commit/54141514a57ec47484dc6f97ea9754b3ffbd44c1)) 1394 | 1395 | ## [1.1.9](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.8...v1.1.9) (2021-08-23) 1396 | 1397 | 1398 | ### Bug Fixes 1399 | 1400 | * update package versions ([0dc4296](https://github.com/CoCreate-app/CoCreate-modal/commit/0dc4296a354ec384e8ee0f8f661ce2194cfb46bc)) 1401 | 1402 | ## [1.1.8](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.7...v1.1.8) (2021-08-22) 1403 | 1404 | 1405 | ### Bug Fixes 1406 | 1407 | * removed data- from main-content, clone, filter-value_type ([7cbe041](https://github.com/CoCreate-app/CoCreate-modal/commit/7cbe041ddfd2c7d4bcc276219ba1bd576754a971)) 1408 | 1409 | ## [1.1.7](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.6...v1.1.7) (2021-08-22) 1410 | 1411 | 1412 | ### Bug Fixes 1413 | 1414 | * bump package versions ([4bbdcd4](https://github.com/CoCreate-app/CoCreate-modal/commit/4bbdcd4582ef1d9aeb488d0b47dc4ec4b2f787bb)) 1415 | 1416 | ## [1.1.6](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.5...v1.1.6) (2021-08-22) 1417 | 1418 | 1419 | ### Bug Fixes 1420 | 1421 | * bump package versions ([54c266a](https://github.com/CoCreate-app/CoCreate-modal/commit/54c266ad52d8194d620560bf8ac43e3877670358)) 1422 | 1423 | ## [1.1.5](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.4...v1.1.5) (2021-08-21) 1424 | 1425 | 1426 | ### Bug Fixes 1427 | 1428 | * update attribute name test-parent_id and test-page_id tp parent_id and page_id ([6eaae2e](https://github.com/CoCreate-app/CoCreate-modal/commit/6eaae2e6c051f119e06133b39bcefe1128c6f4d4)) 1429 | 1430 | ## [1.1.4](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.3...v1.1.4) (2021-08-18) 1431 | 1432 | 1433 | ### Bug Fixes 1434 | 1435 | * passive event handlers ([082e16c](https://github.com/CoCreate-app/CoCreate-modal/commit/082e16ce5a230a15abdba25dd21ba631ce7662e6)) 1436 | 1437 | ## [1.1.3](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.2...v1.1.3) (2021-08-14) 1438 | 1439 | 1440 | ### Bug Fixes 1441 | 1442 | * update to docs ([1b90be9](https://github.com/CoCreate-app/CoCreate-modal/commit/1b90be9075b11bdbd52edf4bea3d7b8b4d091246)) 1443 | 1444 | ## [1.1.2](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.1...v1.1.2) (2021-08-02) 1445 | 1446 | 1447 | ### Bug Fixes 1448 | 1449 | * remove data- from attributes ([84f2bfd](https://github.com/CoCreate-app/CoCreate-modal/commit/84f2bfd41d302c47e26f3ef9af1642df31106122)) 1450 | * update data-fullscreen to fullscreen ([1dd81dc](https://github.com/CoCreate-app/CoCreate-modal/commit/1dd81dc2b079fb4be16029f3bf3ff9ce97122322)) 1451 | 1452 | ## [1.1.1](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.1.0...v1.1.1) (2021-07-28) 1453 | 1454 | 1455 | ### Bug Fixes 1456 | 1457 | * remove data- from fetch, pass and filter ([508a13f](https://github.com/CoCreate-app/CoCreate-modal/commit/508a13f5350b11da35598c762ca3ad803650d2b0)) 1458 | 1459 | # [1.1.0](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.26...v1.1.0) (2021-07-28) 1460 | 1461 | 1462 | ### Features 1463 | 1464 | * add new is{attribute} system and remove data- from attributtes ([6d16642](https://github.com/CoCreate-app/CoCreate-modal/commit/6d1664290e5b1c81bc6e3167f00720a4e3737744)) 1465 | 1466 | ## [1.0.26](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.25...v1.0.26) (2021-07-17) 1467 | 1468 | 1469 | ### Bug Fixes 1470 | 1471 | * workflows ([d396755](https://github.com/CoCreate-app/CoCreate-modal/commit/d3967555d78a1f34058b01fc5f5d0a855c5e9cec)) 1472 | 1473 | ## [1.0.25](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.24...v1.0.25) (2021-07-14) 1474 | 1475 | 1476 | ### Bug Fixes 1477 | 1478 | * upgrade all packages ([53aec62](https://github.com/CoCreate-app/CoCreate-modal/commit/53aec621648e1c4598df271f5f94ecfc5fb4f401)) 1479 | 1480 | ## [1.0.24](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.23...v1.0.24) (2021-07-13) 1481 | 1482 | 1483 | ### Bug Fixes 1484 | 1485 | * add yarn lockfile to git ignore ([471bcdc](https://github.com/CoCreate-app/CoCreate-modal/commit/471bcdc2c7b19edd9e5839706c8f8647f5cca4fb)) 1486 | * remove yarn.lock ([816fb55](https://github.com/CoCreate-app/CoCreate-modal/commit/816fb551fcddd837ea5edaa46c5228f6ace53690)) 1487 | 1488 | ## [1.0.23](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.22...v1.0.23) (2021-07-13) 1489 | 1490 | 1491 | ### Bug Fixes 1492 | 1493 | * gitignore all logs ([f83cca8](https://github.com/CoCreate-app/CoCreate-modal/commit/f83cca8f6ec540f74436d38652adf0d4d347f34c)) 1494 | * movable bug ([c6afd5f](https://github.com/CoCreate-app/CoCreate-modal/commit/c6afd5f8242b67027f78cf2ca4dc7a80545d93e7)) 1495 | 1496 | ## [1.0.22](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.21...v1.0.22) (2021-07-08) 1497 | 1498 | 1499 | ### Bug Fixes 1500 | 1501 | * default width ([2b67a14](https://github.com/CoCreate-app/CoCreate-modal/commit/2b67a148cdfde82b0535173036a0c7f48e69b93d)) 1502 | * make header default false ([7ec2a9c](https://github.com/CoCreate-app/CoCreate-modal/commit/7ec2a9cdf78b449010137f56edff58bc445252f1)) 1503 | * snap thresholds ([ef5dafe](https://github.com/CoCreate-app/CoCreate-modal/commit/ef5dafe0ab54c8ef73cd2c6181db8763705e3dd3)) 1504 | 1505 | ## [1.0.21](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.20...v1.0.21) (2021-07-07) 1506 | 1507 | 1508 | ### Bug Fixes 1509 | 1510 | * update package versions ([99604ec](https://github.com/CoCreate-app/CoCreate-modal/commit/99604ec8fca09126c30ef0b7906dd858863f854a)) 1511 | 1512 | ## [1.0.20](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.19...v1.0.20) (2021-07-02) 1513 | 1514 | 1515 | ### Bug Fixes 1516 | 1517 | * remove data-request_id ([58419db](https://github.com/CoCreate-app/CoCreate-modal/commit/58419db271e5a6dbe9421eb3aee6edf037ce6e13)) 1518 | 1519 | ## [1.0.19](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.18...v1.0.19) (2021-06-30) 1520 | 1521 | 1522 | ### Bug Fixes 1523 | 1524 | * Update readme.md ([8fbc438](https://github.com/CoCreate-app/CoCreate-modal/commit/8fbc438e35d3a5e87536e890b6e083e4fd9e9d4b)) 1525 | 1526 | ## [1.0.18](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.17...v1.0.18) (2021-06-30) 1527 | 1528 | 1529 | ### Bug Fixes 1530 | 1531 | * automated and manual workflows ([3e9c0e4](https://github.com/CoCreate-app/CoCreate-modal/commit/3e9c0e4164a4f6ce359045e778074f24e0fde8c6)) 1532 | 1533 | ## [1.0.17](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.16...v1.0.17) (2021-06-25) 1534 | 1535 | 1536 | ### Bug Fixes 1537 | 1538 | * latest version numbers applied to all cocreate packages ([151fbc8](https://github.com/CoCreate-app/CoCreate-modal/commit/151fbc8ccabd416225f735a843c337cb4a932de4)) 1539 | 1540 | ## [1.0.16](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.15...v1.0.16) (2021-06-24) 1541 | 1542 | 1543 | ### Bug Fixes 1544 | 1545 | * package versioningto 1.0.0 ([3cde470](https://github.com/CoCreate-app/CoCreate-modal/commit/3cde4703046222bd208c7a983533f2d56ad1919d)) 1546 | 1547 | ## [1.0.15](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.14...v1.0.15) (2021-06-24) 1548 | 1549 | 1550 | ### Bug Fixes 1551 | 1552 | * update all [@cocreate](https://github.com/cocreate) to use latest versions ([6ef6783](https://github.com/CoCreate-app/CoCreate-modal/commit/6ef67832036ea024f4d2e9514eaced88ad15d43c)) 1553 | 1554 | ## [1.0.14](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.13...v1.0.14) (2021-06-16) 1555 | 1556 | 1557 | ### Bug Fixes 1558 | 1559 | * Open window in root or parent ([306d8e9](https://github.com/CoCreate-app/CoCreate-modal/commit/306d8e90d47308ee2241d71fe6c7d38707955803)) 1560 | 1561 | ## [1.0.13](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.12...v1.0.13) (2021-06-09) 1562 | 1563 | 1564 | ### Bug Fixes 1565 | 1566 | * add missing package uuid ([82c4a98](https://github.com/CoCreate-app/CoCreate-modal/commit/82c4a98d2b8dfba746342fa76b2e1452c8226623)) 1567 | 1568 | ## [1.0.12](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.11...v1.0.12) (2021-06-09) 1569 | 1570 | 1571 | ### Bug Fixes 1572 | 1573 | * Modal sendMessage to parent ([304c015](https://github.com/CoCreate-app/CoCreate-modal/commit/304c0158c9723b722a3f44c76688dac9c1f422e9)) 1574 | 1575 | ## [1.0.11](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.10...v1.0.11) (2021-06-06) 1576 | 1577 | 1578 | ### Bug Fixes 1579 | 1580 | * synatax error in package.json ([1f2b200](https://github.com/CoCreate-app/CoCreate-modal/commit/1f2b200006109ebf1ea2204b934862db9c635805)) 1581 | * Update docs and package.json descriptions ([00f9e60](https://github.com/CoCreate-app/CoCreate-modal/commit/00f9e603c0da65733c15a2741dc50c6ae636b151)) 1582 | * update packages, add uuid, add data-parse to demos ([f3ecaa0](https://github.com/CoCreate-app/CoCreate-modal/commit/f3ecaa05bef0db329cfd64f8b44c22d20306e89d)) 1583 | 1584 | ## [1.0.10](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.9...v1.0.10) (2021-04-27) 1585 | 1586 | 1587 | ### Bug Fixes 1588 | 1589 | * add host in docs ([2562e2b](https://github.com/CoCreate-app/CoCreate-modal/commit/2562e2b2686e18f871d96bf7a8e03ad1392a25a9)) 1590 | 1591 | ## [1.0.9](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.8...v1.0.9) (2021-04-27) 1592 | 1593 | 1594 | ### Bug Fixes 1595 | 1596 | * Update to readme, demo, added cdn scripts ([8baaae3](https://github.com/CoCreate-app/CoCreate-modal/commit/8baaae316d31b91d24d161083c4fe437bf680284)) 1597 | 1598 | ## [1.0.8](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.7...v1.0.8) (2021-04-23) 1599 | 1600 | 1601 | ### Bug Fixes 1602 | 1603 | * readme and documentation. Removed securitykeys ([68903d3](https://github.com/CoCreate-app/CoCreate-modal/commit/68903d3f3d6ae5541685334b73cd8105842aa265)) 1604 | 1605 | ## [1.0.7](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.6...v1.0.7) (2021-04-19) 1606 | 1607 | 1608 | ### Bug Fixes 1609 | 1610 | * add missing packages ([06fa3fc](https://github.com/CoCreate-app/CoCreate-modal/commit/06fa3fc24acd2fd096c8403e1e048fbef8691f9d)) 1611 | 1612 | ## [1.0.6](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.5...v1.0.6) (2021-04-19) 1613 | 1614 | 1615 | ### Bug Fixes 1616 | 1617 | * ci and build process ([76639e3](https://github.com/CoCreate-app/CoCreate-modal/commit/76639e38ba7ba177abad766433e8da7e7258d4be)) 1618 | * npm publish and cdn deployment ([2433ece](https://github.com/CoCreate-app/CoCreate-modal/commit/2433eced3da08e7273c574980e288227394d440c)) 1619 | 1620 | ## [1.0.5](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.4...v1.0.5) (2021-04-15) 1621 | 1622 | 1623 | ### Bug Fixes 1624 | 1625 | * update packages ([a58d8c9](https://github.com/CoCreate-app/CoCreate-modal/commit/a58d8c94ad299531aa11b23166783636db64e5a7)) 1626 | 1627 | ## [1.0.4](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.3...v1.0.4) (2021-03-31) 1628 | 1629 | 1630 | ### Bug Fixes 1631 | 1632 | * remove yarn.lock and package-lock.json ([ee01b7c](https://github.com/CoCreate-app/CoCreate-modal/commit/ee01b7c86f17dfa9a8389d1296638619f6186f70)) 1633 | 1634 | ## [1.0.3](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.2...v1.0.3) (2021-03-30) 1635 | 1636 | 1637 | ### Bug Fixes 1638 | 1639 | * import paths using npm ([04f7878](https://github.com/CoCreate-app/CoCreate-modal/commit/04f78780e22b747c1e35485ede3848bdbfec7908)) 1640 | 1641 | ## [1.0.2](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.1...v1.0.2) (2021-03-30) 1642 | 1643 | 1644 | ### Bug Fixes 1645 | 1646 | * cocreatejs from npm ([c005bf6](https://github.com/CoCreate-app/CoCreate-modal/commit/c005bf64b6b5a0d52286ee9c1b54c3c59726598a)) 1647 | 1648 | ## [1.0.1](https://github.com/CoCreate-app/CoCreate-modal/compare/v1.0.0...v1.0.1) (2021-03-29) 1649 | 1650 | 1651 | ### Bug Fixes 1652 | 1653 | * Package Paths ([5c23b10](https://github.com/CoCreate-app/CoCreate-modal/commit/5c23b101428f2885a5d30ab6fa5490390f0a5f2b)) 1654 | 1655 | # 1.0.0 (2021-03-26) 1656 | 1657 | 1658 | ### Features 1659 | 1660 | * Initial Release ([740567e](https://github.com/CoCreate-app/CoCreate-modal/commit/740567e9891d11526115af5dbea7c73556272557)) 1661 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to CoCreate-modal 2 | 3 | This project is work of [many contributors](https://github.com/CoCreate-app/CoCreate-modal/graphs/contributors). 4 | You're encouraged to submit [pull requests](https://github.com/CoCreate-app/CoCreate-modal/pulls), 5 | [propose features and discuss issues](https://github.com/CoCreate-app/CoCreate-modal/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-modal) and check out your copy. 12 | 13 | ``` 14 | git modal https://github.com/contributor/CoCreate-modal.git 15 | cd CoCreate-modal 16 | git remote add upstream https://github.com/CoCreate-app/CoCreate-modal.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-modal](https://github.com/CoCreate-app/CoCreate-modal) 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": "60206d5b3c260207bf49cab4", 10 | "name": "index.html", 11 | "path": "/docs/modal", 12 | "pathname": "/docs/modal/index.html", 13 | "src": "{{./docs/index.html}}", 14 | "host": [ 15 | "*" 16 | ], 17 | "directory": "modal", 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-modal 2 | 3 | A draggable, movable and resizable modal. customizable via attributes, great for popups, alerts, multitasking and displaying multiple views. Take it for a spin in our [playground!](https://cocreate.app/docs/modal) 4 | 5 | ![minified](https://img.badgesize.io/https://cdn.cocreate.app/modal/latest/CoCreate-modal.min.js?style=flat-square&label=minified&color=orange) 6 | ![gzip](https://img.badgesize.io/https://cdn.cocreate.app/modal/latest/CoCreate-modal.min.js?compression=gzip&style=flat-square&label=gzip&color=yellow) 7 | ![brotli](https://img.badgesize.io/https://cdn.cocreate.app/modal/latest/CoCreate-modal.min.js?compression=brotli&style=flat-square&label=brotli) 8 | ![GitHub latest release](https://img.shields.io/github/v/release/CoCreate-app/CoCreate-modal?style=flat-square) 9 | ![License](https://img.shields.io/github/license/CoCreate-app/CoCreate-modal?style=flat-square) 10 | ![Hiring](https://img.shields.io/static/v1?style=flat-square&label=&message=Hiring&color=blueviolet) 11 | 12 | ![CoCreate-modal](https://cdn.cocreate.app/docs/CoCreate-modal.gif) 13 | 14 | ## [Docs & Demo](https://cocreate.app/docs/modal) 15 | 16 | For a complete guide and working demo refer to the [doumentation](https://cocreate.app/docs/modal) 17 | 18 | ## CDN 19 | 20 | ```html 21 | 22 | ``` 23 | 24 | ```html 25 | 26 | ``` 27 | 28 | ## NPM 29 | 30 | ```shell 31 | $ npm i @cocreate/modal 32 | ``` 33 | 34 | ## yarn 35 | 36 | ```shell 37 | $ yarn install @cocreate/modal 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-modal/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-modal/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-modal/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-modal/pulls). We would love to hear your feedback. 60 | 61 | 62 | 63 | # About 64 | 65 | CoCreate-modal 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-modal 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-modal/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-modal/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-modal/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-modal/blob/master/LICENSE) 86 | -------------------------------------------------------------------------------- /demo/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Modal | CoCreateJS 5 | 6 | 7 | 12 | 13 | 17 | 18 | 19 | 20 |
21 | 35 | 36 | 50 | 51 | 65 | 66 | 80 | 81 | 95 |
96 | 97 |
98 |

Test 1

99 |
100 |
101 |
102 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /demo/page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Modal | CocreateJS 5 | 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | CoCreate-modal Documentation | CoCreateJS 8 | 13 | 16 | 19 | 20 | 23 | 24 | 32 | 33 | 34 | 35 | 36 | 37 | 45 | 52 | 56 |
57 |
58 |
62 |
64 |
65 |

CoCreate-modal

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

116 | A draggable, customizable Pop up that toggle hiddent content via 117 | attributes. Great for multitasking and showing multiple views. 118 |

119 |
120 |
122 | 140 |
141 |

142 | CoCreate-modal uses <a> tag. 143 |

144 |

145 | When you click <a> tag, modal comes to the 146 | surface. 147 |

148 | 149 |
150 |
151 |                         
152 |                             <button>
153 |                               <a actions="state, openModal" modal-src="https://server.cocreate.app/CoCreate-adminUI/module_datatable.html"
154 |                                 modal-width="520px"
155 |                                 modal-height="100%"
156 |                                 modal-color="#229954"
157 |                                 modal-header="false"
158 |                                 modal-x="0px"
159 |                                 modal-y="0px"
160 |                                 data-open_in="page">
161 |                                 Show Modal On Page
162 |                               </a>
163 |                             </button>
164 |                         
165 |                             
166 |
167 |
168 | 186 |
    187 |
  • 189 |

    190 | target 191 | string 194 | required 197 |

    198 |

    Target must be "modal".

    199 |
  • 200 |
  • 202 |

    203 | href 204 | string 207 | required 210 |

    211 |

    212 | Href attribute indicates html file to set in 213 | modal. 214 |

    215 |
  • 216 |
  • 218 |

    219 | modal-width 220 | string 223 | optional 226 |

    227 |

    Width of modal. Unit can be pixel or percent.

    228 |
  • 229 |
  • 231 |

    232 | modal-height 233 | string 236 | optional 239 |

    240 |

    241 | Height of modal. Unit can be pixel or percent. 242 |

    243 |
  • 244 |
  • 246 |

    247 | modal-color 248 | color 251 | optional 254 |

    255 |

    Color of modal border.

    256 |
  • 257 |
  • 259 |

    260 | modal-header 261 | boolean 264 | optional 267 |

    268 |

    Attribute whether to show header or not.

    269 |
  • 270 |
  • 272 |

    273 | modal-x 274 | string 277 | optional 280 |

    281 |

    Position X of modal.

    282 |
  • 283 |
  • 285 |

    286 | modal-y 287 | string 290 | optional 293 |

    294 |

    Position Y of modal.

    295 |
  • 296 |
  • 298 |

    299 | open_in 300 | string 303 | optional 306 |

    307 |

    308 | Attribute where to show modal in. "page" for 309 | current page. "parent" for parent page. "root" 310 | for root page. 311 |

    312 |
  • 313 |
314 |
315 | 316 |
318 | 319 | 337 |
339 | 340 |
343 |
347 | 356 |
359 |
360 | 361 |
364 |
365 |
366 | 367 |
369 | 380 | 390 | 397 | 407 | 411 |
412 |
413 | 414 |
415 |
416 |
417 | 423 |
424 | 425 | 426 | 427 | 428 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@cocreate/modal", 3 | "version": "1.18.2", 4 | "description": "A draggable, movable and resizable modal. customizable via attributes, great for popups, alerts, multitasking and displaying multiple views.", 5 | "keywords": [ 6 | "modal", 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-modal.git" 35 | }, 36 | "author": "CoCreate LLC", 37 | "license": "MIT", 38 | "bugs": { 39 | "url": "https://github.com/CoCreate-app/CoCreate-modal/issues" 40 | }, 41 | "homepage": "https://cocreate.app/docs/modal", 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/actions": "^1.21.1", 58 | "@cocreate/crud-client": "^1.34.2", 59 | "@cocreate/element-prototype": "^1.29.1", 60 | "@cocreate/local-storage": "^1.16.2", 61 | "@cocreate/observer": "^1.18.1", 62 | "@cocreate/position": "^1.10.2", 63 | "@cocreate/socket-client": "^1.40.2", 64 | "@cocreate/uuid": "^1.12.1" 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | tabWidth: 4, 3 | semi: true, 4 | trailingComma: "none", 5 | bracketSameLine: true, 6 | useTabs: true, 7 | overrides: [ 8 | { 9 | files: ["*.json", "*.yml", "*.yaml"], 10 | options: { 11 | tabWidth: 2, 12 | useTabs: false 13 | }, 14 | } 15 | ], 16 | }; -------------------------------------------------------------------------------- /release.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | dryRun: false, 3 | branches: ["master"], 4 | plugins: [ 5 | "@semantic-release/commit-analyzer", 6 | "@semantic-release/release-notes-generator", 7 | [ 8 | "@semantic-release/changelog", 9 | { 10 | changelogFile: "CHANGELOG.md", 11 | }, 12 | ], 13 | "@semantic-release/npm", 14 | "@semantic-release/github", 15 | [ 16 | "@semantic-release/git", 17 | { 18 | assets: ["CHANGELOG.md", "package.json"], 19 | }, 20 | ], 21 | ], 22 | }; -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- 1 | #modal-viewport { 2 | /*position: relative;*/ 3 | z-index: 8; 4 | height: -moz-available; 5 | height: calc(100vh - 50px); 6 | height: -webkit-fill-available; 7 | height: fill-available; 8 | width: -moz-available; 9 | width: -webkit-fill-available; 10 | width: fill-available; 11 | pointer-events: none; 12 | top: 0; 13 | } 14 | 15 | .hide-nav + #modal-viewport{ 16 | margin-top:0px; 17 | height: 100vh; 18 | max-height: -moz-available; 19 | max-height: -webkit-fill-available; 20 | max-height: fill-available; 21 | 22 | } 23 | 24 | 25 | .modal { 26 | position: absolute; 27 | width: 300px; 28 | height: 100%; 29 | margin: 0; 30 | padding: 0; 31 | z-index: 99; 32 | border: 2px solid grey; 33 | background: #fff; 34 | z-index: 2; 35 | /* overflow: auto; */ 36 | /* user-select: none; */ 37 | pointer-events: auto; 38 | } 39 | 40 | .modal.selected { 41 | z-index: 10; 42 | border-color: purple; 43 | pointer-events: auto; 44 | } 45 | 46 | /** modal title **/ 47 | .modal-header{ 48 | display: flex; 49 | justify-content: flex-end; 50 | padding-top: 5px; 51 | padding-bottom: 5px; 52 | list-style-type: none; 53 | } 54 | 55 | .modal-header > li { 56 | padding-right: 10px; 57 | padding-left: 5px; 58 | font-size: 20px; 59 | } 60 | 61 | .modal-ghost { 62 | display: none; 63 | background: #999; 64 | opacity: 0; 65 | /*pointer-events: none;*/ 66 | /* width: 300px;*/ 67 | /*height: 200px;*/ 68 | top: 0px; 69 | left: 0px; 70 | z-index: 20; 71 | 72 | 73 | position: absolute; 74 | margin: 0; 75 | padding: 0; 76 | 77 | -webkit-transition: all 0.25s ease-in-out; 78 | -moz-transition: all 0.25s ease-in-out; 79 | -ms-transition: all 0.25s ease-in-out; 80 | -o-transition: all 0.25s ease-in-out; 81 | transition: all 0.25s ease-in-out; 82 | } 83 | 84 | .modal iframe { 85 | width: 100%; 86 | height: 100%; 87 | border:none; 88 | } 89 | 90 | .modal modal-container { 91 | display: block; 92 | height: 100vh; 93 | overflow: auto 94 | } 95 | 96 | .modal .has-modal-header { 97 | height: calc(100% - 45px) 98 | } 99 | 100 | [drag-handle] { 101 | position: absolute; 102 | background-color: transparent; 103 | min-height: 10px; 104 | z-index: 10; 105 | left: 0; 106 | top: 0; 107 | right: 0; 108 | height: 20px; 109 | cursor: move; 110 | } 111 | 112 | .modal [resize=right] { 113 | right: -5px!important; 114 | } 115 | 116 | .modal-parked { 117 | width: 50px !important; 118 | height: 50px !important; 119 | border-radius: 50px; 120 | z-index: 100 !important; 121 | } 122 | 123 | .modal-parked * { 124 | display: none; 125 | } 126 | 127 | .parked-closeBtn { 128 | width: 20px; 129 | height: 20px; 130 | border-radius: 20px; 131 | position: absolute; 132 | background-color: #ddd; 133 | right: -3px; 134 | top: -3px; 135 | 136 | display: none; 137 | } 138 | 139 | .modal-parked:hover > .parked-closeBtn{ 140 | display: flex!important; 141 | align-items: center; 142 | justify-content: center; 143 | cursor: pointer; 144 | } 145 | 146 | @media (prefers-color-scheme: dark) { 147 | .modal { 148 | background-color: #222; 149 | } 150 | } -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | import ModalViewPort from "./viewport.js" 2 | import uuid from '@cocreate/uuid' 3 | import action from '@cocreate/actions'; 4 | import observer from '@cocreate/observer'; 5 | import socket from '@cocreate/socket-client'; 6 | import localStorge from '@cocreate/local-storage'; 7 | import './index.css'; 8 | 9 | function CoCreateModal(id) { 10 | this.viewPort = null; 11 | this.id = id || 'modal-viewport' 12 | 13 | this.pageId = uuid.generate(); 14 | this.isRoot = this._checkRoot(); 15 | 16 | if (this.isRoot) { 17 | this.viewPorts = new Map(); 18 | this.viewPorts.set(this.pageId, this) 19 | this.modals = new Map(); 20 | this.rootId = this.pageId; 21 | this.parentId = this.pageId; 22 | localStorage.setItem('rootId', this.pageId) 23 | } else { 24 | this.pageId = localStorage.getItem('pageId') 25 | let viewPort = window.top.CoCreate.modal.viewPorts 26 | if (viewPort) 27 | viewPort.set(this.pageId, this) 28 | 29 | // TODO: can be depreciated if we find a better way to pass rootid and parentid 30 | this.parentId = localStorage.getItem('parentId') 31 | this.rootId = window.top.CoCreate.modal.rootId 32 | } 33 | 34 | this._createViewPort(); 35 | 36 | this._initSocket(); 37 | 38 | action.init({ 39 | name: "openModal", 40 | endEvent: "openModal", 41 | callback: (data) => { 42 | this.open(data.element); 43 | }, 44 | }); 45 | 46 | action.init({ 47 | name: "closeModal", 48 | endEvent: "closeModal", 49 | callback: (data) => { 50 | this.modalAction(data.element, 'close'); 51 | }, 52 | }); 53 | 54 | action.init({ 55 | name: "minMaxModal", 56 | endEvent: "minMaxModal", 57 | callback: (data) => { 58 | this.modalAction(data.element, 'minMax'); 59 | }, 60 | }); 61 | 62 | action.init({ 63 | name: "parkModal", 64 | endEvent: "parkModal", 65 | callback: (data) => { 66 | this.modalAction(data.element, 'park'); 67 | }, 68 | }); 69 | 70 | } 71 | 72 | CoCreateModal.prototype = { 73 | _checkRoot: function () { 74 | try { 75 | return window === window.top; 76 | } catch (e) { 77 | return false; 78 | } 79 | }, 80 | 81 | _createViewPort: function () { 82 | if (this.viewPort) 83 | return true; 84 | 85 | let el = document.getElementById(this.id); 86 | if (el) { 87 | this.viewPort = new ModalViewPort(el); 88 | return true; 89 | } else { 90 | return false; 91 | } 92 | }, 93 | 94 | _initSocket: function () { 95 | const self = this; 96 | socket.listen('modalAction', function (response) { 97 | self.runModalAction(response.data) 98 | }) 99 | }, 100 | 101 | open: function (aTag) { 102 | let attributes = []; 103 | for (let attribute of aTag.attributes) 104 | attributes[attribute.name] = attribute.value 105 | 106 | let data = { 107 | src: aTag.getAttribute('modal-src'), 108 | x: aTag.getAttribute('modal-x'), 109 | y: aTag.getAttribute('modal-y'), 110 | width: aTag.getAttribute('modal-width'), 111 | height: aTag.getAttribute('modal-height'), 112 | color: aTag.getAttribute('modal-color'), 113 | header: aTag.getAttribute('modal-header'), 114 | iframe: aTag.getAttribute('modal-iframe'), 115 | attributes: attributes 116 | } 117 | 118 | // retrieves absolute path of href 119 | if (data.src) { 120 | let a = document.createElement('a') 121 | a.href = data.src 122 | data.src = a.href 123 | a.remove 124 | } 125 | 126 | let openIn = aTag.getAttribute('modal-open') || 'root'; 127 | 128 | let openId; 129 | switch (openIn) { 130 | case 'parent': 131 | openId = this.parentId; 132 | break; 133 | case 'page': 134 | openId = this.pageId; 135 | break; 136 | case 'root': 137 | openId = this.rootId; 138 | break; 139 | default: 140 | openId = openIn; 141 | break; 142 | } 143 | 144 | localStorage.setItem('parentId', openId) 145 | 146 | data.type = 'open'; 147 | data.parentId = openId; 148 | 149 | if (this.isRoot) { 150 | if (this._createViewPort()) 151 | this.viewPort._createModal(data); 152 | } else { 153 | let viewPort = window.top.CoCreate.modal.viewPorts.get(openId); 154 | if (viewPort.pageId == data.parentId) { 155 | viewPort.viewPort._createModal(data); 156 | 157 | document.dispatchEvent(new CustomEvent('openModal', { 158 | detail: {} 159 | })) 160 | 161 | } else { 162 | this.modalAction(btn, 'open', data) 163 | } 164 | } 165 | }, 166 | 167 | modalAction: function (btn, type, data) { 168 | let json = { 169 | key: CoCreateConfig.key, 170 | organization_id: CoCreateConfig.organization_id, 171 | broadcastSender: true, 172 | method: 'modalAction', 173 | } 174 | 175 | if (type == 'open') { 176 | json.data = data 177 | socket.send(json); 178 | } else { 179 | let modalEl = btn.closest('.modal') 180 | 181 | let modal 182 | if (modalEl) 183 | modal = this.viewPort.modals.get(modalEl.id || this.pageId) 184 | if (!modal) { 185 | modal = window.top.CoCreate.modal.modals.get(this.pageId); 186 | } 187 | json.data = { 188 | parentId: this.parentId, 189 | pageId: this.pageId, 190 | modal, 191 | type 192 | } 193 | 194 | if (modal) 195 | this.runModalAction(json.data) 196 | else 197 | socket.send(json); 198 | } 199 | }, 200 | 201 | runModalAction: function (data) { 202 | if (data.modal || data.parentId == this.pageId) { 203 | 204 | let pageId = data.pageId; 205 | let type = data.type; 206 | let modal = data.modal 207 | 208 | if (!modal) 209 | modal = this.viewPort.modals.get(pageId); 210 | 211 | if (modal) { 212 | switch (type) { 213 | case 'open': 214 | if (data.parentId == this.pageId) 215 | this.viewPort._createModal(data) 216 | break; 217 | case 'close': 218 | modal.viewPort._removeModal(modal) 219 | break; 220 | case 'minMax': 221 | modal.el.position.minMax(); 222 | break; 223 | case 'park': 224 | modal.togglePark(); 225 | break; 226 | } 227 | 228 | document.dispatchEvent(new CustomEvent(`${type}Modal`, { 229 | detail: {} 230 | })) 231 | 232 | } 233 | } 234 | 235 | } 236 | 237 | } 238 | 239 | export default new CoCreateModal(); -------------------------------------------------------------------------------- /src/modal.js: -------------------------------------------------------------------------------- 1 | import uuid from '@cocreate/uuid' 2 | import '@cocreate/position' 3 | import '@cocreate/element-prototype' 4 | 5 | function Modal(el, options, viewPort) { 6 | if (!(el && el.nodeType && el.nodeType === 1)) 7 | return; 8 | 9 | /** options **/ 10 | let defaults = { 11 | minWidth: 60, 12 | minHeight: 40, 13 | }; 14 | 15 | this.id = uuid.generate(); 16 | this.viewPort = viewPort; 17 | this.el = el; 18 | 19 | this.hasHeader = true; 20 | this.header = null; 21 | this.isParked = false; 22 | 23 | this.width = 0; 24 | this.height = 0; 25 | 26 | this.frame = null; 27 | this.options = Object.assign(defaults, options); 28 | 29 | this.el.setAttribute("id", this.id); 30 | 31 | localStorage.setItem('pageId', this.id) 32 | 33 | this._init(); 34 | this._setModalSize(); 35 | } 36 | 37 | Modal.prototype = { 38 | constructor: Modal, 39 | 40 | _init: function () { 41 | let opt = this.options; 42 | let src = opt.src ? opt.src : this.el.getAttribute("modal-src"); 43 | let width = opt.width ? opt.width : this.el.getAttribute("modal-width"); 44 | let height = opt.height ? opt.height : this.el.getAttribute("modal-height"); 45 | let color = opt.color ? opt.color : this.el.getAttribute("modal-color"); 46 | let x = opt.x ? opt.x : this.el.getAttribute("modal-x") 47 | let y = opt.y ? opt.y : this.el.getAttribute("modal-y") 48 | let moveable = opt.moveable ? opt.moveable : this.el.getAttribute("modal-moveable") 49 | let header = opt.header ? opt.header : this.el.getAttribute("modal-header") 50 | let iframe = opt.iframe ? opt.iframe : this.el.getAttribute("modal-iframe") 51 | 52 | if (moveable !== 'false') 53 | this.el.setAttribute("moveable", ''); 54 | this.viewPort.el.appendChild(this.el) 55 | 56 | let attributes = opt.attributes; 57 | 58 | if (width && width != "") { 59 | this.el.style.width = width; 60 | } else { 61 | this.el.style.width = "100%"; 62 | } 63 | if (height && height != "") { 64 | this.el.style.height = height; 65 | } else { 66 | this.el.style.height = "100%"; 67 | } 68 | 69 | if (this.el.parentElement.clientWidth < this.el.clientWidth) { 70 | this.el.style.width = "100%" 71 | } 72 | if (this.el.parentElement.clientHeight < this.el.clientHeight) { 73 | this.el.style.width = "100%" 74 | } 75 | 76 | if (x && x != "") { 77 | this.el.style.left = x; 78 | } else { 79 | let hX = (this.el.parentElement.clientWidth - this.el.offsetWidth) / 2; 80 | hX = hX > 0 ? hX : 0; 81 | this.el.style.left = hX + "px"; 82 | } 83 | if (y && y != "") { 84 | this.el.style.top = y; 85 | } else { 86 | let hY = (this.el.parentElement.clientHeight - this.el.offsetHeight) / 2 87 | hY = hY > 0 ? hY : 0 88 | this.el.style.top = hY + "px"; 89 | } 90 | if (color && color !== "") 91 | this.el.style.borderColor = color; 92 | 93 | let frame = null; 94 | if (iframe && iframe != 'false' || iframe == '') { 95 | frame = document.createElement('iframe') 96 | if (src) 97 | frame.src = src; 98 | } else { 99 | frame = document.createElement('modal-container'); 100 | if (src) 101 | frame.setAttribute('src', src); 102 | } 103 | 104 | if (attributes) { 105 | if (attributes['state_to']) { 106 | frame.setAttribute('state_id', attributes['state_to'].value); 107 | } 108 | for (let attribute of attributes) { 109 | if (attribute.name.startsWith('state-')) { 110 | if (attribute.name == 'state-value') 111 | frame.setValue(attribute.value) 112 | else 113 | frame.setAttribute(`${attribute.name.substring(5)}`, attribute.value); 114 | } 115 | } 116 | } 117 | 118 | if (header && header != "false" || header == '') { 119 | this.hasHeader = true; 120 | frame.classList.add('has-modal-header') 121 | this._createHeader(header); 122 | } else { 123 | this.hasHeader = false; 124 | this._createDragArea(); 125 | } 126 | 127 | this.el.appendChild(frame) 128 | this.frame = frame; 129 | 130 | let self = this; 131 | this.el.addEventListener("dblclick", function (e) { 132 | if (self.isParked) { 133 | self.isParked = false; 134 | self.el.classList.remove("modal-parked"); 135 | } 136 | }) 137 | 138 | }, 139 | 140 | _createHeader: function (header) { 141 | let headerTemplate 142 | if (/<\/?[a-z][\s\S]*>/i.test(header)) 143 | headerTemplate = header 144 | else 145 | headerTemplate = ``; 151 | 152 | this.el.innerHTML = headerTemplate + this.el.innerHTML; 153 | this.header = this.el.querySelector('.modal-header'); 154 | }, 155 | 156 | _createDragArea: function () { 157 | let dragArea = document.createElement("div"); 158 | dragArea.setAttribute("drag-handle", ""); 159 | 160 | let topResize = document.createElement("div"); 161 | topResize.setAttribute("resize", "top"); 162 | 163 | let leftResize = document.createElement("div"); 164 | leftResize.setAttribute("resize", "left"); 165 | 166 | let rightResize = document.createElement("div"); 167 | rightResize.setAttribute("resize", "right"); 168 | 169 | let bottomResize = document.createElement("div"); 170 | bottomResize.setAttribute("resize", "bottom"); 171 | 172 | // this.el.setAttribute("resizable", ""); 173 | this.el.appendChild(dragArea); 174 | this.el.appendChild(topResize); 175 | this.el.appendChild(leftResize); 176 | this.el.appendChild(rightResize); 177 | this.el.appendChild(bottomResize); 178 | }, 179 | 180 | _setModalSize: function () { 181 | let bound = this.el.getBoundingClientRect(); 182 | let parentBound = this.el.parentNode.getBoundingClientRect(); 183 | this.width = bound.width; 184 | this.height = bound.height; 185 | 186 | this.el.style.left = bound.left - parentBound.left; 187 | this.el.style.top = bound.top - parentBound.top; 188 | }, 189 | 190 | togglePark: function () { 191 | if (this.isParked) { 192 | this.isParked = false; 193 | this.el.classList.remove("modal-parked"); 194 | } else { 195 | this.isParked = true; 196 | this.el.classList.add("modal-parked") 197 | } 198 | } 199 | 200 | } 201 | 202 | export default Modal; -------------------------------------------------------------------------------- /src/viewport.js: -------------------------------------------------------------------------------- 1 | import Modal from "./modal.js" 2 | 3 | function ModalViewPort(el) { 4 | this.modals = new Map(); 5 | this.el = el; 6 | this.modalClass = this.el.getAttribute("data-modal-class"); 7 | 8 | if (!this.modalClass) { 9 | this.modalClass = "modal"; 10 | } 11 | 12 | this._initModals(); 13 | 14 | } 15 | 16 | ModalViewPort.prototype = { 17 | 18 | _initModals : function() { 19 | let el_children = document.querySelectorAll("." + this.modalClass); 20 | 21 | for (let i = 0; i < el_children.length; i++) { 22 | let modal = new Modal(el_children[i], {}, this) 23 | this.modals.set(modal.id, modal) 24 | 25 | if (!this.isRoot){ 26 | let modals = window.top.CoCreate.modal.modals 27 | if (modals) 28 | modals.set(modal.id, modal) 29 | } 30 | 31 | } 32 | }, 33 | 34 | _createModal : function(attr) { 35 | let node = document.createElement("div"); 36 | node.classList.add(this.modalClass); 37 | let modal = new Modal(node, attr, this); 38 | this.modals.set(modal.id, modal) 39 | if (!this.isRoot) { 40 | let modals = window.top.CoCreate.modal.modals 41 | if (modals) 42 | modals.set(modal.id, modal) 43 | } 44 | 45 | return modal 46 | }, 47 | 48 | _removeModal: function(modal) { 49 | modal.viewPort.modals.delete(modal.id) 50 | modal.viewPort.el.removeChild(modal.el); 51 | modal.viewPort.el.style.pointerEvents = "none"; 52 | if (!this.isRoot) { 53 | let modals = window.top.CoCreate.modal.modals 54 | if (modals) 55 | modals.delete(modal.id) 56 | } 57 | } 58 | 59 | } 60 | 61 | 62 | export default ModalViewPort; -------------------------------------------------------------------------------- /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-modal": "./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", "modal"], 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 | --------------------------------------------------------------------------------