@igo2/core 16.2.0 → 16.3.0

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 (90) hide show
  1. package/esm2022/lib/activity/activity.interceptor.mjs +1 -1
  2. package/esm2022/lib/activity/activity.module.mjs +1 -1
  3. package/esm2022/lib/activity/activity.service.mjs +1 -1
  4. package/esm2022/lib/analytics/shared/analytics.interface.mjs +1 -1
  5. package/esm2022/lib/analytics/shared/analytics.service.mjs +1 -1
  6. package/esm2022/lib/compression/compressedData.interface.mjs +1 -1
  7. package/esm2022/lib/compression/compression.service.mjs +1 -1
  8. package/esm2022/lib/config/config-deprecated.mjs +1 -1
  9. package/esm2022/lib/config/config.module.mjs +1 -1
  10. package/esm2022/lib/config/version.mjs +3 -3
  11. package/esm2022/lib/environment/environment.interface.mjs +1 -1
  12. package/esm2022/lib/environment/index.mjs +1 -1
  13. package/esm2022/lib/gesture/gesture.module.mjs +1 -1
  14. package/esm2022/lib/gesture/gesture.provider.mjs +1 -1
  15. package/esm2022/lib/language/shared/language.service.mjs +1 -1
  16. package/esm2022/lib/media/media.service.mjs +1 -1
  17. package/esm2022/lib/message/shared/index.mjs +1 -1
  18. package/esm2022/lib/message/shared/message.interface.mjs +1 -1
  19. package/esm2022/lib/monitoring/index.mjs +1 -1
  20. package/esm2022/lib/monitoring/monitoring.provider.mjs +1 -1
  21. package/esm2022/lib/monitoring/sentry/index.mjs +1 -1
  22. package/esm2022/lib/monitoring/sentry/sentry.mjs +1 -1
  23. package/esm2022/lib/monitoring/sentry/sentry.provider.mjs +1 -1
  24. package/esm2022/lib/monitoring/shared/index.mjs +1 -1
  25. package/esm2022/lib/monitoring/shared/monitoring.interface.mjs +1 -1
  26. package/esm2022/lib/network/network.interfaces.mjs +1 -1
  27. package/esm2022/lib/network/network.service.mjs +1 -1
  28. package/esm2022/lib/regex/regex.interface.mjs +1 -1
  29. package/esm2022/lib/regex/regex.service.mjs +1 -1
  30. package/esm2022/lib/request/error.interceptor.mjs +1 -1
  31. package/esm2022/lib/request/error.module.mjs +1 -1
  32. package/esm2022/lib/request/logging.interceptor.mjs +2 -2
  33. package/esm2022/lib/request/logging.module.mjs +1 -1
  34. package/esm2022/lib/route/route.service.mjs +1 -1
  35. package/esm2022/lib/storage/index.mjs +1 -1
  36. package/esm2022/lib/storage/storage.mjs +1 -1
  37. package/esm2022/lib/storage/storage.service.mjs +1 -1
  38. package/esm2022/lib/user/index.mjs +1 -1
  39. package/esm2022/lib/user/user.interface.mjs +1 -1
  40. package/fesm2022/igo2-core.mjs +3 -3
  41. package/fesm2022/igo2-core.mjs.map +1 -1
  42. package/locale/en.core.json +28 -28
  43. package/locale/en.json +1 -1
  44. package/locale/fr.core.json +28 -28
  45. package/locale/fr.json +1 -1
  46. package/package.json +7 -4
  47. package/src/core-theme.scss +5 -5
  48. package/src/index.scss +6 -6
  49. package/src/lib/message/message.theming.scss +26 -26
  50. package/src/packages.import.scss +4 -0
  51. package/src/style/all-style.scss +3 -3
  52. package/src/style/layout.scss +163 -163
  53. package/src/style/partial/core-utils.scss +5 -5
  54. package/src/style/partial/core.variables.scss +5 -5
  55. package/src/style/style.scss +19 -19
  56. package/src/theming/all-theme.scss +14 -14
  57. package/src/theming/material-theme-override.scss +39 -39
  58. package/src/theming/prebuilt-themes/blue-theme.scss +27 -27
  59. package/src/theming/prebuilt-themes/bluedark-theme.scss +60 -60
  60. package/src/theming/prebuilt-themes/bluedq-theme.scss +60 -60
  61. package/src/theming/prebuilt-themes/bluegrey-theme.scss +26 -26
  62. package/src/theming/prebuilt-themes/dark-theme.scss +26 -26
  63. package/src/theming/prebuilt-themes/deeppurple-theme.scss +26 -26
  64. package/src/theming/prebuilt-themes/indigo-theme.scss +26 -26
  65. package/src/theming/prebuilt-themes/orange-theme.scss +26 -26
  66. package/src/theming/prebuilt-themes/teal-theme.scss +26 -26
  67. package/src/theming/typography.scss +28 -28
  68. package/src/theming/utils/_foreground.scss +22 -22
  69. package/packages.import.scss +0 -4
  70. package/src/theming/prebuilt-themes/qcca/_index.scss +0 -2
  71. package/src/theming/prebuilt-themes/qcca/base/_index.scss +0 -4
  72. package/src/theming/prebuilt-themes/qcca/base/breakpoints.scss +0 -57
  73. package/src/theming/prebuilt-themes/qcca/base/colors.scss +0 -40
  74. package/src/theming/prebuilt-themes/qcca/base/palette.scss +0 -50
  75. package/src/theming/prebuilt-themes/qcca/base/typography/_index.scss +0 -2
  76. package/src/theming/prebuilt-themes/qcca/base/typography/typography.scss +0 -138
  77. package/src/theming/prebuilt-themes/qcca/base/typography/typography.utils.scss +0 -18
  78. package/src/theming/prebuilt-themes/qcca/components/_index.scss +0 -10
  79. package/src/theming/prebuilt-themes/qcca/components/_index.theme.scss +0 -5
  80. package/src/theming/prebuilt-themes/qcca/components/button.scss +0 -24
  81. package/src/theming/prebuilt-themes/qcca/components/dialog.scss +0 -36
  82. package/src/theming/prebuilt-themes/qcca/components/form-field.scss +0 -5
  83. package/src/theming/prebuilt-themes/qcca/components/input.scss +0 -6
  84. package/src/theming/prebuilt-themes/qcca/components/list.scss +0 -24
  85. package/src/theming/prebuilt-themes/qcca/components/panel.scss +0 -8
  86. package/src/theming/prebuilt-themes/qcca/components/scrollbar.scss +0 -15
  87. package/src/theming/prebuilt-themes/qcca/components/search-bar.scss +0 -41
  88. package/src/theming/prebuilt-themes/qcca/components/search-bar.theme.scss +0 -29
  89. package/src/theming/prebuilt-themes/qcca-theme.scss +0 -49
  90. package/theming/prebuilt-themes/qcca-theme.css +0 -3404
@@ -1,50 +0,0 @@
1
- @use 'sass:map';
2
- @use 'sass:color';
3
- @use './colors';
4
-
5
- $blue-light: colors.get(blue, light);
6
- $blue-light-2: colors.get(blue, light-2);
7
- $blue-normal: colors.get(blue, normal);
8
- $blue-normal-piv: colors.get(blue, normal-piv);
9
- $blue-medium: colors.get(blue, medium);
10
- $blue-dark: colors.get(blue, dark);
11
-
12
- // Design Quebec colors
13
- $primary: $blue-normal-piv;
14
- $accent: colors.get(red, pink);
15
-
16
- $dark-primary-text: $blue-dark;
17
- $light-primary-text: white;
18
-
19
- $palette: (
20
- 50: $blue-light,
21
- 100: color.adjust($blue-light-2, $lightness: 20%),
22
- 200: color.adjust($blue-light-2, $lightness: 10%),
23
- 300: $blue-light-2,
24
- 400: $blue-normal,
25
- 500: $primary,
26
- 600: color.adjust($primary, $lightness: -10%),
27
- 700: $blue-medium,
28
- 800: color.adjust($blue-medium, $lightness: -10%),
29
- 900: $blue-dark,
30
- A100: $blue-normal,
31
- A200: color.adjust($blue-normal, $lightness: 10%),
32
- A400: colors.get(grey, light-2),
33
- A700: colors.get(grey, light),
34
- contrast: (
35
- 50: $dark-primary-text,
36
- 100: $dark-primary-text,
37
- 200: $dark-primary-text,
38
- 300: $dark-primary-text,
39
- 400: $dark-primary-text,
40
- 500: $light-primary-text,
41
- 600: $light-primary-text,
42
- 700: $light-primary-text,
43
- 800: $light-primary-text,
44
- 900: $light-primary-text,
45
- A100: $dark-primary-text,
46
- A200: $light-primary-text,
47
- A400: $light-primary-text,
48
- A700: $light-primary-text
49
- )
50
- );
@@ -1,2 +0,0 @@
1
- @forward './typography' as typo-*;
2
- @forward './typography.utils';
@@ -1,138 +0,0 @@
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,18 +0,0 @@
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,10 +0,0 @@
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 +0,0 @@
1
- @use './search-bar.theme' as search-bar;
2
-
3
- @mixin themes($theme) {
4
- @include search-bar.theme($theme);
5
- }
@@ -1,24 +0,0 @@
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 +0,0 @@
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,5 +0,0 @@
1
- .mat-mdc-text-field-wrapper,
2
- .mdc-notched-outline__leading,
3
- .mdc-notched-outline__trailing {
4
- border-radius: 0 !important;
5
- }
@@ -1,6 +0,0 @@
1
- @use 'sass:map';
2
- @use '../base';
3
-
4
- .mat-mdc-input-element {
5
- color: base.colors-get(grey, medium) !important;
6
- }
@@ -1,24 +0,0 @@
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 +0,0 @@
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,15 +0,0 @@
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 +0,0 @@
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 +0,0 @@
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,49 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
- @use '../all-theme';
4
- @use '../../' as igo;
5
-
6
- @use './qcca';
7
-
8
- // https://design.quebec.ca/a-propos-systeme-design
9
- $primary: mat.define-palette(qcca.$palette, 500, 400, 700);
10
- $accent: mat.define-palette(qcca.$palette, 400, 100, 700);
11
- $warn: mat.define-palette(qcca.$palette, 800);
12
- $success: mat.define-palette(qcca.$palette, 900);
13
- $background: mat.define-palette(qcca.$palette, 100, 100, 100);
14
- $foreground: mat.define-palette(qcca.$palette, 700, 700, 700);
15
-
16
- $theme: mat.define-light-theme(
17
- (
18
- color: (
19
- primary: $primary,
20
- accent: $accent,
21
- warn: $warn,
22
- success: $success,
23
- background: $background
24
- ),
25
- typography: qcca.$typo-typography,
26
- density: 0
27
- )
28
- );
29
-
30
- $theme: map.merge(
31
- $theme,
32
- (
33
- foreground:
34
- igo.theme-foreground(mat.define-palette(qcca.$palette, 500, 100, 700))
35
- )
36
- );
37
-
38
- @include mat.core();
39
- @include mat.typography-hierarchy(qcca.$typo-typography);
40
- @include mat.all-component-themes($theme);
41
-
42
- @include all-theme.all-component-themes($theme);
43
- @include qcca.all-component-themes($theme);
44
-
45
- @media (max-width: 1200px) {
46
- @include mat.typography-hierarchy(qcca.$typo-typography-mobile);
47
- }
48
-
49
- @include qcca.typo-set-base-styles();