@civicactions/cmsds-open-data-components 4.1.9-alpha.1 → 4.1.9-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 +3 -1
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1695,9 +1695,11 @@ var $e873081a6e8f024e$export$2e2bcd8739ae039 = (0, $61ff88fb3f6ee2c8$export$2e2b
|
|
|
1695
1695
|
|
|
1696
1696
|
|
|
1697
1697
|
|
|
1698
|
+
|
|
1698
1699
|
const $fea9297ba4dd394c$var$HeaderSearch = (props)=>{
|
|
1699
1700
|
const { headingText: headingText = "Dataset Search" } = props;
|
|
1700
1701
|
const navigate = (0, $hgUW1$useNavigate)();
|
|
1702
|
+
const { isMobile: isMobile } = (0, $hgUW1$useContext)((0, $11500a65bd7d9cf1$export$2e2bcd8739ae039));
|
|
1701
1703
|
const [modalSearchTerm, setModalSearchTerm] = (0, $hgUW1$useState)('');
|
|
1702
1704
|
const [modalSearch, setModalSearch] = (0, $hgUW1$useState)(false);
|
|
1703
1705
|
const [invalidSearch, setInvalidSearch] = (0, $hgUW1$useState)(false);
|
|
@@ -1720,7 +1722,7 @@ const $fea9297ba4dd394c$var$HeaderSearch = (props)=>{
|
|
|
1720
1722
|
className: "dkan-c-main-navigation--search",
|
|
1721
1723
|
children: [
|
|
1722
1724
|
/*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Button), {
|
|
1723
|
-
|
|
1725
|
+
variation: isMobile ? undefined : 'ghost',
|
|
1724
1726
|
className: "ds-u-lg-border--0 dkan-c-header-search--modal-button",
|
|
1725
1727
|
onClick: ()=>setModalSearch(true),
|
|
1726
1728
|
children: /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
|