@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.esm.js CHANGED
@@ -47585,22 +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
- labelTextWhenNoError: createIdFromString("".concat(lineItem.description, "-").concat(lineItem.subDescription)),
47590
+ id: id,
47591
+ labelTextWhenNoError: id,
47590
47592
  labelDisplayOverride: /*#__PURE__*/React.createElement(Stack, {
47591
47593
  childGap: "0px"
47592
- }, /*#__PURE__*/React.createElement(Detail$1, {
47594
+ }, /*#__PURE__*/React.createElement(Box, {
47595
+ padding: "0"
47596
+ }, lineItem.description), /*#__PURE__*/React.createElement(Detail$1, {
47593
47597
  as: "label",
47594
- "for": createIdFromString("".concat(lineItem.description, "-").concat(lineItem.subDescription)),
47598
+ "for": id,
47595
47599
  variant: themeValues.detailVariant,
47596
47600
  weight: themeValues.weightTitle
47597
47601
  }, /*#__PURE__*/React.createElement(Detail$1, {
47598
47602
  as: "span",
47599
47603
  variant: themeValues.detailVariant,
47600
47604
  weight: "400"
47601
- }, lineItem.subDescription), /*#__PURE__*/React.createElement(Box, {
47602
- padding: "0"
47603
- }, lineItem.description))),
47605
+ }, lineItem.subDescription))),
47604
47606
  key: lineItem.id,
47605
47607
  field: field,
47606
47608
  fieldActions: fieldActions,