Collapse code examples in demo pages
Each .code-example block is now collapsed by default: the header keeps
its title and copy button and gains a chevron toggle (built at runtime
by code-examples.js, works identically in vanilla and Vue demos since
they share the demo bundle). Expanded state is one next-frame class
flip with aria-expanded/aria-controls on the button.

Demo page height drops 50555px -> 32603px (~35% shorter); demo-sync
stays at 0 differences.
1 parent a85996e commit d59a642bfddf581c3cf42f009fd415134b083005
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored 1 day ago
Showing 8 changed files
View
dist/css/demo.css
View
dist/css/demo.css.map
View
dist/js/gnexus-ui-kit.esm.js
View
dist/js/gnexus-ui-kit.esm.js.map
View
dist/js/gnexus-ui-kit.js
View
dist/js/gnexus-ui-kit.js.map
View
src/js/code-examples.js
View
src/scss/_demo-layout.scss