@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.
- package/dist/admin/AdminAppIndex.pack.global.css +1 -1
- package/dist/admin/AdminAppIndex.pack.global.css.map +1 -1
- package/dist/admin/AdminAppIndex.pack.js +1 -0
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/common/controls/drag-drop/FilesDragDrop.d.ts.map +1 -1
- package/dist/common/controls/drag-drop/FilesDragDrop.js.map +1 -1
- package/dist/common/controls/menu/MenuItem.d.ts.map +1 -1
- package/dist/common/controls/menu/MenuItem.js +1 -0
- package/dist/common/controls/menu/MenuItem.js.map +1 -1
- package/dist/common/currency.d.ts.map +1 -1
- package/dist/common/currency.js.map +1 -1
- package/dist/public/channel/ChannelApp.pack.global.css +1 -1
- package/dist/public/channel/ChannelApp.pack.global.css.map +1 -1
- package/dist/public/preview/pdf/PreviewPDF.d.ts.map +1 -1
- package/dist/public/preview/pdf/PreviewPDF.js.map +1 -1
- package/dist/public/preview/pdf/PreviewPDF.pack.js.map +1 -1
- package/dist/public/preview/pdf/PreviewPDF.pack.min.js.map +1 -1
- package/dist/public/store/StoreApp.pack.js.map +1 -1
- package/dist/public/store/StoreApp.pack.min.js.map +1 -1
- package/dist/site-editor/editor/ui/SnapGuides.d.ts.map +1 -1
- package/dist/site-editor/editor/ui/SnapGuides.js +0 -1
- package/dist/site-editor/editor/ui/SnapGuides.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.global.css +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.global.css.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.global.css +1 -1
- package/dist/web/AppIndex.pack.global.css.map +1 -1
- package/dist/web/AppIndex.pack.js +1 -0
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +1 -1
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/dist/web/page/mails/service/MsgStyle.global.css +1 -1
- package/dist/web/page/mails/service/MsgStyle.global.css.map +1 -1
- package/package.json +1 -1
- package/src/common/controls/drag-drop/FilesDragDrop.ts +0 -2
- package/src/common/controls/menu/MenuItem.tsx +1 -0
- package/src/common/currency.ts +0 -3
- package/src/public/preview/pdf/PreviewPDF.tsx +0 -1
- package/src/site-editor/editor/ui/SnapGuides.ts +0 -1
- 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:
|
|
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,
|
|
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
package/src/common/currency.ts
CHANGED
|
@@ -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
|
|
|
@@ -15,10 +15,22 @@ msg-root {
|
|
|
15
15
|
display: flex;
|
|
16
16
|
flex-direction: column;
|
|
17
17
|
word-break: keep-all;
|
|
18
|
-
max-width:
|
|
18
|
+
max-width: 800px;
|
|
19
19
|
& *:not(img):not(video) {
|
|
20
|
-
max-width:
|
|
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
|
}
|