@igo2/core 16.0.0-rc.8 → 16.0.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 (49) hide show
  1. package/core-theme.scss +5 -5
  2. package/esm2022/lib/compression/compressedData.interface.mjs +1 -1
  3. package/esm2022/lib/config/version.mjs +3 -3
  4. package/esm2022/lib/gesture/gesture.provider.mjs +1 -1
  5. package/esm2022/lib/network/network.interfaces.mjs +1 -1
  6. package/esm2022/lib/regex/regex.interface.mjs +1 -1
  7. package/esm2022/lib/storage/index.mjs +1 -1
  8. package/fesm2022/igo2-core.mjs +2 -2
  9. package/fesm2022/igo2-core.mjs.map +1 -1
  10. package/lib/message/message.theming.scss +26 -26
  11. package/locale/en.core.json +28 -28
  12. package/locale/fr.core.json +28 -28
  13. package/package.json +2 -2
  14. package/packages.import.scss +4 -4
  15. package/style/all-style.scss +3 -3
  16. package/style/layout.scss +163 -163
  17. package/style/partial/core-utils.scss +5 -5
  18. package/style/partial/core.variables.scss +5 -5
  19. package/style/style.scss +19 -19
  20. package/theming/all-theme.scss +14 -14
  21. package/theming/material-theme-override.scss +39 -39
  22. package/theming/prebuilt-themes/blue-theme.scss +34 -34
  23. package/theming/prebuilt-themes/bluedark-theme.scss +67 -67
  24. package/theming/prebuilt-themes/bluedq-theme.scss +66 -66
  25. package/theming/prebuilt-themes/bluegrey-theme.scss +25 -25
  26. package/theming/prebuilt-themes/dark-theme.scss +25 -25
  27. package/theming/prebuilt-themes/deeppurple-theme.scss +25 -25
  28. package/theming/prebuilt-themes/indigo-theme.scss +25 -25
  29. package/theming/prebuilt-themes/orange-theme.scss +25 -25
  30. package/theming/prebuilt-themes/qcca/_index.scss +2 -2
  31. package/theming/prebuilt-themes/qcca/base/_index.scss +4 -4
  32. package/theming/prebuilt-themes/qcca/base/breakpoints.scss +57 -57
  33. package/theming/prebuilt-themes/qcca/base/colors.scss +40 -40
  34. package/theming/prebuilt-themes/qcca/base/palette.scss +50 -50
  35. package/theming/prebuilt-themes/qcca/base/typography/_index.scss +2 -2
  36. package/theming/prebuilt-themes/qcca/base/typography/typography.scss +138 -138
  37. package/theming/prebuilt-themes/qcca/base/typography/typography.utils.scss +18 -18
  38. package/theming/prebuilt-themes/qcca/components/_index.theme.scss +5 -5
  39. package/theming/prebuilt-themes/qcca/components/button.scss +24 -24
  40. package/theming/prebuilt-themes/qcca/components/dialog.scss +36 -36
  41. package/theming/prebuilt-themes/qcca/components/form-field.scss +5 -5
  42. package/theming/prebuilt-themes/qcca/components/input.scss +6 -6
  43. package/theming/prebuilt-themes/qcca/components/list.scss +24 -24
  44. package/theming/prebuilt-themes/qcca/components/panel.scss +8 -8
  45. package/theming/prebuilt-themes/qcca/components/search-bar.scss +41 -41
  46. package/theming/prebuilt-themes/qcca/components/search-bar.theme.scss +29 -29
  47. package/theming/prebuilt-themes/qcca-theme.scss +47 -47
  48. package/theming/prebuilt-themes/teal-theme.scss +25 -25
  49. package/theming/utils/_foreground.scss +22 -22
@@ -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
+ }
@@ -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,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
+ }
@@ -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();
@@ -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,22 +1,22 @@
1
- @use '@angular/material' as mat;
2
-
3
- @function theme-foreground($palette) {
4
- $color: mat.get-color-from-palette($palette, 500);
5
- @return (
6
- base: $color,
7
- divider: rgba($color, 0.12),
8
- dividers: rgba($color, 0.12),
9
- disabled: rgba($color, 0.38),
10
- disabled-button: rgba($color, 0.26),
11
- disabled-text: rgba($color, 0.38),
12
- elevation: $color,
13
- hint-text: rgba($color, 0.38),
14
- secondary-text: rgba($color, 0.54),
15
- icon: rgba($color, 0.54),
16
- icons: rgba($color, 0.54),
17
- text: rgba($color, 0.87),
18
- slider-min: rgba($color, 0.87),
19
- slider-off: rgba($color, 0.26),
20
- slider-off-active: rgba($color, 0.38)
21
- );
22
- }
1
+ @use '@angular/material' as mat;
2
+
3
+ @function theme-foreground($palette) {
4
+ $color: mat.get-color-from-palette($palette, 500);
5
+ @return (
6
+ base: $color,
7
+ divider: rgba($color, 0.12),
8
+ dividers: rgba($color, 0.12),
9
+ disabled: rgba($color, 0.38),
10
+ disabled-button: rgba($color, 0.26),
11
+ disabled-text: rgba($color, 0.38),
12
+ elevation: $color,
13
+ hint-text: rgba($color, 0.38),
14
+ secondary-text: rgba($color, 0.54),
15
+ icon: rgba($color, 0.54),
16
+ icons: rgba($color, 0.54),
17
+ text: rgba($color, 0.87),
18
+ slider-min: rgba($color, 0.87),
19
+ slider-off: rgba($color, 0.26),
20
+ slider-off-active: rgba($color, 0.38)
21
+ );
22
+ }