@wix/headless-restaurants-olo 0.0.29 → 0.0.31
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.
|
@@ -46,9 +46,6 @@ export const Description = React.forwardRef(({ ruleTypeMap, className, asChild,
|
|
|
46
46
|
Description.displayName = 'ItemDetailsModifierGroup.Description';
|
|
47
47
|
export const Error = React.forwardRef(({ ruleTypeMap, className, asChild, children, ...otherProps }, ref) => {
|
|
48
48
|
return (_jsx(GroupError, { ruleTypeMap: ruleTypeMap, children: ({ error }) => {
|
|
49
|
-
if (!error) {
|
|
50
|
-
return null;
|
|
51
|
-
}
|
|
52
49
|
return (_jsx(AsChildSlot, { ref: ref, asChild: asChild, "data-testid": TestIds.modifierGroupError, className: className, customElement: children, customElementProps: { error }, content: error, ...otherProps, children: _jsx("p", { className: className, children: error }) }));
|
|
53
50
|
} }));
|
|
54
51
|
});
|
|
@@ -46,9 +46,6 @@ export const Description = React.forwardRef(({ ruleTypeMap, className, asChild,
|
|
|
46
46
|
Description.displayName = 'ItemDetailsModifierGroup.Description';
|
|
47
47
|
export const Error = React.forwardRef(({ ruleTypeMap, className, asChild, children, ...otherProps }, ref) => {
|
|
48
48
|
return (_jsx(GroupError, { ruleTypeMap: ruleTypeMap, children: ({ error }) => {
|
|
49
|
-
if (!error) {
|
|
50
|
-
return null;
|
|
51
|
-
}
|
|
52
49
|
return (_jsx(AsChildSlot, { ref: ref, asChild: asChild, "data-testid": TestIds.modifierGroupError, className: className, customElement: children, customElementProps: { error }, content: error, ...otherProps, children: _jsx("p", { className: className, children: error }) }));
|
|
53
50
|
} }));
|
|
54
51
|
});
|
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.31",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@radix-ui/react-slot": "^1.1.0",
|
|
57
57
|
"@wix/auto_sdk_restaurants_items": "^1.0.48",
|
|
58
58
|
"@wix/ecom": "^1.0.1461",
|
|
59
|
-
"@wix/headless-components": "0.0.
|
|
59
|
+
"@wix/headless-components": "0.0.33",
|
|
60
60
|
"@wix/headless-media": "0.0.18",
|
|
61
61
|
"@wix/headless-restaurants-menus": "0.0.21",
|
|
62
62
|
"@wix/headless-utils": "0.0.8",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"groupId": "com.wixpress.headless-components"
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
|
-
"falconPackageHash": "
|
|
79
|
+
"falconPackageHash": "e71f0f800480748c71d5007c1a290b5edc146c7d3f120e8321035555"
|
|
80
80
|
}
|