northants-design-system 1.6.4 → 1.6.5

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/build/index.js CHANGED
@@ -28192,8 +28192,11 @@ const ShowFiltersButton = styled__default.default.button`
28192
28192
  padding: 0;
28193
28193
  margin: 0;
28194
28194
  ${(props) => props.theme.linkStyles}
28195
- font-size: 1.2em;
28196
- margin-bottom: 5px;
28195
+ font-size: 1.1em;
28196
+ margin-top: ${(props) => props.theme.theme_vars.spacingSizes.extra_small};
28197
+ margin-bottom: ${(props) => props.theme.theme_vars.spacingSizes.extra_small};
28198
+ padding-top: ${(props) => props.theme.theme_vars.spacingSizes.small};
28199
+ padding-bottom: ${(props) => props.theme.theme_vars.spacingSizes.small};
28197
28200
  display: block;
28198
28201
 
28199
28202
  &:hover {
@@ -28226,7 +28229,7 @@ const handleFullScreen = (props) => {
28226
28229
  position: fixed;
28227
28230
  top: 0;
28228
28231
  left: 0;
28229
- z-index: 10;
28232
+ z-index: 30;
28230
28233
  padding: 20px;
28231
28234
  box-sizing: border-box;
28232
28235
  overflow: auto;
@@ -28250,8 +28253,8 @@ const FilterHeader = styled__default.default.div`
28250
28253
  display: flex;
28251
28254
  flex-direction: row;
28252
28255
  justify-content: space-between;
28253
- margin-bottom: 40px;
28254
- padding-bottom: 10px;
28256
+ margin-bottom: ${(props) => props.theme.theme_vars.spacingSizes.small};
28257
+ padding-bottom: ${(props) => props.theme.theme_vars.spacingSizes.small};
28255
28258
 
28256
28259
  @media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.m}) {
28257
28260
  display: block;
@@ -28269,11 +28272,6 @@ const FilterHeading = styled__default.default.h2`
28269
28272
  }
28270
28273
  `;
28271
28274
 
28272
- // margin: 0;
28273
- // padding: 0;
28274
- // display: block;
28275
- // overflow: hidden;
28276
-
28277
28275
  const Container$s = styled__default.default.a`
28278
28276
  ${props => props.theme.linkStyles}
28279
28277
  color: ${props => props.theme.theme_vars.colours.negative} !important;
@@ -28367,7 +28365,7 @@ var NewsArticleFilterAccordion = function (_a) {
28367
28365
  React__default.default.createElement(Filters$1, { "$isFullScreen": isFullScreen, id: "PageFilters", "aria-labelledby": "PageFiltersLabel" },
28368
28366
  React__default.default.createElement(FilterHeader, null,
28369
28367
  React__default.default.createElement(FilterHeading, { id: "PageFiltersLabel" }, "Search and filters"),
28370
- React__default.default.createElement(ShowFiltersButton, { onClick: hideFullscreenFilters }, "Close window")),
28368
+ React__default.default.createElement(ShowFiltersButton, { onClick: hideFullscreenFilters }, "Hide search and filters")),
28371
28369
  React__default.default.createElement(Accordion$1, { isFilter: true, sections: sections, withReadMore: false }),
28372
28370
  count > 0 && React__default.default.createElement(RemoveAllFilters, { count: count }))));
28373
28371
  };