Improve Vue adapter usability, add router support, and fix animations
- Remove hover rotation from .btn-icon (SCSS)
- Fix iconNode to auto-prefix missing "ph-" and warn in dev
- Add CLAUDE.md as AI agent quick-reference for component usage
- Include src/vue/ and CLAUDE.md in published package files
- Add exports field wildcard for src/vue/* subpaths
- Reposition Vue adapter docs as primary contract (not thin wrapper)
- Add JSDoc @typedef to key Vue components (GnButton, GnInput, etc.)
- Add Vue demo page (demo/vue.html) linked from main navigation

Router support (optional, no hard dependency):
- Create useVueRouter composable with safe getCurrentInstance access
- Create GnRouterTabs component for route-driven tabs
- Add item.to support to GnNavList with auto-active and router.push
- Forward activeMatch through GnNavigationShell to GnNavList
- Register GnRouterTabs in plugin and index exports
- Update docs (README, CLAUDE, component-api, ai-usage-guide, component-map)

Fix missing close animations in Vue components:
- GnModal: a-hide transition before unmount (300ms)
- GnDrawer: a-hide transition before unmount (300ms)
- GnToastProvider: dismiss with a-hide animation, close for instant clear

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent d9d3121 commit dfc3c430094aa14404fa6c2c71310d5b45326d16
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored 1 day ago
Showing 38 changed files
View
CLAUDE.md 0 → 100644
View
README.md
View
demo/index.html
View
demo/vue.html 0 → 100644
View
dist/css/demo.css
View
dist/css/demo.css.map
View
dist/css/kit.css
View
dist/css/kit.css.map
View
dist/index.html
View
dist/vue.html 0 → 100644
View
dist/vue/index.js
View
dist/vue/index.js.map
View
docs/vue.md
View
docs/vue/ai-usage-guide.md
View
docs/vue/component-api.md
View
docs/vue/component-map.md
View
examples/vue/dist/assets/index-BkbaPghY.js 100644 → 0
View
examples/vue/dist/assets/index-DIEe8Uwi.css 0 → 100644
Not supported
View
examples/vue/dist/assets/index-D_6CfaD_.js 0 → 100644
View
examples/vue/dist/assets/index-IK3CtmDO.css 100644 → 0
Not supported
View
examples/vue/dist/index.html
View
package.json
View
src/scss/components/_buttons.scss
View
src/vue/components/GnButton.js
View
src/vue/components/GnDrawer.js
View
src/vue/components/GnInput.js
View
src/vue/components/GnModal.js
View
src/vue/components/GnNavList.js
View
src/vue/components/GnNavigationShell.js
View
src/vue/components/GnRouterTabs.js 0 → 100644
View
src/vue/components/GnSelect.js
View
src/vue/components/GnTable.js
View
src/vue/components/GnTabs.js
View
src/vue/components/GnToastProvider.js
View
src/vue/composables/useVueRouter.js 0 → 100644
View
src/vue/index.js
View
src/vue/plugin.js
View
src/vue/utils.js