cloudmr-ux 1.4.0 → 1.4.1

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
@@ -407,15 +407,7 @@ function CmrUploadWindow({
407
407
  setUpBtnText("Uploading");
408
408
  };
409
409
  const changeFileName = (e) => {
410
- const value = e.target.value;
411
- setFileAlias(value);
412
- if (INVALID_ALIAS_REGEX.test(value)) {
413
- setInfoOpen(true);
414
- setInfoStyle("error");
415
- setWarningText("Alias contains invalid characters ( . , : % > < or spaces )");
416
- } else {
417
- setInfoOpen(false);
418
- }
410
+ setFileAlias(e.target.value);
419
411
  };
420
412
  function loadFiles(files) {
421
413
  if (files.length == 0) {
package/dist/index.mjs CHANGED
@@ -359,15 +359,7 @@ function CmrUploadWindow({
359
359
  setUpBtnText("Uploading");
360
360
  };
361
361
  const changeFileName = (e) => {
362
- const value = e.target.value;
363
- setFileAlias(value);
364
- if (INVALID_ALIAS_REGEX.test(value)) {
365
- setInfoOpen(true);
366
- setInfoStyle("error");
367
- setWarningText("Alias contains invalid characters ( . , : % > < or spaces )");
368
- } else {
369
- setInfoOpen(false);
370
- }
362
+ setFileAlias(e.target.value);
371
363
  };
372
364
  function loadFiles(files) {
373
365
  if (files.length == 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudmr-ux",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "author": "erosmontin@gmail.com",
5
5
  "license": "MIT",
6
6
  "repository": "erosmontin/cloudmr-ux",