@rhavenside/baseline-ui 1.0.9 → 1.0.11
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/baseline.css +302 -22
- package/dist/baseline.css.map +1 -1
- package/dist/baseline.js +21 -4
- package/dist/baseline.js.map +2 -2
- package/dist/baseline.min.css +1 -1
- package/dist/baseline.min.js +1 -1
- package/dist/baseline.min.js.map +3 -3
- package/package.json +1 -1
- package/src/components/_modal.scss +354 -22
- package/src/js/components/modal.js +30 -4
package/dist/baseline.css
CHANGED
|
@@ -3672,11 +3672,14 @@ textarea {
|
|
|
3672
3672
|
overflow-x: hidden;
|
|
3673
3673
|
overflow-y: auto;
|
|
3674
3674
|
outline: 0;
|
|
3675
|
-
display:
|
|
3675
|
+
display: none;
|
|
3676
3676
|
align-items: center;
|
|
3677
3677
|
justify-content: center;
|
|
3678
3678
|
padding: var(--spacing-md);
|
|
3679
3679
|
}
|
|
3680
|
+
.bl-modal.bl-modal-open {
|
|
3681
|
+
display: flex;
|
|
3682
|
+
}
|
|
3680
3683
|
|
|
3681
3684
|
.bl-modal-backdrop {
|
|
3682
3685
|
position: absolute;
|
|
@@ -3688,6 +3691,13 @@ textarea {
|
|
|
3688
3691
|
background: var(--color-bg-overlay);
|
|
3689
3692
|
backdrop-filter: blur(var(--glass-blur-lg));
|
|
3690
3693
|
-webkit-backdrop-filter: blur(var(--glass-blur-lg));
|
|
3694
|
+
opacity: 0;
|
|
3695
|
+
}
|
|
3696
|
+
.bl-modal.bl-modal-open .bl-modal-backdrop {
|
|
3697
|
+
animation: bl-modal-backdrop-fade-in var(--transition-duration-slow) var(--transition-ease-out) forwards;
|
|
3698
|
+
}
|
|
3699
|
+
.bl-modal.bl-modal-closing .bl-modal-backdrop {
|
|
3700
|
+
animation: bl-modal-backdrop-fade-out var(--transition-duration-slow) var(--transition-ease-out) forwards;
|
|
3691
3701
|
}
|
|
3692
3702
|
|
|
3693
3703
|
.bl-modal-dialog {
|
|
@@ -3713,6 +3723,60 @@ textarea {
|
|
|
3713
3723
|
max-width: 800px;
|
|
3714
3724
|
}
|
|
3715
3725
|
}
|
|
3726
|
+
.bl-modal.bl-modal-open.bl-modal-top-left .bl-modal-dialog {
|
|
3727
|
+
animation: bl-modal-slide-from-top-left var(--transition-duration-slow) var(--transition-ease-out) forwards;
|
|
3728
|
+
}
|
|
3729
|
+
.bl-modal.bl-modal-open.bl-modal-top .bl-modal-dialog {
|
|
3730
|
+
animation: bl-modal-slide-from-top var(--transition-duration-slow) var(--transition-ease-out) forwards;
|
|
3731
|
+
}
|
|
3732
|
+
.bl-modal.bl-modal-open.bl-modal-top-right .bl-modal-dialog {
|
|
3733
|
+
animation: bl-modal-slide-from-top-right var(--transition-duration-slow) var(--transition-ease-out) forwards;
|
|
3734
|
+
}
|
|
3735
|
+
.bl-modal.bl-modal-open.bl-modal-left .bl-modal-dialog {
|
|
3736
|
+
animation: bl-modal-slide-from-left var(--transition-duration-slow) var(--transition-ease-out) forwards;
|
|
3737
|
+
}
|
|
3738
|
+
.bl-modal.bl-modal-open.bl-modal-centered .bl-modal-dialog {
|
|
3739
|
+
animation: bl-modal-fade-in var(--transition-duration-slow) var(--transition-ease-out) forwards;
|
|
3740
|
+
}
|
|
3741
|
+
.bl-modal.bl-modal-open.bl-modal-right .bl-modal-dialog {
|
|
3742
|
+
animation: bl-modal-slide-from-right var(--transition-duration-slow) var(--transition-ease-out) forwards;
|
|
3743
|
+
}
|
|
3744
|
+
.bl-modal.bl-modal-open.bl-modal-bottom-left .bl-modal-dialog {
|
|
3745
|
+
animation: bl-modal-slide-from-bottom-left var(--transition-duration-slow) var(--transition-ease-out) forwards;
|
|
3746
|
+
}
|
|
3747
|
+
.bl-modal.bl-modal-open.bl-modal-bottom .bl-modal-dialog {
|
|
3748
|
+
animation: bl-modal-slide-from-bottom var(--transition-duration-slow) var(--transition-ease-out) forwards;
|
|
3749
|
+
}
|
|
3750
|
+
.bl-modal.bl-modal-open.bl-modal-bottom-right .bl-modal-dialog {
|
|
3751
|
+
animation: bl-modal-slide-from-bottom-right var(--transition-duration-slow) var(--transition-ease-out) forwards;
|
|
3752
|
+
}
|
|
3753
|
+
.bl-modal.bl-modal-closing.bl-modal-top-left .bl-modal-dialog {
|
|
3754
|
+
animation: bl-modal-slide-to-top-left var(--transition-duration-slow) var(--transition-ease-out) forwards;
|
|
3755
|
+
}
|
|
3756
|
+
.bl-modal.bl-modal-closing.bl-modal-top .bl-modal-dialog {
|
|
3757
|
+
animation: bl-modal-slide-to-top var(--transition-duration-slow) var(--transition-ease-out) forwards;
|
|
3758
|
+
}
|
|
3759
|
+
.bl-modal.bl-modal-closing.bl-modal-top-right .bl-modal-dialog {
|
|
3760
|
+
animation: bl-modal-slide-to-top-right var(--transition-duration-slow) var(--transition-ease-out) forwards;
|
|
3761
|
+
}
|
|
3762
|
+
.bl-modal.bl-modal-closing.bl-modal-left .bl-modal-dialog {
|
|
3763
|
+
animation: bl-modal-slide-to-left var(--transition-duration-slow) var(--transition-ease-out) forwards;
|
|
3764
|
+
}
|
|
3765
|
+
.bl-modal.bl-modal-closing.bl-modal-centered .bl-modal-dialog {
|
|
3766
|
+
animation: bl-modal-fade-out var(--transition-duration-slow) var(--transition-ease-out) forwards;
|
|
3767
|
+
}
|
|
3768
|
+
.bl-modal.bl-modal-closing.bl-modal-right .bl-modal-dialog {
|
|
3769
|
+
animation: bl-modal-slide-to-right var(--transition-duration-slow) var(--transition-ease-out) forwards;
|
|
3770
|
+
}
|
|
3771
|
+
.bl-modal.bl-modal-closing.bl-modal-bottom-left .bl-modal-dialog {
|
|
3772
|
+
animation: bl-modal-slide-to-bottom-left var(--transition-duration-slow) var(--transition-ease-out) forwards;
|
|
3773
|
+
}
|
|
3774
|
+
.bl-modal.bl-modal-closing.bl-modal-bottom .bl-modal-dialog {
|
|
3775
|
+
animation: bl-modal-slide-to-bottom var(--transition-duration-slow) var(--transition-ease-out) forwards;
|
|
3776
|
+
}
|
|
3777
|
+
.bl-modal.bl-modal-closing.bl-modal-bottom-right .bl-modal-dialog {
|
|
3778
|
+
animation: bl-modal-slide-to-bottom-right var(--transition-duration-slow) var(--transition-ease-out) forwards;
|
|
3779
|
+
}
|
|
3716
3780
|
|
|
3717
3781
|
.bl-modal-content {
|
|
3718
3782
|
position: relative;
|
|
@@ -3809,41 +3873,257 @@ textarea {
|
|
|
3809
3873
|
}
|
|
3810
3874
|
}
|
|
3811
3875
|
|
|
3812
|
-
.bl-modal-top {
|
|
3813
|
-
align-items: flex-start;
|
|
3814
|
-
justify-content:
|
|
3815
|
-
padding
|
|
3876
|
+
.bl-modal.bl-modal-top-left {
|
|
3877
|
+
align-items: flex-start !important;
|
|
3878
|
+
justify-content: flex-start !important;
|
|
3879
|
+
padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md) var(--spacing-xl) !important;
|
|
3816
3880
|
}
|
|
3817
3881
|
|
|
3818
|
-
.bl-modal-
|
|
3819
|
-
align-items: flex-
|
|
3820
|
-
justify-content: center;
|
|
3821
|
-
padding
|
|
3882
|
+
.bl-modal.bl-modal-top {
|
|
3883
|
+
align-items: flex-start !important;
|
|
3884
|
+
justify-content: center !important;
|
|
3885
|
+
padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md) var(--spacing-md) !important;
|
|
3822
3886
|
}
|
|
3823
3887
|
|
|
3824
|
-
.bl-modal-
|
|
3825
|
-
align-items:
|
|
3826
|
-
justify-content: flex-
|
|
3827
|
-
padding
|
|
3888
|
+
.bl-modal.bl-modal-top-right {
|
|
3889
|
+
align-items: flex-start !important;
|
|
3890
|
+
justify-content: flex-end !important;
|
|
3891
|
+
padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-md) var(--spacing-md) !important;
|
|
3892
|
+
}
|
|
3893
|
+
|
|
3894
|
+
.bl-modal.bl-modal-left {
|
|
3895
|
+
align-items: center !important;
|
|
3896
|
+
justify-content: flex-start !important;
|
|
3897
|
+
padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) var(--spacing-xl) !important;
|
|
3828
3898
|
}
|
|
3829
|
-
.bl-modal-left .bl-modal-dialog {
|
|
3899
|
+
.bl-modal.bl-modal-left .bl-modal-dialog {
|
|
3830
3900
|
margin-right: auto;
|
|
3831
3901
|
}
|
|
3832
3902
|
|
|
3833
|
-
.bl-modal-
|
|
3834
|
-
align-items: center;
|
|
3835
|
-
justify-content:
|
|
3836
|
-
padding-right: var(--spacing-xl);
|
|
3903
|
+
.bl-modal.bl-modal-centered {
|
|
3904
|
+
align-items: center !important;
|
|
3905
|
+
justify-content: center !important;
|
|
3837
3906
|
}
|
|
3838
|
-
|
|
3907
|
+
|
|
3908
|
+
.bl-modal.bl-modal-right {
|
|
3909
|
+
align-items: center !important;
|
|
3910
|
+
justify-content: flex-end !important;
|
|
3911
|
+
padding: var(--spacing-md) var(--spacing-xl) var(--spacing-md) var(--spacing-md) !important;
|
|
3912
|
+
}
|
|
3913
|
+
.bl-modal.bl-modal-right .bl-modal-dialog {
|
|
3839
3914
|
margin-left: auto;
|
|
3840
3915
|
}
|
|
3841
3916
|
|
|
3842
|
-
.bl-modal-
|
|
3843
|
-
align-items:
|
|
3844
|
-
justify-content:
|
|
3917
|
+
.bl-modal.bl-modal-bottom-left {
|
|
3918
|
+
align-items: flex-end !important;
|
|
3919
|
+
justify-content: flex-start !important;
|
|
3920
|
+
padding: var(--spacing-md) var(--spacing-md) var(--spacing-xl) var(--spacing-xl) !important;
|
|
3921
|
+
}
|
|
3922
|
+
|
|
3923
|
+
.bl-modal.bl-modal-bottom {
|
|
3924
|
+
align-items: flex-end !important;
|
|
3925
|
+
justify-content: center !important;
|
|
3926
|
+
padding: var(--spacing-md) var(--spacing-md) var(--spacing-xl) var(--spacing-md) !important;
|
|
3845
3927
|
}
|
|
3846
3928
|
|
|
3929
|
+
.bl-modal.bl-modal-bottom-right {
|
|
3930
|
+
align-items: flex-end !important;
|
|
3931
|
+
justify-content: flex-end !important;
|
|
3932
|
+
padding: var(--spacing-md) var(--spacing-xl) var(--spacing-xl) var(--spacing-md) !important;
|
|
3933
|
+
}
|
|
3934
|
+
|
|
3935
|
+
@keyframes bl-modal-backdrop-fade-in {
|
|
3936
|
+
from {
|
|
3937
|
+
opacity: 0;
|
|
3938
|
+
}
|
|
3939
|
+
to {
|
|
3940
|
+
opacity: 1;
|
|
3941
|
+
}
|
|
3942
|
+
}
|
|
3943
|
+
@keyframes bl-modal-backdrop-fade-out {
|
|
3944
|
+
from {
|
|
3945
|
+
opacity: 1;
|
|
3946
|
+
}
|
|
3947
|
+
to {
|
|
3948
|
+
opacity: 0;
|
|
3949
|
+
}
|
|
3950
|
+
}
|
|
3951
|
+
@keyframes bl-modal-slide-from-top {
|
|
3952
|
+
from {
|
|
3953
|
+
transform: translateY(-100%);
|
|
3954
|
+
opacity: 0;
|
|
3955
|
+
}
|
|
3956
|
+
to {
|
|
3957
|
+
transform: translateY(0);
|
|
3958
|
+
opacity: 1;
|
|
3959
|
+
}
|
|
3960
|
+
}
|
|
3961
|
+
@keyframes bl-modal-slide-from-bottom {
|
|
3962
|
+
from {
|
|
3963
|
+
transform: translateY(100%);
|
|
3964
|
+
opacity: 0;
|
|
3965
|
+
}
|
|
3966
|
+
to {
|
|
3967
|
+
transform: translateY(0);
|
|
3968
|
+
opacity: 1;
|
|
3969
|
+
}
|
|
3970
|
+
}
|
|
3971
|
+
@keyframes bl-modal-slide-from-left {
|
|
3972
|
+
from {
|
|
3973
|
+
transform: translateX(-100%);
|
|
3974
|
+
opacity: 0;
|
|
3975
|
+
}
|
|
3976
|
+
to {
|
|
3977
|
+
transform: translateX(0);
|
|
3978
|
+
opacity: 1;
|
|
3979
|
+
}
|
|
3980
|
+
}
|
|
3981
|
+
@keyframes bl-modal-slide-from-right {
|
|
3982
|
+
from {
|
|
3983
|
+
transform: translateX(100%);
|
|
3984
|
+
opacity: 0;
|
|
3985
|
+
}
|
|
3986
|
+
to {
|
|
3987
|
+
transform: translateX(0);
|
|
3988
|
+
opacity: 1;
|
|
3989
|
+
}
|
|
3990
|
+
}
|
|
3991
|
+
@keyframes bl-modal-slide-from-top-left {
|
|
3992
|
+
from {
|
|
3993
|
+
transform: translate(-100%, -100%);
|
|
3994
|
+
opacity: 0;
|
|
3995
|
+
}
|
|
3996
|
+
to {
|
|
3997
|
+
transform: translate(0, 0);
|
|
3998
|
+
opacity: 1;
|
|
3999
|
+
}
|
|
4000
|
+
}
|
|
4001
|
+
@keyframes bl-modal-slide-from-top-right {
|
|
4002
|
+
from {
|
|
4003
|
+
transform: translate(100%, -100%);
|
|
4004
|
+
opacity: 0;
|
|
4005
|
+
}
|
|
4006
|
+
to {
|
|
4007
|
+
transform: translate(0, 0);
|
|
4008
|
+
opacity: 1;
|
|
4009
|
+
}
|
|
4010
|
+
}
|
|
4011
|
+
@keyframes bl-modal-slide-from-bottom-left {
|
|
4012
|
+
from {
|
|
4013
|
+
transform: translate(-100%, 100%);
|
|
4014
|
+
opacity: 0;
|
|
4015
|
+
}
|
|
4016
|
+
to {
|
|
4017
|
+
transform: translate(0, 0);
|
|
4018
|
+
opacity: 1;
|
|
4019
|
+
}
|
|
4020
|
+
}
|
|
4021
|
+
@keyframes bl-modal-slide-from-bottom-right {
|
|
4022
|
+
from {
|
|
4023
|
+
transform: translate(100%, 100%);
|
|
4024
|
+
opacity: 0;
|
|
4025
|
+
}
|
|
4026
|
+
to {
|
|
4027
|
+
transform: translate(0, 0);
|
|
4028
|
+
opacity: 1;
|
|
4029
|
+
}
|
|
4030
|
+
}
|
|
4031
|
+
@keyframes bl-modal-fade-in {
|
|
4032
|
+
from {
|
|
4033
|
+
opacity: 0;
|
|
4034
|
+
}
|
|
4035
|
+
to {
|
|
4036
|
+
opacity: 1;
|
|
4037
|
+
}
|
|
4038
|
+
}
|
|
4039
|
+
@keyframes bl-modal-slide-to-top {
|
|
4040
|
+
from {
|
|
4041
|
+
transform: translateY(0);
|
|
4042
|
+
opacity: 1;
|
|
4043
|
+
}
|
|
4044
|
+
to {
|
|
4045
|
+
transform: translateY(-100%);
|
|
4046
|
+
opacity: 0;
|
|
4047
|
+
}
|
|
4048
|
+
}
|
|
4049
|
+
@keyframes bl-modal-slide-to-bottom {
|
|
4050
|
+
from {
|
|
4051
|
+
transform: translateY(0);
|
|
4052
|
+
opacity: 1;
|
|
4053
|
+
}
|
|
4054
|
+
to {
|
|
4055
|
+
transform: translateY(100%);
|
|
4056
|
+
opacity: 0;
|
|
4057
|
+
}
|
|
4058
|
+
}
|
|
4059
|
+
@keyframes bl-modal-slide-to-left {
|
|
4060
|
+
from {
|
|
4061
|
+
transform: translateX(0);
|
|
4062
|
+
opacity: 1;
|
|
4063
|
+
}
|
|
4064
|
+
to {
|
|
4065
|
+
transform: translateX(-100%);
|
|
4066
|
+
opacity: 0;
|
|
4067
|
+
}
|
|
4068
|
+
}
|
|
4069
|
+
@keyframes bl-modal-slide-to-right {
|
|
4070
|
+
from {
|
|
4071
|
+
transform: translateX(0);
|
|
4072
|
+
opacity: 1;
|
|
4073
|
+
}
|
|
4074
|
+
to {
|
|
4075
|
+
transform: translateX(100%);
|
|
4076
|
+
opacity: 0;
|
|
4077
|
+
}
|
|
4078
|
+
}
|
|
4079
|
+
@keyframes bl-modal-slide-to-top-left {
|
|
4080
|
+
from {
|
|
4081
|
+
transform: translate(0, 0);
|
|
4082
|
+
opacity: 1;
|
|
4083
|
+
}
|
|
4084
|
+
to {
|
|
4085
|
+
transform: translate(-100%, -100%);
|
|
4086
|
+
opacity: 0;
|
|
4087
|
+
}
|
|
4088
|
+
}
|
|
4089
|
+
@keyframes bl-modal-slide-to-top-right {
|
|
4090
|
+
from {
|
|
4091
|
+
transform: translate(0, 0);
|
|
4092
|
+
opacity: 1;
|
|
4093
|
+
}
|
|
4094
|
+
to {
|
|
4095
|
+
transform: translate(100%, -100%);
|
|
4096
|
+
opacity: 0;
|
|
4097
|
+
}
|
|
4098
|
+
}
|
|
4099
|
+
@keyframes bl-modal-slide-to-bottom-left {
|
|
4100
|
+
from {
|
|
4101
|
+
transform: translate(0, 0);
|
|
4102
|
+
opacity: 1;
|
|
4103
|
+
}
|
|
4104
|
+
to {
|
|
4105
|
+
transform: translate(-100%, 100%);
|
|
4106
|
+
opacity: 0;
|
|
4107
|
+
}
|
|
4108
|
+
}
|
|
4109
|
+
@keyframes bl-modal-slide-to-bottom-right {
|
|
4110
|
+
from {
|
|
4111
|
+
transform: translate(0, 0);
|
|
4112
|
+
opacity: 1;
|
|
4113
|
+
}
|
|
4114
|
+
to {
|
|
4115
|
+
transform: translate(100%, 100%);
|
|
4116
|
+
opacity: 0;
|
|
4117
|
+
}
|
|
4118
|
+
}
|
|
4119
|
+
@keyframes bl-modal-fade-out {
|
|
4120
|
+
from {
|
|
4121
|
+
opacity: 1;
|
|
4122
|
+
}
|
|
4123
|
+
to {
|
|
4124
|
+
opacity: 0;
|
|
4125
|
+
}
|
|
4126
|
+
}
|
|
3847
4127
|
.bl-dropdown {
|
|
3848
4128
|
position: relative;
|
|
3849
4129
|
display: inline-block;
|