@lunit/oui 2.4.14 → 2.4.16

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.
@@ -11,7 +11,7 @@ const TabbedPanel = ({ tabs, size = 'medium', buttonVariant = 'normal', activate
11
11
  };
12
12
  // If prop is not explicitly set, use standard when there is only one tab
13
13
  // This means by default, it will left-align when there is only one tab.
14
- const menuVariantSetting = !menuVariant || tabs.length < 2 ? 'standard' : menuVariant;
14
+ const menuVariantSetting = menuVariant || tabs.length < 2 ? 'standard' : 'fullWidth';
15
15
  return (_jsx(Box, { children: _jsxs(TabContext, { value: activatedTab, children: [_jsx(BaseTabMenu, { size: size, value: activatedTab, onChange: handleChange, variant: menuVariantSetting, buttonVariant: buttonVariant, TabIndicatorProps: { sx: { display: 'none' } }, ...TabsProps, children: tabs.map((t) => (_jsx(BaseTab, { buttonVariant: buttonVariant, size: size, disabled: t.disabled, disableTouchRipple: true, disableRipple: true, label: _jsx(Typography, { variant: "body_sb1", children: t.value }), value: t.value, ...TabProps }, t.value))) }), tabs.map((t) => (_jsx(BaseTabPanel, { value: t.value, ...TabPanelProps, children: t.element }, t.value)))] }) }));
16
16
  };
17
17
  export default TabbedPanel;
@@ -82,6 +82,7 @@ const UploadManager = ({ title, subTitle, files, onClose, onCancel, onRetry, })
82
82
  position: 'absolute',
83
83
  bottom: '20px',
84
84
  right: '20px',
85
+ zIndex: 10,
85
86
  }, children: _jsxs(StyledPaper, { elevation: 1, children: [_jsxs(StyledToolbar, { children: [_jsx(Typography, { variant: "h9", children: title }), _jsx(Typography, { variant: "body1", sx: { marginLeft: '8px' }, children: subTitle }), _jsxs(StyledToolbarButtonContainer, { children: [_jsx(Tooltip, { title: expanded ? 'Minimize' : 'Maximize', children: _jsx(Box, { children: _jsx(Button, { onClick: handleExpandClick, variant: "ghost", color: "secondary", icon: _jsx(ArrowUp, { style: { color: theme.palette.neutralGrey[40] } }), size: "small", sx: {
86
87
  transform: expanded ? 'rotate(0deg)' : 'rotate(180deg)',
87
88
  } }) }) }), _jsx(Tooltip, { title: "Close", children: _jsx(Box, { children: _jsx(Button, { onClick: onClose, variant: "ghost", color: "secondary", icon: _jsx(Close, { style: { color: theme.palette.neutralGrey[40] } }), size: "small" }) }) })] })] }), expanded && _jsx(Divider, { orientation: "horizontal" }), _jsx(StyledCollapse, { in: expanded, timeout: "auto", unmountOnExit: true, children: files.map((download, index) => (_jsxs(Fragment, { children: [_jsx(UploadFile, { file: download, onCancel: onCancel, onRetry: onRetry }), index !== files.length - 1 && _jsx(Divider, { orientation: "horizontal" })] }, download.id))) })] }) }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunit/oui",
3
- "version": "2.4.14",
3
+ "version": "2.4.16",
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)"
@@ -19,9 +19,9 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "@date-io/date-fns": "^2.17.0",
22
- "@lunit/design-system-icons": "^2.1.0",
22
+ "@lunit/design-system-icons": "2.1.0",
23
23
  "@lunit/design-system-logo": "1.1.1",
24
- "@uppy/core": "^3.8.0",
24
+ "@uppy/core": "^3.12.0",
25
25
  "clsx": "^2.0.0",
26
26
  "date-fns": "2.30.0",
27
27
  "lodash": "^4.17.21",
@@ -181,7 +181,7 @@
181
181
  "jest-watch-typeahead": "^1.0.0",
182
182
  "lint-staged": "^15.2.0",
183
183
  "mini-css-extract-plugin": "^2.4.5",
184
- "postcss": "^8.4.4",
184
+ "postcss": "^8.4.31",
185
185
  "postcss-flexbugs-fixes": "^5.0.2",
186
186
  "postcss-loader": "^6.2.1",
187
187
  "postcss-normalize": "^10.0.1",
@@ -194,7 +194,7 @@
194
194
  "react-dom": "18.2.0",
195
195
  "react-refresh": "^0.11.0",
196
196
  "resolve": "^1.20.0",
197
- "resolve-url-loader": "^4.0.0",
197
+ "resolve-url-loader": "^5.0.0",
198
198
  "sass-loader": "^12.3.0",
199
199
  "semver": "^7.3.5",
200
200
  "source-map-loader": "^3.0.0",
@@ -263,5 +263,10 @@
263
263
  "bugs": {
264
264
  "url": "https://github.com/lunit-io/oui/issues"
265
265
  },
266
- "homepage": "https://github.com/lunit-io/oui#readme"
266
+ "homepage": "https://github.com/lunit-io/oui#readme",
267
+ "overrides": {
268
+ "nanoid": "^5.0.9",
269
+ "postcss": "^8.4.31",
270
+ "esbuild": "^0.27.1"
271
+ }
267
272
  }