@tutti-os/workspace-issue-manager 0.0.44 → 0.0.45
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.
|
@@ -2279,6 +2279,7 @@ import {
|
|
|
2279
2279
|
TooltipContent as TooltipContent2,
|
|
2280
2280
|
TooltipProvider,
|
|
2281
2281
|
TooltipTrigger as TooltipTrigger2,
|
|
2282
|
+
WindowTrafficLightIcon,
|
|
2282
2283
|
cn as cn13
|
|
2283
2284
|
} from "@tutti-os/ui-system";
|
|
2284
2285
|
import {
|
|
@@ -6426,7 +6427,7 @@ function IssueManagerNode({
|
|
|
6426
6427
|
var issueManagerWorkbenchDragHandleAttribute = "data-workbench-drag-handle";
|
|
6427
6428
|
var issueManagerHeaderChromeIconButtonClassName = "size-7 min-h-7 min-w-7 cursor-pointer rounded-md p-0 text-[var(--text-secondary)] hover:bg-[color-mix(in_srgb,var(--text-primary)_8%,transparent)] hover:text-[var(--text-primary)]";
|
|
6428
6429
|
var issueManagerHeaderChromeIconClassName = "size-[18px]";
|
|
6429
|
-
var issueManagerHeaderTrafficLightClassName = "relative -m-1 size-5 shrink-0 cursor-pointer rounded-full border-0 bg-transparent p-0 text-[var(--text-
|
|
6430
|
+
var issueManagerHeaderTrafficLightClassName = "relative -m-1 size-5 shrink-0 cursor-pointer rounded-full border-0 bg-transparent p-0 text-[color-mix(in_srgb,var(--text-tertiary)_72%,transparent)] opacity-[0.78] outline-none transition-[color,opacity] duration-150 ease-out before:absolute before:inset-1 before:rounded-full before:bg-current before:transition-colors before:duration-150 before:ease-out before:content-[''] group-hover/traffic-lights:opacity-100 group-focus-within/traffic-lights:opacity-100 focus-visible:ring-2 focus-visible:ring-[var(--accent)] focus-visible:ring-offset-1 focus-visible:ring-offset-[var(--background-panel)]";
|
|
6430
6431
|
function IssueManagerNodeHeader({
|
|
6431
6432
|
activeTopicId = null,
|
|
6432
6433
|
className,
|
|
@@ -6520,7 +6521,7 @@ function IssueManagerNodeHeader({
|
|
|
6520
6521
|
/* @__PURE__ */ jsxs18(
|
|
6521
6522
|
"div",
|
|
6522
6523
|
{
|
|
6523
|
-
className: "
|
|
6524
|
+
className: "group/traffic-lights flex shrink-0 items-center gap-2",
|
|
6524
6525
|
onDoubleClick: (event) => event.stopPropagation(),
|
|
6525
6526
|
onPointerDown: (event) => event.stopPropagation(),
|
|
6526
6527
|
children: [
|
|
@@ -6664,6 +6665,7 @@ function IssueManagerTrafficLightButton({
|
|
|
6664
6665
|
pressed,
|
|
6665
6666
|
tone
|
|
6666
6667
|
}) {
|
|
6668
|
+
const iconName = tone === "maximize" ? pressed ? "unfullscreen" : "fullscreen" : tone;
|
|
6667
6669
|
const button = /* @__PURE__ */ jsx20(
|
|
6668
6670
|
"button",
|
|
6669
6671
|
{
|
|
@@ -6671,9 +6673,9 @@ function IssueManagerTrafficLightButton({
|
|
|
6671
6673
|
"aria-pressed": pressed,
|
|
6672
6674
|
className: cn13(
|
|
6673
6675
|
issueManagerHeaderTrafficLightClassName,
|
|
6674
|
-
tone === "close" && "hover:text-[#ff5f57] focus-
|
|
6675
|
-
tone === "minimize" && "hover:text-[#ffbd2e] focus-
|
|
6676
|
-
tone === "maximize" && "hover:text-[#28c840] focus-
|
|
6676
|
+
tone === "close" && "group-hover/traffic-lights:text-[#ff5f57] group-focus-within/traffic-lights:text-[#ff5f57]",
|
|
6677
|
+
tone === "minimize" && "group-hover/traffic-lights:text-[#ffbd2e] group-focus-within/traffic-lights:text-[#ffbd2e]",
|
|
6678
|
+
tone === "maximize" && "group-hover/traffic-lights:text-[#28c840] group-focus-within/traffic-lights:text-[#28c840]"
|
|
6677
6679
|
),
|
|
6678
6680
|
type: "button",
|
|
6679
6681
|
onClick: (event) => {
|
|
@@ -6681,7 +6683,16 @@ function IssueManagerTrafficLightButton({
|
|
|
6681
6683
|
onClick();
|
|
6682
6684
|
},
|
|
6683
6685
|
onDoubleClick: (event) => event.stopPropagation(),
|
|
6684
|
-
onPointerDown: (event) => event.stopPropagation()
|
|
6686
|
+
onPointerDown: (event) => event.stopPropagation(),
|
|
6687
|
+
children: /* @__PURE__ */ jsx20(
|
|
6688
|
+
WindowTrafficLightIcon,
|
|
6689
|
+
{
|
|
6690
|
+
"aria-hidden": "true",
|
|
6691
|
+
className: "pointer-events-none absolute inset-[5px] z-[1] size-[10px] text-[color-mix(in_srgb,#000_68%,transparent)] opacity-0 transition-opacity duration-150 group-hover/traffic-lights:opacity-100 group-focus-within/traffic-lights:opacity-100",
|
|
6692
|
+
"data-issue-manager-traffic-light-icon": iconName,
|
|
6693
|
+
iconName
|
|
6694
|
+
}
|
|
6695
|
+
)
|
|
6685
6696
|
}
|
|
6686
6697
|
);
|
|
6687
6698
|
return /* @__PURE__ */ jsx20(TooltipProvider, { delayDuration: 250, skipDelayDuration: 0, children: /* @__PURE__ */ jsxs18(Tooltip2, { children: [
|
|
@@ -6695,4 +6706,4 @@ export {
|
|
|
6695
6706
|
IssueManagerNode,
|
|
6696
6707
|
IssueManagerNodeHeader
|
|
6697
6708
|
};
|
|
6698
|
-
//# sourceMappingURL=chunk-
|
|
6709
|
+
//# sourceMappingURL=chunk-TRIK7WD6.js.map
|