@everchron/ec-shards 19.12.9 → 19.12.11

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
@@ -571,12 +571,18 @@ function Ce(e, t, n, r, i, a) {
571
571
  }
572
572
  var we = /*#__PURE__*/ V(ve, [["render", Ce], ["__scopeId", "data-v-0b5e6809"]]), Te = {
573
573
  name: "ecs-action-toolbar",
574
- props: { padding: {
575
- type: String,
576
- default: "var(--spacing-5) var(--spacing-20)"
577
- } }
574
+ props: {
575
+ padding: {
576
+ type: String,
577
+ default: "var(--spacing-5) var(--spacing-20)"
578
+ },
579
+ transition: {
580
+ type: Boolean,
581
+ default: !0
582
+ }
583
+ }
578
584
  }, Ee = () => {
579
- ne((e) => ({ v315cd1d6: e.padding }));
585
+ ne((e) => ({ v8462c168: e.padding }));
580
586
  }, De = Te.setup;
581
587
  Te.setup = De ? (e, t) => (Ee(), De(e, t)) : Ee;
582
588
  var Oe = {
@@ -586,14 +592,14 @@ var Oe = {
586
592
  };
587
593
  function ke(e, t, n, i, a, s) {
588
594
  return T(), o(r, {
589
- name: "action-bar",
595
+ name: n.transition ? "action-bar" : "",
590
596
  appear: ""
591
597
  }, {
592
598
  default: I(() => [l("div", Oe, [k(e.$slots, "default", {}, void 0, !0)])]),
593
599
  _: 3
594
- });
600
+ }, 8, ["name"]);
595
601
  }
596
- var Ae = /*#__PURE__*/ V(Te, [["render", ke], ["__scopeId", "data-v-5d8e8d97"]]), je = {
602
+ var Ae = /*#__PURE__*/ V(Te, [["render", ke], ["__scopeId", "data-v-7de0171b"]]), je = {
597
603
  name: "ecs-audio",
598
604
  props: {
599
605
  autoplay: {
@@ -1169,7 +1175,10 @@ var at = /*#__PURE__*/ V(nt, [["render", it], ["__scopeId", "data-v-422cc046"]])
1169
1175
  type: Boolean,
1170
1176
  default: !1
1171
1177
  },
1172
- gap: { type: Number }
1178
+ gap: {
1179
+ type: [Number, Array],
1180
+ validator: (e) => typeof e == "number" || Array.isArray(e) && e.length === 2 && e.every((e) => typeof e == "number")
1181
+ }
1173
1182
  },
1174
1183
  computed: {
1175
1184
  directionClass() {
@@ -1182,8 +1191,13 @@ var at = /*#__PURE__*/ V(nt, [["render", it], ["__scopeId", "data-v-422cc046"]])
1182
1191
  return `ecs-flex-row-align-${this.align}`;
1183
1192
  },
1184
1193
  gapStyle() {
1185
- let e = this.gap || 0;
1186
- return this.direction === "row" || this.direction === "row-reverse" ? `column-gap: ${e}px;` : `row-gap: ${e}px;`;
1194
+ let e = this.direction === "row" || this.direction === "row-reverse";
1195
+ if (Array.isArray(this.gap)) {
1196
+ let [t, n] = this.gap;
1197
+ return `column-gap: ${e ? t : n}px; row-gap: ${e ? n : t}px;`;
1198
+ }
1199
+ let t = this.gap || 0;
1200
+ return e ? `column-gap: ${t}px;` : `row-gap: ${t}px;`;
1187
1201
  }
1188
1202
  }
1189
1203
  };
@@ -1198,7 +1212,7 @@ function st(e, t, n, r, i, a) {
1198
1212
  style: S(a.gapStyle)
1199
1213
  }, [k(e.$slots, "default", {}, void 0, !0)], 6);
1200
1214
  }
1201
- var K = /*#__PURE__*/ V(ot, [["render", st], ["__scopeId", "data-v-d07e3723"]]), ct = (/* @__PURE__ */ z(((e, t) => {
1215
+ var K = /*#__PURE__*/ V(ot, [["render", st], ["__scopeId", "data-v-8b88dcd8"]]), ct = (/* @__PURE__ */ z(((e, t) => {
1202
1216
  function n(e, t, n) {
1203
1217
  var r, i, a, o, s;
1204
1218
  t ??= 100;