@useblu/ocean-core 1.69.1 → 1.71.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.71.0](https://github.com/ocean-ds/ocean-web/compare/v1.70.1...v1.71.0) (2024-12-06)
7
+
8
+ ### Features
9
+
10
+ - create text list item ([#1123](https://github.com/ocean-ds/ocean-web/issues/1123)) ([ae17cd7](https://github.com/ocean-ds/ocean-web/commit/ae17cd7b094ee696a88fd981e67b3326ff3c9b40))
11
+
12
+ # [1.70.0](https://github.com/ocean-ds/ocean-web/compare/v1.69.1...v1.70.0) (2024-12-04)
13
+
14
+ ### Features
15
+
16
+ - update shortcut ([#1121](https://github.com/ocean-ds/ocean-web/issues/1121)) ([f4cd7f3](https://github.com/ocean-ds/ocean-web/commit/f4cd7f359132dfd3c85ed53962c118a9c83d0509))
17
+
6
18
  ## [1.69.1](https://github.com/ocean-ds/ocean-web/compare/v1.69.0...v1.69.1) (2024-11-13)
7
19
 
8
20
  ### 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;
@@ -3201,6 +3201,94 @@
3201
3201
  white-space: nowrap;
3202
3202
  }
3203
3203
 
3204
+ .ods-text-list-item-selectable .ods-checkbox__root,
3205
+ .ods-text-list-item-selectable .ods-radio__root {
3206
+ align-items: center;
3207
+ background-color: white;
3208
+ padding: 16px;
3209
+ }
3210
+ .ods-text-list-item-selectable .ods-checkbox__root:hover, .ods-text-list-item-selectable .ods-checkbox__root:focus,
3211
+ .ods-text-list-item-selectable .ods-radio__root:hover,
3212
+ .ods-text-list-item-selectable .ods-radio__root:focus {
3213
+ background-color: #f3f5fe;
3214
+ cursor: pointer;
3215
+ }
3216
+ .ods-text-list-item-selectable .ods-checkbox__label,
3217
+ .ods-text-list-item-selectable .ods-radio__label {
3218
+ padding-left: 16px;
3219
+ width: 100%;
3220
+ }
3221
+
3222
+ .ods-text-list-item {
3223
+ align-items: center;
3224
+ align-items: flex-start;
3225
+ background-color: white;
3226
+ display: flex;
3227
+ flex-direction: column;
3228
+ min-width: 320px;
3229
+ padding: 16px;
3230
+ width: 100%;
3231
+ }
3232
+ .ods-text-list-item--with-action {
3233
+ align-items: center;
3234
+ flex-direction: row;
3235
+ justify-content: space-between;
3236
+ padding: 16px 8px 16px 16px;
3237
+ }
3238
+ .ods-text-list-item--with-action svg {
3239
+ color: #aaadc0;
3240
+ height: 20px;
3241
+ width: 20px;
3242
+ }
3243
+ .ods-text-list-item--with-action:hover, .ods-text-list-item--with-action:focus {
3244
+ background-color: #f3f5fe;
3245
+ cursor: pointer;
3246
+ }
3247
+ .ods-text-list-item--selectable {
3248
+ background-color: transparent;
3249
+ padding: 0;
3250
+ }
3251
+ .ods-text-list-item--wide {
3252
+ align-items: center;
3253
+ flex-direction: row;
3254
+ justify-content: space-between;
3255
+ }
3256
+ .ods-text-list-item--wide .ods-text-list-item__info-text.ods-typography__description {
3257
+ margin-top: 0;
3258
+ }
3259
+ .ods-text-list-item__default-content {
3260
+ align-items: flex-start;
3261
+ display: flex;
3262
+ flex-direction: column;
3263
+ }
3264
+ .ods-text-list-item__info-text.ods-typography__description {
3265
+ margin-top: 8px;
3266
+ }
3267
+ .ods-text-list-item__info-text--neutral.ods-typography__description {
3268
+ color: #393b47;
3269
+ }
3270
+ .ods-text-list-item__info-text--positive.ods-typography__description {
3271
+ color: #2da94f;
3272
+ }
3273
+ .ods-text-list-item .ods-typography__paragraph {
3274
+ align-items: center;
3275
+ color: #0c0d14;
3276
+ display: flex;
3277
+ gap: 4px;
3278
+ }
3279
+ .ods-text-list-item .ods-typography__captionbold {
3280
+ margin-top: 8px;
3281
+ }
3282
+ .ods-text-list-item .ods-tag--medium {
3283
+ max-height: 20px;
3284
+ }
3285
+
3286
+ .ods-text-list-item--button {
3287
+ background-color: transparent;
3288
+ border: hidden;
3289
+ padding: 0;
3290
+ }
3291
+
3204
3292
  .ods-typography {
3205
3293
  margin: 0;
3206
3294
  }
@@ -4537,7 +4625,7 @@
4537
4625
  align-items: flex-start;
4538
4626
  background-color: white;
4539
4627
  border: 1px solid #e0e2ee;
4540
- border-radius: 12px;
4628
+ border-radius: 8px;
4541
4629
  box-sizing: border-box;
4542
4630
  cursor: pointer;
4543
4631
  display: flex;
@@ -4550,8 +4638,11 @@
4550
4638
  .ods-shortcut:is(:hover, :focus) {
4551
4639
  background-color: #f3f5fe;
4552
4640
  }
4641
+ .ods-shortcut--blocked .ods-shortcut__content--horizontal, .ods-shortcut--with-badge .ods-shortcut__content--horizontal {
4642
+ margin-right: 16px;
4643
+ }
4553
4644
  .ods-shortcut--disabled {
4554
- background-color: rgba(235, 236, 245, 0.64);
4645
+ background-color: #f3f5fe;
4555
4646
  border-color: transparent;
4556
4647
  cursor: not-allowed;
4557
4648
  }
@@ -4566,11 +4657,14 @@
4566
4657
  .ods-shortcut--tiny.ods-shortcut--horizontal {
4567
4658
  min-width: 100px;
4568
4659
  }
4660
+ .ods-shortcut--tiny.ods-shortcut--horizontal.ods-shortcut--blocked, .ods-shortcut--tiny.ods-shortcut--horizontal.ods-shortcut--with-badge {
4661
+ min-width: 116px;
4662
+ }
4569
4663
  .ods-shortcut--small {
4570
4664
  min-width: 116px;
4571
4665
  }
4572
- .ods-shortcut--small.ods-shortcut--horizontal {
4573
- min-width: 140px;
4666
+ .ods-shortcut--small .ods-shortcut__content--vertical {
4667
+ gap: 26px;
4574
4668
  }
4575
4669
  .ods-shortcut--medium {
4576
4670
  min-width: 158px;
@@ -4579,7 +4673,7 @@
4579
4673
  min-width: 200px;
4580
4674
  }
4581
4675
  .ods-shortcut--medium .ods-shortcut__content--vertical {
4582
- gap: 12px;
4676
+ gap: 16px;
4583
4677
  }
4584
4678
  .ods-shortcut--full-width {
4585
4679
  width: 100%;
@@ -4601,11 +4695,7 @@
4601
4695
  flex-direction: row;
4602
4696
  }
4603
4697
  .ods-shortcut__label {
4604
- color: #393b47;
4605
- font-weight: 900;
4606
- height: -webkit-max-content;
4607
- height: -moz-max-content;
4608
- height: max-content;
4698
+ height: 16px;
4609
4699
  }
4610
4700
  .ods-shortcut__description {
4611
4701
  font-size: 12px;