mui-design-system 0.0.21 → 0.0.22
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/package.json +1 -1
- package/dist/colors/index.d.ts +0 -4
- package/dist/colors/index.js +0 -93
- package/dist/colors/type.d.ts +0 -5
- package/dist/colors/type.js +0 -1
- package/dist/components/checkbox-list/CheckboxList.d.ts +0 -21
- package/dist/components/checkbox-list/CheckboxList.js +0 -31
- package/dist/components/custom-auto-complete/CustomAutoComplete.d.ts +0 -27
- package/dist/components/custom-auto-complete/CustomAutoComplete.js +0 -75
- package/dist/components/custom-auto-complete/components/AutoCompleteInput.d.ts +0 -21
- package/dist/components/custom-auto-complete/components/AutoCompleteInput.js +0 -29
- package/dist/components/custom-auto-complete/components/ListBox.d.ts +0 -5
- package/dist/components/custom-auto-complete/components/ListBox.js +0 -62
- package/dist/components/custom-auto-complete/components/ListRow.d.ts +0 -2
- package/dist/components/custom-auto-complete/components/ListRow.js +0 -21
- package/dist/components/custom-auto-complete-advanced/CustomAutoComplete.d.ts +0 -28
- package/dist/components/custom-auto-complete-advanced/CustomAutoComplete.js +0 -92
- package/dist/components/custom-auto-complete-advanced/components/ListBox.d.ts +0 -6
- package/dist/components/custom-auto-complete-advanced/components/ListBox.js +0 -76
- package/dist/components/custom-auto-complete-advanced/components/ListRow.d.ts +0 -2
- package/dist/components/custom-auto-complete-advanced/components/ListRow.js +0 -17
- package/dist/components/custom-auto-complete-advanced/components/RenderInput.d.ts +0 -23
- package/dist/components/custom-auto-complete-advanced/components/RenderInput.js +0 -51
- package/dist/components/custom-auto-complete-advanced/components/RenderTags.d.ts +0 -9
- package/dist/components/custom-auto-complete-advanced/components/RenderTags.js +0 -22
- package/dist/components/custom-breadcrumbs/CustomBreadcrumbs.d.ts +0 -17
- package/dist/components/custom-breadcrumbs/CustomBreadcrumbs.js +0 -11
- package/dist/components/custom-card/CustomHorizontalCard.d.ts +0 -3
- package/dist/components/custom-card/CustomHorizontalCard.js +0 -9
- package/dist/components/custom-card/CustomVerticalCard.d.ts +0 -3
- package/dist/components/custom-card/CustomVerticalCard.js +0 -9
- package/dist/components/custom-chip/CustomChip.d.ts +0 -12
- package/dist/components/custom-chip/CustomChip.js +0 -10
- package/dist/components/custom-date-picker/CustomComponent.d.ts +0 -17
- package/dist/components/custom-date-picker/CustomComponent.js +0 -36
- package/dist/components/custom-date-picker/CustomDatePicker.d.ts +0 -14
- package/dist/components/custom-date-picker/CustomDatePicker.js +0 -55
- package/dist/components/custom-dialog/CustomDialog.d.ts +0 -41
- package/dist/components/custom-dialog/CustomDialog.js +0 -38
- package/dist/components/custom-input/CustomNumericInput.d.ts +0 -9
- package/dist/components/custom-input/CustomNumericInput.js +0 -32
- package/dist/components/custom-mobile-date-picker/CustomBottomSheet.d.ts +0 -9
- package/dist/components/custom-mobile-date-picker/CustomBottomSheet.js +0 -29
- package/dist/components/custom-mobile-date-picker/CustomMobileDatePicker.d.ts +0 -19
- package/dist/components/custom-mobile-date-picker/CustomMobileDatePicker.js +0 -98
- package/dist/components/custom-mobile-date-picker/DatePickerBottomSheet.d.ts +0 -19
- package/dist/components/custom-mobile-date-picker/DatePickerBottomSheet.js +0 -40
- package/dist/components/custom-mobile-date-picker/ItemPicker.d.ts +0 -10
- package/dist/components/custom-mobile-date-picker/ItemPicker.js +0 -72
- package/dist/components/custom-modal/CustomModal.d.ts +0 -21
- package/dist/components/custom-modal/CustomModal.js +0 -38
- package/dist/components/custom-pagination/custom-pagination-1/CustomPagination1.d.ts +0 -9
- package/dist/components/custom-pagination/custom-pagination-1/CustomPagination1.js +0 -13
- package/dist/components/custom-pagination/custom-pagination-2/CustomPagination2.d.ts +0 -20
- package/dist/components/custom-pagination/custom-pagination-2/CustomPagination2.js +0 -33
- package/dist/components/custom-progress/LinearBufferProgress.d.ts +0 -6
- package/dist/components/custom-progress/LinearBufferProgress.js +0 -14
- package/dist/components/custom-stepper/CustomStepper.d.ts +0 -31
- package/dist/components/custom-stepper/CustomStepper.js +0 -170
- package/dist/components/custom-table/CustomTable.d.ts +0 -55
- package/dist/components/custom-table/CustomTable.js +0 -50
- package/dist/components/custom-table/components/CustomTableBody.d.ts +0 -21
- package/dist/components/custom-table/components/CustomTableBody.js +0 -11
- package/dist/components/custom-table/components/CustomTableCell.d.ts +0 -8
- package/dist/components/custom-table/components/CustomTableCell.js +0 -23
- package/dist/components/custom-table/components/CustomTableHead.d.ts +0 -17
- package/dist/components/custom-table/components/CustomTableHead.js +0 -63
- package/dist/components/custom-table/components/CustomTableRow.d.ts +0 -26
- package/dist/components/custom-table/components/CustomTableRow.js +0 -102
- package/dist/components/custom-table/components/useTable.d.ts +0 -24
- package/dist/components/custom-table/components/useTable.js +0 -77
- package/dist/components/custom-tabs/CustomTabs.d.ts +0 -22
- package/dist/components/custom-tabs/CustomTabs.js +0 -70
- package/dist/components/custom-uploader/CustomUploader.d.ts +0 -23
- package/dist/components/custom-uploader/CustomUploader.js +0 -68
- package/dist/components/error boundary/ErrorComponent.d.ts +0 -7
- package/dist/components/error boundary/ErrorComponent.js +0 -6
- package/dist/components/error boundary/withErrorBoundary.d.ts +0 -7
- package/dist/components/error boundary/withErrorBoundary.js +0 -10
- package/dist/components/index.d.ts +0 -183
- package/dist/components/index.js +0 -70
- package/dist/components/input-list/Form.d.ts +0 -21
- package/dist/components/input-list/Form.js +0 -19
- package/dist/components/input-list/InputListWithUseForm.d.ts +0 -22
- package/dist/components/input-list/InputListWithUseForm.js +0 -22
- package/dist/components/input-list/UseFormInput.d.ts +0 -11
- package/dist/components/input-list/UseFormInput.js +0 -50
- package/dist/components/input-list/checkbox-list/CheckboxList.d.ts +0 -19
- package/dist/components/input-list/checkbox-list/CheckboxList.js +0 -30
- package/dist/components/input-list/components/UFAutoComplete.d.ts +0 -9
- package/dist/components/input-list/components/UFAutoComplete.js +0 -41
- package/dist/components/input-list/components/UFCheckbox.d.ts +0 -19
- package/dist/components/input-list/components/UFCheckbox.js +0 -21
- package/dist/components/input-list/components/UFCurrency.d.ts +0 -9
- package/dist/components/input-list/components/UFCurrency.js +0 -47
- package/dist/components/input-list/components/UFDatePicker.d.ts +0 -9
- package/dist/components/input-list/components/UFDatePicker.js +0 -17
- package/dist/components/input-list/components/UFDatePickerMobile.d.ts +0 -9
- package/dist/components/input-list/components/UFDatePickerMobile.js +0 -6
- package/dist/components/input-list/components/UFMultiCheckbox.d.ts +0 -9
- package/dist/components/input-list/components/UFMultiCheckbox.js +0 -17
- package/dist/components/input-list/components/UFMultiSelect.d.ts +0 -9
- package/dist/components/input-list/components/UFMultiSelect.js +0 -56
- package/dist/components/input-list/components/UFRadio.d.ts +0 -9
- package/dist/components/input-list/components/UFRadio.js +0 -19
- package/dist/components/input-list/components/UFSelect.d.ts +0 -9
- package/dist/components/input-list/components/UFSelect.js +0 -19
- package/dist/components/input-list/components/UFSwitch.d.ts +0 -19
- package/dist/components/input-list/components/UFSwitch.js +0 -99
- package/dist/components/input-list/components/UFTextArea.d.ts +0 -9
- package/dist/components/input-list/components/UFTextArea.js +0 -12
- package/dist/components/input-list/components/UFTextField.d.ts +0 -11
- package/dist/components/input-list/components/UFTextField.js +0 -29
- package/dist/components/input-list/components/UFTime.d.ts +0 -10
- package/dist/components/input-list/components/UFTime.js +0 -93
- package/dist/components/input-list/components/UFUploader.d.ts +0 -9
- package/dist/components/input-list/components/UFUploader.js +0 -41
- package/dist/components/input-list/type.d.ts +0 -165
- package/dist/components/input-list/type.js +0 -1
- package/dist/components/otp-input/OTPInput.d.ts +0 -19
- package/dist/components/otp-input/OTPInput.js +0 -161
- package/dist/components/rich-tooltip/RichTooltip.d.ts +0 -18
- package/dist/components/rich-tooltip/RichTooltip.js +0 -32
- package/dist/context/FormContext.d.ts +0 -16
- package/dist/context/FormContext.js +0 -8
- package/dist/icons/Add.d.ts +0 -7
- package/dist/icons/Add.js +0 -3
- package/dist/icons/ArrowDown.d.ts +0 -7
- package/dist/icons/ArrowDown.js +0 -3
- package/dist/icons/ArrowLeft1.d.ts +0 -7
- package/dist/icons/ArrowLeft1.js +0 -3
- package/dist/icons/ArrowRight1.d.ts +0 -7
- package/dist/icons/ArrowRight1.js +0 -3
- package/dist/icons/Calendar.d.ts +0 -7
- package/dist/icons/Calendar.js +0 -3
- package/dist/icons/CloseCircle.d.ts +0 -7
- package/dist/icons/CloseCircle.js +0 -3
- package/dist/icons/DocumentDownload.d.ts +0 -7
- package/dist/icons/DocumentDownload.js +0 -3
- package/dist/icons/Eye.d.ts +0 -7
- package/dist/icons/Eye.js +0 -3
- package/dist/icons/EyeSlash.d.ts +0 -7
- package/dist/icons/EyeSlash.js +0 -3
- package/dist/icons/FolderAdd.d.ts +0 -7
- package/dist/icons/FolderAdd.js +0 -3
- package/dist/icons/InfoCircle.d.ts +0 -7
- package/dist/icons/InfoCircle.js +0 -3
- package/dist/icons/Tick.d.ts +0 -7
- package/dist/icons/Tick.js +0 -3
- package/dist/icons/Trash.d.ts +0 -7
- package/dist/icons/Trash.js +0 -3
- package/dist/icons/Union.d.ts +0 -7
- package/dist/icons/Union.js +0 -3
- package/dist/icons/Warning2.d.ts +0 -7
- package/dist/icons/Warning2.js +0 -3
- package/dist/index.d.ts +0 -8
- package/dist/index.js +0 -8
- package/dist/methods/debounce.d.ts +0 -3
- package/dist/methods/debounce.js +0 -20
- package/dist/methods/general.d.ts +0 -2
- package/dist/methods/general.js +0 -32
- package/dist/mui/Alert/Alert.d.ts +0 -2
- package/dist/mui/Alert/Alert.js +0 -13
- package/dist/mui/AutoComplete/MuiAutoComplete.d.ts +0 -2
- package/dist/mui/AutoComplete/MuiAutoComplete.js +0 -27
- package/dist/mui/BreadCrumbs/MuiBreadCrumbs.d.ts +0 -2
- package/dist/mui/BreadCrumbs/MuiBreadCrumbs.js +0 -31
- package/dist/mui/Button/MuiButton.d.ts +0 -7
- package/dist/mui/Button/MuiButton.js +0 -185
- package/dist/mui/Card/MuiCard.d.ts +0 -2
- package/dist/mui/Card/MuiCard.js +0 -7
- package/dist/mui/Checkbox/Checkbox.d.ts +0 -2
- package/dist/mui/Checkbox/Checkbox.js +0 -31
- package/dist/mui/Checkbox/assets/CheckedIcon.d.ts +0 -8
- package/dist/mui/Checkbox/assets/CheckedIcon.js +0 -12
- package/dist/mui/Checkbox/assets/IntermediateIcon.d.ts +0 -8
- package/dist/mui/Checkbox/assets/IntermediateIcon.js +0 -10
- package/dist/mui/Checkbox/assets/UnChekedIcon.d.ts +0 -7
- package/dist/mui/Checkbox/assets/UnChekedIcon.js +0 -9
- package/dist/mui/Chip/MuiChip.d.ts +0 -10
- package/dist/mui/Chip/MuiChip.js +0 -35
- package/dist/mui/Dialog/MuiDialog.d.ts +0 -7
- package/dist/mui/Dialog/MuiDialog.js +0 -22
- package/dist/mui/FormControl/MuiFormControlLabel.d.ts +0 -2
- package/dist/mui/FormControl/MuiFormControlLabel.js +0 -13
- package/dist/mui/IconButton/MuiIconButon.d.ts +0 -2
- package/dist/mui/IconButton/MuiIconButon.js +0 -7
- package/dist/mui/InputAdornment/MuiInputAdornment.d.ts +0 -2
- package/dist/mui/InputAdornment/MuiInputAdornment.js +0 -6
- package/dist/mui/InputLabel/MuiInputLabel.d.ts +0 -2
- package/dist/mui/InputLabel/MuiInputLabel.js +0 -43
- package/dist/mui/Pagination/MuiPagination.d.ts +0 -2
- package/dist/mui/Pagination/MuiPagination.js +0 -15
- package/dist/mui/Pagination/MuiPaginationItem.d.ts +0 -2
- package/dist/mui/Pagination/MuiPaginationItem.js +0 -15
- package/dist/mui/Radio/MuiRadio.d.ts +0 -2
- package/dist/mui/Radio/MuiRadio.js +0 -17
- package/dist/mui/Select/MuiSelect.d.ts +0 -2
- package/dist/mui/Select/MuiSelect.js +0 -47
- package/dist/mui/Switch/MuiSwitch.d.ts +0 -2
- package/dist/mui/Switch/MuiSwitch.js +0 -83
- package/dist/mui/Tabs/MuiTabs.d.ts +0 -2
- package/dist/mui/Tabs/MuiTabs.js +0 -21
- package/dist/mui/Tabs/Tab/MuiTab.d.ts +0 -2
- package/dist/mui/Tabs/Tab/MuiTab.js +0 -26
- package/dist/mui/TextField/MuiFilledInput.d.ts +0 -2
- package/dist/mui/TextField/MuiFilledInput.js +0 -91
- package/dist/mui/TextField/MuiOutlinedInput.d.ts +0 -2
- package/dist/mui/TextField/MuiOutlinedInput.js +0 -66
- package/dist/mui/TextField/TextField.d.ts +0 -2
- package/dist/mui/TextField/TextField.js +0 -78
- package/dist/mui/Tooltip/MuiTooltip.d.ts +0 -2
- package/dist/mui/Tooltip/MuiTooltip.js +0 -26
- package/dist/mui/Typography/MuiTypography.d.ts +0 -2
- package/dist/mui/Typography/MuiTypography.js +0 -9
- package/dist/mui/Typography/index.d.ts +0 -2
- package/dist/mui/Typography/index.js +0 -138
- package/dist/mui/accordion/MuiAccodrion.d.ts +0 -2
- package/dist/mui/accordion/MuiAccodrion.js +0 -13
- package/dist/mui/breakpoints/index.d.ts +0 -9
- package/dist/mui/breakpoints/index.js +0 -9
- package/dist/mui/menu/MuiMenu.d.ts +0 -2
- package/dist/mui/menu/MuiMenu.js +0 -8
- package/dist/mui/menu/MuiMenuItem.d.ts +0 -2
- package/dist/mui/menu/MuiMenuItem.js +0 -14
- package/dist/mui/mui-css-baseline/index.d.ts +0 -3
- package/dist/mui/mui-css-baseline/index.js +0 -37
- package/dist/mui/palette/dark/darkPalette.d.ts +0 -2
- package/dist/mui/palette/dark/darkPalette.js +0 -135
- package/dist/mui/palette/light/lightPalette.d.ts +0 -2
- package/dist/mui/palette/light/lightPalette.js +0 -135
- package/dist/nextjs/NextCacheProvider.d.ts +0 -7
- package/dist/nextjs/NextCacheProvider.js +0 -13
- package/dist/react/ReactCacheProvider.d.ts +0 -7
- package/dist/react/ReactCacheProvider.js +0 -15
- package/dist/theme/theme.d.ts +0 -3
- package/dist/theme/theme.js +0 -75
- package/dist/types/palette.d.ts +0 -60
- package/dist/types/palette.js +0 -1
- package/dist/types/types.d.ts +0 -102
- package/dist/types/types.js +0 -4
- package/dist/types/typography.d.ts +0 -71
- package/dist/types/typography.js +0 -1
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
import { GridProps } from '@mui/material/Grid';
|
|
2
|
-
import React, { ReactNode } from 'react';
|
|
3
|
-
import { RegisterOptions } from 'react-hook-form';
|
|
4
|
-
import { TypographyProps } from '@mui/material/Typography';
|
|
5
|
-
import { CustomAutocompleteProps } from '../custom-auto-complete/CustomAutoComplete';
|
|
6
|
-
import { TextFieldProps } from '@mui/material/TextField';
|
|
7
|
-
import { ICustomCheckboxProps } from './components/UFCheckbox';
|
|
8
|
-
import { ICustomNumericInputProps } from '../custom-input/CustomNumericInput';
|
|
9
|
-
import { RadioProps } from '@mui/material/Radio';
|
|
10
|
-
import { CheckboxListProps } from "./checkbox-list/CheckboxList";
|
|
11
|
-
import { ICustomUploaderProps } from "../custom-uploader/CustomUploader";
|
|
12
|
-
import { RadioGroupProps } from "@mui/material";
|
|
13
|
-
import { FormControlLabelProps } from "@mui/material/FormControlLabel";
|
|
14
|
-
import { ICustomSwitchProps } from './components/UFSwitch';
|
|
15
|
-
import { ICustomDatePickerProps } from '../custom-date-picker/CustomDatePicker';
|
|
16
|
-
export interface IFormOption {
|
|
17
|
-
value: string | number;
|
|
18
|
-
label: string;
|
|
19
|
-
labelProp?: any;
|
|
20
|
-
disabled?: boolean;
|
|
21
|
-
}
|
|
22
|
-
interface IBaseForm {
|
|
23
|
-
name: string;
|
|
24
|
-
label: React.ReactNode;
|
|
25
|
-
rules?: RegisterOptions;
|
|
26
|
-
defaultValue?: any;
|
|
27
|
-
placeholder?: string;
|
|
28
|
-
gridItemProp?: GridProps;
|
|
29
|
-
labelProps?: Partial<TypographyProps<any>> | undefined;
|
|
30
|
-
helperText?: string;
|
|
31
|
-
withoutHelperText?: boolean;
|
|
32
|
-
variant?: 'outlined' | 'filled' | 'standard';
|
|
33
|
-
inputLabelMode?: TInputLabelMode;
|
|
34
|
-
disabled?: boolean;
|
|
35
|
-
readonly?: boolean;
|
|
36
|
-
itemProps?: any;
|
|
37
|
-
}
|
|
38
|
-
export interface IRadioForm extends IBaseForm {
|
|
39
|
-
type?: 'radio';
|
|
40
|
-
radioProps?: RadioProps;
|
|
41
|
-
radioGroupProps?: Partial<RadioGroupProps>;
|
|
42
|
-
formControlLabelProps?: Partial<FormControlLabelProps>;
|
|
43
|
-
options?: IFormOption[];
|
|
44
|
-
itemProps?: RadioProps;
|
|
45
|
-
}
|
|
46
|
-
export interface ISelectForm extends IBaseForm {
|
|
47
|
-
type?: 'select';
|
|
48
|
-
props?: TextFieldProps;
|
|
49
|
-
itemProps?: TextFieldProps;
|
|
50
|
-
options?: IFormOption[];
|
|
51
|
-
}
|
|
52
|
-
export interface IMultiSelectForm extends IBaseForm {
|
|
53
|
-
type?: 'multi-select';
|
|
54
|
-
props?: Partial<TextFieldProps>;
|
|
55
|
-
itemProps?: Partial<TextFieldProps>;
|
|
56
|
-
options?: IFormOption[];
|
|
57
|
-
}
|
|
58
|
-
export interface IAutoCompleteForm extends IBaseForm {
|
|
59
|
-
type?: 'auto-complete';
|
|
60
|
-
isLoading?: boolean;
|
|
61
|
-
props?: Partial<CustomAutocompleteProps>;
|
|
62
|
-
itemProps?: Partial<CustomAutocompleteProps>;
|
|
63
|
-
options?: IFormOption[];
|
|
64
|
-
onReachEnd?: () => void;
|
|
65
|
-
onSearch?: (value: any) => void;
|
|
66
|
-
}
|
|
67
|
-
export interface ICheckboxForm extends IBaseForm {
|
|
68
|
-
type?: 'checkbox';
|
|
69
|
-
props?: Partial<ICustomCheckboxProps>;
|
|
70
|
-
formControlLabelProps?: Partial<FormControlLabelProps>;
|
|
71
|
-
itemProps?: Partial<ICustomCheckboxProps>;
|
|
72
|
-
}
|
|
73
|
-
export interface ISwitchForm extends IBaseForm {
|
|
74
|
-
type?: 'switch';
|
|
75
|
-
props?: Partial<ICustomSwitchProps>;
|
|
76
|
-
}
|
|
77
|
-
export interface IDatePickerForm extends IBaseForm {
|
|
78
|
-
type?: 'date-picker';
|
|
79
|
-
props?: Partial<ICustomDatePickerProps>;
|
|
80
|
-
itemProps?: Partial<ICustomDatePickerProps>;
|
|
81
|
-
}
|
|
82
|
-
export interface IDatePickerMobileForm extends IBaseForm {
|
|
83
|
-
type?: 'date-picker-mobile';
|
|
84
|
-
props?: Partial<ICustomDatePickerProps>;
|
|
85
|
-
}
|
|
86
|
-
export interface ITimeForm extends IBaseForm {
|
|
87
|
-
type?: 'time';
|
|
88
|
-
props?: Partial<TextFieldProps>;
|
|
89
|
-
hourProp?: Partial<TextFieldProps>;
|
|
90
|
-
minuteProp?: Partial<TextFieldProps>;
|
|
91
|
-
}
|
|
92
|
-
export interface ITextAreaForm extends IBaseForm {
|
|
93
|
-
type?: 'text-area';
|
|
94
|
-
props?: Partial<TextFieldProps>;
|
|
95
|
-
itemProps?: Partial<TextFieldProps>;
|
|
96
|
-
}
|
|
97
|
-
export interface ICurrencyForm extends IBaseForm {
|
|
98
|
-
type?: 'currency';
|
|
99
|
-
props?: Partial<ICustomNumericInputProps>;
|
|
100
|
-
itemProps?: Partial<ICustomNumericInputProps>;
|
|
101
|
-
currencyIcon?: ReactNode;
|
|
102
|
-
}
|
|
103
|
-
export interface IMultiCheckboxForm extends IBaseForm {
|
|
104
|
-
options: IFormOption[];
|
|
105
|
-
type?: 'multi-checkbox';
|
|
106
|
-
multiple?: boolean;
|
|
107
|
-
props?: Partial<Omit<CheckboxListProps, "multiple" | "options" | "onChange" | "value">>;
|
|
108
|
-
itemProps?: Partial<Omit<CheckboxListProps, "multiple" | "options" | "onChange" | "value">>;
|
|
109
|
-
}
|
|
110
|
-
export interface IUploaderForm extends IBaseForm {
|
|
111
|
-
type?: "uploader";
|
|
112
|
-
multiple?: boolean;
|
|
113
|
-
onDelete?: (index: number) => void;
|
|
114
|
-
props?: Partial<ICustomUploaderProps>;
|
|
115
|
-
itemProps?: Partial<ICustomUploaderProps>;
|
|
116
|
-
}
|
|
117
|
-
export interface ITextFieldForm extends IBaseForm {
|
|
118
|
-
type?: 'text' | 'email' | 'password' | 'number' | "tel";
|
|
119
|
-
props?: Partial<TextFieldProps>;
|
|
120
|
-
itemProps?: Partial<TextFieldProps>;
|
|
121
|
-
}
|
|
122
|
-
export type TSchema = ITextFieldForm | ICurrencyForm | ITextAreaForm | IDatePickerForm | IDatePickerMobileForm | ITimeForm | ICheckboxForm | IAutoCompleteForm | IMultiSelectForm | ISelectForm | IRadioForm | ISwitchForm | IUploaderForm | IMultiCheckboxForm;
|
|
123
|
-
export type TFormSchema = TSchema[];
|
|
124
|
-
export type TFormTheme = {
|
|
125
|
-
text?: Partial<TextFieldProps>;
|
|
126
|
-
email?: Partial<TextFieldProps>;
|
|
127
|
-
password?: Partial<TextFieldProps>;
|
|
128
|
-
tel?: Partial<TextFieldProps>;
|
|
129
|
-
number?: Partial<TextFieldProps>;
|
|
130
|
-
uploader?: {
|
|
131
|
-
uploaderProps?: Partial<ICustomUploaderProps>;
|
|
132
|
-
};
|
|
133
|
-
multiCheckbox?: {
|
|
134
|
-
multiCheckboxProps?: Partial<Omit<CheckboxListProps, "multiple" | "options" | "onChange" | "value">>;
|
|
135
|
-
};
|
|
136
|
-
currency?: {
|
|
137
|
-
currencyProps?: Partial<ICustomNumericInputProps>;
|
|
138
|
-
};
|
|
139
|
-
textArea?: {
|
|
140
|
-
textAreaProps?: Partial<TextFieldProps>;
|
|
141
|
-
};
|
|
142
|
-
datePicker?: {
|
|
143
|
-
datePickerProps?: Partial<ICustomDatePickerProps>;
|
|
144
|
-
};
|
|
145
|
-
checkbox?: {
|
|
146
|
-
checkboxProps?: Partial<ICustomCheckboxProps>;
|
|
147
|
-
formControlLabelProps?: Partial<FormControlLabelProps>;
|
|
148
|
-
};
|
|
149
|
-
autoComplete?: {
|
|
150
|
-
autoCompleteProps?: Partial<CustomAutocompleteProps>;
|
|
151
|
-
};
|
|
152
|
-
multiSelect?: {
|
|
153
|
-
multiSelectProps?: Partial<TextFieldProps>;
|
|
154
|
-
};
|
|
155
|
-
'select'?: {
|
|
156
|
-
selectProps: Partial<TextFieldProps>;
|
|
157
|
-
};
|
|
158
|
-
radio?: {
|
|
159
|
-
radioProps?: Partial<RadioProps>;
|
|
160
|
-
radioGroupProps?: Partial<RadioGroupProps>;
|
|
161
|
-
formControlLabelProps?: Partial<FormControlLabelProps>;
|
|
162
|
-
};
|
|
163
|
-
};
|
|
164
|
-
export type TInputLabelMode = 'static' | 'relative';
|
|
165
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { CSSProperties, FC } from 'react';
|
|
2
|
-
import { BoxProps } from '@mui/material/Box';
|
|
3
|
-
export interface OTPInputProps {
|
|
4
|
-
value?: string;
|
|
5
|
-
valueLength: number;
|
|
6
|
-
onChange: (value: string) => void;
|
|
7
|
-
size?: number | 'auto';
|
|
8
|
-
gap?: number;
|
|
9
|
-
inputStyle?: CSSProperties;
|
|
10
|
-
activeInputStyle?: CSSProperties;
|
|
11
|
-
onFinish?: (value: string, target: HTMLInputElement) => void;
|
|
12
|
-
containerProp?: BoxProps;
|
|
13
|
-
onBack?: (target: HTMLElement) => void;
|
|
14
|
-
readonly?: boolean;
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
isError?: boolean;
|
|
17
|
-
}
|
|
18
|
-
declare const OTPInput: FC<OTPInputProps>;
|
|
19
|
-
export default OTPInput;
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useMemo, useState } from 'react';
|
|
3
|
-
//@3rd Party
|
|
4
|
-
//---------------------------------------------------------------------------
|
|
5
|
-
//@Mui
|
|
6
|
-
import Box from '@mui/material/Box';
|
|
7
|
-
import { useTheme } from '@mui/material/styles';
|
|
8
|
-
import Divider from '@mui/material/Divider';
|
|
9
|
-
import { ClickAwayListener } from '@mui/material';
|
|
10
|
-
const OTPInput = ({ valueLength, value, onChange, size = 'auto', gap = 2, inputStyle, activeInputStyle, onFinish = () => { }, onBack, containerProp, readonly = false, disabled = false, isError, }) => {
|
|
11
|
-
const theme = useTheme();
|
|
12
|
-
const RE_DIGIT = new RegExp(/^\d+$/);
|
|
13
|
-
const [activeInput, setActiveInput] = useState();
|
|
14
|
-
const valueItems = useMemo(() => {
|
|
15
|
-
const valueArray = value ? value.split('') : [];
|
|
16
|
-
const items = [];
|
|
17
|
-
for (let i = 0; i < valueLength; i++) {
|
|
18
|
-
const char = valueArray[i];
|
|
19
|
-
if (RE_DIGIT.test(char)) {
|
|
20
|
-
items.push(char);
|
|
21
|
-
}
|
|
22
|
-
else {
|
|
23
|
-
items.push('');
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
return items;
|
|
27
|
-
}, [value, valueLength]);
|
|
28
|
-
const focusToNextInput = (target, newValue) => {
|
|
29
|
-
const nextElementSibling = target?.parentElement?.nextElementSibling
|
|
30
|
-
?.children[0];
|
|
31
|
-
if (nextElementSibling) {
|
|
32
|
-
nextElementSibling.focus();
|
|
33
|
-
}
|
|
34
|
-
else {
|
|
35
|
-
if (newValue) {
|
|
36
|
-
onFinish(newValue || '', target);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
const focusToPrevInput = (target) => {
|
|
41
|
-
const previousElementSibling = target?.parentElement?.previousElementSibling
|
|
42
|
-
?.children[0];
|
|
43
|
-
if (previousElementSibling) {
|
|
44
|
-
previousElementSibling.focus();
|
|
45
|
-
}
|
|
46
|
-
else {
|
|
47
|
-
if (onBack) {
|
|
48
|
-
onBack(target);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
const inputOnChange = (e, idx) => {
|
|
53
|
-
const target = e.target;
|
|
54
|
-
let targetValue = target.value;
|
|
55
|
-
const isTargetValueDigit = RE_DIGIT.test(targetValue);
|
|
56
|
-
if (!isTargetValueDigit && targetValue !== '') {
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
|
-
const nextInputEl = target?.parentElement?.nextElementSibling
|
|
60
|
-
?.children[0];
|
|
61
|
-
// only delete digit if next input element has no value
|
|
62
|
-
if (!isTargetValueDigit && nextInputEl && nextInputEl.value !== '') {
|
|
63
|
-
return;
|
|
64
|
-
}
|
|
65
|
-
targetValue = isTargetValueDigit ? targetValue : ' ';
|
|
66
|
-
const targetValueLength = targetValue.length;
|
|
67
|
-
if (targetValueLength === 1) {
|
|
68
|
-
const newValue = value?.substring(0, idx) + targetValue + value?.substring(idx + 1);
|
|
69
|
-
onChange(newValue);
|
|
70
|
-
if (!isTargetValueDigit) {
|
|
71
|
-
return;
|
|
72
|
-
}
|
|
73
|
-
focusToNextInput(target, newValue);
|
|
74
|
-
}
|
|
75
|
-
else if (targetValueLength === valueLength) {
|
|
76
|
-
onChange(targetValue);
|
|
77
|
-
target.blur();
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
const inputOnKeyDown = (e) => {
|
|
81
|
-
const { key } = e;
|
|
82
|
-
const target = e.target;
|
|
83
|
-
if (key === 'ArrowRight' || key === 'ArrowDown') {
|
|
84
|
-
e.preventDefault();
|
|
85
|
-
return focusToNextInput(target, '');
|
|
86
|
-
}
|
|
87
|
-
if (key === 'ArrowLeft' || key === 'ArrowUp') {
|
|
88
|
-
e.preventDefault();
|
|
89
|
-
return focusToPrevInput(target);
|
|
90
|
-
}
|
|
91
|
-
const targetValue = target.value;
|
|
92
|
-
// keep the selection range position
|
|
93
|
-
// if the same digit was typed
|
|
94
|
-
target.setSelectionRange(0, targetValue.length);
|
|
95
|
-
if (e.key !== 'Backspace' || target.value !== '') {
|
|
96
|
-
return;
|
|
97
|
-
}
|
|
98
|
-
focusToPrevInput(target);
|
|
99
|
-
};
|
|
100
|
-
const inputOnFocus = (e, idx) => {
|
|
101
|
-
const { target } = e;
|
|
102
|
-
setActiveInput(idx);
|
|
103
|
-
// keep focusing back until previous input
|
|
104
|
-
// element has value
|
|
105
|
-
const prevInputEl = target?.parentElement?.previousElementSibling
|
|
106
|
-
?.children[0];
|
|
107
|
-
if (prevInputEl && prevInputEl.value === '') {
|
|
108
|
-
return prevInputEl.focus();
|
|
109
|
-
}
|
|
110
|
-
target.setSelectionRange(0, target.value.length);
|
|
111
|
-
};
|
|
112
|
-
return (_jsx(Box, { id: 'otp-box-input', display: 'flex', flexDirection: 'row-reverse', gap: gap, borderColor: isError ? 'red' : theme.palette.background['1'], ...containerProp, children: valueItems.map((digit, idx) => (_jsx(ClickAwayListener, {
|
|
113
|
-
// sx={{ border: "1px solid" }}
|
|
114
|
-
onClickAway: (e) => {
|
|
115
|
-
if (idx === activeInput) {
|
|
116
|
-
// @ts-expect-error
|
|
117
|
-
if (e?.target?.tagName !== 'INPUT') {
|
|
118
|
-
setActiveInput(undefined);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}, children: _jsxs(Box, { position: 'relative', width: size === 'auto' ? '100%' : size, height: size === 'auto' ? '100%' : size, display: 'flex', borderColor: 'inherit', sx: {
|
|
122
|
-
'& input:focus-visible': {
|
|
123
|
-
outline: 'none',
|
|
124
|
-
},
|
|
125
|
-
}, children: [_jsx("input", { disabled: disabled, readOnly: readonly, type: 'text', inputMode: 'numeric', autoComplete: 'one-time-code', pattern: '\\d{1}', maxLength: valueLength, style: activeInput === idx
|
|
126
|
-
? {
|
|
127
|
-
width: '100%',
|
|
128
|
-
height: '100%',
|
|
129
|
-
borderColor: 'inherit',
|
|
130
|
-
borderRadius: 6,
|
|
131
|
-
fontFamily: 'inherit',
|
|
132
|
-
border: '1px solid',
|
|
133
|
-
textAlign: 'center',
|
|
134
|
-
fontWeight: 500,
|
|
135
|
-
color: theme.palette.text.primary,
|
|
136
|
-
backgroundColor: theme.palette.background['paper'],
|
|
137
|
-
...inputStyle,
|
|
138
|
-
...activeInputStyle,
|
|
139
|
-
}
|
|
140
|
-
: {
|
|
141
|
-
width: '100%',
|
|
142
|
-
height: '100%',
|
|
143
|
-
border: '1px solid',
|
|
144
|
-
textAlign: 'center',
|
|
145
|
-
borderColor: 'inherit',
|
|
146
|
-
borderRadius: 6,
|
|
147
|
-
fontFamily: 'inherit',
|
|
148
|
-
fontWeight: 500,
|
|
149
|
-
color: theme.palette.text.primary,
|
|
150
|
-
backgroundColor: theme.palette.background['paper'],
|
|
151
|
-
...inputStyle,
|
|
152
|
-
}, value: digit, onChange: (e) => inputOnChange(e, idx), onKeyDown: inputOnKeyDown, onFocus: (e) => inputOnFocus(e, idx) }), _jsx(Divider, { sx: {
|
|
153
|
-
width: '40%',
|
|
154
|
-
position: 'absolute',
|
|
155
|
-
bottom: '20%',
|
|
156
|
-
left: '50%',
|
|
157
|
-
transform: 'translate(-50%, 50%)',
|
|
158
|
-
// borderColor: (theme) => theme.palette.primary.back,
|
|
159
|
-
} })] }, idx) }, idx))) }));
|
|
160
|
-
};
|
|
161
|
-
export default OTPInput;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from "react";
|
|
2
|
-
import { TypographyProps } from "@mui/material/Typography";
|
|
3
|
-
import { StackProps } from "@mui/material/Stack";
|
|
4
|
-
import { BoxProps, ButtonProps } from "@mui/material";
|
|
5
|
-
export interface IRichTooltipProps {
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
title: string;
|
|
8
|
-
titleProps?: TypographyProps;
|
|
9
|
-
description: string;
|
|
10
|
-
descriptionProps?: TypographyProps;
|
|
11
|
-
containerProps?: StackProps;
|
|
12
|
-
actionProps?: BoxProps;
|
|
13
|
-
confirmProps?: ButtonProps;
|
|
14
|
-
cancelProps?: ButtonProps;
|
|
15
|
-
withoutAction?: boolean;
|
|
16
|
-
}
|
|
17
|
-
declare const RichTooltip: FC<IRichTooltipProps>;
|
|
18
|
-
export default RichTooltip;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import Box from "@mui/material/Box";
|
|
3
|
-
import Typography from "@mui/material/Typography";
|
|
4
|
-
import Stack from "@mui/material/Stack";
|
|
5
|
-
import { Button, useTheme } from "@mui/material";
|
|
6
|
-
const RichTooltip = ({ children, title, titleProps, description, descriptionProps, withoutAction = false, containerProps, actionProps, confirmProps, cancelProps,
|
|
7
|
-
// onConfirmButton,
|
|
8
|
-
// onCancelButton,
|
|
9
|
-
}) => {
|
|
10
|
-
const { sx, ...rest } = containerProps || {};
|
|
11
|
-
const theme = useTheme();
|
|
12
|
-
return (_jsx(_Fragment, { children: _jsxs(Stack, { gap: 2, justifyContent: "start", alignItems: "start", sx: {
|
|
13
|
-
boxShadow: "0px 2px 6px 2px rgba(0, 0, 0, 0.10), 0px 1px 1px 0px rgba(0, 0, 0, 0.10)",
|
|
14
|
-
backgroundColor: theme.palette.background.paper,
|
|
15
|
-
width: 300,
|
|
16
|
-
px: 4,
|
|
17
|
-
py: 3,
|
|
18
|
-
borderRadius: 4,
|
|
19
|
-
...sx,
|
|
20
|
-
}, ...rest, children: [_jsxs(Stack, { width: "100%", children: [_jsx(Typography
|
|
21
|
-
// textAlign="start"
|
|
22
|
-
, {
|
|
23
|
-
// textAlign="start"
|
|
24
|
-
sx: { mb: 1 }, color: theme.palette.text.primary, fontSize: 14, fontWeight: 500, ...titleProps, children: title }), _jsx(Typography
|
|
25
|
-
// textAlign="left"
|
|
26
|
-
, {
|
|
27
|
-
// textAlign="left"
|
|
28
|
-
fontSize: 14, fontWeight: 400, color: theme.palette.text.primary, sx: { wordWrap: "break-word" }, ...descriptionProps, children: description })] }), !withoutAction && (_jsxs(Box, { display: "flex",
|
|
29
|
-
// flexDirection="row-reverse"
|
|
30
|
-
width: "100%", gap: 2, justifyContent: "left", ...actionProps, children: [confirmProps?.onClick && (_jsx(Button, { size: "small", ...confirmProps, children: confirmProps?.title ?? "تایید" })), cancelProps?.onClick && (_jsx(Button, { size: "small", variant: "outlined", ...cancelProps, children: cancelProps?.title ?? "لغو" })), !cancelProps?.onClick && !confirmProps?.onClick && children] }))] }) }));
|
|
31
|
-
};
|
|
32
|
-
export default RichTooltip;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from "react";
|
|
2
|
-
import { TFormTheme } from "../components/input-list/type";
|
|
3
|
-
export interface ICustomInputs {
|
|
4
|
-
}
|
|
5
|
-
interface InputContextType {
|
|
6
|
-
customInputs?: ICustomInputs[];
|
|
7
|
-
theme?: TFormTheme;
|
|
8
|
-
}
|
|
9
|
-
export interface IFormProvider {
|
|
10
|
-
children: ReactNode;
|
|
11
|
-
customInputs?: ICustomInputs[];
|
|
12
|
-
theme?: TFormTheme;
|
|
13
|
-
}
|
|
14
|
-
declare const FormProvider: FC<IFormProvider>;
|
|
15
|
-
export declare const useFormContext: () => InputContextType;
|
|
16
|
-
export default FormProvider;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { createContext, useContext } from "react";
|
|
3
|
-
const FormContext = createContext(undefined);
|
|
4
|
-
const FormProvider = ({ children, customInputs, theme, }) => {
|
|
5
|
-
return (_jsx(FormContext.Provider, { value: { customInputs, theme }, children: children }));
|
|
6
|
-
};
|
|
7
|
-
export const useFormContext = () => useContext(FormContext) || {};
|
|
8
|
-
export default FormProvider;
|
package/dist/icons/Add.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SVGProps } from "react";
|
|
2
|
-
interface Props extends SVGProps<any> {
|
|
3
|
-
primarycolor?: string;
|
|
4
|
-
secondarycolor?: string;
|
|
5
|
-
}
|
|
6
|
-
declare const SvgAdd: ({ primarycolor, secondarycolor, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default SvgAdd;
|
package/dist/icons/Add.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
const SvgAdd = ({ primarycolor, secondarycolor, ...props }) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: secondarycolor || "none", viewBox: "0 0 24 24", ...props, children: _jsx("path", { stroke: primarycolor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M6 12h12M12 18V6" }) }));
|
|
3
|
-
export default SvgAdd;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SVGProps } from "react";
|
|
2
|
-
interface Props extends SVGProps<any> {
|
|
3
|
-
primarycolor?: string;
|
|
4
|
-
secondarycolor?: string;
|
|
5
|
-
}
|
|
6
|
-
declare const SvgArrowDown: ({ primarycolor, secondarycolor, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default SvgArrowDown;
|
package/dist/icons/ArrowDown.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
const SvgArrowDown = ({ primarycolor, secondarycolor, ...props }) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: secondarycolor || "none", viewBox: "0 0 24 24", ...props, children: _jsx("path", { stroke: primarycolor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeMiterlimit: 10, strokeWidth: 1.5, d: "m19.92 8.95-6.52 6.52c-.77.77-2.03.77-2.8 0L4.08 8.95" }) }));
|
|
3
|
-
export default SvgArrowDown;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SVGProps } from "react";
|
|
2
|
-
interface Props extends SVGProps<any> {
|
|
3
|
-
primarycolor?: string;
|
|
4
|
-
secondarycolor?: string;
|
|
5
|
-
}
|
|
6
|
-
declare const SvgArrowLeft1: ({ primarycolor, secondarycolor, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default SvgArrowLeft1;
|
package/dist/icons/ArrowLeft1.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
const SvgArrowLeft1 = ({ primarycolor, secondarycolor, ...props }) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: secondarycolor || "none", viewBox: "0 0 24 24", ...props, children: _jsx("path", { stroke: primarycolor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeMiterlimit: 10, strokeWidth: 1.5, d: "M15 19.92 8.48 13.4c-.77-.77-.77-2.03 0-2.8L15 4.08" }) }));
|
|
3
|
-
export default SvgArrowLeft1;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SVGProps } from "react";
|
|
2
|
-
interface Props extends SVGProps<any> {
|
|
3
|
-
primarycolor?: string;
|
|
4
|
-
secondarycolor?: string;
|
|
5
|
-
}
|
|
6
|
-
declare const SvgArrowRight1: ({ primarycolor, secondarycolor, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default SvgArrowRight1;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
const SvgArrowRight1 = ({ primarycolor, secondarycolor, ...props }) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: secondarycolor || "none", viewBox: "0 0 24 24", ...props, children: _jsx("path", { stroke: primarycolor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeMiterlimit: 10, strokeWidth: 1.5, d: "m8.91 19.92 6.52-6.52c.77-.77.77-2.03 0-2.8L8.91 4.08" }) }));
|
|
3
|
-
export default SvgArrowRight1;
|
package/dist/icons/Calendar.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SVGProps } from "react";
|
|
2
|
-
interface Props extends SVGProps<any> {
|
|
3
|
-
primarycolor?: string;
|
|
4
|
-
secondarycolor?: string;
|
|
5
|
-
}
|
|
6
|
-
declare const SvgCalendar: ({ primarycolor, secondarycolor, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default SvgCalendar;
|
package/dist/icons/Calendar.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
const SvgCalendar = ({ primarycolor, secondarycolor, ...props }) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: secondarycolor || "none", viewBox: "0 0 24 24", ...props, children: [_jsx("path", { stroke: primarycolor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeMiterlimit: 10, strokeWidth: 1.5, d: "M8 2v3M16 2v3M3.5 9.09h17M21 8.5V17c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5V8.5c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5" }), _jsx("path", { stroke: primarycolor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M15.695 13.7h.009M15.695 16.7h.009M11.996 13.7h.008M11.996 16.7h.008M8.294 13.7h.01M8.294 16.7h.01" })] }));
|
|
3
|
-
export default SvgCalendar;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SVGProps } from "react";
|
|
2
|
-
interface Props extends SVGProps<any> {
|
|
3
|
-
primarycolor?: string;
|
|
4
|
-
secondarycolor?: string;
|
|
5
|
-
}
|
|
6
|
-
declare const SvgCloseCircle: ({ primarycolor, secondarycolor, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default SvgCloseCircle;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
const SvgCloseCircle = ({ primarycolor, secondarycolor, ...props }) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: secondarycolor || "none", viewBox: "0 0 24 24", ...props, children: _jsx("path", { stroke: primarycolor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10M9.17 14.83l5.66-5.66M14.83 14.83 9.17 9.17" }) }));
|
|
3
|
-
export default SvgCloseCircle;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SVGProps } from "react";
|
|
2
|
-
interface Props extends SVGProps<any> {
|
|
3
|
-
primarycolor?: string;
|
|
4
|
-
secondarycolor?: string;
|
|
5
|
-
}
|
|
6
|
-
declare const SvgDocumentDownload: ({ primarycolor, secondarycolor, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default SvgDocumentDownload;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
const SvgDocumentDownload = ({ primarycolor, secondarycolor, ...props }) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: secondarycolor || "none", viewBox: "0 0 24 24", ...props, children: [_jsx("path", { stroke: primarycolor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M9 11v6l2-2M9 17l-2-2" }), _jsx("path", { stroke: primarycolor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M22 10v5c0 5-2 7-7 7H9c-5 0-7-2-7-7V9c0-5 2-7 7-7h5" }), _jsx("path", { stroke: primarycolor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M22 10h-4c-3 0-4-1-4-4V2z" })] }));
|
|
3
|
-
export default SvgDocumentDownload;
|
package/dist/icons/Eye.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SVGProps } from "react";
|
|
2
|
-
interface Props extends SVGProps<any> {
|
|
3
|
-
primarycolor?: string;
|
|
4
|
-
secondarycolor?: string;
|
|
5
|
-
}
|
|
6
|
-
declare const SvgEye: ({ primarycolor, secondarycolor, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default SvgEye;
|
package/dist/icons/Eye.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
const SvgEye = ({ primarycolor, secondarycolor, ...props }) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: secondarycolor || "none", viewBox: "0 0 24 24", ...props, children: [_jsx("path", { stroke: primarycolor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M15.58 12c0 1.98-1.6 3.58-3.58 3.58S8.42 13.98 8.42 12s1.6-3.58 3.58-3.58 3.58 1.6 3.58 3.58" }), _jsx("path", { stroke: primarycolor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M12 20.27c3.53 0 6.82-2.08 9.11-5.68.9-1.41.9-3.78 0-5.19-2.29-3.6-5.58-5.68-9.11-5.68-3.53 0-6.82 2.08-9.11 5.68-.9 1.41-.9 3.78 0 5.19 2.29 3.6 5.58 5.68 9.11 5.68" })] }));
|
|
3
|
-
export default SvgEye;
|
package/dist/icons/EyeSlash.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SVGProps } from "react";
|
|
2
|
-
interface Props extends SVGProps<any> {
|
|
3
|
-
primarycolor?: string;
|
|
4
|
-
secondarycolor?: string;
|
|
5
|
-
}
|
|
6
|
-
declare const SvgEyeSlash: ({ primarycolor, secondarycolor, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default SvgEyeSlash;
|
package/dist/icons/EyeSlash.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
const SvgEyeSlash = ({ primarycolor, secondarycolor, ...props }) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: secondarycolor || "none", viewBox: "0 0 24 24", ...props, children: [_jsx("path", { stroke: primarycolor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "m14.53 9.47-5.06 5.06a3.576 3.576 0 1 1 5.06-5.06" }), _jsx("path", { stroke: primarycolor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M17.82 5.77C16.07 4.45 14.07 3.73 12 3.73c-3.53 0-6.82 2.08-9.11 5.68-.9 1.41-.9 3.78 0 5.19.79 1.24 1.71 2.31 2.71 3.17M8.42 19.53c1.14.48 2.35.74 3.58.74 3.53 0 6.82-2.08 9.11-5.68.9-1.41.9-3.78 0-5.19-.33-.52-.69-1.01-1.06-1.47" }), _jsx("path", { stroke: primarycolor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M15.51 12.7a3.565 3.565 0 0 1-2.82 2.82M9.47 14.53 2 22M22 2l-7.47 7.47" })] }));
|
|
3
|
-
export default SvgEyeSlash;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SVGProps } from "react";
|
|
2
|
-
interface Props extends SVGProps<any> {
|
|
3
|
-
primarycolor?: string;
|
|
4
|
-
secondarycolor?: string;
|
|
5
|
-
}
|
|
6
|
-
declare const SvgFolderAdd: ({ primarycolor, secondarycolor, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default SvgFolderAdd;
|
package/dist/icons/FolderAdd.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
const SvgFolderAdd = ({ primarycolor, secondarycolor, ...props }) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: secondarycolor || "none", viewBox: "0 0 24 24", ...props, children: [_jsx("path", { stroke: primarycolor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeMiterlimit: 10, strokeWidth: 1.5, d: "M12.06 16.5v-5M14.5 14h-5" }), _jsx("path", { stroke: primarycolor || "#1A1A1A", strokeMiterlimit: 10, strokeWidth: 1.5, d: "M22 11v6c0 4-1 5-5 5H7c-4 0-5-1-5-5V7c0-4 1-5 5-5h1.5c1.5 0 1.83.44 2.4 1.2l1.5 2c.38.5.6.8 1.6.8h3c4 0 5 1 5 5Z" })] }));
|
|
3
|
-
export default SvgFolderAdd;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SVGProps } from "react";
|
|
2
|
-
interface Props extends SVGProps<any> {
|
|
3
|
-
primarycolor?: string;
|
|
4
|
-
secondarycolor?: string;
|
|
5
|
-
}
|
|
6
|
-
declare const SvgInfoCircle: ({ primarycolor, secondarycolor, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default SvgInfoCircle;
|
package/dist/icons/InfoCircle.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
const SvgInfoCircle = ({ primarycolor, secondarycolor, ...props }) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: secondarycolor || "none", viewBox: "0 0 24 24", ...props, children: [_jsx("path", { stroke: primarycolor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10M12 8v5" }), _jsx("path", { stroke: primarycolor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M11.995 16h.009" })] }));
|
|
3
|
-
export default SvgInfoCircle;
|
package/dist/icons/Tick.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SVGProps } from "react";
|
|
2
|
-
interface Props extends SVGProps<any> {
|
|
3
|
-
primarycolor?: string;
|
|
4
|
-
secondarycolor?: string;
|
|
5
|
-
}
|
|
6
|
-
declare const SvgTick: ({ primarycolor, secondarycolor, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default SvgTick;
|
package/dist/icons/Tick.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
const SvgTick = ({ primarycolor, secondarycolor, ...props }) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: secondarycolor || "none", viewBox: "0 0 24 24", ...props, children: _jsx("path", { stroke: primarycolor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "m7.75 12 2.83 2.83 5.67-5.66" }) }));
|
|
3
|
-
export default SvgTick;
|
package/dist/icons/Trash.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SVGProps } from "react";
|
|
2
|
-
interface Props extends SVGProps<any> {
|
|
3
|
-
primarycolor?: string;
|
|
4
|
-
secondarycolor?: string;
|
|
5
|
-
}
|
|
6
|
-
declare const SvgTrash: ({ primarycolor, secondarycolor, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default SvgTrash;
|
package/dist/icons/Trash.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
const SvgTrash = ({ primarycolor, secondarycolor, ...props }) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: secondarycolor || "none", viewBox: "0 0 24 24", ...props, children: _jsx("path", { stroke: primarycolor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M21 5.98c-3.33-.33-6.68-.5-10.02-.5-1.98 0-3.96.1-5.94.3L3 5.98M8.5 4.97l.22-1.31C8.88 2.71 9 2 10.69 2h2.62c1.69 0 1.82.75 1.97 1.67l.22 1.3M18.85 9.14l-.65 10.07C18.09 20.78 18 22 15.21 22H8.79C6 22 5.91 20.78 5.8 19.21L5.15 9.14M10.33 16.5h3.33M9.5 12.5h5" }) }));
|
|
3
|
-
export default SvgTrash;
|
package/dist/icons/Union.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SVGProps } from "react";
|
|
2
|
-
interface Props extends SVGProps<any> {
|
|
3
|
-
primarycolor?: string;
|
|
4
|
-
secondarycolor?: string;
|
|
5
|
-
}
|
|
6
|
-
declare const SvgUnion: ({ primarycolor, secondarycolor, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default SvgUnion;
|
package/dist/icons/Union.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
const SvgUnion = ({ primarycolor, secondarycolor, ...props }) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 14, height: 19, fill: secondarycolor || "none", viewBox: "0 0 14 19", ...props, children: _jsx("path", { fill: primarycolor || "#1A1A1A", fillRule: "evenodd", d: "M8.534 2.106a.75.75 0 0 0-1.07-1.052l-6.407 6.52a2.76 2.76 0 0 0 0 3.852l6.407 6.52a.75.75 0 0 0 1.07-1.052l-6.407-6.52a1.26 1.26 0 0 1 0-1.748l6.407-6.52Zm4.977 0a.75.75 0 1 0-1.07-1.052l-6.408 6.52a2.76 2.76 0 0 0 0 3.852l6.408 6.52a.75.75 0 0 0 1.07-1.052l-6.408-6.52a1.26 1.26 0 0 1 0-1.748l6.408-6.52Z", clipRule: "evenodd" }) }));
|
|
3
|
-
export default SvgUnion;
|