@everchron/ec-shards 13.0.7 → 13.0.9

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
@@ -7361,7 +7361,10 @@ const Rx = /* @__PURE__ */ w(Ix, [["render", Zx], ["__scopeId", "data-v-21b580ad
7361
7361
  * - `ai (Boolean)`: Wether the text is AI generated or extracted
7362
7362
  * - `party (String)`: The party of the pill
7363
7363
  * - `color (String)`: Creates a custom pill background and text color
7364
- * - `background (Boolean)`: Whether the pill has a background color
7364
+ * - `background (Boolean|String)`: Whether the pill has a background color or a specific background color
7365
+ * - `Boolean`: When true, uses the default background color with opacity
7366
+ * - `String`: Uses the provided color (hex/variable) for the background
7367
+ * - `border (Boolean)`: Whether the pill has a border
7365
7368
  * - `emphasized (Boolean)`: Whether the pill text is bold
7366
7369
  **/
7367
7370
  pill: {
@@ -7447,6 +7450,14 @@ const Rx = /* @__PURE__ */ w(Ix, [["render", Zx], ["__scopeId", "data-v-21b580ad
7447
7450
  titleIconColor() {
7448
7451
  var t, e;
7449
7452
  return (t = this.title) != null && t.ai ? "var(--color-purple-10)" : (e = this.title) != null && e.iconColor ? this.title.iconColor : "var(--color-gray-9)";
7453
+ },
7454
+ getPillBackgroundStyle() {
7455
+ var t;
7456
+ return (t = this.pill) != null && t.background ? typeof this.pill.background == "string" ? { background: this.pill.background } : this.pill.background === !0 ? {
7457
+ background: "currentColor",
7458
+ opacity: ".08",
7459
+ filter: "saturate(2)"
7460
+ } : {} : {};
7450
7461
  }
7451
7462
  },
7452
7463
  methods: {
@@ -7484,9 +7495,9 @@ const Rx = /* @__PURE__ */ w(Ix, [["render", Zx], ["__scopeId", "data-v-21b580ad
7484
7495
  this.checkTruncation(this.$refs.pillText), this.checkTruncation(this.$refs.titleText), this.checkTruncation(this.$refs.metaText);
7485
7496
  });
7486
7497
  }
7487
- }, Nx = { class: "ecs-data-card-row" }, qx = { class: "ecs-data-card-row-title-container" }, Wx = { class: "ecs-data-card-row-pill-text" }, Kx = {
7488
- key: 1,
7489
- class: "ecs-data-card-pill-background"
7498
+ }, Nx = { class: "ecs-data-card-row" }, qx = { class: "ecs-data-card-row-title-container" }, Wx = { class: "text" }, Kx = {
7499
+ key: 2,
7500
+ class: "border"
7490
7501
  }, Yx = {
7491
7502
  key: 1,
7492
7503
  class: "ecs-data-card-row-meta-pills-container"
@@ -7544,7 +7555,12 @@ function Xx(t, e, l, a, i, n) {
7544
7555
  size: "20px"
7545
7556
  }, null, 8, ["type", "color"])) : u("", !0),
7546
7557
  s("span", Wx, _(l.pill.text), 1),
7547
- l.pill.background ? (o(), r("span", Kx)) : u("", !0)
7558
+ l.pill.background ? (o(), r("span", {
7559
+ key: 1,
7560
+ class: "background",
7561
+ style: S(n.getPillBackgroundStyle)
7562
+ }, null, 4)) : u("", !0),
7563
+ l.pill.border && l.pill.background ? (o(), r("span", Kx)) : u("", !0)
7548
7564
  ], 38)) : u("", !0),
7549
7565
  l.title ? (o(), r("span", {
7550
7566
  key: 2,
@@ -7607,7 +7623,7 @@ function Xx(t, e, l, a, i, n) {
7607
7623
  ], 2)
7608
7624
  ]);
7609
7625
  }
7610
- const s50 = /* @__PURE__ */ w(Gx, [["render", Xx], ["__scopeId", "data-v-b714810d"]]), Jx = {
7626
+ const s50 = /* @__PURE__ */ w(Gx, [["render", Xx], ["__scopeId", "data-v-9a5c1e17"]]), Jx = {
7611
7627
  name: "ecs-data-grid",
7612
7628
  emits: ["tableScroll"],
7613
7629
  props: {
@@ -9249,7 +9265,7 @@ function PS(t, e, l, a, i, n) {
9249
9265
  ])) : u("", !0)
9250
9266
  ], 8, SS);
9251
9267
  }
9252
- const Os = /* @__PURE__ */ w(bS, [["render", PS], ["__scopeId", "data-v-649b986f"]]), OS = {
9268
+ const Os = /* @__PURE__ */ w(bS, [["render", PS], ["__scopeId", "data-v-60265995"]]), OS = {
9253
9269
  props: {
9254
9270
  /** The current progress value. */
9255
9271
  value: {