@florid-kit/components 3.2.3 → 3.2.4

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.
@@ -299,7 +299,7 @@ let l = class extends E(w) {
299
299
  if (!t) return;
300
300
  t.updateComplete && await t.updateComplete, (h = (s = ((r = t.shadowRoot) == null ? void 0 : r.querySelector("button")) ?? t) == null ? void 0 : s.focus) == null || h.call(s, { preventScroll: !0 });
301
301
  const n = (f = this.shadowRoot) == null ? void 0 : f.querySelector('.panel[role="dialog"]');
302
- n && n.setAttribute("aria-label", this.labelAriaDialogPanel || "panel-title");
302
+ n && (this.labelAriaDialogPanel ? n.setAttribute("aria-label", this.labelAriaDialogPanel) : n.setAttribute("aria-labelledby", "panel-title"));
303
303
  }
304
304
  _restoreFocusToOrigin() {
305
305
  var t, o;
@@ -519,7 +519,8 @@ let l = class extends E(w) {
519
519
  class="panel"
520
520
  role="dialog"
521
521
  aria-modal="true"
522
- aria-label="${this.labelAriaDialogPanel || "panel-title"}"
522
+ aria-label="${this.labelAriaDialogPanel || b}"
523
+ aria-labelledby="${this.labelAriaDialogPanel ? b : "panel-title"}"
523
524
  style="z-index: ${this.zIndex + 1}"
524
525
  tabindex="-1"
525
526
  >
package/index.mjs CHANGED
@@ -38,4 +38,4 @@ import "./components/search-input.mjs";
38
38
  import "./components/search-input-dropdown.mjs";
39
39
  import "./components/option-tile.mjs";
40
40
  import "./components/option-tile-group.mjs";
41
- globalThis.__FLORID_KIT__ = "3.2.3";
41
+ globalThis.__FLORID_KIT__ = "3.2.4";
package/loader.mjs CHANGED
@@ -4,7 +4,7 @@ import "./components/link.mjs";
4
4
  import "./components/header-simplify.mjs";
5
5
  import "./components/breadcrumb.mjs";
6
6
  import "./components/breadcrumbs.mjs";
7
- globalThis.__FLORID_KIT__ = "3.2.3";
7
+ globalThis.__FLORID_KIT__ = "3.2.4";
8
8
  const i = {
9
9
  "o-accordion": () => import("./components/accordion.mjs"),
10
10
  "o-accordion-group": () => import("./components/accordion-group.mjs"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@florid-kit/components",
3
- "version": "3.2.3",
3
+ "version": "3.2.4",
4
4
  "main": "index.js",
5
5
  "module": "index.mjs",
6
6
  "typings": "index.d.ts",