@majoo-ui/react 1.54.11 → 1.54.13-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/modalDialog/ModalDialog.d.ts +26 -8
- package/components/table/MobileTable.d.ts +1 -0
- package/index.esm.css +1295 -1307
- package/index.esm.js +628 -585
- package/index.umd.css +1295 -1307
- package/index.umd.js +630 -583
- 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).
|
|
@@ -95,7 +95,9 @@ export declare const ModalDialogFooter: import("@stitches/react/types/styled-com
|
|
|
95
95
|
};
|
|
96
96
|
subtleColor: (value: string) => {
|
|
97
97
|
color: string;
|
|
98
|
-
backgroundColor: string;
|
|
98
|
+
backgroundColor: string; /**
|
|
99
|
+
* If true, the close icon button is hidden
|
|
100
|
+
*/
|
|
99
101
|
};
|
|
100
102
|
}>>;
|
|
101
103
|
export declare const ModalDialogTitle: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
@@ -191,7 +193,9 @@ export declare const ModalDialogTitle: import("@stitches/react/types/styled-comp
|
|
|
191
193
|
};
|
|
192
194
|
subtleColor: (value: string) => {
|
|
193
195
|
color: string;
|
|
194
|
-
backgroundColor: string;
|
|
196
|
+
backgroundColor: string; /**
|
|
197
|
+
* If true, the close icon button is hidden
|
|
198
|
+
*/
|
|
195
199
|
};
|
|
196
200
|
}>>;
|
|
197
201
|
export declare const ModalDialogContent: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
@@ -287,7 +291,9 @@ export declare const ModalDialogContent: import("@stitches/react/types/styled-co
|
|
|
287
291
|
};
|
|
288
292
|
subtleColor: (value: string) => {
|
|
289
293
|
color: string;
|
|
290
|
-
backgroundColor: string;
|
|
294
|
+
backgroundColor: string; /**
|
|
295
|
+
* If true, the close icon button is hidden
|
|
296
|
+
*/
|
|
291
297
|
};
|
|
292
298
|
}>>;
|
|
293
299
|
export declare const ModalDialogTrigger: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
@@ -383,7 +389,9 @@ export declare const ModalDialogTrigger: import("@stitches/react/types/styled-co
|
|
|
383
389
|
};
|
|
384
390
|
subtleColor: (value: string) => {
|
|
385
391
|
color: string;
|
|
386
|
-
backgroundColor: string;
|
|
392
|
+
backgroundColor: string; /**
|
|
393
|
+
* If true, the close icon button is hidden
|
|
394
|
+
*/
|
|
387
395
|
};
|
|
388
396
|
}>>;
|
|
389
397
|
declare type IDialog = React.ComponentProps<typeof Dialog>;
|
|
@@ -398,6 +406,8 @@ interface ModalDialogProps extends IDialog, DialogContentProps {
|
|
|
398
406
|
width?: string | number;
|
|
399
407
|
/** Set default behavior when opening dialog with form. Usually used with prevent default*/
|
|
400
408
|
onOpenAutoFocus?: FocusScopeProps['onMountAutoFocus'];
|
|
409
|
+
/** Event handler called when a pointer event occurs outside the bounds of the component. It can be prevented by calling event.preventDefault.*/
|
|
410
|
+
onPointerDownOutside?: (e: any) => void;
|
|
401
411
|
/**
|
|
402
412
|
* If true, the close icon button is hidden
|
|
403
413
|
*/
|
|
@@ -520,7 +530,9 @@ declare const ModalDialog: {
|
|
|
520
530
|
};
|
|
521
531
|
subtleColor: (value: string) => {
|
|
522
532
|
color: string;
|
|
523
|
-
backgroundColor: string;
|
|
533
|
+
backgroundColor: string; /**
|
|
534
|
+
* If true, the close icon button is hidden
|
|
535
|
+
*/
|
|
524
536
|
};
|
|
525
537
|
}>>;
|
|
526
538
|
Title: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
@@ -616,7 +628,9 @@ declare const ModalDialog: {
|
|
|
616
628
|
};
|
|
617
629
|
subtleColor: (value: string) => {
|
|
618
630
|
color: string;
|
|
619
|
-
backgroundColor: string;
|
|
631
|
+
backgroundColor: string; /**
|
|
632
|
+
* If true, the close icon button is hidden
|
|
633
|
+
*/
|
|
620
634
|
};
|
|
621
635
|
}>>;
|
|
622
636
|
Content: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
@@ -712,7 +726,9 @@ declare const ModalDialog: {
|
|
|
712
726
|
};
|
|
713
727
|
subtleColor: (value: string) => {
|
|
714
728
|
color: string;
|
|
715
|
-
backgroundColor: string;
|
|
729
|
+
backgroundColor: string; /**
|
|
730
|
+
* If true, the close icon button is hidden
|
|
731
|
+
*/
|
|
716
732
|
};
|
|
717
733
|
}>>;
|
|
718
734
|
Footer: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
@@ -808,7 +824,9 @@ declare const ModalDialog: {
|
|
|
808
824
|
};
|
|
809
825
|
subtleColor: (value: string) => {
|
|
810
826
|
color: string;
|
|
811
|
-
backgroundColor: string;
|
|
827
|
+
backgroundColor: string; /**
|
|
828
|
+
* If true, the close icon button is hidden
|
|
829
|
+
*/
|
|
812
830
|
};
|
|
813
831
|
}>>;
|
|
814
832
|
defaultProps: {
|
|
@@ -18,6 +18,7 @@ interface MobileTableProps {
|
|
|
18
18
|
hiddenColumns?: string[];
|
|
19
19
|
css?: CSS;
|
|
20
20
|
customRowsStyle?: (e: any) => CustomRowsStyle[];
|
|
21
|
+
cellAlign?: 'top' | 'center' | 'bottom';
|
|
21
22
|
}
|
|
22
23
|
declare const MobileTable: React.ForwardRefExoticComponent<MobileTableProps & React.RefAttributes<HTMLDivElement>>;
|
|
23
24
|
export default MobileTable;
|