@y14e/tabs 1.4.0 → 1.4.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.
- package/dist/index.cjs +2 -7
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -7
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -939,12 +939,7 @@ var Tabs = class _Tabs {
|
|
|
939
939
|
return;
|
|
940
940
|
}
|
|
941
941
|
event.preventDefault();
|
|
942
|
-
|
|
943
|
-
case "Enter":
|
|
944
|
-
case " ":
|
|
945
|
-
active.click();
|
|
946
|
-
return;
|
|
947
|
-
}
|
|
942
|
+
active.click();
|
|
948
943
|
};
|
|
949
944
|
#onPanelBeforeMatch = (event) => {
|
|
950
945
|
const panel = event.currentTarget;
|
|
@@ -1095,7 +1090,7 @@ function isFocusable2(element) {
|
|
|
1095
1090
|
* Tabs
|
|
1096
1091
|
* WAI-ARIA compliant tabs pattern implementation in TypeScript.
|
|
1097
1092
|
*
|
|
1098
|
-
* @version 1.4.
|
|
1093
|
+
* @version 1.4.1
|
|
1099
1094
|
* @author Yusuke Kamiyamane
|
|
1100
1095
|
* @license MIT
|
|
1101
1096
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -937,12 +937,7 @@ var Tabs = class _Tabs {
|
|
|
937
937
|
return;
|
|
938
938
|
}
|
|
939
939
|
event.preventDefault();
|
|
940
|
-
|
|
941
|
-
case "Enter":
|
|
942
|
-
case " ":
|
|
943
|
-
active.click();
|
|
944
|
-
return;
|
|
945
|
-
}
|
|
940
|
+
active.click();
|
|
946
941
|
};
|
|
947
942
|
#onPanelBeforeMatch = (event) => {
|
|
948
943
|
const panel = event.currentTarget;
|
|
@@ -1093,7 +1088,7 @@ function isFocusable2(element) {
|
|
|
1093
1088
|
* Tabs
|
|
1094
1089
|
* WAI-ARIA compliant tabs pattern implementation in TypeScript.
|
|
1095
1090
|
*
|
|
1096
|
-
* @version 1.4.
|
|
1091
|
+
* @version 1.4.1
|
|
1097
1092
|
* @author Yusuke Kamiyamane
|
|
1098
1093
|
* @license MIT
|
|
1099
1094
|
* @copyright Copyright (c) Yusuke Kamiyamane
|