diff --git a/app/components/ClientOnlySearchButton.tsx b/app/components/ClientOnlySearchButton.tsx index 0037a836..e27b069c 100644 --- a/app/components/ClientOnlySearchButton.tsx +++ b/app/components/ClientOnlySearchButton.tsx @@ -3,7 +3,7 @@ import { Suspense } from 'react' import { ImSpinner2 } from 'react-icons/im' const LazySearchButton = React.lazy(() => - import('@orama/searchbox').then((mod) => ({ default: mod.SearchButton })) + import('@orama/react-components').then((mod) => ({ default: mod.OramaSearchButton })) ) let defaultMounted = false diff --git a/app/components/DocsLayout.tsx b/app/components/DocsLayout.tsx index e5a9ff2e..3655b629 100644 --- a/app/components/DocsLayout.tsx +++ b/app/components/DocsLayout.tsx @@ -13,8 +13,7 @@ import { useNavigate, useParams, } from '@tanstack/react-router' -import type { AnyOrama, SearchParamsFullText, AnyDocument } from '@orama/orama' -import { SearchBox } from '@orama/searchbox' +import { OramaSearchBox } from '@orama/react-components' import { Carbon } from '~/components/Carbon' import { Select } from '~/components/Select' import { useLocalStorage } from '~/utils/useLocalStorage' @@ -336,6 +335,8 @@ export function DocsLayout({ [menuConfig] ) + const [isSearchboxOpen, setIsSearchboxOpen] = React.useState(false) + const docsMatch = matches.find((d) => d.pathname.includes('/docs')) const relativePathname = lastMatch.pathname.replace( @@ -444,15 +445,6 @@ export function DocsLayout({ ) }) - const oramaSearchParams: SearchParamsFullText = { - threshold: 0, - where: { - category: { - eq: capitalize(libraryId), - }, - }, - } - const logo = ( - + setIsSearchboxOpen(true)} > + Search + {menuItems} @@ -546,7 +540,15 @@ export function DocsLayout({ className={`min-h-screen flex flex-col lg:flex-row w-full transition-all duration-300`} >
- + setIsSearchboxOpen(false)} /> +
{smallMenu} {largeMenu} diff --git a/app/components/Orama.tsx b/app/components/Orama.tsx index f8d69af0..9f57a3e9 100644 --- a/app/components/Orama.tsx +++ b/app/components/Orama.tsx @@ -1,38 +1,28 @@ -import type { - RegisterSearchButtonProps, - RegisterSearchBoxProps, -} from '@orama/searchbox' -import { OramaClient } from '@oramacloud/client' -import '@orama/searchbox/dist/index.css' - -const oramaInstance = new OramaClient({ - // The search endpoint for the Orama index - endpoint: 'https://cloud.orama.run/v1/indexes/tanstack-dev-ur0ppd', - // The public API key for performing search. This is commit-safe. - api_key: 'xqfn8QcuImADRGPIlhWTo9cT5UNiqPDj', -}) - -export const searchBoxParams: RegisterSearchBoxProps = { - oramaInstance, - colorScheme: 'system', - backdrop: true, +export const searchBoxParams = { + index: { + api_key: 'xqfn8QcuImADRGPIlhWTo9cT5UNiqPDj', + endpoint: 'https://cloud.orama.run/v1/indexes/tanstack-dev-ur0ppd', + }, + colorScheme: 'system' as "light" | "dark" | "system", facetProperty: 'category', - resultsMap: { + resultMap: { description: 'content', + section: 'category', }, + themeConfig: { - light: {}, - dark: { - '--backdrop-bg-color': '#0d103591', - }, + colors: { + light: {}, + dark: { + '--backdrop-background-color-primary': 'rgba(0, 0, 0, 0.7)', + }, + } }, - searchMode: 'hybrid', searchParams: { threshold: 0, }, } -export const searchButtonParams: RegisterSearchButtonProps = { +export const searchButtonParams = { colorScheme: 'system', - fullWidth: true, } diff --git a/app/routes/_libraries.tsx b/app/routes/_libraries.tsx index 2f1a682e..a381b374 100644 --- a/app/routes/_libraries.tsx +++ b/app/routes/_libraries.tsx @@ -9,7 +9,7 @@ import { import { CgClose, CgMenuLeft, CgMusicSpeaker } from 'react-icons/cg' import { MdLibraryBooks, MdSupport } from 'react-icons/md' import { twMerge } from 'tailwind-merge' -import { SearchBox } from '@orama/searchbox' +import { OramaSearchBox } from '@orama/react-components' import { sortBy } from '~/utils/utils' import logoColor100w from '~/images/logo-color-100w.png' import { @@ -46,6 +46,8 @@ function LibrariesLayout() { const [mounted, setMounted] = React.useState(false) + const [onSearchboxOpen, setOnSearchboxOpen] = React.useState(false) + React.useEffect(() => { setMounted(true) }, []) @@ -255,7 +257,9 @@ function LibrariesLayout() { {logo}
- + setOnSearchboxOpen(true)}> + Search +
@@ -278,7 +282,7 @@ function LibrariesLayout() {
{mounted ? (
- + setOnSearchboxOpen(false)} />
) : null}
diff --git a/package.json b/package.json index 7468630b..45c289f1 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "@octokit/graphql": "^7.0.2", "@octokit/rest": "^20.0.2", "@orama/searchbox": "1.0.0-rc42", + "@orama/react-components": "^0.0.22", "@oramacloud/client": "^1.2.2", "@remix-run/node": "^2.8.1", "@sentry/react": "^8.2.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 349d30ff..2fb65ccf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -26,6 +26,9 @@ importers: '@octokit/rest': specifier: ^20.0.2 version: 20.0.2 + '@orama/react-components': + specifier: ^0.0.22 + version: 0.0.22(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.3.3) '@orama/searchbox': specifier: 1.0.0-rc42 version: 1.0.0-rc42(@orama/highlight@0.1.6)(@orama/orama@2.0.16)(@oramacloud/client@1.2.2(typescript@5.3.3))(@preact/signals-core@1.6.0)(@preact/signals-react@2.0.1(react@18.3.1))(@r2wc/react-to-web-component@2.0.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react-markdown@6.0.3(@types/react@18.2.65)(react@18.3.1))(react-syntax-highlighter@15.5.0(react@18.3.1))(react@18.3.1)(typescript@5.3.3) @@ -1757,6 +1760,12 @@ packages: '@juggle/resize-observer@3.4.0': resolution: {integrity: sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA==} + '@lit-labs/ssr-dom-shim@1.2.1': + resolution: {integrity: sha512-wx4aBmgeGvFmOKucFKY+8VFJSYZxs9poN3SDNQFF6lT6NrQUnHiPB2PWz2sc4ieEcAaYYzN+1uWahEeTq2aRIQ==} + + '@lit/reactive-element@2.0.4': + resolution: {integrity: sha512-GFn91inaUa2oHLak8awSIigYz0cU0Payr1rcFsrkf5OJ5eSPxElyZfKh0f2p9FsTiZWXQdWGJeXZICEfXXYSXQ==} + '@mapbox/node-pre-gyp@1.0.11': resolution: {integrity: sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ==} hasBin: true @@ -1942,12 +1951,22 @@ packages: resolution: {integrity: sha512-7TNNhl5cRbBbGTH2pvw3D4LtA3C2cbM3nas+HMFtl0qvMkuECPtzJElJs7xq8aGCB3rI2KOSb8GwCT9cW9M7ow==} engines: {node: '>= 16.0.0'} + '@orama/orama@2.0.23': + resolution: {integrity: sha512-hb99eZAKW0KBaTyf8f7iV1yFIniQtkcs3sV5pooQ7mh33DCjTyeB39qUW8IHyBDFSs2rjLoePjW0CROvhb3rkw==} + engines: {node: '>= 16.0.0'} + '@orama/plugin-analytics@2.0.20': resolution: {integrity: sha512-pkvN8vf/rEgLwBQhp410toL504aWsvjlECRU0SsAqi3rWX+cf8rq/WnOQhxUR5MEsokK9PISOy1qDmyrcxLu5w==} '@orama/plugin-secure-proxy@2.0.20': resolution: {integrity: sha512-i90sBn2PPASx0S8aEbDasaFuj9uc0U/Ui1fQX2iTg/9VUAmYPt0DZCfhszQXOr84nCSCEKMd8BkeQmzuj/RmIg==} + '@orama/react-components@0.0.22': + resolution: {integrity: sha512-C6S3B5FU36BRdPAV62LdWHxeasyIvrDhH1KI67BY6H4NO/zFCI01ZbRhSLoVbAcjjMD20gOnq7nBZyx7ar+yPQ==} + peerDependencies: + react: ^17.0.0 || ^18.3.1 + react-dom: ^17.0.0 || ^18.3.1 + '@orama/searchbox@1.0.0-rc42': resolution: {integrity: sha512-16SOmyPtEzogp7NSpaM9wOcHuw/yJ1wYPaa7lg2W0oThkDryUxSngNGoXlLMrMLpPr6tbHDCBcQhK2Zuv6o0IQ==} peerDependencies: @@ -1962,9 +1981,15 @@ packages: react-markdown: ^9.0.1 react-syntax-highlighter: ^15.5.0 + '@orama/wc-components@0.0.22': + resolution: {integrity: sha512-cjD16y81iR/8L1z2AdAfht1/60wtwge6wowcfWA0GImR8fCOSGM1UrlmS2CFSLVcWcTlEcmLrzX/s+Hvj/365w==} + '@oramacloud/client@1.2.2': resolution: {integrity: sha512-f3LJpaNiYIFVt/jcN8Zujv8b3Oy+l2NZ3sSUahx+H/m586eU66VODf/at3/8Z+sjKN1JeTcaRik1pcLF9OvCqQ==} + '@oramacloud/client@1.3.10': + resolution: {integrity: sha512-8CJTZgFlOHMAVrixN22PdT9i4Go7qw4a75UWWDEexsZQas5Vbeyria3ZtnOXb9aeH5M2uYssz0255ctY8tHIaw==} + '@paralleldrive/cuid2@2.2.2': resolution: {integrity: sha512-ZOBkgDwEdoYVlSeRbYYXs0S9MejQofiVYoTbKzy/6GQa39/q5tQU2IX46+shYnUkpEl3wc+J6wRlar7r2EK2xA==} @@ -2063,6 +2088,9 @@ packages: react: '>= 16.8' react-dom: '>= 16.8' + '@phosphor-icons/webcomponents@2.1.5': + resolution: {integrity: sha512-JcvQkZxvcX2jK+QCclm8+e8HXqtdFW9xV4/kk2aL9Y3dJA2oQVt+pzbv1orkumz3rfx4K9mn9fDoMr1He1yr7Q==} + '@pkgjs/parseargs@0.11.0': resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} engines: {node: '>=14'} @@ -2455,6 +2483,17 @@ packages: resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==} engines: {node: '>=18'} + '@stencil/core@4.20.0': + resolution: {integrity: sha512-WPrTHFngvN081RY+dJPneKQLwnOFD60OMCOQGmmSHfCW0f4ujPMzzhwWU1gcSwXPWXz5O+8cBiiCaxAbJU7kAg==} + engines: {node: '>=16.0.0', npm: '>=7.10.0'} + hasBin: true + + '@stencil/store@2.0.16': + resolution: {integrity: sha512-ET3EByKlmNyTA8O+tcp5YWePOiVnPIiuoiIaxTrf3zFFVo7JWVsVoak9IE0UTn3MkIM0ubR9lgxvi70uN588/A==} + engines: {node: '>=12.0.0', npm: '>=6.0.0'} + peerDependencies: + '@stencil/core': '>=2.0.0 || >=3.0.0 || >= 4.0.0-beta.0 || >= 4.0.0' + '@tailwindcss/typography@0.5.13': resolution: {integrity: sha512-ADGcJ8dX21dVVHIwTRgzrcunY6YY9uSlAHHGVKvkA+vLc5qLwEszvKts40lx7z0qc4clpjclwLeK5rVCV2P/uw==} peerDependencies: @@ -2616,6 +2655,9 @@ packages: '@types/semver@7.5.8': resolution: {integrity: sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==} + '@types/trusted-types@2.0.7': + resolution: {integrity: sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==} + '@types/unist@2.0.10': resolution: {integrity: sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==} @@ -3613,6 +3655,9 @@ packages: resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==} engines: {node: '>= 4'} + dompurify@3.1.6: + resolution: {integrity: sha512-cTOAhc36AalkjtBpfG6O8JimdTMWNXjiePT2xQH/ppBGi/4uIpmj8eKyIkMJErXWARyINV/sB38yf8JCLF5pbQ==} + domutils@3.1.0: resolution: {integrity: sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==} @@ -4232,6 +4277,10 @@ packages: highlight.js@10.7.3: resolution: {integrity: sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==} + highlight.js@11.10.0: + resolution: {integrity: sha512-SYVnVFswQER+zu1laSya563s+F8VDGt7o35d4utbamowvUNLLMovFqwCLSocpZTz3MgaSRA1IbqRWZv97dtErQ==} + engines: {node: '>=12.0.0'} + hoist-non-react-statics@3.3.2: resolution: {integrity: sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==} @@ -4676,10 +4725,22 @@ 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==} + listhen@1.7.2: resolution: {integrity: sha512-7/HamOm5YD9Wb7CFgAZkKgVPA96WwhcTQoqtm2VTZGVbVVn3IWKRBTgrU7cchA3Q8k9iCsG8Osoi9GX4JsGM9g==} hasBin: true + lit-element@4.1.0: + resolution: {integrity: sha512-gSejRUQJuMQjV2Z59KAS/D4iElUhwKpIyJvZ9w+DIagIQjfJnhR20h2Q5ddpzXGS+fF0tMZ/xEYGMnKmaI/iww==} + + lit-html@3.2.0: + resolution: {integrity: sha512-pwT/HwoxqI9FggTrYVarkBKFN9MlTUpLrDHubTmW4SrkL3kkqW5gxwbxMMUnbbRHBC0WTZnYHcjDSCM559VyfA==} + + lit@3.2.0: + resolution: {integrity: sha512-s6tI33Lf6VpDu7u4YqsSX78D28bYQulM+VAzsGch4fx2H0eLZnJsUBsPWmGYSGoKDNbjtRv02rio1o+UdPVwvw==} + load-json-file@4.0.0: resolution: {integrity: sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==} engines: {node: '>=4'} @@ -4763,6 +4824,10 @@ packages: resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} engines: {node: '>=8'} + 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'} @@ -4779,6 +4844,11 @@ packages: peerDependencies: marked: '>=13 <14' + marked-highlight@2.1.4: + resolution: {integrity: sha512-D1GOkcdzP+1dzjoColL7umojefFrASDuLeyaHS0Zr/Uo9jkr1V6vpLRCzfi1djmEaWyK0SYMFtHnpkZ+cwFT1w==} + peerDependencies: + marked: '>=4 <15' + marked@13.0.2: resolution: {integrity: sha512-J6CPjP8pS5sgrRqxVRvkCIkZ6MFdRIjDkwUwgJ9nL2fbmM6qGQeB2C16hi8Cc9BOzj6xXzy0jyi0iPIfnMHYzA==} engines: {node: '>= 18'} @@ -4799,6 +4869,9 @@ packages: mdurl@1.0.1: resolution: {integrity: sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==} + mdurl@2.0.0: + resolution: {integrity: sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==} + memoize-one@5.2.1: resolution: {integrity: sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q==} @@ -5340,6 +5413,10 @@ packages: proxy-from-env@1.1.0: resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} + punycode.js@2.3.1: + resolution: {integrity: sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==} + engines: {node: '>=6'} + punycode@2.3.1: resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} engines: {node: '>=6'} @@ -5763,6 +5840,9 @@ packages: sprintf-js@1.0.3: resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} + sse.js@2.5.0: + resolution: {integrity: sha512-I7zYndqOOkNpz9KIdFZ8c8A7zs1YazNewBr8Nsi/tqThfJkVPuP1q7UE2h4B0RwoWZxbBYpd06uoW3NI3SaZXg==} + standard-as-callback@2.1.0: resolution: {integrity: sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==} @@ -6056,6 +6136,9 @@ packages: engines: {node: '>=14.17'} hasBin: true + 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==} @@ -8117,6 +8200,12 @@ snapshots: '@juggle/resize-observer@3.4.0': {} + '@lit-labs/ssr-dom-shim@1.2.1': {} + + '@lit/reactive-element@2.0.4': + dependencies: + '@lit-labs/ssr-dom-shim': 1.2.1 + '@mapbox/node-pre-gyp@1.0.11': dependencies: detect-libc: 2.0.3 @@ -8334,6 +8423,8 @@ snapshots: '@orama/orama@2.0.20': {} + '@orama/orama@2.0.23': {} + '@orama/plugin-analytics@2.0.20': dependencies: '@orama/orama': 2.0.20 @@ -8345,6 +8436,15 @@ snapshots: - encoding - typescript + '@orama/react-components@0.0.22(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.3.3)': + dependencies: + '@orama/wc-components': 0.0.22(typescript@5.3.3) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + transitivePeerDependencies: + - encoding + - typescript + '@orama/searchbox@1.0.0-rc42(@orama/highlight@0.1.6)(@orama/orama@2.0.16)(@oramacloud/client@1.2.2(typescript@5.3.3))(@preact/signals-core@1.6.0)(@preact/signals-react@2.0.1(react@18.3.1))(@r2wc/react-to-web-component@2.0.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react-markdown@6.0.3(@types/react@18.2.65)(react@18.3.1))(react-syntax-highlighter@15.5.0(react@18.3.1))(react@18.3.1)(typescript@5.3.3)': dependencies: '@orama/highlight': 0.1.6 @@ -8369,6 +8469,24 @@ snapshots: - encoding - typescript + '@orama/wc-components@0.0.22(typescript@5.3.3)': + dependencies: + '@orama/orama': 2.0.23 + '@oramacloud/client': 1.3.10(typescript@5.3.3) + '@phosphor-icons/webcomponents': 2.1.5 + '@stencil/core': 4.20.0 + '@stencil/store': 2.0.16(@stencil/core@4.20.0) + dompurify: 3.1.6 + highlight.js: 11.10.0 + markdown-it: 14.1.0 + marked: 13.0.2 + marked-highlight: 2.1.4(marked@13.0.2) + shiki: 1.10.3 + sse.js: 2.5.0 + transitivePeerDependencies: + - encoding + - typescript + '@oramacloud/client@1.2.2(typescript@5.3.3)': dependencies: '@orama/orama': 2.0.20 @@ -8381,6 +8499,18 @@ snapshots: - encoding - typescript + '@oramacloud/client@1.3.10(typescript@5.3.3)': + dependencies: + '@orama/orama': 2.0.23 + '@paralleldrive/cuid2': 2.2.2 + lodash: 4.17.21 + openai: 4.51.0 + react: 18.3.1 + vue: 3.4.26(typescript@5.3.3) + transitivePeerDependencies: + - encoding + - typescript + '@paralleldrive/cuid2@2.2.2': dependencies: '@noble/hashes': 1.4.0 @@ -8456,6 +8586,10 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) + '@phosphor-icons/webcomponents@2.1.5': + dependencies: + lit: 3.2.0 + '@pkgjs/parseargs@0.11.0': optional: true @@ -8820,6 +8954,12 @@ snapshots: '@sindresorhus/merge-streams@2.3.0': {} + '@stencil/core@4.20.0': {} + + '@stencil/store@2.0.16(@stencil/core@4.20.0)': + dependencies: + '@stencil/core': 4.20.0 + '@tailwindcss/typography@0.5.13(tailwindcss@3.4.1)': dependencies: lodash.castarray: 4.4.0 @@ -9061,6 +9201,8 @@ snapshots: '@types/semver@7.5.8': {} + '@types/trusted-types@2.0.7': {} + '@types/unist@2.0.10': {} '@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.3.3))(eslint@8.57.0)(typescript@5.3.3)': @@ -10266,6 +10408,8 @@ snapshots: dependencies: domelementtype: 2.3.0 + dompurify@3.1.6: {} + domutils@3.1.0: dependencies: dom-serializer: 2.0.0 @@ -11164,6 +11308,8 @@ snapshots: highlight.js@10.7.3: {} + highlight.js@11.10.0: {} + hoist-non-react-statics@3.3.2: dependencies: react-is: 16.13.1 @@ -11577,6 +11723,10 @@ snapshots: lines-and-columns@1.2.4: {} + linkify-it@5.0.0: + dependencies: + uc.micro: 2.1.0 + listhen@1.7.2: dependencies: '@parcel/watcher': 2.4.1 @@ -11600,6 +11750,22 @@ snapshots: transitivePeerDependencies: - uWebSockets.js + lit-element@4.1.0: + dependencies: + '@lit-labs/ssr-dom-shim': 1.2.1 + '@lit/reactive-element': 2.0.4 + lit-html: 3.2.0 + + lit-html@3.2.0: + dependencies: + '@types/trusted-types': 2.0.7 + + lit@3.2.0: + dependencies: + '@lit/reactive-element': 2.0.4 + lit-element: 4.1.0 + lit-html: 3.2.0 + load-json-file@4.0.0: dependencies: graceful-fs: 4.2.11 @@ -11681,6 +11847,15 @@ snapshots: dependencies: semver: 6.3.1 + 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 @@ -11694,6 +11869,10 @@ snapshots: github-slugger: 2.0.0 marked: 13.0.2 + marked-highlight@2.1.4(marked@13.0.2): + dependencies: + marked: 13.0.2 + marked@13.0.2: {} mdast-util-definitions@4.0.0: @@ -11725,6 +11904,8 @@ snapshots: mdurl@1.0.1: {} + mdurl@2.0.0: {} + memoize-one@5.2.1: {} memorystream@0.3.1: {} @@ -12315,6 +12496,8 @@ snapshots: proxy-from-env@1.1.0: {} + punycode.js@2.3.1: {} + punycode@2.3.1: {} qss@3.0.0: {} @@ -12834,6 +13017,8 @@ snapshots: sprintf-js@1.0.3: {} + sse.js@2.5.0: {} + standard-as-callback@2.1.0: {} statuses@2.0.1: {} @@ -13164,6 +13349,8 @@ snapshots: typescript@5.3.3: {} + uc.micro@2.1.0: {} + ufo@1.5.3: {} unbox-primitive@1.0.2: