@everchron/ec-shards 14.15.1 → 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",
@@ -9144,6 +9151,11 @@ const X_ = /* @__PURE__ */ _(Fu, [["render", $u], ["__scopeId", "data-v-6e05c98b
9144
9151
  type: Boolean,
9145
9152
  default: !1
9146
9153
  },
9154
+ /** Sets an optional icon to be shown when the directory entry is hovered. */
9155
+ hoverIcon: {
9156
+ type: String,
9157
+ default: null
9158
+ },
9147
9159
  /** Shows a legend color next to the text. Should be a valid color value. */
9148
9160
  legendColor: {
9149
9161
  type: String
@@ -9217,12 +9229,19 @@ function Yu(e, s, t, a, n, i) {
9217
9229
  "line-height": 3,
9218
9230
  width: "random"
9219
9231
  })) : p(e.$slots, "default", { key: 1 }, void 0, !0)
9220
- ])
9232
+ ]),
9233
+ t.hoverIcon ? (o(), h(d, {
9234
+ key: 1,
9235
+ type: t.hoverIcon,
9236
+ color: "var(--color-blue-9)",
9237
+ size: "24",
9238
+ class: "hover-icon"
9239
+ }, null, 8, ["type"])) : u("", !0)
9221
9240
  ]),
9222
9241
  _: 3
9223
9242
  }, 8, ["class", "role"]);
9224
9243
  }
9225
- const J_ = /* @__PURE__ */ _(ju, [["render", Yu], ["__scopeId", "data-v-fdb4411c"]]), Xu = {
9244
+ const J_ = /* @__PURE__ */ _(ju, [["render", Yu], ["__scopeId", "data-v-95408541"]]), Xu = {
9226
9245
  name: "ecs-document-state",
9227
9246
  components: {
9228
9247
  EcsIcon: O,