@progress/kendo-pdfviewer-common 0.3.0 → 0.3.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.
@@ -19,7 +19,10 @@ import { AnnotationBorderStyleType, AnnotationPrefix, AnnotationType, LINE_FACTO
19
19
  import { ColorConverters } from "./shared/scripting_utils";
20
20
  // import { AnnotationStorage } from "pdfjs-dist/types/src/display/annotation_storage";
21
21
  // import { AnnotationStorage } from "pdfjs-dist/types/src/display/annotation_storage";
22
- const DEFAULT_TAB_INDEX = 1000;
22
+ // const DEFAULT_TAB_INDEX = 1000;
23
+ // it is unclear why the value 1000 is chosen by pdf.js
24
+ // kendo a11y tests fail if this is not 0
25
+ const DEFAULT_TAB_INDEX = 0;
23
26
  const DEFAULT_FONT_SIZE = 9;
24
27
  const GetElementsByNameSet = new WeakSet();
25
28
  function getRectDims(rect) {
@@ -19,7 +19,10 @@ import { AnnotationBorderStyleType, AnnotationPrefix, AnnotationType, LINE_FACTO
19
19
  import { ColorConverters } from "./shared/scripting_utils";
20
20
  // import { AnnotationStorage } from "pdfjs-dist/types/src/display/annotation_storage";
21
21
  // import { AnnotationStorage } from "pdfjs-dist/types/src/display/annotation_storage";
22
- const DEFAULT_TAB_INDEX = 1000;
22
+ // const DEFAULT_TAB_INDEX = 1000;
23
+ // it is unclear why the value 1000 is chosen by pdf.js
24
+ // kendo a11y tests fail if this is not 0
25
+ const DEFAULT_TAB_INDEX = 0;
23
26
  const DEFAULT_FONT_SIZE = 9;
24
27
  const GetElementsByNameSet = new WeakSet();
25
28
  function getRectDims(rect) {
@@ -22,7 +22,10 @@ const utils_1 = require("./shared/utils");
22
22
  const scripting_utils_1 = require("./shared/scripting_utils");
23
23
  // import { AnnotationStorage } from "pdfjs-dist/types/src/display/annotation_storage";
24
24
  // import { AnnotationStorage } from "pdfjs-dist/types/src/display/annotation_storage";
25
- const DEFAULT_TAB_INDEX = 1000;
25
+ // const DEFAULT_TAB_INDEX = 1000;
26
+ // it is unclear why the value 1000 is chosen by pdf.js
27
+ // kendo a11y tests fail if this is not 0
28
+ const DEFAULT_TAB_INDEX = 0;
26
29
  const DEFAULT_FONT_SIZE = 9;
27
30
  const GetElementsByNameSet = new WeakSet();
28
31
  function getRectDims(rect) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-pdfviewer-common",
3
3
  "description": "Kendo UI TypeScript package exporting functions for PDFViewer component",
4
- "version": "0.3.0",
4
+ "version": "0.3.1",
5
5
  "keywords": [
6
6
  "Kendo UI"
7
7
  ],