@aurea-uds/react 0.2.0 → 0.4.0
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/README.md +34 -2
- package/dist/actions.d.ts +22 -3
- package/dist/actions.js +62 -6
- package/dist/code-client.d.ts +6 -0
- package/dist/code-client.js +24 -0
- package/dist/code.d.ts +2 -13
- package/dist/code.js +5 -34
- package/dist/data-display-client.d.ts +14 -0
- package/dist/data-display-client.js +22 -0
- package/dist/data-display.d.ts +2 -23
- package/dist/data-display.js +5 -14
- package/dist/feedback-client.d.ts +64 -0
- package/dist/feedback-client.js +110 -0
- package/dist/feedback.d.ts +2 -63
- package/dist/feedback.js +5 -101
- package/dist/file-input.js +57 -9
- package/dist/identity-client.d.ts +9 -0
- package/dist/identity-client.js +12 -0
- package/dist/identity.d.ts +2 -17
- package/dist/identity.js +5 -25
- package/dist/index.d.ts +2 -1
- package/dist/index.js +19 -3
- package/dist/inputs-client.d.ts +105 -0
- package/dist/inputs-client.js +264 -0
- package/dist/inputs.d.ts +2 -91
- package/dist/inputs.js +9 -126
- package/dist/internal.d.ts +20 -5
- package/dist/internal.js +91 -10
- package/dist/layout-client.d.ts +10 -0
- package/dist/layout-client.js +77 -0
- package/dist/layout.d.ts +2 -15
- package/dist/layout.js +5 -76
- package/dist/markup.d.ts +103 -0
- package/dist/markup.js +124 -0
- package/dist/media-client.d.ts +36 -0
- package/dist/media-client.js +239 -0
- package/dist/media.d.ts +2 -9
- package/dist/media.js +5 -99
- package/dist/navigation-client.d.ts +120 -0
- package/dist/navigation-client.js +196 -0
- package/dist/navigation.d.ts +2 -85
- package/dist/navigation.js +5 -138
- package/dist/overlays.d.ts +23 -0
- package/dist/overlays.js +46 -2
- package/dist/pure.d.ts +31 -0
- package/dist/pure.js +26 -2
- package/dist/system.d.ts +9 -0
- package/dist/system.js +46 -0
- package/package.json +180 -176
package/dist/pure.js
CHANGED
|
@@ -21,10 +21,10 @@ export const universalStates = ["waiting_user", "waiting_approval", "waiting_dep
|
|
|
21
21
|
// perdeu qualidade é avisado. Um `role="alert"` aqui interromperia o leitor de tela por uma
|
|
22
22
|
// condição que não pede ação imediata, que é o oposto do que o papel serve.
|
|
23
23
|
export const stateSeverity = (state) => state.startsWith("waiting_") ? "info" : "warning";
|
|
24
|
-
export const defaultStrings = { close: "Close", paginationLabel: "Pagination", previous: "Previous", next: "Next", breadcrumbLabel: "Breadcrumb", tabsLabel: "Tabs", optionsLabel: "Options", tableLabel: "Table", commandLabel: "Command palette", commandPlaceholder: "Type a command…", dismissNotification: "Dismiss notification", toolbarLabel: "Toolbar", loading: "Loading", otpDigit: "Digit", stepperLabel: "Steps", increment: "Increase", decrement: "Decrease", comboboxEmpty: "No results", comboboxClear: "Clear selection", comboboxOpen: "Open list", comboboxRemove: "Remove", comboboxLoading: "Loading…", fileDropPrompt: "Drag files here or click to select", fileAdded: "File added", fileRemoved: "File removed", fileRemove: "Remove", fileTooLarge: "File exceeds the size limit", fileWrongType: "File type not allowed", treeLabel: "Tree", notificationsLabel: "Notifications", notificationMarkAll: "Mark all as read", notificationEmpty: "No notifications", notificationUnread: "Unread", notificationNew: "new notifications", dataGridFilter: "Filter", dataGridEmpty: "No results", dataGridSelectAll: "Select all rows", dataGridSelectRow: "Select row", dataGridSelected: "selected", dataGridClearSelection: "Clear selection", dataGridBulkLabel: "Bulk actions", dataGridColumns: "Columns", dataGridResize: "Resize column", dataGridStale: "Showing data that may be out of date.", dataGridPartial: "Some rows could not be loaded. What you see is incomplete.", dataGridError: "The rows could not be loaded.", dataGridDetails: "Details", dataGridDetailPanel: "Row detail", dataGridExport: "Export", dataGridExportRows: "rows", dataGridExportFiltered: "filtered rows", dataGridExportSelected: "selected rows", mediaPlayer: "Media player", mediaPlay: "Play", mediaPause: "Pause", mediaMute: "Mute", mediaUnmute: "Unmute", mediaSeek: "Seek", mediaVolume: "Volume", mediaCaptionsShow: "Show captions", mediaCaptionsHide: "Hide captions", mediaSkipBack: "Skip back 10 seconds", mediaSkipForward: "Skip forward 10 seconds", mediaFullscreenEnter: "Enter full screen", mediaFullscreenExit: "Exit full screen", uploadSending: "Uploading", uploadCancel: "Cancel upload", uploadRetry: "Retry upload", uploadError: "Upload failed", uploadCanceled: "Upload canceled", uploadComplete: "Upload complete", uploadPause: "Pause upload", uploadResume: "Resume upload", uploadPaused: "Paused", uploadPending: "Waiting", uploadChecksum: "Checksum", uploadChecksumBad: "The server received different bytes than the ones sent.", fileConflict: "A file with this name is already in the queue", fileReplace: "Replace", fileKeepBoth: "Keep both", fileSkip: "Skip", uploadReceipt: "Receipt", uploadReceiptCopy: "Copy receipt", agentInspector: "Agent inspector", invocationLabel: "Invocation", invocationInput: "Input", invocationOutput: "Output", taskQueueLabel: "Task queue", taskState: { queued: "Queued", running: "Running", completed: "Completed", failed: "Failed", blocked: "Blocked", paused: "Paused" }, taskPriority: { low: "Low", medium: "Medium", high: "High" }, approvalLabel: "Approval", approvalApprove: "Approve", approvalDeny: "Deny", approvalApproved: "Approved", approvalDenied: "Denied", approvalDeadline: "Decide by", approvalRisk: { low: "Low risk", medium: "Medium risk", high: "High risk" }, permissionLabel: "Tool permissions", permissionAsk: "Ask", permissionAlways: "Always", permissionNever: "Never", eventStreamLabel: "Events", traceLabel: "Trace", healthLabel: "Health", healthState: { operational: "Operational", degraded: "Degraded", down: "Down", maintenance: "Maintenance", unknown: "Unknown" }, modelUsageLabel: "Model usage", usageMetric: { tokens: "Tokens", cost: "Cost", requests: "Requests" }, costMeterLabel: "Cost", costMeterSpent: "Spent", costMeterRemaining: "left", costMeterExceeded: "Over the limit", costMeterNear: "Spending is past the soft limit.", costMeterOver: "The limit has been reached. Further calls are blocked.", memoryLabel: "Memory ledger", memoryProvenance: "Where this came from", memoryOperation: { added: "Added", updated: "Updated", recalled: "Recalled", forgotten: "Forgotten" }, memoryScope: { episodic: "Episodic", semantic: "Semantic", procedural: "Procedural" }, agentMessageLabel: "Agent messages", agentMessageTo: "to", agentMessageBroadcast: "all agents", agentMessageReason: "Why it went this way", agentMessageKind: { request: "Request", response: "Response", handoff: "Handoff", broadcast: "Broadcast", error: "Error" }, automationWhen: "When", automationThen: "Then", automationEnabled: "Enabled", automationLastRun: "Last run", automationResult: { success: "Succeeded", failure: "Failed" }, graphLabel: "Dependency graph", agentState: { idle: "Idle", thinking: "Thinking", running: "Running", paused: "Paused", error: "Error", completed: "Completed" }, codeEditor: "Code editor", chatLabel: "Conversation", chatMessage: "Message", chatSend: "Send", qrCode: "QR code", chartLabel: "Chart", copyCode: "Copy code", tocLabel: "On this page", navigationToggle: "Navigation", sidebarLabel: "Sidebar", universalState: { waiting_user: "Waiting for someone to act.", waiting_approval: "Waiting for approval.", waiting_dependency: "Waiting for something else to finish.", offline: "No connection. This was loaded earlier.", stale: "This may be out of date.", partial: "Some of this could not be loaded.", degraded: "Working with reduced capability." } };
|
|
24
|
+
export const defaultStrings = { close: "Close", confirmCancel: "Cancel", dataError: "This could not be loaded.", dataEmpty: "Nothing here yet", confirmProceed: "Continue", paginationLabel: "Pagination", previous: "Previous", next: "Next", breadcrumbLabel: "Breadcrumb", tabsLabel: "Tabs", optionsLabel: "Options", tableLabel: "Table", commandLabel: "Command palette", commandPlaceholder: "Type a command…", dismissNotification: "Dismiss notification", toolbarLabel: "Toolbar", loading: "Loading", otpDigit: "Digit", stepperLabel: "Steps", increment: "Increase", decrement: "Decrease", comboboxEmpty: "No results", comboboxClear: "Clear selection", comboboxOpen: "Open list", comboboxRemove: "Remove", comboboxLoading: "Loading…", fileDropPrompt: "Drag files here or click to select", fileAdded: "File added", fileRemoved: "File removed", fileRemove: "Remove", fileTooLarge: "File exceeds the size limit", fileWrongType: "File type not allowed", treeLabel: "Tree", notificationsLabel: "Notifications", notificationMarkAll: "Mark all as read", notificationEmpty: "No notifications", notificationUnread: "Unread", notificationNew: "new notifications", dataGridFilter: "Filter", dataGridEmpty: "No results", dataGridSelectAll: "Select all rows", dataGridSelectRow: "Select row", dataGridSelected: "selected", dataGridClearSelection: "Clear selection", dataGridBulkLabel: "Bulk actions", dataGridColumns: "Columns", dataGridResize: "Resize column", dataGridStale: "Showing data that may be out of date.", dataGridPartial: "Some rows could not be loaded. What you see is incomplete.", dataGridError: "The rows could not be loaded.", dataGridDetails: "Details", dataGridDetailPanel: "Row detail", dataGridExport: "Export", dataGridExportRows: "rows", dataGridExportFiltered: "filtered rows", dataGridExportSelected: "selected rows", mediaPlayer: "Media player", mediaPlay: "Play", mediaPause: "Pause", mediaMute: "Mute", mediaUnmute: "Unmute", mediaSeek: "Seek", mediaVolume: "Volume", mediaCaptionsShow: "Show captions", mediaCaptionsHide: "Hide captions", mediaSkipBack: "Skip back 10 seconds", mediaSkipForward: "Skip forward 10 seconds", mediaFullscreenEnter: "Enter full screen", mediaFullscreenExit: "Exit full screen", carouselLabel: "Carousel", carouselSlide: "Slide", positionOf: "of", carouselPrev: "Previous slide", carouselNext: "Next slide", galleryLabel: "Gallery", sortableLabel: "Sortable list", sortableHandle: "Reorder", sortableHelp: "Press Space to pick this up, then Arrow Up and Arrow Down to move it. Space drops it, Escape puts it back.", sortableGrabbed: "Picked up", sortableDropped: "Dropped", sortableMoved: "Moved", sortableCanceled: "Put back", blockEditorLabel: "Content blocks", blockLabel: "Block", blockRemove: "Remove block", uploadSending: "Uploading", uploadCancel: "Cancel upload", uploadRetry: "Retry upload", uploadError: "Upload failed", uploadCanceled: "Upload canceled", uploadComplete: "Upload complete", uploadPause: "Pause upload", uploadResume: "Resume upload", uploadPaused: "Paused", uploadPending: "Waiting", uploadChecksum: "Checksum", uploadChecksumBad: "The server received different bytes than the ones sent.", fileConflict: "A file with this name is already in the queue", fileReplace: "Replace", fileKeepBoth: "Keep both", fileSkip: "Skip", uploadReceipt: "Receipt", uploadReceiptCopy: "Copy receipt", agentInspector: "Agent inspector", invocationLabel: "Invocation", invocationInput: "Input", invocationOutput: "Output", taskQueueLabel: "Task queue", taskState: { queued: "Queued", running: "Running", completed: "Completed", failed: "Failed", blocked: "Blocked", paused: "Paused" }, taskPriority: { low: "Low", medium: "Medium", high: "High" }, approvalLabel: "Approval", approvalApprove: "Approve", approvalDeny: "Deny", approvalApproved: "Approved", approvalDenied: "Denied", approvalDeadline: "Decide by", approvalRisk: { low: "Low risk", medium: "Medium risk", high: "High risk" }, permissionLabel: "Tool permissions", permissionAsk: "Ask", permissionAlways: "Always", permissionNever: "Never", eventStreamLabel: "Events", traceLabel: "Trace", healthLabel: "Health", healthState: { operational: "Operational", degraded: "Degraded", down: "Down", maintenance: "Maintenance", unknown: "Unknown" }, modelUsageLabel: "Model usage", usageMetric: { tokens: "Tokens", cost: "Cost", requests: "Requests" }, costMeterLabel: "Cost", costMeterSpent: "Spent", costMeterRemaining: "left", costMeterExceeded: "Over the limit", costMeterNear: "Spending is past the soft limit.", costMeterOver: "The limit has been reached. Further calls are blocked.", memoryLabel: "Memory ledger", memoryProvenance: "Where this came from", memoryOperation: { added: "Added", updated: "Updated", recalled: "Recalled", forgotten: "Forgotten" }, memoryScope: { episodic: "Episodic", semantic: "Semantic", procedural: "Procedural" }, agentMessageLabel: "Agent messages", agentMessageTo: "to", agentMessageBroadcast: "all agents", agentMessageReason: "Why it went this way", agentMessageKind: { request: "Request", response: "Response", handoff: "Handoff", broadcast: "Broadcast", error: "Error" }, automationWhen: "When", automationThen: "Then", automationEnabled: "Enabled", automationLastRun: "Last run", automationResult: { success: "Succeeded", failure: "Failed" }, graphLabel: "Dependency graph", agentState: { idle: "Idle", thinking: "Thinking", running: "Running", paused: "Paused", error: "Error", completed: "Completed" }, codeEditor: "Code editor", chatLabel: "Conversation", chatMessage: "Message", chatSend: "Send", qrCode: "QR code", chartLabel: "Chart", copyCode: "Copy code", tocLabel: "On this page", navigationToggle: "Navigation", sidebarLabel: "Sidebar", bottomNavLabel: "Main", universalState: { waiting_user: "Waiting for someone to act.", waiting_approval: "Waiting for approval.", waiting_dependency: "Waiting for something else to finish.", offline: "No connection. This was loaded earlier.", stale: "This may be out of date.", partial: "Some of this could not be loaded.", degraded: "Working with reduced capability." } };
|
|
25
25
|
// pt-BR preservado como locale (mesmos valores que já eram o default): passe
|
|
26
26
|
// <AureaProvider strings={ptBR}> para restaurar português.
|
|
27
|
-
export const ptBR = { close: "Fechar", paginationLabel: "Paginação", previous: "Anterior", next: "Próxima", breadcrumbLabel: "Breadcrumb", tabsLabel: "Abas", optionsLabel: "Opções", tableLabel: "Tabela", commandLabel: "Paleta de comandos", commandPlaceholder: "Digite um comando…", dismissNotification: "Dispensar notificação", toolbarLabel: "Barra de ferramentas", loading: "Carregando", otpDigit: "Dígito", stepperLabel: "Etapas", increment: "Aumentar", decrement: "Diminuir", comboboxEmpty: "Nenhum resultado", comboboxClear: "Limpar seleção", comboboxOpen: "Abrir lista", comboboxRemove: "Remover", comboboxLoading: "Carregando…", fileDropPrompt: "Arraste arquivos aqui ou clique para selecionar", fileAdded: "Arquivo adicionado", fileRemoved: "Arquivo removido", fileRemove: "Remover", fileTooLarge: "Arquivo maior que o limite", fileWrongType: "Tipo de arquivo não aceito", treeLabel: "Árvore", notificationsLabel: "Notificações", notificationMarkAll: "Marcar todas como lidas", notificationEmpty: "Nenhuma notificação", notificationUnread: "Não lida", notificationNew: "novas notificações", dataGridFilter: "Filtrar", dataGridEmpty: "Nenhum resultado", dataGridSelectAll: "Selecionar todas as linhas", dataGridSelectRow: "Selecionar linha", dataGridSelected: "selecionadas", dataGridClearSelection: "Limpar seleção", dataGridBulkLabel: "Ações em lote", dataGridColumns: "Colunas", dataGridResize: "Redimensionar coluna", dataGridStale: "Mostrando dados que podem estar desatualizados.", dataGridPartial: "Algumas linhas não puderam ser carregadas. O que aparece está incompleto.", dataGridError: "Não foi possível carregar as linhas.", dataGridDetails: "Detalhes", dataGridDetailPanel: "Detalhe da linha", dataGridExport: "Exportar", dataGridExportRows: "linhas", dataGridExportFiltered: "linhas filtradas", dataGridExportSelected: "linhas selecionadas", mediaPlayer: "Reprodutor de mídia", mediaPlay: "Reproduzir", mediaPause: "Pausar", mediaMute: "Silenciar", mediaUnmute: "Ativar som", mediaSeek: "Posição da reprodução", mediaVolume: "Volume", mediaCaptionsShow: "Ativar legendas", mediaCaptionsHide: "Desativar legendas", mediaSkipBack: "Voltar 10 segundos", mediaSkipForward: "Avançar 10 segundos", mediaFullscreenEnter: "Tela cheia", mediaFullscreenExit: "Sair da tela cheia", uploadSending: "Enviando", uploadCancel: "Cancelar envio", uploadRetry: "Tentar envio novamente", uploadError: "Falha no envio", uploadCanceled: "Envio cancelado", uploadComplete: "Envio concluído", uploadPause: "Pausar envio", uploadResume: "Retomar envio", uploadPaused: "Pausado", uploadPending: "Aguardando", uploadChecksum: "Soma de verificação", uploadChecksumBad: "O servidor recebeu bytes diferentes dos enviados.", fileConflict: "Já existe um arquivo com este nome na fila", fileReplace: "Substituir", fileKeepBoth: "Manter os dois", fileSkip: "Pular", uploadReceipt: "Recibo", uploadReceiptCopy: "Copiar recibo", agentInspector: "Inspetor do agente", invocationLabel: "Invocação", invocationInput: "Entrada", invocationOutput: "Saída", taskQueueLabel: "Fila de tarefas", taskState: { queued: "Na fila", running: "Executando", completed: "Concluída", failed: "Falhou", blocked: "Bloqueada", paused: "Pausada" }, taskPriority: { low: "Baixa", medium: "Média", high: "Alta" }, approvalLabel: "Aprovação", approvalApprove: "Aprovar", approvalDeny: "Negar", approvalApproved: "Aprovado", approvalDenied: "Negado", approvalDeadline: "Decidir até", approvalRisk: { low: "Risco baixo", medium: "Risco médio", high: "Risco alto" }, permissionLabel: "Permissões de ferramenta", permissionAsk: "Perguntar", permissionAlways: "Sempre", permissionNever: "Nunca", eventStreamLabel: "Eventos", traceLabel: "Rastro", healthLabel: "Saúde", healthState: { operational: "Operando", degraded: "Degradado", down: "Fora do ar", maintenance: "Em manutenção", unknown: "Desconhecido" }, modelUsageLabel: "Consumo por modelo", usageMetric: { tokens: "Tokens", cost: "Custo", requests: "Chamadas" }, costMeterLabel: "Custo", costMeterSpent: "Gasto", costMeterRemaining: "restantes", costMeterExceeded: "Acima do limite", costMeterNear: "O gasto passou do limite brando.", costMeterOver: "O limite foi atingido. As próximas chamadas estão bloqueadas.", memoryLabel: "Livro-razão de memória", memoryProvenance: "De onde isto veio", memoryOperation: { added: "Guardada", updated: "Atualizada", recalled: "Lembrada", forgotten: "Esquecida" }, memoryScope: { episodic: "Episódica", semantic: "Semântica", procedural: "Procedural" }, agentMessageLabel: "Recados entre agentes", agentMessageTo: "para", agentMessageBroadcast: "todos os agentes", agentMessageReason: "Por que foi por aqui", agentMessageKind: { request: "Pedido", response: "Resposta", handoff: "Passagem", broadcast: "Difusão", error: "Erro" }, automationWhen: "Quando", automationThen: "Então", automationEnabled: "Ativa", automationLastRun: "Última execução", automationResult: { success: "Concluiu", failure: "Falhou" }, graphLabel: "Grafo de dependências", agentState: { idle: "Ocioso", thinking: "Pensando", running: "Executando", paused: "Pausado", error: "Erro", completed: "Concluído" }, codeEditor: "Editor de código", chatLabel: "Conversa", chatMessage: "Mensagem", chatSend: "Enviar", qrCode: "Código QR", chartLabel: "Gráfico", copyCode: "Copiar código", tocLabel: "Nesta página", navigationToggle: "Navegação", sidebarLabel: "Lateral", universalState: { waiting_user: "Esperando alguém agir.", waiting_approval: "Esperando aprovação.", waiting_dependency: "Esperando outra coisa terminar.", offline: "Sem conexão. Isto foi carregado antes.", stale: "Isto pode estar desatualizado.", partial: "Parte disto não pôde ser carregada.", degraded: "Funcionando com capacidade reduzida." } };
|
|
27
|
+
export const ptBR = { close: "Fechar", confirmCancel: "Cancelar", dataError: "Não foi possível carregar.", dataEmpty: "Ainda não há nada aqui", confirmProceed: "Continuar", paginationLabel: "Paginação", previous: "Anterior", next: "Próxima", breadcrumbLabel: "Breadcrumb", tabsLabel: "Abas", optionsLabel: "Opções", tableLabel: "Tabela", commandLabel: "Paleta de comandos", commandPlaceholder: "Digite um comando…", dismissNotification: "Dispensar notificação", toolbarLabel: "Barra de ferramentas", loading: "Carregando", otpDigit: "Dígito", stepperLabel: "Etapas", increment: "Aumentar", decrement: "Diminuir", comboboxEmpty: "Nenhum resultado", comboboxClear: "Limpar seleção", comboboxOpen: "Abrir lista", comboboxRemove: "Remover", comboboxLoading: "Carregando…", fileDropPrompt: "Arraste arquivos aqui ou clique para selecionar", fileAdded: "Arquivo adicionado", fileRemoved: "Arquivo removido", fileRemove: "Remover", fileTooLarge: "Arquivo maior que o limite", fileWrongType: "Tipo de arquivo não aceito", treeLabel: "Árvore", notificationsLabel: "Notificações", notificationMarkAll: "Marcar todas como lidas", notificationEmpty: "Nenhuma notificação", notificationUnread: "Não lida", notificationNew: "novas notificações", dataGridFilter: "Filtrar", dataGridEmpty: "Nenhum resultado", dataGridSelectAll: "Selecionar todas as linhas", dataGridSelectRow: "Selecionar linha", dataGridSelected: "selecionadas", dataGridClearSelection: "Limpar seleção", dataGridBulkLabel: "Ações em lote", dataGridColumns: "Colunas", dataGridResize: "Redimensionar coluna", dataGridStale: "Mostrando dados que podem estar desatualizados.", dataGridPartial: "Algumas linhas não puderam ser carregadas. O que aparece está incompleto.", dataGridError: "Não foi possível carregar as linhas.", dataGridDetails: "Detalhes", dataGridDetailPanel: "Detalhe da linha", dataGridExport: "Exportar", dataGridExportRows: "linhas", dataGridExportFiltered: "linhas filtradas", dataGridExportSelected: "linhas selecionadas", mediaPlayer: "Reprodutor de mídia", mediaPlay: "Reproduzir", mediaPause: "Pausar", mediaMute: "Silenciar", mediaUnmute: "Ativar som", mediaSeek: "Posição da reprodução", mediaVolume: "Volume", mediaCaptionsShow: "Ativar legendas", mediaCaptionsHide: "Desativar legendas", mediaSkipBack: "Voltar 10 segundos", mediaSkipForward: "Avançar 10 segundos", mediaFullscreenEnter: "Tela cheia", mediaFullscreenExit: "Sair da tela cheia", carouselLabel: "Carrossel", carouselSlide: "Slide", positionOf: "de", carouselPrev: "Slide anterior", carouselNext: "Próximo slide", galleryLabel: "Galeria", sortableLabel: "Lista ordenável", sortableHandle: "Reordenar", sortableHelp: "Aperte Espaço para pegar, e as setas para cima e para baixo para mover. Espaço solta, Esc devolve ao lugar.", sortableGrabbed: "Pego", sortableDropped: "Solto", sortableMoved: "Movido", sortableCanceled: "Devolvido", blockEditorLabel: "Blocos de conteúdo", blockLabel: "Bloco", blockRemove: "Remover bloco", uploadSending: "Enviando", uploadCancel: "Cancelar envio", uploadRetry: "Tentar envio novamente", uploadError: "Falha no envio", uploadCanceled: "Envio cancelado", uploadComplete: "Envio concluído", uploadPause: "Pausar envio", uploadResume: "Retomar envio", uploadPaused: "Pausado", uploadPending: "Aguardando", uploadChecksum: "Soma de verificação", uploadChecksumBad: "O servidor recebeu bytes diferentes dos enviados.", fileConflict: "Já existe um arquivo com este nome na fila", fileReplace: "Substituir", fileKeepBoth: "Manter os dois", fileSkip: "Pular", uploadReceipt: "Recibo", uploadReceiptCopy: "Copiar recibo", agentInspector: "Inspetor do agente", invocationLabel: "Invocação", invocationInput: "Entrada", invocationOutput: "Saída", taskQueueLabel: "Fila de tarefas", taskState: { queued: "Na fila", running: "Executando", completed: "Concluída", failed: "Falhou", blocked: "Bloqueada", paused: "Pausada" }, taskPriority: { low: "Baixa", medium: "Média", high: "Alta" }, approvalLabel: "Aprovação", approvalApprove: "Aprovar", approvalDeny: "Negar", approvalApproved: "Aprovado", approvalDenied: "Negado", approvalDeadline: "Decidir até", approvalRisk: { low: "Risco baixo", medium: "Risco médio", high: "Risco alto" }, permissionLabel: "Permissões de ferramenta", permissionAsk: "Perguntar", permissionAlways: "Sempre", permissionNever: "Nunca", eventStreamLabel: "Eventos", traceLabel: "Rastro", healthLabel: "Saúde", healthState: { operational: "Operando", degraded: "Degradado", down: "Fora do ar", maintenance: "Em manutenção", unknown: "Desconhecido" }, modelUsageLabel: "Consumo por modelo", usageMetric: { tokens: "Tokens", cost: "Custo", requests: "Chamadas" }, costMeterLabel: "Custo", costMeterSpent: "Gasto", costMeterRemaining: "restantes", costMeterExceeded: "Acima do limite", costMeterNear: "O gasto passou do limite brando.", costMeterOver: "O limite foi atingido. As próximas chamadas estão bloqueadas.", memoryLabel: "Livro-razão de memória", memoryProvenance: "De onde isto veio", memoryOperation: { added: "Guardada", updated: "Atualizada", recalled: "Lembrada", forgotten: "Esquecida" }, memoryScope: { episodic: "Episódica", semantic: "Semântica", procedural: "Procedural" }, agentMessageLabel: "Recados entre agentes", agentMessageTo: "para", agentMessageBroadcast: "todos os agentes", agentMessageReason: "Por que foi por aqui", agentMessageKind: { request: "Pedido", response: "Resposta", handoff: "Passagem", broadcast: "Difusão", error: "Erro" }, automationWhen: "Quando", automationThen: "Então", automationEnabled: "Ativa", automationLastRun: "Última execução", automationResult: { success: "Concluiu", failure: "Falhou" }, graphLabel: "Grafo de dependências", agentState: { idle: "Ocioso", thinking: "Pensando", running: "Executando", paused: "Pausado", error: "Erro", completed: "Concluído" }, codeEditor: "Editor de código", chatLabel: "Conversa", chatMessage: "Mensagem", chatSend: "Enviar", qrCode: "Código QR", chartLabel: "Gráfico", copyCode: "Copiar código", tocLabel: "Nesta página", navigationToggle: "Navegação", sidebarLabel: "Lateral", bottomNavLabel: "Principal", universalState: { waiting_user: "Esperando alguém agir.", waiting_approval: "Esperando aprovação.", waiting_dependency: "Esperando outra coisa terminar.", offline: "Sem conexão. Isto foi carregado antes.", stale: "Isto pode estar desatualizado.", partial: "Parte disto não pôde ser carregada.", degraded: "Funcionando com capacidade reduzida." } };
|
|
28
28
|
// Sprite de ícones: CONFIGURAÇÃO DE APLICAÇÃO, então entra pelo provider, uma vez.
|
|
29
29
|
// Antes o default absoluto "/aurea-icons.svg" vivia no Icon e 15 componentes declaravam
|
|
30
30
|
// e repassavam `spriteUrl` à mão — 52 sítios de código. Consequência: aplicação servida
|
|
@@ -85,3 +85,27 @@ export function gridStateFromParams(params, filters) {
|
|
|
85
85
|
state.columnFilters = colunas;
|
|
86
86
|
return state;
|
|
87
87
|
}
|
|
88
|
+
const CHAVES_TELA = ["tab", "view", "detail"];
|
|
89
|
+
// `into` preserva o que já estava, pelo mesmo motivo do `gridStateToParams`: uma aplicação real
|
|
90
|
+
// tem `ref=`, `utm_*` e companhia na mesma URL, e serializar a tela não pode apagá-los. O que se
|
|
91
|
+
// apaga é só o que ESTE formato escreve — senão um estado que saiu continuaria na URL.
|
|
92
|
+
export function screenStateToParams(state, into) {
|
|
93
|
+
const p = gridStateToParams(state, into);
|
|
94
|
+
for (const k of CHAVES_TELA)
|
|
95
|
+
p.delete(k);
|
|
96
|
+
for (const k of CHAVES_TELA) {
|
|
97
|
+
const v = state[k];
|
|
98
|
+
if (v)
|
|
99
|
+
p.set(k, v);
|
|
100
|
+
}
|
|
101
|
+
return p;
|
|
102
|
+
}
|
|
103
|
+
export function screenStateFromParams(params, filters) {
|
|
104
|
+
const state = gridStateFromParams(params, filters);
|
|
105
|
+
for (const k of CHAVES_TELA) {
|
|
106
|
+
const v = params.get(k);
|
|
107
|
+
if (v)
|
|
108
|
+
state[k] = v;
|
|
109
|
+
}
|
|
110
|
+
return state;
|
|
111
|
+
}
|
package/dist/system.d.ts
CHANGED
|
@@ -9,6 +9,15 @@ export declare function AureaProvider({ children, strings, direction, spriteUrl,
|
|
|
9
9
|
}): React.JSX.Element;
|
|
10
10
|
export type AureaToastType = "info" | "success" | "warning" | "danger";
|
|
11
11
|
export declare const useToast: () => import("@base-ui/react").UseToastManagerReturnValue<any>;
|
|
12
|
+
export type AureaThemeName = "dark" | "light";
|
|
13
|
+
export type AureaDensity = "compact" | "comfortable" | "spacious";
|
|
14
|
+
export declare function useAureaTheme(): {
|
|
15
|
+
theme: AureaThemeName | null;
|
|
16
|
+
density: AureaDensity | null;
|
|
17
|
+
setTheme: (t: AureaThemeName) => void;
|
|
18
|
+
setDensity: (d: AureaDensity) => void;
|
|
19
|
+
toggleTheme: () => void;
|
|
20
|
+
};
|
|
12
21
|
export type IconName = string;
|
|
13
22
|
export interface IconProps extends React.SVGAttributes<SVGSVGElement> {
|
|
14
23
|
name: IconName;
|
package/dist/system.js
CHANGED
|
@@ -20,6 +20,52 @@ export function AureaProvider({ children, strings, direction = "ltr", spriteUrl
|
|
|
20
20
|
return _jsx(StringsContext.Provider, { value: value, children: _jsx(SpriteContext.Provider, { value: spriteUrl, children: _jsx(PortalContext.Provider, { value: portalContainer, children: _jsx(DirectionProvider, { direction: direction, children: _jsx(BaseToast.Provider, { children: _jsxs(BaseTooltip.Provider, { children: [children, _jsx(AureaToastViewport, {})] }) }) }) }) }) });
|
|
21
21
|
}
|
|
22
22
|
export const useToast = () => BaseToast.useToastManager();
|
|
23
|
+
// useAureaTheme (M7): ler e trocar os DOIS eixos que a Aurea põe no <html> — `data-theme` e
|
|
24
|
+
// `data-density`. Até aqui só existia `window.Aurea.setTheme` no `aurea.js`, que é vanilla: em
|
|
25
|
+
// React não havia como saber o tema atual sem enfiar a mão no DOM, e um botão de tema não sabia
|
|
26
|
+
// que ícone desenhar.
|
|
27
|
+
//
|
|
28
|
+
// O QUE ESTE HOOK NÃO FAZ, e é a parte mais importante dele — pesquisado em 13/08/2026, não
|
|
29
|
+
// suposto. O `next-themes` já resolve persistência, preferência do sistema, sincronia entre abas
|
|
30
|
+
// e o script embutido que evita o flash, e ele escreve **`data-theme` no <html>**, que é
|
|
31
|
+
// exatamente o atributo que a Aurea lê. Ou seja: os dois já se encaixam sem código nosso.
|
|
32
|
+
// Reescrever isso aqui seria trocar uma biblioteca mantida por uma cópia pior — e guardar
|
|
33
|
+
// preferência de usuário é decisão da APLICAÇÃO, não da biblioteca de interface (é o mesmo
|
|
34
|
+
// motivo pelo qual a persistência de tema do catálogo mora no catálogo).
|
|
35
|
+
// O que ele faz é o que biblioteca nenhuma faz: **densidade**, que é eixo da Aurea e não existe
|
|
36
|
+
// no `next-themes` nem em ninguém.
|
|
37
|
+
//
|
|
38
|
+
// `useSyncExternalStore` e não `useState`: o valor mora no DOM, e quem o troca pode ser outro —
|
|
39
|
+
// o `next-themes`, um script no <head>, ou o `window.Aurea` de sempre. Assinar a mutação do
|
|
40
|
+
// atributo é o que mantém o React em dia com quem manda de verdade.
|
|
41
|
+
//
|
|
42
|
+
// E `getServerSnapshot` devolve `null` de propósito. A armadilha está documentada no próprio
|
|
43
|
+
// `next-themes`: no servidor o tema é **desconhecido**, e fingir um valor produz erro de
|
|
44
|
+
// hidratação. Por isso o retorno é `theme: string|null` — enquanto for `null`, não desenhe UI que
|
|
45
|
+
// dependa do tema. É a mesma regra do "delay rendering until mounted", só que sem um `mounted`
|
|
46
|
+
// solto para o consumidor esquecer de checar.
|
|
47
|
+
const assinaHtml = (cb) => {
|
|
48
|
+
if (typeof MutationObserver === "undefined")
|
|
49
|
+
return () => { };
|
|
50
|
+
const obs = new MutationObserver(cb);
|
|
51
|
+
obs.observe(document.documentElement, { attributes: true, attributeFilter: ["data-theme", "data-density"] });
|
|
52
|
+
return () => obs.disconnect();
|
|
53
|
+
};
|
|
54
|
+
const leAtributo = (nome) => () => typeof document === "undefined" ? null : document.documentElement.getAttribute(nome);
|
|
55
|
+
const semServidor = () => null;
|
|
56
|
+
export function useAureaTheme() {
|
|
57
|
+
const theme = React.useSyncExternalStore(assinaHtml, leAtributo("data-theme"), semServidor);
|
|
58
|
+
const density = React.useSyncExternalStore(assinaHtml, leAtributo("data-density"), semServidor);
|
|
59
|
+
return React.useMemo(() => ({
|
|
60
|
+
theme, density,
|
|
61
|
+
setTheme: (t) => { document.documentElement.dataset.theme = t; },
|
|
62
|
+
setDensity: (d) => { document.documentElement.dataset.density = d; },
|
|
63
|
+
// Alternar é sobre o que está NA TELA, então `null` (servidor, ou ninguém escolheu ainda)
|
|
64
|
+
// resolve para claro e vira escuro — e não o contrário, que deixaria o primeiro clique sem
|
|
65
|
+
// efeito visível em quem estava no claro do sistema.
|
|
66
|
+
toggleTheme: () => { document.documentElement.dataset.theme = theme === "dark" ? "light" : "dark"; },
|
|
67
|
+
}), [theme, density]);
|
|
68
|
+
}
|
|
23
69
|
function AureaToastList() {
|
|
24
70
|
const { toasts } = BaseToast.useToastManager();
|
|
25
71
|
const s = useAureaStrings();
|
package/package.json
CHANGED
|
@@ -1,176 +1,180 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@aurea-uds/react",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "React components for Aurea UDS. Import @aurea-uds/fonts/css and @aurea-uds/core/css alongside.",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"aurea",
|
|
7
|
-
"design-system",
|
|
8
|
-
"react",
|
|
9
|
-
"components",
|
|
10
|
-
"ui"
|
|
11
|
-
],
|
|
12
|
-
"license": "Apache-2.0",
|
|
13
|
-
"repository": {
|
|
14
|
-
"type": "git",
|
|
15
|
-
"url": "git+https://github.com/victor1mor/aurea-uds.git",
|
|
16
|
-
"directory": "packages/react"
|
|
17
|
-
},
|
|
18
|
-
"publishConfig": {
|
|
19
|
-
"access": "public"
|
|
20
|
-
},
|
|
21
|
-
"type": "module",
|
|
22
|
-
"sideEffects": false,
|
|
23
|
-
"main": "./dist/index.js",
|
|
24
|
-
"module": "./dist/index.js",
|
|
25
|
-
"types": "./dist/index.d.ts",
|
|
26
|
-
"exports": {
|
|
27
|
-
".": {
|
|
28
|
-
"types": "./dist/index.d.ts",
|
|
29
|
-
"import": "./dist/index.js"
|
|
30
|
-
},
|
|
31
|
-
"./actions": {
|
|
32
|
-
"types": "./dist/actions.d.ts",
|
|
33
|
-
"import": "./dist/actions.js"
|
|
34
|
-
},
|
|
35
|
-
"./inputs": {
|
|
36
|
-
"types": "./dist/inputs.d.ts",
|
|
37
|
-
"import": "./dist/inputs.js"
|
|
38
|
-
},
|
|
39
|
-
"./navigation": {
|
|
40
|
-
"types": "./dist/navigation.d.ts",
|
|
41
|
-
"import": "./dist/navigation.js"
|
|
42
|
-
},
|
|
43
|
-
"./overlays": {
|
|
44
|
-
"types": "./dist/overlays.d.ts",
|
|
45
|
-
"import": "./dist/overlays.js"
|
|
46
|
-
},
|
|
47
|
-
"./disclosure": {
|
|
48
|
-
"types": "./dist/disclosure.d.ts",
|
|
49
|
-
"import": "./dist/disclosure.js"
|
|
50
|
-
},
|
|
51
|
-
"./feedback": {
|
|
52
|
-
"types": "./dist/feedback.d.ts",
|
|
53
|
-
"import": "./dist/feedback.js"
|
|
54
|
-
},
|
|
55
|
-
"./data-display": {
|
|
56
|
-
"types": "./dist/data-display.d.ts",
|
|
57
|
-
"import": "./dist/data-display.js"
|
|
58
|
-
},
|
|
59
|
-
"./identity": {
|
|
60
|
-
"types": "./dist/identity.d.ts",
|
|
61
|
-
"import": "./dist/identity.js"
|
|
62
|
-
},
|
|
63
|
-
"./media": {
|
|
64
|
-
"types": "./dist/media.d.ts",
|
|
65
|
-
"import": "./dist/media.js"
|
|
66
|
-
},
|
|
67
|
-
"./code": {
|
|
68
|
-
"types": "./dist/code.d.ts",
|
|
69
|
-
"import": "./dist/code.js"
|
|
70
|
-
},
|
|
71
|
-
"./communication": {
|
|
72
|
-
"types": "./dist/communication.d.ts",
|
|
73
|
-
"import": "./dist/communication.js"
|
|
74
|
-
},
|
|
75
|
-
"./layout": {
|
|
76
|
-
"types": "./dist/layout.d.ts",
|
|
77
|
-
"import": "./dist/layout.js"
|
|
78
|
-
},
|
|
79
|
-
"./system": {
|
|
80
|
-
"types": "./dist/system.d.ts",
|
|
81
|
-
"import": "./dist/system.js"
|
|
82
|
-
},
|
|
83
|
-
"./code-editor": {
|
|
84
|
-
"types": "./dist/code-editor.d.ts",
|
|
85
|
-
"import": "./dist/code-editor.js"
|
|
86
|
-
},
|
|
87
|
-
"./data-grid": {
|
|
88
|
-
"types": "./dist/data-grid.d.ts",
|
|
89
|
-
"import": "./dist/data-grid.js"
|
|
90
|
-
},
|
|
91
|
-
"./qrcode": {
|
|
92
|
-
"types": "./dist/qrcode.d.ts",
|
|
93
|
-
"import": "./dist/qrcode.js"
|
|
94
|
-
},
|
|
95
|
-
"./chart": {
|
|
96
|
-
"types": "./dist/chart.d.ts",
|
|
97
|
-
"import": "./dist/chart.js"
|
|
98
|
-
},
|
|
99
|
-
"./calendar": {
|
|
100
|
-
"types": "./dist/calendar.d.ts",
|
|
101
|
-
"import": "./dist/calendar.js"
|
|
102
|
-
},
|
|
103
|
-
"./graph": {
|
|
104
|
-
"types": "./dist/graph.d.ts",
|
|
105
|
-
"import": "./dist/graph.js"
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
"@
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
"@
|
|
123
|
-
"@
|
|
124
|
-
"codemirror": "^6.
|
|
125
|
-
"
|
|
126
|
-
"react": "
|
|
127
|
-
"react
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
"
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
"@
|
|
169
|
-
"codemirror": "^6.
|
|
170
|
-
"
|
|
171
|
-
"
|
|
172
|
-
"react-
|
|
173
|
-
"
|
|
174
|
-
"
|
|
175
|
-
|
|
176
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@aurea-uds/react",
|
|
3
|
+
"version": "0.4.0",
|
|
4
|
+
"description": "React components for Aurea UDS. Import @aurea-uds/fonts/css and @aurea-uds/core/css alongside.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"aurea",
|
|
7
|
+
"design-system",
|
|
8
|
+
"react",
|
|
9
|
+
"components",
|
|
10
|
+
"ui"
|
|
11
|
+
],
|
|
12
|
+
"license": "Apache-2.0",
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git+https://github.com/victor1mor/aurea-uds.git",
|
|
16
|
+
"directory": "packages/react"
|
|
17
|
+
},
|
|
18
|
+
"publishConfig": {
|
|
19
|
+
"access": "public"
|
|
20
|
+
},
|
|
21
|
+
"type": "module",
|
|
22
|
+
"sideEffects": false,
|
|
23
|
+
"main": "./dist/index.js",
|
|
24
|
+
"module": "./dist/index.js",
|
|
25
|
+
"types": "./dist/index.d.ts",
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"import": "./dist/index.js"
|
|
30
|
+
},
|
|
31
|
+
"./actions": {
|
|
32
|
+
"types": "./dist/actions.d.ts",
|
|
33
|
+
"import": "./dist/actions.js"
|
|
34
|
+
},
|
|
35
|
+
"./inputs": {
|
|
36
|
+
"types": "./dist/inputs.d.ts",
|
|
37
|
+
"import": "./dist/inputs.js"
|
|
38
|
+
},
|
|
39
|
+
"./navigation": {
|
|
40
|
+
"types": "./dist/navigation.d.ts",
|
|
41
|
+
"import": "./dist/navigation.js"
|
|
42
|
+
},
|
|
43
|
+
"./overlays": {
|
|
44
|
+
"types": "./dist/overlays.d.ts",
|
|
45
|
+
"import": "./dist/overlays.js"
|
|
46
|
+
},
|
|
47
|
+
"./disclosure": {
|
|
48
|
+
"types": "./dist/disclosure.d.ts",
|
|
49
|
+
"import": "./dist/disclosure.js"
|
|
50
|
+
},
|
|
51
|
+
"./feedback": {
|
|
52
|
+
"types": "./dist/feedback.d.ts",
|
|
53
|
+
"import": "./dist/feedback.js"
|
|
54
|
+
},
|
|
55
|
+
"./data-display": {
|
|
56
|
+
"types": "./dist/data-display.d.ts",
|
|
57
|
+
"import": "./dist/data-display.js"
|
|
58
|
+
},
|
|
59
|
+
"./identity": {
|
|
60
|
+
"types": "./dist/identity.d.ts",
|
|
61
|
+
"import": "./dist/identity.js"
|
|
62
|
+
},
|
|
63
|
+
"./media": {
|
|
64
|
+
"types": "./dist/media.d.ts",
|
|
65
|
+
"import": "./dist/media.js"
|
|
66
|
+
},
|
|
67
|
+
"./code": {
|
|
68
|
+
"types": "./dist/code.d.ts",
|
|
69
|
+
"import": "./dist/code.js"
|
|
70
|
+
},
|
|
71
|
+
"./communication": {
|
|
72
|
+
"types": "./dist/communication.d.ts",
|
|
73
|
+
"import": "./dist/communication.js"
|
|
74
|
+
},
|
|
75
|
+
"./layout": {
|
|
76
|
+
"types": "./dist/layout.d.ts",
|
|
77
|
+
"import": "./dist/layout.js"
|
|
78
|
+
},
|
|
79
|
+
"./system": {
|
|
80
|
+
"types": "./dist/system.d.ts",
|
|
81
|
+
"import": "./dist/system.js"
|
|
82
|
+
},
|
|
83
|
+
"./code-editor": {
|
|
84
|
+
"types": "./dist/code-editor.d.ts",
|
|
85
|
+
"import": "./dist/code-editor.js"
|
|
86
|
+
},
|
|
87
|
+
"./data-grid": {
|
|
88
|
+
"types": "./dist/data-grid.d.ts",
|
|
89
|
+
"import": "./dist/data-grid.js"
|
|
90
|
+
},
|
|
91
|
+
"./qrcode": {
|
|
92
|
+
"types": "./dist/qrcode.d.ts",
|
|
93
|
+
"import": "./dist/qrcode.js"
|
|
94
|
+
},
|
|
95
|
+
"./chart": {
|
|
96
|
+
"types": "./dist/chart.d.ts",
|
|
97
|
+
"import": "./dist/chart.js"
|
|
98
|
+
},
|
|
99
|
+
"./calendar": {
|
|
100
|
+
"types": "./dist/calendar.d.ts",
|
|
101
|
+
"import": "./dist/calendar.js"
|
|
102
|
+
},
|
|
103
|
+
"./graph": {
|
|
104
|
+
"types": "./dist/graph.d.ts",
|
|
105
|
+
"import": "./dist/graph.js"
|
|
106
|
+
},
|
|
107
|
+
"./agents": {
|
|
108
|
+
"types": "./dist/agents.d.ts",
|
|
109
|
+
"import": "./dist/agents.js"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"files": [
|
|
113
|
+
"dist"
|
|
114
|
+
],
|
|
115
|
+
"scripts": {
|
|
116
|
+
"build": "tsc"
|
|
117
|
+
},
|
|
118
|
+
"dependencies": {
|
|
119
|
+
"@base-ui/react": "^1.6.0"
|
|
120
|
+
},
|
|
121
|
+
"peerDependencies": {
|
|
122
|
+
"@codemirror/language": "^6.12.4",
|
|
123
|
+
"@codemirror/state": "^6.7.1",
|
|
124
|
+
"@codemirror/view": "^6.43.6",
|
|
125
|
+
"@lezer/highlight": "^1.2.3",
|
|
126
|
+
"@tanstack/react-table": "^8.21.3",
|
|
127
|
+
"@xyflow/react": "^12.11.2",
|
|
128
|
+
"codemirror": "^6.0.2",
|
|
129
|
+
"qr": "^0.6.0",
|
|
130
|
+
"react": ">=19",
|
|
131
|
+
"react-day-picker": "^10.0.1",
|
|
132
|
+
"react-dom": ">=19",
|
|
133
|
+
"recharts": "^3.10.1"
|
|
134
|
+
},
|
|
135
|
+
"peerDependenciesMeta": {
|
|
136
|
+
"@codemirror/language": {
|
|
137
|
+
"optional": true
|
|
138
|
+
},
|
|
139
|
+
"@codemirror/state": {
|
|
140
|
+
"optional": true
|
|
141
|
+
},
|
|
142
|
+
"@codemirror/view": {
|
|
143
|
+
"optional": true
|
|
144
|
+
},
|
|
145
|
+
"@lezer/highlight": {
|
|
146
|
+
"optional": true
|
|
147
|
+
},
|
|
148
|
+
"@tanstack/react-table": {
|
|
149
|
+
"optional": true
|
|
150
|
+
},
|
|
151
|
+
"react-day-picker": {
|
|
152
|
+
"optional": true
|
|
153
|
+
},
|
|
154
|
+
"recharts": {
|
|
155
|
+
"optional": true
|
|
156
|
+
},
|
|
157
|
+
"codemirror": {
|
|
158
|
+
"optional": true
|
|
159
|
+
},
|
|
160
|
+
"qr": {
|
|
161
|
+
"optional": true
|
|
162
|
+
},
|
|
163
|
+
"@xyflow/react": {
|
|
164
|
+
"optional": true
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"devDependencies": {
|
|
168
|
+
"@codemirror/language": "^6.12.4",
|
|
169
|
+
"@codemirror/state": "^6.7.1",
|
|
170
|
+
"@codemirror/view": "^6.43.6",
|
|
171
|
+
"@lezer/highlight": "^1.2.3",
|
|
172
|
+
"@tanstack/react-table": "8.21.3",
|
|
173
|
+
"codemirror": "^6.0.2",
|
|
174
|
+
"qr": "^0.6.0",
|
|
175
|
+
"react": "^19.2.0",
|
|
176
|
+
"react-day-picker": "^10.0.1",
|
|
177
|
+
"react-dom": "^19.2.0",
|
|
178
|
+
"recharts": "^3.10.1"
|
|
179
|
+
}
|
|
180
|
+
}
|