[VarDumper] [Component] Expand/Collapse button for all dumped data

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #12612
| License       | MIT
| Doc PR        |