📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP

@filerobot/status-bar

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@filerobot/status-bar - npm Package Compare versions

Comparing version

to
3.8.1

@@ -64,2 +64,3 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }

hideUploadButton: false,
hideRetryButton: false,
hidePauseResumeButton: false,

@@ -99,2 +100,3 @@ hideCancelButton: false,

// download props would hide those buttons for now
hideRetryButton: this.opts.hideRetryButton || props.downloadStatus,
hidePauseResumeButton: this.opts.hidePauseResumeButton && props.downloadStatus,

@@ -101,0 +103,0 @@ hideCancelButton: this.opts.hideCancelButton,

@@ -7,3 +7,3 @@ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14;

import { statusBarVariants } from './StatusBar.mixin';
var StatusBarContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: absolute;\n left: 0;\n display: flex;\n align-items: center;\n width: 100%;\n transition: all 300ms ease-out;\n height: 50px;\n background-color: ", ";\n z-index: ", ";\n\n ", ";\n\n ", "\n"])), function (_ref) {
var StatusBarContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: absolute;\n left: 0;\n display: flex;\n align-items: center;\n width: 100%;\n transition: all 300ms ease-out;\n height: 50px;\n background-color: ", ";\n z-index: ", "};\n\n ", ";\n\n ", "\n"])), function (_ref) {
var theme = _ref.theme;

@@ -10,0 +10,0 @@ return theme.palette[PC.BackgroundSecondary];

{
"name": "@filerobot/status-bar",
"description": "A progress bar for Filerobot, with many bells and whistles.",
"version": "3.8.0",
"version": "3.8.1",
"license": "MIT",

@@ -18,5 +18,5 @@ "main": "lib/index.js",

"dependencies": {
"@filerobot/common": "^3.8.0",
"@filerobot/common": "^3.8.1",
"@filerobot/icons": "^3.5.11",
"@filerobot/utils": "^3.8.0",
"@filerobot/utils": "^3.8.1",
"@transloadit/prettier-bytes": "0.1.0",

@@ -34,4 +34,3 @@ "classnames": "^2.2.6",

"react-dom": ">=17.0.0"
},
"gitHead": "087abe1405e0de380c30a76fe107c700e5e09eb1"
}
}

@@ -79,2 +79,11 @@ # `@filerobot/status-bar`

Hides the upload button shown in the status bar when there is new file(s) added when there is an uploading in progress.
### `hideRetryButton`
<u>Type:</u> `boolean`.
<u>Default:</u> `false`
Hides the retry button shown in the status bar when there any upload failed.
### `hideCancelButton`

@@ -81,0 +90,0 @@

@@ -12,2 +12,3 @@ import Filerobot = require('@filerobot/core')

hideUploadButton?: boolean
hideRetryButton?: boolean
hideAfterFinish?: boolean

@@ -14,0 +15,0 @@ hidePauseResumeButton?: boolean