@useblu/ocean-core 1.63.1 → 1.64.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.64.0](https://github.com/ocean-ds/ocean-web/compare/v1.63.1...v1.64.0) (2024-06-26)
7
+
8
+ ### Features
9
+
10
+ - update card list item component ([#1113](https://github.com/ocean-ds/ocean-web/issues/1113)) ([1c8cf3d](https://github.com/ocean-ds/ocean-web/commit/1c8cf3df19e2d0313d11a06975e845fcf23788a4))
11
+
6
12
  ## [1.63.1](https://github.com/ocean-ds/ocean-web/compare/v1.63.0...v1.63.1) (2024-06-20)
7
13
 
8
14
  ### Bug Fixes
package/ocean.css CHANGED
@@ -4420,27 +4420,18 @@
4420
4420
  .ods-card-list-item {
4421
4421
  align-items: center;
4422
4422
  border: 1px solid #e0e2ee;
4423
- border-radius: 12px;
4423
+ border-radius: 8px;
4424
4424
  box-sizing: border-box;
4425
4425
  cursor: pointer;
4426
4426
  display: flex;
4427
4427
  flex-direction: row;
4428
- gap: 16px;
4429
- padding: 16px;
4428
+ gap: 12px;
4429
+ padding: 16px 12px 16px 16px;
4430
4430
  transition: 200ms;
4431
4431
  width: 320px;
4432
4432
  }
4433
- .ods-card-list-item__leading-icon {
4434
- background-color: #f3f5fe;
4435
- border-radius: 50%;
4436
- box-sizing: content-box;
4437
- color: #5872f5;
4438
- height: 24px;
4439
- padding: 8px;
4440
- transition: 200ms;
4441
- width: 24px;
4442
- }
4443
4433
  .ods-card-list-item__leading-icon svg {
4434
+ color: #5872f5;
4444
4435
  height: 24px;
4445
4436
  width: 24px;
4446
4437
  }
@@ -4467,9 +4458,9 @@
4467
4458
  color: #67697a;
4468
4459
  font-family: "Nunito Sans";
4469
4460
  font-size: 12px;
4470
- font-weight: 400;
4461
+ font-weight: 600;
4471
4462
  line-height: 1.5;
4472
- margin-top: 4px;
4463
+ margin-top: 8px;
4473
4464
  }
4474
4465
  .ods-card-list-item__action {
4475
4466
  background-color: transparent;
@@ -4484,12 +4475,9 @@
4484
4475
  height: 20px;
4485
4476
  width: 20px;
4486
4477
  }
4487
- .ods-card-list-item:hover:not(.ods-card-list-item--disabled) {
4478
+ .ods-card-list-item:hover:not(.ods-card-list-item--disabled, .ods-card-list-item--loading) {
4488
4479
  background-color: #f3f5fe;
4489
4480
  }
4490
- .ods-card-list-item:hover:not(.ods-card-list-item--disabled):not(.ods-card-list-item--size-small) .ods-card-list-item__leading-icon {
4491
- background-color: rgba(184, 195, 255, 0.16);
4492
- }
4493
4481
  .ods-card-list-item--disabled {
4494
4482
  cursor: not-allowed;
4495
4483
  }
@@ -4512,10 +4500,86 @@
4512
4500
  background-color: transparent;
4513
4501
  padding: 0;
4514
4502
  }
4503
+ .ods-card-list-item--size-small .ods-card-list-item__lines {
4504
+ margin-left: 0;
4505
+ }
4506
+ .ods-card-list-item--size-small .ods-card-list-item__circle {
4507
+ height: 20px;
4508
+ min-height: 20px;
4509
+ min-width: 20px;
4510
+ width: 20px;
4511
+ }
4512
+ .ods-card-list-item--size-small .ods-card-list-item__lines__line2 {
4513
+ width: 87px;
4514
+ }
4515
+ .ods-card-list-item--size-small .ods-card-list-item__lines__line2 {
4516
+ width: 260px;
4517
+ }
4515
4518
  .ods-card-list-item--full-width {
4516
4519
  width: 100%;
4517
4520
  }
4521
+ .ods-card-list-item__circle {
4522
+ -webkit-animation: pulse 1.5s infinite ease-in-out;
4523
+ animation: pulse 1.5s infinite ease-in-out;
4524
+ background-color: #f3f5fe;
4525
+ border-radius: 50%;
4526
+ height: 40px;
4527
+ width: 40px;
4528
+ }
4529
+ .ods-card-list-item__lines {
4530
+ display: flex;
4531
+ flex-direction: column;
4532
+ gap: 8px;
4533
+ margin-left: 4px;
4534
+ }
4535
+ .ods-card-list-item__lines__line1 {
4536
+ -webkit-animation: pulse 1.5s infinite ease-in-out;
4537
+ animation: pulse 1.5s infinite ease-in-out;
4538
+ background-color: #f3f5fe;
4539
+ border-radius: 4px;
4540
+ height: 16px;
4541
+ width: 80px;
4542
+ }
4543
+ .ods-card-list-item__lines__line2 {
4544
+ -webkit-animation: pulse 1.5s infinite ease-in-out;
4545
+ animation: pulse 1.5s infinite ease-in-out;
4546
+ background-color: #f3f5fe;
4547
+ border-radius: 4px;
4548
+ height: 16px;
4549
+ width: 236px;
4550
+ }
4551
+ .ods-card-list-item__lines__line3 {
4552
+ -webkit-animation: pulse 1.5s infinite ease-in-out;
4553
+ animation: pulse 1.5s infinite ease-in-out;
4554
+ background-color: #f3f5fe;
4555
+ border-radius: 4px;
4556
+ height: 16px;
4557
+ width: 118px;
4558
+ }
4518
4559
 
4560
+ @-webkit-keyframes pulse {
4561
+ 0% {
4562
+ opacity: 1;
4563
+ }
4564
+ 50% {
4565
+ opacity: 0.5;
4566
+ }
4567
+ 100% {
4568
+ opacity: 1;
4569
+ }
4570
+ }
4571
+
4572
+ @keyframes pulse {
4573
+ 0% {
4574
+ opacity: 1;
4575
+ }
4576
+ 50% {
4577
+ opacity: 0.5;
4578
+ }
4579
+ 100% {
4580
+ opacity: 1;
4581
+ }
4582
+ }
4519
4583
  .ods-chips {
4520
4584
  display: inline-block;
4521
4585
  position: relative;