@madie/madie-design-system 1.0.41 → 1.0.44

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.
Files changed (96) hide show
  1. package/components/Tabs/Tab.js +69 -12
  2. package/components/Tabs/Tabs.stories.js +84 -112
  3. package/components/Tabs/index.js +71 -72
  4. package/components/TextArea/TextArea.stories.js +141 -0
  5. package/components/TextArea/index.jsx +107 -0
  6. package/components/index.js +4 -0
  7. package/coverage/clover.xml +42 -430
  8. package/coverage/coverage-final.json +2 -29
  9. package/coverage/lcov-report/InputLabel/index.html +19 -19
  10. package/coverage/lcov-report/InputLabel/index.jsx.html +59 -74
  11. package/coverage/lcov-report/Tab.js.html +334 -0
  12. package/coverage/lcov-report/Tabs/Tab.js.html +343 -0
  13. package/coverage/lcov-report/Tabs/index.html +131 -0
  14. package/coverage/lcov-report/Tabs/index.js.html +388 -0
  15. package/coverage/lcov-report/TextFieldVariable/index.html +116 -0
  16. package/coverage/lcov-report/TextFieldVariable/index.jsx.html +406 -0
  17. package/coverage/lcov-report/Toast/index.html +116 -0
  18. package/coverage/lcov-report/Toast/index.jsx.html +430 -0
  19. package/coverage/lcov-report/index.html +19 -289
  20. package/coverage/lcov-report/index.js.html +109 -112
  21. package/coverage/lcov-report/react/components/Accordion/index.html +1 -1
  22. package/coverage/lcov-report/react/components/Accordion/index.jsx.html +1 -1
  23. package/coverage/lcov-report/react/components/Button/index.html +1 -1
  24. package/coverage/lcov-report/react/components/Button/index.js.html +1 -1
  25. package/coverage/lcov-report/react/components/Error/Collapsible.jsx.html +1 -1
  26. package/coverage/lcov-report/react/components/Error/ErrorUI.jsx.html +1 -1
  27. package/coverage/lcov-report/react/components/Error/error.js.html +1 -1
  28. package/coverage/lcov-report/react/components/Error/index.html +1 -1
  29. package/coverage/lcov-report/react/components/Footer/FooterUI.jsx.html +1 -1
  30. package/coverage/lcov-report/react/components/Footer/LegacyFooterUI.jsx.html +1 -1
  31. package/coverage/lcov-report/react/components/Footer/footer.js.html +1 -1
  32. package/coverage/lcov-report/react/components/Footer/index.html +1 -1
  33. package/coverage/lcov-report/react/components/Infotip/Infotip.jsx.html +1 -1
  34. package/coverage/lcov-report/react/components/Infotip/InfotipIcon.jsx.html +1 -1
  35. package/coverage/lcov-report/react/components/Infotip/index.html +1 -1
  36. package/coverage/lcov-report/react/components/Infotip/index.js.html +1 -1
  37. package/coverage/lcov-report/react/components/InputLabel/index.html +1 -1
  38. package/coverage/lcov-report/react/components/InputLabel/index.jsx.html +4 -4
  39. package/coverage/lcov-report/react/components/MadieAlert/index.html +1 -1
  40. package/coverage/lcov-report/react/components/MadieAlert/index.jsx.html +1 -1
  41. package/coverage/lcov-report/react/components/MadieDeleteDialog/index.html +1 -1
  42. package/coverage/lcov-report/react/components/MadieDeleteDialog/index.jsx.html +1 -1
  43. package/coverage/lcov-report/react/components/MadieDialog/Index.jsx.html +1 -1
  44. package/coverage/lcov-report/react/components/MadieDialog/index.html +1 -1
  45. package/coverage/lcov-report/react/components/MadieDiscardDialog/index.html +1 -1
  46. package/coverage/lcov-report/react/components/MadieDiscardDialog/index.jsx.html +1 -1
  47. package/coverage/lcov-report/react/components/MadieSpinner/index.html +1 -1
  48. package/coverage/lcov-report/react/components/MadieSpinner/index.jsx.html +1 -1
  49. package/coverage/lcov-report/react/components/Pagination/index.html +1 -1
  50. package/coverage/lcov-report/react/components/Pagination/index.jsx.html +1 -1
  51. package/coverage/lcov-report/react/components/Popover/index.html +1 -1
  52. package/coverage/lcov-report/react/components/Popover/index.js.html +1 -1
  53. package/coverage/lcov-report/react/components/ReadOnlyTextField/index.html +1 -1
  54. package/coverage/lcov-report/react/components/ReadOnlyTextField/index.jsx.html +1 -1
  55. package/coverage/lcov-report/react/components/Select/index.html +1 -1
  56. package/coverage/lcov-report/react/components/Select/index.jsx.html +1 -1
  57. package/coverage/lcov-report/react/components/Tabs/Tab.js.html +334 -0
  58. package/coverage/lcov-report/react/components/Tabs/index.html +131 -0
  59. package/coverage/lcov-report/react/components/Tabs/index.js.html +382 -0
  60. package/coverage/lcov-report/react/components/TextArea/index.html +116 -0
  61. package/coverage/lcov-report/react/components/TextArea/index.jsx.html +406 -0
  62. package/coverage/lcov-report/react/components/TextFieldVariable/index.html +116 -0
  63. package/coverage/lcov-report/react/components/TextFieldVariable/index.jsx.html +412 -0
  64. package/coverage/lcov-report/react/components/Textfield/index.html +1 -1
  65. package/coverage/lcov-report/react/components/Textfield/index.jsx.html +1 -1
  66. package/coverage/lcov-report/react/components/Toast/index.html +1 -1
  67. package/coverage/lcov-report/react/components/Toast/index.jsx.html +1 -1
  68. package/coverage/lcov-report/react/components/Tooltip/Tooltip.jsx.html +1 -1
  69. package/coverage/lcov-report/react/components/Tooltip/index.html +1 -1
  70. package/coverage/lcov-report/react/components/Tooltip/index.js.html +1 -1
  71. package/coverage/lcov-report/react/components/Tooltip/position.js.html +1 -1
  72. package/coverage/lcov-report/react/index.html +1 -1
  73. package/coverage/lcov-report/react/index.js.html +1 -1
  74. package/coverage/lcov-report/react/lib/Chevron.jsx.html +1 -1
  75. package/coverage/lcov-report/react/lib/SvgComponents.jsx.html +1 -1
  76. package/coverage/lcov-report/react/lib/index.html +1 -1
  77. package/coverage/lcov.info +67 -891
  78. package/dist/browser.js +1 -1
  79. package/dist/index.js +1 -1
  80. package/dist/react/index.js +14 -14
  81. package/dist/react/index.js.map +1 -1
  82. package/package.json +1 -1
  83. package/storybook-static/533.ce3f16be.iframe.bundle.js +103 -0
  84. package/storybook-static/{533.3f094b15.iframe.bundle.js.map → 533.ce3f16be.iframe.bundle.js.map} +1 -1
  85. package/storybook-static/iframe.html +1 -1
  86. package/storybook-static/main.24906d7d.iframe.bundle.js +1 -0
  87. package/storybook-static/project.json +1 -1
  88. package/styles/_qpp-style.scss +1 -0
  89. package/styles/components/_text-field-variable.scss +14 -0
  90. package/styles/qppds/components/_text-field-variable.scss +14 -0
  91. package/styles/qppds/components/index.scss +1 -0
  92. package/test/components/Tabs.test.js +252 -0
  93. package/test/components/TextArea.test.js +102 -0
  94. package/storybook-static/533.3f094b15.iframe.bundle.js +0 -103
  95. package/storybook-static/main.2cfd9609.iframe.bundle.js +0 -1
  96. /package/storybook-static/{533.3f094b15.iframe.bundle.js.LICENSE.txt → 533.ce3f16be.iframe.bundle.js.LICENSE.txt} +0 -0
@@ -0,0 +1,107 @@
1
+ import React from "react";
2
+ import {
3
+ FormControl,
4
+ FormHelperText,
5
+ TextareaAutosize
6
+ } from "@mui/material";
7
+ import InputLabel from "../InputLabel";
8
+ import PropTypes from "prop-types";
9
+
10
+ const TextArea = ({
11
+ id,
12
+ error = false,
13
+ helperText = undefined,
14
+ required = false,
15
+ disabled = false,
16
+ label,
17
+ inputProps,
18
+ ...rest
19
+ }) => {
20
+ // coerce this to avoid issue passing props to dom.
21
+ // text area autosize is deprecated and only takes style rules
22
+ return (
23
+ <FormControl fullWidth error={error}>
24
+ <div style={{ width: 1, display: "flex", flexDirection: "column", flexGrow: 1}}/>
25
+ <InputLabel
26
+ disabled={disabled}
27
+ shrink
28
+ required={required}
29
+ error={error}
30
+ htmlFor={id}
31
+ style={{marginBottom: 0, height: 16}} // force a heignt
32
+ sx={[
33
+ {
34
+ backgroundColor: "transparent",
35
+ display: "flex",
36
+ flexDirection: "row-reverse",
37
+ alignSelf: "baseline",
38
+ textTransform: "none",
39
+ // force it outside the select box
40
+ position: "initial",
41
+ transform: "translateX(0px) translateY(0px)",
42
+ fontFamily: "Rubik",
43
+ fontWeight: 500,
44
+ fontSize: 14,
45
+ color: "#333",
46
+ "& .MuiInputLabel-asterisk": {
47
+ color: "#AE1C1C !important",
48
+ marginRight: "3px !important", //this was
49
+ },
50
+ },
51
+ required && {
52
+ transform: "translateX(-12px) translateY(0px)",
53
+ "& .MuiInputLabel-asterisk": {
54
+ color: "#D92F2",
55
+ marginRight: "3px !important", //this was
56
+ },
57
+ },
58
+ disabled && {
59
+ color: "rgba(0,0,0,0.6)",
60
+ },
61
+ error && {
62
+ color: "#AE1C1C !important",
63
+ },
64
+ ]}
65
+ >
66
+ {label}
67
+ </InputLabel>
68
+ { helperText && (<FormHelperText
69
+ tabIndex={0}
70
+ aria-live="polite"
71
+ id={`${id}-helper-text`}
72
+ data-testid={`${id}-helper-text`}
73
+ sx={[{
74
+ margin: "4px 0px 0px 0px",
75
+ color: "#515151",
76
+ lineHeight: 1
77
+ },
78
+ error && {
79
+ color: "#AE1C1C !important",
80
+ },
81
+ ]}
82
+ >
83
+ {helperText}
84
+ </FormHelperText>)}
85
+ <TextareaAutosize
86
+ className={error ? "text-area-variable error" : "text-area-variable"}
87
+ label={null}
88
+ disabled={disabled}
89
+ id={id}
90
+ {...inputProps}
91
+ {...rest}
92
+ />
93
+ </FormControl>
94
+ );
95
+ };
96
+
97
+ TextArea.propTypes = {
98
+ id: PropTypes.string,
99
+ error: PropTypes.bool,
100
+ helperText: PropTypes.string,
101
+ required: PropTypes.bool,
102
+ disabled: PropTypes.bool,
103
+ placeholder: PropTypes.string, // expects placeholder objects of { name: value } and inserts into the render item function.
104
+ label: PropTypes.string,
105
+ inputProps: PropTypes.any
106
+ };
107
+ export default TextArea;
@@ -22,7 +22,9 @@ import Select from "./Select";
22
22
  import Spinner from "./UnwrappedSpinner";
23
23
  import TabPanel from "./Tabs/TabPanel";
24
24
  import Tabs from "./Tabs/index";
25
+ import Tab from "./Tabs/Tab";
25
26
  import TextField from "./TextField";
27
+ import TextArea from './TextArea';
26
28
  import Tooltip from "./Tooltip";
27
29
  import Toast from "./Toast";
28
30
  import Infotip from "./Infotip";
@@ -140,9 +142,11 @@ export {
140
142
  Spinner,
141
143
  TabPanel,
142
144
  Tabs,
145
+ Tab,
143
146
  TextButton,
144
147
  TextInput,
145
148
  TextField,
149
+ TextArea,
146
150
  Toast,
147
151
  Dropdown,
148
152
  Tooltip,
@@ -1,433 +1,45 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1674846246483" clover="3.2.0">
3
- <project timestamp="1674846246483" name="All files">
4
- <metrics statements="280" coveredstatements="269" conditionals="184" coveredconditionals="165" methods="89" coveredmethods="83" elements="553" coveredelements="517" complexity="0" loc="280" ncloc="280" packages="20" files="29" classes="29"/>
5
- <package name="react">
6
- <metrics statements="3" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
7
- <file name="index.js" path="/Users/matt.mcphillips/madie/madie-design-system/react/index.js">
8
- <metrics statements="3" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
9
- <line num="6" count="1" type="stmt"/>
10
- <line num="8" count="0" type="stmt"/>
11
- <line num="12" count="0" type="stmt"/>
12
- </file>
13
- </package>
14
- <package name="react.components.Accordion">
15
- <metrics statements="20" coveredstatements="17" conditionals="20" coveredconditionals="16" methods="6" coveredmethods="5"/>
16
- <file name="index.jsx" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/Accordion/index.jsx">
17
- <metrics statements="20" coveredstatements="17" conditionals="20" coveredconditionals="16" methods="6" coveredmethods="5"/>
18
- <line num="5" count="1" type="stmt"/>
19
- <line num="6" count="3" type="stmt"/>
20
- <line num="7" count="3" type="cond" truecount="1" falsecount="1"/>
21
- <line num="8" count="3" type="cond" truecount="2" falsecount="0"/>
22
- <line num="9" count="3" type="stmt"/>
23
- <line num="10" count="1" type="cond" truecount="1" falsecount="1"/>
24
- <line num="11" count="1" type="stmt"/>
25
- <line num="13" count="0" type="stmt"/>
26
- <line num="15" count="3" type="cond" truecount="2" falsecount="0"/>
27
- <line num="16" count="3" type="cond" truecount="2" falsecount="0"/>
28
- <line num="19" count="2" type="cond" truecount="2" falsecount="0"/>
29
- <line num="23" count="0" type="stmt"/>
30
- <line num="27" count="1" type="stmt"/>
31
- <line num="30" count="3" type="stmt"/>
32
- <line num="31" count="1" type="cond" truecount="1" falsecount="1"/>
33
- <line num="32" count="0" type="stmt"/>
34
- <line num="34" count="1" type="stmt"/>
35
- <line num="38" count="3" type="stmt"/>
36
- <line num="81" count="1" type="stmt"/>
37
- <line num="90" count="1" type="stmt"/>
38
- </file>
39
- </package>
40
- <package name="react.components.Button">
41
- <metrics statements="20" coveredstatements="20" conditionals="13" coveredconditionals="10" methods="3" coveredmethods="3"/>
42
- <file name="index.js" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/Button/index.js">
43
- <metrics statements="20" coveredstatements="20" conditionals="13" coveredconditionals="10" methods="3" coveredmethods="3"/>
44
- <line num="4" count="4" type="stmt"/>
45
- <line num="15" count="4" type="stmt"/>
46
- <line num="17" count="4" type="stmt"/>
47
- <line num="28" count="28" type="stmt"/>
48
- <line num="30" count="28" type="cond" truecount="2" falsecount="0"/>
49
- <line num="31" count="19" type="stmt"/>
50
- <line num="33" count="28" type="cond" truecount="2" falsecount="0"/>
51
- <line num="34" count="1" type="stmt"/>
52
- <line num="36" count="28" type="cond" truecount="2" falsecount="0"/>
53
- <line num="37" count="2" type="stmt"/>
54
- <line num="40" count="28" type="cond" truecount="2" falsecount="0"/>
55
- <line num="41" count="1" type="stmt"/>
56
- <line num="52" count="27" type="stmt"/>
57
- <line num="66" count="4" type="stmt"/>
58
- <line num="77" count="4" type="stmt"/>
59
- <line num="82" count="2" type="stmt"/>
60
- <line num="88" count="4" type="cond" truecount="0" falsecount="1"/>
61
- <line num="89" count="1" type="stmt"/>
62
- <line num="92" count="4" type="stmt"/>
63
- <line num="96" count="4" type="stmt"/>
64
- </file>
65
- </package>
66
- <package name="react.components.Error">
67
- <metrics statements="21" coveredstatements="18" conditionals="12" coveredconditionals="7" methods="8" coveredmethods="6"/>
68
- <file name="Collapsible.jsx" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/Error/Collapsible.jsx">
69
- <metrics statements="15" coveredstatements="13" conditionals="8" coveredconditionals="5" methods="6" coveredmethods="5"/>
70
- <line num="6" count="2" type="stmt"/>
71
- <line num="8" count="2" type="stmt"/>
72
- <line num="12" count="2" type="stmt"/>
73
- <line num="13" count="2" type="stmt"/>
74
- <line num="14" count="2" type="stmt"/>
75
- <line num="18" count="0" type="stmt"/>
76
- <line num="24" count="2" type="stmt"/>
77
- <line num="32" count="2" type="cond" truecount="1" falsecount="1"/>
78
- <line num="33" count="2" type="stmt"/>
79
- <line num="39" count="0" type="stmt"/>
80
- <line num="44" count="2" type="stmt"/>
81
- <line num="45" count="2" type="cond" truecount="1" falsecount="1"/>
82
- <line num="47" count="2" type="stmt"/>
83
- <line num="63" count="2" type="stmt"/>
84
- <line num="85" count="2" type="stmt"/>
85
- </file>
86
- <file name="ErrorUI.jsx" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/Error/ErrorUI.jsx">
87
- <metrics statements="5" coveredstatements="5" conditionals="4" coveredconditionals="2" methods="1" coveredmethods="1"/>
88
- <line num="5" count="2" type="stmt"/>
89
- <line num="6" count="2" type="cond" truecount="2" falsecount="2"/>
90
- <line num="7" count="2" type="stmt"/>
91
- <line num="9" count="2" type="stmt"/>
92
- <line num="25" count="2" type="stmt"/>
93
- </file>
94
- <file name="error.js" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/Error/error.js">
95
- <metrics statements="1" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
96
- <line num="17" count="0" type="stmt"/>
97
- </file>
98
- </package>
99
- <package name="react.components.Footer">
100
- <metrics statements="18" coveredstatements="15" conditionals="18" coveredconditionals="14" methods="4" coveredmethods="3"/>
101
- <file name="FooterUI.jsx" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/Footer/FooterUI.jsx">
102
- <metrics statements="11" coveredstatements="11" conditionals="8" coveredconditionals="6" methods="2" coveredmethods="2"/>
103
- <line num="6" count="2" type="stmt"/>
104
- <line num="7" count="7" type="stmt"/>
105
- <line num="8" count="7" type="stmt"/>
106
- <line num="9" count="7" type="cond" truecount="1" falsecount="1"/>
107
- <line num="14" count="7" type="stmt"/>
108
- <line num="34" count="7" type="stmt"/>
109
- <line num="35" count="6" type="cond" truecount="1" falsecount="1"/>
110
- <line num="38" count="7" type="cond" truecount="2" falsecount="0"/>
111
- <line num="39" count="2" type="stmt"/>
112
- <line num="116" count="5" type="stmt"/>
113
- <line num="125" count="2" type="stmt"/>
114
- </file>
115
- <file name="LegacyFooterUI.jsx" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/Footer/LegacyFooterUI.jsx">
116
- <metrics statements="4" coveredstatements="4" conditionals="8" coveredconditionals="8" methods="1" coveredmethods="1"/>
117
- <line num="6" count="2" type="stmt"/>
118
- <line num="8" count="2" type="stmt"/>
119
- <line num="9" count="5" type="stmt"/>
120
- <line num="198" count="2" type="stmt"/>
121
- </file>
122
- <file name="footer.js" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/Footer/footer.js">
123
- <metrics statements="3" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
124
- <line num="16" count="0" type="cond" truecount="0" falsecount="2"/>
125
- <line num="17" count="0" type="stmt"/>
126
- <line num="27" count="0" type="stmt"/>
127
- </file>
128
- </package>
129
- <package name="react.components.Infotip">
130
- <metrics statements="17" coveredstatements="17" conditionals="8" coveredconditionals="8" methods="4" coveredmethods="4"/>
131
- <file name="Infotip.jsx" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/Infotip/Infotip.jsx">
132
- <metrics statements="13" coveredstatements="13" conditionals="2" coveredconditionals="2" methods="3" coveredmethods="3"/>
133
- <line num="6" count="3" type="stmt"/>
134
- <line num="8" count="3" type="stmt"/>
135
- <line num="25" count="3" type="stmt"/>
136
- <line num="27" count="1" type="stmt"/>
137
- <line num="30" count="2" type="cond" truecount="2" falsecount="0"/>
138
- <line num="31" count="1" type="stmt"/>
139
- <line num="32" count="1" type="stmt"/>
140
- <line num="34" count="1" type="stmt"/>
141
- <line num="35" count="1" type="stmt"/>
142
- <line num="43" count="3" type="stmt"/>
143
- <line num="44" count="9" type="stmt"/>
144
- <line num="62" count="3" type="stmt"/>
145
- <line num="69" count="3" type="stmt"/>
146
- </file>
147
- <file name="InfotipIcon.jsx" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/Infotip/InfotipIcon.jsx">
148
- <metrics statements="4" coveredstatements="4" conditionals="6" coveredconditionals="6" methods="1" coveredmethods="1"/>
149
- <line num="4" count="3" type="stmt"/>
150
- <line num="5" count="9" type="stmt"/>
151
- <line num="35" count="3" type="stmt"/>
152
- <line num="39" count="3" type="stmt"/>
153
- </file>
154
- <file name="index.js" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/Infotip/index.js">
155
- <metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
156
- </file>
157
- </package>
158
- <package name="react.components.InputLabel">
159
- <metrics statements="3" coveredstatements="3" conditionals="6" coveredconditionals="6" methods="1" coveredmethods="1"/>
160
- <file name="index.jsx" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/InputLabel/index.jsx">
161
- <metrics statements="3" coveredstatements="3" conditionals="6" coveredconditionals="6" methods="1" coveredmethods="1"/>
162
- <line num="5" count="3" type="stmt"/>
163
- <line num="6" count="12" type="stmt"/>
164
- <line num="48" count="3" type="stmt"/>
165
- </file>
166
- </package>
167
- <package name="react.components.MadieAlert">
168
- <metrics statements="7" coveredstatements="7" conditionals="9" coveredconditionals="6" methods="1" coveredmethods="1"/>
169
- <file name="index.jsx" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/MadieAlert/index.jsx">
170
- <metrics statements="7" coveredstatements="7" conditionals="9" coveredconditionals="6" methods="1" coveredmethods="1"/>
171
- <line num="15" count="1" type="stmt"/>
172
- <line num="24" count="2" type="stmt"/>
173
- <line num="30" count="2" type="stmt"/>
174
- <line num="32" count="2" type="stmt"/>
175
- <line num="33" count="2" type="stmt"/>
176
- <line num="35" count="2" type="stmt"/>
177
- <line num="64" count="1" type="stmt"/>
178
- </file>
179
- </package>
180
- <package name="react.components.MadieDeleteDialog">
181
- <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
182
- <file name="index.jsx" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/MadieDeleteDialog/index.jsx">
183
- <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
184
- <line num="6" count="1" type="stmt"/>
185
- <line num="12" count="8" type="stmt"/>
186
- <line num="48" count="1" type="stmt"/>
187
- </file>
188
- </package>
189
- <package name="react.components.MadieDialog">
190
- <metrics statements="8" coveredstatements="8" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
191
- <file name="index.jsx" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/MadieDialog/index.jsx">
192
- <metrics statements="8" coveredstatements="8" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
193
- <line num="16" count="3" type="stmt"/>
194
- <line num="51" count="18" type="stmt"/>
195
- <line num="53" count="18" type="stmt"/>
196
- <line num="55" count="18" type="stmt"/>
197
- <line num="57" count="18" type="stmt"/>
198
- <line num="76" count="1" type="stmt"/>
199
- <line num="77" count="1" type="stmt"/>
200
- <line num="248" count="3" type="stmt"/>
201
- </file>
202
- </package>
203
- <package name="react.components.MadieDiscardDialog">
204
- <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
205
- <file name="index.jsx" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/MadieDiscardDialog/index.jsx">
206
- <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
207
- <line num="6" count="1" type="stmt"/>
208
- <line num="7" count="8" type="stmt"/>
209
- <line num="43" count="1" type="stmt"/>
210
- </file>
211
- </package>
212
- <package name="react.components.MadieSpinner">
213
- <metrics statements="3" coveredstatements="3" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
214
- <file name="index.jsx" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/MadieSpinner/index.jsx">
215
- <metrics statements="3" coveredstatements="3" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
216
- <line num="6" count="1" type="stmt"/>
217
- <line num="7" count="2" type="stmt"/>
218
- <line num="31" count="1" type="stmt"/>
219
- </file>
220
- </package>
221
- <package name="react.components.Pagination">
222
- <metrics statements="11" coveredstatements="11" conditionals="14" coveredconditionals="14" methods="3" coveredmethods="3"/>
223
- <file name="index.jsx" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/Pagination/index.jsx">
224
- <metrics statements="11" coveredstatements="11" conditionals="14" coveredconditionals="14" methods="3" coveredmethods="3"/>
225
- <line num="31" count="1" type="stmt"/>
226
- <line num="40" count="1" type="stmt"/>
227
- <line num="45" count="1" type="stmt"/>
228
- <line num="59" count="3" type="stmt"/>
229
- <line num="103" count="9" type="stmt"/>
230
- <line num="149" count="18" type="cond" truecount="2" falsecount="0"/>
231
- <line num="150" count="2" type="stmt"/>
232
- <line num="170" count="16" type="cond" truecount="2" falsecount="0"/>
233
- <line num="171" count="1" type="stmt"/>
234
- <line num="187" count="15" type="stmt"/>
235
- <line num="202" count="1" type="stmt"/>
236
- </file>
237
- </package>
238
- <package name="react.components.Popover">
239
- <metrics statements="5" coveredstatements="5" conditionals="4" coveredconditionals="4" methods="3" coveredmethods="3"/>
240
- <file name="index.js" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/Popover/index.js">
241
- <metrics statements="5" coveredstatements="5" conditionals="4" coveredconditionals="4" methods="3" coveredmethods="3"/>
242
- <line num="5" count="1" type="stmt"/>
243
- <line num="14" count="5" type="stmt"/>
244
- <line num="79" count="5" type="stmt"/>
245
- <line num="91" count="5" type="stmt"/>
246
- <line num="107" count="1" type="stmt"/>
247
- </file>
248
- </package>
249
- <package name="react.components.ReadOnlyTextField">
250
- <metrics statements="3" coveredstatements="3" conditionals="6" coveredconditionals="6" methods="1" coveredmethods="1"/>
251
- <file name="index.jsx" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/ReadOnlyTextField/index.jsx">
252
- <metrics statements="3" coveredstatements="3" conditionals="6" coveredconditionals="6" methods="1" coveredmethods="1"/>
253
- <line num="6" count="1" type="stmt"/>
254
- <line num="15" count="2" type="stmt"/>
255
- <line num="67" count="1" type="stmt"/>
256
- </file>
257
- </package>
258
- <package name="react.components.Select">
259
- <metrics statements="8" coveredstatements="8" conditionals="26" coveredconditionals="26" methods="2" coveredmethods="2"/>
260
- <file name="index.jsx" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/Select/index.jsx">
261
- <metrics statements="8" coveredstatements="8" conditionals="26" coveredconditionals="26" methods="2" coveredmethods="2"/>
262
- <line num="8" count="1" type="stmt"/>
263
- <line num="28" count="6" type="stmt"/>
264
- <line num="32" count="6" type="stmt"/>
265
- <line num="146" count="16" type="cond" truecount="2" falsecount="0"/>
266
- <line num="147" count="7" type="cond" truecount="2" falsecount="0"/>
267
- <line num="148" count="2" type="stmt"/>
268
- <line num="151" count="14" type="stmt"/>
269
- <line num="161" count="1" type="stmt"/>
270
- </file>
271
- </package>
272
- <package name="react.components.TextField">
273
- <metrics statements="3" coveredstatements="3" conditionals="16" coveredconditionals="16" methods="1" coveredmethods="1"/>
274
- <file name="index.jsx" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/TextField/index.jsx">
275
- <metrics statements="3" coveredstatements="3" conditionals="16" coveredconditionals="16" methods="1" coveredmethods="1"/>
276
- <line num="10" count="1" type="stmt"/>
277
- <line num="19" count="4" type="stmt"/>
278
- <line num="128" count="1" type="stmt"/>
279
- </file>
280
- </package>
281
- <package name="react.components.Toast">
282
- <metrics statements="7" coveredstatements="7" conditionals="7" coveredconditionals="7" methods="1" coveredmethods="1"/>
283
- <file name="index.jsx" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/Toast/index.jsx">
284
- <metrics statements="7" coveredstatements="7" conditionals="7" coveredconditionals="7" methods="1" coveredmethods="1"/>
285
- <line num="14" count="1" type="stmt"/>
286
- <line num="28" count="13" type="stmt"/>
287
- <line num="34" count="13" type="stmt"/>
288
- <line num="36" count="13" type="stmt"/>
289
- <line num="37" count="13" type="stmt"/>
290
- <line num="39" count="13" type="stmt"/>
291
- <line num="102" count="1" type="stmt"/>
292
- </file>
293
- </package>
294
- <package name="react.components.Tooltip">
295
- <metrics statements="37" coveredstatements="37" conditionals="19" coveredconditionals="19" methods="5" coveredmethods="5"/>
296
- <file name="Tooltip.jsx" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/Tooltip/Tooltip.jsx">
297
- <metrics statements="16" coveredstatements="16" conditionals="7" coveredconditionals="7" methods="2" coveredmethods="2"/>
298
- <line num="9" count="4" type="stmt"/>
299
- <line num="10" count="4" type="stmt"/>
300
- <line num="19" count="4" type="stmt"/>
301
- <line num="20" count="41" type="stmt"/>
302
- <line num="21" count="41" type="stmt"/>
303
- <line num="22" count="41" type="stmt"/>
304
- <line num="23" count="41" type="stmt"/>
305
- <line num="25" count="41" type="stmt"/>
306
- <line num="30" count="38" type="cond" truecount="5" falsecount="0"/>
307
- <line num="31" count="3" type="stmt"/>
308
- <line num="32" count="3" type="stmt"/>
309
- <line num="33" count="3" type="stmt"/>
310
- <line num="42" count="3" type="stmt"/>
311
- <line num="46" count="41" type="stmt"/>
312
- <line num="76" count="4" type="stmt"/>
313
- <line num="83" count="4" type="stmt"/>
314
- </file>
315
- <file name="index.js" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/Tooltip/index.js">
316
- <metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
317
- </file>
318
- <file name="position.js" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/Tooltip/position.js">
319
- <metrics statements="21" coveredstatements="21" conditionals="12" coveredconditionals="12" methods="3" coveredmethods="3"/>
320
- <line num="1" count="4" type="stmt"/>
321
- <line num="2" count="4" type="stmt"/>
322
- <line num="3" count="4" type="stmt"/>
323
- <line num="5" count="4" type="stmt"/>
324
- <line num="6" count="10" type="stmt"/>
325
- <line num="13" count="10" type="cond" truecount="2" falsecount="0"/>
326
- <line num="19" count="4" type="stmt"/>
327
- <line num="20" count="6" type="cond" truecount="4" falsecount="0"/>
328
- <line num="21" count="1" type="stmt"/>
329
- <line num="24" count="5" type="stmt"/>
330
- <line num="25" count="5" type="stmt"/>
331
- <line num="26" count="5" type="stmt"/>
332
- <line num="28" count="5" type="stmt"/>
333
- <line num="30" count="5" type="stmt"/>
334
- <line num="32" count="5" type="stmt"/>
335
- <line num="56" count="4" type="stmt"/>
336
- <line num="57" count="5" type="stmt"/>
337
- <line num="58" count="5" type="cond" truecount="2" falsecount="0"/>
338
- <line num="63" count="5" type="stmt"/>
339
- <line num="65" count="5" type="cond" truecount="2" falsecount="0"/>
340
- <line num="69" count="5" type="stmt"/>
341
- </file>
342
- </package>
343
- <package name="react.lib">
344
- <metrics statements="80" coveredstatements="80" conditionals="0" coveredconditionals="0" methods="39" coveredmethods="39"/>
345
- <file name="Chevron.jsx" path="/Users/matt.mcphillips/madie/madie-design-system/react/lib/Chevron.jsx">
346
- <metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
347
- <line num="4" count="1" type="stmt"/>
348
- <line num="5" count="3" type="stmt"/>
349
- <line num="26" count="1" type="stmt"/>
350
- <line num="30" count="1" type="stmt"/>
351
- </file>
352
- <file name="SvgComponents.jsx" path="/Users/matt.mcphillips/madie/madie-design-system/react/lib/SvgComponents.jsx">
353
- <metrics statements="76" coveredstatements="76" conditionals="0" coveredconditionals="0" methods="38" coveredmethods="38"/>
354
- <line num="3" count="1" type="stmt"/>
355
- <line num="4" count="1" type="stmt"/>
356
- <line num="15" count="1" type="stmt"/>
357
- <line num="16" count="1" type="stmt"/>
358
- <line num="31" count="1" type="stmt"/>
359
- <line num="32" count="1" type="stmt"/>
360
- <line num="38" count="1" type="stmt"/>
361
- <line num="39" count="1" type="stmt"/>
362
- <line num="53" count="1" type="stmt"/>
363
- <line num="54" count="1" type="stmt"/>
364
- <line num="72" count="1" type="stmt"/>
365
- <line num="73" count="1" type="stmt"/>
366
- <line num="78" count="1" type="stmt"/>
367
- <line num="79" count="1" type="stmt"/>
368
- <line num="87" count="1" type="stmt"/>
369
- <line num="88" count="1" type="stmt"/>
370
- <line num="95" count="1" type="stmt"/>
371
- <line num="96" count="1" type="stmt"/>
372
- <line num="106" count="1" type="stmt"/>
373
- <line num="107" count="1" type="stmt"/>
374
- <line num="122" count="1" type="stmt"/>
375
- <line num="123" count="1" type="stmt"/>
376
- <line num="155" count="1" type="stmt"/>
377
- <line num="156" count="1" type="stmt"/>
378
- <line num="163" count="1" type="stmt"/>
379
- <line num="164" count="1" type="stmt"/>
380
- <line num="182" count="1" type="stmt"/>
381
- <line num="183" count="1" type="stmt"/>
382
- <line num="198" count="1" type="stmt"/>
383
- <line num="199" count="1" type="stmt"/>
384
- <line num="224" count="1" type="stmt"/>
385
- <line num="225" count="1" type="stmt"/>
386
- <line num="242" count="1" type="stmt"/>
387
- <line num="243" count="1" type="stmt"/>
388
- <line num="254" count="1" type="stmt"/>
389
- <line num="255" count="1" type="stmt"/>
390
- <line num="262" count="1" type="stmt"/>
391
- <line num="263" count="1" type="stmt"/>
392
- <line num="283" count="1" type="stmt"/>
393
- <line num="284" count="1" type="stmt"/>
394
- <line num="303" count="1" type="stmt"/>
395
- <line num="304" count="1" type="stmt"/>
396
- <line num="312" count="1" type="stmt"/>
397
- <line num="313" count="1" type="stmt"/>
398
- <line num="321" count="1" type="stmt"/>
399
- <line num="322" count="1" type="stmt"/>
400
- <line num="330" count="1" type="stmt"/>
401
- <line num="331" count="1" type="stmt"/>
402
- <line num="348" count="1" type="stmt"/>
403
- <line num="349" count="1" type="stmt"/>
404
- <line num="360" count="1" type="stmt"/>
405
- <line num="361" count="1" type="stmt"/>
406
- <line num="382" count="1" type="stmt"/>
407
- <line num="383" count="1" type="stmt"/>
408
- <line num="392" count="1" type="stmt"/>
409
- <line num="393" count="1" type="stmt"/>
410
- <line num="402" count="1" type="stmt"/>
411
- <line num="403" count="1" type="stmt"/>
412
- <line num="410" count="1" type="stmt"/>
413
- <line num="411" count="1" type="stmt"/>
414
- <line num="422" count="1" type="stmt"/>
415
- <line num="423" count="1" type="stmt"/>
416
- <line num="428" count="1" type="stmt"/>
417
- <line num="429" count="1" type="stmt"/>
418
- <line num="445" count="1" type="stmt"/>
419
- <line num="446" count="1" type="stmt"/>
420
- <line num="464" count="1" type="stmt"/>
421
- <line num="465" count="1" type="stmt"/>
422
- <line num="485" count="1" type="stmt"/>
423
- <line num="486" count="2" type="stmt"/>
424
- <line num="506" count="1" type="stmt"/>
425
- <line num="507" count="1" type="stmt"/>
426
- <line num="519" count="1" type="stmt"/>
427
- <line num="520" count="1" type="stmt"/>
428
- <line num="531" count="1" type="stmt"/>
429
- <line num="532" count="1" type="stmt"/>
430
- </file>
431
- </package>
2
+ <coverage generated="1681162528507" clover="3.2.0">
3
+ <project timestamp="1681162528508" name="All files">
4
+ <metrics statements="33" coveredstatements="33" conditionals="20" coveredconditionals="18" methods="4" coveredmethods="4" elements="57" coveredelements="55" complexity="0" loc="33" ncloc="33" packages="1" files="2" classes="2"/>
5
+ <file name="Tab.js" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/Tabs/Tab.js">
6
+ <metrics statements="15" coveredstatements="15" conditionals="12" coveredconditionals="11" methods="2" coveredmethods="2"/>
7
+ <line num="5" count="1" type="stmt"/>
8
+ <line num="15" count="1" type="stmt"/>
9
+ <line num="26" count="1" type="stmt"/>
10
+ <line num="40" count="1" type="stmt"/>
11
+ <line num="41" count="64" type="stmt"/>
12
+ <line num="53" count="64" type="stmt"/>
13
+ <line num="54" count="64" type="cond" truecount="2" falsecount="0"/>
14
+ <line num="55" count="16" type="stmt"/>
15
+ <line num="57" count="48" type="cond" truecount="4" falsecount="0"/>
16
+ <line num="58" count="32" type="stmt"/>
17
+ <line num="60" count="16" type="cond" truecount="1" falsecount="1"/>
18
+ <line num="61" count="16" type="stmt"/>
19
+ <line num="64" count="64" type="stmt"/>
20
+ <line num="73" count="1" type="stmt"/>
21
+ <line num="77" count="1" type="stmt"/>
22
+ </file>
23
+ <file name="index.js" path="/Users/matt.mcphillips/madie/madie-design-system/react/components/Tabs/index.js">
24
+ <metrics statements="18" coveredstatements="18" conditionals="8" coveredconditionals="7" methods="2" coveredmethods="2"/>
25
+ <line num="5" count="1" type="stmt"/>
26
+ <line num="13" count="1" type="stmt"/>
27
+ <line num="22" count="1" type="stmt"/>
28
+ <line num="32" count="1" type="stmt"/>
29
+ <line num="42" count="1" type="stmt"/>
30
+ <line num="47" count="8" type="stmt"/>
31
+ <line num="59" count="8" type="stmt"/>
32
+ <line num="60" count="8" type="cond" truecount="2" falsecount="0"/>
33
+ <line num="61" count="2" type="stmt"/>
34
+ <line num="63" count="6" type="cond" truecount="2" falsecount="0"/>
35
+ <line num="64" count="2" type="stmt"/>
36
+ <line num="66" count="4" type="cond" truecount="2" falsecount="0"/>
37
+ <line num="67" count="2" type="stmt"/>
38
+ <line num="69" count="2" type="cond" truecount="1" falsecount="1"/>
39
+ <line num="70" count="2" type="stmt"/>
40
+ <line num="73" count="8" type="stmt"/>
41
+ <line num="80" count="1" type="stmt"/>
42
+ <line num="90" count="1" type="stmt"/>
43
+ </file>
432
44
  </project>
433
45
  </coverage>