@itwin/components-react 5.27.1 → 5.28.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.
- package/CHANGELOG.md +22 -0
- package/lib/cjs/components-react/common/HighlightedText.scss +8 -0
- package/lib/components-react/UiComponents.json +0 -1
- package/lib/components-react/abstract-types.d.ts +8 -0
- package/lib/components-react/abstract-types.d.ts.map +1 -0
- package/lib/components-react/abstract-types.js +6 -0
- package/lib/components-react/abstract-types.js.map +1 -0
- package/lib/components-react/common/HighlightedText.d.ts +6 -0
- package/lib/components-react/common/HighlightedText.d.ts.map +1 -1
- package/lib/components-react/common/HighlightedText.js +7 -4
- package/lib/components-react/common/HighlightedText.js.map +1 -1
- package/lib/components-react/common/HighlightedText.scss +8 -0
- package/lib/components-react/common/selection/SelectionHandler.d.ts +3 -0
- package/lib/components-react/common/selection/SelectionHandler.d.ts.map +1 -1
- package/lib/components-react/common/selection/SelectionHandler.js.map +1 -1
- package/lib/components-react/common/selection/SelectionModes.d.ts +3 -0
- package/lib/components-react/common/selection/SelectionModes.d.ts.map +1 -1
- package/lib/components-react/common/selection/SelectionModes.js +4 -0
- package/lib/components-react/common/selection/SelectionModes.js.map +1 -1
- package/lib/components-react/editors/CustomNumberEditor.d.ts +1 -0
- package/lib/components-react/editors/CustomNumberEditor.d.ts.map +1 -1
- package/lib/components-react/editors/CustomNumberEditor.js +9 -2
- package/lib/components-react/editors/CustomNumberEditor.js.map +1 -1
- package/lib/components-react/editors/NumericInputEditor.d.ts +1 -0
- package/lib/components-react/editors/NumericInputEditor.d.ts.map +1 -1
- package/lib/components-react/editors/NumericInputEditor.js +7 -0
- package/lib/components-react/editors/NumericInputEditor.js.map +1 -1
- package/lib/components-react/editors/TextEditor.d.ts +3 -0
- package/lib/components-react/editors/TextEditor.d.ts.map +1 -1
- package/lib/components-react/editors/TextEditor.js +21 -3
- package/lib/components-react/editors/TextEditor.js.map +1 -1
- package/lib/components-react/editors/TextareaEditor.d.ts +1 -0
- package/lib/components-react/editors/TextareaEditor.d.ts.map +1 -1
- package/lib/components-react/editors/TextareaEditor.js +7 -0
- package/lib/components-react/editors/TextareaEditor.js.map +1 -1
- package/lib/components-react/new-editors/interop/old-editors/CustomNumber.d.ts.map +1 -1
- package/lib/components-react/new-editors/interop/old-editors/CustomNumber.js +3 -0
- package/lib/components-react/new-editors/interop/old-editors/CustomNumber.js.map +1 -1
- package/lib/components-react/new-editors/interop/old-editors/NumericInput.js +3 -0
- package/lib/components-react/new-editors/interop/old-editors/NumericInput.js.map +1 -1
- package/lib/components-react/properties/renderers/value/MergedPropertyValueRenderer.d.ts +1 -1
- package/lib/components-react/properties/renderers/value/MergedPropertyValueRenderer.d.ts.map +1 -1
- package/lib/components-react/properties/renderers/value/MergedPropertyValueRenderer.js +4 -7
- package/lib/components-react/properties/renderers/value/MergedPropertyValueRenderer.js.map +1 -1
- package/lib/components-react/tree/HighlightingEngine.d.ts +5 -0
- package/lib/components-react/tree/HighlightingEngine.d.ts.map +1 -1
- package/lib/components-react/tree/HighlightingEngine.js +3 -0
- package/lib/components-react/tree/HighlightingEngine.js.map +1 -1
- package/lib/components-react/tree/ImageLoader.d.ts +2 -0
- package/lib/components-react/tree/ImageLoader.d.ts.map +1 -1
- package/lib/components-react/tree/ImageLoader.js +1 -0
- package/lib/components-react/tree/ImageLoader.js.map +1 -1
- package/lib/components-react/tree/SimpleTreeDataProvider.d.ts +2 -0
- package/lib/components-react/tree/SimpleTreeDataProvider.d.ts.map +1 -1
- package/lib/components-react/tree/SimpleTreeDataProvider.js +1 -0
- package/lib/components-react/tree/SimpleTreeDataProvider.js.map +1 -1
- package/lib/components-react/tree/TreeDataProvider.d.ts +14 -0
- package/lib/components-react/tree/TreeDataProvider.d.ts.map +1 -1
- package/lib/components-react/tree/TreeDataProvider.js +5 -0
- package/lib/components-react/tree/TreeDataProvider.js.map +1 -1
- package/lib/components-react/tree/controlled/Observable.d.ts +9 -0
- package/lib/components-react/tree/controlled/Observable.d.ts.map +1 -1
- package/lib/components-react/tree/controlled/Observable.js +2 -0
- package/lib/components-react/tree/controlled/Observable.js.map +1 -1
- package/lib/components-react/tree/controlled/TreeActions.d.ts +1 -0
- package/lib/components-react/tree/controlled/TreeActions.d.ts.map +1 -1
- package/lib/components-react/tree/controlled/TreeActions.js.map +1 -1
- package/lib/components-react/tree/controlled/TreeEventDispatcher.d.ts.map +1 -1
- package/lib/components-react/tree/controlled/TreeEventDispatcher.js.map +1 -1
- package/lib/components-react/tree/controlled/TreeEventHandler.d.ts +3 -0
- package/lib/components-react/tree/controlled/TreeEventHandler.d.ts.map +1 -1
- package/lib/components-react/tree/controlled/TreeEventHandler.js +2 -0
- package/lib/components-react/tree/controlled/TreeEventHandler.js.map +1 -1
- package/lib/components-react/tree/controlled/TreeEvents.d.ts +7 -0
- package/lib/components-react/tree/controlled/TreeEvents.d.ts.map +1 -1
- package/lib/components-react/tree/controlled/TreeEvents.js.map +1 -1
- package/lib/components-react/tree/controlled/TreeHooks.d.ts +5 -0
- package/lib/components-react/tree/controlled/TreeHooks.d.ts.map +1 -1
- package/lib/components-react/tree/controlled/TreeHooks.js +6 -2
- package/lib/components-react/tree/controlled/TreeHooks.js.map +1 -1
- package/lib/components-react/tree/controlled/TreeModel.d.ts +18 -0
- package/lib/components-react/tree/controlled/TreeModel.d.ts.map +1 -1
- package/lib/components-react/tree/controlled/TreeModel.js +7 -0
- package/lib/components-react/tree/controlled/TreeModel.js.map +1 -1
- package/lib/components-react/tree/controlled/TreeModelSource.d.ts +2 -0
- package/lib/components-react/tree/controlled/TreeModelSource.d.ts.map +1 -1
- package/lib/components-react/tree/controlled/TreeModelSource.js +1 -0
- package/lib/components-react/tree/controlled/TreeModelSource.js.map +1 -1
- package/lib/components-react/tree/controlled/TreeNodeLoader.d.ts +9 -0
- package/lib/components-react/tree/controlled/TreeNodeLoader.d.ts.map +1 -1
- package/lib/components-react/tree/controlled/TreeNodeLoader.js +4 -1
- package/lib/components-react/tree/controlled/TreeNodeLoader.js.map +1 -1
- package/lib/components-react/tree/controlled/component/ControlledTree.d.ts +3 -0
- package/lib/components-react/tree/controlled/component/ControlledTree.d.ts.map +1 -1
- package/lib/components-react/tree/controlled/component/ControlledTree.js +4 -3
- package/lib/components-react/tree/controlled/component/ControlledTree.js.map +1 -1
- package/lib/components-react/tree/controlled/component/NodeContent.d.ts +2 -1
- package/lib/components-react/tree/controlled/component/NodeContent.d.ts.map +1 -1
- package/lib/components-react/tree/controlled/component/NodeContent.js +3 -4
- package/lib/components-react/tree/controlled/component/NodeContent.js.map +1 -1
- package/lib/components-react/tree/controlled/component/TreeNodeEditor.d.ts +3 -0
- package/lib/components-react/tree/controlled/component/TreeNodeEditor.d.ts.map +1 -1
- package/lib/components-react/tree/controlled/component/TreeNodeEditor.js +2 -0
- package/lib/components-react/tree/controlled/component/TreeNodeEditor.js.map +1 -1
- package/lib/components-react/tree/controlled/component/TreeNodeRenderer.d.ts +3 -0
- package/lib/components-react/tree/controlled/component/TreeNodeRenderer.d.ts.map +1 -1
- package/lib/components-react/tree/controlled/component/TreeNodeRenderer.js +5 -7
- package/lib/components-react/tree/controlled/component/TreeNodeRenderer.js.map +1 -1
- package/lib/components-react/tree/controlled/component/TreeRenderer.d.ts +4 -0
- package/lib/components-react/tree/controlled/component/TreeRenderer.d.ts.map +1 -1
- package/lib/components-react/tree/controlled/component/TreeRenderer.js +3 -6
- package/lib/components-react/tree/controlled/component/TreeRenderer.js.map +1 -1
- package/lib/components-react/tree/controlled/internal/SparseTree.d.ts +1 -0
- package/lib/components-react/tree/controlled/internal/SparseTree.d.ts.map +1 -1
- package/lib/components-react/tree/controlled/internal/SparseTree.js +2 -0
- package/lib/components-react/tree/controlled/internal/SparseTree.js.map +1 -1
- package/lib/components-react/tree/controlled/internal/TreeModelMutator.d.ts.map +1 -1
- package/lib/components-react/tree/controlled/internal/TreeModelMutator.js +1 -0
- package/lib/components-react/tree/controlled/internal/TreeModelMutator.js.map +1 -1
- package/lib/components-react/tree/controlled/internal/TreeSelectionManager.d.ts.map +1 -1
- package/lib/components-react/tree/controlled/internal/TreeSelectionManager.js.map +1 -1
- package/lib/components-react.d.ts +2 -0
- package/lib/components-react.d.ts.map +1 -1
- package/lib/components-react.js +1 -0
- package/lib/components-react.js.map +1 -1
- package/lib/esm/components-react/common/HighlightedText.scss +8 -0
- package/lib/public/locales/en/UiComponents.json +0 -1
- package/package.json +41 -38
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itwin/components-react",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.28.1",
|
|
4
4
|
"description": "A react component library of iTwin.js UI data-oriented components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./lib/components-react.d.ts",
|
|
@@ -40,67 +40,70 @@
|
|
|
40
40
|
"@itwin/itwinui-react": "^3.15.0",
|
|
41
41
|
"react": "^18.0.0 || ^19.0.0",
|
|
42
42
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
43
|
-
"@itwin/core-react": "5.
|
|
43
|
+
"@itwin/core-react": "5.28.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@itwin/appui-abstract": "^5.1
|
|
47
|
-
"@itwin/build-tools": "^5.
|
|
48
|
-
"@itwin/core-bentley": "^5.1
|
|
49
|
-
"@itwin/core-common": "^5.1
|
|
50
|
-
"@itwin/core-i18n": "^5.1
|
|
46
|
+
"@itwin/appui-abstract": "^5.8.1",
|
|
47
|
+
"@itwin/build-tools": "^5.8.1",
|
|
48
|
+
"@itwin/core-bentley": "^5.8.1",
|
|
49
|
+
"@itwin/core-common": "^5.8.1",
|
|
50
|
+
"@itwin/core-i18n": "^5.8.1",
|
|
51
51
|
"@itwin/eslint-plugin": "^6.0.0",
|
|
52
|
-
"@itwin/itwinui-react": "^3.20.
|
|
52
|
+
"@itwin/itwinui-react": "^3.20.2",
|
|
53
53
|
"@testing-library/dom": "^10.4.1",
|
|
54
|
-
"@testing-library/react": "^16.3.
|
|
54
|
+
"@testing-library/react": "^16.3.2",
|
|
55
55
|
"@testing-library/user-event": "^14.6.1",
|
|
56
56
|
"@types/linkify-it": "~2.1.0",
|
|
57
|
-
"@types/lodash": "^4.17.
|
|
58
|
-
"@types/react": "^19.2.
|
|
57
|
+
"@types/lodash": "^4.17.24",
|
|
58
|
+
"@types/react": "^19.2.14",
|
|
59
59
|
"@types/react-dom": "^19.2.3",
|
|
60
|
-
"@types/react-window": "^1.8.
|
|
61
|
-
"@vitest/coverage-v8": "^3.
|
|
62
|
-
"cpx2": "^3.0.
|
|
63
|
-
"cross-env": "^5.1
|
|
64
|
-
"eslint": "^9.39.
|
|
60
|
+
"@types/react-window": "^1.8.8",
|
|
61
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
62
|
+
"cpx2": "^3.0.2",
|
|
63
|
+
"cross-env": "^5.2.1",
|
|
64
|
+
"eslint": "^9.39.4",
|
|
65
65
|
"eslint-config-prettier": "^10.1.8",
|
|
66
66
|
"ignore-styles": "^5.0.1",
|
|
67
|
-
"jsdom": "^24.
|
|
67
|
+
"jsdom": "^24.1.3",
|
|
68
68
|
"npm-run-all": "^4.1.5",
|
|
69
|
-
"raf": "^3.4.
|
|
70
|
-
"react": "^19.2.
|
|
71
|
-
"react-dom": "^19.2.
|
|
72
|
-
"rimraf": "^6.1.
|
|
69
|
+
"raf": "^3.4.1",
|
|
70
|
+
"react": "^19.2.5",
|
|
71
|
+
"react-dom": "^19.2.5",
|
|
72
|
+
"rimraf": "^6.1.3",
|
|
73
73
|
"typemoq": "^2.1.0",
|
|
74
|
-
"typescript": "~5.6.
|
|
74
|
+
"typescript": "~5.6.3",
|
|
75
75
|
"upath": "^2.0.1",
|
|
76
76
|
"vitest": "^3.2.4",
|
|
77
|
-
"@itwin/core-react": "5.
|
|
77
|
+
"@itwin/core-react": "5.28.1"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@itwin/itwinui-icons-react": "^2.
|
|
80
|
+
"@itwin/itwinui-icons-react": "^2.11.0",
|
|
81
81
|
"classnames": "2.5.1",
|
|
82
|
-
"immer": "^10.
|
|
82
|
+
"immer": "^10.2.0",
|
|
83
83
|
"linkify-it": "~2.2.0",
|
|
84
|
-
"lodash": "^4.
|
|
85
|
-
"react-window": "^1.8.
|
|
86
|
-
"rxjs": "^7.8.
|
|
87
|
-
"ts-key-enum": "~2.0.
|
|
84
|
+
"lodash": "^4.18.1",
|
|
85
|
+
"react-window": "^1.8.11",
|
|
86
|
+
"rxjs": "^7.8.2",
|
|
87
|
+
"ts-key-enum": "~2.0.13"
|
|
88
88
|
},
|
|
89
89
|
"scripts": {
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"compat:cjs": "cpx \"./src/**/*.{*css,svg}\" ./lib/cjs",
|
|
96
|
-
"compat:esm": "cpx \"./src/**/*.{*css,svg}\" ./lib/esm",
|
|
90
|
+
"dev": "pnpm \"/^dev:.*/\"",
|
|
91
|
+
"dev:css": "pnpm build:css -w",
|
|
92
|
+
"dev:locale": "pnpm build:locale -w",
|
|
93
|
+
"dev:tsc": "tsc -w --preserveWatchOutput",
|
|
94
|
+
"build": "pnpm \"/^build:.*/\"",
|
|
95
|
+
"build:compat:cjs": "cpx \"./src/**/*.{*css,svg}\" ./lib/cjs",
|
|
96
|
+
"build:compat:esm": "cpx \"./src/**/*.{*css,svg}\" ./lib/esm",
|
|
97
|
+
"build:locale": "cpx ./src/components-react/UiComponents.json ./lib/public/locales/en",
|
|
98
|
+
"build:css": "cpx \"./src/**/*.*css\" ./lib",
|
|
99
|
+
"build:tsc": "tsc",
|
|
97
100
|
"clean": "rimraf -g lib",
|
|
98
101
|
"cover": "vitest run --coverage",
|
|
99
102
|
"lint": "eslint \"./src/**/*.{ts,tsx}\"",
|
|
100
|
-
"lint:fix": "
|
|
103
|
+
"lint:fix": "pnpm lint --fix",
|
|
101
104
|
"extract-api": "betools extract-api --entry=./lib/components-react --apiReportFolder=../../common/api --apiReportTempFolder=../../common/temp/api --apiSummaryFolder=../../common/api/summary",
|
|
102
105
|
"test": "vitest",
|
|
103
|
-
"docs": "
|
|
106
|
+
"docs": "pnpm \"/^docs:.*/\"",
|
|
104
107
|
"docs:changelog": "cpx ./CHANGELOG.md ../../generated-docs/reference/components-react",
|
|
105
108
|
"docs:reference": "cross-env NODE_PROJECT_ROOT_DIRECTORY=../../ betools docs --includes=../../generated-docs/extract --json=../../generated-docs/reference/components-react/file.json --tsIndexFile=./components-react.ts --onlyJson",
|
|
106
109
|
"docs:extract": "betools extract --fileExt=ts,tsx --extractFrom=./src/test --recursive --out=../../generated-docs/extract"
|