@thecb/components 11.1.15-beta.1 → 11.1.15-beta.3
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.esm.js
CHANGED
|
@@ -47585,21 +47585,24 @@ var PartialAmountField = function PartialAmountField(_ref) {
|
|
|
47585
47585
|
moneyFormat = _ref.moneyFormat,
|
|
47586
47586
|
fieldActions = _ref.fieldActions,
|
|
47587
47587
|
themeValues = _ref.themeValues;
|
|
47588
|
+
var id = createIdFromString("".concat(lineItem.description, "-").concat(lineItem.subDescription));
|
|
47588
47589
|
return /*#__PURE__*/React.createElement(FormInput$1, {
|
|
47589
|
-
|
|
47590
|
+
id: id,
|
|
47591
|
+
labelTextWhenNoError: id,
|
|
47590
47592
|
labelDisplayOverride: /*#__PURE__*/React.createElement(Stack, {
|
|
47591
47593
|
childGap: "0px"
|
|
47592
|
-
}, /*#__PURE__*/React.createElement(
|
|
47594
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
47595
|
+
padding: "0"
|
|
47596
|
+
}, lineItem.description), /*#__PURE__*/React.createElement(Detail$1, {
|
|
47593
47597
|
as: "label",
|
|
47594
|
-
"for":
|
|
47598
|
+
"for": id,
|
|
47595
47599
|
variant: themeValues.detailVariant,
|
|
47596
47600
|
weight: themeValues.weightTitle
|
|
47597
|
-
}, /*#__PURE__*/React.createElement(
|
|
47598
|
-
as: "
|
|
47599
|
-
"for": createIdFromString("".concat(lineItem.description, "-").concat(lineItem.subDescription)),
|
|
47601
|
+
}, /*#__PURE__*/React.createElement(Detail$1, {
|
|
47602
|
+
as: "span",
|
|
47600
47603
|
variant: themeValues.detailVariant,
|
|
47601
47604
|
weight: "400"
|
|
47602
|
-
}, lineItem.subDescription)),
|
|
47605
|
+
}, lineItem.subDescription))),
|
|
47603
47606
|
key: lineItem.id,
|
|
47604
47607
|
field: field,
|
|
47605
47608
|
fieldActions: fieldActions,
|