@voyant-travel/bookings-react 0.194.0 → 0.195.0
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.
|
@@ -25,7 +25,7 @@ export declare function buildCommitPaymentIntent(draft: Draft): {
|
|
|
25
25
|
type: "hold";
|
|
26
26
|
};
|
|
27
27
|
export declare function isStepVisible(step: JourneyStep, shape: BookingDraftShape): boolean;
|
|
28
|
-
export declare function canAdvanceFromStep(step: JourneyStep, draft: Draft, shape: BookingDraftShape,
|
|
28
|
+
export declare function canAdvanceFromStep(step: JourneyStep, draft: Draft, shape: BookingDraftShape, _available: boolean): boolean;
|
|
29
29
|
export declare function validationErrorsForStep(step: JourneyStep, draft: Draft, messages: BookingsUiMessages): ReadonlyArray<string>;
|
|
30
30
|
/**
|
|
31
31
|
* Completeness for the stacked admin accordion's AUTO-advance — stricter
|
|
@@ -89,9 +89,7 @@ export function isStepVisible(step, shape) {
|
|
|
89
89
|
return shape.showsReview;
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
export function canAdvanceFromStep(step, draft, shape,
|
|
93
|
-
if (!available)
|
|
94
|
-
return false;
|
|
92
|
+
export function canAdvanceFromStep(step, draft, shape, _available) {
|
|
95
93
|
switch (step) {
|
|
96
94
|
case "departure": {
|
|
97
95
|
// Require a departure when the descriptor marks it required.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyant-travel/bookings-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.195.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -150,24 +150,24 @@
|
|
|
150
150
|
"react-dom": "^19.0.0",
|
|
151
151
|
"react-hook-form": "^7.80.0",
|
|
152
152
|
"zod": "^4.0.0",
|
|
153
|
-
"@voyant-travel/accommodations": "^0.
|
|
153
|
+
"@voyant-travel/accommodations": "^0.155.0",
|
|
154
154
|
"@voyant-travel/admin": "^0.129.0",
|
|
155
|
-
"@voyant-travel/bookings": "^0.
|
|
156
|
-
"@voyant-travel/catalog": "^0.
|
|
157
|
-
"@voyant-travel/catalog-react": "^0.
|
|
158
|
-
"@voyant-travel/distribution-react": "^0.
|
|
159
|
-
"@voyant-travel/relationships-react": "^0.
|
|
160
|
-
"@voyant-travel/finance": "^0.
|
|
161
|
-
"@voyant-travel/finance-react": "^0.
|
|
162
|
-
"@voyant-travel/identity-react": "^0.
|
|
163
|
-
"@voyant-travel/legal-react": "^0.
|
|
164
|
-
"@voyant-travel/commerce-react": "^0.
|
|
165
|
-
"@voyant-travel/cruises": "^0.
|
|
166
|
-
"@voyant-travel/inventory-react": "^0.
|
|
167
|
-
"@voyant-travel/inventory": "^0.16.
|
|
168
|
-
"@voyant-travel/storefront-react": "^0.
|
|
155
|
+
"@voyant-travel/bookings": "^0.195.0",
|
|
156
|
+
"@voyant-travel/catalog": "^0.193.0",
|
|
157
|
+
"@voyant-travel/catalog-react": "^0.193.0",
|
|
158
|
+
"@voyant-travel/distribution-react": "^0.185.0",
|
|
159
|
+
"@voyant-travel/relationships-react": "^0.195.0",
|
|
160
|
+
"@voyant-travel/finance": "^0.195.0",
|
|
161
|
+
"@voyant-travel/finance-react": "^0.195.0",
|
|
162
|
+
"@voyant-travel/identity-react": "^0.195.0",
|
|
163
|
+
"@voyant-travel/legal-react": "^0.195.0",
|
|
164
|
+
"@voyant-travel/commerce-react": "^0.77.0",
|
|
165
|
+
"@voyant-travel/cruises": "^0.194.0",
|
|
166
|
+
"@voyant-travel/inventory-react": "^0.77.0",
|
|
167
|
+
"@voyant-travel/inventory": "^0.16.2",
|
|
168
|
+
"@voyant-travel/storefront-react": "^0.197.0",
|
|
169
169
|
"@voyant-travel/ui": "^0.109.4",
|
|
170
|
-
"@voyant-travel/operations-react": "^0.
|
|
170
|
+
"@voyant-travel/operations-react": "^0.76.0"
|
|
171
171
|
},
|
|
172
172
|
"peerDependenciesMeta": {
|
|
173
173
|
"@tanstack/react-table": {
|
|
@@ -251,26 +251,26 @@
|
|
|
251
251
|
"typescript": "^6.0.3",
|
|
252
252
|
"vitest": "^4.1.9",
|
|
253
253
|
"zod": "^4.4.3",
|
|
254
|
-
"@voyant-travel/accommodations": "^0.
|
|
254
|
+
"@voyant-travel/accommodations": "^0.155.0",
|
|
255
255
|
"@voyant-travel/admin": "^0.129.0",
|
|
256
|
-
"@voyant-travel/bookings": "^0.
|
|
257
|
-
"@voyant-travel/catalog": "^0.
|
|
258
|
-
"@voyant-travel/catalog-react": "^0.
|
|
259
|
-
"@voyant-travel/distribution-react": "^0.
|
|
260
|
-
"@voyant-travel/relationships-react": "^0.
|
|
261
|
-
"@voyant-travel/finance": "^0.
|
|
262
|
-
"@voyant-travel/finance-react": "^0.
|
|
263
|
-
"@voyant-travel/identity-react": "^0.
|
|
264
|
-
"@voyant-travel/legal-react": "^0.
|
|
265
|
-
"@voyant-travel/commerce-react": "^0.
|
|
266
|
-
"@voyant-travel/cruises": "^0.
|
|
267
|
-
"@voyant-travel/inventory-react": "^0.
|
|
268
|
-
"@voyant-travel/inventory": "^0.16.
|
|
256
|
+
"@voyant-travel/bookings": "^0.195.0",
|
|
257
|
+
"@voyant-travel/catalog": "^0.193.0",
|
|
258
|
+
"@voyant-travel/catalog-react": "^0.193.0",
|
|
259
|
+
"@voyant-travel/distribution-react": "^0.185.0",
|
|
260
|
+
"@voyant-travel/relationships-react": "^0.195.0",
|
|
261
|
+
"@voyant-travel/finance": "^0.195.0",
|
|
262
|
+
"@voyant-travel/finance-react": "^0.195.0",
|
|
263
|
+
"@voyant-travel/identity-react": "^0.195.0",
|
|
264
|
+
"@voyant-travel/legal-react": "^0.195.0",
|
|
265
|
+
"@voyant-travel/commerce-react": "^0.77.0",
|
|
266
|
+
"@voyant-travel/cruises": "^0.194.0",
|
|
267
|
+
"@voyant-travel/inventory-react": "^0.77.0",
|
|
268
|
+
"@voyant-travel/inventory": "^0.16.2",
|
|
269
269
|
"@voyant-travel/react": "^0.104.2",
|
|
270
|
-
"@voyant-travel/storefront-react": "^0.
|
|
270
|
+
"@voyant-travel/storefront-react": "^0.197.0",
|
|
271
271
|
"@voyant-travel/ui": "^0.109.4",
|
|
272
272
|
"@voyant-travel/voyant-typescript-config": "^0.1.0",
|
|
273
|
-
"@voyant-travel/operations-react": "^0.
|
|
273
|
+
"@voyant-travel/operations-react": "^0.76.0"
|
|
274
274
|
},
|
|
275
275
|
"files": [
|
|
276
276
|
"dist",
|