@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
@@ -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>Fieldset — Concorde</title>
7
- <meta name="description" content="Default">
8
- <meta name="keywords" content="Concorde, supersoniks, core/components/ui/form/fieldset/fieldset, fieldset, Fieldset, UI component, form, sonic-fieldset, web component">
7
+ <meta name="description" content="sonic-fieldset groups related form controls with a bordered container and an accessible &lt;fieldset&gt; semantics layer. Put fields in the default slot; add a title with sonic-legend or the shorthand label">
8
+ <meta name="keywords" content="Concorde, supersoniks, core/components/ui/form/fieldset/fieldset, fieldset, Fieldset, UI component, form, sonic-fieldset, web component, , sonic-legend, label, description, iconName, variant, default, sonic-form-layout, ghost">
9
9
  <meta name="concorde-doc-id" content="core/components/ui/form/fieldset/fieldset">
10
10
  <link rel="canonical" href="https://concorde.supersoniks.org/crawl/core/components/ui/form/fieldset/fieldset.html">
11
11
  </head>
@@ -15,119 +15,250 @@
15
15
  </header>
16
16
  <main>
17
17
  <article>
18
- <p class="doc-lead" id="doc-summary"><strong>Concorde UI component — Fieldset</strong>. Default <span>Doc ID: <code>core/components/ui/form/fieldset/fieldset</code>. Keywords: Concorde, supersoniks, core/components/ui/form/fieldset/fieldset, fieldset, Fieldset, UI component, form, sonic-fieldset, web component. URL: <a href="https://concorde.supersoniks.org/crawl/core/components/ui/form/fieldset/fieldset.html">https://concorde.supersoniks.org/crawl/core/components/ui/form/fieldset/fieldset.html</a>.</span></p>
18
+ <p class="doc-lead" id="doc-summary"><strong>Concorde UI component — Fieldset</strong>. sonic-fieldset groups related form controls with a bordered container and an accessible &lt;fieldset&gt; semantics layer. Put fields in the default slot; add a title with sonic-legend or the shorthand label <span>Doc ID: <code>core/components/ui/form/fieldset/fieldset</code>. Keywords: Concorde, supersoniks, core/components/ui/form/fieldset/fieldset, fieldset, Fieldset, UI component, form, sonic-fieldset, web component, , sonic-legend, label, description, iconName, variant, default, sonic-form-layout, ghost. URL: <a href="https://concorde.supersoniks.org/crawl/core/components/ui/form/fieldset/fieldset.html">https://concorde.supersoniks.org/crawl/core/components/ui/form/fieldset/fieldset.html</a>.</span></p>
19
19
  <h1 id="fieldset">Fieldset</h1>
20
- <h2 id="variant">Variant</h2>
21
- <pre><code>&lt;sonic-fieldset variant=&quot;default&quot; &gt;
22
- Default
23
- &lt;/sonic-fieldset&gt;
24
- &lt;sonic-fieldset variant=&quot;ghost&quot; &gt;
25
- Ghost
20
+ <p><strong><code>sonic-fieldset</code></strong> groups related form controls with a bordered container and an accessible <strong><code>&lt;fieldset&gt;</code></strong> semantics layer. Put fields in the <strong>default slot</strong>; add a title with <strong><code>sonic-legend</code></strong> or the shorthand <strong><code>label</code></strong> / <strong><code>description</code></strong> / <strong><code>iconName</code></strong> attributes. Default <strong><code>variant</code></strong> is <code>default</code>. Pair the body with <strong><code>sonic-form-layout</code></strong> for responsive columns.</p>
21
+ <h2 id="basic-example">Basic example</h2>
22
+ <pre><code>&lt;sonic-fieldset&gt;
23
+ &lt;sonic-legend label=&quot;Contact details&quot;&gt;&lt;/sonic-legend&gt;
24
+ &lt;sonic-form-layout&gt;
25
+ &lt;sonic-input autocomplete=&quot;email&quot; label=&quot;Email&quot; name=&quot;email&quot; type=&quot;email&quot;&gt;&lt;/sonic-input&gt;
26
+ &lt;sonic-input autocomplete=&quot;tel&quot; label=&quot;Phone&quot; name=&quot;phone&quot; type=&quot;tel&quot;&gt;&lt;/sonic-input&gt;
27
+ &lt;/sonic-form-layout&gt;
26
28
  &lt;/sonic-fieldset&gt;
27
- &lt;sonic-fieldset variant=&quot;shadow&quot; &gt;
28
- Shadow
29
+ </code></pre>
30
+ <h2 id="variant">Variant</h2>
31
+ <p><strong><code>ghost</code></strong> and <strong><code>shadow</code></strong> use a transparent border; <strong><code>shadow</code></strong> also applies <strong><code>--sc-shadow-lg</code></strong>.</p>
32
+ <pre><code>&lt;div class=&quot;grid gap-4&quot;&gt;
33
+ &lt;sonic-fieldset variant=&quot;default&quot;&gt;
34
+ &lt;sonic-legend label=&quot;Default&quot;&gt;&lt;/sonic-legend&gt;
35
+ &lt;sonic-input label=&quot;Field&quot; name=&quot;a&quot;&gt;&lt;/sonic-input&gt;
36
+ &lt;/sonic-fieldset&gt;
37
+ &lt;sonic-fieldset variant=&quot;ghost&quot;&gt;
38
+ &lt;sonic-legend label=&quot;Ghost&quot;&gt;&lt;/sonic-legend&gt;
39
+ &lt;sonic-input label=&quot;Field&quot; name=&quot;b&quot;&gt;&lt;/sonic-input&gt;
40
+ &lt;/sonic-fieldset&gt;
41
+ &lt;sonic-fieldset variant=&quot;shadow&quot;&gt;
42
+ &lt;sonic-legend label=&quot;Shadow&quot;&gt;&lt;/sonic-legend&gt;
43
+ &lt;sonic-input label=&quot;Field&quot; name=&quot;c&quot;&gt;&lt;/sonic-input&gt;
44
+ &lt;/sonic-fieldset&gt;
45
+ &lt;/div&gt;
46
+ </code></pre>
47
+ <h2 id="tight-layout">Tight layout</h2>
48
+ <p>Set <strong><code>tight</code></strong> to remove horizontal padding and side borders (flat strip inside a parent).</p>
49
+ <pre><code>&lt;sonic-fieldset tight variant=&quot;ghost&quot;&gt;
50
+ &lt;sonic-legend label=&quot;Tight fieldset&quot;&gt;&lt;/sonic-legend&gt;
51
+ &lt;sonic-input label=&quot;Field&quot; name=&quot;tight&quot;&gt;&lt;/sonic-input&gt;
29
52
  &lt;/sonic-fieldset&gt;
30
53
  </code></pre>
31
54
  <h2 id="legend">Legend</h2>
32
- <pre><code>&lt;sonic-fieldset&gt;
33
- &lt;sonic-legend label=&quot;Legend via attribut : label&quot; description=&quot;Description via attribut : description&quot;&gt;
34
- &lt;/sonic-legend&gt;
35
- &lt;/sonic-fieldset&gt;
36
- &lt;sonic-fieldset&gt;
37
- &lt;sonic-legend iconLibrary=&quot;iconoir&quot; iconName=&quot;pin-alt&quot;&gt;
38
- Custom legend via &lt;b&gt;slot&lt;/b&gt;
39
- &lt;sonic-legend-description&gt;
40
- Description via composant : sonic-legend-description
41
- &lt;/sonic-legend-description&gt;
42
- &lt;/sonic-legend&gt;
43
- &lt;/sonic-fieldset&gt;
55
+ <p>Use <strong><code>sonic-legend</code></strong> for the group title. Set <strong><code>label</code></strong> and <strong><code>description</code></strong> for simple copy, or use the <strong>default slot</strong> for custom markup. Add secondary text with <strong><code>sonic-legend-description</code></strong>. Place actions in <strong><code>slot=&quot;suffix&quot;</code></strong> on the legend.</p>
56
+ <p>Attribute values on <strong><code>sonic-legend</code></strong> are rendered as HTML—use only trusted content.</p>
57
+ <pre><code>&lt;div class=&quot;grid gap-4&quot;&gt;
58
+ &lt;sonic-fieldset&gt;
59
+ &lt;sonic-legend label=&quot;Attributes&quot; description=&quot;Short description via attributes&quot;&gt;&lt;/sonic-legend&gt;
60
+ &lt;sonic-input label=&quot;Field&quot; name=&quot;attr&quot;&gt;&lt;/sonic-input&gt;
61
+ &lt;/sonic-fieldset&gt;
62
+ &lt;sonic-fieldset&gt;
63
+ &lt;sonic-legend iconLibrary=&quot;iconoir&quot; iconName=&quot;pin-alt&quot;&gt;
64
+ Custom title in the default slot
65
+ &lt;sonic-legend-description&gt;Description via sonic-legend-description&lt;/sonic-legend-description&gt;
66
+ &lt;/sonic-legend&gt;
67
+ &lt;sonic-input label=&quot;Field&quot; name=&quot;slot&quot;&gt;&lt;/sonic-input&gt;
68
+ &lt;/sonic-fieldset&gt;
69
+ &lt;/div&gt;
44
70
  </code></pre>
45
- <h2 id="short-hand">Short hand</h2>
71
+ <h2 id="shorthand-legend-on-the-fieldset">Shorthand legend on the fieldset</h2>
72
+ <p>When <strong><code>label</code></strong> is set on <strong><code>sonic-fieldset</code></strong>, the component renders <strong><code>sonic-legend</code></strong> for you. Pass <strong><code>description</code></strong> <strong><code>iconName</code></strong> <strong><code>iconLibrary</code></strong> and <strong><code>iconPrefix</code></strong> the same way. Do not combine shorthand <strong><code>label</code></strong> with a separate slotted <strong><code>sonic-legend</code></strong>—you will get two legends.</p>
46
73
  <pre><code>&lt;sonic-fieldset
47
- label=&quot;All props on fieldset tag&quot;
48
- description=&quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit&quot;
49
- iconLibrary=&quot;iconoir&quot;
50
- iconName=&quot;user&quot;&gt;
51
- &lt;/sonic-fieldset&gt;
74
+ label=&quot;Account&quot;
75
+ description=&quot;Basic profile fields&quot;
76
+ iconLibrary=&quot;iconoir&quot;
77
+ iconName=&quot;user&quot;
78
+ &gt;
79
+ &lt;sonic-input label=&quot;Display name&quot; name=&quot;display_name&quot;&gt;&lt;/sonic-input&gt;
80
+ &lt;/sonic-fieldset&gt;
52
81
  </code></pre>
53
- <h2 id="example-of-use">Example of use</h2>
54
- <pre><code>&lt;sonic-div formDataProvider=&quot;user_create&quot;&gt;
55
- &lt;form action=&quot;/inscription?lang=fr&quot; method=&quot;POST&quot; class=&quot;mb-20&quot; accept-charset=&quot;UTF-8&quot; id=&quot;youpla&quot;&gt;
56
- &lt;sonic-fieldset form=&quot;formid&quot; collapsible=&quot;true&quot; collapsed=&quot;false&quot;&gt;
57
- &lt;sonic-legend iconLibrary=&quot;iconoir&quot; iconName=&quot;user&quot;&gt;
58
- Informations personnelles
59
- &lt;span slot=&quot;description&quot;&gt;Description du fieldset lorem ipsum dolor&lt;/span&gt;
60
- &lt;sonic-pop class=&quot;inline-block&quot; slot=&quot;suffix&quot;&gt;
61
- &lt;sonic-button shape=&quot;circle&quot; variant=&quot;ghost&quot;&gt;
62
- &lt;sonic-icon library=&quot;iconoir&quot; size=&quot;lg&quot; name=&quot;more-vert&quot;&gt;&lt;/sonic-icon
63
- &gt;&lt;/sonic-button&gt;
64
- &lt;sonic-menu slot=&quot;content&quot; minWidth=&quot;12rem&quot;&gt;
65
- &lt;sonic-menu-item&gt;Mentions légales&lt;/sonic-menu-item&gt;
66
- &lt;sonic-menu-item&gt;Conditions générales d&#39;utilisation&lt;/sonic-menu-item&gt;
67
- &lt;/sonic-menu&gt;
68
- &lt;/sonic-pop&gt;
69
- &lt;/sonic-legend&gt;
82
+ <h2 id="legend-actions">Legend actions</h2>
83
+ <p>Use <strong><code>slot=&quot;suffix&quot;</code></strong> on <strong><code>sonic-legend</code></strong> for menus or icon buttons aligned to the end of the legend row.</p>
84
+ <pre><code>&lt;sonic-fieldset&gt;
85
+ &lt;sonic-legend label=&quot;Personal information&quot;&gt;
86
+ &lt;sonic-pop class=&quot;inline-block&quot; slot=&quot;suffix&quot;&gt;
87
+ &lt;sonic-button shape=&quot;circle&quot; variant=&quot;ghost&quot;&gt;
88
+ &lt;sonic-icon library=&quot;iconoir&quot; size=&quot;lg&quot; name=&quot;more-vert&quot;&gt;&lt;/sonic-icon&gt;
89
+ &lt;/sonic-button&gt;
90
+ &lt;sonic-menu slot=&quot;content&quot; minWidth=&quot;12rem&quot;&gt;
91
+ &lt;sonic-menu-item&gt;Legal notice&lt;/sonic-menu-item&gt;
92
+ &lt;sonic-menu-item&gt;Terms of use&lt;/sonic-menu-item&gt;
93
+ &lt;/sonic-menu&gt;
94
+ &lt;/sonic-pop&gt;
95
+ &lt;/sonic-legend&gt;
96
+ &lt;sonic-form-layout&gt;
97
+ &lt;sonic-input autocomplete=&quot;family-name&quot; label=&quot;Last name&quot; name=&quot;last_name&quot;&gt;&lt;/sonic-input&gt;
98
+ &lt;sonic-input autocomplete=&quot;given-name&quot; label=&quot;First name&quot; name=&quot;first_name&quot;&gt;&lt;/sonic-input&gt;
99
+ &lt;/sonic-form-layout&gt;
100
+ &lt;/sonic-fieldset&gt;
101
+ </code></pre>
102
+ <h2 id="form-association-and-disabled-state">Form association and disabled state</h2>
103
+ <h3 id="associating-a-distant-form">Associating a distant <code>form</code></h3>
104
+ <p>Set <strong><code>form</code></strong> on <strong><code>sonic-fieldset</code></strong> to the <strong><code>id</code></strong> of a <strong><code>&lt;form&gt;</code></strong> elsewhere in the page (same as the native <strong><code>form</code></strong> attribute on <strong><code>&lt;fieldset&gt;</code></strong>). Named fields in the fieldset then belong to that form for submit and constraint validation—for example a toolbar <strong><code>form</code></strong> and a field group rendered lower on the layout.</p>
105
+ <pre><code>&lt;div class=&quot;grid gap-4&quot;&gt;
106
+ &lt;form id=&quot;billing-form&quot; class=&quot;flex flex-wrap items-center gap-2&quot;&gt;
107
+ &lt;sonic-button submit type=&quot;primary&quot;&gt;Save billing&lt;/sonic-button&gt;
108
+ &lt;/form&gt;
109
+ &lt;sonic-fieldset form=&quot;billing-form&quot; label=&quot;Billing address&quot;&gt;
70
110
  &lt;sonic-form-layout&gt;
71
- &lt;sonic-input autocomplete=&quot;family-name&quot; label=&quot;Nom&quot; name=&quot;nom&quot;&gt;&lt;/sonic-input&gt;
72
- &lt;sonic-input autocomplete=&quot;given-name&quot; label=&quot;Prénom&quot; name=&quot;prenom&quot;&gt;&lt;/sonic-input&gt;
73
- &lt;sonic-select autocomplete=&quot;sex&quot; label=&quot;Sexe&quot; name=&quot;sexe&quot;&gt;
74
- &lt;option value=&quot;&quot; selected=&quot;selected&quot;&gt;- Sélectionner -&lt;/option&gt;
75
- &lt;option value=&quot;-&quot;&gt;Je préfère ne pas le dire&lt;/option&gt;
76
- &lt;option value=&quot;Homme&quot;&gt;Homme&lt;/option&gt;
77
- &lt;option value=&quot;Femme&quot;&gt;Femme&lt;/option&gt;
78
- &lt;/sonic-select&gt;
79
- &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;
80
- &lt;sonic-divider&gt;&lt;/sonic-divider&gt;
81
- &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;
82
- &lt;sonic-input
83
- autocomplete=&quot;email&quot;
84
- label=&quot;Confirmer votre e-mail&quot;
85
- name=&quot;email_confirmation&quot;
86
- type=&quot;email&quot;
87
- &gt;&lt;/sonic-input&gt;
88
- &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;
89
- &lt;sonic-input
90
- autocomplete=&quot;new-password&quot;
91
- label=&quot;Confirmer votre mot de passe&quot;
92
- name=&quot;password_confirmation&quot;
93
- type=&quot;password&quot;
94
- &gt;&lt;/sonic-input&gt;
111
+ &lt;sonic-input label=&quot;Street&quot; name=&quot;street&quot; autocomplete=&quot;street-address&quot;&gt;&lt;/sonic-input&gt;
112
+ &lt;sonic-input label=&quot;Postal code&quot; required name=&quot;postal_code&quot; autocomplete=&quot;postal-code&quot;&gt;&lt;/sonic-input&gt;
113
+ &lt;sonic-input label=&quot;City&quot; name=&quot;city&quot; autocomplete=&quot;address-level2&quot;&gt;&lt;/sonic-input&gt;
95
114
  &lt;/sonic-form-layout&gt;
96
115
  &lt;/sonic-fieldset&gt;
97
- &lt;sonic-fieldset form=&quot;formid&quot; collapsible=&quot;true&quot; collapsed=&quot;false&quot;&gt;
98
- &lt;sonic-legend iconLibrary=&quot;iconoir&quot; iconName=&quot;pin-alt&quot;&gt; Coordonnées &lt;/sonic-legend&gt;
99
- &lt;sonic-form-layout&gt;
100
- &lt;sonic-input autocomplete=&quot;postal-code&quot; label=&quot;Code postal&quot; name=&quot;cp&quot;&gt;&lt;/sonic-input&gt;
101
- &lt;sonic-input autocomplete=&quot;address-level2&quot; label=&quot;Ville&quot; name=&quot;ville&quot;&gt;&lt;/sonic-input&gt;
102
- &lt;/sonic-form-layout&gt;
116
+ &lt;/div&gt;
117
+ </code></pre>
118
+ <h3 id="disabling-a-group">Disabling a group</h3>
119
+ <p>Set <strong><code>disabled</code></strong> on <strong><code>sonic-fieldset</code></strong> to disable the inner <strong><code>&lt;fieldset&gt;</code></strong> and every control in the group (same as a native fieldset). Use it for read-only steps or sections gated by permissions.</p>
120
+ <pre><code>&lt;div class=&quot;grid gap-4&quot;&gt;
121
+ &lt;sonic-fieldset label=&quot;Editable&quot;&gt;
122
+ &lt;sonic-input label=&quot;Display name&quot; name=&quot;display_name&quot;&gt;&lt;/sonic-input&gt;
123
+ &lt;/sonic-fieldset&gt;
124
+ &lt;sonic-fieldset label=&quot;Locked&quot; disabled&gt;
125
+ &lt;sonic-input label=&quot;Account ID&quot; name=&quot;account_id&quot; value=&quot;acct_42&quot;&gt;&lt;/sonic-input&gt;
103
126
  &lt;/sonic-fieldset&gt;
104
- &lt;div class=&quot;&quot;&gt;
105
- &lt;sonic-button submit type=&quot;primary&quot;&gt;
106
- &lt;sonic-icon library=&quot;iconoir&quot; name=&quot;check&quot;&gt;&lt;/sonic-icon&gt;
107
- S&#39;inscrire
108
- &lt;/sonic-button&gt;
109
- &lt;sonic-tooltip class=&quot;inline-flex&quot; label=&quot;Vous êtes sûr(e) ? 🙄&quot;&gt;
110
- &lt;sonic-button size=&quot;sm&quot; variant=&quot;ghost&quot;&gt; Continuer sans m&#39;inscrire &lt;/sonic-button&gt;
111
- &lt;/sonic-tooltip&gt;
112
- &lt;/div&gt;
113
- &lt;/form&gt;
114
- &lt;div dataProvider=&quot;user_create&quot; class=&quot;my-6 text-neutral-600 p-5 rounded-xl shadow-lg&quot;&gt;
115
- &lt;div class=&quot;font-bold text-lg text-neutral-400&quot;&gt;Submitted informations...&lt;/div&gt;
116
- &lt;div class=&quot;text-lg my-2&quot;&gt;
117
- &lt;sonic-value key=&quot;nom&quot; class=&quot;font-bold&quot;&gt;&lt;/sonic-value&gt;
118
- &lt;sonic-value key=&quot;prenom&quot;&gt;&lt;/sonic-value&gt;
119
- &lt;/div&gt;
120
- &lt;div class=&quot;text-sm&quot;&gt;
121
- &lt;sonic-value key=&quot;sexe&quot;&gt;&lt;/sonic-value&gt;
122
- &lt;sonic-value key=&quot;date_naissance&quot;&gt;&lt;/sonic-value&gt;
123
- &lt;/div&gt;
124
- &lt;div class=&quot;text-sm&quot;&gt;
125
- &lt;sonic-value key=&quot;email&quot;&gt;&lt;/sonic-value&gt;
126
- &lt;sonic-value key=&quot;cp&quot;&gt;&lt;/sonic-value&gt;
127
- &lt;sonic-value key=&quot;ville&quot;&gt;&lt;/sonic-value&gt;&lt;/div&gt;
128
127
  &lt;/div&gt;
129
- &lt;/sonic-div&gt;
130
128
  </code></pre>
129
+ <h2 id="accessibility">Accessibility</h2>
130
+ <p>The inner <strong><code>&lt;fieldset&gt;</code></strong> carries grouping semantics. <strong><code>disabled</code></strong> is applied on that element so nested controls are disabled in the usual way. <strong><code>sonic-legend</code></strong> renders a native <strong><code>&lt;legend&gt;</code></strong> for the group label.</p>
131
+ <h2 id="api-reference">API reference</h2>
132
+ <h3 id="sonic-fieldset"><code>sonic-fieldset</code></h3>
133
+ <table>
134
+ <thead>
135
+ <tr>
136
+ <th>Attribute</th>
137
+ <th>Values</th>
138
+ <th>Description</th>
139
+ </tr>
140
+ </thead>
141
+ <tbody><tr>
142
+ <td><code>variant</code></td>
143
+ <td><code>default</code> · <code>ghost</code> · <code>shadow</code> (default <code>default</code>)</td>
144
+ <td>Border and shadow treatment</td>
145
+ </tr>
146
+ <tr>
147
+ <td><code>tight</code></td>
148
+ <td>boolean</td>
149
+ <td>Removes horizontal padding and side borders</td>
150
+ </tr>
151
+ <tr>
152
+ <td><code>label</code></td>
153
+ <td>string</td>
154
+ <td>Shorthand legend title; renders <strong><code>sonic-legend</code></strong> when set</td>
155
+ </tr>
156
+ <tr>
157
+ <td><code>description</code></td>
158
+ <td>string</td>
159
+ <td>Shorthand legend description (HTML)</td>
160
+ </tr>
161
+ <tr>
162
+ <td><code>iconName</code></td>
163
+ <td>string</td>
164
+ <td>Shorthand legend icon <strong><code>name</code></strong></td>
165
+ </tr>
166
+ <tr>
167
+ <td><code>iconLibrary</code></td>
168
+ <td>string</td>
169
+ <td>Shorthand legend icon <strong><code>library</code></strong></td>
170
+ </tr>
171
+ <tr>
172
+ <td><code>iconPrefix</code></td>
173
+ <td>string</td>
174
+ <td>Shorthand legend icon <strong><code>prefix</code></strong></td>
175
+ </tr>
176
+ <tr>
177
+ <td><code>disabled</code></td>
178
+ <td>boolean</td>
179
+ <td>Disables the native <strong><code>&lt;fieldset&gt;</code></strong> and its controls</td>
180
+ </tr>
181
+ <tr>
182
+ <td><code>form</code></td>
183
+ <td>string</td>
184
+ <td><strong><code>id</code></strong> of an associated <strong><code>form</code></strong></td>
185
+ </tr>
186
+ <tr>
187
+ <td><code>dataProvider</code></td>
188
+ <td>string</td>
189
+ <td>Subscriber key; can autofill properties that match publisher fields (e.g. <strong><code>label</code></strong>)</td>
190
+ </tr>
191
+ </tbody></table>
192
+ <table>
193
+ <thead>
194
+ <tr>
195
+ <th>Slot</th>
196
+ <th>Description</th>
197
+ </tr>
198
+ </thead>
199
+ <tbody><tr>
200
+ <td><em>(default)</em></td>
201
+ <td>Legend (optional) and field group content in visual order</td>
202
+ </tr>
203
+ </tbody></table>
204
+ <h3 id="sonic-legend"><code>sonic-legend</code></h3>
205
+ <table>
206
+ <thead>
207
+ <tr>
208
+ <th>Attribute</th>
209
+ <th>Values</th>
210
+ <th>Description</th>
211
+ </tr>
212
+ </thead>
213
+ <tbody><tr>
214
+ <td><code>label</code></td>
215
+ <td>string</td>
216
+ <td>Title HTML when not using the default slot</td>
217
+ </tr>
218
+ <tr>
219
+ <td><code>description</code></td>
220
+ <td>string</td>
221
+ <td>Description HTML (wrapped in <strong><code>sonic-legend-description</code></strong>)</td>
222
+ </tr>
223
+ <tr>
224
+ <td><code>iconName</code></td>
225
+ <td>string</td>
226
+ <td>Leading <strong><code>sonic-icon</code></strong> <strong><code>name</code></strong></td>
227
+ </tr>
228
+ <tr>
229
+ <td><code>iconLibrary</code></td>
230
+ <td>string</td>
231
+ <td>Icon <strong><code>library</code></strong></td>
232
+ </tr>
233
+ <tr>
234
+ <td><code>iconPrefix</code></td>
235
+ <td>string</td>
236
+ <td>Icon <strong><code>prefix</code></strong></td>
237
+ </tr>
238
+ <tr>
239
+ <td><code>forceAutoFill</code></td>
240
+ <td>boolean</td>
241
+ <td>Allows Subscriber autofill to override attribute-backed <strong><code>label</code></strong> / <strong><code>description</code></strong></td>
242
+ </tr>
243
+ </tbody></table>
244
+ <table>
245
+ <thead>
246
+ <tr>
247
+ <th>Slot</th>
248
+ <th>Description</th>
249
+ </tr>
250
+ </thead>
251
+ <tbody><tr>
252
+ <td><em>(default)</em></td>
253
+ <td>Legend title and description components</td>
254
+ </tr>
255
+ <tr>
256
+ <td><code>suffix</code></td>
257
+ <td>Trailing actions (menus, icon buttons)</td>
258
+ </tr>
259
+ </tbody></table>
260
+ <h3 id="sonic-legend-description"><code>sonic-legend-description</code></h3>
261
+ <p>Muted description line below the legend title. No attributes—project content through the <strong>default slot</strong>.</p>
131
262
 
132
263
  </article>
133
264
  </main>
@@ -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-actions — Concorde</title>
7
- <meta name="description" content="Left seats">
8
- <meta name="keywords" content="Concorde, supersoniks, core/components/ui/form/form-actions/form-actions, form-actions, Form-actions, UI component, form, sonic-form-actions, web component">
6
+ <title>Form actions — Concorde</title>
7
+ <meta name="description" content="sonic-form-actions lays out submit / cancel and other form footer controls in a wrapping flex row with a small fixed gap. Place it inside sonic-form-layout (full-width row) or any block that should en">
8
+ <meta name="keywords" content="Concorde, supersoniks, core/components/ui/form/form-actions/form-actions, form-actions, Form actions, UI component, form, sonic-form-actions, web component, sonic-form-layout, direction, row, justify, flex-start, alignItems, center, justify-content">
9
9
  <meta name="concorde-doc-id" content="core/components/ui/form/form-actions/form-actions">
10
10
  <link rel="canonical" href="https://concorde.supersoniks.org/crawl/core/components/ui/form/form-actions/form-actions.html">
11
11
  </head>
@@ -15,63 +15,106 @@
15
15
  </header>
16
16
  <main>
17
17
  <article>
18
- <p class="doc-lead" id="doc-summary"><strong>Concorde UI component — Form-actions</strong>. Left seats <span>Doc ID: <code>core/components/ui/form/form-actions/form-actions</code>. Keywords: Concorde, supersoniks, core/components/ui/form/form-actions/form-actions, form-actions, Form-actions, UI component, form, sonic-form-actions, web component. URL: <a href="https://concorde.supersoniks.org/crawl/core/components/ui/form/form-actions/form-actions.html">https://concorde.supersoniks.org/crawl/core/components/ui/form/form-actions/form-actions.html</a>.</span></p>
19
- <h1 id="form-actions">Form-actions</h1>
20
- <h2 id="left-by-default">Left by default</h2>
18
+ <p class="doc-lead" id="doc-summary"><strong>Concorde UI component — Form actions</strong>. sonic-form-actions lays out submit / cancel and other form footer controls in a wrapping flex row with a small fixed gap. Place it inside sonic-form-layout (full-width row) or any block that should en <span>Doc ID: <code>core/components/ui/form/form-actions/form-actions</code>. Keywords: Concorde, supersoniks, core/components/ui/form/form-actions/form-actions, form-actions, Form actions, UI component, form, sonic-form-actions, web component, sonic-form-layout, direction, row, justify, flex-start, alignItems, center, justify-content. URL: <a href="https://concorde.supersoniks.org/crawl/core/components/ui/form/form-actions/form-actions.html">https://concorde.supersoniks.org/crawl/core/components/ui/form/form-actions/form-actions.html</a>.</span></p>
19
+ <h1 id="form-actions">Form actions</h1>
20
+ <p><strong><code>sonic-form-actions</code></strong> lays out submit / cancel and other <strong>form footer controls</strong> in a <strong>wrapping flex row</strong> with a small fixed gap. Place it inside <strong><code>sonic-form-layout</code></strong> (full-width row) or any block that should end with actions. Defaults: <strong><code>direction</code></strong> <code>row</code> · <strong><code>justify</code></strong> <code>flex-start</code> · <strong><code>alignItems</code></strong> <code>center</code>.</p>
21
+ <h2 id="basic-example">Basic example</h2>
22
+ <p>With no attributes, actions align to the <strong>start</strong> of the row (typical for left-to-right forms).</p>
21
23
  <pre><code>&lt;form&gt;
22
- &lt;sonic-form-layout&gt;
23
- &lt;sonic-input label=&quot;First name&quot;&gt;&lt;/sonic-input&gt;
24
- &lt;sonic-input label=&quot;Last name&quot;&gt;&lt;/sonic-input&gt;
25
- &lt;sonic-form-actions&gt;
26
- &lt;sonic-button type=&quot;success&quot;&gt;&lt;sonic-icon name=&quot;check&quot; library=&quot;iconoir&quot;&gt;&lt;/sonic-icon&gt; Submit&lt;/sonic-button&gt;
27
- &lt;sonic-button type=&quot;danger&quot; variant=&quot;ghost&quot;&gt;&lt;sonic-icon name=&quot;undo&quot; library=&quot;iconoir&quot;&gt;&lt;/sonic-icon&gt; Cancel&lt;/sonic-button&gt;
28
- &lt;/sonic-form-actions&gt;
29
- &lt;/sonic-form-layout&gt;
30
- &lt;/form &gt;
24
+ &lt;sonic-form-layout&gt;
25
+ &lt;sonic-input label=&quot;First name&quot;&gt;&lt;/sonic-input&gt;
26
+ &lt;sonic-input label=&quot;Last name&quot;&gt;&lt;/sonic-input&gt;
27
+ &lt;sonic-form-actions&gt;
28
+ &lt;sonic-button type=&quot;success&quot;&gt;&lt;sonic-icon name=&quot;check&quot; library=&quot;iconoir&quot;&gt;&lt;/sonic-icon&gt; Submit&lt;/sonic-button&gt;
29
+ &lt;sonic-button type=&quot;danger&quot; variant=&quot;ghost&quot;&gt;&lt;sonic-icon name=&quot;undo&quot; library=&quot;iconoir&quot;&gt;&lt;/sonic-icon&gt; Cancel&lt;/sonic-button&gt;
30
+ &lt;/sonic-form-actions&gt;
31
+ &lt;/sonic-form-layout&gt;
32
+ &lt;/form&gt;
31
33
  </code></pre>
32
- <h2 id="justify">Justify</h2>
34
+ <h2 id="justify-content">Justify content</h2>
35
+ <p><strong><code>justify</code></strong> maps to CSS <strong><code>justify-content</code></strong>. Use <strong><code>flex-end</code></strong> for dialog-style footers or <strong><code>center</code></strong> for balanced toolbars.</p>
33
36
  <pre><code>&lt;form&gt;
34
- &lt;sonic-form-layout&gt;
35
- &lt;sonic-input label=&quot;First name&quot;&gt;&lt;/sonic-input&gt;
36
- &lt;sonic-input label=&quot;Last name&quot;&gt;&lt;/sonic-input&gt;
37
- &lt;sonic-form-actions justify=&quot;flex-end&quot;&gt;
38
- &lt;sonic-button type=&quot;success&quot;&gt;&lt;sonic-icon name=&quot;check&quot; library=&quot;iconoir&quot;&gt;&lt;/sonic-icon&gt; Submit&lt;/sonic-button&gt;
39
- &lt;sonic-button type=&quot;danger&quot; variant=&quot;ghost&quot;&gt;&lt;sonic-icon name=&quot;undo&quot; library=&quot;iconoir&quot;&gt;&lt;/sonic-icon&gt; Cancel&lt;/sonic-button&gt;
40
- &lt;/sonic-form-actions&gt;
41
- &lt;/sonic-form-layout&gt;
42
- &lt;/form &gt;
37
+ &lt;sonic-form-layout&gt;
38
+ &lt;sonic-input label=&quot;First name&quot;&gt;&lt;/sonic-input&gt;
39
+ &lt;sonic-input label=&quot;Last name&quot;&gt;&lt;/sonic-input&gt;
40
+ &lt;sonic-form-actions justify=&quot;flex-end&quot;&gt;
41
+ &lt;sonic-button type=&quot;success&quot;&gt;&lt;sonic-icon name=&quot;check&quot; library=&quot;iconoir&quot;&gt;&lt;/sonic-icon&gt; Submit&lt;/sonic-button&gt;
42
+ &lt;sonic-button type=&quot;danger&quot; variant=&quot;ghost&quot;&gt;&lt;sonic-icon name=&quot;undo&quot; library=&quot;iconoir&quot;&gt;&lt;/sonic-icon&gt; Cancel&lt;/sonic-button&gt;
43
+ &lt;/sonic-form-actions&gt;
44
+ &lt;/sonic-form-layout&gt;
45
+ &lt;/form&gt;
43
46
  </code></pre>
44
- <h2 id="direction">Direction</h2>
47
+ <h2 id="flex-direction">Flex direction</h2>
48
+ <p><strong><code>direction</code></strong> maps to <strong><code>flex-direction</code></strong>. <strong><code>row-reverse</code></strong> swaps visual order while keeping DOM order (focus order unchanged).</p>
45
49
  <pre><code>&lt;form&gt;
46
- &lt;sonic-form-layout&gt;
47
- &lt;sonic-input label=&quot;First name&quot;&gt;&lt;/sonic-input&gt;
48
- &lt;sonic-input label=&quot;Last name&quot;&gt;&lt;/sonic-input&gt;
49
- &lt;sonic-form-actions direction=&quot;row-reverse&quot;&gt;
50
- &lt;sonic-button type=&quot;success&quot;&gt;&lt;sonic-icon name=&quot;check&quot; library=&quot;iconoir&quot;&gt;&lt;/sonic-icon&gt; Submit&lt;/sonic-button&gt;
51
- &lt;sonic-button type=&quot;danger&quot; variant=&quot;ghost&quot;&gt;&lt;sonic-icon name=&quot;undo&quot; library=&quot;iconoir&quot;&gt;&lt;/sonic-icon&gt; Cancel&lt;/sonic-button&gt;
52
- &lt;/sonic-form-actions&gt;
53
- &lt;/sonic-form-layout&gt;
54
- &lt;/form &gt;
50
+ &lt;sonic-form-layout&gt;
51
+ &lt;sonic-input label=&quot;First name&quot;&gt;&lt;/sonic-input&gt;
52
+ &lt;sonic-input label=&quot;Last name&quot;&gt;&lt;/sonic-input&gt;
53
+ &lt;sonic-form-actions direction=&quot;row-reverse&quot;&gt;
54
+ &lt;sonic-button type=&quot;success&quot;&gt;&lt;sonic-icon name=&quot;check&quot; library=&quot;iconoir&quot;&gt;&lt;/sonic-icon&gt; Submit&lt;/sonic-button&gt;
55
+ &lt;sonic-button type=&quot;danger&quot; variant=&quot;ghost&quot;&gt;&lt;sonic-icon name=&quot;undo&quot; library=&quot;iconoir&quot;&gt;&lt;/sonic-icon&gt; Cancel&lt;/sonic-button&gt;
56
+ &lt;/sonic-form-actions&gt;
57
+ &lt;/sonic-form-layout&gt;
58
+ &lt;/form&gt;
55
59
  </code></pre>
56
- <h2 id="center">Center</h2>
60
+ <h2 id="mixed-controls">Mixed controls</h2>
61
+ <p>Combine <strong><code>sonic-button</code></strong> with <strong><code>sonic-divider vertical</code></strong> or other slotted content. Default <strong><code>alignItems</code></strong> <code>center</code> keeps unlike heights aligned on the cross axis.</p>
57
62
  <pre><code>&lt;form&gt;
58
- &lt;sonic-form-layout&gt;
59
- &lt;sonic-input label=&quot;First name&quot;&gt;&lt;/sonic-input&gt;
60
- &lt;sonic-input label=&quot;Last name&quot;&gt;&lt;/sonic-input&gt;
61
- &lt;sonic-form-actions justify=&quot;center&quot; &gt;
62
- &lt;sonic-button type=&quot;info&quot; minWidth=&quot;12rem&quot;&gt;
63
- &lt;sonic-icon name=&quot;nav-arrow-left&quot; library=&quot;iconoir&quot; slot=&quot;prefix&quot;&gt;&lt;/sonic-icon&gt;
64
- Left seats
65
- &lt;/sonic-button&gt;
66
- &lt;sonic-divider vertical&gt;&lt;/sonic-divider&gt;
67
- &lt;sonic-button type=&quot;info&quot; minWidth=&quot;12rem&quot;&gt;
68
- &lt;sonic-icon name=&quot;nav-arrow-right&quot; library=&quot;iconoir&quot; slot=&quot;suffix&quot;&gt;&lt;/sonic-icon&gt;
69
- Right seats
70
- &lt;/sonic-button&gt;
71
- &lt;/sonic-form-actions&gt;
72
- &lt;/sonic-form-layout&gt;
73
- &lt;/form &gt;
63
+ &lt;sonic-form-layout&gt;
64
+ &lt;sonic-input label=&quot;First name&quot;&gt;&lt;/sonic-input&gt;
65
+ &lt;sonic-input label=&quot;Last name&quot;&gt;&lt;/sonic-input&gt;
66
+ &lt;sonic-form-actions justify=&quot;center&quot;&gt;
67
+ &lt;sonic-button type=&quot;info&quot; minWidth=&quot;12rem&quot;&gt;
68
+ &lt;sonic-icon name=&quot;nav-arrow-left&quot; library=&quot;iconoir&quot; slot=&quot;prefix&quot;&gt;&lt;/sonic-icon&gt;
69
+ Left seats
70
+ &lt;/sonic-button&gt;
71
+ &lt;sonic-divider vertical&gt;&lt;/sonic-divider&gt;
72
+ &lt;sonic-button type=&quot;info&quot; minWidth=&quot;12rem&quot;&gt;
73
+ &lt;sonic-icon name=&quot;nav-arrow-right&quot; library=&quot;iconoir&quot; slot=&quot;suffix&quot;&gt;&lt;/sonic-icon&gt;
74
+ Right seats
75
+ &lt;/sonic-button&gt;
76
+ &lt;/sonic-form-actions&gt;
77
+ &lt;/sonic-form-layout&gt;
78
+ &lt;/form&gt;
74
79
  </code></pre>
80
+ <h2 id="api-reference">API reference</h2>
81
+ <table>
82
+ <thead>
83
+ <tr>
84
+ <th>Attribute</th>
85
+ <th>Values</th>
86
+ <th>Description</th>
87
+ </tr>
88
+ </thead>
89
+ <tbody><tr>
90
+ <td><code>direction</code></td>
91
+ <td><code>row</code> (default) · <code>column</code> · <code>row-reverse</code> · <code>column-reverse</code></td>
92
+ <td>Main-axis layout of slotted controls</td>
93
+ </tr>
94
+ <tr>
95
+ <td><code>justify</code></td>
96
+ <td>CSS justify-content (default <code>flex-start</code>)</td>
97
+ <td>Distribution along the main axis</td>
98
+ </tr>
99
+ <tr>
100
+ <td><code>alignItems</code></td>
101
+ <td>CSS align-items (default <code>center</code>)</td>
102
+ <td>Cross-axis alignment when items differ in height</td>
103
+ </tr>
104
+ </tbody></table>
105
+ <p>The component exposes a single unnamed slot; there are no named slots. Slotted nodes use the host’s flex <strong><code>gap</code></strong> (<code>0.3rem</code>) and <strong><code>flex-wrap</code></strong>.</p>
106
+ <table>
107
+ <thead>
108
+ <tr>
109
+ <th>Slot</th>
110
+ <th>Description</th>
111
+ </tr>
112
+ </thead>
113
+ <tbody><tr>
114
+ <td><em>(default)</em></td>
115
+ <td>Footer actions (<strong><code>sonic-button</code></strong> and related controls)</td>
116
+ </tr>
117
+ </tbody></table>
75
118
 
76
119
  </article>
77
120
  </main>