oa-componentbook 1.0.1-stage.78 → 1.0.1-stage.79
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.
|
@@ -97,11 +97,6 @@ function ApprovalWidget(_ref) {
|
|
|
97
97
|
className: "row"
|
|
98
98
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
99
99
|
className: columnDynamicCssClass === null || columnDynamicCssClass === void 0 ? void 0 : columnDynamicCssClass.firstColumn
|
|
100
|
-
// className={
|
|
101
|
-
// isQuestionStyleWidget
|
|
102
|
-
// ? "col-sm-12 col-md-12 col-lg-12"
|
|
103
|
-
// : ""
|
|
104
|
-
// }
|
|
105
100
|
}, title && /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("h4", {
|
|
106
101
|
className: "type-b2-400"
|
|
107
102
|
}, title, isMandatory && /*#__PURE__*/_react.default.createElement(_styles.RedText, null, "*"))), description && /*#__PURE__*/_react.default.createElement(_styles.Styledescription, null, /*#__PURE__*/_react.default.createElement(_Typography.default, {
|
|
@@ -128,7 +123,7 @@ function ApprovalWidget(_ref) {
|
|
|
128
123
|
}, /*#__PURE__*/_react.default.createElement(_Typography.default, {
|
|
129
124
|
typography: "type-b2-400",
|
|
130
125
|
color: "secondary-content"
|
|
131
|
-
}, documentTitle, " \xA0
|
|
126
|
+
}, documentTitle, " \xA0"), /*#__PURE__*/_react.default.createElement(_UploadDownloadWidget.default, _extends({
|
|
132
127
|
disabled: (_approvalForm$disable2 = approvalForm === null || approvalForm === void 0 ? void 0 : approvalForm.disabled) !== null && _approvalForm$disable2 !== void 0 ? _approvalForm$disable2 : false,
|
|
133
128
|
"data-test": dataTest ? "".concat(dataTest, "--upload-download-widget") : undefined
|
|
134
129
|
}, docDetails, {
|
|
@@ -355,7 +350,7 @@ ApprovalWidget.defaultProps = {
|
|
|
355
350
|
tooltipPlacement: "bottom",
|
|
356
351
|
// Default placement
|
|
357
352
|
columnDynamicCssClass: {
|
|
358
|
-
firstColumn: "col-sm-12 col-md-
|
|
353
|
+
firstColumn: "col-sm-12 col-md-5 col-lg-5",
|
|
359
354
|
secondColumn: "col-sm-12 col-md-4 col-lg-4 flexCol8",
|
|
360
355
|
thirdColumn: "col-sm-12 col-md-3 col-lg-3"
|
|
361
356
|
}
|