@pelcro/react-pelcro-js 4.0.0-alpha.3 → 4.0.0-alpha.4

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 (2) hide show
  1. package/dist/pelcro.css +108 -112
  2. package/package.json +1 -1
package/dist/pelcro.css CHANGED
@@ -1693,6 +1693,114 @@ Add the correct display in Chrome and Safari.
1693
1693
 
1694
1694
  /* used by multiple input sub-components */
1695
1695
 
1696
+ .pelcro-root .alice-carousel {
1697
+ padding-left: 5rem;
1698
+ padding-right: 5rem;
1699
+ }
1700
+
1701
+ .pelcro-root .alice-carousel__stage {
1702
+ display: flex;
1703
+ }
1704
+
1705
+ .pelcro-root .alice-carousel__stage-item {
1706
+ flex: 1 0 auto;
1707
+ height: auto;
1708
+ }
1709
+
1710
+ .pelcro-root .alice-carousel__next-btn,
1711
+ .pelcro-root .alice-carousel__prev-btn {
1712
+ position: absolute;
1713
+ top: 50%;
1714
+ transform: translateY(-50%);
1715
+ width: auto;
1716
+ }
1717
+
1718
+ .pelcro-root .alice-carousel__next-btn {
1719
+ right: 0;
1720
+ }
1721
+
1722
+ .pelcro-root .alice-carousel__prev-btn {
1723
+ left: 0;
1724
+ }
1725
+
1726
+ .pelcro-root .alice-carousel__next-btn-item span,
1727
+ .pelcro-root .alice-carousel__prev-btn-item span {
1728
+ width: 3.5rem;
1729
+ height: 3.5rem;
1730
+ border-radius: 999999px;
1731
+ display: inline-flex;
1732
+ align-items: center;
1733
+ justify-content: center;
1734
+ background-color: black;
1735
+ color: white;
1736
+ }
1737
+
1738
+ .pelcro-root .alice-carousel__next-btn-item span {
1739
+ padding-left: 5px;
1740
+ }
1741
+
1742
+ .pelcro-root .alice-carousel__prev-btn-item span {
1743
+ padding-right: 5px;
1744
+ }
1745
+
1746
+ .pelcro-root .alice-carousel__next-btn-item [data-area]::after,
1747
+ .pelcro-root .alice-carousel__prev-btn-item [data-area]::after {
1748
+ height: 28px;
1749
+ width: 28px;
1750
+ line-height: 1;
1751
+ display: inline-flex;
1752
+ align-items: center;
1753
+ justify-content: center;
1754
+ }
1755
+
1756
+ .pelcro-root .alice-carousel__stage-item {
1757
+ padding-left: 1rem;
1758
+ padding-right: 1rem;
1759
+ }
1760
+
1761
+ .pelcro-root .alice-carousel__dots {
1762
+ margin-top: 2rem;
1763
+ display: flex;
1764
+ align-items: center;
1765
+ justify-content: center;
1766
+ }
1767
+
1768
+ .pelcro-root .alice-carousel__dots-item {
1769
+ width: 0.75rem;
1770
+ height: 0.75rem;
1771
+ background-color: #d1d5db;
1772
+ }
1773
+
1774
+ .pelcro-root
1775
+ .alice-carousel__dots-item:not(.__custom):not(:last-child) {
1776
+ margin-right: 0.5rem;
1777
+ }
1778
+
1779
+ .pelcro-root .alice-carousel__dots-item:not(.__custom):hover,
1780
+ .alice-carousel__dots-item:not(.__custom).__active {
1781
+ background-color: black;
1782
+ }
1783
+
1784
+ .pelcro-root .alice-carousel__next-btn-item [data-area]::after {
1785
+ content: url("/assets/arrow-thin-right.svg");
1786
+ }
1787
+
1788
+ .pelcro-root .alice-carousel__prev-btn-item [data-area]::after {
1789
+ content: url("/assets/arrow-thin-left.svg");
1790
+ }
1791
+
1792
+ @media (max-width: 1024px) {
1793
+ .pelcro-root .alice-carousel__prev-btn,
1794
+ .pelcro-root .alice-carousel__next-btn {
1795
+ display: none;
1796
+ }
1797
+
1798
+ .pelcro-root .alice-carousel {
1799
+ padding-right: 0;
1800
+ padding-left: 0;
1801
+ }
1802
+ }
1803
+
1696
1804
  /*
1697
1805
  styling is copied from react-easy-crop/react-easy-crop.css
1698
1806
  in order to scope selectors under pelcro-root
@@ -3631,118 +3739,6 @@ in order to scope selectors under pelcro-root
3631
3739
  /* purgecss end ignore */
3632
3740
  /* purgecss start ignore */
3633
3741
 
3634
- .pelcro-root .alice-carousel {
3635
- padding-left: 5rem;
3636
- padding-right: 5rem;
3637
- }
3638
-
3639
- .pelcro-root .alice-carousel__stage {
3640
- display: flex;
3641
- }
3642
-
3643
- .pelcro-root .alice-carousel__stage-item {
3644
- flex: 1 0 auto;
3645
- height: auto;
3646
- }
3647
-
3648
- .pelcro-root .alice-carousel__next-btn,
3649
- .pelcro-root .alice-carousel__prev-btn {
3650
- position: absolute;
3651
- top: 50%;
3652
- transform: translateY(-50%);
3653
- width: auto;
3654
- }
3655
-
3656
- .pelcro-root .alice-carousel__next-btn {
3657
- right: 0;
3658
- }
3659
-
3660
- .pelcro-root .alice-carousel__prev-btn {
3661
- left: 0;
3662
- }
3663
-
3664
- .pelcro-root .alice-carousel__next-btn-item span,
3665
- .pelcro-root .alice-carousel__prev-btn-item span {
3666
- width: 3.5rem;
3667
- height: 3.5rem;
3668
- border-radius: 999999px;
3669
- display: inline-flex;
3670
- align-items: center;
3671
- justify-content: center;
3672
- background-color: black;
3673
- color: white;
3674
- }
3675
-
3676
- .pelcro-root .alice-carousel__next-btn-item span {
3677
- padding-left: 5px;
3678
- }
3679
-
3680
- .pelcro-root .alice-carousel__prev-btn-item span {
3681
- padding-right: 5px;
3682
- }
3683
-
3684
- .pelcro-root .alice-carousel__next-btn-item [data-area]::after,
3685
- .pelcro-root .alice-carousel__prev-btn-item [data-area]::after {
3686
- height: 28px;
3687
- width: 28px;
3688
- line-height: 1;
3689
- display: inline-flex;
3690
- align-items: center;
3691
- justify-content: center;
3692
- }
3693
-
3694
- .pelcro-root .alice-carousel__next-btn-item [data-area]::after {
3695
- content: url("../assets/arrow-thin-right.svg");
3696
- }
3697
-
3698
- .pelcro-root .alice-carousel__prev-btn-item [data-area]::after {
3699
- content: url("../assets/arrow-thin-left.svg");
3700
- }
3701
-
3702
- .pelcro-root .alice-carousel__stage-item {
3703
- padding-left: 1rem;
3704
- padding-right: 1rem;
3705
- }
3706
-
3707
- .pelcro-root .alice-carousel__dots {
3708
- margin-top: 2rem;
3709
- display: flex;
3710
- align-items: center;
3711
- justify-content: center;
3712
- }
3713
-
3714
- .pelcro-root .alice-carousel__dots-item {
3715
- width: 0.75rem;
3716
- height: 0.75rem;
3717
- background-color: #d1d5db;
3718
- }
3719
-
3720
- .pelcro-root
3721
- .alice-carousel__dots-item:not(.__custom):not(:last-child) {
3722
- margin-right: 0.5rem;
3723
- }
3724
-
3725
- .pelcro-root .alice-carousel__dots-item:not(.__custom):hover,
3726
- .alice-carousel__dots-item:not(.__custom).__active {
3727
- background-color: black;
3728
- }
3729
-
3730
- @media (max-width: 1024px) {
3731
- .pelcro-root .alice-carousel__prev-btn,
3732
- .pelcro-root .alice-carousel__next-btn {
3733
- display: none;
3734
- }
3735
-
3736
- .pelcro-root .alice-carousel {
3737
- padding-right: 0;
3738
- padding-left: 0;
3739
- }
3740
- }
3741
-
3742
- /* purgecss end ignore */
3743
-
3744
- /* purgecss start ignore */
3745
-
3746
3742
  .toggle-switch {
3747
3743
  position: relative;
3748
3744
  display: inline-block;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pelcro/react-pelcro-js",
3
3
  "description": "Pelcro's React UI Elements",
4
- "version": "4.0.0-alpha.3",
4
+ "version": "4.0.0-alpha.4",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",