Skip to content

Conversation

@pyramation
Copy link
Collaborator

No description provided.

pyramation added 30 commits July 4, 2025 17:21
- Remove duplicated SVGSelection class from pstricks package, use only @latex2js/utils version
- Move working arrow function from NextJS app to packages/pstricks/src/lib/psgraph.ts
- Move working psgraph const from NextJS app to packages/pstricks/src/lib/psgraph.ts
- Update NextJS app to import arrow and psgraph from @latex2js/pstricks package
- Export arrow function from pstricks package index
- Fix TypeScript error in NextJS app page.tsx
- All packages build successfully and NextJS app functions correctly

Co-Authored-By: Dan Lynch <[email protected]>
- Moved all components from examples/nextjs-app/src/components to packages/react/src/components
- Updated components to use modern React patterns with TypeScript interfaces
- Added MathJaxProvider component adapted for generic React use (removed Next.js dependencies)
- Updated NextJS app to import components from @latex2js/react package
- Removed local NextJS component files (except MathJaxProvider and pspicture)
- All packages build successfully with proper TypeScript/JSX configuration

Co-Authored-By: Dan Lynch <[email protected]>
…sed MathJaxProvider

- Update NextJS app ELEMENTS object to include slider component from @latex2js/react
- Remove unused MathJaxProvider.tsx from NextJS app (using @latex2js/mathjax-react instead)
- Revert React package to use window.MathJax for consistency

Co-Authored-By: Dan Lynch <[email protected]>
…ad of d3

- Replace direct d3 import with select from @latex2js/utils for consistency
- Add null check for svgRef.current to fix TypeScript error
- Resolves React package bundling issue preventing NextJS app import

Co-Authored-By: Dan Lynch <[email protected]>
@pyramation pyramation closed this Jul 6, 2025
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.

2 participants