@carefirst/library 1.0.3 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/components/button/button.component.mjs +26 -16
- package/esm2022/lib/components/icon/icon.component.mjs +7 -8
- package/esm2022/lib/components/page/page.component.mjs +7 -7
- package/esm2022/lib/components/spacer/spacer.component.mjs +8 -8
- package/esm2022/lib/directives/button-loader.directive.mjs +8 -8
- package/esm2022/lib/interfaces/icon.interface.mjs +3 -2
- package/esm2022/lib/interfaces/spacer.interface.mjs +2 -0
- package/esm2022/lib/library.module.mjs +5 -5
- package/esm2022/lib/utils/attribute.util.mjs +10 -4
- package/esm2022/public-api.mjs +1 -1
- package/fesm2022/carefirst-library.mjs +64 -48
- package/fesm2022/carefirst-library.mjs.map +1 -1
- package/lib/components/button/button.component.d.ts +1 -0
- package/lib/components/icon/icon.component.d.ts +1 -4
- package/lib/components/spacer/spacer.component.d.ts +1 -3
- package/lib/interfaces/icon.interface.d.ts +4 -2
- package/lib/interfaces/spacer.interface.d.ts +3 -0
- package/lib/utils/attribute.util.d.ts +3 -3
- package/package.json +4 -4
- package/public/styles/app.scss +7 -2
- package/public/styles/font.scss +30 -20
- package/public/styles/fonts/Mulish-200.ttf +0 -0
- package/public/styles/fonts/Mulish-300.ttf +0 -0
- package/public/styles/fonts/Mulish-400.ttf +0 -0
- package/public/styles/fonts/Mulish-500.ttf +0 -0
- package/public/styles/fonts/Mulish-600.ttf +0 -0
- package/public/styles/fonts/Mulish-700.ttf +0 -0
- package/public/styles/fonts/Mulish-800.ttf +0 -0
- package/public/styles/fonts/Mulish-900.ttf +0 -0
- package/public/styles/fonts/Roboto-100.woff2 +0 -0
- package/public/styles/fonts/Roboto-300.woff2 +0 -0
- package/public/styles/fonts/Roboto-400.woff2 +0 -0
- package/public/styles/fonts/Roboto-500.woff2 +0 -0
- package/public/styles/fonts/Roboto-700.woff2 +0 -0
- package/public/styles/fonts/Roboto-900.woff2 +0 -0
- package/public/styles/forms.scss +39 -9
package/public/styles/font.scss
CHANGED
@@ -1,73 +1,73 @@
|
|
1
1
|
@font-face {
|
2
2
|
font-family: 'Mulish';
|
3
3
|
font-weight: 200;
|
4
|
-
src: url(
|
4
|
+
src: url(./fonts/Mulish-200.ttf) format('truetype');
|
5
5
|
}
|
6
6
|
@font-face {
|
7
7
|
font-family: 'Mulish';
|
8
8
|
font-weight: 300;
|
9
|
-
src: url(
|
9
|
+
src: url(./fonts/Mulish-300.ttf) format('truetype');
|
10
10
|
}
|
11
11
|
@font-face {
|
12
12
|
font-family: 'Mulish';
|
13
13
|
font-weight: 400;
|
14
|
-
src: url(
|
14
|
+
src: url(./fonts/Mulish-400.ttf) format('truetype');
|
15
15
|
}
|
16
16
|
@font-face {
|
17
17
|
font-family: 'Mulish';
|
18
18
|
font-weight: 500;
|
19
|
-
src: url(
|
19
|
+
src: url(./fonts/Mulish-500.ttf) format('truetype');
|
20
20
|
}
|
21
21
|
@font-face {
|
22
22
|
font-family: 'Mulish';
|
23
23
|
font-weight: 600;
|
24
|
-
src: url(
|
24
|
+
src: url(./fonts/Mulish-600.ttf) format('truetype');
|
25
25
|
}
|
26
26
|
@font-face {
|
27
27
|
font-family: 'Mulish';
|
28
28
|
font-weight: 700;
|
29
|
-
src: url(
|
29
|
+
src: url(./fonts/Mulish-700.ttf) format('truetype');
|
30
30
|
}
|
31
31
|
@font-face {
|
32
32
|
font-family: 'Mulish';
|
33
33
|
font-weight: 800;
|
34
|
-
src: url(
|
34
|
+
src: url(./fonts/Mulish-800.ttf) format('truetype');
|
35
35
|
}
|
36
36
|
@font-face {
|
37
37
|
font-family: 'Mulish';
|
38
38
|
font-weight: 900;
|
39
|
-
src: url(
|
39
|
+
src: url(./fonts/Mulish-900.ttf) format('truetype');
|
40
40
|
}
|
41
41
|
//--- Roboto
|
42
42
|
@font-face {
|
43
43
|
font-family: 'Roboto';
|
44
44
|
font-weight: 100;
|
45
|
-
src: url(
|
45
|
+
src: url(./fonts/Roboto-100.woff2) format('woff2');
|
46
46
|
}
|
47
47
|
@font-face {
|
48
48
|
font-family: 'Roboto';
|
49
49
|
font-weight: 300;
|
50
|
-
src: url(
|
50
|
+
src: url(./fonts/Roboto-300.woff2) format('woff2');
|
51
51
|
}
|
52
52
|
@font-face {
|
53
53
|
font-family: 'Roboto';
|
54
54
|
font-weight: 400;
|
55
|
-
src: url(
|
55
|
+
src: url(./fonts/Roboto-400.woff2) format('woff2');
|
56
56
|
}
|
57
57
|
@font-face {
|
58
58
|
font-family: 'Roboto';
|
59
59
|
font-weight: 500;
|
60
|
-
src: url(
|
60
|
+
src: url(./fonts/Roboto-500.woff2) format('woff2');
|
61
61
|
}
|
62
62
|
@font-face {
|
63
63
|
font-family: 'Roboto';
|
64
64
|
font-weight: 700;
|
65
|
-
src: url(
|
65
|
+
src: url(./fonts/Roboto-700.woff2) format('woff2');
|
66
66
|
}
|
67
67
|
@font-face {
|
68
68
|
font-family: 'Roboto';
|
69
69
|
font-weight: 900;
|
70
|
-
src: url(
|
70
|
+
src: url(./fonts/Roboto-900.woff2) format('woff2');
|
71
71
|
}
|
72
72
|
|
73
73
|
/*===============================================
|
@@ -75,10 +75,9 @@
|
|
75
75
|
===============================================*/
|
76
76
|
|
77
77
|
:root {
|
78
|
-
--cf-app-text-color-default: #
|
78
|
+
--cf-app-text-color-default: #000;
|
79
79
|
--cf-app-text-color-light: #fff;
|
80
|
-
--cf-app-text-color-
|
81
|
-
--cf-app-text-color-alt2: #9d9d9d;
|
80
|
+
--cf-app-text-color-grey: #6b6b6b;
|
82
81
|
}
|
83
82
|
|
84
83
|
/*===============================================
|
@@ -105,7 +104,7 @@ h4 {
|
|
105
104
|
font-weight: 900;
|
106
105
|
margin: 0;
|
107
106
|
display: inline-block;
|
108
|
-
color: var(--cf-app-color-
|
107
|
+
color: var(--cf-app-text-color-default);
|
109
108
|
}
|
110
109
|
|
111
110
|
h1.light,
|
@@ -115,6 +114,13 @@ h4.light {
|
|
115
114
|
color: var(--cf-app-text-color-light);
|
116
115
|
}
|
117
116
|
|
117
|
+
h1.grey,
|
118
|
+
h2.grey,
|
119
|
+
h3.grey,
|
120
|
+
h4.grey {
|
121
|
+
color: var(--cf-app-text-color-grey);
|
122
|
+
}
|
123
|
+
|
118
124
|
/*================== Mobile ==================*/
|
119
125
|
h1 {
|
120
126
|
font-size: 4.2rem;
|
@@ -166,14 +172,18 @@ p {
|
|
166
172
|
color: var(--cf-app-color-primary);
|
167
173
|
}
|
168
174
|
|
169
|
-
p
|
175
|
+
p.bold {
|
170
176
|
font-weight: 500;
|
171
177
|
}
|
172
178
|
|
173
|
-
p
|
179
|
+
p.light {
|
174
180
|
color: var(--cf-app-text-color-light);
|
175
181
|
}
|
176
182
|
|
183
|
+
p.grey {
|
184
|
+
color: var(--cf-app-text-color-grey);
|
185
|
+
}
|
186
|
+
|
177
187
|
/*================== Mobile ==================*/
|
178
188
|
|
179
189
|
p.body-large {
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
package/public/styles/forms.scss
CHANGED
@@ -1,17 +1,47 @@
|
|
1
|
-
|
1
|
+
/*===============================================
|
2
|
+
================== Form Items ===================
|
3
|
+
===============================================*/
|
2
4
|
ion-input,
|
3
5
|
ion-textarea,
|
4
|
-
ion-select
|
6
|
+
ion-select,
|
7
|
+
ion-radio {
|
8
|
+
font-family: 'Roboto', sans-serif;
|
9
|
+
font-weight: 400;
|
10
|
+
font-style: normal;
|
11
|
+
font-size: 1.6rem;
|
12
|
+
color: var(--cf-app-color-primary);
|
13
|
+
text-align: start;
|
14
|
+
--border-radius: 8px !important; //--- important overrides the fill option
|
15
|
+
--highlight-color-focused: var(--cf-app-color-primary);
|
16
|
+
--highlight-color-invalid: var(--cf-app-system-color-error);
|
17
|
+
--highlight-color-valid: var(--cf-app-color-primary);
|
18
|
+
|
5
19
|
label {
|
6
|
-
font-family:
|
20
|
+
font-family: 'Roboto', sans-serif;
|
7
21
|
font-weight: 400;
|
8
22
|
font-style: normal;
|
9
23
|
font-size: 1.6rem;
|
10
|
-
color: var(--app-color-primary);
|
24
|
+
color: var(--cf-app-color-primary);
|
25
|
+
text-align: start;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
/*===============================================
|
30
|
+
================ Select Popovers ================
|
31
|
+
===============================================*/
|
32
|
+
|
33
|
+
ion-popover {
|
34
|
+
ion-select-popover {
|
35
|
+
ion-list[class*='popover'] {
|
36
|
+
background: var(--cf-app-background-light);
|
37
|
+
ion-item[class*='popover'] {
|
38
|
+
--background: transparent;
|
39
|
+
--border-radius: 8px;
|
40
|
+
--background-focused: var(--cf-app-color-accent);
|
41
|
+
--background-focused-opacity: 0.5;
|
42
|
+
--background-hover: var(--cf-app-color-primary);
|
43
|
+
--background-hover-opacity: 0.1;
|
44
|
+
}
|
45
|
+
}
|
11
46
|
}
|
12
|
-
--border-radius: 8px !important; //--- important overrides the fill option
|
13
|
-
--highlight-color-focused: var(--app-color-primary) !important;
|
14
|
-
--highlight-color-invalid: var(app-system-color-error) !important;
|
15
|
-
--highlight-color-valid: var(--app-color-primary) !important;
|
16
|
-
text-align: start;
|
17
47
|
}
|