richlagetest
Advanced tools
Comparing version 0.0.0-45d5e22dad8d3eb392aaa8347ace78ce55cf5498 to 0.0.0-49640821c576bd88b74a27c444d880750f96f419
@@ -1,3 +0,4 @@ | ||
export * from 'ricos-common'; | ||
export { RicosViewer } from './RicosViewer'; | ||
import TextSelectionToolbar from './TextSelectionToolbar'; | ||
import TwitterButton from './TwitterButton'; | ||
export { TextSelectionToolbar, TwitterButton }; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -0,9 +1,22 @@ | ||
/// <reference types="lodash" /> | ||
import React from 'react'; | ||
import './textSelectionToolbarStyles.css'; | ||
interface Props { | ||
onButtonClick?: (pluginId: string, action: string, value: string) => void; | ||
export default class TextSelectionToolbar extends React.Component<{ | ||
container: HTMLElement; | ||
children: (string: any) => JSX.Element; | ||
}, { | ||
selectedText: string; | ||
selectedTextPosition?: { | ||
x: number; | ||
y: number; | ||
}; | ||
}> { | ||
constructor(props: any); | ||
removeTextSelectionListener: () => void | null; | ||
componentDidMount(): void; | ||
componentWillUnmount(): void; | ||
componentWillReceiveProps(nextPros: any): void; | ||
addTextSelectionListener: (container: any) => void; | ||
setSelectedText: import("lodash").DebouncedFunc<(selectedText: any, selectedTextPosition: any) => void>; | ||
render(): JSX.Element | null; | ||
} | ||
declare const SelectionToolbar: React.FC<Props>; | ||
export default SelectionToolbar; | ||
//# sourceMappingURL=TextSelectionToolbar.d.ts.map |
@@ -1,1 +0,1 @@ | ||
{"name":"richlagetest","version":"0.0.0-45d5e22dad8d3eb392aaa8347ace78ce55cf5498"} | ||
{"name":"richlagetest","version":"0.0.0-49640821c576bd88b74a27c444d880750f96f419"} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
3
1
35527
17
78