| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/attributedstring/tests/ |
| H A D | ABI48_0_0AttributedStringTest.cpp | 24 auto text = TextAttributes{}; in TEST() 25 text.foregroundColor = { in TEST() 27 text.opacity = 0.5; in TEST() 28 text.fontStyle = FontStyle::Italic; in TEST() 29 text.fontWeight = FontWeight::Thin; in TEST() 30 text.fontVariant = FontVariant::TabularNums; in TEST() 31 fragment.textAttributes = text; in TEST() 38 ABI48_0_0EXPECT_EQ(textAttribute["foregroundColor"], toDynamic(text.foregroundColor)); in TEST() 39 ABI48_0_0EXPECT_EQ(textAttribute["opacity"], text.opacity); in TEST() 40 ABI48_0_0EXPECT_EQ(textAttribute["fontStyle"], toString(text.fontStyle.value())); in TEST() [all …]
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/components/text/tests/ |
| H A D | ABI49_0_0ParagraphLocalDataTest.cpp | 28 auto text = TextAttributes(); in TEST() local 29 text.foregroundColor = { in TEST() 31 text.opacity = 0.5; in TEST() 32 text.fontStyle = FontStyle::Italic; in TEST() 33 text.fontWeight = FontWeight::Thin; in TEST() 34 text.fontVariant = FontVariant::TabularNums; in TEST() 35 fragment.textAttributes = text; in TEST() 45 ABI49_0_0EXPECT_EQ(textAttribute["foregroundColor"], toDynamic(text.foregroundColor)); in TEST() 46 ABI49_0_0EXPECT_EQ(textAttribute["opacity"], text.opacity); in TEST() 47 ABI49_0_0EXPECT_EQ(textAttribute["fontStyle"], toString(*text.fontStyle)); in TEST() [all …]
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/attributedstring/tests/ |
| H A D | ABI47_0_0AttributedStringTest.cpp | 24 auto text = TextAttributes{}; in TEST() 25 text.foregroundColor = { in TEST() 27 text.opacity = 0.5; in TEST() 28 text.fontStyle = FontStyle::Italic; in TEST() 29 text.fontWeight = FontWeight::Thin; in TEST() 30 text.fontVariant = FontVariant::TabularNums; in TEST() 31 fragment.textAttributes = text; in TEST() 38 ABI47_0_0EXPECT_EQ(textAttribute["foregroundColor"], toDynamic(text.foregroundColor)); in TEST() 39 ABI47_0_0EXPECT_EQ(textAttribute["opacity"], text.opacity); in TEST() 40 ABI47_0_0EXPECT_EQ(textAttribute["fontStyle"], toString(text.fontStyle.value())); in TEST() [all …]
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/components/text/tests/ |
| H A D | ABI48_0_0ParagraphLocalDataTest.cpp | 29 auto text = TextAttributes(); in TEST() local 30 text.foregroundColor = { in TEST() 32 text.opacity = 0.5; in TEST() 33 text.fontStyle = FontStyle::Italic; in TEST() 34 text.fontWeight = FontWeight::Thin; in TEST() 35 text.fontVariant = FontVariant::TabularNums; in TEST() 36 fragment.textAttributes = text; in TEST() 47 textAttribute["foregroundColor"] == toDynamic(text.foregroundColor)); in TEST() 48 ABI48_0_0React_native_assert(textAttribute["opacity"] == text.opacity); in TEST() 49 ABI48_0_0React_native_assert(textAttribute["fontStyle"] == toString(*text.fontStyle)); in TEST() [all …]
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/components/text/tests/ |
| H A D | ABI47_0_0ParagraphLocalDataTest.cpp | 29 auto text = TextAttributes(); in TEST() local 30 text.foregroundColor = { in TEST() 32 text.opacity = 0.5; in TEST() 33 text.fontStyle = FontStyle::Italic; in TEST() 34 text.fontWeight = FontWeight::Thin; in TEST() 35 text.fontVariant = FontVariant::TabularNums; in TEST() 36 fragment.textAttributes = text; in TEST() 47 textAttribute["foregroundColor"] == toDynamic(text.foregroundColor)); in TEST() 48 ABI47_0_0React_native_assert(textAttribute["opacity"] == text.opacity); in TEST() 49 ABI47_0_0React_native_assert(textAttribute["fontStyle"] == toString(*text.fontStyle)); in TEST() [all …]
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/attributedstring/tests/ |
| H A D | ABI49_0_0AttributedStringTest.cpp | 24 auto text = TextAttributes{}; in TEST() 25 text.foregroundColor = { in TEST() 27 text.opacity = 0.5; in TEST() 28 text.fontStyle = FontStyle::Italic; in TEST() 29 text.fontWeight = FontWeight::Thin; in TEST() 30 text.fontVariant = FontVariant::TabularNums; in TEST() 31 fragment.textAttributes = text; in TEST() 38 ABI49_0_0EXPECT_EQ(textAttribute["foregroundColor"], toDynamic(text.foregroundColor)); in TEST() 39 ABI49_0_0EXPECT_EQ(textAttribute["opacity"], text.opacity); in TEST() 40 ABI49_0_0EXPECT_EQ(textAttribute["fontStyle"], toString(text.fontStyle.value())); in TEST() [all …]
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/logger/ |
| H A D | ABI49_0_0react_native_log.h | 24 void ABI49_0_0React_native_log_info(const char *text); 25 void ABI49_0_0React_native_log_warn(const char *text); 26 void ABI49_0_0React_native_log_error(const char *text); 27 void ABI49_0_0React_native_log_fatal(const char *text); 29 void _ABI49_0_0React_native_log(ABI49_0_0ReactNativeLogLevel level, const char *text); 30 void _ABI49_0_0React_native_log_default(ABI49_0_0ReactNativeLogLevel level, const char *text);
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/logger/ |
| H A D | ABI48_0_0react_native_log.h | 24 void ABI48_0_0React_native_log_info(const char *text); 25 void ABI48_0_0React_native_log_warn(const char *text); 26 void ABI48_0_0React_native_log_error(const char *text); 27 void ABI48_0_0React_native_log_fatal(const char *text); 29 void _ABI48_0_0React_native_log(ABI48_0_0ReactNativeLogLevel level, const char *text); 30 void _ABI48_0_0React_native_log_default(ABI48_0_0ReactNativeLogLevel level, const char *text);
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/logger/ |
| H A D | ABI47_0_0react_native_log.h | 24 void ABI47_0_0React_native_log_info(const char *text); 25 void ABI47_0_0React_native_log_warn(const char *text); 26 void ABI47_0_0React_native_log_error(const char *text); 27 void ABI47_0_0React_native_log_fatal(const char *text); 29 void _ABI47_0_0React_native_log(ABI47_0_0ReactNativeLogLevel level, const char *text); 30 void _ABI47_0_0React_native_log_default(ABI47_0_0ReactNativeLogLevel level, const char *text);
|
| /expo/packages/@expo/cli/src/utils/ |
| H A D | link.ts | 12 { text = url, dim = true }: { text?: string; dim?: boolean } = {} 17 output = terminalLink(text, url); 19 output = `${text === url ? '' : text + ': '}${chalk.underline(url)}`; 38 return link(url, { text: maybeLearnMoreMessage ?? 'Learn more', dim });
|
| /expo/apps/native-component-list/src/screens/ |
| H A D | LinkingScreen.tsx | 20 function TextInputButton({ text }: { text: string }) { 21 const [link, setLink] = React.useState<string>(text); 26 onChangeText(text); 27 }, [text]); 29 const onChangeText = async (text: string) => { 31 const supported = await canOpenURL(text); 33 const parsedText = await Linking.parse(text); 37 setLink(text); 91 <TextInputButton text="http://expo.dev" /> 92 <TextInputButton text="fb://notifications" /> [all …]
|
| /expo/docs/ui/components/TableOfContents/ |
| H A D | TableOfContents.test.tsx | 36 it('returns normal text from h1 heading', () => { 38 type: 'text', 39 text: 'Hello', 43 it('returns normal text from h2 heading', () => { 45 type: 'text', 46 text: 'Hello World', 52 type: 'text', 53 text: 'Cool stuff (Android only)', 60 text: 'getCoolStuffAsync', 67 text: 'getTransformAsync', [all …]
|
| /expo/packages/html-elements/src/elements/__tests__/__snapshots__/ |
| H A D | Text-test.tsx.snap.web | 5 className="css-text-146c3p1 r-fontWeight-vw2c0b" 14 className="css-text-146c3p1 r-height-10rkof1 r-width-1h2t8mc" 28 className="css-text-146c3p1 r-fontFamily-1pm8pkb r-fontWeight-majxgm" 44 className="css-text-146c3p1 r-fontStyle-36ujnk" 53 className="css-text-146c3p1 r-fontStyle-36ujnk" 62 className="css-text-146c3p1 r-backgroundColor-98uye2 r-color-cqee49" 69 className="css-text-146c3p1 r-marginBlock-11nzuo4" 91 className="css-text-146c3p1 r-fontStyle-36ujnk" 111 className="css-text-146c3p1" 120 className="css-text-146c3p1 r-fontWeight-vw2c0b" [all …]
|
| /expo/packages/@expo/config-plugins/src/utils/ |
| H A D | warnings.ts | 16 export function addWarningAndroid(property: string, text: string, link?: string) { 17 console.warn(formatWarning('android', property, text, link)); 31 export function addWarningIOS(property: string, text: string, link?: string) { 32 console.warn(formatWarning('ios', property, text, link)); 38 text: string, 41 console.warn(formatWarning(platform, property, text, link));
|
| /expo/packages/expo-clipboard/src/web/ |
| H A D | ClipboardModule.ts | 43 return await new Response(blob).text(); 46 let text = await navigator.clipboard.readText(); variable 47 if (!text || text === '') { 51 const blobText = await blob?.text(); 52 text = htmlToPlainText(blobText ?? ''); 54 return text; 73 setString(text: string): boolean { 75 textField.textContent = text; 95 const clipboardItemInput = createHtmlClipboardItem(text); 111 await navigator.clipboard.writeText(text); [all …]
|
| /expo/packages/expo-clipboard/build/web/ |
| H A D | ClipboardModule.js | 22 return await new Response(blob).text(); 25 let text = await navigator.clipboard.readText(); variable 26 if (!text || text === '') { 30 const blobText = await blob?.text(); 31 text = htmlToPlainText(blobText ?? ''); 33 return text; 53 setString(text) { 55 textField.textContent = text; 69 async setStringAsync(text, options) { 93 await navigator.clipboard.writeText(text); [all …]
|
| /expo/docs/ui/components/Tag/ |
| H A D | helpers.ts | 4 export const getPlatformName = (text: string): PlatformName => { 5 if (text.toLowerCase().includes('ios')) return 'ios'; 6 if (text.toLowerCase().includes('android')) return 'android'; 7 if (text.toLowerCase().includes('web')) return 'web'; 8 if (text.toLowerCase().includes('expo')) return 'expo';
|
| /expo/packages/expo-dev-client-components/src/ |
| H A D | Text.tsx | 5 import { text, textDark, padding, rounded } from './theme'; 10 color: lightTheme.text.default, 19 ...text, 35 color: lightTheme.text.default, 41 accessibilityRole: 'text', 45 ...text, 56 color: lightTheme.text.default, 62 ...text,
|
| /expo/packages/@expo/config-plugins/build/utils/ |
| H A D | warnings.js | 28 function addWarningAndroid(property, text, link) { argument 29 console.warn(formatWarning('android', property, text, link)); 43 function addWarningIOS(property, text, link) { argument 44 console.warn(formatWarning('ios', property, text, link)); 46 function addWarningForPlatform(platform, property, text, link) { argument 47 console.warn(formatWarning(platform, property, text, link));
|
| /expo/docs/ui/components/Sidebar/ |
| H A D | SidebarSingleEntry.tsx | 28 …'flex items-center gap-3 text-secondary rounded-md text-sm min-h-[32px] px-2 py-1 !leading-[100%] … 31 secondary && 'text-xs', 32 isActive && 'bg-palette-blue3 text-link font-medium hocus:text-link hocus:bg-palette-blue4' 38 isActive ? 'text-palette-blue11' : 'text-icon-tertiary' 42 {isExternal && <ArrowUpRightIcon className="icon-sm text-icon-secondary ml-auto" />}
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/Libraries/Text/RawText/ |
| H A D | ABI47_0_0RCTRawTextShadowView.m | 14 - (void)setText:(NSString *)text 16 if (_text != text && ![_text isEqualToString:text]) { 17 _text = [text copy]; 30 …n substringToIndex:superDescription.length - 1] stringByAppendingFormat:@"; text: %@>", self.text];
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/Libraries/Text/RawText/ |
| H A D | ABI49_0_0RCTRawTextShadowView.m | 14 - (void)setText:(NSString *)text 16 if (_text != text && ![_text isEqualToString:text]) { 17 _text = [text copy]; 31 stringByAppendingFormat:@"; text: %@>", self.text];
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/Libraries/Text/RawText/ |
| H A D | ABI48_0_0RCTRawTextShadowView.m | 14 - (void)setText:(NSString *)text 16 if (_text != text && ![_text isEqualToString:text]) { 17 _text = [text copy]; 31 stringByAppendingFormat:@"; text: %@>", self.text];
|
| /expo/apps/native-component-list/src/components/FunctionDemo/ |
| H A D | Divider.tsx | 4 export default function Divider({ text }: { text: string }) { 8 <Text style={styles.text}>{text}</Text> 24 text: {
|
| /expo/tools/src/ |
| H A D | Markdown.ts | 73 export function lexify(text: string): Tokens { 74 const tokens = marked.lexer(text); 95 text, 96 tokens: [createTextToken(text)], 106 text, 122 text, 123 tokens: [createTextToken(text)], 209 return this.text(token, ctx); 263 return this.indent(ctx.indent) + token.text + EOL; 268 return this.indent(ctx.indent) + token.text; [all …]
|