* feat(ViewportActionBar): OHIF issue #3123 (#3186) * feat(ViewportActionBar): OHIF issue #3123 - Renamed previous viewport action bar to be LegacyViewportActionBar - Components LegacyViewportActionBar depends on also renamed: LegacyCinePlayer and LegacyPatientInfo - New Viewport coded to specs in issue - added React hook useResizeObserver - added some tailwind classes * Updated tailwind to 3.2.7. Put external imports like React at the top of the import list. * feat(CinePlayer and ViewportActionBar) (#3198) * feat(CinePlayer and ViewportActionBar) - OHIF issue 3123 - new look cine control implemented - new custom blue color in tailwind config for various hover backgrounds in the cine control - new icons added for cine - Tooltip component now can be placed top (center) on hover - Tooltip component border colour now consistent with specs - fixed NPE in ViewportActionBar - upgraded tailwind to 3.2.7 in platform/ui - fixed issues in various button components brought by tailwind 3.2.7 where classes now need important flag - fixed issue with InputRange component so that the tracked value property can change externally - InputRange component can now optionally show its label - added new measurement tracking state service to hydrate SR without prompting - segmentation can also now be hydrated without prompting * PR feedback: - cine centralized to OHIFCornerstoneViewport - introduced a type for the CinePlayer properties * Addressed PR comments and concerns... The DOM ref for the root component of the ViewportActionBar is now added to state so that the various callbacks and ResizeObserver are updated with it. The CinePlayer FPS slider tooltip was moved up so that its arrow does not intersect the FPS text. The hover area for the CinePlayer slider tooltip is now the FPS < > buttons and text. The tracked measurements are now filtered to only include those of the active viewport series when the tracked measurement navigation arrows are used. * Addressed PR comments... The update to tailwind 3.2.7 caused several look-and-feel, UI regressions, so we are rolling back to 3.2.4.
149 lines
4.2 KiB
JavaScript
149 lines
4.2 KiB
JavaScript
import AboutModal from './AboutModal';
|
|
import Button from './Button';
|
|
import ButtonGroup from './ButtonGroup';
|
|
import ContextMenu from './ContextMenu';
|
|
import CinePlayer from './CinePlayer';
|
|
import DateRange from './DateRange';
|
|
import Dialog from './Dialog';
|
|
import Dropdown from './Dropdown';
|
|
import EmptyStudies from './EmptyStudies';
|
|
import ErrorBoundary from './ErrorBoundary';
|
|
import Icon from './Icon';
|
|
import IconButton from './IconButton';
|
|
import Input from './Input';
|
|
import InputDateRange from './InputDateRange';
|
|
import InputGroup from './InputGroup';
|
|
import InputLabelWrapper from './InputLabelWrapper';
|
|
import InputMultiSelect from './InputMultiSelect';
|
|
import InputText from './InputText';
|
|
import Label from './Label';
|
|
import LayoutSelector from './LayoutSelector';
|
|
import LegacyCinePlayer from './LegacyCinePlayer';
|
|
import LegacyViewportActionBar from './LegacyViewportActionBar';
|
|
import MeasurementTable from './MeasurementTable';
|
|
import Modal from './Modal';
|
|
import NavBar from './NavBar';
|
|
import Notification from './Notification';
|
|
import Select from './Select';
|
|
import SegmentationTable from './SegmentationTable';
|
|
import SegmentationGroupTable from './SegmentationGroupTable';
|
|
import SidePanel from './SidePanel';
|
|
import SplitButton from './SplitButton';
|
|
import StudyBrowser from './StudyBrowser';
|
|
import StudyItem from './StudyItem';
|
|
import StudyListExpandedRow from './StudyListExpandedRow';
|
|
import StudyListFilter from './StudyListFilter';
|
|
import StudyListPagination from './StudyListPagination';
|
|
import { StudyListTable, StudyListTableRow } from './StudyListTable';
|
|
import StudySummary from './StudySummary';
|
|
import Svg from './Svg';
|
|
import Table from './Table';
|
|
import TableBody from './TableBody';
|
|
import TableCell from './TableCell';
|
|
import TableHead from './TableHead';
|
|
import TableRow from './TableRow';
|
|
import ThemeWrapper from './ThemeWrapper/';
|
|
import Thumbnail from './Thumbnail';
|
|
import ThumbnailNoImage from './ThumbnailNoImage';
|
|
import ThumbnailTracked from './ThumbnailTracked';
|
|
import ThumbnailList from './ThumbnailList';
|
|
import ToolbarButton from './ToolbarButton';
|
|
import ContextMenuMeasurements from './ContextMenuMeasurements';
|
|
import ExpandableToolbarButton from './ExpandableToolbarButton';
|
|
import ListMenu from './ListMenu';
|
|
import Tooltip from './Tooltip';
|
|
import TooltipClipboard from './TooltipClipboard';
|
|
import Typography from './Typography';
|
|
import Viewport from './Viewport';
|
|
import ViewportDownloadForm from './ViewportDownloadForm';
|
|
import ViewportGrid from './ViewportGrid';
|
|
import ViewportPane from './ViewportPane';
|
|
import WindowLevelMenuItem from './WindowLevelMenuItem';
|
|
import UserPreferences from './UserPreferences';
|
|
import HotkeysPreferences from './HotkeysPreferences';
|
|
import HotkeyField from './HotkeyField';
|
|
import Header from './Header';
|
|
import ImageScrollbar from './ImageScrollbar';
|
|
import ViewportOverlay from './ViewportOverlay';
|
|
import InputRange from './InputRange';
|
|
import InputNumber from './InputNumber';
|
|
import CheckBox from './CheckBox';
|
|
import LoadingIndicatorProgress from './LoadingIndicatorProgress';
|
|
import ViewportActionBar from './ViewportActionBar';
|
|
|
|
export {
|
|
AboutModal,
|
|
HotkeyField,
|
|
Header,
|
|
UserPreferences,
|
|
HotkeysPreferences,
|
|
Button,
|
|
ButtonGroup,
|
|
CheckBox,
|
|
CinePlayer,
|
|
ContextMenu,
|
|
DateRange,
|
|
Dialog,
|
|
Dropdown,
|
|
EmptyStudies,
|
|
ErrorBoundary,
|
|
ExpandableToolbarButton,
|
|
ListMenu,
|
|
Icon,
|
|
IconButton,
|
|
Input,
|
|
InputDateRange,
|
|
InputGroup,
|
|
InputRange,
|
|
InputNumber,
|
|
InputLabelWrapper,
|
|
InputMultiSelect,
|
|
InputText,
|
|
ImageScrollbar,
|
|
Label,
|
|
LayoutSelector,
|
|
LegacyCinePlayer,
|
|
LegacyViewportActionBar,
|
|
LoadingIndicatorProgress,
|
|
MeasurementTable,
|
|
Modal,
|
|
NavBar,
|
|
Notification,
|
|
Select,
|
|
SegmentationTable,
|
|
SegmentationGroupTable,
|
|
SidePanel,
|
|
SplitButton,
|
|
StudyBrowser,
|
|
StudyItem,
|
|
StudyListExpandedRow,
|
|
StudyListFilter,
|
|
StudyListPagination,
|
|
StudyListTable,
|
|
StudyListTableRow,
|
|
StudySummary,
|
|
Svg,
|
|
Table,
|
|
TableBody,
|
|
TableCell,
|
|
TableHead,
|
|
TableRow,
|
|
ThemeWrapper,
|
|
Thumbnail,
|
|
ThumbnailNoImage,
|
|
ThumbnailTracked,
|
|
ThumbnailList,
|
|
ToolbarButton,
|
|
ContextMenuMeasurements,
|
|
Tooltip,
|
|
TooltipClipboard,
|
|
Typography,
|
|
Viewport,
|
|
ViewportActionBar,
|
|
ViewportDownloadForm,
|
|
ViewportGrid,
|
|
ViewportPane,
|
|
ViewportOverlay,
|
|
WindowLevelMenuItem,
|
|
};
|