chrome-devtools-frontend 1.0.1014853 → 1.0.1015276

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 (90) hide show
  1. package/config/gni/devtools_grd_files.gni +3 -2
  2. package/front_end/core/i18n/locales/af.json +195 -93
  3. package/front_end/core/i18n/locales/am.json +191 -89
  4. package/front_end/core/i18n/locales/ar.json +193 -91
  5. package/front_end/core/i18n/locales/as.json +192 -90
  6. package/front_end/core/i18n/locales/az.json +191 -89
  7. package/front_end/core/i18n/locales/be.json +191 -89
  8. package/front_end/core/i18n/locales/bg.json +190 -88
  9. package/front_end/core/i18n/locales/bn.json +191 -89
  10. package/front_end/core/i18n/locales/bs.json +193 -91
  11. package/front_end/core/i18n/locales/ca.json +189 -87
  12. package/front_end/core/i18n/locales/cs.json +191 -89
  13. package/front_end/core/i18n/locales/cy.json +191 -89
  14. package/front_end/core/i18n/locales/da.json +191 -89
  15. package/front_end/core/i18n/locales/de.json +193 -91
  16. package/front_end/core/i18n/locales/el.json +174 -72
  17. package/front_end/core/i18n/locales/en-GB.json +132 -30
  18. package/front_end/core/i18n/locales/es-419.json +192 -90
  19. package/front_end/core/i18n/locales/es.json +200 -98
  20. package/front_end/core/i18n/locales/et.json +190 -88
  21. package/front_end/core/i18n/locales/eu.json +197 -95
  22. package/front_end/core/i18n/locales/fa.json +192 -90
  23. package/front_end/core/i18n/locales/fi.json +192 -90
  24. package/front_end/core/i18n/locales/fil.json +190 -88
  25. package/front_end/core/i18n/locales/fr-CA.json +191 -89
  26. package/front_end/core/i18n/locales/fr.json +192 -90
  27. package/front_end/core/i18n/locales/gl.json +173 -71
  28. package/front_end/core/i18n/locales/gu.json +192 -90
  29. package/front_end/core/i18n/locales/he.json +191 -89
  30. package/front_end/core/i18n/locales/hi.json +172 -70
  31. package/front_end/core/i18n/locales/hr.json +180 -78
  32. package/front_end/core/i18n/locales/hu.json +191 -89
  33. package/front_end/core/i18n/locales/hy.json +192 -90
  34. package/front_end/core/i18n/locales/id.json +192 -90
  35. package/front_end/core/i18n/locales/is.json +176 -74
  36. package/front_end/core/i18n/locales/it.json +192 -90
  37. package/front_end/core/i18n/locales/ja.json +190 -88
  38. package/front_end/core/i18n/locales/ka.json +190 -88
  39. package/front_end/core/i18n/locales/kk.json +198 -96
  40. package/front_end/core/i18n/locales/km.json +195 -93
  41. package/front_end/core/i18n/locales/kn.json +193 -91
  42. package/front_end/core/i18n/locales/ko.json +190 -88
  43. package/front_end/core/i18n/locales/ky.json +193 -91
  44. package/front_end/core/i18n/locales/lo.json +192 -90
  45. package/front_end/core/i18n/locales/lt.json +193 -91
  46. package/front_end/core/i18n/locales/lv.json +175 -73
  47. package/front_end/core/i18n/locales/mk.json +193 -91
  48. package/front_end/core/i18n/locales/ml.json +193 -91
  49. package/front_end/core/i18n/locales/mn.json +190 -88
  50. package/front_end/core/i18n/locales/mr.json +191 -89
  51. package/front_end/core/i18n/locales/ms.json +190 -88
  52. package/front_end/core/i18n/locales/my.json +191 -89
  53. package/front_end/core/i18n/locales/ne.json +172 -70
  54. package/front_end/core/i18n/locales/nl.json +191 -89
  55. package/front_end/core/i18n/locales/no.json +191 -89
  56. package/front_end/core/i18n/locales/or.json +196 -94
  57. package/front_end/core/i18n/locales/pa.json +191 -89
  58. package/front_end/core/i18n/locales/pl.json +191 -89
  59. package/front_end/core/i18n/locales/pt-PT.json +199 -97
  60. package/front_end/core/i18n/locales/pt.json +191 -89
  61. package/front_end/core/i18n/locales/ro.json +193 -91
  62. package/front_end/core/i18n/locales/ru.json +193 -91
  63. package/front_end/core/i18n/locales/si.json +191 -89
  64. package/front_end/core/i18n/locales/sk.json +192 -90
  65. package/front_end/core/i18n/locales/sl.json +191 -89
  66. package/front_end/core/i18n/locales/sq.json +193 -91
  67. package/front_end/core/i18n/locales/sr-Latn.json +190 -88
  68. package/front_end/core/i18n/locales/sr.json +190 -88
  69. package/front_end/core/i18n/locales/sv.json +191 -89
  70. package/front_end/core/i18n/locales/sw.json +192 -90
  71. package/front_end/core/i18n/locales/ta.json +193 -91
  72. package/front_end/core/i18n/locales/te.json +134 -32
  73. package/front_end/core/i18n/locales/th.json +190 -88
  74. package/front_end/core/i18n/locales/tr.json +193 -91
  75. package/front_end/core/i18n/locales/uk.json +193 -91
  76. package/front_end/core/i18n/locales/ur.json +191 -89
  77. package/front_end/core/i18n/locales/uz.json +190 -88
  78. package/front_end/core/i18n/locales/vi.json +190 -88
  79. package/front_end/core/i18n/locales/zh-HK.json +192 -90
  80. package/front_end/core/i18n/locales/zh-TW.json +195 -93
  81. package/front_end/core/i18n/locales/zh.json +191 -89
  82. package/front_end/core/i18n/locales/zu.json +192 -90
  83. package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +3 -4
  84. package/front_end/panels/elements/components/LayoutPane.ts +3 -4
  85. package/front_end/panels/elements/components/QueryContainer.ts +3 -4
  86. package/front_end/panels/elements/components/components.ts +0 -2
  87. package/front_end/{panels/elements/components → ui/components/node_text}/NodeText.ts +2 -1
  88. package/front_end/{panels/elements/components → ui/components/node_text}/nodeText.css +0 -0
  89. package/front_end/ui/components/node_text/node_text.ts +9 -0
  90. package/package.json +1 -1
@@ -14,8 +14,7 @@ import {crumbsToRender} from './ElementsBreadcrumbsUtils.js';
14
14
  import type * as SDK from '../../../core/sdk/sdk.js';
15
15
  import type {DOMNode} from './Helper.js';
16
16
 
17
- import {NodeText} from './NodeText.js';
18
- import type {NodeTextData} from './NodeText.js';
17
+ import * as NodeText from '../../../ui/components/node_text/node_text.js';
19
18
 
20
19
  const UIStrings = {
21
20
  /**
@@ -300,11 +299,11 @@ export class ElementsBreadcrumbs extends HTMLElement {
300
299
  @mouseleave=${this.#onCrumbMouseLeave(crumb.node)}
301
300
  @focus=${this.#onCrumbFocus(crumb.node)}
302
301
  @blur=${this.#onCrumbBlur(crumb.node)}
303
- ><${NodeText.litTagName} data-node-title=${crumb.title.main} .data=${{
302
+ ><${NodeText.NodeText.NodeText.litTagName} data-node-title=${crumb.title.main} .data=${{
304
303
  nodeTitle: crumb.title.main,
305
304
  nodeId: crumb.title.extras.id,
306
305
  nodeClasses: crumb.title.extras.classes,
307
- } as NodeTextData}></${NodeText.litTagName}></a>
306
+ } as NodeText.NodeText.NodeTextData}></${NodeText.NodeText.NodeText.litTagName}></a>
308
307
  </li>`;
309
308
  })}
310
309
  </ul>
@@ -10,10 +10,9 @@ import * as LitHtml from '../../../ui/lit-html/lit-html.js';
10
10
  import type {BooleanSetting, EnumSetting, Setting} from './LayoutPaneUtils.js';
11
11
  import type {LayoutElement} from './LayoutPaneUtils.js';
12
12
 
13
- import type {NodeTextData} from './NodeText.js';
14
- import {NodeText} from './NodeText.js';
15
13
  import layoutPaneStyles from '../layoutPane.css.js';
16
14
  import * as Input from '../../../ui/components/input/input.js';
15
+ import * as NodeText from '../../../ui/components/node_text/node_text.js';
17
16
  // eslint-disable-next-line rulesdir/es_modules_import
18
17
  import inspectorCommonStyles from '../../../ui/legacy/inspectorCommon.css.js';
19
18
 
@@ -262,11 +261,11 @@ export class LayoutPane extends HTMLElement {
262
261
  <label data-element="true" class="checkbox-label">
263
262
  <input data-input="true" type="checkbox" .checked=${element.enabled} @change=${onElementToggle} />
264
263
  <span class="node-text-container" data-label="true" @mouseenter=${onMouseEnter} @mouseleave=${onMouseLeave}>
265
- <${NodeText.litTagName} .data=${{
264
+ <${NodeText.NodeText.NodeText.litTagName} .data=${{
266
265
  nodeId: element.domId,
267
266
  nodeTitle: element.name,
268
267
  nodeClasses: element.domClasses,
269
- } as NodeTextData}></${NodeText.litTagName}>
268
+ } as NodeText.NodeText.NodeTextData}></${NodeText.NodeText.NodeText.litTagName}>
270
269
  </span>
271
270
  </label>
272
271
  <label @keyup=${onColorLabelKeyUp} @keydown=${onColorLabelKeyDown} tabindex="0" title=${i18nString(UIStrings.chooseElementOverlayColor)} class="color-picker-label" style="background: ${element.color};">
@@ -5,11 +5,10 @@
5
5
  import * as SDK from '../../../core/sdk/sdk.js';
6
6
  import * as ComponentHelpers from '../../../ui/components/helpers/helpers.js';
7
7
  import * as IconButton from '../../../ui/components/icon_button/icon_button.js';
8
+ import * as NodeText from '../../../ui/components/node_text/node_text.js';
8
9
  import * as LitHtml from '../../../ui/lit-html/lit-html.js';
9
10
 
10
11
  import type {DOMNode} from './Helper.js';
11
- import {NodeText} from './NodeText.js';
12
- import type {NodeTextData} from './NodeText.js';
13
12
  import queryContainerStyles from './queryContainer.css.js';
14
13
 
15
14
  const {render, html} = LitHtml;
@@ -90,13 +89,13 @@ export class QueryContainer extends HTMLElement {
90
89
  @click=${this.#onContainerLinkClick}
91
90
  @mouseenter=${this.#onContainerLinkMouseEnter}
92
91
  @mouseleave=${this.#onContainerLinkMouseLeave}
93
- ><${NodeText.litTagName}
92
+ ><${NodeText.NodeText.NodeText.litTagName}
94
93
  data-node-title=${nodeTitle}
95
94
  .data=${{
96
95
  nodeTitle,
97
96
  nodeId: idToDisplay,
98
97
  nodeClasses: classesToDisplay,
99
- } as NodeTextData}></${NodeText.litTagName}></a>
98
+ } as NodeText.NodeText.NodeTextData}></${NodeText.NodeText.NodeText.litTagName}></a>
100
99
  ${this.#isContainerLinkHovered ? this.#renderQueriedSizeDetails() : LitHtml.nothing}
101
100
  `, this.#shadow, {
102
101
  host: this,
@@ -15,7 +15,6 @@ import * as ElementsPanelLink from './ElementsPanelLink.js';
15
15
  import * as Helper from './Helper.js';
16
16
  import * as LayoutPane from './LayoutPane.js';
17
17
  import * as LayoutPaneUtils from './LayoutPaneUtils.js';
18
- import * as NodeText from './NodeText.js';
19
18
  import * as QueryContainer from './QueryContainer.js';
20
19
  import * as StylePropertyEditor from './StylePropertyEditor.js';
21
20
 
@@ -33,7 +32,6 @@ export {
33
32
  Helper,
34
33
  LayoutPane,
35
34
  LayoutPaneUtils,
36
- NodeText,
37
35
  QueryContainer,
38
36
  StylePropertyEditor,
39
37
  };
@@ -2,8 +2,9 @@
2
2
  // Use of this source code is governed by a BSD-style license that can be
3
3
  // found in the LICENSE file.
4
4
 
5
- import * as ComponentHelpers from '../../../ui/components/helpers/helpers.js';
6
5
  import * as LitHtml from '../../../ui/lit-html/lit-html.js';
6
+ import * as ComponentHelpers from '../helpers/helpers.js';
7
+
7
8
  import nodeTextStyles from './nodeText.css.js';
8
9
 
9
10
  const {render, html} = LitHtml;
@@ -0,0 +1,9 @@
1
+ // Copyright 2021 The Chromium Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+
5
+ import * as NodeText from './NodeText.js';
6
+
7
+ export {
8
+ NodeText,
9
+ };
package/package.json CHANGED
@@ -55,5 +55,5 @@
55
55
  "unittest": "scripts/test/run_unittests.py --no-text-coverage",
56
56
  "watch": "vpython third_party/node/node.py --output scripts/watch_build.js"
57
57
  },
58
- "version": "1.0.1014853"
58
+ "version": "1.0.1015276"
59
59
  }