@aparte/core 0.2.0-alpha.0 → 0.3.0-alpha.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/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { N as resolveConfig, y as getSegmentRenderer, O as runWithConfig, M as MessageRepository, H as populateBubbleFromMessage, d as AparteConfig, p as buildElicitationPanel } from "./index-D89k-n2Q.js";
2
- import { A, a, b, c, e, f, g, h, i, B, C, D, j, k, l, m, n, o, q, r, s, t, u, v, w, x, z, E, F, G, I, J, K, L, P } from "./index-D89k-n2Q.js";
1
+ import { N as resolveConfig, y as getSegmentRenderer, O as runWithConfig, M as MessageRepository, H as populateBubbleFromMessage, d as AparteConfig, p as buildElicitationPanel } from "./index-CW2BCAqn.js";
2
+ import { A, a, b, c, e, f, g, h, i, B, C, D, j, k, l, m, n, o, q, r, s, t, u, v, w, x, z, E, F, G, I, J, K, L, P } from "./index-CW2BCAqn.js";
3
3
  class AparteOption extends HTMLElement {
4
4
  static get observedAttributes() {
5
5
  return ["value", "disabled", "selected", "data-status"];
@@ -261,6 +261,7 @@ class AparteSelect extends HTMLElement {
261
261
  trigger.setAttribute("role", "combobox");
262
262
  trigger.setAttribute("aria-haspopup", "listbox");
263
263
  trigger.setAttribute("aria-expanded", "false");
264
+ trigger.setAttribute("aria-label", this.getAttribute("aria-label") || placeholder);
264
265
  const labelSpan = document.createElement("span");
265
266
  labelSpan.className = "aparte-select-label";
266
267
  labelSpan.textContent = placeholder;