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.js
CHANGED
|
@@ -169,7 +169,8 @@ const StyledTextInput = styled__default["default"].input`
|
|
|
169
169
|
|
|
170
170
|
&:focus {
|
|
171
171
|
outline: none;
|
|
172
|
-
box-shadow: ${(props) => props.theme.theme_vars.colours.focus} 0 0 0
|
|
172
|
+
box-shadow: ${(props) => props.theme.theme_vars.colours.focus} 0 0 0 2px,
|
|
173
|
+
${(props) => props.theme.theme_vars.colours.black} 0 0 0 4px;
|
|
173
174
|
transition: box-shadow 0.3s ease 0s;
|
|
174
175
|
}
|
|
175
176
|
|
|
@@ -5808,7 +5809,7 @@ var HeadingWithIcon = function (_a) {
|
|
|
5808
5809
|
React__default["default"].createElement(Heading, { text: text, level: level })));
|
|
5809
5810
|
};
|
|
5810
5811
|
|
|
5811
|
-
const Container$
|
|
5812
|
+
const Container$X = styled__default["default"].div`
|
|
5812
5813
|
${(props) => props.theme.fontStyles};
|
|
5813
5814
|
display: block;
|
|
5814
5815
|
border-top: 1px solid ${(props) => props.theme.theme_vars.colours.grey};
|
|
@@ -6580,7 +6581,7 @@ var Pagination = function (_a) {
|
|
|
6580
6581
|
handleParams(postTo, [{ key: 'page', value: pageNo }]);
|
|
6581
6582
|
};
|
|
6582
6583
|
if (numbers.length > 1) {
|
|
6583
|
-
return (React__default["default"].createElement(Container$
|
|
6584
|
+
return (React__default["default"].createElement(Container$X, { "data-testid": "Pagination", role: "navigation", "aria-label": "Pagination" },
|
|
6584
6585
|
currentPage > 1 && (React__default["default"].createElement(Previous, { onClick: function () { return buttonClick(currentPage - 1); }, title: "Go back a page" }, "Previous")),
|
|
6585
6586
|
React__default["default"].createElement(NumbersContainer, null, numbers.map(function (v, i) { return (React__default["default"].createElement(NumberContainer, { key: i },
|
|
6586
6587
|
v === '...' && (React__default["default"].createElement(Ellipsis, null, "...")),
|
|
@@ -6592,7 +6593,7 @@ var Pagination = function (_a) {
|
|
|
6592
6593
|
return null;
|
|
6593
6594
|
};
|
|
6594
6595
|
|
|
6595
|
-
const Container$
|
|
6596
|
+
const Container$W = styled__default["default"].div`
|
|
6596
6597
|
${(props) => props.theme.fontStyles};
|
|
6597
6598
|
margin-bottom: 30px;
|
|
6598
6599
|
`;
|
|
@@ -6763,7 +6764,7 @@ var CheckboxListFilter = function (_a) {
|
|
|
6763
6764
|
handleParams('news', [{ key: NewsArticleFilterFields.articleType.queryParamKey, value: articleTypes }], ['page']);
|
|
6764
6765
|
};
|
|
6765
6766
|
var backupLabel = Math.random().toString(36).substring(7);
|
|
6766
|
-
return (React__default["default"].createElement(Container$
|
|
6767
|
+
return (React__default["default"].createElement(Container$W, { "data-testid": "CheckboxListFilter" },
|
|
6767
6768
|
React__default["default"].createElement(Fieldset, { "aria-describedby": hintId },
|
|
6768
6769
|
React__default["default"].createElement(Legend, { labelHidden: labelHidden, "data-testid": "CheckboxListFilterLegend" }, label),
|
|
6769
6770
|
React__default["default"].createElement(Hint, { id: hintId, hintHidden: hintHidden, "data-testid": "CheckboxListFilterHint" }, hint),
|
|
@@ -6772,52 +6773,52 @@ var CheckboxListFilter = function (_a) {
|
|
|
6772
6773
|
React__default["default"].createElement(CheckboxLabel, { isChecked: option.checked, htmlFor: option.value }, option.title))); })))));
|
|
6773
6774
|
};
|
|
6774
6775
|
|
|
6775
|
-
const Container$
|
|
6776
|
-
${props => props.theme.fontStyles};
|
|
6776
|
+
const Container$V = styled__default["default"].div`
|
|
6777
|
+
${(props) => props.theme.fontStyles};
|
|
6777
6778
|
`;
|
|
6778
6779
|
|
|
6779
|
-
const hideLabel = props => {
|
|
6780
|
-
if(props.hideLabel === true) {
|
|
6780
|
+
const hideLabel = (props) => {
|
|
6781
|
+
if (props.hideLabel === true) {
|
|
6781
6782
|
return VisuallyHidden$2;
|
|
6782
6783
|
}
|
|
6783
6784
|
};
|
|
6784
6785
|
|
|
6785
|
-
|
|
6786
6786
|
const Label$2 = styled__default["default"].label`
|
|
6787
|
-
|
|
6788
|
-
|
|
6789
|
-
|
|
6787
|
+
display: block;
|
|
6788
|
+
margin-bottom: 5px;
|
|
6789
|
+
${hideLabel}
|
|
6790
6790
|
`;
|
|
6791
6791
|
|
|
6792
6792
|
const Select = styled__default["default"].select`
|
|
6793
|
-
|
|
6794
|
-
${props => props.theme.
|
|
6795
|
-
border-radius: ${props => props.theme.theme_vars.border_radius};
|
|
6793
|
+
${(props) => props.theme.fontStyles};
|
|
6794
|
+
border-radius: ${(props) => props.theme.theme_vars.border_radius};
|
|
6796
6795
|
box-sizing: border-box;
|
|
6797
6796
|
max-width: 100%;
|
|
6798
6797
|
height: 40px;
|
|
6799
6798
|
height: 2.5rem;
|
|
6800
6799
|
padding: 5px;
|
|
6801
|
-
border: 2px solid ${props => props.theme.theme_vars.colours.black};
|
|
6800
|
+
border: 2px solid ${(props) => props.theme.theme_vars.colours.black};
|
|
6802
6801
|
|
|
6803
6802
|
&:focus {
|
|
6804
|
-
outline:
|
|
6805
|
-
box-shadow: ${props => props.theme.theme_vars.colours.focus} 0 0 0
|
|
6803
|
+
outline: 2px transparent solid;
|
|
6804
|
+
box-shadow: ${(props) => props.theme.theme_vars.colours.focus} 0 0 0 2px,
|
|
6805
|
+
${(props) => props.theme.theme_vars.colours.black} 0 0 0 4px;
|
|
6806
6806
|
transition: box-shadow 0.3s ease 0s;
|
|
6807
6807
|
}
|
|
6808
6808
|
`;
|
|
6809
6809
|
|
|
6810
6810
|
const Option = styled__default["default"].option`
|
|
6811
|
-
:active,
|
|
6811
|
+
:active,
|
|
6812
|
+
:checked,
|
|
6813
|
+
:focus::-ms-value {
|
|
6812
6814
|
color: #fff;
|
|
6813
|
-
background-color: #1d70b8
|
|
6815
|
+
background-color: #1d70b8;
|
|
6814
6816
|
}
|
|
6815
|
-
|
|
6816
6817
|
`;
|
|
6817
6818
|
|
|
6818
6819
|
var DropDownSelect = function (_a) {
|
|
6819
6820
|
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;
|
|
6820
|
-
return (React__default["default"].createElement(Container$
|
|
6821
|
+
return (React__default["default"].createElement(Container$V, null,
|
|
6821
6822
|
React__default["default"].createElement(Label$2, { htmlFor: id, hideLabel: hideLabel }, label),
|
|
6822
6823
|
React__default["default"].createElement(Select, { id: id, name: id, onChange: onChange && onChange, defaultValue: selected && selected }, options.map(function (option, i) {
|
|
6823
6824
|
return React__default["default"].createElement(Option, { key: i, value: option.value }, option.title);
|
|
@@ -6934,7 +6935,7 @@ const PromotedLink$1 = styled__default["default"].a`
|
|
|
6934
6935
|
${oneColStyles}
|
|
6935
6936
|
`;
|
|
6936
6937
|
|
|
6937
|
-
const Container$
|
|
6938
|
+
const Container$U = styled__default["default"].div`
|
|
6938
6939
|
box-sizing: border-box;
|
|
6939
6940
|
display: flex;
|
|
6940
6941
|
flex-wrap: wrap;
|
|
@@ -6957,7 +6958,7 @@ const Container$T = styled__default["default"].div`
|
|
|
6957
6958
|
|
|
6958
6959
|
var Row$1 = function (_a) {
|
|
6959
6960
|
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;
|
|
6960
|
-
return (React__default["default"].createElement(Container$
|
|
6961
|
+
return (React__default["default"].createElement(Container$U, { "data-testid": "Row", hasBorder: hasBorder, hasWrap: hasWrap, as: isList ? 'ul' : 'div' }, children));
|
|
6961
6962
|
};
|
|
6962
6963
|
|
|
6963
6964
|
const calculateWidth = (size) => {
|
|
@@ -7007,7 +7008,7 @@ const widths = (props) => {
|
|
|
7007
7008
|
`;
|
|
7008
7009
|
};
|
|
7009
7010
|
|
|
7010
|
-
const Container$
|
|
7011
|
+
const Container$T = styled__default["default"].div`
|
|
7011
7012
|
box-sizing: border-box;
|
|
7012
7013
|
display: block;
|
|
7013
7014
|
padding: ${(props) => (props.hasPadding ? props.theme.theme_vars.spacingSizes.small : `0`)};
|
|
@@ -7018,7 +7019,7 @@ const Container$S = styled__default["default"].div`
|
|
|
7018
7019
|
|
|
7019
7020
|
var Column = function (_a) {
|
|
7020
7021
|
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;
|
|
7021
|
-
return (React__default["default"].createElement(Container$
|
|
7022
|
+
return (React__default["default"].createElement(Container$T, { "data-testid": "Column", small: small, medium: medium, large: large, hasPadding: hasPadding, hasBorder: hasBorder, as: isList ? 'li' : 'div' }, children));
|
|
7022
7023
|
};
|
|
7023
7024
|
|
|
7024
7025
|
var PromotedLinks = function (_a) {
|
|
@@ -7046,7 +7047,7 @@ var TextInput = function (_a) {
|
|
|
7046
7047
|
|
|
7047
7048
|
// Accordion
|
|
7048
7049
|
|
|
7049
|
-
const Container$
|
|
7050
|
+
const Container$S = styled__default["default"].div`
|
|
7050
7051
|
${(props) => props.theme.fontStyles}
|
|
7051
7052
|
margin-bottom: 20px;
|
|
7052
7053
|
border-bottom: 1px solid ${(props) => props.theme.theme_vars.colours.grey};
|
|
@@ -7268,19 +7269,12 @@ const SectionContent = styled__default["default"].div`
|
|
|
7268
7269
|
}
|
|
7269
7270
|
`;
|
|
7270
7271
|
|
|
7271
|
-
const uniqueID = () => {
|
|
7272
|
-
// Math.random should be unique because of its seeding algorithm.
|
|
7273
|
-
// Convert it to base 36 (numbers + letters), and grab the first 9 characters
|
|
7274
|
-
// after the decimal.
|
|
7275
|
-
return '_' + Math.random().toString(36).substr(2, 9);
|
|
7276
|
-
};
|
|
7277
|
-
|
|
7278
7272
|
var AccordionSection = function (_a) {
|
|
7279
7273
|
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;
|
|
7280
7274
|
var onSectionToggle = function () {
|
|
7281
7275
|
return isExpanded === true ? onToggle(accordionSectionId, false) : onToggle(accordionSectionId, true);
|
|
7282
7276
|
};
|
|
7283
|
-
var thisSectionId = sectionId === false ? "accordion_section".concat(
|
|
7277
|
+
var thisSectionId = sectionId === false ? "accordion_section".concat(React.useId()) : sectionId;
|
|
7284
7278
|
return (React__default["default"].createElement(Section, { id: thisSectionId, className: isExpanded && 'accordion__section--expanded' },
|
|
7285
7279
|
React__default["default"].createElement(SectionHeader, { onClick: onSectionToggle },
|
|
7286
7280
|
React__default["default"].createElement(SectionHeading, { as: isFilter ? 'h3' : 'h2' },
|
|
@@ -7294,6 +7288,13 @@ var AccordionSection = function (_a) {
|
|
|
7294
7288
|
isExpanded && withReadMore && (React__default["default"].createElement(ShowLessButton, { onClick: onSectionToggle }, "Show less")))));
|
|
7295
7289
|
};
|
|
7296
7290
|
|
|
7291
|
+
const uniqueID = () => {
|
|
7292
|
+
// Math.random should be unique because of its seeding algorithm.
|
|
7293
|
+
// Convert it to base 36 (numbers + letters), and grab the first 9 characters
|
|
7294
|
+
// after the decimal.
|
|
7295
|
+
return '_' + Math.random().toString(36).substr(2, 9);
|
|
7296
|
+
};
|
|
7297
|
+
|
|
7297
7298
|
var Accordion = function (_a) {
|
|
7298
7299
|
var sections = _a.sections, _b = _a.isFilter, isFilter = _b === void 0 ? false : _b, _c = _a.withReadMore, withReadMore = _c === void 0 ? false : _c;
|
|
7299
7300
|
sections.map(function (section, i) {
|
|
@@ -7328,7 +7329,7 @@ var Accordion = function (_a) {
|
|
|
7328
7329
|
setAccordionStates(newStatus);
|
|
7329
7330
|
};
|
|
7330
7331
|
var accordionId = "accordion".concat(uniqueID());
|
|
7331
|
-
return (React__default["default"].createElement(Container$
|
|
7332
|
+
return (React__default["default"].createElement(Container$S, { "data-testid": "Accordion", id: accordionId },
|
|
7332
7333
|
showControls && sections.length > 1 && (React__default["default"].createElement(AccordionControls, null,
|
|
7333
7334
|
React__default["default"].createElement(OpenAllButton, { onClick: toggleAll, type: "button", "aria-expanded": !openAll },
|
|
7334
7335
|
openAll ? 'Open all' : 'Close all',
|
|
@@ -7379,7 +7380,7 @@ var BlockQuote = function (_a) {
|
|
|
7379
7380
|
citation && React__default["default"].createElement(Citation, null, citation)));
|
|
7380
7381
|
};
|
|
7381
7382
|
|
|
7382
|
-
const Container$
|
|
7383
|
+
const Container$R = styled__default["default"].div`
|
|
7383
7384
|
margin-bottom: 30px;
|
|
7384
7385
|
display: block;
|
|
7385
7386
|
|
|
@@ -7394,11 +7395,11 @@ const Container$Q = styled__default["default"].div`
|
|
|
7394
7395
|
*/
|
|
7395
7396
|
var CallToAction = function (_a) {
|
|
7396
7397
|
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"]);
|
|
7397
|
-
return (React__default["default"].createElement(Container$
|
|
7398
|
+
return (React__default["default"].createElement(Container$R, null,
|
|
7398
7399
|
React__default["default"].createElement(Button$2, { primary: primary, size: "large", text: text, url: url, isExternal: isExternal, isDisabled: isDisabled })));
|
|
7399
7400
|
};
|
|
7400
7401
|
|
|
7401
|
-
const Container$
|
|
7402
|
+
const Container$Q = styled__default["default"].div`
|
|
7402
7403
|
display: block;
|
|
7403
7404
|
${(props) => props.theme.fontStyles}
|
|
7404
7405
|
`;
|
|
@@ -7534,17 +7535,17 @@ var CouncilTaxAlphabeticalDirectory = function (_a) {
|
|
|
7534
7535
|
var formatParishData = function (data) {
|
|
7535
7536
|
var sortData = data.reduce(function (r, e) {
|
|
7536
7537
|
// get first letter of name of current element
|
|
7537
|
-
var group = e.
|
|
7538
|
+
var group = e.parish[0];
|
|
7538
7539
|
if (!r[group]) {
|
|
7539
7540
|
// there is no property in accumulator with this letter so create it
|
|
7540
7541
|
r[group] = {
|
|
7541
7542
|
group: group,
|
|
7542
|
-
children: [{ title: trimParishName(e.
|
|
7543
|
+
children: [{ title: trimParishName(e.parish), values: e.bands }],
|
|
7543
7544
|
};
|
|
7544
7545
|
}
|
|
7545
7546
|
else {
|
|
7546
7547
|
// push current element to children array for that letter
|
|
7547
|
-
r[group].children.push({ title: trimParishName(e.
|
|
7548
|
+
r[group].children.push({ title: trimParishName(e.parish), values: e.bands });
|
|
7548
7549
|
}
|
|
7549
7550
|
return r;
|
|
7550
7551
|
}, {});
|
|
@@ -7574,7 +7575,7 @@ var CouncilTaxAlphabeticalDirectory = function (_a) {
|
|
|
7574
7575
|
});
|
|
7575
7576
|
return letterData;
|
|
7576
7577
|
});
|
|
7577
|
-
return (React__default["default"].createElement(Container$
|
|
7578
|
+
return (React__default["default"].createElement(Container$Q, { "data-testid": "AlphabeticalDirectory", ref: directoryRef },
|
|
7578
7579
|
React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
7579
7580
|
parishes.length === 0 && (React__default["default"].createElement(ErrorText, null, "There was an issue fetching the parish data. Please try again later.")),
|
|
7580
7581
|
parish === null ? (React__default["default"].createElement(React__default["default"].Fragment, null, sortedData.map(function (letter, i) { return (React__default["default"].createElement(Row, { key: i },
|
|
@@ -7600,9 +7601,9 @@ var CouncilTaxAlphabeticalDirectory = function (_a) {
|
|
|
7600
7601
|
React__default["default"].createElement("td", null, Number(parish.values[band]).toLocaleString('en-GB', { style: 'currency', currency: 'GBP' })))); })))))))));
|
|
7601
7602
|
};
|
|
7602
7603
|
|
|
7603
|
-
const Container$
|
|
7604
|
+
const Container$P = styled__default["default"].div``;
|
|
7604
7605
|
|
|
7605
|
-
const Container$
|
|
7606
|
+
const Container$O = styled__default["default"].div`
|
|
7606
7607
|
display: flex;
|
|
7607
7608
|
flex-direction: column;
|
|
7608
7609
|
justify-content: flex-start;
|
|
@@ -17720,7 +17721,7 @@ function markDirtyUp(node) {
|
|
|
17720
17721
|
}
|
|
17721
17722
|
}
|
|
17722
17723
|
|
|
17723
|
-
class Container$
|
|
17724
|
+
class Container$N extends Node$1 {
|
|
17724
17725
|
push(child) {
|
|
17725
17726
|
child.parent = this;
|
|
17726
17727
|
this.proxyOf.nodes.push(child);
|
|
@@ -18013,7 +18014,7 @@ class Container$M extends Node$1 {
|
|
|
18013
18014
|
|
|
18014
18015
|
let processed = nodes.map(i => {
|
|
18015
18016
|
/* c8 ignore next */
|
|
18016
|
-
if (!i[my$1]) Container$
|
|
18017
|
+
if (!i[my$1]) Container$N.rebuild(i);
|
|
18017
18018
|
i = i.proxyOf;
|
|
18018
18019
|
if (i.parent) i.parent.removeChild(i);
|
|
18019
18020
|
if (i[isClean$1]) markDirtyUp(i);
|
|
@@ -18091,27 +18092,27 @@ class Container$M extends Node$1 {
|
|
|
18091
18092
|
}
|
|
18092
18093
|
}
|
|
18093
18094
|
|
|
18094
|
-
Container$
|
|
18095
|
+
Container$N.registerParse = dependant => {
|
|
18095
18096
|
parse$4 = dependant;
|
|
18096
18097
|
};
|
|
18097
18098
|
|
|
18098
|
-
Container$
|
|
18099
|
+
Container$N.registerRule = dependant => {
|
|
18099
18100
|
Rule$4 = dependant;
|
|
18100
18101
|
};
|
|
18101
18102
|
|
|
18102
|
-
Container$
|
|
18103
|
+
Container$N.registerAtRule = dependant => {
|
|
18103
18104
|
AtRule$4 = dependant;
|
|
18104
18105
|
};
|
|
18105
18106
|
|
|
18106
|
-
Container$
|
|
18107
|
+
Container$N.registerRoot = dependant => {
|
|
18107
18108
|
Root$6 = dependant;
|
|
18108
18109
|
};
|
|
18109
18110
|
|
|
18110
|
-
var container = Container$
|
|
18111
|
-
Container$
|
|
18111
|
+
var container = Container$N;
|
|
18112
|
+
Container$N.default = Container$N;
|
|
18112
18113
|
|
|
18113
18114
|
/* c8 ignore start */
|
|
18114
|
-
Container$
|
|
18115
|
+
Container$N.rebuild = node => {
|
|
18115
18116
|
if (node.type === 'atrule') {
|
|
18116
18117
|
Object.setPrototypeOf(node, AtRule$4.prototype);
|
|
18117
18118
|
} else if (node.type === 'rule') {
|
|
@@ -18128,16 +18129,16 @@ Container$M.rebuild = node => {
|
|
|
18128
18129
|
|
|
18129
18130
|
if (node.nodes) {
|
|
18130
18131
|
node.nodes.forEach(child => {
|
|
18131
|
-
Container$
|
|
18132
|
+
Container$N.rebuild(child);
|
|
18132
18133
|
});
|
|
18133
18134
|
}
|
|
18134
18135
|
};
|
|
18135
18136
|
|
|
18136
|
-
let Container$
|
|
18137
|
+
let Container$M = container;
|
|
18137
18138
|
|
|
18138
18139
|
let LazyResult$4, Processor$3;
|
|
18139
18140
|
|
|
18140
|
-
class Document$3 extends Container$
|
|
18141
|
+
class Document$3 extends Container$M {
|
|
18141
18142
|
constructor(defaults) {
|
|
18142
18143
|
// type needs to be passed to super, otherwise child roots won't be normalized correctly
|
|
18143
18144
|
super({ type: 'document', ...defaults });
|
|
@@ -18255,9 +18256,9 @@ class Result$4 {
|
|
|
18255
18256
|
var result = Result$4;
|
|
18256
18257
|
Result$4.default = Result$4;
|
|
18257
18258
|
|
|
18258
|
-
let Container$
|
|
18259
|
+
let Container$L = container;
|
|
18259
18260
|
|
|
18260
|
-
class AtRule$3 extends Container$
|
|
18261
|
+
class AtRule$3 extends Container$L {
|
|
18261
18262
|
constructor(defaults) {
|
|
18262
18263
|
super(defaults);
|
|
18263
18264
|
this.type = 'atrule';
|
|
@@ -18277,13 +18278,13 @@ class AtRule$3 extends Container$K {
|
|
|
18277
18278
|
var atRule = AtRule$3;
|
|
18278
18279
|
AtRule$3.default = AtRule$3;
|
|
18279
18280
|
|
|
18280
|
-
Container$
|
|
18281
|
+
Container$L.registerAtRule(AtRule$3);
|
|
18281
18282
|
|
|
18282
|
-
let Container$
|
|
18283
|
+
let Container$K = container;
|
|
18283
18284
|
|
|
18284
18285
|
let LazyResult$3, Processor$2;
|
|
18285
18286
|
|
|
18286
|
-
class Root$5 extends Container$
|
|
18287
|
+
class Root$5 extends Container$K {
|
|
18287
18288
|
constructor(defaults) {
|
|
18288
18289
|
super(defaults);
|
|
18289
18290
|
this.type = 'root';
|
|
@@ -18337,7 +18338,7 @@ Root$5.registerProcessor = dependant => {
|
|
|
18337
18338
|
var root = Root$5;
|
|
18338
18339
|
Root$5.default = Root$5;
|
|
18339
18340
|
|
|
18340
|
-
Container$
|
|
18341
|
+
Container$K.registerRoot(Root$5);
|
|
18341
18342
|
|
|
18342
18343
|
let list$2 = {
|
|
18343
18344
|
split(string, separators, last) {
|
|
@@ -18396,10 +18397,10 @@ let list$2 = {
|
|
|
18396
18397
|
var list_1 = list$2;
|
|
18397
18398
|
list$2.default = list$2;
|
|
18398
18399
|
|
|
18399
|
-
let Container$
|
|
18400
|
+
let Container$J = container;
|
|
18400
18401
|
let list$1 = list_1;
|
|
18401
18402
|
|
|
18402
|
-
class Rule$3 extends Container$
|
|
18403
|
+
class Rule$3 extends Container$J {
|
|
18403
18404
|
constructor(defaults) {
|
|
18404
18405
|
super(defaults);
|
|
18405
18406
|
this.type = 'rule';
|
|
@@ -18420,7 +18421,7 @@ class Rule$3 extends Container$I {
|
|
|
18420
18421
|
var rule = Rule$3;
|
|
18421
18422
|
Rule$3.default = Rule$3;
|
|
18422
18423
|
|
|
18423
|
-
Container$
|
|
18424
|
+
Container$J.registerRule(Rule$3);
|
|
18424
18425
|
|
|
18425
18426
|
let Declaration$2 = declaration;
|
|
18426
18427
|
let tokenizer = tokenize;
|
|
@@ -19024,7 +19025,7 @@ class Parser$1 {
|
|
|
19024
19025
|
|
|
19025
19026
|
var parser = Parser$1;
|
|
19026
19027
|
|
|
19027
|
-
let Container$
|
|
19028
|
+
let Container$I = container;
|
|
19028
19029
|
let Parser = parser;
|
|
19029
19030
|
let Input$3 = input;
|
|
19030
19031
|
|
|
@@ -19063,12 +19064,12 @@ function parse$3(css, opts) {
|
|
|
19063
19064
|
var parse_1 = parse$3;
|
|
19064
19065
|
parse$3.default = parse$3;
|
|
19065
19066
|
|
|
19066
|
-
Container$
|
|
19067
|
+
Container$I.registerParse(parse$3);
|
|
19067
19068
|
|
|
19068
19069
|
let { isClean, my } = symbols;
|
|
19069
19070
|
let MapGenerator$1 = mapGenerator;
|
|
19070
19071
|
let stringify$2 = stringify_1;
|
|
19071
|
-
let Container$
|
|
19072
|
+
let Container$H = container;
|
|
19072
19073
|
let Document$2 = document$1;
|
|
19073
19074
|
let warnOnce$1 = warnOnce$2;
|
|
19074
19075
|
let Result$3 = result;
|
|
@@ -19203,7 +19204,7 @@ class LazyResult$2 {
|
|
|
19203
19204
|
|
|
19204
19205
|
if (root && !root[my]) {
|
|
19205
19206
|
/* c8 ignore next 2 */
|
|
19206
|
-
Container$
|
|
19207
|
+
Container$H.rebuild(root);
|
|
19207
19208
|
}
|
|
19208
19209
|
}
|
|
19209
19210
|
|
|
@@ -19870,7 +19871,7 @@ fromJSON$1.default = fromJSON$1;
|
|
|
19870
19871
|
let CssSyntaxError = cssSyntaxError;
|
|
19871
19872
|
let Declaration = declaration;
|
|
19872
19873
|
let LazyResult = lazyResult;
|
|
19873
|
-
let Container$
|
|
19874
|
+
let Container$G = container;
|
|
19874
19875
|
let Processor = processor;
|
|
19875
19876
|
let stringify = stringify_1;
|
|
19876
19877
|
let fromJSON = fromJSON_1;
|
|
@@ -19950,7 +19951,7 @@ postcss.document = defaults => new Document(defaults);
|
|
|
19950
19951
|
|
|
19951
19952
|
postcss.CssSyntaxError = CssSyntaxError;
|
|
19952
19953
|
postcss.Declaration = Declaration;
|
|
19953
|
-
postcss.Container = Container$
|
|
19954
|
+
postcss.Container = Container$G;
|
|
19954
19955
|
postcss.Processor = Processor;
|
|
19955
19956
|
postcss.Document = Document;
|
|
19956
19957
|
postcss.Comment = Comment;
|
|
@@ -20819,7 +20820,7 @@ var sanitizeHtml$1 = sanitizeHtml_1;
|
|
|
20819
20820
|
var Card = function (_a) {
|
|
20820
20821
|
var header = _a.header, content = _a.content, footerLink = _a.footerLink, imageLarge = _a.imageLarge, imageSmall = _a.imageSmall, imageAltText = _a.imageAltText;
|
|
20821
20822
|
var showContent = content || header;
|
|
20822
|
-
return (React__default["default"].createElement(Container$
|
|
20823
|
+
return (React__default["default"].createElement(Container$O, { "data-testid": "Card" },
|
|
20823
20824
|
imageLarge && imageSmall && (React__default["default"].createElement(React__default["default"].Fragment, null, footerLink ? (React__default["default"].createElement(ImageLink$1, { href: footerLink.url },
|
|
20824
20825
|
React__default["default"].createElement(Image$4, { src: imageLarge, alt: imageAltText, srcSet: "".concat(imageSmall, " 400w, ").concat(imageLarge, " 800w"), sizes: "(max-width: 550px) 400px, 800px", loading: "lazy" }))) : (React__default["default"].createElement(Image$4, { src: imageLarge, alt: imageAltText, srcSet: "".concat(imageSmall, " 400w, ").concat(imageLarge, " 800w"), sizes: "(max-width: 550px) 400px, 800px", loading: "lazy" })))),
|
|
20825
20826
|
showContent && (React__default["default"].createElement(Content$4, null,
|
|
@@ -20835,12 +20836,12 @@ var Card = function (_a) {
|
|
|
20835
20836
|
*/
|
|
20836
20837
|
var Cards = function (_a) {
|
|
20837
20838
|
var cards = _a.cards;
|
|
20838
|
-
return (React__default["default"].createElement(Container$
|
|
20839
|
+
return (React__default["default"].createElement(Container$P, { "data-testid": "Cards" },
|
|
20839
20840
|
React__default["default"].createElement(Row$1, null, cards.map(function (card, index) { return (React__default["default"].createElement(Column, { small: "full", medium: "one-half", large: "one-third", key: index },
|
|
20840
20841
|
React__default["default"].createElement(Card, __assign$2({}, card)))); }))));
|
|
20841
20842
|
};
|
|
20842
20843
|
|
|
20843
|
-
const Container$
|
|
20844
|
+
const Container$F = styled__default["default"].div`
|
|
20844
20845
|
margin: 25px 0;
|
|
20845
20846
|
`;
|
|
20846
20847
|
|
|
@@ -20909,10 +20910,11 @@ const FileDetails = styled__default["default"].div`
|
|
|
20909
20910
|
max-width: calc(100% - 45px);
|
|
20910
20911
|
transition: transform 0.3s;
|
|
20911
20912
|
`;
|
|
20912
|
-
const Title$7 = styled__default["default"].
|
|
20913
|
+
const Title$7 = styled__default["default"].p`
|
|
20913
20914
|
display: block;
|
|
20914
20915
|
color: ${(props) => props.theme.theme_vars.colours.action};
|
|
20915
20916
|
font-weight: 700;
|
|
20917
|
+
margin-bottom: 0 !important;
|
|
20916
20918
|
`;
|
|
20917
20919
|
const Type = styled__default["default"].span`
|
|
20918
20920
|
color: ${(props) => props.theme.theme_vars.colours.black};
|
|
@@ -20957,7 +20959,7 @@ var FileDownload = function (_a) {
|
|
|
20957
20959
|
|
|
20958
20960
|
var DownloadableFiles = function (_a) {
|
|
20959
20961
|
var files = _a.files;
|
|
20960
|
-
return (React__default["default"].createElement(Container$
|
|
20962
|
+
return (React__default["default"].createElement(Container$F, { "data-testid": "DownloadableFiles" }, files.length > 0 ?
|
|
20961
20963
|
files.map(function (file) { return React__default["default"].createElement(FileDownload, __assign$2({ key: file.title }, file)); })
|
|
20962
20964
|
:
|
|
20963
20965
|
React__default["default"].createElement("i", null, "No file to show")));
|
|
@@ -21093,7 +21095,7 @@ const wereCookiesAccepted = (cookiesAcceptedOverride) => {
|
|
|
21093
21095
|
return false;
|
|
21094
21096
|
};
|
|
21095
21097
|
|
|
21096
|
-
const Container$
|
|
21098
|
+
const Container$E = styled__default["default"].div`
|
|
21097
21099
|
border: solid 4px;
|
|
21098
21100
|
border-radius: ${(props) => props.theme.theme_vars.border_radius};
|
|
21099
21101
|
border-color: ${(props) =>
|
|
@@ -21147,7 +21149,7 @@ const InnerContainer$2 = styled__default["default"].div`
|
|
|
21147
21149
|
*/
|
|
21148
21150
|
var AlertBannerService = function (_a) {
|
|
21149
21151
|
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;
|
|
21150
|
-
return (React__default["default"].createElement(Container$
|
|
21152
|
+
return (React__default["default"].createElement(Container$E, { alertType: alertType, "data-testid": "AlertBannerService", hasTopSpacing: hasTopSpacing },
|
|
21151
21153
|
React__default["default"].createElement(InnerContainer$2, { "data-testid": "AlertBannerServiceInner" },
|
|
21152
21154
|
(title === null || title === void 0 ? void 0 : title.trim()) && React__default["default"].createElement(Heading, { text: title }),
|
|
21153
21155
|
children)));
|
|
@@ -21194,7 +21196,7 @@ var GoogleMap = function (_a) {
|
|
|
21194
21196
|
React__default["default"].createElement(MapLink, { href: link_url }, link_title ? link_title : 'Google Maps link')))));
|
|
21195
21197
|
};
|
|
21196
21198
|
|
|
21197
|
-
const Container$
|
|
21199
|
+
const Container$D = styled__default["default"].figure`
|
|
21198
21200
|
display: block;
|
|
21199
21201
|
background: ${(props) =>
|
|
21200
21202
|
props.theme.cardinal_name === 'north'
|
|
@@ -21836,7 +21838,7 @@ var LazyImage = /*@__PURE__*/getDefaultExportFromCjs(lib);
|
|
|
21836
21838
|
*/
|
|
21837
21839
|
var Image$2 = function (_a) {
|
|
21838
21840
|
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;
|
|
21839
|
-
return (React__default["default"].createElement(Container$
|
|
21841
|
+
return (React__default["default"].createElement(Container$D, { "data-testid": "Image", wrapText: wrapText },
|
|
21840
21842
|
React__default["default"].createElement(ImageContainer$4, { "data-testid": "ImageContainer", ratio: ratio },
|
|
21841
21843
|
React__default["default"].createElement(LazyImage, { placeholder: imageSmall, src: imageLarge, visibilitySensorProps: {
|
|
21842
21844
|
partialVisibility: true,
|
|
@@ -21844,7 +21846,7 @@ var Image$2 = function (_a) {
|
|
|
21844
21846
|
(caption === null || caption === void 0 ? void 0 : caption.trim()) && React__default["default"].createElement(Caption, null, caption)));
|
|
21845
21847
|
};
|
|
21846
21848
|
|
|
21847
|
-
const Container$
|
|
21849
|
+
const Container$C = styled__default["default"].div`
|
|
21848
21850
|
display: block;
|
|
21849
21851
|
`;
|
|
21850
21852
|
|
|
@@ -21865,7 +21867,7 @@ const Content$3 = styled__default["default"].div`
|
|
|
21865
21867
|
*/
|
|
21866
21868
|
var ImageAndText = function (_a) {
|
|
21867
21869
|
var heading = _a.heading, textContent = _a.textContent, image = _a.image;
|
|
21868
|
-
return (React__default["default"].createElement(Container$
|
|
21870
|
+
return (React__default["default"].createElement(Container$C, { "data-testid": "ImageAndText" },
|
|
21869
21871
|
React__default["default"].createElement(Row$1, null,
|
|
21870
21872
|
heading && (React__default["default"].createElement(Column, { small: "full", medium: "full", large: "full" },
|
|
21871
21873
|
React__default["default"].createElement(HeadingContainer, null,
|
|
@@ -21878,6 +21880,43 @@ var ImageAndText = function (_a) {
|
|
|
21878
21880
|
React__default["default"].createElement(Content$3, { dangerouslySetInnerHTML: { __html: sanitizeHtml$1(textContent) } }))))));
|
|
21879
21881
|
};
|
|
21880
21882
|
|
|
21883
|
+
const Container$B = styled__default["default"].div`
|
|
21884
|
+
display: block;
|
|
21885
|
+
`;
|
|
21886
|
+
|
|
21887
|
+
/**
|
|
21888
|
+
* A table displaying a schedule of inquests
|
|
21889
|
+
*/
|
|
21890
|
+
var InquestSchedule = function (_a) {
|
|
21891
|
+
var caseAppointments = _a.caseAppointments, title = _a.title, _b = _a.error, error = _b === void 0 ? false : _b;
|
|
21892
|
+
return (React__default["default"].createElement(Container$B, { "data-testid": "InquestSchedule" },
|
|
21893
|
+
React__default["default"].createElement("div", { className: "table-container" },
|
|
21894
|
+
React__default["default"].createElement("table", null,
|
|
21895
|
+
React__default["default"].createElement("caption", null, title),
|
|
21896
|
+
React__default["default"].createElement("thead", null,
|
|
21897
|
+
React__default["default"].createElement("tr", null,
|
|
21898
|
+
React__default["default"].createElement("th", null, "Name"),
|
|
21899
|
+
React__default["default"].createElement("th", null, "Age"),
|
|
21900
|
+
React__default["default"].createElement("th", null, "Place of death"),
|
|
21901
|
+
React__default["default"].createElement("th", null, "Date of death"),
|
|
21902
|
+
React__default["default"].createElement("th", null, "Name of coroner"),
|
|
21903
|
+
React__default["default"].createElement("th", null, "Location"),
|
|
21904
|
+
React__default["default"].createElement("th", null, "Date and time"))),
|
|
21905
|
+
React__default["default"].createElement("tbody", null,
|
|
21906
|
+
caseAppointments.map(function (item, index) { return (React__default["default"].createElement("tr", { key: index },
|
|
21907
|
+
React__default["default"].createElement("td", null, item.fullName),
|
|
21908
|
+
React__default["default"].createElement("td", null, item.age),
|
|
21909
|
+
React__default["default"].createElement("td", null, item.placeOfDeath),
|
|
21910
|
+
React__default["default"].createElement("td", null, new Date(item.dateTimeOfDeath).toLocaleString('en-GB')),
|
|
21911
|
+
React__default["default"].createElement("td", null, item.coroner),
|
|
21912
|
+
React__default["default"].createElement("td", null, item.courtroomFullAddress),
|
|
21913
|
+
React__default["default"].createElement("td", null, new Date(item.startDateTime).toLocaleString('en-GB')))); }),
|
|
21914
|
+
caseAppointments.length === 0 && (React__default["default"].createElement("tr", null,
|
|
21915
|
+
React__default["default"].createElement("td", { colSpan: 7 },
|
|
21916
|
+
React__default["default"].createElement("p", null, "We can't find any results at the moment."),
|
|
21917
|
+
error ? (React__default["default"].createElement("p", null, " The information is currently unavailable.")) : (React__default["default"].createElement("p", null, "There are no inquests scheduled for next month."))))))))));
|
|
21918
|
+
};
|
|
21919
|
+
|
|
21881
21920
|
const Container$A = styled__default["default"].div`
|
|
21882
21921
|
${(props) => props.theme.fontStyles};
|
|
21883
21922
|
overflow: hidden;
|
|
@@ -22299,8 +22338,8 @@ var Input = function (_a) {
|
|
|
22299
22338
|
|
|
22300
22339
|
var CustomSearch = function (_a) {
|
|
22301
22340
|
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;
|
|
22302
|
-
if (id
|
|
22303
|
-
id =
|
|
22341
|
+
if (!id) {
|
|
22342
|
+
id = React.useId();
|
|
22304
22343
|
}
|
|
22305
22344
|
return (React__default["default"].createElement(Container$y, { "data-testid": "CustomSearch" },
|
|
22306
22345
|
React__default["default"].createElement("form", { method: method, action: path, "aria-label": label },
|
|
@@ -22378,6 +22417,7 @@ const VideoLink = styled__default["default"].a`
|
|
|
22378
22417
|
var Video = function (_a) {
|
|
22379
22418
|
var video_id = _a.video_id, provider = _a.provider, description = _a.description, allowCookies = _a.allowCookies; __rest(_a, ["video_id", "provider", "description", "allowCookies"]);
|
|
22380
22419
|
var cookiesAccepted = wereCookiesAccepted(allowCookies);
|
|
22420
|
+
var _b = React.useState(false), notServer = _b[0], setNotServer = _b[1];
|
|
22381
22421
|
var watchLink;
|
|
22382
22422
|
var embedLink;
|
|
22383
22423
|
var defineLinks = function () {
|
|
@@ -22391,10 +22431,11 @@ var Video = function (_a) {
|
|
|
22391
22431
|
}
|
|
22392
22432
|
};
|
|
22393
22433
|
defineLinks();
|
|
22394
|
-
|
|
22395
|
-
|
|
22396
|
-
|
|
22397
|
-
|
|
22434
|
+
React.useEffect(function () {
|
|
22435
|
+
setNotServer(true);
|
|
22436
|
+
}, []);
|
|
22437
|
+
return (React__default["default"].createElement(React__default["default"].Fragment, null, cookiesAccepted && notServer ? (React__default["default"].createElement(VideoContainer, { "data-testid": "Video" },
|
|
22438
|
+
React__default["default"].createElement("iframe", { src: embedLink, title: description, allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; fullscreen;", "data-testid": "VideoIframe" }))) : (React__default["default"].createElement(VideoLink, { href: watchLink, title: description, "data-testid": "VideoLink" }, description))));
|
|
22398
22439
|
};
|
|
22399
22440
|
|
|
22400
22441
|
const WarningText$1 = styled__default["default"].div`
|
|
@@ -23386,7 +23427,10 @@ const SocialLinkSingle = styled__default["default"].a`
|
|
|
23386
23427
|
opacity: 0.8;
|
|
23387
23428
|
}
|
|
23388
23429
|
&:focus {
|
|
23389
|
-
outline:
|
|
23430
|
+
outline: 2px transparent solid;
|
|
23431
|
+
border-radius: 4px;
|
|
23432
|
+
box-shadow: ${(props) => props.theme.theme_vars.colours.focus} 0 0 0 3px;
|
|
23433
|
+
transition: box-shadow 0.3s ease 0s;
|
|
23390
23434
|
|
|
23391
23435
|
svg {
|
|
23392
23436
|
path {
|
|
@@ -23396,6 +23440,9 @@ const SocialLinkSingle = styled__default["default"].a`
|
|
|
23396
23440
|
}
|
|
23397
23441
|
&:active {
|
|
23398
23442
|
opacity: 1;
|
|
23443
|
+
border-radius: 4px;
|
|
23444
|
+
box-shadow: ${(props) => props.theme.theme_vars.colours.focus} 0 0 0 3px;
|
|
23445
|
+
transition: box-shadow 0.3s ease 0s;
|
|
23399
23446
|
|
|
23400
23447
|
svg {
|
|
23401
23448
|
path {
|
|
@@ -23604,21 +23651,23 @@ const StyledMaxWidthContainer$2 = styled__default["default"](MaxWidthContainer)`
|
|
|
23604
23651
|
}
|
|
23605
23652
|
`;
|
|
23606
23653
|
|
|
23607
|
-
const LogoStyles =
|
|
23654
|
+
const LogoStyles = () => {
|
|
23655
|
+
return styled.css`
|
|
23608
23656
|
svg {
|
|
23609
|
-
|
|
23610
|
-
|
|
23611
|
-
|
|
23657
|
+
width: 240px;
|
|
23658
|
+
height: auto;
|
|
23659
|
+
vertical-align: middle;
|
|
23612
23660
|
}
|
|
23613
23661
|
&.black_logo {
|
|
23614
|
-
|
|
23615
|
-
|
|
23616
|
-
|
|
23617
|
-
|
|
23618
|
-
}
|
|
23662
|
+
svg {
|
|
23663
|
+
fill: black !important;
|
|
23664
|
+
path {
|
|
23665
|
+
fill: black !important;
|
|
23619
23666
|
}
|
|
23667
|
+
}
|
|
23620
23668
|
}
|
|
23621
|
-
`;
|
|
23669
|
+
`;
|
|
23670
|
+
};
|
|
23622
23671
|
|
|
23623
23672
|
const LogoColoured$1 = styled__default["default"].div`
|
|
23624
23673
|
${LogoStyles}
|
|
@@ -23643,8 +23692,13 @@ const HomeLink = styled__default["default"].a`
|
|
|
23643
23692
|
}
|
|
23644
23693
|
}
|
|
23645
23694
|
&:focus {
|
|
23646
|
-
outline:
|
|
23647
|
-
box-shadow: ${(props) => props.theme.theme_vars.colours.focus} 0 0 0
|
|
23695
|
+
outline: 2px transparent solid;
|
|
23696
|
+
box-shadow: ${(props) => props.theme.theme_vars.colours.focus} 0 0 0 2px,
|
|
23697
|
+
${(props) =>
|
|
23698
|
+
props.theme.cardinal_name === 'north'
|
|
23699
|
+
? props.theme.theme_vars.colours.black
|
|
23700
|
+
: props.theme.theme_vars.colours.focus}
|
|
23701
|
+
0 0 0 4px;
|
|
23648
23702
|
transition: box-shadow 0.3s ease 0s;
|
|
23649
23703
|
}
|
|
23650
23704
|
`;
|
|
@@ -25748,16 +25802,13 @@ const Pagelink = styled__default["default"].a`
|
|
|
25748
25802
|
}
|
|
25749
25803
|
}
|
|
25750
25804
|
&:focus {
|
|
25751
|
-
|
|
25752
|
-
box-shadow: 0px -4px 0px 0px ${(props) => props.theme.theme_vars.colours.black} inset !important;
|
|
25753
|
-
-webkit-box-shadow: 0px -4px 0px 0px ${(props) => props.theme.theme_vars.colours.black} inset !important;
|
|
25754
|
-
-moz-box-shadow: 0px -4px 0px 0px ${(props) => props.theme.theme_vars.colours.black} inset !important;
|
|
25805
|
+
${(props) => props.theme.linkStylesFocus}
|
|
25755
25806
|
}
|
|
25756
25807
|
&:active {
|
|
25757
25808
|
transform: translate(3px);
|
|
25758
|
-
box-shadow: 0px -
|
|
25759
|
-
-webkit-box-shadow: 0px -
|
|
25760
|
-
-moz-box-shadow: 0px -
|
|
25809
|
+
box-shadow: 0px -2px 0px 0px ${(props) => props.theme.theme_vars.colours.black} inset !important;
|
|
25810
|
+
-webkit-box-shadow: 0px -2px 0px 0px ${(props) => props.theme.theme_vars.colours.black} inset !important;
|
|
25811
|
+
-moz-box-shadow: 0px -2px 0px 0px ${(props) => props.theme.theme_vars.colours.black} inset !important;
|
|
25761
25812
|
}
|
|
25762
25813
|
`;
|
|
25763
25814
|
|
|
@@ -25794,7 +25845,7 @@ styled__default["default"].img`
|
|
|
25794
25845
|
left: 0;
|
|
25795
25846
|
width: 100%;
|
|
25796
25847
|
height: 100%;
|
|
25797
|
-
|
|
25848
|
+
`;
|
|
25798
25849
|
|
|
25799
25850
|
/**
|
|
25800
25851
|
* Display a list of links for a section with optional images
|
|
@@ -33980,9 +34031,9 @@ const generate_theme = (theme_vars) => {
|
|
|
33980
34031
|
background: ${theme_vars.colours.focus};
|
|
33981
34032
|
outline: none;
|
|
33982
34033
|
text-decoration: none !important;
|
|
33983
|
-
box-shadow: 0
|
|
33984
|
-
-webkit-box-shadow: 0
|
|
33985
|
-
-moz-box-shadow: 0
|
|
34034
|
+
box-shadow: 0 0 0 1px ${theme_vars.colours.focus}, 0 0 0 3px ${theme_vars.colours.black};
|
|
34035
|
+
-webkit-box-shadow: 0 0 0 1px ${theme_vars.colours.focus}, 0 0 0 3px ${theme_vars.colours.black};
|
|
34036
|
+
-moz-box-shadow: 0 0 0 1px ${theme_vars.colours.focus}, 0 0 0 3px ${theme_vars.colours.black};
|
|
33986
34037
|
`,
|
|
33987
34038
|
linkStylesActive: styled.css`
|
|
33988
34039
|
color: ${theme_vars.colours.black};
|
|
@@ -34173,6 +34224,9 @@ const GlobalStyleReset = styled.createGlobalStyle`
|
|
|
34173
34224
|
.table-container li {
|
|
34174
34225
|
left: 0;
|
|
34175
34226
|
}
|
|
34227
|
+
table tr td {
|
|
34228
|
+
vertical-align: top;
|
|
34229
|
+
}
|
|
34176
34230
|
`;
|
|
34177
34231
|
|
|
34178
34232
|
exports.AccessibleLinks = AccessibleLink;
|
|
@@ -34207,6 +34261,7 @@ exports.HeroImage = HeroImage;
|
|
|
34207
34261
|
exports.HomeHero = HomeHero;
|
|
34208
34262
|
exports.Image = Image$2;
|
|
34209
34263
|
exports.ImageAndText = ImageAndText;
|
|
34264
|
+
exports.InquestSchedule = InquestSchedule;
|
|
34210
34265
|
exports.MaxWidthContainer = MaxWidthContainer;
|
|
34211
34266
|
exports.MemorialHero = MemorialHero;
|
|
34212
34267
|
exports.NewsArticleDate = NewsArticleDate;
|