@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/USAGE.md +44 -23
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +217 -172
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +227 -182
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
- package/src/styles/globals.css +3 -0
package/dist/index.js
CHANGED
|
@@ -333,19 +333,19 @@ var buttonVariants = (0, import_class_variance_authority2.cva)(
|
|
|
333
333
|
},
|
|
334
334
|
size: {
|
|
335
335
|
sm: [
|
|
336
|
-
"h-6 py-xs gap-
|
|
336
|
+
"h-6 px-sm py-xs gap-none",
|
|
337
337
|
"text-xs",
|
|
338
338
|
"min-w-16 rounded-base"
|
|
339
339
|
],
|
|
340
340
|
md: [
|
|
341
|
-
"h-8 px-base py-sm gap-
|
|
341
|
+
"h-8 px-base py-sm gap-2xs",
|
|
342
342
|
"text-sm",
|
|
343
343
|
"min-w-20 rounded-md"
|
|
344
344
|
],
|
|
345
345
|
lg: [
|
|
346
|
-
"h-10 px-
|
|
346
|
+
"h-10 px-lg py-md gap-2xs",
|
|
347
347
|
"text-sm",
|
|
348
|
-
"min-w-20 rounded-
|
|
348
|
+
"min-w-20 rounded-lg"
|
|
349
349
|
]
|
|
350
350
|
},
|
|
351
351
|
iconOnly: {
|
|
@@ -471,6 +471,25 @@ var iconSizeMap = {
|
|
|
471
471
|
lg: "sm"
|
|
472
472
|
// 14px
|
|
473
473
|
};
|
|
474
|
+
var textWrapperClass = (size) => cn(
|
|
475
|
+
"inline-flex items-center justify-center px-xs",
|
|
476
|
+
size === "lg" ? "gap-sm" : "gap-xs"
|
|
477
|
+
);
|
|
478
|
+
var ButtonBadge = ({ size, intent, children }) => {
|
|
479
|
+
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)]";
|
|
480
|
+
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";
|
|
481
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
482
|
+
"span",
|
|
483
|
+
{
|
|
484
|
+
className: cn(
|
|
485
|
+
"inline-flex items-center font-medium whitespace-nowrap",
|
|
486
|
+
shape,
|
|
487
|
+
colors
|
|
488
|
+
),
|
|
489
|
+
children
|
|
490
|
+
}
|
|
491
|
+
);
|
|
492
|
+
};
|
|
474
493
|
var Button = React2.forwardRef(
|
|
475
494
|
({
|
|
476
495
|
className,
|
|
@@ -484,26 +503,28 @@ var Button = React2.forwardRef(
|
|
|
484
503
|
leftIcon,
|
|
485
504
|
rightIcon,
|
|
486
505
|
disabled,
|
|
506
|
+
badge,
|
|
487
507
|
children,
|
|
488
508
|
...props
|
|
489
509
|
}, ref) => {
|
|
490
510
|
const appearance = appearanceProp ?? "solid";
|
|
491
511
|
const intent = intentProp ?? "brand";
|
|
512
|
+
const resolvedSize = size ?? "md";
|
|
492
513
|
const isDisabled = disabled || loading;
|
|
493
514
|
const isIconOnly = iconOnlyProp ?? !children;
|
|
494
|
-
const iconSize = iconSizeMap[
|
|
495
|
-
const smPadding = size === "sm" && !isIconOnly ? cn(
|
|
496
|
-
leftIcon || loading ? "pl-xs" : "pl-sm",
|
|
497
|
-
rightIcon ? "pr-xs" : "pr-sm"
|
|
498
|
-
) : "";
|
|
515
|
+
const iconSize = iconSizeMap[resolvedSize];
|
|
499
516
|
const variantClasses = buttonVariants({
|
|
500
517
|
appearance,
|
|
501
518
|
intent,
|
|
502
|
-
size,
|
|
519
|
+
size: resolvedSize,
|
|
503
520
|
iconOnly: isIconOnly || void 0,
|
|
504
521
|
fullWidth,
|
|
505
|
-
className
|
|
522
|
+
className
|
|
506
523
|
});
|
|
524
|
+
const labelNode = !isIconOnly ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { className: textWrapperClass(resolvedSize), children: [
|
|
525
|
+
children,
|
|
526
|
+
badge != null && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ButtonBadge, { size: resolvedSize, intent, children: badge })
|
|
527
|
+
] }) : null;
|
|
507
528
|
if (asChild) {
|
|
508
529
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_slot.Slot, { ref, className: cn(variantClasses), ...props, children });
|
|
509
530
|
}
|
|
@@ -517,7 +538,7 @@ var Button = React2.forwardRef(
|
|
|
517
538
|
...props,
|
|
518
539
|
children: [
|
|
519
540
|
loading ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_icons2.Icon, { icon: import_icons2.faSpinnerSolid, size: iconSize, className: "animate-spin" }) : leftIcon ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_icons2.Icon, { icon: leftIcon, size: iconSize }) : null,
|
|
520
|
-
|
|
541
|
+
labelNode,
|
|
521
542
|
rightIcon && !loading && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_icons2.Icon, { icon: rightIcon, size: iconSize })
|
|
522
543
|
]
|
|
523
544
|
}
|
|
@@ -564,6 +585,7 @@ var BrowserTabItem = React3.forwardRef(
|
|
|
564
585
|
} : {};
|
|
565
586
|
const isDragged = ctx?.draggable && ctx.dragIndex === ctx.itemIndex;
|
|
566
587
|
const isDropTarget = ctx?.draggable && ctx.dropIndex === ctx.itemIndex && ctx.dragIndex !== ctx.itemIndex;
|
|
588
|
+
const showGrip = ctx?.draggable && isHovered;
|
|
567
589
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
568
590
|
"div",
|
|
569
591
|
{
|
|
@@ -571,78 +593,101 @@ var BrowserTabItem = React3.forwardRef(
|
|
|
571
593
|
onMouseEnter: () => setIsHovered(true),
|
|
572
594
|
onMouseLeave: () => setIsHovered(false),
|
|
573
595
|
className: cn(
|
|
574
|
-
"
|
|
575
|
-
"
|
|
576
|
-
isActive ? "border-l border-r border-t
|
|
596
|
+
"relative shrink-0 p-xs rounded-tl-base rounded-tr-base cursor-pointer select-none transition-opacity",
|
|
597
|
+
"border-solid border-browser-tab-item-border",
|
|
598
|
+
isActive ? "bg-browser-tab-item-bg border-l border-r border-t mb-[-1px] z-10" : "border-0",
|
|
577
599
|
isDragged && "opacity-40",
|
|
578
|
-
isDropTarget && "ring-2 ring-inset ring-blue-400
|
|
600
|
+
isDropTarget && "ring-2 ring-inset ring-blue-400",
|
|
579
601
|
className
|
|
580
602
|
),
|
|
581
603
|
...dragProps,
|
|
582
604
|
...props,
|
|
583
605
|
children: [
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
{
|
|
587
|
-
icon: ctx?.draggable && isHovered ? import_icons3.faGripDotsVerticalSolid : icon,
|
|
588
|
-
size: "xs",
|
|
589
|
-
className: cn(
|
|
590
|
-
ctx?.draggable && isHovered ? "text-browser-tab-item-hover-icon cursor-grab" : isActive ? "text-browser-tab-item-active-icon" : "text-browser-tab-item-inactive-icon"
|
|
591
|
-
)
|
|
592
|
-
}
|
|
593
|
-
) }),
|
|
594
|
-
isEditing ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
595
|
-
"input",
|
|
596
|
-
{
|
|
597
|
-
ref: inputRef,
|
|
598
|
-
value: editValue,
|
|
599
|
-
onChange: (e) => setEditValue(e.target.value),
|
|
600
|
-
onBlur: commitRename,
|
|
601
|
-
onKeyDown: (e) => {
|
|
602
|
-
if (e.key === "Enter") commitRename();
|
|
603
|
-
if (e.key === "Escape") cancelRename();
|
|
604
|
-
},
|
|
605
|
-
onClick: (e) => e.stopPropagation(),
|
|
606
|
-
className: cn(
|
|
607
|
-
"text-sm font-medium leading-sm bg-transparent outline-none p-0 m-0",
|
|
608
|
-
"border-b border-browser-tab-item-border border-dashed border-t-0 border-l-0 border-r-0",
|
|
609
|
-
isActive ? "text-browser-tab-item-active-text" : "text-browser-tab-item-inactive-text"
|
|
610
|
-
),
|
|
611
|
-
style: { width: `${Math.max(editValue.length + 1, 2)}ch` }
|
|
612
|
-
}
|
|
613
|
-
) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
614
|
-
"span",
|
|
606
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
607
|
+
"div",
|
|
615
608
|
{
|
|
616
609
|
className: cn(
|
|
617
|
-
"
|
|
618
|
-
isActive ? "
|
|
610
|
+
"flex items-center gap-base px-xs py-2xs transition-[background-color,border-radius,box-shadow]",
|
|
611
|
+
isHovered && !isActive ? "bg-browser-tab-item-hover-bg rounded-sm shadow-sm" : "bg-browser-tab-item-bg rounded-base"
|
|
619
612
|
),
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
613
|
+
children: [
|
|
614
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
615
|
+
import_icons3.Icon,
|
|
616
|
+
{
|
|
617
|
+
icon: showGrip ? import_icons3.faGripDotsVerticalSolid : icon,
|
|
618
|
+
size: "xs",
|
|
619
|
+
className: cn(
|
|
620
|
+
showGrip ? "text-browser-tab-item-hover-icon cursor-grab" : isActive ? "text-browser-tab-item-active-icon" : "text-browser-tab-item-inactive-icon"
|
|
621
|
+
)
|
|
622
|
+
}
|
|
623
|
+
) }),
|
|
624
|
+
isEditing ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
625
|
+
"input",
|
|
626
|
+
{
|
|
627
|
+
ref: inputRef,
|
|
628
|
+
value: editValue,
|
|
629
|
+
onChange: (e) => setEditValue(e.target.value),
|
|
630
|
+
onBlur: commitRename,
|
|
631
|
+
onKeyDown: (e) => {
|
|
632
|
+
if (e.key === "Enter") commitRename();
|
|
633
|
+
if (e.key === "Escape") cancelRename();
|
|
634
|
+
},
|
|
635
|
+
onClick: (e) => e.stopPropagation(),
|
|
636
|
+
className: cn(
|
|
637
|
+
"text-sm font-medium leading-sm bg-transparent outline-none p-0 m-0",
|
|
638
|
+
"border-b border-browser-tab-item-border border-dashed border-t-0 border-l-0 border-r-0",
|
|
639
|
+
isActive ? "text-browser-tab-item-active-text" : "text-browser-tab-item-inactive-text"
|
|
640
|
+
),
|
|
641
|
+
style: { width: `${Math.max(editValue.length + 1, 2)}ch` }
|
|
642
|
+
}
|
|
643
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
644
|
+
"span",
|
|
645
|
+
{
|
|
646
|
+
className: cn(
|
|
647
|
+
"text-sm font-medium leading-sm whitespace-nowrap",
|
|
648
|
+
isActive ? "text-browser-tab-item-active-text" : "text-browser-tab-item-inactive-text"
|
|
649
|
+
),
|
|
650
|
+
onDoubleClick: (e) => {
|
|
651
|
+
if (onRename) {
|
|
652
|
+
e.stopPropagation();
|
|
653
|
+
setEditValue(label);
|
|
654
|
+
setIsEditing(true);
|
|
655
|
+
}
|
|
656
|
+
},
|
|
657
|
+
children: label
|
|
658
|
+
}
|
|
659
|
+
),
|
|
660
|
+
badge && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Badge, { variant: "light", type: "neutral", size: "sm", children: badge }),
|
|
661
|
+
onClose && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
662
|
+
"button",
|
|
663
|
+
{
|
|
664
|
+
onClick: (e) => {
|
|
665
|
+
e.stopPropagation();
|
|
666
|
+
onClose(e);
|
|
667
|
+
},
|
|
668
|
+
className: cn(
|
|
669
|
+
"shrink-0 flex items-center justify-center cursor-pointer",
|
|
670
|
+
isActive ? "text-browser-tab-item-active-icon" : "text-browser-tab-item-inactive-icon"
|
|
671
|
+
),
|
|
672
|
+
"aria-label": `Close ${label}`,
|
|
673
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_icons3.Icon, { icon: import_icons3.faXmarkOutline, size: "xs" })
|
|
674
|
+
}
|
|
675
|
+
)
|
|
676
|
+
]
|
|
628
677
|
}
|
|
629
678
|
),
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
"
|
|
633
|
-
{
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
className:
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
"aria-label": `Close ${label}`,
|
|
643
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_icons3.Icon, { icon: import_icons3.faXmarkOutline, size: "xs" })
|
|
644
|
-
}
|
|
645
|
-
)
|
|
679
|
+
isActive && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
|
|
680
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { "aria-hidden": true, className: "pointer-events-none absolute bottom-0 left-[-1px] w-px h-[8px] bg-browser-tab-item-bg" }),
|
|
681
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { "aria-hidden": true, className: "pointer-events-none absolute bottom-0 right-[-1px] w-px h-[8px] bg-browser-tab-item-bg" }),
|
|
682
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("span", { "aria-hidden": true, className: "pointer-events-none absolute bottom-0 left-[-8px] size-[8px]", children: [
|
|
683
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "absolute bottom-0 left-0 right-0 h-px bg-browser-tab-item-bg" }),
|
|
684
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "absolute inset-0 rounded-br-[8px] border-b border-r border-solid border-browser-tab-item-border" })
|
|
685
|
+
] }),
|
|
686
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("span", { "aria-hidden": true, className: "pointer-events-none absolute bottom-0 right-[-8px] size-[8px]", children: [
|
|
687
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "absolute bottom-0 left-0 right-0 h-px bg-browser-tab-item-bg" }),
|
|
688
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "absolute inset-0 rounded-bl-[8px] border-b border-l border-solid border-browser-tab-item-border" })
|
|
689
|
+
] })
|
|
690
|
+
] })
|
|
646
691
|
]
|
|
647
692
|
}
|
|
648
693
|
);
|
|
@@ -723,7 +768,7 @@ var BrowserTab = React3.forwardRef(
|
|
|
723
768
|
{
|
|
724
769
|
ref,
|
|
725
770
|
className: cn(
|
|
726
|
-
"flex items-end w-full h-[44px] border-b border-browser-tab-border
|
|
771
|
+
"flex items-end w-full h-[44px] border-b border-browser-tab-border pl-base pr-xl",
|
|
727
772
|
className
|
|
728
773
|
),
|
|
729
774
|
...props,
|
|
@@ -732,7 +777,7 @@ var BrowserTab = React3.forwardRef(
|
|
|
732
777
|
"div",
|
|
733
778
|
{
|
|
734
779
|
ref: tabsContainerRef,
|
|
735
|
-
className: "flex items-center flex-1 min-w-0",
|
|
780
|
+
className: "flex items-center flex-1 min-w-0 pl-base",
|
|
736
781
|
style: { overflowX: "clip", overflowY: "visible" },
|
|
737
782
|
children: [
|
|
738
783
|
childArray.map((child, index) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(BrowserTabContext.Provider, { value: { ...ctxBase, itemIndex: index }, children: child }, index)),
|
|
@@ -771,7 +816,7 @@ var BrowserTab = React3.forwardRef(
|
|
|
771
816
|
align: "end",
|
|
772
817
|
className: cn(
|
|
773
818
|
"z-50 flex flex-col gap-base overflow-clip",
|
|
774
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
819
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg p-base shadow-lg",
|
|
775
820
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
776
821
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
777
822
|
"data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2"
|
|
@@ -853,7 +898,7 @@ var containerStyle = [
|
|
|
853
898
|
"flex flex-col gap-base overflow-clip",
|
|
854
899
|
"bg-dropdown-bg",
|
|
855
900
|
"border border-dropdown-border",
|
|
856
|
-
"rounded-
|
|
901
|
+
"rounded-lg",
|
|
857
902
|
"p-xs",
|
|
858
903
|
"shadow-lg"
|
|
859
904
|
];
|
|
@@ -1016,7 +1061,7 @@ DropdownMenuHeading.displayName = "DropdownMenuHeading";
|
|
|
1016
1061
|
var clearStyle = [
|
|
1017
1062
|
"sticky bottom-0 -mx-base -mb-base",
|
|
1018
1063
|
"flex items-center justify-center",
|
|
1019
|
-
"h-10 min-w-[80px] px-
|
|
1064
|
+
"h-10 min-w-[80px] px-lg py-[10px]",
|
|
1020
1065
|
"bg-gradient-to-t from-dropdown-bg from-[10%] to-dropdown-bg",
|
|
1021
1066
|
"border border-dropdown-border",
|
|
1022
1067
|
"shadow-sm",
|
|
@@ -1100,33 +1145,19 @@ var BulkAction = React5.forwardRef(
|
|
|
1100
1145
|
role: "toolbar",
|
|
1101
1146
|
"aria-label": "Bulk actions",
|
|
1102
1147
|
className: cn(
|
|
1103
|
-
"flex items-center gap-lg
|
|
1148
|
+
"flex items-center gap-xl px-lg py-base w-full min-w-0",
|
|
1104
1149
|
"bg-bulk-action-bg border-l border-r border-t border-bulk-action-border",
|
|
1105
|
-
"rounded-tl-
|
|
1150
|
+
"rounded-tl-lg rounded-tr-lg",
|
|
1106
1151
|
"shadow-[0px_0px_6px_0px_rgba(0,0,0,0.02),0px_2px_4px_0px_rgba(0,0,0,0.08)]",
|
|
1107
1152
|
sticky && "sticky bottom-0 z-10",
|
|
1108
1153
|
className
|
|
1109
1154
|
),
|
|
1110
1155
|
...props,
|
|
1111
1156
|
children: [
|
|
1112
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
type: "button",
|
|
1117
|
-
appearance: "ghost",
|
|
1118
|
-
intent: "alert",
|
|
1119
|
-
size: "sm",
|
|
1120
|
-
leftIcon: import_icons5.faXmarkOutline,
|
|
1121
|
-
onClick: onClear,
|
|
1122
|
-
children: clearLabel
|
|
1123
|
-
}
|
|
1124
|
-
),
|
|
1125
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: "text-sm font-regular leading-sm text-bulk-action-count whitespace-nowrap", children: [
|
|
1126
|
-
count,
|
|
1127
|
-
" ",
|
|
1128
|
-
countLabel
|
|
1129
|
-
] })
|
|
1157
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: "text-sm font-regular leading-sm text-bulk-action-count whitespace-nowrap shrink-0", children: [
|
|
1158
|
+
count,
|
|
1159
|
+
" ",
|
|
1160
|
+
countLabel
|
|
1130
1161
|
] }),
|
|
1131
1162
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
1132
1163
|
"div",
|
|
@@ -1179,6 +1210,20 @@ var BulkAction = React5.forwardRef(
|
|
|
1179
1210
|
)
|
|
1180
1211
|
]
|
|
1181
1212
|
}
|
|
1213
|
+
),
|
|
1214
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
1215
|
+
Button,
|
|
1216
|
+
{
|
|
1217
|
+
type: "button",
|
|
1218
|
+
appearance: "ghost",
|
|
1219
|
+
intent: "brand",
|
|
1220
|
+
size: "md",
|
|
1221
|
+
iconOnly: true,
|
|
1222
|
+
leftIcon: import_icons5.faXmarkOutline,
|
|
1223
|
+
onClick: onClear,
|
|
1224
|
+
"aria-label": clearLabel,
|
|
1225
|
+
className: "shrink-0"
|
|
1226
|
+
}
|
|
1182
1227
|
)
|
|
1183
1228
|
]
|
|
1184
1229
|
}
|
|
@@ -1212,7 +1257,7 @@ var tooltipContentVariants = (0, import_class_variance_authority3.cva)(
|
|
|
1212
1257
|
"inline-flex items-center z-50",
|
|
1213
1258
|
"gap-xs",
|
|
1214
1259
|
"px-base py-sm",
|
|
1215
|
-
"rounded-
|
|
1260
|
+
"rounded-lg",
|
|
1216
1261
|
"shadow-lg",
|
|
1217
1262
|
"text-sm",
|
|
1218
1263
|
"font-regular",
|
|
@@ -1455,7 +1500,7 @@ var import_class_variance_authority5 = require("class-variance-authority");
|
|
|
1455
1500
|
var import_icons8 = require("@l3mpire/icons");
|
|
1456
1501
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
1457
1502
|
var infoMessageVariants = (0, import_class_variance_authority5.cva)(
|
|
1458
|
-
"flex items-start gap-
|
|
1503
|
+
"flex items-start gap-lg px-xl py-base rounded-lg",
|
|
1459
1504
|
{
|
|
1460
1505
|
variants: {
|
|
1461
1506
|
type: {
|
|
@@ -1535,8 +1580,8 @@ var import_icons9 = require("@l3mpire/icons");
|
|
|
1535
1580
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
1536
1581
|
var toastVariants = (0, import_class_variance_authority6.cva)(
|
|
1537
1582
|
[
|
|
1538
|
-
"flex flex-col items-end w-[308px] gap-
|
|
1539
|
-
"rounded-
|
|
1583
|
+
"flex flex-col items-end w-[308px] gap-lg p-xl",
|
|
1584
|
+
"rounded-lg",
|
|
1540
1585
|
"border border-toast-border",
|
|
1541
1586
|
"bg-gradient-to-b to-background to-[60%]",
|
|
1542
1587
|
"[background-size:100%_calc(100%+120px)] [background-position:0_-120px]",
|
|
@@ -1576,14 +1621,14 @@ var typeIconMap2 = {
|
|
|
1576
1621
|
};
|
|
1577
1622
|
var titleStyle2 = "text-sm font-medium leading-sm text-toast-title";
|
|
1578
1623
|
var subtitleStyle = "text-sm font-regular leading-sm text-toast-subtitle";
|
|
1579
|
-
var closeButtonStyle2 = "inline-flex shrink-0 items-center justify-center self-start p-sm rounded-
|
|
1624
|
+
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";
|
|
1580
1625
|
var ToastProvider = ToastPrimitive.Provider;
|
|
1581
1626
|
var ToastViewport = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
1582
1627
|
ToastPrimitive.Viewport,
|
|
1583
1628
|
{
|
|
1584
1629
|
ref,
|
|
1585
1630
|
className: cn(
|
|
1586
|
-
"fixed top-0 right-0 z-[100] flex max-h-screen w-full flex-col-reverse p-
|
|
1631
|
+
"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]",
|
|
1587
1632
|
className
|
|
1588
1633
|
),
|
|
1589
1634
|
...props
|
|
@@ -1605,7 +1650,7 @@ var Toast = React10.forwardRef(({ className, type = "info", title, subtitle, onC
|
|
|
1605
1650
|
className: cn(toastVariants({ type }), !actions && "min-h-[80px]", className),
|
|
1606
1651
|
...props,
|
|
1607
1652
|
children: [
|
|
1608
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex w-full items-center gap-
|
|
1653
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex w-full items-center gap-lg", children: [
|
|
1609
1654
|
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: iconContainerVariants({ type }), children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_icons9.Icon, { icon, size: "lg", className: color }) }),
|
|
1610
1655
|
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
1611
1656
|
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(ToastPrimitive.Title, { className: titleStyle2, children: title }),
|
|
@@ -1694,7 +1739,7 @@ var import_icons10 = require("@l3mpire/icons");
|
|
|
1694
1739
|
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
1695
1740
|
var cardStyles = {
|
|
1696
1741
|
base: [
|
|
1697
|
-
"group relative flex w-full items-center gap-base rounded-
|
|
1742
|
+
"group relative flex w-full items-center gap-base rounded-lg border border-solid p-lg text-left transition-colors",
|
|
1698
1743
|
"border-switch-card-border",
|
|
1699
1744
|
"focus-visible:outline-none focus-visible:shadow-focus-ring",
|
|
1700
1745
|
"disabled:pointer-events-none disabled:opacity-60",
|
|
@@ -1965,7 +2010,7 @@ var SidebarHeader = React14.forwardRef(
|
|
|
1965
2010
|
ref,
|
|
1966
2011
|
className: cn(
|
|
1967
2012
|
"flex items-center shrink-0 h-[44px] border-b border-sidebar-border",
|
|
1968
|
-
isCollapsed ? "justify-center px-
|
|
2013
|
+
isCollapsed ? "justify-center px-xl" : "justify-between px-xl",
|
|
1969
2014
|
className
|
|
1970
2015
|
),
|
|
1971
2016
|
...props,
|
|
@@ -2037,7 +2082,7 @@ var Sidebar = React14.forwardRef(
|
|
|
2037
2082
|
(child) => !(React14.isValidElement(child) && child.type?.displayName === "SidebarFooter")
|
|
2038
2083
|
);
|
|
2039
2084
|
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, { children: [
|
|
2040
|
-
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "flex flex-col gap-
|
|
2085
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "flex flex-col gap-xl p-xl flex-1 overflow-y-auto", children: rest }),
|
|
2041
2086
|
footer
|
|
2042
2087
|
] });
|
|
2043
2088
|
})()
|
|
@@ -2068,7 +2113,7 @@ var SidebarFooter = React14.forwardRef(
|
|
|
2068
2113
|
{
|
|
2069
2114
|
ref,
|
|
2070
2115
|
className: cn(
|
|
2071
|
-
"flex flex-col p-
|
|
2116
|
+
"flex flex-col p-xl bg-sidebar-footer-bg border-t border-sidebar-border mt-auto w-full",
|
|
2072
2117
|
className
|
|
2073
2118
|
),
|
|
2074
2119
|
...props,
|
|
@@ -2097,7 +2142,7 @@ var searchBarVariants = (0, import_class_variance_authority8.cva)(
|
|
|
2097
2142
|
},
|
|
2098
2143
|
size: {
|
|
2099
2144
|
sm: "gap-sm px-base py-sm",
|
|
2100
|
-
md: "gap-base px-
|
|
2145
|
+
md: "gap-base px-lg py-base"
|
|
2101
2146
|
}
|
|
2102
2147
|
},
|
|
2103
2148
|
defaultVariants: { variant: "white", size: "md" }
|
|
@@ -2438,7 +2483,7 @@ var import_icons14 = require("@l3mpire/icons");
|
|
|
2438
2483
|
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
2439
2484
|
var cardStyles2 = {
|
|
2440
2485
|
base: [
|
|
2441
|
-
"group relative flex w-full items-start gap-base rounded-
|
|
2486
|
+
"group relative flex w-full items-start gap-base rounded-lg border border-solid p-lg text-left transition-colors",
|
|
2442
2487
|
"focus-visible:outline-none focus-visible:shadow-focus-ring",
|
|
2443
2488
|
"disabled:pointer-events-none disabled:opacity-60",
|
|
2444
2489
|
"cursor-pointer"
|
|
@@ -2566,7 +2611,7 @@ var sidebarItemVariants = (0, import_class_variance_authority10.cva)(
|
|
|
2566
2611
|
active: "bg-sidebar-item-active-bg"
|
|
2567
2612
|
},
|
|
2568
2613
|
type: {
|
|
2569
|
-
default: "px-
|
|
2614
|
+
default: "px-xl py-base",
|
|
2570
2615
|
collapsed: "p-base justify-center"
|
|
2571
2616
|
}
|
|
2572
2617
|
},
|
|
@@ -2674,7 +2719,7 @@ var selectVariants = (0, import_class_variance_authority11.cva)(
|
|
|
2674
2719
|
variants: {
|
|
2675
2720
|
size: {
|
|
2676
2721
|
sm: "px-base gap-base rounded-base min-w-[80px]",
|
|
2677
|
-
md: "px-
|
|
2722
|
+
md: "px-lg gap-base rounded-md"
|
|
2678
2723
|
}
|
|
2679
2724
|
},
|
|
2680
2725
|
defaultVariants: { size: "md" }
|
|
@@ -2821,7 +2866,7 @@ function SelectChips({ tags, onTagRemove, chipHeightPx }) {
|
|
|
2821
2866
|
{
|
|
2822
2867
|
sideOffset: 4,
|
|
2823
2868
|
className: cn(
|
|
2824
|
-
"z-50 px-base py-sm rounded-
|
|
2869
|
+
"z-50 px-base py-sm rounded-lg shadow-lg",
|
|
2825
2870
|
"bg-tooltip-default-bg text-tooltip-default-text",
|
|
2826
2871
|
"text-xs font-regular leading-xs",
|
|
2827
2872
|
"flex flex-col gap-xs",
|
|
@@ -2975,7 +3020,7 @@ var TabList = React23.forwardRef(({ className, hasOffset = false, ...props }, re
|
|
|
2975
3020
|
ref,
|
|
2976
3021
|
className: cn(
|
|
2977
3022
|
"flex items-center gap-base pt-base border-b border-tab-border",
|
|
2978
|
-
hasOffset && "px-
|
|
3023
|
+
hasOffset && "px-xl",
|
|
2979
3024
|
className
|
|
2980
3025
|
),
|
|
2981
3026
|
...props
|
|
@@ -3096,7 +3141,7 @@ var Tag = React24.forwardRef(
|
|
|
3096
3141
|
"inline-flex shrink-0 items-center justify-center",
|
|
3097
3142
|
"rounded-base cursor-pointer",
|
|
3098
3143
|
"p-xs",
|
|
3099
|
-
size === "md" && "p-sm rounded-
|
|
3144
|
+
size === "md" && "p-sm rounded-lg"
|
|
3100
3145
|
),
|
|
3101
3146
|
"aria-label": "Remove",
|
|
3102
3147
|
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_icons17.Icon, { icon: import_icons17.faXmarkSolid, size: iconSize })
|
|
@@ -3182,7 +3227,7 @@ var TextArea = React25.forwardRef(
|
|
|
3182
3227
|
"aria-describedby": errorId,
|
|
3183
3228
|
className: cn(
|
|
3184
3229
|
"w-full min-h-[120px] resize-vertical",
|
|
3185
|
-
"px-
|
|
3230
|
+
"px-lg py-base",
|
|
3186
3231
|
"rounded-md border overflow-clip outline-none",
|
|
3187
3232
|
"text-sm",
|
|
3188
3233
|
"font-regular",
|
|
@@ -3221,7 +3266,7 @@ var textInputVariants = (0, import_class_variance_authority13.cva)(
|
|
|
3221
3266
|
variants: {
|
|
3222
3267
|
size: {
|
|
3223
3268
|
sm: "px-base py-sm gap-base rounded-base",
|
|
3224
|
-
md: "px-
|
|
3269
|
+
md: "px-lg py-[10px] gap-base rounded-md"
|
|
3225
3270
|
}
|
|
3226
3271
|
},
|
|
3227
3272
|
defaultVariants: { size: "md" }
|
|
@@ -3372,7 +3417,7 @@ var TextInput = React26.forwardRef(
|
|
|
3372
3417
|
onClick: onButtonClick,
|
|
3373
3418
|
className: cn(
|
|
3374
3419
|
"shrink-0 flex items-center justify-center border",
|
|
3375
|
-
size === "sm" ? "px-base rounded-r-base" : "px-
|
|
3420
|
+
size === "sm" ? "px-base rounded-r-base" : "px-lg rounded-r-md",
|
|
3376
3421
|
attachedButtonStyles[disabled ? "disabled" : "enabled"]
|
|
3377
3422
|
),
|
|
3378
3423
|
children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_icons19.Icon, { icon: buttonIcon ?? import_icons19.faPlusSolid, size: "sm", className: icColor })
|
|
@@ -3405,7 +3450,7 @@ var chipInputVariants = (0, import_class_variance_authority14.cva)(
|
|
|
3405
3450
|
variants: {
|
|
3406
3451
|
size: {
|
|
3407
3452
|
sm: "px-base py-sm rounded-base",
|
|
3408
|
-
md: "px-
|
|
3453
|
+
md: "px-lg py-[10px] rounded-md"
|
|
3409
3454
|
}
|
|
3410
3455
|
},
|
|
3411
3456
|
defaultVariants: { size: "md" }
|
|
@@ -3611,7 +3656,7 @@ var inputVariants = (0, import_class_variance_authority15.cva)(
|
|
|
3611
3656
|
variants: {
|
|
3612
3657
|
size: {
|
|
3613
3658
|
sm: "px-base py-sm",
|
|
3614
|
-
md: "px-
|
|
3659
|
+
md: "px-lg py-[10px]"
|
|
3615
3660
|
}
|
|
3616
3661
|
},
|
|
3617
3662
|
defaultVariants: { size: "md" }
|
|
@@ -3860,7 +3905,7 @@ var UserMenu = React30.forwardRef(
|
|
|
3860
3905
|
"flex flex-col w-[260px] overflow-clip",
|
|
3861
3906
|
"bg-user-menu-bg",
|
|
3862
3907
|
"border border-user-menu-border",
|
|
3863
|
-
"rounded-
|
|
3908
|
+
"rounded-lg",
|
|
3864
3909
|
"shadow-lg",
|
|
3865
3910
|
"divide-y divide-user-menu-border",
|
|
3866
3911
|
className
|
|
@@ -3876,7 +3921,7 @@ var UserMenuInfoRow = React30.forwardRef(
|
|
|
3876
3921
|
"div",
|
|
3877
3922
|
{
|
|
3878
3923
|
ref,
|
|
3879
|
-
className: cn("flex items-center gap-base p-
|
|
3924
|
+
className: cn("flex items-center gap-base p-xl", className),
|
|
3880
3925
|
...props,
|
|
3881
3926
|
children: [
|
|
3882
3927
|
avatar,
|
|
@@ -3913,7 +3958,7 @@ var modalVariants = (0, import_class_variance_authority17.cva)(
|
|
|
3913
3958
|
[
|
|
3914
3959
|
"fixed top-[50%] left-[50%] -translate-x-1/2 -translate-y-1/2 z-50",
|
|
3915
3960
|
"flex flex-col",
|
|
3916
|
-
"bg-modal-bg border border-modal-border rounded-
|
|
3961
|
+
"bg-modal-bg border border-modal-border rounded-lg shadow-sm overflow-clip",
|
|
3917
3962
|
"outline-none",
|
|
3918
3963
|
"data-[state=open]:animate-modal-in data-[state=closed]:animate-modal-out"
|
|
3919
3964
|
],
|
|
@@ -3964,7 +4009,7 @@ var ModalHeader = React31.forwardRef(
|
|
|
3964
4009
|
{
|
|
3965
4010
|
ref,
|
|
3966
4011
|
className: cn(
|
|
3967
|
-
"flex items-start gap-
|
|
4012
|
+
"flex items-start gap-xl p-xl",
|
|
3968
4013
|
showBorder && "border-b border-modal-header-border",
|
|
3969
4014
|
className
|
|
3970
4015
|
),
|
|
@@ -4008,7 +4053,7 @@ var ModalBody = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
4008
4053
|
"div",
|
|
4009
4054
|
{
|
|
4010
4055
|
ref,
|
|
4011
|
-
className: cn("flex-1 overflow-y-auto p-
|
|
4056
|
+
className: cn("flex-1 overflow-y-auto p-xl", className),
|
|
4012
4057
|
...props
|
|
4013
4058
|
}
|
|
4014
4059
|
));
|
|
@@ -4019,7 +4064,7 @@ var ModalFooter = React31.forwardRef(
|
|
|
4019
4064
|
{
|
|
4020
4065
|
ref,
|
|
4021
4066
|
className: cn(
|
|
4022
|
-
"flex items-center justify-between gap-
|
|
4067
|
+
"flex items-center justify-between gap-lg p-xl",
|
|
4023
4068
|
showBorder && "border-t border-modal-footer-border",
|
|
4024
4069
|
className
|
|
4025
4070
|
),
|
|
@@ -4063,7 +4108,7 @@ var Dialog = React32.forwardRef(
|
|
|
4063
4108
|
] }),
|
|
4064
4109
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(ModalFooter, { children: [
|
|
4065
4110
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ModalClose, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Button, { appearance: "ghost", intent: "brand", size: "md", onClick: handleCancel, children: cancelLabel }) }),
|
|
4066
|
-
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex items-center gap-
|
|
4111
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex items-center gap-lg", children: [
|
|
4067
4112
|
secondaryLabel && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Button, { appearance: "outlined", intent: "brand", size: "md", onClick: onSecondaryAction, children: secondaryLabel }),
|
|
4068
4113
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
4069
4114
|
Button,
|
|
@@ -4093,8 +4138,8 @@ var emptyStateVariants = (0, import_class_variance_authority18.cva)(
|
|
|
4093
4138
|
{
|
|
4094
4139
|
variants: {
|
|
4095
4140
|
size: {
|
|
4096
|
-
md: "gap-
|
|
4097
|
-
sm: "gap-
|
|
4141
|
+
md: "gap-xl",
|
|
4142
|
+
sm: "gap-lg"
|
|
4098
4143
|
}
|
|
4099
4144
|
},
|
|
4100
4145
|
defaultVariants: {
|
|
@@ -4174,7 +4219,7 @@ var EmptyState = React33.forwardRef(
|
|
|
4174
4219
|
{
|
|
4175
4220
|
className: cn(
|
|
4176
4221
|
"flex items-center",
|
|
4177
|
-
isMd ? "gap-
|
|
4222
|
+
isMd ? "gap-xl" : "gap-base"
|
|
4178
4223
|
),
|
|
4179
4224
|
children: [
|
|
4180
4225
|
secondaryAction && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
@@ -4218,7 +4263,7 @@ var AvatarCell = ({
|
|
|
4218
4263
|
subtitle,
|
|
4219
4264
|
src,
|
|
4220
4265
|
className
|
|
4221
|
-
}) => /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: cn("flex items-center gap-
|
|
4266
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: cn("flex items-center gap-lg", className), children: [
|
|
4222
4267
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Avatar, { initials: getInitials(name), src, alt: name, size: "lg", shape: "rounded" }),
|
|
4223
4268
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "flex flex-col", children: [
|
|
4224
4269
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "text-sm font-medium text-table-cell-text-primary leading-sm", children: name }),
|
|
@@ -4485,7 +4530,7 @@ var TableHead = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
4485
4530
|
{
|
|
4486
4531
|
ref,
|
|
4487
4532
|
className: cn(
|
|
4488
|
-
"group/head h-10 px-
|
|
4533
|
+
"group/head h-10 px-lg py-lg text-left align-middle text-xs font-medium leading-xs",
|
|
4489
4534
|
"text-table-head-text bg-table-head-bg-default",
|
|
4490
4535
|
"hover:bg-table-head-bg-hover",
|
|
4491
4536
|
"border-b border-r border-table-border last:border-r-0",
|
|
@@ -4501,7 +4546,7 @@ var TableCell = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
4501
4546
|
{
|
|
4502
4547
|
ref,
|
|
4503
4548
|
className: cn(
|
|
4504
|
-
"px-
|
|
4549
|
+
"px-lg py-lg align-middle text-sm font-medium max-h-[52px]",
|
|
4505
4550
|
"text-table-cell-text-primary",
|
|
4506
4551
|
"border-b border-r border-table-border last:border-r-0",
|
|
4507
4552
|
"[&:has([role=checkbox])]:pr-0",
|
|
@@ -4515,7 +4560,7 @@ var TableCaption = React35.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
4515
4560
|
"caption",
|
|
4516
4561
|
{
|
|
4517
4562
|
ref,
|
|
4518
|
-
className: cn("mt-
|
|
4563
|
+
className: cn("mt-lg text-sm text-table-cell-text-secondary", className),
|
|
4519
4564
|
...props
|
|
4520
4565
|
}
|
|
4521
4566
|
));
|
|
@@ -4593,7 +4638,7 @@ function DataTableSettingsModal({
|
|
|
4593
4638
|
};
|
|
4594
4639
|
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Modal, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(ModalContent, { size: "sm", className, children: [
|
|
4595
4640
|
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ModalHeader, { onClose: () => onOpenChange(false), children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ModalTitle, { children: title }) }),
|
|
4596
|
-
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ModalBody, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "flex flex-col gap-
|
|
4641
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ModalBody, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "flex flex-col gap-lg", children: [
|
|
4597
4642
|
/* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "flex items-center justify-between gap-base", children: [
|
|
4598
4643
|
/* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("span", { className: "text-sm font-medium text-table-cell-text-secondary", children: [
|
|
4599
4644
|
"Columns ",
|
|
@@ -4640,7 +4685,7 @@ function DataTableSettingsModal({
|
|
|
4640
4685
|
"flex flex-col max-h-[360px] overflow-auto rounded-base",
|
|
4641
4686
|
"border border-table-border"
|
|
4642
4687
|
),
|
|
4643
|
-
children: filtered.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "py-
|
|
4688
|
+
children: filtered.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "py-lg text-center text-sm text-table-cell-text-secondary", children: "No columns found" }) : filtered.map((c) => {
|
|
4644
4689
|
const key = getColKey(c);
|
|
4645
4690
|
const label = getColLabel(c);
|
|
4646
4691
|
const checked = draft[key] !== false;
|
|
@@ -4763,7 +4808,7 @@ function ColumnFilterPopover({
|
|
|
4763
4808
|
align: "start",
|
|
4764
4809
|
sideOffset: 4,
|
|
4765
4810
|
className: cn(
|
|
4766
|
-
"z-50 w-[240px] rounded-
|
|
4811
|
+
"z-50 w-[240px] rounded-lg border border-table-border bg-table-bg p-lg shadow-lg",
|
|
4767
4812
|
"animate-in fade-in-0 zoom-in-95"
|
|
4768
4813
|
),
|
|
4769
4814
|
onClick: (e) => e.stopPropagation(),
|
|
@@ -5355,7 +5400,7 @@ function DataTablePagination({
|
|
|
5355
5400
|
"div",
|
|
5356
5401
|
{
|
|
5357
5402
|
className: cn(
|
|
5358
|
-
"flex items-center justify-between px-
|
|
5403
|
+
"flex items-center justify-between px-xl py-lg",
|
|
5359
5404
|
className
|
|
5360
5405
|
),
|
|
5361
5406
|
children: [
|
|
@@ -5365,7 +5410,7 @@ function DataTablePagination({
|
|
|
5365
5410
|
totalCount,
|
|
5366
5411
|
" row(s) selected"
|
|
5367
5412
|
] }) }),
|
|
5368
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex items-center gap-
|
|
5413
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex items-center gap-xl", children: [
|
|
5369
5414
|
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex items-center gap-sm", children: [
|
|
5370
5415
|
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "text-xs text-table-cell-text-secondary whitespace-nowrap", children: "Rows per page" }),
|
|
5371
5416
|
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
@@ -5507,7 +5552,7 @@ function TruncatedLabel({
|
|
|
5507
5552
|
TooltipPrimitive3.Content,
|
|
5508
5553
|
{
|
|
5509
5554
|
sideOffset: 4,
|
|
5510
|
-
className: "z-50 px-base py-sm rounded-
|
|
5555
|
+
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]",
|
|
5511
5556
|
children: [
|
|
5512
5557
|
label,
|
|
5513
5558
|
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(TooltipPrimitive3.Arrow, { className: "fill-tooltip-default-bg" })
|
|
@@ -5994,7 +6039,7 @@ var SortButton = ({
|
|
|
5994
6039
|
"border border-btn-outlined-neutral-border-default rounded-md shadow-sm",
|
|
5995
6040
|
"cursor-pointer transition-colors",
|
|
5996
6041
|
"hover:from-btn-outlined-neutral-bg-hover hover:to-btn-outlined-neutral-bg-gradient-to-hover",
|
|
5997
|
-
iconOnly ? "size-8 justify-center p-0" : "px-
|
|
6042
|
+
iconOnly ? "size-8 justify-center p-0" : "px-lg py-sm min-w-[80px]",
|
|
5998
6043
|
className
|
|
5999
6044
|
),
|
|
6000
6045
|
children: [
|
|
@@ -6023,7 +6068,7 @@ var SortButton = ({
|
|
|
6023
6068
|
align: "start",
|
|
6024
6069
|
className: cn(
|
|
6025
6070
|
"z-50 flex flex-col gap-xs overflow-clip p-xs",
|
|
6026
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
6071
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
6027
6072
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
6028
6073
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
6029
6074
|
"data-[side=bottom]:slide-in-from-top-2",
|
|
@@ -6224,7 +6269,7 @@ var SaveViewButton = React44.forwardRef(
|
|
|
6224
6269
|
),
|
|
6225
6270
|
children: [
|
|
6226
6271
|
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "text-sm font-medium leading-sm whitespace-nowrap text-btn-solid-brand-text-default", children: label }),
|
|
6227
|
-
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "absolute inset-0 rounded-l-[
|
|
6272
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "absolute inset-0 rounded-l-[9px] border border-btn-solid-brand-inner-border-default shadow-sm pointer-events-none" })
|
|
6228
6273
|
]
|
|
6229
6274
|
}
|
|
6230
6275
|
),
|
|
@@ -6247,7 +6292,7 @@ var SaveViewButton = React44.forwardRef(
|
|
|
6247
6292
|
className: "text-btn-solid-brand-text-default"
|
|
6248
6293
|
}
|
|
6249
6294
|
),
|
|
6250
|
-
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "absolute inset-0 rounded-r-[
|
|
6295
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "absolute inset-0 rounded-r-[9px] border border-btn-solid-brand-inner-border-default shadow-sm pointer-events-none" })
|
|
6251
6296
|
]
|
|
6252
6297
|
}
|
|
6253
6298
|
)
|
|
@@ -6279,7 +6324,7 @@ var OperatorSelector = ({
|
|
|
6279
6324
|
align: "start",
|
|
6280
6325
|
className: cn(
|
|
6281
6326
|
"z-50 flex flex-col p-xs overflow-clip",
|
|
6282
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
6327
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
6283
6328
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
6284
6329
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
6285
6330
|
"data-[side=bottom]:slide-in-from-top-2",
|
|
@@ -6599,7 +6644,7 @@ var DatePicker = React45.forwardRef(
|
|
|
6599
6644
|
ref,
|
|
6600
6645
|
className: cn(
|
|
6601
6646
|
"flex flex-col overflow-clip",
|
|
6602
|
-
"bg-datepicker-bg border border-datepicker-border rounded-
|
|
6647
|
+
"bg-datepicker-bg border border-datepicker-border rounded-lg shadow-lg",
|
|
6603
6648
|
className
|
|
6604
6649
|
),
|
|
6605
6650
|
...props,
|
|
@@ -6624,7 +6669,7 @@ var DatePickerSelects = React45.forwardRef(({ className, formatDate = defaultFor
|
|
|
6624
6669
|
"div",
|
|
6625
6670
|
{
|
|
6626
6671
|
ref,
|
|
6627
|
-
className: cn("flex flex-col items-start pt-
|
|
6672
|
+
className: cn("flex flex-col items-start pt-xl px-xl", className),
|
|
6628
6673
|
...props,
|
|
6629
6674
|
children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex items-center gap-base w-full", children: [
|
|
6630
6675
|
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("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: [
|
|
@@ -6736,7 +6781,7 @@ var DatePickerCalendar = React45.forwardRef(({ className, header, ...props }, re
|
|
|
6736
6781
|
...props,
|
|
6737
6782
|
children: [
|
|
6738
6783
|
header,
|
|
6739
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex flex-col gap-
|
|
6784
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex flex-col gap-xl p-xl", children: [
|
|
6740
6785
|
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex items-center justify-between", children: [
|
|
6741
6786
|
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("span", { className: "text-base font-medium leading-base text-datepicker-header-text", children: [
|
|
6742
6787
|
MONTH_NAMES[month],
|
|
@@ -6825,7 +6870,7 @@ var DatePickerSuggestions = React45.forwardRef(
|
|
|
6825
6870
|
),
|
|
6826
6871
|
...props,
|
|
6827
6872
|
children: [
|
|
6828
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "pt-
|
|
6873
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "pt-xl px-base", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "flex items-center p-base rounded-base", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "flex-1 text-xs font-medium leading-xs text-datepicker-suggestion-heading uppercase truncate", children: "Suggestions" }) }) }),
|
|
6829
6874
|
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "flex flex-1 flex-col p-base min-w-[222px]", children: suggestions.map((suggestion, i) => /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
6830
6875
|
"button",
|
|
6831
6876
|
{
|
|
@@ -6851,7 +6896,7 @@ var DatePickerFooter = React45.forwardRef(
|
|
|
6851
6896
|
{
|
|
6852
6897
|
ref,
|
|
6853
6898
|
className: cn(
|
|
6854
|
-
"flex items-center justify-between p-
|
|
6899
|
+
"flex items-center justify-between p-xl",
|
|
6855
6900
|
"border-t border-datepicker-footer-border",
|
|
6856
6901
|
"bg-datepicker-bg",
|
|
6857
6902
|
className
|
|
@@ -7463,7 +7508,7 @@ var PropertySelector = ({
|
|
|
7463
7508
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
7464
7509
|
className: cn(
|
|
7465
7510
|
"z-50 flex flex-col gap-xs overflow-hidden p-xs",
|
|
7466
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
7511
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
7467
7512
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
7468
7513
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
7469
7514
|
"data-[side=bottom]:slide-in-from-top-2",
|
|
@@ -7473,7 +7518,7 @@ var PropertySelector = ({
|
|
|
7473
7518
|
activeGroup === null ? (
|
|
7474
7519
|
/* ── Level 1: Search + (pinned props) + Categories ──────── */
|
|
7475
7520
|
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex flex-col gap-xs flex-1 min-h-0", children: [
|
|
7476
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "shrink-0 flex items-center gap-base px-
|
|
7521
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "shrink-0 flex items-center gap-base px-lg py-base border border-input rounded-md", children: [
|
|
7477
7522
|
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
7478
7523
|
import_icons32.Icon,
|
|
7479
7524
|
{
|
|
@@ -7607,7 +7652,7 @@ var PropertySelector = ({
|
|
|
7607
7652
|
]
|
|
7608
7653
|
}
|
|
7609
7654
|
),
|
|
7610
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "shrink-0 flex items-center gap-base px-
|
|
7655
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "shrink-0 flex items-center gap-base px-lg py-base border border-input rounded-md", children: [
|
|
7611
7656
|
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
7612
7657
|
import_icons32.Icon,
|
|
7613
7658
|
{
|
|
@@ -7690,7 +7735,7 @@ var KebabMenu = ({
|
|
|
7690
7735
|
align: "end",
|
|
7691
7736
|
className: cn(
|
|
7692
7737
|
"z-50 flex flex-col p-xs overflow-clip",
|
|
7693
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
7738
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
7694
7739
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
7695
7740
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
7696
7741
|
"data-[side=bottom]:slide-in-from-top-2",
|
|
@@ -7806,7 +7851,7 @@ var FilterEditor = ({
|
|
|
7806
7851
|
align: "start",
|
|
7807
7852
|
className: cn(
|
|
7808
7853
|
"z-50 flex flex-col overflow-clip",
|
|
7809
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
7854
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
7810
7855
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
7811
7856
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
7812
7857
|
"data-[side=bottom]:slide-in-from-top-2",
|
|
@@ -7883,7 +7928,7 @@ var SegmentPopover = ({
|
|
|
7883
7928
|
align,
|
|
7884
7929
|
className: cn(
|
|
7885
7930
|
"z-50 flex flex-col overflow-clip",
|
|
7886
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
7931
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
7887
7932
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
7888
7933
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
7889
7934
|
"data-[side=bottom]:slide-in-from-top-2"
|
|
@@ -7974,7 +8019,7 @@ var InteractiveFilterChip = ({
|
|
|
7974
8019
|
{
|
|
7975
8020
|
className: cn(
|
|
7976
8021
|
"inline-flex items-center overflow-clip",
|
|
7977
|
-
"bg-filter-chip-bg border border-filter-chip-border rounded-
|
|
8022
|
+
"bg-filter-chip-bg border border-filter-chip-border rounded-lg shadow-sm",
|
|
7978
8023
|
className
|
|
7979
8024
|
),
|
|
7980
8025
|
children: [
|
|
@@ -8213,7 +8258,7 @@ var FilterNodeActions = ({
|
|
|
8213
8258
|
"button",
|
|
8214
8259
|
{
|
|
8215
8260
|
type: "button",
|
|
8216
|
-
className: "shrink-0 flex items-center justify-center p-sm rounded-
|
|
8261
|
+
className: "shrink-0 flex items-center justify-center p-sm rounded-lg cursor-pointer transition-colors hover:bg-accent",
|
|
8217
8262
|
"aria-label": "More actions",
|
|
8218
8263
|
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
8219
8264
|
import_icons37.Icon,
|
|
@@ -8232,7 +8277,7 @@ var FilterNodeActions = ({
|
|
|
8232
8277
|
align: "end",
|
|
8233
8278
|
className: cn(
|
|
8234
8279
|
"z-50 flex flex-col p-xs overflow-clip",
|
|
8235
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
8280
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
8236
8281
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
8237
8282
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
8238
8283
|
"min-w-[180px]"
|
|
@@ -8288,7 +8333,7 @@ var selectBtnStyle = [
|
|
|
8288
8333
|
"flex items-center gap-base",
|
|
8289
8334
|
"px-base py-sm",
|
|
8290
8335
|
"bg-gradient-to-t from-btn-outlined-neutral-bg-default to-btn-outlined-neutral-bg-gradient-to-default",
|
|
8291
|
-
"border border-btn-outlined-neutral-border-default rounded-
|
|
8336
|
+
"border border-btn-outlined-neutral-border-default rounded-lg shadow-sm",
|
|
8292
8337
|
"cursor-pointer transition-colors",
|
|
8293
8338
|
"hover:from-btn-outlined-neutral-bg-hover hover:to-btn-outlined-neutral-bg-gradient-to-hover"
|
|
8294
8339
|
];
|
|
@@ -8353,7 +8398,7 @@ var AdvancedRow = ({
|
|
|
8353
8398
|
TooltipPrimitive4.Content,
|
|
8354
8399
|
{
|
|
8355
8400
|
sideOffset: 4,
|
|
8356
|
-
className: "z-50 px-base py-sm rounded-
|
|
8401
|
+
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]",
|
|
8357
8402
|
children: [
|
|
8358
8403
|
'"Or" operator coming soon',
|
|
8359
8404
|
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(TooltipPrimitive4.Arrow, { className: "fill-tooltip-default-bg" })
|
|
@@ -8374,7 +8419,7 @@ var AdvancedRow = ({
|
|
|
8374
8419
|
align: "start",
|
|
8375
8420
|
className: cn(
|
|
8376
8421
|
"z-50 flex flex-col p-xs overflow-clip max-h-[300px] overflow-y-auto",
|
|
8377
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
8422
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
8378
8423
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
8379
8424
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0",
|
|
8380
8425
|
"min-w-[200px]"
|
|
@@ -8437,7 +8482,7 @@ var AdvancedRow = ({
|
|
|
8437
8482
|
align: "start",
|
|
8438
8483
|
className: cn(
|
|
8439
8484
|
"z-50 flex flex-col p-xs overflow-clip",
|
|
8440
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
8485
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
8441
8486
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
8442
8487
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0",
|
|
8443
8488
|
"min-w-[160px]"
|
|
@@ -8528,7 +8573,7 @@ var AdvancedRow = ({
|
|
|
8528
8573
|
align: "start",
|
|
8529
8574
|
className: cn(
|
|
8530
8575
|
"z-50 flex flex-col overflow-clip",
|
|
8531
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
8576
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
8532
8577
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
8533
8578
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
8534
8579
|
),
|
|
@@ -8627,7 +8672,7 @@ function ValueTagRow({ tags }) {
|
|
|
8627
8672
|
TooltipPrimitive4.Content,
|
|
8628
8673
|
{
|
|
8629
8674
|
sideOffset: 4,
|
|
8630
|
-
className: "z-50 px-base py-sm rounded-
|
|
8675
|
+
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]",
|
|
8631
8676
|
children: [
|
|
8632
8677
|
overflowTags.map((t) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { children: t }, t)),
|
|
8633
8678
|
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(TooltipPrimitive4.Arrow, { className: "fill-tooltip-default-bg" })
|
|
@@ -8662,7 +8707,7 @@ var AdvancedGroup = ({
|
|
|
8662
8707
|
TooltipPrimitive5.Content,
|
|
8663
8708
|
{
|
|
8664
8709
|
sideOffset: 4,
|
|
8665
|
-
className: "z-50 px-base py-sm rounded-
|
|
8710
|
+
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]",
|
|
8666
8711
|
children: [
|
|
8667
8712
|
'"Or" operator coming soon',
|
|
8668
8713
|
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(TooltipPrimitive5.Arrow, { className: "fill-tooltip-default-bg" })
|
|
@@ -8670,7 +8715,7 @@ var AdvancedGroup = ({
|
|
|
8670
8715
|
}
|
|
8671
8716
|
) })
|
|
8672
8717
|
] }) }) }),
|
|
8673
|
-
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex-1 min-w-0 flex flex-col gap-base p-base border border-border rounded-
|
|
8718
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex-1 min-w-0 flex flex-col gap-base p-base border border-border rounded-lg bg-secondary", children: [
|
|
8674
8719
|
children,
|
|
8675
8720
|
onAddFilter && properties && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
8676
8721
|
PropertySelector,
|
|
@@ -8686,7 +8731,7 @@ var AdvancedGroup = ({
|
|
|
8686
8731
|
"button",
|
|
8687
8732
|
{
|
|
8688
8733
|
type: "button",
|
|
8689
|
-
className: "flex items-center gap-sm px-base py-sm text-sm font-medium leading-sm text-muted-foreground cursor-pointer transition-colors rounded-
|
|
8734
|
+
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",
|
|
8690
8735
|
children: [
|
|
8691
8736
|
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_icons39.Icon, { icon: import_icons39.faPlusOutline, size: "sm" }),
|
|
8692
8737
|
"Add filter"
|
|
@@ -8879,7 +8924,7 @@ var AdvancedPopover = ({
|
|
|
8879
8924
|
onOpenAutoFocus: (e) => e.preventDefault(),
|
|
8880
8925
|
className: cn(
|
|
8881
8926
|
"z-50 flex flex-col",
|
|
8882
|
-
"bg-background rounded-
|
|
8927
|
+
"bg-background rounded-lg shadow-lg",
|
|
8883
8928
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
8884
8929
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
8885
8930
|
"data-[side=bottom]:slide-in-from-top-2",
|
|
@@ -9187,7 +9232,7 @@ var SummaryChip = ({
|
|
|
9187
9232
|
TooltipPrimitive6.Content,
|
|
9188
9233
|
{
|
|
9189
9234
|
sideOffset: 4,
|
|
9190
|
-
className: "z-50 px-base py-sm rounded-
|
|
9235
|
+
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]",
|
|
9191
9236
|
children: [
|
|
9192
9237
|
tooltipContent,
|
|
9193
9238
|
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(TooltipPrimitive6.Arrow, { className: "fill-tooltip-default-bg" })
|
|
@@ -9204,7 +9249,7 @@ var SummaryChip = ({
|
|
|
9204
9249
|
onOpenAutoFocus: (e) => e.preventDefault(),
|
|
9205
9250
|
className: cn(
|
|
9206
9251
|
"z-50 flex flex-col overflow-clip",
|
|
9207
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
9252
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
9208
9253
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
9209
9254
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
9210
9255
|
"data-[side=bottom]:slide-in-from-top-2",
|