@insymetri/styleguide 0.1.55 → 0.1.57

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.
@@ -71,7 +71,7 @@
71
71
  let highlightedIndex = $state(-1)
72
72
 
73
73
  $effect(() => {
74
- if (autofocus && triggerEl) triggerEl.focus()
74
+ if (autofocus && triggerEl) triggerEl.focus({focusVisible: true} as FocusOptions)
75
75
  })
76
76
 
77
77
  const selectedItem = $derived(items.find(i => i.value === value))
@@ -153,6 +153,7 @@
153
153
 
154
154
  if (e.key === 'Escape' && open) {
155
155
  e.preventDefault()
156
+ e.stopPropagation()
156
157
  close()
157
158
  return
158
159
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insymetri/styleguide",
3
- "version": "0.1.55",
3
+ "version": "0.1.57",
4
4
  "description": "Insymetri shared UI component library built with Svelte 5",
5
5
  "type": "module",
6
6
  "scripts": {