@wix/headless-bookings 0.0.95 → 0.0.96
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.
|
@@ -178,7 +178,7 @@ export function Root(props) {
|
|
|
178
178
|
}
|
|
179
179
|
// Use Form.Root to set up FormService, then nest WixServices for BookingFormService
|
|
180
180
|
// This allows BookingFormService to access FormService via getService internally
|
|
181
|
-
return (_jsx(Form.Root, { formServiceConfig: formServiceConfig,
|
|
181
|
+
return (_jsx(Form.Root, { formServiceConfig: formServiceConfig, formRef: formRef, children: _jsx(WixServices, { servicesMap: createServicesMap().addService(BookingFormServiceDefinition, BookingFormService, bookingFormServiceConfig), disposeOnUnmount: true, children: _jsx(BookingFormContent, { fields: fieldMap, formRef: formRef, children: children }) }) }));
|
|
182
182
|
}
|
|
183
183
|
/**
|
|
184
184
|
* Internal component that consumes BookingFormService and provides render props.
|
|
@@ -178,7 +178,7 @@ export function Root(props) {
|
|
|
178
178
|
}
|
|
179
179
|
// Use Form.Root to set up FormService, then nest WixServices for BookingFormService
|
|
180
180
|
// This allows BookingFormService to access FormService via getService internally
|
|
181
|
-
return (_jsx(Form.Root, { formServiceConfig: formServiceConfig,
|
|
181
|
+
return (_jsx(Form.Root, { formServiceConfig: formServiceConfig, formRef: formRef, children: _jsx(WixServices, { servicesMap: createServicesMap().addService(BookingFormServiceDefinition, BookingFormService, bookingFormServiceConfig), disposeOnUnmount: true, children: _jsx(BookingFormContent, { fields: fieldMap, formRef: formRef, children: children }) }) }));
|
|
182
182
|
}
|
|
183
183
|
/**
|
|
184
184
|
* Internal component that consumes BookingFormService and provides render props.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/headless-bookings",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.96",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@wix/auto_sdk_bookings_event-time-slots": "^1.0.64",
|
|
38
38
|
"@wix/auto_sdk_ecom_checkout": "^1.0.104",
|
|
39
39
|
"@wix/form-public": "^0.104.0",
|
|
40
|
-
"@wix/headless-forms": "0.0.
|
|
40
|
+
"@wix/headless-forms": "0.0.28",
|
|
41
41
|
"@wix/headless-media": "0.0.20",
|
|
42
42
|
"@wix/headless-utils": "0.0.8",
|
|
43
43
|
"@wix/services-definitions": "^1.0.1",
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"groupId": "com.wixpress.headless-components"
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
|
-
"falconPackageHash": "
|
|
75
|
+
"falconPackageHash": "f9c07dcbd13bfcae1645e58e7c0cb56dbf2cea75260bc86cd19cafeb"
|
|
76
76
|
}
|