@spothero/ui 14.7.0 → 14.7.2

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.
@@ -34454,6 +34454,7 @@ var variants$7 = {
34454
34454
  borderRadius: 'unset',
34455
34455
  color: 'primary.default',
34456
34456
  textDecoration: 'underline',
34457
+ textUnderlineOffset: '1px',
34457
34458
  h: 'unset',
34458
34459
  m: 'unset',
34459
34460
  minW: 'unset',
@@ -34476,6 +34477,7 @@ var variants$7 = {
34476
34477
  borderWidth: 'none',
34477
34478
  color: 'white',
34478
34479
  textDecoration: 'underline',
34480
+ textUnderlineOffset: '1px',
34479
34481
  h: 'unset',
34480
34482
  m: 'unset',
34481
34483
  minW: 'unset',
@@ -34657,10 +34659,7 @@ var Button = /*#__PURE__*/forwardRef$1(function (_ref, ref) {
34657
34659
  props = _objectWithoutProperties(_ref, _excluded$c);
34658
34660
 
34659
34661
  return /*#__PURE__*/React.createElement(Button$1, _extends({
34660
- iconSpacing: 2,
34661
- sx: {
34662
- 'text-underline-offset': '1px'
34663
- }
34662
+ iconSpacing: 2
34664
34663
  }, props, (asAnchor || props.as === 'a') && anchorProps(isExternal), {
34665
34664
  ref: ref
34666
34665
  }));
@@ -34742,7 +34741,7 @@ var FormControl = /*#__PURE__*/forwardRef$1(function (_ref, ref) {
34742
34741
  }, helperText), /*#__PURE__*/React.createElement(FormErrorMessage, {
34743
34742
  color: "error",
34744
34743
  mt: 1,
34745
- fontSize: "xs"
34744
+ fontSize: "sm"
34746
34745
  }, errorMessage));
34747
34746
  });
34748
34747
  FormControl.propTypes = {
@@ -37144,7 +37143,10 @@ var variants = {
37144
37143
  cursor: 'not-allowed'
37145
37144
  },
37146
37145
  _invalid: {
37147
- borderColor: 'error'
37146
+ borderColor: 'error',
37147
+ _focus: {
37148
+ borderColor: 'error'
37149
+ }
37148
37150
  }
37149
37151
  }
37150
37152
  }