i-tech-shared-components 1.4.44 → 1.4.45
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.
|
@@ -2,7 +2,8 @@ import { EventEmitter } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class IconButtonComponent {
|
|
4
4
|
size: 'medium' | 'small';
|
|
5
|
-
type: 'standard' | 'filled' | 'tonal';
|
|
5
|
+
type: 'standard' | 'filled' | 'tonal' | 'bordered';
|
|
6
|
+
borderColor: 'primary' | 'warn';
|
|
6
7
|
iconSvg: string;
|
|
7
8
|
iconName: string;
|
|
8
9
|
tooltip: string;
|
|
@@ -11,5 +12,5 @@ export declare class IconButtonComponent {
|
|
|
11
12
|
buttonClick: EventEmitter<void>;
|
|
12
13
|
onClick(event: MouseEvent): void;
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconButtonComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IconButtonComponent, "i-tech-icon-button", never, { "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "iconSvg": { "alias": "iconSvg"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, { "buttonClick": "buttonClick"; }, never, never, true, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IconButtonComponent, "i-tech-icon-button", never, { "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "iconSvg": { "alias": "iconSvg"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, { "buttonClick": "buttonClick"; }, never, never, true, never>;
|
|
15
16
|
}
|
package/package.json
CHANGED
package/theme/_icon-button.scss
CHANGED
|
@@ -129,6 +129,16 @@ body {
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
+
.mat-mdc-icon-button.bordered.warn {
|
|
133
|
+
--mat-icon-button-state-layer-color: #{mat.get-theme-color(color-themes.$m3-light-theme, error, 40)};
|
|
134
|
+
outline: 1px solid #{mat.get-theme-color(color-themes.$m3-light-theme, error, 40)};
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.mat-mdc-icon-button.bordered.primary {
|
|
138
|
+
--mat-icon-button-state-layer-color: #{mat.get-theme-color(color-themes.$m3-light-theme, primary, 60)};
|
|
139
|
+
outline: 1px solid #{mat.get-theme-color(color-themes.$m3-light-theme, primary, 60)};
|
|
140
|
+
}
|
|
141
|
+
|
|
132
142
|
.mat-mdc-icon-button.filled:disabled {
|
|
133
143
|
opacity: 0.38 !important;
|
|
134
144
|
background-color: lightgray !important;
|
package/theme/_mat-selects.scss
CHANGED
|
@@ -201,6 +201,12 @@ body {
|
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
+
.mat-select-with-search.select-with-prefix {
|
|
205
|
+
.search-input input, .custom-placeholder {
|
|
206
|
+
padding-left: 35px !important;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
204
210
|
.empty_selection_state {
|
|
205
211
|
height: 142px !important;
|
|
206
212
|
justify-content: center !important;
|