Skip to content

Commit ee47ab6

Browse files
Merge pull request #33 from st3phhays/choco-theme-0.8.3
(#31)(#32) Nested lists and Tab component
2 parents a6a8170 + 0b9eb8d commit ee47ab6

File tree

8 files changed

+964
-607
lines changed

8 files changed

+964
-607
lines changed

assets/theme-toggle.min.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.

assets/zendesk.min.css

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

assets/zendesk.min.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.

assets/zendesk.min.purged.css

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

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "choco-theme",
33
"author": "Chocolatey Software",
4-
"version": "102.0.0",
4+
"version": "102.1.0",
55
"api_version": 2,
66
"default_locale": "en-us",
77
"settings": [

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"node-fetch": "^2.1.2"
88
},
99
"devDependencies": {
10-
"choco-theme": "0.8.1"
10+
"choco-theme": "0.8.3"
1111
},
1212
"scripts": {
1313
"build": "./bin/compile.rb & yarn choco-theme",

templates/home_page.hbs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,18 @@
8080
{{/if}}
8181
</section>
8282
</div>
83+
{{!-- The below container is used for components that should not be purged from choco-theme css. --}}
84+
<div class="d-none">
85+
<ul class="nav nav-tabs" id="myTab" role="tablist">
86+
<li class="nav-item" role="presentation">
87+
<button class="nav-link active" id="home-tab" data-bs-toggle="tab" data-bs-target="#home-tab-pane" type="button" role="tab" aria-controls="home-tab-pane" aria-selected="true">Home</button>
88+
</li>
89+
<li class="nav-item" role="presentation">
90+
<button class="nav-link" id="profile-tab" data-bs-toggle="tab" data-bs-target="#profile-tab-pane" type="button" role="tab" aria-controls="profile-tab-pane" aria-selected="false">Profile</button>
91+
</li>
92+
</ul>
93+
<div class="tab-content" id="myTabContent">
94+
<div class="tab-pane fade show active" id="home-tab-pane" role="tabpanel" aria-labelledby="home-tab" tabindex="0"></div>
95+
<div class="tab-pane fade" id="profile-tab-pane" role="tabpanel" aria-labelledby="profile-tab" tabindex="0"></div>
96+
</div>
97+
</div>

0 commit comments

Comments
 (0)