@useblu/ocean-core 1.40.1 → 1.43.0
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/CHANGELOG.md +12 -0
- package/ocean.css +376 -0
- package/ocean.css.map +1 -1
- package/ocean.min.css +1 -1
- package/ocean.min.css.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.43.0](https://github.com/ocean-ds/ocean-web/compare/v1.42.0...v1.43.0) (2023-02-24)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- snackbar component ([#1063](https://github.com/ocean-ds/ocean-web/issues/1063)) ([1177b1f](https://github.com/ocean-ds/ocean-web/commit/1177b1fe76809a9dec06ec57e569c10c15ccb245))
|
|
11
|
+
|
|
12
|
+
# [1.41.0](https://github.com/ocean-ds/ocean-web/compare/v1.40.1...v1.41.0) (2023-02-09)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- drawer component ([#1061](https://github.com/ocean-ds/ocean-web/issues/1061)) ([2659cf7](https://github.com/ocean-ds/ocean-web/commit/2659cf70effdd66b9e0993fd142980ece5047ab4))
|
|
17
|
+
|
|
6
18
|
## [1.40.1](https://github.com/ocean-ds/ocean-web/compare/v1.40.0...v1.40.1) (2023-02-02)
|
|
7
19
|
|
|
8
20
|
### Reverts
|
package/ocean.css
CHANGED
|
@@ -3734,4 +3734,380 @@
|
|
|
3734
3734
|
cursor: pointer;
|
|
3735
3735
|
text-decoration: underline;
|
|
3736
3736
|
}
|
|
3737
|
+
|
|
3738
|
+
.ods-overlay {
|
|
3739
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
3740
|
+
height: 100%;
|
|
3741
|
+
opacity: 0;
|
|
3742
|
+
position: fixed;
|
|
3743
|
+
right: 0;
|
|
3744
|
+
top: 0;
|
|
3745
|
+
transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
3746
|
+
visibility: hidden;
|
|
3747
|
+
width: 100%;
|
|
3748
|
+
}
|
|
3749
|
+
.ods-overlay--open {
|
|
3750
|
+
opacity: 1;
|
|
3751
|
+
visibility: visible;
|
|
3752
|
+
z-index: 200;
|
|
3753
|
+
}
|
|
3754
|
+
|
|
3755
|
+
.ods-drawer {
|
|
3756
|
+
background-color: white;
|
|
3757
|
+
display: flex;
|
|
3758
|
+
flex-direction: column;
|
|
3759
|
+
flex-shrink: 0;
|
|
3760
|
+
height: 100%;
|
|
3761
|
+
left: auto;
|
|
3762
|
+
outline: 0;
|
|
3763
|
+
position: fixed;
|
|
3764
|
+
right: 0;
|
|
3765
|
+
top: 0;
|
|
3766
|
+
transform: translateX(100%);
|
|
3767
|
+
transition: all 335ms ease-out 0ms;
|
|
3768
|
+
visibility: hidden;
|
|
3769
|
+
width: 378px;
|
|
3770
|
+
}
|
|
3771
|
+
.ods-drawer--open {
|
|
3772
|
+
box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.2), 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12);
|
|
3773
|
+
transform: translateX(0);
|
|
3774
|
+
transition: all 200ms ease-out 0ms;
|
|
3775
|
+
visibility: visible;
|
|
3776
|
+
z-index: 400;
|
|
3777
|
+
}
|
|
3778
|
+
@media (max-width: 575.98px) {
|
|
3779
|
+
.ods-drawer--open {
|
|
3780
|
+
cursor: default;
|
|
3781
|
+
width: -webkit-fill-available;
|
|
3782
|
+
width: -moz-available;
|
|
3783
|
+
width: fill-available;
|
|
3784
|
+
}
|
|
3785
|
+
}
|
|
3786
|
+
|
|
3787
|
+
.ods-drawer__content--header {
|
|
3788
|
+
display: flex;
|
|
3789
|
+
height: 48px;
|
|
3790
|
+
padding: 0 24px;
|
|
3791
|
+
}
|
|
3792
|
+
.ods-drawer__content--header--left {
|
|
3793
|
+
justify-content: flex-start;
|
|
3794
|
+
}
|
|
3795
|
+
.ods-drawer__content--header--right {
|
|
3796
|
+
justify-content: flex-end;
|
|
3797
|
+
}
|
|
3798
|
+
.ods-drawer__content--header .ods-btn--primary {
|
|
3799
|
+
background: transparent;
|
|
3800
|
+
border: 0;
|
|
3801
|
+
color: #b6b9cc;
|
|
3802
|
+
cursor: pointer;
|
|
3803
|
+
height: 100%;
|
|
3804
|
+
min-width: 0;
|
|
3805
|
+
padding: 0;
|
|
3806
|
+
}
|
|
3807
|
+
@media (max-width: 575.98px) {
|
|
3808
|
+
.ods-drawer__content--header .ods-btn--primary {
|
|
3809
|
+
cursor: default;
|
|
3810
|
+
}
|
|
3811
|
+
}
|
|
3812
|
+
.ods-drawer__content--header .ods-btn--primary:hover {
|
|
3813
|
+
background-color: white;
|
|
3814
|
+
}
|
|
3815
|
+
|
|
3816
|
+
.ods-snackbar {
|
|
3817
|
+
align-items: center;
|
|
3818
|
+
background: #393b47;
|
|
3819
|
+
border-radius: 4px;
|
|
3820
|
+
display: flex;
|
|
3821
|
+
min-height: 56px;
|
|
3822
|
+
position: fixed;
|
|
3823
|
+
width: 328px;
|
|
3824
|
+
z-index: 99999;
|
|
3825
|
+
}
|
|
3826
|
+
@media (max-width: 767px) {
|
|
3827
|
+
.ods-snackbar {
|
|
3828
|
+
left: 3%;
|
|
3829
|
+
margin: 0;
|
|
3830
|
+
right: 5%;
|
|
3831
|
+
width: 93%;
|
|
3832
|
+
}
|
|
3833
|
+
}
|
|
3834
|
+
.ods-snackbar__top-right-default {
|
|
3835
|
+
-webkit-animation-delay: 0s, 3.9s;
|
|
3836
|
+
animation-delay: 0s, 3.9s;
|
|
3837
|
+
-webkit-animation-duration: 150ms, 150ms;
|
|
3838
|
+
animation-duration: 150ms, 150ms;
|
|
3839
|
+
-webkit-animation-name: moveInDown, moveInDownBack;
|
|
3840
|
+
animation-name: moveInDown, moveInDownBack;
|
|
3841
|
+
-webkit-animation-timing-function: ease-out forwards, ease-out forwards;
|
|
3842
|
+
animation-timing-function: ease-out forwards, ease-out forwards;
|
|
3843
|
+
right: 40px;
|
|
3844
|
+
top: 40px;
|
|
3845
|
+
}
|
|
3846
|
+
.ods-snackbar__top-right-action {
|
|
3847
|
+
-webkit-animation-delay: 0s, 9.9s;
|
|
3848
|
+
animation-delay: 0s, 9.9s;
|
|
3849
|
+
-webkit-animation-duration: 150ms, 150ms;
|
|
3850
|
+
animation-duration: 150ms, 150ms;
|
|
3851
|
+
-webkit-animation-name: moveInDown, moveInDownBack;
|
|
3852
|
+
animation-name: moveInDown, moveInDownBack;
|
|
3853
|
+
-webkit-animation-timing-function: ease-out forwards, ease-out forwards;
|
|
3854
|
+
animation-timing-function: ease-out forwards, ease-out forwards;
|
|
3855
|
+
right: 40px;
|
|
3856
|
+
top: 40px;
|
|
3857
|
+
}
|
|
3858
|
+
.ods-snackbar__top-left-default {
|
|
3859
|
+
-webkit-animation-delay: 0s, 3.9s;
|
|
3860
|
+
animation-delay: 0s, 3.9s;
|
|
3861
|
+
-webkit-animation-duration: 150ms, 150ms;
|
|
3862
|
+
animation-duration: 150ms, 150ms;
|
|
3863
|
+
-webkit-animation-name: moveInDown, moveInDownBack;
|
|
3864
|
+
animation-name: moveInDown, moveInDownBack;
|
|
3865
|
+
-webkit-animation-timing-function: ease-out forwards, ease-out forwards;
|
|
3866
|
+
animation-timing-function: ease-out forwards, ease-out forwards;
|
|
3867
|
+
left: 40px;
|
|
3868
|
+
top: 40px;
|
|
3869
|
+
}
|
|
3870
|
+
.ods-snackbar__top-left-action {
|
|
3871
|
+
-webkit-animation-delay: 0s, 9.9s;
|
|
3872
|
+
animation-delay: 0s, 9.9s;
|
|
3873
|
+
-webkit-animation-duration: 150ms, 150ms;
|
|
3874
|
+
animation-duration: 150ms, 150ms;
|
|
3875
|
+
-webkit-animation-name: moveInDown, moveInDownBack;
|
|
3876
|
+
animation-name: moveInDown, moveInDownBack;
|
|
3877
|
+
-webkit-animation-timing-function: ease-out forwards, ease-out forwards;
|
|
3878
|
+
animation-timing-function: ease-out forwards, ease-out forwards;
|
|
3879
|
+
left: 40px;
|
|
3880
|
+
top: 40px;
|
|
3881
|
+
}
|
|
3882
|
+
.ods-snackbar__bottom-right-default {
|
|
3883
|
+
-webkit-animation-delay: 0s, 3.9s;
|
|
3884
|
+
animation-delay: 0s, 3.9s;
|
|
3885
|
+
-webkit-animation-duration: 150ms, 150ms;
|
|
3886
|
+
animation-duration: 150ms, 150ms;
|
|
3887
|
+
-webkit-animation-name: moveInUp, moveInUpBack;
|
|
3888
|
+
animation-name: moveInUp, moveInUpBack;
|
|
3889
|
+
-webkit-animation-timing-function: ease-out forwards, ease-out forwards;
|
|
3890
|
+
animation-timing-function: ease-out forwards, ease-out forwards;
|
|
3891
|
+
bottom: 40px;
|
|
3892
|
+
right: 40px;
|
|
3893
|
+
}
|
|
3894
|
+
.ods-snackbar__bottom-right-action {
|
|
3895
|
+
-webkit-animation-delay: 0s, 9.9s;
|
|
3896
|
+
animation-delay: 0s, 9.9s;
|
|
3897
|
+
-webkit-animation-duration: 150ms, 150ms;
|
|
3898
|
+
animation-duration: 150ms, 150ms;
|
|
3899
|
+
-webkit-animation-name: moveInUp, moveInUpBack;
|
|
3900
|
+
animation-name: moveInUp, moveInUpBack;
|
|
3901
|
+
-webkit-animation-timing-function: ease-out forwards, ease-out forwards;
|
|
3902
|
+
animation-timing-function: ease-out forwards, ease-out forwards;
|
|
3903
|
+
bottom: 40px;
|
|
3904
|
+
right: 40px;
|
|
3905
|
+
}
|
|
3906
|
+
.ods-snackbar__bottom-left-default {
|
|
3907
|
+
-webkit-animation-delay: 0s, 3.9s;
|
|
3908
|
+
animation-delay: 0s, 3.9s;
|
|
3909
|
+
-webkit-animation-duration: 150ms, 150ms;
|
|
3910
|
+
animation-duration: 150ms, 150ms;
|
|
3911
|
+
-webkit-animation-name: moveInUp, moveInUpBack;
|
|
3912
|
+
animation-name: moveInUp, moveInUpBack;
|
|
3913
|
+
-webkit-animation-timing-function: ease-out forwards, ease-out forwards;
|
|
3914
|
+
animation-timing-function: ease-out forwards, ease-out forwards;
|
|
3915
|
+
bottom: 40px;
|
|
3916
|
+
left: 40px;
|
|
3917
|
+
}
|
|
3918
|
+
.ods-snackbar__bottom-left-action {
|
|
3919
|
+
-webkit-animation-delay: 0s, 9.9s;
|
|
3920
|
+
animation-delay: 0s, 9.9s;
|
|
3921
|
+
-webkit-animation-duration: 150ms, 150ms;
|
|
3922
|
+
animation-duration: 150ms, 150ms;
|
|
3923
|
+
-webkit-animation-name: moveInUp, moveInUpBack;
|
|
3924
|
+
animation-name: moveInUp, moveInUpBack;
|
|
3925
|
+
-webkit-animation-timing-function: ease-out forwards, ease-out forwards;
|
|
3926
|
+
animation-timing-function: ease-out forwards, ease-out forwards;
|
|
3927
|
+
bottom: 40px;
|
|
3928
|
+
left: 40px;
|
|
3929
|
+
}
|
|
3930
|
+
.ods-snackbar__content {
|
|
3931
|
+
display: flex;
|
|
3932
|
+
max-width: 328px;
|
|
3933
|
+
padding: 12px 16px;
|
|
3934
|
+
width: 328px;
|
|
3935
|
+
z-index: 1;
|
|
3936
|
+
}
|
|
3937
|
+
.ods-snackbar__icon {
|
|
3938
|
+
align-items: center;
|
|
3939
|
+
display: flex;
|
|
3940
|
+
justify-content: center;
|
|
3941
|
+
}
|
|
3942
|
+
.ods-snackbar__icon-info {
|
|
3943
|
+
color: #b8c3ff;
|
|
3944
|
+
}
|
|
3945
|
+
.ods-snackbar__icon-positive {
|
|
3946
|
+
color: #3dcc64;
|
|
3947
|
+
}
|
|
3948
|
+
.ods-snackbar__icon-negative {
|
|
3949
|
+
color: #f5456e;
|
|
3950
|
+
}
|
|
3951
|
+
.ods-snackbar__icon-warning {
|
|
3952
|
+
color: #ffa347;
|
|
3953
|
+
}
|
|
3954
|
+
.ods-snackbar__label {
|
|
3955
|
+
align-items: center;
|
|
3956
|
+
color: white;
|
|
3957
|
+
display: flex;
|
|
3958
|
+
flex: 1;
|
|
3959
|
+
font-family: "Nunito Sans";
|
|
3960
|
+
font-size: 14px;
|
|
3961
|
+
font-weight: 400;
|
|
3962
|
+
line-height: 21px;
|
|
3963
|
+
margin: 0;
|
|
3964
|
+
max-height: 42px;
|
|
3965
|
+
overflow: hidden;
|
|
3966
|
+
padding: 0 16px;
|
|
3967
|
+
text-overflow: ellipsis;
|
|
3968
|
+
}
|
|
3969
|
+
.ods-snackbar__action {
|
|
3970
|
+
align-items: center;
|
|
3971
|
+
color: #3dcc64;
|
|
3972
|
+
cursor: pointer;
|
|
3973
|
+
display: flex;
|
|
3974
|
+
font-family: "Nunito Sans";
|
|
3975
|
+
font-size: 14px;
|
|
3976
|
+
font-weight: 700;
|
|
3977
|
+
justify-content: center;
|
|
3978
|
+
}
|
|
3979
|
+
.ods-snackbar__action-text-info {
|
|
3980
|
+
color: #b8c3ff;
|
|
3981
|
+
}
|
|
3982
|
+
.ods-snackbar__action-text-positive {
|
|
3983
|
+
color: #3dcc64;
|
|
3984
|
+
}
|
|
3985
|
+
.ods-snackbar__action-text-negative {
|
|
3986
|
+
color: #f5456e;
|
|
3987
|
+
}
|
|
3988
|
+
.ods-snackbar__action-text-warning {
|
|
3989
|
+
color: #ffa347;
|
|
3990
|
+
}
|
|
3991
|
+
.ods-snackbar__progress {
|
|
3992
|
+
background-color: #67697a;
|
|
3993
|
+
border-radius: 4px;
|
|
3994
|
+
height: 100%;
|
|
3995
|
+
opacity: 0.4;
|
|
3996
|
+
position: absolute;
|
|
3997
|
+
width: 0;
|
|
3998
|
+
}
|
|
3999
|
+
.ods-snackbar__progress-default {
|
|
4000
|
+
-webkit-animation: 4s forwards progress;
|
|
4001
|
+
animation: 4s forwards progress;
|
|
4002
|
+
}
|
|
4003
|
+
.ods-snackbar__progress-action {
|
|
4004
|
+
-webkit-animation: 10s forwards progress;
|
|
4005
|
+
animation: 10s forwards progress;
|
|
4006
|
+
}
|
|
4007
|
+
|
|
4008
|
+
@-webkit-keyframes moveInDown {
|
|
4009
|
+
from {
|
|
4010
|
+
opacity: 0;
|
|
4011
|
+
transform: translateY(-3rem);
|
|
4012
|
+
}
|
|
4013
|
+
to {
|
|
4014
|
+
opacity: 1;
|
|
4015
|
+
transform: translateY(0);
|
|
4016
|
+
}
|
|
4017
|
+
}
|
|
4018
|
+
|
|
4019
|
+
@keyframes moveInDown {
|
|
4020
|
+
from {
|
|
4021
|
+
opacity: 0;
|
|
4022
|
+
transform: translateY(-3rem);
|
|
4023
|
+
}
|
|
4024
|
+
to {
|
|
4025
|
+
opacity: 1;
|
|
4026
|
+
transform: translateY(0);
|
|
4027
|
+
}
|
|
4028
|
+
}
|
|
4029
|
+
@-webkit-keyframes moveInDownBack {
|
|
4030
|
+
from {
|
|
4031
|
+
opacity: 1;
|
|
4032
|
+
transform: translateY(0);
|
|
4033
|
+
}
|
|
4034
|
+
to {
|
|
4035
|
+
opacity: 0;
|
|
4036
|
+
transform: translateY(-3rem);
|
|
4037
|
+
}
|
|
4038
|
+
}
|
|
4039
|
+
@keyframes moveInDownBack {
|
|
4040
|
+
from {
|
|
4041
|
+
opacity: 1;
|
|
4042
|
+
transform: translateY(0);
|
|
4043
|
+
}
|
|
4044
|
+
to {
|
|
4045
|
+
opacity: 0;
|
|
4046
|
+
transform: translateY(-3rem);
|
|
4047
|
+
}
|
|
4048
|
+
}
|
|
4049
|
+
@-webkit-keyframes moveInUp {
|
|
4050
|
+
from {
|
|
4051
|
+
opacity: 0;
|
|
4052
|
+
transform: translateY(3rem);
|
|
4053
|
+
}
|
|
4054
|
+
to {
|
|
4055
|
+
opacity: 1;
|
|
4056
|
+
transform: translateY(0);
|
|
4057
|
+
}
|
|
4058
|
+
}
|
|
4059
|
+
@keyframes moveInUp {
|
|
4060
|
+
from {
|
|
4061
|
+
opacity: 0;
|
|
4062
|
+
transform: translateY(3rem);
|
|
4063
|
+
}
|
|
4064
|
+
to {
|
|
4065
|
+
opacity: 1;
|
|
4066
|
+
transform: translateY(0);
|
|
4067
|
+
}
|
|
4068
|
+
}
|
|
4069
|
+
@-webkit-keyframes moveInUpBack {
|
|
4070
|
+
from {
|
|
4071
|
+
opacity: 1;
|
|
4072
|
+
transform: translateY(0);
|
|
4073
|
+
}
|
|
4074
|
+
to {
|
|
4075
|
+
opacity: 0;
|
|
4076
|
+
transform: translateY(3rem);
|
|
4077
|
+
}
|
|
4078
|
+
}
|
|
4079
|
+
@keyframes moveInUpBack {
|
|
4080
|
+
from {
|
|
4081
|
+
opacity: 1;
|
|
4082
|
+
transform: translateY(0);
|
|
4083
|
+
}
|
|
4084
|
+
to {
|
|
4085
|
+
opacity: 0;
|
|
4086
|
+
transform: translateY(3rem);
|
|
4087
|
+
}
|
|
4088
|
+
}
|
|
4089
|
+
@-webkit-keyframes progress {
|
|
4090
|
+
0% {
|
|
4091
|
+
border-bottom-left-radius: 4px;
|
|
4092
|
+
border-top-left-radius: 4px;
|
|
4093
|
+
width: 0%;
|
|
4094
|
+
}
|
|
4095
|
+
100% {
|
|
4096
|
+
border-bottom-right-radius: 4px;
|
|
4097
|
+
border-top-right-radius: 4px;
|
|
4098
|
+
width: 100%;
|
|
4099
|
+
}
|
|
4100
|
+
}
|
|
4101
|
+
@keyframes progress {
|
|
4102
|
+
0% {
|
|
4103
|
+
border-bottom-left-radius: 4px;
|
|
4104
|
+
border-top-left-radius: 4px;
|
|
4105
|
+
width: 0%;
|
|
4106
|
+
}
|
|
4107
|
+
100% {
|
|
4108
|
+
border-bottom-right-radius: 4px;
|
|
4109
|
+
border-top-right-radius: 4px;
|
|
4110
|
+
width: 100%;
|
|
4111
|
+
}
|
|
4112
|
+
}
|
|
3737
4113
|
/*# sourceMappingURL=ocean.css.map */
|