From 3b733713c7cdcfe9382e8970c26477ccb7ed6227 Mon Sep 17 00:00:00 2001 From: imodeljs-admin Date: Thu, 19 Sep 2024 12:22:35 +0000 Subject: [PATCH] Update master to 4.18.0-dev.0 --- ...eFrontstageProviders_2024-09-11-12-56.json | 10 - ...precateIsUiInvisible_2024-09-11-13-17.json | 10 - ...icius-DeprecateProps_2024-09-02-14-24.json | 10 - .../active-content_2024-09-16-12-16.json | 10 - .../add-router_2024-08-13-20-12.json | 10 - ...available-snap-modes_2024-08-14-16-33.json | 10 - .../changelogs-4.16.0_2024-08-07-15-05.json | 10 - .../changelogs-4.16.x_2024-09-19-11-59.json | 11 - ...content-active-strip_2024-09-18-12-21.json | 15 -- ...nternal-manager-apis_2024-09-18-15-37.json | 10 - ...recate-theme-manager_2024-09-13-06-43.json | 10 - ...precate-ui-providers_2024-09-11-16-43.json | 15 -- ...rt-conditional-value_2024-09-16-12-56.json | 10 - ...layout-from-abstract_2024-09-16-19-48.json | 10 - ...imodel-changed-event_2024-09-16-16-36.json | 10 - ...icius-DeprecateProps_2024-09-02-14-24.json | 10 - .../changelogs-4.16.0_2024-08-07-15-05.json | 10 - .../changelogs-4.16.x_2024-09-19-11-59.json | 11 - ...low-last-rule-delete_2024-09-11-20-58.json | 10 - ...atic_translate_usage_2024-09-04-14-48.json | 10 - .../bump-dompurify_2024-09-17-10-38.json | 10 - .../changelogs-4.16.0_2024-08-07-15-05.json | 10 - .../changelogs-4.16.x_2024-09-19-11-59.json | 11 - ...rt-conditional-value_2024-09-16-12-56.json | 10 - ...icius-DeprecateProps_2024-09-02-14-24.json | 10 - .../changelogs-4.16.0_2024-08-07-15-05.json | 10 - .../changelogs-4.16.x_2024-09-19-11-59.json | 11 - common/config/rush/version-policies.json | 2 +- docs/changehistory/NextVersion.md | 248 ------------------ ui/appui-react/package.json | 8 +- ui/components-react/package.json | 4 +- ui/core-react/package.json | 2 +- ui/imodel-components-react/package.json | 6 +- 33 files changed, 11 insertions(+), 543 deletions(-) delete mode 100644 common/changes/@itwin/appui-react/MBudrevicius-DeprecateFrontstageProviders_2024-09-11-12-56.json delete mode 100644 common/changes/@itwin/appui-react/MBudrevicius-DeprecateIsUiInvisible_2024-09-11-13-17.json delete mode 100644 common/changes/@itwin/appui-react/MBudrevicius-DeprecateProps_2024-09-02-14-24.json delete mode 100644 common/changes/@itwin/appui-react/active-content_2024-09-16-12-16.json delete mode 100644 common/changes/@itwin/appui-react/add-router_2024-08-13-20-12.json delete mode 100644 common/changes/@itwin/appui-react/allow-set-available-snap-modes_2024-08-14-16-33.json delete mode 100644 common/changes/@itwin/appui-react/changelogs-4.16.0_2024-08-07-15-05.json delete mode 100644 common/changes/@itwin/appui-react/changelogs-4.16.x_2024-09-19-11-59.json delete mode 100644 common/changes/@itwin/appui-react/content-active-strip_2024-09-18-12-21.json delete mode 100644 common/changes/@itwin/appui-react/deprecate-internal-manager-apis_2024-09-18-15-37.json delete mode 100644 common/changes/@itwin/appui-react/deprecate-theme-manager_2024-09-13-06-43.json delete mode 100644 common/changes/@itwin/appui-react/deprecate-ui-providers_2024-09-11-16-43.json delete mode 100644 common/changes/@itwin/appui-react/export-conditional-value_2024-09-16-12-56.json delete mode 100644 common/changes/@itwin/appui-react/move-content-layout-from-abstract_2024-09-16-19-48.json delete mode 100644 common/changes/@itwin/appui-react/task-add-imodel-changed-event_2024-09-16-16-36.json delete mode 100644 common/changes/@itwin/components-react/MBudrevicius-DeprecateProps_2024-09-02-14-24.json delete mode 100644 common/changes/@itwin/components-react/changelogs-4.16.0_2024-08-07-15-05.json delete mode 100644 common/changes/@itwin/components-react/changelogs-4.16.x_2024-09-19-11-59.json delete mode 100644 common/changes/@itwin/components-react/morgan-filter-builder-allow-last-rule-delete_2024-09-11-20-58.json delete mode 100644 common/changes/@itwin/components-react/reduce_static_translate_usage_2024-09-04-14-48.json delete mode 100644 common/changes/@itwin/core-react/bump-dompurify_2024-09-17-10-38.json delete mode 100644 common/changes/@itwin/core-react/changelogs-4.16.0_2024-08-07-15-05.json delete mode 100644 common/changes/@itwin/core-react/changelogs-4.16.x_2024-09-19-11-59.json delete mode 100644 common/changes/@itwin/core-react/export-conditional-value_2024-09-16-12-56.json delete mode 100644 common/changes/@itwin/imodel-components-react/MBudrevicius-DeprecateProps_2024-09-02-14-24.json delete mode 100644 common/changes/@itwin/imodel-components-react/changelogs-4.16.0_2024-08-07-15-05.json delete mode 100644 common/changes/@itwin/imodel-components-react/changelogs-4.16.x_2024-09-19-11-59.json diff --git a/common/changes/@itwin/appui-react/MBudrevicius-DeprecateFrontstageProviders_2024-09-11-12-56.json b/common/changes/@itwin/appui-react/MBudrevicius-DeprecateFrontstageProviders_2024-09-11-12-56.json deleted file mode 100644 index d24ca781cea..00000000000 --- a/common/changes/@itwin/appui-react/MBudrevicius-DeprecateFrontstageProviders_2024-09-11-12-56.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@itwin/appui-react", - "comment": "Deprecated FrameworkFrontstages.clearFrontstageProviders", - "type": "none" - } - ], - "packageName": "@itwin/appui-react" -} \ No newline at end of file diff --git a/common/changes/@itwin/appui-react/MBudrevicius-DeprecateIsUiInvisible_2024-09-11-13-17.json b/common/changes/@itwin/appui-react/MBudrevicius-DeprecateIsUiInvisible_2024-09-11-13-17.json deleted file mode 100644 index 765bdab0ffc..00000000000 --- a/common/changes/@itwin/appui-react/MBudrevicius-DeprecateIsUiInvisible_2024-09-11-13-17.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@itwin/appui-react", - "comment": "Deprecated visibility methods of UiFramework", - "type": "none" - } - ], - "packageName": "@itwin/appui-react" -} \ No newline at end of file diff --git a/common/changes/@itwin/appui-react/MBudrevicius-DeprecateProps_2024-09-02-14-24.json b/common/changes/@itwin/appui-react/MBudrevicius-DeprecateProps_2024-09-02-14-24.json deleted file mode 100644 index e60a7b90fcb..00000000000 --- a/common/changes/@itwin/appui-react/MBudrevicius-DeprecateProps_2024-09-02-14-24.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@itwin/appui-react", - "comment": "Deprecated component props in favor of type helper", - "type": "none" - } - ], - "packageName": "@itwin/appui-react" -} \ No newline at end of file diff --git a/common/changes/@itwin/appui-react/active-content_2024-09-16-12-16.json b/common/changes/@itwin/appui-react/active-content_2024-09-16-12-16.json deleted file mode 100644 index f71d2244447..00000000000 --- a/common/changes/@itwin/appui-react/active-content_2024-09-16-12-16.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@itwin/appui-react", - "comment": "Track `ContentOverlay` components to determine if the active strip should be rendered by the content layout.", - "type": "none" - } - ], - "packageName": "@itwin/appui-react" -} \ No newline at end of file diff --git a/common/changes/@itwin/appui-react/add-router_2024-08-13-20-12.json b/common/changes/@itwin/appui-react/add-router_2024-08-13-20-12.json deleted file mode 100644 index 3393c35368c..00000000000 --- a/common/changes/@itwin/appui-react/add-router_2024-08-13-20-12.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@itwin/appui-react", - "comment": "", - "type": "none" - } - ], - "packageName": "@itwin/appui-react" -} \ No newline at end of file diff --git a/common/changes/@itwin/appui-react/allow-set-available-snap-modes_2024-08-14-16-33.json b/common/changes/@itwin/appui-react/allow-set-available-snap-modes_2024-08-14-16-33.json deleted file mode 100644 index b47919d95bb..00000000000 --- a/common/changes/@itwin/appui-react/allow-set-available-snap-modes_2024-08-14-16-33.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@itwin/appui-react", - "comment": "Allow to set the available snap modes in SnapModeField.", - "type": "none" - } - ], - "packageName": "@itwin/appui-react" -} \ No newline at end of file diff --git a/common/changes/@itwin/appui-react/changelogs-4.16.0_2024-08-07-15-05.json b/common/changes/@itwin/appui-react/changelogs-4.16.0_2024-08-07-15-05.json deleted file mode 100644 index 3393c35368c..00000000000 --- a/common/changes/@itwin/appui-react/changelogs-4.16.0_2024-08-07-15-05.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@itwin/appui-react", - "comment": "", - "type": "none" - } - ], - "packageName": "@itwin/appui-react" -} \ No newline at end of file diff --git a/common/changes/@itwin/appui-react/changelogs-4.16.x_2024-09-19-11-59.json b/common/changes/@itwin/appui-react/changelogs-4.16.x_2024-09-19-11-59.json deleted file mode 100644 index 03d902ffad7..00000000000 --- a/common/changes/@itwin/appui-react/changelogs-4.16.x_2024-09-19-11-59.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "changes": [ - { - "comment": "", - "type": "none", - "packageName": "@itwin/appui-react" - } - ], - "packageName": "@itwin/appui-react", - "email": "10091419+GerardasB@users.noreply.github.com" -} \ No newline at end of file diff --git a/common/changes/@itwin/appui-react/content-active-strip_2024-09-18-12-21.json b/common/changes/@itwin/appui-react/content-active-strip_2024-09-18-12-21.json deleted file mode 100644 index 35ae17699c2..00000000000 --- a/common/changes/@itwin/appui-react/content-active-strip_2024-09-18-12-21.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "changes": [ - { - "packageName": "@itwin/appui-react", - "comment": "Add a generic `ConditionalValue` interface.", - "type": "none" - }, - { - "packageName": "@itwin/appui-react", - "comment": "Add `ContentProps.renderActiveStrip` property to control rendering of the active strip.", - "type": "none" - } - ], - "packageName": "@itwin/appui-react" -} diff --git a/common/changes/@itwin/appui-react/deprecate-internal-manager-apis_2024-09-18-15-37.json b/common/changes/@itwin/appui-react/deprecate-internal-manager-apis_2024-09-18-15-37.json deleted file mode 100644 index f0447125328..00000000000 --- a/common/changes/@itwin/appui-react/deprecate-internal-manager-apis_2024-09-18-15-37.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@itwin/appui-react", - "comment": "Deprecate `useDefaultStatusBarItems`, `useUiItemsProviderStatusBarItems` and `useUiItemsProviderBackstageItems` hooks.", - "type": "none" - } - ], - "packageName": "@itwin/appui-react" -} \ No newline at end of file diff --git a/common/changes/@itwin/appui-react/deprecate-theme-manager_2024-09-13-06-43.json b/common/changes/@itwin/appui-react/deprecate-theme-manager_2024-09-13-06-43.json deleted file mode 100644 index a5b6832d5ed..00000000000 --- a/common/changes/@itwin/appui-react/deprecate-theme-manager_2024-09-13-06-43.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@itwin/appui-react", - "comment": "Deprecate `CSS` and `SCSS` variables.", - "type": "none" - } - ], - "packageName": "@itwin/appui-react" -} diff --git a/common/changes/@itwin/appui-react/deprecate-ui-providers_2024-09-11-16-43.json b/common/changes/@itwin/appui-react/deprecate-ui-providers_2024-09-11-16-43.json deleted file mode 100644 index 6ee7445d146..00000000000 --- a/common/changes/@itwin/appui-react/deprecate-ui-providers_2024-09-11-16-43.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "changes": [ - { - "packageName": "@itwin/appui-react", - "comment": "Deprecate remnant APIs related to `provide*` variants of `UiItemsProvider`.", - "type": "none" - }, - { - "packageName": "@itwin/appui-react", - "comment": "Deprecate APIs related to `BaseUiItemsProvider`.", - "type": "none" - } - ], - "packageName": "@itwin/appui-react" -} \ No newline at end of file diff --git a/common/changes/@itwin/appui-react/export-conditional-value_2024-09-16-12-56.json b/common/changes/@itwin/appui-react/export-conditional-value_2024-09-16-12-56.json deleted file mode 100644 index d51928d352c..00000000000 --- a/common/changes/@itwin/appui-react/export-conditional-value_2024-09-16-12-56.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@itwin/appui-react", - "comment": "Add `ConditionalBooleanValue` and `ConditionalStringValue` class re-exports.", - "type": "none" - } - ], - "packageName": "@itwin/appui-react" -} \ No newline at end of file diff --git a/common/changes/@itwin/appui-react/move-content-layout-from-abstract_2024-09-16-19-48.json b/common/changes/@itwin/appui-react/move-content-layout-from-abstract_2024-09-16-19-48.json deleted file mode 100644 index 2a16f4ca6f0..00000000000 --- a/common/changes/@itwin/appui-react/move-content-layout-from-abstract_2024-09-16-19-48.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@itwin/appui-react", - "comment": "Move `StandardContentLayouts` and `ContentLayoutProps` from @itwin/appui-abstract", - "type": "none" - } - ], - "packageName": "@itwin/appui-react" -} \ No newline at end of file diff --git a/common/changes/@itwin/appui-react/task-add-imodel-changed-event_2024-09-16-16-36.json b/common/changes/@itwin/appui-react/task-add-imodel-changed-event_2024-09-16-16-36.json deleted file mode 100644 index 7f548f3d8f3..00000000000 --- a/common/changes/@itwin/appui-react/task-add-imodel-changed-event_2024-09-16-16-36.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@itwin/appui-react", - "comment": "Added `UiFramework.onIModelConnectionChanged` event to get notified whenever the iModel connection returned by `UiFramework.getIModelConnection()` is changed.", - "type": "none" - } - ], - "packageName": "@itwin/appui-react" -} \ No newline at end of file diff --git a/common/changes/@itwin/components-react/MBudrevicius-DeprecateProps_2024-09-02-14-24.json b/common/changes/@itwin/components-react/MBudrevicius-DeprecateProps_2024-09-02-14-24.json deleted file mode 100644 index 4325d37e1fc..00000000000 --- a/common/changes/@itwin/components-react/MBudrevicius-DeprecateProps_2024-09-02-14-24.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@itwin/components-react", - "comment": "Deprecated component props in favor of type helper", - "type": "none" - } - ], - "packageName": "@itwin/components-react" -} \ No newline at end of file diff --git a/common/changes/@itwin/components-react/changelogs-4.16.0_2024-08-07-15-05.json b/common/changes/@itwin/components-react/changelogs-4.16.0_2024-08-07-15-05.json deleted file mode 100644 index d2d24b087cf..00000000000 --- a/common/changes/@itwin/components-react/changelogs-4.16.0_2024-08-07-15-05.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@itwin/components-react", - "comment": "", - "type": "none" - } - ], - "packageName": "@itwin/components-react" -} \ No newline at end of file diff --git a/common/changes/@itwin/components-react/changelogs-4.16.x_2024-09-19-11-59.json b/common/changes/@itwin/components-react/changelogs-4.16.x_2024-09-19-11-59.json deleted file mode 100644 index c6e61b24119..00000000000 --- a/common/changes/@itwin/components-react/changelogs-4.16.x_2024-09-19-11-59.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "changes": [ - { - "comment": "", - "type": "none", - "packageName": "@itwin/components-react" - } - ], - "packageName": "@itwin/components-react", - "email": "10091419+GerardasB@users.noreply.github.com" -} \ No newline at end of file diff --git a/common/changes/@itwin/components-react/morgan-filter-builder-allow-last-rule-delete_2024-09-11-20-58.json b/common/changes/@itwin/components-react/morgan-filter-builder-allow-last-rule-delete_2024-09-11-20-58.json deleted file mode 100644 index dcee6a0e349..00000000000 --- a/common/changes/@itwin/components-react/morgan-filter-builder-allow-last-rule-delete_2024-09-11-20-58.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@itwin/components-react", - "comment": "Add support for allowing last rule to be deleted in FilterBuilder", - "type": "none" - } - ], - "packageName": "@itwin/components-react" -} \ No newline at end of file diff --git a/common/changes/@itwin/components-react/reduce_static_translate_usage_2024-09-04-14-48.json b/common/changes/@itwin/components-react/reduce_static_translate_usage_2024-09-04-14-48.json deleted file mode 100644 index d2d24b087cf..00000000000 --- a/common/changes/@itwin/components-react/reduce_static_translate_usage_2024-09-04-14-48.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@itwin/components-react", - "comment": "", - "type": "none" - } - ], - "packageName": "@itwin/components-react" -} \ No newline at end of file diff --git a/common/changes/@itwin/core-react/bump-dompurify_2024-09-17-10-38.json b/common/changes/@itwin/core-react/bump-dompurify_2024-09-17-10-38.json deleted file mode 100644 index 17ffb558418..00000000000 --- a/common/changes/@itwin/core-react/bump-dompurify_2024-09-17-10-38.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@itwin/core-react", - "comment": "", - "type": "none" - } - ], - "packageName": "@itwin/core-react" -} \ No newline at end of file diff --git a/common/changes/@itwin/core-react/changelogs-4.16.0_2024-08-07-15-05.json b/common/changes/@itwin/core-react/changelogs-4.16.0_2024-08-07-15-05.json deleted file mode 100644 index 17ffb558418..00000000000 --- a/common/changes/@itwin/core-react/changelogs-4.16.0_2024-08-07-15-05.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@itwin/core-react", - "comment": "", - "type": "none" - } - ], - "packageName": "@itwin/core-react" -} \ No newline at end of file diff --git a/common/changes/@itwin/core-react/changelogs-4.16.x_2024-09-19-11-59.json b/common/changes/@itwin/core-react/changelogs-4.16.x_2024-09-19-11-59.json deleted file mode 100644 index 15452bcf414..00000000000 --- a/common/changes/@itwin/core-react/changelogs-4.16.x_2024-09-19-11-59.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "changes": [ - { - "comment": "", - "type": "none", - "packageName": "@itwin/core-react" - } - ], - "packageName": "@itwin/core-react", - "email": "10091419+GerardasB@users.noreply.github.com" -} \ No newline at end of file diff --git a/common/changes/@itwin/core-react/export-conditional-value_2024-09-16-12-56.json b/common/changes/@itwin/core-react/export-conditional-value_2024-09-16-12-56.json deleted file mode 100644 index 17ffb558418..00000000000 --- a/common/changes/@itwin/core-react/export-conditional-value_2024-09-16-12-56.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@itwin/core-react", - "comment": "", - "type": "none" - } - ], - "packageName": "@itwin/core-react" -} \ No newline at end of file diff --git a/common/changes/@itwin/imodel-components-react/MBudrevicius-DeprecateProps_2024-09-02-14-24.json b/common/changes/@itwin/imodel-components-react/MBudrevicius-DeprecateProps_2024-09-02-14-24.json deleted file mode 100644 index 500a1ca2637..00000000000 --- a/common/changes/@itwin/imodel-components-react/MBudrevicius-DeprecateProps_2024-09-02-14-24.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@itwin/imodel-components-react", - "comment": "Deprecated component props in favor of type helper", - "type": "none" - } - ], - "packageName": "@itwin/imodel-components-react" -} \ No newline at end of file diff --git a/common/changes/@itwin/imodel-components-react/changelogs-4.16.0_2024-08-07-15-05.json b/common/changes/@itwin/imodel-components-react/changelogs-4.16.0_2024-08-07-15-05.json deleted file mode 100644 index 98181801665..00000000000 --- a/common/changes/@itwin/imodel-components-react/changelogs-4.16.0_2024-08-07-15-05.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@itwin/imodel-components-react", - "comment": "", - "type": "none" - } - ], - "packageName": "@itwin/imodel-components-react" -} \ No newline at end of file diff --git a/common/changes/@itwin/imodel-components-react/changelogs-4.16.x_2024-09-19-11-59.json b/common/changes/@itwin/imodel-components-react/changelogs-4.16.x_2024-09-19-11-59.json deleted file mode 100644 index ae715799c54..00000000000 --- a/common/changes/@itwin/imodel-components-react/changelogs-4.16.x_2024-09-19-11-59.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "changes": [ - { - "comment": "", - "type": "none", - "packageName": "@itwin/imodel-components-react" - } - ], - "packageName": "@itwin/imodel-components-react", - "email": "10091419+GerardasB@users.noreply.github.com" -} \ No newline at end of file diff --git a/common/config/rush/version-policies.json b/common/config/rush/version-policies.json index 4e99a88ca43..54561588a5b 100644 --- a/common/config/rush/version-policies.json +++ b/common/config/rush/version-policies.json @@ -2,7 +2,7 @@ { "policyName": "prerelease-monorepo-lockStep", "definitionName": "lockStepVersion", - "version": "4.17.0-dev.1", + "version": "4.18.0-dev.0", "nextBump": "prerelease" }, { diff --git a/docs/changehistory/NextVersion.md b/docs/changehistory/NextVersion.md index 58dea7c4ee6..5ec6e734bda 100644 --- a/docs/changehistory/NextVersion.md +++ b/docs/changehistory/NextVersion.md @@ -1,249 +1 @@ # NextVersion - -Table of contents: - -- [@itwin/core-react](#itwincore-react) - - [Deprecations](#deprecations) -- [@itwin/appui-react](#itwinappui-react) - - [Deprecations](#deprecations-1) - - [Additions](#additions) - - [Changes](#changes) -- [@itwin/components-react](#itwincomponents-react) - - [Deprecations](#deprecations-2) - - [Additions](#additions-1) - - [Changes](#changes-1) -- [@itwin/imodel-components-react](#itwinimodel-components-react) - - [Deprecations](#deprecations-3) - -## @itwin/core-react - -### Deprecations - -- All `SCSS` and `CSS` variables are deprecated in all of AppUI packages. Applications should use [iTwinUI variables](https://itwinui.bentley.com/docs/variables) instead. In the table below you can find the replacements for commonly used variables: - -| Variable | Replacement | -| ------------------------------------------- | --------------------------------------------------------------- | -| `--buic-accessory-hollow` | `--iui-color-white` | -| `--buic-accessory-primary` | `--iui-color-background-accent-hover` or `rgb(000, 139, 225)` | -| `--buic-accessory-success` | `--iui-color-background-positive-hover` or `rgb(083, 162, 026)` | -| `--buic-accessory-alert` | `--iui-color-background-negative-hover` or `rgb(211, 010, 010)` | -| `--buic-accessory-warning` | `--iui-color-background-warning-hover` or `rgb(241, 139, 018)` | -| `--buic-accessory-primary-tint` | `--iui-color-border-informational` or `rgb(165, 215, 245)` | -| `--buic-accessory-success-tint` | `--iui-color-border-positive` or `rgb(195, 225, 175)` | -| `--buic-accessory-alert-tint` | `--iui-color-border-negative` or `rgb(239, 169, 169)` | -| `--buic-accessory-warning-tint` | `--iui-color-border-warning` or `rgb(249, 215, 171)` | -| `--buic-background-1` | `--iui-color-background` | -| `--buic-background-2` | `--iui-color-background-hover` | -| `--buic-background-3` | `--iui-color-background-backdrop` | -| `--buic-background-4` | `--iui-color-background-backdrop-hover` | -| `--buic-background-5` | `--iui-color-background-disabled` | -| `--buic-background-editable` | `--iui-color-background` | -| `--buic-background-primary` | `--iui-color-background-accent` | -| `--buic-background-tooltip` | `hsl(var(--iui-color-background-hsl) / 0.9)` | -| `--buic-background-scrollbar` | `hsl(var(--iui-color-foreground-hsl) / var(--iui-opacity-4))` | -| `--buic-background-scrollbar-hover` | `hsl(var(--iui-color-foreground-hsl) / var(--iui-opacity-3))` | -| `--buic-foreground-body-rgb` | `--iui-color-foreground-hsl` | -| `--buic-foreground-body` | `--iui-color-text` | -| `--buic-foreground-body-reverse-rgb` | `--iui-color-foreground-hsl` | -| `--buic-foreground-body-reverse` | `hsl(var(--iui-color-background-hsl) / var(--iui-opacity-2))` | -| `--buic-foreground-muted` | `--iui-color-text-muted` | -| `--buic-foreground-disabled` | `--iui-color-text-disabled` | -| `--buic-foreground-activehover` | `--iui-color-text` | -| `--buic-inputs-border` | `hsl(var(--iui-color-foreground-hsl) / var(--iui-opacity-4))` | -| `--buic-inputs-boxshadow` | `--iui-focus-box-shadow` | -| `--buic-popup-boxshadow` | `--buic-inputs-boxshadow` | -| `--buic-foreground-primary` | `--iui-color-icon-accent` | -| `--buic-foreground-primary-tone` | `--iui-color-text-accent-hover` | -| `--buic-foreground-focus` | `--iui-color-text-accent-hover` | -| `--buic-foreground-focus-border` | `--buic-inputs-border` | -| `--buic-focus-boxshadow` | `hsl(var(--iui-color-accent-hsl) / var(--iui-opacity-4))` | -| `--buic-focus-boxshadow-gradient1` | `hsl(var(--buic-foreground-primary-tone-rgb) / 0)` | -| `--buic-focus-boxshadow-gradient2` | `hsl(var(--buic-foreground-primary-rgb) / 0.65)` | -| `--buic-foreground-accessory` | `--iui-color-white` | -| `--buic-foreground-success` | `--iui-color-text-positive` | -| `--buic-foreground-positive` | `--iui-color-text-positive` | -| `--buic-foreground-positive-rgb` | `--iui-color-positive-hsl` | -| `--buic-foreground-alert` | `--iui-color-text-negative` | -| `--buic-foreground-negative` | `--iui-color-text-negative` | -| `--buic-foreground-negative-rgb` | `--iui-color-negative-hsl` | -| `--buic-foreground-warning` | `--iui-color-text-warning` | -| `--buic-foreground-warning-rgb` | `--iui-color-warning-hsl` | -| `--buic-background-focus-overlay` | `hsl(var(--iui-opacity-6))` | -| `--buic-background-hover-overlay` | `hsl(var(--iui-color-accent-hsl) / var(--iui-opacity-5))` | -| `--buic-background-active-overlay` | `hsl(var(--iui-color-accent-hsl) / var(--iui-opacity-5))` | -| `--buic-background-pressed-overlay` | `hsl(var(--iui-color-accent-hsl) / 0.3)` | -| `--buic-background-card` | `hsl(var(--iui-color-background-hsl) / 0.9)` | -| `--buic-background-striped_row` | `hsl(var(--iui-color-foreground-hsl) / 0.03)` | -| `--buic-background-titlebar` | `--iui-color-background-disabled` | -| `--buic-background-dialog-stroke` | `--iui-color-background-disabled` | -| `--buic-background-widget-stroke` | `--iui-color-background-disabled` | -| `--buic-background-control-stroke` | `--iui-color-background-disabled` | -| `--buic-background-panel-stroke` | `--iui-color-background-disabled` | -| `--buic-background-toolbutton-stroke` | `--iui-color-background-disabled` | -| `--buic-background-titlebar-outoffocus` | `--iui-color-background-backdrop-hover` | -| `--buic-background-divider` | `--iui-color-background-backdrop-hover` | -| `--buic-background-widget-element-stroke` | `--iui-color-background-backdrop-hover` | -| `--buic-background-statusbar` | `--iui-color-background-backdrop-hover` | -| `--buic-background-table-header` | `--iui-color-background-backdrop-hover` | -| `--buic-background-control-stroke-disabled` | `--iui-color-background-backdrop-hover` | -| `--buic-background-tab-inactive` | `--iui-color-background-backdrop` | -| `--buic-background-toolbutton-inactive` | `--iui-color-background-backdrop` | -| `--buic-background-context-menu` | `--iui-color-background-backdrop` | -| `--buic-background-widget-panel` | `--iui-color-background-backdrop` | -| `--buic-background-placeholder` | `--iui-color-background-backdrop` | -| `--buic-background-control-disabled` | `--iui-color-background-backdrop` | -| `--buic-background-tab-active` | `--iui-color-background-hover` | -| `--buic-background-dialog` | `--iui-color-background-hover` | -| `--buic-background-widget` | `--iui-color-background-hover` | -| `--buic-background-window` | `--iui-color-background-hover` | -| `--buic-background-toolbar` | `--iui-color-background-hover` | -| `--buic-background-panel` | `--iui-color-background-hover` | -| `--buic-background-control` | `--iui-color-background` | -| `--buic-row-selection` | `--iui-color-background-accent-muted` | -| `--buic-row-hover` | `--iui-color-background-hover` | -| `--buic-button-gradient1` | `rgba(var(--iui-color-foreground-body-invert-rgb), 0)` | -| `--buic-button-gradient2` | `rgba(var(--iui-color-foreground-body-invert-rgb), 0.25)` | - -## @itwin/appui-react - -### Deprecations - -- Deprecated `AccuDrawDialogProps`, `AccuDrawFieldContainerProps`, `AccuDrawInputFieldProps`, `BackstageComposerProps`, `ConfigurableUiContentProps`, `SplitPaneProps`, `StatusBarComposerProps`, `ExtensibleToolbarProps`, `UiSettingsProviderProps`, `BasicNavigationWidgetProps`, `BasicToolWidgetProps`, `ContentToolWidgetComposerProps`, `NavigationAidHostProps`, `NavigationWidgetComposerProps`, `ToolWidgetComposerProps`, `ViewToolWidgetComposerProps` in favor of `React.ComponentProps`. [#991](https://github.com/iTwin/appui/pull/991) - Usage example: - - ```tsx - import { AccuDrawDialog } from "@itwin/appui-react"; - - type AccuDrawDialogProps = React.ComponentProps; - ``` - -- Deprecated `FrameworkFrontstages.clearFrontstageProviders`, use `FrameworkFrontstages.clearFrontstages` instead. [#1022](https://github.com/iTwin/appui/pull/1022) -- Deprecated `UiFramework.setIsUiVisible` and `UiFramework.getIsUiVisible`. Use `UiFramework.visibility.isUiVisible` instead. [#1023](https://github.com/iTwin/appui/pull/1023) -- Deprecated `BaseUiItemsProvider`, `StandardContentToolsProvider`, `StandardNavigationToolsProvider`, `StandardStatusbarItemsProvider` classes. Use `UiItemsProviderOverrides` to specify supported frontstages when registering the provider. [#1024](https://github.com/iTwin/appui/pull/1024) -- Deprecated `DefaultContentToolsAppData` interface that is a remnant of discontinued frontstage APIs. [#1024](https://github.com/iTwin/appui/pull/1024) -- Deprecated `StandardContentToolsUiItemsProvider.provideStatusBarItems`, `StandardContentToolsUiItemsProvider.provideToolbarItems`, `StandardNavigationToolsUiItemsProvider.provideToolbarItems`, `StandardStatusbarUiItemsProvider.provideStatusBarItems` methods. Use `get*` variants instead. [#1024](https://github.com/iTwin/appui/pull/1024) -- Deprecated `floatingContentControls` getter of `FrontstageDef` class that used a deprecated `ContentControl` class. Use floating widgets instead. [#1030](https://github.com/iTwin/appui/pull/1030) -- Deprecated `useDefaultStatusBarItems` and `useUiItemsProviderStatusBarItems` hooks, which require an internal class as a parameter. Use `StatusBarComposer` component instead. [#1037](https://github.com/iTwin/appui/pull/1037) -- Deprecated `useUiItemsProviderBackstageItems` hook, which requires an internal class as a parameter. Use `BackstageComposer` component instead. [#1037](https://github.com/iTwin/appui/pull/1037) - -### Additions - -- Added `UiFramework.onIModelConnectionChanged` event to get notified whenever the iModel targeted by `UiFramework.getIModelConnection()` changes. This is a replacement for listening to the deprecated `SessionStateActionId.SetIModelConnection`. [#1027](https://github.com/iTwin/appui/pull/1027) -- Added `ConditionalBooleanValue` and `ConditionalStringValue` class re-exports from `@itwin/appui-abstract` package. [#1031](https://github.com/iTwin/appui/pull/1031) -- Added `StandardContentLayouts`, `ContentLayoutProps`, `LayoutFragmentProps`, `LayoutHorizontalSplitProps`, `LayoutSplitPropsBase`, and `LayoutVerticalSplitProps` interfaces from `@itwin/appui-abstract` package. [#1033](https://github.com/iTwin/appui/pull/1033) -- Added a generic `ConditionalValue` interface to track the conditional value of any type. This interface can be used as a replacement for existing `ConditionalBooleanValue` and `ConditionalStringValue` classes. [#1036](https://github.com/iTwin/appui/pull/1036) - -```tsx -// Before -interface Item { - isSelected: ConditionalBooleanValue; -} -const item: Item = { - isSelected: new ConditionalBooleanValue(() => false, ["ev-1"]), -}; - -// After -interface Item { - isSelected: ConditionalValue; -} -const item: Item = { - isSelected: { - getValue: () => false, - eventIds: ["ev-1"], - }, -}; -``` - -Additionally, any type can be used for the value. - -```tsx -interface Props { - isSelected: ConditionalValue<"yes" | "no">; -} - -// Usage from the component -function Component({ isSelected }: Props) { - const selected = useConditionalValue( - isSelected.getValue, - isSelected.eventIds - ); // "yes" | "no" - if (selected === "yes") return
Selected
; - return
Not selected
; -} -``` - -- Added `renderActiveStrip` property to `ContentProps` interface to control rendering of the active strip. [#1036](https://github.com/iTwin/appui/pull/1036) - -```tsx -const content: ContentProps = { - id: "test-content", - classId: "", - content: <>Content, - // Active strip will never be rendered for this content. - renderActiveStrip: false, -}; -``` - -Alternatively, a conditional value can be used to control the rendering of the active strip. - -```tsx -const content: ContentProps = { - // ... - renderActiveStrip: { - getValue: () => { - // Return `true` to render the strip. - // Return `false` to hide the strip. - // Return `undefined` to use the default behavior: the strip is rendered if the content is active and multiple contents are available. - return false; - }, - // `getValue()` must be called to sync the value when `ev-1` event is fired via `SyncUiEventDispatcher`. - eventIds: ["ev-1"], - }, -}; -``` - -### Changes - -- Allow to set the available snap modes in `SnapModeField` component. [#974](https://github.com/iTwin/appui/pull/974) -- Bump `StandardContentToolsUiItemsProvider`, `StandardStatusbarUiItemsProvider` classes to `@public`. [#1024](https://github.com/iTwin/appui/pull/1024) -- Bump `content` property of `ContentProps` interface to `@public`. [#1030](https://github.com/iTwin/appui/pull/1030) -- Content layout will now track `ContentOverlay` components to determine if the active strip should be rendered for the active content. [#1030](https://github.com/iTwin/appui/pull/1030) -- Bump `useConditionalValue` hook to `@public`. [#1036](https://github.com/iTwin/appui/pull/1036) - -## @itwin/components-react - -### Deprecations - -- Deprecated `HighlightedTextProps`, `EditorContainerProps`, `OkCancelProps`, `FavoritePropertyListProps`, `ParsedInputProps`, `LinksRendererProps`, `VirtualizedPropertyGridWithDataProviderProps`, `ControlledSelectableContentProps`, `SelectableContentProps`, `TreeNodeContentProps`, `TreeNodeIconProps` in favor of `React.ComponentProps`. [#991](https://github.com/iTwin/appui/pull/991) - - Usage example: - - ```tsx - import { HighlightedText } from "@itwin/components-react"; - - type HighlightedTextProps = React.ComponentProps; - ``` - -- Deprecated `defaultPropertyFilterBuilderRuleValidator`. Newly added `useDefaultPropertyFilterBuilderRuleValidator` should be used instead. [#1000](https://github.com/iTwin/appui/pull/1000) - -### Additions - -- Added `useDefaultPropertyFilterBuilderRuleValidator` hook to get default validator for rules in `PropertyFilterBuilder` component. [#1000](https://github.com/iTwin/appui/pull/1000) - -### Changes - -- Allow last rule in rule group to be deleted by setting allowLastRuleDelete param in removeItem action in `PropertyFilterBuilder` component. [#1034](https://github.com/iTwin/appui/pull/1034) - -## @itwin/imodel-components-react - -### Deprecations - -- Deprecated `FormatPanelProps`, `FormatPrecisionProps`, `FormatSampleProps`, `FormatTypeOptionProps`, `FormatUnitLabelProps`, `FormatUnitsProps`, `MiscFormatOptionsProps`, `QuantityFormatPanelProps` in favor of `React.ComponentProps`. [#991](https://github.com/iTwin/appui/pull/991) - - Usage example: - - ```tsx - import { FormatUnits } from "@itwin/imodel-components-react"; - - type FormatUnitsProps = React.ComponentProps; - ``` diff --git a/ui/appui-react/package.json b/ui/appui-react/package.json index e36a24f8b9c..9a5916a4205 100644 --- a/ui/appui-react/package.json +++ b/ui/appui-react/package.json @@ -1,6 +1,6 @@ { "name": "@itwin/appui-react", - "version": "4.17.0-dev.1", + "version": "4.18.0-dev.0", "description": "UI framework", "main": "lib/cjs/appui-react.js", "module": "lib/esm/appui-react.js", @@ -42,15 +42,15 @@ }, "peerDependencies": { "@itwin/appui-abstract": "^3.7.0 || ^4.0.0", - "@itwin/components-react": "workspace:^4.17.0-dev.1", + "@itwin/components-react": "workspace:^4.18.0-dev.0", "@itwin/core-bentley": "^3.7.0 || ^4.0.0", "@itwin/core-common": "^3.7.0 || ^4.0.0", "@itwin/core-frontend": "^3.7.0 || ^4.0.0", "@itwin/core-geometry": "^3.7.0 || ^4.0.0", "@itwin/core-quantity": "^3.7.0 || ^4.0.0", - "@itwin/core-react": "workspace:^4.17.0-dev.1", + "@itwin/core-react": "workspace:^4.18.0-dev.0", "@itwin/core-telemetry": "^3.7.0 || ^4.0.0", - "@itwin/imodel-components-react": "workspace:^4.17.0-dev.1", + "@itwin/imodel-components-react": "workspace:^4.18.0-dev.0", "react": "^17.0.0 || ^18.0.0", "react-dom": "^17.0.0 || ^18.0.0", "react-redux": "^7.2.2", diff --git a/ui/components-react/package.json b/ui/components-react/package.json index 63ca84ba9a5..c25bd798bab 100644 --- a/ui/components-react/package.json +++ b/ui/components-react/package.json @@ -1,6 +1,6 @@ { "name": "@itwin/components-react", - "version": "4.17.0-dev.1", + "version": "4.18.0-dev.0", "description": "iTwin.js UI complex components", "main": "lib/cjs/components-react.js", "module": "lib/esm/components-react.js", @@ -43,7 +43,7 @@ "peerDependencies": { "@itwin/appui-abstract": "^3.7.0 || ^4.0.0", "@itwin/core-bentley": "^3.7.0 || ^4.0.0", - "@itwin/core-react": "workspace:^4.17.0-dev.1", + "@itwin/core-react": "workspace:^4.18.0-dev.0", "react": "^17.0.0 || ^18.0.0", "react-dom": "^17.0.0 || ^18.0.0" }, diff --git a/ui/core-react/package.json b/ui/core-react/package.json index 37ce8e82e68..e20aef28635 100644 --- a/ui/core-react/package.json +++ b/ui/core-react/package.json @@ -1,6 +1,6 @@ { "name": "@itwin/core-react", - "version": "4.17.0-dev.1", + "version": "4.18.0-dev.0", "description": "iTwin.js UI core components", "main": "lib/cjs/core-react.js", "module": "lib/esm/core-react.js", diff --git a/ui/imodel-components-react/package.json b/ui/imodel-components-react/package.json index 5f3ac8fb8d1..e432c0140ea 100644 --- a/ui/imodel-components-react/package.json +++ b/ui/imodel-components-react/package.json @@ -1,6 +1,6 @@ { "name": "@itwin/imodel-components-react", - "version": "4.17.0-dev.1", + "version": "4.18.0-dev.0", "description": "iTwin.js UI IModel Components", "main": "lib/cjs/imodel-components-react.js", "module": "lib/esm/imodel-components-react.js", @@ -41,13 +41,13 @@ }, "peerDependencies": { "@itwin/appui-abstract": "^3.7.0 || ^4.0.0", - "@itwin/components-react": "workspace:^4.17.0-dev.1", + "@itwin/components-react": "workspace:^4.18.0-dev.0", "@itwin/core-bentley": "^3.7.0 || ^4.0.0", "@itwin/core-common": "^3.7.0 || ^4.0.0", "@itwin/core-frontend": "^3.7.0 || ^4.0.0", "@itwin/core-geometry": "^3.7.0 || ^4.0.0", "@itwin/core-quantity": "^3.7.0 || ^4.0.0", - "@itwin/core-react": "workspace:^4.17.0-dev.1", + "@itwin/core-react": "workspace:^4.18.0-dev.0", "react": "^17.0.0 || ^18.0.0", "react-dom": "^17.0.0 || ^18.0.0" },