@wix/headless-restaurants-olo 0.0.27 → 0.0.28
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.
|
@@ -120,5 +120,5 @@ export const CurrentLocation = ({ children, className, asChild, }) => {
|
|
|
120
120
|
* ```
|
|
121
121
|
*/
|
|
122
122
|
export const ExtraData = ({ children, asChild, className, ...rest }) => {
|
|
123
|
-
return (_jsx(CoreSettings.ExtraData, { children: ({ extraData, hasExtraData }) => (_jsx(AsChildSlot, { asChild: asChild, className: className, customElement: children, customElementProps: { extraData, hasExtraData }, content:
|
|
123
|
+
return (_jsx(CoreSettings.ExtraData, { children: ({ extraData, hasExtraData }) => (_jsx(AsChildSlot, { asChild: asChild, className: className, customElement: children, customElementProps: { extraData, hasExtraData }, content: (!!extraData?.acceptingOrders).toString(), ...rest, children: _jsx("div", { children: (!!extraData?.acceptingOrders).toString() }) })) }));
|
|
124
124
|
};
|
package/dist/react/Settings.js
CHANGED
|
@@ -120,5 +120,5 @@ export const CurrentLocation = ({ children, className, asChild, }) => {
|
|
|
120
120
|
* ```
|
|
121
121
|
*/
|
|
122
122
|
export const ExtraData = ({ children, asChild, className, ...rest }) => {
|
|
123
|
-
return (_jsx(CoreSettings.ExtraData, { children: ({ extraData, hasExtraData }) => (_jsx(AsChildSlot, { asChild: asChild, className: className, customElement: children, customElementProps: { extraData, hasExtraData }, content:
|
|
123
|
+
return (_jsx(CoreSettings.ExtraData, { children: ({ extraData, hasExtraData }) => (_jsx(AsChildSlot, { asChild: asChild, className: className, customElement: children, customElementProps: { extraData, hasExtraData }, content: (!!extraData?.acceptingOrders).toString(), ...rest, children: _jsx("div", { children: (!!extraData?.acceptingOrders).toString() }) })) }));
|
|
124
124
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/headless-restaurants-olo",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.28",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"groupId": "com.wixpress.headless-components"
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
|
-
"falconPackageHash": "
|
|
79
|
+
"falconPackageHash": "480f9f4988c3d1338cdc8d4fcc461bd2fad02e7a124fca8371789370"
|
|
80
80
|
}
|