@civicactions/cmsds-open-data-components 2.1.1 → 3.0.0-alpha.2
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/dist/main.css +4 -0
- package/dist/main.css.map +1 -1
- package/dist/main.js +185 -181
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
- package/dist/scss/components/additional-information-table.scss +0 -9
- package/dist/scss/components/breadcrumb.scss +0 -32
- package/dist/scss/components/dataset-downloads.scss +0 -0
- package/dist/scss/components/dataset-search-facets.scss +0 -10
- package/dist/scss/components/dataset-search-list-item.scss +0 -20
- package/dist/scss/components/dataset-tags.scss +0 -4
- package/dist/scss/components/datatable.scss +0 -24
- package/dist/scss/components/index.scss +0 -9
- package/dist/scss/components/pagination.scss +0 -59
- package/dist/scss/components/resource-information-table.scss +0 -5
- package/dist/scss/index.scss +0 -24
- package/dist/scss/templates/dataset-search.scss +0 -38
- package/dist/scss/templates/dataset.scss +0 -44
- package/dist/scss/templates/filtered-resource.scss +0 -19
- package/dist/scss/templates/footer.scss +0 -83
- package/dist/scss/templates/header.scss +0 -402
- package/dist/scss/templates/index.scss +0 -7
- package/dist/scss/templates/query-builder.scss +0 -22
- package/dist/scss/templates/swagger.scss +0 -21
|
@@ -1,402 +0,0 @@
|
|
|
1
|
-
@import '~@cmsgov/design-system/dist/scss/settings/variables/color';
|
|
2
|
-
|
|
3
|
-
.ds-c-usa-banner__button-text {
|
|
4
|
-
&::after {
|
|
5
|
-
width: 0 !important;
|
|
6
|
-
height: 0 !important;
|
|
7
|
-
margin: 0 !important;
|
|
8
|
-
padding: 0 !important;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.dc-c-mobile-menu--open {
|
|
13
|
-
color: $color-white;
|
|
14
|
-
text-decoration: none;
|
|
15
|
-
&::before {
|
|
16
|
-
font-family: 'Font Awesome 5 Pro';
|
|
17
|
-
content: '\f0c9';
|
|
18
|
-
color: $color-white;
|
|
19
|
-
font-size: 18px;
|
|
20
|
-
padding-right: 10px;
|
|
21
|
-
display: inline-block;
|
|
22
|
-
line-height: 18px;
|
|
23
|
-
height: 18px;
|
|
24
|
-
width: 18px;
|
|
25
|
-
margin-left: 10px;
|
|
26
|
-
text-align: center;
|
|
27
|
-
vertical-align: middle;
|
|
28
|
-
font-weight: lighter;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.dc-c-mobile-menu--close {
|
|
33
|
-
color: $color-white;
|
|
34
|
-
text-decoration: none;
|
|
35
|
-
padding-left: 0;
|
|
36
|
-
padding-bottom: 16px;
|
|
37
|
-
&::before {
|
|
38
|
-
font-family: 'Font Awesome 5 Pro';
|
|
39
|
-
content: '\f00d';
|
|
40
|
-
color: $color-white;
|
|
41
|
-
font-size: 18px;
|
|
42
|
-
padding-right: 10px;
|
|
43
|
-
display: inline-block;
|
|
44
|
-
line-height: 18px;
|
|
45
|
-
height: 18px;
|
|
46
|
-
width: 18px;
|
|
47
|
-
text-align: center;
|
|
48
|
-
vertical-align: middle;
|
|
49
|
-
font-weight: lighter;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.dc-c-mobile-header--menu {
|
|
54
|
-
position: fixed;
|
|
55
|
-
background-color: $color-gray-dark;
|
|
56
|
-
top: 0;
|
|
57
|
-
bottom: 0;
|
|
58
|
-
left: -100%;
|
|
59
|
-
z-index: 500;
|
|
60
|
-
height: 100%;
|
|
61
|
-
width: 100%;
|
|
62
|
-
transition: left 0.7s;
|
|
63
|
-
padding: 50px 0;
|
|
64
|
-
visibility: hidden;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.dc-c-mobile-header .dc-c-site-menu--sub-menu {
|
|
68
|
-
position: relative;
|
|
69
|
-
background: transparent;
|
|
70
|
-
top: -24px;
|
|
71
|
-
width: auto;
|
|
72
|
-
left: auto;
|
|
73
|
-
a {
|
|
74
|
-
padding: 8px;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.dc-c-cmsheader {
|
|
79
|
-
position: relative;
|
|
80
|
-
background: white;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.dc-c-cms-mobile-header-menu {
|
|
84
|
-
&::before {
|
|
85
|
-
display: block;
|
|
86
|
-
margin-left: 8px;
|
|
87
|
-
margin-bottom: 16px;
|
|
88
|
-
width: 48px;
|
|
89
|
-
height: 2px;
|
|
90
|
-
background: $color-primary-alt-light;
|
|
91
|
-
content: '';
|
|
92
|
-
}
|
|
93
|
-
ul {
|
|
94
|
-
list-style: none;
|
|
95
|
-
margin: 0;
|
|
96
|
-
padding: 0;
|
|
97
|
-
}
|
|
98
|
-
a,
|
|
99
|
-
a:hover,
|
|
100
|
-
a:focus,
|
|
101
|
-
a:visited {
|
|
102
|
-
background-color: transparent;
|
|
103
|
-
display: inline-block;
|
|
104
|
-
color: $color-white;
|
|
105
|
-
text-decoration: none;
|
|
106
|
-
border-bottom: 2px solid transparent;
|
|
107
|
-
}
|
|
108
|
-
a:hover,
|
|
109
|
-
a:active {
|
|
110
|
-
border-bottom: 2px solid $color-primary-alt-light;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
.has-submenu > button::after {
|
|
114
|
-
font-family: 'Font Awesome 5 Pro';
|
|
115
|
-
content: '\f105';
|
|
116
|
-
color: $color-white;
|
|
117
|
-
font-size: 18px;
|
|
118
|
-
padding-right: 10px;
|
|
119
|
-
display: inline-block;
|
|
120
|
-
line-height: 18px;
|
|
121
|
-
height: 18px;
|
|
122
|
-
width: 18px;
|
|
123
|
-
margin-left: 10px;
|
|
124
|
-
text-align: center;
|
|
125
|
-
vertical-align: middle;
|
|
126
|
-
font-weight: lighter;
|
|
127
|
-
}
|
|
128
|
-
.has-submenu.open > button::after {
|
|
129
|
-
content: '\f107';
|
|
130
|
-
}
|
|
131
|
-
.dc-c-header--mobile-links {
|
|
132
|
-
button {
|
|
133
|
-
padding: 0;
|
|
134
|
-
font-weight: 700;
|
|
135
|
-
}
|
|
136
|
-
a {
|
|
137
|
-
display: block;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.dc-c-mobile-header.menu-open {
|
|
142
|
-
.dc-c-cmsheader {
|
|
143
|
-
z-index: 501;
|
|
144
|
-
background-color: transparent;
|
|
145
|
-
}
|
|
146
|
-
.dc-c-cmsheader-menu a,
|
|
147
|
-
button {
|
|
148
|
-
color: $color-white;
|
|
149
|
-
}
|
|
150
|
-
.cms-link-container a::before {
|
|
151
|
-
color: $color-white;
|
|
152
|
-
}
|
|
153
|
-
.dc-c-mobile-header--menu {
|
|
154
|
-
left: 0;
|
|
155
|
-
visibility: visible;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.cms-link-container {
|
|
160
|
-
display: block;
|
|
161
|
-
margin-right: 20px;
|
|
162
|
-
// margin-top: -5px;
|
|
163
|
-
border-right: none;
|
|
164
|
-
a {
|
|
165
|
-
text-decoration: none;
|
|
166
|
-
border-bottom: none;
|
|
167
|
-
|
|
168
|
-
margin-right: 20px;
|
|
169
|
-
display: inline-block;
|
|
170
|
-
}
|
|
171
|
-
a::before {
|
|
172
|
-
font-family: 'Font Awesome 5 Pro';
|
|
173
|
-
content: '\f33e';
|
|
174
|
-
color: #323a45;
|
|
175
|
-
font-size: 18px;
|
|
176
|
-
padding-right: 10px;
|
|
177
|
-
display: inline-block;
|
|
178
|
-
line-height: 18px;
|
|
179
|
-
height: 18px;
|
|
180
|
-
width: 18px;
|
|
181
|
-
margin-left: 10px;
|
|
182
|
-
text-align: center;
|
|
183
|
-
vertical-align: middle;
|
|
184
|
-
font-weight: lighter;
|
|
185
|
-
}
|
|
186
|
-
img {
|
|
187
|
-
height: auto;
|
|
188
|
-
width: 90px;
|
|
189
|
-
display: inline-block;
|
|
190
|
-
vertical-align: middle;
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
.cms-text-container {
|
|
195
|
-
display: block;
|
|
196
|
-
padding-top: 28px;
|
|
197
|
-
color: #6f757c;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.dc-c-cmsheader-menu {
|
|
201
|
-
padding: 0;
|
|
202
|
-
margin: 0;
|
|
203
|
-
li {
|
|
204
|
-
list-style: none;
|
|
205
|
-
}
|
|
206
|
-
a {
|
|
207
|
-
margin: 3px 7px;
|
|
208
|
-
padding: 0;
|
|
209
|
-
color: #323a45;
|
|
210
|
-
text-decoration: none;
|
|
211
|
-
border-bottom: 1px solid;
|
|
212
|
-
border-bottom-color: #eee;
|
|
213
|
-
border-bottom-color: rgba(255, 255, 255, 0.2);
|
|
214
|
-
}
|
|
215
|
-
a:hover,
|
|
216
|
-
a:active {
|
|
217
|
-
border-bottom: 2px solid #323a45;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
@media (min-width: 544px) {
|
|
222
|
-
.dc-c-main-navigation--search,
|
|
223
|
-
.dc-c-mobile-menu--search {
|
|
224
|
-
border-left: 1px solid $color-white;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
@media (min-width: 1024px) {
|
|
229
|
-
.cms-link-container {
|
|
230
|
-
height: 85px;
|
|
231
|
-
width: 240px;
|
|
232
|
-
float: left;
|
|
233
|
-
border-right: 1px solid #d6d7d9;
|
|
234
|
-
a {
|
|
235
|
-
margin-top: 28px;
|
|
236
|
-
margin-bottom: 20px;
|
|
237
|
-
}
|
|
238
|
-
img {
|
|
239
|
-
height: auto;
|
|
240
|
-
width: auto;
|
|
241
|
-
display: inline-block;
|
|
242
|
-
vertical-align: middle;
|
|
243
|
-
max-width: 80%;
|
|
244
|
-
}
|
|
245
|
-
a::before {
|
|
246
|
-
font-size: 28px;
|
|
247
|
-
line-height: 28px;
|
|
248
|
-
width: 28px;
|
|
249
|
-
height: 28px;
|
|
250
|
-
// margin-top: -35px;
|
|
251
|
-
margin-left: 0;
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
// .dc-c-main-navigation {
|
|
257
|
-
// background-image: linear-gradient(90deg, $color-primary-darkest 10%,$color-primary 90%);
|
|
258
|
-
// }
|
|
259
|
-
|
|
260
|
-
header.dc-c-header .dc-c-main-navigation--search {
|
|
261
|
-
button {
|
|
262
|
-
&:focus {
|
|
263
|
-
background-color: transparent;
|
|
264
|
-
outline: 3px solid #bd13b8;
|
|
265
|
-
box-shadow: none;
|
|
266
|
-
outline-offset: inherit;
|
|
267
|
-
border-radius: 0px;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
nav.dc-c-site-menu {
|
|
273
|
-
.dc-c-header--links {
|
|
274
|
-
padding: 0;
|
|
275
|
-
margin: 0;
|
|
276
|
-
li {
|
|
277
|
-
list-style: none;
|
|
278
|
-
height: 100%;
|
|
279
|
-
}
|
|
280
|
-
button {
|
|
281
|
-
color: $color-white;
|
|
282
|
-
text-decoration: none;
|
|
283
|
-
font-size: 16px;
|
|
284
|
-
border: none;
|
|
285
|
-
span {
|
|
286
|
-
border-bottom: 2px solid transparent;
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
a {
|
|
290
|
-
text-decoration: none;
|
|
291
|
-
color: $color-white;
|
|
292
|
-
span {
|
|
293
|
-
border-bottom: 2px solid transparent;
|
|
294
|
-
}
|
|
295
|
-
&:focus {
|
|
296
|
-
background-color: transparent;
|
|
297
|
-
outline: 3px solid #bd13b8;
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
button {
|
|
301
|
-
&:focus {
|
|
302
|
-
background-color: transparent;
|
|
303
|
-
outline: 3px solid #bd13b8;
|
|
304
|
-
box-shadow: none;
|
|
305
|
-
outline-offset: inherit;
|
|
306
|
-
border-radius: 0px;
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
> li:hover > button span,
|
|
310
|
-
> li button:focus span,
|
|
311
|
-
> li button:hover span,
|
|
312
|
-
> li:hover > a span,
|
|
313
|
-
> li:focus > a span,
|
|
314
|
-
> li a:hover span,
|
|
315
|
-
> li a:focus span {
|
|
316
|
-
border-bottom: 2px solid $color-primary-alt-light;
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
nav > ul li ul {
|
|
322
|
-
display: none;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
nav > ul li.open ul {
|
|
326
|
-
display: block;
|
|
327
|
-
}
|
|
328
|
-
li.has-submenu {
|
|
329
|
-
position: relative;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
.dc-c-site-menu--sub-menu {
|
|
333
|
-
background: $color-primary;
|
|
334
|
-
position: absolute;
|
|
335
|
-
left: 0;
|
|
336
|
-
top: 48px;
|
|
337
|
-
margin: 0;
|
|
338
|
-
padding: 0;
|
|
339
|
-
width: 300px;
|
|
340
|
-
a {
|
|
341
|
-
display: block;
|
|
342
|
-
padding: 16px;
|
|
343
|
-
span {
|
|
344
|
-
border-bottom: 2px solid transparent;
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
a:hover span,
|
|
348
|
-
a:focus span {
|
|
349
|
-
border-bottom: 2px solid $color-primary-alt-light;
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
.dc-c-site-title a {
|
|
354
|
-
text-decoration: none;
|
|
355
|
-
color: $color-white;
|
|
356
|
-
display: inline-block;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
div.ds-c-dialog-wrap {
|
|
360
|
-
background-color: rgba(0, 113, 188, 0.9);
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
div.ds-c-dialog {
|
|
364
|
-
background-color: transparent;
|
|
365
|
-
box-shadow: none;
|
|
366
|
-
color: $color-white;
|
|
367
|
-
width: 100%;
|
|
368
|
-
height: 100%;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
div.ds-c-dialog button {
|
|
372
|
-
background-color: transparent;
|
|
373
|
-
}
|
|
374
|
-
.ds-c-dialog__header .ds-c-dialog__close {
|
|
375
|
-
color: $color-white;
|
|
376
|
-
background: none;
|
|
377
|
-
position: absolute;
|
|
378
|
-
top: 24px;
|
|
379
|
-
right: 24px;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
.dc-c-mobile-menu--search {
|
|
383
|
-
display: inherit;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
.dc-c-search-modal--button {
|
|
387
|
-
&::before {
|
|
388
|
-
font-family: 'Font Awesome 5 Pro';
|
|
389
|
-
content: '\f002';
|
|
390
|
-
color: $color-white;
|
|
391
|
-
font-size: 18px;
|
|
392
|
-
padding-right: 10px;
|
|
393
|
-
display: inline-block;
|
|
394
|
-
line-height: 18px;
|
|
395
|
-
height: 18px;
|
|
396
|
-
width: 18px;
|
|
397
|
-
margin-left: 10px;
|
|
398
|
-
text-align: center;
|
|
399
|
-
vertical-align: middle;
|
|
400
|
-
font-weight: lighter;
|
|
401
|
-
}
|
|
402
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
.dc-query-builder .ds-c-accordion__content {
|
|
2
|
-
padding-bottom: 0 !important;
|
|
3
|
-
max-height: 24rem;
|
|
4
|
-
}
|
|
5
|
-
.dc-query-builder form {
|
|
6
|
-
position: relative;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.dc-query-bulder--form-buttons {
|
|
10
|
-
position: sticky;
|
|
11
|
-
position: -webkit-sticky;
|
|
12
|
-
width: 100%;
|
|
13
|
-
bottom: 0;
|
|
14
|
-
background-color: white;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.dc-query-builder .ds-c-accordion__heading > .ds-c-accordion__button {
|
|
18
|
-
align-items: center;
|
|
19
|
-
display: flex;
|
|
20
|
-
justify-content: space-between;
|
|
21
|
-
padding: 16px 24px 16px 24px;
|
|
22
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// Swagger overrides
|
|
2
|
-
.swagger-ui .opblock .opblock-summary-path {
|
|
3
|
-
flex-shrink: 1 !important;
|
|
4
|
-
max-width: calc(100% - 110px) !important;
|
|
5
|
-
}
|
|
6
|
-
.swagger-ui .opblock .opblock-summary-method {
|
|
7
|
-
min-width: auto !important;
|
|
8
|
-
@media (min-width: 765px) {
|
|
9
|
-
min-width: 80px !important;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.swagger-ui .opblock-tag-section {
|
|
14
|
-
min-width: 460px;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@media (max-width: 544px) {
|
|
18
|
-
.swagger-ui .opblock-tag small {
|
|
19
|
-
flex: initial;
|
|
20
|
-
}
|
|
21
|
-
}
|