@itwin/imodel-components-react 3.0.0-dev.98 → 3.0.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 (118) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/LICENSE.md +1 -1
  3. package/lib/cjs/imodel-components-react/color/ColorPickerDialog.d.ts +3 -2
  4. package/lib/cjs/imodel-components-react/color/ColorPickerDialog.d.ts.map +1 -1
  5. package/lib/cjs/imodel-components-react/color/ColorPickerDialog.js +17 -4
  6. package/lib/cjs/imodel-components-react/color/ColorPickerDialog.js.map +1 -1
  7. package/lib/cjs/imodel-components-react/color/ColorPickerPanel.d.ts +2 -2
  8. package/lib/cjs/imodel-components-react/color/ColorPickerPanel.d.ts.map +1 -1
  9. package/lib/cjs/imodel-components-react/color/ColorPickerPanel.js +1 -1
  10. package/lib/cjs/imodel-components-react/color/ColorPickerPanel.js.map +1 -1
  11. package/lib/cjs/imodel-components-react/color/ColorPickerPopup.d.ts +4 -3
  12. package/lib/cjs/imodel-components-react/color/ColorPickerPopup.d.ts.map +1 -1
  13. package/lib/cjs/imodel-components-react/color/ColorPickerPopup.js +41 -22
  14. package/lib/cjs/imodel-components-react/color/ColorPickerPopup.js.map +1 -1
  15. package/lib/cjs/imodel-components-react/color/ColorPickerPopup.scss +12 -2
  16. package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.d.ts.map +1 -1
  17. package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.js +3 -2
  18. package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.js.map +1 -1
  19. package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.scss +19 -1
  20. package/lib/cjs/imodel-components-react/quantityformat/FormatSample.js +1 -1
  21. package/lib/cjs/imodel-components-react/quantityformat/FormatSample.js.map +1 -1
  22. package/lib/cjs/imodel-components-react/quantityformat/FormatType.js +1 -1
  23. package/lib/cjs/imodel-components-react/quantityformat/FormatType.js.map +1 -1
  24. package/lib/cjs/imodel-components-react/quantityformat/FormatUnitLabel.js +1 -1
  25. package/lib/cjs/imodel-components-react/quantityformat/FormatUnitLabel.js.map +1 -1
  26. package/lib/cjs/imodel-components-react/quantityformat/FormatUnits.js +1 -1
  27. package/lib/cjs/imodel-components-react/quantityformat/FormatUnits.js.map +1 -1
  28. package/lib/cjs/imodel-components-react/quantityformat/QuantityFormatPanel.d.ts.map +1 -1
  29. package/lib/cjs/imodel-components-react/quantityformat/QuantityFormatPanel.js +1 -1
  30. package/lib/cjs/imodel-components-react/quantityformat/QuantityFormatPanel.js.map +1 -1
  31. package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalPrecision.js +1 -1
  32. package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalPrecision.js.map +1 -1
  33. package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalSeparator.js +1 -1
  34. package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalSeparator.js.map +1 -1
  35. package/lib/cjs/imodel-components-react/quantityformat/misc/FractionPrecision.js +1 -1
  36. package/lib/cjs/imodel-components-react/quantityformat/misc/FractionPrecision.js.map +1 -1
  37. package/lib/cjs/imodel-components-react/quantityformat/misc/ScientificType.js +1 -1
  38. package/lib/cjs/imodel-components-react/quantityformat/misc/ScientificType.js.map +1 -1
  39. package/lib/cjs/imodel-components-react/quantityformat/misc/SignOption.js +1 -1
  40. package/lib/cjs/imodel-components-react/quantityformat/misc/SignOption.js.map +1 -1
  41. package/lib/cjs/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js +1 -1
  42. package/lib/cjs/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js.map +1 -1
  43. package/lib/cjs/imodel-components-react/quantityformat/misc/StationSizeSelector.js +1 -1
  44. package/lib/cjs/imodel-components-react/quantityformat/misc/StationSizeSelector.js.map +1 -1
  45. package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSelector.js +1 -1
  46. package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSelector.js.map +1 -1
  47. package/lib/cjs/imodel-components-react/quantityformat/misc/UnitDescr.js +2 -2
  48. package/lib/cjs/imodel-components-react/quantityformat/misc/UnitDescr.js.map +1 -1
  49. package/lib/cjs/imodel-components-react/timeline/InlineEdit.d.ts.map +1 -1
  50. package/lib/cjs/imodel-components-react/timeline/InlineEdit.js +1 -1
  51. package/lib/cjs/imodel-components-react/timeline/InlineEdit.js.map +1 -1
  52. package/lib/cjs/imodel-components-react/viewport/ViewportComponent.d.ts +1 -25
  53. package/lib/cjs/imodel-components-react/viewport/ViewportComponent.d.ts.map +1 -1
  54. package/lib/cjs/imodel-components-react/viewport/ViewportComponent.js +199 -188
  55. package/lib/cjs/imodel-components-react/viewport/ViewportComponent.js.map +1 -1
  56. package/lib/cjs/imodel-components-react/viewport/ViewportComponentEvents.d.ts +1 -1
  57. package/lib/cjs/imodel-components-react/viewport/ViewportComponentEvents.d.ts.map +1 -1
  58. package/lib/cjs/imodel-components-react/viewport/ViewportComponentEvents.js +7 -7
  59. package/lib/cjs/imodel-components-react/viewport/ViewportComponentEvents.js.map +1 -1
  60. package/lib/esm/imodel-components-react/color/ColorPickerDialog.d.ts +3 -2
  61. package/lib/esm/imodel-components-react/color/ColorPickerDialog.d.ts.map +1 -1
  62. package/lib/esm/imodel-components-react/color/ColorPickerDialog.js +17 -4
  63. package/lib/esm/imodel-components-react/color/ColorPickerDialog.js.map +1 -1
  64. package/lib/esm/imodel-components-react/color/ColorPickerPanel.d.ts +2 -2
  65. package/lib/esm/imodel-components-react/color/ColorPickerPanel.d.ts.map +1 -1
  66. package/lib/esm/imodel-components-react/color/ColorPickerPanel.js +1 -1
  67. package/lib/esm/imodel-components-react/color/ColorPickerPanel.js.map +1 -1
  68. package/lib/esm/imodel-components-react/color/ColorPickerPopup.d.ts +4 -3
  69. package/lib/esm/imodel-components-react/color/ColorPickerPopup.d.ts.map +1 -1
  70. package/lib/esm/imodel-components-react/color/ColorPickerPopup.js +41 -22
  71. package/lib/esm/imodel-components-react/color/ColorPickerPopup.js.map +1 -1
  72. package/lib/esm/imodel-components-react/color/ColorPickerPopup.scss +12 -2
  73. package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.d.ts.map +1 -1
  74. package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.js +3 -2
  75. package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.js.map +1 -1
  76. package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.scss +19 -1
  77. package/lib/esm/imodel-components-react/quantityformat/FormatSample.js +1 -1
  78. package/lib/esm/imodel-components-react/quantityformat/FormatSample.js.map +1 -1
  79. package/lib/esm/imodel-components-react/quantityformat/FormatType.js +1 -1
  80. package/lib/esm/imodel-components-react/quantityformat/FormatType.js.map +1 -1
  81. package/lib/esm/imodel-components-react/quantityformat/FormatUnitLabel.js +1 -1
  82. package/lib/esm/imodel-components-react/quantityformat/FormatUnitLabel.js.map +1 -1
  83. package/lib/esm/imodel-components-react/quantityformat/FormatUnits.js +1 -1
  84. package/lib/esm/imodel-components-react/quantityformat/FormatUnits.js.map +1 -1
  85. package/lib/esm/imodel-components-react/quantityformat/QuantityFormatPanel.d.ts.map +1 -1
  86. package/lib/esm/imodel-components-react/quantityformat/QuantityFormatPanel.js +1 -1
  87. package/lib/esm/imodel-components-react/quantityformat/QuantityFormatPanel.js.map +1 -1
  88. package/lib/esm/imodel-components-react/quantityformat/misc/DecimalPrecision.js +1 -1
  89. package/lib/esm/imodel-components-react/quantityformat/misc/DecimalPrecision.js.map +1 -1
  90. package/lib/esm/imodel-components-react/quantityformat/misc/DecimalSeparator.js +1 -1
  91. package/lib/esm/imodel-components-react/quantityformat/misc/DecimalSeparator.js.map +1 -1
  92. package/lib/esm/imodel-components-react/quantityformat/misc/FractionPrecision.js +1 -1
  93. package/lib/esm/imodel-components-react/quantityformat/misc/FractionPrecision.js.map +1 -1
  94. package/lib/esm/imodel-components-react/quantityformat/misc/ScientificType.js +1 -1
  95. package/lib/esm/imodel-components-react/quantityformat/misc/ScientificType.js.map +1 -1
  96. package/lib/esm/imodel-components-react/quantityformat/misc/SignOption.js +1 -1
  97. package/lib/esm/imodel-components-react/quantityformat/misc/SignOption.js.map +1 -1
  98. package/lib/esm/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js +1 -1
  99. package/lib/esm/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js.map +1 -1
  100. package/lib/esm/imodel-components-react/quantityformat/misc/StationSizeSelector.js +1 -1
  101. package/lib/esm/imodel-components-react/quantityformat/misc/StationSizeSelector.js.map +1 -1
  102. package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSelector.js +1 -1
  103. package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSelector.js.map +1 -1
  104. package/lib/esm/imodel-components-react/quantityformat/misc/UnitDescr.js +2 -2
  105. package/lib/esm/imodel-components-react/quantityformat/misc/UnitDescr.js.map +1 -1
  106. package/lib/esm/imodel-components-react/timeline/InlineEdit.d.ts.map +1 -1
  107. package/lib/esm/imodel-components-react/timeline/InlineEdit.js +1 -1
  108. package/lib/esm/imodel-components-react/timeline/InlineEdit.js.map +1 -1
  109. package/lib/esm/imodel-components-react/viewport/ViewportComponent.d.ts +1 -25
  110. package/lib/esm/imodel-components-react/viewport/ViewportComponent.d.ts.map +1 -1
  111. package/lib/esm/imodel-components-react/viewport/ViewportComponent.js +199 -188
  112. package/lib/esm/imodel-components-react/viewport/ViewportComponent.js.map +1 -1
  113. package/lib/esm/imodel-components-react/viewport/ViewportComponentEvents.d.ts +1 -1
  114. package/lib/esm/imodel-components-react/viewport/ViewportComponentEvents.d.ts.map +1 -1
  115. package/lib/esm/imodel-components-react/viewport/ViewportComponentEvents.js +1 -1
  116. package/lib/esm/imodel-components-react/viewport/ViewportComponentEvents.js.map +1 -1
  117. package/lib/public/locales/en/UiIModelComponents.json +3 -1
  118. package/package.json +29 -31
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@itwin/imodel-components-react",
3
- "version": "3.0.0-dev.98",
4
- "description": "iModel.js UI IModel Components",
3
+ "version": "3.0.0",
4
+ "description": "iTwin.js UI IModel Components",
5
5
  "main": "lib/cjs/imodel-components-react.js",
6
6
  "module": "lib/esm/imodel-components-react.js",
7
7
  "typings": "lib/cjs/imodel-components-react",
@@ -9,7 +9,7 @@
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "https://github.com/imodeljs/imodeljs/tree/master/ui/imodel-components-react"
12
+ "url": "https://github.com/iTwin/itwinjs-core/tree/master/ui/imodel-components-react"
13
13
  },
14
14
  "keywords": [
15
15
  "Bentley",
@@ -21,15 +21,14 @@
21
21
  "url": "http://www.bentley.com"
22
22
  },
23
23
  "peerDependencies": {
24
- "@itwin/core-bentley": "^3.0.0-dev.98",
25
- "@itwin/core-geometry": "^3.0.0-dev.98",
26
- "@itwin/core-common": "^3.0.0-dev.98",
27
- "@itwin/core-frontend": "^3.0.0-dev.98",
28
- "@itwin/core-i18n": "^3.0.0-dev.98",
29
- "@itwin/core-quantity": "^3.0.0-dev.98",
30
- "@itwin/appui-abstract": "^3.0.0-dev.98",
31
- "@itwin/core-react": "^3.0.0-dev.98",
32
- "@itwin/components-react": "^3.0.0-dev.98",
24
+ "@itwin/appui-abstract": "^3.0.0",
25
+ "@itwin/components-react": "^3.0.0",
26
+ "@itwin/core-bentley": "^3.0.0",
27
+ "@itwin/core-common": "^3.0.0",
28
+ "@itwin/core-frontend": "^3.0.0",
29
+ "@itwin/core-geometry": "^3.0.0",
30
+ "@itwin/core-quantity": "^3.0.0",
31
+ "@itwin/core-react": "^3.0.0",
33
32
  "react": "^17.0.0",
34
33
  "react-dom": "^17.0.0"
35
34
  },
@@ -38,19 +37,18 @@
38
37
  "NOTE: All tools used by scripts in this package must be listed as devDependencies"
39
38
  ],
40
39
  "devDependencies": {
41
- "@itwin/core-bentley": "3.0.0-dev.98",
42
- "@itwin/build-tools": "3.0.0-dev.98",
43
- "@itwin/eslint-plugin": "3.0.0-dev.98",
44
- "@itwin/core-geometry": "3.0.0-dev.98",
45
- "@itwin/core-common": "3.0.0-dev.98",
46
- "@itwin/core-frontend": "3.0.0-dev.98",
47
- "@itwin/core-i18n": "3.0.0-dev.98",
48
- "@itwin/core-quantity": "3.0.0-dev.98",
49
- "@itwin/appui-abstract": "3.0.0-dev.98",
50
- "@itwin/core-react": "3.0.0-dev.98",
51
- "@itwin/components-react": "3.0.0-dev.98",
40
+ "@itwin/appui-abstract": "3.0.0",
41
+ "@itwin/build-tools": "3.0.0",
42
+ "@itwin/components-react": "3.0.0",
43
+ "@itwin/core-bentley": "3.0.0",
44
+ "@itwin/core-common": "3.0.0",
45
+ "@itwin/core-frontend": "3.0.0",
46
+ "@itwin/core-geometry": "3.0.0",
47
+ "@itwin/core-quantity": "3.0.0",
48
+ "@itwin/core-react": "3.0.0",
49
+ "@itwin/eslint-plugin": "3.0.0",
52
50
  "@testing-library/react": "^12.0.0",
53
- "@testing-library/react-hooks": "^3.2.1",
51
+ "@testing-library/react-hooks": "^7.0.2",
54
52
  "@testing-library/user-event": "^13.2.1",
55
53
  "@types/chai": "^4.1.4",
56
54
  "@types/chai-as-promised": "^7",
@@ -61,7 +59,7 @@
61
59
  "@types/faker": "^4.1.0",
62
60
  "@types/lodash": "^4.14.0",
63
61
  "@types/mocha": "^8.2.2",
64
- "@types/react": "^17.0.0",
62
+ "@types/react": "^17.0.37",
65
63
  "@types/react-dom": "^17.0.0",
66
64
  "@types/sinon": "^9.0.0",
67
65
  "@types/sinon-chai": "^3.2.0",
@@ -70,7 +68,7 @@
70
68
  "chai-jest-snapshot": "^2.0.0",
71
69
  "chai-spies": "1.0.0",
72
70
  "chai-string": "^1.5.0",
73
- "cpx": "^1.5.0",
71
+ "cpx2": "^3.0.0",
74
72
  "enzyme": "^3.4.0",
75
73
  "@wojtekmaj/enzyme-adapter-react-17": "^0.6.3",
76
74
  "enzyme-to-json": "^3.3.4",
@@ -89,7 +87,6 @@
89
87
  "sinon": "^9.0.2",
90
88
  "sinon-chai": "^3.2.0",
91
89
  "ts-node": "^7.0.1",
92
- "tsconfig-paths": "^3.3.2",
93
90
  "typemoq": "^2.1.0",
94
91
  "typescript": "~4.4.0",
95
92
  "xmlhttprequest": "^1.8.0"
@@ -100,12 +97,12 @@
100
97
  ],
101
98
  "dependencies": {
102
99
  "@bentley/icons-generic-webfont": "^1.0.15",
103
- "@itwin/itwinui-css": "^0.27.0",
104
- "@itwin/itwinui-react": "^1.16.2",
100
+ "@itwin/itwinui-css": "^0.37.0",
101
+ "@itwin/itwinui-react": "~1.28.0",
105
102
  "callable-instance2": "1.0.0",
106
103
  "classnames": "^2.3.1",
107
104
  "eventemitter2": "^5.0.1",
108
- "immer": "9.0.2",
105
+ "immer": "9.0.6",
109
106
  "immutable": "^3.8.2",
110
107
  "ts-key-enum": "^2.0.0"
111
108
  },
@@ -148,5 +145,6 @@
148
145
  "extract-api": "betools extract-api --entry=imodel-components-react",
149
146
  "test": "mocha --config ../.mocharc.json \"./lib/cjs/test/**/*.test.js\"",
150
147
  "test:watch": "npm -s test -- --reporter min --watch-extensions ts,tsx --watch"
151
- }
148
+ },
149
+ "readme": "# @itwin/imodel-components-react\r\n\r\nCopyright © Bentley Systems, Incorporated. All rights reserved. See LICENSE.md for license terms and full copyright notice.\r\n\r\n## Description\r\n\r\nThe __@itwin/imodel-components-react__ package contains React components that depend on the imodeljs-frontend, imodeljs-common or imodeljs-quantity packages.\r\n\r\n## Documentation\r\n\r\nSee the [iTwin.js](https://www.itwinjs.org) documentation for more information.\r\n"
152
150
  }