Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rmwc/textfield

Package Overview
Dependencies
Maintainers
0
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rmwc/textfield - npm Package Compare versions

Comparing version 14.2.6 to 14.2.7

.babelrc

16

package.json
{
"name": "@rmwc/textfield",
"version": "14.2.6",
"version": "14.2.7",
"description": "RMWC TextField component",

@@ -43,10 +43,10 @@ "main": "./index.js",

"@material/textfield": "^14.0.0",
"@rmwc/base": "workspace:*",
"@rmwc/floating-label": "workspace:*",
"@rmwc/icon": "workspace:*",
"@rmwc/line-ripple": "workspace:*",
"@rmwc/notched-outline": "workspace:*",
"@rmwc/ripple": "workspace:*",
"@rmwc/types": "workspace:*"
"@rmwc/base": "14.2.7",
"@rmwc/floating-label": "14.2.7",
"@rmwc/icon": "14.2.7",
"@rmwc/line-ripple": "14.2.7",
"@rmwc/notched-outline": "14.2.7",
"@rmwc/ripple": "14.2.7",
"@rmwc/types": "14.2.7"
}
}

@@ -85,8 +85,3 @@ # Text Fields

```jsx
<TextField
invalid
label="Invalid..."
value="#@!$"
onChange={() => {}}
/>
<TextField invalid label="Invalid..." value="#@!$" onChange={() => {}} />
```

@@ -116,2 +111,3 @@

## TextField
A TextField component for accepting text input from a user.

@@ -121,27 +117,25 @@

| Name | Type | Description |
|------|------|-------------|
| `align` | `"start" \| "end"` | How to align the text inside the TextField. Defaults to 'start'. |
| `characterCount` | `boolean` | Shows the character count, must be used in conjunction with maxLength. |
| `disabled` | `boolean` | Makes the Textfield disabled. |
| `floatLabel` | `boolean` | The label floats automatically based on value, but you can use this prop for manual control. |
| `foundationRef` | `Ref<null \| MDCTextFieldFoundation<>>` | Advanced: A reference to the MDCFoundation. |
| `fullwidth` | `boolean` | Makes the TextField fullwidth. |
| `helpText` | `ReactNode \| TextFieldHelperTextProps` | Adds help text to the field |
| `icon` | `IconPropT` | Add a leading icon. |
| `inputRef` | `Ref<null \| HTMLInputElement<> \| HTMLTextAreaElement<>>` | A reference to the native input or textarea. |
| `invalid` | `boolean` | Makes the TextField visually invalid. This is sometimes automatically applied in cases where required or pattern is used. |
| `label` | `ReactNode` | A label for the input. |
| `outlined` | `boolean` | Outline the TextField. |
| `prefix` | `string` | Add prefix. |
| `required` | `boolean` | Makes the Textfield required. |
| `resizeable` | `boolean` | Make textarea resizeable |
| `ripple` | `RipplePropT` | Adds a ripple effect to the component |
| `rootProps` | `Object` | By default, props spread to the input. These props are for the component's root container. |
| `suffix` | `string` | Add suffix. |
| `textarea` | `boolean` | Makes a multiline TextField. |
| `trailingIcon` | `IconPropT` | Add a trailing icon. |
| `type` | `string` | The type of input field to render, search, number, etc |
| `value` | `string \| number` | Sets the value for controlled TextFields. |
| Name | Type | Description |
| ---------------- | ---------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| `align` | `"start" \| "end"` | How to align the text inside the TextField. Defaults to 'start'. |
| `characterCount` | `boolean` | Shows the character count, must be used in conjunction with maxLength. |
| `disabled` | `boolean` | Makes the Textfield disabled. |
| `floatLabel` | `boolean` | The label floats automatically based on value, but you can use this prop for manual control. |
| `foundationRef` | `Ref<null \| MDCTextFieldFoundation<>>` | Advanced: A reference to the MDCFoundation. |
| `fullwidth` | `boolean` | Makes the TextField fullwidth. |
| `helpText` | `ReactNode \| TextFieldHelperTextProps` | Adds help text to the field |
| `icon` | `IconPropT` | Add a leading icon. |
| `inputRef` | `Ref<null \| HTMLInputElement<> \| HTMLTextAreaElement<>>` | A reference to the native input or textarea. |
| `invalid` | `boolean` | Makes the TextField visually invalid. This is sometimes automatically applied in cases where required or pattern is used. |
| `label` | `ReactNode` | A label for the input. |
| `outlined` | `boolean` | Outline the TextField. |
| `prefix` | `string` | Add prefix. |
| `required` | `boolean` | Makes the Textfield required. |
| `resizeable` | `boolean` | Make textarea resizeable |
| `ripple` | `RipplePropT` | Adds a ripple effect to the component |
| `rootProps` | `Object` | By default, props spread to the input. These props are for the component's root container. |
| `suffix` | `string` | Add suffix. |
| `textarea` | `boolean` | Makes a multiline TextField. |
| `trailingIcon` | `IconPropT` | Add a trailing icon. |
| `type` | `string` | The type of input field to render, search, number, etc |
| `value` | `string \| number` | Sets the value for controlled TextFields. |
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc