File tree Expand file tree Collapse file tree 3 files changed +373
-125
lines changed
Expand file tree Collapse file tree 3 files changed +373
-125
lines changed Original file line number Diff line number Diff line change 3737 },
3838 "devDependencies" : {
3939 "@patternfly/documentation-framework" : " ^6.0.0-alpha.106" ,
40- "@patternfly/patternfly-a11y" : " 4.3.1 "
40+ "@patternfly/patternfly-a11y" : " 5.0.0 "
4141 },
4242 "keywords" : [
4343 " gatsby"
Original file line number Diff line number Diff line change @@ -33,6 +33,11 @@ const urls = Object.keys(fullscreenRoutes)
3333 ) {
3434 return path . replace ( / \/ r e a c t - d e m o s $ / , '' ) ;
3535 }
36+ // some components have their default tab as trailing 'react-deprecated'
37+ } else if ( path . match ( / \/ c o m p o n e n t s \/ .* \/ r e a c t - d e p r e c a t e d $ / g) ) {
38+ if ( path . includes ( '/tile/' ) || path . includes ( '/chip/' ) ) {
39+ return path . replace ( / \/ r e a c t - d e p r e c a t e d $ / , '' ) ;
40+ }
3641 }
3742 // all other pages in the components section have a trailing 'react' string in their default tab
3843 return path . replace ( / \/ r e a c t $ / , '' ) ;
You can’t perform that action at this time.
0 commit comments