@docyrus/ui-pro-ai-assistant 0.7.0 → 0.7.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.js CHANGED
@@ -2714,6 +2714,8 @@ var AgentTabs = ({
2714
2714
  return /* @__PURE__ */ jsxs(
2715
2715
  "div",
2716
2716
  {
2717
+ role: "tab",
2718
+ "aria-selected": isActive,
2717
2719
  className: cn(
2718
2720
  "group/tab flex items-center gap-1.5 h-8 pl-2 pr-1 rounded-md cursor-pointer text-sm font-medium max-w-[200px] shrink-0 transition-colors",
2719
2721
  isActive ? "bg-accent text-foreground" : "text-muted-foreground hover:bg-accent/50 hover:text-foreground"
@@ -34590,7 +34592,7 @@ var AssistantView = ({ ref, ...props }) => {
34590
34592
  "data-render-mode": "inline",
34591
34593
  ref,
34592
34594
  children: [
34593
- showHeader && (!hideHeaderOnWelcome || !(commonProps.showWelcome && commonProps.messages.length === 0)) && /* @__PURE__ */ jsxs("div", { className: "relative z-50 flex items-center justify-between h-12 px-3 border-b shrink-0 bg-background gap-2", children: [
34595
+ showHeader && (!hideHeaderOnWelcome || !(commonProps.showWelcome && commonProps.messages.length === 0)) && /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between h-12 px-3 border-b shrink-0 bg-background gap-2", children: [
34594
34596
  /* @__PURE__ */ jsx("div", { className: "flex items-center gap-1 min-w-0 flex-1", children: renderHeaderTabs ? renderHeaderTabs({ isFullscreen }) : null }),
34595
34597
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1 shrink-0", children: [
34596
34598
  onExpand && /* @__PURE__ */ jsx(