@pushwoosh/websdk-common 6.22.1 → 6.22.2
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/inbox/InboxCellPreview.js +19 -11
- package/package.json +1 -1
|
@@ -252,24 +252,23 @@ function IOSCell(props) {
|
|
|
252
252
|
children: [_jsxs("div", {
|
|
253
253
|
style: {
|
|
254
254
|
display: 'flex',
|
|
255
|
-
alignItems: 'center'
|
|
255
|
+
alignItems: 'center',
|
|
256
|
+
gap: 4
|
|
256
257
|
},
|
|
257
258
|
children: [_jsx("div", {
|
|
258
259
|
style: {
|
|
259
260
|
...TEXT.h5,
|
|
260
261
|
...ELLIPSIS,
|
|
262
|
+
flex: 1,
|
|
263
|
+
minWidth: 0,
|
|
261
264
|
color: MAIN
|
|
262
265
|
},
|
|
263
266
|
children: title
|
|
264
|
-
}), _jsx("div", {
|
|
265
|
-
style: {
|
|
266
|
-
flex: 1,
|
|
267
|
-
minWidth: 4
|
|
268
|
-
}
|
|
269
267
|
}), _jsx("div", {
|
|
270
268
|
style: {
|
|
271
269
|
...TEXT.footnote,
|
|
272
|
-
|
|
270
|
+
flexShrink: 0,
|
|
271
|
+
whiteSpace: 'nowrap',
|
|
273
272
|
color: LOCKED
|
|
274
273
|
},
|
|
275
274
|
children: dateLabel
|
|
@@ -277,7 +276,7 @@ function IOSCell(props) {
|
|
|
277
276
|
}), !!body && _jsx("div", {
|
|
278
277
|
style: {
|
|
279
278
|
...TEXT.footnote,
|
|
280
|
-
...
|
|
279
|
+
...(layout === 'classic' && clamp(3)),
|
|
281
280
|
color: LOCKED
|
|
282
281
|
},
|
|
283
282
|
children: body
|
|
@@ -372,11 +371,20 @@ function AndroidCell(props) {
|
|
|
372
371
|
children: [_jsxs("div", {
|
|
373
372
|
style: {
|
|
374
373
|
...TEXT.footnote,
|
|
375
|
-
|
|
376
|
-
|
|
374
|
+
display: 'flex',
|
|
375
|
+
gap: 4
|
|
377
376
|
},
|
|
378
|
-
children: [
|
|
377
|
+
children: [_jsx("span", {
|
|
378
|
+
style: {
|
|
379
|
+
...ELLIPSIS,
|
|
380
|
+
minWidth: 0,
|
|
381
|
+
color: unread ? MAIN : LOCKED
|
|
382
|
+
},
|
|
383
|
+
children: title
|
|
384
|
+
}), _jsx("span", {
|
|
379
385
|
style: {
|
|
386
|
+
flexShrink: 0,
|
|
387
|
+
whiteSpace: 'nowrap',
|
|
380
388
|
color: LOCKED
|
|
381
389
|
},
|
|
382
390
|
children: dateLabel
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pushwoosh/websdk-common",
|
|
3
|
-
"version": "6.22.
|
|
3
|
+
"version": "6.22.2",
|
|
4
4
|
"description": "Code shared by the Pushwoosh WebSDK and the Control Panel, one entry point per module (web-popups: web popup model and renderer; subscription-widget: push subscription widget model and renderer; inbox: web inbox widget and inbox cell previews)",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.js",
|