@social-mail/social-mail-client 1.2.736 → 1.2.737
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/public/channel/BlogImageService.js +1 -1
- package/dist/public/channel/ChannelView.d.ts +1 -1
- package/dist/public/channel/ChannelView.d.ts.map +1 -1
- package/dist/public/channel/ChannelView.js +10 -2
- package/dist/public/channel/ChannelView.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.js +39 -29
- package/dist/public/channel/ChannelView.pack.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.min.js +28 -26
- package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
- package/dist/public/channel/PostSummary.d.ts.map +1 -1
- package/dist/public/channel/PostSummary.js +28 -26
- package/dist/public/channel/PostSummary.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/public/channel/BlogImageService.ts +1 -1
- package/src/public/channel/ChannelView.tsx +10 -1
- package/src/public/channel/PostSummary.tsx +34 -24
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PostSummary.d.ts","sourceRoot":"","sources":["../../../src/public/channel/PostSummary.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA4B,QAAQ,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAQtF,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAMlD,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,GAAG,CAAC;QACV,UAAU,iBAAiB;YACvB,cAAc,EAAE,GAAG,CAAC;SACvB;KACJ;CACJ;
|
|
1
|
+
{"version":3,"file":"PostSummary.d.ts","sourceRoot":"","sources":["../../../src/public/channel/PostSummary.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA4B,QAAQ,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAQtF,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAMlD,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,GAAG,CAAC;QACV,UAAU,iBAAiB;YACvB,cAAc,EAAE,GAAG,CAAC;SACvB;KACJ;CACJ;AAkID,MAAM,CAAC,OAAO,UAAU,WAAW,CAAE,EAC7B,OAA4B,EAC5B,YAAsC,EACtC,QAA2B,EAC3B,WAAwC,EAC3C;;;;;CAAA,OA2CJ"}
|
|
@@ -45,9 +45,9 @@ System.register(["@web-atoms/core/dist/core/XNode", "../../common/date/DateForma
|
|
|
45
45
|
href: href,
|
|
46
46
|
"data-element": "author",
|
|
47
47
|
text: email.senderName
|
|
48
|
-
}), XNode.create("section", null, XNode.create("section", {
|
|
49
|
-
|
|
50
|
-
})), XNode.create("footer", null, ...engagements.map(x => XNode.create("span", {
|
|
48
|
+
}), XNode.create("section", null, XNode.create("section", null, email.textBody.substring(0, 110).trim(), "\xa0", XNode.create("a", {
|
|
49
|
+
href: href
|
|
50
|
+
}, "Read More ..."))), XNode.create("footer", null, ...engagements.map(x => XNode.create("span", {
|
|
51
51
|
"data-click-event": x.engagement === commentIcon ? "view-comments" : "none",
|
|
52
52
|
"data-element": "engagements",
|
|
53
53
|
title: `View all ${x.engagement} ${x.count}`,
|
|
@@ -77,10 +77,12 @@ System.register(["@web-atoms/core/dist/core/XNode", "../../common/date/DateForma
|
|
|
77
77
|
grid-template-columns: 1fr 2fr auto;
|
|
78
78
|
grid-template-rows: auto auto 1fr auto;
|
|
79
79
|
|
|
80
|
+
padding-bottom: 10px;
|
|
81
|
+
|
|
80
82
|
border-bottom: solid 1px lightgray;
|
|
81
83
|
|
|
82
|
-
max-height:
|
|
83
|
-
height:
|
|
84
|
+
max-height: 285px;
|
|
85
|
+
height: 285px;
|
|
84
86
|
|
|
85
87
|
overflow: hidden;
|
|
86
88
|
|
|
@@ -88,15 +90,15 @@ System.register(["@web-atoms/core/dist/core/XNode", "../../common/date/DateForma
|
|
|
88
90
|
|
|
89
91
|
gap: 10px;
|
|
90
92
|
|
|
91
|
-
|
|
93
|
+
row-gap: 20px;
|
|
92
94
|
|
|
93
95
|
& > [data-element=preview] {
|
|
94
96
|
grid-row: 1 / span 4;
|
|
95
97
|
grid-column: 1;
|
|
96
|
-
background-color:
|
|
98
|
+
background-color: #343a400d;
|
|
97
99
|
object-fit: contain;
|
|
98
|
-
width:
|
|
99
|
-
height:
|
|
100
|
+
width: 275px;
|
|
101
|
+
height: 275px;
|
|
100
102
|
border: none;
|
|
101
103
|
outline: none;
|
|
102
104
|
text-decoration: none;
|
|
@@ -143,39 +145,39 @@ System.register(["@web-atoms/core/dist/core/XNode", "../../common/date/DateForma
|
|
|
143
145
|
}
|
|
144
146
|
|
|
145
147
|
& > [data-element=title] {
|
|
146
|
-
grid-row:
|
|
147
|
-
grid-column: 2;
|
|
148
|
+
grid-row: 2;
|
|
149
|
+
grid-column: 2 / span 2;
|
|
150
|
+
font-size: 1.5em;
|
|
151
|
+
line-height: 1.2;
|
|
152
|
+
text-decoration: none;
|
|
148
153
|
margin: 0;
|
|
154
|
+
& a {
|
|
155
|
+
text-decoration: none;
|
|
156
|
+
}
|
|
149
157
|
}
|
|
150
158
|
|
|
151
159
|
& > [data-element=date] {
|
|
152
|
-
grid-row:
|
|
160
|
+
grid-row: 1;
|
|
153
161
|
grid-column: 3;
|
|
162
|
+
font-size: 0.70rem;
|
|
163
|
+
line-height: 1;
|
|
164
|
+
letter-spacing:0.05rem;
|
|
154
165
|
margin: 0;
|
|
155
166
|
}
|
|
156
167
|
|
|
157
168
|
& > [data-element=author] {
|
|
158
|
-
grid-row:
|
|
169
|
+
grid-row: 1;
|
|
159
170
|
grid-column: 2;
|
|
171
|
+
font-size: 0.70rem;
|
|
172
|
+
line-height: 1;
|
|
173
|
+
letter-spacing:0.05rem;
|
|
160
174
|
margin: 0;
|
|
161
175
|
}
|
|
162
176
|
|
|
163
177
|
& > section {
|
|
164
178
|
grid-row: 3;
|
|
165
|
-
grid-column: 2;
|
|
179
|
+
grid-column: 2 / span 2;
|
|
166
180
|
position: relative;
|
|
167
|
-
max-height: 60px;
|
|
168
|
-
overflow: hidden;
|
|
169
|
-
&::after {
|
|
170
|
-
position: absolute;
|
|
171
|
-
left: 0;
|
|
172
|
-
right: 0;
|
|
173
|
-
top: 0;
|
|
174
|
-
bottom: 0;
|
|
175
|
-
content: "";
|
|
176
|
-
pointer-events: none;
|
|
177
|
-
background: linear-gradient(to top, rgba(255, 255, 255, 1) 1px, rgba(255, 255, 255, 0) 16px);
|
|
178
|
-
}
|
|
179
181
|
}
|
|
180
182
|
|
|
181
183
|
& > footer {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["PostSummary","channel","mailboxEmail","itemPath","blogService","mailboxID","email","engagements","isComment","parentID","firstMedia","_a","attachments","find","x","test","contentType","href","UrlService","toBlogUrl","Object","assign","mailbox","XNode","create","src","Bind","oneTimeAsync","getImage","loaderImage","text","_b","senderName","subject","trim","DateFormats","relative","short","dateSent","textBody","map","engagement","commentIcon","title","count","_export","setters","_webAtomsCoreDistCoreXNode","default","_commonDateDateFormats","_UrlService","_socialMailSocialMailClientContentImagesGifLoaderGif","_webAtomsCoreDistCoreBind","_webAtomsCoreDistStyleStyled","styled","execute","css","installGlobal","document","body","addEventListener","e","target","tagName","getAttribute","location","parentElement"],"sources":["../../../src/public/channel/PostSummary.tsx"],"sourcesContent":[null],"mappings":";;;;
|
|
1
|
+
{"version":3,"names":["PostSummary","channel","mailboxEmail","itemPath","blogService","mailboxID","email","engagements","isComment","parentID","firstMedia","_a","attachments","find","x","test","contentType","href","UrlService","toBlogUrl","Object","assign","mailbox","XNode","create","src","Bind","oneTimeAsync","getImage","loaderImage","text","_b","senderName","subject","trim","DateFormats","relative","short","dateSent","textBody","substring","map","engagement","commentIcon","title","count","_export","setters","_webAtomsCoreDistCoreXNode","default","_commonDateDateFormats","_UrlService","_socialMailSocialMailClientContentImagesGifLoaderGif","_webAtomsCoreDistCoreBind","_webAtomsCoreDistStyleStyled","styled","execute","css","installGlobal","document","body","addEventListener","e","target","tagName","getAttribute","location","parentElement"],"sources":["../../../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