asma-core-ui 2.2.0 → 2.3.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/CHANGELOG.md +281 -0
- package/dist/asma-core-ui.es.js +26345 -13896
- package/dist/src/components/data-display/badge/StyledBadge.d.ts +1 -2
- package/dist/src/components/data-display/badge/StyledBadge.stories.d.ts +2 -2
- package/dist/src/components/data-display/icons/Icons.types.d.ts +2 -1
- package/dist/src/components/data-display/icons/calendar-blank-outline-icon/CalendarBlankOutlineIcon.d.ts +3 -0
- package/dist/src/components/data-display/icons/calendar-blank-outline-icon/index.d.ts +1 -0
- package/dist/src/components/data-display/icons/clock-outline-icon/ClockOutlineIcon.d.ts +3 -0
- package/dist/src/components/data-display/icons/clock-outline-icon/index.d.ts +1 -0
- package/dist/src/components/data-display/tooltip/StyledTooltip.d.ts +1 -2
- package/dist/src/components/data-grid/StyledDataGrid.d.ts +1 -2
- package/dist/src/components/data-grid/StyledDataGrid.stories.d.ts +7 -7
- package/dist/src/components/data-grid/StyledGridActionsCellItem.d.ts +1 -1
- package/dist/src/components/data-grid/components/columnActions.d.ts +1 -1
- package/dist/src/components/date-pickers/StyledDateCalendar.d.ts +2 -0
- package/dist/src/components/date-pickers/StyledDateCalendar.stories.d.ts +14 -0
- package/dist/src/components/date-pickers/StyledDatePicker.d.ts +3 -0
- package/dist/src/components/date-pickers/StyledDatePicker.stories.d.ts +15 -0
- package/dist/src/components/date-pickers/StyledMobileDateCalendar.d.ts +2 -0
- package/dist/src/components/date-pickers/StyledMobileDatePicker.d.ts +3 -0
- package/dist/src/components/date-pickers/StyledMobileTimePicker.d.ts +3 -0
- package/dist/src/components/date-pickers/StyledMobileTimePicker.stories.d.ts +12 -0
- package/dist/src/components/date-pickers/StyledTimePicker.d.ts +3 -0
- package/dist/src/components/date-pickers/StyledTimePicker.stories.d.ts +12 -0
- package/dist/src/components/date-pickers/index.d.ts +7 -0
- package/dist/src/components/date-pickers/types.d.ts +14 -0
- package/dist/src/components/date-pickers/x-date-pickers-types.d.ts +1 -0
- package/dist/src/components/feedback/alert/StyledAlert.d.ts +1 -2
- package/dist/src/components/feedback/alert/StyledAlert.stories.d.ts +1 -1
- package/dist/src/components/feedback/alert/StyledAlertTitle.d.ts +1 -2
- package/dist/src/components/feedback/dialog/StyledDialog.d.ts +1 -2
- package/dist/src/components/feedback/dialog/StyledDialog.stories.d.ts +3 -3
- package/dist/src/components/feedback/dialog/StyledDialogActions.d.ts +1 -2
- package/dist/src/components/feedback/dialog/StyledDialogContent.d.ts +1 -2
- package/dist/src/components/feedback/dialog/StyledDialogTitle.d.ts +1 -2
- package/dist/src/components/feedback/snack-bar/StyledSnackbar.d.ts +1 -2
- package/dist/src/components/feedback/snack-bar/StyledSnackbar.stories.d.ts +3 -3
- package/dist/src/components/inputs/button/StyledButton.d.ts +1 -2
- package/dist/src/components/inputs/button/StyledButton.stories.d.ts +1 -1
- package/dist/src/components/inputs/checkbox/StyledCheckbox.d.ts +1 -2
- package/dist/src/components/inputs/checkbox/StyledCheckbox.stories.d.ts +1 -1
- package/dist/src/components/inputs/input/StyledInput.d.ts +1 -2
- package/dist/src/components/inputs/rich-input/RichInput.d.ts +12 -0
- package/dist/src/components/inputs/rich-input/RichInput.stories.d.ts +22 -0
- package/dist/src/components/inputs/rich-input/index.d.ts +1 -0
- package/dist/src/components/inputs/select/StyledSelect.d.ts +1 -2
- package/dist/src/components/inputs/select/StyledSelect.stories.d.ts +2 -3
- package/dist/src/components/inputs/select/StyledSelectItem.d.ts +1 -2
- package/dist/src/components/inputs/slider/StyledSlider.d.ts +2 -0
- package/dist/src/components/inputs/slider/StyledSlider.stories.d.ts +19 -0
- package/dist/src/components/inputs/slider/index.d.ts +1 -0
- package/dist/src/components/inputs/switch/StyledSwitch.d.ts +1 -2
- package/dist/src/components/inputs/switch/StyledSwitch.stories.d.ts +3 -3
- package/dist/src/components/inputs/text-field/StyledTextField.d.ts +1 -2
- package/dist/src/components/inputs/text-field/StyledTextField.stories.d.ts +3 -3
- package/dist/src/components/miscellaneous/StyledFormControl.d.ts +1 -2
- package/dist/src/components/miscellaneous/StyledFormControlLabel.d.ts +1 -2
- package/dist/src/components/miscellaneous/StyledFormHelperText.d.ts +1 -2
- package/dist/src/components/miscellaneous/StyledFormLabel.d.ts +1 -2
- package/dist/src/components/miscellaneous/StyledInputLabel.d.ts +1 -2
- package/dist/src/components/miscellaneous/StyledStack.d.ts +1 -2
- package/dist/src/components/surfaces/accordion/StyledAccordion.d.ts +2 -0
- package/dist/src/components/surfaces/accordion/StyledAccordion.stories.d.ts +13 -0
- package/dist/src/components/surfaces/accordion/StyledAccordionDetails.d.ts +2 -0
- package/dist/src/components/surfaces/accordion/StyledAccordionSummary.d.ts +2 -0
- package/dist/src/components/surfaces/accordion/index.d.ts +3 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/providers/ThemeProvider.d.ts +1 -2
- package/dist/src/stories/Button.d.ts +1 -2
- package/dist/src/stories/Button.stories.d.ts +1 -1
- package/dist/src/stories/Header.d.ts +1 -2
- package/dist/src/stories/Header.stories.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +6 -2
- package/dist/src/styles/fretex-tokens/fretexTokens.json.d.ts +0 -21
- package/dist/src/styles/greenish-tokens/greenishTokens.json.d.ts +0 -21
- package/dist/src/styles/tokens/tokens.json.d.ts +0 -21
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: ({ color, ...props }: import("@mui/material").BadgeProps) =>
|
|
4
|
+
component: ({ color, ...props }: import("@mui/material").BadgeProps) => JSX.Element;
|
|
5
5
|
tags: string[];
|
|
6
6
|
args: {};
|
|
7
7
|
argTypes: {
|
|
@@ -11,4 +11,4 @@ declare const meta: {
|
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
export default meta;
|
|
14
|
-
export declare const BasicBadge: () =>
|
|
14
|
+
export declare const BasicBadge: () => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './CalendarBlankOutlineIcon';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ClockOutlineIcon';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { IBaseStyledDataGrid } from './types';
|
|
3
2
|
export declare const StyledDataGrid: {
|
|
4
|
-
(props: IBaseStyledDataGrid):
|
|
3
|
+
(props: IBaseStyledDataGrid): JSX.Element;
|
|
5
4
|
defaultProps: {
|
|
6
5
|
disableHeaderPin: boolean;
|
|
7
6
|
disableRowActions: boolean;
|
|
@@ -3,7 +3,7 @@ import type { StoryObj } from '@storybook/react';
|
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
5
|
component: {
|
|
6
|
-
(props: import("./types").IBaseStyledDataGrid):
|
|
6
|
+
(props: import("./types").IBaseStyledDataGrid): JSX.Element;
|
|
7
7
|
defaultProps: {
|
|
8
8
|
disableHeaderPin: boolean;
|
|
9
9
|
disableRowActions: boolean;
|
|
@@ -31,7 +31,7 @@ declare const meta: {
|
|
|
31
31
|
columns: ({
|
|
32
32
|
field: string;
|
|
33
33
|
headerName: string;
|
|
34
|
-
renderCell: () =>
|
|
34
|
+
renderCell: () => JSX.Element;
|
|
35
35
|
width: number;
|
|
36
36
|
sortable: false;
|
|
37
37
|
flex?: undefined;
|
|
@@ -47,8 +47,8 @@ declare const meta: {
|
|
|
47
47
|
} | {
|
|
48
48
|
field: string;
|
|
49
49
|
headerName: string;
|
|
50
|
-
renderHeader: () =>
|
|
51
|
-
renderCell: () =>
|
|
50
|
+
renderHeader: () => JSX.Element;
|
|
51
|
+
renderCell: () => JSX.Element;
|
|
52
52
|
sortable: false;
|
|
53
53
|
width?: undefined;
|
|
54
54
|
flex?: undefined;
|
|
@@ -59,10 +59,10 @@ declare const meta: {
|
|
|
59
59
|
disableColumnSelector: true;
|
|
60
60
|
disableColumnFilter: true;
|
|
61
61
|
disableDensitySelector: true;
|
|
62
|
-
rowActions: () =>
|
|
62
|
+
rowActions: () => JSX.Element[];
|
|
63
63
|
slots: {
|
|
64
|
-
columnSortedAscendingIcon: () =>
|
|
65
|
-
columnSortedDescendingIcon: () =>
|
|
64
|
+
columnSortedAscendingIcon: () => JSX.Element;
|
|
65
|
+
columnSortedDescendingIcon: () => JSX.Element;
|
|
66
66
|
};
|
|
67
67
|
disableHeaderPin: false;
|
|
68
68
|
disableRowActions: false;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type GridActionsCellItemProps } from '@mui/x-data-grid';
|
|
2
2
|
import type { RefAttributes } from 'react';
|
|
3
|
-
export declare const StyledGridActionsCellItem: (props: GridActionsCellItemProps & RefAttributes<HTMLButtonElement>) =>
|
|
3
|
+
export declare const StyledGridActionsCellItem: (props: GridActionsCellItemProps & RefAttributes<HTMLButtonElement>) => JSX.Element;
|
|
@@ -8,6 +8,6 @@ export declare const columnActions: (apiRef: React.MutableRefObject<GridApiCommu
|
|
|
8
8
|
disableColumnMenu: boolean;
|
|
9
9
|
sortable: boolean;
|
|
10
10
|
type: string;
|
|
11
|
-
renderHeader: () =>
|
|
11
|
+
renderHeader: () => JSX.Element;
|
|
12
12
|
getActions: (params: GridRowParams<any>) => ReactElement<GridActionsCellItemProps, string | JSXElementConstructor<any>>[];
|
|
13
13
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { StoryObj } from '@storybook/react';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: import("@mui/x-date-pickers").DateCalendarProps<Date>) => JSX.Element;
|
|
6
|
+
tags: string[];
|
|
7
|
+
argTypes: {};
|
|
8
|
+
args: {
|
|
9
|
+
views: ("year" | "month" | "day")[];
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export default meta;
|
|
13
|
+
type Story = StoryObj<typeof meta>;
|
|
14
|
+
export declare const DateCalendar: Story;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { StoryObj } from '@storybook/react';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<import("./types").IStyledDatePickerProps>;
|
|
6
|
+
tags: string[];
|
|
7
|
+
argTypes: {};
|
|
8
|
+
args: {
|
|
9
|
+
showDaysOutsideCurrentMonth: true;
|
|
10
|
+
views: ("year" | "month" | "day")[];
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default meta;
|
|
14
|
+
type Story = StoryObj<typeof meta>;
|
|
15
|
+
export declare const DatePicker: Story;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { StoryObj } from '@storybook/react';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<import("@mui/x-date-pickers").MobileTimePickerProps<Date, import("@mui/x-date-pickers").TimeView>>;
|
|
6
|
+
tags: string[];
|
|
7
|
+
argTypes: {};
|
|
8
|
+
args: {};
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const MobileTimePicker: Story;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { StoryObj } from '@storybook/react';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<import("./types").IStyledTimePickerProps>;
|
|
6
|
+
tags: string[];
|
|
7
|
+
argTypes: {};
|
|
8
|
+
args: {};
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const TimePicker: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './StyledDateCalendar';
|
|
2
|
+
export * from './StyledDatePicker';
|
|
3
|
+
export * from './StyledMobileDateCalendar';
|
|
4
|
+
export * from './StyledMobileDatePicker';
|
|
5
|
+
export * from './StyledMobileTimePicker';
|
|
6
|
+
export * from './StyledTimePicker';
|
|
7
|
+
export * from './x-date-pickers-types';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { DatePickerProps, MobileDatePickerProps, PickersActionBarAction, TimePickerProps } from '@mui/x-date-pickers';
|
|
2
|
+
export interface IStyledDatePickerProps extends DatePickerProps<Date> {
|
|
3
|
+
actions?: PickersActionBarAction[];
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
size?: 'small' | 'medium';
|
|
6
|
+
}
|
|
7
|
+
export interface IStyledMobileDatePickerProps extends MobileDatePickerProps<Date> {
|
|
8
|
+
actions?: PickersActionBarAction[];
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
size?: 'small' | 'medium';
|
|
11
|
+
}
|
|
12
|
+
export interface IStyledTimePickerProps extends TimePickerProps<Date> {
|
|
13
|
+
size?: 'small' | 'medium';
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { DateCalendarProps, DatePickerProps, MobileDatePickerProps, MobileTimePickerProps, TimePickerProps, } from '@mui/x-date-pickers';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { StoryObj } from '@storybook/react';
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: import("@mui/material").AlertProps) =>
|
|
5
|
+
component: (props: import("@mui/material").AlertProps) => JSX.Element;
|
|
6
6
|
tags: string[];
|
|
7
7
|
argTypes: {};
|
|
8
8
|
args: {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { DialogProps } from '@mui/material/Dialog';
|
|
3
2
|
export interface IStyledDialogProps extends DialogProps {
|
|
4
3
|
onCloseText?: string;
|
|
5
4
|
showCloseIcon?: boolean;
|
|
6
5
|
}
|
|
7
|
-
export declare const StyledDialog: ({ onCloseText, children, onClose, showCloseIcon, ...rest }: IStyledDialogProps) =>
|
|
6
|
+
export declare const StyledDialog: ({ onCloseText, children, onClose, showCloseIcon, ...rest }: IStyledDialogProps) => JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import type { StoryObj } from '@storybook/react';
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ onCloseText, children, onClose, showCloseIcon, ...rest }: import("./StyledDialog").IStyledDialogProps) =>
|
|
5
|
+
component: ({ onCloseText, children, onClose, showCloseIcon, ...rest }: import("./StyledDialog").IStyledDialogProps) => JSX.Element;
|
|
6
6
|
tags: string[];
|
|
7
7
|
argTypes: {};
|
|
8
8
|
args: {
|
|
@@ -15,4 +15,4 @@ declare const meta: {
|
|
|
15
15
|
export default meta;
|
|
16
16
|
type Story = StoryObj<typeof meta>;
|
|
17
17
|
export declare const Dialog: Story;
|
|
18
|
-
export declare const DialogExample: () =>
|
|
18
|
+
export declare const DialogExample: () => JSX.Element;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type DialogActionsProps } from '@mui/material';
|
|
3
|
-
export declare const StyledDialogActions: (props: DialogActionsProps) =>
|
|
2
|
+
export declare const StyledDialogActions: (props: DialogActionsProps) => JSX.Element;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type DialogContentProps } from '@mui/material';
|
|
3
|
-
export declare const StyledDialogContent: ({ children, classes, className, ...rest }: DialogContentProps) =>
|
|
2
|
+
export declare const StyledDialogContent: ({ children, classes, className, ...rest }: DialogContentProps) => JSX.Element;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { DialogTitleProps } from '@mui/material/DialogTitle/DialogTitle';
|
|
3
|
-
export declare const StyledDialogTitle: ({ children, ...rest }: DialogTitleProps) =>
|
|
2
|
+
export declare const StyledDialogTitle: ({ children, ...rest }: DialogTitleProps) => JSX.Element | null;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type SnackbarProps } from '@mui/material';
|
|
3
|
-
export declare const StyledSnackbar: ({ children, ...props }: SnackbarProps) =>
|
|
2
|
+
export declare const StyledSnackbar: ({ children, ...props }: SnackbarProps) => JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ children, ...props }: import("@mui/material").SnackbarProps) =>
|
|
5
|
+
component: ({ children, ...props }: import("@mui/material").SnackbarProps) => JSX.Element;
|
|
6
6
|
tags: string[];
|
|
7
7
|
argTypes: {};
|
|
8
8
|
args: {};
|
|
@@ -10,4 +10,4 @@ declare const meta: {
|
|
|
10
10
|
export default meta;
|
|
11
11
|
type Story = StoryObj<typeof meta>;
|
|
12
12
|
export declare const SnackBar: Story;
|
|
13
|
-
export declare const SnackbarExample: () =>
|
|
13
|
+
export declare const SnackbarExample: () => JSX.Element;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { StoryObj } from '@storybook/react';
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: import("@mui/material").ButtonProps) =>
|
|
5
|
+
component: (props: import("@mui/material").ButtonProps) => JSX.Element;
|
|
6
6
|
tags: string[];
|
|
7
7
|
argTypes: {};
|
|
8
8
|
args: {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { StoryObj } from '@storybook/react';
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: import("@mui/material").CheckboxProps) =>
|
|
5
|
+
component: (props: import("@mui/material").CheckboxProps) => JSX.Element;
|
|
6
6
|
tags: string[];
|
|
7
7
|
argTypes: {};
|
|
8
8
|
args: {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { FC } from 'react';
|
|
2
|
+
import ReactQuill from 'react-quill';
|
|
3
|
+
export interface IRichInput extends ReactQuill.ReactQuillProps {
|
|
4
|
+
isRequired?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
label?: string;
|
|
7
|
+
error?: string;
|
|
8
|
+
is_error?: boolean;
|
|
9
|
+
is_warning?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const RichInput: FC<IRichInput>;
|
|
12
|
+
export { RichInput };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type IRichInput } from './RichInput';
|
|
3
|
+
import type { StoryObj } from '@storybook/react';
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: import("react").FC<IRichInput>;
|
|
7
|
+
tags: string[];
|
|
8
|
+
argTypes: {};
|
|
9
|
+
args: {
|
|
10
|
+
placeholder: string;
|
|
11
|
+
value: string;
|
|
12
|
+
isRequired: false;
|
|
13
|
+
disabled: false;
|
|
14
|
+
label: string;
|
|
15
|
+
error: string;
|
|
16
|
+
is_error: false;
|
|
17
|
+
is_warning: false;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export default meta;
|
|
21
|
+
type Story = StoryObj<typeof meta>;
|
|
22
|
+
export declare const RichInputExample: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './RichInput';
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { StoryObj } from '@storybook/react';
|
|
3
2
|
import { StyledSelect } from './StyledSelect';
|
|
4
3
|
import type { SelectProps } from '@mui/material';
|
|
5
4
|
declare const meta: {
|
|
6
5
|
title: string;
|
|
7
|
-
component: (props: SelectProps<unknown>) =>
|
|
6
|
+
component: (props: SelectProps<unknown>) => JSX.Element;
|
|
8
7
|
tags: string[];
|
|
9
8
|
argTypes: {
|
|
10
9
|
children: {
|
|
@@ -12,7 +11,7 @@ declare const meta: {
|
|
|
12
11
|
};
|
|
13
12
|
};
|
|
14
13
|
args: {
|
|
15
|
-
children:
|
|
14
|
+
children: JSX.Element[];
|
|
16
15
|
};
|
|
17
16
|
};
|
|
18
17
|
export default meta;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: (props: import("@mui/material").SliderProps) => JSX.Element;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: {};
|
|
7
|
+
args: {
|
|
8
|
+
size: "medium";
|
|
9
|
+
max: number;
|
|
10
|
+
min: number;
|
|
11
|
+
step: number;
|
|
12
|
+
marks: {
|
|
13
|
+
value: number;
|
|
14
|
+
label: string;
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default meta;
|
|
19
|
+
export declare const Slider: () => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './StyledSlider';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: (props: import("@mui/material").SwitchProps) =>
|
|
4
|
+
component: (props: import("@mui/material").SwitchProps) => JSX.Element;
|
|
5
5
|
tags: string[];
|
|
6
6
|
argTypes: {};
|
|
7
7
|
args: {};
|
|
8
8
|
};
|
|
9
9
|
export default meta;
|
|
10
|
-
export declare const Switch: () =>
|
|
10
|
+
export declare const Switch: () => JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type FormControlProps, type TextFieldProps } from '@mui/material';
|
|
3
2
|
type StyledTextFieldProps = TextFieldProps & {
|
|
4
3
|
FormControlProps?: FormControlProps;
|
|
5
4
|
};
|
|
6
|
-
export declare const StyledTextField: ({ FormControlProps, InputLabelProps, label, size, ...props }: StyledTextFieldProps) =>
|
|
5
|
+
export declare const StyledTextField: ({ FormControlProps, InputLabelProps, label, size, ...props }: StyledTextFieldProps) => JSX.Element;
|
|
7
6
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ FormControlProps, InputLabelProps, label, size, ...props }: import("@mui/material").TextFieldProps & {
|
|
5
5
|
FormControlProps?: import("@mui/material").FormControlProps | undefined;
|
|
6
|
-
}) =>
|
|
6
|
+
}) => JSX.Element;
|
|
7
7
|
tags: string[];
|
|
8
8
|
argTypes: {};
|
|
9
9
|
args: {
|
|
@@ -11,4 +11,4 @@ declare const meta: {
|
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
export default meta;
|
|
14
|
-
export declare const TextField: () =>
|
|
14
|
+
export declare const TextField: () => JSX.Element;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type FormControlLabelProps } from '@mui/material';
|
|
3
|
-
export declare const StyledFormControlLabel: (props: FormControlLabelProps) =>
|
|
2
|
+
export declare const StyledFormControlLabel: (props: FormControlLabelProps) => JSX.Element;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type FormHelperTextProps } from '@mui/material';
|
|
3
|
-
export declare const StyledFormHelperText: (props: FormHelperTextProps) =>
|
|
2
|
+
export declare const StyledFormHelperText: (props: FormHelperTextProps) => JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { StoryObj } from '@storybook/react';
|
|
3
|
+
import { StyledAccordion } from './StyledAccordion';
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: (props: import("@mui/material").AccordionProps) => JSX.Element;
|
|
7
|
+
tags: string[];
|
|
8
|
+
argTypes: {};
|
|
9
|
+
args: {};
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof StyledAccordion>;
|
|
13
|
+
export declare const Accordion: Story;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from './components/data-display/badge';
|
|
|
6
6
|
export * from './components/data-display/tooltip';
|
|
7
7
|
export * from './components/data-display/icons';
|
|
8
8
|
export * from './components/data-grid';
|
|
9
|
+
export * from './components/date-pickers';
|
|
9
10
|
export * from './components/feedback/dialog';
|
|
10
11
|
export * from './components/feedback/alert';
|
|
11
12
|
export * from './components/feedback/snack-bar';
|
|
@@ -13,6 +14,7 @@ export * from './components/inputs/button';
|
|
|
13
14
|
export * from './components/inputs/checkbox';
|
|
14
15
|
export * from './components/inputs/input';
|
|
15
16
|
export * from './components/inputs/select';
|
|
17
|
+
export * from './components/inputs/slider';
|
|
16
18
|
export * from './components/inputs/text-field';
|
|
17
19
|
export * from './components/inputs/switch';
|
|
18
20
|
export * from './components/miscellaneous/StyledFormControl';
|