@lunit/oui 2.2.24 → 2.2.26

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.
@@ -13,6 +13,7 @@ const FreeText = ({ componentType = 'freeText', size = 'medium', content, height
13
13
  backgroundColor: background ? theme.palette.neutralGrey[75] : 'transparent',
14
14
  height: height ? height : 'auto',
15
15
  display: 'flex',
16
+ overflowY: 'auto',
16
17
  }, children: _jsx(PresentationTypography, { size: size, sx: {
17
18
  display: 'block',
18
19
  whiteSpace: 'pre-wrap',
@@ -4,19 +4,19 @@ import theme from '../theme';
4
4
  export const PresentationTypography = (props) => {
5
5
  const { size, isDimmed, ...rest } = props;
6
6
  if (size === 'small-dimmed') {
7
- return (_jsx(Typography, { variant: "body_m2", ...rest, sx: { color: theme.palette.neutralGrey[40] } }));
7
+ return (_jsx(Typography, { variant: "body_m2", ...rest, style: { color: theme.palette.neutralGrey[40] } }));
8
8
  }
9
9
  if (size === 'small') {
10
- return (_jsx(Typography, { variant: "body8", ...rest, sx: { color: isDimmed ? theme.palette.neutralGrey[40] : 'inherit' } }));
10
+ return (_jsx(Typography, { variant: "body8", ...rest, style: { color: isDimmed ? theme.palette.neutralGrey[40] : 'inherit' } }));
11
11
  }
12
12
  if (size === 'small-bold') {
13
- return (_jsx(Typography, { variant: "body8", ...rest, sx: { fontWeight: 'bold', color: isDimmed ? theme.palette.neutralGrey[40] : 'inherit' } }));
13
+ return (_jsx(Typography, { variant: "body8", ...rest, style: { fontWeight: 'bold', color: isDimmed ? theme.palette.neutralGrey[40] : 'inherit' } }));
14
14
  }
15
15
  if (size === 'medium-bold') {
16
- return (_jsx(Typography, { variant: "body_b1", ...rest, sx: { color: isDimmed ? theme.palette.neutralGrey[40] : 'inherit' } }));
16
+ return (_jsx(Typography, { variant: "body_b1", ...rest, style: { color: isDimmed ? theme.palette.neutralGrey[40] : 'inherit' } }));
17
17
  }
18
18
  if (size === 'large-bold') {
19
- return (_jsx(Typography, { variant: "h9", ...rest, sx: { color: isDimmed ? theme.palette.neutralGrey[40] : 'inherit' } }));
19
+ return (_jsx(Typography, { variant: "h9", ...rest, style: { color: isDimmed ? theme.palette.neutralGrey[40] : 'inherit' } }));
20
20
  }
21
21
  // Fallback to medium size
22
22
  return (_jsx(Typography, { variant: "body5", ...rest, sx: { color: isDimmed ? theme.palette.neutralGrey[40] : 'inherit' } }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunit/oui",
3
- "version": "2.2.24",
3
+ "version": "2.2.26",
4
4
  "validate-branch-name": {
5
5
  "pattern": "^(main|develop)|(feature|fix|release|hotfix|qe)/.+$",
6
6
  "errorMsg": "The branch name is not correct. Please check the pattern. (ex. feature/add-something)"