chrome-devtools-frontend 1.0.1690116 → 1.0.1695017
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/.agents/skills/devtools-model-management/SKILL.md +3 -3
- package/.agents/skills/foundation-test-migration/SKILL.md +2 -2
- package/.agents/skills/merging-devtools-module/SKILL.md +5 -5
- package/AUTHORS +3 -0
- package/config/typescript/tsconfig.base.json +1 -0
- package/docs/get_the_code.md +4 -9
- package/front_end/Images/src/comment-mode-cursor.svg +23 -0
- package/front_end/Tests.js +1 -1
- package/front_end/application_tokens.css +5 -0
- package/front_end/core/common/ColorConverter.ts +3 -3
- package/front_end/core/host/UserMetrics.ts +27 -0
- package/front_end/core/protocol_client/DevToolsCDPConnection.ts +0 -46
- package/front_end/core/protocol_client/InspectorBackend.ts +6 -6
- package/front_end/core/root/Runtime.ts +1 -0
- package/front_end/core/sdk/CSSLocation.ts +32 -0
- package/front_end/core/sdk/CSSModel.ts +2 -22
- package/front_end/core/sdk/CSSQuery.ts +2 -1
- package/front_end/core/sdk/CSSRule.ts +29 -0
- package/front_end/core/sdk/DebuggerModel.ts +5 -1
- package/front_end/core/sdk/NetworkManager.ts +2 -0
- package/front_end/core/sdk/NetworkRequest.ts +63 -4
- package/front_end/core/sdk/NetworkRequestAccess.ts +191 -0
- package/front_end/core/sdk/ResourceTreeModel.ts +72 -23
- package/front_end/core/sdk/SecurityOrigin.ts +97 -12
- package/front_end/core/sdk/Target.ts +18 -0
- package/front_end/core/sdk/sdk.ts +4 -0
- package/front_end/entrypoints/main/MainImpl.ts +8 -1
- package/front_end/foundation/Universe.ts +14 -11
- package/front_end/generated/Deprecation.ts +8 -0
- package/front_end/generated/InspectorBackendCommands.ts +9 -8
- package/front_end/generated/SupportedCSSProperties.ts +14 -4
- package/front_end/generated/protocol.ts +24 -0
- package/front_end/models/ai_assistance/AiAgent2.ts +46 -10
- package/front_end/models/ai_assistance/AiConversation.ts +35 -24
- package/front_end/models/ai_assistance/README.md +5 -3
- package/front_end/models/ai_assistance/agents/AccessibilityAgent.ts +1 -0
- package/front_end/models/ai_assistance/agents/AiAgent.ts +28 -34
- package/front_end/models/ai_assistance/agents/ContextSelectionAgent.ts +13 -17
- package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +5 -3
- package/front_end/models/ai_assistance/agents/StorageAgent.ts +16 -10
- package/front_end/models/ai_assistance/agents/StylingAgent.ts +3 -4
- package/front_end/models/ai_assistance/ai_assistance.ts +0 -2
- package/front_end/models/ai_assistance/contexts/AccessibilityContext.ts +11 -2
- package/front_end/models/ai_assistance/contexts/DOMNodeContext.ts +17 -5
- package/front_end/models/ai_assistance/contexts/FileContext.ts +13 -6
- package/front_end/models/ai_assistance/contexts/PerformanceTraceContext.ts +52 -25
- package/front_end/models/ai_assistance/contexts/RequestContext.ts +18 -34
- package/front_end/models/ai_assistance/contexts/StorageContext.ts +14 -3
- package/front_end/models/ai_assistance/data_formatters/FileFormatter.ts +2 -5
- package/front_end/models/ai_assistance/data_formatters/NetworkRequestFormatter.ts +135 -58
- package/front_end/models/ai_assistance/tools/CookieUtils.ts +25 -35
- package/front_end/models/ai_assistance/tools/DOMStorageUtils.ts +6 -3
- package/front_end/models/ai_assistance/tools/ExecuteJavaScript.ts +9 -2
- package/front_end/models/ai_assistance/tools/GetCookieValues.ts +1 -1
- package/front_end/models/ai_assistance/tools/GetElementAccessibilityDetails.ts +3 -2
- package/front_end/models/ai_assistance/tools/GetFunctionCode.ts +3 -5
- package/front_end/models/ai_assistance/tools/GetInsightDetails.ts +1 -1
- package/front_end/models/ai_assistance/tools/GetNetworkRequestDetails.ts +8 -11
- package/front_end/models/ai_assistance/tools/GetResourceContent.ts +2 -4
- package/front_end/models/ai_assistance/tools/GetSourceContent.ts +6 -13
- package/front_end/models/ai_assistance/tools/GetStorageBreakdown.ts +1 -1
- package/front_end/models/ai_assistance/tools/GetStorageValues.ts +9 -9
- package/front_end/models/ai_assistance/tools/GetStyles.ts +3 -2
- package/front_end/models/ai_assistance/tools/ListCookies.ts +1 -1
- package/front_end/models/ai_assistance/tools/ListNetworkRequests.ts +6 -14
- package/front_end/models/ai_assistance/tools/ListPageOrigins.ts +10 -15
- package/front_end/models/ai_assistance/tools/ListSources.ts +5 -7
- package/front_end/models/ai_assistance/tools/ListStorageKeys.ts +9 -9
- package/front_end/models/ai_assistance/tools/README.md +4 -2
- package/front_end/models/ai_assistance/tools/ResolveDevtoolsNodePath.ts +3 -2
- package/front_end/models/ai_assistance/tools/Tool.ts +27 -3
- package/front_end/models/comment_manager/CD4ABridge.ts +128 -0
- package/front_end/models/comment_manager/CommentManager.ts +50 -8
- package/front_end/models/comment_manager/comment_manager.ts +2 -0
- package/front_end/models/emulation/DeviceModeModel.ts +37 -47
- package/front_end/models/javascript_metadata/NativeFunctions.ts +9 -1
- package/front_end/models/live-metrics/web-vitals-injected/README.md +1 -1
- package/front_end/models/source_map_scopes/NamesResolver.ts +9 -7
- package/front_end/models/trace/ModelImpl.ts +2 -0
- package/front_end/models/trace/Processor.ts +6 -4
- package/front_end/models/trace/handlers/LayerTreeHandler.ts +3 -3
- package/front_end/models/trace/handlers/LayoutShiftsHandler.ts +1 -1
- package/front_end/models/trace/helpers/SyntheticEvents.ts +23 -1
- package/front_end/models/trace/types/Configuration.ts +7 -0
- package/front_end/models/trace/types/TraceEvents.ts +20 -4
- package/front_end/panels/accessibility/ARIAAttributesView.ts +3 -0
- package/front_end/panels/accessibility/AccessibilityAnnouncementRecordingListView.ts +177 -0
- package/front_end/panels/accessibility/accessibility.ts +2 -0
- package/front_end/panels/accessibility/accessibilityAnnouncementRecordingListView.css +33 -0
- package/front_end/panels/ai_assistance/AiAssistancePanel.ts +25 -15
- package/front_end/panels/ai_assistance/components/ChatMessage.ts +6 -35
- package/front_end/panels/ai_assistance/components/DisabledWidget.ts +4 -3
- package/front_end/panels/ai_assistance/components/chatMessage.css +3 -1
- package/front_end/panels/animation/AnimationTimeline.ts +1 -0
- package/front_end/panels/application/CrashReportContextView.ts +0 -1
- package/front_end/panels/application/FrameDetailsView.ts +5 -4
- package/front_end/panels/application/IndexedDBViews.ts +4 -4
- package/front_end/panels/application/components/BackForwardCacheView.ts +1 -1
- package/front_end/panels/application/components/EndpointsGrid.ts +2 -1
- package/front_end/panels/application/components/PermissionsPolicySection.ts +1 -1
- package/front_end/panels/application/components/ServiceWorkerRouterView.ts +1 -1
- package/front_end/panels/application/components/TrustTokensView.ts +1 -1
- package/front_end/panels/application/indexedDBViews.css +0 -14
- package/front_end/panels/application/preloading/components/PreloadingDetailsReportView.ts +2 -1
- package/front_end/panels/application/preloading/components/RuleSetDetailsView.ts +2 -1
- package/front_end/panels/application/preloading/components/UsedPreloadingView.ts +1 -1
- package/front_end/panels/common/CPUThrottlingOption.ts +12 -6
- package/front_end/panels/common/DOMLinkifier.ts +1 -1
- package/front_end/panels/common/ExtensionView.ts +2 -1
- package/front_end/panels/console/ConsoleContextSelector.ts +12 -5
- package/front_end/panels/console/ConsolePinPane.ts +4 -2
- package/front_end/panels/console/ConsoleSidebar.ts +6 -2
- package/front_end/panels/console/ConsoleViewMessage.ts +12 -8
- package/front_end/panels/console/PromptBuilder.ts +1 -1
- package/front_end/panels/coverage/CoverageListView.ts +1 -1
- package/front_end/panels/coverage/CoverageModel.ts +6 -4
- package/front_end/panels/coverage/coverageView.css +8 -8
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +13 -14
- package/front_end/panels/css_overview/CSSOverviewPanel.ts +3 -3
- package/front_end/panels/css_overview/CSSOverviewProcessingView.ts +2 -2
- package/front_end/panels/css_overview/CSSOverviewSidebarPanel.ts +3 -3
- package/front_end/panels/css_overview/CSSOverviewStartView.ts +3 -3
- package/front_end/panels/developer_resources/DeveloperResourcesListView.ts +1 -1
- package/front_end/panels/developer_resources/developerResourcesView.css +3 -3
- package/front_end/panels/elements/ComputedStyleWidget.ts +1 -1
- package/front_end/panels/elements/ElementsTreeElement.ts +43 -15
- package/front_end/panels/elements/ElementsTreeOutline.ts +185 -109
- package/front_end/panels/elements/MetricsSidebarPane.ts +1 -1
- package/front_end/panels/elements/PropertyNameCategories.ts +1 -1
- package/front_end/panels/elements/ShortcutTreeElement.ts +6 -1
- package/front_end/panels/elements/StandaloneStylesContainer.ts +1 -1
- package/front_end/panels/elements/StylePropertiesSection.ts +2 -35
- package/front_end/panels/elements/StylesSidebarPane.ts +3 -2
- package/front_end/panels/elements/components/CSSPropertyIconResolver.ts +5 -4
- package/front_end/panels/elements/components/StylePropertyEditor.ts +161 -148
- package/front_end/panels/elements/components/computedStyleProperty.css +5 -5
- package/front_end/panels/elements/components/computedStyleTrace.css +5 -5
- package/front_end/panels/elements/components/cssHintDetailsView.css +1 -1
- package/front_end/panels/elements/components/cssPropertyDocsView.css +3 -3
- package/front_end/panels/elements/components/cssVariableValueView.css +4 -4
- package/front_end/panels/elements/components/elementsBreadcrumbs.css +3 -3
- package/front_end/panels/elements/components/elementsTreeExpandButton.css +5 -5
- package/front_end/panels/elements/components/queryContainer.css +2 -2
- package/front_end/panels/elements/elementsTreeOutline.css +20 -4
- package/front_end/panels/emulation/MediaQueryInspector.ts +2 -1
- package/front_end/panels/event_listeners/eventListenersView.css +1 -1
- package/front_end/panels/issues/AffectedElementsView.ts +3 -0
- package/front_end/panels/issues/AffectedLazyLoadImagesView.ts +1 -1
- package/front_end/panels/issues/issues.ts +2 -0
- package/front_end/panels/layer_viewer/LayerDetailsView.ts +12 -10
- package/front_end/panels/layer_viewer/LayerTreeOutline.ts +1 -0
- package/front_end/panels/layer_viewer/Layers3DView.ts +13 -11
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryHighlightChipList.ts +1 -1
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryInspectorUtils.ts +2 -2
- package/front_end/panels/linear_memory_inspector/components/ValueInterpreterDisplayUtils.ts +1 -1
- package/front_end/panels/linear_memory_inspector/components/ValueInterpreterSettings.ts +1 -1
- package/front_end/panels/linear_memory_inspector/components/linearMemoryHighlightChipList.css +11 -11
- package/front_end/panels/linear_memory_inspector/components/linearMemoryInspector.css +2 -2
- package/front_end/panels/linear_memory_inspector/components/linearMemoryNavigator.css +1 -1
- package/front_end/panels/linear_memory_inspector/components/linearMemoryValueInterpreter.css +5 -5
- package/front_end/panels/linear_memory_inspector/components/linearMemoryViewer.css +6 -6
- package/front_end/panels/linear_memory_inspector/components/valueInterpreterDisplay.css +6 -6
- package/front_end/panels/linear_memory_inspector/components/valueInterpreterSettings.css +2 -2
- package/front_end/panels/media/PlayerPropertiesView.ts +1 -1
- package/front_end/panels/media/TickingFlameChart.ts +3 -2
- package/front_end/panels/mobile_throttling/NetworkThrottlingSelector.ts +2 -1
- package/front_end/panels/mobile_throttling/ThrottlingManager.ts +1 -1
- package/front_end/panels/mobile_throttling/ThrottlingPresets.ts +2 -1
- package/front_end/panels/network/NetworkDataGridNode.ts +11 -9
- package/front_end/panels/network/NetworkLogView.ts +4 -1
- package/front_end/panels/network/NetworkLogViewColumns.ts +5 -2
- package/front_end/panels/network/RequestConditionsDrawer.ts +2 -2
- package/front_end/panels/network/RequestHeadersView.ts +47 -11
- package/front_end/panels/network/RequestPayloadView.ts +1 -1
- package/front_end/panels/network/RequestResponseView.ts +1 -1
- package/front_end/panels/network/RequestTimingView.ts +1 -1
- package/front_end/panels/network/ShowMoreDetailsWidget.ts +1 -1
- package/front_end/panels/network/components/RequestHeadersView.css +12 -0
- package/front_end/panels/network/components/ResponseHeaderSection.ts +1 -1
- package/front_end/panels/performance_monitor/PerformanceMonitor.ts +3 -3
- package/front_end/panels/profiler/HeapProfileView.ts +1 -1
- package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +1 -1
- package/front_end/panels/protocol_monitor/JSONEditor.ts +1 -1
- package/front_end/panels/protocol_monitor/ProtocolMonitor.ts +3 -3
- package/front_end/panels/recorder/RecordingListView.ts +0 -6
- package/front_end/panels/recorder/RecordingView.ts +0 -6
- package/front_end/panels/recorder/controlButton.css +10 -10
- package/front_end/panels/recorder/startView.css +1 -1
- package/front_end/panels/screencast/ScreencastView.ts +4 -2
- package/front_end/panels/search/SearchView.ts +1 -1
- package/front_end/panels/security/SecurityPanel.ts +46 -35
- package/front_end/panels/sources/BreakpointEditDialog.ts +1 -1
- package/front_end/panels/sources/CallStackSidebarPane.ts +1 -1
- package/front_end/panels/sources/DebuggerPausedMessage.ts +8 -6
- package/front_end/panels/sources/ProfilePlugin.ts +2 -1
- package/front_end/panels/sources/ScopeChainSidebarPane.ts +1 -1
- package/front_end/panels/timeline/IsolateSelector.ts +1 -1
- package/front_end/panels/timeline/LayoutShiftsTrackAppender.ts +1 -1
- package/front_end/panels/timeline/NetworkTrackAppender.ts +1 -1
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +1 -1
- package/front_end/panels/timeline/TimelineFlameChartView.ts +0 -32
- package/front_end/panels/timeline/TimelineHistoryManager.ts +1 -1
- package/front_end/panels/timeline/TimelinePaintProfilerView.ts +7 -3
- package/front_end/panels/timeline/TimelinePanel.ts +3 -20
- package/front_end/panels/timeline/TimelineTreeView.ts +1 -1
- package/front_end/panels/timeline/TimelineUIUtils.ts +4 -4
- package/front_end/panels/timeline/components/LayoutShiftDetails.ts +4 -3
- package/front_end/panels/timeline/components/LiveMetricsView.ts +1 -1
- package/front_end/panels/timeline/components/NetworkRequestDetails.ts +25 -24
- package/front_end/panels/timeline/components/RelatedInsightChips.ts +4 -3
- package/front_end/panels/timeline/components/Sidebar.ts +1 -1
- package/front_end/panels/timeline/components/SidebarAnnotationsTab.ts +4 -3
- package/front_end/panels/timeline/components/cwvMetrics.css +2 -2
- package/front_end/panels/timeline/components/insights/checklist.css +1 -1
- package/front_end/panels/timeline/components/insights/table.css +3 -3
- package/front_end/panels/timeline/overlays/components/entriesLinkOverlay.css +4 -4
- package/front_end/panels/timeline/overlays/components/entryLabelOverlay.css +4 -4
- package/front_end/panels/timeline/overlays/components/timeRangeOverlay.css +2 -2
- package/front_end/panels/timeline/overlays/components/timespanBreakdownOverlay.css +4 -4
- package/front_end/panels/timeline/timelinePanel.css +0 -74
- package/front_end/panels/timeline/utils/Helpers.ts +1 -1
- package/front_end/panels/timeline/utils/ImageCache.ts +5 -3
- package/front_end/panels/web_audio/WebAudioView.ts +3 -3
- package/front_end/panels/web_audio/webAudio.css +5 -5
- package/front_end/panels/webauthn/WebauthnPane.ts +5 -11
- package/front_end/third_party/acorn/acorn.ts +3 -3
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/chromium/ahem/ahem.d.ts +1 -0
- package/front_end/third_party/csp_evaluator/package/csp.ts +4 -4
- package/front_end/third_party/csp_evaluator/package/parser.ts +3 -1
- package/front_end/third_party/csp_evaluator/package/tsconfig.json +1 -0
- package/front_end/third_party/csp_evaluator/package/utils.ts +1 -1
- package/front_end/third_party/diff/DiffWrapper.ts +1 -8
- package/front_end/third_party/diff/diff_match_patch.d.ts +10 -0
- package/front_end/third_party/json5/json5.ts +2 -2
- package/front_end/third_party/puppeteer/README.chromium +2 -2
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +183 -4
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +708 -122
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Page.d.ts +85 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Page.js +84 -11
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/ScreenRecording.d.ts +75 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/ScreenRecording.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/ScreenRecording.js +102 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/ScreenRecording.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/api.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/api.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/api.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/api.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Page.d.ts +6 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Page.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/ScreenRecording.d.ts +31 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/ScreenRecording.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/ScreenRecording.js +138 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/ScreenRecording.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/bidi.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/bidi.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/bidi.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/bidi.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/core/BrowsingContext.d.ts +6 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/core/BrowsingContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/core/BrowsingContext.js +23 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/core/BrowsingContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Page.d.ts +6 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Page.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/ScreenRecording.d.ts +31 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/ScreenRecording.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/ScreenRecording.js +131 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/ScreenRecording.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/cdp.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/cdp.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/cdp.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/cdp.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/BrowserConnector.js +7 -4
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/BrowserWebSocketTransport.d.ts +4 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/BrowserWebSocketTransport.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/BrowserWebSocketTransport.js +5 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/BrowserWebSocketTransport.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/ConnectOptions.d.ts +42 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/ConnectOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Device.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Device.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Device.js +265 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Device.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/BrowserLauncher.d.ts +4 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/BrowserLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/BrowserLauncher.js +24 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/BrowserLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/NodeWebSocketTransport.d.ts +23 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/NodeWebSocketTransport.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/NodeWebSocketTransport.js +49 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/NodeWebSocketTransport.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.js +3 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +183 -4
- package/front_end/third_party/puppeteer/package/package.json +4 -4
- package/front_end/third_party/puppeteer/package/src/api/Page.ts +143 -11
- package/front_end/third_party/puppeteer/package/src/api/ScreenRecording.ts +145 -0
- package/front_end/third_party/puppeteer/package/src/api/api.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/bidi/Page.ts +11 -0
- package/front_end/third_party/puppeteer/package/src/bidi/ScreenRecording.ts +106 -0
- package/front_end/third_party/puppeteer/package/src/bidi/bidi.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/bidi/core/BrowsingContext.ts +41 -0
- package/front_end/third_party/puppeteer/package/src/cdp/Page.ts +11 -0
- package/front_end/third_party/puppeteer/package/src/cdp/ScreenRecording.ts +101 -0
- package/front_end/third_party/puppeteer/package/src/cdp/cdp.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/common/BrowserConnector.ts +17 -9
- package/front_end/third_party/puppeteer/package/src/common/BrowserWebSocketTransport.ts +4 -0
- package/front_end/third_party/puppeteer/package/src/common/ConnectOptions.ts +46 -0
- package/front_end/third_party/puppeteer/package/src/common/Device.ts +287 -1
- package/front_end/third_party/puppeteer/package/src/node/BrowserLauncher.ts +30 -1
- package/front_end/third_party/puppeteer/package/src/node/NodeWebSocketTransport.ts +73 -2
- package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
- package/front_end/third_party/puppeteer/package/src/util/version.ts +1 -1
- package/front_end/third_party/puppeteer/puppeteer-tsconfig.json +3 -0
- package/front_end/tsconfig.json +1 -2
- package/front_end/ui/comments/CommentAnchorResolver.ts +8 -3
- package/front_end/ui/comments/CommentOverlayManager.ts +53 -12
- package/front_end/ui/comments/CommentsOverlayWidget.ts +3 -3
- package/front_end/ui/comments/CommentsStatusBarPill.ts +96 -0
- package/front_end/ui/comments/comments-meta.ts +21 -0
- package/front_end/ui/comments/comments.ts +2 -0
- package/front_end/ui/comments/commentsOverlay.css +22 -3
- package/front_end/ui/components/buttons/floatingButton.css +25 -0
- package/front_end/ui/components/markdown_view/MarkdownView.ts +31 -1
- package/front_end/ui/components/srgb_overlay/SrgbOverlay.ts +1 -1
- package/front_end/ui/components/suggestion_input/SuggestionInput.ts +45 -25
- package/front_end/ui/kit/icons/Icon.ts +0 -1
- package/front_end/ui/kit/link/Link.ts +8 -1
- package/front_end/ui/legacy/ContextMenu.ts +2 -2
- package/front_end/ui/legacy/DropTarget.ts +6 -1
- package/front_end/ui/legacy/EmptyWidget.ts +1 -1
- package/front_end/ui/legacy/GlassPane.ts +1 -1
- package/front_end/ui/legacy/InspectorView.ts +17 -1
- package/front_end/ui/legacy/ShortcutRegistry.ts +2 -2
- package/front_end/ui/legacy/SplitWidget.ts +18 -3
- package/front_end/ui/legacy/StackedPane.ts +1 -1
- package/front_end/ui/legacy/StatusBar.ts +78 -0
- package/front_end/ui/legacy/TargetCrashedScreen.ts +1 -1
- package/front_end/ui/legacy/TextPrompt.ts +2 -1
- package/front_end/ui/legacy/Toolbar.ts +5 -1
- package/front_end/ui/legacy/Treeoutline.ts +91 -48
- package/front_end/ui/legacy/UIUtils.ts +8 -4
- package/front_end/ui/legacy/ViewManager.ts +1 -1
- package/front_end/ui/legacy/ViewRegistration.ts +1 -0
- package/front_end/ui/legacy/Widget.ts +1 -1
- package/front_end/ui/legacy/components/color_picker/Spectrum.ts +7 -1
- package/front_end/ui/legacy/components/data_grid/DataGrid.ts +1 -1
- package/front_end/ui/legacy/components/data_grid/DataGridElement.ts +3 -2
- package/front_end/ui/legacy/components/data_grid/dataGrid.css +23 -23
- package/front_end/ui/legacy/components/inline_editor/AnimationTimingModel.ts +1 -1
- package/front_end/ui/legacy/components/inline_editor/BezierEditor.ts +48 -44
- package/front_end/ui/legacy/components/inline_editor/CSSAngleUtils.ts +1 -1
- package/front_end/ui/legacy/components/inline_editor/PositionAreaEditor.docs.ts +83 -0
- package/front_end/ui/legacy/components/inline_editor/PositionAreaEditor.ts +600 -0
- package/front_end/ui/legacy/components/inline_editor/animationNameSwatch.css +1 -1
- package/front_end/ui/legacy/components/inline_editor/colorMixSwatch.css +4 -4
- package/front_end/ui/legacy/components/inline_editor/cssAngleSwatch.css +3 -3
- package/front_end/ui/legacy/components/inline_editor/inline_editor.ts +2 -0
- package/front_end/ui/legacy/components/inline_editor/linkSwatch.css +1 -1
- package/front_end/ui/legacy/components/inline_editor/positionAreaEditor.css +154 -0
- package/front_end/ui/legacy/components/object_ui/CustomPreviewComponent.ts +224 -127
- package/front_end/ui/legacy/components/object_ui/ObjectPopoverHelper.ts +10 -7
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +25 -106
- package/front_end/ui/legacy/components/object_ui/customPreviewComponent.css +7 -3
- package/front_end/ui/legacy/components/object_ui/objectPropertiesSection.css +1 -1
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +0 -66
- package/front_end/ui/legacy/components/perf_ui/perf_ui.ts +0 -2
- package/front_end/ui/legacy/components/perf_ui/pieChart.css +7 -5
- package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +8 -5
- package/front_end/ui/legacy/components/utils/JSPresentationUtils.ts +1 -1
- package/front_end/ui/legacy/components/utils/Linkifier.ts +5 -5
- package/front_end/ui/legacy/inspectorCommon.css +41 -6
- package/front_end/ui/legacy/legacy.ts +2 -0
- package/front_end/ui/legacy/statusBar.css +18 -0
- package/front_end/ui/visual_logging/Debugging.ts +2 -1
- package/front_end/ui/visual_logging/KnownContextValues.ts +3 -1
- package/front_end/ui/visual_logging/LoggingDriver.ts +3 -3
- package/front_end/ui/visual_logging/LoggingEvents.ts +5 -5
- package/front_end/ui/visual_logging/LoggingState.ts +1 -1
- package/front_end/ui/visual_logging/visual_logging.ts +67 -56
- package/inspector_overlay/main.ts +8 -8
- package/mcp/mcp.ts +5 -0
- package/package.json +2 -8
- package/front_end/Images/generate-css-vars.js +0 -52
- package/front_end/Images/rollup.config.mjs +0 -36
- package/front_end/models/ai_assistance/AiOrigins.ts +0 -107
- package/front_end/models/live-metrics/web-vitals-injected/rollup.config.mjs +0 -20
- package/front_end/panels/recorder/injected/rollup.config.mjs +0 -20
- package/front_end/panels/timeline/EasterEgg.d.ts +0 -6
- package/front_end/panels/timeline/easter-egg-tsconfig.json +0 -8
- package/front_end/panels/timeline/enable-easter-egg.js +0 -20
- package/front_end/third_party/acorn/acorn-tsconfig.json +0 -12
- package/front_end/third_party/acorn/estree-tsconfig.json +0 -8
- package/front_end/third_party/chromium/client-variations/client-variations-tsconfig.json +0 -8
- package/front_end/third_party/codemirror/codemirror-legacy-types-tsconfig.json +0 -8
- package/front_end/third_party/codemirror/codemirror-tsconfig.json +0 -15
- package/front_end/third_party/codemirror.next/bundle-tsconfig.json +0 -24
- package/front_end/third_party/intl-messageformat/intl-messageformat-tsconfig.json +0 -16
- package/front_end/third_party/json5/json5-tsconfig.json +0 -8
- package/front_end/third_party/legacy-javascript/legacy-javascript-tsconfig.json +0 -8
- package/front_end/third_party/lighthouse/lighthouse-tsconfig.json +0 -11
- package/front_end/third_party/lighthouse/report/bundle-tsconfig.json +0 -8
- package/front_end/third_party/lit/lit-tsconfig.json +0 -15
- package/front_end/third_party/marked/marked-tsconfig.json +0 -8
- package/front_end/third_party/puppeteer-replay/puppeteer-replay-tsconfig.json +0 -8
- package/front_end/third_party/third-party-web/third-party-web-tsconfig.json +0 -8
- package/front_end/third_party/wasmparser/wasmparser-tsconfig.json +0 -9
- package/front_end/third_party/web-vitals/web-vitals-tsconfig.json +0 -47
- package/front_end/ui/legacy/components/perf_ui/BrickBreaker.ts +0 -606
- package/inspector_overlay/loadCSS.rollup.js +0 -29
|
@@ -193,7 +193,7 @@ export class MetricsSidebarPane extends ElementsSidebarPane<ShadowRoot> {
|
|
|
193
193
|
private isEditingMetrics?: boolean;
|
|
194
194
|
private view: View;
|
|
195
195
|
|
|
196
|
-
constructor(computedStyleModel: ComputedStyle.ComputedStyleModel.ComputedStyleModel, view = DEFAULT_VIEW) {
|
|
196
|
+
constructor(computedStyleModel: ComputedStyle.ComputedStyleModel.ComputedStyleModel, view: View = DEFAULT_VIEW) {
|
|
197
197
|
super(computedStyleModel, {useShadowDom: 'pure'});
|
|
198
198
|
this.registerRequiredCSS(metricsSidebarPaneStyles);
|
|
199
199
|
|
|
@@ -89,7 +89,8 @@ export class ShortcutTreeElement extends UI.TreeOutline.TreeElement {
|
|
|
89
89
|
#hovered?: boolean;
|
|
90
90
|
#view: typeof DEFAULT_VIEW;
|
|
91
91
|
|
|
92
|
-
constructor(nodeShortcut: SDK.DOMModel.DOMNodeShortcut,
|
|
92
|
+
constructor(nodeShortcut: SDK.DOMModel.DOMNodeShortcut,
|
|
93
|
+
view: (input: ViewInput, _output: undefined, target: HTMLElement) => void = DEFAULT_VIEW) {
|
|
93
94
|
super('');
|
|
94
95
|
this.nodeShortcut = nodeShortcut;
|
|
95
96
|
this.#view = view;
|
|
@@ -130,6 +131,10 @@ export class ShortcutTreeElement extends UI.TreeOutline.TreeElement {
|
|
|
130
131
|
this.setLeftIndentOverlay();
|
|
131
132
|
}
|
|
132
133
|
|
|
134
|
+
override ensureSelection(): void {
|
|
135
|
+
// Selection element is rendered in DEFAULT_VIEW.
|
|
136
|
+
}
|
|
137
|
+
|
|
133
138
|
override onselect(selectedByUser?: boolean): boolean {
|
|
134
139
|
if (!selectedByUser) {
|
|
135
140
|
return true;
|
|
@@ -55,7 +55,7 @@ const StandaloneStylesContainerBase: Common.ObjectWrapper.EventMixin<EventTypes,
|
|
|
55
55
|
export class StandaloneStylesContainer extends StandaloneStylesContainerBase implements StylesContainer {
|
|
56
56
|
activeCSSAngle: InlineEditor.CSSAngle.CSSAngle|null = null;
|
|
57
57
|
isEditingStyle = false;
|
|
58
|
-
readonly sectionByElement = new WeakMap<Node, StylePropertiesSection>();
|
|
58
|
+
readonly sectionByElement: WeakMap<Node, StylePropertiesSection> = new WeakMap<Node, StylePropertiesSection>();
|
|
59
59
|
// TODO: Reference the MAX_LINK_LENGTH from StylesSidebarPane at a later stage, when we have a reference to it.
|
|
60
60
|
readonly linkifier: Components.Linkifier.Linkifier =
|
|
61
61
|
new Components.Linkifier.Linkifier(23, /* useLinkDecorator */ true);
|
|
@@ -191,7 +191,7 @@ export class StylePropertiesSection {
|
|
|
191
191
|
readonly #specificityTooltips: HTMLSpanElement;
|
|
192
192
|
static #nextSpecificityTooltipId = 0;
|
|
193
193
|
static #nextSectionTooltipIdPrefix = 0;
|
|
194
|
-
readonly sectionTooltipIdPrefix = StylePropertiesSection.#nextSectionTooltipIdPrefix++;
|
|
194
|
+
readonly sectionTooltipIdPrefix: number = StylePropertiesSection.#nextSectionTooltipIdPrefix++;
|
|
195
195
|
|
|
196
196
|
private ghostStyleTreeElements: GhostStylePropertyTreeElement[] = [];
|
|
197
197
|
#activeAiSuggestion?: ActiveAiSuggestion;
|
|
@@ -734,7 +734,7 @@ export class StylePropertiesSection {
|
|
|
734
734
|
if (this.hoverTimer) {
|
|
735
735
|
clearTimeout(this.hoverTimer);
|
|
736
736
|
}
|
|
737
|
-
const selectorList = constructResolvedSelector(
|
|
737
|
+
const selectorList = rule.constructResolvedSelector(nestingIndex);
|
|
738
738
|
if (!selectorList) {
|
|
739
739
|
return;
|
|
740
740
|
}
|
|
@@ -2330,36 +2330,3 @@ export class HighlightPseudoStylePropertiesSection extends StylePropertiesSectio
|
|
|
2330
2330
|
interface TreeElementParent {
|
|
2331
2331
|
appendChild(child: UI.TreeOutline.TreeElement): void;
|
|
2332
2332
|
}
|
|
2333
|
-
|
|
2334
|
-
export function constructResolvedSelector(rule: SDK.CSSRule.CSSRule|null, nestingIndex?: number): string|undefined {
|
|
2335
|
-
if (!(rule instanceof SDK.CSSRule.CSSStyleRule)) {
|
|
2336
|
-
return undefined;
|
|
2337
|
-
}
|
|
2338
|
-
|
|
2339
|
-
const nestingSelectors = rule.nestingSelectors;
|
|
2340
|
-
if (!nestingSelectors) {
|
|
2341
|
-
return nestingIndex === undefined ? rule.selectorText() : undefined;
|
|
2342
|
-
}
|
|
2343
|
-
|
|
2344
|
-
if (nestingIndex !== undefined && (nestingIndex < 0 || nestingIndex >= nestingSelectors.length)) {
|
|
2345
|
-
return undefined;
|
|
2346
|
-
}
|
|
2347
|
-
|
|
2348
|
-
const selectorText = nestingIndex !== undefined ? nestingSelectors[nestingIndex] : rule.selectorText();
|
|
2349
|
-
|
|
2350
|
-
const parentIndex = nestingIndex !== undefined ? nestingIndex + 1 : 0;
|
|
2351
|
-
const parentSelector = constructResolvedSelector(rule, parentIndex);
|
|
2352
|
-
|
|
2353
|
-
if (!parentSelector) {
|
|
2354
|
-
return selectorText;
|
|
2355
|
-
}
|
|
2356
|
-
|
|
2357
|
-
// Strip pseudo-elements (e.g. ::before) because pseudo-elements are invalid inside CSS :is(...).
|
|
2358
|
-
const sanitizedParent = parentSelector.replace(/::[a-zA-Z-]+/g, '').trim();
|
|
2359
|
-
|
|
2360
|
-
if (selectorText.includes('&')) {
|
|
2361
|
-
return selectorText.replaceAll('&', `:is(${sanitizedParent})`);
|
|
2362
|
-
}
|
|
2363
|
-
|
|
2364
|
-
return `:is(${sanitizedParent}) ${selectorText.trim()}`;
|
|
2365
|
-
}
|
|
@@ -199,9 +199,10 @@ export class StylesSidebarPane extends StylesSidebarPaneBase implements StylesCo
|
|
|
199
199
|
private visibleSections: number|null = null;
|
|
200
200
|
private noMatchesElement: HTMLElement;
|
|
201
201
|
private sectionsContainer: UI.Widget.Widget;
|
|
202
|
-
sectionByElement = new WeakMap<Node, StylePropertiesSection>();
|
|
202
|
+
sectionByElement: WeakMap<Node, StylePropertiesSection> = new WeakMap<Node, StylePropertiesSection>();
|
|
203
203
|
readonly #swatchPopoverHelper = new InlineEditor.SwatchPopoverHelper.SwatchPopoverHelper();
|
|
204
|
-
readonly linkifier
|
|
204
|
+
readonly linkifier: Components.Linkifier.Linkifier =
|
|
205
|
+
new Components.Linkifier.Linkifier(MAX_LINK_LENGTH, /* useLinkDecorator */ true);
|
|
205
206
|
|
|
206
207
|
private readonly decorator: StylePropertyHighlighter;
|
|
207
208
|
|
|
@@ -313,20 +313,20 @@ function gridAlignSelfIcon(iconName: string): (parentStyles: ComputedStyles) =>
|
|
|
313
313
|
return getIcon;
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export function rotateFlexWrapIcon(iconName: string, direction: PhysicalDirection): IconInfo {
|
|
316
|
+
export function rotateFlexWrapIcon(iconName: string, direction: PhysicalDirection, reverse = false): IconInfo {
|
|
317
317
|
return {
|
|
318
318
|
iconName,
|
|
319
319
|
rotate: direction === PhysicalDirection.BOTTOM_TO_TOP || direction === PhysicalDirection.TOP_TO_BOTTOM ? 90 : 0,
|
|
320
320
|
scaleX: 1,
|
|
321
|
-
scaleY: 1,
|
|
321
|
+
scaleY: reverse ? -1 : 1,
|
|
322
322
|
};
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
-
function flexWrapIcon(iconName: string): (styles: ComputedStyles) => IconInfo {
|
|
325
|
+
function flexWrapIcon(iconName: string, reverse = false): (styles: ComputedStyles) => IconInfo {
|
|
326
326
|
function getIcon(computedStyles: ComputedStyles): IconInfo {
|
|
327
327
|
const directions = getPhysicalDirections(computedStyles);
|
|
328
328
|
const computedFlexDirection = computedStyles.get('flex-direction') || 'row';
|
|
329
|
-
return rotateFlexWrapIcon(iconName, directions[computedFlexDirection]);
|
|
329
|
+
return rotateFlexWrapIcon(iconName, directions[computedFlexDirection], reverse);
|
|
330
330
|
}
|
|
331
331
|
return getIcon;
|
|
332
332
|
}
|
|
@@ -374,6 +374,7 @@ const flexContainerIcons = new Map([
|
|
|
374
374
|
['align-content: baseline', baselineIcon],
|
|
375
375
|
['flex-wrap: wrap', flexWrapIcon('flex-wrap')],
|
|
376
376
|
['flex-wrap: nowrap', flexWrapIcon('flex-no-wrap')],
|
|
377
|
+
['flex-wrap: wrap-reverse', flexWrapIcon('flex-wrap', /* reverse */ true)],
|
|
377
378
|
]);
|
|
378
379
|
|
|
379
380
|
const flexItemIcons = new Map([
|
|
@@ -290,151 +290,164 @@ declare global {
|
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
-
export const FlexboxEditableProperties
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
293
|
+
export const FlexboxEditableProperties: Array<{
|
|
294
|
+
propertyName: string,
|
|
295
|
+
propertyValues: string[],
|
|
296
|
+
}> =
|
|
297
|
+
[
|
|
298
|
+
{
|
|
299
|
+
propertyName: 'flex-direction',
|
|
300
|
+
propertyValues: [
|
|
301
|
+
'row',
|
|
302
|
+
'column',
|
|
303
|
+
'row-reverse',
|
|
304
|
+
'column-reverse',
|
|
305
|
+
],
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
propertyName: 'flex-wrap',
|
|
309
|
+
propertyValues: [
|
|
310
|
+
'nowrap',
|
|
311
|
+
'wrap',
|
|
312
|
+
'wrap-reverse',
|
|
313
|
+
],
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
propertyName: 'align-content',
|
|
317
|
+
propertyValues: [
|
|
318
|
+
'center',
|
|
319
|
+
'flex-start',
|
|
320
|
+
'flex-end',
|
|
321
|
+
'space-around',
|
|
322
|
+
'space-between',
|
|
323
|
+
'stretch',
|
|
324
|
+
],
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
propertyName: 'justify-content',
|
|
328
|
+
propertyValues: [
|
|
329
|
+
'center',
|
|
330
|
+
'flex-start',
|
|
331
|
+
'flex-end',
|
|
332
|
+
'space-between',
|
|
333
|
+
'space-around',
|
|
334
|
+
'space-evenly',
|
|
335
|
+
],
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
propertyName: 'align-items',
|
|
339
|
+
propertyValues: [
|
|
340
|
+
'center',
|
|
341
|
+
'flex-start',
|
|
342
|
+
'flex-end',
|
|
343
|
+
'stretch',
|
|
344
|
+
'baseline',
|
|
345
|
+
],
|
|
346
|
+
},
|
|
347
|
+
];
|
|
348
|
+
|
|
349
|
+
export const GridEditableProperties: Array<{
|
|
350
|
+
propertyName: string,
|
|
351
|
+
propertyValues: string[],
|
|
352
|
+
}> =
|
|
353
|
+
[
|
|
354
|
+
{
|
|
355
|
+
propertyName: 'grid-auto-flow',
|
|
356
|
+
propertyValues: [
|
|
357
|
+
'row',
|
|
358
|
+
'column',
|
|
359
|
+
],
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
propertyName: 'align-content',
|
|
363
|
+
propertyValues: [
|
|
364
|
+
'center',
|
|
365
|
+
'start',
|
|
366
|
+
'end',
|
|
367
|
+
'space-between',
|
|
368
|
+
'space-around',
|
|
369
|
+
'space-evenly',
|
|
370
|
+
'stretch',
|
|
371
|
+
],
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
propertyName: 'justify-content',
|
|
375
|
+
propertyValues: [
|
|
376
|
+
'center',
|
|
377
|
+
'start',
|
|
378
|
+
'end',
|
|
379
|
+
'space-between',
|
|
380
|
+
'space-around',
|
|
381
|
+
'space-evenly',
|
|
382
|
+
'stretch',
|
|
383
|
+
],
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
propertyName: 'align-items',
|
|
387
|
+
propertyValues: [
|
|
388
|
+
'center',
|
|
389
|
+
'start',
|
|
390
|
+
'end',
|
|
391
|
+
'stretch',
|
|
392
|
+
'baseline',
|
|
393
|
+
],
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
propertyName: 'justify-items',
|
|
397
|
+
propertyValues: [
|
|
398
|
+
'center',
|
|
399
|
+
'start',
|
|
400
|
+
'end',
|
|
401
|
+
'stretch',
|
|
402
|
+
],
|
|
403
|
+
},
|
|
404
|
+
];
|
|
405
|
+
|
|
406
|
+
export const GridLanesEditableProperties: Array<{
|
|
407
|
+
propertyName: string,
|
|
408
|
+
propertyValues: string[],
|
|
409
|
+
}> =
|
|
410
|
+
[
|
|
411
|
+
{
|
|
412
|
+
propertyName: 'align-content',
|
|
413
|
+
propertyValues: [
|
|
414
|
+
'center',
|
|
415
|
+
'start',
|
|
416
|
+
'end',
|
|
417
|
+
'space-between',
|
|
418
|
+
'space-around',
|
|
419
|
+
'space-evenly',
|
|
420
|
+
'stretch',
|
|
421
|
+
],
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
propertyName: 'justify-content',
|
|
425
|
+
propertyValues: [
|
|
426
|
+
'center',
|
|
427
|
+
'start',
|
|
428
|
+
'end',
|
|
429
|
+
'space-between',
|
|
430
|
+
'space-around',
|
|
431
|
+
'space-evenly',
|
|
432
|
+
'stretch',
|
|
433
|
+
],
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
propertyName: 'align-items',
|
|
437
|
+
propertyValues: [
|
|
438
|
+
'center',
|
|
439
|
+
'start',
|
|
440
|
+
'end',
|
|
441
|
+
'stretch',
|
|
442
|
+
],
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
propertyName: 'justify-items',
|
|
446
|
+
propertyValues: [
|
|
447
|
+
'center',
|
|
448
|
+
'start',
|
|
449
|
+
'end',
|
|
450
|
+
'stretch',
|
|
451
|
+
],
|
|
452
|
+
},
|
|
453
|
+
];
|
|
@@ -12,20 +12,20 @@
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.computed-style-property {
|
|
15
|
-
--goto-size:
|
|
15
|
+
--goto-size: var(--sys-size-8);
|
|
16
16
|
|
|
17
17
|
font-family: var(--monospace-font-family);
|
|
18
18
|
font-size: var(--monospace-font-size);
|
|
19
|
-
min-height:
|
|
19
|
+
min-height: var(--sys-size-8);
|
|
20
20
|
box-sizing: border-box;
|
|
21
|
-
padding-top:
|
|
21
|
+
padding-top: var(--sys-size-2);
|
|
22
22
|
white-space: var(--override-computed-style-property-white-space, nowrap);
|
|
23
23
|
user-select: text;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.computed-style-property:hover {
|
|
27
27
|
background-color: var(--sys-color-state-hover-on-subtle);
|
|
28
|
-
cursor: text;
|
|
28
|
+
cursor: var(--override-cursor, text);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.computed-style-property.inherited {
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
position: absolute;
|
|
60
60
|
width: var(--goto-size);
|
|
61
61
|
height: var(--goto-size);
|
|
62
|
-
margin: -
|
|
62
|
+
margin: calc(-1 * var(--sys-size-1)) 0 0 calc(-1 * var(--goto-size));
|
|
63
63
|
mask: var(--image-file-goto-filled) center / contain no-repeat;
|
|
64
64
|
background-color: var(--sys-color-primary-bright);
|
|
65
65
|
}
|
|
@@ -11,26 +11,26 @@
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.computed-style-trace {
|
|
14
|
-
margin-left:
|
|
14
|
+
margin-left: var(--sys-size-8);
|
|
15
15
|
font-family: var(--monospace-font-family);
|
|
16
16
|
font-size: var(--monospace-font-size);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.computed-style-trace:hover {
|
|
20
20
|
background-color: var(--sys-color-state-hover-on-subtle);
|
|
21
|
-
cursor: text;
|
|
21
|
+
cursor: var(--override-cursor, text);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.goto {
|
|
25
25
|
/* TODO: reuse with ComputedStyleProperty */
|
|
26
|
-
--size:
|
|
26
|
+
--size: var(--sys-size-8);
|
|
27
27
|
|
|
28
28
|
display: none;
|
|
29
29
|
cursor: pointer;
|
|
30
30
|
position: absolute;
|
|
31
31
|
width: var(--size);
|
|
32
32
|
height: var(--size);
|
|
33
|
-
margin: -
|
|
33
|
+
margin: calc(-1 * var(--sys-size-1)) 0 0 calc(-1 * var(--size));
|
|
34
34
|
mask: var(--image-file-goto-filled) center / contain no-repeat;
|
|
35
35
|
background-color: var(--sys-color-primary-bright);
|
|
36
36
|
}
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.trace-value {
|
|
50
|
-
margin-left:
|
|
50
|
+
margin-left: var(--sys-size-8);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.computed-style-trace.inactive slot[name="trace-value"] {
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
|
|
7
7
|
.docs-popup-wrapper {
|
|
8
8
|
max-width: 420px;
|
|
9
|
-
font-size:
|
|
9
|
+
font-size: var(--sys-typescale-body4-size);
|
|
10
10
|
line-height: 1.4;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.docs-popup-section {
|
|
14
|
-
margin-top:
|
|
14
|
+
margin-top: var(--sys-size-5);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.clickable {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
#baseline {
|
|
35
35
|
display: inline-flex;
|
|
36
36
|
align-items: flex-start;
|
|
37
|
-
gap:
|
|
37
|
+
gap: var(--sys-size-3);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
#baseline-icon {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
.registered-property-popup-wrapper {
|
|
8
8
|
max-width: 232px;
|
|
9
|
-
font-size:
|
|
9
|
+
font-size: var(--sys-typescale-body4-size);
|
|
10
10
|
line-height: 1.4;
|
|
11
11
|
word-break: break-all;
|
|
12
12
|
}
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.divider {
|
|
20
|
-
margin:
|
|
21
|
-
border:
|
|
20
|
+
margin: var(--sys-size-5) -7px;
|
|
21
|
+
border: var(--sys-size-1) solid var(--sys-color-divider);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.registered-property-links {
|
|
25
|
-
margin-top:
|
|
25
|
+
margin-top: var(--sys-size-5);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.clickable {
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
text-align: center;
|
|
55
55
|
background-color: var(--sys-color-cdt-base-container);
|
|
56
56
|
color: var(--sys-color-token-subtle);
|
|
57
|
-
margin:
|
|
58
|
-
outline:
|
|
57
|
+
margin: var(--sys-size-1);
|
|
58
|
+
outline: var(--sys-size-1) solid var(--sys-color-neutral-outline);
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
.overflow.hidden {
|
|
@@ -89,5 +89,5 @@
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
.crumb:focus {
|
|
92
|
-
outline: var(--sys-color-primary) auto
|
|
92
|
+
outline: var(--sys-color-primary) auto var(--sys-size-1);
|
|
93
93
|
}
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
justify-content: center;
|
|
19
19
|
align-items: center;
|
|
20
20
|
box-sizing: border-box;
|
|
21
|
-
width:
|
|
21
|
+
width: var(--sys-size-7);
|
|
22
22
|
height: 10px;
|
|
23
|
-
margin: 0
|
|
24
|
-
border:
|
|
23
|
+
margin: 0 var(--sys-size-2);
|
|
24
|
+
border: var(--sys-size-1) solid var(--override-adorner-border-color, var(--sys-color-tonal-outline));
|
|
25
25
|
border-radius: 10px;
|
|
26
26
|
background: var(--override-adorner-background-color, var(--sys-color-cdt-base-container));
|
|
27
27
|
padding: 0;
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.expand-button devtools-icon {
|
|
51
|
-
width:
|
|
52
|
-
height:
|
|
51
|
+
width: var(--sys-size-7);
|
|
52
|
+
height: var(--sys-size-7);
|
|
53
53
|
color: var(--sys-color-primary);
|
|
54
54
|
}
|