v0.0.3-alpha.36
github-actions
released this
08 Oct 02:20
·
50 commits
to main
since this release
🚨 Breaking Changes
- sidebar style: Match VitePress default style - by @enzonotario in #74 (739de)
If anyone prefers the previous style, can create a style.css
file and import it after import 'vitepress-openapi/dist/style.css'
, with the following styles:
.VPSidebarItem:has(.OASidebarItem) .is-link:hover, .VPSidebarItem:has(.OASidebarItem) .is-active {
@apply bg-gray-200 text-gray-900 dark:bg-gray-800 dark:text-gray-100 rounded;
}
.VPSidebarItem:has(.OASidebarItem) .is-link {
@apply text-gray-500 dark:text-gray-400 hover:bg-gray-200 dark:hover:bg-gray-800 rounded;
}
.VPSidebarItem:has(.OASidebarItem) .is-active .OASidebarItem-text {
@apply font-semibold;
}
.OASidebarItem-text {
@apply truncate max-w-[170px] text-gray-800 dark:text-gray-100;
}
🚀 Features
- operation: Allows to specify which Badges include to Operation Header (deprecated, operationId) - by @enzonotario (5c02d)
- useTheme: Allows to configure i18n - by @enzonotario (a28f5)