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