@buoy-gg/shared-ui 7.0.41 → 7.0.43
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/dataViewer.js +1 -9
- package/floating.js +1 -2
- package/history.js +1 -7
- package/hooks.js +1 -7
- package/lib/commonjs/JsModal.js +1 -1766
- package/lib/commonjs/JsModal.web.js +1 -1589
- package/lib/commonjs/clipboard/autoDetectClipboard.js +1 -67
- package/lib/commonjs/clipboard/clipboard-impl.js +1 -128
- package/lib/commonjs/clipboard/clipboard-impl.web.js +1 -21
- package/lib/commonjs/clipboard/copyToClipboard.js +1 -64
- package/lib/commonjs/clipboard/index.js +1 -25
- package/lib/commonjs/colors/index.js +1 -49
- package/lib/commonjs/context/HintsContext.js +1 -49
- package/lib/commonjs/context/index.js +1 -24
- package/lib/commonjs/dataViewer/CyberpunkInput.js +1 -388
- package/lib/commonjs/dataViewer/DataTreeActionBar.js +1 -390
- package/lib/commonjs/dataViewer/DataTreeActionDock.js +1 -226
- package/lib/commonjs/dataViewer/DataViewer.js +1 -158
- package/lib/commonjs/dataViewer/DiffSummary.js +1 -134
- package/lib/commonjs/dataViewer/IndentGuides.js +1 -128
- package/lib/commonjs/dataViewer/IndentGuidesOverlay.js +1 -104
- package/lib/commonjs/dataViewer/JsonStringNotice.js +1 -59
- package/lib/commonjs/dataViewer/LiveExplorer.js +1 -943
- package/lib/commonjs/dataViewer/SplitDiffViewer.js +1 -421
- package/lib/commonjs/dataViewer/ThemedSplitView.js +1 -642
- package/lib/commonjs/dataViewer/TimestampDeltaBar.js +1 -96
- package/lib/commonjs/dataViewer/TypeLegend.js +1 -111
- package/lib/commonjs/dataViewer/ValueEditModal.js +1 -386
- package/lib/commonjs/dataViewer/VirtualizedDataExplorer.js +1 -1270
- package/lib/commonjs/dataViewer/diffThemes.js +1 -113
- package/lib/commonjs/dataViewer/index.js +1 -320
- package/lib/commonjs/dataViewer/jsonOps.js +1 -320
- package/lib/commonjs/dataViewer/jsonStringValue.js +1 -94
- package/lib/commonjs/dataViewer/lineDiff.js +1 -568
- package/lib/commonjs/dataViewer/nestedPath.js +1 -115
- package/lib/commonjs/dataViewer/objectDiff.js +1 -304
- package/lib/commonjs/dataViewer/timestampDiff.js +1 -146
- package/lib/commonjs/dataViewer/tree/TreeDiffViewer.js +1 -915
- package/lib/commonjs/dataViewer/treeActions.js +1 -168
- package/lib/commonjs/dataViewer/useTreeDraft.js +1 -125
- package/lib/commonjs/dataViewer/useTreeEditor.js +1 -105
- package/lib/commonjs/env/EnvironmentIndicator.js +1 -129
- package/lib/commonjs/env/EnvironmentIndicator.web.js +1 -114
- package/lib/commonjs/env/EnvironmentSelector.js +1 -205
- package/lib/commonjs/env/EnvironmentSelectorInline.js +1 -299
- package/lib/commonjs/env/EnvironmentSelectorInline.web.js +1 -178
- package/lib/commonjs/history/HistoryProvider.js +1 -246
- package/lib/commonjs/history/components/HistoryEntryRow.js +1 -146
- package/lib/commonjs/history/components/HistoryList.js +1 -174
- package/lib/commonjs/history/components/index.js +1 -25
- package/lib/commonjs/history/index.js +1 -61
- package/lib/commonjs/history/types.js +1 -5
- package/lib/commonjs/hooks/index.js +1 -77
- package/lib/commonjs/hooks/safe-area-impl.js +1 -28
- package/lib/commonjs/hooks/useChangeLog.js +1 -55
- package/lib/commonjs/hooks/useDeviceInfo.js +1 -524
- package/lib/commonjs/hooks/useEventStoreEvents.js +1 -65
- package/lib/commonjs/hooks/useFilterManager.js +1 -136
- package/lib/commonjs/hooks/usePersistedState.js +1 -106
- package/lib/commonjs/hooks/useSafeAreaInsets.js +1 -250
- package/lib/commonjs/hooks/useSafeAreaInsets.web.js +1 -41
- package/lib/commonjs/icons/BenchmarkIcon.js +1 -109
- package/lib/commonjs/icons/EnvLaptopIcon.js +1 -204
- package/lib/commonjs/icons/IconBackground.js +1 -279
- package/lib/commonjs/icons/ReactQueryIcon.js +1 -17
- package/lib/commonjs/icons/RenderCountIcon.js +1 -147
- package/lib/commonjs/icons/RouteMapIcon.js +1 -250
- package/lib/commonjs/icons/SentryBugIcon.js +1 -19
- package/lib/commonjs/icons/StackPulseIcon.js +1 -158
- package/lib/commonjs/icons/StorageStackIcon.js +1 -156
- package/lib/commonjs/icons/WifiCircuitIcon.js +1 -169
- package/lib/commonjs/icons/index.js +1 -840
- package/lib/commonjs/icons/lucide-icons-original-full.js +1 -3248
- package/lib/commonjs/icons/lucide-icons.js +1 -2476
- package/lib/commonjs/icons/primitives/GlobeIcon.js +1 -66
- package/lib/commonjs/icons/primitives/icon-primitives.js +1 -169
- package/lib/commonjs/icons/primitives/index.js +1 -49
- package/lib/commonjs/index.js +1 -1132
- package/lib/commonjs/license/AccountSetup.js +1 -35
- package/lib/commonjs/license/AccountSetup.web.js +2 -83
- package/lib/commonjs/license/AccountSetupContent.js +1 -482
- package/lib/commonjs/license/FeatureGate.js +1 -788
- package/lib/commonjs/license/FreeAccountPrompt.js +1 -59
- package/lib/commonjs/license/LicenseEntryModal.js +2 -387
- package/lib/commonjs/license/accountRuntime.js +1 -8
- package/lib/commonjs/license/accountRuntime.web.js +1 -9
- package/lib/commonjs/license/index.js +1 -106
- package/lib/commonjs/license/licenseModule.js +1 -121
- package/lib/commonjs/license/openPricing.js +1 -36
- package/lib/commonjs/license/tierLimits.js +1 -128
- package/lib/commonjs/logger/index-sentry.js +1 -245
- package/lib/commonjs/logger/index.js +1 -62
- package/lib/commonjs/logger/logDump.js +1 -19
- package/lib/commonjs/logger/types.js +1 -38
- package/lib/commonjs/settings/components/BubbleSettingsSection.js +1 -384
- package/lib/commonjs/settings/index.js +1 -24
- package/lib/commonjs/storage/definePersistedSetting.js +1 -67
- package/lib/commonjs/storage/devToolsStorageKeys.js +1 -359
- package/lib/commonjs/storage/index.js +1 -25
- package/lib/commonjs/stores/BaseEventStore.js +1 -343
- package/lib/commonjs/stores/ChangeLog.js +1 -197
- package/lib/commonjs/stores/createToolStore.js +1 -193
- package/lib/commonjs/stores/floatingToolStore.js +1 -71
- package/lib/commonjs/stores/floatingToolStore.test.js +1 -112
- package/lib/commonjs/stores/ignoredPatternsCore.js +1 -75
- package/lib/commonjs/stores/ignoredPatternsStore.js +1 -16
- package/lib/commonjs/stores/ignoredPatternsStore.shared.js +1 -205
- package/lib/commonjs/stores/ignoredPatternsStore.web.js +1 -16
- package/lib/commonjs/stores/index.js +1 -51
- package/lib/commonjs/sync/keyedArrays.js +1 -209
- package/lib/commonjs/sync/toolActionRegistry.js +1 -249
- package/lib/commonjs/sync/toolAttention.test.js +1 -51
- package/lib/commonjs/sync/toolSyncAdapter.js +1 -63
- package/lib/commonjs/sync/toolUiBridge.js +1 -132
- package/lib/commonjs/sync/typedEdit.js +1 -228
- package/lib/commonjs/sync/valuePath.js +1 -337
- package/lib/commonjs/sync/valueShape.js +1 -161
- package/lib/commonjs/sync/wireBudget.js +1 -97
- package/lib/commonjs/sync/wireForm.js +1 -172
- package/lib/commonjs/tools/defineTool.js +1 -79
- package/lib/commonjs/types/types.d.js +1 -1
- package/lib/commonjs/types/types.js +1 -37
- package/lib/commonjs/ui/backgrounds/BackgroundSwitcher.js +1 -354
- package/lib/commonjs/ui/backgrounds/ToolBackground.js +1 -76
- package/lib/commonjs/ui/backgrounds/backgroundStore.js +1 -130
- package/lib/commonjs/ui/backgrounds/index.js +1 -167
- package/lib/commonjs/ui/backgrounds/primitives.js +1 -369
- package/lib/commonjs/ui/backgrounds/registry.js +1 -98
- package/lib/commonjs/ui/backgrounds/rng.js +1 -93
- package/lib/commonjs/ui/backgrounds/skyClock.js +1 -45
- package/lib/commonjs/ui/backgrounds/types.js +1 -1
- package/lib/commonjs/ui/backgrounds/variants/daylight.js +1 -453
- package/lib/commonjs/ui/backgrounds/variants/deepField.js +1 -381
- package/lib/commonjs/ui/backgrounds/variants/hyperspace.js +1 -218
- package/lib/commonjs/ui/backgrounds/variants/liveSky.js +1 -898
- package/lib/commonjs/ui/backgrounds/variants/meteors.js +1 -401
- package/lib/commonjs/ui/backgrounds/variants/moonlight.js +1 -472
- package/lib/commonjs/ui/backgrounds/variants/underwater.js +1 -757
- package/lib/commonjs/ui/backgrounds/variants/wormhole/motion.js +1 -48
- package/lib/commonjs/ui/backgrounds/variants/wormhole/textures.js +1 -3
- package/lib/commonjs/ui/backgrounds/variants/wormhole.js +1 -136
- package/lib/commonjs/ui/components/BackButton.js +1 -47
- package/lib/commonjs/ui/components/Badge.js +1 -226
- package/lib/commonjs/ui/components/ChangeRow.js +1 -111
- package/lib/commonjs/ui/components/ChipStrip.js +1 -94
- package/lib/commonjs/ui/components/ClipboardHintBanner.js +1 -149
- package/lib/commonjs/ui/components/CollapsibleSection.js +1 -170
- package/lib/commonjs/ui/components/CompactFilterChips.js +1 -114
- package/lib/commonjs/ui/components/CompactRow.js +1 -295
- package/lib/commonjs/ui/components/CopyButton.js +1 -307
- package/lib/commonjs/ui/components/DataInspector.js +1 -323
- package/lib/commonjs/ui/components/DetailView.js +1 -358
- package/lib/commonjs/ui/components/DetailViewToggle.js +1 -130
- package/lib/commonjs/ui/components/DevToolsCard.js +1 -126
- package/lib/commonjs/ui/components/DraggableHeader.js +1 -215
- package/lib/commonjs/ui/components/DynamicFilterView.js +1 -758
- package/lib/commonjs/ui/components/EmptyState.js +1 -151
- package/lib/commonjs/ui/components/EntityFilterView.js +1 -355
- package/lib/commonjs/ui/components/EventHistoryViewer/CompareBar.js +1 -211
- package/lib/commonjs/ui/components/EventHistoryViewer/DiffModeTabs.js +1 -99
- package/lib/commonjs/ui/components/EventHistoryViewer/EventHistoryViewer.js +1 -184
- package/lib/commonjs/ui/components/EventHistoryViewer/EventPickerModal.js +1 -208
- package/lib/commonjs/ui/components/EventHistoryViewer/ViewToggleCards.js +1 -137
- package/lib/commonjs/ui/components/EventHistoryViewer/index.js +1 -40
- package/lib/commonjs/ui/components/EventHistoryViewer/types.js +1 -5
- package/lib/commonjs/ui/components/EventListItem.js +1 -247
- package/lib/commonjs/ui/components/EventStepperFooter.js +1 -185
- package/lib/commonjs/ui/components/ExpandablePopover.js +1 -381
- package/lib/commonjs/ui/components/ExpandedInfoRow.js +1 -108
- package/lib/commonjs/ui/components/ExportPreview.js +1 -174
- package/lib/commonjs/ui/components/FilterComponents.js +1 -291
- package/lib/commonjs/ui/components/GripVerticalIcon.js +1 -65
- package/lib/commonjs/ui/components/HeaderSearchButton.js +1 -50
- package/lib/commonjs/ui/components/InfoRow.js +1 -91
- package/lib/commonjs/ui/components/ListItem.js +1 -173
- package/lib/commonjs/ui/components/ModalHeader.js +1 -305
- package/lib/commonjs/ui/components/ModalHintBanner.js +1 -147
- package/lib/commonjs/ui/components/Pill.js +1 -115
- package/lib/commonjs/ui/components/PowerToggleButton.js +1 -78
- package/lib/commonjs/ui/components/SearchBar.js +1 -165
- package/lib/commonjs/ui/components/SectionHeader.js +1 -129
- package/lib/commonjs/ui/components/StatsCard.js +1 -198
- package/lib/commonjs/ui/components/StatusIndicator.js +1 -231
- package/lib/commonjs/ui/components/StorageTypeBadge.js +1 -97
- package/lib/commonjs/ui/components/TabSelector.js +1 -102
- package/lib/commonjs/ui/components/TimeDisplay.js +1 -142
- package/lib/commonjs/ui/components/ToggleRow.js +1 -116
- package/lib/commonjs/ui/components/ToolButton.js +1 -93
- package/lib/commonjs/ui/components/ToolEmptyState.js +1 -154
- package/lib/commonjs/ui/components/ToolFooter.js +1 -205
- package/lib/commonjs/ui/components/ValueTypeBadge.js +1 -147
- package/lib/commonjs/ui/components/WindowControls.js +1 -387
- package/lib/commonjs/ui/components/index.js +1 -507
- package/lib/commonjs/ui/components/windowDrag.js +1 -45
- package/lib/commonjs/ui/console/CyberpunkButtonOutline.js +1 -261
- package/lib/commonjs/ui/console/CyberpunkIconContainer.js +1 -186
- package/lib/commonjs/ui/console/CyberpunkSectionButton.js +1 -123
- package/lib/commonjs/ui/floating/FloatingTool.js +1 -1010
- package/lib/commonjs/ui/floating/FloatingTool.web.js +1 -601
- package/lib/commonjs/ui/floating/FloatingToolHost.js +1 -32
- package/lib/commonjs/ui/floating/FloatingToolHost.web.js +1 -28
- package/lib/commonjs/ui/floating/index.js +1 -105
- package/lib/commonjs/ui/floating/index.web.js +1 -105
- package/lib/commonjs/ui/floating/onboardingConstants.js +1 -70
- package/lib/commonjs/ui/floating/onboardingConstants.web.js +1 -34
- package/lib/commonjs/ui/fonts.js +1 -12
- package/lib/commonjs/ui/gameUI/components/GameUICollapsibleSection.js +1 -121
- package/lib/commonjs/ui/gameUI/components/GameUICompactStats.js +1 -336
- package/lib/commonjs/ui/gameUI/components/GameUIIssuesList.js +1 -284
- package/lib/commonjs/ui/gameUI/components/GameUIStatusHeader.js +1 -145
- package/lib/commonjs/ui/gameUI/constants/gameUIColors.js +1 -224
- package/lib/commonjs/ui/gameUI/constants/macOSDesignSystemColors.js +1 -224
- package/lib/commonjs/ui/gameUI/hooks/useGameUIAlertState.js +1 -110
- package/lib/commonjs/ui/gameUI/index.js +1 -72
- package/lib/commonjs/ui/index.js +1 -217
- package/lib/commonjs/ui/listPresets.js +1 -43
- package/lib/commonjs/ui/night/nightTheme.js +1 -130
- package/lib/commonjs/ui/night/primitives.js +1 -524
- package/lib/commonjs/ui/otto/OttoSceneView.js +1 -69
- package/lib/commonjs/ui/otto/OttoSprite.js +1 -510
- package/lib/commonjs/ui/otto/index.js +1 -60
- package/lib/commonjs/ui/otto/ottoEngine.js +1 -2737
- package/lib/commonjs/ui/otto/ottoScenes.js +1 -949
- package/lib/commonjs/ui/otto/ottoSheet.js +1 -191
- package/lib/commonjs/ui/toolTheme.js +1 -97
- package/lib/commonjs/utils/absoluteFill.js +1 -28
- package/lib/commonjs/utils/browserAsyncStorage.js +1 -157
- package/lib/commonjs/utils/browserNavigation.js +1 -116
- package/lib/commonjs/utils/devServer.js +1 -66
- package/lib/commonjs/utils/devServer.web.js +1 -10
- package/lib/commonjs/utils/displayValue.js +1 -41
- package/lib/commonjs/utils/domRuntime.js +1 -143
- package/lib/commonjs/utils/expoRouterModule.js +1 -51
- package/lib/commonjs/utils/expoRouterModule.web.js +1 -14
- package/lib/commonjs/utils/formatting/dataFormatting.js +1 -102
- package/lib/commonjs/utils/formatting/httpFormatting.js +1 -147
- package/lib/commonjs/utils/formatting/index.js +1 -27
- package/lib/commonjs/utils/getSafeAreaInsets.js +1 -40
- package/lib/commonjs/utils/getSafeAreaInsets.web.js +1 -35
- package/lib/commonjs/utils/index.js +1 -416
- package/lib/commonjs/utils/loadOptionalModule.js +1 -94
- package/lib/commonjs/utils/loadToolModule.js +1 -46
- package/lib/commonjs/utils/loadToolModule.web.js +1 -12
- package/lib/commonjs/utils/minimalSuperJSON.js +1 -347
- package/lib/commonjs/utils/modalStorage.js +1 -42
- package/lib/commonjs/utils/nativeWeb.js +1 -454
- package/lib/commonjs/utils/persistentStorage.js +1 -609
- package/lib/commonjs/utils/persistentStorage.web.js +1 -78
- package/lib/commonjs/utils/realNow.js +1 -0
- package/lib/commonjs/utils/reloadApp.js +1 -105
- package/lib/commonjs/utils/reloadPlatform.js +1 -37
- package/lib/commonjs/utils/reloadPlatform.web.js +1 -17
- package/lib/commonjs/utils/renderCaptureRegistry.js +1 -59
- package/lib/commonjs/utils/safeExpoRouter.js +1 -200
- package/lib/commonjs/utils/safeExpoRouter.web.js +1 -48
- package/lib/commonjs/utils/safeStringify.js +1 -229
- package/lib/commonjs/utils/snapshotProviderKit.js +1 -167
- package/lib/commonjs/utils/stateSnapshotRegistry.js +1 -71
- package/lib/commonjs/utils/stateTools.js +1 -160
- package/lib/commonjs/utils/subscribable.js +1 -113
- package/lib/commonjs/utils/subscriberCountNotifier.js +1 -72
- package/lib/commonjs/utils/time/RelativeTime.js +1 -31
- package/lib/commonjs/utils/time/TickContext.js +1 -43
- package/lib/commonjs/utils/time/formatRelativeTime.js +1 -34
- package/lib/commonjs/utils/time/index.js +1 -39
- package/lib/commonjs/utils/time/useRelativeTime.js +1 -36
- package/lib/commonjs/utils/toolModules.js +1 -25
- package/lib/commonjs/utils/typeHelpers.js +1 -142
- package/lib/commonjs/utils/valueFormatting.js +1 -140
- package/lib/module/JsModal.js +1 -1762
- package/lib/module/JsModal.web.js +1 -1585
- package/lib/module/clipboard/autoDetectClipboard.js +1 -45
- package/lib/module/clipboard/clipboard-impl.js +1 -121
- package/lib/module/clipboard/clipboard-impl.web.js +1 -14
- package/lib/module/clipboard/copyToClipboard.js +1 -60
- package/lib/module/clipboard/index.js +1 -5
- package/lib/module/colors/index.js +1 -21
- package/lib/module/context/HintsContext.js +1 -43
- package/lib/module/context/index.js +1 -3
- package/lib/module/dataViewer/CyberpunkInput.js +1 -384
- package/lib/module/dataViewer/DataTreeActionBar.js +1 -385
- package/lib/module/dataViewer/DataTreeActionDock.js +1 -222
- package/lib/module/dataViewer/DataViewer.js +1 -153
- package/lib/module/dataViewer/DiffSummary.js +1 -129
- package/lib/module/dataViewer/IndentGuides.js +1 -124
- package/lib/module/dataViewer/IndentGuidesOverlay.js +1 -99
- package/lib/module/dataViewer/JsonStringNotice.js +1 -54
- package/lib/module/dataViewer/LiveExplorer.js +1 -937
- package/lib/module/dataViewer/SplitDiffViewer.js +1 -416
- package/lib/module/dataViewer/ThemedSplitView.js +1 -637
- package/lib/module/dataViewer/TimestampDeltaBar.js +1 -91
- package/lib/module/dataViewer/TypeLegend.js +1 -105
- package/lib/module/dataViewer/ValueEditModal.js +1 -382
- package/lib/module/dataViewer/VirtualizedDataExplorer.js +1 -1265
- package/lib/module/dataViewer/diffThemes.js +1 -109
- package/lib/module/dataViewer/index.js +1 -57
- package/lib/module/dataViewer/jsonOps.js +1 -311
- package/lib/module/dataViewer/jsonStringValue.js +1 -89
- package/lib/module/dataViewer/lineDiff.js +1 -564
- package/lib/module/dataViewer/nestedPath.js +1 -109
- package/lib/module/dataViewer/objectDiff.js +1 -297
- package/lib/module/dataViewer/timestampDiff.js +1 -139
- package/lib/module/dataViewer/tree/TreeDiffViewer.js +1 -909
- package/lib/module/dataViewer/treeActions.js +1 -162
- package/lib/module/dataViewer/useTreeDraft.js +1 -121
- package/lib/module/dataViewer/useTreeEditor.js +1 -101
- package/lib/module/env/EnvironmentIndicator.js +1 -125
- package/lib/module/env/EnvironmentIndicator.web.js +1 -108
- package/lib/module/env/EnvironmentSelector.js +1 -201
- package/lib/module/env/EnvironmentSelectorInline.js +1 -295
- package/lib/module/env/EnvironmentSelectorInline.web.js +1 -173
- package/lib/module/history/HistoryProvider.js +1 -237
- package/lib/module/history/components/HistoryEntryRow.js +1 -142
- package/lib/module/history/components/HistoryList.js +1 -169
- package/lib/module/history/components/index.js +1 -8
- package/lib/module/history/index.js +1 -15
- package/lib/module/history/types.js +1 -3
- package/lib/module/hooks/index.js +1 -9
- package/lib/module/hooks/safe-area-impl.js +1 -23
- package/lib/module/hooks/useChangeLog.js +1 -50
- package/lib/module/hooks/useDeviceInfo.js +1 -519
- package/lib/module/hooks/useEventStoreEvents.js +1 -61
- package/lib/module/hooks/useFilterManager.js +1 -132
- package/lib/module/hooks/usePersistedState.js +1 -102
- package/lib/module/hooks/useSafeAreaInsets.js +1 -245
- package/lib/module/hooks/useSafeAreaInsets.web.js +1 -30
- package/lib/module/icons/BenchmarkIcon.js +1 -104
- package/lib/module/icons/EnvLaptopIcon.js +1 -199
- package/lib/module/icons/IconBackground.js +1 -274
- package/lib/module/icons/ReactQueryIcon.js +1 -12
- package/lib/module/icons/RenderCountIcon.js +1 -142
- package/lib/module/icons/RouteMapIcon.js +1 -245
- package/lib/module/icons/SentryBugIcon.js +1 -14
- package/lib/module/icons/StackPulseIcon.js +1 -153
- package/lib/module/icons/StorageStackIcon.js +1 -151
- package/lib/module/icons/WifiCircuitIcon.js +1 -164
- package/lib/module/icons/index.js +1 -63
- package/lib/module/icons/lucide-icons-original-full.js +1 -3178
- package/lib/module/icons/lucide-icons.js +1 -2420
- package/lib/module/icons/primitives/GlobeIcon.js +1 -61
- package/lib/module/icons/primitives/icon-primitives.js +1 -161
- package/lib/module/icons/primitives/index.js +1 -15
- package/lib/module/index.js +1 -111
- package/lib/module/license/AccountSetup.js +1 -31
- package/lib/module/license/AccountSetup.web.js +3 -80
- package/lib/module/license/AccountSetupContent.js +1 -476
- package/lib/module/license/FeatureGate.js +1 -778
- package/lib/module/license/FreeAccountPrompt.js +1 -50
- package/lib/module/license/LicenseEntryModal.js +2 -381
- package/lib/module/license/accountRuntime.js +1 -3
- package/lib/module/license/accountRuntime.web.js +1 -4
- package/lib/module/license/index.js +1 -9
- package/lib/module/license/licenseModule.js +1 -109
- package/lib/module/license/openPricing.js +1 -31
- package/lib/module/license/tierLimits.js +1 -122
- package/lib/module/logger/index-sentry.js +1 -230
- package/lib/module/logger/index.js +1 -13
- package/lib/module/logger/logDump.js +1 -13
- package/lib/module/logger/types.js +1 -37
- package/lib/module/settings/components/BubbleSettingsSection.js +1 -378
- package/lib/module/settings/index.js +1 -3
- package/lib/module/storage/definePersistedSetting.js +1 -63
- package/lib/module/storage/devToolsStorageKeys.js +1 -352
- package/lib/module/storage/index.js +1 -4
- package/lib/module/stores/BaseEventStore.js +1 -339
- package/lib/module/stores/ChangeLog.js +1 -192
- package/lib/module/stores/createToolStore.js +1 -189
- package/lib/module/stores/floatingToolStore.js +1 -61
- package/lib/module/stores/floatingToolStore.test.js +1 -111
- package/lib/module/stores/ignoredPatternsCore.js +1 -69
- package/lib/module/stores/ignoredPatternsStore.js +1 -3
- package/lib/module/stores/ignoredPatternsStore.shared.js +1 -189
- package/lib/module/stores/ignoredPatternsStore.web.js +1 -3
- package/lib/module/stores/index.js +1 -10
- package/lib/module/sync/keyedArrays.js +1 -204
- package/lib/module/sync/toolActionRegistry.js +1 -236
- package/lib/module/sync/toolAttention.test.js +1 -50
- package/lib/module/sync/toolSyncAdapter.js +1 -58
- package/lib/module/sync/toolUiBridge.js +1 -123
- package/lib/module/sync/typedEdit.js +1 -220
- package/lib/module/sync/valuePath.js +1 -330
- package/lib/module/sync/valueShape.js +1 -153
- package/lib/module/sync/wireBudget.js +1 -92
- package/lib/module/sync/wireForm.js +1 -159
- package/lib/module/tools/defineTool.js +1 -74
- package/lib/module/types/types.d.js +1 -1
- package/lib/module/types/types.js +1 -32
- package/lib/module/ui/backgrounds/BackgroundSwitcher.js +1 -350
- package/lib/module/ui/backgrounds/ToolBackground.js +1 -72
- package/lib/module/ui/backgrounds/backgroundStore.js +1 -125
- package/lib/module/ui/backgrounds/index.js +1 -19
- package/lib/module/ui/backgrounds/primitives.js +1 -365
- package/lib/module/ui/backgrounds/registry.js +1 -91
- package/lib/module/ui/backgrounds/rng.js +1 -85
- package/lib/module/ui/backgrounds/skyClock.js +1 -39
- package/lib/module/ui/backgrounds/types.js +1 -1
- package/lib/module/ui/backgrounds/variants/daylight.js +1 -449
- package/lib/module/ui/backgrounds/variants/deepField.js +1 -378
- package/lib/module/ui/backgrounds/variants/hyperspace.js +1 -214
- package/lib/module/ui/backgrounds/variants/liveSky.js +1 -893
- package/lib/module/ui/backgrounds/variants/meteors.js +1 -397
- package/lib/module/ui/backgrounds/variants/moonlight.js +1 -468
- package/lib/module/ui/backgrounds/variants/underwater.js +1 -753
- package/lib/module/ui/backgrounds/variants/wormhole/motion.js +1 -44
- package/lib/module/ui/backgrounds/variants/wormhole/textures.js +1 -3
- package/lib/module/ui/backgrounds/variants/wormhole.js +1 -132
- package/lib/module/ui/components/BackButton.js +1 -43
- package/lib/module/ui/components/Badge.js +1 -218
- package/lib/module/ui/components/ChangeRow.js +1 -106
- package/lib/module/ui/components/ChipStrip.js +1 -91
- package/lib/module/ui/components/ClipboardHintBanner.js +1 -145
- package/lib/module/ui/components/CollapsibleSection.js +1 -166
- package/lib/module/ui/components/CompactFilterChips.js +1 -110
- package/lib/module/ui/components/CompactRow.js +1 -291
- package/lib/module/ui/components/CopyButton.js +1 -303
- package/lib/module/ui/components/DataInspector.js +1 -319
- package/lib/module/ui/components/DetailView.js +1 -354
- package/lib/module/ui/components/DetailViewToggle.js +1 -125
- package/lib/module/ui/components/DevToolsCard.js +1 -122
- package/lib/module/ui/components/DraggableHeader.js +1 -211
- package/lib/module/ui/components/DynamicFilterView.js +1 -754
- package/lib/module/ui/components/EmptyState.js +1 -144
- package/lib/module/ui/components/EntityFilterView.js +1 -351
- package/lib/module/ui/components/EventHistoryViewer/CompareBar.js +1 -206
- package/lib/module/ui/components/EventHistoryViewer/DiffModeTabs.js +1 -94
- package/lib/module/ui/components/EventHistoryViewer/EventHistoryViewer.js +1 -179
- package/lib/module/ui/components/EventHistoryViewer/EventPickerModal.js +1 -203
- package/lib/module/ui/components/EventHistoryViewer/ViewToggleCards.js +1 -132
- package/lib/module/ui/components/EventHistoryViewer/index.js +1 -19
- package/lib/module/ui/components/EventHistoryViewer/types.js +1 -3
- package/lib/module/ui/components/EventListItem.js +1 -243
- package/lib/module/ui/components/EventStepperFooter.js +1 -180
- package/lib/module/ui/components/ExpandablePopover.js +1 -378
- package/lib/module/ui/components/ExpandedInfoRow.js +1 -103
- package/lib/module/ui/components/ExportPreview.js +1 -169
- package/lib/module/ui/components/FilterComponents.js +1 -282
- package/lib/module/ui/components/GripVerticalIcon.js +1 -61
- package/lib/module/ui/components/HeaderSearchButton.js +1 -46
- package/lib/module/ui/components/InfoRow.js +1 -87
- package/lib/module/ui/components/ListItem.js +1 -169
- package/lib/module/ui/components/ModalHeader.js +1 -297
- package/lib/module/ui/components/ModalHintBanner.js +1 -143
- package/lib/module/ui/components/Pill.js +1 -111
- package/lib/module/ui/components/PowerToggleButton.js +1 -74
- package/lib/module/ui/components/SearchBar.js +1 -161
- package/lib/module/ui/components/SectionHeader.js +1 -125
- package/lib/module/ui/components/StatsCard.js +1 -194
- package/lib/module/ui/components/StatusIndicator.js +1 -227
- package/lib/module/ui/components/StorageTypeBadge.js +1 -93
- package/lib/module/ui/components/TabSelector.js +1 -98
- package/lib/module/ui/components/TimeDisplay.js +1 -138
- package/lib/module/ui/components/ToggleRow.js +1 -112
- package/lib/module/ui/components/ToolButton.js +1 -89
- package/lib/module/ui/components/ToolEmptyState.js +1 -149
- package/lib/module/ui/components/ToolFooter.js +1 -197
- package/lib/module/ui/components/ValueTypeBadge.js +1 -143
- package/lib/module/ui/components/WindowControls.js +1 -383
- package/lib/module/ui/components/index.js +1 -52
- package/lib/module/ui/components/windowDrag.js +1 -41
- package/lib/module/ui/console/CyberpunkButtonOutline.js +1 -257
- package/lib/module/ui/console/CyberpunkIconContainer.js +1 -182
- package/lib/module/ui/console/CyberpunkSectionButton.js +1 -119
- package/lib/module/ui/floating/FloatingTool.js +1 -1003
- package/lib/module/ui/floating/FloatingTool.web.js +1 -600
- package/lib/module/ui/floating/FloatingToolHost.js +1 -29
- package/lib/module/ui/floating/FloatingToolHost.web.js +1 -25
- package/lib/module/ui/floating/index.js +1 -6
- package/lib/module/ui/floating/index.web.js +1 -6
- package/lib/module/ui/floating/onboardingConstants.js +1 -64
- package/lib/module/ui/floating/onboardingConstants.web.js +1 -27
- package/lib/module/ui/fonts.js +1 -8
- package/lib/module/ui/gameUI/components/GameUICollapsibleSection.js +1 -117
- package/lib/module/ui/gameUI/components/GameUICompactStats.js +1 -332
- package/lib/module/ui/gameUI/components/GameUIIssuesList.js +1 -280
- package/lib/module/ui/gameUI/components/GameUIStatusHeader.js +1 -141
- package/lib/module/ui/gameUI/constants/gameUIColors.js +1 -220
- package/lib/module/ui/gameUI/constants/macOSDesignSystemColors.js +1 -219
- package/lib/module/ui/gameUI/hooks/useGameUIAlertState.js +1 -105
- package/lib/module/ui/gameUI/index.js +1 -19
- package/lib/module/ui/index.js +1 -31
- package/lib/module/ui/listPresets.js +1 -39
- package/lib/module/ui/night/nightTheme.js +1 -126
- package/lib/module/ui/night/primitives.js +1 -511
- package/lib/module/ui/otto/OttoSceneView.js +1 -64
- package/lib/module/ui/otto/OttoSprite.js +1 -496
- package/lib/module/ui/otto/index.js +1 -22
- package/lib/module/ui/otto/ottoEngine.js +1 -2729
- package/lib/module/ui/otto/ottoScenes.js +1 -942
- package/lib/module/ui/otto/ottoSheet.js +1 -180
- package/lib/module/ui/toolTheme.js +1 -93
- package/lib/module/utils/absoluteFill.js +1 -24
- package/lib/module/utils/browserAsyncStorage.js +1 -151
- package/lib/module/utils/browserNavigation.js +1 -108
- package/lib/module/utils/devServer.js +1 -62
- package/lib/module/utils/devServer.web.js +1 -6
- package/lib/module/utils/displayValue.js +1 -36
- package/lib/module/utils/domRuntime.js +1 -134
- package/lib/module/utils/expoRouterModule.js +1 -46
- package/lib/module/utils/expoRouterModule.web.js +1 -9
- package/lib/module/utils/formatting/dataFormatting.js +1 -93
- package/lib/module/utils/formatting/httpFormatting.js +1 -142
- package/lib/module/utils/formatting/index.js +1 -8
- package/lib/module/utils/getSafeAreaInsets.js +1 -36
- package/lib/module/utils/getSafeAreaInsets.web.js +1 -31
- package/lib/module/utils/index.js +1 -23
- package/lib/module/utils/loadOptionalModule.js +1 -89
- package/lib/module/utils/loadToolModule.js +1 -42
- package/lib/module/utils/loadToolModule.web.js +1 -8
- package/lib/module/utils/minimalSuperJSON.js +1 -342
- package/lib/module/utils/modalStorage.js +1 -37
- package/lib/module/utils/nativeWeb.js +1 -107
- package/lib/module/utils/persistentStorage.js +1 -603
- package/lib/module/utils/persistentStorage.web.js +1 -72
- package/lib/module/utils/realNow.js +1 -0
- package/lib/module/utils/reloadApp.js +1 -99
- package/lib/module/utils/reloadPlatform.js +1 -31
- package/lib/module/utils/reloadPlatform.web.js +1 -11
- package/lib/module/utils/renderCaptureRegistry.js +1 -54
- package/lib/module/utils/safeExpoRouter.js +1 -189
- package/lib/module/utils/safeExpoRouter.web.js +1 -37
- package/lib/module/utils/safeStringify.js +1 -225
- package/lib/module/utils/snapshotProviderKit.js +1 -156
- package/lib/module/utils/stateSnapshotRegistry.js +1 -64
- package/lib/module/utils/stateTools.js +1 -154
- package/lib/module/utils/subscribable.js +1 -108
- package/lib/module/utils/subscriberCountNotifier.js +1 -66
- package/lib/module/utils/time/RelativeTime.js +1 -28
- package/lib/module/utils/time/TickContext.js +1 -38
- package/lib/module/utils/time/formatRelativeTime.js +1 -30
- package/lib/module/utils/time/index.js +1 -6
- package/lib/module/utils/time/useRelativeTime.js +1 -33
- package/lib/module/utils/toolModules.js +1 -19
- package/lib/module/utils/typeHelpers.js +1 -130
- package/lib/module/utils/valueFormatting.js +1 -131
- package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts +1 -1
- package/lib/typescript/commonjs/icons/index.d.ts +1 -0
- package/lib/typescript/commonjs/index.d.ts +1 -1
- package/lib/typescript/commonjs/storage/devToolsStorageKeys.d.ts +8 -0
- package/lib/typescript/commonjs/ui/night/primitives.d.ts +9 -3
- package/lib/typescript/commonjs/utils/index.d.ts +1 -0
- package/lib/typescript/commonjs/utils/realNow.d.ts +11 -0
- package/lib/typescript/module/hooks/safe-area-impl.d.ts +1 -1
- package/lib/typescript/module/icons/index.d.ts +1 -0
- package/lib/typescript/module/index.d.ts +1 -1
- package/lib/typescript/module/storage/devToolsStorageKeys.d.ts +8 -0
- package/lib/typescript/module/ui/night/primitives.d.ts +9 -3
- package/lib/typescript/module/utils/index.d.ts +1 -0
- package/lib/typescript/module/utils/realNow.d.ts +11 -0
- package/lib/web/asyncStorage.mjs +1 -2
- package/lib/web/chunks/chunk-26OV3QDY.mjs +1 -0
- package/lib/web/chunks/chunk-3UTMGIUG.mjs +1 -2
- package/lib/web/chunks/chunk-53J2FMUD.mjs +1 -2
- package/lib/web/chunks/chunk-5KWAGM5V.mjs +1 -0
- package/lib/web/chunks/chunk-5NZOQR6Q.mjs +1 -2
- package/lib/web/chunks/chunk-7PRKERDN.mjs +1 -0
- package/lib/web/chunks/chunk-CE5U3CSQ.mjs +1 -2
- package/lib/web/chunks/chunk-D4RXBAOO.mjs +15 -0
- package/lib/web/chunks/chunk-ER3T3IDI.mjs +1 -0
- package/lib/web/chunks/chunk-GF5C5DVX.mjs +1 -2
- package/lib/web/chunks/chunk-K7CGIEFU.mjs +1 -2
- package/lib/web/chunks/{chunk-GTYIS7H7.mjs → chunk-L3AFTHWX.mjs} +8 -9
- package/lib/web/chunks/chunk-LZ7FZZ7R.mjs +1 -2
- package/lib/web/chunks/chunk-PTK5FO6C.mjs +1 -2
- package/lib/web/chunks/chunk-TJUBBXXK.mjs +1 -0
- package/lib/web/chunks/chunk-UKYVRCMZ.mjs +1 -0
- package/lib/web/chunks/chunk-XYUAUO57.mjs +1 -2
- package/lib/web/chunks/persistentStorage.web-6OAJAVRK.mjs +1 -0
- package/lib/web/colors.mjs +1 -2
- package/lib/web/dataViewer.mjs +2 -3
- package/lib/web/floating.mjs +1 -2
- package/lib/web/history.mjs +1 -2
- package/lib/web/hooks.mjs +1 -2
- package/lib/web/index.mjs +2 -3
- package/lib/web/native.mjs +1 -2
- package/lib/web/ui.mjs +1 -2
- package/lib/web/utils.mjs +1 -2
- package/package.json +9 -15
- package/scripts/detect-clipboard.js +5 -121
- package/scripts/detect-safe-area.js +3 -127
- package/ui.js +1 -7
- package/utils.js +1 -7
- package/lib/typescript/commonjs/JsModal.d.ts.map +0 -1
- package/lib/typescript/commonjs/JsModal.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/clipboard/autoDetectClipboard.d.ts.map +0 -1
- package/lib/typescript/commonjs/clipboard/clipboard-impl.d.ts.map +0 -1
- package/lib/typescript/commonjs/clipboard/clipboard-impl.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/clipboard/copyToClipboard.d.ts.map +0 -1
- package/lib/typescript/commonjs/clipboard/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/colors/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/context/HintsContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/context/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/CyberpunkInput.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/DataTreeActionBar.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/DataTreeActionDock.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/DataViewer.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/DiffSummary.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/IndentGuides.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/IndentGuidesOverlay.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/JsonStringNotice.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/LiveExplorer.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/SplitDiffViewer.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/ThemedSplitView.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/TimestampDeltaBar.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/TypeLegend.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/ValueEditModal.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/VirtualizedDataExplorer.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/diffThemes.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/jsonOps.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/jsonStringValue.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/lineDiff.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/nestedPath.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/objectDiff.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/timestampDiff.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/tree/TreeDiffViewer.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/treeActions.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/useTreeDraft.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/useTreeEditor.d.ts.map +0 -1
- package/lib/typescript/commonjs/env/EnvironmentIndicator.d.ts.map +0 -1
- package/lib/typescript/commonjs/env/EnvironmentIndicator.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/env/EnvironmentSelector.d.ts.map +0 -1
- package/lib/typescript/commonjs/env/EnvironmentSelectorInline.d.ts.map +0 -1
- package/lib/typescript/commonjs/env/EnvironmentSelectorInline.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/history/HistoryProvider.d.ts.map +0 -1
- package/lib/typescript/commonjs/history/components/HistoryEntryRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/history/components/HistoryList.d.ts.map +0 -1
- package/lib/typescript/commonjs/history/components/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/history/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/history/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/useChangeLog.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/useDeviceInfo.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/useEventStoreEvents.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/useFilterManager.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/usePersistedState.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/useSafeAreaInsets.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/useSafeAreaInsets.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/BenchmarkIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/EnvLaptopIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/IconBackground.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/ReactQueryIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/RenderCountIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/RouteMapIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/SentryBugIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/StackPulseIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/StorageStackIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/WifiCircuitIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/lucide-icons-original-full.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/lucide-icons.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/primitives/GlobeIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/primitives/icon-primitives.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/primitives/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/AccountSetup.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/AccountSetup.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/AccountSetupContent.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/FeatureGate.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/FreeAccountPrompt.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/LicenseEntryModal.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/accountRuntime.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/accountRuntime.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/licenseModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/openPricing.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/tierLimits.d.ts.map +0 -1
- package/lib/typescript/commonjs/logger/index-sentry.d.ts.map +0 -1
- package/lib/typescript/commonjs/logger/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/logger/logDump.d.ts.map +0 -1
- package/lib/typescript/commonjs/logger/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/settings/components/BubbleSettingsSection.d.ts.map +0 -1
- package/lib/typescript/commonjs/settings/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/storage/definePersistedSetting.d.ts.map +0 -1
- package/lib/typescript/commonjs/storage/devToolsStorageKeys.d.ts.map +0 -1
- package/lib/typescript/commonjs/storage/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/BaseEventStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/ChangeLog.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/createToolStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/floatingToolStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/floatingToolStore.test.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/ignoredPatternsCore.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/ignoredPatternsStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/ignoredPatternsStore.shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/ignoredPatternsStore.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/keyedArrays.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/toolActionRegistry.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/toolAttention.test.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/toolSyncAdapter.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/toolUiBridge.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/typedEdit.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/valuePath.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/valueShape.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/wireBudget.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/wireForm.d.ts.map +0 -1
- package/lib/typescript/commonjs/tools/defineTool.d.ts.map +0 -1
- package/lib/typescript/commonjs/types/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/BackgroundSwitcher.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/ToolBackground.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/backgroundStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/primitives.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/registry.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/rng.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/skyClock.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/daylight.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/deepField.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/hyperspace.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/liveSky.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/meteors.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/moonlight.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/underwater.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/wormhole/motion.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/wormhole/textures.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/wormhole.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/BackButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/Badge.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ChangeRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ChipStrip.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ClipboardHintBanner.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/CollapsibleSection.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/CompactFilterChips.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/CompactRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/CopyButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/DataInspector.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/DetailView.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/DetailViewToggle.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/DevToolsCard.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/DraggableHeader.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/DynamicFilterView.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EmptyState.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EntityFilterView.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/CompareBar.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/DiffModeTabs.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/EventHistoryViewer.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/EventPickerModal.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/ViewToggleCards.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventListItem.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventStepperFooter.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ExpandablePopover.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ExpandedInfoRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ExportPreview.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/FilterComponents.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/GripVerticalIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/HeaderSearchButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/InfoRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ListItem.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ModalHeader.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ModalHintBanner.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/Pill.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/PowerToggleButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/SearchBar.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/SectionHeader.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/StatsCard.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/StatusIndicator.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/StorageTypeBadge.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TabSelector.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TimeDisplay.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ToggleRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ToolButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ToolEmptyState.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ToolFooter.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ValueTypeBadge.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/WindowControls.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/windowDrag.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/console/CyberpunkButtonOutline.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/console/CyberpunkIconContainer.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/console/CyberpunkSectionButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/floating/FloatingTool.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/floating/FloatingTool.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/floating/FloatingToolHost.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/floating/FloatingToolHost.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/floating/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/floating/index.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/floating/onboardingConstants.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/floating/onboardingConstants.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/fonts.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/gameUI/components/GameUICollapsibleSection.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/gameUI/components/GameUICompactStats.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/gameUI/components/GameUIIssuesList.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/gameUI/components/GameUIStatusHeader.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/gameUI/constants/gameUIColors.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/gameUI/constants/macOSDesignSystemColors.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/gameUI/hooks/useGameUIAlertState.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/gameUI/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/listPresets.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/night/nightTheme.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/night/primitives.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/otto/OttoSceneView.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/otto/OttoSprite.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/otto/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/otto/ottoEngine.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/otto/ottoScenes.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/otto/ottoSheet.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/toolTheme.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/absoluteFill.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/browserAsyncStorage.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/browserNavigation.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/devServer.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/devServer.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/displayValue.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/domRuntime.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/expoRouterModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/expoRouterModule.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/formatting/dataFormatting.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/formatting/httpFormatting.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/formatting/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/getSafeAreaInsets.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/getSafeAreaInsets.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/loadOptionalModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/loadToolModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/loadToolModule.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/minimalSuperJSON.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/modalStorage.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/nativeWeb.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/persistentStorage.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/persistentStorage.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/reloadApp.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/reloadPlatform.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/reloadPlatform.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/renderCaptureRegistry.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/safeExpoRouter.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/safeExpoRouter.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/safeStringify.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/snapshotProviderKit.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/stateSnapshotRegistry.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/stateTools.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/subscribable.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/subscriberCountNotifier.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/time/RelativeTime.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/time/TickContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/time/formatRelativeTime.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/time/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/time/useRelativeTime.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/toolModules.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/typeHelpers.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/valueFormatting.d.ts.map +0 -1
- package/lib/typescript/module/JsModal.d.ts.map +0 -1
- package/lib/typescript/module/JsModal.web.d.ts.map +0 -1
- package/lib/typescript/module/clipboard/autoDetectClipboard.d.ts.map +0 -1
- package/lib/typescript/module/clipboard/clipboard-impl.d.ts.map +0 -1
- package/lib/typescript/module/clipboard/clipboard-impl.web.d.ts.map +0 -1
- package/lib/typescript/module/clipboard/copyToClipboard.d.ts.map +0 -1
- package/lib/typescript/module/clipboard/index.d.ts.map +0 -1
- package/lib/typescript/module/colors/index.d.ts.map +0 -1
- package/lib/typescript/module/context/HintsContext.d.ts.map +0 -1
- package/lib/typescript/module/context/index.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/CyberpunkInput.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/DataTreeActionBar.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/DataTreeActionDock.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/DataViewer.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/DiffSummary.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/IndentGuides.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/IndentGuidesOverlay.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/JsonStringNotice.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/LiveExplorer.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/SplitDiffViewer.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/ThemedSplitView.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/TimestampDeltaBar.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/TypeLegend.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/ValueEditModal.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/VirtualizedDataExplorer.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/diffThemes.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/index.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/jsonOps.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/jsonStringValue.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/lineDiff.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/nestedPath.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/objectDiff.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/timestampDiff.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/tree/TreeDiffViewer.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/treeActions.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/useTreeDraft.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/useTreeEditor.d.ts.map +0 -1
- package/lib/typescript/module/env/EnvironmentIndicator.d.ts.map +0 -1
- package/lib/typescript/module/env/EnvironmentIndicator.web.d.ts.map +0 -1
- package/lib/typescript/module/env/EnvironmentSelector.d.ts.map +0 -1
- package/lib/typescript/module/env/EnvironmentSelectorInline.d.ts.map +0 -1
- package/lib/typescript/module/env/EnvironmentSelectorInline.web.d.ts.map +0 -1
- package/lib/typescript/module/history/HistoryProvider.d.ts.map +0 -1
- package/lib/typescript/module/history/components/HistoryEntryRow.d.ts.map +0 -1
- package/lib/typescript/module/history/components/HistoryList.d.ts.map +0 -1
- package/lib/typescript/module/history/components/index.d.ts.map +0 -1
- package/lib/typescript/module/history/index.d.ts.map +0 -1
- package/lib/typescript/module/history/types.d.ts.map +0 -1
- package/lib/typescript/module/hooks/index.d.ts.map +0 -1
- package/lib/typescript/module/hooks/safe-area-impl.d.ts.map +0 -1
- package/lib/typescript/module/hooks/useChangeLog.d.ts.map +0 -1
- package/lib/typescript/module/hooks/useDeviceInfo.d.ts.map +0 -1
- package/lib/typescript/module/hooks/useEventStoreEvents.d.ts.map +0 -1
- package/lib/typescript/module/hooks/useFilterManager.d.ts.map +0 -1
- package/lib/typescript/module/hooks/usePersistedState.d.ts.map +0 -1
- package/lib/typescript/module/hooks/useSafeAreaInsets.d.ts.map +0 -1
- package/lib/typescript/module/hooks/useSafeAreaInsets.web.d.ts.map +0 -1
- package/lib/typescript/module/icons/BenchmarkIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/EnvLaptopIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/IconBackground.d.ts.map +0 -1
- package/lib/typescript/module/icons/ReactQueryIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/RenderCountIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/RouteMapIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/SentryBugIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/StackPulseIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/StorageStackIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/WifiCircuitIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/index.d.ts.map +0 -1
- package/lib/typescript/module/icons/lucide-icons-original-full.d.ts.map +0 -1
- package/lib/typescript/module/icons/lucide-icons.d.ts.map +0 -1
- package/lib/typescript/module/icons/primitives/GlobeIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/primitives/icon-primitives.d.ts.map +0 -1
- package/lib/typescript/module/icons/primitives/index.d.ts.map +0 -1
- package/lib/typescript/module/index.d.ts.map +0 -1
- package/lib/typescript/module/license/AccountSetup.d.ts.map +0 -1
- package/lib/typescript/module/license/AccountSetup.web.d.ts.map +0 -1
- package/lib/typescript/module/license/AccountSetupContent.d.ts.map +0 -1
- package/lib/typescript/module/license/FeatureGate.d.ts.map +0 -1
- package/lib/typescript/module/license/FreeAccountPrompt.d.ts.map +0 -1
- package/lib/typescript/module/license/LicenseEntryModal.d.ts.map +0 -1
- package/lib/typescript/module/license/accountRuntime.d.ts.map +0 -1
- package/lib/typescript/module/license/accountRuntime.web.d.ts.map +0 -1
- package/lib/typescript/module/license/index.d.ts.map +0 -1
- package/lib/typescript/module/license/licenseModule.d.ts.map +0 -1
- package/lib/typescript/module/license/openPricing.d.ts.map +0 -1
- package/lib/typescript/module/license/tierLimits.d.ts.map +0 -1
- package/lib/typescript/module/logger/index-sentry.d.ts.map +0 -1
- package/lib/typescript/module/logger/index.d.ts.map +0 -1
- package/lib/typescript/module/logger/logDump.d.ts.map +0 -1
- package/lib/typescript/module/logger/types.d.ts.map +0 -1
- package/lib/typescript/module/settings/components/BubbleSettingsSection.d.ts.map +0 -1
- package/lib/typescript/module/settings/index.d.ts.map +0 -1
- package/lib/typescript/module/storage/definePersistedSetting.d.ts.map +0 -1
- package/lib/typescript/module/storage/devToolsStorageKeys.d.ts.map +0 -1
- package/lib/typescript/module/storage/index.d.ts.map +0 -1
- package/lib/typescript/module/stores/BaseEventStore.d.ts.map +0 -1
- package/lib/typescript/module/stores/ChangeLog.d.ts.map +0 -1
- package/lib/typescript/module/stores/createToolStore.d.ts.map +0 -1
- package/lib/typescript/module/stores/floatingToolStore.d.ts.map +0 -1
- package/lib/typescript/module/stores/floatingToolStore.test.d.ts.map +0 -1
- package/lib/typescript/module/stores/ignoredPatternsCore.d.ts.map +0 -1
- package/lib/typescript/module/stores/ignoredPatternsStore.d.ts.map +0 -1
- package/lib/typescript/module/stores/ignoredPatternsStore.shared.d.ts.map +0 -1
- package/lib/typescript/module/stores/ignoredPatternsStore.web.d.ts.map +0 -1
- package/lib/typescript/module/stores/index.d.ts.map +0 -1
- package/lib/typescript/module/sync/keyedArrays.d.ts.map +0 -1
- package/lib/typescript/module/sync/toolActionRegistry.d.ts.map +0 -1
- package/lib/typescript/module/sync/toolAttention.test.d.ts.map +0 -1
- package/lib/typescript/module/sync/toolSyncAdapter.d.ts.map +0 -1
- package/lib/typescript/module/sync/toolUiBridge.d.ts.map +0 -1
- package/lib/typescript/module/sync/typedEdit.d.ts.map +0 -1
- package/lib/typescript/module/sync/valuePath.d.ts.map +0 -1
- package/lib/typescript/module/sync/valueShape.d.ts.map +0 -1
- package/lib/typescript/module/sync/wireBudget.d.ts.map +0 -1
- package/lib/typescript/module/sync/wireForm.d.ts.map +0 -1
- package/lib/typescript/module/tools/defineTool.d.ts.map +0 -1
- package/lib/typescript/module/types/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/BackgroundSwitcher.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/ToolBackground.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/backgroundStore.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/primitives.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/registry.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/rng.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/skyClock.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/daylight.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/deepField.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/hyperspace.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/liveSky.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/meteors.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/moonlight.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/underwater.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/wormhole/motion.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/wormhole/textures.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/wormhole.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/BackButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/Badge.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ChangeRow.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ChipStrip.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ClipboardHintBanner.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/CollapsibleSection.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/CompactFilterChips.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/CompactRow.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/CopyButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/DataInspector.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/DetailView.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/DetailViewToggle.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/DevToolsCard.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/DraggableHeader.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/DynamicFilterView.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EmptyState.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EntityFilterView.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventHistoryViewer/CompareBar.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventHistoryViewer/DiffModeTabs.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventHistoryViewer/EventHistoryViewer.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventHistoryViewer/EventPickerModal.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventHistoryViewer/ViewToggleCards.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventHistoryViewer/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventHistoryViewer/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventListItem.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventStepperFooter.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ExpandablePopover.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ExpandedInfoRow.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ExportPreview.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/FilterComponents.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/GripVerticalIcon.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/HeaderSearchButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/InfoRow.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ListItem.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ModalHeader.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ModalHintBanner.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/Pill.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/PowerToggleButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/SearchBar.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/SectionHeader.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/StatsCard.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/StatusIndicator.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/StorageTypeBadge.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TabSelector.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TimeDisplay.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ToggleRow.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ToolButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ToolEmptyState.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ToolFooter.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ValueTypeBadge.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/WindowControls.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/windowDrag.d.ts.map +0 -1
- package/lib/typescript/module/ui/console/CyberpunkButtonOutline.d.ts.map +0 -1
- package/lib/typescript/module/ui/console/CyberpunkIconContainer.d.ts.map +0 -1
- package/lib/typescript/module/ui/console/CyberpunkSectionButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/floating/FloatingTool.d.ts.map +0 -1
- package/lib/typescript/module/ui/floating/FloatingTool.web.d.ts.map +0 -1
- package/lib/typescript/module/ui/floating/FloatingToolHost.d.ts.map +0 -1
- package/lib/typescript/module/ui/floating/FloatingToolHost.web.d.ts.map +0 -1
- package/lib/typescript/module/ui/floating/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/floating/index.web.d.ts.map +0 -1
- package/lib/typescript/module/ui/floating/onboardingConstants.d.ts.map +0 -1
- package/lib/typescript/module/ui/floating/onboardingConstants.web.d.ts.map +0 -1
- package/lib/typescript/module/ui/fonts.d.ts.map +0 -1
- package/lib/typescript/module/ui/gameUI/components/GameUICollapsibleSection.d.ts.map +0 -1
- package/lib/typescript/module/ui/gameUI/components/GameUICompactStats.d.ts.map +0 -1
- package/lib/typescript/module/ui/gameUI/components/GameUIIssuesList.d.ts.map +0 -1
- package/lib/typescript/module/ui/gameUI/components/GameUIStatusHeader.d.ts.map +0 -1
- package/lib/typescript/module/ui/gameUI/constants/gameUIColors.d.ts.map +0 -1
- package/lib/typescript/module/ui/gameUI/constants/macOSDesignSystemColors.d.ts.map +0 -1
- package/lib/typescript/module/ui/gameUI/hooks/useGameUIAlertState.d.ts.map +0 -1
- package/lib/typescript/module/ui/gameUI/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/listPresets.d.ts.map +0 -1
- package/lib/typescript/module/ui/night/nightTheme.d.ts.map +0 -1
- package/lib/typescript/module/ui/night/primitives.d.ts.map +0 -1
- package/lib/typescript/module/ui/otto/OttoSceneView.d.ts.map +0 -1
- package/lib/typescript/module/ui/otto/OttoSprite.d.ts.map +0 -1
- package/lib/typescript/module/ui/otto/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/otto/ottoEngine.d.ts.map +0 -1
- package/lib/typescript/module/ui/otto/ottoScenes.d.ts.map +0 -1
- package/lib/typescript/module/ui/otto/ottoSheet.d.ts.map +0 -1
- package/lib/typescript/module/ui/toolTheme.d.ts.map +0 -1
- package/lib/typescript/module/utils/absoluteFill.d.ts.map +0 -1
- package/lib/typescript/module/utils/browserAsyncStorage.d.ts.map +0 -1
- package/lib/typescript/module/utils/browserNavigation.d.ts.map +0 -1
- package/lib/typescript/module/utils/devServer.d.ts.map +0 -1
- package/lib/typescript/module/utils/devServer.web.d.ts.map +0 -1
- package/lib/typescript/module/utils/displayValue.d.ts.map +0 -1
- package/lib/typescript/module/utils/domRuntime.d.ts.map +0 -1
- package/lib/typescript/module/utils/expoRouterModule.d.ts.map +0 -1
- package/lib/typescript/module/utils/expoRouterModule.web.d.ts.map +0 -1
- package/lib/typescript/module/utils/formatting/dataFormatting.d.ts.map +0 -1
- package/lib/typescript/module/utils/formatting/httpFormatting.d.ts.map +0 -1
- package/lib/typescript/module/utils/formatting/index.d.ts.map +0 -1
- package/lib/typescript/module/utils/getSafeAreaInsets.d.ts.map +0 -1
- package/lib/typescript/module/utils/getSafeAreaInsets.web.d.ts.map +0 -1
- package/lib/typescript/module/utils/index.d.ts.map +0 -1
- package/lib/typescript/module/utils/loadOptionalModule.d.ts.map +0 -1
- package/lib/typescript/module/utils/loadToolModule.d.ts.map +0 -1
- package/lib/typescript/module/utils/loadToolModule.web.d.ts.map +0 -1
- package/lib/typescript/module/utils/minimalSuperJSON.d.ts.map +0 -1
- package/lib/typescript/module/utils/modalStorage.d.ts.map +0 -1
- package/lib/typescript/module/utils/nativeWeb.d.ts.map +0 -1
- package/lib/typescript/module/utils/persistentStorage.d.ts.map +0 -1
- package/lib/typescript/module/utils/persistentStorage.web.d.ts.map +0 -1
- package/lib/typescript/module/utils/reloadApp.d.ts.map +0 -1
- package/lib/typescript/module/utils/reloadPlatform.d.ts.map +0 -1
- package/lib/typescript/module/utils/reloadPlatform.web.d.ts.map +0 -1
- package/lib/typescript/module/utils/renderCaptureRegistry.d.ts.map +0 -1
- package/lib/typescript/module/utils/safeExpoRouter.d.ts.map +0 -1
- package/lib/typescript/module/utils/safeExpoRouter.web.d.ts.map +0 -1
- package/lib/typescript/module/utils/safeStringify.d.ts.map +0 -1
- package/lib/typescript/module/utils/snapshotProviderKit.d.ts.map +0 -1
- package/lib/typescript/module/utils/stateSnapshotRegistry.d.ts.map +0 -1
- package/lib/typescript/module/utils/stateTools.d.ts.map +0 -1
- package/lib/typescript/module/utils/subscribable.d.ts.map +0 -1
- package/lib/typescript/module/utils/subscriberCountNotifier.d.ts.map +0 -1
- package/lib/typescript/module/utils/time/RelativeTime.d.ts.map +0 -1
- package/lib/typescript/module/utils/time/TickContext.d.ts.map +0 -1
- package/lib/typescript/module/utils/time/formatRelativeTime.d.ts.map +0 -1
- package/lib/typescript/module/utils/time/index.d.ts.map +0 -1
- package/lib/typescript/module/utils/time/useRelativeTime.d.ts.map +0 -1
- package/lib/typescript/module/utils/toolModules.d.ts.map +0 -1
- package/lib/typescript/module/utils/typeHelpers.d.ts.map +0 -1
- package/lib/typescript/module/utils/valueFormatting.d.ts.map +0 -1
- package/lib/web/chunks/chunk-2MHKRRQW.mjs +0 -8
- package/lib/web/chunks/chunk-2Q3SDPH2.mjs +0 -14
- package/lib/web/chunks/chunk-34YQ42KI.mjs +0 -2
- package/lib/web/chunks/chunk-3NNNCQYP.mjs +0 -14
- package/lib/web/chunks/chunk-46CXXOQB.mjs +0 -2
- package/lib/web/chunks/chunk-475BSDCB.mjs +0 -2
- package/lib/web/chunks/chunk-552W4COI.mjs +0 -2
- package/lib/web/chunks/chunk-56TTTMX4.mjs +0 -6145
- package/lib/web/chunks/chunk-5LOQZINQ.mjs +0 -14
- package/lib/web/chunks/chunk-5NOIO6ZM.mjs +0 -16
- package/lib/web/chunks/chunk-6CCRCSA2.mjs +0 -2
- package/lib/web/chunks/chunk-6Q52HRBL.mjs +0 -2
- package/lib/web/chunks/chunk-6TEDFSNM.mjs +0 -655
- package/lib/web/chunks/chunk-7BMRSMHN.mjs +0 -2
- package/lib/web/chunks/chunk-A2SOFE47.mjs +0 -24
- package/lib/web/chunks/chunk-A7KJCK4R.mjs +0 -14
- package/lib/web/chunks/chunk-AEXGGXS7.mjs +0 -2
- package/lib/web/chunks/chunk-AGD7ZT6O.mjs +0 -15
- package/lib/web/chunks/chunk-AIEOQWNG.mjs +0 -2
- package/lib/web/chunks/chunk-ASTM35HG.mjs +0 -16
- package/lib/web/chunks/chunk-AZBMFPMX.mjs +0 -1421
- package/lib/web/chunks/chunk-B2V2UDCU.mjs +0 -16
- package/lib/web/chunks/chunk-BFGKGTAC.mjs +0 -2
- package/lib/web/chunks/chunk-BHW6AFO6.mjs +0 -2
- package/lib/web/chunks/chunk-BWRW3NJ2.mjs +0 -16
- package/lib/web/chunks/chunk-CBM2IZAK.mjs +0 -2
- package/lib/web/chunks/chunk-CDLCFF44.mjs +0 -2
- package/lib/web/chunks/chunk-CI5CO7FQ.mjs +0 -2
- package/lib/web/chunks/chunk-CIB4U2YK.mjs +0 -2
- package/lib/web/chunks/chunk-CLLTZQGD.mjs +0 -596
- package/lib/web/chunks/chunk-D5HQLRFW.mjs +0 -655
- package/lib/web/chunks/chunk-DZDTNXXK.mjs +0 -2
- package/lib/web/chunks/chunk-FDOZ6YSS.mjs +0 -2
- package/lib/web/chunks/chunk-FMEWNGQO.mjs +0 -2
- package/lib/web/chunks/chunk-G4DH7GMT.mjs +0 -2
- package/lib/web/chunks/chunk-GBUZCZE4.mjs +0 -2
- package/lib/web/chunks/chunk-GLMS5ZLJ.mjs +0 -445
- package/lib/web/chunks/chunk-GNGMIA7V.mjs +0 -2
- package/lib/web/chunks/chunk-HJ36IONA.mjs +0 -15
- package/lib/web/chunks/chunk-HXPTZMAZ.mjs +0 -2
- package/lib/web/chunks/chunk-I27M4JCS.mjs +0 -2
- package/lib/web/chunks/chunk-IVCT27JB.mjs +0 -2
- package/lib/web/chunks/chunk-JG4QSK5B.mjs +0 -2
- package/lib/web/chunks/chunk-JR7BJW6B.mjs +0 -389
- package/lib/web/chunks/chunk-K46ZJUXJ.mjs +0 -90
- package/lib/web/chunks/chunk-K4LXMO4D.mjs +0 -2
- package/lib/web/chunks/chunk-KBTYK5YE.mjs +0 -662
- package/lib/web/chunks/chunk-KHP6CSSM.mjs +0 -2
- package/lib/web/chunks/chunk-KRDRIW7T.mjs +0 -14
- package/lib/web/chunks/chunk-L2DTKDER.mjs +0 -2
- package/lib/web/chunks/chunk-LFDFDGHY.mjs +0 -655
- package/lib/web/chunks/chunk-MAIUUK4E.mjs +0 -2
- package/lib/web/chunks/chunk-MKJKS3IG.mjs +0 -275
- package/lib/web/chunks/chunk-MRQKVLXG.mjs +0 -2
- package/lib/web/chunks/chunk-NK3OISOL.mjs +0 -14
- package/lib/web/chunks/chunk-NLJDDIXW.mjs +0 -2
- package/lib/web/chunks/chunk-OENR3XFI.mjs +0 -11
- package/lib/web/chunks/chunk-OZB3VKZE.mjs +0 -2
- package/lib/web/chunks/chunk-P64PFJT3.mjs +0 -17618
- package/lib/web/chunks/chunk-PACPGYH7.mjs +0 -2
- package/lib/web/chunks/chunk-PART6HOE.mjs +0 -14
- package/lib/web/chunks/chunk-PMRXUQRH.mjs +0 -2
- package/lib/web/chunks/chunk-PZ45TQ55.mjs +0 -14
- package/lib/web/chunks/chunk-Q5LN7GET.mjs +0 -17624
- package/lib/web/chunks/chunk-QCD6T6L4.mjs +0 -297
- package/lib/web/chunks/chunk-QD5EUANU.mjs +0 -2
- package/lib/web/chunks/chunk-QJTECJCO.mjs +0 -2
- package/lib/web/chunks/chunk-QPIZURPZ.mjs +0 -2
- package/lib/web/chunks/chunk-QPY45R5F.mjs +0 -274
- package/lib/web/chunks/chunk-R2SGZIG5.mjs +0 -2
- package/lib/web/chunks/chunk-S3GYQYVJ.mjs +0 -16
- package/lib/web/chunks/chunk-SCCXVTDM.mjs +0 -2
- package/lib/web/chunks/chunk-SHJHD646.mjs +0 -2
- package/lib/web/chunks/chunk-TCRVZ55E.mjs +0 -2
- package/lib/web/chunks/chunk-TJ6ZVV2L.mjs +0 -15
- package/lib/web/chunks/chunk-TPSY4RC3.mjs +0 -14
- package/lib/web/chunks/chunk-U5KNX5O6.mjs +0 -17624
- package/lib/web/chunks/chunk-UCKELQSM.mjs +0 -2
- package/lib/web/chunks/chunk-UGGCYHRH.mjs +0 -15
- package/lib/web/chunks/chunk-UNYQJZET.mjs +0 -16
- package/lib/web/chunks/chunk-VE72SWLV.mjs +0 -15
- package/lib/web/chunks/chunk-VKONO6MI.mjs +0 -2
- package/lib/web/chunks/chunk-W4BGMPJO.mjs +0 -2
- package/lib/web/chunks/chunk-WHNEEKLR.mjs +0 -2
- package/lib/web/chunks/chunk-WLGUP3KY.mjs +0 -16
- package/lib/web/chunks/chunk-WY7D4WBZ.mjs +0 -2
- package/lib/web/chunks/chunk-XRNB2MHO.mjs +0 -107
- package/lib/web/chunks/chunk-XXTIAXQY.mjs +0 -2
- package/lib/web/chunks/chunk-YG6DIKQD.mjs +0 -2
- package/lib/web/chunks/chunk-YIZFMU66.mjs +0 -2
- package/lib/web/chunks/chunk-YOGAPOGC.mjs +0 -2
- package/lib/web/chunks/chunk-Z7373DS5.mjs +0 -2
- package/lib/web/chunks/chunk-Z76GRN66.mjs +0 -17627
- package/lib/web/chunks/persistentStorage.web-4FBAOYJ4.mjs +0 -12
- package/lib/web/chunks/persistentStorage.web-7W3Y6Q24.mjs +0 -12
- package/lib/web/chunks/persistentStorage.web-GOWNFMVT.mjs +0 -2
- package/lib/web/chunks/persistentStorage.web-RF47FXIK.mjs +0 -12
- package/scripts/generate-wormhole-textures.cjs +0 -261
- package/scripts/test-wormhole-motion.cjs +0 -59
|
@@ -1,350 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* The ‹ prev / next › strip for choosing a background.
|
|
5
|
-
*
|
|
6
|
-
* Shipping mount: the dial menu's settings modal (pass `embedded` there so the
|
|
7
|
-
* host card supplies the chrome). It can also be dropped at the top of a
|
|
8
|
-
* tool's body while auditioning new presets — the cost of each preset shows
|
|
9
|
-
* next to its name, so it doubles as the review tool it started as.
|
|
10
|
-
*
|
|
11
|
-
* It writes to the shared `backgroundStore`, so stepping here changes the
|
|
12
|
-
* background in every tool at once.
|
|
13
|
-
*
|
|
14
|
-
* While Live Sky is showing, a second row appears: a WALL-clock slider that
|
|
15
|
-
* scrubs the scene through the whole cycle (Live Sky applies its workday
|
|
16
|
-
* remap to whatever wall time the scrub holds, same as it does to the live
|
|
17
|
-
* clock). LIVE snaps back to the real clock. The scrub is quantized to
|
|
18
|
-
* 5-minute steps so a drag re-renders the scene at most once per step, and it
|
|
19
|
-
* is not persisted — it's a preview gesture.
|
|
20
|
-
*
|
|
21
|
-
* ▶ runs the cycle like a movie: one full 24h lap in 15s, starting from the
|
|
22
|
-
* displayed time and finishing exactly where it began (back on LIVE if that's
|
|
23
|
-
* where it was). It drives the SAME scrub value on a JS interval — ~19 5-min
|
|
24
|
-
* steps a second, each one small re-render of the scene — which is fine for a
|
|
25
|
-
* 15s preview gesture and is exactly what a fast drag already does.
|
|
26
|
-
*/
|
|
27
|
-
|
|
28
|
-
import { memo, useEffect, useRef, useState } from "react";
|
|
29
|
-
import { PanResponder, StyleSheet, Text, TouchableOpacity, View } from "react-native";
|
|
30
|
-
import { ChevronLeft, ChevronRight, Palette } from "../../icons/lucide-icons.js";
|
|
31
|
-
import { macOSColors } from "../gameUI/constants/macOSDesignSystemColors.js";
|
|
32
|
-
import { useToolBackground } from "./backgroundStore.js";
|
|
33
|
-
import { getPreset } from "./registry.js";
|
|
34
|
-
import { getSkyScrub, setSkyScrub, useSkyScrub } from "./skyClock.js";
|
|
35
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
36
|
-
const THUMB = 14;
|
|
37
|
-
function formatMinutes(m) {
|
|
38
|
-
const h = Math.floor(m / 60) % 24;
|
|
39
|
-
const min = m % 60;
|
|
40
|
-
return `${String(h).padStart(2, "0")}:${String(min).padStart(2, "0")}`;
|
|
41
|
-
}
|
|
42
|
-
const PLAY_DURATION_MS = 15000;
|
|
43
|
-
const PLAY_FRAME_MS = 50;
|
|
44
|
-
const TimeSlider = /*#__PURE__*/memo(function TimeSlider() {
|
|
45
|
-
const scrub = useSkyScrub();
|
|
46
|
-
const [trackW, setTrackW] = useState(0);
|
|
47
|
-
const widthRef = useRef(0);
|
|
48
|
-
const [playing, setPlaying] = useState(false);
|
|
49
|
-
const playTimer = useRef(null);
|
|
50
|
-
const stopPlay = () => {
|
|
51
|
-
if (playTimer.current) clearInterval(playTimer.current);
|
|
52
|
-
playTimer.current = null;
|
|
53
|
-
setPlaying(false);
|
|
54
|
-
};
|
|
55
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
56
|
-
useEffect(() => stopPlay, []);
|
|
57
|
-
const startPlay = () => {
|
|
58
|
-
stopPlay();
|
|
59
|
-
const now = new Date();
|
|
60
|
-
const startMinutes = getSkyScrub() ?? now.getHours() * 60 + now.getMinutes();
|
|
61
|
-
const wasLive = getSkyScrub() === null;
|
|
62
|
-
const begin = Date.now();
|
|
63
|
-
setPlaying(true);
|
|
64
|
-
playTimer.current = setInterval(() => {
|
|
65
|
-
const t = (Date.now() - begin) / PLAY_DURATION_MS;
|
|
66
|
-
if (t >= 1) {
|
|
67
|
-
stopPlay();
|
|
68
|
-
// Finish exactly where the day began.
|
|
69
|
-
setSkyScrub(wasLive ? null : startMinutes);
|
|
70
|
-
return;
|
|
71
|
-
}
|
|
72
|
-
setSkyScrub(Math.floor((startMinutes + t * 1440) % 1440 / 5) * 5);
|
|
73
|
-
}, PLAY_FRAME_MS);
|
|
74
|
-
};
|
|
75
|
-
const applyX = x => {
|
|
76
|
-
stopPlay();
|
|
77
|
-
const w = widthRef.current;
|
|
78
|
-
if (w <= 0) return;
|
|
79
|
-
const frac = Math.min(1, Math.max(0, x / w));
|
|
80
|
-
setSkyScrub(Math.round(frac * 1439 / 5) * 5);
|
|
81
|
-
};
|
|
82
|
-
const responder = useRef(PanResponder.create({
|
|
83
|
-
onStartShouldSetPanResponder: () => true,
|
|
84
|
-
onMoveShouldSetPanResponder: () => true,
|
|
85
|
-
onPanResponderGrant: e => applyX(e.nativeEvent.locationX),
|
|
86
|
-
onPanResponderMove: e => applyX(e.nativeEvent.locationX)
|
|
87
|
-
})).current;
|
|
88
|
-
const now = new Date();
|
|
89
|
-
// Wall time throughout — the scene applies its own remap to this.
|
|
90
|
-
const minutes = scrub ?? now.getHours() * 60 + now.getMinutes();
|
|
91
|
-
const frac = minutes / 1440;
|
|
92
|
-
return /*#__PURE__*/_jsxs(View, {
|
|
93
|
-
style: styles.sliderRow,
|
|
94
|
-
children: [/*#__PURE__*/_jsx(TouchableOpacity, {
|
|
95
|
-
onPress: () => {
|
|
96
|
-
stopPlay();
|
|
97
|
-
setSkyScrub(null);
|
|
98
|
-
},
|
|
99
|
-
style: [styles.live, scrub === null ? styles.liveOn : null],
|
|
100
|
-
hitSlop: HIT_SLOP,
|
|
101
|
-
accessibilityLabel: "Follow the real clock",
|
|
102
|
-
"sentry-label": "ignore background sky live",
|
|
103
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
104
|
-
style: [styles.liveText, scrub === null ? styles.liveTextOn : null],
|
|
105
|
-
children: "LIVE"
|
|
106
|
-
})
|
|
107
|
-
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
108
|
-
onPress: playing ? stopPlay : startPlay,
|
|
109
|
-
style: [styles.live, playing ? styles.playOn : null],
|
|
110
|
-
hitSlop: HIT_SLOP,
|
|
111
|
-
accessibilityLabel: playing ? "Stop the day cycle" : "Play the full day in 15 seconds",
|
|
112
|
-
"sentry-label": "ignore background sky play",
|
|
113
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
114
|
-
style: [styles.liveText, playing ? styles.playTextOn : null],
|
|
115
|
-
children: playing ? "■" : "▶"
|
|
116
|
-
})
|
|
117
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
118
|
-
style: styles.track,
|
|
119
|
-
onLayout: e => {
|
|
120
|
-
widthRef.current = e.nativeEvent.layout.width;
|
|
121
|
-
setTrackW(e.nativeEvent.layout.width);
|
|
122
|
-
},
|
|
123
|
-
...responder.panHandlers,
|
|
124
|
-
children: [/*#__PURE__*/_jsx(View, {
|
|
125
|
-
style: styles.trackBar,
|
|
126
|
-
pointerEvents: "none"
|
|
127
|
-
}), trackW > 0 ? /*#__PURE__*/_jsx(View, {
|
|
128
|
-
pointerEvents: "none",
|
|
129
|
-
style: [styles.thumb, scrub === null ? null : styles.thumbScrub, {
|
|
130
|
-
left: frac * trackW - THUMB / 2
|
|
131
|
-
}]
|
|
132
|
-
}) : null]
|
|
133
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
134
|
-
style: styles.time,
|
|
135
|
-
children: formatMinutes(minutes)
|
|
136
|
-
})]
|
|
137
|
-
});
|
|
138
|
-
});
|
|
139
|
-
export const BackgroundSwitcher = /*#__PURE__*/memo(function BackgroundSwitcher({
|
|
140
|
-
embedded = false
|
|
141
|
-
}) {
|
|
142
|
-
const {
|
|
143
|
-
id,
|
|
144
|
-
index,
|
|
145
|
-
count,
|
|
146
|
-
next,
|
|
147
|
-
previous,
|
|
148
|
-
setId
|
|
149
|
-
} = useToolBackground();
|
|
150
|
-
const preset = getPreset(id);
|
|
151
|
-
const counterpart = preset.counterpart;
|
|
152
|
-
return /*#__PURE__*/_jsxs(View, {
|
|
153
|
-
style: embedded ? styles.rootEmbedded : styles.root,
|
|
154
|
-
children: [/*#__PURE__*/_jsxs(View, {
|
|
155
|
-
style: styles.row,
|
|
156
|
-
children: [/*#__PURE__*/_jsx(TouchableOpacity, {
|
|
157
|
-
onPress: previous,
|
|
158
|
-
style: styles.step,
|
|
159
|
-
hitSlop: HIT_SLOP,
|
|
160
|
-
accessibilityLabel: "Previous background",
|
|
161
|
-
"sentry-label": "ignore background previous",
|
|
162
|
-
children: /*#__PURE__*/_jsx(ChevronLeft, {
|
|
163
|
-
size: 16,
|
|
164
|
-
color: macOSColors.text.secondary
|
|
165
|
-
})
|
|
166
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
167
|
-
style: styles.center,
|
|
168
|
-
children: [/*#__PURE__*/_jsxs(View, {
|
|
169
|
-
style: styles.titleRow,
|
|
170
|
-
children: [/*#__PURE__*/_jsx(Palette, {
|
|
171
|
-
size: 11,
|
|
172
|
-
color: macOSColors.semantic.info
|
|
173
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
174
|
-
style: styles.title,
|
|
175
|
-
numberOfLines: 1,
|
|
176
|
-
children: preset.label
|
|
177
|
-
}), /*#__PURE__*/_jsxs(Text, {
|
|
178
|
-
style: styles.counter,
|
|
179
|
-
children: [index + 1, "/", count]
|
|
180
|
-
})]
|
|
181
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
182
|
-
style: styles.blurb,
|
|
183
|
-
numberOfLines: 1,
|
|
184
|
-
children: preset.blurb
|
|
185
|
-
})]
|
|
186
|
-
}), counterpart ? /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
187
|
-
onPress: () => setId(counterpart.id),
|
|
188
|
-
style: styles.motion,
|
|
189
|
-
hitSlop: HIT_SLOP,
|
|
190
|
-
accessibilityLabel: `Switch to ${counterpart.id} background`,
|
|
191
|
-
"sentry-label": "ignore background counterpart",
|
|
192
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
193
|
-
style: styles.motionText,
|
|
194
|
-
children: counterpart.label
|
|
195
|
-
})
|
|
196
|
-
}) : null, /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
197
|
-
onPress: next,
|
|
198
|
-
style: styles.step,
|
|
199
|
-
hitSlop: HIT_SLOP,
|
|
200
|
-
accessibilityLabel: "Next background",
|
|
201
|
-
"sentry-label": "ignore background next",
|
|
202
|
-
children: /*#__PURE__*/_jsx(ChevronRight, {
|
|
203
|
-
size: 16,
|
|
204
|
-
color: macOSColors.text.secondary
|
|
205
|
-
})
|
|
206
|
-
})]
|
|
207
|
-
}), id === "livesky" ? /*#__PURE__*/_jsx(TimeSlider, {}) : null]
|
|
208
|
-
});
|
|
209
|
-
});
|
|
210
|
-
const HIT_SLOP = {
|
|
211
|
-
top: 8,
|
|
212
|
-
bottom: 8,
|
|
213
|
-
left: 8,
|
|
214
|
-
right: 8
|
|
215
|
-
};
|
|
216
|
-
const styles = StyleSheet.create({
|
|
217
|
-
root: {
|
|
218
|
-
paddingHorizontal: 8,
|
|
219
|
-
paddingVertical: 6,
|
|
220
|
-
marginHorizontal: 8,
|
|
221
|
-
marginTop: 6,
|
|
222
|
-
marginBottom: 2,
|
|
223
|
-
borderRadius: 10,
|
|
224
|
-
borderWidth: 1,
|
|
225
|
-
borderColor: macOSColors.border.default,
|
|
226
|
-
// Deliberately translucent: the strip sits ON the background it is
|
|
227
|
-
// previewing, so you can see the field through it.
|
|
228
|
-
backgroundColor: "rgba(26,26,28,0.72)"
|
|
229
|
-
},
|
|
230
|
-
rootEmbedded: {
|
|
231
|
-
// The host card supplies border/fill/margins.
|
|
232
|
-
},
|
|
233
|
-
row: {
|
|
234
|
-
flexDirection: "row",
|
|
235
|
-
alignItems: "center",
|
|
236
|
-
gap: 8
|
|
237
|
-
},
|
|
238
|
-
step: {
|
|
239
|
-
width: 28,
|
|
240
|
-
height: 28,
|
|
241
|
-
borderRadius: 8,
|
|
242
|
-
alignItems: "center",
|
|
243
|
-
justifyContent: "center",
|
|
244
|
-
backgroundColor: "rgba(38,38,42,0.8)",
|
|
245
|
-
borderWidth: 1,
|
|
246
|
-
borderColor: macOSColors.border.default
|
|
247
|
-
},
|
|
248
|
-
center: {
|
|
249
|
-
flex: 1,
|
|
250
|
-
minWidth: 0
|
|
251
|
-
},
|
|
252
|
-
titleRow: {
|
|
253
|
-
flexDirection: "row",
|
|
254
|
-
alignItems: "center",
|
|
255
|
-
gap: 5
|
|
256
|
-
},
|
|
257
|
-
title: {
|
|
258
|
-
color: macOSColors.text.primary,
|
|
259
|
-
fontSize: 12,
|
|
260
|
-
fontWeight: "600"
|
|
261
|
-
},
|
|
262
|
-
counter: {
|
|
263
|
-
color: macOSColors.text.muted,
|
|
264
|
-
fontSize: 10,
|
|
265
|
-
fontVariant: ["tabular-nums"]
|
|
266
|
-
},
|
|
267
|
-
blurb: {
|
|
268
|
-
color: macOSColors.text.secondary,
|
|
269
|
-
fontSize: 10,
|
|
270
|
-
marginTop: 1
|
|
271
|
-
},
|
|
272
|
-
motion: {
|
|
273
|
-
paddingHorizontal: 7,
|
|
274
|
-
paddingVertical: 4,
|
|
275
|
-
borderRadius: 6,
|
|
276
|
-
borderWidth: 1,
|
|
277
|
-
borderColor: macOSColors.border.default,
|
|
278
|
-
backgroundColor: "rgba(38,38,42,0.8)"
|
|
279
|
-
},
|
|
280
|
-
motionText: {
|
|
281
|
-
fontSize: 9,
|
|
282
|
-
fontWeight: "700",
|
|
283
|
-
letterSpacing: 0.6,
|
|
284
|
-
color: macOSColors.text.muted
|
|
285
|
-
},
|
|
286
|
-
sliderRow: {
|
|
287
|
-
flexDirection: "row",
|
|
288
|
-
alignItems: "center",
|
|
289
|
-
gap: 8,
|
|
290
|
-
marginTop: 7
|
|
291
|
-
},
|
|
292
|
-
live: {
|
|
293
|
-
paddingHorizontal: 7,
|
|
294
|
-
paddingVertical: 3,
|
|
295
|
-
borderRadius: 6,
|
|
296
|
-
borderWidth: 1,
|
|
297
|
-
borderColor: macOSColors.border.default,
|
|
298
|
-
backgroundColor: "rgba(38,38,42,0.8)"
|
|
299
|
-
},
|
|
300
|
-
liveOn: {
|
|
301
|
-
borderColor: macOSColors.semantic.success + "55",
|
|
302
|
-
backgroundColor: macOSColors.semantic.successBackground
|
|
303
|
-
},
|
|
304
|
-
liveText: {
|
|
305
|
-
fontSize: 9,
|
|
306
|
-
fontWeight: "700",
|
|
307
|
-
letterSpacing: 0.6,
|
|
308
|
-
color: macOSColors.text.muted
|
|
309
|
-
},
|
|
310
|
-
liveTextOn: {
|
|
311
|
-
color: macOSColors.semantic.success
|
|
312
|
-
},
|
|
313
|
-
playOn: {
|
|
314
|
-
borderColor: macOSColors.semantic.info + "55",
|
|
315
|
-
backgroundColor: macOSColors.semantic.infoBackground
|
|
316
|
-
},
|
|
317
|
-
playTextOn: {
|
|
318
|
-
color: macOSColors.semantic.info
|
|
319
|
-
},
|
|
320
|
-
track: {
|
|
321
|
-
flex: 1,
|
|
322
|
-
height: 24,
|
|
323
|
-
justifyContent: "center"
|
|
324
|
-
},
|
|
325
|
-
trackBar: {
|
|
326
|
-
height: 3,
|
|
327
|
-
borderRadius: 1.5,
|
|
328
|
-
backgroundColor: "rgba(120,130,150,0.35)"
|
|
329
|
-
},
|
|
330
|
-
thumb: {
|
|
331
|
-
position: "absolute",
|
|
332
|
-
top: (24 - THUMB) / 2,
|
|
333
|
-
width: THUMB,
|
|
334
|
-
height: THUMB,
|
|
335
|
-
borderRadius: THUMB / 2,
|
|
336
|
-
backgroundColor: macOSColors.text.secondary,
|
|
337
|
-
borderWidth: 1,
|
|
338
|
-
borderColor: "rgba(255,255,255,0.5)"
|
|
339
|
-
},
|
|
340
|
-
thumbScrub: {
|
|
341
|
-
backgroundColor: macOSColors.semantic.info
|
|
342
|
-
},
|
|
343
|
-
time: {
|
|
344
|
-
color: macOSColors.text.secondary,
|
|
345
|
-
fontSize: 10,
|
|
346
|
-
fontVariant: ["tabular-nums"],
|
|
347
|
-
width: 32,
|
|
348
|
-
textAlign: "right"
|
|
349
|
-
}
|
|
350
|
-
});
|
|
1
|
+
"use strict";import{memo as M,useEffect as I,useRef as w,useState as L}from"react";import{PanResponder as B,StyleSheet as H,Text as c,TouchableOpacity as h,View as i}from"react-native";import{ChevronLeft as D,ChevronRight as V,Palette as _}from"../../icons/lucide-icons.js";import{macOSColors as t}from"../gameUI/constants/macOSDesignSystemColors.js";import{useToolBackground as j}from"./backgroundStore.js";import{getPreset as A}from"./registry.js";import{getSkyScrub as O,setSkyScrub as k,useSkyScrub as X}from"./skyClock.js";import{jsx as r,jsxs as d}from"react/jsx-runtime";const m=14;function $(p){const l=Math.floor(p/60)%24;const a=p%60;return`${String(l).padStart(2,"0")}:${String(a).padStart(2,"0")}`}const F=15e3;const N=50;const U=M(function p(){const l=X();const[a,x]=L(0);const f=w(0);const[s,S]=L(false);const u=w(null);const n=()=>{if(u.current)clearInterval(u.current);u.current=null;S(false)};I(()=>n,[]);const b=()=>{n();const o=new Date;const g=O()??o.getHours()*60+o.getMinutes();const v=O()===null;const W=Date.now();S(true);u.current=setInterval(()=>{const R=(Date.now()-W)/F;if(R>=1){n();k(v?null:g);return}k(Math.floor((g+R*1440)%1440/5)*5)},N)};const T=o=>{n();const g=f.current;if(g<=0)return;const v=Math.min(1,Math.max(0,o/g));k(Math.round(v*1439/5)*5)};const z=w(B.create({onStartShouldSetPanResponder:()=>true,onMoveShouldSetPanResponder:()=>true,onPanResponderGrant:o=>T(o.nativeEvent.locationX),onPanResponderMove:o=>T(o.nativeEvent.locationX)})).current;const C=new Date;const P=l??C.getHours()*60+C.getMinutes();const E=P/1440;return d(i,{style:e.sliderRow,children:[r(h,{onPress:()=>{n();k(null)},style:[e.live,l===null?e.liveOn:null],hitSlop:y,accessibilityLabel:"Follow the real clock","sentry-label":"ignore background sky live",children:r(c,{style:[e.liveText,l===null?e.liveTextOn:null],children:"LIVE"})}),r(h,{onPress:s?n:b,style:[e.live,s?e.playOn:null],hitSlop:y,accessibilityLabel:s?"Stop the day cycle":"Play the full day in 15 seconds","sentry-label":"ignore background sky play",children:r(c,{style:[e.liveText,s?e.playTextOn:null],children:s?"\u25A0":"\u25B6"})}),d(i,{style:e.track,onLayout:o=>{f.current=o.nativeEvent.layout.width;x(o.nativeEvent.layout.width)},...z.panHandlers,children:[r(i,{style:e.trackBar,pointerEvents:"none"}),a>0?r(i,{pointerEvents:"none",style:[e.thumb,l===null?null:e.thumbScrub,{left:E*a-m/2}]}):null]}),r(c,{style:e.time,children:$(P)})]})});export const BackgroundSwitcher=M(function p({embedded:l=false}){const{id:a,index:x,count:f,next:s,previous:S,setId:u}=j();const n=A(a);const b=n.counterpart;return d(i,{style:l?e.rootEmbedded:e.root,children:[d(i,{style:e.row,children:[r(h,{onPress:S,style:e.step,hitSlop:y,accessibilityLabel:"Previous background","sentry-label":"ignore background previous",children:r(D,{size:16,color:t.text.secondary})}),d(i,{style:e.center,children:[d(i,{style:e.titleRow,children:[r(_,{size:11,color:t.semantic.info}),r(c,{style:e.title,numberOfLines:1,children:n.label}),d(c,{style:e.counter,children:[x+1,"/",f]})]}),r(c,{style:e.blurb,numberOfLines:1,children:n.blurb})]}),b?r(h,{onPress:()=>u(b.id),style:e.motion,hitSlop:y,accessibilityLabel:`Switch to ${b.id} background`,"sentry-label":"ignore background counterpart",children:r(c,{style:e.motionText,children:b.label})}):null,r(h,{onPress:s,style:e.step,hitSlop:y,accessibilityLabel:"Next background","sentry-label":"ignore background next",children:r(V,{size:16,color:t.text.secondary})})]}),a==="livesky"?r(U,{}):null]})});const y={top:8,bottom:8,left:8,right:8};const e=H.create({root:{paddingHorizontal:8,paddingVertical:6,marginHorizontal:8,marginTop:6,marginBottom:2,borderRadius:10,borderWidth:1,borderColor:t.border.default,backgroundColor:"rgba(26,26,28,0.72)"},rootEmbedded:{},row:{flexDirection:"row",alignItems:"center",gap:8},step:{width:28,height:28,borderRadius:8,alignItems:"center",justifyContent:"center",backgroundColor:"rgba(38,38,42,0.8)",borderWidth:1,borderColor:t.border.default},center:{flex:1,minWidth:0},titleRow:{flexDirection:"row",alignItems:"center",gap:5},title:{color:t.text.primary,fontSize:12,fontWeight:"600"},counter:{color:t.text.muted,fontSize:10,fontVariant:["tabular-nums"]},blurb:{color:t.text.secondary,fontSize:10,marginTop:1},motion:{paddingHorizontal:7,paddingVertical:4,borderRadius:6,borderWidth:1,borderColor:t.border.default,backgroundColor:"rgba(38,38,42,0.8)"},motionText:{fontSize:9,fontWeight:"700",letterSpacing:.6,color:t.text.muted},sliderRow:{flexDirection:"row",alignItems:"center",gap:8,marginTop:7},live:{paddingHorizontal:7,paddingVertical:3,borderRadius:6,borderWidth:1,borderColor:t.border.default,backgroundColor:"rgba(38,38,42,0.8)"},liveOn:{borderColor:t.semantic.success+"55",backgroundColor:t.semantic.successBackground},liveText:{fontSize:9,fontWeight:"700",letterSpacing:.6,color:t.text.muted},liveTextOn:{color:t.semantic.success},playOn:{borderColor:t.semantic.info+"55",backgroundColor:t.semantic.infoBackground},playTextOn:{color:t.semantic.info},track:{flex:1,height:24,justifyContent:"center"},trackBar:{height:3,borderRadius:1.5,backgroundColor:"rgba(120,130,150,0.35)"},thumb:{position:"absolute",top:(24-m)/2,width:m,height:m,borderRadius:m/2,backgroundColor:t.text.secondary,borderWidth:1,borderColor:"rgba(255,255,255,0.5)"},thumbScrub:{backgroundColor:t.semantic.info},time:{color:t.text.secondary,fontSize:10,fontVariant:["tabular-nums"],width:32,textAlign:"right"}});
|
|
@@ -1,72 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Drop-in animated backdrop for a Buoy tool surface.
|
|
5
|
-
*
|
|
6
|
-
* Mount it as the FIRST child of a tool's body container and everything after
|
|
7
|
-
* it draws on top:
|
|
8
|
-
*
|
|
9
|
-
* <View style={styles.container}>
|
|
10
|
-
* <ToolBackground />
|
|
11
|
-
* ...screens...
|
|
12
|
-
* </View>
|
|
13
|
-
*
|
|
14
|
-
* It is `position: absolute` + `pointerEvents: "none"`, so it never affects
|
|
15
|
-
* layout and never eats a touch. The preset comes from the shared persisted
|
|
16
|
-
* selection (`backgroundStore`), so switching it in one tool switches it in all
|
|
17
|
-
* of them.
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
import { memo, useCallback, useState } from "react";
|
|
21
|
-
import { View } from "react-native";
|
|
22
|
-
import { absoluteFill } from "../../utils/absoluteFill.js";
|
|
23
|
-
import { useToolBackground } from "./backgroundStore.js";
|
|
24
|
-
import { getPreset } from "./registry.js";
|
|
25
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
26
|
-
/**
|
|
27
|
-
* Round the measured size into 8px buckets. Presets lay out from width/height,
|
|
28
|
-
* so an unbucketed measurement would rebuild the whole field on every frame of
|
|
29
|
-
* a modal resize drag; at this granularity nobody can see the difference and a
|
|
30
|
-
* drag costs a handful of rebuilds instead of hundreds.
|
|
31
|
-
*/
|
|
32
|
-
const bucket = n => Math.max(0, Math.ceil(n / 8) * 8);
|
|
33
|
-
export const ToolBackground = /*#__PURE__*/memo(function ToolBackground({
|
|
34
|
-
id,
|
|
35
|
-
motion,
|
|
36
|
-
opacity = 1,
|
|
37
|
-
focus
|
|
38
|
-
}) {
|
|
39
|
-
const shared = useToolBackground();
|
|
40
|
-
const [size, setSize] = useState({
|
|
41
|
-
width: 0,
|
|
42
|
-
height: 0
|
|
43
|
-
});
|
|
44
|
-
const onLayout = useCallback(event => {
|
|
45
|
-
const {
|
|
46
|
-
width,
|
|
47
|
-
height
|
|
48
|
-
} = event.nativeEvent.layout;
|
|
49
|
-
const next = {
|
|
50
|
-
width: bucket(width),
|
|
51
|
-
height: bucket(height)
|
|
52
|
-
};
|
|
53
|
-
setSize(prev => prev.width === next.width && prev.height === next.height ? prev : next);
|
|
54
|
-
}, []);
|
|
55
|
-
const preset = getPreset(id ?? shared.id);
|
|
56
|
-
const animated = motion ?? shared.motion;
|
|
57
|
-
const Variant = preset.Component;
|
|
58
|
-
const ready = size.width > 0 && size.height > 0;
|
|
59
|
-
return /*#__PURE__*/_jsx(View, {
|
|
60
|
-
style: [absoluteFill, opacity === 1 ? null : {
|
|
61
|
-
opacity
|
|
62
|
-
}],
|
|
63
|
-
pointerEvents: "none",
|
|
64
|
-
onLayout: onLayout,
|
|
65
|
-
children: Variant && ready ? /*#__PURE__*/_jsx(Variant, {
|
|
66
|
-
width: size.width,
|
|
67
|
-
height: size.height,
|
|
68
|
-
animated: animated,
|
|
69
|
-
focus: focus
|
|
70
|
-
}) : null
|
|
71
|
-
});
|
|
72
|
-
});
|
|
1
|
+
"use strict";import{memo as y,useCallback as b,useState as B}from"react";import{View as T}from"react-native";import{absoluteFill as j}from"../../utils/absoluteFill.js";import{useToolBackground as z}from"./backgroundStore.js";import{getPreset as C}from"./registry.js";import{jsx as r}from"react/jsx-runtime";const a=i=>Math.max(0,Math.ceil(i/8)*8);export const ToolBackground=y(function i({id:c,motion:m,opacity:n=1,focus:d}){const h=z();const[t,u]=B({width:0,height:0});const l=b(p=>{const{width:k,height:x}=p.nativeEvent.layout;const o={width:a(k),height:a(x)};u(e=>e.width===o.width&&e.height===o.height?e:o)},[]);const g=C(c??h.id);const w=m??h.motion;const s=g.Component;const f=t.width>0&&t.height>0;return r(T,{style:[j,n===1?null:{opacity:n}],pointerEvents:"none",onLayout:l,children:s&&f?r(s,{width:t.width,height:t.height,animated:w,focus:d}):null})});
|
|
@@ -1,125 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* The persisted background selection, shared by every tool.
|
|
5
|
-
*
|
|
6
|
-
* A singleton rather than context so a tool anywhere in the tree — modal,
|
|
7
|
-
* inline desktop panel, bottom sheet — reads the same choice without a provider
|
|
8
|
-
* having to wrap it. Same shape as `ignoredPatternsStore`: subscribe/notify,
|
|
9
|
-
* best-effort persistence, a dirty flag so a slow initial read can't clobber a
|
|
10
|
-
* choice the user already made.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import { useEffect, useState } from "react";
|
|
14
|
-
import { devToolsStorageKeys } from "../../storage/devToolsStorageKeys.js";
|
|
15
|
-
import { persistentStorage } from "../../utils/persistentStorage";
|
|
16
|
-
import { BACKGROUND_PRESETS, DEFAULT_BACKGROUND, presetAt, presetIndex } from "./registry.js";
|
|
17
|
-
// v3: bumped when the default became "off" (backgrounds are opt-in now), so
|
|
18
|
-
// devices that stepped the switcher during the (unreleased) audition rounds
|
|
19
|
-
// re-default to none instead of keeping a pre-release pick forever. Earlier
|
|
20
|
-
// keys are simply abandoned, same as v1 was.
|
|
21
|
-
const KEY = `${devToolsStorageKeys.base}_tool_background_v3`;
|
|
22
|
-
|
|
23
|
-
/** The persisted-selection key, exported so a host can ask "has the user ever
|
|
24
|
-
* picked a background?" (the desktop's first-run hint modal reads it). */
|
|
25
|
-
export const BACKGROUND_STORAGE_KEY = KEY;
|
|
26
|
-
|
|
27
|
-
// Motion is deliberately NOT persisted: the switcher no longer offers a
|
|
28
|
-
// motion toggle, so every session starts animated. `setMotion` survives as a
|
|
29
|
-
// session-only seam (bench harnesses, a tool forcing stillness).
|
|
30
|
-
|
|
31
|
-
function isValidId(value) {
|
|
32
|
-
return typeof value === "string" && BACKGROUND_PRESETS.some(p => p.id === value);
|
|
33
|
-
}
|
|
34
|
-
class BackgroundStore {
|
|
35
|
-
id = DEFAULT_BACKGROUND;
|
|
36
|
-
motion = true;
|
|
37
|
-
listeners = new Set();
|
|
38
|
-
loadPromise = null;
|
|
39
|
-
dirty = false;
|
|
40
|
-
getId() {
|
|
41
|
-
return this.id;
|
|
42
|
-
}
|
|
43
|
-
getMotion() {
|
|
44
|
-
return this.motion;
|
|
45
|
-
}
|
|
46
|
-
subscribe(listener) {
|
|
47
|
-
this.listeners.add(listener);
|
|
48
|
-
void this.load();
|
|
49
|
-
return () => {
|
|
50
|
-
this.listeners.delete(listener);
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
notify() {
|
|
54
|
-
for (const listener of this.listeners) listener();
|
|
55
|
-
}
|
|
56
|
-
load() {
|
|
57
|
-
if (this.loadPromise) return this.loadPromise;
|
|
58
|
-
this.loadPromise = (async () => {
|
|
59
|
-
try {
|
|
60
|
-
const raw = await persistentStorage.getItem(KEY);
|
|
61
|
-
if (!raw || this.dirty) return;
|
|
62
|
-
const parsed = JSON.parse(raw);
|
|
63
|
-
// The standalone Meteors preset was folded into Deep Field — re-home
|
|
64
|
-
// anyone still persisted on it rather than dropping them to the default.
|
|
65
|
-
const id = parsed.id === "meteors" ? "deepfield" : parsed.id;
|
|
66
|
-
if (isValidId(id)) this.id = id;
|
|
67
|
-
this.notify();
|
|
68
|
-
} catch {
|
|
69
|
-
// A missing or corrupt entry just means "use the default".
|
|
70
|
-
}
|
|
71
|
-
})();
|
|
72
|
-
return this.loadPromise;
|
|
73
|
-
}
|
|
74
|
-
persist() {
|
|
75
|
-
this.dirty = true;
|
|
76
|
-
const payload = {
|
|
77
|
-
id: this.id
|
|
78
|
-
};
|
|
79
|
-
void persistentStorage.setItem(KEY, JSON.stringify(payload)).catch(() => {});
|
|
80
|
-
}
|
|
81
|
-
setId(id) {
|
|
82
|
-
if (this.id === id) return;
|
|
83
|
-
this.id = id;
|
|
84
|
-
this.persist();
|
|
85
|
-
this.notify();
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
/** Step through the catalogue; `delta` is +1 (next) or -1 (previous). */
|
|
89
|
-
step(delta) {
|
|
90
|
-
this.setId(presetAt(presetIndex(this.id) + delta).id);
|
|
91
|
-
}
|
|
92
|
-
setMotion(motion) {
|
|
93
|
-
if (this.motion === motion) return;
|
|
94
|
-
this.motion = motion;
|
|
95
|
-
this.persist();
|
|
96
|
-
this.notify();
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
export const backgroundStore = new BackgroundStore();
|
|
100
|
-
/** Subscribe a component to the current background selection. */
|
|
101
|
-
export function useToolBackground() {
|
|
102
|
-
const [id, setLocalId] = useState(() => backgroundStore.getId());
|
|
103
|
-
const [motion, setLocalMotion] = useState(() => backgroundStore.getMotion());
|
|
104
|
-
useEffect(() => backgroundStore.subscribe(() => {
|
|
105
|
-
setLocalId(backgroundStore.getId());
|
|
106
|
-
setLocalMotion(backgroundStore.getMotion());
|
|
107
|
-
}), []);
|
|
108
|
-
return {
|
|
109
|
-
id,
|
|
110
|
-
motion,
|
|
111
|
-
index: presetIndex(id),
|
|
112
|
-
count: BACKGROUND_PRESETS.length,
|
|
113
|
-
setId: setId,
|
|
114
|
-
next: next,
|
|
115
|
-
previous: previous,
|
|
116
|
-
setMotion: setMotion
|
|
117
|
-
};
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
// Module-scope identities so the returned object's callbacks never change and
|
|
121
|
-
// consumers can hand them straight to a memoized button.
|
|
122
|
-
const setId = id => backgroundStore.setId(id);
|
|
123
|
-
const next = () => backgroundStore.step(1);
|
|
124
|
-
const previous = () => backgroundStore.step(-1);
|
|
125
|
-
const setMotion = motion => backgroundStore.setMotion(motion);
|
|
1
|
+
"use strict";import{useEffect as a,useState as r}from"react";import{devToolsStorageKeys as h}from"../../storage/devToolsStorageKeys.js";import{persistentStorage as n}from"../../utils/persistentStorage";import{BACKGROUND_PRESETS as d,DEFAULT_BACKGROUND as u,presetAt as l,presetIndex as c}from"./registry.js";const o=`${h.base}_tool_background_v3`;export const BACKGROUND_STORAGE_KEY=o;function f(s){return typeof s==="string"&&d.some(t=>t.id===s)}class p{id=u;motion=true;listeners=new Set;loadPromise=null;dirty=false;getId(){return this.id}getMotion(){return this.motion}subscribe(t){this.listeners.add(t);void this.load();return()=>{this.listeners.delete(t)}}notify(){for(const t of this.listeners)t()}load(){if(this.loadPromise)return this.loadPromise;this.loadPromise=(async()=>{try{const t=await n.getItem(o);if(!t||this.dirty)return;const e=JSON.parse(t);const i=e.id==="meteors"?"deepfield":e.id;if(f(i))this.id=i;this.notify()}catch{}})();return this.loadPromise}persist(){this.dirty=true;const t={id:this.id};void n.setItem(o,JSON.stringify(t)).catch(()=>{})}setId(t){if(this.id===t)return;this.id=t;this.persist();this.notify()}step(t){this.setId(l(c(this.id)+t).id)}setMotion(t){if(this.motion===t)return;this.motion=t;this.persist();this.notify()}}export const backgroundStore=new p;export function useToolBackground(){const[s,t]=r(()=>backgroundStore.getId());const[e,i]=r(()=>backgroundStore.getMotion());a(()=>backgroundStore.subscribe(()=>{t(backgroundStore.getId());i(backgroundStore.getMotion())}),[]);return{id:s,motion:e,index:c(s),count:d.length,setId:m,next:g,previous:y,setMotion:I}}const m=s=>backgroundStore.setId(s);const g=()=>backgroundStore.step(1);const y=()=>backgroundStore.step(-1);const I=s=>backgroundStore.setMotion(s);
|
|
@@ -1,19 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
export { ToolBackground } from "./ToolBackground.js";
|
|
4
|
-
export { BackgroundSwitcher } from "./BackgroundSwitcher.js";
|
|
5
|
-
export { backgroundStore, BACKGROUND_STORAGE_KEY, useToolBackground } from "./backgroundStore.js";
|
|
6
|
-
export { BACKGROUND_PRESETS, DEFAULT_BACKGROUND, getPreset, presetAt, presetIndex } from "./registry.js";
|
|
7
|
-
// Drawing/animation primitives, exported so other Buoy chrome (the dial menu's
|
|
8
|
-
// snow effect in @buoy-gg/core) can build matching effects under the same
|
|
9
|
-
// native-driven performance contract instead of copying the implementations.
|
|
10
|
-
export { LinearFade, RadialGlow, RasterLayer, useLoop, usePulse } from "./primitives.js";
|
|
11
|
-
export { scatter, withAlpha as withBgAlpha } from "./rng.js";
|
|
12
|
-
// Exported for the bg-bench harness in example-dev-build, so every measured
|
|
13
|
-
// variant is the shipping component with knobs turned rather than a copy.
|
|
14
|
-
export { DeepFieldTunable } from "./variants/deepField.js";
|
|
15
|
-
export { MoonlightTunable } from "./variants/moonlight.js";
|
|
16
|
-
export { DaylightTunable } from "./variants/daylight.js";
|
|
17
|
-
export { LiveSkyTunable } from "./variants/liveSky.js";
|
|
18
|
-
export { getSkyScrub, setSkyScrub, useSkyScrub } from "./skyClock.js";
|
|
19
|
-
export { Wormhole } from "./variants/wormhole.js";
|
|
1
|
+
"use strict";export{ToolBackground}from"./ToolBackground.js";export{BackgroundSwitcher}from"./BackgroundSwitcher.js";export{backgroundStore,BACKGROUND_STORAGE_KEY,useToolBackground}from"./backgroundStore.js";export{BACKGROUND_PRESETS,DEFAULT_BACKGROUND,getPreset,presetAt,presetIndex}from"./registry.js";export{LinearFade,RadialGlow,RasterLayer,useLoop,usePulse}from"./primitives.js";export{scatter,withAlpha as withBgAlpha}from"./rng.js";export{DeepFieldTunable}from"./variants/deepField.js";export{MoonlightTunable}from"./variants/moonlight.js";export{DaylightTunable}from"./variants/daylight.js";export{LiveSkyTunable}from"./variants/liveSky.js";export{getSkyScrub,setSkyScrub,useSkyScrub}from"./skyClock.js";export{Wormhole}from"./variants/wormhole.js";
|