@everchron/ec-shards 8.9.1 → 8.9.2

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
@@ -7466,6 +7466,11 @@ const Iu = {
7466
7466
  type: Boolean,
7467
7467
  default: !1
7468
7468
  },
7469
+ /** Renders the list item in a condensed variant. Note: this is reducing paddings inside the items, not reducing the font size (which is done by the `small` prop). */
7470
+ condensed: {
7471
+ type: Boolean,
7472
+ default: !1
7473
+ },
7469
7474
  /** Expands the list item identifer and content areas to 100% width, which makes the content area wrap. This should be used for content that is expected to be very long. */
7470
7475
  full: {
7471
7476
  type: Boolean,
@@ -7520,7 +7525,8 @@ const Iu = {
7520
7525
  data() {
7521
7526
  return {
7522
7527
  isVisible: this.visible,
7523
- expandId: ""
7528
+ expandId: "",
7529
+ definitionId: ""
7524
7530
  };
7525
7531
  },
7526
7532
  computed: {
@@ -7546,12 +7552,9 @@ const Iu = {
7546
7552
  }
7547
7553
  },
7548
7554
  created() {
7549
- this.expandId = this.generateUniqueId();
7555
+ this.expandId = this.generateUniqueId(), this.definitionId = this.generateUniqueId();
7550
7556
  }
7551
- }, $u = {
7552
- key: 0,
7553
- class: "ecs-data-list-identifier"
7554
- }, Eu = ["aria-busy"], Pu = ["aria-valuenow"], Tu = ["id", "aria-hidden"];
7557
+ }, $u = ["id"], Eu = ["aria-busy", "aria-labelledby"], Pu = ["aria-valuenow"], Tu = ["id", "aria-hidden"];
7555
7558
  function Mu(e, s, t, a, n, i) {
7556
7559
  const r = p("ecs-button-more"), c = p("ecs-skeleton-loader");
7557
7560
  return o(), l("div", null, [
@@ -7561,11 +7564,16 @@ function Mu(e, s, t, a, n, i) {
7561
7564
  t.full ? "ecs-data-list-item-full" : "",
7562
7565
  t.plain ? "plain" : "filled",
7563
7566
  t.indent ? "indent" : "",
7567
+ t.condensed ? "condensed" : "",
7564
7568
  t.plain && t.bordered ? "bordered" : ""
7565
7569
  ]]),
7566
7570
  role: "listitem"
7567
7571
  }, [
7568
- i.hasIdentifier ? (o(), l("div", $u, [
7572
+ i.hasIdentifier ? (o(), l("div", {
7573
+ key: 0,
7574
+ id: n.definitionId,
7575
+ class: "ecs-data-list-identifier"
7576
+ }, [
7569
7577
  D(x(t.identifier) + " ", 1),
7570
7578
  e.$slots.collapse ? (o(), y(r, {
7571
7579
  key: 0,
@@ -7576,14 +7584,16 @@ function Mu(e, s, t, a, n, i) {
7576
7584
  "aria-expanded": n.isVisible ? "true" : "false",
7577
7585
  onClick: i.toggleCollapse
7578
7586
  }, null, 8, ["active", "aria-controls", "aria-expanded", "onClick"])) : u("", !0)
7579
- ])) : u("", !0),
7587
+ ], 8, $u)) : u("", !0),
7580
7588
  f("div", {
7581
7589
  class: v(["ecs-data-list-data", [
7582
7590
  t.escape ? "ecs-data-list-data-escape" : "",
7583
7591
  t.error ? "ecs-data-list-data-error" : "",
7584
7592
  i.typeClass
7585
7593
  ]]),
7586
- "aria-busy": t.loading || null
7594
+ "aria-busy": t.loading || null,
7595
+ role: "definition",
7596
+ "aria-labelledby": n.definitionId
7587
7597
  }, [
7588
7598
  t.loading ? (o(), y(c, {
7589
7599
  key: 1,
@@ -7610,7 +7620,7 @@ function Mu(e, s, t, a, n, i) {
7610
7620
  ], 10, Tu)) : u("", !0)
7611
7621
  ]);
7612
7622
  }
7613
- const Ly = /* @__PURE__ */ _(Iu, [["render", Mu], ["__scopeId", "data-v-f9d63974"]]);
7623
+ const Ly = /* @__PURE__ */ _(Iu, [["render", Mu], ["__scopeId", "data-v-99c893a3"]]);
7614
7624
  const Lu = {
7615
7625
  name: "ecs-dialog",
7616
7626
  emits: ["toggled", "cancel"],