holidoit 1.0.162 → 1.0.164

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.
Files changed (43) hide show
  1. package/dist/embed.html +12 -1
  2. package/dist/holidoit-embed.js +1 -1
  3. package/dist/holidoit-js-releases/20260928135224166-07fe438b66bb-26ef6a21/embed.html +32 -0
  4. package/dist/holidoit-js-releases/20260928135224166-07fe438b66bb-26ef6a21/holidoit-embed.js +2 -0
  5. package/dist/holidoit-js-releases/20260928135224166-07fe438b66bb-26ef6a21/holidoit.js +2 -0
  6. package/dist/holidoit-js-releases/20260928135224166-07fe438b66bb-26ef6a21/holidoit.umd.js +2 -0
  7. package/dist/holidoit-js-releases/20260928135224166-07fe438b66bb-26ef6a21/payment-redirect.html +209 -0
  8. package/dist/holidoit-js-releases/20260928135224166-07fe438b66bb-26ef6a21/widgets/experience-grid-drawer-loader.js +2 -0
  9. package/dist/holidoit-js-releases/20260928135224166-07fe438b66bb-26ef6a21/widgets/experience-page-drawer-loader.js +2 -0
  10. package/dist/holidoit-js-releases/20260928135224166-07fe438b66bb-26ef6a21/widgets/inline-book-now-loader.js +2 -0
  11. package/dist/holidoit-js-releases/20260928135224166-07fe438b66bb-26ef6a21/widgets/widget-book-now-button.html +31 -0
  12. package/dist/holidoit-js-releases/20260928135224166-07fe438b66bb-26ef6a21/widgets/widget-book-now-button.js +1 -0
  13. package/dist/holidoit-js-releases/20260928135224166-07fe438b66bb-26ef6a21/widgets/widget-booking-box.html +151 -0
  14. package/dist/holidoit-js-releases/20260928135224166-07fe438b66bb-26ef6a21/widgets/widget-booking-box.js +2 -0
  15. package/dist/holidoit-js-releases/20260928135224166-07fe438b66bb-26ef6a21/widgets/widget-experience-grid-drawer.html +56 -0
  16. package/dist/holidoit-js-releases/20260928135224166-07fe438b66bb-26ef6a21/widgets/widget-experience-grid-drawer.js +2 -0
  17. package/dist/holidoit-js-releases/20260928135224166-07fe438b66bb-26ef6a21/widgets/widget-experience-grid.html +58 -0
  18. package/dist/holidoit-js-releases/20260928135224166-07fe438b66bb-26ef6a21/widgets/widget-experience-grid.js +2 -0
  19. package/dist/holidoit-js-releases/20260928135224166-07fe438b66bb-26ef6a21/widgets/widget-experience-page-drawer.html +56 -0
  20. package/dist/holidoit-js-releases/20260928135224166-07fe438b66bb-26ef6a21/widgets/widget-experience-page-drawer.js +2 -0
  21. package/dist/holidoit-js-releases/20260928135224166-07fe438b66bb-26ef6a21/widgets/widget-experience.html +222 -0
  22. package/dist/holidoit-js-releases/20260928135224166-07fe438b66bb-26ef6a21/widgets/widget-experience.js +2 -0
  23. package/dist/holidoit-js-releases/20260928135224166-07fe438b66bb-26ef6a21/widgets/widgets-loader.js +1 -0
  24. package/dist/holidoit.js +2 -0
  25. package/dist/holidoit.umd.js +1 -1
  26. package/dist/release-manifest.json +42 -0
  27. package/dist/widgets/experience-grid-drawer-loader.js +1 -1
  28. package/dist/widgets/experience-page-drawer-loader.js +2 -0
  29. package/dist/widgets/inline-book-now-loader.js +1 -1
  30. package/dist/widgets/widget-book-now-button.html +1 -1
  31. package/dist/widgets/widget-booking-box.html +109 -16
  32. package/dist/widgets/widget-booking-box.js +1 -1
  33. package/dist/widgets/widget-experience-grid-drawer.html +1 -1
  34. package/dist/widgets/widget-experience-grid-drawer.js +1 -1
  35. package/dist/widgets/widget-experience-grid.html +1 -1
  36. package/dist/widgets/widget-experience-grid.js +1 -1
  37. package/dist/widgets/widget-experience-page-drawer.html +56 -0
  38. package/dist/widgets/widget-experience-page-drawer.js +2 -0
  39. package/dist/widgets/widget-experience.html +181 -17
  40. package/dist/widgets/widget-experience.js +1 -1
  41. package/dist/widgets/widgets-loader.js +1 -1
  42. package/package.json +3 -4
  43. package/README.md +0 -13
@@ -33,26 +33,119 @@
33
33
  -webkit-overflow-scrolling: touch;
34
34
  }
35
35
 
36
- /* Loading spinner fallback */
37
- .widget-loading {
36
+ /* This mirrors BookingBoxLoadingSkeleton so loading the bundle does not change layout. */
37
+ .booking-box-loading-skeleton {
38
+ min-height: 760px;
39
+ max-width: 500px;
40
+ margin: 0 auto;
41
+ padding: 20px 20px 24px;
42
+ border-left: 1px solid #e2e8f0;
43
+ border-right: 1px solid #e2e8f0;
44
+ background: #fff;
45
+ animation: booking-box-loading-pulse 1.5s ease-in-out infinite;
46
+ }
47
+
48
+ .booking-box-loading-content {
49
+ display: flex;
50
+ flex-direction: column;
51
+ }
52
+
53
+ .booking-box-loading-content {
54
+ gap: 12px;
55
+ }
56
+
57
+ .booking-box-loading-section {
58
+ padding: 12px;
59
+ border: 1px solid #e2e8f0;
60
+ border-radius: 12px;
61
+ box-shadow: 0 1px 2px 0 rgb(0 0 0 / 5%);
62
+ }
63
+
64
+ .booking-box-loading-heading {
38
65
  display: flex;
39
66
  align-items: center;
40
- justify-content: center;
41
- min-height: 400px;
67
+ gap: 12px;
68
+ }
69
+
70
+ .booking-box-loading-tour .booking-box-loading-heading {
71
+ margin-bottom: 12px;
72
+ }
73
+
74
+ .booking-box-loading-tour-options {
75
+ display: flex;
76
+ flex-direction: column;
77
+ gap: 8px;
78
+ }
79
+
80
+ .booking-box-loading-tour-option {
81
+ height: 62px;
82
+ border-radius: 12px;
83
+ background: #f8fafc;
84
+ }
85
+
86
+ .booking-box-loading-calendar .booking-box-loading-heading {
87
+ margin-bottom: 20px;
42
88
  }
43
89
 
44
- .widget-loading::after {
45
- content: '';
46
- width: 40px;
47
- height: 40px;
48
- border: 3px solid #e2e8f0;
49
- border-top-color: #3b82f6;
50
- border-radius: 50%;
51
- animation: spin 1s linear infinite;
90
+ .booking-box-loading-icon {
91
+ width: 28px;
92
+ height: 28px;
93
+ flex: 0 0 auto;
94
+ border-radius: 9999px;
95
+ background: #f1f5f9;
52
96
  }
53
97
 
54
- @keyframes spin {
55
- to {
56
- transform: rotate(360deg);
98
+ .booking-box-loading-title,
99
+ .booking-box-loading-month {
100
+ height: 20px;
101
+ border-radius: 4px;
102
+ background: #f1f5f9;
103
+ }
104
+
105
+ .booking-box-loading-title {
106
+ width: 176px;
107
+ }
108
+
109
+ .booking-box-loading-calendar .booking-box-loading-title {
110
+ width: 160px;
111
+ }
112
+
113
+ .booking-box-loading-month {
114
+ width: 128px;
115
+ margin: 0 auto 20px;
116
+ }
117
+
118
+ .booking-box-loading-grid {
119
+ display: grid;
120
+ grid-template-columns: repeat(7, minmax(0, 1fr));
121
+ gap: 4px;
122
+ }
123
+
124
+ .booking-box-loading-cell {
125
+ height: 46px;
126
+ border-radius: 8px;
127
+ background: #f8fafc;
128
+ }
129
+
130
+ .booking-box-loading-action {
131
+ height: 72px;
132
+ border-radius: 12px;
133
+ background: #f1f5f9;
134
+ }
135
+
136
+ @media (max-width: 775px) {
137
+ .booking-box-loading-skeleton {
138
+ padding-right: 12px;
139
+ padding-left: 12px;
140
+ }
141
+ }
142
+
143
+ @keyframes booking-box-loading-pulse {
144
+ 0%,
145
+ 100% {
146
+ opacity: 0.4;
147
+ }
148
+ 50% {
149
+ opacity: 0.2;
57
150
  }
58
- }</style></head><body><div id="holidoit-widget-root" class="widget-loading"></div><script defer="defer" src="./widget-booking-box.js"></script></body></html>
151
+ }</style></head><body><div id="holidoit-widget-root" class="booking-box-loading-skeleton" aria-busy="true"><div class="booking-box-loading-content"><div class="booking-box-loading-section booking-box-loading-tour"><div class="booking-box-loading-heading"><div class="booking-box-loading-icon"></div><div class="booking-box-loading-title"></div></div><div class="booking-box-loading-tour-options"><div class="booking-box-loading-tour-option"></div><div class="booking-box-loading-tour-option"></div></div></div><div class="booking-box-loading-section"><div class="booking-box-loading-heading"><div class="booking-box-loading-icon"></div><div class="booking-box-loading-title"></div></div></div><div class="booking-box-loading-section booking-box-loading-calendar"><div class="booking-box-loading-heading"><div class="booking-box-loading-icon"></div><div class="booking-box-loading-title"></div></div><div class="booking-box-loading-month"></div><div class="booking-box-loading-grid"><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div><div class="booking-box-loading-cell"></div></div></div><div class="booking-box-loading-action"></div></div></div><script defer="defer" src="../holidoit-js-releases/20260928135224166-07fe438b66bb-26ef6a21/widgets/widget-booking-box.js"></script></body></html>