@skeletonlabs/skeleton 2.1.0-dev.effc3c64 → 2.2.0-dev.b3f4616d

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.
@@ -1,6 +1,6 @@
1
1
  // Action: Focus Trap
2
2
  export function focusTrap(node, enabled) {
3
- const elemWhitelist = 'a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])';
3
+ const elemWhitelist = 'a[href]:not([tabindex="-1"]), button:not([tabindex="-1"]), input:not([tabindex="-1"]), textarea:not([tabindex="-1"]), select:not([tabindex="-1"]), details:not([tabindex="-1"]), [tabindex]:not([tabindex="-1"])';
4
4
  let elemFirst;
5
5
  let elemLast;
6
6
  // When the first element is selected, shift+tab pressed, jump to the last selectable item.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skeletonlabs/skeleton",
3
- "version": "2.1.0-dev.effc3c64",
3
+ "version": "2.2.0-dev.b3f4616d",
4
4
  "description": "A SvelteKit component library.",
5
5
  "author": "endigo9740 <chris@skeletonlabs.dev>",
6
6
  "repository": {