@acvl/frontend-components 0.0.87 → 0.0.88
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/index.d.ts +11 -11
- package/package.json +5 -2
package/dist/index.d.ts
CHANGED
|
@@ -202,7 +202,7 @@ interface CoverPageCardProps$1 {
|
|
|
202
202
|
}
|
|
203
203
|
declare const ModuleCard: React__default.FC<CoverPageCardProps$1>;
|
|
204
204
|
|
|
205
|
-
type PageType =
|
|
205
|
+
type PageType = "detail" | "list" | "edit" | "create";
|
|
206
206
|
interface ComoOpcionesProps {
|
|
207
207
|
endpoint: string;
|
|
208
208
|
filters?: any;
|
|
@@ -235,7 +235,7 @@ interface MyGridFilterModel {
|
|
|
235
235
|
quickFilterValues?: string;
|
|
236
236
|
}
|
|
237
237
|
interface MyDataGridProps extends DataGridProps {
|
|
238
|
-
initialState?: DataGridProps[
|
|
238
|
+
initialState?: DataGridProps["initialState"] & {
|
|
239
239
|
filters?: {
|
|
240
240
|
filterModel: MyGridFilterModel;
|
|
241
241
|
};
|
|
@@ -1022,7 +1022,7 @@ declare function DetailPage$1(props: DetailPageProps): react_jsx_runtime.JSX.Ele
|
|
|
1022
1022
|
|
|
1023
1023
|
/**
|
|
1024
1024
|
* Muestra animación de cargado hasta arriba de la página
|
|
1025
|
-
**/
|
|
1025
|
+
**/
|
|
1026
1026
|
declare const Loadable: (Component: any) => (props: any) => react_jsx_runtime.JSX.Element;
|
|
1027
1027
|
|
|
1028
1028
|
interface LoadingComponentProps {
|
|
@@ -1038,7 +1038,7 @@ declare const LoadingComponent: React__default.FC<LoadingComponentProps>;
|
|
|
1038
1038
|
* El archivo de marca es un PNG con fondo transparente, bola roja y letras
|
|
1039
1039
|
* negras. En claro va tal cual; en oscuro las letras negras desaparecerían
|
|
1040
1040
|
* contra el fondo, así que se recolorea por CSS a blanco.
|
|
1041
|
-
**/
|
|
1041
|
+
**/
|
|
1042
1042
|
interface LogoProps {
|
|
1043
1043
|
/** Altura máxima en px. */
|
|
1044
1044
|
maxHeight?: number;
|
|
@@ -1092,15 +1092,15 @@ declare const Tabs: React__default.FC<MyTabProps>;
|
|
|
1092
1092
|
|
|
1093
1093
|
interface TransitionsProps {
|
|
1094
1094
|
children?: ReactNode;
|
|
1095
|
-
position?:
|
|
1096
|
-
type?:
|
|
1097
|
-
direction?:
|
|
1095
|
+
position?: "top-left" | "top-right" | "top" | "bottom-left" | "bottom-right" | "bottom";
|
|
1096
|
+
type?: "grow" | "fade" | "collapse" | "slide" | "zoom";
|
|
1097
|
+
direction?: "up" | "down" | "left" | "right";
|
|
1098
1098
|
boxSX?: BoxProps;
|
|
1099
1099
|
[x: string]: any;
|
|
1100
1100
|
}
|
|
1101
1101
|
/**
|
|
1102
1102
|
* Componente customizable para generar efectos de transición
|
|
1103
|
-
**/
|
|
1103
|
+
**/
|
|
1104
1104
|
declare const Transitions: React$1.ForwardRefExoticComponent<Omit<TransitionsProps, "ref"> & React$1.RefAttributes<unknown>>;
|
|
1105
1105
|
|
|
1106
1106
|
interface ListPageProps {
|
|
@@ -1755,7 +1755,7 @@ declare const _default$1: redux.Reducer<{
|
|
|
1755
1755
|
|
|
1756
1756
|
/**
|
|
1757
1757
|
* Declara la sección de configuración en la tienda
|
|
1758
|
-
**/
|
|
1758
|
+
**/
|
|
1759
1759
|
interface Props$1 {
|
|
1760
1760
|
title?: string;
|
|
1761
1761
|
}
|
|
@@ -1835,8 +1835,8 @@ declare const HistorialDrawer: React__default.FC<HistorialDrawerProps>;
|
|
|
1835
1835
|
* El tema publica dos esquemas de color (claro y oscuro) como variables CSS, así
|
|
1836
1836
|
* que cambiar de modo no reconstruye el tema: solo cambia el atributo del `<html>`
|
|
1837
1837
|
* y el navegador resuelve las variables. Ver `useColorMode` para el interruptor.
|
|
1838
|
-
**/
|
|
1839
|
-
declare module
|
|
1838
|
+
**/
|
|
1839
|
+
declare module "@mui/material/styles" {
|
|
1840
1840
|
interface PaletteColor {
|
|
1841
1841
|
lighter?: string;
|
|
1842
1842
|
darker?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acvl/frontend-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.88",
|
|
4
4
|
"description": "Component library for ACV frontend projects.",
|
|
5
5
|
"homepage": "https://github.com/ACV-Logistics/acv-frontend-components#readme",
|
|
6
6
|
"access": "public",
|
|
@@ -22,7 +22,9 @@
|
|
|
22
22
|
"scripts": {
|
|
23
23
|
"dev": "rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript --watch",
|
|
24
24
|
"build": "rimraf dist && rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript && rimraf dist/esm/types",
|
|
25
|
-
"test": "vitest run"
|
|
25
|
+
"test": "vitest run",
|
|
26
|
+
"format": "prettier --write .",
|
|
27
|
+
"format:check": "prettier --check ."
|
|
26
28
|
},
|
|
27
29
|
"devDependencies": {
|
|
28
30
|
"@babel/core": "^7.29.0",
|
|
@@ -39,6 +41,7 @@
|
|
|
39
41
|
"@types/react": "^19.2.14",
|
|
40
42
|
"@types/rollup-plugin-peer-deps-external": "^2.2.6",
|
|
41
43
|
"postcss": "^8.5.8",
|
|
44
|
+
"prettier": "3.9.6",
|
|
42
45
|
"react": "^19.2.5",
|
|
43
46
|
"react-dom": "^19.2.4",
|
|
44
47
|
"rimraf": "^6.1.3",
|