Skip to content

Commit 22cb448

Browse files
Merge branch 'neolution-ch:main' into main
2 parents b94770b + 7ed6964 commit 22cb448

3 files changed

Lines changed: 21 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [3.17.0] - 2026-02-09
11+
12+
### Fixed
13+
14+
- padding on `textFieldBootstrapStyle` in order to override MUI padding on `StaticTypeahead`, `AsyncTypeahead`, `ColorPickerInput` and `TelephoneNumberInput`.
15+
1016
## [3.16.0] - 2026-02-05
1117

1218
### Added
@@ -697,7 +703,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
697703

698704
- Created package :tada:
699705

700-
[unreleased]: https://github.com/neolution-ch/react-hook-form-components/compare/3.16.0...HEAD
706+
[unreleased]: https://github.com/neolution-ch/react-hook-form-components/compare/3.17.0...HEAD
701707
[0.1.2]: https://github.com/neolution-ch/react-hook-form-components/compare/0.1.1...0.1.2
702708
[0.1.1]: https://github.com/neolution-ch/react-hook-form-components/compare/0.1.0...0.1.1
703709
[0.1.0]: https://github.com/neolution-ch/react-hook-form-components/releases/tag/0.1.0
@@ -722,6 +728,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
722728
[0.4.0]: https://github.com/neolution-ch/react-hook-form-components/compare/0.3.0...0.4.0
723729
[0.3.0]: https://github.com/neolution-ch/react-hook-form-components/compare/0.2.0...0.3.0
724730
[0.2.0]: https://github.com/neolution-ch/react-hook-form-components/releases/tag/0.2.0
731+
[3.17.0]: https://github.com/neolution-ch/react-hook-form-components/compare/3.16.0...3.17.0
725732
[3.16.0]: https://github.com/neolution-ch/react-hook-form-components/compare/3.15.1...3.16.0
726733
[3.15.1]: https://github.com/neolution-ch/react-hook-form-components/compare/3.15.0...3.15.1
727734
[3.15.0]: https://github.com/neolution-ch/react-hook-form-components/compare/3.14.0...3.15.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@neolution-ch/react-hook-form-components",
3-
"version": "3.16.0",
3+
"version": "3.17.0",
44
"description": "a collection of react hook form components to reduce boilerplate and figuring out how to integrate react hook form with other libraries",
55
"homepage": "https://neolution-ch.github.io/react-hook-form-components",
66
"repository": {

src/lib/helpers/mui.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,17 @@ const textFieldBootstrapStyle: SxProps = {
1010
padding: "0px 12px",
1111
borderColor: "#E0E3E7",
1212
transition: "border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out",
13+
14+
// override padding for mui inputs to match bootstrap's default input padding
15+
"& .MuiInputBase-input": {
16+
padding: "0px 12px",
17+
},
18+
19+
// override default padding when text-field is wrapped by autocomplete
20+
".MuiAutocomplete-root &": {
21+
padding: "0px 12px",
22+
},
23+
1324
"&.Mui-focused": {
1425
borderColor: "#80bdff",
1526
boxShadow: "0 0 0 0.2rem rgba(0,123,255,.25)",
@@ -42,7 +53,7 @@ const textFieldBootstrapStyle: SxProps = {
4253
"& fieldset": {
4354
border: "none",
4455
},
45-
"& .MuiFormHelperText-root ": {
56+
"& .MuiFormHelperText-root": {
4657
marginLeft: "0.2rem",
4758
marginTop: "0.3rem",
4859
},

0 commit comments

Comments
 (0)