@justfixnyc/component-library 0.51.2 → 0.51.4

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.
@@ -650,6 +650,11 @@
650
650
  .jfcl-select-button__input:checked + .jfcl-select-button__label {
651
651
  background-color: #c6d8ff;
652
652
  }
653
+
654
+ .jfcl-select-button__input:focus-visible + .jfcl-select-button__label {
655
+ outline: 2px solid #5188ff;
656
+ outline-offset: 2px;
657
+ }
653
658
  @keyframes spin {
654
659
  from {
655
660
  transform: rotate(0deg);
@@ -650,6 +650,11 @@
650
650
  .jfcl-select-button__input:checked + .jfcl-select-button__label {
651
651
  background-color: #c6d8ff;
652
652
  }
653
+
654
+ .jfcl-select-button__input:focus-visible + .jfcl-select-button__label {
655
+ outline: 2px solid #5188ff;
656
+ outline-offset: 2px;
657
+ }
653
658
  @keyframes spin {
654
659
  from {
655
660
  transform: rotate(0deg);
@@ -546,7 +546,7 @@ const TextInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
546
546
  ...props
547
547
  } = _ref;
548
548
  const inputIsMoney = type === 'money';
549
- const inputType = inputIsMoney ? 'text' : type;
549
+ const inputType = inputIsMoney ? 'number' : type;
550
550
  const textInputWrapperClassNames = classNames('jfcl-text-input', {
551
551
  ['jfcl-text-input--is-invalid']: invalid,
552
552
  ["jfcl-text-input--has-prefix"]: inputIsMoney
package/dist/src/index.js CHANGED
@@ -557,7 +557,7 @@ const TextInput = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
557
557
  ...props
558
558
  } = _ref;
559
559
  const inputIsMoney = type === 'money';
560
- const inputType = inputIsMoney ? 'text' : type;
560
+ const inputType = inputIsMoney ? 'number' : type;
561
561
  const textInputWrapperClassNames = classNames__default["default"]('jfcl-text-input', {
562
562
  ['jfcl-text-input--is-invalid']: invalid,
563
563
  ["jfcl-text-input--has-prefix"]: inputIsMoney
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@justfixnyc/component-library",
3
3
  "description": "JustFix Component Library",
4
4
  "license": "MIT",
5
- "version": "0.51.2",
5
+ "version": "0.51.4",
6
6
  "main": "dist/src/index.js",
7
7
  "module": "dist/src/index.es.js",
8
8
  "files": [