├── .github
├── FUNDING.yml
└── workflows
│ ├── automated.yml
│ └── manual.yml
├── .gitignore
├── CHANGELOG.md
├── CONTRIBUTING.md
├── CoCreate.config.js
├── LICENSE
├── README.md
├── demo
├── iframe.html
└── index.html
├── docs
└── index.html
├── package.json
├── prettier.config.js
├── release.config.js
├── src
├── common.js
└── index.js
└── webpack.config.js
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: CoCreate-app
4 |
--------------------------------------------------------------------------------
/.github/workflows/automated.yml:
--------------------------------------------------------------------------------
1 | name: Automated Workflow
2 | on:
3 | push:
4 | branches:
5 | - master
6 | jobs:
7 | about:
8 | runs-on: ubuntu-latest
9 | steps:
10 | - name: Checkout
11 | uses: actions/checkout@v3
12 | - name: Setup Node.js
13 | uses: actions/setup-node@v3
14 | with:
15 | node-version: 16
16 | - name: Jaid/action-sync-node-meta
17 | uses: jaid/action-sync-node-meta@v1.4.0
18 | with:
19 | direction: overwrite-github
20 | githubToken: "${{ secrets.GITHUB }}"
21 | release:
22 | runs-on: ubuntu-latest
23 | steps:
24 | - name: Checkout
25 | uses: actions/checkout@v3
26 | - name: Setup Node.js
27 | uses: actions/setup-node@v3
28 | with:
29 | node-version: 14
30 | - name: Semantic Release
31 | uses: cycjimmy/semantic-release-action@v3
32 | id: semantic
33 | with:
34 | extra_plugins: |
35 | @semantic-release/changelog
36 | @semantic-release/git
37 | @semantic-release/github
38 | env:
39 | GITHUB_TOKEN: "${{ secrets.GITHUB }}"
40 | NPM_TOKEN: "${{ secrets.NPM_TOKEN }}"
41 | outputs:
42 | new_release_published: "${{ steps.semantic.outputs.new_release_published }}"
43 | new_release_version: "${{ steps.semantic.outputs.new_release_version }}"
44 |
45 |
--------------------------------------------------------------------------------
/.github/workflows/manual.yml:
--------------------------------------------------------------------------------
1 | name: Manual Workflow
2 | on:
3 | workflow_dispatch:
4 | inputs:
5 | invalidations:
6 | description: |
7 | If set to 'true', invalidates previous upload.
8 | default: "true"
9 | required: true
10 |
11 | jobs:
12 | cdn:
13 | runs-on: ubuntu-latest
14 | env:
15 | DRY_RUN: ${{ github.event.inputs.dry_run }}
16 | GITHUB_TOKEN: "${{ secrets.GITHUB }}"
17 | NPM_TOKEN: "${{ secrets.NPM_TOKEN }}"
18 |
19 | steps:
20 | - name: Checkout
21 | uses: actions/checkout@v3
22 | - name: setup nodejs
23 | uses: actions/setup-node@v3
24 | with:
25 | node-version: 16
26 | - name: yarn install
27 | run: >
28 | echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >
29 | .npmrc
30 |
31 | yarn install
32 | - name: yarn build
33 | run: yarn build
34 | - name: upload latest bundle
35 | uses: CoCreate-app/CoCreate-s3@master
36 | with:
37 | aws-key-id: "${{ secrets.AWSACCESSKEYID }}"
38 | aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}"
39 | distributionId: "${{ secrets.DISTRIBUTION_ID }}"
40 | bucket: testcrudbucket
41 | source: ./dist
42 | destination: /attributes/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.15.3](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.15.2...v1.15.3) (2025-05-01)
2 |
3 |
4 | ### Bug Fixes
5 |
6 | * update [@cocreate](https://github.com/cocreate) dependencies ([d073f34](https://github.com/CoCreate-app/CoCreate-attributes/commit/d073f3466d7ca450db122016c7094f7d3700480e))
7 |
8 | ## [1.15.2](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.15.1...v1.15.2) (2025-04-30)
9 |
10 |
11 | ### Bug Fixes
12 |
13 | * added css-loader ([2842f6b](https://github.com/CoCreate-app/CoCreate-attributes/commit/2842f6b72af283c70021a626935ff1cbe07084d0))
14 | * update query attributes ([e45555c](https://github.com/CoCreate-app/CoCreate-attributes/commit/e45555c5c90011fde6f38d1be8c583dc903dcf67))
15 | * updated cocreate modules versions ([4cc5075](https://github.com/CoCreate-app/CoCreate-attributes/commit/4cc5075300a7a14b80d6a7e33f5c31d49ce77d45))
16 | * webpack.config and devdependencies ([cbd8918](https://github.com/CoCreate-app/CoCreate-attributes/commit/cbd8918d557a8090e27806b9cd3c09c11c4fdeee))
17 |
18 | ## [1.15.1](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.15.0...v1.15.1) (2025-04-11)
19 |
20 |
21 | ### Bug Fixes
22 |
23 | * dispatch end event on action element rather than document ([0b63805](https://github.com/CoCreate-app/CoCreate-attributes/commit/0b63805c9832d40143bd84a5c6ab80937d6f4988))
24 | * update observer obseve parame to type and and attribute name to attributeFilter ([cebf76d](https://github.com/CoCreate-app/CoCreate-attributes/commit/cebf76d10a6a911112bd3605924b6a2c27eadc14))
25 |
26 | # [1.15.0](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.14.4...v1.15.0) (2024-11-04)
27 |
28 |
29 | ### Bug Fixes
30 |
31 | * check target before querying ([ab39d6f](https://github.com/CoCreate-app/CoCreate-attributes/commit/ab39d6f7aade3e7d9ad639e7b0330c1eddf006ee))
32 | * formating ([d63db50](https://github.com/CoCreate-app/CoCreate-attributes/commit/d63db502bbc30bb90d4f4e67840bff86872b12ed))
33 | * observer taget has been renamed to selector ([5e6c34a](https://github.com/CoCreate-app/CoCreate-attributes/commit/5e6c34a8b3cef5981e9ed31cd551b6004b8c813f))
34 | * pretier.config.js and file formating ([d041a13](https://github.com/CoCreate-app/CoCreate-attributes/commit/d041a138df4fb8cdf4e144c6f840d991df240b9c))
35 |
36 |
37 | ### Features
38 |
39 | * add prettier.config.js and format files ([f7de120](https://github.com/CoCreate-app/CoCreate-attributes/commit/f7de120a9823763915b1a7b26c766266e407d4a2))
40 |
41 | ## [1.14.4](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.14.3...v1.14.4) (2024-08-24)
42 |
43 |
44 | ### Bug Fixes
45 |
46 | * update doc ([d174074](https://github.com/CoCreate-app/CoCreate-attributes/commit/d174074c6e89710d4fa3a8665bbcba31d380a574))
47 |
48 | ## [1.14.3](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.14.2...v1.14.3) (2024-06-12)
49 |
50 |
51 | ### Bug Fixes
52 |
53 | * bump cocreate dependencies ([6b3cb7e](https://github.com/CoCreate-app/CoCreate-attributes/commit/6b3cb7eb996b182ad977ea38fabec779df92e406))
54 | * svg icon class ([ccf569b](https://github.com/CoCreate-app/CoCreate-attributes/commit/ccf569b11803745a2bba90ee5e1d6a4f49677aab))
55 |
56 | ## [1.14.2](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.14.1...v1.14.2) (2024-04-29)
57 |
58 |
59 | ### Bug Fixes
60 |
61 | * bump cocreate dependencies ([cbf45a6](https://github.com/CoCreate-app/CoCreate-attributes/commit/cbf45a67d5876caea84c84ff4e5553a50a9e29d2))
62 |
63 | ## [1.14.1](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.14.0...v1.14.1) (2024-02-05)
64 |
65 |
66 | ### Bug Fixes
67 |
68 | * Removed https://cdn.cocreate.app/latest/CoCreate.min.css ([e0cdb47](https://github.com/CoCreate-app/CoCreate-attributes/commit/e0cdb4796160ec4f4f45476794cac2e7d07fa8e1))
69 |
70 | # [1.14.0](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.13.0...v1.14.0) (2023-11-25)
71 |
72 |
73 | ### Features
74 |
75 | * upgrade dependencies for latest features and fixes ([d6b755f](https://github.com/CoCreate-app/CoCreate-attributes/commit/d6b755fc105310eb932d98ba6b887088097ca292))
76 |
77 | # [1.13.0](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.12.0...v1.13.0) (2023-11-25)
78 |
79 |
80 | ### Bug Fixes
81 |
82 | * update nav, edit button and css path ([972b52f](https://github.com/CoCreate-app/CoCreate-attributes/commit/972b52f8f0ca6542d79ad26e821da79698ed563c))
83 |
84 |
85 | ### Features
86 |
87 | * upgrade dependencies for latest features and fixes ([57f2c9b](https://github.com/CoCreate-app/CoCreate-attributes/commit/57f2c9bb18eb3acced9c1262ca709e4db230dc37))
88 |
89 | # [1.12.0](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.11.10...v1.12.0) (2023-11-19)
90 |
91 |
92 | ### Features
93 |
94 | * update dependecies for th latest features and bug fixes ([afb1af5](https://github.com/CoCreate-app/CoCreate-attributes/commit/afb1af57e71ef77bc9bd9f0db0f6b0fe3d9a5818))
95 |
96 | ## [1.11.10](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.11.9...v1.11.10) (2023-11-12)
97 |
98 |
99 | ### Bug Fixes
100 |
101 | * bump dependencies for latest features ([dac45f6](https://github.com/CoCreate-app/CoCreate-attributes/commit/dac45f6fb89b24cca757f784948c9275a0b33572))
102 |
103 | ## [1.11.9](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.11.8...v1.11.9) (2023-11-09)
104 |
105 |
106 | ### Bug Fixes
107 |
108 | * meta name typo ([cea4375](https://github.com/CoCreate-app/CoCreate-attributes/commit/cea437571c35a7f2ae530729bb26b7c1ee82f3f7))
109 | * update host ([ff01acd](https://github.com/CoCreate-app/CoCreate-attributes/commit/ff01acd319ef1a48fa4c8d38d7046f50cdd4ada9))
110 |
111 | ## [1.11.8](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.11.7...v1.11.8) (2023-11-03)
112 |
113 |
114 | ### Bug Fixes
115 |
116 | * favicon.ico path ([7ba20a1](https://github.com/CoCreate-app/CoCreate-attributes/commit/7ba20a1bfd51f39f32ba65b580eb8b7aff97c96c))
117 | * update dependencies to the lates versions ([c04f654](https://github.com/CoCreate-app/CoCreate-attributes/commit/c04f65459270b965ac4bd762ba11f82e49571201))
118 |
119 | ## [1.11.7](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.11.6...v1.11.7) (2023-10-25)
120 |
121 |
122 | ### Bug Fixes
123 |
124 | * bump dependencies ([4447058](https://github.com/CoCreate-app/CoCreate-attributes/commit/4447058ed8a1ebcb63e373e3de69b673b794b55b))
125 |
126 | ## [1.11.6](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.11.5...v1.11.6) (2023-10-19)
127 |
128 |
129 | ### Bug Fixes
130 |
131 | * removed @cocreate/message-client ([07ca52e](https://github.com/CoCreate-app/CoCreate-attributes/commit/07ca52e9826cf99f4f3fde13c9c191a44d4d21ad))
132 |
133 | ## [1.11.5](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.11.4...v1.11.5) (2023-10-17)
134 |
135 |
136 | ### Bug Fixes
137 |
138 | * await getValue() ([43f38d3](https://github.com/CoCreate-app/CoCreate-attributes/commit/43f38d34645591d250f410017acc6f7cdcea9b79))
139 |
140 | ## [1.11.4](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.11.3...v1.11.4) (2023-10-14)
141 |
142 |
143 | ### Bug Fixes
144 |
145 | * bump dependencies ([a951afa](https://github.com/CoCreate-app/CoCreate-attributes/commit/a951afad4eb94a9b5cec21846aea902b7ec09388))
146 |
147 | ## [1.11.3](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.11.2...v1.11.3) (2023-10-09)
148 |
149 |
150 | ### Bug Fixes
151 |
152 | * bump dependencies ([3c72a8d](https://github.com/CoCreate-app/CoCreate-attributes/commit/3c72a8dbb11beea6322eae11d4184386356ac9e6))
153 |
154 | ## [1.11.2](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.11.1...v1.11.2) (2023-10-09)
155 |
156 |
157 | ### Bug Fixes
158 |
159 | * bump dependencies ([dc2758c](https://github.com/CoCreate-app/CoCreate-attributes/commit/dc2758c881239ac81716192e2f56f473e05626c2))
160 |
161 | ## [1.11.1](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.11.0...v1.11.1) (2023-10-09)
162 |
163 |
164 | ### Bug Fixes
165 |
166 | * bump cocreate dependency versions ([ea230ea](https://github.com/CoCreate-app/CoCreate-attributes/commit/ea230ea3b28fa9b49e5609497c7d217f8b4f2c7a))
167 | * bump dependencies ([d4598f0](https://github.com/CoCreate-app/CoCreate-attributes/commit/d4598f0da083ce57f6c54a7c601ce5b289558ce0))
168 |
169 | # [1.11.0](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.10.2...v1.11.0) (2023-09-19)
170 |
171 |
172 | ### Features
173 |
174 | * Update CoCreate dependencies to their latest versions ([21fb949](https://github.com/CoCreate-app/CoCreate-attributes/commit/21fb94944bf97405b33d49edee543b2930400140))
175 |
176 | ## [1.10.2](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.10.1...v1.10.2) (2023-09-18)
177 |
178 |
179 | ### Bug Fixes
180 |
181 | * Add path and pathname ([34cd690](https://github.com/CoCreate-app/CoCreate-attributes/commit/34cd69094c8a50004b8dafff4b413927dcd25cc1))
182 | * Update CoCreate depndencies to latest versions ([d424ba6](https://github.com/CoCreate-app/CoCreate-attributes/commit/d424ba66a20db1b7675b30452fdfb663c87ccc0d))
183 |
184 | ## [1.10.1](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.10.0...v1.10.1) (2023-09-07)
185 |
186 |
187 | ### Bug Fixes
188 |
189 | * bump dependencies ([68f40c1](https://github.com/CoCreate-app/CoCreate-attributes/commit/68f40c17d3b8bc7c88c8e00f50d195ad84b03613))
190 |
191 | # [1.10.0](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.9.1...v1.10.0) (2023-08-21)
192 |
193 |
194 | ### Features
195 |
196 | * Update cocreate dependencies for the latest features and bug fixes ([dfbb655](https://github.com/CoCreate-app/CoCreate-attributes/commit/dfbb655cd1ed15a79bc249a0f2b7f0b1541b213f))
197 |
198 | ## [1.9.1](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.9.0...v1.9.1) (2023-08-21)
199 |
200 |
201 | ### Bug Fixes
202 |
203 | * /dist/CoCreate.js updated to https://CoCreate.app/dist/CoCreate.js ([195d0d5](https://github.com/CoCreate-app/CoCreate-attributes/commit/195d0d5b028ef044d4dd59b3ce7468b236cf12f0))
204 | * replace cdn with /dist ([77b8ff8](https://github.com/CoCreate-app/CoCreate-attributes/commit/77b8ff80460b790cc2d8c3a01ddc087fbe24a56a))
205 | * update file uploader ([94381f9](https://github.com/CoCreate-app/CoCreate-attributes/commit/94381f91b8812b391392029379c1295598bb0357))
206 |
207 | # [1.9.0](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.8.0...v1.9.0) (2023-08-17)
208 |
209 |
210 | ### Features
211 |
212 | * bump cocreate dependencies for the latest updates and features ([209bfd9](https://github.com/CoCreate-app/CoCreate-attributes/commit/209bfd93e0d19b3750fa30b40b2a1b9cc9245741))
213 |
214 | # [1.8.0](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.27...v1.8.0) (2023-08-16)
215 |
216 |
217 | ### Bug Fixes
218 |
219 | * crud attributes renamed ([8ef1b3b](https://github.com/CoCreate-app/CoCreate-attributes/commit/8ef1b3bfee8fffc7ebe8a183bbf3b9df42bd76d7))
220 | * replace -target -selector ([f82fb07](https://github.com/CoCreate-app/CoCreate-attributes/commit/f82fb07c12c4c70d4519c9a661a0381f40c0159b))
221 | * updated actions callback data object ([6049e39](https://github.com/CoCreate-app/CoCreate-attributes/commit/6049e398d3b88818134199c0b8b780ce9b927c77))
222 | * webpack.config and package.json make use of mode=production instead of process.env ([6d153fe](https://github.com/CoCreate-app/CoCreate-attributes/commit/6d153fe3bdbf963eb675adbabd7f0eb166d033b3))
223 |
224 |
225 | ### Features
226 |
227 | * name attribute and variable renamed to key ([abc6bf8](https://github.com/CoCreate-app/CoCreate-attributes/commit/abc6bf864c99c1c49e45af17a0cfb3131435ba3d))
228 |
229 | ## [1.7.27](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.26...v1.7.27) (2023-06-14)
230 |
231 |
232 | ### Bug Fixes
233 |
234 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([9a48ea5](https://github.com/CoCreate-app/CoCreate-attributes/commit/9a48ea5997ec4383c0f98ba8babf2b14b2ac2794))
235 |
236 | ## [1.7.26](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.25...v1.7.26) (2023-06-11)
237 |
238 |
239 | ### Bug Fixes
240 |
241 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([6d46351](https://github.com/CoCreate-app/CoCreate-attributes/commit/6d46351aab40575d063e950ef15237966fc52e4b))
242 |
243 | ## [1.7.25](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.24...v1.7.25) (2023-06-11)
244 |
245 |
246 | ### Bug Fixes
247 |
248 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([239f12c](https://github.com/CoCreate-app/CoCreate-attributes/commit/239f12c878bc717532d6d8265b633637a986bd5b))
249 |
250 | ## [1.7.24](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.23...v1.7.24) (2023-06-11)
251 |
252 |
253 | ### Bug Fixes
254 |
255 | * testing workflow ([db44992](https://github.com/CoCreate-app/CoCreate-attributes/commit/db449923f8bf48fa7afc26ba6bf1d8e0d906b1ac))
256 |
257 | ## [1.7.23](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.22...v1.7.23) (2023-06-11)
258 |
259 |
260 | ### Bug Fixes
261 |
262 | * testing workflow ([b634daf](https://github.com/CoCreate-app/CoCreate-attributes/commit/b634daf96bc0fac950a0c35030ef87a2d9a01451))
263 |
264 | ## [1.7.22](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.21...v1.7.22) (2023-06-11)
265 |
266 |
267 | ### Bug Fixes
268 |
269 | * testing workflow ([364de01](https://github.com/CoCreate-app/CoCreate-attributes/commit/364de010d14416450932fd3ceb73c202371d674e))
270 | * testing workflow ([525c894](https://github.com/CoCreate-app/CoCreate-attributes/commit/525c894c267e5094dea791029310e56921fcd627))
271 |
272 | ## [1.7.21](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.20...v1.7.21) (2023-06-11)
273 |
274 |
275 | ### Bug Fixes
276 |
277 | * testing workflow ([ddbffdf](https://github.com/CoCreate-app/CoCreate-attributes/commit/ddbffdf48861f5da9e406dd78f11c7768fb4434b))
278 |
279 | ## [1.7.20](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.19...v1.7.20) (2023-06-11)
280 |
281 |
282 | ### Bug Fixes
283 |
284 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([a346955](https://github.com/CoCreate-app/CoCreate-attributes/commit/a3469551791b00ba34ffa13d38aca2b00abcb89a))
285 |
286 | ## [1.7.19](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.18...v1.7.19) (2023-06-11)
287 |
288 |
289 | ### Bug Fixes
290 |
291 | * postintall error ([8186726](https://github.com/CoCreate-app/CoCreate-attributes/commit/8186726c6ff6194ab955529b33370907237c7ada))
292 |
293 | ## [1.7.18](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.17...v1.7.18) (2023-06-11)
294 |
295 |
296 | ### Bug Fixes
297 |
298 | * @cocreate/cli moved to dependencies ([61a5102](https://github.com/CoCreate-app/CoCreate-attributes/commit/61a510294243170e0417d4a5a0e9be460c073f0c))
299 |
300 | ## [1.7.17](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.16...v1.7.17) (2023-06-11)
301 |
302 |
303 | ### Bug Fixes
304 |
305 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([59b073a](https://github.com/CoCreate-app/CoCreate-attributes/commit/59b073aea692735a24e57acf9009333671adce70))
306 |
307 | ## [1.7.16](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.15...v1.7.16) (2023-06-11)
308 |
309 |
310 | ### Bug Fixes
311 |
312 | * renamed hosts to host. the value can be a string or an array of strings ([8479950](https://github.com/CoCreate-app/CoCreate-attributes/commit/8479950d5724eb744f28cb05802060d67a47cdd8))
313 |
314 | ## [1.7.15](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.14...v1.7.15) (2023-06-10)
315 |
316 |
317 | ### Bug Fixes
318 |
319 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([b6bd4e3](https://github.com/CoCreate-app/CoCreate-attributes/commit/b6bd4e35984e13b2361acb13ab3c86de9baa8176))
320 |
321 | ## [1.7.14](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.13...v1.7.14) (2023-06-04)
322 |
323 |
324 | ### Bug Fixes
325 |
326 | * Refactor CoCreate.config.js to remove hard-coded credentials ([7d6a9a5](https://github.com/CoCreate-app/CoCreate-attributes/commit/7d6a9a56ca5235a9423e61cefcdd879ef6bf5040))
327 |
328 | ## [1.7.13](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.12...v1.7.13) (2023-06-04)
329 |
330 |
331 | ### Bug Fixes
332 |
333 | * replaced secert GITHUB_TOKEN with GITHUB ([3bf54f9](https://github.com/CoCreate-app/CoCreate-attributes/commit/3bf54f9fab567ab8342263dc93641517be1738f5))
334 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([a3e1bea](https://github.com/CoCreate-app/CoCreate-attributes/commit/a3e1bead27198a64f9aaccc998b395fa5fb687da))
335 |
336 | ## [1.7.12](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.11...v1.7.12) (2023-06-04)
337 |
338 |
339 | ### Bug Fixes
340 |
341 | * **semantic-release:** worklow error solved by running node version 14 ([f3abd4b](https://github.com/CoCreate-app/CoCreate-attributes/commit/f3abd4bef666ee22d1d89fc982ef9295364dcc7a))
342 |
343 | ## [1.7.11](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.10...v1.7.11) (2023-06-02)
344 |
345 |
346 | ### Bug Fixes
347 |
348 | * format demo html ([f50dfc6](https://github.com/CoCreate-app/CoCreate-attributes/commit/f50dfc6d61b905097cf9b4284967f469ae4a6e6a))
349 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([e2d2ee9](https://github.com/CoCreate-app/CoCreate-attributes/commit/e2d2ee96907c67fc695267bf9f13976ba1cd98ed))
350 |
351 | ## [1.7.10](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.9...v1.7.10) (2023-05-21)
352 |
353 |
354 | ### Bug Fixes
355 |
356 | * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([d739fd2](https://github.com/CoCreate-app/CoCreate-attributes/commit/d739fd2e71f868039ca8bed614d0ae79d53f1d72))
357 |
358 | ## [1.7.9](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.8...v1.7.9) (2023-05-19)
359 |
360 |
361 | ### Bug Fixes
362 |
363 | * 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. ([6f4ca62](https://github.com/CoCreate-app/CoCreate-attributes/commit/6f4ca625e7cbc4d4fc7745d66c608fb114978ae3))
364 |
365 | ## [1.7.8](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.7...v1.7.8) (2023-05-10)
366 |
367 |
368 | ### Bug Fixes
369 |
370 | * apikey renamed to key ([ec319a6](https://github.com/CoCreate-app/CoCreate-attributes/commit/ec319a618e8ab28d922c687bcb715ccae6d4188a))
371 |
372 | ## [1.7.7](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.6...v1.7.7) (2023-05-06)
373 |
374 |
375 | ### Bug Fixes
376 |
377 | * bump [@cocreate](https://github.com/cocreate) dependencies ([327b41c](https://github.com/CoCreate-app/CoCreate-attributes/commit/327b41cc736e25551a175a182ddfb2066ba4bb5b))
378 |
379 | ## [1.7.6](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.5...v1.7.6) (2023-05-01)
380 |
381 |
382 | ### Bug Fixes
383 |
384 | * update manifest.json to manifest.webmanifest ([97a472f](https://github.com/CoCreate-app/CoCreate-attributes/commit/97a472fc47d613ff05edf29c70ae7e12ec2755d8))
385 |
386 | ## [1.7.5](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.4...v1.7.5) (2023-05-01)
387 |
388 |
389 | ### Bug Fixes
390 |
391 | * replace fontawesome with svg ([f6d72a7](https://github.com/CoCreate-app/CoCreate-attributes/commit/f6d72a73fd2a6f9092e729cb3640f1202b3913ff))
392 |
393 | ## [1.7.4](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.3...v1.7.4) (2023-04-30)
394 |
395 |
396 | ### Bug Fixes
397 |
398 | * fullscreen target updated to fullscreen fullscreen-target ([5eeb305](https://github.com/CoCreate-app/CoCreate-attributes/commit/5eeb305b7aef2f15f7eb0014a1e182fbcfed8603))
399 | * package-lock.json and pnpm-lock.yaml added to .gitignore ([07313fe](https://github.com/CoCreate-app/CoCreate-attributes/commit/07313fe35e9693b4e7262fa8b08ed8c620c28014))
400 | * removed toogle fullscreen icons. now using css content ([8aab9e7](https://github.com/CoCreate-app/CoCreate-attributes/commit/8aab9e78c925254c397fb3fbf1082a568419a329))
401 |
402 | ## [1.7.3](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.2...v1.7.3) (2023-04-24)
403 |
404 |
405 | ### Bug Fixes
406 |
407 | * updated worrkflows to v3 and node version 16 ([596298d](https://github.com/CoCreate-app/CoCreate-attributes/commit/596298d59e53f309a49a8ad08296bb3e3e0cb0d3))
408 |
409 | ## [1.7.2](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.1...v1.7.2) (2023-04-24)
410 |
411 |
412 | ### Bug Fixes
413 |
414 | * workflow node version updated 16 ([5e4db54](https://github.com/CoCreate-app/CoCreate-attributes/commit/5e4db54c053d69d663ecac59b3dc5268a3e05fc7))
415 |
416 | ## [1.7.1](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.7.0...v1.7.1) (2023-04-24)
417 |
418 |
419 | ### Bug Fixes
420 |
421 | * bump [@cocreate](https://github.com/cocreate) dependencies ([2537057](https://github.com/CoCreate-app/CoCreate-attributes/commit/2537057bad0baf308b37f5ce35b480b4d0a0ffa0))
422 |
423 | # [1.7.0](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.6.7...v1.7.0) (2023-04-24)
424 |
425 |
426 | ### Features
427 |
428 | * added pwa manifest ([23ed770](https://github.com/CoCreate-app/CoCreate-attributes/commit/23ed7705bd17fc67d632b3e042a59498af2f87cc))
429 |
430 | ## [1.6.7](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.6.6...v1.6.7) (2023-04-13)
431 |
432 |
433 | ### Bug Fixes
434 |
435 | * replaced substr with substring ([39a2266](https://github.com/CoCreate-app/CoCreate-attributes/commit/39a22664f167ea0b8b30419575a625e758420e23))
436 |
437 | ## [1.6.6](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.6.5...v1.6.6) (2023-04-11)
438 |
439 |
440 | ### Bug Fixes
441 |
442 | * bump dependencies ([cf8f146](https://github.com/CoCreate-app/CoCreate-attributes/commit/cf8f1465f9f6f9a9f63c9fe2423f5b1278da31b5))
443 |
444 | ## [1.6.5](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.6.4...v1.6.5) (2023-04-11)
445 |
446 |
447 | ### Bug Fixes
448 |
449 | * bump [@cocreate](https://github.com/cocreate) dependencies ([160397a](https://github.com/CoCreate-app/CoCreate-attributes/commit/160397accb25cfd8b5a80ef89596436414b9a5b8))
450 |
451 | ## [1.6.4](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.6.3...v1.6.4) (2023-04-11)
452 |
453 |
454 | ### Bug Fixes
455 |
456 | * renamed domains to hosts ([f48674e](https://github.com/CoCreate-app/CoCreate-attributes/commit/f48674eb225611047ae42a4e5a6fe3f4c87ab0b9))
457 |
458 | ## [1.6.3](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.6.2...v1.6.3) (2023-03-30)
459 |
460 |
461 | ### Bug Fixes
462 |
463 | * bump [@cocreate](https://github.com/cocreate) dependencies' ([3e1b460](https://github.com/CoCreate-app/CoCreate-attributes/commit/3e1b460312b52ca5f465c22f6b0638beaa06aed3))
464 |
465 | ## [1.6.2](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.6.1...v1.6.2) (2023-03-16)
466 |
467 |
468 | ### Bug Fixes
469 |
470 | * bump dependencies' ([dd7fcc0](https://github.com/CoCreate-app/CoCreate-attributes/commit/dd7fcc02c51dd33d2b09644fb204c1016d5d9af9))
471 |
472 | ## [1.6.1](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.6.0...v1.6.1) (2023-03-16)
473 |
474 |
475 | ### Bug Fixes
476 |
477 | * bump dependencies' ([7194926](https://github.com/CoCreate-app/CoCreate-attributes/commit/719492634e49396127d65befe8d7fc111cececaa))
478 |
479 | # [1.6.0](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.95...v1.6.0) (2023-03-16)
480 |
481 |
482 | ### Features
483 |
484 | * replaced get-value and set-value with a super charged version of CoCreate-events ([593d1a7](https://github.com/CoCreate-app/CoCreate-attributes/commit/593d1a7c4863036306f54187da0f7e2baee37c76))
485 |
486 | ## [1.5.95](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.94...v1.5.95) (2023-02-01)
487 |
488 |
489 | ### Bug Fixes
490 |
491 | * bump dependencies ([81c2405](https://github.com/CoCreate-app/CoCreate-attributes/commit/81c24054fe7c0adc4089c9c5ee4c153d29454bf5))
492 |
493 | ## [1.5.94](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.93...v1.5.94) (2023-01-31)
494 |
495 |
496 | ### Bug Fixes
497 |
498 | * bump dependencies ([0757df4](https://github.com/CoCreate-app/CoCreate-attributes/commit/0757df48cac4a3ad3d0148e11fd8a27229ccd2b7))
499 |
500 | ## [1.5.93](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.92...v1.5.93) (2023-01-30)
501 |
502 |
503 | ### Bug Fixes
504 |
505 | * bump dependencies ([9c46880](https://github.com/CoCreate-app/CoCreate-attributes/commit/9c4688056502759089d13a44dcbb53df38fab7f0))
506 |
507 | ## [1.5.92](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.91...v1.5.92) (2023-01-29)
508 |
509 |
510 | ### Bug Fixes
511 |
512 | * bump dependencies ([ffec5b1](https://github.com/CoCreate-app/CoCreate-attributes/commit/ffec5b14b6c8adc9d93555aaa5be9c3033e97a75))
513 |
514 | ## [1.5.91](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.90...v1.5.91) (2023-01-29)
515 |
516 |
517 | ### Bug Fixes
518 |
519 | * bump dependencies ([5edcf58](https://github.com/CoCreate-app/CoCreate-attributes/commit/5edcf58e3d8cd40ddae84be9a54cf4736429f82a))
520 |
521 | ## [1.5.90](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.89...v1.5.90) (2023-01-27)
522 |
523 |
524 | ### Bug Fixes
525 |
526 | * bump dependencies ([8905098](https://github.com/CoCreate-app/CoCreate-attributes/commit/89050983cc173fe2bda9daed1dd9704201db45ce))
527 |
528 | ## [1.5.89](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.88...v1.5.89) (2023-01-13)
529 |
530 |
531 | ### Bug Fixes
532 |
533 | * bump dependencies ([f2d8d9e](https://github.com/CoCreate-app/CoCreate-attributes/commit/f2d8d9e19131393b834f7511f25609298437936c))
534 |
535 | ## [1.5.88](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.87...v1.5.88) (2023-01-10)
536 |
537 |
538 | ### Bug Fixes
539 |
540 | * bump dependencies ([ccc0b3e](https://github.com/CoCreate-app/CoCreate-attributes/commit/ccc0b3e0cbad908eef307660b451a3ed4870ffe4))
541 |
542 | ## [1.5.87](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.86...v1.5.87) (2023-01-09)
543 |
544 |
545 | ### Bug Fixes
546 |
547 | * bump dependnecies ([9053760](https://github.com/CoCreate-app/CoCreate-attributes/commit/905376069a418b1026f927f53d1f348d8535e281))
548 |
549 | ## [1.5.86](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.85...v1.5.86) (2023-01-06)
550 |
551 |
552 | ### Bug Fixes
553 |
554 | * bump dependencies, worklow [@v3](https://github.com/v3) ([bb2e6f5](https://github.com/CoCreate-app/CoCreate-attributes/commit/bb2e6f55bac5357948fb9a1b73b52b6be835fe53))
555 | * edit in github btn styles ([de9e279](https://github.com/CoCreate-app/CoCreate-attributes/commit/de9e2790a3f11f4591991a4bb8eb259efe842100))
556 |
557 | ## [1.5.85](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.84...v1.5.85) (2023-01-05)
558 |
559 |
560 | ### Bug Fixes
561 |
562 | * bump cdn to 1.39.4 ([9323d9a](https://github.com/CoCreate-app/CoCreate-attributes/commit/9323d9ae042e85b1747a5f71b09b8a0dd4c9aadb))
563 | * bump dependencies ([d5057dd](https://github.com/CoCreate-app/CoCreate-attributes/commit/d5057dde4d4d08d38bb448f4358f8d8a5ee9037c))
564 |
565 | ## [1.5.84](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.83...v1.5.84) (2023-01-01)
566 |
567 |
568 | ### Bug Fixes
569 |
570 | * docs sanbox overflow ([7c94214](https://github.com/CoCreate-app/CoCreate-attributes/commit/7c94214fa104b8c4ff0ccdf99be6ed040bcb5062))
571 |
572 | ## [1.5.83](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.82...v1.5.83) (2022-12-31)
573 |
574 |
575 | ### Bug Fixes
576 |
577 | * bump dependencies ([b6669e8](https://github.com/CoCreate-app/CoCreate-attributes/commit/b6669e8b15cb21d60aae5a61a67d651b700c5426))
578 |
579 | ## [1.5.82](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.81...v1.5.82) (2022-12-30)
580 |
581 |
582 | ### Bug Fixes
583 |
584 | * update config sources to use template braces with entry on src ([d865671](https://github.com/CoCreate-app/CoCreate-attributes/commit/d8656718554f40cf167db4e9674f909e8477dd76))
585 |
586 | ## [1.5.81](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.80...v1.5.81) (2022-12-29)
587 |
588 |
589 | ### Bug Fixes
590 |
591 | * bump dependencies ([216c8d2](https://github.com/CoCreate-app/CoCreate-attributes/commit/216c8d29df9a785588b0a65e65fffbcbcd9da2bc))
592 |
593 | ## [1.5.80](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.79...v1.5.80) (2022-12-27)
594 |
595 |
596 | ### Bug Fixes
597 |
598 | * bump dependencies ([8f49c9f](https://github.com/CoCreate-app/CoCreate-attributes/commit/8f49c9f77db97804a4abcfe386f6c471ab2e6dfa))
599 |
600 | ## [1.5.79](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.78...v1.5.79) (2022-12-25)
601 |
602 |
603 | ### Bug Fixes
604 |
605 | * bump dependencies ([ba83310](https://github.com/CoCreate-app/CoCreate-attributes/commit/ba83310ed8ee0f919fb6a06696a58a431e67ba6f))
606 |
607 | ## [1.5.78](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.77...v1.5.78) (2022-12-23)
608 |
609 |
610 | ### Bug Fixes
611 |
612 | * bump dependnecies ([49bc74d](https://github.com/CoCreate-app/CoCreate-attributes/commit/49bc74dba20912d7656bc2ce23b82bef5ce6c727))
613 |
614 | ## [1.5.77](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.76...v1.5.77) (2022-12-22)
615 |
616 |
617 | ### Bug Fixes
618 |
619 | * bump dependencies ([4f4ab7f](https://github.com/CoCreate-app/CoCreate-attributes/commit/4f4ab7f32891ea7542dde56f1a2dfc1e79178b25))
620 | * update cdn ([0a9bcdf](https://github.com/CoCreate-app/CoCreate-attributes/commit/0a9bcdf3b1f611a03942e6d8b2ca69bf8596be46))
621 |
622 | ## [1.5.76](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.75...v1.5.76) (2022-12-22)
623 |
624 |
625 | ### Bug Fixes
626 |
627 | * update demos and bump dependencies ([3a193b1](https://github.com/CoCreate-app/CoCreate-attributes/commit/3a193b1615c9174e34323b397a938a51d75f7096))
628 |
629 | ## [1.5.75](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.74...v1.5.75) (2022-12-21)
630 |
631 |
632 | ### Bug Fixes
633 |
634 | * bump dependencies ([98809e4](https://github.com/CoCreate-app/CoCreate-attributes/commit/98809e45b590e7d9e9066575049bcf2ac649531a))
635 |
636 | ## [1.5.74](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.73...v1.5.74) (2022-12-20)
637 |
638 |
639 | ### Bug Fixes
640 |
641 | * bump dependencies ([db9c1df](https://github.com/CoCreate-app/CoCreate-attributes/commit/db9c1dffd180b27a88c9f2b1eb09c4ceb03b5d60))
642 |
643 | ## [1.5.73](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.72...v1.5.73) (2022-12-15)
644 |
645 |
646 | ### Bug Fixes
647 |
648 | * add missing dev dependency style-loader ([ee2e527](https://github.com/CoCreate-app/CoCreate-attributes/commit/ee2e5270e0b9ee75ecb0455abd9cf0753ad27e74))
649 |
650 | ## [1.5.72](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.71...v1.5.72) (2022-12-13)
651 |
652 |
653 | ### Bug Fixes
654 |
655 | * removed un used devDependencies ([3c97ea7](https://github.com/CoCreate-app/CoCreate-attributes/commit/3c97ea7ca7b5bbb6ec77f6b305a29e87080ca7cd))
656 |
657 | ## [1.5.71](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.70...v1.5.71) (2022-12-13)
658 |
659 |
660 | ### Bug Fixes
661 |
662 | * bump dependencies ([3efafc2](https://github.com/CoCreate-app/CoCreate-attributes/commit/3efafc2ce941afee7e02f37a4065c9f4ac5e5f17))
663 |
664 | ## [1.5.70](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.69...v1.5.70) (2022-12-12)
665 |
666 |
667 | ### Bug Fixes
668 |
669 | * bump dependencies ([c194484](https://github.com/CoCreate-app/CoCreate-attributes/commit/c1944847cb95734b95e41a84aee02f373255bddc))
670 |
671 | ## [1.5.69](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.68...v1.5.69) (2022-12-11)
672 |
673 |
674 | ### Bug Fixes
675 |
676 | * bump dependencies ([d4c0767](https://github.com/CoCreate-app/CoCreate-attributes/commit/d4c0767ffd2026b59a4d549746c96be822715f15))
677 |
678 | ## [1.5.68](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.67...v1.5.68) (2022-12-09)
679 |
680 |
681 | ### Bug Fixes
682 |
683 | * bump dependencies ([e268870](https://github.com/CoCreate-app/CoCreate-attributes/commit/e2688704691bee241062212a4e4cf134b0099911))
684 |
685 | ## [1.5.67](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.66...v1.5.67) (2022-12-08)
686 |
687 |
688 | ### Bug Fixes
689 |
690 | * bump dependencies ([bfaf82d](https://github.com/CoCreate-app/CoCreate-attributes/commit/bfaf82d85bf29e178a679e897bb1ac9eaab5cbca))
691 |
692 | ## [1.5.66](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.65...v1.5.66) (2022-12-07)
693 |
694 |
695 | ### Bug Fixes
696 |
697 | * bump dependencies ([b0f35d4](https://github.com/CoCreate-app/CoCreate-attributes/commit/b0f35d436dc03029594f3a2c99956b07f42b47d2))
698 |
699 | ## [1.5.65](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.64...v1.5.65) (2022-12-04)
700 |
701 |
702 | ### Bug Fixes
703 |
704 | * bump dependencies ([56ca951](https://github.com/CoCreate-app/CoCreate-attributes/commit/56ca951d7097c18f39df0dfa0368abf728e70035))
705 |
706 | ## [1.5.64](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.63...v1.5.64) (2022-12-02)
707 |
708 |
709 | ### Bug Fixes
710 |
711 | * docs ([29b34f2](https://github.com/CoCreate-app/CoCreate-attributes/commit/29b34f27be4a0f1b62df5841bff8f10e621bcb49))
712 |
713 | ## [1.5.63](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.62...v1.5.63) (2022-12-02)
714 |
715 |
716 | ### Bug Fixes
717 |
718 | * bump dependencies ([729993d](https://github.com/CoCreate-app/CoCreate-attributes/commit/729993d2b95ca658c83f77ea275cc59eaf83bc7f))
719 |
720 | ## [1.5.62](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.61...v1.5.62) (2022-11-28)
721 |
722 |
723 | ### Bug Fixes
724 |
725 | * bump dependencies ([6dc43bf](https://github.com/CoCreate-app/CoCreate-attributes/commit/6dc43bff27646bdc8b0bd512d94cc3c24aaec078))
726 |
727 | ## [1.5.61](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.60...v1.5.61) (2022-11-28)
728 |
729 |
730 | ### Bug Fixes
731 |
732 | * bump dependencies ([739268d](https://github.com/CoCreate-app/CoCreate-attributes/commit/739268d852f5188d898f8ff34b98bd4fc0b75633))
733 |
734 | ## [1.5.60](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.59...v1.5.60) (2022-11-27)
735 |
736 |
737 | ### Bug Fixes
738 |
739 | * bump dependencies ([ce970ed](https://github.com/CoCreate-app/CoCreate-attributes/commit/ce970ed82691caca41a9e117fe71142fdb99bf6f))
740 |
741 | ## [1.5.59](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.58...v1.5.59) (2022-11-26)
742 |
743 |
744 | ### Bug Fixes
745 |
746 | * bump dependencies ([de22907](https://github.com/CoCreate-app/CoCreate-attributes/commit/de229070d8305011e8aecc169800e6d1794e1922))
747 |
748 | ## [1.5.58](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.57...v1.5.58) (2022-11-25)
749 |
750 |
751 | ### Bug Fixes
752 |
753 | * bump dependencies ([78c1ccf](https://github.com/CoCreate-app/CoCreate-attributes/commit/78c1ccf38de8f97f82758e2adc56cee3a8c908b9))
754 |
755 | ## [1.5.57](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.56...v1.5.57) (2022-11-24)
756 |
757 |
758 | ### Bug Fixes
759 |
760 | * bump depenedencies ([5b5178c](https://github.com/CoCreate-app/CoCreate-attributes/commit/5b5178cc29bbe3a4f262c2d144007f3352ad7afa))
761 |
762 | ## [1.5.56](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.55...v1.5.56) (2022-11-23)
763 |
764 |
765 | ### Bug Fixes
766 |
767 | * bumped [@cocreate](https://github.com/cocreate) dependencies ([60be000](https://github.com/CoCreate-app/CoCreate-attributes/commit/60be0005fbcc120202c5dfb383ce294d7d82c1ff))
768 |
769 | ## [1.5.55](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.54...v1.5.55) (2022-11-22)
770 |
771 |
772 | ### Bug Fixes
773 |
774 | * workflow docs ([91caac7](https://github.com/CoCreate-app/CoCreate-attributes/commit/91caac7e5a6fe16205795544248813d472ef1f6b))
775 |
776 | ## [1.5.54](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.53...v1.5.54) (2022-11-22)
777 |
778 |
779 | ### Bug Fixes
780 |
781 | * apply src: {{source}} to CoCreate.config ([aa4c4d5](https://github.com/CoCreate-app/CoCreate-attributes/commit/aa4c4d5c0cea1d600649730c1c3982eb99153e3c))
782 |
783 | ## [1.5.53](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.52...v1.5.53) (2022-11-21)
784 |
785 |
786 | ### Bug Fixes
787 |
788 | * @cocreate/docs bug fix ([41f6dc8](https://github.com/CoCreate-app/CoCreate-attributes/commit/41f6dc8d25bb7ff02aa537c3e05b2a07b1ab5077))
789 |
790 | ## [1.5.52](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.51...v1.5.52) (2022-11-21)
791 |
792 |
793 | ### Bug Fixes
794 |
795 | * replaced document_id with document._id ([c96f738](https://github.com/CoCreate-app/CoCreate-attributes/commit/c96f7388ad46536b4201c1e9a102581ed6b0a543))
796 |
797 | ## [1.5.51](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.50...v1.5.51) (2022-11-21)
798 |
799 |
800 | ### Bug Fixes
801 |
802 | * bump [@cocreate](https://github.com/cocreate) dependencies ([70a361c](https://github.com/CoCreate-app/CoCreate-attributes/commit/70a361c5aef077bc2ef1996e12483e28b4a7d9f2))
803 |
804 | ## [1.5.50](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.49...v1.5.50) (2022-11-21)
805 |
806 |
807 | ### Bug Fixes
808 |
809 | * bump d@cocreate ependencies ([36f605f](https://github.com/CoCreate-app/CoCreate-attributes/commit/36f605ff41deb4d24d9702c5a117680d63966592))
810 |
811 | ## [1.5.49](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.48...v1.5.49) (2022-10-02)
812 |
813 |
814 | ### Bug Fixes
815 |
816 | * minor bug fixes ([083cd8b](https://github.com/CoCreate-app/CoCreate-attributes/commit/083cd8b3102e690358c717fbda11f4a581edf95c))
817 |
818 | ## [1.5.48](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.47...v1.5.48) (2022-10-02)
819 |
820 |
821 | ### Bug Fixes
822 |
823 | * bump @cocreate/hosting and @cocreate/socket-client ([fa1caf9](https://github.com/CoCreate-app/CoCreate-attributes/commit/fa1caf928e1c433d81acc7993d788e98e3064b1a))
824 |
825 | ## [1.5.47](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.46...v1.5.47) (2022-10-01)
826 |
827 |
828 | ### Bug Fixes
829 |
830 | * bump dependencies ([f6fc228](https://github.com/CoCreate-app/CoCreate-attributes/commit/f6fc22800969b79b074cfe9c36fb2c9dea1509ca))
831 |
832 | ## [1.5.46](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.45...v1.5.46) (2022-09-30)
833 |
834 |
835 | ### Bug Fixes
836 |
837 | * bump [@cocreate](https://github.com/cocreate) dependencies ([734cc02](https://github.com/CoCreate-app/CoCreate-attributes/commit/734cc020f70b3fce2f02a583cff636cedfdfd7f4))
838 |
839 | ## [1.5.45](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.44...v1.5.45) (2022-09-30)
840 |
841 |
842 | ### Bug Fixes
843 |
844 | * bump [@cocreate](https://github.com/cocreate) dependencies ([0888fec](https://github.com/CoCreate-app/CoCreate-attributes/commit/0888fecd6a81ddbaf062490669297de2d3cc0b83))
845 |
846 | ## [1.5.44](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.43...v1.5.44) (2022-09-30)
847 |
848 |
849 | ### Bug Fixes
850 |
851 | * bump [@cocreate](https://github.com/cocreate) dependencies ([b8248ce](https://github.com/CoCreate-app/CoCreate-attributes/commit/b8248ce0c6013dfa2cb83761e571f6ae9f9a7f76))
852 |
853 | ## [1.5.43](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.42...v1.5.43) (2022-09-30)
854 |
855 |
856 | ### Bug Fixes
857 |
858 | * bump dependencies ([510b282](https://github.com/CoCreate-app/CoCreate-attributes/commit/510b28208e9dc65751cadca00dde602927f49473))
859 |
860 | ## [1.5.42](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.41...v1.5.42) (2022-09-30)
861 |
862 |
863 | ### Bug Fixes
864 |
865 | * bump dependencies ([4b8a7e8](https://github.com/CoCreate-app/CoCreate-attributes/commit/4b8a7e8fdcaa5dda4f55edff92b5fb3a2361e6f6))
866 |
867 | ## [1.5.41](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.40...v1.5.41) (2022-09-01)
868 |
869 |
870 | ### Bug Fixes
871 |
872 | * bump all of [@cocreate](https://github.com/cocreate) dependencies ([77ea06b](https://github.com/CoCreate-app/CoCreate-attributes/commit/77ea06bb389135cde2b5cdd9e8bbc551d9315b1e))
873 |
874 | ## [1.5.40](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.39...v1.5.40) (2022-08-31)
875 |
876 |
877 | ### Bug Fixes
878 |
879 | * getValue and setValue using HTMLElement.prototype ([5cbe978](https://github.com/CoCreate-app/CoCreate-attributes/commit/5cbe9789de7e9028138893c8915c81060e8084f4))
880 |
881 | ## [1.5.39](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.38...v1.5.39) (2022-07-30)
882 |
883 |
884 | ### Bug Fixes
885 |
886 | * element == intializing are equal if undfined. updated to element && element == intializing ([e1aa6c3](https://github.com/CoCreate-app/CoCreate-attributes/commit/e1aa6c3bb36747f48915a9954e9f2b18b3022653))
887 |
888 | ## [1.5.38](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.37...v1.5.38) (2022-06-22)
889 |
890 |
891 | ### Bug Fixes
892 |
893 | * apply targetElement to input ([b81ca89](https://github.com/CoCreate-app/CoCreate-attributes/commit/b81ca8907fdf78573e988579f48137f230561971))
894 |
895 | ## [1.5.37](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.36...v1.5.37) (2022-06-18)
896 |
897 |
898 | ### Bug Fixes
899 |
900 | * bump dependencies ([aa185d4](https://github.com/CoCreate-app/CoCreate-attributes/commit/aa185d4d335ed90a0529179d985e0e7a9d1daa72))
901 |
902 | ## [1.5.36](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.35...v1.5.36) (2022-06-13)
903 |
904 |
905 | ### Bug Fixes
906 |
907 | * bump cdn to 1.16.2 ([d593d06](https://github.com/CoCreate-app/CoCreate-attributes/commit/d593d0632196efa4a9ee59686ccfcdb3d92f43b6))
908 |
909 | ## [1.5.35](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.34...v1.5.35) (2022-06-12)
910 |
911 |
912 | ### Bug Fixes
913 |
914 | * update dependencies ([5f8fc6b](https://github.com/CoCreate-app/CoCreate-attributes/commit/5f8fc6b9c767c5470722c2055f4b7906f369aebe))
915 | * update docs css document_id ([78eb367](https://github.com/CoCreate-app/CoCreate-attributes/commit/78eb367c6e51ec4ba396854ca836ab064c101b11))
916 |
917 | ## [1.5.34](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.33...v1.5.34) (2022-05-23)
918 |
919 |
920 | ### Bug Fixes
921 |
922 | * bump all dependencies ([48a1ff3](https://github.com/CoCreate-app/CoCreate-attributes/commit/48a1ff318927169e0761857d7a55e4b17f18b8c1))
923 |
924 | ## [1.5.33](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.32...v1.5.33) (2022-05-19)
925 |
926 |
927 | ### Bug Fixes
928 |
929 | * update document_id on link index.css ([c1b8a66](https://github.com/CoCreate-app/CoCreate-attributes/commit/c1b8a66a5befa04bc0937287f8dd82aa73c9d8ee))
930 |
931 | ## [1.5.32](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.31...v1.5.32) (2022-05-06)
932 |
933 |
934 | ### Bug Fixes
935 |
936 | * update config organization_Id to organization_id ([03283be](https://github.com/CoCreate-app/CoCreate-attributes/commit/03283bec320a96d249f125dd09208c7ac247e647))
937 |
938 | ## [1.5.31](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.30...v1.5.31) (2022-03-21)
939 |
940 |
941 | ### Bug Fixes
942 |
943 | * update class sortable to attribute sortable ([0e255e4](https://github.com/CoCreate-app/CoCreate-attributes/commit/0e255e484f6056a64e6617396fdb91f17e734789))
944 |
945 | ## [1.5.30](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.29...v1.5.30) (2022-02-24)
946 |
947 |
948 | ### Bug Fixes
949 |
950 | * CoCreate.config replace CoCreate.app with * ([6760804](https://github.com/CoCreate-app/CoCreate-attributes/commit/676080488bfbd812a4f8febb6115f28fcf0922ea))
951 |
952 | ## [1.5.29](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.28...v1.5.29) (2022-02-16)
953 |
954 |
955 | ### Bug Fixes
956 |
957 | * update dependencies ([f09a9d4](https://github.com/CoCreate-app/CoCreate-attributes/commit/f09a9d40e6da53785e70bac73d7212184580066f))
958 |
959 | ## [1.5.28](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.27...v1.5.28) (2022-02-16)
960 |
961 |
962 | ### Bug Fixes
963 |
964 | * update action param to name ([9c152b7](https://github.com/CoCreate-app/CoCreate-attributes/commit/9c152b7ce5b27ee7b28a72d0e29126764ae4ccb3))
965 |
966 | ## [1.5.27](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.26...v1.5.27) (2022-02-10)
967 |
968 |
969 | ### Bug Fixes
970 |
971 | * bump dependencies ([0ac01d3](https://github.com/CoCreate-app/CoCreate-attributes/commit/0ac01d3de5bc74ca38396fdf3b3b697aaaacd3dd))
972 |
973 | ## [1.5.26](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.25...v1.5.26) (2022-02-07)
974 |
975 |
976 | ### Bug Fixes
977 |
978 | * bump dependency versions ([00f89be](https://github.com/CoCreate-app/CoCreate-attributes/commit/00f89bee04bf63d7cdbb554ac763bbe1f8c194c5))
979 |
980 | ## [1.5.25](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.24...v1.5.25) (2022-02-03)
981 |
982 |
983 | ### Bug Fixes
984 |
985 | * replaced show and hide class hidden with attribute hidden ([11a375f](https://github.com/CoCreate-app/CoCreate-attributes/commit/11a375f2b34bbe7894ed6b75e2be4c3a4d89afde))
986 |
987 | ## [1.5.24](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.23...v1.5.24) (2022-02-01)
988 |
989 |
990 | ### Bug Fixes
991 |
992 | * update dependency versions ([f8f9ad7](https://github.com/CoCreate-app/CoCreate-attributes/commit/f8f9ad770f1cc1dbca8e97e1a8ef1b377aeee4cf))
993 |
994 | ## [1.5.23](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.22...v1.5.23) (2022-01-29)
995 |
996 |
997 | ### Bug Fixes
998 |
999 | * update click event to be applied if target endsWith ; ([9205872](https://github.com/CoCreate-app/CoCreate-attributes/commit/920587283b313c24f917f6761cae4e80c31328db))
1000 |
1001 | ## [1.5.22](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.21...v1.5.22) (2022-01-22)
1002 |
1003 |
1004 | ### Bug Fixes
1005 |
1006 | * update text.setClass ([559829e](https://github.com/CoCreate-app/CoCreate-attributes/commit/559829eb727f3fa15309b884fe3a334436b1fbf0))
1007 |
1008 | ## [1.5.21](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.20...v1.5.21) (2022-01-16)
1009 |
1010 |
1011 | ### Bug Fixes
1012 |
1013 | * update class overflow:overlay to overflow:auto ([bcb065f](https://github.com/CoCreate-app/CoCreate-attributes/commit/bcb065fcbd9008a3f598b3c87acdac5922e3bcf7))
1014 |
1015 | ## [1.5.20](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.19...v1.5.20) (2022-01-01)
1016 |
1017 |
1018 | ### Bug Fixes
1019 |
1020 | * get-value attribute value now supports a selector added # to all values currently in get-value attributes ([408a601](https://github.com/CoCreate-app/CoCreate-attributes/commit/408a601ccbf004a6af6d8f1ce8618fcfb83f0de5))
1021 |
1022 | ## [1.5.19](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.18...v1.5.19) (2021-12-27)
1023 |
1024 |
1025 | ### Bug Fixes
1026 |
1027 | * return if input does not have attribute attribute ([5ad3e98](https://github.com/CoCreate-app/CoCreate-attributes/commit/5ad3e986a0f47996e816d82d49726635c786e543))
1028 |
1029 | ## [1.5.18](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.17...v1.5.18) (2021-12-15)
1030 |
1031 |
1032 | ### Bug Fixes
1033 |
1034 | * update dependencies ([49a91a1](https://github.com/CoCreate-app/CoCreate-attributes/commit/49a91a1a8d0e678e85b512ad0c3ef9eb800e69f9))
1035 |
1036 | ## [1.5.17](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.16...v1.5.17) (2021-12-14)
1037 |
1038 |
1039 | ### Bug Fixes
1040 |
1041 | * update dependencies ([bb0edf6](https://github.com/CoCreate-app/CoCreate-attributes/commit/bb0edf6ef79b3625816207e95212b82e4aafe65b))
1042 |
1043 | ## [1.5.16](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.15...v1.5.16) (2021-11-27)
1044 |
1045 |
1046 | ### Bug Fixes
1047 |
1048 | * actions import typo ([5bc15dc](https://github.com/CoCreate-app/CoCreate-attributes/commit/5bc15dc605077d097024ad79dc833ccbba4c9a2e))
1049 | * update dependencies ([79d7229](https://github.com/CoCreate-app/CoCreate-attributes/commit/79d7229953d403c03ceb0d19ea81bbac4ffd7bf9))
1050 |
1051 | ## [1.5.15](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.14...v1.5.15) (2021-11-27)
1052 |
1053 |
1054 | ### Bug Fixes
1055 |
1056 | * update dependencies ([d0cd9e4](https://github.com/CoCreate-app/CoCreate-attributes/commit/d0cd9e4b3feadc24cd1a71b2ffec6520a6a0928f))
1057 |
1058 | ## [1.5.14](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.13...v1.5.14) (2021-11-27)
1059 |
1060 |
1061 | ### Bug Fixes
1062 |
1063 | * update docs api and cocreateJS script ([7054a25](https://github.com/CoCreate-app/CoCreate-attributes/commit/7054a25cc2ae796073d6b79da8d9781671e783a8))
1064 |
1065 | ## [1.5.13](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.12...v1.5.13) (2021-11-26)
1066 |
1067 |
1068 | ### Bug Fixes
1069 |
1070 | * docs sidenav width ([f08c5b0](https://github.com/CoCreate-app/CoCreate-attributes/commit/f08c5b09cb1b80837a148a6c4608ef400f5d463d))
1071 |
1072 | ## [1.5.12](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.11...v1.5.12) (2021-11-26)
1073 |
1074 |
1075 | ### Bug Fixes
1076 |
1077 | * update dependencies ([c6bdc92](https://github.com/CoCreate-app/CoCreate-attributes/commit/c6bdc9276f37ffa3ea1e2737e4da28c94fe71db5))
1078 |
1079 | ## [1.5.11](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.10...v1.5.11) (2021-11-23)
1080 |
1081 |
1082 | ### Bug Fixes
1083 |
1084 | * update dependencies ([5557e8e](https://github.com/CoCreate-app/CoCreate-attributes/commit/5557e8e7935a4946896dc970dfe02ecc3dece2aa))
1085 |
1086 | ## [1.5.10](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.9...v1.5.10) (2021-11-20)
1087 |
1088 |
1089 | ### Bug Fixes
1090 |
1091 | * update dependencies ([8829333](https://github.com/CoCreate-app/CoCreate-attributes/commit/8829333d52c66a2ef96552106262a37bf0ed90a3))
1092 |
1093 | ## [1.5.9](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.8...v1.5.9) (2021-11-19)
1094 |
1095 |
1096 | ### Bug Fixes
1097 |
1098 | * update dependencies ([2f8af71](https://github.com/CoCreate-app/CoCreate-attributes/commit/2f8af714abf2a46f7fcde246f7ec6f3fe1b2efbd))
1099 |
1100 | ## [1.5.8](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.7...v1.5.8) (2021-11-18)
1101 |
1102 |
1103 | ### Bug Fixes
1104 |
1105 | * update dependencies ([755b6c5](https://github.com/CoCreate-app/CoCreate-attributes/commit/755b6c5ba3ee95ba5ce01e7f2c3d2617051ac55d))
1106 |
1107 | ## [1.5.7](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.6...v1.5.7) (2021-11-16)
1108 |
1109 |
1110 | ### Bug Fixes
1111 |
1112 | * update dependencies ([2c41927](https://github.com/CoCreate-app/CoCreate-attributes/commit/2c41927748383aea94d8c6de6c17cd438ef2e476))
1113 |
1114 | ## [1.5.6](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.5...v1.5.6) (2021-11-16)
1115 |
1116 |
1117 | ### Bug Fixes
1118 |
1119 | * if input event skip: true... return ([fcebc3f](https://github.com/CoCreate-app/CoCreate-attributes/commit/fcebc3f302901691383342b439e79bd929a87278))
1120 |
1121 | ## [1.5.5](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.4...v1.5.5) (2021-11-16)
1122 |
1123 |
1124 | ### Bug Fixes
1125 |
1126 | * update dependencies ([f3c2594](https://github.com/CoCreate-app/CoCreate-attributes/commit/f3c2594bcd271fa9b73ed73a0a58ae843425855f))
1127 |
1128 | ## [1.5.4](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.3...v1.5.4) (2021-11-16)
1129 |
1130 |
1131 | ### Bug Fixes
1132 |
1133 | * improve how eid is added ([60b1243](https://github.com/CoCreate-app/CoCreate-attributes/commit/60b12434be0cadadb14ce038f4464060063e3d4d))
1134 |
1135 | ## [1.5.3](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.2...v1.5.3) (2021-11-15)
1136 |
1137 |
1138 | ### Bug Fixes
1139 |
1140 | * update dependencies ([ea2e50e](https://github.com/CoCreate-app/CoCreate-attributes/commit/ea2e50e66f4d0dbd7c576e40565b533818718761))
1141 |
1142 | ## [1.5.2](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.1...v1.5.2) (2021-11-11)
1143 |
1144 |
1145 | ### Bug Fixes
1146 |
1147 | * update readme ([f87e031](https://github.com/CoCreate-app/CoCreate-attributes/commit/f87e031cc00885b89e7a718f71b70e2c433e0dd8))
1148 |
1149 | ## [1.5.1](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.5.0...v1.5.1) (2021-11-06)
1150 |
1151 |
1152 | ### Bug Fixes
1153 |
1154 | * update dependencies ([deb29e1](https://github.com/CoCreate-app/CoCreate-attributes/commit/deb29e10d8d6f851288bd8c33d7fb7fea9393348))
1155 |
1156 | # [1.5.0](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.4.6...v1.5.0) (2021-11-06)
1157 |
1158 |
1159 | ### Features
1160 |
1161 | * attributeTrigger function to run attributes using a trigger... currently only media query is the supported trigger. attribute-trigger=[@0px-768px](https://github.com/0px-768px) ([f514546](https://github.com/CoCreate-app/CoCreate-attributes/commit/f514546cf522fb65707f19e8615777d0fc0d01a0))
1162 |
1163 | ## [1.4.6](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.4.5...v1.4.6) (2021-11-05)
1164 |
1165 |
1166 | ### Bug Fixes
1167 |
1168 | * elements with attribte action and if new elements added after el has been clicked the will still resolve to the active element ([5d9d1b6](https://github.com/CoCreate-app/CoCreate-attributes/commit/5d9d1b6346f121196ba8d501f5d9d457b3157a21))
1169 |
1170 | ## [1.4.5](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.4.4...v1.4.5) (2021-11-04)
1171 |
1172 |
1173 | ### Bug Fixes
1174 |
1175 | * update dependencies ([6dc3e2d](https://github.com/CoCreate-app/CoCreate-attributes/commit/6dc3e2de28337ae982e397117ef44131f8eb7629))
1176 |
1177 | ## [1.4.4](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.4.3...v1.4.4) (2021-11-04)
1178 |
1179 |
1180 | ### Bug Fixes
1181 |
1182 | * update packages ([34041de](https://github.com/CoCreate-app/CoCreate-attributes/commit/34041decdf7562e3a49b7c0d5eaa23cc8b8e195b))
1183 |
1184 | ## [1.4.3](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.4.2...v1.4.3) (2021-11-03)
1185 |
1186 |
1187 | ### Bug Fixes
1188 |
1189 | * update dependencies ([e7fc10c](https://github.com/CoCreate-app/CoCreate-attributes/commit/e7fc10c98bfe3c5c9a4f41740aa5bd6722805538))
1190 |
1191 | ## [1.4.2](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.4.1...v1.4.2) (2021-11-03)
1192 |
1193 |
1194 | ### Bug Fixes
1195 |
1196 | * setting values on element during attributes intialization ([a6c78a7](https://github.com/CoCreate-app/CoCreate-attributes/commit/a6c78a75914dbd11ddce95077e1f8974d4d6ea1b))
1197 |
1198 | ## [1.4.1](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.4.0...v1.4.1) (2021-11-02)
1199 |
1200 |
1201 | ### Bug Fixes
1202 |
1203 | * removed @cocreate/pickr and @cocreate/select ([cd265c4](https://github.com/CoCreate-app/CoCreate-attributes/commit/cd265c4dc2d510cc357ee38ad3d7cfea93d4d6c8))
1204 |
1205 | # [1.4.0](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.3.2...v1.4.0) (2021-11-02)
1206 |
1207 |
1208 | ### Features
1209 |
1210 | * now uses el.setValue and el.getValue... any new componenets that want to intergrate with attributes needs to add the setValue and getValue function to the element ([5c193d1](https://github.com/CoCreate-app/CoCreate-attributes/commit/5c193d1fc36d09db992f3fa174e06d0265cc8fda))
1211 |
1212 | ## [1.3.2](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.3.1...v1.3.2) (2021-11-01)
1213 |
1214 |
1215 | ### Bug Fixes
1216 |
1217 | * if input.type file return ([59243ff](https://github.com/CoCreate-app/CoCreate-attributes/commit/59243ffea4cb60714d45f036f9836a8b07880f9e))
1218 |
1219 | ## [1.3.1](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.3.0...v1.3.1) (2021-11-01)
1220 |
1221 |
1222 | ### Bug Fixes
1223 |
1224 | * update package dependencies ([da87dd2](https://github.com/CoCreate-app/CoCreate-attributes/commit/da87dd2c3c92d88da9168be4ea4e74cd0d0f4f34))
1225 |
1226 | # [1.3.0](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.35...v1.3.0) (2021-11-01)
1227 |
1228 |
1229 | ### Features
1230 |
1231 | * attribute-target can now target a container in same document or in another document. creating websitebuilders or richtexteditors just became a lot simpler ([29bdb9a](https://github.com/CoCreate-app/CoCreate-attributes/commit/29bdb9a435bba08e8bd86898db04565a879f12ed))
1232 |
1233 | ## [1.2.35](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.34...v1.2.35) (2021-10-30)
1234 |
1235 |
1236 | ### Bug Fixes
1237 |
1238 | * removed complex selector, refactored swith cases so that default includes input, textarea ([990e95b](https://github.com/CoCreate-app/CoCreate-attributes/commit/990e95bc5ed1abb72a19cfd64f47684a65e83ca4))
1239 |
1240 | ## [1.2.34](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.33...v1.2.34) (2021-10-29)
1241 |
1242 |
1243 | ### Bug Fixes
1244 |
1245 | * update dependencies ([19e55dc](https://github.com/CoCreate-app/CoCreate-attributes/commit/19e55dcfbd0d5cbe4871256bc99f1a129b9a27eb))
1246 |
1247 | ## [1.2.33](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.32...v1.2.33) (2021-10-29)
1248 |
1249 |
1250 | ### Bug Fixes
1251 |
1252 | * commented message and related functions. thinking that collaboration can be handled by crud or crdt ([8f524ed](https://github.com/CoCreate-app/CoCreate-attributes/commit/8f524edc34e3fe1068b2365f90741538e88dfc24))
1253 | * commented message functions ([52caa66](https://github.com/CoCreate-app/CoCreate-attributes/commit/52caa66184f13ac70a877bc57cc1e45d4fbaaaf1))
1254 |
1255 | ## [1.2.32](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.31...v1.2.32) (2021-10-17)
1256 |
1257 |
1258 | ### Bug Fixes
1259 |
1260 | * update dependendies ([518e0bf](https://github.com/CoCreate-app/CoCreate-attributes/commit/518e0bfe949161bbd9fc41bc75474c6664ad3f51))
1261 |
1262 | ## [1.2.31](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.30...v1.2.31) (2021-10-16)
1263 |
1264 |
1265 | ### Bug Fixes
1266 |
1267 | * update socket package to fix bug in docs ([bee7d44](https://github.com/CoCreate-app/CoCreate-attributes/commit/bee7d4466a8405a81a58029a55e088357c0a8535))
1268 |
1269 | ## [1.2.30](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.29...v1.2.30) (2021-10-15)
1270 |
1271 |
1272 | ### Bug Fixes
1273 |
1274 | * update dependencies ([8261dd5](https://github.com/CoCreate-app/CoCreate-attributes/commit/8261dd582c2e25f8c13427fcd262751fd45946be))
1275 | * update dependencies ([53cbb75](https://github.com/CoCreate-app/CoCreate-attributes/commit/53cbb75cf5bc3637eac730566eed8d7a0f13dc58))
1276 |
1277 | ## [1.2.29](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.28...v1.2.29) (2021-10-15)
1278 |
1279 |
1280 | ### Bug Fixes
1281 |
1282 | * update packages ([1e266a5](https://github.com/CoCreate-app/CoCreate-attributes/commit/1e266a50858a0aaf210b0580a749d57a95d32cbb))
1283 |
1284 | ## [1.2.28](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.27...v1.2.28) (2021-10-15)
1285 |
1286 |
1287 | ### Bug Fixes
1288 |
1289 | * update packages ([61714f1](https://github.com/CoCreate-app/CoCreate-attributes/commit/61714f1cef1c8c92ef801dbcc1f398177094b759))
1290 | * updated dependencies ([32cedc7](https://github.com/CoCreate-app/CoCreate-attributes/commit/32cedc73c8b83457ab5196dd364c8a1612d55b2b))
1291 |
1292 | ## [1.2.27](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.26...v1.2.27) (2021-10-13)
1293 |
1294 |
1295 | ### Bug Fixes
1296 |
1297 | * update descriptions ([5594f30](https://github.com/CoCreate-app/CoCreate-attributes/commit/5594f30e18fef19b1b1fa5b72b6265b840373bd4))
1298 |
1299 | ## [1.2.26](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.25...v1.2.26) (2021-10-13)
1300 |
1301 |
1302 | ### Bug Fixes
1303 |
1304 | * update packages ([c18a82f](https://github.com/CoCreate-app/CoCreate-attributes/commit/c18a82fae75a4fefca6d2af149be938d2bf7f1ea))
1305 |
1306 | ## [1.2.25](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.24...v1.2.25) (2021-10-13)
1307 |
1308 |
1309 | ### Bug Fixes
1310 |
1311 | * update dependencies ([d35efce](https://github.com/CoCreate-app/CoCreate-attributes/commit/d35efcea97bbfa8eed3e01c3b49122c572641fe9))
1312 |
1313 | ## [1.2.24](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.23...v1.2.24) (2021-10-13)
1314 |
1315 |
1316 | ### Bug Fixes
1317 |
1318 | * update packages ([7113370](https://github.com/CoCreate-app/CoCreate-attributes/commit/711337005818fefc98f03a2cf56a5908c6f4eb72))
1319 |
1320 | ## [1.2.23](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.22...v1.2.23) (2021-10-06)
1321 |
1322 |
1323 | ### Bug Fixes
1324 |
1325 | * update dependencies ([9bda1ac](https://github.com/CoCreate-app/CoCreate-attributes/commit/9bda1ace1d56373d773ec2b029735463ad61b8dc))
1326 |
1327 | ## [1.2.22](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.21...v1.2.22) (2021-10-06)
1328 |
1329 |
1330 | ### Bug Fixes
1331 |
1332 | * update crdt dependency ([5047858](https://github.com/CoCreate-app/CoCreate-attributes/commit/5047858620fd6d09a35f4a774678c89dd39088b0))
1333 |
1334 | ## [1.2.21](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.20...v1.2.21) (2021-10-05)
1335 |
1336 |
1337 | ### Bug Fixes
1338 |
1339 | * update dependencies ([286c8c1](https://github.com/CoCreate-app/CoCreate-attributes/commit/286c8c1d14b4d07fafdbd17119beb765cef97d97))
1340 | * website_id in CoCreate.config ([e40b306](https://github.com/CoCreate-app/CoCreate-attributes/commit/e40b3067704dd1786ce857ead3e821d98fbe81dd))
1341 |
1342 | ## [1.2.20](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.19...v1.2.20) (2021-10-04)
1343 |
1344 |
1345 | ### Bug Fixes
1346 |
1347 | * update dependencies ([9de7307](https://github.com/CoCreate-app/CoCreate-attributes/commit/9de7307abdc1e5750ec818785af47b83c6dcc650))
1348 |
1349 | ## [1.2.19](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.18...v1.2.19) (2021-10-04)
1350 |
1351 |
1352 | ### Bug Fixes
1353 |
1354 | * update dependencies ([11a8ece](https://github.com/CoCreate-app/CoCreate-attributes/commit/11a8ece65978a6bc68321bf57c3520bdec69dc13))
1355 |
1356 | ## [1.2.18](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.17...v1.2.18) (2021-10-02)
1357 |
1358 |
1359 | ### Bug Fixes
1360 |
1361 | * update input using crdt if input has crdt=true attribute ([ef7ccde](https://github.com/CoCreate-app/CoCreate-attributes/commit/ef7ccdeb76b5fb6c2cd8285e4a4ba3261ff7f74f))
1362 |
1363 | ## [1.2.17](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.16...v1.2.17) (2021-10-02)
1364 |
1365 |
1366 | ### Bug Fixes
1367 |
1368 | * if hasUpdated dont send change to domText ([9a0ad80](https://github.com/CoCreate-app/CoCreate-attributes/commit/9a0ad808d5577feeca77ad90ef65b038da244ac8))
1369 |
1370 | ## [1.2.16](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.15...v1.2.16) (2021-10-02)
1371 |
1372 |
1373 | ### Bug Fixes
1374 |
1375 | * if contentEditable update text ([30c6323](https://github.com/CoCreate-app/CoCreate-attributes/commit/30c6323a63a4b284f5954d39520e9530524a9e19))
1376 |
1377 | ## [1.2.15](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.14...v1.2.15) (2021-10-01)
1378 |
1379 |
1380 | ### Bug Fixes
1381 |
1382 | * update packages ([8e30b19](https://github.com/CoCreate-app/CoCreate-attributes/commit/8e30b197ea656f1767f6a7b245077b74786cc7db))
1383 |
1384 | ## [1.2.14](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.13...v1.2.14) (2021-10-01)
1385 |
1386 |
1387 | ### Bug Fixes
1388 |
1389 | * update dependencies ([392561e](https://github.com/CoCreate-app/CoCreate-attributes/commit/392561ecc2a0e176177d45210cdc8603d244fd46))
1390 |
1391 | ## [1.2.13](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.12...v1.2.13) (2021-09-28)
1392 |
1393 |
1394 | ### Bug Fixes
1395 |
1396 | * update dependencies ([608b37b](https://github.com/CoCreate-app/CoCreate-attributes/commit/608b37b2c58738668fe13c7cf2ee63ce1e5f2f36))
1397 |
1398 | ## [1.2.12](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.11...v1.2.12) (2021-09-16)
1399 |
1400 |
1401 | ### Bug Fixes
1402 |
1403 | * update dependencies ([8099e80](https://github.com/CoCreate-app/CoCreate-attributes/commit/8099e80997bbefe6d7257f4a33d25b4b34203cdd))
1404 |
1405 | ## [1.2.11](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.10...v1.2.11) (2021-09-16)
1406 |
1407 |
1408 | ### Bug Fixes
1409 |
1410 | * could not read value of an array of objects. and threw error if error legnth 0 ([93bbd28](https://github.com/CoCreate-app/CoCreate-attributes/commit/93bbd283daa7c168fd60031a0c30494c8833b349))
1411 |
1412 | ## [1.2.10](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.9...v1.2.10) (2021-09-14)
1413 |
1414 |
1415 | ### Bug Fixes
1416 |
1417 | * add cocreate.app to domains ([9bdbb0c](https://github.com/CoCreate-app/CoCreate-attributes/commit/9bdbb0cf4b503e5909646cf6d02666017c0b3504))
1418 |
1419 | ## [1.2.9](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.8...v1.2.9) (2021-09-13)
1420 |
1421 |
1422 | ### Bug Fixes
1423 |
1424 | * upgrade dependencies ([996ece0](https://github.com/CoCreate-app/CoCreate-attributes/commit/996ece0259bc05807bec9e66f6dcc9b9d13c2d8a))
1425 |
1426 | ## [1.2.8](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.7...v1.2.8) (2021-09-12)
1427 |
1428 |
1429 | ### Bug Fixes
1430 |
1431 | * update sidenav to use resize and toggle ([616ef9a](https://github.com/CoCreate-app/CoCreate-attributes/commit/616ef9a365e65d2e282d99828bb7924dfb528b30))
1432 |
1433 | ## [1.2.7](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.6...v1.2.7) (2021-09-09)
1434 |
1435 |
1436 | ### Bug Fixes
1437 |
1438 | * update dependency @cocreate/docs ([35e50cb](https://github.com/CoCreate-app/CoCreate-attributes/commit/35e50cb691d180962f1955eab33e3ba3b584dd2e))
1439 |
1440 | ## [1.2.6](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.5...v1.2.6) (2021-09-09)
1441 |
1442 |
1443 | ### Bug Fixes
1444 |
1445 | * ci docs ([51b16cc](https://github.com/CoCreate-app/CoCreate-attributes/commit/51b16cc141f2febc4601ea03306f60c7e130edaa))
1446 |
1447 | ## [1.2.5](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.4...v1.2.5) (2021-09-09)
1448 |
1449 |
1450 | ### Bug Fixes
1451 |
1452 | * update dependencies ([6e5e6c3](https://github.com/CoCreate-app/CoCreate-attributes/commit/6e5e6c308627f514a71661c52c003c6fcf90c1fa))
1453 |
1454 | ## [1.2.4](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.3...v1.2.4) (2021-09-09)
1455 |
1456 |
1457 | ### Bug Fixes
1458 |
1459 | * CoCreate.config directory, path, name and public ([aa61379](https://github.com/CoCreate-app/CoCreate-attributes/commit/aa6137937820565190035882d78ed9c062e32e72))
1460 |
1461 | ## [1.2.3](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.2...v1.2.3) (2021-09-08)
1462 |
1463 |
1464 | ### Bug Fixes
1465 |
1466 | * update dependencies ([359774f](https://github.com/CoCreate-app/CoCreate-attributes/commit/359774f10634a0fca98f168a682673499f871dab))
1467 |
1468 | ## [1.2.2](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.1...v1.2.2) (2021-09-06)
1469 |
1470 |
1471 | ### Bug Fixes
1472 |
1473 | * setvalue ([1f4edba](https://github.com/CoCreate-app/CoCreate-attributes/commit/1f4edba5bcc6d8525c1129840d171012c68aa515))
1474 |
1475 | ## [1.2.1](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.2.0...v1.2.1) (2021-09-04)
1476 |
1477 |
1478 | ### Bug Fixes
1479 |
1480 | * update dependencies ([31bb7c4](https://github.com/CoCreate-app/CoCreate-attributes/commit/31bb7c45f5f8a50cb486307305bb873829faa83e))
1481 |
1482 | # [1.2.0](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.1.11...v1.2.0) (2021-09-04)
1483 |
1484 |
1485 | ### Bug Fixes
1486 |
1487 | * webpack ([c19b17e](https://github.com/CoCreate-app/CoCreate-attributes/commit/c19b17e3a6b4eadc094606870869cc2592fc315d))
1488 |
1489 |
1490 | ### Features
1491 |
1492 | * dispatch attribute changes, support for iframes ([6796766](https://github.com/CoCreate-app/CoCreate-attributes/commit/6796766fa6f3d36404faf30bf33f873f4febb59e))
1493 |
1494 | ## [1.1.11](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.1.10...v1.1.11) (2021-08-27)
1495 |
1496 |
1497 | ### Bug Fixes
1498 |
1499 | * updaed dependencies ([d53ff5d](https://github.com/CoCreate-app/CoCreate-attributes/commit/d53ff5d573673fea9f4016e321630fdc41271768))
1500 |
1501 | ## [1.1.10](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.1.9...v1.1.10) (2021-08-27)
1502 |
1503 |
1504 | ### Bug Fixes
1505 |
1506 | * cocreate could not be found in canvas went to parent ([b6a8050](https://github.com/CoCreate-app/CoCreate-attributes/commit/b6a805001081fe4ba0b63e5cc675ece96dc9315b))
1507 |
1508 | ## [1.1.9](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.1.8...v1.1.9) (2021-08-23)
1509 |
1510 |
1511 | ### Bug Fixes
1512 |
1513 | * update package versions ([f7fa0bd](https://github.com/CoCreate-app/CoCreate-attributes/commit/f7fa0bd838018f28d0af00d13ba9f9628d09e304))
1514 |
1515 | ## [1.1.8](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.1.7...v1.1.8) (2021-08-22)
1516 |
1517 |
1518 | ### Bug Fixes
1519 |
1520 | * removed data- from main-content, clone, filter-value_type ([7969e7c](https://github.com/CoCreate-app/CoCreate-attributes/commit/7969e7c63da70e5d141905a587edeaab05eb45c5))
1521 |
1522 | ## [1.1.7](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.1.6...v1.1.7) (2021-08-22)
1523 |
1524 |
1525 | ### Bug Fixes
1526 |
1527 | * bump package versions ([691292f](https://github.com/CoCreate-app/CoCreate-attributes/commit/691292fed37ff6b8be4ffcbdbfe889a050bac218))
1528 |
1529 | ## [1.1.6](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.1.5...v1.1.6) (2021-08-22)
1530 |
1531 |
1532 | ### Bug Fixes
1533 |
1534 | * bump dependancy package versions ([68a8601](https://github.com/CoCreate-app/CoCreate-attributes/commit/68a860189288e6e219483e36c70128fe57134438))
1535 |
1536 | ## [1.1.5](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.1.4...v1.1.5) (2021-08-22)
1537 |
1538 |
1539 | ### Bug Fixes
1540 |
1541 | * bump package versions ([c76fd6c](https://github.com/CoCreate-app/CoCreate-attributes/commit/c76fd6c9d4d25a15894b2a4d1e6a4de792281c64))
1542 |
1543 | ## [1.1.4](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.1.3...v1.1.4) (2021-08-14)
1544 |
1545 |
1546 | ### Bug Fixes
1547 |
1548 | * removed data- from attribute ([4b84503](https://github.com/CoCreate-app/CoCreate-attributes/commit/4b84503f3187aa555a6d99cc23831ef9da578b0e))
1549 | * rename data-element_id to element_id ([0c1c1f7](https://github.com/CoCreate-app/CoCreate-attributes/commit/0c1c1f7b6f0084ed997b8d6164dc19f50e453304))
1550 | * temporary solution for multiple init issue with builder ([a556362](https://github.com/CoCreate-app/CoCreate-attributes/commit/a556362d644e5809e4b1dc3cd576c30206b50559))
1551 | * temporary solution for multiple init issue with builder ([6dd7253](https://github.com/CoCreate-app/CoCreate-attributes/commit/6dd7253bbf0f08c081b53639ce00edf4dbb01b39))
1552 | * update to docs ([e9d8fd8](https://github.com/CoCreate-app/CoCreate-attributes/commit/e9d8fd861d3a8a0dbf8bfa6e63ba5aaeae0c3635))
1553 |
1554 | ## [1.1.3](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.1.2...v1.1.3) (2021-08-03)
1555 |
1556 |
1557 | ### Bug Fixes
1558 |
1559 | * get crdt.replateText params from element ([4a6ed5c](https://github.com/CoCreate-app/CoCreate-attributes/commit/4a6ed5c90364a20877bc43145bbfc7f3a26f451f))
1560 |
1561 | ## [1.1.2](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.1.1...v1.1.2) (2021-08-02)
1562 |
1563 |
1564 | ### Bug Fixes
1565 |
1566 | * remove data- from attributes ([8ad79fe](https://github.com/CoCreate-app/CoCreate-attributes/commit/8ad79feb8532847030c255ccb9b6072863e1d630))
1567 | * update data-fullscreen to fullscreen ([6cf4bd3](https://github.com/CoCreate-app/CoCreate-attributes/commit/6cf4bd3550eb07a1d31c4c5c49f09ed1d39a8fea))
1568 |
1569 | ## [1.1.1](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.1.0...v1.1.1) (2021-07-28)
1570 |
1571 |
1572 | ### Bug Fixes
1573 |
1574 | * remove data- from fetch, pass and filter ([357407b](https://github.com/CoCreate-app/CoCreate-attributes/commit/357407bc8b9c11303ab48eebfe2e069fb5fbd413))
1575 |
1576 | # [1.1.0](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.30...v1.1.0) (2021-07-28)
1577 |
1578 |
1579 | ### Features
1580 |
1581 | * add new is{attribute} system and remove data- from attributtes ([17636b7](https://github.com/CoCreate-app/CoCreate-attributes/commit/17636b7b0fa52270f0776067572cc154c3151290))
1582 |
1583 | ## [1.0.30](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.29...v1.0.30) (2021-07-17)
1584 |
1585 |
1586 | ### Bug Fixes
1587 |
1588 | * COCreate.text true or false ([ea4e23c](https://github.com/CoCreate-app/CoCreate-attributes/commit/ea4e23c6a97603d5a2a78d6a940ee7c6e9a772c1))
1589 | * init and update demos scripts ([a4cc720](https://github.com/CoCreate-app/CoCreate-attributes/commit/a4cc7209687936d1f2ea0fc8ef1594f756ec4bf7))
1590 | * workflows ([2e3a439](https://github.com/CoCreate-app/CoCreate-attributes/commit/2e3a43908a7dfb832f16b60fb3f152c0158fa963))
1591 |
1592 | ## [1.0.29](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.28...v1.0.29) (2021-07-14)
1593 |
1594 |
1595 | ### Bug Fixes
1596 |
1597 | * upgrade all packages ([87efe74](https://github.com/CoCreate-app/CoCreate-attributes/commit/87efe744a667657cc4019881081e935de4379edf))
1598 |
1599 | ## [1.0.28](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.27...v1.0.28) (2021-07-13)
1600 |
1601 |
1602 | ### Bug Fixes
1603 |
1604 | * add yarn lockfile to git ignore ([f9e862d](https://github.com/CoCreate-app/CoCreate-attributes/commit/f9e862dbc51947ef791c88c83a825dd761e7861e))
1605 | * remove yarn.lock ([5c7efa8](https://github.com/CoCreate-app/CoCreate-attributes/commit/5c7efa8f14bb69b70e5d89712272dd1c3271d439))
1606 |
1607 | ## [1.0.27](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.26...v1.0.27) (2021-07-10)
1608 |
1609 |
1610 | ### Bug Fixes
1611 |
1612 | * gitignore all logs ([fd36019](https://github.com/CoCreate-app/CoCreate-attributes/commit/fd36019e4a2cb0c9948457a0cc0813f6a5638b0e))
1613 |
1614 | ## [1.0.26](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.25...v1.0.26) (2021-07-07)
1615 |
1616 |
1617 | ### Bug Fixes
1618 |
1619 | * update package versions ([7f68fb9](https://github.com/CoCreate-app/CoCreate-attributes/commit/7f68fb945f075cda308ad040d069f80bdf9f49be))
1620 |
1621 | ## [1.0.25](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.24...v1.0.25) (2021-06-30)
1622 |
1623 |
1624 | ### Bug Fixes
1625 |
1626 | * Update readme.md ([315a1ff](https://github.com/CoCreate-app/CoCreate-attributes/commit/315a1ff2031725f1b2489fbf27918f5f5765441a))
1627 |
1628 | ## [1.0.24](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.23...v1.0.24) (2021-06-30)
1629 |
1630 |
1631 | ### Bug Fixes
1632 |
1633 | * automated and manual workflows ([bfd93b6](https://github.com/CoCreate-app/CoCreate-attributes/commit/bfd93b622c1aacaf2a02500f2ced68b8e92447d8))
1634 |
1635 | ## [1.0.23](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.22...v1.0.23) (2021-06-25)
1636 |
1637 |
1638 | ### Bug Fixes
1639 |
1640 | * latest version numbers applied to all cocreate packages ([4e0ac79](https://github.com/CoCreate-app/CoCreate-attributes/commit/4e0ac79bec7b19914ce172295cd9a0ea4a17a40b))
1641 |
1642 | ## [1.0.22](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.21...v1.0.22) (2021-06-24)
1643 |
1644 |
1645 | ### Bug Fixes
1646 |
1647 | * package versioningto 1.0.0 ([053014c](https://github.com/CoCreate-app/CoCreate-attributes/commit/053014c59840a30629a79cef984e8a75c7bb4fd6))
1648 |
1649 | ## [1.0.21](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.20...v1.0.21) (2021-06-24)
1650 |
1651 |
1652 | ### Bug Fixes
1653 |
1654 | * update all [@cocreate](https://github.com/cocreate) to use latest versions ([696b33c](https://github.com/CoCreate-app/CoCreate-attributes/commit/696b33cdbda2da37154f8a9abbca5fa64065dbe8))
1655 |
1656 | ## [1.0.20](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.19...v1.0.20) (2021-06-20)
1657 |
1658 |
1659 | ### Bug Fixes
1660 |
1661 | * new mutaionObserver init function ([4bd000f](https://github.com/CoCreate-app/CoCreate-attributes/commit/4bd000f00d0f61d4e05f79529e241fcba578fc17))
1662 |
1663 | ## [1.0.19](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.18...v1.0.19) (2021-06-16)
1664 |
1665 |
1666 | ### Bug Fixes
1667 |
1668 | * added header for seo ([4046a23](https://github.com/CoCreate-app/CoCreate-attributes/commit/4046a233d7040baba71fb7c9c6f6d034290398c8))
1669 |
1670 | ## [1.0.18](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.17...v1.0.18) (2021-06-06)
1671 |
1672 |
1673 | ### Bug Fixes
1674 |
1675 | * add hashtag for selector ([808d19c](https://github.com/CoCreate-app/CoCreate-attributes/commit/808d19cbc9edc590662bda3c00e68558b58f95c6))
1676 | * observe canvas ([ff4b873](https://github.com/CoCreate-app/CoCreate-attributes/commit/ff4b873135c221b23b2a6f553f05ec4aec541bca))
1677 | * update packages, add uuid, add data-parse to demos ([9adf27e](https://github.com/CoCreate-app/CoCreate-attributes/commit/9adf27e748cbe1ba12a181ec8ca21a24168afad0))
1678 |
1679 | ## [1.0.17](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.16...v1.0.17) (2021-05-24)
1680 |
1681 |
1682 | ### Bug Fixes
1683 |
1684 | * updated select package ([f5bc4b0](https://github.com/CoCreate-app/CoCreate-attributes/commit/f5bc4b0c7604e9e5bba23bf396f4cc7f5c91cbf9))
1685 |
1686 | ## [1.0.16](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.15...v1.0.16) (2021-05-24)
1687 |
1688 |
1689 | ### Bug Fixes
1690 |
1691 | * avoid error by return failure ([bce2839](https://github.com/CoCreate-app/CoCreate-attributes/commit/bce28397bced0b7685242c9caddb5d70a7f2179b))
1692 |
1693 | ## [1.0.15](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.14...v1.0.15) (2021-05-08)
1694 |
1695 |
1696 | ### Bug Fixes
1697 |
1698 | * add css auto parse and save to docs. ([73de3db](https://github.com/CoCreate-app/CoCreate-attributes/commit/73de3db9d6fffc2a51282d01c228f0bc4b5a62f2))
1699 |
1700 | ## [1.0.14](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.13...v1.0.14) (2021-04-27)
1701 |
1702 |
1703 | ### Bug Fixes
1704 |
1705 | * add host in docs ([8b5b3b1](https://github.com/CoCreate-app/CoCreate-attributes/commit/8b5b3b1a8166d3345ab9fbf55acbcd00b673ed4b))
1706 |
1707 | ## [1.0.13](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.12...v1.0.13) (2021-04-27)
1708 |
1709 |
1710 | ### Bug Fixes
1711 |
1712 | * Update to readme, demo, added cdn scripts ([97a72ac](https://github.com/CoCreate-app/CoCreate-attributes/commit/97a72ac55ed1b8735c21269cc193152eae4d629e))
1713 |
1714 | ## [1.0.12](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.11...v1.0.12) (2021-04-23)
1715 |
1716 |
1717 | ### Bug Fixes
1718 |
1719 | * readme and documentation. Removed securitykeys ([d1be6ab](https://github.com/CoCreate-app/CoCreate-attributes/commit/d1be6ab6ea6cce4f6f051d0cc363932307b90ad9))
1720 |
1721 | ## [1.0.11](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.10...v1.0.11) (2021-04-19)
1722 |
1723 |
1724 | ### Bug Fixes
1725 |
1726 | * add missing packages ([380067f](https://github.com/CoCreate-app/CoCreate-attributes/commit/380067f5ca6a73965f6afd6fb5fc686dd342c25e))
1727 |
1728 | ## [1.0.10](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.9...v1.0.10) (2021-04-19)
1729 |
1730 |
1731 | ### Bug Fixes
1732 |
1733 | * add missing packages ([895fd4f](https://github.com/CoCreate-app/CoCreate-attributes/commit/895fd4f4734b51f7d5758d07dc1a65df2a5b64e3))
1734 |
1735 | ## [1.0.9](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.8...v1.0.9) (2021-04-19)
1736 |
1737 |
1738 | ### Bug Fixes
1739 |
1740 | * ci and build process ([2626cf5](https://github.com/CoCreate-app/CoCreate-attributes/commit/2626cf5a12d8b9b5ac4796d6ced689bd08ced236))
1741 | * npm publish and cdn deployment ([b25cc92](https://github.com/CoCreate-app/CoCreate-attributes/commit/b25cc9273d2135c79ec4c0322187a51721d9692d))
1742 |
1743 | ## [1.0.8](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.7...v1.0.8) (2021-04-14)
1744 |
1745 |
1746 | ### Bug Fixes
1747 |
1748 | * message version ([9e87a0b](https://github.com/CoCreate-app/CoCreate-attributes/commit/9e87a0b8bb1ff885bc0922ae7d6aceff2476a6cb))
1749 |
1750 | ## [1.0.7](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.6...v1.0.7) (2021-04-14)
1751 |
1752 |
1753 | ### Bug Fixes
1754 |
1755 | * message version ([50e0b13](https://github.com/CoCreate-app/CoCreate-attributes/commit/50e0b13c58a388966e7d9ebb23781d9688e293cd))
1756 |
1757 | ## [1.0.6](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.5...v1.0.6) (2021-04-14)
1758 |
1759 |
1760 | ### Bug Fixes
1761 |
1762 | * update packages ([9dacbbb](https://github.com/CoCreate-app/CoCreate-attributes/commit/9dacbbbdc01fb6c8dea685594383229a868a7f15))
1763 |
1764 | ## [1.0.5](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.4...v1.0.5) (2021-03-31)
1765 |
1766 |
1767 | ### Bug Fixes
1768 |
1769 | * remove yarn.lock and package-lock.json ([b7a0e50](https://github.com/CoCreate-app/CoCreate-attributes/commit/b7a0e504a6cc128c9d12725e7c049b1495ba7e55))
1770 |
1771 | ## [1.0.4](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.3...v1.0.4) (2021-03-30)
1772 |
1773 |
1774 | ### Bug Fixes
1775 |
1776 | * import from npm ([1beec13](https://github.com/CoCreate-app/CoCreate-attributes/commit/1beec139864d5b4b65f1a7a9531e612ee28ae73d))
1777 | * import from npm ([5301da9](https://github.com/CoCreate-app/CoCreate-attributes/commit/5301da92fb51786ac1dc25f887a9f213c7290d3b))
1778 | * import paths using npm ([1584211](https://github.com/CoCreate-app/CoCreate-attributes/commit/1584211df31346630f86eee06f9e29792ca032b9))
1779 |
1780 | ## [1.0.3](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.2...v1.0.3) (2021-03-30)
1781 |
1782 |
1783 | ### Bug Fixes
1784 |
1785 | * cocreatejs from npm ([cbdcf42](https://github.com/CoCreate-app/CoCreate-attributes/commit/cbdcf42a0b917af63e97c52c39973943d5cbfd49))
1786 |
1787 | ## [1.0.2](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.1...v1.0.2) (2021-03-29)
1788 |
1789 |
1790 | ### Bug Fixes
1791 |
1792 | * Package.json paths ([b80f861](https://github.com/CoCreate-app/CoCreate-attributes/commit/b80f861fd4d607301ca4a516ab76ec097a52e303))
1793 |
1794 | ## [1.0.1](https://github.com/CoCreate-app/CoCreate-attributes/compare/v1.0.0...v1.0.1) (2021-03-29)
1795 |
1796 |
1797 | ### Bug Fixes
1798 |
1799 | * Package Paths ([97f56a4](https://github.com/CoCreate-app/CoCreate-attributes/commit/97f56a42349162c1f6dab6f987d7e6c9ad6fa41d))
1800 |
1801 | # 1.0.0 (2021-01-24)
1802 |
1803 |
1804 | ### Bug Fixes
1805 |
1806 | * skip working where no canvas ([e861b89](https://github.com/CoCreate-app/CoCreate-attributes/commit/e861b89997f0abcf2173a2b0816403781040ae7d))
1807 |
1808 |
1809 | ### Features
1810 |
1811 | * Initial Release ([044e46d](https://github.com/CoCreate-app/CoCreate-attributes/commit/044e46d019c2ee29d85855858ff1b56251991740))
1812 |
1813 | # CHANGELOG
1814 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # Contributing to CoCreate-attributes
2 |
3 | This project is work of [many contributors](https://github.com/CoCreate-app/CoCreate-attributes/graphs/contributors).
4 | You're encouraged to submit [pull requests](https://github.com/CoCreate-app/CoCreate-attributes/pulls),
5 | [propose features and discuss issues](https://github.com/CoCreate-app/CoCreate-attributes/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-attributes) and check out your copy.
12 |
13 | ```
14 | git attributes https://github.com/contributor/CoCreate-attributes.git
15 | cd CoCreate-attributes
16 | git remote add upstream https://github.com/CoCreate-app/CoCreate-attributes.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-attributes](https://github.com/CoCreate-app/CoCreate-attributes) 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": "6019b2844eea0817df303b06",
10 | "name": "index.html",
11 | "path": "/docs/attributes",
12 | "pathname": "/docs/attributes/index.html",
13 | "src": "{{./docs/index.html}}",
14 | "host": [
15 | "*"
16 | ],
17 | "directory": "attributes",
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-attributes
2 |
3 | Simple HTML5 & JavaScript component add, update & remove values in element's attributes from input, select or js api. Easily configured using HTML5 attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/attributes)
4 |
5 | 
6 | 
7 | 
8 | 
9 | 
10 | 
11 |
12 | 
13 |
14 | ## [Docs & Demo](https://cocreate.app/docs/attributes)
15 |
16 | For a complete guide and working demo refer to the [doumentation](https://cocreate.app/docs/attributes)
17 |
18 | ## CDN
19 |
20 | ```html
21 |
22 | ```
23 |
24 | ```html
25 |
26 | ```
27 |
28 | ## NPM
29 |
30 | ```shell
31 | $ npm i @cocreate/attributes
32 | ```
33 |
34 | ## yarn
35 |
36 | ```shell
37 | $ yarn install @cocreate/attributes
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-attributes/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-attributes/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-attributes/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-attributes/pulls). We would love to hear your feedback.
60 |
61 |
62 |
63 | # About
64 |
65 | CoCreate-attributes 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-attributes 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-attributes/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-attributes/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-attributes/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-attributes/blob/master/LICENSE)
86 |
--------------------------------------------------------------------------------
/demo/iframe.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
10 |
13 |
14 |
15 | Attributes | CoCreateJS
16 |
17 |
18 |
23 |
24 |
25 |
26 |
27 | canvas;#new
28 | canvas;
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/demo/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Attributes | CoCreateJS
5 |
6 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
23 |
24 |
25 |
26 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
--------------------------------------------------------------------------------
/docs/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | CoCreate-attributes Documentation | CoCreateJS
8 |
13 |
16 |
17 |
20 |
21 |
29 |
30 |
31 |
32 |
33 |
34 |
42 |
55 |
59 |
61 |
62 |
CoCreate-domEditorPanel
63 |
64 |
110 |
116 |
117 |
118 |
120 | Simple HTML5 & JavaScript component operate add, update
121 | & remove values in element's attributes from input, select
122 | or js api. Easy configuration using class, style or any custom
123 | attribute. Highly customizable and styleable.
124 |
125 |
128 |
130 |
136 |
140 | Install
141 |
146 |
147 |
148 |
149 |
npm i @cocreate/action
150 |
151 | Or you can use cdn link:
152 |
153 |
<script>https://cdn.cocreate.app/attributes/latest/CoCreate-attributes.min.js</script>
154 |
155 |
161 |
165 | Usage
166 |
171 |
172 |
173 |
174 |
175 | This is domEditorPanel usage
176 |
177 |
178 |
181 |
182 | This is domEditorPanel usage
183 |
184 |
185 | This is domEditorPanel usage
186 |
187 |
188 |
194 |
198 | Attributes
199 |
204 |
205 |
206 |
207 |
209 |
210 | domEditorPanel
211 | string
214 | optional
217 |
218 | domEditorPanel-attribute
219 |
220 |
222 |
223 | domEditorPanel
224 | string
227 | optional
230 |
231 | domEditorPanel-attribute
232 |
233 |
234 |
235 |
236 |
238 |
239 |
245 |
249 | Demo
250 |
255 |
256 |
257 |
258 |
260 |
261 |
264 |
281 |
282 |
287 |
288 |
290 |
301 |
311 |
318 |
328 |
332 |
333 |
334 |
335 |
336 |
337 |
338 |
342 |
343 |
344 |
345 |
346 |
347 |
348 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@cocreate/attributes",
3 | "version": "1.15.3",
4 | "description": "Simple HTML5 & JavaScript component add, update & remove values in element's attributes from input, select or js api. Easily configured using HTML5 attributes and/or JavaScript API.",
5 | "keywords": [
6 | "cocreate",
7 | "no-code-framework",
8 | "cocreatejs",
9 | "cocreatejs-component",
10 | "cocreate-framework",
11 | "no-code",
12 | "low-code",
13 | "collaborative-framework",
14 | "realtime",
15 | "realtime-framework",
16 | "collaboration",
17 | "shared-editing",
18 | "html5-framework",
19 | "javascript-framework"
20 | ],
21 | "publishConfig": {
22 | "access": "public"
23 | },
24 | "scripts": {
25 | "start": "npx webpack --config webpack.config.js",
26 | "build": "npx webpack --mode=production --config webpack.config.js",
27 | "dev": "npx webpack --config webpack.config.js --watch",
28 | "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); } }\""
29 | },
30 | "repository": {
31 | "type": "git",
32 | "url": "git+https://github.com/CoCreate-app/CoCreate-attributes.git"
33 | },
34 | "author": "CoCreate LLC",
35 | "license": "MIT",
36 | "bugs": {
37 | "url": "https://github.com/CoCreate-app/CoCreate-attributes/issues"
38 | },
39 | "homepage": "https://cocreate.app/docs/attributes",
40 | "funding": {
41 | "type": "GitHub Sponsors ❤",
42 | "url": "https://github.com/sponsors/CoCreate-app"
43 | },
44 | "main": "./src/index.js",
45 | "devDependencies": {
46 | "css-loader": "^5.1.3",
47 | "esbuild": "^0.25.2",
48 | "esbuild-loader": "^4.3.0",
49 | "html-webpack-plugin": "^5.3.1",
50 | "mini-css-extract-plugin": "^1.4.0",
51 | "webpack": "^5.24.4",
52 | "webpack-cli": "^4.5.0",
53 | "webpack-log": "^3.0.1"
54 | },
55 | "dependencies": {
56 | "@cocreate/actions": "^1.21.1",
57 | "@cocreate/crdt": "^1.28.1",
58 | "@cocreate/observer": "^1.18.1",
59 | "@cocreate/utils": "^1.39.0"
60 | }
61 | }
62 |
--------------------------------------------------------------------------------
/prettier.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | tabWidth: 4,
3 | semi: true,
4 | trailingComma: "none",
5 | bracketSameLine: true,
6 | useTabs: true,
7 | overrides: [
8 | {
9 | files: ["*.json", "*.yml", "*.yaml"],
10 | options: {
11 | tabWidth: 2,
12 | useTabs: false
13 | },
14 | }
15 | ],
16 | };
--------------------------------------------------------------------------------
/release.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | dryRun: false,
3 | branches: ["master"],
4 | plugins: [
5 | "@semantic-release/commit-analyzer",
6 | "@semantic-release/release-notes-generator",
7 | [
8 | "@semantic-release/changelog",
9 | {
10 | changelogFile: "CHANGELOG.md",
11 | },
12 | ],
13 | "@semantic-release/npm",
14 | "@semantic-release/github",
15 | [
16 | "@semantic-release/git",
17 | {
18 | assets: ["CHANGELOG.md", "package.json"],
19 | },
20 | ],
21 | ],
22 | };
--------------------------------------------------------------------------------
/src/common.js:
--------------------------------------------------------------------------------
1 |
2 | export function parseClassRules(str) {
3 | return str.split(' ').filter(cln => cln);
4 |
5 | }
6 |
7 | export function getCoCreateStyle(classList) {
8 | let styles = {};
9 | classList.forEach((classname) => {
10 | let [name, value] = classname.split(":");
11 | styles[toCamelCase(name)] = value;
12 | });
13 |
14 | return styles;
15 | }
16 |
17 |
18 |
19 |
20 | export function setStyleClassIfDif (element, { property, camelProperty, value, computedStyles }) {
21 | let classList = element.classList;
22 | let styleList = new Map();
23 | classList.forEach((classname) => {
24 | let [name, value] = classname.split(":");
25 | value && styleList.set(name, value);
26 | });
27 |
28 | let elValue = styleList.get(property);
29 |
30 | if (value) {
31 | if (elValue) {
32 | if (elValue != value)
33 | return classList.replace(`${property}:${elValue}`, `${property}:${value}`);
34 | }
35 | else if (computedStyles[camelProperty] != value && !classList.contains(`${property}:${value}`)) {
36 | classList.add(`${property}:${value}`);
37 | return true;
38 | }
39 |
40 | }
41 | else {
42 | if (classList.contains(`${property}:${elValue}`)) {
43 | classList.remove(`${property}:${elValue}`);
44 | return true;
45 | }
46 |
47 | }
48 |
49 | return false
50 | }
51 |
52 |
53 | export function setAttributeIfDif (property, value) {
54 | if (this.getAttribute(property) !== value) {
55 | if (value)
56 | this.setAttribute(property, value);
57 | else
58 | this.removeAttribute(property)
59 | return true;
60 | }
61 | return false;
62 | }
63 |
64 | export function setStyleIfDif ({ property, camelProperty, value, computedStyles }) {
65 | if (computedStyles[camelProperty] && computedStyles[camelProperty] !== value) {
66 | this.style[property] = value;
67 | return true;
68 | }
69 | else return false;
70 | }
71 |
72 | // CoCreate Select helper end
73 | export function parseCssRules(str) {
74 | let styleObject = {};
75 | if (str.split)
76 | str.split(";").forEach((rule) => {
77 | let ruleSplit = rule.split(":");
78 | let key = ruleSplit.shift().trim();
79 | let value = ruleSplit.join().trim();
80 | if (key) styleObject[key] = value;
81 | });
82 |
83 | return styleObject;
84 | }
85 |
86 | export function rgba2hex(orig) {
87 | let a, isPercent,
88 | rgb = orig.replace(/\s/g, '').match(/^rgba?\((\d+),(\d+),(\d+),?([^,\s)]+)?/i),
89 | alpha = (rgb && rgb[4] || "").trim(),
90 | hex = rgb ?
91 | (rgb[1] | 1 << 8).toString(16).slice(1) +
92 | (rgb[2] | 1 << 8).toString(16).slice(1) +
93 | (rgb[3] | 1 << 8).toString(16).slice(1) : orig;
94 |
95 | if (alpha !== "") {
96 | a = alpha;
97 | }
98 | else {
99 | a = 1;
100 | }
101 | // multiply before convert to HEX
102 | a = ((a * 255) | 1 << 8).toString(16).slice(1)
103 | hex = hex + a;
104 |
105 | return hex;
106 | }
107 |
108 |
109 |
110 | export function parseUnit(style) {
111 | let value = parseFloat(style);
112 | if (isNaN(value))
113 | return [style, '']
114 | else {
115 | let valueLength = (value + "").length;
116 | return [value, style.substring(valueLength)];
117 |
118 | }
119 | }
120 |
121 |
122 | export function toCamelCase(str) {
123 | let index = 0;
124 | do {
125 | index = str.indexOf("-", index);
126 | if (index !== -1) {
127 | let t = str.substring(0, index);
128 | t += String.fromCharCode(str.charCodeAt(index + 1) - 32);
129 | t += str.substring(index + 2);
130 | str = t;
131 | }
132 | else break;
133 | } while (true);
134 | return str;
135 | }
136 |
137 | // export function setCCStyle({ property, camelProperty, value, computedStyles }) {
138 | // let hasChanged = false;
139 | // if (computedStyles[camelProperty] && computedStyles[camelProperty] !== value) {
140 | // for (let classname of this.classList) {
141 | // let [name, styleValue] = classname.split(":");
142 | // if (name === property && styleValue) {
143 | // if (value)
144 | // this.classList.replace(classname, property + ":" + value);
145 | // else
146 | // this.classList.remove(classname)
147 | // hasChanged = true;
148 | // break;
149 | // }
150 | // }
151 | // if (!hasChanged)
152 | // this.classList.add(property + ":" + value);
153 | // return true;
154 | // } else
155 | // return false;
156 | // }
157 |
158 |
159 |
160 |
161 | export function elStore() {
162 | this.cache = new Map();
163 | this.spread = function set(key, object) {
164 | this.cache.set(key, { ...this.cache.get(key), ...object });
165 | }
166 | this.set = function set(key, property, value) {
167 | this.cache.set(key, { ...this.cache.get(key), [property]: value });
168 | }
169 | this.get = function get(key, property) {
170 | let value = this.cache.get(key)
171 | return value ? value[property] : undefined;
172 | }
173 | this.reset = function reset(key) {
174 | this.cache.delete(key)
175 | }
176 | }
177 |
--------------------------------------------------------------------------------
/src/index.js:
--------------------------------------------------------------------------------
1 | /*global CoCreate, CustomEvent*/
2 |
3 | import {
4 | elStore,
5 | setStyleIfDif,
6 | setAttributeIfDif,
7 | setStyleClassIfDif,
8 | getCoCreateStyle,
9 | toCamelCase,
10 | parseUnit
11 | } from "./common.js";
12 |
13 | import observer from "@cocreate/observer";
14 | import crdt from "@cocreate/crdt";
15 | import uuid from "@cocreate/uuid";
16 | import action from "@cocreate/actions";
17 | import { cssPath } from "@cocreate/utils";
18 |
19 | let cache = new elStore();
20 | let containers = new Map();
21 | let initDocument = document;
22 | let initializing;
23 | // let activeElement;
24 |
25 | function init() {
26 | let inputs = document.querySelectorAll(`[attribute-query]`);
27 | initElements(inputs);
28 | initEvents();
29 | }
30 |
31 | function initElements(inputs, el) {
32 | for (let input of inputs) initElement(input, el);
33 | }
34 |
35 | async function initElement(input, el) {
36 | try {
37 | // let value = await getInputValue(input);
38 |
39 | let selector = input.getAttribute("attribute-query");
40 | if (selector.trim().endsWith(";")) {
41 | addClickEvent(input, selector);
42 | } else {
43 | if (input.hasAttribute("actions")) return;
44 | let { element, type, property, camelProperty } = await parseInput(
45 | input,
46 | el
47 | );
48 | if (!element) return;
49 |
50 | if (input.hasAttribute("attribute-trigger"))
51 | attributeTrigger({
52 | input,
53 | element,
54 | type,
55 | property,
56 | camelProperty,
57 | isColl: false
58 | });
59 | else
60 | updateInput({
61 | input,
62 | element,
63 | type,
64 | property,
65 | camelProperty,
66 | isColl: true
67 | });
68 |
69 | // TODO: if input has a value updateElement, need to be catious with observer target update input may have previousvalue
70 | if (!el && value) {
71 | updateElement({
72 | input,
73 | element,
74 | type,
75 | property,
76 | camelProperty,
77 | isColl: true
78 | });
79 | }
80 | }
81 | } catch (err) {}
82 | }
83 |
84 | const triggers = new Map();
85 | function attributeTrigger({
86 | input,
87 | element,
88 | type,
89 | property,
90 | camelProperty,
91 | isColl
92 | }) {
93 | let trigger = input.getAttribute("attribute-trigger");
94 | if (trigger) {
95 | if (trigger.includes("@")) {
96 | trigger = trigger.replace("@", "");
97 | var [from, to] = trigger.split("-");
98 | from = parseFloat(from);
99 | to = parseFloat(to);
100 | }
101 | }
102 | triggers.set(input, {
103 | element,
104 | type,
105 | property,
106 | camelProperty,
107 | isColl,
108 | from,
109 | to
110 | });
111 | let width = document.documentElement.clientWidth;
112 | if (width >= from && width <= to)
113 | updateElement({
114 | input,
115 | element,
116 | type,
117 | property,
118 | camelProperty,
119 | isColl
120 | });
121 |
122 | const resizeObserver = new ResizeObserver((e) => {
123 | // let element = e.target;
124 | for (let [
125 | input,
126 | { element, type, property, camelProperty, isColl, from, to }
127 | ] of triggers) {
128 | let width = e[0].contentRect.width;
129 | if (width >= from && width <= to)
130 | updateElement({
131 | input,
132 | element,
133 | type,
134 | property,
135 | camelProperty,
136 | isColl
137 | });
138 | }
139 | });
140 | resizeObserver.observe(document.documentElement);
141 | }
142 |
143 | function addClickEvent(input, selector) {
144 | let container;
145 | let Document;
146 | if (selector.indexOf(";") !== -1) {
147 | let [frameSelector, target] = selector.split(";");
148 | let frame = document.querySelector(frameSelector);
149 | Document = frame.contentDocument;
150 | if (target && target != " " && frame) {
151 | container = Document.querySelector(target);
152 | } else if (frame) {
153 | container = Document;
154 | }
155 | } else container = document.querySelector(selector);
156 |
157 | if (!containers.has(container)) {
158 | let inputs = new Map();
159 | let containrMap = new Map();
160 | container.addEventListener("click", elClicked);
161 | containrMap.set("inputs", inputs);
162 | containrMap.set("activeElement", "");
163 | containers.set(container, containrMap);
164 | }
165 | if (input.classList.contains("color-picker")) getPickr(container);
166 | else {
167 | let activeElement = containers.get(container).get("activeElement");
168 | // if (activeElement)
169 | input.targetElement = activeElement;
170 | containers.get(container).get("inputs").set(input, "");
171 | }
172 | }
173 |
174 | function getPickr(container) {
175 | let inputs = document.queryselectorAll(
176 | ".pickr[attribute][attribute-query]"
177 | );
178 | for (let input of inputs)
179 | containers.get(container).get("inputs").set(input, "");
180 | }
181 |
182 | async function elClicked(e) {
183 | let inputs = containers.get(e.currentTarget).get("inputs");
184 | let activeElement = containers.get(e.currentTarget).get("activeElement");
185 | if (activeElement == e.target) return;
186 | initializing = e.target;
187 | containers.get(e.currentTarget).set("activeElement", e.target);
188 | let eid = e.target.getAttribute("eid");
189 | for (let [input] of inputs) {
190 | input.targetElement = e.target;
191 | if (!eid) {
192 | if (e.target.id) {
193 | eid = e.target.id;
194 | } else {
195 | eid = uuid.generate(6);
196 | let domTextEditor;
197 | if (e.currentTarget.nodeName == "#document") {
198 | let documentElement = e.currentTarget.documentElement;
199 | if (documentElement.hasAttribute("contenteditable"))
200 | domTextEditor = documentElement;
201 | } else if (e.currentTarget.hasAttribute("contenteditable"))
202 | domTextEditor = e.currentTarget;
203 | if (domTextEditor)
204 | CoCreate.text.setAttribute({
205 | domTextEditor,
206 | target: e.target,
207 | name: "eid",
208 | value: eid
209 | });
210 | }
211 | e.target.setAttribute("eid", eid);
212 | }
213 | input.value = "";
214 |
215 | let attribute;
216 | if (input.id) attribute = input.id;
217 | else attribute = input.getAttribute("attribute-property");
218 | if (!attribute) attribute = input.getAttribute("attribute");
219 |
220 | input.setAttribute("name", attribute + "-" + eid);
221 |
222 | let { element, type, property, camelProperty } = await parseInput(
223 | input,
224 | e.target
225 | );
226 | if (element && !input.hasAttribute("actions")) {
227 | updateInput({
228 | input,
229 | element,
230 | type,
231 | property,
232 | camelProperty,
233 | isColl: false
234 | });
235 | }
236 | }
237 | initializing = "";
238 | }
239 |
240 | async function parseInput(input, element) {
241 | if (!element) {
242 | let selector = input.getAttribute("attribute-query");
243 | if (!selector) return false;
244 | if (selector.indexOf(";") !== -1) {
245 | let [frameSelector, target] = selector.split(";");
246 | let frame = document.querySelector(frameSelector);
247 | if (frame && target) {
248 | let Document = frame.contentDocument;
249 | element = Document.querySelector(target);
250 | }
251 | } else element = initDocument.querySelector(selector);
252 | input.targetElement = element;
253 | }
254 |
255 | if (!element) return;
256 |
257 | let type = input.getAttribute("attribute");
258 | if (!type) type = "class";
259 | type = type.toLowerCase();
260 |
261 | let camelProperty,
262 | property = input.getAttribute("attribute-property");
263 | if (property) {
264 | camelProperty = toCamelCase(property);
265 | property = property.toLowerCase();
266 | }
267 |
268 | return { element, type, property, camelProperty };
269 | }
270 |
271 | function initEvents() {
272 | initDocument.addEventListener("input", inputEvent);
273 | observerElements(initDocument.defaultView);
274 | }
275 |
276 | async function inputEvent(e) {
277 | if (e.detail && e.detail.skip === true) return;
278 | let input = e.target;
279 | if (!input.hasAttribute("attribute")) return;
280 | let el = input.targetElement;
281 | if (el && el == initializing) return;
282 | let { element, type, property, camelProperty } = await parseInput(
283 | input,
284 | el
285 | );
286 | updateElement({
287 | input,
288 | element,
289 | type,
290 | property,
291 | camelProperty,
292 | isColl: true
293 | });
294 | }
295 |
296 | let observerInit = new Map();
297 |
298 | function observerElements(initWindow) {
299 | initWindow.parent.CoCreate.observer.init({
300 | name: "ccAttribute",
301 | types: ["attributes"], // "characterData"
302 | callback: (mutation) => {
303 | if (mutation.attributeName != "attribute-unit") return;
304 | let inputs = getInputFromElement(
305 | mutation.target,
306 | mutation.attributeName
307 | );
308 | initElements(inputs, mutation.target);
309 | }
310 | });
311 | observerInit.set(initWindow);
312 | }
313 |
314 | function getInputFromElement(element, attribute) {
315 | let inputs = initDocument.querySelectorAll(`[attribute="${attribute}"]`);
316 | let matching = [];
317 | for (let input of inputs) {
318 | let selector = input.getAttribute("attribute-query");
319 | if (selector && element.matches(selector)) matching.push(input);
320 | }
321 | return matching;
322 | }
323 |
324 | function removeZeros(str) {
325 | let i = 0;
326 | for (let len = str.length; i < len; i++) {
327 | if (str[i] !== "0") break;
328 | }
329 | return str.substring(i) || (str && "0");
330 | }
331 |
332 | async function updateElement({
333 | input,
334 | element,
335 | collValue,
336 | isColl,
337 | unit,
338 | type,
339 | property,
340 | camelProperty,
341 | ...rest
342 | }) {
343 | if (element && element == initializing) return;
344 | if (!element) {
345 | let e = { target: input };
346 | inputEvent(e);
347 | return;
348 | }
349 | let inputValue =
350 | collValue != undefined ? collValue : await getInputValue(input);
351 | if (!inputValue) return;
352 |
353 | if (!Array.isArray(inputValue)) {
354 | inputValue = unit && inputValue ? inputValue + unit : inputValue;
355 | inputValue = removeZeros(inputValue);
356 | } else inputValue.forEach((a) => removeZeros(a.value));
357 |
358 | let hasUpdated = updateElementValue({
359 | ...rest,
360 | type,
361 | property,
362 | camelProperty,
363 | input,
364 | element,
365 | inputValue,
366 | isColl,
367 | hasCollValue: collValue != undefined
368 | });
369 |
370 | cache.reset(element);
371 |
372 | let types = ["attribute", "classstyle", "style", "innerText"];
373 | if (!types.includes(type)) {
374 | property = type;
375 | type = "attribute";
376 | }
377 |
378 | let value;
379 | let item;
380 | if (Array.isArray(inputValue)) {
381 | if (!inputValue.length) return;
382 | if (property === "class")
383 | value = inputValue.map((o) => o.value).join(" ");
384 | else
385 | try {
386 | item = inputValue[0];
387 | value = item.value;
388 | } catch (err) {
389 | console.error(err);
390 | }
391 | } else value = inputValue;
392 |
393 | if (hasUpdated && isColl) {
394 | let domTextEditor = element.closest("[contenteditable]");
395 | if (domTextEditor && CoCreate.text) {
396 | try {
397 | let target = element;
398 | unit = input.getAttribute("attribute-unit") || "";
399 | switch (type) {
400 | case "attribute":
401 | CoCreate.text.setAttribute({
402 | domTextEditor,
403 | target,
404 | name: property,
405 | value
406 | });
407 | break;
408 | case "classstyle":
409 | CoCreate.text.setClass({
410 | domTextEditor,
411 | target,
412 | value: `${property}:${value}${unit}`
413 | });
414 | break;
415 | case "style":
416 | CoCreate.text.setStyle({
417 | domTextEditor,
418 | target,
419 | property,
420 | value: `${value}${unit}`
421 | });
422 | break;
423 | case "innerText":
424 | CoCreate.text.setInnerText({
425 | domTextEditor,
426 | target,
427 | value
428 | });
429 | break;
430 | case "class":
431 | CoCreate.text.setClass({
432 | domTextEditor,
433 | target,
434 | value
435 | });
436 | break;
437 |
438 | default:
439 | console.error("ccAttribute to domText no action");
440 | }
441 | } catch (err) {
442 | console.log("domText: dom-to-text: " + err);
443 | }
444 | }
445 | }
446 | // hasUpdated && isColl && initDocument.dispatchEvent(new CustomEvent('attributes', {
447 | hasUpdated &&
448 | isColl &&
449 | input.dispatchEvent(
450 | new CustomEvent("attributes", {
451 | detail: {
452 | value,
453 | unit: input.getAttribute("attribute-unit"),
454 | input,
455 | element,
456 | type,
457 | property,
458 | ...rest
459 | }
460 | })
461 | );
462 | }
463 |
464 | function updateElementValue({
465 | type,
466 | property,
467 | camelProperty,
468 | input,
469 | element,
470 | inputValue,
471 | isColl,
472 | hasCollValue
473 | }) {
474 | let domTextEditor = element.closest("[contenteditable]");
475 | if (isColl && domTextEditor && CoCreate.text) return true;
476 | let computedStyles, value, unit;
477 | switch (type) {
478 | case "classstyle":
479 | unit = input.getAttribute("attribute-unit") || "";
480 | inputValue = Array.isArray(inputValue)
481 | ? inputValue.value
482 | : inputValue;
483 | // TODO: process the inputValue array to return a string array of values
484 | // if (Array.isArray(inputValue)){
485 | // inputValue = ;
486 | // }
487 | value =
488 | inputValue && !hasCollValue ? inputValue + unit : inputValue;
489 | value = value || "";
490 | computedStyles = getRealStaticCompStyle(element);
491 | return setStyleClassIfDif(element, {
492 | property,
493 | camelProperty,
494 | value,
495 | computedStyles
496 | });
497 |
498 | case "style":
499 | unit = input.getAttribute("attribute-unit") || "";
500 | inputValue = Array.isArray(inputValue)
501 | ? inputValue.value
502 | : inputValue;
503 | value =
504 | inputValue && !hasCollValue ? inputValue + unit : inputValue;
505 | value = value || "";
506 | computedStyles = getRealStaticCompStyle(element);
507 | return setStyleIfDif.call(element, {
508 | property,
509 | camelProperty,
510 | value,
511 | computedStyles
512 | });
513 |
514 | case "innerText":
515 | if (element.innerText != inputValue) {
516 | element.innerText = inputValue;
517 | return true;
518 | } else return false;
519 | // default is setAttribute
520 | default:
521 | if (typeof inputValue == "string") {
522 | return setAttributeIfDif.call(element, type, inputValue);
523 | } else {
524 | if (!inputValue.length)
525 | return setAttributeIfDif.call(element, type, "");
526 | else if (type === "class") {
527 | value = inputValue.map((o) => o.value).join(" ");
528 | return setAttributeIfDif.call(element, type, value);
529 | } else
530 | for (let inputSValue of inputValue) {
531 | if (inputSValue.checked) {
532 | return setAttributeIfDif.call(
533 | element,
534 | type,
535 | inputSValue.value
536 | );
537 | } else if (element.hasAttribute(type)) {
538 | element.removeAttribute(type);
539 | return true;
540 | }
541 | }
542 | }
543 |
544 | break;
545 | }
546 | }
547 |
548 | function updateInput({ type, property, camelProperty, element, input }) {
549 | let computedStyles, value, value2, styleValue, unit;
550 | if (!input) return console.error("CoCreate Attributes: input not found");
551 | switch (type) {
552 | case "class":
553 | value = Array.from(element.classList);
554 | break;
555 | case "classstyle":
556 | let ccStyle = getCoCreateStyle(element.classList);
557 | if (ccStyle[camelProperty]) value2 = ccStyle[camelProperty];
558 | else {
559 | computedStyles = getRealStaticCompStyle(element);
560 | value2 = computedStyles[camelProperty];
561 | }
562 | if (!value2) {
563 | return console.warn(
564 | `"${property}" can not be found in style object`
565 | );
566 | }
567 | [styleValue, unit] = parseUnit(value2);
568 | value = styleValue;
569 | setAttributeIfDif.call(input, "attribute-unit", unit);
570 | break;
571 | case "style":
572 | computedStyles = getRealStaticCompStyle(element);
573 | value2 = computedStyles[camelProperty];
574 | if (!value2) {
575 | return console.warn(
576 | `"${property}" can not be found in style object`
577 | );
578 | }
579 | [styleValue, unit] = parseUnit(value2);
580 | value = styleValue;
581 | setAttributeIfDif.call(input, "attribute-unit", unit);
582 | break;
583 | case "innerText":
584 | value = element.innerText;
585 | break;
586 | default:
587 | value = element.getAttribute(type);
588 | break;
589 | }
590 |
591 | setInputValue(input, value != undefined ? value : "");
592 | }
593 |
594 | function setInputValue(input, value) {
595 | if (input.type == "file") return;
596 | if (input.getAttribute("crdt") == "true")
597 | crdt.replaceText({
598 | array: input.getAttribute("array"),
599 | object: input.getAttribute("object"),
600 | name: input.getAttribute("name"),
601 | value: value + "",
602 | save: input.getAttribute("save"),
603 | crud: input.getAttribute("crud")
604 | });
605 | else input.setValue(value);
606 | }
607 |
608 | async function getInputValue(input) {
609 | if (!input) return;
610 | let value = await input.getValue();
611 | if (value) return value;
612 | return false;
613 | }
614 |
615 | function getRealStaticCompStyle(element) {
616 | if (cache.get(element, "valid"))
617 | return cache.get(element, "computedStyles");
618 | setTimeout(() => {
619 | cache.reset(element);
620 | }, 5000);
621 | let oldDispaly = element.style.display;
622 | element.style.display = "none";
623 | let computedStylesLive = window.getComputedStyle(element);
624 | let computedStyles = Object.assign({}, computedStylesLive);
625 | computedStyles.display = oldDispaly;
626 |
627 | element.style.display = oldDispaly;
628 | if (element.getAttribute("style") == "") element.removeAttribute("style");
629 | element.removeAttribute("no-observe");
630 | cache.spread(element, { computedStyles, valid: true });
631 | return computedStyles;
632 | }
633 |
634 | init();
635 |
636 | observer.init({
637 | name: "ccAttribute",
638 | types: ["addedNodes"],
639 | selector: "[attribute]",
640 | callback: function (mutation) {
641 | initElement(mutation.target);
642 | }
643 | });
644 |
645 | observer.init({
646 | name: "ccAttribute",
647 | types: ["attributes"],
648 | attributeFilter: ["attribute-query"],
649 | callback: function (mutation) {
650 | initElement(mutation.target);
651 | }
652 | });
653 |
654 | observer.init({
655 | name: "ccAttribute",
656 | types: ["attributes"],
657 | // attributeFilter: ["attribute", "attribute-property", "attribute-unit", "value"],
658 | attributeFilter: ["attribute-unit"],
659 | callback: function (mutation) {
660 | updateElement({ input: mutation.target, isColl: true });
661 | if (mutation.attributeName != "attribute-unit") return;
662 | let inputs = getInputFromElement(
663 | mutation.target,
664 | mutation.attributeName
665 | );
666 | initElements(inputs, mutation.target);
667 | }
668 | });
669 |
670 | action.init({
671 | name: "attributes",
672 | endEvent: "attributes",
673 | callback: (data) => {
674 | updateElement({ input: data.element, isColl: true });
675 | }
676 | });
677 |
678 | export default { init };
679 |
--------------------------------------------------------------------------------
/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-attributes": "./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", "attributes"],
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 |
--------------------------------------------------------------------------------