dhanasekar-ui 1.2.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-2CO3UUBT.js +170 -0
- package/dist/chunk-2CO3UUBT.js.map +1 -0
- package/dist/chunk-3HGMPMXD.js +61 -0
- package/dist/chunk-3HGMPMXD.js.map +1 -0
- package/dist/chunk-46U234GX.mjs +42 -0
- package/dist/chunk-46U234GX.mjs.map +1 -0
- package/dist/chunk-5FU43BWK.mjs +121 -0
- package/dist/chunk-5FU43BWK.mjs.map +1 -0
- package/dist/chunk-7XVF6WPJ.js +108 -0
- package/dist/chunk-7XVF6WPJ.js.map +1 -0
- package/dist/{chunk-GNMGJBBO.mjs → chunk-AK3NQBYU.mjs} +3 -3
- package/dist/chunk-AK3NQBYU.mjs.map +1 -0
- package/dist/chunk-ALCHPZY6.js +149 -0
- package/dist/chunk-ALCHPZY6.js.map +1 -0
- package/dist/chunk-BNBEIMM2.mjs +61 -0
- package/dist/chunk-BNBEIMM2.mjs.map +1 -0
- package/dist/chunk-BQVXQWPS.mjs +129 -0
- package/dist/chunk-BQVXQWPS.mjs.map +1 -0
- package/dist/chunk-DBSBLGGH.js +40 -0
- package/dist/chunk-DBSBLGGH.js.map +1 -0
- package/dist/chunk-DVDVLGDJ.js +121 -0
- package/dist/chunk-DVDVLGDJ.js.map +1 -0
- package/dist/chunk-EN76JE3Y.js +64 -0
- package/dist/chunk-EN76JE3Y.js.map +1 -0
- package/dist/chunk-FLTDFXE3.mjs +170 -0
- package/dist/chunk-FLTDFXE3.mjs.map +1 -0
- package/dist/chunk-GSRVWW2G.mjs +177 -0
- package/dist/chunk-GSRVWW2G.mjs.map +1 -0
- package/dist/chunk-GZGTDLFV.js +72 -0
- package/dist/chunk-GZGTDLFV.js.map +1 -0
- package/dist/chunk-HGGQFNUJ.mjs +2 -0
- package/dist/chunk-HGGQFNUJ.mjs.map +1 -0
- package/dist/chunk-HWD2HCCH.js +129 -0
- package/dist/chunk-HWD2HCCH.js.map +1 -0
- package/dist/chunk-I6OJHQZX.mjs +2 -0
- package/dist/chunk-I6OJHQZX.mjs.map +1 -0
- package/dist/chunk-ISHUTZ36.js +42 -0
- package/dist/chunk-ISHUTZ36.js.map +1 -0
- package/dist/chunk-JC4TJWCY.mjs +97 -0
- package/dist/chunk-JC4TJWCY.mjs.map +1 -0
- package/dist/chunk-JM6DZDO3.js +87 -0
- package/dist/chunk-JM6DZDO3.js.map +1 -0
- package/dist/chunk-KUXDQANJ.mjs +72 -0
- package/dist/chunk-KUXDQANJ.mjs.map +1 -0
- package/dist/chunk-LIBHUJ27.js +2 -0
- package/dist/chunk-LIBHUJ27.js.map +1 -0
- package/dist/chunk-MALTBURB.mjs +64 -0
- package/dist/chunk-MALTBURB.mjs.map +1 -0
- package/dist/chunk-MLURKSJZ.js +2 -0
- package/dist/chunk-MLURKSJZ.js.map +1 -0
- package/dist/chunk-MOC6N23X.mjs +151 -0
- package/dist/chunk-MOC6N23X.mjs.map +1 -0
- package/dist/chunk-P5HHRCE5.js +198 -0
- package/dist/chunk-P5HHRCE5.js.map +1 -0
- package/dist/chunk-PL2R3LYL.mjs +198 -0
- package/dist/chunk-PL2R3LYL.mjs.map +1 -0
- package/dist/chunk-PPQ7NSV3.js +97 -0
- package/dist/chunk-PPQ7NSV3.js.map +1 -0
- package/dist/chunk-T3YOHFUU.js +177 -0
- package/dist/chunk-T3YOHFUU.js.map +1 -0
- package/dist/chunk-UCFS7EH2.mjs +40 -0
- package/dist/chunk-UCFS7EH2.mjs.map +1 -0
- package/dist/chunk-ULMQZANW.mjs +87 -0
- package/dist/chunk-ULMQZANW.mjs.map +1 -0
- package/dist/chunk-UYHBKE7G.mjs +108 -0
- package/dist/chunk-UYHBKE7G.mjs.map +1 -0
- package/dist/chunk-W5B5N6BW.mjs +149 -0
- package/dist/chunk-W5B5N6BW.mjs.map +1 -0
- package/dist/{chunk-6SVKDKK7.mjs → chunk-XWEEWNZK.mjs} +4 -4
- package/dist/chunk-XWEEWNZK.mjs.map +1 -0
- package/dist/{chunk-3RAQQWLW.js → chunk-YPMUFP2I.js} +4 -4
- package/dist/chunk-YPMUFP2I.js.map +1 -0
- package/dist/chunk-ZMB4U5RP.js +151 -0
- package/dist/chunk-ZMB4U5RP.js.map +1 -0
- package/dist/{chunk-2TXYJ7YE.js → chunk-ZPJSBORX.js} +3 -3
- package/dist/chunk-ZPJSBORX.js.map +1 -0
- package/dist/components/AppBar/index.d.mts +89 -0
- package/dist/components/AppBar/index.d.ts +89 -0
- package/dist/components/AppBar/index.js +2 -0
- package/dist/components/AppBar/index.js.map +1 -0
- package/dist/components/AppBar/index.mjs +2 -0
- package/dist/components/AppBar/index.mjs.map +1 -0
- package/dist/components/Box/index.d.mts +28 -0
- package/dist/components/Box/index.d.ts +28 -0
- package/dist/components/Box/index.js +2 -0
- package/dist/components/Box/index.js.map +1 -0
- package/dist/components/Box/index.mjs +2 -0
- package/dist/components/Box/index.mjs.map +1 -0
- package/dist/components/Container/index.d.mts +71 -0
- package/dist/components/Container/index.d.ts +71 -0
- package/dist/components/Container/index.js +2 -0
- package/dist/components/Container/index.js.map +1 -0
- package/dist/components/Container/index.mjs +2 -0
- package/dist/components/Container/index.mjs.map +1 -0
- package/dist/components/DateFilter/index.d.mts +8 -1
- package/dist/components/DateFilter/index.d.ts +8 -1
- package/dist/components/DateFilter/index.js +1 -1
- package/dist/components/DateFilter/index.mjs +1 -1
- package/dist/components/FileUploadField/index.d.mts +4 -2
- package/dist/components/FileUploadField/index.d.ts +4 -2
- package/dist/components/FileUploadField/index.js +1 -1
- package/dist/components/FileUploadField/index.mjs +1 -1
- package/dist/components/FormLayout/index.d.mts +8 -2
- package/dist/components/FormLayout/index.d.ts +8 -2
- package/dist/components/FormLayout/index.js +1 -1
- package/dist/components/FormLayout/index.mjs +1 -1
- package/dist/components/Grid/index.d.mts +48 -0
- package/dist/components/Grid/index.d.ts +48 -0
- package/dist/components/Grid/index.js +2 -0
- package/dist/components/Grid/index.js.map +1 -0
- package/dist/components/Grid/index.mjs +2 -0
- package/dist/components/Grid/index.mjs.map +1 -0
- package/dist/components/List/index.d.mts +98 -0
- package/dist/components/List/index.d.ts +98 -0
- package/dist/components/List/index.js +2 -0
- package/dist/components/List/index.js.map +1 -0
- package/dist/components/List/index.mjs +2 -0
- package/dist/components/List/index.mjs.map +1 -0
- package/dist/components/Navigator/index.d.mts +87 -0
- package/dist/components/Navigator/index.d.ts +87 -0
- package/dist/components/Navigator/index.js +2 -0
- package/dist/components/Navigator/index.js.map +1 -0
- package/dist/components/Navigator/index.mjs +2 -0
- package/dist/components/Navigator/index.mjs.map +1 -0
- package/dist/components/Pagination/index.d.mts +89 -0
- package/dist/components/Pagination/index.d.ts +89 -0
- package/dist/components/Pagination/index.js +2 -0
- package/dist/components/Pagination/index.js.map +1 -0
- package/dist/components/Pagination/index.mjs +2 -0
- package/dist/components/Pagination/index.mjs.map +1 -0
- package/dist/components/PdfImageUpload/index.d.mts +30 -0
- package/dist/components/PdfImageUpload/index.d.ts +30 -0
- package/dist/components/PdfImageUpload/index.js +2 -0
- package/dist/components/PdfImageUpload/index.js.map +1 -0
- package/dist/components/PdfImageUpload/index.mjs +2 -0
- package/dist/components/PdfImageUpload/index.mjs.map +1 -0
- package/dist/components/Progress/index.d.mts +52 -0
- package/dist/components/Progress/index.d.ts +52 -0
- package/dist/components/Progress/index.js +2 -0
- package/dist/components/Progress/index.js.map +1 -0
- package/dist/components/Progress/index.mjs +2 -0
- package/dist/components/Progress/index.mjs.map +1 -0
- package/dist/components/RadioGroup/index.d.mts +99 -0
- package/dist/components/RadioGroup/index.d.ts +99 -0
- package/dist/components/RadioGroup/index.js +2 -0
- package/dist/components/RadioGroup/index.js.map +1 -0
- package/dist/components/RadioGroup/index.mjs +2 -0
- package/dist/components/RadioGroup/index.mjs.map +1 -0
- package/dist/components/Skeleton/index.d.mts +45 -0
- package/dist/components/Skeleton/index.d.ts +45 -0
- package/dist/components/Skeleton/index.js +2 -0
- package/dist/components/Skeleton/index.js.map +1 -0
- package/dist/components/Skeleton/index.mjs +2 -0
- package/dist/components/Skeleton/index.mjs.map +1 -0
- package/dist/components/Slider/index.d.mts +181 -0
- package/dist/components/Slider/index.d.ts +181 -0
- package/dist/components/Slider/index.js +2 -0
- package/dist/components/Slider/index.js.map +1 -0
- package/dist/components/Slider/index.mjs +2 -0
- package/dist/components/Slider/index.mjs.map +1 -0
- package/dist/components/Snackbar/index.d.mts +80 -0
- package/dist/components/Snackbar/index.d.ts +80 -0
- package/dist/components/Snackbar/index.js +2 -0
- package/dist/components/Snackbar/index.js.map +1 -0
- package/dist/components/Snackbar/index.mjs +2 -0
- package/dist/components/Snackbar/index.mjs.map +1 -0
- package/dist/components/Text/index.d.mts +2 -1
- package/dist/components/Text/index.d.ts +2 -1
- package/dist/components/ToolBar/index.d.mts +60 -0
- package/dist/components/ToolBar/index.d.ts +60 -0
- package/dist/components/ToolBar/index.js +2 -0
- package/dist/components/ToolBar/index.js.map +1 -0
- package/dist/components/ToolBar/index.mjs +2 -0
- package/dist/components/ToolBar/index.mjs.map +1 -0
- package/dist/components/Tray/index.d.mts +140 -0
- package/dist/components/Tray/index.d.ts +140 -0
- package/dist/components/Tray/index.js +2 -0
- package/dist/components/Tray/index.js.map +1 -0
- package/dist/components/Tray/index.mjs +2 -0
- package/dist/components/Tray/index.mjs.map +1 -0
- package/dist/index.d.mts +16 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/types-BJWJOB_w.d.mts +5 -0
- package/dist/types-BJWJOB_w.d.ts +5 -0
- package/package.json +84 -2
- package/dist/chunk-2TXYJ7YE.js.map +0 -1
- package/dist/chunk-3RAQQWLW.js.map +0 -1
- package/dist/chunk-6SVKDKK7.mjs.map +0 -1
- package/dist/chunk-GNMGJBBO.mjs.map +0 -1
- package/dist/chunk-ZEMR63S4.js +0 -198
- package/dist/chunk-ZEMR63S4.js.map +0 -1
- package/dist/chunk-ZY5AHZYZ.mjs +0 -198
- package/dist/chunk-ZY5AHZYZ.mjs.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkYPMUFP2I_js=require('../../chunk-YPMUFP2I.js');require('../../chunk-MLURKSJZ.js');Object.defineProperty(exports,"FormLayout",{enumerable:true,get:function(){return chunkYPMUFP2I_js.a}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as FormLayout}from'../../chunk-
|
|
1
|
+
export{a as FormLayout}from'../../chunk-XWEEWNZK.mjs';import'../../chunk-HGGQFNUJ.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import react__default, { ReactNode, CSSProperties } from 'react';
|
|
2
|
+
|
|
3
|
+
type GridDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
4
|
+
type GridWrap = 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
5
|
+
type GridSize = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 'auto';
|
|
6
|
+
interface GridSizeObj {
|
|
7
|
+
xs?: GridSize;
|
|
8
|
+
sm?: GridSize;
|
|
9
|
+
md?: GridSize;
|
|
10
|
+
lg?: GridSize;
|
|
11
|
+
xl?: GridSize;
|
|
12
|
+
}
|
|
13
|
+
interface GridProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
14
|
+
/**
|
|
15
|
+
* If true, the component will have the flex container behavior.
|
|
16
|
+
*/
|
|
17
|
+
container?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Defines the space between the type item components. It can only be used on a type container component.
|
|
20
|
+
* Multiplier of 8px. e.g. spacing={2} means 16px.
|
|
21
|
+
*/
|
|
22
|
+
spacing?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Defines the flex-direction style property. It is applied for all screen sizes.
|
|
25
|
+
*/
|
|
26
|
+
direction?: GridDirection;
|
|
27
|
+
/**
|
|
28
|
+
* Defines the flex-wrap style property. It's applied for all screen sizes.
|
|
29
|
+
*/
|
|
30
|
+
wrap?: GridWrap;
|
|
31
|
+
/**
|
|
32
|
+
* Defines the number of grids the component is going to use.
|
|
33
|
+
* It's applied for the xs breakpoint and wider screens if not overridden.
|
|
34
|
+
*/
|
|
35
|
+
size?: GridSize | GridSizeObj;
|
|
36
|
+
/**
|
|
37
|
+
* Content of the grid
|
|
38
|
+
*/
|
|
39
|
+
children?: ReactNode;
|
|
40
|
+
/**
|
|
41
|
+
* Custom styles using the sx prop pattern.
|
|
42
|
+
*/
|
|
43
|
+
sx?: CSSProperties;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
declare const Grid: react__default.ForwardRefExoticComponent<GridProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
47
|
+
|
|
48
|
+
export { Grid, type GridDirection, type GridProps, type GridSize, type GridSizeObj, type GridWrap };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import react__default, { ReactNode, CSSProperties } from 'react';
|
|
2
|
+
|
|
3
|
+
type GridDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
4
|
+
type GridWrap = 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
5
|
+
type GridSize = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 'auto';
|
|
6
|
+
interface GridSizeObj {
|
|
7
|
+
xs?: GridSize;
|
|
8
|
+
sm?: GridSize;
|
|
9
|
+
md?: GridSize;
|
|
10
|
+
lg?: GridSize;
|
|
11
|
+
xl?: GridSize;
|
|
12
|
+
}
|
|
13
|
+
interface GridProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
14
|
+
/**
|
|
15
|
+
* If true, the component will have the flex container behavior.
|
|
16
|
+
*/
|
|
17
|
+
container?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Defines the space between the type item components. It can only be used on a type container component.
|
|
20
|
+
* Multiplier of 8px. e.g. spacing={2} means 16px.
|
|
21
|
+
*/
|
|
22
|
+
spacing?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Defines the flex-direction style property. It is applied for all screen sizes.
|
|
25
|
+
*/
|
|
26
|
+
direction?: GridDirection;
|
|
27
|
+
/**
|
|
28
|
+
* Defines the flex-wrap style property. It's applied for all screen sizes.
|
|
29
|
+
*/
|
|
30
|
+
wrap?: GridWrap;
|
|
31
|
+
/**
|
|
32
|
+
* Defines the number of grids the component is going to use.
|
|
33
|
+
* It's applied for the xs breakpoint and wider screens if not overridden.
|
|
34
|
+
*/
|
|
35
|
+
size?: GridSize | GridSizeObj;
|
|
36
|
+
/**
|
|
37
|
+
* Content of the grid
|
|
38
|
+
*/
|
|
39
|
+
children?: ReactNode;
|
|
40
|
+
/**
|
|
41
|
+
* Custom styles using the sx prop pattern.
|
|
42
|
+
*/
|
|
43
|
+
sx?: CSSProperties;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
declare const Grid: react__default.ForwardRefExoticComponent<GridProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
47
|
+
|
|
48
|
+
export { Grid, type GridDirection, type GridProps, type GridSize, type GridSizeObj, type GridWrap };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunkDBSBLGGH_js=require('../../chunk-DBSBLGGH.js');require('../../chunk-MLURKSJZ.js'),require('../../chunk-DDGBDWFC.js');Object.defineProperty(exports,"Grid",{enumerable:true,get:function(){return chunkDBSBLGGH_js.a}});//# sourceMappingURL=index.js.map
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { HTMLAttributes, ReactNode, CSSProperties, ElementType } from 'react';
|
|
3
|
+
|
|
4
|
+
interface ListProps<T extends ElementType = 'ul'> extends HTMLAttributes<HTMLElement> {
|
|
5
|
+
as?: T;
|
|
6
|
+
component?: ElementType;
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
className?: string;
|
|
9
|
+
dense?: boolean;
|
|
10
|
+
disablePadding?: boolean;
|
|
11
|
+
subheader?: ReactNode;
|
|
12
|
+
classes?: {
|
|
13
|
+
root?: string;
|
|
14
|
+
dense?: string;
|
|
15
|
+
padding?: string;
|
|
16
|
+
};
|
|
17
|
+
sx?: CSSProperties;
|
|
18
|
+
}
|
|
19
|
+
interface ListSubheaderProps<T extends ElementType = 'li'> extends HTMLAttributes<HTMLElement> {
|
|
20
|
+
as?: T;
|
|
21
|
+
component?: ElementType;
|
|
22
|
+
children?: ReactNode;
|
|
23
|
+
className?: string;
|
|
24
|
+
color?: 'default' | 'primary' | 'inherit';
|
|
25
|
+
disableGutters?: boolean;
|
|
26
|
+
disableSticky?: boolean;
|
|
27
|
+
inset?: boolean;
|
|
28
|
+
classes?: {
|
|
29
|
+
root?: string;
|
|
30
|
+
sticky?: string;
|
|
31
|
+
inset?: string;
|
|
32
|
+
};
|
|
33
|
+
sx?: CSSProperties;
|
|
34
|
+
}
|
|
35
|
+
interface ListItemButtonProps<T extends ElementType = 'div'> extends HTMLAttributes<HTMLElement> {
|
|
36
|
+
as?: T;
|
|
37
|
+
component?: ElementType;
|
|
38
|
+
children?: ReactNode;
|
|
39
|
+
className?: string;
|
|
40
|
+
alignItems?: 'flex-start' | 'center';
|
|
41
|
+
dense?: boolean;
|
|
42
|
+
disabled?: boolean;
|
|
43
|
+
divider?: boolean;
|
|
44
|
+
selected?: boolean;
|
|
45
|
+
disableGutters?: boolean;
|
|
46
|
+
classes?: {
|
|
47
|
+
root?: string;
|
|
48
|
+
selected?: string;
|
|
49
|
+
disabled?: string;
|
|
50
|
+
divider?: string;
|
|
51
|
+
};
|
|
52
|
+
sx?: CSSProperties;
|
|
53
|
+
}
|
|
54
|
+
interface ListItemIconProps extends HTMLAttributes<HTMLDivElement> {
|
|
55
|
+
children?: ReactNode;
|
|
56
|
+
className?: string;
|
|
57
|
+
classes?: {
|
|
58
|
+
root?: string;
|
|
59
|
+
};
|
|
60
|
+
sx?: CSSProperties;
|
|
61
|
+
}
|
|
62
|
+
interface ListItemTextProps extends HTMLAttributes<HTMLDivElement> {
|
|
63
|
+
children?: ReactNode;
|
|
64
|
+
className?: string;
|
|
65
|
+
primary?: ReactNode;
|
|
66
|
+
secondary?: ReactNode;
|
|
67
|
+
inset?: boolean;
|
|
68
|
+
disableTypography?: boolean;
|
|
69
|
+
classes?: {
|
|
70
|
+
root?: string;
|
|
71
|
+
primary?: string;
|
|
72
|
+
secondary?: string;
|
|
73
|
+
inset?: string;
|
|
74
|
+
};
|
|
75
|
+
sx?: CSSProperties;
|
|
76
|
+
}
|
|
77
|
+
interface CollapseProps extends HTMLAttributes<HTMLDivElement> {
|
|
78
|
+
children?: ReactNode;
|
|
79
|
+
className?: string;
|
|
80
|
+
in?: boolean;
|
|
81
|
+
timeout?: number | 'auto';
|
|
82
|
+
unmountOnExit?: boolean;
|
|
83
|
+
classes?: {
|
|
84
|
+
root?: string;
|
|
85
|
+
entered?: string;
|
|
86
|
+
hidden?: string;
|
|
87
|
+
};
|
|
88
|
+
sx?: CSSProperties;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
declare const List: react.ForwardRefExoticComponent<ListProps<ElementType> & react.RefAttributes<unknown>>;
|
|
92
|
+
declare const ListSubheader: react.ForwardRefExoticComponent<ListSubheaderProps<ElementType> & react.RefAttributes<unknown>>;
|
|
93
|
+
declare const ListItemButton: react.ForwardRefExoticComponent<ListItemButtonProps<ElementType> & react.RefAttributes<unknown>>;
|
|
94
|
+
declare const ListItemIcon: react.ForwardRefExoticComponent<ListItemIconProps & react.RefAttributes<unknown>>;
|
|
95
|
+
declare const ListItemText: react.ForwardRefExoticComponent<ListItemTextProps & react.RefAttributes<unknown>>;
|
|
96
|
+
declare const Collapse: react.ForwardRefExoticComponent<CollapseProps & react.RefAttributes<unknown>>;
|
|
97
|
+
|
|
98
|
+
export { Collapse, type CollapseProps, List, ListItemButton, type ListItemButtonProps, ListItemIcon, type ListItemIconProps, ListItemText, type ListItemTextProps, type ListProps, ListSubheader, type ListSubheaderProps, List as default };
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { HTMLAttributes, ReactNode, CSSProperties, ElementType } from 'react';
|
|
3
|
+
|
|
4
|
+
interface ListProps<T extends ElementType = 'ul'> extends HTMLAttributes<HTMLElement> {
|
|
5
|
+
as?: T;
|
|
6
|
+
component?: ElementType;
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
className?: string;
|
|
9
|
+
dense?: boolean;
|
|
10
|
+
disablePadding?: boolean;
|
|
11
|
+
subheader?: ReactNode;
|
|
12
|
+
classes?: {
|
|
13
|
+
root?: string;
|
|
14
|
+
dense?: string;
|
|
15
|
+
padding?: string;
|
|
16
|
+
};
|
|
17
|
+
sx?: CSSProperties;
|
|
18
|
+
}
|
|
19
|
+
interface ListSubheaderProps<T extends ElementType = 'li'> extends HTMLAttributes<HTMLElement> {
|
|
20
|
+
as?: T;
|
|
21
|
+
component?: ElementType;
|
|
22
|
+
children?: ReactNode;
|
|
23
|
+
className?: string;
|
|
24
|
+
color?: 'default' | 'primary' | 'inherit';
|
|
25
|
+
disableGutters?: boolean;
|
|
26
|
+
disableSticky?: boolean;
|
|
27
|
+
inset?: boolean;
|
|
28
|
+
classes?: {
|
|
29
|
+
root?: string;
|
|
30
|
+
sticky?: string;
|
|
31
|
+
inset?: string;
|
|
32
|
+
};
|
|
33
|
+
sx?: CSSProperties;
|
|
34
|
+
}
|
|
35
|
+
interface ListItemButtonProps<T extends ElementType = 'div'> extends HTMLAttributes<HTMLElement> {
|
|
36
|
+
as?: T;
|
|
37
|
+
component?: ElementType;
|
|
38
|
+
children?: ReactNode;
|
|
39
|
+
className?: string;
|
|
40
|
+
alignItems?: 'flex-start' | 'center';
|
|
41
|
+
dense?: boolean;
|
|
42
|
+
disabled?: boolean;
|
|
43
|
+
divider?: boolean;
|
|
44
|
+
selected?: boolean;
|
|
45
|
+
disableGutters?: boolean;
|
|
46
|
+
classes?: {
|
|
47
|
+
root?: string;
|
|
48
|
+
selected?: string;
|
|
49
|
+
disabled?: string;
|
|
50
|
+
divider?: string;
|
|
51
|
+
};
|
|
52
|
+
sx?: CSSProperties;
|
|
53
|
+
}
|
|
54
|
+
interface ListItemIconProps extends HTMLAttributes<HTMLDivElement> {
|
|
55
|
+
children?: ReactNode;
|
|
56
|
+
className?: string;
|
|
57
|
+
classes?: {
|
|
58
|
+
root?: string;
|
|
59
|
+
};
|
|
60
|
+
sx?: CSSProperties;
|
|
61
|
+
}
|
|
62
|
+
interface ListItemTextProps extends HTMLAttributes<HTMLDivElement> {
|
|
63
|
+
children?: ReactNode;
|
|
64
|
+
className?: string;
|
|
65
|
+
primary?: ReactNode;
|
|
66
|
+
secondary?: ReactNode;
|
|
67
|
+
inset?: boolean;
|
|
68
|
+
disableTypography?: boolean;
|
|
69
|
+
classes?: {
|
|
70
|
+
root?: string;
|
|
71
|
+
primary?: string;
|
|
72
|
+
secondary?: string;
|
|
73
|
+
inset?: string;
|
|
74
|
+
};
|
|
75
|
+
sx?: CSSProperties;
|
|
76
|
+
}
|
|
77
|
+
interface CollapseProps extends HTMLAttributes<HTMLDivElement> {
|
|
78
|
+
children?: ReactNode;
|
|
79
|
+
className?: string;
|
|
80
|
+
in?: boolean;
|
|
81
|
+
timeout?: number | 'auto';
|
|
82
|
+
unmountOnExit?: boolean;
|
|
83
|
+
classes?: {
|
|
84
|
+
root?: string;
|
|
85
|
+
entered?: string;
|
|
86
|
+
hidden?: string;
|
|
87
|
+
};
|
|
88
|
+
sx?: CSSProperties;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
declare const List: react.ForwardRefExoticComponent<ListProps<ElementType> & react.RefAttributes<unknown>>;
|
|
92
|
+
declare const ListSubheader: react.ForwardRefExoticComponent<ListSubheaderProps<ElementType> & react.RefAttributes<unknown>>;
|
|
93
|
+
declare const ListItemButton: react.ForwardRefExoticComponent<ListItemButtonProps<ElementType> & react.RefAttributes<unknown>>;
|
|
94
|
+
declare const ListItemIcon: react.ForwardRefExoticComponent<ListItemIconProps & react.RefAttributes<unknown>>;
|
|
95
|
+
declare const ListItemText: react.ForwardRefExoticComponent<ListItemTextProps & react.RefAttributes<unknown>>;
|
|
96
|
+
declare const Collapse: react.ForwardRefExoticComponent<CollapseProps & react.RefAttributes<unknown>>;
|
|
97
|
+
|
|
98
|
+
export { Collapse, type CollapseProps, List, ListItemButton, type ListItemButtonProps, ListItemIcon, type ListItemIconProps, ListItemText, type ListItemTextProps, type ListProps, ListSubheader, type ListSubheaderProps, List as default };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';Object.defineProperty(exports,'__esModule',{value:true});var chunkALCHPZY6_js=require('../../chunk-ALCHPZY6.js');require('../../chunk-MLURKSJZ.js'),require('../../chunk-DDGBDWFC.js');Object.defineProperty(exports,"Collapse",{enumerable:true,get:function(){return chunkALCHPZY6_js.f}});Object.defineProperty(exports,"List",{enumerable:true,get:function(){return chunkALCHPZY6_js.a}});Object.defineProperty(exports,"ListItemButton",{enumerable:true,get:function(){return chunkALCHPZY6_js.c}});Object.defineProperty(exports,"ListItemIcon",{enumerable:true,get:function(){return chunkALCHPZY6_js.d}});Object.defineProperty(exports,"ListItemText",{enumerable:true,get:function(){return chunkALCHPZY6_js.e}});Object.defineProperty(exports,"ListSubheader",{enumerable:true,get:function(){return chunkALCHPZY6_js.b}});Object.defineProperty(exports,"default",{enumerable:true,get:function(){return chunkALCHPZY6_js.g}});//# sourceMappingURL=index.js.map
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export{f as Collapse,a as List,c as ListItemButton,d as ListItemIcon,e as ListItemText,b as ListSubheader,g as default}from'../../chunk-W5B5N6BW.mjs';import'../../chunk-HGGQFNUJ.mjs';import'../../chunk-547MQ4FI.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ElementType, ReactNode, ComponentPropsWithoutRef } from 'react';
|
|
3
|
+
|
|
4
|
+
interface NavigatorBaseProps<T extends ElementType = 'nav'> {
|
|
5
|
+
/**
|
|
6
|
+
* The content of the component (breadcrumb items).
|
|
7
|
+
*/
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* Override or extend the styles applied to the component.
|
|
11
|
+
* See CSS classes API below for more details.
|
|
12
|
+
*/
|
|
13
|
+
classes?: {
|
|
14
|
+
root?: string;
|
|
15
|
+
ol?: string;
|
|
16
|
+
li?: string;
|
|
17
|
+
separator?: string;
|
|
18
|
+
collapsed?: string;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* The component used for the root node.
|
|
22
|
+
* Either a string to use a HTML element or a component.
|
|
23
|
+
*/
|
|
24
|
+
component?: ElementType;
|
|
25
|
+
/**
|
|
26
|
+
* Override the default label for the expand button.
|
|
27
|
+
* For localization purposes, you can use the provided translations.
|
|
28
|
+
* @default 'Show path'
|
|
29
|
+
*/
|
|
30
|
+
expandText?: string;
|
|
31
|
+
/**
|
|
32
|
+
* If max items is exceeded, the number of items to show after the ellipsis.
|
|
33
|
+
* @default 1
|
|
34
|
+
*/
|
|
35
|
+
itemsAfterCollapse?: number;
|
|
36
|
+
/**
|
|
37
|
+
* If max items is exceeded, the number of items to show before the ellipsis.
|
|
38
|
+
* @default 1
|
|
39
|
+
*/
|
|
40
|
+
itemsBeforeCollapse?: number;
|
|
41
|
+
/**
|
|
42
|
+
* Specifies the maximum number of breadcrumbs to display.
|
|
43
|
+
* When there are more than the maximum number, only the first
|
|
44
|
+
* itemsBeforeCollapse and last itemsAfterCollapse will be shown,
|
|
45
|
+
* with an ellipsis in between.
|
|
46
|
+
* @default 8
|
|
47
|
+
*/
|
|
48
|
+
maxItems?: number;
|
|
49
|
+
/**
|
|
50
|
+
* Custom separator node.
|
|
51
|
+
* @default '/'
|
|
52
|
+
*/
|
|
53
|
+
separator?: ReactNode;
|
|
54
|
+
/**
|
|
55
|
+
* The props used for each slot inside the Navigator.
|
|
56
|
+
* @default {}
|
|
57
|
+
*/
|
|
58
|
+
slotProps?: {
|
|
59
|
+
collapsedIcon?: Record<string, any> | ((props: any) => Record<string, any>);
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* The components used for each slot inside the Navigator.
|
|
63
|
+
* Either a string to use a HTML element or a component.
|
|
64
|
+
* @default {}
|
|
65
|
+
*/
|
|
66
|
+
slots?: {
|
|
67
|
+
CollapsedIcon?: ElementType;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
71
|
+
* See the `sx` page for more details.
|
|
72
|
+
*/
|
|
73
|
+
sx?: React.CSSProperties | Array<React.CSSProperties | boolean> | ((theme: any) => React.CSSProperties);
|
|
74
|
+
/**
|
|
75
|
+
* Alias for component prop
|
|
76
|
+
*/
|
|
77
|
+
as?: T;
|
|
78
|
+
/**
|
|
79
|
+
* Custom className for the root element
|
|
80
|
+
*/
|
|
81
|
+
className?: string;
|
|
82
|
+
}
|
|
83
|
+
type NavigatorProps<T extends ElementType = 'nav'> = NavigatorBaseProps<T> & Omit<ComponentPropsWithoutRef<T>, keyof NavigatorBaseProps<T>>;
|
|
84
|
+
|
|
85
|
+
declare const Navigator: react.ForwardRefExoticComponent<NavigatorBaseProps<"nav"> & Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">, keyof NavigatorBaseProps<T>> & react.RefAttributes<HTMLElement>>;
|
|
86
|
+
|
|
87
|
+
export { Navigator, type NavigatorBaseProps, type NavigatorProps };
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ElementType, ReactNode, ComponentPropsWithoutRef } from 'react';
|
|
3
|
+
|
|
4
|
+
interface NavigatorBaseProps<T extends ElementType = 'nav'> {
|
|
5
|
+
/**
|
|
6
|
+
* The content of the component (breadcrumb items).
|
|
7
|
+
*/
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* Override or extend the styles applied to the component.
|
|
11
|
+
* See CSS classes API below for more details.
|
|
12
|
+
*/
|
|
13
|
+
classes?: {
|
|
14
|
+
root?: string;
|
|
15
|
+
ol?: string;
|
|
16
|
+
li?: string;
|
|
17
|
+
separator?: string;
|
|
18
|
+
collapsed?: string;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* The component used for the root node.
|
|
22
|
+
* Either a string to use a HTML element or a component.
|
|
23
|
+
*/
|
|
24
|
+
component?: ElementType;
|
|
25
|
+
/**
|
|
26
|
+
* Override the default label for the expand button.
|
|
27
|
+
* For localization purposes, you can use the provided translations.
|
|
28
|
+
* @default 'Show path'
|
|
29
|
+
*/
|
|
30
|
+
expandText?: string;
|
|
31
|
+
/**
|
|
32
|
+
* If max items is exceeded, the number of items to show after the ellipsis.
|
|
33
|
+
* @default 1
|
|
34
|
+
*/
|
|
35
|
+
itemsAfterCollapse?: number;
|
|
36
|
+
/**
|
|
37
|
+
* If max items is exceeded, the number of items to show before the ellipsis.
|
|
38
|
+
* @default 1
|
|
39
|
+
*/
|
|
40
|
+
itemsBeforeCollapse?: number;
|
|
41
|
+
/**
|
|
42
|
+
* Specifies the maximum number of breadcrumbs to display.
|
|
43
|
+
* When there are more than the maximum number, only the first
|
|
44
|
+
* itemsBeforeCollapse and last itemsAfterCollapse will be shown,
|
|
45
|
+
* with an ellipsis in between.
|
|
46
|
+
* @default 8
|
|
47
|
+
*/
|
|
48
|
+
maxItems?: number;
|
|
49
|
+
/**
|
|
50
|
+
* Custom separator node.
|
|
51
|
+
* @default '/'
|
|
52
|
+
*/
|
|
53
|
+
separator?: ReactNode;
|
|
54
|
+
/**
|
|
55
|
+
* The props used for each slot inside the Navigator.
|
|
56
|
+
* @default {}
|
|
57
|
+
*/
|
|
58
|
+
slotProps?: {
|
|
59
|
+
collapsedIcon?: Record<string, any> | ((props: any) => Record<string, any>);
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* The components used for each slot inside the Navigator.
|
|
63
|
+
* Either a string to use a HTML element or a component.
|
|
64
|
+
* @default {}
|
|
65
|
+
*/
|
|
66
|
+
slots?: {
|
|
67
|
+
CollapsedIcon?: ElementType;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
71
|
+
* See the `sx` page for more details.
|
|
72
|
+
*/
|
|
73
|
+
sx?: React.CSSProperties | Array<React.CSSProperties | boolean> | ((theme: any) => React.CSSProperties);
|
|
74
|
+
/**
|
|
75
|
+
* Alias for component prop
|
|
76
|
+
*/
|
|
77
|
+
as?: T;
|
|
78
|
+
/**
|
|
79
|
+
* Custom className for the root element
|
|
80
|
+
*/
|
|
81
|
+
className?: string;
|
|
82
|
+
}
|
|
83
|
+
type NavigatorProps<T extends ElementType = 'nav'> = NavigatorBaseProps<T> & Omit<ComponentPropsWithoutRef<T>, keyof NavigatorBaseProps<T>>;
|
|
84
|
+
|
|
85
|
+
declare const Navigator: react.ForwardRefExoticComponent<NavigatorBaseProps<"nav"> & Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">, keyof NavigatorBaseProps<T>> & react.RefAttributes<HTMLElement>>;
|
|
86
|
+
|
|
87
|
+
export { Navigator, type NavigatorBaseProps, type NavigatorProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { HTMLAttributes, CSSProperties } from 'react';
|
|
3
|
+
|
|
4
|
+
interface PaginationProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
5
|
+
/**
|
|
6
|
+
* The total number of pages.
|
|
7
|
+
* @default 1
|
|
8
|
+
*/
|
|
9
|
+
count?: number;
|
|
10
|
+
/**
|
|
11
|
+
* The current page.
|
|
12
|
+
*/
|
|
13
|
+
page?: number;
|
|
14
|
+
/**
|
|
15
|
+
* The default page number when the component is uncontrolled.
|
|
16
|
+
* @default 1
|
|
17
|
+
*/
|
|
18
|
+
defaultPage?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Callback fired when the page is changed.
|
|
21
|
+
*
|
|
22
|
+
* @param {React.ChangeEvent<unknown>} event The event source of the callback.
|
|
23
|
+
* @param {number} page The page selected.
|
|
24
|
+
*/
|
|
25
|
+
onChange?: (event: React.ChangeEvent<unknown>, page: number) => void;
|
|
26
|
+
/**
|
|
27
|
+
* The color of the component.
|
|
28
|
+
* @default 'primary'
|
|
29
|
+
*/
|
|
30
|
+
color?: 'primary' | 'secondary' | 'standard';
|
|
31
|
+
/**
|
|
32
|
+
* The variant to use.
|
|
33
|
+
* @default 'text'
|
|
34
|
+
*/
|
|
35
|
+
variant?: 'text' | 'outlined';
|
|
36
|
+
/**
|
|
37
|
+
* The shape of the pagination items.
|
|
38
|
+
* @default 'circular'
|
|
39
|
+
*/
|
|
40
|
+
shape?: 'circular' | 'rounded';
|
|
41
|
+
/**
|
|
42
|
+
* The size of the component.
|
|
43
|
+
* @default 'medium'
|
|
44
|
+
*/
|
|
45
|
+
size?: 'small' | 'medium' | 'large';
|
|
46
|
+
/**
|
|
47
|
+
* If `true`, hide the next-page button.
|
|
48
|
+
* @default false
|
|
49
|
+
*/
|
|
50
|
+
hideNextButton?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* If `true`, hide the previous-page button.
|
|
53
|
+
* @default false
|
|
54
|
+
*/
|
|
55
|
+
hidePrevButton?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* If `true`, show the first-page button.
|
|
58
|
+
* @default false
|
|
59
|
+
*/
|
|
60
|
+
showFirstButton?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* If `true`, show the last-page button.
|
|
63
|
+
* @default false
|
|
64
|
+
*/
|
|
65
|
+
showLastButton?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* If `true`, the component is disabled.
|
|
68
|
+
* @default false
|
|
69
|
+
*/
|
|
70
|
+
disabled?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Number of always visible pages at the beginning and end.
|
|
73
|
+
* @default 1
|
|
74
|
+
*/
|
|
75
|
+
boundaryCount?: number;
|
|
76
|
+
/**
|
|
77
|
+
* Number of always visible pages before and after the current page.
|
|
78
|
+
* @default 1
|
|
79
|
+
*/
|
|
80
|
+
siblingCount?: number;
|
|
81
|
+
/**
|
|
82
|
+
* Custom styles using the sx prop pattern.
|
|
83
|
+
*/
|
|
84
|
+
sx?: CSSProperties;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
declare const Pagination: react.ForwardRefExoticComponent<PaginationProps & react.RefAttributes<HTMLDivElement>>;
|
|
88
|
+
|
|
89
|
+
export { Pagination, type PaginationProps };
|