chrome-devtools-frontend 1.0.953776 → 1.0.954427
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/config/gni/devtools_grd_files.gni +1 -0
- package/front_end/core/common/Settings.ts +10 -0
- package/front_end/core/i18n/locales/en-US.json +4 -16
- package/front_end/core/i18n/locales/en-XL.json +4 -16
- package/front_end/core/platform/number-utilities.ts +5 -7
- package/front_end/core/platform/string-utilities.ts +45 -205
- package/front_end/core/sdk/EmulationModel.ts +18 -19
- package/front_end/core/sdk/ResourceTreeModel.ts +12 -2
- package/front_end/core/sdk/sdk-meta.ts +2 -39
- package/front_end/entrypoints/inspector_main/RenderingOptions.ts +13 -9
- package/front_end/generated/InspectorBackendCommands.js +3 -1
- package/front_end/generated/protocol.d.ts +19 -0
- package/front_end/models/extensions/ExtensionServer.ts +2 -3
- package/front_end/panels/application/components/BackForwardCacheView.ts +6 -4
- package/front_end/panels/application/storageView.css +1 -1
- package/front_end/panels/console/ConsoleFormat.ts +197 -0
- package/front_end/panels/console/ConsoleViewMessage.ts +54 -155
- package/front_end/panels/console/console.ts +3 -0
- package/front_end/panels/elements/components/AdornerSettingsPane.ts +2 -1
- package/front_end/panels/elements/components/LayoutPane.ts +2 -0
- package/front_end/panels/elements/elementStatePaneWidget.css +1 -1
- package/front_end/panels/elements/layoutPane.css +0 -4
- package/front_end/panels/emulation/components/DeviceSizeInputElement.ts +5 -1
- package/front_end/panels/settings/emulation/components/UserAgentClientHintsForm.ts +2 -1
- package/front_end/panels/sources/SourcesPanel.ts +1 -1
- package/front_end/panels/web_audio/webAudio.css +1 -1
- package/front_end/ui/components/linear_memory_inspector/ValueInterpreterSettings.ts +2 -1
- package/front_end/ui/components/settings/SettingCheckbox.ts +3 -2
- package/front_end/ui/legacy/SettingsUI.ts +1 -0
- package/front_end/ui/legacy/themeColors.css +2 -2
- package/front_end/ui/legacy/treeoutline.css +1 -1
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import * as i18n from '../../../core/i18n/i18n.js';
|
|
6
6
|
import * as LitHtml from '../../lit-html/lit-html.js';
|
|
7
7
|
import * as ComponentHelpers from '../helpers/helpers.js';
|
|
8
|
+
import * as Input from '../input/input.js';
|
|
8
9
|
|
|
9
10
|
import {ValueType, valueTypeToLocalizedString} from './ValueInterpreterDisplayUtils.js';
|
|
10
11
|
import valueInterpreterSettingsStyles from './valueInterpreterSettings.css.js';
|
|
@@ -65,7 +66,7 @@ export class ValueInterpreterSettings extends HTMLElement {
|
|
|
65
66
|
#valueTypes: Set<ValueType> = new Set();
|
|
66
67
|
|
|
67
68
|
connectedCallback(): void {
|
|
68
|
-
this.#shadow.adoptedStyleSheets = [valueInterpreterSettingsStyles];
|
|
69
|
+
this.#shadow.adoptedStyleSheets = [Input.checkboxStyles, valueInterpreterSettingsStyles];
|
|
69
70
|
}
|
|
70
71
|
|
|
71
72
|
set data(data: ValueInterpreterSettingsData) {
|
|
@@ -56,8 +56,9 @@ export class SettingCheckbox extends HTMLElement {
|
|
|
56
56
|
LitHtml.html`
|
|
57
57
|
<p>
|
|
58
58
|
<label>
|
|
59
|
-
<input type="checkbox" ?checked=${this.#setting.get()} ?disabled=${
|
|
60
|
-
this.#
|
|
59
|
+
<input type="checkbox" ?checked=${this.#setting.get()} ?disabled=${
|
|
60
|
+
this.#disabled || this.#setting.disabled()} @change=${this.#checkboxChanged} aria-label=${
|
|
61
|
+
this.#setting.title()} /> ${this.#setting.title()}
|
|
61
62
|
</label>
|
|
62
63
|
</p>`,
|
|
63
64
|
this.#shadow, {host: this});
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
--color-background-elevation-2: rgb(222 225 230);
|
|
26
26
|
/** Used when the elevation is visible only on dark theme */
|
|
27
27
|
--color-background-elevation-dark-only: var(--color-background);
|
|
28
|
-
--color-background-highlight: rgb(
|
|
28
|
+
--color-background-highlight: rgb(218 220 224);
|
|
29
29
|
/** To draw grid lines behind elements */
|
|
30
30
|
--divider-line: rgb(0 0 0 / 10%);
|
|
31
31
|
/**
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
--color-background-elevation-1: rgb(41 42 45);
|
|
204
204
|
--color-background-elevation-2: rgb(53 54 58);
|
|
205
205
|
--color-background-elevation-dark-only: var(--color-background-elevation-1);
|
|
206
|
-
--color-background-highlight: rgb(
|
|
206
|
+
--color-background-highlight: rgb(69 69 69);
|
|
207
207
|
--divider-line: rgb(255 255 255 / 10%);
|
|
208
208
|
--color-background-hover-overlay: rgb(56 121 217 / 10%);
|
|
209
209
|
--color-selection-highlight: rgb(251 202 70 / 20%);
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
.tree-outline:not(.hide-selection-when-blurred) li.in-clipboard .highlight {
|
|
59
|
-
outline: 1px dotted var(--color-
|
|
59
|
+
outline: 1px dotted var(--color-details-hairline);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
ol.tree-outline:not(.hide-selection-when-blurred) li.selected:focus .selection {
|
package/package.json
CHANGED