@greatapps/greatagents-ui 0.3.2 → 0.3.3

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.
@@ -70,7 +70,7 @@ function useColumns(
70
70
  if (!desc) return <span className="text-muted-foreground text-sm">{"\u2014"}</span>;
71
71
  return (
72
72
  <span className="text-muted-foreground text-sm">
73
- {desc.length > 50 ? `${desc.slice(0, 50)}...` : desc}
73
+ {desc.length > 50 ? `${desc.slice(0, 50)}\u2026` : desc}
74
74
  </span>
75
75
  );
76
76
  },
@@ -98,6 +98,7 @@ function useColumns(
98
98
  variant="ghost"
99
99
  size="icon"
100
100
  className="h-8 w-8"
101
+ aria-label="Editar"
101
102
  onClick={() => onEdit(row.original)}
102
103
  >
103
104
  <Pencil className="h-4 w-4" />
@@ -111,6 +112,7 @@ function useColumns(
111
112
  variant="ghost"
112
113
  size="icon"
113
114
  className="h-8 w-8 text-destructive hover:text-destructive"
115
+ aria-label="Excluir"
114
116
  onClick={() => onDelete(row.original.id)}
115
117
  >
116
118
  <Trash2 className="h-4 w-4" />
@@ -171,9 +173,12 @@ export function ToolsTable({ onEdit, config }: ToolsTableProps) {
171
173
  <>
172
174
  <div className="flex items-center gap-3">
173
175
  <div className="relative flex-1 max-w-md">
174
- <Search className="absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" />
176
+ <Search aria-hidden="true" className="absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" />
175
177
  <Input
176
- placeholder="Buscar ferramentas..."
178
+ placeholder="Buscar ferramentas\u2026"
179
+ aria-label="Buscar ferramentas"
180
+ name="search"
181
+ autoComplete="off"
177
182
  value={search}
178
183
  onChange={(e) => handleSearchChange(e.target.value)}
179
184
  className="pl-9"
@@ -57,6 +57,7 @@ export function AgentDetailPage({
57
57
  <Button
58
58
  variant="ghost"
59
59
  size="icon"
60
+ aria-label="Voltar"
60
61
  className="shrink-0 mt-1"
61
62
  onClick={onBack}
62
63
  >