chore: Sync package version v1.16.1
- Introduce language-specific icons in code blocks using react-icons
- Implement custom handleCodeTitles rehype plugin to support data-title attribute
- Refactor PreMdx component to display language icons and titles
- Add comprehensive styling for code blocks including header, actions, and syntax highlighting
- Update dependencies to include react-icons and remove unused install package
- Bump version to 1.16.1 in both root and dist package.json files
chore: Sync package version v1.16.0
feat(accordion): add accordion group context and update styling
- Introduce `AccordionGroupContext` to support grouped accordions
- Update styling to differentiate standalone and grouped accordions
- Add background hover states for improved interactivity
- Register `AccordionGroup` in markdown components
chore: bump version to 1.15.1 and update changelog
- Update version in package.json and related files to 1.15.1
- Remove unused CSS imports from layout and DocSearch components
- Refactor algolia.css for improved styling and responsiveness
- Update release notes in changelog for version 1.15.1
feat(search): implement algolia docsearch with new components and props
- add docsearch component and algolia search type
- update search component to handle different search types
- include algolia css and dependencies
- add environment variable configuration for algolia
- update changelog and version to 1.15.0
chore: Sync package version v1.14.2
The original Search component was monolithic, handling state management, UI triggers, and modal content logic in a single file. This made it difficult to maintain and extend.
This commit refactors the component into three distinct, more focused components:
- `Search.tsx`: The new parent component that manages the dialog's open/close state and will serve as the entry point for selecting different search types (e.g., default, Algolia).
- `SearchTrigger.tsx`: A simple component responsible only for rendering the search button/input UI that opens the modal.
- `SearchModal.tsx`: Encapsulates all logic and UI for the search dialog itself, including the input field, results display, and keyboard navigation.
This separation of concerns improves readability, maintainability, and prepares the codebase for future scalability.
- Show only search icon on mobile (< 768px) in navbar
- Refactor Anchor component with better type safety and link handling
- Adjust spacing in Table of Contents and main content
- Improve responsive layout and consistency