@uncinc/uncinc-react-kitchen-sink 2.17.0 → 2.17.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.
@@ -22,7 +22,7 @@ var GenericFormElement = function GenericFormElement(props) {
22
22
  _props$descriptionAbo = props.descriptionAboveInput,
23
23
  descriptionAboveInput = _props$descriptionAbo === void 0 ? false : _props$descriptionAbo;
24
24
  return /*#__PURE__*/React.createElement("div", {
25
- className: error ? "FormElement ".concat(className, " error") : "FormElement ".concat(className)
25
+ className: error && touched ? "FormElement ".concat(className, " error") : "FormElement ".concat(className)
26
26
  }, title && !includeFieldSet && /*#__PURE__*/React.createElement("label", {
27
27
  htmlFor: fieldName
28
28
  }, title, !required && displayRequiredIndicator === 'optional' && /*#__PURE__*/React.createElement("span", {
@@ -57,11 +57,11 @@ var Select = function Select(props) {
57
57
  isClearable: isClearable,
58
58
  isTouched: isTouched,
59
59
  required: required,
60
- validate: validation,
60
+ validation: validation,
61
61
  error: error,
62
62
  errorId: errorId,
63
63
  onBlur: function onBlur() {
64
- setFieldTouched(fieldName, true, false);
64
+ setFieldTouched(fieldName, true, true);
65
65
  }
66
66
  })));
67
67
  };
@@ -302,7 +302,7 @@ var CookieCompliancePopup = function CookieCompliancePopup(props) {
302
302
  return /*#__PURE__*/React.createElement("div", {
303
303
  className: classes,
304
304
  role: "region",
305
- "aria-label": t('cookie.banner_label')
305
+ "aria-label": t('cookies.banner_label')
306
306
  }, /*#__PURE__*/React.createElement(Container, null, /*#__PURE__*/React.createElement("div", {
307
307
  className: "GoogleConsentCookieBanner__content ".concat(manualChoiceVisible ? 'GoogleConsentCookieBanner__content--full-height' : '')
308
308
  }, /*#__PURE__*/React.createElement("div", {
@@ -33,7 +33,7 @@ var SkipNav = function SkipNav(_ref) {
33
33
  className: linkClasses
34
34
  }, defaultContentText));
35
35
  }
36
- if (skipToSearch && searchRef && 'current' in searchRef && searchRef.current) {
36
+ if (skipToSearch && searchRef && 'current' in searchRef) {
37
37
  generatedLinks.push( /*#__PURE__*/React.createElement("button", {
38
38
  onClick: function onClick() {
39
39
  var _searchRef$current;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uncinc/uncinc-react-kitchen-sink",
3
- "version": "2.17.0",
3
+ "version": "2.17.1",
4
4
  "description": "Default React components that are easily extended.",
5
5
  "author": "uncinc",
6
6
  "license": "MIT",