@sparkstudio/storage-ui 1.0.27 → 1.0.28

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/dist/index.cjs CHANGED
@@ -1165,30 +1165,17 @@ var SingleFileProcessUploader = ({
1165
1165
  isDragging ? "bg-body-secondary border-dashed border-2 border-secondary" : "bg-body-trasparent border-dashed border-2"
1166
1166
  ].join(" ");
1167
1167
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "d-flex flex-column gap-2", children: [
1168
- isUploading ? /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "small", children: [
1169
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "d-flex justify-content-between mb-1", children: [
1170
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { children: [
1171
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "spinner-border spinner-border-sm text-primary" }),
1172
- " ",
1173
- "Uploading..."
1174
- ] }),
1175
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { children: [
1176
- progress ?? 0,
1177
- "%"
1178
- ] })
1179
- ] }),
1180
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "progress", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1181
- "div",
1182
- {
1183
- className: "progress-bar progress-bar-striped progress-bar-animated",
1184
- role: "progressbar",
1185
- "aria-valuemin": 0,
1186
- "aria-valuemax": 100,
1187
- "aria-valuenow": progress ?? 0,
1188
- style: { width: `${progress ?? 0}%` }
1189
- }
1190
- ) })
1191
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1168
+ isUploading ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "small", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "progress", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1169
+ "div",
1170
+ {
1171
+ className: "progress-bar progress-bar-striped progress-bar-animated",
1172
+ role: "progressbar",
1173
+ "aria-valuemin": 0,
1174
+ "aria-valuemax": 100,
1175
+ "aria-valuenow": progress ?? 0,
1176
+ style: { width: `${progress ?? 0}%` }
1177
+ }
1178
+ ) }) }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1192
1179
  "div",
1193
1180
  {
1194
1181
  className: dropzoneClasses,
package/dist/index.js CHANGED
@@ -1132,30 +1132,17 @@ var SingleFileProcessUploader = ({
1132
1132
  isDragging ? "bg-body-secondary border-dashed border-2 border-secondary" : "bg-body-trasparent border-dashed border-2"
1133
1133
  ].join(" ");
1134
1134
  return /* @__PURE__ */ jsxs4("div", { className: "d-flex flex-column gap-2", children: [
1135
- isUploading ? /* @__PURE__ */ jsxs4("div", { className: "small", children: [
1136
- /* @__PURE__ */ jsxs4("div", { className: "d-flex justify-content-between mb-1", children: [
1137
- /* @__PURE__ */ jsxs4("span", { children: [
1138
- /* @__PURE__ */ jsx6("div", { className: "spinner-border spinner-border-sm text-primary" }),
1139
- " ",
1140
- "Uploading..."
1141
- ] }),
1142
- /* @__PURE__ */ jsxs4("span", { children: [
1143
- progress ?? 0,
1144
- "%"
1145
- ] })
1146
- ] }),
1147
- /* @__PURE__ */ jsx6("div", { className: "progress", children: /* @__PURE__ */ jsx6(
1148
- "div",
1149
- {
1150
- className: "progress-bar progress-bar-striped progress-bar-animated",
1151
- role: "progressbar",
1152
- "aria-valuemin": 0,
1153
- "aria-valuemax": 100,
1154
- "aria-valuenow": progress ?? 0,
1155
- style: { width: `${progress ?? 0}%` }
1156
- }
1157
- ) })
1158
- ] }) : /* @__PURE__ */ jsxs4(
1135
+ isUploading ? /* @__PURE__ */ jsx6("div", { className: "small", children: /* @__PURE__ */ jsx6("div", { className: "progress", children: /* @__PURE__ */ jsx6(
1136
+ "div",
1137
+ {
1138
+ className: "progress-bar progress-bar-striped progress-bar-animated",
1139
+ role: "progressbar",
1140
+ "aria-valuemin": 0,
1141
+ "aria-valuemax": 100,
1142
+ "aria-valuenow": progress ?? 0,
1143
+ style: { width: `${progress ?? 0}%` }
1144
+ }
1145
+ ) }) }) : /* @__PURE__ */ jsxs4(
1159
1146
  "div",
1160
1147
  {
1161
1148
  className: dropzoneClasses,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sparkstudio/storage-ui",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",