@mieweb/ui 0.11.0-dev.0 → 0.11.0-dev.1

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.
Files changed (44) hide show
  1. package/dist/{chunk-J2CKXXOW.js → chunk-4I6BW3FB.js} +8 -5
  2. package/dist/chunk-4I6BW3FB.js.map +1 -0
  3. package/dist/{chunk-XHK5VZ4L.cjs → chunk-6ZA574PU.cjs} +8 -5
  4. package/dist/chunk-6ZA574PU.cjs.map +1 -0
  5. package/dist/{chunk-ECYIDXG6.cjs → chunk-AFDW64EF.cjs} +4 -2
  6. package/dist/chunk-AFDW64EF.cjs.map +1 -0
  7. package/dist/{chunk-KVTKSPX5.js → chunk-AG5EKCE4.js} +4 -2
  8. package/dist/chunk-AG5EKCE4.js.map +1 -0
  9. package/dist/{chunk-OW3SQJ7P.js → chunk-EI4JU5JF.js} +3 -3
  10. package/dist/{chunk-OW3SQJ7P.js.map → chunk-EI4JU5JF.js.map} +1 -1
  11. package/dist/{chunk-JSXIB6EJ.cjs → chunk-GLG6UE2H.cjs} +12 -7
  12. package/dist/chunk-GLG6UE2H.cjs.map +1 -0
  13. package/dist/{chunk-H3ROMJYI.cjs → chunk-KY67AMQ5.cjs} +4 -4
  14. package/dist/{chunk-H3ROMJYI.cjs.map → chunk-KY67AMQ5.cjs.map} +1 -1
  15. package/dist/{chunk-FBN2VHUV.cjs → chunk-QQCHM7BZ.cjs} +4 -4
  16. package/dist/{chunk-FBN2VHUV.cjs.map → chunk-QQCHM7BZ.cjs.map} +1 -1
  17. package/dist/{chunk-EBKE4DLU.js → chunk-VYNFJVRZ.js} +3 -3
  18. package/dist/{chunk-EBKE4DLU.js.map → chunk-VYNFJVRZ.js.map} +1 -1
  19. package/dist/{chunk-7X6R3JIA.js → chunk-YFWDS6MX.js} +12 -7
  20. package/dist/chunk-YFWDS6MX.js.map +1 -0
  21. package/dist/components/MegaMenu/index.cjs +5 -4
  22. package/dist/components/MegaMenu/index.js +2 -1
  23. package/dist/components/ThemeProvider/index.cjs +9 -8
  24. package/dist/components/ThemeProvider/index.js +3 -2
  25. package/dist/components/Tooltip/index.cjs +3 -2
  26. package/dist/components/Tooltip/index.d.cts +6 -2
  27. package/dist/components/Tooltip/index.d.ts +6 -2
  28. package/dist/components/Tooltip/index.js +2 -1
  29. package/dist/esheet.cjs +5 -5
  30. package/dist/esheet.js +2 -2
  31. package/dist/index.cjs +64 -64
  32. package/dist/index.d.cts +6 -2
  33. package/dist/index.d.ts +6 -2
  34. package/dist/index.js +8 -8
  35. package/dist/styles.css +1 -1
  36. package/dist/tailwind-preset.cjs +4 -4
  37. package/dist/tailwind-preset.js +1 -1
  38. package/package.json +1 -1
  39. package/dist/chunk-7X6R3JIA.js.map +0 -1
  40. package/dist/chunk-ECYIDXG6.cjs.map +0 -1
  41. package/dist/chunk-J2CKXXOW.js.map +0 -1
  42. package/dist/chunk-JSXIB6EJ.cjs.map +0 -1
  43. package/dist/chunk-KVTKSPX5.js.map +0 -1
  44. package/dist/chunk-XHK5VZ4L.cjs.map +0 -1
package/dist/index.cjs CHANGED
@@ -36,7 +36,7 @@ require('./chunk-IWRBJHO3.cjs');
36
36
  require('./chunk-7IRTD4JT.cjs');
37
37
  require('./chunk-6TTCZY3P.cjs');
38
38
  var chunk3IAA3KCE_cjs = require('./chunk-3IAA3KCE.cjs');
39
- var chunkH3ROMJYI_cjs = require('./chunk-H3ROMJYI.cjs');
39
+ var chunkKY67AMQ5_cjs = require('./chunk-KY67AMQ5.cjs');
40
40
  var chunkVTKXM7IE_cjs = require('./chunk-VTKXM7IE.cjs');
41
41
  var chunkGYXSF6BJ_cjs = require('./chunk-GYXSF6BJ.cjs');
42
42
  var chunkXPWFIDZM_cjs = require('./chunk-XPWFIDZM.cjs');
@@ -61,7 +61,7 @@ var chunkMYAU2ZUC_cjs = require('./chunk-MYAU2ZUC.cjs');
61
61
  var chunkAJPFQF3H_cjs = require('./chunk-AJPFQF3H.cjs');
62
62
  require('./chunk-GLXTVCHN.cjs');
63
63
  var chunkKQ6GLYFZ_cjs = require('./chunk-KQ6GLYFZ.cjs');
64
- var chunkXHK5VZ4L_cjs = require('./chunk-XHK5VZ4L.cjs');
64
+ var chunk6ZA574PU_cjs = require('./chunk-6ZA574PU.cjs');
65
65
  var chunkTU63764L_cjs = require('./chunk-TU63764L.cjs');
66
66
  var chunkL5Y52F2E_cjs = require('./chunk-L5Y52F2E.cjs');
67
67
  var chunk7FTBPLA6_cjs = require('./chunk-7FTBPLA6.cjs');
@@ -119,7 +119,7 @@ var chunk7WJ6MBF5_cjs = require('./chunk-7WJ6MBF5.cjs');
119
119
  require('./chunk-AT732HC6.cjs');
120
120
  var chunkL7YQBSEL_cjs = require('./chunk-L7YQBSEL.cjs');
121
121
  var chunkC7RVKV25_cjs = require('./chunk-C7RVKV25.cjs');
122
- var chunkECYIDXG6_cjs = require('./chunk-ECYIDXG6.cjs');
122
+ var chunkAFDW64EF_cjs = require('./chunk-AFDW64EF.cjs');
123
123
  var chunkSHBCUXFS_cjs = require('./chunk-SHBCUXFS.cjs');
124
124
  require('./chunk-P22YCUVM.cjs');
125
125
  var chunkQ3YVLO52_cjs = require('./chunk-Q3YVLO52.cjs');
@@ -127,8 +127,8 @@ var chunkGKDHMNUA_cjs = require('./chunk-GKDHMNUA.cjs');
127
127
  var chunk4NCDU5IG_cjs = require('./chunk-4NCDU5IG.cjs');
128
128
  var chunkXXVUHLQN_cjs = require('./chunk-XXVUHLQN.cjs');
129
129
  var chunkRI56YPED_cjs = require('./chunk-RI56YPED.cjs');
130
- var chunkFBN2VHUV_cjs = require('./chunk-FBN2VHUV.cjs');
131
- var chunkJSXIB6EJ_cjs = require('./chunk-JSXIB6EJ.cjs');
130
+ var chunkQQCHM7BZ_cjs = require('./chunk-QQCHM7BZ.cjs');
131
+ var chunkGLG6UE2H_cjs = require('./chunk-GLG6UE2H.cjs');
132
132
  var chunkG7EQ3JPX_cjs = require('./chunk-G7EQ3JPX.cjs');
133
133
  var chunkAIJAFPGJ_cjs = require('./chunk-AIJAFPGJ.cjs');
134
134
  var chunkZSGEGISB_cjs = require('./chunk-ZSGEGISB.cjs');
@@ -2367,7 +2367,7 @@ function OzwellChat({
2367
2367
  if (message.id !== QUEUED_MESSAGE_ID) return null;
2368
2368
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1", children: [
2369
2369
  isEditingQueuedMessage ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2370
- /* @__PURE__ */ jsxRuntime.jsx(chunkJSXIB6EJ_cjs.Tooltip, { content: "Save queued message", children: /* @__PURE__ */ jsxRuntime.jsx(
2370
+ /* @__PURE__ */ jsxRuntime.jsx(chunkGLG6UE2H_cjs.Tooltip, { content: "Save queued message", children: /* @__PURE__ */ jsxRuntime.jsx(
2371
2371
  chunkANMX7YDL_cjs.Button,
2372
2372
  {
2373
2373
  type: "button",
@@ -2378,7 +2378,7 @@ function OzwellChat({
2378
2378
  children: /* @__PURE__ */ jsxRuntime.jsx(chunkL7L5S2HO_cjs.Check, { size: 14, "aria-hidden": "true" })
2379
2379
  }
2380
2380
  ) }),
2381
- /* @__PURE__ */ jsxRuntime.jsx(chunkJSXIB6EJ_cjs.Tooltip, { content: "Cancel editing", children: /* @__PURE__ */ jsxRuntime.jsx(
2381
+ /* @__PURE__ */ jsxRuntime.jsx(chunkGLG6UE2H_cjs.Tooltip, { content: "Cancel editing", children: /* @__PURE__ */ jsxRuntime.jsx(
2382
2382
  chunkANMX7YDL_cjs.Button,
2383
2383
  {
2384
2384
  type: "button",
@@ -2389,7 +2389,7 @@ function OzwellChat({
2389
2389
  children: /* @__PURE__ */ jsxRuntime.jsx(chunkL7L5S2HO_cjs.X, { size: 14, "aria-hidden": "true" })
2390
2390
  }
2391
2391
  ) })
2392
- ] }) : onQueuedMessageChange && /* @__PURE__ */ jsxRuntime.jsx(chunkJSXIB6EJ_cjs.Tooltip, { content: "Edit queued message", children: /* @__PURE__ */ jsxRuntime.jsx(
2392
+ ] }) : onQueuedMessageChange && /* @__PURE__ */ jsxRuntime.jsx(chunkGLG6UE2H_cjs.Tooltip, { content: "Edit queued message", children: /* @__PURE__ */ jsxRuntime.jsx(
2393
2393
  chunkANMX7YDL_cjs.Button,
2394
2394
  {
2395
2395
  type: "button",
@@ -2400,7 +2400,7 @@ function OzwellChat({
2400
2400
  children: /* @__PURE__ */ jsxRuntime.jsx(chunkL7L5S2HO_cjs.Pencil, { size: 14, "aria-hidden": "true" })
2401
2401
  }
2402
2402
  ) }),
2403
- onCancelQueuedMessage && !isEditingQueuedMessage && /* @__PURE__ */ jsxRuntime.jsx(chunkJSXIB6EJ_cjs.Tooltip, { content: "Cancel queued message", children: /* @__PURE__ */ jsxRuntime.jsx(
2403
+ onCancelQueuedMessage && !isEditingQueuedMessage && /* @__PURE__ */ jsxRuntime.jsx(chunkGLG6UE2H_cjs.Tooltip, { content: "Cancel queued message", children: /* @__PURE__ */ jsxRuntime.jsx(
2404
2404
  chunkANMX7YDL_cjs.Button,
2405
2405
  {
2406
2406
  type: "button",
@@ -2465,7 +2465,7 @@ function OzwellChat({
2465
2465
  ),
2466
2466
  "aria-current": option.value === thinking.mode ? "true" : void 0,
2467
2467
  children: /* @__PURE__ */ jsxRuntime.jsx(
2468
- chunkJSXIB6EJ_cjs.Tooltip,
2468
+ chunkGLG6UE2H_cjs.Tooltip,
2469
2469
  {
2470
2470
  content: option.description,
2471
2471
  placement: "right",
@@ -7418,7 +7418,7 @@ function CodingChips({ coding }) {
7418
7418
  const inline = icd.length > 0 ? icd : coding.filter((c) => c.primary);
7419
7419
  const label = inline.map((c) => c.code).join(", ");
7420
7420
  return /* @__PURE__ */ jsxRuntime.jsx(
7421
- chunkJSXIB6EJ_cjs.Tooltip,
7421
+ chunkGLG6UE2H_cjs.Tooltip,
7422
7422
  {
7423
7423
  content: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex flex-col gap-0.5", children: coding.map((c) => /* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
7424
7424
  c.system,
@@ -7483,7 +7483,7 @@ function UncertaintyBadge({
7483
7483
  ...overall ? [`Overall certainty: ${overall}`] : [],
7484
7484
  ...fieldEntries.map(([field, f]) => describeFieldUncertainty(field, f))
7485
7485
  ];
7486
- return /* @__PURE__ */ jsxRuntime.jsx(chunkJSXIB6EJ_cjs.Tooltip, { content: lines.join(" \xB7 "), children: /* @__PURE__ */ jsxRuntime.jsxs(chunk7E46YDOT_cjs.Badge, { variant: "warning", size: "sm", className: "gap-1", children: [
7486
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkGLG6UE2H_cjs.Tooltip, { content: lines.join(" \xB7 "), children: /* @__PURE__ */ jsxRuntime.jsxs(chunk7E46YDOT_cjs.Badge, { variant: "warning", size: "sm", className: "gap-1", children: [
7487
7487
  /* @__PURE__ */ jsxRuntime.jsx(chunkL7L5S2HO_cjs.HelpCircle, { size: 10 }),
7488
7488
  overall ? `${overall} certainty` : `${fieldEntries.length} uncertain`
7489
7489
  ] }) });
@@ -7594,7 +7594,7 @@ function ConcernRow({
7594
7594
  className: "text-muted-foreground/50 shrink-0"
7595
7595
  }
7596
7596
  ) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground/60 select-none", children: "\u2022" }),
7597
- /* @__PURE__ */ jsxRuntime.jsx(chunkJSXIB6EJ_cjs.Tooltip, { content: concernHistoryContent(concern), children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground font-medium", children: current.text }) }),
7597
+ /* @__PURE__ */ jsxRuntime.jsx(chunkGLG6UE2H_cjs.Tooltip, { content: concernHistoryContent(concern), children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground font-medium", children: current.text }) }),
7598
7598
  /* @__PURE__ */ jsxRuntime.jsx(CodingChips, { coding: current.coding }),
7599
7599
  current.verificationStatus !== "confirmed" && current.verificationStatus !== "unconfirmed" && /* @__PURE__ */ jsxRuntime.jsx(
7600
7600
  chunk7E46YDOT_cjs.Badge,
@@ -7626,8 +7626,8 @@ function ConcernRow({
7626
7626
  ]
7627
7627
  }
7628
7628
  ),
7629
- !readOnly && /* @__PURE__ */ jsxRuntime.jsx(chunkFBN2VHUV_cjs.RowActionToolbar, { label: `Actions for ${current.text}`, align: "top", children: visibleActions.map((action) => /* @__PURE__ */ jsxRuntime.jsx(
7630
- chunkFBN2VHUV_cjs.RowIconButton,
7629
+ !readOnly && /* @__PURE__ */ jsxRuntime.jsx(chunkQQCHM7BZ_cjs.RowActionToolbar, { label: `Actions for ${current.text}`, align: "top", children: visibleActions.map((action) => /* @__PURE__ */ jsxRuntime.jsx(
7630
+ chunkQQCHM7BZ_cjs.RowIconButton,
7631
7631
  {
7632
7632
  label: ACTION_META[action].label,
7633
7633
  icon: ACTION_META[action].icon,
@@ -7892,7 +7892,7 @@ function OrderContent({ order }) {
7892
7892
  const meta = ORDER_TYPE_META[order.type];
7893
7893
  const Icon = meta.icon;
7894
7894
  return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground flex items-center gap-2 text-sm", children: [
7895
- /* @__PURE__ */ jsxRuntime.jsx(chunkJSXIB6EJ_cjs.Tooltip, { content: meta.label, children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { size: 14 }) }),
7895
+ /* @__PURE__ */ jsxRuntime.jsx(chunkGLG6UE2H_cjs.Tooltip, { content: meta.label, children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { size: 14 }) }),
7896
7896
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: meta.label }),
7897
7897
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground", children: order.display }),
7898
7898
  order.priority && order.priority !== "routine" && /* @__PURE__ */ jsxRuntime.jsx(
@@ -8054,13 +8054,13 @@ function OrderRow({
8054
8054
  ) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
8055
8055
  /* @__PURE__ */ jsxRuntime.jsx(OrderContent, { order }),
8056
8056
  interactive && /* @__PURE__ */ jsxRuntime.jsxs(
8057
- chunkFBN2VHUV_cjs.RowActionToolbar,
8057
+ chunkQQCHM7BZ_cjs.RowActionToolbar,
8058
8058
  {
8059
8059
  label: `Actions for ${order.display}`,
8060
8060
  group: "order",
8061
8061
  children: [
8062
8062
  canEdit && /* @__PURE__ */ jsxRuntime.jsx(
8063
- chunkFBN2VHUV_cjs.RowIconButton,
8063
+ chunkQQCHM7BZ_cjs.RowIconButton,
8064
8064
  {
8065
8065
  label: "Edit",
8066
8066
  icon: chunkL7L5S2HO_cjs.Pencil,
@@ -8128,7 +8128,7 @@ function OrderRow({
8128
8128
  }
8129
8129
  ),
8130
8130
  controls?.remove && /* @__PURE__ */ jsxRuntime.jsx(
8131
- chunkFBN2VHUV_cjs.RowIconButton,
8131
+ chunkQQCHM7BZ_cjs.RowIconButton,
8132
8132
  {
8133
8133
  label: "Remove",
8134
8134
  icon: chunkL7L5S2HO_cjs.Trash2,
@@ -8317,7 +8317,7 @@ var Assessment = React13__namespace.forwardRef(
8317
8317
  if (addMode !== "auto") setPendingFreeText(null);
8318
8318
  }, [addMode]);
8319
8319
  const [announcement, setAnnouncement] = chunkCPDNX3LS_cjs.useLiveAnnouncement();
8320
- const ambientCodeLookup = chunkFBN2VHUV_cjs.useCodeLookupConfig();
8320
+ const ambientCodeLookup = chunkQQCHM7BZ_cjs.useCodeLookupConfig();
8321
8321
  const effectiveRenderOrderSearch = renderOrderSearch === false ? void 0 : renderOrderSearch ?? (ambientCodeLookup ? contextOrderSearch(ambientCodeLookup) : void 0);
8322
8322
  const concernById = React13__namespace.useMemo(
8323
8323
  () => new Map(concerns.map((c) => [c.concernId, c])),
@@ -8575,7 +8575,7 @@ var Assessment = React13__namespace.forwardRef(
8575
8575
  assertion.verificationStatus !== "confirmed" && /* @__PURE__ */ jsxRuntime.jsx(chunk7E46YDOT_cjs.Badge, { variant: "warning", size: "sm", children: assertion.verificationStatus }),
8576
8576
  /* @__PURE__ */ jsxRuntime.jsx(CodingChips, { coding: assertion.coding }),
8577
8577
  !readOnly && showConcernToolbar && /* @__PURE__ */ jsxRuntime.jsxs(
8578
- chunkFBN2VHUV_cjs.RowActionToolbar,
8578
+ chunkQQCHM7BZ_cjs.RowActionToolbar,
8579
8579
  {
8580
8580
  label: `Actions for ${assertion.text}`,
8581
8581
  align: "top",
@@ -8589,7 +8589,7 @@ var Assessment = React13__namespace.forwardRef(
8589
8589
  toolbarActions.map((action) => {
8590
8590
  const meta = ACTION_META2[action];
8591
8591
  return /* @__PURE__ */ jsxRuntime.jsx(
8592
- chunkFBN2VHUV_cjs.RowIconButton,
8592
+ chunkQQCHM7BZ_cjs.RowIconButton,
8593
8593
  {
8594
8594
  label: meta.label,
8595
8595
  icon: meta.icon,
@@ -8610,7 +8610,7 @@ var Assessment = React13__namespace.forwardRef(
8610
8610
  );
8611
8611
  }),
8612
8612
  rowActions.includes("remove") && onRemoveAssessment && /* @__PURE__ */ jsxRuntime.jsx(
8613
- chunkFBN2VHUV_cjs.RowIconButton,
8613
+ chunkQQCHM7BZ_cjs.RowIconButton,
8614
8614
  {
8615
8615
  label: `Remove ${assertion.text} from assessment`,
8616
8616
  icon: chunkL7L5S2HO_cjs.Trash2,
@@ -12373,7 +12373,7 @@ function ConditionEditor({
12373
12373
  "data-testid": dataTestId
12374
12374
  }) {
12375
12375
  const prior = concern ? currentAssertion(concern) : void 0;
12376
- const ambientCodeLookup = chunkFBN2VHUV_cjs.useCodeLookupConfig();
12376
+ const ambientCodeLookup = chunkQQCHM7BZ_cjs.useCodeLookupConfig();
12377
12377
  const effectiveRenderCodeSearch = renderCodeSearch === false ? void 0 : renderCodeSearch ?? (ambientCodeLookup ? contextConditionCodeSearch(ambientCodeLookup) : void 0);
12378
12378
  const [text, setText] = React13__namespace.useState("");
12379
12379
  const [coding, setCoding] = React13__namespace.useState([]);
@@ -28260,7 +28260,7 @@ var defaultOrderTabs = [
28260
28260
  { id: "rejected", label: "Rejected", statuses: ["rejected", "cancelled"] }
28261
28261
  ];
28262
28262
  function orderToMedication(order) {
28263
- const sig = order.detail ? chunkFBN2VHUV_cjs.parseSig(order.detail) : void 0;
28263
+ const sig = order.detail ? chunkQQCHM7BZ_cjs.parseSig(order.detail) : void 0;
28264
28264
  return {
28265
28265
  id: order.orderId,
28266
28266
  name: order.display,
@@ -28268,7 +28268,7 @@ function orderToMedication(order) {
28268
28268
  status: "unreconciled",
28269
28269
  indication: order.indication,
28270
28270
  pharmacyNotes: order.notes,
28271
- ...chunkFBN2VHUV_cjs.labelToMedicationFields(order.display),
28271
+ ...chunkQQCHM7BZ_cjs.labelToMedicationFields(order.display),
28272
28272
  ...sig && {
28273
28273
  route: sig.route,
28274
28274
  frequency: sig.frequency,
@@ -28339,7 +28339,7 @@ function BaseOrderEditor({
28339
28339
  onSave
28340
28340
  }) {
28341
28341
  const config = TYPE_CONFIG[type];
28342
- const ambientCodeLookup = chunkFBN2VHUV_cjs.useCodeLookupConfig();
28342
+ const ambientCodeLookup = chunkQQCHM7BZ_cjs.useCodeLookupConfig();
28343
28343
  const effectiveCodeLookup = codeLookup === false ? void 0 : codeLookup ?? ambientCodeLookup ?? void 0;
28344
28344
  const [draft, setDraft] = React13__namespace.useState(
28345
28345
  () => order ?? {
@@ -28538,7 +28538,7 @@ function OrderEditor({
28538
28538
  display: ""
28539
28539
  };
28540
28540
  return /* @__PURE__ */ jsxRuntime.jsx(
28541
- chunkFBN2VHUV_cjs.MedicationEditor,
28541
+ chunkQQCHM7BZ_cjs.MedicationEditor,
28542
28542
  {
28543
28543
  open,
28544
28544
  medication: order ? orderToMedication(order) : void 0,
@@ -31194,7 +31194,7 @@ function RelevanceControl({
31194
31194
  {
31195
31195
  role: "toolbar",
31196
31196
  "aria-label": `Relevance for ${labelPrefix}`,
31197
- onKeyDown: chunkFBN2VHUV_cjs.toolbarKeyNav,
31197
+ onKeyDown: chunkQQCHM7BZ_cjs.toolbarKeyNav,
31198
31198
  className: "border-border flex shrink-0 items-center overflow-hidden rounded-md border",
31199
31199
  children: RELEVANCE_ORDER.map((relevance) => {
31200
31200
  const active = value === relevance;
@@ -31458,7 +31458,7 @@ var PresentingProblems = React13__namespace.forwardRef(
31458
31458
  ]
31459
31459
  }
31460
31460
  ),
31461
- scope === "problem-focused" && /* @__PURE__ */ jsxRuntime.jsx(chunkJSXIB6EJ_cjs.Tooltip, { content: "Negative assertions require a comprehensive visit \u2014 a problem-focused encounter asserts nothing about unmentioned problems.", children: /* @__PURE__ */ jsxRuntime.jsx(chunkL7L5S2HO_cjs.Info, { size: 14, className: "text-muted-foreground" }) })
31461
+ scope === "problem-focused" && /* @__PURE__ */ jsxRuntime.jsx(chunkGLG6UE2H_cjs.Tooltip, { content: "Negative assertions require a comprehensive visit \u2014 a problem-focused encounter asserts nothing about unmentioned problems.", children: /* @__PURE__ */ jsxRuntime.jsx(chunkL7L5S2HO_cjs.Info, { size: 14, className: "text-muted-foreground" }) })
31462
31462
  ] })
31463
31463
  ] }),
31464
31464
  /* @__PURE__ */ jsxRuntime.jsx("div", { "aria-live": "polite", className: "sr-only", children: announcement })
@@ -31761,7 +31761,7 @@ var DistanceBadge = ({ distance }) => {
31761
31761
  "mi"
31762
31762
  ] });
31763
31763
  };
31764
- var SafeFromWildfiresNotice = () => /* @__PURE__ */ jsxRuntime.jsx(chunkJSXIB6EJ_cjs.Tooltip, { content: "BlueHive has confirmed that this provider is operational and not impacted by the January 2025 wildfires.", children: /* @__PURE__ */ jsxRuntime.jsxs(
31764
+ var SafeFromWildfiresNotice = () => /* @__PURE__ */ jsxRuntime.jsx(chunkGLG6UE2H_cjs.Tooltip, { content: "BlueHive has confirmed that this provider is operational and not impacted by the January 2025 wildfires.", children: /* @__PURE__ */ jsxRuntime.jsxs(
31765
31765
  "div",
31766
31766
  {
31767
31767
  "data-slot": "provider-card-safe-notice",
@@ -31788,7 +31788,7 @@ var SafeFromWildfiresNotice = () => /* @__PURE__ */ jsxRuntime.jsx(chunkJSXIB6EJ
31788
31788
  ]
31789
31789
  }
31790
31790
  ) });
31791
- var VerifiedBadge = () => /* @__PURE__ */ jsxRuntime.jsx(chunkJSXIB6EJ_cjs.Tooltip, { content: "This provider's information has been verified", children: /* @__PURE__ */ jsxRuntime.jsxs(
31791
+ var VerifiedBadge = () => /* @__PURE__ */ jsxRuntime.jsx(chunkGLG6UE2H_cjs.Tooltip, { content: "This provider's information has been verified", children: /* @__PURE__ */ jsxRuntime.jsxs(
31792
31792
  "span",
31793
31793
  {
31794
31794
  "data-slot": "provider-card-verified",
@@ -33594,7 +33594,7 @@ var GeolocationButton = ({
33594
33594
  return "Click to automatically find your location";
33595
33595
  }
33596
33596
  };
33597
- return /* @__PURE__ */ jsxRuntime.jsx(chunkJSXIB6EJ_cjs.Tooltip, { content: getTooltip(), children: /* @__PURE__ */ jsxRuntime.jsx(
33597
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkGLG6UE2H_cjs.Tooltip, { content: getTooltip(), children: /* @__PURE__ */ jsxRuntime.jsx(
33598
33598
  chunkANMX7YDL_cjs.Button,
33599
33599
  {
33600
33600
  type: "button",
@@ -42411,8 +42411,8 @@ function MobileMenuPanel({
42411
42411
  className
42412
42412
  }) {
42413
42413
  if (!isOpen) return null;
42414
- const curPath = currentPath ? chunkXHK5VZ4L_cjs.normalizePath(currentPath) : null;
42415
- const isCurrent = (href) => curPath !== null && chunkXHK5VZ4L_cjs.normalizePath(href) === curPath;
42414
+ const curPath = currentPath ? chunk6ZA574PU_cjs.normalizePath(currentPath) : null;
42415
+ const isCurrent = (href) => curPath !== null && chunk6ZA574PU_cjs.normalizePath(href) === curPath;
42416
42416
  const sectionLinkClass = "text-muted-foreground block rounded-lg px-4 py-2 text-xs font-bold tracking-wider uppercase hover:bg-gray-100 dark:hover:bg-gray-800";
42417
42417
  const itemLinkClass = "flex items-center gap-2 rounded-lg px-4 py-2.5 text-gray-700 hover:bg-gray-100 dark:text-gray-300 dark:hover:bg-gray-800";
42418
42418
  const renderItem = (it) => /* @__PURE__ */ jsxRuntime.jsx(
@@ -42614,7 +42614,7 @@ function SiteHeader({
42614
42614
  ),
42615
42615
  menus?.length ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "hidden items-center gap-1 md:flex", children: [
42616
42616
  /* @__PURE__ */ jsxRuntime.jsx(
42617
- chunkXHK5VZ4L_cjs.MegaMenuBar,
42617
+ chunk6ZA574PU_cjs.MegaMenuBar,
42618
42618
  {
42619
42619
  menus,
42620
42620
  currentPath,
@@ -45080,27 +45080,27 @@ Object.defineProperty(exports, "textVariants", {
45080
45080
  });
45081
45081
  Object.defineProperty(exports, "ThemeProvider", {
45082
45082
  enumerable: true,
45083
- get: function () { return chunkH3ROMJYI_cjs.ThemeProvider; }
45083
+ get: function () { return chunkKY67AMQ5_cjs.ThemeProvider; }
45084
45084
  });
45085
45085
  Object.defineProperty(exports, "ThemeProviderContext", {
45086
45086
  enumerable: true,
45087
- get: function () { return chunkH3ROMJYI_cjs.ThemeProviderContext; }
45087
+ get: function () { return chunkKY67AMQ5_cjs.ThemeProviderContext; }
45088
45088
  });
45089
45089
  Object.defineProperty(exports, "ThemeToggle", {
45090
45090
  enumerable: true,
45091
- get: function () { return chunkH3ROMJYI_cjs.ThemeToggle; }
45091
+ get: function () { return chunkKY67AMQ5_cjs.ThemeToggle; }
45092
45092
  });
45093
45093
  Object.defineProperty(exports, "themeToggleIconVariants", {
45094
45094
  enumerable: true,
45095
- get: function () { return chunkH3ROMJYI_cjs.themeToggleIconVariants; }
45095
+ get: function () { return chunkKY67AMQ5_cjs.themeToggleIconVariants; }
45096
45096
  });
45097
45097
  Object.defineProperty(exports, "themeToggleVariants", {
45098
45098
  enumerable: true,
45099
- get: function () { return chunkH3ROMJYI_cjs.themeToggleVariants; }
45099
+ get: function () { return chunkKY67AMQ5_cjs.themeToggleVariants; }
45100
45100
  });
45101
45101
  Object.defineProperty(exports, "useThemeContext", {
45102
45102
  enumerable: true,
45103
- get: function () { return chunkH3ROMJYI_cjs.useThemeContext; }
45103
+ get: function () { return chunkKY67AMQ5_cjs.useThemeContext; }
45104
45104
  });
45105
45105
  Object.defineProperty(exports, "Toggle", {
45106
45106
  enumerable: true,
@@ -45580,15 +45580,15 @@ Object.defineProperty(exports, "mediaPlayerVariants", {
45580
45580
  });
45581
45581
  Object.defineProperty(exports, "MegaMenu", {
45582
45582
  enumerable: true,
45583
- get: function () { return chunkXHK5VZ4L_cjs.MegaMenu; }
45583
+ get: function () { return chunk6ZA574PU_cjs.MegaMenu; }
45584
45584
  });
45585
45585
  Object.defineProperty(exports, "MegaMenuBar", {
45586
45586
  enumerable: true,
45587
- get: function () { return chunkXHK5VZ4L_cjs.MegaMenuBar; }
45587
+ get: function () { return chunk6ZA574PU_cjs.MegaMenuBar; }
45588
45588
  });
45589
45589
  Object.defineProperty(exports, "normalizePath", {
45590
45590
  enumerable: true,
45591
- get: function () { return chunkXHK5VZ4L_cjs.normalizePath; }
45591
+ get: function () { return chunk6ZA574PU_cjs.normalizePath; }
45592
45592
  });
45593
45593
  Object.defineProperty(exports, "OrbitRing", {
45594
45594
  enumerable: true,
@@ -46348,11 +46348,11 @@ Object.defineProperty(exports, "stripHtmlTags", {
46348
46348
  });
46349
46349
  Object.defineProperty(exports, "miewebUIPreset", {
46350
46350
  enumerable: true,
46351
- get: function () { return chunkECYIDXG6_cjs.miewebUIPreset; }
46351
+ get: function () { return chunkAFDW64EF_cjs.miewebUIPreset; }
46352
46352
  });
46353
46353
  Object.defineProperty(exports, "miewebUISafelist", {
46354
46354
  enumerable: true,
46355
- get: function () { return chunkECYIDXG6_cjs.miewebUISafelist; }
46355
+ get: function () { return chunkAFDW64EF_cjs.miewebUISafelist; }
46356
46356
  });
46357
46357
  Object.defineProperty(exports, "Accordion", {
46358
46358
  enumerable: true,
@@ -46432,71 +46432,71 @@ Object.defineProperty(exports, "isApplicable", {
46432
46432
  });
46433
46433
  Object.defineProperty(exports, "ALLERGY_TYPE_LABELS", {
46434
46434
  enumerable: true,
46435
- get: function () { return chunkFBN2VHUV_cjs.ALLERGY_TYPE_LABELS; }
46435
+ get: function () { return chunkQQCHM7BZ_cjs.ALLERGY_TYPE_LABELS; }
46436
46436
  });
46437
46437
  Object.defineProperty(exports, "AllergyList", {
46438
46438
  enumerable: true,
46439
- get: function () { return chunkFBN2VHUV_cjs.AllergyList; }
46439
+ get: function () { return chunkQQCHM7BZ_cjs.AllergyList; }
46440
46440
  });
46441
46441
  Object.defineProperty(exports, "AllergyManager", {
46442
46442
  enumerable: true,
46443
- get: function () { return chunkFBN2VHUV_cjs.AllergyManager; }
46443
+ get: function () { return chunkQQCHM7BZ_cjs.AllergyManager; }
46444
46444
  });
46445
46445
  Object.defineProperty(exports, "CodeLookupProvider", {
46446
46446
  enumerable: true,
46447
- get: function () { return chunkFBN2VHUV_cjs.CodeLookupProvider; }
46447
+ get: function () { return chunkQQCHM7BZ_cjs.CodeLookupProvider; }
46448
46448
  });
46449
46449
  Object.defineProperty(exports, "MEDICATION_STATUS_LABELS", {
46450
46450
  enumerable: true,
46451
- get: function () { return chunkFBN2VHUV_cjs.MEDICATION_STATUS_LABELS; }
46451
+ get: function () { return chunkQQCHM7BZ_cjs.MEDICATION_STATUS_LABELS; }
46452
46452
  });
46453
46453
  Object.defineProperty(exports, "MedicationEditor", {
46454
46454
  enumerable: true,
46455
- get: function () { return chunkFBN2VHUV_cjs.MedicationEditor; }
46455
+ get: function () { return chunkQQCHM7BZ_cjs.MedicationEditor; }
46456
46456
  });
46457
46457
  Object.defineProperty(exports, "MedicationList", {
46458
46458
  enumerable: true,
46459
- get: function () { return chunkFBN2VHUV_cjs.MedicationList; }
46459
+ get: function () { return chunkQQCHM7BZ_cjs.MedicationList; }
46460
46460
  });
46461
46461
  Object.defineProperty(exports, "MedicationReconciliation", {
46462
46462
  enumerable: true,
46463
- get: function () { return chunkFBN2VHUV_cjs.MedicationReconciliation; }
46463
+ get: function () { return chunkQQCHM7BZ_cjs.MedicationReconciliation; }
46464
46464
  });
46465
46465
  Object.defineProperty(exports, "RowActionToolbar", {
46466
46466
  enumerable: true,
46467
- get: function () { return chunkFBN2VHUV_cjs.RowActionToolbar; }
46467
+ get: function () { return chunkQQCHM7BZ_cjs.RowActionToolbar; }
46468
46468
  });
46469
46469
  Object.defineProperty(exports, "RowIconButton", {
46470
46470
  enumerable: true,
46471
- get: function () { return chunkFBN2VHUV_cjs.RowIconButton; }
46471
+ get: function () { return chunkQQCHM7BZ_cjs.RowIconButton; }
46472
46472
  });
46473
46473
  Object.defineProperty(exports, "labelToMedicationFields", {
46474
46474
  enumerable: true,
46475
- get: function () { return chunkFBN2VHUV_cjs.labelToMedicationFields; }
46475
+ get: function () { return chunkQQCHM7BZ_cjs.labelToMedicationFields; }
46476
46476
  });
46477
46477
  Object.defineProperty(exports, "lookupToMedicationFields", {
46478
46478
  enumerable: true,
46479
- get: function () { return chunkFBN2VHUV_cjs.lookupToMedicationFields; }
46479
+ get: function () { return chunkQQCHM7BZ_cjs.lookupToMedicationFields; }
46480
46480
  });
46481
46481
  Object.defineProperty(exports, "parseMedicationLabel", {
46482
46482
  enumerable: true,
46483
- get: function () { return chunkFBN2VHUV_cjs.parseMedicationLabel; }
46483
+ get: function () { return chunkQQCHM7BZ_cjs.parseMedicationLabel; }
46484
46484
  });
46485
46485
  Object.defineProperty(exports, "parseSig", {
46486
46486
  enumerable: true,
46487
- get: function () { return chunkFBN2VHUV_cjs.parseSig; }
46487
+ get: function () { return chunkQQCHM7BZ_cjs.parseSig; }
46488
46488
  });
46489
46489
  Object.defineProperty(exports, "toolbarKeyNav", {
46490
46490
  enumerable: true,
46491
- get: function () { return chunkFBN2VHUV_cjs.toolbarKeyNav; }
46491
+ get: function () { return chunkQQCHM7BZ_cjs.toolbarKeyNav; }
46492
46492
  });
46493
46493
  Object.defineProperty(exports, "useCodeLookupConfig", {
46494
46494
  enumerable: true,
46495
- get: function () { return chunkFBN2VHUV_cjs.useCodeLookupConfig; }
46495
+ get: function () { return chunkQQCHM7BZ_cjs.useCodeLookupConfig; }
46496
46496
  });
46497
46497
  Object.defineProperty(exports, "Tooltip", {
46498
46498
  enumerable: true,
46499
- get: function () { return chunkJSXIB6EJ_cjs.Tooltip; }
46499
+ get: function () { return chunkGLG6UE2H_cjs.Tooltip; }
46500
46500
  });
46501
46501
  Object.defineProperty(exports, "Radio", {
46502
46502
  enumerable: true,
package/dist/index.d.cts CHANGED
@@ -18095,7 +18095,7 @@ interface ToggleProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElemen
18095
18095
  */
18096
18096
  declare const Toggle: React$1.ForwardRefExoticComponent<ToggleProps & React$1.RefAttributes<HTMLButtonElement>>;
18097
18097
 
18098
- type TooltipPlacement = 'top' | 'bottom' | 'left' | 'right';
18098
+ type TooltipPlacement = 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end';
18099
18099
  interface TooltipProps {
18100
18100
  /** The content to display in the tooltip */
18101
18101
  content: React$1.ReactNode;
@@ -18105,7 +18105,11 @@ interface TooltipProps {
18105
18105
  onBlur?: () => void;
18106
18106
  'aria-describedby'?: string;
18107
18107
  }>;
18108
- /** Preferred placement of the tooltip relative to the trigger. Will flip if not enough space. */
18108
+ /**
18109
+ * Preferred placement of the tooltip relative to the trigger. Will flip if
18110
+ * not enough space. `left`/`right` are physical; `start`/`end` are logical
18111
+ * (they follow the trigger's text direction, so `start` is right in RTL).
18112
+ */
18109
18113
  placement?: TooltipPlacement;
18110
18114
  /** Delay in ms before showing the tooltip */
18111
18115
  delay?: number;
package/dist/index.d.ts CHANGED
@@ -18095,7 +18095,7 @@ interface ToggleProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElemen
18095
18095
  */
18096
18096
  declare const Toggle: React$1.ForwardRefExoticComponent<ToggleProps & React$1.RefAttributes<HTMLButtonElement>>;
18097
18097
 
18098
- type TooltipPlacement = 'top' | 'bottom' | 'left' | 'right';
18098
+ type TooltipPlacement = 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end';
18099
18099
  interface TooltipProps {
18100
18100
  /** The content to display in the tooltip */
18101
18101
  content: React$1.ReactNode;
@@ -18105,7 +18105,11 @@ interface TooltipProps {
18105
18105
  onBlur?: () => void;
18106
18106
  'aria-describedby'?: string;
18107
18107
  }>;
18108
- /** Preferred placement of the tooltip relative to the trigger. Will flip if not enough space. */
18108
+ /**
18109
+ * Preferred placement of the tooltip relative to the trigger. Will flip if
18110
+ * not enough space. `left`/`right` are physical; `start`/`end` are logical
18111
+ * (they follow the trigger's text direction, so `start` is right in RTL).
18112
+ */
18109
18113
  placement?: TooltipPlacement;
18110
18114
  /** Delay in ms before showing the tooltip */
18111
18115
  delay?: number;
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ import './chunk-Y424YL55.js';
36
36
  import './chunk-GY5SP4ST.js';
37
37
  import { Text } from './chunk-3YSIZ2CK.js';
38
38
  export { SmallMuted, Text, textVariants } from './chunk-3YSIZ2CK.js';
39
- export { ThemeProvider, ThemeProviderContext, ThemeToggle, themeToggleIconVariants, themeToggleVariants, useThemeContext } from './chunk-OW3SQJ7P.js';
39
+ export { ThemeProvider, ThemeProviderContext, ThemeToggle, themeToggleIconVariants, themeToggleVariants, useThemeContext } from './chunk-EI4JU5JF.js';
40
40
  export { Toggle, toggleVariants } from './chunk-PTZB2GKL.js';
41
41
  export { ViewSet } from './chunk-4RI3CQGE.js';
42
42
  export { ViewSwitcher, viewSwitcherVariants } from './chunk-2W73UQ3T.js';
@@ -68,8 +68,8 @@ export { Slider, sliderRangeVariants, sliderThumbVariants, sliderTrackVariants }
68
68
  export { MediaFeed } from './chunk-2X54ZLT6.js';
69
69
  import './chunk-RISZWWEQ.js';
70
70
  export { MediaPlayer, inferMediaKind, mediaPlayerVariants } from './chunk-N54FYWG6.js';
71
- import { normalizePath, MegaMenuBar } from './chunk-J2CKXXOW.js';
72
- export { MegaMenu, MegaMenuBar, normalizePath } from './chunk-J2CKXXOW.js';
71
+ import { normalizePath, MegaMenuBar } from './chunk-4I6BW3FB.js';
72
+ export { MegaMenu, MegaMenuBar, normalizePath } from './chunk-4I6BW3FB.js';
73
73
  export { OrbitRing } from './chunk-SUS3WFY3.js';
74
74
  export { RadialExplorer } from './chunk-VOEXGDL5.js';
75
75
  export { Pagination, SimplePagination, paginationButtonVariants } from './chunk-PFKRHNYV.js';
@@ -137,7 +137,7 @@ export { useUrlTab } from './chunk-CVNPNZMX.js';
137
137
  import './chunk-7XUN3OQT.js';
138
138
  export { formatPhoneNumber, isPhoneNumberEmpty, isValidPhoneNumber, unformatPhoneNumber } from './chunk-ZVPJ2MH6.js';
139
139
  export { isHtmlEmpty, stripHtmlTags } from './chunk-ERLPVXOV.js';
140
- export { miewebUIPreset, miewebUISafelist } from './chunk-KVTKSPX5.js';
140
+ export { miewebUIPreset, miewebUISafelist } from './chunk-AG5EKCE4.js';
141
141
  export { Accordion } from './chunk-JUJGWUAN.js';
142
142
  import './chunk-H2Y7HZV5.js';
143
143
  export { AvatarGroup, defaultAvatarGroupLabels } from './chunk-DVDT7TX7.js';
@@ -148,10 +148,10 @@ import { Spinner, SpinnerWithLabel } from './chunk-UA7E7PDS.js';
148
148
  export { FullPageSpinner, Spinner, SpinnerWithLabel, spinnerVariants } from './chunk-UA7E7PDS.js';
149
149
  import { evaluateDue, completedKeys, normalizeOrders } from './chunk-Y5KEFV5O.js';
150
150
  export { buildChartOrderRows, buildEncounterOrderRows, dueForOrder, evaluateDue, evaluateProgram, isApplicable } from './chunk-Y5KEFV5O.js';
151
- import { useCodeLookupConfig, RowActionToolbar, RowIconButton, toolbarKeyNav, parseSig, labelToMedicationFields, MedicationEditor } from './chunk-EBKE4DLU.js';
152
- export { ALLERGY_TYPE_LABELS, AllergyList, AllergyManager, CodeLookupProvider, MEDICATION_STATUS_LABELS, MedicationEditor, MedicationList, MedicationReconciliation, RowActionToolbar, RowIconButton, labelToMedicationFields, lookupToMedicationFields, parseMedicationLabel, parseSig, toolbarKeyNav, useCodeLookupConfig } from './chunk-EBKE4DLU.js';
153
- import { Tooltip } from './chunk-7X6R3JIA.js';
154
- export { Tooltip } from './chunk-7X6R3JIA.js';
151
+ import { useCodeLookupConfig, RowActionToolbar, RowIconButton, toolbarKeyNav, parseSig, labelToMedicationFields, MedicationEditor } from './chunk-VYNFJVRZ.js';
152
+ export { ALLERGY_TYPE_LABELS, AllergyList, AllergyManager, CodeLookupProvider, MEDICATION_STATUS_LABELS, MedicationEditor, MedicationList, MedicationReconciliation, RowActionToolbar, RowIconButton, labelToMedicationFields, lookupToMedicationFields, parseMedicationLabel, parseSig, toolbarKeyNav, useCodeLookupConfig } from './chunk-VYNFJVRZ.js';
153
+ import { Tooltip } from './chunk-YFWDS6MX.js';
154
+ export { Tooltip } from './chunk-YFWDS6MX.js';
155
155
  import { RadioGroup, Radio } from './chunk-EPSB4WTL.js';
156
156
  export { Radio, RadioGroup, radioVariants } from './chunk-EPSB4WTL.js';
157
157
  import { Label } from './chunk-I3WGZPI6.js';