@groupeactual/ui-kit 1.6.7-beta.0 → 1.7.0-beta.3
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/dist/cjs/index.js +9 -9
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/index.d.ts +132 -166
- package/dist/es/index.js +97 -0
- package/dist/es/index.js.map +1 -0
- package/dist/{cjs/types → es/src}/components/Accordion/Accordion.d.ts +1 -4
- package/dist/es/{types → src}/components/BannerNotification/BannerNotification.d.ts +1 -4
- package/dist/es/{types → src}/components/Breadcrumbs/Breadcrumbs.d.ts +1 -4
- package/dist/{cjs/types → es/src}/components/Button/Button.d.ts +1 -4
- package/dist/es/{types → src}/components/Chip/Chip.d.ts +2 -5
- package/dist/es/{types → src}/components/Datatable/Datatable.d.ts +1 -1
- package/dist/es/{types → src}/components/Datatable/datatable.interface.d.ts +5 -4
- package/dist/{cjs/types → es/src}/components/EmbbededNotification/EmbeddedNotification.d.ts +1 -4
- package/dist/es/{types → src}/components/Form/AutoCompleteMulti/AutoCompleteMulti.d.ts +7 -6
- package/dist/{cjs/types → es/src}/components/Form/AutoCompleteSingle/AutoCompleteSingle.d.ts +4 -6
- package/dist/{cjs/types → es/src}/components/Form/Checkbox/Checkbox.d.ts +4 -7
- package/dist/es/src/components/Form/CheckboxGroup/CheckboxGroup.d.ts +12 -0
- package/dist/es/src/components/Form/CheckboxGroup/checkboxgroup.interface.d.ts +8 -0
- package/dist/{cjs/types → es/src}/components/Form/DatePicker/DatePicker.d.ts +1 -1
- package/dist/es/{types → src}/components/Form/MultiSelect/MultiSelect.d.ts +4 -7
- package/dist/{cjs/types → es/src}/components/Form/RadioGroup/RadioGroup.d.ts +2 -5
- package/dist/es/src/components/Form/Select/Select.d.ts +22 -0
- package/dist/{cjs/types → es/src}/components/Form/Switch/Switch.d.ts +1 -4
- package/dist/es/{types → src}/components/Form/TextField/TextField.d.ts +5 -6
- package/dist/es/src/components/Form/TimePicker/TimePicker.d.ts +20 -0
- package/dist/es/src/components/Form/TimePicker/index.d.ts +1 -0
- package/dist/es/src/components/IconButton/IconButton.d.ts +17 -0
- package/dist/{cjs/types → es/src}/components/IconProvider/IconProvider.d.ts +1 -4
- package/dist/es/{types → src}/components/Link/Link.d.ts +1 -4
- package/dist/es/src/components/MenuItem/MenuItem.d.ts +10 -0
- package/dist/es/{types → src}/components/Modal/Dialog/Dialog.d.ts +1 -1
- package/dist/es/{types → src}/components/Modal/Drawer/Drawer.d.ts +1 -1
- package/dist/{cjs/types → es/src}/components/Navigation/Stepper/Step.d.ts +1 -1
- package/dist/{cjs/types → es/src}/components/Navigation/Stepper/Stepper.d.ts +1 -1
- package/dist/es/src/components/Pagination/Pagination.d.ts +13 -0
- package/dist/{cjs/types → es/src}/components/Snackbar/Snackbar.d.ts +1 -4
- package/dist/{cjs/types → es/src}/components/Text/Text.d.ts +1 -4
- package/dist/es/src/components/Tooltip/Tooltip.d.ts +11 -0
- package/dist/{cjs/types → es/src}/components/UploadDocument/FileUploaderSingle.d.ts +10 -11
- package/dist/es/src/components/UploadDocument/fileuploadersingle.interface.d.ts +5 -0
- package/dist/{cjs/types → es/src}/components/index.d.ts +2 -0
- package/dist/{cjs/types → es/src}/helpers/GooglePickerWrapper.d.ts +2 -1
- package/dist/es/src/hooks/useGooleDrivePicker.d.ts +4 -0
- package/dist/es/src/index.d.ts +4 -0
- package/package.json +30 -35
- package/src/DesignSystemProvider.tsx +2 -1
- package/src/components/Accordion/Accordion.tsx +4 -4
- package/src/components/BannerNotification/BannerNotification.tsx +1 -3
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +2 -4
- package/src/components/Button/Button.tsx +0 -2
- package/src/components/Chip/Chip.tsx +2 -4
- package/src/components/Datatable/Datatable.tsx +31 -9
- package/src/components/Datatable/DatatableCellRender.tsx +4 -3
- package/src/components/Datatable/datatable.interface.ts +5 -4
- package/src/components/Datatable/use-pagination-props.hook.ts +2 -2
- package/src/components/EmbbededNotification/EmbeddedNotification.tsx +2 -4
- package/src/components/Form/AutoCompleteMulti/AutoCompleteMulti.tsx +37 -12
- package/src/components/Form/AutoCompleteSingle/AutoCompleteSingle.tsx +28 -11
- package/src/components/Form/Checkbox/Checkbox.tsx +24 -27
- package/src/components/Form/CheckboxGroup/CheckboxGroup.tsx +9 -26
- package/src/components/Form/CheckboxGroup/checkboxgroup.interface.ts +22 -0
- package/src/components/Form/DatePicker/DatePicker.tsx +16 -4
- package/src/components/Form/MultiSelect/MultiSelect.tsx +43 -14
- package/src/components/Form/RadioGroup/RadioGroup.tsx +20 -25
- package/src/components/Form/Select/Select.tsx +49 -12
- package/src/components/Form/Switch/Switch.tsx +0 -2
- package/src/components/Form/TextField/TextField.tsx +121 -108
- package/src/components/Form/TimePicker/TimePicker.tsx +228 -0
- package/src/components/Form/TimePicker/index.ts +1 -0
- package/src/components/IconButton/IconButton.tsx +15 -9
- package/src/components/IconProvider/IconProvider.tsx +3 -4
- package/src/components/Link/Link.tsx +0 -2
- package/src/components/MenuItem/MenuItem.tsx +10 -39
- package/src/components/Modal/Dialog/Dialog.tsx +7 -4
- package/src/components/Modal/Drawer/Drawer.tsx +2 -2
- package/src/components/Navigation/Stepper/Step.tsx +4 -3
- package/src/components/Navigation/Stepper/Stepper.tsx +1 -1
- package/src/components/NotistackAdapter/NotistackAdapter.tsx +1 -1
- package/src/components/Pagination/Pagination.tsx +9 -14
- package/src/components/Snackbar/Snackbar.tsx +1 -3
- package/src/components/Text/Text.tsx +0 -2
- package/src/components/Tooltip/Tooltip.tsx +41 -32
- package/src/components/UploadDocument/FileUploaderSingle.tsx +97 -55
- package/src/components/UploadDocument/fileuploadersingle.interface.ts +5 -0
- package/src/components/index.ts +2 -0
- package/src/helpers/GooglePickerWrapper.tsx +3 -3
- package/src/hooks/useGooleDrivePicker.ts +10 -8
- package/src/index.ts +3 -5
- package/src/types/global.d.ts +6 -4
- package/src/types/googleDrive.ts +1 -0
- package/dist/cjs/types/components/BannerNotification/BannerNotification.d.ts +0 -11
- package/dist/cjs/types/components/Breadcrumbs/Breadcrumbs.d.ts +0 -15
- package/dist/cjs/types/components/Chip/Chip.d.ts +0 -19
- package/dist/cjs/types/components/Datatable/Datatable.d.ts +0 -4
- package/dist/cjs/types/components/Datatable/datatable.interface.d.ts +0 -53
- package/dist/cjs/types/components/Form/AutoCompleteMulti/AutoCompleteMulti.d.ts +0 -18
- package/dist/cjs/types/components/Form/CheckboxGroup/CheckboxGroup.d.ts +0 -20
- package/dist/cjs/types/components/Form/MultiSelect/MultiSelect.d.ts +0 -23
- package/dist/cjs/types/components/Form/Select/Select.d.ts +0 -22
- package/dist/cjs/types/components/Form/TextField/TextField.d.ts +0 -21
- package/dist/cjs/types/components/IconButton/IconButton.d.ts +0 -19
- package/dist/cjs/types/components/Link/Link.d.ts +0 -11
- package/dist/cjs/types/components/MenuItem/MenuItem.d.ts +0 -13
- package/dist/cjs/types/components/Modal/Dialog/Dialog.d.ts +0 -4
- package/dist/cjs/types/components/Modal/Drawer/Drawer.d.ts +0 -4
- package/dist/cjs/types/components/Pagination/Pagination.d.ts +0 -16
- package/dist/cjs/types/components/Tooltip/Tooltip.d.ts +0 -13
- package/dist/cjs/types/helpers/dataGetValue.d.ts +0 -2
- package/dist/cjs/types/hooks/useGooleDrivePicker.d.ts +0 -4
- package/dist/cjs/types/index.d.ts +0 -2
- package/dist/es/index.mjs +0 -106
- package/dist/es/index.mjs.map +0 -1
- package/dist/es/types/DesignSystemProvider.d.ts +0 -13
- package/dist/es/types/components/Accordion/Accordion.d.ts +0 -15
- package/dist/es/types/components/Accordion/index.d.ts +0 -1
- package/dist/es/types/components/BannerNotification/index.d.ts +0 -1
- package/dist/es/types/components/Breadcrumbs/index.d.ts +0 -1
- package/dist/es/types/components/Button/Button.d.ts +0 -11
- package/dist/es/types/components/Button/index.d.ts +0 -1
- package/dist/es/types/components/Chip/index.d.ts +0 -1
- package/dist/es/types/components/Datatable/DatatableCellRender.d.ts +0 -4
- package/dist/es/types/components/Datatable/index.d.ts +0 -1
- package/dist/es/types/components/Datatable/use-pagination-props.hook.d.ts +0 -3
- package/dist/es/types/components/EmbbededNotification/EmbeddedNotification.d.ts +0 -13
- package/dist/es/types/components/EmbbededNotification/index.d.ts +0 -1
- package/dist/es/types/components/Form/AutoCompleteMulti/index.d.ts +0 -1
- package/dist/es/types/components/Form/AutoCompleteSingle/AutoCompleteSingle.d.ts +0 -19
- package/dist/es/types/components/Form/AutoCompleteSingle/index.d.ts +0 -1
- package/dist/es/types/components/Form/Checkbox/Checkbox.d.ts +0 -17
- package/dist/es/types/components/Form/Checkbox/index.d.ts +0 -1
- package/dist/es/types/components/Form/CheckboxGroup/CheckboxGroup.d.ts +0 -20
- package/dist/es/types/components/Form/CheckboxGroup/index.d.ts +0 -1
- package/dist/es/types/components/Form/DatePicker/DatePicker.d.ts +0 -15
- package/dist/es/types/components/Form/DatePicker/index.d.ts +0 -1
- package/dist/es/types/components/Form/MultiSelect/index.d.ts +0 -1
- package/dist/es/types/components/Form/RadioGroup/RadioGroup.d.ts +0 -21
- package/dist/es/types/components/Form/RadioGroup/index.d.ts +0 -1
- package/dist/es/types/components/Form/Select/Select.d.ts +0 -22
- package/dist/es/types/components/Form/Select/index.d.ts +0 -1
- package/dist/es/types/components/Form/Switch/Switch.d.ts +0 -13
- package/dist/es/types/components/Form/Switch/index.d.ts +0 -1
- package/dist/es/types/components/Form/TextField/index.d.ts +0 -1
- package/dist/es/types/components/IconButton/IconButton.d.ts +0 -19
- package/dist/es/types/components/IconButton/index.d.ts +0 -1
- package/dist/es/types/components/IconProvider/IconProvider.d.ts +0 -22
- package/dist/es/types/components/IconProvider/index.d.ts +0 -1
- package/dist/es/types/components/Link/index.d.ts +0 -1
- package/dist/es/types/components/MenuItem/MenuItem.d.ts +0 -13
- package/dist/es/types/components/MenuItem/index.d.ts +0 -1
- package/dist/es/types/components/Modal/Dialog/index.d.ts +0 -1
- package/dist/es/types/components/Modal/Drawer/index.d.ts +0 -1
- package/dist/es/types/components/Modal/modal.interface.d.ts +0 -24
- package/dist/es/types/components/Navigation/Stepper/Step.d.ts +0 -7
- package/dist/es/types/components/Navigation/Stepper/Stepper.d.ts +0 -11
- package/dist/es/types/components/Navigation/Stepper/index.d.ts +0 -1
- package/dist/es/types/components/Navigation/Stepper/stepper.helper.d.ts +0 -2
- package/dist/es/types/components/Navigation/Stepper/stepper.interface.d.ts +0 -12
- package/dist/es/types/components/NotistackAdapter/NotistackAdapter.d.ts +0 -4
- package/dist/es/types/components/NotistackAdapter/index.d.ts +0 -1
- package/dist/es/types/components/Pagination/Pagination.d.ts +0 -16
- package/dist/es/types/components/Pagination/index.d.ts +0 -1
- package/dist/es/types/components/Pagination/pagination.helper.d.ts +0 -1
- package/dist/es/types/components/Snackbar/Snackbar.d.ts +0 -11
- package/dist/es/types/components/Snackbar/index.d.ts +0 -1
- package/dist/es/types/components/Text/Text.d.ts +0 -11
- package/dist/es/types/components/Text/index.d.ts +0 -1
- package/dist/es/types/components/Tooltip/Tooltip.d.ts +0 -13
- package/dist/es/types/components/Tooltip/index.d.ts +0 -1
- package/dist/es/types/components/Tooltip/tooltip.interface.d.ts +0 -1
- package/dist/es/types/components/UploadDocument/FileUploaderSingle.d.ts +0 -78
- package/dist/es/types/components/UploadDocument/index.d.ts +0 -1
- package/dist/es/types/components/index.d.ts +0 -31
- package/dist/es/types/helpers/GooglePickerWrapper.d.ts +0 -13
- package/dist/es/types/helpers/dataGetValue.d.ts +0 -2
- package/dist/es/types/hooks/useGooleDrivePicker.d.ts +0 -4
- package/dist/es/types/index.d.ts +0 -2
- package/dist/es/types/types/googleDrive.d.ts +0 -133
- package/src/helpers/dataGetValue.ts +0 -22
- /package/dist/{cjs/types → es/src}/DesignSystemProvider.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Accordion/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/BannerNotification/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Breadcrumbs/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Button/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Chip/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Datatable/DatatableCellRender.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Datatable/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Datatable/use-pagination-props.hook.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/EmbbededNotification/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Form/AutoCompleteMulti/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Form/AutoCompleteSingle/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Form/Checkbox/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Form/CheckboxGroup/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Form/DatePicker/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Form/MultiSelect/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Form/RadioGroup/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Form/Select/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Form/Switch/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Form/TextField/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/IconButton/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/IconProvider/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Link/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/MenuItem/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Modal/Dialog/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Modal/Drawer/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Modal/modal.interface.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Navigation/Stepper/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Navigation/Stepper/stepper.helper.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Navigation/Stepper/stepper.interface.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/NotistackAdapter/NotistackAdapter.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/NotistackAdapter/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Pagination/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Pagination/pagination.helper.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Snackbar/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Text/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Tooltip/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/Tooltip/tooltip.interface.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/components/UploadDocument/index.d.ts +0 -0
- /package/dist/{cjs/types → es/src}/types/googleDrive.d.ts +0 -0
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React, { PropsWithChildren } from 'react';
|
|
2
|
-
type Theme = 'Default' | 'Ep';
|
|
3
|
-
export interface DesignSystemContextValues {
|
|
4
|
-
isDarkTheme: boolean;
|
|
5
|
-
themeName: Theme;
|
|
6
|
-
toggleDarkTheme: () => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const DesignSystemContext: React.Context<DesignSystemContextValues>;
|
|
9
|
-
interface Props {
|
|
10
|
-
name?: Theme;
|
|
11
|
-
}
|
|
12
|
-
declare const DesignSystemProvider: ({ children, name: themeName, }: PropsWithChildren<Props>) => React.JSX.Element;
|
|
13
|
-
export default DesignSystemProvider;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React, { MouseEventHandler, ReactNode } from 'react';
|
|
2
|
-
import { AccordionProps } from '@mui/material';
|
|
3
|
-
interface Props extends AccordionProps {
|
|
4
|
-
title?: string;
|
|
5
|
-
summaryHeight?: number;
|
|
6
|
-
expanded?: boolean;
|
|
7
|
-
children: NonNullable<ReactNode>;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
onClick?: MouseEventHandler;
|
|
10
|
-
}
|
|
11
|
-
declare const Accordion: {
|
|
12
|
-
({ title, summaryHeight, expanded, onClick, children, ...props }: Props): React.JSX.Element;
|
|
13
|
-
displayName: string;
|
|
14
|
-
};
|
|
15
|
-
export default Accordion;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Accordion';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './BannerNotification';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Breadcrumbs';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import { ButtonProps } from '@mui/material';
|
|
3
|
-
interface Props extends Omit<ButtonProps, 'variant' | 'children'> {
|
|
4
|
-
variant?: 'primary' | 'secondary';
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
}
|
|
7
|
-
declare const Button: {
|
|
8
|
-
({ variant, children, ...props }: Props): React.JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
11
|
-
export default Button;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Button';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Chip';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Datatable';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import { BoxProps } from '@mui/system';
|
|
3
|
-
interface Props extends BoxProps {
|
|
4
|
-
variant: 'warning' | 'error' | 'success' | 'infos';
|
|
5
|
-
title: string;
|
|
6
|
-
text?: ReactNode;
|
|
7
|
-
actionButton?: ReactNode;
|
|
8
|
-
}
|
|
9
|
-
declare const EmbeddedNotification: {
|
|
10
|
-
({ title, text, variant, actionButton, ...props }: Props): React.JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
13
|
-
export default EmbeddedNotification;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './EmbeddedNotification';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AutoCompleteMulti';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type AutocompleteProps } from '@mui/material';
|
|
3
|
-
interface Props<T> extends Omit<AutocompleteProps<T, false, false, false>, 'onChange' | 'value' | 'options' | 'renderInput' | 'error' | 'getOptionLabel'> {
|
|
4
|
-
label: string;
|
|
5
|
-
options: T[];
|
|
6
|
-
helperText?: string;
|
|
7
|
-
color?: 'success';
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
getOptionLabel: (option: T) => string | null | undefined;
|
|
10
|
-
onChange: (value: T | null) => void;
|
|
11
|
-
value?: T | null;
|
|
12
|
-
width?: number | string;
|
|
13
|
-
error?: string;
|
|
14
|
-
}
|
|
15
|
-
declare const AutoCompleteSingle: {
|
|
16
|
-
<T>({ value, label, placeholder, options, disabled, getOptionLabel, onChange, width, color, helperText, error, ...props }: Props<T>): React.JSX.Element;
|
|
17
|
-
displayName: string;
|
|
18
|
-
};
|
|
19
|
-
export default AutoCompleteSingle;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AutoCompleteSingle';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CheckboxProps } from '@mui/material';
|
|
3
|
-
interface Props {
|
|
4
|
-
name: string;
|
|
5
|
-
value: boolean;
|
|
6
|
-
label: string;
|
|
7
|
-
onChange?: (field: string, value: boolean, shouldValidate?: boolean | undefined) => void;
|
|
8
|
-
helperText?: string;
|
|
9
|
-
error?: string;
|
|
10
|
-
infoBubbleContent?: string;
|
|
11
|
-
infoBubblePosition?: 'top' | 'right' | 'bottom' | 'left' | 'bottom-end' | 'bottom-start' | 'left-end' | 'left-start' | 'right-end' | 'right-start' | 'top-end' | 'top-start' | undefined;
|
|
12
|
-
}
|
|
13
|
-
declare const Checkbox: {
|
|
14
|
-
({ name, value, error, helperText, label, infoBubbleContent, infoBubblePosition, onChange, disabled, ...props }: CheckboxProps & Props): React.JSX.Element;
|
|
15
|
-
displayName: string;
|
|
16
|
-
};
|
|
17
|
-
export default Checkbox;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Checkbox';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface ItemType {
|
|
3
|
-
label: string;
|
|
4
|
-
value: boolean;
|
|
5
|
-
name: string;
|
|
6
|
-
infoBubbleContent?: string;
|
|
7
|
-
infoBubblePosition?: 'right' | 'bottom' | 'left' | 'top' | 'bottom-end' | 'bottom-start' | 'left-end' | 'left-start' | 'right-end' | 'right-start' | 'top-end' | 'top-start' | undefined;
|
|
8
|
-
}
|
|
9
|
-
interface CheckboxGroupProps {
|
|
10
|
-
label: string;
|
|
11
|
-
options: ItemType[];
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
error?: string;
|
|
14
|
-
helperText?: string;
|
|
15
|
-
}
|
|
16
|
-
declare const CheckboxGroup: {
|
|
17
|
-
({ options, label, disabled, error, helperText, }: CheckboxGroupProps): React.JSX.Element;
|
|
18
|
-
displayName: string;
|
|
19
|
-
};
|
|
20
|
-
export default CheckboxGroup;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './CheckboxGroup';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DatePickerProps } from '@mui/x-date-pickers-pro';
|
|
3
|
-
import { Dayjs } from 'dayjs';
|
|
4
|
-
import 'dayjs/locale/fr';
|
|
5
|
-
interface Props<T extends Dayjs> extends Omit<DatePickerProps<T>, 'onChange' | 'width'> {
|
|
6
|
-
value: T | null | undefined;
|
|
7
|
-
onChange: (value: T | null | undefined) => void;
|
|
8
|
-
error?: string;
|
|
9
|
-
success?: boolean;
|
|
10
|
-
helperText?: string;
|
|
11
|
-
width?: string;
|
|
12
|
-
locale?: 'fr' | 'en';
|
|
13
|
-
}
|
|
14
|
-
declare const DatePicker: <T extends Dayjs>({ value, onChange, error, success, helperText, width, locale, ...props }: Props<T>) => React.JSX.Element;
|
|
15
|
-
export default DatePicker;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './DatePicker';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './MultiSelect';
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { RadioGroupProps } from '@mui/material';
|
|
3
|
-
interface ItemType<T> {
|
|
4
|
-
label: string;
|
|
5
|
-
value: T;
|
|
6
|
-
infoBubbleContent?: string;
|
|
7
|
-
infoBubblePosition?: 'top' | 'right' | 'bottom' | 'left' | 'bottom-end' | 'bottom-start' | 'left-end' | 'left-start' | 'right-end' | 'right-start' | 'top-end' | 'top-start' | undefined;
|
|
8
|
-
}
|
|
9
|
-
interface Props<T> extends Omit<RadioGroupProps, 'onChange'> {
|
|
10
|
-
label: string;
|
|
11
|
-
options: ItemType<T>[];
|
|
12
|
-
onChange: (value: T) => void;
|
|
13
|
-
error?: string;
|
|
14
|
-
helperText?: string;
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
}
|
|
17
|
-
declare const RadioGroup: {
|
|
18
|
-
<T>({ options, value, label, onChange, helperText, disabled, error, ...props }: Props<T>): React.JSX.Element;
|
|
19
|
-
displayName: string;
|
|
20
|
-
};
|
|
21
|
-
export default RadioGroup;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './RadioGroup';
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React, { BaseSyntheticEvent } from 'react';
|
|
2
|
-
import { SelectProps } from '@mui/material';
|
|
3
|
-
interface Props<T> extends Omit<SelectProps<T>, 'value' | 'onChange' | 'color' | 'error'> {
|
|
4
|
-
options: T[];
|
|
5
|
-
placeholder?: string;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
label: string;
|
|
8
|
-
helperText?: string;
|
|
9
|
-
color?: 'success';
|
|
10
|
-
value: T | undefined;
|
|
11
|
-
width?: number | string;
|
|
12
|
-
error?: string;
|
|
13
|
-
className?: string;
|
|
14
|
-
getRenderValue: (option: T) => string;
|
|
15
|
-
onChange: (value: T) => void;
|
|
16
|
-
onBlur?: (event: BaseSyntheticEvent) => void;
|
|
17
|
-
}
|
|
18
|
-
declare const Select: {
|
|
19
|
-
<T>({ value, label, options, color, error, placeholder, helperText, width, disabled, onChange, getRenderValue, ...props }: Props<T>): React.JSX.Element;
|
|
20
|
-
displayName: string;
|
|
21
|
-
};
|
|
22
|
-
export default Select;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Select';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SwitchProps } from '@mui/material';
|
|
3
|
-
interface Props {
|
|
4
|
-
label: string;
|
|
5
|
-
checked: boolean;
|
|
6
|
-
leftSideLabel?: string;
|
|
7
|
-
onClick: () => void;
|
|
8
|
-
}
|
|
9
|
-
declare const Switch: {
|
|
10
|
-
({ label, checked, leftSideLabel, onClick, ...props }: SwitchProps & Props): React.JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
13
|
-
export default Switch;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Switch';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './TextField';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
3
|
-
import { IconButtonProps, SxProps, Theme } from '@mui/material';
|
|
4
|
-
import { Placement } from '../Tooltip/tooltip.interface';
|
|
5
|
-
interface Props extends IconButtonProps {
|
|
6
|
-
icon: IconDefinition;
|
|
7
|
-
variant?: 'default' | 'table';
|
|
8
|
-
positionGroup?: 'left' | 'middle' | 'right';
|
|
9
|
-
tooltipText?: string;
|
|
10
|
-
tooltipPosition?: Placement;
|
|
11
|
-
size?: 'small' | 'medium';
|
|
12
|
-
sx?: SxProps<Theme>;
|
|
13
|
-
onClick?: (e: any) => void;
|
|
14
|
-
}
|
|
15
|
-
declare const IconButton: {
|
|
16
|
-
({ icon, variant, positionGroup, tooltipText, tooltipPosition, size, ...iconButtonProps }: Props): React.JSX.Element;
|
|
17
|
-
displayName: string;
|
|
18
|
-
};
|
|
19
|
-
export default IconButton;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './IconButton';
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
2
|
-
import { BoxProps } from '@mui/material';
|
|
3
|
-
declare const FontSizes: {
|
|
4
|
-
xs: number;
|
|
5
|
-
sm: number;
|
|
6
|
-
md: number;
|
|
7
|
-
lg: number;
|
|
8
|
-
xl: number;
|
|
9
|
-
xxl: number;
|
|
10
|
-
xxxl: number;
|
|
11
|
-
};
|
|
12
|
-
interface Props {
|
|
13
|
-
variant?: 'square' | 'none';
|
|
14
|
-
icon: IconDefinition;
|
|
15
|
-
color?: string;
|
|
16
|
-
size?: number | keyof typeof FontSizes;
|
|
17
|
-
}
|
|
18
|
-
declare const IconProvider: {
|
|
19
|
-
({ variant, icon, color, size, sx, ...props }: Props & BoxProps): JSX.Element;
|
|
20
|
-
displayName: string;
|
|
21
|
-
};
|
|
22
|
-
export default IconProvider;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './IconProvider';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Link';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IconDefinition } from '@fortawesome/pro-regular-svg-icons';
|
|
3
|
-
import { MenuItemProps } from '@mui/material';
|
|
4
|
-
interface Props extends MenuItemProps {
|
|
5
|
-
testId: string;
|
|
6
|
-
onAction: (value?: string) => void;
|
|
7
|
-
icon?: IconDefinition;
|
|
8
|
-
text: string;
|
|
9
|
-
value?: string;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
}
|
|
12
|
-
declare const MenuItemCustom: ({ onAction, icon, text, testId, value, disabled, }: Props) => React.JSX.Element;
|
|
13
|
-
export default MenuItemCustom;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './MenuItem';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Dialog';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Drawer';
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
3
|
-
import { CardProps } from '@mui/material';
|
|
4
|
-
import { ModalProps as ModalPropsMUI } from '@mui/material/Modal';
|
|
5
|
-
import { DefaultComponentProps, OverridableTypeMap } from '@mui/material/OverridableComponent';
|
|
6
|
-
export type CloseButtonProps = {
|
|
7
|
-
onClose: () => void;
|
|
8
|
-
};
|
|
9
|
-
export interface ModalProps extends Omit<ModalPropsMUI, 'component' | 'open' | 'className' | 'onClose'> {
|
|
10
|
-
open: boolean;
|
|
11
|
-
title?: string;
|
|
12
|
-
size?: 'small' | 'large';
|
|
13
|
-
component: ReactNode | null;
|
|
14
|
-
footer?: ReactNode | null;
|
|
15
|
-
cardProps?: Partial<CardProps>;
|
|
16
|
-
className?: string;
|
|
17
|
-
icon?: IconDefinition;
|
|
18
|
-
onClose?: () => void;
|
|
19
|
-
}
|
|
20
|
-
export type DialogTitleProps<T extends OverridableTypeMap> = DefaultComponentProps<T> & {
|
|
21
|
-
children?: ReactNode;
|
|
22
|
-
icon?: IconDefinition | null;
|
|
23
|
-
onClose: () => void;
|
|
24
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Step } from './stepper.interface';
|
|
3
|
-
export declare const StepComponent: ({ step: { items, isActive, icon, label, link }, canNavigate, onNavigate, }: {
|
|
4
|
-
step: Step;
|
|
5
|
-
canNavigate: boolean;
|
|
6
|
-
onNavigate: (link: string) => void;
|
|
7
|
-
}) => React.JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SxProps, Theme } from '@mui/material';
|
|
3
|
-
import { Step } from './stepper.interface';
|
|
4
|
-
interface Props {
|
|
5
|
-
steps: Step[];
|
|
6
|
-
canNavigate: boolean;
|
|
7
|
-
onNavigate?: (url: string) => void;
|
|
8
|
-
sx?: SxProps<Theme>;
|
|
9
|
-
}
|
|
10
|
-
declare const Stepper: ({ steps, canNavigate, onNavigate, sx, }: Props) => React.JSX.Element;
|
|
11
|
-
export default Stepper;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Stepper';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
2
|
-
export interface StepperItem {
|
|
3
|
-
label: string;
|
|
4
|
-
isValid: boolean;
|
|
5
|
-
}
|
|
6
|
-
export interface Step {
|
|
7
|
-
items: StepperItem[];
|
|
8
|
-
label: string;
|
|
9
|
-
isActive: boolean;
|
|
10
|
-
link: string;
|
|
11
|
-
icon: IconDefinition;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './NotistackAdapter';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface Props {
|
|
3
|
-
totalString: string;
|
|
4
|
-
totalPerPageString: string;
|
|
5
|
-
totalRows: number;
|
|
6
|
-
limitsPerPage?: number[];
|
|
7
|
-
page?: number;
|
|
8
|
-
limit?: number;
|
|
9
|
-
setPage?: (page: number) => void;
|
|
10
|
-
setLimit?: (limit: number) => void;
|
|
11
|
-
}
|
|
12
|
-
declare const Pagination: {
|
|
13
|
-
({ totalString, totalPerPageString, limitsPerPage, setLimit, setPage, page, totalRows, limit, }: Props): React.JSX.Element;
|
|
14
|
-
displayName: string;
|
|
15
|
-
};
|
|
16
|
-
export default Pagination;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Pagination';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getTotalPages: (totalRows: number, limitPerPage: number) => number;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { AlertProps } from '@mui/material';
|
|
3
|
-
interface Props extends Omit<AlertProps, 'severity' | 'text'> {
|
|
4
|
-
text: string | React.ReactNode;
|
|
5
|
-
severity: 'success' | 'warning' | 'error' | 'info';
|
|
6
|
-
}
|
|
7
|
-
declare const Snackbar: {
|
|
8
|
-
({ text, severity }: Props): React.JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
11
|
-
export default Snackbar;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Snackbar';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TypographyProps } from '@mui/material';
|
|
3
|
-
interface Props extends Omit<TypographyProps, 'variant'> {
|
|
4
|
-
variant?: 'bigNumber' | 'body1' | 'body1Regular' | 'body1Medium' | 'body1Bold' | 'body2' | 'body2Regular' | 'body2Medium' | 'body2Bold' | 'caption' | 'buttonNotif' | 'header1' | 'header2' | 'header3' | 'header4' | 'h1' | 'h2' | 'h3' | 'h4' | 'link1' | 'link2';
|
|
5
|
-
component?: any;
|
|
6
|
-
}
|
|
7
|
-
declare const Text: {
|
|
8
|
-
(props: Props): React.JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
11
|
-
export default Text;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Text';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React, { ReactElement } from 'react';
|
|
2
|
-
import { TooltipProps } from '@mui/material';
|
|
3
|
-
import { Placement } from './tooltip.interface';
|
|
4
|
-
interface Props extends Omit<TooltipProps, 'icon' | 'children' | 'placement'> {
|
|
5
|
-
title: string;
|
|
6
|
-
children: ReactElement;
|
|
7
|
-
placement?: Placement;
|
|
8
|
-
}
|
|
9
|
-
declare const Tooltip: {
|
|
10
|
-
({ title, placement, children, ...tooltipProps }: Props): React.JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
13
|
-
export default Tooltip;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Tooltip';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type Placement = 'right' | 'bottom' | 'left' | 'top' | 'bottom-end' | 'bottom-start' | 'left-end' | 'left-start' | 'right-end' | 'right-start' | 'top-end' | 'top-start' | undefined;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface Props {
|
|
3
|
-
setFile: (file: File | null) => void;
|
|
4
|
-
enableGoogleDrive: boolean;
|
|
5
|
-
googleAuthClientId?: string;
|
|
6
|
-
googleApiKey?: string;
|
|
7
|
-
error?: boolean;
|
|
8
|
-
helperText?: string;
|
|
9
|
-
fileUrl?: string | null;
|
|
10
|
-
fileName?: string | null;
|
|
11
|
-
accept?: string[];
|
|
12
|
-
acceptText?: {
|
|
13
|
-
fileFormat?: string;
|
|
14
|
-
maxSize?: string;
|
|
15
|
-
subText?: string;
|
|
16
|
-
};
|
|
17
|
-
disabledInput?: boolean;
|
|
18
|
-
title?: string;
|
|
19
|
-
children?: JSX.Element | null;
|
|
20
|
-
titleAddButton?: string;
|
|
21
|
-
validateFile?: (size: number, type: string) => boolean;
|
|
22
|
-
removeExistingFile?: () => void;
|
|
23
|
-
onTouched?: () => void;
|
|
24
|
-
onFileDataChange?: (fileData: {
|
|
25
|
-
name: string;
|
|
26
|
-
size: number;
|
|
27
|
-
type?: string;
|
|
28
|
-
driveFileId?: string;
|
|
29
|
-
driveAccessToken?: string;
|
|
30
|
-
} | null) => void;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* A single file uploader component that supports file selection from local storage or Google Drive.
|
|
34
|
-
*
|
|
35
|
-
* @param {string[]} accept - Array of accepted file types, will display acceptText message
|
|
36
|
-
* but not verify size or type of your file.
|
|
37
|
-
*
|
|
38
|
-
* Example:
|
|
39
|
-
* ```js
|
|
40
|
-
* accept={[
|
|
41
|
-
'application/pdf',
|
|
42
|
-
'image/png',
|
|
43
|
-
'image/jpeg',
|
|
44
|
-
'image/jpg',
|
|
45
|
-
]}
|
|
46
|
-
* ```
|
|
47
|
-
* @param {Object} acceptText - Object containing text for accepted file format, max size, and additional subtext.
|
|
48
|
-
*
|
|
49
|
-
* Example:
|
|
50
|
-
* ```js
|
|
51
|
-
* acceptText={{
|
|
52
|
-
maxSize: '10 Mo',
|
|
53
|
-
subText: 'Sélectionnez un fichier',
|
|
54
|
-
}}
|
|
55
|
-
* ```
|
|
56
|
-
*
|
|
57
|
-
* @param {Function} validateFile - Function to validate the file size and type.
|
|
58
|
-
*
|
|
59
|
-
* Example:
|
|
60
|
-
* ```js
|
|
61
|
-
* validateFile={(size, type) => {
|
|
62
|
-
* if (size > 10 * 1024 * 1024) {
|
|
63
|
-
* setCustomFileError('Le fichier doit être inférieur à 10 Mo');
|
|
64
|
-
* return true;
|
|
65
|
-
* }
|
|
66
|
-
* if (!['application/pdf', 'image/png', 'image/jpeg', 'image/jpg'].includes(type)) {
|
|
67
|
-
* setCustomFileError('Le fichier doit être au format PDF, PNG, JPEG ou JPG');
|
|
68
|
-
* return true;
|
|
69
|
-
* }
|
|
70
|
-
* return false;
|
|
71
|
-
* }}
|
|
72
|
-
* ```
|
|
73
|
-
*
|
|
74
|
-
* @param {Function} onFileDataChange - Callback function to handle file data changes and give you all informations you need
|
|
75
|
-
* to handle google drive file.
|
|
76
|
-
*/
|
|
77
|
-
declare const FileUploaderSingle: ({ enableGoogleDrive, googleAuthClientId, googleApiKey, error, helperText, accept, acceptText, title, disabledInput, children, fileUrl, fileName, titleAddButton, validateFile, setFile, removeExistingFile, onTouched, onFileDataChange, }: Props) => React.JSX.Element;
|
|
78
|
-
export default FileUploaderSingle;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './FileUploaderSingle';
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { default as Text } from './Text';
|
|
2
|
-
export { default as Link } from './Link';
|
|
3
|
-
export { default as Button } from './Button';
|
|
4
|
-
export { default as TextField } from './Form/TextField';
|
|
5
|
-
export { default as Select } from './Form/Select';
|
|
6
|
-
export { default as MultiSelect } from './Form/MultiSelect';
|
|
7
|
-
export { default as Checkbox } from './Form/Checkbox';
|
|
8
|
-
export { default as CheckboxGroup } from './Form/CheckboxGroup';
|
|
9
|
-
export { default as RadioGroup } from './Form/RadioGroup';
|
|
10
|
-
export { default as Accordion } from './Accordion';
|
|
11
|
-
export { default as Breadcrumbs } from './Breadcrumbs';
|
|
12
|
-
export { default as IconProvider } from './IconProvider/IconProvider';
|
|
13
|
-
export { default as Pagination } from './Pagination';
|
|
14
|
-
export { default as Chip } from './Chip/Chip';
|
|
15
|
-
export { default as EmbeddedNotification } from './EmbbededNotification/EmbeddedNotification';
|
|
16
|
-
export { default as Tooltip } from './Tooltip/Tooltip';
|
|
17
|
-
export { default as AutoCompleteSingle } from './Form/AutoCompleteSingle';
|
|
18
|
-
export { default as AutoCompleteMulti } from './Form/AutoCompleteMulti';
|
|
19
|
-
export { default as FileUploaderSingle } from './UploadDocument/FileUploaderSingle';
|
|
20
|
-
export { default as MenuItem } from './MenuItem/MenuItem';
|
|
21
|
-
export { default as Snackbar } from './Snackbar/Snackbar';
|
|
22
|
-
export { default as NotistackAdapter } from './NotistackAdapter/NotistackAdapter';
|
|
23
|
-
export { default as BannerNotification } from './BannerNotification/BannerNotification';
|
|
24
|
-
export { default as Stepper } from './Navigation/Stepper/Stepper';
|
|
25
|
-
export { default as Drawer } from './Modal/Drawer/Drawer';
|
|
26
|
-
export { default as Dialog } from './Modal/Dialog/Dialog';
|
|
27
|
-
export { default as Switch } from './Form/Switch/Switch';
|
|
28
|
-
export { default as DatePicker } from './Form/DatePicker';
|
|
29
|
-
export { default as Datatable } from './Datatable/Datatable';
|
|
30
|
-
export { default as DatatableCellRender } from './Datatable/DatatableCellRender';
|
|
31
|
-
export { default as IconButton } from './IconButton/IconButton';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface GooglePickerWrapperProps {
|
|
3
|
-
callback: (data: any, token: string) => void;
|
|
4
|
-
multiselect?: boolean;
|
|
5
|
-
navHidden?: boolean;
|
|
6
|
-
googleAuthClientId: string;
|
|
7
|
-
googleApiKey: string;
|
|
8
|
-
scopes?: string;
|
|
9
|
-
viewId?: string;
|
|
10
|
-
mimeType?: string[];
|
|
11
|
-
}
|
|
12
|
-
declare const GooglePickerWrapper: ({ children, callback, multiselect, navHidden, googleAuthClientId, googleApiKey, scopes, viewId, mimeType, }: React.PropsWithChildren<GooglePickerWrapperProps>) => JSX.Element;
|
|
13
|
-
export default GooglePickerWrapper;
|