@acvl/frontend-components 0.0.55 → 0.0.57
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/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/src/components/v1/layout/pages/(errors)/NotAllowed.d.ts +1 -1
- package/dist/cjs/types/src/components/v1/layout/pages/(errors)/NotFound.d.ts +1 -1
- package/dist/cjs/types/src/components/v2/layout/layouts/MainLayout/index.d.ts +11 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/components/v1/layout/pages/(errors)/NotAllowed.d.ts +1 -1
- package/dist/esm/types/src/components/v1/layout/pages/(errors)/NotFound.d.ts +1 -1
- package/dist/esm/types/src/components/v2/layout/layouts/MainLayout/index.d.ts +11 -1
- package/dist/index.d.ts +13 -3
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ElementType, type JSXElementConstructor, type ReactNode } from "react";
|
|
2
2
|
import { type Authentication, type Branding, type DashboardHeaderProps, type Navigation, type Session } from "@toolpad/core";
|
|
3
3
|
import type { SidebarFooterProps } from "@toolpad/core/DashboardLayout";
|
|
4
|
-
import type { Theme } from "@mui/material/styles";
|
|
4
|
+
import type { CSSObject, Theme } from "@mui/material/styles";
|
|
5
5
|
import { type DetachedPage } from "./PageHeader";
|
|
6
6
|
/**
|
|
7
7
|
* Cascarón de la aplicación construido sobre Toolpad: barra superior, menú de
|
|
@@ -42,6 +42,16 @@ export interface MainLayoutProps {
|
|
|
42
42
|
* la página es más larga que el viewport.
|
|
43
43
|
*/
|
|
44
44
|
pageBackgroundColor?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Estilos extra para el `DashboardLayout`. Se aplican después de los del
|
|
47
|
+
* layout, así que pueden sobreescribirlos (ej. el ancho mínimo del sidebar
|
|
48
|
+
* o el tamaño de fuente del encabezado en un proyecto concreto).
|
|
49
|
+
*
|
|
50
|
+
* `DashboardLayout` fusiona este objeto con spread (`{ ...sx }`), por eso se
|
|
51
|
+
* admite solo la variante objeto de `sx`: un array o una función de tema se
|
|
52
|
+
* romperían en silencio.
|
|
53
|
+
*/
|
|
54
|
+
sx?: CSSObject;
|
|
45
55
|
/** Overrides de slots del layout. */
|
|
46
56
|
slots?: {
|
|
47
57
|
/** Barra superior del dashboard. Por defecto la de Toolpad. */
|
package/dist/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ import * as _emotion_styled from '@emotion/styled';
|
|
|
18
18
|
import * as _mui_system from '@mui/system';
|
|
19
19
|
import { Breadcrumb, PageHeaderProps, Navigation, Branding, Session, Authentication, DashboardHeaderProps } from '@toolpad/core';
|
|
20
20
|
import { SidebarFooterProps } from '@toolpad/core/DashboardLayout';
|
|
21
|
-
import { Theme } from '@mui/material/styles';
|
|
21
|
+
import { Theme, CSSObject } from '@mui/material/styles';
|
|
22
22
|
import { UseFormReturn } from 'react-hook-form';
|
|
23
23
|
|
|
24
24
|
interface NormalOrIconProps {
|
|
@@ -775,12 +775,12 @@ declare const ListPage: (props: ListPageProps) => react_jsx_runtime.JSX.Element;
|
|
|
775
775
|
|
|
776
776
|
/**
|
|
777
777
|
* Página que se muestra al dar con un error 404 (página no encontrada)
|
|
778
|
-
**/
|
|
778
|
+
**/
|
|
779
779
|
declare const NotAllowed: () => react_jsx_runtime.JSX.Element;
|
|
780
780
|
|
|
781
781
|
/**
|
|
782
782
|
* Página que se muestra al dar con un error 404 (página no encontrada)
|
|
783
|
-
**/
|
|
783
|
+
**/
|
|
784
784
|
declare const NotFound: () => react_jsx_runtime.JSX.Element;
|
|
785
785
|
|
|
786
786
|
declare function ContentLayout({ children, button, badge, }: {
|
|
@@ -1296,6 +1296,16 @@ interface MainLayoutProps {
|
|
|
1296
1296
|
* la página es más larga que el viewport.
|
|
1297
1297
|
*/
|
|
1298
1298
|
pageBackgroundColor?: string;
|
|
1299
|
+
/**
|
|
1300
|
+
* Estilos extra para el `DashboardLayout`. Se aplican después de los del
|
|
1301
|
+
* layout, así que pueden sobreescribirlos (ej. el ancho mínimo del sidebar
|
|
1302
|
+
* o el tamaño de fuente del encabezado en un proyecto concreto).
|
|
1303
|
+
*
|
|
1304
|
+
* `DashboardLayout` fusiona este objeto con spread (`{ ...sx }`), por eso se
|
|
1305
|
+
* admite solo la variante objeto de `sx`: un array o una función de tema se
|
|
1306
|
+
* romperían en silencio.
|
|
1307
|
+
*/
|
|
1308
|
+
sx?: CSSObject;
|
|
1299
1309
|
/** Overrides de slots del layout. */
|
|
1300
1310
|
slots?: {
|
|
1301
1311
|
/** Barra superior del dashboard. Por defecto la de Toolpad. */
|
package/package.json
CHANGED