New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@foundationui/smart-input

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@foundationui/smart-input - npm Package Compare versions

Comparing version 1.0.45 to 1.0.46

2

package.json
{
"name": "@foundationui/smart-input",
"version": "1.0.45",
"version": "1.0.46",
"description": "Smart input/textarea component for React. Learns to provide inline, tab-completeable suggestions.",

@@ -5,0 +5,0 @@ "type": "module",

@@ -27,5 +27,5 @@ # `<SmartInput>`

- [CSS: tailwind](https://jsbin.com/difibux/edit?html,js,output)
- [CSS-in-JS: inline styles](https://jsbin.com/qebozab/edit?html,js,output)
- [CSS-in-JS: styled components](https://jsbin.com/faperes/edit?html,js,output)
- [Tailwind](https://jsbin.com/difibux/edit?html,js,output)
- [inline styles](https://jsbin.com/qebozab/edit?html,js,output)
- [styled-components](https://jsbin.com/faperes/edit?html,js,output)

@@ -52,3 +52,3 @@ ## Install

The identifier of your model. Can be shared across different inputs, or unique per input.
The identifier of your model. Can be shared across different inputs, or unique per input. If you don't specify one, sample completions will be generated.

@@ -77,3 +77,3 @@ #### `value: String`

#### `renderSuggestion: Function`
#### `renderCompletion: Function`

@@ -85,3 +85,3 @@ Arguments: `props: Any`

```jsx
renderSuggestion={props => <span {...props} />}
renderCompletion={props => <span {...props} />}
```

@@ -91,6 +91,2 @@

#### `className: string` (optional)
Class name for the SmartInput wrapper div.
#### `multiline: Boolean` (optional)

@@ -116,4 +112,17 @@

#### `disabled: Boolean` (optional)
Whether the input is editable. If true, the input is read-only.
#### `safeMode: Boolean` (optional)
Whether to run in safe mode. In safe mode, no completions will be generated or request to the user, but your input will still collect
data to learn to generate comlpetions.
#### `className: string` (optional)
Class name for the SmartInput wrapper div.
#### `style: React.CSSProperties` (optional)
Standard React CSS style property, applied to SmartInput wrapper div.
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