Skip to content

Commit bf0d2b0

Browse files
authored
Merge branch 'master' into US206196--modal-web-component
2 parents cac40ef + 2ab64c0 commit bf0d2b0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+3052
-1521
lines changed

.github/PULL_REQUEST_TEMPLATE/pull_request_template.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/pull_request_template.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
## Title of this pull request
2+
3+
* Link to discovery documentation (should contain all the planning and requirements for this work):
4+
- See the `DISCOVERY.md` template at the root of the project
5+
* Link(s) to demo pages where this element can be viewed:
6+
7+
---
8+
9+
### What has changed and why
10+
Summarize files edited as part of this MR along with a brief description of what was changed/why.
11+
12+
*
13+
14+
### Testing instructions
15+
Be sure to include detailed instructions on how your update can be tested by another developer.
16+
17+
1.
18+
19+
#### Browser requirements
20+
Your component should work in all of the following environments:
21+
22+
- [ ] Latest 2 versions of Edge
23+
- [ ] Internet Explorer 11 (should be useable, not pixel perfect)
24+
- [ ] Latest 2 versions of Firefox (one on Mac OS, one of Windows OS)
25+
- [ ] Firefox 60.7.2 (or latest version for Red Hat Enterprise Linux distribution)
26+
- [ ] Latest 2 versions of Chrome (one on Mac OS, one of Windows OS)
27+
- [ ] Latest 2 versions of Safari
28+
- [ ] Galaxy S9 Firefox
29+
- [ ] iPhone X Safari
30+
- [ ] iPad Pro Safari
31+
- [ ] Pixel 3 Chrome
32+
33+
Your repository infrastructure updates should work for at least:
34+
- [ ] Node v8.x
35+
- [ ] NPM v7.x
36+
37+
### Ready-for-merge Checklist
38+
39+
- [ ] Expected files: all files in this pull request are related to one feature request or issue (no stragglers)?
40+
- [ ] Did automated tests pass?
41+
- [ ] Did browser testing pass?
42+
- [ ] Did you update or add any necessary documentation (README.md, WHY.md, etc.)?
43+
- [ ] Was this feature demo'd and the design review approved?
44+
- [ ] Did it get a LGTM *after the last commit*?
45+
- [ ] Did you update the CHANGELOG.md file with a summary of this update?
46+
47+
48+
**Be sure to share your updates with the [[email protected]](mailto:[email protected]) mailing list!**
49+

CHANGELOG-prerelease.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
## Prerelease 19 ( 2019-08-31 )
2+
Tag: [v1.0.0-prerelease.19](https://github.com/patternfly/patternfly-elements/releases/tag/v1.0.0-prerelease.19)
3+
4+
- [00389c2d](https://github.com/patternfly/patternfly-elements/commit/00389c2d581ed5f9b60dd744ab9db3d00f3bac13) adding type="button" to the button in the header ([#474](https://github.com/patternfly/patternfly-elements/pull/474))
5+
- [ddd6779e](https://github.com/patternfly/patternfly-elements/commit/ddd6779ed870ec1a22b5fbc9a4e279a6262c68f2) Pfe-tabs - add centered alignment ([#467](https://github.com/patternfly/patternfly-elements/pull/467))
6+
- [356079fc](https://github.com/patternfly/patternfly-elements/commit/356079fc1f33a625ae3ab99655022417bef8225e) Update CHANGELOG-prerelease.md ([#472](https://github.com/patternfly/patternfly-elements/pull/472))
7+
- [5d4752d8](https://github.com/patternfly/patternfly-elements/commit/5d4752d83f55edad87eb29a8f8736b85fab4d586) dev-pull-request-template add testing instructions to PR template ([#463](https://github.com/patternfly/patternfly-elements/pull/463))
8+
9+
## Prerelease 18 ( 2019-07-30 )
10+
Tag: [v1.0.0-prerelease.18](https://github.com/patternfly/patternfly-elements/releases/tag/v1.0.0-prerelease.18)
11+
12+
- [daf5ca08](https://github.com/patternfly/patternfly-elements/commit/daf5ca088b7e8e42c7df6944d05626327b4e38c7) pfe-cta bug fixes + open brand styles ([#353](https://github.com/patternfly/patternfly-elements/pull/353))
13+
- [efd115b1](https://github.com/patternfly/patternfly-elements/commit/efd115b1ed956b5f7ee5872eecd571d988ce335b) remove sourceMappingURL from src/pfelement.js ([#464](https://github.com/patternfly/patternfly-elements/pull/464))
14+
- [7d5e78ff](https://github.com/patternfly/patternfly-elements/commit/7d5e78ff11a7680a5888c18be5d0971e5706849c) adding a version getter to each component ([#453](https://github.com/patternfly/patternfly-elements/pull/453))
15+
- [88fb56a0](https://github.com/patternfly/patternfly-elements/commit/88fb56a07f1346af4a520b90f7af679ae16d6ec6) fixing the super call in the constructor of pfe-health-index ([#454](https://github.com/patternfly/patternfly-elements/pull/454))
16+
- [4f9c7997](https://github.com/patternfly/patternfly-elements/commit/4f9c79973be92eeabce3d53266f7b763c47a7336) fix pfe-avatar in ie11
17+
18+
## Prerelease 17 ( 2019-06-24 )
19+
Tag: [v1.0.0-prerelease.17](https://github.com/patternfly/patternfly-elements/releases/tag/v1.0.0-prerelease.17)
20+
21+
- [1b92821d](https://github.com/patternfly/patternfly-elements/commit/1b92821de18f8c0c49a5397a8dc29b19dcbcb482) adding a check in pfe-tab-panel to see if associated tab is selected when panel is initialized ([#432](https://github.com/patternfly/patternfly-elements/pull/432))
22+
- [ae21a66b](https://github.com/patternfly/patternfly-elements/commit/ae21a66b090df5ac6a7f4015e0d0d6f487b00340) Update README.md ([#426](https://github.com/patternfly/patternfly-elements/pull/426))
23+
- [3796210b](https://github.com/patternfly/patternfly-elements/commit/3796210b038497f010356d97f92637987218ab8a) Adding 2 demo scripts to the npm package ([#430](https://github.com/patternfly/patternfly-elements/pull/430))
24+
25+
## Prerelease 16 ( 2019-05-31 )
26+
Tag: [v1.0.0-prerelease.16](https://github.com/patternfly/patternfly-elements/releases/tag/v1.0.0-prerelease.16)
27+
28+
- [4a606dbd](https://github.com/patternfly/patternfly-elements/commit/4a606dbd4baf53478bf94780fee0dcea6624fcfc) moving this.button initialization to the constructor ([#419](https://github.com/patternfly/patternfly-elements/pull/419))
29+
- [f8f9004f](https://github.com/patternfly/patternfly-elements/commit/f8f9004f81331abdccbd8f9fb76739290c0b0ef1) pfe-markdown element ([#358](https://github.com/patternfly/patternfly-elements/pull/358))
30+
31+
## Prerelease 15 ( 2019-05-28 )
32+
Tag: [v1.0.0-prerelease.15](https://github.com/patternfly/patternfly-elements/releases/tag/v1.0.0-prerelease.15)
33+
34+
- [5d6ca9e](https://github.com/patternfly/patternfly-elements/commit/5d6ca9e5441db5e5416612643122c62b2cc84d5a) add meta viewport tag to pfe-content-set demo ([#415](https://github.com/patternfly/patternfly-elements/pull/415))
35+
- [ee6fde4](https://github.com/patternfly/patternfly-elements/commit/ee6fde41c4859023273226439b9c045cea46418c) adding a slotchange listener and adding tests ([#407](https://github.com/patternfly/patternfly-elements/pull/407))
36+
- [bf8790f](https://github.com/patternfly/patternfly-elements/commit/bf8790f62722c765c20e4913def79b062ecaa3d7) Card feature updates ([#312](https://github.com/patternfly/patternfly-elements/pull/312))
37+
- [5d1fa72](https://github.com/patternfly/patternfly-elements/commit/5d1fa72949f0ed83bbb0752bb42ebd7637b9efb3) reset surface-border color to #d2d2d2
38+
- [e8260e5](https://github.com/patternfly/patternfly-elements/commit/e8260e5740275a888d142dbb001a736ae311051f) PFE-accordion border fixes
39+
- [84dbf03](https://github.com/patternfly/patternfly-elements/commit/84dbf031027dcca589dc6bf8176956c2b6ab305c) Pfe docs status ([#408](https://github.com/patternfly/patternfly-elements/pull/408))
40+
- [827aa51](https://github.com/patternfly/patternfly-elements/commit/827aa5199f2891f8b92e4765c6451a49ae853a94) Update Storybook utils to support self-closing tag ([#411](https://github.com/patternfly/patternfly-elements/pull/411))
41+
- [393098c](https://github.com/patternfly/patternfly-elements/commit/393098c258fb3ad8788f4e22413511b490aef93b) Rename PR template directory & file in hopes that github will use them ([#410](https://github.com/patternfly/patternfly-elements/pull/410))
42+
43+
## Prerelease 14 ( 2019-04-30 )
44+
Tag: [v1.0.0-prerelease.14](https://github.com/patternfly/patternfly-elements/releases/tag/v1.0.0-prerelease.14)
45+
46+
- Version bumps from release release/v1.0.0-prerelease.13 ([#398](https://github.com/patternfly/patternfly-elements/pull/398))
47+
- Adding a mutationobserver to pfe-tabs ([#402](https://github.com/patternfly/patternfly-elements/pull/402))
48+
- Adding a mutationobserver to pfe-accordion ([#401](https://github.com/patternfly/patternfly-elements/pull/401))
49+
50+
## Prerelease 13 ( 2019-04-23 )
51+
Tag: [v1.0.0-prerelease.13](https://github.com/patternfly/patternfly-elements/releases/tag/v1.0.0-prerelease.13)
52+
53+
- Pt 2: Storybook updates ([#277](https://github.com/patternfly/patternfly-elements/pull/277))
54+
- Documenting release steps ([#379](https://github.com/patternfly/patternfly-elements/pull/379))
55+
- Add release automation script ([#399](https://github.com/patternfly/patternfly-elements/pull/399))
56+
57+
## Prerelease 12 ( 2019-04-22 )
58+
Tag: [v1.0.0-prerelease.12](https://github.com/patternfly/patternfly-elements/releases/tag/v1.0.0-prerelease.12)
59+
60+
- On branch checkout, look for leftover elements from other branches ([#394](https://github.com/patternfly/patternfly-elements/pull/394))
61+
- Fix the directory of the hugo-check.sh call ([#393](https://github.com/patternfly/patternfly-elements/pull/393))
62+
- Add some additional information to each package file ([#382](https://github.com/patternfly/patternfly-elements/pull/382))
63+
64+
## Prerelease 11 ( 2019-04-02 )
65+
Tag: [v1.0.0-prerelease.11](https://github.com/patternfly/patternfly-elements/releases/tag/v1.0.0-prerelease.11)
66+
67+
- Removing duplicate has_slot function in PFElement ([#322](https://github.com/patternfly/patternfly-elements/pull/322))
68+
- Change Spandx port to auto ([#354](https://github.com/patternfly/patternfly-elements/pull/354))
69+
- Add autoprefixer tooling to the repo ([#334](https://github.com/patternfly/patternfly-elements/pull/334))
70+
71+
## Prerelease 10 ( 2019-03-26 )
72+
Tag: [v1.0.0-prerelease.10](https://github.com/patternfly/patternfly-elements/releases/tag/v1.0.0-prerelease.10)
73+
74+
- Update accordion styles ([#359](https://github.com/patternfly/patternfly-elements/pull/359))
75+
- Band layout tweaks ([#336](https://github.com/patternfly/patternfly-elements/pull/336))
76+
- Resolve grid gap in band layout ([#361](https://github.com/patternfly/patternfly-elements/pull/361))
77+
- Documentation updates ([#368](https://github.com/patternfly/patternfly-elements/pull/368))
78+
- Prefix pfe-avatar attributes ([#371](https://github.com/patternfly/patternfly-elements/pull/371))
79+
- Remove CP-theme ([#362](https://github.com/patternfly/patternfly-elements/pull/362))

DISCOVERY.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Project name
2+
_NOTE:_ Please convert this file to WHY.md and save it in the folder for the elements it references (i.e., `elements/pfe-cta/WHY.md`).
3+
4+
| | |
5+
| --- | --- |
6+
| **Brief description of the project** | |
7+
| **Design wireframes / mock-ups** | |
8+
| **Relavant project management links** | |
9+
10+
## MVP Requirements
11+
This project's primary goal is to...
12+
13+
## Questions to answer
14+
- What **existing** components do we need to **update** to accomplish this project's main goal?
15+
- What **new** components do we need to accomplish this project's main goal?
16+
1. Content components:
17+
2. Container components:
18+
3. Combo components:
19+
20+
## Notes about styles
21+
* [Check w/ Design System Collaborative for Designs](https://github.com/patternfly/patternfly-unified-design-kit/projects/1)
22+
* [Check PF4](https://docs.google.com/spreadsheets/d/1P9iYwguDy2EnIS-Iw5ynX1Dn6FdKOR8GeZNaXGI_LNA/edit#gid=289588122)
23+
24+
The styles for this component should...
25+
26+
## Accessibility requirements
27+
As a screen-reader user, this component should...
28+
29+
As a sighted keyboard user, this component should...
30+
31+
## Semantics / SEO requirements
32+
From a semantic HTML mindset, this component should...
33+
34+
As a search-engine, this component should...
35+
36+
## Features to include if there is time
37+
If there is time, these features are nice-to-haves.
38+
39+
## Out-of-scope // @TODO later
40+
These are some things we would like to add later to enhance this component.

docs/layouts/_default/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<!-- Convert to a partial -->
99
<nav id="main-toc">
1010
<section class="inner-toc">
11-
<span class="label big" style="margin-bottom: 1.5rem;">Version 1.0.0-prerelease.8</span>
11+
<span class="label big" style="margin-bottom: 1.5rem;">Version 1.0.0-prerelease.19</span>
1212

1313
<h3><a href="/getting-started">Getting Started</a></h3>
1414
<ul>

docs/layouts/_default/single.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<!-- Convert to a partial -->
99
<nav id="main-toc">
1010
<section class="inner-toc">
11-
<span class="label big" style="margin-bottom: 1.5rem;">Version 1.0.0-prerelease.8</span>
11+
<span class="label big" style="margin-bottom: 1.5rem;">Version 1.0.0-prerelease.19</span>
1212

1313
<h3><a href="/getting-started">Getting Started</a></h3>
1414
<ul>

docs/layouts/partials/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<!-- Convert to a partial -->
4141
<nav id="mobile-toc" class="hide">
4242
<section class="inner-toc">
43-
<span class="label big" style="margin-bottom: 1.5rem;">Version 1.0.0-prerelease.8</span>
43+
<span class="label big" style="margin-bottom: 1.5rem;">Version 1.0.0-prerelease.19</span>
4444

4545
<h3><a href="/getting-started">Getting Started</a></h3>
4646
<ul>

elements/pfe-accordion/demo/index.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,20 @@ <h3>Where do the main characters work as adults?</h3>
218218
</pfe-accordion>
219219
</section>
220220

221+
<section>
222+
<h2>&lt;pfe-accordion&gt; form test for ShadyCSS</h2>
223+
<form id="form">
224+
<pfe-accordion>
225+
<pfe-accordion-header>
226+
<h2>Header</h2>
227+
</pfe-accordion-header>
228+
<pfe-accordion-panel>
229+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
230+
</pfe-accordion-panel>
231+
</pfe-accordion>
232+
</form>
233+
</section>
234+
221235
<script>
222236
var btn = document.querySelector("#addTabAndPanelBtn");
223237
var pfeAccordion = document.querySelector("pfe-accordion");
@@ -235,6 +249,16 @@ <h3>Where do the main characters work as adults?</h3>
235249
fragment.appendChild(panel);
236250
pfeAccordion.appendChild(fragment);
237251
});
252+
253+
/*
254+
* because of the fix in commit c209e15, this form should
255+
* never submit
256+
*/
257+
var form = document.querySelector("#form");
258+
form.addEventListener("submit", function (event) {
259+
event.preventDefault();
260+
alert("form submitted");
261+
});
238262
</script>
239263
</body>
240264
</html>

elements/pfe-accordion/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"className": "PfeAccordion",
55
"elementName": "pfe-accordion"
66
},
7-
"version": "1.0.0-prerelease.17",
7+
"version": "1.0.0-prerelease.19",
88
"publishConfig": {
99
"access": "public"
1010
},
@@ -39,8 +39,8 @@
3939
],
4040
"license": "MIT",
4141
"dependencies": {
42-
"@patternfly/pfe-sass": "^1.0.0-prerelease.17",
43-
"@patternfly/pfelement": "^1.0.0-prerelease.17"
42+
"@patternfly/pfe-sass": "^1.0.0-prerelease.19",
43+
"@patternfly/pfelement": "^1.0.0-prerelease.19"
4444
},
4545
"generator-pfelement-version": "0.5.5",
4646
"gitHead": "dfa74e0495c556ebdd1edb61c6d406621d1b6421"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<button aria-expanded="false" role="tab"></button>
1+
<button type="button" aria-expanded="false" role="tab"></button>

0 commit comments

Comments
 (0)