@m4l/components 9.1.23 → 9.1.26
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/constants.d.ts +19 -0
- package/.storybook/decorators/WithContexts/index.d.ts +1 -0
- package/.storybook/decorators/WithContexts/types.d.ts +7 -0
- package/.storybook/decorators/WithForm/index.d.ts +1 -0
- package/.storybook/decorators/WithFormAutoValidation/index.d.ts +1 -0
- package/.storybook/decorators/WithMapProvider/constants.d.ts +2 -0
- package/.storybook/decorators/WithMapProvider/index.d.ts +1 -0
- package/.storybook/decorators/WithPopupsProvider/index.d.ts +1 -0
- package/.storybook/decorators/WithScaleIcons/index.d.ts +1 -0
- package/.storybook/decorators/WithWindowsContainer/index.d.ts +1 -0
- package/.storybook/decorators/WithWindowsContainer/subcomponents/WindowsContainer/index.d.ts +1 -0
- package/.storybook/decorators/WithWindowsContainer/subcomponents/WindowsContainer/types.d.ts +4 -0
- package/.storybook/decorators/WithWrapper/index.d.ts +1 -0
- package/.storybook/decorators/WithWrapper/types.d.ts +11 -0
- package/.storybook/main.d.ts +3 -0
- package/.storybook/storybook.vite.d.ts +2 -0
- package/.storybook/utils/getGlobalsFromSearchParams.d.ts +7 -0
- package/.storybook/utils/getStylesColorsByMode.d.ts +624 -0
- package/@types/types.d.ts +16 -0
- package/components/mui_extended/Button/Button.d.ts +2 -2
- package/components/mui_extended/Button/Button.js +1 -2
- package/components/mui_extended/ToggleButton/ToggleButton.js +17 -7
- package/components/mui_extended/ToggleButton/ToggleButton.styles.d.ts +2 -0
- package/components/mui_extended/ToggleButton/ToggleButton.styles.js +31 -0
- package/components/mui_extended/ToggleButton/constants.d.ts +1 -0
- package/components/mui_extended/ToggleButton/constants.js +4 -0
- package/components/mui_extended/ToggleButton/index.d.ts +4 -0
- package/components/mui_extended/ToggleButton/slots/ToggleButtonEnum.d.ts +3 -0
- package/components/mui_extended/ToggleButton/slots/ToggleButtonEnum.js +7 -0
- package/components/mui_extended/ToggleButton/slots/ToggleButtonSlots.d.ts +3 -0
- package/components/mui_extended/ToggleButton/slots/ToggleButtonSlots.js +12 -0
- package/components/mui_extended/ToggleButton/slots/index.d.ts +2 -0
- package/components/mui_extended/ToggleButton/slots/index.js +1 -0
- package/components/mui_extended/ToggleButton/tests/ToggleButon.test.d.ts +1 -0
- package/components/mui_extended/ToggleButton/types.d.ts +36 -0
- package/components/mui_extended/ToggleIconButton/ToggleIconButton.js +18 -3
- package/components/mui_extended/ToggleIconButton/ToggleIconButton.styles.d.ts +2 -0
- package/components/mui_extended/ToggleIconButton/ToggleIconButton.styles.js +28 -0
- package/components/mui_extended/ToggleIconButton/constants.d.ts +1 -0
- package/components/mui_extended/ToggleIconButton/constants.js +4 -0
- package/components/mui_extended/ToggleIconButton/index.d.ts +4 -0
- package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonEnum.d.ts +3 -0
- package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonEnum.js +7 -0
- package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +3 -0
- package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.js +12 -0
- package/components/mui_extended/ToggleIconButton/slots/index.d.ts +2 -0
- package/components/mui_extended/ToggleIconButton/slots/index.js +1 -0
- package/components/mui_extended/ToggleIconButton/tests/ToggleIconButton.test.d.ts +1 -0
- package/components/mui_extended/ToggleIconButton/types.d.ts +23 -0
- package/components/mui_extended/Typography/slots/typographySlots.d.ts +1 -1
- package/index.js +18 -2
- package/package.json +8 -3
- package/test/mocks.d.ts +0 -9
- package/components/mui_extended/Button/classes/constants.js +0 -4
- package/components/mui_extended/Button/classes/index.js +0 -25
- package/storybook/components/Chip/Chip.stories.d.ts +0 -25
- package/storybook/components/DragResizeWindow/stories/DragResizeWindow.stories.d.ts +0 -7
- package/storybook/components/DragResizeWindow/stories/constants.d.ts +0 -3
- package/storybook/components/DragResizeWindow/stories/subcomponents/ContentExample.d.ts +0 -8
- package/storybook/components/DragResizeWindow/stories/subcomponents/WithExtendedContainer.d.ts +0 -9
- package/storybook/components/DragResizeWindow/stories/types.d.ts +0 -3
- package/storybook/components/Icon/Icon.stories.d.ts +0 -21
- package/storybook/components/ModalDialog/ModalDialog.stories.d.ts +0 -7
- package/storybook/components/ModalDialog/subcomponent/WithExtendedContainer.d.ts +0 -37
- package/storybook/components/SideBar/SideBar.stories.d.ts +0 -24
- package/storybook/components/SideBar/data/menuData.d.ts +0 -2
- package/storybook/components/SideBar/subcomponents/SibarDecorator.d.ts +0 -3
- package/storybook/components/WindowBase/windowBase.stories.d.ts +0 -9
- package/storybook/components/WindowConfirm/windowConfirm.stories.d.ts +0 -8
- package/storybook/components/appBar/AppBar.stories.d.ts +0 -11
- package/storybook/components/commonActions/components/ActionCancel/ActionCancel.stories.d.ts +0 -22
- package/storybook/components/commonActions/components/ActionIntro/ActionIntro.stories.d.ts +0 -22
- package/storybook/components/commonActions/components/ActionsContainer/ActionsContainer.stories.d.ts +0 -13
- package/storybook/components/extended/mui/Accordion/Accordion.stories.d.ts +0 -25
- package/storybook/components/extended/mui/Autocomplete/AutoComple.stories.d.ts +0 -20
- package/storybook/components/extended/mui/Badge/Badge.stories.d.ts +0 -33
- package/storybook/components/extended/mui/Button/Button.stories.d.ts +0 -26
- package/storybook/components/extended/mui/CheckBox/PaletteColor/Default/states/CheckBoxDisabled.stories.d.ts +0 -22
- package/storybook/components/extended/mui/CheckBox/PaletteColor/Default/states/CheckBoxSkeleton.stories.d.ts +0 -10
- package/storybook/components/extended/mui/CheckBox/PaletteColor/Error/states/CheckBoxActive.stories.d.ts +0 -16
- package/storybook/components/extended/mui/CheckBox/PaletteColor/Error/states/CheckBoxEnabled.stories.d.ts +0 -16
- package/storybook/components/extended/mui/CheckBox/PaletteColor/Error/states/CheckBoxFocusVisible.stories.d.ts +0 -16
- package/storybook/components/extended/mui/CheckBox/PaletteColor/Error/states/CheckBoxHover.stories.d.ts +0 -16
- package/storybook/components/extended/mui/CheckBox/PaletteColor/Primary/states/CheckBoxActive.stories.d.ts +0 -18
- package/storybook/components/extended/mui/CheckBox/PaletteColor/Primary/states/CheckBoxEnabled.stories.d.ts +0 -17
- package/storybook/components/extended/mui/CheckBox/PaletteColor/Primary/states/CheckBoxFocusVisible.stories.d.ts +0 -17
- package/storybook/components/extended/mui/CheckBox/PaletteColor/Primary/states/CheckBoxHover.stories.d.ts +0 -17
- package/storybook/components/extended/mui/CircularProgress/CircularProgress.default.stories.d.ts +0 -14
- package/storybook/components/extended/mui/CircularProgress/CircularProgress.sizes.stories.d.ts +0 -18
- package/storybook/components/extended/mui/Dialog/Dialog.stories.d.ts +0 -7
- package/storybook/components/extended/mui/Dialog/subcomponents/ContentExample.d.ts +0 -12
- package/storybook/components/extended/mui/Dialog/subcomponents/WithExtendedContainer.d.ts +0 -38
- package/storybook/components/extended/mui/IconButton/DefaultIconButton/IconButton.containedDefault.stories.d.ts +0 -11
- package/storybook/components/extended/mui/IconButton/DefaultIconButton/IconButton.textDefault.stories.d.ts +0 -11
- package/storybook/components/extended/mui/IconButton/DefaultIconButton/iconButton.outlinedDefault.stories.d.ts +0 -11
- package/storybook/components/extended/mui/IconButton/DisableIconButton/IconButton.containedDisable.stories.d.ts +0 -7
- package/storybook/components/extended/mui/IconButton/DisableIconButton/IconButton.textDisable.stories.d.ts +0 -13
- package/storybook/components/extended/mui/IconButton/DisableIconButton/iconButton.outlinedDisable.stories.d.ts +0 -13
- package/storybook/components/extended/mui/IconButton/IconButton.stories.d.ts +0 -40
- package/storybook/components/extended/mui/IconButton/PrimaryIconButton/IconButton.containedPrimary.stories.d.ts +0 -11
- package/storybook/components/extended/mui/IconButton/PrimaryIconButton/IconButton.textPrimary.stories.d.ts +0 -17
- package/storybook/components/extended/mui/IconButton/PrimaryIconButton/iconButton.outlinedPrimary.stories.d.ts +0 -17
- package/storybook/components/extended/mui/IconButton/SemanticIconButton/ErrorIconButton/IconButton.containedError.stories.d.ts +0 -11
- package/storybook/components/extended/mui/IconButton/SemanticIconButton/ErrorIconButton/IconButton.textError.stories.d.ts +0 -17
- package/storybook/components/extended/mui/IconButton/SemanticIconButton/ErrorIconButton/iconButton.outlinedError.stories.d.ts +0 -11
- package/storybook/components/extended/mui/IconButton/SemanticIconButton/InfoIconButton/IconButton.containedInfo.stories.d.ts +0 -11
- package/storybook/components/extended/mui/IconButton/SemanticIconButton/InfoIconButton/IconButton.textInfo.stories.d.ts +0 -11
- package/storybook/components/extended/mui/IconButton/SemanticIconButton/InfoIconButton/iconButton.outlinedInfo.stories.d.ts +0 -11
- package/storybook/components/extended/mui/IconButton/SemanticIconButton/SuccesIconButton/IconButton.containedSuccess.stories.d.ts +0 -11
- package/storybook/components/extended/mui/IconButton/SemanticIconButton/SuccesIconButton/IconButton.textSucces.stories.d.ts +0 -17
- package/storybook/components/extended/mui/IconButton/SemanticIconButton/SuccesIconButton/iconButton.outlinedSucces.stories.d.ts +0 -17
- package/storybook/components/extended/mui/IconButton/SemanticIconButton/WarningIconButton/IconButton.containedWarning.stories.d.ts +0 -11
- package/storybook/components/extended/mui/IconButton/SemanticIconButton/WarningIconButton/IconButton.textWarning.stories.d.ts +0 -11
- package/storybook/components/extended/mui/IconButton/SemanticIconButton/WarningIconButton/iconButton.outlinedWarning.stories.d.ts +0 -11
- package/storybook/components/extended/mui/IconButton/SizesIconButton/IconButtonSizeMedium.stories.d.ts +0 -8
- package/storybook/components/extended/mui/LoadingButton/LoadingButton.stories.d.ts +0 -42
- package/storybook/components/extended/mui/MenuActions/MenuActions.default.stories.d.ts +0 -29
- package/storybook/components/extended/mui/MenuActions/MenuActions.othersProps.stories.d.ts +0 -13
- package/storybook/components/extended/mui/MenuItems/MenuItem.stories.d.ts +0 -45
- package/storybook/components/extended/mui/Skeleton/Colors/Default/Variants/Circular/skeleton.defaultCircular.stories.d.ts +0 -14
- package/storybook/components/extended/mui/Skeleton/Colors/Default/Variants/Rectangular/skeleton.defaultRectangular.stories.d.ts +0 -14
- package/storybook/components/extended/mui/Skeleton/Colors/Default/Variants/Rounded/skeleton.defaultRounded.stories.d.ts +0 -15
- package/storybook/components/extended/mui/Skeleton/Colors/Default/Variants/Text/skeleton.defaultText.stories.d.ts +0 -15
- package/storybook/components/extended/mui/Tab/stories/Tab.disable.stories.d.ts +0 -36
- package/storybook/components/extended/mui/Tab/stories/Tab.enable.stories.d.ts +0 -36
- package/storybook/components/extended/mui/Tab/stories/Tab.sizes.stories.d.ts +0 -28
- package/storybook/components/extended/mui/Tab/stories/Tab.skeleton.stories.d.ts +0 -32
- package/storybook/components/extended/mui/Tooltip/Tooltip.stories.d.ts +0 -29
- package/storybook/components/extended/mui/Typography/PaletteColor/text.primary/Variantes/body/Estados/typography.body.estados.stories.d.ts +0 -23
- package/storybook/components/extended/mui/Typography/PaletteColor/text.primary/Variantes/bodyDens/Estados/typography.bodyDens.estados.stories.d.ts +0 -23
- package/storybook/components/extended/mui/Typography/PaletteColor/text.primary/Variantes/h1/Estados/typography.h1.estados.stories.d.ts +0 -23
- package/storybook/components/extended/mui/Typography/PaletteColor/text.primary/Variantes/h2/Estados/typography.h2.estados.stories.d.ts +0 -23
- package/storybook/components/extended/mui/Typography/PaletteColor/text.primary/Variantes/h3/Estados/typography.h3.estados.stories.d.ts +0 -23
- package/storybook/components/extended/mui/Typography/PaletteColor/text.primary/Variantes/h5/Estados/typography.h5.estados.stories.d.ts +0 -23
- package/storybook/components/extended/mui/Typography/PaletteColor/text.primary/Variantes/paragraph/Estados/typography.paragraph.estados.stories.d.ts +0 -23
- package/storybook/components/extended/mui/Typography/PaletteColor/text.primary/Variantes/paragraphDens/Estados/typography.paragraphDens.estados.stories.d.ts +0 -23
- package/storybook/components/extended/mui/Typography/PaletteColor/text.primary/Variantes/subtitle/Estados/typography.subtitle.estados.stories.d.ts +0 -23
- package/storybook/components/extended/mui/Typography/PaletteColor/text.primary/Variantes/subtitleDens/Estados/typography.subtitleDens.estados.stories.d.ts +0 -23
- package/storybook/components/extended/react-resizable/ResizableBox/resizableBox.stories.d.ts +0 -13
- package/storybook/components/formatters/BooleanFormatter/BooleanFormatter.stories.d.ts +0 -41
- package/storybook/components/paperForm/PaperForm.stories.d.ts +0 -18
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react/*';
|
|
2
|
-
import { Icon } from '../../../src/components/Icon';
|
|
3
|
-
declare const meta: Meta<typeof Icon>;
|
|
4
|
-
type Story = StoryObj<typeof Icon>;
|
|
5
|
-
/**
|
|
6
|
-
* Icon component by default with tooltip content 'Tooltip'
|
|
7
|
-
*/
|
|
8
|
-
export declare const Default: Story;
|
|
9
|
-
/**
|
|
10
|
-
* Icon component with color primary.main
|
|
11
|
-
*/
|
|
12
|
-
export declare const iconColor: Story;
|
|
13
|
-
/**
|
|
14
|
-
* Icon component with size small
|
|
15
|
-
*/
|
|
16
|
-
export declare const small: Story;
|
|
17
|
-
/**
|
|
18
|
-
* Icon component with size medium
|
|
19
|
-
*/
|
|
20
|
-
export declare const medium: Story;
|
|
21
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
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 default meta;
|
|
@@ -1,37 +0,0 @@
|
|
|
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
|
-
* @author cesar - automatic
|
|
33
|
-
* @createdAt 2024-11-26 12:39:40 - automatic
|
|
34
|
-
* @updatedAt 2024-12-10 08:14:13 - automatic
|
|
35
|
-
* @updatedUser Bruce Escobar - automatic
|
|
36
|
-
*/
|
|
37
|
-
export declare const WithExtendedContainer: (_: StoryFn, context: StoryContext) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
* @createdAt 2024-11-16 14:25:07 - automatic
|
|
8
|
-
*/
|
|
9
|
-
export declare const Default: Story;
|
|
10
|
-
/**
|
|
11
|
-
* Componente SideBar con items en el menu, con un item seleccionado y 5 anidaciones incluyendo la sección padre de los menu items
|
|
12
|
-
* @createdAt 2024-11-16 14:25:07 - automatic
|
|
13
|
-
*/
|
|
14
|
-
export declare const SidebarWithItemSelected: Story;
|
|
15
|
-
export declare const SidebarWithoutData: Story;
|
|
16
|
-
/**
|
|
17
|
-
* SideBar con componentes en skeleton
|
|
18
|
-
* @author Andrés Quintero - automatic
|
|
19
|
-
* @createdAt 2024-11-16 14:25:07 - automatic
|
|
20
|
-
* @updatedAt 2024-11-16 14:25:58 - automatic
|
|
21
|
-
* @updatedUser Andrés Quintero - automatic
|
|
22
|
-
*/
|
|
23
|
-
export declare const SidebarWithSkeleton: Story;
|
|
24
|
-
export default meta;
|
|
@@ -1,9 +0,0 @@
|
|
|
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 default meta;
|
|
@@ -1,8 +0,0 @@
|
|
|
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;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react/*';
|
|
2
|
-
import { SideBar } from '../../../src/components/SideBar';
|
|
3
|
-
import { AppBar } from '../../../src/components/AppBar';
|
|
4
|
-
declare const meta: Meta<typeof AppBar>;
|
|
5
|
-
type Story = StoryObj<typeof SideBar>;
|
|
6
|
-
/**
|
|
7
|
-
* Componente SideBar por defecto sin ningún item seleccionado
|
|
8
|
-
* @createdAt 2024-11-16 14:25:07 - automatic
|
|
9
|
-
*/
|
|
10
|
-
export declare const Default: Story;
|
|
11
|
-
export default meta;
|
package/storybook/components/commonActions/components/ActionCancel/ActionCancel.stories.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
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;
|
|
@@ -1,22 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
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;
|
|
@@ -1,25 +0,0 @@
|
|
|
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;
|
|
@@ -1,20 +0,0 @@
|
|
|
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, false, true, false>>;
|
|
12
|
-
export default meta;
|
|
13
|
-
type Story = StoryObj<AutocompleteProps<OptionType, false, true, 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;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Badge } from '../../../../../src/components/mui_extended/Badge/Badge';
|
|
3
|
-
declare const meta: Meta<typeof Badge>;
|
|
4
|
-
type Story = StoryObj<typeof Badge>;
|
|
5
|
-
/**
|
|
6
|
-
* Default story for the Badge component.
|
|
7
|
-
*/
|
|
8
|
-
export declare const Default: Story;
|
|
9
|
-
/**
|
|
10
|
-
* Badge with a primary color.
|
|
11
|
-
*/
|
|
12
|
-
export declare const PrimaryBadge: Story;
|
|
13
|
-
/**
|
|
14
|
-
* Badge with a default color.
|
|
15
|
-
*/
|
|
16
|
-
export declare const DefaultBadge: Story;
|
|
17
|
-
/**
|
|
18
|
-
* Badge with a error color.
|
|
19
|
-
*/
|
|
20
|
-
export declare const ErrorBadge: Story;
|
|
21
|
-
/**
|
|
22
|
-
* Badge with a info color.
|
|
23
|
-
*/
|
|
24
|
-
export declare const InfoBadge: Story;
|
|
25
|
-
/**
|
|
26
|
-
* Badge with a warning color.
|
|
27
|
-
*/
|
|
28
|
-
export declare const WarningBadge: Story;
|
|
29
|
-
/**
|
|
30
|
-
* Badge with a success color.
|
|
31
|
-
*/
|
|
32
|
-
export declare const SuccessBadge: Story;
|
|
33
|
-
export default meta;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react/*';
|
|
2
|
-
import { Button } from '../../../../../src/components/mui_extended/Button/Button';
|
|
3
|
-
declare const meta: Meta<typeof Button>;
|
|
4
|
-
type Story = StoryObj<typeof Button>;
|
|
5
|
-
/**
|
|
6
|
-
* Base story for `Button` in standard mode.
|
|
7
|
-
*/
|
|
8
|
-
export declare const Default: Story;
|
|
9
|
-
/**
|
|
10
|
-
* Base story for `Button` with start icon.
|
|
11
|
-
*/
|
|
12
|
-
export declare const WithStartIcon: Story;
|
|
13
|
-
/**
|
|
14
|
-
* Base story for `Button` with end icon.
|
|
15
|
-
*/
|
|
16
|
-
export declare const WithEndIcon: Story;
|
|
17
|
-
/**
|
|
18
|
-
* Base story for `Button` with start and end icon.
|
|
19
|
-
*/
|
|
20
|
-
export declare const WithStartAndEndIcon: Story;
|
|
21
|
-
/**
|
|
22
|
-
* Base story for `Button` with disabled state.
|
|
23
|
-
*/
|
|
24
|
-
export declare const Disabled: Story;
|
|
25
|
-
export declare const Skeleton: Story;
|
|
26
|
-
export default meta;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { CheckBox } from '../../../../../../../../src/components/mui_extended/CheckBox';
|
|
3
|
-
/**
|
|
4
|
-
* El estado `disabled` del checkbox se utiliza para indicar que el checkbox no está disponible para la interacción del usuario. Cuando un checkbox está en estado `disabled`:
|
|
5
|
-
*
|
|
6
|
-
* - No puede ser seleccionado ni deseleccionado por el usuario.
|
|
7
|
-
* - No responde a eventos de clic ni de teclado.
|
|
8
|
-
* - Se muestra con un estilo visual diferente (generalmente más tenue) para indicar que está deshabilitado.
|
|
9
|
-
*
|
|
10
|
-
* Este estado es útil en situaciones donde una opción no debe estar disponible para el usuario hasta que se cumplan ciertas condiciones o para evitar cambios en opciones que no deben ser modificadas.
|
|
11
|
-
*/
|
|
12
|
-
declare const meta: Meta<typeof CheckBox>;
|
|
13
|
-
export default meta;
|
|
14
|
-
type Story = StoryObj<typeof CheckBox>;
|
|
15
|
-
/** CheckBox StateDisabled whit inlineText and Checked */
|
|
16
|
-
export declare const DisabledCheckBox: Story;
|
|
17
|
-
/** CheckBox State Disabled whit inlineText no checked */
|
|
18
|
-
export declare const DisabledInlineText: Story;
|
|
19
|
-
/** CheckBox State Disabled only Checked */
|
|
20
|
-
export declare const DisabledChecked: Story;
|
|
21
|
-
/** CheckBox State Disabled no checked */
|
|
22
|
-
export declare const DisabledNotChecked: Story;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { CheckBox } from '../../../../../../../../src/components/mui_extended/CheckBox';
|
|
3
|
-
/**
|
|
4
|
-
* CheckBox es un componente React que renderiza un campo de selección de tipo checkbox, el cual puede ser utilizado en formularios o en cualquier lugar donde se necesite una selección múltiple.
|
|
5
|
-
*/
|
|
6
|
-
declare const meta: Meta<typeof CheckBox>;
|
|
7
|
-
export default meta;
|
|
8
|
-
type Story = StoryObj<typeof CheckBox>;
|
|
9
|
-
/** Base CheckBox component in mode Skeleton */
|
|
10
|
-
export declare const SkeletonCheckBox: Story;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { CheckBox } from '../../../../../../../../src/components/mui_extended/CheckBox';
|
|
3
|
-
/**
|
|
4
|
-
* El estado "active" en un checkbox con variante de error se refiere a la apariencia y comportamiento del checkbox cuando está seleccionado, indicando que hay un error asociado.
|
|
5
|
-
*/
|
|
6
|
-
declare const meta: Meta<typeof CheckBox>;
|
|
7
|
-
export default meta;
|
|
8
|
-
type Story = StoryObj<typeof CheckBox>;
|
|
9
|
-
/** CheckBox State Active whit inlineText and Checked */
|
|
10
|
-
export declare const ActiveCheckBox: Story;
|
|
11
|
-
/** CheckBox State Active whit inlineText no checked */
|
|
12
|
-
export declare const ActiveInlineText: Story;
|
|
13
|
-
/** CheckBox State Active only Checked */
|
|
14
|
-
export declare const ActiveChecked: Story;
|
|
15
|
-
/** CheckBox State Active no checked */
|
|
16
|
-
export declare const ActiveNotChecked: Story;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { CheckBox } from '../../../../../../../../src/components/mui_extended/CheckBox';
|
|
3
|
-
/**
|
|
4
|
-
* Un checkbox en estado "enabled" con variante de error significa que el checkbox está activo y disponible para ser interactuado por el usuario, pero está resaltado para indicar que hay un error asociado.
|
|
5
|
-
*/
|
|
6
|
-
declare const meta: Meta<typeof CheckBox>;
|
|
7
|
-
export default meta;
|
|
8
|
-
type Story = StoryObj<typeof CheckBox>;
|
|
9
|
-
/** CheckBox State Enabled whit inlineText and Checked */
|
|
10
|
-
export declare const EnabledCheckBox: Story;
|
|
11
|
-
/** CheckBox State Enabled whit inlineText no checked */
|
|
12
|
-
export declare const EnabledInlineText: Story;
|
|
13
|
-
/** CheckBox State Enabled only Checked */
|
|
14
|
-
export declare const EnabledChecked: Story;
|
|
15
|
-
/** CheckBox State Enabled no checked */
|
|
16
|
-
export declare const EnabledNotChecked: Story;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { CheckBox } from '../../../../../../../../src/components/mui_extended/CheckBox';
|
|
3
|
-
/**
|
|
4
|
-
* El estado "focusVisible" en un checkbox con variante de error se refiere a la apariencia y comportamiento del checkbox cuando ha recibido el foco de entrada y está visible para el usuario, indicando que hay un error asociado.
|
|
5
|
-
*/
|
|
6
|
-
declare const meta: Meta<typeof CheckBox>;
|
|
7
|
-
export default meta;
|
|
8
|
-
type Story = StoryObj<typeof CheckBox>;
|
|
9
|
-
/** CheckBox State FocusVisible whit inlineText and Checked */
|
|
10
|
-
export declare const FocusVisibleCheckBox: Story;
|
|
11
|
-
/** CheckBox State FocusVisible whit inlineText no checked */
|
|
12
|
-
export declare const FocusVisibleInlineText: Story;
|
|
13
|
-
/** CheckBox State FocusVisible only Checked */
|
|
14
|
-
export declare const FocusVisibleChecked: Story;
|
|
15
|
-
/** CheckBox State FocusVisible no checked */
|
|
16
|
-
export declare const FocusVisibleNotChecked: Story;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { CheckBox } from '../../../../../../../../src/components/mui_extended/CheckBox';
|
|
3
|
-
/**
|
|
4
|
-
* El estado "hover" en un checkbox con variante de error se refiere a la apariencia y comportamiento del checkbox cuando el usuario coloca el cursor sobre él, indicando que hay un error asociado
|
|
5
|
-
*/
|
|
6
|
-
declare const meta: Meta<typeof CheckBox>;
|
|
7
|
-
export default meta;
|
|
8
|
-
type Story = StoryObj<typeof CheckBox>;
|
|
9
|
-
/** CheckBox State Hover whit inlineText and Checked */
|
|
10
|
-
export declare const HoverCheckBox: Story;
|
|
11
|
-
/** CheckBox State Hover whit inlineText no checked */
|
|
12
|
-
export declare const HoverInlineText: Story;
|
|
13
|
-
/** CheckBox State Hover only Checked */
|
|
14
|
-
export declare const HoverChecked: Story;
|
|
15
|
-
/** CheckBox State Hover no checked */
|
|
16
|
-
export declare const HoverNotChecked: Story;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { CheckBox } from '../../../../../../../../src/components/mui_extended/CheckBox';
|
|
3
|
-
/**
|
|
4
|
-
* El componente CheckBox es versátil y se puede utilizar en diversas situaciones donde se necesite una selección múltiple.
|
|
5
|
-
* Las variantes del componente permiten personalizar su apariencia y comportamiento, incluyendo la visualización de mensajes de ayuda y la indicación de obligatoriedad.
|
|
6
|
-
* La variante primaria en estado activo es especialmente útil para resaltar los checkboxes seleccionados, mejorando la experiencia del usuario en formularios y listas.
|
|
7
|
-
*/
|
|
8
|
-
declare const meta: Meta<typeof CheckBox>;
|
|
9
|
-
export default meta;
|
|
10
|
-
type Story = StoryObj<typeof CheckBox>;
|
|
11
|
-
/** CheckBox State Active whit inlineText and Checked */
|
|
12
|
-
export declare const ActiveCheckBox: Story;
|
|
13
|
-
/** CheckBox State Active whit inlineText no checked */
|
|
14
|
-
export declare const ActiveInlineText: Story;
|
|
15
|
-
/** CheckBox State Active only Checked */
|
|
16
|
-
export declare const ActiveCheked: Story;
|
|
17
|
-
/** CheckBox State Active no checked */
|
|
18
|
-
export declare const ActiveNotChecked: Story;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { CheckBox } from '../../../../../../../../src/components/mui_extended/CheckBox';
|
|
3
|
-
/**
|
|
4
|
-
* Un checkbox en estado "enabled" con variante primaria es un elemento interactivo que sigue el estilo principal de la aplicación.
|
|
5
|
-
* Está disponible para ser seleccionado o deseleccionado por el usuario y utiliza el color primario del tema para indicar su estado activo.
|
|
6
|
-
*/
|
|
7
|
-
declare const meta: Meta<typeof CheckBox>;
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof CheckBox>;
|
|
10
|
-
/** CheckBox State Enabled whit inlineText and Checked */
|
|
11
|
-
export declare const EnabledCheckBox: Story;
|
|
12
|
-
/** CheckBox State Enabled whit inlineText no checked */
|
|
13
|
-
export declare const EnabledInlineText: Story;
|
|
14
|
-
/** CheckBox State Enabled only Checked */
|
|
15
|
-
export declare const EnabledChecked: Story;
|
|
16
|
-
/** CheckBox State Enabled no checked */
|
|
17
|
-
export declare const EnabledNotChecked: Story;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { CheckBox } from '../../../../../../../../src/components/mui_extended/CheckBox';
|
|
3
|
-
/**
|
|
4
|
-
* El estado "focusVisible" en un checkbox con variante primaria se refiere a la apariencia y comportamiento del checkbox cuando ha recibido el foco de entrada y está visible para el usuario.
|
|
5
|
-
* Este estado es importante para la accesibilidad, ya que ayuda a los usuarios a identificar visualmente cuál elemento de la interfaz está actualmente enfocado, especialmente cuando navegan usando el teclado.
|
|
6
|
-
*/
|
|
7
|
-
declare const meta: Meta<typeof CheckBox>;
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof CheckBox>;
|
|
10
|
-
/** CheckBox State FocusVisible whit inlineText and Checked */
|
|
11
|
-
export declare const FocusVisibleCheckBox: Story;
|
|
12
|
-
/** CheckBox State FocusVisible whit inlineText no checked */
|
|
13
|
-
export declare const FocusVisibleInlineText: Story;
|
|
14
|
-
/** CheckBox State FocusVisible only Checked */
|
|
15
|
-
export declare const FocusVisibleChecked: Story;
|
|
16
|
-
/** CheckBox State FocusVisible no checked */
|
|
17
|
-
export declare const FocusVisibleNotChecked: Story;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { CheckBox } from '../../../../../../../../src/components/mui_extended/CheckBox';
|
|
3
|
-
/**
|
|
4
|
-
* El estado "hover" en un checkbox con variante primaria se refiere a la apariencia y comportamiento del checkbox cuando el usuario coloca el cursor sobre él.
|
|
5
|
-
* Este estado proporciona una retroalimentación visual inmediata, indicando que el elemento es interactivo y puede ser seleccionado o deseleccionado.
|
|
6
|
-
*/
|
|
7
|
-
declare const meta: Meta<typeof CheckBox>;
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof CheckBox>;
|
|
10
|
-
/** CheckBox State Hover whit inlineText and Checked */
|
|
11
|
-
export declare const HoverCheckBox: Story;
|
|
12
|
-
/** CheckBox State Hover whit inlineText no checked */
|
|
13
|
-
export declare const HoverInlineText: Story;
|
|
14
|
-
/** CheckBox State Hover only Checked */
|
|
15
|
-
export declare const HoverChecked: Story;
|
|
16
|
-
/** CheckBox State Hover no checked */
|
|
17
|
-
export declare const HoverNotChecked: Story;
|
package/storybook/components/extended/mui/CircularProgress/CircularProgress.default.stories.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react/*';
|
|
2
|
-
import { Icon } from '../../../../../src/components/Icon';
|
|
3
|
-
import { CircularProgress } from '../../../../../src/components/mui_extended/CircularProgress';
|
|
4
|
-
declare const meta: Meta<typeof CircularProgress>;
|
|
5
|
-
type Story = StoryObj<typeof Icon>;
|
|
6
|
-
export default meta;
|
|
7
|
-
/**
|
|
8
|
-
* CircularProgress en estado por defecto
|
|
9
|
-
*/
|
|
10
|
-
export declare const Default: Story;
|
|
11
|
-
/**
|
|
12
|
-
* CircularProgress en estado skeleton
|
|
13
|
-
*/
|
|
14
|
-
export declare const Skeleton: Story;
|
package/storybook/components/extended/mui/CircularProgress/CircularProgress.sizes.stories.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react/*';
|
|
2
|
-
import { Icon } from '../../../../../src/components/Icon';
|
|
3
|
-
import { CircularProgress } from '../../../../../src/components/mui_extended/CircularProgress';
|
|
4
|
-
declare const meta: Meta<typeof CircularProgress>;
|
|
5
|
-
type Story = StoryObj<typeof Icon>;
|
|
6
|
-
export default meta;
|
|
7
|
-
/**
|
|
8
|
-
* CircularProgress en estado default
|
|
9
|
-
*/
|
|
10
|
-
export declare const Default: Story;
|
|
11
|
-
/**
|
|
12
|
-
* CircularProgress en small
|
|
13
|
-
*/
|
|
14
|
-
export declare const Small: Story;
|
|
15
|
-
/**
|
|
16
|
-
* CircularProgress en medium
|
|
17
|
-
*/
|
|
18
|
-
export declare const Medium: Story;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Dialog } from '../../../../../src/components/mui_extended/Dialog';
|
|
3
|
-
declare const meta: Meta<typeof Dialog>;
|
|
4
|
-
type Story = StoryObj<typeof Dialog>;
|
|
5
|
-
export declare const Default: Story;
|
|
6
|
-
export declare const FullScreen: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Componente de ejemplo para historias en Storybook.
|
|
4
|
-
* @author cesar - automatic
|
|
5
|
-
* @createdAt 2024-11-28 10:21:28 - automatic
|
|
6
|
-
* @updatedAt 2024-12-02 17:50:36 - automatic
|
|
7
|
-
* @updatedUser cesar - automatic
|
|
8
|
-
*/
|
|
9
|
-
export declare const ContentExample: React.FC<{
|
|
10
|
-
style?: React.CSSProperties;
|
|
11
|
-
fullscreen?: boolean;
|
|
12
|
-
}>;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { StoryContext, StoryFn } from '@storybook/react';
|
|
2
|
-
/**
|
|
3
|
-
* WithExtendedContainer Decorator
|
|
4
|
-
*
|
|
5
|
-
* Enhances a Storybook story by adding:
|
|
6
|
-
* - A button to toggle the open state of a dialog.
|
|
7
|
-
* - Dynamic control of the `fullScreen` property passed from the story's arguments.
|
|
8
|
-
* - Proper management of the `onClose` callback to close the dialog.
|
|
9
|
-
*
|
|
10
|
-
* ### Props Injected:
|
|
11
|
-
* - **open** (`boolean`): Controls the visibility of the dialog.
|
|
12
|
-
* - **fullScreen** (`boolean`): Specifies if the dialog should occupy the entire screen.
|
|
13
|
-
* - **onClose** (`VoidFunction`): Callback to close the dialog.
|
|
14
|
-
*
|
|
15
|
-
* ### Example Usage:
|
|
16
|
-
* ```tsx
|
|
17
|
-
* import { WithExtendedContainer } from './WithExtendedContainer';
|
|
18
|
-
*
|
|
19
|
-
* export const meta = {
|
|
20
|
-
* title: 'Components/Dialog',
|
|
21
|
-
* component: Dialog,
|
|
22
|
-
* decorators: [WithExtendedContainer],
|
|
23
|
-
* };
|
|
24
|
-
*
|
|
25
|
-
* export const Default = {
|
|
26
|
-
* args: {
|
|
27
|
-
* fullScreen: false, // This will control the dialog's fullscreen mode.
|
|
28
|
-
* },
|
|
29
|
-
* };
|
|
30
|
-
* ```
|
|
31
|
-
* @param MyStory - The story function being wrapped.
|
|
32
|
-
* @returns JSX.Element - A wrapped story with additional container functionality and toggle button.
|
|
33
|
-
* @author cesar - automatic
|
|
34
|
-
* @createdAt 2024-11-26 10:43:38 - automatic
|
|
35
|
-
* @updatedAt 2024-12-02 17:50:36 - automatic
|
|
36
|
-
* @updatedUser cesar - automatic
|
|
37
|
-
*/
|
|
38
|
-
export declare const WithExtendedContainer: (MyStory: StoryFn, context: StoryContext) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { IconButton } from '../../../../../../src/components/mui_extended/IconButton';
|
|
3
|
-
/** */
|
|
4
|
-
declare const meta: Meta<typeof IconButton>;
|
|
5
|
-
export default meta;
|
|
6
|
-
type Story = StoryObj<typeof IconButton>;
|
|
7
|
-
export declare const Base: Story;
|
|
8
|
-
export declare const EnableDefault: Story;
|
|
9
|
-
export declare const HoverDefault: Story;
|
|
10
|
-
export declare const ActiveDefault: Story;
|
|
11
|
-
export declare const FocusVisibleDefault: Story;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { IconButton } from '../../../../../../src/components/mui_extended/IconButton';
|
|
3
|
-
/** */
|
|
4
|
-
declare const meta: Meta<typeof IconButton>;
|
|
5
|
-
export default meta;
|
|
6
|
-
type Story = StoryObj<typeof IconButton>;
|
|
7
|
-
export declare const Base: Story;
|
|
8
|
-
export declare const EnableDefault: Story;
|
|
9
|
-
export declare const HoverDefault: Story;
|
|
10
|
-
export declare const ActiveDefault: Story;
|
|
11
|
-
export declare const FocusVisibleDefault: Story;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { IconButton } from '../../../../../../src/components/mui_extended/IconButton';
|
|
3
|
-
/** */
|
|
4
|
-
declare const meta: Meta<typeof IconButton>;
|
|
5
|
-
export default meta;
|
|
6
|
-
type Story = StoryObj<typeof IconButton>;
|
|
7
|
-
export declare const Base: Story;
|
|
8
|
-
export declare const EnableDefault: Story;
|
|
9
|
-
export declare const HoverDefault: Story;
|
|
10
|
-
export declare const ActiveDefault: Story;
|
|
11
|
-
export declare const FocusVisibleDefault: Story;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { IconButton } from '../../../../../../src/components/mui_extended/IconButton';
|
|
3
|
-
/** */
|
|
4
|
-
declare const meta: Meta<typeof IconButton>;
|
|
5
|
-
export default meta;
|
|
6
|
-
type Story = StoryObj<typeof IconButton>;
|
|
7
|
-
export declare const Base: Story;
|