@pelcro/react-pelcro-js 4.0.0-alpha.2 → 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 -0
  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
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.2",
4
+ "version": "4.0.0-alpha.4",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",