@mindbill/react 0.77.41 → 0.77.42

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/dist/index.js CHANGED
@@ -10508,7 +10508,7 @@ function TreatmentDraftShell({ title, description, children, hideHeading = false
10508
10508
  .mbtd .mbrfa-template-save{display:grid;grid-template-columns:minmax(0,420px);gap:10px 16px;margin-top:10px}.mbtd .mbrfa-template-save>label{display:grid;gap:4px;font-size:12px;color:var(--mb-muted)}.mbtd .mbrfa-template-save>.mbrfa-check{display:flex;flex-direction:row;align-items:center;gap:8px;cursor:pointer}.mbtd .mbrfa-template-save>.mbrfa-check>input{width:16px;height:16px;min-height:16px;margin:0;padding:0;flex:0 0 16px;accent-color:var(--mb-accent)}.mbtd .mbrfa-template-save>:is(.mbrfa-check,.mbrfa-section-actions){grid-column:1/-1;margin-top:0;padding-top:0;border-top:0}
10509
10509
  @media(max-width:760px){.mbtd .mbrfa-template-save{grid-template-columns:minmax(0,1fr)}}
10510
10510
  .mbtd .mbrfa-form-grid>.mbrfa-row-start{grid-column:1/span 3}.mbtd .mbrfa-form-grid textarea[rows="2"]{min-height:44px}
10511
- .mbtd .mbrfa-review-type{display:grid;gap:4px;margin-top:10px;padding-top:12px;border-top:1px dashed var(--mb-border)}.mbtd .mbrfa-review-type>span{font-size:12px;font-weight:500;color:var(--mb-muted)}.mbtd .mbrfa-review-type>span>small{margin-left:10px;font-weight:400}
10511
+ .mbtd .mbrfa-option-group{display:grid;gap:4px;grid-column:1/-1}.mbtd .mbrfa-option-group+.mbrfa-option-group{margin-top:6px;padding-top:14px;border-top:1px solid var(--mb-border)}.mbtd .mbrfa-option-group>span{font-size:12px;font-weight:600;color:var(--mb-muted)}.mbtd .mbrfa-option-group>span>small{margin-left:10px;font-weight:400}
10512
10512
  .mbtd .mbrfa-docs{display:grid;gap:10px}
10513
10513
  .mbtd .mbrfa-doc{display:flex;align-items:center;gap:12px;padding:10px 14px;border:1px solid var(--mb-border);border-radius:var(--mb-control-radius);background:var(--mb-surface)}.mbtd .mbrfa-doc>span{display:grid;min-width:0;flex:1}.mbtd .mbrfa-doc strong{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mbtd .mbrfa-doc small{font-size:12px;color:var(--mb-muted)}.mbtd .mbrfa-doc>button{border:0;background:none;min-height:32px;width:32px;padding:0;font-size:20px;line-height:1;color:var(--mb-muted)}.mbtd .mbrfa-doc>button:hover{color:var(--mb-text)}
10514
10514
  .mbtd button.mbrfa-dropzone{display:grid;justify-items:center;gap:6px;width:100%;padding:28px 16px;border:1.5px dashed color-mix(in srgb,var(--mb-accent) 45%,var(--mb-border));border-radius:var(--mb-control-radius);background:var(--mb-soft);color:var(--mb-accent);cursor:pointer;text-align:center}.mbtd button.mbrfa-dropzone strong{font-size:15px;font-weight:600;color:var(--mb-text)}.mbtd button.mbrfa-dropzone small{font-size:13px;color:var(--mb-muted)}.mbtd button.mbrfa-dropzone:hover,.mbtd button.mbrfa-dropzone[data-over=true]{border-color:var(--mb-accent);background:color-mix(in srgb,var(--mb-accent) 8%,var(--mb-surface))}
@@ -13377,32 +13377,41 @@ function RfaDraftForm({ initialDraft, identity, officialForm = false, formDetail
13377
13377
  /* @__PURE__ */ jsxs41("fieldset", { disabled: locked, className: "mbrfa-request-details", children: [
13378
13378
  /* @__PURE__ */ jsx43("legend", { children: "Request type" }),
13379
13379
  /* @__PURE__ */ jsxs41("div", { className: "mbtd-grid", children: [
13380
- /* @__PURE__ */ jsxs41("div", { className: "mbrfa-request-types", role: "group", "aria-label": "Request type", children: [
13381
- /* @__PURE__ */ jsxs41("label", { className: "mbrfa-check", children: [
13382
- /* @__PURE__ */ jsx43("input", { type: "radio", name: "request-type", checked: (draft2.requestType ?? "new") === "new", onChange: () => update({ requestType: "new" }) }),
13383
- /* @__PURE__ */ jsx43("span", { children: /* @__PURE__ */ jsx43("strong", { children: "New Request" }) })
13380
+ /* @__PURE__ */ jsxs41("div", { className: "mbrfa-option-group", children: [
13381
+ /* @__PURE__ */ jsxs41("span", { children: [
13382
+ "Request type",
13383
+ /* @__PURE__ */ jsx43(RfaRequired, {})
13384
13384
  ] }),
13385
- /* @__PURE__ */ jsxs41("label", { className: "mbrfa-check", children: [
13386
- /* @__PURE__ */ jsx43("input", { type: "radio", name: "request-type", checked: draft2.requestType === "resubmission_material_change", onChange: () => update({ requestType: "resubmission_material_change" }) }),
13387
- /* @__PURE__ */ jsxs41("span", { children: [
13388
- /* @__PURE__ */ jsx43("strong", { children: "Resubmission" }),
13389
- " \u2013 Change in Material Facts"
13385
+ /* @__PURE__ */ jsxs41("div", { className: "mbrfa-request-types", role: "group", "aria-label": "Request type", children: [
13386
+ /* @__PURE__ */ jsxs41("label", { className: "mbrfa-check", children: [
13387
+ /* @__PURE__ */ jsx43("input", { type: "radio", name: "request-type", checked: (draft2.requestType ?? "new") === "new", onChange: () => update({ requestType: "new" }) }),
13388
+ /* @__PURE__ */ jsx43("span", { children: /* @__PURE__ */ jsx43("strong", { children: "New Request" }) })
13389
+ ] }),
13390
+ /* @__PURE__ */ jsxs41("label", { className: "mbrfa-check", children: [
13391
+ /* @__PURE__ */ jsx43("input", { type: "radio", name: "request-type", checked: draft2.requestType === "resubmission_material_change", onChange: () => update({ requestType: "resubmission_material_change" }) }),
13392
+ /* @__PURE__ */ jsxs41("span", { children: [
13393
+ /* @__PURE__ */ jsx43("strong", { children: "Resubmission" }),
13394
+ " \u2013 Change in Material Facts"
13395
+ ] })
13390
13396
  ] })
13391
13397
  ] })
13392
13398
  ] }),
13393
- /* @__PURE__ */ jsxs41("label", { className: "mbrfa-check", children: [
13394
- /* @__PURE__ */ jsx43("input", { type: "checkbox", checked: draft2.expedited ?? false, onChange: (event) => update({ expedited: event.target.checked }) }),
13395
- "Expedited Review: Check box if employee faces an imminent and serious threat to his or her health"
13396
- ] }),
13397
- /* @__PURE__ */ jsxs41("label", { className: "mbrfa-check", children: [
13398
- /* @__PURE__ */ jsx43("input", { type: "checkbox", checked: draft2.writtenConfirmation ?? false, onChange: (event) => update({ writtenConfirmation: event.target.checked }) }),
13399
- "Check box if request is a written confirmation of a prior oral request"
13399
+ /* @__PURE__ */ jsxs41("div", { className: "mbrfa-option-group", children: [
13400
+ /* @__PURE__ */ jsx43("span", { children: "Check any that apply" }),
13401
+ /* @__PURE__ */ jsxs41("label", { className: "mbrfa-check", children: [
13402
+ /* @__PURE__ */ jsx43("input", { type: "checkbox", checked: draft2.expedited ?? false, onChange: (event) => update({ expedited: event.target.checked }) }),
13403
+ "Expedited Review: Check box if employee faces an imminent and serious threat to his or her health"
13404
+ ] }),
13405
+ /* @__PURE__ */ jsxs41("label", { className: "mbrfa-check", children: [
13406
+ /* @__PURE__ */ jsx43("input", { type: "checkbox", checked: draft2.writtenConfirmation ?? false, onChange: (event) => update({ writtenConfirmation: event.target.checked }) }),
13407
+ "Check box if request is a written confirmation of a prior oral request"
13408
+ ] })
13400
13409
  ] }),
13401
- /* @__PURE__ */ jsxs41("div", { className: "mbrfa-review-type", children: [
13410
+ /* @__PURE__ */ jsxs41("div", { className: "mbrfa-option-group", children: [
13402
13411
  /* @__PURE__ */ jsxs41("span", { children: [
13403
13412
  "Review type",
13404
13413
  /* @__PURE__ */ jsx43(RfaRequired, {}),
13405
- /* @__PURE__ */ jsx43("small", { children: "Sets the decision due date. Not printed on the RFA." })
13414
+ /* @__PURE__ */ jsx43("small", { children: "Sets the decision due date." })
13406
13415
  ] }),
13407
13416
  /* @__PURE__ */ jsx43("div", { className: "mbrfa-request-types", role: "group", "aria-label": "Review type", children: [["prospective", "Prospective", "before treatment"], ["concurrent", "Concurrent", "during inpatient treatment"], ["retrospective", "Retrospective", "after treatment"]].map(([value, name, when]) => /* @__PURE__ */ jsxs41("label", { className: "mbrfa-check", children: [
13408
13417
  /* @__PURE__ */ jsx43("input", { type: "radio", name: "review-type", checked: (draft2.reviewType ?? "prospective") === value, onChange: () => update({ reviewType: value }) }),