@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/client/aparte-client.d.ts +21 -0
- package/dist/client/aparte-client.d.ts.map +1 -1
- package/dist/config/aparte-config.d.ts +6 -0
- package/dist/config/aparte-config.d.ts.map +1 -1
- package/dist/custom-elements.json +5948 -5919
- package/dist/{index-D89k-n2Q.js → index-CW2BCAqn.js} +30 -3
- package/dist/index-CW2BCAqn.js.map +1 -0
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.node.js +1 -1
- package/dist/primitives/select/aparte-select.d.ts.map +1 -1
- package/dist/types/imperative-api.d.ts +14 -0
- package/dist/types/imperative-api.d.ts.map +1 -1
- package/dist/types/model-provider.d.ts +9 -3
- package/dist/types/model-provider.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/index-D89k-n2Q.js.map +0 -1
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-
|
|
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-
|
|
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;
|