@talkjs/react
Advanced tools
Comparing version 0.1.7-beta.0 to 0.1.7
import { CSSProperties } from 'react'; | ||
import { JSX } from 'react/jsx-runtime'; | ||
import { default as React_2 } from 'react'; | ||
import { ReactNode } from 'react'; | ||
@@ -11,7 +10,6 @@ import Talk from 'talkjs'; | ||
highlightedWords?: FirstParameter<Talk.Chatbox["setHighlightedWords"]>; | ||
chatboxRef?: React_2.MutableRefObject<Talk.Chatbox | undefined>; | ||
chatboxRef?: React.MutableRefObject<Talk.Chatbox | undefined>; | ||
loadingComponent?: ReactNode; | ||
style?: CSSProperties; | ||
className?: string; | ||
children?: React_2.ReactNode; | ||
}; | ||
@@ -37,21 +35,2 @@ | ||
export declare function HtmlPanel({ url, height, show, conversationId, children, }: HtmlPanelProps): JSX.Element; | ||
declare type HtmlPanelProps = { | ||
/** | ||
* The URL you want to load inside the HTML panel. The URL can be absolute or | ||
* relative. We recommend using same origin pages to have better control of | ||
* the page. Learn more about HTML Panels and same origin pages {@link https://talkjs.com/docs/Features/Customizations/HTML_Panels/ | here}. | ||
*/ | ||
url: string; | ||
/** The panel height in pixels. Defaults to `100px`. */ | ||
height?: number; | ||
/** Sets the visibility of the panel. Defaults to `true`. */ | ||
show?: boolean; | ||
/** If given, the panel will only show up for the conversation that has an `id` matching the one given. */ | ||
conversationId?: string; | ||
/** The content that gets rendered inside the `<body>` of the panel. */ | ||
children?: React.ReactNode; | ||
}; | ||
export declare function Inbox(props: InboxProps): JSX.Element; | ||
@@ -65,3 +44,2 @@ | ||
className?: string; | ||
children?: React.ReactNode; | ||
}; | ||
@@ -74,3 +52,3 @@ | ||
popupRef?: React.MutableRefObject<Talk.Popup | undefined>; | ||
children?: React.ReactNode; | ||
show?: boolean; | ||
}; | ||
@@ -77,0 +55,0 @@ |
@@ -31,3 +31,3 @@ { | ||
"homepage": "https://talkjs.com", | ||
"version": "0.1.7-beta.0", | ||
"version": "0.1.7", | ||
"type": "module", | ||
@@ -34,0 +34,0 @@ "files": [ |
@@ -113,3 +113,3 @@ # React components for TalkJS | ||
For more details and explanation, see our [getting started guide](https://talkjs.com/docs/Getting_Started/Frameworks/React/). | ||
For more details and explanation, see our [getting started guide](/Getting_Started/Frameworks/React/). | ||
@@ -116,0 +116,0 @@ ## Contributing |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
6
85279
1241