@l3mpire/ui 2.20.0 → 2.21.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 +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +74 -71
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +74 -71
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
- package/src/styles/globals.css +1 -0
package/USAGE.md
CHANGED
|
@@ -114,7 +114,7 @@ Works with all Tailwind spacing prefixes: `p-`, `px-`, `py-`, `m-`, `mx-`, `my-`
|
|
|
114
114
|
|
|
115
115
|
**Line heights:** `leading-2xs` (14px), `leading-xs` (16px), `leading-sm` (20px), `leading-base` (24px), `leading-md` (28px), `leading-lg` (32px)
|
|
116
116
|
|
|
117
|
-
**Font weights:** `font-regular` (400), `font-semibold` (600), `font-bold` (700)
|
|
117
|
+
**Font weights:** `font-regular` (400), `font-medium` (500), `font-semibold` (600), `font-bold` (700)
|
|
118
118
|
|
|
119
119
|
### Typography component
|
|
120
120
|
|
package/dist/index.d.mts
CHANGED
|
@@ -388,7 +388,7 @@ declare const NumberInput: React.ForwardRefExoticComponent<NumberInputProps & Re
|
|
|
388
388
|
|
|
389
389
|
declare const typographyVariants: (props?: ({
|
|
390
390
|
variant?: "xs" | "sm" | "md" | "lg" | "h2" | "h3" | "h1" | null | undefined;
|
|
391
|
-
weight?: "bold" | "regular" | "semibold" | null | undefined;
|
|
391
|
+
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
|
392
392
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
393
393
|
interface TypographyProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof typographyVariants> {
|
|
394
394
|
as?: React.ElementType;
|
package/dist/index.d.ts
CHANGED
|
@@ -388,7 +388,7 @@ declare const NumberInput: React.ForwardRefExoticComponent<NumberInputProps & Re
|
|
|
388
388
|
|
|
389
389
|
declare const typographyVariants: (props?: ({
|
|
390
390
|
variant?: "xs" | "sm" | "md" | "lg" | "h2" | "h3" | "h1" | null | undefined;
|
|
391
|
-
weight?: "bold" | "regular" | "semibold" | null | undefined;
|
|
391
|
+
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
|
392
392
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
393
393
|
interface TypographyProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof typographyVariants> {
|
|
394
394
|
as?: React.ElementType;
|
package/dist/index.js
CHANGED
|
@@ -207,7 +207,7 @@ var import_jsx_runtime = require("react/jsx-runtime");
|
|
|
207
207
|
var badgeVariants = (0, import_class_variance_authority.cva)(
|
|
208
208
|
[
|
|
209
209
|
"inline-flex items-center justify-center whitespace-nowrap",
|
|
210
|
-
"font-
|
|
210
|
+
"font-medium",
|
|
211
211
|
"border border-transparent"
|
|
212
212
|
],
|
|
213
213
|
{
|
|
@@ -296,7 +296,7 @@ var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
|
296
296
|
var buttonVariants = (0, import_class_variance_authority2.cva)(
|
|
297
297
|
[
|
|
298
298
|
"inline-flex items-center justify-center whitespace-nowrap",
|
|
299
|
-
"font-
|
|
299
|
+
"font-medium transition-colors",
|
|
300
300
|
"focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring",
|
|
301
301
|
"disabled:pointer-events-none",
|
|
302
302
|
"border",
|
|
@@ -600,7 +600,7 @@ var BrowserTabItem = React3.forwardRef(
|
|
|
600
600
|
},
|
|
601
601
|
onClick: (e) => e.stopPropagation(),
|
|
602
602
|
className: cn(
|
|
603
|
-
"text-sm font-
|
|
603
|
+
"text-sm font-medium leading-sm bg-transparent outline-none p-0 m-0",
|
|
604
604
|
"border-b border-browser-tab-item-border border-dashed border-t-0 border-l-0 border-r-0",
|
|
605
605
|
isActive ? "text-browser-tab-item-active-text" : "text-browser-tab-item-inactive-text"
|
|
606
606
|
),
|
|
@@ -610,7 +610,7 @@ var BrowserTabItem = React3.forwardRef(
|
|
|
610
610
|
"span",
|
|
611
611
|
{
|
|
612
612
|
className: cn(
|
|
613
|
-
"text-sm font-
|
|
613
|
+
"text-sm font-medium leading-sm whitespace-nowrap",
|
|
614
614
|
isActive ? "text-browser-tab-item-active-text" : "text-browser-tab-item-inactive-text"
|
|
615
615
|
),
|
|
616
616
|
onDoubleClick: (e) => {
|
|
@@ -799,7 +799,7 @@ var BrowserTab = React3.forwardRef(
|
|
|
799
799
|
"span",
|
|
800
800
|
{
|
|
801
801
|
className: cn(
|
|
802
|
-
"text-sm font-
|
|
802
|
+
"text-sm font-medium leading-sm whitespace-nowrap",
|
|
803
803
|
item.isActive ? "text-browser-tab-item-active-text" : "text-browser-tab-item-inactive-text"
|
|
804
804
|
),
|
|
805
805
|
children: item.label
|
|
@@ -843,8 +843,8 @@ var import_icons4 = require("@l3mpire/icons");
|
|
|
843
843
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
844
844
|
var textSm = "text-sm font-regular leading-sm";
|
|
845
845
|
var textXs = "text-xs font-regular leading-xs";
|
|
846
|
-
var textXsMedium = "text-xs font-
|
|
847
|
-
var textSmMedium = "text-sm font-
|
|
846
|
+
var textXsMedium = "text-xs font-medium leading-xs";
|
|
847
|
+
var textSmMedium = "text-sm font-medium leading-sm";
|
|
848
848
|
var containerStyle = [
|
|
849
849
|
"flex flex-col gap-base overflow-clip",
|
|
850
850
|
"bg-dropdown-bg",
|
|
@@ -1268,7 +1268,7 @@ var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
|
1268
1268
|
var linkVariants = (0, import_class_variance_authority4.cva)(
|
|
1269
1269
|
[
|
|
1270
1270
|
"inline-flex items-center",
|
|
1271
|
-
"font-
|
|
1271
|
+
"font-medium",
|
|
1272
1272
|
"transition-colors cursor-pointer",
|
|
1273
1273
|
"disabled:pointer-events-none",
|
|
1274
1274
|
"[&_svg]:pointer-events-none [&_svg]:shrink-0"
|
|
@@ -1400,7 +1400,7 @@ var InputLabel = React8.forwardRef(({ className, type = "default", disabled, inf
|
|
|
1400
1400
|
className: cn(
|
|
1401
1401
|
"inline-flex items-center gap-xs",
|
|
1402
1402
|
"text-xs",
|
|
1403
|
-
"font-
|
|
1403
|
+
"font-medium",
|
|
1404
1404
|
"leading-xs",
|
|
1405
1405
|
textColor2,
|
|
1406
1406
|
className
|
|
@@ -1472,7 +1472,7 @@ var typeIconMap = {
|
|
|
1472
1472
|
warning: { icon: import_icons8.faTriangleExclamationSolid, color: "text-info-message-warning-icon" },
|
|
1473
1473
|
empty: { icon: import_icons8.faCircleInfoSolid, color: "text-info-message-empty-icon" }
|
|
1474
1474
|
};
|
|
1475
|
-
var titleStyle = "text-sm font-
|
|
1475
|
+
var titleStyle = "text-sm font-medium leading-sm text-info-message-title";
|
|
1476
1476
|
var descriptionStyle = "text-xs font-regular leading-xs text-info-message-description";
|
|
1477
1477
|
var closeButtonStyle = "inline-flex shrink-0 items-center justify-center p-xs rounded-base text-info-message-close hover:bg-black/5 transition-colors";
|
|
1478
1478
|
var typeLinkIntentMap = {
|
|
@@ -1570,7 +1570,7 @@ var typeIconMap2 = {
|
|
|
1570
1570
|
alert: { icon: import_icons9.faCircleExclamationSolid, color: "text-toast-alert-icon" },
|
|
1571
1571
|
warning: { icon: import_icons9.faTriangleExclamationSolid, color: "text-toast-warning-icon" }
|
|
1572
1572
|
};
|
|
1573
|
-
var titleStyle2 = "text-sm font-
|
|
1573
|
+
var titleStyle2 = "text-sm font-medium leading-sm text-toast-title";
|
|
1574
1574
|
var subtitleStyle = "text-sm font-regular leading-sm text-toast-subtitle";
|
|
1575
1575
|
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";
|
|
1576
1576
|
var ToastProvider = ToastPrimitive.Provider;
|
|
@@ -1645,7 +1645,7 @@ var trackStyles = {
|
|
|
1645
1645
|
]
|
|
1646
1646
|
};
|
|
1647
1647
|
var thumbStyle = "pointer-events-none block rounded-full size-3 translate-x-0.5 bg-switch-thumb-bg shadow-md transition-transform data-[state=checked]:translate-x-[13px]";
|
|
1648
|
-
var labelBase = "cursor-pointer select-none text-sm font-
|
|
1648
|
+
var labelBase = "cursor-pointer select-none text-sm font-medium leading-sm";
|
|
1649
1649
|
var labelColor = {
|
|
1650
1650
|
default: "text-switch-label-text",
|
|
1651
1651
|
disabled: "pointer-events-none text-switch-label-disabled"
|
|
@@ -2190,7 +2190,7 @@ var Avatar = React15.forwardRef(({ className, size = "xl", shape = "rounded", sr
|
|
|
2190
2190
|
{
|
|
2191
2191
|
delayMs: 0,
|
|
2192
2192
|
className: cn(
|
|
2193
|
-
"font-
|
|
2193
|
+
"font-medium",
|
|
2194
2194
|
"text-avatar-fallback-text",
|
|
2195
2195
|
"select-none text-center",
|
|
2196
2196
|
initialsFontSize[size ?? "xl"]
|
|
@@ -2239,7 +2239,7 @@ var iconStyle = {
|
|
|
2239
2239
|
default: "text-checkbox-checked-icon",
|
|
2240
2240
|
disabled: "text-checkbox-disabled-icon"
|
|
2241
2241
|
};
|
|
2242
|
-
var labelBase2 = "cursor-pointer select-none overflow-hidden text-ellipsis whitespace-nowrap text-sm font-
|
|
2242
|
+
var labelBase2 = "cursor-pointer select-none overflow-hidden text-ellipsis whitespace-nowrap text-sm font-medium leading-sm";
|
|
2243
2243
|
var labelColor2 = {
|
|
2244
2244
|
default: "text-checkbox-label-default",
|
|
2245
2245
|
disabled: "pointer-events-none text-checkbox-label-disabled"
|
|
@@ -2327,7 +2327,7 @@ var dotStyle = {
|
|
|
2327
2327
|
default: "bg-radio-selected-dot",
|
|
2328
2328
|
disabled: "bg-radio-disabled-dot"
|
|
2329
2329
|
};
|
|
2330
|
-
var labelBase3 = "cursor-pointer select-none overflow-hidden text-ellipsis whitespace-nowrap text-sm font-
|
|
2330
|
+
var labelBase3 = "cursor-pointer select-none overflow-hidden text-ellipsis whitespace-nowrap text-sm font-medium leading-sm";
|
|
2331
2331
|
var labelColor3 = {
|
|
2332
2332
|
default: "text-radio-label-default",
|
|
2333
2333
|
disabled: "pointer-events-none text-radio-label-disabled"
|
|
@@ -2396,7 +2396,7 @@ var SidebarHeadingItem = React18.forwardRef(
|
|
|
2396
2396
|
ref,
|
|
2397
2397
|
className: cn(
|
|
2398
2398
|
"flex items-center w-full",
|
|
2399
|
-
"text-xs leading-xs font-
|
|
2399
|
+
"text-xs leading-xs font-medium text-sidebar-heading-text mb-base",
|
|
2400
2400
|
className
|
|
2401
2401
|
),
|
|
2402
2402
|
...props,
|
|
@@ -2486,7 +2486,7 @@ var SidebarItem = React19.forwardRef(
|
|
|
2486
2486
|
"span",
|
|
2487
2487
|
{
|
|
2488
2488
|
className: cn(
|
|
2489
|
-
"flex-1 min-w-0 truncate text-sm leading-sm font-
|
|
2489
|
+
"flex-1 min-w-0 truncate text-sm leading-sm font-medium",
|
|
2490
2490
|
textColorClass
|
|
2491
2491
|
),
|
|
2492
2492
|
children: label
|
|
@@ -2574,7 +2574,7 @@ var iconColor = {
|
|
|
2574
2574
|
};
|
|
2575
2575
|
var errorGuidance = {
|
|
2576
2576
|
icon: "shrink-0 text-select-error-icon",
|
|
2577
|
-
text: "text-xs font-
|
|
2577
|
+
text: "text-xs font-medium leading-xs text-select-error-text"
|
|
2578
2578
|
};
|
|
2579
2579
|
function SelectChips({ tags, onTagRemove, chipHeightPx }) {
|
|
2580
2580
|
const containerRef = React20.useRef(null);
|
|
@@ -2619,7 +2619,7 @@ function SelectChips({ tags, onTagRemove, chipHeightPx }) {
|
|
|
2619
2619
|
"inline-flex items-center gap-xs shrink-0",
|
|
2620
2620
|
"px-sm rounded-base",
|
|
2621
2621
|
"bg-tag-neutral-bg text-tag-neutral-text",
|
|
2622
|
-
"text-xs font-
|
|
2622
|
+
"text-xs font-medium leading-xs",
|
|
2623
2623
|
"whitespace-nowrap"
|
|
2624
2624
|
);
|
|
2625
2625
|
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "flex flex-1 items-center gap-xs min-w-0 overflow-hidden relative", children: [
|
|
@@ -2864,7 +2864,7 @@ var TabTrigger = React21.forwardRef(({ className, badge, children, ...props }, r
|
|
|
2864
2864
|
"span",
|
|
2865
2865
|
{
|
|
2866
2866
|
className: cn(
|
|
2867
|
-
"text-sm font-
|
|
2867
|
+
"text-sm font-medium leading-sm whitespace-nowrap",
|
|
2868
2868
|
"text-tab-item-default-text",
|
|
2869
2869
|
"group-data-[state=active]:text-tab-item-active-text"
|
|
2870
2870
|
),
|
|
@@ -2898,7 +2898,7 @@ var tagVariants = (0, import_class_variance_authority12.cva)(
|
|
|
2898
2898
|
"inline-flex items-center",
|
|
2899
2899
|
"gap-xs",
|
|
2900
2900
|
"rounded-base",
|
|
2901
|
-
"font-
|
|
2901
|
+
"font-medium",
|
|
2902
2902
|
"whitespace-nowrap"
|
|
2903
2903
|
],
|
|
2904
2904
|
{
|
|
@@ -3003,7 +3003,7 @@ var fieldStates = {
|
|
|
3003
3003
|
};
|
|
3004
3004
|
var errorGuidance2 = {
|
|
3005
3005
|
icon: "shrink-0 text-textarea-error-icon",
|
|
3006
|
-
text: "text-xs font-
|
|
3006
|
+
text: "text-xs font-medium leading-xs text-textarea-error-text"
|
|
3007
3007
|
};
|
|
3008
3008
|
var charLimitStyle = "shrink-0 text-right text-xs font-regular leading-xs text-textarea-char-limit";
|
|
3009
3009
|
function resolveState(error, success, disabled) {
|
|
@@ -3130,7 +3130,7 @@ var attachedButtonStyles = {
|
|
|
3130
3130
|
};
|
|
3131
3131
|
var errorGuidance3 = {
|
|
3132
3132
|
icon: "shrink-0 text-text-input-error-icon",
|
|
3133
|
-
text: "text-xs font-
|
|
3133
|
+
text: "text-xs font-medium leading-xs text-text-input-error-text"
|
|
3134
3134
|
};
|
|
3135
3135
|
function resolveState2(error, success, disabled) {
|
|
3136
3136
|
if (disabled) return "disabled";
|
|
@@ -3294,12 +3294,12 @@ var chipStyle = [
|
|
|
3294
3294
|
"inline-flex items-center gap-xs shrink-0",
|
|
3295
3295
|
"h-6 px-sm rounded-base",
|
|
3296
3296
|
"bg-tag-neutral-bg text-tag-neutral-text",
|
|
3297
|
-
"text-xs font-
|
|
3297
|
+
"text-xs font-medium leading-xs",
|
|
3298
3298
|
"whitespace-nowrap"
|
|
3299
3299
|
];
|
|
3300
3300
|
var errorGuidance4 = {
|
|
3301
3301
|
icon: "shrink-0 text-text-input-error-icon",
|
|
3302
|
-
text: "text-xs font-
|
|
3302
|
+
text: "text-xs font-medium leading-xs text-text-input-error-text"
|
|
3303
3303
|
};
|
|
3304
3304
|
var ChipInput = React25.forwardRef(
|
|
3305
3305
|
({
|
|
@@ -3489,7 +3489,7 @@ var wrapperStates3 = {
|
|
|
3489
3489
|
};
|
|
3490
3490
|
var errorGuidance5 = {
|
|
3491
3491
|
icon: "shrink-0 text-text-input-error-icon",
|
|
3492
|
-
text: "text-xs font-
|
|
3492
|
+
text: "text-xs font-medium leading-xs text-text-input-error-text"
|
|
3493
3493
|
};
|
|
3494
3494
|
var NumberInput = React26.forwardRef(
|
|
3495
3495
|
({
|
|
@@ -3670,6 +3670,7 @@ var typographyVariants = (0, import_class_variance_authority16.cva)("", {
|
|
|
3670
3670
|
},
|
|
3671
3671
|
weight: {
|
|
3672
3672
|
regular: "font-regular",
|
|
3673
|
+
medium: "font-medium",
|
|
3673
3674
|
semibold: "font-semibold",
|
|
3674
3675
|
bold: "font-bold"
|
|
3675
3676
|
}
|
|
@@ -3690,12 +3691,14 @@ var defaultElementMap = {
|
|
|
3690
3691
|
};
|
|
3691
3692
|
var Typography = React27.forwardRef(
|
|
3692
3693
|
({ className, variant = "md", weight, as, asChild = false, ...props }, ref) => {
|
|
3694
|
+
const isHeading = variant === "h1" || variant === "h2" || variant === "h3";
|
|
3695
|
+
const resolvedWeight = weight ?? (isHeading ? "semibold" : "regular");
|
|
3693
3696
|
const Comp = asChild ? import_react_slot3.Slot : as ?? defaultElementMap[variant ?? "md"] ?? "p";
|
|
3694
3697
|
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3695
3698
|
Comp,
|
|
3696
3699
|
{
|
|
3697
3700
|
ref,
|
|
3698
|
-
className: cn(typographyVariants({ variant, weight }), className),
|
|
3701
|
+
className: cn(typographyVariants({ variant, weight: resolvedWeight }), className),
|
|
3699
3702
|
...props
|
|
3700
3703
|
}
|
|
3701
3704
|
);
|
|
@@ -3736,7 +3739,7 @@ var UserMenuInfoRow = React28.forwardRef(
|
|
|
3736
3739
|
children: [
|
|
3737
3740
|
avatar,
|
|
3738
3741
|
/* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex flex-1 flex-col min-w-0", children: [
|
|
3739
|
-
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-sm font-
|
|
3742
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-sm font-medium leading-sm text-user-menu-name truncate", children: name }),
|
|
3740
3743
|
subtitle && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-xs font-regular leading-xs text-user-menu-subtitle truncate", children: subtitle })
|
|
3741
3744
|
] }),
|
|
3742
3745
|
action
|
|
@@ -3845,7 +3848,7 @@ var ModalTitle = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
3845
3848
|
DialogPrimitive.Title,
|
|
3846
3849
|
{
|
|
3847
3850
|
ref,
|
|
3848
|
-
className: cn("text-base font-
|
|
3851
|
+
className: cn("text-base font-medium leading-base text-modal-header-title", className),
|
|
3849
3852
|
...props
|
|
3850
3853
|
}
|
|
3851
3854
|
));
|
|
@@ -4007,7 +4010,7 @@ var EmptyState = React31.forwardRef(
|
|
|
4007
4010
|
"p",
|
|
4008
4011
|
{
|
|
4009
4012
|
className: cn(
|
|
4010
|
-
"font-
|
|
4013
|
+
"font-medium text-table-cell-text-primary",
|
|
4011
4014
|
isMd ? "text-base leading-base" : "text-sm leading-sm"
|
|
4012
4015
|
),
|
|
4013
4016
|
children: title
|
|
@@ -4076,7 +4079,7 @@ var AvatarCell = ({
|
|
|
4076
4079
|
}) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: cn("flex items-center gap-md", className), children: [
|
|
4077
4080
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Avatar, { initials: getInitials(name), src, alt: name, size: "lg", shape: "rounded" }),
|
|
4078
4081
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex flex-col", children: [
|
|
4079
|
-
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "text-sm font-
|
|
4082
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "text-sm font-medium text-table-cell-text-primary leading-sm", children: name }),
|
|
4080
4083
|
subtitle && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "text-xs font-regular text-table-cell-text-secondary leading-xs", children: subtitle })
|
|
4081
4084
|
] })
|
|
4082
4085
|
] });
|
|
@@ -4114,7 +4117,7 @@ var NumberCell = ({
|
|
|
4114
4117
|
className
|
|
4115
4118
|
),
|
|
4116
4119
|
children: [
|
|
4117
|
-
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "text-sm font-
|
|
4120
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "text-sm font-medium text-table-cell-text-primary", children: formatted }),
|
|
4118
4121
|
secondaryStat && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
4119
4122
|
"span",
|
|
4120
4123
|
{
|
|
@@ -4182,7 +4185,7 @@ var TextCell = ({
|
|
|
4182
4185
|
{
|
|
4183
4186
|
className: cn(
|
|
4184
4187
|
"text-sm",
|
|
4185
|
-
secondary ? "font-regular text-table-cell-text-secondary" : "font-
|
|
4188
|
+
secondary ? "font-regular text-table-cell-text-secondary" : "font-medium text-table-cell-text-primary",
|
|
4186
4189
|
className
|
|
4187
4190
|
),
|
|
4188
4191
|
children: value
|
|
@@ -4231,7 +4234,7 @@ var EditableCell = ({
|
|
|
4231
4234
|
{
|
|
4232
4235
|
ref: inputRef,
|
|
4233
4236
|
className: cn(
|
|
4234
|
-
"w-full bg-transparent text-sm font-
|
|
4237
|
+
"w-full bg-transparent text-sm font-medium text-table-cell-text-primary",
|
|
4235
4238
|
"outline-none border-b border-table-border py-0 h-[20px]",
|
|
4236
4239
|
className
|
|
4237
4240
|
),
|
|
@@ -4248,7 +4251,7 @@ var EditableCell = ({
|
|
|
4248
4251
|
role: "button",
|
|
4249
4252
|
tabIndex: 0,
|
|
4250
4253
|
className: cn(
|
|
4251
|
-
"text-sm font-
|
|
4254
|
+
"text-sm font-medium text-table-cell-text-primary cursor-text leading-sm h-[20px] inline-block",
|
|
4252
4255
|
className
|
|
4253
4256
|
),
|
|
4254
4257
|
onDoubleClick: () => setIsEditing(true),
|
|
@@ -4314,7 +4317,7 @@ var TableFooter = React33.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
4314
4317
|
{
|
|
4315
4318
|
ref,
|
|
4316
4319
|
className: cn(
|
|
4317
|
-
"border-t border-table-border bg-table-bg font-
|
|
4320
|
+
"border-t border-table-border bg-table-bg font-medium",
|
|
4318
4321
|
className
|
|
4319
4322
|
),
|
|
4320
4323
|
...props
|
|
@@ -4340,7 +4343,7 @@ var TableHead = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
4340
4343
|
{
|
|
4341
4344
|
ref,
|
|
4342
4345
|
className: cn(
|
|
4343
|
-
"group/head h-10 px-md py-md text-left align-middle text-xs font-
|
|
4346
|
+
"group/head h-10 px-md py-md text-left align-middle text-xs font-medium leading-xs",
|
|
4344
4347
|
"text-table-head-text bg-table-head-bg-default",
|
|
4345
4348
|
"hover:bg-table-head-bg-hover",
|
|
4346
4349
|
"border-b border-r border-table-border last:border-r-0",
|
|
@@ -4356,7 +4359,7 @@ var TableCell = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
4356
4359
|
{
|
|
4357
4360
|
ref,
|
|
4358
4361
|
className: cn(
|
|
4359
|
-
"px-md py-md align-middle text-sm font-
|
|
4362
|
+
"px-md py-md align-middle text-sm font-medium max-h-[52px]",
|
|
4360
4363
|
"text-table-cell-text-primary",
|
|
4361
4364
|
"border-b border-r border-table-border last:border-r-0",
|
|
4362
4365
|
"[&:has([role=checkbox])]:pr-0",
|
|
@@ -4455,7 +4458,7 @@ function ColumnFilterPopover({
|
|
|
4455
4458
|
),
|
|
4456
4459
|
onClick: (e) => e.stopPropagation(),
|
|
4457
4460
|
children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "flex flex-col gap-sm", children: [
|
|
4458
|
-
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "text-xs font-
|
|
4461
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "text-xs font-medium text-table-head-text", children: "Filter" }),
|
|
4459
4462
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
4460
4463
|
"select",
|
|
4461
4464
|
{
|
|
@@ -5189,13 +5192,13 @@ var FilterChipSegment = React36.forwardRef(
|
|
|
5189
5192
|
"span",
|
|
5190
5193
|
{
|
|
5191
5194
|
className: cn(
|
|
5192
|
-
"text-sm font-
|
|
5195
|
+
"text-sm font-medium leading-sm whitespace-nowrap",
|
|
5193
5196
|
segmentType === "placeholder" ? "text-filter-chip-segment-placeholder" : "text-filter-chip-segment-text"
|
|
5194
5197
|
),
|
|
5195
5198
|
children: label
|
|
5196
5199
|
}
|
|
5197
5200
|
),
|
|
5198
|
-
badgeCount != null && badgeCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { className: "flex items-center gap-2xs p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { className: "text-[10px] font-
|
|
5201
|
+
badgeCount != null && badgeCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { className: "flex items-center gap-2xs p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { className: "text-[10px] font-medium leading-2xs text-filter-chip-badge-text", children: badgeCount }) }),
|
|
5199
5202
|
children
|
|
5200
5203
|
]
|
|
5201
5204
|
}
|
|
@@ -5596,7 +5599,7 @@ var SortButton = ({
|
|
|
5596
5599
|
className: "shrink-0 text-[var(--color-foreground)]"
|
|
5597
5600
|
}
|
|
5598
5601
|
),
|
|
5599
|
-
!iconOnly && /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("span", { className: "text-sm font-
|
|
5602
|
+
!iconOnly && /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("span", { className: "text-sm font-medium leading-sm whitespace-nowrap", children: [
|
|
5600
5603
|
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("span", { className: "text-[var(--color-muted-foreground)]", children: [
|
|
5601
5604
|
"Sort by",
|
|
5602
5605
|
" "
|
|
@@ -5774,8 +5777,8 @@ var FilterBarButton = React40.forwardRef(({ className, count, iconOnly = false,
|
|
|
5774
5777
|
className: "shrink-0 text-[var(--color-foreground)]"
|
|
5775
5778
|
}
|
|
5776
5779
|
),
|
|
5777
|
-
!iconOnly && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "text-sm font-
|
|
5778
|
-
count != null && count > 0 && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "flex items-center p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "text-[10px] font-
|
|
5780
|
+
!iconOnly && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "text-sm font-medium leading-sm whitespace-nowrap text-[var(--color-foreground)]", children: children ?? "Filters" }),
|
|
5781
|
+
count != null && count > 0 && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "flex items-center p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "text-[10px] font-medium leading-2xs text-filter-chip-badge-text", children: count }) })
|
|
5779
5782
|
]
|
|
5780
5783
|
}
|
|
5781
5784
|
));
|
|
@@ -5813,7 +5816,7 @@ var SaveViewButton = React41.forwardRef(
|
|
|
5813
5816
|
"rounded-l-md -mr-px"
|
|
5814
5817
|
),
|
|
5815
5818
|
children: [
|
|
5816
|
-
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "text-sm font-
|
|
5819
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "text-sm font-medium leading-sm whitespace-nowrap text-[var(--color-btn-solid-brand-text-default)]", children: label }),
|
|
5817
5820
|
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "absolute inset-0 rounded-l-[11px] border border-[var(--color-btn-solid-brand-inner-border-default)] shadow-sm pointer-events-none" })
|
|
5818
5821
|
]
|
|
5819
5822
|
}
|
|
@@ -5891,7 +5894,7 @@ var OperatorSelector = ({
|
|
|
5891
5894
|
{
|
|
5892
5895
|
className: cn(
|
|
5893
5896
|
"text-sm font-regular leading-sm",
|
|
5894
|
-
op === activeOperator ? "text-[var(--color-foreground)] font-
|
|
5897
|
+
op === activeOperator ? "text-[var(--color-foreground)] font-medium" : "text-[var(--color-dropdown-item-text)]"
|
|
5895
5898
|
),
|
|
5896
5899
|
children: op
|
|
5897
5900
|
}
|
|
@@ -5927,7 +5930,7 @@ var OperatorList = ({
|
|
|
5927
5930
|
{
|
|
5928
5931
|
className: cn(
|
|
5929
5932
|
"text-sm font-regular leading-sm",
|
|
5930
|
-
op === activeOperator ? "text-[var(--color-foreground)] font-
|
|
5933
|
+
op === activeOperator ? "text-[var(--color-foreground)] font-medium" : "text-[var(--color-dropdown-item-text)]"
|
|
5931
5934
|
),
|
|
5932
5935
|
children: op
|
|
5933
5936
|
}
|
|
@@ -5950,7 +5953,7 @@ var halfInputClasses = [
|
|
|
5950
5953
|
"bg-[var(--color-background)] text-sm font-regular leading-sm text-[var(--color-foreground)]",
|
|
5951
5954
|
"focus:outline-none focus:ring-2 focus:ring-[var(--color-ring)]"
|
|
5952
5955
|
].join(" ");
|
|
5953
|
-
var applyBtnClasses = "self-end px-md py-sm text-sm font-
|
|
5956
|
+
var applyBtnClasses = "self-end px-md py-sm text-sm font-medium leading-sm text-[var(--color-primary-foreground)] bg-[var(--color-primary)] rounded-base cursor-pointer hover:opacity-90 transition-opacity";
|
|
5954
5957
|
|
|
5955
5958
|
// src/components/ui/filter/value-inputs/text-value-input.tsx
|
|
5956
5959
|
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
@@ -6258,7 +6261,7 @@ var DatePickerDay = ({ date, isOutside }) => {
|
|
|
6258
6261
|
disabled: isOutside,
|
|
6259
6262
|
className: cn(
|
|
6260
6263
|
"relative flex flex-col items-center justify-center w-9 rounded-full p-2 cursor-pointer transition-colors",
|
|
6261
|
-
"text-sm font-
|
|
6264
|
+
"text-sm font-medium leading-sm text-center",
|
|
6262
6265
|
// Default
|
|
6263
6266
|
!isOutside && !isSelected && !isInRangeOrPreview && "text-datepicker-day-text-default hover:bg-datepicker-day-bg-hover",
|
|
6264
6267
|
// Outside month (disabled)
|
|
@@ -6329,7 +6332,7 @@ var DatePickerCalendar = React42.forwardRef(({ className, header, ...props }, re
|
|
|
6329
6332
|
header,
|
|
6330
6333
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex flex-col gap-lg p-lg", children: [
|
|
6331
6334
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex items-center justify-between", children: [
|
|
6332
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("span", { className: "text-base font-
|
|
6335
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("span", { className: "text-base font-medium leading-base text-datepicker-header-text", children: [
|
|
6333
6336
|
MONTH_NAMES[month],
|
|
6334
6337
|
" ",
|
|
6335
6338
|
year
|
|
@@ -6416,7 +6419,7 @@ var DatePickerSuggestions = React42.forwardRef(
|
|
|
6416
6419
|
),
|
|
6417
6420
|
...props,
|
|
6418
6421
|
children: [
|
|
6419
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "pt-lg px-base", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "flex items-center p-base rounded-base", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { className: "flex-1 text-xs font-
|
|
6422
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "pt-lg px-base", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "flex items-center p-base rounded-base", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { className: "flex-1 text-xs font-medium leading-xs text-datepicker-suggestion-heading uppercase truncate", children: "Suggestions" }) }) }),
|
|
6420
6423
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "flex flex-1 flex-col p-base min-w-[222px]", children: suggestions.map((suggestion, i) => /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
6421
6424
|
"button",
|
|
6422
6425
|
{
|
|
@@ -6610,7 +6613,7 @@ var PresetTagsValueInput = ({
|
|
|
6610
6613
|
onSubmit,
|
|
6611
6614
|
className
|
|
6612
6615
|
}) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: cn("flex flex-col gap-base p-base max-w-[280px]", className), children: RELATIVE_DATE_PRESETS.map((group) => /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: "flex flex-col gap-xs", children: [
|
|
6613
|
-
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "text-xs font-
|
|
6616
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "text-xs font-medium leading-xs text-[var(--color-muted-foreground)] uppercase px-xs", children: group.group }),
|
|
6614
6617
|
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "flex flex-wrap gap-xs", children: group.options.map((preset) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
6615
6618
|
"button",
|
|
6616
6619
|
{
|
|
@@ -7071,7 +7074,7 @@ var PropertySelector = ({
|
|
|
7071
7074
|
}
|
|
7072
7075
|
),
|
|
7073
7076
|
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "flex-1 text-sm font-regular leading-sm text-[var(--color-dropdown-item-text)] text-left truncate", children: g.groupLabel }),
|
|
7074
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "text-xs font-
|
|
7077
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "text-xs font-medium leading-xs text-[var(--color-muted-foreground)]", children: g.count }),
|
|
7075
7078
|
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
7076
7079
|
import_icons29.Icon,
|
|
7077
7080
|
{
|
|
@@ -7109,7 +7112,7 @@ var PropertySelector = ({
|
|
|
7109
7112
|
className: "shrink-0 text-[var(--color-dropdown-item-icon)]"
|
|
7110
7113
|
}
|
|
7111
7114
|
),
|
|
7112
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "flex-1 text-xs font-
|
|
7115
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "flex-1 text-xs font-medium leading-xs text-[var(--color-muted-foreground)] text-left truncate", children: activeGroupInfo?.groupLabel })
|
|
7113
7116
|
]
|
|
7114
7117
|
}
|
|
7115
7118
|
),
|
|
@@ -7328,7 +7331,7 @@ var FilterEditor = ({
|
|
|
7328
7331
|
className: "shrink-0 text-[var(--color-dropdown-item-icon)]"
|
|
7329
7332
|
}
|
|
7330
7333
|
),
|
|
7331
|
-
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "text-sm font-
|
|
7334
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "text-sm font-medium leading-sm text-[var(--color-foreground)]", children: propertyDef.label }),
|
|
7332
7335
|
localOperator && view === "value" && /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
|
|
7333
7336
|
"button",
|
|
7334
7337
|
{
|
|
@@ -7623,8 +7626,8 @@ var AdvancedChip = React47.forwardRef(
|
|
|
7623
7626
|
className: "shrink-0 text-[var(--color-foreground)]"
|
|
7624
7627
|
}
|
|
7625
7628
|
),
|
|
7626
|
-
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "text-sm font-
|
|
7627
|
-
count > 0 && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "flex items-center p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "text-[10px] font-
|
|
7629
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "text-sm font-medium leading-sm whitespace-nowrap text-[var(--color-foreground)]", children: "Advanced filters" }),
|
|
7630
|
+
count > 0 && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "flex items-center p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "text-[10px] font-medium leading-2xs text-filter-chip-badge-text", children: count }) })
|
|
7628
7631
|
]
|
|
7629
7632
|
}
|
|
7630
7633
|
),
|
|
@@ -7805,8 +7808,8 @@ var AdvancedRow = ({
|
|
|
7805
7808
|
const badgeCount = getBadgeCount(condition.value);
|
|
7806
7809
|
const hasValue = displayValue != null;
|
|
7807
7810
|
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex items-center gap-base w-full min-w-0", children: [
|
|
7808
|
-
connector === "Where" ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "text-xs font-
|
|
7809
|
-
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(TooltipPrimitive3.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "text-xs font-
|
|
7811
|
+
connector === "Where" ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "text-xs font-medium leading-xs text-[var(--color-muted-foreground)]", children: "Where" }) }) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(TooltipPrimitive3.Provider, { delayDuration: 200, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(TooltipPrimitive3.Root, { children: [
|
|
7812
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(TooltipPrimitive3.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "text-xs font-medium leading-xs text-[var(--color-muted-foreground)] cursor-default", children: connector }) }),
|
|
7810
7813
|
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(TooltipPrimitive3.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
7811
7814
|
TooltipPrimitive3.Content,
|
|
7812
7815
|
{
|
|
@@ -7991,7 +7994,7 @@ AdvancedRow.displayName = "AdvancedRow";
|
|
|
7991
7994
|
var tagChip = cn(
|
|
7992
7995
|
"inline-flex items-center shrink-0 px-sm rounded-base",
|
|
7993
7996
|
"bg-tag-neutral-bg text-tag-neutral-text",
|
|
7994
|
-
"text-xs font-
|
|
7997
|
+
"text-xs font-medium leading-xs whitespace-nowrap",
|
|
7995
7998
|
"h-5"
|
|
7996
7999
|
);
|
|
7997
8000
|
function ValueTagRow({ tags }) {
|
|
@@ -8081,8 +8084,8 @@ var AdvancedGroup = ({
|
|
|
8081
8084
|
}) => {
|
|
8082
8085
|
const [addOpen, setAddOpen] = React50.useState(false);
|
|
8083
8086
|
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex items-start gap-base w-full min-w-0", children: [
|
|
8084
|
-
connector === "Where" ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "shrink-0 w-[64px] flex items-center justify-end pt-base", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "text-xs font-
|
|
8085
|
-
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(TooltipPrimitive4.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "text-xs font-
|
|
8087
|
+
connector === "Where" ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "shrink-0 w-[64px] flex items-center justify-end pt-base", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "text-xs font-medium leading-xs text-[var(--color-muted-foreground)]", children: "Where" }) }) : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "shrink-0 w-[64px] flex items-center justify-end pt-base", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(TooltipPrimitive4.Provider, { delayDuration: 200, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(TooltipPrimitive4.Root, { children: [
|
|
8088
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(TooltipPrimitive4.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "text-xs font-medium leading-xs text-[var(--color-muted-foreground)] cursor-default", children: connector }) }),
|
|
8086
8089
|
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(TooltipPrimitive4.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
8087
8090
|
TooltipPrimitive4.Content,
|
|
8088
8091
|
{
|
|
@@ -8111,7 +8114,7 @@ var AdvancedGroup = ({
|
|
|
8111
8114
|
"button",
|
|
8112
8115
|
{
|
|
8113
8116
|
type: "button",
|
|
8114
|
-
className: "flex items-center gap-sm px-base py-sm text-sm font-
|
|
8117
|
+
className: "flex items-center gap-sm px-base py-sm text-sm font-medium leading-sm text-[var(--color-muted-foreground)] cursor-pointer transition-colors rounded-md hover:bg-[var(--color-accent)] hover:text-[var(--color-foreground)] w-fit",
|
|
8115
8118
|
children: [
|
|
8116
8119
|
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_icons35.Icon, { icon: import_icons35.faPlusOutline, size: "sm" }),
|
|
8117
8120
|
"Add filter"
|
|
@@ -8142,7 +8145,7 @@ var import_jsx_runtime58 = (
|
|
|
8142
8145
|
var ghostBtn = [
|
|
8143
8146
|
"flex items-center gap-sm px-base py-sm",
|
|
8144
8147
|
"min-h-[32px]",
|
|
8145
|
-
"cursor-pointer transition-colors text-sm font-
|
|
8148
|
+
"cursor-pointer transition-colors text-sm font-medium leading-sm",
|
|
8146
8149
|
"rounded-md hover:bg-[var(--color-accent)]"
|
|
8147
8150
|
];
|
|
8148
8151
|
var AdvancedPopover = ({
|
|
@@ -8381,7 +8384,7 @@ var DraftRow = ({
|
|
|
8381
8384
|
onOpenChange?.(v);
|
|
8382
8385
|
};
|
|
8383
8386
|
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex items-center gap-base w-full min-w-0", children: [
|
|
8384
|
-
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "text-xs font-
|
|
8387
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "text-xs font-medium leading-xs text-[var(--color-muted-foreground)]", children: "Where" }) }),
|
|
8385
8388
|
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
8386
8389
|
PropertySelector,
|
|
8387
8390
|
{
|
|
@@ -8430,7 +8433,7 @@ var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
|
8430
8433
|
var ghostBtn2 = [
|
|
8431
8434
|
"flex items-center gap-sm px-base py-sm",
|
|
8432
8435
|
"min-h-[32px]",
|
|
8433
|
-
"cursor-pointer transition-colors text-sm font-
|
|
8436
|
+
"cursor-pointer transition-colors text-sm font-medium leading-sm",
|
|
8434
8437
|
"rounded-md hover:bg-[var(--color-accent)]"
|
|
8435
8438
|
];
|
|
8436
8439
|
var SummaryChip = ({
|
|
@@ -8600,8 +8603,8 @@ var SummaryChip = ({
|
|
|
8600
8603
|
),
|
|
8601
8604
|
children: [
|
|
8602
8605
|
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_icons37.Icon, { icon: import_icons37.faFilterOutline, size: "sm", className: "shrink-0 text-[var(--color-foreground)]" }),
|
|
8603
|
-
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: "text-sm font-
|
|
8604
|
-
count > 0 && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: "flex items-center p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: "text-[10px] font-
|
|
8606
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: "text-sm font-medium leading-sm whitespace-nowrap text-[var(--color-foreground)]", children: "Filters" }),
|
|
8607
|
+
count > 0 && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: "flex items-center p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: "text-[10px] font-medium leading-2xs text-filter-chip-badge-text", children: count }) })
|
|
8605
8608
|
]
|
|
8606
8609
|
}
|
|
8607
8610
|
);
|
|
@@ -8696,7 +8699,7 @@ var DraftRow2 = ({ properties, onSelect, open: openProp, onOpenChange }) => {
|
|
|
8696
8699
|
onOpenChange?.(v);
|
|
8697
8700
|
};
|
|
8698
8701
|
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex items-center gap-base w-full min-w-0", children: [
|
|
8699
|
-
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: "text-xs font-
|
|
8702
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: "text-xs font-medium leading-xs text-[var(--color-muted-foreground)]", children: "Where" }) }),
|
|
8700
8703
|
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(PropertySelector, { properties, onSelect: (p) => {
|
|
8701
8704
|
onSelect(p);
|
|
8702
8705
|
setOpen(false);
|
|
@@ -8953,7 +8956,7 @@ var FilterSystem = ({
|
|
|
8953
8956
|
type: "button",
|
|
8954
8957
|
onClick: handleClearAll,
|
|
8955
8958
|
className: "shrink-0 flex items-center gap-sm px-base py-sm min-h-[32px] max-h-[32px] rounded-md cursor-pointer transition-colors text-btn-ghost-brand-text-default hover:bg-btn-ghost-brand-bg-hover hover:text-btn-ghost-brand-text-hover active:bg-btn-ghost-brand-bg-pressed active:text-btn-ghost-brand-text-pressed",
|
|
8956
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: "text-sm font-
|
|
8959
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: "text-sm font-medium leading-sm", children: "Clear" })
|
|
8957
8960
|
}
|
|
8958
8961
|
)
|
|
8959
8962
|
] }),
|
|
@@ -8985,7 +8988,7 @@ function buildFilterTooltip(nodes, properties) {
|
|
|
8985
8988
|
connector,
|
|
8986
8989
|
" "
|
|
8987
8990
|
] }),
|
|
8988
|
-
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: "font-
|
|
8991
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: "font-medium", children: prop.label }),
|
|
8989
8992
|
" ",
|
|
8990
8993
|
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: "opacity-60", children: f.operator }),
|
|
8991
8994
|
" ",
|