@getflip/swirl-components 0.283.1 → 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 CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-01-27T11:42:36",
2
+ "timestamp": "2025-01-27T13:46:50",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.18.1",
@@ -4624,7 +4624,22 @@
4624
4624
  }
4625
4625
  ],
4626
4626
  "methods": [],
4627
- "events": [],
4627
+ "events": [
4628
+ {
4629
+ "event": "componentLoad",
4630
+ "detail": "void",
4631
+ "bubbles": true,
4632
+ "complexType": {
4633
+ "original": "void",
4634
+ "resolved": "void",
4635
+ "references": {}
4636
+ },
4637
+ "cancelable": true,
4638
+ "composed": true,
4639
+ "docs": "",
4640
+ "docsTags": []
4641
+ }
4642
+ ],
4628
4643
  "listeners": [],
4629
4644
  "styles": [],
4630
4645
  "slots": [
@@ -11,6 +11,7 @@ const SwirlBoxStyle0 = swirlBoxCss;
11
11
  const SwirlBox = class {
12
12
  constructor(hostRef) {
13
13
  index.registerInstance(this, hostRef);
14
+ this.componentLoad = index.createEvent(this, "componentLoad", 7);
14
15
  this.onScroll = () => {
15
16
  this.updateScrollState();
16
17
  };
@@ -53,6 +54,7 @@ const SwirlBox = class {
53
54
  };
54
55
  }
55
56
  componentDidLoad() {
57
+ this.componentLoad.emit();
56
58
  queueMicrotask(() => {
57
59
  this.updateScrollState();
58
60
  });
@@ -118,7 +120,7 @@ const SwirlBox = class {
118
120
  "box--scrolled-to-top": this.scrollState.scrolledToTop,
119
121
  "box--scrolled-to-bottom": this.scrollState.scrolledToBottom,
120
122
  });
121
- return (index.h(index.Host, { key: 'cc56b1b68106d9e9b759e271339201c1792ffbe8', class: className, onScroll: this.onScroll, style: styles }, index.h("slot", { key: '311112ceef9ab1964bbb8d57ca1eb8bad79f703c' })));
123
+ return (index.h(index.Host, { key: '22989d7972a37c53b50f879639bff0581214d528', class: className, onScroll: this.onScroll, style: styles }, index.h("slot", { key: '8628bb4a2474579564e1352967b8e4c48026c906' })));
122
124
  }
123
125
  get el() { return index.getElement(this); }
124
126
  };