northants-design-system 1.3.3 → 1.3.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.
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'))),