@social-mail/social-mail-client 1.9.3 → 1.9.5

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 (46) hide show
  1. package/dist/admin/AdminAppIndex.pack.global.css +1 -1
  2. package/dist/admin/AdminAppIndex.pack.global.css.map +1 -1
  3. package/dist/admin/AdminAppIndex.pack.js +1 -0
  4. package/dist/admin/AdminAppIndex.pack.js.map +1 -1
  5. package/dist/admin/AdminAppIndex.pack.min.js +1 -1
  6. package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
  7. package/dist/common/controls/drag-drop/FilesDragDrop.d.ts.map +1 -1
  8. package/dist/common/controls/drag-drop/FilesDragDrop.js.map +1 -1
  9. package/dist/common/controls/menu/MenuItem.d.ts.map +1 -1
  10. package/dist/common/controls/menu/MenuItem.js +1 -0
  11. package/dist/common/controls/menu/MenuItem.js.map +1 -1
  12. package/dist/common/currency.d.ts.map +1 -1
  13. package/dist/common/currency.js.map +1 -1
  14. package/dist/public/channel/ChannelApp.pack.global.css +1 -1
  15. package/dist/public/channel/ChannelApp.pack.global.css.map +1 -1
  16. package/dist/public/preview/pdf/PreviewPDF.d.ts.map +1 -1
  17. package/dist/public/preview/pdf/PreviewPDF.js.map +1 -1
  18. package/dist/public/preview/pdf/PreviewPDF.pack.js.map +1 -1
  19. package/dist/public/preview/pdf/PreviewPDF.pack.min.js.map +1 -1
  20. package/dist/public/store/StoreApp.pack.js.map +1 -1
  21. package/dist/public/store/StoreApp.pack.min.js.map +1 -1
  22. package/dist/site-editor/editor/ui/SnapGuides.d.ts.map +1 -1
  23. package/dist/site-editor/editor/ui/SnapGuides.js +0 -1
  24. package/dist/site-editor/editor/ui/SnapGuides.js.map +1 -1
  25. package/dist/site-editor-app/SiteEditorApp.pack.global.css +1 -1
  26. package/dist/site-editor-app/SiteEditorApp.pack.global.css.map +1 -1
  27. package/dist/site-editor-app/SiteEditorApp.pack.js +1 -1
  28. package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
  29. package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
  30. package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
  31. package/dist/tsconfig.tsbuildinfo +1 -1
  32. package/dist/web/AppIndex.pack.global.css +1 -1
  33. package/dist/web/AppIndex.pack.global.css.map +1 -1
  34. package/dist/web/AppIndex.pack.js +1 -0
  35. package/dist/web/AppIndex.pack.js.map +1 -1
  36. package/dist/web/AppIndex.pack.min.js +1 -1
  37. package/dist/web/AppIndex.pack.min.js.map +1 -1
  38. package/dist/web/page/mails/service/MsgStyle.global.css +1 -1
  39. package/dist/web/page/mails/service/MsgStyle.global.css.map +1 -1
  40. package/package.json +1 -1
  41. package/src/common/controls/drag-drop/FilesDragDrop.ts +0 -2
  42. package/src/common/controls/menu/MenuItem.tsx +1 -0
  43. package/src/common/currency.ts +0 -3
  44. package/src/public/preview/pdf/PreviewPDF.tsx +0 -1
  45. package/src/site-editor/editor/ui/SnapGuides.ts +0 -1
  46. package/src/web/page/mails/service/MsgStyle.global.css +14 -2
@@ -1,2 +1,2 @@
1
- msg-root a{text-decoration:none}msg-root img,msg-root video{height:-moz-fit-content;height:fit-content;max-height:100%;max-width:100%;width:-moz-fit-content;width:fit-content}msg-root div[msg]{display:flex;flex-direction:column;overflow:visible}msg-root div[msg],msg-root div[msg] :not(img):not(video){max-width:80ch;word-break:keep-all}
1
+ msg-root a{text-decoration:none}msg-root img,msg-root video{height:-moz-fit-content;height:fit-content;max-height:100%;max-width:100%;width:-moz-fit-content;width:fit-content}msg-root div[msg]{display:flex;flex-direction:column;overflow:visible}msg-root div[msg],msg-root div[msg] :not(img):not(video){max-width:800px;word-break:keep-all}@media (max-width:700px){msg-root div[msg],msg-root div[msg] :not(img):not(video){max-width:90vw}}
2
2
  /*# sourceMappingURL=MsgStyle.global.css.map */
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/web/page/mails/service/MsgStyle.global.css"],"names":[],"mappings":"AACI,WACI,oBACJ,CAEA,4BAII,uBAAmB,CAAnB,kBAAmB,CAFnB,eAAgB,CADhB,cAAe,CAEf,sBAAkB,CAAlB,iBAEJ,CAEA,kBAEI,YAAa,CACb,qBAAsB,CAFtB,gBASJ,CAJI,yDADA,cAAe,CADf,mBAKA","file":"MsgStyle.global.css"}
1
+ {"version":3,"sources":["../../../../../src/web/page/mails/service/MsgStyle.global.css"],"names":[],"mappings":"AACI,WACI,oBACJ,CAEA,4BAII,uBAAmB,CAAnB,kBAAmB,CAFnB,eAAgB,CADhB,cAAe,CAEf,sBAAkB,CAAlB,iBAEJ,CAEA,kBAEI,YAAa,CACb,qBAAsB,CAFtB,gBASJ,CAJI,yDADA,eAAgB,CADhB,mBAKA,CAIR,yBAIY,yDACI,cACJ,CAIZ","file":"MsgStyle.global.css"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-client",
3
- "version": "1.9.3",
3
+ "version": "1.9.5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -96,9 +96,7 @@ const eventDrop = (e: DragEvent) => {
96
96
  extra,
97
97
  uploadEvent
98
98
  };
99
- // console.log(detail);
100
99
  currentTarget.dispatchEvent(new CustomEvent(uploadRequested, { detail, bubbles: true, cancelable: true}));
101
- // console.log(files);
102
100
  });
103
101
 
104
102
  };
@@ -24,6 +24,7 @@ export default function MenuItem ({
24
24
  data-click-event={ commandLink ? "route" : void 0}
25
25
  href={href || commandLink}
26
26
  target={target}
27
+ draggable={false}
27
28
  event-click={click}
28
29
  { ... a}>
29
30
  { icon && <i class={icon}/> }
@@ -23,10 +23,7 @@ export function formatCurrency(n, currency: string) {
23
23
  if (n === void 0 || n === null) {
24
24
  return "";
25
25
  }
26
- // console.log("before n", n);
27
26
  n = Number(n);
28
- // console.log("n", n);
29
- // console.log("formatted", n.toLocaleString(void 0, {minimumFractionDigits: 0, maximumFractionDigits: 0, style: "currency", currency}));
30
27
  return n.toLocaleString(void 0, {minimumFractionDigits: 0, maximumFractionDigits: 0, style: "currency", currency});
31
28
  }
32
29
 
@@ -116,7 +116,6 @@ export default class PreviewDocument extends AtomControl {
116
116
  let tries = 0;
117
117
 
118
118
  loaderTask.onPassword = (callback, reason) => {
119
- // console.log(reason);
120
119
  tries++;
121
120
  if (tries > 3) {
122
121
  this.renderer = <div>
@@ -85,7 +85,6 @@ export default class SnapGuides {
85
85
  start = start.nextElementSibling as HTMLElement;
86
86
  } while(start);
87
87
  }
88
- console.log(all);
89
88
  }
90
89
 
91
90
  snap(rect: IRect) {
@@ -15,10 +15,22 @@ msg-root {
15
15
  display: flex;
16
16
  flex-direction: column;
17
17
  word-break: keep-all;
18
- max-width: 80ch;
18
+ max-width: 800px;
19
19
  & *:not(img):not(video) {
20
- max-width: 80ch;
20
+ max-width: 800px;
21
21
  word-break: keep-all;
22
22
  }
23
23
  }
24
+ }
25
+
26
+ @media (max-width: 700px) {
27
+ msg-root {
28
+ & div[msg] {
29
+ max-width: 90vw;
30
+ & *:not(img):not(video) {
31
+ max-width: 90vw;
32
+ }
33
+ }
34
+
35
+ }
24
36
  }