northants-design-system 0.2.3 → 0.2.4

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.
@@ -6946,68 +6946,69 @@ var AlertBannerService = function (_a) {
6946
6946
  };
6947
6947
 
6948
6948
  const Container$v = styled.div`
6949
- padding-top: 20px;
6950
- border-bottom: 1px solid ${props => props.theme.theme_vars.colours.grey}80;
6949
+ padding-top: 20px;
6950
+ border-bottom: 1px solid ${(props) => props.theme.theme_vars.colours.grey}80;
6951
+ margin-bottom: ${(props) => (props.hasMargin ? '30px' : 0)};
6951
6952
  `;
6952
6953
 
6953
6954
  const List$1 = styled.ol`
6954
- list-style: none;
6955
- padding-left: 0px;
6956
- margin-top: 0;
6957
- display: none;
6958
- margin-bottom: 20px;
6955
+ list-style: none;
6956
+ padding-left: 0px;
6957
+ margin-top: 0;
6958
+ display: none;
6959
+ margin-bottom: 20px;
6959
6960
 
6960
- @media screen and (min-width: ${props => props.theme.theme_vars.breakpoints.m}){
6961
- display: block;
6962
- }
6961
+ @media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.m}) {
6962
+ display: block;
6963
+ }
6963
6964
  `;
6964
6965
 
6965
6966
  const Crumb = styled.li`
6966
- display: inline;
6967
- margin-right: 10px;
6968
- &:last-of-type svg {
6969
- display: none;
6970
- }
6967
+ display: inline;
6968
+ margin-right: 10px;
6969
+ &:last-of-type svg {
6970
+ display: none;
6971
+ }
6971
6972
  `;
6972
6973
  const IconWrapper$4 = styled.div`
6973
- display: inline-block;
6974
- margin-left: 10px;
6975
- vertical-align: middle;
6974
+ display: inline-block;
6975
+ margin-left: 10px;
6976
+ vertical-align: middle;
6976
6977
  `;
6977
6978
  const MobileCrumb = styled.div`
6978
- display: block;
6979
- padding: 15px 0;
6980
- margin-top: -15px;
6979
+ display: block;
6980
+ padding: 15px 0;
6981
+ margin-top: -15px;
6981
6982
 
6982
- @media screen and (min-width: ${props => props.theme.theme_vars.breakpoints.m}){
6983
- display: none;
6984
- }
6983
+ @media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.m}) {
6984
+ display: none;
6985
+ }
6985
6986
  `;
6986
6987
  const BackIconWrapper = styled.div`
6987
- display: inline-block;
6988
- margin-right: 10px;
6989
- vertical-align: middle;
6988
+ display: inline-block;
6989
+ margin-right: 10px;
6990
+ vertical-align: middle;
6990
6991
  `;
6991
6992
  const BreadcrumbLink = styled.a`
6992
- ${props => props.theme.linkStyles}
6993
- font-weight: 400;
6993
+ ${(props) => props.theme.linkStyles}
6994
+ font-weight: 400;
6994
6995
 
6995
- svg {
6996
- fill: ${props => props.theme.theme_vars.colours.action};
6997
- }
6996
+ svg {
6997
+ fill: ${(props) => props.theme.theme_vars.colours.action};
6998
+ }
6998
6999
 
6999
- &:hover{
7000
- ${props => props.theme.linkStylesHover}
7001
- }
7002
- &:focus{
7003
- ${props => props.theme.linkStylesFocus}
7004
- svg {
7005
- fill: ${props => props.theme.theme_vars.colours.black};
7006
- }
7007
- }
7008
- &:active{
7009
- ${props => props.theme.linkStylesActive}
7000
+ &:hover {
7001
+ ${(props) => props.theme.linkStylesHover}
7002
+ }
7003
+ &:focus {
7004
+ ${(props) => props.theme.linkStylesFocus}
7005
+ svg {
7006
+ fill: ${(props) => props.theme.theme_vars.colours.black};
7010
7007
  }
7008
+ }
7009
+ &:active {
7010
+ ${(props) => props.theme.linkStylesActive}
7011
+ }
7011
7012
  `;
7012
7013
 
7013
7014
  const StyledSVG = styled.svg`
@@ -7034,18 +7035,16 @@ var ChevronIcon = function (_a) {
7034
7035
  };
7035
7036
 
7036
7037
  var Breadcrumbs = function (_a) {
7037
- var breadcrumbsArray = _a.breadcrumbsArray;
7038
- return (React.createElement(Container$v, null,
7039
- React.createElement(List$1, null, breadcrumbsArray.map(function (crumb) {
7040
- return React.createElement(Crumb, { key: crumb.title }, React.createElement(React.Fragment, null,
7041
- React.createElement(BreadcrumbLink, { href: crumb.url, title: crumb.title }, crumb.title),
7042
- React.createElement(IconWrapper$4, null,
7043
- React.createElement(ChevronIcon, { direction: "right", colourFill: "#C6C6C6" }))));
7044
- })),
7038
+ var breadcrumbsArray = _a.breadcrumbsArray, _b = _a.hasMargin, hasMargin = _b === void 0 ? false : _b;
7039
+ return (React.createElement(Container$v, { hasMargin: hasMargin, "data-testid": "Breadcrumbs" },
7040
+ React.createElement(List$1, null, breadcrumbsArray.map(function (crumb) { return (React.createElement(Crumb, { key: crumb.title }, React.createElement(React.Fragment, null,
7041
+ React.createElement(BreadcrumbLink, { href: crumb.url, title: crumb.title }, crumb.title),
7042
+ React.createElement(IconWrapper$4, null,
7043
+ React.createElement(ChevronIcon, { direction: 'right', colourFill: "#C6C6C6" }))))); })),
7045
7044
  React.createElement(MobileCrumb, null,
7046
- React.createElement(BreadcrumbLink, { href: breadcrumbsArray[breadcrumbsArray.length - 1].url, title: "Go back to previous page" },
7045
+ React.createElement(BreadcrumbLink, { href: breadcrumbsArray[breadcrumbsArray.length - 1].url, title: 'Go back to previous page' },
7047
7046
  React.createElement(BackIconWrapper, null,
7048
- React.createElement(ChevronIcon, { direction: "left" })),
7047
+ React.createElement(ChevronIcon, { direction: 'left' })),
7049
7048
  "Back"))));
7050
7049
  };
7051
7050
 
@@ -29138,28 +29137,42 @@ var followRedirects = wrap({ http: http, https: https });
29138
29137
  var wrap_1 = wrap;
29139
29138
  followRedirects.wrap = wrap_1;
29140
29139
 
29141
- const name="axios";const version="0.21.4";const description="Promise based HTTP client for the browser and node.js";const main="index.js";const scripts={test:"grunt test",start:"node ./sandbox/server.js",build:"NODE_ENV=production grunt build",preversion:"npm test",version:"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json",postversion:"git push && git push --tags",examples:"node ./examples/server.js",coveralls:"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",fix:"eslint --fix lib/**/*.js"};const repository={type:"git",url:"https://github.com/axios/axios.git"};const keywords=["xhr","http","ajax","promise","node"];const author="Matt Zabriskie";const license="MIT";const bugs={url:"https://github.com/axios/axios/issues"};const homepage="https://axios-http.com";const devDependencies={coveralls:"^3.0.0","es6-promise":"^4.2.4",grunt:"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1",karma:"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2",minimist:"^1.2.0",mocha:"^8.2.1",sinon:"^4.5.0","terser-webpack-plugin":"^4.2.3",typescript:"^4.0.5","url-search-params":"^0.10.0",webpack:"^4.44.2","webpack-dev-server":"^3.11.0"};const browser={"./lib/adapters/http.js":"./lib/adapters/xhr.js"};const jsdelivr="dist/axios.min.js";const unpkg="dist/axios.min.js";const typings="./index.d.ts";const dependencies={"follow-redirects":"^1.14.0"};const bundlesize=[{path:"./dist/axios.min.js",threshold:"5kB"}];var _package = {name:name,version:version,description:description,main:main,scripts:scripts,repository:repository,keywords:keywords,author:author,license:license,bugs:bugs,homepage:homepage,devDependencies:devDependencies,browser:browser,jsdelivr:jsdelivr,unpkg:unpkg,typings:typings,dependencies:dependencies,bundlesize:bundlesize};
29140
+ const _from="axios@^0.21.4";const _id="axios@0.21.4";const _inBundle=false;const _integrity="sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==";const _location="/axios";const _phantomChildren={};const _requested={type:"range",registry:true,raw:"axios@^0.21.4",name:"axios",escapedName:"axios",rawSpec:"^0.21.4",saveSpec:null,fetchSpec:"^0.21.4"};const _requiredBy=["/"];const _resolved="https://registry.npmjs.org/axios/-/axios-0.21.4.tgz";const _shasum="c67b90dc0568e5c1cf2b0b858c43ba28e2eda575";const _spec="axios@^0.21.4";const _where="/Users/chrisrhymes/code/design-system";const author={name:"Matt Zabriskie"};const browser={"./lib/adapters/http.js":"./lib/adapters/xhr.js"};const bugs={url:"https://github.com/axios/axios/issues"};const bundleDependencies=false;const bundlesize=[{path:"./dist/axios.min.js",threshold:"5kB"}];const dependencies={"follow-redirects":"^1.14.0"};const deprecated=false;const description="Promise based HTTP client for the browser and node.js";const devDependencies={coveralls:"^3.0.0","es6-promise":"^4.2.4",grunt:"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1",karma:"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2",minimist:"^1.2.0",mocha:"^8.2.1",sinon:"^4.5.0","terser-webpack-plugin":"^4.2.3",typescript:"^4.0.5","url-search-params":"^0.10.0",webpack:"^4.44.2","webpack-dev-server":"^3.11.0"};const homepage="https://axios-http.com";const jsdelivr="dist/axios.min.js";const keywords=["xhr","http","ajax","promise","node"];const license="MIT";const main="index.js";const name="axios";const repository={type:"git",url:"git+https://github.com/axios/axios.git"};const scripts={build:"NODE_ENV=production grunt build",coveralls:"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",examples:"node ./examples/server.js",fix:"eslint --fix lib/**/*.js",postversion:"git push && git push --tags",preversion:"npm test",start:"node ./sandbox/server.js",test:"grunt test",version:"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"};const typings="./index.d.ts";const unpkg="dist/axios.min.js";const version="0.21.4";var _package = {_from:_from,_id:_id,_inBundle:_inBundle,_integrity:_integrity,_location:_location,_phantomChildren:_phantomChildren,_requested:_requested,_requiredBy:_requiredBy,_resolved:_resolved,_shasum:_shasum,_spec:_spec,_where:_where,author:author,browser:browser,bugs:bugs,bundleDependencies:bundleDependencies,bundlesize:bundlesize,dependencies:dependencies,deprecated:deprecated,description:description,devDependencies:devDependencies,homepage:homepage,jsdelivr:jsdelivr,keywords:keywords,license:license,main:main,name:name,repository:repository,scripts:scripts,typings:typings,unpkg:unpkg,version:version};
29142
29141
 
29143
29142
  var _package$1 = /*#__PURE__*/Object.freeze({
29144
29143
  __proto__: null,
29145
- name: name,
29146
- version: version,
29147
- description: description,
29148
- main: main,
29149
- scripts: scripts,
29150
- repository: repository,
29151
- keywords: keywords,
29144
+ _from: _from,
29145
+ _id: _id,
29146
+ _inBundle: _inBundle,
29147
+ _integrity: _integrity,
29148
+ _location: _location,
29149
+ _phantomChildren: _phantomChildren,
29150
+ _requested: _requested,
29151
+ _requiredBy: _requiredBy,
29152
+ _resolved: _resolved,
29153
+ _shasum: _shasum,
29154
+ _spec: _spec,
29155
+ _where: _where,
29152
29156
  author: author,
29153
- license: license,
29157
+ browser: browser,
29154
29158
  bugs: bugs,
29155
- homepage: homepage,
29159
+ bundleDependencies: bundleDependencies,
29160
+ bundlesize: bundlesize,
29161
+ dependencies: dependencies,
29162
+ deprecated: deprecated,
29163
+ description: description,
29156
29164
  devDependencies: devDependencies,
29157
- browser: browser,
29165
+ homepage: homepage,
29158
29166
  jsdelivr: jsdelivr,
29159
- unpkg: unpkg,
29167
+ keywords: keywords,
29168
+ license: license,
29169
+ main: main,
29170
+ name: name,
29171
+ repository: repository,
29172
+ scripts: scripts,
29160
29173
  typings: typings,
29161
- dependencies: dependencies,
29162
- bundlesize: bundlesize,
29174
+ unpkg: unpkg,
29175
+ version: version,
29163
29176
  'default': _package
29164
29177
  });
29165
29178