-
Notifications
You must be signed in to change notification settings - Fork 8
v2: automatic docs from type gen #359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
thejackshelton-kunaico
wants to merge
31
commits into
v2-migration
Choose a base branch
from
v2-docs-playground
base: v2-migration
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…no directories are found
…ayground - Introduced new JSON files for various components, including calendar, checklist, and others, to store metadata. - Enhanced the props playground with debug mode functionality for better logging during development. - Updated Vite configuration to support new component props options and debug settings. - Refactored component props extraction to include debug logging for improved traceability.
- Removed unnecessary comments and consolidated debug logging for clarity. - Simplified the logic for handling hot updates and component file parsing. - Introduced helper functions to enhance code readability and maintainability. - Streamlined the extraction of component names and properties from files.
- Updated debug messages to provide clearer context when skipping components without props. - Enhanced logging for cases where no extractable Public*Props type is found, indicating potential type references.
commit: |
- Added PieceSelectorCarousel component for selecting pieces in the props playground. - Introduced PropControl and PropsControlsCarousel components to manage individual prop controls and their display in a carousel format. - Refactored props playground to utilize new components for improved modularity and user experience. - Enhanced debug logging for better traceability during component interactions.
- Added "bind:value" support to PieceSelectorCarousel and PropsControlsCarousel for better state management. - Implemented unified navigation handlers for moving between pieces and props slides. - Introduced navigation buttons for improved user interaction within the props playground. - Updated component structure for cleaner integration of carousel functionality.
- Updated global CSS to refine focus-visible styles for better accessibility. - Exported buttonVariants and shadowVariants from action.tsx for improved reusability. - Adjusted PieceSelectorCarousel and StringValue components to utilize new styling variants. - Enhanced PropsPlayground layout by removing unnecessary padding for a cleaner design.
- Added `isFunction` property to `PropType` for better function type handling. - Updated `generateComponentMetadata` to export the function for broader accessibility. - Improved prop extraction logic to exclude internal/private props and handle function types more effectively. - Enhanced type parsing to recognize function types and QRL types.
…handling - Improved the extraction of props from inline types and type aliases for BindableProps. - Added functionality to resolve type aliases and handle nested type references during prop parsing. - Enhanced debug logging for better traceability of prop extraction and type resolution processes. - Updated the prop extraction logic to ensure bindable properties are correctly identified and marked.
- Removed excessive debug logging to improve code clarity and maintainability. - Simplified the extraction process for inline types and type aliases related to BindableProps. - Enhanced the logic for identifying and marking bindable properties during prop extraction. - Improved overall readability of the component props handling code.
- Updated Vite configuration to enable debug mode for improved development insights. - Enhanced JSON metadata for various components by adding comments and new properties for better clarity. - Improved prop extraction logic to handle intersections and inline types more effectively. - Added new properties to component metadata, including function types and bindable attributes, for comprehensive documentation.
- Added temporary test directories to .gitignore to prevent clutter during testing. - Updated pnpm-lock.yaml to include new dependencies and ensure consistent package versions. - Enhanced component props handling in various files by integrating magic-regexp for better regex management.
- Removed the PieceSelectorCarousel component to streamline the props playground. - Adjusted PropControl and PropsControlsCarousel for improved layout and functionality. - Enhanced styling for better user experience and accessibility. - Introduced a toggle for state management mode (Signal vs Value) to improve usability.
…mponents - Removed unused imports and streamlined button styles for better consistency. - Enhanced the PropsPlayground layout with updated border styles and improved button interactions. - Refactored the main layout structure to ensure proper rendering and organization of components. - Utilized `useConstant` for better performance in debug mode detection.
- Introduced a button to toggle the visibility of the sidebar panel, enhancing user interaction. - Implemented state management for the panel's open/closed status using signals. - Updated the sidebar layout to accommodate the new toggle feature while maintaining existing navigation structure.
- Added a new light color variable for enhanced theming options. - Updated checkbox component styles for better visual consistency and user experience. - Changed checkbox label text to improve clarity regarding terms acceptance.
- Added `magic-regexp` version 0.10.0 to dependencies. - Refactored the `playground` component to improve caching and annotation handling for source code. - Enhanced the code rendering process by integrating `getTwoslashTransformer` for better syntax highlighting.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.