@civicactions/cmsds-open-data-components 3.1.10-alpha.5 → 3.1.10

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
@@ -2334,7 +2334,7 @@ const $6369abf590ca298f$var$QueryRow = ({ id: id, condition: condition, index: i
2334
2334
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Button), {
2335
2335
  variation: "ghost",
2336
2336
  size: "small",
2337
- className: "ds-u-margin-top--3 ds-u-padding-right--0",
2337
+ className: "ds-u-margin-top--6 ds-u-padding-right--0",
2338
2338
  "aria-label": "Delete filter",
2339
2339
  onClick: ()=>remove(index),
2340
2340
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
@@ -2802,12 +2802,9 @@ const $7357cc0f79f9c514$var$Resource = ({ distributions: distributions, resource
2802
2802
  /*#__PURE__*/ (0, $hgUW1$jsx)("i", {
2803
2803
  className: "fa ds-u-color--primary ds-u-padding-right--1 ds-u-font-size--3xl fa-file-" + (fileFormat == "xlsx" ? "excel" : fileFormat)
2804
2804
  }),
2805
- /*#__PURE__*/ (0, $hgUW1$jsxs)("p", {
2805
+ /*#__PURE__*/ (0, $hgUW1$jsx)("p", {
2806
2806
  className: "ds-u-margin-top--0",
2807
- children: [
2808
- dist.data.title ? dist.data.title : title,
2809
- " (" + fileFormat.toUpperCase() + ")"
2810
- ]
2807
+ children: `${dist.data.title || title} (${fileFormat.toUpperCase()})`
2811
2808
  })
2812
2809
  ]
2813
2810
  }),
@@ -2819,7 +2816,7 @@ const $7357cc0f79f9c514$var$Resource = ({ distributions: distributions, resource
2819
2816
  order: sm ? "1" : "0",
2820
2817
  width: sm ? "100%" : "auto"
2821
2818
  },
2822
- "aria-label": "Download " + title + " " + fileFormat,
2819
+ "aria-label": `Download ${dist.data.title || title} ${fileFormat}`,
2823
2820
  className: "ds-c-button",
2824
2821
  children: [
2825
2822
  /*#__PURE__*/ (0, $hgUW1$jsx)("i", {