@dgplsoares/singulai-ds-mcp 0.2.0 → 0.3.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/dist/data/catalog.json +108 -2
- package/package.json +1 -1
package/dist/data/catalog.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
3
|
-
"generated_at": "2026-05-
|
|
2
|
+
"version": "0.3.0",
|
|
3
|
+
"generated_at": "2026-05-12",
|
|
4
4
|
"design_system": {
|
|
5
5
|
"name": "Singulai Design System",
|
|
6
6
|
"version": "DS-2.1",
|
|
@@ -233,6 +233,19 @@
|
|
|
233
233
|
"PipelineFunnelDeltaDirection": [
|
|
234
234
|
"up",
|
|
235
235
|
"down"
|
|
236
|
+
],
|
|
237
|
+
"OffcanvasPosition": [
|
|
238
|
+
"left",
|
|
239
|
+
"right",
|
|
240
|
+
"top",
|
|
241
|
+
"bottom"
|
|
242
|
+
],
|
|
243
|
+
"OffcanvasSize": [
|
|
244
|
+
"sm",
|
|
245
|
+
"md",
|
|
246
|
+
"lg",
|
|
247
|
+
"xl",
|
|
248
|
+
"full"
|
|
236
249
|
]
|
|
237
250
|
},
|
|
238
251
|
"components": [
|
|
@@ -1915,6 +1928,99 @@
|
|
|
1915
1928
|
"<ds-pipeline-funnel [items]=\"funilItems\" />",
|
|
1916
1929
|
"// Items com polaridade invertida (tickets em aberto):\n[{key:'open',label:'Em aberto',value:42,percent:80,variant:'danger',deltaPercent:15,deltaDirection:'up',inversePolarity:true}]"
|
|
1917
1930
|
]
|
|
1931
|
+
},
|
|
1932
|
+
{
|
|
1933
|
+
"name": "OffcanvasComponent",
|
|
1934
|
+
"selector": "ds-offcanvas",
|
|
1935
|
+
"description": "Painel lateral deslizante (slide-out drawer). Thin-wrap de <app-offcanvas> (298 LOC). Forwarda 100% da API + re-exporta types. 4 posicoes (left/right/top/bottom) × 5 sizes (sm/md/lg/xl/full). Backdrop click + ESC + body scroll lock + animacao suave configuravel + focus trap + close button + header/footer slots via TemplateRef. Suporta tambem ng-content direto no body. Two-way binding via [(isOpen)]. Padrao default: position=right, size=md. Pattern tipico para CRUD edits inline, filtros laterais, bottom sheets (mobile), notification centers.",
|
|
1936
|
+
"tags": [
|
|
1937
|
+
"offcanvas",
|
|
1938
|
+
"drawer",
|
|
1939
|
+
"sidebar",
|
|
1940
|
+
"panel",
|
|
1941
|
+
"modal",
|
|
1942
|
+
"slide-out",
|
|
1943
|
+
"sheet",
|
|
1944
|
+
"crud",
|
|
1945
|
+
"form-edit"
|
|
1946
|
+
],
|
|
1947
|
+
"props": [
|
|
1948
|
+
{
|
|
1949
|
+
"name": "isOpen",
|
|
1950
|
+
"type": "boolean",
|
|
1951
|
+
"default": "false",
|
|
1952
|
+
"description": "Estado de abertura. Two-way binding via [(isOpen)]."
|
|
1953
|
+
},
|
|
1954
|
+
{
|
|
1955
|
+
"name": "config",
|
|
1956
|
+
"type": "OffcanvasConfig",
|
|
1957
|
+
"default": "{}",
|
|
1958
|
+
"description": "{position?, size?, showBackdrop?, closeOnBackdrop?, closeOnEscape?, showCloseButton?, containerClass?, panelClass?, zIndex?, blockScroll?, animationDuration?}."
|
|
1959
|
+
},
|
|
1960
|
+
{
|
|
1961
|
+
"name": "title",
|
|
1962
|
+
"type": "string",
|
|
1963
|
+
"default": "''",
|
|
1964
|
+
"description": "Titulo do header. Quando vazio, header so renderiza se showCloseButton."
|
|
1965
|
+
},
|
|
1966
|
+
{
|
|
1967
|
+
"name": "subtitle",
|
|
1968
|
+
"type": "string",
|
|
1969
|
+
"default": "''",
|
|
1970
|
+
"description": "Subtitulo opcional abaixo do titulo."
|
|
1971
|
+
},
|
|
1972
|
+
{
|
|
1973
|
+
"name": "data",
|
|
1974
|
+
"type": "unknown",
|
|
1975
|
+
"default": "null",
|
|
1976
|
+
"description": "Dados passados para templateContext (uso com TemplateRef)."
|
|
1977
|
+
},
|
|
1978
|
+
{
|
|
1979
|
+
"name": "contentTemplate",
|
|
1980
|
+
"type": "TemplateRef<OffcanvasTemplateContext> | undefined",
|
|
1981
|
+
"default": "undefined",
|
|
1982
|
+
"description": "TemplateRef alternativo ao ng-content para o body. Recebe contexto {$implicit: data, close}."
|
|
1983
|
+
},
|
|
1984
|
+
{
|
|
1985
|
+
"name": "footerTemplate",
|
|
1986
|
+
"type": "TemplateRef<OffcanvasTemplateContext> | undefined",
|
|
1987
|
+
"default": "undefined",
|
|
1988
|
+
"description": "TemplateRef para o footer (action buttons). Mesmo contexto do contentTemplate."
|
|
1989
|
+
}
|
|
1990
|
+
],
|
|
1991
|
+
"outputs": [
|
|
1992
|
+
{
|
|
1993
|
+
"name": "opened",
|
|
1994
|
+
"type": "EventEmitter<OffcanvasOpenEvent>",
|
|
1995
|
+
"description": "Emitido apos a animacao de abertura iniciar."
|
|
1996
|
+
},
|
|
1997
|
+
{
|
|
1998
|
+
"name": "closed",
|
|
1999
|
+
"type": "EventEmitter<OffcanvasCloseEvent>",
|
|
2000
|
+
"description": "Emitido ao fechar. reason: backdrop|escape|button|programmatic."
|
|
2001
|
+
},
|
|
2002
|
+
{
|
|
2003
|
+
"name": "isOpenChange",
|
|
2004
|
+
"type": "EventEmitter<boolean>",
|
|
2005
|
+
"description": "Two-way binding [(isOpen)]."
|
|
2006
|
+
}
|
|
2007
|
+
],
|
|
2008
|
+
"publicMethods": [
|
|
2009
|
+
{
|
|
2010
|
+
"name": "open",
|
|
2011
|
+
"signature": "(): void",
|
|
2012
|
+
"description": "Abre o panel imperativamente (via ViewChild)."
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
"name": "close",
|
|
2016
|
+
"signature": "(result?: unknown): void",
|
|
2017
|
+
"description": "Fecha o panel imperativamente, com resultado opcional."
|
|
2018
|
+
}
|
|
2019
|
+
],
|
|
2020
|
+
"examples": [
|
|
2021
|
+
"<ds-offcanvas [(isOpen)]=\"isFormOpen\" title=\"Editar Curso\" [config]=\"{ position: 'right', size: 'lg' }\"><form>...</form></ds-offcanvas>",
|
|
2022
|
+
"// 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
|
+
]
|
|
1918
2024
|
}
|
|
1919
2025
|
],
|
|
1920
2026
|
"services": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dgplsoares/singulai-ds-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.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",
|