@l3mpire/ui 2.10.0 → 2.11.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 +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +84 -81
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +85 -82
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/styles/globals.css +10 -1
package/dist/index.js
CHANGED
|
@@ -206,7 +206,7 @@ var import_jsx_runtime = require("react/jsx-runtime");
|
|
|
206
206
|
var badgeVariants = (0, import_class_variance_authority.cva)(
|
|
207
207
|
[
|
|
208
208
|
"inline-flex items-center justify-center whitespace-nowrap",
|
|
209
|
-
"font-
|
|
209
|
+
"font-semibold",
|
|
210
210
|
"border border-transparent"
|
|
211
211
|
],
|
|
212
212
|
{
|
|
@@ -295,7 +295,7 @@ var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
|
295
295
|
var buttonVariants = (0, import_class_variance_authority2.cva)(
|
|
296
296
|
[
|
|
297
297
|
"inline-flex items-center justify-center whitespace-nowrap",
|
|
298
|
-
"font-
|
|
298
|
+
"font-semibold transition-colors",
|
|
299
299
|
"focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring",
|
|
300
300
|
"disabled:pointer-events-none",
|
|
301
301
|
"border",
|
|
@@ -595,7 +595,7 @@ var BrowserTabItem = React3.forwardRef(
|
|
|
595
595
|
},
|
|
596
596
|
onClick: (e) => e.stopPropagation(),
|
|
597
597
|
className: cn(
|
|
598
|
-
"text-sm font-
|
|
598
|
+
"text-sm font-semibold leading-sm bg-transparent outline-none p-0 m-0",
|
|
599
599
|
"border-b border-browser-tab-item-border border-dashed border-t-0 border-l-0 border-r-0",
|
|
600
600
|
isActive ? "text-browser-tab-item-active-text" : "text-browser-tab-item-inactive-text"
|
|
601
601
|
),
|
|
@@ -605,7 +605,7 @@ var BrowserTabItem = React3.forwardRef(
|
|
|
605
605
|
"span",
|
|
606
606
|
{
|
|
607
607
|
className: cn(
|
|
608
|
-
"text-sm font-
|
|
608
|
+
"text-sm font-semibold leading-sm whitespace-nowrap",
|
|
609
609
|
isActive ? "text-browser-tab-item-active-text" : "text-browser-tab-item-inactive-text"
|
|
610
610
|
),
|
|
611
611
|
onDoubleClick: (e) => {
|
|
@@ -794,7 +794,7 @@ var BrowserTab = React3.forwardRef(
|
|
|
794
794
|
"span",
|
|
795
795
|
{
|
|
796
796
|
className: cn(
|
|
797
|
-
"text-sm font-
|
|
797
|
+
"text-sm font-semibold leading-sm whitespace-nowrap",
|
|
798
798
|
item.isActive ? "text-browser-tab-item-active-text" : "text-browser-tab-item-inactive-text"
|
|
799
799
|
),
|
|
800
800
|
children: item.label
|
|
@@ -897,7 +897,7 @@ var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
|
897
897
|
var linkVariants = (0, import_class_variance_authority4.cva)(
|
|
898
898
|
[
|
|
899
899
|
"inline-flex items-center",
|
|
900
|
-
"font-
|
|
900
|
+
"font-semibold",
|
|
901
901
|
"transition-colors cursor-pointer",
|
|
902
902
|
"disabled:pointer-events-none",
|
|
903
903
|
"[&_svg]:pointer-events-none [&_svg]:shrink-0"
|
|
@@ -1029,7 +1029,7 @@ var InputLabel = React6.forwardRef(({ className, type = "default", disabled, inf
|
|
|
1029
1029
|
className: cn(
|
|
1030
1030
|
"inline-flex items-center gap-xs",
|
|
1031
1031
|
"text-xs",
|
|
1032
|
-
"font-
|
|
1032
|
+
"font-semibold",
|
|
1033
1033
|
"leading-xs",
|
|
1034
1034
|
textColor2,
|
|
1035
1035
|
className
|
|
@@ -1101,7 +1101,7 @@ var typeIconMap = {
|
|
|
1101
1101
|
warning: { icon: import_icons6.faTriangleExclamationSolid, color: "text-info-message-warning-icon" },
|
|
1102
1102
|
empty: { icon: import_icons6.faCircleInfoSolid, color: "text-info-message-empty-icon" }
|
|
1103
1103
|
};
|
|
1104
|
-
var titleStyle = "text-sm font-
|
|
1104
|
+
var titleStyle = "text-sm font-semibold leading-sm text-info-message-title";
|
|
1105
1105
|
var descriptionStyle = "text-xs font-regular leading-xs text-info-message-description";
|
|
1106
1106
|
var closeButtonStyle = "inline-flex shrink-0 items-center justify-center p-xs rounded-base text-info-message-close hover:bg-black/5 transition-colors";
|
|
1107
1107
|
var typeLinkIntentMap = {
|
|
@@ -1199,7 +1199,7 @@ var typeIconMap2 = {
|
|
|
1199
1199
|
alert: { icon: import_icons7.faCircleExclamationSolid, color: "text-toast-alert-icon" },
|
|
1200
1200
|
warning: { icon: import_icons7.faTriangleExclamationSolid, color: "text-toast-warning-icon" }
|
|
1201
1201
|
};
|
|
1202
|
-
var titleStyle2 = "text-sm font-
|
|
1202
|
+
var titleStyle2 = "text-sm font-semibold leading-sm text-toast-title";
|
|
1203
1203
|
var subtitleStyle = "text-sm font-regular leading-sm text-toast-subtitle";
|
|
1204
1204
|
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";
|
|
1205
1205
|
var ToastProvider = ToastPrimitive.Provider;
|
|
@@ -1274,7 +1274,7 @@ var trackStyles = {
|
|
|
1274
1274
|
]
|
|
1275
1275
|
};
|
|
1276
1276
|
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]";
|
|
1277
|
-
var labelBase = "cursor-pointer select-none text-sm font-
|
|
1277
|
+
var labelBase = "cursor-pointer select-none text-sm font-semibold leading-sm";
|
|
1278
1278
|
var labelColor = {
|
|
1279
1279
|
default: "text-switch-label-text",
|
|
1280
1280
|
disabled: "pointer-events-none text-switch-label-disabled"
|
|
@@ -1819,7 +1819,7 @@ var Avatar = React13.forwardRef(({ className, size = "xl", shape = "rounded", sr
|
|
|
1819
1819
|
{
|
|
1820
1820
|
delayMs: 0,
|
|
1821
1821
|
className: cn(
|
|
1822
|
-
"font-
|
|
1822
|
+
"font-semibold",
|
|
1823
1823
|
"text-avatar-fallback-text",
|
|
1824
1824
|
"select-none text-center",
|
|
1825
1825
|
initialsFontSize[size ?? "xl"]
|
|
@@ -1868,7 +1868,7 @@ var iconStyle = {
|
|
|
1868
1868
|
default: "text-checkbox-checked-icon",
|
|
1869
1869
|
disabled: "text-checkbox-disabled-icon"
|
|
1870
1870
|
};
|
|
1871
|
-
var labelBase2 = "cursor-pointer select-none overflow-hidden text-ellipsis whitespace-nowrap text-sm font-
|
|
1871
|
+
var labelBase2 = "cursor-pointer select-none overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold leading-sm";
|
|
1872
1872
|
var labelColor2 = {
|
|
1873
1873
|
default: "text-checkbox-label-default",
|
|
1874
1874
|
disabled: "pointer-events-none text-checkbox-label-disabled"
|
|
@@ -1956,7 +1956,7 @@ var dotStyle = {
|
|
|
1956
1956
|
default: "bg-radio-selected-dot",
|
|
1957
1957
|
disabled: "bg-radio-disabled-dot"
|
|
1958
1958
|
};
|
|
1959
|
-
var labelBase3 = "cursor-pointer select-none overflow-hidden text-ellipsis whitespace-nowrap text-sm font-
|
|
1959
|
+
var labelBase3 = "cursor-pointer select-none overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold leading-sm";
|
|
1960
1960
|
var labelColor3 = {
|
|
1961
1961
|
default: "text-radio-label-default",
|
|
1962
1962
|
disabled: "pointer-events-none text-radio-label-disabled"
|
|
@@ -2017,8 +2017,8 @@ var import_icons11 = require("@l3mpire/icons");
|
|
|
2017
2017
|
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
2018
2018
|
var textSm = "text-sm font-regular leading-sm";
|
|
2019
2019
|
var textXs = "text-xs font-regular leading-xs";
|
|
2020
|
-
var textXsMedium = "text-xs font-
|
|
2021
|
-
var textSmMedium = "text-sm font-
|
|
2020
|
+
var textXsMedium = "text-xs font-semibold leading-xs";
|
|
2021
|
+
var textSmMedium = "text-sm font-semibold leading-sm";
|
|
2022
2022
|
var containerStyle = [
|
|
2023
2023
|
"flex flex-col gap-base overflow-clip",
|
|
2024
2024
|
"bg-dropdown-bg",
|
|
@@ -2219,7 +2219,7 @@ var SidebarHeadingItem = React17.forwardRef(
|
|
|
2219
2219
|
ref,
|
|
2220
2220
|
className: cn(
|
|
2221
2221
|
"flex items-center w-full",
|
|
2222
|
-
"text-xs leading-xs font-
|
|
2222
|
+
"text-xs leading-xs font-semibold text-sidebar-heading-text mb-base",
|
|
2223
2223
|
className
|
|
2224
2224
|
),
|
|
2225
2225
|
...props,
|
|
@@ -2309,7 +2309,7 @@ var SidebarItem = React18.forwardRef(
|
|
|
2309
2309
|
"span",
|
|
2310
2310
|
{
|
|
2311
2311
|
className: cn(
|
|
2312
|
-
"flex-1 min-w-0 truncate text-sm leading-sm font-
|
|
2312
|
+
"flex-1 min-w-0 truncate text-sm leading-sm font-semibold",
|
|
2313
2313
|
textColorClass
|
|
2314
2314
|
),
|
|
2315
2315
|
children: label
|
|
@@ -2397,7 +2397,7 @@ var iconColor = {
|
|
|
2397
2397
|
};
|
|
2398
2398
|
var errorGuidance = {
|
|
2399
2399
|
icon: "shrink-0 text-select-error-icon",
|
|
2400
|
-
text: "text-xs font-
|
|
2400
|
+
text: "text-xs font-semibold leading-xs text-select-error-text"
|
|
2401
2401
|
};
|
|
2402
2402
|
function SelectChips({ tags, onTagRemove, chipHeightPx }) {
|
|
2403
2403
|
const containerRef = React19.useRef(null);
|
|
@@ -2442,7 +2442,7 @@ function SelectChips({ tags, onTagRemove, chipHeightPx }) {
|
|
|
2442
2442
|
"inline-flex items-center gap-xs shrink-0",
|
|
2443
2443
|
"px-sm rounded-base",
|
|
2444
2444
|
"bg-tag-neutral-bg text-tag-neutral-text",
|
|
2445
|
-
"text-xs font-
|
|
2445
|
+
"text-xs font-semibold leading-xs",
|
|
2446
2446
|
"whitespace-nowrap"
|
|
2447
2447
|
);
|
|
2448
2448
|
return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "flex flex-1 items-center gap-xs min-w-0 overflow-hidden relative", children: [
|
|
@@ -2692,7 +2692,7 @@ var TabTrigger = React20.forwardRef(({ className, badge, children, ...props }, r
|
|
|
2692
2692
|
"span",
|
|
2693
2693
|
{
|
|
2694
2694
|
className: cn(
|
|
2695
|
-
"text-sm font-
|
|
2695
|
+
"text-sm font-semibold leading-sm whitespace-nowrap",
|
|
2696
2696
|
"text-tab-item-default-text",
|
|
2697
2697
|
"group-data-[state=active]:text-tab-item-active-text"
|
|
2698
2698
|
),
|
|
@@ -2726,7 +2726,7 @@ var tagVariants = (0, import_class_variance_authority12.cva)(
|
|
|
2726
2726
|
"inline-flex items-center",
|
|
2727
2727
|
"gap-xs",
|
|
2728
2728
|
"rounded-base",
|
|
2729
|
-
"font-
|
|
2729
|
+
"font-semibold",
|
|
2730
2730
|
"whitespace-nowrap"
|
|
2731
2731
|
],
|
|
2732
2732
|
{
|
|
@@ -2831,7 +2831,7 @@ var fieldStates = {
|
|
|
2831
2831
|
};
|
|
2832
2832
|
var errorGuidance2 = {
|
|
2833
2833
|
icon: "shrink-0 text-textarea-error-icon",
|
|
2834
|
-
text: "text-xs font-
|
|
2834
|
+
text: "text-xs font-semibold leading-xs text-textarea-error-text"
|
|
2835
2835
|
};
|
|
2836
2836
|
var charLimitStyle = "shrink-0 text-right text-xs font-regular leading-xs text-textarea-char-limit";
|
|
2837
2837
|
function resolveState(error, success, disabled) {
|
|
@@ -2958,7 +2958,7 @@ var attachedButtonStyles = {
|
|
|
2958
2958
|
};
|
|
2959
2959
|
var errorGuidance3 = {
|
|
2960
2960
|
icon: "shrink-0 text-text-input-error-icon",
|
|
2961
|
-
text: "text-xs font-
|
|
2961
|
+
text: "text-xs font-semibold leading-xs text-text-input-error-text"
|
|
2962
2962
|
};
|
|
2963
2963
|
function resolveState2(error, success, disabled) {
|
|
2964
2964
|
if (disabled) return "disabled";
|
|
@@ -3122,12 +3122,12 @@ var chipStyle = [
|
|
|
3122
3122
|
"inline-flex items-center gap-xs shrink-0",
|
|
3123
3123
|
"h-6 px-sm rounded-base",
|
|
3124
3124
|
"bg-tag-neutral-bg text-tag-neutral-text",
|
|
3125
|
-
"text-xs font-
|
|
3125
|
+
"text-xs font-semibold leading-xs",
|
|
3126
3126
|
"whitespace-nowrap"
|
|
3127
3127
|
];
|
|
3128
3128
|
var errorGuidance4 = {
|
|
3129
3129
|
icon: "shrink-0 text-text-input-error-icon",
|
|
3130
|
-
text: "text-xs font-
|
|
3130
|
+
text: "text-xs font-semibold leading-xs text-text-input-error-text"
|
|
3131
3131
|
};
|
|
3132
3132
|
var ChipInput = React24.forwardRef(
|
|
3133
3133
|
({
|
|
@@ -3317,7 +3317,7 @@ var wrapperStates3 = {
|
|
|
3317
3317
|
};
|
|
3318
3318
|
var errorGuidance5 = {
|
|
3319
3319
|
icon: "shrink-0 text-text-input-error-icon",
|
|
3320
|
-
text: "text-xs font-
|
|
3320
|
+
text: "text-xs font-semibold leading-xs text-text-input-error-text"
|
|
3321
3321
|
};
|
|
3322
3322
|
var NumberInput = React25.forwardRef(
|
|
3323
3323
|
({
|
|
@@ -3498,7 +3498,7 @@ var typographyVariants = (0, import_class_variance_authority16.cva)("", {
|
|
|
3498
3498
|
},
|
|
3499
3499
|
weight: {
|
|
3500
3500
|
regular: "font-regular",
|
|
3501
|
-
|
|
3501
|
+
semibold: "font-semibold",
|
|
3502
3502
|
bold: "font-bold"
|
|
3503
3503
|
}
|
|
3504
3504
|
},
|
|
@@ -3564,7 +3564,7 @@ var UserMenuInfoRow = React27.forwardRef(
|
|
|
3564
3564
|
children: [
|
|
3565
3565
|
avatar,
|
|
3566
3566
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex flex-1 flex-col min-w-0", children: [
|
|
3567
|
-
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "text-sm font-
|
|
3567
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "text-sm font-semibold leading-sm text-user-menu-name truncate", children: name }),
|
|
3568
3568
|
subtitle && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "text-xs font-regular leading-xs text-user-menu-subtitle truncate", children: subtitle })
|
|
3569
3569
|
] }),
|
|
3570
3570
|
action
|
|
@@ -3673,7 +3673,7 @@ var ModalTitle = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
3673
3673
|
DialogPrimitive.Title,
|
|
3674
3674
|
{
|
|
3675
3675
|
ref,
|
|
3676
|
-
className: cn("text-base font-
|
|
3676
|
+
className: cn("text-base font-semibold leading-base text-modal-header-title", className),
|
|
3677
3677
|
...props
|
|
3678
3678
|
}
|
|
3679
3679
|
));
|
|
@@ -3835,7 +3835,7 @@ var EmptyState = React30.forwardRef(
|
|
|
3835
3835
|
"p",
|
|
3836
3836
|
{
|
|
3837
3837
|
className: cn(
|
|
3838
|
-
"font-
|
|
3838
|
+
"font-semibold text-table-cell-text-primary",
|
|
3839
3839
|
isMd ? "text-base leading-base" : "text-sm leading-sm"
|
|
3840
3840
|
),
|
|
3841
3841
|
children: title
|
|
@@ -3904,7 +3904,7 @@ var AvatarCell = ({
|
|
|
3904
3904
|
}) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: cn("flex items-center gap-md", className), children: [
|
|
3905
3905
|
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Avatar, { initials: getInitials(name), src, alt: name, size: "lg", shape: "rounded" }),
|
|
3906
3906
|
/* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "flex flex-col", children: [
|
|
3907
|
-
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "text-sm font-
|
|
3907
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "text-sm font-semibold text-table-cell-text-primary leading-sm", children: name }),
|
|
3908
3908
|
subtitle && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "text-xs font-regular text-table-cell-text-secondary leading-xs", children: subtitle })
|
|
3909
3909
|
] })
|
|
3910
3910
|
] });
|
|
@@ -3942,7 +3942,7 @@ var NumberCell = ({
|
|
|
3942
3942
|
className
|
|
3943
3943
|
),
|
|
3944
3944
|
children: [
|
|
3945
|
-
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "text-sm font-
|
|
3945
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "text-sm font-semibold text-table-cell-text-primary", children: formatted }),
|
|
3946
3946
|
secondaryStat && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
3947
3947
|
"span",
|
|
3948
3948
|
{
|
|
@@ -4010,7 +4010,7 @@ var TextCell = ({
|
|
|
4010
4010
|
{
|
|
4011
4011
|
className: cn(
|
|
4012
4012
|
"text-sm",
|
|
4013
|
-
secondary ? "font-regular text-table-cell-text-secondary" : "font-
|
|
4013
|
+
secondary ? "font-regular text-table-cell-text-secondary" : "font-semibold text-table-cell-text-primary",
|
|
4014
4014
|
className
|
|
4015
4015
|
),
|
|
4016
4016
|
children: value
|
|
@@ -4059,7 +4059,7 @@ var EditableCell = ({
|
|
|
4059
4059
|
{
|
|
4060
4060
|
ref: inputRef,
|
|
4061
4061
|
className: cn(
|
|
4062
|
-
"w-full bg-transparent text-sm font-
|
|
4062
|
+
"w-full bg-transparent text-sm font-semibold text-table-cell-text-primary",
|
|
4063
4063
|
"outline-none border-b border-table-border py-0 h-[20px]",
|
|
4064
4064
|
className
|
|
4065
4065
|
),
|
|
@@ -4076,7 +4076,7 @@ var EditableCell = ({
|
|
|
4076
4076
|
role: "button",
|
|
4077
4077
|
tabIndex: 0,
|
|
4078
4078
|
className: cn(
|
|
4079
|
-
"text-sm font-
|
|
4079
|
+
"text-sm font-semibold text-table-cell-text-primary cursor-text leading-sm h-[20px] inline-block",
|
|
4080
4080
|
className
|
|
4081
4081
|
),
|
|
4082
4082
|
onDoubleClick: () => setIsEditing(true),
|
|
@@ -4142,7 +4142,7 @@ var TableFooter = React32.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
4142
4142
|
{
|
|
4143
4143
|
ref,
|
|
4144
4144
|
className: cn(
|
|
4145
|
-
"border-t border-table-border bg-table-bg font-
|
|
4145
|
+
"border-t border-table-border bg-table-bg font-semibold",
|
|
4146
4146
|
className
|
|
4147
4147
|
),
|
|
4148
4148
|
...props
|
|
@@ -4168,7 +4168,7 @@ var TableHead = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
4168
4168
|
{
|
|
4169
4169
|
ref,
|
|
4170
4170
|
className: cn(
|
|
4171
|
-
"group/head h-10 px-md py-md text-left align-middle text-xs font-
|
|
4171
|
+
"group/head h-10 px-md py-md text-left align-middle text-xs font-semibold leading-xs",
|
|
4172
4172
|
"text-table-head-text bg-table-head-bg-default",
|
|
4173
4173
|
"hover:bg-table-head-bg-hover",
|
|
4174
4174
|
"border-b border-r border-table-border last:border-r-0",
|
|
@@ -4184,7 +4184,7 @@ var TableCell = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
4184
4184
|
{
|
|
4185
4185
|
ref,
|
|
4186
4186
|
className: cn(
|
|
4187
|
-
"px-md py-md align-middle text-sm font-
|
|
4187
|
+
"px-md py-md align-middle text-sm font-semibold max-h-[52px]",
|
|
4188
4188
|
"text-table-cell-text-primary",
|
|
4189
4189
|
"border-b border-r border-table-border last:border-r-0",
|
|
4190
4190
|
"[&:has([role=checkbox])]:pr-0",
|
|
@@ -4283,7 +4283,7 @@ function ColumnFilterPopover({
|
|
|
4283
4283
|
),
|
|
4284
4284
|
onClick: (e) => e.stopPropagation(),
|
|
4285
4285
|
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex flex-col gap-sm", children: [
|
|
4286
|
-
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "text-xs font-
|
|
4286
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "text-xs font-semibold text-table-head-text", children: "Filter" }),
|
|
4287
4287
|
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
4288
4288
|
"select",
|
|
4289
4289
|
{
|
|
@@ -5017,13 +5017,13 @@ var FilterChipSegment = React35.forwardRef(
|
|
|
5017
5017
|
"span",
|
|
5018
5018
|
{
|
|
5019
5019
|
className: cn(
|
|
5020
|
-
"text-sm font-
|
|
5020
|
+
"text-sm font-semibold leading-sm whitespace-nowrap",
|
|
5021
5021
|
segmentType === "placeholder" ? "text-filter-chip-segment-placeholder" : "text-filter-chip-segment-text"
|
|
5022
5022
|
),
|
|
5023
5023
|
children: label
|
|
5024
5024
|
}
|
|
5025
5025
|
),
|
|
5026
|
-
badgeCount != null && badgeCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "flex items-center gap-2xs p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "text-[10px] font-
|
|
5026
|
+
badgeCount != null && badgeCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "flex items-center gap-2xs p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "text-[10px] font-semibold leading-2xs text-filter-chip-badge-text", children: badgeCount }) }),
|
|
5027
5027
|
children
|
|
5028
5028
|
]
|
|
5029
5029
|
}
|
|
@@ -5274,7 +5274,7 @@ var SortButton = ({
|
|
|
5274
5274
|
className: "shrink-0 text-[var(--color-foreground)]"
|
|
5275
5275
|
}
|
|
5276
5276
|
),
|
|
5277
|
-
!iconOnly && /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("span", { className: "text-sm font-
|
|
5277
|
+
!iconOnly && /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("span", { className: "text-sm font-semibold leading-sm whitespace-nowrap", children: [
|
|
5278
5278
|
/* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("span", { className: "text-[var(--color-muted-foreground)]", children: [
|
|
5279
5279
|
"Sort by",
|
|
5280
5280
|
" "
|
|
@@ -5433,7 +5433,7 @@ var FilterBarButton = React39.forwardRef(({ className, count, iconOnly = false,
|
|
|
5433
5433
|
ref,
|
|
5434
5434
|
type: "button",
|
|
5435
5435
|
className: cn(
|
|
5436
|
-
"flex items-center gap-sm",
|
|
5436
|
+
"shrink-0 flex items-center gap-sm overflow-hidden",
|
|
5437
5437
|
"min-h-[32px] max-h-[32px]",
|
|
5438
5438
|
"bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)]",
|
|
5439
5439
|
"border border-[var(--color-btn-outlined-neutral-border-default)] rounded-md shadow-sm",
|
|
@@ -5452,8 +5452,8 @@ var FilterBarButton = React39.forwardRef(({ className, count, iconOnly = false,
|
|
|
5452
5452
|
className: "shrink-0 text-[var(--color-foreground)]"
|
|
5453
5453
|
}
|
|
5454
5454
|
),
|
|
5455
|
-
!iconOnly && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "text-sm font-
|
|
5456
|
-
count != null && count > 0 && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "flex items-center p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "text-[10px] font-
|
|
5455
|
+
!iconOnly && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "text-sm font-semibold leading-sm whitespace-nowrap text-[var(--color-foreground)]", children: children ?? "Filters" }),
|
|
5456
|
+
count != null && count > 0 && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "flex items-center p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "text-[10px] font-semibold leading-2xs text-filter-chip-badge-text", children: count }) })
|
|
5457
5457
|
]
|
|
5458
5458
|
}
|
|
5459
5459
|
));
|
|
@@ -5491,7 +5491,7 @@ var SaveViewButton = React40.forwardRef(
|
|
|
5491
5491
|
"rounded-l-md -mr-px"
|
|
5492
5492
|
),
|
|
5493
5493
|
children: [
|
|
5494
|
-
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "text-sm font-
|
|
5494
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "text-sm font-semibold leading-sm whitespace-nowrap text-[var(--color-btn-solid-brand-text-default)]", children: label }),
|
|
5495
5495
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "absolute inset-0 rounded-l-[11px] border border-[var(--color-btn-solid-brand-inner-border-default)] shadow-sm pointer-events-none" })
|
|
5496
5496
|
]
|
|
5497
5497
|
}
|
|
@@ -5569,7 +5569,7 @@ var OperatorSelector = ({
|
|
|
5569
5569
|
{
|
|
5570
5570
|
className: cn(
|
|
5571
5571
|
"text-sm font-regular leading-sm",
|
|
5572
|
-
op === activeOperator ? "text-[var(--color-foreground)] font-
|
|
5572
|
+
op === activeOperator ? "text-[var(--color-foreground)] font-semibold" : "text-[var(--color-dropdown-item-text)]"
|
|
5573
5573
|
),
|
|
5574
5574
|
children: op
|
|
5575
5575
|
}
|
|
@@ -5605,7 +5605,7 @@ var OperatorList = ({
|
|
|
5605
5605
|
{
|
|
5606
5606
|
className: cn(
|
|
5607
5607
|
"text-sm font-regular leading-sm",
|
|
5608
|
-
op === activeOperator ? "text-[var(--color-foreground)] font-
|
|
5608
|
+
op === activeOperator ? "text-[var(--color-foreground)] font-semibold" : "text-[var(--color-dropdown-item-text)]"
|
|
5609
5609
|
),
|
|
5610
5610
|
children: op
|
|
5611
5611
|
}
|
|
@@ -5662,7 +5662,7 @@ var ValueInput = ({
|
|
|
5662
5662
|
{
|
|
5663
5663
|
type: "button",
|
|
5664
5664
|
onClick: onSubmit,
|
|
5665
|
-
className: "self-end px-md py-sm text-sm font-
|
|
5665
|
+
className: "self-end px-md py-sm text-sm font-semibold leading-sm text-[var(--color-primary-foreground)] bg-[var(--color-primary)] rounded-base cursor-pointer hover:opacity-90 transition-opacity",
|
|
5666
5666
|
children: "Apply"
|
|
5667
5667
|
}
|
|
5668
5668
|
)
|
|
@@ -5691,7 +5691,7 @@ var ValueInput = ({
|
|
|
5691
5691
|
{
|
|
5692
5692
|
type: "button",
|
|
5693
5693
|
onClick: onSubmit,
|
|
5694
|
-
className: "self-end px-md py-sm text-sm font-
|
|
5694
|
+
className: "self-end px-md py-sm text-sm font-semibold leading-sm text-[var(--color-primary-foreground)] bg-[var(--color-primary)] rounded-base cursor-pointer hover:opacity-90 transition-opacity",
|
|
5695
5695
|
children: "Apply"
|
|
5696
5696
|
}
|
|
5697
5697
|
)
|
|
@@ -5736,7 +5736,7 @@ var ValueInput = ({
|
|
|
5736
5736
|
{
|
|
5737
5737
|
type: "button",
|
|
5738
5738
|
onClick: onSubmit,
|
|
5739
|
-
className: "self-end px-md py-sm text-sm font-
|
|
5739
|
+
className: "self-end px-md py-sm text-sm font-semibold leading-sm text-[var(--color-primary-foreground)] bg-[var(--color-primary)] rounded-base cursor-pointer hover:opacity-90 transition-opacity",
|
|
5740
5740
|
children: "Apply"
|
|
5741
5741
|
}
|
|
5742
5742
|
)
|
|
@@ -5744,7 +5744,7 @@ var ValueInput = ({
|
|
|
5744
5744
|
}
|
|
5745
5745
|
case "PresetTags":
|
|
5746
5746
|
return /* @__PURE__ */ (0, import_jsx_runtime42.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_runtime42.jsxs)("div", { className: "flex flex-col gap-xs", children: [
|
|
5747
|
-
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "text-xs font-
|
|
5747
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "text-xs font-semibold leading-xs text-[var(--color-muted-foreground)] uppercase px-xs", children: group.group }),
|
|
5748
5748
|
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "flex flex-wrap gap-xs", children: group.options.map((preset) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
5749
5749
|
"button",
|
|
5750
5750
|
{
|
|
@@ -5819,7 +5819,7 @@ var ValueInput = ({
|
|
|
5819
5819
|
{
|
|
5820
5820
|
type: "button",
|
|
5821
5821
|
onClick: onSubmit,
|
|
5822
|
-
className: "self-end px-md py-sm text-sm font-
|
|
5822
|
+
className: "self-end px-md py-sm text-sm font-semibold leading-sm text-[var(--color-primary-foreground)] bg-[var(--color-primary)] rounded-base cursor-pointer hover:opacity-90 transition-opacity",
|
|
5823
5823
|
children: "Apply"
|
|
5824
5824
|
}
|
|
5825
5825
|
)
|
|
@@ -5848,7 +5848,7 @@ var ValueInput = ({
|
|
|
5848
5848
|
{
|
|
5849
5849
|
type: "button",
|
|
5850
5850
|
onClick: onSubmit,
|
|
5851
|
-
className: "self-end px-md py-sm text-sm font-
|
|
5851
|
+
className: "self-end px-md py-sm text-sm font-semibold leading-sm text-[var(--color-primary-foreground)] bg-[var(--color-primary)] rounded-base cursor-pointer hover:opacity-90 transition-opacity",
|
|
5852
5852
|
children: "Apply"
|
|
5853
5853
|
}
|
|
5854
5854
|
)
|
|
@@ -5886,7 +5886,7 @@ var ValueInput = ({
|
|
|
5886
5886
|
{
|
|
5887
5887
|
type: "button",
|
|
5888
5888
|
onClick: onSubmit,
|
|
5889
|
-
className: "self-end px-md py-sm text-sm font-
|
|
5889
|
+
className: "self-end px-md py-sm text-sm font-semibold leading-sm text-[var(--color-primary-foreground)] bg-[var(--color-primary)] rounded-base cursor-pointer hover:opacity-90 transition-opacity",
|
|
5890
5890
|
children: "Apply"
|
|
5891
5891
|
}
|
|
5892
5892
|
)
|
|
@@ -5916,7 +5916,7 @@ var ValueInput = ({
|
|
|
5916
5916
|
{
|
|
5917
5917
|
type: "button",
|
|
5918
5918
|
onClick: onSubmit,
|
|
5919
|
-
className: "self-end px-md py-sm text-sm font-
|
|
5919
|
+
className: "self-end px-md py-sm text-sm font-semibold leading-sm text-[var(--color-primary-foreground)] bg-[var(--color-primary)] rounded-base cursor-pointer hover:opacity-90 transition-opacity",
|
|
5920
5920
|
children: "Apply"
|
|
5921
5921
|
}
|
|
5922
5922
|
)
|
|
@@ -6005,7 +6005,7 @@ var PropertySelector = ({
|
|
|
6005
6005
|
}
|
|
6006
6006
|
),
|
|
6007
6007
|
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "flex-1 text-sm font-regular leading-sm text-[var(--color-dropdown-item-text)] text-left truncate", children: g.groupLabel }),
|
|
6008
|
-
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "text-xs font-
|
|
6008
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "text-xs font-semibold leading-xs text-[var(--color-muted-foreground)]", children: g.count }),
|
|
6009
6009
|
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
6010
6010
|
import_icons27.Icon,
|
|
6011
6011
|
{
|
|
@@ -6039,7 +6039,7 @@ var PropertySelector = ({
|
|
|
6039
6039
|
className: "shrink-0 text-[var(--color-dropdown-item-icon)]"
|
|
6040
6040
|
}
|
|
6041
6041
|
),
|
|
6042
|
-
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "flex-1 text-xs font-
|
|
6042
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "flex-1 text-xs font-semibold leading-xs text-[var(--color-muted-foreground)] text-left truncate", children: activeGroupInfo?.groupLabel })
|
|
6043
6043
|
]
|
|
6044
6044
|
}
|
|
6045
6045
|
),
|
|
@@ -6249,7 +6249,7 @@ var FilterEditor = ({
|
|
|
6249
6249
|
className: "shrink-0 text-[var(--color-dropdown-item-icon)]"
|
|
6250
6250
|
}
|
|
6251
6251
|
),
|
|
6252
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { className: "text-sm font-
|
|
6252
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { className: "text-sm font-semibold leading-sm text-[var(--color-foreground)]", children: propertyDef.label }),
|
|
6253
6253
|
localOperator && view === "value" && /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
6254
6254
|
"button",
|
|
6255
6255
|
{
|
|
@@ -6545,8 +6545,8 @@ var AdvancedChip = React44.forwardRef(
|
|
|
6545
6545
|
),
|
|
6546
6546
|
...props,
|
|
6547
6547
|
children: [
|
|
6548
|
-
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "text-sm font-
|
|
6549
|
-
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "flex items-center p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "text-[10px] font-
|
|
6548
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "text-sm font-semibold leading-sm whitespace-nowrap text-[var(--color-foreground)]", children: "Advanced filters" }),
|
|
6549
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "flex items-center p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "text-[10px] font-semibold leading-2xs text-filter-chip-badge-text", children: count }) })
|
|
6550
6550
|
]
|
|
6551
6551
|
}
|
|
6552
6552
|
),
|
|
@@ -6615,7 +6615,7 @@ var AdvancedRow = ({
|
|
|
6615
6615
|
};
|
|
6616
6616
|
const displayValue = condition.value == null ? "" : typeof condition.value === "string" ? condition.value : String(condition.value);
|
|
6617
6617
|
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex items-center gap-base w-full min-w-0", children: [
|
|
6618
|
-
connector === "Where" ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "text-xs font-
|
|
6618
|
+
connector === "Where" ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "text-xs font-semibold leading-xs text-[var(--color-muted-foreground)]", children: "Where" }) }) : /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
6619
6619
|
"button",
|
|
6620
6620
|
{
|
|
6621
6621
|
type: "button",
|
|
@@ -6625,7 +6625,7 @@ var AdvancedRow = ({
|
|
|
6625
6625
|
"min-w-[64px] min-h-[24px] max-h-[24px] p-xs",
|
|
6626
6626
|
"bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] from-[10%] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)]",
|
|
6627
6627
|
"border border-[var(--color-btn-outlined-neutral-border-default)] rounded-base shadow-sm",
|
|
6628
|
-
"cursor-pointer transition-colors text-xs font-
|
|
6628
|
+
"cursor-pointer transition-colors text-xs font-semibold leading-xs text-[var(--color-foreground)]",
|
|
6629
6629
|
"hover:from-[var(--color-btn-outlined-neutral-bg-hover)] hover:to-[var(--color-btn-outlined-neutral-bg-gradient-to-hover)]"
|
|
6630
6630
|
),
|
|
6631
6631
|
children: [
|
|
@@ -6744,7 +6744,7 @@ var outlinedBtn = [
|
|
|
6744
6744
|
"min-h-[32px] max-h-[32px] min-w-[80px]",
|
|
6745
6745
|
"bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] from-[10%] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)]",
|
|
6746
6746
|
"border border-[var(--color-btn-outlined-neutral-border-default)] rounded-md shadow-sm",
|
|
6747
|
-
"cursor-pointer transition-colors text-sm font-
|
|
6747
|
+
"cursor-pointer transition-colors text-sm font-semibold leading-sm text-[var(--color-foreground)]",
|
|
6748
6748
|
"hover:from-[var(--color-btn-outlined-neutral-bg-hover)] hover:to-[var(--color-btn-outlined-neutral-bg-gradient-to-hover)]"
|
|
6749
6749
|
];
|
|
6750
6750
|
var AdvancedPopover = ({
|
|
@@ -6842,7 +6842,7 @@ var AdvancedPopover = ({
|
|
|
6842
6842
|
{
|
|
6843
6843
|
type: "button",
|
|
6844
6844
|
onClick: handleClearAll,
|
|
6845
|
-
className: "text-sm font-
|
|
6845
|
+
className: "text-sm font-semibold leading-sm text-[var(--color-foreground)] cursor-pointer transition-colors hover:opacity-70 px-base py-sm",
|
|
6846
6846
|
children: "Clear all filters"
|
|
6847
6847
|
}
|
|
6848
6848
|
)
|
|
@@ -6865,6 +6865,7 @@ var SummaryChip = ({
|
|
|
6865
6865
|
properties,
|
|
6866
6866
|
onFiltersChange,
|
|
6867
6867
|
onClearAll,
|
|
6868
|
+
children,
|
|
6868
6869
|
className
|
|
6869
6870
|
}) => {
|
|
6870
6871
|
const [open, setOpen] = React47.useState(false);
|
|
@@ -6891,7 +6892,7 @@ var SummaryChip = ({
|
|
|
6891
6892
|
setAddSelectorOpen(false);
|
|
6892
6893
|
};
|
|
6893
6894
|
return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(PopoverPrimitive11.Root, { open, onOpenChange: setOpen, children: [
|
|
6894
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(PopoverPrimitive11.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
|
|
6895
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(PopoverPrimitive11.Trigger, { asChild: true, children: children ?? /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
|
|
6895
6896
|
"button",
|
|
6896
6897
|
{
|
|
6897
6898
|
type: "button",
|
|
@@ -6913,8 +6914,8 @@ var SummaryChip = ({
|
|
|
6913
6914
|
className: "shrink-0 text-[var(--color-foreground)]"
|
|
6914
6915
|
}
|
|
6915
6916
|
),
|
|
6916
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "text-sm font-
|
|
6917
|
-
count > 0 && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "flex items-center p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "text-[10px] font-
|
|
6917
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "text-sm font-semibold leading-sm whitespace-nowrap text-[var(--color-foreground)]", children: "Filters" }),
|
|
6918
|
+
count > 0 && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "flex items-center p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "text-[10px] font-semibold leading-2xs text-filter-chip-badge-text", children: count }) })
|
|
6918
6919
|
]
|
|
6919
6920
|
}
|
|
6920
6921
|
) }),
|
|
@@ -6971,7 +6972,7 @@ var SummaryChip = ({
|
|
|
6971
6972
|
"min-h-[32px] max-h-[32px] min-w-[80px]",
|
|
6972
6973
|
"bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] from-[10%] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)]",
|
|
6973
6974
|
"border border-[var(--color-btn-outlined-neutral-border-default)] rounded-md shadow-sm",
|
|
6974
|
-
"cursor-pointer transition-colors text-sm font-
|
|
6975
|
+
"cursor-pointer transition-colors text-sm font-semibold leading-sm text-[var(--color-foreground)]",
|
|
6975
6976
|
"hover:from-[var(--color-btn-outlined-neutral-bg-hover)] hover:to-[var(--color-btn-outlined-neutral-bg-gradient-to-hover)]"
|
|
6976
6977
|
),
|
|
6977
6978
|
children: [
|
|
@@ -6990,7 +6991,7 @@ var SummaryChip = ({
|
|
|
6990
6991
|
onClearAll();
|
|
6991
6992
|
setOpen(false);
|
|
6992
6993
|
},
|
|
6993
|
-
className: "text-sm font-
|
|
6994
|
+
className: "text-sm font-semibold leading-sm text-[var(--color-foreground)] cursor-pointer transition-colors hover:opacity-70 px-base py-sm",
|
|
6994
6995
|
children: "Clear all filters"
|
|
6995
6996
|
}
|
|
6996
6997
|
)
|
|
@@ -7112,7 +7113,7 @@ var FilterSystem = ({
|
|
|
7112
7113
|
const hasAdvanced = filterState.advancedFilters.length > 0;
|
|
7113
7114
|
const isMinimal = mode === "minimal";
|
|
7114
7115
|
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(FilterBar, { ref: containerRef, className, children: [
|
|
7115
|
-
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(FilterBarLeft, { children: [
|
|
7116
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(FilterBarLeft, { className: "flex-nowrap flex-1 min-w-0 overflow-x-auto scrollbar-none outline-none [&>*]:shrink-0", children: [
|
|
7116
7117
|
children,
|
|
7117
7118
|
sortFields && filterState.sort && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
7118
7119
|
SortButton,
|
|
@@ -7201,12 +7202,14 @@ var FilterSystem = ({
|
|
|
7201
7202
|
onSelect: handleAddFilter,
|
|
7202
7203
|
open: propertySelectorOpen,
|
|
7203
7204
|
onOpenChange: setPropertySelectorOpen,
|
|
7204
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
7205
|
-
|
|
7205
|
+
children: totalCount > 0 ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
7206
|
+
"button",
|
|
7206
7207
|
{
|
|
7207
|
-
|
|
7208
|
+
type: "button",
|
|
7209
|
+
className: "shrink-0 inline-flex items-center justify-center size-8 rounded-md border border-[var(--color-btn-outlined-neutral-border-default)] bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] from-[10%] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)] shadow-sm cursor-pointer transition-colors hover:from-[var(--color-btn-outlined-neutral-bg-hover)] hover:to-[var(--color-btn-outlined-neutral-bg-gradient-to-hover)]",
|
|
7210
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons34.Icon, { icon: import_icons34.faPlusOutline, size: "sm", className: "text-[var(--color-foreground)]" })
|
|
7208
7211
|
}
|
|
7209
|
-
)
|
|
7212
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(FilterBarButton, {})
|
|
7210
7213
|
}
|
|
7211
7214
|
)
|
|
7212
7215
|
] })
|
|
@@ -7216,12 +7219,12 @@ var FilterSystem = ({
|
|
|
7216
7219
|
{
|
|
7217
7220
|
type: "button",
|
|
7218
7221
|
onClick: handleClearAll,
|
|
7219
|
-
className: "flex items-center gap-sm px-base py-sm min-h-[32px] max-h-[32px] rounded-md cursor-pointer transition-colors hover:bg-[var(--color-accent)]",
|
|
7220
|
-
children: isMinimal ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons34.Icon, { icon: import_icons34.faXmarkOutline, size: "sm", className: "text-[var(--color-foreground)]" }) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "text-sm font-
|
|
7222
|
+
className: "shrink-0 flex items-center gap-sm px-base py-sm min-h-[32px] max-h-[32px] rounded-md cursor-pointer transition-colors hover:bg-[var(--color-accent)]",
|
|
7223
|
+
children: isMinimal ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons34.Icon, { icon: import_icons34.faXmarkOutline, size: "sm", className: "text-[var(--color-foreground)]" }) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "text-sm font-semibold leading-sm text-[var(--color-foreground)]", children: "Clear" })
|
|
7221
7224
|
}
|
|
7222
7225
|
)
|
|
7223
7226
|
] }),
|
|
7224
|
-
actions && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(FilterBarRight, { children: actions })
|
|
7227
|
+
actions && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(FilterBarRight, { className: "shrink-0 -ml-2xl pl-2xl relative z-10 bg-[linear-gradient(to_right,transparent_0px,var(--filter-bar-bg,var(--color-background,#fff))_24px)]", children: actions })
|
|
7225
7228
|
] });
|
|
7226
7229
|
};
|
|
7227
7230
|
FilterSystem.displayName = "FilterSystem";
|
|
@@ -7435,7 +7438,7 @@ var DatePickerDay = ({ date, isOutside }) => {
|
|
|
7435
7438
|
disabled: isOutside,
|
|
7436
7439
|
className: cn(
|
|
7437
7440
|
"relative flex flex-col items-center justify-center w-9 rounded-full p-2 cursor-pointer transition-colors",
|
|
7438
|
-
"text-sm font-
|
|
7441
|
+
"text-sm font-semibold leading-sm text-center",
|
|
7439
7442
|
// Default
|
|
7440
7443
|
!isOutside && !isSelected && !isInRangeOrPreview && "text-datepicker-day-text-default hover:bg-datepicker-day-bg-hover",
|
|
7441
7444
|
// Outside month (disabled)
|
|
@@ -7506,7 +7509,7 @@ var DatePickerCalendar = React50.forwardRef(({ className, header, ...props }, re
|
|
|
7506
7509
|
header,
|
|
7507
7510
|
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "flex flex-col gap-lg p-lg", children: [
|
|
7508
7511
|
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "flex items-center justify-between", children: [
|
|
7509
|
-
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("span", { className: "text-base font-
|
|
7512
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("span", { className: "text-base font-semibold leading-base text-datepicker-header-text", children: [
|
|
7510
7513
|
MONTH_NAMES[month],
|
|
7511
7514
|
" ",
|
|
7512
7515
|
year
|
|
@@ -7593,7 +7596,7 @@ var DatePickerSuggestions = React50.forwardRef(
|
|
|
7593
7596
|
),
|
|
7594
7597
|
...props,
|
|
7595
7598
|
children: [
|
|
7596
|
-
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "pt-lg px-base", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "flex items-center p-base rounded-base", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "flex-1 text-xs font-
|
|
7599
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "pt-lg px-base", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "flex items-center p-base rounded-base", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "flex-1 text-xs font-semibold leading-xs text-datepicker-suggestion-heading uppercase truncate", children: "Suggestions" }) }) }),
|
|
7597
7600
|
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "flex flex-1 flex-col p-base min-w-[222px]", children: suggestions.map((suggestion, i) => /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
|
|
7598
7601
|
"button",
|
|
7599
7602
|
{
|