|
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> |
|---|
|
|
| CLAUDE.md 0 → 100644 |
|---|
| README.md |
|---|
| demo/index.html |
|---|
| demo/vue.html 0 → 100644 |
|---|
| dist/css/demo.css |
|---|
| dist/css/demo.css.map |
|---|
| dist/css/kit.css |
|---|
| dist/css/kit.css.map |
|---|
| dist/index.html |
|---|
| dist/vue.html 0 → 100644 |
|---|
| dist/vue/index.js |
|---|
| dist/vue/index.js.map |
|---|
| docs/vue.md |
|---|
| docs/vue/ai-usage-guide.md |
|---|
| docs/vue/component-api.md |
|---|
| docs/vue/component-map.md |
|---|
| examples/vue/dist/assets/index-BkbaPghY.js 100644 → 0 |
|---|
| examples/vue/dist/assets/index-DIEe8Uwi.css 0 → 100644 |
|---|
|
Not supported
|
| examples/vue/dist/assets/index-D_6CfaD_.js 0 → 100644 |
|---|
| examples/vue/dist/assets/index-IK3CtmDO.css 100644 → 0 |
|---|
|
Not supported
|
| examples/vue/dist/index.html |
|---|
| package.json |
|---|
| src/scss/components/_buttons.scss |
|---|
| src/vue/components/GnButton.js |
|---|
| src/vue/components/GnDrawer.js |
|---|
| src/vue/components/GnInput.js |
|---|
| src/vue/components/GnModal.js |
|---|
| src/vue/components/GnNavList.js |
|---|
| src/vue/components/GnNavigationShell.js |
|---|
| src/vue/components/GnRouterTabs.js 0 → 100644 |
|---|
| src/vue/components/GnSelect.js |
|---|
| src/vue/components/GnTable.js |
|---|
| src/vue/components/GnTabs.js |
|---|
| src/vue/components/GnToastProvider.js |
|---|
| src/vue/composables/useVueRouter.js 0 → 100644 |
|---|
| src/vue/index.js |
|---|
| src/vue/plugin.js |
|---|
| src/vue/utils.js |
|---|