sprintify-ui 0.8.12 → 0.8.13
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/package.json
CHANGED
|
@@ -2,6 +2,7 @@ import { DateTime } from 'luxon';
|
|
|
2
2
|
import PageDashboard from '../../.storybook/components/PageDashboard.vue';
|
|
3
3
|
import BaseLayoutSidebarConfigurable from './BaseLayoutSidebarConfigurable.vue';
|
|
4
4
|
import { useSystemAlertStore } from '../stores/systemAlerts';
|
|
5
|
+
import { sizes } from '../../.storybook/utils';
|
|
5
6
|
|
|
6
7
|
export default {
|
|
7
8
|
title: 'Layout/BaseLayoutSidebarConfigurable',
|
|
@@ -9,6 +10,14 @@ export default {
|
|
|
9
10
|
parameters: {
|
|
10
11
|
layout: 'fullscreen',
|
|
11
12
|
},
|
|
13
|
+
argTypes: {
|
|
14
|
+
size: {
|
|
15
|
+
control: {
|
|
16
|
+
type: 'select',
|
|
17
|
+
},
|
|
18
|
+
options: sizes,
|
|
19
|
+
},
|
|
20
|
+
},
|
|
12
21
|
args: {
|
|
13
22
|
user: {
|
|
14
23
|
email: 'jane@witify.io',
|
|
@@ -49,7 +58,7 @@ export default {
|
|
|
49
58
|
{
|
|
50
59
|
label: 'Articles',
|
|
51
60
|
to: '/articles',
|
|
52
|
-
icon: 'heroicons:document-text-solid',
|
|
61
|
+
icon: 'heroicons:document-text-20-solid',
|
|
53
62
|
count: 3134,
|
|
54
63
|
actions: [
|
|
55
64
|
{
|
|
@@ -75,7 +84,7 @@ export default {
|
|
|
75
84
|
{
|
|
76
85
|
label: 'Users',
|
|
77
86
|
to: '/users',
|
|
78
|
-
icon: 'heroicons:users-solid',
|
|
87
|
+
icon: 'heroicons:users-20-solid',
|
|
79
88
|
},
|
|
80
89
|
],
|
|
81
90
|
},
|
|
@@ -85,12 +94,12 @@ export default {
|
|
|
85
94
|
{
|
|
86
95
|
label: 'Account',
|
|
87
96
|
to: '/account',
|
|
88
|
-
icon: 'heroicons:cog-solid',
|
|
97
|
+
icon: 'heroicons:cog-20-solid',
|
|
89
98
|
},
|
|
90
99
|
{
|
|
91
100
|
label: 'Logout',
|
|
92
101
|
action: logout,
|
|
93
|
-
icon: 'heroicons:arrow-left-on-rectangle-solid',
|
|
102
|
+
icon: 'heroicons:arrow-left-on-rectangle-20-solid',
|
|
94
103
|
},
|
|
95
104
|
],
|
|
96
105
|
},
|
|
@@ -99,12 +108,12 @@ export default {
|
|
|
99
108
|
{
|
|
100
109
|
label: 'Dashboard',
|
|
101
110
|
to: '/',
|
|
102
|
-
icon: 'heroicons:home-solid',
|
|
111
|
+
icon: 'heroicons:home-20-solid',
|
|
103
112
|
},
|
|
104
113
|
{
|
|
105
114
|
label: 'Settings',
|
|
106
115
|
to: '/account',
|
|
107
|
-
icon: 'heroicons:cog-solid',
|
|
116
|
+
icon: 'heroicons:cog-20-solid',
|
|
108
117
|
},
|
|
109
118
|
{
|
|
110
119
|
label: 'Logout',
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
>
|
|
9
9
|
<template #menu="{ collapsed }">
|
|
10
10
|
<div
|
|
11
|
-
class="
|
|
12
|
-
:class="[collapsed ? '' : 'px-3']"
|
|
11
|
+
class=""
|
|
12
|
+
:class="[collapsed ? 'py-3' : 'px-3 py-6']"
|
|
13
13
|
>
|
|
14
14
|
<div :class="[collapsed ? 'space-y-2' : 'space-y-8']">
|
|
15
15
|
<template
|
|
@@ -27,6 +27,13 @@
|
|
|
27
27
|
>
|
|
28
28
|
{{ section.label }}
|
|
29
29
|
</h2>
|
|
30
|
+
|
|
31
|
+
<div
|
|
32
|
+
v-else
|
|
33
|
+
class="px-4"
|
|
34
|
+
>
|
|
35
|
+
<hr class="my-2 border-slate-600">
|
|
36
|
+
</div>
|
|
30
37
|
|
|
31
38
|
<div
|
|
32
39
|
:class="[
|