cloudmr-ux 1.4.3 → 1.4.4

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.js CHANGED
@@ -321,7 +321,7 @@ function CmrUploadWindow({
321
321
  return;
322
322
  return fileName.split(".").pop();
323
323
  };
324
- const INVALID_ALIAS_REGEX = /[ .,:%><]/;
324
+ const INVALID_ALIAS_REGEX = /[ ,:%><]/;
325
325
  const handleConfirm = () => {
326
326
  if (uploadedFiles.length === 0) {
327
327
  setInfoOpen(true);
@@ -340,7 +340,7 @@ function CmrUploadWindow({
340
340
  if (INVALID_ALIAS_REGEX.test(fileAlias)) {
341
341
  setInfoOpen(true);
342
342
  setInfoStyle("error");
343
- setWarningText("Alias contains invalid characters ( . , : % > < or spaces )");
343
+ setWarningText("Alias contains invalid characters ( , : % > < or spaces )");
344
344
  setTimeout(() => setInfoOpen(false), 5e3);
345
345
  return;
346
346
  }
package/dist/index.mjs CHANGED
@@ -273,7 +273,7 @@ function CmrUploadWindow({
273
273
  return;
274
274
  return fileName.split(".").pop();
275
275
  };
276
- const INVALID_ALIAS_REGEX = /[ .,:%><]/;
276
+ const INVALID_ALIAS_REGEX = /[ ,:%><]/;
277
277
  const handleConfirm = () => {
278
278
  if (uploadedFiles.length === 0) {
279
279
  setInfoOpen(true);
@@ -292,7 +292,7 @@ function CmrUploadWindow({
292
292
  if (INVALID_ALIAS_REGEX.test(fileAlias)) {
293
293
  setInfoOpen(true);
294
294
  setInfoStyle("error");
295
- setWarningText("Alias contains invalid characters ( . , : % > < or spaces )");
295
+ setWarningText("Alias contains invalid characters ( , : % > < or spaces )");
296
296
  setTimeout(() => setInfoOpen(false), 5e3);
297
297
  return;
298
298
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudmr-ux",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "author": "erosmontin@gmail.com",
5
5
  "license": "MIT",
6
6
  "repository": "erosmontin/cloudmr-ux",