@gravitee/ui-particles-angular 9.0.1 → 9.0.2

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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitee/ui-particles-angular",
3
- "version": "9.0.1",
3
+ "version": "9.0.2",
4
4
  "description": "Gravitee.io - UI Particles Angular",
5
5
  "repository": {
6
6
  "type": "git",
@@ -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));