@verma-consulting/design-library 0.1.36 → 0.1.38
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/README.md +0 -1
- package/dist/index.d.mts +2 -19
- package/dist/index.d.ts +2 -19
- package/dist/index.js +349 -421
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +254 -334
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -58,7 +58,6 @@ The library re-exports **all of `@mui/material`**, so you can use MUI components
|
|
|
58
58
|
| [FormDrawer](./docs/FormDrawer.md) | Side/bottom drawer for forms with optional actions. |
|
|
59
59
|
| [FormPopover](./docs/FormPopover.md) | Popover triggered by an icon button (e.g. row actions). |
|
|
60
60
|
| [FormSnackBar](./docs/FormSnackBar.md) | Snackbar for form success/error messages. |
|
|
61
|
-
| [ClearableSelect](./docs/ClearableSelect.md) | Select with optional clear and view/edit modes. |
|
|
62
61
|
| [SearchableSelect](./docs/SearchableSelect.md) | Searchable single/multi select with view/edit modes. |
|
|
63
62
|
| [PhoneNumberField](./docs/PhoneNumberField.md) | Phone input with country code and E.164 output. |
|
|
64
63
|
| [InputFileUpload](./docs/InputFileUpload.md) | Button that opens a file picker. |
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { SelectChangeEvent } from '@mui/material';
|
|
2
1
|
export * from '@mui/material';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import React__default, { FC } from 'react';
|
|
5
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
5
|
import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
|
|
7
6
|
import * as _mui_material_TablePagination from '@mui/material/TablePagination';
|
|
8
7
|
import _mui_material_TablePagination__default, { LabelDisplayedRowsArgs } from '@mui/material/TablePagination';
|
|
@@ -11,22 +10,6 @@ export { makeStyles } from '@mui/styles';
|
|
|
11
10
|
import { SwitchProps } from '@mui/material/Switch';
|
|
12
11
|
import { userStatus, GenericPayload } from '@verma-consulting/common-library';
|
|
13
12
|
|
|
14
|
-
interface ClearableSelectProps {
|
|
15
|
-
name: string;
|
|
16
|
-
label: string;
|
|
17
|
-
value: string | number | (string | number)[];
|
|
18
|
-
onChange: (event: SelectChangeEvent<string | number | (string | number)[]>) => void;
|
|
19
|
-
size?: "small" | "medium";
|
|
20
|
-
style?: React__default.CSSProperties;
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
onClear?: () => void;
|
|
23
|
-
multiple?: boolean;
|
|
24
|
-
defaultEditMode?: boolean;
|
|
25
|
-
renderValue?: () => null;
|
|
26
|
-
children: React__default.ReactNode;
|
|
27
|
-
}
|
|
28
|
-
declare const ClearableSelect: React__default.FC<ClearableSelectProps>;
|
|
29
|
-
|
|
30
13
|
interface TabPanelProps {
|
|
31
14
|
children?: React__default.ReactNode;
|
|
32
15
|
index: number;
|
|
@@ -206,4 +189,4 @@ interface PhoneNumberFieldProps {
|
|
|
206
189
|
}
|
|
207
190
|
declare const PhoneNumberField: React__default.FC<PhoneNumberFieldProps>;
|
|
208
191
|
|
|
209
|
-
export {
|
|
192
|
+
export { EmptyState, FormDialog, FormDrawer, FormPopover, FormSnackBar, IOSSwitch, ImageUploadAvatar, InputFileUpload, Loader, Logo, PhoneNumberField, Pill, SearchableSelect, SkeletonBar, StatusPill, TabPanel, TablePagination, type TablePaginationDesignProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { SelectChangeEvent } from '@mui/material';
|
|
2
1
|
export * from '@mui/material';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import React__default, { FC } from 'react';
|
|
5
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
5
|
import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
|
|
7
6
|
import * as _mui_material_TablePagination from '@mui/material/TablePagination';
|
|
8
7
|
import _mui_material_TablePagination__default, { LabelDisplayedRowsArgs } from '@mui/material/TablePagination';
|
|
@@ -11,22 +10,6 @@ export { makeStyles } from '@mui/styles';
|
|
|
11
10
|
import { SwitchProps } from '@mui/material/Switch';
|
|
12
11
|
import { userStatus, GenericPayload } from '@verma-consulting/common-library';
|
|
13
12
|
|
|
14
|
-
interface ClearableSelectProps {
|
|
15
|
-
name: string;
|
|
16
|
-
label: string;
|
|
17
|
-
value: string | number | (string | number)[];
|
|
18
|
-
onChange: (event: SelectChangeEvent<string | number | (string | number)[]>) => void;
|
|
19
|
-
size?: "small" | "medium";
|
|
20
|
-
style?: React__default.CSSProperties;
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
onClear?: () => void;
|
|
23
|
-
multiple?: boolean;
|
|
24
|
-
defaultEditMode?: boolean;
|
|
25
|
-
renderValue?: () => null;
|
|
26
|
-
children: React__default.ReactNode;
|
|
27
|
-
}
|
|
28
|
-
declare const ClearableSelect: React__default.FC<ClearableSelectProps>;
|
|
29
|
-
|
|
30
13
|
interface TabPanelProps {
|
|
31
14
|
children?: React__default.ReactNode;
|
|
32
15
|
index: number;
|
|
@@ -206,4 +189,4 @@ interface PhoneNumberFieldProps {
|
|
|
206
189
|
}
|
|
207
190
|
declare const PhoneNumberField: React__default.FC<PhoneNumberFieldProps>;
|
|
208
191
|
|
|
209
|
-
export {
|
|
192
|
+
export { EmptyState, FormDialog, FormDrawer, FormPopover, FormSnackBar, IOSSwitch, ImageUploadAvatar, InputFileUpload, Loader, Logo, PhoneNumberField, Pill, SearchableSelect, SkeletonBar, StatusPill, TabPanel, TablePagination, type TablePaginationDesignProps };
|