@useblu/ocean-core 1.57.1 → 1.58.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 +6 -0
- package/ocean.css +47 -9
- package/ocean.css.map +1 -1
- package/ocean.min.css +1 -1
- package/ocean.min.css.map +1 -1
- package/package.json +1 -1
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.58.0](https://github.com/ocean-ds/ocean-web/compare/v1.57.1...v1.58.0) (2024-05-15)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- alert button ([#1099](https://github.com/ocean-ds/ocean-web/issues/1099)) ([425e015](https://github.com/ocean-ds/ocean-web/commit/425e01503db7be486b9dbb0d43c631a891aca799))
|
|
11
|
+
|
|
6
12
|
## [1.57.1](https://github.com/ocean-ds/ocean-web/compare/v1.57.0...v1.57.1) (2024-04-18)
|
|
7
13
|
|
|
8
14
|
**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:
|
|
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:
|
|
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--
|
|
1829
|
-
|
|
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;
|
|
@@ -3912,8 +3950,8 @@
|
|
|
3912
3950
|
animation-name: moveInDown, moveInDownBack;
|
|
3913
3951
|
-webkit-animation-timing-function: ease-out forwards, ease-out forwards;
|
|
3914
3952
|
animation-timing-function: ease-out forwards, ease-out forwards;
|
|
3915
|
-
right: 40px;
|
|
3916
3953
|
top: 40px;
|
|
3954
|
+
right: 40px;
|
|
3917
3955
|
}
|
|
3918
3956
|
.ods-snackbar__top-right-action {
|
|
3919
3957
|
-webkit-animation-delay: 0s, 9.9s;
|
|
@@ -3924,8 +3962,8 @@
|
|
|
3924
3962
|
animation-name: moveInDown, moveInDownBack;
|
|
3925
3963
|
-webkit-animation-timing-function: ease-out forwards, ease-out forwards;
|
|
3926
3964
|
animation-timing-function: ease-out forwards, ease-out forwards;
|
|
3927
|
-
right: 40px;
|
|
3928
3965
|
top: 40px;
|
|
3966
|
+
right: 40px;
|
|
3929
3967
|
}
|
|
3930
3968
|
.ods-snackbar__top-left-default {
|
|
3931
3969
|
-webkit-animation-delay: 0s, 3.9s;
|
|
@@ -3936,8 +3974,8 @@
|
|
|
3936
3974
|
animation-name: moveInDown, moveInDownBack;
|
|
3937
3975
|
-webkit-animation-timing-function: ease-out forwards, ease-out forwards;
|
|
3938
3976
|
animation-timing-function: ease-out forwards, ease-out forwards;
|
|
3939
|
-
left: 40px;
|
|
3940
3977
|
top: 40px;
|
|
3978
|
+
left: 40px;
|
|
3941
3979
|
}
|
|
3942
3980
|
.ods-snackbar__top-left-action {
|
|
3943
3981
|
-webkit-animation-delay: 0s, 9.9s;
|
|
@@ -3948,8 +3986,8 @@
|
|
|
3948
3986
|
animation-name: moveInDown, moveInDownBack;
|
|
3949
3987
|
-webkit-animation-timing-function: ease-out forwards, ease-out forwards;
|
|
3950
3988
|
animation-timing-function: ease-out forwards, ease-out forwards;
|
|
3951
|
-
left: 40px;
|
|
3952
3989
|
top: 40px;
|
|
3990
|
+
left: 40px;
|
|
3953
3991
|
}
|
|
3954
3992
|
.ods-snackbar__bottom-right-default {
|
|
3955
3993
|
-webkit-animation-delay: 0s, 3.9s;
|