From 0a790680455a1f6048af872beb64c0e615d91f05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Jos=C3=A9=20Borba=20Fernandes?= Date: Mon, 22 Jul 2024 00:48:57 -0300 Subject: [PATCH] Fix icon button radius --- .../orama-chat-assistent-message.stories.tsx | 118 +++++++++- .../src/components/stencil-generated/index.ts | 1 + packages/ui-stencil-vue/lib/components.ts | 5 + .../internal/orama-button/orama-button.scss | 1 + pnpm-lock.yaml | 208 +++++++++++++++++- 5 files changed, 325 insertions(+), 8 deletions(-) diff --git a/apps/storybook/stories/internal/orama-chat-assistent-message.stories.tsx b/apps/storybook/stories/internal/orama-chat-assistent-message.stories.tsx index eca66331..b0fe8733 100644 --- a/apps/storybook/stories/internal/orama-chat-assistent-message.stories.tsx +++ b/apps/storybook/stories/internal/orama-chat-assistent-message.stories.tsx @@ -1,4 +1,5 @@ import type { StoryObj, Meta } from '@storybook/web-components' +import { html } from 'lit-html' import type { Components } from 'ui-stencil' const meta: Meta = { @@ -9,11 +10,126 @@ const meta: Meta = { export default meta type Story = StoryObj +type StoryWithFakeRendering = StoryObj + +const MARKDOWN_MESSAGE = ` +Marked - Markdown Parser +======================== + +[Marked] lets you convert [Markdown] into HTML. Markdown is a simple text format whose goal is to be very easy to read and write, even when not converted to HTML. This demo page will let you type anything you like and see how it gets converted. Live. No more waiting around. + +How To Use The Demo +------------------- + +1. Type in stuff on the left. +2. See the live updates on the right. + +That's it. Pretty simple. There's also a drop-down option above to switch between various views: + +- **Preview:** A live display of the generated HTML as it would render in a browser. +- **HTML Source:** The generated HTML before your browser makes it pretty. +- **Lexer Data:** What [marked] uses internally, in case you like gory stuff like this. +- **Quick Reference:** A brief run-down of how to format things using markdown. + +Why Markdown? +------------- + +It's easy. It's not overly bloated, unlike HTML. Also, as the creator of [markdown] says, + +> The overriding design goal for Markdown's +> formatting syntax is to make it as readable +> as possible. The idea is that a +> Markdown-formatted document should be +> publishable as-is, as plain text, without +> looking like it's been marked up with tags +> or formatting instructions. + +Something else with a inline code \`\`console.log("blablabla")\`\` + +Ready to start writing? Either start changing stuff on the left or +[clear everything](/demo/?text=) with a simple click. + +[Marked]: https://github.com/markedjs/marked/ +[Markdown]: http://daringfireball.net/projects/markdown/ + +\`\`\`javascript + function helloWorld() { + console.log('Hello World!') + } +\`\`\` + +\`\`\`javascript + function helloWorld() { + console.log('Hello World!') + } +\`\`\` + +\`\`\`typescript + function helloWorld() : void { + console.log('Hello World!') + } +\`\`\` + +\`\`\`cpp + for(int i = 0; i < 10; i++) { + cout << "Hello World!" << endl; + } +\`\`\` + +\`\`\`c + for(int i = 0; i < 10; i++) { + cout << "Hello World!" << endl; + } +\`\`\` + +\`\`\`java + class HelloWorld { + public static void main(String[] args) { + System.out.println("Hello World!"); + } + } +\`\`\` +` + export const ChatAssistentMessage: Story = { args: { message: { role: 'assistant', - content: 'Some assistent message with some content and some more content', + content: MARKDOWN_MESSAGE, + }, + }, +} + +export const ChatAssistentMessageWithFakeRendering: StoryWithFakeRendering = { + render: ({ message, steps, frequency }) => { + let fakeStreamingMessage = '' + let count = 0 + + const intervalId = setInterval(() => { + if (count >= MARKDOWN_MESSAGE.length) { + clearInterval(intervalId) + } + + fakeStreamingMessage = message.content.substring(0, count) + + // biome-ignore lint/suspicious/noExplicitAny: Let me be, Typescript... + const element = document.getElementById('fake-stream-assistent-message') as any + element.message = { + role: 'assistant', + content: fakeStreamingMessage, + } + + count = count + steps + }, frequency) + + return html`` + }, + args: { + steps: 20, + frequency: 50, + message: { + role: 'assistant', + content: MARKDOWN_MESSAGE, }, }, } diff --git a/packages/ui-stencil-react/src/components/stencil-generated/index.ts b/packages/ui-stencil-react/src/components/stencil-generated/index.ts index da2936ca..08c14906 100644 --- a/packages/ui-stencil-react/src/components/stencil-generated/index.ts +++ b/packages/ui-stencil-react/src/components/stencil-generated/index.ts @@ -17,6 +17,7 @@ export const OramaChatUserMessage = /*@__PURE__*/createReactComponent('orama-facets'); export const OramaInput = /*@__PURE__*/createReactComponent('orama-input'); export const OramaLogoIcon = /*@__PURE__*/createReactComponent('orama-logo-icon'); +export const OramaMarkdown = /*@__PURE__*/createReactComponent('orama-markdown'); export const OramaNavigationBar = /*@__PURE__*/createReactComponent('orama-navigation-bar'); export const OramaSearch = /*@__PURE__*/createReactComponent('orama-search'); export const OramaSearchBox = /*@__PURE__*/createReactComponent('orama-search-box'); diff --git a/packages/ui-stencil-vue/lib/components.ts b/packages/ui-stencil-vue/lib/components.ts index 6c7d40f1..bee99d0e 100644 --- a/packages/ui-stencil-vue/lib/components.ts +++ b/packages/ui-stencil-vue/lib/components.ts @@ -68,6 +68,11 @@ export const OramaLogoIcon = /*@__PURE__*/ defineContainer('o ]); +export const OramaMarkdown = /*@__PURE__*/ defineContainer('orama-markdown', undefined, [ + 'content' +]); + + export const OramaNavigationBar = /*@__PURE__*/ defineContainer('orama-navigation-bar', undefined); diff --git a/packages/ui-stencil/src/components/internal/orama-button/orama-button.scss b/packages/ui-stencil/src/components/internal/orama-button/orama-button.scss index d61d55fa..279ca679 100644 --- a/packages/ui-stencil/src/components/internal/orama-button/orama-button.scss +++ b/packages/ui-stencil/src/components/internal/orama-button/orama-button.scss @@ -39,6 +39,7 @@ justify-content: center; align-items: center; font-family: var(--font-primary, font('primary')); + border-radius: 50%; &:disabled { opacity: 0.6; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 29ec8be9..8efbe89f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -74,7 +74,7 @@ importers: devDependencies: '@angular-devkit/build-angular': specifier: ^18.0.6 - version: 18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(@swc/core@1.6.5)(@types/node@20.14.9)(chokidar@3.6.0)(html-webpack-plugin@5.6.0(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)))(jest@29.7.0(@types/node@20.14.9))(karma@6.4.3)(ng-packagr@18.0.0(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(tslib@2.6.3)(typescript@5.4.5))(typescript@5.4.5) + version: 18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(@swc/core@1.6.5)(@types/node@20.14.9)(chokidar@3.6.0)(html-webpack-plugin@5.6.0(webpack@5.91.0(@swc/core@1.6.5)))(jest@29.7.0(@types/node@20.14.9))(karma@6.4.3)(ng-packagr@18.0.0(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(tslib@2.6.3)(typescript@5.4.5))(typescript@5.4.5) '@angular/cli': specifier: ~18.0.6 version: 18.0.6(chokidar@3.6.0) @@ -284,6 +284,24 @@ importers: '@stencil/store': specifier: ^2.0.16 version: 2.0.16(@stencil/core@4.19.0) + dompurify: + specifier: ^3.1.6 + version: 3.1.6 + highlight.js: + specifier: ^11.10.0 + version: 11.10.0 + markdown-it: + specifier: ^14.1.0 + version: 14.1.0 + marked: + specifier: ^13.0.2 + version: 13.0.2 + marked-highlight: + specifier: ^2.1.3 + version: 2.1.3(marked@13.0.2) + shiki: + specifier: ^1.10.3 + version: 1.10.3 sse.js: specifier: ^2.5.0 version: 2.5.0 @@ -384,7 +402,7 @@ importers: devDependencies: '@angular-devkit/build-angular': specifier: ^18.0.6 - version: 18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(@swc/core@1.6.5)(@types/node@20.14.9)(chokidar@3.6.0)(html-webpack-plugin@5.6.0(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)))(jest@29.7.0(@types/node@20.14.9))(karma@6.4.3)(ng-packagr@18.0.0(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(tslib@2.6.3)(typescript@5.4.5))(typescript@5.4.5) + version: 18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(@swc/core@1.6.5)(@types/node@20.14.9)(chokidar@3.6.0)(html-webpack-plugin@5.6.0)(jest@29.7.0(@types/node@20.14.9))(karma@6.4.3)(ng-packagr@18.0.0(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(tslib@2.6.3)(typescript@5.4.5))(typescript@5.4.5) '@angular/cli': specifier: ~18.0.6 version: 18.0.6(chokidar@3.6.0) @@ -2863,6 +2881,9 @@ packages: resolution: {integrity: sha512-SZ73nNhCengIOy3GCUbLL++GdpaQ5T9bh05OAdQJuUNtwz1ot8QoQjkcbumKIfTicwMiLxy+OR4sZN1VcUVYpQ==} engines: {node: ^18.19.1 || ^20.11.1 || >=22.0.0, npm: ^6.11.0 || ^7.5.6 || >=8.0.0, yarn: '>= 1.13.0'} + '@shikijs/core@1.10.3': + resolution: {integrity: sha512-D45PMaBaeDHxww+EkcDQtDAtzv00Gcsp72ukBtaLSmqRvh0WgGMq3Al0rl1QQBZfuneO75NXMIzEZGFitThWbg==} + '@sideway/address@4.1.5': resolution: {integrity: sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q==} @@ -5033,6 +5054,9 @@ packages: resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==} engines: {node: '>= 4'} + dompurify@3.1.6: + resolution: {integrity: sha512-cTOAhc36AalkjtBpfG6O8JimdTMWNXjiePT2xQH/ppBGi/4uIpmj8eKyIkMJErXWARyINV/sB38yf8JCLF5pbQ==} + domutils@1.7.0: resolution: {integrity: sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==} @@ -5882,6 +5906,10 @@ packages: header-case@1.0.1: resolution: {integrity: sha512-i0q9mkOeSuhXw6bGgiQCCBgY/jlZuV/7dZXyZ9c6LcBrqwvT8eT719E9uxE5LiZftdl+z81Ugbg/VvXV4OJOeQ==} + highlight.js@11.10.0: + resolution: {integrity: sha512-SYVnVFswQER+zu1laSya563s+F8VDGt7o35d4utbamowvUNLLMovFqwCLSocpZTz3MgaSRA1IbqRWZv97dtErQ==} + engines: {node: '>=12.0.0'} + hmac-drbg@1.0.1: resolution: {integrity: sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg==} @@ -6739,6 +6767,9 @@ packages: lines-and-columns@1.2.4: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} + linkify-it@5.0.0: + resolution: {integrity: sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==} + lit-element@4.0.6: resolution: {integrity: sha512-U4sdJ3CSQip7sLGZ/uJskO5hGiqtlpxndsLr6mt3IQIjheg93UKYeGQjWMRql1s/cXNOaRrCzC2FQwjIwSUqkg==} @@ -6884,12 +6915,26 @@ packages: map-or-similar@1.5.0: resolution: {integrity: sha512-0aF7ZmVon1igznGI4VS30yugpduQW3y3GkcgGJOp7d8x8QrizhigUxjI/m2UojsXXto+jLAH3KSz+xOJTiORjg==} + markdown-it@14.1.0: + resolution: {integrity: sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==} + hasBin: true + markdown-to-jsx@7.4.7: resolution: {integrity: sha512-0+ls1IQZdU6cwM1yu0ZjjiVWYtkbExSyUIFU2ZeDIFuZM1W42Mh4OlJ4nb4apX4H8smxDHRdFaoIVJGwfv5hkg==} engines: {node: '>= 10'} peerDependencies: react: '>= 0.14.0' + marked-highlight@2.1.3: + resolution: {integrity: sha512-t35JWm2u8HanOJ+gSJBAYQ0Jgr3vy+gl7ORAXN8bSEQFHl5FYXH0A7YXVMrfhmKaSuBSy6LidXECn3U9Qv/dHA==} + peerDependencies: + marked: '>=4 <14' + + marked@13.0.2: + resolution: {integrity: sha512-J6CPjP8pS5sgrRqxVRvkCIkZ6MFdRIjDkwUwgJ9nL2fbmM6qGQeB2C16hi8Cc9BOzj6xXzy0jyi0iPIfnMHYzA==} + engines: {node: '>= 18'} + hasBin: true + math-expression-evaluator@1.4.0: resolution: {integrity: sha512-4vRUvPyxdO8cWULGTh9dZWL2tZK6LDBvj+OGHBER7poH9Qdt7kXEoj20wiz4lQUbUXQZFjPbe5mVDo9nutizCw==} @@ -6902,6 +6947,9 @@ packages: mdn-data@2.0.30: resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==} + mdurl@2.0.0: + resolution: {integrity: sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==} + media-typer@0.3.0: resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==} engines: {node: '>= 0.6'} @@ -8149,6 +8197,10 @@ packages: pump@3.0.0: resolution: {integrity: sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==} + punycode.js@2.3.1: + resolution: {integrity: sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==} + engines: {node: '>=6'} + punycode@1.4.1: resolution: {integrity: sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==} @@ -8655,6 +8707,9 @@ packages: shell-quote@1.8.1: resolution: {integrity: sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==} + shiki@1.10.3: + resolution: {integrity: sha512-eneCLncGuvPdTutJuLyUGS8QNPAVFO5Trvld2wgEq1e002mwctAhJKeMGWtWVXOIEzmlcLRqcgPSorR6AVzOmQ==} + side-channel@1.0.6: resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} engines: {node: '>= 0.4'} @@ -9258,6 +9313,9 @@ packages: ua-parser-js@0.7.38: resolution: {integrity: sha512-fYmIy7fKTSFAhG3fuPlubeGaMoAd6r0rSnfEsO5nEY55i26KSLt9EH7PLQiiqPUhNqYIJvSkTy1oArIcXAbPbA==} + uc.micro@2.1.0: + resolution: {integrity: sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==} + ufo@1.5.3: resolution: {integrity: sha512-Y7HYmWaFwPUmkoQCUIAYpKqkOf+SbVj/2fJJZ4RJMCfZp0rTGwRbzQD+HghfnhKOjL9E01okqz+ncJskGYfBNw==} @@ -9803,7 +9861,98 @@ snapshots: transitivePeerDependencies: - chokidar - '@angular-devkit/build-angular@18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(@swc/core@1.6.5)(@types/node@20.14.9)(chokidar@3.6.0)(html-webpack-plugin@5.6.0(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)))(jest@29.7.0(@types/node@20.14.9))(karma@6.4.3)(ng-packagr@18.0.0(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(tslib@2.6.3)(typescript@5.4.5))(typescript@5.4.5)': + '@angular-devkit/build-angular@18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(@swc/core@1.6.5)(@types/node@20.14.9)(chokidar@3.6.0)(html-webpack-plugin@5.6.0(webpack@5.91.0(@swc/core@1.6.5)))(jest@29.7.0(@types/node@20.14.9))(karma@6.4.3)(ng-packagr@18.0.0(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(tslib@2.6.3)(typescript@5.4.5))(typescript@5.4.5)': + dependencies: + '@ampproject/remapping': 2.3.0 + '@angular-devkit/architect': 0.1800.6(chokidar@3.6.0) + '@angular-devkit/build-webpack': 0.1800.6(chokidar@3.6.0)(webpack-dev-server@5.0.4(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)))(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + '@angular-devkit/core': 18.0.6(chokidar@3.6.0) + '@angular/build': 18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(@types/node@20.14.9)(chokidar@3.6.0)(less@4.2.0)(postcss@8.4.38)(terser@5.31.0)(typescript@5.4.5) + '@angular/compiler-cli': 18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5) + '@babel/core': 7.24.5 + '@babel/generator': 7.24.5 + '@babel/helper-annotate-as-pure': 7.22.5 + '@babel/helper-split-export-declaration': 7.24.5 + '@babel/plugin-transform-async-generator-functions': 7.24.3(@babel/core@7.24.5) + '@babel/plugin-transform-async-to-generator': 7.24.1(@babel/core@7.24.5) + '@babel/plugin-transform-runtime': 7.24.3(@babel/core@7.24.5) + '@babel/preset-env': 7.24.5(@babel/core@7.24.5) + '@babel/runtime': 7.24.5 + '@discoveryjs/json-ext': 0.5.7 + '@ngtools/webpack': 18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(typescript@5.4.5)(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + '@vitejs/plugin-basic-ssl': 1.1.0(vite@5.2.11(@types/node@20.14.9)(less@4.2.0)(sass@1.77.2)(terser@5.31.0)) + ansi-colors: 4.1.3 + autoprefixer: 10.4.19(postcss@8.4.38) + babel-loader: 9.1.3(@babel/core@7.24.5)(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + browserslist: 4.23.1 + copy-webpack-plugin: 11.0.0(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + critters: 0.0.22 + css-loader: 7.1.1(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + esbuild-wasm: 0.21.3 + fast-glob: 3.3.2 + http-proxy-middleware: 3.0.0 + https-proxy-agent: 7.0.4 + inquirer: 9.2.22 + istanbul-lib-instrument: 6.0.2 + jsonc-parser: 3.2.1 + karma-source-map-support: 1.4.0 + less: 4.2.0 + less-loader: 12.2.0(less@4.2.0)(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + license-webpack-plugin: 4.0.2(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + loader-utils: 3.2.1 + magic-string: 0.30.10 + mini-css-extract-plugin: 2.9.0(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + mrmime: 2.0.0 + open: 8.4.2 + ora: 5.4.1 + parse5-html-rewriting-stream: 7.0.0 + picomatch: 4.0.2 + piscina: 4.5.0 + postcss: 8.4.38 + postcss-loader: 8.1.1(postcss@8.4.38)(typescript@5.4.5)(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + resolve-url-loader: 5.0.0 + rxjs: 7.8.1 + sass: 1.77.2 + sass-loader: 14.2.1(sass@1.77.2)(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + semver: 7.6.2 + source-map-loader: 5.0.0(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + source-map-support: 0.5.21 + terser: 5.31.0 + tree-kill: 1.2.2 + tslib: 2.6.2 + typescript: 5.4.5 + undici: 6.18.0 + vite: 5.2.11(@types/node@20.14.9)(less@4.2.0)(sass@1.77.2)(terser@5.31.0) + watchpack: 2.4.1 + webpack: 5.91.0(@swc/core@1.6.5)(esbuild@0.21.3) + webpack-dev-middleware: 7.2.1(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + webpack-dev-server: 5.0.4(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + webpack-merge: 5.10.0 + webpack-subresource-integrity: 5.1.0(html-webpack-plugin@5.6.0(webpack@5.91.0(@swc/core@1.6.5)))(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + optionalDependencies: + esbuild: 0.21.3 + jest: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2)) + karma: 6.4.3 + ng-packagr: 18.0.0(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(tslib@2.6.3)(typescript@5.4.5) + transitivePeerDependencies: + - '@rspack/core' + - '@swc/core' + - '@types/node' + - bufferutil + - chokidar + - debug + - html-webpack-plugin + - lightningcss + - node-sass + - sass-embedded + - stylus + - sugarss + - supports-color + - uglify-js + - utf-8-validate + - webpack-cli + + '@angular-devkit/build-angular@18.0.6(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(@swc/core@1.6.5)(@types/node@20.14.9)(chokidar@3.6.0)(html-webpack-plugin@5.6.0)(jest@29.7.0(@types/node@20.14.9))(karma@6.4.3)(ng-packagr@18.0.0(@angular/compiler-cli@18.0.5(@angular/compiler@18.0.5(@angular/core@18.0.5(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.4.5))(tslib@2.6.3)(typescript@5.4.5))(typescript@5.4.5)': dependencies: '@ampproject/remapping': 2.3.0 '@angular-devkit/architect': 0.1800.6(chokidar@3.6.0) @@ -9870,7 +10019,7 @@ snapshots: webpack-dev-middleware: 7.2.1(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) webpack-dev-server: 5.0.4(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) webpack-merge: 5.10.0 - webpack-subresource-integrity: 5.1.0(html-webpack-plugin@5.6.0(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)))(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + webpack-subresource-integrity: 5.1.0(html-webpack-plugin@5.6.0)(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) optionalDependencies: esbuild: 0.21.3 jest: 29.7.0(@types/node@20.14.9)(ts-node@10.9.2(@swc/core@1.6.5)(@types/node@20.14.9)(typescript@5.5.2)) @@ -12861,6 +13010,10 @@ snapshots: transitivePeerDependencies: - chokidar + '@shikijs/core@1.10.3': + dependencies: + '@types/hast': 3.0.4 + '@sideway/address@4.1.5': dependencies: '@hapi/hoek': 9.3.0 @@ -15716,6 +15869,8 @@ snapshots: dependencies: domelementtype: 2.3.0 + dompurify@3.1.6: {} + domutils@1.7.0: dependencies: dom-serializer: 0.2.2 @@ -16937,6 +17092,8 @@ snapshots: no-case: 2.3.2 upper-case: 1.1.3 + highlight.js@11.10.0: {} + hmac-drbg@1.0.1: dependencies: hash.js: 1.1.7 @@ -16974,7 +17131,7 @@ snapshots: html-tags@3.3.1: {} - html-webpack-plugin@5.6.0(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)): + html-webpack-plugin@5.6.0(webpack@5.91.0(@swc/core@1.6.5)): dependencies: '@types/html-minifier-terser': 6.1.0 html-minifier-terser: 6.1.0 @@ -18110,6 +18267,10 @@ snapshots: lines-and-columns@1.2.4: {} + linkify-it@5.0.0: + dependencies: + uc.micro: 2.1.0 + lit-element@4.0.6: dependencies: '@lit-labs/ssr-dom-shim': 1.2.0 @@ -18281,10 +18442,25 @@ snapshots: map-or-similar@1.5.0: {} + markdown-it@14.1.0: + dependencies: + argparse: 2.0.1 + entities: 4.5.0 + linkify-it: 5.0.0 + mdurl: 2.0.0 + punycode.js: 2.3.1 + uc.micro: 2.1.0 + markdown-to-jsx@7.4.7(react@18.3.1): dependencies: react: 18.3.1 + marked-highlight@2.1.3(marked@13.0.2): + dependencies: + marked: 13.0.2 + + marked@13.0.2: {} + math-expression-evaluator@1.4.0: {} md5.js@1.3.5: @@ -18297,6 +18473,8 @@ snapshots: mdn-data@2.0.30: {} + mdurl@2.0.0: {} + media-typer@0.3.0: {} memfs@3.5.3: @@ -19752,6 +19930,8 @@ snapshots: end-of-stream: 1.4.4 once: 1.4.0 + punycode.js@2.3.1: {} + punycode@1.4.1: {} punycode@2.3.1: {} @@ -20379,6 +20559,11 @@ snapshots: shell-quote@1.8.1: {} + shiki@1.10.3: + dependencies: + '@shikijs/core': 1.10.3 + '@types/hast': 3.0.4 + side-channel@1.0.6: dependencies: call-bind: 1.0.7 @@ -21113,6 +21298,8 @@ snapshots: ua-parser-js@0.7.38: {} + uc.micro@2.1.0: {} + ufo@1.5.3: {} uglify-js@3.18.0: @@ -21487,12 +21674,19 @@ snapshots: webpack-sources@3.2.3: {} - webpack-subresource-integrity@5.1.0(html-webpack-plugin@5.6.0(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)))(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)): + webpack-subresource-integrity@5.1.0(html-webpack-plugin@5.6.0(webpack@5.91.0(@swc/core@1.6.5)))(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)): + dependencies: + typed-assert: 1.0.9 + webpack: 5.91.0(@swc/core@1.6.5)(esbuild@0.21.3) + optionalDependencies: + html-webpack-plugin: 5.6.0(webpack@5.91.0(@swc/core@1.6.5)) + + webpack-subresource-integrity@5.1.0(html-webpack-plugin@5.6.0)(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)): dependencies: typed-assert: 1.0.9 webpack: 5.91.0(@swc/core@1.6.5)(esbuild@0.21.3) optionalDependencies: - html-webpack-plugin: 5.6.0(webpack@5.91.0(@swc/core@1.6.5)(esbuild@0.21.3)) + html-webpack-plugin: 5.6.0(webpack@5.92.1(@swc/core@1.6.5(@swc/helpers@0.5.5))(esbuild@0.21.5)) webpack-virtual-modules@0.6.2: {}