@useblu/ocean-core 1.37.1 → 1.38.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,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.38.0](https://github.com/ocean-ds/ocean-web/compare/v1.37.2...v1.38.0) (2022-11-10)
7
+
8
+ ### Features
9
+
10
+ - add doughnut chart component ([#1037](https://github.com/ocean-ds/ocean-web/issues/1037)) ([df268fb](https://github.com/ocean-ds/ocean-web/commit/df268fb9fdb7cbcb5b297d87e64cd42c6c260ad0))
11
+
12
+ ## [1.37.2](https://github.com/ocean-ds/ocean-web/compare/v1.37.1...v1.37.2) (2022-11-09)
13
+
14
+ ### Bug Fixes
15
+
16
+ - components bugs ([#1034](https://github.com/ocean-ds/ocean-web/issues/1034)) ([d3e4397](https://github.com/ocean-ds/ocean-web/commit/d3e4397f301f631643c7b46023b8c80d93055ab9)), closes [#1023](https://github.com/ocean-ds/ocean-web/issues/1023) [#1018](https://github.com/ocean-ds/ocean-web/issues/1018)
17
+
6
18
  ## [1.37.1](https://github.com/ocean-ds/ocean-web/compare/v1.37.0...v1.37.1) (2022-10-24)
7
19
 
8
20
  ### Bug Fixes
package/ocean.css CHANGED
@@ -1057,18 +1057,21 @@
1057
1057
  .ods-form-control__label {
1058
1058
  margin-right: 4px;
1059
1059
  }
1060
+ .ods-form-control__element {
1061
+ max-height: 69.19px;
1062
+ }
1060
1063
  .ods-form-control__icon {
1061
1064
  align-items: start;
1062
1065
  display: flex;
1063
1066
  flex-direction: column;
1064
1067
  justify-content: center;
1065
1068
  }
1066
- .ods-form-control.ods-tooltip[data-tooltip-pos*=-left]::after {
1067
- left: -5px;
1068
- }
1069
- .ods-form-control.ods-tooltip[data-tooltip-pos*=-left]::before {
1069
+ .ods-form-control__icon.ods-tooltip[data-tooltip-pos*=-left]::before {
1070
1070
  left: 3px;
1071
1071
  }
1072
+ .ods-form-control__icon.ods-tooltip[data-tooltip-pos*=-left]::after {
1073
+ left: -5px;
1074
+ }
1072
1075
  .ods-form-control__helper-text {
1073
1076
  color: #b6b9cc;
1074
1077
  font-size: 12px;
@@ -1323,7 +1326,6 @@
1323
1326
  border-radius: 4px;
1324
1327
  display: flex;
1325
1328
  height: 46px;
1326
- margin: 1px;
1327
1329
  }
1328
1330
  .ods-input input {
1329
1331
  border: 0;
@@ -1354,23 +1356,16 @@
1354
1356
  .ods-input__number-controls {
1355
1357
  cursor: pointer;
1356
1358
  }
1357
- .ods-input:hover, .ods-input:focus, .ods-input:active {
1359
+ .ods-input:hover, .ods-input:focus, .ods-input:active, .ods-input:focus-within {
1358
1360
  border-color: #5872f5;
1359
1361
  border-width: 2px;
1360
- margin: 0;
1362
+ margin: -1px;
1361
1363
  }
1362
- .ods-input--left {
1363
- flex-direction: row-reverse;
1364
- }
1365
- .ods-input--left input {
1366
- padding: 0 16px;
1367
- }
1368
- .ods-input--left .ods-input__adornment {
1369
- margin-right: -12px;
1370
- padding: 0 0 0 16px;
1364
+ .ods-input--filled {
1365
+ border: 1px solid #b8c3ff;
1371
1366
  }
1372
- .ods-input--right .ods-input__adornment {
1373
- margin-left: -12px;
1367
+ .ods-input--error {
1368
+ border-color: #f5456e;
1374
1369
  }
1375
1370
  .ods-input--disabled {
1376
1371
  background-color: #ebecf5;
@@ -1382,13 +1377,7 @@
1382
1377
  cursor: not-allowed;
1383
1378
  }
1384
1379
  .ods-input--disabled:hover, .ods-input--disabled:focus, .ods-input--disabled:active {
1385
- border-color: #ebecf5;
1386
- }
1387
- .ods-input--filled {
1388
- border-color: #b8c3ff;
1389
- }
1390
- .ods-input--error {
1391
- border-color: #f5456e;
1380
+ border-color: #5872f5;
1392
1381
  }
1393
1382
  .ods-input__adornment {
1394
1383
  align-items: center;
@@ -1403,6 +1392,19 @@
1403
1392
  .ods-input__adornment input {
1404
1393
  padding: 0 4px;
1405
1394
  }
1395
+ .ods-input--left {
1396
+ flex-direction: row-reverse;
1397
+ }
1398
+ .ods-input--left input {
1399
+ padding: 0 16px;
1400
+ }
1401
+ .ods-input--left .ods-input__adornment {
1402
+ margin-right: -12px;
1403
+ padding: 0 0 0 16px;
1404
+ }
1405
+ .ods-input--right .ods-input__adornment {
1406
+ margin-left: -12px;
1407
+ }
1406
1408
 
1407
1409
  .ods-input--amount .ods-input--root {
1408
1410
  align-items: center;
@@ -1454,10 +1456,9 @@
1454
1456
  .ods-textarea::placeholder {
1455
1457
  color: #d8dae8;
1456
1458
  }
1457
- .ods-textarea:hover, .ods-textarea:focus, .ods-textarea:active {
1458
- border-color: #5872f5;
1459
- border-width: 2px;
1460
- padding: 15px;
1459
+ .ods-textarea:hover, .ods-textarea:focus, .ods-textarea:active, .ods-textarea:focus-within {
1460
+ border: 2px solid #5872f5;
1461
+ margin: -1px;
1461
1462
  }
1462
1463
  .ods-textarea:disabled {
1463
1464
  background-color: #ebecf5;
@@ -1469,7 +1470,7 @@
1469
1470
  border-color: #ebecf5;
1470
1471
  }
1471
1472
  .ods-textarea--filled {
1472
- border-color: #b8c3ff;
1473
+ border: 1px solid #b8c3ff;
1473
1474
  }
1474
1475
  .ods-textarea--error {
1475
1476
  border-color: #f5456e;
@@ -2690,7 +2691,6 @@
2690
2691
  border-radius: 4px;
2691
2692
  display: flex;
2692
2693
  height: 46px;
2693
- margin: 1px;
2694
2694
  width: 100%;
2695
2695
  }
2696
2696
  .ods-search input {
@@ -2718,13 +2718,12 @@
2718
2718
  color: #d8dae8;
2719
2719
  font-weight: 400;
2720
2720
  }
2721
- .ods-search:hover, .ods-search:focus, .ods-search:active {
2722
- border-color: #5872f5;
2723
- border-width: 2px;
2724
- margin: 0;
2721
+ .ods-search:hover, .ods-search:focus, .ods-search:active, .ods-search:focus-within {
2722
+ border: 2px solid #5872f5;
2723
+ margin: -1px;
2725
2724
  }
2726
2725
  .ods-search--filled {
2727
- border-color: #b8c3ff;
2726
+ border: 1px solid #b8c3ff;
2728
2727
  }
2729
2728
  .ods-search--disabled {
2730
2729
  background-color: #ebecf5;
@@ -2736,7 +2735,7 @@
2736
2735
  cursor: not-allowed;
2737
2736
  }
2738
2737
  .ods-search--disabled:hover, .ods-search--disabled:focus, .ods-search--disabled:active {
2739
- border-color: #ebecf5;
2738
+ border: #ebecf5;
2740
2739
  }
2741
2740
  .ods-search__adornment {
2742
2741
  line-height: 0;
@@ -2745,9 +2744,6 @@
2745
2744
  .ods-search__adornment svg {
2746
2745
  color: #d8dae8;
2747
2746
  }
2748
- .ods-search--filled .ods-search__adornment svg {
2749
- color: #0025e0;
2750
- }
2751
2747
  .ods-search__clean {
2752
2748
  color: #b6b9cc;
2753
2749
  margin-right: 4px;
@@ -3602,4 +3598,100 @@
3602
3598
  .ods-date__selectedMiddle {
3603
3599
  background-color: rgba(176, 245, 245, 0.24);
3604
3600
  }
3601
+
3602
+ .ods-chart {
3603
+ padding-bottom: 16px;
3604
+ width: 100%;
3605
+ }
3606
+ .ods-chart__title-and-subtitle {
3607
+ margin-bottom: 24px;
3608
+ width: 100%;
3609
+ }
3610
+ .ods-chart__title-and-subtitle .ods-typography__heading4 {
3611
+ color: #393b47;
3612
+ margin-bottom: 4px;
3613
+ }
3614
+ .ods-chart__canvas {
3615
+ align-items: center;
3616
+ display: flex;
3617
+ justify-content: center;
3618
+ margin-bottom: 24px;
3619
+ position: relative;
3620
+ width: 100%;
3621
+ }
3622
+ .ods-chart__canvas canvas {
3623
+ margin: 0 auto;
3624
+ }
3625
+ .ods-chart__canvas__center-legend {
3626
+ align-items: center;
3627
+ display: flex;
3628
+ flex-direction: column;
3629
+ height: 40px;
3630
+ justify-content: center;
3631
+ position: absolute;
3632
+ width: 96px;
3633
+ }
3634
+ .ods-chart__canvas__center-legend .ods-typography__heading2 {
3635
+ align-items: center;
3636
+ color: #393b47;
3637
+ display: flex;
3638
+ font-family: "Nunito Sans";
3639
+ font-size: 20px;
3640
+ font-weight: 600;
3641
+ line-height: 1.1;
3642
+ text-align: center;
3643
+ }
3644
+ .ods-chart__canvas__center-legend .ods-typography__description {
3645
+ align-items: center;
3646
+ color: #67697a;
3647
+ display: flex;
3648
+ font-family: "Nunito Sans";
3649
+ font-size: 12px;
3650
+ font-weight: 600;
3651
+ line-height: 1.5;
3652
+ text-align: center;
3653
+ }
3654
+ .ods-chart__legend {
3655
+ align-items: flex-start;
3656
+ display: flex;
3657
+ flex-direction: column;
3658
+ justify-content: center;
3659
+ width: 100%;
3660
+ }
3661
+ .ods-chart__legend__row {
3662
+ align-items: center;
3663
+ display: flex;
3664
+ height: 38px;
3665
+ justify-content: space-between;
3666
+ padding: 8px 0;
3667
+ width: 100%;
3668
+ }
3669
+ .ods-chart__legend__row:not(:last-child) {
3670
+ border-bottom: 1px solid #ebecf5;
3671
+ }
3672
+ .ods-chart__legend__row__description {
3673
+ align-items: center;
3674
+ display: flex;
3675
+ justify-content: center;
3676
+ }
3677
+ .ods-chart__legend__row__description-circle {
3678
+ border-radius: 8px;
3679
+ height: 8px;
3680
+ margin-right: 8px;
3681
+ width: 8px;
3682
+ }
3683
+ .ods-chart__legend__row__percent {
3684
+ align-items: center;
3685
+ color: #393b47;
3686
+ display: flex;
3687
+ font-family: "Nunito Sans";
3688
+ font-size: 14px;
3689
+ font-weight: 600;
3690
+ height: 21px;
3691
+ line-height: 1.5;
3692
+ }
3693
+ .ods-chart__legend__row__description-level-2 {
3694
+ color: #b6b9cc;
3695
+ margin-left: 16px;
3696
+ }
3605
3697
  /*# sourceMappingURL=ocean.css.map */