siesa-ui-kit 1.0.10 → 1.0.12
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/components/Button/icons.d.ts +6 -5
- package/dist/components/Button/icons.d.ts.map +1 -1
- package/dist/components/Dropdown/Dropdown.d.ts +68 -9
- package/dist/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/components/Dropdown/Dropdown.types.d.ts +18 -0
- package/dist/components/Dropdown/Dropdown.types.d.ts.map +1 -1
- package/dist/components/Dropdown/icons.d.ts +3 -0
- package/dist/components/Dropdown/icons.d.ts.map +1 -1
- package/dist/components/DropdownItemCollapsible/DropdownItemCollapsible.d.ts.map +1 -1
- package/dist/components/DropdownItemCollapsible/DropdownItemCollapsible.types.d.ts +21 -0
- package/dist/components/DropdownItemCollapsible/DropdownItemCollapsible.types.d.ts.map +1 -1
- package/dist/components/Navbar/Navbar.d.ts.map +1 -1
- package/dist/components/Navbar/Navbar.types.d.ts +46 -1
- package/dist/components/Navbar/Navbar.types.d.ts.map +1 -1
- package/dist/components/NavigationRailGroup/NavigationRailGroup.d.ts +122 -0
- package/dist/components/NavigationRailGroup/NavigationRailGroup.d.ts.map +1 -0
- package/dist/components/NavigationRailGroup/NavigationRailGroup.types.d.ts +139 -0
- package/dist/components/NavigationRailGroup/NavigationRailGroup.types.d.ts.map +1 -0
- package/dist/components/NavigationRailGroup/icons.d.ts +33 -0
- package/dist/components/NavigationRailGroup/icons.d.ts.map +1 -0
- package/dist/components/NavigationRailGroup/index.d.ts +4 -0
- package/dist/components/NavigationRailGroup/index.d.ts.map +1 -0
- package/dist/components/NavigationRailItem/NavigationRailItem.d.ts.map +1 -1
- package/dist/components/NavigationRailItem/NavigationRailItem.types.d.ts +14 -0
- package/dist/components/NavigationRailItem/NavigationRailItem.types.d.ts.map +1 -1
- package/dist/components/NavigationRailTypes/NavigationRailTypes.d.ts.map +1 -1
- package/dist/components/NavigationRailTypes/NavigationRailTypes.types.d.ts +49 -0
- package/dist/components/NavigationRailTypes/NavigationRailTypes.types.d.ts.map +1 -1
- package/dist/components/NavigationRailTypes/icons.d.ts +15 -29
- package/dist/components/NavigationRailTypes/icons.d.ts.map +1 -1
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Select/icons.d.ts +6 -2
- package/dist/components/Select/icons.d.ts.map +1 -1
- package/dist/index.d.ts +32 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/siesa-ui-kit.cjs +483 -235
- package/dist/siesa-ui-kit.cjs.map +1 -1
- package/dist/siesa-ui-kit.mjs +6718 -1640
- package/dist/siesa-ui-kit.mjs.map +1 -1
- package/dist/style.css +1 -1
- package/dist/views/LayoutBase/LayoutBase.d.ts +73 -0
- package/dist/views/LayoutBase/LayoutBase.d.ts.map +1 -0
- package/dist/views/LayoutBase/LayoutBase.types.d.ts +99 -0
- package/dist/views/LayoutBase/LayoutBase.types.d.ts.map +1 -0
- package/dist/views/LayoutBase/index.d.ts +3 -0
- package/dist/views/LayoutBase/index.d.ts.map +1 -0
- package/dist/views/ListView/ListView.d.ts +18 -12
- package/dist/views/ListView/ListView.d.ts.map +1 -1
- package/dist/views/ListView/ListView.types.d.ts +31 -94
- package/dist/views/ListView/ListView.types.d.ts.map +1 -1
- package/dist/views/ListView/index.d.ts +1 -1
- package/dist/views/ListView/index.d.ts.map +1 -1
- package/package.json +6 -1
|
@@ -100,6 +100,20 @@ export interface NavigationRailItemProps {
|
|
|
100
100
|
* incluso si está en estado selected.
|
|
101
101
|
*/
|
|
102
102
|
onClick?: () => void;
|
|
103
|
+
/**
|
|
104
|
+
* Handler para evento mouse enter del item
|
|
105
|
+
*
|
|
106
|
+
* Se ejecuta cuando el cursor entra en el área del item.
|
|
107
|
+
* Útil para mostrar paneles o menús contextuales.
|
|
108
|
+
*/
|
|
109
|
+
onMouseEnter?: () => void;
|
|
110
|
+
/**
|
|
111
|
+
* Handler para evento mouse leave del item
|
|
112
|
+
*
|
|
113
|
+
* Se ejecuta cuando el cursor sale del área del item.
|
|
114
|
+
* Útil para ocultar paneles o menús contextuales.
|
|
115
|
+
*/
|
|
116
|
+
onMouseLeave?: () => void;
|
|
103
117
|
/**
|
|
104
118
|
* Label para accesibilidad (ARIA-label)
|
|
105
119
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationRailItem.types.d.ts","sourceRoot":"","sources":["../../../src/components/NavigationRailItem/NavigationRailItem.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;;;;;;;;OAUG;IACH,IAAI,EAAE,SAAS,CAAC;IAEhB;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;;;;OASG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;;;;;;;;;OAUG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;;;;OAQG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,uBAAuB,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,OAAO,GAAG,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"NavigationRailItem.types.d.ts","sourceRoot":"","sources":["../../../src/components/NavigationRailItem/NavigationRailItem.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;;;;;;;;OAUG;IACH,IAAI,EAAE,SAAS,CAAC;IAEhB;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;;;;OASG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;;;;;;;;;OAUG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAE1B;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAE1B;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;;;;OAQG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,uBAAuB,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,OAAO,GAAG,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationRailTypes.d.ts","sourceRoot":"","sources":["../../../src/components/NavigationRailTypes/NavigationRailTypes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,wBAAwB,EAAsB,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"NavigationRailTypes.d.ts","sourceRoot":"","sources":["../../../src/components/NavigationRailTypes/NavigationRailTypes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,wBAAwB,EAAsB,MAAM,6BAA6B,CAAC;AAQhG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6FG;AACH,eAAO,MAAM,mBAAmB,iGAgQ/B,CAAC;AAIF,eAAe,mBAAmB,CAAC"}
|
|
@@ -22,6 +22,11 @@ export interface NavigationRailTypesProps {
|
|
|
22
22
|
* @default true
|
|
23
23
|
*/
|
|
24
24
|
showRecentButton?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Si mostrar el botón de búsqueda en modo collapsed
|
|
27
|
+
* @default true
|
|
28
|
+
*/
|
|
29
|
+
showSearchButton?: boolean;
|
|
25
30
|
/**
|
|
26
31
|
* Callback cuando el estado collapsed cambia
|
|
27
32
|
* Útil para sincronizar con estado global
|
|
@@ -33,10 +38,46 @@ export interface NavigationRailTypesProps {
|
|
|
33
38
|
* @param item - datos del item
|
|
34
39
|
*/
|
|
35
40
|
onItemClick?: (index: number, item: NavigationRailItem) => void;
|
|
41
|
+
/**
|
|
42
|
+
* Callback cuando se hace hover sobre un item
|
|
43
|
+
* @param index - índice del item con hover
|
|
44
|
+
* @param item - datos del item
|
|
45
|
+
*/
|
|
46
|
+
onItemHover?: (index: number, item: NavigationRailItem) => void;
|
|
36
47
|
/**
|
|
37
48
|
* Classes CSS adicionales
|
|
38
49
|
*/
|
|
39
50
|
className?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Labels de internacionalización
|
|
53
|
+
*/
|
|
54
|
+
labels?: {
|
|
55
|
+
/**
|
|
56
|
+
* Label del botón de búsqueda (collapsed mode)
|
|
57
|
+
* @default 'Search'
|
|
58
|
+
*/
|
|
59
|
+
searchButton?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Placeholder del input de búsqueda (expanded mode)
|
|
62
|
+
* @default 'Buscar módulo'
|
|
63
|
+
*/
|
|
64
|
+
searchPlaceholder?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Label del botón "Recientes"
|
|
67
|
+
* @default 'Recientes'
|
|
68
|
+
*/
|
|
69
|
+
recentButton?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Label del botón "Colapsar"
|
|
72
|
+
* @default 'Colapsar'
|
|
73
|
+
*/
|
|
74
|
+
collapseButton?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Label del botón "Expandir"
|
|
77
|
+
* @default 'Expandir'
|
|
78
|
+
*/
|
|
79
|
+
expandButton?: string;
|
|
80
|
+
};
|
|
40
81
|
}
|
|
41
82
|
/**
|
|
42
83
|
* Props para cada item de navegación en el rail
|
|
@@ -68,6 +109,14 @@ export interface NavigationRailItem {
|
|
|
68
109
|
* Callback cuando se hace click en el item
|
|
69
110
|
*/
|
|
70
111
|
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
112
|
+
/**
|
|
113
|
+
* Callback cuando el mouse entra al item
|
|
114
|
+
*/
|
|
115
|
+
onMouseEnter?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
116
|
+
/**
|
|
117
|
+
* Callback cuando el mouse sale del item
|
|
118
|
+
*/
|
|
119
|
+
onMouseLeave?: () => void;
|
|
71
120
|
/**
|
|
72
121
|
* URL para navigation (si se usa como link)
|
|
73
122
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationRailTypes.types.d.ts","sourceRoot":"","sources":["../../../src/components/NavigationRailTypes/NavigationRailTypes.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;OAGG;IACH,KAAK,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAE7B;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;;OAGG;IACH,iBAAiB,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IAEjD;;;;OAIG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAEhE;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"NavigationRailTypes.types.d.ts","sourceRoot":"","sources":["../../../src/components/NavigationRailTypes/NavigationRailTypes.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;OAGG;IACH,KAAK,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAE7B;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;;OAGG;IACH,iBAAiB,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IAEjD;;;;OAIG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAEhE;;;;OAIG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAEhE;;OAEG;IACH,SAAS,CAA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vE;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAEhC;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB"}
|
|
@@ -1,58 +1,44 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Props comunes para los iconos
|
|
4
|
+
*/
|
|
5
|
+
interface IconProps {
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
2
8
|
/**
|
|
3
9
|
* Icono Chevron Right (apunta hacia la derecha)
|
|
4
10
|
* Usado en el botón de collapse
|
|
5
|
-
* Tamaño recomendado: 16x16px
|
|
6
11
|
*/
|
|
7
|
-
export declare const ChevronRightIcon: React.FC<
|
|
8
|
-
className?: string;
|
|
9
|
-
}>;
|
|
12
|
+
export declare const ChevronRightIcon: React.FC<IconProps>;
|
|
10
13
|
/**
|
|
11
14
|
* Icono Chevron Left (apunta hacia la izquierda)
|
|
12
15
|
* Usado en el botón de expand
|
|
13
|
-
* Tamaño recomendado: 16x16px
|
|
14
16
|
*/
|
|
15
|
-
export declare const ChevronLeftIcon: React.FC<
|
|
16
|
-
className?: string;
|
|
17
|
-
}>;
|
|
17
|
+
export declare const ChevronLeftIcon: React.FC<IconProps>;
|
|
18
18
|
/**
|
|
19
|
-
* Icono Clock (reloj)
|
|
19
|
+
* Icono Clock (reloj) - Estilo OUTLINE 24
|
|
20
20
|
* Usado en el botón "Recientes"
|
|
21
|
-
* Tamaño recomendado: 16x16px
|
|
22
21
|
*/
|
|
23
|
-
export declare const ClockIcon: React.FC<
|
|
24
|
-
className?: string;
|
|
25
|
-
}>;
|
|
22
|
+
export declare const ClockIcon: React.FC<IconProps>;
|
|
26
23
|
/**
|
|
27
24
|
* Icono Magnifying Glass (búsqueda)
|
|
28
25
|
* Usado en el botón de búsqueda
|
|
29
|
-
* Tamaño recomendado: 16x16px
|
|
30
26
|
*/
|
|
31
|
-
export declare const MagnifyingGlassIcon: React.FC<
|
|
32
|
-
className?: string;
|
|
33
|
-
}>;
|
|
27
|
+
export declare const MagnifyingGlassIcon: React.FC<IconProps>;
|
|
34
28
|
/**
|
|
35
29
|
* Icono Home
|
|
36
30
|
* Ejemplo para items de navegación
|
|
37
|
-
* Tamaño recomendado: 16x16px
|
|
38
31
|
*/
|
|
39
|
-
export declare const HomeIcon: React.FC<
|
|
40
|
-
className?: string;
|
|
41
|
-
}>;
|
|
32
|
+
export declare const HomeIcon: React.FC<IconProps>;
|
|
42
33
|
/**
|
|
43
34
|
* Icono Users
|
|
44
35
|
* Ejemplo para items de navegación
|
|
45
|
-
* Tamaño recomendado: 16x16px
|
|
46
36
|
*/
|
|
47
|
-
export declare const UsersIcon: React.FC<
|
|
48
|
-
className?: string;
|
|
49
|
-
}>;
|
|
37
|
+
export declare const UsersIcon: React.FC<IconProps>;
|
|
50
38
|
/**
|
|
51
39
|
* Icono Settings
|
|
52
40
|
* Ejemplo para items de navegación
|
|
53
|
-
* Tamaño recomendado: 16x16px
|
|
54
41
|
*/
|
|
55
|
-
export declare const SettingsIcon: React.FC<
|
|
56
|
-
|
|
57
|
-
}>;
|
|
42
|
+
export declare const SettingsIcon: React.FC<IconProps>;
|
|
43
|
+
export {};
|
|
58
44
|
//# sourceMappingURL=icons.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/components/NavigationRailTypes/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/components/NavigationRailTypes/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B;;GAEG;AACH,UAAU,SAAS;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAEhD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAE/C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAEzC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAEnD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAExC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAEzC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAE5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAgB,MAAM,gBAAgB,CAAC;AAGhE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAgB,MAAM,gBAAgB,CAAC;AAGhE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAqaxC,CAAC"}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
/**
|
|
3
3
|
* Icono ChevronUpDown para el trigger del Select
|
|
4
|
-
* Heroicons
|
|
4
|
+
* Basado en Heroicons 24/outline (24x24px)
|
|
5
|
+
*
|
|
6
|
+
* @see https://heroicons.com/
|
|
5
7
|
*/
|
|
6
8
|
export declare const ChevronUpDownIcon: React.FC<{
|
|
7
9
|
className?: string;
|
|
8
10
|
}>;
|
|
9
11
|
/**
|
|
10
12
|
* Icono Check para los items seleccionados del menu
|
|
11
|
-
* Heroicons
|
|
13
|
+
* Basado en Heroicons 24/outline (24x24px)
|
|
14
|
+
*
|
|
15
|
+
* @see https://heroicons.com/
|
|
12
16
|
*/
|
|
13
17
|
export declare const CheckIcon: React.FC<{
|
|
14
18
|
className?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/components/Select/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/components/Select/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAE9D,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAEtD,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -23,14 +23,28 @@ export { Badge } from './components/Badge/Badge';
|
|
|
23
23
|
export type { BadgeProps, BadgeColor } from './components/Badge/Badge.types';
|
|
24
24
|
export { Quantity } from './components/Quantity/Quantity';
|
|
25
25
|
export type { QuantityProps } from './components/Quantity/Quantity.types';
|
|
26
|
+
export { NavigationRailItem } from './components/NavigationRailItem/NavigationRailItem';
|
|
27
|
+
export type { NavigationRailItemProps, NavigationRailItemState } from './components/NavigationRailItem/NavigationRailItem.types';
|
|
26
28
|
export { Dropdown } from './components/Dropdown/Dropdown';
|
|
27
29
|
export type { DropdownProps, DropdownItemProps } from './components/Dropdown/Dropdown.types';
|
|
30
|
+
export { DropdownItemCollapsible } from './components/DropdownItemCollapsible/DropdownItemCollapsible';
|
|
31
|
+
export type { DropdownItemCollapsibleProps, DropdownItemCollapsibleChildProps } from './components/DropdownItemCollapsible/DropdownItemCollapsible.types';
|
|
32
|
+
export { DropdownItemHeading } from './components/DropdownItemHeading/DropdownItemHeading';
|
|
33
|
+
export type { DropdownItemHeadingProps } from './components/DropdownItemHeading/DropdownItemHeading.types';
|
|
28
34
|
export { Notification } from './components/Notification/Notification';
|
|
29
35
|
export type { NotificationProps } from './components/Notification/Notification.types';
|
|
30
36
|
export { Pagination } from './components/Pagination/Pagination';
|
|
31
37
|
export type { PaginationProps } from './components/Pagination/Pagination.types';
|
|
32
38
|
export { Select } from './components/Select/Select';
|
|
33
39
|
export type { SelectProps, SelectOption } from './components/Select/Select.types';
|
|
40
|
+
export { NavigationRail } from './components/NavigationRail/NavigationRail';
|
|
41
|
+
export type { NavigationRailItemProps as NavigationRailProps } from './components/NavigationRail/NavigationRail.types';
|
|
42
|
+
export { NavigationRailPanel } from './components/NavigationRailPanel/NavigationRailPanel';
|
|
43
|
+
export type { NavigationRailPanelProps, NavigationRailPanelSectionProps, NavigationRailPanelItemProps } from './components/NavigationRailPanel/NavigationRailPanel.types';
|
|
44
|
+
export { NavigationRailTypes } from './components/NavigationRailTypes/NavigationRailTypes';
|
|
45
|
+
export type { NavigationRailTypesProps, NavigationRailItem as NavigationRailTypeItem } from './components/NavigationRailTypes/NavigationRailTypes.types';
|
|
46
|
+
export { NavigationRailGroup } from './components/NavigationRailGroup/NavigationRailGroup';
|
|
47
|
+
export type { NavigationRailGroupProps, NavigationRailGroupMenuItem } from './components/NavigationRailGroup/NavigationRailGroup.types';
|
|
34
48
|
export { Table } from './components/Table/Table';
|
|
35
49
|
export type { TableProps, TableColumn, SortDirection } from './components/Table/Table.types';
|
|
36
50
|
export { Tabs } from './components/Tabs/Tabs';
|
|
@@ -53,5 +67,23 @@ export { POSProductSidebarItems } from './components/POSProductSidebarItems/POSP
|
|
|
53
67
|
export type { POSProductSidebarItemsProps, DescriptionItem } from './components/POSProductSidebarItems/POSProductSidebarItems.types';
|
|
54
68
|
export { POSTable } from './components/POSTable/POSTable';
|
|
55
69
|
export type { POSTableProps, TableStatus, TableShape, ChairCount } from './components/POSTable/POSTable.types';
|
|
70
|
+
export { LoginView } from './components/LoginView/LoginView';
|
|
71
|
+
export type { LoginViewProps } from './components/LoginView/LoginView.types';
|
|
72
|
+
export { SignUpView } from './components/SignUpView/SignUpView';
|
|
73
|
+
export type { SignUpViewProps } from './components/SignUpView/SignUpView.types';
|
|
74
|
+
export { LayoutBase } from './views/LayoutBase/LayoutBase';
|
|
75
|
+
export type { LayoutBaseProps } from './views/LayoutBase/LayoutBase.types';
|
|
76
|
+
export { ListView } from './views/ListView/ListView';
|
|
77
|
+
export type { ListViewProps } from './views/ListView/ListView.types';
|
|
78
|
+
export { LoginView as LoginViewPage } from './views/LoginView/LoginView';
|
|
79
|
+
export type { LoginViewProps as LoginViewPageProps } from './views/LoginView/LoginView.types';
|
|
80
|
+
export { ProductsView } from './views/ProductsView/ProductsView';
|
|
81
|
+
export type { ProductsViewProps } from './views/ProductsView/ProductsView.types';
|
|
82
|
+
export { RecoverPasswordView } from './views/RecoverPasswordView/RecoverPasswordView';
|
|
83
|
+
export type { RecoverPasswordViewProps } from './views/RecoverPasswordView/RecoverPasswordView.types';
|
|
84
|
+
export { SignUpView as SignUpViewPage } from './views/SignUpView/SignUpView';
|
|
85
|
+
export type { SignUpViewProps as SignUpViewPageProps } from './views/SignUpView/SignUpView.types';
|
|
86
|
+
export { TableLayoutView } from './views/TableLayoutView/TableLayoutView';
|
|
87
|
+
export type { TableLayoutViewProps } from './views/TableLayoutView/TableLayoutView.types';
|
|
56
88
|
export { ThemeProvider, useTheme, type Theme } from './context';
|
|
57
89
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,aAAa,CAAC;AAGrB,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAEzG,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAE7E,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAEzF,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAEzF,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAE7E,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAEjF,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAE5F,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAEpF,OAAO,EAAE,eAAe,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