@igo2/common 16.0.0-rc.8 → 16.0.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.
- package/common-theme.scss +19 -19
- package/esm2022/lib/action/actionbar/actionbar-item.component.mjs +2 -2
- package/esm2022/lib/action/actionbar/actionbar.component.mjs +2 -2
- package/esm2022/lib/action/index.mjs +1 -1
- package/esm2022/lib/action/shared/action.enums.mjs +1 -1
- package/esm2022/lib/action/shared/action.interfaces.mjs +1 -1
- package/esm2022/lib/action/shared/index.mjs +1 -1
- package/esm2022/lib/action/shared/store.mjs +1 -1
- package/esm2022/lib/backdrop/backdrop.component.mjs +2 -2
- package/esm2022/lib/backdrop/index.mjs +1 -1
- package/esm2022/lib/badge-icon/index.mjs +1 -1
- package/esm2022/lib/clickout/clickout.directive.mjs +1 -1
- package/esm2022/lib/clickout/index.mjs +1 -1
- package/esm2022/lib/clone/clone.pipe.mjs +1 -1
- package/esm2022/lib/clone/index.mjs +1 -1
- package/esm2022/lib/collapsible/collapsible.component.mjs +2 -2
- package/esm2022/lib/collapsible/index.mjs +1 -1
- package/esm2022/lib/color-picker-form-field/index.mjs +1 -1
- package/esm2022/lib/confirm-dialog/confirm-dialog.component.mjs +2 -2
- package/esm2022/lib/confirm-dialog/index.mjs +1 -1
- package/esm2022/lib/context-menu/index.mjs +1 -1
- package/esm2022/lib/custom-html/custom-html.component.mjs +2 -2
- package/esm2022/lib/custom-html/custom-html.pipe.mjs +1 -1
- package/esm2022/lib/custom-html/index.mjs +1 -1
- package/esm2022/lib/dom/dom.interfaces.mjs +1 -1
- package/esm2022/lib/dom/dom.module.mjs +1 -1
- package/esm2022/lib/dom/index.mjs +1 -1
- package/esm2022/lib/drag-drop/index.mjs +1 -1
- package/esm2022/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.mjs +2 -2
- package/esm2022/lib/dynamic-component/index.mjs +1 -1
- package/esm2022/lib/dynamic-component/shared/dynamic-component.interfaces.mjs +1 -1
- package/esm2022/lib/dynamic-component/shared/dynamic-component.mjs +1 -1
- package/esm2022/lib/dynamic-component/shared/dynamic-component.service.mjs +1 -1
- package/esm2022/lib/dynamic-component/shared/index.mjs +1 -1
- package/esm2022/lib/entity/entity-selector/entity-selector.component.mjs +2 -2
- package/esm2022/lib/entity/entity-table-paginator/entity-table-paginator.component.mjs +2 -2
- package/esm2022/lib/entity/entity-table-paginator/entity-table-paginator.interface.mjs +1 -1
- package/esm2022/lib/entity/index.mjs +1 -1
- package/esm2022/lib/entity/shared/entity.enums.mjs +1 -1
- package/esm2022/lib/entity/shared/entity.interfaces.mjs +1 -1
- package/esm2022/lib/entity/shared/entity.utils.mjs +1 -1
- package/esm2022/lib/entity/shared/index.mjs +1 -1
- package/esm2022/lib/entity/shared/state.mjs +1 -1
- package/esm2022/lib/entity/shared/strategies/filter-custom-function.mjs +1 -1
- package/esm2022/lib/entity/shared/strategies/filter-selection.mjs +1 -1
- package/esm2022/lib/entity/shared/strategies/index.mjs +1 -1
- package/esm2022/lib/entity/shared/strategies/strategy.mjs +1 -1
- package/esm2022/lib/flexible/flexible.component.mjs +2 -2
- package/esm2022/lib/flexible/flexible.type.mjs +1 -1
- package/esm2022/lib/flexible/index.mjs +1 -1
- package/esm2022/lib/form/form/form.component.mjs +2 -2
- package/esm2022/lib/form/form-field/form-field-select.component.mjs +2 -2
- package/esm2022/lib/form/form-field/form-field-text.component.mjs +2 -2
- package/esm2022/lib/form/form-field/form-field-textarea.component.mjs +2 -2
- package/esm2022/lib/form/form-field/form-field.component.mjs +2 -2
- package/esm2022/lib/form/form-field/index.mjs +1 -1
- package/esm2022/lib/form/form-group/form-group.component.mjs +2 -2
- package/esm2022/lib/form/index.mjs +1 -1
- package/esm2022/lib/form/shared/form-field-component.mjs +1 -1
- package/esm2022/lib/form/shared/form-field.service.mjs +1 -1
- package/esm2022/lib/form/shared/form.utils.mjs +1 -1
- package/esm2022/lib/form/shared/index.mjs +1 -1
- package/esm2022/lib/home-button/home-button.component.mjs +2 -2
- package/esm2022/lib/home-button/index.mjs +1 -1
- package/esm2022/lib/image/index.mjs +1 -1
- package/esm2022/lib/interactive-tour/index.mjs +1 -1
- package/esm2022/lib/interactive-tour/interactive-tour.component.mjs +2 -2
- package/esm2022/lib/json-dialog/index.mjs +1 -1
- package/esm2022/lib/json-dialog/json-dialog.component.mjs +2 -2
- package/esm2022/lib/json-dialog/json-dialog.service.mjs +1 -1
- package/esm2022/lib/keyvalue/index.mjs +1 -1
- package/esm2022/lib/keyvalue/keyvalue.pipe.mjs +1 -1
- package/esm2022/lib/list/index.mjs +1 -1
- package/esm2022/lib/list/list.component.mjs +2 -2
- package/esm2022/lib/panel/index.mjs +1 -1
- package/esm2022/lib/panel/panel.component.mjs +2 -2
- package/esm2022/lib/sidenav/index.mjs +1 -1
- package/esm2022/lib/spinner/index.mjs +1 -1
- package/esm2022/lib/spinner/spinner.component.mjs +2 -2
- package/esm2022/lib/stop-propagation/index.mjs +1 -1
- package/esm2022/lib/stop-propagation/stop-drop-propagation.directive.mjs +1 -1
- package/esm2022/lib/stop-propagation/stop-propagation.directive.mjs +1 -1
- package/esm2022/lib/table/index.mjs +1 -1
- package/esm2022/lib/table/table-action-color.enum.mjs +1 -1
- package/esm2022/lib/table/table-database.mjs +1 -1
- package/esm2022/lib/table/table-model.interface.mjs +1 -1
- package/esm2022/lib/table/table.component.mjs +2 -2
- package/esm2022/lib/tool/index.mjs +1 -1
- package/esm2022/lib/tool/shared/index.mjs +1 -1
- package/esm2022/lib/tool/shared/tool-component.mjs +1 -1
- package/esm2022/lib/tool/shared/tool.interface.mjs +1 -1
- package/esm2022/lib/tool/shared/tool.service.mjs +1 -1
- package/esm2022/lib/tool/shared/toolbox.enums.mjs +1 -1
- package/esm2022/lib/tool/toolbox/toolbox.component.mjs +2 -2
- package/esm2022/lib/widget/index.mjs +1 -1
- package/esm2022/lib/widget/shared/index.mjs +1 -1
- package/esm2022/lib/widget/shared/widget.interfaces.mjs +1 -1
- package/esm2022/lib/widget/shared/widget.mjs +1 -1
- package/esm2022/lib/widget/widget-outlet/widget-outlet.component.mjs +2 -2
- package/esm2022/lib/workspace/index.mjs +1 -1
- package/esm2022/lib/workspace/shared/index.mjs +1 -1
- package/esm2022/lib/workspace/shared/workspace.interfaces.mjs +1 -1
- package/esm2022/lib/workspace/workspace-selector/workspace-selector.component.mjs +2 -2
- package/esm2022/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.mjs +2 -2
- package/fesm2022/igo2-common.mjs +27 -27
- package/fesm2022/igo2-common.mjs.map +1 -1
- package/lib/action/action.theming.scss +5 -5
- package/lib/action/actionbar/actionbar-item.theming.scss +32 -32
- package/lib/action/actionbar/actionbar.theming.scss +22 -22
- package/lib/collapsible/collapsible.theming.scss +22 -22
- package/lib/entity/entity-selector/entity-selector.theming.scss +21 -21
- package/lib/home-button/home-button.theming.scss +18 -18
- package/lib/interactive-tour/interactive-tour.theming.scss +32 -32
- package/lib/panel/panel.theming.scss +30 -30
- package/lib/tool/tool.theming.scss +5 -5
- package/lib/tool/toolbox/toolbox.theming.scss +105 -105
- package/package.json +3 -3
- package/style/partial/common-utils.scss +9 -9
- package/style/partial/common.variables.scss +8 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@use './actionbar/actionbar-item.theming.scss' as actionbar-item;
|
|
2
|
-
|
|
3
|
-
@mixin igo-action-theming($theme) {
|
|
4
|
-
@include actionbar-item.density($theme);
|
|
5
|
-
}
|
|
1
|
+
@use './actionbar/actionbar-item.theming.scss' as actionbar-item;
|
|
2
|
+
|
|
3
|
+
@mixin igo-action-theming($theme) {
|
|
4
|
+
@include actionbar-item.density($theme);
|
|
5
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use '@angular/material' as mat;
|
|
3
|
-
|
|
4
|
-
@mixin theme($theme) {
|
|
5
|
-
@include density($theme);
|
|
6
|
-
@include typography($theme);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@mixin density($theme) {
|
|
10
|
-
$density: mat.get-density-config($theme);
|
|
11
|
-
$theme: map.merge(
|
|
12
|
-
$theme,
|
|
13
|
-
(
|
|
14
|
-
density: $density - 2
|
|
15
|
-
)
|
|
16
|
-
);
|
|
17
|
-
|
|
18
|
-
igo-actionbar-item {
|
|
19
|
-
@include mat.icon-button-density($theme);
|
|
20
|
-
@include mat.list-density($theme);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@mixin typography($theme) {
|
|
25
|
-
$typography: mat.get-typography-config($theme);
|
|
26
|
-
|
|
27
|
-
igo-actionbar-item {
|
|
28
|
-
mat-checkbox label {
|
|
29
|
-
font-size: mat.font-size($typography, body-1);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
|
|
4
|
+
@mixin theme($theme) {
|
|
5
|
+
@include density($theme);
|
|
6
|
+
@include typography($theme);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@mixin density($theme) {
|
|
10
|
+
$density: mat.get-density-config($theme);
|
|
11
|
+
$theme: map.merge(
|
|
12
|
+
$theme,
|
|
13
|
+
(
|
|
14
|
+
density: $density - 2
|
|
15
|
+
)
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
igo-actionbar-item {
|
|
19
|
+
@include mat.icon-button-density($theme);
|
|
20
|
+
@include mat.list-density($theme);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@mixin typography($theme) {
|
|
25
|
+
$typography: mat.get-typography-config($theme);
|
|
26
|
+
|
|
27
|
+
igo-actionbar-item {
|
|
28
|
+
mat-checkbox label {
|
|
29
|
+
font-size: mat.font-size($typography, body-1);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
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
|
+
@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 +1,22 @@
|
|
|
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
|
+
@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,21 +1,21 @@
|
|
|
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
|
-
$theme: map.merge(
|
|
12
|
-
$theme,
|
|
13
|
-
(
|
|
14
|
-
density: $density - 2
|
|
15
|
-
)
|
|
16
|
-
);
|
|
17
|
-
|
|
18
|
-
igo-entity-selector {
|
|
19
|
-
@include mat.form-field-density($theme);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
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
|
+
$theme: map.merge(
|
|
12
|
+
$theme,
|
|
13
|
+
(
|
|
14
|
+
density: $density - 2
|
|
15
|
+
)
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
igo-entity-selector {
|
|
19
|
+
@include mat.form-field-density($theme);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
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.get-color-from-palette($primary);
|
|
11
|
-
color: mat.get-color-from-palette($primary, default-contrast);
|
|
12
|
-
|
|
13
|
-
&:hover {
|
|
14
|
-
background-color: mat.get-color-from-palette($accent, lighter);
|
|
15
|
-
color: black;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
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.get-color-from-palette($primary);
|
|
11
|
+
color: mat.get-color-from-palette($primary, default-contrast);
|
|
12
|
+
|
|
13
|
+
&:hover {
|
|
14
|
+
background-color: mat.get-color-from-palette($accent, lighter);
|
|
15
|
+
color: black;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
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.get-color-from-palette($primary, darker-contrast);
|
|
17
|
-
|
|
18
|
-
&:hover {
|
|
19
|
-
background-color: mat.get-color-from-palette(
|
|
20
|
-
$primary,
|
|
21
|
-
default-contrast
|
|
22
|
-
);
|
|
23
|
-
color: mat.get-color-from-palette($primary);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.mat-primary .mat-mdc-icon-button {
|
|
29
|
-
color: white;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
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.get-color-from-palette($primary, darker-contrast);
|
|
17
|
+
|
|
18
|
+
&:hover {
|
|
19
|
+
background-color: mat.get-color-from-palette(
|
|
20
|
+
$primary,
|
|
21
|
+
default-contrast
|
|
22
|
+
);
|
|
23
|
+
color: mat.get-color-from-palette($primary);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.mat-primary .mat-mdc-icon-button {
|
|
29
|
+
color: white;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use '@angular/material' as mat;
|
|
3
|
-
|
|
4
|
-
@mixin theme($theme) {
|
|
5
|
-
@include color($theme);
|
|
6
|
-
@include density($theme);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@mixin color($theme) {
|
|
10
|
-
$primary: map.get($theme, primary);
|
|
11
|
-
|
|
12
|
-
igo-panel > .igo-panel-header {
|
|
13
|
-
background-color: mat.get-color-from-palette($primary);
|
|
14
|
-
color: mat.get-color-from-palette($primary, default-contrast);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@mixin density($theme) {
|
|
19
|
-
$density: mat.get-density-config($theme);
|
|
20
|
-
$theme: map.merge(
|
|
21
|
-
$theme,
|
|
22
|
-
(
|
|
23
|
-
density: $density - 2
|
|
24
|
-
)
|
|
25
|
-
);
|
|
26
|
-
|
|
27
|
-
igo-panel {
|
|
28
|
-
@include mat.icon-button-density($theme);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
|
|
4
|
+
@mixin theme($theme) {
|
|
5
|
+
@include color($theme);
|
|
6
|
+
@include density($theme);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@mixin color($theme) {
|
|
10
|
+
$primary: map.get($theme, primary);
|
|
11
|
+
|
|
12
|
+
igo-panel > .igo-panel-header {
|
|
13
|
+
background-color: mat.get-color-from-palette($primary);
|
|
14
|
+
color: mat.get-color-from-palette($primary, default-contrast);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@mixin density($theme) {
|
|
19
|
+
$density: mat.get-density-config($theme);
|
|
20
|
+
$theme: map.merge(
|
|
21
|
+
$theme,
|
|
22
|
+
(
|
|
23
|
+
density: $density - 2
|
|
24
|
+
)
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
igo-panel {
|
|
28
|
+
@include mat.icon-button-density($theme);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@use './toolbox/toolbox.theming.scss' as toolbox-theme;
|
|
2
|
-
|
|
3
|
-
@mixin igo-tool-theming($theme) {
|
|
4
|
-
@include toolbox-theme.igo-toolbox-theming($theme);
|
|
5
|
-
}
|
|
1
|
+
@use './toolbox/toolbox.theming.scss' as toolbox-theme;
|
|
2
|
+
|
|
3
|
+
@mixin igo-tool-theming($theme) {
|
|
4
|
+
@include toolbox-theme.igo-toolbox-theming($theme);
|
|
5
|
+
}
|
|
@@ -1,105 +1,105 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use '@angular/material' as mat;
|
|
3
|
-
|
|
4
|
-
@mixin igo-toolbox-theming($theme) {
|
|
5
|
-
@include color($theme);
|
|
6
|
-
@include density($theme);
|
|
7
|
-
}
|
|
8
|
-
|
|
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.get-color-from-palette($primary, darker-contrast);
|
|
14
|
-
$lighter-contrast: mat.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.get-color-from-palette($primary);
|
|
20
|
-
#lowChevron,
|
|
21
|
-
#topChevron {
|
|
22
|
-
background-color: mat.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.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.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
|
-
@mixin density($theme) {
|
|
92
|
-
$density: mat.get-density-config($theme);
|
|
93
|
-
$theme: map.merge(
|
|
94
|
-
$theme,
|
|
95
|
-
(
|
|
96
|
-
density: $density - 2
|
|
97
|
-
)
|
|
98
|
-
);
|
|
99
|
-
|
|
100
|
-
igo-toolbox {
|
|
101
|
-
igo-actionbar-item {
|
|
102
|
-
@include mat.list-density($theme);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
|
|
4
|
+
@mixin igo-toolbox-theming($theme) {
|
|
5
|
+
@include color($theme);
|
|
6
|
+
@include density($theme);
|
|
7
|
+
}
|
|
8
|
+
|
|
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.get-color-from-palette($primary, darker-contrast);
|
|
14
|
+
$lighter-contrast: mat.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.get-color-from-palette($primary);
|
|
20
|
+
#lowChevron,
|
|
21
|
+
#topChevron {
|
|
22
|
+
background-color: mat.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.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.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
|
+
@mixin density($theme) {
|
|
92
|
+
$density: mat.get-density-config($theme);
|
|
93
|
+
$theme: map.merge(
|
|
94
|
+
$theme,
|
|
95
|
+
(
|
|
96
|
+
density: $density - 2
|
|
97
|
+
)
|
|
98
|
+
);
|
|
99
|
+
|
|
100
|
+
igo-toolbox {
|
|
101
|
+
igo-actionbar-item {
|
|
102
|
+
@include mat.list-density($theme);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@igo2/common",
|
|
3
|
-
"version": "16.0.0
|
|
3
|
+
"version": "16.0.0",
|
|
4
4
|
"description": "IGO Library",
|
|
5
5
|
"author": "IGO Community",
|
|
6
6
|
"keywords": [
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"@angular/material": "^16.2.4",
|
|
39
39
|
"@angular/platform-browser": "^16.2.5",
|
|
40
40
|
"@floating-ui/utils": "^0.1.4",
|
|
41
|
-
"@igo2/core": "^16.0.0
|
|
42
|
-
"@igo2/utils": "^16.0.0
|
|
41
|
+
"@igo2/core": "^16.0.0",
|
|
42
|
+
"@igo2/utils": "^16.0.0",
|
|
43
43
|
"angular-shepherd": "16.0.0",
|
|
44
44
|
"scroll-into-view-if-needed": "^3.0.0",
|
|
45
45
|
"typy": "^3.3.0",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
@mixin square-button() {
|
|
2
|
-
button {
|
|
3
|
-
border-radius: 0 !important;
|
|
4
|
-
.mat-ripple,
|
|
5
|
-
.mdc-icon-button__ripple {
|
|
6
|
-
border-radius: 0 !important;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
}
|
|
1
|
+
@mixin square-button() {
|
|
2
|
+
button {
|
|
3
|
+
border-radius: 0 !important;
|
|
4
|
+
.mat-ripple,
|
|
5
|
+
.mdc-icon-button__ripple {
|
|
6
|
+
border-radius: 0 !important;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*** List ***/
|
|
2
|
-
$igo-list-item-height: 48px;
|
|
3
|
-
$igo-list-item-padding: 3px;
|
|
4
|
-
$igo-list-item-icon-padding: 8px;
|
|
5
|
-
|
|
6
|
-
/*** Panel ***/
|
|
7
|
-
$igo-panel-header-height: 48px;
|
|
8
|
-
$igo-panel-header-padding: 3px;
|
|
1
|
+
/*** List ***/
|
|
2
|
+
$igo-list-item-height: 48px;
|
|
3
|
+
$igo-list-item-padding: 3px;
|
|
4
|
+
$igo-list-item-icon-padding: 8px;
|
|
5
|
+
|
|
6
|
+
/*** Panel ***/
|
|
7
|
+
$igo-panel-header-height: 48px;
|
|
8
|
+
$igo-panel-header-padding: 3px;
|