@gravitee/ui-particles-angular 14.0.0 → 14.1.0
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.
- package/esm2022/lib/gio-monaco-editor/gio-monaco-editor.module.mjs +13 -1
- package/esm2022/lib/gio-monaco-editor/models/GioMonacoEditorConfig.mjs +1 -1
- package/esm2022/lib/gio-monaco-editor/services/gio-language-el.service.mjs +3 -6
- package/esm2022/lib/gio-monaco-editor/services/gio-language-json.service.mjs +3 -6
- package/esm2022/lib/gio-monaco-editor/services/gio-monaco-editor.service.mjs +10 -8
- package/fesm2022/gravitee-ui-particles-angular.mjs +21 -17
- package/fesm2022/gravitee-ui-particles-angular.mjs.map +1 -1
- package/lib/gio-monaco-editor/gio-monaco-editor.module.d.ts +5 -2
- package/lib/gio-monaco-editor/models/GioMonacoEditorConfig.d.ts +1 -0
- package/lib/gio-monaco-editor/services/gio-monaco-editor.service.d.ts +1 -0
- package/package.json +1 -1
- package/src/scss/mat-override/mat-card.scss +13 -0
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { GioMonacoEditorConfig } from './models/GioMonacoEditorConfig';
|
|
2
|
+
import { GioMonacoEditorService } from './services/gio-monaco-editor.service';
|
|
3
|
+
import { GioLanguageJsonService } from './services/gio-language-json.service';
|
|
4
|
+
import { GioLanguageElService } from './services/gio-language-el.service';
|
|
2
5
|
import * as i0 from "@angular/core";
|
|
3
6
|
import * as i1 from "./gio-monaco-editor.component";
|
|
4
7
|
import * as i2 from "./gio-monaco-editor-form-field.directive";
|
|
@@ -7,10 +10,10 @@ import * as i4 from "@angular/forms";
|
|
|
7
10
|
export declare class GioMonacoEditorModule {
|
|
8
11
|
static forRoot(config: GioMonacoEditorConfig): {
|
|
9
12
|
ngModule: typeof GioMonacoEditorModule;
|
|
10
|
-
providers: {
|
|
13
|
+
providers: (typeof GioMonacoEditorService | typeof GioLanguageJsonService | typeof GioLanguageElService | {
|
|
11
14
|
provide: import("@angular/core").InjectionToken<GioMonacoEditorConfig>;
|
|
12
15
|
useValue: GioMonacoEditorConfig;
|
|
13
|
-
}[];
|
|
16
|
+
})[];
|
|
14
17
|
};
|
|
15
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioMonacoEditorModule, never>;
|
|
16
19
|
static ɵmod: i0.ɵɵNgModuleDeclaration<GioMonacoEditorModule, [typeof i1.GioMonacoEditorComponent, typeof i2.GioMonacoEditorFormFieldDirective], [typeof i3.CommonModule, typeof i4.ReactiveFormsModule], [typeof i1.GioMonacoEditorComponent, typeof i2.GioMonacoEditorFormFieldDirective]>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { MonacoEditorTheme } from './MonacoEditorTheme';
|
|
3
3
|
export type GioMonacoEditorConfig = {
|
|
4
|
+
baseUrl?: string;
|
|
4
5
|
theme?: MonacoEditorTheme;
|
|
5
6
|
};
|
|
6
7
|
export declare const GIO_MONACO_EDITOR_CONFIG: InjectionToken<GioMonacoEditorConfig>;
|
package/package.json
CHANGED
|
@@ -13,8 +13,13 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
@use 'sass:map';
|
|
16
17
|
@use '@angular/material' as mat;
|
|
17
18
|
|
|
19
|
+
@use '../gio-mat-theme-variable' as theme;
|
|
20
|
+
|
|
21
|
+
$typography: map.get(theme.$mat-theme, typography);
|
|
22
|
+
|
|
18
23
|
@mixin mat-card() {
|
|
19
24
|
// Mat card MDC
|
|
20
25
|
.mat-mdc-card:not(.mat-mdc-card .mat-mdc-card, [class*='mat-mdc-elevation-z'], [class*='mat-elevation-z'], [appearance='outlined']) {
|
|
@@ -27,4 +32,12 @@
|
|
|
27
32
|
@include mat.elevation($i);
|
|
28
33
|
}
|
|
29
34
|
}
|
|
35
|
+
|
|
36
|
+
.mat-mdc-card {
|
|
37
|
+
.mat-mdc-card-title {
|
|
38
|
+
@include mat.m2-typography-level($typography, subtitle-1);
|
|
39
|
+
|
|
40
|
+
padding-bottom: 4px;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
30
43
|
}
|