@simoncomputing/mui-bueno-v3 0.1.15 → 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 +4 -2
- package/dist/components/Form/Inputs/TextField/TextField.d.ts +3 -3
- package/dist/index.cjs.js +73 -73
- package/dist/index.es.js +2344 -2355
- 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
|
|
@@ -59,13 +59,15 @@ npm install
|
|
|
59
59
|
|
|
60
60
|
#### Log into NPM
|
|
61
61
|
|
|
62
|
+
This project has been updated to require MFA and reject access tokens.
|
|
63
|
+
|
|
64
|
+
1. remove `~/.npmrc` if it exists. We will login using MFA through the browser.
|
|
62
65
|
1. At command line, type: `npm login`
|
|
63
66
|
1. You'll be prompted to press enter to open the browser.
|
|
64
67
|
1. Finish your login process.
|
|
65
68
|
1. You can now confirm you're logged in:
|
|
66
69
|
|
|
67
70
|
```shell
|
|
68
|
-
|
|
69
71
|
# This should identify your user ID
|
|
70
72
|
npm whoami
|
|
71
73
|
|
|
@@ -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
|
*/
|