diff --git a/addOns/externals/devDependencies/package.json b/addOns/externals/devDependencies/package.json index 8152270a1..c490c3936 100644 --- a/addOns/externals/devDependencies/package.json +++ b/addOns/externals/devDependencies/package.json @@ -72,7 +72,7 @@ "prettier-plugin-tailwindcss": "^0.5.4", "react-refresh": "^0.14.2", "semver": "^7.5.1", - "serve": "^14.2.0", + "serve": "^14.2.4", "shader-loader": "^1.3.1", "shx": "^0.3.3", "source-map-loader": "^4.0.1", diff --git a/extensions/cornerstone-dynamic-volume/src/panels/PanelGenerateImage.tsx b/extensions/cornerstone-dynamic-volume/src/panels/PanelGenerateImage.tsx index 4b5a93eb7..7d10a0936 100644 --- a/extensions/cornerstone-dynamic-volume/src/panels/PanelGenerateImage.tsx +++ b/extensions/cornerstone-dynamic-volume/src/panels/PanelGenerateImage.tsx @@ -218,10 +218,6 @@ export default function PanelGenerateImage({ servicesManager, commandsManager }: setTimePointsRangeToUseForGenerate(newValues); } - if (!dynamicVolume || timePointsRange.length === 0) { - return null; - } - return ( ; @@ -481,6 +482,23 @@ export const Icons = { ViewportViews, ChevronClosed, ChevronOpen, + ChevronRight: (props: IconProps) => { + return ( + + ); + }, + ChevronLeft, + ChevronDown: (props: IconProps) => { + return ( + + ); + }, Alert, AlertOutline, NotificationInfo, @@ -495,20 +513,13 @@ export const Icons = { Link, LoadingOHIFMark, ArrowLeft: ChevronClosed, - ArrowRight: (props: IconProps) => { - return ( - - ); - }, + ArrowRight, ArrowLeftBold, ArrowRightBold: (props: IconProps) => { return ( ); }, @@ -516,7 +527,7 @@ export const Icons = { return ( ); }, @@ -675,6 +686,9 @@ export const Icons = { pencil: (props: IconProps) => Pencil(props), 'icon-list-view': (props: IconProps) => ListView(props), 'chevron-menu': 'chevron-down', + 'icon-status-alert': (props: IconProps) => Alert(props), + 'info-link': (props: IconProps) => InfoLink(props), + 'launch-info': (props: IconProps) => LaunchInfo(props), clipboard: (props: IconProps) => Clipboard(props), /** Adds an icon to the set of icons */ diff --git a/platform/ui-next/src/components/Icons/Sources/ArrowRight.tsx b/platform/ui-next/src/components/Icons/Sources/ArrowRight.tsx new file mode 100644 index 000000000..526d093a0 --- /dev/null +++ b/platform/ui-next/src/components/Icons/Sources/ArrowRight.tsx @@ -0,0 +1,25 @@ +import React from 'react'; +import type { IconProps } from '../types'; + +export const ArrowLeftBold = (props: IconProps) => ( + + + + + + +); + +export default ArrowLeftBold; diff --git a/platform/ui-next/src/components/Icons/Sources/ChevronLeft.tsx b/platform/ui-next/src/components/Icons/Sources/ChevronLeft.tsx new file mode 100644 index 000000000..6ec6843d4 --- /dev/null +++ b/platform/ui-next/src/components/Icons/Sources/ChevronLeft.tsx @@ -0,0 +1,28 @@ +import React from 'react'; +import type { IconProps } from '../types'; + +export const ChevronLeft = (props: IconProps) => ( + + + + + + +); + +export default ChevronLeft; diff --git a/platform/ui-next/src/components/Icons/Sources/LaunchInfo.tsx b/platform/ui-next/src/components/Icons/Sources/LaunchInfo.tsx index 09aaec710..69a063227 100644 --- a/platform/ui-next/src/components/Icons/Sources/LaunchInfo.tsx +++ b/platform/ui-next/src/components/Icons/Sources/LaunchInfo.tsx @@ -6,6 +6,7 @@ export const LaunchInfo = (props: IconProps) => ( xmlns="http://www.w3.org/2000/svg" width="20" height="20" + {...props} viewBox="0 0 21 22" > diff --git a/platform/ui-next/src/components/Icons/Sources/StatusTracking.tsx b/platform/ui-next/src/components/Icons/Sources/StatusTracking.tsx index 615863d55..5626e1b2f 100644 --- a/platform/ui-next/src/components/Icons/Sources/StatusTracking.tsx +++ b/platform/ui-next/src/components/Icons/Sources/StatusTracking.tsx @@ -3,48 +3,33 @@ import type { IconProps } from '../types'; export const StatusTracking = (props: IconProps) => ( - status-tracking - - - - - + + + ); diff --git a/platform/ui/src/components/CinePlayer/CinePlayer.tsx b/platform/ui/src/components/CinePlayer/CinePlayer.tsx index 23c0c72c3..f317b5c12 100644 --- a/platform/ui/src/components/CinePlayer/CinePlayer.tsx +++ b/platform/ui/src/components/CinePlayer/CinePlayer.tsx @@ -120,7 +120,7 @@ const CinePlayer: React.FC = ({ onClick={() => handleSetFrameRate(frameRate - 1)} data-cy={'cine-player-left-arrow'} > - + = ({ onClick={() => handleSetFrameRate(frameRate + 1)} data-cy={'cine-player-right-arrow'} > - + decrement()} > - + )} increment()} > - + )} {showAdjustmentArrows && arrowsDirection === 'vertical' && ( diff --git a/platform/ui/src/components/ProgressDropdown/ProgressDropdown.tsx b/platform/ui/src/components/ProgressDropdown/ProgressDropdown.tsx index 71ec5360f..7252ff704 100644 --- a/platform/ui/src/components/ProgressDropdown/ProgressDropdown.tsx +++ b/platform/ui/src/components/ProgressDropdown/ProgressDropdown.tsx @@ -108,7 +108,7 @@ const ProgressDropdown = ({ {!selectedOption &&
{children}
} - +