Skip to content

Update floatingbutton api.json #3450

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 15 additions & 13 deletions src/components/floatingButton/floatingButton.api.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,14 @@
"docs": {
"hero": {
"title": "FloatingButton",
"description": "Description"
"description": "The Floating Button stays at the bottom of the screen, above other content, with an overlay to improve visibility.\nIt can appear with an animation, such as after a user interacts with a field, and is useful for highlighting key actions like continuing a process or submitting a form.",
"type": "hero",
"layout": "horizontal",
"content": [
{
"value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/FloatingButton/floatingButton_overview_preview.png"
}
]
},
"tabs": [
{
Expand All @@ -92,28 +99,28 @@
"columns": [
"Property",
"Default",
"markdown:`fullWidth`"
"Full Width"
],
"items": [
{
"title": "Main button",
"content": [
{
"background": "#E8ECF0"
"value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/FloatingButton/floatingButton_overview_options_mainDefault.png"
},
{
"background": "#E8ECF0"
"value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/FloatingButton/floatingButton_overview_options_mainFullWidth.png"
}
]
},
{
"title": "Main+secondary button",
"content": [
{
"background": "#E8ECF0"
"value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/FloatingButton/floatingButton_overview_options_mainSecondaryDefault.png"
},
{
"background": "#E8ECF0"
"value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/FloatingButton/floatingButton_overview_options_mainSecondaryFullWidth.png"
}
]
}
Expand All @@ -132,20 +139,15 @@
"title": "Horizontal",
"content": [
{
"props": {
"isVisible": true,
"button": {
"label": "button"
}
}
"value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/FloatingButton/floatingButton_overview_layout_horizontal.png"
}
]
},
{
"title": "Vertical",
"content": [
{
"background": "#E8ECF0"
"value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/FloatingButton/floatingButton_overview_layout_vertical.png"
}
]
}
Expand Down