@moderneinc/neo-styled-components 2.0.3-next.ba615c → 2.0.3-next.db03d1

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.js CHANGED
@@ -4828,19 +4828,7 @@ function NeoPageContent({ pageTitle, subtitle, breadcrumbs, action, sticky = fal
4828
4828
  pb: `${neoDesign.spacing.spacing_2_1_2}px`,
4829
4829
  height: '100%',
4830
4830
  overflow: 'auto',
4831
- }, children: [sticky ? (jsxRuntime.jsx(StickyHeader, { ref: headerRef, sx: {
4832
- pt: `${neoDesign.spacing.spacing_2}px`,
4833
- ...(contentMaxWidth !== false && {
4834
- maxWidth: theme => theme.breakpoints.values[contentMaxWidth],
4835
- width: '100%',
4836
- }),
4837
- }, children: headerContent })) : (jsxRuntime.jsx(Box, { ref: headerRef, sx: {
4838
- mb: `${neoDesign.spacing.spacing_1}px`,
4839
- ...(contentMaxWidth !== false && {
4840
- maxWidth: theme => theme.breakpoints.values[contentMaxWidth],
4841
- width: '100%',
4842
- }),
4843
- }, children: headerContent })), jsxRuntime.jsx(Box, { sx: {
4831
+ }, children: [sticky ? (jsxRuntime.jsx(StickyHeader, { ref: headerRef, sx: { pt: `${neoDesign.spacing.spacing_2}px` }, children: headerContent })) : (jsxRuntime.jsx(Box, { ref: headerRef, sx: { mb: `${neoDesign.spacing.spacing_1}px` }, children: headerContent })), jsxRuntime.jsx(Box, { sx: {
4844
4832
  flexGrow: 1,
4845
4833
  minHeight: 0,
4846
4834
  display: 'flex',