@supersoniks/concorde 5.0.3 → 5.0.5

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 (151) hide show
  1. package/.agents/skills/concorde-component-docs/SKILL.md +194 -0
  2. package/.agents/skills/concorde-component-docs/template.md +45 -0
  3. package/ai/cursor/rules/concorde-theme.mdc +1 -1
  4. package/ai/cursor/rules/concorde.mdc +1 -1
  5. package/ai/skills/concorde/SKILL.md +1 -1
  6. package/ai/skills/concorde-theme/SKILL.md +21 -10
  7. package/build-infos.json +1 -1
  8. package/concorde-core.bundle.js +515 -521
  9. package/concorde-core.es.js +5151 -5056
  10. package/dist/concorde-core.bundle.js +515 -521
  11. package/dist/concorde-core.es.js +5151 -5056
  12. package/dist/docs-mock-api-sw.js +2 -0
  13. package/dist/docs-mock-api-sw.js.map +2 -2
  14. package/docs/assets/index-CD4WyL6o.css +1 -0
  15. package/docs/assets/{index-BnK6OS7w.js → index-wVZpLVYW.js} +815 -808
  16. package/docs/crawl/core/components/ui/alert/alert.html +76 -5
  17. package/docs/crawl/core/components/ui/alert-messages/alert-messages.html +113 -5
  18. package/docs/crawl/core/components/ui/badge/badge.html +57 -8
  19. package/docs/crawl/core/components/ui/captcha/captcha.html +90 -8
  20. package/docs/crawl/core/components/ui/card/card.html +122 -12
  21. package/docs/crawl/core/components/ui/divider/divider.html +117 -31
  22. package/docs/crawl/core/components/ui/form/fieldset/fieldset.html +232 -101
  23. package/docs/crawl/core/components/ui/form/form-actions/form-actions.html +95 -52
  24. package/docs/crawl/core/components/ui/form/form-layout/form-layout.html +97 -38
  25. package/docs/crawl/core/components/ui/group/group.html +60 -38
  26. package/docs/crawl/core/components/ui/icon/icon.html +136 -47
  27. package/docs/crawl/core/components/ui/image/image.html +118 -6
  28. package/docs/crawl/core/components/ui/link/link.html +65 -7
  29. package/docs/crawl/core/components/ui/loader/loader.html +97 -23
  30. package/docs/crawl/core/components/ui/menu/menu.html +162 -90
  31. package/docs/crawl/core/components/ui/modal/modal.html +275 -50
  32. package/docs/crawl/core/components/ui/pop/pop.html +242 -124
  33. package/docs/crawl/core/components/ui/progress/progress.html +103 -30
  34. package/docs/crawl/core/components/ui/table/table.html +303 -171
  35. package/docs/crawl/core/components/ui/theme/theme.html +131 -0
  36. package/docs/crawl/core/components/ui/toast/toast.html +170 -59
  37. package/docs/crawl/core/components/ui/tooltip/tooltip.html +90 -29
  38. package/docs/crawl/docs/_decorators/ancestor-attribute.html +3 -2
  39. package/docs/crawl/docs/_getting-started/start.html +1 -1
  40. package/docs/crawl/docs/_getting-started/theming.html +311 -63
  41. package/docs/crawl/hubs/form-components.html +71 -49
  42. package/docs/crawl/index.html +7 -6
  43. package/docs/docs-mock-api-sw.js +2 -0
  44. package/docs/docs-mock-api-sw.js.map +2 -2
  45. package/docs/index.html +6 -4
  46. package/docs/llms-full.txt +1468 -405
  47. package/docs/llms.txt +23 -30
  48. package/docs/sitemap.xml +3 -0
  49. package/docs/src/core/components/ui/alert/alert.md +21 -2
  50. package/docs/src/core/components/ui/alert-messages/alert-messages.md +85 -0
  51. package/docs/src/core/components/ui/badge/badge.md +19 -6
  52. package/docs/src/core/components/ui/captcha/captcha.md +65 -6
  53. package/docs/src/core/components/ui/card/card.md +73 -10
  54. package/docs/src/core/components/ui/divider/divider.md +107 -13
  55. package/docs/src/core/components/ui/form/fieldset/fieldset.md +175 -99
  56. package/docs/src/core/components/ui/form/form-actions/form-actions.md +75 -52
  57. package/docs/src/core/components/ui/form/form-layout/form-layout.md +109 -34
  58. package/docs/src/core/components/ui/group/group.md +36 -36
  59. package/docs/src/core/components/ui/icon/icon.md +132 -43
  60. package/docs/src/core/components/ui/image/image.md +35 -3
  61. package/docs/src/core/components/ui/link/link.md +43 -5
  62. package/docs/src/core/components/ui/loader/loader.md +79 -22
  63. package/docs/src/core/components/ui/menu/menu.md +133 -92
  64. package/docs/src/core/components/ui/modal/modal.md +163 -47
  65. package/docs/src/core/components/ui/pop/pop.md +217 -123
  66. package/docs/src/core/components/ui/progress/progress.md +76 -30
  67. package/docs/src/core/components/ui/table/table.md +147 -171
  68. package/docs/src/core/components/ui/theme/theme.md +122 -0
  69. package/docs/src/core/components/ui/toast/toast.md +108 -58
  70. package/docs/src/core/components/ui/tooltip/tooltip.md +68 -26
  71. package/docs/src/docs/_decorators/ancestor-attribute.md +3 -2
  72. package/docs/src/docs/_getting-started/start.md +1 -1
  73. package/docs/src/docs/_getting-started/theming.md +223 -61
  74. package/docs/src/docs/search/docs-search.json +2504 -399
  75. package/docs/src/tsconfig.json +18 -0
  76. package/index.html +4 -2
  77. package/package.json +7 -1
  78. package/public/docs-mock-api-sw.js +2 -0
  79. package/public/docs-mock-api-sw.js.map +2 -2
  80. package/src/core/components/ui/_css/align.ts +1 -0
  81. package/src/core/components/ui/_css/type.ts +86 -8
  82. package/src/core/components/ui/_i18n/ui-aria-labels.ts +8 -0
  83. package/src/core/components/ui/alert/alert.md +21 -2
  84. package/src/core/components/ui/alert-messages/alert-messages.md +85 -0
  85. package/src/core/components/ui/badge/badge.md +19 -6
  86. package/src/core/components/ui/badge/badge.ts +8 -9
  87. package/src/core/components/ui/button/button.ts +5 -15
  88. package/src/core/components/ui/captcha/captcha.md +65 -6
  89. package/src/core/components/ui/card/card.md +73 -10
  90. package/src/core/components/ui/card/card.ts +24 -22
  91. package/src/core/components/ui/divider/divider.md +107 -13
  92. package/src/core/components/ui/divider/divider.ts +40 -33
  93. package/src/core/components/ui/form/fieldset/fieldset.md +175 -99
  94. package/src/core/components/ui/form/fieldset/fieldset.ts +15 -28
  95. package/src/core/components/ui/form/fieldset/legend.ts +13 -13
  96. package/src/core/components/ui/form/form-actions/form-actions.md +75 -52
  97. package/src/core/components/ui/form/form-actions/form-actions.ts +7 -5
  98. package/src/core/components/ui/form/form-layout/form-layout.md +109 -34
  99. package/src/core/components/ui/form/form-layout/form-layout.ts +27 -24
  100. package/src/core/components/ui/form/textarea/textarea.ts +4 -3
  101. package/src/core/components/ui/group/group.md +36 -36
  102. package/src/core/components/ui/group/group.ts +5 -10
  103. package/src/core/components/ui/icon/icon.md +132 -43
  104. package/src/core/components/ui/image/image.md +35 -3
  105. package/src/core/components/ui/link/link.md +43 -5
  106. package/src/core/components/ui/loader/loader.md +79 -22
  107. package/src/core/components/ui/loader/loader.ts +67 -27
  108. package/src/core/components/ui/loader/styles/fixed.ts +6 -11
  109. package/src/core/components/ui/menu/menu.md +133 -92
  110. package/src/core/components/ui/menu/menu.ts +53 -58
  111. package/src/core/components/ui/modal/modal.md +163 -47
  112. package/src/core/components/ui/modal/modal.ts +2 -4
  113. package/src/core/components/ui/pop/pop.md +217 -123
  114. package/src/core/components/ui/pop/pop.ts +0 -1
  115. package/src/core/components/ui/progress/progress.md +76 -30
  116. package/src/core/components/ui/progress/progress.ts +25 -56
  117. package/src/core/components/ui/table/table-caption.ts +2 -2
  118. package/src/core/components/ui/table/table-tbody.ts +3 -3
  119. package/src/core/components/ui/table/table-td.ts +23 -18
  120. package/src/core/components/ui/table/table-th.ts +8 -8
  121. package/src/core/components/ui/table/table-tr.ts +4 -4
  122. package/src/core/components/ui/table/table.md +147 -171
  123. package/src/core/components/ui/table/table.ts +20 -19
  124. package/src/core/components/ui/theme/theme-collection/auto.ts +15 -0
  125. package/src/core/components/ui/theme/theme-collection/core-variables.ts +8 -31
  126. package/src/core/components/ui/theme/theme-collection/dark.ts +1 -7
  127. package/src/core/components/ui/theme/theme-collection/light.ts +30 -26
  128. package/src/core/components/ui/theme/theme.md +122 -0
  129. package/src/core/components/ui/theme/theme.ts +30 -7
  130. package/src/core/components/ui/toast/toast-item.ts +6 -9
  131. package/src/core/components/ui/toast/toast.md +108 -58
  132. package/src/core/components/ui/toast/types.ts +1 -1
  133. package/src/core/components/ui/tooltip/tooltip.md +68 -26
  134. package/src/core/decorators/subscriber/ancestorAttribute.spec.ts +26 -0
  135. package/src/core/decorators/subscriber/ancestorAttribute.ts +3 -4
  136. package/src/core/utils/AncestorAttributeObserver.ts +183 -70
  137. package/src/docs/_decorators/ancestor-attribute.md +3 -2
  138. package/src/docs/_getting-started/start.md +1 -1
  139. package/src/docs/_getting-started/theming.md +223 -61
  140. package/src/docs/code.ts +125 -58
  141. package/src/docs/header/header.ts +62 -54
  142. package/src/docs/mock-api/router.ts +2 -0
  143. package/src/docs/navigation/navigation.ts +6 -3
  144. package/src/docs/search/docs-search.json +2504 -399
  145. package/src/docs/search/markdown-renderer.ts +6 -6
  146. package/src/docs/search/search.ts +4 -4
  147. package/src/docs/tailwind/css/tailwind.css +6 -5
  148. package/src/tsconfig.json +18 -0
  149. package/src/tsconfig.tsbuildinfo +1 -1
  150. package/tailwind.config.js +19 -0
  151. package/docs/assets/index--GpD7R7a.css +0 -1
@@ -3,9 +3,9 @@
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Form-layout — Concorde</title>
7
- <meta name="description" content="autocomplete=&quot;email&quot;">
8
- <meta name="keywords" content="Concorde, supersoniks, core/components/ui/form/form-layout/form-layout, form-layout, Form-layout, UI component, form, sonic-form-layout, web component">
6
+ <title>Form layout — Concorde</title>
7
+ <meta name="description" content="sonic-form-layout arranges slotted form controls in a responsive CSS grid with consistent vertical spacing. Pair sonic-input · sonic-select and sonic-input-autocomplete fields side by side when the ho">
8
+ <meta name="keywords" content="Concorde, supersoniks, core/components/ui/form/form-layout/form-layout, form-layout, Form layout, UI component, form, sonic-form-layout, web component, sonic-input, sonic-select, sonic-input-autocomplete, sonic-form-actions, sonic-fieldset, offsetWidth">
9
9
  <meta name="concorde-doc-id" content="core/components/ui/form/form-layout/form-layout">
10
10
  <link rel="canonical" href="https://concorde.supersoniks.org/crawl/core/components/ui/form/form-layout/form-layout.html">
11
11
  </head>
@@ -15,46 +15,105 @@
15
15
  </header>
16
16
  <main>
17
17
  <article>
18
- <p class="doc-lead" id="doc-summary"><strong>Concorde UI component — Form-layout</strong>. autocomplete=&quot;email&quot; <span>Doc ID: <code>core/components/ui/form/form-layout/form-layout</code>. Keywords: Concorde, supersoniks, core/components/ui/form/form-layout/form-layout, form-layout, Form-layout, UI component, form, sonic-form-layout, web component. URL: <a href="https://concorde.supersoniks.org/crawl/core/components/ui/form/form-layout/form-layout.html">https://concorde.supersoniks.org/crawl/core/components/ui/form/form-layout/form-layout.html</a>.</span></p>
19
- <h1 id="form-layout">Form-layout</h1>
18
+ <p class="doc-lead" id="doc-summary"><strong>Concorde UI component — Form layout</strong>. sonic-form-layout arranges slotted form controls in a responsive CSS grid with consistent vertical spacing. Pair sonic-input · sonic-select and sonic-input-autocomplete fields side by side when the ho <span>Doc ID: <code>core/components/ui/form/form-layout/form-layout</code>. Keywords: Concorde, supersoniks, core/components/ui/form/form-layout/form-layout, form-layout, Form layout, UI component, form, sonic-form-layout, web component, sonic-input, sonic-select, sonic-input-autocomplete, sonic-form-actions, sonic-fieldset, offsetWidth. URL: <a href="https://concorde.supersoniks.org/crawl/core/components/ui/form/form-layout/form-layout.html">https://concorde.supersoniks.org/crawl/core/components/ui/form/form-layout/form-layout.html</a>.</span></p>
19
+ <h1 id="form-layout">Form layout</h1>
20
+ <p><strong><code>sonic-form-layout</code></strong> arranges slotted form controls in a <strong>responsive CSS grid</strong> with consistent vertical spacing. Pair <strong><code>sonic-input</code></strong> · <strong><code>sonic-select</code></strong> and <strong><code>sonic-input-autocomplete</code></strong> fields side by side when the host is wider than <strong>440px</strong>; <strong>textareas</strong>, <strong>toggles</strong>, <strong>dividers</strong>, and <strong><code>sonic-form-actions</code></strong> span the full width. Wrap a <strong><code>form</code></strong> or <strong><code>sonic-fieldset</code></strong> body—no attributes are required.</p>
21
+ <h2 id="basic-example">Basic example</h2>
22
+ <p>Typical registration-style form: short fields flow in two columns on wide layouts; long or grouped blocks stay full width.</p>
20
23
  <pre><code>&lt;form&gt;
21
- &lt;sonic-form-layout&gt;
22
- &lt;sonic-input autocomplete=&quot;family-name&quot; label=&quot;Nom&quot; name=&quot;nom&quot;&gt;&lt;/sonic-input&gt;
23
- &lt;sonic-input autocomplete=&quot;given-name&quot; label=&quot;Prénom&quot; name=&quot;prenom&quot;&gt;&lt;/sonic-input&gt;
24
- &lt;sonic-select autocomplete=&quot;sex&quot; label=&quot;Sexe&quot; name=&quot;sexe&quot;&gt;
25
- &lt;option value=&quot;&quot; selected=&quot;selected&quot;&gt;- Sélectionner -&lt;/option&gt;
26
- &lt;option value=&quot;-&quot;&gt;Je préfère ne pas le dire&lt;/option&gt;
27
- &lt;option value=&quot;Homme&quot;&gt;Homme&lt;/option&gt;
28
- &lt;option value=&quot;Femme&quot;&gt;Femme&lt;/option&gt;
29
- &lt;/sonic-select&gt;
30
- &lt;sonic-input autocomplete=&quot;bday&quot; label=&quot;Date de naissance&quot; name=&quot;date_naissance&quot; type=&quot;date&quot;&gt;&lt;/sonic-input&gt;
31
- &lt;sonic-divider&gt;&lt;/sonic-divider&gt;
32
- &lt;sonic-input autocomplete=&quot;email&quot; label=&quot;e-mail&quot; name=&quot;email&quot; type=&quot;email&quot;&gt;&lt;/sonic-input&gt;
33
- &lt;sonic-input
34
- autocomplete=&quot;email&quot;
35
- label=&quot;Confirmer votre e-mail&quot;
36
- name=&quot;email_confirmation&quot;
37
- type=&quot;email&quot;
38
- &gt;&lt;/sonic-input&gt;
39
- &lt;sonic-input autocomplete=&quot;new-password&quot; label=&quot;Mot de passe&quot; name=&quot;password&quot; type=&quot;password&quot;&gt;&lt;/sonic-input&gt;
40
- &lt;sonic-input
41
- autocomplete=&quot;new-password&quot;
42
- label=&quot;Confirmer votre mot de passe&quot;
43
- name=&quot;password_confirmation&quot;
44
- type=&quot;password&quot;
45
- &gt;&lt;/sonic-input&gt;
46
- &lt;sonic-divider&gt;&lt;/sonic-divider&gt;
47
- &lt;sonic-textarea label=&quot;Message&quot; rows=&quot;5&quot;&gt;
48
- &lt;/sonic-textarea&gt;
49
- &lt;sonic-switch&gt;Activer une superbe option&lt;/sonic-switch&gt;
50
- &lt;sonic-checkbox&gt;Inscription à la newsletter&lt;/sonic-checkbox&gt;
51
- &lt;sonic-checkbox&gt;J&#39;ai lu et accepte les &lt;sonic-link href=&quot;#&quot; class=&quot;underline&quot;&gt;Conditions générales de ventes&lt;/sonic-link&gt;&lt;/sonic-checkbox&gt;
24
+ &lt;sonic-form-layout&gt;
25
+ &lt;sonic-input autocomplete=&quot;family-name&quot; label=&quot;Last name&quot; name=&quot;last_name&quot;&gt;&lt;/sonic-input&gt;
26
+ &lt;sonic-input autocomplete=&quot;given-name&quot; label=&quot;First name&quot; name=&quot;first_name&quot;&gt;&lt;/sonic-input&gt;
27
+ &lt;sonic-select autocomplete=&quot;sex&quot; label=&quot;Gender&quot; name=&quot;gender&quot;&gt;
28
+ &lt;option value=&quot;&quot; selected=&quot;selected&quot;&gt;— Select —&lt;/option&gt;
29
+ &lt;option value=&quot;prefer-not&quot;&gt;Prefer not to say&lt;/option&gt;
30
+ &lt;option value=&quot;male&quot;&gt;Male&lt;/option&gt;
31
+ &lt;option value=&quot;female&quot;&gt;Female&lt;/option&gt;
32
+ &lt;/sonic-select&gt;
33
+ &lt;sonic-input autocomplete=&quot;bday&quot; label=&quot;Date of birth&quot; name=&quot;birth_date&quot; type=&quot;date&quot;&gt;&lt;/sonic-input&gt;
34
+ &lt;sonic-divider&gt;&lt;/sonic-divider&gt;
35
+ &lt;sonic-input autocomplete=&quot;email&quot; label=&quot;Email&quot; name=&quot;email&quot; type=&quot;email&quot;&gt;&lt;/sonic-input&gt;
36
+ &lt;sonic-input
37
+ autocomplete=&quot;email&quot;
38
+ label=&quot;Confirm email&quot;
39
+ name=&quot;email_confirmation&quot;
40
+ type=&quot;email&quot;
41
+ &gt;&lt;/sonic-input&gt;
42
+ &lt;sonic-input autocomplete=&quot;new-password&quot; label=&quot;Password&quot; name=&quot;password&quot; type=&quot;password&quot;&gt;&lt;/sonic-input&gt;
43
+ &lt;sonic-input
44
+ autocomplete=&quot;new-password&quot;
45
+ label=&quot;Confirm password&quot;
46
+ name=&quot;password_confirmation&quot;
47
+ type=&quot;password&quot;
48
+ &gt;&lt;/sonic-input&gt;
49
+ &lt;sonic-divider&gt;&lt;/sonic-divider&gt;
50
+ &lt;sonic-textarea label=&quot;Message&quot; rows=&quot;5&quot;&gt;&lt;/sonic-textarea&gt;
51
+ &lt;sonic-switch&gt;Enable optional feature&lt;/sonic-switch&gt;
52
+ &lt;sonic-checkbox&gt;Subscribe to newsletter&lt;/sonic-checkbox&gt;
53
+ &lt;sonic-checkbox&gt;
54
+ I accept the
55
+ &lt;sonic-link href=&quot;#&quot; class=&quot;underline&quot;&gt;terms and conditions&lt;/sonic-link&gt;
56
+ &lt;/sonic-checkbox&gt;
57
+ &lt;sonic-form-actions&gt;
58
+ &lt;sonic-button type=&quot;success&quot;&gt;Submit&lt;/sonic-button&gt;
59
+ &lt;/sonic-form-actions&gt;
60
+ &lt;/sonic-form-layout&gt;
61
+ &lt;/form&gt;
62
+ </code></pre>
63
+ <h2 id="responsive-columns">Responsive columns</h2>
64
+ <p>When the host <strong><code>offsetWidth</code></strong> is <strong>greater than 440px</strong>, the grid uses <strong>two equal columns</strong> with slightly larger gap (<strong>1.75rem</strong>). Below that breakpoint, fields stack in a <strong>single column</strong> (<strong>1.5rem</strong> gap).</p>
65
+ <p>If the slot contains <strong>exactly one</strong> direct <strong><code>sonic-input</code></strong>, <strong><code>sonic-select</code></strong>, or <strong><code>sonic-input-autocomplete</code></strong>, the layout stays <strong>one column</strong> even above the breakpoint so a lone field does not sit in half an empty row.</p>
66
+ <pre><code>&lt;div class=&quot;grid gap-8 md:grid-cols-2 mb-6&quot;&gt;
67
+ &lt;div&gt;
68
+ &lt;sonic-form-layout style=&quot;max-width: 20rem&quot;&gt;
69
+ &lt;sonic-divider align=&quot;left&quot;&gt;Narrow host (single column)&lt;/sonic-divider&gt;
70
+ &lt;sonic-input label=&quot;Email&quot; name=&quot;email_narrow&quot; type=&quot;email&quot;&gt;&lt;/sonic-input&gt;
71
+ &lt;sonic-input label=&quot;Confirm email&quot; name=&quot;email_confirm_narrow&quot; type=&quot;email&quot;&gt;&lt;/sonic-input&gt;
72
+ &lt;/sonic-form-layout&gt;
73
+ &lt;/div&gt;
74
+ &lt;/div&gt;
75
+ &lt;div&gt;
76
+ &lt;sonic-form-layout&gt;
77
+ &lt;sonic-divider align=&quot;left&quot;&gt;Wide host (two columns for inputs)&lt;/sonic-divider&gt;
78
+ &lt;sonic-input label=&quot;Email&quot; name=&quot;email_wide&quot; type=&quot;email&quot;&gt;&lt;/sonic-input&gt;
79
+ &lt;sonic-input label=&quot;Confirm email&quot; name=&quot;email_confirm_wide&quot; type=&quot;email&quot;&gt;&lt;/sonic-input&gt;
80
+ &lt;/sonic-form-layout&gt;
81
+ &lt;/div&gt;
82
+ </code></pre>
83
+ <h2 id="full-width-slotted-blocks">Full-width slotted blocks</h2>
84
+ <p>Everything except <strong><code>sonic-input</code></strong>, <strong><code>sonic-select</code></strong>, <strong><code>sonic-input-autocomplete</code></strong>, and slotted elements with class <strong><code>form-item-container</code></strong> is assigned <strong><code>grid-column: 1 / -1</code></strong>. Use this for <strong><code>sonic-textarea</code></strong>, <strong><code>sonic-checkbox</code></strong>, <strong><code>sonic-switch</code></strong>, <strong><code>sonic-form-actions</code></strong>, <strong><code>sonic-divider</code></strong>, and similar blocks.</p>
85
+ <p>Slotted <strong><code>sonic-divider</code></strong> sets <strong><code>--sc-divider-my: 0</code></strong> so divider spacing matches the grid rhythm. Slotted <strong><code>sonic-submit</code></strong> uses <strong><code>display: contents</code></strong> so submit controls participate in the grid without an extra wrapper box.</p>
86
+ <pre><code>&lt;sonic-form-layout&gt;
87
+ &lt;sonic-input label=&quot;Subject&quot; name=&quot;subject&quot;&gt;&lt;/sonic-input&gt;
88
+ &lt;sonic-textarea label=&quot;Details&quot; rows=&quot;4&quot;&gt;&lt;/sonic-textarea&gt;
52
89
  &lt;sonic-form-actions&gt;
53
- &lt;sonic-button type=&quot;success&quot;&gt;Valider&lt;/sonic-button&gt;
90
+ &lt;sonic-button type=&quot;primary&quot;&gt;Send&lt;/sonic-button&gt;
54
91
  &lt;/sonic-form-actions&gt;
55
92
  &lt;/sonic-form-layout&gt;
56
- &lt;/form &gt;
57
93
  </code></pre>
94
+ <h2 id="custom-column-wrapper">Custom column wrapper</h2>
95
+ <p>Add class <strong><code>form-item-container</code></strong> on a slotted wrapper (for example a <strong><code>div</code></strong>) when a field is not a direct <strong><code>sonic-input</code></strong> / <strong><code>sonic-select</code></strong> / <strong><code>sonic-input-autocomplete</code></strong> but should still share the two-column flow with short inputs.</p>
96
+ <pre><code>&lt;sonic-form-layout&gt;
97
+ &lt;sonic-input label=&quot;City&quot; name=&quot;city&quot;&gt;&lt;/sonic-input&gt;
98
+ &lt;div class=&quot;form-item-container&quot;&gt;
99
+ &lt;sonic-input label=&quot;Postal code&quot; name=&quot;postal_code&quot;&gt;&lt;/sonic-input&gt;
100
+ &lt;/div&gt;
101
+ &lt;/sonic-form-layout&gt;
102
+ </code></pre>
103
+ <h2 id="api-reference">API reference</h2>
104
+ <p>No public attributes — layout follows slotted children and host width.</p>
105
+ <table>
106
+ <thead>
107
+ <tr>
108
+ <th>Slot</th>
109
+ <th>Description</th>
110
+ </tr>
111
+ </thead>
112
+ <tbody><tr>
113
+ <td><em>(default)</em></td>
114
+ <td>Form fields and blocks in visual order; column vs full-width rules apply per slotted tag or <strong><code>form-item-container</code></strong> class</td>
115
+ </tr>
116
+ </tbody></table>
58
117
 
59
118
  </article>
60
119
  </main>
@@ -4,8 +4,8 @@
4
4
  <meta charset="UTF-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>Group — Concorde</title>
7
- <meta name="description" content="Group: 😎 Standard ⭐ Premium 💎 Diamond">
8
- <meta name="keywords" content="Concorde, supersoniks, core/components/ui/group/group, group, Group, UI component, sonic-group, web component">
7
+ <meta name="description" content="sonic-group lays out slotted sonic-button · sonic-input and sonic-select controls in a single horizontal row with shared corner radius (first / middle / last items). Optional label and description fol">
8
+ <meta name="keywords" content="Concorde, supersoniks, core/components/ui/group/group, group, Group, UI component, sonic-group, web component, sonic-button, sonic-input, sonic-select, label, description, radio, name, formDataProvider">
9
9
  <meta name="concorde-doc-id" content="core/components/ui/group/group">
10
10
  <link rel="canonical" href="https://concorde.supersoniks.org/crawl/core/components/ui/group/group.html">
11
11
  </head>
@@ -15,9 +15,11 @@
15
15
  </header>
16
16
  <main>
17
17
  <article>
18
- <p class="doc-lead" id="doc-summary"><strong>Concorde UI component — Group</strong>. Group: 😎 Standard ⭐ Premium 💎 Diamond <span>Doc ID: <code>core/components/ui/group/group</code>. Keywords: Concorde, supersoniks, core/components/ui/group/group, group, Group, UI component, sonic-group, web component. URL: <a href="https://concorde.supersoniks.org/crawl/core/components/ui/group/group.html">https://concorde.supersoniks.org/crawl/core/components/ui/group/group.html</a>.</span></p>
18
+ <p class="doc-lead" id="doc-summary"><strong>Concorde UI component — Group</strong>. sonic-group lays out slotted sonic-button · sonic-input and sonic-select controls in a single horizontal row with shared corner radius (first / middle / last items). Optional label and description fol <span>Doc ID: <code>core/components/ui/group/group</code>. Keywords: Concorde, supersoniks, core/components/ui/group/group, group, Group, UI component, sonic-group, web component, sonic-button, sonic-input, sonic-select, label, description, radio, name, formDataProvider. URL: <a href="https://concorde.supersoniks.org/crawl/core/components/ui/group/group.html">https://concorde.supersoniks.org/crawl/core/components/ui/group/group.html</a>.</span></p>
19
19
  <h1 id="group">Group</h1>
20
+ <p><strong><code>sonic-group</code></strong> lays out slotted <strong><code>sonic-button</code></strong> · <strong><code>sonic-input</code></strong> and <strong><code>sonic-select</code></strong> controls in a single horizontal row with <strong>shared corner radius</strong> (first / middle / last items). Optional <strong><code>label</code></strong> and <strong><code>description</code></strong> follow form field styling. Use it for <strong>button groups</strong>, <strong>radio rows</strong>, or <strong>input + action</strong> toolbars.</p>
20
21
  <h2 id="radio-group">Radio group</h2>
22
+ <p>Pair with <strong><code>sonic-button</code></strong> <strong><code>radio</code></strong> and a shared <strong><code>name</code></strong>; ancestor <strong><code>formDataProvider</code></strong> stores the selected <strong><code>value</code></strong>.</p>
21
23
  <pre><code>&lt;sonic-group formDataProvider=&quot;subscriptionData&quot;&gt;
22
24
  &lt;sonic-button radio name=&quot;subscription&quot; value=&quot;standard&quot; type=&quot;default&quot;&gt;😎 Standard&lt;/sonic-button&gt;
23
25
  &lt;sonic-button radio checked name=&quot;subscription&quot; value=&quot;premium&quot; type=&quot;default&quot;&gt;⭐ Premium&lt;/sonic-button&gt;
@@ -25,56 +27,76 @@
25
27
  &lt;/sonic-group&gt;
26
28
  </code></pre>
27
29
  <h2 id="button-group">Button group</h2>
30
+ <p>Adjacent link or action buttons without merging into one control.</p>
28
31
  <pre><code>&lt;sonic-group&gt;
29
- &lt;sonic-button type=&quot;info&quot; target=&quot;_blank&quot; href=&quot;https://wwws.airfrance.fr/&quot;&gt;🗼Air France&lt;/sonic-button&gt;
32
+ &lt;sonic-button type=&quot;info&quot; target=&quot;_blank&quot; href=&quot;https://wwws.airfrance.fr/&quot;&gt;🗼 Air France&lt;/sonic-button&gt;
30
33
  &lt;sonic-button type=&quot;success&quot; target=&quot;_blank&quot; href=&quot;https://www.airtahitinui.com/&quot;&gt;🌴 Air Tahiti&lt;/sonic-button&gt;
31
34
  &lt;sonic-button type=&quot;danger&quot; target=&quot;_blank&quot; href=&quot;https://www.aircorsica.com/&quot;&gt;💣 Air Corsica&lt;/sonic-button&gt;
32
35
  &lt;/sonic-group&gt;
33
36
  </code></pre>
34
37
  <h2 id="input-actions-prefix">Input actions prefix</h2>
35
- <pre><code>&lt;div class=&quot;grid grid-cols-3 gap-3&quot;&gt;
36
- &lt;sonic-group&gt;
38
+ <p>Action control before the field. <strong><code>label</code></strong> or <strong><code>description</code></strong> on <strong><code>sonic-group</code></strong> annotate the row.</p>
39
+ <pre><code>&lt;sonic-group label=&quot;Label&quot; description=&quot;Description&quot;&gt;
37
40
  &lt;sonic-button type=&quot;info&quot; shape=&quot;square&quot;&gt;
38
- &lt;sonic-icon library=&quot;iconoir&quot; library=&quot;iconoir&quot; name=&quot;info-empty&quot;&gt;&lt;/sonic-icon&gt;
41
+ &lt;sonic-icon library=&quot;iconoir&quot; name=&quot;info-empty&quot;&gt;&lt;/sonic-icon&gt;
39
42
  &lt;/sonic-button&gt;
40
- &lt;sonic-input placeholder=&quot;placeholder&quot; &gt;&lt;/sonic-input&gt;
43
+ &lt;sonic-input&gt;&lt;/sonic-input&gt;
41
44
  &lt;/sonic-group&gt;
42
- &lt;sonic-group label=&quot;Label&quot;&gt;
43
- &lt;sonic-button type=&quot;info&quot; shape=&quot;square&quot;&gt;
44
- &lt;sonic-icon library=&quot;iconoir&quot; library=&quot;iconoir&quot; name=&quot;info-empty&quot;&gt;&lt;/sonic-icon&gt;
45
- &lt;/sonic-button&gt;
46
- &lt;sonic-input &gt;&lt;/sonic-input&gt;
47
- &lt;/sonic-group&gt;
48
- &lt;sonic-group description=&quot;Description&quot;&gt;
49
- &lt;sonic-button type=&quot;info&quot; shape=&quot;square&quot;&gt;
50
- &lt;sonic-icon library=&quot;iconoir&quot; library=&quot;iconoir&quot; name=&quot;info-empty&quot;&gt;&lt;/sonic-icon&gt;
51
- &lt;/sonic-button&gt;
52
- &lt;sonic-input &gt;&lt;/sonic-input&gt;
53
- &lt;/sonic-group&gt;
54
- &lt;/div&gt;
55
45
  </code></pre>
56
46
  <h2 id="input-actions-suffix">Input actions suffix</h2>
57
- <pre><code>&lt;div class=&quot;grid grid-cols-3 gap-3&quot;&gt;
58
- &lt;sonic-group&gt;
59
- &lt;sonic-input placeholder=&quot;placeholder&quot; &gt;&lt;/sonic-input&gt;
60
- &lt;sonic-button type=&quot;primary&quot; shape=&quot;square&quot;&gt;
61
- &lt;sonic-icon library=&quot;iconoir&quot; library=&quot;iconoir&quot; name=&quot;check&quot;&gt;&lt;/sonic-icon&gt;
62
- &lt;/sonic-button&gt;
63
- &lt;/sonic-group&gt;
64
- &lt;sonic-group label=&quot;Label&quot;&gt;
65
- &lt;sonic-input &gt;&lt;/sonic-input&gt;
66
- &lt;sonic-button type=&quot;primary&quot; shape=&quot;square&quot;&gt;
67
- &lt;sonic-icon library=&quot;iconoir&quot; library=&quot;iconoir&quot; name=&quot;check&quot;&gt;&lt;/sonic-icon&gt;
68
- &lt;/sonic-button&gt;
69
- &lt;/sonic-group&gt;
70
- &lt;sonic-group description=&quot;Description&quot;&gt;
71
- &lt;sonic-input &gt;&lt;/sonic-input&gt;
47
+ <p>Field first, action after (submit, validate, etc.).</p>
48
+ <pre><code>&lt;sonic-group label=&quot;Label&quot; description=&quot;Description&quot;&gt;
49
+ &lt;sonic-input&gt;&lt;/sonic-input&gt;
72
50
  &lt;sonic-button type=&quot;primary&quot; shape=&quot;square&quot;&gt;
73
- &lt;sonic-icon library=&quot;iconoir&quot; library=&quot;iconoir&quot; name=&quot;check&quot;&gt;&lt;/sonic-icon&gt;
51
+ &lt;sonic-icon library=&quot;iconoir&quot; name=&quot;check&quot;&gt;&lt;/sonic-icon&gt;
74
52
  &lt;/sonic-button&gt;
75
53
  &lt;/sonic-group&gt;
76
- &lt;/div&gt;
77
54
  </code></pre>
55
+ <h2 id="api-reference">API reference</h2>
56
+ <table>
57
+ <thead>
58
+ <tr>
59
+ <th>Attribute</th>
60
+ <th>Values</th>
61
+ <th>Description</th>
62
+ </tr>
63
+ </thead>
64
+ <tbody><tr>
65
+ <td><code>label</code></td>
66
+ <td>string (HTML)</td>
67
+ <td>Label above the row; <strong><code>slot=&quot;label&quot;</code></strong> overrides / extends</td>
68
+ </tr>
69
+ <tr>
70
+ <td><code>description</code></td>
71
+ <td>string (HTML)</td>
72
+ <td>Help text below the row; <strong><code>slot=&quot;description&quot;</code></strong> overrides / extends</td>
73
+ </tr>
74
+ <tr>
75
+ <td><code>alignItems</code></td>
76
+ <td>CSS align-items (default <code>center</code>)</td>
77
+ <td>Cross-axis alignment of the main flex row</td>
78
+ </tr>
79
+ </tbody></table>
80
+ <table>
81
+ <thead>
82
+ <tr>
83
+ <th>Slot</th>
84
+ <th>Description</th>
85
+ </tr>
86
+ </thead>
87
+ <tbody><tr>
88
+ <td><em>(default)</em></td>
89
+ <td><strong><code>sonic-button</code></strong> · <strong><code>sonic-input</code></strong> · <strong><code>sonic-select</code></strong> in visual order</td>
90
+ </tr>
91
+ <tr>
92
+ <td><code>label</code></td>
93
+ <td>Custom label markup</td>
94
+ </tr>
95
+ <tr>
96
+ <td><code>description</code></td>
97
+ <td>Custom description markup</td>
98
+ </tr>
99
+ </tbody></table>
78
100
 
79
101
  </article>
80
102
  </main>
@@ -4,8 +4,8 @@
4
4
  <meta charset="UTF-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>Icon — Concorde</title>
7
- <meta name="description" content="customIconDefaultPrefix=&quot;regular&quot;&gt;">
8
- <meta name="keywords" content="Concorde, supersoniks, core/components/ui/icon/icon, icon, Icon, UI component, sonic-icon, web component">
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
9
  <meta name="concorde-doc-id" content="core/components/ui/icon/icon">
10
10
  <link rel="canonical" href="https://concorde.supersoniks.org/crawl/core/components/ui/icon/icon.html">
11
11
  </head>
@@ -15,117 +15,206 @@
15
15
  </header>
16
16
  <main>
17
17
  <article>
18
- <p class="doc-lead" id="doc-summary"><strong>Concorde UI component — Icon</strong>. customIconDefaultPrefix=&quot;regular&quot;&gt; <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. 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>
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
19
  <h1 id="icon">Icon</h1>
20
- <h2 id="custom">Custom</h2>
21
- <p >Icons located in the following folder : <span class="text-info">/svg/$prefix/$name.svg<span></p>
22
-
23
-
24
-
25
- <pre><code>&lt;sonic-scope customIconLibraryPath=&quot;/svg/$prefix/$name.svg&quot;
26
- customIconDefaultPrefix=&quot;regular&quot;&gt;
27
- &lt;div class=&quot;grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-8&quot;&gt;
28
- &lt;div class=&quot;text-center&quot;&gt;
29
- &lt;sonic-icon library=&quot;custom&quot; prefix=&quot;regular&quot; name=&quot;plane&quot;&gt;&lt;/sonic-icon&gt;
30
- &lt;br&gt;
31
- &lt;div class=&quot;text-xs mt-1&quot;&gt;regular&lt;/div&gt;
32
- &lt;/div&gt;
33
- &lt;div class=&quot;text-center&quot;&gt;
34
- &lt;sonic-icon library=&quot;custom&quot; prefix=&quot;solid&quot; name=&quot;plane&quot;&gt;&lt;/sonic-icon&gt;
35
- &lt;br&gt;
36
- &lt;div class=&quot;text-xs mt-1&quot;&gt;solid&lt;/div&gt;
37
- &lt;/div&gt;
38
- &lt;div class=&quot;text-center&quot;&gt;
39
- &lt;sonic-icon library=&quot;custom&quot; name=&quot;plane&quot;&gt;&lt;/sonic-icon&gt;
40
- &lt;br&gt;
41
- &lt;div class=&quot;text-xs mt-1&quot;&gt;default prefix&lt;/div&gt;
42
- &lt;/div&gt;
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;
43
27
  &lt;/div&gt;
44
- &lt;/sonic-scope&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;
45
69
  </code></pre>
46
- <h2 id="external">External</h2>
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>
47
72
  <pre><code>&lt;div class=&quot;grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-8&quot;&gt;
48
73
  &lt;sonic-link href=&quot;https://heroicons.com/&quot; target=&quot;_blank&quot; class=&quot;text-center underline&quot;&gt;
49
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;
50
- &lt;br&gt;
75
+ &lt;br /&gt;
51
76
  &lt;div class=&quot;text-xs mt-1&quot;&gt;heroicons&lt;/div&gt;
52
77
  &lt;/sonic-link&gt;
53
78
  &lt;sonic-link href=&quot;https://iconoir.com/&quot; target=&quot;_blank&quot; class=&quot;text-center underline&quot;&gt;
54
- &lt;sonic-icon library=&quot;iconoir&quot; name=&quot;2x2-cell&quot; size=&quot;lg&quot;&gt;&lt;/sonic-icon&gt;
55
- &lt;br&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;
56
81
  &lt;div class=&quot;text-xs mt-1&quot;&gt;iconoir&lt;/div&gt;
57
82
  &lt;/sonic-link&gt;
58
83
  &lt;sonic-link href=&quot;https://materialdesignicons.com/&quot; target=&quot;_blank&quot; class=&quot;text-center underline&quot;&gt;
59
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;
60
- &lt;br&gt;
85
+ &lt;br /&gt;
61
86
  &lt;div class=&quot;text-xs mt-1&quot;&gt;material design&lt;/div&gt;
62
87
  &lt;/sonic-link&gt;
63
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;
64
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;
65
- &lt;br&gt;
90
+ &lt;br /&gt;
66
91
  &lt;div class=&quot;text-xs mt-1&quot;&gt;fontAwesome regular&lt;/div&gt;
67
92
  &lt;/sonic-link&gt;
68
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;
69
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;
70
- &lt;br&gt;
95
+ &lt;br /&gt;
71
96
  &lt;div class=&quot;text-xs mt-1&quot;&gt;fontAwesome solid&lt;/div&gt;
72
97
  &lt;/sonic-link&gt;
73
98
  &lt;sonic-link href=&quot;https://feathericons.com/&quot; target=&quot;_blank&quot; class=&quot;text-center underline&quot;&gt;
74
- &lt;sonic-icon library=&quot;feathers&quot; name=&quot;activity&quot; size=&quot;lg&quot;&gt;&lt;/sonic-icon&gt;
75
- &lt;br&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;
76
101
  &lt;div class=&quot;text-xs mt-1&quot;&gt;feathers&lt;/div&gt;
77
102
  &lt;/sonic-link&gt;
78
103
  &lt;sonic-link href=&quot;https://lucide.dev/&quot; target=&quot;_blank&quot; class=&quot;text-center underline&quot;&gt;
79
- &lt;sonic-icon library=&quot;lucide&quot; name=&quot;album&quot; size=&quot;lg&quot;&gt;&lt;/sonic-icon&gt;
80
- &lt;br&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;
81
106
  &lt;div class=&quot;text-xs mt-1&quot;&gt;lucide&lt;/div&gt;
82
107
  &lt;/sonic-link&gt;
83
108
  &lt;/div&gt;
84
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>
85
135
  <h2 id="size">Size</h2>
86
- <pre><code>&lt;div class=&quot;grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-8&quot;&gt;
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;
87
138
  &lt;div class=&quot;text-center&quot;&gt;
88
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;
89
- &lt;br&gt;
140
+ &lt;br /&gt;
90
141
  &lt;div class=&quot;text-xs mt-1&quot;&gt;2xs&lt;/div&gt;
91
142
  &lt;/div&gt;
92
143
  &lt;div class=&quot;text-center&quot;&gt;
93
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;
94
- &lt;br&gt;
145
+ &lt;br /&gt;
95
146
  &lt;div class=&quot;text-xs mt-1&quot;&gt;xs&lt;/div&gt;
96
147
  &lt;/div&gt;
97
148
  &lt;div class=&quot;text-center&quot;&gt;
98
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;
99
- &lt;br&gt;
150
+ &lt;br /&gt;
100
151
  &lt;div class=&quot;text-xs mt-1&quot;&gt;sm&lt;/div&gt;
101
152
  &lt;/div&gt;
102
153
  &lt;div class=&quot;text-center&quot;&gt;
103
154
  &lt;sonic-icon library=&quot;heroicons&quot; prefix=&quot;outline&quot; name=&quot;academic-cap&quot;&gt;&lt;/sonic-icon&gt;
104
- &lt;br&gt;
155
+ &lt;br /&gt;
105
156
  &lt;div class=&quot;text-xs mt-1&quot;&gt;default&lt;/div&gt;
106
157
  &lt;/div&gt;
107
158
  &lt;div class=&quot;text-center&quot;&gt;
108
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;
109
- &lt;br&gt;
160
+ &lt;br /&gt;
110
161
  &lt;div class=&quot;text-xs mt-1&quot;&gt;lg&lt;/div&gt;
111
162
  &lt;/div&gt;
112
163
  &lt;div class=&quot;text-center&quot;&gt;
113
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;
114
- &lt;br&gt;
165
+ &lt;br /&gt;
115
166
  &lt;div class=&quot;text-xs mt-1&quot;&gt;xl&lt;/div&gt;
116
167
  &lt;/div&gt;
117
168
  &lt;div class=&quot;text-center&quot;&gt;
118
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;
119
- &lt;br&gt;
170
+ &lt;br /&gt;
120
171
  &lt;div class=&quot;text-xs mt-1&quot;&gt;2xl&lt;/div&gt;
121
172
  &lt;/div&gt;
122
173
  &lt;div class=&quot;text-center&quot;&gt;
123
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;
124
- &lt;br&gt;
175
+ &lt;br /&gt;
125
176
  &lt;div class=&quot;text-xs mt-1&quot;&gt;3xl&lt;/div&gt;
126
177
  &lt;/div&gt;
127
178
  &lt;/div&gt;
128
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>
129
218
 
130
219
  </article>
131
220
  </main>