@everchron/ec-shards 19.10.7 → 19.11.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/dist/ec-shards.js CHANGED
@@ -5796,12 +5796,12 @@ function So(t, n, r, i, a, u) {
5796
5796
  }, null, 8, bo)])) : s("", !0), r.busy ? (T(), o(m, {
5797
5797
  key: 1,
5798
5798
  text: r.busyText,
5799
- "primary-color": "#6680AA",
5800
- "secondary-color": "#D1E1F9",
5799
+ "primary-color": "var(--color-gray-8)",
5800
+ "secondary-color": "var(--color-gray-4)",
5801
5801
  speed: 1200
5802
5802
  }, null, 8, ["text"])) : k(t.$slots, "default", { key: 2 }, void 0, !0)], 6)]), t.$slots.actions ? (T(), c("div", xo, [k(t.$slots, "actions", {}, void 0, !0)])) : s("", !0)], 10, go);
5803
5803
  }
5804
- var Co = /*#__PURE__*/ V(ho, [["render", So], ["__scopeId", "data-v-4c17dfef"]]), wo = /* @__PURE__ */ me((/* @__PURE__ */ z(((e) => {
5804
+ var Co = /*#__PURE__*/ V(ho, [["render", So], ["__scopeId", "data-v-82308bc7"]]), wo = /* @__PURE__ */ me((/* @__PURE__ */ z(((e) => {
5805
5805
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = e.clickOutSide = {
5806
5806
  mounted: function(e, t, n) {
5807
5807
  e.clickOutsideEvent = function(n) {
@@ -6641,9 +6641,14 @@ var ss = /*#__PURE__*/ V(Jo, [["render", os], ["__scopeId", "data-v-d1f03f28"]])
6641
6641
  components: { EcsSkeletonLoader: G },
6642
6642
  mixins: [Y],
6643
6643
  props: {
6644
- small: {
6645
- type: Boolean,
6646
- default: !1
6644
+ size: {
6645
+ type: String,
6646
+ validator: (e) => [
6647
+ "xsml",
6648
+ "sml",
6649
+ "md"
6650
+ ].includes(e),
6651
+ default: "md"
6647
6652
  },
6648
6653
  loading: {
6649
6654
  type: Boolean,
@@ -6654,6 +6659,9 @@ var ss = /*#__PURE__*/ V(Jo, [["render", os], ["__scopeId", "data-v-d1f03f28"]])
6654
6659
  default: 4
6655
6660
  }
6656
6661
  },
6662
+ computed: { skeletonLineHeight() {
6663
+ return this.size === "xsml" ? 1 : this.size === "sml" ? 2 : 3;
6664
+ } },
6657
6665
  created() {
6658
6666
  this.formattedId = this.generateUniqueId();
6659
6667
  },
@@ -6669,12 +6677,12 @@ var ss = /*#__PURE__*/ V(Jo, [["render", os], ["__scopeId", "data-v-d1f03f28"]])
6669
6677
  function us(e, t, n, r, i, a) {
6670
6678
  let s = A("ecs-skeleton-loader");
6671
6679
  return T(), c("div", {
6672
- class: b(["ecs-formatted", [n.small ? "ecs-formatted-sml" : ""]]),
6680
+ class: b(["ecs-formatted", [n.size ? `ecs-formatted-${n.size}` : ""]]),
6673
6681
  id: e.formattedId
6674
6682
  }, [n.loading ? (T(), o(s, {
6675
6683
  key: 1,
6676
6684
  type: "multi",
6677
- "line-height": n.small ? 1 : 2,
6685
+ "line-height": a.skeletonLineHeight,
6678
6686
  count: n.skeletonCount
6679
6687
  }, null, 8, ["line-height", "count"])) : k(e.$slots, "default", {
6680
6688
  key: 0,