@progress/kendo-angular-common 11.1.0-develop.8 → 11.1.0

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/esm2020/index.mjs CHANGED
@@ -9,6 +9,7 @@ export * from './resize-sensor';
9
9
  export * from './tokens';
10
10
  export * from './utils';
11
11
  export * from './enums';
12
+ export * from './utils/focusable-selectors';
12
13
  export * from './utils/ng-class-parser';
13
14
  export { PreventableEvent } from './preventable-event';
14
15
  export { ScrollbarWidthService, scrollbarWidth } from './utils/scrollbar-width.service';
@@ -0,0 +1,20 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ /**
6
+ * @hidden
7
+ */
8
+ export const focusableSelector = [
9
+ 'a[href]:not([tabindex^="-"]):not([disabled])',
10
+ 'area[href]:not([tabindex^="-"]):not([disabled])',
11
+ 'input:not([tabindex^="-"]):not([disabled])',
12
+ 'select:not([tabindex^="-"]):not([disabled])',
13
+ 'textarea:not([tabindex^="-"]):not([disabled])',
14
+ 'button:not([tabindex^="-"]):not([disabled])',
15
+ 'iframe:not([tabindex^="-"]):not([disabled])',
16
+ 'object:not([tabindex^="-"]):not([disabled])',
17
+ 'embed:not([tabindex^="-"]):not([disabled])',
18
+ '*[tabindex]:not([tabindex^="-"]):not([disabled])',
19
+ '*[contenteditable]:not([tabindex^="-"]):not([disabled]):not([contenteditable="false"])'
20
+ ].join(',');
@@ -684,6 +684,23 @@ var Keys;
684
684
  Keys[Keys["Tab"] = 9] = "Tab";
685
685
  })(Keys || (Keys = {}));
686
686
 
687
+ /**
688
+ * @hidden
689
+ */
690
+ const focusableSelector = [
691
+ 'a[href]:not([tabindex^="-"]):not([disabled])',
692
+ 'area[href]:not([tabindex^="-"]):not([disabled])',
693
+ 'input:not([tabindex^="-"]):not([disabled])',
694
+ 'select:not([tabindex^="-"]):not([disabled])',
695
+ 'textarea:not([tabindex^="-"]):not([disabled])',
696
+ 'button:not([tabindex^="-"]):not([disabled])',
697
+ 'iframe:not([tabindex^="-"]):not([disabled])',
698
+ 'object:not([tabindex^="-"]):not([disabled])',
699
+ 'embed:not([tabindex^="-"]):not([disabled])',
700
+ '*[tabindex]:not([tabindex^="-"]):not([disabled])',
701
+ '*[contenteditable]:not([tabindex^="-"]):not([disabled]):not([contenteditable="false"])'
702
+ ].join(',');
703
+
687
704
  /* eslint-disable @typescript-eslint/no-explicit-any */
688
705
  /**
689
706
  * @hidden
@@ -811,5 +828,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
811
828
  * Generated bundle index. Do not edit.
812
829
  */
813
830
 
814
- export { DraggableDirective, DraggableModule, EventsModule, EventsOutsideAngularDirective, KendoInput, Keys, PreventableEvent, ResizeBatchService, ResizeCompatService, ResizeObserverService, ResizeSensorComponent, ResizeSensorModule, ScrollbarWidthService, anyChanged, closest, closestInScope, contains, findElement, findFocusable, findFocusableChild, guid, hasClasses, hasObservers, isChanged, isDocumentAvailable, isFocusable, isFocusableWithTabKey, isObject, isPresent, isString, isVisible, matchesClasses, matchesNodeName, parseCSSClassNames, rtlScrollPosition, scrollbarWidth, splitStringToArray };
831
+ export { DraggableDirective, DraggableModule, EventsModule, EventsOutsideAngularDirective, KendoInput, Keys, PreventableEvent, ResizeBatchService, ResizeCompatService, ResizeObserverService, ResizeSensorComponent, ResizeSensorModule, ScrollbarWidthService, anyChanged, closest, closestInScope, contains, findElement, findFocusable, findFocusableChild, focusableSelector, guid, hasClasses, hasObservers, isChanged, isDocumentAvailable, isFocusable, isFocusableWithTabKey, isObject, isPresent, isString, isVisible, matchesClasses, matchesNodeName, parseCSSClassNames, rtlScrollPosition, scrollbarWidth, splitStringToArray };
815
832
 
@@ -680,6 +680,23 @@ var Keys;
680
680
  Keys[Keys["Tab"] = 9] = "Tab";
681
681
  })(Keys || (Keys = {}));
682
682
 
683
+ /**
684
+ * @hidden
685
+ */
686
+ const focusableSelector = [
687
+ 'a[href]:not([tabindex^="-"]):not([disabled])',
688
+ 'area[href]:not([tabindex^="-"]):not([disabled])',
689
+ 'input:not([tabindex^="-"]):not([disabled])',
690
+ 'select:not([tabindex^="-"]):not([disabled])',
691
+ 'textarea:not([tabindex^="-"]):not([disabled])',
692
+ 'button:not([tabindex^="-"]):not([disabled])',
693
+ 'iframe:not([tabindex^="-"]):not([disabled])',
694
+ 'object:not([tabindex^="-"]):not([disabled])',
695
+ 'embed:not([tabindex^="-"]):not([disabled])',
696
+ '*[tabindex]:not([tabindex^="-"]):not([disabled])',
697
+ '*[contenteditable]:not([tabindex^="-"]):not([disabled]):not([contenteditable="false"])'
698
+ ].join(',');
699
+
683
700
  /* eslint-disable @typescript-eslint/no-explicit-any */
684
701
  /**
685
702
  * @hidden
@@ -807,5 +824,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
807
824
  * Generated bundle index. Do not edit.
808
825
  */
809
826
 
810
- export { DraggableDirective, DraggableModule, EventsModule, EventsOutsideAngularDirective, KendoInput, Keys, PreventableEvent, ResizeBatchService, ResizeCompatService, ResizeObserverService, ResizeSensorComponent, ResizeSensorModule, ScrollbarWidthService, anyChanged, closest, closestInScope, contains, findElement, findFocusable, findFocusableChild, guid, hasClasses, hasObservers, isChanged, isDocumentAvailable, isFocusable, isFocusableWithTabKey, isObject, isPresent, isString, isVisible, matchesClasses, matchesNodeName, parseCSSClassNames, rtlScrollPosition, scrollbarWidth, splitStringToArray };
827
+ export { DraggableDirective, DraggableModule, EventsModule, EventsOutsideAngularDirective, KendoInput, Keys, PreventableEvent, ResizeBatchService, ResizeCompatService, ResizeObserverService, ResizeSensorComponent, ResizeSensorModule, ScrollbarWidthService, anyChanged, closest, closestInScope, contains, findElement, findFocusable, findFocusableChild, focusableSelector, guid, hasClasses, hasObservers, isChanged, isDocumentAvailable, isFocusable, isFocusableWithTabKey, isObject, isPresent, isString, isVisible, matchesClasses, matchesNodeName, parseCSSClassNames, rtlScrollPosition, scrollbarWidth, splitStringToArray };
811
828
 
package/index.d.ts CHANGED
@@ -9,6 +9,7 @@ export * from './resize-sensor';
9
9
  export * from './tokens';
10
10
  export * from './utils';
11
11
  export * from './enums';
12
+ export * from './utils/focusable-selectors';
12
13
  export * from './utils/ng-class-parser';
13
14
  export { PreventableEvent } from './preventable-event';
14
15
  export { ScrollbarWidthService, scrollbarWidth } from './utils/scrollbar-width.service';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-common",
3
- "version": "11.1.0-develop.8",
3
+ "version": "11.1.0",
4
4
  "description": "Kendo UI for Angular - Utility Package",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -22,7 +22,7 @@
22
22
  "dependencies": {
23
23
  "@progress/kendo-draggable": "^3.0.2",
24
24
  "tslib": "^2.3.1",
25
- "@progress/kendo-angular-schematics": "11.1.0-develop.8"
25
+ "@progress/kendo-angular-schematics": "11.1.0"
26
26
  },
27
27
  "publishConfig": {
28
28
  "access": "public"
@@ -0,0 +1,8 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ /**
6
+ * @hidden
7
+ */
8
+ export declare const focusableSelector: string;