diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 4af9f46..f61dfea 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,3 +1,3 @@ -# These are supported funding model platforms - -github: CoCreate-app +# These are supported funding model platforms + +github: CoCreate-app diff --git a/.github/workflows/automated.yml b/.github/workflows/automated.yml index 1681062..2929e9f 100644 --- a/.github/workflows/automated.yml +++ b/.github/workflows/automated.yml @@ -1,95 +1,95 @@ -name: Automated -"on": - push: - branches: - - master -jobs: - about: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: setup nodejs - uses: actions/setup-node@v3 - with: - node-version: 16 - - name: Jaid/action-sync-node-meta - uses: jaid/action-sync-node-meta@v1.4.0 - with: - direction: overwrite-github - githubToken: "${{ secrets.GITHUB }}" - release: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: setup nodejs - uses: actions/setup-node@v3 - with: - node-version: 16 - - name: Semantic Release - uses: cycjimmy/semantic-release-action@v3 - id: semantic - with: - extra_plugins: | - @semantic-release/changelog - @semantic-release/git - @semantic-release/github - env: - GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - NPM_TOKEN: "${{ secrets.NPM_TOKEN }}" - outputs: - new_release_published: "${{ steps.semantic.outputs.new_release_published }}" - new_release_version: "${{ steps.semantic.outputs.new_release_version }}" - cdn: - runs-on: ubuntu-latest - needs: release - if: needs.release.outputs.new_release_published == 'true' - env: - VERSION: "${{ needs.release.outputs.new_release_version }}" - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: setup nodejs - uses: actions/setup-node@v3 - with: - node-version: 16 - - name: yarn install - run: > - echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > - .npmrc - - yarn install - - name: yarn build - run: yarn build - - name: upload bundle as version - uses: CoCreate-app/CoCreate-s3@master - with: - aws-key-id: "${{ secrets.AWSACCESSKEYID }}" - aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}" - bucket: testcrudbucket - source: ./dist - destination: "/lazy-loader/${{env.VERSION}}" - acl: public-read - - name: upload bundle as latest - uses: CoCreate-app/CoCreate-s3@master - with: - aws-key-id: "${{ secrets.AWSACCESSKEYID }}" - aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}" - bucket: testcrudbucket - source: ./dist - destination: /lazy-loader/latest - acl: public-read - invalidations: true - docs: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: setup nodejs - uses: actions/setup-node@v3 - with: - node-version: 16 - - - name: update documentation - uses: CoCreate-app/CoCreate-docs@master +name: Automated +"on": + push: + branches: + - master +jobs: + about: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: setup nodejs + uses: actions/setup-node@v3 + with: + node-version: 16 + - name: Jaid/action-sync-node-meta + uses: jaid/action-sync-node-meta@v1.4.0 + with: + direction: overwrite-github + githubToken: "${{ secrets.GITHUB }}" + release: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: setup nodejs + uses: actions/setup-node@v3 + with: + node-version: 14 + - name: Semantic Release + uses: cycjimmy/semantic-release-action@v3 + id: semantic + with: + extra_plugins: | + @semantic-release/changelog + @semantic-release/git + @semantic-release/github + env: + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + NPM_TOKEN: "${{ secrets.NPM_TOKEN }}" + outputs: + new_release_published: "${{ steps.semantic.outputs.new_release_published }}" + new_release_version: "${{ steps.semantic.outputs.new_release_version }}" + cdn: + runs-on: ubuntu-latest + needs: release + if: needs.release.outputs.new_release_published == 'true' + env: + VERSION: "${{ needs.release.outputs.new_release_version }}" + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: setup nodejs + uses: actions/setup-node@v3 + with: + node-version: 16 + - name: yarn install + run: > + echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > + .npmrc + + yarn install + - name: yarn build + run: yarn build + - name: upload bundle as version + uses: CoCreate-app/CoCreate-s3@master + with: + aws-key-id: "${{ secrets.AWSACCESSKEYID }}" + aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}" + bucket: testcrudbucket + source: ./dist + destination: "/lazy-loader/${{env.VERSION}}" + acl: public-read + - name: upload bundle as latest + uses: CoCreate-app/CoCreate-s3@master + with: + aws-key-id: "${{ secrets.AWSACCESSKEYID }}" + aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}" + bucket: testcrudbucket + source: ./dist + destination: /lazy-loader/latest + acl: public-read + invalidations: true + docs: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: setup nodejs + uses: actions/setup-node@v3 + with: + node-version: 16 + + - name: update documentation + uses: CoCreate-app/CoCreate-docs@master diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index de5731a..821997f 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -1,44 +1,44 @@ -name: Manual Workflow -on: - workflow_dispatch: - inputs: - invalidations: - description: | - If set to 'true', invalidates previous upload. - default: "true" - required: true - -jobs: - cdn: - runs-on: ubuntu-latest - env: - DRY_RUN: ${{ github.event.inputs.dry_run }} - GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - NPM_TOKEN: "${{ secrets.NPM_TOKEN }}" - - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: setup nodejs - uses: actions/setup-node@v3 - with: - node-version: 16 - - name: yarn install - run: > - echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > - .npmrc - - yarn install - - name: yarn build - run: yarn build - - name: upload latest bundle - uses: CoCreate-app/CoCreate-s3@master - with: - aws-key-id: "${{ secrets.AWSACCESSKEYID }}" - aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}" - distributionId: "${{ secrets.DISTRIBUTION_ID }}" - bucket: testcrudbucket - source: ./dist - destination: /lazy-loader/latest - acl: public-read - invalidations: ${{ github.event.inputs.invalidations }} +name: Manual Workflow +on: + workflow_dispatch: + inputs: + invalidations: + description: | + If set to 'true', invalidates previous upload. + default: "true" + required: true + +jobs: + cdn: + runs-on: ubuntu-latest + env: + DRY_RUN: ${{ github.event.inputs.dry_run }} + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + NPM_TOKEN: "${{ secrets.NPM_TOKEN }}" + + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: setup nodejs + uses: actions/setup-node@v3 + with: + node-version: 16 + - name: yarn install + run: > + echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > + .npmrc + + yarn install + - name: yarn build + run: yarn build + - name: upload latest bundle + uses: CoCreate-app/CoCreate-s3@master + with: + aws-key-id: "${{ secrets.AWSACCESSKEYID }}" + aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}" + distributionId: "${{ secrets.DISTRIBUTION_ID }}" + bucket: testcrudbucket + source: ./dist + destination: /lazy-loader/latest + acl: public-read + invalidations: ${{ github.event.inputs.invalidations }} diff --git a/.gitignore b/.gitignore index 538fa4a..c8ae56f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,14 +1,14 @@ -# ignore -node_modules -dist -package-lock.json -yarn.lock -pnpm-lock.yaml - -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -lerna-debug.log* -.pnpm-debug.log* +# ignore +node_modules +dist +package-lock.json +yarn.lock +pnpm-lock.yaml + +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* +.pnpm-debug.log* diff --git a/CHANGELOG.md b/CHANGELOG.md index fecddf3..86f811d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,611 +1,618 @@ -## [1.3.12](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.11...v1.3.12) (2023-06-02) - - -### Bug Fixes - -* format demo html ([9dbc0f5](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/9dbc0f53f74dead2d4255d8b5335b3ed88a29fd5)) -* Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([787bc43](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/787bc439fc5ed4117de9e2e41ccb8d50b1438bcb)) - -## [1.3.11](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.10...v1.3.11) (2023-05-21) - - -### Bug Fixes - -* Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([af11800](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/af118003fefdcfc853c3ee7cc338f9929172b379)) - -## [1.3.10](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.9...v1.3.10) (2023-05-19) - - -### Bug Fixes - -* 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. ([cc3a9dd](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/cc3a9dd3cd2f1ae1766112121a2d1f1b1fa5d1f3)) - -## [1.3.9](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.8...v1.3.9) (2023-05-10) - - -### Bug Fixes - -* apikey renamed to key ([85a1bad](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/85a1bad09b881c81d2b4e8779156643dbce11487)) -* apikey renamed to key ([b9830d8](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/b9830d8cac1691070c0188e220e0611c023daf06)) - -## [1.3.8](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.7...v1.3.8) (2023-05-06) - - -### Bug Fixes - -* bump [@cocreate](https://github.com/cocreate) dependencies ([00f5981](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/00f5981f49294d8ef38aa9076560659c6c4643da)) - -## [1.3.7](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.6...v1.3.7) (2023-05-02) - - -### Bug Fixes - -* removed unused functions ([f440ea8](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/f440ea8f713ca918ac08a7d4ae0a92255880cd21)) - -## [1.3.6](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.5...v1.3.6) (2023-05-01) - - -### Bug Fixes - -* update manifest.json to manifest.webmanifest ([b605f27](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/b605f27956d535d00f849ec0c8482c827eb07fe0)) - -## [1.3.5](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.4...v1.3.5) (2023-05-01) - - -### Bug Fixes - -* replace fontawesome with svg ([e326c44](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/e326c440604ec18dc264ca3ed5e12aea94f23c12)) - -## [1.3.4](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.3...v1.3.4) (2023-04-30) - - -### Bug Fixes - -* fullscreen target updated to fullscreen fullscreen-target ([7ab305f](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/7ab305fb87e31ff1f73f533bc5bd51225fd6ce2a)) -* package-lock.json and pnpm-lock.yaml added to .gitignore ([2860da1](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/2860da13dfa4a82a5048951ec011186ef9ce5f4c)) -* removed toogle fullscreen icons. now using css content ([ead687e](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/ead687e94040343b55309af848db3f06381bbd49)) - -## [1.3.3](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.2...v1.3.3) (2023-04-24) - - -### Bug Fixes - -* updated worrkflows to v3 and node version 16 ([17d53a1](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/17d53a15f8ea8df467f0e0c668b71be0abd50eae)) -* workflow node version updated 16 ([017ca62](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/017ca6248b051a221902bc1ec15764cd06dcb182)) - -## [1.3.2](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.1...v1.3.2) (2023-04-24) - - -### Bug Fixes - -* bump [@cocreate](https://github.com/cocreate) dependencies ([56d7d76](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/56d7d76194f9034121b36eaa775d18b2acbce3ac)) - -## [1.3.1](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.0...v1.3.1) (2023-04-24) - - -### Bug Fixes - -* removed uglifyjs-webpack-plugin ([d559a31](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/d559a312c533bccd8352736f43c883d9db25b41c)) - -# [1.3.0](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.2.6...v1.3.0) (2023-04-24) - - -### Features - -* added pwa manifest ([d9654fb](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/d9654fbb9c803ca385f6e78c900a29b5cf23d337)) - -## [1.2.6](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.2.5...v1.2.6) (2023-04-11) - - -### Bug Fixes - -* bump dependencies ([dc382c9](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/dc382c91173fc1a37d1c79ebde637443645b3489)) - -## [1.2.5](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.2.4...v1.2.5) (2023-04-11) - - -### Bug Fixes - -* bump [@cocreate](https://github.com/cocreate) dependencies ([3e461dc](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/3e461dc4298c6c2087c34aba21758790787ad313)) - -## [1.2.4](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.2.3...v1.2.4) (2023-04-11) - - -### Bug Fixes - -* renamed domains to hosts ([bf7cb7d](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/bf7cb7d38f5b637f05ae8e372a49d7c418dadddb)) - -## [1.2.3](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.2.2...v1.2.3) (2023-03-30) - - -### Bug Fixes - -* bump [@cocreate](https://github.com/cocreate) dependencies' ([b6c89f5](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/b6c89f5491adcb92e931e5352413984372796132)) - -## [1.2.2](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.2.1...v1.2.2) (2023-03-16) - - -### Bug Fixes - -* bump dependencies' ([d921dc4](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/d921dc41880d3f50fb3e6ab574987e0c8a1f369d)) - -## [1.2.1](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.2.0...v1.2.1) (2023-03-16) - - -### Bug Fixes - -* bump dependencies' ([bf07a79](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/bf07a79bf35d31be27400dd9722745a128c05e42)) - -# [1.2.0](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.54...v1.2.0) (2023-03-16) - - -### Features - -* replaced get-value and set-value with a super charged version of CoCreate-events ([ce667cc](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/ce667cc575be6e0eb56f811064c2c98adcd2cc65)) - -## [1.1.54](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.53...v1.1.54) (2023-02-01) - - -### Bug Fixes - -* bump dependencies ([bc2119a](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/bc2119a3c1e77fa6895e61cd38bdb0925f2ad951)) - -## [1.1.53](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.52...v1.1.53) (2023-01-31) - - -### Bug Fixes - -* bump dependencies ([375122c](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/375122ce6eb9fbff7045abb479b1d4f99bafbcd0)) - -## [1.1.52](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.51...v1.1.52) (2023-01-30) - - -### Bug Fixes - -* bump dependencies ([e9380d3](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/e9380d34cbf607bc62ca88ac4f96002b5fdc8dbe)) - -## [1.1.51](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.50...v1.1.51) (2023-01-29) - - -### Bug Fixes - -* bump dependencies ([e284789](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/e2847897a9afcb514bc447eb1ff83409c182193a)) - -## [1.1.50](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.49...v1.1.50) (2023-01-27) - - -### Bug Fixes - -* bump dependencies ([4d3b32b](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/4d3b32bd06f30dae2c4e35c82d4983de58b85f4e)) - -## [1.1.49](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.48...v1.1.49) (2023-01-13) - - -### Bug Fixes - -* bump dependencies ([0ae8adb](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/0ae8adb9fbe775897562968179b111a1fb6fd0d9)) - -## [1.1.48](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.47...v1.1.48) (2023-01-10) - - -### Bug Fixes - -* bump dependencies ([5682958](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/56829587bd9c17daff302b522a41c8cd5647889f)) - -## [1.1.47](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.46...v1.1.47) (2023-01-09) - - -### Bug Fixes - -* bump dependnecies ([3c4ce9c](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/3c4ce9c8ab69c92fd6692c2d1c42e72c03fdef8f)) - -## [1.1.46](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.45...v1.1.46) (2023-01-06) - - -### Bug Fixes - -* bump dependencies, worklow [@v3](https://github.com/v3) ([c81e5db](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/c81e5dbae9b66ca2d875fb3d08ad4470499ad1ce)) - -## [1.1.45](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.44...v1.1.45) (2023-01-05) - - -### Bug Fixes - -* bump cdn to 1.39.4 ([76315d6](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/76315d6ece09e7358cc73680abb1c0f8d8041528)) -* bump dependencies ([12eb164](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/12eb16490b61a867bdbc3c2d9112e790cefc3afb)) - -## [1.1.44](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.43...v1.1.44) (2023-01-01) - - -### Bug Fixes - -* docs sanbox overflow ([7f5fd49](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/7f5fd499e8cb03f83249b2b624bec97e20391a7a)) - -## [1.1.43](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.42...v1.1.43) (2022-12-31) - - -### Bug Fixes - -* bump dependencies ([d5e7e2b](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/d5e7e2b26ea9b945ba61a4c86b2d9acc3c6ecef0)) - -## [1.1.42](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.41...v1.1.42) (2022-12-30) - - -### Bug Fixes - -* update config sources to use template braces with entry on src ([795e413](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/795e413e1aa5a570fcba85bc17ecb0e8bb3f5d32)) - -## [1.1.41](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.40...v1.1.41) (2022-12-29) - - -### Bug Fixes - -* bump dependencies ([8b49844](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/8b49844174967f9f51dbb704acaa2df4649da69a)) - -## [1.1.40](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.39...v1.1.40) (2022-12-27) - - -### Bug Fixes - -* bump dependencies ([7dbe923](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/7dbe92376729640fa1cbdcbccab2ffe6f024b466)) - -## [1.1.39](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.38...v1.1.39) (2022-12-25) - - -### Bug Fixes - -* bump dependencies ([4426b17](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/4426b17855ce4f14dc1b61f2f89384b043f1a3cc)) -* bumpcdn to 1.34.4 ([c4ad88e](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/c4ad88e426c3313567a8c4feab44143b9f3aabef)) - -## [1.1.38](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.37...v1.1.38) (2022-12-23) - - -### Bug Fixes - -* bump dependnecies ([99214fa](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/99214fa2a0478d506100c09cbbeeaf2979cfe2bb)) - -## [1.1.37](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.36...v1.1.37) (2022-12-22) - - -### Bug Fixes - -* bump dependencies ([da2507d](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/da2507d000d46b46a36e100f7bcdb80649fe2135)) -* update cdn ([6d4bff2](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/6d4bff2e89b866d14956dcdd73d2244ace55f512)) - -## [1.1.36](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.35...v1.1.36) (2022-12-22) - - -### Bug Fixes - -* update demos and bump dependencies ([53df364](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/53df36480fc39859935d0b530b9d38696515f40d)) - -## [1.1.35](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.34...v1.1.35) (2022-12-21) - - -### Bug Fixes - -* bump dependencies ([73deee9](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/73deee940f9860f8712c3fb56c31496450c3cd5b)) - -## [1.1.34](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.33...v1.1.34) (2022-12-20) - - -### Bug Fixes - -* bump dependencies ([b0cd5ed](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/b0cd5ed7146c2d6934236e8b1aaa8e41572619a5)) - -## [1.1.33](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.32...v1.1.33) (2022-12-15) - - -### Bug Fixes - -* add missing dev dependency style-loader ([afbe1c1](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/afbe1c12f20e01c655c3a65926f422259a6f7d2b)) - -## [1.1.32](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.31...v1.1.32) (2022-12-13) - - -### Bug Fixes - -* removed un used devDependencies ([4149723](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/4149723447706f8ce5cdc64c575cbbfcb3a8b0e7)) - -## [1.1.31](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.30...v1.1.31) (2022-12-13) - - -### Bug Fixes - -* bump dependencies ([846629e](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/846629eb5b678e3cad9d1a79c32129002774456f)) - -## [1.1.30](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.29...v1.1.30) (2022-12-12) - - -### Bug Fixes - -* bump dependencies ([6639539](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/66395398bbcafc98e7a4f0f6a368be6ca90520a4)) - -## [1.1.29](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.28...v1.1.29) (2022-12-11) - - -### Bug Fixes - -* bump dependencies ([7e96cbe](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/7e96cbe5c60e816a6ea6f15ee465dbaed641babf)) - -## [1.1.28](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.27...v1.1.28) (2022-12-09) - - -### Bug Fixes - -* bump dependencies ([f64458e](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/f64458eef9746e9567c0422d4c858880b1308335)) - -## [1.1.27](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.26...v1.1.27) (2022-12-08) - - -### Bug Fixes - -* bump dependencies ([d2edab7](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/d2edab7c529515349a6364d2bd4e296f430021dd)) - -## [1.1.26](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.25...v1.1.26) (2022-12-07) - - -### Bug Fixes - -* bump dependencies ([90ecf88](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/90ecf88406738624b48b115acea61be05a0ea7f5)) - -## [1.1.25](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.24...v1.1.25) (2022-12-04) - - -### Bug Fixes - -* bump dependencies ([8a4c258](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/8a4c258a670895f8ebe3bf821fb3f0f8ccb3b40d)) - -## [1.1.24](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.23...v1.1.24) (2022-12-02) - - -### Bug Fixes - -* bump dependencies ([7b1880d](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/7b1880d477e08af28e70e5bee4cb329e70bf48a5)) -* docs ([b64e7be](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/b64e7be7028a96b7a84d4df7349f22641fc370fe)) - -## [1.1.23](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.22...v1.1.23) (2022-11-28) - - -### Bug Fixes - -* bump dependencies ([4315e02](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/4315e02c0c04af77618575135fc8f0ac5f1d41a0)) - -## [1.1.22](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.21...v1.1.22) (2022-11-28) - - -### Bug Fixes - -* bump dependencies ([f498fd1](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/f498fd1ed63b4bca09e72dd52ea60e04fd1c2bf7)) - -## [1.1.21](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.20...v1.1.21) (2022-11-27) - - -### Bug Fixes - -* bump dependencies ([d6bce35](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/d6bce3552f54d815e5f0198de0d6c2fd22de601b)) - -## [1.1.20](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.19...v1.1.20) (2022-11-26) - - -### Bug Fixes - -* bump dependencies ([ff35ddd](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/ff35ddd9be0be0dddbbe094292433f32a18b7b21)) - -## [1.1.19](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.18...v1.1.19) (2022-11-25) - - -### Bug Fixes - -* bump dependencies ([22feb1e](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/22feb1ed052fa3bacbf7a66079bee667d76b8eef)) - -## [1.1.18](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.17...v1.1.18) (2022-11-24) - - -### Bug Fixes - -* bump depenedencies ([eef1a4b](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/eef1a4bae06d61573ec649bbc7438ebd45f86d31)) - -## [1.1.17](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.16...v1.1.17) (2022-11-23) - - -### Bug Fixes - -* bumped [@cocreate](https://github.com/cocreate) dependencies ([b1cd426](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/b1cd42697663422b375fd3becf8bb5d3ef37fc3a)) - -## [1.1.16](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.15...v1.1.16) (2022-11-22) - - -### Bug Fixes - -* apply src: {{source}} to CoCreate.config ([580028c](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/580028c5d3c35b47cab3525b7d4f2646caef0096)) -* workflow docs ([e6f93fc](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/e6f93fc2de267b649a350611b01d0c2a5975eb7c)) - -## [1.1.15](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.14...v1.1.15) (2022-11-21) - - -### Bug Fixes - -* @cocreate/docs bug fix ([e0321c2](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/e0321c2c0eab6eeca1c31f88e0591043bb3b640b)) - -## [1.1.14](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.13...v1.1.14) (2022-11-21) - - -### Bug Fixes - -* replaced document_id with document._id ([ad8aef6](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/ad8aef644270812d0fdeaf55984507e08c6c9c4a)) - -## [1.1.13](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.12...v1.1.13) (2022-11-21) - - -### Bug Fixes - -* bump [@cocreate](https://github.com/cocreate) dependencies ([3632d64](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/3632d64cf68fd2d478dd2689f8ea0723568d50ed)) - -## [1.1.12](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.11...v1.1.12) (2022-11-21) - - -### Bug Fixes - -* bump d@cocreate ependencies ([4bd3a47](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/4bd3a47c51cb695f6ab38696373d7bda131bcdf9)) - -## [1.1.11](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.10...v1.1.11) (2022-10-02) - - -### Bug Fixes - -* minor bug fixes ([c2e0435](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/c2e04354d71aec6c7c885951015e726dd882e539)) - -## [1.1.10](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.9...v1.1.10) (2022-10-02) - - -### Bug Fixes - -* bump @cocreate/hosting and @cocreate/socket-client ([8e243c1](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/8e243c1288f8486c6609e13780d0de994b236c32)) - -## [1.1.9](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.8...v1.1.9) (2022-10-01) - - -### Bug Fixes - -* bump dependencies ([8c1b1c8](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/8c1b1c8bc30e069f19ad4b7ef689cb0c74664218)) - -## [1.1.8](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.7...v1.1.8) (2022-09-30) - - -### Bug Fixes - -* bump [@cocreate](https://github.com/cocreate) dependencies ([1cff0f0](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/1cff0f080a9e07e02770d21b96daf83fa69c3c12)) - -## [1.1.7](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.6...v1.1.7) (2022-09-30) - - -### Bug Fixes - -* bump [@cocreate](https://github.com/cocreate) dependencies ([f30a858](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/f30a858f147613bff46e6a96185c147fdc9a0ac5)) - -## [1.1.6](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.5...v1.1.6) (2022-09-30) - - -### Bug Fixes - -* bump [@cocreate](https://github.com/cocreate) dependencies ([240454b](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/240454b948c4bce047b95e835d1fc9290aa95fa9)) - -## [1.1.5](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.4...v1.1.5) (2022-09-30) - - -### Bug Fixes - -* bump dependencies ([2fd2d17](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/2fd2d17f5a7516ccfcd1bcae0140a9ec7ae9f101)) - -## [1.1.4](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.3...v1.1.4) (2022-09-30) - - -### Bug Fixes - -* bump dependencies ([868b2d8](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/868b2d843531a7e724e38bcdc3a6c555c8dd0ed2)) - -## [1.1.3](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.2...v1.1.3) (2022-09-29) - - -### Bug Fixes - -* config renameed to CoCreateConfig ([fa03292](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/fa032924443c3261b4b345d3f2f376501286e9e8)) - -## [1.1.2](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.1...v1.1.2) (2022-09-01) - - -### Bug Fixes - -* bump all of [@cocreate](https://github.com/cocreate) dependencies ([c2879ba](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/c2879bafb1437f2de21480442bf5e38047924f19)) - -## [1.1.1](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.0...v1.1.1) (2022-07-03) - - -### Bug Fixes - -* update pass-fetch and pass-filter attributes ([ef36769](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/ef36769bc387b51e0f6a7a231db20eb74cfad98f)) - -# [1.1.0](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.0.10...v1.1.0) (2022-06-23) - - -### Features - -* observe attributes if match found lazyload component ([755c88b](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/755c88b01222ebe85e51aa633be313a762e2d102)) - -## [1.0.10](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.0.9...v1.0.10) (2022-06-18) - - -### Bug Fixes - -* bump dependencies ([8631da5](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/8631da5a9fa27aec4121899b9c913a70b1dfeb31)) - -## [1.0.9](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.0.8...v1.0.9) (2022-06-12) - - -### Bug Fixes - -* update dependencies ([d7e5038](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/d7e5038b36b3ca45625ca36fbd769337f2261531)) - -## [1.0.8](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.0.7...v1.0.8) (2022-05-23) - - -### Bug Fixes - -* bump all dependencies ([cc316e6](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/cc316e6f7b5e5ea6e56d74baced718b8185bd4ae)) - -## [1.0.7](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.0.6...v1.0.7) (2022-05-06) - - -### Bug Fixes - -* update config organization_Id to organization_id ([5636e37](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/5636e37ba01698cfbd312024be9f75f0680009e6)) - -## [1.0.6](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.0.5...v1.0.6) (2022-02-24) - - -### Bug Fixes - -* CoCreate.config replace CoCreate.app with * ([4a01174](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/4a011749c571f6c118b2bbc1a0ccceb83e5e2366)) - -## [1.0.5](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.0.4...v1.0.5) (2022-02-16) - - -### Bug Fixes - -* update dependencies ([82e5b02](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/82e5b024601353c6e8e3ec5a9aec1711a28c619b)) - -## [1.0.4](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.0.3...v1.0.4) (2022-02-10) - - -### Bug Fixes - -* bump dependencies ([6d30855](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/6d3085557d4b9b51da828e45363a60588355a4cc)) - -## [1.0.3](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.0.2...v1.0.3) (2022-02-07) - - -### Bug Fixes - -* bump dependency versions ([911c2b6](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/911c2b6b970e55f0923a79ab142743b42cb63aee)) - -## [1.0.2](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.0.1...v1.0.2) (2022-02-03) - - -### Bug Fixes - -* replaced show and hide class hidden with attribute hidden ([112ddfd](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/112ddfdeaec7f0b40064423d2d31401176c407b8)) - -## [1.0.1](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.0.0...v1.0.1) (2022-02-01) - - -### Bug Fixes - -* update dependency versions ([1fa28e1](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/1fa28e19a04fbedfc89a1d51c788680b0912d1b4)) - -# 1.0.0 (2022-01-20) - - -### Features - +## [1.3.13](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.12...v1.3.13) (2023-06-04) + + +### Bug Fixes + +* **semantic-release:** worklow error solved by running node version 14 ([c8c6575](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/c8c6575d8adca1486310800a530b21606a8a6165)) + +## [1.3.12](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.11...v1.3.12) (2023-06-02) + + +### Bug Fixes + +* format demo html ([9dbc0f5](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/9dbc0f53f74dead2d4255d8b5335b3ed88a29fd5)) +* Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([787bc43](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/787bc439fc5ed4117de9e2e41ccb8d50b1438bcb)) + +## [1.3.11](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.10...v1.3.11) (2023-05-21) + + +### Bug Fixes + +* Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([af11800](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/af118003fefdcfc853c3ee7cc338f9929172b379)) + +## [1.3.10](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.9...v1.3.10) (2023-05-19) + + +### Bug Fixes + +* 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. ([cc3a9dd](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/cc3a9dd3cd2f1ae1766112121a2d1f1b1fa5d1f3)) + +## [1.3.9](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.8...v1.3.9) (2023-05-10) + + +### Bug Fixes + +* apikey renamed to key ([85a1bad](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/85a1bad09b881c81d2b4e8779156643dbce11487)) +* apikey renamed to key ([b9830d8](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/b9830d8cac1691070c0188e220e0611c023daf06)) + +## [1.3.8](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.7...v1.3.8) (2023-05-06) + + +### Bug Fixes + +* bump [@cocreate](https://github.com/cocreate) dependencies ([00f5981](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/00f5981f49294d8ef38aa9076560659c6c4643da)) + +## [1.3.7](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.6...v1.3.7) (2023-05-02) + + +### Bug Fixes + +* removed unused functions ([f440ea8](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/f440ea8f713ca918ac08a7d4ae0a92255880cd21)) + +## [1.3.6](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.5...v1.3.6) (2023-05-01) + + +### Bug Fixes + +* update manifest.json to manifest.webmanifest ([b605f27](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/b605f27956d535d00f849ec0c8482c827eb07fe0)) + +## [1.3.5](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.4...v1.3.5) (2023-05-01) + + +### Bug Fixes + +* replace fontawesome with svg ([e326c44](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/e326c440604ec18dc264ca3ed5e12aea94f23c12)) + +## [1.3.4](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.3...v1.3.4) (2023-04-30) + + +### Bug Fixes + +* fullscreen target updated to fullscreen fullscreen-target ([7ab305f](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/7ab305fb87e31ff1f73f533bc5bd51225fd6ce2a)) +* package-lock.json and pnpm-lock.yaml added to .gitignore ([2860da1](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/2860da13dfa4a82a5048951ec011186ef9ce5f4c)) +* removed toogle fullscreen icons. now using css content ([ead687e](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/ead687e94040343b55309af848db3f06381bbd49)) + +## [1.3.3](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.2...v1.3.3) (2023-04-24) + + +### Bug Fixes + +* updated worrkflows to v3 and node version 16 ([17d53a1](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/17d53a15f8ea8df467f0e0c668b71be0abd50eae)) +* workflow node version updated 16 ([017ca62](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/017ca6248b051a221902bc1ec15764cd06dcb182)) + +## [1.3.2](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.1...v1.3.2) (2023-04-24) + + +### Bug Fixes + +* bump [@cocreate](https://github.com/cocreate) dependencies ([56d7d76](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/56d7d76194f9034121b36eaa775d18b2acbce3ac)) + +## [1.3.1](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.3.0...v1.3.1) (2023-04-24) + + +### Bug Fixes + +* removed uglifyjs-webpack-plugin ([d559a31](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/d559a312c533bccd8352736f43c883d9db25b41c)) + +# [1.3.0](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.2.6...v1.3.0) (2023-04-24) + + +### Features + +* added pwa manifest ([d9654fb](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/d9654fbb9c803ca385f6e78c900a29b5cf23d337)) + +## [1.2.6](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.2.5...v1.2.6) (2023-04-11) + + +### Bug Fixes + +* bump dependencies ([dc382c9](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/dc382c91173fc1a37d1c79ebde637443645b3489)) + +## [1.2.5](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.2.4...v1.2.5) (2023-04-11) + + +### Bug Fixes + +* bump [@cocreate](https://github.com/cocreate) dependencies ([3e461dc](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/3e461dc4298c6c2087c34aba21758790787ad313)) + +## [1.2.4](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.2.3...v1.2.4) (2023-04-11) + + +### Bug Fixes + +* renamed domains to hosts ([bf7cb7d](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/bf7cb7d38f5b637f05ae8e372a49d7c418dadddb)) + +## [1.2.3](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.2.2...v1.2.3) (2023-03-30) + + +### Bug Fixes + +* bump [@cocreate](https://github.com/cocreate) dependencies' ([b6c89f5](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/b6c89f5491adcb92e931e5352413984372796132)) + +## [1.2.2](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.2.1...v1.2.2) (2023-03-16) + + +### Bug Fixes + +* bump dependencies' ([d921dc4](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/d921dc41880d3f50fb3e6ab574987e0c8a1f369d)) + +## [1.2.1](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.2.0...v1.2.1) (2023-03-16) + + +### Bug Fixes + +* bump dependencies' ([bf07a79](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/bf07a79bf35d31be27400dd9722745a128c05e42)) + +# [1.2.0](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.54...v1.2.0) (2023-03-16) + + +### Features + +* replaced get-value and set-value with a super charged version of CoCreate-events ([ce667cc](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/ce667cc575be6e0eb56f811064c2c98adcd2cc65)) + +## [1.1.54](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.53...v1.1.54) (2023-02-01) + + +### Bug Fixes + +* bump dependencies ([bc2119a](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/bc2119a3c1e77fa6895e61cd38bdb0925f2ad951)) + +## [1.1.53](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.52...v1.1.53) (2023-01-31) + + +### Bug Fixes + +* bump dependencies ([375122c](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/375122ce6eb9fbff7045abb479b1d4f99bafbcd0)) + +## [1.1.52](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.51...v1.1.52) (2023-01-30) + + +### Bug Fixes + +* bump dependencies ([e9380d3](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/e9380d34cbf607bc62ca88ac4f96002b5fdc8dbe)) + +## [1.1.51](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.50...v1.1.51) (2023-01-29) + + +### Bug Fixes + +* bump dependencies ([e284789](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/e2847897a9afcb514bc447eb1ff83409c182193a)) + +## [1.1.50](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.49...v1.1.50) (2023-01-27) + + +### Bug Fixes + +* bump dependencies ([4d3b32b](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/4d3b32bd06f30dae2c4e35c82d4983de58b85f4e)) + +## [1.1.49](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.48...v1.1.49) (2023-01-13) + + +### Bug Fixes + +* bump dependencies ([0ae8adb](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/0ae8adb9fbe775897562968179b111a1fb6fd0d9)) + +## [1.1.48](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.47...v1.1.48) (2023-01-10) + + +### Bug Fixes + +* bump dependencies ([5682958](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/56829587bd9c17daff302b522a41c8cd5647889f)) + +## [1.1.47](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.46...v1.1.47) (2023-01-09) + + +### Bug Fixes + +* bump dependnecies ([3c4ce9c](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/3c4ce9c8ab69c92fd6692c2d1c42e72c03fdef8f)) + +## [1.1.46](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.45...v1.1.46) (2023-01-06) + + +### Bug Fixes + +* bump dependencies, worklow [@v3](https://github.com/v3) ([c81e5db](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/c81e5dbae9b66ca2d875fb3d08ad4470499ad1ce)) + +## [1.1.45](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.44...v1.1.45) (2023-01-05) + + +### Bug Fixes + +* bump cdn to 1.39.4 ([76315d6](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/76315d6ece09e7358cc73680abb1c0f8d8041528)) +* bump dependencies ([12eb164](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/12eb16490b61a867bdbc3c2d9112e790cefc3afb)) + +## [1.1.44](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.43...v1.1.44) (2023-01-01) + + +### Bug Fixes + +* docs sanbox overflow ([7f5fd49](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/7f5fd499e8cb03f83249b2b624bec97e20391a7a)) + +## [1.1.43](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.42...v1.1.43) (2022-12-31) + + +### Bug Fixes + +* bump dependencies ([d5e7e2b](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/d5e7e2b26ea9b945ba61a4c86b2d9acc3c6ecef0)) + +## [1.1.42](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.41...v1.1.42) (2022-12-30) + + +### Bug Fixes + +* update config sources to use template braces with entry on src ([795e413](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/795e413e1aa5a570fcba85bc17ecb0e8bb3f5d32)) + +## [1.1.41](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.40...v1.1.41) (2022-12-29) + + +### Bug Fixes + +* bump dependencies ([8b49844](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/8b49844174967f9f51dbb704acaa2df4649da69a)) + +## [1.1.40](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.39...v1.1.40) (2022-12-27) + + +### Bug Fixes + +* bump dependencies ([7dbe923](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/7dbe92376729640fa1cbdcbccab2ffe6f024b466)) + +## [1.1.39](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.38...v1.1.39) (2022-12-25) + + +### Bug Fixes + +* bump dependencies ([4426b17](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/4426b17855ce4f14dc1b61f2f89384b043f1a3cc)) +* bumpcdn to 1.34.4 ([c4ad88e](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/c4ad88e426c3313567a8c4feab44143b9f3aabef)) + +## [1.1.38](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.37...v1.1.38) (2022-12-23) + + +### Bug Fixes + +* bump dependnecies ([99214fa](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/99214fa2a0478d506100c09cbbeeaf2979cfe2bb)) + +## [1.1.37](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.36...v1.1.37) (2022-12-22) + + +### Bug Fixes + +* bump dependencies ([da2507d](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/da2507d000d46b46a36e100f7bcdb80649fe2135)) +* update cdn ([6d4bff2](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/6d4bff2e89b866d14956dcdd73d2244ace55f512)) + +## [1.1.36](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.35...v1.1.36) (2022-12-22) + + +### Bug Fixes + +* update demos and bump dependencies ([53df364](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/53df36480fc39859935d0b530b9d38696515f40d)) + +## [1.1.35](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.34...v1.1.35) (2022-12-21) + + +### Bug Fixes + +* bump dependencies ([73deee9](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/73deee940f9860f8712c3fb56c31496450c3cd5b)) + +## [1.1.34](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.33...v1.1.34) (2022-12-20) + + +### Bug Fixes + +* bump dependencies ([b0cd5ed](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/b0cd5ed7146c2d6934236e8b1aaa8e41572619a5)) + +## [1.1.33](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.32...v1.1.33) (2022-12-15) + + +### Bug Fixes + +* add missing dev dependency style-loader ([afbe1c1](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/afbe1c12f20e01c655c3a65926f422259a6f7d2b)) + +## [1.1.32](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.31...v1.1.32) (2022-12-13) + + +### Bug Fixes + +* removed un used devDependencies ([4149723](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/4149723447706f8ce5cdc64c575cbbfcb3a8b0e7)) + +## [1.1.31](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.30...v1.1.31) (2022-12-13) + + +### Bug Fixes + +* bump dependencies ([846629e](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/846629eb5b678e3cad9d1a79c32129002774456f)) + +## [1.1.30](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.29...v1.1.30) (2022-12-12) + + +### Bug Fixes + +* bump dependencies ([6639539](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/66395398bbcafc98e7a4f0f6a368be6ca90520a4)) + +## [1.1.29](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.28...v1.1.29) (2022-12-11) + + +### Bug Fixes + +* bump dependencies ([7e96cbe](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/7e96cbe5c60e816a6ea6f15ee465dbaed641babf)) + +## [1.1.28](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.27...v1.1.28) (2022-12-09) + + +### Bug Fixes + +* bump dependencies ([f64458e](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/f64458eef9746e9567c0422d4c858880b1308335)) + +## [1.1.27](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.26...v1.1.27) (2022-12-08) + + +### Bug Fixes + +* bump dependencies ([d2edab7](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/d2edab7c529515349a6364d2bd4e296f430021dd)) + +## [1.1.26](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.25...v1.1.26) (2022-12-07) + + +### Bug Fixes + +* bump dependencies ([90ecf88](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/90ecf88406738624b48b115acea61be05a0ea7f5)) + +## [1.1.25](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.24...v1.1.25) (2022-12-04) + + +### Bug Fixes + +* bump dependencies ([8a4c258](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/8a4c258a670895f8ebe3bf821fb3f0f8ccb3b40d)) + +## [1.1.24](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.23...v1.1.24) (2022-12-02) + + +### Bug Fixes + +* bump dependencies ([7b1880d](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/7b1880d477e08af28e70e5bee4cb329e70bf48a5)) +* docs ([b64e7be](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/b64e7be7028a96b7a84d4df7349f22641fc370fe)) + +## [1.1.23](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.22...v1.1.23) (2022-11-28) + + +### Bug Fixes + +* bump dependencies ([4315e02](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/4315e02c0c04af77618575135fc8f0ac5f1d41a0)) + +## [1.1.22](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.21...v1.1.22) (2022-11-28) + + +### Bug Fixes + +* bump dependencies ([f498fd1](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/f498fd1ed63b4bca09e72dd52ea60e04fd1c2bf7)) + +## [1.1.21](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.20...v1.1.21) (2022-11-27) + + +### Bug Fixes + +* bump dependencies ([d6bce35](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/d6bce3552f54d815e5f0198de0d6c2fd22de601b)) + +## [1.1.20](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.19...v1.1.20) (2022-11-26) + + +### Bug Fixes + +* bump dependencies ([ff35ddd](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/ff35ddd9be0be0dddbbe094292433f32a18b7b21)) + +## [1.1.19](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.18...v1.1.19) (2022-11-25) + + +### Bug Fixes + +* bump dependencies ([22feb1e](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/22feb1ed052fa3bacbf7a66079bee667d76b8eef)) + +## [1.1.18](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.17...v1.1.18) (2022-11-24) + + +### Bug Fixes + +* bump depenedencies ([eef1a4b](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/eef1a4bae06d61573ec649bbc7438ebd45f86d31)) + +## [1.1.17](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.16...v1.1.17) (2022-11-23) + + +### Bug Fixes + +* bumped [@cocreate](https://github.com/cocreate) dependencies ([b1cd426](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/b1cd42697663422b375fd3becf8bb5d3ef37fc3a)) + +## [1.1.16](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.15...v1.1.16) (2022-11-22) + + +### Bug Fixes + +* apply src: {{source}} to CoCreate.config ([580028c](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/580028c5d3c35b47cab3525b7d4f2646caef0096)) +* workflow docs ([e6f93fc](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/e6f93fc2de267b649a350611b01d0c2a5975eb7c)) + +## [1.1.15](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.14...v1.1.15) (2022-11-21) + + +### Bug Fixes + +* @cocreate/docs bug fix ([e0321c2](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/e0321c2c0eab6eeca1c31f88e0591043bb3b640b)) + +## [1.1.14](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.13...v1.1.14) (2022-11-21) + + +### Bug Fixes + +* replaced document_id with document._id ([ad8aef6](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/ad8aef644270812d0fdeaf55984507e08c6c9c4a)) + +## [1.1.13](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.12...v1.1.13) (2022-11-21) + + +### Bug Fixes + +* bump [@cocreate](https://github.com/cocreate) dependencies ([3632d64](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/3632d64cf68fd2d478dd2689f8ea0723568d50ed)) + +## [1.1.12](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.11...v1.1.12) (2022-11-21) + + +### Bug Fixes + +* bump d@cocreate ependencies ([4bd3a47](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/4bd3a47c51cb695f6ab38696373d7bda131bcdf9)) + +## [1.1.11](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.10...v1.1.11) (2022-10-02) + + +### Bug Fixes + +* minor bug fixes ([c2e0435](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/c2e04354d71aec6c7c885951015e726dd882e539)) + +## [1.1.10](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.9...v1.1.10) (2022-10-02) + + +### Bug Fixes + +* bump @cocreate/hosting and @cocreate/socket-client ([8e243c1](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/8e243c1288f8486c6609e13780d0de994b236c32)) + +## [1.1.9](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.8...v1.1.9) (2022-10-01) + + +### Bug Fixes + +* bump dependencies ([8c1b1c8](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/8c1b1c8bc30e069f19ad4b7ef689cb0c74664218)) + +## [1.1.8](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.7...v1.1.8) (2022-09-30) + + +### Bug Fixes + +* bump [@cocreate](https://github.com/cocreate) dependencies ([1cff0f0](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/1cff0f080a9e07e02770d21b96daf83fa69c3c12)) + +## [1.1.7](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.6...v1.1.7) (2022-09-30) + + +### Bug Fixes + +* bump [@cocreate](https://github.com/cocreate) dependencies ([f30a858](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/f30a858f147613bff46e6a96185c147fdc9a0ac5)) + +## [1.1.6](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.5...v1.1.6) (2022-09-30) + + +### Bug Fixes + +* bump [@cocreate](https://github.com/cocreate) dependencies ([240454b](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/240454b948c4bce047b95e835d1fc9290aa95fa9)) + +## [1.1.5](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.4...v1.1.5) (2022-09-30) + + +### Bug Fixes + +* bump dependencies ([2fd2d17](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/2fd2d17f5a7516ccfcd1bcae0140a9ec7ae9f101)) + +## [1.1.4](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.3...v1.1.4) (2022-09-30) + + +### Bug Fixes + +* bump dependencies ([868b2d8](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/868b2d843531a7e724e38bcdc3a6c555c8dd0ed2)) + +## [1.1.3](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.2...v1.1.3) (2022-09-29) + + +### Bug Fixes + +* config renameed to CoCreateConfig ([fa03292](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/fa032924443c3261b4b345d3f2f376501286e9e8)) + +## [1.1.2](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.1...v1.1.2) (2022-09-01) + + +### Bug Fixes + +* bump all of [@cocreate](https://github.com/cocreate) dependencies ([c2879ba](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/c2879bafb1437f2de21480442bf5e38047924f19)) + +## [1.1.1](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.1.0...v1.1.1) (2022-07-03) + + +### Bug Fixes + +* update pass-fetch and pass-filter attributes ([ef36769](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/ef36769bc387b51e0f6a7a231db20eb74cfad98f)) + +# [1.1.0](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.0.10...v1.1.0) (2022-06-23) + + +### Features + +* observe attributes if match found lazyload component ([755c88b](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/755c88b01222ebe85e51aa633be313a762e2d102)) + +## [1.0.10](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.0.9...v1.0.10) (2022-06-18) + + +### Bug Fixes + +* bump dependencies ([8631da5](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/8631da5a9fa27aec4121899b9c913a70b1dfeb31)) + +## [1.0.9](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.0.8...v1.0.9) (2022-06-12) + + +### Bug Fixes + +* update dependencies ([d7e5038](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/d7e5038b36b3ca45625ca36fbd769337f2261531)) + +## [1.0.8](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.0.7...v1.0.8) (2022-05-23) + + +### Bug Fixes + +* bump all dependencies ([cc316e6](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/cc316e6f7b5e5ea6e56d74baced718b8185bd4ae)) + +## [1.0.7](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.0.6...v1.0.7) (2022-05-06) + + +### Bug Fixes + +* update config organization_Id to organization_id ([5636e37](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/5636e37ba01698cfbd312024be9f75f0680009e6)) + +## [1.0.6](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.0.5...v1.0.6) (2022-02-24) + + +### Bug Fixes + +* CoCreate.config replace CoCreate.app with * ([4a01174](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/4a011749c571f6c118b2bbc1a0ccceb83e5e2366)) + +## [1.0.5](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.0.4...v1.0.5) (2022-02-16) + + +### Bug Fixes + +* update dependencies ([82e5b02](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/82e5b024601353c6e8e3ec5a9aec1711a28c619b)) + +## [1.0.4](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.0.3...v1.0.4) (2022-02-10) + + +### Bug Fixes + +* bump dependencies ([6d30855](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/6d3085557d4b9b51da828e45363a60588355a4cc)) + +## [1.0.3](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.0.2...v1.0.3) (2022-02-07) + + +### Bug Fixes + +* bump dependency versions ([911c2b6](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/911c2b6b970e55f0923a79ab142743b42cb63aee)) + +## [1.0.2](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.0.1...v1.0.2) (2022-02-03) + + +### Bug Fixes + +* replaced show and hide class hidden with attribute hidden ([112ddfd](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/112ddfdeaec7f0b40064423d2d31401176c407b8)) + +## [1.0.1](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.0.0...v1.0.1) (2022-02-01) + + +### Bug Fixes + +* update dependency versions ([1fa28e1](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/1fa28e19a04fbedfc89a1d51c788680b0912d1b4)) + +# 1.0.0 (2022-01-20) + + +### Features + * intial release ([0202811](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/0202811bca93f67eed623143e0731ad731a7fef8)) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 42760eb..0aa90d1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,97 +1,97 @@ -# Contributing to CoCreate-lazy-loader - -This project is work of [many contributors](https://github.com/CoCreate-app/CoCreate-lazy-loader/graphs/contributors). -You're encouraged to submit [pull requests](https://github.com/CoCreate-app/CoCreate-lazy-loader/pulls), -[propose features and discuss issues](https://github.com/CoCreate-app/CoCreate-lazy-loader/issues). - -In the examples below, substitute your Github username for `contributor` in URLs. - -## Fork the Project - -Fork the [project on Github](https://github.com/CoCreate-app/CoCreate-lazy-loader) and check out your copy. - -``` -git clone https://github.com/contributor/CoCreate-lazy-loader.git -cd CoCreate-lazy-loader -git remote add upstream https://github.com/CoCreate-app/CoCreate-lazy-loader.git -``` - -## Create a Topic Branch - -Make sure your fork is up-to-date and create a topic branch for your feature or bug fix on dev branch. - -``` -git checkout dev -git pull upstream dev -git checkout -b my-feature-branch -``` - -## Write Tests - -Try to write a test that reproduces the problem you're trying to fix or describes a feature that you want to build. - -We definitely appreciate pull requests that highlight or reproduce a problem, even without a fix. - -## Write Code - -Implement your feature or bug fix. - -## Write Documentation - -Document any external behavior in the [README](README.md). - -## Commit Changes - -Make sure git knows your name and email address: - -``` -git config --global user.name "Your Name" -git config --global user.email "contributor@example.com" -``` - -We use [semantic-release](https://github.com/semantic-release/semantic-release) as process to generate changelog -and to release. Write meaningful commits according to -[Commit Message Formats](https://github.com/semantic-release/semantic-release#commit-message-format) is important. - -``` -git add ... -git commit -am "commit-type(optional topic): a meaningful message" -``` - -Here is an example of the release type that should be done based on a [semantic-release](https://github.com/semantic-release/semantic-release): - -| Commit message | Release type | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------- | -| `fix(pencil): stop graphite breaking when too much pressure applied` | Patch Release | -| `feat(pencil): add 'graphiteWidth' option` | ~~Minor~~ Feature Release | -| `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 | - - -## Push - -``` -git push origin my-feature-branch -``` - -## Make a Pull Request - -Go to [https://github.com/CoCreate-app/CoCreate-lazy-loader](https://github.com/CoCreate-app/CoCreate-lazy-loader) and select your feature branch. -Click the 'Pull Request' button and fill out the form. Pull requests are usually reviewed within a few days. - -## Rebase - -If you've been working on a change for a while, rebase with upstream/dev. - -``` -git fetch upstream -git rebase upstream/dev -git push origin my-feature-branch -f -``` - -## Be Patient - -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! - -## Thank You - +# Contributing to CoCreate-lazy-loader + +This project is work of [many contributors](https://github.com/CoCreate-app/CoCreate-lazy-loader/graphs/contributors). +You're encouraged to submit [pull requests](https://github.com/CoCreate-app/CoCreate-lazy-loader/pulls), +[propose features and discuss issues](https://github.com/CoCreate-app/CoCreate-lazy-loader/issues). + +In the examples below, substitute your Github username for `contributor` in URLs. + +## Fork the Project + +Fork the [project on Github](https://github.com/CoCreate-app/CoCreate-lazy-loader) and check out your copy. + +``` +git clone https://github.com/contributor/CoCreate-lazy-loader.git +cd CoCreate-lazy-loader +git remote add upstream https://github.com/CoCreate-app/CoCreate-lazy-loader.git +``` + +## Create a Topic Branch + +Make sure your fork is up-to-date and create a topic branch for your feature or bug fix on dev branch. + +``` +git checkout dev +git pull upstream dev +git checkout -b my-feature-branch +``` + +## Write Tests + +Try to write a test that reproduces the problem you're trying to fix or describes a feature that you want to build. + +We definitely appreciate pull requests that highlight or reproduce a problem, even without a fix. + +## Write Code + +Implement your feature or bug fix. + +## Write Documentation + +Document any external behavior in the [README](README.md). + +## Commit Changes + +Make sure git knows your name and email address: + +``` +git config --global user.name "Your Name" +git config --global user.email "contributor@example.com" +``` + +We use [semantic-release](https://github.com/semantic-release/semantic-release) as process to generate changelog +and to release. Write meaningful commits according to +[Commit Message Formats](https://github.com/semantic-release/semantic-release#commit-message-format) is important. + +``` +git add ... +git commit -am "commit-type(optional topic): a meaningful message" +``` + +Here is an example of the release type that should be done based on a [semantic-release](https://github.com/semantic-release/semantic-release): + +| Commit message | Release type | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------- | +| `fix(pencil): stop graphite breaking when too much pressure applied` | Patch Release | +| `feat(pencil): add 'graphiteWidth' option` | ~~Minor~~ Feature Release | +| `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 | + + +## Push + +``` +git push origin my-feature-branch +``` + +## Make a Pull Request + +Go to [https://github.com/CoCreate-app/CoCreate-lazy-loader](https://github.com/CoCreate-app/CoCreate-lazy-loader) and select your feature branch. +Click the 'Pull Request' button and fill out the form. Pull requests are usually reviewed within a few days. + +## Rebase + +If you've been working on a change for a while, rebase with upstream/dev. + +``` +git fetch upstream +git rebase upstream/dev +git push origin my-feature-branch -f +``` + +## Be Patient + +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! + +## Thank You + Please do know that we really appreciate and value your time and work. We love you, really. \ No newline at end of file diff --git a/CoCreate.config.js b/CoCreate.config.js index fc05ab0..a0030bb 100644 --- a/CoCreate.config.js +++ b/CoCreate.config.js @@ -1,27 +1,27 @@ -module.exports = { - "config": { - "organization_id": "5ff747727005da1c272740ab", - "key": "2061acef-0451-4545-f754-60cf8160", - "host": "general.cocreate.app" - }, - "sources": [ - { - "collection": "files", - "document": { - "_id": "637ca44750234ef1671ce319", - "name": "index.html", - "path": "/docs/lazy-loader/index.html", - "src": "{{./docs/index.html}}", - "hosts": [ - "*", - "general.cocreate.app" - ], - "directory": "/docs/lazy-loader", - "parentDirectory": "{{parentDirectory}}", - "content-type": "{{content-type}}", - "public": "true", - "website_id": "644d4bff8036fb9d1d1fd69c" - } - } - ] +module.exports = { + "config": { + "organization_id": "5ff747727005da1c272740ab", + "key": "2061acef-0451-4545-f754-60cf8160", + "host": "general.cocreate.app" + }, + "sources": [ + { + "collection": "files", + "document": { + "_id": "637ca44750234ef1671ce319", + "name": "index.html", + "path": "/docs/lazy-loader/index.html", + "src": "{{./docs/index.html}}", + "hosts": [ + "*", + "general.cocreate.app" + ], + "directory": "/docs/lazy-loader", + "parentDirectory": "{{parentDirectory}}", + "content-type": "{{content-type}}", + "public": "true", + "website_id": "644d4bff8036fb9d1d1fd69c" + } + } + ] } \ No newline at end of file diff --git a/LICENSE b/LICENSE index 9b8cc63..799de9e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,21 @@ -MIT License - -Copyright (c) 2021 CoCreate LLC - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +MIT License + +Copyright (c) 2021 CoCreate LLC + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 077a3ac..07af90c 100644 --- a/README.md +++ b/README.md @@ -1,84 +1,84 @@ -# CoCreate-lazy-loader - -A simple lazy-loader component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/lazy-loader) - -![min file size in bytes](https://img.badgesize.io/https://cdn.cocreate.app/lazy-loader/latest/CoCreate-lazy-loader.min.js?style=flat-square&label=minified&color=orange) -![gzip file size in bytes](https://img.badgesize.io/https://cdn.cocreate.app/lazy-loader/latest/CoCreate-lazy-loader.min.js?compression=gzip&style=flat-square&label=gzip&color=yellow) -![brotlifile size in bytes](https://img.badgesize.io/https://cdn.cocreate.app/lazy-loader/latest/CoCreate-lazy-loader.min.js?compression=brotli&style=flat-square&label=brotli) -![GitHub latest release](https://img.shields.io/github/v/release/CoCreate-app/CoCreate-lazy-loader?style=flat-square) -![GitHub](https://img.shields.io/github/license/CoCreate-app/CoCreate-lazy-loader?style=flat-square) -![GitHub](https://img.shields.io/static/v1?style=flat-square&label=&message=Hiring&color=blueviolet) - - -![CoCreate-lazy-loader](https://cdn.cocreate.app/docs/CoCreate-lazy-loader.gif) - -## [Docs & Demo](https://cocreate.app/docs/lazy-loader) - -For a complete guide and working demo refer to the [doumentation](https://cocreate.app/docs/lazy-loader) - -## CDN - -```html - -``` - -```html - -``` - -## NPM - -```shell -$ npm i @cocreate/lazy-loader -``` - -## yarn - -```shell -$ yarn install @cocreate/lazy-loader -``` - -# Table of Contents - -- [Table of Contents](#table-of-contents) -- [Announcements](#announcements) -- [Roadmap](#roadmap) -- [How to Contribute](#how-to-contribute) -- [About](#about) -- [License](#license) - - - -# Announcements - -All updates to this library are documented in our [CHANGELOG](https://github.com/CoCreate-app/CoCreate-lazy-loader/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-lazy-loader/releases). You may also subscribe to email for releases and breaking changes. - - - -# Roadmap - -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-lazy-loader/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-lazy-loader/pulls). We would love to hear your feedback. - - - -# About - -CoCreate-lazy-loader is guided and supported by the CoCreate Developer Experience Team. - -Please Email the Developer Experience Team [here](mailto:develop@cocreate.app) in case of any queries. - -CoCreate-lazy-loader is maintained and funded by CoCreate. The names and logos for CoCreate are trademarks of CoCreate, LLC. - - - -# How to Contribute - -We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/CoCreate-app/CoCreate-lazy-loader/blob/master/CONTRIBUTING.md) guide for details. - -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-lazy-loader/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-lazy-loader/pulls) or merely upvote or comment on existing issues or pull requests. - -We appreciate your continued support, thank you! - -# License - -[The MIT License (MIT)](https://github.com/CoCreate-app/CoCreate-lazy-loader/blob/master/LICENSE) +# CoCreate-lazy-loader + +A simple lazy-loader component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/lazy-loader) + +![min file size in bytes](https://img.badgesize.io/https://cdn.cocreate.app/lazy-loader/latest/CoCreate-lazy-loader.min.js?style=flat-square&label=minified&color=orange) +![gzip file size in bytes](https://img.badgesize.io/https://cdn.cocreate.app/lazy-loader/latest/CoCreate-lazy-loader.min.js?compression=gzip&style=flat-square&label=gzip&color=yellow) +![brotlifile size in bytes](https://img.badgesize.io/https://cdn.cocreate.app/lazy-loader/latest/CoCreate-lazy-loader.min.js?compression=brotli&style=flat-square&label=brotli) +![GitHub latest release](https://img.shields.io/github/v/release/CoCreate-app/CoCreate-lazy-loader?style=flat-square) +![GitHub](https://img.shields.io/github/license/CoCreate-app/CoCreate-lazy-loader?style=flat-square) +![GitHub](https://img.shields.io/static/v1?style=flat-square&label=&message=Hiring&color=blueviolet) + + +![CoCreate-lazy-loader](https://cdn.cocreate.app/docs/CoCreate-lazy-loader.gif) + +## [Docs & Demo](https://cocreate.app/docs/lazy-loader) + +For a complete guide and working demo refer to the [doumentation](https://cocreate.app/docs/lazy-loader) + +## CDN + +```html + +``` + +```html + +``` + +## NPM + +```shell +$ npm i @cocreate/lazy-loader +``` + +## yarn + +```shell +$ yarn install @cocreate/lazy-loader +``` + +# Table of Contents + +- [Table of Contents](#table-of-contents) +- [Announcements](#announcements) +- [Roadmap](#roadmap) +- [How to Contribute](#how-to-contribute) +- [About](#about) +- [License](#license) + + + +# Announcements + +All updates to this library are documented in our [CHANGELOG](https://github.com/CoCreate-app/CoCreate-lazy-loader/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-lazy-loader/releases). You may also subscribe to email for releases and breaking changes. + + + +# Roadmap + +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-lazy-loader/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-lazy-loader/pulls). We would love to hear your feedback. + + + +# About + +CoCreate-lazy-loader is guided and supported by the CoCreate Developer Experience Team. + +Please Email the Developer Experience Team [here](mailto:develop@cocreate.app) in case of any queries. + +CoCreate-lazy-loader is maintained and funded by CoCreate. The names and logos for CoCreate are trademarks of CoCreate, LLC. + + + +# How to Contribute + +We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/CoCreate-app/CoCreate-lazy-loader/blob/master/CONTRIBUTING.md) guide for details. + +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-lazy-loader/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-lazy-loader/pulls) or merely upvote or comment on existing issues or pull requests. + +We appreciate your continued support, thank you! + +# License + +[The MIT License (MIT)](https://github.com/CoCreate-app/CoCreate-lazy-loader/blob/master/LICENSE) diff --git a/demo/index.html b/demo/index.html index dd9e314..74b908d 100644 --- a/demo/index.html +++ b/demo/index.html @@ -1,20 +1,20 @@ - - - - - - - - lazy-loader | CoCreateJS - - - - - - - - + + + + + + + + lazy-loader | CoCreateJS + + + + + + + + diff --git a/docs/index.html b/docs/index.html index 980e0c8..f9949a6 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,254 +1,254 @@ - - - - - - - CoCreate-lazy-loader Documentation | CoCreateJS - - - - - - - - - - - - -
-
-
-

CoCreate-lazy-loader

-
-
- - - - - -
-
-

- A simple HTML5, CSS and pure javascript component. Easy - configuration using data-attributes and highly styleable. -

-
-
-

- Install -

-
npm install cocreate-lazy-loader
-

Or you can use cdn link:

-
https://cdn.cocreate.app/js/CoCreate-lazy-loader.min.js
- -

- Usage -

-

lazy-loader usage content

-
<div></div>
- -

- Reference -

-

- This is lazy-loader reference content -

-
<div></div>
-

- This is lazy-loader reference content -

- -

- Attributes -

-
    -
  • -

    - lazy-loader - string - optional -

    -

    lazy-loader-attribute

    -
  • -
  • -

    - lazy-loader - string - optional -

    -

    lazy-loader-attribute

    -
  • -
-
- -
- -

- Demo -

-
- -
-
- -
-
- -
-
-
- -
- - - - - -
-
- -
-
-
-
- - - - - - + + + + + + + CoCreate-lazy-loader Documentation | CoCreateJS + + + + + + + + + + + + +
+
+
+

CoCreate-lazy-loader

+
+
+ + + + + +
+
+

+ A simple HTML5, CSS and pure javascript component. Easy + configuration using data-attributes and highly styleable. +

+
+
+

+ Install +

+
npm install cocreate-lazy-loader
+

Or you can use cdn link:

+
https://cdn.cocreate.app/js/CoCreate-lazy-loader.min.js
+ +

+ Usage +

+

lazy-loader usage content

+
<div></div>
+ +

+ Reference +

+

+ This is lazy-loader reference content +

+
<div></div>
+

+ This is lazy-loader reference content +

+ +

+ Attributes +

+
    +
  • +

    + lazy-loader + string + optional +

    +

    lazy-loader-attribute

    +
  • +
  • +

    + lazy-loader + string + optional +

    +

    lazy-loader-attribute

    +
  • +
+
+ +
+ +

+ Demo +

+
+ +
+
+ +
+
+ +
+
+
+ +
+ + + + + +
+
+ +
+
+
+
+ + + + + + diff --git a/package.json b/package.json index 87b50ba..1aef79a 100644 --- a/package.json +++ b/package.json @@ -1,66 +1,66 @@ -{ - "name": "@cocreate/lazy-loader", - "version": "1.3.12", - "description": "A simple lazy-loader component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.", - "keywords": [ - "lazy-loader", - "cocreate", - "low-code-framework", - "no-code-framework", - "cocreatejs", - "cocreatejs-component", - "cocreate-framework", - "no-code", - "low-code", - "collaborative-framework", - "realtime", - "realtime-framework", - "collaboration", - "shared-editing", - "html5-framework", - "javascript-framework" - ], - "publishConfig": { - "access": "public" - }, - "scripts": { - "start": "npx webpack --config webpack.config.js", - "build": "NODE_ENV=production npx webpack --config webpack.config.js", - "dev": "npx webpack --config webpack.config.js --watch", - "docs": "node ./node_modules/@cocreate/docs/src/index.js", - "hosting": "node ./node_modules/@cocreate/hosting/src/index.js" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/CoCreate-app/CoCreate-lazy-loader.git" - }, - "author": "CoCreate LLC", - "license": "MIT", - "bugs": { - "url": "https://github.com/CoCreate-app/CoCreate-lazy-loader/issues" - }, - "homepage": "https://cocreate.app/docs/lazy-loader", - "funding": { - "type": "GitHub Sponsors ❤", - "url": "https://github.com/sponsors/CoCreate-app" - }, - "main": "./src/index.js", - "devDependencies": { - "@babel/core": "^7.9.6", - "@babel/preset-env": "^7.9.6", - "babel-loader": "^8.1.0", - "clean-webpack-plugin": "^3.0.0", - "file-loader": "^6.2.0", - "mini-css-extract-plugin": "^1.5.0", - "style-loader": "^3.3.1", - "terser-webpack-plugin": "^5.1.1", - "webpack": "^5.24.4", - "webpack-cli": "^4.5.0", - "webpack-log": "^3.0.1" - }, - "dependencies": { - "@cocreate/docs": "^1.7.13", - "@cocreate/hosting": "^1.10.5", - "@cocreate/observer": "^1.8.0" - } -} +{ + "name": "@cocreate/lazy-loader", + "version": "1.3.13", + "description": "A simple lazy-loader component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.", + "keywords": [ + "lazy-loader", + "cocreate", + "low-code-framework", + "no-code-framework", + "cocreatejs", + "cocreatejs-component", + "cocreate-framework", + "no-code", + "low-code", + "collaborative-framework", + "realtime", + "realtime-framework", + "collaboration", + "shared-editing", + "html5-framework", + "javascript-framework" + ], + "publishConfig": { + "access": "public" + }, + "scripts": { + "start": "npx webpack --config webpack.config.js", + "build": "NODE_ENV=production npx webpack --config webpack.config.js", + "dev": "npx webpack --config webpack.config.js --watch", + "docs": "node ./node_modules/@cocreate/docs/src/index.js", + "hosting": "node ./node_modules/@cocreate/hosting/src/index.js" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/CoCreate-app/CoCreate-lazy-loader.git" + }, + "author": "CoCreate LLC", + "license": "MIT", + "bugs": { + "url": "https://github.com/CoCreate-app/CoCreate-lazy-loader/issues" + }, + "homepage": "https://cocreate.app/docs/lazy-loader", + "funding": { + "type": "GitHub Sponsors ❤", + "url": "https://github.com/sponsors/CoCreate-app" + }, + "main": "./src/index.js", + "devDependencies": { + "@babel/core": "^7.9.6", + "@babel/preset-env": "^7.9.6", + "babel-loader": "^8.1.0", + "clean-webpack-plugin": "^3.0.0", + "file-loader": "^6.2.0", + "mini-css-extract-plugin": "^1.5.0", + "style-loader": "^3.3.1", + "terser-webpack-plugin": "^5.1.1", + "webpack": "^5.24.4", + "webpack-cli": "^4.5.0", + "webpack-log": "^3.0.1" + }, + "dependencies": { + "@cocreate/docs": "^1.7.13", + "@cocreate/hosting": "^1.10.5", + "@cocreate/observer": "^1.8.0" + } +} diff --git a/release.config.js b/release.config.js index 68e4063..968bc8c 100644 --- a/release.config.js +++ b/release.config.js @@ -1,22 +1,22 @@ -module.exports = { - dryRun: false, - branches: ["master"], - plugins: [ - "@semantic-release/commit-analyzer", - "@semantic-release/release-notes-generator", - [ - "@semantic-release/changelog", - { - changelogFile: "CHANGELOG.md", - }, - ], - "@semantic-release/npm", - "@semantic-release/github", - [ - "@semantic-release/git", - { - assets: ["CHANGELOG.md", "package.json"], - }, - ], - ], +module.exports = { + dryRun: false, + branches: ["master"], + plugins: [ + "@semantic-release/commit-analyzer", + "@semantic-release/release-notes-generator", + [ + "@semantic-release/changelog", + { + changelogFile: "CHANGELOG.md", + }, + ], + "@semantic-release/npm", + "@semantic-release/github", + [ + "@semantic-release/git", + { + assets: ["CHANGELOG.md", "package.json"], + }, + ], + ], }; \ No newline at end of file diff --git a/src/index.js b/src/index.js index 7bfd031..afa704b 100644 --- a/src/index.js +++ b/src/index.js @@ -1,61 +1,61 @@ -import observer from '@cocreate/observer'; - -function listen(callback, selector) { - - function observerCallback({ target }) { - // let isInit = target.querySelector(selector) - // if (isInit) { - callback() - // console.log('lazyloaded', selector) - observer.uninit(observerCallback) - // } - } - - observer.init({ - name: 'lazyloadObserver', - observe: ['childList'], - target: selector, - callback: observerCallback - }) - - let selectorAttributes = []; - let attributes = selector.split(",") - for (let attribute of attributes){ - let attr = attribute.trim() - if (attr.startsWith("[")) { - let pos = attr.indexOf("*") - if (pos == -1) - pos = attr.indexOf("=") - if (pos !== -1) { - attr = attr.slice(1, pos) - } else { - attr = attr.slice(1, -1) - } - selectorAttributes.push(attr) - } - - } - if (selectorAttributes.length > 0) - observer.init({ - name: 'lazyloadAttributeObserver', - observe: ['attributes'], - attributeName: selectorAttributes, - target: selector, - callback: observerCallback - }); - -} - -export async function lazyLoad(name, selector, callback) { - if (document.querySelector(selector)) - await dependency(name, await callback()) - else - listen(callback, selector) -} - -export async function dependency(name, promise) { - let component = await promise; - Object.assign(window.CoCreate, { - [name]: component.default - }); +import observer from '@cocreate/observer'; + +function listen(callback, selector) { + + function observerCallback({ target }) { + // let isInit = target.querySelector(selector) + // if (isInit) { + callback() + // console.log('lazyloaded', selector) + observer.uninit(observerCallback) + // } + } + + observer.init({ + name: 'lazyloadObserver', + observe: ['childList'], + target: selector, + callback: observerCallback + }) + + let selectorAttributes = []; + let attributes = selector.split(",") + for (let attribute of attributes){ + let attr = attribute.trim() + if (attr.startsWith("[")) { + let pos = attr.indexOf("*") + if (pos == -1) + pos = attr.indexOf("=") + if (pos !== -1) { + attr = attr.slice(1, pos) + } else { + attr = attr.slice(1, -1) + } + selectorAttributes.push(attr) + } + + } + if (selectorAttributes.length > 0) + observer.init({ + name: 'lazyloadAttributeObserver', + observe: ['attributes'], + attributeName: selectorAttributes, + target: selector, + callback: observerCallback + }); + +} + +export async function lazyLoad(name, selector, callback) { + if (document.querySelector(selector)) + await dependency(name, await callback()) + else + listen(callback, selector) +} + +export async function dependency(name, promise) { + let component = await promise; + Object.assign(window.CoCreate, { + [name]: component.default + }); } \ No newline at end of file diff --git a/webpack.config.js b/webpack.config.js index 98d4e70..ee3b8de 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,84 +1,84 @@ -const path = require("path") -const TerserPlugin = require("terser-webpack-plugin") -const MiniCssExtractPlugin = require("mini-css-extract-plugin") -let isProduction = process.env.NODE_ENV === "production" -const { CleanWebpackPlugin } = require("clean-webpack-plugin") - -module.exports = { - entry: { - "CoCreate-lazy-loader": "./src/index.js", - }, - output: { - path: path.resolve(__dirname, "dist"), - filename: isProduction ? "[name].min.js" : "[name].js", - libraryTarget: "umd", - libraryExport: "default", - library: ["CoCreate", "lazy-loader"], - globalObject: "this", - }, - - plugins: [ - new CleanWebpackPlugin(), - new MiniCssExtractPlugin({ - filename: "[name].css", - }), - ], - // Default mode for Webpack is production. - // Depending on mode Webpack will apply different things - // on final bundle. For now we don't need production's JavaScript - // minifying and other thing so let's set mode to development - mode: isProduction ? "production" : "development", - module: { - rules: [ - { - test: /.js$/, - exclude: /(node_modules)/, - use: { - loader: "babel-loader", - options: { - plugins: ["@babel/plugin-transform-modules-commonjs"], - }, - }, - }, - { - test: /.css$/i, - use: [ - { loader: "style-loader", options: { injectType: "linkTag" } }, - "file-loader", - ], - }, - ], - }, - - // add source map - ...(isProduction ? {} : { devtool: "eval-source-map" }), - - optimization: { - minimize: true, - minimizer: [ - new TerserPlugin({ - extractComments: true, - // cache: true, - parallel: true, - // sourceMap: true, // Must be set to true if using source-maps in production - terserOptions: { - // https://github.com/webpack-contrib/terser-webpack-plugin#terseroptions - // extractComments: 'all', - compress: { - drop_console: true, - }, - }, - }), - ], - splitChunks: { - chunks: "all", - minSize: 200, - // maxSize: 99999, - //minChunks: 1, - - cacheGroups: { - defaultVendors: false, - }, - }, - }, -} +const path = require("path") +const TerserPlugin = require("terser-webpack-plugin") +const MiniCssExtractPlugin = require("mini-css-extract-plugin") +let isProduction = process.env.NODE_ENV === "production" +const { CleanWebpackPlugin } = require("clean-webpack-plugin") + +module.exports = { + entry: { + "CoCreate-lazy-loader": "./src/index.js", + }, + output: { + path: path.resolve(__dirname, "dist"), + filename: isProduction ? "[name].min.js" : "[name].js", + libraryTarget: "umd", + libraryExport: "default", + library: ["CoCreate", "lazy-loader"], + globalObject: "this", + }, + + plugins: [ + new CleanWebpackPlugin(), + new MiniCssExtractPlugin({ + filename: "[name].css", + }), + ], + // Default mode for Webpack is production. + // Depending on mode Webpack will apply different things + // on final bundle. For now we don't need production's JavaScript + // minifying and other thing so let's set mode to development + mode: isProduction ? "production" : "development", + module: { + rules: [ + { + test: /.js$/, + exclude: /(node_modules)/, + use: { + loader: "babel-loader", + options: { + plugins: ["@babel/plugin-transform-modules-commonjs"], + }, + }, + }, + { + test: /.css$/i, + use: [ + { loader: "style-loader", options: { injectType: "linkTag" } }, + "file-loader", + ], + }, + ], + }, + + // add source map + ...(isProduction ? {} : { devtool: "eval-source-map" }), + + optimization: { + minimize: true, + minimizer: [ + new TerserPlugin({ + extractComments: true, + // cache: true, + parallel: true, + // sourceMap: true, // Must be set to true if using source-maps in production + terserOptions: { + // https://github.com/webpack-contrib/terser-webpack-plugin#terseroptions + // extractComments: 'all', + compress: { + drop_console: true, + }, + }, + }), + ], + splitChunks: { + chunks: "all", + minSize: 200, + // maxSize: 99999, + //minChunks: 1, + + cacheGroups: { + defaultVendors: false, + }, + }, + }, +}