@igo2/common 19.0.0-next.3 → 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 (88) 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 +17 -17
  7. package/fesm2022/igo2-common-action.mjs.map +1 -1
  8. package/fesm2022/igo2-common-backdrop.mjs +8 -8
  9. package/fesm2022/igo2-common-backdrop.mjs.map +1 -1
  10. package/fesm2022/igo2-common-badge.mjs +8 -8
  11. package/fesm2022/igo2-common-badge.mjs.map +1 -1
  12. package/fesm2022/igo2-common-clickout.mjs +8 -8
  13. package/fesm2022/igo2-common-clickout.mjs.map +1 -1
  14. package/fesm2022/igo2-common-clone.mjs +7 -7
  15. package/fesm2022/igo2-common-clone.mjs.map +1 -1
  16. package/fesm2022/igo2-common-collapsible.mjs +11 -11
  17. package/fesm2022/igo2-common-collapsible.mjs.map +1 -1
  18. package/fesm2022/igo2-common-color.mjs +8 -8
  19. package/fesm2022/igo2-common-color.mjs.map +1 -1
  20. package/fesm2022/igo2-common-confirm-dialog.mjs +11 -11
  21. package/fesm2022/igo2-common-confirm-dialog.mjs.map +1 -1
  22. package/fesm2022/igo2-common-context-menu.mjs +11 -11
  23. package/fesm2022/igo2-common-context-menu.mjs.map +1 -1
  24. package/fesm2022/igo2-common-custom-html.mjs +12 -12
  25. package/fesm2022/igo2-common-custom-html.mjs.map +1 -1
  26. package/fesm2022/igo2-common-dom.mjs +7 -7
  27. package/fesm2022/igo2-common-dom.mjs.map +1 -1
  28. package/fesm2022/igo2-common-drag-drop.mjs +11 -11
  29. package/fesm2022/igo2-common-drag-drop.mjs.map +1 -1
  30. package/fesm2022/igo2-common-dynamic-component.mjs +15 -15
  31. package/fesm2022/igo2-common-dynamic-component.mjs.map +1 -1
  32. package/fesm2022/igo2-common-entity.mjs +40 -40
  33. package/fesm2022/igo2-common-entity.mjs.map +1 -1
  34. package/fesm2022/igo2-common-flexible.mjs +8 -8
  35. package/fesm2022/igo2-common-flexible.mjs.map +1 -1
  36. package/fesm2022/igo2-common-form.mjs +53 -54
  37. package/fesm2022/igo2-common-form.mjs.map +1 -1
  38. package/fesm2022/igo2-common-home-button.mjs +9 -9
  39. package/fesm2022/igo2-common-home-button.mjs.map +1 -1
  40. package/fesm2022/igo2-common-icon.mjs +12 -9
  41. package/fesm2022/igo2-common-icon.mjs.map +1 -1
  42. package/fesm2022/igo2-common-image.mjs +11 -11
  43. package/fesm2022/igo2-common-image.mjs.map +1 -1
  44. package/fesm2022/igo2-common-interactive-tour.mjs +19 -25
  45. package/fesm2022/igo2-common-interactive-tour.mjs.map +1 -1
  46. package/fesm2022/igo2-common-json-dialog.mjs +11 -11
  47. package/fesm2022/igo2-common-json-dialog.mjs.map +1 -1
  48. package/fesm2022/igo2-common-keyvalue.mjs +7 -7
  49. package/fesm2022/igo2-common-keyvalue.mjs.map +1 -1
  50. package/fesm2022/igo2-common-list.mjs +12 -12
  51. package/fesm2022/igo2-common-list.mjs.map +1 -1
  52. package/fesm2022/igo2-common-panel.mjs +9 -9
  53. package/fesm2022/igo2-common-panel.mjs.map +1 -1
  54. package/fesm2022/igo2-common-resizable-bar.mjs +98 -0
  55. package/fesm2022/igo2-common-resizable-bar.mjs.map +1 -0
  56. package/fesm2022/igo2-common-select-value-dialog.mjs +11 -11
  57. package/fesm2022/igo2-common-select-value-dialog.mjs.map +1 -1
  58. package/fesm2022/igo2-common-sidenav.mjs +8 -8
  59. package/fesm2022/igo2-common-sidenav.mjs.map +1 -1
  60. package/fesm2022/igo2-common-spinner.mjs +11 -11
  61. package/fesm2022/igo2-common-spinner.mjs.map +1 -1
  62. package/fesm2022/igo2-common-stop-propagation.mjs +11 -11
  63. package/fesm2022/igo2-common-stop-propagation.mjs.map +1 -1
  64. package/fesm2022/igo2-common-table.mjs +9 -9
  65. package/fesm2022/igo2-common-table.mjs.map +1 -1
  66. package/fesm2022/igo2-common-tool.mjs +17 -17
  67. package/fesm2022/igo2-common-tool.mjs.map +1 -1
  68. package/fesm2022/igo2-common-widget.mjs +15 -15
  69. package/fesm2022/igo2-common-widget.mjs.map +1 -1
  70. package/fesm2022/igo2-common-workspace.mjs +19 -19
  71. package/fesm2022/igo2-common-workspace.mjs.map +1 -1
  72. package/icon/icon/icon.component.d.ts +2 -1
  73. package/interactive-tour/interactive-tour.service.d.ts +0 -1
  74. package/package.json +12 -6
  75. package/panel/src/panel.theming.scss +1 -11
  76. package/resizable-bar/index.d.ts +5 -0
  77. package/resizable-bar/public_api.d.ts +2 -0
  78. package/resizable-bar/resizable-bar.component.d.ts +23 -0
  79. package/resizable-bar/shared/resize.directive.d.ts +12 -0
  80. package/src/common.theme.scss +18 -0
  81. package/src/style/partial/common-utils.scss +2 -0
  82. package/tool/src/toolbox/toolbox.theming.scss +1 -84
  83. package/action/src/actionbar/actionbar.theming.scss +0 -22
  84. package/collapsible/src/collapsible.theming.scss +0 -22
  85. package/home-button/src/home-button.theming.scss +0 -18
  86. package/interactive-tour/src/interactive-tour.theming.scss +0 -32
  87. package/list/src/list.theming.scss +0 -58
  88. package/src/common-theme.scss +0 -19
@@ -0,0 +1,12 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { Subscription } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ResizeDirective {
5
+ mouseMove$$: Subscription;
6
+ mouseUp$$: Subscription;
7
+ change: EventEmitter<MouseEvent>;
8
+ onMouseDown(event: MouseEvent): void;
9
+ private _unsubscribe;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResizeDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ResizeDirective, "[igoResize]", never, {}, { "change": "change"; }, never, never, true, never>;
12
+ }
@@ -0,0 +1,18 @@
1
+ @use '../action/src/action.theming.scss' as action;
2
+ @use '../entity/src/entity.theming.scss' as entity;
3
+ @use '../panel/src/panel.theming.scss' as panel;
4
+ @use '../tool/src/tool.theming.scss' as tool;
5
+
6
+ @mixin themes($theme) {
7
+ @include action.themes($theme);
8
+ @include entity.themes($theme);
9
+ @include panel.theme($theme);
10
+ @include tool.igo-tool-theming($theme);
11
+ }
12
+
13
+ @mixin densities($theme) {
14
+ @include action.densities($theme);
15
+ @include entity.densities($theme);
16
+ @include panel.theme($theme);
17
+ @include tool.igo-tool-theming($theme);
18
+ }
@@ -1,6 +1,8 @@
1
1
  @mixin square-button() {
2
2
  button {
3
3
  border-radius: 0 !important;
4
+ background-color: var(--mat-sys-inverse-on-surface);
5
+
4
6
  .mat-ripple,
5
7
  .mdc-icon-button__ripple {
6
8
  border-radius: 0 !important;
@@ -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,19 +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 '../tool/src/tool.theming.scss' as tool;
7
- @use '../interactive-tour/src/interactive-tour.theming.scss' as interactive-tour;
8
- @use '../home-button/src/home-button.theming.scss' as home-button;
9
-
10
- @mixin common-component-themes($theme) {
11
- @include action.igo-action-theming($theme);
12
- @include collapsible.igo-collapsible-theming($theme);
13
- @include entity.igo-entity-theming($theme);
14
- @include list.igo-list-theming($theme);
15
- @include panel.theme($theme);
16
- @include tool.igo-tool-theming($theme);
17
- @include interactive-tour.theme($theme);
18
- @include home-button.theme($theme);
19
- }