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/_color_themes.scss
CHANGED
|
@@ -1,136 +1,136 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
|
|
4
|
-
$_light-palette: (
|
|
5
|
-
primary: (
|
|
6
|
-
0: #000000,
|
|
7
|
-
10: #003A0C,
|
|
8
|
-
20: #005B13,
|
|
9
|
-
25: #006B1E,
|
|
10
|
-
30: #007A28,
|
|
11
|
-
35: #00822E,
|
|
12
|
-
40: #008B33,
|
|
13
|
-
50: #009D3F,
|
|
14
|
-
60: #00AC48,
|
|
15
|
-
70: #42B963,
|
|
16
|
-
80: #69C57F,
|
|
17
|
-
90: #96D5A3,
|
|
18
|
-
95: #C0E5C7,
|
|
19
|
-
98: #E3F6E7,
|
|
20
|
-
99: #EFFAF1,
|
|
21
|
-
100: #FFFFFF,
|
|
22
|
-
),
|
|
23
|
-
secondary: (
|
|
24
|
-
0: #1A1A1A,
|
|
25
|
-
10: #0C2B61,
|
|
26
|
-
20: #183778,
|
|
27
|
-
25: #1F4085,
|
|
28
|
-
30: #2C4D91,
|
|
29
|
-
35: #335497,
|
|
30
|
-
40: #3A5B9E,
|
|
31
|
-
50: #4364A6,
|
|
32
|
-
60: #5777B7,
|
|
33
|
-
70: #718ECB,
|
|
34
|
-
80: #97B0E3,
|
|
35
|
-
90: #C1D2F5,
|
|
36
|
-
95: #DDE7FC,
|
|
37
|
-
98: #E1EBFC,
|
|
38
|
-
99: #EEF4FE,
|
|
39
|
-
100: #FFFFFF,
|
|
40
|
-
),
|
|
41
|
-
neutral: (
|
|
42
|
-
0: #1A1A1A,
|
|
43
|
-
10: #34363B,
|
|
44
|
-
20: #454950,
|
|
45
|
-
25: #4D525B,
|
|
46
|
-
30: #555B65,
|
|
47
|
-
35: #5C646F,
|
|
48
|
-
40: #636C79,
|
|
49
|
-
50: #747E8E,
|
|
50
|
-
60: #828C9B,
|
|
51
|
-
70: #A9AFB9,
|
|
52
|
-
80: #C2C5CD,
|
|
53
|
-
90: #DBDDE1,
|
|
54
|
-
95: #F2F2F5,
|
|
55
|
-
98: #F8F8FA,
|
|
56
|
-
99: #FAFAFC,
|
|
57
|
-
100: #ffffff,
|
|
58
|
-
),
|
|
59
|
-
neutral-variant: (
|
|
60
|
-
0: #000000,
|
|
61
|
-
10: #131e13,
|
|
62
|
-
20: #283327,
|
|
63
|
-
25: #323e32,
|
|
64
|
-
30: #3e4a3d,
|
|
65
|
-
35: #495648,
|
|
66
|
-
40: #556254,
|
|
67
|
-
50: #6e7b6c,
|
|
68
|
-
60: #879485,
|
|
69
|
-
70: #a1af9e,
|
|
70
|
-
80: #bdcab9,
|
|
71
|
-
90: #d9e6d4,
|
|
72
|
-
95: #e7f5e2,
|
|
73
|
-
98: #F2FCED,
|
|
74
|
-
99: #f6fff1,
|
|
75
|
-
100: #ffffff,
|
|
76
|
-
),
|
|
77
|
-
tertiary: (
|
|
78
|
-
0: #000000,
|
|
79
|
-
10: #1D2025,
|
|
80
|
-
20: #30353D,
|
|
81
|
-
25: #393F49,
|
|
82
|
-
30: #424954,
|
|
83
|
-
35: #4A535F,
|
|
84
|
-
40: #525C6A,
|
|
85
|
-
50: #647081,
|
|
86
|
-
60: #747F90,
|
|
87
|
-
70: #9FA6B1,
|
|
88
|
-
80: #BBBFC7,
|
|
89
|
-
90: #D7D9DE,
|
|
90
|
-
95: #F0F0F4,
|
|
91
|
-
98: #F5F5F8,
|
|
92
|
-
99: #F9F9FC,
|
|
93
|
-
100: #FFFFFF,
|
|
94
|
-
),
|
|
95
|
-
error: (
|
|
96
|
-
0: #39041A,
|
|
97
|
-
10: #670923,
|
|
98
|
-
20: #950E2B,
|
|
99
|
-
25: #A5102E,
|
|
100
|
-
30: #B41231,
|
|
101
|
-
35: #BB1635,
|
|
102
|
-
40: #C11A39,
|
|
103
|
-
50: #D2344C,
|
|
104
|
-
60: #DE4558,
|
|
105
|
-
70: #E77383,
|
|
106
|
-
80: #F5A0AA,
|
|
107
|
-
90: #FACBD5,
|
|
108
|
-
95: #FBE9EE,
|
|
109
|
-
98: #FCF1F4,
|
|
110
|
-
99: #FDF4F7,
|
|
111
|
-
100: #FFFFFF,
|
|
112
|
-
),
|
|
113
|
-
);
|
|
114
|
-
$_main: (
|
|
115
|
-
secondary: map.get($_light-palette, secondary),
|
|
116
|
-
neutral: map.get($_light-palette, neutral),
|
|
117
|
-
neutral-variant: map.get($_light-palette, neutral-variant),
|
|
118
|
-
error: map.get($_light-palette, error),
|
|
119
|
-
);
|
|
120
|
-
$_primary: map.merge(map.get($_light-palette, primary), $_main);
|
|
121
|
-
$_tertiary: map.merge(map.get($_light-palette, tertiary), $_main);
|
|
122
|
-
|
|
123
|
-
$m3-light-theme: mat.define-theme((
|
|
124
|
-
color: (
|
|
125
|
-
theme-type: light,
|
|
126
|
-
primary: $_primary,
|
|
127
|
-
tertiary: $_tertiary,
|
|
128
|
-
),
|
|
129
|
-
typography: (
|
|
130
|
-
plain-family: 'Noto Sans',
|
|
131
|
-
brand-family: 'Noto Sans'
|
|
132
|
-
),
|
|
133
|
-
density: (
|
|
134
|
-
scale: -4,
|
|
135
|
-
),
|
|
136
|
-
));
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
|
|
4
|
+
$_light-palette: (
|
|
5
|
+
primary: (
|
|
6
|
+
0: #000000,
|
|
7
|
+
10: #003A0C,
|
|
8
|
+
20: #005B13,
|
|
9
|
+
25: #006B1E,
|
|
10
|
+
30: #007A28,
|
|
11
|
+
35: #00822E,
|
|
12
|
+
40: #008B33,
|
|
13
|
+
50: #009D3F,
|
|
14
|
+
60: #00AC48,
|
|
15
|
+
70: #42B963,
|
|
16
|
+
80: #69C57F,
|
|
17
|
+
90: #96D5A3,
|
|
18
|
+
95: #C0E5C7,
|
|
19
|
+
98: #E3F6E7,
|
|
20
|
+
99: #EFFAF1,
|
|
21
|
+
100: #FFFFFF,
|
|
22
|
+
),
|
|
23
|
+
secondary: (
|
|
24
|
+
0: #1A1A1A,
|
|
25
|
+
10: #0C2B61,
|
|
26
|
+
20: #183778,
|
|
27
|
+
25: #1F4085,
|
|
28
|
+
30: #2C4D91,
|
|
29
|
+
35: #335497,
|
|
30
|
+
40: #3A5B9E,
|
|
31
|
+
50: #4364A6,
|
|
32
|
+
60: #5777B7,
|
|
33
|
+
70: #718ECB,
|
|
34
|
+
80: #97B0E3,
|
|
35
|
+
90: #C1D2F5,
|
|
36
|
+
95: #DDE7FC,
|
|
37
|
+
98: #E1EBFC,
|
|
38
|
+
99: #EEF4FE,
|
|
39
|
+
100: #FFFFFF,
|
|
40
|
+
),
|
|
41
|
+
neutral: (
|
|
42
|
+
0: #1A1A1A,
|
|
43
|
+
10: #34363B,
|
|
44
|
+
20: #454950,
|
|
45
|
+
25: #4D525B,
|
|
46
|
+
30: #555B65,
|
|
47
|
+
35: #5C646F,
|
|
48
|
+
40: #636C79,
|
|
49
|
+
50: #747E8E,
|
|
50
|
+
60: #828C9B,
|
|
51
|
+
70: #A9AFB9,
|
|
52
|
+
80: #C2C5CD,
|
|
53
|
+
90: #DBDDE1,
|
|
54
|
+
95: #F2F2F5,
|
|
55
|
+
98: #F8F8FA,
|
|
56
|
+
99: #FAFAFC,
|
|
57
|
+
100: #ffffff,
|
|
58
|
+
),
|
|
59
|
+
neutral-variant: (
|
|
60
|
+
0: #000000,
|
|
61
|
+
10: #131e13,
|
|
62
|
+
20: #283327,
|
|
63
|
+
25: #323e32,
|
|
64
|
+
30: #3e4a3d,
|
|
65
|
+
35: #495648,
|
|
66
|
+
40: #556254,
|
|
67
|
+
50: #6e7b6c,
|
|
68
|
+
60: #879485,
|
|
69
|
+
70: #a1af9e,
|
|
70
|
+
80: #bdcab9,
|
|
71
|
+
90: #d9e6d4,
|
|
72
|
+
95: #e7f5e2,
|
|
73
|
+
98: #F2FCED,
|
|
74
|
+
99: #f6fff1,
|
|
75
|
+
100: #ffffff,
|
|
76
|
+
),
|
|
77
|
+
tertiary: (
|
|
78
|
+
0: #000000,
|
|
79
|
+
10: #1D2025,
|
|
80
|
+
20: #30353D,
|
|
81
|
+
25: #393F49,
|
|
82
|
+
30: #424954,
|
|
83
|
+
35: #4A535F,
|
|
84
|
+
40: #525C6A,
|
|
85
|
+
50: #647081,
|
|
86
|
+
60: #747F90,
|
|
87
|
+
70: #9FA6B1,
|
|
88
|
+
80: #BBBFC7,
|
|
89
|
+
90: #D7D9DE,
|
|
90
|
+
95: #F0F0F4,
|
|
91
|
+
98: #F5F5F8,
|
|
92
|
+
99: #F9F9FC,
|
|
93
|
+
100: #FFFFFF,
|
|
94
|
+
),
|
|
95
|
+
error: (
|
|
96
|
+
0: #39041A,
|
|
97
|
+
10: #670923,
|
|
98
|
+
20: #950E2B,
|
|
99
|
+
25: #A5102E,
|
|
100
|
+
30: #B41231,
|
|
101
|
+
35: #BB1635,
|
|
102
|
+
40: #C11A39,
|
|
103
|
+
50: #D2344C,
|
|
104
|
+
60: #DE4558,
|
|
105
|
+
70: #E77383,
|
|
106
|
+
80: #F5A0AA,
|
|
107
|
+
90: #FACBD5,
|
|
108
|
+
95: #FBE9EE,
|
|
109
|
+
98: #FCF1F4,
|
|
110
|
+
99: #FDF4F7,
|
|
111
|
+
100: #FFFFFF,
|
|
112
|
+
),
|
|
113
|
+
);
|
|
114
|
+
$_main: (
|
|
115
|
+
secondary: map.get($_light-palette, secondary),
|
|
116
|
+
neutral: map.get($_light-palette, neutral),
|
|
117
|
+
neutral-variant: map.get($_light-palette, neutral-variant),
|
|
118
|
+
error: map.get($_light-palette, error),
|
|
119
|
+
);
|
|
120
|
+
$_primary: map.merge(map.get($_light-palette, primary), $_main);
|
|
121
|
+
$_tertiary: map.merge(map.get($_light-palette, tertiary), $_main);
|
|
122
|
+
|
|
123
|
+
$m3-light-theme: mat.define-theme((
|
|
124
|
+
color: (
|
|
125
|
+
theme-type: light,
|
|
126
|
+
primary: $_primary,
|
|
127
|
+
tertiary: $_tertiary,
|
|
128
|
+
),
|
|
129
|
+
typography: (
|
|
130
|
+
plain-family: 'Noto Sans',
|
|
131
|
+
brand-family: 'Noto Sans'
|
|
132
|
+
),
|
|
133
|
+
density: (
|
|
134
|
+
scale: -4,
|
|
135
|
+
),
|
|
136
|
+
));
|
package/theme/_date_picker.scss
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
@import "./color_themes.scss";
|
|
3
|
-
|
|
4
|
-
body {
|
|
5
|
-
--mat-datepicker-calendar-container-background-color: #{mat.get-theme-color($m3-light-theme, primary, 100)} !important;
|
|
6
|
-
--mat-datepicker-calendar-period-button-text-color: #{mat.get-theme-color($m3-light-theme, primary, 35)} !important;
|
|
7
|
-
--mat-datepicker-calendar-date-hover-state-background-color: #{mat.get-theme-color($m3-light-theme, primary, 99)} !important;
|
|
8
|
-
--mat-datepicker-calendar-date-today-background-color: #{mat.get-theme-color($m3-light-theme, primary, 99)} !important;
|
|
9
|
-
--mat-datepicker-range-input-separator-color: #{mat.get-theme-color($m3-light-theme, neutral, 50)} !important;
|
|
10
|
-
--mat-datepicker-calendar-body-label-text-size: 16px;
|
|
11
|
-
--mat-datepicker-calendar-body-label-text-weight: 400;
|
|
12
|
-
--mat-datepicker-calendar-period-button-text-size: 16px;
|
|
13
|
-
--mat-datepicker-calendar-period-button-text-weight: 400;
|
|
14
|
-
--mat-datepicker-calendar-header-text-color: #1D1B20 !important;
|
|
15
|
-
--mat-datepicker-calendar-header-text-size: 16px !important;
|
|
16
|
-
--mat-datepicker-calendar-header-text-weight: 700 !important;
|
|
17
|
-
|
|
18
|
-
.mat-calendar-body-cell-content {
|
|
19
|
-
font-size: 16px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
|
|
23
|
-
background-color: var(--mat-datepicker-calendar-date-hover-state-background-color);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.mat-date-range-input {
|
|
27
|
-
.mat-mdc-form-field-flex {
|
|
28
|
-
height: 40px;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.mat-date-range-input-inner::placeholder {
|
|
32
|
-
color: #{mat.get-theme-color($m3-light-theme, neutral, 50)};
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.mat-mdc-input-element::placeholder {
|
|
36
|
-
font-weight: 500;
|
|
37
|
-
overflow: hidden;
|
|
38
|
-
color: var(--Text, #424954);
|
|
39
|
-
text-overflow: ellipsis;
|
|
40
|
-
font-size: 13px;
|
|
41
|
-
font-style: normal;
|
|
42
|
-
line-height: 24px;
|
|
43
|
-
letter-spacing: 0.5px;
|
|
44
|
-
}
|
|
45
|
-
width: 100%;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.opened_calendar {
|
|
49
|
-
--mdc-outlined-text-field-outline-width: 3px !important;
|
|
50
|
-
--mdc-outlined-text-field-outline-color: #0060DF !important;
|
|
51
|
-
--mdc-outlined-text-field-error-outline-color: #0060DF !important;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.mat-datepicker-content {
|
|
55
|
-
background-color: var(--white-color) !important;
|
|
56
|
-
--mat-datepicker-calendar-navigation-button-icon-color: #{mat.get-theme-color($m3-light-theme, primary, 80)};
|
|
57
|
-
--mat-datepicker-calendar-period-button-icon-color: #{mat.get-theme-color($m3-light-theme, primary, 80)};
|
|
58
|
-
box-shadow: 0 2px 6px 2px rgba(48, 70, 102, 0.10);
|
|
59
|
-
border: 1px solid var(--Outline, #D7D9DE);
|
|
60
|
-
|
|
61
|
-
.mat-calendar-body-selected {
|
|
62
|
-
background-color: var(--mat-datepicker-calendar-date-selected-state-background-color) !important;
|
|
63
|
-
color: var(--mat-datepicker-calendar-date-selected-state-text-color) !important;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
|
|
67
|
-
border: 1px solid var(--mat-datepicker-calendar-date-today-outline-color) !important;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.mat-calendar-body-cell-content {
|
|
71
|
-
border: unset !important;
|
|
72
|
-
font-size: 13px !important;
|
|
73
|
-
font-weight: 400 !important;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@import "./color_themes.scss";
|
|
3
|
+
|
|
4
|
+
body {
|
|
5
|
+
--mat-datepicker-calendar-container-background-color: #{mat.get-theme-color($m3-light-theme, primary, 100)} !important;
|
|
6
|
+
--mat-datepicker-calendar-period-button-text-color: #{mat.get-theme-color($m3-light-theme, primary, 35)} !important;
|
|
7
|
+
--mat-datepicker-calendar-date-hover-state-background-color: #{mat.get-theme-color($m3-light-theme, primary, 99)} !important;
|
|
8
|
+
--mat-datepicker-calendar-date-today-background-color: #{mat.get-theme-color($m3-light-theme, primary, 99)} !important;
|
|
9
|
+
--mat-datepicker-range-input-separator-color: #{mat.get-theme-color($m3-light-theme, neutral, 50)} !important;
|
|
10
|
+
--mat-datepicker-calendar-body-label-text-size: 16px;
|
|
11
|
+
--mat-datepicker-calendar-body-label-text-weight: 400;
|
|
12
|
+
--mat-datepicker-calendar-period-button-text-size: 16px;
|
|
13
|
+
--mat-datepicker-calendar-period-button-text-weight: 400;
|
|
14
|
+
--mat-datepicker-calendar-header-text-color: #1D1B20 !important;
|
|
15
|
+
--mat-datepicker-calendar-header-text-size: 16px !important;
|
|
16
|
+
--mat-datepicker-calendar-header-text-weight: 700 !important;
|
|
17
|
+
|
|
18
|
+
.mat-calendar-body-cell-content {
|
|
19
|
+
font-size: 16px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
|
|
23
|
+
background-color: var(--mat-datepicker-calendar-date-hover-state-background-color);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.mat-date-range-input {
|
|
27
|
+
.mat-mdc-form-field-flex {
|
|
28
|
+
height: 40px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.mat-date-range-input-inner::placeholder {
|
|
32
|
+
color: #{mat.get-theme-color($m3-light-theme, neutral, 50)};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.mat-mdc-input-element::placeholder {
|
|
36
|
+
font-weight: 500;
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
color: var(--Text, #424954);
|
|
39
|
+
text-overflow: ellipsis;
|
|
40
|
+
font-size: 13px;
|
|
41
|
+
font-style: normal;
|
|
42
|
+
line-height: 24px;
|
|
43
|
+
letter-spacing: 0.5px;
|
|
44
|
+
}
|
|
45
|
+
width: 100%;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.opened_calendar {
|
|
49
|
+
--mdc-outlined-text-field-outline-width: 3px !important;
|
|
50
|
+
--mdc-outlined-text-field-outline-color: #0060DF !important;
|
|
51
|
+
--mdc-outlined-text-field-error-outline-color: #0060DF !important;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.mat-datepicker-content {
|
|
55
|
+
background-color: var(--white-color) !important;
|
|
56
|
+
--mat-datepicker-calendar-navigation-button-icon-color: #{mat.get-theme-color($m3-light-theme, primary, 80)};
|
|
57
|
+
--mat-datepicker-calendar-period-button-icon-color: #{mat.get-theme-color($m3-light-theme, primary, 80)};
|
|
58
|
+
box-shadow: 0 2px 6px 2px rgba(48, 70, 102, 0.10);
|
|
59
|
+
border: 1px solid var(--Outline, #D7D9DE);
|
|
60
|
+
|
|
61
|
+
.mat-calendar-body-selected {
|
|
62
|
+
background-color: var(--mat-datepicker-calendar-date-selected-state-background-color) !important;
|
|
63
|
+
color: var(--mat-datepicker-calendar-date-selected-state-text-color) !important;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
|
|
67
|
+
border: 1px solid var(--mat-datepicker-calendar-date-today-outline-color) !important;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.mat-calendar-body-cell-content {
|
|
71
|
+
border: unset !important;
|
|
72
|
+
font-size: 13px !important;
|
|
73
|
+
font-weight: 400 !important;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
package/theme/_form_fields.scss
CHANGED
|
@@ -1,112 +1,112 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
@import "./color_themes.scss";
|
|
3
|
-
|
|
4
|
-
body {
|
|
5
|
-
.mat-mdc-form-field {
|
|
6
|
-
width: 100%;
|
|
7
|
-
--mdc-outlined-text-field-input-text-placeholder-color: #{mat.get-theme-color($m3-light-theme, tertiary, 50)};
|
|
8
|
-
// Custom outline color intentionally outside of color palette
|
|
9
|
-
--mdc-outlined-text-field-focus-outline-color: #0060DF;
|
|
10
|
-
--mdc-outlined-text-field-outline-color: #{mat.get-theme-color($m3-light-theme, tertiary, 90)};
|
|
11
|
-
--mdc-outlined-text-field-hover-outline-color: #{mat.get-theme-color($m3-light-theme, tertiary, 70)};
|
|
12
|
-
// Set/focused values should be a slightly darker tertiary30
|
|
13
|
-
--mat-select-focused-arrow-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
14
|
-
--mat-select-enabled-trigger-text-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
15
|
-
--mdc-filled-text-field-caret-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
16
|
-
--mdc-filled-text-field-focus-active-indicator-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
17
|
-
--mdc-filled-text-field-focus-label-text-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
18
|
-
--mdc-outlined-text-field-caret-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
19
|
-
--mdc-outlined-text-field-focus-label-text-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
20
|
-
--mat-form-field-focus-select-arrow-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
21
|
-
--mdc-outlined-text-field-input-text-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
22
|
-
--mdc-outlined-text-field-focus-outline-width: 3px !important;
|
|
23
|
-
--mat-form-field-subscript-text-weight: 500;
|
|
24
|
-
--mat-form-field-container-text-size: 13px;
|
|
25
|
-
--mat-form-field-container-text-weight: 500;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
mat-hint {
|
|
30
|
-
color: #{mat.get-theme-color($m3-light-theme, tertiary, 50)};
|
|
31
|
-
font-size: 11px;
|
|
32
|
-
font-weight: 500;
|
|
33
|
-
letter-spacing: 0.022px;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
mat-label:not(.meu_item_label) {
|
|
37
|
-
color: #{mat.get-theme-color($m3-light-theme, tertiary, 50)};
|
|
38
|
-
position: relative;
|
|
39
|
-
bottom: 5px;
|
|
40
|
-
padding-left: 16px;
|
|
41
|
-
font-size: 11px;
|
|
42
|
-
font-weight: 500;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
--mat-menu-item-label-text-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
.
|
|
109
|
-
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
}
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@import "./color_themes.scss";
|
|
3
|
+
|
|
4
|
+
body {
|
|
5
|
+
.mat-mdc-form-field {
|
|
6
|
+
width: 100%;
|
|
7
|
+
--mdc-outlined-text-field-input-text-placeholder-color: #{mat.get-theme-color($m3-light-theme, tertiary, 50)};
|
|
8
|
+
// Custom outline color intentionally outside of color palette
|
|
9
|
+
--mdc-outlined-text-field-focus-outline-color: #0060DF;
|
|
10
|
+
--mdc-outlined-text-field-outline-color: #{mat.get-theme-color($m3-light-theme, tertiary, 90)};
|
|
11
|
+
--mdc-outlined-text-field-hover-outline-color: #{mat.get-theme-color($m3-light-theme, tertiary, 70)};
|
|
12
|
+
// Set/focused values should be a slightly darker tertiary30
|
|
13
|
+
--mat-select-focused-arrow-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
14
|
+
--mat-select-enabled-trigger-text-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
15
|
+
--mdc-filled-text-field-caret-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
16
|
+
--mdc-filled-text-field-focus-active-indicator-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
17
|
+
--mdc-filled-text-field-focus-label-text-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
18
|
+
--mdc-outlined-text-field-caret-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
19
|
+
--mdc-outlined-text-field-focus-label-text-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
20
|
+
--mat-form-field-focus-select-arrow-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
21
|
+
--mdc-outlined-text-field-input-text-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
22
|
+
--mdc-outlined-text-field-focus-outline-width: 3px !important;
|
|
23
|
+
--mat-form-field-subscript-text-weight: 500;
|
|
24
|
+
--mat-form-field-container-text-size: 13px;
|
|
25
|
+
--mat-form-field-container-text-weight: 500;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
mat-hint {
|
|
30
|
+
color: #{mat.get-theme-color($m3-light-theme, tertiary, 50)};
|
|
31
|
+
font-size: 11px;
|
|
32
|
+
font-weight: 500;
|
|
33
|
+
letter-spacing: 0.022px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
mat-label:not(.meu_item_label) {
|
|
37
|
+
color: #{mat.get-theme-color($m3-light-theme, tertiary, 50)};
|
|
38
|
+
position: relative;
|
|
39
|
+
bottom: 5px;
|
|
40
|
+
padding-left: 16px;
|
|
41
|
+
font-size: 11px;
|
|
42
|
+
font-weight: 500;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.mat-mdc-menu-item {
|
|
46
|
+
--mat-menu-item-label-text-size: 13px !important;
|
|
47
|
+
--mat-menu-item-label-text-weight: 500 !important;
|
|
48
|
+
--mat-menu-item-label-text-line-height: 20px !important;
|
|
49
|
+
--mat-menu-item-label-text-tracking: 0.2px !important;
|
|
50
|
+
--mat-menu-item-label-text-color: #{mat.get-theme-color($m3-light-theme,tertiary, 30)} !important;
|
|
51
|
+
.meu_item_label {
|
|
52
|
+
text-align: left;
|
|
53
|
+
text-underline-position: from-font;
|
|
54
|
+
text-decoration-skip-ink: none;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.required-input {
|
|
59
|
+
color: #{mat.get-theme-color($m3-light-theme, error, 40)};
|
|
60
|
+
position: relative;
|
|
61
|
+
bottom: 5px;
|
|
62
|
+
font-size: 11px;
|
|
63
|
+
font-weight: 500;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.mat-form-field-invalid {
|
|
67
|
+
--mdc-outlined-text-field-outline-width: 3px !important;
|
|
68
|
+
// See if we can remove this after updating date-picker scss
|
|
69
|
+
--mdc-outlined-text-field-error-outline-color: #{mat.get-theme-color($m3-light-theme,error,40)} !important;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.default-form-icon-color {
|
|
73
|
+
color: #{mat.get-theme-color($m3-light-theme, tertiary, 50)} !important;
|
|
74
|
+
.mat-mdc-icon-button.tonal mat-icon {
|
|
75
|
+
color: #{mat.get-theme-color($m3-light-theme, tertiary, 50)} !important;
|
|
76
|
+
& svg path {
|
|
77
|
+
fill: #{mat.get-theme-color($m3-light-theme, tertiary, 50)} !important;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
mat-form-field input::placeholder {
|
|
83
|
+
font-size: 13px;
|
|
84
|
+
font-style: normal;
|
|
85
|
+
font-weight: 500;
|
|
86
|
+
line-height: 20px;
|
|
87
|
+
letter-spacing: 0.2px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.mat-mdc-input-element {
|
|
91
|
+
overflow: hidden;
|
|
92
|
+
color: var(--Text, #{mat.get-theme-color($m3-light-theme,tertiary, 30)});
|
|
93
|
+
text-overflow: ellipsis;
|
|
94
|
+
font-size: 13px;
|
|
95
|
+
font-style: normal;
|
|
96
|
+
font-weight: 500;
|
|
97
|
+
line-height: 24px;
|
|
98
|
+
letter-spacing: 0.5px;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.mat-mdc-form-field-icon-suffix {
|
|
102
|
+
display: flex;
|
|
103
|
+
}
|
|
104
|
+
.mat-mdc-form-field-icon-prefix>.mat-icon {
|
|
105
|
+
padding: 0 8px !important;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.invalid-label-color {
|
|
109
|
+
color: #{mat.get-theme-color($m3-light-theme, error, 40)} !important;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
}
|