@itcase/storybook-config 1.1.52 → 1.1.53
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.
package/dist/cjs/decorators.js
CHANGED
|
@@ -449,7 +449,7 @@ function withNextDecoratorFactory(_ref) {
|
|
|
449
449
|
if (hasFormParameters(parameters) && !parameters.formUrl) {
|
|
450
450
|
throw new Error('Set "formUrl" in stories!');
|
|
451
451
|
}
|
|
452
|
-
return /*#__PURE__*/React.createElement(RootStoreProvider, parameters.storesData, /*#__PURE__*/React.createElement(UIContext.UIProvider, null, /*#__PURE__*/React.createElement(Notifications.NotificationsProvider, null, hasFormParameters(parameters) ? /*#__PURE__*/React.createElement(index.FormSubmitWrapper,
|
|
452
|
+
return /*#__PURE__*/React.createElement(RootStoreProvider, parameters.storesData, /*#__PURE__*/React.createElement(UIContext.UIProvider, null, /*#__PURE__*/React.createElement(Notifications.NotificationsProvider, null, hasFormParameters(parameters) ? /*#__PURE__*/React.createElement(index.FormSubmitWrapper, updatedContext, /*#__PURE__*/React.createElement(Story, updatedContext)) : /*#__PURE__*/React.createElement(Story, updatedContext))));
|
|
453
453
|
};
|
|
454
454
|
return decorator;
|
|
455
455
|
}
|
package/dist/decorators.js
CHANGED
|
@@ -447,7 +447,7 @@ function withNextDecoratorFactory(_ref) {
|
|
|
447
447
|
if (hasFormParameters(parameters) && !parameters.formUrl) {
|
|
448
448
|
throw new Error('Set "formUrl" in stories!');
|
|
449
449
|
}
|
|
450
|
-
return /*#__PURE__*/React.createElement(RootStoreProvider, parameters.storesData, /*#__PURE__*/React.createElement(UIProvider, null, /*#__PURE__*/React.createElement(NotificationsProvider, null, hasFormParameters(parameters) ? /*#__PURE__*/React.createElement(FormSubmitWrapper,
|
|
450
|
+
return /*#__PURE__*/React.createElement(RootStoreProvider, parameters.storesData, /*#__PURE__*/React.createElement(UIProvider, null, /*#__PURE__*/React.createElement(NotificationsProvider, null, hasFormParameters(parameters) ? /*#__PURE__*/React.createElement(FormSubmitWrapper, updatedContext, /*#__PURE__*/React.createElement(Story, updatedContext)) : /*#__PURE__*/React.createElement(Story, updatedContext))));
|
|
451
451
|
};
|
|
452
452
|
return decorator;
|
|
453
453
|
}
|