@ciromaciel/dashboard-kit 1.1.0 → 1.2.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/package.json
CHANGED
|
@@ -162,14 +162,28 @@ export function SidebarShell({
|
|
|
162
162
|
planos. Escondê-lo deixaria o limite invisível, e a pessoa
|
|
163
163
|
procuraria o botão em vez de descobrir que precisa de
|
|
164
164
|
upgrade.
|
|
165
|
+
|
|
166
|
+
O CONTORNO É O QUE O SEPARA DA NAVEGAÇÃO. Na coluna, sem
|
|
167
|
+
moldura é um lugar para ir, preenchido de preto é onde você
|
|
168
|
+
está, e com contorno é algo que você cria. Preto sólido
|
|
169
|
+
diria "você está aqui"; cor gastaria a única exceção do
|
|
170
|
+
sistema, o vermelho de perda. A borda é a mesma linha fina
|
|
171
|
+
dos contadores ao lado dos itens.
|
|
165
172
|
*/}
|
|
166
173
|
{onCreate && (
|
|
167
|
-
<
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
174
|
+
<Box
|
|
175
|
+
w="100%"
|
|
176
|
+
mb={4}
|
|
177
|
+
data-create
|
|
178
|
+
style={{ border: '1px solid var(--mantine-color-gray-3)' }}
|
|
179
|
+
>
|
|
180
|
+
<NavItem
|
|
181
|
+
icon={createIcon}
|
|
182
|
+
label={<span style={{ fontWeight: 700 }}>{createAllowed ? createLabel : createBlockedLabel}</span>}
|
|
183
|
+
muted={!createAllowed}
|
|
184
|
+
onClick={createAllowed ? onCreate : onCreateBlocked}
|
|
185
|
+
/>
|
|
186
|
+
</Box>
|
|
173
187
|
)}
|
|
174
188
|
|
|
175
189
|
{groupLabel && <GroupLabel>{groupLabel}</GroupLabel>}
|