@civicactions/cmsds-open-data-components 3.9.0-alpha.1 → 3.9.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.js +44 -39
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -4420,29 +4420,26 @@ const $550bcc185f420ff5$var$DatasetList = ({ rootUrl: rootUrl, enableSort: enabl
|
|
|
4420
4420
|
children: [
|
|
4421
4421
|
/*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
4422
4422
|
className: "ds-l-row",
|
|
4423
|
-
children: /*#__PURE__*/ (0, $hgUW1$
|
|
4423
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
4424
4424
|
className: "ds-l-col--12",
|
|
4425
|
-
children:
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
className: "ds-l-
|
|
4429
|
-
children: /*#__PURE__*/ (0, $hgUW1$jsx)(
|
|
4430
|
-
|
|
4431
|
-
children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
heading: "Please read before downloading datasets",
|
|
4436
|
-
children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $3b2d31a9c6cd2284$export$2e2bcd8739ae039), {})
|
|
4437
|
-
})
|
|
4425
|
+
children: showLargeFileWarning && /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
4426
|
+
className: "ds-l-row ds-u-margin-bottom--2 ds-u-margin-top--4",
|
|
4427
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
4428
|
+
className: "ds-l-md-col--12",
|
|
4429
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Accordion), {
|
|
4430
|
+
bordered: true,
|
|
4431
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$AccordionItem), {
|
|
4432
|
+
contentClassName: "downloading-datasets",
|
|
4433
|
+
heading: "Please read before downloading datasets",
|
|
4434
|
+
children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $3b2d31a9c6cd2284$export$2e2bcd8739ae039), {})
|
|
4438
4435
|
})
|
|
4439
4436
|
})
|
|
4440
4437
|
})
|
|
4441
|
-
|
|
4438
|
+
})
|
|
4442
4439
|
})
|
|
4443
4440
|
}),
|
|
4444
4441
|
/*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
4445
|
-
className: "ds-l-row
|
|
4442
|
+
className: "ds-l-row",
|
|
4446
4443
|
children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
4447
4444
|
className: "ds-l-col--12",
|
|
4448
4445
|
children: isPending ? /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Spinner), {
|
|
@@ -4454,32 +4451,40 @@ const $550bcc185f420ff5$var$DatasetList = ({ rootUrl: rootUrl, enableSort: enabl
|
|
|
4454
4451
|
/*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
|
|
4455
4452
|
className: "ds-u-display--flex ds-u-justify-content--between ds-u-align-items--end ds-u-flex-wrap--reverse ds-u-sm-flex-wrap--wrap",
|
|
4456
4453
|
children: [
|
|
4457
|
-
|
|
4454
|
+
/*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
|
|
4458
4455
|
className: "ds-l-col--12 ds-l-sm-col--6 ds-l-md-col--8 ds-u-sm-padding-left--0",
|
|
4459
4456
|
children: [
|
|
4460
|
-
/*#__PURE__*/ (0, $hgUW1$jsx)("
|
|
4461
|
-
className: "ds-u-margin-
|
|
4462
|
-
|
|
4463
|
-
children: currentResultNumbers && data && /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Fragment), {
|
|
4464
|
-
children: [
|
|
4465
|
-
"Showing ",
|
|
4466
|
-
currentResultNumbers.startingNumber,
|
|
4467
|
-
" -",
|
|
4468
|
-
" ",
|
|
4469
|
-
currentResultNumbers.endingNumber,
|
|
4470
|
-
" of ",
|
|
4471
|
-
data.data.total,
|
|
4472
|
-
" datasets"
|
|
4473
|
-
]
|
|
4474
|
-
})
|
|
4457
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
4458
|
+
className: "ds-u-margin-bottom--3",
|
|
4459
|
+
children: introText ? introText : null
|
|
4475
4460
|
}),
|
|
4476
|
-
/*#__PURE__*/ (0, $hgUW1$
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4461
|
+
enablePagination && /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
|
|
4462
|
+
children: [
|
|
4463
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)("p", {
|
|
4464
|
+
className: "ds-u-margin-y--0",
|
|
4465
|
+
"aria-hidden": "true",
|
|
4466
|
+
children: currentResultNumbers && data && /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Fragment), {
|
|
4467
|
+
children: [
|
|
4468
|
+
"Showing ",
|
|
4469
|
+
currentResultNumbers.startingNumber,
|
|
4470
|
+
" -",
|
|
4471
|
+
" ",
|
|
4472
|
+
currentResultNumbers.endingNumber,
|
|
4473
|
+
" of ",
|
|
4474
|
+
data.data.total,
|
|
4475
|
+
" datasets"
|
|
4476
|
+
]
|
|
4477
|
+
})
|
|
4478
|
+
}),
|
|
4479
|
+
/*#__PURE__*/ (0, $hgUW1$jsx)("p", {
|
|
4480
|
+
className: "ds-u-visibility--screen-reader",
|
|
4481
|
+
role: "status",
|
|
4482
|
+
"aria-live": "assertive",
|
|
4483
|
+
"aria-atomic": "true",
|
|
4484
|
+
"data-testid": "currentResults",
|
|
4485
|
+
children: announcementText
|
|
4486
|
+
})
|
|
4487
|
+
]
|
|
4483
4488
|
})
|
|
4484
4489
|
]
|
|
4485
4490
|
}),
|