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.
Files changed (77) hide show
  1. package/CHANGELOG.md +281 -0
  2. package/dist/asma-core-ui.es.js +26345 -13896
  3. package/dist/src/components/data-display/badge/StyledBadge.d.ts +1 -2
  4. package/dist/src/components/data-display/badge/StyledBadge.stories.d.ts +2 -2
  5. package/dist/src/components/data-display/icons/Icons.types.d.ts +2 -1
  6. package/dist/src/components/data-display/icons/calendar-blank-outline-icon/CalendarBlankOutlineIcon.d.ts +3 -0
  7. package/dist/src/components/data-display/icons/calendar-blank-outline-icon/index.d.ts +1 -0
  8. package/dist/src/components/data-display/icons/clock-outline-icon/ClockOutlineIcon.d.ts +3 -0
  9. package/dist/src/components/data-display/icons/clock-outline-icon/index.d.ts +1 -0
  10. package/dist/src/components/data-display/tooltip/StyledTooltip.d.ts +1 -2
  11. package/dist/src/components/data-grid/StyledDataGrid.d.ts +1 -2
  12. package/dist/src/components/data-grid/StyledDataGrid.stories.d.ts +7 -7
  13. package/dist/src/components/data-grid/StyledGridActionsCellItem.d.ts +1 -1
  14. package/dist/src/components/data-grid/components/columnActions.d.ts +1 -1
  15. package/dist/src/components/date-pickers/StyledDateCalendar.d.ts +2 -0
  16. package/dist/src/components/date-pickers/StyledDateCalendar.stories.d.ts +14 -0
  17. package/dist/src/components/date-pickers/StyledDatePicker.d.ts +3 -0
  18. package/dist/src/components/date-pickers/StyledDatePicker.stories.d.ts +15 -0
  19. package/dist/src/components/date-pickers/StyledMobileDateCalendar.d.ts +2 -0
  20. package/dist/src/components/date-pickers/StyledMobileDatePicker.d.ts +3 -0
  21. package/dist/src/components/date-pickers/StyledMobileTimePicker.d.ts +3 -0
  22. package/dist/src/components/date-pickers/StyledMobileTimePicker.stories.d.ts +12 -0
  23. package/dist/src/components/date-pickers/StyledTimePicker.d.ts +3 -0
  24. package/dist/src/components/date-pickers/StyledTimePicker.stories.d.ts +12 -0
  25. package/dist/src/components/date-pickers/index.d.ts +7 -0
  26. package/dist/src/components/date-pickers/types.d.ts +14 -0
  27. package/dist/src/components/date-pickers/x-date-pickers-types.d.ts +1 -0
  28. package/dist/src/components/feedback/alert/StyledAlert.d.ts +1 -2
  29. package/dist/src/components/feedback/alert/StyledAlert.stories.d.ts +1 -1
  30. package/dist/src/components/feedback/alert/StyledAlertTitle.d.ts +1 -2
  31. package/dist/src/components/feedback/dialog/StyledDialog.d.ts +1 -2
  32. package/dist/src/components/feedback/dialog/StyledDialog.stories.d.ts +3 -3
  33. package/dist/src/components/feedback/dialog/StyledDialogActions.d.ts +1 -2
  34. package/dist/src/components/feedback/dialog/StyledDialogContent.d.ts +1 -2
  35. package/dist/src/components/feedback/dialog/StyledDialogTitle.d.ts +1 -2
  36. package/dist/src/components/feedback/snack-bar/StyledSnackbar.d.ts +1 -2
  37. package/dist/src/components/feedback/snack-bar/StyledSnackbar.stories.d.ts +3 -3
  38. package/dist/src/components/inputs/button/StyledButton.d.ts +1 -2
  39. package/dist/src/components/inputs/button/StyledButton.stories.d.ts +1 -1
  40. package/dist/src/components/inputs/checkbox/StyledCheckbox.d.ts +1 -2
  41. package/dist/src/components/inputs/checkbox/StyledCheckbox.stories.d.ts +1 -1
  42. package/dist/src/components/inputs/input/StyledInput.d.ts +1 -2
  43. package/dist/src/components/inputs/rich-input/RichInput.d.ts +12 -0
  44. package/dist/src/components/inputs/rich-input/RichInput.stories.d.ts +22 -0
  45. package/dist/src/components/inputs/rich-input/index.d.ts +1 -0
  46. package/dist/src/components/inputs/select/StyledSelect.d.ts +1 -2
  47. package/dist/src/components/inputs/select/StyledSelect.stories.d.ts +2 -3
  48. package/dist/src/components/inputs/select/StyledSelectItem.d.ts +1 -2
  49. package/dist/src/components/inputs/slider/StyledSlider.d.ts +2 -0
  50. package/dist/src/components/inputs/slider/StyledSlider.stories.d.ts +19 -0
  51. package/dist/src/components/inputs/slider/index.d.ts +1 -0
  52. package/dist/src/components/inputs/switch/StyledSwitch.d.ts +1 -2
  53. package/dist/src/components/inputs/switch/StyledSwitch.stories.d.ts +3 -3
  54. package/dist/src/components/inputs/text-field/StyledTextField.d.ts +1 -2
  55. package/dist/src/components/inputs/text-field/StyledTextField.stories.d.ts +3 -3
  56. package/dist/src/components/miscellaneous/StyledFormControl.d.ts +1 -2
  57. package/dist/src/components/miscellaneous/StyledFormControlLabel.d.ts +1 -2
  58. package/dist/src/components/miscellaneous/StyledFormHelperText.d.ts +1 -2
  59. package/dist/src/components/miscellaneous/StyledFormLabel.d.ts +1 -2
  60. package/dist/src/components/miscellaneous/StyledInputLabel.d.ts +1 -2
  61. package/dist/src/components/miscellaneous/StyledStack.d.ts +1 -2
  62. package/dist/src/components/surfaces/accordion/StyledAccordion.d.ts +2 -0
  63. package/dist/src/components/surfaces/accordion/StyledAccordion.stories.d.ts +13 -0
  64. package/dist/src/components/surfaces/accordion/StyledAccordionDetails.d.ts +2 -0
  65. package/dist/src/components/surfaces/accordion/StyledAccordionSummary.d.ts +2 -0
  66. package/dist/src/components/surfaces/accordion/index.d.ts +3 -0
  67. package/dist/src/index.d.ts +2 -0
  68. package/dist/src/providers/ThemeProvider.d.ts +1 -2
  69. package/dist/src/stories/Button.d.ts +1 -2
  70. package/dist/src/stories/Button.stories.d.ts +1 -1
  71. package/dist/src/stories/Header.d.ts +1 -2
  72. package/dist/src/stories/Header.stories.d.ts +1 -1
  73. package/dist/style.css +1 -1
  74. package/package.json +6 -2
  75. package/dist/src/styles/fretex-tokens/fretexTokens.json.d.ts +0 -21
  76. package/dist/src/styles/greenish-tokens/greenishTokens.json.d.ts +0 -21
  77. package/dist/src/styles/tokens/tokens.json.d.ts +0 -21
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { type BadgeProps } from '@mui/material';
3
- export declare const StyledBadge: ({ color, ...props }: BadgeProps) => import("react").JSX.Element;
2
+ export declare const StyledBadge: ({ color, ...props }: BadgeProps) => JSX.Element;
@@ -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) => import("react").JSX.Element;
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: () => import("react").JSX.Element;
14
+ export declare const BasicBadge: () => JSX.Element;
@@ -1,8 +1,9 @@
1
+ /// <reference types="react" />
1
2
  export interface IIcon {
2
3
  width?: number;
3
4
  height?: number;
4
5
  className?: string;
5
- onClick?: () => void;
6
+ onClick?: (event: React.MouseEvent<SVGSVGElement, MouseEvent>) => void;
6
7
  color?: string;
7
8
  vFlip?: boolean;
8
9
  }
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { IIcon } from '../Icons.types';
3
+ export declare const CalendarBlankOutlineIcon: React.FC<IIcon>;
@@ -0,0 +1 @@
1
+ export * from './CalendarBlankOutlineIcon';
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { IIcon } from '../Icons.types';
3
+ export declare const ClockOutlineIcon: React.FC<IIcon>;
@@ -0,0 +1 @@
1
+ export * from './ClockOutlineIcon';
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { type TooltipProps } from '@mui/material';
3
- export declare const StyledTooltip: (props: TooltipProps) => import("react").JSX.Element;
2
+ export declare const StyledTooltip: (props: TooltipProps) => JSX.Element;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  import type { IBaseStyledDataGrid } from './types';
3
2
  export declare const StyledDataGrid: {
4
- (props: IBaseStyledDataGrid): import("react").JSX.Element;
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): import("react").JSX.Element;
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: () => import("react").JSX.Element;
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: () => import("react").JSX.Element;
51
- renderCell: () => import("react").JSX.Element;
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: () => import("react").JSX.Element[];
62
+ rowActions: () => JSX.Element[];
63
63
  slots: {
64
- columnSortedAscendingIcon: () => import("react").JSX.Element;
65
- columnSortedDescendingIcon: () => import("react").JSX.Element;
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>) => import("react").JSX.Element;
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: () => import("react").JSX.Element;
11
+ renderHeader: () => JSX.Element;
12
12
  getActions: (params: GridRowParams<any>) => ReactElement<GridActionsCellItemProps, string | JSXElementConstructor<any>>[];
13
13
  };
@@ -0,0 +1,2 @@
1
+ import { type DateCalendarProps } from '@mui/x-date-pickers';
2
+ export declare const StyledDateCalendar: (props: DateCalendarProps<Date>) => JSX.Element;
@@ -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,3 @@
1
+ /// <reference types="react" />
2
+ import type { IStyledDatePickerProps } from './types';
3
+ export declare const StyledDatePicker: React.FC<IStyledDatePickerProps>;
@@ -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,2 @@
1
+ import { type DateCalendarProps } from '@mui/x-date-pickers';
2
+ export declare const StyledMobileDateCalendar: (props: DateCalendarProps<Date>) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { IStyledMobileDatePickerProps } from './types';
3
+ export declare const StyledMobileDatePicker: React.FC<IStyledMobileDatePickerProps>;
@@ -0,0 +1,3 @@
1
+ import { type MobileTimePickerProps } from '@mui/x-date-pickers';
2
+ import type { FC } from 'react';
3
+ export declare const StyledMobileTimePicker: FC<MobileTimePickerProps<Date>>;
@@ -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,3 @@
1
+ import { type FC } from 'react';
2
+ import type { IStyledTimePickerProps } from './types';
3
+ export declare const StyledTimePicker: FC<IStyledTimePickerProps>;
@@ -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';
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { type AlertProps } from '@mui/material';
3
- export declare const StyledAlert: (props: AlertProps) => import("react").JSX.Element;
2
+ export declare const StyledAlert: (props: AlertProps) => 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").AlertProps) => import("react").JSX.Element;
5
+ component: (props: import("@mui/material").AlertProps) => JSX.Element;
6
6
  tags: string[];
7
7
  argTypes: {};
8
8
  args: {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { type AlertTitleProps } from '@mui/material';
3
- export declare const StyledAlertTitle: (props: AlertTitleProps) => import("react").JSX.Element;
2
+ export declare const StyledAlertTitle: (props: AlertTitleProps) => JSX.Element;
@@ -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) => import("react").JSX.Element;
6
+ export declare const StyledDialog: ({ onCloseText, children, onClose, showCloseIcon, ...rest }: IStyledDialogProps) => JSX.Element;
@@ -1,8 +1,8 @@
1
- import React from 'react';
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) => React.JSX.Element;
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: () => React.JSX.Element;
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) => import("react").JSX.Element;
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) => import("react").JSX.Element;
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) => import("react").JSX.Element | null;
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) => import("react").JSX.Element;
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) => React.JSX.Element;
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: () => React.JSX.Element;
13
+ export declare const SnackbarExample: () => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { type ButtonProps } from '@mui/material';
3
- export declare const StyledButton: (props: ButtonProps) => import("react").JSX.Element;
2
+ export declare const StyledButton: (props: ButtonProps) => 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) => import("react").JSX.Element;
5
+ component: (props: import("@mui/material").ButtonProps) => JSX.Element;
6
6
  tags: string[];
7
7
  argTypes: {};
8
8
  args: {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { type CheckboxProps } from '@mui/material';
3
- export declare const StyledCheckbox: (props: CheckboxProps) => import("react").JSX.Element;
2
+ export declare const StyledCheckbox: (props: CheckboxProps) => 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").CheckboxProps) => import("react").JSX.Element;
5
+ component: (props: import("@mui/material").CheckboxProps) => JSX.Element;
6
6
  tags: string[];
7
7
  argTypes: {};
8
8
  args: {};
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { type InputProps } from '@mui/material';
3
- export declare const StyledInput: (props: InputProps) => import("react").JSX.Element;
2
+ export declare const StyledInput: (props: InputProps) => JSX.Element;
@@ -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,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { type SelectProps } from '@mui/material';
3
- export declare const StyledSelect: (props: SelectProps) => import("react").JSX.Element;
2
+ export declare const StyledSelect: (props: SelectProps) => JSX.Element;
@@ -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>) => import("react").JSX.Element;
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: import("react").JSX.Element[];
14
+ children: JSX.Element[];
16
15
  };
17
16
  };
18
17
  export default meta;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { type MenuItemProps } from '@mui/material';
3
- export declare const StyledSelectItem: (item: MenuItemProps) => import("react").JSX.Element;
2
+ export declare const StyledSelectItem: (item: MenuItemProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { type SliderProps } from '@mui/material';
2
+ export declare const StyledSlider: (props: SliderProps) => JSX.Element;
@@ -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,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { type SwitchProps } from '@mui/material';
3
- export declare const StyledSwitch: (props: SwitchProps) => import("react").JSX.Element;
2
+ export declare const StyledSwitch: (props: SwitchProps) => JSX.Element;
@@ -1,10 +1,10 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  declare const meta: {
3
3
  title: string;
4
- component: (props: import("@mui/material").SwitchProps) => React.JSX.Element;
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: () => React.JSX.Element;
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) => import("react").JSX.Element;
5
+ export declare const StyledTextField: ({ FormControlProps, InputLabelProps, label, size, ...props }: StyledTextFieldProps) => JSX.Element;
7
6
  export {};
@@ -1,9 +1,9 @@
1
- import React from 'react';
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
- }) => React.JSX.Element;
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: () => React.JSX.Element;
14
+ export declare const TextField: () => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { type FormControlProps } from '@mui/material';
3
- export declare const StyledFormControl: (props: FormControlProps) => import("react").JSX.Element;
2
+ export declare const StyledFormControl: (props: FormControlProps) => 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) => import("react").JSX.Element;
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) => import("react").JSX.Element;
2
+ export declare const StyledFormHelperText: (props: FormHelperTextProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { type FormLabelProps } from '@mui/material';
3
- export declare const StyledFormLabel: (props: FormLabelProps) => import("react").JSX.Element;
2
+ export declare const StyledFormLabel: (props: FormLabelProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { type InputLabelProps } from '@mui/material';
3
- export declare const StyledInputLabel: (props: InputLabelProps) => import("react").JSX.Element;
2
+ export declare const StyledInputLabel: (props: InputLabelProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { type StackProps } from '@mui/material';
3
- export declare const StyledStack: (props: StackProps) => import("react").JSX.Element;
2
+ export declare const StyledStack: (props: StackProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { type AccordionProps } from '@mui/material';
2
+ export declare const StyledAccordion: (props: AccordionProps) => 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;
@@ -0,0 +1,2 @@
1
+ import { type AccordionDetailsProps } from '@mui/material';
2
+ export declare const StyledAccordionDetails: (props: AccordionDetailsProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { type AccordionSummaryProps } from '@mui/material';
2
+ export declare const StyledAccordionSummary: (props: AccordionSummaryProps) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ export * from './StyledAccordion';
2
+ export * from './StyledAccordionSummary';
3
+ export * from './StyledAccordionDetails';
@@ -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';