@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.cjs.js
CHANGED
|
@@ -47593,21 +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
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
47606
|
-
as: "
|
|
47607
|
-
"for": createIdFromString("".concat(lineItem.description, "-").concat(lineItem.subDescription)),
|
|
47609
|
+
}, /*#__PURE__*/React__default.createElement(Detail$1, {
|
|
47610
|
+
as: "span",
|
|
47608
47611
|
variant: themeValues.detailVariant,
|
|
47609
47612
|
weight: "400"
|
|
47610
|
-
}, lineItem.subDescription)),
|
|
47613
|
+
}, lineItem.subDescription))),
|
|
47611
47614
|
key: lineItem.id,
|
|
47612
47615
|
field: field,
|
|
47613
47616
|
fieldActions: fieldActions,
|