@@ -12,7 +12,7 @@ import {
12
12
StatesActions ,
13
13
StatesAction ,
14
14
} from '.' ;
15
- import { Box } from '..' ;
15
+ import { Box , Icon } from '..' ;
16
16
17
17
export default {
18
18
title : 'States/States' ,
@@ -77,6 +77,7 @@ export const ActionButton = () => (
77
77
</ States >
78
78
</ Box >
79
79
) ;
80
+
80
81
export const ActionButtonWithNoSuggestions = ( ) => (
81
82
< Box >
82
83
< States >
@@ -92,3 +93,76 @@ export const ActionButtonWithNoSuggestions = () => (
92
93
</ States >
93
94
</ Box >
94
95
) ;
96
+
97
+ export const Variations = ( ) => (
98
+ < Box >
99
+ < States >
100
+ < StatesIcon name = 'circle-exclamation' />
101
+ < StatesTitle > Connection error</ StatesTitle >
102
+ < StatesSubtitle >
103
+ Cannot connect to internet or your workspace may be an offline install.{ ' ' }
104
+ < br /> Contact your workspace admin for more information.
105
+ </ StatesSubtitle >
106
+ < StatesActions >
107
+ < StatesAction >
108
+ < Icon name = 'reload' /> Reload
109
+ </ StatesAction >
110
+ </ StatesActions >
111
+ </ States >
112
+
113
+ < States >
114
+ < StatesIcon name = 'circle-exclamation' variation = 'danger' />
115
+ < StatesTitle > Connection error</ StatesTitle >
116
+ < StatesSubtitle >
117
+ Cannot connect to internet or your workspace may be an offline install.{ ' ' }
118
+ < br /> Contact your workspace admin for more information.
119
+ </ StatesSubtitle >
120
+ < StatesActions >
121
+ < StatesAction >
122
+ < Icon name = 'reload' /> Reload
123
+ </ StatesAction >
124
+ </ StatesActions >
125
+ </ States >
126
+ < States >
127
+ < StatesIcon name = 'circle-exclamation' variation = 'primary' />
128
+ < StatesTitle > Connection error</ StatesTitle >
129
+ < StatesSubtitle >
130
+ Cannot connect to internet or your workspace may be an offline install.{ ' ' }
131
+ < br /> Contact your workspace admin for more information.
132
+ </ StatesSubtitle >
133
+ < StatesActions >
134
+ < StatesAction >
135
+ < Icon name = 'reload' /> Reload
136
+ </ StatesAction >
137
+ </ StatesActions >
138
+ </ States >
139
+
140
+ < States >
141
+ < StatesIcon name = 'magnifier' variation = 'success' />
142
+ < StatesTitle > Connection error</ StatesTitle >
143
+ < StatesSubtitle >
144
+ Cannot connect to internet or your workspace may be an offline install.{ ' ' }
145
+ < br /> Contact your workspace admin for more information.
146
+ </ StatesSubtitle >
147
+ < StatesActions >
148
+ < StatesAction >
149
+ < Icon name = 'reload' /> Reload
150
+ </ StatesAction >
151
+ </ StatesActions >
152
+ </ States >
153
+
154
+ < States >
155
+ < StatesIcon name = 'magnifier' variation = 'warning' />
156
+ < StatesTitle > Connection error</ StatesTitle >
157
+ < StatesSubtitle >
158
+ Cannot connect to internet or your workspace may be an offline install.{ ' ' }
159
+ < br /> Contact your workspace admin for more information.
160
+ </ StatesSubtitle >
161
+ < StatesActions >
162
+ < StatesAction >
163
+ < Icon name = 'reload' /> Reload
164
+ </ StatesAction >
165
+ </ StatesActions >
166
+ </ States >
167
+ </ Box >
168
+ ) ;
0 commit comments