@supersoniks/concorde 5.0.5 → 5.1.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 (282) hide show
  1. package/.claude/launch.json +15 -0
  2. package/.claude/vite.http.config.mjs +7 -0
  3. package/.taste-skill/after/desktop-fold.jpg +0 -0
  4. package/.taste-skill/after/desktop-page-01.jpg +0 -0
  5. package/.taste-skill/after/desktop-page-02.jpg +0 -0
  6. package/.taste-skill/after/desktop-page-03.jpg +0 -0
  7. package/.taste-skill/after/mobile-fold.jpg +0 -0
  8. package/.taste-skill/after/mobile-page-01.jpg +0 -0
  9. package/.taste-skill/after/report.json +4103 -0
  10. package/.taste-skill/after/tablet-fold.jpg +0 -0
  11. package/.taste-skill/after/tablet-page-01.jpg +0 -0
  12. package/.taste-skill/after/tablet-page-02.jpg +0 -0
  13. package/.taste-skill/before/desktop-fold.jpg +0 -0
  14. package/.taste-skill/before/desktop-page-01.jpg +0 -0
  15. package/.taste-skill/before/desktop-page-02.jpg +0 -0
  16. package/.taste-skill/before/mobile-fold.jpg +0 -0
  17. package/.taste-skill/before/mobile-page-01.jpg +0 -0
  18. package/.taste-skill/before/report.json +2556 -0
  19. package/.taste-skill/before/tablet-fold.jpg +0 -0
  20. package/.taste-skill/before/tablet-page-01.jpg +0 -0
  21. package/.taste-skill/direction.json +510 -0
  22. package/.taste-skill/notes.md +84 -0
  23. package/.taste-skill/prod/desktop-fold.jpg +0 -0
  24. package/.taste-skill/prod/desktop-page-01.jpg +0 -0
  25. package/.taste-skill/prod/desktop-page-02.jpg +0 -0
  26. package/.taste-skill/prod/desktop-page-03.jpg +0 -0
  27. package/.taste-skill/prod/mobile-fold.jpg +0 -0
  28. package/.taste-skill/prod/mobile-page-01.jpg +0 -0
  29. package/.taste-skill/prod/mobile-page-02.jpg +0 -0
  30. package/.taste-skill/prod/report.json +1973 -0
  31. package/.taste-skill/prod/tablet-fold.jpg +0 -0
  32. package/.taste-skill/prod/tablet-page-01.jpg +0 -0
  33. package/.taste-skill/prod/tablet-page-02.jpg +0 -0
  34. package/.tmp-cem/custom-elements.json +13705 -0
  35. package/AUDIT.md +228 -0
  36. package/PLAN-AMELIORATION.md +220 -0
  37. package/build-infos.json +1 -1
  38. package/concorde-core.bundle.js +196 -196
  39. package/concorde-core.es.js +3854 -3572
  40. package/custom-elements-manifest.config.mjs +14 -0
  41. package/dist/concorde-core.bundle.js +196 -196
  42. package/dist/concorde-core.es.js +3854 -3572
  43. package/dist/img/archive/concorde-001-2cv.webp +0 -0
  44. package/dist/img/archive/concorde-red-arrows-2002-poster.jpg +0 -0
  45. package/dist/img/archive/concorde-red-arrows-2002.webm +0 -0
  46. package/dist/img/archive/credits.json +28 -0
  47. package/docs/assets/index-Bb-_LRyY.js +12280 -0
  48. package/docs/index.html +1 -1
  49. package/index.html +27 -63
  50. package/package.json +44 -3
  51. package/public/img/archive/concorde-001-2cv.webp +0 -0
  52. package/public/img/archive/concorde-red-arrows-2002-poster.jpg +0 -0
  53. package/public/img/archive/concorde-red-arrows-2002.webm +0 -0
  54. package/public/img/archive/credits.json +28 -0
  55. package/scripts/generate-sdui-catalog.mjs +250 -0
  56. package/scripts/generate-sdui-catalog.spec.ts +91 -0
  57. package/scripts/pre-build.mjs +15 -0
  58. package/src/core/components/functional/fetch/fetch.md +2 -2
  59. package/src/core/components/functional/sdui/SDUIDescriptorTransformer.ts +5 -5
  60. package/src/core/components/functional/sdui/__fixtures__/descriptors.ts +251 -0
  61. package/src/core/components/functional/sdui/__snapshots__/sdui-action.spec.ts.snap +73 -0
  62. package/src/core/components/functional/sdui/__snapshots__/sdui-incremental.spec.ts.snap +50 -0
  63. package/src/core/components/functional/sdui/__snapshots__/sdui-partial.spec.ts.snap +50 -0
  64. package/src/core/components/functional/sdui/__snapshots__/sdui.regression.spec.ts.snap +461 -0
  65. package/src/core/components/functional/sdui/component-catalog.gaps.json +511 -0
  66. package/src/core/components/functional/sdui/component-catalog.json +3103 -0
  67. package/src/core/components/functional/sdui/component-catalog.spec.ts +23 -0
  68. package/src/core/components/functional/sdui/sdui-action.spec.ts +99 -0
  69. package/src/core/components/functional/sdui/sdui-dom-snapshot.ts +61 -0
  70. package/src/core/components/functional/sdui/sdui-extension-points.md +94 -0
  71. package/src/core/components/functional/sdui/sdui-incremental.spec.ts +137 -0
  72. package/src/core/components/functional/sdui/sdui-partial.spec.ts +83 -0
  73. package/src/core/components/functional/sdui/sdui-partial.ts +19 -0
  74. package/src/core/components/functional/sdui/sdui-safe.spec.ts +188 -0
  75. package/src/core/components/functional/sdui/sdui-safe.ts +100 -0
  76. package/src/core/components/functional/sdui/sdui.md +122 -0
  77. package/src/core/components/functional/sdui/sdui.regression.spec.ts +64 -0
  78. package/src/core/components/functional/sdui/sdui.ts +442 -34
  79. package/src/core/components/functional/sdui/types.ts +49 -0
  80. package/src/core/components/ui/modal/modal.ts +14 -11
  81. package/src/docs/_getting-started/components.md +5 -0
  82. package/src/docs/_getting-started/theming.md +2 -2
  83. package/src/docs/code.ts +88 -75
  84. package/src/docs/components/docs-demo-sources.ts +16 -8
  85. package/src/docs/components/docs-lit-demo.ts +19 -37
  86. package/src/docs/docs.ts +5 -0
  87. package/src/docs/example/docs-boarding-pass-demo.ts +134 -0
  88. package/src/docs/example/docs-provider-keys.ts +12 -0
  89. package/src/docs/header/header.ts +233 -69
  90. package/src/docs/home/catalog.ts +44 -0
  91. package/src/docs/home/home.ts +513 -0
  92. package/src/docs/home/mach-stage.ts +389 -0
  93. package/src/docs/layout.ts +3 -1
  94. package/src/docs/navigation/components-index.ts +56 -0
  95. package/src/docs/navigation/navigation.ts +240 -232
  96. package/src/docs/navigation/pager.ts +67 -0
  97. package/src/docs/navigation/toc.ts +98 -0
  98. package/src/docs/search/docs-search.json +330 -20
  99. package/src/docs/search/markdown-renderer.ts +11 -3
  100. package/src/docs/shiki/index.ts +109 -0
  101. package/src/docs/tailwind/css/base/scrollbar.css +22 -0
  102. package/src/docs/tailwind/css/base/theme.css +96 -0
  103. package/src/docs/tailwind/css/base/typography.css +4 -0
  104. package/src/docs/tailwind/css/docs/boarding-pass.css +65 -0
  105. package/src/docs/tailwind/css/docs/content.css +32 -0
  106. package/src/docs/tailwind/css/docs/page.css +10 -0
  107. package/src/docs/tailwind/css/docs.css +9 -0
  108. package/src/docs/tailwind/css/home/hero.css +210 -0
  109. package/src/docs/tailwind/css/home/motion.css +84 -0
  110. package/src/docs/tailwind/css/home/sections.css +416 -0
  111. package/src/docs/tailwind/css/tailwind.css +7 -185
  112. package/src/tsconfig.json +113 -2
  113. package/src/tsconfig.tsbuildinfo +1 -1
  114. package/tailwind.config.js +8 -4
  115. package/docs/assets/index-wVZpLVYW.js +0 -12122
  116. package/docs/crawl/core/components/functional/date/date.html +0 -190
  117. package/docs/crawl/core/components/functional/fetch/fetch.html +0 -109
  118. package/docs/crawl/core/components/functional/if/if.html +0 -27
  119. package/docs/crawl/core/components/functional/jsonata/jsonata.html +0 -79
  120. package/docs/crawl/core/components/functional/list/list.html +0 -70
  121. package/docs/crawl/core/components/functional/mix/mix.html +0 -45
  122. package/docs/crawl/core/components/functional/queue/queue.html +0 -96
  123. package/docs/crawl/core/components/functional/router/router.html +0 -106
  124. package/docs/crawl/core/components/functional/sdui/sdui.html +0 -269
  125. package/docs/crawl/core/components/functional/states/states.html +0 -66
  126. package/docs/crawl/core/components/functional/submit/submit.html +0 -160
  127. package/docs/crawl/core/components/functional/subscriber/subscriber.html +0 -67
  128. package/docs/crawl/core/components/functional/value/value.html +0 -51
  129. package/docs/crawl/core/components/ui/alert/alert.html +0 -211
  130. package/docs/crawl/core/components/ui/alert-messages/alert-messages.html +0 -131
  131. package/docs/crawl/core/components/ui/badge/badge.html +0 -197
  132. package/docs/crawl/core/components/ui/button/button.html +0 -150
  133. package/docs/crawl/core/components/ui/captcha/captcha.html +0 -112
  134. package/docs/crawl/core/components/ui/card/card.html +0 -253
  135. package/docs/crawl/core/components/ui/divider/divider.html +0 -144
  136. package/docs/crawl/core/components/ui/form/checkbox/checkbox.html +0 -73
  137. package/docs/crawl/core/components/ui/form/fieldset/fieldset.html +0 -266
  138. package/docs/crawl/core/components/ui/form/form-actions/form-actions.html +0 -122
  139. package/docs/crawl/core/components/ui/form/form-layout/form-layout.html +0 -121
  140. package/docs/crawl/core/components/ui/form/input/input.html +0 -109
  141. package/docs/crawl/core/components/ui/form/input-autocomplete/input-autocomplete.html +0 -38
  142. package/docs/crawl/core/components/ui/form/radio/radio.html +0 -56
  143. package/docs/crawl/core/components/ui/form/select/select.html +0 -73
  144. package/docs/crawl/core/components/ui/form/switch/switch.html +0 -56
  145. package/docs/crawl/core/components/ui/form/textarea/textarea.html +0 -59
  146. package/docs/crawl/core/components/ui/group/group.html +0 -104
  147. package/docs/crawl/core/components/ui/icon/icon.html +0 -222
  148. package/docs/crawl/core/components/ui/image/image.html +0 -298
  149. package/docs/crawl/core/components/ui/link/link.html +0 -100
  150. package/docs/crawl/core/components/ui/loader/loader.html +0 -124
  151. package/docs/crawl/core/components/ui/menu/menu.html +0 -394
  152. package/docs/crawl/core/components/ui/modal/modal.html +0 -342
  153. package/docs/crawl/core/components/ui/pop/pop.html +0 -296
  154. package/docs/crawl/core/components/ui/progress/progress.html +0 -131
  155. package/docs/crawl/core/components/ui/table/table.html +0 -545
  156. package/docs/crawl/core/components/ui/theme/theme.html +0 -131
  157. package/docs/crawl/core/components/ui/toast/toast.html +0 -233
  158. package/docs/crawl/core/components/ui/tooltip/tooltip.html +0 -140
  159. package/docs/crawl/docs/_core-concept/dataFlow.html +0 -177
  160. package/docs/crawl/docs/_core-concept/overview.html +0 -66
  161. package/docs/crawl/docs/_core-concept/subscriber.html +0 -75
  162. package/docs/crawl/docs/_decorators/ancestor-attribute.html +0 -117
  163. package/docs/crawl/docs/_decorators/auto-subscribe.html +0 -202
  164. package/docs/crawl/docs/_decorators/bind.html +0 -141
  165. package/docs/crawl/docs/_decorators/get.html +0 -149
  166. package/docs/crawl/docs/_decorators/handle.html +0 -165
  167. package/docs/crawl/docs/_decorators/on-assign.html +0 -355
  168. package/docs/crawl/docs/_decorators/patch.html +0 -78
  169. package/docs/crawl/docs/_decorators/post.html +0 -139
  170. package/docs/crawl/docs/_decorators/publish.html +0 -61
  171. package/docs/crawl/docs/_decorators/put.html +0 -78
  172. package/docs/crawl/docs/_decorators/subscribe.html +0 -109
  173. package/docs/crawl/docs/_decorators/wait-for-ancestors.html +0 -137
  174. package/docs/crawl/docs/_directives/sub.html +0 -93
  175. package/docs/crawl/docs/_getting-started/ai-agents.html +0 -173
  176. package/docs/crawl/docs/_getting-started/concorde-manual-install.html +0 -100
  177. package/docs/crawl/docs/_getting-started/concorde-outside.html +0 -58
  178. package/docs/crawl/docs/_getting-started/create-a-component.html +0 -111
  179. package/docs/crawl/docs/_getting-started/my-first-component.html +0 -189
  180. package/docs/crawl/docs/_getting-started/my-first-subscriber.html +0 -110
  181. package/docs/crawl/docs/_getting-started/pubsub.html +0 -62
  182. package/docs/crawl/docs/_getting-started/start.html +0 -76
  183. package/docs/crawl/docs/_getting-started/theming.html +0 -333
  184. package/docs/crawl/docs/_misc/api-configuration.html +0 -149
  185. package/docs/crawl/docs/_misc/dataProviderKey.html +0 -135
  186. package/docs/crawl/docs/_misc/docs-mock-api.html +0 -158
  187. package/docs/crawl/docs/_misc/dynamic-path.html +0 -180
  188. package/docs/crawl/docs/_misc/endpoint.html +0 -50
  189. package/docs/crawl/docs/_misc/formelement-subscriber-removal.html +0 -138
  190. package/docs/crawl/docs/_misc/html-integration.html +0 -48
  191. package/docs/crawl/hubs/decorators.html +0 -547
  192. package/docs/crawl/hubs/form-components.html +0 -381
  193. package/docs/crawl/hubs/remote-data.html +0 -452
  194. package/docs/crawl/index.html +0 -102
  195. package/docs/llms-full.txt +0 -7008
  196. package/docs/llms.txt +0 -97
  197. package/docs/sitemap.xml +0 -240
  198. package/docs/src/core/components/functional/date/date.md +0 -290
  199. package/docs/src/core/components/functional/fetch/fetch.md +0 -125
  200. package/docs/src/core/components/functional/if/if.md +0 -9
  201. package/docs/src/core/components/functional/jsonata/jsonata.md +0 -56
  202. package/docs/src/core/components/functional/list/list.md +0 -65
  203. package/docs/src/core/components/functional/mix/mix.md +0 -41
  204. package/docs/src/core/components/functional/queue/queue.md +0 -72
  205. package/docs/src/core/components/functional/router/router.md +0 -94
  206. package/docs/src/core/components/functional/sdui/default-library.json +0 -108
  207. package/docs/src/core/components/functional/sdui/example.json +0 -99
  208. package/docs/src/core/components/functional/sdui/sdui.md +0 -356
  209. package/docs/src/core/components/functional/states/states.md +0 -87
  210. package/docs/src/core/components/functional/submit/submit.md +0 -114
  211. package/docs/src/core/components/functional/subscriber/subscriber.md +0 -91
  212. package/docs/src/core/components/functional/value/value.md +0 -35
  213. package/docs/src/core/components/ui/alert/alert.md +0 -196
  214. package/docs/src/core/components/ui/alert-messages/alert-messages.md +0 -85
  215. package/docs/src/core/components/ui/badge/badge.md +0 -188
  216. package/docs/src/core/components/ui/button/button.md +0 -183
  217. package/docs/src/core/components/ui/captcha/captcha.md +0 -71
  218. package/docs/src/core/components/ui/card/card.md +0 -215
  219. package/docs/src/core/components/ui/divider/divider.md +0 -129
  220. package/docs/src/core/components/ui/form/checkbox/checkbox.md +0 -77
  221. package/docs/src/core/components/ui/form/fieldset/fieldset.md +0 -205
  222. package/docs/src/core/components/ui/form/form-actions/form-actions.md +0 -100
  223. package/docs/src/core/components/ui/form/form-layout/form-layout.md +0 -119
  224. package/docs/src/core/components/ui/form/input/input.md +0 -142
  225. package/docs/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +0 -29
  226. package/docs/src/core/components/ui/form/radio/radio.md +0 -57
  227. package/docs/src/core/components/ui/form/select/select.md +0 -71
  228. package/docs/src/core/components/ui/form/switch/switch.md +0 -57
  229. package/docs/src/core/components/ui/form/textarea/textarea.md +0 -65
  230. package/docs/src/core/components/ui/group/group.md +0 -75
  231. package/docs/src/core/components/ui/icon/icon.md +0 -214
  232. package/docs/src/core/components/ui/icon/icons.json +0 -1
  233. package/docs/src/core/components/ui/image/image.md +0 -233
  234. package/docs/src/core/components/ui/link/link.md +0 -81
  235. package/docs/src/core/components/ui/loader/loader.md +0 -112
  236. package/docs/src/core/components/ui/menu/menu.md +0 -370
  237. package/docs/src/core/components/ui/modal/modal.md +0 -235
  238. package/docs/src/core/components/ui/pop/pop.md +0 -294
  239. package/docs/src/core/components/ui/progress/progress.md +0 -109
  240. package/docs/src/core/components/ui/table/table.md +0 -431
  241. package/docs/src/core/components/ui/theme/theme.md +0 -122
  242. package/docs/src/core/components/ui/toast/toast.md +0 -216
  243. package/docs/src/core/components/ui/tooltip/tooltip.md +0 -124
  244. package/docs/src/docs/_core-concept/dataFlow.md +0 -88
  245. package/docs/src/docs/_core-concept/overview.md +0 -57
  246. package/docs/src/docs/_core-concept/subscriber.md +0 -75
  247. package/docs/src/docs/_decorators/ancestor-attribute.md +0 -128
  248. package/docs/src/docs/_decorators/auto-subscribe.md +0 -202
  249. package/docs/src/docs/_decorators/bind.md +0 -167
  250. package/docs/src/docs/_decorators/get.md +0 -162
  251. package/docs/src/docs/_decorators/handle.md +0 -175
  252. package/docs/src/docs/_decorators/on-assign.md +0 -390
  253. package/docs/src/docs/_decorators/patch.md +0 -70
  254. package/docs/src/docs/_decorators/post.md +0 -146
  255. package/docs/src/docs/_decorators/publish.md +0 -55
  256. package/docs/src/docs/_decorators/put.md +0 -70
  257. package/docs/src/docs/_decorators/subscribe.md +0 -100
  258. package/docs/src/docs/_decorators/wait-for-ancestors.md +0 -163
  259. package/docs/src/docs/_directives/sub.md +0 -91
  260. package/docs/src/docs/_getting-started/ai-agents.md +0 -76
  261. package/docs/src/docs/_getting-started/concorde-manual-install.md +0 -133
  262. package/docs/src/docs/_getting-started/concorde-outside.md +0 -33
  263. package/docs/src/docs/_getting-started/create-a-component.md +0 -139
  264. package/docs/src/docs/_getting-started/my-first-component.md +0 -236
  265. package/docs/src/docs/_getting-started/my-first-subscriber.md +0 -120
  266. package/docs/src/docs/_getting-started/pubsub.md +0 -37
  267. package/docs/src/docs/_getting-started/start.md +0 -47
  268. package/docs/src/docs/_getting-started/theming.md +0 -253
  269. package/docs/src/docs/_misc/api-configuration.md +0 -81
  270. package/docs/src/docs/_misc/dataProviderKey.md +0 -168
  271. package/docs/src/docs/_misc/docs-mock-api.md +0 -63
  272. package/docs/src/docs/_misc/dynamic-path.md +0 -71
  273. package/docs/src/docs/_misc/endpoint.md +0 -45
  274. package/docs/src/docs/_misc/formelement-subscriber-removal.md +0 -115
  275. package/docs/src/docs/_misc/html-integration.md +0 -15
  276. package/docs/src/docs/search/docs-search.json +0 -12242
  277. package/docs/src/tag-list.json +0 -1
  278. package/docs/src/tsconfig-model.json +0 -23
  279. package/docs/src/tsconfig.json +0 -1242
  280. package/src/docs/prism/index.ts +0 -6
  281. package/src/docs/prism/prism.css +0 -158
  282. package/src/docs/prism/prism.js +0 -1022
@@ -1,222 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="fr" data-crawl-url="https://concorde.supersoniks.org/crawl/core/components/ui/icon/icon.html" data-doc-id="core/components/ui/icon/icon">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Icon — Concorde</title>
7
- <meta name="description" content="sonic-icon renders inline SVG icons from the bundled core set or from CDN libraries. Set name (and library / prefix when needed); scale with size. Icons inherit currentColor and are aria-hidden by def">
8
- <meta name="keywords" content="Concorde, supersoniks, core/components/ui/icon/icon, icon, Icon, UI component, sonic-icon, web component, name, library, prefix, size, currentColor, aria-hidden, icons.json">
9
- <meta name="concorde-doc-id" content="core/components/ui/icon/icon">
10
- <link rel="canonical" href="https://concorde.supersoniks.org/crawl/core/components/ui/icon/icon.html">
11
- </head>
12
- <body>
13
- <header>
14
- <p><a href="../../../../index.html">Concorde documentation (crawl)</a> · <a href="https://concorde.supersoniks.org/#core/components/ui/icon/icon.md/icon" rel="nofollow">interactive version</a></p>
15
- </header>
16
- <main>
17
- <article>
18
- <p class="doc-lead" id="doc-summary"><strong>Concorde UI component — Icon</strong>. sonic-icon renders inline SVG icons from the bundled core set or from CDN libraries. Set name (and library / prefix when needed); scale with size. Icons inherit currentColor and are aria-hidden by def <span>Doc ID: <code>core/components/ui/icon/icon</code>. Keywords: Concorde, supersoniks, core/components/ui/icon/icon, icon, Icon, UI component, sonic-icon, web component, name, library, prefix, size, currentColor, aria-hidden, icons.json. URL: <a href="https://concorde.supersoniks.org/crawl/core/components/ui/icon/icon.html">https://concorde.supersoniks.org/crawl/core/components/ui/icon/icon.html</a>.</span></p>
19
- <h1 id="icon">Icon</h1>
20
- <p><strong><code>sonic-icon</code></strong> renders inline SVG icons from the <strong>bundled core set</strong> or from <strong>CDN libraries</strong>. Set <strong><code>name</code></strong> (and <strong><code>library</code></strong> / <strong><code>prefix</code></strong> when needed); scale with <strong><code>size</code></strong>. Icons inherit <strong><code>currentColor</code></strong> and are <strong><code>aria-hidden</code></strong> by default—keep visible text nearby or label the control that contains them.</p>
21
- <h2 id="core-library">Core library</h2>
22
- <p>Omit <strong><code>library</code></strong> to use the bundled set in <code>icons.json</code>. Available <strong><code>name</code></strong> values: <code>cancel</code> · <code>check</code> · <code>check-circled-outline</code> · <code>emoji-puzzled</code> · <code>info-empty</code> · <code>loader</code> · <code>minus-small</code> · <code>more-horiz</code> · <code>more-vert</code> · <code>nav-arrow-down</code> · <code>warning-circled-outline</code>.</p>
23
- <pre><code>&lt;div class=&quot;grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-8&quot;&gt;
24
- &lt;div class=&quot;text-center&quot;&gt;
25
- &lt;sonic-icon name=&quot;cancel&quot; size=&quot;lg&quot;&gt;&lt;/sonic-icon&gt;
26
- &lt;div class=&quot;text-xs mt-1&quot;&gt;cancel&lt;/div&gt;
27
- &lt;/div&gt;
28
- &lt;div class=&quot;text-center&quot;&gt;
29
- &lt;sonic-icon name=&quot;check&quot; size=&quot;lg&quot;&gt;&lt;/sonic-icon&gt;
30
- &lt;div class=&quot;text-xs mt-1&quot;&gt;check&lt;/div&gt;
31
- &lt;/div&gt;
32
- &lt;div class=&quot;text-center&quot;&gt;
33
- &lt;sonic-icon name=&quot;check-circled-outline&quot; size=&quot;lg&quot;&gt;&lt;/sonic-icon&gt;
34
- &lt;div class=&quot;text-xs mt-1&quot;&gt;check-circled-outline&lt;/div&gt;
35
- &lt;/div&gt;
36
- &lt;div class=&quot;text-center&quot;&gt;
37
- &lt;sonic-icon name=&quot;emoji-puzzled&quot; size=&quot;lg&quot;&gt;&lt;/sonic-icon&gt;
38
- &lt;div class=&quot;text-xs mt-1&quot;&gt;emoji-puzzled&lt;/div&gt;
39
- &lt;/div&gt;
40
- &lt;div class=&quot;text-center&quot;&gt;
41
- &lt;sonic-icon name=&quot;info-empty&quot; size=&quot;lg&quot;&gt;&lt;/sonic-icon&gt;
42
- &lt;div class=&quot;text-xs mt-1&quot;&gt;info-empty&lt;/div&gt;
43
- &lt;/div&gt;
44
- &lt;div class=&quot;text-center&quot;&gt;
45
- &lt;sonic-icon name=&quot;loader&quot; size=&quot;lg&quot;&gt;&lt;/sonic-icon&gt;
46
- &lt;div class=&quot;text-xs mt-1&quot;&gt;loader&lt;/div&gt;
47
- &lt;/div&gt;
48
- &lt;div class=&quot;text-center&quot;&gt;
49
- &lt;sonic-icon name=&quot;minus-small&quot; size=&quot;lg&quot;&gt;&lt;/sonic-icon&gt;
50
- &lt;div class=&quot;text-xs mt-1&quot;&gt;minus-small&lt;/div&gt;
51
- &lt;/div&gt;
52
- &lt;div class=&quot;text-center&quot;&gt;
53
- &lt;sonic-icon name=&quot;more-horiz&quot; size=&quot;lg&quot;&gt;&lt;/sonic-icon&gt;
54
- &lt;div class=&quot;text-xs mt-1&quot;&gt;more-horiz&lt;/div&gt;
55
- &lt;/div&gt;
56
- &lt;div class=&quot;text-center&quot;&gt;
57
- &lt;sonic-icon name=&quot;more-vert&quot; size=&quot;lg&quot;&gt;&lt;/sonic-icon&gt;
58
- &lt;div class=&quot;text-xs mt-1&quot;&gt;more-vert&lt;/div&gt;
59
- &lt;/div&gt;
60
- &lt;div class=&quot;text-center&quot;&gt;
61
- &lt;sonic-icon name=&quot;nav-arrow-down&quot; size=&quot;lg&quot;&gt;&lt;/sonic-icon&gt;
62
- &lt;div class=&quot;text-xs mt-1&quot;&gt;nav-arrow-down&lt;/div&gt;
63
- &lt;/div&gt;
64
- &lt;div class=&quot;text-center&quot;&gt;
65
- &lt;sonic-icon name=&quot;warning-circled-outline&quot; size=&quot;lg&quot;&gt;&lt;/sonic-icon&gt;
66
- &lt;div class=&quot;text-xs mt-1&quot;&gt;warning-circled-outline&lt;/div&gt;
67
- &lt;/div&gt;
68
- &lt;/div&gt;
69
- </code></pre>
70
- <h2 id="external-libraries">External libraries</h2>
71
- <p>Set <strong><code>library</code></strong> to load SVGs from a built-in CDN template. <strong><code>prefix</code></strong> falls back to each library’s default when omitted (<code>outline</code> for <strong><code>heroicons</code></strong>, <strong><code>regular</code></strong> for <strong><code>fontAwesome</code></strong> and <strong><code>material</code></strong>, and so on).</p>
72
- <pre><code>&lt;div class=&quot;grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-8&quot;&gt;
73
- &lt;sonic-link href=&quot;https://heroicons.com/&quot; target=&quot;_blank&quot; class=&quot;text-center underline&quot;&gt;
74
- &lt;sonic-icon library=&quot;heroicons&quot; prefix=&quot;outline&quot; name=&quot;academic-cap&quot; size=&quot;lg&quot;&gt;&lt;/sonic-icon&gt;
75
- &lt;br /&gt;
76
- &lt;div class=&quot;text-xs mt-1&quot;&gt;heroicons&lt;/div&gt;
77
- &lt;/sonic-link&gt;
78
- &lt;sonic-link href=&quot;https://iconoir.com/&quot; target=&quot;_blank&quot; class=&quot;text-center underline&quot;&gt;
79
- &lt;sonic-icon library=&quot;iconoir&quot; name=&quot;2x2-cell&quot; size=&quot;lg&quot;&gt;&lt;/sonic-icon&gt;
80
- &lt;br /&gt;
81
- &lt;div class=&quot;text-xs mt-1&quot;&gt;iconoir&lt;/div&gt;
82
- &lt;/sonic-link&gt;
83
- &lt;sonic-link href=&quot;https://materialdesignicons.com/&quot; target=&quot;_blank&quot; class=&quot;text-center underline&quot;&gt;
84
- &lt;sonic-icon library=&quot;material&quot; prefix=&quot;outline&quot; name=&quot;email&quot; size=&quot;lg&quot;&gt;&lt;/sonic-icon&gt;
85
- &lt;br /&gt;
86
- &lt;div class=&quot;text-xs mt-1&quot;&gt;material design&lt;/div&gt;
87
- &lt;/sonic-link&gt;
88
- &lt;sonic-link href=&quot;https://fontawesome.com/search?o=r&amp;m=free&amp;s=regular&quot; target=&quot;_blank&quot; class=&quot;text-center underline&quot;&gt;
89
- &lt;sonic-icon library=&quot;fontAwesome&quot; prefix=&quot;regular&quot; name=&quot;user&quot; size=&quot;lg&quot;&gt;&lt;/sonic-icon&gt;
90
- &lt;br /&gt;
91
- &lt;div class=&quot;text-xs mt-1&quot;&gt;fontAwesome regular&lt;/div&gt;
92
- &lt;/sonic-link&gt;
93
- &lt;sonic-link href=&quot;https://fontawesome.com/search?o=r&amp;m=free&amp;s=solid&quot; target=&quot;_blank&quot; class=&quot;text-center underline&quot;&gt;
94
- &lt;sonic-icon library=&quot;fontAwesome&quot; prefix=&quot;solid&quot; name=&quot;book&quot; size=&quot;lg&quot;&gt;&lt;/sonic-icon&gt;
95
- &lt;br /&gt;
96
- &lt;div class=&quot;text-xs mt-1&quot;&gt;fontAwesome solid&lt;/div&gt;
97
- &lt;/sonic-link&gt;
98
- &lt;sonic-link href=&quot;https://feathericons.com/&quot; target=&quot;_blank&quot; class=&quot;text-center underline&quot;&gt;
99
- &lt;sonic-icon library=&quot;feathers&quot; name=&quot;activity&quot; size=&quot;lg&quot;&gt;&lt;/sonic-icon&gt;
100
- &lt;br /&gt;
101
- &lt;div class=&quot;text-xs mt-1&quot;&gt;feathers&lt;/div&gt;
102
- &lt;/sonic-link&gt;
103
- &lt;sonic-link href=&quot;https://lucide.dev/&quot; target=&quot;_blank&quot; class=&quot;text-center underline&quot;&gt;
104
- &lt;sonic-icon library=&quot;lucide&quot; name=&quot;album&quot; size=&quot;lg&quot;&gt;&lt;/sonic-icon&gt;
105
- &lt;br /&gt;
106
- &lt;div class=&quot;text-xs mt-1&quot;&gt;lucide&lt;/div&gt;
107
- &lt;/sonic-link&gt;
108
- &lt;/div&gt;
109
- </code></pre>
110
- <h2 id="custom-library">Custom library</h2>
111
- <p>Use <strong><code>library=&quot;custom&quot;</code></strong> with SVG files on your origin. On an ancestor (for example <strong><code>sonic-scope</code></strong> or <strong><code>sonic-code</code></strong>), set <strong><code>customIconLibraryPath</code></strong> to a URL template with <strong><code>$prefix</code></strong> and <strong><code>$name</code></strong> placeholders, and optionally <strong><code>customIconDefaultPrefix</code></strong> when <strong><code>prefix</code></strong> is omitted.</p>
112
- <pre><code>&lt;sonic-scope
113
- customIconLibraryPath=&quot;/svg/$prefix/$name.svg&quot;
114
- customIconDefaultPrefix=&quot;regular&quot;
115
- &gt;
116
- &lt;div class=&quot;grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-8&quot;&gt;
117
- &lt;div class=&quot;text-center&quot;&gt;
118
- &lt;sonic-icon library=&quot;custom&quot; prefix=&quot;regular&quot; name=&quot;plane&quot;&gt;&lt;/sonic-icon&gt;
119
- &lt;br /&gt;
120
- &lt;div class=&quot;text-xs mt-1&quot;&gt;regular&lt;/div&gt;
121
- &lt;/div&gt;
122
- &lt;div class=&quot;text-center&quot;&gt;
123
- &lt;sonic-icon library=&quot;custom&quot; prefix=&quot;solid&quot; name=&quot;plane&quot;&gt;&lt;/sonic-icon&gt;
124
- &lt;br /&gt;
125
- &lt;div class=&quot;text-xs mt-1&quot;&gt;solid&lt;/div&gt;
126
- &lt;/div&gt;
127
- &lt;div class=&quot;text-center&quot;&gt;
128
- &lt;sonic-icon library=&quot;custom&quot; name=&quot;plane&quot;&gt;&lt;/sonic-icon&gt;
129
- &lt;br /&gt;
130
- &lt;div class=&quot;text-xs mt-1&quot;&gt;default prefix&lt;/div&gt;
131
- &lt;/div&gt;
132
- &lt;/div&gt;
133
- &lt;/sonic-scope&gt;
134
- </code></pre>
135
- <h2 id="size">Size</h2>
136
- <p>Omit <strong><code>size</code></strong> for the default scale (<code>1em</code> height). Larger steps use <strong><code>3xl</code></strong>.</p>
137
- <pre><code>&lt;div class=&quot;grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-8&quot;&gt;
138
- &lt;div class=&quot;text-center&quot;&gt;
139
- &lt;sonic-icon library=&quot;heroicons&quot; prefix=&quot;outline&quot; name=&quot;academic-cap&quot; size=&quot;2xs&quot;&gt;&lt;/sonic-icon&gt;
140
- &lt;br /&gt;
141
- &lt;div class=&quot;text-xs mt-1&quot;&gt;2xs&lt;/div&gt;
142
- &lt;/div&gt;
143
- &lt;div class=&quot;text-center&quot;&gt;
144
- &lt;sonic-icon library=&quot;heroicons&quot; prefix=&quot;outline&quot; name=&quot;academic-cap&quot; size=&quot;xs&quot;&gt;&lt;/sonic-icon&gt;
145
- &lt;br /&gt;
146
- &lt;div class=&quot;text-xs mt-1&quot;&gt;xs&lt;/div&gt;
147
- &lt;/div&gt;
148
- &lt;div class=&quot;text-center&quot;&gt;
149
- &lt;sonic-icon library=&quot;heroicons&quot; prefix=&quot;outline&quot; name=&quot;academic-cap&quot; size=&quot;sm&quot;&gt;&lt;/sonic-icon&gt;
150
- &lt;br /&gt;
151
- &lt;div class=&quot;text-xs mt-1&quot;&gt;sm&lt;/div&gt;
152
- &lt;/div&gt;
153
- &lt;div class=&quot;text-center&quot;&gt;
154
- &lt;sonic-icon library=&quot;heroicons&quot; prefix=&quot;outline&quot; name=&quot;academic-cap&quot;&gt;&lt;/sonic-icon&gt;
155
- &lt;br /&gt;
156
- &lt;div class=&quot;text-xs mt-1&quot;&gt;default&lt;/div&gt;
157
- &lt;/div&gt;
158
- &lt;div class=&quot;text-center&quot;&gt;
159
- &lt;sonic-icon library=&quot;heroicons&quot; prefix=&quot;outline&quot; name=&quot;academic-cap&quot; size=&quot;lg&quot;&gt;&lt;/sonic-icon&gt;
160
- &lt;br /&gt;
161
- &lt;div class=&quot;text-xs mt-1&quot;&gt;lg&lt;/div&gt;
162
- &lt;/div&gt;
163
- &lt;div class=&quot;text-center&quot;&gt;
164
- &lt;sonic-icon library=&quot;heroicons&quot; prefix=&quot;outline&quot; name=&quot;academic-cap&quot; size=&quot;xl&quot;&gt;&lt;/sonic-icon&gt;
165
- &lt;br /&gt;
166
- &lt;div class=&quot;text-xs mt-1&quot;&gt;xl&lt;/div&gt;
167
- &lt;/div&gt;
168
- &lt;div class=&quot;text-center&quot;&gt;
169
- &lt;sonic-icon library=&quot;heroicons&quot; prefix=&quot;outline&quot; name=&quot;academic-cap&quot; size=&quot;2xl&quot;&gt;&lt;/sonic-icon&gt;
170
- &lt;br /&gt;
171
- &lt;div class=&quot;text-xs mt-1&quot;&gt;2xl&lt;/div&gt;
172
- &lt;/div&gt;
173
- &lt;div class=&quot;text-center&quot;&gt;
174
- &lt;sonic-icon library=&quot;heroicons&quot; prefix=&quot;outline&quot; name=&quot;academic-cap&quot; size=&quot;3xl&quot;&gt;&lt;/sonic-icon&gt;
175
- &lt;br /&gt;
176
- &lt;div class=&quot;text-xs mt-1&quot;&gt;3xl&lt;/div&gt;
177
- &lt;/div&gt;
178
- &lt;/div&gt;
179
- </code></pre>
180
- <h2 id="accessibility">Accessibility</h2>
181
- <p>On connect, the host sets <strong><code>aria-hidden=&quot;true&quot;</code></strong>. Treat icons as decorative unless the surrounding control already has an accessible name. Do not rely on <strong><code>sonic-icon</code></strong> alone for meaning—use visible text or <strong><code>aria-label</code></strong> on the parent button / link.</p>
182
- <pre><code>&lt;sonic-button type=&quot;neutral&quot; variant=&quot;outline&quot; shape=&quot;circle&quot; aria-label=&quot;User profile&quot;&gt;
183
- &lt;sonic-icon library=&quot;iconoir&quot; name=&quot;user&quot;&gt;&lt;/sonic-icon&gt;
184
- &lt;/sonic-button&gt;
185
- </code></pre>
186
- <h2 id="api-reference">API reference</h2>
187
- <table>
188
- <thead>
189
- <tr>
190
- <th>Attribute</th>
191
- <th>Values</th>
192
- <th>Description</th>
193
- </tr>
194
- </thead>
195
- <tbody><tr>
196
- <td><code>name</code></td>
197
- <td>string</td>
198
- <td>Icon id in the core bundle or in the remote library</td>
199
- </tr>
200
- <tr>
201
- <td><code>library</code></td>
202
- <td><code>heroicons</code> · <code>iconoir</code> · <code>feathers</code> · <code>lucide</code> · <code>material</code> · <code>fontAwesome</code> · <code>custom</code></td>
203
- <td>CDN or custom template; omit for bundled core icons</td>
204
- </tr>
205
- <tr>
206
- <td><code>prefix</code></td>
207
- <td>string</td>
208
- <td>Library-specific variant; defaults per library when empty</td>
209
- </tr>
210
- <tr>
211
- <td><code>size</code></td>
212
- <td><code>2xs</code> · <code>xs</code> · <code>sm</code> · <code>lg</code> · <code>xl</code> · <code>2xl</code> · <code>3xl</code> (default <code>md</code>)</td>
213
- <td><code>em</code>-based SVG scale on the host</td>
214
- </tr>
215
- </tbody></table>
216
- <p>Ancestor attributes (for <strong><code>library=&quot;custom&quot;</code></strong> only): <strong><code>customIconLibraryPath</code></strong> (URL template with <strong><code>$prefix</code></strong> and <strong><code>$name</code></strong>) and <strong><code>customIconDefaultPrefix</code></strong>. May be set on <strong><code>sonic-scope</code></strong>, theme roots, or globally in the document.</p>
217
- <p>No slots — the component inlines fetched or bundled SVG markup.</p>
218
-
219
- </article>
220
- </main>
221
- </body>
222
- </html>
@@ -1,298 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="fr" data-crawl-url="https://concorde.supersoniks.org/crawl/core/components/ui/image/image.html" data-doc-id="core/components/ui/image/image">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Image — Concorde</title>
7
- <meta name="description" content="sonic-image wraps a responsive &lt;img&gt; with aspect ratio, object-fit: cover, optional rounded corners, and load transitions. The host shows a placeholder background (--sc-placeholder-bg) until the asset">
8
- <meta name="keywords" content="Concorde, supersoniks, core/components/ui/image/image, image, Image, UI component, sonic-image, web component, , object-fit: cover, --sc-placeholder-bg, loading, lazy, loading=&quot;eager&quot;, rounded, --sc-rounded">
9
- <meta name="concorde-doc-id" content="core/components/ui/image/image">
10
- <link rel="canonical" href="https://concorde.supersoniks.org/crawl/core/components/ui/image/image.html">
11
- </head>
12
- <body>
13
- <header>
14
- <p><a href="../../../../index.html">Concorde documentation (crawl)</a> · <a href="https://concorde.supersoniks.org/#core/components/ui/image/image.md/image" rel="nofollow">interactive version</a></p>
15
- </header>
16
- <main>
17
- <article>
18
- <p class="doc-lead" id="doc-summary"><strong>Concorde UI component — Image</strong>. sonic-image wraps a responsive &lt;img&gt; with aspect ratio, object-fit: cover, optional rounded corners, and load transitions. The host shows a placeholder background (--sc-placeholder-bg) until the asset <span>Doc ID: <code>core/components/ui/image/image</code>. Keywords: Concorde, supersoniks, core/components/ui/image/image, image, Image, UI component, sonic-image, web component, , object-fit: cover, --sc-placeholder-bg, loading, lazy, loading=&quot;eager&quot;, rounded, --sc-rounded. URL: <a href="https://concorde.supersoniks.org/crawl/core/components/ui/image/image.html">https://concorde.supersoniks.org/crawl/core/components/ui/image/image.html</a>.</span></p>
19
- <h1 id="image">Image</h1>
20
- <p><strong><code>sonic-image</code></strong> wraps a responsive <strong><code>&lt;img&gt;</code></strong> with aspect ratio, <code>object-fit: cover</code>, optional rounded corners, and load transitions. The host shows a placeholder background (<code>--sc-placeholder-bg</code>) until the asset loads. Default <strong><code>loading</code></strong> is <code>lazy</code>; use <strong><code>loading=&quot;eager&quot;</code></strong> for above-the-fold heroes.</p>
21
- <h2 id="rounded">Rounded</h2>
22
- <p>Omit <code>rounded</code> for square corners. Boolean <strong><code>rounded</code></strong> uses the theme token <code>--sc-rounded</code>. Sizes: <strong><code>sm</code></strong>, <strong><code>md</code></strong>, <strong><code>lg</code></strong>, <strong><code>xl</code></strong>, <strong><code>full</code></strong> (circle — pair with <code>ratio=&quot;1/1&quot;</code>), <strong><code>none</code></strong> (explicit reset).</p>
23
- <pre><code>&lt;div class=&quot;grid gap-6 grid-cols-3 lg:grid-cols-4 items-end text-center text-xs &quot;&gt;
24
- &lt;div&gt;
25
- &lt;sonic-image
26
- ratio=&quot;1/1&quot;
27
- src=&quot;https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg&quot;
28
- &gt;&lt;/sonic-image&gt;
29
- &lt;p class=&quot;mt-2&quot;&gt;default&lt;/p&gt;
30
- &lt;/div&gt;
31
- &lt;div&gt;
32
- &lt;sonic-image
33
- rounded=&quot;sm&quot;
34
- ratio=&quot;1/1&quot;
35
- src=&quot;https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg&quot;
36
- &gt;&lt;/sonic-image&gt;
37
- &lt;p class=&quot;mt-2&quot;&gt;sm&lt;/p&gt;
38
- &lt;/div&gt;
39
- &lt;div&gt;
40
- &lt;sonic-image
41
- rounded
42
- ratio=&quot;1/1&quot;
43
- src=&quot;https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg&quot;
44
- &gt;&lt;/sonic-image&gt;
45
- &lt;p class=&quot;mt-2&quot;&gt;rounded&lt;/p&gt;
46
- &lt;/div&gt;
47
- &lt;div&gt;
48
- &lt;sonic-image
49
- rounded=&quot;md&quot;
50
- ratio=&quot;1/1&quot;
51
- src=&quot;https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg&quot;
52
- &gt;&lt;/sonic-image&gt;
53
- &lt;p class=&quot;mt-2&quot;&gt;md&lt;/p&gt;
54
- &lt;/div&gt;
55
- &lt;div&gt;
56
- &lt;sonic-image
57
- rounded=&quot;lg&quot;
58
- ratio=&quot;1/1&quot;
59
- src=&quot;https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg&quot;
60
- &gt;&lt;/sonic-image&gt;
61
- &lt;p class=&quot;mt-2&quot;&gt;lg&lt;/p&gt;
62
- &lt;/div&gt;
63
- &lt;div&gt;
64
- &lt;sonic-image
65
- rounded=&quot;xl&quot;
66
- ratio=&quot;1/1&quot;
67
- src=&quot;https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg&quot;
68
- &gt;&lt;/sonic-image&gt;
69
- &lt;p class=&quot;mt-2&quot;&gt;xl&lt;/p&gt;
70
- &lt;/div&gt;
71
- &lt;div &gt;
72
- &lt;div &gt;
73
- &lt;sonic-image
74
- rounded=&quot;full&quot;
75
- ratio=&quot;1/1&quot;
76
- src=&quot;https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg&quot;
77
- &gt;&lt;/sonic-image&gt;
78
- &lt;p class=&quot;mt-2&quot;&gt;full&lt;/p&gt;
79
- &lt;/div&gt;
80
- &lt;/div&gt;
81
- &lt;/div&gt;
82
- </code></pre>
83
- <h2 id="aspect-ratio">Aspect ratio</h2>
84
- <p><strong><code>ratio</code></strong> sets CSS <code>aspect-ratio</code> on the image (default <strong><code>auto</code></strong>). The image still fills the host width (<code>width: 100%</code>).</p>
85
- <pre><code>&lt;div class=&quot;grid gap-8 grid-cols-2 items-center&quot;&gt;
86
- &lt;sonic-image
87
- src=&quot;https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg&quot;
88
- &gt;&lt;/sonic-image&gt;
89
- &lt;sonic-image
90
- ratio=&quot;16/9&quot;
91
- src=&quot;https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg&quot;
92
- &gt;&lt;/sonic-image&gt;
93
- &lt;sonic-image
94
- ratio=&quot;1/1&quot;
95
- src=&quot;https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg&quot;
96
- &gt;&lt;/sonic-image&gt;
97
- &lt;sonic-image
98
- ratio=&quot;2/3&quot;
99
- src=&quot;https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg&quot;
100
- &gt;&lt;/sonic-image&gt;
101
- &lt;/div&gt;
102
- </code></pre>
103
- <h2 id="object-position">Object position</h2>
104
- <p><strong><code>objectPosition</code></strong> maps to CSS <code>object-position</code> (default <strong><code>center center</code></strong>). Useful on wide crops when the subject sits off-center.</p>
105
- <pre><code>&lt;div class=&quot;grid gap-8 grid-cols-2 items-center&quot;&gt;
106
- &lt;sonic-image
107
- ratio=&quot;11/4&quot;
108
- src=&quot;https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg&quot;
109
- &gt;&lt;/sonic-image&gt;
110
- &lt;sonic-image
111
- objectPosition=&quot;center top&quot;
112
- ratio=&quot;11/4&quot;
113
- src=&quot;https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg&quot;
114
- &gt;&lt;/sonic-image&gt;
115
- &lt;/div&gt;
116
- </code></pre>
117
- <h2 id="cover">Cover</h2>
118
- <p><strong><code>cover</code></strong> stretches the image to fill a <strong>positioned</strong> parent (<code>position: relative</code> + fixed height or inset). Aspect ratio on the host is ignored while <code>cover</code> is set.</p>
119
- <pre><code>&lt;div class=&quot;h-96 relative rounded-lg overflow-hidden&quot;&gt;
120
- &lt;sonic-image
121
- cover
122
- src=&quot;https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg&quot;
123
- &gt;&lt;/sonic-image&gt;
124
- &lt;/div&gt;
125
- </code></pre>
126
- <h2 id="load-transition">Load transition</h2>
127
- <p>Set <strong><code>transition</code></strong> to <strong><code>fade</code></strong> (default when the attribute is present) or <strong><code>fade-scale-out</code></strong>. The image stays at <code>opacity: 0</code> until the browser fires <strong><code>load</code></strong>, then the <strong><code>loaded</code></strong> class runs the animation. Changing <code>src</code> on an existing element does not replay the effect — mount a new <code>sonic-image</code> when you need another entrance (galleries, infinite scroll).</p>
128
- <p>Click <strong>Add image</strong> to append small thumbnails and replay the transition. <strong>Clear</strong> resets the row.</p>
129
- <pre><code>&lt;div class=&quot;flex flex-wrap gap-2 mb-4&quot;&gt;
130
- &lt;sonic-button
131
- size=&quot;sm&quot;
132
- onclick=&quot;(function () {
133
- var host = document.getElementById(&#39;sonic-image-transition-host&#39;);
134
- var img = document.createElement(&#39;sonic-image&#39;);
135
- img.transition = &#39;fade&#39;;
136
- img.ratio = &#39;1/1&#39;;
137
- img.rounded = &#39;md&#39;;
138
- img.loading = &#39;eager&#39;;
139
- img.style.width = &#39;8rem&#39;;
140
- img.src = &#39;https://picsum.photos/seed/&#39; + Date.now() + &#39;/120/120&#39;;
141
- host.appendChild(img);
142
- })()&quot;
143
- &gt;
144
- Add image (fade)
145
- &lt;/sonic-button&gt;
146
- &lt;sonic-button
147
- size=&quot;sm&quot;
148
- variant=&quot;outline&quot;
149
- onclick=&quot;(function () {
150
- var host = document.getElementById(&#39;sonic-image-transition-host&#39;);
151
- var img = document.createElement(&#39;sonic-image&#39;);
152
- img.transition = &#39;fade-scale-out&#39;;
153
- img.ratio = &#39;1/1&#39;;
154
- img.rounded = &#39;md&#39;;
155
- img.loading = &#39;eager&#39;;
156
- img.style.width = &#39;8rem&#39;;
157
- img.src = &#39;https://picsum.photos/seed/&#39; + Date.now() + &#39;/120/120&#39;;
158
- host.appendChild(img);
159
- })()&quot;
160
- &gt;
161
- Add image (fade-scale-out)
162
- &lt;/sonic-button&gt;
163
- &lt;sonic-button
164
- size=&quot;sm&quot;
165
- variant=&quot;ghost&quot;
166
- onclick=&quot;document.getElementById(&#39;sonic-image-transition-host&#39;).replaceChildren()&quot;
167
- &gt;
168
- Clear
169
- &lt;/sonic-button&gt;
170
- &lt;/div&gt;
171
- &lt;div id=&quot;sonic-image-transition-host&quot; class=&quot;flex flex-wrap gap-2 min-h-[5rem]&quot;&gt;&lt;/div&gt;
172
- </code></pre>
173
- <h2 id="accessibility-and-parts">Accessibility and parts</h2>
174
- <p>Always set meaningful <strong><code>alt</code></strong> text (empty string only for decorative images). </p>
175
- <pre><code>&lt;sonic-image
176
- rounded=&quot;md&quot;
177
- ratio=&quot;16/9&quot;
178
- alt=&quot;Concorde aircraft in flight&quot;
179
- src=&quot;https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg&quot;
180
- &gt;&lt;/sonic-image&gt;
181
- </code></pre>
182
- <h2 id="api-reference">API reference</h2>
183
- <table>
184
- <thead>
185
- <tr>
186
- <th>Attribute</th>
187
- <th>Values</th>
188
- <th>Description</th>
189
- </tr>
190
- </thead>
191
- <tbody><tr>
192
- <td><code>src</code></td>
193
- <td>URL</td>
194
- <td>Image URL passed to <code>&lt;img src&gt;</code></td>
195
- </tr>
196
- <tr>
197
- <td><code>alt</code></td>
198
- <td>string</td>
199
- <td>Accessible description; use <code>&quot;&quot;</code> only for decorative images</td>
200
- </tr>
201
- <tr>
202
- <td><code>loading</code></td>
203
- <td><code>lazy</code> (default), <code>eager</code></td>
204
- <td>Native lazy loading</td>
205
- </tr>
206
- <tr>
207
- <td><code>ratio</code></td>
208
- <td>CSS ratio, <code>auto</code> (default)</td>
209
- <td>Host <code>aspect-ratio</code> on the image (ignored when <code>cover</code> is set)</td>
210
- </tr>
211
- <tr>
212
- <td><code>rounded</code></td>
213
- <td><code>none</code> (default), boolean, <code>base</code>, <code>sm</code>, <code>md</code>, <code>lg</code>, <code>xl</code>, <code>full</code></td>
214
- <td>Corner radius from theme tokens; <code>full</code> is a circle (often with <code>ratio=&quot;1/1&quot;</code>)</td>
215
- </tr>
216
- <tr>
217
- <td><code>objectPosition</code></td>
218
- <td>CSS position</td>
219
- <td>Maps to <code>object-position</code> (default <code>center center</code>)</td>
220
- </tr>
221
- <tr>
222
- <td><code>imageRendering</code></td>
223
- <td>CSS value</td>
224
- <td>Maps to <code>image-rendering</code> (default <code>auto</code>)</td>
225
- </tr>
226
- <tr>
227
- <td><code>cover</code></td>
228
- <td>boolean</td>
229
- <td>Absolutely fills a positioned parent; host aspect ratio is ignored</td>
230
- </tr>
231
- <tr>
232
- <td><code>transition</code></td>
233
- <td><code>fade</code>, <code>fade-scale-out</code></td>
234
- <td>Opacity (and scale) animation after <code>load</code>; remount to replay on <code>src</code> change</td>
235
- </tr>
236
- </tbody></table>
237
- <p>No slots — content is driven entirely by attributes on the inner <code>&lt;img&gt;</code>.</p>
238
- <h2 id="api-reference-1">API reference</h2>
239
- <table>
240
- <thead>
241
- <tr>
242
- <th>Attribute</th>
243
- <th>Values</th>
244
- <th>Description</th>
245
- </tr>
246
- </thead>
247
- <tbody><tr>
248
- <td><code>src</code></td>
249
- <td>URL</td>
250
- <td>Image URL passed to <code>&lt;img src&gt;</code></td>
251
- </tr>
252
- <tr>
253
- <td><code>alt</code></td>
254
- <td>string</td>
255
- <td>Accessible description; use <code>&quot;&quot;</code> only for decorative images</td>
256
- </tr>
257
- <tr>
258
- <td><code>loading</code></td>
259
- <td><code>lazy</code> (default), <code>eager</code></td>
260
- <td>Native lazy loading</td>
261
- </tr>
262
- <tr>
263
- <td><code>ratio</code></td>
264
- <td>CSS ratio, <code>auto</code> (default)</td>
265
- <td>Host <code>aspect-ratio</code> on the image (ignored when <code>cover</code> is set)</td>
266
- </tr>
267
- <tr>
268
- <td><code>rounded</code></td>
269
- <td><code>none</code> (default), boolean, <code>base</code>, <code>sm</code>, <code>md</code>, <code>lg</code>, <code>xl</code>, <code>full</code></td>
270
- <td>Corner radius from theme tokens; <code>full</code> is a circle (often with <code>ratio=&quot;1/1&quot;</code>)</td>
271
- </tr>
272
- <tr>
273
- <td><code>objectPosition</code></td>
274
- <td>CSS position</td>
275
- <td>Maps to <code>object-position</code> (default <code>center center</code>)</td>
276
- </tr>
277
- <tr>
278
- <td><code>imageRendering</code></td>
279
- <td>CSS value</td>
280
- <td>Maps to <code>image-rendering</code> (default <code>auto</code>)</td>
281
- </tr>
282
- <tr>
283
- <td><code>cover</code></td>
284
- <td>boolean</td>
285
- <td>Absolutely fills a positioned parent; host aspect ratio is ignored</td>
286
- </tr>
287
- <tr>
288
- <td><code>transition</code></td>
289
- <td><code>fade</code>, <code>fade-scale-out</code></td>
290
- <td>Opacity (and scale) animation after <code>load</code>; remount to replay on <code>src</code> change</td>
291
- </tr>
292
- </tbody></table>
293
- <p>No slots — content is driven entirely by attributes on the inner <code>&lt;img&gt;</code>.</p>
294
-
295
- </article>
296
- </main>
297
- </body>
298
- </html>
@@ -1,100 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="fr" data-crawl-url="https://concorde.supersoniks.org/crawl/core/components/ui/link/link.html" data-doc-id="core/components/ui/link/link">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Link — Concorde</title>
7
- <meta name="description" content="Links navigate with inherited typography: internal routes, anchors, or external URLs. The default slot is the anchor label. For in-app routing, pair href with pushstate; use autoActive to reflect the ">
8
- <meta name="keywords" content="Concorde, supersoniks, core/components/ui/link/link, link, Link, UI component, sonic-link, web component, href, pushstate, autoActive, active, target=&quot;_blank&quot;, rel=&quot;noopener noreferrer&quot;, partial">
9
- <meta name="concorde-doc-id" content="core/components/ui/link/link">
10
- <link rel="canonical" href="https://concorde.supersoniks.org/crawl/core/components/ui/link/link.html">
11
- </head>
12
- <body>
13
- <header>
14
- <p><a href="../../../../index.html">Concorde documentation (crawl)</a> · <a href="https://concorde.supersoniks.org/#core/components/ui/link/link.md/link" rel="nofollow">interactive version</a></p>
15
- </header>
16
- <main>
17
- <article>
18
- <p class="doc-lead" id="doc-summary"><strong>Concorde UI component — Link</strong>. Links navigate with inherited typography: internal routes, anchors, or external URLs. The default slot is the anchor label. For in-app routing, pair href with pushstate; use autoActive to reflect the <span>Doc ID: <code>core/components/ui/link/link</code>. Keywords: Concorde, supersoniks, core/components/ui/link/link, link, Link, UI component, sonic-link, web component, href, pushstate, autoActive, active, target=&quot;_blank&quot;, rel=&quot;noopener noreferrer&quot;, partial. URL: <a href="https://concorde.supersoniks.org/crawl/core/components/ui/link/link.html">https://concorde.supersoniks.org/crawl/core/components/ui/link/link.html</a>.</span></p>
19
- <h1 id="link">Link</h1>
20
- <p>Links <strong>navigate</strong> with inherited typography: internal routes, anchors, or external URLs. The default slot is the anchor label. For in-app routing, pair <strong><code>href</code></strong> with <strong><code>pushstate</code></strong>; use <strong><code>autoActive</code></strong> to reflect the current URL on the host (<code>active</code>).</p>
21
- <h2 id="basic-example">Basic example</h2>
22
- <pre><code>&lt;sonic-link href=&quot;/&quot;&gt;Basic link with href attribute&lt;/sonic-link&gt;
23
- </code></pre>
24
- <h2 id="target">Target</h2>
25
- <p><strong><code>target=&quot;_blank&quot;</code></strong> opens a new browsing context and sets <strong><code>rel=&quot;noopener noreferrer&quot;</code></strong>.</p>
26
- <pre><code>&lt;sonic-link href=&quot;/&quot; target=&quot;_blank&quot;&gt;Link with target attribute&lt;/sonic-link&gt;
27
- </code></pre>
28
- <h2 id="pushstate">Pushstate</h2>
29
- <p>Set <strong><code>pushstate</code></strong> on same-origin <strong><code>href</code></strong> values to intercept clicks and navigate through Concorde’s client router without a full reload.</p>
30
- <pre><code>&lt;sonic-link href=&quot;/#core/components&quot; pushstate&gt;Client navigation (pushstate)&lt;/sonic-link&gt;
31
- </code></pre>
32
- <h2 id="autoactive">AutoActive</h2>
33
- <p>Default <strong><code>autoActive</code></strong> is <strong><code>partial</code></strong>: the host gets <strong><code>active</code></strong> when the current URL starts with <strong><code>href</code></strong>. Style with <strong><code>[&amp;[active]]:</code></strong> utilities or host selectors.</p>
34
- <pre><code>&lt;sonic-link href=&quot;/#core/components&quot; class=&quot;[&amp;[active]]:text-success&quot;&gt;autoActive partial (default)&lt;/sonic-link&gt;
35
- </code></pre>
36
- <h3 id="autoactive-strict-vs-partial">AutoActive strict vs partial</h3>
37
- <p><strong><code>strict</code></strong> requires pathname, search, and hash to match. <strong><code>strict-path-only</code></strong> matches pathname and hash but ignores search.</p>
38
- <pre><code>&lt;div class=&quot;grid gap-3&quot;&gt;
39
- &lt;sonic-link href=&quot;/#core&quot; autoActive=&quot;strict&quot; class=&quot;[&amp;[active]]:text-success&quot;&gt;autoActive strict&lt;/sonic-link&gt;
40
- &lt;sonic-link href=&quot;/./link.html#link&quot; autoActive=&quot;strict&quot; class=&quot;[&amp;[active]]:text-success&quot;&gt;autoActive strict (long href)&lt;/sonic-link&gt;
41
- &lt;sonic-link href=&quot;/#core/components&quot; autoActive=&quot;strict-path-only&quot; class=&quot;[&amp;[active]]:text-success&quot;&gt;autoActive strict-path-only&lt;/sonic-link&gt;
42
- &lt;/div&gt;
43
- </code></pre>
44
- <h3 id="autoactive-disabled">AutoActive disabled</h3>
45
- <pre><code>&lt;sonic-link href=&quot;/./link.html#link&quot; autoActive=&quot;disabled&quot; class=&quot;[&amp;[active]]:text-success&quot;&gt;autoActive disabled&lt;/sonic-link&gt;
46
- </code></pre>
47
- <h2 id="accessibility">Accessibility</h2>
48
- <p>The inner <strong><code>&lt;a&gt;</code></strong> uses <strong><code>focus-visible</code></strong> outline styling. Set <strong><code>data-aria-label</code></strong> when the slot text is not sufficient on its own.</p>
49
- <h2 id="api-reference">API reference</h2>
50
- <table>
51
- <thead>
52
- <tr>
53
- <th>Attribute</th>
54
- <th>Values</th>
55
- <th>Description</th>
56
- </tr>
57
- </thead>
58
- <tbody><tr>
59
- <td><code>href</code></td>
60
- <td>URL</td>
61
- <td>Link target; without <strong><code>href</code></strong>, only the slot is rendered (no <strong><code>&lt;a&gt;</code></strong>)</td>
62
- </tr>
63
- <tr>
64
- <td><code>target</code></td>
65
- <td>e.g. <code>_blank</code></td>
66
- <td>Navigation target; <strong><code>_blank</code></strong> adds <strong><code>rel=&quot;noopener noreferrer&quot;</code></strong></td>
67
- </tr>
68
- <tr>
69
- <td><code>pushstate</code></td>
70
- <td>boolean</td>
71
- <td>Intercepts click for Concorde client navigation without reload</td>
72
- </tr>
73
- <tr>
74
- <td><code>autoActive</code></td>
75
- <td><code>partial</code> (default) · <code>strict</code> · <code>strict-path-only</code> · <code>disabled</code></td>
76
- <td>When the host gets the <strong><code>active</code></strong> attribute (same-origin <strong><code>href</code></strong> only)</td>
77
- </tr>
78
- <tr>
79
- <td><code>data-aria-label</code></td>
80
- <td>string</td>
81
- <td>Accessible <strong><code>aria-label</code></strong> when the slot text is not enough</td>
82
- </tr>
83
- </tbody></table>
84
- <table>
85
- <thead>
86
- <tr>
87
- <th>Slot</th>
88
- <th>Description</th>
89
- </tr>
90
- </thead>
91
- <tbody><tr>
92
- <td><em>(default)</em></td>
93
- <td>Link content (text, icons)</td>
94
- </tr>
95
- </tbody></table>
96
-
97
- </article>
98
- </main>
99
- </body>
100
- </html>