@mlw-packages/react-components 1.5.3 → 1.5.5

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.css CHANGED
@@ -3853,9 +3853,6 @@ body {
3853
3853
  background-color: hsl(var(--destructive) / 0.2);
3854
3854
  }
3855
3855
  @media (min-width: 640px) {
3856
- .sm\:mt-0 {
3857
- margin-top: 0px;
3858
- }
3859
3856
  .sm\:flex {
3860
3857
  display: flex;
3861
3858
  }
package/dist/index.js CHANGED
@@ -838,7 +838,7 @@ var AlertDialogFooterBase = ({
838
838
  "div",
839
839
  {
840
840
  className: cn(
841
- "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
841
+ "flex flex-col-reverse sm:flex-row sm:justify-end",
842
842
  className
843
843
  ),
844
844
  ...props
@@ -879,11 +879,7 @@ var AlertDialogCancelBase = React2.forwardRef(({ className, testid = "alertdialo
879
879
  AlertDialogPrimitive.Cancel,
880
880
  {
881
881
  ref,
882
- className: cn(
883
- buttonVariantsBase({ variant: "outline" }),
884
- "mt-2 sm:mt-0",
885
- className
886
- ),
882
+ className: cn(buttonVariantsBase({ variant: "outline" }), className),
887
883
  "data-testid": testid,
888
884
  ...props
889
885
  }
@@ -1205,7 +1201,7 @@ function BreadcrumbSeparatorBase({
1205
1201
  "aria-hidden": "true",
1206
1202
  className: cn("[&>svg]:size-3.5", className),
1207
1203
  ...props,
1208
- children: children ?? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_react.CaretRight, {})
1204
+ children: children ?? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_react.CaretRightIcon, {})
1209
1205
  }
1210
1206
  );
1211
1207
  }
@@ -1222,7 +1218,7 @@ function BreadcrumbEllipsisBase({
1222
1218
  className: cn("flex size-9 items-center justify-center", className),
1223
1219
  ...props,
1224
1220
  children: [
1225
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_react.DotsThree, { className: "size-4" }),
1221
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_react.DotsThreeIcon, { className: "size-4" }),
1226
1222
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "sr-only", children: "More" })
1227
1223
  ]
1228
1224
  }
@@ -1275,8 +1271,8 @@ function CalendarBase({
1275
1271
  ...classNames
1276
1272
  },
1277
1273
  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" })
1274
+ IconLeft: () => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_react2.CaretLeftIcon, { className: "h-4 w-4" }),
1275
+ IconRight: () => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_react2.CaretRightIcon, { className: "h-4 w-4" })
1280
1276
  },
1281
1277
  ...props
1282
1278
  }
@@ -1499,7 +1495,7 @@ function CarouselPrevious({
1499
1495
  onClick: scrollPrev,
1500
1496
  ...props,
1501
1497
  children: [
1502
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react3.ArrowLeft, {}),
1498
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react3.ArrowLeftIcon, {}),
1503
1499
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "sr-only", children: "Previous slide" })
1504
1500
  ]
1505
1501
  }
@@ -1527,7 +1523,7 @@ function CarouselNextBase({
1527
1523
  onClick: scrollNext,
1528
1524
  ...props,
1529
1525
  children: [
1530
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react3.ArrowRight, {}),
1526
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react3.ArrowRightIcon, {}),
1531
1527
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "sr-only", children: "Next slide" })
1532
1528
  ]
1533
1529
  }
@@ -1558,7 +1554,7 @@ var CheckboxBase = React6.forwardRef(({ className, testid: dataTestId = "checkbo
1558
1554
  exit: { scale: 0, opacity: 0, rotate: 90 },
1559
1555
  transition: { type: "spring", stiffness: 500, damping: 30 },
1560
1556
  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" })
1557
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react4.CheckIcon, { className: "h-4 w-4", weight: "bold" })
1562
1558
  }
1563
1559
  ) })
1564
1560
  }
@@ -1590,7 +1586,7 @@ var CollapsibleTriggerBase = React7.forwardRef(({ className, children, leftIcon,
1590
1586
  leftIcon && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "flex-shrink-0 [&>svg]:size-4", children: leftIcon }),
1591
1587
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children })
1592
1588
  ] }),
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" }) })
1589
+ 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
1590
  ]
1595
1591
  }
1596
1592
  );
@@ -1656,7 +1652,7 @@ var DialogContentBase = React8.forwardRef(({ className, children, testid: dataTe
1656
1652
  children: [
1657
1653
  children,
1658
1654
  /* @__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" }),
1655
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react6.XIcon, { className: "h-4 w-4" }),
1660
1656
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "sr-only", children: "Close" })
1661
1657
  ] })
1662
1658
  ]
@@ -1741,7 +1737,7 @@ var CommandDialogBase = ({ children, open, ...props }) => {
1741
1737
  ) }) }) });
1742
1738
  };
1743
1739
  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" }),
1740
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react7.MagnifyingGlassIcon, { className: "mr-2 h-4 w-4 shrink-0 text-primary" }),
1745
1741
  /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1746
1742
  import_cmdk.Command.Input,
1747
1743
  {
@@ -1845,7 +1841,7 @@ function ContextMenuSubTriggerBase({
1845
1841
  ...props,
1846
1842
  children: [
1847
1843
  children,
1848
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react8.CaretRight, { className: "ml-auto" })
1844
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react8.CaretRightIcon, { className: "ml-auto" })
1849
1845
  ]
1850
1846
  }
1851
1847
  );
@@ -1940,7 +1936,7 @@ function ContextMenuCheckboxItemBase({
1940
1936
  checked,
1941
1937
  ...props,
1942
1938
  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" }) }) }),
1939
+ /* @__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
1940
  children
1945
1941
  ]
1946
1942
  }
@@ -1965,7 +1961,7 @@ function ContextMenuRadioItemBase({
1965
1961
  ),
1966
1962
  ...props,
1967
1963
  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" }) }) }),
1964
+ /* @__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
1965
  children
1970
1966
  ]
1971
1967
  }
@@ -2160,7 +2156,7 @@ var DropDownMenuSubTriggerBase = React10.forwardRef(({ className, inset, childre
2160
2156
  ...props,
2161
2157
  children: [
2162
2158
  children,
2163
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_react9.CaretRight, { className: "ml-auto" })
2159
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_react9.CaretRightIcon, { className: "ml-auto" })
2164
2160
  ]
2165
2161
  }
2166
2162
  ));
@@ -2233,7 +2229,7 @@ var DropDownMenuCheckboxItemBase = React10.forwardRef(({ className, children, ch
2233
2229
  checked,
2234
2230
  ...props,
2235
2231
  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" }) }) }),
2232
+ /* @__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
2233
  children
2238
2234
  ]
2239
2235
  }
@@ -2249,7 +2245,7 @@ var DropDownMenuRadioItemBase = React10.forwardRef(({ className, children, ...pr
2249
2245
  ),
2250
2246
  ...props,
2251
2247
  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" }) }) }),
2248
+ /* @__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
2249
  children
2254
2250
  ]
2255
2251
  }
@@ -2433,7 +2429,7 @@ function ComboboxBase({
2433
2429
  "data-testid": testIds.trigger ?? "combobox-trigger",
2434
2430
  children: [
2435
2431
  renderSelected,
2436
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_react10.CaretDown, { size: 16, className: "mt-0.5" })
2432
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_react10.CaretDownIcon, { size: 16, className: "mt-0.5" })
2437
2433
  ]
2438
2434
  }
2439
2435
  )
@@ -2475,7 +2471,7 @@ function ComboboxBase({
2475
2471
  children: [
2476
2472
  item.label,
2477
2473
  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
2478
- import_react10.Check,
2474
+ import_react10.CheckIcon,
2479
2475
  {
2480
2476
  className: cn(
2481
2477
  "ml-auto",
@@ -2614,7 +2610,7 @@ function MultiCombobox({
2614
2610
  handleSelection(item.value);
2615
2611
  },
2616
2612
  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 })
2613
+ children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react14.XIcon, { size: 14 })
2618
2614
  }
2619
2615
  )
2620
2616
  ]
@@ -2773,7 +2769,7 @@ function InputOTPSlotBase({
2773
2769
  );
2774
2770
  }
2775
2771
  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, {}) });
2772
+ 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
2773
  }
2778
2774
 
2779
2775
  // src/components/ui/NavigationMenuBase.tsx
@@ -2976,7 +2972,7 @@ var ProgressSegmentsBase = ({
2976
2972
  )) })
2977
2973
  ] });
2978
2974
  };
2979
- var ArrowRightIcon = () => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2975
+ var ArrowRightIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2980
2976
  "svg",
2981
2977
  {
2982
2978
  className: "w-6 h-6 text-zinc-400 transition-transform duration-300 group-hover:translate-x-1",
@@ -3015,7 +3011,7 @@ var ProgressPanelsBase = ({
3015
3011
  ]
3016
3012
  }
3017
3013
  ),
3018
- !isLast && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "flex items-center px-2 group", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ArrowRightIcon, {}) })
3014
+ !isLast && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "flex items-center px-2 group", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ArrowRightIcon2, {}) })
3019
3015
  ] }, idx);
3020
3016
  }) })
3021
3017
  ] });
@@ -3127,7 +3123,7 @@ var SelectTriggerBase = React18.forwardRef(({ className, children, open, ...prop
3127
3123
  animate: { rotate: open ? 180 : 0 },
3128
3124
  transition: { duration: 0.3 },
3129
3125
  className: "flex items-center",
3130
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react19.CaretDown, { className: "h-4 w-4 opacity-50" })
3126
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react19.CaretDownIcon, { className: "h-4 w-4 opacity-50" })
3131
3127
  }
3132
3128
  )
3133
3129
  ]
@@ -3143,7 +3139,7 @@ var SelectScrollUpButtonBase = React18.forwardRef(({ className, ...props }, ref)
3143
3139
  className
3144
3140
  ),
3145
3141
  ...props,
3146
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react19.CaretUp, { className: "h-4 w-4" })
3142
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react19.CaretUpIcon, { className: "h-4 w-4" })
3147
3143
  }
3148
3144
  ));
3149
3145
  SelectScrollUpButtonBase.displayName = SelectPrimitive.ScrollUpButton.displayName;
@@ -3156,7 +3152,7 @@ var SelectScrollDownButtonBase = React18.forwardRef(({ className, ...props }, re
3156
3152
  className
3157
3153
  ),
3158
3154
  ...props,
3159
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react19.CaretDown, { className: "h-4 w-4" })
3155
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react19.CaretDownIcon, { className: "h-4 w-4" })
3160
3156
  }
3161
3157
  ));
3162
3158
  SelectScrollDownButtonBase.displayName = SelectPrimitive.ScrollDownButton.displayName;
@@ -3217,7 +3213,7 @@ var SelectItemBase = React18.forwardRef(({ className, children, ...props }, ref)
3217
3213
  ),
3218
3214
  ...props,
3219
3215
  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" }) }) }),
3216
+ /* @__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
3217
  /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(SelectPrimitive.ItemText, { children })
3222
3218
  ]
3223
3219
  }
@@ -3316,7 +3312,7 @@ var SheetContentBase = React20.forwardRef(({ side = "right", className, children
3316
3312
  ...props,
3317
3313
  children: [
3318
3314
  /* @__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" }),
3315
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react20.XIcon, { className: "h-4 w-4" }),
3320
3316
  /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "sr-only", children: "Close" })
3321
3317
  ] }),
3322
3318
  children
@@ -3604,7 +3600,7 @@ var SidebarTriggerBase = React22.forwardRef(({ className, onClick, ...props }, r
3604
3600
  ...props,
3605
3601
  children: [
3606
3602
  /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "sr-only", children: "Toggle SidebarBase" }),
3607
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react21.SidebarSimple, {})
3603
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react21.SidebarSimpleIcon, {})
3608
3604
  ]
3609
3605
  }
3610
3606
  ) });
@@ -4405,8 +4401,8 @@ function ModeToggleBase({
4405
4401
  className: "relative overflow-hidden border-transparent",
4406
4402
  children: [
4407
4403
  /* @__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"}` })
4404
+ /* @__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"}` }),
4405
+ /* @__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
4406
  ] }),
4411
4407
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "sr-only", children: "Toggle theme" })
4412
4408
  ]
@@ -4419,7 +4415,7 @@ function ModeToggleBase({
4419
4415
  className: "flex items-center justify-between hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground",
4420
4416
  children: [
4421
4417
  themeLabels[theme],
4422
- currentTheme === theme && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react24.Check, { className: "h-4 w-4 opacity-100" })
4418
+ currentTheme === theme && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react24.CheckIcon, { className: "h-4 w-4 opacity-100" })
4423
4419
  ]
4424
4420
  },
4425
4421
  theme
@@ -4530,8 +4526,8 @@ function CalendarBase2({
4530
4526
  ...classNames
4531
4527
  },
4532
4528
  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" })
4529
+ IconLeft: () => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_react25.CaretLeftIcon, { className: "h-4 w-4" }),
4530
+ IconRight: () => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_react25.CaretRightIcon, { className: "h-4 w-4" })
4535
4531
  },
4536
4532
  ...props
4537
4533
  }
@@ -4829,7 +4825,7 @@ function TimePicker({ date, setDate, hideSeconds }) {
4829
4825
  }
4830
4826
  )
4831
4827
  ] }),
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" }) })
4828
+ /* @__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
4829
  ] });
4834
4830
  }
4835
4831
 
@@ -4878,7 +4874,7 @@ function DateTimePicker({
4878
4874
  ),
4879
4875
  children: [
4880
4876
  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 })
4877
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react29.CalendarIcon, { className: "ml-auto text-gray-500", size: 24 })
4882
4878
  ]
4883
4879
  }
4884
4880
  ) }),
@@ -5007,10 +5003,24 @@ var DestructiveDialog = ({
5007
5003
  className: cn("border border-destructive bg-background"),
5008
5004
  children: [
5009
5005
  /* @__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" }) }),
5006
+ /* @__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
5007
  /* @__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 })
5008
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
5009
+ AlertDialogTitleBase,
5010
+ {
5011
+ id: titleId,
5012
+ className: "text-lg sm:text-xl font-semibold text-destructive",
5013
+ children: title
5014
+ }
5015
+ ),
5016
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
5017
+ AlertDialogDescriptionBase,
5018
+ {
5019
+ id: descriptionId,
5020
+ className: "mt-2 text-sm text-muted-foreground",
5021
+ children: description
5022
+ }
5023
+ )
5014
5024
  ] })
5015
5025
  ] }),
5016
5026
  /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(AlertDialogFooterBase, { className: "mt-2 flex justify-end gap-3", children: [
@@ -5019,8 +5029,7 @@ var DestructiveDialog = ({
5019
5029
  {
5020
5030
  onClick: onCancel,
5021
5031
  className: cn(
5022
- buttonVariantsBase({ variant: "outline", size: "sm" }),
5023
- "px-4 py-2",
5032
+ buttonVariantsBase({ variant: "outline", size: "default" }),
5024
5033
  "hover:bg-foreground/5 hover:text-primary hover:opacity-90 hover:shadow-none"
5025
5034
  ),
5026
5035
  children: "Cancelar"
@@ -5030,7 +5039,9 @@ var DestructiveDialog = ({
5030
5039
  AlertDialogActionBase,
5031
5040
  {
5032
5041
  onClick: onConfirm,
5033
- className: cn(buttonVariantsBase({ variant: "destructive", size: "default" }), "px-5 py-2 shadow-lg"),
5042
+ className: cn(
5043
+ buttonVariantsBase({ variant: "destructive", size: "default" })
5044
+ ),
5034
5045
  children: "Confirmar"
5035
5046
  }
5036
5047
  )
package/dist/index.mjs CHANGED
@@ -620,7 +620,7 @@ var AlertDialogFooterBase = ({
620
620
  "div",
621
621
  {
622
622
  className: cn(
623
- "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
623
+ "flex flex-col-reverse sm:flex-row sm:justify-end",
624
624
  className
625
625
  ),
626
626
  ...props
@@ -661,11 +661,7 @@ var AlertDialogCancelBase = React2.forwardRef(({ className, testid = "alertdialo
661
661
  AlertDialogPrimitive.Cancel,
662
662
  {
663
663
  ref,
664
- className: cn(
665
- buttonVariantsBase({ variant: "outline" }),
666
- "mt-2 sm:mt-0",
667
- className
668
- ),
664
+ className: cn(buttonVariantsBase({ variant: "outline" }), className),
669
665
  "data-testid": testid,
670
666
  ...props
671
667
  }
@@ -918,7 +914,7 @@ function BadgeBase({
918
914
 
919
915
  // src/components/ui/BreadcrumbBase.tsx
920
916
  import { Slot as Slot3 } from "@radix-ui/react-slot";
921
- import { CaretRight, DotsThree } from "@phosphor-icons/react";
917
+ import { CaretRightIcon, DotsThreeIcon } from "@phosphor-icons/react";
922
918
  import { jsx as jsx5, jsxs as jsxs2 } from "react/jsx-runtime";
923
919
  function BreadcrumbBase({ ...props }) {
924
920
  return /* @__PURE__ */ jsx5("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...props });
@@ -987,7 +983,7 @@ function BreadcrumbSeparatorBase({
987
983
  "aria-hidden": "true",
988
984
  className: cn("[&>svg]:size-3.5", className),
989
985
  ...props,
990
- children: children ?? /* @__PURE__ */ jsx5(CaretRight, {})
986
+ children: children ?? /* @__PURE__ */ jsx5(CaretRightIcon, {})
991
987
  }
992
988
  );
993
989
  }
@@ -1004,7 +1000,7 @@ function BreadcrumbEllipsisBase({
1004
1000
  className: cn("flex size-9 items-center justify-center", className),
1005
1001
  ...props,
1006
1002
  children: [
1007
- /* @__PURE__ */ jsx5(DotsThree, { className: "size-4" }),
1003
+ /* @__PURE__ */ jsx5(DotsThreeIcon, { className: "size-4" }),
1008
1004
  /* @__PURE__ */ jsx5("span", { className: "sr-only", children: "More" })
1009
1005
  ]
1010
1006
  }
@@ -1012,7 +1008,7 @@ function BreadcrumbEllipsisBase({
1012
1008
  }
1013
1009
 
1014
1010
  // src/components/ui/CalendarBase.tsx
1015
- import { CaretLeft, CaretRight as CaretRight2 } from "@phosphor-icons/react";
1011
+ import { CaretLeftIcon, CaretRightIcon as CaretRightIcon2 } from "@phosphor-icons/react";
1016
1012
  import { DayPicker } from "react-day-picker";
1017
1013
  import { jsx as jsx6 } from "react/jsx-runtime";
1018
1014
  function CalendarBase({
@@ -1057,8 +1053,8 @@ function CalendarBase({
1057
1053
  ...classNames
1058
1054
  },
1059
1055
  components: {
1060
- IconLeft: () => /* @__PURE__ */ jsx6(CaretLeft, { className: "h-4 w-4" }),
1061
- IconRight: () => /* @__PURE__ */ jsx6(CaretRight2, { className: "h-4 w-4" })
1056
+ IconLeft: () => /* @__PURE__ */ jsx6(CaretLeftIcon, { className: "h-4 w-4" }),
1057
+ IconRight: () => /* @__PURE__ */ jsx6(CaretRightIcon2, { className: "h-4 w-4" })
1062
1058
  },
1063
1059
  ...props
1064
1060
  }
@@ -1128,7 +1124,7 @@ CardFooterBase.displayName = "CardFooter";
1128
1124
  // src/components/ui/CarouselBase.tsx
1129
1125
  import * as React5 from "react";
1130
1126
  import useEmblaCarousel from "embla-carousel-react";
1131
- import { ArrowLeft, ArrowRight } from "@phosphor-icons/react";
1127
+ import { ArrowLeftIcon, ArrowRightIcon } from "@phosphor-icons/react";
1132
1128
  import { jsx as jsx8, jsxs as jsxs3 } from "react/jsx-runtime";
1133
1129
  var CarouselContext = React5.createContext(null);
1134
1130
  function useCarousel() {
@@ -1281,7 +1277,7 @@ function CarouselPrevious({
1281
1277
  onClick: scrollPrev,
1282
1278
  ...props,
1283
1279
  children: [
1284
- /* @__PURE__ */ jsx8(ArrowLeft, {}),
1280
+ /* @__PURE__ */ jsx8(ArrowLeftIcon, {}),
1285
1281
  /* @__PURE__ */ jsx8("span", { className: "sr-only", children: "Previous slide" })
1286
1282
  ]
1287
1283
  }
@@ -1309,7 +1305,7 @@ function CarouselNextBase({
1309
1305
  onClick: scrollNext,
1310
1306
  ...props,
1311
1307
  children: [
1312
- /* @__PURE__ */ jsx8(ArrowRight, {}),
1308
+ /* @__PURE__ */ jsx8(ArrowRightIcon, {}),
1313
1309
  /* @__PURE__ */ jsx8("span", { className: "sr-only", children: "Next slide" })
1314
1310
  ]
1315
1311
  }
@@ -1319,7 +1315,7 @@ function CarouselNextBase({
1319
1315
  // src/components/ui/CheckBoxBase.tsx
1320
1316
  import * as React6 from "react";
1321
1317
  import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
1322
- import { Check } from "@phosphor-icons/react";
1318
+ import { CheckIcon } from "@phosphor-icons/react";
1323
1319
  import { motion } from "framer-motion";
1324
1320
  import { jsx as jsx9 } from "react/jsx-runtime";
1325
1321
  var CheckboxBase = React6.forwardRef(({ className, testid: dataTestId = "checkbox-base", ...props }, ref) => /* @__PURE__ */ jsx9(
@@ -1340,7 +1336,7 @@ var CheckboxBase = React6.forwardRef(({ className, testid: dataTestId = "checkbo
1340
1336
  exit: { scale: 0, opacity: 0, rotate: 90 },
1341
1337
  transition: { type: "spring", stiffness: 500, damping: 30 },
1342
1338
  className: "flex items-center justify-center text-current",
1343
- children: /* @__PURE__ */ jsx9(Check, { className: "h-4 w-4", weight: "bold" })
1339
+ children: /* @__PURE__ */ jsx9(CheckIcon, { className: "h-4 w-4", weight: "bold" })
1344
1340
  }
1345
1341
  ) })
1346
1342
  }
@@ -1350,7 +1346,7 @@ CheckboxBase.displayName = CheckboxPrimitive.Root.displayName;
1350
1346
  // src/components/ui/CollapsibleBase.tsx
1351
1347
  import * as React7 from "react";
1352
1348
  import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
1353
- import { CaretUpDown } from "@phosphor-icons/react";
1349
+ import { CaretUpDownIcon } from "@phosphor-icons/react";
1354
1350
  import { jsx as jsx10, jsxs as jsxs4 } from "react/jsx-runtime";
1355
1351
  var CollapsibleBase = React7.forwardRef(({ ...props }, ref) => {
1356
1352
  return /* @__PURE__ */ jsx10(CollapsiblePrimitive.Root, { ref, "data-slot": "collapsible", ...props });
@@ -1372,7 +1368,7 @@ var CollapsibleTriggerBase = React7.forwardRef(({ className, children, leftIcon,
1372
1368
  leftIcon && /* @__PURE__ */ jsx10("span", { className: "flex-shrink-0 [&>svg]:size-4", children: leftIcon }),
1373
1369
  /* @__PURE__ */ jsx10("span", { children })
1374
1370
  ] }),
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" }) })
1371
+ 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
1372
  ]
1377
1373
  }
1378
1374
  );
@@ -1398,13 +1394,13 @@ CollapsibleContentBase.displayName = CollapsiblePrimitive.CollapsibleContent.dis
1398
1394
  // src/components/ui/CommandBase.tsx
1399
1395
  import * as React9 from "react";
1400
1396
  import { Command as CommandPrimitive } from "cmdk";
1401
- import { MagnifyingGlass } from "@phosphor-icons/react";
1397
+ import { MagnifyingGlassIcon } from "@phosphor-icons/react";
1402
1398
  import { motion as motion2, AnimatePresence } from "framer-motion";
1403
1399
 
1404
1400
  // src/components/ui/DialogBase.tsx
1405
1401
  import * as React8 from "react";
1406
1402
  import * as DialogPrimitive from "@radix-ui/react-dialog";
1407
- import { X } from "@phosphor-icons/react";
1403
+ import { XIcon } from "@phosphor-icons/react";
1408
1404
  import { jsx as jsx11, jsxs as jsxs5 } from "react/jsx-runtime";
1409
1405
  var DialogBase = DialogPrimitive.Root;
1410
1406
  var DialogTriggerBase = DialogPrimitive.Trigger;
@@ -1438,7 +1434,7 @@ var DialogContentBase = React8.forwardRef(({ className, children, testid: dataTe
1438
1434
  children: [
1439
1435
  children,
1440
1436
  /* @__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" }),
1437
+ /* @__PURE__ */ jsx11(XIcon, { className: "h-4 w-4" }),
1442
1438
  /* @__PURE__ */ jsx11("span", { className: "sr-only", children: "Close" })
1443
1439
  ] })
1444
1440
  ]
@@ -1523,7 +1519,7 @@ var CommandDialogBase = ({ children, open, ...props }) => {
1523
1519
  ) }) }) });
1524
1520
  };
1525
1521
  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" }),
1522
+ /* @__PURE__ */ jsx12(MagnifyingGlassIcon, { className: "mr-2 h-4 w-4 shrink-0 text-primary" }),
1527
1523
  /* @__PURE__ */ jsx12(
1528
1524
  CommandPrimitive.Input,
1529
1525
  {
@@ -1585,7 +1581,7 @@ CommandShortcutBase.displayName = "CommandShortcut";
1585
1581
 
1586
1582
  // src/components/ui/ContextMenuBase.tsx
1587
1583
  import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
1588
- import { CaretRight as CaretRight3, Check as Check2, Circle } from "@phosphor-icons/react";
1584
+ import { CaretRightIcon as CaretRightIcon3, CheckIcon as CheckIcon2, CircleIcon } from "@phosphor-icons/react";
1589
1585
  import { jsx as jsx13, jsxs as jsxs7 } from "react/jsx-runtime";
1590
1586
  function ContextMenuBase(props) {
1591
1587
  return /* @__PURE__ */ jsx13(ContextMenuPrimitive.Root, { "data-slot": "context-menu", ...props });
@@ -1627,7 +1623,7 @@ function ContextMenuSubTriggerBase({
1627
1623
  ...props,
1628
1624
  children: [
1629
1625
  children,
1630
- /* @__PURE__ */ jsx13(CaretRight3, { className: "ml-auto" })
1626
+ /* @__PURE__ */ jsx13(CaretRightIcon3, { className: "ml-auto" })
1631
1627
  ]
1632
1628
  }
1633
1629
  );
@@ -1722,7 +1718,7 @@ function ContextMenuCheckboxItemBase({
1722
1718
  checked,
1723
1719
  ...props,
1724
1720
  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" }) }) }),
1721
+ /* @__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
1722
  children
1727
1723
  ]
1728
1724
  }
@@ -1747,7 +1743,7 @@ function ContextMenuRadioItemBase({
1747
1743
  ),
1748
1744
  ...props,
1749
1745
  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" }) }) }),
1746
+ /* @__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
1747
  children
1752
1748
  ]
1753
1749
  }
@@ -1921,7 +1917,7 @@ function DrawerDescriptionBase({
1921
1917
  // src/components/ui/DropDownMenuBase.tsx
1922
1918
  import * as React10 from "react";
1923
1919
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
1924
- import { Check as Check3, CaretRight as CaretRight4, Circle as Circle2 } from "@phosphor-icons/react";
1920
+ import { CheckIcon as CheckIcon3, CaretRightIcon as CaretRightIcon4, CircleIcon as CircleIcon2 } from "@phosphor-icons/react";
1925
1921
  import { motion as motion3, AnimatePresence as AnimatePresence2 } from "framer-motion";
1926
1922
  import { jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
1927
1923
  var DropDownMenuBase = DropdownMenuPrimitive.Root;
@@ -1942,7 +1938,7 @@ var DropDownMenuSubTriggerBase = React10.forwardRef(({ className, inset, childre
1942
1938
  ...props,
1943
1939
  children: [
1944
1940
  children,
1945
- /* @__PURE__ */ jsx15(CaretRight4, { className: "ml-auto" })
1941
+ /* @__PURE__ */ jsx15(CaretRightIcon4, { className: "ml-auto" })
1946
1942
  ]
1947
1943
  }
1948
1944
  ));
@@ -2015,7 +2011,7 @@ var DropDownMenuCheckboxItemBase = React10.forwardRef(({ className, children, ch
2015
2011
  checked,
2016
2012
  ...props,
2017
2013
  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" }) }) }),
2014
+ /* @__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
2015
  children
2020
2016
  ]
2021
2017
  }
@@ -2031,7 +2027,7 @@ var DropDownMenuRadioItemBase = React10.forwardRef(({ className, children, ...pr
2031
2027
  ),
2032
2028
  ...props,
2033
2029
  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" }) }) }),
2030
+ /* @__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
2031
  children
2036
2032
  ]
2037
2033
  }
@@ -2178,7 +2174,7 @@ var PopoverContentBase = React13.forwardRef(({ className, align = "center", side
2178
2174
  PopoverContentBase.displayName = PopoverPrimitive.Content.displayName;
2179
2175
 
2180
2176
  // src/components/selects/ComboboxBase.tsx
2181
- import { CaretDown, Check as Check4 } from "@phosphor-icons/react";
2177
+ import { CaretDownIcon, CheckIcon as CheckIcon4 } from "@phosphor-icons/react";
2182
2178
  import { useState as useState2 } from "react";
2183
2179
  import { jsx as jsx19, jsxs as jsxs11 } from "react/jsx-runtime";
2184
2180
  function ComboboxBase({
@@ -2215,7 +2211,7 @@ function ComboboxBase({
2215
2211
  "data-testid": testIds.trigger ?? "combobox-trigger",
2216
2212
  children: [
2217
2213
  renderSelected,
2218
- /* @__PURE__ */ jsx19(CaretDown, { size: 16, className: "mt-0.5" })
2214
+ /* @__PURE__ */ jsx19(CaretDownIcon, { size: 16, className: "mt-0.5" })
2219
2215
  ]
2220
2216
  }
2221
2217
  )
@@ -2257,7 +2253,7 @@ function ComboboxBase({
2257
2253
  children: [
2258
2254
  item.label,
2259
2255
  /* @__PURE__ */ jsx19(
2260
- Check4,
2256
+ CheckIcon4,
2261
2257
  {
2262
2258
  className: cn(
2263
2259
  "ml-auto",
@@ -2334,7 +2330,7 @@ function Combobox({
2334
2330
 
2335
2331
  // src/components/selects/MultiCombobox.tsx
2336
2332
  import { useCallback as useCallback3, useMemo as useMemo2 } from "react";
2337
- import { X as X2 } from "@phosphor-icons/react";
2333
+ import { XIcon as XIcon2 } from "@phosphor-icons/react";
2338
2334
  import { jsx as jsx21, jsxs as jsxs13 } from "react/jsx-runtime";
2339
2335
  function MultiCombobox({
2340
2336
  items,
@@ -2396,7 +2392,7 @@ function MultiCombobox({
2396
2392
  handleSelection(item.value);
2397
2393
  },
2398
2394
  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 })
2395
+ children: /* @__PURE__ */ jsx21(XIcon2, { size: 14 })
2400
2396
  }
2401
2397
  )
2402
2398
  ]
@@ -2458,7 +2454,7 @@ TooltipContentBase.displayName = TooltipPrimitive.Content.displayName;
2458
2454
 
2459
2455
  // src/components/ui/FilterBase.tsx
2460
2456
  var import_colors = __toESM(require_colors2());
2461
- import { FunnelSimple, Plus, Trash } from "@phosphor-icons/react";
2457
+ import { FunnelSimpleIcon, PlusIcon, TrashIcon } from "@phosphor-icons/react";
2462
2458
  import { jsx as jsx23, jsxs as jsxs14 } from "react/jsx-runtime";
2463
2459
 
2464
2460
  // src/components/ui/HoverCardBase.tsx
@@ -2500,7 +2496,7 @@ function HoverCardContentBase({
2500
2496
  // src/components/ui/Input-OTP-Base.tsx
2501
2497
  import * as React15 from "react";
2502
2498
  import { OTPInput, OTPInputContext } from "input-otp";
2503
- import { Minus } from "@phosphor-icons/react";
2499
+ import { MinusIcon } from "@phosphor-icons/react";
2504
2500
  import { jsx as jsx25, jsxs as jsxs15 } from "react/jsx-runtime";
2505
2501
  function InputOTPBase({
2506
2502
  className,
@@ -2555,12 +2551,12 @@ function InputOTPSlotBase({
2555
2551
  );
2556
2552
  }
2557
2553
  function InputOTPSeparatorBase({ ...props }) {
2558
- return /* @__PURE__ */ jsx25("div", { "data-slot": "input-otp-separator", role: "separator", ...props, children: /* @__PURE__ */ jsx25(Minus, {}) });
2554
+ return /* @__PURE__ */ jsx25("div", { "data-slot": "input-otp-separator", role: "separator", ...props, children: /* @__PURE__ */ jsx25(MinusIcon, {}) });
2559
2555
  }
2560
2556
 
2561
2557
  // src/components/ui/NavigationMenuBase.tsx
2562
2558
  import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
2563
- import { CaretDownIcon } from "@phosphor-icons/react";
2559
+ import { CaretDownIcon as CaretDownIcon2 } from "@phosphor-icons/react";
2564
2560
  import { jsx as jsx26, jsxs as jsxs16 } from "react/jsx-runtime";
2565
2561
  function NavigationMenuBase({
2566
2562
  className,
@@ -2628,7 +2624,7 @@ function NavigationMenuTriggerBase({
2628
2624
  children: [
2629
2625
  children,
2630
2626
  /* @__PURE__ */ jsx26(
2631
- CaretDownIcon,
2627
+ CaretDownIcon2,
2632
2628
  {
2633
2629
  className: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
2634
2630
  "aria-hidden": "true"
@@ -2758,7 +2754,7 @@ var ProgressSegmentsBase = ({
2758
2754
  )) })
2759
2755
  ] });
2760
2756
  };
2761
- var ArrowRightIcon = () => /* @__PURE__ */ jsx27(
2757
+ var ArrowRightIcon2 = () => /* @__PURE__ */ jsx27(
2762
2758
  "svg",
2763
2759
  {
2764
2760
  className: "w-6 h-6 text-zinc-400 transition-transform duration-300 group-hover:translate-x-1",
@@ -2797,7 +2793,7 @@ var ProgressPanelsBase = ({
2797
2793
  ]
2798
2794
  }
2799
2795
  ),
2800
- !isLast && /* @__PURE__ */ jsx27("div", { className: "flex items-center px-2 group", children: /* @__PURE__ */ jsx27(ArrowRightIcon, {}) })
2796
+ !isLast && /* @__PURE__ */ jsx27("div", { className: "flex items-center px-2 group", children: /* @__PURE__ */ jsx27(ArrowRightIcon2, {}) })
2801
2797
  ] }, idx);
2802
2798
  }) })
2803
2799
  ] });
@@ -2886,7 +2882,7 @@ ScrollBarBase.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
2886
2882
  // src/components/ui/SelectBase.tsx
2887
2883
  import * as React18 from "react";
2888
2884
  import * as SelectPrimitive from "@radix-ui/react-select";
2889
- import { Check as Check5, CaretDown as CaretDown2, CaretUp } from "@phosphor-icons/react";
2885
+ import { CheckIcon as CheckIcon5, CaretDownIcon as CaretDownIcon3, CaretUpIcon } from "@phosphor-icons/react";
2890
2886
  import { motion as motion4, AnimatePresence as AnimatePresence3 } from "framer-motion";
2891
2887
  import { Fragment as Fragment2, jsx as jsx29, jsxs as jsxs19 } from "react/jsx-runtime";
2892
2888
  var SelectBase = SelectPrimitive.Root;
@@ -2909,7 +2905,7 @@ var SelectTriggerBase = React18.forwardRef(({ className, children, open, ...prop
2909
2905
  animate: { rotate: open ? 180 : 0 },
2910
2906
  transition: { duration: 0.3 },
2911
2907
  className: "flex items-center",
2912
- children: /* @__PURE__ */ jsx29(CaretDown2, { className: "h-4 w-4 opacity-50" })
2908
+ children: /* @__PURE__ */ jsx29(CaretDownIcon3, { className: "h-4 w-4 opacity-50" })
2913
2909
  }
2914
2910
  )
2915
2911
  ]
@@ -2925,7 +2921,7 @@ var SelectScrollUpButtonBase = React18.forwardRef(({ className, ...props }, ref)
2925
2921
  className
2926
2922
  ),
2927
2923
  ...props,
2928
- children: /* @__PURE__ */ jsx29(CaretUp, { className: "h-4 w-4" })
2924
+ children: /* @__PURE__ */ jsx29(CaretUpIcon, { className: "h-4 w-4" })
2929
2925
  }
2930
2926
  ));
2931
2927
  SelectScrollUpButtonBase.displayName = SelectPrimitive.ScrollUpButton.displayName;
@@ -2938,7 +2934,7 @@ var SelectScrollDownButtonBase = React18.forwardRef(({ className, ...props }, re
2938
2934
  className
2939
2935
  ),
2940
2936
  ...props,
2941
- children: /* @__PURE__ */ jsx29(CaretDown2, { className: "h-4 w-4" })
2937
+ children: /* @__PURE__ */ jsx29(CaretDownIcon3, { className: "h-4 w-4" })
2942
2938
  }
2943
2939
  ));
2944
2940
  SelectScrollDownButtonBase.displayName = SelectPrimitive.ScrollDownButton.displayName;
@@ -2999,7 +2995,7 @@ var SelectItemBase = React18.forwardRef(({ className, children, ...props }, ref)
2999
2995
  ),
3000
2996
  ...props,
3001
2997
  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" }) }) }),
2998
+ /* @__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
2999
  /* @__PURE__ */ jsx29(SelectPrimitive.ItemText, { children })
3004
3000
  ]
3005
3001
  }
@@ -3054,7 +3050,7 @@ SeparatorBase.displayName = SeparatorPrimitive.Root.displayName;
3054
3050
  import * as React20 from "react";
3055
3051
  import * as SheetPrimitive from "@radix-ui/react-dialog";
3056
3052
  import { cva as cva3 } from "class-variance-authority";
3057
- import { X as X3 } from "@phosphor-icons/react";
3053
+ import { XIcon as XIcon3 } from "@phosphor-icons/react";
3058
3054
  import { jsx as jsx31, jsxs as jsxs20 } from "react/jsx-runtime";
3059
3055
  var SheetBase = SheetPrimitive.Root;
3060
3056
  var SheetTriggerBase = SheetPrimitive.Trigger;
@@ -3098,7 +3094,7 @@ var SheetContentBase = React20.forwardRef(({ side = "right", className, children
3098
3094
  ...props,
3099
3095
  children: [
3100
3096
  /* @__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" }),
3097
+ /* @__PURE__ */ jsx31(XIcon3, { className: "h-4 w-4" }),
3102
3098
  /* @__PURE__ */ jsx31("span", { className: "sr-only", children: "Close" })
3103
3099
  ] }),
3104
3100
  children
@@ -3192,7 +3188,7 @@ function SkeletonBase({
3192
3188
  }
3193
3189
 
3194
3190
  // src/components/ui/SidebarBase.tsx
3195
- import { SidebarSimple } from "@phosphor-icons/react";
3191
+ import { SidebarSimpleIcon } from "@phosphor-icons/react";
3196
3192
  import { jsx as jsx33, jsxs as jsxs21 } from "react/jsx-runtime";
3197
3193
  var SIDEBAR_COOKIE_NAME = "sidebar:state";
3198
3194
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
@@ -3386,7 +3382,7 @@ var SidebarTriggerBase = React22.forwardRef(({ className, onClick, ...props }, r
3386
3382
  ...props,
3387
3383
  children: [
3388
3384
  /* @__PURE__ */ jsx33("span", { className: "sr-only", children: "Toggle SidebarBase" }),
3389
- /* @__PURE__ */ jsx33(SidebarSimple, {})
3385
+ /* @__PURE__ */ jsx33(SidebarSimpleIcon, {})
3390
3386
  ]
3391
3387
  }
3392
3388
  ) });
@@ -4103,7 +4099,7 @@ var TextAreaBase = React27.forwardRef(({ className, ...props }, ref) => {
4103
4099
  TextAreaBase.displayName = "TextAreaBase";
4104
4100
 
4105
4101
  // src/components/mode-toggle.tsx
4106
- import { Check as Check6, Moon, Sun } from "@phosphor-icons/react";
4102
+ import { CheckIcon as CheckIcon6, MoonIcon, SunIcon } from "@phosphor-icons/react";
4107
4103
 
4108
4104
  // src/components/theme-provider.tsx
4109
4105
  import { createContext as createContext3, useContext as useContext4, useEffect as useEffect5, useState as useState6 } from "react";
@@ -4193,8 +4189,8 @@ function ModeToggleBase({
4193
4189
  className: "relative overflow-hidden border-transparent",
4194
4190
  children: [
4195
4191
  /* @__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"}` })
4192
+ /* @__PURE__ */ jsx41(SunIcon, { className: `h-[1.2rem] w-[1.2rem] transition-transform duration-300 ${isDark ? "rotate-90 scale-0" : "rotate-0 scale-100"}` }),
4193
+ /* @__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
4194
  ] }),
4199
4195
  /* @__PURE__ */ jsx41("span", { className: "sr-only", children: "Toggle theme" })
4200
4196
  ]
@@ -4207,7 +4203,7 @@ function ModeToggleBase({
4207
4203
  className: "flex items-center justify-between hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground",
4208
4204
  children: [
4209
4205
  themeLabels[theme],
4210
- currentTheme === theme && /* @__PURE__ */ jsx41(Check6, { className: "h-4 w-4 opacity-100" })
4206
+ currentTheme === theme && /* @__PURE__ */ jsx41(CheckIcon6, { className: "h-4 w-4 opacity-100" })
4211
4207
  ]
4212
4208
  },
4213
4209
  theme
@@ -4221,7 +4217,7 @@ import { add, format } from "date-fns";
4221
4217
  // src/components/date-time-picker/calendar.tsx
4222
4218
  import * as React28 from "react";
4223
4219
  import { DayPicker as DayPicker2 } from "react-day-picker";
4224
- import { CaretLeft as CaretLeft2, CaretRight as CaretRight5, X as X4, Calendar } from "@phosphor-icons/react";
4220
+ import { CaretLeftIcon as CaretLeftIcon2, CaretRightIcon as CaretRightIcon5, XIcon as XIcon4, CalendarIcon } from "@phosphor-icons/react";
4225
4221
  import { motion as motion6 } from "framer-motion";
4226
4222
  import { jsx as jsx42, jsxs as jsxs24 } from "react/jsx-runtime";
4227
4223
  var variants = {
@@ -4318,8 +4314,8 @@ function CalendarBase2({
4318
4314
  ...classNames
4319
4315
  },
4320
4316
  components: {
4321
- IconLeft: () => /* @__PURE__ */ jsx42(CaretLeft2, { className: "h-4 w-4" }),
4322
- IconRight: () => /* @__PURE__ */ jsx42(CaretRight5, { className: "h-4 w-4" })
4317
+ IconLeft: () => /* @__PURE__ */ jsx42(CaretLeftIcon2, { className: "h-4 w-4" }),
4318
+ IconRight: () => /* @__PURE__ */ jsx42(CaretRightIcon5, { className: "h-4 w-4" })
4323
4319
  },
4324
4320
  ...props
4325
4321
  }
@@ -4337,7 +4333,7 @@ import { ptBR } from "date-fns/locale";
4337
4333
  import { useEffect as useEffect6, useState as useState8 } from "react";
4338
4334
 
4339
4335
  // src/components/date-time-picker/TimePicker.tsx
4340
- import { Clock } from "@phosphor-icons/react";
4336
+ import { ClockIcon } from "@phosphor-icons/react";
4341
4337
  import * as React30 from "react";
4342
4338
 
4343
4339
  // src/components/date-time-picker/TimePickerInput.tsx
@@ -4617,12 +4613,12 @@ function TimePicker({ date, setDate, hideSeconds }) {
4617
4613
  }
4618
4614
  )
4619
4615
  ] }),
4620
- /* @__PURE__ */ jsx44("div", { className: "flex h-10 items-center", children: /* @__PURE__ */ jsx44(Clock, { className: "ml-2 h-4 w-4" }) })
4616
+ /* @__PURE__ */ jsx44("div", { className: "flex h-10 items-center", children: /* @__PURE__ */ jsx44(ClockIcon, { className: "ml-2 h-4 w-4" }) })
4621
4617
  ] });
4622
4618
  }
4623
4619
 
4624
4620
  // src/components/date-time-picker/DateTimePicker.tsx
4625
- import { Calendar as Calendar2 } from "@phosphor-icons/react";
4621
+ import { CalendarIcon as CalendarIcon2 } from "@phosphor-icons/react";
4626
4622
  import { Fragment as Fragment4, jsx as jsx45, jsxs as jsxs26 } from "react/jsx-runtime";
4627
4623
  function DateTimePicker({
4628
4624
  label,
@@ -4666,7 +4662,7 @@ function DateTimePicker({
4666
4662
  ),
4667
4663
  children: [
4668
4664
  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 })
4665
+ /* @__PURE__ */ jsx45(CalendarIcon2, { className: "ml-auto text-gray-500", size: 24 })
4670
4666
  ]
4671
4667
  }
4672
4668
  ) }),
@@ -4770,7 +4766,7 @@ function Select({
4770
4766
 
4771
4767
  // src/components/ui/DestructiveDialog.tsx
4772
4768
  import * as React31 from "react";
4773
- import { XCircle } from "@phosphor-icons/react";
4769
+ import { XCircleIcon as XCircleIcon2 } from "@phosphor-icons/react";
4774
4770
  import { jsx as jsx47, jsxs as jsxs28 } from "react/jsx-runtime";
4775
4771
  var DestructiveDialog = ({
4776
4772
  title,
@@ -4795,10 +4791,24 @@ var DestructiveDialog = ({
4795
4791
  className: cn("border border-destructive bg-background"),
4796
4792
  children: [
4797
4793
  /* @__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" }) }),
4794
+ /* @__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
4795
  /* @__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 })
4796
+ /* @__PURE__ */ jsx47(
4797
+ AlertDialogTitleBase,
4798
+ {
4799
+ id: titleId,
4800
+ className: "text-lg sm:text-xl font-semibold text-destructive",
4801
+ children: title
4802
+ }
4803
+ ),
4804
+ /* @__PURE__ */ jsx47(
4805
+ AlertDialogDescriptionBase,
4806
+ {
4807
+ id: descriptionId,
4808
+ className: "mt-2 text-sm text-muted-foreground",
4809
+ children: description
4810
+ }
4811
+ )
4802
4812
  ] })
4803
4813
  ] }),
4804
4814
  /* @__PURE__ */ jsxs28(AlertDialogFooterBase, { className: "mt-2 flex justify-end gap-3", children: [
@@ -4807,8 +4817,7 @@ var DestructiveDialog = ({
4807
4817
  {
4808
4818
  onClick: onCancel,
4809
4819
  className: cn(
4810
- buttonVariantsBase({ variant: "outline", size: "sm" }),
4811
- "px-4 py-2",
4820
+ buttonVariantsBase({ variant: "outline", size: "default" }),
4812
4821
  "hover:bg-foreground/5 hover:text-primary hover:opacity-90 hover:shadow-none"
4813
4822
  ),
4814
4823
  children: "Cancelar"
@@ -4818,7 +4827,9 @@ var DestructiveDialog = ({
4818
4827
  AlertDialogActionBase,
4819
4828
  {
4820
4829
  onClick: onConfirm,
4821
- className: cn(buttonVariantsBase({ variant: "destructive", size: "default" }), "px-5 py-2 shadow-lg"),
4830
+ className: cn(
4831
+ buttonVariantsBase({ variant: "destructive", size: "default" })
4832
+ ),
4822
4833
  children: "Confirmar"
4823
4834
  }
4824
4835
  )
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.5",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",