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