@iobroker/gui-components 10.0.8 → 10.0.9

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/README.md CHANGED
@@ -36,7 +36,7 @@ npm create vite@latest src -- --template react-ts
36
36
  "dependencies": {
37
37
  "@emotion/react": "^11.14.0",
38
38
  "@emotion/styled": "^11.14.1",
39
- "@iobroker/gui-components": "^10.0.8",
39
+ "@iobroker/gui-components": "^10.0.9",
40
40
  "@mui/icons-material": "^9.0.1",
41
41
  "@mui/material": "^9.0.1",
42
42
  "react": "^19.2.5",
@@ -856,7 +856,7 @@ You can find the migration instructions:
856
856
  -->
857
857
 
858
858
  ## Changelog
859
- ### 10.0.8 (2026-07-31)
859
+ ### 10.0.9 (2026-07-31)
860
860
 
861
861
  - (@GermanBluefox) Added support of styled scrollbars
862
862
 
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import React, { Component } from 'react';
8
8
  import Dropzone from 'react-dropzone';
9
- import { LinearProgress, ListItemIcon, ListItemText, Menu, MenuItem, Tooltip, CircularProgress, Toolbar, IconButton, Fab, Dialog, DialogTitle, DialogContent, DialogContentText, DialogActions, Button, Input, Breadcrumbs, Box, Checkbox, FormControlLabel, } from '@mui/material';
9
+ import { LinearProgress, ListItemIcon, ListItemText, Menu, MenuItem, Tooltip, Toolbar, IconButton, Fab, Dialog, DialogTitle, DialogContent, DialogContentText, DialogActions, Button, Input, Breadcrumbs, Box, Checkbox, FormControlLabel, } from '@mui/material';
10
10
  // MUI Icons
11
11
  import { ArrowBack as IconBack, AudioFile as TypeIconAudio, Bookmark as JsonIcon, BookmarkBorder as CssIcon, Brightness6 as Brightness5Icon, Close as CloseIcon, Code as JSIcon, CreateNewFolder as AddFolderIcon, Delete as DeleteIcon, Description as HtmlIcon, Edit as EditIcon, FolderOpen as EmptyFilterIcon, FolderSpecial as RestrictedIcon, FontDownload as TypeIconTxt, Image as TypeIconImages, InsertDriveFile as FileIcon, KeyboardReturn as EnterIcon, List as IconList, MusicNote as MusicIcon, Publish as UploadIcon, Refresh as RefreshIcon, SaveAlt as DownloadIcon, Videocam as TypeIconVideo, ViewModule as IconTile, } from '@mui/icons-material';
12
12
  import { DialogError } from '../Dialogs/Error';
@@ -1237,15 +1237,11 @@ export class FileBrowserClass extends Component {
1237
1237
  });
1238
1238
  return totalResult;
1239
1239
  }
1240
- return (React.createElement("div", { style: { position: 'relative' } },
1241
- React.createElement(CircularProgress, { key: folderId, color: "secondary", size: 24 }),
1242
- React.createElement("div", { style: {
1243
- position: 'absolute',
1244
- zIndex: 2,
1245
- top: 4,
1246
- width: 24,
1247
- textAlign: 'center',
1248
- } }, this.state.queueLength)));
1240
+ // A bar instead of a circle. The number of outstanding entries no longer fits into the middle
1241
+ // of a spinner, so it stands next to the bar.
1242
+ return (React.createElement("div", { key: folderId, style: { display: 'flex', alignItems: 'center', gap: 8, width: '100%' } },
1243
+ React.createElement(LinearProgress, { color: "secondary", style: { flexGrow: 1 } }),
1244
+ React.createElement("div", { style: { minWidth: 24, textAlign: 'right' } }, this.state.queueLength)));
1249
1245
  }
1250
1246
  renderToolbar() {
1251
1247
  const IconType = this.props.showTypeSelector