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

@types/webscopeio__react-textarea-autocomplete

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/webscopeio__react-textarea-autocomplete - npm Package Compare versions

Comparing version 4.7.0 to 4.7.1

62

webscopeio__react-textarea-autocomplete/index.d.ts

@@ -19,3 +19,3 @@ // Type definitions for @webscopeio/react-textarea-autocomplete 4.7

caretPosition: CaretPositionType;
key?: string;
key?: string | undefined;
}

@@ -48,3 +48,3 @@

*/
allowWhitespace?: boolean;
allowWhitespace?: boolean | undefined;

@@ -55,3 +55,3 @@ /**

*/
afterWhitespace?: boolean;
afterWhitespace?: boolean | undefined;

@@ -71,3 +71,3 @@ /**

*/
output?: (item: TItem, trigger?: string) => TextToReplaceType | string;
output?: ((item: TItem, trigger?: string) => TextToReplaceType | string) | undefined;
}

@@ -96,3 +96,3 @@

*/
innerRef?: (ref: HTMLTextAreaElement) => void;
innerRef?: ((ref: HTMLTextAreaElement) => void) | undefined;

@@ -103,3 +103,3 @@ /**

*/
scrollToItem?: boolean | ((container: HTMLDivElement, item: HTMLDivElement) => void);
scrollToItem?: boolean | ((container: HTMLDivElement, item: HTMLDivElement) => void) | undefined;

@@ -110,3 +110,3 @@ /**

*/
minChar?: number;
minChar?: number | undefined;

@@ -117,3 +117,3 @@ /**

*/
onCaretPositionChange?: (pos: number) => void;
onCaretPositionChange?: ((pos: number) => void) | undefined;

@@ -124,3 +124,3 @@ /**

*/
movePopupAsYouType?: boolean;
movePopupAsYouType?: boolean | undefined;

@@ -130,3 +130,3 @@ /**

*/
boundariesElement?: string | HTMLElement;
boundariesElement?: string | HTMLElement | undefined;

@@ -136,3 +136,3 @@ /**

*/
textAreaComponent?: Component<CustomTextAreaProps> | { component: Component<CustomTextAreaProps>; ref: string };
textAreaComponent?: Component<CustomTextAreaProps> | { component: Component<CustomTextAreaProps>; ref: string } | undefined;

@@ -143,3 +143,3 @@ /**

*/
renderToBody?: boolean;
renderToBody?: boolean | undefined;

@@ -149,3 +149,3 @@ /**

*/
onItemHighlighted?: (event: { currentTrigger: string; item: TItem | null }) => void;
onItemHighlighted?: ((event: { currentTrigger: string; item: TItem | null }) => void) | undefined;

@@ -155,3 +155,3 @@ /**

*/
onItemSelected?: (event: { currentTrigger: string; item: TItem }) => void;
onItemSelected?: ((event: { currentTrigger: string; item: TItem }) => void) | undefined;

@@ -161,3 +161,3 @@ /**

*/
style?: React.CSSProperties;
style?: React.CSSProperties | undefined;

@@ -167,3 +167,3 @@ /**

*/
listStyle?: React.CSSProperties;
listStyle?: React.CSSProperties | undefined;

@@ -173,3 +173,3 @@ /**

*/
itemStyle?: React.CSSProperties;
itemStyle?: React.CSSProperties | undefined;

@@ -179,3 +179,3 @@ /**

*/
loaderStyle?: React.CSSProperties;
loaderStyle?: React.CSSProperties | undefined;

@@ -185,3 +185,3 @@ /**

*/
containerStyle?: React.CSSProperties;
containerStyle?: React.CSSProperties | undefined;

@@ -191,3 +191,3 @@ /**

*/
dropdownStyle?: React.CSSProperties;
dropdownStyle?: React.CSSProperties | undefined;

@@ -197,3 +197,3 @@ /**

*/
className?: string;
className?: string | undefined;

@@ -203,3 +203,3 @@ /**

*/
containerClassName?: string;
containerClassName?: string | undefined;

@@ -209,3 +209,3 @@ /**

*/
listClassName?: string;
listClassName?: string | undefined;

@@ -215,3 +215,3 @@ /**

*/
itemClassName?: string;
itemClassName?: string | undefined;

@@ -221,3 +221,3 @@ /**

*/
loaderClassName?: string;
loaderClassName?: string | undefined;

@@ -227,11 +227,11 @@ /**

*/
dropdownClassName?: string;
dropdownClassName?: string | undefined;
};
export interface TextareaState<TItem> {
currentTrigger?: string;
top?: number;
left?: number;
currentTrigger?: string | undefined;
top?: number | undefined;
left?: number | undefined;
actualToken: string;
data?: TItem[];
data?: TItem[] | undefined;
value: string;

@@ -241,3 +241,3 @@ dataLoading: boolean;

selectionStart: number;
component?: React.SFC<ItemComponentProps<TItem>>;
component?: React.SFC<ItemComponentProps<TItem>> | undefined;
}

@@ -244,0 +244,0 @@

{
"name": "@types/webscopeio__react-textarea-autocomplete",
"version": "4.7.0",
"version": "4.7.1",
"description": "TypeScript definitions for @webscopeio/react-textarea-autocomplete",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webscopeio__react-textarea-autocomplete",
"license": "MIT",

@@ -24,4 +25,4 @@ "contributors": [

},
"typesPublisherContentHash": "c4e5b0b5759c76ce030d475c030f45d8fe9eb8840377895e9cae99bf79c7d565",
"typeScriptVersion": "3.5"
"typesPublisherContentHash": "adcaf4a1b8477c58a8c26f65a62168ad66f79dcbce1c454bbe334c8743ffef1c",
"typeScriptVersion": "3.6"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Tue, 30 Mar 2021 13:01:11 GMT
* Last updated: Fri, 02 Jul 2021 18:05:34 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)

@@ -14,0 +14,0 @@ * Global values: `ReactTextareaAutocomplete`

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