@useblu/ocean-core 1.19.0 → 1.21.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,30 @@
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.21.1](https://github.com/ocean-ds/ocean-web/compare/v1.21.0...v1.21.1) (2021-10-20)
7
+
8
+ ### Bug Fixes
9
+
10
+ - adding className on CarouselDotList component ([#831](https://github.com/ocean-ds/ocean-web/issues/831)) ([f2bd8c1](https://github.com/ocean-ds/ocean-web/commit/f2bd8c16a2f4f744a2834b57998275131e8a263f))
11
+
12
+ # [1.21.0](https://github.com/ocean-ds/ocean-web/compare/v1.20.1...v1.21.0) (2021-10-19)
13
+
14
+ ### Features
15
+
16
+ - carousel component ([#825](https://github.com/ocean-ds/ocean-web/issues/825)) ([8663ef5](https://github.com/ocean-ds/ocean-web/commit/8663ef543ef6b5182228b84222954c630540874b))
17
+
18
+ ## [1.20.1](https://github.com/ocean-ds/ocean-web/compare/v1.20.0...v1.20.1) (2021-10-19)
19
+
20
+ ### Bug Fixes
21
+
22
+ - **tag component nowrap:** nowrap in correct classname ([#829](https://github.com/ocean-ds/ocean-web/issues/829)) ([b8adb0f](https://github.com/ocean-ds/ocean-web/commit/b8adb0fec22a516daa3013eb7b2cb0846a551b2a))
23
+
24
+ # [1.20.0](https://github.com/ocean-ds/ocean-web/compare/v1.19.2...v1.20.0) (2021-10-18)
25
+
26
+ ### Features
27
+
28
+ - **tab component:** add new prop to set icon off and icon content nowrap ([#826](https://github.com/ocean-ds/ocean-web/issues/826)) ([4e47c7f](https://github.com/ocean-ds/ocean-web/commit/4e47c7fc8a1cdcc3eb9e46d1814667b9aa2686b6))
29
+
6
30
  # [1.19.0](https://github.com/ocean-ds/ocean-web/compare/v1.18.1...v1.19.0) (2021-09-06)
7
31
 
8
32
  ### Features
package/ocean.css CHANGED
@@ -1,3 +1,4 @@
1
+ @charset "UTF-8";
1
2
  /* stylelint-disable max-nesting-depth, scss/selector-no-redundant-nesting-selector */
2
3
  /* stylelint-disable scss/at-extend-no-missing-placeholder */
3
4
  .ods-container {
@@ -1626,6 +1627,203 @@
1626
1627
  line-height: 1.5;
1627
1628
  }
1628
1629
 
1630
+ .slick-slider {
1631
+ box-sizing: border-box;
1632
+ display: block;
1633
+ position: relative;
1634
+ -webkit-tap-highlight-color: transparent;
1635
+ touch-action: pan-y;
1636
+ -webkit-touch-callout: none;
1637
+ -webkit-user-select: none;
1638
+ -moz-user-select: none;
1639
+ -ms-user-select: none;
1640
+ user-select: none;
1641
+ }
1642
+
1643
+ .slick-list {
1644
+ display: block;
1645
+ margin: 0;
1646
+ overflow: hidden;
1647
+ padding: 0;
1648
+ position: relative;
1649
+ }
1650
+
1651
+ .slick-slider .slick-track,
1652
+ .slick-slider .slick-list {
1653
+ transform: translate3d(0, 0, 0);
1654
+ }
1655
+
1656
+ .slick-track {
1657
+ display: flex;
1658
+ left: 0;
1659
+ margin-bottom: 15px;
1660
+ margin-left: auto;
1661
+ margin-right: auto;
1662
+ position: relative;
1663
+ top: 0;
1664
+ }
1665
+
1666
+ .slick-track > div:not(:first-child) {
1667
+ margin-left: 8px;
1668
+ margin-right: 8px;
1669
+ }
1670
+
1671
+ .slick-track > div:first-child {
1672
+ margin-left: 4px;
1673
+ margin-right: 8px;
1674
+ }
1675
+
1676
+ .slick-track > div:last-child {
1677
+ margin-right: 8px;
1678
+ }
1679
+
1680
+ .slick-slide {
1681
+ display: block;
1682
+ float: left;
1683
+ height: 100%;
1684
+ min-height: 1px;
1685
+ }
1686
+
1687
+ @media (max-width: 767.98px) {
1688
+ .slick-arrow {
1689
+ display: none !important;
1690
+ }
1691
+ }
1692
+
1693
+ .slick-next {
1694
+ background: white;
1695
+ border: 1px solid #d8dae8;
1696
+ border-radius: 100%;
1697
+ color: #0025e0;
1698
+ font-size: 0;
1699
+ height: 30px;
1700
+ line-height: 0;
1701
+ outline: none;
1702
+ padding: 0;
1703
+ position: absolute;
1704
+ right: -10px;
1705
+ top: 45%;
1706
+ transform: translate(0, -50%);
1707
+ width: 30px;
1708
+ }
1709
+
1710
+ .slick-prev {
1711
+ background: white;
1712
+ border: 1px solid #d8dae8;
1713
+ border-radius: 100%;
1714
+ color: #0025e0;
1715
+ font-size: 0;
1716
+ height: 30px;
1717
+ left: -10px;
1718
+ line-height: 0;
1719
+ outline: none;
1720
+ padding: 0;
1721
+ position: absolute;
1722
+ right: -10px;
1723
+ top: 45%;
1724
+ transform: translate(0, -50%);
1725
+ width: 30px;
1726
+ z-index: 1;
1727
+ }
1728
+
1729
+ .slick-prev:hover,
1730
+ .slick-next:hover {
1731
+ background: #f7f9ff;
1732
+ cursor: pointer;
1733
+ outline: none;
1734
+ }
1735
+
1736
+ .slick-prev:active,
1737
+ .slick-next:active {
1738
+ background: #ebecf5;
1739
+ }
1740
+
1741
+ .slick-prev::before,
1742
+ .slick-next::before {
1743
+ -webkit-font-smoothing: antialiased;
1744
+ -moz-osx-font-smoothing: grayscale;
1745
+ line-height: 1;
1746
+ }
1747
+
1748
+ .slick-arrow > path {
1749
+ transform: scale(0.9);
1750
+ }
1751
+
1752
+ .slick-prev > path {
1753
+ transform-origin: left;
1754
+ }
1755
+
1756
+ .slick-next > path {
1757
+ transform-origin: right;
1758
+ }
1759
+
1760
+ .ods-carousel-dots {
1761
+ align-items: center;
1762
+ display: flex;
1763
+ justify-content: center;
1764
+ list-style: none;
1765
+ position: absolute;
1766
+ width: 100%;
1767
+ }
1768
+
1769
+ .ods-carousel-dots ul {
1770
+ align-items: center;
1771
+ display: flex;
1772
+ justify-content: center;
1773
+ -webkit-margin-after: 0;
1774
+ margin-block-end: 0;
1775
+ -webkit-margin-before: 0;
1776
+ margin-block-start: 0;
1777
+ -webkit-padding-start: 0;
1778
+ padding-inline-start: 0;
1779
+ }
1780
+
1781
+ .ods-carousel-dots li {
1782
+ cursor: pointer;
1783
+ display: inline-block;
1784
+ height: 20px;
1785
+ position: relative;
1786
+ width: 12px;
1787
+ }
1788
+
1789
+ .ods-carousel-dots li button {
1790
+ align-items: center;
1791
+ background: transparent;
1792
+ border: 0;
1793
+ color: transparent;
1794
+ cursor: pointer;
1795
+ display: flex;
1796
+ display: block;
1797
+ font-size: 0;
1798
+ height: 20px;
1799
+ justify-content: center;
1800
+ line-height: 0;
1801
+ outline: none;
1802
+ padding: 5px;
1803
+ width: 20px;
1804
+ }
1805
+
1806
+ .ods-carousel-dots li button::before {
1807
+ align-items: center;
1808
+ color: #d8dae8;
1809
+ content: "•";
1810
+ display: flex;
1811
+ font-size: 24px;
1812
+ -webkit-font-smoothing: antialiased;
1813
+ -moz-osx-font-smoothing: grayscale;
1814
+ height: 20px;
1815
+ justify-content: center;
1816
+ left: 0;
1817
+ position: absolute;
1818
+ text-align: center;
1819
+ top: 0;
1820
+ width: 20px;
1821
+ }
1822
+
1823
+ .ods-carousel-dots .slick-active button::before {
1824
+ color: #0025e0;
1825
+ }
1826
+
1629
1827
  .ods-divider {
1630
1828
  border: 0;
1631
1829
  border-top: 1px solid #ebecf5;
@@ -2149,6 +2347,7 @@
2149
2347
  }
2150
2348
  .ods-tag__content {
2151
2349
  margin: 0 4px;
2350
+ white-space: nowrap;
2152
2351
  }
2153
2352
 
2154
2353
  .ods-sub-header {