From c45c720c3a1d4c7c3602956195a428aa3248f43e Mon Sep 17 00:00:00 2001 From: OSBotify Date: Mon, 7 Oct 2024 06:37:12 +0000 Subject: [PATCH 1/3] Bump version to 0.1.167 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c33bbaff..78cfb7c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@expensify/react-native-live-markdown", - "version": "0.1.166", + "version": "0.1.167", "description": "Drop-in replacement for React Native's TextInput component with Markdown formatting.", "main": "lib/commonjs/index", "module": "lib/module/index", From e81fe7edac9cb887042e0035f457cc0e492cd27f Mon Sep 17 00:00:00 2001 From: Dominic <165644294+dominictb@users.noreply.github.com> Date: Mon, 7 Oct 2024 15:12:44 +0700 Subject: [PATCH 2/3] feat: support maxLength prop in web (#505) --- example/ios/Podfile.lock | 10 +++++----- example/src/App.tsx | 1 + src/MarkdownTextInput.web.tsx | 30 ++++++++++++++++++++++-------- 3 files changed, 28 insertions(+), 13 deletions(-) diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 60627abb..830e99b8 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1497,7 +1497,7 @@ PODS: - React-logger (= 0.75.2) - React-perflogger (= 0.75.2) - React-utils (= 0.75.2) - - RNLiveMarkdown (0.1.160): + - RNLiveMarkdown (0.1.162): - DoubleConversion - glog - hermes-engine @@ -1517,9 +1517,9 @@ PODS: - ReactCodegen - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core - - RNLiveMarkdown/newarch (= 0.1.160) + - RNLiveMarkdown/newarch (= 0.1.162) - Yoga - - RNLiveMarkdown/newarch (0.1.160): + - RNLiveMarkdown/newarch (0.1.162): - DoubleConversion - glog - hermes-engine @@ -1805,9 +1805,9 @@ SPEC CHECKSUMS: React-utils: 81a715d9c0a2a49047e77a86f3a2247408540deb ReactCodegen: 60973d382704c793c605b9be0fc7f31cb279442f ReactCommon: 6ef348087d250257c44c0204461c03f036650e9b - RNLiveMarkdown: 201e1457f83d07376ae08c918c8ad14e3078d5a0 + RNLiveMarkdown: 3071652e4e2b5a57cb647cfe5c76c392e58a98b3 SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d - Yoga: 2a45d7e59592db061217551fd3bbe2dd993817ae + Yoga: a1d7895431387402a674fd0d1c04ec85e87909b8 PODFILE CHECKSUM: 9b81b0f7bfba9e6fb4fa10efe8319f7860794e08 diff --git a/example/src/App.tsx b/example/src/App.tsx index 7e29fee9..d3d63426 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -49,6 +49,7 @@ export default function App() { onSelectionChange={e => setSelection(e.nativeEvent.selection)} selection={selection} id={TEST_CONST.INPUT_ID} + maxLength={30000} /> {JSON.stringify(value)}