@seamly/web-ui 25.2.0 → 25.2.1

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.
@@ -14591,7 +14591,7 @@ class API {
14591
14591
  return {
14592
14592
  clientName: "@seamly/web-ui",
14593
14593
  clientVariant: this.#layoutMode,
14594
- clientVersion: "25.2.0",
14594
+ clientVersion: "25.2.1",
14595
14595
  currentUrl: window.location.toString(),
14596
14596
  screenResolution: `${window.screen.width}x${window.screen.height}`,
14597
14597
  timezone: (0,_utils__WEBPACK_IMPORTED_MODULE_13__.getTimeZone)(),
@@ -24831,7 +24831,10 @@ const Chat = (0,preact_compat__WEBPACK_IMPORTED_MODULE_7__.forwardRef)(({
24831
24831
  if (isVisible && layoutMode === 'window') {
24832
24832
  focusTrap.current = (0,focus_trap__WEBPACK_IMPORTED_MODULE_5__.createFocusTrap)(`#${chatSectionId}`, {
24833
24833
  // We set the initialFocus to false, as the `WindowOpenButton` takes care of that
24834
- initialFocus: false
24834
+ initialFocus: false,
24835
+ // Allow outside clicks to deactive the focus trap, so users can still navigate and use the site they are on
24836
+ // Users for which the focus trap is intended will (usually) not trigger this, and if they do, also intend this to happen
24837
+ clickOutsideDeactivates: true
24835
24838
  });
24836
24839
  focusTrap.current.activate();
24837
24840
  }