@dgplsoares/singulai-ds-mcp 0.5.0 → 0.6.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.5.0",
2
+ "version": "0.6.0",
3
3
  "generated_at": "2026-05-12",
4
4
  "design_system": {
5
5
  "name": "Singulai Design System",
@@ -254,6 +254,12 @@
254
254
  4,
255
255
  5,
256
256
  6
257
+ ],
258
+ "FilterDropdownPosition": [
259
+ "bottom-start",
260
+ "bottom-end",
261
+ "top-start",
262
+ "top-end"
257
263
  ]
258
264
  },
259
265
  "components": [
@@ -2069,6 +2075,81 @@
2069
2075
  "<ds-stats-bar [columns]=\"4\">\n <ds-statsbar-card title=\"Lives Realizadas\" value=\"97\" delta=\"5%\" variant=\"info\" />\n <ds-statsbar-card title=\"Lives Agendadas\" value=\"3\" delta=\"5%\" variant=\"warning\" />\n <ds-statsbar-card title=\"Audiencia Media\" value=\"127\" delta=\"5%\" variant=\"success\" />\n <ds-statsbar-card title=\"Gravacoes\" value=\"42\" delta=\"5%\" variant=\"purple\" />\n</ds-stats-bar>",
2070
2076
  "// Listagem sem delta (Figma 787-5195 Cursos):\n<ds-stats-bar [columns]=\"4\">\n <ds-statsbar-card variant=\"info\" title=\"Todos\" value=\"48\" />\n <ds-statsbar-card variant=\"success\" title=\"Publicados\" value=\"25\" />\n</ds-stats-bar>"
2071
2077
  ]
2078
+ },
2079
+ {
2080
+ "name": "FilterDropdownComponent",
2081
+ "selector": "ds-filter-dropdown",
2082
+ "description": "Filtro multi-select via overlay com checkboxes round neumorphic. Pattern do Figma DEC-FIG-A-4 (952-15654/16189/16231/16238). Trigger pill neumorphic (bg #EDF1F6 + drop shadow + inset top white / bottom dark) com icon filter + label dinamico + chevron. Overlay com border 1px #ADC2DD + checkboxes 16px round (selecionado: gradient azul #5C8DE2->#27467C + outer shadow neumorphic; nao-selecionado: bg #E3EDF7 + inset shadow). Estado controlado pelo caller (selectedValues array). Click fora ou ESC fecha. Usa CDK Overlay. Para single-select: caller pode emular passando array com 1 item ou usar <ds-dropdown-menu> action items.",
2083
+ "tags": [
2084
+ "filter",
2085
+ "dropdown",
2086
+ "multi-select",
2087
+ "checkbox",
2088
+ "overlay",
2089
+ "listagem",
2090
+ "status",
2091
+ "neumorphic"
2092
+ ],
2093
+ "props": [
2094
+ {
2095
+ "name": "options",
2096
+ "type": "FilterDropdownItem[]",
2097
+ "required": true,
2098
+ "description": "Array de opcoes {value, label, count?, disabled?}."
2099
+ },
2100
+ {
2101
+ "name": "selectedValues",
2102
+ "type": "string[]",
2103
+ "default": "[]",
2104
+ "description": "Values atualmente selecionados (controlado pelo caller)."
2105
+ },
2106
+ {
2107
+ "name": "triggerLabel",
2108
+ "type": "string",
2109
+ "default": "'Filtro'",
2110
+ "description": "Label do trigger button. Pattern: nome do filtro ativo ou 'N selecionados'."
2111
+ },
2112
+ {
2113
+ "name": "triggerIcon",
2114
+ "type": "string",
2115
+ "default": "'heroFunnel'",
2116
+ "description": "Heroicon do trigger. Default funnel (filter)."
2117
+ },
2118
+ {
2119
+ "name": "position",
2120
+ "type": "FilterDropdownPosition",
2121
+ "default": "'bottom-start'",
2122
+ "description": "Posicao do overlay: bottom-start | bottom-end | top-start | top-end."
2123
+ },
2124
+ {
2125
+ "name": "ariaLabel",
2126
+ "type": "string",
2127
+ "default": "'Filtrar'",
2128
+ "description": "Aria-label do trigger e do listbox."
2129
+ },
2130
+ {
2131
+ "name": "minWidth",
2132
+ "type": "string",
2133
+ "default": "'200px'",
2134
+ "description": "Largura minima do overlay (CSS)."
2135
+ }
2136
+ ],
2137
+ "outputs": [
2138
+ {
2139
+ "name": "filtersChange",
2140
+ "type": "EventEmitter<string[]>",
2141
+ "description": "Emitido com o novo array de selectedValues apos cada toggle."
2142
+ },
2143
+ {
2144
+ "name": "openChange",
2145
+ "type": "EventEmitter<boolean>",
2146
+ "description": "Emitido quando o overlay abre ou fecha."
2147
+ }
2148
+ ],
2149
+ "examples": [
2150
+ "<ds-filter-dropdown\n [options]=\"[\n { value: 'all', label: 'Todos', count: 7 },\n { value: 'confirmed', label: 'Confirmados', count: 3 },\n { value: 'pending', label: 'Pendentes', count: 2 }\n ]\"\n [selectedValues]=\"selected()\"\n triggerLabel=\"Todos\"\n (filtersChange)=\"onFilterChange($event)\"\n/>",
2151
+ "// Caller controla o label dinamico:\nfilterLabel = computed(() => {\n const sel = this.selected();\n if (sel.length === 0) return 'Filtro';\n if (sel.length === 1) return this.options.find(o => o.value === sel[0])?.label ?? 'Filtro';\n return `${sel.length} selecionados`;\n});"
2152
+ ]
2072
2153
  }
2073
2154
  ],
2074
2155
  "services": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dgplsoares/singulai-ds-mcp",
3
- "version": "0.5.0",
3
+ "version": "0.6.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",