Skip to content

Fix #449: implement TagFx, AvatarFx, and TooltipFx components#451

Merged
roblevintennis merged 7 commits intomasterfrom
issue-449/implement-tagfx-avatarfx-tooltipfx
Mar 21, 2026
Merged

Fix #449: implement TagFx, AvatarFx, and TooltipFx components#451
roblevintennis merged 7 commits intomasterfrom
issue-449/implement-tagfx-avatarfx-tooltipfx

Conversation

@roblevintennis
Copy link
Copy Markdown
Contributor

Summary

  • Adds TagFx (ag-tag-fx), AvatarFx (ag-avatar-fx), and TooltipFx (ag-tooltip-fx) components following the existing BadgeFx/ButtonFx/IconButtonFx pattern
  • Each component includes: _ComponentFx.ts + ComponentFx.ts (Lit), ReactComponentFx.tsx, VueComponentFx.vue, vue/index.ts, and a spec file (93 tests, all passing)
  • Adds 9 new package.json exports (./tag-fx, ./tag-fx/react, ./tag-fx/vue, etc.)
  • Adds TagFx/AvatarFx/TooltipFx to FX_COMPONENTS set in CLI stories.ts
  • Adds docs pages, example files (Vue/Lit/React), and sidebar entries to the VitePress site
  • Bumps agnosticui-core to 2.0.0-alpha.25 and reinstalls in site
  • Fixes static styles: CSSResultGroup annotation on AgTag, Avatar, and Tooltip canonical classes (required for Fx override to typecheck)
  • Marks all Fx components done in v2/docs/FX_PLAN.md

Test plan

  • npm run lint && npm run typecheck && npm run test && npm run build && npm pack in v2/lib passes clean
  • npm run docs:dev in v2/site shows AvatarFx (Lab), TagFx (Lab), TooltipFx (Lab) in sidebar
  • Live Vue and Lit previews render correctly on each docs page
  • StackBlitz and CodePen integration tracked in follow-up issue

Add three new Fx animation components following the BadgeFx/ButtonFx pattern:
- TagFx (ag-tag-fx): extends AgTag, targets .tag-wrapper
- AvatarFx (ag-avatar-fx): extends Avatar, targets .avatar
- TooltipFx (ag-tooltip-fx): extends Tooltip, targets .tooltip

Each component includes core (_Fx.ts + Fx.ts), React wrapper, Vue wrapper,
vue/index.ts, and spec file (93 tests total, all passing).

Also adds 9 package.json exports, updates FX_COMPONENTS in stories.ts,
and marks all Fx components done in FX_PLAN.md.
…ries

Add docs pages, example files (Vue/Lit/React), and sidebar navigation
for the three new Fx components introduced in issue #449.

Requires rebuilding and reinstalling agnosticui-core locally before
the live previews will work (npm run build && npm pack in v2/lib,
then npm run reinstall:lib in v2/site).
…Fx override

Required for TagFx, AvatarFx, TooltipFx static styles override to typecheck.
Also fix TooltipFx firstUpdated/updated signatures to match Tooltip base class.
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 21, 2026

Deploy Preview for agnosticui-demo-react ready!

Name Link
🔨 Latest commit 78adb84
🔍 Latest deploy log https://app.netlify.com/projects/agnosticui-demo-react/deploys/69bf14e53e9c8a0008321fc4
😎 Deploy Preview https://deploy-preview-451--agnosticui-demo-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 21, 2026

Deploy Preview for agnosticui-demo-vue ready!

Name Link
🔨 Latest commit 78adb84
🔍 Latest deploy log https://app.netlify.com/projects/agnosticui-demo-vue/deploys/69bf14e5d23b46000869cede
😎 Deploy Preview https://deploy-preview-451--agnosticui-demo-vue.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 21, 2026

Deploy Preview for agnosticui-demo-lit ready!

Name Link
🔨 Latest commit 78adb84
🔍 Latest deploy log https://app.netlify.com/projects/agnosticui-demo-lit/deploys/69bf14e5b982210008ea7932
😎 Deploy Preview https://deploy-preview-451--agnosticui-demo-lit.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

…ui/dom type resolution

ts-morph uses v2/lib/tsconfig.json and needs @floating-ui/dom in v2/lib/node_modules
to resolve the Placement union type. Without it, inherited placement props in
TooltipFxProps are dropped silently, causing check-codegen drift.
@roblevintennis roblevintennis merged commit 89d38d9 into master Mar 21, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant