@box/uploads-manager 2.1.14 → 2.1.15

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.
@@ -12,29 +12,19 @@ function d({ item: d, onItemCancel: f, onItemRetry: p, onItemRemove: m, onItemOp
12
12
  icon: o,
13
13
  onClick: () => f(d.id),
14
14
  size: "small"
15
- }) : null : v === "complete" ? y ? null : /* @__PURE__ */ u(c, { children: [
16
- h && /* @__PURE__ */ l(n.ActionIconButton, {
17
- "aria-label": _.formatMessage(e.itemActionOpenAriaLabel),
18
- className: t.actionButton,
19
- icon: r,
20
- onClick: () => h(d.id),
21
- size: "small"
22
- }),
23
- g && /* @__PURE__ */ l(n.ActionIconButton, {
24
- "aria-label": _.formatMessage(e.itemActionShareAriaLabel),
25
- className: t.actionButton,
26
- icon: a,
27
- onClick: () => g(d.id),
28
- size: "small"
29
- }),
30
- m && /* @__PURE__ */ l(n.ActionIconButton, {
31
- "aria-label": _.formatMessage(e.itemActionRemoveAriaLabel),
32
- className: t.actionButton,
33
- icon: o,
34
- onClick: () => m(d.id),
35
- size: "small"
36
- })
37
- ] }) : v === "error" ? /* @__PURE__ */ u(c, { children: [b !== !1 && p && /* @__PURE__ */ l(n.ActionIconButton, {
15
+ }) : null : v === "complete" ? y ? null : /* @__PURE__ */ u(c, { children: [h && /* @__PURE__ */ l(n.ActionIconButton, {
16
+ "aria-label": _.formatMessage(e.itemActionOpenAriaLabel),
17
+ className: t.actionButton,
18
+ icon: r,
19
+ onClick: () => h(d.id),
20
+ size: "small"
21
+ }), g && /* @__PURE__ */ l(n.ActionIconButton, {
22
+ "aria-label": _.formatMessage(e.itemActionShareAriaLabel),
23
+ className: t.actionButton,
24
+ icon: a,
25
+ onClick: () => g(d.id),
26
+ size: "small"
27
+ })] }) : v === "error" ? /* @__PURE__ */ u(c, { children: [b !== !1 && p && /* @__PURE__ */ l(n.ActionIconButton, {
38
28
  "aria-label": _.formatMessage(e.itemActionRetryAriaLabel),
39
29
  className: t.actionButton,
40
30
  icon: i,
@@ -76,7 +76,7 @@ export interface UploadsItemActionCallbacks {
76
76
  * whether to resume from the last chunk or restart from scratch.
77
77
  */
78
78
  onItemRetry?: (itemId: string) => void;
79
- /** Remove a completed, errored, or canceled item from the list */
79
+ /** Remove an errored item from the list */
80
80
  onItemRemove?: (itemId: string) => void;
81
81
  /**
82
82
  * Open file preview for a completed item.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/uploads-manager",
3
- "version": "2.1.14",
3
+ "version": "2.1.15",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "peerDependencies": {
6
6
  "@box/blueprint-web": "^16.4.5",