qpp-style 9.24.2-alpha.0 → 9.24.2
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 +7 -4
- package/dist/browser.js +1 -1
- package/dist/browser.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/index.js.map +1 -1
- package/package.json +2 -19
- package/.storybook/.babelrc +0 -4
- package/.storybook/main.js +0 -86
- package/.storybook/preview-head.html +0 -9
- package/.storybook/preview.js +0 -5
- package/components/Breadcrumb/Breadcrumb.stories.js +0 -76
- package/components/Button/Button.stories.js +0 -121
- package/components/CalloutBox/CalloutBox.stories.js +0 -94
- package/components/Card/Card.stories.js +0 -163
- package/components/Dropdown/Dropdown.stories.js +0 -94
- package/components/Footer/Footer.stories.js +0 -13
- package/components/Header/Header.stories.js +0 -32
- package/components/Infotip/Infotip.stories.js +0 -50
- package/components/Link/Link.stories.js +0 -81
- package/components/Modal/Modal.stories.js +0 -159
- package/components/NotificationBanner/NotificationBanner.stories.js +0 -23
- package/components/Search/Search.stories.js +0 -21
- package/components/SideNav/SideNav.stories.js +0 -379
- package/components/Tabs/Tabs.stories.js +0 -120
- package/components/TextInput/TextInput.stories.js +0 -118
package/README.md
CHANGED
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
This directory contains react implementations of the components for QPP.
|
|
4
4
|
|
|
5
|
-
A storybook with examples is published at [https://cmsgov.github.io/qpp-style](https://cmsgov.github.io/qpp-style)
|
|
6
|
-
|
|
7
5
|
## Github Branch and Pull Request process
|
|
6
|
+
|
|
8
7
|
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
|
|
8
|
+
> Example Branch Name: feature/QPPXX-XXXX_make_icon_better
|
|
10
9
|
2. Once merged into main, create release branch from main.
|
|
11
10
|
3. Name the new branch release/x.xx.x
|
|
12
11
|
4. Run the version bump:
|
|
@@ -17,13 +16,15 @@ npm version --no-git-tag-version patch
|
|
|
17
16
|
```
|
|
18
17
|
|
|
19
18
|
Example Commit Message:
|
|
19
|
+
|
|
20
20
|
> x.xx.x release
|
|
21
21
|
|
|
22
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
23
|
6. Enter the change in the description of the pull request i.e.:
|
|
24
|
-
> Added new svg for Icon Name
|
|
24
|
+
> Added new svg for Icon Name
|
|
25
25
|
|
|
26
26
|
## Generate an NPM token with Publish permissions
|
|
27
|
+
|
|
27
28
|
1. If you do not already have an access token, sign in to npmjs.com and navigate to access tokens.
|
|
28
29
|
2. Click generate new token.
|
|
29
30
|
3. Select publish under type.
|
|
@@ -34,9 +35,11 @@ export NPM_TOKEN={npm_token}
|
|
|
34
35
|
```
|
|
35
36
|
|
|
36
37
|
## Publish the react qpp-style npm package (used by both react and angular)
|
|
38
|
+
|
|
37
39
|
```bash
|
|
38
40
|
cd qpp-style/react
|
|
39
41
|
npm i
|
|
40
42
|
npm publish
|
|
41
43
|
```
|
|
44
|
+
|
|
42
45
|
7. Once published successfully, merge into main.
|