Extract useOverlayTransition composable
Encode the CLAUDE.md overlay transition contract (hidden state class on
first render, visible class on nextTick + rAF, unmount after the closing
transition) as a composable; GnModal and GnDrawer now share it.
Composable is unit-tested; demo sync stays at 0 differences.
1 parent db622ed commit 3545fb2e439e1bb8682d49351f075214a4813d07
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored 1 day ago
Showing 9 changed files
View
dist/vue/index.js
View
dist/vue/index.js.map
View
examples/vue/dist/assets/index-DSZYm3eF.js 100644 → 0
View
examples/vue/dist/assets/index-M2SmzNQ3.js 0 → 100644
View
examples/vue/dist/index.html
View
src/vue/components/GnDrawer.js
View
src/vue/components/GnModal.js
View
src/vue/composables/use-overlay-transition.js 0 → 100644
View
tests/unit/use-overlay-transition.spec.js 0 → 100644