@civicactions/cmsds-open-data-components 2.2.0-alpha.2 → 2.2.0-alpha.3
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 +12 -13
- package/dist/main.js.map +1 -1
- package/package.json +3 -3
package/dist/main.js
CHANGED
|
@@ -1417,7 +1417,7 @@ const $4def8e29c2039eb8$var$DataTableRowChanger = ({ setLimit: setLimit , rowOpt
|
|
|
1417
1417
|
return /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
1418
1418
|
children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Dropdown), {
|
|
1419
1419
|
options: rowOptions.map((row)=>({
|
|
1420
|
-
label: row,
|
|
1420
|
+
label: row.toString(),
|
|
1421
1421
|
value: row
|
|
1422
1422
|
})),
|
|
1423
1423
|
size: "small",
|
|
@@ -1664,12 +1664,12 @@ const $17193a17e26a72da$var$DatasetTags = ({ keywords: keywords })=>{
|
|
|
1664
1664
|
className: "dc-c-dataset-tags ds-u-margin-bottom--3 ds-u-padding--2 ds-u-border ds-u-border--1",
|
|
1665
1665
|
children: [
|
|
1666
1666
|
/*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
|
|
1667
|
-
className: "ds-u-color--primary ds-u-font-size--
|
|
1667
|
+
className: "ds-u-color--primary ds-u-font-size--xl ds-u-margin-top--0 ds-u-margin-bottom--2",
|
|
1668
1668
|
children: "Tags"
|
|
1669
1669
|
}),
|
|
1670
1670
|
keywords && keywords.map((k)=>/*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Link), {
|
|
1671
1671
|
to: `/datasets?keyword[]=${k.data}`,
|
|
1672
|
-
className: "dc-c-dataset-tags--tag ds-u-color--base ds-u-font-size--
|
|
1672
|
+
className: "dc-c-dataset-tags--tag ds-u-color--base ds-u-font-size--sm ds-u-text-decoration--none ds-u-margin-right--1 ds-u-margin-bottom--1 ds-u-padding-x--2 ds-u-padding-y--1 ds-u-radius",
|
|
1673
1673
|
children: k.data
|
|
1674
1674
|
}, k.identifier))
|
|
1675
1675
|
]
|
|
@@ -1711,7 +1711,7 @@ const $f341c2fd9bc53390$var$DatasetDownloads = ({ dataDictionaryURL: dataDiction
|
|
|
1711
1711
|
className: "ds-u-margin-bottom--3 ds-u-padding--2 ds-u-border ds-u-border--1 dc-c-dataset-downloads",
|
|
1712
1712
|
children: [
|
|
1713
1713
|
/*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
|
|
1714
|
-
className: "ds-u-color--primary ds-u-font-size--
|
|
1714
|
+
className: "ds-u-color--primary ds-u-font-size--xl ds-u-margin-top--0 ds-u-margin-bottom--2 ds-u-padding-bottom--2 ds-u-border ds-u-border-bottom--1",
|
|
1715
1715
|
children: "Downloads"
|
|
1716
1716
|
}),
|
|
1717
1717
|
(distributions.length || dataDictionaryURL && dataDictionaryType) && /*#__PURE__*/ (0, $hgUW1$jsxs)("ul", {
|
|
@@ -2162,7 +2162,7 @@ const $766b8e351dd607f5$var$DatasetBody = ({ rootUrl: rootUrl , id: id , dataset
|
|
|
2162
2162
|
className: "dc-c-dataset-tags ds-u-margin-bottom--3 ds-u-padding--2 ds-u-border ds-u-border--1",
|
|
2163
2163
|
children: [
|
|
2164
2164
|
/*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
|
|
2165
|
-
className: "ds-u-color--primary ds-u-font-size--
|
|
2165
|
+
className: "ds-u-color--primary ds-u-font-size--xl ds-u-margin-top--0 ds-u-margin-bottom--2 ds-u-padding-bottom--2",
|
|
2166
2166
|
children: "API"
|
|
2167
2167
|
}),
|
|
2168
2168
|
/*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Button), {
|
|
@@ -2634,7 +2634,7 @@ const $2db98b8f69058a30$var$DesktopHeader = ({ siteName: siteName , headerClasse
|
|
|
2634
2634
|
links: links.topnav,
|
|
2635
2635
|
menuName: "CMS Main Header",
|
|
2636
2636
|
menuId: "cmsheader",
|
|
2637
|
-
menuClasses: "ds-u-display--flex ds-u-flex-direction--row dc-c-header--links ds-u-font-size--
|
|
2637
|
+
menuClasses: "ds-u-display--flex ds-u-flex-direction--row dc-c-header--links ds-u-font-size--sm"
|
|
2638
2638
|
})
|
|
2639
2639
|
})
|
|
2640
2640
|
]
|
|
@@ -2795,7 +2795,7 @@ const $caaccb8ea608e518$var$MobileHeader = ({ siteName: siteName , links: links
|
|
|
2795
2795
|
links: links.topnav,
|
|
2796
2796
|
menuName: "CMS Main Header",
|
|
2797
2797
|
menuId: "cmsheader",
|
|
2798
|
-
menuClasses: "ds-u-display--flex dc-c-header--links ds-u-font-size--
|
|
2798
|
+
menuClasses: "ds-u-display--flex dc-c-header--links ds-u-font-size--sm"
|
|
2799
2799
|
})
|
|
2800
2800
|
})
|
|
2801
2801
|
]
|
|
@@ -2885,7 +2885,7 @@ const $caaccb8ea608e518$var$MobileHeader = ({ siteName: siteName , links: links
|
|
|
2885
2885
|
menuName: "CMS Main Header",
|
|
2886
2886
|
menuId: "cms-mobile-header",
|
|
2887
2887
|
linkClasses: "ds-u-margin-left--1 ds-u-margin-bottom--2",
|
|
2888
|
-
menuClasses: "dc-c-header--links ds-u-font-size--
|
|
2888
|
+
menuClasses: "dc-c-header--links ds-u-font-size--sm"
|
|
2889
2889
|
})
|
|
2890
2890
|
]
|
|
2891
2891
|
})
|
|
@@ -3024,7 +3024,7 @@ const $a6df0aa147323304$var$Footer = ({ links: links , showEmail: showEmail , em
|
|
|
3024
3024
|
children: "Open data tools"
|
|
3025
3025
|
}),
|
|
3026
3026
|
/*#__PURE__*/ (0, $hgUW1$jsx)("ul", {
|
|
3027
|
-
className: "ds-u-font-size--
|
|
3027
|
+
className: "ds-u-font-size--sm ds-u-margin-bottom--3",
|
|
3028
3028
|
children: footerOpenDataToolLinks.map((link)=>/*#__PURE__*/ (0, $hgUW1$jsx)("li", {
|
|
3029
3029
|
className: "ds-u-margin-bottom--1",
|
|
3030
3030
|
children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $cf8eeac354b9dd32$export$2e2bcd8739ae039), {
|
|
@@ -3042,7 +3042,7 @@ const $a6df0aa147323304$var$Footer = ({ links: links , showEmail: showEmail , em
|
|
|
3042
3042
|
children: "Additional resources"
|
|
3043
3043
|
}),
|
|
3044
3044
|
/*#__PURE__*/ (0, $hgUW1$jsx)("ul", {
|
|
3045
|
-
className: "ds-u-font-size--
|
|
3045
|
+
className: "ds-u-font-size--sm",
|
|
3046
3046
|
children: footerAdditionalResourcesLinks.filter((link)=>{
|
|
3047
3047
|
const noOnClick = Object.keys(link).findIndex((l)=>l === "onClick");
|
|
3048
3048
|
if (noOnClick === -1 || link.onClick && link.dataTag) return link;
|
|
@@ -3074,7 +3074,7 @@ const $a6df0aa147323304$var$Footer = ({ links: links , showEmail: showEmail , em
|
|
|
3074
3074
|
/*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
3075
3075
|
className: `dc-c-footer__cms-information ds-l-md-col--5 ds-l-sm-col--12 ${md ? "ds-u-padding-left--7" : ""} ${sm ? " ds-u-padding-left--4" : ""} ds-u-padding-y--7`,
|
|
3076
3076
|
children: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
|
|
3077
|
-
className: "ds-u-font-size--
|
|
3077
|
+
className: "ds-u-font-size--sm",
|
|
3078
3078
|
children: [
|
|
3079
3079
|
/*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
|
|
3080
3080
|
children: [
|
|
@@ -3332,7 +3332,7 @@ const $a6df0aa147323304$var$Footer = ({ links: links , showEmail: showEmail , em
|
|
|
3332
3332
|
})
|
|
3333
3333
|
}),
|
|
3334
3334
|
/*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
3335
|
-
className: "dc-c-footer__utility ds-l-container ds-u-padding-y--2 ds-u-font-size--
|
|
3335
|
+
className: "dc-c-footer__utility ds-l-container ds-u-padding-y--2 ds-u-font-size--sm",
|
|
3336
3336
|
children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
3337
3337
|
className: "ds-l-row ",
|
|
3338
3338
|
children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
@@ -4071,7 +4071,6 @@ var $ec3e23baa005dc03$export$2e2bcd8739ae039 = $ec3e23baa005dc03$var$Breadcrumb;
|
|
|
4071
4071
|
|
|
4072
4072
|
|
|
4073
4073
|
|
|
4074
|
-
|
|
4075
4074
|
|
|
4076
4075
|
|
|
4077
4076
|
function $374c4669b044ddf8$var$getStartDate(condition, schema, id) {
|