@useblu/ocean-core 1.67.0 → 1.68.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 CHANGED
@@ -3,6 +3,12 @@
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.68.0](https://github.com/ocean-ds/ocean-web/compare/v1.67.0...v1.68.0) (2024-08-15)
7
+
8
+ ### Features
9
+
10
+ - create web notification component ([#1117](https://github.com/ocean-ds/ocean-web/issues/1117)) ([3d3ef2d](https://github.com/ocean-ds/ocean-web/commit/3d3ef2da18e20e203dc3e281a0301749849e08c5))
11
+
6
12
  # [1.67.0](https://github.com/ocean-ds/ocean-web/compare/v1.66.0...v1.67.0) (2024-07-15)
7
13
 
8
14
  ### Features
package/ocean.css CHANGED
@@ -5021,4 +5021,215 @@
5021
5021
  margin: 0;
5022
5022
  padding-top: 8px;
5023
5023
  }
5024
+
5025
+ .ods-web-notification {
5026
+ align-items: center;
5027
+ background: #393b47;
5028
+ border-radius: 4px;
5029
+ bottom: 40px;
5030
+ display: flex;
5031
+ min-height: 63px;
5032
+ position: fixed;
5033
+ width: 348px;
5034
+ }
5035
+ .ods-web-notification__action-text-info {
5036
+ color: #b8c3ff;
5037
+ }
5038
+ .ods-web-notification__action-text-info:hover, .ods-web-notification__action-text-info:focus, .ods-web-notification__action-text-info:active {
5039
+ color: #b8c3ff;
5040
+ }
5041
+ .ods-web-notification__action-text-positive {
5042
+ color: #3dcc64;
5043
+ }
5044
+ .ods-web-notification__action-text-positive:hover, .ods-web-notification__action-text-positive:focus, .ods-web-notification__action-text-positive:active {
5045
+ color: #3dcc64;
5046
+ }
5047
+ .ods-web-notification__action-text-warning {
5048
+ color: #ffa347;
5049
+ }
5050
+ .ods-web-notification__action-text-warning:hover, .ods-web-notification__action-text-warning:focus, .ods-web-notification__action-text-warning:active {
5051
+ color: #ffa347;
5052
+ }
5053
+ .ods-web-notification__bottom-left-action {
5054
+ -webkit-animation-delay: 0s, 2s;
5055
+ animation-delay: 0s, 2s;
5056
+ -webkit-animation-duration: 150ms, 150ms;
5057
+ animation-duration: 150ms, 150ms;
5058
+ -webkit-animation-name: moveInUp;
5059
+ animation-name: moveInUp;
5060
+ -webkit-animation-timing-function: ease-out forwards;
5061
+ animation-timing-function: ease-out forwards;
5062
+ bottom: 40px;
5063
+ left: 40px;
5064
+ }
5065
+ .ods-web-notification__bottom-left-default {
5066
+ -webkit-animation-delay: 0s, 2s;
5067
+ animation-delay: 0s, 2s;
5068
+ -webkit-animation-duration: 150ms, 150ms;
5069
+ animation-duration: 150ms, 150ms;
5070
+ -webkit-animation-name: moveInUp;
5071
+ animation-name: moveInUp;
5072
+ -webkit-animation-timing-function: ease-out forwards;
5073
+ animation-timing-function: ease-out forwards;
5074
+ bottom: 40px;
5075
+ left: 40px;
5076
+ }
5077
+ .ods-web-notification__bottom-right-action {
5078
+ -webkit-animation-delay: 0s, 2s;
5079
+ animation-delay: 0s, 2s;
5080
+ -webkit-animation-duration: 150ms, 150ms;
5081
+ animation-duration: 150ms, 150ms;
5082
+ -webkit-animation-name: moveInUp;
5083
+ animation-name: moveInUp;
5084
+ -webkit-animation-timing-function: ease-out forwards;
5085
+ animation-timing-function: ease-out forwards;
5086
+ bottom: 40px;
5087
+ right: 40px;
5088
+ }
5089
+ .ods-web-notification__bottom-right-default {
5090
+ -webkit-animation-delay: 0s, 2s;
5091
+ animation-delay: 0s, 2s;
5092
+ -webkit-animation-duration: 150ms, 150ms;
5093
+ animation-duration: 150ms, 150ms;
5094
+ -webkit-animation-name: moveInUp;
5095
+ animation-name: moveInUp;
5096
+ -webkit-animation-timing-function: ease-out forwards;
5097
+ animation-timing-function: ease-out forwards;
5098
+ bottom: 40px;
5099
+ right: 40px;
5100
+ }
5101
+ .ods-web-notification__content {
5102
+ display: flex;
5103
+ gap: 12px;
5104
+ max-width: 328px;
5105
+ padding: 12px 8px 12px 16px;
5106
+ width: 328px;
5107
+ z-index: 1;
5108
+ }
5109
+ .ods-web-notification__wrapper {
5110
+ align-items: center;
5111
+ display: flex;
5112
+ flex-direction: row;
5113
+ gap: 12px;
5114
+ min-height: 39px;
5115
+ min-width: 233px;
5116
+ width: 100%;
5117
+ }
5118
+ .ods-web-notification__wrapper a {
5119
+ text-decoration: none;
5120
+ }
5121
+ .ods-web-notification__wrapper a:hover {
5122
+ text-decoration: none;
5123
+ }
5124
+ .ods-web-notification__wrapper .ods-link {
5125
+ font-weight: 700;
5126
+ }
5127
+ .ods-web-notification__body {
5128
+ display: flex;
5129
+ flex-direction: column;
5130
+ width: 100%;
5131
+ }
5132
+ .ods-web-notification__body p {
5133
+ word-break: break-word;
5134
+ }
5135
+ .ods-web-notification__close-button {
5136
+ color: #aaadc0;
5137
+ cursor: pointer;
5138
+ display: flex;
5139
+ padding: 0 4px 4px;
5140
+ }
5141
+ .ods-web-notification.position-2 {
5142
+ bottom: 110px;
5143
+ }
5144
+ .ods-web-notification.position-3 {
5145
+ bottom: 180px;
5146
+ }
5147
+ .ods-web-notification.position-4 {
5148
+ bottom: 250px;
5149
+ }
5150
+ .ods-web-notification.position-5 {
5151
+ bottom: 320px;
5152
+ }
5153
+ .ods-web-notification.position-6 {
5154
+ bottom: 390px;
5155
+ }
5156
+ .ods-web-notification.position-7 {
5157
+ bottom: 460px;
5158
+ }
5159
+ .ods-web-notification.position-8 {
5160
+ bottom: 530px;
5161
+ }
5162
+ .ods-web-notification.position-9 {
5163
+ bottom: 600px;
5164
+ }
5165
+ .ods-web-notification.position-10 {
5166
+ bottom: 670px;
5167
+ }
5168
+ @media (max-width: 767px) {
5169
+ .ods-web-notification {
5170
+ left: 3%;
5171
+ margin: 0;
5172
+ right: 5%;
5173
+ width: 93%;
5174
+ }
5175
+ }
5176
+ .ods-web-notification.position-1 {
5177
+ bottom: 40px;
5178
+ }
5179
+
5180
+ @keyframes moveInDown {
5181
+ from {
5182
+ opacity: 0;
5183
+ transform: translateY(-3rem);
5184
+ }
5185
+ to {
5186
+ opacity: 1;
5187
+ transform: translateY(0);
5188
+ }
5189
+ }
5190
+ @keyframes moveInDownBack {
5191
+ from {
5192
+ opacity: 1;
5193
+ transform: translateY(0);
5194
+ }
5195
+ to {
5196
+ opacity: 0;
5197
+ transform: translateY(-3rem);
5198
+ }
5199
+ }
5200
+ @keyframes moveInUp {
5201
+ from {
5202
+ opacity: 0;
5203
+ transform: translateY(3rem);
5204
+ }
5205
+ to {
5206
+ opacity: 1;
5207
+ transform: translateY(0);
5208
+ }
5209
+ }
5210
+ @keyframes moveInUpBack {
5211
+ from {
5212
+ opacity: 1;
5213
+ transform: translateY(0);
5214
+ }
5215
+ to {
5216
+ opacity: 0;
5217
+ transform: translateY(3rem);
5218
+ }
5219
+ }
5220
+ @keyframes progress {
5221
+ 0% {
5222
+ border-bottom-left-radius: 4px;
5223
+ border-top-left-radius: 4px;
5224
+ width: 0%;
5225
+ }
5226
+ 100% {
5227
+ border-bottom-right-radius: 4px;
5228
+ border-top-right-radius: 4px;
5229
+ width: 100%;
5230
+ }
5231
+ }
5232
+ .ods-typography__caption {
5233
+ color: #e0e2ee;
5234
+ }
5024
5235
  /*# sourceMappingURL=ocean.css.map */