@itwin/imodel-components-react 5.3.1 → 5.5.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 (30) hide show
  1. package/CHANGELOG.md +129 -4
  2. package/lib/imodel-components-react/UiIModelComponents.js +1 -1
  3. package/lib/imodel-components-react/UiIModelComponents.js.map +1 -1
  4. package/lib/imodel-components-react/editors/NewWeightEditor.d.ts +10 -0
  5. package/lib/imodel-components-react/editors/NewWeightEditor.d.ts.map +1 -0
  6. package/lib/imodel-components-react/editors/NewWeightEditor.js +32 -0
  7. package/lib/imodel-components-react/editors/NewWeightEditor.js.map +1 -0
  8. package/lib/imodel-components-react/inputs/new-editors/QuantityEditor.d.ts +19 -0
  9. package/lib/imodel-components-react/inputs/new-editors/QuantityEditor.d.ts.map +1 -0
  10. package/lib/imodel-components-react/inputs/new-editors/QuantityEditor.js +34 -0
  11. package/lib/imodel-components-react/inputs/new-editors/QuantityEditor.js.map +1 -0
  12. package/lib/imodel-components-react/inputs/new-editors/QuantityInput.d.ts +15 -0
  13. package/lib/imodel-components-react/inputs/new-editors/QuantityInput.d.ts.map +1 -0
  14. package/lib/imodel-components-react/inputs/new-editors/QuantityInput.js +29 -0
  15. package/lib/imodel-components-react/inputs/new-editors/QuantityInput.js.map +1 -0
  16. package/lib/imodel-components-react/inputs/new-editors/UseQuantityInfo.d.ts +15 -0
  17. package/lib/imodel-components-react/inputs/new-editors/UseQuantityInfo.d.ts.map +1 -0
  18. package/lib/imodel-components-react/inputs/new-editors/UseQuantityInfo.js +47 -0
  19. package/lib/imodel-components-react/inputs/new-editors/UseQuantityInfo.js.map +1 -0
  20. package/lib/imodel-components-react/quantityformat/FormatType.d.ts.map +1 -1
  21. package/lib/imodel-components-react/quantityformat/FormatType.js +2 -0
  22. package/lib/imodel-components-react/quantityformat/FormatType.js.map +1 -1
  23. package/lib/imodel-components-react/quantityformat/MiscFormatOptions.d.ts.map +1 -1
  24. package/lib/imodel-components-react/quantityformat/MiscFormatOptions.js +2 -0
  25. package/lib/imodel-components-react/quantityformat/MiscFormatOptions.js.map +1 -1
  26. package/lib/imodel-components-react.d.ts +2 -0
  27. package/lib/imodel-components-react.d.ts.map +1 -1
  28. package/lib/imodel-components-react.js +2 -0
  29. package/lib/imodel-components-react.js.map +1 -1
  30. package/package.json +26 -27
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/imodel-components-react",
3
- "version": "5.3.1",
3
+ "version": "5.5.0",
4
4
  "description": "A react component library of iTwin.js UI iModel components",
5
5
  "type": "module",
6
6
  "types": "./lib/imodel-components-react.d.ts",
@@ -35,42 +35,41 @@
35
35
  "url": "http://www.bentley.com"
36
36
  },
37
37
  "peerDependencies": {
38
- "@itwin/appui-abstract": "^4.0.0",
39
- "@itwin/components-react": "^5.3.1",
40
- "@itwin/core-bentley": "^4.0.0",
41
- "@itwin/core-common": "^4.0.0",
42
- "@itwin/core-frontend": "^4.0.0",
43
- "@itwin/core-geometry": "^4.0.0",
44
- "@itwin/core-quantity": "^4.0.0",
45
- "@itwin/core-react": "^5.3.1",
38
+ "@itwin/appui-abstract": "^4.0.0 || ^5.0.0",
39
+ "@itwin/core-bentley": "^4.0.0 || ^5.0.0",
40
+ "@itwin/core-common": "^4.0.0 || ^5.0.0",
41
+ "@itwin/core-frontend": "^4.0.0 || ^5.0.0",
42
+ "@itwin/core-geometry": "^4.0.0 || ^5.0.0",
43
+ "@itwin/core-quantity": "^4.0.0 || ^5.0.0",
46
44
  "@itwin/itwinui-react": "^3.15.0",
47
45
  "react": "^18.0.0",
48
- "react-dom": "^18.0.0"
46
+ "react-dom": "^18.0.0",
47
+ "@itwin/components-react": "5.5.0",
48
+ "@itwin/core-react": "5.5.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@itwin/appui-abstract": "^4.0.0",
51
+ "@itwin/appui-abstract": "rc",
52
52
  "@itwin/build-tools": "4.10.2",
53
- "@itwin/core-bentley": "^4.0.0",
54
- "@itwin/core-common": "^4.0.0",
55
- "@itwin/core-frontend": "^4.0.0",
56
- "@itwin/core-geometry": "^4.0.0",
57
- "@itwin/core-orbitgt": "^4.0.0",
58
- "@itwin/core-quantity": "^4.0.0",
59
- "@itwin/eslint-plugin": "5.0.0-dev.2",
53
+ "@itwin/core-bentley": "rc",
54
+ "@itwin/core-common": "rc",
55
+ "@itwin/core-frontend": "rc",
56
+ "@itwin/core-geometry": "rc",
57
+ "@itwin/core-orbitgt": "rc",
58
+ "@itwin/core-quantity": "rc",
59
+ "@itwin/eslint-plugin": "5.1.0",
60
60
  "@itwin/itwinui-react": "^3.17.0",
61
- "@itwin/webgl-compatibility": "^4.0.0",
61
+ "@itwin/webgl-compatibility": "rc",
62
62
  "@testing-library/dom": "^10.1.0",
63
63
  "@testing-library/react": "^15.0.7",
64
64
  "@testing-library/user-event": "^14.5.2",
65
- "@types/faker": "^4.1.0",
66
65
  "@types/node": "20.17.8",
67
66
  "@types/react": "^18.3.12",
68
67
  "@types/react-dom": "^18.3.1",
69
68
  "@vitest/coverage-v8": "^3.0.6",
70
69
  "cpx2": "^3.0.0",
70
+ "cross-env": "^5.1.4",
71
71
  "eslint": "^8.57.1",
72
72
  "eslint-config-prettier": "~8.8.0",
73
- "faker": "^4.1.0",
74
73
  "ignore-styles": "^5.0.1",
75
74
  "inversify": "^6.0.1",
76
75
  "jsdom": "^24.0.0",
@@ -85,8 +84,8 @@
85
84
  "typescript": "~5.6.2",
86
85
  "upath": "^2.0.1",
87
86
  "vitest": "^3.0.6",
88
- "@itwin/core-react": "5.3.1",
89
- "@itwin/components-react": "5.3.1"
87
+ "@itwin/components-react": "5.5.0",
88
+ "@itwin/core-react": "5.5.0"
90
89
  },
91
90
  "dependencies": {
92
91
  "@itwin/itwinui-icons-react": "^2.8.0",
@@ -101,14 +100,14 @@
101
100
  "compat:css": "npm run compat:cjs && npm run compat:esm",
102
101
  "compat:cjs": "cpx \"./src/**/*.{*css,svg}\" ./lib/cjs",
103
102
  "compat:esm": "cpx \"./src/**/*.{*css,svg}\" ./lib/esm",
104
- "clean": "rimraf -g lib .rush/temp/package-deps*.json",
103
+ "clean": "rimraf -g lib",
105
104
  "cover": "vitest run --coverage",
106
- "lint": "eslint -f visualstudio \"./src/**/*.{ts,tsx}\" 1>&2",
105
+ "lint": "eslint \"./src/**/*.{ts,tsx}\"",
107
106
  "lint:fix": "npm run -s lint -- --fix",
108
- "extract-api": "betools extract-api --entry=./lib/imodel-components-react",
107
+ "extract-api": "betools extract-api --entry=./lib/imodel-components-react --apiReportFolder=../../common/api --apiReportTempFolder=../../common/temp/api --apiSummaryFolder=../../common/api/summary",
109
108
  "test": "vitest",
110
109
  "docs": "npm run -s docs:reference && npm run -s docs:changelog",
111
110
  "docs:changelog": "cpx ./CHANGELOG.md ../../generated-docs/reference/imodel-components-react",
112
- "docs:reference": "betools docs --includes=../../generated-docs/extract --json=../../generated-docs/reference/imodel-components-react/file.json --tsIndexFile=./imodel-components-react.ts --onlyJson"
111
+ "docs:reference": "cross-env NODE_PROJECT_ROOT_DIRECTORY=../../ betools docs --includes=../../generated-docs/extract --json=../../generated-docs/reference/imodel-components-react/file.json --tsIndexFile=./imodel-components-react.ts --onlyJson"
113
112
  }
114
113
  }