diff --git a/common/api/summary/ui-framework.exports.csv b/common/api/summary/ui-framework.exports.csv index 284a74947af..bf61000a9da 100644 --- a/common/api/summary/ui-framework.exports.csv +++ b/common/api/summary/ui-framework.exports.csv @@ -186,7 +186,7 @@ public;ElementTooltipChangedEventArgs alpha;EmphasizeElementsChangedArgs beta;ExpandableSection beta;ExpandableSectionProps -internal;expandWidget: +internal;expandWidget: (base: beta;ExtensibleToolbarProps beta;featureOverridesActiveStateFunc(state: Readonly alpha;FocusToolSettings @@ -457,11 +457,11 @@ beta;SessionStateActionsProps beta;SessionStateActionsUnion = ActionsUnion beta;sessionStateMapDispatchToProps: beta;SessionStateReducer(state: SessionState | undefined, action: SessionStateActionsUnion): DeepReadonly -internal;setPanelSize: +internal;setPanelSize: (base: beta;SettingsModalFrontstage internal;settingsStatusToUiSettingsStatus(status: SettingsStatus): UiSettingsStatus -internal;setWidgetLabel: -internal;setWidgetState: +internal;setWidgetLabel: (base: +internal;setWidgetState: (base: alpha;SheetCard alpha;SheetCardProps alpha;SheetData @@ -469,7 +469,7 @@ alpha;SheetNavigationAid alpha;SheetNavigationAidControl alpha;SheetNavigationProps alpha;SheetsModalFrontstage -internal;showWidget: +internal;showWidget: (base: public;SignIn public;SignInProps public;SignOutModalFrontstage diff --git a/common/api/ui-framework.api.md b/common/api/ui-framework.api.md index 419c01b0c2c..3918af48a2a 100644 --- a/common/api/ui-framework.api.md +++ b/common/api/ui-framework.api.md @@ -1869,7 +1869,7 @@ export interface ExpandableSectionProps extends CommonProps { } // @internal (undocumented) -export const expandWidget: (base: Base, id: string) => Base; +}, id: string) => import("immer/dist/internal").WritableDraft; // @beta export interface ExtensibleToolbarProps { @@ -4656,7 +4656,7 @@ export const sessionStateMapDispatchToProps: { export function SessionStateReducer(state: SessionState | undefined, action: SessionStateActionsUnion): DeepReadonly; // @internal (undocumented) -export const setPanelSize: (base: Base, side: PanelSide, size: number | undefined) => Base; +}, side: PanelSide, size: number | undefined) => import("immer/dist/internal").WritableDraft; // @beta export class SettingsModalFrontstage implements ModalFrontstageInfo { @@ -4794,7 +4794,7 @@ export class SettingsModalFrontstage implements ModalFrontstageInfo { export function settingsStatusToUiSettingsStatus(status: SettingsStatus): UiSettingsStatus; // @internal (undocumented) -export const setWidgetLabel: (base: Base, id: string, label: string) => Base; +}, id: string, label: string) => import("immer/dist/internal").WritableDraft; // @internal (undocumented) -export const setWidgetState: (base: Base, widgetDef: WidgetDef, state: WidgetState_2) => Base; +}, widgetDef: WidgetDef, state: WidgetState_2) => import("immer/dist/internal").WritableDraft; // @alpha export class SheetCard extends React.Component { @@ -5090,7 +5090,7 @@ export class SheetsModalFrontstage implements ModalFrontstageInfo { } // @internal (undocumented) -export const showWidget: (base: Base, id: string) => Base; +}, id: string) => import("immer/dist/internal").WritableDraft; // @public export class SignIn extends React.PureComponent { diff --git a/common/changes/@bentley/presentation-components/update-immer_2021-03-24-15-39.json b/common/changes/@bentley/presentation-components/update-immer_2021-03-24-15-39.json new file mode 100644 index 00000000000..d603aa33bd4 --- /dev/null +++ b/common/changes/@bentley/presentation-components/update-immer_2021-03-24-15-39.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "packageName": "@bentley/presentation-components", + "comment": "", + "type": "none" + } + ], + "packageName": "@bentley/presentation-components", + "email": "70327485+roluk@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@bentley/ui-components/update-immer_2021-03-24-15-39.json b/common/changes/@bentley/ui-components/update-immer_2021-03-24-15-39.json new file mode 100644 index 00000000000..8b0919d3a2b --- /dev/null +++ b/common/changes/@bentley/ui-components/update-immer_2021-03-24-15-39.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "packageName": "@bentley/ui-components", + "comment": "", + "type": "none" + } + ], + "packageName": "@bentley/ui-components", + "email": "70327485+roluk@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@bentley/ui-framework/update-immer_2021-03-24-15-39.json b/common/changes/@bentley/ui-framework/update-immer_2021-03-24-15-39.json new file mode 100644 index 00000000000..61faabf7bcc --- /dev/null +++ b/common/changes/@bentley/ui-framework/update-immer_2021-03-24-15-39.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "packageName": "@bentley/ui-framework", + "comment": "", + "type": "none" + } + ], + "packageName": "@bentley/ui-framework", + "email": "70327485+roluk@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/@bentley/ui-ninezone/update-immer_2021-03-24-15-39.json b/common/changes/@bentley/ui-ninezone/update-immer_2021-03-24-15-39.json new file mode 100644 index 00000000000..84a2c18a816 --- /dev/null +++ b/common/changes/@bentley/ui-ninezone/update-immer_2021-03-24-15-39.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "packageName": "@bentley/ui-ninezone", + "comment": "", + "type": "none" + } + ], + "packageName": "@bentley/ui-ninezone", + "email": "70327485+roluk@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 93fc1fa9fd8..baacb37b7f2 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -251,7 +251,7 @@ dependencies: i18next-browser-languagedetector: 2.2.4 i18next-xhr-backend: 2.0.1 ignore-styles: 5.0.1 - immer: 8.0.1 + immer: 9.0.1 immutable: 3.8.2 inspire-tree: 5.0.2 istanbul-instrumenter-loader: 3.0.1_webpack@4.42.0 @@ -10054,6 +10054,10 @@ packages: dev: false resolution: integrity: sha512-aqXhGP7//Gui2+UrEtvxZxSquQVXTpZ7KDxfCcKAF3Vysvw0CViVaW9RZ1j1xlIYqaaaipBoqdqeibkc18PNvA== + /immer/9.0.1: + dev: false + resolution: + integrity: sha512-7CCw1DSgr8kKYXTYOI1qMM/f5qxT5vIVMeGLDCDX8CSxsggr1Sjdoha4OhsP0AZ1UvWbyZlILHvLjaynuu02Mg== /immutable/3.8.2: dev: false engines: @@ -21380,7 +21384,7 @@ packages: eslint: 6.8.0 faker: 4.1.0 ignore-styles: 5.0.1 - immer: 8.0.1 + immer: 9.0.1 jsdom-global: 3.0.2_jsdom@11.12.0 lodash: 4.17.21 micro-memoize: 4.0.9 @@ -21402,7 +21406,7 @@ packages: peerDependencies: jsdom: '*' resolution: - integrity: sha512-k+5cS1ZMST5fbsQ7GNjomVRSloRhZ+KFDKqfx+xIxLRIydaCSSJlJ8LX/SFALPN8W55FqVbzIIqKj6hnZI9N8A== + integrity: sha512-QnPbrBWICSfgCy/oJXHBgrmmkdYjArLpH+f/qaw623b7aNBRbSAo5Jkes/encm1XC/bzOrULjGK/KObxzzZ9Kg== tarball: 'file:projects/presentation-components.tgz' version: 0.0.0 'file:projects/presentation-frontend.tgz_jsdom@11.12.0': @@ -21473,7 +21477,7 @@ packages: eslint: 6.8.0 faker: 4.1.0 ignore-styles: 5.0.1 - immer: 8.0.1 + immer: 9.0.1 jsdom-global: 3.0.2_jsdom@11.12.0 mocha: 5.2.0 react: 16.14.0 @@ -21492,7 +21496,7 @@ packages: peerDependencies: jsdom: '*' resolution: - integrity: sha512-1sbwafUCauNCnsiQDfC7IDjm2nzZUlzLamD4IUKVRC5ZVfV7Yo4SRst6B2+ggnXBJF6zolhrngH7R+wOYfZTlQ== + integrity: sha512-6UilnHbj6XUhhOK1ui65mZZ9a9gHucL9CHmLLY0spovpOCrd9DI4br7170aggeODH7RqZdhGU9ZcHPO9q1buqw== tarball: 'file:projects/presentation-full-stack-tests.tgz' version: 0.0.0 'file:projects/presentation-test-app.tgz_webpack-cli@3.3.12': @@ -21829,7 +21833,7 @@ packages: eventemitter2: 5.0.1 faker: 4.1.0 ignore-styles: 5.0.1 - immer: 8.0.1 + immer: 9.0.1 immutable: 3.8.2 inspire-tree: 5.0.2 jsdom: 11.12.0 @@ -21869,7 +21873,7 @@ packages: dev: false name: '@rush-temp/ui-components' resolution: - integrity: sha512-MIydD7jXSA3uOzW7W1ZGzenMxK0sriWPXwErbKc5jvxueeaVnECf/e3FpdMQjhTtJSwxYU8ov7Ug8mg9zPmhXw== + integrity: sha512-tC5QTdcBeNEHkZo3L2BoFVbPDW70Wztt0xdQswPbe1CBvhlRjh0/sygQpkDzJ6qPM8NLvwqCK3lvXz4bznATLg== tarball: 'file:projects/ui-components.tgz' version: 0.0.0 'file:projects/ui-core.tgz_2f645c1465aea7f802b6a9a8594dc28f': @@ -21977,7 +21981,7 @@ packages: eslint: 6.8.0 faker: 4.1.0 ignore-styles: 5.0.1 - immer: 8.0.1 + immer: 9.0.1 jsdom: 11.12.0 jsdom-global: 3.0.2_jsdom@11.12.0 lodash: 4.17.21 @@ -22011,7 +22015,7 @@ packages: webpack: '*' webpack-cli: '*' resolution: - integrity: sha512-58U7VAUeuZ9+iTAn1SzsgxQAS2WJ3tvOewb8KRvtdhvRrHIr6cUiYAlo46Q3qWThpTCgqaYSy+TIUBpS2zuYEw== + integrity: sha512-6MdSxMkzV9Xv9AKFmyla/CegSDcRsF8xqpQCgjJRKcgrNQ1JS105R5LkGvXaHAON/3i/UP1iwvzQp3178e7RGQ== tarball: 'file:projects/ui-framework.tgz' version: 0.0.0 'file:projects/ui-ninezone.tgz_react-test-renderer@16.14.0': @@ -22041,7 +22045,7 @@ packages: enzyme-to-json: 3.6.1_enzyme@3.11.0 eslint: 6.8.0 ignore-styles: 5.0.1 - immer: 8.0.1 + immer: 9.0.1 jsdom: 11.12.0 jsdom-global: 3.0.2_jsdom@11.12.0 mocha: 5.2.0 @@ -22062,7 +22066,7 @@ packages: peerDependencies: react-test-renderer: '*' resolution: - integrity: sha512-GmGUH+9lfCtS6ZUpe7QCeof9w0CvlcYpqvd6nB8TB6z5LfvMxD0EfpMo357FvKiCezas0XdpwCcomvzRI3PIdQ== + integrity: sha512-bAft63SUyUH+zm4M+eBF4V2rCsHGnsQCPBQFWLAPJIynbb2JjIbwYlI00VboZ2G+mibT3Y2mCICP0TTUJIsgwA== tarball: 'file:projects/ui-ninezone.tgz' version: 0.0.0 'file:projects/ui-test-app.tgz_webpack-cli@3.3.12': @@ -22457,7 +22461,7 @@ specifiers: i18next-browser-languagedetector: ^2.1.0 i18next-xhr-backend: ^2.0.1 ignore-styles: ^5.0.1 - immer: ^8.0.1 + immer: ^9.0.1 immutable: ^3.8.2 inspire-tree: ^5.0.1 istanbul-instrumenter-loader: ^3.0.1 diff --git a/full-stack-tests/presentation/package.json b/full-stack-tests/presentation/package.json index b663b88a753..4a37a6339bc 100644 --- a/full-stack-tests/presentation/package.json +++ b/full-stack-tests/presentation/package.json @@ -59,7 +59,7 @@ "cpx": "^1.5.0", "deep-equal": "^1", "faker": "^4.1.0", - "immer": "^8.0.1", + "immer": "^9.0.1", "mocha": "^5.2.0", "react": "^16.8.0", "react-dom": "^16.8.0", @@ -92,4 +92,4 @@ ], "extends": "plugin:@bentley/imodeljs-recommended" } -} +} \ No newline at end of file diff --git a/presentation/components/package.json b/presentation/components/package.json index 691348c3ea6..d6fe5d7be38 100644 --- a/presentation/components/package.json +++ b/presentation/components/package.json @@ -98,7 +98,7 @@ "eslint": "^6.8.0", "faker": "^4.1.0", "ignore-styles": "^5.0.1", - "immer": "^8.0.1", + "immer": "^9.0.1", "jsdom-global": "3.0.2", "mocha": "^5.2.0", "nyc": "^14.0.0", @@ -135,4 +135,4 @@ ], "extends": "plugin:@bentley/ui" } -} +} \ No newline at end of file diff --git a/ui/components/package.json b/ui/components/package.json index 7e51b916c40..89f783be81b 100644 --- a/ui/components/package.json +++ b/ui/components/package.json @@ -124,7 +124,7 @@ "callable-instance2": "1.0.0", "classnames": "^2.2.5", "eventemitter2": "^5.0.1", - "immer": "^8.0.1", + "immer": "^9.0.1", "immutable": "^3.8.2", "inspire-tree": "^5.0.1", "linkify-it": "~2.2.0", @@ -166,4 +166,4 @@ "plugin:@bentley/jsdoc" ] } -} +} \ No newline at end of file diff --git a/ui/framework/package.json b/ui/framework/package.json index 1e7369ed939..e69925bcbc9 100644 --- a/ui/framework/package.json +++ b/ui/framework/package.json @@ -142,7 +142,7 @@ "@bentley/icons-generic-webfont": "^1.0.15", "@bentley/presentation-components": "2.14.0-dev.26", "classnames": "^2.2.5", - "immer": "^8.0.1", + "immer": "^9.0.1", "lodash": "^4.17.10", "react-dnd": "^11.1.3", "react-dnd-html5-backend": "^11.1.3", @@ -174,4 +174,4 @@ "plugin:@bentley/jsdoc" ] } -} +} \ No newline at end of file diff --git a/ui/ninezone/package.json b/ui/ninezone/package.json index 7aea7530cd4..121da0a3a7a 100644 --- a/ui/ninezone/package.json +++ b/ui/ninezone/package.json @@ -91,7 +91,7 @@ ], "dependencies": { "classnames": "^2.2.5", - "immer": "^8.0.1", + "immer": "^9.0.1", "uuid": "^7.0.3" }, "nyc": { @@ -118,4 +118,4 @@ "plugin:@bentley/jsdoc" ] } -} +} \ No newline at end of file