@simoncomputing/mui-bueno-v3 0.1.16 → 0.1.17
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.
- package/README.md +1 -1
- package/dist/components/Form/Inputs/TextField/TextField.d.ts +3 -3
- package/dist/index.cjs.js +73 -73
- package/dist/index.es.js +809 -821
- package/dist/index.umd.js +58 -58
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -41,7 +41,7 @@ In the application repo:
|
|
|
41
41
|
|
|
42
42
|
```shell
|
|
43
43
|
# Update package to look for this file in the proper directory.
|
|
44
|
-
npm i ~/git/mui-bueno-v3/simoncomputing-mui-bueno-v3-0.1.
|
|
44
|
+
npm i ~/git/mui-bueno-v3/simoncomputing-mui-bueno-v3-0.1.17.tgz
|
|
45
45
|
|
|
46
46
|
# Install
|
|
47
47
|
npm install
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TypographyProps, TextFieldProps as MuiTextFieldProps } from '@mui/material';
|
|
2
|
-
import * as React from
|
|
2
|
+
import * as React from 'react';
|
|
3
3
|
type BaseTextFieldProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Name and ID of the component. Must match a key from initialValues in react-hook-form.
|
|
@@ -46,13 +46,13 @@ type BaseTextFieldProps = {
|
|
|
46
46
|
/**
|
|
47
47
|
* Margin for the FormControl
|
|
48
48
|
*/
|
|
49
|
-
margin?:
|
|
49
|
+
margin?: 'dense' | 'none' | 'normal';
|
|
50
50
|
/**
|
|
51
51
|
* By default, TextField will trim leading and trailing whitespace on blur. To disable this, set `noTrimOnBlur` to true.
|
|
52
52
|
*/
|
|
53
53
|
noTrimOnBlur?: boolean;
|
|
54
54
|
};
|
|
55
|
-
export type TextFieldProps = BaseTextFieldProps & Omit<MuiTextFieldProps,
|
|
55
|
+
export type TextFieldProps = BaseTextFieldProps & Omit<MuiTextFieldProps, 'defaultValue' | 'error' | 'fullWidth' | 'select' | 'SelectProps' | 'value'>;
|
|
56
56
|
/**
|
|
57
57
|
* The `TextField` is a MUI input. For use with validation, view the examples at the bottom of this page.
|
|
58
58
|
*/
|