@useblu/ocean-core 1.37.2 → 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,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.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
+
6
12
  ## [1.37.2](https://github.com/ocean-ds/ocean-web/compare/v1.37.1...v1.37.2) (2022-11-09)
7
13
 
8
14
  ### Bug Fixes
package/ocean.css CHANGED
@@ -3598,4 +3598,100 @@
3598
3598
  .ods-date__selectedMiddle {
3599
3599
  background-color: rgba(176, 245, 245, 0.24);
3600
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
+ }
3601
3697
  /*# sourceMappingURL=ocean.css.map */