Skip to content

Releases: codemonster-ru/vue-codeblock

v1.1.1

05 Apr 06:15

Choose a tag to compare

Changed

  • Refined the default surface styling so CodeBlock reads 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

v1.1.0

04 Apr 16:05

Choose a tag to compare

Added

  • Support for inherited theme detection from the nearest data-vf-theme ancestor when theme="inherit" is used
  • Test coverage for inherited theme resolution via data-theme, data-vf-theme, fallback light mode, and explicit light / dark modes

Changed

  • Kept inherited theme priority as nearest data-theme, then nearest data-vf-theme, then fallback light
  • Updated the built-in default light and dark code block palette to better match the current VueForge visual language
  • Mapped default CodeBlock CSS variables to available --vf-* theme tokens with local fallbacks so the component stays fully standalone outside VueForge
  • Documented theme="inherit" support for both data-theme and data-vf-theme

v1.0.0

01 Mar 17:57

Choose a tag to compare

Added

  • 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, and escapeCodeHtml
  • GitHub Actions CI workflow for install, typecheck, test, and build
  • GitHub Actions publish workflow for npm releases triggered by v* tags

Changed

  • Finalized public package metadata and exports for npm publishing
  • Cleaned published type artifacts so demo declarations are no longer included in the package