@bigbinary/neeto-editor 1.38.8 → 1.38.10

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.
Files changed (34) hide show
  1. package/dist/Attachments.js +1 -1
  2. package/dist/Editor.js +16 -5
  3. package/dist/Editor.js.map +1 -1
  4. package/dist/EditorContent.js +1 -1
  5. package/dist/FormikEditor.js +2 -2
  6. package/dist/Menu.js +1 -1
  7. package/dist/{chunk-158bb7aa.js → chunk-5c874a66.js} +21 -8
  8. package/dist/chunk-5c874a66.js.map +1 -0
  9. package/dist/{chunk-e9803348.js → chunk-785530ec.js} +2 -2
  10. package/dist/{chunk-e9803348.js.map → chunk-785530ec.js.map} +1 -1
  11. package/dist/{chunk-f8510c23.js → chunk-b6d4a09a.js} +3 -3
  12. package/dist/{chunk-f8510c23.js.map → chunk-b6d4a09a.js.map} +1 -1
  13. package/dist/cjs/Attachments.cjs.js +1 -1
  14. package/dist/cjs/Editor.cjs.js +16 -5
  15. package/dist/cjs/Editor.cjs.js.map +1 -1
  16. package/dist/cjs/EditorContent.cjs.js +1 -1
  17. package/dist/cjs/FormikEditor.cjs.js +2 -2
  18. package/dist/cjs/Menu.cjs.js +1 -1
  19. package/dist/cjs/{chunk-d2dffff4.cjs.js → chunk-534531c3.cjs.js} +20 -7
  20. package/dist/cjs/chunk-534531c3.cjs.js.map +1 -0
  21. package/dist/cjs/{chunk-0dfcae31.cjs.js → chunk-5b0bae44.cjs.js} +3 -3
  22. package/dist/cjs/{chunk-0dfcae31.cjs.js.map → chunk-5b0bae44.cjs.js.map} +1 -1
  23. package/dist/cjs/{chunk-635042c3.cjs.js → chunk-969635f1.cjs.js} +2 -2
  24. package/dist/cjs/{chunk-635042c3.cjs.js.map → chunk-969635f1.cjs.js.map} +1 -1
  25. package/dist/cjs/index.cjs.js +3 -3
  26. package/dist/editor-content.min.css +1 -1
  27. package/dist/editor-output-pdf-email.css +1 -1
  28. package/dist/editor-output.js +1 -1
  29. package/dist/editor-stats.html +1 -1
  30. package/dist/index.js +3 -3
  31. package/package.json +1 -1
  32. package/src/translations/en.json +3 -1
  33. package/dist/chunk-158bb7aa.js.map +0 -1
  34. package/dist/cjs/chunk-d2dffff4.cjs.js.map +0 -1
@@ -33,7 +33,7 @@ var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
33
33
  var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends);
34
34
  var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
35
35
 
36
- var css = ".ne-attachments{display:flex;flex-direction:column;gap:8px}.ne-attachments__items{display:flex;flex-wrap:wrap;gap:8px}.ne-attachments__preview{align-items:center;background-color:rgb(var(--neeto-ui-white));border:1px solid rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);display:flex;justify-content:space-between;padding:4px 2px 4px 8px;width:256px}.ne-attachments__preview-wrapper{display:flex;gap:8px;width:88%}.ne-attachments__preview-wrapper__icon{height:auto;width:15px}.ne-attachments__preview-wrapper p{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:92%}.ne-attachments__preview-wrapper:hover{cursor:pointer}.ne-attachments__preview__progress{display:flex;gap:4px;justify-content:space-between;opacity:.5;width:76%}.ne-attachments__preview__progress p{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:85%}.ne-attachments__preview__progress p:nth-child(2){flex-shrink:0;width:-moz-fit-content;width:fit-content}.ne-attachments__preview__progress-icon{height:auto;width:15px}.ne-attachments__preview:hover{box-shadow:0 0 0 1px rgb(var(--neeto-ui-gray-400))}.ne-attachments input[type=file]{display:none}.ne-attachments-preview{display:flex;flex-direction:column;gap:8px}.ne-attachments-preview__header{border-bottom:1px solid rgb(var(--neeto-ui-gray-200));display:flex;flex-direction:row;gap:8px;margin-bottom:8px}.ne-attachments-preview__header__fileinfo{align-items:flex-end;border-right:1px solid rgb(var(--neeto-ui-gray-200));display:flex;gap:4px;padding-right:6px}.ne-attachments-preview__header__fileinfo h3{font-weight:500}.ne-attachments-preview__body{align-items:center;display:flex;flex-grow:1;justify-content:center;min-height:10px;padding-bottom:8px!important;position:relative;width:100vw}.ne-attachments-preview__body-download{color:rgb(var(--neeto-ui-primary-800));cursor:pointer}.ne-attachments-preview__body-docviewer{height:100%;width:100%}.ne-attachments-preview__body img{max-height:100%;max-width:100%}.ne-attachments-preview__body video{height:100%;width:100%}.ne-attachments-preview__body iframe{height:100%;padding:0 8px;width:100%}.ne-attachments-preview__body-left,.ne-attachments-preview__body-right{position:absolute!important;top:50%;transform:translateY(-50%);z-index:1}.ne-attachments-preview__body-left:hover,.ne-attachments-preview__body-right:hover{background-color:rgba(var(--neeto-ui-gray-100),.4)!important;cursor:pointer}.ne-attachments-preview__body-left{left:24px}.ne-attachments-preview__body-right{right:24px}.ne-attachments .attachment-button-loader{scale:.5;width:26px!important}.ne-attachments--integrated{background-color:rgb(var(--neeto-ui-white));border:1px solid rgb(var(--neeto-ui-gray-300));border-radius:0 0 var(--neeto-ui-rounded) var(--neeto-ui-rounded);border-top:none;padding:0 6px}.ne-attachments__wrapper{position:relative}.ne-attachments__wrapper.is-dragging-over-files:after{align-items:center;background-color:rgba(var(--neeto-ui-gray-300),.5);border:3px dashed rgb(var(--neeto-ui-gray-500));border-radius:5px;color:rgb(var(--neeto-ui-gray-600));content:\"Drop the file here\";display:flex;font-size:1.2rem;font-weight:700;inset:7px;justify-content:center;position:absolute}";
36
+ var css = ".ne-attachments{display:flex;flex-direction:column;gap:8px}.ne-attachments__items{display:flex;flex-wrap:wrap;gap:8px}.ne-attachments__preview{align-items:center;background-color:rgb(var(--neeto-ui-white));border:1px solid rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);display:flex;justify-content:space-between;padding:4px 2px 4px 8px;width:256px}.ne-attachments__preview-wrapper{display:flex;gap:8px;width:88%}.ne-attachments__preview-wrapper__icon{height:auto;width:15px}.ne-attachments__preview-wrapper p{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:92%}.ne-attachments__preview-wrapper:hover{cursor:pointer}.ne-attachments__preview__progress{display:flex;gap:4px;justify-content:space-between;opacity:.5;width:76%}.ne-attachments__preview__progress p{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:85%}.ne-attachments__preview__progress p:nth-child(2){flex-shrink:0;width:-moz-fit-content;width:fit-content}.ne-attachments__preview__progress-icon{height:auto;width:15px}.ne-attachments__preview:hover{box-shadow:0 0 0 1px rgb(var(--neeto-ui-gray-400))}.ne-attachments input[type=file]{display:none}.ne-attachments-preview{display:flex;flex-direction:column;gap:8px}.ne-attachments-preview__header{border-bottom:1px solid rgb(var(--neeto-ui-gray-200));display:flex;flex-direction:row;gap:8px;margin-bottom:8px}.ne-attachments-preview__header__fileinfo{align-items:flex-end;border-right:1px solid rgb(var(--neeto-ui-gray-200));display:flex;gap:4px;padding-right:6px}.ne-attachments-preview__header__fileinfo h3{font-weight:500}.ne-attachments-preview__body{align-items:center;display:flex;flex-grow:1;justify-content:center;min-height:10px;padding-bottom:8px!important;position:relative;width:100vw}.ne-attachments-preview__body-download{color:rgb(var(--neeto-ui-accent-800));cursor:pointer}.ne-attachments-preview__body-docviewer{height:100%;width:100%}.ne-attachments-preview__body img{max-height:100%;max-width:100%}.ne-attachments-preview__body video{height:100%;width:100%}.ne-attachments-preview__body iframe{height:100%;padding:0 8px;width:100%}.ne-attachments-preview__body-left,.ne-attachments-preview__body-right{position:absolute!important;top:50%;transform:translateY(-50%);z-index:1}.ne-attachments-preview__body-left:hover,.ne-attachments-preview__body-right:hover{background-color:rgba(var(--neeto-ui-gray-100),.4)!important;cursor:pointer}.ne-attachments-preview__body-left{left:24px}.ne-attachments-preview__body-right{right:24px}.ne-attachments .attachment-button-loader{scale:.5;width:26px!important}.ne-attachments--integrated{background-color:rgb(var(--neeto-ui-white));border:1px solid rgb(var(--neeto-ui-gray-300));border-radius:0 0 var(--neeto-ui-rounded) var(--neeto-ui-rounded);border-top:none;padding:0 6px}.ne-attachments__wrapper{position:relative}.ne-attachments__wrapper.is-dragging-over-files:after{align-items:center;background-color:rgba(var(--neeto-ui-gray-300),.5);border:3px dashed rgb(var(--neeto-ui-gray-500));border-radius:5px;color:rgb(var(--neeto-ui-gray-600));content:\"Drop the file here\";display:flex;font-size:1.2rem;font-weight:700;inset:7px;justify-content:center;position:absolute}";
37
37
  injectCss.n(css,{});
38
38
 
39
39
  var DEFAULT_FILE_UPLOAD_CONFIG = {
@@ -1205,7 +1205,7 @@ var AttachmentProgress = function AttachmentProgress(_ref) {
1205
1205
  };
1206
1206
 
1207
1207
  var Preview = /*#__PURE__*/React.lazy(function () {
1208
- return Promise.resolve().then(function () { return require('./chunk-635042c3.cjs.js'); });
1208
+ return Promise.resolve().then(function () { return require('./chunk-969635f1.cjs.js'); });
1209
1209
  });
1210
1210
  var Attachments = function Attachments(_ref, ref) {
1211
1211
  var _fileUploadConfig$all;
@@ -1370,4 +1370,4 @@ exports.ATTACHMENTS_PREVIEW_DATA_CY = ATTACHMENTS_PREVIEW_DATA_CY;
1370
1370
  exports.Attachments = Attachments$1;
1371
1371
  exports.checkPreviewAvailability = checkPreviewAvailability;
1372
1372
  exports.downloadFile = downloadFile;
1373
- //# sourceMappingURL=chunk-0dfcae31.cjs.js.map
1373
+ //# sourceMappingURL=chunk-5b0bae44.cjs.js.map