@useblu/ocean-core 1.28.0 → 1.29.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.29.0](https://github.com/ocean-ds/ocean-web/compare/v1.28.0...v1.29.0) (2022-02-24)
7
+
8
+ ### Features
9
+
10
+ - **progress:** add progress and other fixes ([#922](https://github.com/ocean-ds/ocean-web/issues/922)) ([5888456](https://github.com/ocean-ds/ocean-web/commit/5888456c5618d73ca891005b743fdfacd0ab1c30))
11
+
6
12
  # [1.28.0](https://github.com/ocean-ds/ocean-web/compare/v1.27.3...v1.28.0) (2022-02-23)
7
13
 
8
14
  ### Features
package/ocean.css CHANGED
@@ -1380,7 +1380,7 @@
1380
1380
  }
1381
1381
 
1382
1382
  .ods-select__root {
1383
- width: 237px;
1383
+ min-width: 237px;
1384
1384
  }
1385
1385
  .ods-select__control {
1386
1386
  align-items: center;
@@ -1868,6 +1868,7 @@
1868
1868
  line-height: 1;
1869
1869
  outline: none;
1870
1870
  text-align: center;
1871
+ transition: background-color 0.1s ease-out;
1871
1872
  }
1872
1873
  .ods-btn--sm {
1873
1874
  font-size: 14px;
@@ -1890,11 +1891,6 @@
1890
1891
  padding-left: 32px;
1891
1892
  padding-right: 32px;
1892
1893
  }
1893
- .ods-btn:disabled {
1894
- background-color: #ebecf5;
1895
- color: #b6b9cc;
1896
- cursor: not-allowed;
1897
- }
1898
1894
  .ods-btn--primary {
1899
1895
  background-color: #0025e0;
1900
1896
  color: white;
@@ -1968,6 +1964,16 @@
1968
1964
  .ods-btn--blocked {
1969
1965
  width: 100%;
1970
1966
  }
1967
+ .ods-btn--loading > span {
1968
+ display: block;
1969
+ height: 0;
1970
+ visibility: hidden;
1971
+ }
1972
+ .ods-btn:disabled, .ods-btn:disabled .ods-btn:hover {
1973
+ background-color: #ebecf5;
1974
+ color: #b6b9cc;
1975
+ cursor: not-allowed;
1976
+ }
1971
1977
 
1972
1978
  .ods-icon-btn {
1973
1979
  align-items: center;
@@ -2190,80 +2196,57 @@
2190
2196
  font-weight: 600;
2191
2197
  }
2192
2198
 
2193
- .ods-progress {
2194
- display: inline-block;
2195
- position: relative;
2196
- }
2197
- .ods-progress__primary {
2198
- display: inline-block;
2199
- transform: rotate(-90deg);
2200
- transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
2199
+ .ods-progress svg {
2200
+ -webkit-animation: ods-loading-animation 0.8s linear infinite;
2201
+ animation: ods-loading-animation 0.8s linear infinite;
2201
2202
  }
2202
- .ods-progress__primary svg {
2203
- display: block;
2204
- stroke-width: 8px;
2205
- }
2206
- .ods-progress__primary svg circle {
2207
- stroke: rgba(255, 255, 255, 0.4);
2203
+ .ods-progress svg circle {
2204
+ stroke: #b8c3ff;
2208
2205
  }
2209
- .ods-progress__secondary {
2210
- left: 0;
2211
- position: absolute;
2206
+ .ods-progress svg path {
2207
+ stroke: #0025e0;
2212
2208
  }
2213
- .ods-progress__secondary svg {
2214
- display: block;
2209
+ .ods-progress--on-color svg circle {
2210
+ stroke: #fff;
2215
2211
  }
2216
- .ods-progress__secondary svg circle {
2217
- -webkit-animation: animate-progress 1.4s ease-in-out infinite;
2218
- animation: animate-progress 1.4s ease-in-out infinite;
2219
- display: block;
2220
- stroke: white;
2221
- stroke-dasharray: 80px, 200px;
2222
- stroke-dashoffset: 0;
2223
- stroke-width: 8px;
2212
+ .ods-progress--on-color svg path {
2213
+ stroke: #fff;
2224
2214
  }
2225
- .ods-progress--md {
2215
+ .ods-progress--md svg {
2226
2216
  height: 24px;
2227
2217
  width: 24px;
2228
2218
  }
2229
- .ods-progress--sm {
2219
+ .ods-progress--sm svg {
2230
2220
  height: 16px;
2231
2221
  width: 16px;
2232
2222
  }
2233
- .ods-progress--lg {
2223
+ .ods-progress--lg svg {
2234
2224
  height: 32px;
2235
2225
  width: 32px;
2236
2226
  }
2237
-
2238
- @-webkit-keyframes animate-progress {
2227
+ @-webkit-keyframes ods-loading-animation {
2239
2228
  0% {
2240
- stroke-dasharray: 1px, 200px;
2241
- stroke-dashoffset: 0;
2229
+ transform: rotate(0deg);
2242
2230
  }
2243
- 50% {
2244
- stroke-dasharray: 100px, 200px;
2245
- stroke-dashoffset: -15px;
2231
+ 90% {
2232
+ transform: rotate(340deg);
2246
2233
  }
2247
2234
  100% {
2248
- stroke-dasharray: 100px, 200px;
2249
- stroke-dashoffset: -125px;
2235
+ transform: rotate(360deg);
2250
2236
  }
2251
2237
  }
2252
-
2253
- @keyframes animate-progress {
2238
+ @keyframes ods-loading-animation {
2254
2239
  0% {
2255
- stroke-dasharray: 1px, 200px;
2256
- stroke-dashoffset: 0;
2240
+ transform: rotate(0deg);
2257
2241
  }
2258
- 50% {
2259
- stroke-dasharray: 100px, 200px;
2260
- stroke-dashoffset: -15px;
2242
+ 90% {
2243
+ transform: rotate(340deg);
2261
2244
  }
2262
2245
  100% {
2263
- stroke-dasharray: 100px, 200px;
2264
- stroke-dashoffset: -125px;
2246
+ transform: rotate(360deg);
2265
2247
  }
2266
2248
  }
2249
+
2267
2250
  .ods-modal__overlay {
2268
2251
  background: rgba(57, 59, 71, 0.4);
2269
2252
  bottom: 0;