Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: form fields block page (#2787)
* feat: form fields block * fix: lint fixes * fix: lint fixes * fix: cr fixes * fix: cr fixes * fix: cr fixes * fix: cr fixes * fix: cr fixes * fix: cr fixes * fix: cr fixes * fix: cr fixes
- Loading branch information
1 parent
5a13fef
commit 17e7e60
Showing
13 changed files
with
1,404 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@storefront-ui/react': patch | ||
'@storefront-ui/vue': patch | ||
--- | ||
|
||
SfSelect wrapper as span tag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@storefront-ui/react': minor | ||
'@storefront-ui/vue': minor | ||
--- | ||
|
||
add Email icon |
Binary file added
BIN
+37.4 KB
apps/docs/components/.vuepress/public/thumbnails/blocks/FormFields.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
layout: DefaultLayout | ||
hideToc: true | ||
hideBreadcrumbs: true | ||
description: The Form Fields block is designed to showcase the usage of various input types, such as Input, Checkbox, Radio, Select, SelectDropdown, Combobox, Button, etc., using a single form as an example. It demonstrates the application of required fields, indicated by an asterisk (*) next to the label, and handles error validation. | ||
--- | ||
# Form fields | ||
|
||
{{ $frontmatter.description }} | ||
|
||
Forms can be presented as dedicated pages or integrated within modals, cards, or side panels, with the form's context influencing its layout and vertical spacing. Typically, dedicated-page forms can accommodate greater complexity. This block use a responsive grid to drive layout decisions, ensuring optimal display across different screen sizes and devices. | ||
|
||
For further customization of layouts, we recommend referring to our documentation on Modal and Drawer pages. | ||
|
||
<Showcase showcase-name="FormFields/FormFieldsRequired" style="min-height:600px"> | ||
|
||
<!-- vue --> | ||
<<<../../preview/nuxt/pages/showcases/FormFields/FormFieldsRequired.vue | ||
<!-- end vue --> | ||
<!-- react --> | ||
<<<../../preview/next/pages/showcases/FormFields/FormFieldsRequired.tsx#source | ||
<!-- end react --> | ||
</Showcase> |
Oops, something went wrong.