@gravitee/ui-particles-angular 9.0.1 → 9.0.2-renovate-all-devdependencies-minor-patch-428306a
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-license-expiration-notification/gio-license-expiration-notification.component.mjs +2 -2
- package/esm2020/lib/oem-theme/gio-menu/gio-menu-selector/gio-menu-selector.component.mjs +2 -2
- package/esm2020/lib/oem-theme/oem-theme.service.mjs +32 -2
- package/fesm2015/gravitee-ui-particles-angular.mjs +35 -5
- package/fesm2015/gravitee-ui-particles-angular.mjs.map +1 -1
- package/fesm2020/gravitee-ui-particles-angular.mjs +35 -5
- package/fesm2020/gravitee-ui-particles-angular.mjs.map +1 -1
- package/lib/oem-theme/oem-theme.service.d.ts +9 -1
- package/package.json +1 -1
- package/src/scss/gio-oem-palette-variable.scss +1 -0
|
@@ -16,8 +16,16 @@ export interface OemTheme {
|
|
|
16
16
|
menuActive: string;
|
|
17
17
|
}
|
|
18
18
|
declare const computeStylesForStory: (args: Args) => string;
|
|
19
|
+
/**
|
|
20
|
+
* Mimics how styles are injected in Console.
|
|
21
|
+
* It is necessary in order to apply styles to gio-menu-selector drop-down overlay.
|
|
22
|
+
* @param args
|
|
23
|
+
* @param document
|
|
24
|
+
*/
|
|
25
|
+
declare const computeAndInjectStylesForStory: (args: Args, document: Document) => void;
|
|
26
|
+
declare const resetStoryStyleInjection: (args: Args) => void;
|
|
19
27
|
declare const computeStyles: (theme: OemTheme) => {
|
|
20
28
|
key: string;
|
|
21
29
|
value: string;
|
|
22
30
|
}[];
|
|
23
|
-
export { computeStyles, computeStylesForStory };
|
|
31
|
+
export { computeStyles, computeStylesForStory, computeAndInjectStylesForStory, resetStoryStyleInjection };
|
package/package.json
CHANGED
|
@@ -27,6 +27,7 @@ $oem-menu-hover-text: map.get(palette.$mat-oem-palette, active-contrast);
|
|
|
27
27
|
$oem-menu-background: map.get(palette.$mat-oem-palette, background);
|
|
28
28
|
$oem-menu-text: map.get(palette.$mat-oem-palette, background-contrast);
|
|
29
29
|
$oem-menu-border: color-mix(in srgb, $oem-menu-background 75%, $oem-menu-text);
|
|
30
|
+
$oem-menu-environment-selected: var(--gio-oem-palette--active, map.get(gio.$mat-primary-palette, default));
|
|
30
31
|
|
|
31
32
|
// Sub Menu
|
|
32
33
|
$oem-sub-menu-background: var(--gio-oem-palette--sub-menu, map.get(gio.$mat-space-palette, default));
|