ohif-viewer/platform/docs/versioned_docs/version-3.11/migration-guide/3p8-to-3p9/2-Renamings.md
2025-08-28 12:57:45 -04:00

1.0 KiB

id title sidebar_position summary
2-renamings Renamings 2 Migration guide for renamed components in OHIF 3.9, including the Panel Measurements name change from 'measure' to 'panelMeasurement' and addIcon utility changes to support both UI packages.

import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';

Panel Measurements

The panel in the default extension is renamed from measure to panelMeasurement to be more consistent with the rest of the extensions.

Action Needed

Update any references to the measure panel to panelMeasurement in your code.

Find and replace

@ohif/extension-default.panelModule.measure @ohif/extension-cornerstone.panelModule.panelMeasurement

addIcon from ui

The addIcon from the ui package has had a version added in the default extension as utils.addIcon which adds to both ui and ui-next.