-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move tag-container outside select-button
- Loading branch information
Showing
12 changed files
with
105 additions
and
57 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@itwin/itwinui-react': patch | ||
--- | ||
|
||
`<Select multiple>` now renders the tag container outside the select-button. While this shouldn't make a noticeable difference in most cases, it might affect the use of `selectedItemRenderer`. |
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,29 @@ | ||
--- | ||
'@itwin/itwinui-css': major | ||
--- | ||
|
||
Multi-select with now requires the tag-container to be rendered outside the select-button, and also requires an additional `data-iui-multi` attribute on the select-button. | ||
|
||
<details> | ||
<summary>Diff</summary> | ||
|
||
```diff | ||
<div class='iui-input-with-icon'> | ||
<div | ||
role='combobox' | ||
tabindex='0' | ||
class='iui-select-button iui-field' | ||
+ data-iui-multi | ||
> | ||
- <span class='iui-content'> | ||
- <div class='iui-select-tag-container'>…</div> | ||
- </span> | ||
</div> | ||
<svg class='iui-end-icon'>…</svg> | ||
+ <span class='iui-content'> | ||
+ <div class='iui-select-tag-container'>…</div> | ||
+ </span> | ||
</div> | ||
``` | ||
|
||
</details> |
Binary file modified
BIN
-1.16 KB
(93%)
...op/results/bitmaps_reference/iTwinUI_select_Type_Multi_dark_0_demo-multi_0_.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.19 KB
(93%)
...results/bitmaps_reference/iTwinUI_select_Type_Multi_hc_dark_0_demo-multi_0_.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-749 Bytes
(95%)
...esults/bitmaps_reference/iTwinUI_select_Type_Multi_hc_light_0_demo-multi_0_.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-838 Bytes
(95%)
...p/results/bitmaps_reference/iTwinUI_select_Type_Multi_light_0_demo-multi_0_.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Binary file modified
BIN
+5 Bytes
(100%)
...p/cypress-visual-screenshots/baseline/Select.test.ts-Multi (Multi selected).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3 Bytes
(100%)
...-screenshots/baseline/Select.test.ts-Multi Custom Renderer (Multi selected).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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