File tree Expand file tree Collapse file tree 5 files changed +39
-7
lines changed Expand file tree Collapse file tree 5 files changed +39
-7
lines changed Original file line number Diff line number Diff line change 11# Changelog  
2+ ## [ 31.1.2]  - 2025-07-10 
3+ -  Fix breadcrumbs layout bug
4+ ## [ 31.1.1]  - 2025-07-09 
5+ -  Slight changes to rollup bundle config
26## [ 31.1.0]  - 2025-07-07 
37-  Remove redundant Fragment
48## [ 31.1.0]  - 2025-07-07 
Original file line number Diff line number Diff line change 11{
22  "name" : " @linn-it/linn-form-components-library" 
3-   "version" : " 31.1.2-alpha " 
3+   "version" : " 31.1.2" 
44  "private" : false ,
55  "main" : " dist/index.cjs.js" 
66  "module" : " dist/index.esm.js" 
Original file line number Diff line number Diff line change 11import  React  from  'react' ; 
22import  Typography  from  '@mui/material/Typography' ; 
33import  Link  from  '@mui/material/Link' ; 
4- import  Box  from  '@mui/material/Box' ; 
54
65function  Breadcrumbs ( { 
76    navigate, 
@@ -40,7 +39,7 @@ function Breadcrumbs({
4039        } ,  [ ] ) ; 
4140
4241    return  ( 
43-         < Box  style = { {  marginLeft : '20px'  } } > 
42+         < span  style = { {  marginLeft : '20px'  } } > 
4443            < Link 
4544                key = "home" 
4645                href = { homeUrl } 
@@ -57,7 +56,7 @@ function Breadcrumbs({
5756            { crumbs . map ( ( crumb ,  index )  =>  { 
5857                if  ( index  <  crumbs . length  -  1 )  { 
5958                    return  ( 
60-                         < Box  key = { index } > 
59+                         < span  key = { index } > 
6160                            < Link 
6261                                key = { crumb . href } 
6362                                href = { crumb . href } 
@@ -72,7 +71,7 @@ function Breadcrumbs({
7271                                { crumb . caption } 
7372                            </ Link > 
7473                            < >  { ' / ' }  </ > 
75-                         </ Box > 
74+                         </ span > 
7675                    ) ; 
7776                } 
7877                return  ( 
@@ -81,7 +80,7 @@ function Breadcrumbs({
8180                    </ Typography > 
8281                ) ; 
8382            } ) } 
84-         </ Box > 
83+         </ span > 
8584    ) ; 
8685} 
8786
Original file line number Diff line number Diff line change 11import  React ,  {  useEffect  }  from  'react' ; 
22import  {  useSnackbar  }  from  'notistack' ; 
3- import  {  Paper ,   Typography  }  from  '@mui/material' ; 
3+ import  {  Paper  }  from  '@mui/material' ; 
44import  Grid  from  '@mui/material/Grid' ; 
55import  Breadcrumbs  from  './Breadcrumbs.js' ; 
66
Original file line number Diff line number Diff line change 1+ import  Page  from  '../components/Page' ; 
2+ 
3+ export  default  { 
4+     title : 'Page' , 
5+     component : Page , 
6+     tags : [ 'autodocs' ] , 
7+     argTypes : { 
8+         backgroundColor : {  control : 'color'  } 
9+     } , 
10+     args : { 
11+         children : < div  /> , 
12+         navigate : ( )  =>  { } , 
13+         location : {  pathname : 'a/test/path'  } , 
14+         width : 'l' , 
15+         requestErrors : [ ] , 
16+         showRequestErrors : false , 
17+         homeUrl : null , 
18+         showBreadcrumbs : true , 
19+         title : null , 
20+         defaultAppTitle : null 
21+     } 
22+ } ; 
23+ 
24+ export  const  Default  =  { 
25+     args : { 
26+         primary : true , 
27+         label : 'Page' 
28+     } 
29+ } ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments