@yieldfabric/terminal 1.1.1 → 1.1.2
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 +6 -6
- package/dist/index.js +6 -6
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3677,7 +3677,7 @@ function TerminalInputBar({
|
|
|
3677
3677
|
inputRef.current?.focus();
|
|
3678
3678
|
},
|
|
3679
3679
|
title: "Insert @ mention",
|
|
3680
|
-
className: `${toolbarIsCompact ? "px-2" : "px-2.5"}
|
|
3680
|
+
className: `${toolbarIsCompact ? "px-2" : "px-2.5"} h-[22px] inline-flex items-center rounded-lg transition-colors font-semibold flex-shrink-0`,
|
|
3681
3681
|
style: toolbarButtonStyle,
|
|
3682
3682
|
onMouseEnter: (e) => {
|
|
3683
3683
|
e.currentTarget.style.backgroundColor = toolbarButtonHover;
|
|
@@ -3697,7 +3697,7 @@ function TerminalInputBar({
|
|
|
3697
3697
|
inputRef.current?.focus();
|
|
3698
3698
|
},
|
|
3699
3699
|
title: "Insert / command",
|
|
3700
|
-
className: `${toolbarIsCompact ? "px-2" : "px-2.5"}
|
|
3700
|
+
className: `${toolbarIsCompact ? "px-2" : "px-2.5"} h-[22px] inline-flex items-center rounded-lg transition-colors font-semibold flex-shrink-0`,
|
|
3701
3701
|
style: toolbarButtonStyle,
|
|
3702
3702
|
onMouseEnter: (e) => {
|
|
3703
3703
|
e.currentTarget.style.backgroundColor = toolbarButtonHover;
|
|
@@ -3731,7 +3731,7 @@ function TerminalInputBar({
|
|
|
3731
3731
|
{
|
|
3732
3732
|
type: "button",
|
|
3733
3733
|
disabled: isExecuting || disabled,
|
|
3734
|
-
className: "h-
|
|
3734
|
+
className: "h-[22px] px-1.5 rounded-lg disabled:opacity-30 disabled:cursor-not-allowed flex items-center justify-center transition-all duration-200",
|
|
3735
3735
|
style: toolbarButtonStyle,
|
|
3736
3736
|
title: "Upload files",
|
|
3737
3737
|
onClick: () => fileInputRef.current?.click(),
|
|
@@ -3741,7 +3741,7 @@ function TerminalInputBar({
|
|
|
3741
3741
|
onMouseLeave: (e) => {
|
|
3742
3742
|
e.currentTarget.style.backgroundColor = toolbarButtonBg;
|
|
3743
3743
|
},
|
|
3744
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Paperclip, { className: "w-
|
|
3744
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Paperclip, { className: "w-3.5 h-3.5" })
|
|
3745
3745
|
}
|
|
3746
3746
|
),
|
|
3747
3747
|
showFilesButton && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -3749,7 +3749,7 @@ function TerminalInputBar({
|
|
|
3749
3749
|
{
|
|
3750
3750
|
type: "button",
|
|
3751
3751
|
disabled: isExecuting || disabled,
|
|
3752
|
-
className: "h-
|
|
3752
|
+
className: "h-[22px] px-1.5 rounded-lg disabled:opacity-30 disabled:cursor-not-allowed flex items-center justify-center transition-all duration-200",
|
|
3753
3753
|
style: toolbarButtonStyle,
|
|
3754
3754
|
title: "List files",
|
|
3755
3755
|
onClick: () => onListFilesCommand(),
|
|
@@ -3759,7 +3759,7 @@ function TerminalInputBar({
|
|
|
3759
3759
|
onMouseLeave: (e) => {
|
|
3760
3760
|
e.currentTarget.style.backgroundColor = toolbarButtonBg;
|
|
3761
3761
|
},
|
|
3762
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.FolderOpen, { className: "w-
|
|
3762
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.FolderOpen, { className: "w-3.5 h-3.5" })
|
|
3763
3763
|
}
|
|
3764
3764
|
)
|
|
3765
3765
|
] })
|
package/dist/index.js
CHANGED
|
@@ -3668,7 +3668,7 @@ function TerminalInputBar({
|
|
|
3668
3668
|
inputRef.current?.focus();
|
|
3669
3669
|
},
|
|
3670
3670
|
title: "Insert @ mention",
|
|
3671
|
-
className: `${toolbarIsCompact ? "px-2" : "px-2.5"}
|
|
3671
|
+
className: `${toolbarIsCompact ? "px-2" : "px-2.5"} h-[22px] inline-flex items-center rounded-lg transition-colors font-semibold flex-shrink-0`,
|
|
3672
3672
|
style: toolbarButtonStyle,
|
|
3673
3673
|
onMouseEnter: (e) => {
|
|
3674
3674
|
e.currentTarget.style.backgroundColor = toolbarButtonHover;
|
|
@@ -3688,7 +3688,7 @@ function TerminalInputBar({
|
|
|
3688
3688
|
inputRef.current?.focus();
|
|
3689
3689
|
},
|
|
3690
3690
|
title: "Insert / command",
|
|
3691
|
-
className: `${toolbarIsCompact ? "px-2" : "px-2.5"}
|
|
3691
|
+
className: `${toolbarIsCompact ? "px-2" : "px-2.5"} h-[22px] inline-flex items-center rounded-lg transition-colors font-semibold flex-shrink-0`,
|
|
3692
3692
|
style: toolbarButtonStyle,
|
|
3693
3693
|
onMouseEnter: (e) => {
|
|
3694
3694
|
e.currentTarget.style.backgroundColor = toolbarButtonHover;
|
|
@@ -3722,7 +3722,7 @@ function TerminalInputBar({
|
|
|
3722
3722
|
{
|
|
3723
3723
|
type: "button",
|
|
3724
3724
|
disabled: isExecuting || disabled,
|
|
3725
|
-
className: "h-
|
|
3725
|
+
className: "h-[22px] px-1.5 rounded-lg disabled:opacity-30 disabled:cursor-not-allowed flex items-center justify-center transition-all duration-200",
|
|
3726
3726
|
style: toolbarButtonStyle,
|
|
3727
3727
|
title: "Upload files",
|
|
3728
3728
|
onClick: () => fileInputRef.current?.click(),
|
|
@@ -3732,7 +3732,7 @@ function TerminalInputBar({
|
|
|
3732
3732
|
onMouseLeave: (e) => {
|
|
3733
3733
|
e.currentTarget.style.backgroundColor = toolbarButtonBg;
|
|
3734
3734
|
},
|
|
3735
|
-
children: /* @__PURE__ */ jsx(Paperclip, { className: "w-
|
|
3735
|
+
children: /* @__PURE__ */ jsx(Paperclip, { className: "w-3.5 h-3.5" })
|
|
3736
3736
|
}
|
|
3737
3737
|
),
|
|
3738
3738
|
showFilesButton && /* @__PURE__ */ jsx(
|
|
@@ -3740,7 +3740,7 @@ function TerminalInputBar({
|
|
|
3740
3740
|
{
|
|
3741
3741
|
type: "button",
|
|
3742
3742
|
disabled: isExecuting || disabled,
|
|
3743
|
-
className: "h-
|
|
3743
|
+
className: "h-[22px] px-1.5 rounded-lg disabled:opacity-30 disabled:cursor-not-allowed flex items-center justify-center transition-all duration-200",
|
|
3744
3744
|
style: toolbarButtonStyle,
|
|
3745
3745
|
title: "List files",
|
|
3746
3746
|
onClick: () => onListFilesCommand(),
|
|
@@ -3750,7 +3750,7 @@ function TerminalInputBar({
|
|
|
3750
3750
|
onMouseLeave: (e) => {
|
|
3751
3751
|
e.currentTarget.style.backgroundColor = toolbarButtonBg;
|
|
3752
3752
|
},
|
|
3753
|
-
children: /* @__PURE__ */ jsx(FolderOpen, { className: "w-
|
|
3753
|
+
children: /* @__PURE__ */ jsx(FolderOpen, { className: "w-3.5 h-3.5" })
|
|
3754
3754
|
}
|
|
3755
3755
|
)
|
|
3756
3756
|
] })
|