@melloware/react-logviewer
Advanced tools
Comparing version 6.0.1 to 6.0.2
@@ -250,2 +250,6 @@ import { List } from "immutable"; | ||
/** | ||
* Minimum number of characters to trigger a search. Defaults to 2. | ||
*/ | ||
searchMinCharacters?: number; | ||
/** | ||
* Make the text selectable, allowing to copy & paste. Defaults to `false`. | ||
@@ -252,0 +256,0 @@ */ |
@@ -10,3 +10,3 @@ import React, { CSSProperties, Component, ReactNode } from "react"; | ||
link?: boolean; | ||
text: string; | ||
text?: string; | ||
wrapLine?: boolean; | ||
@@ -13,0 +13,0 @@ [key: string]: any; |
@@ -67,2 +67,6 @@ import React, { Component, RefObject } from "react"; | ||
resultsCount?: number | undefined; | ||
/** | ||
* Minimum number of characters to trigger a search. Defaults to 2. | ||
*/ | ||
searchMinCharacters?: number; | ||
} | ||
@@ -74,10 +78,11 @@ type SearchBarState = { | ||
static defaultProps: { | ||
onSearch: () => void; | ||
currentResultsPosition: number; | ||
disabled: boolean; | ||
enableHotKeys: boolean; | ||
filterActive: boolean; | ||
onClearSearch: () => void; | ||
onFilterLinesWithMatches: () => void; | ||
onSearch: () => void; | ||
resultsCount: number; | ||
filterActive: boolean; | ||
disabled: boolean; | ||
enableHotKeys: boolean; | ||
currentResultsPosition: number; | ||
searchMinCharacters: number; | ||
}; | ||
@@ -84,0 +89,0 @@ state: SearchBarState; |
@@ -6,3 +6,2 @@ import { List } from "immutable"; | ||
export declare const SEARCH_BAR_HEIGHT = 45; | ||
export declare const SEARCH_MIN_KEYWORDS = 2; | ||
export declare const isNewline: (current: number) => boolean; | ||
@@ -9,0 +8,0 @@ export declare const getScrollIndex: ({ follow, scrollToLine, previousCount, count, offset, }: { |
@@ -250,2 +250,6 @@ import { List } from "immutable"; | ||
/** | ||
* Minimum number of characters to trigger a search. Defaults to 2. | ||
*/ | ||
searchMinCharacters?: number; | ||
/** | ||
* Make the text selectable, allowing to copy & paste. Defaults to `false`. | ||
@@ -252,0 +256,0 @@ */ |
@@ -10,3 +10,3 @@ import React, { CSSProperties, Component, ReactNode } from "react"; | ||
link?: boolean; | ||
text: string; | ||
text?: string; | ||
wrapLine?: boolean; | ||
@@ -13,0 +13,0 @@ [key: string]: any; |
@@ -67,2 +67,6 @@ import React, { Component, RefObject } from "react"; | ||
resultsCount?: number | undefined; | ||
/** | ||
* Minimum number of characters to trigger a search. Defaults to 2. | ||
*/ | ||
searchMinCharacters?: number; | ||
} | ||
@@ -74,10 +78,11 @@ type SearchBarState = { | ||
static defaultProps: { | ||
onSearch: () => void; | ||
currentResultsPosition: number; | ||
disabled: boolean; | ||
enableHotKeys: boolean; | ||
filterActive: boolean; | ||
onClearSearch: () => void; | ||
onFilterLinesWithMatches: () => void; | ||
onSearch: () => void; | ||
resultsCount: number; | ||
filterActive: boolean; | ||
disabled: boolean; | ||
enableHotKeys: boolean; | ||
currentResultsPosition: number; | ||
searchMinCharacters: number; | ||
}; | ||
@@ -84,0 +89,0 @@ state: SearchBarState; |
@@ -6,3 +6,2 @@ import { List } from "immutable"; | ||
export declare const SEARCH_BAR_HEIGHT = 45; | ||
export declare const SEARCH_MIN_KEYWORDS = 2; | ||
export declare const isNewline: (current: number) => boolean; | ||
@@ -9,0 +8,0 @@ export declare const getScrollIndex: ({ follow, scrollToLine, previousCount, count, offset, }: { |
@@ -72,2 +72,6 @@ import * as mitt from 'mitt'; | ||
resultsCount?: number | undefined; | ||
/** | ||
* Minimum number of characters to trigger a search. Defaults to 2. | ||
*/ | ||
searchMinCharacters?: number; | ||
} | ||
@@ -79,10 +83,11 @@ type SearchBarState = { | ||
static defaultProps: { | ||
onSearch: () => void; | ||
currentResultsPosition: number; | ||
disabled: boolean; | ||
enableHotKeys: boolean; | ||
filterActive: boolean; | ||
onClearSearch: () => void; | ||
onFilterLinesWithMatches: () => void; | ||
onSearch: () => void; | ||
resultsCount: number; | ||
filterActive: boolean; | ||
disabled: boolean; | ||
enableHotKeys: boolean; | ||
currentResultsPosition: number; | ||
searchMinCharacters: number; | ||
}; | ||
@@ -347,2 +352,6 @@ state: SearchBarState; | ||
/** | ||
* Minimum number of characters to trigger a search. Defaults to 2. | ||
*/ | ||
searchMinCharacters?: number; | ||
/** | ||
* Make the text selectable, allowing to copy & paste. Defaults to `false`. | ||
@@ -625,3 +634,3 @@ */ | ||
link?: boolean; | ||
text: string; | ||
text?: string; | ||
wrapLine?: boolean; | ||
@@ -628,0 +637,0 @@ [key: string]: any; |
{ | ||
"name": "@melloware/react-logviewer", | ||
"version": "6.0.1", | ||
"version": "6.0.2", | ||
"description": "React Lazy LogViewer", | ||
@@ -68,11 +68,11 @@ "keywords": [ | ||
"eslint-plugin-storybook": "^0.11.0", | ||
"msw": "^2.6.3", | ||
"msw": "^2.6.4", | ||
"msw-storybook-addon": "^2.0.4", | ||
"prop-types": "^15.8.1", | ||
"rimraf": "^6.0.1", | ||
"rollup": "2.79.1", | ||
"rollup": "^2.79.2", | ||
"rollup-plugin-dts": "4.2.3", | ||
"rollup-plugin-postcss": "^4.0.2", | ||
"storybook": "^8.4.2", | ||
"vite": "^5.4.10" | ||
"vite": "^5.4.11" | ||
}, | ||
@@ -79,0 +79,0 @@ "peerDependencies": { |
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
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1945485
100
20967