@pelcro/react-pelcro-js 4.0.0-alpha.35 → 4.0.0-alpha.37
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/dist/index.cjs.js +408 -158
- package/dist/index.esm.js +408 -159
- package/dist/pelcro.css +79 -193
- package/package.json +1 -1
package/dist/pelcro.css
CHANGED
|
@@ -743,9 +743,17 @@ Add the correct display in Chrome and Safari.
|
|
|
743
743
|
|
|
744
744
|
.pelcro-root .pelcro-modal{
|
|
745
745
|
position: absolute;
|
|
746
|
-
|
|
746
|
+
bottom: 0px;
|
|
747
747
|
display: flex;
|
|
748
748
|
max-width: 32rem;
|
|
749
|
+
--tw-translate-x: 0;
|
|
750
|
+
--tw-translate-y: 0;
|
|
751
|
+
--tw-rotate: 0;
|
|
752
|
+
--tw-skew-x: 0;
|
|
753
|
+
--tw-skew-y: 0;
|
|
754
|
+
--tw-scale-x: 1;
|
|
755
|
+
--tw-scale-y: 1;
|
|
756
|
+
transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
749
757
|
flex-direction: column;
|
|
750
758
|
align-items: center;
|
|
751
759
|
overflow: hidden;
|
|
@@ -756,7 +764,8 @@ Add the correct display in Chrome and Safari.
|
|
|
756
764
|
|
|
757
765
|
@media (min-width: 768px){
|
|
758
766
|
.pelcro-root .pelcro-modal{
|
|
759
|
-
|
|
767
|
+
bottom: 50%;
|
|
768
|
+
--tw-translate-y: 50%;
|
|
760
769
|
}
|
|
761
770
|
}
|
|
762
771
|
|
|
@@ -767,7 +776,7 @@ Add the correct display in Chrome and Safari.
|
|
|
767
776
|
.pelcro-root .pelcro-modal-header {
|
|
768
777
|
position: relative;
|
|
769
778
|
display: flex;
|
|
770
|
-
min-height:
|
|
779
|
+
min-height: 7rem;
|
|
771
780
|
flex-direction: column;
|
|
772
781
|
border-bottom-width: 2px;
|
|
773
782
|
--tw-bg-opacity: 1;
|
|
@@ -838,7 +847,6 @@ Add the correct display in Chrome and Safari.
|
|
|
838
847
|
padding-left: 0.5rem;
|
|
839
848
|
padding-right: 0.5rem;
|
|
840
849
|
padding-top: 0.5rem;
|
|
841
|
-
padding-bottom: 0.5rem;
|
|
842
850
|
}
|
|
843
851
|
|
|
844
852
|
@media (min-width: 768px){
|
|
@@ -855,7 +863,10 @@ Add the correct display in Chrome and Safari.
|
|
|
855
863
|
justify-content: center;
|
|
856
864
|
--tw-bg-opacity: 1;
|
|
857
865
|
background-color: rgba(243, 244, 246, var(--tw-bg-opacity));
|
|
858
|
-
padding: 1rem;
|
|
866
|
+
padding-left: 1rem;
|
|
867
|
+
padding-right: 1rem;
|
|
868
|
+
padding-top: 2.5rem;
|
|
869
|
+
padding-bottom: 2.5rem;
|
|
859
870
|
font-size: 0.875rem;
|
|
860
871
|
line-height: 1.25rem;
|
|
861
872
|
}
|
|
@@ -1504,6 +1515,8 @@ Add the correct display in Chrome and Safari.
|
|
|
1504
1515
|
display: block;
|
|
1505
1516
|
}
|
|
1506
1517
|
|
|
1518
|
+
/* Slider */
|
|
1519
|
+
|
|
1507
1520
|
.pelcro-root .pelcro-shop-product-image {
|
|
1508
1521
|
max-width: 13rem;
|
|
1509
1522
|
}
|
|
@@ -1646,10 +1659,6 @@ Add the correct display in Chrome and Safari.
|
|
|
1646
1659
|
display: flex !important;
|
|
1647
1660
|
}
|
|
1648
1661
|
|
|
1649
|
-
.pelcro-root .pelcro-select-plan-radio {
|
|
1650
|
-
margin-top: 0.4rem;
|
|
1651
|
-
}
|
|
1652
|
-
|
|
1653
1662
|
.pelcro-root .pelcro-product:before {
|
|
1654
1663
|
content: "";
|
|
1655
1664
|
position: absolute;
|
|
@@ -1660,51 +1669,17 @@ Add the correct display in Chrome and Safari.
|
|
|
1660
1669
|
background-color: hsl(var(--plc-primary-hue), var(--plc-primary-saturation), var(--plc-primary-lightness));
|
|
1661
1670
|
}
|
|
1662
1671
|
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
.pelcro-root .productTabs .tabs::-webkit-scrollbar {
|
|
1674
|
-
width: 15px;
|
|
1675
|
-
height: 3px;
|
|
1676
|
-
}
|
|
1677
|
-
|
|
1678
|
-
.pelcro-root .productTabs .tabs::-webkit-scrollbar-track {
|
|
1679
|
-
background: lightGrey;
|
|
1680
|
-
border-radius: 3px;
|
|
1681
|
-
}
|
|
1682
|
-
|
|
1683
|
-
.pelcro-root .productTabs .tabs::-webkit-scrollbar-thumb {
|
|
1684
|
-
background-color: hsl(var(--plc-primary-hue), var(--plc-primary-saturation), var(--plc-primary-lightness));
|
|
1685
|
-
border-radius: 14px;
|
|
1686
|
-
}
|
|
1687
|
-
|
|
1688
|
-
.pelcro-root .productTabs .tabs li:first-child {
|
|
1689
|
-
margin-left: auto;
|
|
1690
|
-
}
|
|
1691
|
-
|
|
1692
|
-
.pelcro-root .productTabs .tabs li:last-child {
|
|
1693
|
-
margin-right: auto;
|
|
1694
|
-
}
|
|
1695
|
-
|
|
1696
|
-
.pelcro-root .productTabs .tabs li#activeTab button {
|
|
1697
|
-
border-color: hsl(var(--plc-primary-hue), var(--plc-primary-saturation), calc(var(--plc-primary-lightness) - 30%));
|
|
1698
|
-
background-color: hsl(var(--plc-primary-hue), var(--plc-primary-saturation), var(--plc-primary-lightness));
|
|
1699
|
-
--tw-text-opacity: 1;
|
|
1700
|
-
color: rgba(255, 255, 255, var(--tw-text-opacity));
|
|
1672
|
+
.pelcro-root .productTabs:before {
|
|
1673
|
+
content: "";
|
|
1674
|
+
width: calc(100% - 5.5rem);
|
|
1675
|
+
left: 2.75rem;
|
|
1676
|
+
position: absolute;
|
|
1677
|
+
bottom: 0.125rem;
|
|
1678
|
+
height: 1px;
|
|
1679
|
+
--tw-bg-opacity: 1;
|
|
1680
|
+
background-color: rgba(209, 213, 219, var(--tw-bg-opacity));
|
|
1701
1681
|
}
|
|
1702
1682
|
|
|
1703
|
-
/* .pelcro-root .productTabs .tabs li#activeTab:after {
|
|
1704
|
-
content: "";
|
|
1705
|
-
@apply plc-h-1 plc-bg-primary-800 plc-w-full plc-absolute plc-bottom-0 plc-left-0 plc-block;
|
|
1706
|
-
} */
|
|
1707
|
-
|
|
1708
1683
|
.pelcro-root .selectedProduct img {
|
|
1709
1684
|
max-width: 150px;
|
|
1710
1685
|
height: auto;
|
|
@@ -1744,137 +1719,6 @@ Add the correct display in Chrome and Safari.
|
|
|
1744
1719
|
|
|
1745
1720
|
/* used by multiple input sub-components */
|
|
1746
1721
|
|
|
1747
|
-
/* Slider */
|
|
1748
|
-
|
|
1749
|
-
.pelcro-root .slick-slider {
|
|
1750
|
-
position: relative;
|
|
1751
|
-
display: block;
|
|
1752
|
-
box-sizing: border-box;
|
|
1753
|
-
-webkit-user-select: none;
|
|
1754
|
-
user-select: none;
|
|
1755
|
-
touch-action: pan-y;
|
|
1756
|
-
}
|
|
1757
|
-
|
|
1758
|
-
.pelcro-root .slick-list {
|
|
1759
|
-
position: relative;
|
|
1760
|
-
display: block;
|
|
1761
|
-
overflow: hidden;
|
|
1762
|
-
padding: 0;
|
|
1763
|
-
/* margin: 0 -10px; */
|
|
1764
|
-
}
|
|
1765
|
-
|
|
1766
|
-
.pelcro-root .slick-list:focus {
|
|
1767
|
-
outline: none;
|
|
1768
|
-
}
|
|
1769
|
-
|
|
1770
|
-
.pelcro-root .slick-list.dragging {
|
|
1771
|
-
cursor: pointer;
|
|
1772
|
-
}
|
|
1773
|
-
|
|
1774
|
-
.pelcro-root .slick-slider .slick-track,
|
|
1775
|
-
.pelcro-root .slick-slider .slick-list {
|
|
1776
|
-
transform: translate3d(0, 0, 0);
|
|
1777
|
-
}
|
|
1778
|
-
|
|
1779
|
-
.pelcro-root .slick-track {
|
|
1780
|
-
position: relative;
|
|
1781
|
-
top: 0;
|
|
1782
|
-
left: 0;
|
|
1783
|
-
display: flex;
|
|
1784
|
-
align-items: stretch;
|
|
1785
|
-
}
|
|
1786
|
-
|
|
1787
|
-
.pelcro-root .slick-track:before,
|
|
1788
|
-
.pelcro-root .slick-track:after {
|
|
1789
|
-
display: table;
|
|
1790
|
-
content: "";
|
|
1791
|
-
}
|
|
1792
|
-
|
|
1793
|
-
.pelcro-root .slick-track:after {
|
|
1794
|
-
clear: both;
|
|
1795
|
-
}
|
|
1796
|
-
|
|
1797
|
-
.pelcro-root .slick-loading .slick-track {
|
|
1798
|
-
visibility: hidden;
|
|
1799
|
-
}
|
|
1800
|
-
|
|
1801
|
-
.pelcro-root .slick-slide {
|
|
1802
|
-
display: flex !important;
|
|
1803
|
-
align-self: stretch;
|
|
1804
|
-
height: unset;
|
|
1805
|
-
margin: 0 10px;
|
|
1806
|
-
}
|
|
1807
|
-
|
|
1808
|
-
.pelcro-root .slick-slide > div {
|
|
1809
|
-
display: flex;
|
|
1810
|
-
align-self: stretch;
|
|
1811
|
-
width: 100%;
|
|
1812
|
-
height: 100%;
|
|
1813
|
-
}
|
|
1814
|
-
|
|
1815
|
-
.pelcro-root .slick-slide img {
|
|
1816
|
-
display: block;
|
|
1817
|
-
}
|
|
1818
|
-
|
|
1819
|
-
.pelcro-root .slick-slide.slick-loading img {
|
|
1820
|
-
display: none;
|
|
1821
|
-
}
|
|
1822
|
-
|
|
1823
|
-
.pelcro-root .slick-slide.dragging img {
|
|
1824
|
-
pointer-events: none;
|
|
1825
|
-
}
|
|
1826
|
-
|
|
1827
|
-
.pelcro-root .slick-initialized .slick-slide {
|
|
1828
|
-
display: block;
|
|
1829
|
-
}
|
|
1830
|
-
|
|
1831
|
-
.pelcro-root .slick-loading .slick-slide {
|
|
1832
|
-
visibility: hidden;
|
|
1833
|
-
}
|
|
1834
|
-
|
|
1835
|
-
.pelcro-root .slick-vertical .slick-slide {
|
|
1836
|
-
display: block;
|
|
1837
|
-
height: auto;
|
|
1838
|
-
border: 1px solid transparent;
|
|
1839
|
-
}
|
|
1840
|
-
|
|
1841
|
-
.pelcro-root .slick-arrow.slick-hidden {
|
|
1842
|
-
display: none;
|
|
1843
|
-
}
|
|
1844
|
-
|
|
1845
|
-
.pelcro-root .slick-disabled {
|
|
1846
|
-
opacity: 0;
|
|
1847
|
-
cursor: auto;
|
|
1848
|
-
}
|
|
1849
|
-
|
|
1850
|
-
.pelcro-root .slick-dots {
|
|
1851
|
-
margin-top: 20px;
|
|
1852
|
-
display: flex !important;
|
|
1853
|
-
align-items: center;
|
|
1854
|
-
justify-content: center;
|
|
1855
|
-
flex-wrap: wrap;
|
|
1856
|
-
}
|
|
1857
|
-
|
|
1858
|
-
.pelcro-root .slick-dots li {
|
|
1859
|
-
padding: 2px;
|
|
1860
|
-
border: solid 1px transparent;
|
|
1861
|
-
border-radius: 9999999px;
|
|
1862
|
-
width: 20px;
|
|
1863
|
-
height: 20px;
|
|
1864
|
-
display: flex;
|
|
1865
|
-
align-items: center;
|
|
1866
|
-
justify-content: center;
|
|
1867
|
-
line-height: 1;
|
|
1868
|
-
}
|
|
1869
|
-
|
|
1870
|
-
.pelcro-root .slick-dots li.slick-active {
|
|
1871
|
-
border-color: grey;
|
|
1872
|
-
}
|
|
1873
|
-
|
|
1874
|
-
.pelcro-root .slick-arrow {
|
|
1875
|
-
outline: none !important;
|
|
1876
|
-
}
|
|
1877
|
-
|
|
1878
1722
|
/*
|
|
1879
1723
|
styling is copied from react-easy-crop/react-easy-crop.css
|
|
1880
1724
|
in order to scope selectors under pelcro-root
|
|
@@ -2165,10 +2009,6 @@ in order to scope selectors under pelcro-root
|
|
|
2165
2009
|
margin-right: 1.5rem;
|
|
2166
2010
|
}
|
|
2167
2011
|
|
|
2168
|
-
.pelcro-root .plc-mr-auto{
|
|
2169
|
-
margin-right: auto;
|
|
2170
|
-
}
|
|
2171
|
-
|
|
2172
2012
|
.pelcro-root .plc-mb-1{
|
|
2173
2013
|
margin-bottom: 0.25rem;
|
|
2174
2014
|
}
|
|
@@ -2213,10 +2053,6 @@ in order to scope selectors under pelcro-root
|
|
|
2213
2053
|
margin-left: 1rem;
|
|
2214
2054
|
}
|
|
2215
2055
|
|
|
2216
|
-
.pelcro-root .plc-ml-auto{
|
|
2217
|
-
margin-left: auto;
|
|
2218
|
-
}
|
|
2219
|
-
|
|
2220
2056
|
.pelcro-root .plc--ml-2{
|
|
2221
2057
|
margin-left: -0.5rem;
|
|
2222
2058
|
}
|
|
@@ -2461,8 +2297,8 @@ in order to scope selectors under pelcro-root
|
|
|
2461
2297
|
width: max-content;
|
|
2462
2298
|
}
|
|
2463
2299
|
|
|
2464
|
-
.pelcro-root .plc-max-w-
|
|
2465
|
-
max-width:
|
|
2300
|
+
.pelcro-root .plc-max-w-lg{
|
|
2301
|
+
max-width: 32rem;
|
|
2466
2302
|
}
|
|
2467
2303
|
|
|
2468
2304
|
.pelcro-root .plc-max-w-xl{
|
|
@@ -2633,6 +2469,14 @@ in order to scope selectors under pelcro-root
|
|
|
2633
2469
|
appearance: none;
|
|
2634
2470
|
}
|
|
2635
2471
|
|
|
2472
|
+
.pelcro-root .plc-grid-cols-1{
|
|
2473
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
2474
|
+
}
|
|
2475
|
+
|
|
2476
|
+
.pelcro-root .plc-grid-cols-2{
|
|
2477
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
2478
|
+
}
|
|
2479
|
+
|
|
2636
2480
|
.pelcro-root .plc-flex-row-reverse{
|
|
2637
2481
|
flex-direction: row-reverse;
|
|
2638
2482
|
}
|
|
@@ -2685,6 +2529,10 @@ in order to scope selectors under pelcro-root
|
|
|
2685
2529
|
justify-items: center;
|
|
2686
2530
|
}
|
|
2687
2531
|
|
|
2532
|
+
.pelcro-root .plc-gap-2{
|
|
2533
|
+
gap: 0.5rem;
|
|
2534
|
+
}
|
|
2535
|
+
|
|
2688
2536
|
.pelcro-root .plc-gap-x-3{
|
|
2689
2537
|
column-gap: 0.75rem;
|
|
2690
2538
|
}
|
|
@@ -2751,6 +2599,10 @@ in order to scope selectors under pelcro-root
|
|
|
2751
2599
|
white-space: nowrap;
|
|
2752
2600
|
}
|
|
2753
2601
|
|
|
2602
|
+
.pelcro-root .plc-whitespace-normal{
|
|
2603
|
+
white-space: normal;
|
|
2604
|
+
}
|
|
2605
|
+
|
|
2754
2606
|
.pelcro-root .plc-whitespace-nowrap{
|
|
2755
2607
|
white-space: nowrap;
|
|
2756
2608
|
}
|
|
@@ -2831,6 +2683,10 @@ in order to scope selectors under pelcro-root
|
|
|
2831
2683
|
border-bottom-width: 2px;
|
|
2832
2684
|
}
|
|
2833
2685
|
|
|
2686
|
+
.pelcro-root .plc-border-b-4{
|
|
2687
|
+
border-bottom-width: 4px;
|
|
2688
|
+
}
|
|
2689
|
+
|
|
2834
2690
|
.pelcro-root .plc-border-b{
|
|
2835
2691
|
border-bottom-width: 1px;
|
|
2836
2692
|
}
|
|
@@ -2896,6 +2752,10 @@ in order to scope selectors under pelcro-root
|
|
|
2896
2752
|
border-color: hsl(var(--plc-primary-hue), var(--plc-primary-saturation), calc(var(--plc-primary-lightness) - 30%));
|
|
2897
2753
|
}
|
|
2898
2754
|
|
|
2755
|
+
.pelcro-root .hover\:plc-border-primary:hover{
|
|
2756
|
+
border-color: hsl(var(--plc-primary-hue), var(--plc-primary-saturation), var(--plc-primary-lightness));
|
|
2757
|
+
}
|
|
2758
|
+
|
|
2899
2759
|
.pelcro-root .plc-bg-transparent{
|
|
2900
2760
|
background-color: transparent;
|
|
2901
2761
|
}
|
|
@@ -3004,6 +2864,10 @@ in order to scope selectors under pelcro-root
|
|
|
3004
2864
|
background-color: hsl(var(--plc-primary-hue), var(--plc-primary-saturation), calc(var(--plc-primary-lightness) - 10%));
|
|
3005
2865
|
}
|
|
3006
2866
|
|
|
2867
|
+
.pelcro-root .hover\:plc-bg-primary:hover{
|
|
2868
|
+
background-color: hsl(var(--plc-primary-hue), var(--plc-primary-saturation), var(--plc-primary-lightness));
|
|
2869
|
+
}
|
|
2870
|
+
|
|
3007
2871
|
.pelcro-root .hover\:plc-bg-white:hover{
|
|
3008
2872
|
--tw-bg-opacity: 1;
|
|
3009
2873
|
background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
|
|
@@ -3282,6 +3146,10 @@ in order to scope selectors under pelcro-root
|
|
|
3282
3146
|
color: hsl(var(--plc-primary-hue), var(--plc-primary-saturation), calc(var(--plc-primary-lightness) - 30%));
|
|
3283
3147
|
}
|
|
3284
3148
|
|
|
3149
|
+
.pelcro-root .plc-text-primary{
|
|
3150
|
+
color: hsl(var(--plc-primary-hue), var(--plc-primary-saturation), var(--plc-primary-lightness));
|
|
3151
|
+
}
|
|
3152
|
+
|
|
3285
3153
|
.pelcro-root .plc-text-white{
|
|
3286
3154
|
--tw-text-opacity: 1;
|
|
3287
3155
|
color: rgba(255, 255, 255, var(--tw-text-opacity));
|
|
@@ -3380,6 +3248,10 @@ in order to scope selectors under pelcro-root
|
|
|
3380
3248
|
color: hsl(var(--plc-primary-hue), var(--plc-primary-saturation), var(--plc-primary-lightness));
|
|
3381
3249
|
}
|
|
3382
3250
|
|
|
3251
|
+
.pelcro-root .hover\:plc-text-primary:hover{
|
|
3252
|
+
color: hsl(var(--plc-primary-hue), var(--plc-primary-saturation), var(--plc-primary-lightness));
|
|
3253
|
+
}
|
|
3254
|
+
|
|
3383
3255
|
.pelcro-root .hover\:plc-text-black:hover{
|
|
3384
3256
|
--tw-text-opacity: 1;
|
|
3385
3257
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
@@ -3418,6 +3290,10 @@ in order to scope selectors under pelcro-root
|
|
|
3418
3290
|
text-decoration: none;
|
|
3419
3291
|
}
|
|
3420
3292
|
|
|
3293
|
+
.pelcro-root .hover\:plc-no-underline:hover{
|
|
3294
|
+
text-decoration: none;
|
|
3295
|
+
}
|
|
3296
|
+
|
|
3421
3297
|
.pelcro-root .hover\:plc-opacity-30:hover{
|
|
3422
3298
|
opacity: 0.3;
|
|
3423
3299
|
}
|
|
@@ -3646,6 +3522,16 @@ in order to scope selectors under pelcro-root
|
|
|
3646
3522
|
padding-right: 2rem;
|
|
3647
3523
|
}
|
|
3648
3524
|
|
|
3525
|
+
.pelcro-root .sm\:plc-px-10{
|
|
3526
|
+
padding-left: 2.5rem;
|
|
3527
|
+
padding-right: 2.5rem;
|
|
3528
|
+
}
|
|
3529
|
+
|
|
3530
|
+
.pelcro-root .sm\:plc-px-14{
|
|
3531
|
+
padding-left: 3.5rem;
|
|
3532
|
+
padding-right: 3.5rem;
|
|
3533
|
+
}
|
|
3534
|
+
|
|
3649
3535
|
.pelcro-root .sm\:plc-pl-8{
|
|
3650
3536
|
padding-left: 2rem;
|
|
3651
3537
|
}
|