valtech-components 2.0.966 → 2.0.969

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,14 @@
1
+ import { ArticleMetadata } from '../../components/organisms/article/types';
2
+ /**
3
+ * Post-processes the raw `ArticleMetadata` from `LegalContentService` /
4
+ * `parseMarkdownArticle` for better visual hierarchy in legal / markdown docs:
5
+ *
6
+ * - Renders inline `**bold**` markdown as `<strong>` HTML.
7
+ * - Groups the doc metadata line (`**Last updated:** … **Version:** …`)
8
+ * into a styled inline text block at the top.
9
+ * - Sets per-element spacing presets so paragraphs/sections breathe.
10
+ *
11
+ * Pure, side-effect-free — usable from any app or a Node script. Reusable for
12
+ * any markdown-driven article (legal, docs, blog), not only legal pages.
13
+ */
14
+ export declare function beautifyLegalArticle(article: ArticleMetadata): ArticleMetadata;
package/lib/version.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Current version of valtech-components.
3
3
  * This is automatically updated during the publish process.
4
4
  */
5
- export declare const VERSION = "2.0.966";
5
+ export declare const VERSION = "2.0.969";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.966",
3
+ "version": "2.0.969",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"
package/public-api.d.ts CHANGED
@@ -300,6 +300,7 @@ export * from './lib/services/meta';
300
300
  export * from './lib/services/markdown-article/markdown-article-parser';
301
301
  export * from './lib/services/markdown-article/markdown-article-parser.service';
302
302
  export * from './lib/services/markdown-article/legal-content.service';
303
+ export * from './lib/services/markdown-article/beautify-legal-article';
303
304
  export * from './lib/services/legal-link/legal-link.service';
304
305
  export * from './lib/services/firebase';
305
306
  export * from './lib/services/auth';