northants-design-system 0.2.13 → 0.2.14
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.esm.js +18 -27
- package/build/index.esm.js.map +1 -1
- package/build/index.js +18 -27
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -21094,50 +21094,46 @@ function useLocalStorage$1(key, initialValue) {
|
|
|
21094
21094
|
const Container$t = styled__default["default"].div`
|
|
21095
21095
|
padding-top: 20px;
|
|
21096
21096
|
border-bottom: 1px solid ${(props) => props.theme.theme_vars.colours.grey}80;
|
|
21097
|
-
margin-bottom: ${(props) => (props.hasMargin ?
|
|
21097
|
+
margin-bottom: ${(props) => (props.hasMargin ? props.theme.theme_vars.spacingSizes.large : 0)};
|
|
21098
21098
|
`;
|
|
21099
21099
|
|
|
21100
21100
|
const List$1 = styled__default["default"].ol`
|
|
21101
21101
|
list-style: none;
|
|
21102
21102
|
padding-left: 0px;
|
|
21103
21103
|
margin-top: 0;
|
|
21104
|
+
display: block;
|
|
21105
|
+
margin-bottom: ${(props) => props.theme.theme_vars.spacingSizes.small};
|
|
21106
|
+
`;
|
|
21107
|
+
|
|
21108
|
+
const Crumb = styled__default["default"].li`
|
|
21109
|
+
margin-right: ${(props) => props.theme.theme_vars.spacingSizes.small};
|
|
21110
|
+
margin-bottom: ${(props) => props.theme.theme_vars.spacingSizes.small};
|
|
21104
21111
|
display: none;
|
|
21105
|
-
|
|
21112
|
+
|
|
21113
|
+
&:first-of-type,
|
|
21114
|
+
&:last-of-type {
|
|
21115
|
+
display: inline-block;
|
|
21116
|
+
}
|
|
21106
21117
|
|
|
21107
21118
|
@media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.m}) {
|
|
21108
|
-
display: block;
|
|
21119
|
+
display: inline-block;
|
|
21109
21120
|
}
|
|
21110
|
-
`;
|
|
21111
21121
|
|
|
21112
|
-
const Crumb = styled__default["default"].li`
|
|
21113
|
-
display: inline;
|
|
21114
|
-
margin-right: 10px;
|
|
21115
21122
|
&:last-of-type svg {
|
|
21116
21123
|
display: none;
|
|
21117
21124
|
}
|
|
21118
21125
|
`;
|
|
21126
|
+
|
|
21119
21127
|
const IconWrapper$4 = styled__default["default"].div`
|
|
21120
21128
|
display: inline-block;
|
|
21121
|
-
margin-left:
|
|
21129
|
+
margin-left: ${(props) => props.theme.theme_vars.spacingSizes.small};
|
|
21122
21130
|
vertical-align: middle;
|
|
21123
21131
|
`;
|
|
21124
|
-
const MobileCrumb = styled__default["default"].div`
|
|
21125
|
-
display: block;
|
|
21126
|
-
padding: 15px 0;
|
|
21127
|
-
margin-top: -15px;
|
|
21128
21132
|
|
|
21129
|
-
@media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.m}) {
|
|
21130
|
-
display: none;
|
|
21131
|
-
}
|
|
21132
|
-
`;
|
|
21133
|
-
const BackIconWrapper = styled__default["default"].div`
|
|
21134
|
-
display: inline-block;
|
|
21135
|
-
margin-right: 10px;
|
|
21136
|
-
vertical-align: middle;
|
|
21137
|
-
`;
|
|
21138
21133
|
const BreadcrumbLink = styled__default["default"].a`
|
|
21139
21134
|
${(props) => props.theme.linkStyles}
|
|
21140
21135
|
font-weight: 400;
|
|
21136
|
+
display: inline-block;
|
|
21141
21137
|
|
|
21142
21138
|
svg {
|
|
21143
21139
|
fill: ${(props) => props.theme.theme_vars.colours.action};
|
|
@@ -21186,12 +21182,7 @@ var Breadcrumbs = function (_a) {
|
|
|
21186
21182
|
React__default["default"].createElement(List$1, null, breadcrumbsArray.map(function (crumb) { return (React__default["default"].createElement(Crumb, { key: crumb.title }, React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
21187
21183
|
React__default["default"].createElement(BreadcrumbLink, { href: crumb.url, title: crumb.title }, crumb.title),
|
|
21188
21184
|
React__default["default"].createElement(IconWrapper$4, null,
|
|
21189
|
-
React__default["default"].createElement(ChevronIcon, { direction: 'right', colourFill: "#C6C6C6" }))))); }))
|
|
21190
|
-
React__default["default"].createElement(MobileCrumb, null,
|
|
21191
|
-
React__default["default"].createElement(BreadcrumbLink, { href: breadcrumbsArray[breadcrumbsArray.length - 1].url, title: 'Go back to previous page' },
|
|
21192
|
-
React__default["default"].createElement(BackIconWrapper, null,
|
|
21193
|
-
React__default["default"].createElement(ChevronIcon, { direction: 'left' })),
|
|
21194
|
-
"Back"))));
|
|
21185
|
+
React__default["default"].createElement(ChevronIcon, { direction: 'right', colourFill: "#C6C6C6" }))))); }))));
|
|
21195
21186
|
};
|
|
21196
21187
|
|
|
21197
21188
|
const Container$s = styled__default["default"].div`
|