@useblu/ocean-core 1.27.1 → 1.28.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,22 @@
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.28.0](https://github.com/ocean-ds/ocean-web/compare/v1.27.3...v1.28.0) (2022-02-23)
7
+
8
+ ### Features
9
+
10
+ - **badge:** add new badge component. ([#918](https://github.com/ocean-ds/ocean-web/issues/918)) ([b183b16](https://github.com/ocean-ds/ocean-web/commit/b183b16837580f59319d4957d7235b44431660cb))
11
+
12
+ ## [1.27.3](https://github.com/ocean-ds/ocean-web/compare/v1.27.2...v1.27.3) (2022-02-15)
13
+
14
+ **Note:** Version bump only for package @useblu/ocean-core
15
+
16
+ ## [1.27.2](https://github.com/ocean-ds/ocean-web/compare/v1.27.1...v1.27.2) (2022-02-11)
17
+
18
+ ### Bug Fixes
19
+
20
+ - **carosel:** add shadown to block ([#910](https://github.com/ocean-ds/ocean-web/issues/910)) ([1835bc6](https://github.com/ocean-ds/ocean-web/commit/1835bc6ec497edcc3d05f7a875c903741d7d729e))
21
+
6
22
  ## [1.27.1](https://github.com/ocean-ds/ocean-web/compare/v1.27.0...v1.27.1) (2022-02-11)
7
23
 
8
24
  ### Bug Fixes
package/ocean.css CHANGED
@@ -1639,9 +1639,20 @@
1639
1639
  line-height: 1.5;
1640
1640
  }
1641
1641
 
1642
+ .ods-carousel.columns-5, .ods-carousel.columns-4, .ods-carousel.columns-3, .ods-carousel.columns-2 {
1643
+ overflow: hidden;
1644
+ }
1642
1645
  .ods-carousel.columns-5 .slick-track, .ods-carousel.columns-4 .slick-track, .ods-carousel.columns-3 .slick-track, .ods-carousel.columns-2 .slick-track {
1643
1646
  gap: 8px;
1644
1647
  }
1648
+ .ods-carousel.columns-5 .slick-list, .ods-carousel.columns-4 .slick-list, .ods-carousel.columns-3 .slick-list, .ods-carousel.columns-2 .slick-list {
1649
+ box-shadow: none;
1650
+ overflow: inherit;
1651
+ }
1652
+ .ods-carousel.columns-5 .slick-slide, .ods-carousel.columns-4 .slick-slide, .ods-carousel.columns-3 .slick-slide, .ods-carousel.columns-2 .slick-slide {
1653
+ border-radius: 8px;
1654
+ box-shadow: 0 4px 8px rgba(12, 13, 20, 0.08);
1655
+ }
1645
1656
 
1646
1657
  .slick-slider {
1647
1658
  box-sizing: border-box;
@@ -1661,10 +1672,18 @@
1661
1672
  .slick-slider:hover .slick-arrow {
1662
1673
  display: block !important;
1663
1674
  }
1675
+ @media (max-width: 767.98px) {
1676
+ .slick-slider:hover .slick-arrow {
1677
+ display: none !important;
1678
+ }
1679
+ }
1664
1680
 
1665
1681
  .slick-list {
1682
+ border-radius: 8px;
1683
+ box-shadow: 0 4px 8px rgba(12, 13, 20, 0.08);
1666
1684
  display: block;
1667
1685
  margin: 0;
1686
+ margin-bottom: 15px;
1668
1687
  overflow: hidden;
1669
1688
  padding: 0;
1670
1689
  position: relative;
@@ -1678,7 +1697,6 @@
1678
1697
  .slick-track {
1679
1698
  display: flex;
1680
1699
  left: 0;
1681
- margin-bottom: 15px;
1682
1700
  margin-left: auto;
1683
1701
  margin-right: auto;
1684
1702
  position: relative;
@@ -2436,6 +2454,80 @@
2436
2454
  white-space: nowrap;
2437
2455
  }
2438
2456
 
2457
+ .ods-badge {
2458
+ display: flex;
2459
+ font-family: "Nunito Sans";
2460
+ }
2461
+ .ods-badge__content {
2462
+ align-items: center;
2463
+ background-color: #ff726e;
2464
+ border-radius: 40px;
2465
+ box-sizing: border-box;
2466
+ color: white;
2467
+ display: flex;
2468
+ font-weight: 700;
2469
+ justify-content: center;
2470
+ white-space: nowrap;
2471
+ width: auto;
2472
+ }
2473
+ .ods-badge--medium .ods-badge__content {
2474
+ font-size: 12px;
2475
+ height: 24px;
2476
+ min-width: 24px;
2477
+ width: 24px;
2478
+ }
2479
+ .ods-badge--small .ods-badge__content {
2480
+ font-size: 10px;
2481
+ height: 16px;
2482
+ min-width: 16px;
2483
+ }
2484
+ .ods-badge--tiny .ods-badge__content {
2485
+ display: block;
2486
+ font-size: 10px;
2487
+ height: 8px;
2488
+ min-width: 8px;
2489
+ overflow: hidden;
2490
+ width: 8px;
2491
+ }
2492
+ .ods-badge--small .ods-badge__text {
2493
+ border-radius: 40px;
2494
+ box-shadow: 0 4px 10px #ff726e3d;
2495
+ padding: 0 4px;
2496
+ width: auto;
2497
+ }
2498
+ .ods-badge--overflow .ods-badge__content {
2499
+ padding: 0 4px;
2500
+ width: auto;
2501
+ }
2502
+ .ods-badge--overflow .ods-badge__content {
2503
+ padding: 0 4px;
2504
+ width: auto;
2505
+ }
2506
+ .ods-badge--brand .ods-badge__content {
2507
+ background-color: #0025e0;
2508
+ }
2509
+ .ods-badge--brand .ods-badge__text.ods-badge__content {
2510
+ box-shadow: 0 4px 10px #0025e03d;
2511
+ }
2512
+ .ods-badge--complementary .ods-badge__content {
2513
+ background-color: #13bdbd;
2514
+ }
2515
+ .ods-badge--complementary .ods-badge__text.ods-badge__content {
2516
+ box-shadow: 0 4px 10px #13bdbd3d;
2517
+ }
2518
+ .ods-badge--alert .ods-badge__content {
2519
+ background-color: #ff8a14;
2520
+ }
2521
+ .ods-badge--alert .ods-badge__text.ods-badge__content {
2522
+ box-shadow: 0 4px 10px #ff8a143d;
2523
+ }
2524
+ .ods-badge--neutral .ods-badge__content {
2525
+ background-color: #b6b9cc;
2526
+ }
2527
+ .ods-badge--neutral .ods-badge__text.ods-badge__content {
2528
+ box-shadow: 0 4px 10px #b6b9cc3d;
2529
+ }
2530
+
2439
2531
  .ods-sub-header {
2440
2532
  background-color: #f7f9ff;
2441
2533
  box-sizing: border-box;
@@ -2533,12 +2625,12 @@
2533
2625
 
2534
2626
  .ods-topbar {
2535
2627
  align-items: center;
2536
- display: grid;
2537
- flex-wrap: wrap;
2628
+ display: flex;
2629
+ flex-direction: row;
2538
2630
  font-family: "Avenir";
2539
2631
  font-size: 20px;
2540
2632
  grid-template-columns: 3rem auto 3rem;
2541
- padding: 10px 5px;
2633
+ height: 56px;
2542
2634
  width: 100%;
2543
2635
  }
2544
2636
  .ods-topbar-scroll-bar {
@@ -2560,25 +2652,42 @@
2560
2652
  color: #67697a;
2561
2653
  }
2562
2654
  .ods-topbar-extend {
2655
+ box-sizing: border-box;
2656
+ display: flex;
2657
+ flex-direction: column;
2658
+ height: 128px;
2659
+ justify-content: space-between;
2660
+ padding: 16px 16px 8px;
2661
+ }
2662
+ .ods-topbar-extend .ods-topbar-actions {
2563
2663
  display: flex;
2564
- grid-template-columns: 50% 50% auto;
2664
+ flex-direction: row;
2665
+ height: 72px;
2666
+ justify-content: space-between;
2667
+ width: 100%;
2565
2668
  }
2566
- .ods-topbar-extend .ods-topbar-title {
2567
- padding-top: 4rem;
2669
+ .ods-topbar-extend .ods-topbar-left {
2670
+ margin-left: 0;
2568
2671
  }
2569
- .ods-topbar-extend .ods-topbar-search {
2570
- width: 50%;
2672
+ .ods-topbar-extend .ods-topbar-right {
2673
+ margin-right: 0;
2571
2674
  }
2572
- .ods-topbar-prev {
2675
+ .ods-topbar-left {
2573
2676
  line-height: 0;
2574
- width: 50%;
2677
+ margin-left: 16px;
2678
+ width: 24px;
2575
2679
  }
2576
- .ods-topbar-prev svg {
2680
+ .ods-topbar-left span {
2681
+ align-items: center;
2577
2682
  cursor: pointer;
2683
+ display: flex;
2684
+ justify-content: center;
2578
2685
  }
2579
2686
  .ods-topbar-title {
2580
2687
  font-weight: 800;
2581
2688
  line-height: 1.1;
2689
+ margin-left: 16px;
2690
+ margin-right: 16px;
2582
2691
  width: 100%;
2583
2692
  }
2584
2693
  .ods-topbar-title span {
@@ -2587,11 +2696,15 @@
2587
2696
  font-size: 12px;
2588
2697
  font-weight: 600;
2589
2698
  }
2590
- .ods-topbar-search {
2699
+ .ods-topbar-right {
2591
2700
  line-height: 0;
2592
- text-align: right;
2701
+ margin-right: 16px;
2702
+ width: 24px;
2593
2703
  }
2594
- .ods-topbar-search svg {
2704
+ .ods-topbar-right span {
2705
+ align-items: center;
2595
2706
  cursor: pointer;
2707
+ display: flex;
2708
+ justify-content: center;
2596
2709
  }
2597
2710
  /*# sourceMappingURL=ocean.css.map */