@gravitee/ui-particles-angular 7.38.0-add-oninit-monaco-editor-3bf618b → 7.38.0-menu-customization-2dd9bb5

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,4 +1,4 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnDestroy } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, NgZone, OnDestroy } from '@angular/core';
2
2
  import { ControlValueAccessor, NgControl } from '@angular/forms';
3
3
  import { editor } from 'monaco-editor';
4
4
  import { ReplaySubject } from 'rxjs';
@@ -25,7 +25,6 @@ export declare class GioMonacoEditorComponent implements ControlValueAccessor, A
25
25
  readonly ngControl: NgControl;
26
26
  languageConfig?: MonacoEditorLanguageConfig;
27
27
  options: editor.IStandaloneEditorConstructionOptions;
28
- editorInit: EventEmitter<editor.IStandaloneCodeEditor>;
29
28
  loaded$: ReplaySubject<boolean>;
30
29
  private defaultOptions;
31
30
  value: string;
@@ -45,5 +44,5 @@ export declare class GioMonacoEditorComponent implements ControlValueAccessor, A
45
44
  private setupEditor;
46
45
  private setupLanguage;
47
46
  static ɵfac: i0.ɵɵFactoryDeclaration<GioMonacoEditorComponent, [null, null, null, null, null, null, { optional: true; self: true; }]>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<GioMonacoEditorComponent, "gio-monaco-editor", never, { "languageConfig": "languageConfig"; "options": "options"; }, { "editorInit": "editorInit"; }, never, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<GioMonacoEditorComponent, "gio-monaco-editor", never, { "languageConfig": "languageConfig"; "options": "options"; }, {}, never, never>;
49
48
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitee/ui-particles-angular",
3
- "version": "7.38.0-add-oninit-monaco-editor-3bf618b",
3
+ "version": "7.38.0-menu-customization-2dd9bb5",
4
4
  "description": "Gravitee.io - UI Particles Angular",
5
5
  "repository": {
6
6
  "type": "git",
@@ -0,0 +1,32 @@
1
+ /*
2
+ * Copyright (C) 2021 The Gravitee team (http://gravitee.io)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ @use '@angular/material' as mat;
17
+
18
+ $mat-oem-palette: mat.define-palette(
19
+ (
20
+ // mat-space-palette lighter10
21
+ background: var(--gio-oem-palette--background, #1c1e39),
22
+ // mat-space-palette lighter30
23
+ active: var(--gio-oem-palette--active, #494b61),
24
+ contrast: (
25
+ background: var(--gio-oem-palette--background-contrast, #fff),
26
+ active: var(--gio-oem-palette--active-contrast, #fff),
27
+ )
28
+ ),
29
+ background,
30
+ background,
31
+ background
32
+ );
@@ -17,6 +17,8 @@
17
17
  @forward './gio-mat-palettes' show $mat-primary-palette, $mat-accent-palette, $mat-success-palette, $mat-warning-palette, $mat-error-palette,
18
18
  $mat-method-palette, $mat-basic-palette, $mat-blue-palette, $mat-cyan-palette, $mat-space-palette, $mat-dove-palette;
19
19
 
20
+ @forward './gio-oem-palette' show $mat-oem-palette;
21
+
20
22
  @forward './theme/typography/gio-typography' show subtitle-typography, code-typography, link-typography, caption-2;
21
23
 
22
24
  @forward './gio-mat-theme-variable' show $mat-theme, $mat-typography, $mat-theme-dark;