@buoy-gg/shared-ui 1.7.2
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 +34 -0
- package/lib/commonjs/JsModal.js +1473 -0
- package/lib/commonjs/clipboard/autoDetectClipboard.js +67 -0
- package/lib/commonjs/clipboard/clipboard-impl.js +26 -0
- package/lib/commonjs/clipboard/copyToClipboard.js +66 -0
- package/lib/commonjs/clipboard/index.js +25 -0
- package/lib/commonjs/context/HintsContext.js +49 -0
- package/lib/commonjs/context/index.js +24 -0
- package/lib/commonjs/dataViewer/CyberpunkInput.js +382 -0
- package/lib/commonjs/dataViewer/DataViewer.js +142 -0
- package/lib/commonjs/dataViewer/DiffSummary.js +133 -0
- package/lib/commonjs/dataViewer/IndentGuides.js +128 -0
- package/lib/commonjs/dataViewer/IndentGuidesOverlay.js +104 -0
- package/lib/commonjs/dataViewer/SplitDiffViewer.js +420 -0
- package/lib/commonjs/dataViewer/TypeLegend.js +111 -0
- package/lib/commonjs/dataViewer/VirtualizedDataExplorer.js +1057 -0
- package/lib/commonjs/dataViewer/diffThemes.js +108 -0
- package/lib/commonjs/dataViewer/index.js +101 -0
- package/lib/commonjs/dataViewer/lineDiff.js +366 -0
- package/lib/commonjs/dataViewer/tree/TreeDiffViewer.js +887 -0
- package/lib/commonjs/env/EnvironmentIndicator.js +121 -0
- package/lib/commonjs/env/EnvironmentSelector.js +204 -0
- package/lib/commonjs/env/EnvironmentSelectorInline.js +298 -0
- package/lib/commonjs/hooks/index.js +44 -0
- package/lib/commonjs/hooks/safe-area-impl.js +28 -0
- package/lib/commonjs/hooks/useDeviceInfo.js +524 -0
- package/lib/commonjs/hooks/useFilterManager.js +136 -0
- package/lib/commonjs/hooks/useSafeAreaInsets.js +256 -0
- package/lib/commonjs/icons/BenchmarkIcon.js +109 -0
- package/lib/commonjs/icons/EnvLaptopIcon.js +204 -0
- package/lib/commonjs/icons/IconBackground.js +279 -0
- package/lib/commonjs/icons/ReactQueryIcon.js +169 -0
- package/lib/commonjs/icons/RenderCountIcon.js +147 -0
- package/lib/commonjs/icons/RouteMapIcon.js +250 -0
- package/lib/commonjs/icons/SentryBugIcon.js +181 -0
- package/lib/commonjs/icons/StackPulseIcon.js +158 -0
- package/lib/commonjs/icons/StorageStackIcon.js +156 -0
- package/lib/commonjs/icons/WifiCircuitIcon.js +169 -0
- package/lib/commonjs/icons/index.js +175 -0
- package/lib/commonjs/icons/lucide-icons-original-full.js +3244 -0
- package/lib/commonjs/icons/lucide-icons.js +2252 -0
- package/lib/commonjs/icons/primitives/GlobeIcon.js +66 -0
- package/lib/commonjs/icons/primitives/icon-primitives.js +169 -0
- package/lib/commonjs/icons/primitives/index.js +49 -0
- package/lib/commonjs/index.js +485 -0
- package/lib/commonjs/license/FeatureGate.js +764 -0
- package/lib/commonjs/license/LicenseEntryModal.js +950 -0
- package/lib/commonjs/license/ManageDevicesModal.js +545 -0
- package/lib/commonjs/license/index.js +62 -0
- package/lib/commonjs/logger/index-sentry.js +245 -0
- package/lib/commonjs/logger/index.js +62 -0
- package/lib/commonjs/logger/logDump.js +19 -0
- package/lib/commonjs/logger/types.js +38 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/settings/components/BubbleSettingsSection.js +382 -0
- package/lib/commonjs/settings/index.js +24 -0
- package/lib/commonjs/storage/devToolsStorageKeys.js +235 -0
- package/lib/commonjs/storage/index.js +18 -0
- package/lib/commonjs/types/index.js +16 -0
- package/lib/commonjs/types/types.d.js +1 -0
- package/lib/commonjs/types/types.js +12 -0
- package/lib/commonjs/ui/components/BackButton.js +47 -0
- package/lib/commonjs/ui/components/Badge.js +221 -0
- package/lib/commonjs/ui/components/ClipboardHintBanner.js +149 -0
- package/lib/commonjs/ui/components/CollapsibleSection.js +170 -0
- package/lib/commonjs/ui/components/CompactFilterChips.js +114 -0
- package/lib/commonjs/ui/components/CompactRow.js +230 -0
- package/lib/commonjs/ui/components/CopyButton.js +256 -0
- package/lib/commonjs/ui/components/DataInspector.js +322 -0
- package/lib/commonjs/ui/components/DetailView.js +357 -0
- package/lib/commonjs/ui/components/Divider.js +18 -0
- package/lib/commonjs/ui/components/DraggableHeader.js +144 -0
- package/lib/commonjs/ui/components/DynamicFilterView.js +725 -0
- package/lib/commonjs/ui/components/EmptyState.js +136 -0
- package/lib/commonjs/ui/components/ErrorBoundary.js +112 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/CompareBar.js +210 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/DiffModeTabs.js +90 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/EventHistoryViewer.js +130 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/EventPickerModal.js +206 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/ViewToggleCards.js +137 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/index.js +40 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/types.js +5 -0
- package/lib/commonjs/ui/components/EventListItem.js +247 -0
- package/lib/commonjs/ui/components/EventStepperFooter.js +148 -0
- package/lib/commonjs/ui/components/ExpandablePopover.js +341 -0
- package/lib/commonjs/ui/components/ExpandableSection.js +71 -0
- package/lib/commonjs/ui/components/ExpandableSectionHeader.js +86 -0
- package/lib/commonjs/ui/components/ExpandableSectionWithModal.js +182 -0
- package/lib/commonjs/ui/components/FilterComponents.js +267 -0
- package/lib/commonjs/ui/components/FilterViewPattern.js +174 -0
- package/lib/commonjs/ui/components/HeaderSearchButton.js +32 -0
- package/lib/commonjs/ui/components/ListItem.js +171 -0
- package/lib/commonjs/ui/components/ModalHeader.js +173 -0
- package/lib/commonjs/ui/components/ModalHintBanner.js +147 -0
- package/lib/commonjs/ui/components/SearchBar.js +264 -0
- package/lib/commonjs/ui/components/SectionHeader.js +125 -0
- package/lib/commonjs/ui/components/StatsCard.js +198 -0
- package/lib/commonjs/ui/components/StatusIndicator.js +231 -0
- package/lib/commonjs/ui/components/StorageTypeBadge.js +96 -0
- package/lib/commonjs/ui/components/TabSelector.js +70 -0
- package/lib/commonjs/ui/components/TimeDisplay.js +142 -0
- package/lib/commonjs/ui/components/TypeBadge.js +100 -0
- package/lib/commonjs/ui/components/ValueTypeBadge.js +146 -0
- package/lib/commonjs/ui/components/WindowControls.js +118 -0
- package/lib/commonjs/ui/components/index.js +323 -0
- package/lib/commonjs/ui/components/types.js +5 -0
- package/lib/commonjs/ui/console/BubbleSettingsModal.js +50 -0
- package/lib/commonjs/ui/console/ConsoleSection.js +50 -0
- package/lib/commonjs/ui/console/CyberpunkButtonOutline.js +261 -0
- package/lib/commonjs/ui/console/CyberpunkConsoleSection.js +649 -0
- package/lib/commonjs/ui/console/CyberpunkIconContainer.js +186 -0
- package/lib/commonjs/ui/console/CyberpunkSectionButton.js +122 -0
- package/lib/commonjs/ui/console/GalaxyButton.js +99 -0
- package/lib/commonjs/ui/console/index.js +12 -0
- package/lib/commonjs/ui/gameUI/components/GameUICollapsibleSection.js +120 -0
- package/lib/commonjs/ui/gameUI/components/GameUICompactStats.js +335 -0
- package/lib/commonjs/ui/gameUI/components/GameUIIssuesList.js +283 -0
- package/lib/commonjs/ui/gameUI/components/GameUIStatusHeader.js +143 -0
- package/lib/commonjs/ui/gameUI/constants/gameUIColors.js +186 -0
- package/lib/commonjs/ui/gameUI/constants/macOSDesignSystemColors.js +206 -0
- package/lib/commonjs/ui/gameUI/hooks/useGameUIAlertState.js +110 -0
- package/lib/commonjs/ui/gameUI/index.js +72 -0
- package/lib/commonjs/ui/index.js +39 -0
- package/lib/commonjs/utils/displayValue.js +41 -0
- package/lib/commonjs/utils/formatting/dataFormatting.js +73 -0
- package/lib/commonjs/utils/formatting/httpFormatting.js +153 -0
- package/lib/commonjs/utils/formatting/index.js +27 -0
- package/lib/commonjs/utils/getSafeAreaInsets.js +40 -0
- package/lib/commonjs/utils/index.js +175 -0
- package/lib/commonjs/utils/loadOptionalModule.js +94 -0
- package/lib/commonjs/utils/minimalSuperJSON.js +337 -0
- package/lib/commonjs/utils/persistentStorage.js +594 -0
- package/lib/commonjs/utils/safeAsyncStorage.js +71 -0
- package/lib/commonjs/utils/safeStringify.js +229 -0
- package/lib/commonjs/utils/time/formatRelativeTime.js +34 -0
- package/lib/commonjs/utils/time/index.js +12 -0
- package/lib/commonjs/utils/typeHelpers.js +142 -0
- package/lib/commonjs/utils/valueFormatting.js +140 -0
- package/lib/module/JsModal.js +1469 -0
- package/lib/module/clipboard/autoDetectClipboard.js +45 -0
- package/lib/module/clipboard/clipboard-impl.js +20 -0
- package/lib/module/clipboard/copyToClipboard.js +62 -0
- package/lib/module/clipboard/index.js +5 -0
- package/lib/module/context/HintsContext.js +43 -0
- package/lib/module/context/index.js +3 -0
- package/lib/module/dataViewer/CyberpunkInput.js +378 -0
- package/lib/module/dataViewer/DataViewer.js +137 -0
- package/lib/module/dataViewer/DiffSummary.js +128 -0
- package/lib/module/dataViewer/IndentGuides.js +124 -0
- package/lib/module/dataViewer/IndentGuidesOverlay.js +99 -0
- package/lib/module/dataViewer/SplitDiffViewer.js +415 -0
- package/lib/module/dataViewer/TypeLegend.js +105 -0
- package/lib/module/dataViewer/VirtualizedDataExplorer.js +1053 -0
- package/lib/module/dataViewer/diffThemes.js +104 -0
- package/lib/module/dataViewer/index.js +17 -0
- package/lib/module/dataViewer/lineDiff.js +362 -0
- package/lib/module/dataViewer/tree/TreeDiffViewer.js +882 -0
- package/lib/module/env/EnvironmentIndicator.js +117 -0
- package/lib/module/env/EnvironmentSelector.js +199 -0
- package/lib/module/env/EnvironmentSelectorInline.js +293 -0
- package/lib/module/hooks/index.js +6 -0
- package/lib/module/hooks/safe-area-impl.js +23 -0
- package/lib/module/hooks/useDeviceInfo.js +519 -0
- package/lib/module/hooks/useFilterManager.js +132 -0
- package/lib/module/hooks/useSafeAreaInsets.js +250 -0
- package/lib/module/icons/BenchmarkIcon.js +104 -0
- package/lib/module/icons/EnvLaptopIcon.js +199 -0
- package/lib/module/icons/IconBackground.js +274 -0
- package/lib/module/icons/ReactQueryIcon.js +164 -0
- package/lib/module/icons/RenderCountIcon.js +142 -0
- package/lib/module/icons/RouteMapIcon.js +245 -0
- package/lib/module/icons/SentryBugIcon.js +176 -0
- package/lib/module/icons/StackPulseIcon.js +153 -0
- package/lib/module/icons/StorageStackIcon.js +151 -0
- package/lib/module/icons/WifiCircuitIcon.js +164 -0
- package/lib/module/icons/index.js +23 -0
- package/lib/module/icons/lucide-icons-original-full.js +3174 -0
- package/lib/module/icons/lucide-icons.js +2199 -0
- package/lib/module/icons/primitives/GlobeIcon.js +61 -0
- package/lib/module/icons/primitives/icon-primitives.js +161 -0
- package/lib/module/icons/primitives/index.js +15 -0
- package/lib/module/index.js +58 -0
- package/lib/module/license/FeatureGate.js +754 -0
- package/lib/module/license/LicenseEntryModal.js +944 -0
- package/lib/module/license/ManageDevicesModal.js +539 -0
- package/lib/module/license/index.js +5 -0
- package/lib/module/logger/index-sentry.js +230 -0
- package/lib/module/logger/index.js +13 -0
- package/lib/module/logger/logDump.js +13 -0
- package/lib/module/logger/types.js +37 -0
- package/lib/module/package.json +1 -0
- package/lib/module/settings/components/BubbleSettingsSection.js +376 -0
- package/lib/module/settings/index.js +3 -0
- package/lib/module/storage/devToolsStorageKeys.js +228 -0
- package/lib/module/storage/index.js +3 -0
- package/lib/module/types/index.js +3 -0
- package/lib/module/types/types.d.js +1 -0
- package/lib/module/types/types.js +8 -0
- package/lib/module/ui/components/BackButton.js +43 -0
- package/lib/module/ui/components/Badge.js +213 -0
- package/lib/module/ui/components/ClipboardHintBanner.js +145 -0
- package/lib/module/ui/components/CollapsibleSection.js +166 -0
- package/lib/module/ui/components/CompactFilterChips.js +110 -0
- package/lib/module/ui/components/CompactRow.js +226 -0
- package/lib/module/ui/components/CopyButton.js +253 -0
- package/lib/module/ui/components/DataInspector.js +318 -0
- package/lib/module/ui/components/DetailView.js +353 -0
- package/lib/module/ui/components/Divider.js +14 -0
- package/lib/module/ui/components/DraggableHeader.js +140 -0
- package/lib/module/ui/components/DynamicFilterView.js +721 -0
- package/lib/module/ui/components/EmptyState.js +129 -0
- package/lib/module/ui/components/ErrorBoundary.js +107 -0
- package/lib/module/ui/components/EventHistoryViewer/CompareBar.js +205 -0
- package/lib/module/ui/components/EventHistoryViewer/DiffModeTabs.js +85 -0
- package/lib/module/ui/components/EventHistoryViewer/EventHistoryViewer.js +125 -0
- package/lib/module/ui/components/EventHistoryViewer/EventPickerModal.js +201 -0
- package/lib/module/ui/components/EventHistoryViewer/ViewToggleCards.js +132 -0
- package/lib/module/ui/components/EventHistoryViewer/index.js +19 -0
- package/lib/module/ui/components/EventHistoryViewer/types.js +3 -0
- package/lib/module/ui/components/EventListItem.js +243 -0
- package/lib/module/ui/components/EventStepperFooter.js +143 -0
- package/lib/module/ui/components/ExpandablePopover.js +338 -0
- package/lib/module/ui/components/ExpandableSection.js +67 -0
- package/lib/module/ui/components/ExpandableSectionHeader.js +82 -0
- package/lib/module/ui/components/ExpandableSectionWithModal.js +178 -0
- package/lib/module/ui/components/FilterComponents.js +259 -0
- package/lib/module/ui/components/FilterViewPattern.js +170 -0
- package/lib/module/ui/components/HeaderSearchButton.js +28 -0
- package/lib/module/ui/components/ListItem.js +167 -0
- package/lib/module/ui/components/ModalHeader.js +166 -0
- package/lib/module/ui/components/ModalHintBanner.js +143 -0
- package/lib/module/ui/components/SearchBar.js +260 -0
- package/lib/module/ui/components/SectionHeader.js +121 -0
- package/lib/module/ui/components/StatsCard.js +194 -0
- package/lib/module/ui/components/StatusIndicator.js +227 -0
- package/lib/module/ui/components/StorageTypeBadge.js +92 -0
- package/lib/module/ui/components/TabSelector.js +66 -0
- package/lib/module/ui/components/TimeDisplay.js +138 -0
- package/lib/module/ui/components/TypeBadge.js +96 -0
- package/lib/module/ui/components/ValueTypeBadge.js +142 -0
- package/lib/module/ui/components/WindowControls.js +114 -0
- package/lib/module/ui/components/index.js +33 -0
- package/lib/module/ui/components/types.js +3 -0
- package/lib/module/ui/console/BubbleSettingsModal.js +46 -0
- package/lib/module/ui/console/ConsoleSection.js +46 -0
- package/lib/module/ui/console/CyberpunkButtonOutline.js +257 -0
- package/lib/module/ui/console/CyberpunkConsoleSection.js +646 -0
- package/lib/module/ui/console/CyberpunkIconContainer.js +182 -0
- package/lib/module/ui/console/CyberpunkSectionButton.js +118 -0
- package/lib/module/ui/console/GalaxyButton.js +95 -0
- package/lib/module/ui/console/index.js +5 -0
- package/lib/module/ui/gameUI/components/GameUICollapsibleSection.js +116 -0
- package/lib/module/ui/gameUI/components/GameUICompactStats.js +331 -0
- package/lib/module/ui/gameUI/components/GameUIIssuesList.js +279 -0
- package/lib/module/ui/gameUI/components/GameUIStatusHeader.js +139 -0
- package/lib/module/ui/gameUI/constants/gameUIColors.js +183 -0
- package/lib/module/ui/gameUI/constants/macOSDesignSystemColors.js +202 -0
- package/lib/module/ui/gameUI/hooks/useGameUIAlertState.js +105 -0
- package/lib/module/ui/gameUI/index.js +19 -0
- package/lib/module/ui/index.js +12 -0
- package/lib/module/utils/displayValue.js +36 -0
- package/lib/module/utils/formatting/dataFormatting.js +66 -0
- package/lib/module/utils/formatting/httpFormatting.js +148 -0
- package/lib/module/utils/formatting/index.js +8 -0
- package/lib/module/utils/getSafeAreaInsets.js +36 -0
- package/lib/module/utils/index.js +10 -0
- package/lib/module/utils/loadOptionalModule.js +89 -0
- package/lib/module/utils/minimalSuperJSON.js +332 -0
- package/lib/module/utils/persistentStorage.js +588 -0
- package/lib/module/utils/safeAsyncStorage.js +64 -0
- package/lib/module/utils/safeStringify.js +225 -0
- package/lib/module/utils/time/formatRelativeTime.js +30 -0
- package/lib/module/utils/time/index.js +3 -0
- package/lib/module/utils/typeHelpers.js +130 -0
- package/lib/module/utils/valueFormatting.js +131 -0
- package/lib/typescript/commonjs/JsModal.d.ts +78 -0
- package/lib/typescript/commonjs/JsModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/clipboard/autoDetectClipboard.d.ts +31 -0
- package/lib/typescript/commonjs/clipboard/autoDetectClipboard.d.ts.map +1 -0
- package/lib/typescript/commonjs/clipboard/clipboard-impl.d.ts +16 -0
- package/lib/typescript/commonjs/clipboard/clipboard-impl.d.ts.map +1 -0
- package/lib/typescript/commonjs/clipboard/copyToClipboard.d.ts +11 -0
- package/lib/typescript/commonjs/clipboard/copyToClipboard.d.ts.map +1 -0
- package/lib/typescript/commonjs/clipboard/index.d.ts +4 -0
- package/lib/typescript/commonjs/clipboard/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/context/HintsContext.d.ts +30 -0
- package/lib/typescript/commonjs/context/HintsContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/context/index.d.ts +2 -0
- package/lib/typescript/commonjs/context/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/CyberpunkInput.d.ts +13 -0
- package/lib/typescript/commonjs/dataViewer/CyberpunkInput.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/DataViewer.d.ts +24 -0
- package/lib/typescript/commonjs/dataViewer/DataViewer.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/DiffSummary.d.ts +26 -0
- package/lib/typescript/commonjs/dataViewer/DiffSummary.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/IndentGuides.d.ts +16 -0
- package/lib/typescript/commonjs/dataViewer/IndentGuides.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/IndentGuidesOverlay.d.ts +19 -0
- package/lib/typescript/commonjs/dataViewer/IndentGuidesOverlay.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/SplitDiffViewer.d.ts +40 -0
- package/lib/typescript/commonjs/dataViewer/SplitDiffViewer.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/TypeLegend.d.ts +18 -0
- package/lib/typescript/commonjs/dataViewer/TypeLegend.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/VirtualizedDataExplorer.d.ts +14 -0
- package/lib/typescript/commonjs/dataViewer/VirtualizedDataExplorer.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/diffThemes.d.ts +62 -0
- package/lib/typescript/commonjs/dataViewer/diffThemes.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/index.d.ts +14 -0
- package/lib/typescript/commonjs/dataViewer/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/lineDiff.d.ts +36 -0
- package/lib/typescript/commonjs/dataViewer/lineDiff.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/tree/TreeDiffViewer.d.ts +24 -0
- package/lib/typescript/commonjs/dataViewer/tree/TreeDiffViewer.d.ts.map +1 -0
- package/lib/typescript/commonjs/env/EnvironmentIndicator.d.ts +12 -0
- package/lib/typescript/commonjs/env/EnvironmentIndicator.d.ts.map +1 -0
- package/lib/typescript/commonjs/env/EnvironmentSelector.d.ts +18 -0
- package/lib/typescript/commonjs/env/EnvironmentSelector.d.ts.map +1 -0
- package/lib/typescript/commonjs/env/EnvironmentSelectorInline.d.ts +12 -0
- package/lib/typescript/commonjs/env/EnvironmentSelectorInline.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/index.d.ts +5 -0
- package/lib/typescript/commonjs/hooks/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts +24 -0
- package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useDeviceInfo.d.ts +125 -0
- package/lib/typescript/commonjs/hooks/useDeviceInfo.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useFilterManager.d.ts +59 -0
- package/lib/typescript/commonjs/hooks/useFilterManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useSafeAreaInsets.d.ts +113 -0
- package/lib/typescript/commonjs/hooks/useSafeAreaInsets.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/BenchmarkIcon.d.ts +14 -0
- package/lib/typescript/commonjs/icons/BenchmarkIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/EnvLaptopIcon.d.ts +14 -0
- package/lib/typescript/commonjs/icons/EnvLaptopIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/IconBackground.d.ts +10 -0
- package/lib/typescript/commonjs/icons/IconBackground.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/ReactQueryIcon.d.ts +12 -0
- package/lib/typescript/commonjs/icons/ReactQueryIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/RenderCountIcon.d.ts +14 -0
- package/lib/typescript/commonjs/icons/RenderCountIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/RouteMapIcon.d.ts +14 -0
- package/lib/typescript/commonjs/icons/RouteMapIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/SentryBugIcon.d.ts +12 -0
- package/lib/typescript/commonjs/icons/SentryBugIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/StackPulseIcon.d.ts +11 -0
- package/lib/typescript/commonjs/icons/StackPulseIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/StorageStackIcon.d.ts +12 -0
- package/lib/typescript/commonjs/icons/StorageStackIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/WifiCircuitIcon.d.ts +15 -0
- package/lib/typescript/commonjs/icons/WifiCircuitIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/index.d.ts +15 -0
- package/lib/typescript/commonjs/icons/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/lucide-icons-original-full.d.ts +148 -0
- package/lib/typescript/commonjs/icons/lucide-icons-original-full.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/lucide-icons.d.ts +170 -0
- package/lib/typescript/commonjs/icons/lucide-icons.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/primitives/GlobeIcon.d.ts +15 -0
- package/lib/typescript/commonjs/icons/primitives/GlobeIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/primitives/icon-primitives.d.ts +92 -0
- package/lib/typescript/commonjs/icons/primitives/icon-primitives.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/primitives/index.d.ts +9 -0
- package/lib/typescript/commonjs/icons/primitives/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/index.d.ts +28 -0
- package/lib/typescript/commonjs/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/license/FeatureGate.d.ts +123 -0
- package/lib/typescript/commonjs/license/FeatureGate.d.ts.map +1 -0
- package/lib/typescript/commonjs/license/LicenseEntryModal.d.ts +69 -0
- package/lib/typescript/commonjs/license/LicenseEntryModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/license/ManageDevicesModal.d.ts +23 -0
- package/lib/typescript/commonjs/license/ManageDevicesModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/license/index.d.ts +7 -0
- package/lib/typescript/commonjs/license/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/logger/index-sentry.d.ts +68 -0
- package/lib/typescript/commonjs/logger/index-sentry.d.ts.map +1 -0
- package/lib/typescript/commonjs/logger/index.d.ts +5 -0
- package/lib/typescript/commonjs/logger/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/logger/logDump.d.ts +5 -0
- package/lib/typescript/commonjs/logger/logDump.d.ts.map +1 -0
- package/lib/typescript/commonjs/logger/types.d.ts +100 -0
- package/lib/typescript/commonjs/logger/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/settings/components/BubbleSettingsSection.d.ts +19 -0
- package/lib/typescript/commonjs/settings/components/BubbleSettingsSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/settings/index.d.ts +2 -0
- package/lib/typescript/commonjs/settings/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/storage/devToolsStorageKeys.d.ts +173 -0
- package/lib/typescript/commonjs/storage/devToolsStorageKeys.d.ts.map +1 -0
- package/lib/typescript/commonjs/storage/index.d.ts +2 -0
- package/lib/typescript/commonjs/storage/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/index.d.ts +2 -0
- package/lib/typescript/commonjs/types/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/types.d.ts +8 -0
- package/lib/typescript/commonjs/types/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/BackButton.d.ts +10 -0
- package/lib/typescript/commonjs/ui/components/BackButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/Badge.d.ts +41 -0
- package/lib/typescript/commonjs/ui/components/Badge.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ClipboardHintBanner.d.ts +17 -0
- package/lib/typescript/commonjs/ui/components/ClipboardHintBanner.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/CollapsibleSection.d.ts +35 -0
- package/lib/typescript/commonjs/ui/components/CollapsibleSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/CompactFilterChips.d.ts +23 -0
- package/lib/typescript/commonjs/ui/components/CompactFilterChips.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/CompactRow.d.ts +21 -0
- package/lib/typescript/commonjs/ui/components/CompactRow.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/CopyButton.d.ts +41 -0
- package/lib/typescript/commonjs/ui/components/CopyButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/DataInspector.d.ts +35 -0
- package/lib/typescript/commonjs/ui/components/DataInspector.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/DetailView.d.ts +68 -0
- package/lib/typescript/commonjs/ui/components/DetailView.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/Divider.d.ts +2 -0
- package/lib/typescript/commonjs/ui/components/Divider.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/DraggableHeader.d.ts +35 -0
- package/lib/typescript/commonjs/ui/components/DraggableHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/DynamicFilterView.d.ts +91 -0
- package/lib/typescript/commonjs/ui/components/DynamicFilterView.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EmptyState.d.ts +43 -0
- package/lib/typescript/commonjs/ui/components/EmptyState.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ErrorBoundary.d.ts +18 -0
- package/lib/typescript/commonjs/ui/components/ErrorBoundary.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/CompareBar.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/CompareBar.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/DiffModeTabs.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/DiffModeTabs.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/EventHistoryViewer.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/EventHistoryViewer.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/EventPickerModal.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/EventPickerModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/ViewToggleCards.d.ts +14 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/ViewToggleCards.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/index.d.ts +13 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/types.d.ts +216 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventListItem.d.ts +65 -0
- package/lib/typescript/commonjs/ui/components/EventListItem.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventStepperFooter.d.ts +32 -0
- package/lib/typescript/commonjs/ui/components/EventStepperFooter.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ExpandablePopover.d.ts +34 -0
- package/lib/typescript/commonjs/ui/components/ExpandablePopover.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ExpandableSection.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/ExpandableSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ExpandableSectionHeader.d.ts +13 -0
- package/lib/typescript/commonjs/ui/components/ExpandableSectionHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ExpandableSectionWithModal.d.ts +18 -0
- package/lib/typescript/commonjs/ui/components/ExpandableSectionWithModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/FilterComponents.d.ts +38 -0
- package/lib/typescript/commonjs/ui/components/FilterComponents.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/FilterViewPattern.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/FilterViewPattern.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/HeaderSearchButton.d.ts +9 -0
- package/lib/typescript/commonjs/ui/components/HeaderSearchButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ListItem.d.ts +49 -0
- package/lib/typescript/commonjs/ui/components/ListItem.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ModalHeader.d.ts +34 -0
- package/lib/typescript/commonjs/ui/components/ModalHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ModalHintBanner.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/ModalHintBanner.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/SearchBar.d.ts +32 -0
- package/lib/typescript/commonjs/ui/components/SearchBar.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/SectionHeader.d.ts +33 -0
- package/lib/typescript/commonjs/ui/components/SectionHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/StatsCard.d.ts +45 -0
- package/lib/typescript/commonjs/ui/components/StatsCard.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/StatusIndicator.d.ts +40 -0
- package/lib/typescript/commonjs/ui/components/StatusIndicator.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/StorageTypeBadge.d.ts +9 -0
- package/lib/typescript/commonjs/ui/components/StorageTypeBadge.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/TabSelector.d.ts +12 -0
- package/lib/typescript/commonjs/ui/components/TabSelector.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/TimeDisplay.d.ts +30 -0
- package/lib/typescript/commonjs/ui/components/TimeDisplay.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/TypeBadge.d.ts +6 -0
- package/lib/typescript/commonjs/ui/components/TypeBadge.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ValueTypeBadge.d.ts +10 -0
- package/lib/typescript/commonjs/ui/components/ValueTypeBadge.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/WindowControls.d.ts +19 -0
- package/lib/typescript/commonjs/ui/components/WindowControls.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/index.d.ts +36 -0
- package/lib/typescript/commonjs/ui/components/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/types.d.ts +3 -0
- package/lib/typescript/commonjs/ui/components/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/console/BubbleSettingsModal.d.ts +11 -0
- package/lib/typescript/commonjs/ui/console/BubbleSettingsModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/console/ConsoleSection.d.ts +19 -0
- package/lib/typescript/commonjs/ui/console/ConsoleSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/console/CyberpunkButtonOutline.d.ts +12 -0
- package/lib/typescript/commonjs/ui/console/CyberpunkButtonOutline.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/console/CyberpunkConsoleSection.d.ts +17 -0
- package/lib/typescript/commonjs/ui/console/CyberpunkConsoleSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/console/CyberpunkIconContainer.d.ts +9 -0
- package/lib/typescript/commonjs/ui/console/CyberpunkIconContainer.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/console/CyberpunkSectionButton.d.ts +14 -0
- package/lib/typescript/commonjs/ui/console/CyberpunkSectionButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/console/GalaxyButton.d.ts +10 -0
- package/lib/typescript/commonjs/ui/console/GalaxyButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/console/index.d.ts +2 -0
- package/lib/typescript/commonjs/ui/console/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/gameUI/components/GameUICollapsibleSection.d.ts +24 -0
- package/lib/typescript/commonjs/ui/gameUI/components/GameUICollapsibleSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/gameUI/components/GameUICompactStats.d.ts +40 -0
- package/lib/typescript/commonjs/ui/gameUI/components/GameUICompactStats.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/gameUI/components/GameUIIssuesList.d.ts +29 -0
- package/lib/typescript/commonjs/ui/gameUI/components/GameUIIssuesList.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/gameUI/components/GameUIStatusHeader.d.ts +16 -0
- package/lib/typescript/commonjs/ui/gameUI/components/GameUIStatusHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/gameUI/constants/gameUIColors.d.ts +103 -0
- package/lib/typescript/commonjs/ui/gameUI/constants/gameUIColors.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/gameUI/constants/macOSDesignSystemColors.d.ts +157 -0
- package/lib/typescript/commonjs/ui/gameUI/constants/macOSDesignSystemColors.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/gameUI/hooks/useGameUIAlertState.d.ts +37 -0
- package/lib/typescript/commonjs/ui/gameUI/hooks/useGameUIAlertState.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/gameUI/index.d.ts +18 -0
- package/lib/typescript/commonjs/ui/gameUI/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/index.d.ts +4 -0
- package/lib/typescript/commonjs/ui/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/displayValue.d.ts +16 -0
- package/lib/typescript/commonjs/utils/displayValue.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/formatting/dataFormatting.d.ts +31 -0
- package/lib/typescript/commonjs/utils/formatting/dataFormatting.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/formatting/httpFormatting.d.ts +34 -0
- package/lib/typescript/commonjs/utils/formatting/httpFormatting.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/formatting/index.d.ts +6 -0
- package/lib/typescript/commonjs/utils/formatting/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/getSafeAreaInsets.d.ts +14 -0
- package/lib/typescript/commonjs/utils/getSafeAreaInsets.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/index.d.ts +9 -0
- package/lib/typescript/commonjs/utils/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/loadOptionalModule.d.ts +27 -0
- package/lib/typescript/commonjs/utils/loadOptionalModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/minimalSuperJSON.d.ts +18 -0
- package/lib/typescript/commonjs/utils/minimalSuperJSON.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/persistentStorage.d.ts +45 -0
- package/lib/typescript/commonjs/utils/persistentStorage.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/safeAsyncStorage.d.ts +35 -0
- package/lib/typescript/commonjs/utils/safeAsyncStorage.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/safeStringify.d.ts +49 -0
- package/lib/typescript/commonjs/utils/safeStringify.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/time/formatRelativeTime.d.ts +8 -0
- package/lib/typescript/commonjs/utils/time/formatRelativeTime.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/time/index.d.ts +2 -0
- package/lib/typescript/commonjs/utils/time/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/typeHelpers.d.ts +52 -0
- package/lib/typescript/commonjs/utils/typeHelpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/valueFormatting.d.ts +39 -0
- package/lib/typescript/commonjs/utils/valueFormatting.d.ts.map +1 -0
- package/lib/typescript/module/JsModal.d.ts +78 -0
- package/lib/typescript/module/JsModal.d.ts.map +1 -0
- package/lib/typescript/module/clipboard/autoDetectClipboard.d.ts +31 -0
- package/lib/typescript/module/clipboard/autoDetectClipboard.d.ts.map +1 -0
- package/lib/typescript/module/clipboard/clipboard-impl.d.ts +16 -0
- package/lib/typescript/module/clipboard/clipboard-impl.d.ts.map +1 -0
- package/lib/typescript/module/clipboard/copyToClipboard.d.ts +11 -0
- package/lib/typescript/module/clipboard/copyToClipboard.d.ts.map +1 -0
- package/lib/typescript/module/clipboard/index.d.ts +4 -0
- package/lib/typescript/module/clipboard/index.d.ts.map +1 -0
- package/lib/typescript/module/context/HintsContext.d.ts +30 -0
- package/lib/typescript/module/context/HintsContext.d.ts.map +1 -0
- package/lib/typescript/module/context/index.d.ts +2 -0
- package/lib/typescript/module/context/index.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/CyberpunkInput.d.ts +13 -0
- package/lib/typescript/module/dataViewer/CyberpunkInput.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/DataViewer.d.ts +24 -0
- package/lib/typescript/module/dataViewer/DataViewer.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/DiffSummary.d.ts +26 -0
- package/lib/typescript/module/dataViewer/DiffSummary.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/IndentGuides.d.ts +16 -0
- package/lib/typescript/module/dataViewer/IndentGuides.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/IndentGuidesOverlay.d.ts +19 -0
- package/lib/typescript/module/dataViewer/IndentGuidesOverlay.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/SplitDiffViewer.d.ts +40 -0
- package/lib/typescript/module/dataViewer/SplitDiffViewer.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/TypeLegend.d.ts +18 -0
- package/lib/typescript/module/dataViewer/TypeLegend.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/VirtualizedDataExplorer.d.ts +14 -0
- package/lib/typescript/module/dataViewer/VirtualizedDataExplorer.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/diffThemes.d.ts +62 -0
- package/lib/typescript/module/dataViewer/diffThemes.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/index.d.ts +14 -0
- package/lib/typescript/module/dataViewer/index.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/lineDiff.d.ts +36 -0
- package/lib/typescript/module/dataViewer/lineDiff.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/tree/TreeDiffViewer.d.ts +24 -0
- package/lib/typescript/module/dataViewer/tree/TreeDiffViewer.d.ts.map +1 -0
- package/lib/typescript/module/env/EnvironmentIndicator.d.ts +12 -0
- package/lib/typescript/module/env/EnvironmentIndicator.d.ts.map +1 -0
- package/lib/typescript/module/env/EnvironmentSelector.d.ts +18 -0
- package/lib/typescript/module/env/EnvironmentSelector.d.ts.map +1 -0
- package/lib/typescript/module/env/EnvironmentSelectorInline.d.ts +12 -0
- package/lib/typescript/module/env/EnvironmentSelectorInline.d.ts.map +1 -0
- package/lib/typescript/module/hooks/index.d.ts +5 -0
- package/lib/typescript/module/hooks/index.d.ts.map +1 -0
- package/lib/typescript/module/hooks/safe-area-impl.d.ts +24 -0
- package/lib/typescript/module/hooks/safe-area-impl.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useDeviceInfo.d.ts +125 -0
- package/lib/typescript/module/hooks/useDeviceInfo.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useFilterManager.d.ts +59 -0
- package/lib/typescript/module/hooks/useFilterManager.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useSafeAreaInsets.d.ts +113 -0
- package/lib/typescript/module/hooks/useSafeAreaInsets.d.ts.map +1 -0
- package/lib/typescript/module/icons/BenchmarkIcon.d.ts +14 -0
- package/lib/typescript/module/icons/BenchmarkIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/EnvLaptopIcon.d.ts +14 -0
- package/lib/typescript/module/icons/EnvLaptopIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/IconBackground.d.ts +10 -0
- package/lib/typescript/module/icons/IconBackground.d.ts.map +1 -0
- package/lib/typescript/module/icons/ReactQueryIcon.d.ts +12 -0
- package/lib/typescript/module/icons/ReactQueryIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/RenderCountIcon.d.ts +14 -0
- package/lib/typescript/module/icons/RenderCountIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/RouteMapIcon.d.ts +14 -0
- package/lib/typescript/module/icons/RouteMapIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/SentryBugIcon.d.ts +12 -0
- package/lib/typescript/module/icons/SentryBugIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/StackPulseIcon.d.ts +11 -0
- package/lib/typescript/module/icons/StackPulseIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/StorageStackIcon.d.ts +12 -0
- package/lib/typescript/module/icons/StorageStackIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/WifiCircuitIcon.d.ts +15 -0
- package/lib/typescript/module/icons/WifiCircuitIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/index.d.ts +15 -0
- package/lib/typescript/module/icons/index.d.ts.map +1 -0
- package/lib/typescript/module/icons/lucide-icons-original-full.d.ts +148 -0
- package/lib/typescript/module/icons/lucide-icons-original-full.d.ts.map +1 -0
- package/lib/typescript/module/icons/lucide-icons.d.ts +170 -0
- package/lib/typescript/module/icons/lucide-icons.d.ts.map +1 -0
- package/lib/typescript/module/icons/primitives/GlobeIcon.d.ts +15 -0
- package/lib/typescript/module/icons/primitives/GlobeIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/primitives/icon-primitives.d.ts +92 -0
- package/lib/typescript/module/icons/primitives/icon-primitives.d.ts.map +1 -0
- package/lib/typescript/module/icons/primitives/index.d.ts +9 -0
- package/lib/typescript/module/icons/primitives/index.d.ts.map +1 -0
- package/lib/typescript/module/index.d.ts +28 -0
- package/lib/typescript/module/index.d.ts.map +1 -0
- package/lib/typescript/module/license/FeatureGate.d.ts +123 -0
- package/lib/typescript/module/license/FeatureGate.d.ts.map +1 -0
- package/lib/typescript/module/license/LicenseEntryModal.d.ts +69 -0
- package/lib/typescript/module/license/LicenseEntryModal.d.ts.map +1 -0
- package/lib/typescript/module/license/ManageDevicesModal.d.ts +23 -0
- package/lib/typescript/module/license/ManageDevicesModal.d.ts.map +1 -0
- package/lib/typescript/module/license/index.d.ts +7 -0
- package/lib/typescript/module/license/index.d.ts.map +1 -0
- package/lib/typescript/module/logger/index-sentry.d.ts +68 -0
- package/lib/typescript/module/logger/index-sentry.d.ts.map +1 -0
- package/lib/typescript/module/logger/index.d.ts +5 -0
- package/lib/typescript/module/logger/index.d.ts.map +1 -0
- package/lib/typescript/module/logger/logDump.d.ts +5 -0
- package/lib/typescript/module/logger/logDump.d.ts.map +1 -0
- package/lib/typescript/module/logger/types.d.ts +100 -0
- package/lib/typescript/module/logger/types.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/settings/components/BubbleSettingsSection.d.ts +19 -0
- package/lib/typescript/module/settings/components/BubbleSettingsSection.d.ts.map +1 -0
- package/lib/typescript/module/settings/index.d.ts +2 -0
- package/lib/typescript/module/settings/index.d.ts.map +1 -0
- package/lib/typescript/module/storage/devToolsStorageKeys.d.ts +173 -0
- package/lib/typescript/module/storage/devToolsStorageKeys.d.ts.map +1 -0
- package/lib/typescript/module/storage/index.d.ts +2 -0
- package/lib/typescript/module/storage/index.d.ts.map +1 -0
- package/lib/typescript/module/types/index.d.ts +2 -0
- package/lib/typescript/module/types/index.d.ts.map +1 -0
- package/lib/typescript/module/types/types.d.ts +8 -0
- package/lib/typescript/module/types/types.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/BackButton.d.ts +10 -0
- package/lib/typescript/module/ui/components/BackButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/Badge.d.ts +41 -0
- package/lib/typescript/module/ui/components/Badge.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ClipboardHintBanner.d.ts +17 -0
- package/lib/typescript/module/ui/components/ClipboardHintBanner.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/CollapsibleSection.d.ts +35 -0
- package/lib/typescript/module/ui/components/CollapsibleSection.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/CompactFilterChips.d.ts +23 -0
- package/lib/typescript/module/ui/components/CompactFilterChips.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/CompactRow.d.ts +21 -0
- package/lib/typescript/module/ui/components/CompactRow.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/CopyButton.d.ts +41 -0
- package/lib/typescript/module/ui/components/CopyButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/DataInspector.d.ts +35 -0
- package/lib/typescript/module/ui/components/DataInspector.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/DetailView.d.ts +68 -0
- package/lib/typescript/module/ui/components/DetailView.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/Divider.d.ts +2 -0
- package/lib/typescript/module/ui/components/Divider.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/DraggableHeader.d.ts +35 -0
- package/lib/typescript/module/ui/components/DraggableHeader.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/DynamicFilterView.d.ts +91 -0
- package/lib/typescript/module/ui/components/DynamicFilterView.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EmptyState.d.ts +43 -0
- package/lib/typescript/module/ui/components/EmptyState.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ErrorBoundary.d.ts +18 -0
- package/lib/typescript/module/ui/components/ErrorBoundary.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/CompareBar.d.ts +15 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/CompareBar.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/DiffModeTabs.d.ts +15 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/DiffModeTabs.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/EventHistoryViewer.d.ts +15 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/EventHistoryViewer.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/EventPickerModal.d.ts +15 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/EventPickerModal.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/ViewToggleCards.d.ts +14 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/ViewToggleCards.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/index.d.ts +13 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/types.d.ts +216 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/types.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventListItem.d.ts +65 -0
- package/lib/typescript/module/ui/components/EventListItem.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventStepperFooter.d.ts +32 -0
- package/lib/typescript/module/ui/components/EventStepperFooter.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ExpandablePopover.d.ts +34 -0
- package/lib/typescript/module/ui/components/ExpandablePopover.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ExpandableSection.d.ts +15 -0
- package/lib/typescript/module/ui/components/ExpandableSection.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ExpandableSectionHeader.d.ts +13 -0
- package/lib/typescript/module/ui/components/ExpandableSectionHeader.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ExpandableSectionWithModal.d.ts +18 -0
- package/lib/typescript/module/ui/components/ExpandableSectionWithModal.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/FilterComponents.d.ts +38 -0
- package/lib/typescript/module/ui/components/FilterComponents.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/FilterViewPattern.d.ts +15 -0
- package/lib/typescript/module/ui/components/FilterViewPattern.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/HeaderSearchButton.d.ts +9 -0
- package/lib/typescript/module/ui/components/HeaderSearchButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ListItem.d.ts +49 -0
- package/lib/typescript/module/ui/components/ListItem.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ModalHeader.d.ts +34 -0
- package/lib/typescript/module/ui/components/ModalHeader.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ModalHintBanner.d.ts +15 -0
- package/lib/typescript/module/ui/components/ModalHintBanner.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/SearchBar.d.ts +32 -0
- package/lib/typescript/module/ui/components/SearchBar.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/SectionHeader.d.ts +33 -0
- package/lib/typescript/module/ui/components/SectionHeader.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/StatsCard.d.ts +45 -0
- package/lib/typescript/module/ui/components/StatsCard.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/StatusIndicator.d.ts +40 -0
- package/lib/typescript/module/ui/components/StatusIndicator.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/StorageTypeBadge.d.ts +9 -0
- package/lib/typescript/module/ui/components/StorageTypeBadge.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/TabSelector.d.ts +12 -0
- package/lib/typescript/module/ui/components/TabSelector.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/TimeDisplay.d.ts +30 -0
- package/lib/typescript/module/ui/components/TimeDisplay.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/TypeBadge.d.ts +6 -0
- package/lib/typescript/module/ui/components/TypeBadge.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ValueTypeBadge.d.ts +10 -0
- package/lib/typescript/module/ui/components/ValueTypeBadge.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/WindowControls.d.ts +19 -0
- package/lib/typescript/module/ui/components/WindowControls.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/index.d.ts +36 -0
- package/lib/typescript/module/ui/components/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/types.d.ts +3 -0
- package/lib/typescript/module/ui/components/types.d.ts.map +1 -0
- package/lib/typescript/module/ui/console/BubbleSettingsModal.d.ts +11 -0
- package/lib/typescript/module/ui/console/BubbleSettingsModal.d.ts.map +1 -0
- package/lib/typescript/module/ui/console/ConsoleSection.d.ts +19 -0
- package/lib/typescript/module/ui/console/ConsoleSection.d.ts.map +1 -0
- package/lib/typescript/module/ui/console/CyberpunkButtonOutline.d.ts +12 -0
- package/lib/typescript/module/ui/console/CyberpunkButtonOutline.d.ts.map +1 -0
- package/lib/typescript/module/ui/console/CyberpunkConsoleSection.d.ts +17 -0
- package/lib/typescript/module/ui/console/CyberpunkConsoleSection.d.ts.map +1 -0
- package/lib/typescript/module/ui/console/CyberpunkIconContainer.d.ts +9 -0
- package/lib/typescript/module/ui/console/CyberpunkIconContainer.d.ts.map +1 -0
- package/lib/typescript/module/ui/console/CyberpunkSectionButton.d.ts +14 -0
- package/lib/typescript/module/ui/console/CyberpunkSectionButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/console/GalaxyButton.d.ts +10 -0
- package/lib/typescript/module/ui/console/GalaxyButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/console/index.d.ts +2 -0
- package/lib/typescript/module/ui/console/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/gameUI/components/GameUICollapsibleSection.d.ts +24 -0
- package/lib/typescript/module/ui/gameUI/components/GameUICollapsibleSection.d.ts.map +1 -0
- package/lib/typescript/module/ui/gameUI/components/GameUICompactStats.d.ts +40 -0
- package/lib/typescript/module/ui/gameUI/components/GameUICompactStats.d.ts.map +1 -0
- package/lib/typescript/module/ui/gameUI/components/GameUIIssuesList.d.ts +29 -0
- package/lib/typescript/module/ui/gameUI/components/GameUIIssuesList.d.ts.map +1 -0
- package/lib/typescript/module/ui/gameUI/components/GameUIStatusHeader.d.ts +16 -0
- package/lib/typescript/module/ui/gameUI/components/GameUIStatusHeader.d.ts.map +1 -0
- package/lib/typescript/module/ui/gameUI/constants/gameUIColors.d.ts +103 -0
- package/lib/typescript/module/ui/gameUI/constants/gameUIColors.d.ts.map +1 -0
- package/lib/typescript/module/ui/gameUI/constants/macOSDesignSystemColors.d.ts +157 -0
- package/lib/typescript/module/ui/gameUI/constants/macOSDesignSystemColors.d.ts.map +1 -0
- package/lib/typescript/module/ui/gameUI/hooks/useGameUIAlertState.d.ts +37 -0
- package/lib/typescript/module/ui/gameUI/hooks/useGameUIAlertState.d.ts.map +1 -0
- package/lib/typescript/module/ui/gameUI/index.d.ts +18 -0
- package/lib/typescript/module/ui/gameUI/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/index.d.ts +4 -0
- package/lib/typescript/module/ui/index.d.ts.map +1 -0
- package/lib/typescript/module/utils/displayValue.d.ts +16 -0
- package/lib/typescript/module/utils/displayValue.d.ts.map +1 -0
- package/lib/typescript/module/utils/formatting/dataFormatting.d.ts +31 -0
- package/lib/typescript/module/utils/formatting/dataFormatting.d.ts.map +1 -0
- package/lib/typescript/module/utils/formatting/httpFormatting.d.ts +34 -0
- package/lib/typescript/module/utils/formatting/httpFormatting.d.ts.map +1 -0
- package/lib/typescript/module/utils/formatting/index.d.ts +6 -0
- package/lib/typescript/module/utils/formatting/index.d.ts.map +1 -0
- package/lib/typescript/module/utils/getSafeAreaInsets.d.ts +14 -0
- package/lib/typescript/module/utils/getSafeAreaInsets.d.ts.map +1 -0
- package/lib/typescript/module/utils/index.d.ts +9 -0
- package/lib/typescript/module/utils/index.d.ts.map +1 -0
- package/lib/typescript/module/utils/loadOptionalModule.d.ts +27 -0
- package/lib/typescript/module/utils/loadOptionalModule.d.ts.map +1 -0
- package/lib/typescript/module/utils/minimalSuperJSON.d.ts +18 -0
- package/lib/typescript/module/utils/minimalSuperJSON.d.ts.map +1 -0
- package/lib/typescript/module/utils/persistentStorage.d.ts +45 -0
- package/lib/typescript/module/utils/persistentStorage.d.ts.map +1 -0
- package/lib/typescript/module/utils/safeAsyncStorage.d.ts +35 -0
- package/lib/typescript/module/utils/safeAsyncStorage.d.ts.map +1 -0
- package/lib/typescript/module/utils/safeStringify.d.ts +49 -0
- package/lib/typescript/module/utils/safeStringify.d.ts.map +1 -0
- package/lib/typescript/module/utils/time/formatRelativeTime.d.ts +8 -0
- package/lib/typescript/module/utils/time/formatRelativeTime.d.ts.map +1 -0
- package/lib/typescript/module/utils/time/index.d.ts +2 -0
- package/lib/typescript/module/utils/time/index.d.ts.map +1 -0
- package/lib/typescript/module/utils/typeHelpers.d.ts +52 -0
- package/lib/typescript/module/utils/typeHelpers.d.ts.map +1 -0
- package/lib/typescript/module/utils/valueFormatting.d.ts +39 -0
- package/lib/typescript/module/utils/valueFormatting.d.ts.map +1 -0
- package/package.json +172 -0
- package/scripts/detect-clipboard.js +137 -0
- package/scripts/detect-safe-area.js +130 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.BackButton = BackButton;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
var _index = require("../../icons/index.js");
|
|
9
|
+
var _gameUIColors = require("../gameUI/constants/gameUIColors.js");
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
function BackButton({
|
|
12
|
+
onPress,
|
|
13
|
+
color = _gameUIColors.gameUIColors.primary,
|
|
14
|
+
size = 16,
|
|
15
|
+
accessibilityLabel = "Go back",
|
|
16
|
+
accessibilityHint = "Return to previous screen"
|
|
17
|
+
}) {
|
|
18
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Pressable, {
|
|
19
|
+
"sentry-label": "ignore back button",
|
|
20
|
+
onPress: onPress,
|
|
21
|
+
style: styles.button,
|
|
22
|
+
hitSlop: {
|
|
23
|
+
top: 6,
|
|
24
|
+
bottom: 6,
|
|
25
|
+
left: 6,
|
|
26
|
+
right: 6
|
|
27
|
+
},
|
|
28
|
+
accessibilityLabel: accessibilityLabel,
|
|
29
|
+
accessibilityHint: accessibilityHint,
|
|
30
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.ChevronLeft, {
|
|
31
|
+
color: color,
|
|
32
|
+
size: size
|
|
33
|
+
})
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
const styles = _reactNative.StyleSheet.create({
|
|
37
|
+
button: {
|
|
38
|
+
width: 28,
|
|
39
|
+
height: 28,
|
|
40
|
+
borderRadius: 6,
|
|
41
|
+
backgroundColor: _gameUIColors.gameUIColors.secondary + "1A",
|
|
42
|
+
justifyContent: "center",
|
|
43
|
+
alignItems: "center",
|
|
44
|
+
borderWidth: 1,
|
|
45
|
+
borderColor: _gameUIColors.gameUIColors.secondary + "33"
|
|
46
|
+
}
|
|
47
|
+
});
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Badge = Badge;
|
|
7
|
+
exports.CountBadge = CountBadge;
|
|
8
|
+
exports.MethodBadge = MethodBadge;
|
|
9
|
+
exports.StatusBadge = StatusBadge;
|
|
10
|
+
exports.TypeBadge = TypeBadge;
|
|
11
|
+
var _reactNative = require("react-native");
|
|
12
|
+
var _gameUIColors = require("../gameUI/constants/gameUIColors.js");
|
|
13
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
|
+
// Badge variants
|
|
15
|
+
|
|
16
|
+
// Color mapping for common statuses - using Buoy theme colors
|
|
17
|
+
const STATUS_COLORS = {
|
|
18
|
+
success: _gameUIColors.buoyColors.success,
|
|
19
|
+
error: _gameUIColors.buoyColors.error,
|
|
20
|
+
warning: _gameUIColors.buoyColors.warning,
|
|
21
|
+
info: _gameUIColors.buoyColors.primary,
|
|
22
|
+
pending: _gameUIColors.buoyColors.textSecondary,
|
|
23
|
+
active: _gameUIColors.buoyColors.success,
|
|
24
|
+
inactive: _gameUIColors.buoyColors.textMuted,
|
|
25
|
+
stale: _gameUIColors.buoyColors.warning,
|
|
26
|
+
fetching: _gameUIColors.buoyColors.primary
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
// Color mapping for HTTP methods - using Buoy theme colors
|
|
30
|
+
const METHOD_COLORS = {
|
|
31
|
+
GET: _gameUIColors.buoyColors.success,
|
|
32
|
+
POST: _gameUIColors.buoyColors.primary,
|
|
33
|
+
PUT: _gameUIColors.buoyColors.warning,
|
|
34
|
+
PATCH: _gameUIColors.buoyColors.textSecondary,
|
|
35
|
+
DELETE: _gameUIColors.buoyColors.error,
|
|
36
|
+
HEAD: _gameUIColors.buoyColors.textMuted,
|
|
37
|
+
OPTIONS: _gameUIColors.buoyColors.primary
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
// Base Badge component
|
|
41
|
+
|
|
42
|
+
function Badge({
|
|
43
|
+
children,
|
|
44
|
+
variant = "default",
|
|
45
|
+
color = "#E5E7EB",
|
|
46
|
+
size = "medium",
|
|
47
|
+
style
|
|
48
|
+
}) {
|
|
49
|
+
const badgeStyles = getBadgeStyles(variant, color, size);
|
|
50
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
51
|
+
style: [badgeStyles.container, style],
|
|
52
|
+
children: children
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// Status Badge for success/error/warning states
|
|
57
|
+
|
|
58
|
+
function StatusBadge({
|
|
59
|
+
status,
|
|
60
|
+
size = "medium",
|
|
61
|
+
style
|
|
62
|
+
}) {
|
|
63
|
+
const color = STATUS_COLORS[status.toLowerCase()] || "#6B7280";
|
|
64
|
+
const badgeStyles = getBadgeStyles("status", color, size);
|
|
65
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
66
|
+
style: [badgeStyles.container, style],
|
|
67
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
68
|
+
style: [styles.statusDot, {
|
|
69
|
+
backgroundColor: color
|
|
70
|
+
}]
|
|
71
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
72
|
+
style: [badgeStyles.text, {
|
|
73
|
+
color
|
|
74
|
+
}],
|
|
75
|
+
children: status.charAt(0).toUpperCase() + status.slice(1)
|
|
76
|
+
})]
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
// Count Badge for displaying numbers
|
|
81
|
+
|
|
82
|
+
function CountBadge({
|
|
83
|
+
count,
|
|
84
|
+
color = _gameUIColors.buoyColors.primary,
|
|
85
|
+
size = "small",
|
|
86
|
+
style,
|
|
87
|
+
maxCount = 99
|
|
88
|
+
}) {
|
|
89
|
+
const displayCount = typeof count === "number" && count > maxCount ? `${maxCount}+` : count;
|
|
90
|
+
const badgeStyles = getBadgeStyles("count", color, size);
|
|
91
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
92
|
+
style: [badgeStyles.container, styles.countBadge, style],
|
|
93
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
94
|
+
style: [badgeStyles.text, {
|
|
95
|
+
color
|
|
96
|
+
}],
|
|
97
|
+
children: displayCount
|
|
98
|
+
})
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// Type Badge for data types
|
|
103
|
+
|
|
104
|
+
function TypeBadge({
|
|
105
|
+
type,
|
|
106
|
+
color,
|
|
107
|
+
size = "small",
|
|
108
|
+
style
|
|
109
|
+
}) {
|
|
110
|
+
const typeColor = color || getTypeColor(type);
|
|
111
|
+
const badgeStyles = getBadgeStyles("type", typeColor, size);
|
|
112
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
113
|
+
style: [badgeStyles.container, style],
|
|
114
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
115
|
+
style: [badgeStyles.text, {
|
|
116
|
+
color: typeColor
|
|
117
|
+
}],
|
|
118
|
+
children: type
|
|
119
|
+
})
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
// Method Badge for HTTP methods
|
|
124
|
+
|
|
125
|
+
function MethodBadge({
|
|
126
|
+
method,
|
|
127
|
+
size = "medium",
|
|
128
|
+
style
|
|
129
|
+
}) {
|
|
130
|
+
const color = METHOD_COLORS[method.toUpperCase()] || "#6B7280";
|
|
131
|
+
const badgeStyles = getBadgeStyles("method", color, size);
|
|
132
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
133
|
+
style: [badgeStyles.container, styles.methodBadge, style],
|
|
134
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
135
|
+
style: [badgeStyles.text, styles.methodText, {
|
|
136
|
+
color
|
|
137
|
+
}],
|
|
138
|
+
children: method.toUpperCase()
|
|
139
|
+
})
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
// Helper function to get badge styles
|
|
144
|
+
function getBadgeStyles(variant, color, size) {
|
|
145
|
+
const isOutline = variant === "outline";
|
|
146
|
+
const backgroundColor = isOutline ? "transparent" : `${color}15`;
|
|
147
|
+
const borderColor = `${color}40`;
|
|
148
|
+
const sizeStyles = {
|
|
149
|
+
small: {
|
|
150
|
+
paddingHorizontal: 6,
|
|
151
|
+
paddingVertical: 2,
|
|
152
|
+
fontSize: 11
|
|
153
|
+
},
|
|
154
|
+
medium: {
|
|
155
|
+
paddingHorizontal: 8,
|
|
156
|
+
paddingVertical: 3,
|
|
157
|
+
fontSize: 12
|
|
158
|
+
},
|
|
159
|
+
large: {
|
|
160
|
+
paddingHorizontal: 10,
|
|
161
|
+
paddingVertical: 4,
|
|
162
|
+
fontSize: 14
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
const {
|
|
166
|
+
paddingHorizontal,
|
|
167
|
+
paddingVertical,
|
|
168
|
+
fontSize
|
|
169
|
+
} = sizeStyles[size];
|
|
170
|
+
return _reactNative.StyleSheet.create({
|
|
171
|
+
container: {
|
|
172
|
+
flexDirection: "row",
|
|
173
|
+
alignItems: "center",
|
|
174
|
+
backgroundColor,
|
|
175
|
+
borderColor,
|
|
176
|
+
borderWidth: 1,
|
|
177
|
+
borderRadius: variant === "count" ? 12 : 4,
|
|
178
|
+
paddingHorizontal,
|
|
179
|
+
paddingVertical
|
|
180
|
+
},
|
|
181
|
+
text: {
|
|
182
|
+
fontSize,
|
|
183
|
+
fontWeight: "600"
|
|
184
|
+
}
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
// Helper function to get type color - using Buoy theme
|
|
189
|
+
function getTypeColor(type) {
|
|
190
|
+
const typeColors = {
|
|
191
|
+
string: _gameUIColors.buoyColors.primary,
|
|
192
|
+
number: _gameUIColors.buoyColors.primary,
|
|
193
|
+
boolean: _gameUIColors.buoyColors.primary,
|
|
194
|
+
object: _gameUIColors.buoyColors.textSecondary,
|
|
195
|
+
array: _gameUIColors.buoyColors.textSecondary,
|
|
196
|
+
null: _gameUIColors.buoyColors.textMuted,
|
|
197
|
+
undefined: _gameUIColors.buoyColors.textMuted,
|
|
198
|
+
function: _gameUIColors.buoyColors.textSecondary
|
|
199
|
+
};
|
|
200
|
+
return typeColors[type.toLowerCase()] || _gameUIColors.buoyColors.textMuted;
|
|
201
|
+
}
|
|
202
|
+
const styles = _reactNative.StyleSheet.create({
|
|
203
|
+
statusDot: {
|
|
204
|
+
width: 6,
|
|
205
|
+
height: 6,
|
|
206
|
+
borderRadius: 3,
|
|
207
|
+
marginRight: 4
|
|
208
|
+
},
|
|
209
|
+
countBadge: {
|
|
210
|
+
minWidth: 20,
|
|
211
|
+
justifyContent: "center",
|
|
212
|
+
alignItems: "center"
|
|
213
|
+
},
|
|
214
|
+
methodBadge: {
|
|
215
|
+
minWidth: 45,
|
|
216
|
+
alignItems: "center"
|
|
217
|
+
},
|
|
218
|
+
methodText: {
|
|
219
|
+
fontWeight: "700"
|
|
220
|
+
}
|
|
221
|
+
});
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ClipboardHintBanner = void 0;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _index = require("../gameUI/index.js");
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
/**
|
|
12
|
+
* ClipboardHintBanner - A hint banner that shows users how to fix iOS Simulator clipboard sync
|
|
13
|
+
*
|
|
14
|
+
* Displays a dismissible hint to educate users about the iOS Simulator's
|
|
15
|
+
* "Automatically Sync Pasteboard" setting that needs to be toggled if copy doesn't work.
|
|
16
|
+
* Automatically manages storage to remember when the user acknowledges the hint.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* A modal hint that teaches users about iOS Simulator clipboard sync
|
|
21
|
+
*/
|
|
22
|
+
const ClipboardHintBanner = exports.ClipboardHintBanner = /*#__PURE__*/(0, _react.memo)(function ClipboardHintBanner({
|
|
23
|
+
visible,
|
|
24
|
+
onAcknowledge
|
|
25
|
+
}) {
|
|
26
|
+
const handleAcknowledge = (0, _react.useCallback)(() => {
|
|
27
|
+
onAcknowledge();
|
|
28
|
+
}, [onAcknowledge]);
|
|
29
|
+
if (!visible) return null;
|
|
30
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Modal, {
|
|
31
|
+
visible: visible,
|
|
32
|
+
transparent: true,
|
|
33
|
+
animationType: "fade",
|
|
34
|
+
onRequestClose: handleAcknowledge,
|
|
35
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Pressable, {
|
|
36
|
+
style: styles.overlay,
|
|
37
|
+
onPress: handleAcknowledge,
|
|
38
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Pressable, {
|
|
39
|
+
style: styles.container,
|
|
40
|
+
onPress: e => e.stopPropagation(),
|
|
41
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
42
|
+
style: styles.inner,
|
|
43
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
44
|
+
style: styles.iconContainer,
|
|
45
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
46
|
+
style: styles.iconText,
|
|
47
|
+
children: "\uD83D\uDCCB"
|
|
48
|
+
})
|
|
49
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
50
|
+
style: styles.messageContainer,
|
|
51
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
52
|
+
style: styles.messageTitle,
|
|
53
|
+
children: "Clipboard Tip"
|
|
54
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
55
|
+
style: styles.messageText,
|
|
56
|
+
children: ["Content copied! If paste doesn't work on your Mac, go to the iOS Simulator menu:", "\n\n", /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
57
|
+
style: styles.menuPath,
|
|
58
|
+
children: "Edit \u2192 Automatically Sync Pasteboard"
|
|
59
|
+
}), "\n\n", "Toggle it off and on again to fix the sync."]
|
|
60
|
+
})]
|
|
61
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
62
|
+
style: styles.acknowledgeButton,
|
|
63
|
+
onPress: handleAcknowledge,
|
|
64
|
+
activeOpacity: 0.7,
|
|
65
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
66
|
+
style: styles.acknowledgeButtonText,
|
|
67
|
+
children: "Got it!"
|
|
68
|
+
})
|
|
69
|
+
})]
|
|
70
|
+
})
|
|
71
|
+
})
|
|
72
|
+
})
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
const styles = _reactNative.StyleSheet.create({
|
|
76
|
+
overlay: {
|
|
77
|
+
flex: 1,
|
|
78
|
+
backgroundColor: "rgba(0, 0, 0, 0.6)",
|
|
79
|
+
justifyContent: "center",
|
|
80
|
+
alignItems: "center",
|
|
81
|
+
padding: 24
|
|
82
|
+
},
|
|
83
|
+
container: {
|
|
84
|
+
backgroundColor: _index.gameUIColors.panel,
|
|
85
|
+
borderLeftWidth: 3,
|
|
86
|
+
borderLeftColor: _index.gameUIColors.info,
|
|
87
|
+
borderRadius: 12,
|
|
88
|
+
overflow: "hidden",
|
|
89
|
+
shadowColor: _index.gameUIColors.info,
|
|
90
|
+
shadowOffset: {
|
|
91
|
+
width: 0,
|
|
92
|
+
height: 0
|
|
93
|
+
},
|
|
94
|
+
shadowOpacity: 0.4,
|
|
95
|
+
shadowRadius: 16,
|
|
96
|
+
elevation: 8,
|
|
97
|
+
maxWidth: 340
|
|
98
|
+
},
|
|
99
|
+
inner: {
|
|
100
|
+
padding: 20,
|
|
101
|
+
gap: 16,
|
|
102
|
+
alignItems: "center"
|
|
103
|
+
},
|
|
104
|
+
iconContainer: {
|
|
105
|
+
width: 48,
|
|
106
|
+
height: 48,
|
|
107
|
+
borderRadius: 24,
|
|
108
|
+
backgroundColor: `${_index.gameUIColors.info}20`,
|
|
109
|
+
justifyContent: "center",
|
|
110
|
+
alignItems: "center"
|
|
111
|
+
},
|
|
112
|
+
iconText: {
|
|
113
|
+
fontSize: 24
|
|
114
|
+
},
|
|
115
|
+
messageContainer: {
|
|
116
|
+
gap: 8
|
|
117
|
+
},
|
|
118
|
+
messageTitle: {
|
|
119
|
+
fontSize: 16,
|
|
120
|
+
fontWeight: "700",
|
|
121
|
+
color: _index.gameUIColors.info,
|
|
122
|
+
letterSpacing: 0.3,
|
|
123
|
+
textAlign: "center"
|
|
124
|
+
},
|
|
125
|
+
messageText: {
|
|
126
|
+
fontSize: 13,
|
|
127
|
+
color: _index.gameUIColors.primaryLight,
|
|
128
|
+
lineHeight: 20,
|
|
129
|
+
textAlign: "center"
|
|
130
|
+
},
|
|
131
|
+
menuPath: {
|
|
132
|
+
fontFamily: "monospace",
|
|
133
|
+
fontSize: 12,
|
|
134
|
+
color: _index.gameUIColors.primary,
|
|
135
|
+
fontWeight: "600"
|
|
136
|
+
},
|
|
137
|
+
acknowledgeButton: {
|
|
138
|
+
backgroundColor: _index.gameUIColors.info,
|
|
139
|
+
paddingHorizontal: 24,
|
|
140
|
+
paddingVertical: 10,
|
|
141
|
+
borderRadius: 8,
|
|
142
|
+
marginTop: 4
|
|
143
|
+
},
|
|
144
|
+
acknowledgeButtonText: {
|
|
145
|
+
fontSize: 14,
|
|
146
|
+
fontWeight: "700",
|
|
147
|
+
color: "#FFFFFF"
|
|
148
|
+
}
|
|
149
|
+
});
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.CollapsibleSection = CollapsibleSection;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _index = require("../../icons/index.js");
|
|
10
|
+
var _index2 = require("../gameUI/index.js");
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
+
function CollapsibleSection({
|
|
13
|
+
title,
|
|
14
|
+
children,
|
|
15
|
+
icon: Icon,
|
|
16
|
+
badge,
|
|
17
|
+
defaultOpen = false,
|
|
18
|
+
variant = "bordered",
|
|
19
|
+
style,
|
|
20
|
+
headerStyle,
|
|
21
|
+
titleStyle,
|
|
22
|
+
contentStyle,
|
|
23
|
+
onToggle
|
|
24
|
+
}) {
|
|
25
|
+
const [isOpen, setIsOpen] = (0, _react.useState)(defaultOpen);
|
|
26
|
+
const rotateAnim = (0, _react.useRef)(new _reactNative.Animated.Value(defaultOpen ? 1 : 0)).current;
|
|
27
|
+
const toggle = () => {
|
|
28
|
+
const newState = !isOpen;
|
|
29
|
+
setIsOpen(newState);
|
|
30
|
+
onToggle?.(newState);
|
|
31
|
+
_reactNative.Animated.timing(rotateAnim, {
|
|
32
|
+
toValue: newState ? 1 : 0,
|
|
33
|
+
duration: 200,
|
|
34
|
+
useNativeDriver: true
|
|
35
|
+
}).start();
|
|
36
|
+
};
|
|
37
|
+
const rotation = rotateAnim.interpolate({
|
|
38
|
+
inputRange: [0, 1],
|
|
39
|
+
outputRange: ["0deg", "180deg"]
|
|
40
|
+
});
|
|
41
|
+
const containerStyles = [styles.container, variant === "bordered" && styles.borderedVariant, variant === "card" && styles.cardVariant, style];
|
|
42
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
43
|
+
style: containerStyles,
|
|
44
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
|
|
45
|
+
style: [styles.header, headerStyle],
|
|
46
|
+
onPress: toggle,
|
|
47
|
+
activeOpacity: 0.7,
|
|
48
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
49
|
+
style: styles.headerLeft,
|
|
50
|
+
children: [Icon && /*#__PURE__*/(0, _jsxRuntime.jsx)(Icon, {
|
|
51
|
+
size: 16,
|
|
52
|
+
color: variant === "card" ? _index2.gameUIColors.primary : _index2.gameUIColors.secondary
|
|
53
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
54
|
+
style: [styles.title, titleStyle],
|
|
55
|
+
children: title
|
|
56
|
+
})]
|
|
57
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
58
|
+
style: styles.headerRight,
|
|
59
|
+
children: [badge !== undefined && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
60
|
+
style: styles.badgeContainer,
|
|
61
|
+
children: typeof badge === "string" || typeof badge === "number" ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
62
|
+
style: styles.badge,
|
|
63
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
64
|
+
style: styles.badgeText,
|
|
65
|
+
children: badge
|
|
66
|
+
})
|
|
67
|
+
}) : badge
|
|
68
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Animated.View, {
|
|
69
|
+
style: {
|
|
70
|
+
transform: [{
|
|
71
|
+
rotate: rotation
|
|
72
|
+
}]
|
|
73
|
+
},
|
|
74
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.ChevronDown, {
|
|
75
|
+
size: 16,
|
|
76
|
+
color: _index2.gameUIColors.secondary
|
|
77
|
+
})
|
|
78
|
+
})]
|
|
79
|
+
})]
|
|
80
|
+
}), isOpen && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
81
|
+
style: [styles.content, contentStyle],
|
|
82
|
+
children: children
|
|
83
|
+
})]
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
CollapsibleSection.Simple = function Simple({
|
|
87
|
+
title,
|
|
88
|
+
children,
|
|
89
|
+
defaultOpen
|
|
90
|
+
}) {
|
|
91
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(CollapsibleSection, {
|
|
92
|
+
title: title,
|
|
93
|
+
defaultOpen: defaultOpen,
|
|
94
|
+
variant: "plain",
|
|
95
|
+
children: children
|
|
96
|
+
});
|
|
97
|
+
};
|
|
98
|
+
CollapsibleSection.WithIcon = function WithIcon({
|
|
99
|
+
title,
|
|
100
|
+
icon,
|
|
101
|
+
children,
|
|
102
|
+
defaultOpen,
|
|
103
|
+
badge
|
|
104
|
+
}) {
|
|
105
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(CollapsibleSection, {
|
|
106
|
+
title: title,
|
|
107
|
+
icon: icon,
|
|
108
|
+
badge: badge,
|
|
109
|
+
defaultOpen: defaultOpen,
|
|
110
|
+
variant: "card",
|
|
111
|
+
children: children
|
|
112
|
+
});
|
|
113
|
+
};
|
|
114
|
+
const styles = _reactNative.StyleSheet.create({
|
|
115
|
+
container: {
|
|
116
|
+
marginBottom: 8
|
|
117
|
+
},
|
|
118
|
+
borderedVariant: {
|
|
119
|
+
borderWidth: 1,
|
|
120
|
+
borderColor: _index2.gameUIColors.border + "30",
|
|
121
|
+
borderRadius: 8,
|
|
122
|
+
overflow: "hidden"
|
|
123
|
+
},
|
|
124
|
+
cardVariant: {
|
|
125
|
+
backgroundColor: _index2.gameUIColors.panel,
|
|
126
|
+
borderRadius: 8,
|
|
127
|
+
overflow: "hidden"
|
|
128
|
+
},
|
|
129
|
+
header: {
|
|
130
|
+
flexDirection: "row",
|
|
131
|
+
justifyContent: "space-between",
|
|
132
|
+
alignItems: "center",
|
|
133
|
+
padding: 12
|
|
134
|
+
},
|
|
135
|
+
headerLeft: {
|
|
136
|
+
flexDirection: "row",
|
|
137
|
+
alignItems: "center",
|
|
138
|
+
flex: 1,
|
|
139
|
+
gap: 8
|
|
140
|
+
},
|
|
141
|
+
headerRight: {
|
|
142
|
+
flexDirection: "row",
|
|
143
|
+
alignItems: "center",
|
|
144
|
+
gap: 8
|
|
145
|
+
},
|
|
146
|
+
title: {
|
|
147
|
+
fontSize: 14,
|
|
148
|
+
fontWeight: "600",
|
|
149
|
+
color: _index2.gameUIColors.text,
|
|
150
|
+
flex: 1
|
|
151
|
+
},
|
|
152
|
+
badgeContainer: {
|
|
153
|
+
marginRight: 4
|
|
154
|
+
},
|
|
155
|
+
badge: {
|
|
156
|
+
backgroundColor: _index2.gameUIColors.primary + "20",
|
|
157
|
+
paddingHorizontal: 8,
|
|
158
|
+
paddingVertical: 2,
|
|
159
|
+
borderRadius: 4
|
|
160
|
+
},
|
|
161
|
+
badgeText: {
|
|
162
|
+
fontSize: 11,
|
|
163
|
+
fontWeight: "600",
|
|
164
|
+
color: _index2.gameUIColors.primary
|
|
165
|
+
},
|
|
166
|
+
content: {
|
|
167
|
+
paddingHorizontal: 12,
|
|
168
|
+
paddingBottom: 12
|
|
169
|
+
}
|
|
170
|
+
});
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.CompactFilterChips = CompactFilterChips;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
var _macOSDesignSystemColors = require("../gameUI/constants/macOSDesignSystemColors.js");
|
|
9
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
+
function CompactFilterChips({
|
|
11
|
+
groups,
|
|
12
|
+
onChipPress
|
|
13
|
+
}) {
|
|
14
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
15
|
+
style: styles.container,
|
|
16
|
+
children: groups.map(group => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
17
|
+
style: styles.group,
|
|
18
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
19
|
+
style: styles.groupTitle,
|
|
20
|
+
children: group.title
|
|
21
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ScrollView, {
|
|
22
|
+
horizontal: true,
|
|
23
|
+
showsHorizontalScrollIndicator: false,
|
|
24
|
+
style: styles.chipsScroll,
|
|
25
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
26
|
+
style: styles.chipsRow,
|
|
27
|
+
children: group.chips.map(chip => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
|
|
28
|
+
style: [styles.chip, chip.isActive && styles.chipActive, chip.isActive && chip.color && {
|
|
29
|
+
backgroundColor: chip.color + "15",
|
|
30
|
+
borderColor: chip.color + "40"
|
|
31
|
+
}],
|
|
32
|
+
onPress: () => onChipPress(group.id, chip.id, chip.value),
|
|
33
|
+
children: [chip.icon && /*#__PURE__*/(0, _jsxRuntime.jsx)(chip.icon, {
|
|
34
|
+
size: 10,
|
|
35
|
+
color: chip.isActive ? chip.color || _macOSDesignSystemColors.macOSColors.semantic.info : _macOSDesignSystemColors.macOSColors.text.muted
|
|
36
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
37
|
+
style: [styles.chipLabel, chip.isActive && styles.chipLabelActive, chip.isActive && chip.color && {
|
|
38
|
+
color: chip.color
|
|
39
|
+
}],
|
|
40
|
+
children: chip.label
|
|
41
|
+
}), chip.count !== undefined && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
42
|
+
style: [styles.chipCount, chip.isActive && styles.chipCountActive, chip.isActive && chip.color && {
|
|
43
|
+
color: chip.color
|
|
44
|
+
}],
|
|
45
|
+
children: chip.count
|
|
46
|
+
})]
|
|
47
|
+
}, chip.id))
|
|
48
|
+
})
|
|
49
|
+
})]
|
|
50
|
+
}, group.id))
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
const styles = _reactNative.StyleSheet.create({
|
|
54
|
+
container: {
|
|
55
|
+
gap: 8
|
|
56
|
+
},
|
|
57
|
+
group: {
|
|
58
|
+
gap: 6
|
|
59
|
+
},
|
|
60
|
+
groupTitle: {
|
|
61
|
+
fontSize: 9,
|
|
62
|
+
fontWeight: "600",
|
|
63
|
+
color: _macOSDesignSystemColors.macOSColors.text.muted,
|
|
64
|
+
letterSpacing: 0.5,
|
|
65
|
+
textTransform: "uppercase",
|
|
66
|
+
paddingHorizontal: 4
|
|
67
|
+
},
|
|
68
|
+
chipsScroll: {
|
|
69
|
+
flexGrow: 0
|
|
70
|
+
},
|
|
71
|
+
chipsRow: {
|
|
72
|
+
flexDirection: "row",
|
|
73
|
+
gap: 4,
|
|
74
|
+
paddingHorizontal: 4
|
|
75
|
+
},
|
|
76
|
+
chip: {
|
|
77
|
+
flexDirection: "row",
|
|
78
|
+
alignItems: "center",
|
|
79
|
+
gap: 4,
|
|
80
|
+
paddingHorizontal: 8,
|
|
81
|
+
paddingVertical: 4,
|
|
82
|
+
backgroundColor: _macOSDesignSystemColors.macOSColors.background.card,
|
|
83
|
+
borderRadius: 4,
|
|
84
|
+
borderWidth: 1,
|
|
85
|
+
borderColor: _macOSDesignSystemColors.macOSColors.border.default,
|
|
86
|
+
height: 24
|
|
87
|
+
},
|
|
88
|
+
chipActive: {
|
|
89
|
+
backgroundColor: _macOSDesignSystemColors.macOSColors.semantic.infoBackground,
|
|
90
|
+
borderColor: _macOSDesignSystemColors.macOSColors.semantic.info + "40"
|
|
91
|
+
},
|
|
92
|
+
chipLabel: {
|
|
93
|
+
fontSize: 10,
|
|
94
|
+
fontWeight: "500",
|
|
95
|
+
color: _macOSDesignSystemColors.macOSColors.text.secondary
|
|
96
|
+
},
|
|
97
|
+
chipLabelActive: {
|
|
98
|
+
color: _macOSDesignSystemColors.macOSColors.semantic.info,
|
|
99
|
+
fontWeight: "600"
|
|
100
|
+
},
|
|
101
|
+
chipCount: {
|
|
102
|
+
fontSize: 9,
|
|
103
|
+
fontWeight: "600",
|
|
104
|
+
color: _macOSDesignSystemColors.macOSColors.text.muted,
|
|
105
|
+
backgroundColor: _macOSDesignSystemColors.macOSColors.background.hover,
|
|
106
|
+
paddingHorizontal: 4,
|
|
107
|
+
paddingVertical: 1,
|
|
108
|
+
borderRadius: 3
|
|
109
|
+
},
|
|
110
|
+
chipCountActive: {
|
|
111
|
+
backgroundColor: _macOSDesignSystemColors.macOSColors.semantic.info + "20",
|
|
112
|
+
color: _macOSDesignSystemColors.macOSColors.semantic.info
|
|
113
|
+
}
|
|
114
|
+
});
|