@useblu/ocean-core 1.46.2 → 1.47.1

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.1](https://github.com/ocean-ds/ocean-web/compare/v1.47.0...v1.47.1) (2023-07-03)
7
+
8
+ ### Bug Fixes
9
+
10
+ - Center checkbox icon ([#1074](https://github.com/ocean-ds/ocean-web/issues/1074)) ([6441262](https://github.com/ocean-ds/ocean-web/commit/6441262c2382bf544a0097e8ce9d235a61a284f6))
11
+
12
+ # [1.47.0](https://github.com/ocean-ds/ocean-web/compare/v1.46.3...v1.47.0) (2023-06-27)
13
+
14
+ ### Features
15
+
16
+ - 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))
17
+
6
18
  ## [1.46.2](https://github.com/ocean-ds/ocean-web/compare/v1.46.1...v1.46.2) (2023-06-22)
7
19
 
8
20
  ### Bug Fixes
package/ocean.css CHANGED
@@ -1511,11 +1511,12 @@
1511
1511
  .ods-checkbox__checkmark::after {
1512
1512
  border: solid #fff;
1513
1513
  border-width: 0 2px 2px 0;
1514
+ box-sizing: border-box;
1514
1515
  content: "";
1515
1516
  display: none;
1516
1517
  height: 10px;
1517
- margin-left: 5px;
1518
- margin-top: 1px;
1518
+ margin-left: 6px;
1519
+ margin-top: 3px;
1519
1520
  transform: rotate(40deg);
1520
1521
  width: 6px;
1521
1522
  }
@@ -4126,6 +4127,7 @@
4126
4127
  cursor: pointer;
4127
4128
  display: flex;
4128
4129
  flex-direction: column;
4130
+ gap: 8px;
4129
4131
  padding: 16px;
4130
4132
  position: relative;
4131
4133
  transition: 200ms ease-in;
@@ -4144,37 +4146,28 @@
4144
4146
  color: #b6b9cc;
4145
4147
  }
4146
4148
  .ods-shortcut--tiny {
4147
- width: 80px;
4149
+ min-width: 80px;
4148
4150
  }
4149
- .ods-shortcut--tiny .ods-shortcut__content {
4150
- gap: 8px;
4151
+ .ods-shortcut--tiny.ods-shortcut--horizontal {
4152
+ min-width: 100px;
4151
4153
  }
4152
4154
  .ods-shortcut--small {
4153
- width: 116px;
4155
+ min-width: 116px;
4154
4156
  }
4155
- .ods-shortcut--small .ods-shortcut__content {
4156
- gap: 8px;
4157
- }
4158
- .ods-shortcut--small .ods-shortcut__label {
4159
- align-items: flex-end;
4160
- display: flex;
4161
- height: 40px;
4157
+ .ods-shortcut--small.ods-shortcut--horizontal {
4158
+ min-width: 140px;
4162
4159
  }
4163
4160
  .ods-shortcut--medium {
4164
- gap: 8px;
4165
- width: 158px;
4161
+ min-width: 158px;
4166
4162
  }
4167
- .ods-shortcut--medium .ods-shortcut__content {
4168
- gap: 16px;
4163
+ .ods-shortcut--medium.ods-shortcut--horizontal {
4164
+ min-width: 200px;
4169
4165
  }
4170
- .ods-shortcut--large {
4166
+ .ods-shortcut--medium .ods-shortcut__content--vertical {
4171
4167
  gap: 12px;
4172
- width: 200px;
4173
4168
  }
4174
- .ods-shortcut--large .ods-shortcut__content {
4175
- align-items: center;
4176
- flex-direction: row;
4177
- gap: 12px;
4169
+ .ods-shortcut--full-width {
4170
+ width: 100%;
4178
4171
  }
4179
4172
  .ods-shortcut__icon {
4180
4173
  color: #5872f5;
@@ -4183,8 +4176,15 @@
4183
4176
  }
4184
4177
  .ods-shortcut__content {
4185
4178
  display: flex;
4179
+ gap: 8px;
4180
+ }
4181
+ .ods-shortcut__content--vertical {
4186
4182
  flex-direction: column;
4187
4183
  }
4184
+ .ods-shortcut__content--horizontal {
4185
+ align-items: center;
4186
+ flex-direction: row;
4187
+ }
4188
4188
  .ods-shortcut__label {
4189
4189
  color: #393b47;
4190
4190
  font-weight: 900;