@madie/madie-design-system 1.0.14 → 1.0.16
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/components/InputLabel/index.jsx +2 -2
- package/components/MadieDialog/index.jsx +4 -2
- package/components/MadieDiscardDialog/MadieDiscardDialog.stories.js +46 -0
- package/components/MadieDiscardDialog/index.jsx +49 -0
- package/components/ReadOnlyTextField/ReadOnlyTextField.stories.js +99 -0
- package/components/ReadOnlyTextField/index.jsx +76 -0
- package/components/Select/index.jsx +5 -1
- package/components/index.js +4 -0
- package/coverage/clover.xml +40 -31
- package/coverage/coverage-final.json +4 -3
- package/coverage/lcov-report/index.html +22 -7
- package/coverage/lcov-report/react/components/Accordion/index.html +1 -1
- package/coverage/lcov-report/react/components/Accordion/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Button/index.html +1 -1
- package/coverage/lcov-report/react/components/Button/index.js.html +16 -16
- package/coverage/lcov-report/react/components/Error/Collapsible.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Error/ErrorUI.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Error/error.js.html +1 -1
- package/coverage/lcov-report/react/components/Error/index.html +1 -1
- package/coverage/lcov-report/react/components/Footer/FooterUI.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Footer/LegacyFooterUI.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Footer/footer.js.html +1 -1
- package/coverage/lcov-report/react/components/Footer/index.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/Infotip.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/InfotipIcon.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/index.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/index.js.html +1 -1
- package/coverage/lcov-report/react/components/InputLabel/index.html +1 -1
- package/coverage/lcov-report/react/components/InputLabel/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/MadieDialog/Index.jsx.html +38 -32
- package/coverage/lcov-report/react/components/MadieDialog/index.html +1 -1
- package/coverage/lcov-report/react/components/MadieDiscardDialog/index.html +116 -0
- package/coverage/lcov-report/react/components/MadieDiscardDialog/index.jsx.html +232 -0
- package/coverage/lcov-report/react/components/MadieSpinner/index.html +1 -1
- package/coverage/lcov-report/react/components/MadieSpinner/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Modal/LegacyModal.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Modal/Modal.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Modal/index.html +1 -1
- package/coverage/lcov-report/react/components/Modal/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Pagination/index.html +1 -1
- package/coverage/lcov-report/react/components/Pagination/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SanitizedContent/index.html +1 -1
- package/coverage/lcov-report/react/components/SanitizedContent/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Select/index.html +1 -1
- package/coverage/lcov-report/react/components/Select/index.jsx.html +13 -7
- package/coverage/lcov-report/react/components/SessionDialog/index.html +1 -1
- package/coverage/lcov-report/react/components/SessionDialog/sessionDialog.js.html +1 -1
- package/coverage/lcov-report/react/components/SessionDialogUI.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Textfield/index.html +1 -1
- package/coverage/lcov-report/react/components/Textfield/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Toast/index.html +1 -1
- package/coverage/lcov-report/react/components/Toast/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Tooltip/Tooltip.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Tooltip/index.html +1 -1
- package/coverage/lcov-report/react/components/Tooltip/index.js.html +1 -1
- package/coverage/lcov-report/react/components/Tooltip/position.js.html +1 -1
- package/coverage/lcov-report/react/components/index.html +1 -1
- package/coverage/lcov-report/react/index.html +1 -1
- package/coverage/lcov-report/react/index.js.html +1 -1
- package/coverage/lcov-report/react/lib/Chevron.jsx.html +1 -1
- package/coverage/lcov-report/react/lib/SvgComponents.jsx.html +1 -1
- package/coverage/lcov-report/react/lib/index.html +1 -1
- package/coverage/lcov-report/react/session/index.html +1 -1
- package/coverage/lcov-report/react/session/index.js.html +1 -1
- package/coverage/lcov-report/react/session/logout.js.html +1 -1
- package/coverage/lcov-report/react/session/refresh.js.html +1 -1
- package/coverage/lcov-report/react/session/ttl.js.html +1 -1
- package/coverage/lcov.info +62 -48
- package/dist/browser.js +1 -1
- package/dist/index.js +1 -1
- package/dist/react/index.js +2 -2
- package/dist/react/index.js.map +1 -1
- package/package.json +1 -1
- package/storybook-static/246.0e7dabde.iframe.bundle.js +103 -0
- package/storybook-static/{103.36d0f822.iframe.bundle.js.LICENSE.txt → 246.0e7dabde.iframe.bundle.js.LICENSE.txt} +0 -0
- package/storybook-static/{103.36d0f822.iframe.bundle.js.map → 246.0e7dabde.iframe.bundle.js.map} +1 -1
- package/storybook-static/iframe.html +1 -1
- package/storybook-static/main.fbf42f80.iframe.bundle.js +1 -0
- package/storybook-static/project.json +1 -1
- package/styles/_qpp-style.scss +1 -1
- package/styles/components/_madie-discard-dialog.scss +34 -0
- package/styles/qppds/components/_madie-discard-dialog.scss +34 -0
- package/styles/qppds/components/index.scss +1 -0
- package/test/components/MadieDialog.test.js +0 -1
- package/test/components/MadieDiscardDialog.test.js +82 -0
- package/test/components/ReadOnlyTextField.test.js +50 -0
- package/storybook-static/103.36d0f822.iframe.bundle.js +0 -103
- package/storybook-static/main.defda9ac.iframe.bundle.js +0 -1
|
@@ -108,7 +108,7 @@ const MadieDialog = ({
|
|
|
108
108
|
</div>
|
|
109
109
|
</Box>
|
|
110
110
|
<Divider />
|
|
111
|
-
<DialogContent sx={{ padding:
|
|
111
|
+
<DialogContent sx={{ padding: "32px" }}>
|
|
112
112
|
{showRequiredFieldMessage && (
|
|
113
113
|
<Box
|
|
114
114
|
sx={{
|
|
@@ -205,7 +205,9 @@ const MadieDialog = ({
|
|
|
205
205
|
</div>
|
|
206
206
|
</Box>
|
|
207
207
|
<Divider />
|
|
208
|
-
<DialogContent sx={{ padding:
|
|
208
|
+
<DialogContent sx={{ padding: "32px" }}>
|
|
209
|
+
{children}
|
|
210
|
+
</DialogContent>
|
|
209
211
|
<Divider />
|
|
210
212
|
<DialogActions
|
|
211
213
|
sx={{
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React, { useState } from "react";
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
import { withKnobs } from "@storybook/addon-knobs";
|
|
4
|
+
import MadieDiscardDialog from "./index";
|
|
5
|
+
import Button from "../Button";
|
|
6
|
+
export default {
|
|
7
|
+
title: "MadieDiscardDialog",
|
|
8
|
+
component: MadieDiscardDialog,
|
|
9
|
+
decorators: [withKnobs],
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const Wrapper = ({ children }) => (
|
|
13
|
+
<div className="qpp-u-padding--16" style={{ width: 300 }}>
|
|
14
|
+
{children}
|
|
15
|
+
</div>
|
|
16
|
+
);
|
|
17
|
+
Wrapper.propTypes = {
|
|
18
|
+
className: PropTypes.string,
|
|
19
|
+
children: PropTypes.node,
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export const DiscardDialog = () => {
|
|
23
|
+
const [open, setOpen] = useState(false);
|
|
24
|
+
const [text, setText] = useState("I'm some text that you may discard");
|
|
25
|
+
const onClose = () => {
|
|
26
|
+
setOpen(false);
|
|
27
|
+
};
|
|
28
|
+
const onContinue = () => {
|
|
29
|
+
setText("");
|
|
30
|
+
setOpen(false);
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
return (
|
|
34
|
+
<div className="qpp-u-padding--16" style={{ width: 300 }}>
|
|
35
|
+
<p>{text}</p>
|
|
36
|
+
<Button variant="cyan" onClick={() => setOpen(true)}>
|
|
37
|
+
open Dialog
|
|
38
|
+
</Button>
|
|
39
|
+
<MadieDiscardDialog
|
|
40
|
+
open={open}
|
|
41
|
+
onContinue={onContinue}
|
|
42
|
+
onClose={onClose}
|
|
43
|
+
/>
|
|
44
|
+
</div>
|
|
45
|
+
);
|
|
46
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
import ErrorIcon from "@mui/icons-material/Error";
|
|
4
|
+
import MadieDialog from "../MadieDialog";
|
|
5
|
+
|
|
6
|
+
const MadieDiscardDialog = ({ open, onClose, onContinue }) => (
|
|
7
|
+
<MadieDialog
|
|
8
|
+
title="Discard Changes?"
|
|
9
|
+
dialogProps={{
|
|
10
|
+
open: open,
|
|
11
|
+
onClose,
|
|
12
|
+
"data-testid": "discard-dialog",
|
|
13
|
+
}}
|
|
14
|
+
cancelButtonProps={{
|
|
15
|
+
variant: "secondary",
|
|
16
|
+
onClick: onClose,
|
|
17
|
+
cancelText: "No, Keep Working",
|
|
18
|
+
"data-testid": "discard-dialog-cancel-button",
|
|
19
|
+
}}
|
|
20
|
+
continueButtonProps={{
|
|
21
|
+
variant: "primary",
|
|
22
|
+
type: "submit",
|
|
23
|
+
"data-testid": "discard-dialog-continue-button",
|
|
24
|
+
continueText: "Yes, Discard All Changes",
|
|
25
|
+
onClick: onContinue,
|
|
26
|
+
}}
|
|
27
|
+
>
|
|
28
|
+
<div id="discard-changes-dialog-body">
|
|
29
|
+
<section className="dialog-warning-body">
|
|
30
|
+
<p>You have unsaved changes.</p>
|
|
31
|
+
<p className="strong">
|
|
32
|
+
Are you sure you want to discard your changes?
|
|
33
|
+
</p>
|
|
34
|
+
</section>
|
|
35
|
+
<section className="dialog-warning-action">
|
|
36
|
+
<ErrorIcon />
|
|
37
|
+
<p>This Action cannot be undone.</p>
|
|
38
|
+
</section>
|
|
39
|
+
</div>
|
|
40
|
+
</MadieDialog>
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
MadieDiscardDialog.propTypes = {
|
|
44
|
+
open: PropTypes.bool,
|
|
45
|
+
onClose: PropTypes.func,
|
|
46
|
+
onContinue: PropTypes.func,
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
export default MadieDiscardDialog;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
import { withKnobs } from "@storybook/addon-knobs";
|
|
4
|
+
import ReadOnlyTextField from "./index";
|
|
5
|
+
import { FormHelperText } from "@mui/material";
|
|
6
|
+
export default {
|
|
7
|
+
title: "ReadOnlyTextField",
|
|
8
|
+
component: ReadOnlyTextField,
|
|
9
|
+
decorators: [withKnobs],
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const Wrapper = ({ children }) => (
|
|
13
|
+
<div className="qpp-u-padding--16" style={{ width: 300 }}>
|
|
14
|
+
{children}
|
|
15
|
+
</div>
|
|
16
|
+
);
|
|
17
|
+
Wrapper.propTypes = {
|
|
18
|
+
className: PropTypes.string,
|
|
19
|
+
children: PropTypes.node,
|
|
20
|
+
};
|
|
21
|
+
export const Textfield = () => (
|
|
22
|
+
<Wrapper>
|
|
23
|
+
<ReadOnlyTextField
|
|
24
|
+
placeholder="Placeholder"
|
|
25
|
+
label="Text Label"
|
|
26
|
+
id="measureName"
|
|
27
|
+
inputProps={{ "data-testid": "measure-name-input" }}
|
|
28
|
+
data-testid="measure-name-text-field"
|
|
29
|
+
size="small"
|
|
30
|
+
/>
|
|
31
|
+
</Wrapper>
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
export const WithHelperText = () => (
|
|
35
|
+
<Wrapper>
|
|
36
|
+
<ReadOnlyTextField
|
|
37
|
+
placeholder="Placeholder"
|
|
38
|
+
label="Text Label"
|
|
39
|
+
id="measureName"
|
|
40
|
+
inputProps={{ "data-testid": "measure-name-input" }}
|
|
41
|
+
data-testid="measure-name-text-field"
|
|
42
|
+
size="small"
|
|
43
|
+
helperText={
|
|
44
|
+
<FormHelperText data-testid={`helper-text`} error={false}>
|
|
45
|
+
a descriptive message
|
|
46
|
+
</FormHelperText>
|
|
47
|
+
}
|
|
48
|
+
/>
|
|
49
|
+
</Wrapper>
|
|
50
|
+
);
|
|
51
|
+
|
|
52
|
+
export const Disabled = () => (
|
|
53
|
+
<Wrapper>
|
|
54
|
+
<ReadOnlyTextField
|
|
55
|
+
placeholder="Placeholder"
|
|
56
|
+
label="Text Label"
|
|
57
|
+
id="measureName"
|
|
58
|
+
inputProps={{ "data-testid": "measure-name-input" }}
|
|
59
|
+
data-testid="measure-name-text-field"
|
|
60
|
+
size="small"
|
|
61
|
+
disabled
|
|
62
|
+
required
|
|
63
|
+
/>
|
|
64
|
+
</Wrapper>
|
|
65
|
+
);
|
|
66
|
+
|
|
67
|
+
export const Required = () => (
|
|
68
|
+
<Wrapper>
|
|
69
|
+
<ReadOnlyTextField
|
|
70
|
+
placeholder="Placeholder"
|
|
71
|
+
required
|
|
72
|
+
label="Text Label"
|
|
73
|
+
id="measureName"
|
|
74
|
+
inputProps={{ "data-testid": "measure-name-input" }}
|
|
75
|
+
data-testid="measure-name-text-field"
|
|
76
|
+
size="small"
|
|
77
|
+
/>
|
|
78
|
+
</Wrapper>
|
|
79
|
+
);
|
|
80
|
+
|
|
81
|
+
export const Error = () => (
|
|
82
|
+
<Wrapper>
|
|
83
|
+
<ReadOnlyTextField
|
|
84
|
+
placeholder="Placeholder"
|
|
85
|
+
error
|
|
86
|
+
required
|
|
87
|
+
label="Text Label"
|
|
88
|
+
id="measureName"
|
|
89
|
+
inputProps={{ "data-testid": "measure-name-input" }}
|
|
90
|
+
data-testid="measure-name-text-field"
|
|
91
|
+
size="small"
|
|
92
|
+
helperText={
|
|
93
|
+
<FormHelperText data-testid={`helper-text`} error={true}>
|
|
94
|
+
An error message
|
|
95
|
+
</FormHelperText>
|
|
96
|
+
}
|
|
97
|
+
/>
|
|
98
|
+
</Wrapper>
|
|
99
|
+
);
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { FormControl, TextField as MUITextField } from "@mui/material";
|
|
3
|
+
import InputLabel from "../InputLabel";
|
|
4
|
+
import PropTypes from "prop-types";
|
|
5
|
+
|
|
6
|
+
const ReadOnlyTextField = ({
|
|
7
|
+
id,
|
|
8
|
+
error = false,
|
|
9
|
+
helperText = undefined,
|
|
10
|
+
required = false,
|
|
11
|
+
disabled = false,
|
|
12
|
+
label,
|
|
13
|
+
...rest
|
|
14
|
+
}) => {
|
|
15
|
+
return (
|
|
16
|
+
<FormControl fullWidth error={error}>
|
|
17
|
+
<InputLabel
|
|
18
|
+
disabled={disabled}
|
|
19
|
+
shrink
|
|
20
|
+
required={required}
|
|
21
|
+
error={error}
|
|
22
|
+
htmlFor={id}
|
|
23
|
+
>
|
|
24
|
+
{label}
|
|
25
|
+
</InputLabel>
|
|
26
|
+
<MUITextField
|
|
27
|
+
sx={{
|
|
28
|
+
height: 40, //there's a .13 coming from somewhere.
|
|
29
|
+
border: "none",
|
|
30
|
+
"& .MuiOutlinedInput-root": {
|
|
31
|
+
"& > fieldset": {
|
|
32
|
+
border: "none",
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
// input base selector
|
|
36
|
+
"& .MuiInputBase-input": {
|
|
37
|
+
lineHeight: "19px",
|
|
38
|
+
fontFamily: "Rubik",
|
|
39
|
+
disableUnderline: true,
|
|
40
|
+
fontSize: 16,
|
|
41
|
+
padding: "9px 0px",
|
|
42
|
+
"&::placeholder": {
|
|
43
|
+
opacity: 0.6,
|
|
44
|
+
},
|
|
45
|
+
"&:focus": {
|
|
46
|
+
border: "none",
|
|
47
|
+
outline: "none",
|
|
48
|
+
boxShadow: "none",
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
}}
|
|
52
|
+
InputProps={{
|
|
53
|
+
readOnly: true,
|
|
54
|
+
}}
|
|
55
|
+
disableUnderline={true}
|
|
56
|
+
label={null}
|
|
57
|
+
error={error}
|
|
58
|
+
disabled={disabled}
|
|
59
|
+
id={id}
|
|
60
|
+
{...rest}
|
|
61
|
+
/>
|
|
62
|
+
{helperText && helperText}
|
|
63
|
+
</FormControl>
|
|
64
|
+
);
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
ReadOnlyTextField.propTypes = {
|
|
68
|
+
id: PropTypes.string,
|
|
69
|
+
error: PropTypes.bool,
|
|
70
|
+
helperText: PropTypes.string,
|
|
71
|
+
required: PropTypes.bool,
|
|
72
|
+
disabled: PropTypes.bool,
|
|
73
|
+
placeholder: PropTypes.string, // expects placeholder objects of { name: value } and inserts into the render item function.
|
|
74
|
+
label: PropTypes.string,
|
|
75
|
+
};
|
|
76
|
+
export default ReadOnlyTextField;
|
|
@@ -88,7 +88,11 @@ const Select = ({
|
|
|
88
88
|
>
|
|
89
89
|
{options && options}
|
|
90
90
|
</MUISelect>
|
|
91
|
-
{helperText &&
|
|
91
|
+
{helperText && (
|
|
92
|
+
<FormHelperText data-testid={`helper-text`}>
|
|
93
|
+
{helperText}
|
|
94
|
+
</FormHelperText>
|
|
95
|
+
)}
|
|
92
96
|
</FormControl>
|
|
93
97
|
);
|
|
94
98
|
};
|
package/components/index.js
CHANGED
|
@@ -9,9 +9,11 @@ import Footer from "./Footer/FooterUI";
|
|
|
9
9
|
import InputLabel from "./InputLabel";
|
|
10
10
|
import FormControlLabel from "./FormControlLabel";
|
|
11
11
|
import MadieDialog from "./MadieDialog";
|
|
12
|
+
import MadieDiscardDialog from "./MadieDiscardDialog";
|
|
12
13
|
import MadieSpinner from "./MadieSpinner";
|
|
13
14
|
import Modal from "./Modal";
|
|
14
15
|
import { Pagination } from "./Pagination";
|
|
16
|
+
import ReadOnlyTextField from "./ReadOnlyTextField";
|
|
15
17
|
import Select from "./Select";
|
|
16
18
|
import Spinner from "./UnwrappedSpinner";
|
|
17
19
|
import TabPanel from "./Tabs/TabPanel";
|
|
@@ -121,8 +123,10 @@ export {
|
|
|
121
123
|
Infotip,
|
|
122
124
|
Modal,
|
|
123
125
|
MadieDialog,
|
|
126
|
+
MadieDiscardDialog,
|
|
124
127
|
MadieSpinner,
|
|
125
128
|
Pagination,
|
|
129
|
+
ReadOnlyTextField,
|
|
126
130
|
Search,
|
|
127
131
|
Select,
|
|
128
132
|
Spinner,
|
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1661382405017" clover="3.2.0">
|
|
3
|
+
<project timestamp="1661382405017" name="All files">
|
|
4
|
+
<metrics statements="413" coveredstatements="319" conditionals="222" coveredconditionals="145" methods="127" coveredmethods="65" elements="762" coveredelements="529" complexity="0" loc="413" ncloc="413" packages="21" files="35" classes="35"/>
|
|
5
5
|
<package name="react">
|
|
6
6
|
<metrics statements="4" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="0"/>
|
|
7
7
|
<file name="index.js" path="/Users/matt.mcphillips/madie/madie-design-system/react/index.js">
|
|
@@ -108,26 +108,26 @@
|
|
|
108
108
|
<metrics statements="20" coveredstatements="17" conditionals="13" coveredconditionals="7" methods="3" coveredmethods="2"/>
|
|
109
109
|
<file name="index.js" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/Button/index.js">
|
|
110
110
|
<metrics statements="20" coveredstatements="17" conditionals="13" coveredconditionals="7" methods="3" coveredmethods="2"/>
|
|
111
|
-
<line num="4" count="
|
|
112
|
-
<line num="12" count="
|
|
113
|
-
<line num="14" count="
|
|
114
|
-
<line num="25" count="
|
|
115
|
-
<line num="27" count="
|
|
116
|
-
<line num="28" count="
|
|
117
|
-
<line num="30" count="
|
|
111
|
+
<line num="4" count="2" type="stmt"/>
|
|
112
|
+
<line num="12" count="2" type="stmt"/>
|
|
113
|
+
<line num="14" count="2" type="stmt"/>
|
|
114
|
+
<line num="25" count="14" type="stmt"/>
|
|
115
|
+
<line num="27" count="14" type="cond" truecount="2" falsecount="0"/>
|
|
116
|
+
<line num="28" count="8" type="stmt"/>
|
|
117
|
+
<line num="30" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
118
118
|
<line num="31" count="0" type="stmt"/>
|
|
119
|
-
<line num="33" count="
|
|
119
|
+
<line num="33" count="14" type="cond" truecount="2" falsecount="0"/>
|
|
120
120
|
<line num="34" count="1" type="stmt"/>
|
|
121
|
-
<line num="37" count="
|
|
121
|
+
<line num="37" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
122
122
|
<line num="38" count="0" type="stmt"/>
|
|
123
|
-
<line num="49" count="
|
|
124
|
-
<line num="63" count="
|
|
125
|
-
<line num="74" count="
|
|
123
|
+
<line num="49" count="14" type="stmt"/>
|
|
124
|
+
<line num="63" count="2" type="stmt"/>
|
|
125
|
+
<line num="74" count="2" type="stmt"/>
|
|
126
126
|
<line num="79" count="1" type="stmt"/>
|
|
127
|
-
<line num="85" count="
|
|
127
|
+
<line num="85" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
128
128
|
<line num="86" count="0" type="stmt"/>
|
|
129
|
-
<line num="89" count="
|
|
130
|
-
<line num="93" count="
|
|
129
|
+
<line num="89" count="2" type="stmt"/>
|
|
130
|
+
<line num="93" count="2" type="stmt"/>
|
|
131
131
|
</file>
|
|
132
132
|
</package>
|
|
133
133
|
<package name="react.components.Error">
|
|
@@ -235,14 +235,23 @@
|
|
|
235
235
|
<metrics statements="8" coveredstatements="8" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
|
|
236
236
|
<file name="index.jsx" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/MadieDialog/index.jsx">
|
|
237
237
|
<metrics statements="8" coveredstatements="8" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
|
|
238
|
-
<line num="16" count="
|
|
239
|
-
<line num="51" count="
|
|
240
|
-
<line num="53" count="
|
|
241
|
-
<line num="55" count="
|
|
242
|
-
<line num="57" count="
|
|
238
|
+
<line num="16" count="2" type="stmt"/>
|
|
239
|
+
<line num="51" count="10" type="stmt"/>
|
|
240
|
+
<line num="53" count="10" type="stmt"/>
|
|
241
|
+
<line num="55" count="10" type="stmt"/>
|
|
242
|
+
<line num="57" count="10" type="stmt"/>
|
|
243
243
|
<line num="76" count="1" type="stmt"/>
|
|
244
244
|
<line num="77" count="1" type="stmt"/>
|
|
245
|
-
<line num="
|
|
245
|
+
<line num="248" count="2" type="stmt"/>
|
|
246
|
+
</file>
|
|
247
|
+
</package>
|
|
248
|
+
<package name="react.components.MadieDiscardDialog">
|
|
249
|
+
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
250
|
+
<file name="index.jsx" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/MadieDiscardDialog/index.jsx">
|
|
251
|
+
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
252
|
+
<line num="6" count="1" type="stmt"/>
|
|
253
|
+
<line num="7" count="8" type="stmt"/>
|
|
254
|
+
<line num="43" count="1" type="stmt"/>
|
|
246
255
|
</file>
|
|
247
256
|
</package>
|
|
248
257
|
<package name="react.components.MadieSpinner">
|
|
@@ -336,13 +345,13 @@
|
|
|
336
345
|
<file name="index.jsx" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/Select/index.jsx">
|
|
337
346
|
<metrics statements="8" coveredstatements="8" conditionals="16" coveredconditionals="16" methods="2" coveredmethods="2"/>
|
|
338
347
|
<line num="8" count="1" type="stmt"/>
|
|
339
|
-
<line num="
|
|
340
|
-
<line num="
|
|
341
|
-
<line num="
|
|
342
|
-
<line num="
|
|
343
|
-
<line num="
|
|
344
|
-
<line num="
|
|
345
|
-
<line num="
|
|
348
|
+
<line num="28" count="4" type="stmt"/>
|
|
349
|
+
<line num="32" count="4" type="stmt"/>
|
|
350
|
+
<line num="81" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
351
|
+
<line num="82" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
352
|
+
<line num="83" count="2" type="stmt"/>
|
|
353
|
+
<line num="86" count="10" type="stmt"/>
|
|
354
|
+
<line num="100" count="1" type="stmt"/>
|
|
346
355
|
</file>
|
|
347
356
|
</package>
|
|
348
357
|
<package name="react.components.SessionDialog">
|