pb-sxp-ui 1.0.3-alpha.1 → 1.0.3-alpha.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.
Files changed (68) hide show
  1. package/dist/index.cjs +2373 -823
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.css +115 -112
  4. package/dist/index.js +2374 -824
  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 +2373 -823
  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/WaterFall/List.d.ts +2 -1
  19. package/es/core/components/SxpPageRender/WaterFall/List.js +24 -14
  20. package/es/core/components/SxpPageRender/WaterFall/WaterfallList.d.ts +2 -1
  21. package/es/core/components/SxpPageRender/WaterFall/WaterfallList.js +13 -11
  22. package/es/core/components/SxpPageRender/WaterFall/index.d.ts +2 -1
  23. package/es/core/components/SxpPageRender/WaterFall/index.js +4 -3
  24. package/es/core/components/SxpPageRender/WaterFall/preview.json +1242 -0
  25. package/es/core/components/SxpPageRender/index.d.ts +2 -0
  26. package/es/core/components/SxpPageRender/index.js +5 -5
  27. package/es/core/context/EditorDataProvider.d.ts +3 -1
  28. package/es/core/context/EditorDataProvider.js +5 -2
  29. package/es/core/context/SxpDataSourceProvider.d.ts +2 -0
  30. package/es/core/context/SxpDataSourceProvider.js +7 -3
  31. package/es/materials/sxp/HashTag/index.d.ts +14 -0
  32. package/es/materials/sxp/HashTag/index.js +6 -0
  33. package/es/materials/sxp/HashTag/material.d.ts +2 -0
  34. package/es/materials/sxp/HashTag/material.js +52 -0
  35. package/es/materials/sxp/HashTag/settingRender.d.ts +122 -0
  36. package/es/materials/sxp/HashTag/settingRender.js +153 -0
  37. package/es/materials/sxp/index.d.ts +1 -0
  38. package/es/materials/sxp/index.js +1 -0
  39. package/es/materials/sxp/template/components/settingRender.d.ts +15 -0
  40. package/es/materials/sxp/template/components/settingRender.js +17 -0
  41. package/lib/core/components/SxpPageRender/Hashtag/index.d.ts +2 -1
  42. package/lib/core/components/SxpPageRender/Hashtag/index.js +2 -2
  43. package/lib/core/components/SxpPageRender/Navbar.d.ts +1 -0
  44. package/lib/core/components/SxpPageRender/Navbar.js +3 -2
  45. package/lib/core/components/SxpPageRender/WaterFall/List.d.ts +2 -1
  46. package/lib/core/components/SxpPageRender/WaterFall/List.js +23 -14
  47. package/lib/core/components/SxpPageRender/WaterFall/WaterfallList.d.ts +2 -1
  48. package/lib/core/components/SxpPageRender/WaterFall/WaterfallList.js +12 -11
  49. package/lib/core/components/SxpPageRender/WaterFall/index.d.ts +2 -1
  50. package/lib/core/components/SxpPageRender/WaterFall/index.js +4 -3
  51. package/lib/core/components/SxpPageRender/WaterFall/preview.json +1242 -0
  52. package/lib/core/components/SxpPageRender/index.d.ts +2 -0
  53. package/lib/core/components/SxpPageRender/index.js +5 -5
  54. package/lib/core/context/EditorDataProvider.d.ts +3 -1
  55. package/lib/core/context/EditorDataProvider.js +4 -1
  56. package/lib/core/context/SxpDataSourceProvider.d.ts +2 -0
  57. package/lib/core/context/SxpDataSourceProvider.js +7 -3
  58. package/lib/materials/sxp/HashTag/index.d.ts +14 -0
  59. package/lib/materials/sxp/HashTag/index.js +9 -0
  60. package/lib/materials/sxp/HashTag/material.d.ts +2 -0
  61. package/lib/materials/sxp/HashTag/material.js +56 -0
  62. package/lib/materials/sxp/HashTag/settingRender.d.ts +122 -0
  63. package/lib/materials/sxp/HashTag/settingRender.js +155 -0
  64. package/lib/materials/sxp/index.d.ts +1 -0
  65. package/lib/materials/sxp/index.js +1 -0
  66. package/lib/materials/sxp/template/components/settingRender.d.ts +15 -0
  67. package/lib/materials/sxp/template/components/settingRender.js +17 -0
  68. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -633,6 +633,121 @@
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
+ display: block;
673
+ font-size: 12px;
674
+ text-decoration: underline;
675
+ cursor: pointer;
676
+ }
677
+ .list-content {
678
+ display: -webkit-box;
679
+ display: -webkit-flex;
680
+ display: -ms-flexbox;
681
+ display: flex;
682
+ -webkit-flex-wrap: wrap;
683
+ -ms-flex-wrap: wrap;
684
+ flex-wrap: wrap;
685
+ -webkit-box-pack: justify;
686
+ -webkit-justify-content: space-between;
687
+ -ms-flex-pack: justify;
688
+ justify-content: space-between;
689
+ }
690
+ .list-content-listItem {
691
+ width: 49.5%;
692
+ margin-bottom: 40px;
693
+ cursor: pointer;
694
+ }
695
+ .list-content-listItem-picture {
696
+ position: relative;
697
+ width: 100%;
698
+ padding-bottom: 100%;
699
+ overflow: hidden;
700
+ }
701
+ .list-content-listItem-picture-img {
702
+ position: absolute;
703
+ width: 100%;
704
+ height: 100%;
705
+ -o-object-fit: cover;
706
+ object-fit: cover;
707
+ }
708
+ .list-content-listItem-info {
709
+ padding: 8px;
710
+ }
711
+ .list-content-listItem-info-title {
712
+ font-size: 13px;
713
+ line-height: 20px;
714
+ line-clamp: 2;
715
+ overflow: hidden;
716
+ text-overflow: ellipsis;
717
+ display: -webkit-box;
718
+ -webkit-box-orient: vertical;
719
+ -webkit-line-clamp: 2;
720
+ }
721
+ .list-content-listItem-info-nowrap {
722
+ line-clamp: 1 !important;
723
+ -webkit-line-clamp: 1 !important;
724
+ }
725
+ .list-content-listItem-info-price {
726
+ font-size: 13px;
727
+ line-height: 20px;
728
+ font-weight: bold;
729
+ }
730
+ .list-bottom {
731
+ padding: 20px;
732
+ position: absolute;
733
+ left: 0;
734
+ right: 0;
735
+ bottom: 0;
736
+ background-color: #fff;
737
+ }
738
+ .list-bottom-btn {
739
+ height: 52px;
740
+ width: 100%;
741
+ background: #000000;
742
+ border-radius: 25px;
743
+ font-size: 13px;
744
+ line-height: 52px;
745
+ font-weight: bold;
746
+ color: #fff;
747
+ border: none;
748
+ cursor: pointer;
749
+ }
750
+
636
751
  /**
637
752
  * Swiper 11.0.7
638
753
  * Most modern mobile touch slider and framework with hardware accelerated transitions
@@ -1563,115 +1678,3 @@ button.swiper-pagination-bullet {
1563
1678
  -webkit-animation: popIn linear forwards;
1564
1679
  animation: popIn linear forwards;
1565
1680
  }
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
- }