@nuitee/booking-widget 1.0.9 → 1.0.10
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/README.md +3 -3
- package/dist/booking-widget.css +3 -4
- package/dist/core/styles.css +3 -4
- package/dist/react/styles.css +3 -4
- package/dist/vue/styles.css +3 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -94,15 +94,15 @@ widget.open();
|
|
|
94
94
|
No bundler: load the script and CSS from the CDN, then create the widget.
|
|
95
95
|
|
|
96
96
|
```html
|
|
97
|
-
<link rel="stylesheet" href="https://cdn.thehotelplanet.com/booking-widget/v1.0.
|
|
98
|
-
<script src="https://cdn.thehotelplanet.com/booking-widget/v1.0.
|
|
97
|
+
<link rel="stylesheet" href="https://cdn.thehotelplanet.com/booking-widget/v1.0.10/dist/booking-widget.css">
|
|
98
|
+
<script src="https://cdn.thehotelplanet.com/booking-widget/v1.0.10/dist/booking-widget-standalone.js"></script>
|
|
99
99
|
|
|
100
100
|
<div id="booking-widget-container"></div>
|
|
101
101
|
|
|
102
102
|
<script>
|
|
103
103
|
const widget = new BookingWidget({
|
|
104
104
|
containerId: 'booking-widget-container',
|
|
105
|
-
cssUrl: 'https://cdn.thehotelplanet.com/booking-widget/v1.0.
|
|
105
|
+
cssUrl: 'https://cdn.thehotelplanet.com/booking-widget/v1.0.10/dist/booking-widget.css',
|
|
106
106
|
propertyKey: 'your-property-key',
|
|
107
107
|
onOpen: () => console.log('Opened'),
|
|
108
108
|
onClose: () => console.log('Closed'),
|
package/dist/booking-widget.css
CHANGED
|
@@ -1073,7 +1073,6 @@
|
|
|
1073
1073
|
}
|
|
1074
1074
|
|
|
1075
1075
|
.booking-widget-modal .room-grid .room-card-price strong {
|
|
1076
|
-
font-family: var(--font-serif);
|
|
1077
1076
|
color: var(--primary);
|
|
1078
1077
|
font-size: 1.15em;
|
|
1079
1078
|
font-weight: 600;
|
|
@@ -1375,7 +1374,7 @@
|
|
|
1375
1374
|
}
|
|
1376
1375
|
|
|
1377
1376
|
.booking-widget-modal .rate-price strong {
|
|
1378
|
-
font-family: var(--font-serif);
|
|
1377
|
+
/* font-family: var(--font-serif); */
|
|
1379
1378
|
/* color: var(--primary); */
|
|
1380
1379
|
font-size: 1.25em;
|
|
1381
1380
|
}
|
|
@@ -1601,7 +1600,7 @@
|
|
|
1601
1600
|
}
|
|
1602
1601
|
|
|
1603
1602
|
.booking-widget-modal .payment-step-summary .payment-total-amount {
|
|
1604
|
-
font-family: var(--font-serif);
|
|
1603
|
+
/* font-family: var(--font-serif); */
|
|
1605
1604
|
font-size: 1.75em;
|
|
1606
1605
|
font-weight: 600;
|
|
1607
1606
|
color: var(--primary);
|
|
@@ -1646,7 +1645,7 @@
|
|
|
1646
1645
|
}
|
|
1647
1646
|
|
|
1648
1647
|
.booking-widget-modal .summary-total-price {
|
|
1649
|
-
font-family: var(--font-
|
|
1648
|
+
font-family: var(--font-sans);
|
|
1650
1649
|
font-size: 1.5em;
|
|
1651
1650
|
color: var(--primary);
|
|
1652
1651
|
}
|
package/dist/core/styles.css
CHANGED
|
@@ -1073,7 +1073,6 @@
|
|
|
1073
1073
|
}
|
|
1074
1074
|
|
|
1075
1075
|
.booking-widget-modal .room-grid .room-card-price strong {
|
|
1076
|
-
font-family: var(--font-serif);
|
|
1077
1076
|
color: var(--primary);
|
|
1078
1077
|
font-size: 1.15em;
|
|
1079
1078
|
font-weight: 600;
|
|
@@ -1375,7 +1374,7 @@
|
|
|
1375
1374
|
}
|
|
1376
1375
|
|
|
1377
1376
|
.booking-widget-modal .rate-price strong {
|
|
1378
|
-
font-family: var(--font-serif);
|
|
1377
|
+
/* font-family: var(--font-serif); */
|
|
1379
1378
|
/* color: var(--primary); */
|
|
1380
1379
|
font-size: 1.25em;
|
|
1381
1380
|
}
|
|
@@ -1601,7 +1600,7 @@
|
|
|
1601
1600
|
}
|
|
1602
1601
|
|
|
1603
1602
|
.booking-widget-modal .payment-step-summary .payment-total-amount {
|
|
1604
|
-
font-family: var(--font-serif);
|
|
1603
|
+
/* font-family: var(--font-serif); */
|
|
1605
1604
|
font-size: 1.75em;
|
|
1606
1605
|
font-weight: 600;
|
|
1607
1606
|
color: var(--primary);
|
|
@@ -1646,7 +1645,7 @@
|
|
|
1646
1645
|
}
|
|
1647
1646
|
|
|
1648
1647
|
.booking-widget-modal .summary-total-price {
|
|
1649
|
-
font-family: var(--font-
|
|
1648
|
+
font-family: var(--font-sans);
|
|
1650
1649
|
font-size: 1.5em;
|
|
1651
1650
|
color: var(--primary);
|
|
1652
1651
|
}
|
package/dist/react/styles.css
CHANGED
|
@@ -1073,7 +1073,6 @@
|
|
|
1073
1073
|
}
|
|
1074
1074
|
|
|
1075
1075
|
.booking-widget-modal .room-grid .room-card-price strong {
|
|
1076
|
-
font-family: var(--font-serif);
|
|
1077
1076
|
color: var(--primary);
|
|
1078
1077
|
font-size: 1.15em;
|
|
1079
1078
|
font-weight: 600;
|
|
@@ -1375,7 +1374,7 @@
|
|
|
1375
1374
|
}
|
|
1376
1375
|
|
|
1377
1376
|
.booking-widget-modal .rate-price strong {
|
|
1378
|
-
font-family: var(--font-serif);
|
|
1377
|
+
/* font-family: var(--font-serif); */
|
|
1379
1378
|
/* color: var(--primary); */
|
|
1380
1379
|
font-size: 1.25em;
|
|
1381
1380
|
}
|
|
@@ -1601,7 +1600,7 @@
|
|
|
1601
1600
|
}
|
|
1602
1601
|
|
|
1603
1602
|
.booking-widget-modal .payment-step-summary .payment-total-amount {
|
|
1604
|
-
font-family: var(--font-serif);
|
|
1603
|
+
/* font-family: var(--font-serif); */
|
|
1605
1604
|
font-size: 1.75em;
|
|
1606
1605
|
font-weight: 600;
|
|
1607
1606
|
color: var(--primary);
|
|
@@ -1646,7 +1645,7 @@
|
|
|
1646
1645
|
}
|
|
1647
1646
|
|
|
1648
1647
|
.booking-widget-modal .summary-total-price {
|
|
1649
|
-
font-family: var(--font-
|
|
1648
|
+
font-family: var(--font-sans);
|
|
1650
1649
|
font-size: 1.5em;
|
|
1651
1650
|
color: var(--primary);
|
|
1652
1651
|
}
|
package/dist/vue/styles.css
CHANGED
|
@@ -1073,7 +1073,6 @@
|
|
|
1073
1073
|
}
|
|
1074
1074
|
|
|
1075
1075
|
.booking-widget-modal .room-grid .room-card-price strong {
|
|
1076
|
-
font-family: var(--font-serif);
|
|
1077
1076
|
color: var(--primary);
|
|
1078
1077
|
font-size: 1.15em;
|
|
1079
1078
|
font-weight: 600;
|
|
@@ -1375,7 +1374,7 @@
|
|
|
1375
1374
|
}
|
|
1376
1375
|
|
|
1377
1376
|
.booking-widget-modal .rate-price strong {
|
|
1378
|
-
font-family: var(--font-serif);
|
|
1377
|
+
/* font-family: var(--font-serif); */
|
|
1379
1378
|
/* color: var(--primary); */
|
|
1380
1379
|
font-size: 1.25em;
|
|
1381
1380
|
}
|
|
@@ -1601,7 +1600,7 @@
|
|
|
1601
1600
|
}
|
|
1602
1601
|
|
|
1603
1602
|
.booking-widget-modal .payment-step-summary .payment-total-amount {
|
|
1604
|
-
font-family: var(--font-serif);
|
|
1603
|
+
/* font-family: var(--font-serif); */
|
|
1605
1604
|
font-size: 1.75em;
|
|
1606
1605
|
font-weight: 600;
|
|
1607
1606
|
color: var(--primary);
|
|
@@ -1646,7 +1645,7 @@
|
|
|
1646
1645
|
}
|
|
1647
1646
|
|
|
1648
1647
|
.booking-widget-modal .summary-total-price {
|
|
1649
|
-
font-family: var(--font-
|
|
1648
|
+
font-family: var(--font-sans);
|
|
1650
1649
|
font-size: 1.5em;
|
|
1651
1650
|
color: var(--primary);
|
|
1652
1651
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuitee/booking-widget",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "A beautiful, customizable booking widget modal that can be embedded in any website. Supports vanilla JavaScript, React, and Vue.js.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|