react-native-inapp-inspector 1.1.13 → 1.1.15
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/README.md +9 -34
- package/dist/commonjs/assets/svgAssets.d.ts +3 -0
- package/dist/commonjs/assets/svgAssets.js +17 -0
- package/dist/commonjs/components/AnalyticsEventCard.d.ts +1 -14
- package/dist/commonjs/components/AnalyticsEventCard.js +120 -50
- package/dist/commonjs/components/AnalyticsGraph.d.ts +2 -6
- package/dist/commonjs/components/AnalyticsGraph.js +8 -8
- package/dist/commonjs/components/AnalyticsTabView.d.ts +15 -0
- package/dist/commonjs/components/AnalyticsTabView.js +157 -0
- package/dist/commonjs/components/AnimatedEntrance.d.ts +1 -1
- package/dist/commonjs/components/AnimatedEntrance.js +2 -2
- package/dist/commonjs/components/ApiDetailView.d.ts +22 -0
- package/dist/commonjs/components/ApiDetailView.js +304 -0
- package/dist/commonjs/components/ApisTabView.d.ts +33 -0
- package/dist/commonjs/components/ApisTabView.js +235 -0
- package/dist/commonjs/components/CodeSnippet.d.ts +1 -5
- package/dist/commonjs/components/CodeSnippet.js +34 -34
- package/dist/commonjs/components/ConsoleLogCard.d.ts +1 -8
- package/dist/commonjs/components/ConsoleLogCard.js +262 -442
- package/dist/commonjs/components/ConsoleLogDetailView.d.ts +9 -0
- package/dist/commonjs/components/ConsoleLogDetailView.js +278 -0
- package/dist/commonjs/components/ConsoleLogsTabView.d.ts +24 -0
- package/dist/commonjs/components/ConsoleLogsTabView.js +354 -0
- package/dist/commonjs/components/DiffViewer.js +4 -2
- package/dist/commonjs/components/DomainHeader.js +66 -41
- package/dist/commonjs/components/EmptyState.d.ts +2 -2
- package/dist/commonjs/components/EmptyState.js +2 -2
- package/dist/commonjs/components/EndOfListFooter.d.ts +8 -0
- package/dist/commonjs/components/EndOfListFooter.js +90 -0
- package/dist/commonjs/components/ErrorBoundary.d.ts +5 -14
- package/dist/commonjs/components/ErrorBoundary.js +28 -28
- package/dist/commonjs/components/FloatingBubble.d.ts +14 -0
- package/dist/commonjs/components/FloatingBubble.js +75 -0
- package/dist/commonjs/components/HeadersSection.js +5 -3
- package/dist/commonjs/components/HighlightText.d.ts +1 -1
- package/dist/commonjs/components/HighlightText.js +5 -7
- package/dist/commonjs/components/Inspector/AnalyticsTab.d.ts +3 -0
- package/dist/commonjs/components/Inspector/AnalyticsTab.js +232 -0
- package/dist/commonjs/components/Inspector/ConsoleTab.d.ts +3 -0
- package/dist/commonjs/components/Inspector/ConsoleTab.js +410 -0
- package/dist/commonjs/components/Inspector/FabLauncher.d.ts +3 -0
- package/dist/commonjs/components/Inspector/FabLauncher.js +54 -0
- package/dist/commonjs/components/Inspector/InsightsDashboard.d.ts +3 -0
- package/dist/commonjs/components/Inspector/InsightsDashboard.js +619 -0
- package/dist/commonjs/components/Inspector/InspectorContext.d.ts +5 -0
- package/dist/commonjs/components/Inspector/InspectorContext.js +18 -0
- package/dist/commonjs/components/Inspector/InspectorHeader.d.ts +3 -0
- package/dist/commonjs/components/Inspector/InspectorHeader.js +452 -0
- package/dist/commonjs/components/Inspector/LogDetail.d.ts +3 -0
- package/dist/commonjs/components/Inspector/LogDetail.js +963 -0
- package/dist/commonjs/components/Inspector/MainScreen.d.ts +3 -0
- package/dist/commonjs/components/Inspector/MainScreen.js +68 -0
- package/dist/commonjs/components/Inspector/NavigationTracker.d.ts +3 -0
- package/dist/commonjs/components/Inspector/NavigationTracker.js +12 -0
- package/dist/commonjs/components/Inspector/NetworkDetail.d.ts +3 -0
- package/dist/commonjs/components/Inspector/NetworkDetail.js +405 -0
- package/dist/commonjs/components/Inspector/NetworkTab.d.ts +3 -0
- package/dist/commonjs/components/Inspector/NetworkTab.js +281 -0
- package/dist/commonjs/components/Inspector/ReduxTab.d.ts +3 -0
- package/dist/commonjs/components/Inspector/ReduxTab.js +75 -0
- package/dist/commonjs/components/Inspector/SettingsPanel.d.ts +3 -0
- package/dist/commonjs/components/Inspector/SettingsPanel.js +1476 -0
- package/dist/commonjs/components/Inspector/TabBar.d.ts +3 -0
- package/dist/commonjs/components/Inspector/TabBar.js +95 -0
- package/dist/commonjs/components/Inspector/WebViewTab.d.ts +3 -0
- package/dist/commonjs/components/Inspector/WebViewTab.js +757 -0
- package/dist/commonjs/components/InspectorHeader.d.ts +19 -0
- package/dist/commonjs/components/InspectorHeader.js +329 -0
- package/dist/commonjs/components/InspectorTabBar.d.ts +16 -0
- package/dist/commonjs/components/InspectorTabBar.js +90 -0
- package/dist/commonjs/components/JsonViewer.d.ts +4 -1
- package/dist/commonjs/components/JsonViewer.js +110 -171
- package/dist/commonjs/components/LogCard.js +109 -86
- package/dist/commonjs/components/MetaAccordion.d.ts +1 -10
- package/dist/commonjs/components/MetaAccordion.js +23 -21
- package/dist/commonjs/components/NavigationTracker.d.ts +7 -0
- package/dist/commonjs/components/NavigationTracker.js +76 -0
- package/dist/commonjs/components/NetworkIcons.d.ts +6 -0
- package/dist/commonjs/components/NetworkIcons.js +54 -8
- package/dist/commonjs/components/ReduxTabView.d.ts +9 -0
- package/dist/commonjs/components/ReduxTabView.js +56 -0
- package/dist/commonjs/components/ReduxTreeView.js +241 -200
- package/dist/commonjs/components/SegmentedTabs.d.ts +15 -0
- package/dist/commonjs/components/SegmentedTabs.js +52 -0
- package/dist/commonjs/components/SettingsView.d.ts +13 -0
- package/dist/commonjs/components/SettingsView.js +328 -0
- package/dist/commonjs/components/TouchableScale.d.ts +2 -2
- package/dist/commonjs/components/TouchableScale.js +2 -2
- package/dist/commonjs/components/TreeNode.js +2 -2
- package/dist/commonjs/constants/index.js +1 -12
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -1
- package/dist/commonjs/customHooks/analyticsLogger.d.ts +8 -0
- package/dist/commonjs/customHooks/analyticsLogger.js +42 -1
- package/dist/commonjs/customHooks/consoleLogger.js +137 -13
- package/dist/commonjs/customHooks/networkLogger.d.ts +0 -1
- package/dist/commonjs/customHooks/networkLogger.js +0 -1
- package/dist/commonjs/customHooks/reduxLogger.d.ts +2 -9
- package/dist/commonjs/enums/index.d.ts +39 -0
- package/dist/commonjs/enums/index.js +50 -0
- package/dist/commonjs/helpers/index.d.ts +27 -1
- package/dist/commonjs/helpers/index.js +187 -12
- package/dist/commonjs/helpers/settingsStore.d.ts +2 -24
- package/dist/commonjs/i18n/en.json +144 -0
- package/dist/commonjs/i18n/index.d.ts +2 -0
- package/dist/commonjs/i18n/index.js +27 -0
- package/dist/commonjs/i18n/locales/en.json +314 -0
- package/dist/commonjs/index.d.ts +2 -3
- package/dist/commonjs/index.js +207 -4927
- package/dist/commonjs/styles/AppColors.d.ts +148 -0
- package/dist/commonjs/styles/AppColors.js +176 -0
- package/dist/commonjs/styles/common.d.ts +3 -0
- package/dist/commonjs/styles/common.js +201 -0
- package/dist/commonjs/styles/index.d.ts +219 -435
- package/dist/commonjs/styles/index.js +312 -488
- package/dist/commonjs/types/enums.d.ts +9 -0
- package/dist/commonjs/types/enums.js +4 -0
- package/dist/commonjs/types/index.d.ts +4 -111
- package/dist/commonjs/types/index.js +16 -0
- package/dist/commonjs/types/interfaces.d.ts +337 -0
- package/dist/commonjs/types/interfaces.js +2 -0
- package/dist/esm/assets/svgAssets.d.ts +3 -0
- package/dist/esm/assets/svgAssets.js +14 -0
- package/dist/esm/components/AnalyticsEventCard.d.ts +1 -14
- package/dist/esm/components/AnalyticsEventCard.js +118 -48
- package/dist/esm/components/AnalyticsGraph.d.ts +2 -6
- package/dist/esm/components/AnalyticsGraph.js +8 -8
- package/dist/esm/components/AnalyticsTabView.d.ts +15 -0
- package/dist/esm/components/AnalyticsTabView.js +151 -0
- package/dist/esm/components/AnimatedEntrance.d.ts +1 -1
- package/dist/esm/components/AnimatedEntrance.js +2 -2
- package/dist/esm/components/ApiDetailView.d.ts +22 -0
- package/dist/esm/components/ApiDetailView.js +264 -0
- package/dist/esm/components/ApisTabView.d.ts +33 -0
- package/dist/esm/components/ApisTabView.js +196 -0
- package/dist/esm/components/CodeSnippet.d.ts +1 -5
- package/dist/esm/components/CodeSnippet.js +34 -34
- package/dist/esm/components/ConsoleLogCard.d.ts +1 -8
- package/dist/esm/components/ConsoleLogCard.js +262 -409
- package/dist/esm/components/ConsoleLogDetailView.d.ts +9 -0
- package/dist/esm/components/ConsoleLogDetailView.js +271 -0
- package/dist/esm/components/ConsoleLogsTabView.d.ts +24 -0
- package/dist/esm/components/ConsoleLogsTabView.js +348 -0
- package/dist/esm/components/DiffViewer.js +4 -2
- package/dist/esm/components/DomainHeader.js +66 -41
- package/dist/esm/components/EmptyState.d.ts +2 -2
- package/dist/esm/components/EmptyState.js +2 -2
- package/dist/esm/components/EndOfListFooter.d.ts +8 -0
- package/dist/esm/components/EndOfListFooter.js +83 -0
- package/dist/esm/components/ErrorBoundary.d.ts +5 -14
- package/dist/esm/components/ErrorBoundary.js +29 -29
- package/dist/esm/components/FloatingBubble.d.ts +14 -0
- package/dist/esm/components/FloatingBubble.js +68 -0
- package/dist/esm/components/HeadersSection.js +5 -3
- package/dist/esm/components/HighlightText.d.ts +1 -1
- package/dist/esm/components/HighlightText.js +5 -7
- package/dist/esm/components/Inspector/AnalyticsTab.d.ts +3 -0
- package/dist/esm/components/Inspector/AnalyticsTab.js +194 -0
- package/dist/esm/components/Inspector/ConsoleTab.d.ts +3 -0
- package/dist/esm/components/Inspector/ConsoleTab.js +372 -0
- package/dist/esm/components/Inspector/FabLauncher.d.ts +3 -0
- package/dist/esm/components/Inspector/FabLauncher.js +49 -0
- package/dist/esm/components/Inspector/InsightsDashboard.d.ts +3 -0
- package/dist/esm/components/Inspector/InsightsDashboard.js +614 -0
- package/dist/esm/components/Inspector/InspectorContext.d.ts +5 -0
- package/dist/esm/components/Inspector/InspectorContext.js +13 -0
- package/dist/esm/components/Inspector/InspectorHeader.d.ts +3 -0
- package/dist/esm/components/Inspector/InspectorHeader.js +447 -0
- package/dist/esm/components/Inspector/LogDetail.d.ts +3 -0
- package/dist/esm/components/Inspector/LogDetail.js +925 -0
- package/dist/esm/components/Inspector/MainScreen.d.ts +3 -0
- package/dist/esm/components/Inspector/MainScreen.js +63 -0
- package/dist/esm/components/Inspector/NavigationTracker.d.ts +3 -0
- package/dist/esm/components/Inspector/NavigationTracker.js +10 -0
- package/dist/esm/components/Inspector/NetworkDetail.d.ts +3 -0
- package/dist/esm/components/Inspector/NetworkDetail.js +367 -0
- package/dist/esm/components/Inspector/NetworkTab.d.ts +3 -0
- package/dist/esm/components/Inspector/NetworkTab.js +243 -0
- package/dist/esm/components/Inspector/ReduxTab.d.ts +3 -0
- package/dist/esm/components/Inspector/ReduxTab.js +70 -0
- package/dist/esm/components/Inspector/SettingsPanel.d.ts +3 -0
- package/dist/esm/components/Inspector/SettingsPanel.js +1438 -0
- package/dist/esm/components/Inspector/TabBar.d.ts +3 -0
- package/dist/esm/components/Inspector/TabBar.js +90 -0
- package/dist/esm/components/Inspector/WebViewTab.d.ts +3 -0
- package/dist/esm/components/Inspector/WebViewTab.js +752 -0
- package/dist/esm/components/InspectorHeader.d.ts +19 -0
- package/dist/esm/components/InspectorHeader.js +323 -0
- package/dist/esm/components/InspectorTabBar.d.ts +16 -0
- package/dist/esm/components/InspectorTabBar.js +84 -0
- package/dist/esm/components/JsonViewer.d.ts +4 -1
- package/dist/esm/components/JsonViewer.js +111 -172
- package/dist/esm/components/LogCard.js +111 -88
- package/dist/esm/components/MetaAccordion.d.ts +1 -10
- package/dist/esm/components/MetaAccordion.js +23 -21
- package/dist/esm/components/NavigationTracker.d.ts +7 -0
- package/dist/esm/components/NavigationTracker.js +39 -0
- package/dist/esm/components/NetworkIcons.d.ts +6 -0
- package/dist/esm/components/NetworkIcons.js +46 -6
- package/dist/esm/components/ReduxTabView.d.ts +9 -0
- package/dist/esm/components/ReduxTabView.js +50 -0
- package/dist/esm/components/ReduxTreeView.js +243 -202
- package/dist/esm/components/SegmentedTabs.d.ts +15 -0
- package/dist/esm/components/SegmentedTabs.js +47 -0
- package/dist/esm/components/SettingsView.d.ts +13 -0
- package/dist/esm/components/SettingsView.js +321 -0
- package/dist/esm/components/TouchableScale.d.ts +2 -2
- package/dist/esm/components/TouchableScale.js +2 -2
- package/dist/esm/components/TreeNode.js +2 -2
- package/dist/esm/constants/index.js +1 -12
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/customHooks/analyticsLogger.d.ts +8 -0
- package/dist/esm/customHooks/analyticsLogger.js +37 -0
- package/dist/esm/customHooks/consoleLogger.js +137 -13
- package/dist/esm/customHooks/networkLogger.d.ts +0 -1
- package/dist/esm/customHooks/networkLogger.js +0 -1
- package/dist/esm/customHooks/reduxLogger.d.ts +2 -9
- package/dist/esm/enums/index.d.ts +39 -0
- package/dist/esm/enums/index.js +47 -0
- package/dist/esm/helpers/index.d.ts +27 -1
- package/dist/esm/helpers/index.js +180 -11
- package/dist/esm/helpers/settingsStore.d.ts +2 -24
- package/dist/esm/i18n/en.json +144 -0
- package/dist/esm/i18n/index.d.ts +2 -0
- package/dist/esm/i18n/index.js +22 -0
- package/dist/esm/i18n/locales/en.json +314 -0
- package/dist/esm/index.d.ts +2 -3
- package/dist/esm/index.js +207 -4923
- package/dist/esm/styles/AppColors.d.ts +148 -0
- package/dist/esm/styles/AppColors.js +176 -0
- package/dist/esm/styles/common.d.ts +3 -0
- package/dist/esm/styles/common.js +197 -0
- package/dist/esm/styles/index.d.ts +219 -435
- package/dist/esm/styles/index.js +312 -488
- package/dist/esm/types/enums.d.ts +9 -0
- package/dist/esm/types/enums.js +3 -0
- package/dist/esm/types/index.d.ts +4 -111
- package/dist/esm/types/index.js +2 -1
- package/dist/esm/types/interfaces.d.ts +337 -0
- package/dist/esm/types/interfaces.js +1 -0
- package/example/App.tsx +88 -1
- package/example/android/app/build.gradle +29 -1
- package/example/android/app/src/main/java/com/example/MainApplication.kt +25 -0
- package/example/android/build.gradle +31 -4
- package/example/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/example/android/gradle.properties +1 -0
- package/example/android/settings.gradle +20 -1
- package/example/package-lock.json +1 -1
- package/package.json +3 -1
|
@@ -227,10 +227,10 @@ const getStyleForType = (type) => {
|
|
|
227
227
|
return [styles.plain, { color: AppColors.primaryBlack }];
|
|
228
228
|
}
|
|
229
229
|
};
|
|
230
|
-
const ArrowUpIcon = ({ color =
|
|
230
|
+
const ArrowUpIcon = ({ color = AppColors.slate500, size = 16 }) => (<Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
231
231
|
<Path d="M18 15l-6-6-6 6" stroke={color} strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round"/>
|
|
232
232
|
</Svg>);
|
|
233
|
-
const ArrowDownIcon = ({ color =
|
|
233
|
+
const ArrowDownIcon = ({ color = AppColors.slate500, size = 16 }) => (<Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
234
234
|
<Path d="M6 9l6 6 6-6" stroke={color} strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round"/>
|
|
235
235
|
</Svg>);
|
|
236
236
|
const CodeSnippetLine = React.memo(({ line, lineIndex, language, search, isActiveMatch, }) => {
|
|
@@ -443,14 +443,14 @@ const CodeSnippet = ({ code, language, search, }) => {
|
|
|
443
443
|
</View>
|
|
444
444
|
</View>);
|
|
445
445
|
};
|
|
446
|
-
const monoFont =
|
|
446
|
+
const monoFont = AppFonts.interRegular;
|
|
447
447
|
const styles = StyleSheet.create({
|
|
448
448
|
container: {
|
|
449
449
|
flex: 1,
|
|
450
|
-
backgroundColor:
|
|
450
|
+
backgroundColor: AppColors.slate50,
|
|
451
451
|
borderRadius: 8,
|
|
452
452
|
borderWidth: 1,
|
|
453
|
-
borderColor:
|
|
453
|
+
borderColor: AppColors.slate200,
|
|
454
454
|
overflow: 'hidden',
|
|
455
455
|
},
|
|
456
456
|
searchRow: {
|
|
@@ -463,10 +463,10 @@ const styles = StyleSheet.create({
|
|
|
463
463
|
flex: 1,
|
|
464
464
|
flexDirection: 'row',
|
|
465
465
|
alignItems: 'center',
|
|
466
|
-
backgroundColor:
|
|
466
|
+
backgroundColor: AppColors.white,
|
|
467
467
|
borderRadius: 8,
|
|
468
468
|
borderWidth: 1,
|
|
469
|
-
borderColor:
|
|
469
|
+
borderColor: AppColors.slate200,
|
|
470
470
|
paddingHorizontal: 8,
|
|
471
471
|
height: 32,
|
|
472
472
|
},
|
|
@@ -474,16 +474,16 @@ const styles = StyleSheet.create({
|
|
|
474
474
|
flex: 1,
|
|
475
475
|
fontFamily: AppFonts.interRegular,
|
|
476
476
|
fontSize: 12,
|
|
477
|
-
color:
|
|
477
|
+
color: AppColors.slate900,
|
|
478
478
|
marginLeft: 6,
|
|
479
479
|
paddingVertical: 0,
|
|
480
480
|
},
|
|
481
481
|
matchCountText: {
|
|
482
482
|
fontFamily: AppFonts.interMedium,
|
|
483
483
|
fontSize: 10,
|
|
484
|
-
color:
|
|
484
|
+
color: AppColors.slate500,
|
|
485
485
|
marginHorizontal: 6,
|
|
486
|
-
backgroundColor:
|
|
486
|
+
backgroundColor: AppColors.slate100,
|
|
487
487
|
paddingHorizontal: 6,
|
|
488
488
|
paddingVertical: 2,
|
|
489
489
|
borderRadius: 4,
|
|
@@ -494,10 +494,10 @@ const styles = StyleSheet.create({
|
|
|
494
494
|
navArrowsGroup: {
|
|
495
495
|
flexDirection: 'row',
|
|
496
496
|
alignItems: 'center',
|
|
497
|
-
backgroundColor:
|
|
497
|
+
backgroundColor: AppColors.white,
|
|
498
498
|
borderRadius: 8,
|
|
499
499
|
borderWidth: 1,
|
|
500
|
-
borderColor:
|
|
500
|
+
borderColor: AppColors.slate200,
|
|
501
501
|
height: 32,
|
|
502
502
|
paddingHorizontal: 2,
|
|
503
503
|
},
|
|
@@ -514,31 +514,31 @@ const styles = StyleSheet.create({
|
|
|
514
514
|
paddingVertical: 1,
|
|
515
515
|
},
|
|
516
516
|
activeMatchRow: {
|
|
517
|
-
backgroundColor:
|
|
517
|
+
backgroundColor: `${AppColors.amber600}38`,
|
|
518
518
|
borderLeftWidth: 4,
|
|
519
|
-
borderLeftColor:
|
|
519
|
+
borderLeftColor: AppColors.amber600,
|
|
520
520
|
},
|
|
521
521
|
gutter: {
|
|
522
522
|
width: 40,
|
|
523
|
-
backgroundColor:
|
|
523
|
+
backgroundColor: AppColors.slate100,
|
|
524
524
|
borderRightWidth: 1,
|
|
525
|
-
borderRightColor:
|
|
525
|
+
borderRightColor: AppColors.slate200,
|
|
526
526
|
justifyContent: 'flex-start',
|
|
527
527
|
alignItems: 'flex-end',
|
|
528
528
|
paddingRight: 6,
|
|
529
529
|
paddingTop: 1,
|
|
530
530
|
},
|
|
531
531
|
activeMatchGutter: {
|
|
532
|
-
backgroundColor:
|
|
533
|
-
borderRightColor:
|
|
532
|
+
backgroundColor: `${AppColors.amber600}59`,
|
|
533
|
+
borderRightColor: `${AppColors.amber600}80`,
|
|
534
534
|
},
|
|
535
535
|
lineNumber: {
|
|
536
536
|
fontFamily: monoFont,
|
|
537
537
|
fontSize: 9,
|
|
538
|
-
color:
|
|
538
|
+
color: AppColors.slate400,
|
|
539
539
|
},
|
|
540
540
|
activeMatchLineNumber: {
|
|
541
|
-
color:
|
|
541
|
+
color: AppColors.amber800,
|
|
542
542
|
fontWeight: 'bold',
|
|
543
543
|
},
|
|
544
544
|
codeLine: {
|
|
@@ -550,71 +550,71 @@ const styles = StyleSheet.create({
|
|
|
550
550
|
codeLineText: {
|
|
551
551
|
fontFamily: monoFont,
|
|
552
552
|
fontSize: 10.5,
|
|
553
|
-
color:
|
|
553
|
+
color: AppColors.slate700,
|
|
554
554
|
flexWrap: 'wrap',
|
|
555
555
|
},
|
|
556
556
|
plain: {
|
|
557
557
|
fontFamily: monoFont,
|
|
558
558
|
fontSize: 10.5,
|
|
559
|
-
color:
|
|
559
|
+
color: AppColors.slate700,
|
|
560
560
|
},
|
|
561
561
|
comment: {
|
|
562
562
|
fontFamily: monoFont,
|
|
563
563
|
fontSize: 10.5,
|
|
564
|
-
color:
|
|
564
|
+
color: AppColors.slate500,
|
|
565
565
|
fontStyle: 'italic',
|
|
566
566
|
},
|
|
567
567
|
string: {
|
|
568
568
|
fontFamily: monoFont,
|
|
569
569
|
fontSize: 10.5,
|
|
570
|
-
color:
|
|
570
|
+
color: AppColors.amber700,
|
|
571
571
|
},
|
|
572
572
|
keyword: {
|
|
573
573
|
fontFamily: monoFont,
|
|
574
574
|
fontSize: 10.5,
|
|
575
|
-
color:
|
|
575
|
+
color: AppColors.violet600,
|
|
576
576
|
fontWeight: 'bold',
|
|
577
577
|
},
|
|
578
578
|
builtin: {
|
|
579
579
|
fontFamily: monoFont,
|
|
580
580
|
fontSize: 10.5,
|
|
581
|
-
color:
|
|
581
|
+
color: AppColors.teal600,
|
|
582
582
|
},
|
|
583
583
|
number: {
|
|
584
584
|
fontFamily: monoFont,
|
|
585
585
|
fontSize: 10.5,
|
|
586
|
-
color:
|
|
586
|
+
color: AppColors.blue600,
|
|
587
587
|
},
|
|
588
588
|
tag: {
|
|
589
589
|
fontFamily: monoFont,
|
|
590
590
|
fontSize: 10.5,
|
|
591
|
-
color:
|
|
591
|
+
color: AppColors.indigo600,
|
|
592
592
|
fontWeight: 'bold',
|
|
593
593
|
},
|
|
594
594
|
attribute: {
|
|
595
595
|
fontFamily: monoFont,
|
|
596
596
|
fontSize: 10.5,
|
|
597
|
-
color:
|
|
597
|
+
color: AppColors.teal600,
|
|
598
598
|
},
|
|
599
599
|
selector: {
|
|
600
600
|
fontFamily: monoFont,
|
|
601
601
|
fontSize: 10.5,
|
|
602
|
-
color:
|
|
602
|
+
color: AppColors.violet600,
|
|
603
603
|
fontWeight: 'bold',
|
|
604
604
|
},
|
|
605
605
|
property: {
|
|
606
606
|
fontFamily: monoFont,
|
|
607
607
|
fontSize: 10.5,
|
|
608
|
-
color:
|
|
608
|
+
color: AppColors.teal600,
|
|
609
609
|
},
|
|
610
610
|
value: {
|
|
611
611
|
fontFamily: monoFont,
|
|
612
612
|
fontSize: 10.5,
|
|
613
|
-
color:
|
|
613
|
+
color: AppColors.orange600,
|
|
614
614
|
},
|
|
615
615
|
highlight: {
|
|
616
|
-
backgroundColor:
|
|
617
|
-
color:
|
|
616
|
+
backgroundColor: AppColors.highlightYellow,
|
|
617
|
+
color: AppColors.black,
|
|
618
618
|
},
|
|
619
619
|
});
|
|
620
620
|
export default CodeSnippet;
|
|
@@ -1,10 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { WebViewLog } from '../customHooks/webViewLogger';
|
|
4
|
-
interface ConsoleLogCardProps {
|
|
5
|
-
item: ConsoleLog | WebViewLog;
|
|
6
|
-
searchStr?: string;
|
|
7
|
-
isWebView?: boolean;
|
|
8
|
-
}
|
|
2
|
+
import { ConsoleLogCardProps } from '../types';
|
|
9
3
|
export declare const ConsoleLogCard: React.NamedExoticComponent<ConsoleLogCardProps>;
|
|
10
|
-
export {};
|