northants-design-system 0.3.12 → 0.3.13
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.d.ts +2 -1
- package/build/index.esm.js +170 -116
- package/build/index.esm.js.map +1 -1
- package/build/index.js +169 -114
- package/build/index.js.map +1 -1
- package/build/index.mjs.js +34249 -0
- package/build/index.mjs.js.map +1 -0
- package/build/library/directory/DirectoryService/DirectoryService.d.ts +1 -0
- package/build/library/directory/DirectoryService/DirectoryService.types.d.ts +2 -0
- package/build/library/directory/DirectoryServiceList/DirectoryServiceList.types.d.ts +8 -4
- package/build/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.storydata.d.ts +2 -1
- package/build/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.types.d.ts +14 -1
- package/build/library/slices/InquestSchedule/InquestSchedule.d.ts +7 -0
- package/build/library/slices/InquestSchedule/InquestSchedule.storydata.d.ts +2 -0
- package/build/library/slices/InquestSchedule/InquestSchedule.types.d.ts +24 -0
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { Component, cloneElement, useState, useContext, useEffect, useRef } from 'react';
|
|
1
|
+
import React, { Component, cloneElement, useState, useContext, useId, useEffect, useRef } from 'react';
|
|
2
2
|
import styled, { css, ThemeContext, ThemeProvider, createGlobalStyle } from 'styled-components';
|
|
3
3
|
import require$$0$1 from 'tty';
|
|
4
4
|
import require$$2 from 'path';
|
|
@@ -148,7 +148,8 @@ const StyledTextInput = styled.input`
|
|
|
148
148
|
|
|
149
149
|
&:focus {
|
|
150
150
|
outline: none;
|
|
151
|
-
box-shadow: ${(props) => props.theme.theme_vars.colours.focus} 0 0 0
|
|
151
|
+
box-shadow: ${(props) => props.theme.theme_vars.colours.focus} 0 0 0 2px,
|
|
152
|
+
${(props) => props.theme.theme_vars.colours.black} 0 0 0 4px;
|
|
152
153
|
transition: box-shadow 0.3s ease 0s;
|
|
153
154
|
}
|
|
154
155
|
|
|
@@ -5787,7 +5788,7 @@ var HeadingWithIcon = function (_a) {
|
|
|
5787
5788
|
React.createElement(Heading, { text: text, level: level })));
|
|
5788
5789
|
};
|
|
5789
5790
|
|
|
5790
|
-
const Container$
|
|
5791
|
+
const Container$X = styled.div`
|
|
5791
5792
|
${(props) => props.theme.fontStyles};
|
|
5792
5793
|
display: block;
|
|
5793
5794
|
border-top: 1px solid ${(props) => props.theme.theme_vars.colours.grey};
|
|
@@ -6559,7 +6560,7 @@ var Pagination = function (_a) {
|
|
|
6559
6560
|
handleParams(postTo, [{ key: 'page', value: pageNo }]);
|
|
6560
6561
|
};
|
|
6561
6562
|
if (numbers.length > 1) {
|
|
6562
|
-
return (React.createElement(Container$
|
|
6563
|
+
return (React.createElement(Container$X, { "data-testid": "Pagination", role: "navigation", "aria-label": "Pagination" },
|
|
6563
6564
|
currentPage > 1 && (React.createElement(Previous, { onClick: function () { return buttonClick(currentPage - 1); }, title: "Go back a page" }, "Previous")),
|
|
6564
6565
|
React.createElement(NumbersContainer, null, numbers.map(function (v, i) { return (React.createElement(NumberContainer, { key: i },
|
|
6565
6566
|
v === '...' && (React.createElement(Ellipsis, null, "...")),
|
|
@@ -6571,7 +6572,7 @@ var Pagination = function (_a) {
|
|
|
6571
6572
|
return null;
|
|
6572
6573
|
};
|
|
6573
6574
|
|
|
6574
|
-
const Container$
|
|
6575
|
+
const Container$W = styled.div`
|
|
6575
6576
|
${(props) => props.theme.fontStyles};
|
|
6576
6577
|
margin-bottom: 30px;
|
|
6577
6578
|
`;
|
|
@@ -6742,7 +6743,7 @@ var CheckboxListFilter = function (_a) {
|
|
|
6742
6743
|
handleParams('news', [{ key: NewsArticleFilterFields.articleType.queryParamKey, value: articleTypes }], ['page']);
|
|
6743
6744
|
};
|
|
6744
6745
|
var backupLabel = Math.random().toString(36).substring(7);
|
|
6745
|
-
return (React.createElement(Container$
|
|
6746
|
+
return (React.createElement(Container$W, { "data-testid": "CheckboxListFilter" },
|
|
6746
6747
|
React.createElement(Fieldset, { "aria-describedby": hintId },
|
|
6747
6748
|
React.createElement(Legend, { labelHidden: labelHidden, "data-testid": "CheckboxListFilterLegend" }, label),
|
|
6748
6749
|
React.createElement(Hint, { id: hintId, hintHidden: hintHidden, "data-testid": "CheckboxListFilterHint" }, hint),
|
|
@@ -6751,52 +6752,52 @@ var CheckboxListFilter = function (_a) {
|
|
|
6751
6752
|
React.createElement(CheckboxLabel, { isChecked: option.checked, htmlFor: option.value }, option.title))); })))));
|
|
6752
6753
|
};
|
|
6753
6754
|
|
|
6754
|
-
const Container$
|
|
6755
|
-
${props => props.theme.fontStyles};
|
|
6755
|
+
const Container$V = styled.div`
|
|
6756
|
+
${(props) => props.theme.fontStyles};
|
|
6756
6757
|
`;
|
|
6757
6758
|
|
|
6758
|
-
const hideLabel = props => {
|
|
6759
|
-
if(props.hideLabel === true) {
|
|
6759
|
+
const hideLabel = (props) => {
|
|
6760
|
+
if (props.hideLabel === true) {
|
|
6760
6761
|
return VisuallyHidden$2;
|
|
6761
6762
|
}
|
|
6762
6763
|
};
|
|
6763
6764
|
|
|
6764
|
-
|
|
6765
6765
|
const Label$2 = styled.label`
|
|
6766
|
-
|
|
6767
|
-
|
|
6768
|
-
|
|
6766
|
+
display: block;
|
|
6767
|
+
margin-bottom: 5px;
|
|
6768
|
+
${hideLabel}
|
|
6769
6769
|
`;
|
|
6770
6770
|
|
|
6771
6771
|
const Select = styled.select`
|
|
6772
|
-
|
|
6773
|
-
${props => props.theme.
|
|
6774
|
-
border-radius: ${props => props.theme.theme_vars.border_radius};
|
|
6772
|
+
${(props) => props.theme.fontStyles};
|
|
6773
|
+
border-radius: ${(props) => props.theme.theme_vars.border_radius};
|
|
6775
6774
|
box-sizing: border-box;
|
|
6776
6775
|
max-width: 100%;
|
|
6777
6776
|
height: 40px;
|
|
6778
6777
|
height: 2.5rem;
|
|
6779
6778
|
padding: 5px;
|
|
6780
|
-
border: 2px solid ${props => props.theme.theme_vars.colours.black};
|
|
6779
|
+
border: 2px solid ${(props) => props.theme.theme_vars.colours.black};
|
|
6781
6780
|
|
|
6782
6781
|
&:focus {
|
|
6783
|
-
outline:
|
|
6784
|
-
box-shadow: ${props => props.theme.theme_vars.colours.focus} 0 0 0
|
|
6782
|
+
outline: 2px transparent solid;
|
|
6783
|
+
box-shadow: ${(props) => props.theme.theme_vars.colours.focus} 0 0 0 2px,
|
|
6784
|
+
${(props) => props.theme.theme_vars.colours.black} 0 0 0 4px;
|
|
6785
6785
|
transition: box-shadow 0.3s ease 0s;
|
|
6786
6786
|
}
|
|
6787
6787
|
`;
|
|
6788
6788
|
|
|
6789
6789
|
const Option = styled.option`
|
|
6790
|
-
:active,
|
|
6790
|
+
:active,
|
|
6791
|
+
:checked,
|
|
6792
|
+
:focus::-ms-value {
|
|
6791
6793
|
color: #fff;
|
|
6792
|
-
background-color: #1d70b8
|
|
6794
|
+
background-color: #1d70b8;
|
|
6793
6795
|
}
|
|
6794
|
-
|
|
6795
6796
|
`;
|
|
6796
6797
|
|
|
6797
6798
|
var DropDownSelect = function (_a) {
|
|
6798
6799
|
var id = _a.id, label = _a.label, options = _a.options, onChange = _a.onChange, selected = _a.selected, _b = _a.hideLabel, hideLabel = _b === void 0 ? false : _b;
|
|
6799
|
-
return (React.createElement(Container$
|
|
6800
|
+
return (React.createElement(Container$V, null,
|
|
6800
6801
|
React.createElement(Label$2, { htmlFor: id, hideLabel: hideLabel }, label),
|
|
6801
6802
|
React.createElement(Select, { id: id, name: id, onChange: onChange && onChange, defaultValue: selected && selected }, options.map(function (option, i) {
|
|
6802
6803
|
return React.createElement(Option, { key: i, value: option.value }, option.title);
|
|
@@ -6913,7 +6914,7 @@ const PromotedLink$1 = styled.a`
|
|
|
6913
6914
|
${oneColStyles}
|
|
6914
6915
|
`;
|
|
6915
6916
|
|
|
6916
|
-
const Container$
|
|
6917
|
+
const Container$U = styled.div`
|
|
6917
6918
|
box-sizing: border-box;
|
|
6918
6919
|
display: flex;
|
|
6919
6920
|
flex-wrap: wrap;
|
|
@@ -6936,7 +6937,7 @@ const Container$T = styled.div`
|
|
|
6936
6937
|
|
|
6937
6938
|
var Row$1 = function (_a) {
|
|
6938
6939
|
var _b = _a.hasBorder, hasBorder = _b === void 0 ? false : _b, _c = _a.isList, isList = _c === void 0 ? false : _c, _d = _a.hasWrap, hasWrap = _d === void 0 ? true : _d, children = _a.children;
|
|
6939
|
-
return (React.createElement(Container$
|
|
6940
|
+
return (React.createElement(Container$U, { "data-testid": "Row", hasBorder: hasBorder, hasWrap: hasWrap, as: isList ? 'ul' : 'div' }, children));
|
|
6940
6941
|
};
|
|
6941
6942
|
|
|
6942
6943
|
const calculateWidth = (size) => {
|
|
@@ -6986,7 +6987,7 @@ const widths = (props) => {
|
|
|
6986
6987
|
`;
|
|
6987
6988
|
};
|
|
6988
6989
|
|
|
6989
|
-
const Container$
|
|
6990
|
+
const Container$T = styled.div`
|
|
6990
6991
|
box-sizing: border-box;
|
|
6991
6992
|
display: block;
|
|
6992
6993
|
padding: ${(props) => (props.hasPadding ? props.theme.theme_vars.spacingSizes.small : `0`)};
|
|
@@ -6997,7 +6998,7 @@ const Container$S = styled.div`
|
|
|
6997
6998
|
|
|
6998
6999
|
var Column = function (_a) {
|
|
6999
7000
|
var _b = _a.small, small = _b === void 0 ? 'full' : _b, _c = _a.medium, medium = _c === void 0 ? 'one-half' : _c, _d = _a.large, large = _d === void 0 ? 'one-third' : _d, _e = _a.hasPadding, hasPadding = _e === void 0 ? true : _e, _f = _a.hasBorder, hasBorder = _f === void 0 ? false : _f, _g = _a.isList, isList = _g === void 0 ? false : _g, children = _a.children;
|
|
7000
|
-
return (React.createElement(Container$
|
|
7001
|
+
return (React.createElement(Container$T, { "data-testid": "Column", small: small, medium: medium, large: large, hasPadding: hasPadding, hasBorder: hasBorder, as: isList ? 'li' : 'div' }, children));
|
|
7001
7002
|
};
|
|
7002
7003
|
|
|
7003
7004
|
var PromotedLinks = function (_a) {
|
|
@@ -7025,7 +7026,7 @@ var TextInput = function (_a) {
|
|
|
7025
7026
|
|
|
7026
7027
|
// Accordion
|
|
7027
7028
|
|
|
7028
|
-
const Container$
|
|
7029
|
+
const Container$S = styled.div`
|
|
7029
7030
|
${(props) => props.theme.fontStyles}
|
|
7030
7031
|
margin-bottom: 20px;
|
|
7031
7032
|
border-bottom: 1px solid ${(props) => props.theme.theme_vars.colours.grey};
|
|
@@ -7247,19 +7248,12 @@ const SectionContent = styled.div`
|
|
|
7247
7248
|
}
|
|
7248
7249
|
`;
|
|
7249
7250
|
|
|
7250
|
-
const uniqueID = () => {
|
|
7251
|
-
// Math.random should be unique because of its seeding algorithm.
|
|
7252
|
-
// Convert it to base 36 (numbers + letters), and grab the first 9 characters
|
|
7253
|
-
// after the decimal.
|
|
7254
|
-
return '_' + Math.random().toString(36).substr(2, 9);
|
|
7255
|
-
};
|
|
7256
|
-
|
|
7257
7251
|
var AccordionSection = function (_a) {
|
|
7258
7252
|
var title = _a.title, content = _a.content, summary = _a.summary, isExpanded = _a.isExpanded, accordionSectionId = _a.accordionSectionId, onToggle = _a.onToggle, _b = _a.isFilter, isFilter = _b === void 0 ? false : _b, withReadMore = _a.withReadMore, _c = _a.sectionId, sectionId = _c === void 0 ? false : _c;
|
|
7259
7253
|
var onSectionToggle = function () {
|
|
7260
7254
|
return isExpanded === true ? onToggle(accordionSectionId, false) : onToggle(accordionSectionId, true);
|
|
7261
7255
|
};
|
|
7262
|
-
var thisSectionId = sectionId === false ? "accordion_section".concat(
|
|
7256
|
+
var thisSectionId = sectionId === false ? "accordion_section".concat(useId()) : sectionId;
|
|
7263
7257
|
return (React.createElement(Section, { id: thisSectionId, className: isExpanded && 'accordion__section--expanded' },
|
|
7264
7258
|
React.createElement(SectionHeader, { onClick: onSectionToggle },
|
|
7265
7259
|
React.createElement(SectionHeading, { as: isFilter ? 'h3' : 'h2' },
|
|
@@ -7273,6 +7267,13 @@ var AccordionSection = function (_a) {
|
|
|
7273
7267
|
isExpanded && withReadMore && (React.createElement(ShowLessButton, { onClick: onSectionToggle }, "Show less")))));
|
|
7274
7268
|
};
|
|
7275
7269
|
|
|
7270
|
+
const uniqueID = () => {
|
|
7271
|
+
// Math.random should be unique because of its seeding algorithm.
|
|
7272
|
+
// Convert it to base 36 (numbers + letters), and grab the first 9 characters
|
|
7273
|
+
// after the decimal.
|
|
7274
|
+
return '_' + Math.random().toString(36).substr(2, 9);
|
|
7275
|
+
};
|
|
7276
|
+
|
|
7276
7277
|
var Accordion = function (_a) {
|
|
7277
7278
|
var sections = _a.sections, _b = _a.isFilter, isFilter = _b === void 0 ? false : _b, _c = _a.withReadMore, withReadMore = _c === void 0 ? false : _c;
|
|
7278
7279
|
sections.map(function (section, i) {
|
|
@@ -7307,7 +7308,7 @@ var Accordion = function (_a) {
|
|
|
7307
7308
|
setAccordionStates(newStatus);
|
|
7308
7309
|
};
|
|
7309
7310
|
var accordionId = "accordion".concat(uniqueID());
|
|
7310
|
-
return (React.createElement(Container$
|
|
7311
|
+
return (React.createElement(Container$S, { "data-testid": "Accordion", id: accordionId },
|
|
7311
7312
|
showControls && sections.length > 1 && (React.createElement(AccordionControls, null,
|
|
7312
7313
|
React.createElement(OpenAllButton, { onClick: toggleAll, type: "button", "aria-expanded": !openAll },
|
|
7313
7314
|
openAll ? 'Open all' : 'Close all',
|
|
@@ -7358,7 +7359,7 @@ var BlockQuote = function (_a) {
|
|
|
7358
7359
|
citation && React.createElement(Citation, null, citation)));
|
|
7359
7360
|
};
|
|
7360
7361
|
|
|
7361
|
-
const Container$
|
|
7362
|
+
const Container$R = styled.div`
|
|
7362
7363
|
margin-bottom: 30px;
|
|
7363
7364
|
display: block;
|
|
7364
7365
|
|
|
@@ -7373,11 +7374,11 @@ const Container$Q = styled.div`
|
|
|
7373
7374
|
*/
|
|
7374
7375
|
var CallToAction = function (_a) {
|
|
7375
7376
|
var primary = _a.primary; _a.size; var text = _a.text, url = _a.url, isExternal = _a.isExternal, isDisabled = _a.isDisabled; __rest(_a, ["primary", "size", "text", "url", "isExternal", "isDisabled"]);
|
|
7376
|
-
return (React.createElement(Container$
|
|
7377
|
+
return (React.createElement(Container$R, null,
|
|
7377
7378
|
React.createElement(Button$2, { primary: primary, size: "large", text: text, url: url, isExternal: isExternal, isDisabled: isDisabled })));
|
|
7378
7379
|
};
|
|
7379
7380
|
|
|
7380
|
-
const Container$
|
|
7381
|
+
const Container$Q = styled.div`
|
|
7381
7382
|
display: block;
|
|
7382
7383
|
${(props) => props.theme.fontStyles}
|
|
7383
7384
|
`;
|
|
@@ -7513,17 +7514,17 @@ var CouncilTaxAlphabeticalDirectory = function (_a) {
|
|
|
7513
7514
|
var formatParishData = function (data) {
|
|
7514
7515
|
var sortData = data.reduce(function (r, e) {
|
|
7515
7516
|
// get first letter of name of current element
|
|
7516
|
-
var group = e.
|
|
7517
|
+
var group = e.parish[0];
|
|
7517
7518
|
if (!r[group]) {
|
|
7518
7519
|
// there is no property in accumulator with this letter so create it
|
|
7519
7520
|
r[group] = {
|
|
7520
7521
|
group: group,
|
|
7521
|
-
children: [{ title: trimParishName(e.
|
|
7522
|
+
children: [{ title: trimParishName(e.parish), values: e.bands }],
|
|
7522
7523
|
};
|
|
7523
7524
|
}
|
|
7524
7525
|
else {
|
|
7525
7526
|
// push current element to children array for that letter
|
|
7526
|
-
r[group].children.push({ title: trimParishName(e.
|
|
7527
|
+
r[group].children.push({ title: trimParishName(e.parish), values: e.bands });
|
|
7527
7528
|
}
|
|
7528
7529
|
return r;
|
|
7529
7530
|
}, {});
|
|
@@ -7553,7 +7554,7 @@ var CouncilTaxAlphabeticalDirectory = function (_a) {
|
|
|
7553
7554
|
});
|
|
7554
7555
|
return letterData;
|
|
7555
7556
|
});
|
|
7556
|
-
return (React.createElement(Container$
|
|
7557
|
+
return (React.createElement(Container$Q, { "data-testid": "AlphabeticalDirectory", ref: directoryRef },
|
|
7557
7558
|
React.createElement(React.Fragment, null,
|
|
7558
7559
|
parishes.length === 0 && (React.createElement(ErrorText, null, "There was an issue fetching the parish data. Please try again later.")),
|
|
7559
7560
|
parish === null ? (React.createElement(React.Fragment, null, sortedData.map(function (letter, i) { return (React.createElement(Row, { key: i },
|
|
@@ -7579,9 +7580,9 @@ var CouncilTaxAlphabeticalDirectory = function (_a) {
|
|
|
7579
7580
|
React.createElement("td", null, Number(parish.values[band]).toLocaleString('en-GB', { style: 'currency', currency: 'GBP' })))); })))))))));
|
|
7580
7581
|
};
|
|
7581
7582
|
|
|
7582
|
-
const Container$
|
|
7583
|
+
const Container$P = styled.div``;
|
|
7583
7584
|
|
|
7584
|
-
const Container$
|
|
7585
|
+
const Container$O = styled.div`
|
|
7585
7586
|
display: flex;
|
|
7586
7587
|
flex-direction: column;
|
|
7587
7588
|
justify-content: flex-start;
|
|
@@ -17699,7 +17700,7 @@ function markDirtyUp(node) {
|
|
|
17699
17700
|
}
|
|
17700
17701
|
}
|
|
17701
17702
|
|
|
17702
|
-
class Container$
|
|
17703
|
+
class Container$N extends Node$1 {
|
|
17703
17704
|
push(child) {
|
|
17704
17705
|
child.parent = this;
|
|
17705
17706
|
this.proxyOf.nodes.push(child);
|
|
@@ -17992,7 +17993,7 @@ class Container$M extends Node$1 {
|
|
|
17992
17993
|
|
|
17993
17994
|
let processed = nodes.map(i => {
|
|
17994
17995
|
/* c8 ignore next */
|
|
17995
|
-
if (!i[my$1]) Container$
|
|
17996
|
+
if (!i[my$1]) Container$N.rebuild(i);
|
|
17996
17997
|
i = i.proxyOf;
|
|
17997
17998
|
if (i.parent) i.parent.removeChild(i);
|
|
17998
17999
|
if (i[isClean$1]) markDirtyUp(i);
|
|
@@ -18070,27 +18071,27 @@ class Container$M extends Node$1 {
|
|
|
18070
18071
|
}
|
|
18071
18072
|
}
|
|
18072
18073
|
|
|
18073
|
-
Container$
|
|
18074
|
+
Container$N.registerParse = dependant => {
|
|
18074
18075
|
parse$4 = dependant;
|
|
18075
18076
|
};
|
|
18076
18077
|
|
|
18077
|
-
Container$
|
|
18078
|
+
Container$N.registerRule = dependant => {
|
|
18078
18079
|
Rule$4 = dependant;
|
|
18079
18080
|
};
|
|
18080
18081
|
|
|
18081
|
-
Container$
|
|
18082
|
+
Container$N.registerAtRule = dependant => {
|
|
18082
18083
|
AtRule$4 = dependant;
|
|
18083
18084
|
};
|
|
18084
18085
|
|
|
18085
|
-
Container$
|
|
18086
|
+
Container$N.registerRoot = dependant => {
|
|
18086
18087
|
Root$6 = dependant;
|
|
18087
18088
|
};
|
|
18088
18089
|
|
|
18089
|
-
var container = Container$
|
|
18090
|
-
Container$
|
|
18090
|
+
var container = Container$N;
|
|
18091
|
+
Container$N.default = Container$N;
|
|
18091
18092
|
|
|
18092
18093
|
/* c8 ignore start */
|
|
18093
|
-
Container$
|
|
18094
|
+
Container$N.rebuild = node => {
|
|
18094
18095
|
if (node.type === 'atrule') {
|
|
18095
18096
|
Object.setPrototypeOf(node, AtRule$4.prototype);
|
|
18096
18097
|
} else if (node.type === 'rule') {
|
|
@@ -18107,16 +18108,16 @@ Container$M.rebuild = node => {
|
|
|
18107
18108
|
|
|
18108
18109
|
if (node.nodes) {
|
|
18109
18110
|
node.nodes.forEach(child => {
|
|
18110
|
-
Container$
|
|
18111
|
+
Container$N.rebuild(child);
|
|
18111
18112
|
});
|
|
18112
18113
|
}
|
|
18113
18114
|
};
|
|
18114
18115
|
|
|
18115
|
-
let Container$
|
|
18116
|
+
let Container$M = container;
|
|
18116
18117
|
|
|
18117
18118
|
let LazyResult$4, Processor$3;
|
|
18118
18119
|
|
|
18119
|
-
class Document$3 extends Container$
|
|
18120
|
+
class Document$3 extends Container$M {
|
|
18120
18121
|
constructor(defaults) {
|
|
18121
18122
|
// type needs to be passed to super, otherwise child roots won't be normalized correctly
|
|
18122
18123
|
super({ type: 'document', ...defaults });
|
|
@@ -18234,9 +18235,9 @@ class Result$4 {
|
|
|
18234
18235
|
var result = Result$4;
|
|
18235
18236
|
Result$4.default = Result$4;
|
|
18236
18237
|
|
|
18237
|
-
let Container$
|
|
18238
|
+
let Container$L = container;
|
|
18238
18239
|
|
|
18239
|
-
class AtRule$3 extends Container$
|
|
18240
|
+
class AtRule$3 extends Container$L {
|
|
18240
18241
|
constructor(defaults) {
|
|
18241
18242
|
super(defaults);
|
|
18242
18243
|
this.type = 'atrule';
|
|
@@ -18256,13 +18257,13 @@ class AtRule$3 extends Container$K {
|
|
|
18256
18257
|
var atRule = AtRule$3;
|
|
18257
18258
|
AtRule$3.default = AtRule$3;
|
|
18258
18259
|
|
|
18259
|
-
Container$
|
|
18260
|
+
Container$L.registerAtRule(AtRule$3);
|
|
18260
18261
|
|
|
18261
|
-
let Container$
|
|
18262
|
+
let Container$K = container;
|
|
18262
18263
|
|
|
18263
18264
|
let LazyResult$3, Processor$2;
|
|
18264
18265
|
|
|
18265
|
-
class Root$5 extends Container$
|
|
18266
|
+
class Root$5 extends Container$K {
|
|
18266
18267
|
constructor(defaults) {
|
|
18267
18268
|
super(defaults);
|
|
18268
18269
|
this.type = 'root';
|
|
@@ -18316,7 +18317,7 @@ Root$5.registerProcessor = dependant => {
|
|
|
18316
18317
|
var root = Root$5;
|
|
18317
18318
|
Root$5.default = Root$5;
|
|
18318
18319
|
|
|
18319
|
-
Container$
|
|
18320
|
+
Container$K.registerRoot(Root$5);
|
|
18320
18321
|
|
|
18321
18322
|
let list$2 = {
|
|
18322
18323
|
split(string, separators, last) {
|
|
@@ -18375,10 +18376,10 @@ let list$2 = {
|
|
|
18375
18376
|
var list_1 = list$2;
|
|
18376
18377
|
list$2.default = list$2;
|
|
18377
18378
|
|
|
18378
|
-
let Container$
|
|
18379
|
+
let Container$J = container;
|
|
18379
18380
|
let list$1 = list_1;
|
|
18380
18381
|
|
|
18381
|
-
class Rule$3 extends Container$
|
|
18382
|
+
class Rule$3 extends Container$J {
|
|
18382
18383
|
constructor(defaults) {
|
|
18383
18384
|
super(defaults);
|
|
18384
18385
|
this.type = 'rule';
|
|
@@ -18399,7 +18400,7 @@ class Rule$3 extends Container$I {
|
|
|
18399
18400
|
var rule = Rule$3;
|
|
18400
18401
|
Rule$3.default = Rule$3;
|
|
18401
18402
|
|
|
18402
|
-
Container$
|
|
18403
|
+
Container$J.registerRule(Rule$3);
|
|
18403
18404
|
|
|
18404
18405
|
let Declaration$2 = declaration;
|
|
18405
18406
|
let tokenizer = tokenize;
|
|
@@ -19003,7 +19004,7 @@ class Parser$1 {
|
|
|
19003
19004
|
|
|
19004
19005
|
var parser = Parser$1;
|
|
19005
19006
|
|
|
19006
|
-
let Container$
|
|
19007
|
+
let Container$I = container;
|
|
19007
19008
|
let Parser = parser;
|
|
19008
19009
|
let Input$3 = input;
|
|
19009
19010
|
|
|
@@ -19042,12 +19043,12 @@ function parse$3(css, opts) {
|
|
|
19042
19043
|
var parse_1 = parse$3;
|
|
19043
19044
|
parse$3.default = parse$3;
|
|
19044
19045
|
|
|
19045
|
-
Container$
|
|
19046
|
+
Container$I.registerParse(parse$3);
|
|
19046
19047
|
|
|
19047
19048
|
let { isClean, my } = symbols;
|
|
19048
19049
|
let MapGenerator$1 = mapGenerator;
|
|
19049
19050
|
let stringify$2 = stringify_1;
|
|
19050
|
-
let Container$
|
|
19051
|
+
let Container$H = container;
|
|
19051
19052
|
let Document$2 = document$1;
|
|
19052
19053
|
let warnOnce$1 = warnOnce$2;
|
|
19053
19054
|
let Result$3 = result;
|
|
@@ -19182,7 +19183,7 @@ class LazyResult$2 {
|
|
|
19182
19183
|
|
|
19183
19184
|
if (root && !root[my]) {
|
|
19184
19185
|
/* c8 ignore next 2 */
|
|
19185
|
-
Container$
|
|
19186
|
+
Container$H.rebuild(root);
|
|
19186
19187
|
}
|
|
19187
19188
|
}
|
|
19188
19189
|
|
|
@@ -19849,7 +19850,7 @@ fromJSON$1.default = fromJSON$1;
|
|
|
19849
19850
|
let CssSyntaxError = cssSyntaxError;
|
|
19850
19851
|
let Declaration = declaration;
|
|
19851
19852
|
let LazyResult = lazyResult;
|
|
19852
|
-
let Container$
|
|
19853
|
+
let Container$G = container;
|
|
19853
19854
|
let Processor = processor;
|
|
19854
19855
|
let stringify = stringify_1;
|
|
19855
19856
|
let fromJSON = fromJSON_1;
|
|
@@ -19929,7 +19930,7 @@ postcss.document = defaults => new Document(defaults);
|
|
|
19929
19930
|
|
|
19930
19931
|
postcss.CssSyntaxError = CssSyntaxError;
|
|
19931
19932
|
postcss.Declaration = Declaration;
|
|
19932
|
-
postcss.Container = Container$
|
|
19933
|
+
postcss.Container = Container$G;
|
|
19933
19934
|
postcss.Processor = Processor;
|
|
19934
19935
|
postcss.Document = Document;
|
|
19935
19936
|
postcss.Comment = Comment;
|
|
@@ -20798,7 +20799,7 @@ var sanitizeHtml$1 = sanitizeHtml_1;
|
|
|
20798
20799
|
var Card = function (_a) {
|
|
20799
20800
|
var header = _a.header, content = _a.content, footerLink = _a.footerLink, imageLarge = _a.imageLarge, imageSmall = _a.imageSmall, imageAltText = _a.imageAltText;
|
|
20800
20801
|
var showContent = content || header;
|
|
20801
|
-
return (React.createElement(Container$
|
|
20802
|
+
return (React.createElement(Container$O, { "data-testid": "Card" },
|
|
20802
20803
|
imageLarge && imageSmall && (React.createElement(React.Fragment, null, footerLink ? (React.createElement(ImageLink$1, { href: footerLink.url },
|
|
20803
20804
|
React.createElement(Image$4, { src: imageLarge, alt: imageAltText, srcSet: "".concat(imageSmall, " 400w, ").concat(imageLarge, " 800w"), sizes: "(max-width: 550px) 400px, 800px", loading: "lazy" }))) : (React.createElement(Image$4, { src: imageLarge, alt: imageAltText, srcSet: "".concat(imageSmall, " 400w, ").concat(imageLarge, " 800w"), sizes: "(max-width: 550px) 400px, 800px", loading: "lazy" })))),
|
|
20804
20805
|
showContent && (React.createElement(Content$4, null,
|
|
@@ -20814,12 +20815,12 @@ var Card = function (_a) {
|
|
|
20814
20815
|
*/
|
|
20815
20816
|
var Cards = function (_a) {
|
|
20816
20817
|
var cards = _a.cards;
|
|
20817
|
-
return (React.createElement(Container$
|
|
20818
|
+
return (React.createElement(Container$P, { "data-testid": "Cards" },
|
|
20818
20819
|
React.createElement(Row$1, null, cards.map(function (card, index) { return (React.createElement(Column, { small: "full", medium: "one-half", large: "one-third", key: index },
|
|
20819
20820
|
React.createElement(Card, __assign$2({}, card)))); }))));
|
|
20820
20821
|
};
|
|
20821
20822
|
|
|
20822
|
-
const Container$
|
|
20823
|
+
const Container$F = styled.div`
|
|
20823
20824
|
margin: 25px 0;
|
|
20824
20825
|
`;
|
|
20825
20826
|
|
|
@@ -20888,10 +20889,11 @@ const FileDetails = styled.div`
|
|
|
20888
20889
|
max-width: calc(100% - 45px);
|
|
20889
20890
|
transition: transform 0.3s;
|
|
20890
20891
|
`;
|
|
20891
|
-
const Title$7 = styled.
|
|
20892
|
+
const Title$7 = styled.p`
|
|
20892
20893
|
display: block;
|
|
20893
20894
|
color: ${(props) => props.theme.theme_vars.colours.action};
|
|
20894
20895
|
font-weight: 700;
|
|
20896
|
+
margin-bottom: 0 !important;
|
|
20895
20897
|
`;
|
|
20896
20898
|
const Type = styled.span`
|
|
20897
20899
|
color: ${(props) => props.theme.theme_vars.colours.black};
|
|
@@ -20936,7 +20938,7 @@ var FileDownload = function (_a) {
|
|
|
20936
20938
|
|
|
20937
20939
|
var DownloadableFiles = function (_a) {
|
|
20938
20940
|
var files = _a.files;
|
|
20939
|
-
return (React.createElement(Container$
|
|
20941
|
+
return (React.createElement(Container$F, { "data-testid": "DownloadableFiles" }, files.length > 0 ?
|
|
20940
20942
|
files.map(function (file) { return React.createElement(FileDownload, __assign$2({ key: file.title }, file)); })
|
|
20941
20943
|
:
|
|
20942
20944
|
React.createElement("i", null, "No file to show")));
|
|
@@ -21072,7 +21074,7 @@ const wereCookiesAccepted = (cookiesAcceptedOverride) => {
|
|
|
21072
21074
|
return false;
|
|
21073
21075
|
};
|
|
21074
21076
|
|
|
21075
|
-
const Container$
|
|
21077
|
+
const Container$E = styled.div`
|
|
21076
21078
|
border: solid 4px;
|
|
21077
21079
|
border-radius: ${(props) => props.theme.theme_vars.border_radius};
|
|
21078
21080
|
border-color: ${(props) =>
|
|
@@ -21126,7 +21128,7 @@ const InnerContainer$2 = styled.div`
|
|
|
21126
21128
|
*/
|
|
21127
21129
|
var AlertBannerService = function (_a) {
|
|
21128
21130
|
var title = _a.title, _b = _a.hasTopSpacing, hasTopSpacing = _b === void 0 ? false : _b, _c = _a.alertType, alertType = _c === void 0 ? 'alert' : _c, children = _a.children;
|
|
21129
|
-
return (React.createElement(Container$
|
|
21131
|
+
return (React.createElement(Container$E, { alertType: alertType, "data-testid": "AlertBannerService", hasTopSpacing: hasTopSpacing },
|
|
21130
21132
|
React.createElement(InnerContainer$2, { "data-testid": "AlertBannerServiceInner" },
|
|
21131
21133
|
(title === null || title === void 0 ? void 0 : title.trim()) && React.createElement(Heading, { text: title }),
|
|
21132
21134
|
children)));
|
|
@@ -21173,7 +21175,7 @@ var GoogleMap = function (_a) {
|
|
|
21173
21175
|
React.createElement(MapLink, { href: link_url }, link_title ? link_title : 'Google Maps link')))));
|
|
21174
21176
|
};
|
|
21175
21177
|
|
|
21176
|
-
const Container$
|
|
21178
|
+
const Container$D = styled.figure`
|
|
21177
21179
|
display: block;
|
|
21178
21180
|
background: ${(props) =>
|
|
21179
21181
|
props.theme.cardinal_name === 'north'
|
|
@@ -21815,7 +21817,7 @@ var LazyImage = /*@__PURE__*/getDefaultExportFromCjs(lib);
|
|
|
21815
21817
|
*/
|
|
21816
21818
|
var Image$2 = function (_a) {
|
|
21817
21819
|
var imageSmall = _a.imageSmall, imageLarge = _a.imageLarge, imageAltText = _a.imageAltText, _b = _a.ratio, ratio = _b === void 0 ? '4by3' : _b, caption = _a.caption, wrapText = _a.wrapText;
|
|
21818
|
-
return (React.createElement(Container$
|
|
21820
|
+
return (React.createElement(Container$D, { "data-testid": "Image", wrapText: wrapText },
|
|
21819
21821
|
React.createElement(ImageContainer$4, { "data-testid": "ImageContainer", ratio: ratio },
|
|
21820
21822
|
React.createElement(LazyImage, { placeholder: imageSmall, src: imageLarge, visibilitySensorProps: {
|
|
21821
21823
|
partialVisibility: true,
|
|
@@ -21823,7 +21825,7 @@ var Image$2 = function (_a) {
|
|
|
21823
21825
|
(caption === null || caption === void 0 ? void 0 : caption.trim()) && React.createElement(Caption, null, caption)));
|
|
21824
21826
|
};
|
|
21825
21827
|
|
|
21826
|
-
const Container$
|
|
21828
|
+
const Container$C = styled.div`
|
|
21827
21829
|
display: block;
|
|
21828
21830
|
`;
|
|
21829
21831
|
|
|
@@ -21844,7 +21846,7 @@ const Content$3 = styled.div`
|
|
|
21844
21846
|
*/
|
|
21845
21847
|
var ImageAndText = function (_a) {
|
|
21846
21848
|
var heading = _a.heading, textContent = _a.textContent, image = _a.image;
|
|
21847
|
-
return (React.createElement(Container$
|
|
21849
|
+
return (React.createElement(Container$C, { "data-testid": "ImageAndText" },
|
|
21848
21850
|
React.createElement(Row$1, null,
|
|
21849
21851
|
heading && (React.createElement(Column, { small: "full", medium: "full", large: "full" },
|
|
21850
21852
|
React.createElement(HeadingContainer, null,
|
|
@@ -21857,6 +21859,43 @@ var ImageAndText = function (_a) {
|
|
|
21857
21859
|
React.createElement(Content$3, { dangerouslySetInnerHTML: { __html: sanitizeHtml$1(textContent) } }))))));
|
|
21858
21860
|
};
|
|
21859
21861
|
|
|
21862
|
+
const Container$B = styled.div`
|
|
21863
|
+
display: block;
|
|
21864
|
+
`;
|
|
21865
|
+
|
|
21866
|
+
/**
|
|
21867
|
+
* A table displaying a schedule of inquests
|
|
21868
|
+
*/
|
|
21869
|
+
var InquestSchedule = function (_a) {
|
|
21870
|
+
var caseAppointments = _a.caseAppointments, title = _a.title, _b = _a.error, error = _b === void 0 ? false : _b;
|
|
21871
|
+
return (React.createElement(Container$B, { "data-testid": "InquestSchedule" },
|
|
21872
|
+
React.createElement("div", { className: "table-container" },
|
|
21873
|
+
React.createElement("table", null,
|
|
21874
|
+
React.createElement("caption", null, title),
|
|
21875
|
+
React.createElement("thead", null,
|
|
21876
|
+
React.createElement("tr", null,
|
|
21877
|
+
React.createElement("th", null, "Name"),
|
|
21878
|
+
React.createElement("th", null, "Age"),
|
|
21879
|
+
React.createElement("th", null, "Place of death"),
|
|
21880
|
+
React.createElement("th", null, "Date of death"),
|
|
21881
|
+
React.createElement("th", null, "Name of coroner"),
|
|
21882
|
+
React.createElement("th", null, "Location"),
|
|
21883
|
+
React.createElement("th", null, "Date and time"))),
|
|
21884
|
+
React.createElement("tbody", null,
|
|
21885
|
+
caseAppointments.map(function (item, index) { return (React.createElement("tr", { key: index },
|
|
21886
|
+
React.createElement("td", null, item.fullName),
|
|
21887
|
+
React.createElement("td", null, item.age),
|
|
21888
|
+
React.createElement("td", null, item.placeOfDeath),
|
|
21889
|
+
React.createElement("td", null, new Date(item.dateTimeOfDeath).toLocaleString('en-GB')),
|
|
21890
|
+
React.createElement("td", null, item.coroner),
|
|
21891
|
+
React.createElement("td", null, item.courtroomFullAddress),
|
|
21892
|
+
React.createElement("td", null, new Date(item.startDateTime).toLocaleString('en-GB')))); }),
|
|
21893
|
+
caseAppointments.length === 0 && (React.createElement("tr", null,
|
|
21894
|
+
React.createElement("td", { colSpan: 7 },
|
|
21895
|
+
React.createElement("p", null, "We can't find any results at the moment."),
|
|
21896
|
+
error ? (React.createElement("p", null, " The information is currently unavailable.")) : (React.createElement("p", null, "There are no inquests scheduled for next month."))))))))));
|
|
21897
|
+
};
|
|
21898
|
+
|
|
21860
21899
|
const Container$A = styled.div`
|
|
21861
21900
|
${(props) => props.theme.fontStyles};
|
|
21862
21901
|
overflow: hidden;
|
|
@@ -22278,8 +22317,8 @@ var Input = function (_a) {
|
|
|
22278
22317
|
|
|
22279
22318
|
var CustomSearch = function (_a) {
|
|
22280
22319
|
var method = _a.method, path = _a.path, label = _a.label, _b = _a.hasHiddenLabel, hasHiddenLabel = _b === void 0 ? true : _b, fieldName = _a.fieldName, placeholder = _a.placeholder, searchText = _a.searchText, id = _a.id;
|
|
22281
|
-
if (id
|
|
22282
|
-
id =
|
|
22320
|
+
if (!id) {
|
|
22321
|
+
id = useId();
|
|
22283
22322
|
}
|
|
22284
22323
|
return (React.createElement(Container$y, { "data-testid": "CustomSearch" },
|
|
22285
22324
|
React.createElement("form", { method: method, action: path, "aria-label": label },
|
|
@@ -22357,6 +22396,7 @@ const VideoLink = styled.a`
|
|
|
22357
22396
|
var Video = function (_a) {
|
|
22358
22397
|
var video_id = _a.video_id, provider = _a.provider, description = _a.description, allowCookies = _a.allowCookies; __rest(_a, ["video_id", "provider", "description", "allowCookies"]);
|
|
22359
22398
|
var cookiesAccepted = wereCookiesAccepted(allowCookies);
|
|
22399
|
+
var _b = useState(false), notServer = _b[0], setNotServer = _b[1];
|
|
22360
22400
|
var watchLink;
|
|
22361
22401
|
var embedLink;
|
|
22362
22402
|
var defineLinks = function () {
|
|
@@ -22370,10 +22410,11 @@ var Video = function (_a) {
|
|
|
22370
22410
|
}
|
|
22371
22411
|
};
|
|
22372
22412
|
defineLinks();
|
|
22373
|
-
|
|
22374
|
-
|
|
22375
|
-
|
|
22376
|
-
|
|
22413
|
+
useEffect(function () {
|
|
22414
|
+
setNotServer(true);
|
|
22415
|
+
}, []);
|
|
22416
|
+
return (React.createElement(React.Fragment, null, cookiesAccepted && notServer ? (React.createElement(VideoContainer, { "data-testid": "Video" },
|
|
22417
|
+
React.createElement("iframe", { src: embedLink, title: description, allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; fullscreen;", "data-testid": "VideoIframe" }))) : (React.createElement(VideoLink, { href: watchLink, title: description, "data-testid": "VideoLink" }, description))));
|
|
22377
22418
|
};
|
|
22378
22419
|
|
|
22379
22420
|
const WarningText$1 = styled.div`
|
|
@@ -23365,7 +23406,10 @@ const SocialLinkSingle = styled.a`
|
|
|
23365
23406
|
opacity: 0.8;
|
|
23366
23407
|
}
|
|
23367
23408
|
&:focus {
|
|
23368
|
-
outline:
|
|
23409
|
+
outline: 2px transparent solid;
|
|
23410
|
+
border-radius: 4px;
|
|
23411
|
+
box-shadow: ${(props) => props.theme.theme_vars.colours.focus} 0 0 0 3px;
|
|
23412
|
+
transition: box-shadow 0.3s ease 0s;
|
|
23369
23413
|
|
|
23370
23414
|
svg {
|
|
23371
23415
|
path {
|
|
@@ -23375,6 +23419,9 @@ const SocialLinkSingle = styled.a`
|
|
|
23375
23419
|
}
|
|
23376
23420
|
&:active {
|
|
23377
23421
|
opacity: 1;
|
|
23422
|
+
border-radius: 4px;
|
|
23423
|
+
box-shadow: ${(props) => props.theme.theme_vars.colours.focus} 0 0 0 3px;
|
|
23424
|
+
transition: box-shadow 0.3s ease 0s;
|
|
23378
23425
|
|
|
23379
23426
|
svg {
|
|
23380
23427
|
path {
|
|
@@ -23583,21 +23630,23 @@ const StyledMaxWidthContainer$2 = styled(MaxWidthContainer)`
|
|
|
23583
23630
|
}
|
|
23584
23631
|
`;
|
|
23585
23632
|
|
|
23586
|
-
const LogoStyles =
|
|
23633
|
+
const LogoStyles = () => {
|
|
23634
|
+
return css`
|
|
23587
23635
|
svg {
|
|
23588
|
-
|
|
23589
|
-
|
|
23590
|
-
|
|
23636
|
+
width: 240px;
|
|
23637
|
+
height: auto;
|
|
23638
|
+
vertical-align: middle;
|
|
23591
23639
|
}
|
|
23592
23640
|
&.black_logo {
|
|
23593
|
-
|
|
23594
|
-
|
|
23595
|
-
|
|
23596
|
-
|
|
23597
|
-
}
|
|
23641
|
+
svg {
|
|
23642
|
+
fill: black !important;
|
|
23643
|
+
path {
|
|
23644
|
+
fill: black !important;
|
|
23598
23645
|
}
|
|
23646
|
+
}
|
|
23599
23647
|
}
|
|
23600
|
-
`;
|
|
23648
|
+
`;
|
|
23649
|
+
};
|
|
23601
23650
|
|
|
23602
23651
|
const LogoColoured$1 = styled.div`
|
|
23603
23652
|
${LogoStyles}
|
|
@@ -23622,8 +23671,13 @@ const HomeLink = styled.a`
|
|
|
23622
23671
|
}
|
|
23623
23672
|
}
|
|
23624
23673
|
&:focus {
|
|
23625
|
-
outline:
|
|
23626
|
-
box-shadow: ${(props) => props.theme.theme_vars.colours.focus} 0 0 0
|
|
23674
|
+
outline: 2px transparent solid;
|
|
23675
|
+
box-shadow: ${(props) => props.theme.theme_vars.colours.focus} 0 0 0 2px,
|
|
23676
|
+
${(props) =>
|
|
23677
|
+
props.theme.cardinal_name === 'north'
|
|
23678
|
+
? props.theme.theme_vars.colours.black
|
|
23679
|
+
: props.theme.theme_vars.colours.focus}
|
|
23680
|
+
0 0 0 4px;
|
|
23627
23681
|
transition: box-shadow 0.3s ease 0s;
|
|
23628
23682
|
}
|
|
23629
23683
|
`;
|
|
@@ -25727,16 +25781,13 @@ const Pagelink = styled.a`
|
|
|
25727
25781
|
}
|
|
25728
25782
|
}
|
|
25729
25783
|
&:focus {
|
|
25730
|
-
|
|
25731
|
-
box-shadow: 0px -4px 0px 0px ${(props) => props.theme.theme_vars.colours.black} inset !important;
|
|
25732
|
-
-webkit-box-shadow: 0px -4px 0px 0px ${(props) => props.theme.theme_vars.colours.black} inset !important;
|
|
25733
|
-
-moz-box-shadow: 0px -4px 0px 0px ${(props) => props.theme.theme_vars.colours.black} inset !important;
|
|
25784
|
+
${(props) => props.theme.linkStylesFocus}
|
|
25734
25785
|
}
|
|
25735
25786
|
&:active {
|
|
25736
25787
|
transform: translate(3px);
|
|
25737
|
-
box-shadow: 0px -
|
|
25738
|
-
-webkit-box-shadow: 0px -
|
|
25739
|
-
-moz-box-shadow: 0px -
|
|
25788
|
+
box-shadow: 0px -2px 0px 0px ${(props) => props.theme.theme_vars.colours.black} inset !important;
|
|
25789
|
+
-webkit-box-shadow: 0px -2px 0px 0px ${(props) => props.theme.theme_vars.colours.black} inset !important;
|
|
25790
|
+
-moz-box-shadow: 0px -2px 0px 0px ${(props) => props.theme.theme_vars.colours.black} inset !important;
|
|
25740
25791
|
}
|
|
25741
25792
|
`;
|
|
25742
25793
|
|
|
@@ -25773,7 +25824,7 @@ styled.img`
|
|
|
25773
25824
|
left: 0;
|
|
25774
25825
|
width: 100%;
|
|
25775
25826
|
height: 100%;
|
|
25776
|
-
|
|
25827
|
+
`;
|
|
25777
25828
|
|
|
25778
25829
|
/**
|
|
25779
25830
|
* Display a list of links for a section with optional images
|
|
@@ -33959,9 +34010,9 @@ const generate_theme = (theme_vars) => {
|
|
|
33959
34010
|
background: ${theme_vars.colours.focus};
|
|
33960
34011
|
outline: none;
|
|
33961
34012
|
text-decoration: none !important;
|
|
33962
|
-
box-shadow: 0
|
|
33963
|
-
-webkit-box-shadow: 0
|
|
33964
|
-
-moz-box-shadow: 0
|
|
34013
|
+
box-shadow: 0 0 0 1px ${theme_vars.colours.focus}, 0 0 0 3px ${theme_vars.colours.black};
|
|
34014
|
+
-webkit-box-shadow: 0 0 0 1px ${theme_vars.colours.focus}, 0 0 0 3px ${theme_vars.colours.black};
|
|
34015
|
+
-moz-box-shadow: 0 0 0 1px ${theme_vars.colours.focus}, 0 0 0 3px ${theme_vars.colours.black};
|
|
33965
34016
|
`,
|
|
33966
34017
|
linkStylesActive: css`
|
|
33967
34018
|
color: ${theme_vars.colours.black};
|
|
@@ -34152,7 +34203,10 @@ const GlobalStyleReset = createGlobalStyle`
|
|
|
34152
34203
|
.table-container li {
|
|
34153
34204
|
left: 0;
|
|
34154
34205
|
}
|
|
34206
|
+
table tr td {
|
|
34207
|
+
vertical-align: top;
|
|
34208
|
+
}
|
|
34155
34209
|
`;
|
|
34156
34210
|
|
|
34157
|
-
export { AccessibleLink as AccessibleLinks, Accordion, AlertBanner, AlertBannerService, Autocomplete, BlockQuote, Breadcrumbs, Button$2 as Button, CallToAction, Cards, CheckboxListFilter, Contents$1 as Contents, ContentsNavigation, CookieBanner, CouncilTaxAlphabeticalDirectory, DisplayDate, Divider, DownloadableFiles, DropDownFilter, DynamicIcon, Footer, FullWidthContainer, GDS_theme, GlobalStyleReset, GoogleMap, Header, Heading, HeadingWithIcon, HeroImage, HomeHero, Image$2 as Image, ImageAndText, MaxWidthContainer, MemorialHero, NewsArticleDate, NewsArticleFeaturedBlock, NewsArticleFilterAccordion, NewsArticleImage, NewsArticleList, NewsArticleListHeader, NewsArticleOldBanner, PageMain, PageSidebar, PageTitle, PageWithSidebarContainer, PageWrapper, Pagination, PhaseBanner, PromoBanner, PromoBlock, PromotedLinks, Promotions, SearchBox, SearchResultsList, Searchbar, SectionLinks, SectionLinksMobileContents, SectionLinksSidebar, ServiceLinksBoxed, ServicesLinksList, SignpostLinks, SkipToMainContent, Summary, TextInput, Video, WarningText, WarningTextDisclaimer, lb_theme_north, lb_theme_west, north_theme, west_theme };
|
|
34211
|
+
export { AccessibleLink as AccessibleLinks, Accordion, AlertBanner, AlertBannerService, Autocomplete, BlockQuote, Breadcrumbs, Button$2 as Button, CallToAction, Cards, CheckboxListFilter, Contents$1 as Contents, ContentsNavigation, CookieBanner, CouncilTaxAlphabeticalDirectory, DisplayDate, Divider, DownloadableFiles, DropDownFilter, DynamicIcon, Footer, FullWidthContainer, GDS_theme, GlobalStyleReset, GoogleMap, Header, Heading, HeadingWithIcon, HeroImage, HomeHero, Image$2 as Image, ImageAndText, InquestSchedule, MaxWidthContainer, MemorialHero, NewsArticleDate, NewsArticleFeaturedBlock, NewsArticleFilterAccordion, NewsArticleImage, NewsArticleList, NewsArticleListHeader, NewsArticleOldBanner, PageMain, PageSidebar, PageTitle, PageWithSidebarContainer, PageWrapper, Pagination, PhaseBanner, PromoBanner, PromoBlock, PromotedLinks, Promotions, SearchBox, SearchResultsList, Searchbar, SectionLinks, SectionLinksMobileContents, SectionLinksSidebar, ServiceLinksBoxed, ServicesLinksList, SignpostLinks, SkipToMainContent, Summary, TextInput, Video, WarningText, WarningTextDisclaimer, lb_theme_north, lb_theme_west, north_theme, west_theme };
|
|
34158
34212
|
//# sourceMappingURL=index.esm.js.map
|