@mlw-packages/react-components 1.5.3 → 1.5.4

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
@@ -1205,7 +1205,7 @@ function BreadcrumbSeparatorBase({
1205
1205
  "aria-hidden": "true",
1206
1206
  className: cn("[&>svg]:size-3.5", className),
1207
1207
  ...props,
1208
- children: children ?? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_react.CaretRight, {})
1208
+ children: children ?? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_react.CaretRightIcon, {})
1209
1209
  }
1210
1210
  );
1211
1211
  }
@@ -1222,7 +1222,7 @@ function BreadcrumbEllipsisBase({
1222
1222
  className: cn("flex size-9 items-center justify-center", className),
1223
1223
  ...props,
1224
1224
  children: [
1225
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_react.DotsThree, { className: "size-4" }),
1225
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_react.DotsThreeIcon, { className: "size-4" }),
1226
1226
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "sr-only", children: "More" })
1227
1227
  ]
1228
1228
  }
@@ -1275,8 +1275,8 @@ function CalendarBase({
1275
1275
  ...classNames
1276
1276
  },
1277
1277
  components: {
1278
- IconLeft: () => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_react2.CaretLeft, { className: "h-4 w-4" }),
1279
- IconRight: () => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_react2.CaretRight, { className: "h-4 w-4" })
1278
+ IconLeft: () => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_react2.CaretLeftIcon, { className: "h-4 w-4" }),
1279
+ IconRight: () => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_react2.CaretRightIcon, { className: "h-4 w-4" })
1280
1280
  },
1281
1281
  ...props
1282
1282
  }
@@ -1499,7 +1499,7 @@ function CarouselPrevious({
1499
1499
  onClick: scrollPrev,
1500
1500
  ...props,
1501
1501
  children: [
1502
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react3.ArrowLeft, {}),
1502
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react3.ArrowLeftIcon, {}),
1503
1503
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "sr-only", children: "Previous slide" })
1504
1504
  ]
1505
1505
  }
@@ -1527,7 +1527,7 @@ function CarouselNextBase({
1527
1527
  onClick: scrollNext,
1528
1528
  ...props,
1529
1529
  children: [
1530
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react3.ArrowRight, {}),
1530
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react3.ArrowRightIcon, {}),
1531
1531
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "sr-only", children: "Next slide" })
1532
1532
  ]
1533
1533
  }
@@ -1558,7 +1558,7 @@ var CheckboxBase = React6.forwardRef(({ className, testid: dataTestId = "checkbo
1558
1558
  exit: { scale: 0, opacity: 0, rotate: 90 },
1559
1559
  transition: { type: "spring", stiffness: 500, damping: 30 },
1560
1560
  className: "flex items-center justify-center text-current",
1561
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react4.Check, { className: "h-4 w-4", weight: "bold" })
1561
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react4.CheckIcon, { className: "h-4 w-4", weight: "bold" })
1562
1562
  }
1563
1563
  ) })
1564
1564
  }
@@ -1590,7 +1590,7 @@ var CollapsibleTriggerBase = React7.forwardRef(({ className, children, leftIcon,
1590
1590
  leftIcon && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "flex-shrink-0 [&>svg]:size-4", children: leftIcon }),
1591
1591
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children })
1592
1592
  ] }),
1593
- showCaret && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "caret-icon flex-shrink-0 transition-transform duration-500 ease-[cubic-bezier(0.4,0,0.2,1)]", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react5.CaretUpDown, { className: "h-4 w-4" }) })
1593
+ showCaret && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "caret-icon flex-shrink-0 transition-transform duration-500 ease-[cubic-bezier(0.4,0,0.2,1)]", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react5.CaretUpDownIcon, { className: "h-4 w-4" }) })
1594
1594
  ]
1595
1595
  }
1596
1596
  );
@@ -1656,7 +1656,7 @@ var DialogContentBase = React8.forwardRef(({ className, children, testid: dataTe
1656
1656
  children: [
1657
1657
  children,
1658
1658
  /* @__PURE__ */ (0, import_jsx_runtime11.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: [
1659
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react6.X, { className: "h-4 w-4" }),
1659
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react6.XIcon, { className: "h-4 w-4" }),
1660
1660
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "sr-only", children: "Close" })
1661
1661
  ] })
1662
1662
  ]
@@ -1741,7 +1741,7 @@ var CommandDialogBase = ({ children, open, ...props }) => {
1741
1741
  ) }) }) });
1742
1742
  };
1743
1743
  var CommandInputBase = React9.forwardRef(({ className, testid: dataTestId = "command-input", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
1744
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react7.MagnifyingGlass, { className: "mr-2 h-4 w-4 shrink-0 text-primary" }),
1744
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react7.MagnifyingGlassIcon, { className: "mr-2 h-4 w-4 shrink-0 text-primary" }),
1745
1745
  /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1746
1746
  import_cmdk.Command.Input,
1747
1747
  {
@@ -1845,7 +1845,7 @@ function ContextMenuSubTriggerBase({
1845
1845
  ...props,
1846
1846
  children: [
1847
1847
  children,
1848
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react8.CaretRight, { className: "ml-auto" })
1848
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react8.CaretRightIcon, { className: "ml-auto" })
1849
1849
  ]
1850
1850
  }
1851
1851
  );
@@ -1940,7 +1940,7 @@ function ContextMenuCheckboxItemBase({
1940
1940
  checked,
1941
1941
  ...props,
1942
1942
  children: [
1943
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react8.Check, { className: "size-4" }) }) }),
1943
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react8.CheckIcon, { className: "size-4" }) }) }),
1944
1944
  children
1945
1945
  ]
1946
1946
  }
@@ -1965,7 +1965,7 @@ function ContextMenuRadioItemBase({
1965
1965
  ),
1966
1966
  ...props,
1967
1967
  children: [
1968
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react8.Circle, { className: "size-2 fill-current" }) }) }),
1968
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react8.CircleIcon, { className: "size-2 fill-current" }) }) }),
1969
1969
  children
1970
1970
  ]
1971
1971
  }
@@ -2160,7 +2160,7 @@ var DropDownMenuSubTriggerBase = React10.forwardRef(({ className, inset, childre
2160
2160
  ...props,
2161
2161
  children: [
2162
2162
  children,
2163
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_react9.CaretRight, { className: "ml-auto" })
2163
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_react9.CaretRightIcon, { className: "ml-auto" })
2164
2164
  ]
2165
2165
  }
2166
2166
  ));
@@ -2233,7 +2233,7 @@ var DropDownMenuCheckboxItemBase = React10.forwardRef(({ className, children, ch
2233
2233
  checked,
2234
2234
  ...props,
2235
2235
  children: [
2236
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_react9.Check, { className: "h-4 w-4" }) }) }),
2236
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_react9.CheckIcon, { className: "h-4 w-4" }) }) }),
2237
2237
  children
2238
2238
  ]
2239
2239
  }
@@ -2249,7 +2249,7 @@ var DropDownMenuRadioItemBase = React10.forwardRef(({ className, children, ...pr
2249
2249
  ),
2250
2250
  ...props,
2251
2251
  children: [
2252
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_react9.Circle, { className: "h-2 w-2 fill-current" }) }) }),
2252
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_react9.CircleIcon, { className: "h-2 w-2 fill-current" }) }) }),
2253
2253
  children
2254
2254
  ]
2255
2255
  }
@@ -2433,7 +2433,7 @@ function ComboboxBase({
2433
2433
  "data-testid": testIds.trigger ?? "combobox-trigger",
2434
2434
  children: [
2435
2435
  renderSelected,
2436
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_react10.CaretDown, { size: 16, className: "mt-0.5" })
2436
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_react10.CaretDownIcon, { size: 16, className: "mt-0.5" })
2437
2437
  ]
2438
2438
  }
2439
2439
  )
@@ -2475,7 +2475,7 @@ function ComboboxBase({
2475
2475
  children: [
2476
2476
  item.label,
2477
2477
  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
2478
- import_react10.Check,
2478
+ import_react10.CheckIcon,
2479
2479
  {
2480
2480
  className: cn(
2481
2481
  "ml-auto",
@@ -2614,7 +2614,7 @@ function MultiCombobox({
2614
2614
  handleSelection(item.value);
2615
2615
  },
2616
2616
  className: "cursor-pointer p-0 m-0 text-xs flex items-center justify-center hover:text-red-500 hover:scale-110 transition-all",
2617
- children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react14.X, { size: 14 })
2617
+ children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react14.XIcon, { size: 14 })
2618
2618
  }
2619
2619
  )
2620
2620
  ]
@@ -2773,7 +2773,7 @@ function InputOTPSlotBase({
2773
2773
  );
2774
2774
  }
2775
2775
  function InputOTPSeparatorBase({ ...props }) {
2776
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { "data-slot": "input-otp-separator", role: "separator", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react17.Minus, {}) });
2776
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { "data-slot": "input-otp-separator", role: "separator", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react17.MinusIcon, {}) });
2777
2777
  }
2778
2778
 
2779
2779
  // src/components/ui/NavigationMenuBase.tsx
@@ -2976,7 +2976,7 @@ var ProgressSegmentsBase = ({
2976
2976
  )) })
2977
2977
  ] });
2978
2978
  };
2979
- var ArrowRightIcon = () => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2979
+ var ArrowRightIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2980
2980
  "svg",
2981
2981
  {
2982
2982
  className: "w-6 h-6 text-zinc-400 transition-transform duration-300 group-hover:translate-x-1",
@@ -3015,7 +3015,7 @@ var ProgressPanelsBase = ({
3015
3015
  ]
3016
3016
  }
3017
3017
  ),
3018
- !isLast && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "flex items-center px-2 group", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ArrowRightIcon, {}) })
3018
+ !isLast && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "flex items-center px-2 group", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ArrowRightIcon2, {}) })
3019
3019
  ] }, idx);
3020
3020
  }) })
3021
3021
  ] });
@@ -3127,7 +3127,7 @@ var SelectTriggerBase = React18.forwardRef(({ className, children, open, ...prop
3127
3127
  animate: { rotate: open ? 180 : 0 },
3128
3128
  transition: { duration: 0.3 },
3129
3129
  className: "flex items-center",
3130
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react19.CaretDown, { className: "h-4 w-4 opacity-50" })
3130
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react19.CaretDownIcon, { className: "h-4 w-4 opacity-50" })
3131
3131
  }
3132
3132
  )
3133
3133
  ]
@@ -3143,7 +3143,7 @@ var SelectScrollUpButtonBase = React18.forwardRef(({ className, ...props }, ref)
3143
3143
  className
3144
3144
  ),
3145
3145
  ...props,
3146
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react19.CaretUp, { className: "h-4 w-4" })
3146
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react19.CaretUpIcon, { className: "h-4 w-4" })
3147
3147
  }
3148
3148
  ));
3149
3149
  SelectScrollUpButtonBase.displayName = SelectPrimitive.ScrollUpButton.displayName;
@@ -3156,7 +3156,7 @@ var SelectScrollDownButtonBase = React18.forwardRef(({ className, ...props }, re
3156
3156
  className
3157
3157
  ),
3158
3158
  ...props,
3159
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react19.CaretDown, { className: "h-4 w-4" })
3159
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react19.CaretDownIcon, { className: "h-4 w-4" })
3160
3160
  }
3161
3161
  ));
3162
3162
  SelectScrollDownButtonBase.displayName = SelectPrimitive.ScrollDownButton.displayName;
@@ -3217,7 +3217,7 @@ var SelectItemBase = React18.forwardRef(({ className, children, ...props }, ref)
3217
3217
  ),
3218
3218
  ...props,
3219
3219
  children: [
3220
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react19.Check, { className: "h-4 w-4" }) }) }),
3220
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react19.CheckIcon, { className: "h-4 w-4" }) }) }),
3221
3221
  /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(SelectPrimitive.ItemText, { children })
3222
3222
  ]
3223
3223
  }
@@ -3316,7 +3316,7 @@ var SheetContentBase = React20.forwardRef(({ side = "right", className, children
3316
3316
  ...props,
3317
3317
  children: [
3318
3318
  /* @__PURE__ */ (0, import_jsx_runtime31.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: [
3319
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react20.X, { className: "h-4 w-4" }),
3319
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react20.XIcon, { className: "h-4 w-4" }),
3320
3320
  /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "sr-only", children: "Close" })
3321
3321
  ] }),
3322
3322
  children
@@ -3604,7 +3604,7 @@ var SidebarTriggerBase = React22.forwardRef(({ className, onClick, ...props }, r
3604
3604
  ...props,
3605
3605
  children: [
3606
3606
  /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "sr-only", children: "Toggle SidebarBase" }),
3607
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react21.SidebarSimple, {})
3607
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react21.SidebarSimpleIcon, {})
3608
3608
  ]
3609
3609
  }
3610
3610
  ) });
@@ -4405,8 +4405,8 @@ function ModeToggleBase({
4405
4405
  className: "relative overflow-hidden border-transparent",
4406
4406
  children: [
4407
4407
  /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
4408
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react24.Sun, { className: `h-[1.2rem] w-[1.2rem] transition-transform duration-300 ${isDark ? "rotate-90 scale-0" : "rotate-0 scale-100"}` }),
4409
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react24.Moon, { className: `absolute h-[1.2rem] w-[1.2rem] transition-transform duration-300 ${isDark ? "rotate-0 scale-100" : "rotate-90 scale-0"}` })
4408
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react24.SunIcon, { className: `h-[1.2rem] w-[1.2rem] transition-transform duration-300 ${isDark ? "rotate-90 scale-0" : "rotate-0 scale-100"}` }),
4409
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react24.MoonIcon, { className: `absolute h-[1.2rem] w-[1.2rem] transition-transform duration-300 ${isDark ? "rotate-0 scale-100" : "rotate-90 scale-0"}` })
4410
4410
  ] }),
4411
4411
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "sr-only", children: "Toggle theme" })
4412
4412
  ]
@@ -4419,7 +4419,7 @@ function ModeToggleBase({
4419
4419
  className: "flex items-center justify-between hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground",
4420
4420
  children: [
4421
4421
  themeLabels[theme],
4422
- currentTheme === theme && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react24.Check, { className: "h-4 w-4 opacity-100" })
4422
+ currentTheme === theme && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react24.CheckIcon, { className: "h-4 w-4 opacity-100" })
4423
4423
  ]
4424
4424
  },
4425
4425
  theme
@@ -4530,8 +4530,8 @@ function CalendarBase2({
4530
4530
  ...classNames
4531
4531
  },
4532
4532
  components: {
4533
- IconLeft: () => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_react25.CaretLeft, { className: "h-4 w-4" }),
4534
- IconRight: () => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_react25.CaretRight, { className: "h-4 w-4" })
4533
+ IconLeft: () => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_react25.CaretLeftIcon, { className: "h-4 w-4" }),
4534
+ IconRight: () => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_react25.CaretRightIcon, { className: "h-4 w-4" })
4535
4535
  },
4536
4536
  ...props
4537
4537
  }
@@ -4829,7 +4829,7 @@ function TimePicker({ date, setDate, hideSeconds }) {
4829
4829
  }
4830
4830
  )
4831
4831
  ] }),
4832
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "flex h-10 items-center", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react27.Clock, { className: "ml-2 h-4 w-4" }) })
4832
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "flex h-10 items-center", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react27.ClockIcon, { className: "ml-2 h-4 w-4" }) })
4833
4833
  ] });
4834
4834
  }
4835
4835
 
@@ -4878,7 +4878,7 @@ function DateTimePicker({
4878
4878
  ),
4879
4879
  children: [
4880
4880
  date ? (0, import_date_fns.format)(date, "PPP - HH:mm", { locale: import_locale.ptBR }) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { className: "text-zinc-400", children: "Pick a date" }),
4881
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react29.Calendar, { className: "ml-auto text-gray-500", size: 24 })
4881
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react29.CalendarIcon, { className: "ml-auto text-gray-500", size: 24 })
4882
4882
  ]
4883
4883
  }
4884
4884
  ) }),
@@ -5007,10 +5007,24 @@ var DestructiveDialog = ({
5007
5007
  className: cn("border border-destructive bg-background"),
5008
5008
  children: [
5009
5009
  /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex items-start gap-4", children: [
5010
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex items-center justify-center w-10 h-10 rounded-full ring-1 ring-destructive/30", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_react30.XCircle, { className: "w-6 h-6 text-destructive" }) }),
5010
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex items-center justify-center w-10 h-10 rounded-full ring-1 ring-destructive/30", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_react30.XCircleIcon, { className: "w-6 h-6 text-destructive" }) }),
5011
5011
  /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex-1", children: [
5012
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(AlertDialogTitleBase, { id: titleId, className: "text-lg sm:text-xl font-semibold text-destructive", children: title }),
5013
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(AlertDialogDescriptionBase, { id: descriptionId, className: "mt-2 text-sm text-muted-foreground", children: description })
5012
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
5013
+ AlertDialogTitleBase,
5014
+ {
5015
+ id: titleId,
5016
+ className: "text-lg sm:text-xl font-semibold text-destructive",
5017
+ children: title
5018
+ }
5019
+ ),
5020
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
5021
+ AlertDialogDescriptionBase,
5022
+ {
5023
+ id: descriptionId,
5024
+ className: "mt-2 text-sm text-muted-foreground",
5025
+ children: description
5026
+ }
5027
+ )
5014
5028
  ] })
5015
5029
  ] }),
5016
5030
  /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(AlertDialogFooterBase, { className: "mt-2 flex justify-end gap-3", children: [
@@ -5019,8 +5033,7 @@ var DestructiveDialog = ({
5019
5033
  {
5020
5034
  onClick: onCancel,
5021
5035
  className: cn(
5022
- buttonVariantsBase({ variant: "outline", size: "sm" }),
5023
- "px-4 py-2",
5036
+ buttonVariantsBase({ variant: "outline", size: "default" }),
5024
5037
  "hover:bg-foreground/5 hover:text-primary hover:opacity-90 hover:shadow-none"
5025
5038
  ),
5026
5039
  children: "Cancelar"
@@ -5030,7 +5043,9 @@ var DestructiveDialog = ({
5030
5043
  AlertDialogActionBase,
5031
5044
  {
5032
5045
  onClick: onConfirm,
5033
- className: cn(buttonVariantsBase({ variant: "destructive", size: "default" }), "px-5 py-2 shadow-lg"),
5046
+ className: cn(
5047
+ buttonVariantsBase({ variant: "destructive", size: "default" })
5048
+ ),
5034
5049
  children: "Confirmar"
5035
5050
  }
5036
5051
  )
package/dist/index.mjs CHANGED
@@ -918,7 +918,7 @@ function BadgeBase({
918
918
 
919
919
  // src/components/ui/BreadcrumbBase.tsx
920
920
  import { Slot as Slot3 } from "@radix-ui/react-slot";
921
- import { CaretRight, DotsThree } from "@phosphor-icons/react";
921
+ import { CaretRightIcon, DotsThreeIcon } from "@phosphor-icons/react";
922
922
  import { jsx as jsx5, jsxs as jsxs2 } from "react/jsx-runtime";
923
923
  function BreadcrumbBase({ ...props }) {
924
924
  return /* @__PURE__ */ jsx5("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...props });
@@ -987,7 +987,7 @@ function BreadcrumbSeparatorBase({
987
987
  "aria-hidden": "true",
988
988
  className: cn("[&>svg]:size-3.5", className),
989
989
  ...props,
990
- children: children ?? /* @__PURE__ */ jsx5(CaretRight, {})
990
+ children: children ?? /* @__PURE__ */ jsx5(CaretRightIcon, {})
991
991
  }
992
992
  );
993
993
  }
@@ -1004,7 +1004,7 @@ function BreadcrumbEllipsisBase({
1004
1004
  className: cn("flex size-9 items-center justify-center", className),
1005
1005
  ...props,
1006
1006
  children: [
1007
- /* @__PURE__ */ jsx5(DotsThree, { className: "size-4" }),
1007
+ /* @__PURE__ */ jsx5(DotsThreeIcon, { className: "size-4" }),
1008
1008
  /* @__PURE__ */ jsx5("span", { className: "sr-only", children: "More" })
1009
1009
  ]
1010
1010
  }
@@ -1012,7 +1012,7 @@ function BreadcrumbEllipsisBase({
1012
1012
  }
1013
1013
 
1014
1014
  // src/components/ui/CalendarBase.tsx
1015
- import { CaretLeft, CaretRight as CaretRight2 } from "@phosphor-icons/react";
1015
+ import { CaretLeftIcon, CaretRightIcon as CaretRightIcon2 } from "@phosphor-icons/react";
1016
1016
  import { DayPicker } from "react-day-picker";
1017
1017
  import { jsx as jsx6 } from "react/jsx-runtime";
1018
1018
  function CalendarBase({
@@ -1057,8 +1057,8 @@ function CalendarBase({
1057
1057
  ...classNames
1058
1058
  },
1059
1059
  components: {
1060
- IconLeft: () => /* @__PURE__ */ jsx6(CaretLeft, { className: "h-4 w-4" }),
1061
- IconRight: () => /* @__PURE__ */ jsx6(CaretRight2, { className: "h-4 w-4" })
1060
+ IconLeft: () => /* @__PURE__ */ jsx6(CaretLeftIcon, { className: "h-4 w-4" }),
1061
+ IconRight: () => /* @__PURE__ */ jsx6(CaretRightIcon2, { className: "h-4 w-4" })
1062
1062
  },
1063
1063
  ...props
1064
1064
  }
@@ -1128,7 +1128,7 @@ CardFooterBase.displayName = "CardFooter";
1128
1128
  // src/components/ui/CarouselBase.tsx
1129
1129
  import * as React5 from "react";
1130
1130
  import useEmblaCarousel from "embla-carousel-react";
1131
- import { ArrowLeft, ArrowRight } from "@phosphor-icons/react";
1131
+ import { ArrowLeftIcon, ArrowRightIcon } from "@phosphor-icons/react";
1132
1132
  import { jsx as jsx8, jsxs as jsxs3 } from "react/jsx-runtime";
1133
1133
  var CarouselContext = React5.createContext(null);
1134
1134
  function useCarousel() {
@@ -1281,7 +1281,7 @@ function CarouselPrevious({
1281
1281
  onClick: scrollPrev,
1282
1282
  ...props,
1283
1283
  children: [
1284
- /* @__PURE__ */ jsx8(ArrowLeft, {}),
1284
+ /* @__PURE__ */ jsx8(ArrowLeftIcon, {}),
1285
1285
  /* @__PURE__ */ jsx8("span", { className: "sr-only", children: "Previous slide" })
1286
1286
  ]
1287
1287
  }
@@ -1309,7 +1309,7 @@ function CarouselNextBase({
1309
1309
  onClick: scrollNext,
1310
1310
  ...props,
1311
1311
  children: [
1312
- /* @__PURE__ */ jsx8(ArrowRight, {}),
1312
+ /* @__PURE__ */ jsx8(ArrowRightIcon, {}),
1313
1313
  /* @__PURE__ */ jsx8("span", { className: "sr-only", children: "Next slide" })
1314
1314
  ]
1315
1315
  }
@@ -1319,7 +1319,7 @@ function CarouselNextBase({
1319
1319
  // src/components/ui/CheckBoxBase.tsx
1320
1320
  import * as React6 from "react";
1321
1321
  import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
1322
- import { Check } from "@phosphor-icons/react";
1322
+ import { CheckIcon } from "@phosphor-icons/react";
1323
1323
  import { motion } from "framer-motion";
1324
1324
  import { jsx as jsx9 } from "react/jsx-runtime";
1325
1325
  var CheckboxBase = React6.forwardRef(({ className, testid: dataTestId = "checkbox-base", ...props }, ref) => /* @__PURE__ */ jsx9(
@@ -1340,7 +1340,7 @@ var CheckboxBase = React6.forwardRef(({ className, testid: dataTestId = "checkbo
1340
1340
  exit: { scale: 0, opacity: 0, rotate: 90 },
1341
1341
  transition: { type: "spring", stiffness: 500, damping: 30 },
1342
1342
  className: "flex items-center justify-center text-current",
1343
- children: /* @__PURE__ */ jsx9(Check, { className: "h-4 w-4", weight: "bold" })
1343
+ children: /* @__PURE__ */ jsx9(CheckIcon, { className: "h-4 w-4", weight: "bold" })
1344
1344
  }
1345
1345
  ) })
1346
1346
  }
@@ -1350,7 +1350,7 @@ CheckboxBase.displayName = CheckboxPrimitive.Root.displayName;
1350
1350
  // src/components/ui/CollapsibleBase.tsx
1351
1351
  import * as React7 from "react";
1352
1352
  import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
1353
- import { CaretUpDown } from "@phosphor-icons/react";
1353
+ import { CaretUpDownIcon } from "@phosphor-icons/react";
1354
1354
  import { jsx as jsx10, jsxs as jsxs4 } from "react/jsx-runtime";
1355
1355
  var CollapsibleBase = React7.forwardRef(({ ...props }, ref) => {
1356
1356
  return /* @__PURE__ */ jsx10(CollapsiblePrimitive.Root, { ref, "data-slot": "collapsible", ...props });
@@ -1372,7 +1372,7 @@ var CollapsibleTriggerBase = React7.forwardRef(({ className, children, leftIcon,
1372
1372
  leftIcon && /* @__PURE__ */ jsx10("span", { className: "flex-shrink-0 [&>svg]:size-4", children: leftIcon }),
1373
1373
  /* @__PURE__ */ jsx10("span", { children })
1374
1374
  ] }),
1375
- showCaret && /* @__PURE__ */ jsx10("span", { className: "caret-icon flex-shrink-0 transition-transform duration-500 ease-[cubic-bezier(0.4,0,0.2,1)]", children: /* @__PURE__ */ jsx10(CaretUpDown, { className: "h-4 w-4" }) })
1375
+ showCaret && /* @__PURE__ */ jsx10("span", { className: "caret-icon flex-shrink-0 transition-transform duration-500 ease-[cubic-bezier(0.4,0,0.2,1)]", children: /* @__PURE__ */ jsx10(CaretUpDownIcon, { className: "h-4 w-4" }) })
1376
1376
  ]
1377
1377
  }
1378
1378
  );
@@ -1398,13 +1398,13 @@ CollapsibleContentBase.displayName = CollapsiblePrimitive.CollapsibleContent.dis
1398
1398
  // src/components/ui/CommandBase.tsx
1399
1399
  import * as React9 from "react";
1400
1400
  import { Command as CommandPrimitive } from "cmdk";
1401
- import { MagnifyingGlass } from "@phosphor-icons/react";
1401
+ import { MagnifyingGlassIcon } from "@phosphor-icons/react";
1402
1402
  import { motion as motion2, AnimatePresence } from "framer-motion";
1403
1403
 
1404
1404
  // src/components/ui/DialogBase.tsx
1405
1405
  import * as React8 from "react";
1406
1406
  import * as DialogPrimitive from "@radix-ui/react-dialog";
1407
- import { X } from "@phosphor-icons/react";
1407
+ import { XIcon } from "@phosphor-icons/react";
1408
1408
  import { jsx as jsx11, jsxs as jsxs5 } from "react/jsx-runtime";
1409
1409
  var DialogBase = DialogPrimitive.Root;
1410
1410
  var DialogTriggerBase = DialogPrimitive.Trigger;
@@ -1438,7 +1438,7 @@ var DialogContentBase = React8.forwardRef(({ className, children, testid: dataTe
1438
1438
  children: [
1439
1439
  children,
1440
1440
  /* @__PURE__ */ jsxs5(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: [
1441
- /* @__PURE__ */ jsx11(X, { className: "h-4 w-4" }),
1441
+ /* @__PURE__ */ jsx11(XIcon, { className: "h-4 w-4" }),
1442
1442
  /* @__PURE__ */ jsx11("span", { className: "sr-only", children: "Close" })
1443
1443
  ] })
1444
1444
  ]
@@ -1523,7 +1523,7 @@ var CommandDialogBase = ({ children, open, ...props }) => {
1523
1523
  ) }) }) });
1524
1524
  };
1525
1525
  var CommandInputBase = React9.forwardRef(({ className, testid: dataTestId = "command-input", ...props }, ref) => /* @__PURE__ */ jsxs6("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
1526
- /* @__PURE__ */ jsx12(MagnifyingGlass, { className: "mr-2 h-4 w-4 shrink-0 text-primary" }),
1526
+ /* @__PURE__ */ jsx12(MagnifyingGlassIcon, { className: "mr-2 h-4 w-4 shrink-0 text-primary" }),
1527
1527
  /* @__PURE__ */ jsx12(
1528
1528
  CommandPrimitive.Input,
1529
1529
  {
@@ -1585,7 +1585,7 @@ CommandShortcutBase.displayName = "CommandShortcut";
1585
1585
 
1586
1586
  // src/components/ui/ContextMenuBase.tsx
1587
1587
  import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
1588
- import { CaretRight as CaretRight3, Check as Check2, Circle } from "@phosphor-icons/react";
1588
+ import { CaretRightIcon as CaretRightIcon3, CheckIcon as CheckIcon2, CircleIcon } from "@phosphor-icons/react";
1589
1589
  import { jsx as jsx13, jsxs as jsxs7 } from "react/jsx-runtime";
1590
1590
  function ContextMenuBase(props) {
1591
1591
  return /* @__PURE__ */ jsx13(ContextMenuPrimitive.Root, { "data-slot": "context-menu", ...props });
@@ -1627,7 +1627,7 @@ function ContextMenuSubTriggerBase({
1627
1627
  ...props,
1628
1628
  children: [
1629
1629
  children,
1630
- /* @__PURE__ */ jsx13(CaretRight3, { className: "ml-auto" })
1630
+ /* @__PURE__ */ jsx13(CaretRightIcon3, { className: "ml-auto" })
1631
1631
  ]
1632
1632
  }
1633
1633
  );
@@ -1722,7 +1722,7 @@ function ContextMenuCheckboxItemBase({
1722
1722
  checked,
1723
1723
  ...props,
1724
1724
  children: [
1725
- /* @__PURE__ */ jsx13("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx13(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx13(Check2, { className: "size-4" }) }) }),
1725
+ /* @__PURE__ */ jsx13("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx13(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx13(CheckIcon2, { className: "size-4" }) }) }),
1726
1726
  children
1727
1727
  ]
1728
1728
  }
@@ -1747,7 +1747,7 @@ function ContextMenuRadioItemBase({
1747
1747
  ),
1748
1748
  ...props,
1749
1749
  children: [
1750
- /* @__PURE__ */ jsx13("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx13(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx13(Circle, { className: "size-2 fill-current" }) }) }),
1750
+ /* @__PURE__ */ jsx13("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx13(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx13(CircleIcon, { className: "size-2 fill-current" }) }) }),
1751
1751
  children
1752
1752
  ]
1753
1753
  }
@@ -1921,7 +1921,7 @@ function DrawerDescriptionBase({
1921
1921
  // src/components/ui/DropDownMenuBase.tsx
1922
1922
  import * as React10 from "react";
1923
1923
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
1924
- import { Check as Check3, CaretRight as CaretRight4, Circle as Circle2 } from "@phosphor-icons/react";
1924
+ import { CheckIcon as CheckIcon3, CaretRightIcon as CaretRightIcon4, CircleIcon as CircleIcon2 } from "@phosphor-icons/react";
1925
1925
  import { motion as motion3, AnimatePresence as AnimatePresence2 } from "framer-motion";
1926
1926
  import { jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
1927
1927
  var DropDownMenuBase = DropdownMenuPrimitive.Root;
@@ -1942,7 +1942,7 @@ var DropDownMenuSubTriggerBase = React10.forwardRef(({ className, inset, childre
1942
1942
  ...props,
1943
1943
  children: [
1944
1944
  children,
1945
- /* @__PURE__ */ jsx15(CaretRight4, { className: "ml-auto" })
1945
+ /* @__PURE__ */ jsx15(CaretRightIcon4, { className: "ml-auto" })
1946
1946
  ]
1947
1947
  }
1948
1948
  ));
@@ -2015,7 +2015,7 @@ var DropDownMenuCheckboxItemBase = React10.forwardRef(({ className, children, ch
2015
2015
  checked,
2016
2016
  ...props,
2017
2017
  children: [
2018
- /* @__PURE__ */ jsx15("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx15(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx15(Check3, { className: "h-4 w-4" }) }) }),
2018
+ /* @__PURE__ */ jsx15("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx15(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx15(CheckIcon3, { className: "h-4 w-4" }) }) }),
2019
2019
  children
2020
2020
  ]
2021
2021
  }
@@ -2031,7 +2031,7 @@ var DropDownMenuRadioItemBase = React10.forwardRef(({ className, children, ...pr
2031
2031
  ),
2032
2032
  ...props,
2033
2033
  children: [
2034
- /* @__PURE__ */ jsx15("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx15(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx15(Circle2, { className: "h-2 w-2 fill-current" }) }) }),
2034
+ /* @__PURE__ */ jsx15("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx15(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx15(CircleIcon2, { className: "h-2 w-2 fill-current" }) }) }),
2035
2035
  children
2036
2036
  ]
2037
2037
  }
@@ -2178,7 +2178,7 @@ var PopoverContentBase = React13.forwardRef(({ className, align = "center", side
2178
2178
  PopoverContentBase.displayName = PopoverPrimitive.Content.displayName;
2179
2179
 
2180
2180
  // src/components/selects/ComboboxBase.tsx
2181
- import { CaretDown, Check as Check4 } from "@phosphor-icons/react";
2181
+ import { CaretDownIcon, CheckIcon as CheckIcon4 } from "@phosphor-icons/react";
2182
2182
  import { useState as useState2 } from "react";
2183
2183
  import { jsx as jsx19, jsxs as jsxs11 } from "react/jsx-runtime";
2184
2184
  function ComboboxBase({
@@ -2215,7 +2215,7 @@ function ComboboxBase({
2215
2215
  "data-testid": testIds.trigger ?? "combobox-trigger",
2216
2216
  children: [
2217
2217
  renderSelected,
2218
- /* @__PURE__ */ jsx19(CaretDown, { size: 16, className: "mt-0.5" })
2218
+ /* @__PURE__ */ jsx19(CaretDownIcon, { size: 16, className: "mt-0.5" })
2219
2219
  ]
2220
2220
  }
2221
2221
  )
@@ -2257,7 +2257,7 @@ function ComboboxBase({
2257
2257
  children: [
2258
2258
  item.label,
2259
2259
  /* @__PURE__ */ jsx19(
2260
- Check4,
2260
+ CheckIcon4,
2261
2261
  {
2262
2262
  className: cn(
2263
2263
  "ml-auto",
@@ -2334,7 +2334,7 @@ function Combobox({
2334
2334
 
2335
2335
  // src/components/selects/MultiCombobox.tsx
2336
2336
  import { useCallback as useCallback3, useMemo as useMemo2 } from "react";
2337
- import { X as X2 } from "@phosphor-icons/react";
2337
+ import { XIcon as XIcon2 } from "@phosphor-icons/react";
2338
2338
  import { jsx as jsx21, jsxs as jsxs13 } from "react/jsx-runtime";
2339
2339
  function MultiCombobox({
2340
2340
  items,
@@ -2396,7 +2396,7 @@ function MultiCombobox({
2396
2396
  handleSelection(item.value);
2397
2397
  },
2398
2398
  className: "cursor-pointer p-0 m-0 text-xs flex items-center justify-center hover:text-red-500 hover:scale-110 transition-all",
2399
- children: /* @__PURE__ */ jsx21(X2, { size: 14 })
2399
+ children: /* @__PURE__ */ jsx21(XIcon2, { size: 14 })
2400
2400
  }
2401
2401
  )
2402
2402
  ]
@@ -2458,7 +2458,7 @@ TooltipContentBase.displayName = TooltipPrimitive.Content.displayName;
2458
2458
 
2459
2459
  // src/components/ui/FilterBase.tsx
2460
2460
  var import_colors = __toESM(require_colors2());
2461
- import { FunnelSimple, Plus, Trash } from "@phosphor-icons/react";
2461
+ import { FunnelSimpleIcon, PlusIcon, TrashIcon } from "@phosphor-icons/react";
2462
2462
  import { jsx as jsx23, jsxs as jsxs14 } from "react/jsx-runtime";
2463
2463
 
2464
2464
  // src/components/ui/HoverCardBase.tsx
@@ -2500,7 +2500,7 @@ function HoverCardContentBase({
2500
2500
  // src/components/ui/Input-OTP-Base.tsx
2501
2501
  import * as React15 from "react";
2502
2502
  import { OTPInput, OTPInputContext } from "input-otp";
2503
- import { Minus } from "@phosphor-icons/react";
2503
+ import { MinusIcon } from "@phosphor-icons/react";
2504
2504
  import { jsx as jsx25, jsxs as jsxs15 } from "react/jsx-runtime";
2505
2505
  function InputOTPBase({
2506
2506
  className,
@@ -2555,12 +2555,12 @@ function InputOTPSlotBase({
2555
2555
  );
2556
2556
  }
2557
2557
  function InputOTPSeparatorBase({ ...props }) {
2558
- return /* @__PURE__ */ jsx25("div", { "data-slot": "input-otp-separator", role: "separator", ...props, children: /* @__PURE__ */ jsx25(Minus, {}) });
2558
+ return /* @__PURE__ */ jsx25("div", { "data-slot": "input-otp-separator", role: "separator", ...props, children: /* @__PURE__ */ jsx25(MinusIcon, {}) });
2559
2559
  }
2560
2560
 
2561
2561
  // src/components/ui/NavigationMenuBase.tsx
2562
2562
  import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
2563
- import { CaretDownIcon } from "@phosphor-icons/react";
2563
+ import { CaretDownIcon as CaretDownIcon2 } from "@phosphor-icons/react";
2564
2564
  import { jsx as jsx26, jsxs as jsxs16 } from "react/jsx-runtime";
2565
2565
  function NavigationMenuBase({
2566
2566
  className,
@@ -2628,7 +2628,7 @@ function NavigationMenuTriggerBase({
2628
2628
  children: [
2629
2629
  children,
2630
2630
  /* @__PURE__ */ jsx26(
2631
- CaretDownIcon,
2631
+ CaretDownIcon2,
2632
2632
  {
2633
2633
  className: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
2634
2634
  "aria-hidden": "true"
@@ -2758,7 +2758,7 @@ var ProgressSegmentsBase = ({
2758
2758
  )) })
2759
2759
  ] });
2760
2760
  };
2761
- var ArrowRightIcon = () => /* @__PURE__ */ jsx27(
2761
+ var ArrowRightIcon2 = () => /* @__PURE__ */ jsx27(
2762
2762
  "svg",
2763
2763
  {
2764
2764
  className: "w-6 h-6 text-zinc-400 transition-transform duration-300 group-hover:translate-x-1",
@@ -2797,7 +2797,7 @@ var ProgressPanelsBase = ({
2797
2797
  ]
2798
2798
  }
2799
2799
  ),
2800
- !isLast && /* @__PURE__ */ jsx27("div", { className: "flex items-center px-2 group", children: /* @__PURE__ */ jsx27(ArrowRightIcon, {}) })
2800
+ !isLast && /* @__PURE__ */ jsx27("div", { className: "flex items-center px-2 group", children: /* @__PURE__ */ jsx27(ArrowRightIcon2, {}) })
2801
2801
  ] }, idx);
2802
2802
  }) })
2803
2803
  ] });
@@ -2886,7 +2886,7 @@ ScrollBarBase.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
2886
2886
  // src/components/ui/SelectBase.tsx
2887
2887
  import * as React18 from "react";
2888
2888
  import * as SelectPrimitive from "@radix-ui/react-select";
2889
- import { Check as Check5, CaretDown as CaretDown2, CaretUp } from "@phosphor-icons/react";
2889
+ import { CheckIcon as CheckIcon5, CaretDownIcon as CaretDownIcon3, CaretUpIcon } from "@phosphor-icons/react";
2890
2890
  import { motion as motion4, AnimatePresence as AnimatePresence3 } from "framer-motion";
2891
2891
  import { Fragment as Fragment2, jsx as jsx29, jsxs as jsxs19 } from "react/jsx-runtime";
2892
2892
  var SelectBase = SelectPrimitive.Root;
@@ -2909,7 +2909,7 @@ var SelectTriggerBase = React18.forwardRef(({ className, children, open, ...prop
2909
2909
  animate: { rotate: open ? 180 : 0 },
2910
2910
  transition: { duration: 0.3 },
2911
2911
  className: "flex items-center",
2912
- children: /* @__PURE__ */ jsx29(CaretDown2, { className: "h-4 w-4 opacity-50" })
2912
+ children: /* @__PURE__ */ jsx29(CaretDownIcon3, { className: "h-4 w-4 opacity-50" })
2913
2913
  }
2914
2914
  )
2915
2915
  ]
@@ -2925,7 +2925,7 @@ var SelectScrollUpButtonBase = React18.forwardRef(({ className, ...props }, ref)
2925
2925
  className
2926
2926
  ),
2927
2927
  ...props,
2928
- children: /* @__PURE__ */ jsx29(CaretUp, { className: "h-4 w-4" })
2928
+ children: /* @__PURE__ */ jsx29(CaretUpIcon, { className: "h-4 w-4" })
2929
2929
  }
2930
2930
  ));
2931
2931
  SelectScrollUpButtonBase.displayName = SelectPrimitive.ScrollUpButton.displayName;
@@ -2938,7 +2938,7 @@ var SelectScrollDownButtonBase = React18.forwardRef(({ className, ...props }, re
2938
2938
  className
2939
2939
  ),
2940
2940
  ...props,
2941
- children: /* @__PURE__ */ jsx29(CaretDown2, { className: "h-4 w-4" })
2941
+ children: /* @__PURE__ */ jsx29(CaretDownIcon3, { className: "h-4 w-4" })
2942
2942
  }
2943
2943
  ));
2944
2944
  SelectScrollDownButtonBase.displayName = SelectPrimitive.ScrollDownButton.displayName;
@@ -2999,7 +2999,7 @@ var SelectItemBase = React18.forwardRef(({ className, children, ...props }, ref)
2999
2999
  ),
3000
3000
  ...props,
3001
3001
  children: [
3002
- /* @__PURE__ */ jsx29("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx29(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx29(Check5, { className: "h-4 w-4" }) }) }),
3002
+ /* @__PURE__ */ jsx29("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx29(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx29(CheckIcon5, { className: "h-4 w-4" }) }) }),
3003
3003
  /* @__PURE__ */ jsx29(SelectPrimitive.ItemText, { children })
3004
3004
  ]
3005
3005
  }
@@ -3054,7 +3054,7 @@ SeparatorBase.displayName = SeparatorPrimitive.Root.displayName;
3054
3054
  import * as React20 from "react";
3055
3055
  import * as SheetPrimitive from "@radix-ui/react-dialog";
3056
3056
  import { cva as cva3 } from "class-variance-authority";
3057
- import { X as X3 } from "@phosphor-icons/react";
3057
+ import { XIcon as XIcon3 } from "@phosphor-icons/react";
3058
3058
  import { jsx as jsx31, jsxs as jsxs20 } from "react/jsx-runtime";
3059
3059
  var SheetBase = SheetPrimitive.Root;
3060
3060
  var SheetTriggerBase = SheetPrimitive.Trigger;
@@ -3098,7 +3098,7 @@ var SheetContentBase = React20.forwardRef(({ side = "right", className, children
3098
3098
  ...props,
3099
3099
  children: [
3100
3100
  /* @__PURE__ */ jsxs20(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: [
3101
- /* @__PURE__ */ jsx31(X3, { className: "h-4 w-4" }),
3101
+ /* @__PURE__ */ jsx31(XIcon3, { className: "h-4 w-4" }),
3102
3102
  /* @__PURE__ */ jsx31("span", { className: "sr-only", children: "Close" })
3103
3103
  ] }),
3104
3104
  children
@@ -3192,7 +3192,7 @@ function SkeletonBase({
3192
3192
  }
3193
3193
 
3194
3194
  // src/components/ui/SidebarBase.tsx
3195
- import { SidebarSimple } from "@phosphor-icons/react";
3195
+ import { SidebarSimpleIcon } from "@phosphor-icons/react";
3196
3196
  import { jsx as jsx33, jsxs as jsxs21 } from "react/jsx-runtime";
3197
3197
  var SIDEBAR_COOKIE_NAME = "sidebar:state";
3198
3198
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
@@ -3386,7 +3386,7 @@ var SidebarTriggerBase = React22.forwardRef(({ className, onClick, ...props }, r
3386
3386
  ...props,
3387
3387
  children: [
3388
3388
  /* @__PURE__ */ jsx33("span", { className: "sr-only", children: "Toggle SidebarBase" }),
3389
- /* @__PURE__ */ jsx33(SidebarSimple, {})
3389
+ /* @__PURE__ */ jsx33(SidebarSimpleIcon, {})
3390
3390
  ]
3391
3391
  }
3392
3392
  ) });
@@ -4103,7 +4103,7 @@ var TextAreaBase = React27.forwardRef(({ className, ...props }, ref) => {
4103
4103
  TextAreaBase.displayName = "TextAreaBase";
4104
4104
 
4105
4105
  // src/components/mode-toggle.tsx
4106
- import { Check as Check6, Moon, Sun } from "@phosphor-icons/react";
4106
+ import { CheckIcon as CheckIcon6, MoonIcon, SunIcon } from "@phosphor-icons/react";
4107
4107
 
4108
4108
  // src/components/theme-provider.tsx
4109
4109
  import { createContext as createContext3, useContext as useContext4, useEffect as useEffect5, useState as useState6 } from "react";
@@ -4193,8 +4193,8 @@ function ModeToggleBase({
4193
4193
  className: "relative overflow-hidden border-transparent",
4194
4194
  children: [
4195
4195
  /* @__PURE__ */ jsxs23(Fragment3, { children: [
4196
- /* @__PURE__ */ jsx41(Sun, { className: `h-[1.2rem] w-[1.2rem] transition-transform duration-300 ${isDark ? "rotate-90 scale-0" : "rotate-0 scale-100"}` }),
4197
- /* @__PURE__ */ jsx41(Moon, { className: `absolute h-[1.2rem] w-[1.2rem] transition-transform duration-300 ${isDark ? "rotate-0 scale-100" : "rotate-90 scale-0"}` })
4196
+ /* @__PURE__ */ jsx41(SunIcon, { className: `h-[1.2rem] w-[1.2rem] transition-transform duration-300 ${isDark ? "rotate-90 scale-0" : "rotate-0 scale-100"}` }),
4197
+ /* @__PURE__ */ jsx41(MoonIcon, { className: `absolute h-[1.2rem] w-[1.2rem] transition-transform duration-300 ${isDark ? "rotate-0 scale-100" : "rotate-90 scale-0"}` })
4198
4198
  ] }),
4199
4199
  /* @__PURE__ */ jsx41("span", { className: "sr-only", children: "Toggle theme" })
4200
4200
  ]
@@ -4207,7 +4207,7 @@ function ModeToggleBase({
4207
4207
  className: "flex items-center justify-between hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground",
4208
4208
  children: [
4209
4209
  themeLabels[theme],
4210
- currentTheme === theme && /* @__PURE__ */ jsx41(Check6, { className: "h-4 w-4 opacity-100" })
4210
+ currentTheme === theme && /* @__PURE__ */ jsx41(CheckIcon6, { className: "h-4 w-4 opacity-100" })
4211
4211
  ]
4212
4212
  },
4213
4213
  theme
@@ -4221,7 +4221,7 @@ import { add, format } from "date-fns";
4221
4221
  // src/components/date-time-picker/calendar.tsx
4222
4222
  import * as React28 from "react";
4223
4223
  import { DayPicker as DayPicker2 } from "react-day-picker";
4224
- import { CaretLeft as CaretLeft2, CaretRight as CaretRight5, X as X4, Calendar } from "@phosphor-icons/react";
4224
+ import { CaretLeftIcon as CaretLeftIcon2, CaretRightIcon as CaretRightIcon5, XIcon as XIcon4, CalendarIcon } from "@phosphor-icons/react";
4225
4225
  import { motion as motion6 } from "framer-motion";
4226
4226
  import { jsx as jsx42, jsxs as jsxs24 } from "react/jsx-runtime";
4227
4227
  var variants = {
@@ -4318,8 +4318,8 @@ function CalendarBase2({
4318
4318
  ...classNames
4319
4319
  },
4320
4320
  components: {
4321
- IconLeft: () => /* @__PURE__ */ jsx42(CaretLeft2, { className: "h-4 w-4" }),
4322
- IconRight: () => /* @__PURE__ */ jsx42(CaretRight5, { className: "h-4 w-4" })
4321
+ IconLeft: () => /* @__PURE__ */ jsx42(CaretLeftIcon2, { className: "h-4 w-4" }),
4322
+ IconRight: () => /* @__PURE__ */ jsx42(CaretRightIcon5, { className: "h-4 w-4" })
4323
4323
  },
4324
4324
  ...props
4325
4325
  }
@@ -4337,7 +4337,7 @@ import { ptBR } from "date-fns/locale";
4337
4337
  import { useEffect as useEffect6, useState as useState8 } from "react";
4338
4338
 
4339
4339
  // src/components/date-time-picker/TimePicker.tsx
4340
- import { Clock } from "@phosphor-icons/react";
4340
+ import { ClockIcon } from "@phosphor-icons/react";
4341
4341
  import * as React30 from "react";
4342
4342
 
4343
4343
  // src/components/date-time-picker/TimePickerInput.tsx
@@ -4617,12 +4617,12 @@ function TimePicker({ date, setDate, hideSeconds }) {
4617
4617
  }
4618
4618
  )
4619
4619
  ] }),
4620
- /* @__PURE__ */ jsx44("div", { className: "flex h-10 items-center", children: /* @__PURE__ */ jsx44(Clock, { className: "ml-2 h-4 w-4" }) })
4620
+ /* @__PURE__ */ jsx44("div", { className: "flex h-10 items-center", children: /* @__PURE__ */ jsx44(ClockIcon, { className: "ml-2 h-4 w-4" }) })
4621
4621
  ] });
4622
4622
  }
4623
4623
 
4624
4624
  // src/components/date-time-picker/DateTimePicker.tsx
4625
- import { Calendar as Calendar2 } from "@phosphor-icons/react";
4625
+ import { CalendarIcon as CalendarIcon2 } from "@phosphor-icons/react";
4626
4626
  import { Fragment as Fragment4, jsx as jsx45, jsxs as jsxs26 } from "react/jsx-runtime";
4627
4627
  function DateTimePicker({
4628
4628
  label,
@@ -4666,7 +4666,7 @@ function DateTimePicker({
4666
4666
  ),
4667
4667
  children: [
4668
4668
  date ? format(date, "PPP - HH:mm", { locale: ptBR }) : /* @__PURE__ */ jsx45("span", { className: "text-zinc-400", children: "Pick a date" }),
4669
- /* @__PURE__ */ jsx45(Calendar2, { className: "ml-auto text-gray-500", size: 24 })
4669
+ /* @__PURE__ */ jsx45(CalendarIcon2, { className: "ml-auto text-gray-500", size: 24 })
4670
4670
  ]
4671
4671
  }
4672
4672
  ) }),
@@ -4770,7 +4770,7 @@ function Select({
4770
4770
 
4771
4771
  // src/components/ui/DestructiveDialog.tsx
4772
4772
  import * as React31 from "react";
4773
- import { XCircle } from "@phosphor-icons/react";
4773
+ import { XCircleIcon as XCircleIcon2 } from "@phosphor-icons/react";
4774
4774
  import { jsx as jsx47, jsxs as jsxs28 } from "react/jsx-runtime";
4775
4775
  var DestructiveDialog = ({
4776
4776
  title,
@@ -4795,10 +4795,24 @@ var DestructiveDialog = ({
4795
4795
  className: cn("border border-destructive bg-background"),
4796
4796
  children: [
4797
4797
  /* @__PURE__ */ jsxs28("div", { className: "flex items-start gap-4", children: [
4798
- /* @__PURE__ */ jsx47("div", { className: "flex items-center justify-center w-10 h-10 rounded-full ring-1 ring-destructive/30", children: /* @__PURE__ */ jsx47(XCircle, { className: "w-6 h-6 text-destructive" }) }),
4798
+ /* @__PURE__ */ jsx47("div", { className: "flex items-center justify-center w-10 h-10 rounded-full ring-1 ring-destructive/30", children: /* @__PURE__ */ jsx47(XCircleIcon2, { className: "w-6 h-6 text-destructive" }) }),
4799
4799
  /* @__PURE__ */ jsxs28("div", { className: "flex-1", children: [
4800
- /* @__PURE__ */ jsx47(AlertDialogTitleBase, { id: titleId, className: "text-lg sm:text-xl font-semibold text-destructive", children: title }),
4801
- /* @__PURE__ */ jsx47(AlertDialogDescriptionBase, { id: descriptionId, className: "mt-2 text-sm text-muted-foreground", children: description })
4800
+ /* @__PURE__ */ jsx47(
4801
+ AlertDialogTitleBase,
4802
+ {
4803
+ id: titleId,
4804
+ className: "text-lg sm:text-xl font-semibold text-destructive",
4805
+ children: title
4806
+ }
4807
+ ),
4808
+ /* @__PURE__ */ jsx47(
4809
+ AlertDialogDescriptionBase,
4810
+ {
4811
+ id: descriptionId,
4812
+ className: "mt-2 text-sm text-muted-foreground",
4813
+ children: description
4814
+ }
4815
+ )
4802
4816
  ] })
4803
4817
  ] }),
4804
4818
  /* @__PURE__ */ jsxs28(AlertDialogFooterBase, { className: "mt-2 flex justify-end gap-3", children: [
@@ -4807,8 +4821,7 @@ var DestructiveDialog = ({
4807
4821
  {
4808
4822
  onClick: onCancel,
4809
4823
  className: cn(
4810
- buttonVariantsBase({ variant: "outline", size: "sm" }),
4811
- "px-4 py-2",
4824
+ buttonVariantsBase({ variant: "outline", size: "default" }),
4812
4825
  "hover:bg-foreground/5 hover:text-primary hover:opacity-90 hover:shadow-none"
4813
4826
  ),
4814
4827
  children: "Cancelar"
@@ -4818,7 +4831,9 @@ var DestructiveDialog = ({
4818
4831
  AlertDialogActionBase,
4819
4832
  {
4820
4833
  onClick: onConfirm,
4821
- className: cn(buttonVariantsBase({ variant: "destructive", size: "default" }), "px-5 py-2 shadow-lg"),
4834
+ className: cn(
4835
+ buttonVariantsBase({ variant: "destructive", size: "default" })
4836
+ ),
4822
4837
  children: "Confirmar"
4823
4838
  }
4824
4839
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mlw-packages/react-components",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",