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,190 @@
33
33
  -webkit-overflow-scrolling: touch;
34
34
  }
35
35
 
36
- /* Loading spinner fallback */
37
- .widget-loading {
38
- display: flex;
39
- align-items: center;
40
- justify-content: center;
41
- min-height: 600px;
36
+ /* First-frame skeleton shown before the widget bundle is ready */
37
+ .widget-page-loading,
38
+ .widget-booking-loading {
39
+ position: relative;
40
+ display: block;
41
+ width: 100%;
42
+ max-width: 1200px;
43
+ height: 1002px;
44
+ min-height: 1002px;
45
+ margin: 0 auto;
46
+ overflow: hidden;
42
47
  }
43
48
 
44
- .widget-loading::after {
49
+ .widget-page-loading::before,
50
+ .widget-booking-loading::after {
45
51
  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;
52
+ display: block;
53
+ position: absolute;
54
+ z-index: 100;
55
+ top: 10px;
56
+ height: 874px;
57
+ border-radius: 12px;
58
+ animation: widget-loading-pulse 1.5s ease-in-out infinite;
59
+ will-change: opacity;
60
+ }
61
+
62
+ .widget-page-loading::before {
63
+ left: 10px;
64
+ width: calc(60% - 40px);
65
+ background:
66
+ linear-gradient(#f1f5f9, #f1f5f9) 0 0 / 100% 360px no-repeat,
67
+ linear-gradient(#f1f5f9, #f1f5f9) 0 376px / min(100%, 480px) 24px no-repeat,
68
+ linear-gradient(#f1f5f9, #f1f5f9) 0 408px / min(80%, 384px) 24px no-repeat,
69
+ linear-gradient(#f1f5f9, #f1f5f9) 0 444px / min(100%, 287px) 31px no-repeat,
70
+ linear-gradient(#f1f5f9, #f1f5f9) 0 491px / 100% 16px no-repeat,
71
+ linear-gradient(#f1f5f9, #f1f5f9) 0 517px / 94% 16px no-repeat,
72
+ linear-gradient(#f1f5f9, #f1f5f9) 0 543px / 96px 20px no-repeat,
73
+ linear-gradient(#f8fafc, #f8fafc) 0 586px / 100% 66px no-repeat,
74
+ linear-gradient(#f8fafc, #f8fafc) 0 660px / 100% 66px no-repeat,
75
+ linear-gradient(#f8fafc, #f8fafc) 0 734px / 100% 66px no-repeat,
76
+ linear-gradient(#f8fafc, #f8fafc) 0 808px / 100% 66px no-repeat;
77
+ background-color: #fff;
78
+ }
79
+
80
+ .widget-booking-loading::after {
81
+ top: 30px;
82
+ right: 0;
83
+ width: 40%;
84
+ height: 891px;
85
+ border: 1px solid #e2e8f0;
86
+ box-shadow: 0 8px 20px rgb(15 23 42 / 8%);
87
+ background:
88
+ linear-gradient(#f8fafc, #f8fafc) 20px 20px / calc(100% - 40px) 185px no-repeat,
89
+ linear-gradient(#f8fafc, #f8fafc) 20px 217px / calc(100% - 40px) 58px no-repeat,
90
+ linear-gradient(#f8fafc, #f8fafc) 20px 287px / calc(100% - 40px) 390px no-repeat,
91
+ linear-gradient(#f1f5f9, #f1f5f9) 20px 689px / calc(100% - 40px) 56px no-repeat;
92
+ background-color: #fff;
93
+ }
94
+
95
+ @media (max-width: 1024px) {
96
+ .widget-page-loading,
97
+ .widget-booking-loading {
98
+ height: 2027px;
99
+ min-height: 2027px;
100
+ }
101
+
102
+ .widget-page-loading::before {
103
+ right: auto;
104
+ left: 10px;
105
+ width: calc(100% - 20px);
106
+ height: 893px;
107
+ background:
108
+ linear-gradient(#f1f5f9, #f1f5f9) 0 0 / 100% 360px no-repeat,
109
+ linear-gradient(#f1f5f9, #f1f5f9) 0 376px / min(100%, 480px) 24px no-repeat,
110
+ linear-gradient(#f1f5f9, #f1f5f9) 0 408px / min(80%, 384px) 24px no-repeat,
111
+ linear-gradient(#f1f5f9, #f1f5f9) 0 444px / min(100%, 287px) 31px no-repeat,
112
+ linear-gradient(#f1f5f9, #f1f5f9) 0 491px / 100% 16px no-repeat,
113
+ linear-gradient(#f1f5f9, #f1f5f9) 0 518px / 94% 16px no-repeat,
114
+ linear-gradient(#f1f5f9, #f1f5f9) 0 566px / 96px 20px no-repeat,
115
+ linear-gradient(#f8fafc, #f8fafc) 0 605px / 100% 66px no-repeat,
116
+ linear-gradient(#f8fafc, #f8fafc) 0 679px / 100% 66px no-repeat,
117
+ linear-gradient(#f8fafc, #f8fafc) 0 753px / 100% 66px no-repeat,
118
+ linear-gradient(#f8fafc, #f8fafc) 0 827px / 100% 66px no-repeat;
119
+ background-color: #fff;
120
+ }
121
+
122
+ .widget-booking-loading::after {
123
+ top: 967px;
124
+ right: auto;
125
+ left: 0;
126
+ width: 100%;
127
+ height: 979px;
128
+ background:
129
+ linear-gradient(#f1f5f9, #f1f5f9) 20px 20px / 80px 24px no-repeat,
130
+ linear-gradient(#f8fafc, #f8fafc) 20px 64px / calc(100% - 40px) 185px no-repeat,
131
+ linear-gradient(#f8fafc, #f8fafc) 20px 261px / calc(100% - 40px) 58px no-repeat,
132
+ linear-gradient(#f8fafc, #f8fafc) 20px 331px / calc(100% - 40px) 390px no-repeat,
133
+ linear-gradient(#f1f5f9, #f1f5f9) 20px 733px / calc(100% - 40px) 56px no-repeat;
134
+ background-color: #fff;
135
+ }
136
+ }
137
+
138
+ @media (max-width: 775px) {
139
+ .widget-page-loading,
140
+ .widget-booking-loading {
141
+ height: 1923px;
142
+ min-height: 1923px;
143
+ }
144
+
145
+ .widget-page-loading::before {
146
+ right: auto;
147
+ left: 2px;
148
+ width: calc(100% - 4px);
149
+ height: 874px;
150
+ background:
151
+ linear-gradient(#f1f5f9, #f1f5f9) 0 0 / 100% 360px no-repeat,
152
+ linear-gradient(#f1f5f9, #f1f5f9) 0 376px / min(100%, 480px) 24px no-repeat,
153
+ linear-gradient(#f1f5f9, #f1f5f9) 0 408px / min(80%, 384px) 24px no-repeat,
154
+ linear-gradient(#f1f5f9, #f1f5f9) 0 444px / min(100%, 287px) 31px no-repeat,
155
+ linear-gradient(#f1f5f9, #f1f5f9) 0 491px / 100% 16px no-repeat,
156
+ linear-gradient(#f1f5f9, #f1f5f9) 0 517px / 94% 16px no-repeat,
157
+ linear-gradient(#f1f5f9, #f1f5f9) 0 547px / 96px 20px no-repeat,
158
+ linear-gradient(#f8fafc, #f8fafc) 0 586px / 100% 66px no-repeat,
159
+ linear-gradient(#f8fafc, #f8fafc) 0 660px / 100% 66px no-repeat,
160
+ linear-gradient(#f8fafc, #f8fafc) 0 734px / 100% 66px no-repeat,
161
+ linear-gradient(#f8fafc, #f8fafc) 0 808px / 100% 66px no-repeat;
162
+ background-color: #fff;
163
+ }
164
+
165
+ .widget-booking-loading::after {
166
+ top: 916px;
167
+ right: auto;
168
+ left: 0;
169
+ width: 100%;
170
+ height: 921px;
171
+ border: 0;
172
+ border-radius: 0;
173
+ box-shadow: none;
174
+ }
175
+ }
176
+
177
+ @media (max-width: 600px) {
178
+ .widget-page-loading,
179
+ .widget-booking-loading {
180
+ height: 1863px;
181
+ min-height: 1863px;
182
+ }
183
+
184
+ .widget-page-loading::before {
185
+ right: auto;
186
+ left: 2px;
187
+ width: calc(100% - 4px);
188
+ height: 814px;
189
+ background:
190
+ linear-gradient(#f1f5f9, #f1f5f9) 0 0 / 100% 300px no-repeat,
191
+ linear-gradient(#f1f5f9, #f1f5f9) 0 316px / 100% 24px no-repeat,
192
+ linear-gradient(#f1f5f9, #f1f5f9) 0 348px / 80% 24px no-repeat,
193
+ linear-gradient(#f1f5f9, #f1f5f9) 0 384px / min(100%, 287px) 31px no-repeat,
194
+ linear-gradient(#f1f5f9, #f1f5f9) 0 431px / 100% 16px no-repeat,
195
+ linear-gradient(#f1f5f9, #f1f5f9) 0 457px / 94% 16px no-repeat,
196
+ linear-gradient(#f1f5f9, #f1f5f9) 0 483px / 96px 20px no-repeat,
197
+ linear-gradient(#f8fafc, #f8fafc) 0 526px / 100% 66px no-repeat,
198
+ linear-gradient(#f8fafc, #f8fafc) 0 600px / 100% 66px no-repeat,
199
+ linear-gradient(#f8fafc, #f8fafc) 0 674px / 100% 66px no-repeat,
200
+ linear-gradient(#f8fafc, #f8fafc) 0 748px / 100% 66px no-repeat;
201
+ background-color: #fff;
202
+ }
203
+
204
+ .widget-booking-loading::after {
205
+ top: 856px;
206
+ right: auto;
207
+ left: 0;
208
+ width: 100%;
209
+ height: 921px;
210
+ }
52
211
  }
53
212
 
54
- @keyframes spin {
55
- to {
56
- transform: rotate(360deg);
213
+ @keyframes widget-loading-pulse {
214
+ 0%,
215
+ 100% {
216
+ opacity: 0.65;
217
+ }
218
+
219
+ 50% {
220
+ opacity: 0.4;
57
221
  }
58
- }</style></head><body><div id="holidoit-widget-root" class="widget-loading"></div><script defer="defer" src="./widget-experience.js"></script></body></html>
222
+ }</style></head><body><div id="holidoit-widget-root" class="widget-page-loading widget-booking-loading" aria-busy="true"></div><script defer="defer" src="../holidoit-js-releases/20260928135224166-07fe438b66bb-26ef6a21/widgets/widget-experience.js"></script></body></html>