@galaxy-ds/core 2.1.3 → 2.1.4
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/Accordion/Accordion.stories.d.ts +14 -12
- package/dist/AccordionDetails/AccordionDetails.stories.d.ts +3 -2
- package/dist/AccordionPanel/AccordionPanel.stories.d.ts +7 -7
- package/dist/AccordionSummary/AccordionSummary.stories.d.ts +7 -7
- package/dist/ActivityLog/ActivityLog.stories.d.ts +5 -5
- package/dist/AppBar/AppBar.stories.d.ts +9 -9
- package/dist/AttachmentIcon/AttachmentIcon.stories.d.ts +5 -3
- package/dist/Autocomplete/Autocomplete.stories.d.ts +44 -50
- package/dist/Avatar/Avatar.stories.d.ts +21 -11
- package/dist/AvatarGroup/AvatarGroup.stories.d.ts +30 -11
- package/dist/BottomListButton/BottomListButton.stories.d.ts +7 -7
- package/dist/Box/Box.stories.d.ts +2 -2
- package/dist/Breadcrumbs/Breadcrumbs.stories.d.ts +5 -5
- package/dist/Button/Button.stories.d.ts +17 -17
- package/dist/Card/Card.stories.d.ts +4 -4
- package/dist/Checkbox/Checkbox.stories.d.ts +25 -20
- package/dist/Chip/Chip.stories.d.ts +9 -9
- package/dist/CssBaseline/CssBaseline.stories.d.ts +8 -0
- package/dist/Dialog/Dialog.stories.d.ts +15 -15
- package/dist/Divider/Divider.stories.d.ts +22 -5
- package/dist/Drawer/Drawer.stories.d.ts +9 -9
- package/dist/DrawerMenu/DrawerMenu.stories.d.ts +5 -5
- package/dist/Dropdown/Dropdown.stories.d.ts +23 -23
- package/dist/FooterActions/FooterActions.stories.d.ts +6 -1
- package/dist/FormBody/FormBody.stories.d.ts +1 -1
- package/dist/FormContainer/FormContainer.stories.d.ts +1 -1
- package/dist/FormGroup/FormGroup.stories.d.ts +2 -2
- package/dist/FormHeader/FormHeader.stories.d.ts +2 -2
- package/dist/Grid/Grid.stories.d.ts +47 -549
- package/dist/HeaderToolbar/HeaderToolbar.stories.d.ts +16 -6
- package/dist/Icon/Icon.stories.d.ts +12 -2
- package/dist/IconButton/IconButton.stories.d.ts +7 -7
- package/dist/Icons/doctype-icons.stories.d.ts +17 -0
- package/dist/Icons/lawconnect-icons.stories.d.ts +1 -1
- package/dist/Icons/leap-icons.stories.d.ts +20 -3
- package/dist/ImageUpload/ImageUpload.stories.d.ts +1 -1
- package/dist/Input/Input.stories.d.ts +66 -32
- package/dist/index.esm.js +9 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/package.json +23 -16
|
@@ -18,32 +18,32 @@ declare const meta: {
|
|
|
18
18
|
argTypes: {
|
|
19
19
|
children: {
|
|
20
20
|
control: {
|
|
21
|
-
|
|
21
|
+
disable: true;
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
component: {
|
|
25
25
|
table: {
|
|
26
|
-
disable:
|
|
26
|
+
disable: true;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
LinkComponent: {
|
|
30
30
|
control: {
|
|
31
|
-
|
|
31
|
+
disable: true;
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
onFocusVisible: {
|
|
35
35
|
control: {
|
|
36
|
-
|
|
36
|
+
disable: true;
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
39
|
endIcon: {
|
|
40
40
|
table: {
|
|
41
|
-
disable:
|
|
41
|
+
disable: true;
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
44
|
startIcon: {
|
|
45
45
|
table: {
|
|
46
|
-
disable:
|
|
46
|
+
disable: true;
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
49
|
disabled: {
|
|
@@ -52,7 +52,7 @@ declare const meta: {
|
|
|
52
52
|
summary: string;
|
|
53
53
|
};
|
|
54
54
|
defaultValue: {
|
|
55
|
-
summary:
|
|
55
|
+
summary: string;
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
58
|
};
|
|
@@ -22,6 +22,23 @@ import { SvgIconProps } from '@mui/material';
|
|
|
22
22
|
declare const meta: {
|
|
23
23
|
component: (props: import("../Icon/Icon.types").IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
title: string;
|
|
25
|
+
argTypes: {
|
|
26
|
+
component: {
|
|
27
|
+
control: {
|
|
28
|
+
disable: true;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
ref: {
|
|
32
|
+
control: {
|
|
33
|
+
disable: true;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
children: {
|
|
37
|
+
control: {
|
|
38
|
+
disable: true;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
25
42
|
};
|
|
26
43
|
export default meta;
|
|
27
44
|
export declare const Default: {
|
|
@@ -19,7 +19,7 @@ export declare const Default: {
|
|
|
19
19
|
};
|
|
20
20
|
export declare const Filled: {
|
|
21
21
|
args: {};
|
|
22
|
-
decorators: ((Story: import("@storybook/
|
|
22
|
+
decorators: ((Story: import("@storybook/csf").PartialStoryFn<import("@storybook/react/dist/types-a5624094").R, {
|
|
23
23
|
name?: ((props: import("@mui/material").SvgIconProps) => import("react").JSX.Element) | undefined;
|
|
24
24
|
string?: string | number | undefined;
|
|
25
25
|
children?: import("react").ReactNode;
|
|
@@ -4,6 +4,23 @@
|
|
|
4
4
|
declare const meta: {
|
|
5
5
|
component: (props: import("../Icon").IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
title: string;
|
|
7
|
+
argTypes: {
|
|
8
|
+
component: {
|
|
9
|
+
control: {
|
|
10
|
+
disable: true;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
ref: {
|
|
14
|
+
control: {
|
|
15
|
+
disable: true;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
children: {
|
|
19
|
+
control: {
|
|
20
|
+
disable: true;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
7
24
|
};
|
|
8
25
|
export default meta;
|
|
9
26
|
export declare const Icons: {
|
|
@@ -505,7 +522,7 @@ export declare const Icons: {
|
|
|
505
522
|
};
|
|
506
523
|
export declare const Ribbon: {
|
|
507
524
|
args: {};
|
|
508
|
-
decorators: ((Story: import("@storybook/
|
|
525
|
+
decorators: ((Story: import("@storybook/csf").PartialStoryFn<import("@storybook/react/dist/types-a5624094").R, {
|
|
509
526
|
name?: ((props: import("@mui/material").SvgIconProps) => import("react").JSX.Element) | undefined;
|
|
510
527
|
string?: string | number | undefined;
|
|
511
528
|
children?: import("react").ReactNode;
|
|
@@ -1990,7 +2007,7 @@ export declare const Small: {
|
|
|
1990
2007
|
};
|
|
1991
2008
|
export declare const DarkTheme: {
|
|
1992
2009
|
args: {};
|
|
1993
|
-
decorators: ((Story: import("@storybook/
|
|
2010
|
+
decorators: ((Story: import("@storybook/csf").PartialStoryFn<import("@storybook/react/dist/types-a5624094").R, {
|
|
1994
2011
|
name?: ((props: import("@mui/material").SvgIconProps) => import("react").JSX.Element) | undefined;
|
|
1995
2012
|
string?: string | number | undefined;
|
|
1996
2013
|
children?: import("react").ReactNode;
|
|
@@ -2982,7 +2999,7 @@ export declare const DarkTheme: {
|
|
|
2982
2999
|
};
|
|
2983
3000
|
export declare const LightTheme: {
|
|
2984
3001
|
args: {};
|
|
2985
|
-
decorators: ((Story: import("@storybook/
|
|
3002
|
+
decorators: ((Story: import("@storybook/csf").PartialStoryFn<import("@storybook/react/dist/types-a5624094").R, {
|
|
2986
3003
|
name?: ((props: import("@mui/material").SvgIconProps) => import("react").JSX.Element) | undefined;
|
|
2987
3004
|
string?: string | number | undefined;
|
|
2988
3005
|
children?: import("react").ReactNode;
|
|
@@ -18,52 +18,52 @@ declare const meta: {
|
|
|
18
18
|
argTypes: {
|
|
19
19
|
onFocus: {
|
|
20
20
|
control: {
|
|
21
|
-
|
|
21
|
+
disable: true;
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
onKeyDown: {
|
|
25
25
|
control: {
|
|
26
|
-
|
|
26
|
+
disable: true;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
onKeyUp: {
|
|
30
30
|
control: {
|
|
31
|
-
|
|
31
|
+
disable: true;
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
onChange: {
|
|
35
35
|
control: {
|
|
36
|
-
|
|
36
|
+
disable: true;
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
39
|
onBlur: {
|
|
40
40
|
control: {
|
|
41
|
-
|
|
41
|
+
disable: true;
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
44
|
onInvalid: {
|
|
45
45
|
control: {
|
|
46
|
-
|
|
46
|
+
disable: true;
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
49
|
inputRef: {
|
|
50
50
|
control: {
|
|
51
|
-
|
|
51
|
+
disable: true;
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
54
|
endAdornment: {
|
|
55
55
|
control: {
|
|
56
|
-
|
|
56
|
+
disable: true;
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
59
|
startAdornment: {
|
|
60
60
|
control: {
|
|
61
|
-
|
|
61
|
+
disable: true;
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
64
|
inputComponent: {
|
|
65
65
|
control: {
|
|
66
|
-
|
|
66
|
+
disable: true;
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
69
|
};
|
|
@@ -71,10 +71,10 @@ declare const meta: {
|
|
|
71
71
|
export default meta;
|
|
72
72
|
export declare const Default: {
|
|
73
73
|
args: {
|
|
74
|
-
onKeyUp: import("@vitest/spy").Mock<
|
|
75
|
-
onKeyDown: import("@vitest/spy").Mock<
|
|
76
|
-
onFocus: import("@vitest/spy").Mock<
|
|
77
|
-
onChange: import("@vitest/spy").Mock<
|
|
74
|
+
onKeyUp: import("@vitest/spy").Mock<(...args: any[]) => any>;
|
|
75
|
+
onKeyDown: import("@vitest/spy").Mock<(...args: any[]) => any>;
|
|
76
|
+
onFocus: import("@vitest/spy").Mock<(...args: any[]) => any>;
|
|
77
|
+
onChange: import("@vitest/spy").Mock<(...args: any[]) => any>;
|
|
78
78
|
};
|
|
79
79
|
parameters: {
|
|
80
80
|
docs: {
|
|
@@ -83,7 +83,7 @@ export declare const Default: {
|
|
|
83
83
|
};
|
|
84
84
|
};
|
|
85
85
|
};
|
|
86
|
-
play: ({ args, canvasElement }: import("@storybook/
|
|
86
|
+
play: ({ args, canvasElement }: import("@storybook/csf").PlayFunctionContext<import("@storybook/react/dist/types-a5624094").R, {
|
|
87
87
|
classes?: Partial<import("@mui/material").InputBaseClasses> | undefined;
|
|
88
88
|
className?: string | undefined;
|
|
89
89
|
style?: import("react").CSSProperties | undefined;
|
|
@@ -393,7 +393,9 @@ export declare const Default: {
|
|
|
393
393
|
error?: boolean | undefined;
|
|
394
394
|
filled?: boolean | undefined;
|
|
395
395
|
focused?: boolean | undefined;
|
|
396
|
-
margin?: "none" | "normal" | "dense" | undefined;
|
|
396
|
+
margin?: "none" | "normal" | "dense" | undefined; /**
|
|
397
|
+
* If `disabled` is `true`, the input is disabled.
|
|
398
|
+
*/
|
|
397
399
|
required?: boolean | undefined;
|
|
398
400
|
startAdornment?: import("react").ReactNode;
|
|
399
401
|
}) => import("react").ReactNode) | undefined;
|
|
@@ -715,7 +717,9 @@ export declare const Default: {
|
|
|
715
717
|
error?: boolean | undefined;
|
|
716
718
|
filled?: boolean | undefined;
|
|
717
719
|
focused?: boolean | undefined;
|
|
718
|
-
margin?: "none" | "normal" | "dense" | undefined;
|
|
720
|
+
margin?: "none" | "normal" | "dense" | undefined; /**
|
|
721
|
+
* If `disabled` is `true`, the input is disabled.
|
|
722
|
+
*/
|
|
719
723
|
required?: boolean | undefined;
|
|
720
724
|
startAdornment?: import("react").ReactNode;
|
|
721
725
|
}) => import("react").ReactNode) | undefined;
|
|
@@ -1058,7 +1062,9 @@ export declare const EndAdornment: {
|
|
|
1058
1062
|
error?: boolean | undefined;
|
|
1059
1063
|
filled?: boolean | undefined;
|
|
1060
1064
|
focused?: boolean | undefined;
|
|
1061
|
-
margin?: "none" | "normal" | "dense" | undefined;
|
|
1065
|
+
margin?: "none" | "normal" | "dense" | undefined; /**
|
|
1066
|
+
* If `disabled` is `true`, the input is disabled.
|
|
1067
|
+
*/
|
|
1062
1068
|
required?: boolean | undefined;
|
|
1063
1069
|
startAdornment?: import("react").ReactNode;
|
|
1064
1070
|
}) => import("react").ReactNode) | undefined;
|
|
@@ -1401,7 +1407,9 @@ export declare const StartAdornment: {
|
|
|
1401
1407
|
error?: boolean | undefined;
|
|
1402
1408
|
filled?: boolean | undefined;
|
|
1403
1409
|
focused?: boolean | undefined;
|
|
1404
|
-
margin?: "none" | "normal" | "dense" | undefined;
|
|
1410
|
+
margin?: "none" | "normal" | "dense" | undefined; /**
|
|
1411
|
+
* If `disabled` is `true`, the input is disabled.
|
|
1412
|
+
*/
|
|
1405
1413
|
required?: boolean | undefined;
|
|
1406
1414
|
startAdornment?: import("react").ReactNode;
|
|
1407
1415
|
}) => import("react").ReactNode) | undefined;
|
|
@@ -1737,7 +1745,9 @@ export declare const FormGroup: {
|
|
|
1737
1745
|
error?: boolean | undefined;
|
|
1738
1746
|
filled?: boolean | undefined;
|
|
1739
1747
|
focused?: boolean | undefined;
|
|
1740
|
-
margin?: "none" | "normal" | "dense" | undefined;
|
|
1748
|
+
margin?: "none" | "normal" | "dense" | undefined; /**
|
|
1749
|
+
* If `disabled` is `true`, the input is disabled.
|
|
1750
|
+
*/
|
|
1741
1751
|
required?: boolean | undefined;
|
|
1742
1752
|
startAdornment?: import("react").ReactNode;
|
|
1743
1753
|
}) => import("react").ReactNode) | undefined;
|
|
@@ -2074,7 +2084,9 @@ export declare const Label: {
|
|
|
2074
2084
|
error?: boolean | undefined;
|
|
2075
2085
|
filled?: boolean | undefined;
|
|
2076
2086
|
focused?: boolean | undefined;
|
|
2077
|
-
margin?: "none" | "normal" | "dense" | undefined;
|
|
2087
|
+
margin?: "none" | "normal" | "dense" | undefined; /**
|
|
2088
|
+
* If `disabled` is `true`, the input is disabled.
|
|
2089
|
+
*/
|
|
2078
2090
|
required?: boolean | undefined;
|
|
2079
2091
|
startAdornment?: import("react").ReactNode;
|
|
2080
2092
|
}) => import("react").ReactNode) | undefined;
|
|
@@ -2409,7 +2421,9 @@ export declare const Types: {
|
|
|
2409
2421
|
error?: boolean | undefined;
|
|
2410
2422
|
filled?: boolean | undefined;
|
|
2411
2423
|
focused?: boolean | undefined;
|
|
2412
|
-
margin?: "none" | "normal" | "dense" | undefined;
|
|
2424
|
+
margin?: "none" | "normal" | "dense" | undefined; /**
|
|
2425
|
+
* If `disabled` is `true`, the input is disabled.
|
|
2426
|
+
*/
|
|
2413
2427
|
required?: boolean | undefined;
|
|
2414
2428
|
startAdornment?: import("react").ReactNode;
|
|
2415
2429
|
}) => import("react").ReactNode) | undefined;
|
|
@@ -2747,7 +2761,9 @@ export declare const HelperText: {
|
|
|
2747
2761
|
error?: boolean | undefined;
|
|
2748
2762
|
filled?: boolean | undefined;
|
|
2749
2763
|
focused?: boolean | undefined;
|
|
2750
|
-
margin?: "none" | "normal" | "dense" | undefined;
|
|
2764
|
+
margin?: "none" | "normal" | "dense" | undefined; /**
|
|
2765
|
+
* If `disabled` is `true`, the input is disabled.
|
|
2766
|
+
*/
|
|
2751
2767
|
required?: boolean | undefined;
|
|
2752
2768
|
startAdornment?: import("react").ReactNode;
|
|
2753
2769
|
}) => import("react").ReactNode) | undefined;
|
|
@@ -3086,7 +3102,9 @@ export declare const Error: {
|
|
|
3086
3102
|
error?: boolean | undefined;
|
|
3087
3103
|
filled?: boolean | undefined;
|
|
3088
3104
|
focused?: boolean | undefined;
|
|
3089
|
-
margin?: "none" | "normal" | "dense" | undefined;
|
|
3105
|
+
margin?: "none" | "normal" | "dense" | undefined; /**
|
|
3106
|
+
* If `disabled` is `true`, the input is disabled.
|
|
3107
|
+
*/
|
|
3090
3108
|
required?: boolean | undefined;
|
|
3091
3109
|
startAdornment?: import("react").ReactNode;
|
|
3092
3110
|
}) => import("react").ReactNode) | undefined;
|
|
@@ -3424,7 +3442,9 @@ export declare const Disabled: {
|
|
|
3424
3442
|
error?: boolean | undefined;
|
|
3425
3443
|
filled?: boolean | undefined;
|
|
3426
3444
|
focused?: boolean | undefined;
|
|
3427
|
-
margin?: "none" | "normal" | "dense" | undefined;
|
|
3445
|
+
margin?: "none" | "normal" | "dense" | undefined; /**
|
|
3446
|
+
* If `disabled` is `true`, the input is disabled.
|
|
3447
|
+
*/
|
|
3428
3448
|
required?: boolean | undefined;
|
|
3429
3449
|
startAdornment?: import("react").ReactNode;
|
|
3430
3450
|
}) => import("react").ReactNode) | undefined;
|
|
@@ -3762,7 +3782,9 @@ export declare const ReadOnly: {
|
|
|
3762
3782
|
error?: boolean | undefined;
|
|
3763
3783
|
filled?: boolean | undefined;
|
|
3764
3784
|
focused?: boolean | undefined;
|
|
3765
|
-
margin?: "none" | "normal" | "dense" | undefined;
|
|
3785
|
+
margin?: "none" | "normal" | "dense" | undefined; /**
|
|
3786
|
+
* If `disabled` is `true`, the input is disabled.
|
|
3787
|
+
*/
|
|
3766
3788
|
required?: boolean | undefined;
|
|
3767
3789
|
startAdornment?: import("react").ReactNode;
|
|
3768
3790
|
}) => import("react").ReactNode) | undefined;
|
|
@@ -4100,7 +4122,9 @@ export declare const TextAlignment: {
|
|
|
4100
4122
|
error?: boolean | undefined;
|
|
4101
4123
|
filled?: boolean | undefined;
|
|
4102
4124
|
focused?: boolean | undefined;
|
|
4103
|
-
margin?: "none" | "normal" | "dense" | undefined;
|
|
4125
|
+
margin?: "none" | "normal" | "dense" | undefined; /**
|
|
4126
|
+
* If `disabled` is `true`, the input is disabled.
|
|
4127
|
+
*/
|
|
4104
4128
|
required?: boolean | undefined;
|
|
4105
4129
|
startAdornment?: import("react").ReactNode;
|
|
4106
4130
|
}) => import("react").ReactNode) | undefined;
|
|
@@ -4438,7 +4462,9 @@ export declare const FullWidth: {
|
|
|
4438
4462
|
error?: boolean | undefined;
|
|
4439
4463
|
filled?: boolean | undefined;
|
|
4440
4464
|
focused?: boolean | undefined;
|
|
4441
|
-
margin?: "none" | "normal" | "dense" | undefined;
|
|
4465
|
+
margin?: "none" | "normal" | "dense" | undefined; /**
|
|
4466
|
+
* If `disabled` is `true`, the input is disabled.
|
|
4467
|
+
*/
|
|
4442
4468
|
required?: boolean | undefined;
|
|
4443
4469
|
startAdornment?: import("react").ReactNode;
|
|
4444
4470
|
}) => import("react").ReactNode) | undefined;
|
|
@@ -4778,7 +4804,9 @@ export declare const LargeSizeToolbarSize: {
|
|
|
4778
4804
|
error?: boolean | undefined;
|
|
4779
4805
|
filled?: boolean | undefined;
|
|
4780
4806
|
focused?: boolean | undefined;
|
|
4781
|
-
margin?: "none" | "normal" | "dense" | undefined;
|
|
4807
|
+
margin?: "none" | "normal" | "dense" | undefined; /**
|
|
4808
|
+
* If `disabled` is `true`, the input is disabled.
|
|
4809
|
+
*/
|
|
4782
4810
|
required?: boolean | undefined;
|
|
4783
4811
|
startAdornment?: import("react").ReactNode;
|
|
4784
4812
|
}) => import("react").ReactNode) | undefined;
|
|
@@ -5118,7 +5146,9 @@ export declare const TextArea: {
|
|
|
5118
5146
|
error?: boolean | undefined;
|
|
5119
5147
|
filled?: boolean | undefined;
|
|
5120
5148
|
focused?: boolean | undefined;
|
|
5121
|
-
margin?: "none" | "normal" | "dense" | undefined;
|
|
5149
|
+
margin?: "none" | "normal" | "dense" | undefined; /**
|
|
5150
|
+
* If `disabled` is `true`, the input is disabled.
|
|
5151
|
+
*/
|
|
5122
5152
|
required?: boolean | undefined;
|
|
5123
5153
|
startAdornment?: import("react").ReactNode;
|
|
5124
5154
|
}) => import("react").ReactNode) | undefined;
|
|
@@ -5454,7 +5484,9 @@ export declare const TextAreaWithEndAdornment: {
|
|
|
5454
5484
|
error?: boolean | undefined;
|
|
5455
5485
|
filled?: boolean | undefined;
|
|
5456
5486
|
focused?: boolean | undefined;
|
|
5457
|
-
margin?: "none" | "normal" | "dense" | undefined;
|
|
5487
|
+
margin?: "none" | "normal" | "dense" | undefined; /**
|
|
5488
|
+
* If `disabled` is `true`, the input is disabled.
|
|
5489
|
+
*/
|
|
5458
5490
|
required?: boolean | undefined;
|
|
5459
5491
|
startAdornment?: import("react").ReactNode;
|
|
5460
5492
|
}) => import("react").ReactNode) | undefined;
|
|
@@ -5790,7 +5822,9 @@ export declare const EventCallbacks: {
|
|
|
5790
5822
|
error?: boolean | undefined;
|
|
5791
5823
|
filled?: boolean | undefined;
|
|
5792
5824
|
focused?: boolean | undefined;
|
|
5793
|
-
margin?: "none" | "normal" | "dense" | undefined;
|
|
5825
|
+
margin?: "none" | "normal" | "dense" | undefined; /**
|
|
5826
|
+
* If `disabled` is `true`, the input is disabled.
|
|
5827
|
+
*/
|
|
5794
5828
|
required?: boolean | undefined;
|
|
5795
5829
|
startAdornment?: import("react").ReactNode;
|
|
5796
5830
|
}) => import("react").ReactNode) | undefined;
|
package/dist/index.esm.js
CHANGED
|
@@ -2447,6 +2447,12 @@ var autocompleteOverrides = {
|
|
|
2447
2447
|
'& .MuiFormControl-root.MuiTextField-root': {
|
|
2448
2448
|
marginBottom: 0,
|
|
2449
2449
|
},
|
|
2450
|
+
'& .MuiOutlinedInput-root': {
|
|
2451
|
+
padding: 0,
|
|
2452
|
+
},
|
|
2453
|
+
'& .MuiOutlinedInput-root.MuiAutocomplete-inputRoot': {
|
|
2454
|
+
padding: '0 0 0 4px',
|
|
2455
|
+
},
|
|
2450
2456
|
},
|
|
2451
2457
|
inputRoot: {
|
|
2452
2458
|
height: 'auto',
|
|
@@ -2473,6 +2479,8 @@ var autocompleteOverrides = {
|
|
|
2473
2479
|
'& > *': {
|
|
2474
2480
|
marginLeft: 2,
|
|
2475
2481
|
marginTop: 2,
|
|
2482
|
+
marginBottom: 2,
|
|
2483
|
+
paddingRight: 0,
|
|
2476
2484
|
flexShrink: 0,
|
|
2477
2485
|
},
|
|
2478
2486
|
},
|
|
@@ -5130,7 +5138,7 @@ var AppBar = function (props) {
|
|
|
5130
5138
|
var isMobile = useMediaQuery('(max-width:380px)');
|
|
5131
5139
|
return (jsx(MuiAppBar, __assign({ color: "primary", position: position, elevation: 0 }, rest, { children: jsxs(AppBarToolbar, { variant: "dense", children: [hasDrawerToggle && (jsx(Box$1, { sx: {
|
|
5132
5140
|
display: { xs: hasDrawerToggle ? 'block' : 'none', sm: 'block' },
|
|
5133
|
-
}, children: jsx(IconButton, { "aria-label": "open drawer", onClick: onDrawerToggle, children: jsx(Icon, { name: MenuIcon }) }) })), jsx(AppBarLogo, { sx: isMobile ? { marginRight: 0, height: '3.125rem' } : {}, children: jsx(Icon, { name: LeapLogo }) }), jsx(Box$1, { sx: { display: { xs: 'none', sm: 'block' } }, children: jsx(Typography, { upperCase: true, color: "white", variant: "h2", children: props.title }) }), jsx(AppBarContent, { children: props.children }), !!props && !!props.user && (jsxs(Fragment$3, { children: [jsxs(AppBarUser, { sx: isMobile ? { overflow: 'hidden', minWidth: '6.25rem' } : {}, children: [jsxs(Typography, { color: "white", variant: "h4", children: [user === null || user === void 0 ? void 0 : user.firstName, " ", user === null || user === void 0 ? void 0 : user.lastName] }), jsx(Typography, { color: "text.light", variant: "body2", children: user === null || user === void 0 ? void 0 : user.email })] }), jsx(IconButton, { "aria-label": "logout", onClick: onLogout, children: jsx(Icon, { name: PowerIcon }) })] }))] }) })));
|
|
5141
|
+
}, children: jsx(IconButton, { "aria-label": "open drawer", onClick: onDrawerToggle, children: jsx(Icon, { name: MenuIcon }) }) })), jsx(AppBarLogo, { "aria-label": "logo", sx: isMobile ? { marginRight: 0, height: '3.125rem' } : {}, children: jsx(Icon, { name: LeapLogo }) }), jsx(Box$1, { sx: { display: { xs: 'none', sm: 'block' } }, children: jsx(Typography, { upperCase: true, color: "white", variant: "h2", children: props.title }) }), jsx(AppBarContent, { children: props.children }), !!props && !!props.user && (jsxs(Fragment$3, { children: [jsxs(AppBarUser, { sx: isMobile ? { overflow: 'hidden', minWidth: '6.25rem' } : {}, children: [jsxs(Typography, { color: "white", variant: "h4", children: [user === null || user === void 0 ? void 0 : user.firstName, " ", user === null || user === void 0 ? void 0 : user.lastName] }), jsx(Typography, { color: "text.light", variant: "body2", children: user === null || user === void 0 ? void 0 : user.email })] }), jsx(IconButton, { "aria-label": "logout", onClick: onLogout, children: jsx(Icon, { name: PowerIcon }) })] }))] }) })));
|
|
5134
5142
|
};
|
|
5135
5143
|
|
|
5136
5144
|
var InputLabel = function (props) {
|