@mlw-packages/react-components 1.4.8 → 1.5.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.
package/dist/index.js CHANGED
@@ -591,6 +591,7 @@ __export(index_exports, {
591
591
  InputOTPGroupBase: () => InputOTPGroupBase,
592
592
  InputOTPSeparatorBase: () => InputOTPSeparatorBase,
593
593
  InputOTPSlotBase: () => InputOTPSlotBase,
594
+ LabelBase: () => LabelBase_default,
594
595
  ModeToggleBase: () => ModeToggleBase,
595
596
  MultiCombobox: () => MultiCombobox,
596
597
  NavigationMenuBase: () => NavigationMenuBase,
@@ -1140,7 +1141,7 @@ function BadgeBase({
1140
1141
 
1141
1142
  // src/components/ui/BreadcrumbBase.tsx
1142
1143
  var import_react_slot3 = require("@radix-ui/react-slot");
1143
- var import_phosphor_react = require("phosphor-react");
1144
+ var import_react = require("@phosphor-icons/react");
1144
1145
  var import_jsx_runtime5 = require("react/jsx-runtime");
1145
1146
  function BreadcrumbBase({ ...props }) {
1146
1147
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...props });
@@ -1209,7 +1210,7 @@ function BreadcrumbSeparatorBase({
1209
1210
  "aria-hidden": "true",
1210
1211
  className: cn("[&>svg]:size-3.5", className),
1211
1212
  ...props,
1212
- children: children ?? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_phosphor_react.CaretRight, {})
1213
+ children: children ?? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_react.CaretRight, {})
1213
1214
  }
1214
1215
  );
1215
1216
  }
@@ -1226,7 +1227,7 @@ function BreadcrumbEllipsisBase({
1226
1227
  className: cn("flex size-9 items-center justify-center", className),
1227
1228
  ...props,
1228
1229
  children: [
1229
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_phosphor_react.DotsThree, { className: "size-4" }),
1230
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_react.DotsThree, { className: "size-4" }),
1230
1231
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "sr-only", children: "More" })
1231
1232
  ]
1232
1233
  }
@@ -1234,7 +1235,7 @@ function BreadcrumbEllipsisBase({
1234
1235
  }
1235
1236
 
1236
1237
  // src/components/ui/CalendarBase.tsx
1237
- var import_phosphor_react2 = require("phosphor-react");
1238
+ var import_react2 = require("@phosphor-icons/react");
1238
1239
  var import_react_day_picker = require("react-day-picker");
1239
1240
  var import_jsx_runtime6 = require("react/jsx-runtime");
1240
1241
  function CalendarBase({
@@ -1279,8 +1280,8 @@ function CalendarBase({
1279
1280
  ...classNames
1280
1281
  },
1281
1282
  components: {
1282
- IconLeft: () => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.CaretLeft, { className: "h-4 w-4" }),
1283
- IconRight: () => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.CaretRight, { className: "h-4 w-4" })
1283
+ IconLeft: () => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_react2.CaretLeft, { className: "h-4 w-4" }),
1284
+ IconRight: () => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_react2.CaretRight, { className: "h-4 w-4" })
1284
1285
  },
1285
1286
  ...props
1286
1287
  }
@@ -1350,7 +1351,7 @@ CardFooterBase.displayName = "CardFooter";
1350
1351
  // src/components/ui/CarouselBase.tsx
1351
1352
  var React5 = __toESM(require("react"));
1352
1353
  var import_embla_carousel_react = __toESM(require("embla-carousel-react"));
1353
- var import_phosphor_react3 = require("phosphor-react");
1354
+ var import_react3 = require("@phosphor-icons/react");
1354
1355
  var import_jsx_runtime8 = require("react/jsx-runtime");
1355
1356
  var CarouselContext = React5.createContext(null);
1356
1357
  function useCarousel() {
@@ -1503,7 +1504,7 @@ function CarouselPrevious({
1503
1504
  onClick: scrollPrev,
1504
1505
  ...props,
1505
1506
  children: [
1506
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_phosphor_react3.ArrowLeft, {}),
1507
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react3.ArrowLeft, {}),
1507
1508
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "sr-only", children: "Previous slide" })
1508
1509
  ]
1509
1510
  }
@@ -1531,7 +1532,7 @@ function CarouselNextBase({
1531
1532
  onClick: scrollNext,
1532
1533
  ...props,
1533
1534
  children: [
1534
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_phosphor_react3.ArrowRight, {}),
1535
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react3.ArrowRight, {}),
1535
1536
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "sr-only", children: "Next slide" })
1536
1537
  ]
1537
1538
  }
@@ -1541,7 +1542,7 @@ function CarouselNextBase({
1541
1542
  // src/components/ui/CheckBoxBase.tsx
1542
1543
  var React6 = __toESM(require("react"));
1543
1544
  var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"));
1544
- var import_phosphor_react4 = require("phosphor-react");
1545
+ var import_react4 = require("@phosphor-icons/react");
1545
1546
  var import_framer_motion = require("framer-motion");
1546
1547
  var import_jsx_runtime9 = require("react/jsx-runtime");
1547
1548
  var CheckboxBase = React6.forwardRef(({ className, testid: dataTestId = "checkbox-base", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
@@ -1562,7 +1563,7 @@ var CheckboxBase = React6.forwardRef(({ className, testid: dataTestId = "checkbo
1562
1563
  exit: { scale: 0, opacity: 0, rotate: 90 },
1563
1564
  transition: { type: "spring", stiffness: 500, damping: 30 },
1564
1565
  className: "flex items-center justify-center text-current",
1565
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react4.Check, { className: "h-4 w-4", weight: "bold" })
1566
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react4.Check, { className: "h-4 w-4", weight: "bold" })
1566
1567
  }
1567
1568
  ) })
1568
1569
  }
@@ -1572,13 +1573,13 @@ CheckboxBase.displayName = CheckboxPrimitive.Root.displayName;
1572
1573
  // src/components/ui/CommandBase.tsx
1573
1574
  var React8 = __toESM(require("react"));
1574
1575
  var import_cmdk = require("cmdk");
1575
- var import_phosphor_react6 = require("phosphor-react");
1576
+ var import_react6 = require("@phosphor-icons/react");
1576
1577
  var import_framer_motion2 = require("framer-motion");
1577
1578
 
1578
1579
  // src/components/ui/DialogBase.tsx
1579
1580
  var React7 = __toESM(require("react"));
1580
1581
  var DialogPrimitive = __toESM(require("@radix-ui/react-dialog"));
1581
- var import_phosphor_react5 = require("phosphor-react");
1582
+ var import_react5 = require("@phosphor-icons/react");
1582
1583
  var import_jsx_runtime10 = require("react/jsx-runtime");
1583
1584
  var DialogBase = DialogPrimitive.Root;
1584
1585
  var DialogTriggerBase = DialogPrimitive.Trigger;
@@ -1612,7 +1613,7 @@ var DialogContentBase = React7.forwardRef(({ className, children, testid: dataTe
1612
1613
  children: [
1613
1614
  children,
1614
1615
  /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
1615
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_phosphor_react5.X, { className: "h-4 w-4" }),
1616
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react5.X, { className: "h-4 w-4" }),
1616
1617
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "sr-only", children: "Close" })
1617
1618
  ] })
1618
1619
  ]
@@ -1697,7 +1698,7 @@ var CommandDialogBase = ({ children, open, ...props }) => {
1697
1698
  ) }) }) });
1698
1699
  };
1699
1700
  var CommandInputBase = React8.forwardRef(({ className, testid: dataTestId = "command-input", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
1700
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_phosphor_react6.MagnifyingGlass, { className: "mr-2 h-4 w-4 shrink-0 text-primary" }),
1701
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react6.MagnifyingGlass, { className: "mr-2 h-4 w-4 shrink-0 text-primary" }),
1701
1702
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1702
1703
  import_cmdk.Command.Input,
1703
1704
  {
@@ -1759,7 +1760,7 @@ CommandShortcutBase.displayName = "CommandShortcut";
1759
1760
 
1760
1761
  // src/components/ui/ContextMenuBase.tsx
1761
1762
  var ContextMenuPrimitive = __toESM(require("@radix-ui/react-context-menu"));
1762
- var import_phosphor_react7 = require("phosphor-react");
1763
+ var import_react7 = require("@phosphor-icons/react");
1763
1764
  var import_jsx_runtime12 = require("react/jsx-runtime");
1764
1765
  function ContextMenuBase(props) {
1765
1766
  return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ContextMenuPrimitive.Root, { "data-slot": "context-menu", ...props });
@@ -1801,7 +1802,7 @@ function ContextMenuSubTriggerBase({
1801
1802
  ...props,
1802
1803
  children: [
1803
1804
  children,
1804
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_phosphor_react7.CaretRight, { className: "ml-auto" })
1805
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react7.CaretRight, { className: "ml-auto" })
1805
1806
  ]
1806
1807
  }
1807
1808
  );
@@ -1896,7 +1897,7 @@ function ContextMenuCheckboxItemBase({
1896
1897
  checked,
1897
1898
  ...props,
1898
1899
  children: [
1899
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_phosphor_react7.Check, { className: "size-4" }) }) }),
1900
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react7.Check, { className: "size-4" }) }) }),
1900
1901
  children
1901
1902
  ]
1902
1903
  }
@@ -1921,7 +1922,7 @@ function ContextMenuRadioItemBase({
1921
1922
  ),
1922
1923
  ...props,
1923
1924
  children: [
1924
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_phosphor_react7.Circle, { className: "size-2 fill-current" }) }) }),
1925
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react7.Circle, { className: "size-2 fill-current" }) }) }),
1925
1926
  children
1926
1927
  ]
1927
1928
  }
@@ -2095,7 +2096,7 @@ function DrawerDescriptionBase({
2095
2096
  // src/components/ui/DropDownMenuBase.tsx
2096
2097
  var React9 = __toESM(require("react"));
2097
2098
  var DropdownMenuPrimitive = __toESM(require("@radix-ui/react-dropdown-menu"));
2098
- var import_phosphor_react8 = require("phosphor-react");
2099
+ var import_react8 = require("@phosphor-icons/react");
2099
2100
  var import_framer_motion3 = require("framer-motion");
2100
2101
  var import_jsx_runtime14 = require("react/jsx-runtime");
2101
2102
  var DropDownMenuBase = DropdownMenuPrimitive.Root;
@@ -2116,7 +2117,7 @@ var DropDownMenuSubTriggerBase = React9.forwardRef(({ className, inset, children
2116
2117
  ...props,
2117
2118
  children: [
2118
2119
  children,
2119
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_phosphor_react8.CaretRight, { className: "ml-auto" })
2120
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_react8.CaretRight, { className: "ml-auto" })
2120
2121
  ]
2121
2122
  }
2122
2123
  ));
@@ -2189,7 +2190,7 @@ var DropDownMenuCheckboxItemBase = React9.forwardRef(({ className, children, che
2189
2190
  checked,
2190
2191
  ...props,
2191
2192
  children: [
2192
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_phosphor_react8.Check, { className: "h-4 w-4" }) }) }),
2193
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_react8.Check, { className: "h-4 w-4" }) }) }),
2193
2194
  children
2194
2195
  ]
2195
2196
  }
@@ -2205,7 +2206,7 @@ var DropDownMenuRadioItemBase = React9.forwardRef(({ className, children, ...pro
2205
2206
  ),
2206
2207
  ...props,
2207
2208
  children: [
2208
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_phosphor_react8.Circle, { className: "h-2 w-2 fill-current" }) }) }),
2209
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_react8.Circle, { className: "h-2 w-2 fill-current" }) }) }),
2209
2210
  children
2210
2211
  ]
2211
2212
  }
@@ -2248,7 +2249,7 @@ var DropDownMenuShortcutBase = ({
2248
2249
  DropDownMenuShortcutBase.displayName = "DropDownMenuShortcutBase";
2249
2250
 
2250
2251
  // src/components/ui/FilterBase.tsx
2251
- var import_react4 = require("react");
2252
+ var import_react14 = require("react");
2252
2253
  var import_react_router_dom = require("react-router-dom");
2253
2254
 
2254
2255
  // src/components/ui/InputBase.tsx
@@ -2326,7 +2327,7 @@ var InputBase = React11.forwardRef(
2326
2327
  InputBase.displayName = "Input";
2327
2328
 
2328
2329
  // src/components/selects/Combobox.tsx
2329
- var import_react2 = require("react");
2330
+ var import_react11 = require("react");
2330
2331
 
2331
2332
  // src/components/ui/PopoverBase.tsx
2332
2333
  var React12 = __toESM(require("react"));
@@ -2352,8 +2353,8 @@ var PopoverContentBase = React12.forwardRef(({ className, align = "center", side
2352
2353
  PopoverContentBase.displayName = PopoverPrimitive.Content.displayName;
2353
2354
 
2354
2355
  // src/components/selects/ComboboxBase.tsx
2355
- var import_phosphor_react9 = require("phosphor-react");
2356
- var import_react = require("react");
2356
+ var import_react9 = require("@phosphor-icons/react");
2357
+ var import_react10 = require("react");
2357
2358
  var import_jsx_runtime18 = require("react/jsx-runtime");
2358
2359
  function ComboboxBase({
2359
2360
  items,
@@ -2364,7 +2365,7 @@ function ComboboxBase({
2364
2365
  errorMessage,
2365
2366
  testIds = {}
2366
2367
  }) {
2367
- const [open, setOpen] = (0, import_react.useState)(false);
2368
+ const [open, setOpen] = (0, import_react10.useState)(false);
2368
2369
  return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2369
2370
  "div",
2370
2371
  {
@@ -2389,7 +2390,7 @@ function ComboboxBase({
2389
2390
  "data-testid": testIds.trigger ?? "combobox-trigger",
2390
2391
  children: [
2391
2392
  renderSelected,
2392
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_phosphor_react9.CaretDown, { size: 16, className: "mt-0.5" })
2393
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_react9.CaretDown, { size: 16, className: "mt-0.5" })
2393
2394
  ]
2394
2395
  }
2395
2396
  )
@@ -2431,7 +2432,7 @@ function ComboboxBase({
2431
2432
  children: [
2432
2433
  item.label,
2433
2434
  /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2434
- import_phosphor_react9.Check,
2435
+ import_react9.Check,
2435
2436
  {
2436
2437
  className: cn(
2437
2438
  "ml-auto",
@@ -2470,7 +2471,7 @@ function Combobox({
2470
2471
  testIds
2471
2472
  }) {
2472
2473
  const selectedItem = items.find((item) => item.value === selected);
2473
- const renderSelected = (0, import_react2.useMemo)(() => {
2474
+ const renderSelected = (0, import_react11.useMemo)(() => {
2474
2475
  return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
2475
2476
  "span",
2476
2477
  {
@@ -2480,11 +2481,11 @@ function Combobox({
2480
2481
  }
2481
2482
  );
2482
2483
  }, [placeholder, selectedItem, testIds?.selected]);
2483
- const checkIsSelected = (0, import_react2.useCallback)(
2484
+ const checkIsSelected = (0, import_react11.useCallback)(
2484
2485
  (value) => selected == null ? false : selected == value,
2485
2486
  [selected]
2486
2487
  );
2487
- const handleSelection = (0, import_react2.useCallback)(
2488
+ const handleSelection = (0, import_react11.useCallback)(
2488
2489
  (value) => {
2489
2490
  onChange(value === selected ? null : value);
2490
2491
  },
@@ -2507,8 +2508,8 @@ function Combobox({
2507
2508
  }
2508
2509
 
2509
2510
  // src/components/selects/MultiCombobox.tsx
2510
- var import_react3 = require("react");
2511
- var import_phosphor_react10 = require("phosphor-react");
2511
+ var import_react12 = require("react");
2512
+ var import_react13 = require("@phosphor-icons/react");
2512
2513
  var import_jsx_runtime20 = require("react/jsx-runtime");
2513
2514
  function MultiCombobox({
2514
2515
  items,
@@ -2522,11 +2523,11 @@ function MultiCombobox({
2522
2523
  testIds = {}
2523
2524
  }) {
2524
2525
  const selectedItems = items.filter((item) => selected.includes(item.value));
2525
- const checkIsSelected = (0, import_react3.useCallback)(
2526
+ const checkIsSelected = (0, import_react12.useCallback)(
2526
2527
  (value) => selected.includes(value),
2527
2528
  [selected]
2528
2529
  );
2529
- const handleSelection = (0, import_react3.useCallback)(
2530
+ const handleSelection = (0, import_react12.useCallback)(
2530
2531
  (value) => {
2531
2532
  const isSelected = selected.includes(value);
2532
2533
  if (isSelected) {
@@ -2537,7 +2538,7 @@ function MultiCombobox({
2537
2538
  },
2538
2539
  [selected, onChange]
2539
2540
  );
2540
- const renderSelected = (0, import_react3.useMemo)(() => {
2541
+ const renderSelected = (0, import_react12.useMemo)(() => {
2541
2542
  if (selectedItems.length === 0) {
2542
2543
  return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2543
2544
  "span",
@@ -2570,7 +2571,7 @@ function MultiCombobox({
2570
2571
  handleSelection(item.value);
2571
2572
  },
2572
2573
  className: "cursor-pointer p-0 m-0 text-xs flex items-center justify-center hover:text-red-500 hover:scale-110 transition-all",
2573
- children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_phosphor_react10.X, { size: 14 })
2574
+ children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react13.X, { size: 14 })
2574
2575
  }
2575
2576
  )
2576
2577
  ]
@@ -2631,7 +2632,7 @@ var TooltipContentBase = React13.forwardRef(({ className, sideOffset = 4, ...pro
2631
2632
  TooltipContentBase.displayName = TooltipPrimitive.Content.displayName;
2632
2633
 
2633
2634
  // src/components/ui/FilterBase.tsx
2634
- var import_phosphor_react11 = require("phosphor-react");
2635
+ var import_react15 = require("@phosphor-icons/react");
2635
2636
  var import_colors = __toESM(require_colors2());
2636
2637
  var import_jsx_runtime22 = require("react/jsx-runtime");
2637
2638
 
@@ -2674,7 +2675,7 @@ function HoverCardContentBase({
2674
2675
  // src/components/ui/Input-OTP-Base.tsx
2675
2676
  var React14 = __toESM(require("react"));
2676
2677
  var import_input_otp = require("input-otp");
2677
- var import_phosphor_react12 = require("phosphor-react");
2678
+ var import_react16 = require("@phosphor-icons/react");
2678
2679
  var import_jsx_runtime24 = require("react/jsx-runtime");
2679
2680
  function InputOTPBase({
2680
2681
  className,
@@ -2729,13 +2730,13 @@ function InputOTPSlotBase({
2729
2730
  );
2730
2731
  }
2731
2732
  function InputOTPSeparatorBase({ ...props }) {
2732
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { "data-slot": "input-otp-separator", role: "separator", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_phosphor_react12.Minus, {}) });
2733
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { "data-slot": "input-otp-separator", role: "separator", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react16.Minus, {}) });
2733
2734
  }
2734
2735
 
2735
2736
  // src/components/ui/NavigationMenuBase.tsx
2736
2737
  var NavigationMenuPrimitive = __toESM(require("@radix-ui/react-navigation-menu"));
2737
2738
  var import_class_variance_authority3 = require("class-variance-authority");
2738
- var import_phosphor_react13 = require("phosphor-react");
2739
+ var import_react17 = require("@phosphor-icons/react");
2739
2740
  var import_jsx_runtime25 = require("react/jsx-runtime");
2740
2741
  function NavigationMenuBase({
2741
2742
  className,
@@ -2749,7 +2750,7 @@ function NavigationMenuBase({
2749
2750
  "data-slot": "navigation-menu",
2750
2751
  "data-viewport": viewport,
2751
2752
  className: cn(
2752
- "group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",
2753
+ "group/navigation-menu relative flex max-w-max flex-1 items-center justify-center z-[999]",
2753
2754
  className
2754
2755
  ),
2755
2756
  ...props,
@@ -2806,7 +2807,7 @@ function NavigationMenuTriggerBase({
2806
2807
  children: [
2807
2808
  children,
2808
2809
  /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2809
- import_phosphor_react13.CaretDown,
2810
+ import_react17.CaretDown,
2810
2811
  {
2811
2812
  className: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
2812
2813
  "aria-hidden": "true"
@@ -3064,7 +3065,7 @@ ScrollBarBase.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
3064
3065
  // src/components/ui/SelectBase.tsx
3065
3066
  var React17 = __toESM(require("react"));
3066
3067
  var SelectPrimitive = __toESM(require("@radix-ui/react-select"));
3067
- var import_phosphor_react14 = require("phosphor-react");
3068
+ var import_react18 = require("@phosphor-icons/react");
3068
3069
  var import_framer_motion4 = require("framer-motion");
3069
3070
  var import_jsx_runtime28 = require("react/jsx-runtime");
3070
3071
  var SelectBase = SelectPrimitive.Root;
@@ -3087,7 +3088,7 @@ var SelectTriggerBase = React17.forwardRef(({ className, children, open, ...prop
3087
3088
  animate: { rotate: open ? 180 : 0 },
3088
3089
  transition: { duration: 0.3 },
3089
3090
  className: "flex items-center",
3090
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_phosphor_react14.CaretDown, { className: "h-4 w-4 opacity-50" })
3091
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react18.CaretDown, { className: "h-4 w-4 opacity-50" })
3091
3092
  }
3092
3093
  )
3093
3094
  ]
@@ -3103,7 +3104,7 @@ var SelectScrollUpButtonBase = React17.forwardRef(({ className, ...props }, ref)
3103
3104
  className
3104
3105
  ),
3105
3106
  ...props,
3106
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_phosphor_react14.CaretUp, { className: "h-4 w-4" })
3107
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react18.CaretUp, { className: "h-4 w-4" })
3107
3108
  }
3108
3109
  ));
3109
3110
  SelectScrollUpButtonBase.displayName = SelectPrimitive.ScrollUpButton.displayName;
@@ -3116,7 +3117,7 @@ var SelectScrollDownButtonBase = React17.forwardRef(({ className, ...props }, re
3116
3117
  className
3117
3118
  ),
3118
3119
  ...props,
3119
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_phosphor_react14.CaretDown, { className: "h-4 w-4" })
3120
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react18.CaretDown, { className: "h-4 w-4" })
3120
3121
  }
3121
3122
  ));
3122
3123
  SelectScrollDownButtonBase.displayName = SelectPrimitive.ScrollDownButton.displayName;
@@ -3177,7 +3178,7 @@ var SelectItemBase = React17.forwardRef(({ className, children, ...props }, ref)
3177
3178
  ),
3178
3179
  ...props,
3179
3180
  children: [
3180
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_phosphor_react14.Check, { className: "h-4 w-4" }) }) }),
3181
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react18.Check, { className: "h-4 w-4" }) }) }),
3181
3182
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SelectPrimitive.ItemText, { children })
3182
3183
  ]
3183
3184
  }
@@ -3232,7 +3233,7 @@ SeparatorBase.displayName = SeparatorPrimitive.Root.displayName;
3232
3233
  var React19 = __toESM(require("react"));
3233
3234
  var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"));
3234
3235
  var import_class_variance_authority4 = require("class-variance-authority");
3235
- var import_phosphor_react15 = require("phosphor-react");
3236
+ var import_react19 = require("@phosphor-icons/react");
3236
3237
  var import_jsx_runtime30 = require("react/jsx-runtime");
3237
3238
  var SheetBase = SheetPrimitive.Root;
3238
3239
  var SheetTriggerBase = SheetPrimitive.Trigger;
@@ -3276,7 +3277,7 @@ var SheetContentBase = React19.forwardRef(({ side = "right", className, children
3276
3277
  ...props,
3277
3278
  children: [
3278
3279
  /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
3279
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_phosphor_react15.X, { className: "h-4 w-4" }),
3280
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react19.X, { className: "h-4 w-4" }),
3280
3281
  /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "sr-only", children: "Close" })
3281
3282
  ] }),
3282
3283
  children
@@ -3370,7 +3371,7 @@ function SkeletonBase({
3370
3371
  }
3371
3372
 
3372
3373
  // src/components/ui/SidebarBase.tsx
3373
- var import_phosphor_react16 = require("phosphor-react");
3374
+ var import_react20 = require("@phosphor-icons/react");
3374
3375
  var import_jsx_runtime32 = require("react/jsx-runtime");
3375
3376
  var SIDEBAR_COOKIE_NAME = "sidebar:state";
3376
3377
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
@@ -3564,7 +3565,7 @@ var SidebarTriggerBase = React21.forwardRef(({ className, onClick, ...props }, r
3564
3565
  ...props,
3565
3566
  children: [
3566
3567
  /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "sr-only", children: "Toggle SidebarBase" }),
3567
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_phosphor_react16.SidebarSimple, {})
3568
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react20.SidebarSimple, {})
3568
3569
  ]
3569
3570
  }
3570
3571
  ) });
@@ -4021,7 +4022,7 @@ var SlideBase = React22.forwardRef(
4021
4022
  SlideBase.displayName = "SlideBase";
4022
4023
 
4023
4024
  // src/components/ui/SonnerBase.tsx
4024
- var import_phosphor_react17 = require("phosphor-react");
4025
+ var import_react21 = require("@phosphor-icons/react");
4025
4026
  var import_sonner = require("sonner");
4026
4027
  var import_jsx_runtime34 = require("react/jsx-runtime");
4027
4028
  var iconBaseClass = "w-5 h-auto";
@@ -4043,8 +4044,8 @@ var Toaster = ({ testId, ...props }) => {
4043
4044
  flex items-center gap-3
4044
4045
  data-[type=success]:border-l-green-500 data-[type=success]:bg-green-50 data-[type=success]:text-green-800 data-[type=success]:border-green-500
4045
4046
  data-[type=error]:border-l-red-500 data-[type=error]:bg-red-50 data-[type=error]:text-red-800 data-[type=error]:border-red-500
4046
- data-[type=warning]:border-l-yellow-500 data-[type=warning]:bg-yellow-50 data-[type=warning]:text-yellow-800 data-[type=warning]:border-yellow-500
4047
- data-[type=info]:border-l-blue-500 data-[type=info]:bg-blue-50 data-[type=info]:text-blue-800 data-[type=info]:border-blue-500
4047
+ data-[type=WarningIcon]:border-l-yellow-500 data-[type=WarningIcon]:bg-yellow-50 data-[type=WarningIcon]:text-yellow-800 data-[type=WarningIcon]:border-yellow-500
4048
+ data-[type=InfoIcon]:border-l-blue-500 data-[type=InfoIcon]:bg-blue-50 data-[type=InfoIcon]:text-blue-800 data-[type=InfoIcon]:border-blue-500
4048
4049
  `,
4049
4050
  description: `
4050
4051
  text-sm
@@ -4073,23 +4074,23 @@ var Toaster = ({ testId, ...props }) => {
4073
4074
  };
4074
4075
  var toast = {
4075
4076
  success: (message) => import_sonner.toast.success(message, {
4076
- icon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_phosphor_react17.CheckCircle, { className: `${iconBaseClass} text-green-600`, weight: "fill" }),
4077
+ icon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react21.CheckCircleIcon, { className: `${iconBaseClass} text-green-600`, weight: "fill" }),
4077
4078
  className: "sonner-success"
4078
4079
  }),
4079
4080
  error: (message) => import_sonner.toast.error(message, {
4080
- icon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_phosphor_react17.XCircle, { className: `${iconBaseClass} text-red-600`, weight: "fill" }),
4081
+ icon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react21.XCircleIcon, { className: `${iconBaseClass} text-red-600`, weight: "fill" }),
4081
4082
  className: "sonner-error"
4082
4083
  }),
4083
4084
  warning: (message) => import_sonner.toast.warning(message, {
4084
- icon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_phosphor_react17.Warning, { className: `${iconBaseClass} text-yellow-600`, weight: "fill" }),
4085
- className: "sonner-warning"
4085
+ icon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react21.WarningIcon, { className: `${iconBaseClass} text-yellow-600`, weight: "fill" }),
4086
+ className: "sonner-WarningIcon"
4086
4087
  }),
4087
4088
  info: (message) => import_sonner.toast.info(message, {
4088
- icon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_phosphor_react17.Info, { className: `${iconBaseClass} text-blue-600`, weight: "fill" }),
4089
- className: "sonner-info"
4089
+ icon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react21.InfoIcon, { className: `${iconBaseClass} text-blue-600`, weight: "fill" }),
4090
+ className: "sonner-InfoIcon"
4090
4091
  }),
4091
4092
  loading: (message) => (0, import_sonner.toast)(message, {
4092
- icon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_phosphor_react17.Spinner, { className: `${iconBaseClass} animate-spin text-neutral-500`, weight: "fill" }),
4093
+ icon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react21.SpinnerIcon, { className: `${iconBaseClass} animate-spin text-neutral-500`, weight: "fill" }),
4093
4094
  className: "sonner-loading"
4094
4095
  })
4095
4096
  };
@@ -4275,26 +4276,26 @@ var TextAreaBase = React26.forwardRef(({ className, ...props }, ref) => {
4275
4276
  TextAreaBase.displayName = "TextAreaBase";
4276
4277
 
4277
4278
  // src/components/mode-toggle.tsx
4278
- var import_phosphor_react18 = require("phosphor-react");
4279
+ var import_react23 = require("@phosphor-icons/react");
4279
4280
 
4280
4281
  // src/components/theme-provider.tsx
4281
- var import_react5 = require("react");
4282
+ var import_react22 = require("react");
4282
4283
  var import_jsx_runtime39 = require("react/jsx-runtime");
4283
4284
  var initialState = {
4284
4285
  theme: "system",
4285
4286
  setTheme: () => null
4286
4287
  };
4287
- var ThemeProviderContext = (0, import_react5.createContext)(initialState);
4288
+ var ThemeProviderContext = (0, import_react22.createContext)(initialState);
4288
4289
  function ThemeProviderBase({
4289
4290
  children,
4290
4291
  defaultTheme = "system",
4291
- storageKey = "vite-ui-theme",
4292
+ storageKey = "app-ui-theme",
4292
4293
  ...props
4293
4294
  }) {
4294
- const [theme, setTheme] = (0, import_react5.useState)(() => {
4295
+ const [theme, setTheme] = (0, import_react22.useState)(() => {
4295
4296
  return localStorage.getItem(storageKey) || defaultTheme;
4296
4297
  });
4297
- (0, import_react5.useEffect)(() => {
4298
+ (0, import_react22.useEffect)(() => {
4298
4299
  const root = window.document.documentElement;
4299
4300
  root.classList.remove(
4300
4301
  "light",
@@ -4330,7 +4331,7 @@ function ThemeProviderBase({
4330
4331
  return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(ThemeProviderContext.Provider, { ...props, value, children });
4331
4332
  }
4332
4333
  var useTheme = () => {
4333
- const context = (0, import_react5.useContext)(ThemeProviderContext);
4334
+ const context = (0, import_react22.useContext)(ThemeProviderContext);
4334
4335
  if (context === void 0)
4335
4336
  throw new Error("useTheme must be used within a ThemeProvider");
4336
4337
  return context;
@@ -4363,8 +4364,8 @@ function ModeToggleBase({
4363
4364
  className: "relative overflow-hidden border-transparent",
4364
4365
  children: [
4365
4366
  /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
4366
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_phosphor_react18.Sun, { className: `h-[1.2rem] w-[1.2rem] transition-transform duration-300 ${isDark ? "rotate-90 scale-0" : "rotate-0 scale-100"}` }),
4367
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_phosphor_react18.Moon, { className: `absolute top-0 left-0 h-[1.2rem] w-[1.2rem] transition-transform duration-300 ${isDark ? "rotate-0 scale-100" : "rotate-90 scale-0"}` })
4367
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_react23.Sun, { className: `h-[1.2rem] w-[1.2rem] transition-transform duration-300 ${isDark ? "rotate-90 scale-0" : "rotate-0 scale-100"}` }),
4368
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_react23.Moon, { className: `absolute h-[1.2rem] w-[1.2rem] transition-transform duration-300 ${isDark ? "rotate-0 scale-100" : "rotate-90 scale-0"}` })
4368
4369
  ] }),
4369
4370
  /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "sr-only", children: "Toggle theme" })
4370
4371
  ]
@@ -4377,7 +4378,7 @@ function ModeToggleBase({
4377
4378
  className: "flex items-center justify-between hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground",
4378
4379
  children: [
4379
4380
  themeLabels[theme],
4380
- currentTheme === theme && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_phosphor_react18.Check, { className: "h-4 w-4 opacity-100" })
4381
+ currentTheme === theme && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_react23.Check, { className: "h-4 w-4 opacity-100" })
4381
4382
  ]
4382
4383
  },
4383
4384
  theme
@@ -4391,7 +4392,7 @@ var import_date_fns = require("date-fns");
4391
4392
  // src/components/date-time-picker/calendar.tsx
4392
4393
  var React27 = __toESM(require("react"));
4393
4394
  var import_react_day_picker2 = require("react-day-picker");
4394
- var import_phosphor_react19 = require("phosphor-react");
4395
+ var import_react24 = require("@phosphor-icons/react");
4395
4396
  var import_framer_motion6 = require("framer-motion");
4396
4397
  var import_jsx_runtime41 = require("react/jsx-runtime");
4397
4398
  var variants = {
@@ -4488,8 +4489,8 @@ function CalendarBase2({
4488
4489
  ...classNames
4489
4490
  },
4490
4491
  components: {
4491
- IconLeft: () => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_phosphor_react19.CaretLeft, { className: "h-4 w-4" }),
4492
- IconRight: () => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_phosphor_react19.CaretRight, { className: "h-4 w-4" })
4492
+ IconLeft: () => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react24.CaretLeft, { className: "h-4 w-4" }),
4493
+ IconRight: () => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react24.CaretRight, { className: "h-4 w-4" })
4493
4494
  },
4494
4495
  ...props
4495
4496
  }
@@ -4503,16 +4504,15 @@ function CalendarBase2({
4503
4504
  CalendarBase2.displayName = "CalendarBase";
4504
4505
 
4505
4506
  // src/components/date-time-picker/DateTimePicker.tsx
4506
- var import_phosphor_react21 = require("phosphor-react");
4507
4507
  var import_locale = require("date-fns/locale");
4508
- var import_react7 = require("react");
4508
+ var import_react27 = require("react");
4509
4509
 
4510
4510
  // src/components/date-time-picker/TimePicker.tsx
4511
- var import_phosphor_react20 = require("phosphor-react");
4511
+ var import_react26 = require("@phosphor-icons/react");
4512
4512
  var React29 = __toESM(require("react"));
4513
4513
 
4514
4514
  // src/components/date-time-picker/TimePickerInput.tsx
4515
- var import_react6 = __toESM(require("react"));
4515
+ var import_react25 = __toESM(require("react"));
4516
4516
 
4517
4517
  // src/components/date-time-picker/time-picker-utils.ts
4518
4518
  function isValidHour(value) {
@@ -4655,7 +4655,7 @@ function display12HourValue(hours) {
4655
4655
 
4656
4656
  // src/components/date-time-picker/TimePickerInput.tsx
4657
4657
  var import_jsx_runtime42 = require("react/jsx-runtime");
4658
- var TimePickerInput = import_react6.default.forwardRef(
4658
+ var TimePickerInput = import_react25.default.forwardRef(
4659
4659
  ({
4660
4660
  className,
4661
4661
  type = "tel",
@@ -4672,9 +4672,9 @@ var TimePickerInput = import_react6.default.forwardRef(
4672
4672
  onRightFocus,
4673
4673
  ...props
4674
4674
  }, ref) => {
4675
- const [flag, setFlag] = import_react6.default.useState(false);
4676
- const [prevIntKey, setPrevIntKey] = import_react6.default.useState("0");
4677
- import_react6.default.useEffect(() => {
4675
+ const [flag, setFlag] = import_react25.default.useState(false);
4676
+ const [prevIntKey, setPrevIntKey] = import_react25.default.useState("0");
4677
+ import_react25.default.useEffect(() => {
4678
4678
  if (flag) {
4679
4679
  const timer = setTimeout(() => {
4680
4680
  setFlag(false);
@@ -4682,7 +4682,7 @@ var TimePickerInput = import_react6.default.forwardRef(
4682
4682
  return () => clearTimeout(timer);
4683
4683
  }
4684
4684
  }, [flag]);
4685
- const calculatedValue = import_react6.default.useMemo(() => {
4685
+ const calculatedValue = import_react25.default.useMemo(() => {
4686
4686
  return getDateByType(date, picker);
4687
4687
  }, [date, picker]);
4688
4688
  const calculateNewValue = (key) => {
@@ -4788,11 +4788,12 @@ function TimePicker({ date, setDate, hideSeconds }) {
4788
4788
  }
4789
4789
  )
4790
4790
  ] }),
4791
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "flex h-10 items-center", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_phosphor_react20.Clock, { className: "ml-2 h-4 w-4" }) })
4791
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "flex h-10 items-center", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_react26.Clock, { className: "ml-2 h-4 w-4" }) })
4792
4792
  ] });
4793
4793
  }
4794
4794
 
4795
4795
  // src/components/date-time-picker/DateTimePicker.tsx
4796
+ var import_react28 = require("@phosphor-icons/react");
4796
4797
  var import_jsx_runtime44 = require("react/jsx-runtime");
4797
4798
  function DateTimePicker({
4798
4799
  label,
@@ -4804,7 +4805,7 @@ function DateTimePicker({
4804
4805
  disabled,
4805
4806
  dialogTitle
4806
4807
  }) {
4807
- const [internalDate, setInternalDate] = (0, import_react7.useState)(date);
4808
+ const [internalDate, setInternalDate] = (0, import_react27.useState)(date);
4808
4809
  const handleSelect = (newDay) => {
4809
4810
  if (!newDay) return;
4810
4811
  if (!internalDate) {
@@ -4816,8 +4817,8 @@ function DateTimePicker({
4816
4817
  const newDateFull = (0, import_date_fns.add)(internalDate, { days: Math.ceil(diffInDays) });
4817
4818
  setInternalDate(newDateFull);
4818
4819
  };
4819
- const [open, setOpen] = (0, import_react7.useState)(false);
4820
- (0, import_react7.useEffect)(() => {
4820
+ const [open, setOpen] = (0, import_react27.useState)(false);
4821
+ (0, import_react27.useEffect)(() => {
4821
4822
  if (date) {
4822
4823
  setInternalDate(date);
4823
4824
  }
@@ -4836,7 +4837,7 @@ function DateTimePicker({
4836
4837
  ),
4837
4838
  children: [
4838
4839
  date ? (0, import_date_fns.format)(date, "PPP - HH:mm", { locale: import_locale.ptBR }) : /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "text-zinc-400", children: "Pick a date" }),
4839
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_phosphor_react21.Calendar, { className: "ml-auto text-gray-500", size: 24 })
4840
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react28.Calendar, { className: "ml-auto text-gray-500", size: 24 })
4840
4841
  ]
4841
4842
  }
4842
4843
  ) }),