react-native 0.67.2 → 0.67.3
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/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Text/TextInput/Multiline/RCTUITextView.m +1 -29
- package/Libraries/Text/TextInput/RCTBaseTextInputView.m +2 -0
- package/React/Base/RCTVersion.m +1 -1
- package/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm +4 -2
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextShadowNode.java +0 -5
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/android/com/facebook/react/react-native/{0.67.2/react-native-0.67.2.aar → 0.67.3/react-native-0.67.3.aar} +0 -0
- package/android/com/facebook/react/react-native/0.67.3/react-native-0.67.3.aar.md5 +1 -0
- package/android/com/facebook/react/react-native/0.67.3/react-native-0.67.3.aar.sha1 +1 -0
- package/android/com/facebook/react/react-native/0.67.3/react-native-0.67.3.aar.sha256 +1 -0
- package/android/com/facebook/react/react-native/0.67.3/react-native-0.67.3.aar.sha512 +1 -0
- package/android/com/facebook/react/react-native/{0.67.2/react-native-0.67.2.module → 0.67.3/react-native-0.67.3.module} +15 -15
- package/android/com/facebook/react/react-native/0.67.3/react-native-0.67.3.module.md5 +1 -0
- package/android/com/facebook/react/react-native/0.67.3/react-native-0.67.3.module.sha1 +1 -0
- package/android/com/facebook/react/react-native/0.67.3/react-native-0.67.3.module.sha256 +1 -0
- package/android/com/facebook/react/react-native/0.67.3/react-native-0.67.3.module.sha512 +1 -0
- package/android/com/facebook/react/react-native/{0.67.2/react-native-0.67.2.pom → 0.67.3/react-native-0.67.3.pom} +1 -1
- package/android/com/facebook/react/react-native/0.67.3/react-native-0.67.3.pom.md5 +1 -0
- package/android/com/facebook/react/react-native/0.67.3/react-native-0.67.3.pom.sha1 +1 -0
- package/android/com/facebook/react/react-native/0.67.3/react-native-0.67.3.pom.sha256 +1 -0
- package/android/com/facebook/react/react-native/0.67.3/react-native-0.67.3.pom.sha512 +1 -0
- package/android/com/facebook/react/react-native/maven-metadata.xml +4 -4
- package/android/com/facebook/react/react-native/maven-metadata.xml.md5 +1 -1
- package/android/com/facebook/react/react-native/maven-metadata.xml.sha1 +1 -1
- package/android/com/facebook/react/react-native/maven-metadata.xml.sha256 +1 -1
- package/android/com/facebook/react/react-native/maven-metadata.xml.sha512 +1 -1
- package/package.json +1 -1
- package/template/Gemfile.lock +2 -2
- package/template/package.json +1 -1
- package/android/com/facebook/react/react-native/0.67.2/react-native-0.67.2.aar.md5 +0 -1
- package/android/com/facebook/react/react-native/0.67.2/react-native-0.67.2.aar.sha1 +0 -1
- package/android/com/facebook/react/react-native/0.67.2/react-native-0.67.2.aar.sha256 +0 -1
- package/android/com/facebook/react/react-native/0.67.2/react-native-0.67.2.aar.sha512 +0 -1
- package/android/com/facebook/react/react-native/0.67.2/react-native-0.67.2.module.md5 +0 -1
- package/android/com/facebook/react/react-native/0.67.2/react-native-0.67.2.module.sha1 +0 -1
- package/android/com/facebook/react/react-native/0.67.2/react-native-0.67.2.module.sha256 +0 -1
- package/android/com/facebook/react/react-native/0.67.2/react-native-0.67.2.module.sha512 +0 -1
- package/android/com/facebook/react/react-native/0.67.2/react-native-0.67.2.pom.md5 +0 -1
- package/android/com/facebook/react/react-native/0.67.2/react-native-0.67.2.pom.sha1 +0 -1
- package/android/com/facebook/react/react-native/0.67.2/react-native-0.67.2.pom.sha256 +0 -1
- package/android/com/facebook/react/react-native/0.67.2/react-native-0.67.2.pom.sha512 +0 -1
|
@@ -147,21 +147,7 @@ static UIColor *defaultPlaceholderColor()
|
|
|
147
147
|
|
|
148
148
|
- (void)setAttributedText:(NSAttributedString *)attributedText
|
|
149
149
|
{
|
|
150
|
-
|
|
151
|
-
// when entering complex input languages such as Chinese, Korean or Japanese.
|
|
152
|
-
// see: https://github.com/facebook/react-native/issues/19339
|
|
153
|
-
|
|
154
|
-
// We try to avoid calling this method as much as we can.
|
|
155
|
-
// If the text has changed, there is nothing we can do.
|
|
156
|
-
if (![super.attributedText.string isEqualToString:attributedText.string]) {
|
|
157
|
-
[super setAttributedText:attributedText];
|
|
158
|
-
} else {
|
|
159
|
-
// But if the text is preserved, we just copying the attributes from the source string.
|
|
160
|
-
if (![super.attributedText isEqualToAttributedString:attributedText]) {
|
|
161
|
-
[self copyTextAttributesFrom:attributedText];
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
150
|
+
[super setAttributedText:attributedText];
|
|
165
151
|
[self textDidChange];
|
|
166
152
|
}
|
|
167
153
|
|
|
@@ -311,18 +297,4 @@ static UIColor *defaultPlaceholderColor()
|
|
|
311
297
|
|
|
312
298
|
#pragma mark - Utility Methods
|
|
313
299
|
|
|
314
|
-
- (void)copyTextAttributesFrom:(NSAttributedString *)sourceString
|
|
315
|
-
{
|
|
316
|
-
[self.textStorage beginEditing];
|
|
317
|
-
|
|
318
|
-
NSTextStorage *textStorage = self.textStorage;
|
|
319
|
-
[sourceString enumerateAttributesInRange:NSMakeRange(0, sourceString.length)
|
|
320
|
-
options:NSAttributedStringEnumerationReverse
|
|
321
|
-
usingBlock:^(NSDictionary<NSAttributedStringKey,id> * _Nonnull attrs, NSRange range, BOOL * _Nonnull stop) {
|
|
322
|
-
[textStorage setAttributes:attrs range:range];
|
|
323
|
-
}];
|
|
324
|
-
|
|
325
|
-
[self.textStorage endEditing];
|
|
326
|
-
}
|
|
327
|
-
|
|
328
300
|
@end
|
|
@@ -104,6 +104,7 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithFrame:(CGRect)frame)
|
|
|
104
104
|
// Similarly, when the user is in the middle of inputting some text in Japanese/Chinese, there will be styling on the
|
|
105
105
|
// text that we should disregard. See https://developer.apple.com/documentation/uikit/uitextinput/1614489-markedtextrange?language=objc
|
|
106
106
|
// for more info.
|
|
107
|
+
// Also, updating the attributed text while inputting Korean language will break input mechanism.
|
|
107
108
|
// If the user added an emoji, the system adds a font attribute for the emoji and stores the original font in NSOriginalFont.
|
|
108
109
|
// Lastly, when entering a password, etc., there will be additional styling on the field as the native text view
|
|
109
110
|
// handles showing the last character for a split second.
|
|
@@ -116,6 +117,7 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithFrame:(CGRect)frame)
|
|
|
116
117
|
|
|
117
118
|
BOOL shouldFallbackToBareTextComparison =
|
|
118
119
|
[self.backedTextInputView.textInputMode.primaryLanguage isEqualToString:@"dictation"] ||
|
|
120
|
+
[self.backedTextInputView.textInputMode.primaryLanguage isEqualToString:@"ko-KR"] ||
|
|
119
121
|
self.backedTextInputView.markedTextRange ||
|
|
120
122
|
self.backedTextInputView.isSecureTextEntry ||
|
|
121
123
|
fontHasBeenUpdatedBySystem;
|
package/React/Base/RCTVersion.m
CHANGED
|
@@ -580,8 +580,9 @@ using namespace facebook::react;
|
|
|
580
580
|
// the settings on a dictation.
|
|
581
581
|
// Similarly, when the user is in the middle of inputting some text in Japanese/Chinese, there will be styling on the
|
|
582
582
|
// text that we should disregard. See
|
|
583
|
-
// https://developer.apple.com/documentation/uikit/uitextinput/1614489-markedtextrange?language=objc for more info.
|
|
584
|
-
//
|
|
583
|
+
// https://developer.apple.com/documentation/uikit/uitextinput/1614489-markedtextrange?language=objc for more info.
|
|
584
|
+
// Also, updating the attributed text while inputting Korean language will break input mechanism.
|
|
585
|
+
// If the user added an emoji, the system adds a font attribute for the emoji and stores the original font in
|
|
585
586
|
// NSOriginalFont. Lastly, when entering a password, etc., there will be additional styling on the field as the native
|
|
586
587
|
// text view handles showing the last character for a split second.
|
|
587
588
|
__block BOOL fontHasBeenUpdatedBySystem = false;
|
|
@@ -596,6 +597,7 @@ using namespace facebook::react;
|
|
|
596
597
|
|
|
597
598
|
BOOL shouldFallbackToBareTextComparison =
|
|
598
599
|
[_backedTextInputView.textInputMode.primaryLanguage isEqualToString:@"dictation"] ||
|
|
600
|
+
[_backedTextInputView.textInputMode.primaryLanguage isEqualToString:@"ko-KR"] ||
|
|
599
601
|
_backedTextInputView.markedTextRange || _backedTextInputView.isSecureTextEntry || fontHasBeenUpdatedBySystem;
|
|
600
602
|
|
|
601
603
|
if (shouldFallbackToBareTextComparison) {
|
|
@@ -343,11 +343,6 @@ public class ReactTextShadowNode extends ReactBaseTextShadowNode {
|
|
|
343
343
|
mJustificationMode);
|
|
344
344
|
uiViewOperationQueue.enqueueUpdateExtraData(getReactTag(), reactTextUpdate);
|
|
345
345
|
}
|
|
346
|
-
|
|
347
|
-
if (mAdjustsFontSizeToFit) {
|
|
348
|
-
// Nodes with `adjustsFontSizeToFit` enabled need to be remeasured on every relayout.
|
|
349
|
-
markUpdated();
|
|
350
|
-
}
|
|
351
346
|
}
|
|
352
347
|
|
|
353
348
|
@ReactProp(name = "onTextLayout")
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
5232630d5945801200b343b59fef4024
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
29574ca71fbf9cee70dbbb8d67885676dcb94792
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
999db0c7049827dd43a616c0a1943d7228433be4c1595e91b730fed79c3e985a
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
79e1b4b07d84db9c9dc6cbc27048525a56be3429179ee24618569b02e56a99420174fb180bd16598997f8e8108d53a30dea2fb907fb1bbb87fb769432d7b7108
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "com.facebook.react",
|
|
5
5
|
"module": "react-native",
|
|
6
|
-
"version": "0.67.
|
|
6
|
+
"version": "0.67.3",
|
|
7
7
|
"attributes": {
|
|
8
8
|
"org.gradle.status": "release"
|
|
9
9
|
}
|
|
@@ -131,13 +131,13 @@
|
|
|
131
131
|
],
|
|
132
132
|
"files": [
|
|
133
133
|
{
|
|
134
|
-
"name": "react-native-0.67.
|
|
135
|
-
"url": "react-native-0.67.
|
|
136
|
-
"size":
|
|
137
|
-
"sha512": "
|
|
138
|
-
"sha256": "
|
|
139
|
-
"sha1": "
|
|
140
|
-
"md5": "
|
|
134
|
+
"name": "react-native-0.67.3.aar",
|
|
135
|
+
"url": "react-native-0.67.3.aar",
|
|
136
|
+
"size": 17805015,
|
|
137
|
+
"sha512": "79e1b4b07d84db9c9dc6cbc27048525a56be3429179ee24618569b02e56a99420174fb180bd16598997f8e8108d53a30dea2fb907fb1bbb87fb769432d7b7108",
|
|
138
|
+
"sha256": "999db0c7049827dd43a616c0a1943d7228433be4c1595e91b730fed79c3e985a",
|
|
139
|
+
"sha1": "29574ca71fbf9cee70dbbb8d67885676dcb94792",
|
|
140
|
+
"md5": "5232630d5945801200b343b59fef4024"
|
|
141
141
|
}
|
|
142
142
|
]
|
|
143
143
|
},
|
|
@@ -258,13 +258,13 @@
|
|
|
258
258
|
],
|
|
259
259
|
"files": [
|
|
260
260
|
{
|
|
261
|
-
"name": "react-native-0.67.
|
|
262
|
-
"url": "react-native-0.67.
|
|
263
|
-
"size":
|
|
264
|
-
"sha512": "
|
|
265
|
-
"sha256": "
|
|
266
|
-
"sha1": "
|
|
267
|
-
"md5": "
|
|
261
|
+
"name": "react-native-0.67.3.aar",
|
|
262
|
+
"url": "react-native-0.67.3.aar",
|
|
263
|
+
"size": 17805015,
|
|
264
|
+
"sha512": "79e1b4b07d84db9c9dc6cbc27048525a56be3429179ee24618569b02e56a99420174fb180bd16598997f8e8108d53a30dea2fb907fb1bbb87fb769432d7b7108",
|
|
265
|
+
"sha256": "999db0c7049827dd43a616c0a1943d7228433be4c1595e91b730fed79c3e985a",
|
|
266
|
+
"sha1": "29574ca71fbf9cee70dbbb8d67885676dcb94792",
|
|
267
|
+
"md5": "5232630d5945801200b343b59fef4024"
|
|
268
268
|
}
|
|
269
269
|
]
|
|
270
270
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
f3952c0dbfccd44dabd4f21619f68f2e
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
76805028ae7dbafda72faebb7edaead586671f9b
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
5b9b58a4a6d744c7c2ed89b01b602cb18df410dcd488d64c17cc704616d9d268
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
18ac25ac01903f6f97265d107d64330a27977145bebf2ea16161a87cca6412fef3e0011855df143f89b270ee15c5a637fbe10a9bb713320b20a13b1134afacf3
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<modelVersion>4.0.0</modelVersion>
|
|
10
10
|
<groupId>com.facebook.react</groupId>
|
|
11
11
|
<artifactId>react-native</artifactId>
|
|
12
|
-
<version>0.67.
|
|
12
|
+
<version>0.67.3</version>
|
|
13
13
|
<packaging>aar</packaging>
|
|
14
14
|
<name>ReactNative</name>
|
|
15
15
|
<description>A framework for building native apps with React</description>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
d16e2872c011f3f8261750c64ad33ab3
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
f6767caa63e55ba8bda13c0b59f74b09f0dc46d6
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
08fc890edae725b55d242dfbf759f86bb827cadf02633c523e906f9cfc01316e
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
08859a766074c650bdfa36f1c80583e7b851be4208bb2a3c53cc97d7bfb708f9bda94750ab4966cc31ae04654ec85b98a0c4d6779927ecc206031dd4ed1473e4
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<groupId>com.facebook.react</groupId>
|
|
4
4
|
<artifactId>react-native</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>0.67.
|
|
7
|
-
<release>0.67.
|
|
6
|
+
<latest>0.67.3</latest>
|
|
7
|
+
<release>0.67.3</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>0.67.
|
|
9
|
+
<version>0.67.3</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20220222144631</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
203c52a2411919050e759d94b99cee1a
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
1626abfd87820d47a339f6a847c33002b7d36ef1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
f380fa82a13a3482ca40b2d0a754018c7f5af9546033517369f5e63a4e956a93
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
27e52d6a69de2bf48895ebb89b5cca7cec72b2b3f548a09f5a115f5a51c12f60d8a41f8f0d75fce66185886f0c4dc4629cb826b878254d11503db71ed6daee97
|
package/package.json
CHANGED
package/template/Gemfile.lock
CHANGED
|
@@ -3,7 +3,7 @@ GEM
|
|
|
3
3
|
specs:
|
|
4
4
|
CFPropertyList (3.0.5)
|
|
5
5
|
rexml
|
|
6
|
-
activesupport (6.1.4.
|
|
6
|
+
activesupport (6.1.4.6)
|
|
7
7
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
8
8
|
i18n (>= 1.6, < 2)
|
|
9
9
|
minitest (>= 5.1)
|
|
@@ -63,7 +63,7 @@ GEM
|
|
|
63
63
|
fuzzy_match (2.0.4)
|
|
64
64
|
gh_inspector (1.1.3)
|
|
65
65
|
httpclient (2.8.3)
|
|
66
|
-
i18n (1.
|
|
66
|
+
i18n (1.10.0)
|
|
67
67
|
concurrent-ruby (~> 1.0)
|
|
68
68
|
json (2.6.1)
|
|
69
69
|
minitest (5.15.0)
|
package/template/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
283c3ad2a09a9b26bcf8632c2d0cc7ab
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
6abbadc0b8174e42fb4f5d9f4a578deac714cc94
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
393697ad0a9bfe604f6f249cb23abc590b32ad3fb36cfc8c5d86327951b82fae
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
9fa54c888fd61fce49b65610c0eb3cd6795e5e31683105b3048a5b31c34f59dd749c48e55d5577ba45fcd624bb4041028071cde82a91208d402f9352a70337af
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
8306d9526b64d13db397518401120c8d
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
888a319cc189582061bd4bd83be7936b955ef96b
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
e65f086a817ed67457f9d20c1b2458cf50ee5023d9201a27dbd27522ca57f848
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
22a3aed0c26fbca4195b524f8f026d35496789b0bdb179e559e11cc26f19c0a585b887873748e88b477c303952a272907131bce579e63031c1de7c5d10c53a59
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ed630b2ddccd5b319a6fbaff2739384d
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
f9eda3ab5913e1170f7af9d6f0fa3d0cfb100983
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
6822a0883d3963ee87d0cfc29cbf7b7ba118c839d3fd452de75c610cc77f1e8b
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
529f01e0c31fef37fc71c76795f2a4e93f4c022002c0357a9b25975b33b68fe0b967f5e64499148a5c56d8a3485e7fd82163abee2b2a48592c7cdb898e1a30ce
|