@gravitee/ui-particles-angular 7.38.0-menu-customization-2dd9bb5 → 7.38.1-improvement-9d90b42
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/esm2020/lib/gio-banner/gio-banner.component.mjs +23 -12
- package/esm2020/lib/gio-banner/gio-banner.module.mjs +5 -4
- package/esm2020/lib/gio-clipboard/gio-clipboard-copy-icon.component.mjs +3 -1
- package/esm2020/lib/gio-clipboard/gio-clipboard-copy-wrapper.component.mjs +3 -1
- package/esm2020/lib/gio-form-cron/gio-form-cron.component.mjs +8 -8
- package/esm2020/lib/gio-form-headers/gio-form-headers-label.component.mjs +29 -0
- package/esm2020/lib/gio-form-headers/gio-form-headers.component.mjs +3 -3
- package/esm2020/lib/gio-form-headers/gio-form-headers.harness.mjs +10 -2
- package/esm2020/lib/gio-form-headers/gio-form-headers.module.mjs +4 -3
- package/esm2020/lib/gio-menu/gio-menu-item/gio-menu-item.component.mjs +2 -2
- package/esm2020/lib/gio-menu/gio-menu-selector/gio-menu-selector.component.mjs +2 -2
- package/esm2020/lib/gio-menu/gio-menu.component.mjs +2 -2
- package/fesm2015/gravitee-ui-particles-angular.mjs +101 -50
- package/fesm2015/gravitee-ui-particles-angular.mjs.map +1 -1
- package/fesm2020/gravitee-ui-particles-angular.mjs +99 -50
- package/fesm2020/gravitee-ui-particles-angular.mjs.map +1 -1
- package/lib/gio-banner/gio-banner.component.d.ts +4 -1
- package/lib/gio-banner/gio-banner.module.d.ts +3 -2
- package/lib/gio-form-headers/gio-form-headers-label.component.d.ts +5 -0
- package/lib/gio-form-headers/gio-form-headers.component.d.ts +1 -1
- package/lib/gio-form-headers/gio-form-headers.harness.d.ts +4 -0
- package/lib/gio-form-headers/gio-form-headers.module.d.ts +10 -9
- package/package.json +1 -1
- package/src/lib/gio-table-light/gio-table-light.scss +14 -1
- package/src/scss/index.scss +0 -2
- package/src/scss/gio-oem-palette.scss +0 -32
|
@@ -3,8 +3,11 @@ export declare type GioBannerTypes = 'error' | 'info' | 'success' | 'warning';
|
|
|
3
3
|
export declare class GioBannerComponent {
|
|
4
4
|
type: GioBannerTypes;
|
|
5
5
|
icon?: string;
|
|
6
|
+
collapsible?: boolean;
|
|
7
|
+
collapse: boolean;
|
|
8
|
+
toggleCollapse(): void;
|
|
6
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioBannerComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GioBannerComponent, "gio-banner", never, { "type": "type"; "icon": "icon"; }, {}, never, ["*", "[gioBannerBody]", "[gioBannerAction]"]>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GioBannerComponent, "gio-banner", never, { "type": "type"; "icon": "icon"; "collapsible": "collapsible"; }, {}, never, ["*", "[gioBannerBody]", "[gioBannerAction]"]>;
|
|
8
11
|
}
|
|
9
12
|
export declare class GioBannerBodyDirective {
|
|
10
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioBannerBodyDirective, never>;
|
|
@@ -2,9 +2,10 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./gio-banner.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "@angular/material/icon";
|
|
5
|
-
import * as i4 from "
|
|
5
|
+
import * as i4 from "@angular/material/button";
|
|
6
|
+
import * as i5 from "../gio-icons/gio-icons.module";
|
|
6
7
|
export declare class GioBannerModule {
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioBannerModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GioBannerModule, [typeof i1.GioBannerComponent, typeof i1.GioBannerErrorComponent, typeof i1.GioBannerInfoComponent, typeof i1.GioBannerSuccessComponent, typeof i1.GioBannerWarningComponent, typeof i1.GioBannerBodyDirective, typeof i1.GioBannerActionDirective], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.GioIconsModule], [typeof i1.GioBannerComponent, typeof i1.GioBannerErrorComponent, typeof i1.GioBannerInfoComponent, typeof i1.GioBannerSuccessComponent, typeof i1.GioBannerWarningComponent, typeof i1.GioBannerBodyDirective, typeof i1.GioBannerActionDirective]>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GioBannerModule, [typeof i1.GioBannerComponent, typeof i1.GioBannerErrorComponent, typeof i1.GioBannerInfoComponent, typeof i1.GioBannerSuccessComponent, typeof i1.GioBannerWarningComponent, typeof i1.GioBannerBodyDirective, typeof i1.GioBannerActionDirective], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.MatButtonModule, typeof i5.GioIconsModule], [typeof i1.GioBannerComponent, typeof i1.GioBannerErrorComponent, typeof i1.GioBannerInfoComponent, typeof i1.GioBannerSuccessComponent, typeof i1.GioBannerWarningComponent, typeof i1.GioBannerBodyDirective, typeof i1.GioBannerActionDirective]>;
|
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<GioBannerModule>;
|
|
10
11
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class GioFormHeadersLabelComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GioFormHeadersLabelComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GioFormHeadersLabelComponent, "gio-form-headers-label", never, {}, {}, never, ["*"]>;
|
|
5
|
+
}
|
|
@@ -38,5 +38,5 @@ export declare class GioFormHeadersComponent implements OnInit, ControlValueAcce
|
|
|
38
38
|
private removeLastHeader;
|
|
39
39
|
private _filter;
|
|
40
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioFormHeadersComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GioFormHeadersComponent, "gio-form-headers", never, { "headerFieldMapper": "headerFieldMapper"; }, {}, never,
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GioFormHeadersComponent, "gio-form-headers", never, { "headerFieldMapper": "headerFieldMapper"; }, {}, never, ["gio-form-headers-label"]>;
|
|
42
42
|
}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./gio-form-headers.component";
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "@angular/
|
|
5
|
-
import * as i4 from "@angular/material/
|
|
6
|
-
import * as i5 from "@angular/
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "@angular/material/
|
|
10
|
-
import * as i9 from "@angular/material/
|
|
3
|
+
import * as i2 from "./gio-form-headers-label.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/material/input";
|
|
6
|
+
import * as i5 from "@angular/material/form-field";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
import * as i7 from "../gio-icons/gio-icons.module";
|
|
9
|
+
import * as i8 from "@angular/material/button";
|
|
10
|
+
import * as i9 from "@angular/material/autocomplete";
|
|
11
|
+
import * as i10 from "@angular/material/core";
|
|
11
12
|
export declare class GioFormHeadersModule {
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioFormHeadersModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GioFormHeadersModule, [typeof i1.GioFormHeadersComponent], [typeof
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GioFormHeadersModule, [typeof i1.GioFormHeadersComponent, typeof i2.GioFormHeadersLabelComponent], [typeof i3.CommonModule, typeof i4.MatInputModule, typeof i5.MatFormFieldModule, typeof i6.ReactiveFormsModule, typeof i7.GioIconsModule, typeof i8.MatButtonModule, typeof i9.MatAutocompleteModule, typeof i10.MatOptionModule], [typeof i1.GioFormHeadersComponent]>;
|
|
14
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<GioFormHeadersModule>;
|
|
15
16
|
}
|
package/package.json
CHANGED
|
@@ -24,7 +24,7 @@ $typography: map.get(theme.$mat-theme, typography);
|
|
|
24
24
|
|
|
25
25
|
@mixin theme() {
|
|
26
26
|
table.gio-table-light {
|
|
27
|
-
border: 1px solid map.get(palettes.$mat-dove-palette,
|
|
27
|
+
border: 1px solid map.get(palettes.$mat-dove-palette, darker20);
|
|
28
28
|
border-radius: 4px;
|
|
29
29
|
border-collapse: inherit;
|
|
30
30
|
border-spacing: 0;
|
|
@@ -52,5 +52,18 @@ $typography: map.get(theme.$mat-theme, typography);
|
|
|
52
52
|
border-bottom: 0;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
+
|
|
56
|
+
&.disabled {
|
|
57
|
+
border-color: map.get(palettes.$mat-dove-palette, darker10);
|
|
58
|
+
|
|
59
|
+
thead {
|
|
60
|
+
background-color: mat.get-color-from-palette(palettes.$mat-dove-palette, default, 0.6);
|
|
61
|
+
color: mat.get-color-from-palette(palettes.$mat-dove-palette, 'darker20');
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
tbody {
|
|
65
|
+
color: mat.get-color-from-palette(palettes.$mat-dove-palette, 'darker20');
|
|
66
|
+
}
|
|
67
|
+
}
|
|
55
68
|
}
|
|
56
69
|
}
|
package/src/scss/index.scss
CHANGED
|
@@ -17,8 +17,6 @@
|
|
|
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
|
-
|
|
22
20
|
@forward './theme/typography/gio-typography' show subtitle-typography, code-typography, link-typography, caption-2;
|
|
23
21
|
|
|
24
22
|
@forward './gio-mat-theme-variable' show $mat-theme, $mat-typography, $mat-theme-dark;
|
|
@@ -1,32 +0,0 @@
|
|
|
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
|
-
);
|