@getflip/swirl-components 0.283.0 → 0.284.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/components.json +17 -2
- package/dist/cjs/swirl-app-layout_5.cjs.entry.js +1 -1
- package/dist/cjs/swirl-box.cjs.entry.js +3 -1
- package/dist/collection/assets/pdfjs/pdf.worker.min.js +1 -1
- package/dist/collection/components/swirl-box/swirl-box.js +21 -2
- package/dist/collection/components/swirl-resource-list-item/swirl-resource-list-item.css +4 -0
- package/dist/components/assets/pdfjs/pdf.worker.min.js +1 -1
- package/dist/components/swirl-box2.js +4 -2
- package/dist/components/swirl-resource-list-item2.js +1 -1
- package/dist/esm/swirl-app-layout_5.entry.js +1 -1
- package/dist/esm/swirl-box.entry.js +4 -2
- package/dist/swirl-components/p-5fc56c10.entry.js +1 -0
- package/dist/swirl-components/{p-a1448a51.entry.js → p-75b1cd84.entry.js} +1 -1
- package/dist/swirl-components/swirl-components.esm.js +1 -1
- package/dist/types/components/swirl-box/swirl-box.d.ts +2 -0
- package/dist/types/components.d.ts +16 -0
- package/package.json +1 -1
- package/dist/swirl-components/p-6dc2aae2.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, Host } from "@stencil/core";
|
|
1
|
+
import { h, Host, } from "@stencil/core";
|
|
2
2
|
import classnames from "classnames";
|
|
3
3
|
/**
|
|
4
4
|
* @slot slot - The box contents
|
|
@@ -47,6 +47,7 @@ export class SwirlBox {
|
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
componentDidLoad() {
|
|
50
|
+
this.componentLoad.emit();
|
|
50
51
|
queueMicrotask(() => {
|
|
51
52
|
this.updateScrollState();
|
|
52
53
|
});
|
|
@@ -112,7 +113,7 @@ export class SwirlBox {
|
|
|
112
113
|
"box--scrolled-to-top": this.scrollState.scrolledToTop,
|
|
113
114
|
"box--scrolled-to-bottom": this.scrollState.scrolledToBottom,
|
|
114
115
|
});
|
|
115
|
-
return (h(Host, { key: '
|
|
116
|
+
return (h(Host, { key: '22989d7972a37c53b50f879639bff0581214d528', class: className, onScroll: this.onScroll, style: styles }, h("slot", { key: '8628bb4a2474579564e1352967b8e4c48026c906' })));
|
|
116
117
|
}
|
|
117
118
|
static get is() { return "swirl-box"; }
|
|
118
119
|
static get encapsulation() { return "shadow"; }
|
|
@@ -730,5 +731,23 @@ export class SwirlBox {
|
|
|
730
731
|
"scrollState": {}
|
|
731
732
|
};
|
|
732
733
|
}
|
|
734
|
+
static get events() {
|
|
735
|
+
return [{
|
|
736
|
+
"method": "componentLoad",
|
|
737
|
+
"name": "componentLoad",
|
|
738
|
+
"bubbles": true,
|
|
739
|
+
"cancelable": true,
|
|
740
|
+
"composed": true,
|
|
741
|
+
"docs": {
|
|
742
|
+
"tags": [],
|
|
743
|
+
"text": ""
|
|
744
|
+
},
|
|
745
|
+
"complexType": {
|
|
746
|
+
"original": "void",
|
|
747
|
+
"resolved": "void",
|
|
748
|
+
"references": {}
|
|
749
|
+
}
|
|
750
|
+
}];
|
|
751
|
+
}
|
|
733
752
|
static get elementRef() { return "el"; }
|
|
734
753
|
}
|