@expcat/tigercat-react 2.0.4 → 2.0.19
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.
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
handleTabKey,
|
|
12
12
|
getActiveLineIndex,
|
|
13
13
|
getCodeEditorActiveLineClasses,
|
|
14
|
+
getCodeEditorCaretClasses,
|
|
14
15
|
codeEditorTextareaClasses,
|
|
15
16
|
codeEditorHighlightClasses
|
|
16
17
|
} from "@expcat/tigercat-core";
|
|
@@ -144,7 +145,11 @@ var CodeEditor = ({
|
|
|
144
145
|
"textarea",
|
|
145
146
|
{
|
|
146
147
|
ref: textareaRef,
|
|
147
|
-
className: classNames(
|
|
148
|
+
className: classNames(
|
|
149
|
+
codeEditorTextareaClasses,
|
|
150
|
+
getCodeEditorCaretClasses(theme),
|
|
151
|
+
wrapClass
|
|
152
|
+
),
|
|
148
153
|
value: code,
|
|
149
154
|
onChange: handleInput,
|
|
150
155
|
onKeyDown: handleKeyDown,
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expcat/tigercat-react",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.19",
|
|
4
4
|
"description": "React components for Tigercat UI library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Yizhe Wang",
|
|
@@ -782,7 +782,7 @@
|
|
|
782
782
|
"access": "public"
|
|
783
783
|
},
|
|
784
784
|
"dependencies": {
|
|
785
|
-
"@expcat/tigercat-core": "2.0.
|
|
785
|
+
"@expcat/tigercat-core": "2.0.19"
|
|
786
786
|
},
|
|
787
787
|
"devDependencies": {
|
|
788
788
|
"@types/node": "^26.1.1",
|