monaco-editor-core 0.56.0-dev-20260128 → 0.56.0-dev-20260129

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.
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.56.0-dev-20260128(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
3
+ * Version: 0.56.0-dev-20260129(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/vscode/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------*/
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.56.0-dev-20260128(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
3
+ * Version: 0.56.0-dev-20260129(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/vscode/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------*/
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.56.0-dev-20260128(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
3
+ * Version: 0.56.0-dev-20260129(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/vscode/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------*/
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.56.0-dev-20260128(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
3
+ * Version: 0.56.0-dev-20260129(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/vscode/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------*/
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.56.0-dev-20260128(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
3
+ * Version: 0.56.0-dev-20260129(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/vscode/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------*/
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.56.0-dev-20260128(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
3
+ * Version: 0.56.0-dev-20260129(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/vscode/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------*/
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.56.0-dev-20260128(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
3
+ * Version: 0.56.0-dev-20260129(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/vscode/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------*/
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.56.0-dev-20260128(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
3
+ * Version: 0.56.0-dev-20260129(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/vscode/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------*/
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.56.0-dev-20260128(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
3
+ * Version: 0.56.0-dev-20260129(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/vscode/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------*/
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.56.0-dev-20260128(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
3
+ * Version: 0.56.0-dev-20260129(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/vscode/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------*/
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.56.0-dev-20260128(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
3
+ * Version: 0.56.0-dev-20260129(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/vscode/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------*/
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.56.0-dev-20260128(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
3
+ * Version: 0.56.0-dev-20260129(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/vscode/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------*/
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.56.0-dev-20260128(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
3
+ * Version: 0.56.0-dev-20260129(fe9dd23f49a64c1b2811d9eeec98f38876f93511)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/vscode/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------*/
@@ -1508,4 +1508,28 @@ function setOrRemoveAttribute(element, key, value) {
1508
1508
  element.setAttribute(camelCaseToHyphenCase(key), String(value));
1509
1509
  }
1510
1510
  }
1511
+ /**
1512
+ * A custom element that fires callbacks when connected to or disconnected from the DOM.
1513
+ * Useful for tracking whether a template or component is currently mounted, especially
1514
+ * with iframes/webviews that are sensitive to movement.
1515
+ *
1516
+ * @example
1517
+ * ```ts
1518
+ * const observer = document.createElement('connection-observer') as ConnectionObserverElement;
1519
+ * observer.onDidConnect = () => console.log('mounted');
1520
+ * observer.onDidDisconnect = () => console.log('unmounted');
1521
+ * container.appendChild(observer);
1522
+ * ```
1523
+ */
1524
+ export class ConnectionObserverElement extends HTMLElement {
1525
+ disconnectedCallback() {
1526
+ this.onDidDisconnect?.();
1527
+ }
1528
+ connectedCallback() {
1529
+ this.onDidConnect?.();
1530
+ }
1531
+ }
1532
+ if (!customElements.get('connection-observer')) {
1533
+ customElements.define('connection-observer', ConnectionObserverElement);
1534
+ }
1511
1535
  //# sourceMappingURL=dom.js.map