@sveltia/ui 0.30.1 → 0.30.2

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.
@@ -294,7 +294,10 @@ class Group {
294
294
  );
295
295
 
296
296
  if (isTarget) {
297
- element.click();
297
+ if (event.type === 'keydown' && element.matches('[role="radio"]')) {
298
+ element.click();
299
+ }
300
+
298
301
  element.dispatchEvent(new CustomEvent('Select'));
299
302
  }
300
303
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltia/ui",
3
- "version": "0.30.1",
3
+ "version": "0.30.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {