@everchron/ec-shards 14.15.2 → 14.16.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
@@ -7845,6 +7845,11 @@ const q_ = /* @__PURE__ */ _(Rd, [["render", Fd], ["__scopeId", "data-v-60369c9b
7845
7845
  hover: {
7846
7846
  type: Boolean,
7847
7847
  default: !0
7848
+ },
7849
+ /** Sets a custom background color for the row. Note: this will override any background color set via the `state` prop. */
7850
+ background: {
7851
+ type: String,
7852
+ default: null
7848
7853
  }
7849
7854
  },
7850
7855
  computed: {
@@ -7880,8 +7885,10 @@ function $d(e, s, t, a, n, i) {
7880
7885
  t.state,
7881
7886
  t.type == "header" ? "header-row" : "",
7882
7887
  i.isClickable ? "clickable" : "",
7883
- t.hover ? "hoverable" : ""
7888
+ t.hover ? "hoverable" : "",
7889
+ t.background ? "has-custom-background" : ""
7884
7890
  ]]),
7891
+ style: x(t.background ? { "--row-background-color": t.background } : {}),
7885
7892
  ref: "grid_row",
7886
7893
  role: "row"
7887
7894
  }, [
@@ -7892,9 +7899,9 @@ function $d(e, s, t, a, n, i) {
7892
7899
  })) : u("", !0),
7893
7900
  t.state == "disabled" ? (o(), r("div", qd)) : u("", !0),
7894
7901
  p(e.$slots, "default", {}, void 0, !0)
7895
- ], 2);
7902
+ ], 6);
7896
7903
  }
7897
- const Wd = /* @__PURE__ */ _(Hd, [["render", $d], ["__scopeId", "data-v-ae6888e6"]]), jd = {
7904
+ const Wd = /* @__PURE__ */ _(Hd, [["render", $d], ["__scopeId", "data-v-3c635dc6"]]), jd = {
7898
7905
  name: "ecs-data-grid-row-group",
7899
7906
  emits: ["toggle"],
7900
7907
  components: {
@@ -8624,7 +8631,7 @@ function Cu(e, s, t, a, n, i) {
8624
8631
  t.fixedLeftLast ? (o(), r("div", xu)) : u("", !0)
8625
8632
  ], 6);
8626
8633
  }
8627
- const U_ = /* @__PURE__ */ _(_u, [["render", Cu], ["__scopeId", "data-v-3d41dc72"]]), Bu = {
8634
+ const U_ = /* @__PURE__ */ _(_u, [["render", Cu], ["__scopeId", "data-v-7d18b84f"]]), Bu = {
8628
8635
  name: "ecs-data-list"
8629
8636
  }, zu = {
8630
8637
  class: "ecs-data-list",