@mieweb/ui 0.11.0-dev.22 → 0.11.0-dev.24

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 (46) hide show
  1. package/dist/{chunk-N6XBE47W.js → chunk-3E7C5N2G.js} +3 -3
  2. package/dist/{chunk-N6XBE47W.js.map → chunk-3E7C5N2G.js.map} +1 -1
  3. package/dist/{chunk-XWNTCOC7.cjs → chunk-4W3QJWG2.cjs} +18 -2
  4. package/dist/chunk-4W3QJWG2.cjs.map +1 -0
  5. package/dist/{chunk-BSDBI6H7.cjs → chunk-BUN6RUJ5.cjs} +100 -8
  6. package/dist/chunk-BUN6RUJ5.cjs.map +1 -0
  7. package/dist/{chunk-H3YO5GBM.js → chunk-CPG7SDON.js} +100 -8
  8. package/dist/chunk-CPG7SDON.js.map +1 -0
  9. package/dist/{chunk-UQPNO5YC.js → chunk-GTZUG646.js} +4 -4
  10. package/dist/{chunk-UQPNO5YC.js.map → chunk-GTZUG646.js.map} +1 -1
  11. package/dist/{chunk-GFP3BUVC.cjs → chunk-HKLTJYRU.cjs} +7 -7
  12. package/dist/{chunk-GFP3BUVC.cjs.map → chunk-HKLTJYRU.cjs.map} +1 -1
  13. package/dist/{chunk-5EOW6AP3.js → chunk-IYY7NKA3.js} +97 -19
  14. package/dist/chunk-IYY7NKA3.js.map +1 -0
  15. package/dist/{chunk-MC467GS4.js → chunk-V43ZWRBT.js} +18 -2
  16. package/dist/chunk-V43ZWRBT.js.map +1 -0
  17. package/dist/{chunk-7BA7ENN5.cjs → chunk-VEPARPUE.cjs} +97 -19
  18. package/dist/chunk-VEPARPUE.cjs.map +1 -0
  19. package/dist/{chunk-5VA2HJ5B.cjs → chunk-ZWKC4JML.cjs} +9 -9
  20. package/dist/{chunk-5VA2HJ5B.cjs.map → chunk-ZWKC4JML.cjs.map} +1 -1
  21. package/dist/components/EmailEditor/index.cjs +12 -12
  22. package/dist/components/EmailEditor/index.js +3 -3
  23. package/dist/components/RichTextEditor/index.cjs +4 -4
  24. package/dist/components/RichTextEditor/index.d.cts +14 -0
  25. package/dist/components/RichTextEditor/index.d.ts +14 -0
  26. package/dist/components/RichTextEditor/index.js +1 -1
  27. package/dist/components/Textarea/index.cjs +3 -3
  28. package/dist/components/Textarea/index.d.cts +7 -1
  29. package/dist/components/Textarea/index.d.ts +7 -1
  30. package/dist/components/Textarea/index.js +1 -1
  31. package/dist/esheet.cjs +5 -5
  32. package/dist/esheet.js +2 -2
  33. package/dist/index.cjs +64 -64
  34. package/dist/index.d.cts +21 -1
  35. package/dist/index.d.ts +21 -1
  36. package/dist/index.js +7 -7
  37. package/dist/styles.css +1 -1
  38. package/dist/tailwind-preset.cjs +4 -4
  39. package/dist/tailwind-preset.js +1 -1
  40. package/package.json +1 -1
  41. package/dist/chunk-5EOW6AP3.js.map +0 -1
  42. package/dist/chunk-7BA7ENN5.cjs.map +0 -1
  43. package/dist/chunk-BSDBI6H7.cjs.map +0 -1
  44. package/dist/chunk-H3YO5GBM.js.map +0 -1
  45. package/dist/chunk-MC467GS4.js.map +0 -1
  46. package/dist/chunk-XWNTCOC7.cjs.map +0 -1
package/dist/index.cjs CHANGED
@@ -82,10 +82,10 @@ var chunkNGSDBWKA_cjs = require('./chunk-NGSDBWKA.cjs');
82
82
  var chunk56C7K4MV_cjs = require('./chunk-56C7K4MV.cjs');
83
83
  var chunkBWSZ2BHJ_cjs = require('./chunk-BWSZ2BHJ.cjs');
84
84
  var chunkRS5VA6QU_cjs = require('./chunk-RS5VA6QU.cjs');
85
- var chunkGFP3BUVC_cjs = require('./chunk-GFP3BUVC.cjs');
85
+ var chunkHKLTJYRU_cjs = require('./chunk-HKLTJYRU.cjs');
86
86
  require('./chunk-BXRQ6HEP.cjs');
87
87
  var chunkS7AMZ4RD_cjs = require('./chunk-S7AMZ4RD.cjs');
88
- var chunk7BA7ENN5_cjs = require('./chunk-7BA7ENN5.cjs');
88
+ var chunkVEPARPUE_cjs = require('./chunk-VEPARPUE.cjs');
89
89
  var chunkYP5T6NZD_cjs = require('./chunk-YP5T6NZD.cjs');
90
90
  var chunkPLMXN23Q_cjs = require('./chunk-PLMXN23Q.cjs');
91
91
  require('./chunk-ZNUMOJOI.cjs');
@@ -121,7 +121,7 @@ var chunk7WJ6MBF5_cjs = require('./chunk-7WJ6MBF5.cjs');
121
121
  require('./chunk-AT732HC6.cjs');
122
122
  var chunkL7YQBSEL_cjs = require('./chunk-L7YQBSEL.cjs');
123
123
  var chunkC7RVKV25_cjs = require('./chunk-C7RVKV25.cjs');
124
- var chunkXWNTCOC7_cjs = require('./chunk-XWNTCOC7.cjs');
124
+ var chunk4W3QJWG2_cjs = require('./chunk-4W3QJWG2.cjs');
125
125
  var chunkPRGQVUMU_cjs = require('./chunk-PRGQVUMU.cjs');
126
126
  require('./chunk-P22YCUVM.cjs');
127
127
  var chunkQ3YVLO52_cjs = require('./chunk-Q3YVLO52.cjs');
@@ -129,12 +129,12 @@ var chunkGKDHMNUA_cjs = require('./chunk-GKDHMNUA.cjs');
129
129
  var chunk4NCDU5IG_cjs = require('./chunk-4NCDU5IG.cjs');
130
130
  var chunkXXVUHLQN_cjs = require('./chunk-XXVUHLQN.cjs');
131
131
  var chunkRI56YPED_cjs = require('./chunk-RI56YPED.cjs');
132
- var chunk5VA2HJ5B_cjs = require('./chunk-5VA2HJ5B.cjs');
132
+ var chunkZWKC4JML_cjs = require('./chunk-ZWKC4JML.cjs');
133
133
  var chunkGLG6UE2H_cjs = require('./chunk-GLG6UE2H.cjs');
134
134
  var chunkG7EQ3JPX_cjs = require('./chunk-G7EQ3JPX.cjs');
135
135
  var chunkAIJAFPGJ_cjs = require('./chunk-AIJAFPGJ.cjs');
136
136
  var chunkPHUTJKHL_cjs = require('./chunk-PHUTJKHL.cjs');
137
- var chunkBSDBI6H7_cjs = require('./chunk-BSDBI6H7.cjs');
137
+ var chunkBUN6RUJ5_cjs = require('./chunk-BUN6RUJ5.cjs');
138
138
  var chunkUPWIJC6I_cjs = require('./chunk-UPWIJC6I.cjs');
139
139
  var chunkMJWFNV3L_cjs = require('./chunk-MJWFNV3L.cjs');
140
140
  var chunkLC3JL2HB_cjs = require('./chunk-LC3JL2HB.cjs');
@@ -7033,8 +7033,8 @@ function ConcernRow({
7033
7033
  ]
7034
7034
  }
7035
7035
  ),
7036
- !readOnly && /* @__PURE__ */ jsxRuntime.jsx(chunk5VA2HJ5B_cjs.RowActionToolbar, { label: `Actions for ${current.text}`, align: "top", children: visibleActions.map((action) => /* @__PURE__ */ jsxRuntime.jsx(
7037
- chunk5VA2HJ5B_cjs.RowIconButton,
7036
+ !readOnly && /* @__PURE__ */ jsxRuntime.jsx(chunkZWKC4JML_cjs.RowActionToolbar, { label: `Actions for ${current.text}`, align: "top", children: visibleActions.map((action) => /* @__PURE__ */ jsxRuntime.jsx(
7037
+ chunkZWKC4JML_cjs.RowIconButton,
7038
7038
  {
7039
7039
  label: ACTION_META[action].label,
7040
7040
  icon: ACTION_META[action].icon,
@@ -7461,13 +7461,13 @@ function OrderRow({
7461
7461
  ) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
7462
7462
  /* @__PURE__ */ jsxRuntime.jsx(OrderContent, { order }),
7463
7463
  interactive && /* @__PURE__ */ jsxRuntime.jsxs(
7464
- chunk5VA2HJ5B_cjs.RowActionToolbar,
7464
+ chunkZWKC4JML_cjs.RowActionToolbar,
7465
7465
  {
7466
7466
  label: `Actions for ${order.display}`,
7467
7467
  group: "order",
7468
7468
  children: [
7469
7469
  canEdit && /* @__PURE__ */ jsxRuntime.jsx(
7470
- chunk5VA2HJ5B_cjs.RowIconButton,
7470
+ chunkZWKC4JML_cjs.RowIconButton,
7471
7471
  {
7472
7472
  label: "Edit",
7473
7473
  icon: chunkL7L5S2HO_cjs.Pencil,
@@ -7535,7 +7535,7 @@ function OrderRow({
7535
7535
  }
7536
7536
  ),
7537
7537
  controls?.remove && /* @__PURE__ */ jsxRuntime.jsx(
7538
- chunk5VA2HJ5B_cjs.RowIconButton,
7538
+ chunkZWKC4JML_cjs.RowIconButton,
7539
7539
  {
7540
7540
  label: "Remove",
7541
7541
  icon: chunkL7L5S2HO_cjs.Trash2,
@@ -7724,7 +7724,7 @@ var Assessment = React13__namespace.forwardRef(
7724
7724
  if (addMode !== "auto") setPendingFreeText(null);
7725
7725
  }, [addMode]);
7726
7726
  const [announcement, setAnnouncement] = chunkCPDNX3LS_cjs.useLiveAnnouncement();
7727
- const ambientCodeLookup = chunk5VA2HJ5B_cjs.useCodeLookupConfig();
7727
+ const ambientCodeLookup = chunkZWKC4JML_cjs.useCodeLookupConfig();
7728
7728
  const effectiveRenderOrderSearch = renderOrderSearch === false ? void 0 : renderOrderSearch ?? (ambientCodeLookup ? contextOrderSearch(ambientCodeLookup) : void 0);
7729
7729
  const concernById = React13__namespace.useMemo(
7730
7730
  () => new Map(concerns.map((c) => [c.concernId, c])),
@@ -7982,7 +7982,7 @@ var Assessment = React13__namespace.forwardRef(
7982
7982
  assertion.verificationStatus !== "confirmed" && /* @__PURE__ */ jsxRuntime.jsx(chunk7E46YDOT_cjs.Badge, { variant: "warning", size: "sm", children: assertion.verificationStatus }),
7983
7983
  /* @__PURE__ */ jsxRuntime.jsx(CodingChips, { coding: assertion.coding }),
7984
7984
  !readOnly && showConcernToolbar && /* @__PURE__ */ jsxRuntime.jsxs(
7985
- chunk5VA2HJ5B_cjs.RowActionToolbar,
7985
+ chunkZWKC4JML_cjs.RowActionToolbar,
7986
7986
  {
7987
7987
  label: `Actions for ${assertion.text}`,
7988
7988
  align: "top",
@@ -7996,7 +7996,7 @@ var Assessment = React13__namespace.forwardRef(
7996
7996
  toolbarActions.map((action) => {
7997
7997
  const meta = ACTION_META2[action];
7998
7998
  return /* @__PURE__ */ jsxRuntime.jsx(
7999
- chunk5VA2HJ5B_cjs.RowIconButton,
7999
+ chunkZWKC4JML_cjs.RowIconButton,
8000
8000
  {
8001
8001
  label: meta.label,
8002
8002
  icon: meta.icon,
@@ -8017,7 +8017,7 @@ var Assessment = React13__namespace.forwardRef(
8017
8017
  );
8018
8018
  }),
8019
8019
  rowActions.includes("remove") && onRemoveAssessment && /* @__PURE__ */ jsxRuntime.jsx(
8020
- chunk5VA2HJ5B_cjs.RowIconButton,
8020
+ chunkZWKC4JML_cjs.RowIconButton,
8021
8021
  {
8022
8022
  label: `Remove ${assertion.text} from assessment`,
8023
8023
  icon: chunkL7L5S2HO_cjs.Trash2,
@@ -11780,7 +11780,7 @@ function ConditionEditor({
11780
11780
  "data-testid": dataTestId
11781
11781
  }) {
11782
11782
  const prior = concern ? currentAssertion(concern) : void 0;
11783
- const ambientCodeLookup = chunk5VA2HJ5B_cjs.useCodeLookupConfig();
11783
+ const ambientCodeLookup = chunkZWKC4JML_cjs.useCodeLookupConfig();
11784
11784
  const effectiveRenderCodeSearch = renderCodeSearch === false ? void 0 : renderCodeSearch ?? (ambientCodeLookup ? contextConditionCodeSearch(ambientCodeLookup) : void 0);
11785
11785
  const [text, setText] = React13__namespace.useState("");
11786
11786
  const [coding, setCoding] = React13__namespace.useState([]);
@@ -11938,7 +11938,7 @@ function ConditionEditor({
11938
11938
  ] }) : mode === "observe" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
11939
11939
  /* @__PURE__ */ jsxRuntime.jsx(ObservationHistory, { concern }),
11940
11940
  /* @__PURE__ */ jsxRuntime.jsx(
11941
- chunkBSDBI6H7_cjs.Textarea,
11941
+ chunkBUN6RUJ5_cjs.Textarea,
11942
11942
  {
11943
11943
  label: "New observation",
11944
11944
  value: observation,
@@ -12239,7 +12239,7 @@ function ConditionEditor({
12239
12239
  ] })
12240
12240
  ] }),
12241
12241
  /* @__PURE__ */ jsxRuntime.jsx(
12242
- chunkBSDBI6H7_cjs.Textarea,
12242
+ chunkBUN6RUJ5_cjs.Textarea,
12243
12243
  {
12244
12244
  label: "Note",
12245
12245
  value: note,
@@ -19333,7 +19333,7 @@ function CreateInvoiceModal({
19333
19333
  }
19334
19334
  ),
19335
19335
  /* @__PURE__ */ jsxRuntime.jsx(
19336
- chunkBSDBI6H7_cjs.Textarea,
19336
+ chunkBUN6RUJ5_cjs.Textarea,
19337
19337
  {
19338
19338
  label: "Notes (Optional)",
19339
19339
  rows: 3,
@@ -19649,7 +19649,7 @@ function CreateReferralModal({
19649
19649
  )) })
19650
19650
  ] }),
19651
19651
  /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
19652
- chunkBSDBI6H7_cjs.Textarea,
19652
+ chunkBUN6RUJ5_cjs.Textarea,
19653
19653
  {
19654
19654
  label: "Notes (Optional)",
19655
19655
  rows: 2,
@@ -20241,7 +20241,7 @@ function EmployeeForm({
20241
20241
  )
20242
20242
  ] }),
20243
20243
  /* @__PURE__ */ jsxRuntime.jsx(
20244
- chunkBSDBI6H7_cjs.Textarea,
20244
+ chunkBUN6RUJ5_cjs.Textarea,
20245
20245
  {
20246
20246
  label: additionalInformation,
20247
20247
  value: additionalInfo,
@@ -23260,7 +23260,7 @@ function HelpSupportPanel({
23260
23260
  }
23261
23261
  ),
23262
23262
  /* @__PURE__ */ jsxRuntime.jsx(
23263
- chunkBSDBI6H7_cjs.Textarea,
23263
+ chunkBUN6RUJ5_cjs.Textarea,
23264
23264
  {
23265
23265
  id: "support-message",
23266
23266
  required: true,
@@ -23994,7 +23994,7 @@ function InventoryManager({
23994
23994
  }
23995
23995
  ),
23996
23996
  /* @__PURE__ */ jsxRuntime.jsx(
23997
- chunkBSDBI6H7_cjs.Textarea,
23997
+ chunkBUN6RUJ5_cjs.Textarea,
23998
23998
  {
23999
23999
  label: "Memo",
24000
24000
  value: updateMemo,
@@ -27654,7 +27654,7 @@ var defaultOrderTabs = [
27654
27654
  { id: "rejected", label: "Rejected", statuses: ["rejected", "cancelled"] }
27655
27655
  ];
27656
27656
  function orderToMedication(order) {
27657
- const sig = order.detail ? chunk5VA2HJ5B_cjs.parseSig(order.detail) : void 0;
27657
+ const sig = order.detail ? chunkZWKC4JML_cjs.parseSig(order.detail) : void 0;
27658
27658
  return {
27659
27659
  id: order.orderId,
27660
27660
  name: order.display,
@@ -27662,7 +27662,7 @@ function orderToMedication(order) {
27662
27662
  status: "unreconciled",
27663
27663
  indication: order.indication,
27664
27664
  pharmacyNotes: order.notes,
27665
- ...chunk5VA2HJ5B_cjs.labelToMedicationFields(order.display),
27665
+ ...chunkZWKC4JML_cjs.labelToMedicationFields(order.display),
27666
27666
  ...sig && {
27667
27667
  route: sig.route,
27668
27668
  frequency: sig.frequency,
@@ -27733,7 +27733,7 @@ function BaseOrderEditor({
27733
27733
  onSave
27734
27734
  }) {
27735
27735
  const config = TYPE_CONFIG[type];
27736
- const ambientCodeLookup = chunk5VA2HJ5B_cjs.useCodeLookupConfig();
27736
+ const ambientCodeLookup = chunkZWKC4JML_cjs.useCodeLookupConfig();
27737
27737
  const effectiveCodeLookup = codeLookup === false ? void 0 : codeLookup ?? ambientCodeLookup ?? void 0;
27738
27738
  const [draft, setDraft] = React13__namespace.useState(
27739
27739
  () => order ?? {
@@ -27854,7 +27854,7 @@ function BaseOrderEditor({
27854
27854
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
27855
27855
  /* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "ord-detail", children: "Instructions" }),
27856
27856
  /* @__PURE__ */ jsxRuntime.jsx(
27857
- chunkBSDBI6H7_cjs.Textarea,
27857
+ chunkBUN6RUJ5_cjs.Textarea,
27858
27858
  {
27859
27859
  id: "ord-detail",
27860
27860
  value: draft.detail ?? "",
@@ -27877,7 +27877,7 @@ function BaseOrderEditor({
27877
27877
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
27878
27878
  /* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "ord-notes", children: type === "referral" ? "Notes to consultant" : "Notes to performer" }),
27879
27879
  /* @__PURE__ */ jsxRuntime.jsx(
27880
- chunkBSDBI6H7_cjs.Textarea,
27880
+ chunkBUN6RUJ5_cjs.Textarea,
27881
27881
  {
27882
27882
  id: "ord-notes",
27883
27883
  value: draft.notes ?? "",
@@ -27932,7 +27932,7 @@ function OrderEditor({
27932
27932
  display: ""
27933
27933
  };
27934
27934
  return /* @__PURE__ */ jsxRuntime.jsx(
27935
- chunk5VA2HJ5B_cjs.MedicationEditor,
27935
+ chunkZWKC4JML_cjs.MedicationEditor,
27936
27936
  {
27937
27937
  open,
27938
27938
  medication: order ? orderToMedication(order) : void 0,
@@ -30588,7 +30588,7 @@ function RelevanceControl({
30588
30588
  {
30589
30589
  role: "toolbar",
30590
30590
  "aria-label": `Relevance for ${labelPrefix}`,
30591
- onKeyDown: chunk5VA2HJ5B_cjs.toolbarKeyNav,
30591
+ onKeyDown: chunkZWKC4JML_cjs.toolbarKeyNav,
30592
30592
  className: "border-border flex shrink-0 items-center overflow-hidden rounded-md border",
30593
30593
  children: RELEVANCE_ORDER.map((relevance) => {
30594
30594
  const active = value === relevance;
@@ -34418,7 +34418,7 @@ function ProviderSettings({
34418
34418
  }
34419
34419
  ),
34420
34420
  /* @__PURE__ */ jsxRuntime.jsx(
34421
- chunkBSDBI6H7_cjs.Textarea,
34421
+ chunkBUN6RUJ5_cjs.Textarea,
34422
34422
  {
34423
34423
  id: "provider-description",
34424
34424
  value: settings.general.description || "",
@@ -36416,7 +36416,7 @@ var ResultsEntryForm = React13__namespace.forwardRef(function ResultsEntryForm2(
36416
36416
  }
36417
36417
  ) }),
36418
36418
  /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
36419
- chunkBSDBI6H7_cjs.Textarea,
36419
+ chunkBUN6RUJ5_cjs.Textarea,
36420
36420
  {
36421
36421
  label: providerRecommendations,
36422
36422
  value: recommendations,
@@ -45255,39 +45255,39 @@ Object.defineProperty(exports, "sheetOverlayVariants", {
45255
45255
  });
45256
45256
  Object.defineProperty(exports, "EMAIL_BLOCK_TYPES", {
45257
45257
  enumerable: true,
45258
- get: function () { return chunkGFP3BUVC_cjs.EMAIL_BLOCK_TYPES; }
45258
+ get: function () { return chunkHKLTJYRU_cjs.EMAIL_BLOCK_TYPES; }
45259
45259
  });
45260
45260
  Object.defineProperty(exports, "EmailEditor", {
45261
45261
  enumerable: true,
45262
- get: function () { return chunkGFP3BUVC_cjs.EmailEditor; }
45262
+ get: function () { return chunkHKLTJYRU_cjs.EmailEditor; }
45263
45263
  });
45264
45264
  Object.defineProperty(exports, "createDefaultDesignSettings", {
45265
45265
  enumerable: true,
45266
- get: function () { return chunkGFP3BUVC_cjs.createDefaultDesignSettings; }
45266
+ get: function () { return chunkHKLTJYRU_cjs.createDefaultDesignSettings; }
45267
45267
  });
45268
45268
  Object.defineProperty(exports, "createEmailBlock", {
45269
45269
  enumerable: true,
45270
- get: function () { return chunkGFP3BUVC_cjs.createEmailBlock; }
45270
+ get: function () { return chunkHKLTJYRU_cjs.createEmailBlock; }
45271
45271
  });
45272
45272
  Object.defineProperty(exports, "createEmailHtmlSanitizer", {
45273
45273
  enumerable: true,
45274
- get: function () { return chunkGFP3BUVC_cjs.createEmailHtmlSanitizer; }
45274
+ get: function () { return chunkHKLTJYRU_cjs.createEmailHtmlSanitizer; }
45275
45275
  });
45276
45276
  Object.defineProperty(exports, "createEmptyEmailContentTree", {
45277
45277
  enumerable: true,
45278
- get: function () { return chunkGFP3BUVC_cjs.createEmptyEmailContentTree; }
45278
+ get: function () { return chunkHKLTJYRU_cjs.createEmptyEmailContentTree; }
45279
45279
  });
45280
45280
  Object.defineProperty(exports, "defaultEmailEditorLabels", {
45281
45281
  enumerable: true,
45282
- get: function () { return chunkGFP3BUVC_cjs.defaultEmailEditorLabels; }
45282
+ get: function () { return chunkHKLTJYRU_cjs.defaultEmailEditorLabels; }
45283
45283
  });
45284
45284
  Object.defineProperty(exports, "generateEmailBlockId", {
45285
45285
  enumerable: true,
45286
- get: function () { return chunkGFP3BUVC_cjs.generateEmailBlockId; }
45286
+ get: function () { return chunkHKLTJYRU_cjs.generateEmailBlockId; }
45287
45287
  });
45288
45288
  Object.defineProperty(exports, "renderEmailMjml", {
45289
45289
  enumerable: true,
45290
- get: function () { return chunkGFP3BUVC_cjs.renderEmailMjml; }
45290
+ get: function () { return chunkHKLTJYRU_cjs.renderEmailMjml; }
45291
45291
  });
45292
45292
  Object.defineProperty(exports, "Tabs", {
45293
45293
  enumerable: true,
@@ -45315,19 +45315,19 @@ Object.defineProperty(exports, "tabsTriggerVariants", {
45315
45315
  });
45316
45316
  Object.defineProperty(exports, "MacroLibrary", {
45317
45317
  enumerable: true,
45318
- get: function () { return chunk7BA7ENN5_cjs.MacroLibrary; }
45318
+ get: function () { return chunkVEPARPUE_cjs.MacroLibrary; }
45319
45319
  });
45320
45320
  Object.defineProperty(exports, "RichTextEditor", {
45321
45321
  enumerable: true,
45322
- get: function () { return chunk7BA7ENN5_cjs.RichTextEditor; }
45322
+ get: function () { return chunkVEPARPUE_cjs.RichTextEditor; }
45323
45323
  });
45324
45324
  Object.defineProperty(exports, "convertAngleBracketsToMustache", {
45325
45325
  enumerable: true,
45326
- get: function () { return chunk7BA7ENN5_cjs.convertAngleBracketsToMustache; }
45326
+ get: function () { return chunkVEPARPUE_cjs.convertAngleBracketsToMustache; }
45327
45327
  });
45328
45328
  Object.defineProperty(exports, "processDictation", {
45329
45329
  enumerable: true,
45330
- get: function () { return chunk7BA7ENN5_cjs.processDictation; }
45330
+ get: function () { return chunkVEPARPUE_cjs.processDictation; }
45331
45331
  });
45332
45332
  Object.defineProperty(exports, "Separator", {
45333
45333
  enumerable: true,
@@ -45835,11 +45835,11 @@ Object.defineProperty(exports, "stripHtmlTags", {
45835
45835
  });
45836
45836
  Object.defineProperty(exports, "miewebUIPreset", {
45837
45837
  enumerable: true,
45838
- get: function () { return chunkXWNTCOC7_cjs.miewebUIPreset; }
45838
+ get: function () { return chunk4W3QJWG2_cjs.miewebUIPreset; }
45839
45839
  });
45840
45840
  Object.defineProperty(exports, "miewebUISafelist", {
45841
45841
  enumerable: true,
45842
- get: function () { return chunkXWNTCOC7_cjs.miewebUISafelist; }
45842
+ get: function () { return chunk4W3QJWG2_cjs.miewebUISafelist; }
45843
45843
  });
45844
45844
  Object.defineProperty(exports, "Accordion", {
45845
45845
  enumerable: true,
@@ -45919,67 +45919,67 @@ Object.defineProperty(exports, "isApplicable", {
45919
45919
  });
45920
45920
  Object.defineProperty(exports, "ALLERGY_TYPE_LABELS", {
45921
45921
  enumerable: true,
45922
- get: function () { return chunk5VA2HJ5B_cjs.ALLERGY_TYPE_LABELS; }
45922
+ get: function () { return chunkZWKC4JML_cjs.ALLERGY_TYPE_LABELS; }
45923
45923
  });
45924
45924
  Object.defineProperty(exports, "AllergyList", {
45925
45925
  enumerable: true,
45926
- get: function () { return chunk5VA2HJ5B_cjs.AllergyList; }
45926
+ get: function () { return chunkZWKC4JML_cjs.AllergyList; }
45927
45927
  });
45928
45928
  Object.defineProperty(exports, "AllergyManager", {
45929
45929
  enumerable: true,
45930
- get: function () { return chunk5VA2HJ5B_cjs.AllergyManager; }
45930
+ get: function () { return chunkZWKC4JML_cjs.AllergyManager; }
45931
45931
  });
45932
45932
  Object.defineProperty(exports, "CodeLookupProvider", {
45933
45933
  enumerable: true,
45934
- get: function () { return chunk5VA2HJ5B_cjs.CodeLookupProvider; }
45934
+ get: function () { return chunkZWKC4JML_cjs.CodeLookupProvider; }
45935
45935
  });
45936
45936
  Object.defineProperty(exports, "MEDICATION_STATUS_LABELS", {
45937
45937
  enumerable: true,
45938
- get: function () { return chunk5VA2HJ5B_cjs.MEDICATION_STATUS_LABELS; }
45938
+ get: function () { return chunkZWKC4JML_cjs.MEDICATION_STATUS_LABELS; }
45939
45939
  });
45940
45940
  Object.defineProperty(exports, "MedicationEditor", {
45941
45941
  enumerable: true,
45942
- get: function () { return chunk5VA2HJ5B_cjs.MedicationEditor; }
45942
+ get: function () { return chunkZWKC4JML_cjs.MedicationEditor; }
45943
45943
  });
45944
45944
  Object.defineProperty(exports, "MedicationList", {
45945
45945
  enumerable: true,
45946
- get: function () { return chunk5VA2HJ5B_cjs.MedicationList; }
45946
+ get: function () { return chunkZWKC4JML_cjs.MedicationList; }
45947
45947
  });
45948
45948
  Object.defineProperty(exports, "MedicationReconciliation", {
45949
45949
  enumerable: true,
45950
- get: function () { return chunk5VA2HJ5B_cjs.MedicationReconciliation; }
45950
+ get: function () { return chunkZWKC4JML_cjs.MedicationReconciliation; }
45951
45951
  });
45952
45952
  Object.defineProperty(exports, "RowActionToolbar", {
45953
45953
  enumerable: true,
45954
- get: function () { return chunk5VA2HJ5B_cjs.RowActionToolbar; }
45954
+ get: function () { return chunkZWKC4JML_cjs.RowActionToolbar; }
45955
45955
  });
45956
45956
  Object.defineProperty(exports, "RowIconButton", {
45957
45957
  enumerable: true,
45958
- get: function () { return chunk5VA2HJ5B_cjs.RowIconButton; }
45958
+ get: function () { return chunkZWKC4JML_cjs.RowIconButton; }
45959
45959
  });
45960
45960
  Object.defineProperty(exports, "labelToMedicationFields", {
45961
45961
  enumerable: true,
45962
- get: function () { return chunk5VA2HJ5B_cjs.labelToMedicationFields; }
45962
+ get: function () { return chunkZWKC4JML_cjs.labelToMedicationFields; }
45963
45963
  });
45964
45964
  Object.defineProperty(exports, "lookupToMedicationFields", {
45965
45965
  enumerable: true,
45966
- get: function () { return chunk5VA2HJ5B_cjs.lookupToMedicationFields; }
45966
+ get: function () { return chunkZWKC4JML_cjs.lookupToMedicationFields; }
45967
45967
  });
45968
45968
  Object.defineProperty(exports, "parseMedicationLabel", {
45969
45969
  enumerable: true,
45970
- get: function () { return chunk5VA2HJ5B_cjs.parseMedicationLabel; }
45970
+ get: function () { return chunkZWKC4JML_cjs.parseMedicationLabel; }
45971
45971
  });
45972
45972
  Object.defineProperty(exports, "parseSig", {
45973
45973
  enumerable: true,
45974
- get: function () { return chunk5VA2HJ5B_cjs.parseSig; }
45974
+ get: function () { return chunkZWKC4JML_cjs.parseSig; }
45975
45975
  });
45976
45976
  Object.defineProperty(exports, "toolbarKeyNav", {
45977
45977
  enumerable: true,
45978
- get: function () { return chunk5VA2HJ5B_cjs.toolbarKeyNav; }
45978
+ get: function () { return chunkZWKC4JML_cjs.toolbarKeyNav; }
45979
45979
  });
45980
45980
  Object.defineProperty(exports, "useCodeLookupConfig", {
45981
45981
  enumerable: true,
45982
- get: function () { return chunk5VA2HJ5B_cjs.useCodeLookupConfig; }
45982
+ get: function () { return chunkZWKC4JML_cjs.useCodeLookupConfig; }
45983
45983
  });
45984
45984
  Object.defineProperty(exports, "Tooltip", {
45985
45985
  enumerable: true,
@@ -46011,11 +46011,11 @@ Object.defineProperty(exports, "DateInput", {
46011
46011
  });
46012
46012
  Object.defineProperty(exports, "Textarea", {
46013
46013
  enumerable: true,
46014
- get: function () { return chunkBSDBI6H7_cjs.Textarea; }
46014
+ get: function () { return chunkBUN6RUJ5_cjs.Textarea; }
46015
46015
  });
46016
46016
  Object.defineProperty(exports, "textareaVariants", {
46017
46017
  enumerable: true,
46018
- get: function () { return chunkBSDBI6H7_cjs.textareaVariants; }
46018
+ get: function () { return chunkBUN6RUJ5_cjs.textareaVariants; }
46019
46019
  });
46020
46020
  Object.defineProperty(exports, "Select", {
46021
46021
  enumerable: true,
package/dist/index.d.cts CHANGED
@@ -15530,6 +15530,20 @@ interface RichTextEditorProps {
15530
15530
  };
15531
15531
  /** Forwarded to the macro panel's "Save as macro" action. */
15532
15532
  onCreateMacro?: () => void;
15533
+ /**
15534
+ * Toolbar visibility. `'hidden'` removes the toolbar entirely for
15535
+ * chromeless surfaces (typed shortcuts keep working; pair with
15536
+ * `markdownShortcuts` so formatting stays reachable). Defaults to
15537
+ * `'visible'` — existing consumers are unchanged.
15538
+ */
15539
+ toolbar?: 'visible' | 'hidden';
15540
+ /**
15541
+ * Expand markdown-style block shortcuts typed at the start of a line and
15542
+ * followed by a space: `#`/`##`/`###` → headings, `-`/`*` → bullet list,
15543
+ * `1.` → numbered list, `>` → block quote. Inline rules (`**bold**`) are
15544
+ * not interpreted. Defaults to false.
15545
+ */
15546
+ markdownShortcuts?: boolean;
15533
15547
  /** Accessible label for the editable region. */
15534
15548
  'aria-label'?: string;
15535
15549
  }
@@ -17882,6 +17896,7 @@ declare const textareaVariants: (props?: ({
17882
17896
  hasError?: boolean | null | undefined;
17883
17897
  resize?: "none" | "both" | "horizontal" | "vertical" | null | undefined;
17884
17898
  labelVariant?: "stacked" | "floating" | null | undefined;
17899
+ autoResize?: boolean | null | undefined;
17885
17900
  } & class_variance_authority_types.ClassProp) | undefined) => string;
17886
17901
  interface TextareaProps extends Omit<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'>, Omit<VariantProps<typeof textareaVariants>, 'labelVariant'> {
17887
17902
  /** Label for the textarea */
@@ -17905,7 +17920,12 @@ interface TextareaProps extends Omit<React$1.TextareaHTMLAttributes<HTMLTextArea
17905
17920
  maxLength?: number;
17906
17921
  /** Show character count */
17907
17922
  showCount?: boolean;
17908
- /** Auto-resize based on content */
17923
+ /**
17924
+ * Grow and shrink with content (default). The empty control matches a
17925
+ * single-line `Input`'s height; `rows` sets a taller growth floor, and
17926
+ * dragging the native resize handle sets a new floor the same way. Set
17927
+ * `false` for a classic fixed-height textarea.
17928
+ */
17909
17929
  autoResize?: boolean;
17910
17930
  /**
17911
17931
  * Color of the required asterisk.
package/dist/index.d.ts CHANGED
@@ -15530,6 +15530,20 @@ interface RichTextEditorProps {
15530
15530
  };
15531
15531
  /** Forwarded to the macro panel's "Save as macro" action. */
15532
15532
  onCreateMacro?: () => void;
15533
+ /**
15534
+ * Toolbar visibility. `'hidden'` removes the toolbar entirely for
15535
+ * chromeless surfaces (typed shortcuts keep working; pair with
15536
+ * `markdownShortcuts` so formatting stays reachable). Defaults to
15537
+ * `'visible'` — existing consumers are unchanged.
15538
+ */
15539
+ toolbar?: 'visible' | 'hidden';
15540
+ /**
15541
+ * Expand markdown-style block shortcuts typed at the start of a line and
15542
+ * followed by a space: `#`/`##`/`###` → headings, `-`/`*` → bullet list,
15543
+ * `1.` → numbered list, `>` → block quote. Inline rules (`**bold**`) are
15544
+ * not interpreted. Defaults to false.
15545
+ */
15546
+ markdownShortcuts?: boolean;
15533
15547
  /** Accessible label for the editable region. */
15534
15548
  'aria-label'?: string;
15535
15549
  }
@@ -17882,6 +17896,7 @@ declare const textareaVariants: (props?: ({
17882
17896
  hasError?: boolean | null | undefined;
17883
17897
  resize?: "none" | "both" | "horizontal" | "vertical" | null | undefined;
17884
17898
  labelVariant?: "stacked" | "floating" | null | undefined;
17899
+ autoResize?: boolean | null | undefined;
17885
17900
  } & class_variance_authority_types.ClassProp) | undefined) => string;
17886
17901
  interface TextareaProps extends Omit<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'>, Omit<VariantProps<typeof textareaVariants>, 'labelVariant'> {
17887
17902
  /** Label for the textarea */
@@ -17905,7 +17920,12 @@ interface TextareaProps extends Omit<React$1.TextareaHTMLAttributes<HTMLTextArea
17905
17920
  maxLength?: number;
17906
17921
  /** Show character count */
17907
17922
  showCount?: boolean;
17908
- /** Auto-resize based on content */
17923
+ /**
17924
+ * Grow and shrink with content (default). The empty control matches a
17925
+ * single-line `Input`'s height; `rows` sets a taller growth floor, and
17926
+ * dragging the native resize handle sets a new floor the same way. Set
17927
+ * `false` for a classic fixed-height textarea.
17928
+ */
17909
17929
  autoResize?: boolean;
17910
17930
  /**
17911
17931
  * Color of the required asterisk.
package/dist/index.js CHANGED
@@ -92,11 +92,11 @@ import { CountryDropdownBase } from './chunk-OTIKWEFZ.js';
92
92
  export { CountryCodeDropdown, formatE164, validatePhoneNumber } from './chunk-OTIKWEFZ.js';
93
93
  export { CustomizableDashboard, DashboardCustomizePanel, consolidateColumns, mergeColumnOrder, moveAcrossColumns, reorderOnDrop, requiredColumns } from './chunk-F6W62K4J.js';
94
94
  export { Sheet, SheetBody, SheetClose, SheetDescription, SheetFooter, SheetHeader, SheetTitle, sheetContentVariants, sheetOverlayVariants } from './chunk-LMBXJZLG.js';
95
- export { EMAIL_BLOCK_TYPES, EmailEditor, createDefaultDesignSettings, createEmailBlock, createEmailHtmlSanitizer, createEmptyEmailContentTree, defaultEmailEditorLabels, generateEmailBlockId, renderEmailMjml } from './chunk-UQPNO5YC.js';
95
+ export { EMAIL_BLOCK_TYPES, EmailEditor, createDefaultDesignSettings, createEmailBlock, createEmailHtmlSanitizer, createEmptyEmailContentTree, defaultEmailEditorLabels, generateEmailBlockId, renderEmailMjml } from './chunk-GTZUG646.js';
96
96
  import './chunk-XBAAHOCP.js';
97
97
  import { Tabs, TabsList, TabsTrigger, TabsContent } from './chunk-ME7EVT6F.js';
98
98
  export { Tabs, TabsContent, TabsList, TabsTrigger, tabsListVariants, tabsTriggerVariants } from './chunk-ME7EVT6F.js';
99
- export { MacroLibrary, RichTextEditor, convertAngleBracketsToMustache, processDictation } from './chunk-5EOW6AP3.js';
99
+ export { MacroLibrary, RichTextEditor, convertAngleBracketsToMustache, processDictation } from './chunk-IYY7NKA3.js';
100
100
  export { Separator, separatorVariants } from './chunk-OQWZYKJM.js';
101
101
  import { Switch, switchThumbVariants, switchTrackVariants } from './chunk-AQ564XO7.js';
102
102
  export { Switch, switchThumbVariants, switchTrackVariants } from './chunk-AQ564XO7.js';
@@ -140,7 +140,7 @@ export { useUrlTab } from './chunk-CVNPNZMX.js';
140
140
  import './chunk-7XUN3OQT.js';
141
141
  export { formatPhoneNumber, isPhoneNumberEmpty, isValidPhoneNumber, unformatPhoneNumber } from './chunk-ZVPJ2MH6.js';
142
142
  export { isHtmlEmpty, stripHtmlTags } from './chunk-ERLPVXOV.js';
143
- export { miewebUIPreset, miewebUISafelist } from './chunk-MC467GS4.js';
143
+ export { miewebUIPreset, miewebUISafelist } from './chunk-V43ZWRBT.js';
144
144
  export { Accordion } from './chunk-BHKGVFTY.js';
145
145
  import './chunk-H2Y7HZV5.js';
146
146
  export { AvatarGroup, defaultAvatarGroupLabels } from './chunk-DVDT7TX7.js';
@@ -151,8 +151,8 @@ import { Spinner, SpinnerWithLabel } from './chunk-UA7E7PDS.js';
151
151
  export { FullPageSpinner, Spinner, SpinnerWithLabel, spinnerVariants } from './chunk-UA7E7PDS.js';
152
152
  import { evaluateDue, completedKeys, normalizeOrders } from './chunk-Y5KEFV5O.js';
153
153
  export { buildChartOrderRows, buildEncounterOrderRows, dueForOrder, evaluateDue, evaluateProgram, isApplicable } from './chunk-Y5KEFV5O.js';
154
- import { useCodeLookupConfig, RowActionToolbar, RowIconButton, toolbarKeyNav, parseSig, labelToMedicationFields, MedicationEditor } from './chunk-N6XBE47W.js';
155
- export { ALLERGY_TYPE_LABELS, AllergyList, AllergyManager, CodeLookupProvider, MEDICATION_STATUS_LABELS, MedicationEditor, MedicationList, MedicationReconciliation, RowActionToolbar, RowIconButton, labelToMedicationFields, lookupToMedicationFields, parseMedicationLabel, parseSig, toolbarKeyNav, useCodeLookupConfig } from './chunk-N6XBE47W.js';
154
+ import { useCodeLookupConfig, RowActionToolbar, RowIconButton, toolbarKeyNav, parseSig, labelToMedicationFields, MedicationEditor } from './chunk-3E7C5N2G.js';
155
+ export { ALLERGY_TYPE_LABELS, AllergyList, AllergyManager, CodeLookupProvider, MEDICATION_STATUS_LABELS, MedicationEditor, MedicationList, MedicationReconciliation, RowActionToolbar, RowIconButton, labelToMedicationFields, lookupToMedicationFields, parseMedicationLabel, parseSig, toolbarKeyNav, useCodeLookupConfig } from './chunk-3E7C5N2G.js';
156
156
  import { Tooltip } from './chunk-YFWDS6MX.js';
157
157
  export { Tooltip } from './chunk-YFWDS6MX.js';
158
158
  import { RadioGroup, Radio } from './chunk-EPSB4WTL.js';
@@ -161,8 +161,8 @@ import { Label } from './chunk-I3WGZPI6.js';
161
161
  export { Label, labelVariants } from './chunk-I3WGZPI6.js';
162
162
  import { DateInput } from './chunk-I6Y2KLTZ.js';
163
163
  export { DateInput } from './chunk-I6Y2KLTZ.js';
164
- import { Textarea } from './chunk-H3YO5GBM.js';
165
- export { Textarea, textareaVariants } from './chunk-H3YO5GBM.js';
164
+ import { Textarea } from './chunk-CPG7SDON.js';
165
+ export { Textarea, textareaVariants } from './chunk-CPG7SDON.js';
166
166
  import { Select } from './chunk-VCI2Y7ST.js';
167
167
  export { Select, selectTriggerVariants } from './chunk-VCI2Y7ST.js';
168
168
  import { Card, CardHeader, CardContent, CardTitle } from './chunk-QYSUYB3S.js';