@madie/madie-design-system 1.2.6 → 1.2.8
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/AutoComplete/AutoComplete.jsx +2 -2
- package/components/DateField/DateField.jsx +4 -4
- package/components/DateTimeField/DateTimeField.jsx +11 -6
- package/components/DateTimeField/DateTimeField.stories.jsx +2 -2
- package/components/MadieDialog/MadieDialog.stories.js +113 -0
- package/components/MadieDialog/index.jsx +39 -6
- package/components/MadieTooltip/MadieTooltip.stories.js +28 -0
- package/components/MadieTooltip/index.jsx +48 -0
- package/components/MadieTooltipIcon/MadieTooltipIcon.stories.js +23 -0
- package/components/MadieTooltipIcon/index.jsx +31 -0
- package/components/Popover/index.js +3 -2
- package/components/ReadOnlyTextField/index.jsx +48 -4
- package/components/Search/index.js +1 -1
- package/components/TextArea/index.jsx +1 -1
- package/components/TextField/TextField.stories.js +20 -0
- package/components/TextField/index.jsx +78 -42
- package/components/index.js +4 -0
- package/coverage/clover.xml +53 -0
- package/coverage/coverage-final.json +6 -0
- package/coverage/lcov-report/InputLabel/index.html +116 -0
- package/coverage/lcov-report/InputLabel/index.jsx.html +244 -0
- package/coverage/lcov-report/MadieTooltip/index.html +131 -0
- package/coverage/lcov-report/MadieTooltip/index.jsx.html +229 -0
- package/coverage/lcov-report/MadieTooltip/index.scss.html +274 -0
- package/coverage/lcov-report/MadieTooltipIcon/index.html +116 -0
- package/coverage/lcov-report/MadieTooltipIcon/index.jsx.html +178 -0
- package/coverage/lcov-report/TextField/index.html +116 -0
- package/coverage/lcov-report/TextField/index.jsx.html +556 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +161 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/react/components/Accordion/index.html +116 -0
- package/coverage/lcov-report/react/components/Accordion/index.jsx.html +370 -0
- package/coverage/lcov-report/react/components/Button/index.html +116 -0
- package/coverage/lcov-report/react/components/Button/index.js.html +385 -0
- package/coverage/lcov-report/react/components/DateField/DateField.jsx.html +355 -0
- package/coverage/lcov-report/react/components/DateField/index.html +116 -0
- package/coverage/lcov-report/react/components/DateTimeField/DateTimeField.jsx.html +340 -0
- package/coverage/lcov-report/react/components/DateTimeField/index.html +116 -0
- package/coverage/lcov-report/react/components/Error/Collapsible.jsx.html +364 -0
- package/coverage/lcov-report/react/components/Error/ErrorUI.jsx.html +178 -0
- package/coverage/lcov-report/react/components/Error/error.js.html +163 -0
- package/coverage/lcov-report/react/components/Error/index.html +146 -0
- package/coverage/lcov-report/react/components/Footer/FooterUI.jsx.html +496 -0
- package/coverage/lcov-report/react/components/Footer/LegacyFooterUI.jsx.html +697 -0
- package/coverage/lcov-report/react/components/Footer/footer.js.html +175 -0
- package/coverage/lcov-report/react/components/Footer/index.html +146 -0
- package/coverage/lcov-report/react/components/Infotip/Infotip.jsx.html +310 -0
- package/coverage/lcov-report/react/components/Infotip/InfotipIcon.jsx.html +208 -0
- package/coverage/lcov-report/react/components/Infotip/index.html +146 -0
- package/coverage/lcov-report/react/components/Infotip/index.js.html +94 -0
- package/coverage/lcov-report/react/components/InputLabel/index.html +116 -0
- package/coverage/lcov-report/react/components/InputLabel/index.jsx.html +244 -0
- package/coverage/lcov-report/react/components/MadieAlert/index.html +116 -0
- package/coverage/lcov-report/react/components/MadieAlert/index.jsx.html +304 -0
- package/coverage/lcov-report/react/components/MadieDeleteDialog/index.html +116 -0
- package/coverage/lcov-report/react/components/MadieDeleteDialog/index.jsx.html +247 -0
- package/coverage/lcov-report/react/components/MadieDialog/index.html +116 -0
- package/coverage/lcov-report/react/components/MadieDialog/index.jsx.html +955 -0
- 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 +116 -0
- package/coverage/lcov-report/react/components/MadieSpinner/index.jsx.html +190 -0
- package/coverage/lcov-report/react/components/MadieTooltip/index.html +131 -0
- package/coverage/lcov-report/react/components/MadieTooltip/index.jsx.html +235 -0
- package/coverage/lcov-report/react/components/MadieTooltip/index.scss.html +274 -0
- package/coverage/lcov-report/react/components/MadieTooltipIcon/index.html +116 -0
- package/coverage/lcov-report/react/components/MadieTooltipIcon/index.jsx.html +178 -0
- package/coverage/lcov-report/react/components/Pagination/index.html +116 -0
- package/coverage/lcov-report/react/components/Pagination/index.jsx.html +736 -0
- package/coverage/lcov-report/react/components/Popover/index.html +116 -0
- package/coverage/lcov-report/react/components/Popover/index.js.html +478 -0
- package/coverage/lcov-report/react/components/ReadOnlyTextField/index.html +116 -0
- package/coverage/lcov-report/react/components/ReadOnlyTextField/index.jsx.html +514 -0
- package/coverage/lcov-report/react/components/Select/index.html +116 -0
- package/coverage/lcov-report/react/components/Select/index.jsx.html +646 -0
- package/coverage/lcov-report/react/components/Tabs/Tab.js.html +325 -0
- package/coverage/lcov-report/react/components/Tabs/index.html +131 -0
- package/coverage/lcov-report/react/components/Tabs/index.js.html +370 -0
- package/coverage/lcov-report/react/components/TextArea/index.html +116 -0
- package/coverage/lcov-report/react/components/TextArea/index.jsx.html +436 -0
- package/coverage/lcov-report/react/components/TextField/index.html +116 -0
- package/coverage/lcov-report/react/components/TextField/index.jsx.html +556 -0
- package/coverage/lcov-report/react/components/Toast/index.html +116 -0
- package/coverage/lcov-report/react/components/Toast/index.jsx.html +436 -0
- package/coverage/lcov-report/react/components/Tooltip/Tooltip.jsx.html +349 -0
- package/coverage/lcov-report/react/components/Tooltip/index.html +146 -0
- package/coverage/lcov-report/react/components/Tooltip/index.js.html +94 -0
- package/coverage/lcov-report/react/components/Tooltip/position.js.html +313 -0
- package/coverage/lcov-report/react/index.html +116 -0
- package/coverage/lcov-report/react/index.js.html +133 -0
- package/coverage/lcov-report/react/lib/Chevron.jsx.html +181 -0
- package/coverage/lcov-report/react/lib/SvgComponents.jsx.html +1777 -0
- package/coverage/lcov-report/react/lib/index.html +131 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov.info +113 -0
- package/dist/browser.js +1 -1
- package/dist/index.js +1 -1
- package/dist/react/index.js +11 -11
- package/dist/react/index.js.map +1 -1
- package/jest/mediaFileTransformer.js +7 -7
- package/package.json +2 -2
- package/storybook-static/875.f84e25ca.iframe.bundle.js +103 -0
- package/storybook-static/{173.0b985e58.iframe.bundle.js.map → 875.f84e25ca.iframe.bundle.js.map} +1 -1
- package/storybook-static/iframe.html +1 -1
- package/storybook-static/main.e57b4407.iframe.bundle.js +1 -0
- package/storybook-static/project.json +1 -1
- package/styles/_qpp-style.scss +1 -0
- package/styles/components/_madie-tooltip.scss +63 -0
- package/styles/qppds/components/_madie-tooltip.scss +63 -0
- package/styles/qppds/components/index.scss +1 -0
- package/styles/qppds/settings/variables/_color.scss +2 -0
- package/test/components/TextField.test.js +55 -1
- package/storybook-static/173.0b985e58.iframe.bundle.js +0 -103
- package/storybook-static/main.714d9ab1.iframe.bundle.js +0 -1
- /package/storybook-static/{173.0b985e58.iframe.bundle.js.LICENSE.txt → 875.f84e25ca.iframe.bundle.js.LICENSE.txt} +0 -0
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
FormHelperText,
|
|
6
6
|
} from "@mui/material";
|
|
7
7
|
import InputLabel from "../InputLabel";
|
|
8
|
+
import MadieToolTip from "../MadieTooltip";
|
|
8
9
|
import PropTypes from "prop-types";
|
|
9
10
|
|
|
10
11
|
const TextField = ({
|
|
@@ -14,8 +15,30 @@ const TextField = ({
|
|
|
14
15
|
required = false,
|
|
15
16
|
disabled = false,
|
|
16
17
|
label,
|
|
18
|
+
tooltipText,
|
|
19
|
+
inputProps,
|
|
17
20
|
...rest
|
|
18
21
|
}) => {
|
|
22
|
+
// get a copy of input props
|
|
23
|
+
const newInputProps = { ...inputProps } || {};
|
|
24
|
+
|
|
25
|
+
if (!newInputProps["data-testid"]) {
|
|
26
|
+
newInputProps["data-testid"] = `${id}-input`;
|
|
27
|
+
}
|
|
28
|
+
// if aria-describedBy is not provided, add it depending on helper-text and tooltip presence
|
|
29
|
+
if (!newInputProps["aria-describedby"]) {
|
|
30
|
+
let newDescribedBy = "";
|
|
31
|
+
if (helperText) {
|
|
32
|
+
newDescribedBy += `${id}-helper-text `;
|
|
33
|
+
}
|
|
34
|
+
if (tooltipText) {
|
|
35
|
+
newDescribedBy += `${id}-tooltip`;
|
|
36
|
+
}
|
|
37
|
+
if (newDescribedBy) {
|
|
38
|
+
newInputProps["aria-describedby"] = newDescribedBy;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
19
42
|
return (
|
|
20
43
|
<FormControl fullWidth error={error}>
|
|
21
44
|
<div
|
|
@@ -26,49 +49,57 @@ const TextField = ({
|
|
|
26
49
|
flexGrow: 1,
|
|
27
50
|
}}
|
|
28
51
|
/>
|
|
29
|
-
<
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
{
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
52
|
+
<div style={{ display: "flex", flexDirection: "row" }}>
|
|
53
|
+
<InputLabel
|
|
54
|
+
disabled={disabled}
|
|
55
|
+
shrink
|
|
56
|
+
required={required}
|
|
57
|
+
error={error}
|
|
58
|
+
htmlFor={id}
|
|
59
|
+
style={{ marginBottom: 0, height: 16 }} // force a heignt
|
|
60
|
+
sx={[
|
|
61
|
+
{
|
|
62
|
+
backgroundColor: "transparent",
|
|
63
|
+
display: "flex",
|
|
64
|
+
flexDirection: "row-reverse",
|
|
65
|
+
alignSelf: "baseline",
|
|
66
|
+
textTransform: "none",
|
|
67
|
+
// force it outside the select box
|
|
68
|
+
position: "initial",
|
|
69
|
+
transform: "translateX(0px) translateY(0px)",
|
|
70
|
+
fontFamily: "Rubik",
|
|
71
|
+
fontWeight: 500,
|
|
72
|
+
fontSize: 14,
|
|
73
|
+
color: "#333",
|
|
74
|
+
"& .MuiInputLabel-asterisk": {
|
|
75
|
+
color: "#AE1C1C !important",
|
|
76
|
+
marginRight: "3px !important", //this was
|
|
77
|
+
},
|
|
53
78
|
},
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
79
|
+
required && {
|
|
80
|
+
transform: "translateX(-12px) translateY(0px)",
|
|
81
|
+
"& .MuiInputLabel-asterisk": {
|
|
82
|
+
color: "#D92F2",
|
|
83
|
+
marginRight: "3px !important", //this was
|
|
84
|
+
},
|
|
60
85
|
},
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
86
|
+
disabled && {
|
|
87
|
+
color: "rgba(0,0,0,0.6)",
|
|
88
|
+
},
|
|
89
|
+
error && {
|
|
90
|
+
color: "#AE1C1C !important",
|
|
91
|
+
},
|
|
92
|
+
]}
|
|
93
|
+
>
|
|
94
|
+
{label}
|
|
95
|
+
</InputLabel>
|
|
96
|
+
{tooltipText && (
|
|
97
|
+
<MadieToolTip
|
|
98
|
+
tooltipText={tooltipText}
|
|
99
|
+
id={`${id}-tooltip`}
|
|
100
|
+
/>
|
|
101
|
+
)}
|
|
102
|
+
</div>
|
|
72
103
|
{helperText && (
|
|
73
104
|
<FormHelperText
|
|
74
105
|
tabIndex={0}
|
|
@@ -93,7 +124,6 @@ const TextField = ({
|
|
|
93
124
|
sx={[
|
|
94
125
|
{
|
|
95
126
|
borderRadius: "3px",
|
|
96
|
-
height: 40, //there's a .13 coming from somewhere.
|
|
97
127
|
border: "none",
|
|
98
128
|
marginTop: "8px",
|
|
99
129
|
"& .MuiOutlinedInput-notchedOutline": {
|
|
@@ -103,6 +133,9 @@ const TextField = ({
|
|
|
103
133
|
width: 0,
|
|
104
134
|
},
|
|
105
135
|
},
|
|
136
|
+
"& .MuiInputBase-root": {
|
|
137
|
+
height: "40px",
|
|
138
|
+
},
|
|
106
139
|
"& .MuiOutlinedInput-root": {
|
|
107
140
|
"&&": {
|
|
108
141
|
borderRadius: "3px",
|
|
@@ -131,6 +164,7 @@ const TextField = ({
|
|
|
131
164
|
error={error}
|
|
132
165
|
disabled={disabled}
|
|
133
166
|
id={id}
|
|
167
|
+
inputProps={newInputProps}
|
|
134
168
|
{...rest}
|
|
135
169
|
/>
|
|
136
170
|
</FormControl>
|
|
@@ -145,5 +179,7 @@ TextField.propTypes = {
|
|
|
145
179
|
disabled: PropTypes.bool,
|
|
146
180
|
placeholder: PropTypes.string, // expects placeholder objects of { name: value } and inserts into the render item function.
|
|
147
181
|
label: PropTypes.string,
|
|
182
|
+
tooltipText: PropTypes.string,
|
|
183
|
+
inputProps: PropTypes.object,
|
|
148
184
|
};
|
|
149
185
|
export default TextField;
|
package/components/index.js
CHANGED
|
@@ -16,6 +16,8 @@ import MadieDialog from "./MadieDialog";
|
|
|
16
16
|
import MadieDiscardDialog from "./MadieDiscardDialog";
|
|
17
17
|
import MadieDeleteDialog from "./MadieDeleteDialog";
|
|
18
18
|
import MadieSpinner from "./MadieSpinner";
|
|
19
|
+
import MadieTooltip from "./MadieTooltip";
|
|
20
|
+
import MadieTooltipIcon from "./MadieTooltipIcon";
|
|
19
21
|
import Modal from "./Modal";
|
|
20
22
|
import Popover from "./Popover";
|
|
21
23
|
import { Pagination } from "./Pagination";
|
|
@@ -140,6 +142,8 @@ export {
|
|
|
140
142
|
MadieDiscardDialog,
|
|
141
143
|
MadieDeleteDialog,
|
|
142
144
|
MadieSpinner,
|
|
145
|
+
MadieTooltipIcon,
|
|
146
|
+
MadieTooltip,
|
|
143
147
|
Pagination,
|
|
144
148
|
Popover,
|
|
145
149
|
RadioButton,
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<coverage generated="1706116691457" clover="3.2.0">
|
|
3
|
+
<project timestamp="1706116691457" name="All files">
|
|
4
|
+
<metrics statements="20" coveredstatements="20" conditionals="30" coveredconditionals="28" methods="9" coveredmethods="9" elements="59" coveredelements="57" complexity="0" loc="20" ncloc="20" packages="4" files="5" classes="5"/>
|
|
5
|
+
<package name="InputLabel">
|
|
6
|
+
<metrics statements="3" coveredstatements="3" conditionals="6" coveredconditionals="6" methods="1" coveredmethods="1"/>
|
|
7
|
+
<file name="index.jsx" path="/Users/43161/madie/madie-design-system/react/components/InputLabel/index.jsx">
|
|
8
|
+
<metrics statements="3" coveredstatements="3" conditionals="6" coveredconditionals="6" methods="1" coveredmethods="1"/>
|
|
9
|
+
<line num="5" count="1" type="stmt"/>
|
|
10
|
+
<line num="6" count="5" type="stmt"/>
|
|
11
|
+
<line num="48" count="1" type="stmt"/>
|
|
12
|
+
</file>
|
|
13
|
+
</package>
|
|
14
|
+
<package name="MadieTooltip">
|
|
15
|
+
<metrics statements="11" coveredstatements="11" conditionals="5" coveredconditionals="3" methods="6" coveredmethods="6"/>
|
|
16
|
+
<file name="index.jsx" path="/Users/43161/madie/madie-design-system/react/components/MadieTooltip/index.jsx">
|
|
17
|
+
<metrics statements="10" coveredstatements="10" conditionals="5" coveredconditionals="3" methods="6" coveredmethods="6"/>
|
|
18
|
+
<line num="7" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
19
|
+
<line num="8" count="5" type="stmt"/>
|
|
20
|
+
<line num="9" count="5" type="stmt"/>
|
|
21
|
+
<line num="13" count="1" type="stmt"/>
|
|
22
|
+
<line num="15" count="1" type="stmt"/>
|
|
23
|
+
<line num="18" count="1" type="stmt"/>
|
|
24
|
+
<line num="21" count="1" type="stmt"/>
|
|
25
|
+
<line num="24" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
26
|
+
<line num="25" count="1" type="stmt"/>
|
|
27
|
+
<line num="44" count="1" type="stmt"/>
|
|
28
|
+
</file>
|
|
29
|
+
<file name="index.scss" path="/Users/43161/madie/madie-design-system/react/components/MadieTooltip/index.scss">
|
|
30
|
+
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
31
|
+
<line num="1" count="1" type="stmt"/>
|
|
32
|
+
</file>
|
|
33
|
+
</package>
|
|
34
|
+
<package name="MadieTooltipIcon">
|
|
35
|
+
<metrics statements="3" coveredstatements="3" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
|
|
36
|
+
<file name="index.jsx" path="/Users/43161/madie/madie-design-system/react/components/MadieTooltipIcon/index.jsx">
|
|
37
|
+
<metrics statements="3" coveredstatements="3" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
|
|
38
|
+
<line num="4" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
39
|
+
<line num="5" count="5" type="stmt"/>
|
|
40
|
+
<line num="29" count="1" type="stmt"/>
|
|
41
|
+
</file>
|
|
42
|
+
</package>
|
|
43
|
+
<package name="TextField">
|
|
44
|
+
<metrics statements="3" coveredstatements="3" conditionals="18" coveredconditionals="18" methods="1" coveredmethods="1"/>
|
|
45
|
+
<file name="index.jsx" path="/Users/43161/madie/madie-design-system/react/components/TextField/index.jsx">
|
|
46
|
+
<metrics statements="3" coveredstatements="3" conditionals="18" coveredconditionals="18" methods="1" coveredmethods="1"/>
|
|
47
|
+
<line num="11" count="1" type="stmt"/>
|
|
48
|
+
<line num="21" count="5" type="stmt"/>
|
|
49
|
+
<line num="147" count="1" type="stmt"/>
|
|
50
|
+
</file>
|
|
51
|
+
</package>
|
|
52
|
+
</project>
|
|
53
|
+
</coverage>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{"/Users/43161/madie/madie-design-system/react/components/InputLabel/index.jsx": {"path":"/Users/43161/madie/madie-design-system/react/components/InputLabel/index.jsx","statementMap":{"0":{"start":{"line":5,"column":14},"end":{"line":47,"column":1}},"1":{"start":{"line":6,"column":4},"end":{"line":46,"column":6}},"2":{"start":{"line":48,"column":0},"end":{"line":52,"column":2}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":5,"column":14},"end":{"line":5,"column":15}},"loc":{"start":{"line":5,"column":58},"end":{"line":47,"column":1}},"line":5}},"branchMap":{"0":{"loc":{"start":{"line":30,"column":16},"end":{"line":36,"column":17}},"type":"binary-expr","locations":[{"start":{"line":30,"column":16},"end":{"line":30,"column":24}},{"start":{"line":30,"column":28},"end":{"line":36,"column":17}}],"line":30},"1":{"loc":{"start":{"line":37,"column":16},"end":{"line":39,"column":17}},"type":"binary-expr","locations":[{"start":{"line":37,"column":16},"end":{"line":37,"column":24}},{"start":{"line":37,"column":28},"end":{"line":39,"column":17}}],"line":37},"2":{"loc":{"start":{"line":40,"column":16},"end":{"line":42,"column":17}},"type":"binary-expr","locations":[{"start":{"line":40,"column":16},"end":{"line":40,"column":21}},{"start":{"line":40,"column":25},"end":{"line":42,"column":17}}],"line":40}},"s":{"0":1,"1":5,"2":1},"f":{"0":5},"b":{"0":[5,1],"1":[5,1],"2":[5,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"0a1310bec710ee6300495741f01b1fdda262e348"}
|
|
2
|
+
,"/Users/43161/madie/madie-design-system/react/components/MadieTooltip/index.jsx": {"path":"/Users/43161/madie/madie-design-system/react/components/MadieTooltip/index.jsx","statementMap":{"0":{"start":{"line":7,"column":21},"end":{"line":42,"column":1}},"1":{"start":{"line":8,"column":38},"end":{"line":8,"column":53}},"2":{"start":{"line":9,"column":4},"end":{"line":41,"column":6}},"3":{"start":{"line":13,"column":27},"end":{"line":13,"column":45}},"4":{"start":{"line":15,"column":16},"end":{"line":15,"column":36}},"5":{"start":{"line":18,"column":16},"end":{"line":18,"column":35}},"6":{"start":{"line":21,"column":16},"end":{"line":21,"column":36}},"7":{"start":{"line":24,"column":16},"end":{"line":26,"column":17}},"8":{"start":{"line":25,"column":20},"end":{"line":25,"column":40}},"9":{"start":{"line":44,"column":0},"end":{"line":46,"column":2}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":7,"column":21},"end":{"line":7,"column":22}},"loc":{"start":{"line":7,"column":69},"end":{"line":42,"column":1}},"line":7},"1":{"name":"(anonymous_1)","decl":{"start":{"line":13,"column":21},"end":{"line":13,"column":22}},"loc":{"start":{"line":13,"column":27},"end":{"line":13,"column":45}},"line":13},"2":{"name":"(anonymous_2)","decl":{"start":{"line":14,"column":20},"end":{"line":14,"column":21}},"loc":{"start":{"line":14,"column":26},"end":{"line":16,"column":13}},"line":14},"3":{"name":"(anonymous_3)","decl":{"start":{"line":17,"column":26},"end":{"line":17,"column":27}},"loc":{"start":{"line":17,"column":32},"end":{"line":19,"column":13}},"line":17},"4":{"name":"(anonymous_4)","decl":{"start":{"line":20,"column":26},"end":{"line":20,"column":27}},"loc":{"start":{"line":20,"column":32},"end":{"line":22,"column":13}},"line":20},"5":{"name":"(anonymous_5)","decl":{"start":{"line":23,"column":23},"end":{"line":23,"column":24}},"loc":{"start":{"line":23,"column":30},"end":{"line":27,"column":13}},"line":23}},"branchMap":{"0":{"loc":{"start":{"line":7,"column":24},"end":{"line":7,"column":58}},"type":"default-arg","locations":[{"start":{"line":7,"column":38},"end":{"line":7,"column":58}}],"line":7},"1":{"loc":{"start":{"line":24,"column":16},"end":{"line":26,"column":17}},"type":"if","locations":[{"start":{"line":24,"column":16},"end":{"line":26,"column":17}},{"start":{},"end":{}}],"line":24},"2":{"loc":{"start":{"line":36,"column":27},"end":{"line":36,"column":79}},"type":"cond-expr","locations":[{"start":{"line":36,"column":39},"end":{"line":36,"column":54}},{"start":{"line":36,"column":57},"end":{"line":36,"column":79}}],"line":36}},"s":{"0":1,"1":5,"2":5,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1},"f":{"0":5,"1":1,"2":1,"3":1,"4":1,"5":1},"b":{"0":[0],"1":[1,0],"2":[2,3]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"151cca9169e9a05e4e41a09b68509ed2f5921d5e"}
|
|
3
|
+
,"/Users/43161/madie/madie-design-system/react/components/MadieTooltip/index.scss": {"path":"/Users/43161/madie/madie-design-system/react/components/MadieTooltip/index.scss","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}}},"fnMap":{},"branchMap":{},"s":{"0":1},"f":{},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"eb5f8857f4418f79e16718a46a340ceadc6852db"}
|
|
4
|
+
,"/Users/43161/madie/madie-design-system/react/components/MadieTooltipIcon/index.jsx": {"path":"/Users/43161/madie/madie-design-system/react/components/MadieTooltipIcon/index.jsx","statementMap":{"0":{"start":{"line":4,"column":20},"end":{"line":25,"column":1}},"1":{"start":{"line":5,"column":4},"end":{"line":24,"column":10}},"2":{"start":{"line":29,"column":0},"end":{"line":31,"column":2}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":4,"column":20},"end":{"line":4,"column":21}},"loc":{"start":{"line":5,"column":4},"end":{"line":24,"column":10}},"line":5}},"branchMap":{"0":{"loc":{"start":{"line":4,"column":23},"end":{"line":4,"column":40}},"type":"default-arg","locations":[{"start":{"line":4,"column":31},"end":{"line":4,"column":40}}],"line":4}},"s":{"0":1,"1":5,"2":1},"f":{"0":5},"b":{"0":[5]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"e3b77d78c8ee4bd89b3ba7f2f93ae20868b303c7"}
|
|
5
|
+
,"/Users/43161/madie/madie-design-system/react/components/TextField/index.jsx": {"path":"/Users/43161/madie/madie-design-system/react/components/TextField/index.jsx","statementMap":{"0":{"start":{"line":11,"column":18},"end":{"line":145,"column":1}},"1":{"start":{"line":21,"column":4},"end":{"line":144,"column":6}},"2":{"start":{"line":147,"column":0},"end":{"line":156,"column":2}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":11,"column":18},"end":{"line":11,"column":19}},"loc":{"start":{"line":20,"column":6},"end":{"line":145,"column":1}},"line":20}},"branchMap":{"0":{"loc":{"start":{"line":13,"column":4},"end":{"line":13,"column":17}},"type":"default-arg","locations":[{"start":{"line":13,"column":12},"end":{"line":13,"column":17}}],"line":13},"1":{"loc":{"start":{"line":14,"column":4},"end":{"line":14,"column":26}},"type":"default-arg","locations":[{"start":{"line":14,"column":17},"end":{"line":14,"column":26}}],"line":14},"2":{"loc":{"start":{"line":15,"column":4},"end":{"line":15,"column":20}},"type":"default-arg","locations":[{"start":{"line":15,"column":15},"end":{"line":15,"column":20}}],"line":15},"3":{"loc":{"start":{"line":16,"column":4},"end":{"line":16,"column":20}},"type":"default-arg","locations":[{"start":{"line":16,"column":15},"end":{"line":16,"column":20}}],"line":16},"4":{"loc":{"start":{"line":58,"column":24},"end":{"line":64,"column":25}},"type":"binary-expr","locations":[{"start":{"line":58,"column":24},"end":{"line":58,"column":32}},{"start":{"line":58,"column":36},"end":{"line":64,"column":25}}],"line":58},"5":{"loc":{"start":{"line":65,"column":24},"end":{"line":67,"column":25}},"type":"binary-expr","locations":[{"start":{"line":65,"column":24},"end":{"line":65,"column":32}},{"start":{"line":65,"column":36},"end":{"line":67,"column":25}}],"line":65},"6":{"loc":{"start":{"line":68,"column":24},"end":{"line":70,"column":25}},"type":"binary-expr","locations":[{"start":{"line":68,"column":24},"end":{"line":68,"column":29}},{"start":{"line":68,"column":33},"end":{"line":70,"column":25}}],"line":68},"7":{"loc":{"start":{"line":75,"column":17},"end":{"line":75,"column":94}},"type":"binary-expr","locations":[{"start":{"line":75,"column":17},"end":{"line":75,"column":28}},{"start":{"line":75,"column":32},"end":{"line":75,"column":94}}],"line":75},"8":{"loc":{"start":{"line":77,"column":13},"end":{"line":96,"column":13}},"type":"binary-expr","locations":[{"start":{"line":77,"column":13},"end":{"line":77,"column":23}},{"start":{"line":78,"column":16},"end":{"line":95,"column":33}}],"line":77},"9":{"loc":{"start":{"line":89,"column":24},"end":{"line":91,"column":25}},"type":"binary-expr","locations":[{"start":{"line":89,"column":24},"end":{"line":89,"column":29}},{"start":{"line":89,"column":33},"end":{"line":91,"column":25}}],"line":89},"10":{"loc":{"start":{"line":131,"column":20},"end":{"line":135,"column":21}},"type":"binary-expr","locations":[{"start":{"line":131,"column":20},"end":{"line":131,"column":25}},{"start":{"line":131,"column":29},"end":{"line":135,"column":21}}],"line":131}},"s":{"0":1,"1":5,"2":1},"f":{"0":5},"b":{"0":[4],"1":[1],"2":[4],"3":[4],"4":[5,1],"5":[5,1],"6":[5,1],"7":[5,1],"8":[5,4],"9":[4,1],"10":[5,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"4c420249fd02b6fe9b98a7e62616178e83f751f8"}
|
|
6
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
|
|
2
|
+
<!doctype html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
<title>Code coverage report for InputLabel</title>
|
|
7
|
+
<meta charset="utf-8" />
|
|
8
|
+
<link rel="stylesheet" href="../prettify.css" />
|
|
9
|
+
<link rel="stylesheet" href="../base.css" />
|
|
10
|
+
<link rel="shortcut icon" type="image/x-icon" href="../favicon.png" />
|
|
11
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
12
|
+
<style type='text/css'>
|
|
13
|
+
.coverage-summary .sorter {
|
|
14
|
+
background-image: url(../sort-arrow-sprite.png);
|
|
15
|
+
}
|
|
16
|
+
</style>
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
<body>
|
|
20
|
+
<div class='wrapper'>
|
|
21
|
+
<div class='pad1'>
|
|
22
|
+
<h1><a href="../index.html">All files</a> InputLabel</h1>
|
|
23
|
+
<div class='clearfix'>
|
|
24
|
+
|
|
25
|
+
<div class='fl pad1y space-right2'>
|
|
26
|
+
<span class="strong">100% </span>
|
|
27
|
+
<span class="quiet">Statements</span>
|
|
28
|
+
<span class='fraction'>3/3</span>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
<div class='fl pad1y space-right2'>
|
|
33
|
+
<span class="strong">100% </span>
|
|
34
|
+
<span class="quiet">Branches</span>
|
|
35
|
+
<span class='fraction'>6/6</span>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
<div class='fl pad1y space-right2'>
|
|
40
|
+
<span class="strong">100% </span>
|
|
41
|
+
<span class="quiet">Functions</span>
|
|
42
|
+
<span class='fraction'>1/1</span>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
<div class='fl pad1y space-right2'>
|
|
47
|
+
<span class="strong">100% </span>
|
|
48
|
+
<span class="quiet">Lines</span>
|
|
49
|
+
<span class='fraction'>3/3</span>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
<p class="quiet">
|
|
55
|
+
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
|
|
56
|
+
</p>
|
|
57
|
+
<template id="filterTemplate">
|
|
58
|
+
<div class="quiet">
|
|
59
|
+
Filter:
|
|
60
|
+
<input oninput="onInput()" type="search" id="fileSearch">
|
|
61
|
+
</div>
|
|
62
|
+
</template>
|
|
63
|
+
</div>
|
|
64
|
+
<div class='status-line high'></div>
|
|
65
|
+
<div class="pad1">
|
|
66
|
+
<table class="coverage-summary">
|
|
67
|
+
<thead>
|
|
68
|
+
<tr>
|
|
69
|
+
<th data-col="file" data-fmt="html" data-html="true" class="file">File</th>
|
|
70
|
+
<th data-col="pic" data-type="number" data-fmt="html" data-html="true" class="pic"></th>
|
|
71
|
+
<th data-col="statements" data-type="number" data-fmt="pct" class="pct">Statements</th>
|
|
72
|
+
<th data-col="statements_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
73
|
+
<th data-col="branches" data-type="number" data-fmt="pct" class="pct">Branches</th>
|
|
74
|
+
<th data-col="branches_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
75
|
+
<th data-col="functions" data-type="number" data-fmt="pct" class="pct">Functions</th>
|
|
76
|
+
<th data-col="functions_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
77
|
+
<th data-col="lines" data-type="number" data-fmt="pct" class="pct">Lines</th>
|
|
78
|
+
<th data-col="lines_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
79
|
+
</tr>
|
|
80
|
+
</thead>
|
|
81
|
+
<tbody><tr>
|
|
82
|
+
<td class="file high" data-value="index.jsx"><a href="index.jsx.html">index.jsx</a></td>
|
|
83
|
+
<td data-value="100" class="pic high">
|
|
84
|
+
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
85
|
+
</td>
|
|
86
|
+
<td data-value="100" class="pct high">100%</td>
|
|
87
|
+
<td data-value="3" class="abs high">3/3</td>
|
|
88
|
+
<td data-value="100" class="pct high">100%</td>
|
|
89
|
+
<td data-value="6" class="abs high">6/6</td>
|
|
90
|
+
<td data-value="100" class="pct high">100%</td>
|
|
91
|
+
<td data-value="1" class="abs high">1/1</td>
|
|
92
|
+
<td data-value="100" class="pct high">100%</td>
|
|
93
|
+
<td data-value="3" class="abs high">3/3</td>
|
|
94
|
+
</tr>
|
|
95
|
+
|
|
96
|
+
</tbody>
|
|
97
|
+
</table>
|
|
98
|
+
</div>
|
|
99
|
+
<div class='push'></div><!-- for sticky footer -->
|
|
100
|
+
</div><!-- /wrapper -->
|
|
101
|
+
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
|
+
Code coverage generated by
|
|
103
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
+
at 2024-01-24T17:18:11.426Z
|
|
105
|
+
</div>
|
|
106
|
+
<script src="../prettify.js"></script>
|
|
107
|
+
<script>
|
|
108
|
+
window.onload = function () {
|
|
109
|
+
prettyPrint();
|
|
110
|
+
};
|
|
111
|
+
</script>
|
|
112
|
+
<script src="../sorter.js"></script>
|
|
113
|
+
<script src="../block-navigation.js"></script>
|
|
114
|
+
</body>
|
|
115
|
+
</html>
|
|
116
|
+
|