You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ec2a203
Browse filesBrowse the repository at this point in the historyBrowse files
<ComponentHeadername="AppForm"kind="Form composition"summary="Compose a clear path from input to outcome. A themed native form with validation and submission in your control."source="https://github.com/PureStackStudio/PureStack/blob/main/packages/ts-components/src/standard/form/form.ts"section="Forms & input"sectionHref="/components/forms/"/>
23
17
24
18
## Save a project
25
19
26
20
Edit the project name, save it locally, then reset. The handler explicitly checks native constraints because AppForm renders novalidate.
27
21
28
22
<Tabsgroup="app-form-sample-1"selectedTab="app-form-sample-1-preview"ariaLabel="Save a project example"tone="neutral"variant="surface"tabVariant="underline">
@@ -119,6 +118,7 @@ Choose the surrounding treatment independently of the fields. This disabled exam
119
118
120
119
<Tabsgroup="app-form-sample-2"selectedTab="app-form-sample-2-preview"ariaLabel="Compose a form surface example"tone="neutral"variant="surface"tabVariant="underline">
@@ -146,6 +148,45 @@ Choose the surrounding treatment independently of the fields. This disabled exam
146
148
</TabPane>
147
149
</Tabs>
148
150
151
+
## All semantic tones
152
+
153
+
All ten tones are visible at once. The control’s label and content explain the intent independently of color.
154
+
155
+
<ComponentExamplelabel="All ten semantic tones"caption="Each sample is interactive and keeps its own local state. Switch the site theme to compare both palettes.">
All eighteen supported treatments, shown in accent. Tone and variant are independent, so any treatment can be combined with a semantic tone.
164
+
165
+
<ComponentExamplelabel="All eighteen visual variants"caption="Each sample is interactive and keeps its own local state. Switch the site theme to compare both palettes.">
AppForm always renders `novalidate`. Use reportValidity or your own validation in a submit handler. Named controls participate in FormData; disabled controls do not. Reset reactive refs explicitly when handling reset in a Regor app.
@@ -186,8 +227,6 @@ AppForm always renders `novalidate`. Use reportValidity or your own validation i
186
227
<p><strong>Default slot:</strong> native fields and form components. Native submit and reset events bubble normally. Register defineFormComponents; register each field family separately.</p>
0 commit comments