@byuhbll/components 2.0.3 → 2.1.1
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/package.json +4 -4
- package/styles/scss/_mixins.scss +36 -0
- package/styles/scss/_vars.scss +12 -0
- package/styles/scss/base.scss +225 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byuhbll/components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^18.0.0",
|
|
6
6
|
"@angular/core": "^18.0.0"
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
"sideEffects": false,
|
|
12
12
|
"exports": {
|
|
13
13
|
"./base": {
|
|
14
|
-
"sass": "./src/
|
|
14
|
+
"sass": "./src/styles/scss/base.scss"
|
|
15
15
|
},
|
|
16
16
|
"./_vars": {
|
|
17
|
-
"sass": "./src/
|
|
17
|
+
"sass": "./src/styles/scss/_vars.scss"
|
|
18
18
|
},
|
|
19
19
|
"./_mixins": {
|
|
20
|
-
"sass": "./src/
|
|
20
|
+
"sass": "./src/styles/scss/_mixins.scss"
|
|
21
21
|
},
|
|
22
22
|
"./package.json": {
|
|
23
23
|
"default": "./package.json"
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@use './vars';
|
|
2
|
+
|
|
3
|
+
%hbll-input-field {
|
|
4
|
+
appearance: none;
|
|
5
|
+
font-family: inherit;
|
|
6
|
+
padding: 0.38em;
|
|
7
|
+
border: solid 1px #707070;
|
|
8
|
+
border-radius: 4px;
|
|
9
|
+
font-size: 1em;
|
|
10
|
+
background-color: white;
|
|
11
|
+
&:focus {
|
|
12
|
+
border-color: vars.$primary-blue;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
%hbll-select-field-wrapper {
|
|
17
|
+
position: relative;
|
|
18
|
+
|
|
19
|
+
select {
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
padding-right: 2em;
|
|
22
|
+
}
|
|
23
|
+
&::after {
|
|
24
|
+
font-family: 'Material Symbols Outlined';
|
|
25
|
+
content: 'arrow_drop_down';
|
|
26
|
+
pointer-events: none;
|
|
27
|
+
top: 0;
|
|
28
|
+
font-size: 1.5em;
|
|
29
|
+
right: 0.2em;
|
|
30
|
+
height: 100%;
|
|
31
|
+
position: absolute;
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
opacity: 70%;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
@use './vars.scss';
|
|
2
|
+
|
|
3
|
+
$sourceSansProVersion: '1.0.0';
|
|
4
|
+
$icomoonVersion: '1.0.1';
|
|
5
|
+
|
|
6
|
+
// ---------------------------------------------------
|
|
7
|
+
// Fonts
|
|
8
|
+
// ---------------------------------------------------
|
|
9
|
+
|
|
10
|
+
// Source Sans Pro
|
|
11
|
+
|
|
12
|
+
@font-face {
|
|
13
|
+
font-family: 'Source Sans Pro';
|
|
14
|
+
font-style: normal;
|
|
15
|
+
font-weight: 300;
|
|
16
|
+
src: url('https://media.lib.byu.edu/web-assets/fonts/sourcesanspro/#{$sourceSansProVersion}/SourceSansPro-Light.ttf')
|
|
17
|
+
format('truetype');
|
|
18
|
+
font-display: swap;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@font-face {
|
|
22
|
+
font-family: 'Source Sans Pro';
|
|
23
|
+
font-style: normal;
|
|
24
|
+
font-weight: 400;
|
|
25
|
+
src: url('https://media.lib.byu.edu/web-assets/fonts/sourcesanspro/#{$sourceSansProVersion}/SourceSansPro-Regular.ttf')
|
|
26
|
+
format('truetype');
|
|
27
|
+
font-display: swap;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@font-face {
|
|
31
|
+
font-family: 'Source Sans Pro';
|
|
32
|
+
font-style: normal;
|
|
33
|
+
font-weight: 600;
|
|
34
|
+
src: url('https://media.lib.byu.edu/web-assets/fonts/sourcesanspro/#{$sourceSansProVersion}/SourceSansPro-Semibold.ttf')
|
|
35
|
+
format('truetype');
|
|
36
|
+
font-display: swap;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@font-face {
|
|
40
|
+
font-family: 'Source Sans Pro';
|
|
41
|
+
font-style: normal;
|
|
42
|
+
font-weight: 700;
|
|
43
|
+
src: url('https://media.lib.byu.edu/web-assets/fonts/sourcesanspro/#{$sourceSansProVersion}/SourceSansPro-Bold.ttf')
|
|
44
|
+
format('truetype');
|
|
45
|
+
font-display: swap;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// Italics
|
|
49
|
+
|
|
50
|
+
@font-face {
|
|
51
|
+
font-family: 'Source Sans Pro';
|
|
52
|
+
font-style: italic;
|
|
53
|
+
font-weight: 300;
|
|
54
|
+
src: url('https://media.lib.byu.edu/web-assets/fonts/sourcesanspro/#{$sourceSansProVersion}/SourceSansPro-LightItalic.ttf')
|
|
55
|
+
format('truetype');
|
|
56
|
+
font-display: swap;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@font-face {
|
|
60
|
+
font-family: 'Source Sans Pro';
|
|
61
|
+
font-style: italic;
|
|
62
|
+
font-weight: 400;
|
|
63
|
+
src: url('https://media.lib.byu.edu/web-assets/fonts/sourcesanspro/#{$sourceSansProVersion}/SourceSansPro-Italic.ttf')
|
|
64
|
+
format('truetype');
|
|
65
|
+
font-display: swap;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@font-face {
|
|
69
|
+
font-family: 'Source Sans Pro';
|
|
70
|
+
font-style: italic;
|
|
71
|
+
font-weight: 600;
|
|
72
|
+
src: url('https://media.lib.byu.edu/web-assets/fonts/sourcesanspro/#{$sourceSansProVersion}/SourceSansPro-SemiboldItalic.ttf')
|
|
73
|
+
format('truetype');
|
|
74
|
+
font-display: swap;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@font-face {
|
|
78
|
+
font-family: 'Source Sans Pro';
|
|
79
|
+
font-style: italic;
|
|
80
|
+
font-weight: 700;
|
|
81
|
+
src: url('https://media.lib.byu.edu/web-assets/fonts/sourcesanspro/#{$sourceSansProVersion}/SourceSansPro-BoldItalic.ttf')
|
|
82
|
+
format('truetype');
|
|
83
|
+
font-display: swap;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
// ---------------------------------------------------
|
|
87
|
+
// Reset
|
|
88
|
+
// ---------------------------------------------------
|
|
89
|
+
|
|
90
|
+
html {
|
|
91
|
+
border: 0;
|
|
92
|
+
margin: 0;
|
|
93
|
+
padding: 0;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
body,
|
|
97
|
+
div,
|
|
98
|
+
span,
|
|
99
|
+
object,
|
|
100
|
+
iframe,
|
|
101
|
+
h1,
|
|
102
|
+
h2,
|
|
103
|
+
h3,
|
|
104
|
+
h4,
|
|
105
|
+
h5,
|
|
106
|
+
h6,
|
|
107
|
+
p,
|
|
108
|
+
blockquote,
|
|
109
|
+
pre,
|
|
110
|
+
a,
|
|
111
|
+
abbr,
|
|
112
|
+
acronym,
|
|
113
|
+
address,
|
|
114
|
+
code,
|
|
115
|
+
del,
|
|
116
|
+
dfn,
|
|
117
|
+
em,
|
|
118
|
+
img,
|
|
119
|
+
q,
|
|
120
|
+
dl,
|
|
121
|
+
dt,
|
|
122
|
+
dd,
|
|
123
|
+
ol,
|
|
124
|
+
ul,
|
|
125
|
+
li,
|
|
126
|
+
fieldset,
|
|
127
|
+
form,
|
|
128
|
+
label,
|
|
129
|
+
legend,
|
|
130
|
+
table,
|
|
131
|
+
caption,
|
|
132
|
+
tbody,
|
|
133
|
+
tfoot,
|
|
134
|
+
thead,
|
|
135
|
+
tr,
|
|
136
|
+
th,
|
|
137
|
+
td,
|
|
138
|
+
article,
|
|
139
|
+
aside,
|
|
140
|
+
dialog,
|
|
141
|
+
figure,
|
|
142
|
+
footer,
|
|
143
|
+
header,
|
|
144
|
+
hgroup,
|
|
145
|
+
nav,
|
|
146
|
+
section {
|
|
147
|
+
border: 0;
|
|
148
|
+
font-size: 100%;
|
|
149
|
+
font: inherit;
|
|
150
|
+
margin: 0;
|
|
151
|
+
padding: 0;
|
|
152
|
+
vertical-align: baseline;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
article,
|
|
156
|
+
aside,
|
|
157
|
+
details,
|
|
158
|
+
figcaption,
|
|
159
|
+
figure,
|
|
160
|
+
dialog,
|
|
161
|
+
footer,
|
|
162
|
+
header,
|
|
163
|
+
hgroup,
|
|
164
|
+
menu,
|
|
165
|
+
nav,
|
|
166
|
+
section {
|
|
167
|
+
display: block;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
body {
|
|
171
|
+
background: white;
|
|
172
|
+
line-height: 1.5;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
table {
|
|
176
|
+
border-collapse: separate;
|
|
177
|
+
border-spacing: 0;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
caption,
|
|
181
|
+
th,
|
|
182
|
+
td {
|
|
183
|
+
float: none !important;
|
|
184
|
+
font-weight: normal;
|
|
185
|
+
text-align: left;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
table,
|
|
189
|
+
th,
|
|
190
|
+
td {
|
|
191
|
+
vertical-align: middle;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
blockquote:before,
|
|
195
|
+
blockquote:after,
|
|
196
|
+
q:before,
|
|
197
|
+
q:after {
|
|
198
|
+
content: '';
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
blockquote,
|
|
202
|
+
q {
|
|
203
|
+
quotes: '' '';
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
a {
|
|
207
|
+
text-decoration: none;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
a img {
|
|
211
|
+
border: none;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
ul {
|
|
215
|
+
list-style: none;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
*,
|
|
219
|
+
*::before,
|
|
220
|
+
*::after {
|
|
221
|
+
-moz-box-sizing: border-box;
|
|
222
|
+
-ms-box-sizing: border-box;
|
|
223
|
+
-webkit-box-sizing: border-box;
|
|
224
|
+
box-sizing: border-box;
|
|
225
|
+
}
|