northants-design-system 1.3.3 → 1.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.js CHANGED
@@ -23370,9 +23370,9 @@ var ImageAndText = function (_a) {
23370
23370
 
23371
23371
  var CaseAppointmentType;
23372
23372
  (function (CaseAppointmentType) {
23373
- CaseAppointmentType["Hearing"] = "AP Inquest Hearing";
23374
- CaseAppointmentType["Opening"] = "AP Inquest Opening";
23375
- CaseAppointmentType["Writing"] = "AP Inquest In Writing";
23373
+ CaseAppointmentType["Hearing"] = "hearing";
23374
+ CaseAppointmentType["Opening"] = "opening";
23375
+ CaseAppointmentType["Writing"] = "writing";
23376
23376
  })(CaseAppointmentType || (CaseAppointmentType = {}));
23377
23377
 
23378
23378
  const Container$Q = styled__default.default.div`
@@ -23416,13 +23416,13 @@ const InquestDetails = styled__default.default.div`
23416
23416
  var InquestSchedule = function (_a) {
23417
23417
  var caseAppointments = _a.caseAppointments, title = _a.title, _b = _a.error, error = _b === void 0 ? false : _b;
23418
23418
  var hearings = caseAppointments.filter(function (appointment) {
23419
- return appointment.appointmentType === CaseAppointmentType.Hearing;
23419
+ return appointment.appointmentType.toLowerCase().includes(CaseAppointmentType.Hearing);
23420
23420
  });
23421
23421
  var openings = caseAppointments.filter(function (appointment) {
23422
- return appointment.appointmentType === CaseAppointmentType.Opening;
23422
+ return appointment.appointmentType.toLowerCase().includes(CaseAppointmentType.Opening);
23423
23423
  });
23424
23424
  var writings = caseAppointments.filter(function (appointment) {
23425
- return appointment.appointmentType === CaseAppointmentType.Writing;
23425
+ return appointment.appointmentType.toLowerCase().includes(CaseAppointmentType.Writing);
23426
23426
  });
23427
23427
  var groupHearingsByDay = function (appointments) {
23428
23428
  return appointments.reduce(function (acc, inquest) {
@@ -28321,7 +28321,7 @@ var RateThisPage = function (_a) {
28321
28321
  },
28322
28322
  }, render: function (_a) {
28323
28323
  var _b = _a.field, onChange = _b.onChange; _b.onBlur; var value = _b.value; _b.ref;
28324
- return (React__default.default.createElement(Input$6, { id: "Email", name: "Email", value: value, placeholder: "", onChange: onChange, isErrored: errors.Email ? true : false, errorText: errors.Email ? errors.Email.message : null, isFullWidth: true }));
28324
+ return (React__default.default.createElement(Input$6, { id: "Email", name: "Email", value: value, placeholder: "", onChange: onChange, isErrored: errors.Email ? true : false, errorText: errors.Email ? errors.Email.message : null, isFullWidth: true, autocomplete: "email" }));
28325
28325
  } }))),
28326
28326
  React__default.default.createElement(Column, { small: "full", medium: "full", large: "full" },
28327
28327
  React__default.default.createElement("input", __assign$2({ type: "hidden" }, register('ReCaptcha'))),
@@ -30419,7 +30419,7 @@ var templateObject_1$1, templateObject_2;
30419
30419
  * Based upon http://meyerweb.com/eric/tools/css/reset/ with additions to return
30420
30420
  * lists to sane settings. Use for styles common to all themes.
30421
30421
  */
30422
- var GlobalStyleReset = styled.createGlobalStyle(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n html {\n box-sizing: border-box;\n }\n *,\n *:before,\n *:after {\n box-sizing: inherit;\n }\n\n html,\n body,\n div,\n span,\n applet,\n object,\n iframe,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n p,\n blockquote,\n pre,\n a,\n abbr,\n acronym,\n address,\n big,\n cite,\n code,\n del,\n dfn,\n em,\n img,\n ins,\n kbd,\n q,\n s,\n samp,\n small,\n strike,\n strong,\n sub,\n sup,\n tt,\n var,\n b,\n u,\n i,\n center,\n dl,\n dt,\n dd,\n ol,\n ul,\n li,\n fieldset,\n form,\n label,\n legend,\n table,\n caption,\n tbody,\n tfoot,\n thead,\n tr,\n th,\n td,\n article,\n aside,\n canvas,\n details,\n embed,\n figure,\n figcaption,\n footer,\n header,\n hgroup,\n menu,\n nav,\n output,\n ruby,\n section,\n summary,\n time,\n mark,\n audio,\n video {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font: inherit;\n vertical-align: baseline;\n }\n /* HTML5 display-role reset for older browsers */\n article,\n aside,\n details,\n figcaption,\n figure,\n footer,\n header,\n hgroup,\n menu,\n nav,\n section {\n display: block;\n }\n body {\n line-height: 1;\n }\n ol {\n list-style: decimal outside;\n margin: 1rem 0rem 1rem 1.25rem;\n }\n ul {\n list-style: disc outside;\n margin: 1rem 0rem 1rem 1.25rem;\n }\n li {\n position: relative;\n left: 1.25rem;\n padding-right: 1.25rem;\n }\n blockquote,\n q {\n quotes: none;\n }\n blockquote:before,\n blockquote:after,\n q:before,\n q:after {\n content: '';\n content: none;\n }\n table {\n border-collapse: collapse;\n border-spacing: 0;\n }\n .table-container li {\n left: 0;\n }\n table tr td {\n vertical-align: top;\n }\n body {\n position: static;\n top: 0px !important;\n }\n iframe.skiptranslate {\n display: none !important;\n }\n /* Hide the rate this translation popup */\n #goog-gt-tt {\n display: none !important;\n }\n"], ["\n html {\n box-sizing: border-box;\n }\n *,\n *:before,\n *:after {\n box-sizing: inherit;\n }\n\n html,\n body,\n div,\n span,\n applet,\n object,\n iframe,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n p,\n blockquote,\n pre,\n a,\n abbr,\n acronym,\n address,\n big,\n cite,\n code,\n del,\n dfn,\n em,\n img,\n ins,\n kbd,\n q,\n s,\n samp,\n small,\n strike,\n strong,\n sub,\n sup,\n tt,\n var,\n b,\n u,\n i,\n center,\n dl,\n dt,\n dd,\n ol,\n ul,\n li,\n fieldset,\n form,\n label,\n legend,\n table,\n caption,\n tbody,\n tfoot,\n thead,\n tr,\n th,\n td,\n article,\n aside,\n canvas,\n details,\n embed,\n figure,\n figcaption,\n footer,\n header,\n hgroup,\n menu,\n nav,\n output,\n ruby,\n section,\n summary,\n time,\n mark,\n audio,\n video {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font: inherit;\n vertical-align: baseline;\n }\n /* HTML5 display-role reset for older browsers */\n article,\n aside,\n details,\n figcaption,\n figure,\n footer,\n header,\n hgroup,\n menu,\n nav,\n section {\n display: block;\n }\n body {\n line-height: 1;\n }\n ol {\n list-style: decimal outside;\n margin: 1rem 0rem 1rem 1.25rem;\n }\n ul {\n list-style: disc outside;\n margin: 1rem 0rem 1rem 1.25rem;\n }\n li {\n position: relative;\n left: 1.25rem;\n padding-right: 1.25rem;\n }\n blockquote,\n q {\n quotes: none;\n }\n blockquote:before,\n blockquote:after,\n q:before,\n q:after {\n content: '';\n content: none;\n }\n table {\n border-collapse: collapse;\n border-spacing: 0;\n }\n .table-container li {\n left: 0;\n }\n table tr td {\n vertical-align: top;\n }\n body {\n position: static;\n top: 0px !important;\n }\n iframe.skiptranslate {\n display: none !important;\n }\n /* Hide the rate this translation popup */\n #goog-gt-tt {\n display: none !important;\n }\n"])));
30422
+ var GlobalStyleReset = styled.createGlobalStyle(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n html {\n box-sizing: border-box;\n }\n *,\n *:before,\n *:after {\n box-sizing: inherit;\n }\n\n html,\n body,\n div,\n span,\n applet,\n object,\n iframe,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n p,\n blockquote,\n pre,\n a,\n abbr,\n acronym,\n address,\n big,\n cite,\n code,\n del,\n dfn,\n em,\n img,\n ins,\n kbd,\n q,\n s,\n samp,\n small,\n strike,\n strong,\n sub,\n sup,\n tt,\n var,\n b,\n u,\n i,\n center,\n dl,\n dt,\n dd,\n ol,\n ul,\n li,\n fieldset,\n form,\n label,\n legend,\n table,\n caption,\n tbody,\n tfoot,\n thead,\n tr,\n th,\n td,\n article,\n aside,\n canvas,\n details,\n embed,\n figure,\n figcaption,\n footer,\n header,\n hgroup,\n menu,\n nav,\n output,\n ruby,\n section,\n summary,\n time,\n mark,\n audio,\n video {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font: inherit;\n vertical-align: baseline;\n }\n /* HTML5 display-role reset for older browsers */\n article,\n aside,\n details,\n figcaption,\n figure,\n footer,\n header,\n hgroup,\n menu,\n nav,\n section {\n display: block;\n }\n body {\n line-height: 1;\n }\n ol {\n list-style: decimal outside;\n margin: 1rem 0rem 1rem 1.25rem;\n }\n ul {\n list-style: disc outside;\n margin: 1rem 0rem 1rem 1.25rem;\n }\n li {\n position: relative;\n left: 1.25rem;\n padding-right: 1.25rem;\n }\n main li > a {\n display: inline-block;\n min-height: 44px;\n }\n blockquote,\n q {\n quotes: none;\n }\n blockquote:before,\n blockquote:after,\n q:before,\n q:after {\n content: '';\n content: none;\n }\n table {\n border-collapse: collapse;\n border-spacing: 0;\n }\n .table-container li {\n left: 0;\n }\n table tr td {\n vertical-align: top;\n }\n body {\n position: static;\n top: 0px !important;\n }\n iframe.skiptranslate {\n display: none !important;\n }\n /* Hide the rate this translation popup */\n #goog-gt-tt {\n display: none !important;\n }\n"], ["\n html {\n box-sizing: border-box;\n }\n *,\n *:before,\n *:after {\n box-sizing: inherit;\n }\n\n html,\n body,\n div,\n span,\n applet,\n object,\n iframe,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n p,\n blockquote,\n pre,\n a,\n abbr,\n acronym,\n address,\n big,\n cite,\n code,\n del,\n dfn,\n em,\n img,\n ins,\n kbd,\n q,\n s,\n samp,\n small,\n strike,\n strong,\n sub,\n sup,\n tt,\n var,\n b,\n u,\n i,\n center,\n dl,\n dt,\n dd,\n ol,\n ul,\n li,\n fieldset,\n form,\n label,\n legend,\n table,\n caption,\n tbody,\n tfoot,\n thead,\n tr,\n th,\n td,\n article,\n aside,\n canvas,\n details,\n embed,\n figure,\n figcaption,\n footer,\n header,\n hgroup,\n menu,\n nav,\n output,\n ruby,\n section,\n summary,\n time,\n mark,\n audio,\n video {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font: inherit;\n vertical-align: baseline;\n }\n /* HTML5 display-role reset for older browsers */\n article,\n aside,\n details,\n figcaption,\n figure,\n footer,\n header,\n hgroup,\n menu,\n nav,\n section {\n display: block;\n }\n body {\n line-height: 1;\n }\n ol {\n list-style: decimal outside;\n margin: 1rem 0rem 1rem 1.25rem;\n }\n ul {\n list-style: disc outside;\n margin: 1rem 0rem 1rem 1.25rem;\n }\n li {\n position: relative;\n left: 1.25rem;\n padding-right: 1.25rem;\n }\n main li > a {\n display: inline-block;\n min-height: 44px;\n }\n blockquote,\n q {\n quotes: none;\n }\n blockquote:before,\n blockquote:after,\n q:before,\n q:after {\n content: '';\n content: none;\n }\n table {\n border-collapse: collapse;\n border-spacing: 0;\n }\n .table-container li {\n left: 0;\n }\n table tr td {\n vertical-align: top;\n }\n body {\n position: static;\n top: 0px !important;\n }\n iframe.skiptranslate {\n display: none !important;\n }\n /* Hide the rate this translation popup */\n #goog-gt-tt {\n display: none !important;\n }\n"])));
30423
30423
  var templateObject_1;
30424
30424
 
30425
30425
  const Container$6 = styled__default.default.div`