@everchron/ec-shards 19.11.2 → 19.11.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
@@ -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",