@useblu/ocean-core 1.45.0 → 1.47.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.47.0](https://github.com/ocean-ds/ocean-web/compare/v1.46.3...v1.47.0) (2023-06-27)
7
+
8
+ ### Features
9
+
10
+ - add orientation prop on shortcut ([#1071](https://github.com/ocean-ds/ocean-web/issues/1071)) ([05d96a1](https://github.com/ocean-ds/ocean-web/commit/05d96a1801a7dbb1dfa4e4b9e91bc0845cbb2884))
11
+
12
+ ## [1.46.2](https://github.com/ocean-ds/ocean-web/compare/v1.46.1...v1.46.2) (2023-06-22)
13
+
14
+ ### Bug Fixes
15
+
16
+ - update CrossSellCad click event to be in button ([#1072](https://github.com/ocean-ds/ocean-web/issues/1072)) ([3e84280](https://github.com/ocean-ds/ocean-web/commit/3e842804981d95fa5821a0cdd07c123e4e63f956))
17
+
6
18
  # [1.45.0](https://github.com/ocean-ds/ocean-web/compare/v1.44.0...v1.45.0) (2023-06-02)
7
19
 
8
20
  ### Features
package/ocean.css CHANGED
@@ -3206,7 +3206,6 @@
3206
3206
 
3207
3207
  .ods-cross-sell-card {
3208
3208
  border-radius: 8px;
3209
- cursor: pointer;
3210
3209
  min-height: 156px;
3211
3210
  width: 100%;
3212
3211
  }
@@ -4127,6 +4126,7 @@
4127
4126
  cursor: pointer;
4128
4127
  display: flex;
4129
4128
  flex-direction: column;
4129
+ gap: 8px;
4130
4130
  padding: 16px;
4131
4131
  position: relative;
4132
4132
  transition: 200ms ease-in;
@@ -4145,37 +4145,28 @@
4145
4145
  color: #b6b9cc;
4146
4146
  }
4147
4147
  .ods-shortcut--tiny {
4148
- width: 80px;
4148
+ min-width: 80px;
4149
4149
  }
4150
- .ods-shortcut--tiny .ods-shortcut__content {
4151
- gap: 8px;
4150
+ .ods-shortcut--tiny.ods-shortcut--horizontal {
4151
+ min-width: 100px;
4152
4152
  }
4153
4153
  .ods-shortcut--small {
4154
- width: 116px;
4154
+ min-width: 116px;
4155
4155
  }
4156
- .ods-shortcut--small .ods-shortcut__content {
4157
- gap: 8px;
4158
- }
4159
- .ods-shortcut--small .ods-shortcut__label {
4160
- align-items: flex-end;
4161
- display: flex;
4162
- height: 40px;
4156
+ .ods-shortcut--small.ods-shortcut--horizontal {
4157
+ min-width: 140px;
4163
4158
  }
4164
4159
  .ods-shortcut--medium {
4165
- gap: 8px;
4166
- width: 158px;
4160
+ min-width: 158px;
4167
4161
  }
4168
- .ods-shortcut--medium .ods-shortcut__content {
4169
- gap: 16px;
4162
+ .ods-shortcut--medium.ods-shortcut--horizontal {
4163
+ min-width: 200px;
4170
4164
  }
4171
- .ods-shortcut--large {
4165
+ .ods-shortcut--medium .ods-shortcut__content--vertical {
4172
4166
  gap: 12px;
4173
- width: 200px;
4174
4167
  }
4175
- .ods-shortcut--large .ods-shortcut__content {
4176
- align-items: center;
4177
- flex-direction: row;
4178
- gap: 12px;
4168
+ .ods-shortcut--full-width {
4169
+ width: 100%;
4179
4170
  }
4180
4171
  .ods-shortcut__icon {
4181
4172
  color: #5872f5;
@@ -4184,8 +4175,15 @@
4184
4175
  }
4185
4176
  .ods-shortcut__content {
4186
4177
  display: flex;
4178
+ gap: 8px;
4179
+ }
4180
+ .ods-shortcut__content--vertical {
4187
4181
  flex-direction: column;
4188
4182
  }
4183
+ .ods-shortcut__content--horizontal {
4184
+ align-items: center;
4185
+ flex-direction: row;
4186
+ }
4189
4187
  .ods-shortcut__label {
4190
4188
  color: #393b47;
4191
4189
  font-weight: 900;