@creative-web-solution/front-library 7.1.51 → 7.1.52

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 7.1.52
4
+
5
+ - [Popin]: Fix tabulation inside popin
6
+
3
7
  ## 7.1.51
4
8
 
5
9
  - [Validator]: Update error message selection
@@ -39,7 +39,7 @@ export default class PopinAccessibility {
39
39
 
40
40
 
41
41
  handleForwardTab( e: Event ): void {
42
- if ( this.#$elements?.length || !this.#$lastElement ) {
42
+ if ( !this.#$elements?.length || !this.#$lastElement ) {
43
43
  e.preventDefault();
44
44
  return;
45
45
  }
@@ -1,5 +1,5 @@
1
1
 
2
- export const FOCUSABLE_ELEMENTS_SELECTOR = 'a,button,input,select,textarea';
2
+ export const FOCUSABLE_ELEMENTS_SELECTOR = 'a,button,input,select,textarea,iframe';
3
3
 
4
4
  export function toggleTabIndex( $elements: NodeListOf<HTMLElement> | undefined | null, $popin: HTMLElement, activate: boolean ): void {
5
5
  $elements = $elements || $popin.querySelectorAll( FOCUSABLE_ELEMENTS_SELECTOR );
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Front Library
2
2
 
3
- @version: 7.1.51
3
+ @version: 7.1.52
4
4
 
5
5
 
6
6
  ## Use
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@creative-web-solution/front-library",
3
3
  "title": "Frontend library",
4
4
  "description": "Frontend functions and modules",
5
- "version": "7.1.51",
5
+ "version": "7.1.52",
6
6
  "homepage": "https://github.com/creative-web-solution/front-library",
7
7
  "author": "Creative Web Solution <contact@cws-studio.com> (https://www.cws-studio.com)",
8
8
  "keywords": [],