@everchron/ec-shards 9.12.1 → 9.12.2

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/dist/ec-shards.js CHANGED
@@ -5188,7 +5188,8 @@ const I0 = /* @__PURE__ */ y(Vl, [["render", ql], ["__scopeId", "data-v-68234afa
5188
5188
  },
5189
5189
  data() {
5190
5190
  return {
5191
- isVisible: this.visible
5191
+ isVisible: this.visible,
5192
+ isTransitioning: !1
5192
5193
  };
5193
5194
  },
5194
5195
  computed: {
@@ -5212,7 +5213,9 @@ const I0 = /* @__PURE__ */ y(Vl, [["render", ql], ["__scopeId", "data-v-68234afa
5212
5213
  },
5213
5214
  methods: {
5214
5215
  toggleCollapse() {
5215
- this.isVisible = !this.isVisible, this.persist && localStorage.setItem(`collapse-${this.id}`, this.isVisible), this.$emit("toggled", this.id, this.isVisible);
5216
+ this.isTransitioning = !0, this.isVisible = !this.isVisible, this.persist && localStorage.setItem(`collapse-${this.id}`, this.isVisible), this.$emit("toggled", this.id, this.isVisible), setTimeout(() => {
5217
+ this.isTransitioning = !1;
5218
+ }, 200);
5216
5219
  }
5217
5220
  },
5218
5221
  watch: {
@@ -5280,7 +5283,11 @@ function Xl(e, s, t, a, n, i) {
5280
5283
  ], 42, Ul)
5281
5284
  ]),
5282
5285
  f("div", {
5283
- class: v([n.isVisible ? "collapse-show" : "collapse-hide", "collapse"]),
5286
+ class: v([
5287
+ n.isVisible ? "collapse-show" : "collapse-hide",
5288
+ "collapse",
5289
+ n.isTransitioning ? "collapse-transitioning" : ""
5290
+ ]),
5284
5291
  id: `collapse-${this.id}`,
5285
5292
  "aria-hidden": n.isVisible ? "false" : "true"
5286
5293
  }, [
@@ -5292,7 +5299,7 @@ function Xl(e, s, t, a, n, i) {
5292
5299
  ], 10, Yl)
5293
5300
  ], 2);
5294
5301
  }
5295
- const E0 = /* @__PURE__ */ y(Wl, [["render", Xl], ["__scopeId", "data-v-2f465e88"]]), Zl = {
5302
+ const E0 = /* @__PURE__ */ y(Wl, [["render", Xl], ["__scopeId", "data-v-952196c0"]]), Zl = {
5296
5303
  name: "ecs-collection-control",
5297
5304
  emits: ["toggled", "collectionTooltip"],
5298
5305
  components: { EcsIcon: O, EcsFocusRing: D },