@everchron/ec-shards 8.12.1 → 8.12.3

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
@@ -5158,7 +5158,7 @@ function Hr(e, s, t, a, n, i) {
5158
5158
  ], 10, Vr)
5159
5159
  ], 2);
5160
5160
  }
5161
- const Bb = /* @__PURE__ */ v(Ar, [["render", Hr], ["__scopeId", "data-v-4bf981c8"]]), qr = {
5161
+ const Bb = /* @__PURE__ */ v(Ar, [["render", Hr], ["__scopeId", "data-v-b2ce05ee"]]), qr = {
5162
5162
  name: "ecs-collection-control",
5163
5163
  emits: ["toggled", "collectionTooltip"],
5164
5164
  components: { EcsIcon: M, EcsFocusRing: O },
@@ -9488,7 +9488,7 @@ const e_ = /* @__PURE__ */ v(Lg, [["render", Dg], ["__scopeId", "data-v-c9188464
9488
9488
  default: "overlay"
9489
9489
  },
9490
9490
  /** Determines the style of the highlight: `background` fills the entire background with a color, while `border` just adds a colored border to the left (avoid using on elements with border radius). */
9491
- style: {
9491
+ type: {
9492
9492
  type: String,
9493
9493
  validator: (e) => ["background", "border"].includes(e),
9494
9494
  default: "background"
@@ -9518,12 +9518,12 @@ const e_ = /* @__PURE__ */ v(Lg, [["render", Dg], ["__scopeId", "data-v-c9188464
9518
9518
  return this.show || this.layout === "wrap" && this.$slots.default;
9519
9519
  },
9520
9520
  highlightColor() {
9521
- return this.color ? this.style === "background" ? {
9521
+ return this.color ? this.type === "background" ? {
9522
9522
  "--ecs-highlight-background": this.color
9523
9523
  } : {
9524
9524
  "--ecs-highlight-background": C(this.color).setAlpha(0.1).toRgbString(),
9525
9525
  "--ecs-highlight-border": this.color
9526
- } : this.style === "background" ? {
9526
+ } : this.type === "background" ? {
9527
9527
  "--ecs-highlight-background": "var(--color-yellow-3)"
9528
9528
  } : {
9529
9529
  "--ecs-highlight-background": "var(--color-yellow-3)",
@@ -9531,18 +9531,18 @@ const e_ = /* @__PURE__ */ v(Lg, [["render", Dg], ["__scopeId", "data-v-c9188464
9531
9531
  };
9532
9532
  },
9533
9533
  borderRadiusStyle() {
9534
- return this.borderRadius ? { borderRadius: `${this.borderRadius}px` } : this.style === "border" ? { borderRadius: 0 } : { borderRadius: "6px" };
9534
+ return this.borderRadius ? { borderRadius: `${this.borderRadius}px` } : this.type === "border" ? { borderRadius: 0 } : { borderRadius: "6px" };
9535
9535
  },
9536
9536
  transitionStyles() {
9537
9537
  const e = {};
9538
- return this.fadeOutDuration !== 0 && this.show && this.setFadeOut && (this.layout === "overlay" ? e.transition = `opacity ${this.fadeOutDuration}ms` : this.layout === "wrap" && (this.style === "border" ? e.transition = `background-position ${this.fadeOutDuration}ms, border-color ${this.fadeOutDuration}ms` : e.transition = `background-color ${this.fadeOutDuration}ms`)), e;
9538
+ return this.fadeOutDuration !== 0 && this.show && this.setFadeOut && (this.layout === "overlay" ? e.transition = `opacity ${this.fadeOutDuration}ms` : this.layout === "wrap" && (this.type === "border" ? e.transition = `background-position ${this.fadeOutDuration}ms, border-color ${this.fadeOutDuration}ms` : e.transition = `background-color ${this.fadeOutDuration}ms`)), e;
9539
9539
  },
9540
9540
  classes() {
9541
9541
  return {
9542
9542
  "ecs-highlight-wrap": this.layout === "wrap",
9543
9543
  "ecs-highlight-overlay": this.layout === "overlay",
9544
- "ecs-highlight-background": this.style === "background",
9545
- "ecs-highlight-border": this.style === "border",
9544
+ "ecs-highlight-background": this.type === "background",
9545
+ "ecs-highlight-border": this.type === "border",
9546
9546
  show: this.showClass
9547
9547
  };
9548
9548
  }
@@ -9564,7 +9564,7 @@ function Rg(e, s, t, a, n, i) {
9564
9564
  t.layout === "wrap" ? p(e.$slots, "default", { key: 0 }, void 0, !0) : u("", !0)
9565
9565
  ], 6)) : u("", !0);
9566
9566
  }
9567
- const t_ = /* @__PURE__ */ v(Fg, [["render", Rg], ["__scopeId", "data-v-6db2fdf6"]]), Vg = {
9567
+ const t_ = /* @__PURE__ */ v(Fg, [["render", Rg], ["__scopeId", "data-v-82c60808"]]), Vg = {
9568
9568
  name: "ecs-toolbar",
9569
9569
  props: {
9570
9570
  /** Determines the type of the toolbar. */