- Refined the default surface styling so
CodeBlockreads more like a documentation block and less like a heavy standalone widget - Expanded the theming docs with the new surface-related CSS custom properties and default styling notes
- Refreshed the demo to better reflect VueForge-aligned default tokens and presentation
- Support for inherited theme detection from the nearest
data-vf-themeancestor whentheme="inherit"is used - Test coverage for inherited theme resolution via
data-theme,data-vf-theme, fallback light mode, and explicitlight/darkmodes
- Kept inherited theme priority as nearest
data-theme, then nearestdata-vf-theme, then fallbacklight - Updated the built-in default light and dark code block palette to better match the current VueForge visual language
- Mapped default
CodeBlockCSS variables to available--vf-*theme tokens with local fallbacks so the component stays fully standalone outside VueForge - Documented
theme="inherit"support for bothdata-themeanddata-vf-theme
- Initial stable release of
@codemonster-ru/vue-codeblock - Vue 3 code block component with copy action, line numbers, theming, and syntax highlighting
- Shared runtime exports for
highlightCodeBlock,highlightCodeLine, andescapeCodeHtml - GitHub Actions CI workflow for install, typecheck, test, and build
- GitHub Actions publish workflow for npm releases triggered by
v*tags
- Finalized public package metadata and exports for npm publishing
- Cleaned published type artifacts so demo declarations are no longer included in the package