pb-sxp-ui 1.0.3-alpha.1 → 1.0.3-alpha.3

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 (74) hide show
  1. package/dist/index.cjs +2403 -825
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.css +114 -112
  4. package/dist/index.js +2404 -826
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.cjs +3 -3
  7. package/dist/index.min.cjs.map +1 -1
  8. package/dist/index.min.js +3 -3
  9. package/dist/index.min.js.map +1 -1
  10. package/dist/pb-ui.js +2403 -825
  11. package/dist/pb-ui.js.map +1 -1
  12. package/dist/pb-ui.min.js +3 -3
  13. package/dist/pb-ui.min.js.map +1 -1
  14. package/es/core/components/SxpPageRender/Hashtag/index.d.ts +2 -1
  15. package/es/core/components/SxpPageRender/Hashtag/index.js +2 -2
  16. package/es/core/components/SxpPageRender/Navbar.d.ts +1 -0
  17. package/es/core/components/SxpPageRender/Navbar.js +3 -2
  18. package/es/core/components/SxpPageRender/PictureGroup/Picture.js +31 -3
  19. package/es/core/components/SxpPageRender/VideoWidget/index.js +21 -30
  20. package/es/core/components/SxpPageRender/WaterFall/List.d.ts +2 -1
  21. package/es/core/components/SxpPageRender/WaterFall/List.js +24 -14
  22. package/es/core/components/SxpPageRender/WaterFall/WaterfallList.d.ts +2 -1
  23. package/es/core/components/SxpPageRender/WaterFall/WaterfallList.js +13 -11
  24. package/es/core/components/SxpPageRender/WaterFall/index.d.ts +2 -1
  25. package/es/core/components/SxpPageRender/WaterFall/index.js +4 -3
  26. package/es/core/components/SxpPageRender/WaterFall/preview.json +1242 -0
  27. package/es/core/components/SxpPageRender/index.d.ts +2 -0
  28. package/es/core/components/SxpPageRender/index.js +5 -5
  29. package/es/core/context/EditorDataProvider.d.ts +3 -1
  30. package/es/core/context/EditorDataProvider.js +5 -2
  31. package/es/core/context/SxpDataSourceProvider.d.ts +2 -0
  32. package/es/core/context/SxpDataSourceProvider.js +7 -3
  33. package/es/materials/sxp/HashTag/index.d.ts +14 -0
  34. package/es/materials/sxp/HashTag/index.js +6 -0
  35. package/es/materials/sxp/HashTag/material.d.ts +2 -0
  36. package/es/materials/sxp/HashTag/material.js +52 -0
  37. package/es/materials/sxp/HashTag/settingRender.d.ts +122 -0
  38. package/es/materials/sxp/HashTag/settingRender.js +153 -0
  39. package/es/materials/sxp/index.d.ts +1 -0
  40. package/es/materials/sxp/index.js +1 -0
  41. package/es/materials/sxp/popup/CommodityDetailDiroNew/index.js +4 -3
  42. package/es/materials/sxp/template/components/settingRender.d.ts +15 -0
  43. package/es/materials/sxp/template/components/settingRender.js +17 -0
  44. package/lib/core/components/SxpPageRender/Hashtag/index.d.ts +2 -1
  45. package/lib/core/components/SxpPageRender/Hashtag/index.js +2 -2
  46. package/lib/core/components/SxpPageRender/Navbar.d.ts +1 -0
  47. package/lib/core/components/SxpPageRender/Navbar.js +3 -2
  48. package/lib/core/components/SxpPageRender/PictureGroup/Picture.js +30 -2
  49. package/lib/core/components/SxpPageRender/VideoWidget/index.js +21 -30
  50. package/lib/core/components/SxpPageRender/WaterFall/List.d.ts +2 -1
  51. package/lib/core/components/SxpPageRender/WaterFall/List.js +23 -14
  52. package/lib/core/components/SxpPageRender/WaterFall/WaterfallList.d.ts +2 -1
  53. package/lib/core/components/SxpPageRender/WaterFall/WaterfallList.js +12 -11
  54. package/lib/core/components/SxpPageRender/WaterFall/index.d.ts +2 -1
  55. package/lib/core/components/SxpPageRender/WaterFall/index.js +4 -3
  56. package/lib/core/components/SxpPageRender/WaterFall/preview.json +1242 -0
  57. package/lib/core/components/SxpPageRender/index.d.ts +2 -0
  58. package/lib/core/components/SxpPageRender/index.js +5 -5
  59. package/lib/core/context/EditorDataProvider.d.ts +3 -1
  60. package/lib/core/context/EditorDataProvider.js +4 -1
  61. package/lib/core/context/SxpDataSourceProvider.d.ts +2 -0
  62. package/lib/core/context/SxpDataSourceProvider.js +7 -3
  63. package/lib/materials/sxp/HashTag/index.d.ts +14 -0
  64. package/lib/materials/sxp/HashTag/index.js +9 -0
  65. package/lib/materials/sxp/HashTag/material.d.ts +2 -0
  66. package/lib/materials/sxp/HashTag/material.js +56 -0
  67. package/lib/materials/sxp/HashTag/settingRender.d.ts +122 -0
  68. package/lib/materials/sxp/HashTag/settingRender.js +155 -0
  69. package/lib/materials/sxp/index.d.ts +1 -0
  70. package/lib/materials/sxp/index.js +1 -0
  71. package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.js +4 -3
  72. package/lib/materials/sxp/template/components/settingRender.d.ts +15 -0
  73. package/lib/materials/sxp/template/components/settingRender.js +17 -0
  74. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -633,6 +633,120 @@
633
633
  line-height: 20px;
634
634
  }
635
635
 
636
+ .waterfall {
637
+ position: absolute;
638
+ left: 0;
639
+ right: 0;
640
+ top: 0;
641
+ bottom: 0;
642
+ background: #fff;
643
+ z-index: 10;
644
+ }
645
+
646
+ .list {
647
+ position: absolute;
648
+ bottom: 0;
649
+ left: 0;
650
+ right: 0;
651
+ top: 70px;
652
+ }
653
+ .list-scroll {
654
+ position: absolute;
655
+ top: 0;
656
+ width: 100%;
657
+ overflow: auto;
658
+ }
659
+ .list-info {
660
+ font-size: 13px;
661
+ line-height: 20px;
662
+ padding: 0 54px;
663
+ text-align: center;
664
+ }
665
+ .list-collection {
666
+ margin-top: 4px;
667
+ margin-left: auto;
668
+ margin-right: auto;
669
+ margin-bottom: 40px;
670
+ text-align: center;
671
+ color: #757575;
672
+ font-size: 12px;
673
+ text-decoration: underline;
674
+ cursor: pointer;
675
+ }
676
+ .list-content {
677
+ display: -webkit-box;
678
+ display: -webkit-flex;
679
+ display: -ms-flexbox;
680
+ display: flex;
681
+ -webkit-flex-wrap: wrap;
682
+ -ms-flex-wrap: wrap;
683
+ flex-wrap: wrap;
684
+ -webkit-box-pack: justify;
685
+ -webkit-justify-content: space-between;
686
+ -ms-flex-pack: justify;
687
+ justify-content: space-between;
688
+ }
689
+ .list-content-listItem {
690
+ width: 49.5%;
691
+ margin-bottom: 40px;
692
+ cursor: pointer;
693
+ }
694
+ .list-content-listItem-picture {
695
+ position: relative;
696
+ width: 100%;
697
+ padding-bottom: 100%;
698
+ overflow: hidden;
699
+ }
700
+ .list-content-listItem-picture-img {
701
+ position: absolute;
702
+ width: 100%;
703
+ height: 100%;
704
+ -o-object-fit: cover;
705
+ object-fit: cover;
706
+ }
707
+ .list-content-listItem-info {
708
+ padding: 8px;
709
+ }
710
+ .list-content-listItem-info-title {
711
+ font-size: 13px;
712
+ line-height: 20px;
713
+ line-clamp: 2;
714
+ overflow: hidden;
715
+ text-overflow: ellipsis;
716
+ display: -webkit-box;
717
+ -webkit-box-orient: vertical;
718
+ -webkit-line-clamp: 2;
719
+ }
720
+ .list-content-listItem-info-nowrap {
721
+ line-clamp: 1 !important;
722
+ -webkit-line-clamp: 1 !important;
723
+ }
724
+ .list-content-listItem-info-price {
725
+ font-size: 13px;
726
+ line-height: 20px;
727
+ font-weight: bold;
728
+ }
729
+ .list-bottom {
730
+ padding: 20px;
731
+ position: absolute;
732
+ left: 0;
733
+ right: 0;
734
+ bottom: 0;
735
+ background-color: #fff;
736
+ }
737
+ .list-bottom-btn {
738
+ height: 52px;
739
+ width: 100%;
740
+ background: #000000;
741
+ border-radius: 25px;
742
+ font-size: 13px;
743
+ line-height: 52px;
744
+ font-weight: bold;
745
+ color: #fff;
746
+ border: none;
747
+ cursor: pointer;
748
+ }
749
+
636
750
  /**
637
751
  * Swiper 11.0.7
638
752
  * Most modern mobile touch slider and framework with hardware accelerated transitions
@@ -1563,115 +1677,3 @@ button.swiper-pagination-bullet {
1563
1677
  -webkit-animation: popIn linear forwards;
1564
1678
  animation: popIn linear forwards;
1565
1679
  }
1566
-
1567
- .waterfall {
1568
- position: absolute;
1569
- left: 0;
1570
- right: 0;
1571
- top: 0;
1572
- bottom: 0;
1573
- background: #fff;
1574
- z-index: 10;
1575
- }
1576
-
1577
- .list {
1578
- position: absolute;
1579
- bottom: 0;
1580
- left: 0;
1581
- right: 0;
1582
- top: 70px;
1583
- }
1584
- .list-scroll {
1585
- position: absolute;
1586
- top: 0;
1587
- width: 100%;
1588
- overflow: auto;
1589
- }
1590
- .list-info {
1591
- font-size: 13px;
1592
- line-height: 20px;
1593
- padding: 0 54px;
1594
- text-align: center;
1595
- }
1596
- .list-collection {
1597
- margin: 4px auto 40px;
1598
- text-align: center;
1599
- color: #757575;
1600
- display: block;
1601
- font-size: 12px;
1602
- text-decoration: underline;
1603
- cursor: pointer;
1604
- }
1605
- .list-content {
1606
- display: -webkit-box;
1607
- display: -webkit-flex;
1608
- display: -ms-flexbox;
1609
- display: flex;
1610
- -webkit-flex-wrap: wrap;
1611
- -ms-flex-wrap: wrap;
1612
- flex-wrap: wrap;
1613
- -webkit-box-pack: justify;
1614
- -webkit-justify-content: space-between;
1615
- -ms-flex-pack: justify;
1616
- justify-content: space-between;
1617
- }
1618
- .list-content-listItem {
1619
- width: 49.5%;
1620
- margin-bottom: 40px;
1621
- cursor: pointer;
1622
- }
1623
- .list-content-listItem-picture {
1624
- position: relative;
1625
- width: 100%;
1626
- padding-bottom: 100%;
1627
- overflow: hidden;
1628
- }
1629
- .list-content-listItem-picture-img {
1630
- position: absolute;
1631
- width: 100%;
1632
- height: 100%;
1633
- -o-object-fit: cover;
1634
- object-fit: cover;
1635
- }
1636
- .list-content-listItem-info {
1637
- padding: 8px;
1638
- }
1639
- .list-content-listItem-info-title {
1640
- font-size: 13px;
1641
- line-height: 20px;
1642
- line-clamp: 2;
1643
- overflow: hidden;
1644
- text-overflow: ellipsis;
1645
- display: -webkit-box;
1646
- -webkit-box-orient: vertical;
1647
- -webkit-line-clamp: 2;
1648
- }
1649
- .list-content-listItem-info-nowrap {
1650
- line-clamp: 1 !important;
1651
- -webkit-line-clamp: 1 !important;
1652
- }
1653
- .list-content-listItem-info-price {
1654
- font-size: 13px;
1655
- line-height: 20px;
1656
- font-weight: bold;
1657
- }
1658
- .list-bottom {
1659
- padding: 20px;
1660
- position: absolute;
1661
- left: 0;
1662
- right: 0;
1663
- bottom: 0;
1664
- background-color: #fff;
1665
- }
1666
- .list-bottom-btn {
1667
- height: 52px;
1668
- width: 100%;
1669
- background: #000000;
1670
- border-radius: 25px;
1671
- font-size: 13px;
1672
- line-height: 52px;
1673
- font-weight: bold;
1674
- color: #fff;
1675
- border: none;
1676
- cursor: pointer;
1677
- }