@rio-cloud/uikit-mcp 1.0.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.
- package/LICENSE +202 -0
- package/README.md +91 -0
- package/bin/uikit-mcp.mjs +23 -0
- package/data/pages/Components/components/accentbar.json +207 -0
- package/data/pages/Components/components/activity.json +87 -0
- package/data/pages/Components/components/animatednumber.json +99 -0
- package/data/pages/Components/components/animations.json +87 -0
- package/data/pages/Components/components/appheader.json +291 -0
- package/data/pages/Components/components/applayout.json +1198 -0
- package/data/pages/Components/components/appnavigationbar.json +327 -0
- package/data/pages/Components/components/areacharts.json +563 -0
- package/data/pages/Components/components/aspectratioplaceholder.json +75 -0
- package/data/pages/Components/components/assettree.json +3080 -0
- package/data/pages/Components/components/autosuggests.json +710 -0
- package/data/pages/Components/components/avatar.json +157 -0
- package/data/pages/Components/components/banner.json +599 -0
- package/data/pages/Components/components/barcharts.json +1507 -0
- package/data/pages/Components/components/barlist.json +223 -0
- package/data/pages/Components/components/basicmap.json +68 -0
- package/data/pages/Components/components/bottomsheet.json +601 -0
- package/data/pages/Components/components/button.json +583 -0
- package/data/pages/Components/components/buttontoolbar.json +63 -0
- package/data/pages/Components/components/calendarstripe.json +235 -0
- package/data/pages/Components/components/card.json +69 -0
- package/data/pages/Components/components/carousel.json +39 -0
- package/data/pages/Components/components/chartcolors.json +34 -0
- package/data/pages/Components/components/chartsgettingstarted.json +32 -0
- package/data/pages/Components/components/chat.json +39 -0
- package/data/pages/Components/components/checkbox.json +847 -0
- package/data/pages/Components/components/clearableinput.json +789 -0
- package/data/pages/Components/components/collapse.json +175 -0
- package/data/pages/Components/components/composedcharts.json +159 -0
- package/data/pages/Components/components/contentloader.json +233 -0
- package/data/pages/Components/components/datatabs.json +680 -0
- package/data/pages/Components/components/datepickers.json +287 -0
- package/data/pages/Components/components/dialogs.json +1492 -0
- package/data/pages/Components/components/divider.json +93 -0
- package/data/pages/Components/components/dropdowns.json +936 -0
- package/data/pages/Components/components/editablecontent.json +1117 -0
- package/data/pages/Components/components/expander.json +377 -0
- package/data/pages/Components/components/fade.json +403 -0
- package/data/pages/Components/components/fadeexpander.json +75 -0
- package/data/pages/Components/components/fadeup.json +127 -0
- package/data/pages/Components/components/feedback.json +269 -0
- package/data/pages/Components/components/filepickers.json +269 -0
- package/data/pages/Components/components/formlabel.json +115 -0
- package/data/pages/Components/components/fullscreenmap.json +22 -0
- package/data/pages/Components/components/groupeditemlist.json +323 -0
- package/data/pages/Components/components/iconlist.json +45 -0
- package/data/pages/Components/components/imagepreloader.json +81 -0
- package/data/pages/Components/components/labeledelement.json +75 -0
- package/data/pages/Components/components/licenseplate.json +69 -0
- package/data/pages/Components/components/linecharts.json +987 -0
- package/data/pages/Components/components/listmenu.json +313 -0
- package/data/pages/Components/components/loadmore.json +175 -0
- package/data/pages/Components/components/mainnavigation.json +39 -0
- package/data/pages/Components/components/mapcircle.json +34 -0
- package/data/pages/Components/components/mapcluster.json +51 -0
- package/data/pages/Components/components/mapcontext.json +105 -0
- package/data/pages/Components/components/mapdraggablemarker.json +34 -0
- package/data/pages/Components/components/mapgettingstarted.json +27 -0
- package/data/pages/Components/components/mapgroup.json +1198 -0
- package/data/pages/Components/components/mapinfobubble.json +34 -0
- package/data/pages/Components/components/maplayergroup.json +34 -0
- package/data/pages/Components/components/mapmarker.json +700 -0
- package/data/pages/Components/components/mappolygon.json +45 -0
- package/data/pages/Components/components/maproute.json +623 -0
- package/data/pages/Components/components/maproutegenerator.json +16 -0
- package/data/pages/Components/components/mapsettings.json +51 -0
- package/data/pages/Components/components/maputils.json +34 -0
- package/data/pages/Components/components/multiselects.json +1451 -0
- package/data/pages/Components/components/nodata.json +139 -0
- package/data/pages/Components/components/notifications.json +65 -0
- package/data/pages/Components/components/numbercontrol.json +301 -0
- package/data/pages/Components/components/onboarding.json +302 -0
- package/data/pages/Components/components/page.json +197 -0
- package/data/pages/Components/components/pager.json +93 -0
- package/data/pages/Components/components/piecharts.json +731 -0
- package/data/pages/Components/components/popover.json +251 -0
- package/data/pages/Components/components/position.json +69 -0
- package/data/pages/Components/components/radialbarcharts.json +1304 -0
- package/data/pages/Components/components/radiobutton.json +1105 -0
- package/data/pages/Components/components/releasenotes.json +44 -0
- package/data/pages/Components/components/resizer.json +93 -0
- package/data/pages/Components/components/responsivecolumnstripe.json +123 -0
- package/data/pages/Components/components/responsivevideo.json +75 -0
- package/data/pages/Components/components/rioglyph.json +93 -0
- package/data/pages/Components/components/rules.json +410 -0
- package/data/pages/Components/components/saveableinput.json +703 -0
- package/data/pages/Components/components/selects.json +701 -0
- package/data/pages/Components/components/sidebar.json +243 -0
- package/data/pages/Components/components/sliders.json +235 -0
- package/data/pages/Components/components/smoothscrollbars.json +335 -0
- package/data/pages/Components/components/spinners.json +343 -0
- package/data/pages/Components/components/states.json +1705 -0
- package/data/pages/Components/components/statswidgets.json +314 -0
- package/data/pages/Components/components/statusbar.json +177 -0
- package/data/pages/Components/components/stepbutton.json +57 -0
- package/data/pages/Components/components/steppedprogressbars.json +417 -0
- package/data/pages/Components/components/subnavigation.json +107 -0
- package/data/pages/Components/components/supportmarker.json +45 -0
- package/data/pages/Components/components/svgimage.json +81 -0
- package/data/pages/Components/components/switch.json +111 -0
- package/data/pages/Components/components/tables.json +144 -0
- package/data/pages/Components/components/tagmanager.json +86 -0
- package/data/pages/Components/components/tags.json +146 -0
- package/data/pages/Components/components/teaser.json +188 -0
- package/data/pages/Components/components/timeline.json +45 -0
- package/data/pages/Components/components/timepicker.json +163 -0
- package/data/pages/Components/components/togglebutton.json +247 -0
- package/data/pages/Components/components/tooltip.json +270 -0
- package/data/pages/Components/components/virtuallist.json +175 -0
- package/data/pages/Foundations/foundations.json +2475 -0
- package/data/pages/Getting-started/start/changelog.json +22 -0
- package/data/pages/Getting-started/start/goodtoknow.json +32 -0
- package/data/pages/Getting-started/start/guidelines/color-combinations.json +58 -0
- package/data/pages/Getting-started/start/guidelines/custom-css.json +27 -0
- package/data/pages/Getting-started/start/guidelines/custom-rioglyph.json +22 -0
- package/data/pages/Getting-started/start/guidelines/formatting.json +97 -0
- package/data/pages/Getting-started/start/guidelines/iframe.json +93 -0
- package/data/pages/Getting-started/start/guidelines/obfuscate-data.json +22 -0
- package/data/pages/Getting-started/start/guidelines/print-css.json +37 -0
- package/data/pages/Getting-started/start/guidelines/spinner.json +144 -0
- package/data/pages/Getting-started/start/guidelines/supported-browsers.json +22 -0
- package/data/pages/Getting-started/start/guidelines/writing.json +242 -0
- package/data/pages/Getting-started/start/howto.json +72 -0
- package/data/pages/Getting-started/start/intro.json +37 -0
- package/data/pages/Getting-started/start/responsiveness.json +52 -0
- package/data/pages/Templates/templates/common-table.json +39 -0
- package/data/pages/Templates/templates/detail-views.json +71 -0
- package/data/pages/Templates/templates/expandable-details.json +39 -0
- package/data/pages/Templates/templates/feature-cards.json +103 -0
- package/data/pages/Templates/templates/form-summary.json +39 -0
- package/data/pages/Templates/templates/form-toggle.json +39 -0
- package/data/pages/Templates/templates/list-blocks.json +119 -0
- package/data/pages/Templates/templates/loading-progress.json +39 -0
- package/data/pages/Templates/templates/options-panel.json +39 -0
- package/data/pages/Templates/templates/panel-variants.json +39 -0
- package/data/pages/Templates/templates/progress-cards.json +71 -0
- package/data/pages/Templates/templates/progress-success.json +39 -0
- package/data/pages/Templates/templates/settings-form.json +39 -0
- package/data/pages/Templates/templates/stats-blocks.json +135 -0
- package/data/pages/Templates/templates/table-panel.json +39 -0
- package/data/pages/Templates/templates/table-row-animation.json +39 -0
- package/data/pages/Templates/templates/usage-cards.json +39 -0
- package/data/pages/Utilities/utilities/deviceutils.json +39 -0
- package/data/pages/Utilities/utilities/featuretoggles.json +42 -0
- package/data/pages/Utilities/utilities/fueltypeutils.json +118 -0
- package/data/pages/Utilities/utilities/routeutils.json +34 -0
- package/data/pages/Utilities/utilities/useaftermount.json +63 -0
- package/data/pages/Utilities/utilities/useaverage.json +86 -0
- package/data/pages/Utilities/utilities/useclickoutside.json +69 -0
- package/data/pages/Utilities/utilities/useclipboard.json +57 -0
- package/data/pages/Utilities/utilities/usecount.json +92 -0
- package/data/pages/Utilities/utilities/usedarkmode.json +50 -0
- package/data/pages/Utilities/utilities/usedebuginfo.json +63 -0
- package/data/pages/Utilities/utilities/useeffectonce.json +57 -0
- package/data/pages/Utilities/utilities/useelapsedtime.json +57 -0
- package/data/pages/Utilities/utilities/useelementsize.json +63 -0
- package/data/pages/Utilities/utilities/useesc.json +57 -0
- package/data/pages/Utilities/utilities/useevent.json +75 -0
- package/data/pages/Utilities/utilities/usefocustrap.json +57 -0
- package/data/pages/Utilities/utilities/usefullscreen.json +197 -0
- package/data/pages/Utilities/utilities/usehover.json +57 -0
- package/data/pages/Utilities/utilities/useinterval.json +63 -0
- package/data/pages/Utilities/utilities/useisfocuswithin.json +75 -0
- package/data/pages/Utilities/utilities/usekey.json +75 -0
- package/data/pages/Utilities/utilities/uselocalstorage.json +69 -0
- package/data/pages/Utilities/utilities/uselocationsuggestions.json +110 -0
- package/data/pages/Utilities/utilities/usemax.json +86 -0
- package/data/pages/Utilities/utilities/usemin.json +86 -0
- package/data/pages/Utilities/utilities/usemutationobserver.json +69 -0
- package/data/pages/Utilities/utilities/useonlinestatus.json +39 -0
- package/data/pages/Utilities/utilities/useonscreen.json +63 -0
- package/data/pages/Utilities/utilities/usepostmessage.json +80 -0
- package/data/pages/Utilities/utilities/useprevious.json +63 -0
- package/data/pages/Utilities/utilities/useresizeobserver.json +65 -0
- package/data/pages/Utilities/utilities/usescrollposition.json +103 -0
- package/data/pages/Utilities/utilities/usesearch.json +197 -0
- package/data/pages/Utilities/utilities/usesorting.json +139 -0
- package/data/pages/Utilities/utilities/usestatewithvalidation.json +69 -0
- package/data/pages/Utilities/utilities/usesum.json +86 -0
- package/data/pages/Utilities/utilities/usetableexport.json +87 -0
- package/data/pages/Utilities/utilities/usetableselection.json +311 -0
- package/data/pages/Utilities/utilities/usetimeout.json +63 -0
- package/data/pages/Utilities/utilities/usetoggle.json +75 -0
- package/data/pages/Utilities/utilities/usewindowresize.json +63 -0
- package/data/version.json +4 -0
- package/docs/content-schema.md +147 -0
- package/docs/navigation-inventory.json +1310 -0
- package/docs/search-synonyms.json +43 -0
- package/package.json +38 -0
- package/server/index.mjs +268 -0
- package/server/lib/load-docs.mjs +48 -0
- package/server/lib/normalise-doc.mjs +220 -0
- package/server/lib/render-markdown.mjs +82 -0
- package/server/lib/search-index.mjs +49 -0
- package/server/lib/types.js +99 -0
|
@@ -0,0 +1,1705 @@
|
|
|
1
|
+
{
|
|
2
|
+
"metadata": {
|
|
3
|
+
"captured_at": "2025-11-21T12:07:48.640Z",
|
|
4
|
+
"source": "https://uikit.developers.rio.cloud/#components/states",
|
|
5
|
+
"category": "Components",
|
|
6
|
+
"section": "Content",
|
|
7
|
+
"slug": "components/states",
|
|
8
|
+
"version": "v1.13.2",
|
|
9
|
+
"hash_algorithm": "sha256",
|
|
10
|
+
"hash": "2a8072daa47b7f70641b47f0b7a90726c86e1d9c7e8d85983069da6fd64baba3"
|
|
11
|
+
},
|
|
12
|
+
"title": "ErrorState",
|
|
13
|
+
"lead": "A simple component to show an error to the user.",
|
|
14
|
+
"content": [
|
|
15
|
+
{
|
|
16
|
+
"heading": "ErrorState",
|
|
17
|
+
"body": "",
|
|
18
|
+
"examples": [
|
|
19
|
+
{
|
|
20
|
+
"caption": "Something went wrong",
|
|
21
|
+
"rendered_html": "<div class=\"playground-content bg-lighter padding-20 padding-bottom-25\" style=\"width: 100%;\"><div class=\"display-flex justify-content-center max-width-100pct\"><div class=\"margin-0 width-100pct max-width-600 panel-default panel padding-15\"><div class=\"display-flex flex-column align-items-center text-center padding-25\"><div class=\"text-size-h2 margin-bottom-20\"><span class=\"rioglyph rioglyph-truck-breakdown text-color-light text-size-300pct\"></span></div><div class=\"text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance\">Something went wrong</div><div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\">\nLorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis.</div><div class=\"btn-toolbar margin-top-20\"><button class=\"btn margin-top-10 btn-primary foobar\" type=\"button\"><span class=\"rioglyph rioglyph-refresh\"></span><span>Try again</span></button></div></div></div></div><hr><div class=\"display-flex justify-content-center max-width-100pct\"><div class=\"margin-0 width-100pct max-width-600 panel-default panel padding-10\"><div class=\"display-flex flex-column align-items-center text-center padding-15\"><div class=\"text-size-16 margin-bottom-10\"><span class=\"rioglyph rioglyph-truck-breakdown text-color-light text-size-300pct\"></span></div><div class=\"text-size-h4 line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance\">Condensed version example</div><div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\">\nLorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis.</div><div class=\"btn-toolbar margin-top-20\"><button class=\"btn margin-top-10 btn-primary foobar\" type=\"button\"><span class=\"rioglyph rioglyph-refresh\"></span><span>Try again</span></button></div></div></div></div></div>",
|
|
22
|
+
"tabs": [
|
|
23
|
+
{
|
|
24
|
+
"label": "React",
|
|
25
|
+
"language": "tsx",
|
|
26
|
+
"code": "import ErrorState from '@rio-cloud/rio-uikit/ErrorState';\nimport Notification from '@rio-cloud/rio-uikit/Notification';\n\nimport { dummyTextExtraShort } from '../../../utils/data';\n\nexport default () => (\n <>\n <ErrorState\n headline='Something went wrong'\n message={dummyTextExtraShort}\n buttons={[\n {\n text: (\n <>\n <span className='rioglyph rioglyph-refresh' />\n <span>Try again</span>\n </>\n ),\n className: 'foobar',\n onClick: () => Notification.info('Button pressed'),\n },\n ]}\n />\n <hr />\n <ErrorState\n headline='Condensed version example'\n message={dummyTextExtraShort}\n condensed\n buttons={[\n {\n text: (\n <>\n <span className='rioglyph rioglyph-refresh' />\n <span>Try again</span>\n </>\n ),\n className: 'foobar',\n onClick: () => Notification.info('Button pressed'),\n },\n ]}\n />\n </>\n);"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"label": "HTML",
|
|
30
|
+
"language": "html",
|
|
31
|
+
"code": "<div class=\"display-flex justify-content-center max-width-100pct\">\n <div class=\"margin-0 width-100pct max-width-600 panel-default panel padding-15\">\n <div class=\"display-flex flex-column align-items-center text-center padding-25\">\n <div class=\"text-size-h2 margin-bottom-20\">\n <span class=\"rioglyph rioglyph-truck-breakdown text-color-light text-size-300pct\">\n </span>\n </div>\n <div class=\"text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance\">Something went wrong</div>\n <div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\">\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis.</div>\n <div class=\"btn-toolbar margin-top-20\">\n <button class=\"btn margin-top-10 btn-primary foobar\" type=\"button\">\n <span class=\"rioglyph rioglyph-refresh\">\n </span>\n <span>Try again</span>\n </button>\n </div>\n </div>\n </div>\n</div>\n<hr>\n<div class=\"display-flex justify-content-center max-width-100pct\">\n <div class=\"margin-0 width-100pct max-width-600 panel-default panel padding-10\">\n <div class=\"display-flex flex-column align-items-center text-center padding-15\">\n <div class=\"text-size-16 margin-bottom-10\">\n <span class=\"rioglyph rioglyph-truck-breakdown text-color-light text-size-300pct\">\n </span>\n </div>\n <div class=\"text-size-h4 line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance\">Condensed version example</div>\n <div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\">\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis.</div>\n <div class=\"btn-toolbar margin-top-20\">\n <button class=\"btn margin-top-10 btn-primary foobar\" type=\"button\">\n <span class=\"rioglyph rioglyph-refresh\">\n </span>\n <span>Try again</span>\n </button>\n </div>\n </div>\n </div>\n</div>"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"label": "Props",
|
|
35
|
+
"language": "json",
|
|
36
|
+
"code": null,
|
|
37
|
+
"props": [
|
|
38
|
+
{
|
|
39
|
+
"heading": null,
|
|
40
|
+
"rows": [
|
|
41
|
+
{
|
|
42
|
+
"name": "icon",
|
|
43
|
+
"type": "String",
|
|
44
|
+
"default": "",
|
|
45
|
+
"description": "The icon to be shown. Default icons are defined for all states."
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "icons",
|
|
49
|
+
"type": "Array of Objects",
|
|
50
|
+
"default": "[]",
|
|
51
|
+
"description": "List of icons to show instead a single icon."
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "└name",
|
|
55
|
+
"type": "String",
|
|
56
|
+
"default": "",
|
|
57
|
+
"description": "The name of the icon"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "└color",
|
|
61
|
+
"type": "String",
|
|
62
|
+
"default": "",
|
|
63
|
+
"description": "Optional color class name for the icon"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "└className",
|
|
67
|
+
"type": "String",
|
|
68
|
+
"default": "",
|
|
69
|
+
"description": "Optional class names for this icon."
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "headline",
|
|
73
|
+
"type": "String / Node",
|
|
74
|
+
"default": "",
|
|
75
|
+
"description": "The headline to be shown."
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "message",
|
|
79
|
+
"type": "String / Node",
|
|
80
|
+
"default": "",
|
|
81
|
+
"description": "The text to display."
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "buttons",
|
|
85
|
+
"type": "Array of Objects",
|
|
86
|
+
"default": "[]",
|
|
87
|
+
"description": "Definitions for the buttons to show."
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "bsStyle",
|
|
91
|
+
"type": "String",
|
|
92
|
+
"default": "default",
|
|
93
|
+
"description": "Allows to define various button styles."
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "└text",
|
|
97
|
+
"type": "String / Node",
|
|
98
|
+
"default": "",
|
|
99
|
+
"description": "The button text. This can also be a node with an icon to be shown on the button."
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "└onClick",
|
|
103
|
+
"type": "Function",
|
|
104
|
+
"default": "() => {}",
|
|
105
|
+
"description": "Callback fired after the component starts to collapse."
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "└href",
|
|
109
|
+
"type": "String",
|
|
110
|
+
"default": "",
|
|
111
|
+
"description": "Instead of a callback for the button you can specify an \"href\". This way it will render a link instead."
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "└className",
|
|
115
|
+
"type": "String",
|
|
116
|
+
"default": "",
|
|
117
|
+
"description": "Optional class names for this button."
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "condensed",
|
|
121
|
+
"type": "Boolean",
|
|
122
|
+
"default": "false",
|
|
123
|
+
"description": "Smaller icon and headline size."
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "fullWidth",
|
|
127
|
+
"type": "Boolean",
|
|
128
|
+
"default": "false",
|
|
129
|
+
"description": "Defines whether to use 100% width or default width. NoteOnly to be used for special cases on the CustomState component."
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "image",
|
|
133
|
+
"type": "Node",
|
|
134
|
+
"default": "",
|
|
135
|
+
"description": "Custom Image if needed."
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "alignment",
|
|
139
|
+
"type": "String",
|
|
140
|
+
"default": "center",
|
|
141
|
+
"description": "Defines where the panel is aligned. Possible values are: left center right"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "outerClassName",
|
|
145
|
+
"type": "String",
|
|
146
|
+
"default": "",
|
|
147
|
+
"description": "Optional class names for the wrapper."
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "innerClassName",
|
|
151
|
+
"type": "String",
|
|
152
|
+
"default": "",
|
|
153
|
+
"description": "Optional class names for the content."
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "children",
|
|
157
|
+
"type": "Node",
|
|
158
|
+
"default": "",
|
|
159
|
+
"description": "Additional elements that are rendered below the headline and text."
|
|
160
|
+
}
|
|
161
|
+
]
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
}
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"heading": "NotFoundState",
|
|
171
|
+
"body": "A simple component to show a message when something could not be found when searching or filtering data.",
|
|
172
|
+
"examples": [
|
|
173
|
+
{
|
|
174
|
+
"caption": "Nothing found",
|
|
175
|
+
"rendered_html": "<div class=\"playground-content bg-lighter padding-20 padding-bottom-25\" style=\"width: 100%;\"><div class=\"display-flex justify-content-center max-width-100pct\"><div class=\"margin-0 width-100pct max-width-600 panel-default panel padding-15\"><div class=\"display-flex flex-column align-items-center text-center padding-25\"><div class=\"text-size-h2 margin-bottom-20\"><span class=\"rioglyph rioglyph-looking-glass-man text-color-light text-size-300pct\"></span></div><div class=\"text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance\">Nothing found</div><div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\">\nLorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis. Vivamus elementum ante et est sagittis semper. Ut consectetur enim nec tortor scelerisque tincidunt.</div><div class=\"btn-toolbar margin-top-20\"><button class=\"btn margin-top-10 btn-primary foobar\" type=\"button\"><span class=\"rioglyph rioglyph-refresh\"></span><span>Refresh</span></button></div></div></div></div></div>",
|
|
176
|
+
"tabs": [
|
|
177
|
+
{
|
|
178
|
+
"label": "React",
|
|
179
|
+
"language": "tsx",
|
|
180
|
+
"code": "import NotFoundState from '@rio-cloud/rio-uikit/NotFoundState';\nimport Notification from '@rio-cloud/rio-uikit/Notification';\nimport { dummyTextShort } from '../../../utils/data';\n\nexport default () => (\n <NotFoundState\n headline='Nothing found'\n message={dummyTextShort}\n buttons={[\n {\n text: (\n <>\n <span className='rioglyph rioglyph-refresh' />\n <span>Refresh</span>\n </>\n ),\n className: 'foobar',\n onClick: () => Notification.info('Button pressed'),\n },\n ]}\n />\n);"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"label": "HTML",
|
|
184
|
+
"language": "html",
|
|
185
|
+
"code": "<div class=\"display-flex justify-content-center max-width-100pct\">\n <div class=\"margin-0 width-100pct max-width-600 panel-default panel padding-15\">\n <div class=\"display-flex flex-column align-items-center text-center padding-25\">\n <div class=\"text-size-h2 margin-bottom-20\">\n <span class=\"rioglyph rioglyph-looking-glass-man text-color-light text-size-300pct\">\n </span>\n </div>\n <div class=\"text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance\">Nothing found</div>\n <div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\">\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis. Vivamus elementum ante et est sagittis semper. Ut consectetur enim nec tortor scelerisque tincidunt.</div>\n <div class=\"btn-toolbar margin-top-20\">\n <button class=\"btn margin-top-10 btn-primary foobar\" type=\"button\">\n <span class=\"rioglyph rioglyph-refresh\">\n </span>\n <span>Refresh</span>\n </button>\n </div>\n </div>\n </div>\n</div>"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"label": "Props",
|
|
189
|
+
"language": "json",
|
|
190
|
+
"code": null,
|
|
191
|
+
"props": [
|
|
192
|
+
{
|
|
193
|
+
"heading": null,
|
|
194
|
+
"rows": [
|
|
195
|
+
{
|
|
196
|
+
"name": "icon",
|
|
197
|
+
"type": "String",
|
|
198
|
+
"default": "",
|
|
199
|
+
"description": "The icon to be shown. Default icons are defined for all states."
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "icons",
|
|
203
|
+
"type": "Array of Objects",
|
|
204
|
+
"default": "[]",
|
|
205
|
+
"description": "List of icons to show instead a single icon."
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "└name",
|
|
209
|
+
"type": "String",
|
|
210
|
+
"default": "",
|
|
211
|
+
"description": "The name of the icon"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "└color",
|
|
215
|
+
"type": "String",
|
|
216
|
+
"default": "",
|
|
217
|
+
"description": "Optional color class name for the icon"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "└className",
|
|
221
|
+
"type": "String",
|
|
222
|
+
"default": "",
|
|
223
|
+
"description": "Optional class names for this icon."
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"name": "headline",
|
|
227
|
+
"type": "String / Node",
|
|
228
|
+
"default": "",
|
|
229
|
+
"description": "The headline to be shown."
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"name": "message",
|
|
233
|
+
"type": "String / Node",
|
|
234
|
+
"default": "",
|
|
235
|
+
"description": "The text to display."
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"name": "buttons",
|
|
239
|
+
"type": "Array of Objects",
|
|
240
|
+
"default": "[]",
|
|
241
|
+
"description": "Definitions for the buttons to show."
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"name": "bsStyle",
|
|
245
|
+
"type": "String",
|
|
246
|
+
"default": "default",
|
|
247
|
+
"description": "Allows to define various button styles."
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "└text",
|
|
251
|
+
"type": "String / Node",
|
|
252
|
+
"default": "",
|
|
253
|
+
"description": "The button text. This can also be a node with an icon to be shown on the button."
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"name": "└onClick",
|
|
257
|
+
"type": "Function",
|
|
258
|
+
"default": "() => {}",
|
|
259
|
+
"description": "Callback fired after the component starts to collapse."
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"name": "└href",
|
|
263
|
+
"type": "String",
|
|
264
|
+
"default": "",
|
|
265
|
+
"description": "Instead of a callback for the button you can specify an \"href\". This way it will render a link instead."
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "└className",
|
|
269
|
+
"type": "String",
|
|
270
|
+
"default": "",
|
|
271
|
+
"description": "Optional class names for this button."
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"name": "condensed",
|
|
275
|
+
"type": "Boolean",
|
|
276
|
+
"default": "false",
|
|
277
|
+
"description": "Smaller icon and headline size."
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"name": "fullWidth",
|
|
281
|
+
"type": "Boolean",
|
|
282
|
+
"default": "false",
|
|
283
|
+
"description": "Defines whether to use 100% width or default width. NoteOnly to be used for special cases on the CustomState component."
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"name": "image",
|
|
287
|
+
"type": "Node",
|
|
288
|
+
"default": "",
|
|
289
|
+
"description": "Custom Image if needed."
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "alignment",
|
|
293
|
+
"type": "String",
|
|
294
|
+
"default": "center",
|
|
295
|
+
"description": "Defines where the panel is aligned. Possible values are: left center right"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"name": "outerClassName",
|
|
299
|
+
"type": "String",
|
|
300
|
+
"default": "",
|
|
301
|
+
"description": "Optional class names for the wrapper."
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"name": "innerClassName",
|
|
305
|
+
"type": "String",
|
|
306
|
+
"default": "",
|
|
307
|
+
"description": "Optional class names for the content."
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"name": "children",
|
|
311
|
+
"type": "Node",
|
|
312
|
+
"default": "",
|
|
313
|
+
"description": "Additional elements that are rendered below the headline and text."
|
|
314
|
+
}
|
|
315
|
+
]
|
|
316
|
+
}
|
|
317
|
+
]
|
|
318
|
+
}
|
|
319
|
+
]
|
|
320
|
+
}
|
|
321
|
+
]
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"heading": "EmptyState",
|
|
325
|
+
"body": "A simple component to show a message when there is no data yet. The user may perform a task first in order to see some data in that view..",
|
|
326
|
+
"examples": [
|
|
327
|
+
{
|
|
328
|
+
"caption": "There is no free lunch",
|
|
329
|
+
"rendered_html": "<div class=\"playground-content bg-lighter padding-20 padding-bottom-25\" style=\"width: 100%;\"><div class=\"display-flex justify-content-center max-width-100pct\"><div class=\"margin-0 width-100pct max-width-600 panel-default panel padding-15\"><div class=\"display-flex flex-column align-items-center text-center padding-25\"><div class=\"text-size-h2 margin-bottom-20\"><span class=\"rioglyph rioglyph-empty text-color-light text-size-300pct\"></span></div><div class=\"text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance\">There is no free lunch</div><div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\">\nLorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis.</div><div class=\"btn-toolbar margin-top-20\"><button class=\"btn margin-top-10 btn-primary\" type=\"button\"><span><span class=\"rioglyph rioglyph-plus margin-right-5\"></span><span>Add something</span></span></button></div></div></div></div></div>",
|
|
330
|
+
"tabs": [
|
|
331
|
+
{
|
|
332
|
+
"label": "React",
|
|
333
|
+
"language": "tsx",
|
|
334
|
+
"code": "import EmptyState from '@rio-cloud/rio-uikit/EmptyState';\nimport Notification from '@rio-cloud/rio-uikit/Notification';\n\nimport { dummyTextExtraShort } from '../../../utils/data';\n\nexport default () => (\n <EmptyState\n headline='There is no free lunch'\n message={dummyTextExtraShort}\n buttons={[\n {\n text: (\n <span>\n <span className='rioglyph rioglyph-plus margin-right-5' />\n <span>Add something</span>\n </span>\n ),\n onClick: () => Notification.info('Button pressed'),\n },\n ]}\n />\n);"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"label": "HTML",
|
|
338
|
+
"language": "html",
|
|
339
|
+
"code": "<div class=\"display-flex justify-content-center max-width-100pct\">\n <div class=\"margin-0 width-100pct max-width-600 panel-default panel padding-15\">\n <div class=\"display-flex flex-column align-items-center text-center padding-25\">\n <div class=\"text-size-h2 margin-bottom-20\">\n <span class=\"rioglyph rioglyph-empty text-color-light text-size-300pct\">\n </span>\n </div>\n <div class=\"text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance\">There is no free lunch</div>\n <div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\">\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis.</div>\n <div class=\"btn-toolbar margin-top-20\">\n <button class=\"btn margin-top-10 btn-primary\" type=\"button\">\n <span>\n <span class=\"rioglyph rioglyph-plus margin-right-5\">\n </span>\n <span>Add something</span>\n </span>\n </button>\n </div>\n </div>\n </div>\n</div>"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"label": "Props",
|
|
343
|
+
"language": "json",
|
|
344
|
+
"code": null,
|
|
345
|
+
"props": [
|
|
346
|
+
{
|
|
347
|
+
"heading": null,
|
|
348
|
+
"rows": [
|
|
349
|
+
{
|
|
350
|
+
"name": "icon",
|
|
351
|
+
"type": "String",
|
|
352
|
+
"default": "",
|
|
353
|
+
"description": "The icon to be shown. Default icons are defined for all states."
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"name": "icons",
|
|
357
|
+
"type": "Array of Objects",
|
|
358
|
+
"default": "[]",
|
|
359
|
+
"description": "List of icons to show instead a single icon."
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"name": "└name",
|
|
363
|
+
"type": "String",
|
|
364
|
+
"default": "",
|
|
365
|
+
"description": "The name of the icon"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"name": "└color",
|
|
369
|
+
"type": "String",
|
|
370
|
+
"default": "",
|
|
371
|
+
"description": "Optional color class name for the icon"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"name": "└className",
|
|
375
|
+
"type": "String",
|
|
376
|
+
"default": "",
|
|
377
|
+
"description": "Optional class names for this icon."
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"name": "headline",
|
|
381
|
+
"type": "String / Node",
|
|
382
|
+
"default": "",
|
|
383
|
+
"description": "The headline to be shown."
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"name": "message",
|
|
387
|
+
"type": "String / Node",
|
|
388
|
+
"default": "",
|
|
389
|
+
"description": "The text to display."
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "buttons",
|
|
393
|
+
"type": "Array of Objects",
|
|
394
|
+
"default": "[]",
|
|
395
|
+
"description": "Definitions for the buttons to show."
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"name": "bsStyle",
|
|
399
|
+
"type": "String",
|
|
400
|
+
"default": "default",
|
|
401
|
+
"description": "Allows to define various button styles."
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"name": "└text",
|
|
405
|
+
"type": "String / Node",
|
|
406
|
+
"default": "",
|
|
407
|
+
"description": "The button text. This can also be a node with an icon to be shown on the button."
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"name": "└onClick",
|
|
411
|
+
"type": "Function",
|
|
412
|
+
"default": "() => {}",
|
|
413
|
+
"description": "Callback fired after the component starts to collapse."
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"name": "└href",
|
|
417
|
+
"type": "String",
|
|
418
|
+
"default": "",
|
|
419
|
+
"description": "Instead of a callback for the button you can specify an \"href\". This way it will render a link instead."
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"name": "└className",
|
|
423
|
+
"type": "String",
|
|
424
|
+
"default": "",
|
|
425
|
+
"description": "Optional class names for this button."
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"name": "condensed",
|
|
429
|
+
"type": "Boolean",
|
|
430
|
+
"default": "false",
|
|
431
|
+
"description": "Smaller icon and headline size."
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"name": "fullWidth",
|
|
435
|
+
"type": "Boolean",
|
|
436
|
+
"default": "false",
|
|
437
|
+
"description": "Defines whether to use 100% width or default width. NoteOnly to be used for special cases on the CustomState component."
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"name": "image",
|
|
441
|
+
"type": "Node",
|
|
442
|
+
"default": "",
|
|
443
|
+
"description": "Custom Image if needed."
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"name": "alignment",
|
|
447
|
+
"type": "String",
|
|
448
|
+
"default": "center",
|
|
449
|
+
"description": "Defines where the panel is aligned. Possible values are: left center right"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"name": "outerClassName",
|
|
453
|
+
"type": "String",
|
|
454
|
+
"default": "",
|
|
455
|
+
"description": "Optional class names for the wrapper."
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"name": "innerClassName",
|
|
459
|
+
"type": "String",
|
|
460
|
+
"default": "",
|
|
461
|
+
"description": "Optional class names for the content."
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"name": "children",
|
|
465
|
+
"type": "Node",
|
|
466
|
+
"default": "",
|
|
467
|
+
"description": "Additional elements that are rendered below the headline and text."
|
|
468
|
+
}
|
|
469
|
+
]
|
|
470
|
+
}
|
|
471
|
+
]
|
|
472
|
+
}
|
|
473
|
+
]
|
|
474
|
+
}
|
|
475
|
+
]
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"heading": "ForbiddenState",
|
|
479
|
+
"body": "A simple component to show a message when the access to a certain area is restricted.",
|
|
480
|
+
"examples": [
|
|
481
|
+
{
|
|
482
|
+
"caption": "Access not allowed",
|
|
483
|
+
"rendered_html": "<div class=\"playground-content bg-lighter padding-20 padding-bottom-25\" style=\"width: 100%;\"><div class=\"display-flex justify-content-center max-width-100pct\"><div class=\"margin-0 width-100pct max-width-600 panel-default panel padding-15\"><div class=\"display-flex flex-column align-items-center text-center padding-25\"><div class=\"text-size-h2 margin-bottom-20\"><span class=\"rioglyph rioglyph-ban-circle text-color-light text-size-300pct\"></span></div><div class=\"text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance\">Access not allowed</div><div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\">You are not allowed to access this resource. Please contact your manager or administrator to gain access.</div><div class=\"btn-toolbar margin-top-20\"><button class=\"btn margin-top-10 btn-primary\" type=\"button\">Request access</button></div></div></div></div></div>",
|
|
484
|
+
"tabs": [
|
|
485
|
+
{
|
|
486
|
+
"label": "React",
|
|
487
|
+
"language": "tsx",
|
|
488
|
+
"code": "import ForbiddenState from '@rio-cloud/rio-uikit/ForbiddenState';\nimport Notification from '@rio-cloud/rio-uikit/Notification';\n\nexport default () => (\n <ForbiddenState\n headline='Access not allowed'\n message={\n 'You are not allowed to access this resource. ' +\n 'Please contact your manager or administrator to gain access.'\n }\n buttons={[\n {\n text: 'Request access',\n onClick: () => Notification.info('Button pressed'),\n },\n ]}\n />\n);"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"label": "HTML",
|
|
492
|
+
"language": "html",
|
|
493
|
+
"code": "<div class=\"display-flex justify-content-center max-width-100pct\">\n <div class=\"margin-0 width-100pct max-width-600 panel-default panel padding-15\">\n <div class=\"display-flex flex-column align-items-center text-center padding-25\">\n <div class=\"text-size-h2 margin-bottom-20\">\n <span class=\"rioglyph rioglyph-ban-circle text-color-light text-size-300pct\">\n </span>\n </div>\n <div class=\"text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance\">Access not allowed</div>\n <div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\">You are not allowed to access this resource. Please contact your manager or administrator to gain access.</div>\n <div class=\"btn-toolbar margin-top-20\">\n <button class=\"btn margin-top-10 btn-primary\" type=\"button\">Request access</button>\n </div>\n </div>\n </div>\n</div>"
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"label": "Props",
|
|
497
|
+
"language": "json",
|
|
498
|
+
"code": null,
|
|
499
|
+
"props": [
|
|
500
|
+
{
|
|
501
|
+
"heading": null,
|
|
502
|
+
"rows": [
|
|
503
|
+
{
|
|
504
|
+
"name": "icon",
|
|
505
|
+
"type": "String",
|
|
506
|
+
"default": "",
|
|
507
|
+
"description": "The icon to be shown. Default icons are defined for all states."
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"name": "icons",
|
|
511
|
+
"type": "Array of Objects",
|
|
512
|
+
"default": "[]",
|
|
513
|
+
"description": "List of icons to show instead a single icon."
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"name": "└name",
|
|
517
|
+
"type": "String",
|
|
518
|
+
"default": "",
|
|
519
|
+
"description": "The name of the icon"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"name": "└color",
|
|
523
|
+
"type": "String",
|
|
524
|
+
"default": "",
|
|
525
|
+
"description": "Optional color class name for the icon"
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"name": "└className",
|
|
529
|
+
"type": "String",
|
|
530
|
+
"default": "",
|
|
531
|
+
"description": "Optional class names for this icon."
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"name": "headline",
|
|
535
|
+
"type": "String / Node",
|
|
536
|
+
"default": "",
|
|
537
|
+
"description": "The headline to be shown."
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"name": "message",
|
|
541
|
+
"type": "String / Node",
|
|
542
|
+
"default": "",
|
|
543
|
+
"description": "The text to display."
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"name": "buttons",
|
|
547
|
+
"type": "Array of Objects",
|
|
548
|
+
"default": "[]",
|
|
549
|
+
"description": "Definitions for the buttons to show."
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"name": "bsStyle",
|
|
553
|
+
"type": "String",
|
|
554
|
+
"default": "default",
|
|
555
|
+
"description": "Allows to define various button styles."
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"name": "└text",
|
|
559
|
+
"type": "String / Node",
|
|
560
|
+
"default": "",
|
|
561
|
+
"description": "The button text. This can also be a node with an icon to be shown on the button."
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"name": "└onClick",
|
|
565
|
+
"type": "Function",
|
|
566
|
+
"default": "() => {}",
|
|
567
|
+
"description": "Callback fired after the component starts to collapse."
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"name": "└href",
|
|
571
|
+
"type": "String",
|
|
572
|
+
"default": "",
|
|
573
|
+
"description": "Instead of a callback for the button you can specify an \"href\". This way it will render a link instead."
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"name": "└className",
|
|
577
|
+
"type": "String",
|
|
578
|
+
"default": "",
|
|
579
|
+
"description": "Optional class names for this button."
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"name": "condensed",
|
|
583
|
+
"type": "Boolean",
|
|
584
|
+
"default": "false",
|
|
585
|
+
"description": "Smaller icon and headline size."
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"name": "fullWidth",
|
|
589
|
+
"type": "Boolean",
|
|
590
|
+
"default": "false",
|
|
591
|
+
"description": "Defines whether to use 100% width or default width. NoteOnly to be used for special cases on the CustomState component."
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"name": "image",
|
|
595
|
+
"type": "Node",
|
|
596
|
+
"default": "",
|
|
597
|
+
"description": "Custom Image if needed."
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"name": "alignment",
|
|
601
|
+
"type": "String",
|
|
602
|
+
"default": "center",
|
|
603
|
+
"description": "Defines where the panel is aligned. Possible values are: left center right"
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
"name": "outerClassName",
|
|
607
|
+
"type": "String",
|
|
608
|
+
"default": "",
|
|
609
|
+
"description": "Optional class names for the wrapper."
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"name": "innerClassName",
|
|
613
|
+
"type": "String",
|
|
614
|
+
"default": "",
|
|
615
|
+
"description": "Optional class names for the content."
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"name": "children",
|
|
619
|
+
"type": "Node",
|
|
620
|
+
"default": "",
|
|
621
|
+
"description": "Additional elements that are rendered below the headline and text."
|
|
622
|
+
}
|
|
623
|
+
]
|
|
624
|
+
}
|
|
625
|
+
]
|
|
626
|
+
}
|
|
627
|
+
]
|
|
628
|
+
}
|
|
629
|
+
]
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"heading": "MaintenanceState",
|
|
633
|
+
"body": "A simple component to show a message when a service is in maintenance.",
|
|
634
|
+
"examples": [
|
|
635
|
+
{
|
|
636
|
+
"caption": "Service in maintenance",
|
|
637
|
+
"rendered_html": "<div class=\"playground-content bg-lighter padding-20 padding-bottom-25\" style=\"width: 100%;\"><div class=\"display-flex justify-content-center max-width-100pct\"><div class=\"margin-0 width-100pct max-width-600 panel-default panel padding-15\"><div class=\"display-flex flex-column align-items-center text-center padding-25\"><div class=\"text-size-h2 margin-bottom-20\"><span class=\"rioglyph rioglyph-wrench text-color-light text-size-300pct\"></span></div><div class=\"text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance\">Service in maintenance</div><div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\">We are sorry for the inconvenience. The interruption will be resolved shortly.</div></div></div></div></div>",
|
|
638
|
+
"tabs": [
|
|
639
|
+
{
|
|
640
|
+
"label": "React",
|
|
641
|
+
"language": "tsx",
|
|
642
|
+
"code": "import MaintenanceState from '@rio-cloud/rio-uikit/MaintenanceState';\n\nexport default () => (\n <MaintenanceState\n headline='Service in maintenance'\n message='We are sorry for the inconvenience. The interruption will be resolved shortly.'\n />\n);"
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"label": "HTML",
|
|
646
|
+
"language": "html",
|
|
647
|
+
"code": "<div class=\"display-flex justify-content-center max-width-100pct\">\n <div class=\"margin-0 width-100pct max-width-600 panel-default panel padding-15\">\n <div class=\"display-flex flex-column align-items-center text-center padding-25\">\n <div class=\"text-size-h2 margin-bottom-20\">\n <span class=\"rioglyph rioglyph-wrench text-color-light text-size-300pct\">\n </span>\n </div>\n <div class=\"text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance\">Service in maintenance</div>\n <div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\">We are sorry for the inconvenience. The interruption will be resolved shortly.</div>\n </div>\n </div>\n</div>"
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"label": "Props",
|
|
651
|
+
"language": "json",
|
|
652
|
+
"code": null,
|
|
653
|
+
"props": [
|
|
654
|
+
{
|
|
655
|
+
"heading": null,
|
|
656
|
+
"rows": [
|
|
657
|
+
{
|
|
658
|
+
"name": "icon",
|
|
659
|
+
"type": "String",
|
|
660
|
+
"default": "",
|
|
661
|
+
"description": "The icon to be shown. Default icons are defined for all states."
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"name": "icons",
|
|
665
|
+
"type": "Array of Objects",
|
|
666
|
+
"default": "[]",
|
|
667
|
+
"description": "List of icons to show instead a single icon."
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
"name": "└name",
|
|
671
|
+
"type": "String",
|
|
672
|
+
"default": "",
|
|
673
|
+
"description": "The name of the icon"
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"name": "└color",
|
|
677
|
+
"type": "String",
|
|
678
|
+
"default": "",
|
|
679
|
+
"description": "Optional color class name for the icon"
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"name": "└className",
|
|
683
|
+
"type": "String",
|
|
684
|
+
"default": "",
|
|
685
|
+
"description": "Optional class names for this icon."
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"name": "headline",
|
|
689
|
+
"type": "String / Node",
|
|
690
|
+
"default": "",
|
|
691
|
+
"description": "The headline to be shown."
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
"name": "message",
|
|
695
|
+
"type": "String / Node",
|
|
696
|
+
"default": "",
|
|
697
|
+
"description": "The text to display."
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"name": "buttons",
|
|
701
|
+
"type": "Array of Objects",
|
|
702
|
+
"default": "[]",
|
|
703
|
+
"description": "Definitions for the buttons to show."
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
"name": "bsStyle",
|
|
707
|
+
"type": "String",
|
|
708
|
+
"default": "default",
|
|
709
|
+
"description": "Allows to define various button styles."
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"name": "└text",
|
|
713
|
+
"type": "String / Node",
|
|
714
|
+
"default": "",
|
|
715
|
+
"description": "The button text. This can also be a node with an icon to be shown on the button."
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"name": "└onClick",
|
|
719
|
+
"type": "Function",
|
|
720
|
+
"default": "() => {}",
|
|
721
|
+
"description": "Callback fired after the component starts to collapse."
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"name": "└href",
|
|
725
|
+
"type": "String",
|
|
726
|
+
"default": "",
|
|
727
|
+
"description": "Instead of a callback for the button you can specify an \"href\". This way it will render a link instead."
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
"name": "└className",
|
|
731
|
+
"type": "String",
|
|
732
|
+
"default": "",
|
|
733
|
+
"description": "Optional class names for this button."
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"name": "condensed",
|
|
737
|
+
"type": "Boolean",
|
|
738
|
+
"default": "false",
|
|
739
|
+
"description": "Smaller icon and headline size."
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"name": "fullWidth",
|
|
743
|
+
"type": "Boolean",
|
|
744
|
+
"default": "false",
|
|
745
|
+
"description": "Defines whether to use 100% width or default width. NoteOnly to be used for special cases on the CustomState component."
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
"name": "image",
|
|
749
|
+
"type": "Node",
|
|
750
|
+
"default": "",
|
|
751
|
+
"description": "Custom Image if needed."
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
"name": "alignment",
|
|
755
|
+
"type": "String",
|
|
756
|
+
"default": "center",
|
|
757
|
+
"description": "Defines where the panel is aligned. Possible values are: left center right"
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
"name": "outerClassName",
|
|
761
|
+
"type": "String",
|
|
762
|
+
"default": "",
|
|
763
|
+
"description": "Optional class names for the wrapper."
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"name": "innerClassName",
|
|
767
|
+
"type": "String",
|
|
768
|
+
"default": "",
|
|
769
|
+
"description": "Optional class names for the content."
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"name": "children",
|
|
773
|
+
"type": "Node",
|
|
774
|
+
"default": "",
|
|
775
|
+
"description": "Additional elements that are rendered below the headline and text."
|
|
776
|
+
}
|
|
777
|
+
]
|
|
778
|
+
}
|
|
779
|
+
]
|
|
780
|
+
}
|
|
781
|
+
]
|
|
782
|
+
}
|
|
783
|
+
]
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"heading": "CustomState",
|
|
787
|
+
"body": "All state components above are based on the more flexible CustomState component. Use this if you need something to be shown which cannot be accomplished otherwise.",
|
|
788
|
+
"examples": [
|
|
789
|
+
{
|
|
790
|
+
"caption": "Lorem ipsum dolor sit amet",
|
|
791
|
+
"rendered_html": "<div class=\"playground-content bg-lighter padding-20 padding-bottom-25\" style=\"width: 100%;\"><div class=\"display-flex justify-content-center max-width-100pct\" data-testid=\"demo-test\"><div class=\"margin-0 width-100pct max-width-600 panel-default panel padding-15\"><div class=\"display-flex flex-column align-items-center text-center padding-25\"><div class=\"text-size-h2 margin-bottom-20 display-flex align-items-center max-width-100pct\"><span class=\"rioglyph rioglyph-ok-sign text-color-highlight text-size-300pct\"></span></div><div class=\"text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance\">Lorem ipsum dolor sit amet</div><div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\">\nLorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis.</div><div class=\"btn-toolbar margin-top-20 justify-content-center-xs\"><button class=\"btn margin-top-10 btn-default foobar\" type=\"button\"><span>Do something button</span></button><button class=\"btn margin-top-10 btn-primary foobar\" type=\"button\"><span>Primary call to action</span></button></div></div></div></div></div>",
|
|
792
|
+
"tabs": [
|
|
793
|
+
{
|
|
794
|
+
"label": "React",
|
|
795
|
+
"language": "tsx",
|
|
796
|
+
"code": "import CustomState from '@rio-cloud/rio-uikit/CustomState';\nimport Notification from '@rio-cloud/rio-uikit/Notification';\n\nimport { dummyTextExtraShort } from '../../../utils/data';\n\nexport default () => (\n <CustomState\n headline='Lorem ipsum dolor sit amet'\n message={dummyTextExtraShort}\n data-testid='demo-test'\n icons={[\n {\n name: 'rioglyph-ok-sign',\n color: 'text-color-highlight',\n className: 'text-size-300pct',\n },\n ]}\n buttons={[\n {\n text: <span>Do something button</span>,\n bsStyle: 'default',\n className: 'foobar',\n onClick: () => Notification.info('Button pressed'),\n },\n {\n text: <span>Primary call to action</span>,\n className: 'foobar',\n onClick: () => Notification.info('Button pressed'),\n },\n ]}\n />\n);"
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
"label": "HTML",
|
|
800
|
+
"language": "html",
|
|
801
|
+
"code": "<div class=\"display-flex justify-content-center max-width-100pct\" data-testid=\"demo-test\">\n <div class=\"margin-0 width-100pct max-width-600 panel-default panel padding-15\">\n <div class=\"display-flex flex-column align-items-center text-center padding-25\">\n <div class=\"text-size-h2 margin-bottom-20 display-flex align-items-center max-width-100pct\">\n <span class=\"rioglyph rioglyph-ok-sign text-color-highlight text-size-300pct\">\n </span>\n </div>\n <div class=\"text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance\">Lorem ipsum dolor sit amet</div>\n <div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\">\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis.</div>\n <div class=\"btn-toolbar margin-top-20 justify-content-center-xs\">\n <button class=\"btn margin-top-10 btn-default foobar\" type=\"button\">\n <span>Do something button</span>\n </button>\n <button class=\"btn margin-top-10 btn-primary foobar\" type=\"button\">\n <span>Primary call to action</span>\n </button>\n </div>\n </div>\n </div>\n</div>"
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"label": "Props",
|
|
805
|
+
"language": "json",
|
|
806
|
+
"code": null,
|
|
807
|
+
"props": [
|
|
808
|
+
{
|
|
809
|
+
"heading": null,
|
|
810
|
+
"rows": [
|
|
811
|
+
{
|
|
812
|
+
"name": "icon",
|
|
813
|
+
"type": "String",
|
|
814
|
+
"default": "",
|
|
815
|
+
"description": "The icon to be shown. Default icons are defined for all states."
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
"name": "icons",
|
|
819
|
+
"type": "Array of Objects",
|
|
820
|
+
"default": "[]",
|
|
821
|
+
"description": "List of icons to show instead a single icon."
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
"name": "└name",
|
|
825
|
+
"type": "String",
|
|
826
|
+
"default": "",
|
|
827
|
+
"description": "The name of the icon"
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"name": "└color",
|
|
831
|
+
"type": "String",
|
|
832
|
+
"default": "",
|
|
833
|
+
"description": "Optional color class name for the icon"
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"name": "└className",
|
|
837
|
+
"type": "String",
|
|
838
|
+
"default": "",
|
|
839
|
+
"description": "Optional class names for this icon."
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"name": "headline",
|
|
843
|
+
"type": "String / Node",
|
|
844
|
+
"default": "",
|
|
845
|
+
"description": "The headline to be shown."
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
"name": "message",
|
|
849
|
+
"type": "String / Node",
|
|
850
|
+
"default": "",
|
|
851
|
+
"description": "The text to display."
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
"name": "buttons",
|
|
855
|
+
"type": "Array of Objects",
|
|
856
|
+
"default": "[]",
|
|
857
|
+
"description": "Definitions for the buttons to show."
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
"name": "bsStyle",
|
|
861
|
+
"type": "String",
|
|
862
|
+
"default": "default",
|
|
863
|
+
"description": "Allows to define various button styles."
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
"name": "└text",
|
|
867
|
+
"type": "String / Node",
|
|
868
|
+
"default": "",
|
|
869
|
+
"description": "The button text. This can also be a node with an icon to be shown on the button."
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
"name": "└onClick",
|
|
873
|
+
"type": "Function",
|
|
874
|
+
"default": "() => {}",
|
|
875
|
+
"description": "Callback fired after the component starts to collapse."
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
"name": "└href",
|
|
879
|
+
"type": "String",
|
|
880
|
+
"default": "",
|
|
881
|
+
"description": "Instead of a callback for the button you can specify an \"href\". This way it will render a link instead."
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
"name": "└className",
|
|
885
|
+
"type": "String",
|
|
886
|
+
"default": "",
|
|
887
|
+
"description": "Optional class names for this button."
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
"name": "condensed",
|
|
891
|
+
"type": "Boolean",
|
|
892
|
+
"default": "false",
|
|
893
|
+
"description": "Smaller icon and headline size."
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
"name": "fullWidth",
|
|
897
|
+
"type": "Boolean",
|
|
898
|
+
"default": "false",
|
|
899
|
+
"description": "Defines whether to use 100% width or default width. NoteOnly to be used for special cases on the CustomState component."
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"name": "image",
|
|
903
|
+
"type": "Node",
|
|
904
|
+
"default": "",
|
|
905
|
+
"description": "Custom Image if needed."
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
"name": "alignment",
|
|
909
|
+
"type": "String",
|
|
910
|
+
"default": "center",
|
|
911
|
+
"description": "Defines where the panel is aligned. Possible values are: left center right"
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
"name": "outerClassName",
|
|
915
|
+
"type": "String",
|
|
916
|
+
"default": "",
|
|
917
|
+
"description": "Optional class names for the wrapper."
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
"name": "innerClassName",
|
|
921
|
+
"type": "String",
|
|
922
|
+
"default": "",
|
|
923
|
+
"description": "Optional class names for the content."
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
"name": "children",
|
|
927
|
+
"type": "Node",
|
|
928
|
+
"default": "",
|
|
929
|
+
"description": "Additional elements that are rendered below the headline and text."
|
|
930
|
+
}
|
|
931
|
+
]
|
|
932
|
+
}
|
|
933
|
+
]
|
|
934
|
+
}
|
|
935
|
+
]
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
"caption": "You don't have access to this issue",
|
|
939
|
+
"rendered_html": "<div class=\"playground-content bg-lighter padding-20 padding-bottom-25\" style=\"width: 100%;\"><div class=\"display-flex justify-content-center max-width-100pct\"><div class=\"margin-0 width-100pct max-width-600 panel-default panel padding-15\"><div class=\"display-flex flex-column align-items-center text-center padding-25\"><div class=\"text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance\"><span>You don't have access to this issue</span></div><div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\"><span>Make sure the issue exists in this project. If it does, ask a project admin for permission to see the project's issues.</span></div><div class=\"btn-toolbar margin-top-20 justify-content-center-xs\"><button class=\"btn margin-top-10 btn-default\" type=\"button\"><span>View permissions</span></button><button class=\"btn margin-top-10 btn-primary\" type=\"button\"><span>Request access</span></button></div><div class=\"btn-toolbar\"><a class=\"margin-top-15 btn-link\" href=\"#\"><span>Learn more</span></a></div></div></div></div></div>",
|
|
940
|
+
"tabs": [
|
|
941
|
+
{
|
|
942
|
+
"label": "React",
|
|
943
|
+
"language": "tsx",
|
|
944
|
+
"code": "import CustomState from '@rio-cloud/rio-uikit/CustomState';\nimport Notification from '@rio-cloud/rio-uikit/Notification';\n\nimport { dummyTextShort } from '../../../utils/data';\n\nexport default () => (\n <CustomState\n headline={<span>You don't have access to this issue</span>}\n message={\n <span>\n Make sure the issue exists in this project. If it does, ask a project admin for permission to see the\n project's issues.\n </span>\n }\n buttons={[\n {\n text: <span>View permissions</span>,\n bsStyle: 'default',\n onClick: () => Notification.info('Button pressed'),\n },\n {\n text: <span>Request access</span>,\n onClick: () => Notification.info('Button pressed'),\n },\n {\n text: <span>Learn more</span>,\n className: 'btn-link',\n href: '#',\n },\n ]}\n />\n);"
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
"label": "HTML",
|
|
948
|
+
"language": "html",
|
|
949
|
+
"code": "<div class=\"display-flex justify-content-center max-width-100pct\">\n <div class=\"margin-0 width-100pct max-width-600 panel-default panel padding-15\">\n <div class=\"display-flex flex-column align-items-center text-center padding-25\">\n <div class=\"text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance\">\n <span>You don't have access to this issue</span>\n </div>\n <div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\">\n <span>Make sure the issue exists in this project. If it does, ask a project admin for permission to see the project's issues.</span>\n </div>\n <div class=\"btn-toolbar margin-top-20 justify-content-center-xs\">\n <button class=\"btn margin-top-10 btn-default\" type=\"button\">\n <span>View permissions</span>\n </button>\n <button class=\"btn margin-top-10 btn-primary\" type=\"button\">\n <span>Request access</span>\n </button>\n </div>\n <div class=\"btn-toolbar\">\n <a class=\"margin-top-15 btn-link\" href=\"#\">\n <span>Learn more</span>\n </a>\n </div>\n </div>\n </div>\n</div>"
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
"label": "Props",
|
|
953
|
+
"language": "json",
|
|
954
|
+
"code": null,
|
|
955
|
+
"props": [
|
|
956
|
+
{
|
|
957
|
+
"heading": null,
|
|
958
|
+
"rows": [
|
|
959
|
+
{
|
|
960
|
+
"name": "icon",
|
|
961
|
+
"type": "String",
|
|
962
|
+
"default": "",
|
|
963
|
+
"description": "The icon to be shown. Default icons are defined for all states."
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
"name": "icons",
|
|
967
|
+
"type": "Array of Objects",
|
|
968
|
+
"default": "[]",
|
|
969
|
+
"description": "List of icons to show instead a single icon."
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
"name": "└name",
|
|
973
|
+
"type": "String",
|
|
974
|
+
"default": "",
|
|
975
|
+
"description": "The name of the icon"
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
"name": "└color",
|
|
979
|
+
"type": "String",
|
|
980
|
+
"default": "",
|
|
981
|
+
"description": "Optional color class name for the icon"
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"name": "└className",
|
|
985
|
+
"type": "String",
|
|
986
|
+
"default": "",
|
|
987
|
+
"description": "Optional class names for this icon."
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
"name": "headline",
|
|
991
|
+
"type": "String / Node",
|
|
992
|
+
"default": "",
|
|
993
|
+
"description": "The headline to be shown."
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
"name": "message",
|
|
997
|
+
"type": "String / Node",
|
|
998
|
+
"default": "",
|
|
999
|
+
"description": "The text to display."
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
"name": "buttons",
|
|
1003
|
+
"type": "Array of Objects",
|
|
1004
|
+
"default": "[]",
|
|
1005
|
+
"description": "Definitions for the buttons to show."
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"name": "bsStyle",
|
|
1009
|
+
"type": "String",
|
|
1010
|
+
"default": "default",
|
|
1011
|
+
"description": "Allows to define various button styles."
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
"name": "└text",
|
|
1015
|
+
"type": "String / Node",
|
|
1016
|
+
"default": "",
|
|
1017
|
+
"description": "The button text. This can also be a node with an icon to be shown on the button."
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"name": "└onClick",
|
|
1021
|
+
"type": "Function",
|
|
1022
|
+
"default": "() => {}",
|
|
1023
|
+
"description": "Callback fired after the component starts to collapse."
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
"name": "└href",
|
|
1027
|
+
"type": "String",
|
|
1028
|
+
"default": "",
|
|
1029
|
+
"description": "Instead of a callback for the button you can specify an \"href\". This way it will render a link instead."
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
"name": "└className",
|
|
1033
|
+
"type": "String",
|
|
1034
|
+
"default": "",
|
|
1035
|
+
"description": "Optional class names for this button."
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
"name": "condensed",
|
|
1039
|
+
"type": "Boolean",
|
|
1040
|
+
"default": "false",
|
|
1041
|
+
"description": "Smaller icon and headline size."
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
"name": "fullWidth",
|
|
1045
|
+
"type": "Boolean",
|
|
1046
|
+
"default": "false",
|
|
1047
|
+
"description": "Defines whether to use 100% width or default width. NoteOnly to be used for special cases on the CustomState component."
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
"name": "image",
|
|
1051
|
+
"type": "Node",
|
|
1052
|
+
"default": "",
|
|
1053
|
+
"description": "Custom Image if needed."
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
"name": "alignment",
|
|
1057
|
+
"type": "String",
|
|
1058
|
+
"default": "center",
|
|
1059
|
+
"description": "Defines where the panel is aligned. Possible values are: left center right"
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
"name": "outerClassName",
|
|
1063
|
+
"type": "String",
|
|
1064
|
+
"default": "",
|
|
1065
|
+
"description": "Optional class names for the wrapper."
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"name": "innerClassName",
|
|
1069
|
+
"type": "String",
|
|
1070
|
+
"default": "",
|
|
1071
|
+
"description": "Optional class names for the content."
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
"name": "children",
|
|
1075
|
+
"type": "Node",
|
|
1076
|
+
"default": "",
|
|
1077
|
+
"description": "Additional elements that are rendered below the headline and text."
|
|
1078
|
+
}
|
|
1079
|
+
]
|
|
1080
|
+
}
|
|
1081
|
+
]
|
|
1082
|
+
}
|
|
1083
|
+
]
|
|
1084
|
+
}
|
|
1085
|
+
]
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
"heading": "NotBookedState",
|
|
1089
|
+
"body": "A simple component to show a message when Service content requires a Marketplace booking.",
|
|
1090
|
+
"examples": [
|
|
1091
|
+
{
|
|
1092
|
+
"caption": "Premium feature",
|
|
1093
|
+
"rendered_html": "<div class=\"playground-content bg-lighter padding-20 padding-bottom-25\" style=\"width: 100%;\"><div class=\"display-flex justify-content-center max-width-100pct\"><div class=\"margin-0 width-100pct max-width-600 panel-default panel padding-15\"><div class=\"display-flex flex-column align-items-center text-center padding-25\"><div class=\"text-size-h2 margin-bottom-20 display-flex align-items-center max-width-100pct\"><span class=\"rioglyph rioglyph-stars text-color-primary text-size-300pct\"></span></div><div class=\"text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance\">Premium feature</div><div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\"><div class=\"text-medium margin-bottom-20\">Book Timed now and get access to the following and many more special features</div><ul class=\"feature-list icon-list margin-x-10pct-ls margin-y-10 text-size-12 text-size-14-sm\" id=\"features\"><li class=\"padding-x-15 bg-lightest rounded rounded-large border-none display-flex align-items-center gap-2 text-left\"><span class=\"rioglyph rioglyph-ok text-color-primary\"></span><span class=\"text-color-darker\">Residual driving times and break periods are clearly displayed. This enables you to avoid costly driving time violations.</span></li><li class=\"padding-x-15 bg-lightest rounded rounded-large border-none display-flex align-items-center gap-2 text-left\"><span class=\"rioglyph rioglyph-ok text-color-primary\"></span><span class=\"text-color-darker\">The driver’s activities are transmitted automatically and archived on the platform for 90 days.</span></li></ul></div><div class=\"width-500 max-width-100pct margin-top-25\"><iframe class=\"buyButton\" src=\"https://buybutton.marketplace.rio.cloud/?productId=RIO-SKU00000027\"></iframe></div></div></div></div></div>",
|
|
1094
|
+
"tabs": [
|
|
1095
|
+
{
|
|
1096
|
+
"label": "React",
|
|
1097
|
+
"language": "tsx",
|
|
1098
|
+
"code": "import NotBookedState from '@rio-cloud/rio-uikit/NotBookedState';\n\nexport default () => (\n <NotBookedState\n headline='Premium feature'\n message='Book Timed now and get access to the following and many more special features'\n features={[\n 'Residual driving times and break periods are clearly displayed. This enables you to avoid costly driving time violations.',\n 'The driver’s activities are transmitted automatically and archived on the platform for 90 days.',\n ]}\n >\n <iframe className='buyButton' src='https://buybutton.marketplace.rio.cloud/?productId=RIO-SKU00000027' />\n </NotBookedState>\n);"
|
|
1099
|
+
},
|
|
1100
|
+
{
|
|
1101
|
+
"label": "HTML",
|
|
1102
|
+
"language": "html",
|
|
1103
|
+
"code": "<div class=\"display-flex justify-content-center max-width-100pct\">\n <div class=\"margin-0 width-100pct max-width-600 panel-default panel padding-15\">\n <div class=\"display-flex flex-column align-items-center text-center padding-25\">\n <div class=\"text-size-h2 margin-bottom-20 display-flex align-items-center max-width-100pct\">\n <span class=\"rioglyph rioglyph-stars text-color-primary text-size-300pct\">\n </span>\n </div>\n <div class=\"text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance\">Premium feature</div>\n <div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\">\n <div class=\"text-medium margin-bottom-20\">Book Timed now and get access to the following and many more special features</div>\n <ul class=\"feature-list icon-list margin-x-10pct-ls margin-y-10 text-size-12 text-size-14-sm\" id=\"features\">\n <li class=\"padding-x-15 bg-lightest rounded rounded-large border-none display-flex align-items-center gap-2 text-left\">\n <span class=\"rioglyph rioglyph-ok text-color-primary\">\n </span>\n <span class=\"text-color-darker\">Residual driving times and break periods are clearly displayed. This enables you to avoid costly driving time violations.</span>\n </li>\n <li class=\"padding-x-15 bg-lightest rounded rounded-large border-none display-flex align-items-center gap-2 text-left\">\n <span class=\"rioglyph rioglyph-ok text-color-primary\">\n </span>\n <span class=\"text-color-darker\">The driver’s activities are transmitted automatically and archived on the platform for 90 days.</span>\n </li>\n </ul>\n </div>\n <div class=\"width-500 max-width-100pct margin-top-25\">\n <iframe class=\"buyButton\" src=\"https://buybutton.marketplace.rio.cloud/?productId=RIO-SKU00000027\">\n </iframe>\n </div>\n </div>\n </div>\n</div>"
|
|
1104
|
+
},
|
|
1105
|
+
{
|
|
1106
|
+
"label": "Props",
|
|
1107
|
+
"language": "json",
|
|
1108
|
+
"code": null,
|
|
1109
|
+
"props": [
|
|
1110
|
+
{
|
|
1111
|
+
"heading": null,
|
|
1112
|
+
"rows": [
|
|
1113
|
+
{
|
|
1114
|
+
"name": "icon",
|
|
1115
|
+
"type": "String",
|
|
1116
|
+
"default": "",
|
|
1117
|
+
"description": "The icon to be shown. Default icons are defined for all states."
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"name": "icons",
|
|
1121
|
+
"type": "Array of Objects",
|
|
1122
|
+
"default": "[]",
|
|
1123
|
+
"description": "List of icons to show instead a single icon."
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
"name": "└name",
|
|
1127
|
+
"type": "String",
|
|
1128
|
+
"default": "",
|
|
1129
|
+
"description": "The name of the icon"
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
"name": "└color",
|
|
1133
|
+
"type": "String",
|
|
1134
|
+
"default": "",
|
|
1135
|
+
"description": "Optional color class name for the icon"
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
"name": "└className",
|
|
1139
|
+
"type": "String",
|
|
1140
|
+
"default": "",
|
|
1141
|
+
"description": "Optional class names for this icon."
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
"name": "buttons",
|
|
1145
|
+
"type": "Array of Objects",
|
|
1146
|
+
"default": "[]",
|
|
1147
|
+
"description": "Definitions for the buttons to show."
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
"name": "bsStyle",
|
|
1151
|
+
"type": "String",
|
|
1152
|
+
"default": "default",
|
|
1153
|
+
"description": "Allows to define various button styles."
|
|
1154
|
+
},
|
|
1155
|
+
{
|
|
1156
|
+
"name": "└text",
|
|
1157
|
+
"type": "String / Node",
|
|
1158
|
+
"default": "",
|
|
1159
|
+
"description": "The button text. This can also be a node with an icon to be shown on the button."
|
|
1160
|
+
},
|
|
1161
|
+
{
|
|
1162
|
+
"name": "└onClick",
|
|
1163
|
+
"type": "Function",
|
|
1164
|
+
"default": "() => {}",
|
|
1165
|
+
"description": "Callback fired after the component starts to collapse."
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
"name": "└href",
|
|
1169
|
+
"type": "String",
|
|
1170
|
+
"default": "",
|
|
1171
|
+
"description": "Instead of a callback for the button you can specify an \"href\". This way it will render a link instead."
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
"name": "└className",
|
|
1175
|
+
"type": "String",
|
|
1176
|
+
"default": "",
|
|
1177
|
+
"description": "Optional class names for this button."
|
|
1178
|
+
},
|
|
1179
|
+
{
|
|
1180
|
+
"name": "headline",
|
|
1181
|
+
"type": "String / Node",
|
|
1182
|
+
"default": "",
|
|
1183
|
+
"description": "The headline to be shown."
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
"name": "message",
|
|
1187
|
+
"type": "String / Node",
|
|
1188
|
+
"default": "",
|
|
1189
|
+
"description": "The text to display."
|
|
1190
|
+
},
|
|
1191
|
+
{
|
|
1192
|
+
"name": "features",
|
|
1193
|
+
"type": "Array of Objects",
|
|
1194
|
+
"default": "[]",
|
|
1195
|
+
"description": "List of features."
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
"name": "condensed",
|
|
1199
|
+
"type": "Boolean",
|
|
1200
|
+
"default": "false",
|
|
1201
|
+
"description": "Smaller icon and headline size."
|
|
1202
|
+
},
|
|
1203
|
+
{
|
|
1204
|
+
"name": "fullWidth",
|
|
1205
|
+
"type": "Boolean",
|
|
1206
|
+
"default": "false",
|
|
1207
|
+
"description": "Defines whether to use 100% width or default width. NoteOnly to be used for special cases on the CustomState component."
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
"name": "image",
|
|
1211
|
+
"type": "Node",
|
|
1212
|
+
"default": "",
|
|
1213
|
+
"description": "Custom Image if needed."
|
|
1214
|
+
},
|
|
1215
|
+
{
|
|
1216
|
+
"name": "alignment",
|
|
1217
|
+
"type": "String",
|
|
1218
|
+
"default": "center",
|
|
1219
|
+
"description": "Defines where the panel is aligned. Possible values are: left center right"
|
|
1220
|
+
},
|
|
1221
|
+
{
|
|
1222
|
+
"name": "outerClassName",
|
|
1223
|
+
"type": "String",
|
|
1224
|
+
"default": "",
|
|
1225
|
+
"description": "Optional class names for the wrapper."
|
|
1226
|
+
},
|
|
1227
|
+
{
|
|
1228
|
+
"name": "innerClassName",
|
|
1229
|
+
"type": "String",
|
|
1230
|
+
"default": "",
|
|
1231
|
+
"description": "Optional class names for the content."
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
"name": "children",
|
|
1235
|
+
"type": "Node",
|
|
1236
|
+
"default": "",
|
|
1237
|
+
"description": "Additional elements that are rendered below the headline and text."
|
|
1238
|
+
}
|
|
1239
|
+
]
|
|
1240
|
+
}
|
|
1241
|
+
]
|
|
1242
|
+
}
|
|
1243
|
+
]
|
|
1244
|
+
}
|
|
1245
|
+
]
|
|
1246
|
+
},
|
|
1247
|
+
{
|
|
1248
|
+
"heading": "Fully customized state",
|
|
1249
|
+
"body": "",
|
|
1250
|
+
"examples": [
|
|
1251
|
+
{
|
|
1252
|
+
"caption": "Stay tuned",
|
|
1253
|
+
"rendered_html": "<div class=\"playground-content bg-lighter padding-20 padding-bottom-25\" style=\"width: 100%;\"><div class=\"display-flex justify-content-center max-width-100pct\"><div class=\"margin-0 width-100pct panel-default panel padding-15\"><div class=\"display-flex flex-column align-items-center text-center padding-25\"><img class=\"max-width-500\" src=\"https://cdn.rio.cloud/svg/dashboard/dashboard_coming_soon.svg\" alt=\"Coming soon\"><div class=\"text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance\">Stay tuned</div><div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\">\nLorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis. Vivamus elementum ante et est sagittis semper. Ut consectetur enim nec tortor scelerisque tincidunt.</div></div></div></div></div>",
|
|
1254
|
+
"tabs": [
|
|
1255
|
+
{
|
|
1256
|
+
"label": "React",
|
|
1257
|
+
"language": "tsx",
|
|
1258
|
+
"code": "import CustomState from '@rio-cloud/rio-uikit/CustomState';\nimport { dummyTextShort } from '../../../utils/data';\n\nconst image = (\n <img\n className='max-width-500'\n src='https://cdn.rio.cloud/svg/dashboard/dashboard_coming_soon.svg'\n alt='Coming soon'\n />\n);\n\nexport default () => <CustomState headline='Stay tuned' message={dummyTextShort} fullWidth image={image} />;"
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
"label": "HTML",
|
|
1262
|
+
"language": "html",
|
|
1263
|
+
"code": "<div class=\"display-flex justify-content-center max-width-100pct\">\n <div class=\"margin-0 width-100pct panel-default panel padding-15\">\n <div class=\"display-flex flex-column align-items-center text-center padding-25\">\n <img class=\"max-width-500\" src=\"https://cdn.rio.cloud/svg/dashboard/dashboard_coming_soon.svg\" alt=\"Coming soon\">\n <div class=\"text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance\">Stay tuned</div>\n <div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\">\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. In pharetra dui eget massa efficitur aliquam condimentum in felis. Integer eget metus vel nunc efficitur iaculis. Vivamus elementum ante et est sagittis semper. Ut consectetur enim nec tortor scelerisque tincidunt.</div>\n </div>\n </div>\n</div>"
|
|
1264
|
+
},
|
|
1265
|
+
{
|
|
1266
|
+
"label": "Props",
|
|
1267
|
+
"language": "json",
|
|
1268
|
+
"code": null,
|
|
1269
|
+
"props": [
|
|
1270
|
+
{
|
|
1271
|
+
"heading": null,
|
|
1272
|
+
"rows": [
|
|
1273
|
+
{
|
|
1274
|
+
"name": "icon",
|
|
1275
|
+
"type": "String",
|
|
1276
|
+
"default": "",
|
|
1277
|
+
"description": "The icon to be shown. Default icons are defined for all states."
|
|
1278
|
+
},
|
|
1279
|
+
{
|
|
1280
|
+
"name": "icons",
|
|
1281
|
+
"type": "Array of Objects",
|
|
1282
|
+
"default": "[]",
|
|
1283
|
+
"description": "List of icons to show instead a single icon."
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
"name": "└name",
|
|
1287
|
+
"type": "String",
|
|
1288
|
+
"default": "",
|
|
1289
|
+
"description": "The name of the icon"
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
"name": "└color",
|
|
1293
|
+
"type": "String",
|
|
1294
|
+
"default": "",
|
|
1295
|
+
"description": "Optional color class name for the icon"
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
"name": "└className",
|
|
1299
|
+
"type": "String",
|
|
1300
|
+
"default": "",
|
|
1301
|
+
"description": "Optional class names for this icon."
|
|
1302
|
+
},
|
|
1303
|
+
{
|
|
1304
|
+
"name": "headline",
|
|
1305
|
+
"type": "String / Node",
|
|
1306
|
+
"default": "",
|
|
1307
|
+
"description": "The headline to be shown."
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
"name": "message",
|
|
1311
|
+
"type": "String / Node",
|
|
1312
|
+
"default": "",
|
|
1313
|
+
"description": "The text to display."
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
"name": "buttons",
|
|
1317
|
+
"type": "Array of Objects",
|
|
1318
|
+
"default": "[]",
|
|
1319
|
+
"description": "Definitions for the buttons to show."
|
|
1320
|
+
},
|
|
1321
|
+
{
|
|
1322
|
+
"name": "bsStyle",
|
|
1323
|
+
"type": "String",
|
|
1324
|
+
"default": "default",
|
|
1325
|
+
"description": "Allows to define various button styles."
|
|
1326
|
+
},
|
|
1327
|
+
{
|
|
1328
|
+
"name": "└text",
|
|
1329
|
+
"type": "String / Node",
|
|
1330
|
+
"default": "",
|
|
1331
|
+
"description": "The button text. This can also be a node with an icon to be shown on the button."
|
|
1332
|
+
},
|
|
1333
|
+
{
|
|
1334
|
+
"name": "└onClick",
|
|
1335
|
+
"type": "Function",
|
|
1336
|
+
"default": "() => {}",
|
|
1337
|
+
"description": "Callback fired after the component starts to collapse."
|
|
1338
|
+
},
|
|
1339
|
+
{
|
|
1340
|
+
"name": "└href",
|
|
1341
|
+
"type": "String",
|
|
1342
|
+
"default": "",
|
|
1343
|
+
"description": "Instead of a callback for the button you can specify an \"href\". This way it will render a link instead."
|
|
1344
|
+
},
|
|
1345
|
+
{
|
|
1346
|
+
"name": "└className",
|
|
1347
|
+
"type": "String",
|
|
1348
|
+
"default": "",
|
|
1349
|
+
"description": "Optional class names for this button."
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
"name": "condensed",
|
|
1353
|
+
"type": "Boolean",
|
|
1354
|
+
"default": "false",
|
|
1355
|
+
"description": "Smaller icon and headline size."
|
|
1356
|
+
},
|
|
1357
|
+
{
|
|
1358
|
+
"name": "fullWidth",
|
|
1359
|
+
"type": "Boolean",
|
|
1360
|
+
"default": "false",
|
|
1361
|
+
"description": "Defines whether to use 100% width or default width. NoteOnly to be used for special cases on the CustomState component."
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
"name": "image",
|
|
1365
|
+
"type": "Node",
|
|
1366
|
+
"default": "",
|
|
1367
|
+
"description": "Custom Image if needed."
|
|
1368
|
+
},
|
|
1369
|
+
{
|
|
1370
|
+
"name": "alignment",
|
|
1371
|
+
"type": "String",
|
|
1372
|
+
"default": "center",
|
|
1373
|
+
"description": "Defines where the panel is aligned. Possible values are: left center right"
|
|
1374
|
+
},
|
|
1375
|
+
{
|
|
1376
|
+
"name": "outerClassName",
|
|
1377
|
+
"type": "String",
|
|
1378
|
+
"default": "",
|
|
1379
|
+
"description": "Optional class names for the wrapper."
|
|
1380
|
+
},
|
|
1381
|
+
{
|
|
1382
|
+
"name": "innerClassName",
|
|
1383
|
+
"type": "String",
|
|
1384
|
+
"default": "",
|
|
1385
|
+
"description": "Optional class names for the content."
|
|
1386
|
+
},
|
|
1387
|
+
{
|
|
1388
|
+
"name": "children",
|
|
1389
|
+
"type": "Node",
|
|
1390
|
+
"default": "",
|
|
1391
|
+
"description": "Additional elements that are rendered below the headline and text."
|
|
1392
|
+
}
|
|
1393
|
+
]
|
|
1394
|
+
}
|
|
1395
|
+
]
|
|
1396
|
+
}
|
|
1397
|
+
]
|
|
1398
|
+
},
|
|
1399
|
+
{
|
|
1400
|
+
"caption": "End User Licence AgreementCurrently, there is no vehicle in your fleet that requires acceptance of the EULA. However, you may still choose to accept it voluntarily.",
|
|
1401
|
+
"rendered_html": "<div class=\"playground-content bg-lighter padding-20 padding-bottom-25\" style=\"width: 100%;\"><div class=\"display-flex justify-content-center max-width-100pct\"><div class=\"margin-0 width-100pct max-width-600 panel-default panel padding-15\"><div class=\"display-flex flex-column align-items-center text-center padding-25\"><div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\"><div class=\"display-flex flex-column gap-15\"><span class=\"text-size-h1\"><span class=\"rioglyph text-size-300pct \" style=\"--i: url(https://cdn.rio.cloud/riosvg/custom/eu-data-act.svg);\"></span></span><div class=\"text-bold text-size-20\">End User Licence Agreement</div><div>Currently, there is no vehicle in your fleet that requires acceptance of the EULA. However, you may still choose to accept it voluntarily.</div></div></div><div class=\"btn-toolbar margin-top-20 justify-content-center-xs\"><button class=\"btn margin-top-10 btn-default\" type=\"button\"><span>Back to home</span></button><button class=\"btn margin-top-10 btn-primary\" type=\"button\"><span>Proceed with EULA</span></button></div></div></div></div></div>",
|
|
1402
|
+
"tabs": [
|
|
1403
|
+
{
|
|
1404
|
+
"label": "React",
|
|
1405
|
+
"language": "tsx",
|
|
1406
|
+
"code": "import CustomState from '@rio-cloud/rio-uikit/CustomState';\n\nexport default () => (\n <CustomState\n message={\n <div className='display-flex flex-column gap-15'>\n <span className='text-size-h1'>\n <span\n className='rioglyph text-size-300pct '\n style={{ ['--i' as string]: 'url(https://cdn.rio.cloud/riosvg/custom/eu-data-act.svg)' }}\n />\n </span>\n <div className='text-bold text-size-20'>End User Licence Agreement</div>\n <div>\n Currently, there is no vehicle in your fleet that requires acceptance of the EULA. However, you may\n still choose to accept it voluntarily.\n </div>\n </div>\n }\n buttons={[\n {\n text: <span>Back to home</span>,\n bsStyle: 'default',\n },\n {\n text: <span>Proceed with EULA</span>,\n },\n ]}\n />\n);"
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"label": "HTML",
|
|
1410
|
+
"language": "html",
|
|
1411
|
+
"code": "<div class=\"display-flex justify-content-center max-width-100pct\">\n <div class=\"margin-0 width-100pct max-width-600 panel-default panel padding-15\">\n <div class=\"display-flex flex-column align-items-center text-center padding-25\">\n <div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\">\n <div class=\"display-flex flex-column gap-15\">\n <span class=\"text-size-h1\">\n <span class=\"rioglyph text-size-300pct \" style=\"--i: url(https://cdn.rio.cloud/riosvg/custom/eu-data-act.svg);\">\n </span>\n </span>\n <div class=\"text-bold text-size-20\">End User Licence Agreement</div>\n <div>Currently, there is no vehicle in your fleet that requires acceptance of the EULA. However, you may still choose to accept it voluntarily.</div>\n </div>\n </div>\n <div class=\"btn-toolbar margin-top-20 justify-content-center-xs\">\n <button class=\"btn margin-top-10 btn-default\" type=\"button\">\n <span>Back to home</span>\n </button>\n <button class=\"btn margin-top-10 btn-primary\" type=\"button\">\n <span>Proceed with EULA</span>\n </button>\n </div>\n </div>\n </div>\n</div>"
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
"label": "Props",
|
|
1415
|
+
"language": "json",
|
|
1416
|
+
"code": null,
|
|
1417
|
+
"props": [
|
|
1418
|
+
{
|
|
1419
|
+
"heading": null,
|
|
1420
|
+
"rows": [
|
|
1421
|
+
{
|
|
1422
|
+
"name": "icon",
|
|
1423
|
+
"type": "String",
|
|
1424
|
+
"default": "",
|
|
1425
|
+
"description": "The icon to be shown. Default icons are defined for all states."
|
|
1426
|
+
},
|
|
1427
|
+
{
|
|
1428
|
+
"name": "icons",
|
|
1429
|
+
"type": "Array of Objects",
|
|
1430
|
+
"default": "[]",
|
|
1431
|
+
"description": "List of icons to show instead a single icon."
|
|
1432
|
+
},
|
|
1433
|
+
{
|
|
1434
|
+
"name": "└name",
|
|
1435
|
+
"type": "String",
|
|
1436
|
+
"default": "",
|
|
1437
|
+
"description": "The name of the icon"
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
"name": "└color",
|
|
1441
|
+
"type": "String",
|
|
1442
|
+
"default": "",
|
|
1443
|
+
"description": "Optional color class name for the icon"
|
|
1444
|
+
},
|
|
1445
|
+
{
|
|
1446
|
+
"name": "└className",
|
|
1447
|
+
"type": "String",
|
|
1448
|
+
"default": "",
|
|
1449
|
+
"description": "Optional class names for this icon."
|
|
1450
|
+
},
|
|
1451
|
+
{
|
|
1452
|
+
"name": "headline",
|
|
1453
|
+
"type": "String / Node",
|
|
1454
|
+
"default": "",
|
|
1455
|
+
"description": "The headline to be shown."
|
|
1456
|
+
},
|
|
1457
|
+
{
|
|
1458
|
+
"name": "message",
|
|
1459
|
+
"type": "String / Node",
|
|
1460
|
+
"default": "",
|
|
1461
|
+
"description": "The text to display."
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
"name": "buttons",
|
|
1465
|
+
"type": "Array of Objects",
|
|
1466
|
+
"default": "[]",
|
|
1467
|
+
"description": "Definitions for the buttons to show."
|
|
1468
|
+
},
|
|
1469
|
+
{
|
|
1470
|
+
"name": "bsStyle",
|
|
1471
|
+
"type": "String",
|
|
1472
|
+
"default": "default",
|
|
1473
|
+
"description": "Allows to define various button styles."
|
|
1474
|
+
},
|
|
1475
|
+
{
|
|
1476
|
+
"name": "└text",
|
|
1477
|
+
"type": "String / Node",
|
|
1478
|
+
"default": "",
|
|
1479
|
+
"description": "The button text. This can also be a node with an icon to be shown on the button."
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
"name": "└onClick",
|
|
1483
|
+
"type": "Function",
|
|
1484
|
+
"default": "() => {}",
|
|
1485
|
+
"description": "Callback fired after the component starts to collapse."
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
"name": "└href",
|
|
1489
|
+
"type": "String",
|
|
1490
|
+
"default": "",
|
|
1491
|
+
"description": "Instead of a callback for the button you can specify an \"href\". This way it will render a link instead."
|
|
1492
|
+
},
|
|
1493
|
+
{
|
|
1494
|
+
"name": "└className",
|
|
1495
|
+
"type": "String",
|
|
1496
|
+
"default": "",
|
|
1497
|
+
"description": "Optional class names for this button."
|
|
1498
|
+
},
|
|
1499
|
+
{
|
|
1500
|
+
"name": "condensed",
|
|
1501
|
+
"type": "Boolean",
|
|
1502
|
+
"default": "false",
|
|
1503
|
+
"description": "Smaller icon and headline size."
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
"name": "fullWidth",
|
|
1507
|
+
"type": "Boolean",
|
|
1508
|
+
"default": "false",
|
|
1509
|
+
"description": "Defines whether to use 100% width or default width. NoteOnly to be used for special cases on the CustomState component."
|
|
1510
|
+
},
|
|
1511
|
+
{
|
|
1512
|
+
"name": "image",
|
|
1513
|
+
"type": "Node",
|
|
1514
|
+
"default": "",
|
|
1515
|
+
"description": "Custom Image if needed."
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"name": "alignment",
|
|
1519
|
+
"type": "String",
|
|
1520
|
+
"default": "center",
|
|
1521
|
+
"description": "Defines where the panel is aligned. Possible values are: left center right"
|
|
1522
|
+
},
|
|
1523
|
+
{
|
|
1524
|
+
"name": "outerClassName",
|
|
1525
|
+
"type": "String",
|
|
1526
|
+
"default": "",
|
|
1527
|
+
"description": "Optional class names for the wrapper."
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
"name": "innerClassName",
|
|
1531
|
+
"type": "String",
|
|
1532
|
+
"default": "",
|
|
1533
|
+
"description": "Optional class names for the content."
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
"name": "children",
|
|
1537
|
+
"type": "Node",
|
|
1538
|
+
"default": "",
|
|
1539
|
+
"description": "Additional elements that are rendered below the headline and text."
|
|
1540
|
+
}
|
|
1541
|
+
]
|
|
1542
|
+
}
|
|
1543
|
+
]
|
|
1544
|
+
}
|
|
1545
|
+
]
|
|
1546
|
+
}
|
|
1547
|
+
]
|
|
1548
|
+
},
|
|
1549
|
+
{
|
|
1550
|
+
"heading": "Table with State",
|
|
1551
|
+
"body": "",
|
|
1552
|
+
"examples": [
|
|
1553
|
+
{
|
|
1554
|
+
"caption": "We couldn't find anything that matches your search",
|
|
1555
|
+
"rendered_html": "<div class=\"playground-content bg-lighter padding-20 padding-bottom-25\" style=\"width: 100%;\"><div><h5>NotFoundState when search or filter don't return any matching item</h5><table class=\"table table-head-filled table-layout-fixed\"><thead><tr><th class=\"ellipsis-1\">Head Column</th><th class=\"ellipsis-1\">Head Column</th><th class=\"ellipsis-1\">Head Column</th><th class=\"ellipsis-1\">Head Column</th><th class=\"ellipsis-1\">Head Column</th></tr></thead><tbody><tr><td colspan=\"5\"><div class=\"display-flex justify-content-center max-width-100pct\"><div class=\"margin-0 width-100pct max-width-600 panel-default panel padding-15 border-none\"><div class=\"display-flex flex-column align-items-center text-center padding-25\"><div class=\"text-size-h2 margin-bottom-20\"><span class=\"rioglyph rioglyph-looking-glass-man text-color-light text-size-300pct\"></span></div><div class=\"text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance\">We couldn't find anything that matches your search</div><div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\">Please refine your search and check spelling and spacing.</div></div></div></div></td></tr></tbody></table><hr class=\"border-color-light margin-y-25\"><h5>EmptyState when no item has been created yet</h5><table class=\"table table-head-filled table-layout-fixed\"><thead><tr><th class=\"ellipsis-1\">Head Column</th><th class=\"ellipsis-1\">Head Column</th><th class=\"ellipsis-1\">Head Column</th><th class=\"ellipsis-1\">Head Column</th><th class=\"ellipsis-1\">Head Column</th></tr></thead><tbody><tr><td colspan=\"5\"><div class=\"display-flex justify-content-center max-width-100pct\"><div class=\"margin-0 width-100pct max-width-600 panel-default panel padding-15 border-none\"><div class=\"display-flex flex-column align-items-center text-center padding-25\"><div class=\"text-size-h2 margin-bottom-20\"><span class=\"rioglyph rioglyph-empty text-color-light text-size-300pct\"></span></div><div class=\"text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance\">No tracked events for this order</div><div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\">Events appear when when the order is shared with other users and the order state is active.</div><div class=\"btn-toolbar margin-top-20\"><a class=\"margin-top-15\" href=\"#\">Learn how to start tracking order events</a></div></div></div></div></td></tr></tbody></table></div></div>",
|
|
1556
|
+
"tabs": [
|
|
1557
|
+
{
|
|
1558
|
+
"label": "React",
|
|
1559
|
+
"language": "tsx",
|
|
1560
|
+
"code": "import NotFoundState from '@rio-cloud/rio-uikit/NotFoundState';\nimport EmptyState from '@rio-cloud/rio-uikit/EmptyState';\nimport Notification from '@rio-cloud/rio-uikit/Notification';\n\nexport default () => (\n <div>\n <h5>NotFoundState when search or filter don't return any matching item</h5>\n <table className='table table-head-filled table-layout-fixed'>\n <thead>\n <tr>\n {[...Array(5)].map(() => (\n <th key={crypto.randomUUID()} className='ellipsis-1'>\n Head Column\n </th>\n ))}\n </tr>\n </thead>\n <tbody>\n <tr>\n <td colSpan={5}>\n <NotFoundState\n headline=\"We couldn't find anything that matches your search\"\n message='Please refine your search and check spelling and spacing.'\n outerClassName='border-none'\n />\n </td>\n </tr>\n </tbody>\n </table>\n <hr className='border-color-light margin-y-25' />\n <h5>EmptyState when no item has been created yet</h5>\n <table className='table table-head-filled table-layout-fixed'>\n <thead>\n <tr>\n {[...Array(5)].map(() => (\n <th key={crypto.randomUUID()} className='ellipsis-1'>\n Head Column\n </th>\n ))}\n </tr>\n </thead>\n <tbody>\n <tr>\n <td colSpan={5}>\n <EmptyState\n headline='No tracked events for this order'\n message={\n 'Events appear when when the order is shared with other users and the order ' +\n 'state is active.'\n }\n outerClassName='border-none'\n buttons={[\n {\n text: 'Learn how to start tracking order events',\n href: '#',\n },\n ]}\n />\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n);"
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
"label": "HTML",
|
|
1564
|
+
"language": "html",
|
|
1565
|
+
"code": "<div>\n <h5>NotFoundState when search or filter don't return any matching item</h5>\n <table class=\"table table-head-filled table-layout-fixed\">\n <thead>\n <tr>\n <th class=\"ellipsis-1\">Head Column</th>\n <th class=\"ellipsis-1\">Head Column</th>\n <th class=\"ellipsis-1\">Head Column</th>\n <th class=\"ellipsis-1\">Head Column</th>\n <th class=\"ellipsis-1\">Head Column</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td colspan=\"5\">\n <div class=\"display-flex justify-content-center max-width-100pct\">\n <div class=\"margin-0 width-100pct max-width-600 panel-default panel padding-15 border-none\">\n <div class=\"display-flex flex-column align-items-center text-center padding-25\">\n <div class=\"text-size-h2 margin-bottom-20\">\n <span class=\"rioglyph rioglyph-looking-glass-man text-color-light text-size-300pct\">\n </span>\n </div>\n <div class=\"text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance\">We couldn't find anything that matches your search</div>\n <div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\">Please refine your search and check spelling and spacing.</div>\n </div>\n </div>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n <hr class=\"border-color-light margin-y-25\">\n <h5>EmptyState when no item has been created yet</h5>\n <table class=\"table table-head-filled table-layout-fixed\">\n <thead>\n <tr>\n <th class=\"ellipsis-1\">Head Column</th>\n <th class=\"ellipsis-1\">Head Column</th>\n <th class=\"ellipsis-1\">Head Column</th>\n <th class=\"ellipsis-1\">Head Column</th>\n <th class=\"ellipsis-1\">Head Column</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td colspan=\"5\">\n <div class=\"display-flex justify-content-center max-width-100pct\">\n <div class=\"margin-0 width-100pct max-width-600 panel-default panel padding-15 border-none\">\n <div class=\"display-flex flex-column align-items-center text-center padding-25\">\n <div class=\"text-size-h2 margin-bottom-20\">\n <span class=\"rioglyph rioglyph-empty text-color-light text-size-300pct\">\n </span>\n </div>\n <div class=\"text-size-h3 text-size-h2-xl line-height-125rel text-color-dark text-medium width-500 max-width-100pct text-wrap-balance\">No tracked events for this order</div>\n <div class=\"text-color-dark margin-top-15 width-500 max-width-100pct text-wrap-balance\">Events appear when when the order is shared with other users and the order state is active.</div>\n <div class=\"btn-toolbar margin-top-20\">\n <a class=\"margin-top-15\" href=\"#\">Learn how to start tracking order events</a>\n </div>\n </div>\n </div>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n</div>"
|
|
1566
|
+
},
|
|
1567
|
+
{
|
|
1568
|
+
"label": "Props",
|
|
1569
|
+
"language": "json",
|
|
1570
|
+
"code": null,
|
|
1571
|
+
"props": [
|
|
1572
|
+
{
|
|
1573
|
+
"heading": null,
|
|
1574
|
+
"rows": [
|
|
1575
|
+
{
|
|
1576
|
+
"name": "icon",
|
|
1577
|
+
"type": "String",
|
|
1578
|
+
"default": "",
|
|
1579
|
+
"description": "The icon to be shown. Default icons are defined for all states."
|
|
1580
|
+
},
|
|
1581
|
+
{
|
|
1582
|
+
"name": "icons",
|
|
1583
|
+
"type": "Array of Objects",
|
|
1584
|
+
"default": "[]",
|
|
1585
|
+
"description": "List of icons to show instead a single icon."
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
"name": "└name",
|
|
1589
|
+
"type": "String",
|
|
1590
|
+
"default": "",
|
|
1591
|
+
"description": "The name of the icon"
|
|
1592
|
+
},
|
|
1593
|
+
{
|
|
1594
|
+
"name": "└color",
|
|
1595
|
+
"type": "String",
|
|
1596
|
+
"default": "",
|
|
1597
|
+
"description": "Optional color class name for the icon"
|
|
1598
|
+
},
|
|
1599
|
+
{
|
|
1600
|
+
"name": "└className",
|
|
1601
|
+
"type": "String",
|
|
1602
|
+
"default": "",
|
|
1603
|
+
"description": "Optional class names for this icon."
|
|
1604
|
+
},
|
|
1605
|
+
{
|
|
1606
|
+
"name": "headline",
|
|
1607
|
+
"type": "String / Node",
|
|
1608
|
+
"default": "",
|
|
1609
|
+
"description": "The headline to be shown."
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
"name": "message",
|
|
1613
|
+
"type": "String / Node",
|
|
1614
|
+
"default": "",
|
|
1615
|
+
"description": "The text to display."
|
|
1616
|
+
},
|
|
1617
|
+
{
|
|
1618
|
+
"name": "buttons",
|
|
1619
|
+
"type": "Array of Objects",
|
|
1620
|
+
"default": "[]",
|
|
1621
|
+
"description": "Definitions for the buttons to show."
|
|
1622
|
+
},
|
|
1623
|
+
{
|
|
1624
|
+
"name": "bsStyle",
|
|
1625
|
+
"type": "String",
|
|
1626
|
+
"default": "default",
|
|
1627
|
+
"description": "Allows to define various button styles."
|
|
1628
|
+
},
|
|
1629
|
+
{
|
|
1630
|
+
"name": "└text",
|
|
1631
|
+
"type": "String / Node",
|
|
1632
|
+
"default": "",
|
|
1633
|
+
"description": "The button text. This can also be a node with an icon to be shown on the button."
|
|
1634
|
+
},
|
|
1635
|
+
{
|
|
1636
|
+
"name": "└onClick",
|
|
1637
|
+
"type": "Function",
|
|
1638
|
+
"default": "() => {}",
|
|
1639
|
+
"description": "Callback fired after the component starts to collapse."
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
"name": "└href",
|
|
1643
|
+
"type": "String",
|
|
1644
|
+
"default": "",
|
|
1645
|
+
"description": "Instead of a callback for the button you can specify an \"href\". This way it will render a link instead."
|
|
1646
|
+
},
|
|
1647
|
+
{
|
|
1648
|
+
"name": "└className",
|
|
1649
|
+
"type": "String",
|
|
1650
|
+
"default": "",
|
|
1651
|
+
"description": "Optional class names for this button."
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
"name": "condensed",
|
|
1655
|
+
"type": "Boolean",
|
|
1656
|
+
"default": "false",
|
|
1657
|
+
"description": "Smaller icon and headline size."
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
"name": "fullWidth",
|
|
1661
|
+
"type": "Boolean",
|
|
1662
|
+
"default": "false",
|
|
1663
|
+
"description": "Defines whether to use 100% width or default width. NoteOnly to be used for special cases on the CustomState component."
|
|
1664
|
+
},
|
|
1665
|
+
{
|
|
1666
|
+
"name": "image",
|
|
1667
|
+
"type": "Node",
|
|
1668
|
+
"default": "",
|
|
1669
|
+
"description": "Custom Image if needed."
|
|
1670
|
+
},
|
|
1671
|
+
{
|
|
1672
|
+
"name": "alignment",
|
|
1673
|
+
"type": "String",
|
|
1674
|
+
"default": "center",
|
|
1675
|
+
"description": "Defines where the panel is aligned. Possible values are: left center right"
|
|
1676
|
+
},
|
|
1677
|
+
{
|
|
1678
|
+
"name": "outerClassName",
|
|
1679
|
+
"type": "String",
|
|
1680
|
+
"default": "",
|
|
1681
|
+
"description": "Optional class names for the wrapper."
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
"name": "innerClassName",
|
|
1685
|
+
"type": "String",
|
|
1686
|
+
"default": "",
|
|
1687
|
+
"description": "Optional class names for the content."
|
|
1688
|
+
},
|
|
1689
|
+
{
|
|
1690
|
+
"name": "children",
|
|
1691
|
+
"type": "Node",
|
|
1692
|
+
"default": "",
|
|
1693
|
+
"description": "Additional elements that are rendered below the headline and text."
|
|
1694
|
+
}
|
|
1695
|
+
]
|
|
1696
|
+
}
|
|
1697
|
+
]
|
|
1698
|
+
}
|
|
1699
|
+
]
|
|
1700
|
+
}
|
|
1701
|
+
]
|
|
1702
|
+
}
|
|
1703
|
+
],
|
|
1704
|
+
"see_also": []
|
|
1705
|
+
}
|