forked from carbon-design-system/carbon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dropdown): added inline dropdown, style changes to dropdown, fix…
…ed link in data table readme (carbon-design-system#746) * feat(dropdown): added inline dropdown * feat(dropdown): fixed js
- Loading branch information
1 parent
51fc5af
commit f250e30
Showing
5 changed files
with
95 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<ul data-dropdown data-dropdown-type="inline" data-value class="bx--dropdown bx--dropdown--inline" tabindex="0"> | ||
<li class="bx--dropdown-text"> | ||
<span class="bx--dropdown-text__inner">Inline Dropdown label</span> | ||
<svg class="bx--dropdown__arrow" width="10" height="5" viewBox="0 0 10 5" fill-rule="evenodd"> | ||
<path d="M10 0L5 5 0 0z"></path> | ||
</svg> | ||
</li> | ||
<li> | ||
<ul class="bx--dropdown-list"> | ||
<li data-option data-value="all" class="bx--dropdown-item"> | ||
<a class="bx--dropdown-link" href="javascript:void(0)">Option 1</a> | ||
</li> | ||
<li data-option data-value="cloudFoundry" class="bx--dropdown-item"> | ||
<a class="bx--dropdown-link" href="javascript:void(0)">Option 2</a> | ||
</li> | ||
<li data-option data-value="staging" class="bx--dropdown-item"> | ||
<a class="bx--dropdown-link" href="javascript:void(0)">Option 3</a> | ||
</li> | ||
<li data-option data-value="dea" class="bx--dropdown-item"> | ||
<a class="bx--dropdown-link" href="javascript:void(0)">Option 4</a> | ||
</li> | ||
<li data-option data-value="router" class="bx--dropdown-item"> | ||
<a class="bx--dropdown-link" href="javascript:void(0)">Option 5</a> | ||
</li> | ||
</ul> | ||
</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters