orbital-ds 0.40.0 → 0.44.1

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 (197) hide show
  1. package/AGENTS.md +29 -10
  2. package/components.manifest.json +6469 -3349
  3. package/dist/auth-form-B1hgbXkI.d.ts +144 -0
  4. package/dist/hooks/use-ds-messages.d.ts +89 -0
  5. package/dist/lib/a2ui-catalog.d.ts +42 -0
  6. package/dist/lib/a2ui-catalog.js +558 -0
  7. package/dist/lib/a2ui.d.ts +289 -0
  8. package/dist/lib/a2ui.js +215 -0
  9. package/dist/lib/ai-events.d.ts +15 -0
  10. package/dist/lib/ai-events.js +202 -0
  11. package/dist/lib/auth-flow.d.ts +3 -1
  12. package/dist/lib/auth-flow.js +24 -3
  13. package/dist/lib/format.d.ts +57 -0
  14. package/dist/lib/format.js +177 -0
  15. package/dist/lib/i18n.d.ts +96 -2
  16. package/dist/lib/i18n.js +278 -2
  17. package/dist/lib/locales/de.d.ts +7 -0
  18. package/dist/lib/locales/de.js +535 -0
  19. package/dist/lib/locales/fr.d.ts +7 -0
  20. package/dist/lib/locales/fr.js +535 -0
  21. package/dist/lib/locales/he.d.ts +7 -0
  22. package/dist/lib/locales/he.js +535 -0
  23. package/dist/lib/locales/it.d.ts +7 -0
  24. package/dist/lib/locales/it.js +535 -0
  25. package/dist/styles.css +62 -2
  26. package/dist/ui/a2ui-renderer.d.ts +44 -0
  27. package/dist/ui/a2ui-renderer.js +793 -0
  28. package/dist/ui/agent-events.d.ts +49 -0
  29. package/dist/ui/agent-events.js +108 -0
  30. package/dist/ui/ai-tag.d.ts +16 -0
  31. package/dist/ui/alert-dialog.d.ts +37 -0
  32. package/dist/ui/alert.d.ts +1 -1
  33. package/dist/ui/animated-number.d.ts +11 -0
  34. package/dist/ui/app-bar.d.ts +22 -0
  35. package/dist/ui/attachment.d.ts +1 -1
  36. package/dist/ui/auth-backdrop.d.ts +17 -0
  37. package/dist/ui/auth-form.d.ts +3 -110
  38. package/dist/ui/auth-form.js +46 -11
  39. package/dist/ui/auth-layout.d.ts +38 -0
  40. package/dist/ui/avatar.d.ts +27 -0
  41. package/dist/ui/ayuda.d.ts +1 -1
  42. package/dist/ui/ayuda.js +4 -1
  43. package/dist/ui/badge.d.ts +1 -1
  44. package/dist/ui/banner.d.ts +1 -1
  45. package/dist/ui/bottom-nav.d.ts +22 -0
  46. package/dist/ui/breadcrumb.d.ts +22 -0
  47. package/dist/ui/breadcrumb.js +1 -1
  48. package/dist/ui/bubble.d.ts +1 -1
  49. package/dist/ui/button.d.ts +2 -2
  50. package/dist/ui/calendar.d.ts +13 -0
  51. package/dist/ui/calendar.js +3 -0
  52. package/dist/ui/card-stack.d.ts +27 -0
  53. package/dist/ui/card.d.ts +33 -0
  54. package/dist/ui/carousel.d.ts +35 -0
  55. package/dist/ui/carousel.js +10 -5
  56. package/dist/ui/chain-of-thought.d.ts +34 -0
  57. package/dist/ui/chain-of-thought.js +90 -0
  58. package/dist/ui/chart-card.d.ts +19 -0
  59. package/dist/ui/chart.d.ts +19 -0
  60. package/dist/ui/chat-composer.d.ts +58 -0
  61. package/dist/ui/chat-composer.js +192 -0
  62. package/dist/ui/choice-card.d.ts +33 -0
  63. package/dist/ui/code-block.d.ts +15 -0
  64. package/dist/ui/combobox.d.ts +48 -0
  65. package/dist/ui/command-palette.d.ts +18 -0
  66. package/dist/ui/command.d.ts +34 -0
  67. package/dist/ui/confirm-action.d.ts +30 -0
  68. package/dist/ui/confirm-dialog.d.ts +23 -0
  69. package/dist/ui/content-card.d.ts +14 -0
  70. package/dist/ui/context-menu.d.ts +35 -0
  71. package/dist/ui/context-menu.js +1 -1
  72. package/dist/ui/conversation-list.d.ts +44 -0
  73. package/dist/ui/conversation-list.js +141 -0
  74. package/dist/ui/copy-button.d.ts +11 -0
  75. package/dist/ui/date-time.d.ts +40 -0
  76. package/dist/ui/date-time.js +55 -0
  77. package/dist/ui/description-list.d.ts +49 -0
  78. package/dist/ui/description-list.js +86 -0
  79. package/dist/ui/detail-panel.d.ts +22 -0
  80. package/dist/ui/dialog.d.ts +35 -0
  81. package/dist/ui/dock.d.ts +17 -0
  82. package/dist/ui/drawer.d.ts +41 -0
  83. package/dist/ui/dropdown-menu.d.ts +32 -0
  84. package/dist/ui/dropdown-menu.js +1 -1
  85. package/dist/ui/echart.d.ts +15 -0
  86. package/dist/ui/empty.d.ts +1 -1
  87. package/dist/ui/entity-list.d.ts +32 -0
  88. package/dist/ui/form-layout.d.ts +24 -0
  89. package/dist/ui/gauge.d.ts +26 -0
  90. package/dist/ui/generated-image.d.ts +33 -0
  91. package/dist/ui/generated-image.js +65 -0
  92. package/dist/ui/generated-table.d.ts +29 -0
  93. package/dist/ui/generated-table.js +59 -0
  94. package/dist/ui/heatmap-grid.d.ts +20 -0
  95. package/dist/ui/hero.d.ts +58 -0
  96. package/dist/ui/hero.js +145 -0
  97. package/dist/ui/i18n-provider.d.ts +16 -0
  98. package/dist/ui/icon-tile.d.ts +2 -2
  99. package/dist/ui/input-group.d.ts +1 -1
  100. package/dist/ui/input-otp.d.ts +23 -0
  101. package/dist/ui/input.d.ts +16 -0
  102. package/dist/ui/instruction-editor.d.ts +17 -0
  103. package/dist/ui/item.d.ts +3 -3
  104. package/dist/ui/label.d.ts +17 -0
  105. package/dist/ui/legend.d.ts +25 -0
  106. package/dist/ui/level-meter.d.ts +12 -0
  107. package/dist/ui/load-more.d.ts +17 -0
  108. package/dist/ui/loading-state.d.ts +12 -0
  109. package/dist/ui/markdown.d.ts +29 -0
  110. package/dist/ui/markdown.js +123 -0
  111. package/dist/ui/media-card.d.ts +16 -0
  112. package/dist/ui/menubar.d.ts +39 -0
  113. package/dist/ui/message-actions.d.ts +21 -0
  114. package/dist/ui/message-actions.js +79 -0
  115. package/dist/ui/message-scroller.d.ts +30 -0
  116. package/dist/ui/message.d.ts +33 -0
  117. package/dist/ui/mfa-challenge.d.ts +3 -32
  118. package/dist/ui/mfa-challenge.js +1 -1
  119. package/dist/ui/mfa-setup.d.ts +1 -1
  120. package/dist/ui/mosaic.d.ts +23 -0
  121. package/dist/ui/motion-provider.d.ts +17 -0
  122. package/dist/ui/native-select.d.ts +22 -0
  123. package/dist/ui/next-step-card.d.ts +55 -0
  124. package/dist/ui/next-step-card.js +92 -0
  125. package/dist/ui/notice-review.d.ts +32 -0
  126. package/dist/ui/oauth-consent.d.ts +1 -1
  127. package/dist/ui/page-header.d.ts +46 -4
  128. package/dist/ui/page-header.js +20 -11
  129. package/dist/ui/page-loader.d.ts +17 -0
  130. package/dist/ui/page-shell.d.ts +17 -0
  131. package/dist/ui/pagination.d.ts +20 -0
  132. package/dist/ui/pagination.js +2 -2
  133. package/dist/ui/panel.d.ts +1 -1
  134. package/dist/ui/password-strength.d.ts +14 -0
  135. package/dist/ui/popover.d.ts +32 -0
  136. package/dist/ui/proportion-bar.d.ts +25 -0
  137. package/dist/ui/quantity.d.ts +25 -0
  138. package/dist/ui/quantity.js +27 -0
  139. package/dist/ui/questionnaire.d.ts +38 -0
  140. package/dist/ui/reasoning.d.ts +24 -0
  141. package/dist/ui/reasoning.js +62 -0
  142. package/dist/ui/reveal.d.ts +17 -0
  143. package/dist/ui/sheet.d.ts +39 -2
  144. package/dist/ui/sheet.js +6 -2
  145. package/dist/ui/shield.d.ts +14 -0
  146. package/dist/ui/show-more.d.ts +14 -0
  147. package/dist/ui/sidebar.d.ts +4 -2
  148. package/dist/ui/sidebar.js +7 -3
  149. package/dist/ui/sparkline.d.ts +1 -1
  150. package/dist/ui/stat-group.d.ts +32 -0
  151. package/dist/ui/stat.d.ts +1 -1
  152. package/dist/ui/status-badge.d.ts +3 -3
  153. package/dist/ui/status-hero.d.ts +18 -0
  154. package/dist/ui/step-dots.d.ts +12 -0
  155. package/dist/ui/step-ring.d.ts +14 -0
  156. package/dist/ui/suggestions.d.ts +17 -0
  157. package/dist/ui/suggestions.js +39 -0
  158. package/dist/ui/table.d.ts +26 -0
  159. package/dist/ui/tag-input.d.ts +21 -0
  160. package/dist/ui/tag-input.js +169 -0
  161. package/dist/ui/task-loader.d.ts +15 -0
  162. package/dist/ui/task-progress.d.ts +14 -0
  163. package/dist/ui/textarea.d.ts +22 -1
  164. package/dist/ui/textarea.js +7 -1
  165. package/dist/ui/timeline.d.ts +26 -0
  166. package/dist/ui/toggle-group.d.ts +24 -0
  167. package/dist/ui/tool-call.d.ts +27 -0
  168. package/dist/ui/tool-call.js +74 -0
  169. package/dist/ui/usage-meter.d.ts +42 -0
  170. package/dist/ui/usage-meter.js +116 -0
  171. package/dist/ui/week-strip.d.ts +11 -0
  172. package/dist/ui/week-strip.js +2 -2
  173. package/dist/ui/workflow-run.d.ts +51 -0
  174. package/dist/ui/workflow-run.js +185 -0
  175. package/docs/adr/0001-rtl-clases-logicas.md +14 -1
  176. package/docs/designer/criterio.md +87 -87
  177. package/docs/designer/flujo.md +1 -1
  178. package/docs/designer/patrones.md +43 -2
  179. package/manifest/actions.json +364 -0
  180. package/manifest/agents.json +399 -0
  181. package/manifest/ai.json +128 -0
  182. package/manifest/auth.json +1547 -0
  183. package/manifest/chat.json +612 -0
  184. package/manifest/content.json +2298 -0
  185. package/manifest/data.json +2904 -0
  186. package/manifest/feedback.json +1005 -0
  187. package/manifest/forms.json +1954 -0
  188. package/manifest/motion.json +196 -0
  189. package/manifest/navigation.json +1792 -0
  190. package/manifest/overlays.json +931 -0
  191. package/package.json +35 -21
  192. package/scripts/cli.mjs +105 -8
  193. package/scripts/doctor.mjs +126 -1
  194. package/scripts/eslint-plugin.mjs +93 -0
  195. package/scripts/i18n.mjs +1 -1
  196. package/scripts/manifest.mjs +159 -7
  197. package/skill/SKILL.md +8 -3
@@ -0,0 +1,364 @@
1
+ {
2
+ "package": "orbital-ds",
3
+ "version": "0.44.1",
4
+ "group": "actions",
5
+ "about": "Botones y acciones sueltas.",
6
+ "components": {
7
+ "button-group": {
8
+ "import": "orbital-ds/ui/button-group",
9
+ "group": "actions",
10
+ "summary": "Bloque que une varios botones o un campo y su botón en una sola pieza: acciones hermanas, paginación o acción principal + menú.",
11
+ "see": [
12
+ {
13
+ "component": "toggle-group",
14
+ "when": "elegir una o varias opciones que quedan pulsadas (vista, alineación)"
15
+ },
16
+ {
17
+ "component": "input-group",
18
+ "when": "adornar un campo con iconos, prefijos o botones dentro del borde"
19
+ },
20
+ {
21
+ "component": "button",
22
+ "when": "una acción suelta"
23
+ }
24
+ ],
25
+ "exports": [
26
+ "ButtonGroup",
27
+ "ButtonGroupSeparator",
28
+ "ButtonGroupText",
29
+ "buttonGroupVariants"
30
+ ],
31
+ "slots": [
32
+ "button-group",
33
+ "button-group-separator",
34
+ "button-group-text"
35
+ ],
36
+ "optionalPeers": [],
37
+ "props": {
38
+ "ButtonGroup": {
39
+ "orientation": {
40
+ "type": "\"horizontal\" | \"vertical\"",
41
+ "values": [
42
+ "horizontal",
43
+ "vertical"
44
+ ]
45
+ }
46
+ }
47
+ },
48
+ "notes": [
49
+ "Solo une acciones; si los botones representan un estado elegido (vista, filtro), usa ToggleGroup.",
50
+ "`orientation=\"vertical\"` apila las piezas; un ButtonGroup dentro de otro deja hueco entre bloques."
51
+ ],
52
+ "examples": [
53
+ {
54
+ "title": "Acciones hermanas",
55
+ "code": "<ButtonGroup>\n <Button variant=\"outline\">Archivar</Button>\n <Button variant=\"outline\">Duplicar</Button>\n</ButtonGroup>"
56
+ },
57
+ {
58
+ "title": "Acción principal + menú",
59
+ "code": "<ButtonGroup>\n <Button>Guardar</Button>\n <ButtonGroupSeparator />\n <Button size=\"icon\" aria-label=\"Más opciones de guardado\">\n <ChevronDownIcon />\n </Button>\n</ButtonGroup>"
60
+ }
61
+ ]
62
+ },
63
+ "button": {
64
+ "import": "orbital-ds/ui/button",
65
+ "group": "actions",
66
+ "summary": "Botón para una acción que la persona dispara (guardar, crear, abrir un diálogo). Una sola acción principal por vista.",
67
+ "see": [
68
+ {
69
+ "component": "button-group",
70
+ "when": "varias acciones unidas en un bloque (alternativas o acción + menú)"
71
+ },
72
+ {
73
+ "component": "toggle",
74
+ "when": "botón que se queda pulsado (activa o desactiva un estado)"
75
+ },
76
+ {
77
+ "component": "copy-button",
78
+ "when": "copiar un valor al portapapeles con confirmación"
79
+ }
80
+ ],
81
+ "exports": [
82
+ "Button",
83
+ "buttonVariants"
84
+ ],
85
+ "slots": [
86
+ "button"
87
+ ],
88
+ "optionalPeers": [],
89
+ "props": {
90
+ "Button": {
91
+ "variant": {
92
+ "type": "\"link\" | \"default\" | \"outline\" | \"secondary\" | \"ghost\" | \"destructive\" | \"cta\"",
93
+ "values": [
94
+ "link",
95
+ "default",
96
+ "outline",
97
+ "secondary",
98
+ "ghost",
99
+ "destructive",
100
+ "cta"
101
+ ]
102
+ },
103
+ "size": {
104
+ "type": "\"default\" | \"xs\" | \"sm\" | \"lg\" | \"icon\" | \"icon-xs\" | \"icon-sm\" | \"icon-lg\"",
105
+ "values": [
106
+ "default",
107
+ "xs",
108
+ "sm",
109
+ "lg",
110
+ "icon",
111
+ "icon-xs",
112
+ "icon-sm",
113
+ "icon-lg"
114
+ ]
115
+ },
116
+ "nativeButton": {
117
+ "type": "boolean"
118
+ }
119
+ }
120
+ },
121
+ "notes": [
122
+ "Una sola acción principal (variant default) por vista; las demás outline/ghost o en un menú.",
123
+ "Texto con verbo + objeto («Crear cliente»), nunca «Aceptar» o «Enviar»; botón de solo icono con aria-label.",
124
+ "cta: segunda voz de la vista (acción comercial o de captación); el tema la pinta con --ds-cta-bg/-fg/-hover y, sin ellos, es igual que default. Una por vista.",
125
+ "Destructivo: variant destructive y siempre con confirmación (AlertDialog) o deshacer."
126
+ ],
127
+ "examples": [
128
+ {
129
+ "title": "Acción principal y secundaria",
130
+ "code": "<Button>Guardar cambios</Button>\n<Button variant=\"outline\">Cancelar</Button>"
131
+ },
132
+ {
133
+ "title": "Botón de solo icono (con texto accesible)",
134
+ "code": "<Button size=\"icon\" variant=\"ghost\" aria-label={t(\"actions.add\")}>\n <PlusIcon />\n</Button>"
135
+ },
136
+ {
137
+ "title": "Navegar con aspecto de botón (render, nunca asChild)",
138
+ "code": "<Button render={<a href=\"/clients/new\" />}>Nuevo cliente</Button>"
139
+ }
140
+ ]
141
+ },
142
+ "copy-button": {
143
+ "import": "orbital-ds/ui/copy-button",
144
+ "group": "actions",
145
+ "summary": "Copia un valor al portapapeles y confirma «Copiado»: CopyButton (icono junto a un dato) o CopyField (el dato entero pulsable).",
146
+ "see": [
147
+ {
148
+ "component": "code-block",
149
+ "when": "mostrar código o comandos de varias líneas, con su propio copiar"
150
+ },
151
+ {
152
+ "component": "input-group",
153
+ "when": "un campo editable con botones dentro"
154
+ }
155
+ ],
156
+ "exports": [
157
+ "CopyButton",
158
+ "CopyField"
159
+ ],
160
+ "slots": [
161
+ "copy-button",
162
+ "copy-field",
163
+ "copy-field-icon",
164
+ "copy-field-value"
165
+ ],
166
+ "optionalPeers": [],
167
+ "props": {
168
+ "CopyButton": {
169
+ "variant": {
170
+ "type": "\"link\" | \"default\" | \"outline\" | \"secondary\" | \"ghost\" | \"destructive\" | \"cta\"",
171
+ "values": [
172
+ "link",
173
+ "default",
174
+ "outline",
175
+ "secondary",
176
+ "ghost",
177
+ "destructive",
178
+ "cta"
179
+ ]
180
+ },
181
+ "size": {
182
+ "type": "\"default\" | \"xs\" | \"sm\" | \"lg\" | \"icon\" | \"icon-xs\" | \"icon-sm\" | \"icon-lg\"",
183
+ "values": [
184
+ "default",
185
+ "xs",
186
+ "sm",
187
+ "lg",
188
+ "icon",
189
+ "icon-xs",
190
+ "icon-sm",
191
+ "icon-lg"
192
+ ]
193
+ },
194
+ "nativeButton": {
195
+ "type": "boolean"
196
+ },
197
+ "value": {
198
+ "type": "string",
199
+ "required": true
200
+ }
201
+ },
202
+ "CopyField": {
203
+ "value": {
204
+ "type": "string",
205
+ "required": true
206
+ }
207
+ }
208
+ },
209
+ "notes": [
210
+ "El dato va limpio, sin instrucciones dentro del texto («Copia esta IP…»): el botón ya lo dice."
211
+ ],
212
+ "examples": [
213
+ {
214
+ "title": "Dato pulsable",
215
+ "code": "<CopyField value=\"168.245.96.234\" />"
216
+ },
217
+ {
218
+ "title": "Solo el icono junto a un dato",
219
+ "code": "<CopyButton value={token} />"
220
+ }
221
+ ]
222
+ },
223
+ "toggle-group": {
224
+ "import": "orbital-ds/ui/toggle-group",
225
+ "group": "actions",
226
+ "summary": "Grupo de botones que quedan pulsados para elegir una opción (vista, periodo) o varias (formato); el estado se ve en el propio botón.",
227
+ "see": [
228
+ {
229
+ "component": "toggle",
230
+ "when": "un único botón que se activa o desactiva"
231
+ },
232
+ {
233
+ "component": "radio-group",
234
+ "when": "elegir una opción dentro de un formulario, con etiquetas largas"
235
+ },
236
+ {
237
+ "component": "tabs",
238
+ "when": "cambiar entre paneles de contenido"
239
+ }
240
+ ],
241
+ "exports": [
242
+ "ToggleGroup",
243
+ "ToggleGroupItem"
244
+ ],
245
+ "slots": [
246
+ "toggle-group",
247
+ "toggle-group-item"
248
+ ],
249
+ "optionalPeers": [],
250
+ "props": {
251
+ "ToggleGroup": {
252
+ "variant": {
253
+ "type": "\"default\" | \"outline\"",
254
+ "values": [
255
+ "default",
256
+ "outline"
257
+ ]
258
+ },
259
+ "size": {
260
+ "type": "\"default\" | \"sm\" | \"lg\"",
261
+ "values": [
262
+ "default",
263
+ "sm",
264
+ "lg"
265
+ ]
266
+ },
267
+ "spacing": {
268
+ "type": "number"
269
+ }
270
+ },
271
+ "ToggleGroupItem": {
272
+ "variant": {
273
+ "type": "\"default\" | \"outline\"",
274
+ "values": [
275
+ "default",
276
+ "outline"
277
+ ]
278
+ },
279
+ "size": {
280
+ "type": "\"default\" | \"sm\" | \"lg\"",
281
+ "values": [
282
+ "default",
283
+ "sm",
284
+ "lg"
285
+ ]
286
+ }
287
+ }
288
+ },
289
+ "notes": [
290
+ "`value`/`defaultValue` es siempre una lista, también con una sola opción; `multiple` permite varias.",
291
+ "Pon `aria-label` al grupo y a cada elemento de solo icono. `spacing={0}` los une en un bloque."
292
+ ],
293
+ "examples": [
294
+ {
295
+ "title": "Una opción (vista)",
296
+ "code": "<ToggleGroup variant=\"outline\" spacing={0} defaultValue={[\"grid\"]} aria-label=\"Vista\">\n <ToggleGroupItem value=\"grid\">Cuadrícula</ToggleGroupItem>\n <ToggleGroupItem value=\"list\">Lista</ToggleGroupItem>\n</ToggleGroup>"
297
+ },
298
+ {
299
+ "title": "Varias a la vez, solo icono",
300
+ "code": "<ToggleGroup multiple defaultValue={[\"bold\"]} aria-label=\"Formato\">\n <ToggleGroupItem value=\"bold\" aria-label=\"Negrita\">\n <BoldIcon />\n </ToggleGroupItem>\n <ToggleGroupItem value=\"italic\" aria-label=\"Cursiva\">\n <ItalicIcon />\n </ToggleGroupItem>\n</ToggleGroup>"
301
+ }
302
+ ]
303
+ },
304
+ "toggle": {
305
+ "import": "orbital-ds/ui/toggle",
306
+ "group": "actions",
307
+ "summary": "Botón que se queda pulsado para activar o desactivar un estado (favorito, seguir, negrita); no ejecuta una acción puntual.",
308
+ "see": [
309
+ {
310
+ "component": "toggle-group",
311
+ "when": "varias opciones relacionadas que se eligen juntas"
312
+ },
313
+ {
314
+ "component": "switch",
315
+ "when": "activar un ajuste en un formulario o en la configuración"
316
+ },
317
+ {
318
+ "component": "button",
319
+ "when": "una acción que se dispara y termina"
320
+ }
321
+ ],
322
+ "exports": [
323
+ "Toggle",
324
+ "toggleVariants"
325
+ ],
326
+ "slots": [
327
+ "toggle"
328
+ ],
329
+ "optionalPeers": [],
330
+ "props": {
331
+ "Toggle": {
332
+ "variant": {
333
+ "type": "\"default\" | \"outline\"",
334
+ "values": [
335
+ "default",
336
+ "outline"
337
+ ]
338
+ },
339
+ "size": {
340
+ "type": "\"default\" | \"sm\" | \"lg\"",
341
+ "values": [
342
+ "default",
343
+ "sm",
344
+ "lg"
345
+ ]
346
+ }
347
+ }
348
+ },
349
+ "notes": [
350
+ "El texto o el `aria-label` no cambia al pulsarlo: el estado lo anuncia `aria-pressed`."
351
+ ],
352
+ "examples": [
353
+ {
354
+ "title": "Solo icono",
355
+ "code": "<Toggle aria-label=\"Marcar como favorito\">\n <StarIcon />\n</Toggle>"
356
+ },
357
+ {
358
+ "title": "Con texto y borde, controlado",
359
+ "code": "<Toggle variant=\"outline\" pressed={siguiendo} onPressedChange={setSiguiendo}>\n <BellIcon data-icon=\"inline-start\" />\n Seguir hilo\n</Toggle>"
360
+ }
361
+ ]
362
+ }
363
+ }
364
+ }