@dgplsoares/singulai-ds-mcp 0.3.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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.3.0",
2
+ "version": "0.4.0",
3
3
  "generated_at": "2026-05-12",
4
4
  "design_system": {
5
5
  "name": "Singulai Design System",
@@ -246,6 +246,34 @@
246
246
  "lg",
247
247
  "xl",
248
248
  "full"
249
+ ],
250
+ "StatColor": [
251
+ "primary",
252
+ "success",
253
+ "warning",
254
+ "danger",
255
+ "info",
256
+ "muted",
257
+ "purple",
258
+ "indigo",
259
+ "pink"
260
+ ],
261
+ "StatTrend": [
262
+ "up",
263
+ "down",
264
+ "neutral"
265
+ ],
266
+ "StatsBarVariant": [
267
+ "default",
268
+ "compact",
269
+ "cards"
270
+ ],
271
+ "StatsBarColumns": [
272
+ 2,
273
+ 3,
274
+ 4,
275
+ 5,
276
+ 6
249
277
  ]
250
278
  },
251
279
  "components": [
@@ -2021,6 +2049,47 @@
2021
2049
  "<ds-offcanvas [(isOpen)]=\"isFormOpen\" title=\"Editar Curso\" [config]=\"{ position: 'right', size: 'lg' }\"><form>...</form></ds-offcanvas>",
2022
2050
  "// Com TemplateRef e footer:\n<ds-offcanvas [(isOpen)]=\"open\" title=\"...\" [contentTemplate]=\"body\" [footerTemplate]=\"footer\" [data]=\"item\" />\n<ng-template #body let-item let-close=\"close\">...</ng-template>"
2023
2051
  ]
2052
+ },
2053
+ {
2054
+ "name": "StatsBarComponent",
2055
+ "selector": "ds-stats-bar",
2056
+ "description": "Barra horizontal de metricas clicaveis (N stat-cards em grid responsivo 2-6 colunas). Thin-wrap de <app-stats-bar> (221 LOC). NAO confundir com <ds-statsbar-card> que renderiza UMA stat individual do dashboard. Cada stat tem id, label, value, color (9 opcoes legacy DEC-DSA-M), opcionalmente icon, percent, trend (up/down/neutral) com trendValue, tooltip, clickable, onClick. Suporta selecao single (default) ou multi-select via config. Skeleton loading built-in. Padrao Listagem CRUD: barra de filtros visuais no topo da pagina (clicar filtra a tabela abaixo).",
2057
+ "tags": [
2058
+ "stats",
2059
+ "metrics",
2060
+ "kpi",
2061
+ "filter",
2062
+ "listagem",
2063
+ "crud",
2064
+ "horizontal",
2065
+ "statsbar"
2066
+ ],
2067
+ "props": [
2068
+ {
2069
+ "name": "stats",
2070
+ "type": "StatItem[]",
2071
+ "default": "[]",
2072
+ "description": "Lista de stats. Cada StatItem: {id, label, value (number|string), color?, icon?, percent?, total?, tooltip?, isActive?, clickable?, onClick?, trend?, trendValue?}."
2073
+ },
2074
+ {
2075
+ "name": "config",
2076
+ "type": "StatsBarConfig",
2077
+ "default": "{}",
2078
+ "description": "{columns?: 2-6 (default 4), loading?, showSkeleton?, skeletonCount?, variant?: default|compact|cards, containerClass?, showIcons?, showTrends?, multiSelect?}."
2079
+ }
2080
+ ],
2081
+ "outputs": [
2082
+ {
2083
+ "name": "statClick",
2084
+ "type": "EventEmitter<StatSelectEvent>",
2085
+ "description": "Emitido ao clicar em uma stat. Inclui item clicado + lista de selecionados (multi)."
2086
+ }
2087
+ ],
2088
+ "examples": [
2089
+ "<ds-stats-bar [stats]=\"courseStats()\" [config]=\"{ columns: 4, showTrends: true }\" (statClick)=\"onStatClick($event)\" />",
2090
+ "// Stat com trend:\n{ id: 'active', label: 'Ativos', value: 89, color: 'success', percent: 72, trend: 'up', trendValue: '+12%' }",
2091
+ "// Pipeline 6 colunas:\n<ds-stats-bar [stats]=\"pipelineStats\" [config]=\"{ columns: 6 }\" />"
2092
+ ]
2024
2093
  }
2025
2094
  ],
2026
2095
  "services": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dgplsoares/singulai-ds-mcp",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "MCP server exposing the Singulai Design System (Angular 20) to AI agents \u2014 Claude Desktop, Claude Code, Cursor, Continue.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",