pb-sxp-ui 1.20.13 → 1.20.15

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 (62) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +111 -111
  3. package/dist/index.cjs +1187 -383
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.css +73 -72
  6. package/dist/index.js +1187 -384
  7. package/dist/index.js.map +1 -1
  8. package/dist/index.min.cjs +7 -7
  9. package/dist/index.min.cjs.map +1 -1
  10. package/dist/index.min.js +7 -7
  11. package/dist/index.min.js.map +1 -1
  12. package/dist/pb-ui.js +1187 -383
  13. package/dist/pb-ui.js.map +1 -1
  14. package/dist/pb-ui.min.js +7 -7
  15. package/dist/pb-ui.min.js.map +1 -1
  16. package/es/core/components/DiyPortalPreview/VideoWidget.js +10 -8
  17. package/es/core/components/DiyStoryPreview/index.js +10 -4
  18. package/es/core/components/StructurePage/index.d.ts +89 -0
  19. package/es/core/components/StructurePage/index.js +700 -0
  20. package/es/core/components/SxpPageRender/LikeButton/index.js +20 -18
  21. package/es/core/components/SxpPageRender/PictureGroup/index.d.ts +5 -0
  22. package/es/core/components/SxpPageRender/PictureGroup/index.js +39 -13
  23. package/es/core/components/SxpPageRender/VideoWidget/index.js +33 -46
  24. package/es/core/components/SxpPageRender/WaterFall/index.js +4 -3
  25. package/es/core/components/SxpPageRender/fakeData.js +1 -1
  26. package/es/core/components/SxpPageRender/index.js +66 -44
  27. package/es/core/context/SxpDataSourceProvider.d.ts +5 -12
  28. package/es/core/context/SxpDataSourceProvider.js +84 -38
  29. package/es/core/hooks/useEventReport.js +6 -5
  30. package/es/core/hooks/useVisibleHeight.js +7 -7
  31. package/es/core/index.d.ts +2 -0
  32. package/es/core/index.js +1 -0
  33. package/es/core/utils/materials.d.ts +1 -1
  34. package/es/index.d.ts +1 -0
  35. package/es/index.js +1 -0
  36. package/es/materials/sxp/MultiPosts/index.js +4 -4
  37. package/es/materials/sxp/popup/CommodityDetail/index.js +4 -4
  38. package/es/materials/sxp/popup/CommodityDetailDiroNew/index.js +1 -1
  39. package/lib/core/components/DiyPortalPreview/VideoWidget.js +10 -8
  40. package/lib/core/components/DiyStoryPreview/index.js +10 -4
  41. package/lib/core/components/StructurePage/index.d.ts +89 -0
  42. package/lib/core/components/StructurePage/index.js +702 -0
  43. package/lib/core/components/SxpPageRender/LikeButton/index.js +20 -18
  44. package/lib/core/components/SxpPageRender/PictureGroup/index.d.ts +5 -0
  45. package/lib/core/components/SxpPageRender/PictureGroup/index.js +38 -12
  46. package/lib/core/components/SxpPageRender/VideoWidget/index.js +33 -46
  47. package/lib/core/components/SxpPageRender/WaterFall/index.js +4 -3
  48. package/lib/core/components/SxpPageRender/fakeData.js +1 -1
  49. package/lib/core/components/SxpPageRender/index.js +66 -44
  50. package/lib/core/context/SxpDataSourceProvider.d.ts +5 -12
  51. package/lib/core/context/SxpDataSourceProvider.js +84 -38
  52. package/lib/core/hooks/useEventReport.js +6 -5
  53. package/lib/core/hooks/useVisibleHeight.js +7 -7
  54. package/lib/core/index.d.ts +2 -0
  55. package/lib/core/index.js +6 -1
  56. package/lib/core/utils/materials.d.ts +1 -1
  57. package/lib/index.d.ts +1 -0
  58. package/lib/index.js +3 -1
  59. package/lib/materials/sxp/MultiPosts/index.js +4 -4
  60. package/lib/materials/sxp/popup/CommodityDetail/index.js +4 -4
  61. package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.js +1 -1
  62. package/package.json +111 -111
package/dist/index.css CHANGED
@@ -1,68 +1,68 @@
1
- dl,
2
- fieldset,
3
- h1,
4
- h2,
5
- h3,
6
- h4,
7
- h5,
8
- h6,
9
- ol,
10
- p,
11
- ul,
12
- div {
13
- margin: 0;
14
- padding: 0;
15
- -webkit-box-sizing: border-box;
16
- box-sizing: border-box;
17
- }
18
-
19
- button {
20
- padding: 0;
21
- /* 去除内边距 */
22
- margin: 0;
23
- /* 去除外边距 */
24
- border: none;
25
- /* 去除边框 */
26
- background: none;
27
- /* 去除背景色 */
28
- color: inherit;
29
- /* 继承父元素的文本颜色 */
30
- font: inherit;
31
- /* 继承父元素的字体样式 */
32
- cursor: pointer;
33
- /* 鼠标指针样式为手型 */
34
- outline: none;
35
- /* 去除点击时的外边框 */
36
- text-align: initial;
37
- }
38
-
39
- a {
40
- text-decoration: none;
41
- /* 清除下划线 */
42
- color: inherit;
43
- /* 继承父元素的文本颜色 */
44
- cursor: pointer;
45
- /* 鼠标指针样式为手型 */
46
- outline: none;
47
- }
48
-
49
- a:visited {
50
- color: inherit;
51
- /* 继承父元素的文本颜色 */
52
- }
53
-
54
- a:hover,
55
- a:active {
56
- text-decoration: none;
57
- /* 清除下划线 */
58
- color: inherit;
59
- /* 继承父元素的文本颜色 */
60
- }
61
-
62
- .swiper-button-next,.swiper-button-prev{
63
- color: #000;
64
- outline: none;
65
- }
1
+ dl,
2
+ fieldset,
3
+ h1,
4
+ h2,
5
+ h3,
6
+ h4,
7
+ h5,
8
+ h6,
9
+ ol,
10
+ p,
11
+ ul,
12
+ div {
13
+ margin: 0;
14
+ padding: 0;
15
+ -webkit-box-sizing: border-box;
16
+ box-sizing: border-box;
17
+ }
18
+
19
+ button {
20
+ padding: 0;
21
+ /* 去除内边距 */
22
+ margin: 0;
23
+ /* 去除外边距 */
24
+ border: none;
25
+ /* 去除边框 */
26
+ background: none;
27
+ /* 去除背景色 */
28
+ color: inherit;
29
+ /* 继承父元素的文本颜色 */
30
+ font: inherit;
31
+ /* 继承父元素的字体样式 */
32
+ cursor: pointer;
33
+ /* 鼠标指针样式为手型 */
34
+ outline: none;
35
+ /* 去除点击时的外边框 */
36
+ text-align: initial;
37
+ }
38
+
39
+ a {
40
+ text-decoration: none;
41
+ /* 清除下划线 */
42
+ color: inherit;
43
+ /* 继承父元素的文本颜色 */
44
+ cursor: pointer;
45
+ /* 鼠标指针样式为手型 */
46
+ outline: none;
47
+ }
48
+
49
+ a:visited {
50
+ color: inherit;
51
+ /* 继承父元素的文本颜色 */
52
+ }
53
+
54
+ a:hover,
55
+ a:active {
56
+ text-decoration: none;
57
+ /* 清除下划线 */
58
+ color: inherit;
59
+ /* 继承父元素的文本颜色 */
60
+ }
61
+
62
+ .swiper-button-next,.swiper-button-prev{
63
+ color: #000;
64
+ outline: none;
65
+ }
66
66
 
67
67
  .pb-appoint-form {
68
68
  position: relative;
@@ -139,7 +139,7 @@ a:active {
139
139
  }
140
140
 
141
141
  /**
142
- * Swiper 11.1.4
142
+ * Swiper 11.0.7
143
143
  * Most modern mobile touch slider and framework with hardware accelerated transitions
144
144
  * https://swiperjs.com
145
145
  *
@@ -147,7 +147,7 @@ a:active {
147
147
  *
148
148
  * Released under the MIT License
149
149
  *
150
- * Released on: May 30, 2024
150
+ * Released on: February 27, 2024
151
151
  */
152
152
 
153
153
  /* FONT_START */
@@ -1713,7 +1713,7 @@ a:active {
1713
1713
  }
1714
1714
 
1715
1715
  /**
1716
- * Swiper 11.1.4
1716
+ * Swiper 11.0.7
1717
1717
  * Most modern mobile touch slider and framework with hardware accelerated transitions
1718
1718
  * https://swiperjs.com
1719
1719
  *
@@ -1721,7 +1721,7 @@ a:active {
1721
1721
  *
1722
1722
  * Released under the MIT License
1723
1723
  *
1724
- * Released on: May 30, 2024
1724
+ * Released on: February 27, 2024
1725
1725
  */
1726
1726
  /* FONT_START */
1727
1727
  @font-face {
@@ -2438,13 +2438,14 @@ button.swiper-pagination-bullet {
2438
2438
  }
2439
2439
  .clc-pb-video-pause {
2440
2440
  position: absolute;
2441
- right: 50%;
2441
+ left: 50%;
2442
2442
  top: 50%;
2443
- -webkit-transform: translate(42px, -42px);
2444
- transform: translate(42px, -42px);
2443
+ -webkit-transform: translate(-50%, -50%);
2444
+ transform: translate(-50%, -50%);
2445
2445
  width: 84px;
2446
2446
  height: 84px;
2447
2447
  z-index: 11;
2448
+ pointer-events: none;
2448
2449
  }
2449
2450
  .swipe-item-active-bullet {
2450
2451
  background: #000 !important;