groundfloor-react-ui 1.3.39 → 1.3.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -3178,7 +3178,7 @@ overflow: hidden;
|
|
|
3178
3178
|
${({isActive:e,headerStyle:t,activeHeaderStyle:l})=>e?l:t}
|
|
3179
3179
|
`,oa=m.div`
|
|
3180
3180
|
${({tabContentStyle:e})=>e}
|
|
3181
|
-
`,aa=({tabs:e,activeTab:l,setActiveTab:c,tabWrapperStyle:i,headerWrapperStyle:o,headerStyle:a,dividerProps:r,tabContentStyle:n,extraContent:s,activeHeaderStyle:d,iconProps:p})=>{const m=b()||R;return t.createElement(la,{tabWrapperStyle:i},t.createElement(ca,{theme:m,headerWrapperStyle:o},e.map(((e,i)=>t.createElement(ia,{id:"tab-"+i,theme:m,onClick:()=>c(i),active:i===l,key:e?.title+i,isActive:i===l,headerStyle:a,activeHeaderStyle:d},t.createElement("span",{style:{display:"flex",alignItems:"center",gap:e.icon&&e.title?"8px":"0px"}}," ",e.icon&&t.createElement(_,L({icon:e.icon},
|
|
3181
|
+
`,aa=({tabs:e,activeTab:l,setActiveTab:c,tabWrapperStyle:i,headerWrapperStyle:o,headerStyle:a,dividerProps:r,tabContentStyle:n,extraContent:s,activeHeaderStyle:d,iconProps:p})=>{const m=b()||R;return t.createElement(la,{tabWrapperStyle:i},t.createElement(ca,{theme:m,headerWrapperStyle:o},e.map(((e,i)=>t.createElement(ia,{id:"tab-"+i,theme:m,onClick:()=>c(i),active:i===l,key:e?.title+i,isActive:i===l,headerStyle:a,activeHeaderStyle:d},t.createElement("span",{style:{display:"flex",alignItems:"center",gap:e.icon&&e.title?"8px":"0px"}}," ",e.icon&&t.createElement(_,L({icon:e.icon,color:i===l?d.color:a.color},e?.iconProps)),e.title&&e.title)))),s),t.createElement(Fc,r),e.map(((e,c)=>c===l&&t.createElement(oa,{tabContentStyle:n,key:c},e.content))))};aa.propTypes={tabs:e.array,tabWrapperStyle:e.object,headerWrapperStyle:e.object,headerStyle:e.object,dividerProps:e.object,tabContentStyle:e.object,activeTab:e.number,setActiveTab:e.func,activeHeaderStyle:e.object,iconProps:e.object},aa.defaultProps={tabs:[],activeTab:0,tabWrapperStyle:{},headerStyle:{backgroundColor:"transparent",color:R.variant["primary-2"],fontWeight:"normal"},tabContentStyle:{},headerWrapperStyle:{},dividerProps:{},activeHeaderStyle:{color:R.variant["primary-1"],backgroundColor:T("#2A50FD",.05),fontWeight:"bold"},iconProps:{}};const ra=m.div`
|
|
3182
3182
|
.notification {
|
|
3183
3183
|
background: ${({theme:e})=>e.additional.white};
|
|
3184
3184
|
transition: 0.3s ease;
|
package/dist/index.js
CHANGED
|
@@ -3178,7 +3178,7 @@ overflow: hidden;
|
|
|
3178
3178
|
${({isActive:e,headerStyle:t,activeHeaderStyle:l})=>e?l:t}
|
|
3179
3179
|
`,Kr=h.default.div`
|
|
3180
3180
|
${({tabContentStyle:e})=>e}
|
|
3181
|
-
`,$r=({tabs:e,activeTab:t,setActiveTab:a,tabWrapperStyle:o,headerWrapperStyle:r,headerStyle:c,dividerProps:i,tabContentStyle:n,extraContent:d,activeHeaderStyle:s,iconProps:p})=>{const u=l.useTheme()||I;return g.default.createElement(Yr,{tabWrapperStyle:o},g.default.createElement(Nr,{theme:u,headerWrapperStyle:r},e.map(((e,l)=>g.default.createElement(Qr,{id:"tab-"+l,theme:u,onClick:()=>a(l),active:l===t,key:e?.title+l,isActive:l===t,headerStyle:c,activeHeaderStyle:s},g.default.createElement("span",{style:{display:"flex",alignItems:"center",gap:e.icon&&e.title?"8px":"0px"}}," ",e.icon&&g.default.createElement(Q,E({icon:e.icon},
|
|
3181
|
+
`,$r=({tabs:e,activeTab:t,setActiveTab:a,tabWrapperStyle:o,headerWrapperStyle:r,headerStyle:c,dividerProps:i,tabContentStyle:n,extraContent:d,activeHeaderStyle:s,iconProps:p})=>{const u=l.useTheme()||I;return g.default.createElement(Yr,{tabWrapperStyle:o},g.default.createElement(Nr,{theme:u,headerWrapperStyle:r},e.map(((e,l)=>g.default.createElement(Qr,{id:"tab-"+l,theme:u,onClick:()=>a(l),active:l===t,key:e?.title+l,isActive:l===t,headerStyle:c,activeHeaderStyle:s},g.default.createElement("span",{style:{display:"flex",alignItems:"center",gap:e.icon&&e.title?"8px":"0px"}}," ",e.icon&&g.default.createElement(Q,E({icon:e.icon,color:l===t?s.color:c.color},e?.iconProps)),e.title&&e.title)))),d),g.default.createElement(Pa,i),e.map(((e,l)=>l===t&&g.default.createElement(Kr,{tabContentStyle:n,key:l},e.content))))};$r.propTypes={tabs:b.default.array,tabWrapperStyle:b.default.object,headerWrapperStyle:b.default.object,headerStyle:b.default.object,dividerProps:b.default.object,tabContentStyle:b.default.object,activeTab:b.default.number,setActiveTab:b.default.func,activeHeaderStyle:b.default.object,iconProps:b.default.object},$r.defaultProps={tabs:[],activeTab:0,tabWrapperStyle:{},headerStyle:{backgroundColor:"transparent",color:I.variant["primary-2"],fontWeight:"normal"},tabContentStyle:{},headerWrapperStyle:{},dividerProps:{},activeHeaderStyle:{color:I.variant["primary-1"],backgroundColor:R("#2A50FD",.05),fontWeight:"bold"},iconProps:{}};const _r=h.default.div`
|
|
3182
3182
|
.notification {
|
|
3183
3183
|
background: ${({theme:e})=>e.additional.white};
|
|
3184
3184
|
transition: 0.3s ease;
|