@majoo-ui/react 1.54.1-rc.2 → 1.54.2-rc.1
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 +7 -7
- package/components/editableTable/EditableMobile.d.ts +1 -0
- package/components/editableTable/EditableTable.d.ts +4 -0
- package/components/loadingBar/LoadingBar.d.ts +5 -0
- package/components/pageDialog/PageDialog.d.ts +24 -8
- package/components/stepWizard/index.d.ts +1 -0
- package/index.esm.css +1294 -1307
- package/index.esm.js +911 -765
- package/index.umd.css +1294 -1307
- package/index.umd.js +922 -770
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
React
|
|
2
|
-
|
|
3
|
-
This library was generated with [Nx](https://nx.dev).
|
|
4
|
-
|
|
5
|
-
Running unit tests
|
|
6
|
-
|
|
7
|
-
Run `nx test react` to execute the unit tests via [Jest](https://jestjs.io).
|
|
1
|
+
React
|
|
2
|
+
|
|
3
|
+
This library was generated with [Nx](https://nx.dev).
|
|
4
|
+
|
|
5
|
+
Running unit tests
|
|
6
|
+
|
|
7
|
+
Run `nx test react` to execute the unit tests via [Jest](https://jestjs.io).
|
|
@@ -14,6 +14,7 @@ interface EditableMobileProps<Data extends object> {
|
|
|
14
14
|
emptyDataMessage?: string;
|
|
15
15
|
showCheckbox?: boolean;
|
|
16
16
|
customRows?: (row: Row<object>) => CustomRows[];
|
|
17
|
+
onExpand?: (expanded: boolean) => void;
|
|
17
18
|
}
|
|
18
19
|
export default function EditableTableMobile(props: EditableMobileProps<any>): JSX.Element;
|
|
19
20
|
export {};
|
|
@@ -58,6 +58,10 @@ interface EditableTableProps<Data extends object> {
|
|
|
58
58
|
* }
|
|
59
59
|
*/
|
|
60
60
|
selectedIds?: Record<string, boolean>;
|
|
61
|
+
/**
|
|
62
|
+
* expanded row callback.
|
|
63
|
+
*/
|
|
64
|
+
onExpand?: (expanded: boolean) => void;
|
|
61
65
|
}
|
|
62
66
|
interface RemoveProps {
|
|
63
67
|
position?: 'leftBottom' | 'rightBottom' | 'leftTop' | 'rightTop';
|
|
@@ -29,6 +29,10 @@ interface LoadingBarProps {
|
|
|
29
29
|
* Change Indicator colors.
|
|
30
30
|
*/
|
|
31
31
|
colors?: string[];
|
|
32
|
+
/**
|
|
33
|
+
* Adjust loading bar size.
|
|
34
|
+
*/
|
|
35
|
+
size?: 'sm' | 'md';
|
|
32
36
|
}
|
|
33
37
|
declare function LoadingBar(props: LoadingBarProps): JSX.Element;
|
|
34
38
|
declare namespace LoadingBar {
|
|
@@ -36,6 +40,7 @@ declare namespace LoadingBar {
|
|
|
36
40
|
showProgressOnly: boolean;
|
|
37
41
|
show: boolean;
|
|
38
42
|
description: string;
|
|
43
|
+
size: string;
|
|
39
44
|
};
|
|
40
45
|
}
|
|
41
46
|
export default LoadingBar;
|
|
@@ -96,7 +96,9 @@ export declare const PageDialogFooter: import("@stitches/react/types/styled-comp
|
|
|
96
96
|
};
|
|
97
97
|
subtleColor: (value: string) => {
|
|
98
98
|
color: string;
|
|
99
|
-
backgroundColor: string;
|
|
99
|
+
backgroundColor: string; /**
|
|
100
|
+
* If true, the close button is disabled
|
|
101
|
+
*/
|
|
100
102
|
};
|
|
101
103
|
}>>;
|
|
102
104
|
export declare const PageDialogTitle: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
@@ -192,7 +194,9 @@ export declare const PageDialogTitle: import("@stitches/react/types/styled-compo
|
|
|
192
194
|
};
|
|
193
195
|
subtleColor: (value: string) => {
|
|
194
196
|
color: string;
|
|
195
|
-
backgroundColor: string;
|
|
197
|
+
backgroundColor: string; /**
|
|
198
|
+
* If true, the close button is disabled
|
|
199
|
+
*/
|
|
196
200
|
};
|
|
197
201
|
}>>;
|
|
198
202
|
export declare const PageDialogContent: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
@@ -288,7 +292,9 @@ export declare const PageDialogContent: import("@stitches/react/types/styled-com
|
|
|
288
292
|
};
|
|
289
293
|
subtleColor: (value: string) => {
|
|
290
294
|
color: string;
|
|
291
|
-
backgroundColor: string;
|
|
295
|
+
backgroundColor: string; /**
|
|
296
|
+
* If true, the close button is disabled
|
|
297
|
+
*/
|
|
292
298
|
};
|
|
293
299
|
}>>;
|
|
294
300
|
export declare const PageDialogTrigger: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
@@ -384,7 +390,9 @@ export declare const PageDialogTrigger: import("@stitches/react/types/styled-com
|
|
|
384
390
|
};
|
|
385
391
|
subtleColor: (value: string) => {
|
|
386
392
|
color: string;
|
|
387
|
-
backgroundColor: string;
|
|
393
|
+
backgroundColor: string; /**
|
|
394
|
+
* If true, the close button is disabled
|
|
395
|
+
*/
|
|
388
396
|
};
|
|
389
397
|
}>>;
|
|
390
398
|
declare type IDialog = React.ComponentProps<typeof Dialog>;
|
|
@@ -516,7 +524,9 @@ export declare const PageDialog: {
|
|
|
516
524
|
};
|
|
517
525
|
subtleColor: (value: string) => {
|
|
518
526
|
color: string;
|
|
519
|
-
backgroundColor: string;
|
|
527
|
+
backgroundColor: string; /**
|
|
528
|
+
* If true, the close button is disabled
|
|
529
|
+
*/
|
|
520
530
|
};
|
|
521
531
|
}>>;
|
|
522
532
|
Title: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
@@ -612,7 +622,9 @@ export declare const PageDialog: {
|
|
|
612
622
|
};
|
|
613
623
|
subtleColor: (value: string) => {
|
|
614
624
|
color: string;
|
|
615
|
-
backgroundColor: string;
|
|
625
|
+
backgroundColor: string; /**
|
|
626
|
+
* If true, the close button is disabled
|
|
627
|
+
*/
|
|
616
628
|
};
|
|
617
629
|
}>>;
|
|
618
630
|
Content: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
@@ -708,7 +720,9 @@ export declare const PageDialog: {
|
|
|
708
720
|
};
|
|
709
721
|
subtleColor: (value: string) => {
|
|
710
722
|
color: string;
|
|
711
|
-
backgroundColor: string;
|
|
723
|
+
backgroundColor: string; /**
|
|
724
|
+
* If true, the close button is disabled
|
|
725
|
+
*/
|
|
712
726
|
};
|
|
713
727
|
}>>;
|
|
714
728
|
Footer: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
@@ -804,7 +818,9 @@ export declare const PageDialog: {
|
|
|
804
818
|
};
|
|
805
819
|
subtleColor: (value: string) => {
|
|
806
820
|
color: string;
|
|
807
|
-
backgroundColor: string;
|
|
821
|
+
backgroundColor: string; /**
|
|
822
|
+
* If true, the close button is disabled
|
|
823
|
+
*/
|
|
808
824
|
};
|
|
809
825
|
}>>;
|
|
810
826
|
defaultProps: {
|
|
@@ -30,6 +30,7 @@ interface IStepWizardProps {
|
|
|
30
30
|
hide?: boolean;
|
|
31
31
|
onChangeVisibility?: (isHide: boolean) => void;
|
|
32
32
|
onNavClicked?: () => void;
|
|
33
|
+
hideCheckedIcon?: boolean;
|
|
33
34
|
}
|
|
34
35
|
declare const StepWizard: (props: IStepWizardProps) => JSX.Element;
|
|
35
36
|
export default StepWizard;
|