@everchron/ec-shards 19.11.2 → 19.11.4

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
@@ -15875,12 +15875,23 @@ var g_ = /*#__PURE__*/ V(f_, [["render", h_], ["__scopeId", "data-v-7e609016"]])
15875
15875
  disabled: {
15876
15876
  type: Boolean,
15877
15877
  default: !1
15878
+ },
15879
+ size: {
15880
+ type: String,
15881
+ validator: (e) => ["md", "sml"].includes(e),
15882
+ default: "md"
15878
15883
  }
15879
15884
  },
15880
15885
  computed: {
15881
15886
  typeClass() {
15882
15887
  return this.type && this.type !== "" ? `ecs-favorability-${this.type}` : this.type;
15883
15888
  },
15889
+ sizeClass() {
15890
+ return `ecs-favorability-${this.size}`;
15891
+ },
15892
+ iconSize() {
15893
+ return this.size === "sml" ? "24px" : "30px";
15894
+ },
15884
15895
  iconType() {
15885
15896
  return {
15886
15897
  good: "fav-arrow",
@@ -15909,13 +15920,20 @@ function b_(e, t, n, r, i, a) {
15909
15920
  let u = A("ecs-icon"), d = A("ecs-skeleton-loader");
15910
15921
  return T(), c("div", {
15911
15922
  onClick: t[0] ||= (...e) => a.handleClick && a.handleClick(...e),
15912
- class: b(["ecs-favorability", [a.typeClass, n.disabled ? "disabled" : ""]]),
15923
+ class: b(["ecs-favorability", [
15924
+ a.typeClass,
15925
+ a.sizeClass,
15926
+ n.disabled ? "disabled" : ""
15927
+ ]]),
15913
15928
  "aria-busy": n.loading || null
15914
15929
  }, [
15915
15930
  l("div", {
15916
15931
  class: b(["ecs-favorability-button", [a.css, n.loading ? "loading" : ""]]),
15917
15932
  title: a.labelText
15918
- }, [f(u, { type: a.iconType }, null, 8, ["type"])], 10, y_),
15933
+ }, [f(u, {
15934
+ type: a.iconType,
15935
+ size: a.iconSize
15936
+ }, null, 8, ["type", "size"])], 10, y_),
15919
15937
  n.label ? (T(), c("span", {
15920
15938
  key: 0,
15921
15939
  class: b(["label", n.loading ? "loading" : ""])
@@ -15934,7 +15952,7 @@ function b_(e, t, n, r, i, a) {
15934
15952
  })) : s("", !0)
15935
15953
  ], 10, v_);
15936
15954
  }
15937
- var x_ = /*#__PURE__*/ V(__, [["render", b_], ["__scopeId", "data-v-a6e15633"]]), S_ = {
15955
+ var x_ = /*#__PURE__*/ V(__, [["render", b_], ["__scopeId", "data-v-566f9742"]]), S_ = {
15938
15956
  name: "ecs-quicklinks-link",
15939
15957
  emits: [
15940
15958
  "click",
@@ -17556,9 +17574,17 @@ var Ly = /*#__PURE__*/ V(Ny, [["render", Iy], ["__scopeId", "data-v-e723f4d5"]])
17556
17574
  disabled: {
17557
17575
  type: Boolean,
17558
17576
  default: !1
17577
+ },
17578
+ size: {
17579
+ type: String,
17580
+ validator: (e) => ["sml", "md"].includes(e),
17581
+ default: "md"
17559
17582
  }
17560
17583
  },
17561
17584
  computed: {
17585
+ sizeClass() {
17586
+ return `ecs-tag-${this.size}`;
17587
+ },
17562
17588
  typeClass() {
17563
17589
  return this.type && this.type !== "" && this.type === "group" ? `ecs-tag-round ecs-tag-${this.type}` : this.type === "party" && this.party && this.party !== "" ? `ecs-tag-party-${this.party}` : `ecs-tag-${this.type}`;
17564
17590
  },
@@ -17591,6 +17617,7 @@ function Vy(e, t, n, r, i, a) {
17591
17617
  return T(), o(M(n.hover ? "button" : "span"), {
17592
17618
  class: b(["ecs-tag", [
17593
17619
  a.typeClass,
17620
+ a.sizeClass,
17594
17621
  n.active ? "active" : "",
17595
17622
  n.hover ? "hover" : "",
17596
17623
  n.loading ? "loading" : ""
@@ -17625,7 +17652,7 @@ function Vy(e, t, n, r, i, a) {
17625
17652
  "disabled"
17626
17653
  ]);
17627
17654
  }
17628
- var Hy = /*#__PURE__*/ V(Ry, [["render", Vy], ["__scopeId", "data-v-569d32e3"]]), Uy = { name: "ecs-tag-cloud" }, Wy = {
17655
+ var Hy = /*#__PURE__*/ V(Ry, [["render", Vy], ["__scopeId", "data-v-7dbe350e"]]), Uy = { name: "ecs-tag-cloud" }, Wy = {
17629
17656
  class: "ecs-tag-cloud",
17630
17657
  role: "list"
17631
17658
  };