@pelcro/react-pelcro-js 4.0.0-alpha.1 → 4.0.0-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.
- package/dist/index.cjs.js +867 -61
- package/dist/index.esm.js +867 -61
- package/dist/pelcro.css +112 -0
- package/package.json +2 -1
package/dist/pelcro.css
CHANGED
|
@@ -3631,6 +3631,118 @@ in order to scope selectors under pelcro-root
|
|
|
3631
3631
|
/* purgecss end ignore */
|
|
3632
3632
|
/* purgecss start ignore */
|
|
3633
3633
|
|
|
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
|
+
|
|
3634
3746
|
.toggle-switch {
|
|
3635
3747
|
position: relative;
|
|
3636
3748
|
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.
|
|
4
|
+
"version": "4.0.0-alpha.3",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
7
7
|
"main": "dist/index.cjs.js",
|
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
"react": "^16.6.1",
|
|
81
81
|
"react-dom": "^16.6.1",
|
|
82
82
|
"react-ga": "^2.7.0",
|
|
83
|
+
"react-ga4": "^1.4.1",
|
|
83
84
|
"react-refresh": "^0.9.0",
|
|
84
85
|
"react-test-renderer": "^17.0.2",
|
|
85
86
|
"request": "^2.88.2",
|