@supersoniks/concorde 3.2.5 → 3.2.8

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.
Files changed (150) hide show
  1. package/README.md +163 -0
  2. package/build-infos.json +1 -1
  3. package/concorde-core.bundle.js +131 -124
  4. package/concorde-core.es.js +808 -716
  5. package/dist/concorde-core.bundle.js +131 -124
  6. package/dist/concorde-core.es.js +808 -716
  7. package/docs/assets/index-C0K6xugr.css +1 -0
  8. package/docs/assets/index-Dgl1lJQo.js +4861 -0
  9. package/docs/css/docs.css +0 -0
  10. package/docs/fonts/ClashGrotesk-Bold.eot +0 -0
  11. package/docs/fonts/ClashGrotesk-Bold.ttf +0 -0
  12. package/docs/fonts/ClashGrotesk-Bold.woff +0 -0
  13. package/docs/fonts/ClashGrotesk-Bold.woff2 +0 -0
  14. package/docs/fonts/ClashGrotesk-Extralight.eot +0 -0
  15. package/docs/fonts/ClashGrotesk-Extralight.ttf +0 -0
  16. package/docs/fonts/ClashGrotesk-Extralight.woff +0 -0
  17. package/docs/fonts/ClashGrotesk-Extralight.woff2 +0 -0
  18. package/docs/fonts/ClashGrotesk-Light.eot +0 -0
  19. package/docs/fonts/ClashGrotesk-Light.ttf +0 -0
  20. package/docs/fonts/ClashGrotesk-Light.woff +0 -0
  21. package/docs/fonts/ClashGrotesk-Light.woff2 +0 -0
  22. package/docs/fonts/ClashGrotesk-Medium.eot +0 -0
  23. package/docs/fonts/ClashGrotesk-Medium.ttf +0 -0
  24. package/docs/fonts/ClashGrotesk-Medium.woff +0 -0
  25. package/docs/fonts/ClashGrotesk-Medium.woff2 +0 -0
  26. package/docs/fonts/ClashGrotesk-Regular.eot +0 -0
  27. package/docs/fonts/ClashGrotesk-Regular.ttf +0 -0
  28. package/docs/fonts/ClashGrotesk-Regular.woff +0 -0
  29. package/docs/fonts/ClashGrotesk-Regular.woff2 +0 -0
  30. package/docs/fonts/ClashGrotesk-Semibold.eot +0 -0
  31. package/docs/fonts/ClashGrotesk-Semibold.ttf +0 -0
  32. package/docs/fonts/ClashGrotesk-Semibold.woff +0 -0
  33. package/docs/fonts/ClashGrotesk-Semibold.woff2 +0 -0
  34. package/docs/fonts/ClashGrotesk-Variable.eot +0 -0
  35. package/docs/fonts/ClashGrotesk-Variable.ttf +0 -0
  36. package/docs/fonts/ClashGrotesk-Variable.woff +0 -0
  37. package/docs/fonts/ClashGrotesk-Variable.woff2 +0 -0
  38. package/docs/img/concorde-icon.svg +5 -0
  39. package/docs/img/concorde-logo.svg +1 -0
  40. package/docs/img/concorde.png +0 -0
  41. package/docs/img/concorde_def.png +0 -0
  42. package/docs/img/concorde_seuil.png.webp +0 -0
  43. package/docs/img/concorde_seuil_invert.png +0 -0
  44. package/docs/img/paul_metrand.jpg +0 -0
  45. package/docs/img/paul_metrand_xs.jpg +0 -0
  46. package/docs/index.html +93 -0
  47. package/docs/src/core/components/functional/date/date.md +290 -0
  48. package/docs/src/core/components/functional/fetch/fetch.md +117 -0
  49. package/docs/src/core/components/functional/if/if.md +16 -0
  50. package/docs/src/core/components/functional/list/list.md +199 -0
  51. package/docs/src/core/components/functional/mix/mix.md +41 -0
  52. package/docs/src/core/components/functional/queue/queue.md +87 -0
  53. package/docs/src/core/components/functional/router/router.md +129 -0
  54. package/docs/src/core/components/functional/sdui/default-library.json +108 -0
  55. package/docs/src/core/components/functional/sdui/example.json +99 -0
  56. package/docs/src/core/components/functional/sdui/sdui.md +356 -0
  57. package/docs/src/core/components/functional/states/states.md +87 -0
  58. package/docs/src/core/components/functional/submit/submit.md +83 -0
  59. package/docs/src/core/components/functional/subscriber/subscriber.md +91 -0
  60. package/docs/src/core/components/functional/value/value.md +35 -0
  61. package/docs/src/core/components/ui/alert/alert.md +121 -0
  62. package/docs/src/core/components/ui/alert-messages/alert-messages.md +0 -0
  63. package/docs/src/core/components/ui/badge/badge.md +127 -0
  64. package/docs/src/core/components/ui/button/button.md +182 -0
  65. package/docs/src/core/components/ui/captcha/captcha.md +24 -0
  66. package/docs/src/core/components/ui/card/card.md +97 -0
  67. package/docs/src/core/components/ui/divider/divider.md +35 -0
  68. package/docs/src/core/components/ui/form/checkbox/checkbox.md +104 -0
  69. package/docs/src/core/components/ui/form/fieldset/fieldset.md +129 -0
  70. package/docs/src/core/components/ui/form/form-actions/form-actions.md +77 -0
  71. package/docs/src/core/components/ui/form/form-layout/form-layout.md +44 -0
  72. package/docs/src/core/components/ui/form/input/input.md +167 -0
  73. package/docs/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +131 -0
  74. package/docs/src/core/components/ui/form/radio/radio.md +84 -0
  75. package/docs/src/core/components/ui/form/select/select.md +97 -0
  76. package/docs/src/core/components/ui/form/switch/switch.md +84 -0
  77. package/docs/src/core/components/ui/form/textarea/textarea.md +65 -0
  78. package/docs/src/core/components/ui/group/group.md +75 -0
  79. package/docs/src/core/components/ui/icon/icon.md +125 -0
  80. package/docs/src/core/components/ui/icon/icons.json +1 -0
  81. package/docs/src/core/components/ui/image/image.md +107 -0
  82. package/docs/src/core/components/ui/link/link.md +43 -0
  83. package/docs/src/core/components/ui/loader/loader.md +67 -0
  84. package/docs/src/core/components/ui/menu/menu.md +288 -0
  85. package/docs/src/core/components/ui/modal/modal.md +123 -0
  86. package/docs/src/core/components/ui/pop/pop.md +96 -0
  87. package/docs/src/core/components/ui/progress/progress.md +63 -0
  88. package/docs/src/core/components/ui/table/table.md +455 -0
  89. package/docs/src/core/components/ui/tooltip/tooltip.md +82 -0
  90. package/docs/src/docs/_core-concept/overview.md +57 -0
  91. package/docs/src/docs/_core-concept/subscriber.md +76 -0
  92. package/docs/src/docs/_getting-started/concorde-outside.md +143 -0
  93. package/docs/src/docs/_getting-started/create-a-component.md +137 -0
  94. package/docs/src/docs/_getting-started/my-first-subscriber.md +174 -0
  95. package/docs/src/docs/_getting-started/pubsub.md +150 -0
  96. package/docs/src/docs/_getting-started/start.md +39 -0
  97. package/docs/src/docs/_getting-started/theming.md +91 -0
  98. package/docs/src/docs/search/docs-search.json +3917 -0
  99. package/docs/src/tag-list.json +1 -0
  100. package/docs/src/tsconfig-model.json +23 -0
  101. package/docs/src/tsconfig.json +918 -0
  102. package/docs/svg/regular/plane.svg +1 -0
  103. package/docs/svg/solid/plane.svg +1 -0
  104. package/mcp-server/COMPARISON-MCP.md +176 -0
  105. package/mcp-server/README-MCP-NODEJS.md +284 -0
  106. package/mcp-server/README-MCP.md +114 -0
  107. package/mcp-server/README.md +127 -0
  108. package/mcp-server/TECHNICAL-DOCS.md +269 -0
  109. package/mcp-server/concorde-mcp-server.js +859 -0
  110. package/mcp-server/concorde-mcp-server.py +801 -0
  111. package/mcp-server/cursor-mcp-config-advanced.json +68 -0
  112. package/mcp-server/cursor-mcp-config-nodejs.json +74 -0
  113. package/mcp-server/cursor-mcp-config.json +11 -0
  114. package/mcp-server/install-mcp-nodejs.sh +104 -0
  115. package/mcp-server/install-mcp.sh +62 -0
  116. package/mcp-server/package-lock.json +147 -0
  117. package/mcp-server/package-mcp.json +40 -0
  118. package/mcp-server/package.json +40 -0
  119. package/mcp-server/test-mcp.js +107 -0
  120. package/mcp-server/test-mcp.py +73 -0
  121. package/package.json +2 -1
  122. package/php/get-challenge.php +34 -0
  123. package/php/some-service.php +42 -0
  124. package/src/core/components/functional/fetch/fetch.md +6 -0
  125. package/src/core/components/functional/queue/queue.demo.ts +0 -0
  126. package/src/core/components/functional/sdui/sdui.ts +47 -22
  127. package/src/core/components/ui/form/checkbox/checkbox.ts +6 -0
  128. package/src/core/components/ui/form/input-autocomplete/input-autocomplete.ts +9 -1
  129. package/src/core/components/ui/form/radio/radio.ts +11 -1
  130. package/src/core/components/ui/icon/icons.ts +0 -0
  131. package/src/core/components/ui/menu/menu.md +0 -0
  132. package/src/core/components/ui/modal/modal-close.ts +0 -0
  133. package/src/core/components/ui/modal/modal.ts +0 -0
  134. package/src/core/components/ui/toast/toast-item.ts +68 -2
  135. package/src/core/components/ui/toast/toast.md +166 -0
  136. package/src/core/components/ui/toast/toast.ts +1 -1
  137. package/src/core/components/ui/tooltip/tooltip.ts +67 -2
  138. package/src/core/decorators/Subscriber.ts +0 -0
  139. package/src/core/mixins/Fetcher.ts +40 -4
  140. package/src/core/utils/HTML.ts +2 -0
  141. package/src/core/utils/PublisherProxy.ts +0 -0
  142. package/src/core/utils/api.ts +7 -0
  143. package/src/decorators.ts +0 -0
  144. package/src/docs/navigation/navigation.ts +1 -1
  145. package/src/docs/search/docs-search.json +135 -0
  146. package/src/docs.ts +0 -0
  147. package/src/tsconfig-model.json +0 -0
  148. package/src/tsconfig.json +0 -0
  149. package/src/tsconfig.tsbuildinfo +0 -0
  150. package/templates-test.html +0 -0
package/README.md ADDED
@@ -0,0 +1,163 @@
1
+ # Concorde Framework
2
+
3
+ Framework de composants Web basé sur Lit Element avec un système de thèmes, de data binding et de composants réutilisables.
4
+
5
+ ## 📁 Structure du projet
6
+
7
+ ```
8
+ concorde/
9
+ ├── src/ # Code source principal
10
+ │ ├── core/ # Cœur du framework
11
+ │ │ ├── components/ # Composants UI et fonctionnels
12
+ │ │ ├── mixins/ # Mixins réutilisables
13
+ │ │ ├── utils/ # Utilitaires
14
+ │ │ └── _types/ # Types TypeScript
15
+ │ ├── docs/ # Composants de documentation
16
+ │ └── index.ts # Point d'entrée principal
17
+ ├── docs/ # Documentation générée
18
+ ├── dist/ # Fichiers de build
19
+ ├── public/ # Assets publics
20
+ ├── mcp-server/ # 🆕 Serveur MCP pour l'IA
21
+ │ ├── concorde-mcp-server.js # Serveur Node.js
22
+ │ ├── concorde-mcp-server.py # Serveur Python
23
+ │ ├── test-mcp.js # Tests Node.js
24
+ │ ├── test-mcp.py # Tests Python
25
+ │ ├── install-mcp-nodejs.sh # Installation Node.js
26
+ │ ├── install-mcp.sh # Installation Python
27
+ │ ├── cursor-mcp-config*.json # Configurations Cursor
28
+ │ └── README.md # Documentation MCP
29
+ ├── package.json # Configuration npm
30
+ ├── vite.config.mts # Configuration Vite
31
+ └── tailwind.config.js # Configuration Tailwind
32
+ ```
33
+
34
+ ## 🚀 Serveur MCP pour l'IA
35
+
36
+ Le dossier `mcp-server/` contient un serveur MCP (Model Context Protocol) qui permet à l'IA de Cursor d'accéder facilement à toute la documentation et au code de Concorde.
37
+
38
+ ### Installation rapide
39
+
40
+ ```bash
41
+ # Version Node.js (recommandée)
42
+ cd mcp-server
43
+ ./install-mcp-nodejs.sh
44
+
45
+ # Version Python
46
+ cd mcp-server
47
+ ./install-mcp.sh
48
+ ```
49
+
50
+ ### Configuration Cursor
51
+
52
+ ```json
53
+ {
54
+ "mcpServers": {
55
+ "concorde": {
56
+ "command": "node",
57
+ "args": ["/usr2/sites/concorde/mcp-server/concorde-mcp-server.js"],
58
+ "env": {
59
+ "NODE_PATH": "/usr2/sites/concorde"
60
+ }
61
+ }
62
+ }
63
+ }
64
+ ```
65
+
66
+ ### Fonctionnalités
67
+
68
+ - **35+ composants** analysés automatiquement
69
+ - **6 outils MCP** pour interagir avec l'IA
70
+ - **Documentation complète** de chaque composant
71
+ - **Génération de code** HTML automatique
72
+ - **Exemples d'utilisation** extraits de la documentation
73
+
74
+ ## 🎨 Composants disponibles
75
+
76
+ ### Composants UI (20)
77
+ - **Formulaires** : input, select, checkbox, radio, textarea
78
+ - **Navigation** : button, link, menu
79
+ - **Feedback** : alert, badge, modal, toast, tooltip
80
+ - **Layout** : card, table, divider, group
81
+ - **Media** : icon, image, loader, progress
82
+
83
+ ### Composants fonctionnels (15)
84
+ - **Data** : fetch, list, queue, subscriber, value
85
+ - **Navigation** : router, redirect, states
86
+ - **Logic** : if, submit, mix, translation
87
+ - **Advanced** : sdui (Server Driven UI)
88
+
89
+ ## 🛠️ Développement
90
+
91
+ ### Installation
92
+ ```bash
93
+ npm install
94
+ # ou
95
+ yarn install
96
+ ```
97
+
98
+ ### Développement
99
+ ```bash
100
+ npm run dev
101
+ # ou
102
+ yarn dev
103
+ ```
104
+
105
+ ### Build
106
+ ```bash
107
+ npm run build
108
+ # ou
109
+ yarn build
110
+ ```
111
+
112
+ ### Tests
113
+ ```bash
114
+ npm test
115
+ # ou
116
+ yarn test
117
+ ```
118
+
119
+ ## 📚 Documentation
120
+
121
+ - **[Documentation principale](docs/)** - Documentation générée
122
+ - **[Serveur MCP](mcp-server/README.md)** - Documentation du serveur MCP
123
+ - **[Composants](src/core/components/)** - Code source des composants
124
+ - **[Exemples](docs/)** - Exemples d'utilisation
125
+
126
+ ## 🎯 Utilisation avec l'IA
127
+
128
+ Une fois le serveur MCP configuré, vous pouvez demander à l'IA de Cursor :
129
+
130
+ - "Crée un bouton Concorde avec une icône"
131
+ - "Génère un formulaire de connexion"
132
+ - "Montre-moi comment utiliser le composant modal"
133
+ - "Quelles sont les propriétés du composant input ?"
134
+ - "Crée une liste avec des données dynamiques"
135
+
136
+ ## 🔧 Technologies
137
+
138
+ - **Lit Element** - Web Components
139
+ - **TypeScript** - Langage principal
140
+ - **Tailwind CSS** - Styles utilitaires
141
+ - **Vite** - Build tool
142
+ - **Vitest** - Tests
143
+ - **MCP** - Protocole pour l'IA
144
+
145
+ ## 📄 Licence
146
+
147
+ MIT License - Voir le fichier [LICENSE](LICENSE) pour plus de détails.
148
+
149
+ ## 🤝 Contribution
150
+
151
+ Pour contribuer au projet :
152
+
153
+ 1. Fork le projet
154
+ 2. Créer une branche feature
155
+ 3. Modifier le code
156
+ 4. Tester avec `npm test`
157
+ 5. Créer une Pull Request
158
+
159
+ ## 📞 Support
160
+
161
+ - **Issues** : [GitHub Issues](https://github.com/supersoniks/concorde/issues)
162
+ - **Documentation** : [docs/](docs/)
163
+ - **Serveur MCP** : [mcp-server/README.md](mcp-server/README.md)
package/build-infos.json CHANGED
@@ -1 +1 @@
1
- {"date":1761815494}
1
+ {"date":1765530939}