@saasquatch/squatch-js 2.6.0 → 2.6.1-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/size-limit.yml +14 -14
- package/.github/workflows/static.yml +89 -89
- package/CHANGELOG.md +388 -388
- package/LICENSE +20 -20
- package/README.md +259 -259
- package/babel.config.js +7 -7
- package/cucumber.js +45 -45
- package/demo/sandbox.ts +124 -124
- package/demo/toolbar.tsx +526 -526
- package/dist/squatch.esm.js +4 -4
- package/dist/squatch.esm.js.map +1 -1
- package/dist/squatch.js +4 -4
- package/dist/squatch.js.map +1 -1
- package/dist/squatch.min.js +1 -1
- package/jest.config.ts +200 -200
- package/package.json +123 -123
- package/tsconfig.json +23 -23
- package/dist/squatch.min.js.br +0 -0
- package/dist/squatch.min.js.map +0 -1
- package/dist/squatch.modern.js +0 -2
- package/dist/squatch.modern.js.map +0 -1
- package/dist/stats.html +0 -208
- package/dist/utils/decodeJwt.d.ts +0 -1
- package/dist/utils/domUtils.d.ts +0 -1
- package/dist/utils/loadEvent.d.ts +0 -2
- package/dist/widgets/CtaWidget.d.ts +0 -24
- package/dist/widgets/IREmbedWidget.d.ts +0 -29
- package/dist/widgets/IRPopupWidget.d.ts +0 -32
- package/dist/widgets/declarative/DeclarativeEmbedWidget.d.ts +0 -12
package/dist/squatch.esm.js
CHANGED
|
@@ -2069,10 +2069,10 @@ class ImpactEmbed extends DeclarativeEmbedWidget {}
|
|
|
2069
2069
|
|
|
2070
2070
|
class ImpactPopup extends DeclarativePopupWidget {}
|
|
2071
2071
|
|
|
2072
|
-
window.customElements.define("squatch-embed", SquatchEmbed);
|
|
2073
|
-
window.customElements.define("impact-embed", ImpactEmbed);
|
|
2074
|
-
window.customElements.define("squatch-popup", SquatchPopup);
|
|
2075
|
-
window.customElements.define("impact-popup", ImpactPopup);
|
|
2072
|
+
if (!window.customElements.get("squatch-embed")) window.customElements.define("squatch-embed", SquatchEmbed);
|
|
2073
|
+
if (!window.customElements.get("impact-embed")) window.customElements.define("impact-embed", ImpactEmbed);
|
|
2074
|
+
if (!window.customElements.get("squatch-popup")) window.customElements.define("squatch-popup", SquatchPopup);
|
|
2075
|
+
if (!window.customElements.get("impact-popup")) window.customElements.define("impact-popup", ImpactPopup);
|
|
2076
2076
|
|
|
2077
2077
|
// @ts-check
|
|
2078
2078
|
function help() {
|