@mieweb/ui 0.3.0-dev.74 → 0.3.0-dev.75

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.cjs CHANGED
@@ -23420,9 +23420,9 @@ function OrderSidebar({
23420
23420
  const getPriorityColor = () => {
23421
23421
  switch (priority) {
23422
23422
  case "stat":
23423
- return "text-red-600 dark:text-red-400";
23423
+ return "text-red-700 dark:text-red-400";
23424
23424
  case "urgent":
23425
- return "text-orange-600 dark:text-orange-400";
23425
+ return "text-orange-700 dark:text-orange-400";
23426
23426
  default:
23427
23427
  return "text-muted-foreground";
23428
23428
  }
@@ -23439,7 +23439,7 @@ function OrderSidebar({
23439
23439
  }
23440
23440
  ),
23441
23441
  /* @__PURE__ */ jsxRuntime.jsxs(
23442
- "aside",
23442
+ "div",
23443
23443
  {
23444
23444
  "data-slot": "order-sidebar",
23445
23445
  className: `fixed top-0 right-0 z-50 h-full w-full max-w-md translate-x-0 transform bg-white shadow-xl transition-transform duration-300 dark:bg-gray-900 ${className}`,
@@ -23512,48 +23512,46 @@ function OrderSidebar({
23512
23512
  ]
23513
23513
  }
23514
23514
  ),
23515
- /* @__PURE__ */ jsxRuntime.jsxs("dl", { "data-slot": "order-sidebar-details", className: "space-y-4", children: [
23516
- patientName && /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "order-sidebar-detail", children: [
23517
- /* @__PURE__ */ jsxRuntime.jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Patient" }),
23518
- /* @__PURE__ */ jsxRuntime.jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: patientName })
23519
- ] }),
23520
- employerName && /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "order-sidebar-detail", children: [
23521
- /* @__PURE__ */ jsxRuntime.jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Employer" }),
23522
- /* @__PURE__ */ jsxRuntime.jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: employerName })
23523
- ] }),
23524
- serviceName && /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "order-sidebar-detail", children: [
23525
- /* @__PURE__ */ jsxRuntime.jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Service" }),
23526
- /* @__PURE__ */ jsxRuntime.jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: serviceName })
23527
- ] }),
23528
- /* @__PURE__ */ jsxRuntime.jsxs(
23529
- "div",
23530
- {
23531
- "data-slot": "order-sidebar-detail",
23532
- className: "grid grid-cols-2 gap-4",
23533
- children: [
23534
- /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
23535
- /* @__PURE__ */ jsxRuntime.jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Created" }),
23536
- /* @__PURE__ */ jsxRuntime.jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: formatDate4(createdAt) })
23537
- ] }),
23538
- /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
23539
- /* @__PURE__ */ jsxRuntime.jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Scheduled" }),
23540
- /* @__PURE__ */ jsxRuntime.jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: formatDate4(scheduledDate) })
23541
- ] })
23542
- ]
23543
- }
23544
- ),
23545
- notes && /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "order-sidebar-detail", children: [
23546
- /* @__PURE__ */ jsxRuntime.jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Notes" }),
23547
- /* @__PURE__ */ jsxRuntime.jsx(
23548
- "dd",
23549
- {
23550
- "data-slot": "order-sidebar-notes",
23551
- className: "text-muted-foreground mt-1 rounded-lg bg-gray-50 p-3 text-sm dark:bg-gray-800",
23552
- children: notes
23553
- }
23554
- )
23555
- ] })
23556
- ] }),
23515
+ /* @__PURE__ */ jsxRuntime.jsxs(
23516
+ "dl",
23517
+ {
23518
+ "data-slot": "order-sidebar-details",
23519
+ className: "grid grid-cols-2 gap-4",
23520
+ children: [
23521
+ patientName && /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "order-sidebar-detail", className: "col-span-2", children: [
23522
+ /* @__PURE__ */ jsxRuntime.jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Patient" }),
23523
+ /* @__PURE__ */ jsxRuntime.jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: patientName })
23524
+ ] }),
23525
+ employerName && /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "order-sidebar-detail", className: "col-span-2", children: [
23526
+ /* @__PURE__ */ jsxRuntime.jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Employer" }),
23527
+ /* @__PURE__ */ jsxRuntime.jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: employerName })
23528
+ ] }),
23529
+ serviceName && /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "order-sidebar-detail", className: "col-span-2", children: [
23530
+ /* @__PURE__ */ jsxRuntime.jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Service" }),
23531
+ /* @__PURE__ */ jsxRuntime.jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: serviceName })
23532
+ ] }),
23533
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "order-sidebar-detail", children: [
23534
+ /* @__PURE__ */ jsxRuntime.jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Created" }),
23535
+ /* @__PURE__ */ jsxRuntime.jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: formatDate4(createdAt) })
23536
+ ] }),
23537
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "order-sidebar-detail", children: [
23538
+ /* @__PURE__ */ jsxRuntime.jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Scheduled" }),
23539
+ /* @__PURE__ */ jsxRuntime.jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: formatDate4(scheduledDate) })
23540
+ ] }),
23541
+ notes && /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "order-sidebar-detail", className: "col-span-2", children: [
23542
+ /* @__PURE__ */ jsxRuntime.jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Notes" }),
23543
+ /* @__PURE__ */ jsxRuntime.jsx(
23544
+ "dd",
23545
+ {
23546
+ "data-slot": "order-sidebar-notes",
23547
+ className: "text-muted-foreground mt-1 rounded-lg bg-gray-50 p-3 text-sm dark:bg-gray-800",
23548
+ children: notes
23549
+ }
23550
+ )
23551
+ ] })
23552
+ ]
23553
+ }
23554
+ ),
23557
23555
  children && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-6", children })
23558
23556
  ]
23559
23557
  }