@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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.44.0",
2
+ "version": "0.45.0",
3
3
  "components": [
4
4
  "AISpark",
5
5
  "AdvertiserNoResults",
package/dist/index.cjs CHANGED
@@ -174,7 +174,7 @@ function InfoTip({ text, size = 11, label = "More information", trigger = "click
174
174
  onMouseEnter: trigger === "hover" ? cancelClose : void 0,
175
175
  onMouseLeave: trigger === "hover" ? closeSoon : void 0,
176
176
  style: { position: "fixed", top: pos.top, left: pos.left, width: pos.width },
177
- className: "z-[90] rounded-control border border-border-default bg-surface px-3 py-2 text-[12px] font-normal not-italic normal-case leading-relaxed tracking-normal text-text-secondary shadow-overlay",
177
+ 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",
178
178
  children: text
179
179
  }
180
180
  ),
@@ -193,7 +193,7 @@ var import_jsx_runtime2 = require("react/jsx-runtime");
193
193
  function AdvertiserSearchPrompt({ label = "an advertiser name" }) {
194
194
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: "flex flex-col items-center gap-2 px-4 py-8 text-center", children: [
195
195
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { className: "flex h-9 w-9 items-center justify-center rounded-full bg-subtle text-text-tertiary", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_lucide_react2.Search, { size: 16, "aria-hidden": "true" }) }),
196
- /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("p", { className: "text-[12px] leading-snug text-text-tertiary", children: [
196
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("p", { className: "text-xs leading-snug text-text-tertiary", children: [
197
197
  "Start typing ",
198
198
  label,
199
199
  " to filter."
@@ -228,7 +228,7 @@ function chipTriggerClass(_variant = "box") {
228
228
  function ChipContent({ caption, value, icon }) {
229
229
  const stack = /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("span", { className: "flex flex-col gap-1 text-left leading-none", children: [
230
230
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "text-control-caption uppercase tracking-wide text-text-tertiary", children: caption }),
231
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "text-[12px] font-medium text-text-primary", children: value })
231
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "text-xs font-medium text-text-primary", children: value })
232
232
  ] });
233
233
  if (icon) {
234
234
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("span", { className: "flex items-center gap-2", children: [
@@ -401,7 +401,7 @@ function AdvertiserQuickFilter({
401
401
  placeholder: searchPlaceholder,
402
402
  "aria-label": searchPlaceholder,
403
403
  "data-testid": testIdPrefix && `${testIdPrefix}-search`,
404
- className: "h-full min-w-0 flex-1 bg-transparent text-[13px] outline-hidden placeholder:text-text-tertiary"
404
+ className: "h-full min-w-0 flex-1 bg-transparent text-dense outline-hidden placeholder:text-text-tertiary"
405
405
  }
406
406
  ),
407
407
  q && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
@@ -424,7 +424,7 @@ function AdvertiserQuickFilter({
424
424
  "data-testid": testIdPrefix && `${testIdPrefix}-selected-toggle`,
425
425
  onClick: () => setSelectedOpen((v) => !v),
426
426
  "aria-expanded": selectedOpen,
427
- className: "flex w-full items-center gap-1.5 rounded-control px-2 py-1 text-left text-[11px] font-semibold uppercase tracking-wide text-text-tertiary transition-colors hover:text-text-primary",
427
+ 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",
428
428
  children: [
429
429
  /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
430
430
  import_lucide_react3.ChevronDown,
@@ -456,12 +456,12 @@ function AdvertiserQuickFilter({
456
456
  remaining > 0 ? `, showing ${results.length}` : ""
457
457
  ] }),
458
458
  !ql && !prepopulate ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(AdvertiserSearchPrompt, { label: promptLabel }) : !ql && results.length === 0 ? null : results.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "flex flex-col items-center gap-1.5 px-4 py-8 text-center", children: [
459
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("p", { className: "text-[13px] font-medium text-text-primary", children: [
459
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("p", { className: "text-dense font-medium text-text-primary", children: [
460
460
  "No results found for \u201C",
461
461
  q.trim(),
462
462
  "\u201D"
463
463
  ] }),
464
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { className: "text-[12px] leading-snug text-text-tertiary", children: noResultsHint })
464
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { className: "text-xs leading-snug text-text-tertiary", children: noResultsHint })
465
465
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { ref: resultsRef, children: [
466
466
  results.length > SELECT_ALL_THRESHOLD && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
467
467
  "button",
@@ -469,7 +469,7 @@ function AdvertiserQuickFilter({
469
469
  type: "button",
470
470
  "data-testid": testIdPrefix && `${testIdPrefix}-select-all-visible`,
471
471
  onClick: toggleAllVisible,
472
- className: "flex w-full items-center gap-2 rounded-control px-2 py-1.5 text-left text-[12px] font-semibold text-text-link transition-colors hover:bg-subtle",
472
+ 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",
473
473
  children: [
474
474
  /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_lucide_react3.ListChecks, { size: 14, "aria-hidden": "true" }),
475
475
  allVisibleSelected ? `Deselect ${results.length} visible` : `Select all ${results.length} visible`
@@ -511,7 +511,7 @@ function AdvertiserQuickFilter({
511
511
  "data-testid": testIdPrefix && `${testIdPrefix}-clear-all`,
512
512
  onClick: () => setDraft(clearValue),
513
513
  disabled: draft.length === 0,
514
- className: "text-[13px] font-medium text-text-secondary transition-colors hover:text-text-primary disabled:opacity-40",
514
+ className: "text-dense font-medium text-text-secondary transition-colors hover:text-text-primary disabled:opacity-40",
515
515
  children: "Clear all"
516
516
  }
517
517
  ),
@@ -521,12 +521,12 @@ function AdvertiserQuickFilter({
521
521
  type: "button",
522
522
  "data-testid": testIdPrefix && `${testIdPrefix}-apply`,
523
523
  onClick: apply,
524
- className: "rounded-control bg-brand-primaryAction px-5 py-2 text-[13px] font-semibold text-brand-onprimary transition hover:brightness-110",
524
+ className: "rounded-control bg-brand-primaryAction px-5 py-2 text-dense font-semibold text-brand-onprimary transition hover:brightness-110",
525
525
  children: "Apply"
526
526
  }
527
527
  )
528
528
  ] }) : draft.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "flex items-center justify-between border-t border-border-default p-2", children: [
529
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("span", { className: "text-[11px] text-text-tertiary", children: [
529
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("span", { className: "text-micro text-text-tertiary", children: [
530
530
  draft.length,
531
531
  " selected"
532
532
  ] }),
@@ -535,7 +535,7 @@ function AdvertiserQuickFilter({
535
535
  {
536
536
  type: "button",
537
537
  onClick: () => setDraft([]),
538
- className: "text-[12px] font-medium text-text-link hover:underline",
538
+ className: "text-xs font-medium text-text-link hover:underline",
539
539
  children: clearLabel
540
540
  }
541
541
  )
@@ -577,7 +577,7 @@ function OptionRow({
577
577
  children: checked && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_lucide_react3.Check, { size: 13, strokeWidth: 3 })
578
578
  }
579
579
  ),
580
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "flex-1 text-[14px] text-text-primary", children: label })
580
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "flex-1 text-sm text-text-primary", children: label })
581
581
  ]
582
582
  }
583
583
  );
@@ -1034,8 +1034,8 @@ function DateRangeFilter({
1034
1034
  children: [
1035
1035
  icon && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "shrink-0 text-text-tertiary", children: icon }),
1036
1036
  /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "flex flex-col gap-1 text-left leading-none", children: [
1037
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: showDates && displayDatesLine ? "text-[11px] text-text-tertiary" : "text-control-caption uppercase tracking-wide text-text-tertiary", children: showDates && displayDatesLine ? displayDatesLine : caption }),
1038
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "text-[12px] font-medium text-text-primary", children: [
1037
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: showDates && displayDatesLine ? "text-micro text-text-tertiary" : "text-control-caption uppercase tracking-wide text-text-tertiary", children: showDates && displayDatesLine ? displayDatesLine : caption }),
1038
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "text-xs font-medium text-text-primary", children: [
1039
1039
  displayValue,
1040
1040
  compareLabel(appliedCmp) && /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "font-normal text-text-secondary", children: [
1041
1041
  " \xB7 vs ",
@@ -1062,7 +1062,7 @@ function DateRangeFilter({
1062
1062
  type: "button",
1063
1063
  "data-testid": testIdPrefix && `${testIdPrefix}-option-${slug2(s)}`,
1064
1064
  onClick: () => choosePreset(s),
1065
- className: `rounded-control px-3 py-2 text-left text-[13px] font-medium transition-colors ${shortcut === s ? "bg-subtle text-text-primary" : "text-text-secondary hover:bg-subtle hover:text-text-primary"}`,
1065
+ 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"}`,
1066
1066
  children: s
1067
1067
  },
1068
1068
  s
@@ -1088,7 +1088,7 @@ function DateRangeFilter({
1088
1088
  offset === 1 ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(NavBtn, { onClick: () => setLeftMonth(addMonths(leftMonth, 1)), "aria-label": "Next month", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_lucide_react6.ChevronRight, { size: 16 }) }) : /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "h-7 w-7" })
1089
1089
  ] }),
1090
1090
  /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "grid grid-cols-7", children: [
1091
- WEEKDAYS.map((w) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "flex h-8 items-center justify-center text-[12px] font-semibold text-text-secondary", children: w }, w)),
1091
+ WEEKDAYS.map((w) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "flex h-8 items-center justify-center text-xs font-semibold text-text-secondary", children: w }, w)),
1092
1092
  grid.map((d, i) => {
1093
1093
  const inMonth = d.getMonth() === m.getMonth();
1094
1094
  const hasRange = !!(start && end);
@@ -1108,7 +1108,7 @@ function DateRangeFilter({
1108
1108
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1109
1109
  "span",
1110
1110
  {
1111
- className: `relative z-10 flex h-8 w-8 items-center justify-center rounded-full text-[13px] tabular-nums ${endpoint ? "bg-brand-primaryAction font-semibold text-brand-onprimary" : inMonth ? "text-text-primary hover:bg-subtle" : "text-text-tertiary"}`,
1111
+ 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"}`,
1112
1112
  children: d.getDate()
1113
1113
  }
1114
1114
  )
@@ -1148,8 +1148,8 @@ function DateRangeFilter({
1148
1148
  ] }),
1149
1149
  /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "mt-4 flex items-center justify-end gap-2", children: [
1150
1150
  monthly && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "mr-auto text-xs text-text-tertiary", children: "Data is monthly, so ranges cover whole months." }),
1151
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("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-[13px] font-semibold text-text-primary transition-colors hover:bg-subtle", children: "Cancel" }),
1152
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("button", { type: "button", "data-testid": testIdPrefix && `${testIdPrefix}-apply`, onClick: apply, disabled: !canApply, className: "rounded-control bg-brand-primaryAction px-5 py-2 text-[13px] font-semibold text-brand-onprimary transition-[filter] hover:brightness-110 disabled:cursor-not-allowed disabled:opacity-50", children: "Apply" })
1151
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("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" }),
1152
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("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" })
1153
1153
  ] })
1154
1154
  ] })
1155
1155
  ]
@@ -1159,8 +1159,8 @@ function DateRangeFilter({
1159
1159
  }
1160
1160
  function Field({ label, value }) {
1161
1161
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex flex-col gap-1.5", children: [
1162
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "text-[12px] font-medium text-text-secondary", children: label }),
1163
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "flex h-10 min-w-[140px] items-center rounded-control border border-border-strong bg-input px-3 text-[14px] font-medium text-text-primary", children: value })
1162
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "text-xs font-medium text-text-secondary", children: label }),
1163
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("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 })
1164
1164
  ] });
1165
1165
  }
1166
1166
  function NavBtn({ children, onClick, ...rest }) {
@@ -1458,7 +1458,7 @@ function SearchBar({
1458
1458
  onClick: () => setOpen((o) => !o),
1459
1459
  "aria-expanded": open,
1460
1460
  "aria-haspopup": "dialog",
1461
- className: "flex h-full items-center gap-1 px-2.5 text-[13px] font-medium text-text-primary transition-colors hover:bg-subtle",
1461
+ className: "flex h-full items-center gap-1 px-2.5 text-dense font-medium text-text-primary transition-colors hover:bg-subtle",
1462
1462
  children: [
1463
1463
  matchValue.mode === "anyWord" ? `${MODE_LABEL.anyWord} (${matchValue.wordJoin})` : MODE_LABEL[matchValue.mode],
1464
1464
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
@@ -1591,7 +1591,7 @@ function ModeRow({
1591
1591
  e.stopPropagation();
1592
1592
  onSelect();
1593
1593
  },
1594
- className: "rounded-control text-left text-[14px] font-semibold text-text-primary focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-border-focus",
1594
+ 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",
1595
1595
  children: title
1596
1596
  }
1597
1597
  ),
@@ -1624,7 +1624,7 @@ function RadioOption({
1624
1624
  },
1625
1625
  role: "radio",
1626
1626
  "aria-checked": checked,
1627
- className: "flex items-center gap-1.5 text-[13px] font-medium text-text-primary",
1627
+ className: "flex items-center gap-1.5 text-dense font-medium text-text-primary",
1628
1628
  children: [
1629
1629
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1630
1630
  "span",
@@ -1834,7 +1834,7 @@ function Option({
1834
1834
  "aria-pressed": selected,
1835
1835
  onClick,
1836
1836
  className: cx3(
1837
- "flex items-center gap-2 rounded-control px-2.5 py-2 text-left text-[13px] transition-colors hover:bg-subtle",
1837
+ "flex items-center gap-2 rounded-control px-2.5 py-2 text-left text-dense transition-colors hover:bg-subtle",
1838
1838
  hint ? "flex-1" : "w-full",
1839
1839
  selected ? "font-semibold text-text-primary" : "text-text-secondary"
1840
1840
  ),
@@ -2027,7 +2027,7 @@ function SelectFilter({
2027
2027
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2028
2028
  "span",
2029
2029
  {
2030
- className: cx4("flex-1 text-[14px]", selected ? "font-semibold text-text-primary" : "text-text-primary"),
2030
+ className: cx4("flex-1 text-sm", selected ? "font-semibold text-text-primary" : "text-text-primary"),
2031
2031
  children: o
2032
2032
  }
2033
2033
  )
@@ -2080,8 +2080,8 @@ var NO_RESULTS_BODY = "Your filters may be too narrow, conflict with each other,
2080
2080
  function noResultsBody(workspaceName) {
2081
2081
  return workspaceName ? `Nothing in the \u201C${workspaceName}\u201D workspace matches. ${NO_RESULTS_BODY}` : NO_RESULTS_BODY;
2082
2082
  }
2083
- var PRIMARY_ACTION_CLASS = "rounded-control bg-brand-primaryAction px-3.5 py-2 text-[13px] font-semibold text-brand-onprimary transition-colors hover:opacity-90";
2084
- var QUIET_ACTION_CLASS = "rounded-control text-[13px] font-medium text-text-link transition-colors hover:underline focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-border-focus";
2083
+ 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";
2084
+ 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";
2085
2085
  function NoResultsEmptyState({
2086
2086
  title = NO_RESULTS_TITLE,
2087
2087
  body,
@@ -2099,7 +2099,7 @@ function NoResultsEmptyState({
2099
2099
  return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "flex flex-col items-center justify-center gap-3 text-center", "data-testid": testIdPrefix, children: [
2100
2100
  /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "flex h-11 w-11 items-center justify-center rounded-full bg-subtle text-text-tertiary", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react11.FilterX, { size: 20, "aria-hidden": "true" }) }),
2101
2101
  /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h2", { className: "text-base font-semibold text-text-primary", children: title }),
2102
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { className: "max-w-[420px] text-[13px] leading-relaxed text-text-secondary", children: bodyText }),
2102
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { className: "max-w-[420px] text-dense leading-relaxed text-text-secondary", children: bodyText }),
2103
2103
  hasActions && /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "mt-1 flex flex-col items-center gap-3", children: [
2104
2104
  showClear && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
2105
2105
  "button",
@@ -2664,12 +2664,12 @@ function AdvertiserNoResults({
2664
2664
  hint = "Try checking your spelling or searching for a broader brand name."
2665
2665
  }) {
2666
2666
  return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "flex flex-col items-center gap-1.5 px-4 py-8 text-center", children: [
2667
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("p", { className: "text-[13px] font-medium text-text-primary", children: [
2667
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("p", { className: "text-dense font-medium text-text-primary", children: [
2668
2668
  "No results found for \u201C",
2669
2669
  query,
2670
2670
  "\u201D"
2671
2671
  ] }),
2672
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("p", { className: "text-[12px] leading-snug text-text-tertiary", children: hint })
2672
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("p", { className: "text-xs leading-snug text-text-tertiary", children: hint })
2673
2673
  ] });
2674
2674
  }
2675
2675
 
@@ -2683,7 +2683,7 @@ function SelectAllVisible({ count, allSelected, onToggle, testIdPrefix }) {
2683
2683
  type: "button",
2684
2684
  "data-testid": testIdPrefix && `${testIdPrefix}-select-all-visible`,
2685
2685
  onClick: onToggle,
2686
- className: "flex w-full items-center gap-2 rounded-control px-2 py-1.5 text-left text-[12px] font-semibold text-text-link transition-colors hover:bg-subtle",
2686
+ 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",
2687
2687
  children: [
2688
2688
  /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_lucide_react13.ListChecks, { size: 14, "aria-hidden": "true" }),
2689
2689
  allSelected ? `Deselect ${count} visible` : `Select all ${count} visible`
@@ -2708,7 +2708,7 @@ function SelectedSection({ count, open, onToggle, children, testIdPrefix }) {
2708
2708
  "data-testid": testIdPrefix && `${testIdPrefix}-selected-toggle`,
2709
2709
  onClick: onToggle,
2710
2710
  "aria-expanded": open,
2711
- className: "flex w-full items-center gap-1.5 rounded-control px-2 py-1 text-left text-[11px] font-semibold uppercase tracking-wide text-text-tertiary transition-colors hover:text-text-primary",
2711
+ 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",
2712
2712
  children: [
2713
2713
  /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react14.ChevronDown, { size: 13, "aria-hidden": "true", className: cx7("transition-transform", !open && "-rotate-90") }),
2714
2714
  "Selected (",
@@ -3342,7 +3342,7 @@ function Monogram({ name, size = 28 }) {
3342
3342
  );
3343
3343
  }
3344
3344
  function BreakdownTag({ children }) {
3345
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "inline-flex items-center whitespace-nowrap rounded-full bg-subtle px-2 py-0.5 text-[11px] font-medium text-text-secondary", children });
3345
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("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 });
3346
3346
  }
3347
3347
  function DelayedTip({ label, children }) {
3348
3348
  return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("span", { className: "group/dt relative inline-flex", tabIndex: 0, "aria-label": label, children: [
@@ -3351,7 +3351,7 @@ function DelayedTip({ label, children }) {
3351
3351
  "span",
3352
3352
  {
3353
3353
  role: "tooltip",
3354
- 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-[11px] 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",
3354
+ 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",
3355
3355
  children: label
3356
3356
  }
3357
3357
  )
@@ -3364,9 +3364,9 @@ function MetricListHeader({ className }) {
3364
3364
  return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: cx9("flex items-baseline gap-2 pb-2", className), children: [
3365
3365
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "flex-1" }),
3366
3366
  /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("span", { className: "flex shrink-0 items-center gap-2 pr-1.5", children: [
3367
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-right text-[11px] font-medium text-text-tertiary", style: { width: COL_CURRENT }, children: "Current" }),
3368
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(DelayedTip, { label: "Spend during the same time period one year ago.", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-right text-[11px] font-medium text-text-tertiary", style: { width: COL_PREVIOUS }, children: "Previous" }) }),
3369
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(DelayedTip, { label: "Percent change from this time period vs. the same time one year ago.", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-right text-[11px] font-medium text-text-tertiary", style: { width: COL_YOY }, children: "YoY" }) })
3367
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-right text-micro font-medium text-text-tertiary", style: { width: COL_CURRENT }, children: "Current" }),
3368
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(DelayedTip, { label: "Spend during the same time period one year ago.", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-right text-micro font-medium text-text-tertiary", style: { width: COL_PREVIOUS }, children: "Previous" }) }),
3369
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(DelayedTip, { label: "Percent change from this time period vs. the same time one year ago.", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-right text-micro font-medium text-text-tertiary", style: { width: COL_YOY }, children: "YoY" }) })
3370
3370
  ] })
3371
3371
  ] });
3372
3372
  }
@@ -3374,9 +3374,9 @@ function MetricCells({ spendN, yoy }) {
3374
3374
  const prior = priorYearAmt(spendN, yoy);
3375
3375
  const up = yoy !== "NEW" && yoy >= 0;
3376
3376
  return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("span", { className: "flex shrink-0 items-center gap-2 pr-1.5", children: [
3377
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-right text-[12px] font-bold tabular-nums text-text-primary", style: { width: COL_CURRENT }, children: fmtM(spendN) }),
3378
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-right text-[12px] font-normal tabular-nums text-text-primary", style: { width: COL_PREVIOUS }, children: prior ?? "\u2014" }),
3379
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "flex justify-end", style: { width: COL_YOY }, children: yoy === "NEW" ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "rounded-full bg-status-warning/15 px-1.5 text-badge font-semibold text-text-warning", children: "NEW" }) : /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("span", { className: cx9("text-right text-[12px] font-semibold tabular-nums", up ? "text-text-success" : "text-text-danger"), children: [
3377
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-right text-xs font-bold tabular-nums text-text-primary", style: { width: COL_CURRENT }, children: fmtM(spendN) }),
3378
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-right text-xs font-normal tabular-nums text-text-primary", style: { width: COL_PREVIOUS }, children: prior ?? "\u2014" }),
3379
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "flex justify-end", style: { width: COL_YOY }, children: yoy === "NEW" ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "rounded-full bg-status-warning/15 px-1.5 text-badge font-semibold text-text-warning", children: "NEW" }) : /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("span", { className: cx9("text-right text-xs font-semibold tabular-nums", up ? "text-text-success" : "text-text-danger"), children: [
3380
3380
  up ? "+" : "\u2212",
3381
3381
  Math.abs(yoy),
3382
3382
  "%"
@@ -3395,7 +3395,7 @@ function PublisherBreakdownList({ rows, defaultVisibleCount = 10, padded = true,
3395
3395
  renderLogo ? renderLogo(p) : /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Monogram, { name: p.brand, size: 28 }),
3396
3396
  /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "min-w-0", children: [
3397
3397
  /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex flex-wrap items-center gap-1.5", children: [
3398
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-[14px] font-semibold text-text-primary", children: p.brand }),
3398
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-sm font-semibold text-text-primary", children: p.brand }),
3399
3399
  p.tags.map((t) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(BreakdownTag, { children: t }, t))
3400
3400
  ] }),
3401
3401
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "truncate text-[11.5px] text-text-tertiary", children: p.owner })
@@ -3404,7 +3404,7 @@ function PublisherBreakdownList({ rows, defaultVisibleCount = 10, padded = true,
3404
3404
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(MetricCells, { spendN: p.spendN, yoy: p.yoy })
3405
3405
  ] }, p.brand))
3406
3406
  ] }),
3407
- rows.length > defaultVisibleCount && (viewAllHref ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: cx9("border-t border-border-default py-3", rowPad), children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("a", { href: viewAllHref, className: "text-[12px] font-semibold text-text-link hover:underline", children: "See all publishers" }) }) : /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: cx9("flex items-center gap-2 border-t border-border-default py-3 text-[12px] text-text-tertiary", rowPad), children: [
3407
+ rows.length > defaultVisibleCount && (viewAllHref ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: cx9("border-t border-border-default py-3", rowPad), children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("a", { href: viewAllHref, className: "text-xs font-semibold text-text-link hover:underline", children: "See all publishers" }) }) : /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: cx9("flex items-center gap-2 border-t border-border-default py-3 text-xs text-text-tertiary", rowPad), children: [
3408
3408
  /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("span", { children: [
3409
3409
  "Showing ",
3410
3410
  visible.length,
@@ -3598,9 +3598,9 @@ function NameListModal({
3598
3598
  onKeyDown: trapTab,
3599
3599
  className: "w-full max-w-110 rounded-card border border-border-default bg-surface p-5 shadow-overlay",
3600
3600
  children: [
3601
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("h2", { id: titleId, className: "text-[16px] font-semibold text-text-primary", children: title }),
3601
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("h2", { id: titleId, className: "text-base font-semibold text-text-primary", children: title }),
3602
3602
  /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "mt-4 flex flex-col gap-1.5", children: [
3603
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("label", { htmlFor: fieldId, className: "text-[12px] font-medium text-text-secondary", children: fieldLabel }),
3603
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("label", { htmlFor: fieldId, className: "text-xs font-medium text-text-secondary", children: fieldLabel }),
3604
3604
  /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3605
3605
  "input",
3606
3606
  {
@@ -3613,7 +3613,7 @@ function NameListModal({
3613
3613
  }
3614
3614
  )
3615
3615
  ] }),
3616
- options && options.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "mt-4 flex flex-col gap-2.5", children: options.map((o) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("label", { className: "flex cursor-pointer items-center gap-2.5 text-[13px] text-text-primary", children: [
3616
+ options && options.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "mt-4 flex flex-col gap-2.5", children: options.map((o) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("label", { className: "flex cursor-pointer items-center gap-2.5 text-dense text-text-primary", children: [
3617
3617
  /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(CheckBox, { checked: !!checked[o.key], onChange: () => toggle(o.key), ariaLabel: o.label }),
3618
3618
  o.label
3619
3619
  ] }, o.key)) }),
@@ -3646,7 +3646,7 @@ function FilterChipBar({ chips, onRemove, onClearAll, parkedKeys }) {
3646
3646
  },
3647
3647
  c.key
3648
3648
  )),
3649
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("button", { type: "button", onClick: onClearAll, className: "ml-1 text-[12px] font-medium text-text-link hover:underline", children: "Clear all" })
3649
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("button", { type: "button", onClick: onClearAll, className: "ml-1 text-xs font-medium text-text-link hover:underline", children: "Clear all" })
3650
3650
  ] });
3651
3651
  }
3652
3652
  function Chip({
@@ -3660,7 +3660,7 @@ function Chip({
3660
3660
  "span",
3661
3661
  {
3662
3662
  className: cn(
3663
- "flex items-center gap-1 rounded-full px-2.5 py-1 text-[12px] font-medium ring-1 transition-colors",
3663
+ "flex items-center gap-1 rounded-full px-2.5 py-1 text-xs font-medium ring-1 transition-colors",
3664
3664
  parked ? (
3665
3665
  // No fill, dashed edge, muted label: reads as "held, not acting on
3666
3666
  // anything" against the solid applied chips beside it.
@@ -3687,7 +3687,7 @@ function Chip({
3687
3687
  "span",
3688
3688
  {
3689
3689
  role: "tooltip",
3690
- 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-[11px] font-medium text-surface opacity-0 shadow-raised transition-opacity duration-150 group-hover:opacity-100",
3690
+ 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",
3691
3691
  children: parked ? "Not in this workspace" : groupLabel
3692
3692
  }
3693
3693
  )
@@ -3787,7 +3787,7 @@ function pageWindow(current, total) {
3787
3787
  return out;
3788
3788
  }
3789
3789
  function Pager({ page, totalPages, onPage, disabled = false, label = "Pagination" }) {
3790
- const btn = "flex h-8 min-w-8 items-center justify-center rounded-control px-2 text-[13px] transition-colors disabled:pointer-events-none disabled:opacity-30";
3790
+ 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";
3791
3791
  return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("nav", { "aria-label": label, className: "flex items-center gap-1", children: [
3792
3792
  /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3793
3793
  "button",
@@ -3801,7 +3801,7 @@ function Pager({ page, totalPages, onPage, disabled = false, label = "Pagination
3801
3801
  }
3802
3802
  ),
3803
3803
  pageWindow(page, totalPages).map(
3804
- (p) => typeof p === "string" ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "px-1 text-[13px] text-text-tertiary", children: "\u2026" }, p) : /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3804
+ (p) => typeof p === "string" ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "px-1 text-dense text-text-tertiary", children: "\u2026" }, p) : /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3805
3805
  "button",
3806
3806
  {
3807
3807
  type: "button",
@@ -4118,7 +4118,7 @@ function MiniSelect({ value, onChange, options }) {
4118
4118
  const opt = options.find((o) => String(o.value) === e.target.value);
4119
4119
  if (opt) onChange(opt.value);
4120
4120
  },
4121
- className: "rounded-control border border-border-strong bg-input px-1.5 py-1 text-[12px] text-text-primary focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-border-focus",
4121
+ 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",
4122
4122
  children: options.map((o) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("option", { value: String(o.value), children: o.label }, String(o.value)))
4123
4123
  }
4124
4124
  );
@@ -4194,7 +4194,7 @@ function DateRangePicker({
4194
4194
  children: [
4195
4195
  /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("span", { className: "flex flex-col gap-1 text-left leading-none", children: [
4196
4196
  /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "text-control-caption text-text-tertiary", children: spanLabel2(value, end, formatDate, formatRange) }),
4197
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "text-[12px] font-medium text-text-primary", children: value })
4197
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "text-xs font-medium text-text-primary", children: value })
4198
4198
  ] }),
4199
4199
  /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react22.ChevronDown, { size: 14, "aria-hidden": "true", className: cn("shrink-0 text-text-secondary transition-transform", open && "rotate-180") })
4200
4200
  ]
@@ -4206,15 +4206,15 @@ function DateRangePicker({
4206
4206
  {
4207
4207
  type: "button",
4208
4208
  onClick: () => showFooter ? setDraft(p) : commit(p),
4209
- className: cn("block w-full px-3 py-2 text-left text-[13px] transition-colors hover:bg-subtle", (showFooter ? draft : value) === p ? "font-semibold text-brand-primaryAction" : "text-text-secondary"),
4209
+ 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"),
4210
4210
  children: p
4211
4211
  },
4212
4212
  p
4213
4213
  )),
4214
4214
  /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "mt-1 border-t border-border-default px-3 pb-2 pt-2", children: [
4215
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "text-[13px] font-semibold text-text-primary", children: "Custom range" }),
4215
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "text-dense font-semibold text-text-primary", children: "Custom range" }),
4216
4216
  /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "mt-2 flex flex-col gap-2", children: [
4217
- /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("label", { className: "flex items-center justify-between gap-2 text-[12px] text-text-secondary", children: [
4217
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("label", { className: "flex items-center justify-between gap-2 text-xs text-text-secondary", children: [
4218
4218
  "From",
4219
4219
  /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("span", { className: "flex gap-1", children: [
4220
4220
  granularity === "month" && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(MiniSelect, { value: fromMo, onChange: setFromMo, options: MONTH_ABBR.map((mm, i) => ({ label: mm, value: i })) }),
@@ -4222,7 +4222,7 @@ function DateRangePicker({
4222
4222
  /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(MiniSelect, { value: fromYr, onChange: setFromYr, options: yearOptions.map((y) => ({ label: String(y), value: y })) })
4223
4223
  ] })
4224
4224
  ] }),
4225
- /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("label", { className: "flex items-center justify-between gap-2 text-[12px] text-text-secondary", children: [
4225
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("label", { className: "flex items-center justify-between gap-2 text-xs text-text-secondary", children: [
4226
4226
  "To",
4227
4227
  /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("span", { className: "flex gap-1", children: [
4228
4228
  granularity === "month" && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(MiniSelect, { value: toMo, onChange: setToMo, options: MONTH_ABBR.map((mm, i) => ({ label: mm, value: i })) }),
@@ -4236,7 +4236,7 @@ function DateRangePicker({
4236
4236
  type: "button",
4237
4237
  onClick: applyCustom,
4238
4238
  disabled: !valid,
4239
- className: "self-start text-[13px] font-semibold text-brand-primaryAction transition-opacity hover:opacity-80 disabled:cursor-not-allowed disabled:opacity-40",
4239
+ className: "self-start text-dense font-semibold text-brand-primaryAction transition-opacity hover:opacity-80 disabled:cursor-not-allowed disabled:opacity-40",
4240
4240
  children: showFooter ? "Use custom range" : "Apply"
4241
4241
  }
4242
4242
  )
@@ -4392,7 +4392,7 @@ function MultiSelectFilter({
4392
4392
  value: q,
4393
4393
  onChange: (e) => setQ(e.target.value),
4394
4394
  placeholder: searchPlaceholder ?? `Search ${caption.toLowerCase()}`,
4395
- className: "h-full flex-1 bg-transparent text-[13px] outline-hidden placeholder:text-text-tertiary"
4395
+ className: "h-full flex-1 bg-transparent text-dense outline-hidden placeholder:text-text-tertiary"
4396
4396
  }
4397
4397
  ),
4398
4398
  q && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("button", { type: "button", onClick: () => setQ(""), "aria-label": "Clear search", className: "text-text-tertiary hover:text-text-primary", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_lucide_react23.X, { size: 13 }) })
@@ -4409,7 +4409,7 @@ function MultiSelectFilter({
4409
4409
  className: "flex w-full items-center gap-2.5 rounded-control px-2 py-2 text-left transition-colors hover:bg-subtle",
4410
4410
  children: [
4411
4411
  /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(CheckBoxBox, { checked: state === "all", indeterminate: state === "some" }),
4412
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: cn("flex-1 text-[14px] text-text-primary", !plainParent && "font-semibold"), children: labelled(g.id, g.label) }),
4412
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: cn("flex-1 text-sm text-text-primary", !plainParent && "font-semibold"), children: labelled(g.id, g.label) }),
4413
4413
  counts && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(OptionCount, { n: countFor(g.id) })
4414
4414
  ]
4415
4415
  }
@@ -4424,7 +4424,7 @@ function MultiSelectFilter({
4424
4424
  className: "flex w-full items-center gap-2.5 rounded-control py-2 pl-9 pr-2 text-left transition-colors hover:bg-subtle",
4425
4425
  children: [
4426
4426
  /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(CheckBoxBox, { checked }),
4427
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "flex-1 text-[14px] text-text-primary", children: labelled(c.id, c.label) }),
4427
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "flex-1 text-sm text-text-primary", children: labelled(c.id, c.label) }),
4428
4428
  counts && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(OptionCount, { n: countFor(c.id) })
4429
4429
  ]
4430
4430
  },
@@ -4442,14 +4442,14 @@ function MultiSelectFilter({
4442
4442
  className: "flex w-full items-center gap-2.5 rounded-control px-2 py-2 text-left transition-colors hover:bg-subtle",
4443
4443
  children: [
4444
4444
  /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(CheckBoxBox, { checked }),
4445
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "flex-1 text-[14px] text-text-primary", children: labelled(o.id, o.label) }),
4445
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "flex-1 text-sm text-text-primary", children: labelled(o.id, o.label) }),
4446
4446
  counts && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(OptionCount, { n: countFor(o.id) })
4447
4447
  ]
4448
4448
  },
4449
4449
  o.id
4450
4450
  );
4451
4451
  }),
4452
- (groups && !visibleGroups.length || !groups && !items.length) && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "py-6 text-center text-[13px] text-text-tertiary", children: "No matches." })
4452
+ (groups && !visibleGroups.length || !groups && !items.length) && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "py-6 text-center text-dense text-text-tertiary", children: "No matches." })
4453
4453
  ] }),
4454
4454
  note && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "border-t border-border-default px-3 py-2 text-xs text-text-tertiary", children: note }),
4455
4455
  showFooter ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(FilterDropdownFooter, { onClear: () => setDraft(clearValue), onApply: apply }) : min === 0 && draft.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "border-t border-border-default p-2", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
@@ -4457,7 +4457,7 @@ function MultiSelectFilter({
4457
4457
  {
4458
4458
  type: "button",
4459
4459
  onClick: () => setDraft([]),
4460
- className: "text-[12px] font-medium text-text-link hover:underline",
4460
+ className: "text-xs font-medium text-text-link hover:underline",
4461
4461
  children: [
4462
4462
  "Clear ",
4463
4463
  caption.toLowerCase()
@@ -4470,7 +4470,7 @@ function MultiSelectFilter({
4470
4470
  ] });
4471
4471
  }
4472
4472
  function OptionCount({ n }) {
4473
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("span", { className: "shrink-0 text-[12px] tabular-nums text-text-tertiary", children: [
4473
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("span", { className: "shrink-0 text-xs tabular-nums text-text-tertiary", children: [
4474
4474
  "(",
4475
4475
  n.toLocaleString(),
4476
4476
  ")"