@qite/tide-booking-component 1.4.119 → 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.
@@ -13854,8 +13854,8 @@ PERFORMANCE OF THIS SOFTWARE.
13854
13854
  })(build);
13855
13855
 
13856
13856
  var tideConnection = {
13857
- host: 'https://localhost:44341',
13858
- // host: 'https://preview-tide.tidesoftware.be',
13857
+ // host: 'https://localhost:44341',
13858
+ host: 'https://preview-tide.tidesoftware.be',
13859
13859
  apiKey: 'e9b95d79-de4c-41d6-ab7e-3dd429873058',
13860
13860
  catalogueIds: [1],
13861
13861
  officeId: 1
@@ -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', { dangerouslySetInnerHTML: { __html: he.decode(result.contents) } }),
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' },
@@ -13886,8 +13886,8 @@ PERFORMANCE OF THIS SOFTWARE.
13886
13886
  })(build);
13887
13887
 
13888
13888
  var tideConnection = {
13889
- host: 'https://localhost:44341',
13890
- // host: 'https://preview-tide.tidesoftware.be',
13889
+ // host: 'https://localhost:44341',
13890
+ host: 'https://preview-tide.tidesoftware.be',
13891
13891
  apiKey: 'e9b95d79-de4c-41d6-ab7e-3dd429873058',
13892
13892
  catalogueIds: [1],
13893
13893
  officeId: 1
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qite/tide-booking-component",
3
- "version": "1.4.119",
3
+ "version": "1.4.121",
4
4
  "description": "React Booking wizard & Booking product component for Tide",
5
5
  "main": "build/build-cjs/index.js",
6
6
  "types": "build/build-cjs/src/index.d.ts",
@@ -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"
@@ -3,8 +3,8 @@ import { isNil } from 'lodash';
3
3
  import { ApiSettingsState } from '../types';
4
4
 
5
5
  export const tideConnection = {
6
- host: 'https://localhost:44341',
7
- // host: 'https://preview-tide.tidesoftware.be',
6
+ // host: 'https://localhost:44341',
7
+ host: 'https://preview-tide.tidesoftware.be',
8
8
  apiKey: 'e9b95d79-de4c-41d6-ab7e-3dd429873058',
9
9
  catalogueIds: [1],
10
10
  officeId: 1
@@ -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
  }