i-tech-shared-components 1.1.6 → 1.1.9
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/.npmignore +2 -0
- package/README.md +23 -23
- package/esm2022/i-tech-shared-components.mjs +5 -0
- package/esm2022/lib/components/autocomplete-select/autocomplete-select.component.mjs +409 -0
- package/esm2022/lib/components/button/button.component.mjs +122 -0
- package/esm2022/lib/components/clear-value/clear-value.component.mjs +34 -0
- package/esm2022/lib/components/date-picker/date-picker.component.mjs +111 -0
- package/esm2022/lib/components/date-range-datepicker/date-range-datepicker.component.mjs +118 -0
- package/esm2022/lib/components/icon-button/icon-button.component.mjs +49 -0
- package/esm2022/lib/components/menu/menu.component.mjs +51 -0
- package/esm2022/lib/components/text/text-input.component.mjs +73 -0
- package/esm2022/lib/directives/date-mask.directive.mjs +92 -0
- package/esm2022/lib/directives/input-mask.directive.mjs +92 -0
- package/esm2022/lib/interfaces/app-input.interface.mjs +2 -0
- package/esm2022/lib/interfaces/autocomplete-configs.interface.mjs +2 -0
- package/esm2022/lib/interfaces/button-types.enum.mjs +17 -0
- package/esm2022/lib/interfaces/dropdown-selection.constants.mjs +12 -0
- package/esm2022/lib/pipes/array-to-string.pipe.mjs +17 -0
- package/esm2022/lib/pipes/generate-error-messages.pipe.mjs +31 -0
- package/esm2022/lib/pipes/get-value-by-key-from-object.pipe.mjs +45 -0
- package/esm2022/lib/services/input.service.mjs +29 -0
- package/esm2022/public-api.mjs +20 -0
- package/fesm2022/i-tech-shared-components.mjs +1216 -0
- package/fesm2022/i-tech-shared-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/autocomplete-select/autocomplete-select.component.d.ts +84 -0
- package/lib/components/button/button.component.d.ts +65 -0
- package/lib/components/clear-value/clear-value.component.d.ts +9 -0
- package/lib/components/date-picker/date-picker.component.d.ts +35 -0
- package/lib/components/date-range-datepicker/date-range-datepicker.component.d.ts +36 -0
- package/lib/components/icon-button/icon-button.component.d.ts +14 -0
- package/lib/components/menu/menu.component.d.ts +28 -0
- package/lib/components/text/text-input.component.d.ts +21 -0
- package/lib/directives/date-mask.directive.d.ts +25 -0
- package/lib/directives/input-mask.directive.d.ts +21 -0
- package/lib/interfaces/app-input.interface.d.ts +31 -0
- package/lib/interfaces/autocomplete-configs.interface.d.ts +37 -0
- package/lib/interfaces/button-types.enum.d.ts +15 -0
- package/lib/interfaces/dropdown-selection.constants.d.ts +10 -0
- package/lib/pipes/array-to-string.pipe.d.ts +7 -0
- package/lib/pipes/generate-error-messages.pipe.d.ts +10 -0
- package/lib/pipes/get-value-by-key-from-object.pipe.d.ts +7 -0
- package/lib/services/input.service.d.ts +7 -0
- package/package.json +32 -19
- package/{src/public-api.ts → public-api.d.ts} +16 -20
- package/theme/_buttons.scss +63 -63
- package/theme/_color_themes.scss +136 -136
- package/theme/_date_picker.scss +77 -77
- package/theme/_form_fields.scss +112 -112
- package/theme/_icon-button.scss +123 -123
- package/theme/_label.scss +119 -119
- package/theme/_mat-selects.scss +248 -248
- package/theme/_menu.scss +9 -9
- package/theme/_text_input.scss +28 -28
- package/theme/variables/_colors.scss +20 -20
- package/theme.scss +31 -33
- package/docs/README.md +0 -87
- package/docs/components/autocomplete-select/autocomplete-select.component/README.md +0 -13
- package/docs/components/autocomplete-select/autocomplete-select.component/classes/AutocompleteSelectComponent.md +0 -793
- package/docs/components/button/button.component/README.md +0 -13
- package/docs/components/button/button.component/classes/ButtonComponent.md +0 -191
- package/docs/components/button/button.component.spec/README.md +0 -7
- package/docs/components/clear-value/clear-value.component/README.md +0 -13
- package/docs/components/clear-value/clear-value.component/classes/ClearValueComponent.md +0 -47
- package/docs/components/date-picker/date-picker.component/README.md +0 -13
- package/docs/components/date-picker/date-picker.component/classes/DatePickerComponent.md +0 -253
- package/docs/components/date-range-datepicker/date-range-datepicker.component/README.md +0 -13
- package/docs/components/date-range-datepicker/date-range-datepicker.component/classes/DateRangeDatepickerComponent.md +0 -341
- package/docs/components/icon-button/icon-button.component/README.md +0 -13
- package/docs/components/icon-button/icon-button.component/classes/IconButtonComponent.md +0 -107
- package/docs/components/label/label.component/README.md +0 -13
- package/docs/components/label/label.component/classes/LabelComponent.md +0 -97
- package/docs/components/menu/menu.component/README.md +0 -13
- package/docs/components/menu/menu.component/classes/MenuComponent.md +0 -139
- package/docs/components/text/text-input.component/README.md +0 -13
- package/docs/components/text/text-input.component/classes/TextInputComponent.md +0 -133
- package/docs/interfaces/app-input.interface/README.md +0 -13
- package/docs/interfaces/app-input.interface/interfaces/AppInputInterface.md +0 -297
- package/docs/interfaces/autocomplete-configs.interface/README.md +0 -13
- package/docs/interfaces/autocomplete-configs.interface/interfaces/AutocompleteConfigsInterface.md +0 -357
- package/docs/interfaces/button-types.enum/README.md +0 -13
- package/docs/interfaces/button-types.enum/enumerations/ButtonType.md +0 -69
- package/docs/interfaces/dropdown-selection.constants/README.md +0 -17
- package/docs/interfaces/dropdown-selection.constants/enumerations/DropdownSelectionType.md +0 -37
- package/docs/interfaces/dropdown-selection.constants/variables/DropdownItemIcon.md +0 -27
- package/docs/interfaces/label-type.enum/README.md +0 -13
- package/docs/interfaces/label-type.enum/enumerations/LabelTypeEnum.md +0 -127
- package/docs/services/input.service/README.md +0 -13
- package/docs/services/input.service/classes/InputService.md +0 -31
- package/ng-package.json +0 -17
- package/src/README.md +0 -0
- package/src/lib/components/autocomplete-select/autocomplete-select.component.html +0 -211
- package/src/lib/components/autocomplete-select/autocomplete-select.component.scss +0 -58
- package/src/lib/components/autocomplete-select/autocomplete-select.component.ts +0 -430
- package/src/lib/components/autocomplete-select/loader.svg +0 -6
- package/src/lib/components/button/button.component.css +0 -0
- package/src/lib/components/button/button.component.html +0 -48
- package/src/lib/components/button/button.component.spec.ts +0 -23
- package/src/lib/components/button/button.component.ts +0 -106
- package/src/lib/components/clear-value/clear-value.component.ts +0 -44
- package/src/lib/components/date-picker/date-picker.component.html +0 -61
- package/src/lib/components/date-picker/date-picker.component.ts +0 -75
- package/src/lib/components/date-range-datepicker/date-range-datepicker.component.html +0 -44
- package/src/lib/components/date-range-datepicker/date-range-datepicker.component.ts +0 -105
- package/src/lib/components/icon-button/icon-button.component.html +0 -27
- package/src/lib/components/icon-button/icon-button.component.scss +0 -0
- package/src/lib/components/icon-button/icon-button.component.ts +0 -37
- package/src/lib/components/label/label.component.html +0 -15
- package/src/lib/components/label/label.component.ts +0 -33
- package/src/lib/components/menu/menu.component.html +0 -20
- package/src/lib/components/menu/menu.component.scss +0 -9
- package/src/lib/components/menu/menu.component.ts +0 -39
- package/src/lib/components/text/text-input.component.html +0 -91
- package/src/lib/components/text/text-input.component.ts +0 -73
- package/src/lib/directives/date-mask.directive.ts +0 -97
- package/src/lib/directives/input-mask.directive.ts +0 -93
- package/src/lib/interfaces/app-input.interface.ts +0 -32
- package/src/lib/interfaces/autocomplete-configs.interface.ts +0 -37
- package/src/lib/interfaces/button-types.enum.ts +0 -19
- package/src/lib/interfaces/dropdown-selection.constants.ts +0 -11
- package/src/lib/interfaces/label-type.enum.ts +0 -14
- package/src/lib/pipes/array-to-string.pipe.ts +0 -13
- package/src/lib/pipes/generate-error-messages.pipe.ts +0 -31
- package/src/lib/pipes/get-value-by-key-from-object.pipe.ts +0 -46
- package/src/lib/services/input.service.ts +0 -30
- package/tsconfig.lib.json +0 -15
- package/tsconfig.lib.prod.json +0 -11
- package/tsconfig.spec.json +0 -15
package/theme/_icon-button.scss
CHANGED
|
@@ -1,123 +1,123 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
@import "./color_themes.scss";
|
|
3
|
-
|
|
4
|
-
body {
|
|
5
|
-
$buttonSize: 40;
|
|
6
|
-
$buttonSizeSmall: 24;
|
|
7
|
-
|
|
8
|
-
app-icon-button {
|
|
9
|
-
display: inline-block;
|
|
10
|
-
height: #{$buttonSize}px;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
app-icon-button:has(.small) {
|
|
14
|
-
height: #{$buttonSizeSmall}px;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// ICON BUTTON SIZING
|
|
18
|
-
.mat-mdc-icon-button,.mat-mdc-fab-base {
|
|
19
|
-
width: #{$buttonSize}px;
|
|
20
|
-
height: #{$buttonSize}px;
|
|
21
|
-
--mdc-icon-button-state-layer-size: #{$buttonSize}px !important;
|
|
22
|
-
padding: calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);
|
|
23
|
-
font-size: unset !important;
|
|
24
|
-
|
|
25
|
-
.mat-mdc-button-touch-target {
|
|
26
|
-
width: #{$buttonSize - 10 }px;
|
|
27
|
-
height: #{$buttonSize - 10 }px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
mat-icon {
|
|
31
|
-
svg {
|
|
32
|
-
vertical-align: super;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.mat-mdc-icon-button.small {
|
|
39
|
-
$iconSize: 21px;
|
|
40
|
-
$buttonSize: 24;
|
|
41
|
-
width: #{$buttonSizeSmall}px;
|
|
42
|
-
height: #{$buttonSizeSmall}px;
|
|
43
|
-
--mdc-icon-button-state-layer-size: #{$buttonSizeSmall}px !important;
|
|
44
|
-
--mdc-icon-button-icon-size: #{$iconSize} !important;
|
|
45
|
-
|
|
46
|
-
mat-icon {
|
|
47
|
-
font-size: $iconSize;
|
|
48
|
-
width: $iconSize;
|
|
49
|
-
height: $iconSize;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.mat-mdc-button-touch-target {
|
|
53
|
-
width: #{$buttonSizeSmall}px;
|
|
54
|
-
height: #{$buttonSizeSmall}px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.mat-mdc-fab-base.small {
|
|
60
|
-
$iconSize: 21px;
|
|
61
|
-
$buttonSize: 24;
|
|
62
|
-
width: #{$buttonSize}px;
|
|
63
|
-
height: #{$buttonSize}px;
|
|
64
|
-
--mdc-icon-button-state-layer-size: #{$buttonSize}px !important;
|
|
65
|
-
--mdc-icon-button-icon-size: #{$iconSize} !important;
|
|
66
|
-
|
|
67
|
-
mat-icon {
|
|
68
|
-
font-size: $iconSize;
|
|
69
|
-
width: $iconSize;
|
|
70
|
-
height: $iconSize;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.mat-mdc-button-touch-target {
|
|
74
|
-
width: #{$buttonSize}px;
|
|
75
|
-
height: #{$buttonSize}px;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
// END OF ICON BUTTON SIZING
|
|
80
|
-
|
|
81
|
-
// BUTTON ICON TYPES
|
|
82
|
-
|
|
83
|
-
.mat-mdc-icon-button.tonal {
|
|
84
|
-
--mat-icon-button-state-layer-color: #{mat.get-theme-color($m3-light-theme, tertiary, 60)};
|
|
85
|
-
|
|
86
|
-
mat-icon {
|
|
87
|
-
color: mat.get-theme-color($m3-light-theme, tertiary, 30);
|
|
88
|
-
& svg path {
|
|
89
|
-
fill: mat.get-theme-color($m3-light-theme, tertiary, 30);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.mat-mdc-icon-button.standard {
|
|
95
|
-
--mat-icon-button-state-layer-color: #{mat.get-theme-color($m3-light-theme, primary, 60)};
|
|
96
|
-
|
|
97
|
-
mat-icon {
|
|
98
|
-
color: mat.get-theme-color($m3-light-theme, primary, 50);
|
|
99
|
-
& svg path {
|
|
100
|
-
fill: mat.get-theme-color($m3-light-theme, primary, 50);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// FILLED
|
|
106
|
-
.mat-mdc-fab-base.filled {
|
|
107
|
-
--mdc-fab-container-shape: 50% !important;
|
|
108
|
-
--mdc-fab-container-elevation-shadow: none !important;
|
|
109
|
-
--mdc-fab-hover-container-elevation-shadow: none !important;
|
|
110
|
-
--mdc-fab-pressed-container-elevation-shadow: none !important;
|
|
111
|
-
--mdc-fab-focus-container-elevation-shadow: none !important;
|
|
112
|
-
--mdc-fab-container-color: #{mat.get-theme-color($m3-light-theme, primary, 50)};
|
|
113
|
-
--mat-fab-state-layer-color: #{mat.get-theme-color($m3-light-theme, primary, 50)};
|
|
114
|
-
mat-icon {
|
|
115
|
-
color: white;
|
|
116
|
-
& svg path {
|
|
117
|
-
fill: white;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
// END OF BUTTON ICON TYPES
|
|
122
|
-
|
|
123
|
-
}
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@import "./color_themes.scss";
|
|
3
|
+
|
|
4
|
+
body {
|
|
5
|
+
$buttonSize: 40;
|
|
6
|
+
$buttonSizeSmall: 24;
|
|
7
|
+
|
|
8
|
+
app-icon-button {
|
|
9
|
+
display: inline-block;
|
|
10
|
+
height: #{$buttonSize}px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
app-icon-button:has(.small) {
|
|
14
|
+
height: #{$buttonSizeSmall}px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// ICON BUTTON SIZING
|
|
18
|
+
.mat-mdc-icon-button,.mat-mdc-fab-base {
|
|
19
|
+
width: #{$buttonSize}px;
|
|
20
|
+
height: #{$buttonSize}px;
|
|
21
|
+
--mdc-icon-button-state-layer-size: #{$buttonSize}px !important;
|
|
22
|
+
padding: calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);
|
|
23
|
+
font-size: unset !important;
|
|
24
|
+
|
|
25
|
+
.mat-mdc-button-touch-target {
|
|
26
|
+
width: #{$buttonSize - 10 }px;
|
|
27
|
+
height: #{$buttonSize - 10 }px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
mat-icon {
|
|
31
|
+
svg {
|
|
32
|
+
vertical-align: super;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.mat-mdc-icon-button.small {
|
|
39
|
+
$iconSize: 21px;
|
|
40
|
+
$buttonSize: 24;
|
|
41
|
+
width: #{$buttonSizeSmall}px;
|
|
42
|
+
height: #{$buttonSizeSmall}px;
|
|
43
|
+
--mdc-icon-button-state-layer-size: #{$buttonSizeSmall}px !important;
|
|
44
|
+
--mdc-icon-button-icon-size: #{$iconSize} !important;
|
|
45
|
+
|
|
46
|
+
mat-icon {
|
|
47
|
+
font-size: $iconSize;
|
|
48
|
+
width: $iconSize;
|
|
49
|
+
height: $iconSize;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.mat-mdc-button-touch-target {
|
|
53
|
+
width: #{$buttonSizeSmall}px;
|
|
54
|
+
height: #{$buttonSizeSmall}px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.mat-mdc-fab-base.small {
|
|
60
|
+
$iconSize: 21px;
|
|
61
|
+
$buttonSize: 24;
|
|
62
|
+
width: #{$buttonSize}px;
|
|
63
|
+
height: #{$buttonSize}px;
|
|
64
|
+
--mdc-icon-button-state-layer-size: #{$buttonSize}px !important;
|
|
65
|
+
--mdc-icon-button-icon-size: #{$iconSize} !important;
|
|
66
|
+
|
|
67
|
+
mat-icon {
|
|
68
|
+
font-size: $iconSize;
|
|
69
|
+
width: $iconSize;
|
|
70
|
+
height: $iconSize;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.mat-mdc-button-touch-target {
|
|
74
|
+
width: #{$buttonSize}px;
|
|
75
|
+
height: #{$buttonSize}px;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// END OF ICON BUTTON SIZING
|
|
80
|
+
|
|
81
|
+
// BUTTON ICON TYPES
|
|
82
|
+
|
|
83
|
+
.mat-mdc-icon-button.tonal {
|
|
84
|
+
--mat-icon-button-state-layer-color: #{mat.get-theme-color($m3-light-theme, tertiary, 60)};
|
|
85
|
+
|
|
86
|
+
mat-icon {
|
|
87
|
+
color: mat.get-theme-color($m3-light-theme, tertiary, 30);
|
|
88
|
+
& svg path {
|
|
89
|
+
fill: mat.get-theme-color($m3-light-theme, tertiary, 30);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.mat-mdc-icon-button.standard {
|
|
95
|
+
--mat-icon-button-state-layer-color: #{mat.get-theme-color($m3-light-theme, primary, 60)};
|
|
96
|
+
|
|
97
|
+
mat-icon {
|
|
98
|
+
color: mat.get-theme-color($m3-light-theme, primary, 50);
|
|
99
|
+
& svg path {
|
|
100
|
+
fill: mat.get-theme-color($m3-light-theme, primary, 50);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// FILLED
|
|
106
|
+
.mat-mdc-fab-base.filled {
|
|
107
|
+
--mdc-fab-container-shape: 50% !important;
|
|
108
|
+
--mdc-fab-container-elevation-shadow: none !important;
|
|
109
|
+
--mdc-fab-hover-container-elevation-shadow: none !important;
|
|
110
|
+
--mdc-fab-pressed-container-elevation-shadow: none !important;
|
|
111
|
+
--mdc-fab-focus-container-elevation-shadow: none !important;
|
|
112
|
+
--mdc-fab-container-color: #{mat.get-theme-color($m3-light-theme, primary, 50)};
|
|
113
|
+
--mat-fab-state-layer-color: #{mat.get-theme-color($m3-light-theme, primary, 50)};
|
|
114
|
+
mat-icon {
|
|
115
|
+
color: white;
|
|
116
|
+
& svg path {
|
|
117
|
+
fill: white;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
// END OF BUTTON ICON TYPES
|
|
122
|
+
|
|
123
|
+
}
|
package/theme/_label.scss
CHANGED
|
@@ -1,119 +1,119 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
@use '@angular/material' as mat;
|
|
3
|
-
@import "./color_themes.scss";
|
|
4
|
-
|
|
5
|
-
body {
|
|
6
|
-
$types: (
|
|
7
|
-
purple: (
|
|
8
|
-
main: #DBD4F3,
|
|
9
|
-
hover: #E5E0F6,
|
|
10
|
-
border: #6F5BBF,
|
|
11
|
-
text: #140063
|
|
12
|
-
),
|
|
13
|
-
teal: (
|
|
14
|
-
main: #D2F3F2,
|
|
15
|
-
hover: #DFF6F6,
|
|
16
|
-
border: #00CAC3,
|
|
17
|
-
text: #006B67
|
|
18
|
-
),
|
|
19
|
-
olive: (
|
|
20
|
-
main: #EFF2D4,
|
|
21
|
-
hover: #F3F6E0,
|
|
22
|
-
border: #CDD968,
|
|
23
|
-
text: #606C00
|
|
24
|
-
),
|
|
25
|
-
orange: (
|
|
26
|
-
main: #FFE4DB,
|
|
27
|
-
hover: #FFECE5,
|
|
28
|
-
border: #FC8156,
|
|
29
|
-
text: #A42B00
|
|
30
|
-
),
|
|
31
|
-
blue: (
|
|
32
|
-
main: #D1E9FF,
|
|
33
|
-
hover: #DEEFFF,
|
|
34
|
-
border: #42A5FF,
|
|
35
|
-
text: #003E77
|
|
36
|
-
),
|
|
37
|
-
cyan: (
|
|
38
|
-
main: #DBF8FF,
|
|
39
|
-
hover: #E5FAFF,
|
|
40
|
-
border: #42D8FF,
|
|
41
|
-
text: #006681
|
|
42
|
-
),
|
|
43
|
-
raspberry: (
|
|
44
|
-
main: #EBD6DB,
|
|
45
|
-
hover: #F1E1E5,
|
|
46
|
-
border: #711A2E,
|
|
47
|
-
text: #4B0011
|
|
48
|
-
),
|
|
49
|
-
yellow: (
|
|
50
|
-
main: #FFFCCB,
|
|
51
|
-
hover: #FFFDDA,
|
|
52
|
-
border: #FFF000,
|
|
53
|
-
text: #847700
|
|
54
|
-
),
|
|
55
|
-
wine: (
|
|
56
|
-
main: #EDD3E5,
|
|
57
|
-
hover: #F2DFEC,
|
|
58
|
-
border: #9D4280,
|
|
59
|
-
text: #680047
|
|
60
|
-
),
|
|
61
|
-
green: (
|
|
62
|
-
main: #CFF1DD,
|
|
63
|
-
hover: #DCF5E7,
|
|
64
|
-
border: #2EB265,
|
|
65
|
-
text: #005D27
|
|
66
|
-
),
|
|
67
|
-
primary: (
|
|
68
|
-
main: #C0E5C7,
|
|
69
|
-
hover: #EFFAF1,
|
|
70
|
-
border: #42B963,
|
|
71
|
-
text: #003A0C
|
|
72
|
-
),
|
|
73
|
-
red: (
|
|
74
|
-
main: #FFE5E5,
|
|
75
|
-
hover: #FFD9D9,
|
|
76
|
-
border: #FF4D4D,
|
|
77
|
-
text: #8B0000
|
|
78
|
-
),
|
|
79
|
-
);
|
|
80
|
-
|
|
81
|
-
--mdc-chip-container-shape-radius: 8px !important;
|
|
82
|
-
--mdc-chip-label-text-line-height: 16px !important;
|
|
83
|
-
--mdc-chip-label-text-size: 11px !important;
|
|
84
|
-
--mdc-chip-label-text-weight: 700 !important;
|
|
85
|
-
--mdc-chip-label-text-tracking: 0.3 !important;
|
|
86
|
-
--mdc-chip-outline-width: 0 !important;
|
|
87
|
-
--mdc-chip-container-height: 32px !important;
|
|
88
|
-
|
|
89
|
-
@each $type, $value in $types {
|
|
90
|
-
.label_#{$type} {
|
|
91
|
-
--mdc-chip-elevated-container-color: #{map.get($value, "main")};
|
|
92
|
-
--mdc-chip-outline-color: #{map.get($value, "border")};
|
|
93
|
-
--mdc-chip-label-text-color: #{map.get($value, "text")};
|
|
94
|
-
|
|
95
|
-
mat-icon {
|
|
96
|
-
width: 18px;
|
|
97
|
-
height: 18px;
|
|
98
|
-
font-size: 18px;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.mat-mdc-chip.small {
|
|
104
|
-
// TODO need to review
|
|
105
|
-
--mdc-chip-container-height: 28px !important;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.trailing-icon {
|
|
109
|
-
.mat-mdc-standard-chip .mdc-evolution-chip__action--primary {
|
|
110
|
-
// Chips with trailing icon have -4 right padding per Figma
|
|
111
|
-
padding-right: 8px;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.mat-mdc-chip.bordered {
|
|
116
|
-
--mdc-chip-outline-width: 2.5px !important;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
}
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
@import "./color_themes.scss";
|
|
4
|
+
|
|
5
|
+
body {
|
|
6
|
+
$types: (
|
|
7
|
+
purple: (
|
|
8
|
+
main: #DBD4F3,
|
|
9
|
+
hover: #E5E0F6,
|
|
10
|
+
border: #6F5BBF,
|
|
11
|
+
text: #140063
|
|
12
|
+
),
|
|
13
|
+
teal: (
|
|
14
|
+
main: #D2F3F2,
|
|
15
|
+
hover: #DFF6F6,
|
|
16
|
+
border: #00CAC3,
|
|
17
|
+
text: #006B67
|
|
18
|
+
),
|
|
19
|
+
olive: (
|
|
20
|
+
main: #EFF2D4,
|
|
21
|
+
hover: #F3F6E0,
|
|
22
|
+
border: #CDD968,
|
|
23
|
+
text: #606C00
|
|
24
|
+
),
|
|
25
|
+
orange: (
|
|
26
|
+
main: #FFE4DB,
|
|
27
|
+
hover: #FFECE5,
|
|
28
|
+
border: #FC8156,
|
|
29
|
+
text: #A42B00
|
|
30
|
+
),
|
|
31
|
+
blue: (
|
|
32
|
+
main: #D1E9FF,
|
|
33
|
+
hover: #DEEFFF,
|
|
34
|
+
border: #42A5FF,
|
|
35
|
+
text: #003E77
|
|
36
|
+
),
|
|
37
|
+
cyan: (
|
|
38
|
+
main: #DBF8FF,
|
|
39
|
+
hover: #E5FAFF,
|
|
40
|
+
border: #42D8FF,
|
|
41
|
+
text: #006681
|
|
42
|
+
),
|
|
43
|
+
raspberry: (
|
|
44
|
+
main: #EBD6DB,
|
|
45
|
+
hover: #F1E1E5,
|
|
46
|
+
border: #711A2E,
|
|
47
|
+
text: #4B0011
|
|
48
|
+
),
|
|
49
|
+
yellow: (
|
|
50
|
+
main: #FFFCCB,
|
|
51
|
+
hover: #FFFDDA,
|
|
52
|
+
border: #FFF000,
|
|
53
|
+
text: #847700
|
|
54
|
+
),
|
|
55
|
+
wine: (
|
|
56
|
+
main: #EDD3E5,
|
|
57
|
+
hover: #F2DFEC,
|
|
58
|
+
border: #9D4280,
|
|
59
|
+
text: #680047
|
|
60
|
+
),
|
|
61
|
+
green: (
|
|
62
|
+
main: #CFF1DD,
|
|
63
|
+
hover: #DCF5E7,
|
|
64
|
+
border: #2EB265,
|
|
65
|
+
text: #005D27
|
|
66
|
+
),
|
|
67
|
+
primary: (
|
|
68
|
+
main: #C0E5C7,
|
|
69
|
+
hover: #EFFAF1,
|
|
70
|
+
border: #42B963,
|
|
71
|
+
text: #003A0C
|
|
72
|
+
),
|
|
73
|
+
red: (
|
|
74
|
+
main: #FFE5E5,
|
|
75
|
+
hover: #FFD9D9,
|
|
76
|
+
border: #FF4D4D,
|
|
77
|
+
text: #8B0000
|
|
78
|
+
),
|
|
79
|
+
);
|
|
80
|
+
|
|
81
|
+
--mdc-chip-container-shape-radius: 8px !important;
|
|
82
|
+
--mdc-chip-label-text-line-height: 16px !important;
|
|
83
|
+
--mdc-chip-label-text-size: 11px !important;
|
|
84
|
+
--mdc-chip-label-text-weight: 700 !important;
|
|
85
|
+
--mdc-chip-label-text-tracking: 0.3 !important;
|
|
86
|
+
--mdc-chip-outline-width: 0 !important;
|
|
87
|
+
--mdc-chip-container-height: 32px !important;
|
|
88
|
+
|
|
89
|
+
@each $type, $value in $types {
|
|
90
|
+
.label_#{$type} {
|
|
91
|
+
--mdc-chip-elevated-container-color: #{map.get($value, "main")};
|
|
92
|
+
--mdc-chip-outline-color: #{map.get($value, "border")};
|
|
93
|
+
--mdc-chip-label-text-color: #{map.get($value, "text")};
|
|
94
|
+
|
|
95
|
+
mat-icon {
|
|
96
|
+
width: 18px;
|
|
97
|
+
height: 18px;
|
|
98
|
+
font-size: 18px;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.mat-mdc-chip.small {
|
|
104
|
+
// TODO need to review
|
|
105
|
+
--mdc-chip-container-height: 28px !important;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.trailing-icon {
|
|
109
|
+
.mat-mdc-standard-chip .mdc-evolution-chip__action--primary {
|
|
110
|
+
// Chips with trailing icon have -4 right padding per Figma
|
|
111
|
+
padding-right: 8px;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.mat-mdc-chip.bordered {
|
|
116
|
+
--mdc-chip-outline-width: 2.5px !important;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
}
|