@plitzi/sdk-dev-tools 0.39.3 → 0.39.6
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/CHANGELOG.md +27 -0
- package/dist/components/DevToolsIndicator/DevToolsIndicator.mjs +2 -2
- package/dist/components/DevToolsPanel/DevToolsBody.mjs +1 -1
- package/dist/components/DevToolsPanel/DevToolsButton.mjs +1 -1
- package/dist/components/DevToolsPanel/DevToolsHeader.mjs +4 -4
- package/dist/components/DevToolsPanel/DevToolsPanel.mjs +1 -1
- package/dist/components/DevToolsPanel/DevToolsSubHeader.mjs +1 -1
- package/dist/components/DevToolsPanel/tabs/ActionsViewer/components/ActionsToolbar/ActionsToolbar.mjs +5 -5
- package/dist/components/DevToolsPanel/tabs/ActionsViewer/components/RunDetail/RunDetail.mjs +23 -23
- package/dist/components/DevToolsPanel/tabs/ActionsViewer/components/RunList/RunList.mjs +2 -2
- package/dist/components/DevToolsPanel/tabs/ActionsViewer/components/RunRow/RunRow.mjs +7 -7
- package/dist/components/DevToolsPanel/tabs/ActionsViewer/components/StepRow/StepRow.mjs +5 -5
- package/dist/components/DevToolsPanel/tabs/ActionsViewer/helpers.mjs +2 -2
- package/dist/components/DevToolsPanel/tabs/CacheViewer/CacheViewer.mjs +6 -6
- package/dist/components/DevToolsPanel/tabs/CacheViewer/components/CacheRow/CacheRow.mjs +8 -8
- package/dist/components/DevToolsPanel/tabs/ElementsViewer/components/DetailsRow/DetailsRow.mjs +3 -3
- package/dist/components/DevToolsPanel/tabs/ElementsViewer/components/DetailsRuntime/DetailsRuntime.mjs +1 -1
- package/dist/components/DevToolsPanel/tabs/ElementsViewer/components/ElementsTree/ElementsTree.mjs +2 -2
- package/dist/components/DevToolsPanel/tabs/ElementsViewer/components/TreeRow/TreeRow.mjs +3 -3
- package/dist/components/DevToolsPanel/tabs/ElementsViewer/components/TreeSection/TreeSection.mjs +2 -2
- package/dist/components/DevToolsPanel/tabs/FlagsViewer/FlagSource.mjs +1 -1
- package/dist/components/DevToolsPanel/tabs/FlagsViewer/FlagsListItem.mjs +8 -8
- package/dist/components/DevToolsPanel/tabs/FlagsViewer/FlagsViewer.mjs +4 -4
- package/dist/components/DevToolsPanel/tabs/HistoryViewer/HistoryViewer.mjs +1 -1
- package/dist/components/DevToolsPanel/tabs/HistoryViewer/components/HistoryEntryItem/HistoryEntryItem.mjs +2 -2
- package/dist/components/DevToolsPanel/tabs/HistoryViewer/components/HistoryToolbar/HistoryToolbar.mjs +5 -5
- package/dist/components/DevToolsPanel/tabs/Logs/LogStatus.mjs +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/LogStatusIcon.mjs +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/Logs.mjs +4 -4
- package/dist/components/DevToolsPanel/tabs/Logs/LogsSummary/LogsSummary.mjs +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/LogsSummary/LogsSummaryItem.mjs +4 -4
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogAction/LogAction.mjs +5 -5
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/BodyContent.mjs +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/BodyHeader.mjs +13 -13
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/ExecutionTree/ExecutionTree.mjs +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/ExecutionTree/ExecutionTreeNode.mjs +5 -5
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/InteractionNode/InteractionNode.mjs +2 -2
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/InteractionNode/NodeHeader.mjs +9 -9
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/InteractionNode/NodeMetadata.mjs +2 -2
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/InteractionNode/NodeWhen.mjs +2 -2
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/LogInteraction.mjs +3 -3
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/LogInteractionBody.mjs +3 -3
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/LogInteractionHeader.mjs +2 -2
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/LogInteractionNote.mjs +6 -6
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogNavigation/LogNavigation.mjs +2 -2
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogNavigation/LogNavigationBody.mjs +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogNavigation/LogNavigationHeader.mjs +2 -2
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogNetwork/LogNetwork.mjs +6 -6
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogRealtime/LogRealtime.mjs +5 -5
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogStore/LogStore.mjs +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogStore/LogStoreBody.mjs +11 -11
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogStore/LogStoreHeader.mjs +3 -3
- package/dist/components/DevToolsPanel/tabs/PluginsViewer/PluginDetails.mjs +12 -12
- package/dist/components/DevToolsPanel/tabs/PluginsViewer/PluginsViewer.mjs +2 -2
- package/dist/components/DevToolsPanel/tabs/QaViewer/QaAllChecksButton.mjs +1 -1
- package/dist/components/DevToolsPanel/tabs/QaViewer/QaCheckRow.mjs +3 -3
- package/dist/components/DevToolsPanel/tabs/QaViewer/QaChecks.mjs +2 -2
- package/dist/components/DevToolsPanel/tabs/QaViewer/QaDivider.mjs +1 -1
- package/dist/components/DevToolsPanel/tabs/QaViewer/QaFindingItem.mjs +3 -3
- package/dist/components/DevToolsPanel/tabs/QaViewer/QaInspectorDetails.mjs +7 -7
- package/dist/components/DevToolsPanel/tabs/QaViewer/QaInspectorEmpty.mjs +2 -2
- package/dist/components/DevToolsPanel/tabs/QaViewer/QaInspectorPanel.mjs +1 -1
- package/dist/components/DevToolsPanel/tabs/QaViewer/QaProperty.mjs +2 -2
- package/dist/components/DevToolsPanel/tabs/QaViewer/QaReplayButton.mjs +1 -1
- package/dist/components/DevToolsPanel/tabs/QaViewer/QaRescanButton.mjs +1 -1
- package/dist/components/DevToolsPanel/tabs/QaViewer/QaRuleItem.mjs +3 -3
- package/dist/components/DevToolsPanel/tabs/QaViewer/QaToolChip.mjs +1 -1
- package/dist/components/DevToolsPanel/tabs/QaViewer/QaToolbar.mjs +1 -1
- package/dist/components/DevToolsPanel/tabs/QaViewer/QaVisionSelect.mjs +2 -2
- package/dist/components/DevToolsPanel/tabs/QaViewer/QaXray.mjs +2 -2
- package/dist/components/DevToolsPanel/tabs/QaViewer/QaXrayBoxesRow.mjs +3 -3
- package/dist/components/DevToolsPanel/tabs/QaViewer/QaXrayRow.mjs +4 -4
- package/dist/components/DevToolsPanel/tabs/RunViewer/RunReport.mjs +5 -5
- package/dist/components/DevToolsPanel/tabs/RunViewer/RunTaskRow.mjs +7 -7
- package/dist/components/DevToolsPanel/tabs/RunViewer/RunViewer.mjs +17 -17
- package/dist/components/DevToolsPanel/tabs/StoreViewer/StoreViewer.mjs +3 -3
- package/dist/components/DevToolsPanel/tabs/TracingViewer/TracingViewer.mjs +4 -4
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/CommitCause/CommitCause.mjs +6 -6
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/CommitStrip/CommitStrip.mjs +4 -4
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/DetailSidebar/DetailSidebar.mjs +29 -29
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/DurationLegend/DurationLegend.mjs +2 -2
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/Flamegraph/FlameFrame.mjs +2 -2
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/Flamegraph/Flamegraph.mjs +2 -2
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/HotspotSidebar/HotspotSidebar.mjs +21 -21
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/HotspotsList/HotspotsList.mjs +10 -10
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/MetricToggle/MetricToggle.mjs +2 -2
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/RankedList/RankedList.mjs +9 -9
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/SidebarShell/SidebarEmpty.mjs +1 -1
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/SidebarToggle/SidebarToggle.mjs +1 -1
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/TracingToolbar/TracingToolbar.mjs +5 -5
- package/dist/components/DevToolsPanel/tabs/TracingViewer/helpers.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/TracingViewer/helpers.mjs +1 -1
- package/dist/components/DevToolsPanel/tabs/VariablesViewer/VariableValue.mjs +3 -3
- package/dist/components/DevToolsPanel/tabs/VariablesViewer/VariablesList.mjs +3 -3
- package/dist/components/DevToolsPanel/tabs/VariablesViewer/VariablesListItem.mjs +3 -3
- package/dist/components/DevToolsPanel/tabs/VariablesViewer/VariablesStyleList.mjs +3 -3
- package/dist/components/DevToolsPanel/tabs/VariablesViewer/VariablesViewer.mjs +2 -2
- package/dist/components/List/List.mjs +3 -3
- package/dist/components/List/ListItem.mjs +1 -1
- package/dist/components/PayloadView/PayloadView.mjs +1 -1
- package/dist/components/ResizableSidebar/ResizableSidebar.mjs +2 -2
- package/dist/qa/overlays/QaTooltip.mjs +3 -3
- package/dist/qa/overlays/QaViewport.mjs +1 -1
- package/dist/qa/qaCss.mjs +1 -20
- package/package.json +7 -7
|
@@ -36,9 +36,9 @@ var a = [
|
|
|
36
36
|
value: s.vision,
|
|
37
37
|
title: "See the page without one kind of colour, or out of focus",
|
|
38
38
|
onChange: l,
|
|
39
|
-
className: t("h-6 shrink-0 rounded-md border
|
|
39
|
+
className: t("bg-ui-panel h-6 shrink-0 rounded-md border py-0 pr-6 pl-2 text-[11px] leading-[22px]", {
|
|
40
40
|
"border-violet-400/60 text-violet-700 dark:text-violet-300": s.vision !== "none",
|
|
41
|
-
"border-
|
|
41
|
+
"border-ui-line text-ui-fg-muted": s.vision === "none"
|
|
42
42
|
}),
|
|
43
43
|
children: a.map(({ mode: e, label: t }) => /* @__PURE__ */ i("option", {
|
|
44
44
|
value: e,
|
|
@@ -6,10 +6,10 @@ import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
|
6
6
|
var a = () => /* @__PURE__ */ i("section", {
|
|
7
7
|
className: "flex min-w-0 flex-col gap-1.5",
|
|
8
8
|
children: [/* @__PURE__ */ i("div", {
|
|
9
|
-
className: "flex items-center gap-2 text-[10px] font-semibold tracking-wider
|
|
9
|
+
className: "text-ui-fg-subtle flex items-center gap-2 text-[10px] font-semibold tracking-wider uppercase",
|
|
10
10
|
children: [/* @__PURE__ */ r("i", { className: "fa-solid fa-x-ray" }), "X-ray"]
|
|
11
11
|
}), /* @__PURE__ */ i("div", {
|
|
12
|
-
className: "overflow-hidden rounded border
|
|
12
|
+
className: "border-ui-line overflow-hidden rounded border",
|
|
13
13
|
children: [/* @__PURE__ */ r(e, {}), n.map((e) => /* @__PURE__ */ r(t, { mark: e }, e))]
|
|
14
14
|
})]
|
|
15
15
|
});
|
|
@@ -9,13 +9,13 @@ var o = () => {
|
|
|
9
9
|
type: "button",
|
|
10
10
|
"aria-pressed": c,
|
|
11
11
|
title: "Every element's box, its type and id when pointed at — and no wiring. Click again to mark it all.",
|
|
12
|
-
className: t("flex w-full cursor-pointer items-center gap-2 border-b
|
|
12
|
+
className: t("border-ui-line flex w-full cursor-pointer items-center gap-2 border-b px-2.5 py-1.5 text-left", {
|
|
13
13
|
"bg-violet-500/10": c,
|
|
14
|
-
"hover:bg-
|
|
14
|
+
"hover:bg-ui-hover": !c
|
|
15
15
|
}),
|
|
16
16
|
onClick: l,
|
|
17
17
|
children: [/* @__PURE__ */ i("span", { className: "h-2.5 w-2.5 shrink-0 rounded-sm border border-dashed border-violet-500" }), /* @__PURE__ */ i("span", {
|
|
18
|
-
className: "min-w-0 truncate font-medium
|
|
18
|
+
className: "text-ui-fg min-w-0 truncate font-medium",
|
|
19
19
|
children: "Boxes only"
|
|
20
20
|
})]
|
|
21
21
|
});
|
|
@@ -14,9 +14,9 @@ var s = ({ mark: s }) => {
|
|
|
14
14
|
type: "button",
|
|
15
15
|
"aria-pressed": m,
|
|
16
16
|
title: `${f}. Click to show only these; again for all.`,
|
|
17
|
-
className: n("flex w-full cursor-pointer items-center gap-2 border-b
|
|
17
|
+
className: n("border-ui-line flex w-full cursor-pointer items-center gap-2 border-b px-2.5 py-1.5 text-left last:border-b-0", {
|
|
18
18
|
"bg-violet-500/10": m,
|
|
19
|
-
"hover:bg-
|
|
19
|
+
"hover:bg-ui-hover": !m,
|
|
20
20
|
"opacity-50": c.xrayFilter !== "all" && !m
|
|
21
21
|
}),
|
|
22
22
|
onClick: h,
|
|
@@ -26,11 +26,11 @@ var s = ({ mark: s }) => {
|
|
|
26
26
|
style: { backgroundColor: p }
|
|
27
27
|
}),
|
|
28
28
|
/* @__PURE__ */ a("span", {
|
|
29
|
-
className: "min-w-0 truncate font-medium
|
|
29
|
+
className: "text-ui-fg min-w-0 truncate font-medium",
|
|
30
30
|
children: d
|
|
31
31
|
}),
|
|
32
32
|
/* @__PURE__ */ a("span", {
|
|
33
|
-
className: "ml-auto rounded-full
|
|
33
|
+
className: "bg-ui-raised text-ui-fg-muted ml-auto rounded-full px-1.5 text-[10px] font-semibold tabular-nums",
|
|
34
34
|
children: u[s]
|
|
35
35
|
})
|
|
36
36
|
]
|
|
@@ -38,21 +38,21 @@ var p = () => {
|
|
|
38
38
|
"aria-pressed": h,
|
|
39
39
|
className: a("flex h-6 items-center gap-1 rounded px-2 text-xs font-medium transition-colors", {
|
|
40
40
|
"bg-violet-500 text-white": h,
|
|
41
|
-
"text-
|
|
41
|
+
"text-ui-fg-muted hover:bg-ui-hover": !h
|
|
42
42
|
}),
|
|
43
43
|
children: [/* @__PURE__ */ d("i", { className: "fa-solid fa-crosshairs" }), "Point at it"]
|
|
44
44
|
}),
|
|
45
45
|
h && /* @__PURE__ */ d("span", {
|
|
46
|
-
className: "text-
|
|
46
|
+
className: "text-ui-fg-subtle text-[11px]",
|
|
47
47
|
children: "Click the element on the page — Esc stops"
|
|
48
48
|
}),
|
|
49
49
|
!h && g && /* @__PURE__ */ f("span", {
|
|
50
|
-
className: "flex items-center gap-1 rounded
|
|
50
|
+
className: "bg-ui-raised flex items-center gap-1 rounded px-1.5 py-0.5 font-mono text-[11px]",
|
|
51
51
|
children: [g, /* @__PURE__ */ d("button", {
|
|
52
52
|
type: "button",
|
|
53
53
|
onClick: y,
|
|
54
54
|
title: "Point at nothing",
|
|
55
|
-
className: "text-
|
|
55
|
+
className: "text-ui-fg-subtle hover:text-ui-fg",
|
|
56
56
|
children: /* @__PURE__ */ d("i", { className: "fa-solid fa-xmark" })
|
|
57
57
|
})]
|
|
58
58
|
}),
|
|
@@ -68,7 +68,7 @@ var p = () => {
|
|
|
68
68
|
maxLength: u,
|
|
69
69
|
rows: 2,
|
|
70
70
|
placeholder: "What is wrong — sent with where you are, the width and what you did on the page",
|
|
71
|
-
className: "w-full resize-y rounded border
|
|
71
|
+
className: "border-ui-line bg-ui-raised text-ui-fg placeholder:text-ui-fg-subtle w-full resize-y rounded border px-1.5 py-1 outline-none focus:border-violet-400"
|
|
72
72
|
}),
|
|
73
73
|
/* @__PURE__ */ f("div", {
|
|
74
74
|
className: "flex flex-wrap items-center gap-2",
|
|
@@ -26,18 +26,18 @@ var a = {
|
|
|
26
26
|
}), l = ({ task: l }) => {
|
|
27
27
|
let [u, d] = n(!1), f = t(() => d((e) => !e), []);
|
|
28
28
|
return /* @__PURE__ */ i("div", {
|
|
29
|
-
className: "border-
|
|
29
|
+
className: "border-ui-line border-b last:border-b-0",
|
|
30
30
|
children: [
|
|
31
31
|
/* @__PURE__ */ i("button", {
|
|
32
32
|
type: "button",
|
|
33
33
|
onClick: f,
|
|
34
34
|
"aria-expanded": u,
|
|
35
|
-
className: "flex w-full items-center gap-2 px-2 py-1.5 text-left
|
|
35
|
+
className: "hover:bg-ui-hover flex w-full items-center gap-2 px-2 py-1.5 text-left",
|
|
36
36
|
children: [
|
|
37
37
|
/* @__PURE__ */ r("i", { className: e(a[l.status] ?? "fa-regular fa-circle", "w-3 text-[10px]", o[l.status]) }),
|
|
38
38
|
/* @__PURE__ */ r(c, { task: l }),
|
|
39
39
|
/* @__PURE__ */ r("span", {
|
|
40
|
-
className: "shrink-0 font-mono text-[11px]
|
|
40
|
+
className: "text-ui-fg-subtle shrink-0 font-mono text-[11px]",
|
|
41
41
|
children: l.id
|
|
42
42
|
}),
|
|
43
43
|
/* @__PURE__ */ r("span", {
|
|
@@ -45,22 +45,22 @@ var a = {
|
|
|
45
45
|
children: l.title
|
|
46
46
|
}),
|
|
47
47
|
l.fraction !== void 0 && /* @__PURE__ */ i("span", {
|
|
48
|
-
className: "shrink-0 text-[10px]
|
|
48
|
+
className: "text-ui-fg-subtle shrink-0 text-[10px]",
|
|
49
49
|
children: [Math.round(l.fraction * 100), " %"]
|
|
50
50
|
}),
|
|
51
51
|
/* @__PURE__ */ r("span", {
|
|
52
|
-
className: "shrink-0 text-[10px]
|
|
52
|
+
className: "text-ui-fg-subtle shrink-0 text-[10px]",
|
|
53
53
|
children: s(l)
|
|
54
54
|
})
|
|
55
55
|
]
|
|
56
56
|
}),
|
|
57
57
|
l.why && /* @__PURE__ */ r("div", {
|
|
58
|
-
className: e("truncate px-7 pb-1 text-[10px]", l.status === "blocked" ? "text-red-600 dark:text-red-400" : "text-
|
|
58
|
+
className: e("truncate px-7 pb-1 text-[10px]", l.status === "blocked" ? "text-red-600 dark:text-red-400" : "text-ui-fg-subtle"),
|
|
59
59
|
title: l.why,
|
|
60
60
|
children: l.why
|
|
61
61
|
}),
|
|
62
62
|
u && /* @__PURE__ */ i("div", {
|
|
63
|
-
className: "flex flex-col gap-0.5 px-7 pb-2 text-[11px]
|
|
63
|
+
className: "text-ui-fg-subtle flex flex-col gap-0.5 px-7 pb-2 text-[11px]",
|
|
64
64
|
children: [/* @__PURE__ */ i("span", { children: [
|
|
65
65
|
l.status,
|
|
66
66
|
l.round > 0 ? ` · round ${String(l.round)}` : "",
|
|
@@ -39,7 +39,7 @@ var o = (e) => `${e.slice(11, 16)} UTC`, s = [
|
|
|
39
39
|
}, u = ({ title: e, count: t, children: n }) => /* @__PURE__ */ a("section", {
|
|
40
40
|
className: "flex min-w-0 flex-col gap-1",
|
|
41
41
|
children: [/* @__PURE__ */ i("h3", {
|
|
42
|
-
className: "text-[10px] font-semibold tracking-wider
|
|
42
|
+
className: "text-ui-fg-subtle text-[10px] font-semibold tracking-wider uppercase",
|
|
43
43
|
children: /* @__PURE__ */ a("span", { children: [e, t !== void 0 && /* @__PURE__ */ a("span", {
|
|
44
44
|
className: "ml-1 font-normal",
|
|
45
45
|
children: [
|
|
@@ -50,13 +50,13 @@ var o = (e) => `${e.slice(11, 16)} UTC`, s = [
|
|
|
50
50
|
})] })
|
|
51
51
|
}), n]
|
|
52
52
|
}), d = ({ children: e }) => /* @__PURE__ */ i("div", {
|
|
53
|
-
className: "w-full overflow-hidden rounded border
|
|
53
|
+
className: "border-ui-line w-full overflow-hidden rounded border",
|
|
54
54
|
children: e
|
|
55
55
|
}), f = ({ agent: e }) => /* @__PURE__ */ a("div", {
|
|
56
56
|
className: "flex items-center gap-2 px-2 py-1",
|
|
57
57
|
children: [
|
|
58
58
|
/* @__PURE__ */ i("span", {
|
|
59
|
-
className: n("h-2 w-2 shrink-0 rounded-full", l[e.status] ?? "bg-
|
|
59
|
+
className: n("h-2 w-2 shrink-0 rounded-full", l[e.status] ?? "bg-ui-line-strong"),
|
|
60
60
|
title: e.status
|
|
61
61
|
}),
|
|
62
62
|
/* @__PURE__ */ i("span", {
|
|
@@ -64,17 +64,17 @@ var o = (e) => `${e.slice(11, 16)} UTC`, s = [
|
|
|
64
64
|
children: e.agent
|
|
65
65
|
}),
|
|
66
66
|
/* @__PURE__ */ i("span", {
|
|
67
|
-
className: "w-28 shrink-0 truncate text-[10px]
|
|
67
|
+
className: "text-ui-fg-subtle w-28 shrink-0 truncate text-[10px]",
|
|
68
68
|
children: e.model ?? "harness model"
|
|
69
69
|
}),
|
|
70
70
|
/* @__PURE__ */ i("span", {
|
|
71
|
-
className: "min-w-0 grow truncate
|
|
71
|
+
className: "text-ui-fg-muted min-w-0 grow truncate",
|
|
72
72
|
children: e.doing
|
|
73
73
|
})
|
|
74
74
|
]
|
|
75
75
|
}), p = ({ snapshot: l }) => {
|
|
76
76
|
if (!l) return /* @__PURE__ */ i("div", {
|
|
77
|
-
className: "py-4 text-center text-xs
|
|
77
|
+
className: "text-ui-fg-subtle py-4 text-center text-xs italic",
|
|
78
78
|
children: "No run of agents behind this page: only a run's preview (npm run start:preview) has one"
|
|
79
79
|
});
|
|
80
80
|
let p = l.total === 0 ? 0 : Math.round(l.done / l.total * 100), m = [...s.map((e) => ({
|
|
@@ -98,21 +98,21 @@ var o = (e) => `${e.slice(11, 16)} UTC`, s = [
|
|
|
98
98
|
/* @__PURE__ */ i("i", { className: "fa-solid fa-people-group mr-2 text-violet-500" }),
|
|
99
99
|
l.runId,
|
|
100
100
|
/* @__PURE__ */ i("span", {
|
|
101
|
-
className: "ml-2 rounded
|
|
101
|
+
className: "bg-ui-raised text-ui-fg-subtle ml-2 rounded px-1.5 py-0.5 text-[10px] font-medium uppercase",
|
|
102
102
|
children: l.status
|
|
103
103
|
})
|
|
104
104
|
]
|
|
105
105
|
}), /* @__PURE__ */ a("span", {
|
|
106
|
-
className: "shrink-0 text-[10px]
|
|
106
|
+
className: "text-ui-fg-subtle shrink-0 text-[10px]",
|
|
107
107
|
children: ["as of ", o(l.at)]
|
|
108
108
|
})]
|
|
109
109
|
}),
|
|
110
110
|
/* @__PURE__ */ i("span", {
|
|
111
|
-
className: "text-
|
|
111
|
+
className: "text-ui-fg-subtle text-[11px]",
|
|
112
112
|
children: l.goal
|
|
113
113
|
}),
|
|
114
114
|
/* @__PURE__ */ i("div", {
|
|
115
|
-
className: "h-1.5 w-full overflow-hidden rounded-full
|
|
115
|
+
className: "bg-ui-active h-1.5 w-full overflow-hidden rounded-full",
|
|
116
116
|
role: "progressbar",
|
|
117
117
|
"aria-valuenow": p,
|
|
118
118
|
"aria-valuemin": 0,
|
|
@@ -124,7 +124,7 @@ var o = (e) => `${e.slice(11, 16)} UTC`, s = [
|
|
|
124
124
|
})
|
|
125
125
|
}),
|
|
126
126
|
/* @__PURE__ */ a("span", {
|
|
127
|
-
className: "text-
|
|
127
|
+
className: "text-ui-fg-subtle text-[11px]",
|
|
128
128
|
children: [
|
|
129
129
|
l.done,
|
|
130
130
|
" of ",
|
|
@@ -145,9 +145,9 @@ var o = (e) => `${e.slice(11, 16)} UTC`, s = [
|
|
|
145
145
|
title: "Tasks",
|
|
146
146
|
count: l.tasks.length,
|
|
147
147
|
children: /* @__PURE__ */ i("div", {
|
|
148
|
-
className: "max-h-62 w-full overflow-y-auto rounded border
|
|
148
|
+
className: "border-ui-line max-h-62 w-full overflow-y-auto rounded border",
|
|
149
149
|
children: m.map((e) => /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ a("div", {
|
|
150
|
-
className: "sticky top-0 z-10 border-b
|
|
150
|
+
className: "border-ui-line bg-ui-panel text-ui-fg-subtle sticky top-0 z-10 border-b px-2 py-0.5 text-[10px] font-semibold tracking-wider uppercase",
|
|
151
151
|
children: [
|
|
152
152
|
e.label,
|
|
153
153
|
" ",
|
|
@@ -184,7 +184,7 @@ var o = (e) => `${e.slice(11, 16)} UTC`, s = [
|
|
|
184
184
|
h.length > 0 && /* @__PURE__ */ a("section", {
|
|
185
185
|
className: "flex min-h-32 flex-1 flex-col gap-1",
|
|
186
186
|
children: [/* @__PURE__ */ a("h3", {
|
|
187
|
-
className: "text-[10px] font-semibold tracking-wider
|
|
187
|
+
className: "text-ui-fg-subtle text-[10px] font-semibold tracking-wider uppercase",
|
|
188
188
|
children: ["Activity ", /* @__PURE__ */ a("span", {
|
|
189
189
|
className: "ml-1 font-normal",
|
|
190
190
|
children: [
|
|
@@ -194,12 +194,12 @@ var o = (e) => `${e.slice(11, 16)} UTC`, s = [
|
|
|
194
194
|
]
|
|
195
195
|
})]
|
|
196
196
|
}), /* @__PURE__ */ i("div", {
|
|
197
|
-
className: "flex min-h-0 flex-1 flex-col gap-0.5 overflow-y-auto rounded border
|
|
197
|
+
className: "border-ui-line flex min-h-0 flex-1 flex-col gap-0.5 overflow-y-auto rounded border p-1.5",
|
|
198
198
|
children: h.map((e) => /* @__PURE__ */ a("div", {
|
|
199
199
|
className: "flex gap-2 text-[11px]",
|
|
200
200
|
children: [
|
|
201
201
|
/* @__PURE__ */ i("span", {
|
|
202
|
-
className: "shrink-0
|
|
202
|
+
className: "text-ui-fg-subtle shrink-0",
|
|
203
203
|
children: e.at.slice(11, 16)
|
|
204
204
|
}),
|
|
205
205
|
/* @__PURE__ */ i("span", {
|
|
@@ -207,7 +207,7 @@ var o = (e) => `${e.slice(11, 16)} UTC`, s = [
|
|
|
207
207
|
children: e.by
|
|
208
208
|
}),
|
|
209
209
|
/* @__PURE__ */ i("span", {
|
|
210
|
-
className: n("min-w-0 grow", e.kind === "problem" ? "text-red-600 dark:text-red-400" : "text-
|
|
210
|
+
className: n("min-w-0 grow", e.kind === "problem" ? "text-red-600 dark:text-red-400" : "text-ui-fg-muted"),
|
|
211
211
|
title: e.detail,
|
|
212
212
|
children: e.text
|
|
213
213
|
})
|
|
@@ -22,15 +22,15 @@ var b = {
|
|
|
22
22
|
overflow: "auto",
|
|
23
23
|
padding: "8px",
|
|
24
24
|
fontSize: "14px"
|
|
25
|
-
}, x = (e) => l("cursor-pointer rounded px-2 py-0.5 font-medium transition-colors", e ? "bg-violet-500/15 text-violet-600 dark:text-violet-300" : "text-
|
|
25
|
+
}, x = (e) => l("cursor-pointer rounded px-2 py-0.5 font-medium transition-colors", e ? "bg-violet-500/15 text-violet-600 dark:text-violet-300" : "text-ui-fg-subtle hover:bg-ui-hover/70 hover:text-ui-fg"), S = {}, C = [], w = ({ elementSelected: l }) => {
|
|
26
26
|
let { resolvedTheme: y } = p(), { getData: w } = u(h), T = o(), E = a(), [D, O] = c("plitzi-sdk.dev-tools.store.view", "own"), k = s(l ? void 0 : E, D === "merged"), A = d(() => O("own"), [O]), j = d(() => O("merged"), [O]), M = l ? w?.(`getElementDataSource-${l}`) : k, N = f(() => n(M), [M]), P = f(() => T ? [T] : C, [T]), F = e(P)[0]?.records ?? S, I = f(() => Object.values(F).reduce((e, t) => Math.max(e, t.updatedAt), 0), [F]), L = t(Object.keys(F).length > 0, I), R = f(() => r(F, L), [F, L]);
|
|
27
27
|
return /* @__PURE__ */ _("div", {
|
|
28
28
|
className: "flex h-full w-full flex-col",
|
|
29
29
|
children: [!l && /* @__PURE__ */ _("div", {
|
|
30
|
-
className: "flex shrink-0 items-center gap-1 border-b
|
|
30
|
+
className: "border-ui-line flex shrink-0 items-center gap-1 border-b px-2 py-1 text-[11px]",
|
|
31
31
|
children: [
|
|
32
32
|
/* @__PURE__ */ g("span", {
|
|
33
|
-
className: "
|
|
33
|
+
className: "text-ui-fg-subtle mr-1",
|
|
34
34
|
children: "View"
|
|
35
35
|
}),
|
|
36
36
|
/* @__PURE__ */ g("button", {
|
|
@@ -77,11 +77,11 @@ var v = () => {
|
|
|
77
77
|
onSelect: G
|
|
78
78
|
}),
|
|
79
79
|
T !== "hotspots" && V && /* @__PURE__ */ g("div", {
|
|
80
|
-
className: "flex grow flex-col items-center justify-center gap-3 px-6 text-center
|
|
80
|
+
className: "text-ui-fg-subtle flex grow flex-col items-center justify-center gap-3 px-6 text-center",
|
|
81
81
|
children: [
|
|
82
82
|
/* @__PURE__ */ h("i", { className: "fa-solid fa-server text-3xl opacity-30" }),
|
|
83
83
|
/* @__PURE__ */ h("span", {
|
|
84
|
-
className: "text-
|
|
84
|
+
className: "text-ui-fg-muted text-sm font-medium",
|
|
85
85
|
children: "Server render (SSR)"
|
|
86
86
|
}),
|
|
87
87
|
/* @__PURE__ */ g("span", {
|
|
@@ -140,14 +140,14 @@ var v = () => {
|
|
|
140
140
|
onViewChange: E,
|
|
141
141
|
onPersistChange: O
|
|
142
142
|
}), /* @__PURE__ */ g("div", {
|
|
143
|
-
className: "flex grow flex-col items-center justify-center gap-2
|
|
143
|
+
className: "text-ui-fg-subtle flex grow flex-col items-center justify-center gap-2",
|
|
144
144
|
children: [/* @__PURE__ */ h("i", { className: "fa-solid fa-chart-column text-3xl opacity-20" }), /* @__PURE__ */ h("span", {
|
|
145
145
|
className: "text-xs",
|
|
146
146
|
children: "No commits recorded yet — interact with the page"
|
|
147
147
|
})]
|
|
148
148
|
})]
|
|
149
149
|
}) : /* @__PURE__ */ g("div", {
|
|
150
|
-
className: "flex h-full w-full flex-col items-center justify-center gap-2
|
|
150
|
+
className: "text-ui-fg-subtle flex h-full w-full flex-col items-center justify-center gap-2",
|
|
151
151
|
children: [/* @__PURE__ */ h("i", { className: "fa-solid fa-gauge-high text-3xl opacity-20" }), /* @__PURE__ */ h("span", {
|
|
152
152
|
className: "text-xs",
|
|
153
153
|
children: "Enable debugMode to record render tracing"
|
package/dist/components/DevToolsPanel/tabs/TracingViewer/components/CommitCause/CommitCause.mjs
CHANGED
|
@@ -9,7 +9,7 @@ var i = 6, a = ({ commit: a, model: o, active: s, onSelectElement: c }) => {
|
|
|
9
9
|
className: "flex flex-wrap items-center gap-1",
|
|
10
10
|
children: [
|
|
11
11
|
/* @__PURE__ */ n("span", {
|
|
12
|
-
className: "mr-0.5 font-medium tracking-wide
|
|
12
|
+
className: "text-ui-fg-subtle mr-0.5 font-medium tracking-wide uppercase",
|
|
13
13
|
children: "Triggered by"
|
|
14
14
|
}),
|
|
15
15
|
u.map((t) => /* @__PURE__ */ r("button", {
|
|
@@ -22,7 +22,7 @@ var i = 6, a = ({ commit: a, model: o, active: s, onSelectElement: c }) => {
|
|
|
22
22
|
})]
|
|
23
23
|
}, t.id)),
|
|
24
24
|
d > 0 && /* @__PURE__ */ r("span", {
|
|
25
|
-
className: "text-
|
|
25
|
+
className: "text-ui-fg-subtle",
|
|
26
26
|
children: ["+", d]
|
|
27
27
|
})
|
|
28
28
|
]
|
|
@@ -30,19 +30,19 @@ var i = 6, a = ({ commit: a, model: o, active: s, onSelectElement: c }) => {
|
|
|
30
30
|
className: "flex flex-wrap items-center gap-1",
|
|
31
31
|
children: [
|
|
32
32
|
/* @__PURE__ */ n("span", {
|
|
33
|
-
className: "mr-0.5 font-medium tracking-wide
|
|
33
|
+
className: "text-ui-fg-subtle mr-0.5 font-medium tracking-wide uppercase",
|
|
34
34
|
children: "Store write"
|
|
35
35
|
}),
|
|
36
36
|
f.map((e) => /* @__PURE__ */ r("span", {
|
|
37
37
|
title: e.preview ? `${e.path}\n${e.preview}` : e.path,
|
|
38
|
-
className: "max-w-56 truncate rounded bg-zinc-500/10 px-1 py-0.5 font-mono text-[9px]
|
|
38
|
+
className: "text-ui-fg-muted max-w-56 truncate rounded bg-zinc-500/10 px-1 py-0.5 font-mono text-[9px]",
|
|
39
39
|
children: [e.path, e.preview && /* @__PURE__ */ n("span", {
|
|
40
|
-
className: "
|
|
40
|
+
className: "text-ui-fg-subtle ml-1",
|
|
41
41
|
children: e.preview
|
|
42
42
|
})]
|
|
43
43
|
}, e.path)),
|
|
44
44
|
p > 0 && /* @__PURE__ */ r("span", {
|
|
45
|
-
className: "text-
|
|
45
|
+
className: "text-ui-fg-subtle",
|
|
46
46
|
children: ["+", p]
|
|
47
47
|
})
|
|
48
48
|
]
|
package/dist/components/DevToolsPanel/tabs/TracingViewer/components/CommitStrip/CommitStrip.mjs
CHANGED
|
@@ -22,7 +22,7 @@ var p = 6, m = ({ commits: m, selectedIndex: h, hydrated: g, onSelect: _ }) => {
|
|
|
22
22
|
_
|
|
23
23
|
]);
|
|
24
24
|
return /* @__PURE__ */ f("div", {
|
|
25
|
-
className: "flex shrink-0 flex-col border-b
|
|
25
|
+
className: "border-ui-line bg-ui-panel flex shrink-0 flex-col border-b",
|
|
26
26
|
children: [/* @__PURE__ */ d("div", {
|
|
27
27
|
role: "listbox",
|
|
28
28
|
"aria-label": "Commits, total render time",
|
|
@@ -49,7 +49,7 @@ var p = 6, m = ({ commits: m, selectedIndex: h, hydrated: g, onSelect: _ }) => {
|
|
|
49
49
|
}), /* @__PURE__ */ d("span", {
|
|
50
50
|
className: o("text-[8px] leading-none font-semibold", {
|
|
51
51
|
"text-violet-600 dark:text-violet-300": m === "ssr" || m === "hydration",
|
|
52
|
-
"text-
|
|
52
|
+
"text-ui-fg-subtle": m === "mount" || m === "mixed",
|
|
53
53
|
"text-transparent": m === "update"
|
|
54
54
|
}),
|
|
55
55
|
children: e[m]
|
|
@@ -57,11 +57,11 @@ var p = 6, m = ({ commits: m, selectedIndex: h, hydrated: g, onSelect: _ }) => {
|
|
|
57
57
|
}, n.commitId);
|
|
58
58
|
})
|
|
59
59
|
}), /* @__PURE__ */ d("div", {
|
|
60
|
-
className: "flex items-center gap-x-3 gap-y-0.5 overflow-x-auto px-2 pb-1 text-[9px]
|
|
60
|
+
className: "text-ui-fg-subtle flex items-center gap-x-3 gap-y-0.5 overflow-x-auto px-2 pb-1 text-[9px]",
|
|
61
61
|
children: n.map((t) => /* @__PURE__ */ f("span", {
|
|
62
62
|
className: "flex shrink-0 items-center gap-1",
|
|
63
63
|
children: [/* @__PURE__ */ d("span", {
|
|
64
|
-
className: "
|
|
64
|
+
className: "text-ui-fg-muted font-semibold",
|
|
65
65
|
children: e[t.origin]
|
|
66
66
|
}), t.label]
|
|
67
67
|
}, t.origin))
|
package/dist/components/DevToolsPanel/tabs/TracingViewer/components/DetailSidebar/DetailSidebar.mjs
CHANGED
|
@@ -11,7 +11,7 @@ var c = ({ node: c, commit: l, model: u }) => /* @__PURE__ */ s(a, { children: [
|
|
|
11
11
|
style: c.state === "hatched" ? e : void 0
|
|
12
12
|
}),
|
|
13
13
|
/* @__PURE__ */ o("span", {
|
|
14
|
-
className: "truncate text-xs font-medium
|
|
14
|
+
className: "text-ui-fg truncate text-xs font-medium",
|
|
15
15
|
children: c.name
|
|
16
16
|
}),
|
|
17
17
|
!c.visible && /* @__PURE__ */ o("i", {
|
|
@@ -21,7 +21,7 @@ var c = ({ node: c, commit: l, model: u }) => /* @__PURE__ */ s(a, { children: [
|
|
|
21
21
|
]
|
|
22
22
|
}),
|
|
23
23
|
/* @__PURE__ */ o("span", {
|
|
24
|
-
className: "
|
|
24
|
+
className: "text-ui-fg-subtle truncate",
|
|
25
25
|
children: c.type
|
|
26
26
|
}),
|
|
27
27
|
!c.visible && /* @__PURE__ */ o("span", {
|
|
@@ -31,7 +31,7 @@ var c = ({ node: c, commit: l, model: u }) => /* @__PURE__ */ s(a, { children: [
|
|
|
31
31
|
/* @__PURE__ */ s("span", {
|
|
32
32
|
className: i("w-fit rounded px-1 py-0.5 text-[9px]", {
|
|
33
33
|
"bg-emerald-500/15 text-emerald-600 dark:text-emerald-400": c.state === "rendered",
|
|
34
|
-
"bg-zinc-500/15
|
|
34
|
+
"text-ui-fg-subtle bg-zinc-500/15": c.state !== "rendered"
|
|
35
35
|
}),
|
|
36
36
|
children: [
|
|
37
37
|
c.state === "rendered" && `rendered · ${c.phase ?? "update"}`,
|
|
@@ -45,90 +45,90 @@ var c = ({ node: c, commit: l, model: u }) => /* @__PURE__ */ s(a, { children: [
|
|
|
45
45
|
children: [/* @__PURE__ */ o("i", { className: "fa-solid fa-bolt mr-1" }), "trigger"]
|
|
46
46
|
}),
|
|
47
47
|
/* @__PURE__ */ o("div", {
|
|
48
|
-
className: "mt-1 font-medium tracking-wide
|
|
48
|
+
className: "text-ui-fg-subtle mt-1 font-medium tracking-wide uppercase",
|
|
49
49
|
children: "Durations"
|
|
50
50
|
}),
|
|
51
51
|
/* @__PURE__ */ s("div", {
|
|
52
52
|
className: "flex justify-between gap-2",
|
|
53
53
|
children: [/* @__PURE__ */ o("span", {
|
|
54
|
-
className: "text-
|
|
54
|
+
className: "text-ui-fg-subtle",
|
|
55
55
|
children: "Self"
|
|
56
56
|
}), /* @__PURE__ */ o("span", {
|
|
57
|
-
className: "text-
|
|
57
|
+
className: "text-ui-fg tabular-nums",
|
|
58
58
|
children: t(c.selfDuration)
|
|
59
59
|
})]
|
|
60
60
|
}),
|
|
61
61
|
/* @__PURE__ */ s("div", {
|
|
62
62
|
className: "flex justify-between gap-2",
|
|
63
63
|
children: [/* @__PURE__ */ o("span", {
|
|
64
|
-
className: "text-
|
|
64
|
+
className: "text-ui-fg-subtle",
|
|
65
65
|
children: "Total (subtree)"
|
|
66
66
|
}), /* @__PURE__ */ o("span", {
|
|
67
|
-
className: "text-
|
|
67
|
+
className: "text-ui-fg tabular-nums",
|
|
68
68
|
children: t(c.actualDuration)
|
|
69
69
|
})]
|
|
70
70
|
}),
|
|
71
71
|
/* @__PURE__ */ s("div", {
|
|
72
72
|
className: "flex justify-between gap-2",
|
|
73
73
|
children: [/* @__PURE__ */ o("span", {
|
|
74
|
-
className: "text-
|
|
74
|
+
className: "text-ui-fg-subtle",
|
|
75
75
|
children: "Base"
|
|
76
76
|
}), /* @__PURE__ */ o("span", {
|
|
77
|
-
className: "text-
|
|
77
|
+
className: "text-ui-fg tabular-nums",
|
|
78
78
|
children: t(c.baseDuration)
|
|
79
79
|
})]
|
|
80
80
|
}),
|
|
81
81
|
/* @__PURE__ */ s("div", {
|
|
82
82
|
className: "flex justify-between gap-2",
|
|
83
83
|
children: [/* @__PURE__ */ o("span", {
|
|
84
|
-
className: "text-
|
|
84
|
+
className: "text-ui-fg-subtle",
|
|
85
85
|
children: "% of commit"
|
|
86
86
|
}), /* @__PURE__ */ o("span", {
|
|
87
|
-
className: "text-
|
|
87
|
+
className: "text-ui-fg tabular-nums",
|
|
88
88
|
children: n(c.actualDuration / l.duration)
|
|
89
89
|
})]
|
|
90
90
|
}),
|
|
91
91
|
c.state === "rendered" && /* @__PURE__ */ s("div", {
|
|
92
92
|
className: "flex justify-between gap-2",
|
|
93
93
|
children: [/* @__PURE__ */ o("span", {
|
|
94
|
-
className: "text-
|
|
94
|
+
className: "text-ui-fg-subtle",
|
|
95
95
|
children: "% of work"
|
|
96
96
|
}), /* @__PURE__ */ o("span", {
|
|
97
|
-
className: "text-
|
|
97
|
+
className: "text-ui-fg tabular-nums",
|
|
98
98
|
children: n(u.totalSelf > 0 ? c.selfDuration / u.totalSelf : 0)
|
|
99
99
|
})]
|
|
100
100
|
}),
|
|
101
101
|
/* @__PURE__ */ s("div", {
|
|
102
|
-
className: "mt-1 font-medium tracking-wide
|
|
102
|
+
className: "text-ui-fg-subtle mt-1 font-medium tracking-wide uppercase",
|
|
103
103
|
children: ["Commit #", l.commitId]
|
|
104
104
|
}),
|
|
105
105
|
/* @__PURE__ */ s("div", {
|
|
106
106
|
className: "flex justify-between gap-2",
|
|
107
107
|
children: [/* @__PURE__ */ o("span", {
|
|
108
|
-
className: "text-
|
|
108
|
+
className: "text-ui-fg-subtle",
|
|
109
109
|
children: "Committed at"
|
|
110
110
|
}), /* @__PURE__ */ s("span", {
|
|
111
|
-
className: "text-
|
|
111
|
+
className: "text-ui-fg tabular-nums",
|
|
112
112
|
children: [(l.timestamp / 1e3).toFixed(1), "s"]
|
|
113
113
|
})]
|
|
114
114
|
}),
|
|
115
115
|
/* @__PURE__ */ s("div", {
|
|
116
116
|
className: "flex justify-between gap-2",
|
|
117
117
|
children: [/* @__PURE__ */ o("span", {
|
|
118
|
-
className: "text-
|
|
118
|
+
className: "text-ui-fg-subtle",
|
|
119
119
|
children: "Total"
|
|
120
120
|
}), /* @__PURE__ */ o("span", {
|
|
121
|
-
className: "text-
|
|
121
|
+
className: "text-ui-fg tabular-nums",
|
|
122
122
|
children: t(l.duration)
|
|
123
123
|
})]
|
|
124
124
|
}),
|
|
125
125
|
/* @__PURE__ */ s("div", {
|
|
126
126
|
className: "flex justify-between gap-2",
|
|
127
127
|
children: [/* @__PURE__ */ o("span", {
|
|
128
|
-
className: "text-
|
|
128
|
+
className: "text-ui-fg-subtle",
|
|
129
129
|
children: "Rendered"
|
|
130
130
|
}), /* @__PURE__ */ s("span", {
|
|
131
|
-
className: "text-
|
|
131
|
+
className: "text-ui-fg tabular-nums",
|
|
132
132
|
children: [
|
|
133
133
|
u.renderedCount,
|
|
134
134
|
" of ",
|
|
@@ -139,20 +139,20 @@ var c = ({ node: c, commit: l, model: u }) => /* @__PURE__ */ s(a, { children: [
|
|
|
139
139
|
/* @__PURE__ */ s("div", {
|
|
140
140
|
className: "flex justify-between gap-2",
|
|
141
141
|
children: [/* @__PURE__ */ o("span", {
|
|
142
|
-
className: "text-
|
|
142
|
+
className: "text-ui-fg-subtle",
|
|
143
143
|
children: "Triggers"
|
|
144
144
|
}), /* @__PURE__ */ o("span", {
|
|
145
|
-
className: "text-
|
|
145
|
+
className: "text-ui-fg tabular-nums",
|
|
146
146
|
children: u.triggers.length
|
|
147
147
|
})]
|
|
148
148
|
}),
|
|
149
149
|
c.state === "rendered" && /* @__PURE__ */ s(a, { children: [
|
|
150
150
|
/* @__PURE__ */ o("div", {
|
|
151
|
-
className: "mt-1 font-medium tracking-wide
|
|
151
|
+
className: "text-ui-fg-subtle mt-1 font-medium tracking-wide uppercase",
|
|
152
152
|
children: "Why it rendered"
|
|
153
153
|
}),
|
|
154
154
|
c.phase === "mount" && /* @__PURE__ */ o("span", {
|
|
155
|
-
className: "text-
|
|
155
|
+
className: "text-ui-fg-subtle italic",
|
|
156
156
|
children: "first mount"
|
|
157
157
|
}),
|
|
158
158
|
c.phase !== "mount" && c.changedProps === void 0 && /* @__PURE__ */ s("span", {
|
|
@@ -168,11 +168,11 @@ var c = ({ node: c, commit: l, model: u }) => /* @__PURE__ */ s(a, { children: [
|
|
|
168
168
|
children: [/* @__PURE__ */ o("i", { className: "fa-solid fa-triangle-exclamation mr-1" }), "no input changed — re-rendered by an ancestor"]
|
|
169
169
|
}),
|
|
170
170
|
c.changedProps?.map((e) => /* @__PURE__ */ s("div", {
|
|
171
|
-
className: "flex flex-col gap-0.5 border-l
|
|
171
|
+
className: "border-ui-line flex flex-col gap-0.5 border-l pl-1.5",
|
|
172
172
|
children: [/* @__PURE__ */ s("span", {
|
|
173
173
|
className: "flex flex-wrap items-center gap-1",
|
|
174
174
|
children: [/* @__PURE__ */ o("span", {
|
|
175
|
-
className: "font-mono text-[9px] font-medium break-all
|
|
175
|
+
className: "text-ui-fg-muted font-mono text-[9px] font-medium break-all",
|
|
176
176
|
children: e.key
|
|
177
177
|
}), e.ref && /* @__PURE__ */ o("span", {
|
|
178
178
|
className: "shrink-0 rounded bg-amber-500/15 px-1 text-[8px] text-amber-600 dark:text-amber-400",
|
|
@@ -182,13 +182,13 @@ var c = ({ node: c, commit: l, model: u }) => /* @__PURE__ */ s(a, { children: [
|
|
|
182
182
|
}), /* @__PURE__ */ s("div", {
|
|
183
183
|
className: "flex flex-col gap-0.5 font-mono text-[9px] leading-snug",
|
|
184
184
|
children: [/* @__PURE__ */ s("span", {
|
|
185
|
-
className: "
|
|
185
|
+
className: "text-ui-fg-subtle break-all",
|
|
186
186
|
children: [/* @__PURE__ */ o("span", {
|
|
187
187
|
className: "text-rose-400/70 select-none dark:text-rose-400/60",
|
|
188
188
|
children: "− "
|
|
189
189
|
}), e.prev]
|
|
190
190
|
}), /* @__PURE__ */ s("span", {
|
|
191
|
-
className: "
|
|
191
|
+
className: "text-ui-fg-muted break-all",
|
|
192
192
|
children: [/* @__PURE__ */ o("span", {
|
|
193
193
|
className: "text-emerald-500/80 select-none",
|
|
194
194
|
children: "+ "
|
|
@@ -3,7 +3,7 @@ import n from "clsx";
|
|
|
3
3
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
4
4
|
// src/components/DevToolsPanel/tabs/TracingViewer/components/DurationLegend/DurationLegend.tsx
|
|
5
5
|
var a = () => /* @__PURE__ */ i("div", {
|
|
6
|
-
className: "flex shrink-0 items-center gap-2 overflow-x-auto border-t
|
|
6
|
+
className: "border-ui-line text-ui-fg-subtle flex shrink-0 items-center gap-2 overflow-x-auto border-t px-2 py-1 text-[9px]",
|
|
7
7
|
children: [
|
|
8
8
|
/* @__PURE__ */ r("span", {
|
|
9
9
|
className: "font-medium",
|
|
@@ -20,7 +20,7 @@ var a = () => /* @__PURE__ */ i("div", {
|
|
|
20
20
|
/* @__PURE__ */ i("span", {
|
|
21
21
|
className: "flex shrink-0 items-center gap-1",
|
|
22
22
|
children: [/* @__PURE__ */ r("span", {
|
|
23
|
-
className: "h-2 w-2 rounded-sm border
|
|
23
|
+
className: "border-ui-line-strong/60 bg-ui-raised h-2 w-2 rounded-sm border",
|
|
24
24
|
style: { backgroundImage: "repeating-linear-gradient(45deg, rgba(113,113,122,0.4) 0, rgba(113,113,122,0.4) 1px, transparent 1px, transparent 3px)" }
|
|
25
25
|
}), "no render"]
|
|
26
26
|
}),
|