@civicactions/cmsds-open-data-components 2.2.0 → 2.3.0-alpha.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/dist/main.js CHANGED
@@ -167,6 +167,7 @@ var $f57121650539d8c5$export$2e2bcd8739ae039 = $f57121650539d8c5$var$NavBar;
167
167
 
168
168
 
169
169
 
170
+
170
171
  const $c96c4b9ef7203c1f$var$APIPage = ({ hideAuth: hideAuth , additionalParams: additionalParams , rootUrl: rootUrl })=>{
171
172
  const hasACA = additionalParams && additionalParams.ACA ? true : false;
172
173
  let params = {
@@ -347,10 +348,10 @@ const $dc6d3aaf3e07417b$var$DatasetSearchListItem = ({ item: item , updateFacets
347
348
  truncatedDescription,
348
349
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
349
350
  children: keyword && /*#__PURE__*/ (0, $hgUW1$jsx)("ul", {
350
- className: "ds-u-padding--0 ds-u-display--flex ds-u-flex-wrap--wrap",
351
+ className: "ds-u-padding--0 ds-u-display--flex ds-u-flex-direction--row ds-u-flex-wrap--wrap",
351
352
  children: keyword.map((k)=>/*#__PURE__*/ (0, $hgUW1$jsx)("li", {
352
353
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Badge), {
353
- className: "ds-u-radius ds-u-fill--primary-alt-lightest ds-u-color--base ds-u-margin-right--1 ds-u-margin-bottom--2",
354
+ className: "ds-u-radius ds-u-fill--info-lightest ds-u-color--base ds-u-margin-right--1 ds-u-margin-bottom--2",
354
355
  variation: "info",
355
356
  children: k
356
357
  })
@@ -408,7 +409,7 @@ const $19c005961efdef1a$var$DatasetSearchFacets = ({ title: title , facets: face
408
409
  }, f.name);
409
410
  })
410
411
  }) : /*#__PURE__*/ (0, $hgUW1$jsx)("p", {
411
- className: "ds-h5",
412
+ className: "ds-text-heading--md",
412
413
  children: "No matching facets found."
413
414
  })
414
415
  })
@@ -1405,7 +1406,7 @@ const $2ed0091f7e32d1e6$var$DataTablePageResults = ({ totalRows: totalRows , lim
1405
1406
  });
1406
1407
  };
1407
1408
  $2ed0091f7e32d1e6$var$DataTablePageResults.defaultProps = {
1408
- className: "data-table-results"
1409
+ className: "data-table-results ds-u-margin-bottom--2"
1409
1410
  };
1410
1411
  $2ed0091f7e32d1e6$var$DataTablePageResults.propTypes = {
1411
1412
  className: (0, $hgUW1$proptypes).string,
@@ -1440,12 +1441,11 @@ const $1e012d1e3b534af0$var$DataTableDensity = ({ setTablePadding: setTablePaddi
1440
1441
  value: "ds-u-padding-y--2"
1441
1442
  }
1442
1443
  ],
1443
- size: "small",
1444
1444
  label: "Display density:",
1445
1445
  labelClassName: "ds-u-margin-top--0",
1446
1446
  name: "datatable_display_density",
1447
1447
  onChange: (e)=>setTablePadding(e.target.value),
1448
- defaultValue: "ds-u-padding-y--1"
1448
+ defaultValue: tablePadding
1449
1449
  })
1450
1450
  });
1451
1451
  };
@@ -1472,23 +1472,25 @@ var $e71aee394fdad8bd$export$2e2bcd8739ae039 = $e71aee394fdad8bd$var$ManageColum
1472
1472
 
1473
1473
 
1474
1474
 
1475
- const $4def8e29c2039eb8$var$DataTableRowChanger = ({ setLimit: setLimit , rowOptions: rowOptions , limit: limit })=>{
1475
+ const $7848c69a021266f7$var$DataTableRowChanger = (props)=>{
1476
+ const { limit: limit , rowOptions: rowOptions , setLimit: setLimit } = props;
1477
+ const rowOptionsFormatted = rowOptions.map((row)=>({
1478
+ label: row.toString(),
1479
+ value: row.toString()
1480
+ }));
1476
1481
  return /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
1482
+ className: "ds-u-display--flex",
1477
1483
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Dropdown), {
1478
- options: rowOptions.map((row)=>({
1479
- label: row,
1480
- value: row
1481
- })),
1482
- size: "small",
1484
+ options: rowOptionsFormatted,
1483
1485
  label: "Rows per page:",
1484
1486
  labelClassName: "ds-u-margin-top--0",
1485
1487
  name: "datatable_rows_per_page",
1486
1488
  onChange: (e)=>setLimit(e.target.value),
1487
- defaultValue: limit
1489
+ defaultValue: limit.toString()
1488
1490
  })
1489
1491
  });
1490
1492
  };
1491
- $4def8e29c2039eb8$var$DataTableRowChanger.defaultProps = {
1493
+ $7848c69a021266f7$var$DataTableRowChanger.defaultProps = {
1492
1494
  rowOptions: [
1493
1495
  10,
1494
1496
  25,
@@ -1496,11 +1498,12 @@ $4def8e29c2039eb8$var$DataTableRowChanger.defaultProps = {
1496
1498
  100
1497
1499
  ]
1498
1500
  };
1499
- $4def8e29c2039eb8$var$DataTableRowChanger.propTypes = {
1501
+ $7848c69a021266f7$var$DataTableRowChanger.propTypes = {
1500
1502
  rowOptions: (0, $hgUW1$proptypes).arrayOf((0, $hgUW1$proptypes).number),
1501
- setLimit: (0, $hgUW1$proptypes).func.isRequired
1503
+ setLimit: (0, $hgUW1$proptypes).func.isRequired,
1504
+ limit: (0, $hgUW1$proptypes).number
1502
1505
  };
1503
- var $4def8e29c2039eb8$export$2e2bcd8739ae039 = $4def8e29c2039eb8$var$DataTableRowChanger;
1506
+ var $7848c69a021266f7$export$2e2bcd8739ae039 = $7848c69a021266f7$var$DataTableRowChanger;
1504
1507
 
1505
1508
 
1506
1509
 
@@ -1591,6 +1594,7 @@ const $ec9e1550b0b034d0$var$SettingsIcon = ()=>/*#__PURE__*/ (0, $hgUW1$jsxs)("s
1591
1594
  var $ec9e1550b0b034d0$export$2e2bcd8739ae039 = $ec9e1550b0b034d0$var$SettingsIcon;
1592
1595
 
1593
1596
 
1597
+
1594
1598
  const $af099c546cb226c7$var$ResourceHeader = ({ setTablePadding: setTablePadding , id: id , distribution: distribution , includeFiltered: includeFiltered , includeDensity: includeDensity , includeDownload: includeDownload , resource: resource , tablePadding: tablePadding , downloadUrl: downloadUrl })=>{
1595
1599
  const md = (0, $hgUW1$useMediaQuery)({
1596
1600
  minWidth: 0,
@@ -1660,7 +1664,7 @@ const $af099c546cb226c7$var$ResourceHeader = ({ setTablePadding: setTablePadding
1660
1664
  onOpen: ()=>{
1661
1665
  navigator.clipboard.writeText(window.location.href);
1662
1666
  },
1663
- className: "ds-c-button ds-c-button--small ds-u-text-align--left ds-u-margin-right--1",
1667
+ className: "ds-c-button ds-c-button--small ds-u-text-align--left ds-u-margin-right--1 display-settings-font",
1664
1668
  placement: "bottom",
1665
1669
  dialog: true,
1666
1670
  ariaLabel: "Copy link to filtered data",
@@ -1676,14 +1680,14 @@ const $af099c546cb226c7$var$ResourceHeader = ({ setTablePadding: setTablePadding
1676
1680
  ]
1677
1681
  }),
1678
1682
  /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Tooltip), {
1679
- className: "ds-c-button ds-c-button--small ds-u-text-align--left",
1683
+ className: "ds-c-button ds-c-button--small ds-u-text-align--left display-settings-font",
1680
1684
  placement: "bottom",
1681
1685
  dialog: true,
1682
1686
  ariaLabel: "Display settings",
1683
1687
  title: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
1684
1688
  className: "dc-c-display-settings",
1685
1689
  children: [
1686
- /*#__PURE__*/ (0, $hgUW1$jsx)((0, $4def8e29c2039eb8$export$2e2bcd8739ae039), {
1690
+ /*#__PURE__*/ (0, $hgUW1$jsx)((0, $7848c69a021266f7$export$2e2bcd8739ae039), {
1687
1691
  limit: limit,
1688
1692
  setLimit: setLimit,
1689
1693
  setOffset: setOffset
@@ -1723,12 +1727,12 @@ const $17193a17e26a72da$var$DatasetTags = ({ keywords: keywords })=>{
1723
1727
  className: "dc-c-dataset-tags ds-u-margin-bottom--3 ds-u-padding--2 ds-u-border ds-u-border--1",
1724
1728
  children: [
1725
1729
  /*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
1726
- className: "ds-u-color--primary ds-u-font-size--h3 ds-u-margin-top--0 ds-u-margin-bottom--2",
1730
+ className: "ds-u-color--primary ds-u-font-size--xl ds-u-margin-top--0 ds-u-margin-bottom--2",
1727
1731
  children: "Tags"
1728
1732
  }),
1729
1733
  keywords && keywords.map((k)=>/*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Link), {
1730
1734
  to: `/datasets?keyword[]=${k.data}`,
1731
- className: "dc-c-dataset-tags--tag ds-u-color--base ds-u-font-size--small 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",
1735
+ 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",
1732
1736
  children: k.data
1733
1737
  }, k.identifier))
1734
1738
  ]
@@ -1770,7 +1774,7 @@ const $f341c2fd9bc53390$var$DatasetDownloads = ({ dataDictionaryURL: dataDiction
1770
1774
  className: "ds-u-margin-bottom--3 ds-u-padding--2 ds-u-border ds-u-border--1 dc-c-dataset-downloads",
1771
1775
  children: [
1772
1776
  /*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
1773
- className: "ds-u-color--primary ds-u-font-size--h3 ds-u-margin-top--0 ds-u-margin-bottom--2 ds-u-padding-bottom--2 ds-u-border ds-u-border-bottom--1",
1777
+ 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",
1774
1778
  children: "Downloads"
1775
1779
  }),
1776
1780
  (distributions.length || dataDictionaryURL && dataDictionaryType) && /*#__PURE__*/ (0, $hgUW1$jsxs)("ul", {
@@ -1824,6 +1828,7 @@ const $5644ebd2c3dbfd7b$var$DatasetAdditionalInformation = ({ datasetInfo: datas
1824
1828
  className: "dc-c-additional-info-table ds-u-margin-bottom--6",
1825
1829
  children: [
1826
1830
  /*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
1831
+ className: "ds-text-heading--2xl ds-u-margin-y--3",
1827
1832
  children: "Additional Information"
1828
1833
  }),
1829
1834
  /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Table), {
@@ -1897,6 +1902,7 @@ const $68eacd619bee0da7$var$ResourceInformation = ({ resource: resource })=>{
1897
1902
  className: "dc-c-resource-info-table",
1898
1903
  children: [
1899
1904
  /*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
1905
+ className: "ds-text-heading--2xl ds-u-margin-y--3",
1900
1906
  children: "About this Resource"
1901
1907
  }),
1902
1908
  /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Table), {
@@ -2116,7 +2122,7 @@ const $766b8e351dd607f5$var$DatasetBody = ({ rootUrl: rootUrl , id: id , dataset
2116
2122
  className: "ds-l-row",
2117
2123
  children: [
2118
2124
  /*#__PURE__*/ (0, $hgUW1$jsx)("p", {
2119
- className: "ds-l-col--6",
2125
+ className: "ds-l-col--6 ds-u-margin-bottom--2",
2120
2126
  children: dataset.theme ? /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Badge), {
2121
2127
  variation: "info",
2122
2128
  children: dataset.theme[0].data
@@ -2142,7 +2148,7 @@ const $766b8e351dd607f5$var$DatasetBody = ({ rootUrl: rootUrl , id: id , dataset
2142
2148
  resource.columns && Object.keys(resource.schema).length ? /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Fragment), {
2143
2149
  children: [
2144
2150
  /*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
2145
- className: "dc-resource-header",
2151
+ className: "dc-resource-header ds-text-heading--2xl ds-u-margin-y--3",
2146
2152
  children: "Resource Preview"
2147
2153
  }),
2148
2154
  resource.columns ? /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
@@ -2192,6 +2198,7 @@ const $766b8e351dd607f5$var$DatasetBody = ({ rootUrl: rootUrl , id: id , dataset
2192
2198
  ref: apiDocs,
2193
2199
  children: [
2194
2200
  /*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
2201
+ className: "ds-text-heading--2xl ds-u-margin-y--2",
2195
2202
  children: "Try the API"
2196
2203
  }),
2197
2204
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$swaggeruireact), {
@@ -2218,7 +2225,7 @@ const $766b8e351dd607f5$var$DatasetBody = ({ rootUrl: rootUrl , id: id , dataset
2218
2225
  className: "dc-c-dataset-tags ds-u-margin-bottom--3 ds-u-padding--2 ds-u-border ds-u-border--1",
2219
2226
  children: [
2220
2227
  /*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
2221
- className: "ds-u-color--primary ds-u-font-size--h3 ds-u-margin-top--0 ds-u-margin-bottom--2 ds-u-padding-bottom--2",
2228
+ 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",
2222
2229
  children: "API"
2223
2230
  }),
2224
2231
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Button), {
@@ -2591,19 +2598,12 @@ const $e5bfafc6d4e6f207$var$SearchModal = ({ searchFunc: searchFunc , appNodeId:
2591
2598
  children: "Search"
2592
2599
  })
2593
2600
  }),
2594
- modalSearch && /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Dialog), {
2601
+ modalSearch && /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Dialog), {
2595
2602
  className: "dc-c-search-dialog",
2596
2603
  onExit: ()=>setModalSearch(false),
2597
- getApplicationNode: ()=>document.getElementById(appNodeId),
2598
- closeButtonText: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Fragment), {
2599
- children: "Close"
2600
- }),
2601
2604
  heading: `${headingText}`,
2602
- children: [
2603
- searchModalText && /*#__PURE__*/ (0, $hgUW1$jsx)("p", {
2604
- children: searchModalText
2605
- }),
2606
- /*#__PURE__*/ (0, $hgUW1$jsxs)("form", {
2605
+ actions: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Fragment), {
2606
+ children: /*#__PURE__*/ (0, $hgUW1$jsxs)("form", {
2607
2607
  className: "ds-u-display--flex ds-u-align-items--stretch ds-u-flex-wrap--nowrap",
2608
2608
  onSubmit: (e)=>{
2609
2609
  searchForDataset(e);
@@ -2633,7 +2633,7 @@ const $e5bfafc6d4e6f207$var$SearchModal = ({ searchFunc: searchFunc , appNodeId:
2633
2633
  })
2634
2634
  ]
2635
2635
  })
2636
- ]
2636
+ })
2637
2637
  })
2638
2638
  ]
2639
2639
  });
@@ -2690,7 +2690,7 @@ const $2db98b8f69058a30$var$DesktopHeader = ({ siteName: siteName , headerClasse
2690
2690
  links: links.topnav,
2691
2691
  menuName: "CMS Main Header",
2692
2692
  menuId: "cmsheader",
2693
- menuClasses: "ds-u-display--flex dc-c-header--links ds-u-font-size--small"
2693
+ menuClasses: "ds-u-display--flex ds-u-flex-direction--row dc-c-header--links ds-u-font-size--sm"
2694
2694
  })
2695
2695
  })
2696
2696
  ]
@@ -2705,7 +2705,7 @@ const $2db98b8f69058a30$var$DesktopHeader = ({ siteName: siteName , headerClasse
2705
2705
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
2706
2706
  className: "ds-u-margin-right--5 ds-u-padding-y--3 dc-c-site-title",
2707
2707
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$NavLink), {
2708
- className: "ds-c-link--inverse ds-h1",
2708
+ className: "ds-c-link--inverse ds-text-heading--3xl",
2709
2709
  to: "/",
2710
2710
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
2711
2711
  className: "",
@@ -2718,7 +2718,7 @@ const $2db98b8f69058a30$var$DesktopHeader = ({ siteName: siteName , headerClasse
2718
2718
  wrapLabel: true,
2719
2719
  menuName: "CMS Site Main Nav",
2720
2720
  menuId: "site",
2721
- menuClasses: "ds-u-display--flex dc-c-header--links ds-u-align-items--center",
2721
+ menuClasses: "ds-u-display--flex ds-u-flex-direction--row dc-c-header--links ds-u-align-items--center",
2722
2722
  linkClasses: linkClasses
2723
2723
  }),
2724
2724
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
@@ -2851,7 +2851,7 @@ const $caaccb8ea608e518$var$MobileHeader = ({ siteName: siteName , links: links
2851
2851
  links: links.topnav,
2852
2852
  menuName: "CMS Main Header",
2853
2853
  menuId: "cmsheader",
2854
- menuClasses: "ds-u-display--flex dc-c-header--links ds-u-font-size--small"
2854
+ menuClasses: "ds-u-display--flex ds-u-flex-direction--row dc-c-header--links ds-u-font-size--sm ds-u-margin-bottom--2"
2855
2855
  })
2856
2856
  })
2857
2857
  ]
@@ -2874,10 +2874,11 @@ const $caaccb8ea608e518$var$MobileHeader = ({ siteName: siteName , links: links
2874
2874
  }),
2875
2875
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
2876
2876
  className: "ds-u-padding-y--3 dc-c-site-title",
2877
- children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Link), {
2877
+ children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$NavLink), {
2878
+ className: "ds-c-link--inverse ds-text-heading--3xl",
2878
2879
  to: "/",
2879
2880
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
2880
- className: "ds-h1",
2881
+ className: "",
2881
2882
  children: siteName
2882
2883
  })
2883
2884
  })
@@ -2929,7 +2930,7 @@ const $caaccb8ea608e518$var$MobileHeader = ({ siteName: siteName , links: links
2929
2930
  menuName: "Main Nav",
2930
2931
  menuId: "site",
2931
2932
  menuClasses: "dc-c-header--links dc-c-header--mobile-links",
2932
- linkClasses: "ds-u-margin-left--1 ds-u-padding-bottom--2 ds-h5"
2933
+ linkClasses: "ds-u-margin-left--1 ds-u-padding-bottom--2 ds-text-heading--md"
2933
2934
  }),
2934
2935
  mobile && /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
2935
2936
  className: "cms-mobile-header--container",
@@ -2940,7 +2941,7 @@ const $caaccb8ea608e518$var$MobileHeader = ({ siteName: siteName , links: links
2940
2941
  menuName: "CMS Main Header",
2941
2942
  menuId: "cms-mobile-header",
2942
2943
  linkClasses: "ds-u-margin-left--1 ds-u-margin-bottom--2",
2943
- menuClasses: "dc-c-header--links ds-u-font-size--small"
2944
+ menuClasses: "dc-c-header--links ds-u-font-size--sm ds-u-margin-bottom--2"
2944
2945
  })
2945
2946
  ]
2946
2947
  })
@@ -3036,10 +3037,11 @@ const $a6df0aa147323304$var$Footer = ({ links: links , showEmail: showEmail , em
3036
3037
  className: "ds-l-md-col--8",
3037
3038
  children: [
3038
3039
  /*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
3039
- className: "ds-h4",
3040
+ className: "ds-text-heading--lg",
3040
3041
  children: emailTitle
3041
3042
  }),
3042
3043
  /*#__PURE__*/ (0, $hgUW1$jsx)("p", {
3044
+ className: "ds-u-padding-bottom--2",
3043
3045
  children: emailBody
3044
3046
  })
3045
3047
  ]
@@ -3065,9 +3067,10 @@ const $a6df0aa147323304$var$Footer = ({ links: links , showEmail: showEmail , em
3065
3067
  className: "ds-l-row ds-u-margin--0",
3066
3068
  children: [
3067
3069
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
3068
- className: `dc-c-footer__resources ds-l-md-col--7 ds-l-sm-col--12 ds-u-padding-top--7 ds-u-padding-bottom--4 ${md ? "ds-u-padding-x--0" : ""} ${sm ? "ds-u-padding-x--4" : ""}`,
3070
+ className: `dc-c-footer__resources ds-l-md-col--7 ds-l-sm-col--12 ds-u-padding-top--7 ds-u-padding-bottom--4
3071
+ ${xs ? "ds-u-padding-x--0" : ""}`,
3069
3072
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
3070
- className: "ds-l-lg-col--9 ds-l-md-col--11 ds-u-padding-x--0",
3073
+ className: "ds-l-lg-col--9 ds-l-md-col--11",
3071
3074
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
3072
3075
  className: `ds-u-display--flex ${xs ? "ds-u-flex-direction--column" : "ds-u-flex-direction--row"}`,
3073
3076
  children: [
@@ -3075,11 +3078,11 @@ const $a6df0aa147323304$var$Footer = ({ links: links , showEmail: showEmail , em
3075
3078
  className: "ds-u-margin-right--6 ds-u-margin-bottom--2",
3076
3079
  children: [
3077
3080
  /*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
3078
- className: "ds-h6 dc-footer--heading ds-u-margin-bottom--2",
3081
+ className: "ds-text-heading--sm dc-footer--heading ds-u-margin-bottom--2",
3079
3082
  children: "Open data tools"
3080
3083
  }),
3081
3084
  /*#__PURE__*/ (0, $hgUW1$jsx)("ul", {
3082
- className: "ds-u-font-size--small ds-u-margin-bottom--3",
3085
+ className: "ds-u-font-size--sm ds-u-margin-bottom--3",
3083
3086
  children: footerOpenDataToolLinks.map((link)=>/*#__PURE__*/ (0, $hgUW1$jsx)("li", {
3084
3087
  className: "ds-u-margin-bottom--1",
3085
3088
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $cf8eeac354b9dd32$export$2e2bcd8739ae039), {
@@ -3093,11 +3096,11 @@ const $a6df0aa147323304$var$Footer = ({ links: links , showEmail: showEmail , em
3093
3096
  /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
3094
3097
  children: [
3095
3098
  /*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
3096
- className: "ds-h6 dc-footer--heading ds-u-margin-bottom--2",
3099
+ className: "ds-text-heading--sm dc-footer--heading ds-u-margin-bottom--2",
3097
3100
  children: "Additional resources"
3098
3101
  }),
3099
3102
  /*#__PURE__*/ (0, $hgUW1$jsx)("ul", {
3100
- className: "ds-u-font-size--small",
3103
+ className: "ds-u-font-size--sm",
3101
3104
  children: footerAdditionalResourcesLinks.filter((link)=>{
3102
3105
  const noOnClick = Object.keys(link).findIndex((l)=>l === "onClick");
3103
3106
  if (noOnClick === -1 || link.onClick && link.dataTag) return link;
@@ -3129,7 +3132,7 @@ const $a6df0aa147323304$var$Footer = ({ links: links , showEmail: showEmail , em
3129
3132
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
3130
3133
  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`,
3131
3134
  children: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
3132
- className: "ds-u-font-size--small",
3135
+ className: "ds-u-font-size--sm",
3133
3136
  children: [
3134
3137
  /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
3135
3138
  children: [
@@ -3170,7 +3173,7 @@ const $a6df0aa147323304$var$Footer = ({ links: links , showEmail: showEmail , em
3170
3173
  }),
3171
3174
  trademarkContent,
3172
3175
  socialMediaLinks && /*#__PURE__*/ (0, $hgUW1$jsxs)("ul", {
3173
- className: "ds-u-display--flex",
3176
+ className: "ds-u-display--flex ds-u-flex-direction--row",
3174
3177
  children: [
3175
3178
  socialMediaLinks.facebook && socialMediaLinks.facebook.url && /*#__PURE__*/ (0, $hgUW1$jsx)("li", {
3176
3179
  className: "ds-u-margin-right--1",
@@ -3387,7 +3390,7 @@ const $a6df0aa147323304$var$Footer = ({ links: links , showEmail: showEmail , em
3387
3390
  })
3388
3391
  }),
3389
3392
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
3390
- className: "dc-c-footer__utility ds-l-container ds-u-padding-y--2 ds-u-font-size--small",
3393
+ className: "dc-c-footer__utility ds-l-container ds-u-padding-y--2 ds-u-font-size--sm",
3391
3394
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
3392
3395
  className: "ds-l-row ",
3393
3396
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
@@ -3421,6 +3424,7 @@ $a6df0aa147323304$var$Footer.defaultProps = {
3421
3424
  children: "A federal government website managed and paid for by the U.S. Centers for Medicare & Medicaid Services."
3422
3425
  }),
3423
3426
  /*#__PURE__*/ (0, $hgUW1$jsx)("p", {
3427
+ className: "ds-u-padding-bottom--2",
3424
3428
  children: "7500 Security Boulevard, Baltimore, MD 21244"
3425
3429
  })
3426
3430
  ]
@@ -3669,6 +3673,7 @@ var $59a079354baa335c$export$2e2bcd8739ae039 = $59a079354baa335c$var$Hero;
3669
3673
 
3670
3674
 
3671
3675
 
3676
+
3672
3677
  const $789279954d8eff7f$var$ApiDocumentation = ({ endpoint: endpoint })=>{
3673
3678
  return /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
3674
3679
  children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$swaggeruireact), {
@@ -4126,7 +4131,6 @@ var $ec3e23baa005dc03$export$2e2bcd8739ae039 = $ec3e23baa005dc03$var$Breadcrumb;
4126
4131
 
4127
4132
 
4128
4133
 
4129
-
4130
4134
 
4131
4135
 
4132
4136
  function $374c4669b044ddf8$var$getStartDate(condition, schema, id) {
@@ -4137,9 +4141,9 @@ function $374c4669b044ddf8$var$getStartDate(condition, schema, id) {
4137
4141
  return new Date();
4138
4142
  }
4139
4143
  const $374c4669b044ddf8$var$QueryRow = ({ id: id , condition: condition , index: index , update: update , remove: remove , propertyOptions: propertyOptions , schema: schema })=>{
4140
- const md = (0, $hgUW1$useMediaQuery)({
4144
+ const sm = (0, $hgUW1$useMediaQuery)({
4141
4145
  minWidth: 0,
4142
- maxWidth: 768
4146
+ maxWidth: 544
4143
4147
  });
4144
4148
  const [operator, setOperator] = (0, $hgUW1$useState)(condition.operator);
4145
4149
  const [property, setProperty] = (0, $hgUW1$useState)(condition.property);
@@ -4178,24 +4182,30 @@ const $374c4669b044ddf8$var$QueryRow = ({ id: id , condition: condition , index:
4178
4182
  value
4179
4183
  ]);
4180
4184
  return /*#__PURE__*/ (0, $hgUW1$jsxs)("fieldset", {
4181
- className: "ds-u-display--flex ds-u-justify-content--between ds-u-align-items--center",
4185
+ className: "ds-u-display--flex ds-u-flex-wrap--wrap ds-u-justify-content--between ds-u-md-justify-content--end ds-u-align-items--center",
4182
4186
  children: [
4183
- /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Dropdown), {
4184
- options: propertyOptions,
4185
- value: property,
4186
- label: "Property",
4187
- name: `${condition.key}_property`,
4188
- onChange: (e)=>setProperty(e.target.value)
4187
+ /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
4188
+ className: "ds-l-md-col--5 ds-l-lg-col--4 ds-l-sm-col--8 ds-l-col--12 ds-u-padding--0 ds-u-md-padding-right--2 ds-u-margin-bottom--0 ds-u-md-margin-bottom--2",
4189
+ children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Dropdown), {
4190
+ options: propertyOptions,
4191
+ value: property,
4192
+ label: "Property",
4193
+ name: `${condition.key}_property`,
4194
+ onChange: (e)=>setProperty(e.target.value)
4195
+ })
4189
4196
  }),
4190
- /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Dropdown), {
4191
- options: (0, $7264a673914aa746$export$2b9377795161999)(schema[id].fields[property].mysql_type),
4192
- value: operator,
4193
- size: "small",
4194
- label: "Operator",
4195
- name: `${condition.key}_operator`,
4196
- onChange: (e)=>setOperator(e.target.value)
4197
+ /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
4198
+ className: "ds-l-sm-col--3 ds-l-md-col--2 ds-l-col--12 ds-u-padding--0 ds-u-md-padding-right--2 ds-u-margin-bottom--0 ds-u-md-margin-bottom--2",
4199
+ children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Dropdown), {
4200
+ options: (0, $7264a673914aa746$export$2b9377795161999)(schema[id].fields[property].mysql_type),
4201
+ value: operator,
4202
+ label: "Operator",
4203
+ name: `${condition.key}_operator`,
4204
+ onChange: (e)=>setOperator(e.target.value)
4205
+ })
4197
4206
  }),
4198
4207
  schema[id].fields[property].mysql_type === "date" ? /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
4208
+ className: "ds-l-md-col--5 ds-l-lg-col--4 ds-l-sm-col--8 ds-l-col--12 ds-u-padding--0 ds-u-sm-padding-right--2 ds-u-md-padding-right--0 ds-u-lg-padding-right--2",
4199
4209
  children: [
4200
4210
  /*#__PURE__*/ (0, $hgUW1$jsx)("label", {
4201
4211
  className: "ds-c-label",
@@ -4219,26 +4229,20 @@ const $374c4669b044ddf8$var$QueryRow = ({ id: id , condition: condition , index:
4219
4229
  withPortal: true
4220
4230
  })
4221
4231
  ]
4222
- }) : /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TextField), {
4223
- label: "Value",
4224
- name: `${condition.key}_value`,
4225
- value: (0, $7264a673914aa746$export$6b5e57d20078142b)(value, operator),
4226
- onChange: (e)=>setValue(e.target.value)
4232
+ }) : /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
4233
+ className: "ds-l-md-col--5 ds-l-lg-col--4 ds-l-sm-col--8 ds-l-col--12 ds-u-padding--0 ds-u-sm-padding-right--2 ds-u-md-padding-right--0 ds-u-lg-padding-right--2 ds-u-margin-bottom--2",
4234
+ children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$TextField), {
4235
+ label: "Value",
4236
+ name: `${condition.key}_value`,
4237
+ value: (0, $7264a673914aa746$export$6b5e57d20078142b)(value, operator),
4238
+ onChange: (e)=>setValue(e.target.value)
4239
+ })
4227
4240
  }),
4228
4241
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Button), {
4229
- variation: md ? "transparent" : null,
4230
- size: "small",
4231
- className: "ds-u-margin-top--3",
4242
+ className: "ds-u-margin-top--2 ds-u-sm-margin-top--4 ds-u-lg-margin-top--4 ds-u-md-margin-top--2 ds-l-col--12 ds-l-md-col--4 ds-l-lg-col--2 ds-l-sm-col--4",
4232
4243
  "aria-label": "Delete filter",
4233
4244
  onClick: ()=>remove(index),
4234
- children: !md ? /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Fragment), {
4235
- children: "Delete filter"
4236
- }) : /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Fragment), {
4237
- children: [
4238
- /*#__PURE__*/ (0, $hgUW1$jsx)((0, $847b0964185837b2$export$2e2bcd8739ae039), {}),
4239
- " "
4240
- ]
4241
- })
4245
+ children: "Delete filter"
4242
4246
  })
4243
4247
  ]
4244
4248
  });
@@ -4562,6 +4566,7 @@ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id , dataset: dataset
4562
4566
  ref: apiDocs,
4563
4567
  children: [
4564
4568
  /*#__PURE__*/ (0, $hgUW1$jsx)("h2", {
4569
+ className: "ds-text-heading--2xl ds-u-margin-y--2",
4565
4570
  children: "Try the API"
4566
4571
  }),
4567
4572
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$swaggeruireact), {