├── .github ├── FUNDING.yml └── workflows │ ├── automated.yml │ └── manual.yml ├── .gitignore ├── CHANGELOG.md ├── CONTRIBUTING.md ├── CoCreate.config.js ├── LICENSE ├── README.md ├── demo └── index.html ├── docs └── index.html ├── package.json ├── prettier.config.js ├── release.config.js ├── src ├── config.js ├── index.css ├── index.js ├── optionsAtt.js ├── select.js ├── selectedAtt.js ├── selectedIndexAtt.js ├── selectedOptionsAtt.js └── utils.js └── webpack.config.js /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: CoCreate-app 4 | -------------------------------------------------------------------------------- /.github/workflows/automated.yml: -------------------------------------------------------------------------------- 1 | name: Automated Workflow 2 | on: 3 | push: 4 | branches: 5 | - master 6 | jobs: 7 | about: 8 | runs-on: ubuntu-latest 9 | steps: 10 | - name: Checkout 11 | uses: actions/checkout@v3 12 | - name: Setup Node.js 13 | uses: actions/setup-node@v3 14 | with: 15 | node-version: 16 16 | - name: Jaid/action-sync-node-meta 17 | uses: jaid/action-sync-node-meta@v1.4.0 18 | with: 19 | direction: overwrite-github 20 | githubToken: "${{ secrets.GITHUB }}" 21 | release: 22 | runs-on: ubuntu-latest 23 | steps: 24 | - name: Checkout 25 | uses: actions/checkout@v3 26 | - name: Setup Node.js 27 | uses: actions/setup-node@v3 28 | with: 29 | node-version: 14 30 | - name: Semantic Release 31 | uses: cycjimmy/semantic-release-action@v3 32 | id: semantic 33 | with: 34 | extra_plugins: | 35 | @semantic-release/changelog 36 | @semantic-release/git 37 | @semantic-release/github 38 | env: 39 | GITHUB_TOKEN: "${{ secrets.GITHUB }}" 40 | NPM_TOKEN: "${{ secrets.NPM_TOKEN }}" 41 | outputs: 42 | new_release_published: "${{ steps.semantic.outputs.new_release_published }}" 43 | new_release_version: "${{ steps.semantic.outputs.new_release_version }}" 44 | 45 | -------------------------------------------------------------------------------- /.github/workflows/manual.yml: -------------------------------------------------------------------------------- 1 | name: Manual Workflow 2 | on: 3 | workflow_dispatch: 4 | inputs: 5 | invalidations: 6 | description: | 7 | If set to 'true', invalidates previous upload. 8 | default: "true" 9 | required: true 10 | 11 | jobs: 12 | cdn: 13 | runs-on: ubuntu-latest 14 | env: 15 | DRY_RUN: ${{ github.event.inputs.dry_run }} 16 | GITHUB_TOKEN: "${{ secrets.GITHUB }}" 17 | NPM_TOKEN: "${{ secrets.NPM_TOKEN }}" 18 | 19 | steps: 20 | - name: Checkout 21 | uses: actions/checkout@v3 22 | - name: setup nodejs 23 | uses: actions/setup-node@v3 24 | with: 25 | node-version: 16 26 | - name: yarn install 27 | run: > 28 | echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > 29 | .npmrc 30 | 31 | yarn install 32 | - name: yarn build 33 | run: yarn build 34 | - name: upload latest bundle 35 | uses: CoCreate-app/CoCreate-s3@master 36 | with: 37 | aws-key-id: "${{ secrets.AWSACCESSKEYID }}" 38 | aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}" 39 | distributionId: "${{ secrets.DISTRIBUTION_ID }}" 40 | bucket: testcrudbucket 41 | source: ./dist 42 | destination: /select/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.17.4](https://github.com/CoCreate-app/CoCreate-select/compare/v1.17.3...v1.17.4) (2025-05-01) 2 | 3 | 4 | ### Bug Fixes 5 | 6 | * update [@cocreate](https://github.com/cocreate) dependencies ([8ad5b1c](https://github.com/CoCreate-app/CoCreate-select/commit/8ad5b1c3becc3f9ed5b7c7e8888f29f7433a5875)) 7 | 8 | ## [1.17.3](https://github.com/CoCreate-app/CoCreate-select/compare/v1.17.2...v1.17.3) (2025-04-30) 9 | 10 | 11 | ### Bug Fixes 12 | 13 | * added css-loader ([b53cfcb](https://github.com/CoCreate-app/CoCreate-select/commit/b53cfcbe4fb1692fcc623b842f1a97c1009a3f8d)) 14 | * update query attributes ([8734e16](https://github.com/CoCreate-app/CoCreate-select/commit/8734e16e375f7515976c36533e09c4fd8812bb8c)) 15 | * updated cocreate modules versions ([01bcea9](https://github.com/CoCreate-app/CoCreate-select/commit/01bcea9cef1a1ac8a57116ff7ab135b011be56c7)) 16 | * webpack.config and devdependencies ([5c54f21](https://github.com/CoCreate-app/CoCreate-select/commit/5c54f210b4f2b72529236c7b043a5a6b72e2f682)) 17 | 18 | ## [1.17.2](https://github.com/CoCreate-app/CoCreate-select/compare/v1.17.1...v1.17.2) (2025-04-11) 19 | 20 | 21 | ### Bug Fixes 22 | 23 | * format css ([063e571](https://github.com/CoCreate-app/CoCreate-select/commit/063e571ce9ea57f0fe804f1b07e167a8637de46e)) 24 | * update observer obseve param to type and and attributeName to attributeFilter ([ddd4518](https://github.com/CoCreate-app/CoCreate-select/commit/ddd4518a2a955374f577af0a5cff383a16a4f4a9)) 25 | 26 | ## [1.17.1](https://github.com/CoCreate-app/CoCreate-select/compare/v1.17.0...v1.17.1) (2025-01-18) 27 | 28 | 29 | ### Bug Fixes 30 | 31 | * event handling ([16938c6](https://github.com/CoCreate-app/CoCreate-select/commit/16938c612a3e3bdbc81a2cd919428384c75243b2)) 32 | 33 | # [1.17.0](https://github.com/CoCreate-app/CoCreate-select/compare/v1.16.5...v1.17.0) (2024-11-04) 34 | 35 | 36 | ### Bug Fixes 37 | 38 | * check element for crud functions prior to execution ([5e8fd55](https://github.com/CoCreate-app/CoCreate-select/commit/5e8fd553130a2b04215420fdde16932856422a88)) 39 | * fetch-array has been renameed to array ([abab747](https://github.com/CoCreate-app/CoCreate-select/commit/abab747e44ac4168895220f998216cdb57e5ea1d)) 40 | * improved css ([f341b71](https://github.com/CoCreate-app/CoCreate-select/commit/f341b710b22b7d5964365e7673bfab09b52bdf3f)) 41 | * observer taget has been renamed to selector ([cccbb5f](https://github.com/CoCreate-app/CoCreate-select/commit/cccbb5fae4608a32f94d0f6ca663475f3443e857)) 42 | * pretier.config.js and file formating ([39eefef](https://github.com/CoCreate-app/CoCreate-select/commit/39eefefe3d1090242902886cc2e1558d3aff5ebe)) 43 | 44 | 45 | ### Features 46 | 47 | * add prettier.config.js and format files ([4a20164](https://github.com/CoCreate-app/CoCreate-select/commit/4a2016423a4092bd71628cf1e3422eb3f707eedd)) 48 | * add prettier.config.js and format files ([69f762d](https://github.com/CoCreate-app/CoCreate-select/commit/69f762dd13d10fdf28a93a0757f517c82f654435)) 49 | 50 | ## [1.16.5](https://github.com/CoCreate-app/CoCreate-select/compare/v1.16.4...v1.16.5) (2024-06-12) 51 | 52 | 53 | ### Bug Fixes 54 | 55 | * bump cocreate dependencies ([5c566c1](https://github.com/CoCreate-app/CoCreate-select/commit/5c566c1a2068f473075eb69f5097010c46571889)) 56 | * svg icon class ([0ec538c](https://github.com/CoCreate-app/CoCreate-select/commit/0ec538c8834a562914014609bda1271e04e386b0)) 57 | 58 | ## [1.16.4](https://github.com/CoCreate-app/CoCreate-select/compare/v1.16.3...v1.16.4) (2024-04-29) 59 | 60 | 61 | ### Bug Fixes 62 | 63 | * bump cocreate dependencies ([b287598](https://github.com/CoCreate-app/CoCreate-select/commit/b28759867ee57fd1ebffb540ccf05b76d456854c)) 64 | 65 | ## [1.16.3](https://github.com/CoCreate-app/CoCreate-select/compare/v1.16.2...v1.16.3) (2024-02-14) 66 | 67 | 68 | ### Bug Fixes 69 | 70 | * realtime defaults to false ([5bb141c](https://github.com/CoCreate-app/CoCreate-select/commit/5bb141c7285fe793e2d9780bfc358d98adc3c995)) 71 | 72 | ## [1.16.2](https://github.com/CoCreate-app/CoCreate-select/compare/v1.16.1...v1.16.2) (2024-02-05) 73 | 74 | 75 | ### Bug Fixes 76 | 77 | * Removed https://cdn.cocreate.app/latest/CoCreate.min.css ([87f4039](https://github.com/CoCreate-app/CoCreate-select/commit/87f403980a50473afba5bbb599f2f47dbeda46ae)) 78 | 79 | ## [1.16.1](https://github.com/CoCreate-app/CoCreate-select/compare/v1.16.0...v1.16.1) (2023-12-18) 80 | 81 | 82 | ### Bug Fixes 83 | 84 | * render property ([6c84e6b](https://github.com/CoCreate-app/CoCreate-select/commit/6c84e6b20a37c52ef094047fd3f938328cd8379e)) 85 | 86 | # [1.16.0](https://github.com/CoCreate-app/CoCreate-select/compare/v1.15.0...v1.16.0) (2023-11-25) 87 | 88 | 89 | ### Features 90 | 91 | * upgrade dependencies for latest features and fixes ([f84cc2f](https://github.com/CoCreate-app/CoCreate-select/commit/f84cc2fb764ece1912c73c29cfb663b8b605b586)) 92 | 93 | # [1.15.0](https://github.com/CoCreate-app/CoCreate-select/compare/v1.14.0...v1.15.0) (2023-11-25) 94 | 95 | 96 | ### Bug Fixes 97 | 98 | * pass attributes renamed to state ([eac2df8](https://github.com/CoCreate-app/CoCreate-select/commit/eac2df89b888a3f8a0a6c6bc30a47e232f813e8e)) 99 | * update nav, edit button and css path ([e99c93f](https://github.com/CoCreate-app/CoCreate-select/commit/e99c93ff0fbbfbea75572dca8d0ada1f404b403d)) 100 | 101 | 102 | ### Features 103 | 104 | * upgrade dependencies for latest features and fixes ([766b0d1](https://github.com/CoCreate-app/CoCreate-select/commit/766b0d14fd185db6d970816676cfcf9b6db8c16b)) 105 | 106 | # [1.14.0](https://github.com/CoCreate-app/CoCreate-select/compare/v1.13.9...v1.14.0) (2023-11-19) 107 | 108 | 109 | ### Features 110 | 111 | * update dependecies for th latest features and bug fixes ([e8c814e](https://github.com/CoCreate-app/CoCreate-select/commit/e8c814e1435eb8fb7248895b1ef237b301655da5)) 112 | 113 | ## [1.13.9](https://github.com/CoCreate-app/CoCreate-select/compare/v1.13.8...v1.13.9) (2023-11-12) 114 | 115 | 116 | ### Bug Fixes 117 | 118 | * bump dependencies for latest features ([f76a14c](https://github.com/CoCreate-app/CoCreate-select/commit/f76a14ca55d03fb21642b2b5ef18674a58ecd012)) 119 | 120 | ## [1.13.8](https://github.com/CoCreate-app/CoCreate-select/compare/v1.13.7...v1.13.8) (2023-11-09) 121 | 122 | 123 | ### Bug Fixes 124 | 125 | * meta name typo ([29b757d](https://github.com/CoCreate-app/CoCreate-select/commit/29b757dbc1f7e4e1b3a7c8bb857748ffaddc0d57)) 126 | * update host ([1f00f04](https://github.com/CoCreate-app/CoCreate-select/commit/1f00f04f51d2e13a84353219def47584c7405d69)) 127 | 128 | ## [1.13.7](https://github.com/CoCreate-app/CoCreate-select/compare/v1.13.6...v1.13.7) (2023-11-03) 129 | 130 | 131 | ### Bug Fixes 132 | 133 | * favicon.ico path ([13b43e5](https://github.com/CoCreate-app/CoCreate-select/commit/13b43e54b600b15dfd1ac2331b0d7eba5a56dc98)) 134 | * update dependencies to the lates versions ([d396646](https://github.com/CoCreate-app/CoCreate-select/commit/d396646f5a97fea256487d5c9bf92a213162e471)) 135 | 136 | ## [1.13.6](https://github.com/CoCreate-app/CoCreate-select/compare/v1.13.5...v1.13.6) (2023-10-25) 137 | 138 | 139 | ### Bug Fixes 140 | 141 | * bump dependencies ([823841b](https://github.com/CoCreate-app/CoCreate-select/commit/823841b14232ffebe3141fc099b5ec00f5297b54)) 142 | 143 | ## [1.13.5](https://github.com/CoCreate-app/CoCreate-select/compare/v1.13.4...v1.13.5) (2023-10-14) 144 | 145 | 146 | ### Bug Fixes 147 | 148 | * bump dependencies ([a9cd66f](https://github.com/CoCreate-app/CoCreate-select/commit/a9cd66fde2041cd112deee306992abb963b11645)) 149 | 150 | ## [1.13.4](https://github.com/CoCreate-app/CoCreate-select/compare/v1.13.3...v1.13.4) (2023-10-09) 151 | 152 | 153 | ### Bug Fixes 154 | 155 | * bump dependencies ([cbab244](https://github.com/CoCreate-app/CoCreate-select/commit/cbab244c5447d7bfbe963163e0319b4df2260894)) 156 | 157 | ## [1.13.3](https://github.com/CoCreate-app/CoCreate-select/compare/v1.13.2...v1.13.3) (2023-10-09) 158 | 159 | 160 | ### Bug Fixes 161 | 162 | * bump cocreate dependency versions ([c9061f2](https://github.com/CoCreate-app/CoCreate-select/commit/c9061f20682f94ebecb3374c3e6f6dc6a277805a)) 163 | * bump dependencies ([7b953ce](https://github.com/CoCreate-app/CoCreate-select/commit/7b953ce3281d73e44029b10d0414d5c937f7921c)) 164 | 165 | ## [1.13.2](https://github.com/CoCreate-app/CoCreate-select/compare/v1.13.1...v1.13.2) (2023-09-18) 166 | 167 | 168 | ### Bug Fixes 169 | 170 | * Add path and pathname ([a788bea](https://github.com/CoCreate-app/CoCreate-select/commit/a788bea7069f8c0ae7469a416d614c3ef3e14629)) 171 | * Update CoCreate depndencies to latest versions ([7fe9c58](https://github.com/CoCreate-app/CoCreate-select/commit/7fe9c581a73dcd1d9dfd5dec0714e94dd1027c16)) 172 | 173 | ## [1.13.1](https://github.com/CoCreate-app/CoCreate-select/compare/v1.13.0...v1.13.1) (2023-08-21) 174 | 175 | 176 | ### Bug Fixes 177 | 178 | * bump dependencies ([79ff2cd](https://github.com/CoCreate-app/CoCreate-select/commit/79ff2cddb18f83cd2faf8eed3e9c4e48a7313def)) 179 | 180 | # [1.13.0](https://github.com/CoCreate-app/CoCreate-select/compare/v1.12.1...v1.13.0) (2023-08-21) 181 | 182 | 183 | ### Features 184 | 185 | * Update cocreate dependencies for the latest features and bug fixes ([e35ef8e](https://github.com/CoCreate-app/CoCreate-select/commit/e35ef8e2a488405ac59b1f56cc3cdc174cbc731b)) 186 | 187 | ## [1.12.1](https://github.com/CoCreate-app/CoCreate-select/compare/v1.12.0...v1.12.1) (2023-08-21) 188 | 189 | 190 | ### Bug Fixes 191 | 192 | * /dist/CoCreate.js updated to https://CoCreate.app/dist/CoCreate.js ([03d530e](https://github.com/CoCreate-app/CoCreate-select/commit/03d530ea6be4ad3d5b7106eb2a1a906977daa288)) 193 | * replace cdn with /dist ([9f77f3a](https://github.com/CoCreate-app/CoCreate-select/commit/9f77f3a9b6e8cda176c7ebe4baf67d49b39b03ce)) 194 | * update file uploader ([1bab2f4](https://github.com/CoCreate-app/CoCreate-select/commit/1bab2f4bac5097fd5cda3c159a6cb0683a00493c)) 195 | 196 | # [1.12.0](https://github.com/CoCreate-app/CoCreate-select/compare/v1.11.0...v1.12.0) (2023-08-17) 197 | 198 | 199 | ### Features 200 | 201 | * bump cocreate dependencies for the latest updates and features ([8c24146](https://github.com/CoCreate-app/CoCreate-select/commit/8c241468a332edf92c79d5c9f24ca2a2ffe0ebcf)) 202 | 203 | # [1.11.0](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.28...v1.11.0) (2023-08-16) 204 | 205 | 206 | ### Bug Fixes 207 | 208 | * crud attributes renamed ([b21131b](https://github.com/CoCreate-app/CoCreate-select/commit/b21131bad94ce6ba74f61d79ac4856a555ba835c)) 209 | * Refactor event handling and save method in adapter.js ([d1d0455](https://github.com/CoCreate-app/CoCreate-select/commit/d1d04550a3e6b21f0c61e1aeea04dd418d44ecb7)) 210 | * Removed crud-client and message-client ([16f68c5](https://github.com/CoCreate-app/CoCreate-select/commit/16f68c5272920e7e240a34d21bbbb0f804d64641)) 211 | * render-array and render-object attributes renamed to render ([7ab98af](https://github.com/CoCreate-app/CoCreate-select/commit/7ab98af3cd7403b766a74e32cd7b986bc8b34ed3)) 212 | * replace -target -selector ([51643bf](https://github.com/CoCreate-app/CoCreate-select/commit/51643bfceb9ca3327ed23f562e3528d333557577)) 213 | * updated fetch-limit to filter-limit ([4f46d5b](https://github.com/CoCreate-app/CoCreate-select/commit/4f46d5b6a65706d98761d80a6b30e56b5dd05d40)) 214 | * webpack.config and package.json make use of mode=production instead of process.env ([c78e009](https://github.com/CoCreate-app/CoCreate-select/commit/c78e00955aa5b1fe4226bdac34f233ace9ab4498)) 215 | 216 | 217 | ### Features 218 | 219 | * element.read() ([f8a32fd](https://github.com/CoCreate-app/CoCreate-select/commit/f8a32fdbc084bf7e7096761b369f599360ffa936)) 220 | * name attribute and variable renamed to key ([17bb734](https://github.com/CoCreate-app/CoCreate-select/commit/17bb7346b148b39b242b7e1f8925f1f3257d3113)) 221 | * renamed CRUD attributes and params ([11644d2](https://github.com/CoCreate-app/CoCreate-select/commit/11644d2ea51f0f400931efc54fb7e76733e67914)) 222 | * update template_id to render-selector attribute. update filter attributes to filter selector-attributes ([f60d385](https://github.com/CoCreate-app/CoCreate-select/commit/f60d3851bfae2fb3f9a6deb4d3e1c39766b1551f)) 223 | 224 | ## [1.10.28](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.27...v1.10.28) (2023-06-14) 225 | 226 | 227 | ### Bug Fixes 228 | 229 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([598c563](https://github.com/CoCreate-app/CoCreate-select/commit/598c563ac793a4f7840cd0b25bd76b1c4fcfb377)) 230 | 231 | ## [1.10.27](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.26...v1.10.27) (2023-06-11) 232 | 233 | 234 | ### Bug Fixes 235 | 236 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([4890a86](https://github.com/CoCreate-app/CoCreate-select/commit/4890a86bacc55ae86cef55c30f329fddcab7a93c)) 237 | 238 | ## [1.10.26](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.25...v1.10.26) (2023-06-11) 239 | 240 | 241 | ### Bug Fixes 242 | 243 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([db52128](https://github.com/CoCreate-app/CoCreate-select/commit/db5212816e9a0b12145da40197cff90a990c9098)) 244 | 245 | ## [1.10.25](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.24...v1.10.25) (2023-06-11) 246 | 247 | 248 | ### Bug Fixes 249 | 250 | * testing workflow ([cfa8e88](https://github.com/CoCreate-app/CoCreate-select/commit/cfa8e8832ca8dd0dd66a7f07f2f1856cb54891bb)) 251 | 252 | ## [1.10.24](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.23...v1.10.24) (2023-06-11) 253 | 254 | 255 | ### Bug Fixes 256 | 257 | * testing workflow ([ef1eb26](https://github.com/CoCreate-app/CoCreate-select/commit/ef1eb262d153c84ed9d9b2b2e7e120ba0cbab71e)) 258 | 259 | ## [1.10.23](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.22...v1.10.23) (2023-06-11) 260 | 261 | 262 | ### Bug Fixes 263 | 264 | * testing workflow ([97deb6d](https://github.com/CoCreate-app/CoCreate-select/commit/97deb6dd3270459679df91a7659357f405402343)) 265 | * testing workflow ([2299d33](https://github.com/CoCreate-app/CoCreate-select/commit/2299d33cb2a9f4992b5d9bf7757ba5d9084d87d7)) 266 | 267 | ## [1.10.22](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.21...v1.10.22) (2023-06-11) 268 | 269 | 270 | ### Bug Fixes 271 | 272 | * testing workflow ([0a95e69](https://github.com/CoCreate-app/CoCreate-select/commit/0a95e69c5d80159f402307c52fbeaca93f194a15)) 273 | 274 | ## [1.10.21](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.20...v1.10.21) (2023-06-11) 275 | 276 | 277 | ### Bug Fixes 278 | 279 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([ef3dbbb](https://github.com/CoCreate-app/CoCreate-select/commit/ef3dbbbbe6edf907df68b8e918aa073a5801835b)) 280 | 281 | ## [1.10.20](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.19...v1.10.20) (2023-06-11) 282 | 283 | 284 | ### Bug Fixes 285 | 286 | * postintall error ([2d907c1](https://github.com/CoCreate-app/CoCreate-select/commit/2d907c1ddf1f261efb97fbac24e062a93827bab7)) 287 | 288 | ## [1.10.19](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.18...v1.10.19) (2023-06-11) 289 | 290 | 291 | ### Bug Fixes 292 | 293 | * @cocreate/cli moved to dependencies ([aa50392](https://github.com/CoCreate-app/CoCreate-select/commit/aa5039205d283d5b3540215b9ca553a37fff989d)) 294 | 295 | ## [1.10.18](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.17...v1.10.18) (2023-06-11) 296 | 297 | 298 | ### Bug Fixes 299 | 300 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([140a485](https://github.com/CoCreate-app/CoCreate-select/commit/140a4855e2a875bd3ddd20a8b2e6e6d2f67dd0ef)) 301 | 302 | ## [1.10.17](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.16...v1.10.17) (2023-06-11) 303 | 304 | 305 | ### Bug Fixes 306 | 307 | * renamed hosts to host. the value can be a string or an array of strings ([414b43a](https://github.com/CoCreate-app/CoCreate-select/commit/414b43a12b7dce6b5b9f6a25c4ae8a5c8a7abcf7)) 308 | 309 | ## [1.10.16](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.15...v1.10.16) (2023-06-10) 310 | 311 | 312 | ### Bug Fixes 313 | 314 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([e8e5442](https://github.com/CoCreate-app/CoCreate-select/commit/e8e5442af42cdf69c4d22526b6cb647dd1858bf4)) 315 | 316 | ## [1.10.15](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.14...v1.10.15) (2023-06-10) 317 | 318 | 319 | ### Bug Fixes 320 | 321 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([eed121d](https://github.com/CoCreate-app/CoCreate-select/commit/eed121d0ec3fe005b84d957177e884de4b4b3ee4)) 322 | 323 | ## [1.10.14](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.13...v1.10.14) (2023-06-04) 324 | 325 | 326 | ### Bug Fixes 327 | 328 | * Refactor CoCreate.config.js to remove hard-coded credentials ([10687d7](https://github.com/CoCreate-app/CoCreate-select/commit/10687d7ca49705eeb4ab4301b2ae3480afa0198e)) 329 | 330 | ## [1.10.13](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.12...v1.10.13) (2023-06-04) 331 | 332 | 333 | ### Bug Fixes 334 | 335 | * replaced secert GITHUB_TOKEN with GITHUB ([7fa4786](https://github.com/CoCreate-app/CoCreate-select/commit/7fa478662aa988b88956f6d7a6217dadcb88be1e)) 336 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([a253e6e](https://github.com/CoCreate-app/CoCreate-select/commit/a253e6e0d550c5c16cdbab7f6fb1d883cf0a5ee4)) 337 | 338 | ## [1.10.12](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.11...v1.10.12) (2023-06-04) 339 | 340 | 341 | ### Bug Fixes 342 | 343 | * **semantic-release:** worklow error solved by running node version 14 ([a8d6a15](https://github.com/CoCreate-app/CoCreate-select/commit/a8d6a1572210ff29b79b383283854b675e9e2921)) 344 | 345 | ## [1.10.11](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.10...v1.10.11) (2023-06-02) 346 | 347 | 348 | ### Bug Fixes 349 | 350 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([7651f40](https://github.com/CoCreate-app/CoCreate-select/commit/7651f40a68a2a691e16082a350a1d7227a062baa)) 351 | 352 | ## [1.10.10](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.9...v1.10.10) (2023-05-21) 353 | 354 | 355 | ### Bug Fixes 356 | 357 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([0cf1322](https://github.com/CoCreate-app/CoCreate-select/commit/0cf1322be99837e550f8fe226f1c41abad56a3a3)) 358 | 359 | ## [1.10.9](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.8...v1.10.9) (2023-05-19) 360 | 361 | 362 | ### Bug Fixes 363 | 364 | * 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. ([0853b89](https://github.com/CoCreate-app/CoCreate-select/commit/0853b89fad0f384f9141d59d7b54504453084d7f)) 365 | 366 | ## [1.10.8](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.7...v1.10.8) (2023-05-18) 367 | 368 | 369 | ### Bug Fixes 370 | 371 | * apikey renamed to key ([14be084](https://github.com/CoCreate-app/CoCreate-select/commit/14be084b4a0ffdee27454841ff0e677db7a4fa3d)) 372 | 373 | ## [1.10.7](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.6...v1.10.7) (2023-05-06) 374 | 375 | 376 | ### Bug Fixes 377 | 378 | * bump [@cocreate](https://github.com/cocreate) dependencies ([a078e26](https://github.com/CoCreate-app/CoCreate-select/commit/a078e26f4352f162cd0167e21ee219b0f08be59f)) 379 | 380 | ## [1.10.6](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.5...v1.10.6) (2023-05-01) 381 | 382 | 383 | ### Bug Fixes 384 | 385 | * update manifest.json to manifest.webmanifest ([987d898](https://github.com/CoCreate-app/CoCreate-select/commit/987d898f48c8b88bb02b81d066307d35ad3f6bc6)) 386 | 387 | ## [1.10.5](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.4...v1.10.5) (2023-05-01) 388 | 389 | 390 | ### Bug Fixes 391 | 392 | * replace fontawesome with svg ([bee690f](https://github.com/CoCreate-app/CoCreate-select/commit/bee690f635064b4965f52fd3c90011646061955d)) 393 | 394 | ## [1.10.4](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.3...v1.10.4) (2023-04-30) 395 | 396 | 397 | ### Bug Fixes 398 | 399 | * fullscreen target updated to fullscreen fullscreen-target ([9bb12b2](https://github.com/CoCreate-app/CoCreate-select/commit/9bb12b2a09675e22ec8963b212be9a74e4b51892)) 400 | * package-lock.json and pnpm-lock.yaml added to .gitignore ([b156b12](https://github.com/CoCreate-app/CoCreate-select/commit/b156b129340bffc7aa58b60bc118f0e93700ee28)) 401 | * removed toogle fullscreen icons. now using css content ([7f5ca98](https://github.com/CoCreate-app/CoCreate-select/commit/7f5ca988dc078a8e527c562bbe26ae9f16898df8)) 402 | 403 | ## [1.10.3](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.2...v1.10.3) (2023-04-24) 404 | 405 | 406 | ### Bug Fixes 407 | 408 | * updated worrkflows to v3 and node version 16 ([cb4b014](https://github.com/CoCreate-app/CoCreate-select/commit/cb4b0143c78f6dba6a31d3438d59751facf8b07f)) 409 | * workflow node version updated 16 ([61ef74e](https://github.com/CoCreate-app/CoCreate-select/commit/61ef74e9c1d84c1abc8e90dcc407ffe162d54cff)) 410 | 411 | ## [1.10.2](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.1...v1.10.2) (2023-04-24) 412 | 413 | 414 | ### Bug Fixes 415 | 416 | * bump [@cocreate](https://github.com/cocreate) dependencies ([a5f1a6b](https://github.com/CoCreate-app/CoCreate-select/commit/a5f1a6b9b45bcdf0e8ae3d020f63074d91b9f1b2)) 417 | 418 | ## [1.10.1](https://github.com/CoCreate-app/CoCreate-select/compare/v1.10.0...v1.10.1) (2023-04-24) 419 | 420 | 421 | ### Bug Fixes 422 | 423 | * removed uglifyjs-webpack-plugin ([2edfc92](https://github.com/CoCreate-app/CoCreate-select/commit/2edfc920029e559c65572acccdc07b85dd08627d)) 424 | 425 | # [1.10.0](https://github.com/CoCreate-app/CoCreate-select/compare/v1.9.7...v1.10.0) (2023-04-24) 426 | 427 | 428 | ### Features 429 | 430 | * added pwa manifest ([5d4365d](https://github.com/CoCreate-app/CoCreate-select/commit/5d4365d18ce162c9d8b8194d0ed4e7e1cc7c2490)) 431 | 432 | ## [1.9.7](https://github.com/CoCreate-app/CoCreate-select/compare/v1.9.6...v1.9.7) (2023-04-13) 433 | 434 | 435 | ### Bug Fixes 436 | 437 | * if condition ([d6f17fa](https://github.com/CoCreate-app/CoCreate-select/commit/d6f17fa6554c8eb780f948afe5dfebbfd6cd2957)) 438 | 439 | ## [1.9.6](https://github.com/CoCreate-app/CoCreate-select/compare/v1.9.5...v1.9.6) (2023-04-11) 440 | 441 | 442 | ### Bug Fixes 443 | 444 | * bump dependencies ([19af1f1](https://github.com/CoCreate-app/CoCreate-select/commit/19af1f1d3dfeb661c02f22e9913a22ac5c86bfa3)) 445 | 446 | ## [1.9.5](https://github.com/CoCreate-app/CoCreate-select/compare/v1.9.4...v1.9.5) (2023-04-11) 447 | 448 | 449 | ### Bug Fixes 450 | 451 | * bump [@cocreate](https://github.com/cocreate) dependencies ([4e2f77c](https://github.com/CoCreate-app/CoCreate-select/commit/4e2f77c23a34457a99234cffe2c14a2b70755286)) 452 | 453 | ## [1.9.4](https://github.com/CoCreate-app/CoCreate-select/compare/v1.9.3...v1.9.4) (2023-04-11) 454 | 455 | 456 | ### Bug Fixes 457 | 458 | * renamed domains to hosts ([57cac47](https://github.com/CoCreate-app/CoCreate-select/commit/57cac479df14099fde1f80eb5a509fa44bd7a9f9)) 459 | 460 | ## [1.9.3](https://github.com/CoCreate-app/CoCreate-select/compare/v1.9.2...v1.9.3) (2023-03-30) 461 | 462 | 463 | ### Bug Fixes 464 | 465 | * bump [@cocreate](https://github.com/cocreate) dependencies' ([61b7588](https://github.com/CoCreate-app/CoCreate-select/commit/61b7588c6e5e3638a1c301798b673c0f718c0507)) 466 | 467 | ## [1.9.2](https://github.com/CoCreate-app/CoCreate-select/compare/v1.9.1...v1.9.2) (2023-03-16) 468 | 469 | 470 | ### Bug Fixes 471 | 472 | * bump dependencies' ([8de174c](https://github.com/CoCreate-app/CoCreate-select/commit/8de174c93017e3a85eb1643f5f5435b61ddd1029)) 473 | 474 | ## [1.9.1](https://github.com/CoCreate-app/CoCreate-select/compare/v1.9.0...v1.9.1) (2023-03-16) 475 | 476 | 477 | ### Bug Fixes 478 | 479 | * bump dependencies' ([70bdcab](https://github.com/CoCreate-app/CoCreate-select/commit/70bdcab0c6bee1de3965909213b50453acde815f)) 480 | 481 | # [1.9.0](https://github.com/CoCreate-app/CoCreate-select/compare/v1.8.11...v1.9.0) (2023-03-16) 482 | 483 | 484 | ### Features 485 | 486 | * replaced get-value and set-value with a super charged version of CoCreate-events ([f68e38c](https://github.com/CoCreate-app/CoCreate-select/commit/f68e38ca09ec3370d7358f15039833e660eb53cb)) 487 | 488 | ## [1.8.11](https://github.com/CoCreate-app/CoCreate-select/compare/v1.8.10...v1.8.11) (2023-02-01) 489 | 490 | 491 | ### Bug Fixes 492 | 493 | * bump dependencies ([461c05b](https://github.com/CoCreate-app/CoCreate-select/commit/461c05bfe49d38436eeedb6d80f6e1e9ce80c507)) 494 | 495 | ## [1.8.10](https://github.com/CoCreate-app/CoCreate-select/compare/v1.8.9...v1.8.10) (2023-01-31) 496 | 497 | 498 | ### Bug Fixes 499 | 500 | * bump dependencies ([9aff369](https://github.com/CoCreate-app/CoCreate-select/commit/9aff36939ace188a14afa409319af02aee6506a9)) 501 | 502 | ## [1.8.9](https://github.com/CoCreate-app/CoCreate-select/compare/v1.8.8...v1.8.9) (2023-01-30) 503 | 504 | 505 | ### Bug Fixes 506 | 507 | * bump dependencies ([ab2af1a](https://github.com/CoCreate-app/CoCreate-select/commit/ab2af1ad0d13b9351db0fa9a2bfd8539b74121bd)) 508 | 509 | ## [1.8.8](https://github.com/CoCreate-app/CoCreate-select/compare/v1.8.7...v1.8.8) (2023-01-29) 510 | 511 | 512 | ### Bug Fixes 513 | 514 | * bump dependencies ([8625227](https://github.com/CoCreate-app/CoCreate-select/commit/8625227d42e1625cd247c4b2326c69696445d9fc)) 515 | 516 | ## [1.8.7](https://github.com/CoCreate-app/CoCreate-select/compare/v1.8.6...v1.8.7) (2023-01-29) 517 | 518 | 519 | ### Bug Fixes 520 | 521 | * bump dependencies ([229c6b6](https://github.com/CoCreate-app/CoCreate-select/commit/229c6b6246d9702e5bb8295603fdc90a13007c3f)) 522 | 523 | ## [1.8.6](https://github.com/CoCreate-app/CoCreate-select/compare/v1.8.5...v1.8.6) (2023-01-27) 524 | 525 | 526 | ### Bug Fixes 527 | 528 | * bump dependencies ([9cc4150](https://github.com/CoCreate-app/CoCreate-select/commit/9cc4150a5dbe725c40826a89e9997c92eabc0297)) 529 | 530 | ## [1.8.5](https://github.com/CoCreate-app/CoCreate-select/compare/v1.8.4...v1.8.5) (2023-01-13) 531 | 532 | 533 | ### Bug Fixes 534 | 535 | * bump dependencies ([6e2bfa6](https://github.com/CoCreate-app/CoCreate-select/commit/6e2bfa694d76fa3939244c83235eb22b1c83923b)) 536 | * updated draggedEl and droppedEl ([27c4579](https://github.com/CoCreate-app/CoCreate-select/commit/27c4579d46f91dbae460cd853e00248248573fbe)) 537 | 538 | ## [1.8.4](https://github.com/CoCreate-app/CoCreate-select/compare/v1.8.3...v1.8.4) (2023-01-10) 539 | 540 | 541 | ### Bug Fixes 542 | 543 | * bump dependencies ([d2e2815](https://github.com/CoCreate-app/CoCreate-select/commit/d2e28159cd4865c12eba796123af1ff3dfef1c47)) 544 | 545 | ## [1.8.3](https://github.com/CoCreate-app/CoCreate-select/compare/v1.8.2...v1.8.3) (2023-01-09) 546 | 547 | 548 | ### Bug Fixes 549 | 550 | * bump dependnecies ([8c62544](https://github.com/CoCreate-app/CoCreate-select/commit/8c625447b9941d74a4d1fcffebc42fa3cf897eaa)) 551 | 552 | ## [1.8.2](https://github.com/CoCreate-app/CoCreate-select/compare/v1.8.1...v1.8.2) (2023-01-06) 553 | 554 | 555 | ### Bug Fixes 556 | 557 | * bump dependencies, worklow [@v3](https://github.com/v3) ([2ccb1a9](https://github.com/CoCreate-app/CoCreate-select/commit/2ccb1a9bd8ffca16512b92ab9a9bfb2b0c5598b8)) 558 | * edit in github btn styles ([2dbca90](https://github.com/CoCreate-app/CoCreate-select/commit/2dbca901446a5ab5c3d0e4c88bc814ce52352c01)) 559 | 560 | ## [1.8.1](https://github.com/CoCreate-app/CoCreate-select/compare/v1.8.0...v1.8.1) (2023-01-05) 561 | 562 | 563 | ### Bug Fixes 564 | 565 | * bump cdn to 1.39.4 ([2a25c0b](https://github.com/CoCreate-app/CoCreate-select/commit/2a25c0b4f20f205319ecfbf1f48d79f2e21ce127)) 566 | * bump dependencies ([78c3884](https://github.com/CoCreate-app/CoCreate-select/commit/78c38841cc11916d6c2c600fb0962b433bdc4b42)) 567 | 568 | # [1.8.0](https://github.com/CoCreate-app/CoCreate-select/compare/v1.7.0...v1.8.0) (2023-01-02) 569 | 570 | 571 | ### Features 572 | 573 | * class="template" template_id="id" replaced with template="id" ([a2581bc](https://github.com/CoCreate-app/CoCreate-select/commit/a2581bccbf2cc4b84f76fbc236d707c54e8ef05b)) 574 | 575 | # [1.7.0](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.35...v1.7.0) (2023-01-02) 576 | 577 | 578 | ### Features 579 | 580 | * class="template" template_id="id" replaced with template="id" ([ea21512](https://github.com/CoCreate-app/CoCreate-select/commit/ea215121502609aed00fb02535f165a94bf2099d)) 581 | 582 | ## [1.6.35](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.34...v1.6.35) (2023-01-01) 583 | 584 | 585 | ### Bug Fixes 586 | 587 | * docs sanbox overflow ([b6a98e3](https://github.com/CoCreate-app/CoCreate-select/commit/b6a98e3635a594e4c2357c1b45d74d7a5595f042)) 588 | 589 | ## [1.6.34](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.33...v1.6.34) (2022-12-31) 590 | 591 | 592 | ### Bug Fixes 593 | 594 | * bump dependencies ([71f41c2](https://github.com/CoCreate-app/CoCreate-select/commit/71f41c2b03b793959a410065c914ad5340ffae05)) 595 | 596 | ## [1.6.33](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.32...v1.6.33) (2022-12-30) 597 | 598 | 599 | ### Bug Fixes 600 | 601 | * update config sources to use template braces with entry on src ([2ac6ace](https://github.com/CoCreate-app/CoCreate-select/commit/2ac6ace1db5936900e3bd8bc9b93dffe4fefa933)) 602 | 603 | ## [1.6.32](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.31...v1.6.32) (2022-12-29) 604 | 605 | 606 | ### Bug Fixes 607 | 608 | * bump dependencies ([edcaba4](https://github.com/CoCreate-app/CoCreate-select/commit/edcaba42466d6516259036d666adf2467979a51e)) 609 | 610 | ## [1.6.31](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.30...v1.6.31) (2022-12-27) 611 | 612 | 613 | ### Bug Fixes 614 | 615 | * bump dependecies ([9f179fd](https://github.com/CoCreate-app/CoCreate-select/commit/9f179fdce720bdf6ccee30da3483361723b0abe0)) 616 | * bump dependencies ([536e93a](https://github.com/CoCreate-app/CoCreate-select/commit/536e93a52c2dfb86a31847dc8391216426dcd245)) 617 | * clean demo ([8589960](https://github.com/CoCreate-app/CoCreate-select/commit/858996031219801a041530d6c2156d0bd5476624)) 618 | 619 | ## [1.6.30](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.29...v1.6.30) (2022-12-25) 620 | 621 | 622 | ### Bug Fixes 623 | 624 | * bump dependencies ([eef0ebf](https://github.com/CoCreate-app/CoCreate-select/commit/eef0ebf99db2ee991ed60948a6952b8404eea41f)) 625 | 626 | ## [1.6.29](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.28...v1.6.29) (2022-12-23) 627 | 628 | 629 | ### Bug Fixes 630 | 631 | * bump dependnecies ([e84b240](https://github.com/CoCreate-app/CoCreate-select/commit/e84b240c6bf7dfe12373d97219e33a11a61e18da)) 632 | 633 | ## [1.6.28](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.27...v1.6.28) (2022-12-22) 634 | 635 | 636 | ### Bug Fixes 637 | 638 | * bump dependencies ([0ada45b](https://github.com/CoCreate-app/CoCreate-select/commit/0ada45bb4ad44255927d3a893a41f9ebc6f04faf)) 639 | * update cdn ([75decc1](https://github.com/CoCreate-app/CoCreate-select/commit/75decc10f288f6130a6720d307401a6d95cbec6f)) 640 | 641 | ## [1.6.27](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.26...v1.6.27) (2022-12-22) 642 | 643 | 644 | ### Bug Fixes 645 | 646 | * update demos and bump dependencies ([7031f8f](https://github.com/CoCreate-app/CoCreate-select/commit/7031f8fb372be3b71548d118612a2e85a59c8034)) 647 | 648 | ## [1.6.26](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.25...v1.6.26) (2022-12-21) 649 | 650 | 651 | ### Bug Fixes 652 | 653 | * bump dependencies ([6342d08](https://github.com/CoCreate-app/CoCreate-select/commit/6342d08fb599917d42972f5b09e747fb566e0288)) 654 | 655 | ## [1.6.25](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.24...v1.6.25) (2022-12-20) 656 | 657 | 658 | ### Bug Fixes 659 | 660 | * bump dependencies ([0e8c8f9](https://github.com/CoCreate-app/CoCreate-select/commit/0e8c8f984b30ccf974eea8bc9eb8d913d25f2578)) 661 | 662 | ## [1.6.24](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.23...v1.6.24) (2022-12-15) 663 | 664 | 665 | ### Bug Fixes 666 | 667 | * add missing dev dependency style-loader ([a48a55f](https://github.com/CoCreate-app/CoCreate-select/commit/a48a55fd06e526da3bfe351d4399039d9c0a8bb5)) 668 | 669 | ## [1.6.23](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.22...v1.6.23) (2022-12-13) 670 | 671 | 672 | ### Bug Fixes 673 | 674 | * removed un used devDependencies ([f1ca5ae](https://github.com/CoCreate-app/CoCreate-select/commit/f1ca5aef469d04cccefbf6e3d3d5911727ef0208)) 675 | 676 | ## [1.6.22](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.21...v1.6.22) (2022-12-13) 677 | 678 | 679 | ### Bug Fixes 680 | 681 | * bump dependencies ([38ab960](https://github.com/CoCreate-app/CoCreate-select/commit/38ab960ce7559cb55da66e9b890bf6c08824bcf4)) 682 | 683 | ## [1.6.21](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.20...v1.6.21) (2022-12-12) 684 | 685 | 686 | ### Bug Fixes 687 | 688 | * bump dependencies ([2f10132](https://github.com/CoCreate-app/CoCreate-select/commit/2f10132cfd7ce01e65a996981240a3f92ae10dbc)) 689 | 690 | ## [1.6.20](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.19...v1.6.20) (2022-12-11) 691 | 692 | 693 | ### Bug Fixes 694 | 695 | * bump dependencies ([c93568a](https://github.com/CoCreate-app/CoCreate-select/commit/c93568a3f008f5b763be0c906cba99ed14361165)) 696 | 697 | ## [1.6.19](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.18...v1.6.19) (2022-12-09) 698 | 699 | 700 | ### Bug Fixes 701 | 702 | * bump dependencies ([ed23e69](https://github.com/CoCreate-app/CoCreate-select/commit/ed23e69a847f0786044d831547a733a3d2114c1a)) 703 | 704 | ## [1.6.18](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.17...v1.6.18) (2022-12-08) 705 | 706 | 707 | ### Bug Fixes 708 | 709 | * bump dependencies ([0c5c1ba](https://github.com/CoCreate-app/CoCreate-select/commit/0c5c1bae0fd184acb735de0815f54e63c44d6db2)) 710 | 711 | ## [1.6.17](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.16...v1.6.17) (2022-12-07) 712 | 713 | 714 | ### Bug Fixes 715 | 716 | * bump dependencies ([eb131db](https://github.com/CoCreate-app/CoCreate-select/commit/eb131db3655499f9cb94c2232fc15b30f6e44aee)) 717 | 718 | ## [1.6.16](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.15...v1.6.16) (2022-12-04) 719 | 720 | 721 | ### Bug Fixes 722 | 723 | * bump dependencies ([9f5d78d](https://github.com/CoCreate-app/CoCreate-select/commit/9f5d78d8e2a328bc99b73a15fb23f2c31b328e70)) 724 | 725 | ## [1.6.15](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.14...v1.6.15) (2022-12-02) 726 | 727 | 728 | ### Bug Fixes 729 | 730 | * docs ([567b919](https://github.com/CoCreate-app/CoCreate-select/commit/567b9192ad55b17b59c090cb28cc9fa4fef4d1b2)) 731 | 732 | ## [1.6.14](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.13...v1.6.14) (2022-12-02) 733 | 734 | 735 | ### Bug Fixes 736 | 737 | * bump dependencies ([57aeb56](https://github.com/CoCreate-app/CoCreate-select/commit/57aeb56dd58c22ec892dcb181982aff47cf6831d)) 738 | 739 | ## [1.6.13](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.12...v1.6.13) (2022-11-28) 740 | 741 | 742 | ### Bug Fixes 743 | 744 | * bump dependencies ([df99263](https://github.com/CoCreate-app/CoCreate-select/commit/df992639938064e1ef59bcdcd24470ccae49f521)) 745 | 746 | ## [1.6.12](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.11...v1.6.12) (2022-11-28) 747 | 748 | 749 | ### Bug Fixes 750 | 751 | * bump dependencies ([f6d4cec](https://github.com/CoCreate-app/CoCreate-select/commit/f6d4cec7ee5a7e4fa25a00f1eb93499504eb90ef)) 752 | 753 | ## [1.6.11](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.10...v1.6.11) (2022-11-27) 754 | 755 | 756 | ### Bug Fixes 757 | 758 | * bump dependencies ([c7efbc5](https://github.com/CoCreate-app/CoCreate-select/commit/c7efbc57f42a5822dd5e6433a05203e48612cf3f)) 759 | 760 | ## [1.6.10](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.9...v1.6.10) (2022-11-26) 761 | 762 | 763 | ### Bug Fixes 764 | 765 | * bump dependencies ([776f8a2](https://github.com/CoCreate-app/CoCreate-select/commit/776f8a229ae8e0a05363b98493ad1cdce7d7af6f)) 766 | 767 | ## [1.6.9](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.8...v1.6.9) (2022-11-25) 768 | 769 | 770 | ### Bug Fixes 771 | 772 | * bump dependencies ([6e1b1fd](https://github.com/CoCreate-app/CoCreate-select/commit/6e1b1fd25b4b586a425afb423cbe73ab4580f506)) 773 | * CoCreate.crud.default removed bug causing default object ([09ab92d](https://github.com/CoCreate-app/CoCreate-select/commit/09ab92df33d43434b42e5d4b6aa7f5ba341811a0)) 774 | 775 | ## [1.6.8](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.7...v1.6.8) (2022-11-24) 776 | 777 | 778 | ### Bug Fixes 779 | 780 | * bump depenedencies ([00d77d0](https://github.com/CoCreate-app/CoCreate-select/commit/00d77d070cd9fe31d92666dde6270003c0fc29a7)) 781 | 782 | ## [1.6.7](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.6...v1.6.7) (2022-11-23) 783 | 784 | 785 | ### Bug Fixes 786 | 787 | * bumped [@cocreate](https://github.com/cocreate) dependencies ([9bdadf9](https://github.com/CoCreate-app/CoCreate-select/commit/9bdadf98a97c1b073a518edc2d5fd276a92c6449)) 788 | 789 | ## [1.6.6](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.5...v1.6.6) (2022-11-22) 790 | 791 | 792 | ### Bug Fixes 793 | 794 | * workflow docs ([c0e0c88](https://github.com/CoCreate-app/CoCreate-select/commit/c0e0c88ea7eae90844203728715b1172c61ab73d)) 795 | 796 | ## [1.6.5](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.4...v1.6.5) (2022-11-22) 797 | 798 | 799 | ### Bug Fixes 800 | 801 | * apply src: {{source}} to CoCreate.config ([0ae316e](https://github.com/CoCreate-app/CoCreate-select/commit/0ae316e362c5a6f8bff998724787868e07e732b3)) 802 | 803 | ## [1.6.4](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.3...v1.6.4) (2022-11-21) 804 | 805 | 806 | ### Bug Fixes 807 | 808 | * @cocreate/docs bug fix ([1fc5108](https://github.com/CoCreate-app/CoCreate-select/commit/1fc51089bea561e8f5c7ad7701d25f84c86369cd)) 809 | 810 | ## [1.6.3](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.2...v1.6.3) (2022-11-21) 811 | 812 | 813 | ### Bug Fixes 814 | 815 | * replaced document_id with document._id ([2ebd3c3](https://github.com/CoCreate-app/CoCreate-select/commit/2ebd3c38e0e8c75539ed86c376f2b0b5b2910ab7)) 816 | 817 | ## [1.6.2](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.1...v1.6.2) (2022-11-21) 818 | 819 | 820 | ### Bug Fixes 821 | 822 | * bump [@cocreate](https://github.com/cocreate) dependencies ([8d898d8](https://github.com/CoCreate-app/CoCreate-select/commit/8d898d84e2ace501a62aaea40600cd1672dbcbe0)) 823 | 824 | ## [1.6.1](https://github.com/CoCreate-app/CoCreate-select/compare/v1.6.0...v1.6.1) (2022-11-21) 825 | 826 | 827 | ### Bug Fixes 828 | 829 | * bump d@cocreate ependencies ([4fa5922](https://github.com/CoCreate-app/CoCreate-select/commit/4fa59227ebf404f467c44f629ff3e9f71a4d7f8b)) 830 | 831 | # [1.6.0](https://github.com/CoCreate-app/CoCreate-select/compare/v1.5.15...v1.6.0) (2022-11-21) 832 | 833 | 834 | ### Bug Fixes 835 | 836 | * crud.getAttr renamed to crud.getAttributes ([c3fb8dc](https://github.com/CoCreate-app/CoCreate-select/commit/c3fb8dc89dc7ceadfaad0ffa63eb7b2699d72001)) 837 | * data response from server is now an array of objects ([919fa84](https://github.com/CoCreate-app/CoCreate-select/commit/919fa84a997f3c6e8e27de58467c6b5659c9a1e8)) 838 | * renamed {{data.key}} to {{document.key}} ([6922afa](https://github.com/CoCreate-app/CoCreate-select/commit/6922afacc07ba415e4e5c90e6fd206a45bfbfd39)) 839 | * renamed data.data to data.document ([19e82c2](https://github.com/CoCreate-app/CoCreate-select/commit/19e82c236f4b85e4cbe0c1e03e29189bab88dc7a)) 840 | * update crud functions to receive an array of objects as the response ([e9de33e](https://github.com/CoCreate-app/CoCreate-select/commit/e9de33e60c94c9638058c03fd41976f1e0d46064)) 841 | 842 | 843 | ### Features 844 | 845 | * added crud.getAttributeNames to observer attributeName param, this will allow observing custom attributes ([404aa81](https://github.com/CoCreate-app/CoCreate-select/commit/404aa81c177e8c76c412cc1eea9dba62697af08b)) 846 | 847 | ## [1.5.15](https://github.com/CoCreate-app/CoCreate-select/compare/v1.5.14...v1.5.15) (2022-10-03) 848 | 849 | 850 | ### Bug Fixes 851 | 852 | * getValue - if no element, element = this.selectContainer ([d13cdb0](https://github.com/CoCreate-app/CoCreate-select/commit/d13cdb0b8f818369ca6c971959b1bb6247e1c8b5)) 853 | * getValue and setValue no longer require element ([9b419f1](https://github.com/CoCreate-app/CoCreate-select/commit/9b419f1daaf83fad48f4f901457996ff612957a1)) 854 | 855 | ## [1.5.14](https://github.com/CoCreate-app/CoCreate-select/compare/v1.5.13...v1.5.14) (2022-10-02) 856 | 857 | 858 | ### Bug Fixes 859 | 860 | * minor bug fixes ([887b50e](https://github.com/CoCreate-app/CoCreate-select/commit/887b50e2e47ac81e11618b79d0b7e4506fcb1642)) 861 | 862 | ## [1.5.13](https://github.com/CoCreate-app/CoCreate-select/compare/v1.5.12...v1.5.13) (2022-10-02) 863 | 864 | 865 | ### Bug Fixes 866 | 867 | * bump @cocreate/hosting and @cocreate/socket-client ([f9e4112](https://github.com/CoCreate-app/CoCreate-select/commit/f9e4112ce85d40b50335f0acf6e8720828412efc)) 868 | 869 | ## [1.5.12](https://github.com/CoCreate-app/CoCreate-select/compare/v1.5.11...v1.5.12) (2022-10-01) 870 | 871 | 872 | ### Bug Fixes 873 | 874 | * bump dependencies ([aa95e74](https://github.com/CoCreate-app/CoCreate-select/commit/aa95e74ba2de01f15d2956d1e2ab09727d32bb7c)) 875 | 876 | ## [1.5.11](https://github.com/CoCreate-app/CoCreate-select/compare/v1.5.10...v1.5.11) (2022-09-30) 877 | 878 | 879 | ### Bug Fixes 880 | 881 | * bump [@cocreate](https://github.com/cocreate) dependencies ([a07197f](https://github.com/CoCreate-app/CoCreate-select/commit/a07197f5e9c4af0f5d6335baf3fd5983636964d2)) 882 | 883 | ## [1.5.10](https://github.com/CoCreate-app/CoCreate-select/compare/v1.5.9...v1.5.10) (2022-09-30) 884 | 885 | 886 | ### Bug Fixes 887 | 888 | * bump [@cocreate](https://github.com/cocreate) dependencies ([eb6f9ef](https://github.com/CoCreate-app/CoCreate-select/commit/eb6f9ef4d277a604f3ba3d161d229dbcd6d52162)) 889 | 890 | ## [1.5.9](https://github.com/CoCreate-app/CoCreate-select/compare/v1.5.8...v1.5.9) (2022-09-30) 891 | 892 | 893 | ### Bug Fixes 894 | 895 | * bump [@cocreate](https://github.com/cocreate) dependencies ([6d92a52](https://github.com/CoCreate-app/CoCreate-select/commit/6d92a52d9a0de00728542404d4a7f8510d80a44b)) 896 | 897 | ## [1.5.8](https://github.com/CoCreate-app/CoCreate-select/compare/v1.5.7...v1.5.8) (2022-09-30) 898 | 899 | 900 | ### Bug Fixes 901 | 902 | * bump dependencies ([d500c93](https://github.com/CoCreate-app/CoCreate-select/commit/d500c9336bb4dd8ff9c7dc59a4ae6e732e1596ba)) 903 | 904 | ## [1.5.7](https://github.com/CoCreate-app/CoCreate-select/compare/v1.5.6...v1.5.7) (2022-09-30) 905 | 906 | 907 | ### Bug Fixes 908 | 909 | * bump dependencies ([b98112e](https://github.com/CoCreate-app/CoCreate-select/commit/b98112e3c757c2d820a2b4899b7946d6c64a4895)) 910 | 911 | ## [1.5.6](https://github.com/CoCreate-app/CoCreate-select/compare/v1.5.5...v1.5.6) (2022-09-29) 912 | 913 | 914 | ### Bug Fixes 915 | 916 | * config renameed to CoCreateConfig ([3490b59](https://github.com/CoCreate-app/CoCreate-select/commit/3490b5919ffdbf3834435afa7875e16d15816847)) 917 | 918 | ## [1.5.5](https://github.com/CoCreate-app/CoCreate-select/compare/v1.5.4...v1.5.5) (2022-09-01) 919 | 920 | 921 | ### Bug Fixes 922 | 923 | * bump all of [@cocreate](https://github.com/cocreate) dependencies ([3a9e9af](https://github.com/CoCreate-app/CoCreate-select/commit/3a9e9af3b35090f239df8443ab100e9f418f0863)) 924 | 925 | ## [1.5.4](https://github.com/CoCreate-app/CoCreate-select/compare/v1.5.3...v1.5.4) (2022-08-31) 926 | 927 | 928 | ### Bug Fixes 929 | 930 | * getValue and setValue using HTMLElement.prototype ([8abee4e](https://github.com/CoCreate-app/CoCreate-select/commit/8abee4e32d645b514b9f88fca4248a887877db76)) 931 | * rename variables isBroadcast and isBroadcastSender to broadcast and broadcastSender ([76dc1bd](https://github.com/CoCreate-app/CoCreate-select/commit/76dc1bd4da0028b3be20dce284096902f164bdb4)) 932 | 933 | ## [1.5.3](https://github.com/CoCreate-app/CoCreate-select/compare/v1.5.2...v1.5.3) (2022-07-25) 934 | 935 | 936 | ### Bug Fixes 937 | 938 | * crud.read no longer needs param isFlat ([9aefd5d](https://github.com/CoCreate-app/CoCreate-select/commit/9aefd5d350ccfda5702b924b9fcda46bca9687fc)) 939 | 940 | ## [1.5.2](https://github.com/CoCreate-app/CoCreate-select/compare/v1.5.1...v1.5.2) (2022-07-08) 941 | 942 | 943 | ### Bug Fixes 944 | 945 | * remove class template ([42fb8b3](https://github.com/CoCreate-app/CoCreate-select/commit/42fb8b3a1011c0c76a027641cf049b6461941167)) 946 | 947 | ## [1.5.1](https://github.com/CoCreate-app/CoCreate-select/compare/v1.5.0...v1.5.1) (2022-06-21) 948 | 949 | 950 | ### Bug Fixes 951 | 952 | * bug rendering template for selected items on select read ([c22bb01](https://github.com/CoCreate-app/CoCreate-select/commit/c22bb016ea9dfb01ca640c07273e81d81f2970b1)) 953 | 954 | # [1.5.0](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.32...v1.5.0) (2022-06-20) 955 | 956 | 957 | ### Features 958 | 959 | * handle value type object ([7c871d8](https://github.com/CoCreate-app/CoCreate-select/commit/7c871d8be3bdb9b8a133dfee87f47d37199b0c7f)) 960 | 961 | ## [1.4.32](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.31...v1.4.32) (2022-06-19) 962 | 963 | 964 | ### Bug Fixes 965 | 966 | * update templates to use placeholder ([697245d](https://github.com/CoCreate-app/CoCreate-select/commit/697245dafa2cfd9c7c318b842e03065b8692cf1d)) 967 | 968 | ## [1.4.31](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.30...v1.4.31) (2022-06-18) 969 | 970 | 971 | ### Bug Fixes 972 | 973 | * removed if condition that resulted in select not updating in realtime ([e03e896](https://github.com/CoCreate-app/CoCreate-select/commit/e03e89697fb39c31be9de6fbbc946852bb26ce1c)) 974 | 975 | ## [1.4.30](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.29...v1.4.30) (2022-06-18) 976 | 977 | 978 | ### Bug Fixes 979 | 980 | * bump dependencies ([aa4bea2](https://github.com/CoCreate-app/CoCreate-select/commit/aa4bea22f067aa63c2d52b231750c584e2c2ecea)) 981 | 982 | ## [1.4.29](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.28...v1.4.29) (2022-06-16) 983 | 984 | 985 | ### Bug Fixes 986 | 987 | * selectOption doEvent false if called by read ([8e0efc4](https://github.com/CoCreate-app/CoCreate-select/commit/8e0efc40804b862d7c49f0050dede2d594293ec8)) 988 | 989 | ## [1.4.28](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.27...v1.4.28) (2022-06-12) 990 | 991 | 992 | ### Bug Fixes 993 | 994 | * update dependencies ([e567a5b](https://github.com/CoCreate-app/CoCreate-select/commit/e567a5b9e07c6f5da1fb597353f4627cecb86451)) 995 | 996 | ## [1.4.27](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.26...v1.4.27) (2022-05-23) 997 | 998 | 999 | ### Bug Fixes 1000 | 1001 | * bump all dependencies ([13223b3](https://github.com/CoCreate-app/CoCreate-select/commit/13223b3f46e339a4944e0c5b949655c5cf8069ca)) 1002 | 1003 | ## [1.4.26](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.25...v1.4.26) (2022-05-06) 1004 | 1005 | 1006 | ### Bug Fixes 1007 | 1008 | * update config organization_Id to organization_id ([c8a9222](https://github.com/CoCreate-app/CoCreate-select/commit/c8a9222f49c91e40d1e66e537943e4a8866c30fd)) 1009 | 1010 | ## [1.4.25](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.24...v1.4.25) (2022-03-22) 1011 | 1012 | 1013 | ### Bug Fixes 1014 | 1015 | * removed emit from message.send and message.listen ([4943b3d](https://github.com/CoCreate-app/CoCreate-select/commit/4943b3dfa2e003ff47104be7fc50d0692c8ff2e5)) 1016 | 1017 | ## [1.4.24](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.23...v1.4.24) (2022-03-21) 1018 | 1019 | 1020 | ### Bug Fixes 1021 | 1022 | * update class sortable to attribute sortable ([defff60](https://github.com/CoCreate-app/CoCreate-select/commit/defff6014b1e3e3af6a85774258d28e08d5a5892)) 1023 | 1024 | ## [1.4.23](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.22...v1.4.23) (2022-02-24) 1025 | 1026 | 1027 | ### Bug Fixes 1028 | 1029 | * CoCreate.config replace CoCreate.app with * ([812e4c3](https://github.com/CoCreate-app/CoCreate-select/commit/812e4c3d54e6ed7a9010319dc67244cfbfa8421a)) 1030 | 1031 | ## [1.4.22](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.21...v1.4.22) (2022-02-16) 1032 | 1033 | 1034 | ### Bug Fixes 1035 | 1036 | * update dependencies ([a8e51ea](https://github.com/CoCreate-app/CoCreate-select/commit/a8e51ea398546613fd2a4e6ede4d5e3015f06ff6)) 1037 | 1038 | ## [1.4.21](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.20...v1.4.21) (2022-02-10) 1039 | 1040 | 1041 | ### Bug Fixes 1042 | 1043 | * bump dependencies ([34f0bc9](https://github.com/CoCreate-app/CoCreate-select/commit/34f0bc9573e20f8b75b9c24e822ef0d6dd896055)) 1044 | 1045 | ## [1.4.20](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.19...v1.4.20) (2022-02-07) 1046 | 1047 | 1048 | ### Bug Fixes 1049 | 1050 | * bump dependency versions ([c3040c6](https://github.com/CoCreate-app/CoCreate-select/commit/c3040c63fdc720526fbf6908c361446a18988ccb)) 1051 | 1052 | ## [1.4.19](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.18...v1.4.19) (2022-02-06) 1053 | 1054 | 1055 | ### Bug Fixes 1056 | 1057 | * dispatch input event after options are read and set from db ([6f819eb](https://github.com/CoCreate-app/CoCreate-select/commit/6f819ebdcbcda77546a3722fe437c033b49b3c6d)) 1058 | 1059 | ## [1.4.18](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.17...v1.4.18) (2022-02-03) 1060 | 1061 | 1062 | ### Bug Fixes 1063 | 1064 | * replaced show and hide class hidden with attribute hidden ([cc136be](https://github.com/CoCreate-app/CoCreate-select/commit/cc136be48b0e2de85d1c9fbdcf46481b56d82006)) 1065 | 1066 | ## [1.4.17](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.16...v1.4.17) (2022-02-01) 1067 | 1068 | 1069 | ### Bug Fixes 1070 | 1071 | * update dependency versions ([1c8f560](https://github.com/CoCreate-app/CoCreate-select/commit/1c8f56007e61526e083aa24f1b486b324b60f9a9)) 1072 | 1073 | ## [1.4.16](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.15...v1.4.16) (2022-01-27) 1074 | 1075 | 1076 | ### Bug Fixes 1077 | 1078 | * remove commented css ([7903113](https://github.com/CoCreate-app/CoCreate-select/commit/79031138bcc27fe6915999e5140103aed04a498d)) 1079 | 1080 | ## [1.4.15](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.14...v1.4.15) (2022-01-27) 1081 | 1082 | 1083 | ### Bug Fixes 1084 | 1085 | * remove margin 0 from options ([f8e454c](https://github.com/CoCreate-app/CoCreate-select/commit/f8e454ca3bd10bb5dedb0596c2430e9c5f2ecd94)) 1086 | 1087 | ## [1.4.14](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.13...v1.4.14) (2022-01-16) 1088 | 1089 | 1090 | ### Bug Fixes 1091 | 1092 | * update class overflow:overlay to overflow:auto ([0bc6e29](https://github.com/CoCreate-app/CoCreate-select/commit/0bc6e291d5c2affe44ec50d4da076ae831cd9a7a)) 1093 | 1094 | ## [1.4.13](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.12...v1.4.13) (2022-01-01) 1095 | 1096 | 1097 | ### Bug Fixes 1098 | 1099 | * get-value attribute value now supports a selector added # to all values currently in get-value attributes ([965ea9b](https://github.com/CoCreate-app/CoCreate-select/commit/965ea9bf976948b93a1af1776e82ec807a293ee6)) 1100 | 1101 | ## [1.4.12](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.11...v1.4.12) (2022-01-01) 1102 | 1103 | 1104 | ### Bug Fixes 1105 | 1106 | * removed data- from attributes ([07ebb09](https://github.com/CoCreate-app/CoCreate-select/commit/07ebb093fd7f7a3bdda59c26f48dee2b86766cb3)) 1107 | 1108 | ## [1.4.11](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.10...v1.4.11) (2021-12-15) 1109 | 1110 | 1111 | ### Bug Fixes 1112 | 1113 | * update dependencies ([2b57ded](https://github.com/CoCreate-app/CoCreate-select/commit/2b57dede958515da37356de4908e04c699418dd2)) 1114 | 1115 | ## [1.4.10](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.9...v1.4.10) (2021-12-14) 1116 | 1117 | 1118 | ### Bug Fixes 1119 | 1120 | * update dependencies ([f02e53f](https://github.com/CoCreate-app/CoCreate-select/commit/f02e53f9f615afc8c097bc049608884bf02d3e4c)) 1121 | 1122 | ## [1.4.9](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.8...v1.4.9) (2021-11-27) 1123 | 1124 | 1125 | ### Bug Fixes 1126 | 1127 | * update dependencies ([393a7fd](https://github.com/CoCreate-app/CoCreate-select/commit/393a7fdb698e0561ce5b1c436c40f9b8a52510aa)) 1128 | 1129 | ## [1.4.8](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.7...v1.4.8) (2021-11-27) 1130 | 1131 | 1132 | ### Bug Fixes 1133 | 1134 | * update dependencies ([8809ec2](https://github.com/CoCreate-app/CoCreate-select/commit/8809ec2c972b3925be40ec0a14214bc1f6912fdb)) 1135 | 1136 | ## [1.4.7](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.6...v1.4.7) (2021-11-27) 1137 | 1138 | 1139 | ### Bug Fixes 1140 | 1141 | * update docs api and cocreateJS script ([99b5f43](https://github.com/CoCreate-app/CoCreate-select/commit/99b5f438a6739f53f7444d0257b43313f4216de6)) 1142 | 1143 | ## [1.4.6](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.5...v1.4.6) (2021-11-26) 1144 | 1145 | 1146 | ### Bug Fixes 1147 | 1148 | * docs sidenav width ([5e57f2f](https://github.com/CoCreate-app/CoCreate-select/commit/5e57f2f19ec6616745c3f29f8d8f60b7e112dbaf)) 1149 | 1150 | ## [1.4.5](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.4...v1.4.5) (2021-11-26) 1151 | 1152 | 1153 | ### Bug Fixes 1154 | 1155 | * update dependencies ([344008f](https://github.com/CoCreate-app/CoCreate-select/commit/344008f3bc8cd8d313531c8f7f2a4bff5f26adb5)) 1156 | 1157 | ## [1.4.4](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.3...v1.4.4) (2021-11-23) 1158 | 1159 | 1160 | ### Bug Fixes 1161 | 1162 | * update dependencies ([29933f8](https://github.com/CoCreate-app/CoCreate-select/commit/29933f811ae6cab3ab08bb3d67a9485ae7364df4)) 1163 | 1164 | ## [1.4.3](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.2...v1.4.3) (2021-11-20) 1165 | 1166 | 1167 | ### Bug Fixes 1168 | 1169 | * upgrade @cocreate/crud-client ([a8fba88](https://github.com/CoCreate-app/CoCreate-select/commit/a8fba885a862ef321705baf77371b92334867e36)) 1170 | 1171 | ## [1.4.2](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.1...v1.4.2) (2021-11-20) 1172 | 1173 | 1174 | ### Bug Fixes 1175 | 1176 | * update dependencies ([56a4488](https://github.com/CoCreate-app/CoCreate-select/commit/56a44881262e75cd22884cd3257f1902fa6926cb)) 1177 | 1178 | ## [1.4.1](https://github.com/CoCreate-app/CoCreate-select/compare/v1.4.0...v1.4.1) (2021-11-19) 1179 | 1180 | 1181 | ### Bug Fixes 1182 | 1183 | * update dependencies ([aeced71](https://github.com/CoCreate-app/CoCreate-select/commit/aeced7162761c051eea79139a7c1d9d4f04d7d78)) 1184 | 1185 | # [1.4.0](https://github.com/CoCreate-app/CoCreate-select/compare/v1.3.11...v1.4.0) (2021-11-19) 1186 | 1187 | 1188 | ### Features 1189 | 1190 | * tags='true/false' if true enter will add value as selected option ([f7a3af4](https://github.com/CoCreate-app/CoCreate-select/commit/f7a3af40972c5eb6d70146555bc46917937317ec)) 1191 | 1192 | ## [1.3.11](https://github.com/CoCreate-app/CoCreate-select/compare/v1.3.10...v1.3.11) (2021-11-18) 1193 | 1194 | 1195 | ### Bug Fixes 1196 | 1197 | * update dependencies ([ee011b5](https://github.com/CoCreate-app/CoCreate-select/commit/ee011b5ca2f961e2de2f7766bc3daf075ce7e6e3)) 1198 | 1199 | ## [1.3.10](https://github.com/CoCreate-app/CoCreate-select/compare/v1.3.9...v1.3.10) (2021-11-17) 1200 | 1201 | 1202 | ### Bug Fixes 1203 | 1204 | * removed old version of getValue which applied as a string ([378a4e2](https://github.com/CoCreate-app/CoCreate-select/commit/378a4e21e97e0e0c48612eab4245a1fa80bc593b)) 1205 | 1206 | ## [1.3.9](https://github.com/CoCreate-app/CoCreate-select/compare/v1.3.8...v1.3.9) (2021-11-16) 1207 | 1208 | 1209 | ### Bug Fixes 1210 | 1211 | * update dependencies ([b1c26f8](https://github.com/CoCreate-app/CoCreate-select/commit/b1c26f894c9a43b3030500a70bd2067091889fb5)) 1212 | 1213 | ## [1.3.8](https://github.com/CoCreate-app/CoCreate-select/compare/v1.3.7...v1.3.8) (2021-11-15) 1214 | 1215 | 1216 | ### Bug Fixes 1217 | 1218 | * update dependencies ([98d93ec](https://github.com/CoCreate-app/CoCreate-select/commit/98d93ec86be3983e881c3eeacd33a6952b47c31c)) 1219 | 1220 | ## [1.3.7](https://github.com/CoCreate-app/CoCreate-select/compare/v1.3.6...v1.3.7) (2021-11-11) 1221 | 1222 | 1223 | ### Bug Fixes 1224 | 1225 | * update readme ([8d03716](https://github.com/CoCreate-app/CoCreate-select/commit/8d03716294a6d5e2af71ee32becae76b6ccabd5c)) 1226 | 1227 | ## [1.3.6](https://github.com/CoCreate-app/CoCreate-select/compare/v1.3.5...v1.3.6) (2021-11-07) 1228 | 1229 | 1230 | ### Bug Fixes 1231 | 1232 | * add init() directly above export default to fix bug in firefox ([011f316](https://github.com/CoCreate-app/CoCreate-select/commit/011f316b8caf1f1f2536a208bd55e10460be4330)) 1233 | 1234 | ## [1.3.5](https://github.com/CoCreate-app/CoCreate-select/compare/v1.3.4...v1.3.5) (2021-11-06) 1235 | 1236 | 1237 | ### Bug Fixes 1238 | 1239 | * update dependencies ([9cd4b45](https://github.com/CoCreate-app/CoCreate-select/commit/9cd4b45c7096df89d7fd252cf4a657c3c02cd58e)) 1240 | 1241 | ## [1.3.4](https://github.com/CoCreate-app/CoCreate-select/compare/v1.3.3...v1.3.4) (2021-11-04) 1242 | 1243 | 1244 | ### Bug Fixes 1245 | 1246 | * update dependencies ([4c27688](https://github.com/CoCreate-app/CoCreate-select/commit/4c2768821b8e9814680e3b0778162760b668831b)) 1247 | 1248 | ## [1.3.3](https://github.com/CoCreate-app/CoCreate-select/compare/v1.3.2...v1.3.3) (2021-11-04) 1249 | 1250 | 1251 | ### Bug Fixes 1252 | 1253 | * update packages ([83f50de](https://github.com/CoCreate-app/CoCreate-select/commit/83f50de6745aa59ed163fefd58efa3f5d54f0dd0)) 1254 | 1255 | ## [1.3.2](https://github.com/CoCreate-app/CoCreate-select/compare/v1.3.1...v1.3.2) (2021-11-04) 1256 | 1257 | 1258 | ### Bug Fixes 1259 | 1260 | * renamed getAlValues to getValue ([d3f3dc8](https://github.com/CoCreate-app/CoCreate-select/commit/d3f3dc8e8c00c0b361eb7c2b9413d440b50359fa)) 1261 | * selected option sometimes did not render ([702942d](https://github.com/CoCreate-app/CoCreate-select/commit/702942d6665f35f017fada77fdbe14f1edfe175c)) 1262 | 1263 | ## [1.3.1](https://github.com/CoCreate-app/CoCreate-select/compare/v1.3.0...v1.3.1) (2021-11-02) 1264 | 1265 | 1266 | ### Bug Fixes 1267 | 1268 | * removed @cocreate/form ([a87f5e6](https://github.com/CoCreate-app/CoCreate-select/commit/a87f5e61d6681f0781bbe93f59048569fd351d28)) 1269 | 1270 | # [1.3.0](https://github.com/CoCreate-app/CoCreate-select/compare/v1.2.2...v1.3.0) (2021-11-02) 1271 | 1272 | 1273 | ### Features 1274 | 1275 | * now adds setValue and getValue function to the element ([ee81868](https://github.com/CoCreate-app/CoCreate-select/commit/ee81868e35781f3f749da8ce8ff2c2795dcfdbc2)) 1276 | 1277 | ## [1.2.2](https://github.com/CoCreate-app/CoCreate-select/compare/v1.2.1...v1.2.2) (2021-11-01) 1278 | 1279 | 1280 | ### Bug Fixes 1281 | 1282 | * error was being thrown for querying options containing solved by using '' may cause an issue in the future ([516b527](https://github.com/CoCreate-app/CoCreate-select/commit/516b52770c5457451b96ed6f0e101ac625a6e980)) 1283 | 1284 | ## [1.2.1](https://github.com/CoCreate-app/CoCreate-select/compare/v1.2.0...v1.2.1) (2021-11-01) 1285 | 1286 | 1287 | ### Bug Fixes 1288 | 1289 | * update package dependencies ([d2ef825](https://github.com/CoCreate-app/CoCreate-select/commit/d2ef825ae7b10ed074f28e4a8eefa46a96fccf36)) 1290 | 1291 | # [1.2.0](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.40...v1.2.0) (2021-11-01) 1292 | 1293 | 1294 | ### Features 1295 | 1296 | * sets the value in the dom.element refrence as getValue all cocreate components are doing this making it a simple unified way to get an elements value regardless of the component ([b4c5ef8](https://github.com/CoCreate-app/CoCreate-select/commit/b4c5ef8d88c1cd9b3893d753c9762b2e94c32c34)) 1297 | 1298 | ## [1.1.40](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.39...v1.1.40) (2021-10-30) 1299 | 1300 | 1301 | ### Bug Fixes 1302 | 1303 | * loop when setting element.select ([95436b1](https://github.com/CoCreate-app/CoCreate-select/commit/95436b1a5f0965d31b1ea0dbedb064bbcb660a56)) 1304 | 1305 | ## [1.1.39](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.38...v1.1.39) (2021-10-29) 1306 | 1307 | 1308 | ### Bug Fixes 1309 | 1310 | * update dependencies ([3eaf376](https://github.com/CoCreate-app/CoCreate-select/commit/3eaf376b42bc79a3da9a0f9c3388ae68a01df211)) 1311 | 1312 | ## [1.1.38](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.37...v1.1.38) (2021-10-16) 1313 | 1314 | 1315 | ### Bug Fixes 1316 | 1317 | * update crud ([ddefcbe](https://github.com/CoCreate-app/CoCreate-select/commit/ddefcbeeaecdd83a16197b0548e07e58b2ca987d)) 1318 | 1319 | ## [1.1.37](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.36...v1.1.37) (2021-10-16) 1320 | 1321 | 1322 | ### Bug Fixes 1323 | 1324 | * updated dependency ([acaddb8](https://github.com/CoCreate-app/CoCreate-select/commit/acaddb8fed2fe0a154b3d1e7e50b3e3a3d712c35)) 1325 | 1326 | ## [1.1.36](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.35...v1.1.36) (2021-10-16) 1327 | 1328 | 1329 | ### Bug Fixes 1330 | 1331 | * update socket package to fix bug in docs ([6ed8bb0](https://github.com/CoCreate-app/CoCreate-select/commit/6ed8bb0f7db55d25ce472ccc915b0b9750e818e5)) 1332 | 1333 | ## [1.1.35](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.34...v1.1.35) (2021-10-15) 1334 | 1335 | 1336 | ### Bug Fixes 1337 | 1338 | * update dependencies ([67ba8df](https://github.com/CoCreate-app/CoCreate-select/commit/67ba8df812c59f28287ce8fb48e6044b5ec50f32)) 1339 | 1340 | ## [1.1.34](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.33...v1.1.34) (2021-10-15) 1341 | 1342 | 1343 | ### Bug Fixes 1344 | 1345 | * update dependencies ([8d33cd4](https://github.com/CoCreate-app/CoCreate-select/commit/8d33cd4a579192f8edd5a691c66f71307c3dbceb)) 1346 | * update dependencies ([1b08e9e](https://github.com/CoCreate-app/CoCreate-select/commit/1b08e9e30bc7b83e8479a863cadc9083414359d7)) 1347 | 1348 | ## [1.1.33](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.32...v1.1.33) (2021-10-15) 1349 | 1350 | 1351 | ### Bug Fixes 1352 | 1353 | * update packages ([a9666e9](https://github.com/CoCreate-app/CoCreate-select/commit/a9666e96e82cb03557919529223e575919486139)) 1354 | 1355 | ## [1.1.32](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.31...v1.1.32) (2021-10-15) 1356 | 1357 | 1358 | ### Bug Fixes 1359 | 1360 | * update packages ([d8934e6](https://github.com/CoCreate-app/CoCreate-select/commit/d8934e6c678e0efd16939105ea5b76f09344a4bc)) 1361 | * updated dependencies ([10176ee](https://github.com/CoCreate-app/CoCreate-select/commit/10176eef4ea37e591fce4f4f84a7cab4037baf71)) 1362 | 1363 | ## [1.1.31](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.30...v1.1.31) (2021-10-13) 1364 | 1365 | 1366 | ### Bug Fixes 1367 | 1368 | * update descriptions ([5734319](https://github.com/CoCreate-app/CoCreate-select/commit/57343198a2f6989a71474e60c096a29ed4e35b3b)) 1369 | 1370 | ## [1.1.30](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.29...v1.1.30) (2021-10-13) 1371 | 1372 | 1373 | ### Bug Fixes 1374 | 1375 | * update dependencies ([eddf4a9](https://github.com/CoCreate-app/CoCreate-select/commit/eddf4a9b18507a938fd2c95ed05375e35fc5c5d3)) 1376 | 1377 | ## [1.1.29](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.28...v1.1.29) (2021-10-09) 1378 | 1379 | 1380 | ### Bug Fixes 1381 | 1382 | * remove unused import ([1af3f53](https://github.com/CoCreate-app/CoCreate-select/commit/1af3f53c7d4af6968b32cc146db8761b05838b21)) 1383 | 1384 | ## [1.1.28](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.27...v1.1.28) (2021-10-09) 1385 | 1386 | 1387 | ### Bug Fixes 1388 | 1389 | * solved issue of rendering values ([f6cdd6b](https://github.com/CoCreate-app/CoCreate-select/commit/f6cdd6ba8a9675c4fb079810d37953054c543a3f)) 1390 | * use template to create option adds collection and document_id ([614c258](https://github.com/CoCreate-app/CoCreate-select/commit/614c258a813f77435c6506210234d3b6b0085a79)) 1391 | 1392 | ## [1.1.27](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.26...v1.1.27) (2021-10-06) 1393 | 1394 | 1395 | ### Bug Fixes 1396 | 1397 | * update dependencies ([7bea86a](https://github.com/CoCreate-app/CoCreate-select/commit/7bea86a8420cda532deb4942bc85bd3091fea3fe)) 1398 | 1399 | ## [1.1.26](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.25...v1.1.26) (2021-10-05) 1400 | 1401 | 1402 | ### Bug Fixes 1403 | 1404 | * update dependencies ([78904dc](https://github.com/CoCreate-app/CoCreate-select/commit/78904dc9cbe231e00efa6a2e6df279c183ebaeac)) 1405 | * website_id in CoCreate.config ([985deb7](https://github.com/CoCreate-app/CoCreate-select/commit/985deb71e7dd40349c3e3dcfc200a84784ff2099)) 1406 | 1407 | ## [1.1.25](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.24...v1.1.25) (2021-10-04) 1408 | 1409 | 1410 | ### Bug Fixes 1411 | 1412 | * update dependencies ([a3f486b](https://github.com/CoCreate-app/CoCreate-select/commit/a3f486b98537d2b6bcc05737fc435d9991a28429)) 1413 | 1414 | ## [1.1.24](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.23...v1.1.24) (2021-10-04) 1415 | 1416 | 1417 | ### Bug Fixes 1418 | 1419 | * update dependencies ([99d74e1](https://github.com/CoCreate-app/CoCreate-select/commit/99d74e11893249f061f7fa5c4e928053d53952cb)) 1420 | 1421 | ## [1.1.23](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.22...v1.1.23) (2021-10-01) 1422 | 1423 | 1424 | ### Bug Fixes 1425 | 1426 | * update packages ([ca66f1b](https://github.com/CoCreate-app/CoCreate-select/commit/ca66f1b86a7a6c530681c9009b309e84a608de4d)) 1427 | 1428 | ## [1.1.22](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.21...v1.1.22) (2021-10-01) 1429 | 1430 | 1431 | ### Bug Fixes 1432 | 1433 | * update dependencies ([5ab5a4b](https://github.com/CoCreate-app/CoCreate-select/commit/5ab5a4ba021479a0ba3a385fe9dbc8af8d8da841)) 1434 | 1435 | ## [1.1.21](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.20...v1.1.21) (2021-09-28) 1436 | 1437 | 1438 | ### Bug Fixes 1439 | 1440 | * update dependencies ([e045f92](https://github.com/CoCreate-app/CoCreate-select/commit/e045f92936e378ad18e1b5ac4be639db06a4664d)) 1441 | 1442 | ## [1.1.20](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.19...v1.1.20) (2021-09-16) 1443 | 1444 | 1445 | ### Bug Fixes 1446 | 1447 | * update dependencies ([ec0d218](https://github.com/CoCreate-app/CoCreate-select/commit/ec0d2188918e2ad6042452ed04032616a3a99cef)) 1448 | 1449 | ## [1.1.19](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.18...v1.1.19) (2021-09-14) 1450 | 1451 | 1452 | ### Bug Fixes 1453 | 1454 | * add cocreate.app to domains ([21a104f](https://github.com/CoCreate-app/CoCreate-select/commit/21a104f97ea9b3beec49fabb309becdbb300c902)) 1455 | 1456 | ## [1.1.18](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.17...v1.1.18) (2021-09-13) 1457 | 1458 | 1459 | ### Bug Fixes 1460 | 1461 | * upgrade dependencies ([d0fea1d](https://github.com/CoCreate-app/CoCreate-select/commit/d0fea1d430bddc6463369b940f12f2ba47454536)) 1462 | 1463 | ## [1.1.17](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.16...v1.1.17) (2021-09-12) 1464 | 1465 | 1466 | ### Bug Fixes 1467 | 1468 | * update sidenav to use resize and toggle ([90e1f78](https://github.com/CoCreate-app/CoCreate-select/commit/90e1f78ed0f7e1a6a776b9c9a9d6377cb8ba628e)) 1469 | 1470 | ## [1.1.16](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.15...v1.1.16) (2021-09-09) 1471 | 1472 | 1473 | ### Bug Fixes 1474 | 1475 | * update dependency @cocreate/docs ([eb6b9f8](https://github.com/CoCreate-app/CoCreate-select/commit/eb6b9f8ce20799f7f124560112d7c13c20d49f27)) 1476 | 1477 | ## [1.1.15](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.14...v1.1.15) (2021-09-09) 1478 | 1479 | 1480 | ### Bug Fixes 1481 | 1482 | * ci docs ([a837bfb](https://github.com/CoCreate-app/CoCreate-select/commit/a837bfbaae5befbe005b5f36d9b1a5fe847cd87c)) 1483 | 1484 | ## [1.1.14](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.13...v1.1.14) (2021-09-09) 1485 | 1486 | 1487 | ### Bug Fixes 1488 | 1489 | * update dependencies ([45d6fc6](https://github.com/CoCreate-app/CoCreate-select/commit/45d6fc6499e3afb9db0125e09428964dca14c0fe)) 1490 | 1491 | ## [1.1.13](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.12...v1.1.13) (2021-09-09) 1492 | 1493 | 1494 | ### Bug Fixes 1495 | 1496 | * CoCreate.config directory, path, name and public ([2843000](https://github.com/CoCreate-app/CoCreate-select/commit/2843000651c1ff55794a4ba7c2dc47fffc89a400)) 1497 | 1498 | ## [1.1.12](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.11...v1.1.12) (2021-09-08) 1499 | 1500 | 1501 | ### Bug Fixes 1502 | 1503 | * update dependencies ([58d4a73](https://github.com/CoCreate-app/CoCreate-select/commit/58d4a73c82b3db3b0b825ac0a09fa663580f46d9)) 1504 | 1505 | ## [1.1.11](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.10...v1.1.11) (2021-09-04) 1506 | 1507 | 1508 | ### Bug Fixes 1509 | 1510 | * update dependencies ([376f2ea](https://github.com/CoCreate-app/CoCreate-select/commit/376f2eac34429bfa82fef3ba470c42b59dcdb945)) 1511 | 1512 | ## [1.1.10](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.9...v1.1.10) (2021-08-31) 1513 | 1514 | 1515 | ### Bug Fixes 1516 | 1517 | * update dependencies ([7d677d1](https://github.com/CoCreate-app/CoCreate-select/commit/7d677d123632a85cadb25244700a3e3787bf32f4)) 1518 | 1519 | ## [1.1.9](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.8...v1.1.9) (2021-08-27) 1520 | 1521 | 1522 | ### Bug Fixes 1523 | 1524 | * updaed dependencies ([4ef0a9d](https://github.com/CoCreate-app/CoCreate-select/commit/4ef0a9d8024d86250dfae275a5f2f42db09571b3)) 1525 | 1526 | ## [1.1.8](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.7...v1.1.8) (2021-08-23) 1527 | 1528 | 1529 | ### Bug Fixes 1530 | 1531 | * update package versions ([32bfe3d](https://github.com/CoCreate-app/CoCreate-select/commit/32bfe3db6f91af9a5e172c4a2f2e979f8656f059)) 1532 | 1533 | ## [1.1.7](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.6...v1.1.7) (2021-08-22) 1534 | 1535 | 1536 | ### Bug Fixes 1537 | 1538 | * removed data- from main-content, clone, filter-value_type ([555490d](https://github.com/CoCreate-app/CoCreate-select/commit/555490d0045e2e75556faf1b9da2ffffe70d42c1)) 1539 | 1540 | ## [1.1.6](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.5...v1.1.6) (2021-08-22) 1541 | 1542 | 1543 | ### Bug Fixes 1544 | 1545 | * bump dependancy package versions ([c2e3eaf](https://github.com/CoCreate-app/CoCreate-select/commit/c2e3eaffc6726aa4f52ccc53a5a756db8603377a)) 1546 | 1547 | ## [1.1.5](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.4...v1.1.5) (2021-08-22) 1548 | 1549 | 1550 | ### Bug Fixes 1551 | 1552 | * bump package versions ([e4761fb](https://github.com/CoCreate-app/CoCreate-select/commit/e4761fba428824aad3ddc17eae9a2d978ae764ab)) 1553 | 1554 | ## [1.1.4](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.3...v1.1.4) (2021-08-18) 1555 | 1556 | 1557 | ### Bug Fixes 1558 | 1559 | * refactor crud.save() ([f84424f](https://github.com/CoCreate-app/CoCreate-select/commit/f84424fceb58d0a1023e7d1bc24133350c9856bb)) 1560 | 1561 | ## [1.1.3](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.2...v1.1.3) (2021-08-14) 1562 | 1563 | 1564 | ### Bug Fixes 1565 | 1566 | * if realtime false dont save on change ([ea47640](https://github.com/CoCreate-app/CoCreate-select/commit/ea4764088d671f71bdd57bd9d39d881432ace7dc)) 1567 | * rename data-element_id to element_id ([6d4ccf3](https://github.com/CoCreate-app/CoCreate-select/commit/6d4ccf31302418bfb6944564d5ff6c759c66f118)) 1568 | 1569 | ## [1.1.2](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.1...v1.1.2) (2021-08-02) 1570 | 1571 | 1572 | ### Bug Fixes 1573 | 1574 | * add attribute observer ([97eefd0](https://github.com/CoCreate-app/CoCreate-select/commit/97eefd053d733a80c418496aea99e0bf0b49e82f)) 1575 | 1576 | ## [1.1.1](https://github.com/CoCreate-app/CoCreate-select/compare/v1.1.0...v1.1.1) (2021-08-02) 1577 | 1578 | 1579 | ### Bug Fixes 1580 | 1581 | * remove data- from attributes ([1efb525](https://github.com/CoCreate-app/CoCreate-select/commit/1efb5250c490908e0a49d35a8ff4e08e3caa25ff)) 1582 | * remove data- from fetch, pass and filter ([323a93c](https://github.com/CoCreate-app/CoCreate-select/commit/323a93cf674a102bfe081fa4030d1c778baeb713)) 1583 | * update data-fullscreen to fullscreen ([b3f502b](https://github.com/CoCreate-app/CoCreate-select/commit/b3f502b4b2fc14cf23c0e113bf6ee18847c8d8c3)) 1584 | 1585 | # [1.1.0](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.28...v1.1.0) (2021-07-28) 1586 | 1587 | 1588 | ### Bug Fixes 1589 | 1590 | * update form.init ([3f94e98](https://github.com/CoCreate-app/CoCreate-select/commit/3f94e9825946c3561bf84133b8e77b466eafb395)) 1591 | 1592 | 1593 | ### Features 1594 | 1595 | * add new is{attribute} system and remove data- from attributtes ([1d8c0f5](https://github.com/CoCreate-app/CoCreate-select/commit/1d8c0f5137848d1e5e164a9ff600149beb2b87cc)) 1596 | 1597 | ## [1.0.28](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.27...v1.0.28) (2021-07-24) 1598 | 1599 | 1600 | ### Bug Fixes 1601 | 1602 | * if crud return null - return function ([c45934f](https://github.com/CoCreate-app/CoCreate-select/commit/c45934fa65e37025ad77dacebeb989b71d2c605c)) 1603 | 1604 | ## [1.0.27](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.26...v1.0.27) (2021-07-17) 1605 | 1606 | 1607 | ### Bug Fixes 1608 | 1609 | * init and update demos scripts ([0796f38](https://github.com/CoCreate-app/CoCreate-select/commit/0796f38bf6b7a8818d2964390dda086d59062f9e)) 1610 | * workflows ([9b7bdd6](https://github.com/CoCreate-app/CoCreate-select/commit/9b7bdd6de457485b87d4833cf97f26b71d38e00f)) 1611 | 1612 | ## [1.0.26](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.25...v1.0.26) (2021-07-14) 1613 | 1614 | 1615 | ### Bug Fixes 1616 | 1617 | * upgrade all packages ([fd8fe58](https://github.com/CoCreate-app/CoCreate-select/commit/fd8fe5847005e52259df7a0852e40a69b00775ed)) 1618 | 1619 | ## [1.0.25](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.24...v1.0.25) (2021-07-13) 1620 | 1621 | 1622 | ### Bug Fixes 1623 | 1624 | * add yarn lockfile to git ignore ([b999716](https://github.com/CoCreate-app/CoCreate-select/commit/b999716cb2f3f8cd5693a6028efcd4d9e7cae6e5)) 1625 | * remove yarn.lock ([91e4ba1](https://github.com/CoCreate-app/CoCreate-select/commit/91e4ba1815fffc6a2201a386cf817899bc61ff15)) 1626 | 1627 | ## [1.0.24](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.23...v1.0.24) (2021-07-13) 1628 | 1629 | 1630 | ### Bug Fixes 1631 | 1632 | * background color of options ([46ed4b2](https://github.com/CoCreate-app/CoCreate-select/commit/46ed4b28a4b0ad7e66e121537f462be42473c091)) 1633 | 1634 | ## [1.0.23](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.22...v1.0.23) (2021-07-10) 1635 | 1636 | 1637 | ### Bug Fixes 1638 | 1639 | * gitignore all logs ([7673456](https://github.com/CoCreate-app/CoCreate-select/commit/7673456afc220abb2cef022d951237577236a90c)) 1640 | 1641 | ## [1.0.22](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.21...v1.0.22) (2021-07-09) 1642 | 1643 | 1644 | ### Bug Fixes 1645 | 1646 | * add active when an option is selected ([2eb086e](https://github.com/CoCreate-app/CoCreate-select/commit/2eb086e22998f68ff9dc74d86537c26f52615b9e)) 1647 | 1648 | ## [1.0.21](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.20...v1.0.21) (2021-07-07) 1649 | 1650 | 1651 | ### Bug Fixes 1652 | 1653 | * update package versions ([009d5f3](https://github.com/CoCreate-app/CoCreate-select/commit/009d5f313789df70b9b704975a756d97ab9cda8d)) 1654 | 1655 | ## [1.0.20](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.19...v1.0.20) (2021-06-30) 1656 | 1657 | 1658 | ### Bug Fixes 1659 | 1660 | * Update readme.md ([982cccb](https://github.com/CoCreate-app/CoCreate-select/commit/982cccb7ae606bfe6aafdc8cecca17b97255f88f)) 1661 | 1662 | ## [1.0.19](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.18...v1.0.19) (2021-06-30) 1663 | 1664 | 1665 | ### Bug Fixes 1666 | 1667 | * automated and manual workflows ([8804703](https://github.com/CoCreate-app/CoCreate-select/commit/88047039b7cf2ceda6068b0672a80b83552bffa1)) 1668 | 1669 | ## [1.0.18](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.17...v1.0.18) (2021-06-25) 1670 | 1671 | 1672 | ### Bug Fixes 1673 | 1674 | * latest version numbers applied to all cocreate packages ([973844b](https://github.com/CoCreate-app/CoCreate-select/commit/973844b3dc98e679b8f175be075ff65731ee27f4)) 1675 | 1676 | ## [1.0.17](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.16...v1.0.17) (2021-06-24) 1677 | 1678 | 1679 | ### Bug Fixes 1680 | 1681 | * package versioningto 1.0.0 ([a639e8b](https://github.com/CoCreate-app/CoCreate-select/commit/a639e8be77bd7fc96bf5c0bb5e642e7156959780)) 1682 | 1683 | ## [1.0.16](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.15...v1.0.16) (2021-06-24) 1684 | 1685 | 1686 | ### Bug Fixes 1687 | 1688 | * update all [@cocreate](https://github.com/cocreate) to use latest versions ([e0d215b](https://github.com/CoCreate-app/CoCreate-select/commit/e0d215bf26110b7025b8064ae845c00cfbda4934)) 1689 | 1690 | ## [1.0.15](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.14...v1.0.15) (2021-06-23) 1691 | 1692 | 1693 | ### Bug Fixes 1694 | 1695 | * render values using isflat:flase ([89dc3df](https://github.com/CoCreate-app/CoCreate-select/commit/89dc3df4759bdaa604a690545b8c0b53facdb876)) 1696 | 1697 | ## [1.0.14](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.13...v1.0.14) (2021-06-23) 1698 | 1699 | 1700 | ### Bug Fixes 1701 | 1702 | * update to new crud.save and crud.read ([992352c](https://github.com/CoCreate-app/CoCreate-select/commit/992352cb3227f1df0cc69aefa69da5d2527f7085)) 1703 | 1704 | ## [1.0.13](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.12...v1.0.13) (2021-06-06) 1705 | 1706 | 1707 | ### Bug Fixes 1708 | 1709 | * add message client ([5bf536b](https://github.com/CoCreate-app/CoCreate-select/commit/5bf536bae4e683df721e4f13875802e5f4ce930f)) 1710 | 1711 | ## [1.0.12](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.11...v1.0.12) (2021-06-06) 1712 | 1713 | 1714 | ### Bug Fixes 1715 | 1716 | * Add send message for collaboration when crud not used ([8c16027](https://github.com/CoCreate-app/CoCreate-select/commit/8c16027a811ae0f1b3cfcb8d3576717389e705a8)) 1717 | 1718 | ## [1.0.11](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.10...v1.0.11) (2021-05-23) 1719 | 1720 | 1721 | ### Bug Fixes 1722 | 1723 | * add css auto parse and save to docs. ([6214900](https://github.com/CoCreate-app/CoCreate-select/commit/62149001b8e85faceac265ad20ab18369b1fb5a6)) 1724 | * check if element found on click ([170560c](https://github.com/CoCreate-app/CoCreate-select/commit/170560c90350f4f94eca0a88e490cec7b915348a)) 1725 | * exception ([4b25474](https://github.com/CoCreate-app/CoCreate-select/commit/4b25474b8b3846d8ef5d46089de1f9f2673e8f6a)) 1726 | * fix if condition for selecting and option or not on click ([393184d](https://github.com/CoCreate-app/CoCreate-select/commit/393184d6b6d36489239979d8694d7318233b2767)) 1727 | * mistype ([0aa1a86](https://github.com/CoCreate-app/CoCreate-select/commit/0aa1a869b2c31e29492f8840545107d8134c3938)) 1728 | * refactor ([7d2c0cf](https://github.com/CoCreate-app/CoCreate-select/commit/7d2c0cfece8c42d58f38aae543f3d58f44c0fa5d)) 1729 | * remove all options container; define getOptions ([34ec621](https://github.com/CoCreate-app/CoCreate-select/commit/34ec62117e83e281f9e58d7e481ca8b338e41164)) 1730 | * remove un-prototype functions from class ([38d769e](https://github.com/CoCreate-app/CoCreate-select/commit/38d769e1f41c625119faf9bab0b9d994caa46a54)) 1731 | * use unselectOption on backspace ([fb60064](https://github.com/CoCreate-app/CoCreate-select/commit/fb600641462f3f8238335e188238e5ebff1ef7c0)) 1732 | 1733 | ## [1.0.10](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.9...v1.0.10) (2021-04-27) 1734 | 1735 | 1736 | ### Bug Fixes 1737 | 1738 | * add host in docs ([b013022](https://github.com/CoCreate-app/CoCreate-select/commit/b0130227a1a1477e3023cb527a3fe16fb156f170)) 1739 | 1740 | ## [1.0.9](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.8...v1.0.9) (2021-04-27) 1741 | 1742 | 1743 | ### Bug Fixes 1744 | 1745 | * Update to readme, demo, added cdn scripts ([4f5964f](https://github.com/CoCreate-app/CoCreate-select/commit/4f5964f0327ce0937bc27a9474910c39d07ca868)) 1746 | 1747 | ## [1.0.8](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.7...v1.0.8) (2021-04-23) 1748 | 1749 | 1750 | ### Bug Fixes 1751 | 1752 | * readme and documentation. Removed securitykeys ([9586c0a](https://github.com/CoCreate-app/CoCreate-select/commit/9586c0a837d5aa1f58c641add450716400919b54)) 1753 | 1754 | ## [1.0.7](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.6...v1.0.7) (2021-04-19) 1755 | 1756 | 1757 | ### Bug Fixes 1758 | 1759 | * add missing packages ([d796f0d](https://github.com/CoCreate-app/CoCreate-select/commit/d796f0d23c883e3ab95762ffac1aabbdbf9ab1e4)) 1760 | 1761 | ## [1.0.6](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.5...v1.0.6) (2021-04-19) 1762 | 1763 | 1764 | ### Bug Fixes 1765 | 1766 | * ci and build process ([9dff7d2](https://github.com/CoCreate-app/CoCreate-select/commit/9dff7d2742efca21b963383746ef712d88a81230)) 1767 | * npm publish and cdn deployment ([2f2e332](https://github.com/CoCreate-app/CoCreate-select/commit/2f2e3328095dd366a9b4c164406371d211028728)) 1768 | 1769 | ## [1.0.5](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.4...v1.0.5) (2021-04-16) 1770 | 1771 | 1772 | ### Bug Fixes 1773 | 1774 | * update to add actve on select element when focused ([ed3ceec](https://github.com/CoCreate-app/CoCreate-select/commit/ed3ceec7116f4f40e73c57fe995ca4f68bbac644)) 1775 | 1776 | ## [1.0.4](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.3...v1.0.4) (2021-04-04) 1777 | 1778 | 1779 | ### Bug Fixes 1780 | 1781 | * update socket to socket-lient and crud to crud client" ([8544f48](https://github.com/CoCreate-app/CoCreate-select/commit/8544f48217200ba8afbafbb01a944bbd267ff99e)) 1782 | 1783 | ## [1.0.3](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.2...v1.0.3) (2021-03-30) 1784 | 1785 | 1786 | ### Bug Fixes 1787 | 1788 | * import paths using npm ([f94ead6](https://github.com/CoCreate-app/CoCreate-select/commit/f94ead64852bed12c7a56165bed687a2e0840c57)) 1789 | 1790 | ## [1.0.2](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.1...v1.0.2) (2021-03-30) 1791 | 1792 | 1793 | ### Bug Fixes 1794 | 1795 | * cocreatejs from npm ([4e65ed2](https://github.com/CoCreate-app/CoCreate-select/commit/4e65ed263a3ad0ef137c9f5023aec075df15da91)) 1796 | 1797 | ## [1.0.1](https://github.com/CoCreate-app/CoCreate-select/compare/v1.0.0...v1.0.1) (2021-03-29) 1798 | 1799 | 1800 | ### Bug Fixes 1801 | 1802 | * Package Paths ([0b470f0](https://github.com/CoCreate-app/CoCreate-select/commit/0b470f0fbf90b5fe7ae0f720c0b92e7121c30148)) 1803 | 1804 | # 1.0.0 (2021-03-26) 1805 | 1806 | 1807 | ### Features 1808 | 1809 | * Initial Release ([0bb6eb2](https://github.com/CoCreate-app/CoCreate-select/commit/0bb6eb23f922d6e31b04fa6fc4446db00fe9a7d6)) 1810 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to CoCreate-select 2 | 3 | This project is work of [many contributors](https://github.com/CoCreate-app/CoCreate-select/graphs/contributors). 4 | You're encouraged to submit [pull requests](https://github.com/CoCreate-app/CoCreate-select/pulls), 5 | [propose features and discuss issues](https://github.com/CoCreate-app/CoCreate-select/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-select) and check out your copy. 12 | 13 | ``` 14 | git select https://github.com/contributor/CoCreate-select.git 15 | cd CoCreate-select 16 | git remote add upstream https://github.com/CoCreate-app/CoCreate-select.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-select](https://github.com/CoCreate-app/CoCreate-select) 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": "601328e186c0ba24512cca3a", 10 | "name": "index.html", 11 | "path": "/docs/select", 12 | "pathname": "/docs/select/index.html", 13 | "src": "{{./docs/index.html}}", 14 | "host": [ 15 | "*" 16 | ], 17 | "directory": "select", 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-select 2 | 3 | A simple select component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/select) 4 | 5 | ![minified](https://img.badgesize.io/https://cdn.cocreate.app/select/latest/CoCreate-select.min.js?style=flat-square&label=minified&color=orange) 6 | ![gzip](https://img.badgesize.io/https://cdn.cocreate.app/select/latest/CoCreate-select.min.js?compression=gzip&style=flat-square&label=gzip&color=yellow) 7 | ![brotli](https://img.badgesize.io/https://cdn.cocreate.app/select/latest/CoCreate-select.min.js?compression=brotli&style=flat-square&label=brotli) 8 | ![GitHub latest release](https://img.shields.io/github/v/release/CoCreate-app/CoCreate-select?style=flat-square) 9 | ![License](https://img.shields.io/github/license/CoCreate-app/CoCreate-select?style=flat-square) 10 | ![Hiring](https://img.shields.io/static/v1?style=flat-square&label=&message=Hiring&color=blueviolet) 11 | 12 | ![CoCreate-select](https://cdn.cocreate.app/docs/CoCreate-select.gif) 13 | 14 | ## [Docs & Demo](https://cocreate.app/docs/select) 15 | 16 | For a complete guide and working demo refer to the [doumentation](https://cocreate.app/docs/select) 17 | 18 | ## CDN 19 | 20 | ```html 21 | 22 | ``` 23 | 24 | ```html 25 | 26 | ``` 27 | 28 | ## NPM 29 | 30 | ```shell 31 | $ npm i @cocreate/select 32 | ``` 33 | 34 | ## yarn 35 | 36 | ```shell 37 | $ yarn install @cocreate/select 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-select/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-select/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-select/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-select/pulls). We would love to hear your feedback. 60 | 61 | 62 | 63 | # About 64 | 65 | CoCreate-select 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-select 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-select/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-select/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-select/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-select/blob/master/LICENSE) 86 | -------------------------------------------------------------------------------- /demo/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Select | CoCreateJS 5 | 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 23 | 28 | 29 |
30 | 37 | 41 | 46 | 52 |

{{object.name}}

53 |
{{object._id}}
54 |
55 |
56 |
57 | 58 | 66 | 67 | option 1 68 | option 2 69 | 70 | 71 | 80 | 81 | 82 | option 1 83 | option 2 84 | 85 | 86 | 95 | 96 | 97 | 98 | option 1 99 | option 2 100 | 101 | 102 |
103 | 104 | 105 | 106 | 107 | 108 | -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | CoCreate-select Documentation | CoCreateJS 8 | 13 | 16 | 19 | 20 | 23 | 24 | 25 | 26 | 33 | 34 | 35 | 36 | 37 | 45 | 52 | 56 |
57 |
58 |
62 |
64 |
65 |

CoCreate-select

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

115 | Used to build fascinating select html elements 116 |

117 |
118 |
120 |
126 | 130 |

Install

131 | 136 |
137 |
138 |
npm i @cocreate/select
139 |

140 | Or you can use cdn link: 141 |

142 |
<script>https://cdn.cocreate.app/select/latest/CoCreate-select.min.js</script>
143 | 144 |
150 | 154 |

usage

155 | 160 |
161 |
162 |
163 |

164 | This is select usage 165 |

166 | 167 |
168 |
169 |                                 
170 | ------------ Single Options ------------
171 | <cocreate-select class="sortable floating-label" 
172 |   key="selectField4" 
173 |   placeholder="Single Options">
174 |   <input class="option-search" placeholder="Search">
175 |   <ul class="options  overflow:auto">
176 | 		<li class="option"  value="value 1">
177 | 		  <h3 >value 1</h3>
178 | 		</li>
179 | 		<li class="option"  value="value 2">
180 | 		  <h3 >value 2</h3>
181 | 		</li>
182 | 		<li class="option"  value="value 3">
183 | 		  <h3 >sss</h3>
184 | 		</li>
185 | 		<li class="option"  value="value 3">
186 | 		  <h3 >value 3</h3>
187 | 		</li>
188 |   </ul>
189 | </cocreate-select>
190 | 
191 | ------------ Fetch array _id ------------
192 | 
193 | <cocreate-select class="sortable floating-label" 
194 |   key="selectField6" array="test" 
195 |   object="5e8ff00e8c3af32574df80cb"  
196 |   placeholder="Fetch array _id" 
197 |   data-limit_option="3" multiple>
198 |   <input class="option-search" placeholder="Search" template_id="tempplate6">
199 |   <ul array="test" 
200 |     object="5e8ff00e8c3af32574df80cb" 
201 |     key="selectField1" 
202 |     id="array02"
203 |     state_to="me1234" 
204 |     class="options overflow:auto">
205 |     <li class="option" state_id="me1234">
206 |       <h3 array="users" object="" key="name" state_id="me1234" >Organization Name</h3>
207 |       <h5 array="users" object="" key="_id" state_id="me1234" >id</h5>
208 |     </li>
209 |   </ul>
210 | </cocreate-select>
211 |                                 
212 |                             
213 |
214 |

215 | This is select usage 216 |

217 |
218 |

220 | Attributes ul into select 221 |

222 |
    223 |
  • 225 |

    226 | array 227 | string 230 | required 233 |

    234 |

    array in db

    235 |
  • 236 |
  • 238 |

    239 | object 240 | string 243 | required 246 |

    247 |

    id in db

    248 |
  • 249 |
  • 251 |

    252 | name 253 | string 256 | required 259 |

    260 |

    attribute in array in ours db

    261 |
  • 262 |
  • 264 |

    265 | state_to 266 | string 269 | required 272 |

    273 |

    Template to render response

    274 |
  • 275 |
276 |
277 | 278 |
280 | 281 |
287 | 291 |

Demo

292 | 297 |
298 |
299 |
301 | 302 |
305 |
309 | 321 |
324 |
325 | 326 |
329 |
330 |
331 | 332 |
334 | 345 | 355 | 362 | 372 | 376 |
377 |
378 | 379 |
380 |
381 |
382 | 388 |
389 | 390 | 391 | 392 | 393 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@cocreate/select", 3 | "version": "1.17.4", 4 | "description": "A simple select component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.", 5 | "keywords": [ 6 | "select", 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-select.git" 35 | }, 36 | "author": "CoCreate LLC", 37 | "license": "MIT", 38 | "bugs": { 39 | "url": "https://github.com/CoCreate-app/CoCreate-select/issues" 40 | }, 41 | "homepage": "https://cocreate.app/docs/select", 42 | "funding": { 43 | "type": "GitHub Sponsors ❤", 44 | "url": "https://github.com/sponsors/CoCreate-app" 45 | }, 46 | "main": "./src/index.js", 47 | "devDependencies": { 48 | "css-loader": "^5.1.3", 49 | "esbuild": "^0.25.2", 50 | "esbuild-loader": "^4.3.0", 51 | "mini-css-extract-plugin": "^1.5.0", 52 | "webpack": "^5.24.4", 53 | "webpack-cli": "^4.5.0", 54 | "webpack-log": "^3.0.1" 55 | }, 56 | "dependencies": { 57 | "@cocreate/observer": "^1.18.1", 58 | "@cocreate/utils": "^1.39.0" 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | tabWidth: 4, 3 | semi: true, 4 | trailingComma: "none", 5 | bracketSameLine: true, 6 | useTabs: true, 7 | overrides: [ 8 | { 9 | files: ["*.json", "*.yml", "*.yaml"], 10 | options: { 11 | tabWidth: 2, 12 | useTabs: false 13 | }, 14 | } 15 | ], 16 | }; -------------------------------------------------------------------------------- /release.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | dryRun: false, 3 | branches: ["master"], 4 | plugins: [ 5 | "@semantic-release/commit-analyzer", 6 | "@semantic-release/release-notes-generator", 7 | [ 8 | "@semantic-release/changelog", 9 | { 10 | changelogFile: "CHANGELOG.md", 11 | }, 12 | ], 13 | "@semantic-release/npm", 14 | "@semantic-release/github", 15 | [ 16 | "@semantic-release/git", 17 | { 18 | assets: ["CHANGELOG.md", "package.json"], 19 | }, 20 | ], 21 | ], 22 | }; -------------------------------------------------------------------------------- /src/config.js: -------------------------------------------------------------------------------- 1 | // options 2 | export const containerSelector = 'cocreate-select, div.select--field'; 3 | 4 | export const inputSelector = 'input'; 5 | export const selectedTagName = "selected"; 6 | export const optionsSelector = '*'; 7 | 8 | // anything matches optionSelector considered as option even if not the same as optionTagName 9 | export const optionSelector = "cc-option"; 10 | 11 | // new options created according this tag name 12 | export const optionTagName = "cc-option"; 13 | 14 | export const removeMarkup = 'x' 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- 1 | .hidden { 2 | display: none; 3 | } 4 | /** cc-option mean any element considered as an option */ 5 | 6 | /* hide selected cc-option */ 7 | cocreate-select > input ~ * *[selected] { 8 | display: none; 9 | } 10 | /* hide level 0 cc-option */ 11 | cocreate-select:not(.open) > input ~ * { 12 | display: none; 13 | } 14 | cocreate-select.open selected:not(:empty) { 15 | margin-bottom: 10px; 16 | } 17 | 18 | cocreate-select { 19 | display: flex; 20 | flex-wrap: wrap; 21 | overflow: hidden; 22 | min-height: 24px; 23 | border: 1px solid #ddd; 24 | border-radius: 4px; 25 | padding: 2px; 26 | } 27 | 28 | cocreate-select[multiple] { 29 | padding: 2px; 30 | padding-bottom: 6px; 31 | } 32 | 33 | cocreate-select selected { 34 | display: flex; 35 | width: 100%; 36 | flex-wrap: wrap; 37 | } 38 | cocreate-select[multiple] selected { 39 | display: flex; 40 | width: auto; 41 | } 42 | 43 | cocreate-select selected cc-option { 44 | /*display:block;*/ 45 | position: relative; 46 | align-items: center; 47 | cursor: pointer; 48 | padding: 0px 8px; 49 | background: #dcdcdc; 50 | width: 100%; 51 | margin: 0px 6px; 52 | overflow: hidden; 53 | } 54 | 55 | cocreate-select[multiple] selected cc-option { 56 | margin: 6px 0px 0px 6px; 57 | border-radius: 5px; 58 | width: auto; 59 | } 60 | cocreate-select[multiple] selected cc-option:last-child { 61 | margin-right: 20px !important; 62 | } 63 | 64 | cocreate-select selected cc-option .remove { 65 | display: inline-block; 66 | position: absolute; 67 | /*top: 7px;*/ 68 | right: 15px; 69 | margin-left: 0; 70 | width: 0; 71 | transition: 0.2s all; 72 | overflow: hidden; 73 | } 74 | 75 | cocreate-select selected cc-option:hover .remove { 76 | margin-left: 10px; 77 | width: 10px; 78 | } 79 | 80 | cocreate-select.remove-none selected cc-option:hover .remove { 81 | display: none; 82 | } 83 | 84 | cocreate-select[multiple] selected cc-option .remove { 85 | position: unset; 86 | } 87 | 88 | cocreate-select input { 89 | border: 0; 90 | outline: 0; 91 | min-height: 30px; 92 | width: 100%; 93 | padding: 5px; 94 | background: inherit; 95 | display: none; 96 | } 97 | 98 | cocreate-select[multiple] input { 99 | width: auto; 100 | } 101 | 102 | cocreate-select.open input { 103 | display: inherit; 104 | } 105 | 106 | cc-option, 107 | .option { 108 | display: flex; 109 | width: 100%; 110 | position: relative; 111 | background: whitesmoke; 112 | padding: 1px 5px; 113 | } 114 | /*cc-option:hover {*/ 115 | /* background: #eee;*/ 116 | /*}*/ 117 | /* Dropdown */ 118 | cc-options, 119 | .options { 120 | flex-direction: column; 121 | max-height: 0; 122 | width: 100%; 123 | position: relative; 124 | overflow: auto; 125 | list-style: none; 126 | padding: 0px 5px 0px 5px; 127 | -moz-transform: scaleY(0); 128 | -ms-transform: scaleY(0); 129 | -webkit-transform: scaleY(0); 130 | transform: scaleY(0); 131 | -moz-transform-origin: 50% 0%; 132 | -ms-transform-origin: 50% 0%; 133 | -webkit-transform-origin: 50% 0%; 134 | transform-origin: 50% 0%; 135 | -moz-transition: max-height 0.6s ease-out; 136 | -o-transition: max-height 0.6s ease-out; 137 | -webkit-transition: max-height 0.6s ease-out; 138 | transition: max-height 0.6s ease-out; 139 | animation: hideAnimation 0.4s ease-out; 140 | -moz-animation: hideAnimation 0.4s ease-out; 141 | -webkit-animation: hideAnimation 0.4s ease-out; 142 | } 143 | 144 | cocreate-select.open .options, 145 | cocreate-select.open cc-options { 146 | max-height: 250px; 147 | -moz-transform: scaleY(1); 148 | -ms-transform: scaleY(1); 149 | -webkit-transform: scaleY(1); 150 | transform: scaleY(1); 151 | animation: showAnimation 0.5s ease-in-out; 152 | -moz-animation: showAnimation 0.5s ease-in-out; 153 | -webkit-animation: showAnimation 0.5s ease-in-out; 154 | -moz-transition: max-height 0.5s ease-in-out; 155 | -o-transition: max-height 0.5s ease-in-out; 156 | -webkit-transition: max-height 0.5s ease-in-out; 157 | transition: max-height 0.5s ease-in-out; 158 | } 159 | 160 | @keyframes showAnimation { 161 | 0% { 162 | -moz-transform: scaleY(0.1); 163 | -ms-transform: scaleY(0.1); 164 | -webkit-transform: scaleY(0.1); 165 | transform: scaleY(0.1); 166 | } 167 | 40% { 168 | -moz-transform: scaleY(1.04); 169 | -ms-transform: scaleY(1.04); 170 | -webkit-transform: scaleY(1.04); 171 | transform: scaleY(1.04); 172 | } 173 | 60% { 174 | -moz-transform: scaleY(0.98); 175 | -ms-transform: scaleY(0.98); 176 | -webkit-transform: scaleY(0.98); 177 | transform: scaleY(0.98); 178 | } 179 | 80% { 180 | -moz-transform: scaleY(1.04); 181 | -ms-transform: scaleY(1.04); 182 | -webkit-transform: scaleY(1.04); 183 | transform: scaleY(1.04); 184 | } 185 | 100% { 186 | -moz-transform: scaleY(0.98); 187 | -ms-transform: scaleY(0.98); 188 | -webkit-transform: scaleY(0.98); 189 | transform: scaleY(0.98); 190 | } 191 | 80% { 192 | -moz-transform: scaleY(1.02); 193 | -ms-transform: scaleY(1.02); 194 | -webkit-transform: scaleY(1.02); 195 | transform: scaleY(1.02); 196 | } 197 | 100% { 198 | -moz-transform: scaleY(1); 199 | -ms-transform: scaleY(1); 200 | -webkit-transform: scaleY(1); 201 | transform: scaleY(1); 202 | } 203 | } 204 | 205 | @-moz-keyframes showAnimation { 206 | 0% { 207 | -moz-transform: scaleY(0.1); 208 | -ms-transform: scaleY(0.1); 209 | -webkit-transform: scaleY(0.1); 210 | transform: scaleY(0.1); 211 | } 212 | 40% { 213 | -moz-transform: scaleY(1.04); 214 | -ms-transform: scaleY(1.04); 215 | -webkit-transform: scaleY(1.04); 216 | transform: scaleY(1.04); 217 | } 218 | 60% { 219 | -moz-transform: scaleY(0.98); 220 | -ms-transform: scaleY(0.98); 221 | -webkit-transform: scaleY(0.98); 222 | transform: scaleY(0.98); 223 | } 224 | 80% { 225 | -moz-transform: scaleY(1.04); 226 | -ms-transform: scaleY(1.04); 227 | -webkit-transform: scaleY(1.04); 228 | transform: scaleY(1.04); 229 | } 230 | 100% { 231 | -moz-transform: scaleY(0.98); 232 | -ms-transform: scaleY(0.98); 233 | -webkit-transform: scaleY(0.98); 234 | transform: scaleY(0.98); 235 | } 236 | 80% { 237 | -moz-transform: scaleY(1.02); 238 | -ms-transform: scaleY(1.02); 239 | -webkit-transform: scaleY(1.02); 240 | transform: scaleY(1.02); 241 | } 242 | 100% { 243 | -moz-transform: scaleY(1); 244 | -ms-transform: scaleY(1); 245 | -webkit-transform: scaleY(1); 246 | transform: scaleY(1); 247 | } 248 | } 249 | 250 | @-webkit-keyframes showAnimation { 251 | 0% { 252 | -moz-transform: scaleY(0.1); 253 | -ms-transform: scaleY(0.1); 254 | -webkit-transform: scaleY(0.1); 255 | transform: scaleY(0.1); 256 | } 257 | 40% { 258 | -moz-transform: scaleY(1.04); 259 | -ms-transform: scaleY(1.04); 260 | -webkit-transform: scaleY(1.04); 261 | transform: scaleY(1.04); 262 | } 263 | 60% { 264 | -moz-transform: scaleY(0.98); 265 | -ms-transform: scaleY(0.98); 266 | -webkit-transform: scaleY(0.98); 267 | transform: scaleY(0.98); 268 | } 269 | 80% { 270 | -moz-transform: scaleY(1.04); 271 | -ms-transform: scaleY(1.04); 272 | -webkit-transform: scaleY(1.04); 273 | transform: scaleY(1.04); 274 | } 275 | 100% { 276 | -moz-transform: scaleY(0.98); 277 | -ms-transform: scaleY(0.98); 278 | -webkit-transform: scaleY(0.98); 279 | transform: scaleY(0.98); 280 | } 281 | 80% { 282 | -moz-transform: scaleY(1.02); 283 | -ms-transform: scaleY(1.02); 284 | -webkit-transform: scaleY(1.02); 285 | transform: scaleY(1.02); 286 | } 287 | 100% { 288 | -moz-transform: scaleY(1); 289 | -ms-transform: scaleY(1); 290 | -webkit-transform: scaleY(1); 291 | transform: scaleY(1); 292 | } 293 | } 294 | 295 | @keyframes hideAnimation { 296 | 0% { 297 | -moz-transform: scaleY(1); 298 | -ms-transform: scaleY(1); 299 | -webkit-transform: scaleY(1); 300 | transform: scaleY(1); 301 | } 302 | 60% { 303 | -moz-transform: scaleY(0.98); 304 | -ms-transform: scaleY(0.98); 305 | -webkit-transform: scaleY(0.98); 306 | transform: scaleY(0.98); 307 | } 308 | 80% { 309 | -moz-transform: scaleY(1.02); 310 | -ms-transform: scaleY(1.02); 311 | -webkit-transform: scaleY(1.02); 312 | transform: scaleY(1.02); 313 | } 314 | 100% { 315 | -moz-transform: scaleY(0); 316 | -ms-transform: scaleY(0); 317 | -webkit-transform: scaleY(0); 318 | transform: scaleY(0); 319 | } 320 | } 321 | 322 | @-moz-keyframes hideAnimation { 323 | 0% { 324 | -moz-transform: scaleY(1); 325 | -ms-transform: scaleY(1); 326 | -webkit-transform: scaleY(1); 327 | transform: scaleY(1); 328 | } 329 | 60% { 330 | -moz-transform: scaleY(0.98); 331 | -ms-transform: scaleY(0.98); 332 | -webkit-transform: scaleY(0.98); 333 | transform: scaleY(0.98); 334 | } 335 | 80% { 336 | -moz-transform: scaleY(1.02); 337 | -ms-transform: scaleY(1.02); 338 | -webkit-transform: scaleY(1.02); 339 | transform: scaleY(1.02); 340 | } 341 | 100% { 342 | -moz-transform: scaleY(0); 343 | -ms-transform: scaleY(0); 344 | -webkit-transform: scaleY(0); 345 | transform: scaleY(0); 346 | } 347 | } 348 | 349 | @-webkit-keyframes hideAnimation { 350 | 0% { 351 | -moz-transform: scaleY(1); 352 | -ms-transform: scaleY(1); 353 | -webkit-transform: scaleY(1); 354 | transform: scaleY(1); 355 | } 356 | 60% { 357 | -moz-transform: scaleY(0.98); 358 | -ms-transform: scaleY(0.98); 359 | -webkit-transform: scaleY(0.98); 360 | transform: scaleY(0.98); 361 | } 362 | 80% { 363 | -moz-transform: scaleY(1.02); 364 | -ms-transform: scaleY(1.02); 365 | -webkit-transform: scaleY(1.02); 366 | transform: scaleY(1.02); 367 | } 368 | 100% { 369 | -moz-transform: scaleY(0); 370 | -ms-transform: scaleY(0); 371 | -webkit-transform: scaleY(0); 372 | transform: scaleY(0); 373 | } 374 | } 375 | 376 | /* Dropdown End*/ 377 | 378 | @media (prefers-color-scheme: dark) { 379 | cocreate-select selected cc-option { 380 | background: #333; 381 | } 382 | cc-option, 383 | .option { 384 | background: #333; 385 | } 386 | } 387 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | import CoCreateSelect from "./select.js"; 2 | import observer from "@cocreate/observer"; 3 | import { getAttributeNames } from "@cocreate/utils"; 4 | import { containerSelector } from "./config"; 5 | import "./index.css"; 6 | 7 | function init() { 8 | let elements = document.querySelectorAll(containerSelector); 9 | initElements(elements); 10 | } 11 | 12 | function initElements(elements) { 13 | for (let element of elements) initElement(element); 14 | } 15 | 16 | function initElement(element) { 17 | CoCreateSelect.init(element); 18 | } 19 | 20 | // SelectAdapter.init(); 21 | // CoCreateSelect.adapter = SelectAdapter; 22 | 23 | observer.init({ 24 | key: "CoCreateSelectAttributes", 25 | types: ["attributes"], 26 | attributeFilter: getAttributeNames(["array", "object", "key"]), 27 | selector: "cocreate-select", 28 | callback: function (mutation) { 29 | CoCreateSelect.init(mutation.target); 30 | } 31 | }); 32 | 33 | observer.init({ 34 | name: "CoCreateSelect", 35 | types: ["addedNodes"], 36 | selector: "cocreate-select", 37 | callback: function (mutation) { 38 | CoCreateSelect.init(mutation.target); 39 | } 40 | }); 41 | 42 | // observer.init({ 43 | // name: 'CoCreateSelect', 44 | // types: ['childList'], 45 | // target: 'cc-option', 46 | // callback: function(mutation) { 47 | // CoCreateSelect.init(mutation.target) 48 | // } 49 | // }) 50 | 51 | init(); 52 | 53 | export * from "./select"; 54 | export default CoCreateSelect; 55 | -------------------------------------------------------------------------------- /src/optionsAtt.js: -------------------------------------------------------------------------------- 1 | import { container } from './select'; 2 | import * as config from './config'; 3 | export default function(cond) { 4 | Object.defineProperty(window.HTMLElement.prototype, 'options', { 5 | get: function() { 6 | if (cond(this) && container.has(this)) { 7 | let instance = container.get(this); 8 | return instance.getOptions(); 9 | } 10 | }, 11 | }) 12 | } 13 | -------------------------------------------------------------------------------- /src/select.js: -------------------------------------------------------------------------------- 1 | /*global CustomEvent*/ 2 | import selectedAtt from "./selectedAtt"; 3 | import optionsAtt from "./optionsAtt"; 4 | import selectedOptionsAtt from "./selectedOptionsAtt"; 5 | import selectedIndexAtt from "./selectedIndexAtt"; 6 | import { parse, addAttribute } from "./utils"; 7 | import { 8 | containerSelector, 9 | inputSelector, 10 | optionsSelector, 11 | optionSelector, 12 | optionTagName, 13 | selectedTagName, 14 | removeMarkup 15 | } from "./config"; 16 | 17 | selectedAtt((el) => { 18 | return el.matches( 19 | `${optionsSelector} > ${optionSelector}, ${addAttribute( 20 | containerSelector, 21 | ">" + optionSelector 22 | )}` 23 | ); 24 | }); 25 | 26 | optionsAtt((el) => el.matches(containerSelector)); 27 | selectedOptionsAtt((el) => el.matches(containerSelector)); 28 | selectedIndexAtt((el) => el.matches(containerSelector)); 29 | 30 | export const container = new Map(); 31 | export const optionToSelected = new Map(); 32 | export const selectedToOption = new Map(); 33 | const removeElement = parse(removeMarkup); 34 | 35 | document.addEventListener("dndsuccess", function (e) { 36 | const { droppedEl, draggedEl } = e.detail; 37 | if (droppedEl.matches(containerSelector)) { 38 | container.get(droppedEl).__fireSelectedEvent({ 39 | selectContainer: droppedEl 40 | }); 41 | } 42 | }); 43 | 44 | document.addEventListener("input", function (e) { 45 | // let { key, object, isRealtime } = getAttributes(e.target); 46 | if (e.target.matches(containerSelector)) { 47 | // if (object === 'null') 48 | // messageClient.send({ 49 | // broadcastSender: false, 50 | // rooms: "", 51 | // message: "select", 52 | // data: { 53 | // key, 54 | // values: e.target.getValue() 55 | // } 56 | // }); 57 | // else if (isRealtime && isRealtime !== "false" && e.target.save) 58 | if (e.target.save) e.target.save(); 59 | } 60 | }); 61 | 62 | // messageClient.listen('select', function (response) { 63 | // let data = response.data 64 | // let { key, values } = data; 65 | // let select = document.querySelector(`[key="${key}"]`); 66 | 67 | // if (!select || !container.has(select)) return; 68 | // let instance = container.get(select); 69 | // instance.unselectAll(false) 70 | // values.forEach(value => instance.selectOption(value, true, value, false)) 71 | 72 | // }) 73 | 74 | document.addEventListener("click", function (e) { 75 | let target = e.target; 76 | // let isOpened; 77 | //TODO: 78 | // go up until you reach containerSelector or add same function to every element matches containerSelector: this way click event buble up and whenever 79 | // the difference is the first one little ram improve and second one a little cpu improve 80 | // and check if it's in container 81 | // also save last open element to close 82 | for (let [el, instance] of container) { 83 | if (el.contains(target)) { 84 | if (target.matches(".remove")) 85 | instance.unselectOption(target.parentNode); 86 | else if ( 87 | el.classList.contains("open") && 88 | target.tagName !== "INPUT" 89 | ) 90 | instance.close(); 91 | else instance.open(); 92 | } else if (el.classList.contains("open")) instance.close(); 93 | } 94 | }); 95 | 96 | function CoCreateSelect(c) { 97 | this.init(c); 98 | } 99 | 100 | CoCreateSelect.prototype = { 101 | isMultiple: function () { 102 | return this.selectContainer.hasAttribute("multiple") ? true : false; 103 | }, 104 | 105 | init: function (selectContainer) { 106 | if (container.has(selectContainer)) return; 107 | 108 | this.selectContainer = selectContainer; 109 | 110 | this.selectedContainer = selectContainer.querySelector( 111 | `:scope > ${selectedTagName}` 112 | ); 113 | if (!this.selectedContainer) { 114 | this.selectedContainer = document.createElement(selectedTagName); 115 | selectContainer.prepend(this.selectedContainer); 116 | } 117 | this.input = selectContainer.querySelector( 118 | ` :scope > ${inputSelector}` 119 | ); 120 | 121 | for (let option of this.getOptions()) 122 | if (option.hasAttribute("selected")) this.selectOption(option); 123 | 124 | const self = this; 125 | 126 | if (this.input) { 127 | this.input.addEventListener("keydown", function (e) { 128 | let keyCode = e.keyCode; 129 | if (keyCode == 13) { 130 | e.preventDefault(); 131 | } 132 | let tags = this.getAttribute("tags"); 133 | if (tags == "true" && keyCode == 13 && this.value.length > 0) { 134 | self.selectOption(this.value); 135 | 136 | this.value = ""; 137 | } else if (keyCode == 8 && !this.value.length) { 138 | let selectedContainer = self.selectedContainer.children; 139 | if (!selectedContainer.length) return; 140 | let option = selectedToOption.get( 141 | selectedContainer[selectedContainer.length - 1] 142 | ); 143 | self.unselectOption(option); 144 | } 145 | }); 146 | } 147 | 148 | this.selectContainer.addEventListener("click", function (e) { 149 | let el = e.target; 150 | 151 | while (!el.matches(optionSelector)) { 152 | el = el.parentElement; 153 | if (!el) return; 154 | } 155 | // if it's a real option and not a selected option also not a text option 156 | if (!selectedToOption.has(el) && !optionToSelected.has(el)) 157 | self.selectOption(el, true); 158 | }); 159 | 160 | container.set(selectContainer, this); 161 | selectContainer.select = this; 162 | if (selectContainer.read) selectContainer.read(); 163 | 164 | selectContainer.getValue = () => { 165 | let element = this.selectContainer; 166 | let value = Array.from(element.selectedOptions).map((selOption) => 167 | selectedToOption.has(selOption) 168 | ? selectedToOption.get(selOption).getAttribute("value") 169 | : "" 170 | ); 171 | if (value.length <= 1) value = value.length <= 1 ? value[0] : value; 172 | value = value ? value : ""; 173 | return value; 174 | }; 175 | 176 | selectContainer.setValue = (value) => { 177 | let element = this.selectContainer; 178 | let instance = container.get(element); 179 | if (Array.isArray(value)) 180 | value.forEach((option) => instance.selectOption(option)); 181 | else if (value) instance.selectOption(value); 182 | else instance.unselectAll(false); 183 | }; 184 | }, 185 | 186 | open: function () { 187 | this.selectContainer.classList.add("open"); 188 | if (this.input) this.input.focus(); 189 | this.selectContainer.dispatchEvent( 190 | new CustomEvent("CoCreateSelect-open") 191 | ); 192 | }, 193 | 194 | close: function () { 195 | if (this.input) this.input.value = ""; 196 | this.selectContainer.classList.remove("open"); 197 | if (!this.selectedContainer.children.length) 198 | this.selectContainer.classList.remove("active"); 199 | this.selectContainer.dispatchEvent( 200 | new CustomEvent("CoCreateSelect-close") 201 | ); 202 | }, 203 | 204 | // setValue: function(option, closeOnMultiple = true, innerText, doEvent = true) { 205 | // return this.selectOption(option, closeOnMultiple = true, innerText, doEvent = true); 206 | // }, 207 | // getValue: function(option, closeOnMultiple = true, innerText, doEvent = true) { 208 | // return this.selectOption(option, closeOnMultiple = true, innerText, doEvent = true); 209 | // }, 210 | getOptions: function () { 211 | return this.selectContainer.querySelectorAll(optionSelector); 212 | }, 213 | 214 | unselectAll: function (domEvent) { 215 | if (this.selectedContainer.children.length) 216 | for (let el of this.selectedContainer.children) 217 | if (selectedToOption.has(el)) 218 | this.unselectOption(selectedToOption.get(el), false); 219 | domEvent && this.__fireSelectedEvent({ unselectOption: "all" }); 220 | }, 221 | 222 | getOptionCounterpart: function (optionStr) { 223 | return this.selectContainer.querySelector( 224 | `${optionSelector.trim()}[value='${optionStr}']` 225 | ); 226 | }, 227 | 228 | isSelected: function (optionsStr) { 229 | return this.selectedContainer.querySelector(`[value='${optionsStr}']`); 230 | }, 231 | 232 | validateSelect: function () { 233 | if (this.isMultiple()) { 234 | let limit = this.selectContainer.getAttribute("data-limit_option"); 235 | if (limit && this.selectedContainer.children.length >= limit) 236 | return console.warn("limit for select is reached"); 237 | } else if (this.selectedContainer.children.length) this.unselectAll(); 238 | }, 239 | 240 | selectOption: function ( 241 | option, 242 | closeOnMultiple = true, 243 | innerText, 244 | doEvent = true 245 | ) { 246 | if (!option) return; 247 | let selectedOption, value; 248 | if (typeof option == "string") { 249 | if (this.isSelected(option)) return; 250 | this.validateSelect(); 251 | 252 | let optionC = this.getOptionCounterpart(option); 253 | if (optionC) 254 | return this.selectOption( 255 | optionC, 256 | closeOnMultiple, 257 | innerText, 258 | doEvent 259 | ); 260 | else if (option.match(/^[0-9a-fA-F]{24}$/)) { 261 | let template = this.selectContainer.querySelector( 262 | ".template, [template]" 263 | ); 264 | let optionsContainer = 265 | this.selectContainer.querySelector("[array]"); 266 | let optionsCollection = optionsContainer.getAttribute("array"); 267 | 268 | if (template) { 269 | selectedOption = template.cloneNode(true); 270 | selectedOption.setAttribute("value", option); 271 | selectedOption.classList.remove("template"); 272 | selectedOption.removeAttribute("template"); 273 | } 274 | 275 | if (!selectedOption) return; 276 | 277 | let els = selectedOption.querySelectorAll("[object]"); 278 | for (let el of els) { 279 | el.setAttribute("object", option); 280 | let array = el.getAttribute("array"); 281 | if (array == "{{object.array}}") { 282 | el.setAttribute("array", optionsCollection); 283 | } 284 | } 285 | } else { 286 | selectedOption = document.createElement(optionTagName); 287 | selectedOption.setAttribute("value", option); 288 | selectedOption.innerText = innerText ? innerText : option; 289 | } 290 | // TODO: when an option is not found. just use option itself and remvove these lines 291 | value = option; 292 | optionToSelected.set(selectedOption, selectedOption); 293 | selectedToOption.set(selectedOption, selectedOption); 294 | this.selectContainer.classList.add("active"); 295 | } else if (option instanceof Element && option.nodeType == 1) { 296 | value = option.getAttribute("value"); 297 | if (this.isSelected(value)) return; 298 | this.validateSelect(); 299 | 300 | selectedOption = option.cloneNode(true); 301 | option.setAttribute("selected", ""); 302 | optionToSelected.set(option, selectedOption); 303 | selectedToOption.set(selectedOption, option); 304 | this.selectContainer.classList.add("active"); 305 | } else { 306 | value = JSON.stringify(option); 307 | 308 | if (this.isSelected(value)) return; 309 | let template = this.selectContainer.querySelector( 310 | ".template, [template]" 311 | ); 312 | if (template) { 313 | selectedOption = template.cloneNode(true); 314 | selectedOption.classList.remove("template"); 315 | selectedOption.removeAttribute("template"); 316 | // if (!type) 317 | // let type = "data"; // get fetch name 318 | // let renderId; // if render_id 319 | // type = type || "data"; 320 | // type = renderId ? `${renderId}.${type}` : type; 321 | // if (!selectedOption.getAttribute('render')) { 322 | // selectedOption.setAttribute('render', type); 323 | // } 324 | // if (!selectedOption.getAttribute('render-key') && renderId) { 325 | // selectedOption.setAttribute('render-key', renderId); 326 | // } 327 | 328 | if (value) { 329 | value = decodeURIComponent(value); 330 | let opt = this.selectContainer.querySelector( 331 | `[value='${value}']` 332 | ); 333 | if (opt) opt.setAttribute("selected", ""); 334 | // selectedOption.setAttribute('value', value); 335 | } 336 | 337 | CoCreate.render.render({ 338 | elements: [selectedOption], 339 | data: { data: option } 340 | }); 341 | 342 | optionToSelected.set(selectedOption, selectedOption); 343 | selectedToOption.set(selectedOption, selectedOption); 344 | this.selectContainer.classList.add("active"); 345 | } 346 | } 347 | 348 | selectedOption.appendChild(removeElement.cloneNode(true)); 349 | 350 | this.selectedContainer.appendChild(selectedOption); 351 | doEvent && this.__fireSelectedEvent({ unselectOption: value }); 352 | }, 353 | /** 354 | * unselect a cc-select option 355 | * 356 | * @param [HTMLElement|String] option the element to unselect or a string with value attribute, 357 | * if it's an element, the element should be from where cc-options container 358 | * 359 | * @return undefined 360 | * */ 361 | unselectOption: function (option, doEvent = true) { 362 | let value; 363 | if (typeof option == "string") value = option; 364 | else { 365 | if (selectedToOption.has(option)) 366 | option = selectedToOption.get(option); 367 | option.removeAttribute("selected"); 368 | value = option.getAttribute("value"); 369 | } 370 | value = decodeURIComponent(value); 371 | let selectedOption = this.selectedContainer.querySelector( 372 | `[value='${value}']` 373 | ); 374 | if (selectedOption) { 375 | optionToSelected.delete(option); 376 | selectedToOption.delete(selectedOption); 377 | selectedOption.remove(); 378 | doEvent && this.__fireSelectedEvent({ unselectOption: value }); 379 | } 380 | }, 381 | 382 | // for crdt and outsider cal 383 | __fireSelectedEvent: function (detail) { 384 | let event = new CustomEvent("input", { 385 | bubbles: true, 386 | detail 387 | }); 388 | Object.defineProperty(event, "target", { 389 | writable: false, 390 | value: this.selectContainer 391 | }); 392 | this.selectContainer.dispatchEvent(event); 393 | 394 | let changeEvent = new CustomEvent("change", { 395 | bubbles: true, 396 | detail 397 | }); 398 | Object.defineProperty(changeEvent, "target", { 399 | writable: false, 400 | value: this.selectContainer 401 | }); 402 | this.selectContainer.dispatchEvent(changeEvent); 403 | } 404 | }; 405 | 406 | export default { init: (el) => new CoCreateSelect(el) }; 407 | -------------------------------------------------------------------------------- /src/selectedAtt.js: -------------------------------------------------------------------------------- 1 | import {getInstance} from './utils'; 2 | export default function(cond) { 3 | Object.defineProperty(window.HTMLElement.prototype, 'selected', { 4 | get: function() { 5 | if (cond(this)) 6 | return this.hasAttribute('selected'); 7 | }, 8 | set: function(value) { 9 | if (cond(this)) { 10 | 11 | let instance = getInstance(this); 12 | if (value) { 13 | this.setAttribute('selected', '') 14 | instance.selectOption(this, false) 15 | } 16 | else { 17 | this.removeAttribute('selected') 18 | instance.unselectOption(this) 19 | 20 | } 21 | } 22 | } 23 | }) 24 | } 25 | -------------------------------------------------------------------------------- /src/selectedIndexAtt.js: -------------------------------------------------------------------------------- 1 | import { getInstance } from './utils'; 2 | import { selectedToOption } from './select'; 3 | 4 | export default function(cond) { 5 | Object.defineProperty(window.HTMLElement.prototype, 'selectedIndex', { 6 | get: function() { 7 | if (cond(this)) { 8 | let instance = getInstance(this); 9 | let children = instance.selectedContainer.children; 10 | if (children.length) { 11 | let optionEl = selectedToOption.get(children[0]); 12 | return Array.prototype.indexOf.call(instance.getOptions(), optionEl); 13 | } 14 | return -1; 15 | } 16 | 17 | }, 18 | set: function(value) { 19 | if (cond(this)) { 20 | let instance = getInstance(this); 21 | if (isFinite(value)) { 22 | let option = instance.getOptions()[value]; 23 | instance.selectOption(option, false); 24 | } 25 | } 26 | } 27 | }) 28 | } 29 | -------------------------------------------------------------------------------- /src/selectedOptionsAtt.js: -------------------------------------------------------------------------------- 1 | import {container} from './select'; 2 | 3 | export default function(cond) { 4 | Object.defineProperty(window.HTMLElement.prototype, 'selectedOptions', { 5 | get: function() { 6 | if (cond(this) && container.has(this)) 7 | return container.get(this).selectedContainer.children; 8 | }, 9 | }) 10 | } 11 | -------------------------------------------------------------------------------- /src/utils.js: -------------------------------------------------------------------------------- 1 | import { container } from './select'; 2 | import * as config from './config'; 3 | 4 | export function parse(text) { 5 | let doc = new DOMParser().parseFromString(text, "text/html"); 6 | if (doc.head.children[0]) return doc.head.children[0]; 7 | else return doc.body.children[0]; 8 | } 9 | 10 | export function addAttribute(containerSelector, att) { 11 | return containerSelector.split(',').map(s => s.trim() + att).join(', ') 12 | } 13 | 14 | export function getInstance(el) { 15 | let select = el; 16 | while (select.parentElement && !select.matches(config.containerSelector)) { 17 | select = select.parentElement; 18 | } 19 | 20 | return container.get(select); 21 | } -------------------------------------------------------------------------------- /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-select": "./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", "select"], 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 | --------------------------------------------------------------------------------