@appkit/dek-lib 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +49732 -24055
- package/dist/index.umd.js +49759 -24082
- package/dist/lib/utils/parsePropsForComponent.d.ts +1 -1
- package/dist/plugins/base/screens/dev/ComponentScreen/ComponentScreen.styled.d.ts +52 -0
- package/package.json +4 -1
- /package/dist/plugins/base/screens/dev/{ComponentScreen.d.ts → ComponentScreen/ComponentScreen.d.ts} +0 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import AceEditor from 'react-ace';
|
|
3
|
+
export declare const AceEditorStyled: import("styled-components").IStyledComponent<"web", {
|
|
4
|
+
name?: string | undefined;
|
|
5
|
+
style?: import("react").CSSProperties | undefined;
|
|
6
|
+
mode?: string | object | undefined;
|
|
7
|
+
theme?: string | undefined;
|
|
8
|
+
height?: string | undefined;
|
|
9
|
+
width?: string | undefined;
|
|
10
|
+
className?: string | undefined;
|
|
11
|
+
fontSize?: string | number | undefined;
|
|
12
|
+
showGutter?: boolean | undefined;
|
|
13
|
+
showPrintMargin?: boolean | undefined;
|
|
14
|
+
highlightActiveLine?: boolean | undefined;
|
|
15
|
+
focus?: boolean | undefined;
|
|
16
|
+
cursorStart?: number | undefined;
|
|
17
|
+
wrapEnabled?: boolean | undefined;
|
|
18
|
+
readOnly?: boolean | undefined;
|
|
19
|
+
minLines?: number | undefined;
|
|
20
|
+
maxLines?: number | undefined;
|
|
21
|
+
navigateToFileEnd?: boolean | undefined;
|
|
22
|
+
debounceChangePeriod?: number | undefined;
|
|
23
|
+
enableBasicAutocompletion?: boolean | string[] | undefined;
|
|
24
|
+
enableLiveAutocompletion?: boolean | string[] | undefined;
|
|
25
|
+
tabSize?: number | undefined;
|
|
26
|
+
value?: string | undefined;
|
|
27
|
+
placeholder?: string | undefined;
|
|
28
|
+
defaultValue?: string | undefined;
|
|
29
|
+
scrollMargin?: number[] | undefined;
|
|
30
|
+
enableSnippets?: boolean | undefined;
|
|
31
|
+
onSelectionChange?: ((value: any, event?: any) => void) | undefined;
|
|
32
|
+
onCursorChange?: ((value: any, event?: any) => void) | undefined;
|
|
33
|
+
onInput?: ((event?: any) => void) | undefined;
|
|
34
|
+
onLoad?: ((editor: import("ace-builds").Ace.Editor) => void) | undefined;
|
|
35
|
+
onValidate?: ((annotations: import("ace-builds").Ace.Annotation[]) => void) | undefined;
|
|
36
|
+
onBeforeLoad?: ((ace: typeof import("ace-builds")) => void) | undefined;
|
|
37
|
+
onChange?: ((value: string, event?: any) => void) | undefined;
|
|
38
|
+
onSelection?: ((selectedText: string, event?: any) => void) | undefined;
|
|
39
|
+
onCopy?: ((value: string) => void) | undefined;
|
|
40
|
+
onPaste?: ((value: string) => void) | undefined;
|
|
41
|
+
onFocus?: ((event: any, editor?: import("ace-builds").Ace.Editor | undefined) => void) | undefined;
|
|
42
|
+
onBlur?: ((event: any, editor?: import("ace-builds").Ace.Editor | undefined) => void) | undefined;
|
|
43
|
+
onScroll?: ((editor: import("react-ace").IEditorProps) => void) | undefined;
|
|
44
|
+
editorProps?: import("react-ace").IEditorProps | undefined;
|
|
45
|
+
setOptions?: import("react-ace").IAceOptions | undefined;
|
|
46
|
+
keyboardHandler?: string | undefined;
|
|
47
|
+
commands?: import("react-ace").ICommand[] | undefined;
|
|
48
|
+
annotations?: import("ace-builds").Ace.Annotation[] | undefined;
|
|
49
|
+
markers?: import("react-ace").IMarker[] | undefined;
|
|
50
|
+
ref?: import("react").Ref<AceEditor> | undefined;
|
|
51
|
+
key?: import("react").Key | null | undefined;
|
|
52
|
+
}> & typeof AceEditor;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appkit/dek-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "tsc && vite build",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@appkit/dek-plugin": "*",
|
|
14
14
|
"@appkit/dek-ui": "*",
|
|
15
|
+
"ace-builds": "^1.32.0",
|
|
15
16
|
"axios": "^1.6.2",
|
|
16
17
|
"buffer": "^6.0.3",
|
|
17
18
|
"eventemitter3": "^5.0.1",
|
|
@@ -19,11 +20,13 @@
|
|
|
19
20
|
"lodash": "^4.17.21",
|
|
20
21
|
"moment": "^2.29.4",
|
|
21
22
|
"react": "^16.8.0 || 17.x || 18.x",
|
|
23
|
+
"react-ace": "^10.1.0",
|
|
22
24
|
"react-dom": "^16.8.0 || 17.x || 18.x",
|
|
23
25
|
"react-icons": "^4.11.0",
|
|
24
26
|
"react-jsx-parser": "^1.29.0",
|
|
25
27
|
"react-transition-group": "^4.4.5",
|
|
26
28
|
"styled-components": "^5.0.0 || 6.x",
|
|
29
|
+
"usehooks-ts": "^2.9.1",
|
|
27
30
|
"valtio": "^1.11.3",
|
|
28
31
|
"vite-plugin-svgr": "^4.1.0",
|
|
29
32
|
"wouter": "^2.12.1"
|
/package/dist/plugins/base/screens/dev/{ComponentScreen.d.ts → ComponentScreen/ComponentScreen.d.ts}
RENAMED
|
File without changes
|