@page-speed/agent-everywhere 0.9.0 → 1.0.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/index.cjs +44 -44
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +44 -44
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7951,7 +7951,7 @@ function KpiCardWithChart({
|
|
|
7951
7951
|
return /* @__PURE__ */ jsxs(CardShell, { className: cn("w-full overflow-hidden bg-white p-7 sm:p-8", className), children: [
|
|
7952
7952
|
/* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-4", children: [
|
|
7953
7953
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
|
|
7954
|
-
/* @__PURE__ */ jsx("h3", { className: "truncate font-bold text-
|
|
7954
|
+
/* @__PURE__ */ jsx("h3", { className: "truncate font-bold text-base text-slate-900 leading-tight tracking-tight", children: title }),
|
|
7955
7955
|
formattedValue !== null && /* @__PURE__ */ jsxs("div", { className: "mt-1 flex items-center gap-2", children: [
|
|
7956
7956
|
/* @__PURE__ */ jsx("span", { className: "font-bold text-2xl text-slate-900 tabular-nums", children: formattedValue }),
|
|
7957
7957
|
delta && /* @__PURE__ */ jsx(DeltaPill, { value: delta.value, direction: delta.direction })
|
|
@@ -7960,7 +7960,7 @@ function KpiCardWithChart({
|
|
|
7960
7960
|
rangeLabel && /* @__PURE__ */ jsx(
|
|
7961
7961
|
"span",
|
|
7962
7962
|
{
|
|
7963
|
-
className: "shrink-0 rounded-full px-4 py-1.5 font-semibold text-
|
|
7963
|
+
className: "shrink-0 rounded-full px-4 py-1.5 font-semibold text-xs",
|
|
7964
7964
|
style: {
|
|
7965
7965
|
color: pillColor,
|
|
7966
7966
|
backgroundColor: hexToRgba(pillColor, 0.12)
|
|
@@ -7985,7 +7985,7 @@ function KpiCardWithChart({
|
|
|
7985
7985
|
return /* @__PURE__ */ jsxs(
|
|
7986
7986
|
"span",
|
|
7987
7987
|
{
|
|
7988
|
-
className: "flex flex-col text-slate-400 text-
|
|
7988
|
+
className: "flex flex-col text-slate-400 text-xs leading-tight",
|
|
7989
7989
|
children: [
|
|
7990
7990
|
/* @__PURE__ */ jsx("span", { children: lead }),
|
|
7991
7991
|
trailing !== void 0 && /* @__PURE__ */ jsx("span", { children: trailing })
|
|
@@ -8187,8 +8187,8 @@ function StackedSparklines({ rows, className }) {
|
|
|
8187
8187
|
),
|
|
8188
8188
|
children: [
|
|
8189
8189
|
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-col gap-1", children: [
|
|
8190
|
-
/* @__PURE__ */ jsx("span", { className: "truncate text-
|
|
8191
|
-
/* @__PURE__ */ jsx("span", { className: "font-bold text-
|
|
8190
|
+
/* @__PURE__ */ jsx("span", { className: "truncate text-xs text-slate-500 leading-tight", children: row.label }),
|
|
8191
|
+
/* @__PURE__ */ jsx("span", { className: "font-bold text-2xl text-slate-900 leading-tight tracking-tight tabular-nums", children: row.value })
|
|
8192
8192
|
] }),
|
|
8193
8193
|
/* @__PURE__ */ jsx("div", { className: "h-9 w-[28%] min-w-[88px] shrink-0", children: hasData ? /* @__PURE__ */ jsx(
|
|
8194
8194
|
Sparkline,
|
|
@@ -8256,7 +8256,7 @@ function StatCardHalfCircle({
|
|
|
8256
8256
|
/* @__PURE__ */ jsx(
|
|
8257
8257
|
"h3",
|
|
8258
8258
|
{
|
|
8259
|
-
className: "font-semibold text-
|
|
8259
|
+
className: "font-semibold text-base leading-tight",
|
|
8260
8260
|
style: { color: titleColor },
|
|
8261
8261
|
children: title
|
|
8262
8262
|
}
|
|
@@ -8304,7 +8304,7 @@ function StatCardHalfCircle({
|
|
|
8304
8304
|
children: /* @__PURE__ */ jsx(
|
|
8305
8305
|
"span",
|
|
8306
8306
|
{
|
|
8307
|
-
className: "font-bold text-
|
|
8307
|
+
className: "font-bold text-2xl leading-none tabular-nums",
|
|
8308
8308
|
style: { color: valueColor },
|
|
8309
8309
|
children: readout
|
|
8310
8310
|
}
|
|
@@ -8313,11 +8313,11 @@ function StatCardHalfCircle({
|
|
|
8313
8313
|
)
|
|
8314
8314
|
] }),
|
|
8315
8315
|
(minLabel || maxLabel) && /* @__PURE__ */ jsxs("div", { className: "mx-auto mt-3 flex w-full max-w-[280px] items-baseline justify-between", children: [
|
|
8316
|
-
/* @__PURE__ */ jsx("span", { className: "font-medium text-
|
|
8316
|
+
/* @__PURE__ */ jsx("span", { className: "font-medium text-xs", style: { color: minLabelColor }, children: minLabel }),
|
|
8317
8317
|
/* @__PURE__ */ jsx(
|
|
8318
8318
|
"span",
|
|
8319
8319
|
{
|
|
8320
|
-
className: "font-semibold text-
|
|
8320
|
+
className: "font-semibold text-xs",
|
|
8321
8321
|
style: { color: resolvedMaxLabelColor },
|
|
8322
8322
|
children: maxLabel
|
|
8323
8323
|
}
|
|
@@ -8458,7 +8458,7 @@ function TableListArtifact({
|
|
|
8458
8458
|
return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-4", className), children: [
|
|
8459
8459
|
/* @__PURE__ */ jsxs(CardShell, { className: "border-[#e5e7eb] p-6", children: [
|
|
8460
8460
|
/* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-4", children: [
|
|
8461
|
-
/* @__PURE__ */ jsx("h3", { className: "font-bold text-
|
|
8461
|
+
/* @__PURE__ */ jsx("h3", { className: "font-bold text-base text-slate-800 leading-snug", children: chartTitle }),
|
|
8462
8462
|
hasSeries && /* @__PURE__ */ jsx("ul", { className: "flex flex-wrap items-center gap-x-4 gap-y-1", children: series.map((s) => /* @__PURE__ */ jsxs(
|
|
8463
8463
|
"li",
|
|
8464
8464
|
{
|
|
@@ -8591,7 +8591,7 @@ function TableListArtifact({
|
|
|
8591
8591
|
hasSeries && xAxisLabels && xAxisLabels.length > 0 && /* @__PURE__ */ jsx("div", { className: "mt-2 flex justify-between px-1", children: xAxisLabels.map((label, i) => /* @__PURE__ */ jsx(
|
|
8592
8592
|
"span",
|
|
8593
8593
|
{
|
|
8594
|
-
className: "text-slate-400 text-
|
|
8594
|
+
className: "text-slate-400 text-xs",
|
|
8595
8595
|
style: { color: AXIS_LABEL_COLOR },
|
|
8596
8596
|
children: label
|
|
8597
8597
|
},
|
|
@@ -8605,7 +8605,7 @@ function TableListArtifact({
|
|
|
8605
8605
|
{
|
|
8606
8606
|
scope: "col",
|
|
8607
8607
|
className: cn(
|
|
8608
|
-
"px-6 py-4 font-semibold text-
|
|
8608
|
+
"px-6 py-4 font-semibold text-xs uppercase tracking-wider",
|
|
8609
8609
|
ALIGN_CLASS[col.align ?? "left"]
|
|
8610
8610
|
),
|
|
8611
8611
|
style: { color: TABLE_HEADER_TEXT },
|
|
@@ -8626,7 +8626,7 @@ function TableListArtifact({
|
|
|
8626
8626
|
"td",
|
|
8627
8627
|
{
|
|
8628
8628
|
className: cn(
|
|
8629
|
-
"px-6 py-5 font-bold text-
|
|
8629
|
+
"px-6 py-5 font-bold text-sm",
|
|
8630
8630
|
ALIGN_CLASS[align]
|
|
8631
8631
|
),
|
|
8632
8632
|
style: { color: FIRST_COL_TEXT },
|
|
@@ -8640,7 +8640,7 @@ function TableListArtifact({
|
|
|
8640
8640
|
"td",
|
|
8641
8641
|
{
|
|
8642
8642
|
className: cn(
|
|
8643
|
-
"px-6 py-5 text-
|
|
8643
|
+
"px-6 py-5 text-sm text-slate-700 tabular-nums",
|
|
8644
8644
|
ALIGN_CLASS[align]
|
|
8645
8645
|
),
|
|
8646
8646
|
children: row.value
|
|
@@ -8658,7 +8658,7 @@ function TableListArtifact({
|
|
|
8658
8658
|
value: row.delta.text,
|
|
8659
8659
|
direction: deltaDirection(row.delta.direction),
|
|
8660
8660
|
hideArrow: true,
|
|
8661
|
-
className: "bg-transparent px-0 py-0 font-semibold text-
|
|
8661
|
+
className: "bg-transparent px-0 py-0 font-semibold text-xs"
|
|
8662
8662
|
}
|
|
8663
8663
|
) : null
|
|
8664
8664
|
},
|
|
@@ -8672,7 +8672,7 @@ function TableListArtifact({
|
|
|
8672
8672
|
summaryText && /* @__PURE__ */ jsx(
|
|
8673
8673
|
"p",
|
|
8674
8674
|
{
|
|
8675
|
-
className: "text-
|
|
8675
|
+
className: "text-sm leading-relaxed",
|
|
8676
8676
|
style: { color: SUMMARY_TEXT_COLOR },
|
|
8677
8677
|
children: renderRich(summaryText)
|
|
8678
8678
|
}
|
|
@@ -8710,12 +8710,12 @@ function KpiCardWithSparklines({
|
|
|
8710
8710
|
const interactive = typeof onClick === "function";
|
|
8711
8711
|
const body = /* @__PURE__ */ jsxs("div", { className: "p-6", children: [
|
|
8712
8712
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between gap-3", children: [
|
|
8713
|
-
/* @__PURE__ */ jsx("p", { className: "font-medium text-
|
|
8713
|
+
/* @__PURE__ */ jsx("p", { className: "font-medium text-xs text-slate-500 leading-snug", children: label }),
|
|
8714
8714
|
icon != null && icon !== "" && /* @__PURE__ */ jsx(
|
|
8715
8715
|
"span",
|
|
8716
8716
|
{
|
|
8717
8717
|
"aria-hidden": "true",
|
|
8718
|
-
className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg font-semibold text-
|
|
8718
|
+
className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg font-semibold text-base",
|
|
8719
8719
|
style: {
|
|
8720
8720
|
backgroundColor: iconChipBg ?? DEFAULT_ICON_CHIP_BG,
|
|
8721
8721
|
color: iconChipFg ?? DEFAULT_ICON_CHIP_FG
|
|
@@ -8728,7 +8728,7 @@ function KpiCardWithSparklines({
|
|
|
8728
8728
|
/* @__PURE__ */ jsx(
|
|
8729
8729
|
"span",
|
|
8730
8730
|
{
|
|
8731
|
-
className: "font-extrabold text-
|
|
8731
|
+
className: "font-extrabold text-2xl leading-none tracking-tight tabular-nums",
|
|
8732
8732
|
style: { color: valueColor ?? DEFAULT_VALUE_COLOR2 },
|
|
8733
8733
|
children: value
|
|
8734
8734
|
}
|
|
@@ -8739,7 +8739,7 @@ function KpiCardWithSparklines({
|
|
|
8739
8739
|
value: delta.value,
|
|
8740
8740
|
direction: delta.direction,
|
|
8741
8741
|
tone: delta.tone,
|
|
8742
|
-
className: "mb-1 px-2.5 py-1 text-
|
|
8742
|
+
className: "mb-1 px-2.5 py-1 text-xs"
|
|
8743
8743
|
}
|
|
8744
8744
|
)
|
|
8745
8745
|
] }),
|
|
@@ -8792,7 +8792,7 @@ function LocationTableRow({ row }) {
|
|
|
8792
8792
|
"span",
|
|
8793
8793
|
{
|
|
8794
8794
|
role: "cell",
|
|
8795
|
-
className: "truncate font-semibold text-
|
|
8795
|
+
className: "truncate font-semibold text-sm text-slate-800",
|
|
8796
8796
|
children: row.name
|
|
8797
8797
|
}
|
|
8798
8798
|
),
|
|
@@ -8800,7 +8800,7 @@ function LocationTableRow({ row }) {
|
|
|
8800
8800
|
"span",
|
|
8801
8801
|
{
|
|
8802
8802
|
role: "cell",
|
|
8803
|
-
className: "text-right text-
|
|
8803
|
+
className: "text-right text-sm text-slate-700 tabular-nums",
|
|
8804
8804
|
children: row.revenue
|
|
8805
8805
|
}
|
|
8806
8806
|
),
|
|
@@ -8830,7 +8830,7 @@ function LocationsRevenueCard({
|
|
|
8830
8830
|
role: "row",
|
|
8831
8831
|
className: cn(
|
|
8832
8832
|
GRID_TEMPLATE,
|
|
8833
|
-
"border-b bg-slate-50 py-4 font-semibold text-
|
|
8833
|
+
"border-b bg-slate-50 py-4 font-semibold text-xs text-slate-400 uppercase tracking-wider"
|
|
8834
8834
|
),
|
|
8835
8835
|
children: [
|
|
8836
8836
|
/* @__PURE__ */ jsx("span", { role: "columnheader", className: "text-left", children: locationColumnLabel }),
|
|
@@ -8885,7 +8885,7 @@ function RowPair({ row, isLast, cellPadding }) {
|
|
|
8885
8885
|
"dt",
|
|
8886
8886
|
{
|
|
8887
8887
|
className: cn(
|
|
8888
|
-
"min-w-0 break-words bg-slate-50/70 font-normal text-slate-500 text-
|
|
8888
|
+
"min-w-0 break-words bg-slate-50/70 font-normal text-slate-500 text-sm leading-snug",
|
|
8889
8889
|
cellPadding,
|
|
8890
8890
|
!isLast && "border-slate-100 border-b"
|
|
8891
8891
|
),
|
|
@@ -8896,7 +8896,7 @@ function RowPair({ row, isLast, cellPadding }) {
|
|
|
8896
8896
|
"dd",
|
|
8897
8897
|
{
|
|
8898
8898
|
className: cn(
|
|
8899
|
-
"min-w-0 break-words border-slate-100 border-l font-medium text-
|
|
8899
|
+
"min-w-0 break-words border-slate-100 border-l font-medium text-sm leading-snug",
|
|
8900
8900
|
valueColorClass,
|
|
8901
8901
|
cellPadding,
|
|
8902
8902
|
!isLast && "border-b"
|
|
@@ -8947,7 +8947,7 @@ function resolveDotColor(badge) {
|
|
|
8947
8947
|
}
|
|
8948
8948
|
function BadgePill({ badge, groupStyle }) {
|
|
8949
8949
|
const style = badge.style ?? groupStyle;
|
|
8950
|
-
const baseClass = "inline-flex items-center rounded-full px-4 py-1.5 font-medium text-
|
|
8950
|
+
const baseClass = "inline-flex items-center rounded-full px-4 py-1.5 font-medium text-xs whitespace-nowrap";
|
|
8951
8951
|
if (style === "outline") {
|
|
8952
8952
|
return /* @__PURE__ */ jsxs(
|
|
8953
8953
|
"span",
|
|
@@ -9037,12 +9037,12 @@ function OrderedListArtifact({
|
|
|
9037
9037
|
}) {
|
|
9038
9038
|
const safeItems = Array.isArray(items) ? items : [];
|
|
9039
9039
|
return /* @__PURE__ */ jsxs("section", { className: cn("text-left", className), children: [
|
|
9040
|
-
title ? /* @__PURE__ */ jsx("h3", { className: "font-bold text-slate-900 text-
|
|
9040
|
+
title ? /* @__PURE__ */ jsx("h3", { className: "font-bold text-slate-900 text-base leading-snug", children: title }) : null,
|
|
9041
9041
|
intro ? /* @__PURE__ */ jsx(
|
|
9042
9042
|
"p",
|
|
9043
9043
|
{
|
|
9044
9044
|
className: cn(
|
|
9045
|
-
"text-slate-500 text-
|
|
9045
|
+
"text-slate-500 text-sm leading-relaxed",
|
|
9046
9046
|
title && "mt-4"
|
|
9047
9047
|
),
|
|
9048
9048
|
children: renderRich(intro)
|
|
@@ -9072,7 +9072,7 @@ function OrderedListArtifact({
|
|
|
9072
9072
|
children: marker
|
|
9073
9073
|
}
|
|
9074
9074
|
),
|
|
9075
|
-
/* @__PURE__ */ jsx("div", { className: "flex-1 pt-0.5 text-slate-900 text-
|
|
9075
|
+
/* @__PURE__ */ jsx("div", { className: "flex-1 pt-0.5 text-slate-900 text-sm leading-relaxed", children: renderRich(item.content) })
|
|
9076
9076
|
]
|
|
9077
9077
|
},
|
|
9078
9078
|
index
|
|
@@ -9286,7 +9286,7 @@ function DeepResearchProgress({
|
|
|
9286
9286
|
return /* @__PURE__ */ jsxs("div", { className: cn("flex w-full flex-col gap-6 text-left", className), children: [
|
|
9287
9287
|
/* @__PURE__ */ jsxs(CardShell, { className: "rounded-xl border-slate-200/80 bg-slate-50/70 px-5 py-4 shadow-none", children: [
|
|
9288
9288
|
taskLabel ? /* @__PURE__ */ jsx("p", { className: "font-medium text-[11px] text-slate-400 uppercase tracking-wider", children: taskLabel }) : null,
|
|
9289
|
-
/* @__PURE__ */ jsx("p", { className: "mt-2 text-
|
|
9289
|
+
/* @__PURE__ */ jsx("p", { className: "mt-2 text-sm text-slate-700 leading-relaxed", children: taskDescription })
|
|
9290
9290
|
] }),
|
|
9291
9291
|
safeSteps.length > 0 ? /* @__PURE__ */ jsx("ol", { className: "flex list-none flex-col gap-5", children: safeSteps.map((step, index) => /* @__PURE__ */ jsxs(
|
|
9292
9292
|
"li",
|
|
@@ -9299,7 +9299,7 @@ function DeepResearchProgress({
|
|
|
9299
9299
|
"span",
|
|
9300
9300
|
{
|
|
9301
9301
|
className: cn(
|
|
9302
|
-
"text-
|
|
9302
|
+
"text-sm leading-snug",
|
|
9303
9303
|
stepLabelClass(step.status)
|
|
9304
9304
|
),
|
|
9305
9305
|
children: step.label
|
|
@@ -9313,7 +9313,7 @@ function DeepResearchProgress({
|
|
|
9313
9313
|
/* @__PURE__ */ jsx("hr", { className: "border-slate-200 border-t" }),
|
|
9314
9314
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
9315
9315
|
findingsLabel ? /* @__PURE__ */ jsx("p", { className: "font-medium text-[11px] text-slate-400 uppercase tracking-wider", children: findingsLabel }) : null,
|
|
9316
|
-
/* @__PURE__ */ jsx("p", { className: "mt-3 text-
|
|
9316
|
+
/* @__PURE__ */ jsx("p", { className: "mt-3 text-sm text-slate-700 leading-relaxed [&_strong]:text-slate-900", children: renderRich(findings) })
|
|
9317
9317
|
] })
|
|
9318
9318
|
] }) : null
|
|
9319
9319
|
] });
|
|
@@ -9365,8 +9365,8 @@ function TimelineStep({
|
|
|
9365
9365
|
}
|
|
9366
9366
|
),
|
|
9367
9367
|
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-col gap-1.5 pt-1.5 pb-8", children: [
|
|
9368
|
-
/* @__PURE__ */ jsx("p", { className: "font-semibold text-
|
|
9369
|
-
step.description ? /* @__PURE__ */ jsx("p", { className: "text-
|
|
9368
|
+
/* @__PURE__ */ jsx("p", { className: "font-semibold text-sm text-slate-900 leading-snug", children: step.title }),
|
|
9369
|
+
step.description ? /* @__PURE__ */ jsx("p", { className: "text-sm text-slate-500 leading-snug", children: step.description }) : null
|
|
9370
9370
|
] })
|
|
9371
9371
|
] });
|
|
9372
9372
|
}
|
|
@@ -9390,7 +9390,7 @@ function Tracker({
|
|
|
9390
9390
|
},
|
|
9391
9391
|
step.id ?? `${step.title}-${index}`
|
|
9392
9392
|
)) }) : /* @__PURE__ */ jsx("p", { className: "py-6 text-slate-400 text-sm", children: "No steps" }),
|
|
9393
|
-
hasFooter ? /* @__PURE__ */ jsx("div", { className: "mt-2 border-slate-200 border-t pt-5", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-
|
|
9393
|
+
hasFooter ? /* @__PURE__ */ jsx("div", { className: "mt-2 border-slate-200 border-t pt-5", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-xs text-slate-500", children: [
|
|
9394
9394
|
showFooterIcon ? /* @__PURE__ */ jsx(ClockIcon2, { className: "size-4 shrink-0" }) : null,
|
|
9395
9395
|
/* @__PURE__ */ jsx("span", { children: footerItems.join(FOOTER_SEPARATOR) })
|
|
9396
9396
|
] }) }) : null
|
|
@@ -9490,7 +9490,7 @@ function OptionRow({
|
|
|
9490
9490
|
onClick: submitted ? void 0 : onSelect,
|
|
9491
9491
|
onKeyDown: handleKeyDown,
|
|
9492
9492
|
className: cn(
|
|
9493
|
-
"flex items-
|
|
9493
|
+
"flex items-center gap-3 rounded-xl border px-4 py-4 text-left transition-colors",
|
|
9494
9494
|
!submitted && "cursor-pointer focus:outline-none focus-visible:ring-2 focus-visible:ring-emerald-400/60",
|
|
9495
9495
|
selected ? "font-medium" : "font-normal"
|
|
9496
9496
|
),
|
|
@@ -9529,13 +9529,13 @@ function OptionRow({
|
|
|
9529
9529
|
onCustomCommit();
|
|
9530
9530
|
}
|
|
9531
9531
|
},
|
|
9532
|
-
className: "flex-1 border-0 bg-transparent p-0 text-
|
|
9532
|
+
className: "flex-1 border-0 bg-transparent p-0 text-sm leading-snug outline-none placeholder:text-slate-400",
|
|
9533
9533
|
style: { color: colors.selectedLabel }
|
|
9534
9534
|
}
|
|
9535
9535
|
) : /* @__PURE__ */ jsx(
|
|
9536
9536
|
"span",
|
|
9537
9537
|
{
|
|
9538
|
-
className: "flex-1 text-
|
|
9538
|
+
className: "flex-1 text-sm leading-snug",
|
|
9539
9539
|
style: { color: selected ? colors.selectedLabel : colors.unselectedLabel },
|
|
9540
9540
|
children: option.label
|
|
9541
9541
|
}
|
|
@@ -9625,17 +9625,17 @@ function BuiltInQuestions(props) {
|
|
|
9625
9625
|
resolvedProgress ? /* @__PURE__ */ jsx(
|
|
9626
9626
|
"span",
|
|
9627
9627
|
{
|
|
9628
|
-
className: "inline-flex items-center rounded-lg px-3 py-1 font-semibold text-
|
|
9628
|
+
className: "inline-flex items-center rounded-lg px-3 py-1 font-semibold text-xs",
|
|
9629
9629
|
style: { backgroundColor: colors.pillBg, color: colors.pillText },
|
|
9630
9630
|
children: resolvedProgress
|
|
9631
9631
|
}
|
|
9632
9632
|
) : /* @__PURE__ */ jsx("span", { "aria-hidden": "true" }),
|
|
9633
|
-
categoryLabel && /* @__PURE__ */ jsx("span", { className: "text-
|
|
9633
|
+
categoryLabel && /* @__PURE__ */ jsx("span", { className: "text-xs", style: { color: colors.categoryText }, children: categoryLabel })
|
|
9634
9634
|
] }),
|
|
9635
9635
|
/* @__PURE__ */ jsx(
|
|
9636
9636
|
"h3",
|
|
9637
9637
|
{
|
|
9638
|
-
className: "font-bold text-
|
|
9638
|
+
className: "font-bold text-base leading-snug",
|
|
9639
9639
|
style: { color: colors.titleColor },
|
|
9640
9640
|
children: question
|
|
9641
9641
|
}
|
|
@@ -9876,7 +9876,7 @@ function AudioPlayer({
|
|
|
9876
9876
|
/* @__PURE__ */ jsxs(
|
|
9877
9877
|
"span",
|
|
9878
9878
|
{
|
|
9879
|
-
className: "shrink-0 font-mono text-
|
|
9879
|
+
className: "shrink-0 font-mono text-xs tabular-nums",
|
|
9880
9880
|
style: { color: mutedText },
|
|
9881
9881
|
children: [
|
|
9882
9882
|
formatTime2(currentTime),
|
|
@@ -9902,7 +9902,7 @@ function AudioPlayer({
|
|
|
9902
9902
|
/* @__PURE__ */ jsx(
|
|
9903
9903
|
"span",
|
|
9904
9904
|
{
|
|
9905
|
-
className: "shrink-0 font-mono text-
|
|
9905
|
+
className: "shrink-0 font-mono text-xs tabular-nums",
|
|
9906
9906
|
style: { color: mutedText },
|
|
9907
9907
|
children: formatTime2(chapter.startSeconds)
|
|
9908
9908
|
}
|
|
@@ -9911,7 +9911,7 @@ function AudioPlayer({
|
|
|
9911
9911
|
"span",
|
|
9912
9912
|
{
|
|
9913
9913
|
className: cn(
|
|
9914
|
-
"text-
|
|
9914
|
+
"text-sm",
|
|
9915
9915
|
isActive ? "font-semibold text-slate-900" : "font-normal text-slate-500"
|
|
9916
9916
|
),
|
|
9917
9917
|
children: chapter.label
|