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.
Files changed (32) hide show
  1. package/config/gni/devtools_grd_files.gni +1 -0
  2. package/front_end/core/common/Settings.ts +10 -0
  3. package/front_end/core/i18n/locales/en-US.json +4 -16
  4. package/front_end/core/i18n/locales/en-XL.json +4 -16
  5. package/front_end/core/platform/number-utilities.ts +5 -7
  6. package/front_end/core/platform/string-utilities.ts +45 -205
  7. package/front_end/core/sdk/EmulationModel.ts +18 -19
  8. package/front_end/core/sdk/ResourceTreeModel.ts +12 -2
  9. package/front_end/core/sdk/sdk-meta.ts +2 -39
  10. package/front_end/entrypoints/inspector_main/RenderingOptions.ts +13 -9
  11. package/front_end/generated/InspectorBackendCommands.js +3 -1
  12. package/front_end/generated/protocol.d.ts +19 -0
  13. package/front_end/models/extensions/ExtensionServer.ts +2 -3
  14. package/front_end/panels/application/components/BackForwardCacheView.ts +6 -4
  15. package/front_end/panels/application/storageView.css +1 -1
  16. package/front_end/panels/console/ConsoleFormat.ts +197 -0
  17. package/front_end/panels/console/ConsoleViewMessage.ts +54 -155
  18. package/front_end/panels/console/console.ts +3 -0
  19. package/front_end/panels/elements/components/AdornerSettingsPane.ts +2 -1
  20. package/front_end/panels/elements/components/LayoutPane.ts +2 -0
  21. package/front_end/panels/elements/elementStatePaneWidget.css +1 -1
  22. package/front_end/panels/elements/layoutPane.css +0 -4
  23. package/front_end/panels/emulation/components/DeviceSizeInputElement.ts +5 -1
  24. package/front_end/panels/settings/emulation/components/UserAgentClientHintsForm.ts +2 -1
  25. package/front_end/panels/sources/SourcesPanel.ts +1 -1
  26. package/front_end/panels/web_audio/webAudio.css +1 -1
  27. package/front_end/ui/components/linear_memory_inspector/ValueInterpreterSettings.ts +2 -1
  28. package/front_end/ui/components/settings/SettingCheckbox.ts +3 -2
  29. package/front_end/ui/legacy/SettingsUI.ts +1 -0
  30. package/front_end/ui/legacy/themeColors.css +2 -2
  31. package/front_end/ui/legacy/treeoutline.css +1 -1
  32. 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=${this.#disabled} @change=${
60
- this.#checkboxChanged} aria-label=${this.#setting.title()} /> ${this.#setting.title()}
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});
@@ -110,6 +110,7 @@ const createSettingSelect = function(
110
110
  select.selectedIndex = i;
111
111
  }
112
112
  }
113
+ select.disabled = setting.disabled();
113
114
  }
114
115
 
115
116
  function selectChanged(): void {
@@ -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(202 205 209);
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(75 76 79);
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-background-highlight);
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
@@ -53,5 +53,5 @@
53
53
  "unittest": "scripts/test/run_unittests.py --no-text-coverage",
54
54
  "watch": "third_party/node/node.py --output scripts/watch_build.js"
55
55
  },
56
- "version": "1.0.953776"
56
+ "version": "1.0.954427"
57
57
  }