@wallarm-org/design-system 1.23.0 → 1.23.1
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.
|
@@ -8,7 +8,7 @@ const PageContent = ({ ref, children, className, ...props })=>{
|
|
|
8
8
|
ref: ref,
|
|
9
9
|
"data-testid": testId,
|
|
10
10
|
"data-slot": "page-content",
|
|
11
|
-
className: cn('flex-1 min-h-0 overflow-auto px-
|
|
11
|
+
className: cn('flex-1 min-h-0 overflow-auto px-16 pt-8 pb-24', className),
|
|
12
12
|
children: children
|
|
13
13
|
});
|
|
14
14
|
};
|
|
@@ -8,7 +8,7 @@ const PageHeader = ({ ref, sticky, children, className, ...props })=>{
|
|
|
8
8
|
ref: ref,
|
|
9
9
|
"data-testid": testId,
|
|
10
10
|
"data-slot": "page-header",
|
|
11
|
-
className: cn('flex items-center px-
|
|
11
|
+
className: cn('flex items-center px-16 py-8 gap-12', sticky && 'sticky top-0 z-10 bg-bg-surface-2', className),
|
|
12
12
|
children: children
|
|
13
13
|
});
|
|
14
14
|
};
|
|
@@ -112,7 +112,7 @@ const RemoteShell = ({ ref, className, children, config, basePath, onNavigate, '
|
|
|
112
112
|
ref: ref,
|
|
113
113
|
"data-slot": "remote-shell",
|
|
114
114
|
"data-testid": testId,
|
|
115
|
-
className: cn('grid h-full overflow-hidden overscroll-none [grid-template-areas:"panel_breadcrumb""panel_content"] [grid-template-columns:auto_1fr] [grid-template-rows:auto_1fr]', className),
|
|
115
|
+
className: cn('grid h-full overflow-hidden overscroll-none [grid-template-areas:"panel_breadcrumb""panel_content"] [grid-template-columns:auto_1fr] [grid-template-rows:auto_1fr]', '[&:has([data-slot=page-header])_[data-slot=remote-shell-breadcrumb]]:pb-4', '[&:has([data-slot=remote-shell-breadcrumb])_[data-slot=page-header]]:pt-4', className),
|
|
116
116
|
children: children
|
|
117
117
|
})
|
|
118
118
|
})
|