@m4l/components 9.1.44 → 9.1.46
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/components/AccountPopover/AccountPopover.d.ts +9 -12
- package/components/AccountPopover/AccountPopover.styles.js +15 -15
- package/components/AccountPopover/subcomponents/MenuPopover/MenuPopover.d.ts +1 -1
- package/components/AccountPopover/subcomponents/MyAvatar/MyAvatar.d.ts +1 -1
- package/components/AccountPopover/types.d.ts +36 -0
- package/components/ControlIncrement/ControlIncrement.d.ts +4 -0
- package/components/DataGrid/subcomponents/Actions/subcomponents/Density/index.d.ts +1 -1
- package/components/DataGrid/subcomponents/Actions/subcomponents/MobileMenuActions/index.d.ts +1 -1
- package/components/Image/Image.d.ts +1 -1
- package/components/Image/hoc/WithTrackWindowScroll.d.ts +1 -1
- package/components/Image/image.styles.js +3 -3
- package/components/Image/subcomponents/LazyLoadComponent/index.d.ts +1 -1
- package/components/Image/utils/get-scroll-ancestor.d.ts +1 -1
- package/components/Image/utils/isIntersectionObserverAvailable.d.ts +1 -1
- package/components/InputNumberSpinner/InputNumberSpinner.d.ts +2 -2
- package/components/LanguagePopover/LanguagePopover.d.ts +1 -1
- package/components/MFLoader/MFLoader.d.ts +2 -2
- package/components/MenuActions/MenuActions.d.ts +1 -1
- package/components/MenuActions/MenuActions.styles.js +2 -2
- package/components/MenuActions/dictionary.d.ts +3 -3
- package/components/MenuActions/types.d.ts +4 -4
- package/components/ModalDialog/ModalDialog.styles.js +6 -6
- package/components/PaperForm/components/Header.d.ts +1 -1
- package/components/SideBar/SideBar.d.ts +9 -29
- package/components/SideBar/subcomponents/ContentComponent/index.d.ts +1 -1
- package/components/SideBar/subcomponents/ContentGroups/index.d.ts +7 -5
- package/components/SideBar/subcomponents/ContentGroups/index.js +2 -2
- package/components/SideBar/subcomponents/ContentGroups/styles.js +5 -5
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/index.d.ts +1 -1
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +2 -2
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/subcomponents/ArrowIcon/index.d.ts +1 -1
- package/components/SideBar/subcomponents/ContentGroups/types.d.ts +4 -0
- package/components/SideBar/subcomponents/FooterSidebar/index.d.ts +1 -1
- package/components/SideBar/subcomponents/FooterSidebar/styles.js +1 -1
- package/components/SideBar/types.d.ts +50 -0
- package/components/WindowBase/WindowBase.d.ts +1 -1
- package/components/WindowBase/WindowBase.styles.js +12 -12
- package/components/WindowBase/subcomponents/Header/HeaderWindowBase.d.ts +1 -1
- package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.d.ts +1 -1
- package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts +2 -2
- package/components/WindowBase/types.d.ts +1 -1
- package/components/WindowConfirm/WindowConfirm.styles.js +16 -16
- package/components/WindowConfirm/types.d.ts +2 -2
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/subcomponents/ChipActionsMobile/index.d.ts +1 -1
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/subcomponents/ChipActionsMobile/index.js +1 -1
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/index.d.ts +1 -1
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/index.js +1 -1
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/PanelWindowPopUp/index.d.ts +1 -1
- package/components/areas/components/AreasAdmin/subcomponents/PanelWindowPopUp/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/PanelWindows/index.d.ts +2 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/WindowPopUpsList/index.d.ts +1 -1
- package/components/areas/contexts/AreasContext/index.d.ts +5 -0
- package/components/areas/contexts/AreasContext/store.d.ts +2 -2
- package/components/areas/contexts/AreasContext/store.js +134 -2
- package/components/areas/types.d.ts +1 -1
- package/components/formatters/BooleanFormatter/BooleanFormatter.d.ts +5 -2
- package/components/formatters/BooleanFormatter/BooleanFormatter.js +22 -19
- package/components/formatters/BooleanFormatter/BooleanFormatter.styles.js +11 -6
- package/components/formatters/BooleanFormatter/dictionary.d.ts +1 -1
- package/components/formatters/BooleanFormatter/slots/BooleanFormatterEnum.d.ts +2 -4
- package/components/formatters/BooleanFormatter/slots/BooleanFormatterEnum.js +2 -4
- package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.d.ts +1 -7
- package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.js +6 -17
- package/components/formatters/BooleanFormatter/types.d.ts +9 -4
- package/components/hook-form/RHFAutocomplete/subcomponents/ComponentTypeText/index.d.ts +4 -0
- package/components/hook-form/RHFAutocomplete/subcomponents/ComponentTypeText/index.js +4 -0
- package/components/hook-form/RHFInputNumberSpinner/RHFInputNumberSpinner.d.ts +4 -0
- package/components/hook-form/RHFTextField/RHFTextField.d.ts +1 -1
- package/components/hook-form/RHFTextField/RHFTextField.styles.js +1 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/index.d.ts +1 -1
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useRowActionsGetter.d.ts +1 -1
- package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/index.d.ts +1 -1
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/index.d.ts +1 -1
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.d.ts +1 -1
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useRowActionsGetter.d.ts +1 -1
- package/components/mui_extended/Accordion/Accordion.d.ts +1 -1
- package/components/mui_extended/Accordion/styles.js +6 -6
- package/components/mui_extended/Avatar/styles.js +1 -1
- package/components/mui_extended/Avatar/subcomponents/SkeletonAvatar/index.d.ts +1 -1
- package/components/mui_extended/Button/Button.d.ts +1 -1
- package/components/mui_extended/CheckBox/CheckBox.styles.js +12 -0
- package/components/mui_extended/Dialog/Dialog.styles.js +1 -1
- package/components/mui_extended/IconButton/IconButton.d.ts +1 -1
- package/components/mui_extended/IconButton/IconButton.styles.js +4 -4
- package/components/mui_extended/ImageButton/ImageButton.d.ts +1 -1
- package/components/mui_extended/MenuItem/MenuItem.d.ts +1 -1
- package/components/mui_extended/MenuItem/MenuItem.styles.js +9 -5
- package/components/mui_extended/Popover/Popover.d.ts +1 -1
- package/components/mui_extended/Popover/Popover.styles.js +2 -2
- package/components/mui_extended/Tab/Tab.d.ts +1 -1
- package/components/mui_extended/Tab/Tab.styles.js +2 -2
- package/components/mui_extended/TextField/TextField.d.ts +1 -1
- package/components/mui_extended/TextField/TextField.styles.js +2 -2
- package/components/mui_extended/ToggleButton/ToggleButton.styles.js +1 -1
- package/components/mui_extended/Tooltip/Tooltip.styles.js +4 -0
- package/components/mui_extended/Typography/types.d.ts +1 -1
- package/components/mui_extended/Typography/typography.styles.js +1 -1
- package/package.json +2 -1
- package/components/StorybookTest/StorybookTest.d.ts +0 -9
- package/components/StorybookTest/base.stories.d.ts +0 -9
- package/components/formatters/FormatterRoot/index.js +0 -10
- package/components/formatters/FormatterRoot/styles.js +0 -7
- package/components/formatters/classes/index.js +0 -13
- package/components/formatters/constants.js +0 -4
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
const checkBoxStyles = {
|
|
2
2
|
/**
|
|
3
3
|
* Estilos generales para el checkbox
|
|
4
|
+
* @author Andrés Quintero - automatic
|
|
5
|
+
* @createdAt 2024-12-30 14:36:06 - automatic
|
|
6
|
+
* @updatedAt 2024-12-30 14:36:10 - automatic
|
|
7
|
+
* @updatedUser Andrés Quintero - automatic
|
|
4
8
|
*/
|
|
5
9
|
root: ({ theme, ownerState }) => ({
|
|
6
10
|
display: "flex",
|
|
@@ -52,6 +56,10 @@ const checkBoxStyles = {
|
|
|
52
56
|
}),
|
|
53
57
|
/**
|
|
54
58
|
* Componente MuiCheckBox, FocusVisible para cuando esta seleccionado el CheckBox
|
|
59
|
+
* @author Andrés Quintero - automatic
|
|
60
|
+
* @createdAt 2024-12-30 14:36:06 - automatic
|
|
61
|
+
* @updatedAt 2024-12-30 14:36:10 - automatic
|
|
62
|
+
* @updatedUser Andrés Quintero - automatic
|
|
55
63
|
*/
|
|
56
64
|
muiCheckBox: ({ theme }) => ({
|
|
57
65
|
overflow: "visible",
|
|
@@ -70,6 +78,10 @@ const checkBoxStyles = {
|
|
|
70
78
|
}),
|
|
71
79
|
/**
|
|
72
80
|
* Estilos para el label del CheckBox
|
|
81
|
+
* @author Andrés Quintero - automatic
|
|
82
|
+
* @createdAt 2024-12-30 14:36:06 - automatic
|
|
83
|
+
* @updatedAt 2024-12-30 14:36:10 - automatic
|
|
84
|
+
* @updatedUser Andrés Quintero - automatic
|
|
73
85
|
*/
|
|
74
86
|
skeletonStyled: ({ theme }) => ({
|
|
75
87
|
borderRadius: theme.vars.size.borderRadius.r1
|
|
@@ -3,7 +3,7 @@ const dialogStyles = {
|
|
|
3
3
|
* Dialog Root style
|
|
4
4
|
* @author cesar - automatic
|
|
5
5
|
* @createdAt 2024-11-24 15:58:24 - automatic
|
|
6
|
-
* @updatedAt 2024-12-
|
|
6
|
+
* @updatedAt 2024-12-30 14:36:10 - automatic
|
|
7
7
|
* @updatedUser Andrés Quintero - automatic
|
|
8
8
|
*/
|
|
9
9
|
dialogRoot: ({ theme }) => ({
|
|
@@ -5,7 +5,7 @@ import { IconButtonProps } from './types';
|
|
|
5
5
|
* @returns
|
|
6
6
|
* @author Bruce Escobar - automatic
|
|
7
7
|
* @createdAt 2024-10-22 19:53:39 - automatic
|
|
8
|
-
* @updatedAt 2024-12-
|
|
8
|
+
* @updatedAt 2024-12-30 14:36:10 - automatic
|
|
9
9
|
* @updatedUser Andrés Quintero - automatic
|
|
10
10
|
*/
|
|
11
11
|
export declare const IconButton: import('react').ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -2,7 +2,7 @@ const iconButtonStyles = {
|
|
|
2
2
|
/**
|
|
3
3
|
* TODO: Documentar
|
|
4
4
|
* @updatedUser Andrés Quintero - automatic
|
|
5
|
-
* @updatedAt 2024-12-
|
|
5
|
+
* @updatedAt 2024-12-30 14:36:10 - automatic
|
|
6
6
|
* @createdAt 2024-10-22 19:53:39 - automatic
|
|
7
7
|
* @author Bruce Escobar - automatic
|
|
8
8
|
*/
|
|
@@ -139,7 +139,7 @@ const iconButtonStyles = {
|
|
|
139
139
|
* Comentado por el momento, falta de documentación en Figma de Badge
|
|
140
140
|
* @author Bruce Escobar - automatic
|
|
141
141
|
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
142
|
-
* @updatedAt 2024-12-
|
|
142
|
+
* @updatedAt 2024-12-30 14:36:10 - automatic
|
|
143
143
|
* @updatedUser Andrés Quintero - automatic
|
|
144
144
|
*/
|
|
145
145
|
badgeIconButton: () => ({
|
|
@@ -180,7 +180,7 @@ const iconButtonStyles = {
|
|
|
180
180
|
* Slot de contenedor de reactNode
|
|
181
181
|
* @author Andrés Quintero - automatic
|
|
182
182
|
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
183
|
-
* @updatedAt 2024-12-
|
|
183
|
+
* @updatedAt 2024-12-30 14:36:10 - automatic
|
|
184
184
|
* @updatedUser Andrés Quintero - automatic
|
|
185
185
|
*/
|
|
186
186
|
containReact: ({ isSkeleton }) => ({
|
|
@@ -192,7 +192,7 @@ const iconButtonStyles = {
|
|
|
192
192
|
* Slot skeleton con sus estilos de tamaño
|
|
193
193
|
* @author Andrés Quintero - automatic
|
|
194
194
|
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
195
|
-
* @updatedAt 2024-12-
|
|
195
|
+
* @updatedAt 2024-12-30 14:36:10 - automatic
|
|
196
196
|
* @updatedUser Andrés Quintero - automatic
|
|
197
197
|
*/
|
|
198
198
|
skeleton: ({ theme, ownerState }) => ({
|
|
@@ -3,7 +3,7 @@ import { ImageButtonProps } from './types';
|
|
|
3
3
|
* TODO: Documentar
|
|
4
4
|
* @author Andrés Quintero - automatic
|
|
5
5
|
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
6
|
-
* @updatedAt 2024-12-
|
|
6
|
+
* @updatedAt 2024-12-30 14:36:11 - automatic
|
|
7
7
|
* @updatedUser Andrés Quintero - automatic
|
|
8
8
|
*/
|
|
9
9
|
export declare function ImageButton({ src, width, tooltip, sx, className, dataTestId, alt, ...other }: ImageButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,7 +7,7 @@ import { MenuItemProps } from './types';
|
|
|
7
7
|
* @returns
|
|
8
8
|
* @author Bruce Escobar - automatic
|
|
9
9
|
* @createdAt 2024-10-22 19:53:39 - automatic
|
|
10
|
-
* @updatedAt 2024-12-
|
|
10
|
+
* @updatedAt 2024-12-30 14:36:11 - automatic
|
|
11
11
|
* @updatedUser Andrés Quintero - automatic
|
|
12
12
|
*/
|
|
13
13
|
export declare const MenuItem: (props: MenuItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,7 +2,11 @@ const menuItemStyles = {
|
|
|
2
2
|
/**
|
|
3
3
|
* Estilos para el contenedor de los items del menú
|
|
4
4
|
* @updatedUser Andrés Quintero - automatic
|
|
5
|
-
* @updatedAt 2024-12-
|
|
5
|
+
* @updatedAt 2024-12-30 14:36:11 - automatic
|
|
6
|
+
* @createdAt 2024-12-30 14:36:06 - automatic
|
|
7
|
+
* @author Andrés Quintero - automatic
|
|
8
|
+
* @updatedUser Andrés Quintero - automatic
|
|
9
|
+
* @updatedAt 2024-12-30 14:36:11 - automatic
|
|
6
10
|
* @createdAt 2024-12-27 08:28:33 - automatic
|
|
7
11
|
* @author Andrés Quintero - automatic
|
|
8
12
|
*/
|
|
@@ -86,7 +90,7 @@ const menuItemStyles = {
|
|
|
86
90
|
* Estilos para el icono de los items del menú
|
|
87
91
|
* @author SebastianM - automatic
|
|
88
92
|
* @createdAt 2024-12-02 19:12:14 - automatic
|
|
89
|
-
* @updatedAt 2024-12-
|
|
93
|
+
* @updatedAt 2024-12-30 14:36:11 - automatic
|
|
90
94
|
* @updatedUser Andrés Quintero - automatic
|
|
91
95
|
*/
|
|
92
96
|
menuItemIcon: () => ({
|
|
@@ -98,7 +102,7 @@ const menuItemStyles = {
|
|
|
98
102
|
* Estilos para el icono de los items del menú cuando están seleccionados
|
|
99
103
|
* @author SebastianM - automatic
|
|
100
104
|
* @createdAt 2024-12-13 12:45:48 - automatic
|
|
101
|
-
* @updatedAt 2024-12-
|
|
105
|
+
* @updatedAt 2024-12-30 14:36:11 - automatic
|
|
102
106
|
* @updatedUser Andrés Quintero - automatic
|
|
103
107
|
*/
|
|
104
108
|
menuItemIconChecked: ({ ownerState }) => ({
|
|
@@ -112,7 +116,7 @@ const menuItemStyles = {
|
|
|
112
116
|
* Estilos para la tipografía del menú item
|
|
113
117
|
* @author SebastianM - automatic
|
|
114
118
|
* @createdAt 2024-12-13 12:45:48 - automatic
|
|
115
|
-
* @updatedAt 2024-12-
|
|
119
|
+
* @updatedAt 2024-12-30 14:36:11 - automatic
|
|
116
120
|
* @updatedUser Andrés Quintero - automatic
|
|
117
121
|
*/
|
|
118
122
|
menuItemTypography: () => ({}),
|
|
@@ -129,7 +133,7 @@ const menuItemStyles = {
|
|
|
129
133
|
* Estilos para el contenedor de los items del menú en skeleton
|
|
130
134
|
* @author Bruce Escobar - automatic
|
|
131
135
|
* @createdAt 2024-10-22 10:38:00 - automatic
|
|
132
|
-
* @updatedAt 2024-12-
|
|
136
|
+
* @updatedAt 2024-12-30 14:36:11 - automatic
|
|
133
137
|
* @updatedUser Andrés Quintero - automatic
|
|
134
138
|
*/
|
|
135
139
|
skeletonMenuItem: ({ theme, ownerState }) => ({
|
|
@@ -16,7 +16,7 @@ import { PopoverProps } from './types';
|
|
|
16
16
|
* Componente Popover que se utiliza para mostrar información adicional en un área emergente.
|
|
17
17
|
* @author Andrés Quintero - automatic
|
|
18
18
|
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
19
|
-
* @updatedAt 2024-12-
|
|
19
|
+
* @updatedAt 2024-12-30 14:36:11 - automatic
|
|
20
20
|
* @updatedUser Andrés Quintero - automatic
|
|
21
21
|
*/
|
|
22
22
|
export declare const Popover: (props: PopoverProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -3,7 +3,7 @@ const popoverStyles = {
|
|
|
3
3
|
* Styles applied to the Popover root element.
|
|
4
4
|
* @author Andrés Quintero - automatic
|
|
5
5
|
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
6
|
-
* @updatedAt 2024-12-
|
|
6
|
+
* @updatedAt 2024-12-30 14:36:11 - automatic
|
|
7
7
|
* @updatedUser Andrés Quintero - automatic
|
|
8
8
|
*/
|
|
9
9
|
root: ({ theme }) => ({
|
|
@@ -18,7 +18,7 @@ const popoverStyles = {
|
|
|
18
18
|
* Styles applied to the Popover arrow element.
|
|
19
19
|
* @author Andrés Quintero - automatic
|
|
20
20
|
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
21
|
-
* @updatedAt 2024-12-
|
|
21
|
+
* @updatedAt 2024-12-30 14:36:11 - automatic
|
|
22
22
|
* @updatedUser Andrés Quintero - automatic
|
|
23
23
|
*/
|
|
24
24
|
arrow: () => ({})
|
|
@@ -3,7 +3,7 @@ import { TabProps } from './types';
|
|
|
3
3
|
* Componente `Tab` que representa una pestaña interactiva.
|
|
4
4
|
* @author Andrés Quintero - automatic
|
|
5
5
|
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
6
|
-
* @updatedAt 2024-12-
|
|
6
|
+
* @updatedAt 2024-12-30 14:36:11 - automatic
|
|
7
7
|
* @updatedUser Andrés Quintero - automatic
|
|
8
8
|
*/
|
|
9
9
|
export declare function Tab(props: TabProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,7 +3,7 @@ const tabStyles = {
|
|
|
3
3
|
* Slot Raíz: Estilos para el contenedor principal del componente Tab.
|
|
4
4
|
* @author Andrés Quintero - automatic
|
|
5
5
|
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
6
|
-
* @updatedAt 2024-12-
|
|
6
|
+
* @updatedAt 2024-12-30 14:36:11 - automatic
|
|
7
7
|
* @updatedUser Andrés Quintero - automatic
|
|
8
8
|
*/
|
|
9
9
|
root: ({ theme, ownerState }) => ({
|
|
@@ -168,7 +168,7 @@ const tabStyles = {
|
|
|
168
168
|
* - **Estilos Generales**: Configura el color base del texto, aplicando especificidad para clases específicas.
|
|
169
169
|
* @author Andrés Quintero - automatic
|
|
170
170
|
* @createdAt 2024-12-27 08:27:31 - automatic
|
|
171
|
-
* @updatedAt 2024-12-
|
|
171
|
+
* @updatedAt 2024-12-30 14:36:11 - automatic
|
|
172
172
|
* @updatedUser Andrés Quintero - automatic
|
|
173
173
|
*/
|
|
174
174
|
tipography: ({ ownerState }) => ({
|
|
@@ -3,7 +3,7 @@ import { TextFieldProps } from './types';
|
|
|
3
3
|
* Componente TextField extended de MUI-MATERIAL componente de entrada de datos en una interfaz de usuario que permite a los usuarios ingresar y editar texto. Es comúnmente utilizado en formularios y otros contextos donde se requiere la entrada de texto por parte del usuario.
|
|
4
4
|
* @author Bruce Escobar - automatic
|
|
5
5
|
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
6
|
-
* @updatedAt 2024-12-
|
|
6
|
+
* @updatedAt 2024-12-30 14:36:11 - automatic
|
|
7
7
|
* @updatedUser Andrés Quintero - automatic
|
|
8
8
|
*/
|
|
9
9
|
export declare const TextField: (props: TextFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,7 +4,7 @@ const textFieldStyles = {
|
|
|
4
4
|
* Estilos personalizados para el componente TextField.
|
|
5
5
|
* @author SebastianM - automatic
|
|
6
6
|
* @createdAt 2024-11-29 10:03:37 - automatic
|
|
7
|
-
* @updatedAt 2024-12-
|
|
7
|
+
* @updatedAt 2024-12-30 14:36:11 - automatic
|
|
8
8
|
* @updatedUser Andrés Quintero - automatic
|
|
9
9
|
*/
|
|
10
10
|
root: ({ ownerState, theme }) => ({
|
|
@@ -222,7 +222,7 @@ const textFieldStyles = {
|
|
|
222
222
|
* Estilos personalizados para el componente Skeleton.
|
|
223
223
|
* @author SebastianM - automatic
|
|
224
224
|
* @createdAt 2024-11-29 10:03:37 - automatic
|
|
225
|
-
* @updatedAt 2024-12-
|
|
225
|
+
* @updatedAt 2024-12-30 14:36:11 - automatic
|
|
226
226
|
* @updatedUser Andrés Quintero - automatic
|
|
227
227
|
*/
|
|
228
228
|
skeleton: ({ ownerState, theme }) => ({
|
|
@@ -5,7 +5,7 @@ const toggleButtonStyles = {
|
|
|
5
5
|
* @param ownerState - The owner state of the Toggle Button.
|
|
6
6
|
* @author cesar - automatic
|
|
7
7
|
* @createdAt 2024-12-12 10:02:53 - automatic
|
|
8
|
-
* @updatedAt 2024-12-
|
|
8
|
+
* @updatedAt 2024-12-30 14:36:11 - automatic
|
|
9
9
|
* @updatedUser Andrés Quintero - automatic
|
|
10
10
|
*/
|
|
11
11
|
toggleButtonRoot: ({ theme, ownerState }) => {
|
|
@@ -2,6 +2,10 @@ const tooltipStyles = {
|
|
|
2
2
|
root: ({}) => ({}),
|
|
3
3
|
/**
|
|
4
4
|
* Estilos del componente Tooltip
|
|
5
|
+
* @author Andrés Quintero - automatic
|
|
6
|
+
* @createdAt 2024-12-30 14:36:06 - automatic
|
|
7
|
+
* @updatedAt 2024-12-30 14:36:11 - automatic
|
|
8
|
+
* @updatedUser Andrés Quintero - automatic
|
|
5
9
|
*/
|
|
6
10
|
tooltip: ({ theme }) => ({
|
|
7
11
|
background: theme.vars.palette.background.default,
|
|
@@ -34,7 +34,7 @@ export interface TypographyProps extends Omit<MUITypographyProps, 'color' | 'var
|
|
|
34
34
|
/**
|
|
35
35
|
* Contenido del componente.
|
|
36
36
|
*/
|
|
37
|
-
children?:
|
|
37
|
+
children?: React.ReactNode;
|
|
38
38
|
/**
|
|
39
39
|
* Nombre identificador del componente, es útil para realizar pruebas del componente.
|
|
40
40
|
*/
|
|
@@ -4,7 +4,7 @@ const typographyStyles = {
|
|
|
4
4
|
* Componente extendido de MUI Typography, que permite personalizar los estilos del componente.
|
|
5
5
|
* @author Bruce Escobar - automatic
|
|
6
6
|
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
7
|
-
* @updatedAt 2024-12-
|
|
7
|
+
* @updatedAt 2024-12-30 14:36:11 - automatic
|
|
8
8
|
* @updatedUser Andrés Quintero - automatic
|
|
9
9
|
*/
|
|
10
10
|
root: ({ ownerState, theme }) => ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/components",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.46",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"lint-staged": {
|
|
6
6
|
"*.{js,ts,tsx}": "eslint --fix --max-warnings 0"
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"react-toastify": "10.0.5",
|
|
49
49
|
"react-transition-group": "^4.4.5",
|
|
50
50
|
"simplebar-react": "3.2.6",
|
|
51
|
+
"storybook-multilevel-sort": "^2.0.1",
|
|
51
52
|
"yup": "^0.32.11",
|
|
52
53
|
"zustand": "4.3.6"
|
|
53
54
|
},
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react/*';
|
|
2
|
-
import { StorybookTest } from './StorybookTest';
|
|
3
|
-
declare const meta: Meta<typeof StorybookTest>;
|
|
4
|
-
type Story = StoryObj<typeof StorybookTest>;
|
|
5
|
-
/**
|
|
6
|
-
* Icon in base mode
|
|
7
|
-
*/
|
|
8
|
-
export declare const Base: Story;
|
|
9
|
-
export default meta;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { f as formatterClasses } from "../classes/index.js";
|
|
3
|
-
import { F as FormatterRootContainer } from "./styles.js";
|
|
4
|
-
const FormatterRoot = (props) => {
|
|
5
|
-
const { children } = props;
|
|
6
|
-
return /* @__PURE__ */ jsx(FormatterRootContainer, { className: formatterClasses.root, children });
|
|
7
|
-
};
|
|
8
|
-
export {
|
|
9
|
-
FormatterRoot as F
|
|
10
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { generateUtilityClasses } from "@mui/material";
|
|
2
|
-
import "@mui/base";
|
|
3
|
-
import { C as COMPONENT_CLASS_NAME } from "../constants.js";
|
|
4
|
-
const formatterClasses = generateUtilityClasses(COMPONENT_CLASS_NAME, [
|
|
5
|
-
/* elements */
|
|
6
|
-
"root",
|
|
7
|
-
"booleanFormatterIcon",
|
|
8
|
-
"booleanFormatterCheck"
|
|
9
|
-
/* states or variants of elements */
|
|
10
|
-
]);
|
|
11
|
-
export {
|
|
12
|
-
formatterClasses as f
|
|
13
|
-
};
|