@useblu/ocean-core 1.69.1 → 1.70.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.70.0](https://github.com/ocean-ds/ocean-web/compare/v1.69.1...v1.70.0) (2024-12-04)
7
+
8
+ ### Features
9
+
10
+ - update shortcut ([#1121](https://github.com/ocean-ds/ocean-web/issues/1121)) ([f4cd7f3](https://github.com/ocean-ds/ocean-web/commit/f4cd7f359132dfd3c85ed53962c118a9c83d0509))
11
+
6
12
  ## [1.69.1](https://github.com/ocean-ds/ocean-web/compare/v1.69.0...v1.69.1) (2024-11-13)
7
13
 
8
14
  ### Bug Fixes
package/ocean.css CHANGED
@@ -2088,7 +2088,7 @@
2088
2088
  box-sizing: border-box;
2089
2089
  color: white;
2090
2090
  display: flex;
2091
- font-weight: 700;
2091
+ font-weight: 800;
2092
2092
  justify-content: center;
2093
2093
  white-space: nowrap;
2094
2094
  width: auto;
@@ -4537,7 +4537,7 @@
4537
4537
  align-items: flex-start;
4538
4538
  background-color: white;
4539
4539
  border: 1px solid #e0e2ee;
4540
- border-radius: 12px;
4540
+ border-radius: 8px;
4541
4541
  box-sizing: border-box;
4542
4542
  cursor: pointer;
4543
4543
  display: flex;
@@ -4550,8 +4550,11 @@
4550
4550
  .ods-shortcut:is(:hover, :focus) {
4551
4551
  background-color: #f3f5fe;
4552
4552
  }
4553
+ .ods-shortcut--blocked .ods-shortcut__content--horizontal, .ods-shortcut--with-badge .ods-shortcut__content--horizontal {
4554
+ margin-right: 16px;
4555
+ }
4553
4556
  .ods-shortcut--disabled {
4554
- background-color: rgba(235, 236, 245, 0.64);
4557
+ background-color: #f3f5fe;
4555
4558
  border-color: transparent;
4556
4559
  cursor: not-allowed;
4557
4560
  }
@@ -4566,11 +4569,14 @@
4566
4569
  .ods-shortcut--tiny.ods-shortcut--horizontal {
4567
4570
  min-width: 100px;
4568
4571
  }
4572
+ .ods-shortcut--tiny.ods-shortcut--horizontal.ods-shortcut--blocked, .ods-shortcut--tiny.ods-shortcut--horizontal.ods-shortcut--with-badge {
4573
+ min-width: 116px;
4574
+ }
4569
4575
  .ods-shortcut--small {
4570
4576
  min-width: 116px;
4571
4577
  }
4572
- .ods-shortcut--small.ods-shortcut--horizontal {
4573
- min-width: 140px;
4578
+ .ods-shortcut--small .ods-shortcut__content--vertical {
4579
+ gap: 26px;
4574
4580
  }
4575
4581
  .ods-shortcut--medium {
4576
4582
  min-width: 158px;
@@ -4579,7 +4585,7 @@
4579
4585
  min-width: 200px;
4580
4586
  }
4581
4587
  .ods-shortcut--medium .ods-shortcut__content--vertical {
4582
- gap: 12px;
4588
+ gap: 16px;
4583
4589
  }
4584
4590
  .ods-shortcut--full-width {
4585
4591
  width: 100%;
@@ -4601,11 +4607,7 @@
4601
4607
  flex-direction: row;
4602
4608
  }
4603
4609
  .ods-shortcut__label {
4604
- color: #393b47;
4605
- font-weight: 900;
4606
- height: -webkit-max-content;
4607
- height: -moz-max-content;
4608
- height: max-content;
4610
+ height: 16px;
4609
4611
  }
4610
4612
  .ods-shortcut__description {
4611
4613
  font-size: 12px;