-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UI: text editor - add an input to hide specific text (WEKAPP-373373) (#…
…90)
- Loading branch information
1 parent
3ff39f3
commit f00d2c3
Showing
41 changed files
with
2,202 additions
and
1,894 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
dist/cjs/types/components/TextEditor/components/HideContentInput/HideContentInput.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/// <reference types="react" /> | ||
import './hideContentInput.scss'; | ||
interface HideContentInputProps { | ||
wrapperClass?: string; | ||
} | ||
declare function HideContentInput(props: HideContentInputProps): JSX.Element; | ||
export default HideContentInput; |
1 change: 1 addition & 0 deletions
1
dist/cjs/types/components/TextEditor/components/HideContentInput/index.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default as HideContentInput } from './HideContentInput'; |
6 changes: 4 additions & 2 deletions
6
dist/cjs/types/components/TextEditor/components/TextEditorFull/hooks/index.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
export { default as useLinePosition } from './useLinePosition'; | ||
export { default as useTags } from './useTags'; | ||
export type * from './useTags'; | ||
export { default as useForcedLineNumbers } from './useForcedLineNumbers'; | ||
export type * from './useForcedLineNumbers'; | ||
export { default as useSearch } from './useSearch'; | ||
export { default as useOnlyMatching } from './useOnlyMatching'; | ||
export type * from './useOnlyMatching'; | ||
export { default as useFoldAll } from './useFoldAll'; | ||
export { default as useEditor } from './useEditor'; | ||
export { default as useHideContent } from './useHideContent'; | ||
export { default as useDisableSyntaxCheck } from './useDisableSyntaxCheck'; |
5 changes: 5 additions & 0 deletions
5
...js/types/components/TextEditor/components/TextEditorFull/hooks/useDisableSyntaxCheck.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { IAceEditor } from 'react-ace/lib/types'; | ||
declare function useDisableSyntaxCheck({ editor }: { | ||
editor?: IAceEditor; | ||
}): void; | ||
export default useDisableSyntaxCheck; |
10 changes: 10 additions & 0 deletions
10
...cjs/types/components/TextEditor/components/TextEditorFull/hooks/useForcedLineNumbers.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { IAceEditor } from 'react-ace/lib/types'; | ||
declare function useForcedLineNumbers({ editor, value, lines }: { | ||
editor?: IAceEditor; | ||
value: string; | ||
lines?: { | ||
number: string; | ||
text: string; | ||
}[]; | ||
}): void; | ||
export default useForcedLineNumbers; |
4 changes: 4 additions & 0 deletions
4
dist/cjs/types/components/TextEditor/components/TextEditorFull/hooks/useHideContent.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
declare function useHideContent({ value }: { | ||
value?: string; | ||
}): string | undefined; | ||
export default useHideContent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
declare function useLinesCount({ value, lines }: { | ||
declare function useLinesCount({ value, lines, filteredValue }: { | ||
value?: string; | ||
lines?: { | ||
number: string; | ||
text: string; | ||
}[]; | ||
filteredValue?: string; | ||
}): void; | ||
export default useLinesCount; |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
dist/esm/types/components/TextEditor/components/HideContentInput/HideContentInput.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/// <reference types="react" /> | ||
import './hideContentInput.scss'; | ||
interface HideContentInputProps { | ||
wrapperClass?: string; | ||
} | ||
declare function HideContentInput(props: HideContentInputProps): JSX.Element; | ||
export default HideContentInput; |
1 change: 1 addition & 0 deletions
1
dist/esm/types/components/TextEditor/components/HideContentInput/index.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default as HideContentInput } from './HideContentInput'; |
6 changes: 4 additions & 2 deletions
6
dist/esm/types/components/TextEditor/components/TextEditorFull/hooks/index.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
export { default as useLinePosition } from './useLinePosition'; | ||
export { default as useTags } from './useTags'; | ||
export type * from './useTags'; | ||
export { default as useForcedLineNumbers } from './useForcedLineNumbers'; | ||
export type * from './useForcedLineNumbers'; | ||
export { default as useSearch } from './useSearch'; | ||
export { default as useOnlyMatching } from './useOnlyMatching'; | ||
export type * from './useOnlyMatching'; | ||
export { default as useFoldAll } from './useFoldAll'; | ||
export { default as useEditor } from './useEditor'; | ||
export { default as useHideContent } from './useHideContent'; | ||
export { default as useDisableSyntaxCheck } from './useDisableSyntaxCheck'; |
5 changes: 5 additions & 0 deletions
5
...sm/types/components/TextEditor/components/TextEditorFull/hooks/useDisableSyntaxCheck.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { IAceEditor } from 'react-ace/lib/types'; | ||
declare function useDisableSyntaxCheck({ editor }: { | ||
editor?: IAceEditor; | ||
}): void; | ||
export default useDisableSyntaxCheck; |
10 changes: 10 additions & 0 deletions
10
...esm/types/components/TextEditor/components/TextEditorFull/hooks/useForcedLineNumbers.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { IAceEditor } from 'react-ace/lib/types'; | ||
declare function useForcedLineNumbers({ editor, value, lines }: { | ||
editor?: IAceEditor; | ||
value: string; | ||
lines?: { | ||
number: string; | ||
text: string; | ||
}[]; | ||
}): void; | ||
export default useForcedLineNumbers; |
4 changes: 4 additions & 0 deletions
4
dist/esm/types/components/TextEditor/components/TextEditorFull/hooks/useHideContent.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
declare function useHideContent({ value }: { | ||
value?: string; | ||
}): string | undefined; | ||
export default useHideContent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
declare function useLinesCount({ value, lines }: { | ||
declare function useLinesCount({ value, lines, filteredValue }: { | ||
value?: string; | ||
lines?: { | ||
number: string; | ||
text: string; | ||
}[]; | ||
filteredValue?: string; | ||
}): void; | ||
export default useLinesCount; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.