Skip to content

Commit 11039f6

Browse files
starryeyez024kylebuch8
authored andcommitted
US188751 Hide-show component (#259)
* US188751 Hide Show component * set variants for the rh-tabs * US188751 added hide-show component * Updates based on our meeting with cp * Template attempt * Create a fork testing the hide-show-set approach * US188751 set tab groups * US188751 added hide-show header and panel. * US188751 fixed tab slot name * Testing updating template * Updated template logic * Clean up template examples * US188751 revert changes to tabs * US188751 pushed variant and orientation attributes to the tabs * US188751 cleaned up tab variants, fixed tab and hide-show storybook items * US188751 mapped accordion header colors to tab variants in hide-show, added knobs to accordion storybook * US188751 hide-show * fixed hide-show tab click bug * cleaned up tab sass * US188751 fixed variant logic * US188751 added hide-show variants to demo page * US188751 removed space-between for primary and secondary tabs, added small margins to the right of each * US188751 added html to hide-show test * Update path for dependencies to patternfly * US188751 added pfe-tabs and pfe-accordion to pfe-hide-show dependency. * US188751 added tab and accordion dependencies to the hide-show component package.json * Move pfe-sass into dev dependencies * Fix hide-show error if this.parentNode does not exist and run build on repo * Remove new nested package-lock files from this PR * adding a disconnectedCallback to disconnect the mutation observer * moving the story file to the src directory * US188751-hide-show-component Update readme and text on demo page * US188751-hide-show-component add vertical tab examples * US188751 added chai js assert tests * US188751 adding updated test index * US188751 recompiled pfelement and pfe-tabs to remove merge conflicts * US188751 fixed hide-show test syntax errors * Add a browser testing page * Update pfe-hide-show browser testing page * US188751 fixed hide-show automated tests * fixes for IE11 * adding attributes back to observer * US188751 removed pfe-pagination from test index * Update index listing and the wrapper markup * Fix rendering of hide-show in modern browsers * US188751 renamed component content-set, removed copyright from js file * US188751 updating test index file * US188751 fixed instances of hide-show component name * US188751 removed hyphen from content set name * US188751 changed pfe-content-set-set to pfe-content-set-group
1 parent 3f738c9 commit 11039f6

Some content is hidden

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

64 files changed

+9390
-6048
lines changed

doc/index.html

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,25 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width" />
6-
<title>PFElements</title>
6+
<title>PatternFly Elements</title>
7+
8+
<link href="../elements/pfelement/pfelement.min.css" rel="stylesheet">
79
</head>
810
<body>
9-
10-
<h1>PFElements demos</h1>
11-
12-
<ul>
13-
<li><a href="../elements/pfe-accordion/demo">pfe-accordion</a></li>
14-
<li><a href="../elements/pfe-card/demo">pfe-card</a></li>
15-
<li><a href="../elements/pfe-cta/demo">pfe-cta</a></li>
16-
<li><a href="../elements/pfe-datetime/demo">pfe-datetime</a></li>
17-
<li><a href="../elements/pfe-health-index/demo">pfe-health-index</a></li>
18-
<li><a href="../elements/pfe-icon-panel/demo">pfe-icon-panel</a></li>
19-
<li><a href="../elements/pfe-icon/demo">pfe-icon</a></li>
20-
<li><a href="../elements/pfe-number/demo">pfe-number</a></li>
21-
<li><a href="../elements/pfe-tabs/demo">pfe-tabs</a></li>
22-
<li><a href="../elements/pfe-autocomplete/demo">pfe-autocomplete</a></li>
23-
</ul>
24-
11+
<h1>Demos</h1>
12+
<ul id="demos">
13+
<li><a href="../elements/pfe-accordion/demo">pfe-accordion</a></li>
14+
<li><a href="../elements/pfe-autocomplete/demo">pfe-autocomplete</a></li>
15+
<li><a href="../elements/pfe-card/demo">pfe-card</a></li>
16+
<li><a href="../elements/pfe-content-set/demo">pfe-content-set</a></li>
17+
<li><a href="../elements/pfe-cta/demo">pfe-cta</a></li>
18+
<li><a href="../elements/pfe-datetime/demo">pfe-datetime</a></li>
19+
<li><a href="../elements/pfe-health-index/demo">pfe-health-index</a></li>
20+
<li><a href="../elements/pfe-icon/demo">pfe-icon</a></li>
21+
<li><a href="../elements/pfe-icon-panel/demo">pfe-icon-panel</a></li>
22+
<li><a href="../elements/pfe-layouts/demo">pfe-layouts</a></li>
23+
<li><a href="../elements/pfe-number/demo">pfe-number</a></li>
24+
<li><a href="../elements/pfe-tabs/demo">pfe-tabs</a></li>
25+
</ul>
2526
</body>
2627
</html>

doc/wrapper.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width" />
6-
<title>RH Elements</title>
6+
<title>PatternFly Elements</title>
77

8-
<link href="../elements/rhelement/rhelement.min.css" rel="stylesheet">
8+
<link href="../elements/pfelement/pfelement.min.css" rel="stylesheet">
99
</head>
1010
<body>
1111
<h1>Demos</h1>

elements/pfe-accordion/package-lock.json

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

elements/pfe-accordion/pfe-accordion.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

elements/pfe-accordion/pfe-accordion.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

elements/pfe-accordion/pfe-accordion.umd.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

elements/pfe-autocomplete/pfe-autocomplete.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

elements/pfe-autocomplete/pfe-autocomplete.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

elements/pfe-autocomplete/pfe-autocomplete.umd.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

elements/pfe-autocomplete/pfe-autocomplete.umd.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)