groundfloor-react-ui 1.3.34 → 1.3.35
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 +183 -183
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3081,7 +3081,7 @@ ${({theme:e,type:t,customStyles:l})=>{if(e){let a={};if(e[t]){for(const t in e.c
|
|
|
3081
3081
|
margin: 0;
|
|
3082
3082
|
}
|
|
3083
3083
|
`,Br=h.default.div`
|
|
3084
|
-
background-color: ${({theme:e})=>e.variant["primary-1"]} !important;
|
|
3084
|
+
background-color: ${({theme:e,containerBackgroundColorDynamic:t,containerBackgroundColor:l})=>t?l:e.variant["primary-1"]} !important;
|
|
3085
3085
|
color: ${({theme:e})=>e.additional.white};
|
|
3086
3086
|
overflow-y: hidden;
|
|
3087
3087
|
overflow-x: hidden;
|
|
@@ -3108,7 +3108,7 @@ ${({forceOpen:e,inBuiltCss:t,customStylesPusherOpen:l,customStylesPusherClose:a}
|
|
|
3108
3108
|
@media (max-width: 980px) {
|
|
3109
3109
|
${({inBuiltCss:e,type:t,customStylesPusherMobile:l})=>({...W(e,"sidebar-pusher-mobile"),...l})}
|
|
3110
3110
|
}
|
|
3111
|
-
`,zr=({customStylesContainer:e,customStylesContainerOpen:t,customStylesContainerClose:a,customStylesContainerMobileOpen:o,customStylesContainerMobileClose:r,customStylesPusher:c,customStylesPusherOpen:i,customStylesPusherClose:n,customStylesPusherMobile:d,forceOpen:s,forceClose:p,handleSidebar:u,toggleSideBarOpen:f,pinner:m,...
|
|
3111
|
+
`,zr=({customStylesContainer:e,customStylesContainerOpen:t,customStylesContainerClose:a,customStylesContainerMobileOpen:o,customStylesContainerMobileClose:r,customStylesPusher:c,customStylesPusherOpen:i,customStylesPusherClose:n,customStylesPusherMobile:d,forceOpen:s,forceClose:p,handleSidebar:u,toggleSideBarOpen:f,pinner:m,containerBackgroundColor:b,containerBackgroundColorDynamic:h,...y})=>{function C(e){u(e)}const x=l.useTheme()||I;return g.default.createElement(Br,E({theme:x,containerBackgroundColor:b,containerBackgroundColorDynamic:h,inBuiltCss:P,customStyles:e,onMouseEnter:()=>{s||C(!0)},onClick:()=>!f&&C(!0),onMouseLeave:()=>{C(!1),p()},forceOpen:s,isOpen:f},y),g.default.createElement(Lr,null),y.children,m)};zr.propTypes={customStylesContainer:b.default.object,customStylesContainerOpen:b.default.object,customStylesContainerClose:b.default.object,customStylesContainerMobileOpen:b.default.object,customStylesContainerMobileClose:b.default.object,customStylesPusher:b.default.object,customStylesPusherOpen:b.default.object,customStylesPusherClose:b.default.object,customStylesPusherMobile:b.default.object,forceOpen:b.default.bool,forceClose:b.default.func,handleSidebar:b.default.func,toggleSideBarOpen:b.default.bool,pinner:b.default.any},zr.defaultProps={forceClose:()=>{},forceOpen:!1,containerBackgroundColor:"#2A50FD",containerBackgroundColorDynamic:!1};const Hr={sm:{fontSize:"14px",padding:"11px 36px"},md:{fontSize:"16px",padding:"10px 24px"},lg:{fontSize:"22px",padding:"6px 29px"}},Ir=h.default.div`
|
|
3112
3112
|
background: ${({theme:e,variant:t})=>e.variant[t]};
|
|
3113
3113
|
color: ${({theme:e})=>e.additional.white};
|
|
3114
3114
|
padding: ${({size:e})=>Hr[e].padding};
|