pb-sxp-ui 1.0.42 → 1.0.43

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 (60) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +111 -111
  3. package/dist/index.cjs +237 -600
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.css +4 -54
  6. package/dist/index.js +237 -599
  7. package/dist/index.js.map +1 -1
  8. package/dist/index.min.cjs +3 -4
  9. package/dist/index.min.cjs.map +1 -1
  10. package/dist/index.min.js +3 -4
  11. package/dist/index.min.js.map +1 -1
  12. package/dist/pb-ui.js +241 -603
  13. package/dist/pb-ui.js.map +1 -1
  14. package/dist/pb-ui.min.js +3 -4
  15. package/dist/pb-ui.min.js.map +1 -1
  16. package/es/core/components/SxpPageCore/index.js +2 -2
  17. package/es/core/components/SxpPageRender/Nudge/index.js +5 -6
  18. package/es/core/components/SxpPageRender/VideoWidget/index.d.ts +1 -0
  19. package/es/core/components/SxpPageRender/VideoWidget/index.js +119 -88
  20. package/es/core/components/SxpPageRender/WaterFall/index.js +1 -1
  21. package/es/core/components/SxpPageRender/index.d.ts +0 -2
  22. package/es/core/components/SxpPageRender/index.js +63 -25
  23. package/es/core/context/SxpDataSourceProvider.d.ts +2 -3
  24. package/es/core/context/SxpDataSourceProvider.js +7 -28
  25. package/es/core/hooks/useEventReport.js +4 -4
  26. package/es/index.d.ts +0 -1
  27. package/es/index.js +0 -1
  28. package/es/materials/sxp/popup/CommodityDetail/index.js +10 -10
  29. package/es/materials/sxp/popup/CommodityDetailDiroNew/index.js +10 -10
  30. package/lib/core/components/SxpPageCore/index.js +2 -2
  31. package/lib/core/components/SxpPageRender/Nudge/index.js +5 -6
  32. package/lib/core/components/SxpPageRender/VideoWidget/index.d.ts +1 -0
  33. package/lib/core/components/SxpPageRender/VideoWidget/index.js +119 -88
  34. package/lib/core/components/SxpPageRender/WaterFall/index.js +1 -1
  35. package/lib/core/components/SxpPageRender/index.d.ts +0 -2
  36. package/lib/core/components/SxpPageRender/index.js +63 -25
  37. package/lib/core/context/SxpDataSourceProvider.d.ts +2 -3
  38. package/lib/core/context/SxpDataSourceProvider.js +7 -28
  39. package/lib/core/hooks/useEventReport.js +4 -4
  40. package/lib/index.d.ts +0 -1
  41. package/lib/index.js +1 -3
  42. package/lib/materials/sxp/popup/CommodityDetail/index.js +10 -10
  43. package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.js +10 -10
  44. package/package.json +114 -115
  45. package/es/core/components/DiyPortalPreview/PictureGroup.d.ts +0 -13
  46. package/es/core/components/DiyPortalPreview/PictureGroup.js +0 -11
  47. package/es/core/components/DiyPortalPreview/VideoWidget.d.ts +0 -15
  48. package/es/core/components/DiyPortalPreview/VideoWidget.js +0 -236
  49. package/es/core/components/DiyPortalPreview/index.d.ts +0 -6
  50. package/es/core/components/DiyPortalPreview/index.js +0 -127
  51. package/es/core/components/SxpPageRender/Tagbar.d.ts +0 -7
  52. package/es/core/components/SxpPageRender/Tagbar.js +0 -37
  53. package/lib/core/components/DiyPortalPreview/PictureGroup.d.ts +0 -13
  54. package/lib/core/components/DiyPortalPreview/PictureGroup.js +0 -14
  55. package/lib/core/components/DiyPortalPreview/VideoWidget.d.ts +0 -15
  56. package/lib/core/components/DiyPortalPreview/VideoWidget.js +0 -239
  57. package/lib/core/components/DiyPortalPreview/index.d.ts +0 -6
  58. package/lib/core/components/DiyPortalPreview/index.js +0 -130
  59. package/lib/core/components/SxpPageRender/Tagbar.d.ts +0 -7
  60. package/lib/core/components/SxpPageRender/Tagbar.js +0 -40
package/dist/index.css CHANGED
@@ -62,6 +62,7 @@
62
62
 
63
63
  .pb-commondity {
64
64
  position: relative;
65
+ height: 100%;
65
66
  }
66
67
  .pb-commondity-content {
67
68
  padding: 21px 19px 80px;
@@ -1287,51 +1288,6 @@ button.swiper-pagination-bullet {
1287
1288
  height: 100%;
1288
1289
  overflow: hidden;
1289
1290
  }
1290
- .clc-sxp-tagbar {
1291
- z-index: 8;
1292
- background-color: #fff;
1293
- overflow-x: auto;
1294
- padding: 0 12px;
1295
- text-align: center;
1296
- }
1297
- .clc-sxp-tagbar-list {
1298
- display: -webkit-inline-box;
1299
- display: -webkit-inline-flex;
1300
- display: -ms-inline-flexbox;
1301
- display: inline-flex;
1302
- -webkit-box-align: center;
1303
- -webkit-align-items: center;
1304
- -ms-flex-align: center;
1305
- align-items: center;
1306
- -webkit-flex-wrap: nowrap;
1307
- -ms-flex-wrap: nowrap;
1308
- flex-wrap: nowrap;
1309
- height: 100%;
1310
- }
1311
- .clc-sxp-tagbar-list-item {
1312
- cursor: pointer;
1313
- font-size: 14px;
1314
- text-wrap: nowrap;
1315
- }
1316
- .clc-sxp-tagbar-list-item-active {
1317
- position: relative;
1318
- }
1319
- .clc-sxp-tagbar-list-item-active::after {
1320
- content: '';
1321
- position: absolute;
1322
- bottom: -2px;
1323
- left: 50%;
1324
- -webkit-transform: translateX(-8px);
1325
- transform: translateX(-8px);
1326
- height: 1px;
1327
- border-radius: 6px;
1328
- width: 18px;
1329
- background-color: #000;
1330
- }
1331
- .clc-sxp-tagbar::-webkit-scrollbar {
1332
- width: 0;
1333
- height: 0;
1334
- }
1335
1291
  .clc-sxp-like-button {
1336
1292
  position: absolute;
1337
1293
  right: 0;
@@ -1354,10 +1310,10 @@ button.swiper-pagination-bullet {
1354
1310
  text-align: center;
1355
1311
  }
1356
1312
  .clc-sxp-logo-banner img {
1357
- height: 100%;
1313
+ height: 45px;
1358
1314
  width: 50%;
1359
- -o-object-fit: cover;
1360
- object-fit: cover;
1315
+ -o-object-fit: contain;
1316
+ object-fit: contain;
1361
1317
  }
1362
1318
  .clc-sxp-bottom {
1363
1319
  z-index: 10;
@@ -1459,12 +1415,6 @@ button.swiper-pagination-bullet {
1459
1415
  -webkit-transform: translate3d(0px, 0px, 0px);
1460
1416
  transform: translate3d(0px, 0px, 0px);
1461
1417
  }
1462
- .video-container video {
1463
- width: 100%;
1464
- height: 100%;
1465
- -o-object-fit: cover;
1466
- object-fit: cover;
1467
- }
1468
1418
  .modal-bg {
1469
1419
  position: fixed;
1470
1420
  left: 0;