Skip to content

Commit

Permalink
[TreeView] Replace the Tree Item anatomy images (#15066)
Browse files Browse the repository at this point in the history
  • Loading branch information
noraleonte authored Oct 23, 2024
1 parent bcbc3d1 commit 341220a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/treeview/
Each Tree Item component is shaped by a series of composable slots.
Hover over them in the demo below to see each slot.

<!-- TBD which option is the best: interactive or image -->
<!-- {{"demo": "CustomTreeItemDemo.js", "hideToolbar": true}} -->

{{"component": "modules/components/TreeItemAnatomy.js"}}
<span class="only-light-mode" style="border: 1px solid rgb(232, 234, 238); border-radius:12px">
<img src="/static/x/tree-view-illustrations/tree-item-light.png" alt="Tree Item anatomy" loading="lazy" >
</span>
<span class="only-dark-mode" style="border: 1px solid rgb(29, 33, 38); border-radius:12px">
<img src="/static/x/tree-view-illustrations/tree-item-dark.png" alt="Tree Item anatomy" loading="lazy" >
</span>

### Content

Expand Down
Binary file modified docs/public/static/x/tree-view-illustrations/tree-item-dark.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 docs/public/static/x/tree-view-illustrations/tree-item-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 0 additions & 22 deletions docs/src/modules/components/TreeItemAnatomy.js

This file was deleted.

0 comments on commit 341220a

Please sign in to comment.