@expensify/react-native-live-markdown 0.1.249 → 0.1.251
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/android/src/main/new_arch/MarkdownCommitHook.cpp +2 -0
- package/android/src/main/new_arch/MarkdownCommitHook.h +2 -0
- package/android/src/main/new_arch/NativeProxy.cpp +2 -0
- package/android/src/main/new_arch/NativeProxy.h +2 -0
- package/android/src/main/new_arch/OnLoad.cpp +1 -1
- package/lib/typescript/mock/index.d.ts +2 -1
- package/lib/typescript/mock/index.d.ts.map +1 -1
- package/mock/index.ts +3 -1
- package/package.json +1 -1
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
using namespace facebook;
|
|
10
10
|
using namespace react;
|
|
11
11
|
|
|
12
|
+
namespace expensify {
|
|
12
13
|
namespace livemarkdown {
|
|
13
14
|
|
|
14
15
|
MarkdownCommitHook::MarkdownCommitHook(
|
|
@@ -188,3 +189,4 @@ RootShadowNode::Unshared MarkdownCommitHook::shadowTreeWillCommit(
|
|
|
188
189
|
}
|
|
189
190
|
|
|
190
191
|
} // namespace livemarkdown
|
|
192
|
+
} // namespace expensify
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
using namespace facebook;
|
|
16
16
|
using namespace react;
|
|
17
17
|
|
|
18
|
+
namespace expensify {
|
|
18
19
|
namespace livemarkdown {
|
|
19
20
|
|
|
20
21
|
struct MarkdownTextInputDecoratorPair {
|
|
@@ -54,3 +55,4 @@ private:
|
|
|
54
55
|
};
|
|
55
56
|
|
|
56
57
|
} // namespace livemarkdown
|
|
58
|
+
} // namespace expensify
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
#include "NativeProxy.h"
|
|
8
8
|
|
|
9
|
+
namespace expensify {
|
|
9
10
|
namespace livemarkdown {
|
|
10
11
|
|
|
11
12
|
using namespace facebook;
|
|
@@ -36,3 +37,4 @@ NativeProxy::initHybrid(jni::alias_ref<jhybridobject> jThis) {
|
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
} // namespace livemarkdown
|
|
40
|
+
} // namespace expensify
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MarkdownTextInput } from '../src';
|
|
2
2
|
import type { parseExpensiMark } from '../src';
|
|
3
3
|
declare const parseExpensiMarkMock: typeof parseExpensiMark;
|
|
4
|
-
|
|
4
|
+
declare const getWorkletRuntimeMock: () => {};
|
|
5
|
+
export { MarkdownTextInput, parseExpensiMarkMock as parseExpensiMark, getWorkletRuntimeMock as getWorkletRuntime };
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../mock/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,QAAQ,CAAC;AACzC,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,QAAQ,CAAC;AAM7C,QAAA,MAAM,oBAAoB,EAAE,OAAO,gBAIlC,CAAC;AAEF,OAAO,EAAC,iBAAiB,EAAE,oBAAoB,IAAI,gBAAgB,EAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../mock/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,QAAQ,CAAC;AACzC,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,QAAQ,CAAC;AAM7C,QAAA,MAAM,oBAAoB,EAAE,OAAO,gBAIlC,CAAC;AAEF,QAAA,MAAM,qBAAqB,UAAa,CAAC;AAEzC,OAAO,EAAC,iBAAiB,EAAE,oBAAoB,IAAI,gBAAgB,EAAE,qBAAqB,IAAI,iBAAiB,EAAC,CAAC"}
|
package/mock/index.ts
CHANGED
|
@@ -11,4 +11,6 @@ const parseExpensiMarkMock: typeof parseExpensiMark = () => {
|
|
|
11
11
|
return [];
|
|
12
12
|
};
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
const getWorkletRuntimeMock = () => ({});
|
|
15
|
+
|
|
16
|
+
export {MarkdownTextInput, parseExpensiMarkMock as parseExpensiMark, getWorkletRuntimeMock as getWorkletRuntime};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expensify/react-native-live-markdown",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.251",
|
|
4
4
|
"description": "Drop-in replacement for React Native's TextInput component with Markdown formatting.",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|