@ukhomeoffice/cop-react-form-renderer 4.81.0 → 4.81.1

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.
@@ -159,9 +159,12 @@ var getTextArea = function getTextArea(config) {
159
159
  };
160
160
  var getTextInput = function getTextInput(config) {
161
161
  var attrs = (0, _cleanAttributes.default)(config);
162
- var classes = _copReactComponents.Utils.classBuilder(INPUT_CLASS, attrs.fixedWidth ? [attrs.fixedWidth] : [], attrs.fluidWidth ? [attrs.fluidWidth] : undefined);
162
+ var classModifiers = attrs.fixedWidth ? [attrs.fixedWidth] : [];
163
+ var className = attrs.fluidWidth ? [attrs.fluidWidth] : undefined;
163
164
  return /*#__PURE__*/_react.default.createElement(_copReactComponents.TextInput, _extends({}, attrs, {
164
- className: classes()
165
+ classBlock: INPUT_CLASS,
166
+ classModifiers: classModifiers,
167
+ className: className
165
168
  }));
166
169
  };
167
170
  var getTime = function getTime(config) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ukhomeoffice/cop-react-form-renderer",
3
- "version": "4.81.0",
3
+ "version": "4.81.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",