@florid-kit/components 3.2.8 → 3.2.10

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.
@@ -23,7 +23,7 @@ let e = class extends $ {
23
23
  this.dispatchEvent(a), a.defaultPrevented && t.preventDefault(), this.selected = s.selected;
24
24
  }
25
25
  crossIcon() {
26
- return o`<o-icon-button size="xsmall" icon="occ-close-outlined" bgstyle="none-light"></o-icon-button>`;
26
+ return o`<o-icon-button size="small" icon="occ-close-outlined" bgstyle="none-light"></o-icon-button>`;
27
27
  }
28
28
  strikeThroughImg() {
29
29
  const t = m[this.strikethroughImgName].replace(
@@ -1,6 +1,6 @@
1
1
  import { E as p, i as C, a as w, m as S, x as u, t as E } from "../performance-mixin-D7YmSeqN.mjs";
2
2
  import { n as a } from "../property-S_Y9cb04.mjs";
3
- import { f as g } from "../css-C8WrrxT-.mjs";
3
+ import { f as m } from "../css-C8WrrxT-.mjs";
4
4
  import { i as B, m as A } from "../element-internals-Dw7LndlH.mjs";
5
5
  import { e as $, o as _, a as I } from "../icons-registry.mjs";
6
6
  import { g as z } from "../svg-utils-DOL__czZ.mjs";
@@ -237,7 +237,7 @@ let l = class extends S(w) {
237
237
  }
238
238
  await this.focusDetailReturnBtn();
239
239
  }, this._detailOriginEl = null, this._detailOriginClass = "", this.handleKeyDown = (e) => {
240
- this.open && (e.key === "Escape" ? this.closePanel(e) : e.key === "Tab" && this.trapFocus(e));
240
+ this.open && (e.key === "Escape" ? (e.stopPropagation(), this.closePanel(e)) : e.key === "Tab" && this.trapFocus(e));
241
241
  }, this.handleClosePanel = (e) => {
242
242
  if (e instanceof KeyboardEvent && e.key !== "Enter" && e.key !== " ")
243
243
  return;
@@ -336,12 +336,12 @@ let l = class extends S(w) {
336
336
  return;
337
337
  }
338
338
  if (document.querySelector("#refineandsortpopin")) {
339
- const s = t.querySelector(".close-btn"), h = s ? this.resolveFocusable(s) : null, f = t.querySelector(".js-clear-refinements"), m = f ? this.resolveFocusable(f) : null, x = (P) => {
339
+ const s = t.querySelector(".close-btn"), h = s ? this.resolveFocusable(s) : null, f = t.querySelector(".js-clear-refinements"), g = f ? this.resolveFocusable(f) : null, x = (P) => {
340
340
  e.preventDefault(), e.stopPropagation(), P.focus();
341
341
  };
342
- if (h && m) {
343
- if (!e.shiftKey && n === m) return x(h);
344
- if (e.shiftKey && n === h) return x(m);
342
+ if (h && g) {
343
+ if (!e.shiftKey && n === g) return x(h);
344
+ if (e.shiftKey && n === h) return x(g);
345
345
  }
346
346
  }
347
347
  const r = this.renderRoot.querySelector(".close-btn");
@@ -690,7 +690,7 @@ l.styles = C`
690
690
 
691
691
  .panel:focus-visible,
692
692
  .close-btn:focus-visible {
693
- ${g}
693
+ ${m}
694
694
  }
695
695
 
696
696
  [role="document"] {
@@ -976,7 +976,7 @@ d.styles = C`
976
976
  }
977
977
 
978
978
  :host(.a--tabfocus) .button {
979
- ${g};
979
+ ${m};
980
980
  }
981
981
 
982
982
  :host([fullwidth]) {
@@ -1127,7 +1127,7 @@ d.styles = C`
1127
1127
  }
1128
1128
 
1129
1129
  .button:focus-visible {
1130
- ${g};
1130
+ ${m};
1131
1131
  }
1132
1132
 
1133
1133
  span.text + span.text::before {
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.8";
41
+ globalThis.__FLORID_KIT__ = "3.2.10";
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.8";
7
+ globalThis.__FLORID_KIT__ = "3.2.10";
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.8",
3
+ "version": "3.2.10",
4
4
  "main": "index.js",
5
5
  "module": "index.mjs",
6
6
  "typings": "index.d.ts",