@@ -24,7 +24,6 @@ pub enum Component {
2424 Button ,
2525 Card ,
2626 Clipboard ,
27- Chip ,
2827 CodeBlock ,
2928 Date ( Date ) ,
3029 DescriptionList ,
@@ -144,7 +143,6 @@ fn switch_app_route(target: AppRoute) -> Html {
144143 Component :: Breadcrumb => html ! { <components:: BreadcrumbExample />} ,
145144 Component :: Button => html ! { <components:: ButtonExample />} ,
146145 Component :: Card => html ! { <components:: CardExample />} ,
147- Component :: Chip => html ! { <components:: ChipExample />} ,
148146 Component :: Clipboard => html ! { <components:: ClipboardExample />} ,
149147 Component :: CodeBlock => html ! { <components:: CodeBlockExample />} ,
150148 Component :: Date ( Date :: Calendar ) => html ! { <components:: CalendarExample />} ,
@@ -268,7 +266,7 @@ fn page(props: &PageProps) -> Html {
268266 <NavRouterItem <AppRoute > to={ AppRoute :: Counter } >{ "Counter" } </NavRouterItem <AppRoute >>
269267 <NavRouterItem <AppRoute > to={ AppRoute :: Icons } >{ "Icons" } </NavRouterItem <AppRoute >>
270268 <NavRouterItem <AppRoute > to={ AppRoute :: Panic } >{ "Panic" } </NavRouterItem <AppRoute >>
271- <NavLink href="https://github.com/patternfly-yew/patternfly-yew" target="_blank" >{ "PatternFly Yew " } { Icon :: ExternalLinkAlt . with_classes( classes!( "pf-v5 -u-ml-sm" , "pf-v5 -u-color-200" ) ) } </NavLink >
269+ <NavLink href="https://github.com/patternfly-yew/patternfly-yew" target="_blank" >{ "PatternFly Yew " } { Icon :: ExternalLinkAlt . with_classes( classes!( "pf-v6 -u-ml-sm" , "pf-v6 -u-color-200" ) ) } </NavLink >
272270 </NavExpandable >
273271 <NavExpandable title="Components" >
274272 <NavRouterItem <AppRoute > to={ AppRoute :: Component ( Component :: Accordion ) } >{ "Accordion" } </NavRouterItem <AppRoute >>
@@ -280,7 +278,6 @@ fn page(props: &PageProps) -> Html {
280278 <NavRouterItem <AppRoute > to={ AppRoute :: Component ( Component :: Breadcrumb ) } >{ "Breadcrumb" } </NavRouterItem <AppRoute >>
281279 <NavRouterItem <AppRoute > to={ AppRoute :: Component ( Component :: Button ) } >{ "Button" } </NavRouterItem <AppRoute >>
282280 <NavRouterItem <AppRoute > to={ AppRoute :: Component ( Component :: Card ) } >{ "Card" } </NavRouterItem <AppRoute >>
283- <NavRouterItem <AppRoute > to={ AppRoute :: Component ( Component :: Chip ) } >{ "Chip" } </NavRouterItem <AppRoute >>
284281 <NavRouterItem <AppRoute > to={ AppRoute :: Component ( Component :: Clipboard ) } >{ "Clipboard" } </NavRouterItem <AppRoute >>
285282 <NavRouterItem <AppRoute > to={ AppRoute :: Component ( Component :: CodeBlock ) } >{ "Code Block" } </NavRouterItem <AppRoute >>
286283 <NavExpandable title="Date" >
@@ -348,7 +345,9 @@ fn page(props: &PageProps) -> Html {
348345
349346 let brand = html ! (
350347 <MastheadBrand >
351- <Brand src="assets/images/pf-logo.svg" alt="Patternfly Logo" style="--pf-v5-c-brand--Height: 36px;" />
348+ <div className="show-light" >
349+ <Brand src="/images/pf-logo.svg" alt="Patternfly Logo" style="--pf-v6-c-brand--Height: 36px;" />
350+ </div>
352351 </MastheadBrand >
353352 ) ;
354353
@@ -377,7 +376,7 @@ fn page(props: &PageProps) -> Html {
377376
378377 // apply dark mode
379378 use_effect_with ( * darkmode, |state| match state {
380- true => gloo_utils:: document_element ( ) . set_class_name ( "pf-v5 -theme-dark" ) ,
379+ true => gloo_utils:: document_element ( ) . set_class_name ( "pf-v6 -theme-dark" ) ,
381380 false => gloo_utils:: document_element ( ) . set_class_name ( "" ) ,
382381 } ) ;
383382
@@ -388,7 +387,7 @@ fn page(props: &PageProps) -> Html {
388387 <Toolbar full_height=true >
389388 <ToolbarContent >
390389 <ToolbarGroup
391- modifiers={ ToolbarElementModifier :: Right . all( ) }
390+ modifiers={ ToolbarElementModifier :: End . all( ) }
392391 variant={ GroupVariant :: IconButton }
393392 >
394393 <ToolbarItem >
0 commit comments