@igo2/core 16.0.0-rc.0 → 16.0.0-rc.1

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 (74) hide show
  1. package/esm2022/lib/analytics/shared/analytics.service.mjs +1 -1
  2. package/esm2022/lib/compression/compressedData.interface.mjs +1 -1
  3. package/esm2022/lib/compression/compression.service.mjs +1 -1
  4. package/esm2022/lib/config/config-deprecated.mjs +19 -0
  5. package/esm2022/lib/config/config.interface.mjs +1 -1
  6. package/esm2022/lib/config/config.service.mjs +30 -2
  7. package/esm2022/lib/config/version.mjs +3 -3
  8. package/esm2022/lib/core.module.mjs +1 -1
  9. package/esm2022/lib/gesture/gesture.provider.mjs +1 -1
  10. package/esm2022/lib/language/shared/language.loader.mjs +1 -1
  11. package/esm2022/lib/language/shared/language.provider.mjs +1 -1
  12. package/esm2022/lib/language/shared/language.service.mjs +1 -1
  13. package/esm2022/lib/media/media.service.mjs +1 -1
  14. package/esm2022/lib/message/message.module.mjs +1 -1
  15. package/esm2022/lib/message/shared/message.interface.mjs +1 -1
  16. package/esm2022/lib/message/shared/message.service.mjs +1 -1
  17. package/esm2022/lib/network/network.interfaces.mjs +1 -1
  18. package/esm2022/lib/network/network.service.mjs +1 -1
  19. package/esm2022/lib/regex/regex.interface.mjs +1 -1
  20. package/esm2022/lib/regex/regex.service.mjs +1 -1
  21. package/esm2022/lib/request/error.interceptor.mjs +1 -1
  22. package/esm2022/lib/request/logging.interceptor.mjs +2 -2
  23. package/esm2022/lib/route/route.service.mjs +1 -1
  24. package/esm2022/lib/storage/storage.mjs +1 -1
  25. package/esm2022/lib/storage/storage.service.mjs +1 -1
  26. package/esm2022/public_api.mjs +1 -1
  27. package/fesm2022/igo2-core.mjs +50 -4
  28. package/fesm2022/igo2-core.mjs.map +1 -1
  29. package/lib/config/config-deprecated.d.ts +5 -0
  30. package/lib/config/config.interface.d.ts +7 -0
  31. package/lib/config/config.service.d.ts +3 -0
  32. package/lib/message/message.theming.scss +26 -26
  33. package/locale/en.core.json +28 -28
  34. package/locale/en.json +1 -1
  35. package/locale/fr.core.json +28 -28
  36. package/locale/fr.json +1 -1
  37. package/package.json +2 -2
  38. package/packages.import.scss +4 -4
  39. package/style/all-style.scss +3 -3
  40. package/style/layout.scss +163 -163
  41. package/style/partial/core-utils.scss +5 -5
  42. package/style/partial/core.variables.scss +5 -5
  43. package/theming/material-theme-override.scss +39 -39
  44. package/theming/prebuilt-themes/blue-theme.css +5 -9
  45. package/theming/prebuilt-themes/blue-theme.scss +34 -34
  46. package/theming/prebuilt-themes/bluedark-theme.css +5 -9
  47. package/theming/prebuilt-themes/bluedark-theme.scss +67 -67
  48. package/theming/prebuilt-themes/bluedq-theme.css +5 -9
  49. package/theming/prebuilt-themes/bluedq-theme.scss +66 -66
  50. package/theming/prebuilt-themes/bluegrey-theme.css +5 -9
  51. package/theming/prebuilt-themes/bluegrey-theme.scss +25 -25
  52. package/theming/prebuilt-themes/dark-theme.css +5 -9
  53. package/theming/prebuilt-themes/dark-theme.scss +25 -25
  54. package/theming/prebuilt-themes/deeppurple-theme.css +5 -9
  55. package/theming/prebuilt-themes/deeppurple-theme.scss +25 -25
  56. package/theming/prebuilt-themes/indigo-theme.css +5 -9
  57. package/theming/prebuilt-themes/indigo-theme.scss +25 -25
  58. package/theming/prebuilt-themes/orange-theme.css +5 -9
  59. package/theming/prebuilt-themes/orange-theme.scss +25 -25
  60. package/theming/prebuilt-themes/qcca/base/_index.scss +4 -4
  61. package/theming/prebuilt-themes/qcca/base/breakpoints.scss +57 -57
  62. package/theming/prebuilt-themes/qcca/base/typography/_index.scss +2 -2
  63. package/theming/prebuilt-themes/qcca/base/typography/typography.utils.scss +18 -18
  64. package/theming/prebuilt-themes/qcca/components/_index.scss +10 -9
  65. package/theming/prebuilt-themes/qcca/components/_index.theme.scss +5 -5
  66. package/theming/prebuilt-themes/qcca/components/button.scss +24 -24
  67. package/theming/prebuilt-themes/qcca/components/dialog.scss +36 -36
  68. package/theming/prebuilt-themes/qcca/components/scrollbar.scss +15 -0
  69. package/theming/prebuilt-themes/qcca/components/search-bar.scss +41 -41
  70. package/theming/prebuilt-themes/qcca/components/search-bar.theme.scss +29 -29
  71. package/theming/prebuilt-themes/qcca-theme.css +19 -9
  72. package/theming/prebuilt-themes/teal-theme.css +5 -9
  73. package/theming/prebuilt-themes/teal-theme.scss +25 -25
  74. package/theming/typography.scss +28 -28
@@ -1,18 +1,18 @@
1
- @use '../palette';
2
-
3
- @mixin title-border {
4
- &:after {
5
- content: '';
6
- display: block;
7
- margin: 0;
8
- width: 48px;
9
- padding-top: 4px;
10
- border-bottom: 4px solid palette.$accent;
11
- }
12
- }
13
-
14
- @mixin title-level-4 {
15
- font-size: 21px !important;
16
- line-height: 24px !important;
17
- font-weight: bold !important;
18
- }
1
+ @use '../palette';
2
+
3
+ @mixin title-border {
4
+ &:after {
5
+ content: '';
6
+ display: block;
7
+ margin: 0;
8
+ width: 48px;
9
+ padding-top: 4px;
10
+ border-bottom: 4px solid palette.$accent;
11
+ }
12
+ }
13
+
14
+ @mixin title-level-4 {
15
+ font-size: 21px !important;
16
+ line-height: 24px !important;
17
+ font-weight: bold !important;
18
+ }
@@ -1,9 +1,10 @@
1
- @use './button';
2
- @use './dialog';
3
- @use './form-field';
4
- @use './input';
5
- @use './list';
6
- @use './panel';
7
- @use './search-bar';
8
-
9
- @forward './_index.theme' as all-component-*;
1
+ @use './button';
2
+ @use './dialog';
3
+ @use './form-field';
4
+ @use './input';
5
+ @use './list';
6
+ @use './panel';
7
+ @use './search-bar';
8
+ @use './scrollbar';
9
+
10
+ @forward './_index.theme' as all-component-*;
@@ -1,5 +1,5 @@
1
- @use './search-bar.theme' as search-bar;
2
-
3
- @mixin themes($theme) {
4
- @include search-bar.theme($theme);
5
- }
1
+ @use './search-bar.theme' as search-bar;
2
+
3
+ @mixin themes($theme) {
4
+ @include search-bar.theme($theme);
5
+ }
@@ -1,24 +1,24 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
- @use '../base';
4
-
5
- $color-500: map.get(base.$palette, 500);
6
-
7
- .mdc-button {
8
- font-size: mat.font-size(base.$typo-typography, body-1) !important;
9
- line-height: mat.line-height(base.$typo-typography, body-1) !important;
10
- font-weight: bold !important;
11
- }
12
-
13
- .mat-mdc-outlined-button {
14
- border: 2px solid currentColor;
15
- }
16
-
17
- .mat-mdc-button-base {
18
- border-radius: 0 !important;
19
- }
20
-
21
- .mat-mdc-raised-button {
22
- color: $color-500 !important;
23
- border-color: $color-500 !important;
24
- }
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+ @use '../base';
4
+
5
+ $color-500: map.get(base.$palette, 500);
6
+
7
+ .mdc-button {
8
+ font-size: mat.font-size(base.$typo-typography, body-1) !important;
9
+ line-height: mat.line-height(base.$typo-typography, body-1) !important;
10
+ font-weight: bold !important;
11
+ }
12
+
13
+ .mat-mdc-outlined-button {
14
+ border: 2px solid currentColor;
15
+ }
16
+
17
+ .mat-mdc-button-base {
18
+ border-radius: 0 !important;
19
+ }
20
+
21
+ .mat-mdc-raised-button {
22
+ color: $color-500 !important;
23
+ border-color: $color-500 !important;
24
+ }
@@ -1,36 +1,36 @@
1
- @use '../base';
2
-
3
- .mdc-dialog {
4
- max-width: 600px;
5
-
6
- &__surface {
7
- border-radius: 0 !important;
8
- }
9
-
10
- &__title {
11
- padding-top: 8px !important; // Workaround, this should be 32px but Material apply a default height for the title.
12
- padding-bottom: 24px !important;
13
-
14
- @include base.title-level-4;
15
- @include base.title-border;
16
- }
17
-
18
- &__tile,
19
- &__content,
20
- &__actions {
21
- padding-left: 32px !important;
22
- padding-right: 32px !important;
23
- }
24
-
25
- &__actions {
26
- padding-top: 24px !important;
27
- padding-bottom: 32px !important;
28
- }
29
-
30
- .close-button {
31
- $iconButtonPadding: 8px;
32
- position: absolute;
33
- top: 16px - $iconButtonPadding;
34
- right: 16px - $iconButtonPadding;
35
- }
36
- }
1
+ @use '../base';
2
+
3
+ .mdc-dialog {
4
+ max-width: 600px;
5
+
6
+ &__surface {
7
+ border-radius: 0 !important;
8
+ }
9
+
10
+ &__title {
11
+ padding-top: 8px !important; // Workaround, this should be 32px but Material apply a default height for the title.
12
+ padding-bottom: 24px !important;
13
+
14
+ @include base.title-level-4;
15
+ @include base.title-border;
16
+ }
17
+
18
+ &__tile,
19
+ &__content,
20
+ &__actions {
21
+ padding-left: 32px !important;
22
+ padding-right: 32px !important;
23
+ }
24
+
25
+ &__actions {
26
+ padding-top: 24px !important;
27
+ padding-bottom: 32px !important;
28
+ }
29
+
30
+ .close-button {
31
+ $iconButtonPadding: 8px;
32
+ position: absolute;
33
+ top: 16px - $iconButtonPadding;
34
+ right: 16px - $iconButtonPadding;
35
+ }
36
+ }
@@ -0,0 +1,15 @@
1
+ @use '../base';
2
+
3
+ *::-webkit-scrollbar {
4
+ width: 6px;
5
+ }
6
+
7
+ *::-webkit-scrollbar-track {
8
+ box-shadow: inset 0 0 5px base.$blue-light;
9
+ border-radius: 10px;
10
+ }
11
+
12
+ *::-webkit-scrollbar-thumb {
13
+ background: base.$blue-normal-piv;
14
+ border-radius: 10px;
15
+ }
@@ -1,41 +1,41 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
- @use '../base';
4
-
5
- igo-search-bar {
6
- // Workaroung, OPEN SANS font add a mysterious 1px for the height
7
- .mat-mdc-form-field-infix {
8
- max-height: 40px;
9
- }
10
-
11
- button[mat-icon-button] {
12
- background-color: map.get(base.$palette, 500);
13
-
14
- &:hover {
15
- background-color: map.get(base.$palette, 400);
16
- }
17
- }
18
-
19
- mat-icon {
20
- color: map.get(base.$palette, contrast, 500);
21
- }
22
- }
23
-
24
- igo-search-results {
25
- igo-collapsible {
26
- .mdc-list-item__primary-text {
27
- color: base.$blue-dark;
28
- font-weight: bold;
29
- }
30
- }
31
-
32
- igo-search-results-item {
33
- .mdc-list-item__primary-text {
34
- font-weight: normal;
35
- }
36
- }
37
-
38
- .mdc-list-item--with-leading-icon .mdc-list-item__start {
39
- color: base.$blue-dark;
40
- }
41
- }
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+ @use '../base';
4
+
5
+ igo-search-bar {
6
+ // Workaroung, OPEN SANS font add a mysterious 1px for the height
7
+ .mat-mdc-form-field-infix {
8
+ max-height: 40px;
9
+ }
10
+
11
+ button[mat-icon-button] {
12
+ background-color: map.get(base.$palette, 500);
13
+
14
+ &:hover {
15
+ background-color: map.get(base.$palette, 400);
16
+ }
17
+ }
18
+
19
+ mat-icon {
20
+ color: map.get(base.$palette, contrast, 500);
21
+ }
22
+ }
23
+
24
+ igo-search-results {
25
+ igo-collapsible {
26
+ .mdc-list-item__primary-text {
27
+ color: base.$blue-dark;
28
+ font-weight: bold;
29
+ }
30
+ }
31
+
32
+ igo-search-results-item {
33
+ .mdc-list-item__primary-text {
34
+ font-weight: normal;
35
+ }
36
+ }
37
+
38
+ .mdc-list-item--with-leading-icon .mdc-list-item__start {
39
+ color: base.$blue-dark;
40
+ }
41
+ }
@@ -1,29 +1,29 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin theme($theme) {
5
- @include density($theme);
6
- }
7
-
8
- @mixin density($theme) {
9
- $density: mat.get-density-config($theme);
10
-
11
- $theme4: map.merge(
12
- $theme,
13
- (
14
- density: $density - 4
15
- )
16
- );
17
-
18
- $theme2: map.merge(
19
- $theme,
20
- (
21
- density: $density - 2
22
- )
23
- );
24
-
25
- igo-search-bar {
26
- @include mat.form-field-density($theme4);
27
- @include mat.icon-button-density($theme2);
28
- }
29
- }
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+
4
+ @mixin theme($theme) {
5
+ @include density($theme);
6
+ }
7
+
8
+ @mixin density($theme) {
9
+ $density: mat.get-density-config($theme);
10
+
11
+ $theme4: map.merge(
12
+ $theme,
13
+ (
14
+ density: $density - 4
15
+ )
16
+ );
17
+
18
+ $theme2: map.merge(
19
+ $theme,
20
+ (
21
+ density: $density - 2
22
+ )
23
+ );
24
+
25
+ igo-search-bar {
26
+ @include mat.form-field-density($theme4);
27
+ @include mat.icon-button-density($theme2);
28
+ }
29
+ }
@@ -114,6 +114,20 @@ igo-search-results .mdc-list-item--with-leading-icon .mdc-list-item__start {
114
114
  color: #223654;
115
115
  }
116
116
 
117
+ *::-webkit-scrollbar {
118
+ width: 6px;
119
+ }
120
+
121
+ *::-webkit-scrollbar-track {
122
+ box-shadow: inset 0 0 5px #dae6f0;
123
+ border-radius: 10px;
124
+ }
125
+
126
+ *::-webkit-scrollbar-thumb {
127
+ background: #095797;
128
+ border-radius: 10px;
129
+ }
130
+
117
131
  .mat-ripple {
118
132
  overflow: hidden;
119
133
  position: relative;
@@ -3030,18 +3044,14 @@ igo-zoom-button > div.igo-zoom-button-container > button.mat-accent {
3030
3044
  background-color: #223654;
3031
3045
  }
3032
3046
 
3033
- igo-menu-button > #menu-button {
3034
- color: #095797;
3035
- }
3036
-
3037
- igo-menu-button > #menu-button.menu-button-reverse-color-close {
3047
+ igo-menu-button > button#menu-button {
3048
+ color: rgb(255, 255, 255);
3038
3049
  background-color: #095797;
3039
- color: white;
3040
3050
  }
3041
3051
 
3042
- igo-menu-button > #menu-button.menu-button-reverse-color {
3043
- background-color: #095797;
3044
- color: white;
3052
+ igo-menu-button > button#menu-button.menu-button-white-background {
3053
+ color: #095797;
3054
+ background-color: rgb(255, 255, 255);
3045
3055
  }
3046
3056
 
3047
3057
  .igo-map-tooltip-measure {
@@ -2920,18 +2920,14 @@ igo-zoom-button > div.igo-zoom-button-container > button.mat-accent {
2920
2920
  background-color: rgba(0, 0, 0, 0.87);
2921
2921
  }
2922
2922
 
2923
- igo-menu-button > #menu-button {
2924
- color: #00897b;
2925
- }
2926
-
2927
- igo-menu-button > #menu-button.menu-button-reverse-color-close {
2923
+ igo-menu-button > button#menu-button {
2924
+ color: rgb(255, 255, 255);
2928
2925
  background-color: #00897b;
2929
- color: white;
2930
2926
  }
2931
2927
 
2932
- igo-menu-button > #menu-button.menu-button-reverse-color {
2933
- background-color: #00897b;
2934
- color: white;
2928
+ igo-menu-button > button#menu-button.menu-button-white-background {
2929
+ color: #00897b;
2930
+ background-color: rgb(255, 255, 255);
2935
2931
  }
2936
2932
 
2937
2933
  .igo-map-tooltip-measure {
@@ -1,25 +1,25 @@
1
- @use '@angular/material' as mat;
2
- @use '../../index' as igo;
3
-
4
- $primary: mat.define-palette(mat.$teal-palette, 600, 400, 900);
5
- $accent: mat.define-palette(mat.$teal-palette, 400);
6
- $warn: mat.define-palette(mat.$red-palette);
7
- $typography: igo.$igo-typography;
8
-
9
- $theme: mat.define-light-theme(
10
- (
11
- color: (
12
- primary: $primary,
13
- accent: $accent,
14
- warn: $warn
15
- ),
16
- typography: $typography,
17
- density: 0
18
- )
19
- );
20
-
21
- @include mat.core();
22
- @include mat.typography-hierarchy($typography);
23
- @include mat.all-component-themes($theme);
24
-
25
- @include igo.all-component-themes($theme);
1
+ @use '@angular/material' as mat;
2
+ @use '../../index' as igo;
3
+
4
+ $primary: mat.define-palette(mat.$teal-palette, 600, 400, 900);
5
+ $accent: mat.define-palette(mat.$teal-palette, 400);
6
+ $warn: mat.define-palette(mat.$red-palette);
7
+ $typography: igo.$igo-typography;
8
+
9
+ $theme: mat.define-light-theme(
10
+ (
11
+ color: (
12
+ primary: $primary,
13
+ accent: $accent,
14
+ warn: $warn
15
+ ),
16
+ typography: $typography,
17
+ density: 0
18
+ )
19
+ );
20
+
21
+ @include mat.core();
22
+ @include mat.typography-hierarchy($typography);
23
+ @include mat.all-component-themes($theme);
24
+
25
+ @include igo.all-component-themes($theme);
@@ -1,28 +1,28 @@
1
- @use '@angular/material' as mat;
2
-
3
- $igo-typography: mat.define-typography-config(
4
- $headline-1: mat.define-typography-level(110px, 110px, 500),
5
- $headline-2: mat.define-typography-level(54px, 54px, 500),
6
- $headline-3: mat.define-typography-level(43px, 46px, 500),
7
- $headline-4: mat.define-typography-level(32px, 38px, 500),
8
- // h1
9
- $headline-5: mat.define-typography-level(32px, 38px, 500),
10
- // h2
11
- $headline-6: mat.define-typography-level(22px, 30px, 500),
12
- // h3
13
- $subtitle-1: mat.define-typography-level(18px, 26px, 500),
14
- // h4
15
- $subtitle-2: mat.define-typography-level(16px, 22px, 500),
16
- $body-1: mat.define-typography-level(14px, 22px, 400),
17
- $body-2: mat.define-typography-level(12px, 18px, 400),
18
- $caption: mat.define-typography-level(12px, 18px, 400),
19
- $button: mat.define-typography-level(13px, 13px, 500)
20
- );
21
-
22
- // WORKAROUND, mat-typography bad area of intersection, h4 is using mat-body-1
23
- // https://github.com/angular/components/issues/26351
24
- h4 {
25
- font-size: 16px !important;
26
- line-height: 22px !important;
27
- font-weight: 500 !important;
28
- }
1
+ @use '@angular/material' as mat;
2
+
3
+ $igo-typography: mat.define-typography-config(
4
+ $headline-1: mat.define-typography-level(110px, 110px, 500),
5
+ $headline-2: mat.define-typography-level(54px, 54px, 500),
6
+ $headline-3: mat.define-typography-level(43px, 46px, 500),
7
+ $headline-4: mat.define-typography-level(32px, 38px, 500),
8
+ // h1
9
+ $headline-5: mat.define-typography-level(32px, 38px, 500),
10
+ // h2
11
+ $headline-6: mat.define-typography-level(22px, 30px, 500),
12
+ // h3
13
+ $subtitle-1: mat.define-typography-level(18px, 26px, 500),
14
+ // h4
15
+ $subtitle-2: mat.define-typography-level(16px, 22px, 500),
16
+ $body-1: mat.define-typography-level(14px, 22px, 400),
17
+ $body-2: mat.define-typography-level(12px, 18px, 400),
18
+ $caption: mat.define-typography-level(12px, 18px, 400),
19
+ $button: mat.define-typography-level(13px, 13px, 500)
20
+ );
21
+
22
+ // WORKAROUND, mat-typography bad area of intersection, h4 is using mat-body-1
23
+ // https://github.com/angular/components/issues/26351
24
+ h4 {
25
+ font-size: 16px !important;
26
+ line-height: 22px !important;
27
+ font-weight: 500 !important;
28
+ }