@pinuts/bsr-uikit-relaunch 0.2.87 → 0.2.88

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.
@@ -1 +1 @@
1
- {"version":3,"file":"withFieldGroup.d.ts","sourceRoot":"","sources":["../../src/hooks/withFieldGroup.jsx"],"names":[],"mappings":";AAyCA,uDAAyC,UAAK,uBAiP7C;kBAzRwE,OAAO"}
1
+ {"version":3,"file":"withFieldGroup.d.ts","sourceRoot":"","sources":["../../src/hooks/withFieldGroup.jsx"],"names":[],"mappings":";AAyCA,uDAAyC,UAAK,uBAkP7C;kBA1RwE,OAAO"}
@@ -69,7 +69,8 @@ const withFieldGroup = FieldComponent => props => {
69
69
  components,
70
70
  values,
71
71
  errors,
72
- meta
72
+ meta,
73
+ showToprow = true
73
74
  } = props;
74
75
  const hookedFieldIds = useUniqueIds(prefix);
75
76
  const [textLength, setTextLength] = (0, _react.useState)(value?.length || 0);
@@ -161,7 +162,7 @@ const withFieldGroup = FieldComponent => props => {
161
162
  }
162
163
  return /*#__PURE__*/_react.default.createElement(OuterComponent, {
163
164
  className: getClassNames([withRowCols && 'row', 'formInput', isInvalid && 'error', formGroupClassName])
164
- }, topRow, showHelpText && usedHelpTextPositionTop && helpTextDiv, (!isInvalid || !viewMode) && /*#__PURE__*/_react.default.createElement(FieldComponent, _extends({}, props, {
165
+ }, showToprow && topRow, showHelpText && usedHelpTextPositionTop && helpTextDiv, (!isInvalid || !viewMode) && /*#__PURE__*/_react.default.createElement(FieldComponent, _extends({}, props, {
165
166
  setTextLength: setTextLength,
166
167
  inputProps: {
167
168
  onBlur: handleBlur,