@madie/madie-design-system 1.2.30 → 1.2.32
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/.babelrc +1 -1
- package/.storybook/.babelrc +1 -1
- package/.storybook/main.js +16 -5
- package/.storybook/preview.js +1 -0
- package/components/MadieDialog/MadieDialog.stories.js +29 -8
- package/components/MadieDialog/index.jsx +65 -66
- package/components/TextField/TextField.stories.js +36 -1
- package/coverage/clover.xml +20 -17
- package/coverage/coverage-final.json +2 -2
- package/coverage/lcov-report/index.html +15 -15
- package/coverage/lcov-report/react/components/Accordion/index.html +2 -2
- package/coverage/lcov-report/react/components/Accordion/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Button/index.html +2 -2
- package/coverage/lcov-report/react/components/Button/index.js.html +4 -4
- package/coverage/lcov-report/react/components/DateField/DateField.jsx.html +2 -2
- package/coverage/lcov-report/react/components/DateField/index.html +2 -2
- package/coverage/lcov-report/react/components/DateTimeField/DateTimeField.jsx.html +2 -2
- package/coverage/lcov-report/react/components/DateTimeField/index.html +2 -2
- package/coverage/lcov-report/react/components/Error/Collapsible.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Error/ErrorUI.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Error/error.js.html +2 -2
- package/coverage/lcov-report/react/components/Error/index.html +2 -2
- package/coverage/lcov-report/react/components/Footer/FooterUI.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Footer/LegacyFooterUI.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Footer/footer.js.html +2 -2
- package/coverage/lcov-report/react/components/Footer/index.html +2 -2
- package/coverage/lcov-report/react/components/Infotip/Infotip.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Infotip/InfotipIcon.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Infotip/index.html +2 -2
- package/coverage/lcov-report/react/components/Infotip/index.js.html +2 -2
- package/coverage/lcov-report/react/components/InputLabel/index.html +2 -2
- package/coverage/lcov-report/react/components/InputLabel/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/MadieAlert/index.html +2 -2
- package/coverage/lcov-report/react/components/MadieAlert/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/MadieDeleteDialog/index.html +2 -2
- package/coverage/lcov-report/react/components/MadieDeleteDialog/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/MadieDialog/index.html +12 -12
- package/coverage/lcov-report/react/components/MadieDialog/index.jsx.html +86 -89
- package/coverage/lcov-report/react/components/MadieDiscardDialog/index.html +2 -2
- package/coverage/lcov-report/react/components/MadieDiscardDialog/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/MadieSpinner/index.html +2 -2
- package/coverage/lcov-report/react/components/MadieSpinner/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/MadieTooltip/index.html +2 -2
- package/coverage/lcov-report/react/components/MadieTooltip/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/MadieTooltipIcon/index.html +2 -2
- package/coverage/lcov-report/react/components/MadieTooltipIcon/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Pagination/index.html +2 -2
- package/coverage/lcov-report/react/components/Pagination/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Popover/index.html +2 -2
- package/coverage/lcov-report/react/components/Popover/index.js.html +2 -2
- package/coverage/lcov-report/react/components/ReadOnlyTextField/index.html +2 -2
- package/coverage/lcov-report/react/components/ReadOnlyTextField/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Select/index.html +2 -2
- package/coverage/lcov-report/react/components/Select/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Tabs/Tab.js.html +2 -2
- package/coverage/lcov-report/react/components/Tabs/index.html +2 -2
- package/coverage/lcov-report/react/components/Tabs/index.js.html +2 -2
- package/coverage/lcov-report/react/components/TextArea/index.html +2 -2
- package/coverage/lcov-report/react/components/TextArea/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/TextField/index.html +2 -2
- package/coverage/lcov-report/react/components/TextField/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Toast/index.html +2 -2
- package/coverage/lcov-report/react/components/Toast/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Tooltip/Tooltip.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Tooltip/index.html +2 -2
- package/coverage/lcov-report/react/components/Tooltip/index.js.html +2 -2
- package/coverage/lcov-report/react/components/Tooltip/position.js.html +2 -2
- package/coverage/lcov-report/react/index.html +2 -2
- package/coverage/lcov-report/react/index.js.html +2 -2
- package/coverage/lcov-report/react/lib/Chevron.jsx.html +2 -2
- package/coverage/lcov-report/react/lib/SvgComponents.jsx.html +2 -2
- package/coverage/lcov-report/react/lib/index.html +2 -2
- package/coverage/lcov.info +47 -32
- package/dist/browser.js +1 -1
- package/dist/index.js +1 -1
- package/dist/react/index.js +40 -63
- package/dist/react/index.js.LICENSE.txt +6 -4
- package/dist/react/index.js.map +1 -1
- package/jest.config.js +13 -184
- package/package-lock.json +22067 -31693
- package/package.json +144 -149
- package/test/components/MadieDialog.test.js +44 -0
|
@@ -25,28 +25,28 @@
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
26
|
<span class="strong">100% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>15/15</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">93.75% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>15/16</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
40
|
<span class="strong">100% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>4/4</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
47
|
<span class="strong">100% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>15/15</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<template id="filterTemplate">
|
|
58
58
|
<div class="quiet">
|
|
59
59
|
Filter:
|
|
60
|
-
<input
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
@@ -84,13 +84,13 @@
|
|
|
84
84
|
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
85
85
|
</td>
|
|
86
86
|
<td data-value="100" class="pct high">100%</td>
|
|
87
|
-
<td data-value="
|
|
88
|
-
<td data-value="
|
|
89
|
-
<td data-value="
|
|
87
|
+
<td data-value="15" class="abs high">15/15</td>
|
|
88
|
+
<td data-value="93.75" class="pct high">93.75%</td>
|
|
89
|
+
<td data-value="16" class="abs high">15/16</td>
|
|
90
90
|
<td data-value="100" class="pct high">100%</td>
|
|
91
|
-
<td data-value="
|
|
91
|
+
<td data-value="4" class="abs high">4/4</td>
|
|
92
92
|
<td data-value="100" class="pct high">100%</td>
|
|
93
|
-
<td data-value="
|
|
93
|
+
<td data-value="15" class="abs high">15/15</td>
|
|
94
94
|
</tr>
|
|
95
95
|
|
|
96
96
|
</tbody>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at 2024-09-
|
|
104
|
+
at 2024-09-16T18:01:43.118Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -25,28 +25,28 @@
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
26
|
<span class="strong">100% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>15/15</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">93.75% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>15/16</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
40
|
<span class="strong">100% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>4/4</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
47
|
<span class="strong">100% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>15/15</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<template id="filterTemplate">
|
|
58
58
|
<div class="quiet">
|
|
59
59
|
Filter:
|
|
60
|
-
<input
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
@@ -375,8 +375,7 @@
|
|
|
375
375
|
<a name='L310'></a><a href='#L310'>310</a>
|
|
376
376
|
<a name='L311'></a><a href='#L311'>311</a>
|
|
377
377
|
<a name='L312'></a><a href='#L312'>312</a>
|
|
378
|
-
<a name='L313'></a><a href='#L313'>313</a>
|
|
379
|
-
<a name='L314'></a><a href='#L314'>314</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
378
|
+
<a name='L313'></a><a href='#L313'>313</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
380
379
|
<span class="cline-any cline-neutral"> </span>
|
|
381
380
|
<span class="cline-any cline-neutral"> </span>
|
|
382
381
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -393,9 +392,9 @@
|
|
|
393
392
|
<span class="cline-any cline-neutral"> </span>
|
|
394
393
|
<span class="cline-any cline-neutral"> </span>
|
|
395
394
|
<span class="cline-any cline-yes">3x</span>
|
|
396
|
-
<span class="cline-any cline-yes">
|
|
395
|
+
<span class="cline-any cline-yes">15x</span>
|
|
397
396
|
<span class="cline-any cline-neutral"> </span>
|
|
398
|
-
<span class="cline-any cline-yes">
|
|
397
|
+
<span class="cline-any cline-yes">14x</span>
|
|
399
398
|
<span class="cline-any cline-neutral"> </span>
|
|
400
399
|
<span class="cline-any cline-neutral"> </span>
|
|
401
400
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -409,7 +408,10 @@
|
|
|
409
408
|
<span class="cline-any cline-neutral"> </span>
|
|
410
409
|
<span class="cline-any cline-yes">3x</span>
|
|
411
410
|
<span class="cline-any cline-neutral"> </span>
|
|
411
|
+
<span class="cline-any cline-yes">12x</span>
|
|
412
412
|
<span class="cline-any cline-neutral"> </span>
|
|
413
|
+
<span class="cline-any cline-yes">12x</span>
|
|
414
|
+
<span class="cline-any cline-yes">12x</span>
|
|
413
415
|
<span class="cline-any cline-neutral"> </span>
|
|
414
416
|
<span class="cline-any cline-neutral"> </span>
|
|
415
417
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -443,14 +445,6 @@
|
|
|
443
445
|
<span class="cline-any cline-neutral"> </span>
|
|
444
446
|
<span class="cline-any cline-neutral"> </span>
|
|
445
447
|
<span class="cline-any cline-neutral"> </span>
|
|
446
|
-
<span class="cline-any cline-yes">18x</span>
|
|
447
|
-
<span class="cline-any cline-neutral"> </span>
|
|
448
|
-
<span class="cline-any cline-yes">18x</span>
|
|
449
|
-
<span class="cline-any cline-neutral"> </span>
|
|
450
|
-
<span class="cline-any cline-yes">18x</span>
|
|
451
|
-
<span class="cline-any cline-neutral"> </span>
|
|
452
|
-
<span class="cline-any cline-yes">18x</span>
|
|
453
|
-
<span class="cline-any cline-neutral"> </span>
|
|
454
448
|
<span class="cline-any cline-neutral"> </span>
|
|
455
449
|
<span class="cline-any cline-neutral"> </span>
|
|
456
450
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -458,6 +452,7 @@
|
|
|
458
452
|
<span class="cline-any cline-neutral"> </span>
|
|
459
453
|
<span class="cline-any cline-neutral"> </span>
|
|
460
454
|
<span class="cline-any cline-neutral"> </span>
|
|
455
|
+
<span class="cline-any cline-yes">3x</span>
|
|
461
456
|
<span class="cline-any cline-neutral"> </span>
|
|
462
457
|
<span class="cline-any cline-neutral"> </span>
|
|
463
458
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -469,9 +464,6 @@
|
|
|
469
464
|
<span class="cline-any cline-neutral"> </span>
|
|
470
465
|
<span class="cline-any cline-neutral"> </span>
|
|
471
466
|
<span class="cline-any cline-neutral"> </span>
|
|
472
|
-
<span class="cline-any cline-yes">1x</span>
|
|
473
|
-
<span class="cline-any cline-yes">1x</span>
|
|
474
|
-
<span class="cline-any cline-neutral"> </span>
|
|
475
467
|
<span class="cline-any cline-neutral"> </span>
|
|
476
468
|
<span class="cline-any cline-neutral"> </span>
|
|
477
469
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -496,7 +488,9 @@
|
|
|
496
488
|
<span class="cline-any cline-neutral"> </span>
|
|
497
489
|
<span class="cline-any cline-neutral"> </span>
|
|
498
490
|
<span class="cline-any cline-neutral"> </span>
|
|
491
|
+
<span class="cline-any cline-yes">20x</span>
|
|
499
492
|
<span class="cline-any cline-neutral"> </span>
|
|
493
|
+
<span class="cline-any cline-yes">20x</span>
|
|
500
494
|
<span class="cline-any cline-neutral"> </span>
|
|
501
495
|
<span class="cline-any cline-neutral"> </span>
|
|
502
496
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -516,6 +510,8 @@
|
|
|
516
510
|
<span class="cline-any cline-neutral"> </span>
|
|
517
511
|
<span class="cline-any cline-neutral"> </span>
|
|
518
512
|
<span class="cline-any cline-neutral"> </span>
|
|
513
|
+
<span class="cline-any cline-yes">1x</span>
|
|
514
|
+
<span class="cline-any cline-yes">1x</span>
|
|
519
515
|
<span class="cline-any cline-neutral"> </span>
|
|
520
516
|
<span class="cline-any cline-neutral"> </span>
|
|
521
517
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -671,16 +667,17 @@
|
|
|
671
667
|
<span class="cline-any cline-neutral"> </span>
|
|
672
668
|
<span class="cline-any cline-neutral"> </span>
|
|
673
669
|
<span class="cline-any cline-neutral"> </span>
|
|
670
|
+
<span class="cline-any cline-yes">3x</span>
|
|
674
671
|
<span class="cline-any cline-neutral"> </span>
|
|
675
672
|
<span class="cline-any cline-neutral"> </span>
|
|
676
673
|
<span class="cline-any cline-neutral"> </span>
|
|
677
|
-
<span class="cline-any cline-yes">3x</span>
|
|
678
674
|
<span class="cline-any cline-neutral"> </span>
|
|
679
675
|
<span class="cline-any cline-neutral"> </span>
|
|
680
676
|
<span class="cline-any cline-neutral"> </span>
|
|
681
677
|
<span class="cline-any cline-neutral"> </span>
|
|
682
678
|
<span class="cline-any cline-neutral"> </span>
|
|
683
679
|
<span class="cline-any cline-neutral"> </span>
|
|
680
|
+
<span class="cline-any cline-yes">3x</span>
|
|
684
681
|
<span class="cline-any cline-neutral"> </span>
|
|
685
682
|
<span class="cline-any cline-neutral"> </span>
|
|
686
683
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -689,6 +686,7 @@
|
|
|
689
686
|
<span class="cline-any cline-neutral"> </span>
|
|
690
687
|
<span class="cline-any cline-neutral"> </span>
|
|
691
688
|
<span class="cline-any cline-neutral"> </span>
|
|
689
|
+
<span class="cline-any cline-neutral"> </span>
|
|
692
690
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React from "react";
|
|
693
691
|
import PropTypes from "prop-types";
|
|
694
692
|
import Draggable from "react-draggable";
|
|
@@ -720,6 +718,52 @@ const DraggablePaper = (props) => {
|
|
|
720
718
|
);
|
|
721
719
|
};
|
|
722
720
|
|
|
721
|
+
const Actions = ({ onClose, cancelButtonProps, continueButtonProps }) => {
|
|
722
|
+
const { cancelText, cancelIcon, ...otherCancelButtonProps } =
|
|
723
|
+
cancelButtonProps;
|
|
724
|
+
const { continueText, continueIcon, ...otherContinueButtonProps } =
|
|
725
|
+
continueButtonProps;
|
|
726
|
+
return (
|
|
727
|
+
<>
|
|
728
|
+
<Divider sx={{ borderColor: "#8c8c8c" }} />
|
|
729
|
+
<DialogActions
|
|
730
|
+
sx={{
|
|
731
|
+
padding: "16px",
|
|
732
|
+
"& >:not(:first-of-type)": {
|
|
733
|
+
marginLeft: "16px",
|
|
734
|
+
},
|
|
735
|
+
}}
|
|
736
|
+
>
|
|
737
|
+
{cancelButtonProps && (
|
|
738
|
+
<Button
|
|
739
|
+
variant="secondary"
|
|
740
|
+
onClick={onClose}
|
|
741
|
+
{...otherCancelButtonProps}
|
|
742
|
+
>
|
|
743
|
+
<span>
|
|
744
|
+
{cancelText}
|
|
745
|
+
{cancelIcon}
|
|
746
|
+
</span>
|
|
747
|
+
</Button>
|
|
748
|
+
)}
|
|
749
|
+
{continueButtonProps && (
|
|
750
|
+
<Button
|
|
751
|
+
className="qpp-c-button--cyan"
|
|
752
|
+
type="submit"
|
|
753
|
+
style={{ marginTop: 0 }}
|
|
754
|
+
{...otherContinueButtonProps}
|
|
755
|
+
>
|
|
756
|
+
<span>
|
|
757
|
+
{continueText}
|
|
758
|
+
{continueIcon}
|
|
759
|
+
</span>
|
|
760
|
+
</Button>
|
|
761
|
+
)}
|
|
762
|
+
</DialogActions>
|
|
763
|
+
</>
|
|
764
|
+
);
|
|
765
|
+
};
|
|
766
|
+
|
|
723
767
|
const MadieDialog = ({
|
|
724
768
|
/*
|
|
725
769
|
Lets make a reusable component
|
|
@@ -757,10 +801,6 @@ const MadieDialog = ({
|
|
|
757
801
|
showRequiredFieldMessage,
|
|
758
802
|
...otherDialogProps
|
|
759
803
|
} = dialogProps;
|
|
760
|
-
const { cancelText, cancelIcon, ...otherCancelButtonProps } =
|
|
761
|
-
cancelButtonProps;
|
|
762
|
-
const { continueText, continueIcon, ...otherContinueButonProps } =
|
|
763
|
-
continueButtonProps;
|
|
764
804
|
|
|
765
805
|
return (
|
|
766
806
|
<Dialog
|
|
@@ -883,37 +923,13 @@ const MadieDialog = ({
|
|
|
883
923
|
|
|
884
924
|
{children}
|
|
885
925
|
</DialogContent>
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
}}
|
|
894
|
-
>
|
|
895
|
-
<Button
|
|
896
|
-
variant="secondary"
|
|
897
|
-
onClick={onClose}
|
|
898
|
-
{...otherCancelButtonProps}
|
|
899
|
-
>
|
|
900
|
-
<span>
|
|
901
|
-
{cancelText}
|
|
902
|
-
{cancelIcon}
|
|
903
|
-
</span>
|
|
904
|
-
</Button>
|
|
905
|
-
<Button
|
|
906
|
-
className="qpp-c-button--cyan"
|
|
907
|
-
type="submit"
|
|
908
|
-
style={{ marginTop: 0 }}
|
|
909
|
-
{...otherContinueButonProps}
|
|
910
|
-
>
|
|
911
|
-
<span>
|
|
912
|
-
{continueText}
|
|
913
|
-
{continueIcon}
|
|
914
|
-
</span>
|
|
915
|
-
</Button>
|
|
916
|
-
</DialogActions>
|
|
926
|
+
{(cancelButtonProps || continueButtonProps) && (
|
|
927
|
+
<Actions
|
|
928
|
+
onClose={onClose}
|
|
929
|
+
continueButtonProps={continueButtonProps}
|
|
930
|
+
cancelButtonProps={cancelButtonProps}
|
|
931
|
+
/>
|
|
932
|
+
)}
|
|
917
933
|
</form>
|
|
918
934
|
) : (
|
|
919
935
|
<>
|
|
@@ -950,37 +966,13 @@ const MadieDialog = ({
|
|
|
950
966
|
<DialogContent sx={{ padding: "32px" }}>
|
|
951
967
|
{children}
|
|
952
968
|
</DialogContent>
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
}}
|
|
961
|
-
>
|
|
962
|
-
<Button
|
|
963
|
-
variant="secondary"
|
|
964
|
-
onClick={onClose}
|
|
965
|
-
{...otherCancelButtonProps}
|
|
966
|
-
>
|
|
967
|
-
<span>
|
|
968
|
-
{cancelText}
|
|
969
|
-
{cancelIcon}
|
|
970
|
-
</span>
|
|
971
|
-
</Button>
|
|
972
|
-
<Button
|
|
973
|
-
variant="cyan"
|
|
974
|
-
type="submit"
|
|
975
|
-
style={{ marginTop: 0 }}
|
|
976
|
-
{...otherContinueButonProps}
|
|
977
|
-
>
|
|
978
|
-
<span>
|
|
979
|
-
{continueText}
|
|
980
|
-
{continueIcon}
|
|
981
|
-
</span>
|
|
982
|
-
</Button>
|
|
983
|
-
</DialogActions>
|
|
969
|
+
{(cancelButtonProps || continueButtonProps) && (
|
|
970
|
+
<Actions
|
|
971
|
+
onClose={onClose}
|
|
972
|
+
continueButtonProps={continueButtonProps}
|
|
973
|
+
cancelButtonProps={cancelButtonProps}
|
|
974
|
+
/>
|
|
975
|
+
)}
|
|
984
976
|
</>
|
|
985
977
|
)}
|
|
986
978
|
</Dialog>
|
|
@@ -1001,6 +993,11 @@ DraggablePaper.propTypes = {
|
|
|
1001
993
|
children: PropTypes.object,
|
|
1002
994
|
};
|
|
1003
995
|
|
|
996
|
+
Actions.propTypes = {
|
|
997
|
+
onClose: PropTypes.any,
|
|
998
|
+
cancelButtonProps: PropTypes.object,
|
|
999
|
+
continueButtonProps: PropTypes.object,
|
|
1000
|
+
};
|
|
1004
1001
|
export default MadieDialog;
|
|
1005
1002
|
</pre></td></tr></table></pre>
|
|
1006
1003
|
|
|
@@ -1009,7 +1006,7 @@ export default MadieDialog;
|
|
|
1009
1006
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1010
1007
|
Code coverage generated by
|
|
1011
1008
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1012
|
-
at 2024-09-
|
|
1009
|
+
at 2024-09-16T18:01:43.118Z
|
|
1013
1010
|
</div>
|
|
1014
1011
|
<script src="../../../prettify.js"></script>
|
|
1015
1012
|
<script>
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<template id="filterTemplate">
|
|
58
58
|
<div class="quiet">
|
|
59
59
|
Filter:
|
|
60
|
-
<input
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at 2024-09-
|
|
104
|
+
at 2024-09-16T18:01:43.118Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<template id="filterTemplate">
|
|
58
58
|
<div class="quiet">
|
|
59
59
|
Filter:
|
|
60
|
-
<input
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
@@ -217,7 +217,7 @@ export default MadieDiscardDialog;
|
|
|
217
217
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
218
218
|
Code coverage generated by
|
|
219
219
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
220
|
-
at 2024-09-
|
|
220
|
+
at 2024-09-16T18:01:43.118Z
|
|
221
221
|
</div>
|
|
222
222
|
<script src="../../../prettify.js"></script>
|
|
223
223
|
<script>
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<template id="filterTemplate">
|
|
58
58
|
<div class="quiet">
|
|
59
59
|
Filter:
|
|
60
|
-
<input
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at 2024-09-
|
|
104
|
+
at 2024-09-16T18:01:43.118Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<template id="filterTemplate">
|
|
58
58
|
<div class="quiet">
|
|
59
59
|
Filter:
|
|
60
|
-
<input
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
@@ -175,7 +175,7 @@ export default MadieSpinner;
|
|
|
175
175
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
176
176
|
Code coverage generated by
|
|
177
177
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
178
|
-
at 2024-09-
|
|
178
|
+
at 2024-09-16T18:01:43.118Z
|
|
179
179
|
</div>
|
|
180
180
|
<script src="../../../prettify.js"></script>
|
|
181
181
|
<script>
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<template id="filterTemplate">
|
|
58
58
|
<div class="quiet">
|
|
59
59
|
Filter:
|
|
60
|
-
<input
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at 2024-09-
|
|
104
|
+
at 2024-09-16T18:01:43.118Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<template id="filterTemplate">
|
|
58
58
|
<div class="quiet">
|
|
59
59
|
Filter:
|
|
60
|
-
<input
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
@@ -217,7 +217,7 @@ export default MadieToolTip;
|
|
|
217
217
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
218
218
|
Code coverage generated by
|
|
219
219
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
220
|
-
at 2024-09-
|
|
220
|
+
at 2024-09-16T18:01:43.118Z
|
|
221
221
|
</div>
|
|
222
222
|
<script src="../../../prettify.js"></script>
|
|
223
223
|
<script>
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<template id="filterTemplate">
|
|
58
58
|
<div class="quiet">
|
|
59
59
|
Filter:
|
|
60
|
-
<input
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at 2024-09-
|
|
104
|
+
at 2024-09-16T18:01:43.118Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<template id="filterTemplate">
|
|
58
58
|
<div class="quiet">
|
|
59
59
|
Filter:
|
|
60
|
-
<input
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
@@ -163,7 +163,7 @@ TooltipIcon.propTypes = {
|
|
|
163
163
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
164
164
|
Code coverage generated by
|
|
165
165
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
166
|
-
at 2024-09-
|
|
166
|
+
at 2024-09-16T18:01:43.118Z
|
|
167
167
|
</div>
|
|
168
168
|
<script src="../../../prettify.js"></script>
|
|
169
169
|
<script>
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<template id="filterTemplate">
|
|
58
58
|
<div class="quiet">
|
|
59
59
|
Filter:
|
|
60
|
-
<input
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at 2024-09-
|
|
104
|
+
at 2024-09-16T18:01:43.118Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<template id="filterTemplate">
|
|
58
58
|
<div class="quiet">
|
|
59
59
|
Filter:
|
|
60
|
-
<input
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
@@ -721,7 +721,7 @@ export { Pagination };
|
|
|
721
721
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
722
722
|
Code coverage generated by
|
|
723
723
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
724
|
-
at 2024-09-
|
|
724
|
+
at 2024-09-16T18:01:43.118Z
|
|
725
725
|
</div>
|
|
726
726
|
<script src="../../../prettify.js"></script>
|
|
727
727
|
<script>
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<template id="filterTemplate">
|
|
58
58
|
<div class="quiet">
|
|
59
59
|
Filter:
|
|
60
|
-
<input
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at 2024-09-
|
|
104
|
+
at 2024-09-16T18:01:43.118Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<template id="filterTemplate">
|
|
58
58
|
<div class="quiet">
|
|
59
59
|
Filter:
|
|
60
|
-
<input
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
@@ -463,7 +463,7 @@ export default MadiePopover;
|
|
|
463
463
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
464
464
|
Code coverage generated by
|
|
465
465
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
466
|
-
at 2024-09-
|
|
466
|
+
at 2024-09-16T18:01:43.118Z
|
|
467
467
|
</div>
|
|
468
468
|
<script src="../../../prettify.js"></script>
|
|
469
469
|
<script>
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<template id="filterTemplate">
|
|
58
58
|
<div class="quiet">
|
|
59
59
|
Filter:
|
|
60
|
-
<input
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at 2024-09-
|
|
104
|
+
at 2024-09-16T18:01:43.118Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|