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.92 to 1.0.93

7

dist/cjs/SmartInput.d.ts

@@ -14,2 +14,9 @@ import { ICompletionResponse } from '@foundationui/react-hooks';

/**
* The completion mode to use. `typeahead` will show completions as you type, while `completion` will only show completions
* when you press "Ctrl+Space". `completion` is recommended for most use cases.
*
* Default: `completion`
*/
mode?: 'typeahead' | 'completion';
/**
* The ID of the user using the input. Providing this helps the model learn a particular user's style,

@@ -16,0 +23,0 @@ * including if they prefer not to use completions at all.

2

dist/cjs/useSmartInput.d.ts

@@ -8,2 +8,3 @@ import React from 'react';

value: string;
mode?: 'typeahead' | 'completion';
onAcceptCompletion?: (completion: ICompletionResponse) => void;

@@ -37,2 +38,3 @@ onShowCompletion?: (completion: ICompletionResponse) => void;

clearCompletion: () => void;
clearCache: () => void;
};

@@ -14,2 +14,9 @@ import { ICompletionResponse } from '@foundationui/react-hooks';

/**
* The completion mode to use. `typeahead` will show completions as you type, while `completion` will only show completions
* when you press "Ctrl+Space". `completion` is recommended for most use cases.
*
* Default: `completion`
*/
mode?: 'typeahead' | 'completion';
/**
* The ID of the user using the input. Providing this helps the model learn a particular user's style,

@@ -16,0 +23,0 @@ * including if they prefer not to use completions at all.

@@ -8,2 +8,3 @@ import React from 'react';

value: string;
mode?: 'typeahead' | 'completion';
onAcceptCompletion?: (completion: ICompletionResponse) => void;

@@ -37,2 +38,3 @@ onShowCompletion?: (completion: ICompletionResponse) => void;

clearCompletion: () => void;
clearCache: () => void;
};

@@ -157,2 +157,3 @@ import * as _foundationui_react_hooks from '@foundationui/react-hooks';

value: string;
mode?: 'typeahead' | 'completion';
onAcceptCompletion?: (completion: ICompletionResponse) => void;

@@ -186,2 +187,3 @@ onShowCompletion?: (completion: ICompletionResponse) => void;

clearCompletion: () => void;
clearCache: () => void;
};

@@ -199,2 +201,9 @@

/**
* The completion mode to use. `typeahead` will show completions as you type, while `completion` will only show completions
* when you press "Ctrl+Space". `completion` is recommended for most use cases.
*
* Default: `completion`
*/
mode?: 'typeahead' | 'completion';
/**
* The ID of the user using the input. Providing this helps the model learn a particular user's style,

@@ -201,0 +210,0 @@ * including if they prefer not to use completions at all.

@@ -14,2 +14,9 @@ import { ICompletionResponse } from '@foundationui/react-hooks';

/**
* The completion mode to use. `typeahead` will show completions as you type, while `completion` will only show completions
* when you press "Ctrl+Space". `completion` is recommended for most use cases.
*
* Default: `completion`
*/
mode?: 'typeahead' | 'completion';
/**
* The ID of the user using the input. Providing this helps the model learn a particular user's style,

@@ -16,0 +23,0 @@ * including if they prefer not to use completions at all.

@@ -8,2 +8,3 @@ import React from 'react';

value: string;
mode?: 'typeahead' | 'completion';
onAcceptCompletion?: (completion: ICompletionResponse) => void;

@@ -37,2 +38,3 @@ onShowCompletion?: (completion: ICompletionResponse) => void;

clearCompletion: () => void;
clearCache: () => void;
};

2

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

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

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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