@team-monolith/cds 1.73.1 → 1.74.0

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.
@@ -27,6 +27,7 @@ export const AlertDialog = React.forwardRef(function AlertDialog(props, ref) {
27
27
  zIndex: ZINDEX.ALERT,
28
28
  } }, other, { children: _jsxs(Component, Object.assign({ className: className, css: css `
29
29
  width: 480px;
30
+ max-height: calc(100% - 48px);
30
31
  background: ${theme.color.background.neutralBase};
31
32
  box-shadow: ${shadows.shadow04};
32
33
  border-radius: 16px;
@@ -38,6 +39,7 @@ export const AlertDialog = React.forwardRef(function AlertDialog(props, ref) {
38
39
  box-sizing: border-box;
39
40
 
40
41
  display: grid;
42
+ grid-template-rows: auto 1fr auto;
41
43
  ${icon
42
44
  ? css `
43
45
  grid-template-columns: 32px 1fr;
@@ -13,7 +13,7 @@ import { jsx as _jsx } from "@emotion/react/jsx-runtime";
13
13
  /** @jsxImportSource @emotion/react */
14
14
  import { css, useTheme } from "@emotion/react";
15
15
  import React from "react";
16
- export const AlertDialogContent = React.forwardRef((props, ref) => {
16
+ export const AlertDialogContent = React.forwardRef(function AlertDialogContent(props, ref) {
17
17
  const { className, component: Component = "div", children } = props, other = __rest(props, ["className", "component", "children"]);
18
18
  const theme = useTheme();
19
19
  return (_jsx(Component, Object.assign({}, other, { ref: ref, className: className, css: css `
@@ -23,5 +23,6 @@ export const AlertDialogContent = React.forwardRef((props, ref) => {
23
23
  font-size: 18px;
24
24
  line-height: 28px;
25
25
  color: ${theme.color.foreground.neutralBase};
26
+ overflow-y: auto;
26
27
  ` }, { children: children })));
27
28
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team-monolith/cds",
3
- "version": "1.73.1",
3
+ "version": "1.74.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "sideEffects": false,