Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@data-driven-forms/carbon-component-mapper

Package Overview
Dependencies
Maintainers
2
Versions
168
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@data-driven-forms/carbon-component-mapper - npm Package Compare versions

Comparing version 3.5.1 to 3.6.0

12

esm/wizard/wizard.js

@@ -132,3 +132,4 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";

WizardBodyProps = _ref5.WizardBodyProps,
props = _objectWithoutProperties(_ref5, ["stepsInfo", "buttonLabels", "ButtonSetProps", "BackButtonProps", "NextButtonProps", "SubmitButtonProps", "ProgressIndicatorProps", "vertical", "WizardBodyProps"]);
conditionalSubmitFlag = _ref5.conditionalSubmitFlag,
props = _objectWithoutProperties(_ref5, ["stepsInfo", "buttonLabels", "ButtonSetProps", "BackButtonProps", "NextButtonProps", "SubmitButtonProps", "ProgressIndicatorProps", "vertical", "WizardBodyProps", "conditionalSubmitFlag"]);

@@ -170,7 +171,9 @@ var _useContext = useContext(WizardContext),

submitting = _ref6.submitting;
var nextResult = currentStep.nextStep ? selectNext(currentStep.nextStep, formOptions.getState) : currentStep.nextStep;
var progressNext = nextResult !== conditionalSubmitFlag && currentStep.nextStep;
return /*#__PURE__*/React.createElement("div", _extends({}, ButtonSetProps, {
className: clsx(buttonSet, ButtonSetProps.className)
}), currentStep.nextStep ? /*#__PURE__*/React.createElement(Button, _extends({
}), progressNext ? /*#__PURE__*/React.createElement(Button, _extends({
onClick: function onClick() {
return handleNext(selectNext(currentStep.nextStep, formOptions.getState));
return handleNext(nextResult);
},

@@ -206,3 +209,4 @@ disabled: !formOptions.valid || invalid || validating || submitting

vertical: PropTypes.bool,
WizardBodyProps: PropTypes.object
WizardBodyProps: PropTypes.object,
conditionalSubmitFlag: PropTypes.string.isRequired
};

@@ -209,0 +213,0 @@ WizardInternal.defaultProps = {

{
"name": "@data-driven-forms/carbon-component-mapper",
"version": "3.5.1",
"version": "3.6.0",
"description": "carbon-component-mapper for data-driven-forms.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -155,3 +155,4 @@ "use strict";

WizardBodyProps = _ref5.WizardBodyProps,
props = (0, _objectWithoutProperties2["default"])(_ref5, ["stepsInfo", "buttonLabels", "ButtonSetProps", "BackButtonProps", "NextButtonProps", "SubmitButtonProps", "ProgressIndicatorProps", "vertical", "WizardBodyProps"]);
conditionalSubmitFlag = _ref5.conditionalSubmitFlag,
props = (0, _objectWithoutProperties2["default"])(_ref5, ["stepsInfo", "buttonLabels", "ButtonSetProps", "BackButtonProps", "NextButtonProps", "SubmitButtonProps", "ProgressIndicatorProps", "vertical", "WizardBodyProps", "conditionalSubmitFlag"]);

@@ -194,7 +195,9 @@ var _useContext = (0, _react.useContext)(_wizardContext["default"]),

submitting = _ref6.submitting;
var nextResult = currentStep.nextStep ? selectNext(currentStep.nextStep, formOptions.getState) : currentStep.nextStep;
var progressNext = nextResult !== conditionalSubmitFlag && currentStep.nextStep;
return /*#__PURE__*/_react["default"].createElement("div", (0, _extends2["default"])({}, ButtonSetProps, {
className: (0, _clsx["default"])(buttonSet, ButtonSetProps.className)
}), currentStep.nextStep ? /*#__PURE__*/_react["default"].createElement(_Button["default"], (0, _extends2["default"])({
}), progressNext ? /*#__PURE__*/_react["default"].createElement(_Button["default"], (0, _extends2["default"])({
onClick: function onClick() {
return handleNext(selectNext(currentStep.nextStep, formOptions.getState));
return handleNext(nextResult);
},

@@ -230,3 +233,4 @@ disabled: !formOptions.valid || invalid || validating || submitting

vertical: _propTypes["default"].bool,
WizardBodyProps: _propTypes["default"].object
WizardBodyProps: _propTypes["default"].object,
conditionalSubmitFlag: _propTypes["default"].string.isRequired
};

@@ -233,0 +237,0 @@ WizardInternal.defaultProps = {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc