@stack-spot/portal-layout 2.38.0 → 2.38.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.38.1](https://github.com/stack-spot/portal-commons/compare/portal-layout@v2.38.0...portal-layout@v2.38.1) (2025-11-17)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * 1968 notification panel height ([#1804](https://github.com/stack-spot/portal-commons/issues/1804)) ([c1e1937](https://github.com/stack-spot/portal-commons/commit/c1e1937ecbb472ad4b03215751e5cfa8ec22cea8))
9
+
3
10
  ## [2.38.0](https://github.com/stack-spot/portal-commons/compare/portal-layout@v2.37.1...portal-layout@v2.38.0) (2025-11-10)
4
11
 
5
12
 
@@ -8,7 +8,7 @@ import { NotificationPanelFooter } from './NotificationsPanelFooter.js';
8
8
  import { StyledBackdrop } from './styled.js';
9
9
  export const NotificationPanel = ({ filter, onFilter, loading, error, visible, onClose, ...props }) => {
10
10
  const controller = useNotificationController();
11
- return (_jsx(StyledBackdrop, { visible: visible, onClose: onClose, persistent: true, children: _jsx(AnimatedHeight, { className: "notification-panel", visible: visible, header: _jsx(NotificationPanelHeader, { filter: filter, onChangeFilter: onFilter, onClose: onClose }), footer: _jsx(NotificationPanelFooter, { onClose: onClose }), children: _jsx(ScrollView, { direction: "vertical", style: { maxHeight: 'calc(100vh - 200px)' }, children: error ? _jsx(ErrorFeedback, { code: error.code, direction: "column" }) : _jsx(NotificationList, { ...props, compact: true, loading: loading, onCommit: id => controller.markAsCommitted(id), onClickViewNotification: () => {
11
+ return (_jsx(StyledBackdrop, { visible: visible, onClose: onClose, persistent: true, children: _jsx(AnimatedHeight, { className: "notification-panel", visible: visible, header: _jsx(NotificationPanelHeader, { filter: filter, onChangeFilter: onFilter, onClose: onClose }), footer: _jsx(NotificationPanelFooter, { onClose: onClose }), children: _jsx(ScrollView, { direction: "vertical", style: { maxHeight: 'calc(100vh - 300px)' }, children: error ? _jsx(ErrorFeedback, { code: error.code, direction: "column" }) : _jsx(NotificationList, { ...props, compact: true, loading: loading, onCommit: id => controller.markAsCommitted(id), onClickViewNotification: () => {
12
12
  onClose();
13
13
  controller.config.onClickViewNotification?.();
14
14
  }, onClickAction: (id) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stack-spot/portal-layout",
3
- "version": "2.38.0",
3
+ "version": "2.38.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -15,7 +15,7 @@
15
15
  "@citric/ui": "^6.10.1",
16
16
  "@stack-spot/portal-theme": "^1.1.1",
17
17
  "@stack-spot/portal-translate": "~2.1.0",
18
- "@stack-spot/portal-components": "^2.25.9",
18
+ "@stack-spot/portal-components": "^2.27.5",
19
19
  "react": "^18.2.0",
20
20
  "react-dom": "^18.2.0",
21
21
  "styled-components": "^6.1.10"
@@ -17,7 +17,7 @@ export const NotificationPanel = ({ filter, onFilter, loading, error, visible, o
17
17
  header={<NotificationPanelHeader filter={filter} onChangeFilter={onFilter} onClose={onClose} />}
18
18
  footer={<NotificationPanelFooter onClose={onClose} />}
19
19
  >
20
- <ScrollView direction="vertical" style={{ maxHeight: 'calc(100vh - 200px)' }}>
20
+ <ScrollView direction="vertical" style={{ maxHeight: 'calc(100vh - 300px)' }}>
21
21
  {error ? <ErrorFeedback code={error.code} direction="column" /> : <NotificationList
22
22
  {...props}
23
23
  compact