@l3mpire/ui 2.25.1 → 2.26.0

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.mjs CHANGED
@@ -149,19 +149,19 @@ var buttonVariants = cva2(
149
149
  },
150
150
  size: {
151
151
  sm: [
152
- "h-6 py-xs gap-xs",
152
+ "h-6 px-sm py-xs gap-none",
153
153
  "text-xs",
154
154
  "min-w-16 rounded-base"
155
155
  ],
156
156
  md: [
157
- "h-8 px-base py-sm gap-sm",
157
+ "h-8 px-base py-sm gap-2xs",
158
158
  "text-sm",
159
159
  "min-w-20 rounded-md"
160
160
  ],
161
161
  lg: [
162
- "h-10 px-md py-[10px] gap-sm",
162
+ "h-10 px-lg py-md gap-2xs",
163
163
  "text-sm",
164
- "min-w-20 rounded-md"
164
+ "min-w-20 rounded-lg"
165
165
  ]
166
166
  },
167
167
  iconOnly: {
@@ -287,6 +287,25 @@ var iconSizeMap = {
287
287
  lg: "sm"
288
288
  // 14px
289
289
  };
290
+ var textWrapperClass = (size) => cn(
291
+ "inline-flex items-center justify-center px-xs",
292
+ size === "lg" ? "gap-sm" : "gap-xs"
293
+ );
294
+ var ButtonBadge = ({ size, intent, children }) => {
295
+ const colors = intent === "alert" ? "bg-[var(--core-bg-functional-invert-critical)] text-[var(--core-text-functional-critical)]" : "bg-[var(--core-bg-functional-invert-info)] text-[var(--core-text-functional-info)]";
296
+ const shape = size === "lg" ? "gap-xs px-sm py-xs rounded-sm text-xs leading-xs" : "gap-2xs px-xs py-2xs rounded-xs text-xxs leading-2xs";
297
+ return /* @__PURE__ */ jsx2(
298
+ "span",
299
+ {
300
+ className: cn(
301
+ "inline-flex items-center font-medium whitespace-nowrap",
302
+ shape,
303
+ colors
304
+ ),
305
+ children
306
+ }
307
+ );
308
+ };
290
309
  var Button = React2.forwardRef(
291
310
  ({
292
311
  className,
@@ -300,26 +319,28 @@ var Button = React2.forwardRef(
300
319
  leftIcon,
301
320
  rightIcon,
302
321
  disabled,
322
+ badge,
303
323
  children,
304
324
  ...props
305
325
  }, ref) => {
306
326
  const appearance = appearanceProp ?? "solid";
307
327
  const intent = intentProp ?? "brand";
328
+ const resolvedSize = size ?? "md";
308
329
  const isDisabled = disabled || loading;
309
330
  const isIconOnly = iconOnlyProp ?? !children;
310
- const iconSize = iconSizeMap[size ?? "md"];
311
- const smPadding = size === "sm" && !isIconOnly ? cn(
312
- leftIcon || loading ? "pl-xs" : "pl-sm",
313
- rightIcon ? "pr-xs" : "pr-sm"
314
- ) : "";
331
+ const iconSize = iconSizeMap[resolvedSize];
315
332
  const variantClasses = buttonVariants({
316
333
  appearance,
317
334
  intent,
318
- size,
335
+ size: resolvedSize,
319
336
  iconOnly: isIconOnly || void 0,
320
337
  fullWidth,
321
- className: cn(smPadding, className)
338
+ className
322
339
  });
340
+ const labelNode = !isIconOnly ? /* @__PURE__ */ jsxs2("span", { className: textWrapperClass(resolvedSize), children: [
341
+ children,
342
+ badge != null && /* @__PURE__ */ jsx2(ButtonBadge, { size: resolvedSize, intent, children: badge })
343
+ ] }) : null;
323
344
  if (asChild) {
324
345
  return /* @__PURE__ */ jsx2(Slot, { ref, className: cn(variantClasses), ...props, children });
325
346
  }
@@ -333,7 +354,7 @@ var Button = React2.forwardRef(
333
354
  ...props,
334
355
  children: [
335
356
  loading ? /* @__PURE__ */ jsx2(Icon2, { icon: faSpinnerSolid, size: iconSize, className: "animate-spin" }) : leftIcon ? /* @__PURE__ */ jsx2(Icon2, { icon: leftIcon, size: iconSize }) : null,
336
- !isIconOnly && children,
357
+ labelNode,
337
358
  rightIcon && !loading && /* @__PURE__ */ jsx2(Icon2, { icon: rightIcon, size: iconSize })
338
359
  ]
339
360
  }
@@ -343,7 +364,7 @@ var Button = React2.forwardRef(
343
364
  Button.displayName = "Button";
344
365
 
345
366
  // src/components/ui/browser-tab.tsx
346
- import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
367
+ import { Fragment, jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
347
368
  var BrowserTabContext = React3.createContext(null);
348
369
  var BrowserTabItem = React3.forwardRef(
349
370
  ({ className, icon, label, badge, isActive = false, onClose, onRename, ...props }, ref) => {
@@ -380,6 +401,7 @@ var BrowserTabItem = React3.forwardRef(
380
401
  } : {};
381
402
  const isDragged = ctx?.draggable && ctx.dragIndex === ctx.itemIndex;
382
403
  const isDropTarget = ctx?.draggable && ctx.dropIndex === ctx.itemIndex && ctx.dragIndex !== ctx.itemIndex;
404
+ const showGrip = ctx?.draggable && isHovered;
383
405
  return /* @__PURE__ */ jsxs3(
384
406
  "div",
385
407
  {
@@ -387,78 +409,101 @@ var BrowserTabItem = React3.forwardRef(
387
409
  onMouseEnter: () => setIsHovered(true),
388
410
  onMouseLeave: () => setIsHovered(false),
389
411
  className: cn(
390
- "flex items-center gap-base px-base py-sm rounded-t-base cursor-pointer select-none transition-opacity shrink-0",
391
- "bg-browser-tab-item-bg border-browser-tab-item-border border-solid",
392
- isActive ? "border-l border-r border-t border-b-0 mb-[-1px] z-10" : "border-0",
412
+ "relative shrink-0 p-xs rounded-tl-base rounded-tr-base cursor-pointer select-none transition-opacity",
413
+ "border-solid border-browser-tab-item-border",
414
+ isActive ? "bg-browser-tab-item-bg border-l border-r border-t mb-[-1px] z-10" : "border-0",
393
415
  isDragged && "opacity-40",
394
- isDropTarget && "ring-2 ring-inset ring-blue-400 rounded-t-base",
416
+ isDropTarget && "ring-2 ring-inset ring-blue-400",
395
417
  className
396
418
  ),
397
419
  ...dragProps,
398
420
  ...props,
399
421
  children: [
400
- icon && /* @__PURE__ */ jsx3("div", { className: "shrink-0", children: /* @__PURE__ */ jsx3(
401
- Icon3,
402
- {
403
- icon: ctx?.draggable && isHovered ? faGripDotsVerticalSolid : icon,
404
- size: "xs",
405
- className: cn(
406
- ctx?.draggable && isHovered ? "text-browser-tab-item-hover-icon cursor-grab" : isActive ? "text-browser-tab-item-active-icon" : "text-browser-tab-item-inactive-icon"
407
- )
408
- }
409
- ) }),
410
- isEditing ? /* @__PURE__ */ jsx3(
411
- "input",
412
- {
413
- ref: inputRef,
414
- value: editValue,
415
- onChange: (e) => setEditValue(e.target.value),
416
- onBlur: commitRename,
417
- onKeyDown: (e) => {
418
- if (e.key === "Enter") commitRename();
419
- if (e.key === "Escape") cancelRename();
420
- },
421
- onClick: (e) => e.stopPropagation(),
422
- className: cn(
423
- "text-sm font-medium leading-sm bg-transparent outline-none p-0 m-0",
424
- "border-b border-browser-tab-item-border border-dashed border-t-0 border-l-0 border-r-0",
425
- isActive ? "text-browser-tab-item-active-text" : "text-browser-tab-item-inactive-text"
426
- ),
427
- style: { width: `${Math.max(editValue.length + 1, 2)}ch` }
428
- }
429
- ) : /* @__PURE__ */ jsx3(
430
- "span",
422
+ /* @__PURE__ */ jsxs3(
423
+ "div",
431
424
  {
432
425
  className: cn(
433
- "text-sm font-medium leading-sm whitespace-nowrap",
434
- isActive ? "text-browser-tab-item-active-text" : "text-browser-tab-item-inactive-text"
426
+ "flex items-center gap-base px-xs py-2xs transition-[background-color,border-radius,box-shadow]",
427
+ isHovered && !isActive ? "bg-browser-tab-item-hover-bg rounded-sm shadow-sm" : "bg-browser-tab-item-bg rounded-base"
435
428
  ),
436
- onDoubleClick: (e) => {
437
- if (onRename) {
438
- e.stopPropagation();
439
- setEditValue(label);
440
- setIsEditing(true);
441
- }
442
- },
443
- children: label
429
+ children: [
430
+ icon && /* @__PURE__ */ jsx3("div", { className: "shrink-0", children: /* @__PURE__ */ jsx3(
431
+ Icon3,
432
+ {
433
+ icon: showGrip ? faGripDotsVerticalSolid : icon,
434
+ size: "xs",
435
+ className: cn(
436
+ showGrip ? "text-browser-tab-item-hover-icon cursor-grab" : isActive ? "text-browser-tab-item-active-icon" : "text-browser-tab-item-inactive-icon"
437
+ )
438
+ }
439
+ ) }),
440
+ isEditing ? /* @__PURE__ */ jsx3(
441
+ "input",
442
+ {
443
+ ref: inputRef,
444
+ value: editValue,
445
+ onChange: (e) => setEditValue(e.target.value),
446
+ onBlur: commitRename,
447
+ onKeyDown: (e) => {
448
+ if (e.key === "Enter") commitRename();
449
+ if (e.key === "Escape") cancelRename();
450
+ },
451
+ onClick: (e) => e.stopPropagation(),
452
+ className: cn(
453
+ "text-sm font-medium leading-sm bg-transparent outline-none p-0 m-0",
454
+ "border-b border-browser-tab-item-border border-dashed border-t-0 border-l-0 border-r-0",
455
+ isActive ? "text-browser-tab-item-active-text" : "text-browser-tab-item-inactive-text"
456
+ ),
457
+ style: { width: `${Math.max(editValue.length + 1, 2)}ch` }
458
+ }
459
+ ) : /* @__PURE__ */ jsx3(
460
+ "span",
461
+ {
462
+ className: cn(
463
+ "text-sm font-medium leading-sm whitespace-nowrap",
464
+ isActive ? "text-browser-tab-item-active-text" : "text-browser-tab-item-inactive-text"
465
+ ),
466
+ onDoubleClick: (e) => {
467
+ if (onRename) {
468
+ e.stopPropagation();
469
+ setEditValue(label);
470
+ setIsEditing(true);
471
+ }
472
+ },
473
+ children: label
474
+ }
475
+ ),
476
+ badge && /* @__PURE__ */ jsx3(Badge, { variant: "light", type: "neutral", size: "sm", children: badge }),
477
+ onClose && /* @__PURE__ */ jsx3(
478
+ "button",
479
+ {
480
+ onClick: (e) => {
481
+ e.stopPropagation();
482
+ onClose(e);
483
+ },
484
+ className: cn(
485
+ "shrink-0 flex items-center justify-center cursor-pointer",
486
+ isActive ? "text-browser-tab-item-active-icon" : "text-browser-tab-item-inactive-icon"
487
+ ),
488
+ "aria-label": `Close ${label}`,
489
+ children: /* @__PURE__ */ jsx3(Icon3, { icon: faXmarkOutline, size: "xs" })
490
+ }
491
+ )
492
+ ]
444
493
  }
445
494
  ),
446
- badge && /* @__PURE__ */ jsx3(Badge, { variant: "light", type: "neutral", size: "sm", children: badge }),
447
- onClose && /* @__PURE__ */ jsx3(
448
- "button",
449
- {
450
- onClick: (e) => {
451
- e.stopPropagation();
452
- onClose(e);
453
- },
454
- className: cn(
455
- "shrink-0 flex items-center justify-center cursor-pointer",
456
- isActive ? "text-browser-tab-item-active-icon" : "text-browser-tab-item-inactive-icon"
457
- ),
458
- "aria-label": `Close ${label}`,
459
- children: /* @__PURE__ */ jsx3(Icon3, { icon: faXmarkOutline, size: "xs" })
460
- }
461
- )
495
+ isActive && /* @__PURE__ */ jsxs3(Fragment, { children: [
496
+ /* @__PURE__ */ jsx3("span", { "aria-hidden": true, className: "pointer-events-none absolute bottom-0 left-[-1px] w-px h-[8px] bg-browser-tab-item-bg" }),
497
+ /* @__PURE__ */ jsx3("span", { "aria-hidden": true, className: "pointer-events-none absolute bottom-0 right-[-1px] w-px h-[8px] bg-browser-tab-item-bg" }),
498
+ /* @__PURE__ */ jsxs3("span", { "aria-hidden": true, className: "pointer-events-none absolute bottom-0 left-[-8px] size-[8px]", children: [
499
+ /* @__PURE__ */ jsx3("span", { className: "absolute bottom-0 left-0 right-0 h-px bg-browser-tab-item-bg" }),
500
+ /* @__PURE__ */ jsx3("span", { className: "absolute inset-0 rounded-br-[8px] border-b border-r border-solid border-browser-tab-item-border" })
501
+ ] }),
502
+ /* @__PURE__ */ jsxs3("span", { "aria-hidden": true, className: "pointer-events-none absolute bottom-0 right-[-8px] size-[8px]", children: [
503
+ /* @__PURE__ */ jsx3("span", { className: "absolute bottom-0 left-0 right-0 h-px bg-browser-tab-item-bg" }),
504
+ /* @__PURE__ */ jsx3("span", { className: "absolute inset-0 rounded-bl-[8px] border-b border-l border-solid border-browser-tab-item-border" })
505
+ ] })
506
+ ] })
462
507
  ]
463
508
  }
464
509
  );
@@ -539,7 +584,7 @@ var BrowserTab = React3.forwardRef(
539
584
  {
540
585
  ref,
541
586
  className: cn(
542
- "flex items-end w-full h-[44px] border-b border-browser-tab-border px-lg",
587
+ "flex items-end w-full h-[44px] border-b border-browser-tab-border pl-base pr-xl",
543
588
  className
544
589
  ),
545
590
  ...props,
@@ -548,7 +593,7 @@ var BrowserTab = React3.forwardRef(
548
593
  "div",
549
594
  {
550
595
  ref: tabsContainerRef,
551
- className: "flex items-center flex-1 min-w-0",
596
+ className: "flex items-center flex-1 min-w-0 pl-base",
552
597
  style: { overflowX: "clip", overflowY: "visible" },
553
598
  children: [
554
599
  childArray.map((child, index) => /* @__PURE__ */ jsx3(BrowserTabContext.Provider, { value: { ...ctxBase, itemIndex: index }, children: child }, index)),
@@ -587,7 +632,7 @@ var BrowserTab = React3.forwardRef(
587
632
  align: "end",
588
633
  className: cn(
589
634
  "z-50 flex flex-col gap-base overflow-clip",
590
- "bg-dropdown-bg border border-dropdown-border rounded-md p-base shadow-lg",
635
+ "bg-dropdown-bg border border-dropdown-border rounded-lg p-base shadow-lg",
591
636
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
592
637
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
593
638
  "data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2"
@@ -673,7 +718,7 @@ var containerStyle = [
673
718
  "flex flex-col gap-base overflow-clip",
674
719
  "bg-dropdown-bg",
675
720
  "border border-dropdown-border",
676
- "rounded-md",
721
+ "rounded-lg",
677
722
  "p-xs",
678
723
  "shadow-lg"
679
724
  ];
@@ -836,7 +881,7 @@ DropdownMenuHeading.displayName = "DropdownMenuHeading";
836
881
  var clearStyle = [
837
882
  "sticky bottom-0 -mx-base -mb-base",
838
883
  "flex items-center justify-center",
839
- "h-10 min-w-[80px] px-md py-[10px]",
884
+ "h-10 min-w-[80px] px-lg py-[10px]",
840
885
  "bg-gradient-to-t from-dropdown-bg from-[10%] to-dropdown-bg",
841
886
  "border border-dropdown-border",
842
887
  "shadow-sm",
@@ -920,33 +965,19 @@ var BulkAction = React5.forwardRef(
920
965
  role: "toolbar",
921
966
  "aria-label": "Bulk actions",
922
967
  className: cn(
923
- "flex items-center gap-lg p-base w-full min-w-0",
968
+ "flex items-center gap-xl px-lg py-base w-full min-w-0",
924
969
  "bg-bulk-action-bg border-l border-r border-t border-bulk-action-border",
925
- "rounded-tl-md rounded-tr-md",
970
+ "rounded-tl-lg rounded-tr-lg",
926
971
  "shadow-[0px_0px_6px_0px_rgba(0,0,0,0.02),0px_2px_4px_0px_rgba(0,0,0,0.08)]",
927
972
  sticky && "sticky bottom-0 z-10",
928
973
  className
929
974
  ),
930
975
  ...props,
931
976
  children: [
932
- /* @__PURE__ */ jsxs5("div", { className: "flex items-center justify-center gap-xs shrink-0", children: [
933
- /* @__PURE__ */ jsx5(
934
- Button,
935
- {
936
- type: "button",
937
- appearance: "ghost",
938
- intent: "alert",
939
- size: "sm",
940
- leftIcon: faXmarkOutline2,
941
- onClick: onClear,
942
- children: clearLabel
943
- }
944
- ),
945
- /* @__PURE__ */ jsxs5("span", { className: "text-sm font-regular leading-sm text-bulk-action-count whitespace-nowrap", children: [
946
- count,
947
- " ",
948
- countLabel
949
- ] })
977
+ /* @__PURE__ */ jsxs5("span", { className: "text-sm font-regular leading-sm text-bulk-action-count whitespace-nowrap shrink-0", children: [
978
+ count,
979
+ " ",
980
+ countLabel
950
981
  ] }),
951
982
  /* @__PURE__ */ jsxs5(
952
983
  "div",
@@ -999,6 +1030,20 @@ var BulkAction = React5.forwardRef(
999
1030
  )
1000
1031
  ]
1001
1032
  }
1033
+ ),
1034
+ /* @__PURE__ */ jsx5(
1035
+ Button,
1036
+ {
1037
+ type: "button",
1038
+ appearance: "ghost",
1039
+ intent: "brand",
1040
+ size: "md",
1041
+ iconOnly: true,
1042
+ leftIcon: faXmarkOutline2,
1043
+ onClick: onClear,
1044
+ "aria-label": clearLabel,
1045
+ className: "shrink-0"
1046
+ }
1002
1047
  )
1003
1048
  ]
1004
1049
  }
@@ -1032,7 +1077,7 @@ var tooltipContentVariants = cva3(
1032
1077
  "inline-flex items-center z-50",
1033
1078
  "gap-xs",
1034
1079
  "px-base py-sm",
1035
- "rounded-md",
1080
+ "rounded-lg",
1036
1081
  "shadow-lg",
1037
1082
  "text-sm",
1038
1083
  "font-regular",
@@ -1282,7 +1327,7 @@ import {
1282
1327
  } from "@l3mpire/icons";
1283
1328
  import { jsx as jsx9, jsxs as jsxs9 } from "react/jsx-runtime";
1284
1329
  var infoMessageVariants = cva5(
1285
- "flex items-start gap-md px-lg py-base rounded-md",
1330
+ "flex items-start gap-lg px-xl py-base rounded-lg",
1286
1331
  {
1287
1332
  variants: {
1288
1333
  type: {
@@ -1369,8 +1414,8 @@ import {
1369
1414
  import { jsx as jsx10, jsxs as jsxs10 } from "react/jsx-runtime";
1370
1415
  var toastVariants = cva6(
1371
1416
  [
1372
- "flex flex-col items-end w-[308px] gap-md p-lg",
1373
- "rounded-md",
1417
+ "flex flex-col items-end w-[308px] gap-lg p-xl",
1418
+ "rounded-lg",
1374
1419
  "border border-toast-border",
1375
1420
  "bg-gradient-to-b to-background to-[60%]",
1376
1421
  "[background-size:100%_calc(100%+120px)] [background-position:0_-120px]",
@@ -1410,14 +1455,14 @@ var typeIconMap2 = {
1410
1455
  };
1411
1456
  var titleStyle2 = "text-sm font-medium leading-sm text-toast-title";
1412
1457
  var subtitleStyle = "text-sm font-regular leading-sm text-toast-subtitle";
1413
- var closeButtonStyle2 = "inline-flex shrink-0 items-center justify-center self-start p-sm rounded-md text-toast-close hover:bg-black/5 transition-colors";
1458
+ var closeButtonStyle2 = "inline-flex shrink-0 items-center justify-center self-start p-sm rounded-lg text-toast-close hover:bg-black/5 transition-colors";
1414
1459
  var ToastProvider = ToastPrimitive.Provider;
1415
1460
  var ToastViewport = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx10(
1416
1461
  ToastPrimitive.Viewport,
1417
1462
  {
1418
1463
  ref,
1419
1464
  className: cn(
1420
- "fixed top-0 right-0 z-[100] flex max-h-screen w-full flex-col-reverse p-lg sm:flex-col md:max-w-[420px]",
1465
+ "fixed top-0 right-0 z-[100] flex max-h-screen w-full flex-col-reverse p-xl sm:flex-col md:max-w-[420px]",
1421
1466
  className
1422
1467
  ),
1423
1468
  ...props
@@ -1439,7 +1484,7 @@ var Toast = React10.forwardRef(({ className, type = "info", title, subtitle, onC
1439
1484
  className: cn(toastVariants({ type }), !actions && "min-h-[80px]", className),
1440
1485
  ...props,
1441
1486
  children: [
1442
- /* @__PURE__ */ jsxs10("div", { className: "flex w-full items-center gap-md", children: [
1487
+ /* @__PURE__ */ jsxs10("div", { className: "flex w-full items-center gap-lg", children: [
1443
1488
  /* @__PURE__ */ jsx10("div", { className: iconContainerVariants({ type }), children: /* @__PURE__ */ jsx10(Icon9, { icon, size: "lg", className: color }) }),
1444
1489
  /* @__PURE__ */ jsxs10("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
1445
1490
  /* @__PURE__ */ jsx10(ToastPrimitive.Title, { className: titleStyle2, children: title }),
@@ -1528,7 +1573,7 @@ import { Icon as Icon10 } from "@l3mpire/icons";
1528
1573
  import { jsx as jsx12, jsxs as jsxs12 } from "react/jsx-runtime";
1529
1574
  var cardStyles = {
1530
1575
  base: [
1531
- "group relative flex w-full items-center gap-base rounded-md border border-solid p-md text-left transition-colors",
1576
+ "group relative flex w-full items-center gap-base rounded-lg border border-solid p-lg text-left transition-colors",
1532
1577
  "border-switch-card-border",
1533
1578
  "focus-visible:outline-none focus-visible:shadow-focus-ring",
1534
1579
  "disabled:pointer-events-none disabled:opacity-60",
@@ -1780,7 +1825,7 @@ var ProductLogo = React13.forwardRef(
1780
1825
  ProductLogo.displayName = "ProductLogo";
1781
1826
 
1782
1827
  // src/components/ui/sidebar.tsx
1783
- import { Fragment, jsx as jsx14, jsxs as jsxs13 } from "react/jsx-runtime";
1828
+ import { Fragment as Fragment2, jsx as jsx14, jsxs as jsxs13 } from "react/jsx-runtime";
1784
1829
  var SidebarContext = React14.createContext({
1785
1830
  isCollapsed: false,
1786
1831
  isHovered: false,
@@ -1799,7 +1844,7 @@ var SidebarHeader = React14.forwardRef(
1799
1844
  ref,
1800
1845
  className: cn(
1801
1846
  "flex items-center shrink-0 h-[44px] border-b border-sidebar-border",
1802
- isCollapsed ? "justify-center px-lg" : "justify-between px-lg",
1847
+ isCollapsed ? "justify-center px-xl" : "justify-between px-xl",
1803
1848
  className
1804
1849
  ),
1805
1850
  ...props,
@@ -1816,7 +1861,7 @@ var SidebarHeader = React14.forwardRef(
1816
1861
  ) : /* @__PURE__ */ jsx14(ProductLogo, { product: "lemlist", size: "sm", hasText: false })
1817
1862
  ) : (
1818
1863
  // Expanded: logo + collapse button
1819
- /* @__PURE__ */ jsxs13(Fragment, { children: [
1864
+ /* @__PURE__ */ jsxs13(Fragment2, { children: [
1820
1865
  /* @__PURE__ */ jsx14(ProductLogo, { product: "lemlist", size: "sm", hasText: true }),
1821
1866
  /* @__PURE__ */ jsx14(
1822
1867
  "button",
@@ -1870,8 +1915,8 @@ var Sidebar = React14.forwardRef(
1870
1915
  const rest = childArray.filter(
1871
1916
  (child) => !(React14.isValidElement(child) && child.type?.displayName === "SidebarFooter")
1872
1917
  );
1873
- return /* @__PURE__ */ jsxs13(Fragment, { children: [
1874
- /* @__PURE__ */ jsx14("div", { className: "flex flex-col gap-lg p-lg flex-1 overflow-y-auto", children: rest }),
1918
+ return /* @__PURE__ */ jsxs13(Fragment2, { children: [
1919
+ /* @__PURE__ */ jsx14("div", { className: "flex flex-col gap-xl p-xl flex-1 overflow-y-auto", children: rest }),
1875
1920
  footer
1876
1921
  ] });
1877
1922
  })()
@@ -1902,7 +1947,7 @@ var SidebarFooter = React14.forwardRef(
1902
1947
  {
1903
1948
  ref,
1904
1949
  className: cn(
1905
- "flex flex-col p-lg bg-sidebar-footer-bg border-t border-sidebar-border mt-auto w-full",
1950
+ "flex flex-col p-xl bg-sidebar-footer-bg border-t border-sidebar-border mt-auto w-full",
1906
1951
  className
1907
1952
  ),
1908
1953
  ...props,
@@ -1914,7 +1959,7 @@ var SidebarFooter = React14.forwardRef(
1914
1959
  SidebarFooter.displayName = "SidebarFooter";
1915
1960
 
1916
1961
  // src/components/ui/search-bar.tsx
1917
- import { Fragment as Fragment2, jsx as jsx15, jsxs as jsxs14 } from "react/jsx-runtime";
1962
+ import { Fragment as Fragment3, jsx as jsx15, jsxs as jsxs14 } from "react/jsx-runtime";
1918
1963
  var searchBarVariants = cva8(
1919
1964
  [
1920
1965
  "inline-flex w-full items-center rounded-md border transition-colors",
@@ -1931,7 +1976,7 @@ var searchBarVariants = cva8(
1931
1976
  },
1932
1977
  size: {
1933
1978
  sm: "gap-sm px-base py-sm",
1934
- md: "gap-base px-md py-base"
1979
+ md: "gap-base px-lg py-base"
1935
1980
  }
1936
1981
  },
1937
1982
  defaultVariants: { variant: "white", size: "md" }
@@ -1976,7 +2021,7 @@ var SearchBar = React15.forwardRef(
1976
2021
  className: "shrink-0 text-search-bar-icon"
1977
2022
  }
1978
2023
  ),
1979
- !isCollapsed && /* @__PURE__ */ jsxs14(Fragment2, { children: [
2024
+ !isCollapsed && /* @__PURE__ */ jsxs14(Fragment3, { children: [
1980
2025
  /* @__PURE__ */ jsx15(
1981
2026
  "input",
1982
2027
  {
@@ -2272,7 +2317,7 @@ import { Icon as Icon14 } from "@l3mpire/icons";
2272
2317
  import { jsx as jsx19, jsxs as jsxs18 } from "react/jsx-runtime";
2273
2318
  var cardStyles2 = {
2274
2319
  base: [
2275
- "group relative flex w-full items-start gap-base rounded-md border border-solid p-md text-left transition-colors",
2320
+ "group relative flex w-full items-start gap-base rounded-lg border border-solid p-lg text-left transition-colors",
2276
2321
  "focus-visible:outline-none focus-visible:shadow-focus-ring",
2277
2322
  "disabled:pointer-events-none disabled:opacity-60",
2278
2323
  "cursor-pointer"
@@ -2387,7 +2432,7 @@ SidebarHeadingItem.displayName = "SidebarHeadingItem";
2387
2432
  import * as React21 from "react";
2388
2433
  import { cva as cva10 } from "class-variance-authority";
2389
2434
  import { Icon as Icon15, faChevronDownSolid as faChevronDownSolid2, faStarsOutline } from "@l3mpire/icons";
2390
- import { Fragment as Fragment3, jsx as jsx21, jsxs as jsxs19 } from "react/jsx-runtime";
2435
+ import { Fragment as Fragment4, jsx as jsx21, jsxs as jsxs19 } from "react/jsx-runtime";
2391
2436
  var sidebarItemVariants = cva10(
2392
2437
  [
2393
2438
  "flex items-center gap-base rounded-base transition-colors cursor-pointer"
@@ -2400,7 +2445,7 @@ var sidebarItemVariants = cva10(
2400
2445
  active: "bg-sidebar-item-active-bg"
2401
2446
  },
2402
2447
  type: {
2403
- default: "px-lg py-base",
2448
+ default: "px-xl py-base",
2404
2449
  collapsed: "p-base justify-center"
2405
2450
  }
2406
2451
  },
@@ -2457,7 +2502,7 @@ var SidebarItem = React21.forwardRef(
2457
2502
  className: cn("shrink-0", iconColorClass)
2458
2503
  }
2459
2504
  ) : null,
2460
- !isCollapsed && /* @__PURE__ */ jsxs19(Fragment3, { children: [
2505
+ !isCollapsed && /* @__PURE__ */ jsxs19(Fragment4, { children: [
2461
2506
  /* @__PURE__ */ jsx21(
2462
2507
  "span",
2463
2508
  {
@@ -2514,7 +2559,7 @@ var selectVariants = cva11(
2514
2559
  variants: {
2515
2560
  size: {
2516
2561
  sm: "px-base gap-base rounded-base min-w-[80px]",
2517
- md: "px-md gap-base rounded-md"
2562
+ md: "px-lg gap-base rounded-md"
2518
2563
  }
2519
2564
  },
2520
2565
  defaultVariants: { size: "md" }
@@ -2661,7 +2706,7 @@ function SelectChips({ tags, onTagRemove, chipHeightPx }) {
2661
2706
  {
2662
2707
  sideOffset: 4,
2663
2708
  className: cn(
2664
- "z-50 px-base py-sm rounded-md shadow-lg",
2709
+ "z-50 px-base py-sm rounded-lg shadow-lg",
2665
2710
  "bg-tooltip-default-bg text-tooltip-default-text",
2666
2711
  "text-xs font-regular leading-xs",
2667
2712
  "flex flex-col gap-xs",
@@ -2815,7 +2860,7 @@ var TabList = React23.forwardRef(({ className, hasOffset = false, ...props }, re
2815
2860
  ref,
2816
2861
  className: cn(
2817
2862
  "flex items-center gap-base pt-base border-b border-tab-border",
2818
- hasOffset && "px-lg",
2863
+ hasOffset && "px-xl",
2819
2864
  className
2820
2865
  ),
2821
2866
  ...props
@@ -2936,7 +2981,7 @@ var Tag = React24.forwardRef(
2936
2981
  "inline-flex shrink-0 items-center justify-center",
2937
2982
  "rounded-base cursor-pointer",
2938
2983
  "p-xs",
2939
- size === "md" && "p-sm rounded-md"
2984
+ size === "md" && "p-sm rounded-lg"
2940
2985
  ),
2941
2986
  "aria-label": "Remove",
2942
2987
  children: /* @__PURE__ */ jsx24(Icon17, { icon: faXmarkSolid5, size: iconSize })
@@ -3022,7 +3067,7 @@ var TextArea = React25.forwardRef(
3022
3067
  "aria-describedby": errorId,
3023
3068
  className: cn(
3024
3069
  "w-full min-h-[120px] resize-vertical",
3025
- "px-md py-base",
3070
+ "px-lg py-base",
3026
3071
  "rounded-md border overflow-clip outline-none",
3027
3072
  "text-sm",
3028
3073
  "font-regular",
@@ -3066,7 +3111,7 @@ var textInputVariants = cva13(
3066
3111
  variants: {
3067
3112
  size: {
3068
3113
  sm: "px-base py-sm gap-base rounded-base",
3069
- md: "px-md py-[10px] gap-base rounded-md"
3114
+ md: "px-lg py-[10px] gap-base rounded-md"
3070
3115
  }
3071
3116
  },
3072
3117
  defaultVariants: { size: "md" }
@@ -3217,7 +3262,7 @@ var TextInput = React26.forwardRef(
3217
3262
  onClick: onButtonClick,
3218
3263
  className: cn(
3219
3264
  "shrink-0 flex items-center justify-center border",
3220
- size === "sm" ? "px-base rounded-r-base" : "px-md rounded-r-md",
3265
+ size === "sm" ? "px-base rounded-r-base" : "px-lg rounded-r-md",
3221
3266
  attachedButtonStyles[disabled ? "disabled" : "enabled"]
3222
3267
  ),
3223
3268
  children: /* @__PURE__ */ jsx26(Icon19, { icon: buttonIcon ?? faPlusSolid2, size: "sm", className: icColor })
@@ -3254,7 +3299,7 @@ var chipInputVariants = cva14(
3254
3299
  variants: {
3255
3300
  size: {
3256
3301
  sm: "px-base py-sm rounded-base",
3257
- md: "px-md py-[10px] rounded-md"
3302
+ md: "px-lg py-[10px] rounded-md"
3258
3303
  }
3259
3304
  },
3260
3305
  defaultVariants: { size: "md" }
@@ -3465,7 +3510,7 @@ var inputVariants = cva15(
3465
3510
  variants: {
3466
3511
  size: {
3467
3512
  sm: "px-base py-sm",
3468
- md: "px-md py-[10px]"
3513
+ md: "px-lg py-[10px]"
3469
3514
  }
3470
3515
  },
3471
3516
  defaultVariants: { size: "md" }
@@ -3714,7 +3759,7 @@ var UserMenu = React30.forwardRef(
3714
3759
  "flex flex-col w-[260px] overflow-clip",
3715
3760
  "bg-user-menu-bg",
3716
3761
  "border border-user-menu-border",
3717
- "rounded-md",
3762
+ "rounded-lg",
3718
3763
  "shadow-lg",
3719
3764
  "divide-y divide-user-menu-border",
3720
3765
  className
@@ -3730,7 +3775,7 @@ var UserMenuInfoRow = React30.forwardRef(
3730
3775
  "div",
3731
3776
  {
3732
3777
  ref,
3733
- className: cn("flex items-center gap-base p-lg", className),
3778
+ className: cn("flex items-center gap-base p-xl", className),
3734
3779
  ...props,
3735
3780
  children: [
3736
3781
  avatar,
@@ -3767,7 +3812,7 @@ var modalVariants = cva17(
3767
3812
  [
3768
3813
  "fixed top-[50%] left-[50%] -translate-x-1/2 -translate-y-1/2 z-50",
3769
3814
  "flex flex-col",
3770
- "bg-modal-bg border border-modal-border rounded-md shadow-sm overflow-clip",
3815
+ "bg-modal-bg border border-modal-border rounded-lg shadow-sm overflow-clip",
3771
3816
  "outline-none",
3772
3817
  "data-[state=open]:animate-modal-in data-[state=closed]:animate-modal-out"
3773
3818
  ],
@@ -3818,7 +3863,7 @@ var ModalHeader = React31.forwardRef(
3818
3863
  {
3819
3864
  ref,
3820
3865
  className: cn(
3821
- "flex items-start gap-lg p-lg",
3866
+ "flex items-start gap-xl p-xl",
3822
3867
  showBorder && "border-b border-modal-header-border",
3823
3868
  className
3824
3869
  ),
@@ -3862,7 +3907,7 @@ var ModalBody = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE_
3862
3907
  "div",
3863
3908
  {
3864
3909
  ref,
3865
- className: cn("flex-1 overflow-y-auto p-lg", className),
3910
+ className: cn("flex-1 overflow-y-auto p-xl", className),
3866
3911
  ...props
3867
3912
  }
3868
3913
  ));
@@ -3873,7 +3918,7 @@ var ModalFooter = React31.forwardRef(
3873
3918
  {
3874
3919
  ref,
3875
3920
  className: cn(
3876
- "flex items-center justify-between gap-md p-lg",
3921
+ "flex items-center justify-between gap-lg p-xl",
3877
3922
  showBorder && "border-t border-modal-footer-border",
3878
3923
  className
3879
3924
  ),
@@ -3917,7 +3962,7 @@ var Dialog = React32.forwardRef(
3917
3962
  ] }),
3918
3963
  /* @__PURE__ */ jsxs29(ModalFooter, { children: [
3919
3964
  /* @__PURE__ */ jsx32(ModalClose, { asChild: true, children: /* @__PURE__ */ jsx32(Button, { appearance: "ghost", intent: "brand", size: "md", onClick: handleCancel, children: cancelLabel }) }),
3920
- /* @__PURE__ */ jsxs29("div", { className: "flex items-center gap-md", children: [
3965
+ /* @__PURE__ */ jsxs29("div", { className: "flex items-center gap-lg", children: [
3921
3966
  secondaryLabel && /* @__PURE__ */ jsx32(Button, { appearance: "outlined", intent: "brand", size: "md", onClick: onSecondaryAction, children: secondaryLabel }),
3922
3967
  /* @__PURE__ */ jsx32(
3923
3968
  Button,
@@ -3947,8 +3992,8 @@ var emptyStateVariants = cva18(
3947
3992
  {
3948
3993
  variants: {
3949
3994
  size: {
3950
- md: "gap-lg",
3951
- sm: "gap-md"
3995
+ md: "gap-xl",
3996
+ sm: "gap-lg"
3952
3997
  }
3953
3998
  },
3954
3999
  defaultVariants: {
@@ -4028,7 +4073,7 @@ var EmptyState = React33.forwardRef(
4028
4073
  {
4029
4074
  className: cn(
4030
4075
  "flex items-center",
4031
- isMd ? "gap-lg" : "gap-base"
4076
+ isMd ? "gap-xl" : "gap-base"
4032
4077
  ),
4033
4078
  children: [
4034
4079
  secondaryAction && /* @__PURE__ */ jsx33(
@@ -4072,7 +4117,7 @@ var AvatarCell = ({
4072
4117
  subtitle,
4073
4118
  src,
4074
4119
  className
4075
- }) => /* @__PURE__ */ jsxs31("div", { className: cn("flex items-center gap-md", className), children: [
4120
+ }) => /* @__PURE__ */ jsxs31("div", { className: cn("flex items-center gap-lg", className), children: [
4076
4121
  /* @__PURE__ */ jsx34(Avatar, { initials: getInitials(name), src, alt: name, size: "lg", shape: "rounded" }),
4077
4122
  /* @__PURE__ */ jsxs31("div", { className: "flex flex-col", children: [
4078
4123
  /* @__PURE__ */ jsx34("span", { className: "text-sm font-medium text-table-cell-text-primary leading-sm", children: name }),
@@ -4370,7 +4415,7 @@ var TableHead = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE_
4370
4415
  {
4371
4416
  ref,
4372
4417
  className: cn(
4373
- "group/head h-10 px-md py-md text-left align-middle text-xs font-medium leading-xs",
4418
+ "group/head h-10 px-lg py-lg text-left align-middle text-xs font-medium leading-xs",
4374
4419
  "text-table-head-text bg-table-head-bg-default",
4375
4420
  "hover:bg-table-head-bg-hover",
4376
4421
  "border-b border-r border-table-border last:border-r-0",
@@ -4386,7 +4431,7 @@ var TableCell = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE_
4386
4431
  {
4387
4432
  ref,
4388
4433
  className: cn(
4389
- "px-md py-md align-middle text-sm font-medium max-h-[52px]",
4434
+ "px-lg py-lg align-middle text-sm font-medium max-h-[52px]",
4390
4435
  "text-table-cell-text-primary",
4391
4436
  "border-b border-r border-table-border last:border-r-0",
4392
4437
  "[&:has([role=checkbox])]:pr-0",
@@ -4400,7 +4445,7 @@ var TableCaption = React35.forwardRef(({ className, ...props }, ref) => /* @__PU
4400
4445
  "caption",
4401
4446
  {
4402
4447
  ref,
4403
- className: cn("mt-md text-sm text-table-cell-text-secondary", className),
4448
+ className: cn("mt-lg text-sm text-table-cell-text-secondary", className),
4404
4449
  ...props
4405
4450
  }
4406
4451
  ));
@@ -4478,7 +4523,7 @@ function DataTableSettingsModal({
4478
4523
  };
4479
4524
  return /* @__PURE__ */ jsx36(Modal, { open, onOpenChange, children: /* @__PURE__ */ jsxs32(ModalContent, { size: "sm", className, children: [
4480
4525
  /* @__PURE__ */ jsx36(ModalHeader, { onClose: () => onOpenChange(false), children: /* @__PURE__ */ jsx36(ModalTitle, { children: title }) }),
4481
- /* @__PURE__ */ jsx36(ModalBody, { children: /* @__PURE__ */ jsxs32("div", { className: "flex flex-col gap-md", children: [
4526
+ /* @__PURE__ */ jsx36(ModalBody, { children: /* @__PURE__ */ jsxs32("div", { className: "flex flex-col gap-lg", children: [
4482
4527
  /* @__PURE__ */ jsxs32("div", { className: "flex items-center justify-between gap-base", children: [
4483
4528
  /* @__PURE__ */ jsxs32("span", { className: "text-sm font-medium text-table-cell-text-secondary", children: [
4484
4529
  "Columns ",
@@ -4525,7 +4570,7 @@ function DataTableSettingsModal({
4525
4570
  "flex flex-col max-h-[360px] overflow-auto rounded-base",
4526
4571
  "border border-table-border"
4527
4572
  ),
4528
- children: filtered.length === 0 ? /* @__PURE__ */ jsx36("div", { className: "py-md text-center text-sm text-table-cell-text-secondary", children: "No columns found" }) : filtered.map((c) => {
4573
+ children: filtered.length === 0 ? /* @__PURE__ */ jsx36("div", { className: "py-lg text-center text-sm text-table-cell-text-secondary", children: "No columns found" }) : filtered.map((c) => {
4529
4574
  const key = getColKey(c);
4530
4575
  const label = getColLabel(c);
4531
4576
  const checked = draft[key] !== false;
@@ -4648,7 +4693,7 @@ function ColumnFilterPopover({
4648
4693
  align: "start",
4649
4694
  sideOffset: 4,
4650
4695
  className: cn(
4651
- "z-50 w-[240px] rounded-md border border-table-border bg-table-bg p-md shadow-lg",
4696
+ "z-50 w-[240px] rounded-lg border border-table-border bg-table-bg p-lg shadow-lg",
4652
4697
  "animate-in fade-in-0 zoom-in-95"
4653
4698
  ),
4654
4699
  onClick: (e) => e.stopPropagation(),
@@ -5240,7 +5285,7 @@ function DataTablePagination({
5240
5285
  "div",
5241
5286
  {
5242
5287
  className: cn(
5243
- "flex items-center justify-between px-lg py-md",
5288
+ "flex items-center justify-between px-xl py-lg",
5244
5289
  className
5245
5290
  ),
5246
5291
  children: [
@@ -5250,7 +5295,7 @@ function DataTablePagination({
5250
5295
  totalCount,
5251
5296
  " row(s) selected"
5252
5297
  ] }) }),
5253
- /* @__PURE__ */ jsxs33("div", { className: "flex items-center gap-lg", children: [
5298
+ /* @__PURE__ */ jsxs33("div", { className: "flex items-center gap-xl", children: [
5254
5299
  /* @__PURE__ */ jsxs33("div", { className: "flex items-center gap-sm", children: [
5255
5300
  /* @__PURE__ */ jsx37("span", { className: "text-xs text-table-cell-text-secondary whitespace-nowrap", children: "Rows per page" }),
5256
5301
  /* @__PURE__ */ jsx37(
@@ -5392,7 +5437,7 @@ function TruncatedLabel({
5392
5437
  TooltipPrimitive3.Content,
5393
5438
  {
5394
5439
  sideOffset: 4,
5395
- className: "z-50 px-base py-sm rounded-md shadow-lg bg-tooltip-default-bg text-tooltip-default-text text-sm font-regular leading-sm max-w-[320px] data-[state=delayed-open]:animate-[tooltip-in_150ms_ease-out] data-[state=closed]:animate-[tooltip-out_100ms_ease-in]",
5440
+ className: "z-50 px-base py-sm rounded-lg shadow-lg bg-tooltip-default-bg text-tooltip-default-text text-sm font-regular leading-sm max-w-[320px] data-[state=delayed-open]:animate-[tooltip-in_150ms_ease-out] data-[state=closed]:animate-[tooltip-out_100ms_ease-in]",
5396
5441
  children: [
5397
5442
  label,
5398
5443
  /* @__PURE__ */ jsx39(TooltipPrimitive3.Arrow, { className: "fill-tooltip-default-bg" })
@@ -5882,7 +5927,7 @@ var SortButton = ({
5882
5927
  "border border-btn-outlined-neutral-border-default rounded-md shadow-sm",
5883
5928
  "cursor-pointer transition-colors",
5884
5929
  "hover:from-btn-outlined-neutral-bg-hover hover:to-btn-outlined-neutral-bg-gradient-to-hover",
5885
- iconOnly ? "size-8 justify-center p-0" : "px-md py-sm min-w-[80px]",
5930
+ iconOnly ? "size-8 justify-center p-0" : "px-lg py-sm min-w-[80px]",
5886
5931
  className
5887
5932
  ),
5888
5933
  children: [
@@ -5911,7 +5956,7 @@ var SortButton = ({
5911
5956
  align: "start",
5912
5957
  className: cn(
5913
5958
  "z-50 flex flex-col gap-xs overflow-clip p-xs",
5914
- "bg-dropdown-bg border border-dropdown-border rounded-md shadow-lg",
5959
+ "bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
5915
5960
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
5916
5961
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
5917
5962
  "data-[side=bottom]:slide-in-from-top-2",
@@ -6112,7 +6157,7 @@ var SaveViewButton = React44.forwardRef(
6112
6157
  ),
6113
6158
  children: [
6114
6159
  /* @__PURE__ */ jsx44("span", { className: "text-sm font-medium leading-sm whitespace-nowrap text-btn-solid-brand-text-default", children: label }),
6115
- /* @__PURE__ */ jsx44("span", { className: "absolute inset-0 rounded-l-[11px] border border-btn-solid-brand-inner-border-default shadow-sm pointer-events-none" })
6160
+ /* @__PURE__ */ jsx44("span", { className: "absolute inset-0 rounded-l-[9px] border border-btn-solid-brand-inner-border-default shadow-sm pointer-events-none" })
6116
6161
  ]
6117
6162
  }
6118
6163
  ),
@@ -6135,7 +6180,7 @@ var SaveViewButton = React44.forwardRef(
6135
6180
  className: "text-btn-solid-brand-text-default"
6136
6181
  }
6137
6182
  ),
6138
- /* @__PURE__ */ jsx44("span", { className: "absolute inset-0 rounded-r-[11px] border border-btn-solid-brand-inner-border-default shadow-sm pointer-events-none" })
6183
+ /* @__PURE__ */ jsx44("span", { className: "absolute inset-0 rounded-r-[9px] border border-btn-solid-brand-inner-border-default shadow-sm pointer-events-none" })
6139
6184
  ]
6140
6185
  }
6141
6186
  )
@@ -6167,7 +6212,7 @@ var OperatorSelector = ({
6167
6212
  align: "start",
6168
6213
  className: cn(
6169
6214
  "z-50 flex flex-col p-xs overflow-clip",
6170
- "bg-dropdown-bg border border-dropdown-border rounded-md shadow-lg",
6215
+ "bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
6171
6216
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
6172
6217
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
6173
6218
  "data-[side=bottom]:slide-in-from-top-2",
@@ -6493,7 +6538,7 @@ var DatePicker = React45.forwardRef(
6493
6538
  ref,
6494
6539
  className: cn(
6495
6540
  "flex flex-col overflow-clip",
6496
- "bg-datepicker-bg border border-datepicker-border rounded-md shadow-lg",
6541
+ "bg-datepicker-bg border border-datepicker-border rounded-lg shadow-lg",
6497
6542
  className
6498
6543
  ),
6499
6544
  ...props,
@@ -6518,7 +6563,7 @@ var DatePickerSelects = React45.forwardRef(({ className, formatDate = defaultFor
6518
6563
  "div",
6519
6564
  {
6520
6565
  ref,
6521
- className: cn("flex flex-col items-start pt-lg px-lg", className),
6566
+ className: cn("flex flex-col items-start pt-xl px-xl", className),
6522
6567
  ...props,
6523
6568
  children: /* @__PURE__ */ jsxs43("div", { className: "flex items-center gap-base w-full", children: [
6524
6569
  /* @__PURE__ */ jsxs43("div", { className: "flex-1 flex items-center gap-base min-w-0 px-base py-sm bg-gradient-to-t from-[var(--color-select-bg-default)] to-[var(--color-select-bg-gradient-to)] border border-[var(--color-select-border-default)] rounded-base shadow-sm", children: [
@@ -6630,7 +6675,7 @@ var DatePickerCalendar = React45.forwardRef(({ className, header, ...props }, re
6630
6675
  ...props,
6631
6676
  children: [
6632
6677
  header,
6633
- /* @__PURE__ */ jsxs43("div", { className: "flex flex-col gap-lg p-lg", children: [
6678
+ /* @__PURE__ */ jsxs43("div", { className: "flex flex-col gap-xl p-xl", children: [
6634
6679
  /* @__PURE__ */ jsxs43("div", { className: "flex items-center justify-between", children: [
6635
6680
  /* @__PURE__ */ jsxs43("span", { className: "text-base font-medium leading-base text-datepicker-header-text", children: [
6636
6681
  MONTH_NAMES[month],
@@ -6719,7 +6764,7 @@ var DatePickerSuggestions = React45.forwardRef(
6719
6764
  ),
6720
6765
  ...props,
6721
6766
  children: [
6722
- /* @__PURE__ */ jsx48("div", { className: "pt-lg px-base", children: /* @__PURE__ */ jsx48("div", { className: "flex items-center p-base rounded-base", children: /* @__PURE__ */ jsx48("span", { className: "flex-1 text-xs font-medium leading-xs text-datepicker-suggestion-heading uppercase truncate", children: "Suggestions" }) }) }),
6767
+ /* @__PURE__ */ jsx48("div", { className: "pt-xl px-base", children: /* @__PURE__ */ jsx48("div", { className: "flex items-center p-base rounded-base", children: /* @__PURE__ */ jsx48("span", { className: "flex-1 text-xs font-medium leading-xs text-datepicker-suggestion-heading uppercase truncate", children: "Suggestions" }) }) }),
6723
6768
  /* @__PURE__ */ jsx48("div", { className: "flex flex-1 flex-col p-base min-w-[222px]", children: suggestions.map((suggestion, i) => /* @__PURE__ */ jsxs43(
6724
6769
  "button",
6725
6770
  {
@@ -6745,7 +6790,7 @@ var DatePickerFooter = React45.forwardRef(
6745
6790
  {
6746
6791
  ref,
6747
6792
  className: cn(
6748
- "flex items-center justify-between p-lg",
6793
+ "flex items-center justify-between p-xl",
6749
6794
  "border-t border-datepicker-footer-border",
6750
6795
  "bg-datepicker-bg",
6751
6796
  className
@@ -7363,7 +7408,7 @@ var PropertySelector = ({
7363
7408
  onCloseAutoFocus: (e) => e.preventDefault(),
7364
7409
  className: cn(
7365
7410
  "z-50 flex flex-col gap-xs overflow-hidden p-xs",
7366
- "bg-dropdown-bg border border-dropdown-border rounded-md shadow-lg",
7411
+ "bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
7367
7412
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
7368
7413
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
7369
7414
  "data-[side=bottom]:slide-in-from-top-2",
@@ -7373,7 +7418,7 @@ var PropertySelector = ({
7373
7418
  activeGroup === null ? (
7374
7419
  /* ── Level 1: Search + (pinned props) + Categories ──────── */
7375
7420
  /* @__PURE__ */ jsxs47("div", { className: "flex flex-col gap-xs flex-1 min-h-0", children: [
7376
- /* @__PURE__ */ jsxs47("div", { className: "shrink-0 flex items-center gap-base px-md py-base border border-input rounded-md", children: [
7421
+ /* @__PURE__ */ jsxs47("div", { className: "shrink-0 flex items-center gap-base px-lg py-base border border-input rounded-md", children: [
7377
7422
  /* @__PURE__ */ jsx53(
7378
7423
  Icon31,
7379
7424
  {
@@ -7507,7 +7552,7 @@ var PropertySelector = ({
7507
7552
  ]
7508
7553
  }
7509
7554
  ),
7510
- /* @__PURE__ */ jsxs47("div", { className: "shrink-0 flex items-center gap-base px-md py-base border border-input rounded-md", children: [
7555
+ /* @__PURE__ */ jsxs47("div", { className: "shrink-0 flex items-center gap-base px-lg py-base border border-input rounded-md", children: [
7511
7556
  /* @__PURE__ */ jsx53(
7512
7557
  Icon31,
7513
7558
  {
@@ -7590,7 +7635,7 @@ var KebabMenu = ({
7590
7635
  align: "end",
7591
7636
  className: cn(
7592
7637
  "z-50 flex flex-col p-xs overflow-clip",
7593
- "bg-dropdown-bg border border-dropdown-border rounded-md shadow-lg",
7638
+ "bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
7594
7639
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
7595
7640
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
7596
7641
  "data-[side=bottom]:slide-in-from-top-2",
@@ -7706,7 +7751,7 @@ var FilterEditor = ({
7706
7751
  align: "start",
7707
7752
  className: cn(
7708
7753
  "z-50 flex flex-col overflow-clip",
7709
- "bg-dropdown-bg border border-dropdown-border rounded-md shadow-lg",
7754
+ "bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
7710
7755
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
7711
7756
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
7712
7757
  "data-[side=bottom]:slide-in-from-top-2",
@@ -7783,7 +7828,7 @@ var SegmentPopover = ({
7783
7828
  align,
7784
7829
  className: cn(
7785
7830
  "z-50 flex flex-col overflow-clip",
7786
- "bg-dropdown-bg border border-dropdown-border rounded-md shadow-lg",
7831
+ "bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
7787
7832
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
7788
7833
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
7789
7834
  "data-[side=bottom]:slide-in-from-top-2"
@@ -7874,7 +7919,7 @@ var InteractiveFilterChip = ({
7874
7919
  {
7875
7920
  className: cn(
7876
7921
  "inline-flex items-center overflow-clip",
7877
- "bg-filter-chip-bg border border-filter-chip-border rounded-md shadow-sm",
7922
+ "bg-filter-chip-bg border border-filter-chip-border rounded-lg shadow-sm",
7878
7923
  className
7879
7924
  ),
7880
7925
  children: [
@@ -8120,7 +8165,7 @@ var FilterNodeActions = ({
8120
8165
  "button",
8121
8166
  {
8122
8167
  type: "button",
8123
- className: "shrink-0 flex items-center justify-center p-sm rounded-md cursor-pointer transition-colors hover:bg-accent",
8168
+ className: "shrink-0 flex items-center justify-center p-sm rounded-lg cursor-pointer transition-colors hover:bg-accent",
8124
8169
  "aria-label": "More actions",
8125
8170
  children: /* @__PURE__ */ jsx58(
8126
8171
  Icon36,
@@ -8139,7 +8184,7 @@ var FilterNodeActions = ({
8139
8184
  align: "end",
8140
8185
  className: cn(
8141
8186
  "z-50 flex flex-col p-xs overflow-clip",
8142
- "bg-dropdown-bg border border-dropdown-border rounded-md shadow-lg",
8187
+ "bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
8143
8188
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
8144
8189
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
8145
8190
  "min-w-[180px]"
@@ -8190,12 +8235,12 @@ var FilterNodeActions = ({
8190
8235
  FilterNodeActions.displayName = "FilterNodeActions";
8191
8236
 
8192
8237
  // src/components/ui/filter/advanced-row.tsx
8193
- import { Fragment as Fragment4, jsx as jsx59, jsxs as jsxs53 } from "react/jsx-runtime";
8238
+ import { Fragment as Fragment5, jsx as jsx59, jsxs as jsxs53 } from "react/jsx-runtime";
8194
8239
  var selectBtnStyle = [
8195
8240
  "flex items-center gap-base",
8196
8241
  "px-base py-sm",
8197
8242
  "bg-gradient-to-t from-btn-outlined-neutral-bg-default to-btn-outlined-neutral-bg-gradient-to-default",
8198
- "border border-btn-outlined-neutral-border-default rounded-md shadow-sm",
8243
+ "border border-btn-outlined-neutral-border-default rounded-lg shadow-sm",
8199
8244
  "cursor-pointer transition-colors",
8200
8245
  "hover:from-btn-outlined-neutral-bg-hover hover:to-btn-outlined-neutral-bg-gradient-to-hover"
8201
8246
  ];
@@ -8260,7 +8305,7 @@ var AdvancedRow = ({
8260
8305
  TooltipPrimitive4.Content,
8261
8306
  {
8262
8307
  sideOffset: 4,
8263
- className: "z-50 px-base py-sm rounded-md shadow-lg bg-tooltip-default-bg text-tooltip-default-text text-sm font-regular leading-sm data-[state=delayed-open]:animate-[tooltip-in_150ms_ease-out] data-[state=closed]:animate-[tooltip-out_100ms_ease-in]",
8308
+ className: "z-50 px-base py-sm rounded-lg shadow-lg bg-tooltip-default-bg text-tooltip-default-text text-sm font-regular leading-sm data-[state=delayed-open]:animate-[tooltip-in_150ms_ease-out] data-[state=closed]:animate-[tooltip-out_100ms_ease-in]",
8264
8309
  children: [
8265
8310
  '"Or" operator coming soon',
8266
8311
  /* @__PURE__ */ jsx59(TooltipPrimitive4.Arrow, { className: "fill-tooltip-default-bg" })
@@ -8281,7 +8326,7 @@ var AdvancedRow = ({
8281
8326
  align: "start",
8282
8327
  className: cn(
8283
8328
  "z-50 flex flex-col p-xs overflow-clip max-h-[300px] overflow-y-auto",
8284
- "bg-dropdown-bg border border-dropdown-border rounded-md shadow-lg",
8329
+ "bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
8285
8330
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
8286
8331
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0",
8287
8332
  "min-w-[200px]"
@@ -8344,7 +8389,7 @@ var AdvancedRow = ({
8344
8389
  align: "start",
8345
8390
  className: cn(
8346
8391
  "z-50 flex flex-col p-xs overflow-clip",
8347
- "bg-dropdown-bg border border-dropdown-border rounded-md shadow-lg",
8392
+ "bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
8348
8393
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
8349
8394
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0",
8350
8395
  "min-w-[160px]"
@@ -8396,7 +8441,7 @@ var AdvancedRow = ({
8396
8441
  type: "button",
8397
8442
  className: cn(selectBtnStyle, "flex-1 min-w-[80px] justify-between overflow-hidden"),
8398
8443
  children: [
8399
- multiTags && multiTags.length > 0 ? /* @__PURE__ */ jsx59(ValueTagRow, { tags: multiTags }) : /* @__PURE__ */ jsxs53(Fragment4, { children: [
8444
+ multiTags && multiTags.length > 0 ? /* @__PURE__ */ jsx59(ValueTagRow, { tags: multiTags }) : /* @__PURE__ */ jsxs53(Fragment5, { children: [
8400
8445
  valueLeadingIcon && /* @__PURE__ */ jsx59(
8401
8446
  Icon37,
8402
8447
  {
@@ -8435,7 +8480,7 @@ var AdvancedRow = ({
8435
8480
  align: "start",
8436
8481
  className: cn(
8437
8482
  "z-50 flex flex-col overflow-clip",
8438
- "bg-dropdown-bg border border-dropdown-border rounded-md shadow-lg",
8483
+ "bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
8439
8484
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
8440
8485
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
8441
8486
  ),
@@ -8534,7 +8579,7 @@ function ValueTagRow({ tags }) {
8534
8579
  TooltipPrimitive4.Content,
8535
8580
  {
8536
8581
  sideOffset: 4,
8537
- className: "z-50 px-base py-sm rounded-md shadow-lg bg-tooltip-default-bg text-tooltip-default-text text-xs font-regular leading-xs flex flex-col gap-xs data-[state=delayed-open]:animate-[tooltip-in_150ms_ease-out] data-[state=closed]:animate-[tooltip-out_100ms_ease-in]",
8582
+ className: "z-50 px-base py-sm rounded-lg shadow-lg bg-tooltip-default-bg text-tooltip-default-text text-xs font-regular leading-xs flex flex-col gap-xs data-[state=delayed-open]:animate-[tooltip-in_150ms_ease-out] data-[state=closed]:animate-[tooltip-out_100ms_ease-in]",
8538
8583
  children: [
8539
8584
  overflowTags.map((t) => /* @__PURE__ */ jsx59("span", { children: t }, t)),
8540
8585
  /* @__PURE__ */ jsx59(TooltipPrimitive4.Arrow, { className: "fill-tooltip-default-bg" })
@@ -8569,7 +8614,7 @@ var AdvancedGroup = ({
8569
8614
  TooltipPrimitive5.Content,
8570
8615
  {
8571
8616
  sideOffset: 4,
8572
- className: "z-50 px-base py-sm rounded-md shadow-lg bg-tooltip-default-bg text-tooltip-default-text text-sm font-regular leading-sm data-[state=delayed-open]:animate-[tooltip-in_150ms_ease-out] data-[state=closed]:animate-[tooltip-out_100ms_ease-in]",
8617
+ className: "z-50 px-base py-sm rounded-lg shadow-lg bg-tooltip-default-bg text-tooltip-default-text text-sm font-regular leading-sm data-[state=delayed-open]:animate-[tooltip-in_150ms_ease-out] data-[state=closed]:animate-[tooltip-out_100ms_ease-in]",
8573
8618
  children: [
8574
8619
  '"Or" operator coming soon',
8575
8620
  /* @__PURE__ */ jsx60(TooltipPrimitive5.Arrow, { className: "fill-tooltip-default-bg" })
@@ -8577,7 +8622,7 @@ var AdvancedGroup = ({
8577
8622
  }
8578
8623
  ) })
8579
8624
  ] }) }) }),
8580
- /* @__PURE__ */ jsxs54("div", { className: "flex-1 min-w-0 flex flex-col gap-base p-base border border-border rounded-md bg-secondary", children: [
8625
+ /* @__PURE__ */ jsxs54("div", { className: "flex-1 min-w-0 flex flex-col gap-base p-base border border-border rounded-lg bg-secondary", children: [
8581
8626
  children,
8582
8627
  onAddFilter && properties && /* @__PURE__ */ jsx60(
8583
8628
  PropertySelector,
@@ -8593,7 +8638,7 @@ var AdvancedGroup = ({
8593
8638
  "button",
8594
8639
  {
8595
8640
  type: "button",
8596
- className: "flex items-center gap-sm px-base py-sm text-sm font-medium leading-sm text-muted-foreground cursor-pointer transition-colors rounded-md hover:bg-accent hover:text-foreground w-fit",
8641
+ className: "flex items-center gap-sm px-base py-sm text-sm font-medium leading-sm text-muted-foreground cursor-pointer transition-colors rounded-lg hover:bg-accent hover:text-foreground w-fit",
8597
8642
  children: [
8598
8643
  /* @__PURE__ */ jsx60(Icon38, { icon: faPlusOutline2, size: "sm" }),
8599
8644
  "Add filter"
@@ -8786,7 +8831,7 @@ var AdvancedPopover = ({
8786
8831
  onOpenAutoFocus: (e) => e.preventDefault(),
8787
8832
  className: cn(
8788
8833
  "z-50 flex flex-col",
8789
- "bg-background rounded-md shadow-lg",
8834
+ "bg-background rounded-lg shadow-lg",
8790
8835
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
8791
8836
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
8792
8837
  "data-[side=bottom]:slide-in-from-top-2",
@@ -9094,7 +9139,7 @@ var SummaryChip = ({
9094
9139
  TooltipPrimitive6.Content,
9095
9140
  {
9096
9141
  sideOffset: 4,
9097
- className: "z-50 px-base py-sm rounded-md shadow-lg bg-tooltip-default-bg text-tooltip-default-text text-sm font-regular leading-sm max-w-[320px] data-[state=delayed-open]:animate-[tooltip-in_150ms_ease-out] data-[state=closed]:animate-[tooltip-out_100ms_ease-in]",
9142
+ className: "z-50 px-base py-sm rounded-lg shadow-lg bg-tooltip-default-bg text-tooltip-default-text text-sm font-regular leading-sm max-w-[320px] data-[state=delayed-open]:animate-[tooltip-in_150ms_ease-out] data-[state=closed]:animate-[tooltip-out_100ms_ease-in]",
9098
9143
  children: [
9099
9144
  tooltipContent,
9100
9145
  /* @__PURE__ */ jsx62(TooltipPrimitive6.Arrow, { className: "fill-tooltip-default-bg" })
@@ -9111,7 +9156,7 @@ var SummaryChip = ({
9111
9156
  onOpenAutoFocus: (e) => e.preventDefault(),
9112
9157
  className: cn(
9113
9158
  "z-50 flex flex-col overflow-clip",
9114
- "bg-dropdown-bg border border-dropdown-border rounded-md shadow-lg",
9159
+ "bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
9115
9160
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
9116
9161
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
9117
9162
  "data-[side=bottom]:slide-in-from-top-2",