@supersoniks/concorde 5.0.5 → 5.1.0

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 (168) hide show
  1. package/.github/workflows/ci.yml +21 -0
  2. package/.github-export-ignore +30 -0
  3. package/.tmp-cem/custom-elements.json +13705 -0
  4. package/CONTRIBUTING.md +59 -0
  5. package/DEV.md +54 -0
  6. package/LICENSE +21 -0
  7. package/OPEN_SOURCE_CHECKPOINT.md +133 -0
  8. package/build-infos.json +1 -1
  9. package/concorde-3d.bundle.js +3960 -0
  10. package/concorde-3d.es.js +33433 -0
  11. package/concorde-core.bundle.js +196 -196
  12. package/concorde-core.es.js +3685 -3405
  13. package/concorde-hugging-face-infer.bundle.js +32 -0
  14. package/concorde-hugging-face-infer.es.js +2952 -0
  15. package/concorde-interactive.bundle.js +1157 -0
  16. package/concorde-interactive.es.js +10734 -0
  17. package/concorde-shader.bundle.js +116 -0
  18. package/concorde-shader.es.js +8353 -0
  19. package/concorde-webgpu.bundle.js +307 -0
  20. package/concorde-webgpu.es.js +8627 -0
  21. package/custom-elements-manifest.config.mjs +14 -0
  22. package/dist/concorde-core.bundle.js +196 -196
  23. package/dist/concorde-core.es.js +3685 -3405
  24. package/docs/assets/{index-wVZpLVYW.js → index-D8MVWqY6.js} +1351 -1222
  25. package/docs/assets/index-DiD0qYvE.css +1 -0
  26. package/docs/crawl/core/components/ui/alert/alert.html +71 -172
  27. package/docs/crawl/core/components/ui/alert-messages/alert-messages.html +5 -113
  28. package/docs/crawl/core/components/ui/badge/badge.html +79 -157
  29. package/docs/crawl/core/components/ui/button/button.html +0 -1
  30. package/docs/crawl/core/components/ui/captcha/captcha.html +8 -90
  31. package/docs/crawl/core/components/ui/card/card.html +68 -222
  32. package/docs/crawl/core/components/ui/divider/divider.html +31 -117
  33. package/docs/crawl/core/components/ui/form/fieldset/fieldset.html +101 -232
  34. package/docs/crawl/core/components/ui/form/form-actions/form-actions.html +52 -95
  35. package/docs/crawl/core/components/ui/form/form-layout/form-layout.html +38 -97
  36. package/docs/crawl/core/components/ui/form/input/input.html +3 -3
  37. package/docs/crawl/core/components/ui/form/textarea/textarea.html +3 -3
  38. package/docs/crawl/core/components/ui/group/group.html +38 -60
  39. package/docs/crawl/core/components/ui/icon/icon.html +47 -136
  40. package/docs/crawl/core/components/ui/image/image.html +56 -244
  41. package/docs/crawl/core/components/ui/link/link.html +9 -67
  42. package/docs/crawl/core/components/ui/loader/loader.html +23 -97
  43. package/docs/crawl/core/components/ui/menu/menu.html +90 -162
  44. package/docs/crawl/core/components/ui/modal/modal.html +50 -275
  45. package/docs/crawl/core/components/ui/pop/pop.html +66 -260
  46. package/docs/crawl/core/components/ui/progress/progress.html +30 -103
  47. package/docs/crawl/core/components/ui/table/table.html +171 -303
  48. package/docs/crawl/core/components/ui/toast/toast.html +59 -170
  49. package/docs/crawl/core/components/ui/tooltip/tooltip.html +29 -90
  50. package/docs/crawl/docs/_decorators/ancestor-attribute.html +2 -3
  51. package/docs/crawl/docs/_getting-started/concorde-outside.html +3 -3
  52. package/docs/crawl/docs/_getting-started/start.html +1 -1
  53. package/docs/crawl/docs/_getting-started/theming.html +63 -311
  54. package/docs/crawl/hubs/form-components.html +53 -75
  55. package/docs/crawl/index.html +6 -7
  56. package/docs/docs-mock-api-sw.js +0 -2
  57. package/docs/docs-mock-api-sw.js.map +2 -2
  58. package/docs/index.html +7 -9
  59. package/docs/llms-full.txt +456 -1703
  60. package/docs/llms.txt +32 -25
  61. package/docs/sitemap.xml +0 -3
  62. package/docs/src/core/components/functional/fetch/fetch.md +0 -0
  63. package/docs/src/core/components/functional/if/if.md +0 -0
  64. package/docs/src/core/components/functional/list/list.md +0 -0
  65. package/docs/src/core/components/functional/router/router.md +0 -0
  66. package/docs/src/core/components/functional/sdui/sdui.md +0 -0
  67. package/docs/src/core/components/functional/states/states.md +0 -0
  68. package/docs/src/core/components/functional/submit/submit.md +0 -0
  69. package/docs/src/core/components/ui/alert/alert.md +72 -147
  70. package/docs/src/core/components/ui/alert-messages/alert-messages.md +0 -85
  71. package/docs/src/core/components/ui/badge/badge.md +80 -141
  72. package/docs/src/core/components/ui/button/button.md +0 -1
  73. package/docs/src/core/components/ui/captcha/captcha.md +6 -65
  74. package/docs/src/core/components/ui/card/card.md +65 -183
  75. package/docs/src/core/components/ui/divider/divider.md +13 -107
  76. package/docs/src/core/components/ui/form/fieldset/fieldset.md +99 -175
  77. package/docs/src/core/components/ui/form/form-actions/form-actions.md +52 -75
  78. package/docs/src/core/components/ui/form/form-layout/form-layout.md +34 -109
  79. package/docs/src/core/components/ui/form/input/input.md +1 -1
  80. package/docs/src/core/components/ui/form/radio/radio.md +0 -0
  81. package/docs/src/core/components/ui/form/select/select.md +0 -0
  82. package/docs/src/core/components/ui/form/switch/switch.md +0 -0
  83. package/docs/src/core/components/ui/form/textarea/textarea.md +1 -1
  84. package/docs/src/core/components/ui/group/group.md +36 -36
  85. package/docs/src/core/components/ui/icon/icon.md +43 -132
  86. package/docs/src/core/components/ui/image/image.md +53 -179
  87. package/docs/src/core/components/ui/link/link.md +7 -45
  88. package/docs/src/core/components/ui/loader/loader.md +22 -79
  89. package/docs/src/core/components/ui/menu/menu.md +92 -133
  90. package/docs/src/core/components/ui/modal/modal.md +47 -163
  91. package/docs/src/core/components/ui/pop/pop.md +64 -262
  92. package/docs/src/core/components/ui/progress/progress.md +30 -76
  93. package/docs/src/core/components/ui/table/table.md +171 -147
  94. package/docs/src/core/components/ui/toast/toast.md +58 -108
  95. package/docs/src/core/components/ui/tooltip/tooltip.md +26 -68
  96. package/docs/src/docs/_core-concept/subscriber.md +0 -0
  97. package/docs/src/docs/_decorators/ancestor-attribute.md +2 -3
  98. package/docs/src/docs/_getting-started/concorde-outside.md +3 -3
  99. package/docs/src/docs/_getting-started/my-first-subscriber.md +0 -0
  100. package/docs/src/docs/_getting-started/pubsub.md +0 -0
  101. package/docs/src/docs/_getting-started/start.md +1 -1
  102. package/docs/src/docs/_getting-started/theming.md +61 -223
  103. package/docs/src/docs/search/docs-search.json +348 -3083
  104. package/docs/src/tsconfig.declarations.json +22 -0
  105. package/docs/src/tsconfig.emit.json +23 -0
  106. package/docs/src/tsconfig.json +3 -63
  107. package/gitlab/job_github_mirror.sh +39 -0
  108. package/package.json +36 -2
  109. package/scripts/generate-sdui-catalog.mjs +250 -0
  110. package/scripts/generate-sdui-catalog.spec.ts +91 -0
  111. package/scripts/github-export.mjs +150 -0
  112. package/scripts/post-build-docs.js +0 -0
  113. package/scripts/post-build.mjs +0 -0
  114. package/scripts/pre-build.mjs +15 -0
  115. package/src/core/components/functional/fetch/fetch.md +0 -0
  116. package/src/core/components/functional/if/if.md +0 -0
  117. package/src/core/components/functional/if/if.ts +0 -0
  118. package/src/core/components/functional/list/list.demo.ts +0 -0
  119. package/src/core/components/functional/list/list.md +0 -0
  120. package/src/core/components/functional/router/router.md +0 -0
  121. package/src/core/components/functional/router/router.ts +0 -0
  122. package/src/core/components/functional/sdui/SDUIDescriptorTransformer.ts +5 -5
  123. package/src/core/components/functional/sdui/__fixtures__/descriptors.ts +251 -0
  124. package/src/core/components/functional/sdui/__snapshots__/sdui-action.spec.ts.snap +73 -0
  125. package/src/core/components/functional/sdui/__snapshots__/sdui-incremental.spec.ts.snap +50 -0
  126. package/src/core/components/functional/sdui/__snapshots__/sdui-partial.spec.ts.snap +50 -0
  127. package/src/core/components/functional/sdui/__snapshots__/sdui.regression.spec.ts.snap +461 -0
  128. package/src/core/components/functional/sdui/component-catalog.gaps.json +511 -0
  129. package/src/core/components/functional/sdui/component-catalog.json +3103 -0
  130. package/src/core/components/functional/sdui/component-catalog.spec.ts +23 -0
  131. package/src/core/components/functional/sdui/sdui-action.spec.ts +99 -0
  132. package/src/core/components/functional/sdui/sdui-dom-snapshot.ts +61 -0
  133. package/src/core/components/functional/sdui/sdui-extension-points.md +94 -0
  134. package/src/core/components/functional/sdui/sdui-incremental.spec.ts +137 -0
  135. package/src/core/components/functional/sdui/sdui-partial.spec.ts +83 -0
  136. package/src/core/components/functional/sdui/sdui-partial.ts +19 -0
  137. package/src/core/components/functional/sdui/sdui-safe.spec.ts +188 -0
  138. package/src/core/components/functional/sdui/sdui-safe.ts +100 -0
  139. package/src/core/components/functional/sdui/sdui.md +122 -0
  140. package/src/core/components/functional/sdui/sdui.regression.spec.ts +64 -0
  141. package/src/core/components/functional/sdui/sdui.ts +442 -34
  142. package/src/core/components/functional/sdui/types.ts +49 -0
  143. package/src/core/components/functional/states/states.md +0 -0
  144. package/src/core/components/functional/submit/submit.md +0 -0
  145. package/src/core/components/functional/subscriber/subscriber.ts +0 -0
  146. package/src/core/components/functional/value/value.ts +0 -0
  147. package/src/core/components/ui/_css/size.ts +0 -0
  148. package/src/core/components/ui/captcha/altchaStyles.ts +0 -0
  149. package/src/core/components/ui/form/radio/radio.md +0 -0
  150. package/src/core/components/ui/form/select/select.md +0 -0
  151. package/src/core/components/ui/form/switch/switch.md +0 -0
  152. package/src/core/mixins/Subscriber.ts +0 -0
  153. package/src/core/utils/DataBindObserver.ts +0 -0
  154. package/src/core/utils/Objects.ts +0 -0
  155. package/src/core/utils/route.ts +0 -0
  156. package/src/css.d.ts +19 -0
  157. package/src/docs/_core-concept/subscriber.md +0 -0
  158. package/src/docs/_getting-started/my-first-subscriber.md +0 -0
  159. package/src/docs/_getting-started/pubsub.md +0 -0
  160. package/src/docs/example/users.ts +0 -0
  161. package/src/docs/search/page.ts +0 -0
  162. package/src/tsconfig.declarations.json +22 -0
  163. package/src/tsconfig.emit.json +23 -0
  164. package/src/tsconfig.json +90 -0
  165. package/src/tsconfig.tsbuildinfo +1 -1
  166. package/docs/assets/index-CD4WyL6o.css +0 -1
  167. package/docs/crawl/core/components/ui/theme/theme.html +0 -131
  168. package/docs/src/core/components/ui/theme/theme.md +0 -122
@@ -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="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">
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">
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,250 +15,119 @@
15
15
  </header>
16
16
  <main>
17
17
  <article>
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>
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>
19
19
  <h1 id="fieldset">Fieldset</h1>
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;
28
- &lt;/sonic-fieldset&gt;
29
- </code></pre>
30
20
  <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;
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
26
+ &lt;/sonic-fieldset&gt;
27
+ &lt;sonic-fieldset variant=&quot;shadow&quot; &gt;
28
+ Shadow
52
29
  &lt;/sonic-fieldset&gt;
53
30
  </code></pre>
54
31
  <h2 id="legend">Legend</h2>
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;
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;
70
44
  </code></pre>
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>
45
+ <h2 id="short-hand">Short hand</h2>
73
46
  <pre><code>&lt;sonic-fieldset
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;
81
- </code></pre>
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;
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;
101
52
  </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;
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;
110
70
  &lt;sonic-form-layout&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;
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;
114
95
  &lt;/sonic-form-layout&gt;
115
96
  &lt;/sonic-fieldset&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;
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;
126
103
  &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;
127
128
  &lt;/div&gt;
129
+ &lt;/sonic-div&gt;
128
130
  </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>
262
131
 
263
132
  </article>
264
133
  </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="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">
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">
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,106 +15,63 @@
15
15
  </header>
16
16
  <main>
17
17
  <article>
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>
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>
23
21
  <pre><code>&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;
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;
33
31
  </code></pre>
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>
32
+ <h2 id="justify">Justify</h2>
36
33
  <pre><code>&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;
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;
46
43
  </code></pre>
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>
44
+ <h2 id="direction">Direction</h2>
49
45
  <pre><code>&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;
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;
59
55
  </code></pre>
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>
56
+ <h2 id="center">Center</h2>
62
57
  <pre><code>&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;
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;
79
74
  </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>
118
75
 
119
76
  </article>
120
77
  </main>