@useblu/ocean-core 1.63.1 → 1.65.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.65.0](https://github.com/ocean-ds/ocean-web/compare/v1.64.0...v1.65.0) (2024-06-26)
7
+
8
+ ### Features
9
+
10
+ - update link ([#1111](https://github.com/ocean-ds/ocean-web/issues/1111)) ([8aa0bf2](https://github.com/ocean-ds/ocean-web/commit/8aa0bf2c4ad0c82e5a4f0c66595d8883edea93c8))
11
+
12
+ # [1.64.0](https://github.com/ocean-ds/ocean-web/compare/v1.63.1...v1.64.0) (2024-06-26)
13
+
14
+ ### Features
15
+
16
+ - 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))
17
+
6
18
  ## [1.63.1](https://github.com/ocean-ds/ocean-web/compare/v1.63.0...v1.63.1) (2024-06-20)
7
19
 
8
20
  ### Bug Fixes
package/ocean.css CHANGED
@@ -2383,42 +2383,62 @@
2383
2383
  font-family: "Nunito Sans";
2384
2384
  font-weight: 600;
2385
2385
  line-height: 1;
2386
+ text-decoration: underline;
2387
+ }
2388
+ .ods-link--chevron svg {
2389
+ margin-left: 2px;
2390
+ }
2391
+ .ods-link--tiny {
2392
+ font-size: 12px;
2393
+ line-height: 12px;
2394
+ }
2395
+ .ods-link--tiny svg {
2396
+ height: 14px;
2397
+ margin-left: 0;
2398
+ width: 14px;
2399
+ }
2400
+ .ods-link--external svg {
2401
+ margin-left: 4px;
2386
2402
  }
2387
2403
  .ods-link--sm {
2388
2404
  font-size: 14px;
2405
+ line-height: 14px;
2389
2406
  }
2390
2407
  .ods-link--md {
2391
2408
  font-size: 16px;
2409
+ line-height: 16px;
2392
2410
  }
2393
2411
  .ods-link--primary {
2394
2412
  color: #0025e0;
2395
2413
  }
2396
- .ods-link--primary:hover {
2414
+ .ods-link--primary:hover, .ods-link--primary:focus {
2397
2415
  color: #5872f5;
2398
2416
  text-decoration: underline;
2399
2417
  }
2400
2418
  .ods-link--inverse {
2401
2419
  color: #6ae5e5;
2402
2420
  }
2403
- .ods-link--inverse:hover {
2421
+ .ods-link--inverse:hover, .ods-link--inverse:focus {
2404
2422
  color: #b0f5f5;
2405
2423
  text-decoration: underline;
2406
2424
  }
2407
2425
  .ods-link--neutral {
2408
2426
  color: #67697a;
2409
2427
  }
2410
- .ods-link--neutral:hover {
2428
+ .ods-link--neutral:hover, .ods-link--neutral:focus {
2411
2429
  color: #5872f5;
2412
2430
  text-decoration: underline;
2413
2431
  }
2432
+ .ods-link--disabled {
2433
+ color: #aaadc0;
2434
+ cursor: not-allowed;
2435
+ pointer-events: none;
2436
+ }
2414
2437
  .ods-link--with-icon {
2415
2438
  align-items: center;
2416
2439
  display: flex;
2417
2440
  flex-direction: row;
2418
2441
  }
2419
- .ods-link svg {
2420
- margin-left: 4px;
2421
- }
2422
2442
 
2423
2443
  .ods-list {
2424
2444
  background: white;
@@ -4420,27 +4440,18 @@
4420
4440
  .ods-card-list-item {
4421
4441
  align-items: center;
4422
4442
  border: 1px solid #e0e2ee;
4423
- border-radius: 12px;
4443
+ border-radius: 8px;
4424
4444
  box-sizing: border-box;
4425
4445
  cursor: pointer;
4426
4446
  display: flex;
4427
4447
  flex-direction: row;
4428
- gap: 16px;
4429
- padding: 16px;
4448
+ gap: 12px;
4449
+ padding: 16px 12px 16px 16px;
4430
4450
  transition: 200ms;
4431
4451
  width: 320px;
4432
4452
  }
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
4453
  .ods-card-list-item__leading-icon svg {
4454
+ color: #5872f5;
4444
4455
  height: 24px;
4445
4456
  width: 24px;
4446
4457
  }
@@ -4467,9 +4478,9 @@
4467
4478
  color: #67697a;
4468
4479
  font-family: "Nunito Sans";
4469
4480
  font-size: 12px;
4470
- font-weight: 400;
4481
+ font-weight: 600;
4471
4482
  line-height: 1.5;
4472
- margin-top: 4px;
4483
+ margin-top: 8px;
4473
4484
  }
4474
4485
  .ods-card-list-item__action {
4475
4486
  background-color: transparent;
@@ -4484,12 +4495,9 @@
4484
4495
  height: 20px;
4485
4496
  width: 20px;
4486
4497
  }
4487
- .ods-card-list-item:hover:not(.ods-card-list-item--disabled) {
4498
+ .ods-card-list-item:hover:not(.ods-card-list-item--disabled, .ods-card-list-item--loading) {
4488
4499
  background-color: #f3f5fe;
4489
4500
  }
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
4501
  .ods-card-list-item--disabled {
4494
4502
  cursor: not-allowed;
4495
4503
  }
@@ -4512,10 +4520,86 @@
4512
4520
  background-color: transparent;
4513
4521
  padding: 0;
4514
4522
  }
4523
+ .ods-card-list-item--size-small .ods-card-list-item__lines {
4524
+ margin-left: 0;
4525
+ }
4526
+ .ods-card-list-item--size-small .ods-card-list-item__circle {
4527
+ height: 20px;
4528
+ min-height: 20px;
4529
+ min-width: 20px;
4530
+ width: 20px;
4531
+ }
4532
+ .ods-card-list-item--size-small .ods-card-list-item__lines__line2 {
4533
+ width: 87px;
4534
+ }
4535
+ .ods-card-list-item--size-small .ods-card-list-item__lines__line2 {
4536
+ width: 260px;
4537
+ }
4515
4538
  .ods-card-list-item--full-width {
4516
4539
  width: 100%;
4517
4540
  }
4541
+ .ods-card-list-item__circle {
4542
+ -webkit-animation: pulse 1.5s infinite ease-in-out;
4543
+ animation: pulse 1.5s infinite ease-in-out;
4544
+ background-color: #f3f5fe;
4545
+ border-radius: 50%;
4546
+ height: 40px;
4547
+ width: 40px;
4548
+ }
4549
+ .ods-card-list-item__lines {
4550
+ display: flex;
4551
+ flex-direction: column;
4552
+ gap: 8px;
4553
+ margin-left: 4px;
4554
+ }
4555
+ .ods-card-list-item__lines__line1 {
4556
+ -webkit-animation: pulse 1.5s infinite ease-in-out;
4557
+ animation: pulse 1.5s infinite ease-in-out;
4558
+ background-color: #f3f5fe;
4559
+ border-radius: 4px;
4560
+ height: 16px;
4561
+ width: 80px;
4562
+ }
4563
+ .ods-card-list-item__lines__line2 {
4564
+ -webkit-animation: pulse 1.5s infinite ease-in-out;
4565
+ animation: pulse 1.5s infinite ease-in-out;
4566
+ background-color: #f3f5fe;
4567
+ border-radius: 4px;
4568
+ height: 16px;
4569
+ width: 236px;
4570
+ }
4571
+ .ods-card-list-item__lines__line3 {
4572
+ -webkit-animation: pulse 1.5s infinite ease-in-out;
4573
+ animation: pulse 1.5s infinite ease-in-out;
4574
+ background-color: #f3f5fe;
4575
+ border-radius: 4px;
4576
+ height: 16px;
4577
+ width: 118px;
4578
+ }
4518
4579
 
4580
+ @-webkit-keyframes pulse {
4581
+ 0% {
4582
+ opacity: 1;
4583
+ }
4584
+ 50% {
4585
+ opacity: 0.5;
4586
+ }
4587
+ 100% {
4588
+ opacity: 1;
4589
+ }
4590
+ }
4591
+
4592
+ @keyframes pulse {
4593
+ 0% {
4594
+ opacity: 1;
4595
+ }
4596
+ 50% {
4597
+ opacity: 0.5;
4598
+ }
4599
+ 100% {
4600
+ opacity: 1;
4601
+ }
4602
+ }
4519
4603
  .ods-chips {
4520
4604
  display: inline-block;
4521
4605
  position: relative;