@mediaradar/design-components 0.44.0 → 0.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/approved-components.json +1 -1
- package/dist/index.cjs +66 -66
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.js +66 -66
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -83,7 +83,7 @@ function InfoTip({ text, size = 11, label = "More information", trigger = "click
|
|
|
83
83
|
onMouseEnter: trigger === "hover" ? cancelClose : void 0,
|
|
84
84
|
onMouseLeave: trigger === "hover" ? closeSoon : void 0,
|
|
85
85
|
style: { position: "fixed", top: pos.top, left: pos.left, width: pos.width },
|
|
86
|
-
className: "z-[90] rounded-control border border-border-default bg-surface px-3 py-2 text-
|
|
86
|
+
className: "z-[90] rounded-control border border-border-default bg-surface px-3 py-2 text-xs font-normal not-italic normal-case leading-relaxed tracking-normal text-text-secondary shadow-overlay",
|
|
87
87
|
children: text
|
|
88
88
|
}
|
|
89
89
|
),
|
|
@@ -102,7 +102,7 @@ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
|
102
102
|
function AdvertiserSearchPrompt({ label = "an advertiser name" }) {
|
|
103
103
|
return /* @__PURE__ */ jsxs2("div", { className: "flex flex-col items-center gap-2 px-4 py-8 text-center", children: [
|
|
104
104
|
/* @__PURE__ */ jsx2("span", { className: "flex h-9 w-9 items-center justify-center rounded-full bg-subtle text-text-tertiary", children: /* @__PURE__ */ jsx2(Search, { size: 16, "aria-hidden": "true" }) }),
|
|
105
|
-
/* @__PURE__ */ jsxs2("p", { className: "text-
|
|
105
|
+
/* @__PURE__ */ jsxs2("p", { className: "text-xs leading-snug text-text-tertiary", children: [
|
|
106
106
|
"Start typing ",
|
|
107
107
|
label,
|
|
108
108
|
" to filter."
|
|
@@ -137,7 +137,7 @@ function chipTriggerClass(_variant = "box") {
|
|
|
137
137
|
function ChipContent({ caption, value, icon }) {
|
|
138
138
|
const stack = /* @__PURE__ */ jsxs3("span", { className: "flex flex-col gap-1 text-left leading-none", children: [
|
|
139
139
|
/* @__PURE__ */ jsx3("span", { className: "text-control-caption uppercase tracking-wide text-text-tertiary", children: caption }),
|
|
140
|
-
/* @__PURE__ */ jsx3("span", { className: "text-
|
|
140
|
+
/* @__PURE__ */ jsx3("span", { className: "text-xs font-medium text-text-primary", children: value })
|
|
141
141
|
] });
|
|
142
142
|
if (icon) {
|
|
143
143
|
return /* @__PURE__ */ jsxs3("span", { className: "flex items-center gap-2", children: [
|
|
@@ -310,7 +310,7 @@ function AdvertiserQuickFilter({
|
|
|
310
310
|
placeholder: searchPlaceholder,
|
|
311
311
|
"aria-label": searchPlaceholder,
|
|
312
312
|
"data-testid": testIdPrefix && `${testIdPrefix}-search`,
|
|
313
|
-
className: "h-full min-w-0 flex-1 bg-transparent text-
|
|
313
|
+
className: "h-full min-w-0 flex-1 bg-transparent text-dense outline-hidden placeholder:text-text-tertiary"
|
|
314
314
|
}
|
|
315
315
|
),
|
|
316
316
|
q && /* @__PURE__ */ jsx4(
|
|
@@ -333,7 +333,7 @@ function AdvertiserQuickFilter({
|
|
|
333
333
|
"data-testid": testIdPrefix && `${testIdPrefix}-selected-toggle`,
|
|
334
334
|
onClick: () => setSelectedOpen((v) => !v),
|
|
335
335
|
"aria-expanded": selectedOpen,
|
|
336
|
-
className: "flex w-full items-center gap-1.5 rounded-control px-2 py-1 text-left text-
|
|
336
|
+
className: "flex w-full items-center gap-1.5 rounded-control px-2 py-1 text-left text-micro font-semibold uppercase tracking-wide text-text-tertiary transition-colors hover:text-text-primary",
|
|
337
337
|
children: [
|
|
338
338
|
/* @__PURE__ */ jsx4(
|
|
339
339
|
ChevronDown,
|
|
@@ -365,12 +365,12 @@ function AdvertiserQuickFilter({
|
|
|
365
365
|
remaining > 0 ? `, showing ${results.length}` : ""
|
|
366
366
|
] }),
|
|
367
367
|
!ql && !prepopulate ? /* @__PURE__ */ jsx4(AdvertiserSearchPrompt, { label: promptLabel }) : !ql && results.length === 0 ? null : results.length === 0 ? /* @__PURE__ */ jsxs4("div", { className: "flex flex-col items-center gap-1.5 px-4 py-8 text-center", children: [
|
|
368
|
-
/* @__PURE__ */ jsxs4("p", { className: "text-
|
|
368
|
+
/* @__PURE__ */ jsxs4("p", { className: "text-dense font-medium text-text-primary", children: [
|
|
369
369
|
"No results found for \u201C",
|
|
370
370
|
q.trim(),
|
|
371
371
|
"\u201D"
|
|
372
372
|
] }),
|
|
373
|
-
/* @__PURE__ */ jsx4("p", { className: "text-
|
|
373
|
+
/* @__PURE__ */ jsx4("p", { className: "text-xs leading-snug text-text-tertiary", children: noResultsHint })
|
|
374
374
|
] }) : /* @__PURE__ */ jsxs4("div", { ref: resultsRef, children: [
|
|
375
375
|
results.length > SELECT_ALL_THRESHOLD && /* @__PURE__ */ jsxs4(
|
|
376
376
|
"button",
|
|
@@ -378,7 +378,7 @@ function AdvertiserQuickFilter({
|
|
|
378
378
|
type: "button",
|
|
379
379
|
"data-testid": testIdPrefix && `${testIdPrefix}-select-all-visible`,
|
|
380
380
|
onClick: toggleAllVisible,
|
|
381
|
-
className: "flex w-full items-center gap-2 rounded-control px-2 py-1.5 text-left text-
|
|
381
|
+
className: "flex w-full items-center gap-2 rounded-control px-2 py-1.5 text-left text-xs font-semibold text-text-link transition-colors hover:bg-subtle",
|
|
382
382
|
children: [
|
|
383
383
|
/* @__PURE__ */ jsx4(ListChecks, { size: 14, "aria-hidden": "true" }),
|
|
384
384
|
allVisibleSelected ? `Deselect ${results.length} visible` : `Select all ${results.length} visible`
|
|
@@ -420,7 +420,7 @@ function AdvertiserQuickFilter({
|
|
|
420
420
|
"data-testid": testIdPrefix && `${testIdPrefix}-clear-all`,
|
|
421
421
|
onClick: () => setDraft(clearValue),
|
|
422
422
|
disabled: draft.length === 0,
|
|
423
|
-
className: "text-
|
|
423
|
+
className: "text-dense font-medium text-text-secondary transition-colors hover:text-text-primary disabled:opacity-40",
|
|
424
424
|
children: "Clear all"
|
|
425
425
|
}
|
|
426
426
|
),
|
|
@@ -430,12 +430,12 @@ function AdvertiserQuickFilter({
|
|
|
430
430
|
type: "button",
|
|
431
431
|
"data-testid": testIdPrefix && `${testIdPrefix}-apply`,
|
|
432
432
|
onClick: apply,
|
|
433
|
-
className: "rounded-control bg-brand-primaryAction px-5 py-2 text-
|
|
433
|
+
className: "rounded-control bg-brand-primaryAction px-5 py-2 text-dense font-semibold text-brand-onprimary transition hover:brightness-110",
|
|
434
434
|
children: "Apply"
|
|
435
435
|
}
|
|
436
436
|
)
|
|
437
437
|
] }) : draft.length > 0 && /* @__PURE__ */ jsxs4("div", { className: "flex items-center justify-between border-t border-border-default p-2", children: [
|
|
438
|
-
/* @__PURE__ */ jsxs4("span", { className: "text-
|
|
438
|
+
/* @__PURE__ */ jsxs4("span", { className: "text-micro text-text-tertiary", children: [
|
|
439
439
|
draft.length,
|
|
440
440
|
" selected"
|
|
441
441
|
] }),
|
|
@@ -444,7 +444,7 @@ function AdvertiserQuickFilter({
|
|
|
444
444
|
{
|
|
445
445
|
type: "button",
|
|
446
446
|
onClick: () => setDraft([]),
|
|
447
|
-
className: "text-
|
|
447
|
+
className: "text-xs font-medium text-text-link hover:underline",
|
|
448
448
|
children: clearLabel
|
|
449
449
|
}
|
|
450
450
|
)
|
|
@@ -486,7 +486,7 @@ function OptionRow({
|
|
|
486
486
|
children: checked && /* @__PURE__ */ jsx4(Check, { size: 13, strokeWidth: 3 })
|
|
487
487
|
}
|
|
488
488
|
),
|
|
489
|
-
/* @__PURE__ */ jsx4("span", { className: "flex-1 text-
|
|
489
|
+
/* @__PURE__ */ jsx4("span", { className: "flex-1 text-sm text-text-primary", children: label })
|
|
490
490
|
]
|
|
491
491
|
}
|
|
492
492
|
);
|
|
@@ -943,8 +943,8 @@ function DateRangeFilter({
|
|
|
943
943
|
children: [
|
|
944
944
|
icon && /* @__PURE__ */ jsx8("span", { className: "shrink-0 text-text-tertiary", children: icon }),
|
|
945
945
|
/* @__PURE__ */ jsxs7("span", { className: "flex flex-col gap-1 text-left leading-none", children: [
|
|
946
|
-
/* @__PURE__ */ jsx8("span", { className: showDates && displayDatesLine ? "text-
|
|
947
|
-
/* @__PURE__ */ jsxs7("span", { className: "text-
|
|
946
|
+
/* @__PURE__ */ jsx8("span", { className: showDates && displayDatesLine ? "text-micro text-text-tertiary" : "text-control-caption uppercase tracking-wide text-text-tertiary", children: showDates && displayDatesLine ? displayDatesLine : caption }),
|
|
947
|
+
/* @__PURE__ */ jsxs7("span", { className: "text-xs font-medium text-text-primary", children: [
|
|
948
948
|
displayValue,
|
|
949
949
|
compareLabel(appliedCmp) && /* @__PURE__ */ jsxs7("span", { className: "font-normal text-text-secondary", children: [
|
|
950
950
|
" \xB7 vs ",
|
|
@@ -971,7 +971,7 @@ function DateRangeFilter({
|
|
|
971
971
|
type: "button",
|
|
972
972
|
"data-testid": testIdPrefix && `${testIdPrefix}-option-${slug2(s)}`,
|
|
973
973
|
onClick: () => choosePreset(s),
|
|
974
|
-
className: `rounded-control px-3 py-2 text-left text-
|
|
974
|
+
className: `rounded-control px-3 py-2 text-left text-dense font-medium transition-colors ${shortcut === s ? "bg-subtle text-text-primary" : "text-text-secondary hover:bg-subtle hover:text-text-primary"}`,
|
|
975
975
|
children: s
|
|
976
976
|
},
|
|
977
977
|
s
|
|
@@ -997,7 +997,7 @@ function DateRangeFilter({
|
|
|
997
997
|
offset === 1 ? /* @__PURE__ */ jsx8(NavBtn, { onClick: () => setLeftMonth(addMonths(leftMonth, 1)), "aria-label": "Next month", children: /* @__PURE__ */ jsx8(ChevronRight, { size: 16 }) }) : /* @__PURE__ */ jsx8("span", { className: "h-7 w-7" })
|
|
998
998
|
] }),
|
|
999
999
|
/* @__PURE__ */ jsxs7("div", { className: "grid grid-cols-7", children: [
|
|
1000
|
-
WEEKDAYS.map((w) => /* @__PURE__ */ jsx8("div", { className: "flex h-8 items-center justify-center text-
|
|
1000
|
+
WEEKDAYS.map((w) => /* @__PURE__ */ jsx8("div", { className: "flex h-8 items-center justify-center text-xs font-semibold text-text-secondary", children: w }, w)),
|
|
1001
1001
|
grid.map((d, i) => {
|
|
1002
1002
|
const inMonth = d.getMonth() === m.getMonth();
|
|
1003
1003
|
const hasRange = !!(start && end);
|
|
@@ -1017,7 +1017,7 @@ function DateRangeFilter({
|
|
|
1017
1017
|
/* @__PURE__ */ jsx8(
|
|
1018
1018
|
"span",
|
|
1019
1019
|
{
|
|
1020
|
-
className: `relative z-10 flex h-8 w-8 items-center justify-center rounded-full text-
|
|
1020
|
+
className: `relative z-10 flex h-8 w-8 items-center justify-center rounded-full text-dense tabular-nums ${endpoint ? "bg-brand-primaryAction font-semibold text-brand-onprimary" : inMonth ? "text-text-primary hover:bg-subtle" : "text-text-tertiary"}`,
|
|
1021
1021
|
children: d.getDate()
|
|
1022
1022
|
}
|
|
1023
1023
|
)
|
|
@@ -1057,8 +1057,8 @@ function DateRangeFilter({
|
|
|
1057
1057
|
] }),
|
|
1058
1058
|
/* @__PURE__ */ jsxs7("div", { className: "mt-4 flex items-center justify-end gap-2", children: [
|
|
1059
1059
|
monthly && /* @__PURE__ */ jsx8("span", { className: "mr-auto text-xs text-text-tertiary", children: "Data is monthly, so ranges cover whole months." }),
|
|
1060
|
-
/* @__PURE__ */ jsx8("button", { type: "button", "data-testid": testIdPrefix && `${testIdPrefix}-cancel`, onClick: () => setOpen(false), className: "rounded-control border border-border-default bg-surface px-5 py-2 text-
|
|
1061
|
-
/* @__PURE__ */ jsx8("button", { type: "button", "data-testid": testIdPrefix && `${testIdPrefix}-apply`, onClick: apply, disabled: !canApply, className: "rounded-control bg-brand-primaryAction px-5 py-2 text-
|
|
1060
|
+
/* @__PURE__ */ jsx8("button", { type: "button", "data-testid": testIdPrefix && `${testIdPrefix}-cancel`, onClick: () => setOpen(false), className: "rounded-control border border-border-default bg-surface px-5 py-2 text-dense font-semibold text-text-primary transition-colors hover:bg-subtle", children: "Cancel" }),
|
|
1061
|
+
/* @__PURE__ */ jsx8("button", { type: "button", "data-testid": testIdPrefix && `${testIdPrefix}-apply`, onClick: apply, disabled: !canApply, className: "rounded-control bg-brand-primaryAction px-5 py-2 text-dense font-semibold text-brand-onprimary transition-[filter] hover:brightness-110 disabled:cursor-not-allowed disabled:opacity-50", children: "Apply" })
|
|
1062
1062
|
] })
|
|
1063
1063
|
] })
|
|
1064
1064
|
]
|
|
@@ -1068,8 +1068,8 @@ function DateRangeFilter({
|
|
|
1068
1068
|
}
|
|
1069
1069
|
function Field({ label, value }) {
|
|
1070
1070
|
return /* @__PURE__ */ jsxs7("div", { className: "flex flex-col gap-1.5", children: [
|
|
1071
|
-
/* @__PURE__ */ jsx8("span", { className: "text-
|
|
1072
|
-
/* @__PURE__ */ jsx8("div", { className: "flex h-10 min-w-[140px] items-center rounded-control border border-border-strong bg-input px-3 text-
|
|
1071
|
+
/* @__PURE__ */ jsx8("span", { className: "text-xs font-medium text-text-secondary", children: label }),
|
|
1072
|
+
/* @__PURE__ */ jsx8("div", { className: "flex h-10 min-w-[140px] items-center rounded-control border border-border-strong bg-input px-3 text-sm font-medium text-text-primary", children: value })
|
|
1073
1073
|
] });
|
|
1074
1074
|
}
|
|
1075
1075
|
function NavBtn({ children, onClick, ...rest }) {
|
|
@@ -1367,7 +1367,7 @@ function SearchBar({
|
|
|
1367
1367
|
onClick: () => setOpen((o) => !o),
|
|
1368
1368
|
"aria-expanded": open,
|
|
1369
1369
|
"aria-haspopup": "dialog",
|
|
1370
|
-
className: "flex h-full items-center gap-1 px-2.5 text-
|
|
1370
|
+
className: "flex h-full items-center gap-1 px-2.5 text-dense font-medium text-text-primary transition-colors hover:bg-subtle",
|
|
1371
1371
|
children: [
|
|
1372
1372
|
matchValue.mode === "anyWord" ? `${MODE_LABEL.anyWord} (${matchValue.wordJoin})` : MODE_LABEL[matchValue.mode],
|
|
1373
1373
|
/* @__PURE__ */ jsx9(
|
|
@@ -1500,7 +1500,7 @@ function ModeRow({
|
|
|
1500
1500
|
e.stopPropagation();
|
|
1501
1501
|
onSelect();
|
|
1502
1502
|
},
|
|
1503
|
-
className: "rounded-control text-left text-
|
|
1503
|
+
className: "rounded-control text-left text-sm font-semibold text-text-primary focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-border-focus",
|
|
1504
1504
|
children: title
|
|
1505
1505
|
}
|
|
1506
1506
|
),
|
|
@@ -1533,7 +1533,7 @@ function RadioOption({
|
|
|
1533
1533
|
},
|
|
1534
1534
|
role: "radio",
|
|
1535
1535
|
"aria-checked": checked,
|
|
1536
|
-
className: "flex items-center gap-1.5 text-
|
|
1536
|
+
className: "flex items-center gap-1.5 text-dense font-medium text-text-primary",
|
|
1537
1537
|
children: [
|
|
1538
1538
|
/* @__PURE__ */ jsx9(
|
|
1539
1539
|
"span",
|
|
@@ -1743,7 +1743,7 @@ function Option({
|
|
|
1743
1743
|
"aria-pressed": selected,
|
|
1744
1744
|
onClick,
|
|
1745
1745
|
className: cx3(
|
|
1746
|
-
"flex items-center gap-2 rounded-control px-2.5 py-2 text-left text-
|
|
1746
|
+
"flex items-center gap-2 rounded-control px-2.5 py-2 text-left text-dense transition-colors hover:bg-subtle",
|
|
1747
1747
|
hint ? "flex-1" : "w-full",
|
|
1748
1748
|
selected ? "font-semibold text-text-primary" : "text-text-secondary"
|
|
1749
1749
|
),
|
|
@@ -1936,7 +1936,7 @@ function SelectFilter({
|
|
|
1936
1936
|
/* @__PURE__ */ jsx13(
|
|
1937
1937
|
"span",
|
|
1938
1938
|
{
|
|
1939
|
-
className: cx4("flex-1 text-
|
|
1939
|
+
className: cx4("flex-1 text-sm", selected ? "font-semibold text-text-primary" : "text-text-primary"),
|
|
1940
1940
|
children: o
|
|
1941
1941
|
}
|
|
1942
1942
|
)
|
|
@@ -1989,8 +1989,8 @@ var NO_RESULTS_BODY = "Your filters may be too narrow, conflict with each other,
|
|
|
1989
1989
|
function noResultsBody(workspaceName) {
|
|
1990
1990
|
return workspaceName ? `Nothing in the \u201C${workspaceName}\u201D workspace matches. ${NO_RESULTS_BODY}` : NO_RESULTS_BODY;
|
|
1991
1991
|
}
|
|
1992
|
-
var PRIMARY_ACTION_CLASS = "rounded-control bg-brand-primaryAction px-3.5 py-2 text-
|
|
1993
|
-
var QUIET_ACTION_CLASS = "rounded-control text-
|
|
1992
|
+
var PRIMARY_ACTION_CLASS = "rounded-control bg-brand-primaryAction px-3.5 py-2 text-dense font-semibold text-brand-onprimary transition-colors hover:opacity-90";
|
|
1993
|
+
var QUIET_ACTION_CLASS = "rounded-control text-dense font-medium text-text-link transition-colors hover:underline focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-border-focus";
|
|
1994
1994
|
function NoResultsEmptyState({
|
|
1995
1995
|
title = NO_RESULTS_TITLE,
|
|
1996
1996
|
body,
|
|
@@ -2008,7 +2008,7 @@ function NoResultsEmptyState({
|
|
|
2008
2008
|
return /* @__PURE__ */ jsxs14("div", { className: "flex flex-col items-center justify-center gap-3 text-center", "data-testid": testIdPrefix, children: [
|
|
2009
2009
|
/* @__PURE__ */ jsx15("span", { className: "flex h-11 w-11 items-center justify-center rounded-full bg-subtle text-text-tertiary", children: /* @__PURE__ */ jsx15(FilterX, { size: 20, "aria-hidden": "true" }) }),
|
|
2010
2010
|
/* @__PURE__ */ jsx15("h2", { className: "text-base font-semibold text-text-primary", children: title }),
|
|
2011
|
-
/* @__PURE__ */ jsx15("p", { className: "max-w-[420px] text-
|
|
2011
|
+
/* @__PURE__ */ jsx15("p", { className: "max-w-[420px] text-dense leading-relaxed text-text-secondary", children: bodyText }),
|
|
2012
2012
|
hasActions && /* @__PURE__ */ jsxs14("div", { className: "mt-1 flex flex-col items-center gap-3", children: [
|
|
2013
2013
|
showClear && /* @__PURE__ */ jsx15(
|
|
2014
2014
|
"button",
|
|
@@ -2573,12 +2573,12 @@ function AdvertiserNoResults({
|
|
|
2573
2573
|
hint = "Try checking your spelling or searching for a broader brand name."
|
|
2574
2574
|
}) {
|
|
2575
2575
|
return /* @__PURE__ */ jsxs21("div", { className: "flex flex-col items-center gap-1.5 px-4 py-8 text-center", children: [
|
|
2576
|
-
/* @__PURE__ */ jsxs21("p", { className: "text-
|
|
2576
|
+
/* @__PURE__ */ jsxs21("p", { className: "text-dense font-medium text-text-primary", children: [
|
|
2577
2577
|
"No results found for \u201C",
|
|
2578
2578
|
query,
|
|
2579
2579
|
"\u201D"
|
|
2580
2580
|
] }),
|
|
2581
|
-
/* @__PURE__ */ jsx23("p", { className: "text-
|
|
2581
|
+
/* @__PURE__ */ jsx23("p", { className: "text-xs leading-snug text-text-tertiary", children: hint })
|
|
2582
2582
|
] });
|
|
2583
2583
|
}
|
|
2584
2584
|
|
|
@@ -2592,7 +2592,7 @@ function SelectAllVisible({ count, allSelected, onToggle, testIdPrefix }) {
|
|
|
2592
2592
|
type: "button",
|
|
2593
2593
|
"data-testid": testIdPrefix && `${testIdPrefix}-select-all-visible`,
|
|
2594
2594
|
onClick: onToggle,
|
|
2595
|
-
className: "flex w-full items-center gap-2 rounded-control px-2 py-1.5 text-left text-
|
|
2595
|
+
className: "flex w-full items-center gap-2 rounded-control px-2 py-1.5 text-left text-xs font-semibold text-text-link transition-colors hover:bg-subtle",
|
|
2596
2596
|
children: [
|
|
2597
2597
|
/* @__PURE__ */ jsx24(ListChecks2, { size: 14, "aria-hidden": "true" }),
|
|
2598
2598
|
allSelected ? `Deselect ${count} visible` : `Select all ${count} visible`
|
|
@@ -2617,7 +2617,7 @@ function SelectedSection({ count, open, onToggle, children, testIdPrefix }) {
|
|
|
2617
2617
|
"data-testid": testIdPrefix && `${testIdPrefix}-selected-toggle`,
|
|
2618
2618
|
onClick: onToggle,
|
|
2619
2619
|
"aria-expanded": open,
|
|
2620
|
-
className: "flex w-full items-center gap-1.5 rounded-control px-2 py-1 text-left text-
|
|
2620
|
+
className: "flex w-full items-center gap-1.5 rounded-control px-2 py-1 text-left text-micro font-semibold uppercase tracking-wide text-text-tertiary transition-colors hover:text-text-primary",
|
|
2621
2621
|
children: [
|
|
2622
2622
|
/* @__PURE__ */ jsx25(ChevronDown7, { size: 13, "aria-hidden": "true", className: cx7("transition-transform", !open && "-rotate-90") }),
|
|
2623
2623
|
"Selected (",
|
|
@@ -3251,7 +3251,7 @@ function Monogram({ name, size = 28 }) {
|
|
|
3251
3251
|
);
|
|
3252
3252
|
}
|
|
3253
3253
|
function BreakdownTag({ children }) {
|
|
3254
|
-
return /* @__PURE__ */ jsx28("span", { className: "inline-flex items-center whitespace-nowrap rounded-full bg-subtle px-2 py-0.5 text-
|
|
3254
|
+
return /* @__PURE__ */ jsx28("span", { className: "inline-flex items-center whitespace-nowrap rounded-full bg-subtle px-2 py-0.5 text-micro font-medium text-text-secondary", children });
|
|
3255
3255
|
}
|
|
3256
3256
|
function DelayedTip({ label, children }) {
|
|
3257
3257
|
return /* @__PURE__ */ jsxs26("span", { className: "group/dt relative inline-flex", tabIndex: 0, "aria-label": label, children: [
|
|
@@ -3260,7 +3260,7 @@ function DelayedTip({ label, children }) {
|
|
|
3260
3260
|
"span",
|
|
3261
3261
|
{
|
|
3262
3262
|
role: "tooltip",
|
|
3263
|
-
className: "pointer-events-none invisible absolute bottom-[calc(100%+6px)] left-1/2 z-40 w-[160px] -translate-x-1/2 rounded-control border border-border-default bg-surface px-2 py-1.5 text-center text-
|
|
3263
|
+
className: "pointer-events-none invisible absolute bottom-[calc(100%+6px)] left-1/2 z-40 w-[160px] -translate-x-1/2 rounded-control border border-border-default bg-surface px-2 py-1.5 text-center text-micro font-medium leading-snug text-text-secondary opacity-0 shadow-overlay transition-[opacity,visibility] delay-1000 duration-150 group-hover/dt:visible group-hover/dt:opacity-100 group-focus/dt:visible group-focus/dt:opacity-100",
|
|
3264
3264
|
children: label
|
|
3265
3265
|
}
|
|
3266
3266
|
)
|
|
@@ -3273,9 +3273,9 @@ function MetricListHeader({ className }) {
|
|
|
3273
3273
|
return /* @__PURE__ */ jsxs26("div", { className: cx9("flex items-baseline gap-2 pb-2", className), children: [
|
|
3274
3274
|
/* @__PURE__ */ jsx28("span", { className: "flex-1" }),
|
|
3275
3275
|
/* @__PURE__ */ jsxs26("span", { className: "flex shrink-0 items-center gap-2 pr-1.5", children: [
|
|
3276
|
-
/* @__PURE__ */ jsx28("span", { className: "text-right text-
|
|
3277
|
-
/* @__PURE__ */ jsx28(DelayedTip, { label: "Spend during the same time period one year ago.", children: /* @__PURE__ */ jsx28("span", { className: "text-right text-
|
|
3278
|
-
/* @__PURE__ */ jsx28(DelayedTip, { label: "Percent change from this time period vs. the same time one year ago.", children: /* @__PURE__ */ jsx28("span", { className: "text-right text-
|
|
3276
|
+
/* @__PURE__ */ jsx28("span", { className: "text-right text-micro font-medium text-text-tertiary", style: { width: COL_CURRENT }, children: "Current" }),
|
|
3277
|
+
/* @__PURE__ */ jsx28(DelayedTip, { label: "Spend during the same time period one year ago.", children: /* @__PURE__ */ jsx28("span", { className: "text-right text-micro font-medium text-text-tertiary", style: { width: COL_PREVIOUS }, children: "Previous" }) }),
|
|
3278
|
+
/* @__PURE__ */ jsx28(DelayedTip, { label: "Percent change from this time period vs. the same time one year ago.", children: /* @__PURE__ */ jsx28("span", { className: "text-right text-micro font-medium text-text-tertiary", style: { width: COL_YOY }, children: "YoY" }) })
|
|
3279
3279
|
] })
|
|
3280
3280
|
] });
|
|
3281
3281
|
}
|
|
@@ -3283,9 +3283,9 @@ function MetricCells({ spendN, yoy }) {
|
|
|
3283
3283
|
const prior = priorYearAmt(spendN, yoy);
|
|
3284
3284
|
const up = yoy !== "NEW" && yoy >= 0;
|
|
3285
3285
|
return /* @__PURE__ */ jsxs26("span", { className: "flex shrink-0 items-center gap-2 pr-1.5", children: [
|
|
3286
|
-
/* @__PURE__ */ jsx28("span", { className: "text-right text-
|
|
3287
|
-
/* @__PURE__ */ jsx28("span", { className: "text-right text-
|
|
3288
|
-
/* @__PURE__ */ jsx28("span", { className: "flex justify-end", style: { width: COL_YOY }, children: yoy === "NEW" ? /* @__PURE__ */ jsx28("span", { className: "rounded-full bg-status-warning/15 px-1.5 text-badge font-semibold text-text-warning", children: "NEW" }) : /* @__PURE__ */ jsxs26("span", { className: cx9("text-right text-
|
|
3286
|
+
/* @__PURE__ */ jsx28("span", { className: "text-right text-xs font-bold tabular-nums text-text-primary", style: { width: COL_CURRENT }, children: fmtM(spendN) }),
|
|
3287
|
+
/* @__PURE__ */ jsx28("span", { className: "text-right text-xs font-normal tabular-nums text-text-primary", style: { width: COL_PREVIOUS }, children: prior ?? "\u2014" }),
|
|
3288
|
+
/* @__PURE__ */ jsx28("span", { className: "flex justify-end", style: { width: COL_YOY }, children: yoy === "NEW" ? /* @__PURE__ */ jsx28("span", { className: "rounded-full bg-status-warning/15 px-1.5 text-badge font-semibold text-text-warning", children: "NEW" }) : /* @__PURE__ */ jsxs26("span", { className: cx9("text-right text-xs font-semibold tabular-nums", up ? "text-text-success" : "text-text-danger"), children: [
|
|
3289
3289
|
up ? "+" : "\u2212",
|
|
3290
3290
|
Math.abs(yoy),
|
|
3291
3291
|
"%"
|
|
@@ -3304,7 +3304,7 @@ function PublisherBreakdownList({ rows, defaultVisibleCount = 10, padded = true,
|
|
|
3304
3304
|
renderLogo ? renderLogo(p) : /* @__PURE__ */ jsx28(Monogram, { name: p.brand, size: 28 }),
|
|
3305
3305
|
/* @__PURE__ */ jsxs26("div", { className: "min-w-0", children: [
|
|
3306
3306
|
/* @__PURE__ */ jsxs26("div", { className: "flex flex-wrap items-center gap-1.5", children: [
|
|
3307
|
-
/* @__PURE__ */ jsx28("span", { className: "text-
|
|
3307
|
+
/* @__PURE__ */ jsx28("span", { className: "text-sm font-semibold text-text-primary", children: p.brand }),
|
|
3308
3308
|
p.tags.map((t) => /* @__PURE__ */ jsx28(BreakdownTag, { children: t }, t))
|
|
3309
3309
|
] }),
|
|
3310
3310
|
/* @__PURE__ */ jsx28("div", { className: "truncate text-[11.5px] text-text-tertiary", children: p.owner })
|
|
@@ -3313,7 +3313,7 @@ function PublisherBreakdownList({ rows, defaultVisibleCount = 10, padded = true,
|
|
|
3313
3313
|
/* @__PURE__ */ jsx28(MetricCells, { spendN: p.spendN, yoy: p.yoy })
|
|
3314
3314
|
] }, p.brand))
|
|
3315
3315
|
] }),
|
|
3316
|
-
rows.length > defaultVisibleCount && (viewAllHref ? /* @__PURE__ */ jsx28("div", { className: cx9("border-t border-border-default py-3", rowPad), children: /* @__PURE__ */ jsx28("a", { href: viewAllHref, className: "text-
|
|
3316
|
+
rows.length > defaultVisibleCount && (viewAllHref ? /* @__PURE__ */ jsx28("div", { className: cx9("border-t border-border-default py-3", rowPad), children: /* @__PURE__ */ jsx28("a", { href: viewAllHref, className: "text-xs font-semibold text-text-link hover:underline", children: "See all publishers" }) }) : /* @__PURE__ */ jsxs26("div", { className: cx9("flex items-center gap-2 border-t border-border-default py-3 text-xs text-text-tertiary", rowPad), children: [
|
|
3317
3317
|
/* @__PURE__ */ jsxs26("span", { children: [
|
|
3318
3318
|
"Showing ",
|
|
3319
3319
|
visible.length,
|
|
@@ -3507,9 +3507,9 @@ function NameListModal({
|
|
|
3507
3507
|
onKeyDown: trapTab,
|
|
3508
3508
|
className: "w-full max-w-110 rounded-card border border-border-default bg-surface p-5 shadow-overlay",
|
|
3509
3509
|
children: [
|
|
3510
|
-
/* @__PURE__ */ jsx31("h2", { id: titleId, className: "text-
|
|
3510
|
+
/* @__PURE__ */ jsx31("h2", { id: titleId, className: "text-base font-semibold text-text-primary", children: title }),
|
|
3511
3511
|
/* @__PURE__ */ jsxs29("div", { className: "mt-4 flex flex-col gap-1.5", children: [
|
|
3512
|
-
/* @__PURE__ */ jsx31("label", { htmlFor: fieldId, className: "text-
|
|
3512
|
+
/* @__PURE__ */ jsx31("label", { htmlFor: fieldId, className: "text-xs font-medium text-text-secondary", children: fieldLabel }),
|
|
3513
3513
|
/* @__PURE__ */ jsx31(
|
|
3514
3514
|
"input",
|
|
3515
3515
|
{
|
|
@@ -3522,7 +3522,7 @@ function NameListModal({
|
|
|
3522
3522
|
}
|
|
3523
3523
|
)
|
|
3524
3524
|
] }),
|
|
3525
|
-
options && options.length > 0 && /* @__PURE__ */ jsx31("div", { className: "mt-4 flex flex-col gap-2.5", children: options.map((o) => /* @__PURE__ */ jsxs29("label", { className: "flex cursor-pointer items-center gap-2.5 text-
|
|
3525
|
+
options && options.length > 0 && /* @__PURE__ */ jsx31("div", { className: "mt-4 flex flex-col gap-2.5", children: options.map((o) => /* @__PURE__ */ jsxs29("label", { className: "flex cursor-pointer items-center gap-2.5 text-dense text-text-primary", children: [
|
|
3526
3526
|
/* @__PURE__ */ jsx31(CheckBox, { checked: !!checked[o.key], onChange: () => toggle(o.key), ariaLabel: o.label }),
|
|
3527
3527
|
o.label
|
|
3528
3528
|
] }, o.key)) }),
|
|
@@ -3555,7 +3555,7 @@ function FilterChipBar({ chips, onRemove, onClearAll, parkedKeys }) {
|
|
|
3555
3555
|
},
|
|
3556
3556
|
c.key
|
|
3557
3557
|
)),
|
|
3558
|
-
/* @__PURE__ */ jsx32("button", { type: "button", onClick: onClearAll, className: "ml-1 text-
|
|
3558
|
+
/* @__PURE__ */ jsx32("button", { type: "button", onClick: onClearAll, className: "ml-1 text-xs font-medium text-text-link hover:underline", children: "Clear all" })
|
|
3559
3559
|
] });
|
|
3560
3560
|
}
|
|
3561
3561
|
function Chip({
|
|
@@ -3569,7 +3569,7 @@ function Chip({
|
|
|
3569
3569
|
"span",
|
|
3570
3570
|
{
|
|
3571
3571
|
className: cn(
|
|
3572
|
-
"flex items-center gap-1 rounded-full px-2.5 py-1 text-
|
|
3572
|
+
"flex items-center gap-1 rounded-full px-2.5 py-1 text-xs font-medium ring-1 transition-colors",
|
|
3573
3573
|
parked ? (
|
|
3574
3574
|
// No fill, dashed edge, muted label: reads as "held, not acting on
|
|
3575
3575
|
// anything" against the solid applied chips beside it.
|
|
@@ -3596,7 +3596,7 @@ function Chip({
|
|
|
3596
3596
|
"span",
|
|
3597
3597
|
{
|
|
3598
3598
|
role: "tooltip",
|
|
3599
|
-
className: "pointer-events-none absolute bottom-full left-1/2 z-20 mb-1.5 -translate-x-1/2 whitespace-nowrap rounded-md bg-text-primary px-2 py-1 text-
|
|
3599
|
+
className: "pointer-events-none absolute bottom-full left-1/2 z-20 mb-1.5 -translate-x-1/2 whitespace-nowrap rounded-md bg-text-primary px-2 py-1 text-micro font-medium text-surface opacity-0 shadow-raised transition-opacity duration-150 group-hover:opacity-100",
|
|
3600
3600
|
children: parked ? "Not in this workspace" : groupLabel
|
|
3601
3601
|
}
|
|
3602
3602
|
)
|
|
@@ -3696,7 +3696,7 @@ function pageWindow(current, total) {
|
|
|
3696
3696
|
return out;
|
|
3697
3697
|
}
|
|
3698
3698
|
function Pager({ page, totalPages, onPage, disabled = false, label = "Pagination" }) {
|
|
3699
|
-
const btn = "flex h-8 min-w-8 items-center justify-center rounded-control px-2 text-
|
|
3699
|
+
const btn = "flex h-8 min-w-8 items-center justify-center rounded-control px-2 text-dense transition-colors disabled:pointer-events-none disabled:opacity-30";
|
|
3700
3700
|
return /* @__PURE__ */ jsxs32("nav", { "aria-label": label, className: "flex items-center gap-1", children: [
|
|
3701
3701
|
/* @__PURE__ */ jsx34(
|
|
3702
3702
|
"button",
|
|
@@ -3710,7 +3710,7 @@ function Pager({ page, totalPages, onPage, disabled = false, label = "Pagination
|
|
|
3710
3710
|
}
|
|
3711
3711
|
),
|
|
3712
3712
|
pageWindow(page, totalPages).map(
|
|
3713
|
-
(p) => typeof p === "string" ? /* @__PURE__ */ jsx34("span", { className: "px-1 text-
|
|
3713
|
+
(p) => typeof p === "string" ? /* @__PURE__ */ jsx34("span", { className: "px-1 text-dense text-text-tertiary", children: "\u2026" }, p) : /* @__PURE__ */ jsx34(
|
|
3714
3714
|
"button",
|
|
3715
3715
|
{
|
|
3716
3716
|
type: "button",
|
|
@@ -4027,7 +4027,7 @@ function MiniSelect({ value, onChange, options }) {
|
|
|
4027
4027
|
const opt = options.find((o) => String(o.value) === e.target.value);
|
|
4028
4028
|
if (opt) onChange(opt.value);
|
|
4029
4029
|
},
|
|
4030
|
-
className: "rounded-control border border-border-strong bg-input px-1.5 py-1 text-
|
|
4030
|
+
className: "rounded-control border border-border-strong bg-input px-1.5 py-1 text-xs text-text-primary focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-border-focus",
|
|
4031
4031
|
children: options.map((o) => /* @__PURE__ */ jsx39("option", { value: String(o.value), children: o.label }, String(o.value)))
|
|
4032
4032
|
}
|
|
4033
4033
|
);
|
|
@@ -4103,7 +4103,7 @@ function DateRangePicker({
|
|
|
4103
4103
|
children: [
|
|
4104
4104
|
/* @__PURE__ */ jsxs35("span", { className: "flex flex-col gap-1 text-left leading-none", children: [
|
|
4105
4105
|
/* @__PURE__ */ jsx39("span", { className: "text-control-caption text-text-tertiary", children: spanLabel2(value, end, formatDate, formatRange) }),
|
|
4106
|
-
/* @__PURE__ */ jsx39("span", { className: "text-
|
|
4106
|
+
/* @__PURE__ */ jsx39("span", { className: "text-xs font-medium text-text-primary", children: value })
|
|
4107
4107
|
] }),
|
|
4108
4108
|
/* @__PURE__ */ jsx39(ChevronDown9, { size: 14, "aria-hidden": "true", className: cn("shrink-0 text-text-secondary transition-transform", open && "rotate-180") })
|
|
4109
4109
|
]
|
|
@@ -4115,15 +4115,15 @@ function DateRangePicker({
|
|
|
4115
4115
|
{
|
|
4116
4116
|
type: "button",
|
|
4117
4117
|
onClick: () => showFooter ? setDraft(p) : commit(p),
|
|
4118
|
-
className: cn("block w-full px-3 py-2 text-left text-
|
|
4118
|
+
className: cn("block w-full px-3 py-2 text-left text-dense transition-colors hover:bg-subtle", (showFooter ? draft : value) === p ? "font-semibold text-brand-primaryAction" : "text-text-secondary"),
|
|
4119
4119
|
children: p
|
|
4120
4120
|
},
|
|
4121
4121
|
p
|
|
4122
4122
|
)),
|
|
4123
4123
|
/* @__PURE__ */ jsxs35("div", { className: "mt-1 border-t border-border-default px-3 pb-2 pt-2", children: [
|
|
4124
|
-
/* @__PURE__ */ jsx39("div", { className: "text-
|
|
4124
|
+
/* @__PURE__ */ jsx39("div", { className: "text-dense font-semibold text-text-primary", children: "Custom range" }),
|
|
4125
4125
|
/* @__PURE__ */ jsxs35("div", { className: "mt-2 flex flex-col gap-2", children: [
|
|
4126
|
-
/* @__PURE__ */ jsxs35("label", { className: "flex items-center justify-between gap-2 text-
|
|
4126
|
+
/* @__PURE__ */ jsxs35("label", { className: "flex items-center justify-between gap-2 text-xs text-text-secondary", children: [
|
|
4127
4127
|
"From",
|
|
4128
4128
|
/* @__PURE__ */ jsxs35("span", { className: "flex gap-1", children: [
|
|
4129
4129
|
granularity === "month" && /* @__PURE__ */ jsx39(MiniSelect, { value: fromMo, onChange: setFromMo, options: MONTH_ABBR.map((mm, i) => ({ label: mm, value: i })) }),
|
|
@@ -4131,7 +4131,7 @@ function DateRangePicker({
|
|
|
4131
4131
|
/* @__PURE__ */ jsx39(MiniSelect, { value: fromYr, onChange: setFromYr, options: yearOptions.map((y) => ({ label: String(y), value: y })) })
|
|
4132
4132
|
] })
|
|
4133
4133
|
] }),
|
|
4134
|
-
/* @__PURE__ */ jsxs35("label", { className: "flex items-center justify-between gap-2 text-
|
|
4134
|
+
/* @__PURE__ */ jsxs35("label", { className: "flex items-center justify-between gap-2 text-xs text-text-secondary", children: [
|
|
4135
4135
|
"To",
|
|
4136
4136
|
/* @__PURE__ */ jsxs35("span", { className: "flex gap-1", children: [
|
|
4137
4137
|
granularity === "month" && /* @__PURE__ */ jsx39(MiniSelect, { value: toMo, onChange: setToMo, options: MONTH_ABBR.map((mm, i) => ({ label: mm, value: i })) }),
|
|
@@ -4145,7 +4145,7 @@ function DateRangePicker({
|
|
|
4145
4145
|
type: "button",
|
|
4146
4146
|
onClick: applyCustom,
|
|
4147
4147
|
disabled: !valid,
|
|
4148
|
-
className: "self-start text-
|
|
4148
|
+
className: "self-start text-dense font-semibold text-brand-primaryAction transition-opacity hover:opacity-80 disabled:cursor-not-allowed disabled:opacity-40",
|
|
4149
4149
|
children: showFooter ? "Use custom range" : "Apply"
|
|
4150
4150
|
}
|
|
4151
4151
|
)
|
|
@@ -4301,7 +4301,7 @@ function MultiSelectFilter({
|
|
|
4301
4301
|
value: q,
|
|
4302
4302
|
onChange: (e) => setQ(e.target.value),
|
|
4303
4303
|
placeholder: searchPlaceholder ?? `Search ${caption.toLowerCase()}`,
|
|
4304
|
-
className: "h-full flex-1 bg-transparent text-
|
|
4304
|
+
className: "h-full flex-1 bg-transparent text-dense outline-hidden placeholder:text-text-tertiary"
|
|
4305
4305
|
}
|
|
4306
4306
|
),
|
|
4307
4307
|
q && /* @__PURE__ */ jsx40("button", { type: "button", onClick: () => setQ(""), "aria-label": "Clear search", className: "text-text-tertiary hover:text-text-primary", children: /* @__PURE__ */ jsx40(X5, { size: 13 }) })
|
|
@@ -4318,7 +4318,7 @@ function MultiSelectFilter({
|
|
|
4318
4318
|
className: "flex w-full items-center gap-2.5 rounded-control px-2 py-2 text-left transition-colors hover:bg-subtle",
|
|
4319
4319
|
children: [
|
|
4320
4320
|
/* @__PURE__ */ jsx40(CheckBoxBox, { checked: state === "all", indeterminate: state === "some" }),
|
|
4321
|
-
/* @__PURE__ */ jsx40("span", { className: cn("flex-1 text-
|
|
4321
|
+
/* @__PURE__ */ jsx40("span", { className: cn("flex-1 text-sm text-text-primary", !plainParent && "font-semibold"), children: labelled(g.id, g.label) }),
|
|
4322
4322
|
counts && /* @__PURE__ */ jsx40(OptionCount, { n: countFor(g.id) })
|
|
4323
4323
|
]
|
|
4324
4324
|
}
|
|
@@ -4333,7 +4333,7 @@ function MultiSelectFilter({
|
|
|
4333
4333
|
className: "flex w-full items-center gap-2.5 rounded-control py-2 pl-9 pr-2 text-left transition-colors hover:bg-subtle",
|
|
4334
4334
|
children: [
|
|
4335
4335
|
/* @__PURE__ */ jsx40(CheckBoxBox, { checked }),
|
|
4336
|
-
/* @__PURE__ */ jsx40("span", { className: "flex-1 text-
|
|
4336
|
+
/* @__PURE__ */ jsx40("span", { className: "flex-1 text-sm text-text-primary", children: labelled(c.id, c.label) }),
|
|
4337
4337
|
counts && /* @__PURE__ */ jsx40(OptionCount, { n: countFor(c.id) })
|
|
4338
4338
|
]
|
|
4339
4339
|
},
|
|
@@ -4351,14 +4351,14 @@ function MultiSelectFilter({
|
|
|
4351
4351
|
className: "flex w-full items-center gap-2.5 rounded-control px-2 py-2 text-left transition-colors hover:bg-subtle",
|
|
4352
4352
|
children: [
|
|
4353
4353
|
/* @__PURE__ */ jsx40(CheckBoxBox, { checked }),
|
|
4354
|
-
/* @__PURE__ */ jsx40("span", { className: "flex-1 text-
|
|
4354
|
+
/* @__PURE__ */ jsx40("span", { className: "flex-1 text-sm text-text-primary", children: labelled(o.id, o.label) }),
|
|
4355
4355
|
counts && /* @__PURE__ */ jsx40(OptionCount, { n: countFor(o.id) })
|
|
4356
4356
|
]
|
|
4357
4357
|
},
|
|
4358
4358
|
o.id
|
|
4359
4359
|
);
|
|
4360
4360
|
}),
|
|
4361
|
-
(groups && !visibleGroups.length || !groups && !items.length) && /* @__PURE__ */ jsx40("div", { className: "py-6 text-center text-
|
|
4361
|
+
(groups && !visibleGroups.length || !groups && !items.length) && /* @__PURE__ */ jsx40("div", { className: "py-6 text-center text-dense text-text-tertiary", children: "No matches." })
|
|
4362
4362
|
] }),
|
|
4363
4363
|
note && /* @__PURE__ */ jsx40("p", { className: "border-t border-border-default px-3 py-2 text-xs text-text-tertiary", children: note }),
|
|
4364
4364
|
showFooter ? /* @__PURE__ */ jsx40(FilterDropdownFooter, { onClear: () => setDraft(clearValue), onApply: apply }) : min === 0 && draft.length > 0 && /* @__PURE__ */ jsx40("div", { className: "border-t border-border-default p-2", children: /* @__PURE__ */ jsxs36(
|
|
@@ -4366,7 +4366,7 @@ function MultiSelectFilter({
|
|
|
4366
4366
|
{
|
|
4367
4367
|
type: "button",
|
|
4368
4368
|
onClick: () => setDraft([]),
|
|
4369
|
-
className: "text-
|
|
4369
|
+
className: "text-xs font-medium text-text-link hover:underline",
|
|
4370
4370
|
children: [
|
|
4371
4371
|
"Clear ",
|
|
4372
4372
|
caption.toLowerCase()
|
|
@@ -4379,7 +4379,7 @@ function MultiSelectFilter({
|
|
|
4379
4379
|
] });
|
|
4380
4380
|
}
|
|
4381
4381
|
function OptionCount({ n }) {
|
|
4382
|
-
return /* @__PURE__ */ jsxs36("span", { className: "shrink-0 text-
|
|
4382
|
+
return /* @__PURE__ */ jsxs36("span", { className: "shrink-0 text-xs tabular-nums text-text-tertiary", children: [
|
|
4383
4383
|
"(",
|
|
4384
4384
|
n.toLocaleString(),
|
|
4385
4385
|
")"
|