-
Notifications
You must be signed in to change notification settings - Fork 538
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TreeView
: Align tree item toggle and visual icons to top of item (#…
…4572) * Pin tree item toggle icon to top * Create rich-pans-press.md * Fix horizontal centering * center instead of sace-around * Add story * Top align visual icons in multiline treeview items * Update patch message * Fix comment * Revert return * test(vrt): update snapshots * Remove unneccesary align * test(vrt): update snapshots --------- Co-authored-by: Stephanie Hong <41085564+JelloBagel@users.noreply.github.com> Co-authored-by: JelloBagel <JelloBagel@users.noreply.github.com>
- Loading branch information
1 parent
c5f7940
commit ac25029
Showing
48 changed files
with
111 additions
and
5 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 @@ | ||
--- | ||
"@primer/react": patch | ||
--- | ||
|
||
TreeView: Always align expand/collapse chevron icon, leading visual, and trailing visual to top of item |
Binary file modified
BIN
+60 Bytes
(100%)
...omponents/TreeView.test.ts-snapshots/TreeView-Default-dark-colorblind-linux.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
+92 Bytes
(100%)
...ts/components/TreeView.test.ts-snapshots/TreeView-Default-dark-dimmed-linux.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
+55 Bytes
(100%)
...onents/TreeView.test.ts-snapshots/TreeView-Default-dark-high-contrast-linux.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
+65 Bytes
(100%)
...snapshots/components/TreeView.test.ts-snapshots/TreeView-Default-dark-linux.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
+60 Bytes
(100%)
...omponents/TreeView.test.ts-snapshots/TreeView-Default-dark-tritanopia-linux.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
+104 Bytes
(100%)
...mponents/TreeView.test.ts-snapshots/TreeView-Default-light-colorblind-linux.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
+76 Bytes
(100%)
...nents/TreeView.test.ts-snapshots/TreeView-Default-light-high-contrast-linux.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
+108 Bytes
(100%)
...napshots/components/TreeView.test.ts-snapshots/TreeView-Default-light-linux.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
+104 Bytes
(100%)
...mponents/TreeView.test.ts-snapshots/TreeView-Default-light-tritanopia-linux.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
+8 Bytes
(100%)
...TreeView.test.ts-snapshots/TreeView-Empty-Directories-dark-colorblind-linux.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
+26 Bytes
(100%)
...nts/TreeView.test.ts-snapshots/TreeView-Empty-Directories-dark-dimmed-linux.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
-10 Bytes
(100%)
...eView.test.ts-snapshots/TreeView-Empty-Directories-dark-high-contrast-linux.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%)
...components/TreeView.test.ts-snapshots/TreeView-Empty-Directories-dark-linux.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
+8 Bytes
(100%)
...TreeView.test.ts-snapshots/TreeView-Empty-Directories-dark-tritanopia-linux.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
+44 Bytes
(100%)
...reeView.test.ts-snapshots/TreeView-Empty-Directories-light-colorblind-linux.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
+69 Bytes
(100%)
...View.test.ts-snapshots/TreeView-Empty-Directories-light-high-contrast-linux.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
+44 Bytes
(100%)
...omponents/TreeView.test.ts-snapshots/TreeView-Empty-Directories-light-linux.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
+44 Bytes
(100%)
...reeView.test.ts-snapshots/TreeView-Empty-Directories-light-tritanopia-linux.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
+122 Bytes
(100%)
...nts/TreeView.test.ts-snapshots/TreeView-Files-Changed-dark-colorblind-linux.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
+148 Bytes
(100%)
...ponents/TreeView.test.ts-snapshots/TreeView-Files-Changed-dark-dimmed-linux.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
+120 Bytes
(100%)
.../TreeView.test.ts-snapshots/TreeView-Files-Changed-dark-high-contrast-linux.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
+121 Bytes
(100%)
...ots/components/TreeView.test.ts-snapshots/TreeView-Files-Changed-dark-linux.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
+115 Bytes
(100%)
...nts/TreeView.test.ts-snapshots/TreeView-Files-Changed-dark-tritanopia-linux.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
+219 Bytes
(100%)
...ts/TreeView.test.ts-snapshots/TreeView-Files-Changed-light-colorblind-linux.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
+196 Bytes
(100%)
...TreeView.test.ts-snapshots/TreeView-Files-Changed-light-high-contrast-linux.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
+241 Bytes
(100%)
...ts/components/TreeView.test.ts-snapshots/TreeView-Files-Changed-light-linux.png
Oops, something went wrong.
Binary file modified
BIN
+235 Bytes
(100%)
...ts/TreeView.test.ts-snapshots/TreeView-Files-Changed-light-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
-14 Bytes
(100%)
.../components/TreeView.test.ts-snapshots/TreeView-Files-dark-colorblind-linux.png
Oops, something went wrong.
Binary file modified
BIN
+28 Bytes
(100%)
...hots/components/TreeView.test.ts-snapshots/TreeView-Files-dark-dimmed-linux.png
Oops, something went wrong.
Binary file modified
BIN
+20 Bytes
(100%)
...mponents/TreeView.test.ts-snapshots/TreeView-Files-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
-13 Bytes
(100%)
...t/snapshots/components/TreeView.test.ts-snapshots/TreeView-Files-dark-linux.png
Oops, something went wrong.
Binary file modified
BIN
-14 Bytes
(100%)
.../components/TreeView.test.ts-snapshots/TreeView-Files-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
+111 Bytes
(100%)
...components/TreeView.test.ts-snapshots/TreeView-Files-light-colorblind-linux.png
Oops, something went wrong.
Binary file modified
BIN
-47 Bytes
(100%)
...ponents/TreeView.test.ts-snapshots/TreeView-Files-light-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
+111 Bytes
(100%)
.../snapshots/components/TreeView.test.ts-snapshots/TreeView-Files-light-linux.png
Oops, something went wrong.
Binary file modified
BIN
+111 Bytes
(100%)
...components/TreeView.test.ts-snapshots/TreeView-Files-light-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
+161 Bytes
(100%)
...ts/TreeView.test.ts-snapshots/TreeView-Leading-Action-dark-colorblind-linux.png
Oops, something went wrong.
Binary file modified
BIN
+77 Bytes
(100%)
...onents/TreeView.test.ts-snapshots/TreeView-Leading-Action-dark-dimmed-linux.png
Oops, something went wrong.
Binary file modified
BIN
+146 Bytes
(100%)
...TreeView.test.ts-snapshots/TreeView-Leading-Action-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
+168 Bytes
(100%)
...ts/components/TreeView.test.ts-snapshots/TreeView-Leading-Action-dark-linux.png
Oops, something went wrong.
Binary file modified
BIN
+167 Bytes
(100%)
...ts/TreeView.test.ts-snapshots/TreeView-Leading-Action-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
+154 Bytes
(100%)
...s/TreeView.test.ts-snapshots/TreeView-Leading-Action-light-colorblind-linux.png
Oops, something went wrong.
Binary file modified
BIN
+135 Bytes
(100%)
...reeView.test.ts-snapshots/TreeView-Leading-Action-light-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
+143 Bytes
(100%)
...s/components/TreeView.test.ts-snapshots/TreeView-Leading-Action-light-linux.png
Oops, something went wrong.
Binary file modified
BIN
+147 Bytes
(100%)
...s/TreeView.test.ts-snapshots/TreeView-Leading-Action-light-tritanopia-linux.png
Oops, something went wrong.
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