@igo2/core 16.0.0-rc.3 → 16.0.0-rc.4

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 (29) hide show
  1. package/_index.scss +8 -8
  2. package/core-theme.scss +5 -5
  3. package/esm2022/lib/config/version.mjs +3 -3
  4. package/esm2022/lib/storage/index.mjs +1 -1
  5. package/fesm2022/igo2-core.mjs +2 -2
  6. package/fesm2022/igo2-core.mjs.map +1 -1
  7. package/package.json +2 -2
  8. package/theming/all-theme.scss +14 -14
  9. package/theming/prebuilt-themes/blue-theme.css +39 -25
  10. package/theming/prebuilt-themes/bluedark-theme.css +39 -25
  11. package/theming/prebuilt-themes/bluedq-theme.css +39 -25
  12. package/theming/prebuilt-themes/bluegrey-theme.css +39 -25
  13. package/theming/prebuilt-themes/dark-theme.css +39 -25
  14. package/theming/prebuilt-themes/deeppurple-theme.css +39 -25
  15. package/theming/prebuilt-themes/indigo-theme.css +39 -25
  16. package/theming/prebuilt-themes/orange-theme.css +39 -25
  17. package/theming/prebuilt-themes/qcca/_index.scss +2 -2
  18. package/theming/prebuilt-themes/qcca/base/colors.scss +40 -40
  19. package/theming/prebuilt-themes/qcca/base/palette.scss +50 -50
  20. package/theming/prebuilt-themes/qcca/base/typography/typography.scss +138 -138
  21. package/theming/prebuilt-themes/qcca/components/form-field.scss +5 -5
  22. package/theming/prebuilt-themes/qcca/components/input.scss +6 -6
  23. package/theming/prebuilt-themes/qcca/components/list.scss +24 -24
  24. package/theming/prebuilt-themes/qcca/components/panel.scss +8 -8
  25. package/theming/prebuilt-themes/qcca-theme.css +19 -5
  26. package/theming/prebuilt-themes/qcca-theme.scss +47 -47
  27. package/theming/prebuilt-themes/teal-theme.css +39 -25
  28. package/theming/typography.scss +5 -5
  29. package/theming/utils/_foreground.scss +22 -22
@@ -1,138 +1,138 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
- @use '../palette';
4
- @use '../breakpoints';
5
- @use './typography.utils' as typo-utils;
6
-
7
- // https://design.quebec.ca/bases/polices-caracteres
8
- // https://design.quebec.ca/bases/niveaux-titres
9
- // https://material.angular.io/guide/typography
10
- $typography: mat.define-typography-config(
11
- $font-family: '"Open Sans", sans-serif',
12
- $headline-1: mat.define-typography-level(110px, 110px, 500),
13
- $headline-2: mat.define-typography-level(54px, 54px, 500),
14
- $headline-3: mat.define-typography-level(43px, 46px, 500),
15
- $headline-4: mat.define-typography-level(32px, 38px, 500),
16
- // h1
17
- $headline-5: mat.define-typography-level(48px, 56px, bold),
18
- // h2
19
- $headline-6: mat.define-typography-level(36px, 40px, bold),
20
- // h3
21
- $subtitle-1: mat.define-typography-level(28px, 32px, bold),
22
- // h4
23
- $subtitle-2: mat.define-typography-level(21px, 24px, bold),
24
- $body-1: mat.define-typography-level(16px, 24px, 400),
25
- $body-2: mat.define-typography-level(12px, 18px, 400),
26
- $caption: mat.define-typography-level(12px, 18px, 400),
27
- $button: mat.define-typography-level(13px, 13px, 500)
28
- );
29
-
30
- $typography-mobile: mat.define-typography-config(
31
- // h1
32
- $headline-5: mat.define-typography-level(36px, 40px, bold),
33
- // h2
34
- $headline-6: mat.define-typography-level(28px, 32px, bold),
35
- // h3
36
- $subtitle-1: mat.define-typography-level(25px, 32px, bold)
37
- );
38
-
39
- $font-color: map.get(palette.$palette, 900);
40
-
41
- @mixin set-base-styles {
42
- body {
43
- color: $font-color;
44
- }
45
-
46
- a {
47
- word-break: break-word;
48
- overflow-wrap: break-word;
49
- cursor: pointer;
50
- color: palette.$primary;
51
- text-decoration: underline;
52
- background-color: transparent;
53
- }
54
-
55
- p,
56
- ul,
57
- li,
58
- u,
59
- .text {
60
- color: $font-color;
61
- font-size: 16px;
62
- line-height: 24px;
63
- }
64
-
65
- p {
66
- margin-bottom: 24px;
67
- }
68
-
69
- strong {
70
- font-weight: 600;
71
- }
72
-
73
- h1,
74
- h2,
75
- h3,
76
- h4,
77
- h5,
78
- h6,
79
- .h1,
80
- .h2,
81
- .h3,
82
- .h4,
83
- .h5,
84
- .h6 {
85
- font-family: Roboto, sans-serif !important;
86
- color: $font-color;
87
- }
88
-
89
- h1 {
90
- margin-top: 72px !important;
91
- margin-bottom: 32px !important;
92
-
93
- @include typo-utils.title-border;
94
-
95
- @include breakpoints.media-breakpoint-down(tablet) {
96
- margin-top: 48px !important;
97
- margin-bottom: 16px !important;
98
- }
99
- }
100
-
101
- h2 {
102
- margin-top: 48px !important;
103
- margin-bottom: 16px !important;
104
- }
105
-
106
- h3 {
107
- margin-top: 24px !important;
108
- margin-bottom: 16px !important;
109
- }
110
-
111
- // WORKAROUND, mat-typography area of intersection h4 is using mat-body-1
112
- // https://github.com/angular/components/issues/26351
113
- h4 {
114
- @include typo-utils.title-level-4;
115
- }
116
-
117
- h4 {
118
- margin-top: 24px !important;
119
- margin-bottom: 8px !important;
120
- }
121
-
122
- h5 {
123
- font-size: 19px !important;
124
- line-height: 24px !important;
125
- }
126
-
127
- h6 {
128
- font-size: 16px !important;
129
- line-height: 20px !important;
130
- }
131
-
132
- h5,
133
- h6 {
134
- font-weight: bold !important;
135
- margin-top: 16px !important;
136
- margin-bottom: 0px !important;
137
- }
138
- }
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+ @use '../palette';
4
+ @use '../breakpoints';
5
+ @use './typography.utils' as typo-utils;
6
+
7
+ // https://design.quebec.ca/bases/polices-caracteres
8
+ // https://design.quebec.ca/bases/niveaux-titres
9
+ // https://material.angular.io/guide/typography
10
+ $typography: mat.define-typography-config(
11
+ $font-family: '"Open Sans", sans-serif',
12
+ $headline-1: mat.define-typography-level(110px, 110px, 500),
13
+ $headline-2: mat.define-typography-level(54px, 54px, 500),
14
+ $headline-3: mat.define-typography-level(43px, 46px, 500),
15
+ $headline-4: mat.define-typography-level(32px, 38px, 500),
16
+ // h1
17
+ $headline-5: mat.define-typography-level(48px, 56px, bold),
18
+ // h2
19
+ $headline-6: mat.define-typography-level(36px, 40px, bold),
20
+ // h3
21
+ $subtitle-1: mat.define-typography-level(28px, 32px, bold),
22
+ // h4
23
+ $subtitle-2: mat.define-typography-level(21px, 24px, bold),
24
+ $body-1: mat.define-typography-level(16px, 24px, 400),
25
+ $body-2: mat.define-typography-level(12px, 18px, 400),
26
+ $caption: mat.define-typography-level(12px, 18px, 400),
27
+ $button: mat.define-typography-level(13px, 13px, 500)
28
+ );
29
+
30
+ $typography-mobile: mat.define-typography-config(
31
+ // h1
32
+ $headline-5: mat.define-typography-level(36px, 40px, bold),
33
+ // h2
34
+ $headline-6: mat.define-typography-level(28px, 32px, bold),
35
+ // h3
36
+ $subtitle-1: mat.define-typography-level(25px, 32px, bold)
37
+ );
38
+
39
+ $font-color: map.get(palette.$palette, 900);
40
+
41
+ @mixin set-base-styles {
42
+ body {
43
+ color: $font-color;
44
+ }
45
+
46
+ a {
47
+ word-break: break-word;
48
+ overflow-wrap: break-word;
49
+ cursor: pointer;
50
+ color: palette.$primary;
51
+ text-decoration: underline;
52
+ background-color: transparent;
53
+ }
54
+
55
+ p,
56
+ ul,
57
+ li,
58
+ u,
59
+ .text {
60
+ color: $font-color;
61
+ font-size: 16px;
62
+ line-height: 24px;
63
+ }
64
+
65
+ p {
66
+ margin-bottom: 24px;
67
+ }
68
+
69
+ strong {
70
+ font-weight: 600;
71
+ }
72
+
73
+ h1,
74
+ h2,
75
+ h3,
76
+ h4,
77
+ h5,
78
+ h6,
79
+ .h1,
80
+ .h2,
81
+ .h3,
82
+ .h4,
83
+ .h5,
84
+ .h6 {
85
+ font-family: Roboto, sans-serif !important;
86
+ color: $font-color;
87
+ }
88
+
89
+ h1 {
90
+ margin-top: 72px !important;
91
+ margin-bottom: 32px !important;
92
+
93
+ @include typo-utils.title-border;
94
+
95
+ @include breakpoints.media-breakpoint-down(tablet) {
96
+ margin-top: 48px !important;
97
+ margin-bottom: 16px !important;
98
+ }
99
+ }
100
+
101
+ h2 {
102
+ margin-top: 48px !important;
103
+ margin-bottom: 16px !important;
104
+ }
105
+
106
+ h3 {
107
+ margin-top: 24px !important;
108
+ margin-bottom: 16px !important;
109
+ }
110
+
111
+ // WORKAROUND, mat-typography area of intersection h4 is using mat-body-1
112
+ // https://github.com/angular/components/issues/26351
113
+ h4 {
114
+ @include typo-utils.title-level-4;
115
+ }
116
+
117
+ h4 {
118
+ margin-top: 24px !important;
119
+ margin-bottom: 8px !important;
120
+ }
121
+
122
+ h5 {
123
+ font-size: 19px !important;
124
+ line-height: 24px !important;
125
+ }
126
+
127
+ h6 {
128
+ font-size: 16px !important;
129
+ line-height: 20px !important;
130
+ }
131
+
132
+ h5,
133
+ h6 {
134
+ font-weight: bold !important;
135
+ margin-top: 16px !important;
136
+ margin-bottom: 0px !important;
137
+ }
138
+ }
@@ -1,5 +1,5 @@
1
- .mat-mdc-text-field-wrapper,
2
- .mdc-notched-outline__leading,
3
- .mdc-notched-outline__trailing {
4
- border-radius: 0 !important;
5
- }
1
+ .mat-mdc-text-field-wrapper,
2
+ .mdc-notched-outline__leading,
3
+ .mdc-notched-outline__trailing {
4
+ border-radius: 0 !important;
5
+ }
@@ -1,6 +1,6 @@
1
- @use 'sass:map';
2
- @use '../base';
3
-
4
- .mat-mdc-input-element {
5
- color: base.colors-get(grey, medium) !important;
6
- }
1
+ @use 'sass:map';
2
+ @use '../base';
3
+
4
+ .mat-mdc-input-element {
5
+ color: base.colors-get(grey, medium) !important;
6
+ }
@@ -1,24 +1,24 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
- @use '../base';
4
-
5
- // TODO rework this style to be more generic
6
-
7
- igo-search-results-item {
8
- .mdc-list-item__primary-text {
9
- white-space: normal;
10
- overflow: hidden;
11
- text-overflow: ellipsis;
12
- max-height: unset !important;
13
- line-height: 18px !important;
14
- }
15
- }
16
-
17
- igo-list [igolistitem][color='accent'].igo-list-item-selected > mat-list-item {
18
- background-color: map.get(base.$palette, 400);
19
-
20
- h4,
21
- small {
22
- color: map.get(base.$palette, contrast, 500) !important;
23
- }
24
- }
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+ @use '../base';
4
+
5
+ // TODO rework this style to be more generic
6
+
7
+ igo-search-results-item {
8
+ .mdc-list-item__primary-text {
9
+ white-space: normal;
10
+ overflow: hidden;
11
+ text-overflow: ellipsis;
12
+ max-height: unset !important;
13
+ line-height: 18px !important;
14
+ }
15
+ }
16
+
17
+ igo-list [igolistitem][color='accent'].igo-list-item-selected > mat-list-item {
18
+ background-color: map.get(base.$palette, 400);
19
+
20
+ h4,
21
+ small {
22
+ color: map.get(base.$palette, contrast, 500) !important;
23
+ }
24
+ }
@@ -1,8 +1,8 @@
1
- @use 'sass:map';
2
- @use '../base';
3
-
4
- .igo-panel-header,
5
- .igo-panel-header button,
6
- .igo-panel-title {
7
- color: map.get(base.$palette, contrast, 500) !important;
8
- }
1
+ @use 'sass:map';
2
+ @use '../base';
3
+
4
+ .igo-panel-header,
5
+ .igo-panel-header button,
6
+ .igo-panel-title {
7
+ color: map.get(base.$palette, contrast, 500) !important;
8
+ }
@@ -1,5 +1,5 @@
1
1
  h4 {
2
- font-size: 16px !important;
2
+ font-size: 14px !important;
3
3
  line-height: 22px !important;
4
4
  font-weight: 500 !important;
5
5
  }
@@ -2951,6 +2951,11 @@ igo-layer-legend img:after {
2951
2951
  border-top-color: #095797;
2952
2952
  }
2953
2953
 
2954
+ igo-layer-list-tool mat-form-field .mat-mdc-text-field-wrapper,
2955
+ igo-layer-list-tool mat-form-field .mat-mdc-form-field-focus-overlay {
2956
+ background-color: white !important;
2957
+ }
2958
+
2954
2959
  igo-layer-list-tool .mat-mdc-icon-button.mat-mdc-button-base {
2955
2960
  --mdc-icon-button-state-layer-size: 40px;
2956
2961
  width: var(--mdc-icon-button-state-layer-size);
@@ -3042,12 +3047,10 @@ igo-menu-button > button#menu-button.menu-button-white-background {
3042
3047
  font-size: 28px;
3043
3048
  }
3044
3049
 
3045
- igo-search-bar mat-form-field .mat-mdc-text-field-wrapper {
3050
+ igo-search-bar mat-form-field .mat-mdc-text-field-wrapper,
3051
+ igo-search-bar mat-form-field .mat-mdc-form-field-focus-overlay {
3046
3052
  background-color: white !important;
3047
3053
  }
3048
- igo-search-bar mat-form-field .mdc-line-ripple {
3049
- display: none;
3050
- }
3051
3054
 
3052
3055
  igo-search-bar .mat-mdc-form-field-infix {
3053
3056
  min-height: 48px;
@@ -3077,6 +3080,17 @@ igo-search-bar .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-m
3077
3080
  display: none;
3078
3081
  }
3079
3082
 
3083
+ igo-search-bar mat-form-field .mdc-line-ripple {
3084
+ display: none;
3085
+ }
3086
+
3087
+ igo-search-results-item .mdc-list-item--with-leading-icon:hover .mdc-list-item__start {
3088
+ color: black;
3089
+ }
3090
+ igo-search-results-item .mdc-list-item--with-leading-icon .mdc-list-item__start {
3091
+ color: rgba(0, 0, 0, 0.87);
3092
+ }
3093
+
3080
3094
  igo-confirmation-popup-component h1 {
3081
3095
  font-size: 32px;
3082
3096
  font-family: Roboto, "Helvetica Neue", sans-serif;
@@ -1,47 +1,47 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
- @use '../../' as igo;
4
- @use './qcca';
5
-
6
- // https://design.quebec.ca/a-propos-systeme-design
7
- $primary: mat.define-palette(qcca.$palette, 500, 400, 700);
8
- $accent: mat.define-palette(qcca.$palette, 400, 100, 700);
9
- $warn: mat.define-palette(qcca.$palette, 800);
10
- $success: mat.define-palette(qcca.$palette, 900);
11
- $background: mat.define-palette(qcca.$palette, 100, 100, 100);
12
- $foreground: mat.define-palette(qcca.$palette, 700, 700, 700);
13
-
14
- $theme: mat.define-light-theme(
15
- (
16
- color: (
17
- primary: $primary,
18
- accent: $accent,
19
- warn: $warn,
20
- success: $success,
21
- background: $background
22
- ),
23
- typography: qcca.$typo-typography,
24
- density: 0
25
- )
26
- );
27
-
28
- $theme: map.merge(
29
- $theme,
30
- (
31
- foreground:
32
- igo.theme-foreground(mat.define-palette(qcca.$palette, 500, 100, 700))
33
- )
34
- );
35
-
36
- @include mat.core();
37
- @include mat.typography-hierarchy(qcca.$typo-typography);
38
- @include mat.all-component-themes($theme);
39
-
40
- @include igo.all-component-themes($theme);
41
- @include qcca.all-component-themes($theme);
42
-
43
- @media (max-width: 1200px) {
44
- @include mat.typography-hierarchy(qcca.$typo-typography-mobile);
45
- }
46
-
47
- @include qcca.typo-set-base-styles();
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+ @use '../../' as igo;
4
+ @use './qcca';
5
+
6
+ // https://design.quebec.ca/a-propos-systeme-design
7
+ $primary: mat.define-palette(qcca.$palette, 500, 400, 700);
8
+ $accent: mat.define-palette(qcca.$palette, 400, 100, 700);
9
+ $warn: mat.define-palette(qcca.$palette, 800);
10
+ $success: mat.define-palette(qcca.$palette, 900);
11
+ $background: mat.define-palette(qcca.$palette, 100, 100, 100);
12
+ $foreground: mat.define-palette(qcca.$palette, 700, 700, 700);
13
+
14
+ $theme: mat.define-light-theme(
15
+ (
16
+ color: (
17
+ primary: $primary,
18
+ accent: $accent,
19
+ warn: $warn,
20
+ success: $success,
21
+ background: $background
22
+ ),
23
+ typography: qcca.$typo-typography,
24
+ density: 0
25
+ )
26
+ );
27
+
28
+ $theme: map.merge(
29
+ $theme,
30
+ (
31
+ foreground:
32
+ igo.theme-foreground(mat.define-palette(qcca.$palette, 500, 100, 700))
33
+ )
34
+ );
35
+
36
+ @include mat.core();
37
+ @include mat.typography-hierarchy(qcca.$typo-typography);
38
+ @include mat.all-component-themes($theme);
39
+
40
+ @include igo.all-component-themes($theme);
41
+ @include qcca.all-component-themes($theme);
42
+
43
+ @media (max-width: 1200px) {
44
+ @include mat.typography-hierarchy(qcca.$typo-typography-mobile);
45
+ }
46
+
47
+ @include qcca.typo-set-base-styles();