@m4l/components 9.1.151 → 9.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/.storybook/utils/getStylesColorsByMode.d.ts +116 -116
- package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +3 -3
- package/components/AppBar/slots/AppBarSlots.d.ts +2 -2
- package/components/Chip/ChipStyles.js +1 -1
- package/components/Chip/slots/ChipSlots.d.ts +1 -1
- package/components/Color/slots/ColorSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionCancel/slots/ActionsCancelSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionFormCancel/slots/ActionFormCancelSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionsContainer/slots/ActionsContainerSlots.d.ts +1 -1
- package/components/DataGrid/contexts/DataGridContext/index.js +1 -1
- package/components/DataGrid/contexts/FilterContext/index.js +1 -1
- package/components/DataGrid/dictionary.js +3 -0
- package/components/DataGrid/slots/DataGridEnum.js +2 -2
- package/components/DataGrid/slots/DataGridSlot.js +1 -1
- package/components/DataGrid/subcomponents/Table/subcomponents/CheckboxFormatter.js +1 -1
- package/components/DataGrid/subcomponents/Table/subcomponents/CustomIcons.js +2 -2
- package/components/DynamicFilter/dictionary.js +12 -0
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +4 -4
- package/components/DynamicFilter/store/DynamicFilterContext.js +1 -7
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/DynamicFilterBase.js +1 -1
- package/components/DynamicFilter/subcomponents/PopoverFilter/usePopoverFilter.d.ts +3 -3
- package/components/DynamicSort/dictionary.js +6 -1
- package/components/DynamicSort/slots/DynamicSortSlots.d.ts +2 -2
- package/components/DynamicSort/slots/DynamicSortSlots.js +2 -2
- package/components/DynamicSort/store/DynamicSortContext.js +1 -7
- package/components/DynamicSort/subcomponents/DynamicSortBase/DynamicSortBase.js +1 -1
- package/components/DynamicSort/subcomponents/PopoverSort/usePopoverSort.d.ts +3 -3
- package/components/GridLayout/GridLayout.js +1 -1
- package/components/GridLayout/styles.js +1 -1
- package/components/GridLayout/subcomponents/GridItem/index.js +1 -1
- package/components/GridLayout/subcomponents/Responsive/helper.js +1 -1
- package/components/GridLayout/subcomponents/Responsive/index.js +1 -1
- package/components/GridLayout/subcomponents/Responsive/responsiveUtils.js +3 -3
- package/components/GridLayout/subcomponents/withSizeProvider/index.js +1 -1
- package/components/Icon/Icon.js +1 -1
- package/components/Icon/constants.js +2 -2
- package/components/Icon/slots/IconSlots.js +1 -1
- package/components/Image/Image.js +1 -1
- package/components/Image/constant.js +2 -2
- package/components/Image/slots/ImageSlots.js +1 -1
- package/components/Image/subcomponents/IntersectComponent/index.js +1 -1
- package/components/Label/slots/LabelSlots.d.ts +1 -1
- package/components/LanguagePopover/LanguagePopover.js +1 -1
- package/components/LanguagePopover/slots/LanguagePopoverSlots.d.ts +1 -1
- package/components/LoadingError/LoadingError.js +1 -1
- package/components/LoadingError/slots/LoadingErrorSlots.js +1 -1
- package/components/MFIsolationApp/subcomponents/MFAuthApp/MFAuthApp.js +1 -1
- package/components/MenuActions/slots/MenuActionsSlots.d.ts +2 -2
- package/components/ModalDialog/slots/ModalDialogSlots.d.ts +2 -2
- package/components/NoItemSelected/NoItemSelected.js +1 -1
- package/components/NumberInput/hooks/useNumberInput/NumberInputReducer.js +1 -1
- package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
- package/components/Pager/Pager.styles.js +8 -0
- package/components/Pager/dicctionary.js +5 -0
- package/components/PrintingSystem/subcomponents/ChartNode/index.js +1 -1
- package/components/PropertyValue/PropertyValue.js +2 -2
- package/components/ScrollBar/ScrollBar.js +1 -1
- package/components/SideBar/slots/SideBarEnum.js +4 -4
- package/components/SideBar/slots/SideBarSlots.js +1 -1
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/index.js +1 -1
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +1 -1
- package/components/ToastContainer/ToastContainer.js +1 -1
- package/components/ToastContainer/slots/toastContainerSlots.d.ts +2 -2
- package/components/WindowBase/index.d.ts +0 -8
- package/components/WindowBase/slots/WindowBaseSlots.d.ts +14 -42
- package/components/WindowConfirm/index.d.ts +0 -8
- package/components/WindowConfirm/slots/WindowConfirmSlots.d.ts +13 -39
- package/components/animate/variants/bounce.js +1 -1
- package/components/animate/variants/fade.js +1 -1
- package/components/animate/variants/transition.js +2 -2
- package/components/areas/components/AreasAdmin/AreasAdmin.js +1 -1
- package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +2 -2
- package/components/areas/components/AreasViewer/AreasViewer.js +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/AreaGridLayout.js +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useHeaderActions/useHeaderActions.d.ts +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useWindow/useWindow.d.ts +2 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/types.d.ts +1 -1
- package/components/areas/contexts/AreasContext/helpers/helper.js +15 -15
- package/components/areas/contexts/AreasContext/store.js +3 -3
- package/components/areas/icons.js +8 -0
- package/components/commercial/HamburgerMenu/classes/index.js +1 -1
- package/components/extended/React-Resizable/Resizable/slots/ResizableSlots.d.ts +1 -1
- package/components/extended/React-Resizable/ResizableBox/slots/ResizableBoxSlots.d.ts +1 -1
- package/components/formatters/BooleanFormatter/BooleanFormatter.js +1 -1
- package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.js +3 -3
- package/components/formatters/PeriodFormatter/PeriodFormatter.js +1 -1
- package/components/formatters/PeriodFormatter/slots/PeriodFormatterSlots.js +2 -2
- package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.d.ts +1 -1
- package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.js +1 -1
- package/components/hook-form/RHFPeriod/RHFPeriod.js +1 -1
- package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +2 -2
- package/components/hook-form/RHFSelect/slots/RHFSlots.d.ts +1 -1
- package/components/hook-form/RHFTextField/RHFTextField.styles.js +3 -1
- package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
- package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +2 -2
- package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.js +1 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/classes/index.js +1 -1
- package/components/hook-form/RHFormContext/classes/index.d.ts +2 -2
- package/components/hook-form/RHFormContext/classes/index.js +1 -1
- package/components/hook-form/RHFormContext/index.js +1 -1
- package/components/index.d.ts +1 -0
- package/components/mui_extended/Accordion/Accordion.js +1 -1
- package/components/mui_extended/Accordion/slots/AccordionSlots.d.ts +2 -2
- package/components/mui_extended/Accordion/slots/AccordionSlots.js +2 -2
- package/components/mui_extended/Autocomplete/Autocomplete.js +1 -1
- package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +4 -4
- package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.js +3 -3
- package/components/mui_extended/Avatar/slots/AvatarSlots.d.ts +1 -1
- package/components/mui_extended/Badge/slots/BadgeSlots.d.ts +1 -1
- package/components/mui_extended/Button/slots/ButtonSlots.d.ts +1 -1
- package/components/mui_extended/CheckBox/CheckBox.js +1 -1
- package/components/mui_extended/CheckBox/slots/CheckBoxSlots.d.ts +1 -1
- package/components/mui_extended/CheckBox/slots/CheckBoxSlots.js +2 -2
- package/components/mui_extended/DateTimePicker/slots/DateTimePickerSlots.d.ts +4 -4
- package/components/mui_extended/DateTimePicker/slots/DateTimePickerSlots.js +1 -1
- package/components/mui_extended/Divider/slots/DividerSlots.d.ts +1 -1
- package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +2 -2
- package/components/mui_extended/ImageButton/utils/Clases/index.js +1 -1
- package/components/mui_extended/LoadingButton/slots/LoadingButtonSlots.d.ts +1 -1
- package/components/mui_extended/MenuDivider/slots/MenuDividerSlots.d.ts +1 -1
- package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +1 -1
- package/components/mui_extended/MenuItem/slots/MenuItemSlots.js +1 -1
- package/components/mui_extended/NavLink/NavLink.js +1 -1
- package/components/mui_extended/NavLink/constants.js +2 -2
- package/components/mui_extended/NavLink/slots/NavLinkSlots.js +1 -1
- package/components/mui_extended/Popover/Popover.js +1 -1
- package/components/mui_extended/Popover/Popover.styles.js +5 -1
- package/components/mui_extended/Popover/constants.js +2 -2
- package/components/mui_extended/Popper/slots/PopperStlots.d.ts +1 -1
- package/components/mui_extended/Select/Select.js +1 -1
- package/components/mui_extended/Select/Select.styles.js +1 -1
- package/components/mui_extended/Select/constants.js +1 -1
- package/components/mui_extended/Select/slots/SelectSlots.d.ts +2 -2
- package/components/mui_extended/Skeleton/Slots/skeletonSlots.d.ts +1 -1
- package/components/mui_extended/Stack/slots/StackSlot.d.ts +1 -1
- package/components/mui_extended/Tab/Slots/TabSlots.d.ts +1 -1
- package/components/mui_extended/Tab/Tab.js +1 -1
- package/components/mui_extended/TabContent/classes/index.js +1 -1
- package/components/mui_extended/Tabs/slots/TabsSlots.d.ts +1 -1
- package/components/mui_extended/TextField/constants.js +1 -1
- package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +1 -1
- package/components/mui_extended/TimePicker/slots/TimePickerSlots.d.ts +3 -3
- package/components/mui_extended/ToggleButton/slots/ToggleButtonSlots.d.ts +1 -1
- package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
- package/components/mui_extended/Typography/Typography.js +1 -1
- package/components/mui_extended/Typography/constants.js +3 -3
- package/components/mui_extended/Typography/slots/typographySlots.d.ts +1 -1
- package/components/mui_extended/Typography/slots/typographySlots.js +1 -1
- package/components/popups/components/PopupsProvider/hooks/useHeaderActionsPopups/useHeaderActionsPopups.d.ts +1 -1
- package/components/popups/components/PopupsProvider/hooks/usePopops/usePopups.d.ts +1 -1
- package/components/popups/components/PopupsViewer/icons.js +1 -0
- package/hooks/index.d.ts +1 -0
- package/hooks/useDataGridPersistence/constants.d.ts +3 -0
- package/hooks/useDataGridPersistence/constants.js +6 -0
- package/hooks/useDataGridPersistence/helpers.d.ts +5 -0
- package/hooks/useDataGridPersistence/helpers.js +9 -0
- package/hooks/useDataGridPersistence/index.d.ts +1 -0
- package/hooks/useDataGridPersistence/types.d.ts +3 -0
- package/hooks/useDataGridPersistence/useDataGridPersistence.d.ts +9 -0
- package/hooks/useDataGridPersistence/useDataGridPersistence.js +29 -0
- package/hooks/useDynamicFilterAndSort/constants.d.ts +2 -0
- package/hooks/useDynamicFilterAndSort/constants.js +5 -1
- package/hooks/useDynamicFilterAndSort/helpers.d.ts +4 -0
- package/hooks/useDynamicFilterAndSort/helpers.js +9 -0
- package/hooks/useDynamicFilterAndSort/types.d.ts +5 -2
- package/hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js +27 -9
- package/hooks/useSvgColor/constants.js +2 -2
- package/hooks/useSvgColor/helpers.js +1 -1
- package/hooks/useSvgColor/useSvgColor.js +1 -1
- package/index.js +24 -45
- package/package.json +1 -1
- package/storybook/components/AccountPopover/AccountPopover.stories.d.ts +11 -0
- package/storybook/components/Areas/AreasAdmin/AreasAdmin.stories.d.ts +8 -0
- package/storybook/components/Areas/AreasViewer/AreasViewr.stories.d.ts +7 -0
- package/storybook/components/Areas/AreasViewer/moks/mokData.d.ts +14 -0
- package/storybook/components/Areas/AreasViewer/subcomponents/ClientsHeaderActions.d.ts +4 -0
- package/storybook/components/Areas/AreasViewer/subcomponents/UsersHeaderActions.d.ts +4 -0
- package/storybook/components/Areas/AreasViewer/subcomponents/WithExtendedContainer.d.ts +5 -0
- package/storybook/components/Areas/AreasViewerWithNetwork/AreasViewerWithNetwork.stories.d.ts +7 -0
- package/storybook/components/Areas/AreasViewerWithNetwork/moks/mokData.d.ts +14 -0
- package/storybook/components/Areas/AreasViewerWithNetwork/subcomponents/ClientsHeaderActions.d.ts +4 -0
- package/storybook/components/Areas/AreasViewerWithNetwork/subcomponents/UsersHeaderActions.d.ts +4 -0
- package/storybook/components/Areas/AreasViewerWithNetwork/subcomponents/WithExtendedContainer.d.ts +5 -0
- package/storybook/components/Chip/Chip.stories.d.ts +33 -0
- package/storybook/components/Color/Color.stories.d.ts +14 -0
- package/storybook/components/DataGrid/DataGrid.stories.d.ts +30 -0
- package/storybook/components/DataGrid/helpers/getRows.d.ts +5 -0
- package/storybook/components/DataGrid/helpers/icons.d.ts +3 -0
- package/storybook/components/DataGrid/helpers/types.d.ts +59 -0
- package/storybook/components/DataGrid/helpers/useColumns.d.ts +7 -0
- package/storybook/components/DataGrid/helpers/useSeed.d.ts +8 -0
- package/storybook/components/DataGrid/subcomponents/DataGridRender.d.ts +13 -0
- package/storybook/components/DragResizeWindow/stories/DragResizeWindow.stories.d.ts +7 -0
- package/storybook/components/DragResizeWindow/stories/constants.d.ts +3 -0
- package/storybook/components/DragResizeWindow/stories/subcomponents/ContentExample.d.ts +4 -0
- package/storybook/components/DragResizeWindow/stories/subcomponents/WithExtendedContainer.d.ts +5 -0
- package/storybook/components/DragResizeWindow/stories/types.d.ts +3 -0
- package/storybook/components/DynamicFilter/DynamicFilter.stories.d.ts +29 -0
- package/storybook/components/DynamicSort/DynamicSort.stories.d.ts +25 -0
- package/storybook/components/HelperError/HelperError.stories.d.ts +9 -0
- package/storybook/components/Icon/Icon.stories.d.ts +21 -0
- package/storybook/components/Label/Label.stories.d.ts +16 -0
- package/storybook/components/LanguagePopover/LanguagePopover.stories.d.ts +17 -0
- package/storybook/components/LanguagePopover/moks/mokData.d.ts +4 -0
- package/storybook/components/LoadingError/Loadingerror.stories.d.ts +9 -0
- package/storybook/components/MenuActions/MenuActions.stories.d.ts +72 -0
- package/storybook/components/ModalDialog/ModalDialog.stories.d.ts +8 -0
- package/storybook/components/ModalDialog/subcomponent/WithExtendedContainer.d.ts +33 -0
- package/storybook/components/NoItemSelect/NoItemSelect.stories.d.ts +8 -0
- package/storybook/components/NumberInput/NumberInput.default.stories.d.ts +17 -0
- package/storybook/components/PDFViewer/PDFViewer.stories.d.ts +9 -0
- package/storybook/components/Pager/Pager.stories.d.ts +21 -0
- package/storybook/components/Pager/subcomopnents/WithContextDataProvider.d.ts +4 -0
- package/storybook/components/PopupsViewer/basic.stories.d.ts +6 -0
- package/storybook/components/PopupsViewer/dictionary.d.ts +1 -0
- package/storybook/components/PopupsViewer/subcomponents/PopupActions.d.ts +4 -0
- package/storybook/components/PopupsViewer/subcomponents/PopupContentExample.d.ts +4 -0
- package/storybook/components/PopupsViewer/subcomponents/WithExtendedPopupsContainer.d.ts +5 -0
- package/storybook/components/PopupsViewer/subcomponents/initialPopups.d.ts +6 -0
- package/storybook/components/PopupsViewer/types.d.ts +3 -0
- package/storybook/components/PropertyValue/PropertyValue.stories.d.ts +61 -0
- package/storybook/components/SideBar/SideBar.stories.d.ts +18 -0
- package/storybook/components/SideBar/data/menuData.d.ts +2 -0
- package/storybook/components/SideBar/subcomponents/SibarDecorator.d.ts +3 -0
- package/storybook/components/ToastContainer/ToastContainer.stories.d.ts +47 -0
- package/storybook/components/WindowBase/subcomponents/WithContextWindowToolsProvider.d.ts +5 -0
- package/storybook/components/WindowBase/windowBase.stories.d.ts +12 -0
- package/storybook/components/WindowConfirm/windowConfirm.stories.d.ts +8 -0
- package/storybook/components/appBar/AppBar.stories.d.ts +9 -0
- package/storybook/components/commonActions/components/ActionCancel/ActionCancel.stories.d.ts +22 -0
- package/storybook/components/commonActions/components/ActionFormCancel/ActionFormCancel.stories.d.ts +6 -0
- package/storybook/components/commonActions/components/ActionFormCancel/WindowToolsMFProvider.d.ts +5 -0
- package/storybook/components/commonActions/components/ActionFormIntro/ActionFormIntro.stories.d.ts +14 -0
- package/storybook/components/commonActions/components/ActionIntro/ActionIntro.stories.d.ts +22 -0
- package/storybook/components/commonActions/components/ActionsContainer/ActionsContainer.stories.d.ts +13 -0
- package/storybook/components/extended/React-Router-Dom/NavLink/NavLInk.stories.d.ts +16 -0
- package/storybook/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.stories.d.ts +9 -0
- package/storybook/components/extended/React-Splitter-Layout/SplitLayout.stories.d.ts +13 -0
- package/storybook/components/extended/mui/Accordion/Accordion.stories.d.ts +25 -0
- package/storybook/components/extended/mui/Autocomplete/AutoComple.stories.d.ts +20 -0
- package/storybook/components/extended/mui/Badge/Badge.stories.d.ts +33 -0
- package/storybook/components/extended/mui/Button/Button.stories.d.ts +26 -0
- package/storybook/components/extended/mui/CheckBox/CheckBox.stories.d.ts +19 -0
- package/storybook/components/extended/mui/CircularProgress/CircularProgress.default.stories.d.ts +14 -0
- package/storybook/components/extended/mui/CircularProgress/CircularProgress.sizes.stories.d.ts +18 -0
- package/storybook/components/extended/mui/DataTimePicker/DataTimePicker.stories.d.ts +21 -0
- package/storybook/components/extended/mui/Dialog/Dialog.stories.d.ts +7 -0
- package/storybook/components/extended/mui/Dialog/subcomponents/ContentExample.d.ts +29 -0
- package/storybook/components/extended/mui/Dialog/subcomponents/WithExtendedContainer.d.ts +34 -0
- package/storybook/components/extended/mui/Divider/Divider.stories.d.ts +15 -0
- package/storybook/components/extended/mui/IconButton/IconButton.stories.d.ts +40 -0
- package/storybook/components/extended/mui/LoadingButton/LoadingButton.stories.d.ts +42 -0
- package/storybook/components/extended/mui/MenuDivider/MenuDivider.stories.d.ts +25 -0
- package/storybook/components/extended/mui/MenuItem/MenuItem.stories.d.ts +65 -0
- package/storybook/components/extended/mui/Popover/Popover.stories.d.ts +14 -0
- package/storybook/components/extended/mui/Popover/WithPopoverContext.d.ts +11 -0
- package/storybook/components/extended/mui/Popover/types.d.ts +11 -0
- package/storybook/components/extended/mui/Popper/Popper.stories.d.ts +9 -0
- package/storybook/components/extended/mui/Select/Select.stories.d.ts +38 -0
- package/storybook/components/extended/mui/Skeleton/Colors/Default/Variants/Circular/skeleton.defaultCircular.stories.d.ts +14 -0
- package/storybook/components/extended/mui/Skeleton/Colors/Default/Variants/Rectangular/skeleton.defaultRectangular.stories.d.ts +14 -0
- package/storybook/components/extended/mui/Skeleton/Colors/Default/Variants/Rounded/skeleton.defaultRounded.stories.d.ts +15 -0
- package/storybook/components/extended/mui/Skeleton/Colors/Default/Variants/Text/skeleton.defaultText.stories.d.ts +15 -0
- package/storybook/components/extended/mui/Stack/Stack.stories.d.ts +13 -0
- package/storybook/components/extended/mui/Tab/Tab.stories.d.ts +57 -0
- package/storybook/components/extended/mui/Tabs/Tabs.stories.d.ts +8 -0
- package/storybook/components/extended/mui/TextField/TextFieldText.stories.d.ts +13 -0
- package/storybook/components/extended/mui/TimePicker/TimePicker.stories.d.ts +21 -0
- package/storybook/components/extended/mui/ToggleButton/ToggleButton.stories.d.ts +53 -0
- package/storybook/components/extended/mui/ToggleIconButton/ToggleIconButton.stories.d.ts +37 -0
- package/storybook/components/extended/mui/Tooltip/Tooltip.stories.d.ts +29 -0
- package/storybook/components/extended/mui/Typography/PaletteColor/text.primary/Variantes/body/Estados/typography.body.estados.stories.d.ts +23 -0
- package/storybook/components/extended/mui/Typography/PaletteColor/text.primary/Variantes/bodyDens/Estados/typography.bodyDens.estados.stories.d.ts +23 -0
- package/storybook/components/extended/mui/Typography/PaletteColor/text.primary/Variantes/h1/Estados/typography.h1.estados.stories.d.ts +23 -0
- package/storybook/components/extended/mui/Typography/PaletteColor/text.primary/Variantes/h2/Estados/typography.h2.estados.stories.d.ts +23 -0
- package/storybook/components/extended/mui/Typography/PaletteColor/text.primary/Variantes/h3/Estados/typography.h3.estados.stories.d.ts +23 -0
- package/storybook/components/extended/mui/Typography/PaletteColor/text.primary/Variantes/h5/Estados/typography.h5.estados.stories.d.ts +23 -0
- package/storybook/components/extended/mui/Typography/PaletteColor/text.primary/Variantes/paragraph/Estados/typography.paragraph.estados.stories.d.ts +23 -0
- package/storybook/components/extended/mui/Typography/PaletteColor/text.primary/Variantes/paragraphDens/Estados/typography.paragraphDens.estados.stories.d.ts +23 -0
- package/storybook/components/extended/mui/Typography/PaletteColor/text.primary/Variantes/subtitle/Estados/typography.subtitle.estados.stories.d.ts +23 -0
- package/storybook/components/extended/mui/Typography/PaletteColor/text.primary/Variantes/subtitleDens/Estados/typography.subtitleDens.estados.stories.d.ts +23 -0
- package/storybook/components/extended/mui/avatar/Avatar.stories.d.ts +12 -0
- package/storybook/components/extended/react-resizable/ResizableBox/resizableBox.stories.d.ts +13 -0
- package/storybook/components/extended/scrollBar/ScrollBar.stories.d.ts +7 -0
- package/storybook/components/extended/scrollBar/ScrollBarDecorator.d.ts +11 -0
- package/storybook/components/formatters/BooleanFormatter/BooleanFormatter.stories.d.ts +41 -0
- package/storybook/components/formatters/ConcatenatedFormatter/ConcatenatedFormatter.stories.d.ts +13 -0
- package/storybook/components/formatters/DateFormatter/DateFormatter.stories.d.ts +29 -0
- package/storybook/components/formatters/DistanceToNowFormatter/DistanceToNowFormatter.stories.d.ts +157 -0
- package/storybook/components/formatters/DistanceToNowFormatter/subcomponents/WithDTNFProvider.d.ts +5 -0
- package/storybook/components/formatters/DistanceToNowFormatter/types.d.ts +3 -0
- package/storybook/components/formatters/PeriodFormatter/PeriodFormatter.stories.d.ts +36 -0
- package/storybook/components/formatters/PoinsFormatter/PointsFormatter.stories.d.ts +21 -0
- package/storybook/components/formatters/PriceFormatter/PriceFormatter.stories.d.ts +17 -0
- package/storybook/components/formatters/UncertaintyFormatter/UncertaintyFormatter.stories.d.ts +13 -0
- package/storybook/components/image/image.stories.d.ts +11 -0
- package/storybook/components/paperForm/PaperForm.stories.d.ts +22 -0
- package/storybook/hook-form/RHFAutocomplete/RHFAutocomplete.stories.d.ts +20 -0
- package/storybook/hook-form/RHFAutocompleteAsync/RHFAutocompleteAsync.stories.d.ts +17 -0
- package/storybook/hook-form/RHFCheckBox/RHFCheckBox.stories.d.ts +8 -0
- package/storybook/hook-form/RHFColorPicker/RHFColorPicker.stories.d.ts +21 -0
- package/storybook/hook-form/RHFDateTime/RHFDateTime.stories.d.ts +21 -0
- package/storybook/hook-form/RHFNumberInput/RHFNumberInput.stories.d.ts +21 -0
- package/storybook/hook-form/RHFPeriod/RHFPeriod.stories.d.ts +8 -0
- package/storybook/hook-form/RHFSelect/RHFSelect.stories.d.ts +32 -0
- package/storybook/hook-form/RHFTextField/RHFTextField.stories.d.ts +8 -0
- package/storybook/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.stories.d.ts +8 -0
- package/storybook/hook-form/RHFTimePicker/RHFTimePicker.stories.d.ts +21 -0
- package/storybook/hook-form/RHFUploadImage/RHFUploadFile.stories.d.ts +6 -0
- package/test/mocks.d.ts +2 -2
- package/components/WindowBase/types.js +0 -1
- package/components/WindowConfirm/types.js +0 -1
- /package/{components/WindowBase/subcomponents/Header/types.js → hooks/useDataGridPersistence/index.js} +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { LanguagePopover } from '../../../src/components/LanguagePopover/LanguagePopover';
|
|
3
|
+
declare const meta: Meta<typeof LanguagePopover>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof LanguagePopover>;
|
|
6
|
+
/**
|
|
7
|
+
* Componente LanguagePopover en estado base
|
|
8
|
+
*/
|
|
9
|
+
export declare const Base: Story;
|
|
10
|
+
/**
|
|
11
|
+
* Componente LanguagePopover en estado de carga constante
|
|
12
|
+
*/
|
|
13
|
+
export declare const Loader: Story;
|
|
14
|
+
/**
|
|
15
|
+
* Componente LanguagePopover en estado Skeleton
|
|
16
|
+
*/
|
|
17
|
+
export declare const Sleketon: Story;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { LoadingError } from '../../../src/components/LoadingError/LoadingError';
|
|
3
|
+
declare const meta: Meta<typeof LoadingError>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof LoadingError>;
|
|
6
|
+
export declare const ErrorState: Story;
|
|
7
|
+
export declare const LoadingState: Story;
|
|
8
|
+
export declare const ShortState: Story;
|
|
9
|
+
export declare const MoreShortState: Story;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { MenuActions } from '../../../src/components/MenuActions';
|
|
3
|
+
/**
|
|
4
|
+
* Datos con los que se cargan los ítems del menú.
|
|
5
|
+
*/
|
|
6
|
+
declare const meta: Meta<typeof MenuActions>;
|
|
7
|
+
export default meta;
|
|
8
|
+
type Story = StoryObj<typeof MenuActions>;
|
|
9
|
+
/**
|
|
10
|
+
* Componente base de `MenuActions`.
|
|
11
|
+
*/
|
|
12
|
+
export declare const Default: Story;
|
|
13
|
+
/**
|
|
14
|
+
* Component when passed a ReactNode `MenuActions`.
|
|
15
|
+
*/
|
|
16
|
+
export declare const NoIcon: Story;
|
|
17
|
+
/**
|
|
18
|
+
* Componente with another icon de `MenuActions`.
|
|
19
|
+
*/
|
|
20
|
+
export declare const AnotherIcon: Story;
|
|
21
|
+
/**
|
|
22
|
+
* Componente `MenuActions` en estado disabled.
|
|
23
|
+
*/
|
|
24
|
+
export declare const Disabled: Story;
|
|
25
|
+
/**
|
|
26
|
+
* Estado vacío del componente `MenuActions`.
|
|
27
|
+
*/
|
|
28
|
+
export declare const Empty: Story;
|
|
29
|
+
/**
|
|
30
|
+
* `MenuActions` con un elemento adicional al final de la lista (`endListElement`).
|
|
31
|
+
*/
|
|
32
|
+
export declare const WithEndListElement: Story;
|
|
33
|
+
/**
|
|
34
|
+
* `MenuActions` en modo esqueleto (skeleton).
|
|
35
|
+
*/
|
|
36
|
+
export declare const WithSkeleton: Story;
|
|
37
|
+
/**
|
|
38
|
+
* `MenuActions` usando las paperProps
|
|
39
|
+
*/
|
|
40
|
+
export declare const WithPaperProps: Story;
|
|
41
|
+
/**
|
|
42
|
+
* Componente con un `type` de `MenuTypes.divider`.
|
|
43
|
+
*/
|
|
44
|
+
export declare const DividerType: Story;
|
|
45
|
+
/**
|
|
46
|
+
* Componente con un `type` de `MenuTypes.customNode`.
|
|
47
|
+
*/
|
|
48
|
+
export declare const CustomNodeType: Story;
|
|
49
|
+
/**
|
|
50
|
+
* Componente conbinado con loader y divider.
|
|
51
|
+
*/
|
|
52
|
+
export declare const LoaderAndDivider: Story;
|
|
53
|
+
/**
|
|
54
|
+
* `MenuActions` con un `customNode` al final que simula un footer con un tooltip.
|
|
55
|
+
*/
|
|
56
|
+
export declare const WithFooterCustomNode: Story;
|
|
57
|
+
/**
|
|
58
|
+
* Header con solo un título.
|
|
59
|
+
*/
|
|
60
|
+
export declare const WithTitleHeader: Story;
|
|
61
|
+
/**
|
|
62
|
+
* Footer con un botón de salida.
|
|
63
|
+
*/
|
|
64
|
+
export declare const WithFooterExitButton: Story;
|
|
65
|
+
/**
|
|
66
|
+
* Footer con enlaces adicionales.
|
|
67
|
+
*/
|
|
68
|
+
export declare const WithFooterLinks: Story;
|
|
69
|
+
/**
|
|
70
|
+
* Header y Footer combinados.
|
|
71
|
+
*/
|
|
72
|
+
export declare const WithHeaderAndFooter: Story;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ModalDialog } from '../../../src/components/ModalDialog';
|
|
3
|
+
declare const meta: Meta<typeof ModalDialog>;
|
|
4
|
+
type Story = StoryObj<typeof ModalDialog>;
|
|
5
|
+
export declare const Default: Story;
|
|
6
|
+
export declare const FullScreen: Story;
|
|
7
|
+
export declare const CloseableModal: Story;
|
|
8
|
+
export default meta;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { StoryFn, StoryContext } from '@storybook/react';
|
|
2
|
+
/**
|
|
3
|
+
* WithExtendedContainer Decorator
|
|
4
|
+
*
|
|
5
|
+
* This decorator wraps a Storybook story to integrate with the `useModal` hook
|
|
6
|
+
* for managing modal dialog states and props dynamically.
|
|
7
|
+
*
|
|
8
|
+
* ### Features:
|
|
9
|
+
* - Provides an "Open Modal" button to trigger the modal dialog.
|
|
10
|
+
* - Dynamically manages the `open` and `onClose` properties using `useModal`.
|
|
11
|
+
* - Supplies additional modal props like `fullScreen` and dimensions.
|
|
12
|
+
*
|
|
13
|
+
* ### Example Usage:
|
|
14
|
+
* ```tsx
|
|
15
|
+
* export const meta = {
|
|
16
|
+
* title: 'Components/ModalDialog',
|
|
17
|
+
* component: ModalDialog,
|
|
18
|
+
* decorators: [WithModalContext],
|
|
19
|
+
* };
|
|
20
|
+
*
|
|
21
|
+
* export const Default = {
|
|
22
|
+
* args: {
|
|
23
|
+
* fullScreen: false,
|
|
24
|
+
* initialWidth: 600,
|
|
25
|
+
* initialHeight: 400,
|
|
26
|
+
* },
|
|
27
|
+
* };
|
|
28
|
+
* ```
|
|
29
|
+
* @param Story - The story function being decorated.
|
|
30
|
+
* @param context - Story context containing args and metadata.
|
|
31
|
+
* @returns JSX.Element - The decorated story with modal integration.
|
|
32
|
+
*/
|
|
33
|
+
export declare const WithExtendedContainer: (_: StoryFn, context: StoryContext) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { NoItemSelected } from '../../../src/components/NoItemSelected/NoItemSelected';
|
|
3
|
+
declare const meta: Meta<typeof NoItemSelected>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof NoItemSelected>;
|
|
6
|
+
/** Base component */
|
|
7
|
+
export declare const NoItemSelectedComponent: Story;
|
|
8
|
+
export declare const WithSplitLayout: Story;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { NumberInput } from '../../../src/components/NumberInput/NumberInput';
|
|
3
|
+
declare const meta: Meta<typeof NumberInput>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof NumberInput>;
|
|
6
|
+
/**
|
|
7
|
+
* Componente InputNumber en su modo por defecto Controlado
|
|
8
|
+
*/
|
|
9
|
+
export declare const Controlled: Story;
|
|
10
|
+
/**
|
|
11
|
+
* Componente InputNumber No Controlado
|
|
12
|
+
*/
|
|
13
|
+
export declare const NoControlled: Story;
|
|
14
|
+
/**
|
|
15
|
+
* Componente InputNumber No Controlado
|
|
16
|
+
*/
|
|
17
|
+
export declare const Skeleton: Story;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { PDFViewer } from '../../../src';
|
|
3
|
+
declare const meta: Meta<typeof PDFViewer>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof PDFViewer>;
|
|
6
|
+
/**
|
|
7
|
+
* Componente PDFViewer con URL de archivo PDF
|
|
8
|
+
*/
|
|
9
|
+
export declare const Base: Story;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Pager } from '../../../src/components/Pager/Pager';
|
|
3
|
+
declare const meta: Meta<typeof Pager>;
|
|
4
|
+
type Story = StoryObj<typeof Pager>;
|
|
5
|
+
/**
|
|
6
|
+
* Default story for the Pager component.
|
|
7
|
+
*/
|
|
8
|
+
export declare const Default: Story;
|
|
9
|
+
/**
|
|
10
|
+
* Pager with custom rows per page options.
|
|
11
|
+
*/
|
|
12
|
+
export declare const CustomRowsPerPageOptions: Story;
|
|
13
|
+
/**
|
|
14
|
+
* Pager with no records.
|
|
15
|
+
*/
|
|
16
|
+
export declare const NoRecords: Story;
|
|
17
|
+
/**
|
|
18
|
+
* Pager with skeleton.
|
|
19
|
+
*/
|
|
20
|
+
export declare const WithSkeleton: Story;
|
|
21
|
+
export default meta;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { PopupsViewer } from '../../../src/components/popups/components/PopupsViewer/PopupsViewer';
|
|
3
|
+
import { StoryPopupsProviderType } from './types';
|
|
4
|
+
declare const meta: Meta<typeof PopupsViewer>;
|
|
5
|
+
export default meta;
|
|
6
|
+
export declare const Base: StoryPopupsProviderType;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PopupsViewerDictionary: string[];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { StoryContext, StoryFn } from '@storybook/react';
|
|
2
|
+
/**
|
|
3
|
+
* Componente que envuelve el story y le proporciona un contenedor con tamaño.
|
|
4
|
+
*/
|
|
5
|
+
export declare const WithExtendedPopupsContainer: (MyStory: StoryFn, context: StoryContext) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PopupsProviderProps } from '../../../../src/components/popups/components/PopupsProvider/contexts/PopupsContext/types';
|
|
2
|
+
export declare const heightWindow = 180;
|
|
3
|
+
export declare const widthWindow = 260;
|
|
4
|
+
export declare const marginWindow = 10;
|
|
5
|
+
export declare const baseInitialPopups: PopupsProviderProps['initialPopups'];
|
|
6
|
+
export declare const variantSmallIntialPopups: PopupsProviderProps['initialPopups'];
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { PropertyValue } from '../../../src/components/PropertyValue/PropertyValue';
|
|
3
|
+
declare const meta: Meta<typeof PropertyValue>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof PropertyValue>;
|
|
6
|
+
/**
|
|
7
|
+
* Historia por defecto para el componente `PropertyValue`.
|
|
8
|
+
*/
|
|
9
|
+
export declare const Default: Story;
|
|
10
|
+
/**
|
|
11
|
+
* Historia para un campo de correo con validación de obligatoriedad.
|
|
12
|
+
*/
|
|
13
|
+
export declare const MandatoryEmailField: Story;
|
|
14
|
+
/**
|
|
15
|
+
* Historia para un campo con un ícono.
|
|
16
|
+
*/
|
|
17
|
+
export declare const WithIconForm: Story;
|
|
18
|
+
/**
|
|
19
|
+
* Historia para un campo con un botón como acción.
|
|
20
|
+
*/
|
|
21
|
+
export declare const WithButtonForm: Story;
|
|
22
|
+
/**
|
|
23
|
+
* Historia para un campo deshabilitado con ícono.
|
|
24
|
+
*/
|
|
25
|
+
export declare const DisabledWithIcon: Story;
|
|
26
|
+
/**
|
|
27
|
+
* Historia para un campo con un ícono.
|
|
28
|
+
*/
|
|
29
|
+
export declare const IconField: Story;
|
|
30
|
+
/**
|
|
31
|
+
* Historia para un campo numérico con adornos de porcentaje.
|
|
32
|
+
*/
|
|
33
|
+
export declare const PercentField: Story;
|
|
34
|
+
/**
|
|
35
|
+
* Historia para un botón como acción.
|
|
36
|
+
*/
|
|
37
|
+
export declare const WithButton: Story;
|
|
38
|
+
/**
|
|
39
|
+
* Historia para un componente con mas altura.
|
|
40
|
+
*/
|
|
41
|
+
export declare const WithHeight: Story;
|
|
42
|
+
/**
|
|
43
|
+
* Historia sin formulario.
|
|
44
|
+
*/
|
|
45
|
+
export declare const NoForm: Story;
|
|
46
|
+
/**
|
|
47
|
+
* Historia para hover sin formulario.
|
|
48
|
+
*/
|
|
49
|
+
export declare const NoFormHover: Story;
|
|
50
|
+
/**
|
|
51
|
+
* Historia sin formulario con icono.
|
|
52
|
+
*/
|
|
53
|
+
export declare const NoFormIcon: Story;
|
|
54
|
+
/**
|
|
55
|
+
* Historia sin formulario con propiedad larga.
|
|
56
|
+
*/
|
|
57
|
+
export declare const LargeProperty: Story;
|
|
58
|
+
/**
|
|
59
|
+
* Historia sin formulario con valor largo.
|
|
60
|
+
*/
|
|
61
|
+
export declare const LargeValue: Story;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { SideBar } from '../../../src/components/SideBar';
|
|
3
|
+
declare const meta: Meta<typeof SideBar>;
|
|
4
|
+
type Story = StoryObj<typeof SideBar>;
|
|
5
|
+
/**
|
|
6
|
+
* Componente SideBar por defecto sin ningún item seleccionado
|
|
7
|
+
*/
|
|
8
|
+
export declare const Default: Story;
|
|
9
|
+
/**
|
|
10
|
+
* Componente SideBar con items en el menu, con un item seleccionado y 5 anidaciones incluyendo la sección padre de los menu items
|
|
11
|
+
*/
|
|
12
|
+
export declare const SidebarWithItemSelected: Story;
|
|
13
|
+
export declare const SidebarWithoutData: Story;
|
|
14
|
+
/**
|
|
15
|
+
* SideBar con componentes en skeleton
|
|
16
|
+
*/
|
|
17
|
+
export declare const SidebarWithSkeleton: Story;
|
|
18
|
+
export default meta;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ToastContainer } from '../../../src/components/ToastContainer/ToastContainer';
|
|
3
|
+
/**
|
|
4
|
+
* El toaster es creado extendiendo la librería `react-toastify`
|
|
5
|
+
*
|
|
6
|
+
* Para usar el toaster de debe agregar un ToasterContainer para que se puedan
|
|
7
|
+
* mostrar las notificaciones:
|
|
8
|
+
*
|
|
9
|
+
* Ejemplo:
|
|
10
|
+
*
|
|
11
|
+
* ```jsx
|
|
12
|
+
* import { ToastContainer } from '@m4l/components';
|
|
13
|
+
*
|
|
14
|
+
* function ReactComponent() {
|
|
15
|
+
* // Contenedor para que sean mostrados los mensajes y configuración general de los mensajes
|
|
16
|
+
* return <ToastContainer containerId="key-unico-contenedor" />;
|
|
17
|
+
* }
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* Crear `toaster` referenciando el `containerId` para lanzar los mensajes:
|
|
21
|
+
*
|
|
22
|
+
* ```jsx
|
|
23
|
+
* import { createToaster } from '@m4l/components';
|
|
24
|
+
*
|
|
25
|
+
* // Usar el mismo containerId del contenedor configurado
|
|
26
|
+
* const toaster = createToaster('key-unico-contenedor');
|
|
27
|
+
*
|
|
28
|
+
* function ReactComponent() {
|
|
29
|
+
* function showToast() {
|
|
30
|
+
* toaster(
|
|
31
|
+
* { title: 'My toast title', description: 'My toast description' },
|
|
32
|
+
* { type: 'info' },
|
|
33
|
+
* );
|
|
34
|
+
* }
|
|
35
|
+
*
|
|
36
|
+
* return <Button onClick={showToast}>Lanzar toast</Button>
|
|
37
|
+
* }
|
|
38
|
+
*
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
declare const meta: Meta<typeof ToastContainer>;
|
|
42
|
+
export declare const Base: Story;
|
|
43
|
+
export declare const WithDescription: Story;
|
|
44
|
+
export declare const WithoutFixed: Story;
|
|
45
|
+
export declare const WithPosition: Story;
|
|
46
|
+
export default meta;
|
|
47
|
+
type Story = StoryObj<typeof ToastContainer>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { WindowBase } from '../../../src/components/WindowBase';
|
|
3
|
+
declare const meta: Meta<typeof WindowBase>;
|
|
4
|
+
type Story = StoryObj<typeof WindowBase>;
|
|
5
|
+
export declare const Default: Story;
|
|
6
|
+
export declare const SelectedState: Story;
|
|
7
|
+
export declare const WithIcon: Story;
|
|
8
|
+
export declare const WithCloseButton: Story;
|
|
9
|
+
export declare const WithActions: Story;
|
|
10
|
+
export declare const isLoadingTrue: Story;
|
|
11
|
+
export declare const WithToaster: Story;
|
|
12
|
+
export default meta;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { WindowConfirm } from '../../../src/components/WindowConfirm/WindowConfirm';
|
|
3
|
+
declare const meta: Meta<typeof WindowConfirm>;
|
|
4
|
+
type Story = StoryObj<typeof WindowConfirm>;
|
|
5
|
+
export declare const WarningVariant: Story;
|
|
6
|
+
export declare const ErrorVariant: Story;
|
|
7
|
+
export declare const InfoVariant: Story;
|
|
8
|
+
export default meta;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { AppBar } from '../../../src/components/AppBar';
|
|
3
|
+
declare const meta: Meta<typeof AppBar>;
|
|
4
|
+
type Story = StoryObj<typeof AppBar>;
|
|
5
|
+
/**
|
|
6
|
+
* AppBar component por defecto con el logo de la compañía.
|
|
7
|
+
*/
|
|
8
|
+
export declare const Default: Story;
|
|
9
|
+
export default meta;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ActionCancel } from '../../../../../src/components/CommonActions/components/ActionCancel/ActionCancel';
|
|
3
|
+
declare const meta: Meta<typeof ActionCancel>;
|
|
4
|
+
type Story = StoryObj<typeof ActionCancel>;
|
|
5
|
+
/**
|
|
6
|
+
* Base story for `ActionCancel` in standard mode.
|
|
7
|
+
*/
|
|
8
|
+
export declare const Default: Story;
|
|
9
|
+
/**
|
|
10
|
+
* Base story for `ActionCancel` with start icon.
|
|
11
|
+
*/
|
|
12
|
+
export declare const WithStartIcon: Story;
|
|
13
|
+
/**
|
|
14
|
+
* Base story for `ActionCancel` with end icon.
|
|
15
|
+
*/
|
|
16
|
+
export declare const WithEndIcon: Story;
|
|
17
|
+
/**
|
|
18
|
+
* Base story for `ActionCancel` with start and end icon.
|
|
19
|
+
*/
|
|
20
|
+
export declare const WithStartAndEndIcon: Story;
|
|
21
|
+
export declare const Skeleton: Story;
|
|
22
|
+
export default meta;
|
package/storybook/components/commonActions/components/ActionFormCancel/ActionFormCancel.stories.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ActionFormCancel } from '../../../../../src/components/CommonActions/components/ActionFormCancel/ActionFormCancel';
|
|
3
|
+
declare const meta: Meta<typeof ActionFormCancel>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof ActionFormCancel>;
|
|
6
|
+
export declare const WithWindowConfirm: Story;
|
package/storybook/components/commonActions/components/ActionFormIntro/ActionFormIntro.stories.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ActionFormIntro } from '../../../../../src/components/CommonActions/components/ActionFormIntro/ActionFormIntro';
|
|
3
|
+
declare const meta: Meta<typeof ActionFormIntro>;
|
|
4
|
+
type Story = StoryObj<typeof ActionFormIntro>;
|
|
5
|
+
/**
|
|
6
|
+
* Base story for `ActionFormIntro` in standard mode.
|
|
7
|
+
*/
|
|
8
|
+
export declare const Default: Story;
|
|
9
|
+
/**
|
|
10
|
+
* Base story for `ActionFormIntro` with start icon.
|
|
11
|
+
*/
|
|
12
|
+
export declare const WithStartIcon: Story;
|
|
13
|
+
export declare const Skeleton: Story;
|
|
14
|
+
export default meta;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ActionIntro } from '../../../../../src/components/CommonActions/components/ActionIntro';
|
|
3
|
+
declare const meta: Meta<typeof ActionIntro>;
|
|
4
|
+
type Story = StoryObj<typeof ActionIntro>;
|
|
5
|
+
/**
|
|
6
|
+
* Base story for `ActionIntro` in standard mode.
|
|
7
|
+
*/
|
|
8
|
+
export declare const Default: Story;
|
|
9
|
+
/**
|
|
10
|
+
* Base story for `ActionIntro` with start icon.
|
|
11
|
+
*/
|
|
12
|
+
export declare const WithStartIcon: Story;
|
|
13
|
+
/**
|
|
14
|
+
* Base story for `ActionIntro` with end icon.
|
|
15
|
+
*/
|
|
16
|
+
export declare const WithEndIcon: Story;
|
|
17
|
+
/**
|
|
18
|
+
* Base story for `ActionIntro` with start and end icon.
|
|
19
|
+
*/
|
|
20
|
+
export declare const WithStartAndEndIcon: Story;
|
|
21
|
+
export declare const Skeleton: Story;
|
|
22
|
+
export default meta;
|
package/storybook/components/commonActions/components/ActionsContainer/ActionsContainer.stories.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ActionsContainer } from '../../../../../src/components/CommonActions/components/ActionsContainer/ActionsContainer';
|
|
3
|
+
declare const meta: Meta<typeof ActionsContainer>;
|
|
4
|
+
type Story = StoryObj<typeof ActionsContainer>;
|
|
5
|
+
/**
|
|
6
|
+
* Base story for `ActionsContainer` in standard mode.
|
|
7
|
+
*/
|
|
8
|
+
export declare const Default: Story;
|
|
9
|
+
/**
|
|
10
|
+
* Story for `ActionsContainer` with action buttons.
|
|
11
|
+
*/
|
|
12
|
+
export declare const WithActionsButtons: Story;
|
|
13
|
+
export default meta;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { NavLink } from '../../../../../src/components/mui_extended/NavLink';
|
|
3
|
+
/**
|
|
4
|
+
* NavLink es un componente de presentación e interacción diseñado para facilitar la navegación dentro de una aplicación o sitio web.
|
|
5
|
+
* Este componente utiliza un texto o enlace visualmente destacado que permite a los usuarios acceder rápidamente a una página o sección de interés. Su diseño lo hace fácilmente identificable,
|
|
6
|
+
* lo que mejora la experiencia de usuario al proporcionar una interfaz clara e intuitiva.
|
|
7
|
+
* @param {NavLinkProps} props - Las propiedades del componente.
|
|
8
|
+
* @returns {JSX.Element} El componente NavLink renderizado.
|
|
9
|
+
*/
|
|
10
|
+
declare const meta: Meta<typeof NavLink>;
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof NavLink>;
|
|
13
|
+
export declare const NavLinkDefault: Story;
|
|
14
|
+
export declare const NavLinkVisited: Story;
|
|
15
|
+
/** NavLink component mode Skeleton */
|
|
16
|
+
export declare const NavLinkDefaultSkeleton: Story;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { PropagateLoaderSpinner } from '../../../../../src/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner';
|
|
3
|
+
declare const meta: Meta<typeof PropagateLoaderSpinner>;
|
|
4
|
+
type Story = StoryObj<typeof PropagateLoaderSpinner>;
|
|
5
|
+
/**
|
|
6
|
+
* Historia base para `PropagateLoaderSpinner` con configuración por defecto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const Default: Story;
|
|
9
|
+
export default meta;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { SplitLayout } from '../../../../src/components/extended/React-Splitter-Layout/SplitLayout';
|
|
3
|
+
declare const meta: Meta<typeof SplitLayout>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SplitLayout>;
|
|
6
|
+
/**
|
|
7
|
+
* Componente `SplitLayout` con historia por base
|
|
8
|
+
*/
|
|
9
|
+
export declare const Base: Story;
|
|
10
|
+
/**
|
|
11
|
+
* Componente `SplitLayout` con las `props` `firstPart` y `secondPart`
|
|
12
|
+
*/
|
|
13
|
+
export declare const WithProps: Story;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Accordion } from '../../../../../src/components/mui_extended/Accordion/Accordion';
|
|
3
|
+
declare const meta: Meta<typeof Accordion>;
|
|
4
|
+
type Story = StoryObj<typeof Accordion>;
|
|
5
|
+
/**********************************************
|
|
6
|
+
* Componente Accordion por defecto
|
|
7
|
+
**********************************************/
|
|
8
|
+
export declare const Default: Story;
|
|
9
|
+
/*****************************************
|
|
10
|
+
* Componente Accordion sin icono
|
|
11
|
+
****************************************/
|
|
12
|
+
export declare const WithoutIcon: Story;
|
|
13
|
+
/***************************************
|
|
14
|
+
* Componente Accordion expandido en disable
|
|
15
|
+
************************************/
|
|
16
|
+
export declare const ExpandedAndDisabled: Story;
|
|
17
|
+
/***************************************
|
|
18
|
+
* Componente Accordion no expandido en disable
|
|
19
|
+
************************************/
|
|
20
|
+
export declare const NoExpandedAndDisabled: Story;
|
|
21
|
+
/***********************************
|
|
22
|
+
* Componente Accordion en Skeleton
|
|
23
|
+
***********************************/
|
|
24
|
+
export declare const Skeleton: Story;
|
|
25
|
+
export default meta;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { AutocompleteProps } from '../../../../../src/components/mui_extended/Autocomplete/types';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
type OptionType = {
|
|
5
|
+
id: number;
|
|
6
|
+
label: string;
|
|
7
|
+
startAdornment?: ReactNode;
|
|
8
|
+
endAdornment?: ReactNode;
|
|
9
|
+
imageUrl?: string;
|
|
10
|
+
};
|
|
11
|
+
declare const meta: Meta<AutocompleteProps<OptionType, undefined>>;
|
|
12
|
+
export default meta;
|
|
13
|
+
type Story = StoryObj<AutocompleteProps<OptionType, false>>;
|
|
14
|
+
export declare const TextSingle: Story;
|
|
15
|
+
export declare const TextMultiple: Story;
|
|
16
|
+
export declare const ImageSingle: Story;
|
|
17
|
+
export declare const ImageMultiple: Story;
|
|
18
|
+
export declare const Loading: Story;
|
|
19
|
+
export declare const Refresh: Story;
|
|
20
|
+
export declare const Skeleton: Story;
|