@everchron/ec-shards 19.10.7 → 19.11.1

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
@@ -5745,6 +5745,10 @@ var mo = /*#__PURE__*/ V(fo, [["render", po], ["__scopeId", "data-v-88f797a6"]])
5745
5745
  type: Boolean,
5746
5746
  default: !1
5747
5747
  },
5748
+ stopped: {
5749
+ type: Boolean,
5750
+ default: !1
5751
+ },
5748
5752
  escaped: {
5749
5753
  type: Boolean,
5750
5754
  default: !1
@@ -5776,7 +5780,8 @@ function So(t, n, r, i, a, u) {
5776
5780
  received: r.direction === "received",
5777
5781
  [r.variant]: r.variant,
5778
5782
  hover: r.hover,
5779
- sticky: r.sticky
5783
+ sticky: r.sticky,
5784
+ stopped: r.stopped
5780
5785
  }]),
5781
5786
  "aria-busy": r.busy
5782
5787
  }, [l("div", _o, [r.variant === "bubble" ? (T(), c(e, { key: 0 }, [r.type === "assistant" ? (T(), c("div", vo, [f(p, {
@@ -5796,12 +5801,12 @@ function So(t, n, r, i, a, u) {
5796
5801
  }, null, 8, bo)])) : s("", !0), r.busy ? (T(), o(m, {
5797
5802
  key: 1,
5798
5803
  text: r.busyText,
5799
- "primary-color": "#6680AA",
5800
- "secondary-color": "#D1E1F9",
5804
+ "primary-color": "var(--color-gray-8)",
5805
+ "secondary-color": "var(--color-gray-4)",
5801
5806
  speed: 1200
5802
5807
  }, 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
5808
  }
5804
- var Co = /*#__PURE__*/ V(ho, [["render", So], ["__scopeId", "data-v-4c17dfef"]]), wo = /* @__PURE__ */ me((/* @__PURE__ */ z(((e) => {
5809
+ var Co = /*#__PURE__*/ V(ho, [["render", So], ["__scopeId", "data-v-3710f16a"]]), wo = /* @__PURE__ */ me((/* @__PURE__ */ z(((e) => {
5805
5810
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = e.clickOutSide = {
5806
5811
  mounted: function(e, t, n) {
5807
5812
  e.clickOutsideEvent = function(n) {
@@ -6641,9 +6646,14 @@ var ss = /*#__PURE__*/ V(Jo, [["render", os], ["__scopeId", "data-v-d1f03f28"]])
6641
6646
  components: { EcsSkeletonLoader: G },
6642
6647
  mixins: [Y],
6643
6648
  props: {
6644
- small: {
6645
- type: Boolean,
6646
- default: !1
6649
+ size: {
6650
+ type: String,
6651
+ validator: (e) => [
6652
+ "xsml",
6653
+ "sml",
6654
+ "md"
6655
+ ].includes(e),
6656
+ default: "md"
6647
6657
  },
6648
6658
  loading: {
6649
6659
  type: Boolean,
@@ -6654,6 +6664,9 @@ var ss = /*#__PURE__*/ V(Jo, [["render", os], ["__scopeId", "data-v-d1f03f28"]])
6654
6664
  default: 4
6655
6665
  }
6656
6666
  },
6667
+ computed: { skeletonLineHeight() {
6668
+ return this.size === "xsml" ? 1 : this.size === "sml" ? 2 : 3;
6669
+ } },
6657
6670
  created() {
6658
6671
  this.formattedId = this.generateUniqueId();
6659
6672
  },
@@ -6669,12 +6682,12 @@ var ss = /*#__PURE__*/ V(Jo, [["render", os], ["__scopeId", "data-v-d1f03f28"]])
6669
6682
  function us(e, t, n, r, i, a) {
6670
6683
  let s = A("ecs-skeleton-loader");
6671
6684
  return T(), c("div", {
6672
- class: b(["ecs-formatted", [n.small ? "ecs-formatted-sml" : ""]]),
6685
+ class: b(["ecs-formatted", [n.size ? `ecs-formatted-${n.size}` : ""]]),
6673
6686
  id: e.formattedId
6674
6687
  }, [n.loading ? (T(), o(s, {
6675
6688
  key: 1,
6676
6689
  type: "multi",
6677
- "line-height": n.small ? 1 : 2,
6690
+ "line-height": a.skeletonLineHeight,
6678
6691
  count: n.skeletonCount
6679
6692
  }, null, 8, ["line-height", "count"])) : k(e.$slots, "default", {
6680
6693
  key: 0,