@noriginmedia/norigin-spatial-navigation-core 3.0.0 → 3.1.0-beta.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.
@@ -1,4 +1,4 @@
1
- declare const measureLayout: (node: HTMLElement) => {
1
+ export declare const measureLayout: (node: HTMLElement) => {
2
2
  x: number;
3
3
  y: number;
4
4
  width: number;
@@ -8,7 +8,6 @@ declare const measureLayout: (node: HTMLElement) => {
8
8
  readonly right: any;
9
9
  readonly bottom: any;
10
10
  };
11
- export default measureLayout;
12
11
  export declare const getBoundingClientRect: (node: HTMLElement) => {
13
12
  x: number;
14
13
  y: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noriginmedia/norigin-spatial-navigation-core",
3
- "version": "3.0.0",
3
+ "version": "3.1.0-beta.0",
4
4
  "description": "Core spatial navigation logic for web and TV.",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -39,11 +39,14 @@
39
39
  "lodash-es": "^4.17.21"
40
40
  },
41
41
  "devDependencies": {
42
+ "@babel/core": "^7.26.0",
43
+ "@babel/preset-env": "^7.26.0",
42
44
  "@rollup/plugin-commonjs": "^29.0.0",
43
45
  "@rollup/plugin-node-resolve": "^16.0.0",
44
46
  "@rollup/plugin-typescript": "^12.1.2",
45
47
  "@types/jest": "^29.5.12",
46
48
  "@types/lodash-es": "^4.17.12",
49
+ "babel-jest": "^29.7.0",
47
50
  "jest": "^29.7.0",
48
51
  "jest-environment-jsdom": "^29.7.0",
49
52
  "prettier": "^2.5.1",