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
2
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.81 to 1.0.82

4

dist/cjs/SmartInput.d.ts

@@ -55,7 +55,7 @@ import React, { HTMLAttributes, MutableRefObject } from 'react';

/**
* Called when the input loses focus.
* Called when a non-empty completion is shown to the user.
*/
onShowCompletion?: (completion: string) => void;
/**
* Called when the input loses focus.
* Called when a non-empty completion is accepted by the user.
*/

@@ -62,0 +62,0 @@ onAcceptCompletion?: (completion: string) => void;

@@ -55,7 +55,7 @@ import React, { HTMLAttributes, MutableRefObject } from 'react';

/**
* Called when the input loses focus.
* Called when a non-empty completion is shown to the user.
*/
onShowCompletion?: (completion: string) => void;
/**
* Called when the input loses focus.
* Called when a non-empty completion is accepted by the user.
*/

@@ -62,0 +62,0 @@ onAcceptCompletion?: (completion: string) => void;

@@ -56,7 +56,7 @@ import React, { HTMLAttributes, MutableRefObject } from 'react';

/**
* Called when the input loses focus.
* Called when a non-empty completion is shown to the user.
*/
onShowCompletion?: (completion: string) => void;
/**
* Called when the input loses focus.
* Called when a non-empty completion is accepted by the user.
*/

@@ -63,0 +63,0 @@ onAcceptCompletion?: (completion: string) => void;

@@ -55,7 +55,7 @@ import React, { HTMLAttributes, MutableRefObject } from 'react';

/**
* Called when the input loses focus.
* Called when a non-empty completion is shown to the user.
*/
onShowCompletion?: (completion: string) => void;
/**
* Called when the input loses focus.
* Called when a non-empty completion is accepted by the user.
*/

@@ -62,0 +62,0 @@ onAcceptCompletion?: (completion: string) => void;

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

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

@@ -204,3 +204,3 @@ # `<SmartInput>`

#### `renderPlaceholder: undefined | (props: any) => React.ReactElement`
#### `renderPlaceholder: ((props: any) => React.ReactElement) | undefined`

@@ -229,2 +229,10 @@ Invoked to display placeholder text, returns a React element. You should use an inline display element (e.g. `span`) and spread props, like so:

#### `onShowCompletion: ((completion: string) => void) | undefined`
Called when a non-empty completion is shown to the user.
#### `onAcceptCompletion: ((completion: string) => void) | undefined`
Called when a non-empty completion is accepted by the user.
#### `onBlur: React.FocusEventHandler<HTMLElement> | undefined`

@@ -231,0 +239,0 @@

Sorry, the diff of this file is not supported yet

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