qpp-style 9.13.4 → 9.14.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/README.md CHANGED
@@ -3,3 +3,40 @@
3
3
  This directory contains react implementations of the components for QPP.
4
4
 
5
5
  A storybook with examples is published at [https://cmsgov.github.io/qpp-style](https://cmsgov.github.io/qpp-style)
6
+
7
+ ## Github Branch and Pull Request process
8
+ 1. Create branch off main and create a Pull Request into main for the feature.
9
+ >Example Branch Name: feature/QPPXX-XXXX_make_icon_better
10
+ 2. Once merged into main, create release branch from main.
11
+ 3. Name the new branch release/x.xx.x
12
+ 4. Run the version bump:
13
+
14
+ ```bash
15
+ cd qpp-style/react
16
+ npm version --no-git-tag-version patch
17
+ ```
18
+
19
+ Example Commit Message:
20
+ > x.xx.x release
21
+
22
+ 5. Create a pull request against main with the PR Title: x.xx.x release [Example PR](https://github.com/CMSgov/qpp-style/pull/1065)
23
+ 6. Enter the change in the description of the pull request i.e.:
24
+ > Added new svg for Icon Name
25
+
26
+ ## Generate an NPM token with Publish permissions
27
+ 1. If you do not already have an access token, sign in to npmjs.com and navigate to access tokens.
28
+ 2. Click generate new token.
29
+ 3. Select publish under type.
30
+ 4. Copy the npm token and set its value as the environment variable: NPM_TOKEN
31
+
32
+ ```bash
33
+ export NPM_TOKEN={npm_token}
34
+ ```
35
+
36
+ ## Publish the react qpp-style npm package (used by both react and angular)
37
+ ```bash
38
+ cd qpp-style/react
39
+ npm i
40
+ npm publish
41
+ ```
42
+ 7. Once published successfully, merge into main.
@@ -12,8 +12,8 @@ export const ExampleFooter = () => (
12
12
  <Footer
13
13
  isFullWidth={boolean('isFullWidth', false)}
14
14
  buildVersion={text('buildVersion', 'BUILD VERSION')}
15
- isNewFooter={boolean('isNewFooter', false)}
16
- showHcdResearch={boolean('showHcdResearch', false)}
15
+ isNewFooter={boolean('isNewFooter', true)}
16
+ showHcdResearch={boolean('showHcdResearch', true)}
17
17
  />
18
18
  );
19
19
 
@@ -1,6 +1,7 @@
1
1
  import React, { useState, useEffect } from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import axios from 'axios';
4
+ import OpenInNewIcon from '@material-ui/icons/OpenInNew';
4
5
 
5
6
  import InfoTip from '../Infotip/Infotip';
6
7
  import LegacyFooterUI from './LegacyFooterUI';
@@ -145,7 +146,7 @@ const FooterUI = (props) => {
145
146
  </div>
146
147
  <div className="footer-contact-cms">
147
148
  <p className="sub-title">Contact CMS</p>
148
- <p className="contact-title">By Phone:</p>
149
+ <p className="contact-title">Phone:</p>
149
150
  <p>Monday - Friday 8 a.m - 8 p.m ET</p>
150
151
  <p>
151
152
  1-866-288-8292 (TRS: 711)
@@ -154,7 +155,7 @@ const FooterUI = (props) => {
154
155
  </span>
155
156
  </p>
156
157
 
157
- <p className="contact-title">By Email:</p>
158
+ <p className="contact-title">Email:</p>
158
159
  <p>
159
160
  <a
160
161
  aria-label="QPP@cms.hhs.gov"
@@ -164,6 +165,20 @@ const FooterUI = (props) => {
164
165
  QPP@cms.hhs.gov
165
166
  </a>
166
167
  </p>
168
+
169
+ <p className="contact-title">QPP Service Center:</p>
170
+ <a
171
+ href="https://cmsqualitysupport.servicenowservices.com/ccsq_support_central"
172
+ aria-label="CCSQ Support Central"
173
+ className="email-link"
174
+ target="__blank"
175
+ rel="noopener noreferrer"
176
+ >
177
+ <strong>
178
+ Create or Track a QPP Service Center Ticket
179
+ </strong>
180
+ <OpenInNewIcon classes={{ root: 'ccsq-link-icon' }} />
181
+ </a>
167
182
  </div>
168
183
  <div className="footer-social-newsletter">
169
184
  <p className="sub-title">Stay Connected</p>