@qite/tide-booking-component 1.4.120 → 1.4.121
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/build/build-cjs/index.js
CHANGED
|
@@ -41274,7 +41274,10 @@ var HotelCard = function (_a) {
|
|
|
41274
41274
|
return (e.currentTarget.style.transform = 'scale(1)');
|
|
41275
41275
|
}
|
|
41276
41276
|
},
|
|
41277
|
-
React__default['default'].createElement('div', {
|
|
41277
|
+
React__default['default'].createElement('div', {
|
|
41278
|
+
className: 'search__result-card__top',
|
|
41279
|
+
dangerouslySetInnerHTML: { __html: he.decode(result.contents) }
|
|
41280
|
+
}),
|
|
41278
41281
|
React__default['default'].createElement(
|
|
41279
41282
|
'div',
|
|
41280
41283
|
{ className: 'search__result-card__footer' },
|
package/build/build-esm/index.js
CHANGED
|
@@ -41135,7 +41135,7 @@ var HotelCard = function (_a) {
|
|
|
41135
41135
|
return (e.currentTarget.style.transform = 'scale(1)');
|
|
41136
41136
|
}
|
|
41137
41137
|
},
|
|
41138
|
-
React__default.createElement('div', { dangerouslySetInnerHTML: { __html: he.decode(result.contents) } }),
|
|
41138
|
+
React__default.createElement('div', { className: 'search__result-card__top', dangerouslySetInnerHTML: { __html: he.decode(result.contents) } }),
|
|
41139
41139
|
React__default.createElement(
|
|
41140
41140
|
'div',
|
|
41141
41141
|
{ className: 'search__result-card__footer' },
|
package/package.json
CHANGED
|
@@ -26,7 +26,7 @@ const HotelCard: React.FC<HotelCardProps> = ({ result, translations }) => {
|
|
|
26
26
|
className="search__result-card__wrapper search__result-card__wrapper--custom"
|
|
27
27
|
onMouseEnter={(e) => (e.currentTarget.style.transform = 'scale(1.02)')}
|
|
28
28
|
onMouseLeave={(e) => (e.currentTarget.style.transform = 'scale(1)')}>
|
|
29
|
-
<div dangerouslySetInnerHTML={{ __html: he.decode(result.contents) }}></div>
|
|
29
|
+
<div className="search__result-card__top" dangerouslySetInnerHTML={{ __html: he.decode(result.contents) }}></div>
|
|
30
30
|
<div className="search__result-card__footer">
|
|
31
31
|
<button
|
|
32
32
|
type="button"
|
|
@@ -1053,6 +1053,14 @@
|
|
|
1053
1053
|
}
|
|
1054
1054
|
}
|
|
1055
1055
|
|
|
1056
|
+
&__top {
|
|
1057
|
+
display: flex;
|
|
1058
|
+
flex-direction: column;
|
|
1059
|
+
justify-content: flex-start;
|
|
1060
|
+
align-items: flex-start;
|
|
1061
|
+
width: 100%;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1056
1064
|
&__img-wrapper {
|
|
1057
1065
|
position: relative;
|
|
1058
1066
|
width: 100%;
|
|
@@ -1638,6 +1646,12 @@
|
|
|
1638
1646
|
}
|
|
1639
1647
|
}
|
|
1640
1648
|
|
|
1649
|
+
&__top {
|
|
1650
|
+
@include mixins.media-sm {
|
|
1651
|
+
flex-direction: row;
|
|
1652
|
+
}
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1641
1655
|
&__img-wrapper {
|
|
1642
1656
|
@include mixins.media-sm {
|
|
1643
1657
|
width: 40%;
|
|
@@ -1708,9 +1722,11 @@
|
|
|
1708
1722
|
&__footer {
|
|
1709
1723
|
@include mixins.media-sm {
|
|
1710
1724
|
justify-content: flex-end;
|
|
1725
|
+
align-items: flex-end;
|
|
1711
1726
|
|
|
1712
1727
|
.cta {
|
|
1713
1728
|
width: auto;
|
|
1729
|
+
min-width: 150px;
|
|
1714
1730
|
}
|
|
1715
1731
|
}
|
|
1716
1732
|
}
|
|
@@ -1825,6 +1841,12 @@
|
|
|
1825
1841
|
}
|
|
1826
1842
|
}
|
|
1827
1843
|
|
|
1844
|
+
&__top {
|
|
1845
|
+
@include mixins.media-sm {
|
|
1846
|
+
flex-direction: row;
|
|
1847
|
+
}
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1828
1850
|
&__img-wrapper {
|
|
1829
1851
|
@include mixins.media-sm {
|
|
1830
1852
|
min-width: 175px;
|
|
@@ -1902,6 +1924,7 @@
|
|
|
1902
1924
|
|
|
1903
1925
|
.cta {
|
|
1904
1926
|
width: auto;
|
|
1927
|
+
min-width: 150px;
|
|
1905
1928
|
}
|
|
1906
1929
|
}
|
|
1907
1930
|
}
|