@useblu/ocean-core 1.57.1 → 1.59.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.59.0](https://github.com/ocean-ds/ocean-web/compare/v1.58.0...v1.59.0) (2024-05-16)
7
+
8
+ ### Features
9
+
10
+ - mobile bradcrumbs ([#1100](https://github.com/ocean-ds/ocean-web/issues/1100)) ([2668a53](https://github.com/ocean-ds/ocean-web/commit/2668a53511ed0222afb71f43d9aca1288c9c2689))
11
+
12
+ # [1.58.0](https://github.com/ocean-ds/ocean-web/compare/v1.57.1...v1.58.0) (2024-05-15)
13
+
14
+ ### Features
15
+
16
+ - alert button ([#1099](https://github.com/ocean-ds/ocean-web/issues/1099)) ([425e015](https://github.com/ocean-ds/ocean-web/commit/425e01503db7be486b9dbb0d43c631a891aca799))
17
+
6
18
  ## [1.57.1](https://github.com/ocean-ds/ocean-web/compare/v1.57.0...v1.57.1) (2024-04-18)
7
19
 
8
20
  **Note:** Version bump only for package @useblu/ocean-core
package/ocean.css CHANGED
@@ -1786,18 +1786,24 @@
1786
1786
  }
1787
1787
 
1788
1788
  .ods-alert {
1789
- align-items: center;
1789
+ align-items: flex-start;
1790
1790
  background-color: #f3f5fe;
1791
1791
  border-radius: 8px;
1792
1792
  color: #67697a;
1793
1793
  display: flex;
1794
+ flex-direction: column;
1794
1795
  font-family: "Nunito Sans";
1795
1796
  font-size: 12px;
1796
1797
  font-weight: 400;
1797
- justify-content: left;
1798
+ justify-content: center;
1798
1799
  line-height: 1.5;
1799
1800
  padding: 16px;
1800
1801
  }
1802
+ @media (min-width: 576px) {
1803
+ .ods-alert__button--mobile {
1804
+ display: none;
1805
+ }
1806
+ }
1801
1807
  .ods-alert--error {
1802
1808
  background-color: #fff1f4;
1803
1809
  }
@@ -1807,6 +1813,12 @@
1807
1813
  .ods-alert--error .ods-alert__title {
1808
1814
  color: #f5456e;
1809
1815
  }
1816
+ .ods-alert--error .ods-btn {
1817
+ background-color: #f5456e;
1818
+ }
1819
+ .ods-alert--error .ods-link {
1820
+ color: #f5456e;
1821
+ }
1810
1822
  .ods-alert--warning {
1811
1823
  background-color: #fff7f0;
1812
1824
  }
@@ -1816,6 +1828,12 @@
1816
1828
  .ods-alert--warning .ods-alert__title {
1817
1829
  color: #ff8a14;
1818
1830
  }
1831
+ .ods-alert--warning .ods-btn {
1832
+ background-color: #ff8a14;
1833
+ }
1834
+ .ods-alert--warning .ods-link {
1835
+ color: #ff8a14;
1836
+ }
1819
1837
  .ods-alert--success {
1820
1838
  background-color: #f2fdf5;
1821
1839
  }
@@ -1825,8 +1843,14 @@
1825
1843
  .ods-alert--success .ods-alert__title {
1826
1844
  color: #2da94f;
1827
1845
  }
1828
- .ods-alert--has-header {
1829
- align-items: flex-start;
1846
+ .ods-alert--success .ods-btn {
1847
+ background-color: #2da94f;
1848
+ }
1849
+ .ods-alert--success .ods-link {
1850
+ color: #2da94f;
1851
+ }
1852
+ .ods-alert__text {
1853
+ display: flex;
1830
1854
  flex-direction: column;
1831
1855
  }
1832
1856
  .ods-alert__icon {
@@ -1834,12 +1858,26 @@
1834
1858
  min-width: 24px;
1835
1859
  stroke: #5872f5;
1836
1860
  }
1861
+ @media (max-width: 575.98px) {
1862
+ .ods-alert__button {
1863
+ display: none;
1864
+ }
1865
+ }
1866
+ .ods-alert__button--mobile {
1867
+ margin-top: 8px;
1868
+ }
1869
+ .ods-alert__button .ods-btn {
1870
+ margin-left: 16px;
1871
+ min-width: 0;
1872
+ }
1837
1873
  .ods-alert__header {
1838
1874
  align-items: center;
1839
1875
  display: flex;
1840
- margin: 0 0 8px 0;
1841
1876
  width: 100%;
1842
1877
  }
1878
+ .ods-alert__header--margin {
1879
+ margin: 0 0 8px 0;
1880
+ }
1843
1881
  .ods-alert__title {
1844
1882
  color: #5872f5;
1845
1883
  font-size: 14px;
@@ -3778,7 +3816,13 @@
3778
3816
  display: flex;
3779
3817
  gap: 4px;
3780
3818
  }
3819
+ .ods-breadcrumb button {
3820
+ background: none;
3821
+ border: transparent;
3822
+ outline: 1px solid transparent;
3823
+ }
3781
3824
  .ods-breadcrumb span,
3825
+ .ods-breadcrumb button,
3782
3826
  .ods-breadcrumb a {
3783
3827
  color: #aaadc0;
3784
3828
  font-family: "Nunito Sans";
@@ -3789,11 +3833,13 @@
3789
3833
  transition: 0.3s hover;
3790
3834
  }
3791
3835
  .ods-breadcrumb span:last-child,
3836
+ .ods-breadcrumb button:last-child,
3792
3837
  .ods-breadcrumb a:last-child {
3793
3838
  color: #67697a;
3794
3839
  cursor: default;
3795
3840
  }
3796
3841
  .ods-breadcrumb span:not(:last-child):hover,
3842
+ .ods-breadcrumb button:not(:last-child):hover,
3797
3843
  .ods-breadcrumb a:not(:last-child):hover {
3798
3844
  cursor: pointer;
3799
3845
  text-decoration: underline;
@@ -3912,8 +3958,8 @@
3912
3958
  animation-name: moveInDown, moveInDownBack;
3913
3959
  -webkit-animation-timing-function: ease-out forwards, ease-out forwards;
3914
3960
  animation-timing-function: ease-out forwards, ease-out forwards;
3915
- right: 40px;
3916
3961
  top: 40px;
3962
+ right: 40px;
3917
3963
  }
3918
3964
  .ods-snackbar__top-right-action {
3919
3965
  -webkit-animation-delay: 0s, 9.9s;
@@ -3924,8 +3970,8 @@
3924
3970
  animation-name: moveInDown, moveInDownBack;
3925
3971
  -webkit-animation-timing-function: ease-out forwards, ease-out forwards;
3926
3972
  animation-timing-function: ease-out forwards, ease-out forwards;
3927
- right: 40px;
3928
3973
  top: 40px;
3974
+ right: 40px;
3929
3975
  }
3930
3976
  .ods-snackbar__top-left-default {
3931
3977
  -webkit-animation-delay: 0s, 3.9s;
@@ -3936,8 +3982,8 @@
3936
3982
  animation-name: moveInDown, moveInDownBack;
3937
3983
  -webkit-animation-timing-function: ease-out forwards, ease-out forwards;
3938
3984
  animation-timing-function: ease-out forwards, ease-out forwards;
3939
- left: 40px;
3940
3985
  top: 40px;
3986
+ left: 40px;
3941
3987
  }
3942
3988
  .ods-snackbar__top-left-action {
3943
3989
  -webkit-animation-delay: 0s, 9.9s;
@@ -3948,8 +3994,8 @@
3948
3994
  animation-name: moveInDown, moveInDownBack;
3949
3995
  -webkit-animation-timing-function: ease-out forwards, ease-out forwards;
3950
3996
  animation-timing-function: ease-out forwards, ease-out forwards;
3951
- left: 40px;
3952
3997
  top: 40px;
3998
+ left: 40px;
3953
3999
  }
3954
4000
  .ods-snackbar__bottom-right-default {
3955
4001
  -webkit-animation-delay: 0s, 3.9s;