@useblu/ocean-core 1.28.0 → 1.29.3

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,24 @@
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.3](https://github.com/ocean-ds/ocean-web/compare/v1.29.2...v1.29.3) (2022-03-07)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **badge:** adjust line heigh in every size ([#929](https://github.com/ocean-ds/ocean-web/issues/929)) ([003595e](https://github.com/ocean-ds/ocean-web/commit/003595e2b0140b51b1712214b50bfff619bd7125))
11
+
12
+ ## [1.29.1](https://github.com/ocean-ds/ocean-web/compare/v1.29.0...v1.29.1) (2022-02-24)
13
+
14
+ ### Bug Fixes
15
+
16
+ - **button:** add hover transition to icon button variant. ([#923](https://github.com/ocean-ds/ocean-web/issues/923)) ([c3b94d6](https://github.com/ocean-ds/ocean-web/commit/c3b94d66f278a286c76731c5114562da0a671b30))
17
+
18
+ # [1.29.0](https://github.com/ocean-ds/ocean-web/compare/v1.28.0...v1.29.0) (2022-02-24)
19
+
20
+ ### Features
21
+
22
+ - **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))
23
+
6
24
  # [1.28.0](https://github.com/ocean-ds/ocean-web/compare/v1.27.3...v1.28.0) (2022-02-23)
7
25
 
8
26
  ### 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;
@@ -1980,6 +1986,7 @@
1980
1986
  justify-content: center;
1981
1987
  line-height: 1;
1982
1988
  outline: none;
1989
+ transition: background-color 0.1s ease-out;
1983
1990
  width: 48px;
1984
1991
  }
1985
1992
  .ods-icon-btn:hover, .ods-icon-btn:focus {
@@ -2190,80 +2197,57 @@
2190
2197
  font-weight: 600;
2191
2198
  }
2192
2199
 
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;
2200
+ .ods-progress svg {
2201
+ -webkit-animation: ods-loading-animation 0.8s linear infinite;
2202
+ animation: ods-loading-animation 0.8s linear infinite;
2201
2203
  }
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);
2204
+ .ods-progress svg circle {
2205
+ stroke: #b8c3ff;
2208
2206
  }
2209
- .ods-progress__secondary {
2210
- left: 0;
2211
- position: absolute;
2207
+ .ods-progress svg path {
2208
+ stroke: #0025e0;
2212
2209
  }
2213
- .ods-progress__secondary svg {
2214
- display: block;
2210
+ .ods-progress--on-color svg circle {
2211
+ stroke: #fff;
2215
2212
  }
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;
2213
+ .ods-progress--on-color svg path {
2214
+ stroke: #fff;
2224
2215
  }
2225
- .ods-progress--md {
2216
+ .ods-progress--md svg {
2226
2217
  height: 24px;
2227
2218
  width: 24px;
2228
2219
  }
2229
- .ods-progress--sm {
2220
+ .ods-progress--sm svg {
2230
2221
  height: 16px;
2231
2222
  width: 16px;
2232
2223
  }
2233
- .ods-progress--lg {
2224
+ .ods-progress--lg svg {
2234
2225
  height: 32px;
2235
2226
  width: 32px;
2236
2227
  }
2237
-
2238
- @-webkit-keyframes animate-progress {
2228
+ @-webkit-keyframes ods-loading-animation {
2239
2229
  0% {
2240
- stroke-dasharray: 1px, 200px;
2241
- stroke-dashoffset: 0;
2230
+ transform: rotate(0deg);
2242
2231
  }
2243
- 50% {
2244
- stroke-dasharray: 100px, 200px;
2245
- stroke-dashoffset: -15px;
2232
+ 90% {
2233
+ transform: rotate(340deg);
2246
2234
  }
2247
2235
  100% {
2248
- stroke-dasharray: 100px, 200px;
2249
- stroke-dashoffset: -125px;
2236
+ transform: rotate(360deg);
2250
2237
  }
2251
2238
  }
2252
-
2253
- @keyframes animate-progress {
2239
+ @keyframes ods-loading-animation {
2254
2240
  0% {
2255
- stroke-dasharray: 1px, 200px;
2256
- stroke-dashoffset: 0;
2241
+ transform: rotate(0deg);
2257
2242
  }
2258
- 50% {
2259
- stroke-dasharray: 100px, 200px;
2260
- stroke-dashoffset: -15px;
2243
+ 90% {
2244
+ transform: rotate(340deg);
2261
2245
  }
2262
2246
  100% {
2263
- stroke-dasharray: 100px, 200px;
2264
- stroke-dashoffset: -125px;
2247
+ transform: rotate(360deg);
2265
2248
  }
2266
2249
  }
2250
+
2267
2251
  .ods-modal__overlay {
2268
2252
  background: rgba(57, 59, 71, 0.4);
2269
2253
  bottom: 0;
@@ -2473,18 +2457,21 @@
2473
2457
  .ods-badge--medium .ods-badge__content {
2474
2458
  font-size: 12px;
2475
2459
  height: 24px;
2460
+ line-height: 24px;
2476
2461
  min-width: 24px;
2477
2462
  width: 24px;
2478
2463
  }
2479
2464
  .ods-badge--small .ods-badge__content {
2480
2465
  font-size: 10px;
2481
2466
  height: 16px;
2467
+ line-height: 16px;
2482
2468
  min-width: 16px;
2483
2469
  }
2484
2470
  .ods-badge--tiny .ods-badge__content {
2485
2471
  display: block;
2486
2472
  font-size: 10px;
2487
2473
  height: 8px;
2474
+ line-height: 8px;
2488
2475
  min-width: 8px;
2489
2476
  overflow: hidden;
2490
2477
  width: 8px;