Skip to content

Commit a47fe22

Browse files
Update statescreen api.json (#3427)
* wix-noci: update api.json * reorder sections in Overview tab --------- Co-authored-by: rnuinoci[bot] <182611266+rnuinoci[bot]@users.noreply.github.com> Co-authored-by: Inbal Tish <[email protected]>
1 parent 9cd586e commit a47fe22

File tree

1 file changed

+16
-47
lines changed

1 file changed

+16
-47
lines changed

src/components/stateScreen/stateScreen.api.json

Lines changed: 16 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -58,56 +58,25 @@
5858
"title": "Overview",
5959
"sections": [
6060
{
61-
"type": "list",
62-
"items": [
63-
{
64-
"title": "State Screen with illustration",
65-
"description": "Suitable for success messages, empty states and \"pay-attention\" messages.",
66-
"content": [
67-
{
68-
"value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/StateScreen/stateScreen_overview_types_illustration.png"
69-
}
70-
]
71-
},
72-
{
73-
"title": "State Screen with Marketing Visual",
74-
"description": "Suitable for FTEs and marketing messages.",
75-
"content": [
76-
{
77-
"value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/StateScreen/stateScreen_overview_types_visual.png"
78-
}
79-
]
80-
},
81-
{
82-
"title": "State Screen with Cover Image",
83-
"description": "Suitable for FTEs and marketing messages.",
84-
"content": [
85-
{
86-
"value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/StateScreen/stateScreen_overview_types_cover.png"
87-
}
88-
]
89-
},
90-
{
91-
"title": "State Screen with Text Only",
92-
"description": "Suitable for empty states.",
93-
"content": [
94-
{
95-
"value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/StateScreen/stateScreen_overview_types_text.png"
96-
}
97-
]
98-
},
61+
"type": "section",
62+
"title": "Overview",
63+
"description": "The State screen component is composed of a visual, title, subtitle, CTA, link button, and disclaimer. Each element is optional and they all can be combined in various ways to meet different needs.\n\nState screens can occupy a full screen or a portion of it. They can be used in both modals and pushed screens.",
64+
"content": [
9965
{
100-
"title": "Error Screen",
101-
"content": [
102-
{
103-
"value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/StateScreen/stateScreen_overview_types_error.png"
104-
}
105-
],
106-
"description": "Suitable for showcasing and explaining errors."
66+
"value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/StateScreen/stateScreen_overview.png"
10767
}
10868
],
109-
"layout": "horizontal",
110-
"title": "Types"
69+
"layout": "horizontal"
70+
},
71+
{
72+
"type": "section",
73+
"title": "Visual Types",
74+
"description": "The State Screen component can be used with or without a visual.
A visual can be an illustration, marketing visual, cover image or an icon. ",
75+
"content": [
76+
{
77+
"value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/StateScreen/stateScreen_overview_visualTypes.png"
78+
}
79+
]
11180
},
11281
{
11382
"type": "list",

0 commit comments

Comments
 (0)