@beydesign/storybook 0.0.24 → 0.0.25
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/dist/stories/Sidebar.js
CHANGED
|
@@ -40,9 +40,9 @@ const LogoContainer = styled.div `
|
|
|
40
40
|
`;
|
|
41
41
|
const ToggleButtonWrapper = styled.div `
|
|
42
42
|
position: absolute;
|
|
43
|
-
top:
|
|
44
|
-
right: -
|
|
45
|
-
z-index:
|
|
43
|
+
top: 1.5rem;
|
|
44
|
+
right: -1rem;
|
|
45
|
+
z-index: 1;
|
|
46
46
|
pointer-events: auto;
|
|
47
47
|
visibility: visible;
|
|
48
48
|
filter: drop-shadow(0px 2px 4px rgba(29, 20, 40, 0.08));
|
|
@@ -156,93 +156,3 @@ export const InBoxContainer = {
|
|
|
156
156
|
creditInfoText: '1 Credit = 1 min video',
|
|
157
157
|
} }) })),
|
|
158
158
|
};
|
|
159
|
-
export const CustomSections = {
|
|
160
|
-
args: {
|
|
161
|
-
size: SidebarSize.Expanded,
|
|
162
|
-
navSections: [
|
|
163
|
-
{
|
|
164
|
-
title: 'Main Navigation',
|
|
165
|
-
items: [
|
|
166
|
-
{
|
|
167
|
-
text: 'Dashboard',
|
|
168
|
-
icon: 'ChartPie',
|
|
169
|
-
state: NavItemState.Default,
|
|
170
|
-
link: '#/dashboard',
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
text: 'Projects',
|
|
174
|
-
icon: 'FolderOpen',
|
|
175
|
-
state: NavItemState.Active,
|
|
176
|
-
link: '#/projects',
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
text: 'Calendar',
|
|
180
|
-
icon: 'Calendar',
|
|
181
|
-
state: NavItemState.Default,
|
|
182
|
-
link: '#/calendar',
|
|
183
|
-
},
|
|
184
|
-
],
|
|
185
|
-
showSeparator: true,
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
title: 'Content',
|
|
189
|
-
items: [
|
|
190
|
-
{
|
|
191
|
-
text: 'Media Library',
|
|
192
|
-
icon: 'Image',
|
|
193
|
-
state: NavItemState.Default,
|
|
194
|
-
link: '#/media',
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
text: 'Documents',
|
|
198
|
-
icon: 'File',
|
|
199
|
-
state: NavItemState.Default,
|
|
200
|
-
link: '#/documents',
|
|
201
|
-
},
|
|
202
|
-
],
|
|
203
|
-
showSeparator: true,
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
title: 'Settings',
|
|
207
|
-
items: [
|
|
208
|
-
{
|
|
209
|
-
text: 'Account Settings',
|
|
210
|
-
icon: 'Gear',
|
|
211
|
-
state: NavItemState.Default,
|
|
212
|
-
link: '#/settings/account',
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
text: 'Team Members',
|
|
216
|
-
icon: 'Users',
|
|
217
|
-
state: NavItemState.Default,
|
|
218
|
-
link: '#/settings/team',
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
text: 'Notifications',
|
|
222
|
-
icon: 'Bell',
|
|
223
|
-
state: NavItemState.Default,
|
|
224
|
-
showBadge: true,
|
|
225
|
-
link: '#/settings/notifications',
|
|
226
|
-
},
|
|
227
|
-
],
|
|
228
|
-
},
|
|
229
|
-
],
|
|
230
|
-
bottomNavItems: [
|
|
231
|
-
{
|
|
232
|
-
text: 'Help Center',
|
|
233
|
-
icon: 'Question',
|
|
234
|
-
link: '#/help',
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
text: 'Log Out',
|
|
238
|
-
icon: 'SignOut',
|
|
239
|
-
onClick: () => alert('Logging out...'),
|
|
240
|
-
},
|
|
241
|
-
],
|
|
242
|
-
credits: {
|
|
243
|
-
maxCredits: 100,
|
|
244
|
-
usedCredits: 45,
|
|
245
|
-
creditInfoText: '1 Credit = 1 resource',
|
|
246
|
-
},
|
|
247
|
-
},
|
|
248
|
-
};
|