forked from Budibase/budibase
-
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.
reworks buttons to use more ergonomic interface
- Loading branch information
1 parent
d0a655f
commit d304728
Showing
9 changed files
with
89 additions
and
30 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
File renamed without changes.
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
Empty file.
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,38 @@ | ||
<script> | ||
import "@spectrum-css/menu/dist/index-vars.css" | ||
</script> | ||
|
||
<ul class="spectrum-Menu" role="menu"> | ||
<li role="presentation"> | ||
<span class="spectrum-Menu-sectionHeading" id="menu-heading-category-1" aria-hidden="true">Section Heading</span> | ||
<ul class="spectrum-Menu" role="group" aria-labelledby="menu-heading-category-1"> | ||
<li class="spectrum-Menu-item" role="menuitem" tabindex="0"> | ||
<span class="spectrum-Menu-itemLabel">Action 1</span> | ||
</li> | ||
<li class="spectrum-Menu-item" role="menuitem" tabindex="0"> | ||
<span class="spectrum-Menu-itemLabel">Action 2</span> | ||
</li> | ||
<li class="spectrum-Menu-item" role="menuitem" tabindex="0"> | ||
<span class="spectrum-Menu-itemLabel">Action 3</span> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="spectrum-Menu-divider" role="separator"></li> | ||
<li role="presentation"> | ||
<span class="spectrum-Menu-sectionHeading" id="menu-heading-category-2" aria-hidden="true">Section Heading</span> | ||
<ul class="spectrum-Menu" role="group" aria-labelledby="menu-heading-category-1" aria-disabled="true"> | ||
<li class="spectrum-Menu-item" role="menuitem" tabindex="0"> | ||
<svg class="spectrum-Icon spectrum-Icon--sizeM spectrum-Menu-itemIcon" focusable="false" aria-hidden="true" aria-label="SaveFloppy"> | ||
<use xlink:href="#spectrum-icon-18-SaveFloppy"></use> | ||
</svg> | ||
<span class="spectrum-Menu-itemLabel">Save</span> | ||
</li> | ||
<li class="spectrum-Menu-item is-disabled" role="menuitem" aria-disabled="true"> | ||
<svg class="spectrum-Icon spectrum-Icon--sizeM spectrum-Menu-itemIcon" focusable="false" aria-hidden="true" aria-label="DataDownload"> | ||
<use xlink:href="#spectrum-icon-18-DataDownload"></use> | ||
</svg> | ||
<span class="spectrum-Menu-itemLabel">Download</span> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<span class="spectrum-Menu-sectionHeading"><slot /></span> | ||
<li role="presentation"> | ||
<span class="spectrum-Menu-sectionHeading" id="menu-heading-category-1" aria-hidden="true">Section Heading</span> | ||
<ul class="spectrum-Menu" role="group" aria-labelledby="menu-heading-category-1"> | ||
<li class="spectrum-Menu-item" role="menuitem" tabindex="0"> | ||
<span class="spectrum-Menu-itemLabel">Action 1</span> | ||
</li> | ||
<li class="spectrum-Menu-item" role="menuitem" tabindex="0"> | ||
<span class="spectrum-Menu-itemLabel">Action 2</span> | ||
</li> | ||
<li class="spectrum-Menu-item" role="menuitem" tabindex="0"> | ||
<span class="spectrum-Menu-itemLabel">Action 3</span> | ||
</li> | ||
</ul> | ||
</li> |
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