@codingame/monaco-vscode-walkthrough-service-override 22.1.9 → 23.0.1

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 (22) hide show
  1. package/package.json +9 -9
  2. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js +23 -27
  3. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.d.ts +8 -5
  4. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.js +63 -47
  5. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedAccessibleView.js +3 -3
  6. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedColors.js +7 -7
  7. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExtensionPoint.js +37 -37
  8. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedIcons.js +2 -2
  9. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedInput.js +1 -1
  10. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService._contribution.js +3 -3
  11. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +2 -2
  12. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/media/gettingStarted.css +3 -3
  13. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/startupPage.js +2 -2
  14. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.js +152 -152
  15. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/multi-file-edits.svg +465 -466
  16. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookProfile.js +3 -3
  17. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker.js +5 -5
  18. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker_small.js +4 -4
  19. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.js +3 -3
  20. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThrough.contribution.js +2 -2
  21. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughPart.js +5 -5
  22. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/common/walkThroughUtils.js +1 -1
@@ -10,15 +10,15 @@ var notebookProfileContent = () => `
10
10
  <checklist>
11
11
  <checkbox on-checked="${createSetProfileCommandUri('default')}" checked-on="config.notebook.cellFocusIndicator == 'border' && config.notebook.insertToolbarLocation == 'both' && config.notebook.globalToolbar == false && config.notebook.compactView == true && config.notebook.showCellStatusBar == 'visible'">
12
12
  <img width="${imageSize}" src="./notebookThemes/default.png"/>
13
- ${escape(( localize(12905, "Default")))}
13
+ ${escape(( localize(13199, "Default")))}
14
14
  </checkbox>
15
15
  <checkbox on-checked="${createSetProfileCommandUri('jupyter')}" checked-on="config.notebook.cellFocusIndicator == 'gutter' && config.notebook.insertToolbarLocation == 'notebookToolbar' && config.notebook.globalToolbar == true && config.notebook.compactView == true && config.notebook.showCellStatusBar == 'visible'">
16
16
  <img width="${imageSize}" src="./notebookThemes/jupyter.png"/>
17
- ${escape(( localize(12906, "Jupyter")))}
17
+ ${escape(( localize(13200, "Jupyter")))}
18
18
  </checkbox>
19
19
  <checkbox on-checked="${createSetProfileCommandUri('colab')}" checked-on="config.notebook.cellFocusIndicator == 'border' && config.notebook.insertToolbarLocation == 'betweenCells' && config.notebook.globalToolbar == false && config.notebook.compactView == false && config.notebook.showCellStatusBar == 'hidden'">
20
20
  <img width="${imageSize}" src="./notebookThemes/colab.png"/>
21
- ${escape(( localize(12907, "Colab")))}
21
+ ${escape(( localize(13201, "Colab")))}
22
22
  </checkbox>
23
23
  </checklist>
24
24
  </vertically-centered>
@@ -8,26 +8,26 @@ var themePickerContent = () => `
8
8
  <div class="theme-picker-row">
9
9
  <checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_DARK}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_DARK}'">
10
10
  <img width="200" src="./dark.png"/>
11
- ${escape(( localize(12908, "Dark Modern")))}
11
+ ${escape(( localize(13202, "Dark Modern")))}
12
12
  </checkbox>
13
13
  <checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_LIGHT}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_LIGHT}'">
14
14
  <img width="200" src="./light.png"/>
15
- ${escape(( localize(12909, "Light Modern")))}
15
+ ${escape(( localize(13203, "Light Modern")))}
16
16
  </checkbox>
17
17
  </div>
18
18
  <div class="theme-picker-row">
19
19
  <checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_HC_DARK}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_HC_DARK}'">
20
20
  <img width="200" src="./dark-hc.png"/>
21
- ${escape(( localize(12910, "Dark High Contrast")))}
21
+ ${escape(( localize(13204, "Dark High Contrast")))}
22
22
  </checkbox>
23
23
  <checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_HC_LIGHT}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_HC_LIGHT}'">
24
24
  <img width="200" src="./light-hc.png"/>
25
- ${escape(( localize(12911, "Light High Contrast")))}
25
+ ${escape(( localize(13205, "Light High Contrast")))}
26
26
  </checkbox>
27
27
  </div>
28
28
  </checklist>
29
29
  <checkbox class="theme-picker-link" when-checked="command:workbench.action.selectTheme" checked-on="false">
30
- ${escape(( localize(12912, "See More Themes...")))}
30
+ ${escape(( localize(13206, "See More Themes...")))}
31
31
  </checkbox>
32
32
  `;
33
33
 
@@ -8,21 +8,21 @@ var themePickerSmallContent = () => `
8
8
  <div class="theme-picker-row">
9
9
  <checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_DARK}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_DARK}'">
10
10
  <img width="150" src="./dark.png"/>
11
- ${escape(( localize(12913, "Dark Modern")))}
11
+ ${escape(( localize(13207, "Dark Modern")))}
12
12
  </checkbox>
13
13
  <checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_LIGHT}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_LIGHT}'">
14
14
  <img width="150" src="./light.png"/>
15
- ${escape(( localize(12914, "Light Modern")))}
15
+ ${escape(( localize(13208, "Light Modern")))}
16
16
  </checkbox>
17
17
  </div>
18
18
  <div class="theme-picker-row">
19
19
  <checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_HC_DARK}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_HC_DARK}'">
20
20
  <img width="150" src="./dark-hc.png"/>
21
- ${escape(( localize(12915, "Dark High Contrast")))}
21
+ ${escape(( localize(13209, "Dark High Contrast")))}
22
22
  </checkbox>
23
23
  <checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_HC_LIGHT}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_HC_LIGHT}'">
24
24
  <img width="150" src="./light-hc.png"/>
25
- ${escape(( localize(12916, "Light High Contrast")))}
25
+ ${escape(( localize(13210, "Light High Contrast")))}
26
26
  </checkbox>
27
27
  </div>
28
28
  </checklist>
@@ -13,7 +13,7 @@ walkThroughContentRegistry.registerProvider('vs/workbench/contrib/welcomeWalkthr
13
13
  const typeId = 'workbench.editors.walkThroughInput';
14
14
  const inputOptions = {
15
15
  typeId,
16
- name: ( localize(12935, "Editor Playground")),
16
+ name: ( localize(13229, "Editor Playground")),
17
17
  resource: ( FileAccess.asBrowserUri(
18
18
  'vs/workbench/contrib/welcomeWalkthrough/browser/editor/vs_code_editor_walkthrough.md'
19
19
  ))
@@ -25,7 +25,7 @@ const inputOptions = {
25
25
  };
26
26
  class EditorWalkThroughAction extends Action2 {
27
27
  static { this.ID = 'workbench.action.showInteractivePlayground'; }
28
- static { this.LABEL = ( localize2(12936, 'Interactive Editor Playground')); }
28
+ static { this.LABEL = ( localize2(13230, 'Interactive Editor Playground')); }
29
29
  constructor() {
30
30
  super({
31
31
  id: EditorWalkThroughAction.ID,
@@ -33,7 +33,7 @@ class EditorWalkThroughAction extends Action2 {
33
33
  category: Categories.Help,
34
34
  f1: true,
35
35
  metadata: {
36
- description: ( localize2(12937, "Opens an interactive playground for learning about the editor."))
36
+ description: ( localize2(13231, "Opens an interactive playground for learning about the editor."))
37
37
  }
38
38
  });
39
39
  }
@@ -14,7 +14,7 @@ import { EditorPaneDescriptor } from '@codingame/monaco-vscode-60014c9d-b815-501
14
14
  import { KeybindingsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
15
15
 
16
16
  ( Registry.as(EditorExtensions.EditorPane))
17
- .registerEditorPane(EditorPaneDescriptor.create(WalkThroughPart, WalkThroughPart.ID, ( localize(12938, "Playground"))), [( new SyncDescriptor(WalkThroughInput))]);
17
+ .registerEditorPane(EditorPaneDescriptor.create(WalkThroughPart, WalkThroughPart.ID, ( localize(13232, "Playground"))), [( new SyncDescriptor(WalkThroughInput))]);
18
18
  registerAction2(EditorWalkThroughAction);
19
19
  ( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(EditorWalkThroughInputSerializer.ID, EditorWalkThroughInputSerializer);
20
20
  registerWorkbenchContribution2(WalkThroughSnippetContentProvider.ID, WalkThroughSnippetContentProvider, { editorTypeId: WalkThroughPart.ID });
@@ -26,7 +26,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarHelpMenu, {
26
26
  group: '1_welcome',
27
27
  command: {
28
28
  id: 'workbench.action.showInteractivePlayground',
29
- title: ( localize(12939, "Editor Playgrou&&nd"))
29
+ title: ( localize(13233, "Editor Playgrou&&nd"))
30
30
  },
31
31
  order: 3
32
32
  });
@@ -31,14 +31,14 @@ import { OS, OperatingSystem } from '@codingame/monaco-vscode-api/vscode/vs/base
31
31
  import { deepClone } from '@codingame/monaco-vscode-api/vscode/vs/base/common/objects';
32
32
  import { INotificationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service';
33
33
  import { safeSetInnerHtml } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/domSanitize';
34
- import { createElement, isHTMLElement, isHTMLAnchorElement, isHTMLButtonElement, size, getActiveElement, addDisposableListener } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
34
+ import { createElement, isHTMLElement, isHTMLAnchorElement, isHTMLButtonElement, size, getActiveElement, addDisposableListener, createTextNode } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
35
35
  import { IEditorGroupsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
36
36
  import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service';
37
37
 
38
38
  var WalkThroughPart_1;
39
39
  registerCss(walkThroughPart);
40
40
  const WALK_THROUGH_FOCUS = ( new RawContextKey('interactivePlaygroundFocus', false));
41
- const UNBOUND_COMMAND = ( localize(12940, "unbound"));
41
+ const UNBOUND_COMMAND = ( localize(13234, "unbound"));
42
42
  const WALK_THROUGH_EDITOR_VIEW_STATE_PREFERENCE_KEY = 'walkThroughEditorViewState';
43
43
  let WalkThroughPart = class WalkThroughPart extends EditorPane {
44
44
  static { WalkThroughPart_1 = this; }
@@ -148,7 +148,7 @@ let WalkThroughPart = class WalkThroughPart extends EditorPane {
148
148
  }
149
149
  open(uri) {
150
150
  if (uri.scheme === 'command' && uri.path === 'git.clone' && !CommandsRegistry.getCommand('git.clone')) {
151
- this.notificationService.info(( localize(12941, "It looks like Git is not installed on your system.")));
151
+ this.notificationService.info(( localize(13235, "It looks like Git is not installed on your system.")));
152
152
  return;
153
153
  }
154
154
  this.openerService.open(this.addFrom(uri), { allowCommands: true });
@@ -370,7 +370,7 @@ let WalkThroughPart = class WalkThroughPart extends EditorPane {
370
370
  while (key.firstChild) {
371
371
  key.firstChild.remove();
372
372
  }
373
- key.appendChild(document.createTextNode(label));
373
+ key.appendChild(createTextNode(label));
374
374
  });
375
375
  const ifkeys = this.content.querySelectorAll('.if_shortcut[data-command]');
376
376
  Array.prototype.forEach.call(ifkeys, (key) => {
@@ -388,7 +388,7 @@ let WalkThroughPart = class WalkThroughPart extends EditorPane {
388
388
  while (key.firstChild) {
389
389
  key.firstChild.remove();
390
390
  }
391
- key.appendChild(document.createTextNode(modifier));
391
+ key.appendChild(createTextNode(modifier));
392
392
  });
393
393
  }
394
394
  saveTextEditorViewState(input) {
@@ -14,6 +14,6 @@ import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
14
14
  import { Color, RGBA } from '@codingame/monaco-vscode-api/vscode/vs/base/common/color';
15
15
 
16
16
  registerColor('walkThrough.embeddedEditorBackground', { dark: ( new Color(( new RGBA(0, 0, 0, .4)))), light: '#f4f4f4', hcDark: null, hcLight: null }, ( localize(
17
- 12942,
17
+ 13236,
18
18
  'Background color for the embedded editors on the Interactive Playground.'
19
19
  )));