@gravitee/ui-particles-angular 7.42.0 → 7.43.0-renovate-all-devdependencies-minor-patch-ca44ef5

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.
Files changed (36) hide show
  1. package/esm2020/lib/gio-asciidoctor/gio-asciidoctor.component.mjs +2 -2
  2. package/esm2020/lib/gio-banner/gio-banner.component.mjs +10 -10
  3. package/esm2020/lib/gio-breadcrumb/gio-breadcrumb.component.mjs +2 -2
  4. package/esm2020/lib/gio-clipboard/gio-clipboard-copy-icon.component.mjs +2 -2
  5. package/esm2020/lib/gio-clipboard/gio-clipboard-copy-wrapper.component.mjs +2 -2
  6. package/esm2020/lib/gio-confirm-and-validate-dialog/gio-confirm-and-validate-dialog.component.mjs +2 -2
  7. package/esm2020/lib/gio-confirm-dialog/gio-confirm-dialog.component.mjs +2 -2
  8. package/esm2020/lib/gio-form-cron/gio-form-cron.component.mjs +2 -2
  9. package/esm2020/lib/gio-form-file-picker/gio-form-file-picker-add-button/gio-form-file-picker-add-button.component.mjs +2 -2
  10. package/esm2020/lib/gio-form-file-picker/gio-form-file-picker.component.mjs +2 -2
  11. package/esm2020/lib/gio-form-headers/gio-form-headers.component.mjs +2 -2
  12. package/esm2020/lib/gio-form-json-schema/type-component/array-type.component.mjs +2 -2
  13. package/esm2020/lib/gio-form-json-schema/type-component/headers-type.component.mjs +2 -2
  14. package/esm2020/lib/gio-form-json-schema/type-component/multischema-type.component.mjs +2 -2
  15. package/esm2020/lib/gio-form-json-schema/type-component/object-type.component.mjs +2 -2
  16. package/esm2020/lib/gio-form-json-schema/wrappers/gio-banner-wrapper.component.mjs +2 -2
  17. package/esm2020/lib/gio-form-slide-toggle/gio-form-slide-toggle.component.mjs +2 -2
  18. package/esm2020/lib/gio-license/gio-license-dialog/gio-license-dialog.component.mjs +2 -2
  19. package/esm2020/lib/gio-save-bar/gio-save-bar.component.mjs +3 -3
  20. package/esm2020/lib/oem-theme/gio-menu/gio-menu-footer/gio-menu-footer.component.mjs +2 -2
  21. package/esm2020/lib/oem-theme/gio-menu/gio-menu-item/gio-menu-item.component.mjs +2 -2
  22. package/esm2020/lib/oem-theme/gio-menu/gio-menu-selector/gio-menu-selector.component.mjs +2 -2
  23. package/esm2020/lib/oem-theme/gio-menu/gio-menu.component.mjs +2 -2
  24. package/esm2020/lib/oem-theme/gio-submenu/gio-submenu-group/gio-submenu-group.component.mjs +2 -2
  25. package/esm2020/lib/oem-theme/gio-submenu/gio-submenu-item/gio-submenu-item.component.mjs +2 -2
  26. package/esm2020/lib/oem-theme/gio-submenu/gio-submenu.component.mjs +2 -2
  27. package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar-content/gio-top-bar-content.component.mjs +2 -2
  28. package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar-link/gio-top-bar-link.component.mjs +2 -2
  29. package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar.component.mjs +2 -2
  30. package/fesm2015/gravitee-ui-particles-angular.mjs +66 -66
  31. package/fesm2015/gravitee-ui-particles-angular.mjs.map +1 -1
  32. package/fesm2020/gravitee-ui-particles-angular.mjs +66 -66
  33. package/fesm2020/gravitee-ui-particles-angular.mjs.map +1 -1
  34. package/package.json +1 -1
  35. package/src/lib/gio-badge/gio-badge.scss +10 -0
  36. package/src/scss/gio-oem-palette-variable.scss +45 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitee/ui-particles-angular",
3
- "version": "7.42.0",
3
+ "version": "7.43.0-renovate-all-devdependencies-minor-patch-ca44ef5",
4
4
  "description": "Gravitee.io - UI Particles Angular",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,6 +18,7 @@
18
18
 
19
19
  @use '../../scss/gio-mat-palettes.scss' as palettes;
20
20
  @use '../../scss/gio-mat-theme-variable' as theme;
21
+ @use '../../scss/gio-oem-palette-variable' as oem;
21
22
 
22
23
  /**
23
24
  * Gravitee.io version of bootstrap "badge" element
@@ -113,3 +114,12 @@
113
114
  color: mat.get-color-from-palette(palettes.$mat-warning-palette, lighter-contrast);
114
115
  }
115
116
  }
117
+
118
+ // OEM Theme
119
+
120
+ .gio-top-bar-menu {
121
+ .gio-badge-accent {
122
+ background-color: oem.$oem-top-bar-notification;
123
+ color: oem.$oem-top-bar-notification-contrast;
124
+ }
125
+ }
@@ -0,0 +1,45 @@
1
+ /*
2
+ * Copyright (C) 2023 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 'sass:map';
17
+ @use '@angular/material' as mat;
18
+
19
+ @use './gio-oem-palette' as palette;
20
+ @use './gio-mat-palettes' as gio;
21
+
22
+ // Menu
23
+ $oem-menu-active: map.get(palette.$mat-oem-palette, active);
24
+ $oem-menu-active-text: map.get(palette.$mat-oem-palette, active-contrast);
25
+ $oem-menu-hover: color-mix(in srgb, $oem-menu-active 50%, transparent);
26
+ $oem-menu-hover-text: map.get(palette.$mat-oem-palette, active-contrast);
27
+ $oem-menu-background: map.get(palette.$mat-oem-palette, background);
28
+ $oem-menu-text: map.get(palette.$mat-oem-palette, background-contrast);
29
+ $oem-menu-border: color-mix(in srgb, $oem-menu-background 75%, $oem-menu-text);
30
+
31
+ // Sub Menu
32
+ $oem-sub-menu-background: var(--gio-oem-palette--sub-menu, map.get(gio.$mat-space-palette, default));
33
+ $oem-sub-menu-title: color-mix(in srgb, $oem-menu-text 70%, black);
34
+
35
+ // Top Bar
36
+ $oem-top-bar-notification: var(--gio-oem-palette--active, map.get(gio.$mat-accent-palette, lighter80));
37
+ $oem-top-bar-notification-contrast: var(--gio-oem-palette--active-contrast, map.get(gio.$mat-space-palette, default));
38
+ $oem-top-bar-apim-button-background: var(--gio-oem-palette--sub-menu, rgb(0 111 185 / 50%));
39
+
40
+ // Light
41
+ $oem-light-menu-background: map.get(palette.$mat-oem-palette-light, background);
42
+ $oem-light-menu-selected: map.get(palette.$mat-oem-palette-light, active);
43
+ $oem-light-menu-text: map.get(palette.$mat-oem-palette-light, active-contrast);
44
+ $oem-light-menu-hover: color-mix(in srgb, $oem-light-menu-selected 50%, transparent);
45
+ $oem-light-sub-menu-title: color-mix(in srgb, $oem-light-menu-text 70%, black);