@igo2/common 19.0.0-next.29 → 19.0.0-next.30

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 (41) hide show
  1. package/action/src/action.theming.scss +5 -1
  2. package/action/src/actionbar/actionbar-item.theming.scss +1 -13
  3. package/entity/src/entity-selector/entity-selector.theming.scss +1 -1
  4. package/entity/src/entity-table/entity-table.theming.scss +1 -17
  5. package/entity/src/entity.theming.scss +6 -1
  6. package/fesm2022/igo2-common-action.mjs +4 -4
  7. package/fesm2022/igo2-common-action.mjs.map +1 -1
  8. package/fesm2022/igo2-common-confirm-dialog.mjs +2 -2
  9. package/fesm2022/igo2-common-confirm-dialog.mjs.map +1 -1
  10. package/fesm2022/igo2-common-custom-html.mjs +2 -2
  11. package/fesm2022/igo2-common-entity.mjs +2 -2
  12. package/fesm2022/igo2-common-entity.mjs.map +1 -1
  13. package/fesm2022/igo2-common-home-button.mjs +2 -2
  14. package/fesm2022/igo2-common-home-button.mjs.map +1 -1
  15. package/fesm2022/igo2-common-icon.mjs +2 -2
  16. package/fesm2022/igo2-common-icon.mjs.map +1 -1
  17. package/fesm2022/igo2-common-interactive-tour.mjs +6 -12
  18. package/fesm2022/igo2-common-interactive-tour.mjs.map +1 -1
  19. package/fesm2022/igo2-common-json-dialog.mjs +2 -2
  20. package/fesm2022/igo2-common-json-dialog.mjs.map +1 -1
  21. package/fesm2022/igo2-common-list.mjs +2 -2
  22. package/fesm2022/igo2-common-list.mjs.map +1 -1
  23. package/fesm2022/igo2-common-panel.mjs +2 -2
  24. package/fesm2022/igo2-common-panel.mjs.map +1 -1
  25. package/fesm2022/igo2-common-resizable-bar.mjs +2 -2
  26. package/fesm2022/igo2-common-resizable-bar.mjs.map +1 -1
  27. package/fesm2022/igo2-common-tool.mjs +2 -2
  28. package/fesm2022/igo2-common-tool.mjs.map +1 -1
  29. package/interactive-tour/interactive-tour.service.d.ts +0 -1
  30. package/package.json +4 -4
  31. package/panel/src/panel.theming.scss +1 -11
  32. package/src/common.theme.scss +18 -0
  33. package/src/style/partial/common-utils.scss +2 -0
  34. package/tool/src/toolbox/toolbox.theming.scss +1 -84
  35. package/action/src/actionbar/actionbar.theming.scss +0 -22
  36. package/collapsible/src/collapsible.theming.scss +0 -22
  37. package/home-button/src/home-button.theming.scss +0 -18
  38. package/interactive-tour/src/interactive-tour.theming.scss +0 -32
  39. package/list/src/list.theming.scss +0 -58
  40. package/resizable-bar/src/resizable-bar.theme.scss +0 -23
  41. package/src/common-theme.scss +0 -22
@@ -2,94 +2,11 @@
2
2
  @use '@angular/material' as mat;
3
3
 
4
4
  @mixin igo-toolbox-theming($theme) {
5
- @include color($theme);
6
5
  @include density($theme);
7
6
  }
8
7
 
9
- @mixin color($theme) {
10
- $primary: map.get($theme, primary);
11
- $accent: map.get($theme, accent);
12
- $foreground: map.get($theme, foreground);
13
- $darker-contrast: mat.m2-get-color-from-palette($primary, darker-contrast);
14
- $lighter-contrast: mat.m2-get-color-from-palette($primary, lighter-contrast);
15
-
16
- igo-toolbox {
17
- &.color-primary > igo-actionbar:not(.with-title) {
18
- box-shadow: unset;
19
- background-color: mat.m2-get-color-from-palette($primary);
20
- #lowChevron,
21
- #topChevron {
22
- background-color: mat.m2-get-color-from-palette($primary);
23
- color: white;
24
- }
25
- }
26
-
27
- &.color-grey > igo-actionbar:not(.with-title) {
28
- box-shadow: unset;
29
- background-color: #737475;
30
- #lowChevron,
31
- #topChevron {
32
- background-color: #737475;
33
- color: white;
34
- }
35
- }
36
-
37
- &.color-primary,
38
- &.color-grey {
39
- & > igo-actionbar:not(.with-title) mat-list.mat-mdc-list-base {
40
- .mat-mdc-list-item.mdc-list-item--with-leading-avatar {
41
- color: white;
42
- &:hover {
43
- color: black;
44
- }
45
-
46
- &.tool-activated,
47
- &.children-tool-activated {
48
- background-color: white;
49
- color: black;
50
- }
51
- }
52
- }
53
- }
54
-
55
- > igo-actionbar {
56
- &:not(.with-title) {
57
- > mat-list {
58
- & > #lowChevron,
59
- & > #topChevron {
60
- &:hover {
61
- background-color: mat.m2-get-color-from-palette($accent, lighter);
62
- color: black;
63
- }
64
- }
65
-
66
- mat-list-item {
67
- color: $lighter-contrast;
68
- }
69
- }
70
- }
71
-
72
- mat-list.mat-mdc-list-base igo-actionbar-item mat-list-item {
73
- &:hover {
74
- background-color: mat.m2-get-color-from-palette($accent, lighter);
75
- }
76
-
77
- &.tool-activated,
78
- &.children-tool-activated {
79
- color: $lighter-contrast;
80
- background-color: $darker-contrast;
81
-
82
- button {
83
- cursor: default;
84
- }
85
- }
86
- }
87
- }
88
- }
89
- }
90
-
91
8
  @mixin density($theme) {
92
- $density: mat.m2-get-density-config($theme);
9
+ $density: mat.get-theme-density($theme);
93
10
  $theme: map.merge(
94
11
  $theme,
95
12
  (
@@ -1,22 +0,0 @@
1
- @mixin igo-actionbar-theming($theme) {
2
- .igo-actionbar-overlay {
3
- min-width: inherit !important;
4
- padding-top: 0;
5
- padding-bottom: 0;
6
-
7
- .mat-mdc-list {
8
- padding-top: 0;
9
- }
10
- .mat-mdc-list
11
- .mat-mdc-list-item.mdc-list-item--with-leading-icon
12
- .mdc-list-item__content
13
- .mdc-list-item__primary-text {
14
- padding-right: 16px;
15
- }
16
-
17
- .mat-mdc-menu-content:not(:empty) {
18
- padding-top: 0;
19
- padding-bottom: 0;
20
- }
21
- }
22
- }
@@ -1,22 +0,0 @@
1
- @mixin igo-collapsible-theming($theme) {
2
- mat-icon[igocollapse] {
3
- &:hover {
4
- cursor: pointer;
5
- }
6
-
7
- &.igo-chevron {
8
- width: auto !important;
9
- transform: rotateZ(0deg);
10
- transition: 300ms ease-in-out;
11
-
12
- &.collapsed {
13
- transform: rotateZ(180deg);
14
- transition: 300ms ease-in-out;
15
- }
16
- }
17
- }
18
-
19
- div.igo-collapsed {
20
- display: none !important;
21
- }
22
- }
@@ -1,18 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin theme($theme) {
5
- $primary: map.get($theme, primary);
6
- $accent: map.get($theme, accent);
7
- $foreground: map.get($theme, foreground);
8
-
9
- igo-home-button > #homeButton {
10
- background-color: mat.m2-get-color-from-palette($primary);
11
- color: mat.m2-get-color-from-palette($primary, default-contrast);
12
-
13
- &:hover {
14
- background-color: mat.m2-get-color-from-palette($accent, lighter);
15
- color: black;
16
- }
17
- }
18
- }
@@ -1,32 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin theme($theme) {
5
- @include color($theme);
6
- }
7
-
8
- @mixin color($theme) {
9
- $primary: map.get($theme, primary);
10
- $accent: map.get($theme, accent);
11
- $warn: map.get($theme, warn);
12
-
13
- igo-interactive-tour {
14
- button {
15
- &.tour-button-tool-icon {
16
- color: mat.m2-get-color-from-palette($primary, darker-contrast);
17
-
18
- &:hover {
19
- background-color: mat.m2-get-color-from-palette(
20
- $primary,
21
- default-contrast
22
- );
23
- color: mat.m2-get-color-from-palette($primary);
24
- }
25
- }
26
- }
27
-
28
- .mat-primary .mat-mdc-icon-button {
29
- color: white;
30
- }
31
- }
32
- }
@@ -1,58 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin igo-list-theming($theme) {
5
- $primary: map.get($theme, primary);
6
- $accent: map.get($theme, accent);
7
- @include density($theme);
8
-
9
- igo-list {
10
- [igolistitem] {
11
- &[color='primary'] {
12
- &.igo-list-item-selected > mat-list-item {
13
- background-color: mat.m2-get-color-from-palette($primary);
14
- color: mat.m2-get-color-from-palette($primary, default-contrast);
15
- }
16
- &:not(.igo-list-item-disabled):hover > mat-list-item,
17
- &.igo-list-item-focused > mat-list-item {
18
- background-color: mat.m2-get-color-from-palette($primary, lighter);
19
- color: mat.m2-get-color-from-palette($primary, default-contrast);
20
- }
21
- }
22
-
23
- &[color='accent'] {
24
- &.igo-list-item-selected > mat-list-item {
25
- background-color: mat.m2-get-color-from-palette($accent);
26
- color: mat.m2-get-color-from-palette($accent, default-contrast);
27
- }
28
-
29
- &:not(.igo-list-item-disabled):hover > mat-list-item,
30
- &.igo-list-item-focused > mat-list-item {
31
- background-color: mat.m2-get-color-from-palette($accent, lighter);
32
- color: mat.m2-get-color-from-palette($accent, default-contrast);
33
- }
34
- }
35
-
36
- &.igo-list-item-disabled > mat-list-item {
37
- color: rgba(0, 0, 0, 0.38);
38
- }
39
- }
40
- }
41
- }
42
-
43
- @mixin density($theme) {
44
- $density: mat.m2-get-density-config($theme);
45
-
46
- $theme: map.merge(
47
- $theme,
48
- (
49
- density: $density
50
- )
51
- );
52
-
53
- igo-list {
54
- @include mat.icon-density($theme);
55
- @include mat.icon-button-density($theme);
56
- @include mat.list-density($theme);
57
- }
58
- }
@@ -1,23 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin theme($theme) {
5
- @include color($theme);
6
- }
7
-
8
- @mixin color($theme) {
9
- $primary: map.get($theme, primary);
10
- $accent: map.get($theme, accent);
11
- $accent-color: mat.m2-get-color-from-palette($accent);
12
-
13
- igo-resizable-bar {
14
- .expand-btn {
15
- color: mat.m2-get-color-from-palette($primary);
16
- background-color: white;
17
- }
18
-
19
- .resize-item {
20
- background-color: $accent-color;
21
- }
22
- }
23
- }
@@ -1,22 +0,0 @@
1
- @use '../action/src/action.theming.scss' as action;
2
- @use '../collapsible/src/collapsible.theming.scss' as collapsible;
3
- @use '../entity/src/entity.theming.scss' as entity;
4
- @use '../list/src/list.theming.scss' as list;
5
- @use '../panel/src/panel.theming.scss' as panel;
6
- @use '../resizable-bar/src/resizable-bar.theme.scss' as resizable-bar;
7
-
8
- @use '../tool/src/tool.theming.scss' as tool;
9
- @use '../interactive-tour/src/interactive-tour.theming.scss' as interactive-tour;
10
- @use '../home-button/src/home-button.theming.scss' as home-button;
11
-
12
- @mixin common-component-themes($theme) {
13
- @include action.igo-action-theming($theme);
14
- @include collapsible.igo-collapsible-theming($theme);
15
- @include entity.igo-entity-theming($theme);
16
- @include list.igo-list-theming($theme);
17
- @include resizable-bar.theme($theme);
18
- @include panel.theme($theme);
19
- @include tool.igo-tool-theming($theme);
20
- @include interactive-tour.theme($theme);
21
- @include home-button.theme($theme);
22
- }