oa-componentbook 1.0.1-stage.354 → 1.0.1-stage.356
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.
|
@@ -180,10 +180,11 @@ function ProgressiveStepsWidget(_ref) {
|
|
|
180
180
|
justifyContent: 'space-between',
|
|
181
181
|
alignItems: 'center',
|
|
182
182
|
backgroundColor: currentAnswer === (option.value || option) ? '#f0f8ff' : 'white',
|
|
183
|
-
cursor: 'pointer',
|
|
183
|
+
// cursor: 'pointer',
|
|
184
184
|
transition: 'all 0.3s ease'
|
|
185
|
-
}
|
|
186
|
-
onClick
|
|
185
|
+
}
|
|
186
|
+
// onClick={() => handleAnswer(stepIndex, option.value || option)}
|
|
187
|
+
,
|
|
187
188
|
"data-test": dataTest ? "".concat(dataTest, "--payment-option-").concat(stepIndex, "-").concat(idx) : undefined
|
|
188
189
|
}, /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("div", {
|
|
189
190
|
style: {
|
|
@@ -347,7 +348,7 @@ function ProgressiveStepsWidget(_ref) {
|
|
|
347
348
|
current: currentStep,
|
|
348
349
|
direction: "vertical",
|
|
349
350
|
"data-test": dataTest
|
|
350
|
-
}, otherProps)),
|
|
351
|
+
}, otherProps)), isAllStepsCompleted() && /*#__PURE__*/_react.default.createElement(_styles.SubmitButton, null, /*#__PURE__*/_react.default.createElement(_CustomButton.default, {
|
|
351
352
|
type: "primary",
|
|
352
353
|
size: "large",
|
|
353
354
|
onClick: handleSubmit,
|