qpp-style 9.25.1 → 9.26.0
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/Footer/FooterUI.jsx +2 -3
- package/components/Header/ImpersonatorBanner.jsx +1 -2
- package/components/Infotip/Infotip.jsx +3 -7
- package/components/Infotip/InfotipContent.jsx +46 -0
- package/components/Search/index.js +2 -2
- package/components/Tabs/TabPanel.js +2 -38
- package/components/Tabs/Tabs.js +73 -0
- package/components/index.js +3 -5
- package/coverage/clover.xml +63 -59
- package/coverage/coverage-final.json +4 -4
- package/coverage/lcov-report/index.html +19 -19
- 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 +1 -1
- package/coverage/lcov-report/react/components/Dropdown/index.html +1 -1
- package/coverage/lcov-report/react/components/Dropdown/index.js.html +1 -1
- 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/SocialLinks.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Footer/Subscribe.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/GovBanner/index.html +1 -1
- package/coverage/lcov-report/react/components/GovBanner/index.js.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderAccountMenu.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderCancel.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderContainer.jsx.html +59 -32
- package/coverage/lcov-report/react/components/Header/HeaderLogo.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderMenuButton.js.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderMenuItem.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderMenuLink.js.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderMenuSignOutButton.js.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderMobileButton.js.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderUI.jsx.html +28 -19
- package/coverage/lcov-report/react/components/Header/HelpIcon.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Header/ImpersonatorBanner.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Header/NavigationButtonIcon.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Header/header.js.html +1 -1
- package/coverage/lcov-report/react/components/Header/hooks.js.html +4 -4
- package/coverage/lcov-report/react/components/Header/index.html +25 -25
- package/coverage/lcov-report/react/components/Header/utag-helpers.js.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/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/NotificationBanner/CollapsedView.js.html +1 -1
- package/coverage/lcov-report/react/components/NotificationBanner/ExpandedView.js.html +1 -1
- package/coverage/lcov-report/react/components/NotificationBanner/index.html +1 -1
- package/coverage/lcov-report/react/components/NotificationBanner/index.js.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/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/SideNav/AnimationGroup/AnimationGroup.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/AnimationGroup/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Chart/ScoreChart.jsx.html +19 -13
- package/coverage/lcov-report/react/components/SideNav/Chart/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Chart/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Content/LevelOneContent.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Content/LevelTwoContent.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/utils.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Content/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Content/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Details/IndividualDetails.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Details/PracticeDetails.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Details/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Details/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/CmsSwitchLink.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/NavItemInline.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkContainer.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkDrawer.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkInline.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkToggle.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/UI/SideNavUI.jsx.html +2 -2
- package/coverage/lcov-report/react/components/SideNav/UI/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/UI/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/helpers.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/index.js.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/hooks/index.html +1 -1
- package/coverage/lcov-report/react/components/hooks/useGetConfig.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 +114 -106
- package/dist/browser.js +1 -1
- package/dist/browser.js.LICENSE.txt +0 -39
- package/dist/browser.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.LICENSE.txt +0 -39
- package/dist/index.js.map +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/index.js.LICENSE.txt +8 -50
- package/dist/react/index.js.map +1 -1
- package/images/icons/svg/block.svg +5 -0
- package/images/icons/svg/check-circle.svg +5 -0
- package/lib/SvgComponents.jsx +120 -0
- package/package.json +6 -10
- package/styles/qppds/components/_footer.scss +2 -2
- package/styles/qppds/settings/_functions.scss +3 -1
- package/test/components/HeaderUI.test.js +1 -1
- package/test/components/Infotip.test.js +17 -11
- package/components/Accordion/Accordion.stories.js +0 -20
- package/components/Alert/Alert.stories.js +0 -61
- package/components/Details/Details.stories.js +0 -63
- package/components/DropdownButton/DropdownButton.stories.js +0 -127
- package/components/Tabs/Tab.js +0 -26
- package/components/Tabs/index.js +0 -100
- package/components/Tooltip/Tooltip.jsx +0 -88
- package/components/Tooltip/Tooltip.stories.js +0 -80
- package/components/Tooltip/index.js +0 -3
- package/components/Tooltip/position.js +0 -68
- package/test/components/Tooltip.test.js +0 -147
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import OpenInNewIcon from '@material-ui/icons/OpenInNew';
|
|
3
|
-
|
|
4
2
|
import InfoTip from '../Infotip/Infotip';
|
|
5
3
|
import Subscribe from './Subscribe';
|
|
6
4
|
import SocialLinks from './SocialLinks';
|
|
7
5
|
import pjson from '../../package.json';
|
|
6
|
+
import { OpenInNewIcon } from '../../lib/SvgComponents';
|
|
8
7
|
|
|
9
8
|
const infoTipLabel =
|
|
10
9
|
'When dialing 711, you will automatically be connected to a TRS Communications Assistant who will relay your conversation to the help desk agent with strict confidentiality.';
|
|
@@ -126,7 +125,7 @@ const FooterUI = () => (
|
|
|
126
125
|
rel="noopener noreferrer"
|
|
127
126
|
>
|
|
128
127
|
<strong>Create or Track a QPP Service Center Ticket</strong>
|
|
129
|
-
<OpenInNewIcon
|
|
128
|
+
<OpenInNewIcon className="ccsq-link-icon" />
|
|
130
129
|
</a>
|
|
131
130
|
</h3>
|
|
132
131
|
</div>
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cookie from 'cookie';
|
|
3
3
|
import axios from 'axios';
|
|
4
|
-
import CloseIcon from '
|
|
5
|
-
|
|
4
|
+
import { CloseIcon } from '../../lib/SvgComponents';
|
|
6
5
|
import { TextButton } from '../Button';
|
|
7
6
|
import {
|
|
8
7
|
deleteImpersonatedUser,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import
|
|
3
|
+
import InfotipContent from './InfotipContent';
|
|
4
4
|
import InfotipIcon from './InfotipIcon';
|
|
5
5
|
|
|
6
6
|
const BUTTON_SIZE = '16px';
|
|
@@ -16,10 +16,6 @@ const buttonStyle = {
|
|
|
16
16
|
userSelect: 'none',
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
// Use basic touch handlers for mobile "tap-to-open" ui. Mobile touch
|
|
20
|
-
// is currently not supported by @reach/tooltip; this may change in future.
|
|
21
|
-
// Leverages @reach/tooltip "focus" behavior to open tooltip on tap,
|
|
22
|
-
// and close tooltip on second tap or loss of focus.
|
|
23
19
|
// TODO: We may want to improve this by tracking touch positions to ensure
|
|
24
20
|
// that a 'touchend' event must be reasonably close to the tooltip target.
|
|
25
21
|
const touchHandlers = {
|
|
@@ -41,7 +37,7 @@ const touchHandlers = {
|
|
|
41
37
|
* Tooltip with styled information icon
|
|
42
38
|
*/
|
|
43
39
|
const Infotip = ({ ariaLabel, label, lightIcon, ...props }) => (
|
|
44
|
-
<
|
|
40
|
+
<InfotipContent label={label} {...props}>
|
|
45
41
|
<button
|
|
46
42
|
type="button"
|
|
47
43
|
aria-label={ariaLabel}
|
|
@@ -56,7 +52,7 @@ const Infotip = ({ ariaLabel, label, lightIcon, ...props }) => (
|
|
|
56
52
|
style={{ float: 'left' }}
|
|
57
53
|
/>
|
|
58
54
|
</button>
|
|
59
|
-
</
|
|
55
|
+
</InfotipContent>
|
|
60
56
|
);
|
|
61
57
|
|
|
62
58
|
Infotip.propTypes = {
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import {
|
|
4
|
+
Tooltip as TooltipAriaKit,
|
|
5
|
+
TooltipAnchor,
|
|
6
|
+
TooltipArrow,
|
|
7
|
+
useTooltipState,
|
|
8
|
+
} from 'ariakit/tooltip';
|
|
9
|
+
|
|
10
|
+
const TEXT_COLOR = '#FFF';
|
|
11
|
+
const BACKGROUND_COLOR = '#333';
|
|
12
|
+
|
|
13
|
+
const InfotipContent = ({ children, label }) => {
|
|
14
|
+
const tooltip = useTooltipState();
|
|
15
|
+
|
|
16
|
+
const cssStyles = {
|
|
17
|
+
maxWidth: '300px',
|
|
18
|
+
padding: '8px',
|
|
19
|
+
borderRadius: '4px',
|
|
20
|
+
fontSize: '0.9rem',
|
|
21
|
+
backgroundColor: BACKGROUND_COLOR,
|
|
22
|
+
color: TEXT_COLOR,
|
|
23
|
+
};
|
|
24
|
+
return (
|
|
25
|
+
<>
|
|
26
|
+
<TooltipAnchor as={'span'} state={tooltip} className="tooltip-anchor">
|
|
27
|
+
{children}
|
|
28
|
+
</TooltipAnchor>
|
|
29
|
+
<TooltipAriaKit
|
|
30
|
+
state={tooltip}
|
|
31
|
+
className="tooltip-content"
|
|
32
|
+
style={cssStyles}
|
|
33
|
+
>
|
|
34
|
+
{label}
|
|
35
|
+
<TooltipArrow />
|
|
36
|
+
</TooltipAriaKit>
|
|
37
|
+
</>
|
|
38
|
+
);
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
InfotipContent.propTypes = {
|
|
42
|
+
children: PropTypes.node.isRequired,
|
|
43
|
+
label: PropTypes.node.isRequired,
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export default InfotipContent;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import SearchIcon from '
|
|
3
|
+
import { SearchIcon } from '../../lib/SvgComponents';
|
|
4
4
|
|
|
5
5
|
const Search = ({
|
|
6
6
|
id,
|
|
@@ -55,7 +55,7 @@ const Search = ({
|
|
|
55
55
|
className="qpp-c-search__submit qpp-c-button qpp-c-button--text"
|
|
56
56
|
>
|
|
57
57
|
<span className="qpp-u-visually-hidden">Search</span>
|
|
58
|
-
<SearchIcon
|
|
58
|
+
<SearchIcon viewBox="0 0 45 50" />
|
|
59
59
|
</button>
|
|
60
60
|
</div>
|
|
61
61
|
</form>
|
|
@@ -1,41 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export const TabPanel = ({
|
|
5
|
-
children,
|
|
6
|
-
value,
|
|
7
|
-
id,
|
|
8
|
-
index,
|
|
9
|
-
className,
|
|
10
|
-
disabled,
|
|
11
|
-
}) => {
|
|
12
|
-
const classes = ['qpp-c-tabs__panel', className].filter(Boolean).join(' ');
|
|
13
|
-
return (
|
|
14
|
-
<div
|
|
15
|
-
role="tabpanel"
|
|
16
|
-
id={id}
|
|
17
|
-
aria-hidden={value !== index}
|
|
18
|
-
aria-labelledby={`qpp-c-tabs__item--${id}`}
|
|
19
|
-
aria-disabled={disabled}
|
|
20
|
-
className={classes}
|
|
21
|
-
>
|
|
22
|
-
{value === index && children}
|
|
23
|
-
</div>
|
|
24
|
-
);
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
TabPanel.propTypes = {
|
|
28
|
-
children: PropTypes.node,
|
|
29
|
-
className: PropTypes.string,
|
|
30
|
-
index: PropTypes.number.isRequired,
|
|
31
|
-
id: PropTypes.string,
|
|
32
|
-
value: PropTypes.number.isRequired,
|
|
33
|
-
disabled: PropTypes.bool,
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
TabPanel.defaultProps = {
|
|
37
|
-
index: 0,
|
|
38
|
-
value: 0,
|
|
1
|
+
const TabPanel = ({ children }) => {
|
|
2
|
+
return children;
|
|
39
3
|
};
|
|
40
4
|
|
|
41
5
|
export default TabPanel;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import React, { Children } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { TabList, Tab, TabPanel, useTabState } from 'ariakit/tab';
|
|
4
|
+
|
|
5
|
+
function Tabs({ defaultSelectedId, children, onChange, selected }) {
|
|
6
|
+
const tab = useTabState({
|
|
7
|
+
defaultSelectedId: selected ?? defaultSelectedId,
|
|
8
|
+
selectOnMove: false,
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
const onTabClick = (tabHref, id) => {
|
|
12
|
+
if (tabHref) {
|
|
13
|
+
const currentUrl = new URL(window.location.href);
|
|
14
|
+
const newParams = new URLSearchParams(tabHref);
|
|
15
|
+
newParams.forEach((value, key) => {
|
|
16
|
+
currentUrl.searchParams.set(key, value);
|
|
17
|
+
});
|
|
18
|
+
window.history.replaceState(null, '', currentUrl);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
if (onChange) {
|
|
22
|
+
onChange(id);
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
return (
|
|
27
|
+
<>
|
|
28
|
+
<div className="qpp-c-tabs qpp-c-tabs--mui">
|
|
29
|
+
<TabList state={tab} aria-label="qpp tabs">
|
|
30
|
+
{Children.map(children, (child) => (
|
|
31
|
+
<Tab
|
|
32
|
+
key={child.props.id}
|
|
33
|
+
id={child.props.id}
|
|
34
|
+
className="qpp-c-tabs__item"
|
|
35
|
+
disabled={child.props.disabled}
|
|
36
|
+
onClick={() => onTabClick(child.props.tabHref, child.props.id)}
|
|
37
|
+
>
|
|
38
|
+
{child.props.tab}
|
|
39
|
+
</Tab>
|
|
40
|
+
))}
|
|
41
|
+
</TabList>
|
|
42
|
+
</div>
|
|
43
|
+
<div className="qpp-c-tabs__panel">
|
|
44
|
+
{Children.map(children, (child) => (
|
|
45
|
+
<TabPanel
|
|
46
|
+
key={child.props.id}
|
|
47
|
+
state={tab}
|
|
48
|
+
tabId={child.props.id}
|
|
49
|
+
className={child.props.className}
|
|
50
|
+
disabled={child.props.disabled}
|
|
51
|
+
>
|
|
52
|
+
{child.props.children}
|
|
53
|
+
</TabPanel>
|
|
54
|
+
))}
|
|
55
|
+
</div>
|
|
56
|
+
</>
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
Tabs.propTypes = {
|
|
61
|
+
defaultSelectedId: PropTypes.string,
|
|
62
|
+
children: PropTypes.node.isRequired,
|
|
63
|
+
onChange: PropTypes.func,
|
|
64
|
+
selected: PropTypes.string,
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
Tabs.defaultProps = {
|
|
68
|
+
defaultSelectedId: undefined,
|
|
69
|
+
onChange: undefined,
|
|
70
|
+
selected: undefined,
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
export default Tabs;
|
package/components/index.js
CHANGED
|
@@ -9,14 +9,13 @@ import Footer from './Footer/FooterUI';
|
|
|
9
9
|
import Header from './Header/HeaderUI';
|
|
10
10
|
import Modal from './Modal';
|
|
11
11
|
import SideNav from './SideNav/UI/SideNavUI';
|
|
12
|
+
import Tabs from './Tabs/Tabs';
|
|
12
13
|
import TabPanel from './Tabs/TabPanel';
|
|
13
|
-
import Tabs from './Tabs/index';
|
|
14
|
-
import Tooltip from './Tooltip';
|
|
15
14
|
import Infotip from './Infotip';
|
|
16
15
|
import Search from './Search';
|
|
17
16
|
import TextInput from './TextInput';
|
|
18
17
|
import Dropdown from './Dropdown';
|
|
19
|
-
import Details from './Details';
|
|
18
|
+
import Details from './Details/index';
|
|
20
19
|
import DSLink from './Link';
|
|
21
20
|
import {
|
|
22
21
|
MyApplicationsIcon,
|
|
@@ -117,12 +116,11 @@ export {
|
|
|
117
116
|
Modal,
|
|
118
117
|
Search,
|
|
119
118
|
SideNav,
|
|
120
|
-
TabPanel,
|
|
121
119
|
Tabs,
|
|
120
|
+
TabPanel,
|
|
122
121
|
TextButton,
|
|
123
122
|
TextInput,
|
|
124
123
|
Dropdown,
|
|
125
124
|
Details,
|
|
126
|
-
Tooltip,
|
|
127
125
|
DSLink,
|
|
128
126
|
};
|
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="1678142992657" clover="3.2.0">
|
|
3
|
+
<project timestamp="1678142992657" name="All files">
|
|
4
|
+
<metrics statements="1168" coveredstatements="641" conditionals="740" coveredconditionals="187" methods="335" coveredmethods="122" elements="2243" coveredelements="950" complexity="0" loc="1168" ncloc="1168" packages="26" files="72" classes="72"/>
|
|
5
5
|
<package name="react">
|
|
6
6
|
<metrics statements="6" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="0"/>
|
|
7
7
|
<file name="index.js" path="/Users/rodrigomunoz/projects/qpp-style/react/index.js">
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
</file>
|
|
216
216
|
</package>
|
|
217
217
|
<package name="react.components.Header">
|
|
218
|
-
<metrics statements="
|
|
218
|
+
<metrics statements="203" coveredstatements="119" conditionals="102" coveredconditionals="40" methods="70" coveredmethods="26"/>
|
|
219
219
|
<file name="HeaderAccountMenu.jsx" path="/Users/rodrigomunoz/projects/qpp-style/react/components/Header/HeaderAccountMenu.jsx">
|
|
220
220
|
<metrics statements="17" coveredstatements="10" conditionals="16" coveredconditionals="7" methods="3" coveredmethods="1"/>
|
|
221
221
|
<line num="8" count="2" type="stmt"/>
|
|
@@ -243,15 +243,18 @@
|
|
|
243
243
|
<line num="12" count="2" type="stmt"/>
|
|
244
244
|
</file>
|
|
245
245
|
<file name="HeaderContainer.jsx" path="/Users/rodrigomunoz/projects/qpp-style/react/components/Header/HeaderContainer.jsx">
|
|
246
|
-
<metrics statements="
|
|
246
|
+
<metrics statements="11" coveredstatements="7" conditionals="12" coveredconditionals="7" methods="4" coveredmethods="1"/>
|
|
247
247
|
<line num="14" count="0" type="stmt"/>
|
|
248
248
|
<line num="15" count="0" type="stmt"/>
|
|
249
249
|
<line num="18" count="2" type="stmt"/>
|
|
250
250
|
<line num="25" count="1" type="stmt"/>
|
|
251
|
-
<line num="
|
|
252
|
-
<line num="
|
|
253
|
-
<line num="
|
|
254
|
-
<line num="
|
|
251
|
+
<line num="26" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
252
|
+
<line num="28" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
253
|
+
<line num="32" count="1" type="stmt"/>
|
|
254
|
+
<line num="36" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
255
|
+
<line num="44" count="0" type="stmt"/>
|
|
256
|
+
<line num="60" count="2" type="stmt"/>
|
|
257
|
+
<line num="67" count="2" type="stmt"/>
|
|
255
258
|
</file>
|
|
256
259
|
<file name="HeaderLogo.jsx" path="/Users/rodrigomunoz/projects/qpp-style/react/components/Header/HeaderLogo.jsx">
|
|
257
260
|
<metrics statements="5" coveredstatements="4" conditionals="2" coveredconditionals="1" methods="1" coveredmethods="1"/>
|
|
@@ -361,7 +364,7 @@
|
|
|
361
364
|
<line num="32" count="2" type="stmt"/>
|
|
362
365
|
</file>
|
|
363
366
|
<file name="HeaderUI.jsx" path="/Users/rodrigomunoz/projects/qpp-style/react/components/Header/HeaderUI.jsx">
|
|
364
|
-
<metrics statements="
|
|
367
|
+
<metrics statements="40" coveredstatements="31" conditionals="10" coveredconditionals="6" methods="16" coveredmethods="9"/>
|
|
365
368
|
<line num="14" count="2" type="stmt"/>
|
|
366
369
|
<line num="24" count="3" type="stmt"/>
|
|
367
370
|
<line num="25" count="3" type="stmt"/>
|
|
@@ -375,32 +378,33 @@
|
|
|
375
378
|
<line num="46" count="3" type="stmt"/>
|
|
376
379
|
<line num="47" count="2" type="stmt"/>
|
|
377
380
|
<line num="48" count="2" type="stmt"/>
|
|
378
|
-
<line num="50" count="2" type="stmt"/>
|
|
379
381
|
<line num="51" count="2" type="stmt"/>
|
|
380
|
-
<line num="52" count="
|
|
381
|
-
<line num="
|
|
382
|
-
<line num="
|
|
383
|
-
<line num="57" count="1" type="
|
|
384
|
-
<line num="
|
|
385
|
-
<line num="
|
|
386
|
-
<line num="
|
|
387
|
-
<line num="65" count="
|
|
388
|
-
<line num="
|
|
389
|
-
<line num="
|
|
390
|
-
<line num="
|
|
391
|
-
<line num="
|
|
392
|
-
<line num="
|
|
393
|
-
<line num="
|
|
394
|
-
<line num="
|
|
395
|
-
<line num="
|
|
396
|
-
<line num="
|
|
397
|
-
<line num="
|
|
398
|
-
<line num="
|
|
399
|
-
<line num="
|
|
400
|
-
<line num="
|
|
401
|
-
<line num="
|
|
402
|
-
<line num="
|
|
403
|
-
<line num="
|
|
382
|
+
<line num="52" count="2" type="stmt"/>
|
|
383
|
+
<line num="53" count="1" type="stmt"/>
|
|
384
|
+
<line num="55" count="0" type="stmt"/>
|
|
385
|
+
<line num="57" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
386
|
+
<line num="59" count="2" type="stmt"/>
|
|
387
|
+
<line num="60" count="2" type="stmt"/>
|
|
388
|
+
<line num="61" count="2" type="stmt"/>
|
|
389
|
+
<line num="65" count="3" type="stmt"/>
|
|
390
|
+
<line num="67" count="3" type="stmt"/>
|
|
391
|
+
<line num="68" count="0" type="stmt"/>
|
|
392
|
+
<line num="77" count="3" type="stmt"/>
|
|
393
|
+
<line num="78" count="0" type="stmt"/>
|
|
394
|
+
<line num="91" count="3" type="stmt"/>
|
|
395
|
+
<line num="92" count="1" type="stmt"/>
|
|
396
|
+
<line num="100" count="0" type="stmt"/>
|
|
397
|
+
<line num="106" count="1" type="stmt"/>
|
|
398
|
+
<line num="108" count="0" type="stmt"/>
|
|
399
|
+
<line num="116" count="0" type="stmt"/>
|
|
400
|
+
<line num="126" count="3" type="stmt"/>
|
|
401
|
+
<line num="127" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
402
|
+
<line num="128" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
403
|
+
<line num="129" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
404
|
+
<line num="130" count="2" type="stmt"/>
|
|
405
|
+
<line num="133" count="3" type="stmt"/>
|
|
406
|
+
<line num="140" count="2" type="stmt"/>
|
|
407
|
+
<line num="153" count="2" type="stmt"/>
|
|
404
408
|
</file>
|
|
405
409
|
<file name="HelpIcon.jsx" path="/Users/rodrigomunoz/projects/qpp-style/react/components/Header/HelpIcon.jsx">
|
|
406
410
|
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
@@ -453,10 +457,10 @@
|
|
|
453
457
|
<line num="50" count="2" type="stmt"/>
|
|
454
458
|
<line num="56" count="2" type="stmt"/>
|
|
455
459
|
<line num="60" count="2" type="stmt"/>
|
|
456
|
-
<line num="61" count="
|
|
457
|
-
<line num="62" count="
|
|
460
|
+
<line num="61" count="5" type="stmt"/>
|
|
461
|
+
<line num="62" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
458
462
|
<line num="63" count="0" type="stmt"/>
|
|
459
|
-
<line num="65" count="
|
|
463
|
+
<line num="65" count="5" type="stmt"/>
|
|
460
464
|
</file>
|
|
461
465
|
<file name="utag-helpers.js" path="/Users/rodrigomunoz/projects/qpp-style/react/components/Header/utag-helpers.js">
|
|
462
466
|
<metrics statements="2" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
@@ -809,30 +813,30 @@
|
|
|
809
813
|
<line num="149" count="0" type="stmt"/>
|
|
810
814
|
<line num="153" count="1" type="stmt"/>
|
|
811
815
|
<line num="154" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
812
|
-
<line num="155" count="3" type="stmt"/>
|
|
813
816
|
<line num="156" count="3" type="stmt"/>
|
|
814
|
-
<line num="
|
|
815
|
-
<line num="
|
|
816
|
-
<line num="
|
|
817
|
-
<line num="
|
|
818
|
-
<line num="
|
|
819
|
-
<line num="
|
|
820
|
-
<line num="
|
|
821
|
-
<line num="
|
|
822
|
-
<line num="
|
|
823
|
-
<line num="
|
|
824
|
-
<line num="
|
|
825
|
-
<line num="207" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
817
|
+
<line num="157" count="3" type="stmt"/>
|
|
818
|
+
<line num="161" count="1" type="stmt"/>
|
|
819
|
+
<line num="167" count="0" type="stmt"/>
|
|
820
|
+
<line num="168" count="0" type="stmt"/>
|
|
821
|
+
<line num="174" count="0" type="stmt"/>
|
|
822
|
+
<line num="180" count="0" type="stmt"/>
|
|
823
|
+
<line num="184" count="1" type="stmt"/>
|
|
824
|
+
<line num="190" count="1" type="stmt"/>
|
|
825
|
+
<line num="197" count="1" type="stmt"/>
|
|
826
|
+
<line num="204" count="1" type="stmt"/>
|
|
827
|
+
<line num="205" count="0" type="stmt"/>
|
|
826
828
|
<line num="208" count="1" type="stmt"/>
|
|
827
|
-
<line num="209" count="1" type="
|
|
828
|
-
<line num="
|
|
829
|
-
<line num="
|
|
830
|
-
<line num="
|
|
831
|
-
<line num="
|
|
829
|
+
<line num="209" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
830
|
+
<line num="210" count="1" type="stmt"/>
|
|
831
|
+
<line num="211" count="1" type="stmt"/>
|
|
832
|
+
<line num="215" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
833
|
+
<line num="216" count="0" type="stmt"/>
|
|
834
|
+
<line num="228" count="0" type="stmt"/>
|
|
832
835
|
<line num="229" count="0" type="stmt"/>
|
|
833
|
-
<line num="
|
|
834
|
-
<line num="
|
|
835
|
-
<line num="
|
|
836
|
+
<line num="231" count="0" type="stmt"/>
|
|
837
|
+
<line num="242" count="1" type="stmt"/>
|
|
838
|
+
<line num="252" count="1" type="stmt"/>
|
|
839
|
+
<line num="264" count="3" type="stmt"/>
|
|
836
840
|
</file>
|
|
837
841
|
<file name="index.js" path="/Users/rodrigomunoz/projects/qpp-style/react/components/SideNav/Chart/index.js">
|
|
838
842
|
<metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|