@thecb/components 11.1.15-beta.0 → 11.1.15-beta.2
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/index.cjs.js
CHANGED
|
@@ -47594,19 +47594,21 @@ var PartialAmountField = function PartialAmountField(_ref) {
|
|
|
47594
47594
|
fieldActions = _ref.fieldActions,
|
|
47595
47595
|
themeValues = _ref.themeValues;
|
|
47596
47596
|
return /*#__PURE__*/React__default.createElement(FormInput$1, {
|
|
47597
|
-
labelTextWhenNoError: lineItem.description,
|
|
47597
|
+
labelTextWhenNoError: createIdFromString("".concat(lineItem.description, "-").concat(lineItem.subDescription)),
|
|
47598
47598
|
labelDisplayOverride: /*#__PURE__*/React__default.createElement(Stack, {
|
|
47599
47599
|
childGap: "0px"
|
|
47600
47600
|
}, /*#__PURE__*/React__default.createElement(Detail$1, {
|
|
47601
47601
|
as: "label",
|
|
47602
|
+
"for": createIdFromString("".concat(lineItem.description, "-").concat(lineItem.subDescription)),
|
|
47602
47603
|
variant: themeValues.detailVariant,
|
|
47603
47604
|
weight: themeValues.weightTitle
|
|
47604
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
47605
|
-
|
|
47606
|
-
as: "label",
|
|
47605
|
+
}, /*#__PURE__*/React__default.createElement(Detail$1, {
|
|
47606
|
+
as: "span",
|
|
47607
47607
|
variant: themeValues.detailVariant,
|
|
47608
47608
|
weight: "400"
|
|
47609
|
-
}, lineItem.subDescription)
|
|
47609
|
+
}, lineItem.subDescription), /*#__PURE__*/React__default.createElement(Box, {
|
|
47610
|
+
padding: "0"
|
|
47611
|
+
}, lineItem.description))),
|
|
47610
47612
|
key: lineItem.id,
|
|
47611
47613
|
field: field,
|
|
47612
47614
|
fieldActions: fieldActions,
|