@gravitee/ui-particles-angular 14.2.0-update-gravitee-theme-e682fbd → 14.2.0-update-gravitee-theme-b5079ef

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 (43) hide show
  1. package/esm2022/gio-asciidoctor/gio-asciidoctor.component.mjs +2 -2
  2. package/esm2022/gio-el/gio-el-editor/gio-el-editor.component.mjs +3 -3
  3. package/esm2022/lib/gio-banner/gio-banner.component.mjs +10 -10
  4. package/esm2022/lib/gio-breadcrumb/gio-breadcrumb.component.mjs +2 -2
  5. package/esm2022/lib/gio-card-empty-state/gio-card-empty-state.component.mjs +2 -2
  6. package/esm2022/lib/gio-clipboard/gio-clipboard-copy-icon.component.mjs +2 -2
  7. package/esm2022/lib/gio-clipboard/gio-clipboard-copy-wrapper.component.mjs +2 -2
  8. package/esm2022/lib/gio-confirm-and-validate-dialog/gio-confirm-and-validate-dialog.component.mjs +2 -2
  9. package/esm2022/lib/gio-confirm-dialog/gio-confirm-dialog.component.mjs +2 -2
  10. package/esm2022/lib/gio-form-cron/gio-form-cron.component.mjs +2 -2
  11. package/esm2022/lib/gio-form-file-picker/gio-form-file-picker-add-button/gio-form-file-picker-add-button.component.mjs +2 -2
  12. package/esm2022/lib/gio-form-file-picker/gio-form-file-picker.component.mjs +2 -2
  13. package/esm2022/lib/gio-form-headers/gio-form-headers.component.mjs +2 -2
  14. package/esm2022/lib/gio-form-json-schema/type-component/array-type.component.mjs +2 -2
  15. package/esm2022/lib/gio-form-json-schema/type-component/headers-type.component.mjs +2 -2
  16. package/esm2022/lib/gio-form-json-schema/type-component/multischema-type.component.mjs +2 -2
  17. package/esm2022/lib/gio-form-json-schema/type-component/object-type.component.mjs +2 -2
  18. package/esm2022/lib/gio-form-json-schema/wrappers/gio-banner-wrapper.component.mjs +2 -2
  19. package/esm2022/lib/gio-form-selection-inline/gio-form-selection-inline-card-content/gio-form-selection-inline-card-content.component.mjs +2 -2
  20. package/esm2022/lib/gio-form-selection-inline/gio-form-selection-inline-card.component.mjs +2 -2
  21. package/esm2022/lib/gio-form-slide-toggle/gio-form-slide-toggle.component.mjs +2 -2
  22. package/esm2022/lib/gio-license/gio-license-dialog/gio-license-dialog.component.mjs +2 -2
  23. package/esm2022/lib/gio-license-expiration-notification/gio-license-expiration-notification.component.mjs +2 -2
  24. package/esm2022/lib/gio-save-bar/gio-save-bar.component.mjs +3 -3
  25. package/esm2022/lib/oem-theme/gio-menu/gio-menu-search/gio-menu-search.component.mjs +2 -2
  26. package/esm2022/lib/oem-theme/gio-submenu/gio-submenu-item/gio-submenu-item.component.mjs +2 -2
  27. package/esm2022/lib/oem-theme/gio-submenu/gio-submenu.component.mjs +2 -2
  28. package/esm2022/lib/oem-theme/gio-top-bar/gio-top-bar-content/gio-top-bar-content.component.mjs +2 -2
  29. package/esm2022/lib/oem-theme/gio-top-bar/gio-top-bar-link/gio-top-bar-link.component.mjs +2 -2
  30. package/esm2022/lib/oem-theme/gio-top-bar/gio-top-bar.component.mjs +2 -2
  31. package/fesm2022/gravitee-ui-particles-angular-gio-asciidoctor.mjs +2 -2
  32. package/fesm2022/gravitee-ui-particles-angular-gio-asciidoctor.mjs.map +1 -1
  33. package/fesm2022/gravitee-ui-particles-angular-gio-el.mjs +2 -2
  34. package/fesm2022/gravitee-ui-particles-angular-gio-el.mjs.map +1 -1
  35. package/fesm2022/gravitee-ui-particles-angular.mjs +64 -64
  36. package/fesm2022/gravitee-ui-particles-angular.mjs.map +1 -1
  37. package/package.json +1 -1
  38. package/src/scss/gio-mat-palettes.scss +6 -6
  39. package/src/scss/gio-mat-theme-variable.scss +1 -1
  40. package/src/scss/gio-oem-palette-variable.scss +1 -1
  41. package/src/scss/mat-override/mat-button.scss +19 -4
  42. package/src/scss/mat-override/mat-form-field.scss +8 -10
  43. package/src/scss/mat-override/mat-option.scss +5 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitee/ui-particles-angular",
3
- "version": "14.2.0-update-gravitee-theme-e682fbd",
3
+ "version": "14.2.0-update-gravitee-theme-b5079ef",
4
4
  "description": "Gravitee.io - UI Particles Angular",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,7 +22,7 @@
22
22
  */
23
23
 
24
24
  // Primary
25
- $mat-accent-palette: mat.m2-define-palette(
25
+ $mat-primary-palette: mat.m2-define-palette(
26
26
  (
27
27
  // Keep sync GIO color token with Material color token
28
28
  darker80: #331d03,
@@ -66,13 +66,13 @@ $mat-accent-palette: mat.m2-define-palette(
66
66
  50: #000,
67
67
  )
68
68
  ),
69
- lighter60,
70
- lighter40,
69
+ default,
70
+ lighter80,
71
71
  darker80
72
72
  );
73
73
 
74
74
  // Accent
75
- $mat-primary-palette: mat.m2-define-palette(
75
+ $mat-accent-palette: mat.m2-define-palette(
76
76
  (
77
77
  // Keep sync GIO color token with Material color token
78
78
  darker80: #331d03,
@@ -116,8 +116,8 @@ $mat-primary-palette: mat.m2-define-palette(
116
116
  50: #000,
117
117
  )
118
118
  ),
119
- default,
120
- lighter80,
119
+ lighter60,
120
+ lighter40,
121
121
  darker80
122
122
  );
123
123
 
@@ -30,7 +30,7 @@ $mat-typography: mat.m2-define-typography-config(
30
30
  $subtitle-1: mat.m2-define-typography-level(18px, 24px, 600, $letter-spacing: 0.4px),
31
31
  $subtitle-2: mat.m2-define-typography-level(14px, 20px, 700, '"Manrope", sans-serif', $letter-spacing: 0.4px),
32
32
  $body-1: mat.m2-define-typography-level(14px, 22px, 500, '"Manrope", sans-serif', $letter-spacing: 0.4px),
33
- $body-2: mat.m2-define-typography-level(14px, 22px, 400, '"Manrope", sans-serif', $letter-spacing: 0.4px),
33
+ $body-2: mat.m2-define-typography-level(14px, 22px, 500, '"Manrope", sans-serif', $letter-spacing: 0.4px),
34
34
  $caption: mat.m2-define-typography-level(12px, 16px, 400, '"Manrope", sans-serif'),
35
35
  $button: mat.m2-define-typography-level(14px, 14px, 500, '"Manrope", sans-serif'),
36
36
  $overline: mat.m2-define-typography-level(inherit, 1.125, 400, '"Manrope", sans-serif'),
@@ -39,7 +39,7 @@ $oem-top-bar-notification-contrast: var(--gio-oem-palette--active-contrast, map.
39
39
  $oem-top-bar-apim-button-background: var(--gio-oem-palette--sub-menu, map.get(gio.$mat-smoke-palette, darker60));
40
40
 
41
41
  // Light
42
- $oem-light-menu-selected: var(--gio-oem-palette--active, map.get(gio.$mat-accent-palette, default));
42
+ $oem-light-menu-selected: var(--gio-oem-palette--active, map.get(gio.$mat-accent-palette, darker60));
43
43
  $oem-light-menu-background: color-mix(in srgb, $oem-light-menu-selected 60%, black);
44
44
  $oem-light-menu-text: map.get(palette.$mat-oem-palette, active-contrast);
45
45
  $oem-light-menu-hover: color-mix(in srgb, $oem-light-menu-selected 80%, black);
@@ -13,12 +13,22 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ @use '@angular/material' as mat;
17
+
18
+ @use '../gio-mat-palettes' as palettes;
19
+
16
20
  @mixin mat-button() {
17
- .mdc-button {
18
- --mdc-outlined-button-label-text-weight: 700;
19
- --mdc-filled-button-label-text-weight: 700;
20
- --mdc-protected-button-label-text-weight: 700;
21
+ @include mat.button-overrides(
22
+ (
23
+ outlined-label-text-weight: 700,
24
+ filled-label-text-weight: 700,
25
+ protected-label-text-weight: 700,
26
+ outlined-label-text-color: mat.m2-get-color-from-palette(palettes.$mat-primary-palette, darker20),
27
+ text-label-text-color: mat.m2-get-color-from-palette(palettes.$mat-primary-palette, darker20),
28
+ )
29
+ );
21
30
 
31
+ .mdc-button {
22
32
  &:has(.mdc-button__label:empty) {
23
33
  min-width: 36px;
24
34
 
@@ -30,5 +40,10 @@
30
40
  font-size: 22px;
31
41
  }
32
42
  }
43
+
44
+ &[color='primary'] {
45
+ --mdc-outlined-button-label-text-color: #{mat.m2-get-color-from-palette(palettes.$mat-primary-palette, 'darker20')};
46
+ --mdc-text-button-label-text-color: #{mat.m2-get-color-from-palette(palettes.$mat-primary-palette, 'darker20')};
47
+ }
33
48
  }
34
49
  }
@@ -20,16 +20,6 @@
20
20
  @use '../gio-mat-palettes' as palettes;
21
21
 
22
22
  @mixin mat-form-field() {
23
- .mat-mdc-form-field {
24
- margin: 0.45em 0;
25
- }
26
-
27
- .mat-mdc-form-field.mat-form-field-disabled {
28
- cursor: not-allowed !important;
29
- }
30
- }
31
-
32
- :root {
33
23
  @include mat.form-field-overrides(
34
24
  (
35
25
  outlined-caret-color: mat.m2-get-color-from-palette(palettes.$mat-dove-palette, darker80),
@@ -41,4 +31,12 @@
41
31
  focus-select-arrow-color: mat.m2-get-color-from-palette(palettes.$mat-dove-palette, darker80),
42
32
  )
43
33
  );
34
+
35
+ .mat-mdc-form-field {
36
+ margin: 0.45em 0;
37
+ }
38
+
39
+ .mat-mdc-form-field.mat-form-field-disabled {
40
+ cursor: not-allowed !important;
41
+ }
44
42
  }
@@ -21,13 +21,6 @@
21
21
  @use '../gio-mat-palettes' as palettes;
22
22
 
23
23
  @mixin mat-option() {
24
- .mat-typography .mat-mdc-option {
25
- min-height: 40px;
26
- @include mat.m2-typography-level(theme.$mat-typography, 'body-2');
27
- }
28
- }
29
-
30
- :root {
31
24
  @include mat.select-overrides(
32
25
  (
33
26
  focused-arrow-color: mat.m2-get-color-from-palette(palettes.$mat-dove-palette, darker80),
@@ -39,4 +32,9 @@
39
32
  selected-state-label-text-color: mat.m2-get-color-from-palette(palettes.$mat-dove-palette, darker80),
40
33
  )
41
34
  );
35
+
36
+ .mat-typography .mat-mdc-option {
37
+ min-height: 40px;
38
+ @include mat.m2-typography-level(theme.$mat-typography, 'body-2');
39
+ }
42
40
  }