-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui5-multicombobox): implement ACC support (#937)
- Loading branch information
1 parent
c0b51f5
commit 0a44a92
Showing
8 changed files
with
59 additions
and
6 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 |
---|---|---|
@@ -1,7 +1,21 @@ | ||
<div tabindex="{{_tabIndex}}" @click="{{_select}}" @keydown="{{_keydown}}" class="ui5-token--wrapper" dir="{{dir}}"> | ||
<div | ||
tabindex="{{_tabIndex}}" | ||
@click="{{_select}}" | ||
@keydown="{{_keydown}}" | ||
class="ui5-token--wrapper" | ||
dir="{{dir}}" | ||
role="option" | ||
aria-selected="{{selected}}" | ||
> | ||
<span class="ui5-token--text"><slot></slot></span> | ||
|
||
{{#unless readonly}} | ||
<ui5-icon @click="{{_delete}}" name="{{iconURI}}" accessible-name="{{tokenDeletableText}}" show-tooltip="true" class="ui5-token--icon"></ui5-icon> | ||
<ui5-icon | ||
@click="{{_delete}}" | ||
src="{{iconURI}}" | ||
accessible-name="{{tokenDeletableText}}" | ||
show-tooltip | ||
class="ui5-token--icon" | ||
></ui5-icon> | ||
{{/unless}} | ||
</div> |
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 |
---|---|---|
@@ -1,11 +1,23 @@ | ||
<div class="{{classes.wrapper}}"> | ||
<div class="{{classes.content}}" @ui5-delete={{_tokenDelete}}> | ||
<div | ||
class="{{classes.wrapper}}" | ||
> | ||
<span id="{{_id}}-hiddenText" class="ui5-hidden-text">{{tokenizerLabel}}</span> | ||
|
||
<div | ||
class="{{classes.content}}" | ||
@ui5-delete="{{_tokenDelete}}" | ||
role="listbox" | ||
aria-labelledby="{{_id}}-hiddenText" | ||
> | ||
{{#each tokens}} | ||
<slot name="{{this._individualSlot}}"></slot> | ||
{{/each}} | ||
</div> | ||
|
||
{{#if showNMore}} | ||
<span @click="{{_openOverflowPopover}}" class="ui5-tokenizer-more-text">{{_nMoreText}}</span> | ||
<span | ||
@click="{{_openOverflowPopover}}" | ||
class="ui5-tokenizer-more-text" | ||
>{{_nMoreText}}</span> | ||
{{/if}} | ||
</div> |
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
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
@import "./InvisibleTextStyles.css"; | ||
|
||
:host { | ||
display: inline-block; | ||
box-sizing: border-box; | ||
|