From 84574ab361461dfd7c8311de7002b5c1a7de4631 Mon Sep 17 00:00:00 2001 From: mvm Date: Mon, 10 Aug 2026 15:20:49 -0500 Subject: [PATCH 1/8] chore: point nimbus-docs at PR #76 preview build Tests the astro-icon replacement PR in cloudflare/nimbus#76. Uses pkg.pr.new preview build from commit acfac20. --- package.json | 2 +- pnpm-lock.yaml | 144 ++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 131 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 6e80d0c4602..6f1c94193f2 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "@astrojs/sitemap": "3.7.3", "@base-ui/react": "1.6.0", "@cloudflare/ai-search-snippet": "0.0.43", - "@cloudflare/nimbus-docs": "0.8.2", + "@cloudflare/nimbus-docs": "https://pkg.pr.new/@cloudflare/nimbus-docs@76", "@cloudflare/vitest-pool-workers": "0.18.8", "@cloudflare/workers-types": "5.20260727.1", "@eslint/js": "9.39.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e9f1fb15376..aef39a16c53 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -51,8 +51,8 @@ importers: specifier: 0.0.43 version: 0.0.43 '@cloudflare/nimbus-docs': - specifier: 0.8.2 - version: 0.8.2(astro@7.1.4(@astrojs/markdown-remark@7.2.1(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.2)(@types/node@26.1.2)(jiti@2.7.0)(rollup@4.62.2)(tsx@4.23.1)(yaml@2.9.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(supports-color@10.2.2) + specifier: https://pkg.pr.new/@cloudflare/nimbus-docs@76 + version: https://pkg.pr.new/@cloudflare/nimbus-docs@76(astro@7.1.4(@astrojs/markdown-remark@7.2.1(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.2)(@types/node@26.1.2)(jiti@2.7.0)(rollup@4.62.2)(tsx@4.23.1)(yaml@2.9.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(supports-color@10.2.2) '@cloudflare/vitest-pool-workers': specifier: 0.18.8 version: 0.18.8(@cloudflare/workers-types@5.20260727.1)(@vitest/runner@4.1.10)(@vitest/snapshot@4.1.10)(vitest@4.1.10(@types/node@26.1.2)(happy-dom@20.11.1)(vite@8.1.5(@types/node@26.1.2)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0))) @@ -719,12 +719,13 @@ packages: resolution: {integrity: sha512-jxQYkj8dSIzc0cD6cMMNdOc1UVjqSqu8BZdor5s8cGjW2I8BjODt/kWPVdY+u9zj3ms75Q5qaZgnxUad83+eAg==} engines: {node: '>=22.0.0'} - '@cloudflare/nimbus-docs@0.8.2': - resolution: {integrity: sha512-SLrU2xeXIHQYxhZAivpQWqEHk+egwPAuCPffdEMI4qUANAccP9jV6MPdP4s57xwXaD3TP2URSMI28fGH9kkywg==} + '@cloudflare/nimbus-docs@https://pkg.pr.new/@cloudflare/nimbus-docs@76': + resolution: {integrity: sha512-IhIkj0wNr0Q9kXa+ppggIZiw/Mgfa8AwVt7qv1DDi41cgH1G5jwcgBI8oG1vv7LGtOxoiA7yl6vymblS90tDcQ==, tarball: https://pkg.pr.new/@cloudflare/nimbus-docs@76} + version: 0.9.0 engines: {node: '>=22.12.0'} hasBin: true peerDependencies: - astro: ^7.0.0 + astro: '>=7.0.0 <7.1.0' react: '>=19.0.0' react-dom: '>=19.0.0' peerDependenciesMeta: @@ -823,6 +824,9 @@ packages: resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} engines: {node: '>=12'} + '@cyberalien/svg-utils@1.2.19': + resolution: {integrity: sha512-paDJoDu+LhuH5Ma1q0BDqBpg6d16Xk22cZZrlg/s/J9oB8KgnnpU/snaEETJu2G1pwYcWQINUz6WUqu0Wm9k6A==} + '@emmetio/abbreviation@2.3.3': resolution: {integrity: sha512-mgv58UrU3rh4YgbE/TzgLQwJ3pFsHHhCLqY20aJq+9comytTXUDNGG/SMtSeMJdkpxgXSXunBGLD8Boka3JyVA==} @@ -1181,6 +1185,9 @@ packages: '@iconify/tools@4.2.0': resolution: {integrity: sha512-WRxPva/ipxYkqZd1+CkEAQmd86dQmrwH0vwK89gmp2Kh2WyyVw57XbPng0NehP3x4V1LzLsXUneP1uMfTMZmUA==} + '@iconify/tools@5.0.12': + resolution: {integrity: sha512-aFPwSFmFphUPVjNLUkgxgUPSPVgTEEjv0mE7NgvfoQBuE5TtsMrKa4HTY65cM5oXZ2a1xKQcW/RKhiOKEiAarw==} + '@iconify/types@2.0.0': resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==} @@ -1914,34 +1921,62 @@ packages: resolution: {integrity: sha512-ANMDxuaPsNMdDC1m4vfvhlDmJweMwkE5XitTwrq2rWHx5jM+dlm4MmHt2PP6t0uejfR77SuhrhJ0zEijIF/uhA==} engines: {node: '>=20'} + '@shikijs/core@4.4.2': + resolution: {integrity: sha512-StyzbAyxg2/tBGf78gwbBkGyeQ73lf8UiJArFaQhTQIDqQOCKPCQFanvrs4/Yv3Yfyc+ONInJM6K+FMIf+P+kA==} + engines: {node: '>=20'} + '@shikijs/engine-javascript@4.3.1': resolution: {integrity: sha512-JBItcnPuYq7jVJdZo/vMj94r+szT7XEjHFX+mvFDGSEIbVAXAGyHAHzhbWzpGOwYidCZrErJLLgn2PVeiokHnQ==} engines: {node: '>=20'} + '@shikijs/engine-javascript@4.4.2': + resolution: {integrity: sha512-MnIkeqWdVPUWsxlx8gKLVCJFTsqrQJgpTPBPpQwaFeJ56lOnJxj5aN2LUFnfxUEcvOQuNocmbaMnVrCEln6rkw==} + engines: {node: '>=20'} + '@shikijs/engine-oniguruma@4.3.1': resolution: {integrity: sha512-OXyNMzg0pews+msMj4cHeqT4xiYKKvbnn6VbdAXxfoFl3SSx4fJTc8FadECuc5/H9p3BzhNAoAUXKwAu9rWYhg==} engines: {node: '>=20'} + '@shikijs/engine-oniguruma@4.4.2': + resolution: {integrity: sha512-GLhowz1+jixjz+wiZ3wMnOn1jTxiFCGl2PkXufivbnwPHKuyw1AYqu5/hbWhZZ2oAb0NP05WUJhYeigY14drnw==} + engines: {node: '>=20'} + '@shikijs/langs@4.3.1': resolution: {integrity: sha512-m0l9nsDqgBHvbZbk7A0/kXz/impK3uB/c6rAn6Gpg/uPtdZRQ+alsN/17MU5thb68XTj/4DxkZAotrM0GGSpDQ==} engines: {node: '>=20'} + '@shikijs/langs@4.4.2': + resolution: {integrity: sha512-8DfeusD+Zdv/eYIDdXyJTUnSMHt+aAWjAOCXV20HNGAHRlInXpG8wh421v6B91WOm9TFwRLN+b/LG5F2NAIojg==} + engines: {node: '>=20'} + '@shikijs/primitive@4.3.1': resolution: {integrity: sha512-CXQRQOYy1leqQ8ceTeJdmXv/bsUY++6QyLpXJ94LZAAYj5X2SKRdc5ipguv4NPyGVKItB2PPwUpRNe0Sjh5S1A==} engines: {node: '>=20'} + '@shikijs/primitive@4.4.2': + resolution: {integrity: sha512-l6fQQKsOMlz72n38fztmSgZ76MO6KSWuw8o+GJ+FhmqrpC9pIOJNQNXGgbb5yX2AwpzlEHwsaLPnk/8o4Fm+rA==} + engines: {node: '>=20'} + '@shikijs/themes@4.3.1': resolution: {integrity: sha512-dgpoJ4WqNi2yTmizQHBJ5zcX6j2lE6icN/0yt4l1kkf16jrY/pwPLoTb1ETsWMz0OBLf9ZNvwmxft+cH+N9qSA==} engines: {node: '>=20'} - '@shikijs/transformers@4.3.1': - resolution: {integrity: sha512-z6ir0bGDgWcF2FduktEfPgIsdOtIlDiLAjFBgBzE42Q9xHbkkIXZtORHzlLVB71iZP9elEcqKg6keajvOUwE2A==} + '@shikijs/themes@4.4.2': + resolution: {integrity: sha512-H0CFoL07ddDC2Dd6EdrPYNkRhUR6YCkJlnuYFceYYUJJA5TIm2b5B33qqiDYryBExgbKMndFJPb2u1gTuqO37g==} + engines: {node: '>=20'} + + '@shikijs/transformers@4.4.2': + resolution: {integrity: sha512-d81PJ9KkR1tVP95FH/9296HTtDo0mh76wv10u9T1YmsZq/UcXgt0OLdBszfUQ1i+umkRMCjDnFbFZU7/tCODTQ==} engines: {node: '>=20'} '@shikijs/types@4.3.1': resolution: {integrity: sha512-CHFxE0jztBIZRHH6gxXE7DXUCFXjReEGxZ/j0rfSLGKZuwp2xBYycEP14875DSa9KLL/6700oxIq6oO6ef9K2g==} engines: {node: '>=20'} + '@shikijs/types@4.4.2': + resolution: {integrity: sha512-PFYitV4vpDr/iPCIhnHp+Q4ftic5N5VeNJ3KQ1O8gn3h2ar8qgwMAXF7tq4m1CWaMS60fV4VqF6vfnWH4F7vqQ==} + engines: {node: '>=20'} + '@shikijs/vscode-textmate@10.0.2': resolution: {integrity: sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==} @@ -3519,6 +3554,9 @@ packages: picomatch: optional: true + fflate@0.8.3: + resolution: {integrity: sha512-tbZNuJrLwGUp3zshBtdy4W+ORxZuIh8a5ilyIEQDC5rY1f3U20JMry0Ll3WBzU58EZKsEuJFXhb5gwv8CsPvgA==} + file-entry-cache@8.0.0: resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} engines: {node: '>=16.0.0'} @@ -4423,6 +4461,10 @@ packages: mlly@1.8.2: resolution: {integrity: sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA==} + modern-tar@0.7.7: + resolution: {integrity: sha512-t9VmxaqrmANnEOBhpSDI6HD192Ge48k8vmWqQQL7hSFEqHEYwZbbsu49+aKLWZeRvFs3j1pMhXOqqF4kPlvjkQ==} + engines: {node: '>=18.0.0'} + mri@1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} engines: {node: '>=4'} @@ -5094,6 +5136,10 @@ packages: resolution: {integrity: sha512-oR+qDVi2OjX1tmDpyv+3KviX01KzO6Af+0NNnKnsp9491UEGz2YpxTuJboS/6VhYpTdqzmuJBuiTlrAWWJAssw==} engines: {node: '>=20'} + shiki@4.4.2: + resolution: {integrity: sha512-P8F/dFhRevaw2uSdeIYlq/5SXZNY85DPtmXQ947gD1Zj2JqO5AkNvVVBar0Me9JkFx3uzVud/qOtP5ek9NEQGA==} + engines: {node: '>=20'} + side-channel-list@1.0.1: resolution: {integrity: sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==} engines: {node: '>= 0.4'} @@ -6482,14 +6528,17 @@ snapshots: '@cloudflare/kv-asset-handler@0.5.0': {} - '@cloudflare/nimbus-docs@0.8.2(astro@7.1.4(@astrojs/markdown-remark@7.2.1(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.2)(@types/node@26.1.2)(jiti@2.7.0)(rollup@4.62.2)(tsx@4.23.1)(yaml@2.9.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(supports-color@10.2.2)': + '@cloudflare/nimbus-docs@https://pkg.pr.new/@cloudflare/nimbus-docs@76(astro@7.1.4(@astrojs/markdown-remark@7.2.1(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.2)(@types/node@26.1.2)(jiti@2.7.0)(rollup@4.62.2)(tsx@4.23.1)(yaml@2.9.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(supports-color@10.2.2)': dependencies: '@astrojs/markdown-satteri': 0.3.4 '@astrojs/mdx': 7.0.4(@astrojs/markdown-satteri@0.3.4)(astro@7.1.4(@astrojs/markdown-remark@7.2.1(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.2)(@types/node@26.1.2)(jiti@2.7.0)(rollup@4.62.2)(tsx@4.23.1)(yaml@2.9.0))(supports-color@10.2.2) '@astrojs/sitemap': 3.7.3 '@clack/prompts': 0.9.1 - '@shikijs/transformers': 4.3.1 - '@shikijs/types': 4.3.1 + '@iconify/tools': 5.0.12 + '@iconify/types': 2.0.0 + '@iconify/utils': 3.1.4 + '@shikijs/transformers': 4.4.2 + '@shikijs/types': 4.4.2 '@vercel/detect-agent': 1.2.3 astro: 7.1.4(@astrojs/markdown-remark@7.2.1(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.2)(@types/node@26.1.2)(jiti@2.7.0)(rollup@4.62.2)(tsx@4.23.1)(yaml@2.9.0) clsx: 2.1.1 @@ -6506,7 +6555,7 @@ snapshots: remark-lint-no-multiple-toplevel-headings: 4.0.1(supports-color@10.2.2) remark-lint-unordered-list-marker-style: 4.0.1 satteri: 0.9.5 - shiki: 4.3.1 + shiki: 4.4.2 tailwind-merge: 3.6.0 unified: 11.0.5 vfile: 6.0.3 @@ -6593,6 +6642,10 @@ snapshots: dependencies: '@jridgewell/trace-mapping': 0.3.9 + '@cyberalien/svg-utils@1.2.19': + dependencies: + '@iconify/types': 2.0.0 + '@emmetio/abbreviation@2.3.3': dependencies: '@emmetio/scanner': 1.0.4 @@ -6918,6 +6971,16 @@ snapshots: transitivePeerDependencies: - supports-color + '@iconify/tools@5.0.12': + dependencies: + '@cyberalien/svg-utils': 1.2.19 + '@iconify/types': 2.0.0 + '@iconify/utils': 3.1.4 + fflate: 0.8.3 + modern-tar: 0.7.7 + pathe: 2.0.3 + svgo: 4.0.2 + '@iconify/types@2.0.0': {} '@iconify/utils@2.3.0(supports-color@10.2.2)': @@ -7505,41 +7568,79 @@ snapshots: '@types/hast': 3.0.5 hast-util-to-html: 9.0.5 + '@shikijs/core@4.4.2': + dependencies: + '@shikijs/primitive': 4.4.2 + '@shikijs/types': 4.4.2 + '@shikijs/vscode-textmate': 10.0.2 + '@types/hast': 3.0.5 + hast-util-to-html: 9.0.5 + '@shikijs/engine-javascript@4.3.1': dependencies: '@shikijs/types': 4.3.1 '@shikijs/vscode-textmate': 10.0.2 oniguruma-to-es: 4.3.6 + '@shikijs/engine-javascript@4.4.2': + dependencies: + '@shikijs/types': 4.4.2 + '@shikijs/vscode-textmate': 10.0.2 + oniguruma-to-es: 4.3.6 + '@shikijs/engine-oniguruma@4.3.1': dependencies: '@shikijs/types': 4.3.1 '@shikijs/vscode-textmate': 10.0.2 + '@shikijs/engine-oniguruma@4.4.2': + dependencies: + '@shikijs/types': 4.4.2 + '@shikijs/vscode-textmate': 10.0.2 + '@shikijs/langs@4.3.1': dependencies: '@shikijs/types': 4.3.1 + '@shikijs/langs@4.4.2': + dependencies: + '@shikijs/types': 4.4.2 + '@shikijs/primitive@4.3.1': dependencies: '@shikijs/types': 4.3.1 '@shikijs/vscode-textmate': 10.0.2 '@types/hast': 3.0.5 + '@shikijs/primitive@4.4.2': + dependencies: + '@shikijs/types': 4.4.2 + '@shikijs/vscode-textmate': 10.0.2 + '@types/hast': 3.0.5 + '@shikijs/themes@4.3.1': dependencies: '@shikijs/types': 4.3.1 - '@shikijs/transformers@4.3.1': + '@shikijs/themes@4.4.2': dependencies: - '@shikijs/core': 4.3.1 - '@shikijs/types': 4.3.1 + '@shikijs/types': 4.4.2 + + '@shikijs/transformers@4.4.2': + dependencies: + '@shikijs/core': 4.4.2 + '@shikijs/types': 4.4.2 '@shikijs/types@4.3.1': dependencies: '@shikijs/vscode-textmate': 10.0.2 '@types/hast': 3.0.5 + '@shikijs/types@4.4.2': + dependencies: + '@shikijs/vscode-textmate': 10.0.2 + '@types/hast': 3.0.5 + '@shikijs/vscode-textmate@10.0.2': {} '@sindresorhus/is@7.2.0': {} @@ -9463,6 +9564,8 @@ snapshots: optionalDependencies: picomatch: 4.0.5 + fflate@0.8.3: {} + file-entry-cache@8.0.0: dependencies: flat-cache: 4.0.1 @@ -10715,6 +10818,8 @@ snapshots: pkg-types: 1.3.1 ufo: 1.6.4 + modern-tar@0.7.7: {} + mri@1.2.0: {} mrmime@2.0.1: {} @@ -11633,6 +11738,17 @@ snapshots: '@shikijs/vscode-textmate': 10.0.2 '@types/hast': 3.0.5 + shiki@4.4.2: + dependencies: + '@shikijs/core': 4.4.2 + '@shikijs/engine-javascript': 4.4.2 + '@shikijs/engine-oniguruma': 4.4.2 + '@shikijs/langs': 4.4.2 + '@shikijs/themes': 4.4.2 + '@shikijs/types': 4.4.2 + '@shikijs/vscode-textmate': 10.0.2 + '@types/hast': 3.0.5 + side-channel-list@1.0.1: dependencies: es-errors: 1.3.0 From 7850a5d7d181357511b3ff7714c88ab1630f25b0 Mon Sep 17 00:00:00 2001 From: mvm Date: Mon, 10 Aug 2026 15:30:48 -0500 Subject: [PATCH 2/8] chore: remove astro-icon, use nimbus-docs Icon component - Replace all astro-icon imports with @cloudflare/nimbus-docs/components/Icon.astro - Collapse AstroIcon alias to Icon (they were the same component) - Update virtual:astro-icon to virtual:nimbus/icons in directory.astro - Remove astro-icon from astro.config.ts and package.json - Point @cloudflare/nimbus-docs at PR #76 preview build --- astro.config.ts | 10 +- package.json | 1 - pnpm-lock.yaml | 311 ------------------ src/components.ts | 2 +- src/components/AiSearchIndexingDiagram.astro | 24 +- .../AiSearchNamespacesDiagram.astro | 10 +- src/components/AiSearchOverviewDiagram.astro | 8 +- src/components/AiSearchQueryingDiagram.astro | 20 +- src/components/AiSearchVoiceDiagram.astro | 4 +- .../ArtifactsCIWorkflowDiagram.astro | 6 +- src/components/Header.astro | 2 +- src/components/ProductCard.astro | 2 +- src/components/agent-setup/Accordion.astro | 2 +- src/components/agent-setup/AgentHeader.astro | 2 +- .../agent-setup/BuildAgentsCallout.astro | 2 +- .../agent-setup/CatalogWithFilter.astro | 2 +- src/components/agent-setup/OtherAgents.astro | 2 +- .../cf/MeshHostnameRoutingDiagram.astro | 10 +- src/components/cf/RSSButton.astro | 4 +- src/components/cf/RelatedProduct.astro | 4 +- src/components/cf/WARPRelease.astro | 2 +- .../cf/WorkersVPCEgressDiagram.astro | 8 +- .../cf/WorkersVPCOverviewDiagram.astro | 12 +- src/components/changelog/Header.astro | 2 +- src/components/directory/Directory.astro | 2 +- src/components/landing/BuildFromScratch.astro | 2 +- src/components/landing/ChangelogSection.astro | 2 +- src/components/landing/TabBar.astro | 2 +- src/components/landing/ViewAllLink.astro | 2 +- src/components/models/ModelCard.astro | 2 +- src/components/ui/aside/Aside.astro | 2 +- src/components/ui/banner/Banner.astro | 2 +- src/components/ui/button/Button.astro | 4 +- src/components/ui/card/Card.astro | 2 +- src/components/ui/checkbox/Checkbox.astro | 2 +- src/components/ui/combobox/Combobox.astro | 2 +- .../ui/combobox/ComboboxOption.astro | 2 +- src/components/ui/file-tree/FileTree.astro | 2 +- .../ui/link-button/LinkButton.astro | 2 +- .../ui/package-managers/PackageManagers.astro | 2 +- .../package-managers.client.ts | 2 +- .../ui/page-actions/PageActionLinks.astro | 2 +- .../ui/page-actions/PageActions.astro | 2 +- src/components/ui/pagination/Pagination.astro | 2 +- .../ui/scroll-to-top/ScrollToTop.astro | 2 +- src/components/ui/sidebar/SidebarGroup.astro | 4 +- .../ui/sidebar/SidebarProductNav.astro | 2 +- .../ui/theme-toggle/ThemeToggle.astro | 2 +- src/components/ui/toc/MobileTOC.astro | 2 +- src/content/docs/browser-run/index.mdx | 1 - .../docs/style-guide/components/icons.mdx | 8 +- .../style-guide/components/rss-button.mdx | 2 +- src/layouts/DocsLayout.astro | 2 +- src/pages/agent-setup/index.astro | 2 +- src/pages/changelog/post/[...slug].astro | 2 +- src/pages/directory.astro | 3 +- src/pages/index.astro | 2 +- 57 files changed, 106 insertions(+), 422 deletions(-) diff --git a/astro.config.ts b/astro.config.ts index 6904eb1591c..d2a87c17344 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -4,7 +4,6 @@ import { fileURLToPath } from "node:url"; import { defineConfig } from "astro/config"; import react from "@astrojs/react"; import tailwindcss from "@tailwindcss/vite"; -import icon from "astro-icon"; import skills from "astro-skills"; import nimbus, { defineConfig as defineNimbusConfig, @@ -106,8 +105,8 @@ const iconAlias = { if (!pathOnly?.endsWith(".mdx") && !pathOnly?.endsWith(".md")) return null; if (!/icon\s*=/.test(code)) return null; - // Starlight ships a native `seti:` file-icon set; Nimbus routes icons - // through astro-icon, which has no `seti` set. Map every `seti:` name the + // Starlight ships a native `seti:` file-icon set; Nimbus's icon system + // has no `seti` set. Map every `seti:` name the // shared content uses onto an installed set (vscode-icons / ph / // simple-icons). The substitute glyphs differ visually from Starlight's // seti set — a parity item tracked for the parity gate (Epic F), not a @@ -141,8 +140,8 @@ const iconAlias = { plan: "ph:file-text", }; // Bare icon names (no set prefix) resolve against Starlight's built-in - // icon set in the default build; under Nimbus they go through astro-icon - // (local `src/icons` + installed iconify sets). Names not present locally + // icon set in the default build; under Nimbus they go through the Icon + // component (local `src/icons` + installed iconify sets). Names not present locally // are mapped here onto an installed set. Glyphs differ visually from // Starlight's — a parity item for the parity gate (Epic F). const BARE: Record = { @@ -204,7 +203,6 @@ const markdown = { }; const integrations = [ - icon(), react(), // Injects /.well-known/agent-skills/* routes (index.json, SKILL.md, tarballs). skills(), diff --git a/package.json b/package.json index 6f1c94193f2..ebd0effca67 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,6 @@ "@types/unist": "3.0.3", "@typescript-eslint/parser": "8.65.0", "astro": "^7.1.4", - "astro-icon": "1.1.5", "astro-skills": "0.1.1", "cidr-tools": "12.1.2", "clsx": "2.1.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index aef39a16c53..e70e2b5b25f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -143,9 +143,6 @@ importers: astro: specifier: ^7.1.4 version: 7.1.4(@astrojs/markdown-remark@7.2.1(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.2)(@types/node@26.1.2)(jiti@2.7.0)(rollup@4.62.2)(tsx@4.23.1)(yaml@2.9.0) - astro-icon: - specifier: 1.1.5 - version: 1.1.5(supports-color@10.2.2) astro-skills: specifier: 0.1.1 version: 0.1.1(astro@7.1.4(@astrojs/markdown-remark@7.2.1(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.2)(@types/node@26.1.2)(jiti@2.7.0)(rollup@4.62.2)(tsx@4.23.1)(yaml@2.9.0))(typescript@5.9.3) @@ -359,9 +356,6 @@ packages: '@antfu/install-pkg@1.1.0': resolution: {integrity: sha512-MGQsmw10ZyI+EJo45CdSER4zEb+p31LpDAFp2Z3gkSd1yqVZGi0Ebx++YTEMonJy4oChEMLsxZ64j8FH6sSqtQ==} - '@antfu/utils@8.1.1': - resolution: {integrity: sha512-Mex9nXf9vR6AhcXmMrlz/HVgYYZpVGJ6YlPgwl7UnaFpnshXs6EK/oa5Gpf3CzENMjkvEx2tQtntGnb7UtSTOQ==} - '@apidevtools/json-schema-ref-parser@14.0.1': resolution: {integrity: sha512-Oc96zvmxx1fqoSEdUmfmvvb59/KDOnUoJ7s2t7bISyAn0XEz57LCCw8k2Y4Pf3mwKaZLMciESALORLgfe2frCw==} engines: {node: '>= 16'} @@ -1182,18 +1176,12 @@ packages: '@iconify-json/vscode-icons@1.2.67': resolution: {integrity: sha512-/fObxEkBtqK2e1qf1IRjuZ4drWknAnzykdT2ngGAKESf35tCcj0Lx3MdsxYBneE5YbgvsUfOl0hbZ59R5s19vw==} - '@iconify/tools@4.2.0': - resolution: {integrity: sha512-WRxPva/ipxYkqZd1+CkEAQmd86dQmrwH0vwK89gmp2Kh2WyyVw57XbPng0NehP3x4V1LzLsXUneP1uMfTMZmUA==} - '@iconify/tools@5.0.12': resolution: {integrity: sha512-aFPwSFmFphUPVjNLUkgxgUPSPVgTEEjv0mE7NgvfoQBuE5TtsMrKa4HTY65cM5oXZ2a1xKQcW/RKhiOKEiAarw==} '@iconify/types@2.0.0': resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==} - '@iconify/utils@2.3.0': - resolution: {integrity: sha512-GmQ78prtwYW6EtzXRU1rY+KwOKfz32PD7iJh6Iyqw68GiKuoZ2A6pRtzWONz5VQJbp50mEjXh/7NkumtrAgRKA==} - '@iconify/utils@3.1.4': resolution: {integrity: sha512-b1S7B1k9ohZ+iNTi2ATxbRYG9fTrJmUT0rc46bvVnNxqNRGW7dyo/vRREwyniI5IRN2RSJHDcm+s3BjWrSAjHw==} @@ -2309,9 +2297,6 @@ packages: '@types/ws@8.18.1': resolution: {integrity: sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==} - '@types/yauzl@2.10.3': - resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==} - '@typescript-eslint/eslint-plugin@8.65.0': resolution: {integrity: sha512-IEgob78X12rHpUmtcwFsXhZdVGJtwTVP8FiCLZkR6GlYVrl2PcuB+KhCE5BlVC/eQpQnu8WXRtkHZuPar+gCRA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -2586,9 +2571,6 @@ packages: resolution: {integrity: sha512-+QDcgc7e+au6EZ0YjMmRRjNoQo5bDMlaR45aWDoFsuxQTCM9qmCHRoiKJPELgckJ8Wmr7vcfpa9eCDHBFh6G4w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - astro-icon@1.1.5: - resolution: {integrity: sha512-CJYS5nWOw9jz4RpGWmzNQY7D0y2ZZacH7atL2K9DeJXJVaz7/5WrxeyIxO8KASk1jCM96Q4LjRx/F3R+InjJrw==} - astro-skills@0.1.1: resolution: {integrity: sha512-BS3XmG3OY6Uq9nOqc+DSH265220JxoG8mxMBXD+ZClcqDcuzm1Gll1wMI6U5bL/dr71ziyf+iAL8I0rNj1jisw==} peerDependencies: @@ -2671,9 +2653,6 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true - buffer-crc32@0.2.13: - resolution: {integrity: sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==} - buffer-image-size@0.6.4: resolution: {integrity: sha512-nEh+kZOPY1w+gcCMobZ6ETUp9WfibndnosbpwB1iJk/8Gt5ZF2bhS6+B6bPYz424KtwsR6Rflc3tCz1/ghX2dQ==} engines: {node: '>=4.0'} @@ -2723,13 +2702,6 @@ packages: character-reference-invalid@2.0.1: resolution: {integrity: sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==} - cheerio-select@2.1.0: - resolution: {integrity: sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==} - - cheerio@1.2.0: - resolution: {integrity: sha512-WDrybc/gKFpTYQutKIK6UvfcuxijIZfMfXaYm8NMsPQxSYvf+13fXUJ4rztGGbJcBQ/GF55gvrZ0Bc0bj/mqvg==} - engines: {node: '>=20.18.1'} - chokidar@4.0.3: resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==} engines: {node: '>= 14.16.0'} @@ -2806,12 +2778,6 @@ packages: concat-map@0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} - confbox@0.1.8: - resolution: {integrity: sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==} - - confbox@0.2.4: - resolution: {integrity: sha512-ysOGlgTFbN2/Y6Cg3Iye8YKulHw+R2fNXHrgSmXISQdMnomY6eNDprVdW9R5xBguEqI954+S6709UyiO7B+6OQ==} - content-type@2.0.0: resolution: {integrity: sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==} engines: {node: '>=18'} @@ -2857,10 +2823,6 @@ packages: resolution: {integrity: sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==} engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0, npm: '>=7.0.0'} - css-tree@2.3.1: - resolution: {integrity: sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==} - engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0} - css-tree@3.2.1: resolution: {integrity: sha512-X7sjQzceUhu1u7Y/ylrRZFU2FS6LRiFVp6rKLPg23y3x3c3DOKAwuXGDp+PAGjh6CSnCjYeAul8pcT8bAl+lSA==} engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0} @@ -3169,12 +3131,6 @@ packages: emoji-regex@9.2.2: resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} - encoding-sniffer@0.2.1: - resolution: {integrity: sha512-5gvq20T6vfpekVtqrYQsSCFZ1wEg5+wW0/QaZMWkFr6BqD3NfKs0rLCx4rrVlSWJeZb5NBJgVLswK/w2MWU+Gw==} - - end-of-stream@1.4.5: - resolution: {integrity: sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==} - enhanced-resolve@5.24.3: resolution: {integrity: sha512-PwKooW9JUzh5chmYfHM3IQl5OkK2u2Nm011MgeZrss3JmFraUx/fqrf78kk8GUMYoibx/14MdwTl/1WKkG7TpQ==} engines: {node: '>=10.13.0'} @@ -3496,17 +3452,9 @@ packages: resolution: {integrity: sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==} engines: {node: '>=12.0.0'} - exsolve@1.1.0: - resolution: {integrity: sha512-D+42+T12DdIlJM3uepa55qGiL3sYdLBOxIl2ifQCzCHz4c7eiolaHsi3BIqEr7JxBzxv2pYZQX9kw16ziMcEmw==} - extend@3.0.2: resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==} - extract-zip@2.0.1: - resolution: {integrity: sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==} - engines: {node: '>= 10.17.0'} - hasBin: true - fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} @@ -3542,9 +3490,6 @@ packages: fastq@1.20.1: resolution: {integrity: sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw==} - fd-slicer@1.1.0: - resolution: {integrity: sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==} - fdir@6.5.0: resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==} engines: {node: '>=12.0.0'} @@ -3644,10 +3589,6 @@ packages: resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==} engines: {node: '>= 0.4'} - get-stream@5.2.0: - resolution: {integrity: sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==} - engines: {node: '>=8'} - get-symbol-description@1.1.0: resolution: {integrity: sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==} engines: {node: '>= 0.4'} @@ -3675,10 +3616,6 @@ packages: resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} engines: {node: '>=18'} - globals@15.15.0: - resolution: {integrity: sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==} - engines: {node: '>=18'} - globals@16.5.0: resolution: {integrity: sha512-c/c15i26VrJ4IRt5Z89DnIzCGDn9EcebibhAOjw5ibqEHsE1wLUgkPn9RDmNcUKyU87GeaL633nyJ+pplFR2ZQ==} engines: {node: '>=18'} @@ -3787,9 +3724,6 @@ packages: html-void-elements@3.0.0: resolution: {integrity: sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==} - htmlparser2@10.1.0: - resolution: {integrity: sha512-VTZkM9GWRAtEpveh7MSF6SjjrpNVNNVJfFup7xTY3UpFtm67foy9HDVXneLtFVt4pMz5kZtgNcvCniNFb1hlEQ==} - http-cache-semantics@4.2.0: resolution: {integrity: sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ==} @@ -4074,9 +4008,6 @@ packages: resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==} engines: {node: '>=6'} - kolorist@1.8.0: - resolution: {integrity: sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==} - language-subtag-registry@0.3.23: resolution: {integrity: sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==} @@ -4176,10 +4107,6 @@ packages: engines: {node: '>=22.22.1'} hasBin: true - local-pkg@1.2.1: - resolution: {integrity: sha512-++gUqRDEvcnN6Zhqrr+y/CkVEHhlrR96vZn3nZZPYzMcBUyBtTKzB9NadClFIsIVSsu+3i9tfk/erqy9kAmt7Q==} - engines: {node: '>=14'} - locate-path@5.0.0: resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} engines: {node: '>=8'} @@ -4303,9 +4230,6 @@ packages: mdn-data@2.0.28: resolution: {integrity: sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==} - mdn-data@2.0.30: - resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==} - mdn-data@2.27.1: resolution: {integrity: sha512-9Yubnt3e8A0OKwxYSXyhLymGW4sCufcLG6VdiDdUGVkPhpqLxlvP5vl1983gQjJl3tqbrM731mjaZaP68AgosQ==} @@ -4458,9 +4382,6 @@ packages: resolution: {integrity: sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw==} engines: {node: '>= 18'} - mlly@1.8.2: - resolution: {integrity: sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA==} - modern-tar@0.7.7: resolution: {integrity: sha512-t9VmxaqrmANnEOBhpSDI6HD192Ge48k8vmWqQQL7hSFEqHEYwZbbsu49+aKLWZeRvFs3j1pMhXOqqF4kPlvjkQ==} engines: {node: '>=18.0.0'} @@ -4565,9 +4486,6 @@ packages: ohash@2.0.11: resolution: {integrity: sha512-RdR9FQrFwNBNXAr4GixM8YaRZRJ5PUWbKYbE5eOsrwAjJW0q2REGcf79oYPsLyskQCZG1PLN+S/K1V00joZAoQ==} - once@1.4.0: - resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} - oniguruma-parser@0.12.2: resolution: {integrity: sha512-6HVa5oIrgMC6aA6WF6XyyqbhRPJrKR02L20+2+zpDtO5QAzGHAUGw5TKQvwi5vctNnRHkJYmjAhRVQF2EKdTQw==} @@ -4645,12 +4563,6 @@ packages: parse-latin@7.0.0: resolution: {integrity: sha512-mhHgobPPua5kZ98EF4HWiH167JWBfl4pvAIXXdbaVohtK7a6YBOy56kvhCqduqyo/f3yrHFWmqmiMg/BkBkYYQ==} - parse5-htmlparser2-tree-adapter@7.1.0: - resolution: {integrity: sha512-ruw5xyKs6lrpo9x9rCZqZZnIUntICjQAd0Wsmp396Ul9lN/h+ifgVV1x1gZHi8euej6wTfpqX8j+BFQxF0NS/g==} - - parse5-parser-stream@7.1.2: - resolution: {integrity: sha512-JyeQc9iwFLn5TbvvqACIF/VXG6abODeB3Fwmv/TGdLk2LfbWkaySGY72at4+Ty7EkPZj854u4CrICqNk2qIbow==} - parse5@7.3.0: resolution: {integrity: sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==} @@ -4690,9 +4602,6 @@ packages: pathe@2.0.3: resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==} - pend@1.2.0: - resolution: {integrity: sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==} - piccolore@0.1.3: resolution: {integrity: sha512-o8bTeDWjE086iwKrROaDf31K0qC/BENdm15/uH9usSC/uZjJOKb2YGiVHfLY4GhwsERiPI1jmwI2XrA7ACOxVw==} @@ -4707,12 +4616,6 @@ packages: resolution: {integrity: sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==} engines: {node: '>=12'} - pkg-types@1.3.1: - resolution: {integrity: sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==} - - pkg-types@2.3.1: - resolution: {integrity: sha512-y+ichcgc2LrADuhLNAx8DFjVfgz91pRxfZdI3UDhxHvcVEZsenLO+7XaU5vOp0u/7V/wZ+plyuQxtrDlZJ+yeg==} - points-on-curve@0.2.0: resolution: {integrity: sha512-0mYKnYYe9ZcqMCWhUjItv/oHjvgEsfKvnUTg8sAtnHr3GVy7rGkXCb6d5cSyqrWqL4k81b9CPg3urd+T7aop3A==} @@ -4825,16 +4728,10 @@ packages: property-information@7.2.0: resolution: {integrity: sha512-IAtzIB6sUiWaJYrX9smp3V46pBGbBeLFRGdh25kg1334VcBlD8HzhPeNIWQH9zhGmo2itIe25EHt9dQP7G5hmg==} - pump@3.0.4: - resolution: {integrity: sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==} - punycode@2.3.1: resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} engines: {node: '>=6'} - quansync@0.2.11: - resolution: {integrity: sha512-AifT7QEbW9Nri4tAwR5M/uzpBuqfZf+zwaEM/QkzEjj7NBuFD2rBuy0K3dE+8wltbezDV7JMA0WfnCPYRSYbXA==} - queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} @@ -5282,11 +5179,6 @@ packages: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} - svgo@3.3.4: - resolution: {integrity: sha512-GsNRis4e8jxn2Y9ENz/8lbJ93CstG8svtMnuRaHbiF2LTJ5tK0/q3t/URPq9Zc7zVWBJnNnJMIp6bevK7bSmNg==} - engines: {node: '>=14.0.0'} - hasBin: true - svgo@4.0.2: resolution: {integrity: sha512-ekx94z1rRc5LDi6oSUaeRnYhd0UOJxdtQCL2rF8xpWxD3TPAsISWOrxezqGovqS38GRZOdpDfvQe3ts6F7nsng==} engines: {node: '>=16'} @@ -5849,19 +5741,10 @@ packages: web-namespaces@2.0.1: resolution: {integrity: sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==} - whatwg-encoding@3.1.1: - resolution: {integrity: sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==} - engines: {node: '>=18'} - deprecated: Use @exodus/bytes instead for a more spec-conformant and faster implementation - whatwg-mimetype@3.0.0: resolution: {integrity: sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==} engines: {node: '>=12'} - whatwg-mimetype@4.0.0: - resolution: {integrity: sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==} - engines: {node: '>=18'} - which-boxed-primitive@1.1.1: resolution: {integrity: sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==} engines: {node: '>= 0.4'} @@ -5919,9 +5802,6 @@ packages: resolution: {integrity: sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==} engines: {node: '>=18'} - wrappy@1.0.2: - resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} - ws@8.21.0: resolution: {integrity: sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==} engines: {node: '>=10.0.0'} @@ -5990,9 +5870,6 @@ packages: resolution: {integrity: sha512-2rAgRKu54VsHkqI0/tYkmluGXHD4KW7yZoycuqDQ15QOTnc2VVfy0nN/1eMhnQLO00A+dwtK20xuCnc1YGeUyg==} engines: {node: ^20.19.0 || ^22.12.0 || >=23} - yauzl@2.10.0: - resolution: {integrity: sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==} - yocto-queue@0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} @@ -6054,8 +5931,6 @@ snapshots: package-manager-detector: 1.8.0 tinyexec: 1.2.4 - '@antfu/utils@8.1.1': {} - '@apidevtools/json-schema-ref-parser@14.0.1': dependencies: '@types/json-schema': 7.0.15 @@ -6957,20 +6832,6 @@ snapshots: dependencies: '@iconify/types': 2.0.0 - '@iconify/tools@4.2.0(supports-color@10.2.2)': - dependencies: - '@iconify/types': 2.0.0 - '@iconify/utils': 2.3.0(supports-color@10.2.2) - cheerio: 1.2.0 - domhandler: 5.0.3 - extract-zip: 2.0.1(supports-color@10.2.2) - local-pkg: 1.2.1 - pathe: 2.0.3 - svgo: 3.3.4 - tar: 7.5.21 - transitivePeerDependencies: - - supports-color - '@iconify/tools@5.0.12': dependencies: '@cyberalien/svg-utils': 1.2.19 @@ -6983,19 +6844,6 @@ snapshots: '@iconify/types@2.0.0': {} - '@iconify/utils@2.3.0(supports-color@10.2.2)': - dependencies: - '@antfu/install-pkg': 1.1.0 - '@antfu/utils': 8.1.1 - '@iconify/types': 2.0.0 - debug: 4.4.3(supports-color@10.2.2) - globals: 15.15.0 - kolorist: 1.8.0 - local-pkg: 1.2.1 - mlly: 1.8.2 - transitivePeerDependencies: - - supports-color - '@iconify/utils@3.1.4': dependencies: '@antfu/install-pkg': 1.1.0 @@ -7993,11 +7841,6 @@ snapshots: dependencies: '@types/node': 26.1.2 - '@types/yauzl@2.10.3': - dependencies: - '@types/node': 26.1.2 - optional: true - '@typescript-eslint/eslint-plugin@8.65.0(@typescript-eslint/parser@8.65.0(eslint@9.35.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@5.9.3))(eslint@9.35.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@5.9.3)': dependencies: '@eslint-community/regexpp': 4.12.2 @@ -8356,14 +8199,6 @@ snapshots: transitivePeerDependencies: - supports-color - astro-icon@1.1.5(supports-color@10.2.2): - dependencies: - '@iconify/tools': 4.2.0(supports-color@10.2.2) - '@iconify/types': 2.0.0 - '@iconify/utils': 2.3.0(supports-color@10.2.2) - transitivePeerDependencies: - - supports-color - astro-skills@0.1.1(astro@7.1.4(@astrojs/markdown-remark@7.2.1(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.2)(@types/node@26.1.2)(jiti@2.7.0)(rollup@4.62.2)(tsx@4.23.1)(yaml@2.9.0))(typescript@5.9.3): dependencies: astro: 7.1.4(@astrojs/markdown-remark@7.2.1(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.2)(@types/node@26.1.2)(jiti@2.7.0)(rollup@4.62.2)(tsx@4.23.1)(yaml@2.9.0) @@ -8523,8 +8358,6 @@ snapshots: node-releases: 2.0.50 update-browserslist-db: 1.2.3(browserslist@4.28.4) - buffer-crc32@0.2.13: {} - buffer-image-size@0.6.4: dependencies: '@types/node': 26.1.2 @@ -8569,29 +8402,6 @@ snapshots: character-reference-invalid@2.0.1: {} - cheerio-select@2.1.0: - dependencies: - boolbase: 1.0.0 - css-select: 5.2.2 - css-what: 6.2.2 - domelementtype: 2.3.0 - domhandler: 5.0.3 - domutils: 3.2.2 - - cheerio@1.2.0: - dependencies: - cheerio-select: 2.1.0 - dom-serializer: 2.0.0 - domhandler: 5.0.3 - domutils: 3.2.2 - encoding-sniffer: 0.2.1 - htmlparser2: 10.1.0 - parse5: 7.3.0 - parse5-htmlparser2-tree-adapter: 7.1.0 - parse5-parser-stream: 7.1.2 - undici: 7.28.0 - whatwg-mimetype: 4.0.0 - chokidar@4.0.3: dependencies: readdirp: 4.1.2 @@ -8660,10 +8470,6 @@ snapshots: concat-map@0.0.1: {} - confbox@0.1.8: {} - - confbox@0.2.4: {} - content-type@2.0.0: {} convert-source-map@1.9.0: {} @@ -8715,11 +8521,6 @@ snapshots: mdn-data: 2.0.28 source-map-js: 1.2.1 - css-tree@2.3.1: - dependencies: - mdn-data: 2.0.30 - source-map-js: 1.2.1 - css-tree@3.2.1: dependencies: mdn-data: 2.27.1 @@ -9049,15 +8850,6 @@ snapshots: emoji-regex@9.2.2: {} - encoding-sniffer@0.2.1: - dependencies: - iconv-lite: 0.6.3 - whatwg-encoding: 3.1.1 - - end-of-stream@1.4.5: - dependencies: - once: 1.4.0 - enhanced-resolve@5.24.3: dependencies: graceful-fs: 4.2.11 @@ -9498,20 +9290,8 @@ snapshots: expect-type@1.4.0: {} - exsolve@1.1.0: {} - extend@3.0.2: {} - extract-zip@2.0.1(supports-color@10.2.2): - dependencies: - debug: 4.4.3(supports-color@10.2.2) - get-stream: 5.2.0 - yauzl: 2.10.0 - optionalDependencies: - '@types/yauzl': 2.10.3 - transitivePeerDependencies: - - supports-color - fast-deep-equal@3.1.3: {} fast-glob@3.3.3: @@ -9556,10 +9336,6 @@ snapshots: dependencies: reusify: 1.1.0 - fd-slicer@1.1.0: - dependencies: - pend: 1.2.0 - fdir@6.5.0(picomatch@4.0.5): optionalDependencies: picomatch: 4.0.5 @@ -9662,10 +9438,6 @@ snapshots: dunder-proto: 1.0.1 es-object-atoms: 1.1.2 - get-stream@5.2.0: - dependencies: - pump: 3.0.4 - get-symbol-description@1.1.0: dependencies: call-bound: 1.0.4 @@ -9690,8 +9462,6 @@ snapshots: globals@14.0.0: {} - globals@15.15.0: {} - globals@16.5.0: {} globals@17.8.0: {} @@ -9894,13 +9664,6 @@ snapshots: html-void-elements@3.0.0: {} - htmlparser2@10.1.0: - dependencies: - domelementtype: 2.3.0 - domhandler: 5.0.3 - domutils: 3.2.2 - entities: 7.0.1 - http-cache-semantics@4.2.0: {} husky@9.1.7: {} @@ -10161,8 +9924,6 @@ snapshots: kleur@4.1.5: {} - kolorist@1.8.0: {} - language-subtag-registry@0.3.23: {} language-tags@1.0.9: @@ -10237,12 +9998,6 @@ snapshots: optionalDependencies: yaml: 2.9.0 - local-pkg@1.2.1: - dependencies: - mlly: 1.8.2 - pkg-types: 2.3.1 - quansync: 0.2.11 - locate-path@5.0.0: dependencies: p-locate: 4.1.0 @@ -10468,8 +10223,6 @@ snapshots: mdn-data@2.0.28: {} - mdn-data@2.0.30: {} - mdn-data@2.27.1: {} medium-zoom@1.1.0: {} @@ -10811,13 +10564,6 @@ snapshots: dependencies: minipass: 7.1.3 - mlly@1.8.2: - dependencies: - acorn: 8.17.0 - pathe: 2.0.3 - pkg-types: 1.3.1 - ufo: 1.6.4 - modern-tar@0.7.7: {} mri@1.2.0: {} @@ -10912,10 +10658,6 @@ snapshots: ohash@2.0.11: {} - once@1.4.0: - dependencies: - wrappy: 1.0.2 - oniguruma-parser@0.12.2: {} oniguruma-to-es@4.3.6: @@ -11013,15 +10755,6 @@ snapshots: unist-util-visit-children: 3.0.0 vfile: 6.0.3 - parse5-htmlparser2-tree-adapter@7.1.0: - dependencies: - domhandler: 5.0.3 - parse5: 7.3.0 - - parse5-parser-stream@7.1.2: - dependencies: - parse5: 7.3.0 - parse5@7.3.0: dependencies: entities: 6.0.1 @@ -11061,8 +10794,6 @@ snapshots: pathe@2.0.3: {} - pend@1.2.0: {} - piccolore@0.1.3: {} picocolors@1.1.1: {} @@ -11071,18 +10802,6 @@ snapshots: picomatch@4.0.5: {} - pkg-types@1.3.1: - dependencies: - confbox: 0.1.8 - mlly: 1.8.2 - pathe: 2.0.3 - - pkg-types@2.3.1: - dependencies: - confbox: 0.2.4 - exsolve: 1.1.0 - pathe: 2.0.3 - points-on-curve@0.2.0: {} points-on-path@0.2.1: @@ -11145,15 +10864,8 @@ snapshots: property-information@7.2.0: {} - pump@3.0.4: - dependencies: - end-of-stream: 1.4.5 - once: 1.4.0 - punycode@2.3.1: {} - quansync@0.2.11: {} - queue-microtask@1.2.3: {} quotation@2.0.3: {} @@ -11918,16 +11630,6 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} - svgo@3.3.4: - dependencies: - commander: 7.2.0 - css-select: 5.2.2 - css-tree: 2.3.1 - css-what: 6.2.2 - csso: 5.0.5 - picocolors: 1.1.1 - sax: 1.6.0 - svgo@4.0.2: dependencies: commander: 11.1.0 @@ -12407,14 +12109,8 @@ snapshots: web-namespaces@2.0.1: {} - whatwg-encoding@3.1.1: - dependencies: - iconv-lite: 0.6.3 - whatwg-mimetype@3.0.0: {} - whatwg-mimetype@4.0.0: {} - which-boxed-primitive@1.1.1: dependencies: is-bigint: 1.1.0 @@ -12508,8 +12204,6 @@ snapshots: string-width: 7.2.0 strip-ansi: 7.2.0 - wrappy@1.0.2: {} - ws@8.21.0: {} ws@8.21.1: {} @@ -12556,11 +12250,6 @@ snapshots: y18n: 5.0.8 yargs-parser: 22.0.0 - yauzl@2.10.0: - dependencies: - buffer-crc32: 0.2.13 - fd-slicer: 1.1.0 - yocto-queue@0.1.0: {} yocto-queue@1.2.2: {} diff --git a/src/components.ts b/src/components.ts index 04c1751f8f9..b1aefc67775 100644 --- a/src/components.ts +++ b/src/components.ts @@ -8,7 +8,7 @@ export { Badge } from "./components/ui/badge"; export { Code } from "./components/ui/code"; export { FileTree } from "./components/ui/file-tree"; export { default as LinkButton } from "./components/ui/link-button/LinkButton.astro"; -export { Icon, Icon as AstroIcon } from "astro-icon/components"; +export { default as Icon } from "@cloudflare/nimbus-docs/components/Icon.astro"; export { default as Render } from "./components/Render.astro"; export { default as APIRequest } from "./components/cf/APIRequest.astro"; diff --git a/src/components/AiSearchIndexingDiagram.astro b/src/components/AiSearchIndexingDiagram.astro index 1104446eaf1..7f6e41a5eaa 100644 --- a/src/components/AiSearchIndexingDiagram.astro +++ b/src/components/AiSearchIndexingDiagram.astro @@ -1,5 +1,5 @@ --- -import { Icon as AstroIcon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; interface Props { autoPlay?: boolean; @@ -91,7 +91,7 @@ const { autoPlay = true, loop = true, keyword = true } = Astro.props; R2 bucket @@ -107,7 +107,7 @@ const { autoPlay = true, loop = true, keyword = true } = Astro.props; Website @@ -153,7 +153,7 @@ const { autoPlay = true, loop = true, keyword = true } = Astro.props; AI Search · R2 Built-in storage @@ -174,7 +174,7 @@ const { autoPlay = true, loop = true, keyword = true } = Astro.props; Workers AI · toMarkdown() Parsing @@ -191,7 +191,7 @@ const { autoPlay = true, loop = true, keyword = true } = Astro.props; AI Search Chunking @@ -257,7 +257,7 @@ const { autoPlay = true, loop = true, keyword = true } = Astro.props; Embedding @@ -274,7 +274,7 @@ const { autoPlay = true, loop = true, keyword = true } = Astro.props; Vector index @@ -293,7 +293,7 @@ const { autoPlay = true, loop = true, keyword = true } = Astro.props; Keyword tokenizer @@ -310,7 +310,7 @@ const { autoPlay = true, loop = true, keyword = true } = Astro.props; Inverted index @@ -330,7 +330,7 @@ const { autoPlay = true, loop = true, keyword = true } = Astro.props; AI Gateway / Workers AI Embedding @@ -344,7 +344,7 @@ const { autoPlay = true, loop = true, keyword = true } = Astro.props; AI Search · Vectorize Vector index diff --git a/src/components/AiSearchNamespacesDiagram.astro b/src/components/AiSearchNamespacesDiagram.astro index d4168c80af3..b43c728e093 100644 --- a/src/components/AiSearchNamespacesDiagram.astro +++ b/src/components/AiSearchNamespacesDiagram.astro @@ -1,5 +1,5 @@ --- -import { Icon as AstroIcon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; interface Props { autoPlay?: boolean; @@ -132,7 +132,7 @@ const { autoPlay = true, loop = true } = Astro.props; env.AI_SEARCH.get(id) Worker @@ -202,7 +202,7 @@ const { autoPlay = true, loop = true } = Astro.props; AI Search instance tenant-a @@ -215,7 +215,7 @@ const { autoPlay = true, loop = true } = Astro.props; AI Search instance tenant-b @@ -228,7 +228,7 @@ const { autoPlay = true, loop = true } = Astro.props; AI Search instance tenant-c diff --git a/src/components/AiSearchOverviewDiagram.astro b/src/components/AiSearchOverviewDiagram.astro index 5e35bb1867a..4ed20cb4f86 100644 --- a/src/components/AiSearchOverviewDiagram.astro +++ b/src/components/AiSearchOverviewDiagram.astro @@ -1,5 +1,5 @@ --- -import { Icon as AstroIcon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; interface Props { autoPlay?: boolean; @@ -52,19 +52,19 @@ const { autoPlay = true, loop = true } = Astro.props; href="/ai-search/configuration/data-source/built-in-storage/" > Storage AI models Index diff --git a/src/components/AiSearchQueryingDiagram.astro b/src/components/AiSearchQueryingDiagram.astro index 349d1e3dd88..e97fdf62ce3 100644 --- a/src/components/AiSearchQueryingDiagram.astro +++ b/src/components/AiSearchQueryingDiagram.astro @@ -1,5 +1,5 @@ --- -import { Icon as AstroIcon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; interface Props { autoPlay?: boolean; @@ -48,7 +48,7 @@ const { autoPlay = true, loop = true } = Astro.props; Query rewriting @@ -107,7 +107,7 @@ const { autoPlay = true, loop = true } = Astro.props; Query embedding @@ -124,7 +124,7 @@ const { autoPlay = true, loop = true } = Astro.props; Vector retrieval @@ -144,7 +144,7 @@ const { autoPlay = true, loop = true } = Astro.props; Query tokenization @@ -161,7 +161,7 @@ const { autoPlay = true, loop = true } = Astro.props; Keyword retrieval @@ -211,7 +211,7 @@ const { autoPlay = true, loop = true } = Astro.props; Fusion @@ -235,7 +235,7 @@ const { autoPlay = true, loop = true } = Astro.props; Reranking @@ -252,7 +252,7 @@ const { autoPlay = true, loop = true } = Astro.props; AI Search · R2 Chunk content retrieval @@ -299,7 +299,7 @@ const { autoPlay = true, loop = true } = Astro.props; Response generation diff --git a/src/components/AiSearchVoiceDiagram.astro b/src/components/AiSearchVoiceDiagram.astro index ece25866a32..f20e8eeab29 100644 --- a/src/components/AiSearchVoiceDiagram.astro +++ b/src/components/AiSearchVoiceDiagram.astro @@ -1,5 +1,5 @@ --- -import { Icon as AstroIcon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; interface Props { autoPlay?: boolean; @@ -95,7 +95,7 @@ const { autoPlay = true, loop = true } = Astro.props; tool AI Search retrieval diff --git a/src/components/ArtifactsCIWorkflowDiagram.astro b/src/components/ArtifactsCIWorkflowDiagram.astro index 42a652f1a84..d9b99d228ce 100644 --- a/src/components/ArtifactsCIWorkflowDiagram.astro +++ b/src/components/ArtifactsCIWorkflowDiagram.astro @@ -1,5 +1,5 @@ --- -import { Icon as AstroIcon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; interface Props { autoPlay?: boolean; @@ -22,7 +22,7 @@ const { autoPlay = true, loop = true } = Astro.props; Artifacts repo changes
Repository changes
@@ -100,7 +100,7 @@ const { autoPlay = true, loop = true } = Astro.props;
Deploy Worker
diff --git a/src/components/Header.astro b/src/components/Header.astro index b31558b2cc5..2c12ce083d8 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -1,5 +1,5 @@ --- -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; import { Button } from "./ui/button"; import { LinkButton } from "./ui/link-button"; import { ThemeToggle } from "./ui/theme-toggle"; diff --git a/src/components/ProductCard.astro b/src/components/ProductCard.astro index 430cf1ddf95..a5815cd5466 100644 --- a/src/components/ProductCard.astro +++ b/src/components/ProductCard.astro @@ -1,5 +1,5 @@ --- -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; type Category = "compute" | "ai" | "storage" | "media" | "zero-trust"; diff --git a/src/components/agent-setup/Accordion.astro b/src/components/agent-setup/Accordion.astro index 1031f3bc167..23d939d0efd 100644 --- a/src/components/agent-setup/Accordion.astro +++ b/src/components/agent-setup/Accordion.astro @@ -2,7 +2,7 @@ // Shared collapsible accordion row for the agent-setup pages. A native //
/ with a caret marker. FAQItem, TroubleshootingItem, and // PlatformAccessDetails all delegate to this so the three stay aligned. -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; interface Props { title: string; diff --git a/src/components/agent-setup/AgentHeader.astro b/src/components/agent-setup/AgentHeader.astro index a00cbbc97d1..58d9f0586eb 100644 --- a/src/components/agent-setup/AgentHeader.astro +++ b/src/components/agent-setup/AgentHeader.astro @@ -6,7 +6,7 @@ // Usage from an MDX page: // // custom intro markup here -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; import { AGENTS } from "./agents"; import CapabilityBadge from "./CapabilityBadge.astro"; diff --git a/src/components/agent-setup/BuildAgentsCallout.astro b/src/components/agent-setup/BuildAgentsCallout.astro index 829114243f6..a5417be9ce9 100644 --- a/src/components/agent-setup/BuildAgentsCallout.astro +++ b/src/components/agent-setup/BuildAgentsCallout.astro @@ -2,7 +2,7 @@ // Footer callout: points users toward building agents ON Cloudflare // (Agents SDK, Workers AI, Code Mode SDK, Worker Loader), distinguishing // Cloudflare from a pure deploy target. -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; import CornerMarks from "~/components/CornerMarks.astro"; const cards = [ diff --git a/src/components/agent-setup/CatalogWithFilter.astro b/src/components/agent-setup/CatalogWithFilter.astro index 72ea3da8bdb..554c4c52f63 100644 --- a/src/components/agent-setup/CatalogWithFilter.astro +++ b/src/components/agent-setup/CatalogWithFilter.astro @@ -1,5 +1,5 @@ --- -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; import CornerMarks from "~/components/CornerMarks.astro"; import type { AgentData } from "./types"; diff --git a/src/components/agent-setup/OtherAgents.astro b/src/components/agent-setup/OtherAgents.astro index 0dca648949b..91a250d5a5d 100644 --- a/src/components/agent-setup/OtherAgents.astro +++ b/src/components/agent-setup/OtherAgents.astro @@ -6,7 +6,7 @@ // // Self-fetches from the collection so MDX callers only need to pass `currentSlug`: // -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; import CornerMarks from "~/components/CornerMarks.astro"; import { AGENTS } from "./agents"; diff --git a/src/components/cf/MeshHostnameRoutingDiagram.astro b/src/components/cf/MeshHostnameRoutingDiagram.astro index cfdf099e841..bcc1bad7ba6 100644 --- a/src/components/cf/MeshHostnameRoutingDiagram.astro +++ b/src/components/cf/MeshHostnameRoutingDiagram.astro @@ -1,5 +1,5 @@ --- -import { Icon as AstroIcon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; ---
Cloudflare Gateway
Private host
diff --git a/src/components/cf/RSSButton.astro b/src/components/cf/RSSButton.astro index 5c15d59fe6c..4ca175f294c 100644 --- a/src/components/cf/RSSButton.astro +++ b/src/components/cf/RSSButton.astro @@ -5,12 +5,12 @@ * CF source: cloudflare-docs/src/components/RSSButton.astro * * Mapping notes: - * - Starlight's is swapped for astro-icon. The Starlight icon name + * - Starlight's is swapped for Nimbus Icon. The Starlight icon name * `rss` maps to Phosphor `ph:rss-simple`; an explicit `ph:`/`:`-qualified * name passes through unchanged. */ import { z } from "astro/zod"; -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; const props = z .object({ diff --git a/src/components/cf/RelatedProduct.astro b/src/components/cf/RelatedProduct.astro index 3684fb3b9af..871a94b6d55 100644 --- a/src/components/cf/RelatedProduct.astro +++ b/src/components/cf/RelatedProduct.astro @@ -1,6 +1,6 @@ --- import { z } from "astro/zod"; -import { Icon as AstroIcon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; const props = z.object({ header: z.string(), @@ -19,7 +19,7 @@ const { header, href, product, accent } = props.parse(Astro.props); -
{ diff --git a/src/components/cf/WARPRelease.astro b/src/components/cf/WARPRelease.astro index d18c9d6ab65..8aa14f56691 100644 --- a/src/components/cf/WARPRelease.astro +++ b/src/components/cf/WARPRelease.astro @@ -6,7 +6,7 @@ import { z } from "astro/zod"; import prettyBytes from "pretty-bytes"; import { warpReleasesSchema } from "~/schemas"; import platforms from "~/util/warp-platforms.json"; -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; import { LinkButton } from "@/components/ui/link-button"; type Props = z.infer; diff --git a/src/components/cf/WorkersVPCEgressDiagram.astro b/src/components/cf/WorkersVPCEgressDiagram.astro index da07f86dc75..05d7c66cad1 100644 --- a/src/components/cf/WorkersVPCEgressDiagram.astro +++ b/src/components/cf/WorkersVPCEgressDiagram.astro @@ -1,5 +1,5 @@ --- -import { Icon as AstroIcon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; const policies = [ { label: "DNS", href: "/cloudflare-one/traffic-policies/dns-policies/" }, @@ -22,7 +22,7 @@ const logsHref = "/cloudflare-one/insights/logs/dashboard-logs/gateway-logs/";
@@ -39,7 +39,7 @@ const logsHref = "/cloudflare-one/insights/logs/dashboard-logs/gateway-logs/";
Cloudflare Gateway @@ -46,7 +46,7 @@ const logsHref = "/cloudflare-one/insights/logs/dashboard-logs/gateway-logs/";
@@ -59,7 +59,7 @@ const logsHref = "/cloudflare-one/insights/logs/dashboard-logs/gateway-logs/";
@@ -89,7 +89,7 @@ const logsHref = "/cloudflare-one/insights/logs/dashboard-logs/gateway-logs/";
Cloudflare Gateway whose options navigate to the per-product / per-group * views (and "All products" → /changelog/). The RSS href is contextual. */ -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; import PageHeader from "~/components/PageHeader.astro"; import { directory, directoryByGroup, groups } from "~/util/directory"; import { changelogProductIds } from "~/util/changelog"; diff --git a/src/components/directory/Directory.astro b/src/components/directory/Directory.astro index 52053eed94f..60d4ab96a1b 100644 --- a/src/components/directory/Directory.astro +++ b/src/components/directory/Directory.astro @@ -19,7 +19,7 @@ * Typography matches the homepage: the hero uses the Hero.astro clamp at * font-medium. */ -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; import { Checkbox, CheckboxGroup } from "~/components/ui/checkbox"; import BackgroundLines from "../BackgroundLines.astro"; import PageHeader from "../PageHeader.astro"; diff --git a/src/components/landing/BuildFromScratch.astro b/src/components/landing/BuildFromScratch.astro index 36439e65646..916449de3b3 100644 --- a/src/components/landing/BuildFromScratch.astro +++ b/src/components/landing/BuildFromScratch.astro @@ -1,5 +1,5 @@ --- -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; import CommandBlock from "./CommandBlock.astro"; import CornerMarks from "@/components/CornerMarks.astro"; import { LinkButton } from "@/components/ui/link-button"; diff --git a/src/components/landing/ChangelogSection.astro b/src/components/landing/ChangelogSection.astro index 544b4570e45..613839debc5 100644 --- a/src/components/landing/ChangelogSection.astro +++ b/src/components/landing/ChangelogSection.astro @@ -1,7 +1,7 @@ --- import { getChangelogs } from "~/util/changelog"; import { getEntries } from "astro:content"; -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; import CornerMarks from "@/components/CornerMarks.astro"; const fmtLong = new Intl.DateTimeFormat("en-US", { diff --git a/src/components/landing/TabBar.astro b/src/components/landing/TabBar.astro index c4e45343d99..0cf5a219f94 100644 --- a/src/components/landing/TabBar.astro +++ b/src/components/landing/TabBar.astro @@ -1,5 +1,5 @@ --- -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; export interface Tab { id: string; diff --git a/src/components/landing/ViewAllLink.astro b/src/components/landing/ViewAllLink.astro index ae983c7a487..66f0670438b 100644 --- a/src/components/landing/ViewAllLink.astro +++ b/src/components/landing/ViewAllLink.astro @@ -1,5 +1,5 @@ --- -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; interface Props { href: string; diff --git a/src/components/models/ModelCard.astro b/src/components/models/ModelCard.astro index 52bf75fa50f..028eeafea50 100644 --- a/src/components/models/ModelCard.astro +++ b/src/components/models/ModelCard.astro @@ -9,7 +9,7 @@ * catalog controller (vanilla JS script) reads to filter, sort, and re-flow * the corner marks. `index`/`cols` seed the build-time corner marks. */ -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; import { Badge } from "~/components/ui/badge"; import ModelBadges from "./ModelBadges.astro"; import { authorData } from "~/components/models/data"; diff --git a/src/components/ui/aside/Aside.astro b/src/components/ui/aside/Aside.astro index db780223404..de7c4055ef6 100644 --- a/src/components/ui/aside/Aside.astro +++ b/src/components/ui/aside/Aside.astro @@ -1,5 +1,5 @@ --- -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; import { cn } from "@/lib/cn"; import type { HTMLAttributes } from "astro/types"; diff --git a/src/components/ui/banner/Banner.astro b/src/components/ui/banner/Banner.astro index c7de17bc27f..20363194927 100644 --- a/src/components/ui/banner/Banner.astro +++ b/src/components/ui/banner/Banner.astro @@ -3,7 +3,7 @@ * Banner — announcement strip. Pass `dismissible: { id, days? }` to * show a close button that persists to localStorage. */ -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; import { cn } from "@/lib/cn"; import type { HTMLAttributes } from "astro/types"; diff --git a/src/components/ui/button/Button.astro b/src/components/ui/button/Button.astro index 7eff5457510..fbab4ccc45a 100644 --- a/src/components/ui/button/Button.astro +++ b/src/components/ui/button/Button.astro @@ -13,14 +13,14 @@ * Sizes: xs · sm · base (default) · lg. * Shapes: base (default) · square · circle (icon-only — pass `aria-label`). * - * `icon` takes an iconify name (astro-icon) rendered before the label; + * `icon` takes an iconify name (Nimbus Icon) rendered before the label; * `loading` swaps it for a spinner and disables the button. * * Styling lives in `./variants` (shared with LinkButton). For an anchor * styled as a button, use `~/components/ui/link-button`. */ import { cn } from "@/lib/cn"; -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; import type { HTMLAttributes } from "astro/types"; import { buttonVariants, diff --git a/src/components/ui/card/Card.astro b/src/components/ui/card/Card.astro index 7d97b5c830f..6ff9258eafe 100644 --- a/src/components/ui/card/Card.astro +++ b/src/components/ui/card/Card.astro @@ -12,7 +12,7 @@ * link (an `after:` pseudo covers the card, mirroring RelatedProduct) so body * links stay reachable and the title warms/underlines on card hover. */ -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; import { cn } from "@/lib/cn"; import CornerMarks from "../../CornerMarks.astro"; import type { HTMLAttributes } from "astro/types"; diff --git a/src/components/ui/checkbox/Checkbox.astro b/src/components/ui/checkbox/Checkbox.astro index f436eae9462..e25c3c05c32 100644 --- a/src/components/ui/checkbox/Checkbox.astro +++ b/src/components/ui/checkbox/Checkbox.astro @@ -17,7 +17,7 @@ * Group related checkboxes under a shared legend with . */ import { cn } from "@/lib/cn"; -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; import type { HTMLAttributes } from "astro/types"; import { checkboxVariants, type CheckboxVariant } from "./variants"; diff --git a/src/components/ui/combobox/Combobox.astro b/src/components/ui/combobox/Combobox.astro index ef57b5dec37..ca47dced127 100644 --- a/src/components/ui/combobox/Combobox.astro +++ b/src/components/ui/combobox/Combobox.astro @@ -30,7 +30,7 @@ * Accessible name: pass `label` (visible) or `aria-label` (hidden). */ import { cn } from "@/lib/cn"; -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; import type { HTMLAttributes } from "astro/types"; interface Props extends Omit, "size"> { diff --git a/src/components/ui/combobox/ComboboxOption.astro b/src/components/ui/combobox/ComboboxOption.astro index ea2c24eb02b..f5a610e73c5 100644 --- a/src/components/ui/combobox/ComboboxOption.astro +++ b/src/components/ui/combobox/ComboboxOption.astro @@ -5,7 +5,7 @@ * typeahead filters on (the check indicator is excluded). */ import { cn } from "@/lib/cn"; -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; interface Props { /** Value reported when this option is chosen. */ diff --git a/src/components/ui/file-tree/FileTree.astro b/src/components/ui/file-tree/FileTree.astro index 8c283cb69d2..b272f6a1bec 100644 --- a/src/components/ui/file-tree/FileTree.astro +++ b/src/components/ui/file-tree/FileTree.astro @@ -17,7 +17,7 @@ * - `**name**` → highlighted entry * - `...` → placeholder ellipsis */ -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; import { cn } from "@/lib/cn"; import type { HTMLAttributes } from "astro/types"; diff --git a/src/components/ui/link-button/LinkButton.astro b/src/components/ui/link-button/LinkButton.astro index 000fea6593f..862284fec80 100644 --- a/src/components/ui/link-button/LinkButton.astro +++ b/src/components/ui/link-button/LinkButton.astro @@ -15,7 +15,7 @@ * LinkButton-only aliases map onto it: `minimal → ghost`, `md → base`. */ import { cn } from "@/lib/cn"; -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; import type { HTMLAttributes } from "astro/types"; import { buttonVariants, diff --git a/src/components/ui/package-managers/PackageManagers.astro b/src/components/ui/package-managers/PackageManagers.astro index b97178c7086..9cb5dbe7550 100644 --- a/src/components/ui/package-managers/PackageManagers.astro +++ b/src/components/ui/package-managers/PackageManagers.astro @@ -4,7 +4,7 @@ * pnpm, yarn, bun). Selection syncs across instances via sessionStorage; * an inline custom element restores the saved tab before paint. */ -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; import { getTabs } from "~/util/package-managers"; import type { CommandType, CommandOptions } from "~/util/package-managers"; import { LayerCard, LayerCardHeader } from "@/components/ui/layer-card"; diff --git a/src/components/ui/package-managers/package-managers.client.ts b/src/components/ui/package-managers/package-managers.client.ts index 4259a7783d9..686ebd685f5 100644 --- a/src/components/ui/package-managers/package-managers.client.ts +++ b/src/components/ui/package-managers/package-managers.client.ts @@ -24,7 +24,7 @@ function initPackageManager(container: HTMLElement): () => void { .querySelectorAll("[data-nb-pm-copy]") .forEach((btn) => { // Toggle between the two icons instead of replacing the button's - // children. astro-icon renders the first `ph:copy`/`ph:check` on the + // children. Icon renders the first `ph:copy`/`ph:check` on the // page as a shared `` and every other instance as a `` // reference to it; removing the button that hosts the definition would // orphan every other copy icon on the page. Never remove the nodes. diff --git a/src/components/ui/page-actions/PageActionLinks.astro b/src/components/ui/page-actions/PageActionLinks.astro index a6b31d6accf..c7b0b763512 100644 --- a/src/components/ui/page-actions/PageActionLinks.astro +++ b/src/components/ui/page-actions/PageActionLinks.astro @@ -1,5 +1,5 @@ --- -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; interface Props { editUrl?: string; diff --git a/src/components/ui/page-actions/PageActions.astro b/src/components/ui/page-actions/PageActions.astro index 41bd91a2659..a72dc8f86d8 100644 --- a/src/components/ui/page-actions/PageActions.astro +++ b/src/components/ui/page-actions/PageActions.astro @@ -1,5 +1,5 @@ --- -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; import { cn } from "@/lib/cn"; import type { HTMLAttributes } from "astro/types"; diff --git a/src/components/ui/pagination/Pagination.astro b/src/components/ui/pagination/Pagination.astro index 9e99b431cfe..9cfe1b3659f 100644 --- a/src/components/ui/pagination/Pagination.astro +++ b/src/components/ui/pagination/Pagination.astro @@ -1,5 +1,5 @@ --- -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; import { cn } from "@/lib/cn"; import type { HTMLAttributes } from "astro/types"; import type { PrevNext } from "@cloudflare/nimbus-docs/types"; diff --git a/src/components/ui/scroll-to-top/ScrollToTop.astro b/src/components/ui/scroll-to-top/ScrollToTop.astro index 7fd88c06dfe..2668be1c4e9 100644 --- a/src/components/ui/scroll-to-top/ScrollToTop.astro +++ b/src/components/ui/scroll-to-top/ScrollToTop.astro @@ -1,6 +1,6 @@ --- // Scroll-to-top button; ring uses pathLength="1" so offset = 1 - progress. -import { Icon } from "astro-icon/components"; +import Icon from "@cloudflare/nimbus-docs/components/Icon.astro"; ---