@douglasneuroinformatics/libui 3.9.0 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/README.md +3 -48
  2. package/dist/{chunk-IYOZHDZL.js → chunk-655XRTXX.js} +1 -1
  3. package/dist/{chunk-IYOZHDZL.js.map → chunk-655XRTXX.js.map} +1 -1
  4. package/dist/{chunk-VJSOLDCS.js → chunk-HCQE34RL.js} +1 -1
  5. package/dist/chunk-HCQE34RL.js.map +1 -0
  6. package/dist/{chunk-JTEI2ZYI.js → chunk-KI6BSSS6.js} +3 -4
  7. package/dist/chunk-KI6BSSS6.js.map +1 -0
  8. package/dist/components.d.ts +77 -29
  9. package/dist/components.js +67 -69
  10. package/dist/components.js.map +1 -1
  11. package/dist/hooks.d.ts +1 -1
  12. package/dist/hooks.js +3 -3
  13. package/dist/i18n.d.ts +2 -2
  14. package/dist/i18n.js +1 -1
  15. package/dist/tailwind/globals.css +181 -39
  16. package/dist/{types-CU3FS63U.d.ts → types-CMuti1SJ.d.ts} +2 -2
  17. package/dist/utils.js +1 -1
  18. package/package.json +88 -82
  19. package/src/components/ActionDropdown/ActionDropdown.tsx +1 -1
  20. package/src/components/ArrowToggle/ArrowToggle.spec.tsx +3 -1
  21. package/src/components/ArrowToggle/ArrowToggle.tsx +3 -1
  22. package/src/components/Badge/Badge.tsx +7 -5
  23. package/src/components/Button/Button.tsx +7 -6
  24. package/src/components/Card/Card.tsx +3 -3
  25. package/src/components/Chart/ChartContainer.tsx +1 -1
  26. package/src/components/Checkbox/Checkbox.tsx +1 -1
  27. package/src/components/ClientTable/ClientTable.stories.tsx +12 -9
  28. package/src/components/ClientTable/ClientTable.tsx +3 -3
  29. package/src/components/Collapsible/Collapsible.stories.tsx +3 -3
  30. package/src/components/Command/CommandInput.tsx +1 -1
  31. package/src/components/Command/CommandItem.tsx +1 -1
  32. package/src/components/ContextMenu/ContextMenuCheckboxItem.tsx +1 -1
  33. package/src/components/ContextMenu/ContextMenuItem.tsx +1 -1
  34. package/src/components/ContextMenu/ContextMenuRadioItem.tsx +1 -1
  35. package/src/components/ContextMenu/ContextMenuSubTrigger.tsx +1 -1
  36. package/src/components/CopyButton/CopyButton.tsx +3 -1
  37. package/src/components/DatePicker/DatePicker.tsx +3 -3
  38. package/src/components/Dialog/DialogContent.tsx +2 -2
  39. package/src/components/DropdownButton/DropdownButton.tsx +1 -1
  40. package/src/components/DropdownMenu/DropdownMenuCheckboxItem.tsx +1 -1
  41. package/src/components/DropdownMenu/DropdownMenuItem.tsx +1 -1
  42. package/src/components/DropdownMenu/DropdownMenuRadioItem.tsx +1 -1
  43. package/src/components/DropdownMenu/DropdownMenuSubTrigger.tsx +1 -1
  44. package/src/components/FileDropzone/FileDropzone.stories.tsx +4 -6
  45. package/src/components/FileDropzone/FileDropzone.tsx +2 -1
  46. package/src/components/Form/BooleanField/BooleanField.spec.tsx +3 -1
  47. package/src/components/Form/BooleanField/BooleanField.tsx +5 -2
  48. package/src/components/Form/DateField/DateField.tsx +2 -1
  49. package/src/components/Form/Form.stories.tsx +15 -15
  50. package/src/components/Form/NumberField/NumberField.tsx +7 -3
  51. package/src/components/Form/NumberField/NumberFieldSelect.tsx +2 -1
  52. package/src/components/Form/RecordArrayField.tsx +1 -3
  53. package/src/components/Form/ScalarField.tsx +10 -5
  54. package/src/components/Form/StaticField.tsx +2 -1
  55. package/src/components/Form/StringField/StringField.tsx +9 -4
  56. package/src/components/Form/StringField/StringFieldPassword.tsx +5 -5
  57. package/src/components/Form/StringField/StringFieldSelect.tsx +2 -1
  58. package/src/components/HoverCard/HoverCardContent.tsx +1 -1
  59. package/src/components/Input/Input.tsx +1 -1
  60. package/src/components/Label/Label.tsx +2 -1
  61. package/src/components/LanguageToggle/LanguageToggle.tsx +3 -1
  62. package/src/components/LineGraph/LineGraph.tsx +3 -2
  63. package/src/components/ListboxDropdown/ListboxDropdown.stories.tsx +4 -4
  64. package/src/components/ListboxDropdown/ListboxDropdown.tsx +2 -1
  65. package/src/components/MenuBar/MenuBarCheckboxItem.tsx +1 -1
  66. package/src/components/MenuBar/MenuBarItem.tsx +1 -1
  67. package/src/components/MenuBar/MenuBarRadioItem.tsx +1 -1
  68. package/src/components/MenuBar/MenuBarRoot.tsx +1 -1
  69. package/src/components/MenuBar/MenuBarSubTrigger.tsx +1 -1
  70. package/src/components/MenuBar/MenuBarTrigger.tsx +1 -1
  71. package/src/components/NotificationHub/NotificationHub.tsx +3 -3
  72. package/src/components/NotificationHub/NotificationIcon.tsx +1 -1
  73. package/src/components/Pagination/PaginationLink.tsx +3 -1
  74. package/src/components/Pagination/PaginationPrevious.tsx +3 -1
  75. package/src/components/Popover/PopoverContent.tsx +1 -1
  76. package/src/components/RadioGroup/RadioGroup.spec.tsx +3 -1
  77. package/src/components/RadioGroup/RadioGroupItem.tsx +1 -1
  78. package/src/components/Resizable/Resizable.tsx +7 -3
  79. package/src/components/Resizable/ResizableHandle.tsx +2 -2
  80. package/src/components/SearchBar/SearchBar.tsx +3 -1
  81. package/src/components/Select/SelectItem.tsx +1 -1
  82. package/src/components/Sheet/SheetContent.tsx +3 -2
  83. package/src/components/Slider/Slider.tsx +4 -4
  84. package/src/components/StatisticCard/StatisticCard.tsx +2 -1
  85. package/src/components/Switch/Switch.tsx +2 -2
  86. package/src/components/Tabs/TabsContent.tsx +1 -1
  87. package/src/components/Tabs/TabsTrigger.tsx +1 -1
  88. package/src/components/TextArea/TextArea.tsx +1 -1
  89. package/src/components/ThemeToggle/ThemeToggle.tsx +3 -1
  90. package/src/components/Tooltip/TooltipTrigger.tsx +3 -1
  91. package/src/hooks/useEventListener/useEventListener.ts +2 -1
  92. package/src/hooks/useOnClickOutside/useOnClickOutside.ts +1 -1
  93. package/src/hooks/useStorage/useLocalStorage.ts +3 -1
  94. package/src/hooks/useStorage/useSessionStorage.ts +3 -1
  95. package/src/hooks/useTheme/useTheme.test.ts +14 -11
  96. package/src/i18n/internal.ts +1 -1
  97. package/src/i18n/types.ts +2 -2
  98. package/src/tailwind/globals.css +181 -39
  99. package/src/utils/index.ts +2 -1
  100. package/dist/chunk-JTEI2ZYI.js.map +0 -1
  101. package/dist/chunk-VJSOLDCS.js.map +0 -1
  102. package/dist/tailwind/config.cjs +0 -178
  103. package/dist/tailwind/config.cjs.map +0 -1
  104. package/dist/tailwind/config.d.cts +0 -16
  105. package/src/tailwind/config.cts +0 -174
  106. package/tailwind.config.cjs +0 -3
@@ -5,11 +5,11 @@ import {
5
5
  useNotificationsStore,
6
6
  useTheme,
7
7
  useTranslation
8
- } from "./chunk-JTEI2ZYI.js";
9
- import "./chunk-IYOZHDZL.js";
8
+ } from "./chunk-KI6BSSS6.js";
9
+ import "./chunk-655XRTXX.js";
10
10
  import {
11
11
  cn
12
- } from "./chunk-VJSOLDCS.js";
12
+ } from "./chunk-HCQE34RL.js";
13
13
 
14
14
  // src/components/Accordion/AccordionContent.tsx
15
15
  import { forwardRef } from "react";
@@ -83,7 +83,7 @@ var DropdownButton = forwardRef5(
83
83
  "button",
84
84
  {
85
85
  className: cn(
86
- "flex h-9 w-full items-center gap-2 whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
86
+ "border-input ring-offset-background placeholder:text-muted-foreground focus:ring-ring flex h-9 w-full items-center gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs focus:ring-1 focus:outline-hidden disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
87
87
  children ? "justify-between" : "justify-end",
88
88
  className
89
89
  ),
@@ -113,7 +113,7 @@ var DropdownMenuCheckboxItem = forwardRef6(function DropdownMenuCheckboxItem2({
113
113
  {
114
114
  checked,
115
115
  className: cn(
116
- "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
116
+ "focus:bg-accent focus:text-accent-foreground relative flex w-full cursor-default items-center rounded-xs py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
117
117
  className
118
118
  ),
119
119
  ref,
@@ -156,7 +156,7 @@ var DropdownMenuItem = forwardRef8(function DropdownMenuItem2({ className, inset
156
156
  DropdownMenuPrimitive3.Item,
157
157
  {
158
158
  className: cn(
159
- "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
159
+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-xs px-2 py-1.5 text-sm outline-hidden transition-colors select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
160
160
  inset && "pl-8",
161
161
  className
162
162
  ),
@@ -191,7 +191,7 @@ var DropdownMenuRadioItem = forwardRef10(function DropdownMenuRadioItem2({ child
191
191
  DropdownMenuPrimitive5.RadioItem,
192
192
  {
193
193
  className: cn(
194
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
194
+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden transition-colors select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
195
195
  className
196
196
  ),
197
197
  ref,
@@ -247,7 +247,7 @@ var DropdownMenuSubTrigger = forwardRef13(function DropdownMenuSubTrigger2({ chi
247
247
  DropdownMenuPrimitive8.SubTrigger,
248
248
  {
249
249
  className: cn(
250
- "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",
250
+ "focus:bg-accent data-[state=open]:bg-accent flex cursor-default items-center rounded-xs px-2 py-1.5 text-sm outline-hidden select-none",
251
251
  inset && "pl-8",
252
252
  className
253
253
  ),
@@ -327,7 +327,7 @@ var BUTTON_ICON_SIZE = {
327
327
  sm: 14
328
328
  };
329
329
  var buttonVariants = cva(
330
- "flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
330
+ "flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
331
331
  {
332
332
  defaultVariants: {
333
333
  size: "md",
@@ -341,12 +341,12 @@ var buttonVariants = cva(
341
341
  sm: "h-8 rounded-md px-3 text-xs"
342
342
  },
343
343
  variant: {
344
- danger: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
344
+ danger: "bg-destructive text-destructive-foreground shadow-xs hover:bg-destructive/70",
345
345
  ghost: "hover:bg-accent hover:text-accent-foreground",
346
346
  link: "text-primary underline-offset-4 hover:underline",
347
- outline: "border border-input bg-inherit shadow-sm",
348
- primary: "bg-primary text-primary-foreground shadow hover:bg-primary/90",
349
- secondary: "bg-secondary border text-secondary-foreground shadow-sm hover:bg-secondary/80"
347
+ outline: "border border-input bg-inherit shadow-xs",
348
+ primary: "bg-primary text-primary-foreground shadow-sm hover:bg-primary/90",
349
+ secondary: "bg-secondary border text-secondary-foreground shadow-xs hover:bg-secondary/10"
350
350
  }
351
351
  }
352
352
  }
@@ -547,15 +547,15 @@ import "react";
547
547
  import { cva as cva2 } from "class-variance-authority";
548
548
  import { jsx as jsx29 } from "react/jsx-runtime";
549
549
  var badgeVariants = cva2(
550
- "inline-flex items-center rounded-sm border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
550
+ "inline-flex items-center rounded-xs border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2",
551
551
  {
552
552
  defaultVariants: {
553
553
  variant: "default"
554
554
  },
555
555
  variants: {
556
556
  variant: {
557
- default: "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",
558
- destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
557
+ default: "border-transparent bg-primary text-primary-foreground shadow-sm hover:bg-primary/80",
558
+ destructive: "border-transparent bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/80",
559
559
  outline: "text-foreground",
560
560
  secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80"
561
561
  }
@@ -665,7 +665,7 @@ var CardRoot = React10.forwardRef(function CardRoot2({ className, ...props }, re
665
665
  return /* @__PURE__ */ jsx37(
666
666
  "div",
667
667
  {
668
- className: cn("rounded-xl border bg-card text-card-foreground shadow", className),
668
+ className: cn("bg-card text-card-foreground rounded-xl border shadow-sm", className),
669
669
  "data-testid": "card",
670
670
  ref,
671
671
  ...props
@@ -674,12 +674,12 @@ var CardRoot = React10.forwardRef(function CardRoot2({ className, ...props }, re
674
674
  });
675
675
  var Card = Object.assign(CardRoot, {
676
676
  Content: ({ className, ...props }) => /* @__PURE__ */ jsx37("div", { className: cn("p-6 pt-0", className), ...props }),
677
- Description: ({ className, ...props }) => /* @__PURE__ */ jsx37("p", { className: cn("text-sm text-muted-foreground", className), ...props }),
677
+ Description: ({ className, ...props }) => /* @__PURE__ */ jsx37("p", { className: cn("text-muted-foreground text-sm", className), ...props }),
678
678
  Footer: ({ className, ...props }) => {
679
679
  return /* @__PURE__ */ jsx37("div", { className: cn("flex items-center p-6 pt-0", className), ...props });
680
680
  },
681
681
  Header: ({ className, ...props }) => /* @__PURE__ */ jsx37("div", { className: cn("flex flex-col space-y-1.5 p-6", className), ...props }),
682
- Title: ({ children, className, ...props }) => /* @__PURE__ */ jsx37("h3", { className: cn("font-semibold leading-none tracking-tight", className), ...props, children })
682
+ Title: ({ children, className, ...props }) => /* @__PURE__ */ jsx37("h3", { className: cn("leading-none font-semibold tracking-tight", className), ...props, children })
683
683
  });
684
684
 
685
685
  // src/components/Chart/Chart.tsx
@@ -696,7 +696,7 @@ var ChartContainer = forwardRef31(function ChartContainer2({ children, className
696
696
  "div",
697
697
  {
698
698
  className: cn(
699
- "[&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",
699
+ "[&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border flex aspect-video justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden",
700
700
  className
701
701
  ),
702
702
  "data-chart": chartId,
@@ -918,7 +918,7 @@ var Checkbox = forwardRef34(function Checkbox2({ className, ...props }, ref) {
918
918
  CheckboxPrimitive.Root,
919
919
  {
920
920
  className: cn(
921
- "peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",
921
+ "peer border-primary focus-visible:ring-ring data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground h-4 w-4 shrink-0 rounded-xs border shadow-sm focus-visible:ring-1 focus-visible:outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
922
922
  className
923
923
  ),
924
924
  "data-testid": "checkbox",
@@ -1149,8 +1149,8 @@ var ClientTable = ({
1149
1149
  const currentEntries = data.slice(firstEntry - 1, lastEntry);
1150
1150
  const nRows = Math.max(currentEntries.length, minRows ?? -1);
1151
1151
  return /* @__PURE__ */ jsxs14("div", { className, ...props, "data-testid": "ClientTable", children: [
1152
- /* @__PURE__ */ jsx52("div", { className: "rounded-md border bg-card tracking-tight text-muted-foreground shadow-sm", children: /* @__PURE__ */ jsxs14(Table, { children: [
1153
- /* @__PURE__ */ jsx52(Table.Header, { children: /* @__PURE__ */ jsx52(Table.Row, { children: columns.map((column, i) => /* @__PURE__ */ jsx52(Table.Head, { className: "whitespace-nowrap text-foreground", children: columnDropdownOptions ? /* @__PURE__ */ jsxs14(DropdownMenu, { children: [
1152
+ /* @__PURE__ */ jsx52("div", { className: "bg-card text-muted-foreground rounded-md border tracking-tight shadow-xs", children: /* @__PURE__ */ jsxs14(Table, { children: [
1153
+ /* @__PURE__ */ jsx52(Table.Header, { children: /* @__PURE__ */ jsx52(Table.Row, { children: columns.map((column, i) => /* @__PURE__ */ jsx52(Table.Head, { className: "text-foreground whitespace-nowrap", children: columnDropdownOptions ? /* @__PURE__ */ jsxs14(DropdownMenu, { children: [
1154
1154
  /* @__PURE__ */ jsxs14(DropdownMenu.Trigger, { className: "flex items-center justify-between gap-3", children: [
1155
1155
  /* @__PURE__ */ jsx52("span", { children: column.label }),
1156
1156
  /* @__PURE__ */ jsx52(ChevronDownIcon3, {})
@@ -1195,7 +1195,7 @@ var ClientTable = ({
1195
1195
  Table.Cell,
1196
1196
  {
1197
1197
  className: cn(
1198
- "text-ellipsis leading-none",
1198
+ "leading-none text-ellipsis",
1199
1199
  !entry && "opacity-0",
1200
1200
  // safari does not include borders if invisible
1201
1201
  noWrap && "max-w-3xl overflow-hidden text-ellipsis whitespace-nowrap"
@@ -1287,7 +1287,7 @@ var CommandInput = forwardRef46(function CommandInput2({ className, ...props },
1287
1287
  CommandPrimitive3.Input,
1288
1288
  {
1289
1289
  className: cn(
1290
- "flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
1290
+ "placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
1291
1291
  className
1292
1292
  ),
1293
1293
  ref,
@@ -1307,7 +1307,7 @@ var CommandItem = forwardRef47(function CommandItem2({ className, ...props }, re
1307
1307
  CommandPrimitive4.Item,
1308
1308
  {
1309
1309
  className: cn(
1310
- "relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50",
1310
+ "aria-selected:bg-accent aria-selected:text-accent-foreground relative flex cursor-pointer items-center rounded-xs px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50",
1311
1311
  className
1312
1312
  ),
1313
1313
  ref,
@@ -1385,7 +1385,7 @@ var ContextMenuCheckboxItem = forwardRef51(function ContextMenuCheckboxItem2({ c
1385
1385
  {
1386
1386
  checked,
1387
1387
  className: cn(
1388
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
1388
+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
1389
1389
  className
1390
1390
  ),
1391
1391
  ref,
@@ -1425,7 +1425,7 @@ var ContextMenuItem = forwardRef53(function ContextMenuItem2({ className, inset,
1425
1425
  ContextMenuPrimitive3.Item,
1426
1426
  {
1427
1427
  className: cn(
1428
- "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
1428
+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-xs px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
1429
1429
  inset && "pl-8",
1430
1430
  className
1431
1431
  ),
@@ -1460,7 +1460,7 @@ var ContextMenuRadioItem = forwardRef55(function ContextMenuRadioItem2({ childre
1460
1460
  ContextMenuPrimitive5.RadioItem,
1461
1461
  {
1462
1462
  className: cn(
1463
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
1463
+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
1464
1464
  className
1465
1465
  ),
1466
1466
  ref,
@@ -1516,7 +1516,7 @@ var ContextMenuSubTrigger = forwardRef58(function ContextMenuSubTrigger2({ child
1516
1516
  ContextMenuPrimitive8.SubTrigger,
1517
1517
  {
1518
1518
  className: cn(
1519
- "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
1519
+ "focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-xs px-2 py-1.5 text-sm outline-hidden select-none",
1520
1520
  inset && "pl-8",
1521
1521
  className
1522
1522
  ),
@@ -1733,12 +1733,12 @@ var MONTHS = [
1733
1733
  var reducer = (previousDate, action) => {
1734
1734
  const newDate = new Date(previousDate.valueOf());
1735
1735
  switch (action.type) {
1736
- case "increment":
1737
- newDate.setMonth(newDate.getMonth() + 1);
1738
- break;
1739
1736
  case "decrement":
1740
1737
  newDate.setMonth(newDate.getMonth() - 1);
1741
1738
  break;
1739
+ case "increment":
1740
+ newDate.setMonth(newDate.getMonth() + 1);
1741
+ break;
1742
1742
  case "set-year":
1743
1743
  newDate.setFullYear(action.value);
1744
1744
  }
@@ -1879,14 +1879,14 @@ var DialogContent = forwardRef64(function DialogContent2({ children, className,
1879
1879
  Content6,
1880
1880
  {
1881
1881
  className: cn(
1882
- "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
1882
+ "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg",
1883
1883
  className
1884
1884
  ),
1885
1885
  ref,
1886
1886
  ...props,
1887
1887
  children: [
1888
1888
  children,
1889
- /* @__PURE__ */ jsx79(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: /* @__PURE__ */ jsx79(XIcon, { className: "h-4 w-4" }) })
1889
+ /* @__PURE__ */ jsx79(Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: /* @__PURE__ */ jsx79(XIcon, { className: "h-4 w-4" }) })
1890
1890
  ]
1891
1891
  }
1892
1892
  )
@@ -2172,7 +2172,7 @@ var Input = React26.forwardRef(function Input2({ className, type, ...props }, re
2172
2172
  {
2173
2173
  autoComplete: "off",
2174
2174
  className: cn(
2175
- "flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground placeholder:opacity-80 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
2175
+ "border-input placeholder:text-muted-foreground focus-visible:ring-ring flex h-9 w-full rounded-md border bg-transparent px-3 py-1 text-sm shadow-xs transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:opacity-80 focus-visible:ring-1 focus-visible:outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
2176
2176
  className
2177
2177
  ),
2178
2178
  "data-testid": "input",
@@ -2214,7 +2214,7 @@ var PopoverContent = React27.forwardRef(
2214
2214
  align,
2215
2215
  asChild,
2216
2216
  className: cn(
2217
- "z-50 w-72 rounded-md border bg-popover px-3 py-1.5 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
2217
+ "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 rounded-md border px-3 py-1.5 shadow-md outline-hidden",
2218
2218
  className
2219
2219
  ),
2220
2220
  collisionPadding,
@@ -2337,7 +2337,7 @@ var RadioGroupItem = forwardRef73(function RadioGroupItem2({ className, ...props
2337
2337
  RadioGroupPrimitive.Item,
2338
2338
  {
2339
2339
  className: cn(
2340
- "flex aspect-square h-4 w-4 items-center justify-center rounded-full border border-primary text-primary shadow focus:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
2340
+ "border-primary text-primary focus-visible:ring-ring flex aspect-square h-4 w-4 items-center justify-center rounded-full border shadow-sm focus:outline-hidden focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50",
2341
2341
  className
2342
2342
  ),
2343
2343
  ref,
@@ -2496,7 +2496,7 @@ var SelectItem = forwardRef78(function SelectItem2({ children, className, ...pro
2496
2496
  SelectPrimitive4.Item,
2497
2497
  {
2498
2498
  className: cn(
2499
- "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
2499
+ "focus:bg-accent focus:text-accent-foreground relative flex w-full cursor-default items-center rounded-xs py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
2500
2500
  className
2501
2501
  ),
2502
2502
  ref,
@@ -2585,7 +2585,7 @@ var Slider = forwardRef82(
2585
2585
  return /* @__PURE__ */ jsxs33(
2586
2586
  Root13,
2587
2587
  {
2588
- className: cn("relative flex w-full touch-none select-none items-center py-1.5", className),
2588
+ className: cn("relative flex w-full touch-none items-center py-1.5 select-none", className),
2589
2589
  disabled,
2590
2590
  ref,
2591
2591
  ...props,
@@ -2594,16 +2594,16 @@ var Slider = forwardRef82(
2594
2594
  Track,
2595
2595
  {
2596
2596
  "aria-disabled": disabled,
2597
- className: "relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary opacity-15 aria-disabled:cursor-not-allowed aria-disabled:opacity-10",
2597
+ className: "bg-primary relative h-1.5 w-full grow overflow-hidden rounded-full opacity-15 aria-disabled:cursor-not-allowed aria-disabled:opacity-10",
2598
2598
  "data-testid": "slider-track",
2599
- children: /* @__PURE__ */ jsx113(Range, { className: "absolute h-full bg-primary" })
2599
+ children: /* @__PURE__ */ jsx113(Range, { className: "bg-primary absolute h-full" })
2600
2600
  }
2601
2601
  ),
2602
2602
  /* @__PURE__ */ jsx113(
2603
2603
  Thumb,
2604
2604
  {
2605
2605
  "aria-disabled": disabled,
2606
- className: "block h-4 w-4 rounded-full border border-slate-500 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring aria-disabled:cursor-not-allowed",
2606
+ className: "bg-background focus-visible:ring-ring block h-4 w-4 rounded-full border border-slate-500 shadow-sm transition-colors focus-visible:ring-1 focus-visible:outline-hidden aria-disabled:cursor-not-allowed",
2607
2607
  "data-testid": "slider-thumb"
2608
2608
  }
2609
2609
  )
@@ -3053,14 +3053,14 @@ var StringFieldPassword = ({
3053
3053
  /* @__PURE__ */ jsxs42(
3054
3054
  "button",
3055
3055
  {
3056
- className: "absolute right-0 flex h-full w-8 items-center justify-center text-muted-foreground",
3056
+ className: "text-muted-foreground absolute right-0 flex h-full w-8 items-center justify-center",
3057
3057
  disabled: disabled || readOnly,
3058
3058
  tabIndex: -1,
3059
3059
  type: "button",
3060
3060
  onClick: () => setShow(!show),
3061
3061
  children: [
3062
- /* @__PURE__ */ jsx125(EyeIcon, { className: cn("absolute transition-all", show ? "-rotate-90 scale-0" : "rotate-0 scale-100") }),
3063
- /* @__PURE__ */ jsx125(EyeOffIcon, { className: cn("absolute transition-all", !show ? "rotate-90 scale-0" : "rotate-0 scale-100") })
3062
+ /* @__PURE__ */ jsx125(EyeIcon, { className: cn("absolute transition-all", show ? "scale-0 -rotate-90" : "scale-100 rotate-0") }),
3063
+ /* @__PURE__ */ jsx125(EyeOffIcon, { className: cn("absolute transition-all", !show ? "scale-0 rotate-90" : "scale-100 rotate-0") })
3064
3064
  ]
3065
3065
  }
3066
3066
  )
@@ -3069,14 +3069,14 @@ var StringFieldPassword = ({
3069
3069
  motion4.div,
3070
3070
  {
3071
3071
  animate: { width: `${Math.max(strength * 25, 5)}%` },
3072
- className: "h-1 w-full overflow-hidden rounded",
3072
+ className: "h-1 w-full overflow-hidden rounded-sm",
3073
3073
  initial: { width: "5%" },
3074
3074
  transition: { duration: 0.5 },
3075
3075
  children: /* @__PURE__ */ jsx125(
3076
3076
  "div",
3077
3077
  {
3078
3078
  className: cn(
3079
- "h-full w-full bg-destructive transition-colors duration-500",
3079
+ "bg-destructive h-full w-full transition-colors duration-500",
3080
3080
  strength === 2 && "bg-yellow-500 dark:bg-yellow-700",
3081
3081
  strength === 3 && "bg-sky-500 dark:bg-sky-700",
3082
3082
  strength === 4 && "bg-green-500 dark:bg-green-700"
@@ -3187,7 +3187,7 @@ var TextArea = React32.forwardRef(function TextArea2({ className, ...props }, re
3187
3187
  {
3188
3188
  autoComplete: "off",
3189
3189
  className: cn(
3190
- "flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground placeholder:opacity-80 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
3190
+ "border-input placeholder:text-muted-foreground focus-visible:ring-ring flex min-h-[60px] w-full rounded-md border bg-transparent px-3 py-2 text-sm shadow-xs placeholder:opacity-80 focus-visible:ring-1 focus-visible:outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
3191
3191
  className
3192
3192
  ),
3193
3193
  "data-testid": "text-area",
@@ -3315,9 +3315,7 @@ var RecordArrayField = memo(function RecordArrayField2({
3315
3315
  readOnly: disabled || readOnly,
3316
3316
  setError: (error) => {
3317
3317
  const newArrayError = arrayError ? [...arrayError] : [];
3318
- if (!newArrayError[i]) {
3319
- newArrayError[i] = {};
3320
- }
3318
+ newArrayError[i] ?? (newArrayError[i] = {});
3321
3319
  newArrayError[i][name] = error;
3322
3320
  setArrayError(newArrayError);
3323
3321
  },
@@ -3659,7 +3657,7 @@ var HoverCardContent = forwardRef84(function HoverCardContent2({ align = "center
3659
3657
  {
3660
3658
  align,
3661
3659
  className: cn(
3662
- "z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
3660
+ "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-64 rounded-md border p-4 shadow-md outline-hidden",
3663
3661
  className
3664
3662
  ),
3665
3663
  ref,
@@ -3862,7 +3860,7 @@ var MenuBarCheckboxItem = forwardRef85(function MenuBarCheckboxItem2({ checked,
3862
3860
  {
3863
3861
  checked,
3864
3862
  className: cn(
3865
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
3863
+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
3866
3864
  className
3867
3865
  ),
3868
3866
  ref,
@@ -3905,7 +3903,7 @@ var MenuBarItem = forwardRef87(function MenuBarItem2({ className, inset, ...prop
3905
3903
  Item6,
3906
3904
  {
3907
3905
  className: cn(
3908
- "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
3906
+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-xs px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
3909
3907
  inset && "pl-8",
3910
3908
  className
3911
3909
  ),
@@ -3933,7 +3931,7 @@ var MenuBarRadioItem = forwardRef89(function MenuBarRadioItem2({ children, class
3933
3931
  RadioItem3,
3934
3932
  {
3935
3933
  className: cn(
3936
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
3934
+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
3937
3935
  className
3938
3936
  ),
3939
3937
  ref,
@@ -3955,7 +3953,7 @@ var MenuBarRoot = forwardRef90(
3955
3953
  return /* @__PURE__ */ jsx146(
3956
3954
  Root15,
3957
3955
  {
3958
- className: cn("flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm", className),
3956
+ className: cn("bg-background flex h-9 items-center space-x-1 rounded-md border p-1 shadow-xs", className),
3959
3957
  ref,
3960
3958
  ...props
3961
3959
  }
@@ -4006,7 +4004,7 @@ var MenuBarSubTrigger = forwardRef93(function MenuBarSubTrigger2({ children, cla
4006
4004
  SubTrigger3,
4007
4005
  {
4008
4006
  className: cn(
4009
- "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
4007
+ "focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-xs px-2 py-1.5 text-sm outline-hidden select-none",
4010
4008
  inset && "pl-8",
4011
4009
  className
4012
4010
  ),
@@ -4029,7 +4027,7 @@ var MenuBarTrigger = forwardRef94(function MenuBarTrigger2({ className, ...props
4029
4027
  Trigger9,
4030
4028
  {
4031
4029
  className: cn(
4032
- "flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
4030
+ "focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-xs px-3 py-1 text-sm font-medium outline-hidden select-none",
4033
4031
  className
4034
4032
  ),
4035
4033
  ref,
@@ -4165,11 +4163,11 @@ var NotificationHub = ({ timeout = 5e3 }) => {
4165
4163
  /* @__PURE__ */ jsxs54("div", { className: "p-4", children: [
4166
4164
  /* @__PURE__ */ jsxs54("div", { className: "mb-2 flex items-center", children: [
4167
4165
  /* @__PURE__ */ jsx153(NotificationIcon, { type: item.type }),
4168
- /* @__PURE__ */ jsx153("h5", { className: "ml-3 flex-grow font-medium text-slate-900 dark:text-slate-100", children: item.title ?? t(`notifications.types.${item.type}`) }),
4166
+ /* @__PURE__ */ jsx153("h5", { className: "ml-3 grow font-medium text-slate-900 dark:text-slate-100", children: item.title ?? t(`notifications.types.${item.type}`) }),
4169
4167
  /* @__PURE__ */ jsx153(
4170
4168
  "button",
4171
4169
  {
4172
- className: "inline-flex rounded-md text-slate-400 hover:text-slate-500 focus:outline-none focus:ring-1 focus:ring-sky-500 dark:focus:ring-sky-600",
4170
+ className: "inline-flex rounded-md text-slate-400 hover:text-slate-500 focus:ring-1 focus:ring-sky-500 focus:outline-hidden dark:focus:ring-sky-600",
4173
4171
  type: "button",
4174
4172
  onClick: () => {
4175
4173
  dismissNotification(item.id);
@@ -4178,7 +4176,7 @@ var NotificationHub = ({ timeout = 5e3 }) => {
4178
4176
  }
4179
4177
  )
4180
4178
  ] }),
4181
- /* @__PURE__ */ jsx153("p", { className: "my-2 text-muted-foreground", children: item.message })
4179
+ /* @__PURE__ */ jsx153("p", { className: "text-muted-foreground my-2", children: item.message })
4182
4180
  ] }),
4183
4181
  /* @__PURE__ */ jsx153(
4184
4182
  motion5.div,
@@ -4317,11 +4315,11 @@ var ResizableHandle = ({ className, withHandle, ...props }) => /* @__PURE__ */ j
4317
4315
  PanelResizeHandle,
4318
4316
  {
4319
4317
  className: cn(
4320
- "relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",
4318
+ "bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[data-panel-group-direction=vertical]>div]:rotate-90",
4321
4319
  className
4322
4320
  ),
4323
4321
  ...props,
4324
- children: withHandle && /* @__PURE__ */ jsx162("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border", children: /* @__PURE__ */ jsx162(GripVertical, { className: "h-2.5 w-2.5" }) })
4322
+ children: withHandle && /* @__PURE__ */ jsx162("div", { className: "bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border", children: /* @__PURE__ */ jsx162(GripVertical, { className: "h-2.5 w-2.5" }) })
4325
4323
  }
4326
4324
  );
4327
4325
 
@@ -4461,7 +4459,7 @@ var SheetContent = React49.forwardRef(function SheetContent2({ children, classNa
4461
4459
  /* @__PURE__ */ jsx169(SheetOverlay, {}),
4462
4460
  /* @__PURE__ */ jsxs59(Content11, { className: cn(sheetVariants({ side }), className), ref, ...props, children: [
4463
4461
  children,
4464
- /* @__PURE__ */ jsxs59(Close2, { 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: [
4462
+ /* @__PURE__ */ jsxs59(Close2, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
4465
4463
  /* @__PURE__ */ jsx169(XIcon3, { className: "h-4 w-4" }),
4466
4464
  /* @__PURE__ */ jsx169("span", { className: "sr-only", children: "Close" })
4467
4465
  ] })
@@ -4578,7 +4576,7 @@ var Switch = forwardRef101(function Switch2({ className, ...props }, ref) {
4578
4576
  SwitchPrimitives.Root,
4579
4577
  {
4580
4578
  className: cn(
4581
- "peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",
4579
+ "peer focus-visible:ring-ring focus-visible:ring-offset-background data-[state=checked]:bg-primary data-[state=unchecked]:bg-input inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-xs transition-colors focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
4582
4580
  className
4583
4581
  ),
4584
4582
  ...props,
@@ -4587,7 +4585,7 @@ var Switch = forwardRef101(function Switch2({ className, ...props }, ref) {
4587
4585
  SwitchPrimitives.Thumb,
4588
4586
  {
4589
4587
  className: cn(
4590
- "pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0"
4588
+ "bg-background pointer-events-none block h-4 w-4 rounded-full shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0"
4591
4589
  )
4592
4590
  }
4593
4591
  )
@@ -4604,7 +4602,7 @@ var TabsContent = forwardRef102(function TabsContent2({ className, ...props }, r
4604
4602
  TabsPrimitive.Content,
4605
4603
  {
4606
4604
  className: cn(
4607
- "mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
4605
+ "ring-offset-background focus-visible:ring-ring mt-2 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-hidden",
4608
4606
  className
4609
4607
  ),
4610
4608
  ref,
@@ -4650,7 +4648,7 @@ var TabsTrigger = forwardRef105(function TabsTrigger2({ className, ...props }, r
4650
4648
  TabsPrimitive3.Trigger,
4651
4649
  {
4652
4650
  className: cn(
4653
- "inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",
4651
+ "ring-offset-background focus-visible:ring-ring data-[state=active]:bg-background data-[state=active]:text-foreground inline-flex items-center justify-center rounded-md px-3 py-1 text-sm font-medium whitespace-nowrap transition-all focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow",
4654
4652
  className
4655
4653
  ),
4656
4654
  ref,