@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.js CHANGED
@@ -23427,9 +23427,9 @@ function OrderSidebar({
23427
23427
  const getPriorityColor = () => {
23428
23428
  switch (priority) {
23429
23429
  case "stat":
23430
- return "text-red-600 dark:text-red-400";
23430
+ return "text-red-700 dark:text-red-400";
23431
23431
  case "urgent":
23432
- return "text-orange-600 dark:text-orange-400";
23432
+ return "text-orange-700 dark:text-orange-400";
23433
23433
  default:
23434
23434
  return "text-muted-foreground";
23435
23435
  }
@@ -23446,7 +23446,7 @@ function OrderSidebar({
23446
23446
  }
23447
23447
  ),
23448
23448
  /* @__PURE__ */ jsxs(
23449
- "aside",
23449
+ "div",
23450
23450
  {
23451
23451
  "data-slot": "order-sidebar",
23452
23452
  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}`,
@@ -23519,48 +23519,46 @@ function OrderSidebar({
23519
23519
  ]
23520
23520
  }
23521
23521
  ),
23522
- /* @__PURE__ */ jsxs("dl", { "data-slot": "order-sidebar-details", className: "space-y-4", children: [
23523
- patientName && /* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", children: [
23524
- /* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Patient" }),
23525
- /* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: patientName })
23526
- ] }),
23527
- employerName && /* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", children: [
23528
- /* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Employer" }),
23529
- /* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: employerName })
23530
- ] }),
23531
- serviceName && /* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", children: [
23532
- /* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Service" }),
23533
- /* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: serviceName })
23534
- ] }),
23535
- /* @__PURE__ */ jsxs(
23536
- "div",
23537
- {
23538
- "data-slot": "order-sidebar-detail",
23539
- className: "grid grid-cols-2 gap-4",
23540
- children: [
23541
- /* @__PURE__ */ jsxs("div", { children: [
23542
- /* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Created" }),
23543
- /* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: formatDate4(createdAt) })
23544
- ] }),
23545
- /* @__PURE__ */ jsxs("div", { children: [
23546
- /* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Scheduled" }),
23547
- /* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: formatDate4(scheduledDate) })
23548
- ] })
23549
- ]
23550
- }
23551
- ),
23552
- notes && /* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", children: [
23553
- /* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Notes" }),
23554
- /* @__PURE__ */ jsx(
23555
- "dd",
23556
- {
23557
- "data-slot": "order-sidebar-notes",
23558
- className: "text-muted-foreground mt-1 rounded-lg bg-gray-50 p-3 text-sm dark:bg-gray-800",
23559
- children: notes
23560
- }
23561
- )
23562
- ] })
23563
- ] }),
23522
+ /* @__PURE__ */ jsxs(
23523
+ "dl",
23524
+ {
23525
+ "data-slot": "order-sidebar-details",
23526
+ className: "grid grid-cols-2 gap-4",
23527
+ children: [
23528
+ patientName && /* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", className: "col-span-2", children: [
23529
+ /* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Patient" }),
23530
+ /* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: patientName })
23531
+ ] }),
23532
+ employerName && /* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", className: "col-span-2", children: [
23533
+ /* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Employer" }),
23534
+ /* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: employerName })
23535
+ ] }),
23536
+ serviceName && /* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", className: "col-span-2", children: [
23537
+ /* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Service" }),
23538
+ /* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: serviceName })
23539
+ ] }),
23540
+ /* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", children: [
23541
+ /* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Created" }),
23542
+ /* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: formatDate4(createdAt) })
23543
+ ] }),
23544
+ /* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", children: [
23545
+ /* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Scheduled" }),
23546
+ /* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: formatDate4(scheduledDate) })
23547
+ ] }),
23548
+ notes && /* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", className: "col-span-2", children: [
23549
+ /* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Notes" }),
23550
+ /* @__PURE__ */ jsx(
23551
+ "dd",
23552
+ {
23553
+ "data-slot": "order-sidebar-notes",
23554
+ className: "text-muted-foreground mt-1 rounded-lg bg-gray-50 p-3 text-sm dark:bg-gray-800",
23555
+ children: notes
23556
+ }
23557
+ )
23558
+ ] })
23559
+ ]
23560
+ }
23561
+ ),
23564
23562
  children && /* @__PURE__ */ jsx("div", { className: "mt-6", children })
23565
23563
  ]
23566
23564
  }