@civicactions/cmsds-open-data-components 1.2.1 → 1.4.0

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.
@@ -85,6 +85,7 @@ function transformUrlParamsToSearchObject(searchParams, facetList) {
85
85
  var DatasetSearch = function DatasetSearch(_ref) {
86
86
  var rootUrl = _ref.rootUrl,
87
87
  location = _ref.location,
88
+ pageTitle = _ref.pageTitle,
88
89
  introText = _ref.introText,
89
90
  fulltextLabel = _ref.fulltextLabel,
90
91
  fulltextLabelClassName = _ref.fulltextLabelClassName,
@@ -165,7 +166,7 @@ var DatasetSearch = function DatasetSearch(_ref) {
165
166
  className: "ds-l-container"
166
167
  }, /*#__PURE__*/_react["default"].createElement("h1", {
167
168
  className: "dc-search-header ds-title ds-u-margin-y--3"
168
- }, "Datasets"), /*#__PURE__*/_react["default"].createElement("div", {
169
+ }, pageTitle), /*#__PURE__*/_react["default"].createElement("div", {
169
170
  className: "ds-l-row"
170
171
  }, /*#__PURE__*/_react["default"].createElement("div", {
171
172
  className: "ds-l-md-col--8 ds-l-sm-col--12ds-u-margin-bottom--3"
@@ -263,6 +264,7 @@ var DatasetSearch = function DatasetSearch(_ref) {
263
264
  };
264
265
 
265
266
  DatasetSearch.defaultProps = {
267
+ pageTitle: "Datasets",
266
268
  introText: "",
267
269
  fulltextLabel: "Search term",
268
270
  fulltextLabelClassName: "ds-u-visibility--screen-reader",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civicactions/cmsds-open-data-components",
3
- "version": "1.2.1",
3
+ "version": "1.4.0",
4
4
  "description": "Components for the open data catalog frontend using CMS Design System",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -19,7 +19,7 @@
19
19
  "author": "",
20
20
  "license": "GPL-3.0",
21
21
  "dependencies": {
22
- "@civicactions/data-catalog-components": "2.0.0-beta.3",
22
+ "@civicactions/data-catalog-components": "2.0.0-beta.4",
23
23
  "@civicactions/data-catalog-services": "1.2.0",
24
24
  "@cmsgov/design-system": "~2.6.1",
25
25
  "@reach/router": "^1.3.3",
@@ -31,7 +31,7 @@
31
31
  "react-table": "^7.6.2",
32
32
  "react-text-truncate": "^0.16.0",
33
33
  "react-truncate": "^2.4.0",
34
- "swagger-ui-react": "^3.46.0"
34
+ "swagger-ui-react": "^4.1.3"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@babel/cli": "^7.0.0",