@plitzi/sdk-dev-tools 0.39.4 → 0.39.7
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
package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/LogInteractionNote.mjs
CHANGED
|
@@ -4,25 +4,25 @@ import n from "@plitzi/plitzi-ui/ContainerCollapsable";
|
|
|
4
4
|
var r = /* @__PURE__ */ e("i", { className: "fa-solid fa-angle-right text-[10px]" }), i = /* @__PURE__ */ e("i", { className: "fa-solid fa-angle-down text-[10px]" }), a = (e) => typeof e == "string" ? e : JSON.stringify(e), o = ({ label: n, children: r }) => /* @__PURE__ */ t("div", {
|
|
5
5
|
className: "flex gap-2",
|
|
6
6
|
children: [/* @__PURE__ */ e("span", {
|
|
7
|
-
className: "w-24 shrink-0
|
|
7
|
+
className: "text-ui-fg-subtle w-24 shrink-0",
|
|
8
8
|
children: n
|
|
9
9
|
}), /* @__PURE__ */ e("span", {
|
|
10
|
-
className: "min-w-0 grow break-words
|
|
10
|
+
className: "text-ui-fg min-w-0 grow break-words",
|
|
11
11
|
children: r
|
|
12
12
|
})]
|
|
13
13
|
}), s = ({ time: s, message: c, params: l }) => {
|
|
14
14
|
let { node: u, error: d, available: f, param: p, value: m } = l;
|
|
15
15
|
return /* @__PURE__ */ t(n, {
|
|
16
|
-
className: "last:border-b-none w-full border-b border-l-2 border-
|
|
16
|
+
className: "last:border-b-none border-b-ui-line hover:bg-ui-hover w-full border-b border-l-2 border-l-amber-500 px-2 py-1 transition-colors",
|
|
17
17
|
collapsed: !0,
|
|
18
18
|
children: [/* @__PURE__ */ e(n.Header, {
|
|
19
19
|
title: /* @__PURE__ */ t("div", {
|
|
20
20
|
className: "flex w-full items-center gap-2 overflow-hidden",
|
|
21
21
|
children: [/* @__PURE__ */ e("span", {
|
|
22
|
-
className: "shrink-0 font-mono
|
|
22
|
+
className: "text-ui-fg-subtle shrink-0 font-mono tabular-nums",
|
|
23
23
|
children: s
|
|
24
24
|
}), /* @__PURE__ */ e("div", {
|
|
25
|
-
className: "grow basis-0 truncate
|
|
25
|
+
className: "text-ui-fg grow basis-0 truncate",
|
|
26
26
|
children: c
|
|
27
27
|
})]
|
|
28
28
|
}),
|
|
@@ -34,7 +34,7 @@ var r = /* @__PURE__ */ e("i", { className: "fa-solid fa-angle-right text-[10px]
|
|
|
34
34
|
iconCollapsed: r,
|
|
35
35
|
iconExpanded: i
|
|
36
36
|
}), /* @__PURE__ */ e(n.Content, { children: /* @__PURE__ */ t("div", {
|
|
37
|
-
className: "mx-2 my-1.5 flex flex-col gap-1 rounded border
|
|
37
|
+
className: "border-ui-line mx-2 my-1.5 flex flex-col gap-1 rounded border px-3 py-2 text-xs",
|
|
38
38
|
children: [
|
|
39
39
|
u?.title && /* @__PURE__ */ e(o, {
|
|
40
40
|
label: "Step",
|
|
@@ -5,7 +5,7 @@ import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
|
5
5
|
import a from "@plitzi/plitzi-ui/ContainerCollapsable";
|
|
6
6
|
// src/components/DevToolsPanel/tabs/Logs/categories/LogNavigation/LogNavigation.tsx
|
|
7
7
|
var o = /* @__PURE__ */ r("i", { className: "fa-solid fa-angle-right text-[10px]" }), s = /* @__PURE__ */ r("i", { className: "fa-solid fa-angle-down text-[10px]" }), c = ({ time: c, message: l, params: u }) => /* @__PURE__ */ i(a, {
|
|
8
|
-
className: n("last:border-b-none w-full border-b border-l-2
|
|
8
|
+
className: n("last:border-b-none border-b-ui-line hover:bg-ui-hover w-full border-b border-l-2 px-2 py-1 transition-colors", {
|
|
9
9
|
"border-l-emerald-500": u?.status === "normal",
|
|
10
10
|
"border-l-red-500": u?.status === "accessDenied",
|
|
11
11
|
"border-l-amber-500": u?.status !== "normal" && u?.status === "accessDenied"
|
|
@@ -22,7 +22,7 @@ var o = /* @__PURE__ */ r("i", { className: "fa-solid fa-angle-right text-[10px]
|
|
|
22
22
|
iconCollapsed: o,
|
|
23
23
|
iconExpanded: s,
|
|
24
24
|
children: /* @__PURE__ */ r("span", {
|
|
25
|
-
className: "text-
|
|
25
|
+
className: "text-ui-fg-subtle",
|
|
26
26
|
children: "0ms"
|
|
27
27
|
})
|
|
28
28
|
}), /* @__PURE__ */ r(a.Content, { children: /* @__PURE__ */ r(e, {
|
package/dist/components/DevToolsPanel/tabs/Logs/categories/LogNavigation/LogNavigationBody.mjs
CHANGED
|
@@ -32,7 +32,7 @@ var o = ({ elementId: o, startTime: s, endTime: c, duration: l }) => {
|
|
|
32
32
|
]
|
|
33
33
|
})]
|
|
34
34
|
}),
|
|
35
|
-
/* @__PURE__ */ r("div", { className: "border-
|
|
35
|
+
/* @__PURE__ */ r("div", { className: "border-ui-line-strong border-r" }),
|
|
36
36
|
/* @__PURE__ */ i("div", {
|
|
37
37
|
className: "flex min-w-0 grow basis-0 flex-col gap-2",
|
|
38
38
|
children: [/* @__PURE__ */ i("div", {
|
package/dist/components/DevToolsPanel/tabs/Logs/categories/LogNavigation/LogNavigationHeader.mjs
CHANGED
|
@@ -24,7 +24,7 @@ var a = ({ status: a, message: o, time: s }) => {
|
|
|
24
24
|
className: "flex w-full items-center gap-2 overflow-hidden",
|
|
25
25
|
children: [
|
|
26
26
|
/* @__PURE__ */ n("span", {
|
|
27
|
-
className: "shrink-0 font-mono
|
|
27
|
+
className: "text-ui-fg-subtle shrink-0 font-mono tabular-nums",
|
|
28
28
|
children: typeof s == "string" ? s : i(s)
|
|
29
29
|
}),
|
|
30
30
|
/* @__PURE__ */ n(e, {
|
|
@@ -32,7 +32,7 @@ var a = ({ status: a, message: o, time: s }) => {
|
|
|
32
32
|
children: l
|
|
33
33
|
}),
|
|
34
34
|
/* @__PURE__ */ n("div", {
|
|
35
|
-
className: "grow basis-0 truncate
|
|
35
|
+
className: "text-ui-fg grow basis-0 truncate",
|
|
36
36
|
children: o
|
|
37
37
|
})
|
|
38
38
|
]
|
|
@@ -3,14 +3,14 @@ import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
|
3
3
|
import r from "@plitzi/plitzi-ui/ContainerCollapsable";
|
|
4
4
|
// src/components/DevToolsPanel/tabs/Logs/categories/LogNetwork/LogNetwork.tsx
|
|
5
5
|
var i = /* @__PURE__ */ t("i", { className: "fa-solid fa-angle-right text-[10px]" }), a = /* @__PURE__ */ t("i", { className: "fa-solid fa-angle-down text-[10px]" }), o = ({ time: o, message: s, params: { event: c, issues: l, payload: u } }) => /* @__PURE__ */ n(r, {
|
|
6
|
-
className: "last:border-b-none w-full border-b border-l-2 border-
|
|
6
|
+
className: "last:border-b-none border-b-ui-line hover:bg-ui-hover w-full border-b border-l-2 border-l-red-500 px-2 py-1 transition-colors",
|
|
7
7
|
collapsed: !0,
|
|
8
8
|
children: [/* @__PURE__ */ t(r.Header, {
|
|
9
9
|
title: /* @__PURE__ */ n("div", {
|
|
10
10
|
className: "flex w-full items-center gap-2 overflow-hidden",
|
|
11
11
|
children: [
|
|
12
12
|
/* @__PURE__ */ t("span", {
|
|
13
|
-
className: "shrink-0 font-mono
|
|
13
|
+
className: "text-ui-fg-subtle shrink-0 font-mono tabular-nums",
|
|
14
14
|
children: o
|
|
15
15
|
}),
|
|
16
16
|
/* @__PURE__ */ t(e, {
|
|
@@ -18,7 +18,7 @@ var i = /* @__PURE__ */ t("i", { className: "fa-solid fa-angle-right text-[10px]
|
|
|
18
18
|
children: "Invalid"
|
|
19
19
|
}),
|
|
20
20
|
/* @__PURE__ */ t("div", {
|
|
21
|
-
className: "grow basis-0 truncate
|
|
21
|
+
className: "text-ui-fg grow basis-0 truncate",
|
|
22
22
|
children: s
|
|
23
23
|
})
|
|
24
24
|
]
|
|
@@ -28,7 +28,7 @@ var i = /* @__PURE__ */ t("i", { className: "fa-solid fa-angle-right text-[10px]
|
|
|
28
28
|
iconCollapsed: i,
|
|
29
29
|
iconExpanded: a,
|
|
30
30
|
children: /* @__PURE__ */ t("span", {
|
|
31
|
-
className: "
|
|
31
|
+
className: "text-ui-fg-subtle font-mono",
|
|
32
32
|
children: c
|
|
33
33
|
})
|
|
34
34
|
}), /* @__PURE__ */ t(r.Content, { children: /* @__PURE__ */ n("div", {
|
|
@@ -39,11 +39,11 @@ var i = /* @__PURE__ */ t("i", { className: "fa-solid fa-angle-right text-[10px]
|
|
|
39
39
|
className: "font-mono text-red-600 dark:text-red-400",
|
|
40
40
|
children: e.path || "(root)"
|
|
41
41
|
}), /* @__PURE__ */ t("span", {
|
|
42
|
-
className: "text-
|
|
42
|
+
className: "text-ui-fg-muted",
|
|
43
43
|
children: e.message
|
|
44
44
|
})]
|
|
45
45
|
}, `${e.path}-${e.message}`)), u !== void 0 && /* @__PURE__ */ t("pre", {
|
|
46
|
-
className: "mt-1 overflow-x-auto rounded
|
|
46
|
+
className: "bg-ui-raised text-ui-fg-muted mt-1 overflow-x-auto rounded p-2 text-[11px]",
|
|
47
47
|
children: JSON.stringify(u, null, 2)
|
|
48
48
|
})]
|
|
49
49
|
}) })]
|
|
@@ -21,14 +21,14 @@ var i = /* @__PURE__ */ t("i", { className: "fa-solid fa-angle-right text-[10px]
|
|
|
21
21
|
case "refused": return { reason: e.reason };
|
|
22
22
|
}
|
|
23
23
|
}, c = ({ logType: c, time: l, message: u, params: d }) => /* @__PURE__ */ n(r, {
|
|
24
|
-
className: "last:border-b-none w-full border-b border-l-2 border-
|
|
24
|
+
className: "last:border-b-none border-b-ui-line hover:bg-ui-hover w-full border-b border-l-2 border-l-sky-500 px-2 py-1 transition-colors",
|
|
25
25
|
collapsed: !0,
|
|
26
26
|
children: [/* @__PURE__ */ t(r.Header, {
|
|
27
27
|
title: /* @__PURE__ */ n("div", {
|
|
28
28
|
className: "flex w-full items-center gap-2 overflow-hidden",
|
|
29
29
|
children: [
|
|
30
30
|
/* @__PURE__ */ t("span", {
|
|
31
|
-
className: "shrink-0 font-mono
|
|
31
|
+
className: "text-ui-fg-subtle shrink-0 font-mono tabular-nums",
|
|
32
32
|
children: l
|
|
33
33
|
}),
|
|
34
34
|
/* @__PURE__ */ t(e, {
|
|
@@ -36,7 +36,7 @@ var i = /* @__PURE__ */ t("i", { className: "fa-solid fa-angle-right text-[10px]
|
|
|
36
36
|
children: o[d.event]
|
|
37
37
|
}),
|
|
38
38
|
/* @__PURE__ */ t("div", {
|
|
39
|
-
className: "grow basis-0 truncate
|
|
39
|
+
className: "text-ui-fg grow basis-0 truncate",
|
|
40
40
|
children: u
|
|
41
41
|
})
|
|
42
42
|
]
|
|
@@ -46,11 +46,11 @@ var i = /* @__PURE__ */ t("i", { className: "fa-solid fa-angle-right text-[10px]
|
|
|
46
46
|
iconCollapsed: i,
|
|
47
47
|
iconExpanded: a,
|
|
48
48
|
children: /* @__PURE__ */ t("span", {
|
|
49
|
-
className: "
|
|
49
|
+
className: "text-ui-fg-subtle font-mono",
|
|
50
50
|
children: "realtime"
|
|
51
51
|
})
|
|
52
52
|
}), /* @__PURE__ */ t(r.Content, { children: /* @__PURE__ */ t("pre", {
|
|
53
|
-
className: "mt-1 overflow-x-auto rounded
|
|
53
|
+
className: "bg-ui-raised text-ui-fg-muted mt-1 overflow-x-auto rounded p-2 text-[11px]",
|
|
54
54
|
children: JSON.stringify(s(d), null, 2)
|
|
55
55
|
}) })]
|
|
56
56
|
});
|
|
@@ -4,7 +4,7 @@ import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
|
4
4
|
import i from "@plitzi/plitzi-ui/ContainerCollapsable";
|
|
5
5
|
// src/components/DevToolsPanel/tabs/Logs/categories/LogStore/LogStore.tsx
|
|
6
6
|
var a = /* @__PURE__ */ n("i", { className: "fa-solid fa-angle-right text-[10px]" }), o = /* @__PURE__ */ n("i", { className: "fa-solid fa-angle-down text-[10px]" }), s = ({ time: s, message: c, params: l }) => /* @__PURE__ */ r(i, {
|
|
7
|
-
className: "last:border-b-none w-full border-b border-l-2 border-
|
|
7
|
+
className: "last:border-b-none border-b-ui-line hover:bg-ui-hover w-full border-b border-l-2 border-l-violet-500 px-2 py-1 transition-colors",
|
|
8
8
|
collapsed: !0,
|
|
9
9
|
children: [/* @__PURE__ */ n(i.Header, {
|
|
10
10
|
title: /* @__PURE__ */ n(t, {
|
|
@@ -25,23 +25,23 @@ var f = ({ path: f, prev: p, next: m, contextLines: h = 10 }) => {
|
|
|
25
25
|
a(() => D(), [y]);
|
|
26
26
|
let O = i(() => E(-1), [E]), k = i(() => E(1), [E]);
|
|
27
27
|
return /* @__PURE__ */ d("div", {
|
|
28
|
-
className: "mx-2 my-1.5 flex flex-col gap-2 rounded border
|
|
28
|
+
className: "border-ui-line bg-ui-raised mx-2 my-1.5 flex flex-col gap-2 rounded border font-mono",
|
|
29
29
|
children: [/* @__PURE__ */ d("div", {
|
|
30
|
-
className: "flex items-center justify-between border-b
|
|
30
|
+
className: "border-ui-line flex items-center justify-between border-b px-2 py-1",
|
|
31
31
|
children: [/* @__PURE__ */ d("div", {
|
|
32
32
|
className: "flex min-w-0 items-center gap-1.5",
|
|
33
33
|
children: [/* @__PURE__ */ u("span", {
|
|
34
|
-
className: "
|
|
34
|
+
className: "text-ui-fg-subtle shrink-0",
|
|
35
35
|
children: "path"
|
|
36
36
|
}), /* @__PURE__ */ u("span", {
|
|
37
|
-
className: "
|
|
37
|
+
className: "text-ui-fg-subtle truncate",
|
|
38
38
|
children: f ?? "(full state)"
|
|
39
39
|
})]
|
|
40
40
|
}), /* @__PURE__ */ d("div", {
|
|
41
41
|
className: "flex shrink-0 items-center gap-2",
|
|
42
42
|
children: [
|
|
43
43
|
S && /* @__PURE__ */ d("span", {
|
|
44
|
-
className: "text-
|
|
44
|
+
className: "text-ui-fg-subtle tabular-nums",
|
|
45
45
|
children: [
|
|
46
46
|
_ + 1,
|
|
47
47
|
"/",
|
|
@@ -49,13 +49,13 @@ var f = ({ path: f, prev: p, next: m, contextLines: h = 10 }) => {
|
|
|
49
49
|
]
|
|
50
50
|
}),
|
|
51
51
|
/* @__PURE__ */ u("button", {
|
|
52
|
-
className: r("
|
|
52
|
+
className: r("bg-ui-active text-ui-fg-muted hover:bg-ui-hover rounded px-2 py-0.5 text-xs transition-colors", { "cursor-not-allowed opacity-30 dark:cursor-not-allowed dark:opacity-30": !S || C }),
|
|
53
53
|
disabled: !S || C,
|
|
54
54
|
onClick: O,
|
|
55
55
|
children: "↑ Prev"
|
|
56
56
|
}),
|
|
57
57
|
/* @__PURE__ */ u("button", {
|
|
58
|
-
className: r("
|
|
58
|
+
className: r("bg-ui-active text-ui-fg-muted hover:bg-ui-hover rounded px-2 py-0.5 text-xs transition-colors", { "cursor-not-allowed opacity-30 dark:cursor-not-allowed dark:opacity-30": !S || w }),
|
|
59
59
|
disabled: !S || w,
|
|
60
60
|
onClick: k,
|
|
61
61
|
children: "↓ Next"
|
|
@@ -64,9 +64,9 @@ var f = ({ path: f, prev: p, next: m, contextLines: h = 10 }) => {
|
|
|
64
64
|
})]
|
|
65
65
|
}), /* @__PURE__ */ d("pre", {
|
|
66
66
|
ref: g,
|
|
67
|
-
className: "max-h-64 overflow-auto
|
|
67
|
+
className: "bg-ui-raised max-h-64 overflow-auto text-xs leading-5",
|
|
68
68
|
children: [!S && /* @__PURE__ */ u("div", {
|
|
69
|
-
className: "px-3 py-2
|
|
69
|
+
className: "text-ui-fg-subtle px-3 py-2 italic",
|
|
70
70
|
children: "No changes"
|
|
71
71
|
}), x.map((e, t) => {
|
|
72
72
|
if (e.kind === "separator") {
|
|
@@ -75,7 +75,7 @@ var f = ({ path: f, prev: p, next: m, contextLines: h = 10 }) => {
|
|
|
75
75
|
"data-hunk": e.hunkIndex,
|
|
76
76
|
className: r("px-3", {
|
|
77
77
|
"bg-violet-50 text-violet-600 dark:bg-violet-900/40 dark:text-violet-400": n,
|
|
78
|
-
"text-
|
|
78
|
+
"text-ui-fg-subtle": !n
|
|
79
79
|
}),
|
|
80
80
|
children: [
|
|
81
81
|
"@@ hunk ",
|
|
@@ -102,7 +102,7 @@ var f = ({ path: f, prev: p, next: m, contextLines: h = 10 }) => {
|
|
|
102
102
|
}),
|
|
103
103
|
children: ["+ ", n.text]
|
|
104
104
|
}, i) : /* @__PURE__ */ d("div", {
|
|
105
|
-
className: "
|
|
105
|
+
className: "text-ui-fg-subtle px-3",
|
|
106
106
|
children: [" ", n.text]
|
|
107
107
|
}, i);
|
|
108
108
|
})]
|
|
@@ -6,7 +6,7 @@ var i = ({ storeName: i, path: a, message: o, time: s }) => /* @__PURE__ */ n("d
|
|
|
6
6
|
className: "flex w-full items-center gap-2 overflow-hidden",
|
|
7
7
|
children: [
|
|
8
8
|
/* @__PURE__ */ t("span", {
|
|
9
|
-
className: "shrink-0 font-mono
|
|
9
|
+
className: "text-ui-fg-subtle shrink-0 font-mono tabular-nums",
|
|
10
10
|
children: typeof s == "string" ? s : r(s)
|
|
11
11
|
}),
|
|
12
12
|
/* @__PURE__ */ t(e, {
|
|
@@ -14,11 +14,11 @@ var i = ({ storeName: i, path: a, message: o, time: s }) => /* @__PURE__ */ n("d
|
|
|
14
14
|
children: "Store"
|
|
15
15
|
}),
|
|
16
16
|
i && /* @__PURE__ */ t("span", {
|
|
17
|
-
className: "shrink-0 font-semibold
|
|
17
|
+
className: "text-ui-fg shrink-0 font-semibold",
|
|
18
18
|
children: i
|
|
19
19
|
}),
|
|
20
20
|
/* @__PURE__ */ t("span", {
|
|
21
|
-
className: "truncate font-mono
|
|
21
|
+
className: "text-ui-fg-subtle truncate font-mono",
|
|
22
22
|
children: a ?? o ?? "(full state)"
|
|
23
23
|
})
|
|
24
24
|
]
|
|
@@ -17,12 +17,12 @@ var a = {
|
|
|
17
17
|
return /* @__PURE__ */ i("div", {
|
|
18
18
|
className: "flex h-full grow basis-0 flex-col overflow-y-auto p-4",
|
|
19
19
|
children: [/* @__PURE__ */ i("div", {
|
|
20
|
-
className: "mb-4 border-b
|
|
20
|
+
className: "border-ui-line mb-4 border-b pb-3",
|
|
21
21
|
children: [/* @__PURE__ */ r("div", {
|
|
22
|
-
className: "text-
|
|
22
|
+
className: "text-ui-fg text-base font-semibold",
|
|
23
23
|
children: s
|
|
24
24
|
}), /* @__PURE__ */ r("div", {
|
|
25
|
-
className: "text-
|
|
25
|
+
className: "text-ui-fg-subtle text-xs",
|
|
26
26
|
children: a[c].label
|
|
27
27
|
})]
|
|
28
28
|
}), /* @__PURE__ */ i("div", {
|
|
@@ -31,43 +31,43 @@ var a = {
|
|
|
31
31
|
/* @__PURE__ */ i("div", {
|
|
32
32
|
className: "flex flex-col gap-0.5",
|
|
33
33
|
children: [/* @__PURE__ */ r("span", {
|
|
34
|
-
className: "text-xs font-medium tracking-wider
|
|
34
|
+
className: "text-ui-fg-subtle text-xs font-medium tracking-wider uppercase",
|
|
35
35
|
children: "Where it comes from"
|
|
36
36
|
}), /* @__PURE__ */ r("span", {
|
|
37
|
-
className: "text-
|
|
37
|
+
className: "text-ui-fg text-xs",
|
|
38
38
|
children: a[c].hint
|
|
39
39
|
})]
|
|
40
40
|
}),
|
|
41
41
|
/* @__PURE__ */ i("div", {
|
|
42
42
|
className: "flex flex-col gap-0.5",
|
|
43
43
|
children: [/* @__PURE__ */ r("span", {
|
|
44
|
-
className: "text-xs font-medium tracking-wider
|
|
44
|
+
className: "text-ui-fg-subtle text-xs font-medium tracking-wider uppercase",
|
|
45
45
|
children: "Version"
|
|
46
46
|
}), /* @__PURE__ */ r("span", {
|
|
47
|
-
className: "font-mono text-xs
|
|
47
|
+
className: "text-ui-fg font-mono text-xs",
|
|
48
48
|
children: l ?? "—"
|
|
49
49
|
})]
|
|
50
50
|
}),
|
|
51
51
|
/* @__PURE__ */ i("div", {
|
|
52
52
|
className: "flex flex-col gap-0.5",
|
|
53
53
|
children: [/* @__PURE__ */ r("span", {
|
|
54
|
-
className: "text-xs font-medium tracking-wider
|
|
54
|
+
className: "text-ui-fg-subtle text-xs font-medium tracking-wider uppercase",
|
|
55
55
|
children: "Author"
|
|
56
56
|
}), /* @__PURE__ */ r("span", {
|
|
57
|
-
className: "text-
|
|
57
|
+
className: "text-ui-fg text-xs",
|
|
58
58
|
children: u ?? "—"
|
|
59
59
|
})]
|
|
60
60
|
}),
|
|
61
61
|
/* @__PURE__ */ i("div", {
|
|
62
62
|
className: "flex flex-col gap-1",
|
|
63
63
|
children: [/* @__PURE__ */ r("span", {
|
|
64
|
-
className: "text-xs font-medium tracking-wider
|
|
64
|
+
className: "text-ui-fg-subtle text-xs font-medium tracking-wider uppercase",
|
|
65
65
|
children: "Settings"
|
|
66
66
|
}), f ? /* @__PURE__ */ r("pre", {
|
|
67
|
-
className: "overflow-auto rounded
|
|
67
|
+
className: "bg-ui-raised overflow-auto rounded p-2 font-mono text-xs leading-5",
|
|
68
68
|
dangerouslySetInnerHTML: { __html: t(f) }
|
|
69
69
|
}) : /* @__PURE__ */ r("span", {
|
|
70
|
-
className: "text-
|
|
70
|
+
className: "text-ui-fg-subtle text-xs italic",
|
|
71
71
|
children: "No settings"
|
|
72
72
|
})]
|
|
73
73
|
})
|
|
@@ -38,7 +38,7 @@ var d = {
|
|
|
38
38
|
className: "capitalize",
|
|
39
39
|
children: e.type
|
|
40
40
|
}), /* @__PURE__ */ s("span", {
|
|
41
|
-
className: "text-
|
|
41
|
+
className: "text-ui-fg-subtle text-[10px]",
|
|
42
42
|
children: e.version ?? d[e.origin]
|
|
43
43
|
})]
|
|
44
44
|
})
|
|
@@ -52,7 +52,7 @@ var d = {
|
|
|
52
52
|
value: _,
|
|
53
53
|
onSelect: y
|
|
54
54
|
}), _ ? /* @__PURE__ */ s(e, { entry: _ }) : /* @__PURE__ */ c("div", {
|
|
55
|
-
className: "flex grow flex-col items-center justify-center gap-2
|
|
55
|
+
className: "text-ui-fg-subtle flex grow flex-col items-center justify-center gap-2",
|
|
56
56
|
children: [/* @__PURE__ */ s("i", { className: "fa-solid fa-puzzle-piece text-2xl opacity-30" }), /* @__PURE__ */ s("span", { children: "Select a plugin" })]
|
|
57
57
|
})]
|
|
58
58
|
});
|
|
@@ -7,7 +7,7 @@ var a = () => {
|
|
|
7
7
|
let { settings: a, setCheck: o } = n(e), s = t.every((e) => a.checks[e]), c = s ? "None" : "Run all", l = r(() => t.forEach((e) => o(e, !s)), [o, s]);
|
|
8
8
|
return /* @__PURE__ */ i("button", {
|
|
9
9
|
type: "button",
|
|
10
|
-
className: "rounded px-1.5 py-0.5 font-medium normal-case
|
|
10
|
+
className: "hover:bg-ui-hover rounded px-1.5 py-0.5 font-medium normal-case",
|
|
11
11
|
onClick: l,
|
|
12
12
|
children: c
|
|
13
13
|
});
|
|
@@ -12,13 +12,13 @@ var c = 40, l = ({ check: l }) => {
|
|
|
12
12
|
g
|
|
13
13
|
]);
|
|
14
14
|
return /* @__PURE__ */ s("div", {
|
|
15
|
-
className: "border-
|
|
15
|
+
className: "border-ui-line border-b last:border-b-0",
|
|
16
16
|
children: [/* @__PURE__ */ s("button", {
|
|
17
17
|
type: "button",
|
|
18
18
|
role: "switch",
|
|
19
19
|
"aria-checked": g,
|
|
20
20
|
title: m,
|
|
21
|
-
className: "flex w-full cursor-pointer items-center gap-2 px-2.5 py-1.5 text-left
|
|
21
|
+
className: "hover:bg-ui-hover flex w-full cursor-pointer items-center gap-2 px-2.5 py-1.5 text-left",
|
|
22
22
|
onClick: y,
|
|
23
23
|
children: [
|
|
24
24
|
/* @__PURE__ */ o("span", {
|
|
@@ -26,7 +26,7 @@ var c = 40, l = ({ check: l }) => {
|
|
|
26
26
|
style: v
|
|
27
27
|
}),
|
|
28
28
|
/* @__PURE__ */ o("span", {
|
|
29
|
-
className: "min-w-0 truncate font-medium
|
|
29
|
+
className: "text-ui-fg min-w-0 truncate font-medium",
|
|
30
30
|
children: p
|
|
31
31
|
}),
|
|
32
32
|
g && /* @__PURE__ */ o("span", {
|
|
@@ -7,7 +7,7 @@ import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
|
7
7
|
var o = () => /* @__PURE__ */ a("section", {
|
|
8
8
|
className: "flex min-w-0 flex-col gap-1.5",
|
|
9
9
|
children: [/* @__PURE__ */ a("div", {
|
|
10
|
-
className: "flex items-center justify-between gap-2 text-[10px] font-semibold tracking-wider
|
|
10
|
+
className: "text-ui-fg-subtle flex items-center justify-between gap-2 text-[10px] font-semibold tracking-wider uppercase",
|
|
11
11
|
children: [/* @__PURE__ */ a("span", {
|
|
12
12
|
className: "flex items-center gap-2",
|
|
13
13
|
children: [/* @__PURE__ */ i("i", { className: "fa-solid fa-list-check" }), "Checks"]
|
|
@@ -16,7 +16,7 @@ var o = () => /* @__PURE__ */ a("section", {
|
|
|
16
16
|
children: [/* @__PURE__ */ i(n, {}), /* @__PURE__ */ i(e, {})]
|
|
17
17
|
})]
|
|
18
18
|
}), /* @__PURE__ */ i("div", {
|
|
19
|
-
className: "overflow-hidden rounded border
|
|
19
|
+
className: "border-ui-line overflow-hidden rounded border",
|
|
20
20
|
children: r.map((e) => /* @__PURE__ */ i(t, { check: e }, e))
|
|
21
21
|
})]
|
|
22
22
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
// src/components/DevToolsPanel/tabs/QaViewer/QaDivider.tsx
|
|
3
|
-
var t = () => /* @__PURE__ */ e("span", { className: "h-4 w-px shrink-0
|
|
3
|
+
var t = () => /* @__PURE__ */ e("span", { className: "bg-ui-active h-4 w-px shrink-0" });
|
|
4
4
|
export { t as default };
|
|
@@ -10,11 +10,11 @@ var r = "devtools-element-hovered", i = 1600, a = ({ finding: { element: a, note
|
|
|
10
10
|
}, [a]);
|
|
11
11
|
return /* @__PURE__ */ n("button", {
|
|
12
12
|
type: "button",
|
|
13
|
-
className: "flex w-full cursor-pointer items-center gap-2 px-3 py-1 pl-6 text-left
|
|
13
|
+
className: "hover:bg-ui-hover flex w-full cursor-pointer items-center gap-2 px-3 py-1 pl-6 text-left",
|
|
14
14
|
onClick: c,
|
|
15
15
|
children: [
|
|
16
16
|
/* @__PURE__ */ t("span", {
|
|
17
|
-
className: "shrink-0 font-mono
|
|
17
|
+
className: "text-ui-fg-subtle shrink-0 font-mono",
|
|
18
18
|
children: a.tagName.toLowerCase()
|
|
19
19
|
}),
|
|
20
20
|
s && /* @__PURE__ */ t("span", {
|
|
@@ -22,7 +22,7 @@ var r = "devtools-element-hovered", i = 1600, a = ({ finding: { element: a, note
|
|
|
22
22
|
children: s
|
|
23
23
|
}),
|
|
24
24
|
/* @__PURE__ */ t("span", {
|
|
25
|
-
className: "ml-auto shrink-0 text-[11px]
|
|
25
|
+
className: "text-ui-fg-subtle ml-auto shrink-0 text-[11px]",
|
|
26
26
|
children: o
|
|
27
27
|
})
|
|
28
28
|
]
|
|
@@ -24,7 +24,7 @@ var f = ({ element: f }) => {
|
|
|
24
24
|
children: m.name
|
|
25
25
|
}),
|
|
26
26
|
/* @__PURE__ */ d("span", {
|
|
27
|
-
className: "shrink-0 font-mono
|
|
27
|
+
className: "text-ui-fg-subtle shrink-0 font-mono",
|
|
28
28
|
children: [
|
|
29
29
|
m.width,
|
|
30
30
|
" × ",
|
|
@@ -33,14 +33,14 @@ var f = ({ element: f }) => {
|
|
|
33
33
|
}),
|
|
34
34
|
/* @__PURE__ */ u("button", {
|
|
35
35
|
type: "button",
|
|
36
|
-
className: "ml-auto shrink-0 rounded px-1.5 py-0.5
|
|
36
|
+
className: "hover:bg-ui-hover ml-auto shrink-0 rounded px-1.5 py-0.5",
|
|
37
37
|
title: "Scroll the page to it",
|
|
38
38
|
onClick: g,
|
|
39
39
|
children: /* @__PURE__ */ u("i", { className: "fa-solid fa-crosshairs" })
|
|
40
40
|
}),
|
|
41
41
|
/* @__PURE__ */ u("button", {
|
|
42
42
|
type: "button",
|
|
43
|
-
className: "shrink-0 rounded px-1.5 py-0.5
|
|
43
|
+
className: "hover:bg-ui-hover shrink-0 rounded px-1.5 py-0.5",
|
|
44
44
|
title: "Let it go",
|
|
45
45
|
onClick: _,
|
|
46
46
|
children: /* @__PURE__ */ u("i", { className: "fa-solid fa-xmark" })
|
|
@@ -48,7 +48,7 @@ var f = ({ element: f }) => {
|
|
|
48
48
|
]
|
|
49
49
|
}),
|
|
50
50
|
/* @__PURE__ */ d("div", {
|
|
51
|
-
className: "grid grid-cols-1 gap-x-4 rounded border
|
|
51
|
+
className: "border-ui-line grid grid-cols-1 gap-x-4 rounded border px-2.5 py-1.5 @lg:grid-cols-2",
|
|
52
52
|
children: [
|
|
53
53
|
/* @__PURE__ */ d(e, {
|
|
54
54
|
name: "display",
|
|
@@ -114,17 +114,17 @@ var f = ({ element: f }) => {
|
|
|
114
114
|
m.classes.length > 0 && /* @__PURE__ */ u("div", {
|
|
115
115
|
className: "flex flex-wrap gap-1",
|
|
116
116
|
children: m.classes.map((e) => /* @__PURE__ */ d("span", {
|
|
117
|
-
className: "
|
|
117
|
+
className: "bg-ui-raised rounded px-1.5 py-0.5 font-mono text-[11px]",
|
|
118
118
|
children: [".", e]
|
|
119
119
|
}, e))
|
|
120
120
|
}),
|
|
121
121
|
/* @__PURE__ */ d("div", {
|
|
122
122
|
className: "flex flex-col",
|
|
123
123
|
children: [/* @__PURE__ */ d("span", {
|
|
124
|
-
className: "mb-1 text-[10px] font-semibold tracking-wider
|
|
124
|
+
className: "text-ui-fg-subtle mb-1 text-[10px] font-semibold tracking-wider uppercase",
|
|
125
125
|
children: ["CSS that reaches it · ", h.length]
|
|
126
126
|
}), /* @__PURE__ */ u("div", {
|
|
127
|
-
className: "overflow-hidden rounded border
|
|
127
|
+
className: "border-ui-line overflow-hidden rounded border",
|
|
128
128
|
children: h.map((e, n) => /* @__PURE__ */ u(t, { rule: e }, `${e.selector}-${String(n)}`))
|
|
129
129
|
})]
|
|
130
130
|
})
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
2
|
// src/components/DevToolsPanel/tabs/QaViewer/QaInspectorEmpty.tsx
|
|
3
3
|
var n = () => /* @__PURE__ */ t("div", {
|
|
4
|
-
className: "flex flex-col gap-1.5 rounded border border-dashed
|
|
4
|
+
className: "border-ui-line text-ui-fg-subtle flex flex-col gap-1.5 rounded border border-dashed p-3",
|
|
5
5
|
children: [/* @__PURE__ */ e("span", {
|
|
6
|
-
className: "
|
|
6
|
+
className: "text-ui-fg font-medium",
|
|
7
7
|
children: "Nothing inspected yet"
|
|
8
8
|
}), /* @__PURE__ */ t("span", { children: [
|
|
9
9
|
"Turn on ",
|
|
@@ -10,7 +10,7 @@ var o = () => {
|
|
|
10
10
|
className: "flex min-w-0 flex-col gap-1.5",
|
|
11
11
|
children: [
|
|
12
12
|
/* @__PURE__ */ a("div", {
|
|
13
|
-
className: "flex items-center gap-2 text-[10px] font-semibold tracking-wider
|
|
13
|
+
className: "text-ui-fg-subtle flex items-center gap-2 text-[10px] font-semibold tracking-wider uppercase",
|
|
14
14
|
children: [/* @__PURE__ */ i("i", { className: "fa-solid fa-magnifying-glass" }), "Inspector"]
|
|
15
15
|
}),
|
|
16
16
|
c && /* @__PURE__ */ i(e, { element: c }, s),
|
|
@@ -3,10 +3,10 @@ import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
|
3
3
|
var n = ({ name: n, children: r }) => /* @__PURE__ */ t("div", {
|
|
4
4
|
className: "grid grid-cols-[88px_minmax(0,1fr)] items-baseline gap-2 py-0.5",
|
|
5
5
|
children: [/* @__PURE__ */ e("span", {
|
|
6
|
-
className: "text-
|
|
6
|
+
className: "text-ui-fg-subtle",
|
|
7
7
|
children: n
|
|
8
8
|
}), /* @__PURE__ */ e("span", {
|
|
9
|
-
className: "min-w-0 truncate font-mono
|
|
9
|
+
className: "text-ui-fg min-w-0 truncate font-mono",
|
|
10
10
|
children: r
|
|
11
11
|
})]
|
|
12
12
|
});
|
|
@@ -12,7 +12,7 @@ var o = () => {
|
|
|
12
12
|
return /* @__PURE__ */ i("button", {
|
|
13
13
|
type: "button",
|
|
14
14
|
title: "Play the page's arrivals and loops again from the start",
|
|
15
|
-
className: "flex h-6 shrink-0 cursor-pointer items-center gap-1.5 rounded-md border
|
|
15
|
+
className: "border-ui-line text-ui-fg-muted hover:bg-ui-hover flex h-6 shrink-0 cursor-pointer items-center gap-1.5 rounded-md border px-2 font-medium whitespace-nowrap transition-colors",
|
|
16
16
|
onClick: s,
|
|
17
17
|
children: [/* @__PURE__ */ r("i", { className: "fa-solid fa-rotate-left text-[10px]" }), "Replay"]
|
|
18
18
|
});
|
|
@@ -6,7 +6,7 @@ var i = () => {
|
|
|
6
6
|
let { rescan: i } = t(e), a = n(() => i(), [i]);
|
|
7
7
|
return /* @__PURE__ */ r("button", {
|
|
8
8
|
type: "button",
|
|
9
|
-
className: "rounded px-1.5 py-0.5 font-medium normal-case
|
|
9
|
+
className: "hover:bg-ui-hover rounded px-1.5 py-0.5 font-medium normal-case",
|
|
10
10
|
onClick: a,
|
|
11
11
|
children: "Look again"
|
|
12
12
|
});
|
|
@@ -13,7 +13,7 @@ var o = 1200, s = {
|
|
|
13
13
|
});
|
|
14
14
|
}, [c, l]);
|
|
15
15
|
return /* @__PURE__ */ a("div", {
|
|
16
|
-
className: "group border-
|
|
16
|
+
className: "group border-ui-line border-b px-2.5 py-1.5 last:border-b-0",
|
|
17
17
|
children: [/* @__PURE__ */ a("div", {
|
|
18
18
|
className: "flex items-center gap-2",
|
|
19
19
|
children: [
|
|
@@ -28,14 +28,14 @@ var o = 1200, s = {
|
|
|
28
28
|
}),
|
|
29
29
|
/* @__PURE__ */ i("button", {
|
|
30
30
|
type: "button",
|
|
31
|
-
className: "ml-auto shrink-0 rounded px-1 text-[10px]
|
|
31
|
+
className: "text-ui-fg-subtle hover:bg-ui-hover hover:text-ui-fg ml-auto shrink-0 rounded px-1 text-[10px] opacity-0 group-hover:opacity-100",
|
|
32
32
|
onClick: p,
|
|
33
33
|
title: d === "refused" ? n : void 0,
|
|
34
34
|
children: s[d]
|
|
35
35
|
})
|
|
36
36
|
]
|
|
37
37
|
}), /* @__PURE__ */ i("div", {
|
|
38
|
-
className: "mt-0.5 font-mono text-[11px] leading-relaxed break-words
|
|
38
|
+
className: "text-ui-fg-muted mt-0.5 font-mono text-[11px] leading-relaxed break-words",
|
|
39
39
|
children: l
|
|
40
40
|
})]
|
|
41
41
|
});
|
|
@@ -17,7 +17,7 @@ var o = ({ setting: o, label: s, icon: c, title: l, primary: u = !1 }) => {
|
|
|
17
17
|
"border-violet-500 bg-violet-500 text-white": p && u,
|
|
18
18
|
"border-violet-400/60 bg-violet-500/10 text-violet-700 dark:text-violet-300": p && !u,
|
|
19
19
|
"border-violet-300 text-violet-700 hover:bg-violet-500/10 dark:border-violet-500/50 dark:text-violet-300": !p && u,
|
|
20
|
-
"border-
|
|
20
|
+
"border-ui-line text-ui-fg-muted hover:bg-ui-hover": !p && !u
|
|
21
21
|
}),
|
|
22
22
|
onClick: m,
|
|
23
23
|
children: [/* @__PURE__ */ i("i", { className: t(c, "text-[10px]") }), s]
|
|
@@ -5,7 +5,7 @@ import r from "./QaVisionSelect.mjs";
|
|
|
5
5
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
6
|
// src/components/DevToolsPanel/tabs/QaViewer/QaToolbar.tsx
|
|
7
7
|
var o = () => /* @__PURE__ */ a("div", {
|
|
8
|
-
className: "flex shrink-0 flex-wrap items-center gap-1.5 border-b
|
|
8
|
+
className: "border-ui-line flex shrink-0 flex-wrap items-center gap-1.5 border-b px-3 py-2",
|
|
9
9
|
children: [
|
|
10
10
|
/* @__PURE__ */ i(n, {
|
|
11
11
|
setting: "inspect",
|