@siemens/ix-react 2.6.1 → 3.0.0-alpha.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.
Files changed (32) hide show
  1. package/package.json +31 -31
  2. package/dist/index.esm.js +0 -737
  3. package/dist/index.js +0 -855
  4. package/dist/types/components.d.ts +0 -104
  5. package/dist/types/context/application-context.d.ts +0 -7
  6. package/dist/types/context/context.d.ts +0 -5
  7. package/dist/types/context.d.ts +0 -1
  8. package/dist/types/delegate.d.ts +0 -14
  9. package/dist/types/index.d.ts +0 -7
  10. package/dist/types/internal-components.d.ts +0 -1
  11. package/dist/types/ix-icon.d.ts +0 -3
  12. package/dist/types/modal/index.d.ts +0 -7
  13. package/dist/types/modal/modal.d.ts +0 -9
  14. package/dist/types/modal/portal.d.ts +0 -6
  15. package/dist/types/react-component-lib/createComponent.d.ts +0 -10
  16. package/dist/types/react-component-lib/createOverlayComponent.d.ts +0 -21
  17. package/dist/types/react-component-lib/index.d.ts +0 -2
  18. package/dist/types/react-component-lib/interfaces.d.ts +0 -29
  19. package/dist/types/react-component-lib/utils/attachProps.d.ts +0 -16
  20. package/dist/types/react-component-lib/utils/case.d.ts +0 -2
  21. package/dist/types/react-component-lib/utils/dev.d.ts +0 -2
  22. package/dist/types/react-component-lib/utils/index.d.ts +0 -10
  23. package/dist/types/tests/toast/toast.d.ts +0 -3
  24. package/dist/types/tests/toast/toast.spec.d.ts +0 -1
  25. package/dist/types/tests/undefined-error/undefined-error.d.ts +0 -3
  26. package/dist/types/tests/undefined-error/undefined-error.spec.d.ts +0 -1
  27. package/dist/types/tests/validation-tooltip-null-error/validation-tooltip-null-error.d.ts +0 -3
  28. package/dist/types/tests/validation-tooltip-null-error/validation-tooltip-null-error.spec.d.ts +0 -1
  29. package/dist/types/toast/index.d.ts +0 -1
  30. package/dist/types/toast/toast.d.ts +0 -6
  31. package/dist/types/tree/index.d.ts +0 -1
  32. package/dist/types/tree/tree.d.ts +0 -7
package/package.json CHANGED
@@ -7,60 +7,60 @@
7
7
  "url": "https://github.com/siemens/ix",
8
8
  "directory": "packages/react"
9
9
  },
10
- "version": "2.6.1",
10
+ "version": "3.0.0-alpha.0",
11
11
  "description": "Siemens iX for React",
12
12
  "main": "dist/index.js",
13
- "module": "dist/index.esm.js",
14
13
  "types": "dist/types/index.d.ts",
15
14
  "files": [
16
15
  "LICENSE",
17
16
  "README.md",
18
17
  "dist"
19
18
  ],
19
+ "exports": {
20
+ ".": {
21
+ "import": "./dist/index.js",
22
+ "types": "./dist/types/index.d.ts"
23
+ }
24
+ },
20
25
  "author": "",
21
26
  "license": "MIT",
22
27
  "devDependencies": {
23
- "@rollup/plugin-typescript": "^8.4.0",
24
- "@testing-library/jest-dom": "^5.16.5",
25
- "@testing-library/react": "^13.4.0",
26
- "@types/estree": "~0.0.51",
27
- "@types/react": "18.2.33",
28
- "@types/react-dom": "18.2.14",
29
- "babel-jest": "^29.7.0",
28
+ "@rollup/plugin-typescript": "^8.5.0",
29
+ "@testing-library/react": "^16.0.1",
30
+ "@types/node": "^20.16.0",
31
+ "@types/react": "^18",
32
+ "@types/react-dom": "^18",
33
+ "@vitejs/plugin-react": "^4.3.2",
30
34
  "eslint": "~8.21.0",
31
- "eslint-plugin-react": "^7.31.11",
32
- "happy-dom": "^14.7.1",
33
- "identity-obj-proxy": "^3.0.0",
34
- "jest": "^29.1.2",
35
- "jest-environment-jsdom": "^29.1.2",
36
- "react": "^18.2.0",
37
- "react-dom": "^18.2.0",
38
- "react-hook-form": "~7.48.0",
39
- "rimraf": "^3.0.2",
40
- "rollup": "^2.78.1",
41
- "rollup-plugin-dts": "^4.2.0",
42
- "rollup-plugin-peer-deps-external": "^2.2.4",
43
- "rollup-plugin-sourcemaps": "^0.6.3",
44
- "rollup-plugin-terser": "^7.0.2",
35
+ "eslint-plugin-react": "^7.35.0",
36
+ "happy-dom": "^14.12.3",
37
+ "jest": "^29.7.0",
38
+ "jest-environment-jsdom": "^29.7.0",
39
+ "react": "^18.3.1",
40
+ "react-dom": "^18.3.1",
41
+ "rimraf": "^6.0.1",
42
+ "rollup": "^4.24.0",
43
+ "rollup-plugin-preserve-directives": "^0.4.0",
45
44
  "shadow-dom-testing-library": "^1.11.2",
46
- "typescript": "^4.5.5",
47
- "vitest": "^1.3.1",
48
- "@siemens/ix": "2.6.1",
45
+ "typescript": "^5.6.3",
46
+ "vitest": "^2.1.3",
47
+ "@siemens/ix": "3.0.0-alpha.0",
49
48
  "eslint-config-ix": "1.0.0"
50
49
  },
51
50
  "peerDependencies": {
52
- "@siemens/ix-icons": "^2.0.0",
53
- "react": ">=17.0.2",
54
- "react-dom": ">=17.0.2"
51
+ "@siemens/ix-icons": "3.0.0-alpha.0",
52
+ "react": ">=18.3.1",
53
+ "react-dom": ">=18.3.1"
55
54
  },
56
55
  "dependencies": {
57
- "@siemens/ix": "~2.6.1"
56
+ "@siemens/ix": "~3.0.0-alpha.0",
57
+ "@stencil/react-output-target": "^0.7.1",
58
+ "tslib": "*"
58
59
  },
59
60
  "scripts": {
60
61
  "build": "npm run clean && npm run compile",
61
62
  "clean": "rimraf dist && rimraf dist-transpiled",
62
63
  "compile": "rollup -c",
63
- "tsc": "tsc -p .",
64
64
  "lint": "eslint src",
65
65
  "test": "vitest run",
66
66
  "test:watch": "vitest"