├── .github └── workflows │ ├── automated.yml │ └── manual.yml ├── .gitignore ├── CHANGELOG.md ├── CONTRIBUTING.md ├── CoCreate.config.js ├── LICENSE ├── README.md ├── demo └── index.html ├── docs └── index.html ├── package.json ├── prettier.config.js ├── release.config.js ├── src └── index.js └── webpack.config.js /.github/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: /conditional-logic/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.12.3](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.12.2...v1.12.3) (2025-05-01) 2 | 3 | 4 | ### Bug Fixes 5 | 6 | * update [@cocreate](https://github.com/cocreate) dependencies ([455c698](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/455c6984a302ceb4c208cd4b76976784e7465fbf)) 7 | 8 | ## [1.12.2](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.12.1...v1.12.2) (2025-04-30) 9 | 10 | 11 | ### Bug Fixes 12 | 13 | * added css-loader ([33f3b22](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/33f3b221e0d2fd6a561fbdca56cacd7fa2fd5b8d)) 14 | * update query attributes ([0cde9e8](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/0cde9e8939e8ab92d8225b81d900ccea4bd7c1ff)) 15 | * updated cocreate modules versions ([a986933](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/a98693337760280a6acb52e82ecfd8ac4f97355e)) 16 | * webpack.config and devdependencies ([59ccbf1](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/59ccbf1a336d7a08be169a0eafc28d476d2e9d56)) 17 | 18 | ## [1.12.1](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.12.0...v1.12.1) (2025-04-11) 19 | 20 | 21 | ### Bug Fixes 22 | 23 | * dispatch end event on action element rather than document ([2942e5a](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/2942e5a55f3b36e49f7c7bab1aee5121056d1a6c)) 24 | * update observer observe param to type and and attributeName to attributeFilter ([662bf5a](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/662bf5a28e3367e597272acc6ac033dd4fcd2ccf)) 25 | 26 | # [1.12.0](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.11.4...v1.12.0) (2024-11-04) 27 | 28 | 29 | ### Bug Fixes 30 | 31 | * observer taget has been renamed to selector ([f9faf16](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/f9faf16a983bb2426c833227fb5d731ff7033bdf)) 32 | * pretier.config.js and file formating ([2d0d582](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/2d0d5826cedf77241499d8c0cf57567ed538a007)) 33 | 34 | 35 | ### Features 36 | 37 | * add prettier.config.js and format files ([8c6e49b](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/8c6e49b0b6f77c7eb00ac912f6b3582cb21d663e)) 38 | * add prettier.config.js and format files ([8ac6997](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/8ac699743762d86ec2b94d1523cf9d33e183b647)) 39 | 40 | ## [1.11.4](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.11.3...v1.11.4) (2024-06-12) 41 | 42 | 43 | ### Bug Fixes 44 | 45 | * bump cocreate dependencies ([7b845c9](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/7b845c96984cbb3984218c63f65df40ae663a53b)) 46 | * svg icon class ([7a858e7](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/7a858e7300a888e0703a5a67291cc9a01f264762)) 47 | 48 | ## [1.11.3](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.11.2...v1.11.3) (2024-05-19) 49 | 50 | 51 | ### Bug Fixes 52 | 53 | * conditins for show and hide queryElements ([0e51eba](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/0e51eba4342cb167d22c2085aab59960e5639e38)) 54 | 55 | ## [1.11.2](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.11.1...v1.11.2) (2024-04-29) 56 | 57 | 58 | ### Bug Fixes 59 | 60 | * bump cocreate dependencies ([4eff16d](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/4eff16d4c755b45020ead96a0594dec8c24da391)) 61 | 62 | ## [1.11.1](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.11.0...v1.11.1) (2024-02-05) 63 | 64 | 65 | ### Bug Fixes 66 | 67 | * Removed https://cdn.cocreate.app/latest/CoCreate.min.css ([4e96c2c](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/4e96c2cc26b9cacef921d07aaab988d1d7606c8e)) 68 | 69 | # [1.11.0](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.10.0...v1.11.0) (2023-11-25) 70 | 71 | 72 | ### Features 73 | 74 | * upgrade dependencies for latest features and fixes ([e8ff40f](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/e8ff40fd1737976ae14237407aad49937e72cd39)) 75 | 76 | # [1.10.0](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.9.0...v1.10.0) (2023-11-25) 77 | 78 | 79 | ### Bug Fixes 80 | 81 | * update nav, edit button and css path ([fc43d51](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/fc43d518269b2cf1096caf398be50a6b362f5c53)) 82 | 83 | 84 | ### Features 85 | 86 | * upgrade dependencies for latest features and fixes ([a4058b8](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/a4058b84d60b6b05193ba10cd7855ab2714003f7)) 87 | 88 | # [1.9.0](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.8.10...v1.9.0) (2023-11-19) 89 | 90 | 91 | ### Features 92 | 93 | * update dependecies for th latest features and bug fixes ([d93a9f7](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/d93a9f776f89c66b7cd7d29472ae157e3adcd1c0)) 94 | 95 | ## [1.8.10](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.8.9...v1.8.10) (2023-11-12) 96 | 97 | 98 | ### Bug Fixes 99 | 100 | * bump dependencies for latest features ([084c9b5](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/084c9b55071d3075c0f56b1de38e67f469359295)) 101 | 102 | ## [1.8.9](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.8.8...v1.8.9) (2023-11-09) 103 | 104 | 105 | ### Bug Fixes 106 | 107 | * meta name typo ([a1030c1](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/a1030c105422edfa0fa9bb3bdea334dbec4e0b12)) 108 | * update host ([bc19a0d](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/bc19a0daf95170e094762328a622ddd24eb3d08f)) 109 | 110 | ## [1.8.8](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.8.7...v1.8.8) (2023-11-03) 111 | 112 | 113 | ### Bug Fixes 114 | 115 | * favicon.ico path ([c45084f](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/c45084fd62c5ab3c71467f9d8f3f608a3f4b90b0)) 116 | * update dependencies to the lates versions ([323b788](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/323b788c30e7db1d092b8f22b235d6a42e2075a1)) 117 | 118 | ## [1.8.7](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.8.6...v1.8.7) (2023-10-25) 119 | 120 | 121 | ### Bug Fixes 122 | 123 | * bump dependencies ([ff40a52](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/ff40a52ae0e04e7848f620a6b2753c361de85966)) 124 | 125 | ## [1.8.6](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.8.5...v1.8.6) (2023-10-14) 126 | 127 | 128 | ### Bug Fixes 129 | 130 | * bump dependencies ([b56b174](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/b56b174b2209b066c4ddf1fec30996e17c632b99)) 131 | 132 | ## [1.8.5](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.8.4...v1.8.5) (2023-10-09) 133 | 134 | 135 | ### Bug Fixes 136 | 137 | * bump dependencies ([b22ae6c](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/b22ae6c9f8054a192f960ca472f7041fe8c568d1)) 138 | 139 | ## [1.8.4](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.8.3...v1.8.4) (2023-10-09) 140 | 141 | 142 | ### Bug Fixes 143 | 144 | * bump dependencies ([d8b9f25](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/d8b9f25139f126f377feb7b4f1bd671496bb1a08)) 145 | 146 | ## [1.8.3](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.8.2...v1.8.3) (2023-10-09) 147 | 148 | 149 | ### Bug Fixes 150 | 151 | * bump cocreate dependency versions ([ab1ddd1](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/ab1ddd1caea240d83359cc08d894448f2a0fca31)) 152 | * bump dependencies ([7b19a6a](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/7b19a6ab5f258e42a98874e34ab75fbb7ddf5fe0)) 153 | 154 | ## [1.8.2](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.8.1...v1.8.2) (2023-09-18) 155 | 156 | 157 | ### Bug Fixes 158 | 159 | * Add path and pathname ([f4fe590](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/f4fe590336d0c68629961a242e8c03d8496a9354)) 160 | * Update CoCreate depndencies to latest versions ([6c21309](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/6c213098b80843965fd6fda9c29ee8a71745bd0f)) 161 | 162 | ## [1.8.1](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.8.0...v1.8.1) (2023-08-21) 163 | 164 | 165 | ### Bug Fixes 166 | 167 | * bump dependencies ([9228d9a](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/9228d9a679229094794fb821377159fb22557f31)) 168 | 169 | # [1.8.0](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.7.1...v1.8.0) (2023-08-21) 170 | 171 | 172 | ### Features 173 | 174 | * Update cocreate dependencies for the latest features and bug fixes ([1dadb92](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/1dadb9238b012e6afebcbeeb310bf63991b3d42a)) 175 | 176 | ## [1.7.1](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.7.0...v1.7.1) (2023-08-21) 177 | 178 | 179 | ### Bug Fixes 180 | 181 | * /dist/CoCreate.js updated to https://CoCreate.app/dist/CoCreate.js ([8f75702](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/8f757029564b5ed8dba8a6c7bb5c7cc4a2f618c6)) 182 | * replace cdn with /dist ([abdb73c](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/abdb73c9c95a533984300a01f3941657afbee8b1)) 183 | * update file uploader ([641e91a](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/641e91ae2e656a67d860350e31103eda1bb35f6c)) 184 | 185 | # [1.7.0](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.6.0...v1.7.0) (2023-08-17) 186 | 187 | 188 | ### Features 189 | 190 | * bump cocreate dependencies for the latest updates and features ([9006819](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/90068193dd81416d1ffcde4b9385a3e4c312512c)) 191 | 192 | # [1.6.0](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.29...v1.6.0) (2023-08-16) 193 | 194 | 195 | ### Bug Fixes 196 | 197 | * crud attributes renamed ([d759207](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/d759207eea5a573ab8f791585e3d7a4b83285fa5)) 198 | * replace -target -selector ([c33ba43](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/c33ba43811188e71edb2d3ff7fd6c8dc65a51600)) 199 | * updated actions callback data object ([2c105fa](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/2c105fa2c24703a5cd61b3772232045bdd69eb59)) 200 | * webpack.config and package.json make use of mode=production instead of process.env ([c558a3f](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/c558a3f1f8cb885327ac8cf9d29858b24fab3e4a)) 201 | 202 | 203 | ### Features 204 | 205 | * name attribute and variable renamed to key ([28839a7](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/28839a7b3625ce52409de82838f529234fbbdb59)) 206 | * Refactor selector utility in index.js ([b64bfb2](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/b64bfb25cbfe8a49b340ef3bb6e4e4651a6c849f)) 207 | 208 | ## [1.5.29](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.28...v1.5.29) (2023-06-14) 209 | 210 | 211 | ### Bug Fixes 212 | 213 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([bf39da1](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/bf39da1c230f294224ef1ea41149ead46f61e73b)) 214 | 215 | ## [1.5.28](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.27...v1.5.28) (2023-06-11) 216 | 217 | 218 | ### Bug Fixes 219 | 220 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([07c8df3](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/07c8df352ece4e0fc52fc5ba1063b69440ba1df6)) 221 | 222 | ## [1.5.27](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.26...v1.5.27) (2023-06-11) 223 | 224 | 225 | ### Bug Fixes 226 | 227 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([786afad](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/786afade9d3b56df25ea2177e6b1a1fb63e8f9f3)) 228 | 229 | ## [1.5.26](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.25...v1.5.26) (2023-06-11) 230 | 231 | 232 | ### Bug Fixes 233 | 234 | * testing workflow ([f7a4d49](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/f7a4d49c9e0b871472f61aa1c09172c5e2f248d2)) 235 | 236 | ## [1.5.25](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.24...v1.5.25) (2023-06-11) 237 | 238 | 239 | ### Bug Fixes 240 | 241 | * testing workflow ([c8d9246](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/c8d924602d5046f2506c0f17718a052ac0624dc0)) 242 | 243 | ## [1.5.24](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.23...v1.5.24) (2023-06-11) 244 | 245 | 246 | ### Bug Fixes 247 | 248 | * testing workflow ([a05fb3e](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/a05fb3e76ce1807e0d4b29dcb1b7bea3f68318c6)) 249 | * testing workflow ([8a748e8](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/8a748e8e18e326bbb45cbc7f385bf8e911262852)) 250 | 251 | ## [1.5.23](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.22...v1.5.23) (2023-06-11) 252 | 253 | 254 | ### Bug Fixes 255 | 256 | * testing workflow ([15ff01b](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/15ff01bf8e5bb16a9ae3fa89c759742c509e6ee5)) 257 | 258 | ## [1.5.22](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.21...v1.5.22) (2023-06-11) 259 | 260 | 261 | ### Bug Fixes 262 | 263 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([964f390](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/964f3900c650768c6e4de7dc364d6c915aeb10a5)) 264 | 265 | ## [1.5.21](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.20...v1.5.21) (2023-06-11) 266 | 267 | 268 | ### Bug Fixes 269 | 270 | * postintall error ([5eb0033](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/5eb00337c77a26d39cfdcd4efa7e7756e444672c)) 271 | 272 | ## [1.5.20](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.19...v1.5.20) (2023-06-11) 273 | 274 | 275 | ### Bug Fixes 276 | 277 | * @cocreate/cli moved to dependencies ([718656c](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/718656cfba15225e32c2535176553a6e2ef32259)) 278 | 279 | ## [1.5.19](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.18...v1.5.19) (2023-06-11) 280 | 281 | 282 | ### Bug Fixes 283 | 284 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([df7280e](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/df7280e35f87de71670b3fb547be26273956f58e)) 285 | 286 | ## [1.5.18](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.17...v1.5.18) (2023-06-11) 287 | 288 | 289 | ### Bug Fixes 290 | 291 | * renamed hosts to host. the value can be a string or an array of strings ([0f19174](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/0f191745e67c9e73105ad969c9aa1c718bb0de77)) 292 | 293 | ## [1.5.17](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.16...v1.5.17) (2023-06-10) 294 | 295 | 296 | ### Bug Fixes 297 | 298 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([82cc8a5](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/82cc8a554e79fed5b85751d8b4fb1398da319a30)) 299 | 300 | ## [1.5.16](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.15...v1.5.16) (2023-06-10) 301 | 302 | 303 | ### Bug Fixes 304 | 305 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([73ed222](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/73ed222b013fafb4909a603bfe445ac15e013961)) 306 | 307 | ## [1.5.15](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.14...v1.5.15) (2023-06-04) 308 | 309 | 310 | ### Bug Fixes 311 | 312 | * Refactor CoCreate.config.js to remove hard-coded credentials ([cf26b27](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/cf26b275f4907b4226ce4c50c3269da222576d24)) 313 | 314 | ## [1.5.14](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.13...v1.5.14) (2023-06-04) 315 | 316 | 317 | ### Bug Fixes 318 | 319 | * replaced secert GITHUB_TOKEN with GITHUB ([c0a20d5](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/c0a20d587c8694e70eb5e132d1c7bffe5225b3b1)) 320 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([0e7b56e](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/0e7b56e2fc94b711f1657d565ee79085b36bae6f)) 321 | 322 | ## [1.5.13](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.12...v1.5.13) (2023-06-04) 323 | 324 | 325 | ### Bug Fixes 326 | 327 | * **semantic-release:** worklow error solved by running node version 14 ([1511dd2](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/1511dd29530409412e4c3a0d0b908a08dd063262)) 328 | 329 | ## [1.5.12](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.11...v1.5.12) (2023-06-02) 330 | 331 | 332 | ### Bug Fixes 333 | 334 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([37129b1](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/37129b10e2ff35e4f6c73cac34343534ee4cdfaa)) 335 | 336 | ## [1.5.11](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.10...v1.5.11) (2023-05-21) 337 | 338 | 339 | ### Bug Fixes 340 | 341 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([ffdce7a](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/ffdce7a02de4c5709ad7f570686949169f6a55ee)) 342 | 343 | ## [1.5.10](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.9...v1.5.10) (2023-05-19) 344 | 345 | 346 | ### Bug Fixes 347 | 348 | * 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. ([816e5dc](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/816e5dc46ae790927d473f96aee2c10cb00fdddd)) 349 | 350 | ## [1.5.9](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.8...v1.5.9) (2023-05-10) 351 | 352 | 353 | ### Bug Fixes 354 | 355 | * apikey renamed to key ([62b7ad5](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/62b7ad5a401bd5e08fa0937cdd5d261f9e5734f2)) 356 | 357 | ## [1.5.8](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.7...v1.5.8) (2023-05-06) 358 | 359 | 360 | ### Bug Fixes 361 | 362 | * bump [@cocreate](https://github.com/cocreate) dependencies ([3b56d50](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/3b56d5068606b7700f0c8d512e72ec89fbdcc8a0)) 363 | 364 | ## [1.5.7](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.6...v1.5.7) (2023-05-01) 365 | 366 | 367 | ### Bug Fixes 368 | 369 | * update manifest.json to manifest.webmanifest ([d0dc1a3](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/d0dc1a351d583191b3264e809fed58925230454a)) 370 | 371 | ## [1.5.6](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.5...v1.5.6) (2023-05-01) 372 | 373 | 374 | ### Bug Fixes 375 | 376 | * replace fontawesome with svg ([a2a0c01](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/a2a0c0196e5e277f5df56a87c2f3a77b78e87b75)) 377 | 378 | ## [1.5.5](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.4...v1.5.5) (2023-04-30) 379 | 380 | 381 | ### Bug Fixes 382 | 383 | * fullscreen target updated to fullscreen fullscreen-target ([cd85901](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/cd85901ba7997db0e1b1005d14768781479cc331)) 384 | * package-lock.json and pnpm-lock.yaml added to .gitignore ([041174f](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/041174f13b823f17bd329901a653cdb9ae635980)) 385 | * removed app.js ([91bc5fb](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/91bc5fb12d30f12c37b185265605632b4b4c6558)) 386 | * removed toogle fullscreen icons. now using css content ([255b630](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/255b630b2a4bf0e2a73236276598fd6e921f8b25)) 387 | 388 | ## [1.5.4](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.3...v1.5.4) (2023-04-24) 389 | 390 | 391 | ### Bug Fixes 392 | 393 | * updated worrkflows to v3 and node version 16 ([e8e871d](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/e8e871db49401fd7c19925fee47f23c8105cd3e3)) 394 | 395 | ## [1.5.3](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.2...v1.5.3) (2023-04-24) 396 | 397 | 398 | ### Bug Fixes 399 | 400 | * workflow node version updated 16 ([c063f3d](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/c063f3dacaf986c529d0fcd850b3d146fcb582e3)) 401 | 402 | ## [1.5.2](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.1...v1.5.2) (2023-04-24) 403 | 404 | 405 | ### Bug Fixes 406 | 407 | * bump [@cocreate](https://github.com/cocreate) dependencies ([83967f7](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/83967f73407f7b7ff1e7af34b57a1e0b41fa278b)) 408 | 409 | ## [1.5.1](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.5.0...v1.5.1) (2023-04-24) 410 | 411 | 412 | ### Bug Fixes 413 | 414 | * removed uglifyjs-webpack-plugin ([242ccaa](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/242ccaa3be02cc43fba9b62a3518f22d87273638)) 415 | 416 | # [1.5.0](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.4.6...v1.5.0) (2023-04-24) 417 | 418 | 419 | ### Features 420 | 421 | * added pwa manifest ([ee5a1e6](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/ee5a1e616b3178a9b84c24627efdc1b3fab58d7c)) 422 | 423 | ## [1.4.6](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.4.5...v1.4.6) (2023-04-11) 424 | 425 | 426 | ### Bug Fixes 427 | 428 | * bump dependencies ([5052121](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/5052121ed3e53d8ee6e350eda2308cd8841be980)) 429 | 430 | ## [1.4.5](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.4.4...v1.4.5) (2023-04-11) 431 | 432 | 433 | ### Bug Fixes 434 | 435 | * bump [@cocreate](https://github.com/cocreate) dependencies ([ee361c3](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/ee361c3d549467441e4c7436443b4469210af8ae)) 436 | 437 | ## [1.4.4](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.4.3...v1.4.4) (2023-04-11) 438 | 439 | 440 | ### Bug Fixes 441 | 442 | * renamed domains to hosts ([1d41c48](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/1d41c487e79314fa4df3cd24d69311400c559701)) 443 | 444 | ## [1.4.3](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.4.2...v1.4.3) (2023-03-30) 445 | 446 | 447 | ### Bug Fixes 448 | 449 | * bump [@cocreate](https://github.com/cocreate) dependencies' ([8813bba](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/8813bba1ef7e3170de4dc8c46d5f8b2860c55fd8)) 450 | 451 | ## [1.4.2](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.4.1...v1.4.2) (2023-03-16) 452 | 453 | 454 | ### Bug Fixes 455 | 456 | * bump dependencies' ([d74eed4](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/d74eed47fff50d2a86f75ec9f316c7a06d39dfb9)) 457 | 458 | ## [1.4.1](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.4.0...v1.4.1) (2023-03-16) 459 | 460 | 461 | ### Bug Fixes 462 | 463 | * bump dependencies' ([83a8138](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/83a8138ebeaf7fc550869a4e493db6579ac104cc)) 464 | 465 | # [1.4.0](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.54...v1.4.0) (2023-03-16) 466 | 467 | 468 | ### Features 469 | 470 | * replaced get-value and set-value with a super charged version of CoCreate-events ([15acd45](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/15acd45b6aa7c687eaa3e2a2021da7fd54d9e5fb)) 471 | 472 | ## [1.3.54](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.53...v1.3.54) (2023-02-01) 473 | 474 | 475 | ### Bug Fixes 476 | 477 | * bump dependencies ([53f99f6](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/53f99f6a4139ec1b92820965b63309c7a8fd646b)) 478 | 479 | ## [1.3.53](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.52...v1.3.53) (2023-01-31) 480 | 481 | 482 | ### Bug Fixes 483 | 484 | * bump dependencies ([3bdf839](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/3bdf839bfe3764c04a580c1a5bef2cc45f0b1f39)) 485 | 486 | ## [1.3.52](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.51...v1.3.52) (2023-01-30) 487 | 488 | 489 | ### Bug Fixes 490 | 491 | * bump dependencies ([19dbf29](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/19dbf29cf45be6493c9734174c8f23089ae81fb8)) 492 | 493 | ## [1.3.51](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.50...v1.3.51) (2023-01-29) 494 | 495 | 496 | ### Bug Fixes 497 | 498 | * bump dependencies ([ea16c44](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/ea16c44c86ef4109d4691889cac7963b7312ec10)) 499 | 500 | ## [1.3.50](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.49...v1.3.50) (2023-01-27) 501 | 502 | 503 | ### Bug Fixes 504 | 505 | * bump dependencies ([d54decf](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/d54decfa8f2f0c73cd70c0cff041ac16b57e65bd)) 506 | 507 | ## [1.3.49](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.48...v1.3.49) (2023-01-13) 508 | 509 | 510 | ### Bug Fixes 511 | 512 | * bump dependencies ([993915a](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/993915a99a53db95dd8a02b46b7e8927da9c2656)) 513 | 514 | ## [1.3.48](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.47...v1.3.48) (2023-01-10) 515 | 516 | 517 | ### Bug Fixes 518 | 519 | * bump dependencies ([489fc85](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/489fc85875582ad9fc361157113c918dafb7ef40)) 520 | 521 | ## [1.3.47](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.46...v1.3.47) (2023-01-09) 522 | 523 | 524 | ### Bug Fixes 525 | 526 | * bump dependnecies ([26bba44](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/26bba449dd0f4c94d7c4f412bc7b44cbb43df42c)) 527 | 528 | ## [1.3.46](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.45...v1.3.46) (2023-01-06) 529 | 530 | 531 | ### Bug Fixes 532 | 533 | * bump dependencies, worklow [@v3](https://github.com/v3) ([6a046f6](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/6a046f676d9948fdb1986a0bbad313ee68e3ff61)) 534 | * edit in github btn styles ([56e0e97](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/56e0e97b903531df36b59b23977fe12971e28508)) 535 | 536 | ## [1.3.45](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.44...v1.3.45) (2023-01-05) 537 | 538 | 539 | ### Bug Fixes 540 | 541 | * bump cdn to 1.39.4 ([2e49b21](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/2e49b21eccaa2739966f4b6477f8bee4526af433)) 542 | * bump dependencies ([e0c0c7c](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/e0c0c7c85510c095aa02ce25836f44ef6b58aa3f)) 543 | 544 | ## [1.3.44](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.43...v1.3.44) (2023-01-01) 545 | 546 | 547 | ### Bug Fixes 548 | 549 | * docs sanbox overflow ([3403491](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/34034913ffb0cd0d80eb8ead1ff4ab05afdf4b8f)) 550 | 551 | ## [1.3.43](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.42...v1.3.43) (2022-12-31) 552 | 553 | 554 | ### Bug Fixes 555 | 556 | * bump dependencies ([7b6d67f](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/7b6d67f943e44c77a12e45decb5413e6e7aff7d6)) 557 | 558 | ## [1.3.42](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.41...v1.3.42) (2022-12-30) 559 | 560 | 561 | ### Bug Fixes 562 | 563 | * update config sources to use template braces with entry on src ([7fdac61](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/7fdac615cd73296cc4ec856cd56e8aef6ba25622)) 564 | 565 | ## [1.3.41](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.40...v1.3.41) (2022-12-29) 566 | 567 | 568 | ### Bug Fixes 569 | 570 | * bump dependencies ([074bf4c](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/074bf4cf6c15e5c5e04da5256681c361ccde868d)) 571 | 572 | ## [1.3.40](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.39...v1.3.40) (2022-12-27) 573 | 574 | 575 | ### Bug Fixes 576 | 577 | * bump dependencies ([da260f5](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/da260f519f8c275074334c29ff296c4dd95925a5)) 578 | 579 | ## [1.3.39](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.38...v1.3.39) (2022-12-25) 580 | 581 | 582 | ### Bug Fixes 583 | 584 | * bump dependencies ([c843b84](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/c843b8486cc1aaf4a9d536ecaa3f5d6d05c37d3b)) 585 | 586 | ## [1.3.38](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.37...v1.3.38) (2022-12-23) 587 | 588 | 589 | ### Bug Fixes 590 | 591 | * bump dependnecies ([d4862d3](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/d4862d3e96c9ff7fc3d8bf3dda1dc8bc3704efd8)) 592 | 593 | ## [1.3.37](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.36...v1.3.37) (2022-12-22) 594 | 595 | 596 | ### Bug Fixes 597 | 598 | * bump dependencies ([6bc01ec](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/6bc01ec73182b2970801f439e13d5015a34b2d68)) 599 | * update cdn ([fd5eaf1](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/fd5eaf1363f67f14807bf6d43daca1e348a379d9)) 600 | 601 | ## [1.3.36](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.35...v1.3.36) (2022-12-22) 602 | 603 | 604 | ### Bug Fixes 605 | 606 | * update demos and bump dependencies ([4426596](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/4426596996c8216ad4f08ea4f4f6a529f040d3da)) 607 | 608 | ## [1.3.35](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.34...v1.3.35) (2022-12-21) 609 | 610 | 611 | ### Bug Fixes 612 | 613 | * bump dependencies ([dd82f16](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/dd82f168f0be8c90681d50cafb43cdbc958446c8)) 614 | 615 | ## [1.3.34](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.33...v1.3.34) (2022-12-20) 616 | 617 | 618 | ### Bug Fixes 619 | 620 | * bump dependencies ([9181025](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/91810256bda270ed14a24c661b5736284618c484)) 621 | 622 | ## [1.3.33](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.32...v1.3.33) (2022-12-15) 623 | 624 | 625 | ### Bug Fixes 626 | 627 | * add missing dev dependency style-loader ([b419da7](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/b419da7dc81934f32491574209738ffd967b64fe)) 628 | 629 | ## [1.3.32](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.31...v1.3.32) (2022-12-13) 630 | 631 | 632 | ### Bug Fixes 633 | 634 | * removed un used devDependencies ([d0443f3](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/d0443f3bb18edf6f72f84f28a42395bb2edd4b28)) 635 | 636 | ## [1.3.31](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.30...v1.3.31) (2022-12-13) 637 | 638 | 639 | ### Bug Fixes 640 | 641 | * bump dependencies ([3696e16](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/3696e16f300737874bf95cda1a3a1a59cf1c21e7)) 642 | 643 | ## [1.3.30](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.29...v1.3.30) (2022-12-12) 644 | 645 | 646 | ### Bug Fixes 647 | 648 | * bump dependencies ([eecea99](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/eecea99ca77fe6c6a1a4ce1afb77e59ca8ea3128)) 649 | 650 | ## [1.3.29](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.28...v1.3.29) (2022-12-11) 651 | 652 | 653 | ### Bug Fixes 654 | 655 | * bump dependencies ([aae52e5](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/aae52e5525c117250a6e5112ffd804d89dc69ccf)) 656 | 657 | ## [1.3.28](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.27...v1.3.28) (2022-12-09) 658 | 659 | 660 | ### Bug Fixes 661 | 662 | * bump dependencies ([b9c4ea1](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/b9c4ea18b079e1aee347a5fb76b44bdb383f52fd)) 663 | 664 | ## [1.3.27](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.26...v1.3.27) (2022-12-08) 665 | 666 | 667 | ### Bug Fixes 668 | 669 | * bump dependencies ([9b9800d](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/9b9800d886659463c48ab10e972ed26d52167508)) 670 | 671 | ## [1.3.26](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.25...v1.3.26) (2022-12-07) 672 | 673 | 674 | ### Bug Fixes 675 | 676 | * bump dependencies ([a164d98](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/a164d98a13caed7ee7d76a821970a71b77d14558)) 677 | 678 | ## [1.3.25](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.24...v1.3.25) (2022-12-04) 679 | 680 | 681 | ### Bug Fixes 682 | 683 | * bump dependencies ([e774a17](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/e774a17048a2caa36801f4a8d7630bf81b6f91d8)) 684 | 685 | ## [1.3.24](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.23...v1.3.24) (2022-12-02) 686 | 687 | 688 | ### Bug Fixes 689 | 690 | * docs ([73b65f0](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/73b65f0cf0bd18e5f7d280c083ecd31faa65382d)) 691 | 692 | ## [1.3.23](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.22...v1.3.23) (2022-12-02) 693 | 694 | 695 | ### Bug Fixes 696 | 697 | * bump dependencies ([64b1127](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/64b112755c48be711cb1b534347df40001575ebd)) 698 | 699 | ## [1.3.22](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.21...v1.3.22) (2022-11-28) 700 | 701 | 702 | ### Bug Fixes 703 | 704 | * bump dependencies ([193f266](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/193f26649ffe2bcbc3cc267bc0b8aa80132cccd0)) 705 | 706 | ## [1.3.21](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.20...v1.3.21) (2022-11-28) 707 | 708 | 709 | ### Bug Fixes 710 | 711 | * bump dependencies ([325958f](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/325958fa2111d41d9b3ce54c499a151ebb7551a5)) 712 | 713 | ## [1.3.20](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.19...v1.3.20) (2022-11-27) 714 | 715 | 716 | ### Bug Fixes 717 | 718 | * bump dependencies ([39e32d4](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/39e32d43cfa26a007946eaf97cb3ec4f526877cf)) 719 | 720 | ## [1.3.19](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.18...v1.3.19) (2022-11-26) 721 | 722 | 723 | ### Bug Fixes 724 | 725 | * bump dependencies ([1d80ad3](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/1d80ad3f480674a9b869f99909e0187ee06b41da)) 726 | * renamed event fetchedTemplate to fetchedData ([840970a](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/840970a26e5cab98645c4517900668d986495c1b)) 727 | 728 | ## [1.3.18](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.17...v1.3.18) (2022-11-25) 729 | 730 | 731 | ### Bug Fixes 732 | 733 | * bump dependencies ([2482153](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/24821533278c2df5b6fb42fce9e5e1b26b04260f)) 734 | 735 | ## [1.3.17](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.16...v1.3.17) (2022-11-24) 736 | 737 | 738 | ### Bug Fixes 739 | 740 | * bump depenedencies ([755b188](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/755b188c2f3a5e44a3c565ffa53752ee0f8299ac)) 741 | 742 | ## [1.3.16](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.15...v1.3.16) (2022-11-23) 743 | 744 | 745 | ### Bug Fixes 746 | 747 | * bumped [@cocreate](https://github.com/cocreate) dependencies ([a5ed97d](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/a5ed97d45353ce77f68c71cd308856d51a932e05)) 748 | 749 | ## [1.3.15](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.14...v1.3.15) (2022-11-22) 750 | 751 | 752 | ### Bug Fixes 753 | 754 | * workflow docs ([1c44648](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/1c44648d38132e064cad2feec04f82f4f9953bc5)) 755 | 756 | ## [1.3.14](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.13...v1.3.14) (2022-11-22) 757 | 758 | 759 | ### Bug Fixes 760 | 761 | * apply src: {{source}} to CoCreate.config ([733ce47](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/733ce4772a73376a0440ba8b5d855f5b7f2350b8)) 762 | 763 | ## [1.3.13](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.12...v1.3.13) (2022-11-21) 764 | 765 | 766 | ### Bug Fixes 767 | 768 | * @cocreate/docs bug fix ([5571d28](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/5571d2868db22d4625d1b19199cd14d554745986)) 769 | 770 | ## [1.3.12](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.11...v1.3.12) (2022-11-21) 771 | 772 | 773 | ### Bug Fixes 774 | 775 | * replaced document_id with document._id ([108adce](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/108adce6e50649635a2abd87a68564c5ad84c3ac)) 776 | 777 | ## [1.3.11](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.10...v1.3.11) (2022-11-21) 778 | 779 | 780 | ### Bug Fixes 781 | 782 | * bump [@cocreate](https://github.com/cocreate) dependencies ([7092677](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/70926778603dcfd0c4dec0a8b014ac57d9c2da26)) 783 | 784 | ## [1.3.10](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.9...v1.3.10) (2022-11-21) 785 | 786 | 787 | ### Bug Fixes 788 | 789 | * bump d@cocreate ependencies ([0c99503](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/0c995039f15c0101310ab2c2b75716068940049b)) 790 | 791 | ## [1.3.9](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.8...v1.3.9) (2022-10-02) 792 | 793 | 794 | ### Bug Fixes 795 | 796 | * minor bug fixes ([e2b8e55](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/e2b8e55ce5cf97382fd7d48bf470fd5870bd6cf1)) 797 | 798 | ## [1.3.8](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.7...v1.3.8) (2022-10-02) 799 | 800 | 801 | ### Bug Fixes 802 | 803 | * bump @cocreate/hosting and @cocreate/socket-client ([1a0765f](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/1a0765ffb64c6f6890bf10e1192013cd949d5ac8)) 804 | 805 | ## [1.3.7](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.6...v1.3.7) (2022-10-01) 806 | 807 | 808 | ### Bug Fixes 809 | 810 | * bump dependencies ([f298603](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/f2986031dd0bb27e258e9625fcfda291a7f9fe3e)) 811 | 812 | ## [1.3.6](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.5...v1.3.6) (2022-09-30) 813 | 814 | 815 | ### Bug Fixes 816 | 817 | * bump [@cocreate](https://github.com/cocreate) dependencies ([9430698](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/9430698dedd3f1554ab9ebd794bb9ecf6823422c)) 818 | 819 | ## [1.3.5](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.4...v1.3.5) (2022-09-30) 820 | 821 | 822 | ### Bug Fixes 823 | 824 | * bump [@cocreate](https://github.com/cocreate) dependencies ([273e875](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/273e875557b6775d6b56562d5925d3c64002d622)) 825 | 826 | ## [1.3.4](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.3...v1.3.4) (2022-09-30) 827 | 828 | 829 | ### Bug Fixes 830 | 831 | * bump [@cocreate](https://github.com/cocreate) dependencies ([d1b9c8d](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/d1b9c8d98603b705ac66af36956e9544e575b4bb)) 832 | 833 | ## [1.3.3](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.2...v1.3.3) (2022-09-30) 834 | 835 | 836 | ### Bug Fixes 837 | 838 | * bump dependencies ([1878b62](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/1878b622c7e22b15eae1fa665c71a4252d79c59a)) 839 | 840 | ## [1.3.2](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.1...v1.3.2) (2022-09-30) 841 | 842 | 843 | ### Bug Fixes 844 | 845 | * bump dependencies ([13a825a](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/13a825a5c615afa6285adef9cef4087b955843d8)) 846 | 847 | ## [1.3.1](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.3.0...v1.3.1) (2022-09-01) 848 | 849 | 850 | ### Bug Fixes 851 | 852 | * bump all of [@cocreate](https://github.com/cocreate) dependencies ([64624c5](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/64624c51a26b791ce0f70ff4164ab704f5c69a8d)) 853 | 854 | # [1.3.0](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.41...v1.3.0) (2022-07-03) 855 | 856 | 857 | ### Features 858 | 859 | * queryDocumentSelectorAll - ability to query iframes and parent of iframes ([f8b070a](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/f8b070a2da6f50cefc2794e783f917a8a7b4f7f7)) 860 | 861 | ## [1.2.41](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.40...v1.2.41) (2022-06-18) 862 | 863 | 864 | ### Bug Fixes 865 | 866 | * bump dependencies ([068bbd6](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/068bbd63bee7ce810795d4f689735b515ce45ead)) 867 | 868 | ## [1.2.40](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.39...v1.2.40) (2022-06-12) 869 | 870 | 871 | ### Bug Fixes 872 | 873 | * update dependencies ([08a28c5](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/08a28c5f4053a5ad222ccebf659ce771fbd64332)) 874 | * update docs css document_id ([b945888](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/b945888f637877b2bc9c927271bd87540d09e111)) 875 | 876 | ## [1.2.39](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.38...v1.2.39) (2022-05-23) 877 | 878 | 879 | ### Bug Fixes 880 | 881 | * bump all dependencies ([01e829c](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/01e829cc356d18bd0512a7caa0445153c6529e18)) 882 | 883 | ## [1.2.38](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.37...v1.2.38) (2022-05-19) 884 | 885 | 886 | ### Bug Fixes 887 | 888 | * update document_id on link index.css ([2ad95ec](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/2ad95ec558aa062be375184229a640a56cb241e5)) 889 | 890 | ## [1.2.37](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.36...v1.2.37) (2022-05-06) 891 | 892 | 893 | ### Bug Fixes 894 | 895 | * update config organization_Id to organization_id ([a9719b4](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/a9719b4144e9f89a65a012245875d18a8c90ffb6)) 896 | 897 | ## [1.2.36](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.35...v1.2.36) (2022-02-24) 898 | 899 | 900 | ### Bug Fixes 901 | 902 | * CoCreate.config replace CoCreate.app with * ([6425e66](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/6425e662e87334d9d4fd2c761ab3b1496bc2554a)) 903 | 904 | ## [1.2.35](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.34...v1.2.35) (2022-02-16) 905 | 906 | 907 | ### Bug Fixes 908 | 909 | * update dependencies ([0224882](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/02248824cc8e3895b1234ad395b9242ed5c78c09)) 910 | 911 | ## [1.2.34](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.33...v1.2.34) (2022-02-16) 912 | 913 | 914 | ### Bug Fixes 915 | 916 | * update action param to name ([cd9cdb3](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/cd9cdb37d07bf84976357f0e21ea25850f288311)) 917 | 918 | ## [1.2.33](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.32...v1.2.33) (2022-02-10) 919 | 920 | 921 | ### Bug Fixes 922 | 923 | * bump dependencies ([32bcb35](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/32bcb35da3c6964c24d9d1f537dff66abfb6f5ca)) 924 | 925 | ## [1.2.32](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.31...v1.2.32) (2022-02-07) 926 | 927 | 928 | ### Bug Fixes 929 | 930 | * bump dependency versions ([c09379f](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/c09379f408cb7a20c9f4763c82eaf036fc5fe1a5)) 931 | 932 | ## [1.2.31](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.30...v1.2.31) (2022-02-03) 933 | 934 | 935 | ### Bug Fixes 936 | 937 | * typo hasAttributes to hasAttribute ([c72c65d](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/c72c65d81c5756774f263cdfb8c0e83ee1680d28)) 938 | 939 | ## [1.2.30](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.29...v1.2.30) (2022-02-03) 940 | 941 | 942 | ### Bug Fixes 943 | 944 | * replaced show and hide class hidden with attribute hidden ([d54258f](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/d54258fd85aa83c5701e71013104a774af086961)) 945 | 946 | ## [1.2.29](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.28...v1.2.29) (2022-02-03) 947 | 948 | 949 | ### Bug Fixes 950 | 951 | * added @cocreate/utils for queryFrameSelectorAll ([6118e91](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/6118e91b1828e72240398436307d81f2d8db4ffe)) 952 | 953 | ## [1.2.28](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.27...v1.2.28) (2022-02-01) 954 | 955 | 956 | ### Bug Fixes 957 | 958 | * update dependency versions ([daa90cb](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/daa90cb9879da8429fa5fe2ec4951a7b6ef3d864)) 959 | 960 | ## [1.2.27](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.26...v1.2.27) (2022-01-01) 961 | 962 | 963 | ### Bug Fixes 964 | 965 | * get-value attribute value now supports a selector added # to all values currently in get-value attributes ([bd2a190](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/bd2a190abaa8ca2d2fded65bc214b512bbd8df37)) 966 | 967 | ## [1.2.26](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.25...v1.2.26) (2021-12-15) 968 | 969 | 970 | ### Bug Fixes 971 | 972 | * update dependencies ([da70579](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/da7057926d2a3500d292b2b9b62908b36adfd396)) 973 | 974 | ## [1.2.25](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.24...v1.2.25) (2021-12-14) 975 | 976 | 977 | ### Bug Fixes 978 | 979 | * update dependencies ([cf33c64](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/cf33c64372050783ed5db6a2fa71048195c474a4)) 980 | * update dependencies ([d0e81b4](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/d0e81b48269134d2b2420d9738299b9c127a1a8e)) 981 | 982 | ## [1.2.24](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.23...v1.2.24) (2021-11-27) 983 | 984 | 985 | ### Bug Fixes 986 | 987 | * actions import typo ([02e59d1](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/02e59d1b3c95c7e1a344c8ecc3a8c4aa3e1d5377)) 988 | * update dependencies ([1ae58b1](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/1ae58b187d9eb248dc4305529ce61ea43ef5aec1)) 989 | 990 | ## [1.2.23](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.22...v1.2.23) (2021-11-27) 991 | 992 | 993 | ### Bug Fixes 994 | 995 | * update dependencies ([07bf7b7](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/07bf7b78306bd02b6fee6847628fa29d30d01e8c)) 996 | 997 | ## [1.2.22](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.21...v1.2.22) (2021-11-27) 998 | 999 | 1000 | ### Bug Fixes 1001 | 1002 | * update docs api and cocreateJS script ([6b9ad59](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/6b9ad594b320f88f79c3e2b15723f7cad6495864)) 1003 | 1004 | ## [1.2.21](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.20...v1.2.21) (2021-11-26) 1005 | 1006 | 1007 | ### Bug Fixes 1008 | 1009 | * docs sidenav width ([22d7d78](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/22d7d78a3a9e06a31a3a5f0fc5114d2ccda437e4)) 1010 | * updated action dependency to actions ([c41b7c2](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/c41b7c2a497436550903ef947af036e925fd81c0)) 1011 | 1012 | ## [1.2.20](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.19...v1.2.20) (2021-11-26) 1013 | 1014 | 1015 | ### Bug Fixes 1016 | 1017 | * update dependencies ([b316f01](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/b316f01d4f5467bc2d494def5a35984a8417f312)) 1018 | 1019 | ## [1.2.19](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.18...v1.2.19) (2021-11-23) 1020 | 1021 | 1022 | ### Bug Fixes 1023 | 1024 | * update dependencies ([988bbc8](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/988bbc8ff1cb0c3e934780a48bb87dc94439433a)) 1025 | 1026 | ## [1.2.18](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.17...v1.2.18) (2021-11-20) 1027 | 1028 | 1029 | ### Bug Fixes 1030 | 1031 | * updated script tags and link tags ([509a28f](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/509a28f06e5ef2e8c34c496c840c4ea8a6e15e61)) 1032 | 1033 | ## [1.2.17](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.16...v1.2.17) (2021-11-20) 1034 | 1035 | 1036 | ### Bug Fixes 1037 | 1038 | * update dependencies ([2b6427c](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/2b6427c0886b78b41685057fd6097a17c3cc026a)) 1039 | 1040 | ## [1.2.16](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.15...v1.2.16) (2021-11-18) 1041 | 1042 | 1043 | ### Bug Fixes 1044 | 1045 | * update dependencies ([ad489f2](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/ad489f2d4bc7b3b94b04b4aecd7890d797fbaccd)) 1046 | 1047 | ## [1.2.15](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.14...v1.2.15) (2021-11-17) 1048 | 1049 | 1050 | ### Bug Fixes 1051 | 1052 | * added @cocreate/action ([5a5c4e8](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/5a5c4e8e44ed200e6ab189eb9d202ebe3e19ca0e)) 1053 | 1054 | ## [1.2.14](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.13...v1.2.14) (2021-11-16) 1055 | 1056 | 1057 | ### Bug Fixes 1058 | 1059 | * update dependencies ([11a39ce](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/11a39ce102cd246fd591c0bedb23de9ea121b2e9)) 1060 | 1061 | ## [1.2.13](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.12...v1.2.13) (2021-11-15) 1062 | 1063 | 1064 | ### Bug Fixes 1065 | 1066 | * update dependencies ([e2420f7](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/e2420f76e2c77c04bbbe2dc8dbd58885694671bf)) 1067 | 1068 | ## [1.2.12](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.11...v1.2.12) (2021-11-11) 1069 | 1070 | 1071 | ### Bug Fixes 1072 | 1073 | * update readme ([3149fb4](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/3149fb4cd9381e3f2f7d64bed23c77631d1aec90)) 1074 | 1075 | ## [1.2.11](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.10...v1.2.11) (2021-11-07) 1076 | 1077 | 1078 | ### Bug Fixes 1079 | 1080 | * add init() directly above export default to fix bug in firefox ([35a2642](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/35a264273aab555115838eeca43f1ed6e38a57cd)) 1081 | 1082 | ## [1.2.10](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.9...v1.2.10) (2021-11-06) 1083 | 1084 | 1085 | ### Bug Fixes 1086 | 1087 | * update dependencies ([cf990a0](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/cf990a076a69a478016fcf174e724a707c5ed287)) 1088 | 1089 | ## [1.2.9](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.8...v1.2.9) (2021-11-04) 1090 | 1091 | 1092 | ### Bug Fixes 1093 | 1094 | * update dependencies ([8dc2c5e](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/8dc2c5e2b1f9aad8d59cb10e980295c0b5f82aad)) 1095 | 1096 | ## [1.2.8](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.7...v1.2.8) (2021-11-04) 1097 | 1098 | 1099 | ### Bug Fixes 1100 | 1101 | * update packages ([dc215d3](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/dc215d3640226334c2df582754a0c8a9734fc404)) 1102 | 1103 | ## [1.2.7](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.6...v1.2.7) (2021-11-03) 1104 | 1105 | 1106 | ### Bug Fixes 1107 | 1108 | * update dependencies ([24c1477](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/24c147794e83aeab0681faa651d78d58fa01c111)) 1109 | 1110 | ## [1.2.6](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.5...v1.2.6) (2021-11-01) 1111 | 1112 | 1113 | ### Bug Fixes 1114 | 1115 | * update package dependencies ([eb938d4](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/eb938d4fb624dd90faa47955b65ed29cbb606fe0)) 1116 | 1117 | ## [1.2.5](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.4...v1.2.5) (2021-10-29) 1118 | 1119 | 1120 | ### Bug Fixes 1121 | 1122 | * update dependencies ([898e2e5](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/898e2e52cb5d717bd9aaa794d97ce6461f2c2db5)) 1123 | 1124 | ## [1.2.4](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.3...v1.2.4) (2021-10-17) 1125 | 1126 | 1127 | ### Bug Fixes 1128 | 1129 | * update dependendies ([07e9a5b](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/07e9a5b4958da308f342d2ef2a95848f5f638cce)) 1130 | 1131 | ## [1.2.3](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.2...v1.2.3) (2021-10-16) 1132 | 1133 | 1134 | ### Bug Fixes 1135 | 1136 | * update socket package to fix bug in docs ([c8992cf](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/c8992cf5e992a722eacc08a9426ff1c6f1d1aad2)) 1137 | 1138 | ## [1.2.2](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.1...v1.2.2) (2021-10-15) 1139 | 1140 | 1141 | ### Bug Fixes 1142 | 1143 | * update dependencies ([a965205](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/a965205db3a755f4a2ed093d46793df0371e8c5a)) 1144 | * update dependencies ([2bd2713](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/2bd2713c7733415f03dfc2fd517636664daca530)) 1145 | 1146 | ## [1.2.1](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.2.0...v1.2.1) (2021-10-15) 1147 | 1148 | 1149 | ### Bug Fixes 1150 | 1151 | * update packages ([b665852](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/b665852e3fa4084eeb969d3fbb6a0f01f6f70db1)) 1152 | 1153 | # [1.2.0](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.29...v1.2.0) (2021-10-14) 1154 | 1155 | 1156 | ### Bug Fixes 1157 | 1158 | * updated dependencies ([40531bd](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/40531bd7b22011d0f041d3c868c17df92378c93a)) 1159 | 1160 | 1161 | ### Features 1162 | 1163 | * supports using as a action. action name is showHide ([5afc8a3](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/5afc8a327ffa3d5f6e9276d69989f2795045aa69)) 1164 | 1165 | ## [1.1.29](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.28...v1.1.29) (2021-10-13) 1166 | 1167 | 1168 | ### Bug Fixes 1169 | 1170 | * update descriptions ([70d4cd5](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/70d4cd5cec82e5bca411e55839e286b6b220dd7d)) 1171 | 1172 | ## [1.1.28](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.27...v1.1.28) (2021-10-13) 1173 | 1174 | 1175 | ### Bug Fixes 1176 | 1177 | * update packages ([78e4c5f](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/78e4c5fad194d0598e23ac95bd9ac4800ad17f5e)) 1178 | 1179 | ## [1.1.27](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.26...v1.1.27) (2021-10-06) 1180 | 1181 | 1182 | ### Bug Fixes 1183 | 1184 | * update dependencies ([f261beb](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/f261bebfb89b952209cf6aa0169c5048bdaece7b)) 1185 | 1186 | ## [1.1.26](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.25...v1.1.26) (2021-10-05) 1187 | 1188 | 1189 | ### Bug Fixes 1190 | 1191 | * update dependencies ([10cb135](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/10cb135a345487cef14c3eb44c48e3fed12fc1f4)) 1192 | * website_id in CoCreate.config ([38b750f](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/38b750fde6688037d04797a9c6e9458ac21baff6)) 1193 | 1194 | ## [1.1.25](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.24...v1.1.25) (2021-10-04) 1195 | 1196 | 1197 | ### Bug Fixes 1198 | 1199 | * update dependencies ([374740d](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/374740d1badf3f4ba96be03fb5fbd7670c489859)) 1200 | 1201 | ## [1.1.24](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.23...v1.1.24) (2021-10-04) 1202 | 1203 | 1204 | ### Bug Fixes 1205 | 1206 | * update dependencies ([eb16c26](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/eb16c26559b895d9c98f4fd2194c21a35042fa87)) 1207 | 1208 | ## [1.1.23](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.22...v1.1.23) (2021-10-02) 1209 | 1210 | 1211 | ### Bug Fixes 1212 | 1213 | * removed unsed files ([364adcf](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/364adcfb9f79d5e45c96261be20cb5b78af51009)) 1214 | 1215 | ## [1.1.22](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.21...v1.1.22) (2021-10-01) 1216 | 1217 | 1218 | ### Bug Fixes 1219 | 1220 | * update packages ([9834f4c](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/9834f4ca8b8d8d553aa6dc15340cb69e24c14071)) 1221 | 1222 | ## [1.1.21](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.20...v1.1.21) (2021-10-01) 1223 | 1224 | 1225 | ### Bug Fixes 1226 | 1227 | * update dependencies ([c351f6b](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/c351f6b819491fc490825717b3f50dd970dacbc6)) 1228 | 1229 | ## [1.1.20](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.19...v1.1.20) (2021-09-28) 1230 | 1231 | 1232 | ### Bug Fixes 1233 | 1234 | * update dependencies ([30ec28d](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/30ec28df8cab72f014491a20a6889aed1d95620d)) 1235 | 1236 | ## [1.1.19](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.18...v1.1.19) (2021-09-16) 1237 | 1238 | 1239 | ### Bug Fixes 1240 | 1241 | * update dependencies ([6d192f1](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/6d192f19f586559427fc30ac16626947171ba4e4)) 1242 | 1243 | ## [1.1.18](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.17...v1.1.18) (2021-09-14) 1244 | 1245 | 1246 | ### Bug Fixes 1247 | 1248 | * add cocreate.app to domains ([2fa630b](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/2fa630b041d6da6ecf6ee89cf38556248641719c)) 1249 | 1250 | ## [1.1.17](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.16...v1.1.17) (2021-09-13) 1251 | 1252 | 1253 | ### Bug Fixes 1254 | 1255 | * upgrade dependencies ([aefd665](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/aefd665fa90e48c99ffbedd1d6bfe495fd561d8a)) 1256 | 1257 | ## [1.1.16](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.15...v1.1.16) (2021-09-12) 1258 | 1259 | 1260 | ### Bug Fixes 1261 | 1262 | * update sidenav to use resize and toggle ([4cc9be6](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/4cc9be6db13de56ef8352debdb27cf23e524d75c)) 1263 | 1264 | ## [1.1.15](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.14...v1.1.15) (2021-09-09) 1265 | 1266 | 1267 | ### Bug Fixes 1268 | 1269 | * update dependency @cocreate/docs ([78fed9e](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/78fed9ece0aa718ef81959a40a005bb287ade5f2)) 1270 | 1271 | ## [1.1.14](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.13...v1.1.14) (2021-09-09) 1272 | 1273 | 1274 | ### Bug Fixes 1275 | 1276 | * ci docs ([e1064aa](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/e1064aaf1096987ca2640c7d9f48cba39e7b33eb)) 1277 | 1278 | ## [1.1.13](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.12...v1.1.13) (2021-09-09) 1279 | 1280 | 1281 | ### Bug Fixes 1282 | 1283 | * update dependencies ([329d6a7](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/329d6a7ab6b37437a2a313bc226cf376cc904cd8)) 1284 | 1285 | ## [1.1.12](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.11...v1.1.12) (2021-09-09) 1286 | 1287 | 1288 | ### Bug Fixes 1289 | 1290 | * CoCreate.config directory, path, name and public ([0379b56](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/0379b56e19f0eee5118c79ff70e27993f6af3706)) 1291 | 1292 | ## [1.1.11](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.10...v1.1.11) (2021-09-08) 1293 | 1294 | 1295 | ### Bug Fixes 1296 | 1297 | * update dependencies ([fca282a](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/fca282aa8123a8cb409751fb1a609c75ae9a4375)) 1298 | 1299 | ## [1.1.10](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.9...v1.1.10) (2021-09-04) 1300 | 1301 | 1302 | ### Bug Fixes 1303 | 1304 | * update dependencies ([29398da](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/29398dad546f978d18693b1829264066a8505fb0)) 1305 | 1306 | ## [1.1.9](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.8...v1.1.9) (2021-08-31) 1307 | 1308 | 1309 | ### Bug Fixes 1310 | 1311 | * update dependencies ([07c5891](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/07c5891c0bbfbb55bcedcfe9a1b8818fb737deb7)) 1312 | 1313 | ## [1.1.8](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.7...v1.1.8) (2021-08-27) 1314 | 1315 | 1316 | ### Bug Fixes 1317 | 1318 | * updaed dependencies ([ba91897](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/ba918970e1bed8b3a40465718b97c2064110127c)) 1319 | 1320 | ## [1.1.7](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.6...v1.1.7) (2021-08-23) 1321 | 1322 | 1323 | ### Bug Fixes 1324 | 1325 | * update package versions ([0e1b4c4](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/0e1b4c416aa0d27cf3e7cb95a34e8a171e388c19)) 1326 | 1327 | ## [1.1.6](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.5...v1.1.6) (2021-08-22) 1328 | 1329 | 1330 | ### Bug Fixes 1331 | 1332 | * removed data- from main-content, clone, filter-value_type ([e422a61](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/e422a61da70e6ee3569e85ac8b2be079d93ee64f)) 1333 | 1334 | ## [1.1.5](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.4...v1.1.5) (2021-08-22) 1335 | 1336 | 1337 | ### Bug Fixes 1338 | 1339 | * bump dependancy package versions ([aa8f012](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/aa8f0129a337dde53041039f0d60e780bafbef2c)) 1340 | 1341 | ## [1.1.4](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.3...v1.1.4) (2021-08-22) 1342 | 1343 | 1344 | ### Bug Fixes 1345 | 1346 | * bump package versions ([adfa5ad](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/adfa5ad31631d7aacf00f4ecf6835b3289e92f9d)) 1347 | 1348 | ## [1.1.3](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.2...v1.1.3) (2021-08-14) 1349 | 1350 | 1351 | ### Bug Fixes 1352 | 1353 | * replace data-transform with toggle ([1631e51](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/1631e51a8a699d607fa8f419007fba6ce5b415e7)) 1354 | 1355 | ## [1.1.2](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.1...v1.1.2) (2021-08-02) 1356 | 1357 | 1358 | ### Bug Fixes 1359 | 1360 | * remove data- from attributes ([e694f79](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/e694f79540af2f40feeec37100dcf07b5fb70879)) 1361 | * removed data- from show and hde attributes ([421a4b2](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/421a4b2af001ce003091810293b317beeb29822f)) 1362 | * update data-fullscreen to fullscreen ([fea4ecc](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/fea4ecc721c3a1f262e0fd067e15ee733bfd3d5d)) 1363 | 1364 | ## [1.1.1](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.1.0...v1.1.1) (2021-07-28) 1365 | 1366 | 1367 | ### Bug Fixes 1368 | 1369 | * remove data- from fetch, pass and filter ([81a2dcb](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/81a2dcb2902b9fd8ecda848fc01dcf5d27d5d61d)) 1370 | 1371 | # [1.1.0](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.0.21...v1.1.0) (2021-07-28) 1372 | 1373 | 1374 | ### Features 1375 | 1376 | * add new is{attribute} system and remove data- from attributtes ([97cdd11](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/97cdd119bfab5044735dccd5803b0d7fcefbc59e)) 1377 | 1378 | ## [1.0.21](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.0.20...v1.0.21) (2021-07-17) 1379 | 1380 | 1381 | ### Bug Fixes 1382 | 1383 | * init and update demos scripts ([09e9fe9](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/09e9fe90a6ba235f80803f0e7ec2839e15e98e27)) 1384 | * workflows ([e5f253f](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/e5f253ff7f2a753e6a5e7674a394fe3fe01d4b15)) 1385 | 1386 | ## [1.0.20](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.0.19...v1.0.20) (2021-07-14) 1387 | 1388 | 1389 | ### Bug Fixes 1390 | 1391 | * upgrade all packages ([14912e7](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/14912e71ce94a8f05a3e5a0fd46ec13df30d97ac)) 1392 | 1393 | ## [1.0.19](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.0.18...v1.0.19) (2021-07-13) 1394 | 1395 | 1396 | ### Bug Fixes 1397 | 1398 | * add yarn lockfile to git ignore ([09ce395](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/09ce395954c9e91096e901b381bb9e2fdd89d288)) 1399 | * remove yarn.lock ([cfe4906](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/cfe4906e44932fedaec2d41289438509b56b4d40)) 1400 | 1401 | ## [1.0.18](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.0.17...v1.0.18) (2021-07-10) 1402 | 1403 | 1404 | ### Bug Fixes 1405 | 1406 | * gitignore all logs ([2f158bc](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/2f158bc907bbf940b26008cb26252b89d1f1ab75)) 1407 | 1408 | ## [1.0.17](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.0.16...v1.0.17) (2021-07-07) 1409 | 1410 | 1411 | ### Bug Fixes 1412 | 1413 | * update package versions ([4b60453](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/4b6045392a0080acb571c58f52603fea8551104e)) 1414 | 1415 | ## [1.0.16](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.0.15...v1.0.16) (2021-06-30) 1416 | 1417 | 1418 | ### Bug Fixes 1419 | 1420 | * Update readme.md ([7d83a4f](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/7d83a4f13ed7c0f4e5b9d01869ee283680d447d0)) 1421 | 1422 | ## [1.0.15](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.0.14...v1.0.15) (2021-06-30) 1423 | 1424 | 1425 | ### Bug Fixes 1426 | 1427 | * automated and manual workflows ([ee8914e](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/ee8914ef2196833696c5f965bb710b729b5a7cbb)) 1428 | 1429 | ## [1.0.14](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.0.13...v1.0.14) (2021-06-29) 1430 | 1431 | 1432 | ### Bug Fixes 1433 | 1434 | * add logger utility ([9e7c5d2](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/9e7c5d2098a5acee63276c07997701c80b547349)) 1435 | 1436 | ## [1.0.13](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.0.12...v1.0.13) (2021-06-25) 1437 | 1438 | 1439 | ### Bug Fixes 1440 | 1441 | * latest version numbers applied to all cocreate packages ([e5d8dbd](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/e5d8dbd565d4274a94e23dfbdb92076421cca23b)) 1442 | 1443 | ## [1.0.12](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.0.11...v1.0.12) (2021-06-24) 1444 | 1445 | 1446 | ### Bug Fixes 1447 | 1448 | * package versioningto 1.0.0 ([06f2723](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/06f27230f73b6b1a2fe433ffa0dd11c4804b5278)) 1449 | 1450 | ## [1.0.11](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.0.10...v1.0.11) (2021-06-24) 1451 | 1452 | 1453 | ### Bug Fixes 1454 | 1455 | * update all [@cocreate](https://github.com/cocreate) to use latest versions ([be56109](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/be561093fcf730f08c9d4736c701bc839e09c7bd)) 1456 | 1457 | ## [1.0.10](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.0.9...v1.0.10) (2021-06-23) 1458 | 1459 | 1460 | ### Bug Fixes 1461 | 1462 | * update to new crud.save and crud.read ([e1c626e](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/e1c626ef16e761b43f26792bce5d1d8a80d90053)) 1463 | 1464 | ## [1.0.9](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.0.8...v1.0.9) (2021-06-20) 1465 | 1466 | 1467 | ### Bug Fixes 1468 | 1469 | * new mutaionObserver init function ([2a01876](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/2a01876b870ead881e43a147327546e9a541cbaa)) 1470 | 1471 | ## [1.0.8](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.0.7...v1.0.8) (2021-06-16) 1472 | 1473 | 1474 | ### Bug Fixes 1475 | 1476 | * added header for seo ([f68f31e](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/f68f31e3bb68e1146369b8b1249923bb4697823e)) 1477 | 1478 | ## [1.0.7](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.0.6...v1.0.7) (2021-05-08) 1479 | 1480 | 1481 | ### Bug Fixes 1482 | 1483 | * add css auto parse and save to docs. ([98b04f5](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/98b04f560e2e092de9cbe87ad1681130654696a9)) 1484 | 1485 | ## [1.0.6](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.0.5...v1.0.6) (2021-04-27) 1486 | 1487 | 1488 | ### Bug Fixes 1489 | 1490 | * add host in docs ([0bf61c1](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/0bf61c18590ca8bcbe1b20808e43c98c00f25650)) 1491 | 1492 | ## [1.0.5](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.0.4...v1.0.5) (2021-04-27) 1493 | 1494 | 1495 | ### Bug Fixes 1496 | 1497 | * Update to readme, demo, added cdn scripts ([538698f](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/538698fe9a7f8d2e121f7da0c8dcdb25873b2954)) 1498 | 1499 | ## [1.0.4](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.0.3...v1.0.4) (2021-04-23) 1500 | 1501 | 1502 | ### Bug Fixes 1503 | 1504 | * readme and documentation. Removed securitykeys ([7902970](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/7902970d70402f15ad82974d77e9e4c570d9f811)) 1505 | 1506 | ## [1.0.3](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.0.2...v1.0.3) (2021-04-19) 1507 | 1508 | 1509 | ### Bug Fixes 1510 | 1511 | * add missing packages ([7cc1258](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/7cc12588b1e035c307bf38cd0c8636ea81978eb8)) 1512 | 1513 | ## [1.0.2](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.0.1...v1.0.2) (2021-04-19) 1514 | 1515 | 1516 | ### Bug Fixes 1517 | 1518 | * ci and build process ([0adac36](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/0adac368f283d54e233442243fb3c933d14803bb)) 1519 | * npm publish and cdn deployment ([38c2b27](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/38c2b2705658f78ae4ff643b6bcce3e1b1308e04)) 1520 | 1521 | ## [1.0.1](https://github.com/CoCreate-app/CoCreate-conditional-logic/compare/v1.0.0...v1.0.1) (2021-03-29) 1522 | 1523 | 1524 | ### Bug Fixes 1525 | 1526 | * Package Paths ([1aa4ede](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/1aa4ede9476eaa545de86571923768e1ddfac76d)) 1527 | 1528 | # 1.0.0 (2021-03-29) 1529 | 1530 | 1531 | ### Features 1532 | 1533 | * Initial Release ([2c50e39](https://github.com/CoCreate-app/CoCreate-conditional-logic/commit/2c50e393c02a0dc941599a23188f94641a0d043d)) 1534 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to CoCreate-conditional-logic 2 | 3 | This project is work of [many contributors](https://github.com/CoCreate-app/CoCreate-conditional-logic/graphs/contributors). 4 | You're encouraged to submit [pull requests](https://github.com/CoCreate-app/CoCreate-conditional-logic/pulls), 5 | [propose features and discuss issues](https://github.com/CoCreate-app/CoCreate-conditional-logic/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-conditional-logic) and check out your copy. 12 | 13 | ``` 14 | git conditional-logic https://github.com/contributor/CoCreate-conditional-logic.git 15 | cd CoCreate-conditional-logic 16 | git remote add upstream https://github.com/CoCreate-app/CoCreate-conditional-logic.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-conditional-logic](https://github.com/CoCreate-app/CoCreate-conditional-logic) 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": "6019bfa94eea0817df303b0c", 10 | "name": "index.html", 11 | "path": "/docs/conditional-logic", 12 | "pathname": "/docs/conditional-logic/index.html", 13 | "src": "{{./docs/index.html}}", 14 | "host": [ 15 | "*" 16 | ], 17 | "directory": "conditional-logic", 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-conditional-logic 2 | 3 | Simple JS component show & hide elements conditionally with inputs,checkbox,radio,btn etc.Great for creating tabs, accordions, dynamic forms, etc. Easy Configuration using HTML5 data attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/conditional-logic) 4 | 5 | ![minified](https://img.badgesize.io/https://cdn.cocreate.app/conditional-logic/latest/CoCreate-conditional-logic.min.js?style=flat-square&label=minified&color=orange) 6 | ![gzip](https://img.badgesize.io/https://cdn.cocreate.app/conditional-logic/latest/CoCreate-conditional-logic.min.js?compression=gzip&style=flat-square&label=gzip&color=yellow) 7 | ![brotli](https://img.badgesize.io/https://cdn.cocreate.app/conditional-logic/latest/CoCreate-conditional-logic.min.js?compression=brotli&style=flat-square&label=brotli) 8 | ![GitHub latest release](https://img.shields.io/github/v/release/CoCreate-app/CoCreate-conditional-logic?style=flat-square) 9 | ![License](https://img.shields.io/github/license/CoCreate-app/CoCreate-conditional-logic?style=flat-square) 10 | ![Hiring](https://img.shields.io/static/v1?style=flat-square&label=&message=Hiring&color=blueviolet) 11 | 12 | ![CoCreate-conditional-logic](https://cdn.cocreate.app/docs/CoCreate-conditional-logic.gif) 13 | 14 | ## [Docs & Demo](https://cocreate.app/docs/conditional-logic) 15 | 16 | For a complete guide and working demo refer to the [doumentation](https://cocreate.app/docs/conditional-logic) 17 | 18 | ## CDN 19 | 20 | ```html 21 | 22 | ``` 23 | 24 | ```html 25 | 26 | ``` 27 | 28 | ## NPM 29 | 30 | ```shell 31 | $ npm i @cocreate/conditional-logic 32 | ``` 33 | 34 | ## yarn 35 | 36 | ```shell 37 | $ yarn install @cocreate/conditional-logic 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-conditional-logic/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-conditional-logic/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-conditional-logic/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-conditional-logic/pulls). We would love to hear your feedback. 60 | 61 | 62 | 63 | # About 64 | 65 | CoCreate-conditional-logic 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-conditional-logic 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-conditional-logic/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-conditional-logic/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-conditional-logic/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-conditional-logic/blob/master/LICENSE) 86 | -------------------------------------------------------------------------------- /demo/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Conditional Logic | CoCreateJS 5 | 6 | 11 | 12 | 13 | 14 |
Toggle
15 | 16 |
17 |
click me
18 |
19 | 20 |
21 | 22 |
23 | 24 | 25 | 26 |
show
27 |
28 | 31 |
32 | 33 |
TAG HIDE
34 | 35 |
36 | 2 example SHOW (2 elements by ID) HIDE (1 element by ID) 37 |
38 |
39 | 42 |
43 |
Only SHOW 1
44 |

only show 2

45 | 46 | 47 |
48 | 2 example SHOW (2 elements by class) HIDE (3 element by class) 49 |
50 |
51 | 54 |
55 |
Only SHOW 1
56 | 57 |

only show 2

58 | 59 | 60 | 61 | 62 |
63 | 3 example CHECKBOX SHOW (2 elements by class) HIDE (3 element 64 | by class) 65 |
66 | 71 |
Only SHOW 1
72 |

only show 2

73 | 74 | 75 | 76 | 77 |
4 example RADIOBUTTON
78 |
79 |
80 | 88 | 97 | 105 |
106 |
107 | 108 | 109 | 110 |
BUSINESS
111 | 112 | 113 |
5 example RADIOBUTTON (show MULTIPLE)
114 |
115 |
116 | 124 | 133 | 141 |
142 |
143 | 144 | 145 | 146 |
BUSINESS
147 |
other_business
148 | 149 | 150 | 151 | 152 |
6 example SELECT
153 | 161 |
Credicard
162 | 163 | 164 | 165 | 166 |
7 example SELECT (show multiples)
167 | 178 |
Credicard
179 |
Credicard2
180 | 181 | 182 | 183 | 184 | 185 | 186 |
187 |
click me
188 |
189 | 190 | 191 |
will toggle
192 | 193 | 194 | 195 | 196 | 197 | 198 | -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | CoCreate-conditional-logic Documentation | CoCreateJS 8 | 13 | 16 | 19 | 20 | 23 | 24 | 32 | 33 | 34 | 35 | 36 | 37 | 45 | 52 | 56 |
57 |
58 |
62 |
64 |
65 |

CoCreate-conditional-logic

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

115 | Simple JS component show   hide elements conditionally with 116 | inputs,checkbox,radio,btn etc.Great for creating tabs, 117 | accordions, dynamic forms, etc. Easy Configuration using HTML5 118 | data attributes and/or JavaScript API 119 |

120 |
123 |
125 |
131 | 135 |

Install

136 | 141 |
142 |
143 |
npm i @cocreate/conditional-logic
144 |

145 | Or you can use cdn link: 146 |

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

Usage

160 | 165 |
166 |
167 |
168 |

169 | This is conditional-logic usage 170 |

171 | 172 |
173 |
174 |                                 
175 |     <h5 style='color:blue'>Toggle</h5>
176 |     <div hide='#testdiv,#div2'  show='.testdiv,.div2'>
177 |            <div  class="test">click me</div><br/>
178 |     </div>
179 |     <div id='testdiv' class="hidden testdiv"> Only SHOW </div>
180 |     <div id="div2" class="hidden div2"> Only SHOW2</div>
181 |                                 
182 |                             
183 |
184 |

185 | This is conditional-logic usage 186 |

187 |
188 | 189 |
195 | 199 |

Attributes

200 | 205 |
206 |
207 |
    208 |
  • 210 |

    211 | show 212 | string 215 | optional 218 |

    219 |

    selector of elements to display

    220 |
  • 221 |
  • 223 |

    224 | hide 225 | string 228 | optional 231 |

    232 |

    selector of elements to hide

    233 |
  • 234 |
235 |
236 | 237 |
239 | 240 |
246 | 250 |

Demo

251 | 256 |
257 |
258 |
260 | 261 |
264 |
268 | 277 |
280 |
281 | 282 |
285 |
286 |
287 | 288 |
290 | 301 | 311 | 318 | 328 | 332 |
333 |
334 | 335 |
336 |
337 |
338 | 344 |
345 | 346 | 347 | 348 | 349 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@cocreate/conditional-logic", 3 | "version": "1.12.3", 4 | "description": "Simple JS component show & hide elements conditionally with inputs,checkbox,radio,btn etc.Great for creating tabs, accordions, dynamic forms, etc. Easy Configuration using HTML5 data attributes and/or JavaScript API.", 5 | "keywords": [ 6 | "conditional-logic", 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-conditional-logic.git" 35 | }, 36 | "author": "CoCreate LLC", 37 | "license": "MIT", 38 | "bugs": { 39 | "url": "https://github.com/CoCreate-app/CoCreate-conditional-logic/issues" 40 | }, 41 | "homepage": "https://cocreate.app/docs/conditional-logic", 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/observer": "^1.18.1", 59 | "@cocreate/utils": "^1.39.0" 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | tabWidth: 4, 3 | semi: true, 4 | trailingComma: "none", 5 | bracketSameLine: true, 6 | useTabs: true, 7 | overrides: [ 8 | { 9 | files: ["*.json", "*.yml", "*.yaml"], 10 | options: { 11 | tabWidth: 2, 12 | useTabs: false 13 | }, 14 | } 15 | ], 16 | }; -------------------------------------------------------------------------------- /release.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | dryRun: false, 3 | branches: ["master"], 4 | plugins: [ 5 | "@semantic-release/commit-analyzer", 6 | "@semantic-release/release-notes-generator", 7 | [ 8 | "@semantic-release/changelog", 9 | { 10 | changelogFile: "CHANGELOG.md", 11 | }, 12 | ], 13 | "@semantic-release/npm", 14 | "@semantic-release/github", 15 | [ 16 | "@semantic-release/git", 17 | { 18 | assets: ["CHANGELOG.md", "package.json"], 19 | }, 20 | ], 21 | ], 22 | }; -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | /* 2 | * https://cocreate.app 3 | * https://github.com/CoCreate-app/CoCreate-conditional-logic 4 | * Released under the MIT license 5 | * https://github.com/CoCreate-app/CoCreate-conditional-logic/blob/master/LICENSE 6 | */ 7 | /*globals CustomEvent, CoCreate*/ 8 | import observer from "@cocreate/observer"; 9 | import action from "@cocreate/actions"; 10 | import { queryElements } from "@cocreate/utils"; 11 | 12 | // TODO: update to listen to document events, find closest action return 13 | function init() { 14 | let elements = document.querySelectorAll(`[show],[hide]`); 15 | initElements(elements); 16 | } 17 | 18 | function initElements(elements) { 19 | for (let el of elements) initElement(el); 20 | } 21 | 22 | function initElement(el) { 23 | if (el.tagName.toLowerCase() == "option") el = el.closest("select"); 24 | let actions = el.getAttribute("actions"); 25 | if (actions && actions.includes("validate")) { 26 | el.removeEventListener("change", selectShowHideEle); 27 | 28 | el.addEventListener("change", selectShowHideEle); 29 | } else { 30 | el.removeEventListener("change", selectShowHideEle); 31 | el.removeEventListener("click", clickShowHideEle); 32 | 33 | el.addEventListener("change", selectShowHideEle); 34 | el.addEventListener("click", clickShowHideEle); 35 | } 36 | } 37 | 38 | function selectShowHideEle(e) { 39 | e.preventDefault(); 40 | var select = this; 41 | if (typeof select.options != "undefined") 42 | for (var i = 0, len = select.options.length; i < len; i++) { 43 | var opt = select.options[i]; 44 | var value = opt.value; 45 | if (value != "") { 46 | var show = opt.getAttribute("show"); 47 | if (typeof show != "undefined") { 48 | for (let el of queryElements({ 49 | element: document, 50 | selector: show, 51 | type: "selector" 52 | })) 53 | el.setAttribute("hidden", ""); 54 | if (opt.selected === true) { 55 | for (let el of queryElements({ 56 | element: document, 57 | selector: show, 58 | type: "selector" 59 | })) 60 | el.removeAttribute("hidden"); 61 | } 62 | } 63 | } 64 | } 65 | } 66 | 67 | function clickShowHideEle(e) { 68 | let element = e.currentTarget; 69 | if (!element) element = e.element; 70 | var show = element.getAttribute("show"); 71 | var hide = element.getAttribute("hide"); 72 | let tagName = element.tagName.toLowerCase(); 73 | 74 | if ( 75 | tagName == "input" && 76 | element.getAttribute("type").toLowerCase() == "radio" 77 | ) { 78 | let key = element.getAttribute("key"); 79 | let radios = document.querySelectorAll(tagName + '[key="' + key + '"]'); 80 | for (let radio of radios) { 81 | show = radio.getAttribute("show"); 82 | 83 | for (let el of queryElements({ 84 | element: document, 85 | selector: show, 86 | type: "selector" 87 | })) 88 | el.setAttribute("hidden", ""); 89 | 90 | if (radio.checked) { 91 | for (let el of queryElements({ 92 | element: document, 93 | selector: show, 94 | type: "selector" 95 | })) 96 | el.removeAttribute("hidden"); 97 | } 98 | } 99 | } else { 100 | let updated_els = []; 101 | 102 | if (show) 103 | for (let el of queryElements({ 104 | element: document, 105 | selector: show, 106 | type: "selector" 107 | })) { 108 | if (el.hasAttribute("hidden")) { 109 | el.removeAttribute("hidden"); 110 | updated_els.push(el); 111 | } 112 | } 113 | 114 | if (hide) 115 | for (let el of queryElements({ 116 | element: document, 117 | selector: hide, 118 | type: "selector" 119 | })) { 120 | let existEqual = false; 121 | for (let uel of updated_els) { 122 | if (el.isEqualNode(uel)) { 123 | existEqual = true; 124 | break; 125 | } 126 | } 127 | 128 | if (!existEqual) el.setAttribute("hidden", ""); 129 | } 130 | } 131 | 132 | element.dispatchEvent( 133 | new CustomEvent("showHide", { 134 | detail: {} 135 | }) 136 | ); 137 | } 138 | 139 | document.addEventListener("fetchedData", () => { 140 | init(); 141 | }); 142 | 143 | observer.init({ 144 | name: "CoCreateConditionalLogic", 145 | types: ["addedNodes"], 146 | selector: "[show], [hide]", 147 | callback: function (mutation) { 148 | initElement(mutation.target); 149 | } 150 | }); 151 | 152 | action.init({ 153 | name: "showHide", 154 | endEvent: "showHide", 155 | callback: (action) => { 156 | clickShowHideEle(action); 157 | } 158 | }); 159 | 160 | init(); 161 | 162 | const CoCreateConditionalLogic = { 163 | initElements, 164 | selectShowHideEle, 165 | clickShowHideEle 166 | }; 167 | export default CoCreateConditionalLogic; 168 | -------------------------------------------------------------------------------- /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-conditional-logic": "./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", "conditionalLogic"], 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 | --------------------------------------------------------------------------------