@@ -28,13 +28,13 @@ import {
2828 WithDragNodeProps ,
2929 WithSelectionProps
3030} from '@patternfly/react-topology' ;
31- import DefaultIcon from '@patternfly/react-icons/dist/esm/icons/builder-image -icon' ;
32- import AlternateIcon from '@patternfly/react-icons/dist/esm/icons/regions-icon' ;
33- import FolderOpenIcon from '@patternfly/react-icons/dist/esm/icons/folder-open-icon' ;
34- import BlueprintIcon from '@patternfly/react-icons/dist/esm/icons/blueprint-icon' ;
35- import PauseCircle from '@patternfly/react-icons/dist/esm/icons/pause-circle-icon' ;
36- import Thumbtack from '@patternfly/react-icons/dist/esm/icons/thumbtack-icon' ;
37- import SignOutAltIcon from '@patternfly/react-icons/dist/esm/icons/skull -icon' ;
31+ import RhUiCubesIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-cubes -icon' ;
32+ import RhUiRegionsIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui- regions-icon' ;
33+ import RhUiFolderOpenIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui- folder-open-icon' ;
34+ import RhUiBlueprintIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui- blueprint-icon' ;
35+ import RhUiPauseCircleIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui- pause-circle-fill -icon' ;
36+ import RhUiThumbtackIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui- thumbtack-fill -icon' ;
37+ import RhUiExperimentalIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-experimental -icon' ;
3838import { SVGIconProps } from '@patternfly/react-icons/dist/esm/createIcon' ;
3939import { DataTypes , GeneratedNodeData , GeneratorNodeOptions } from './generator' ;
4040import { DemoContext } from './DemoContext' ;
@@ -59,9 +59,9 @@ type DemoNodeProps = {
5959const getTypeIcon = ( dataType ?: DataTypes ) : any => {
6060 switch ( dataType ) {
6161 case DataTypes . Alternate :
62- return AlternateIcon ;
62+ return RhUiRegionsIcon ;
6363 default :
64- return DefaultIcon ;
64+ return RhUiCubesIcon ;
6565 }
6666} ;
6767
@@ -115,11 +115,11 @@ const renderDecorators = (
115115 return (
116116 < >
117117 { ! options . showStatus || data . status === NodeStatus . default
118- ? renderDecorator ( element , TopologyQuadrant . upperLeft , < FolderOpenIcon /> , getShapeDecoratorCenter )
118+ ? renderDecorator ( element , TopologyQuadrant . upperLeft , < RhUiFolderOpenIcon /> , getShapeDecoratorCenter )
119119 : null }
120- { renderDecorator ( element , TopologyQuadrant . upperRight , < BlueprintIcon /> , getShapeDecoratorCenter ) }
121- { renderDecorator ( element , TopologyQuadrant . lowerLeft , < PauseCircle /> , getShapeDecoratorCenter ) }
122- { renderDecorator ( element , TopologyQuadrant . lowerRight , < Thumbtack /> , getShapeDecoratorCenter ) }
120+ { renderDecorator ( element , TopologyQuadrant . upperRight , < RhUiBlueprintIcon /> , getShapeDecoratorCenter ) }
121+ { renderDecorator ( element , TopologyQuadrant . lowerLeft , < RhUiPauseCircleIcon /> , getShapeDecoratorCenter ) }
122+ { renderDecorator ( element , TopologyQuadrant . lowerRight , < RhUiThumbtackIcon /> , getShapeDecoratorCenter ) }
123123 </ >
124124 ) ;
125125} ;
@@ -162,7 +162,7 @@ const DemoNode: React.FunctionComponent<DemoNodeProps> = observer(
162162 } , [ detailsLevel , onHideCreateConnector ] ) ;
163163
164164 const labelIconClass = data . index % 2 === 0 && logos . get ( 'icon-java' ) ;
165- const LabelIcon = data . index % 2 === 1 ? ( SignOutAltIcon as any ) : undefined ;
165+ const LabelIcon = data . index % 2 === 1 ? ( RhUiExperimentalIcon as any ) : undefined ;
166166
167167 return (
168168 < Layer id = { focused ? TOP_LAYER : DEFAULT_LAYER } >
0 commit comments