Skip to content

armgit / ui

Public Imported from GitHub
0
TypeScript

Upgrade document packages and refresh component setup docs

Andrew Luod7802b31a5aa
diff --git a/.nvmrc b/.nvmrc
index 8c60e1e..474d750 100644
--- a/.nvmrc
+++ b/.nvmrc
@@ -1 +1 @@
-v20.5.1
+v24.22.1
diff --git a/README.md b/README.md
index b7191bf..b5087fd 100644
--- a/README.md
+++ b/README.md
@@ -225,6 +225,8 @@ npx shadcn@latest add @extend/e-signature
## Development
+Use Node.js 24.22.1, as specified in `.nvmrc`, before installing dependencies.
+
```bash
pnpm install
pnpm v4:dev
diff --git a/apps/v4/components/docx-annotation-card-source.tsx b/apps/v4/components/docx-annotation-card-source.tsx
new file mode 100644
index 0000000..dd580bb
--- /dev/null
+++ b/apps/v4/components/docx-annotation-card-source.tsx
@@ -0,0 +1,12 @@
+import { DocsSourceCodeBlock } from "@/components/docs-code-block"
+
+const docxAnnotationCardSourceCode = "\"use client\"\n\nimport * as React from \"react\"\nimport type {\n DocxCommentCardRenderProps,\n DocxDocumentTheme,\n DocxTrackedChangeCardRenderProps,\n} from \"@extend-ai/react-docx\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Badge } from \"@/components/ui/badge\"\nimport { Card } from \"@/components/ui/card\"\n\ntype AnnotationBadgeVariant =\n | \"outline\"\n | \"secondary\"\n | \"success\"\n | \"error\"\n | \"warning\"\n | \"info\"\n\nfunction trackedChangeBadgeVariant(\n kind: DocxTrackedChangeCardRenderProps[\"change\"][\"kind\"]\n): AnnotationBadgeVariant {\n switch (kind) {\n case \"insertion\":\n case \"move-to\":\n return \"success\"\n case \"deletion\":\n case \"move-from\":\n return \"error\"\n default:\n return \"warning\"\n }\n}\n\nfunction trackedChangeBadgeLabel({\n change,\n kindLabel,\n}: Pick<DocxTrackedChangeCardRenderProps, \"change\" | \"kindLabel\">) {\n switch (change.kind) {\n case \"insertion\":\n return \"Inserted\"\n case \"deletion\":\n return \"Removed\"\n case \"move-from\":\n return \"Moved from\"\n case \"move-to\":\n return \"Moved to\"\n default:\n return kindLabel\n }\n}\n\nfunction DocxAnnotationCard({\n anchorText,\n badge,\n badgeVariant = \"outline\",\n date,\n meta,\n documentTheme,\n snippet,\n style,\n}: {\n anchorText?: string\n badge: string\n badgeVariant?: AnnotationBadgeVariant\n date?: string\n documentTheme: DocxDocumentTheme\n meta: string\n snippet: string\n style: React.CSSProperties\n}) {\n const isDarkDocument = documentTheme === \"dark\"\n const cardStyle: React.CSSProperties = {\n ...style,\n backgroundColor: isDarkDocument\n ? \"rgb(24 24 27 / 0.95)\"\n : \"rgb(255 255 255 / 0.95)\",\n color: isDarkDocument ? \"#f4f4f5\" : \"#18181b\",\n }\n const mutedTextColor = isDarkDocument ? \"#a1a1aa\" : \"#71717a\"\n const anchorStyle: React.CSSProperties = {\n backgroundColor: isDarkDocument\n ? \"rgb(63 63 70 / 0.55)\"\n : \"rgb(244 244 245 / 0.75)\",\n color: mutedTextColor,\n }\n\n return (\n <Card\n style={cardStyle}\n className=\"pointer-events-auto box-border gap-2 rounded-lg p-2 shadow-sm before:rounded-[7px]\"\n >\n <div className=\"flex min-w-0 items-start justify-between gap-2\">\n <div\n className=\"min-w-0 text-[11px] leading-tight font-medium\"\n style={{ color: mutedTextColor }}\n >\n <div className=\"truncate\">{meta}</div>\n {date ? <div className=\"mt-0.5 truncate\">{date}</div> : null}\n </div>\n <Badge\n variant={badgeVariant === \"outline\" ? \"outline\" : \"secondary\"}\n size=\"sm\"\n className={cn(\n \"max-w-[92px] truncate\",\n badgeVariant === \"success\" &&\n \"bg-green-500/10 text-green-700 dark:text-green-300\",\n badgeVariant === \"error\" && \"bg-destructive/10 text-destructive\",\n badgeVariant === \"warning\" &&\n \"bg-amber-500/10 text-amber-700 dark:text-amber-300\",\n badgeVariant === \"info\" &&\n \"bg-blue-500/10 text-blue-700 dark:text-blue-300\"\n )}\n >\n {badge}\n </Badge>\n </div>\n {anchorText ? (\n <div\n className=\"rounded-md px-2 py-1 text-[11px] leading-snug italic\"\n style={anchorStyle}\n >\n {anchorText}\n </div>\n ) : null}\n <div className=\"text-xs leading-snug break-words\">{snippet}</div>\n </Card>\n )\n}\n\nexport function createDocxTrackedChangeCardRenderer(\n documentTheme: DocxDocumentTheme\n) {\n return function renderDocxTrackedChangeCard({\n change,\n formattedDate,\n kindLabel,\n snippet,\n style,\n }: DocxTrackedChangeCardRenderProps) {\n return (\n <DocxAnnotationCard\n badge={trackedChangeBadgeLabel({ change, kindLabel })}\n badgeVariant={trackedChangeBadgeVariant(change.kind)}\n date={formattedDate}\n documentTheme={documentTheme}\n meta={change.author?.trim() || \"Unknown author\"}\n snippet={snippet}\n style={style}\n />\n )\n }\n}\n\nexport function createDocxCommentCardRenderer(\n documentTheme: DocxDocumentTheme\n) {\n return function renderDocxCommentCard({\n comment,\n formattedDate,\n snippet,\n style,\n }: DocxCommentCardRenderProps) {\n const badge = comment.resolved\n ? \"Resolved\"\n : comment.parentId !== undefined\n ? \"Reply\"\n : \"Comment\"\n\n return (\n <DocxAnnotationCard\n anchorText={comment.anchorText}\n badge={badge}\n badgeVariant={comment.resolved ? \"secondary\" : \"info\"}\n date={formattedDate}\n documentTheme={documentTheme}\n meta={comment.author?.trim() || \"Unknown author\"}\n snippet={snippet}\n style={style}\n />\n )\n }\n}\n"
+
+export function DocxAnnotationCardSource() {
+ return (
+ <DocsSourceCodeBlock
+ code={docxAnnotationCardSourceCode}
+ fileName="components/extend/docx-annotation-card.tsx"
+ />
+ )
+}
diff --git a/apps/v4/components/docx-editor-docs.tsx b/apps/v4/components/docx-editor-docs.tsx
index 0b3408e..a64675c 100644
--- a/apps/v4/components/docx-editor-docs.tsx
+++ b/apps/v4/components/docx-editor-docs.tsx
@@ -3,6 +3,8 @@
import * as React from "react"
import dynamic from "next/dynamic"
+import { DocxAnnotationCardSource } from "@/components/docx-annotation-card-source"
+
import { withUiBasePath } from "@/lib/zone-path"
import { Button } from "@/components/ui/button"
import { Spinner } from "@/components/ui/spinner"
@@ -71,6 +73,7 @@ export function DocxEditorBlock({
const docxEditorUsageCode = `"use client";
+import * as React from "react";
import { DocxEditorPreview } from "@/components/extend/docx-editor";
export function DocxEditorExample() {
@@ -90,9 +93,12 @@ const docxEditorSourceCode =
export function DocxEditorSource() {
return (
+ <>
<DocsSourceCodeBlock
code={docxEditorSourceCode}
fileName="components/extend/docx-editor.tsx"
/>
+ <DocxAnnotationCardSource />
+ </>
)
}
diff --git a/apps/v4/components/docx-viewer-docs.tsx b/apps/v4/components/docx-viewer-docs.tsx
index d4ea119..275fc4d 100644
--- a/apps/v4/components/docx-viewer-docs.tsx
+++ b/apps/v4/components/docx-viewer-docs.tsx
@@ -3,6 +3,8 @@
import * as React from "react"
import dynamic from "next/dynamic"
+import { DocxAnnotationCardSource } from "@/components/docx-annotation-card-source"
+
import { withUiBasePath } from "@/lib/zone-path"
import { Button } from "@/components/ui/button"
import { Spinner } from "@/components/ui/spinner"
@@ -52,6 +54,7 @@ export function DocxViewerDemo() {
const docxViewerUsageCode = `"use client";
+import * as React from "react";
import { DocxViewerPreview } from "@/components/extend/docx-viewer";
export function DocxViewerExample() {
@@ -72,9 +75,12 @@ const docxViewerSourceCode =
export function DocxViewerSource() {
return (
+ <>
<DocsSourceCodeBlock
code={docxViewerSourceCode}
fileName="components/extend/docx-viewer.tsx"
/>
+ <DocxAnnotationCardSource />
+ </>
)
}
diff --git a/apps/v4/components/xlsx-editor-docs.tsx b/apps/v4/components/xlsx-editor-docs.tsx
index 2d72912..e6721dd 100644
--- a/apps/v4/components/xlsx-editor-docs.tsx
+++ b/apps/v4/components/xlsx-editor-docs.tsx
@@ -52,6 +52,7 @@ export function XlsxEditorDemo() {
const xlsxEditorUsageCode = `"use client";
+import * as React from "react";
import { XlsxEditorPreview } from "@/components/extend/xlsx-editor";
export function XlsxEditorExample() {
diff --git a/apps/v4/components/xlsx-viewer-docs.tsx b/apps/v4/components/xlsx-viewer-docs.tsx
index d7cbe2c..1a899a9 100644
--- a/apps/v4/components/xlsx-viewer-docs.tsx
+++ b/apps/v4/components/xlsx-viewer-docs.tsx
@@ -52,6 +52,7 @@ export function XlsxViewerDemo() {
const xlsxViewerUsageCode = `"use client";
+import * as React from "react";
import { XlsxViewerPreview } from "@/components/extend/xlsx-viewer";
export function XlsxViewerExample() {
diff --git a/apps/v4/content/docs/components/docx-editor.mdx b/apps/v4/content/docs/components/docx-editor.mdx
index ecc9d09..58a0d69 100644
--- a/apps/v4/content/docs/components/docx-editor.mdx
+++ b/apps/v4/content/docs/components/docx-editor.mdx
@@ -11,6 +11,9 @@ The React DOCX Editor is an experimental document editing surface built on top o
## Installation
+First configure the [style-aware registry](/docs#installation) in
+`components.json` so the CLI uses the primitives for your project.
+
<CodeTabs>
<TabsList>
@@ -32,7 +35,7 @@ npx shadcn@latest add @extend/docx-editor
<Step>Install the following dependencies:</Step>
```bash
-npm install @base-ui/react@^1.4.1 @extend-ai/react-docx@^0.11.2
+npm install @base-ui/react@^1.4.1 @extend-ai/[email protected]
```
<Step>Install the icon library configured in your `components.json`:</Step>
@@ -46,15 +49,21 @@ manually, replace each `IconPlaceholder` element with the icon named by the
prop for your library.
<Step>
- Install the File Thumbnail and Toggle components because the editor reuses
- them for the page thumbnail rail and formatting controls.
+ Install the shared components, icon prop types, and UI primitives used by
+ the editor:
</Step>
+The manual source uses Base UI primitives. Use the Command tab for a Radix
+project so the registry adapts the source to your primitive APIs.
+
```bash
-npx shadcn@latest add @extend/file-thumbnail @extend/toggle context-menu
+npx shadcn@latest add @extend/document-viewer-sidebar @extend/document-preview-card @extend/file-thumbnail @extend/registry-icon-props @extend/color-picker @extend/toggle badge card button context-menu dropdown-menu input scroll-area select separator spinner tooltip utils
```
-<Step>Copy and paste the following code into your project.</Step>
+<Step>
+ Copy both files below into your project. The annotation card is shared by
+ the viewer and editor and renders comments and tracked changes.
+</Step>
<DocxEditorSource />
diff --git a/apps/v4/content/docs/components/docx-viewer.mdx b/apps/v4/content/docs/components/docx-viewer.mdx
index 28f90ed..69a210d 100644
--- a/apps/v4/content/docs/components/docx-viewer.mdx
+++ b/apps/v4/content/docs/components/docx-viewer.mdx
@@ -11,6 +11,9 @@ The React DOCX Viewer is for contracts, proposals, reports, and internal docs wh
## Installation
+First configure the [style-aware registry](/docs#installation) in
+`components.json` so the CLI uses the primitives for your project.
+
<CodeTabs>
<TabsList>
@@ -32,7 +35,7 @@ npx shadcn@latest add @extend/docx-viewer
<Step>Install the following dependencies:</Step>
```bash
-npm install @extend-ai/react-docx@^0.11.2
+npm install @extend-ai/[email protected] @tanstack/[email protected]
```
<Step>Install the icon library configured in your `components.json`:</Step>
@@ -45,7 +48,19 @@ so make sure that library's package is installed. When copying the source
manually, replace each `IconPlaceholder` element with the icon named by the
prop for your library.
-<Step>Copy and paste the following code into your project.</Step>
+<Step>Install the shared components and UI primitives:</Step>
+
+The manual source uses Base UI primitives. Use the Command tab for a Radix
+project so the registry adapts the source to your primitive APIs.
+
+```bash
+npx shadcn@latest add @extend/document-viewer-sidebar @extend/file-thumbnail badge card button dropdown-menu input scroll-area select separator spinner tooltip utils
+```
+
+<Step>
+ Copy both files below into your project. The annotation card is shared by
+ the viewer and editor and renders comments and tracked changes.
+</Step>
<DocxViewerSource />
diff --git a/apps/v4/content/docs/components/xlsx-editor.mdx b/apps/v4/content/docs/components/xlsx-editor.mdx
index 91df800..181880b 100644
--- a/apps/v4/content/docs/components/xlsx-editor.mdx
+++ b/apps/v4/content/docs/components/xlsx-editor.mdx
@@ -11,6 +11,9 @@ The React Excel Editor is an experimental spreadsheet editing surface built on t
## Installation
+First configure the [style-aware registry](/docs#installation) in
+`components.json` so the CLI uses the primitives for your project.
+
<CodeTabs>
<TabsList>
@@ -32,7 +35,7 @@ npx shadcn@latest add @extend/xlsx-editor
<Step>Install the following dependencies:</Step>
```bash
-npm install @base-ui/react@^1.4.1 @extend-ai/[email protected] class-variance-authority@^0.7.1
+npm install @base-ui/react@^1.4.1 @extend-ai/[email protected] class-variance-authority@^0.7.1
```
<Step>Install the icon library configured in your `components.json`:</Step>
@@ -46,13 +49,16 @@ manually, replace each `IconPlaceholder` element with the icon named by the
prop for your library.
<Step>
- Install the Excel Viewer component because the editor reuses its sheet tabs
- and table header menu, plus the Group primitive used by the formula bar and
- the Color Picker and Toggle components used by the cell style controls.
+ Install the Excel Viewer component for its sheet tabs, context menu, scroll
+ area, and table header menu, plus the icon prop types and UI primitives used
+ by the editor:
</Step>
+The manual source uses Base UI primitives. Use the Command tab for a Radix
+project so the registry adapts the source to your primitive APIs.
+
```bash
-npx shadcn@latest add @extend/xlsx-viewer @extend/group @extend/color-picker @extend/toggle context-menu
+npx shadcn@latest add @extend/xlsx-viewer @extend/registry-icon-props @extend/group @extend/color-picker @extend/toggle button dropdown-menu input select separator spinner tooltip utils
```
<Step>Copy and paste the following code into your project.</Step>
diff --git a/apps/v4/content/docs/components/xlsx-viewer.mdx b/apps/v4/content/docs/components/xlsx-viewer.mdx
index 8a8f381..4fe107f 100644
--- a/apps/v4/content/docs/components/xlsx-viewer.mdx
+++ b/apps/v4/content/docs/components/xlsx-viewer.mdx
@@ -36,7 +36,7 @@ npx shadcn@latest add @extend/xlsx-viewer
<Step>Install the following dependencies:</Step>
```bash
-npm install @extend-ai/[email protected]
+npm install @extend-ai/[email protected]
```
<Step>Install the icon library configured in your `components.json`:</Step>
@@ -50,11 +50,14 @@ manually, replace each `IconPlaceholder` element with the icon named by the
prop for your library.
<Step>
- Install the Context Menu primitive for separators and keyboard shortcuts:
+ Install the UI primitives used by the viewer, sheet tabs, and menus:
</Step>
+The manual source uses Base UI primitives. Use the Command tab for a Radix
+project so the registry adapts the source to your primitive APIs.
+
```bash
-npx shadcn@latest add context-menu
+npx shadcn@latest add button context-menu dropdown-menu input popover scroll-area select separator spinner tabs tooltip utils
```
<Step>Copy and paste the following code into your project.</Step>
diff --git a/apps/v4/package.json b/apps/v4/package.json
index e86471b..190272a 100644
--- a/apps/v4/package.json
+++ b/apps/v4/package.json
@@ -55,9 +55,9 @@
"@embedpdf/plugin-viewport": "^2.15.0",
"@embedpdf/plugin-zoom": "^2.15.0",
"@embedpdf/utils": "2.15.0",
- "@extend-ai/react-docx": "0.11.2",
+ "@extend-ai/react-docx": "0.12.0",
"@extend-ai/react-pptx": "0.2.1",
- "@extend-ai/react-xlsx": "0.18.0",
+ "@extend-ai/react-xlsx": "0.19.0",
"@glideapps/glide-data-grid": "6.0.4-alpha24",
"@hugeicons/core-free-icons": "^4.2.0",
"@hugeicons/react": "^1.1.6",
diff --git a/apps/v4/registry.json b/apps/v4/registry.json
index 7d5afd7..7d4e5a8 100644
--- a/apps/v4/registry.json
+++ b/apps/v4/registry.json
@@ -747,7 +747,7 @@
"title": "DOCX Viewer",
"description": "A DOCX viewer with upload, zoom, theme controls, and read-only rendering.",
"dependencies": [
- "@extend-ai/react-docx@^0.11.2",
+ "@extend-ai/[email protected]",
"@tanstack/react-virtual@^3.13.12"
],
"registryDependencies": [
@@ -774,7 +774,7 @@
"type": "registry:ui",
"title": "DOCX Editor",
"description": "An experimental DOCX editor with a Word-style toolbar, page thumbnails, import, export, and live document mutation.",
- "dependencies": ["@extend-ai/react-docx@^0.11.2"],
+ "dependencies": ["@extend-ai/[email protected]"],
"registryDependencies": [
"@extend/document-viewer-sidebar",
"@extend/file-thumbnail",
@@ -799,7 +799,7 @@
"type": "registry:ui",
"title": "Excel Viewer",
"description": "An XLSX viewer with workbook loading, thumbnails, sheet tabs, upload, zoom, and theme controls.",
- "dependencies": ["@extend-ai/[email protected]"],
+ "dependencies": ["@extend-ai/[email protected]"],
"registryDependencies": ["utils"],
"categories": ["documents"],
"files": [
@@ -838,7 +838,7 @@
"type": "registry:ui",
"title": "Excel Editor",
"description": "An experimental XLSX editor with formula input, undo and redo, sheet controls, export, and live workbook mutation.",
- "dependencies": ["@extend-ai/[email protected]"],
+ "dependencies": ["@extend-ai/[email protected]"],
"registryDependencies": ["utils", "@extend/xlsx-viewer"],
"categories": ["documents"],
"files": [
diff --git a/package.json b/package.json
index a0eba3e..2ecb6f7 100644
--- a/package.json
+++ b/package.json
@@ -35,7 +35,7 @@
"@types/react-dom": "19.2.2"
},
"patchedDependencies": {
- "@extend-ai/[email protected]": "patches/@[email protected]"
+ "@extend-ai/[email protected]": "patches/@[email protected]"
}
}
}
diff --git a/patches/@[email protected] b/patches/@[email protected]
similarity index 90%
rename from patches/@[email protected]
rename to patches/@[email protected]
index f5a411e..6e06863 100644
--- a/patches/@[email protected]
+++ b/patches/@[email protected]
@@ -2,7 +2,7 @@ diff --git a/dist/index.cjs b/dist/index.cjs
index 6e5b4facab5b3ee7bbe9faf21e51f6571a92c020..2215135e1e6e28f36421d96548ce1aac66e2d88a 100644
--- a/dist/index.cjs
+++ b/dist/index.cjs
-@@ -12661,7 +12661,7 @@ function fontMetricProfileKey() {
+@@ -13506,7 +13506,7 @@ function fontMetricProfileKey() {
const ratio = typeof window !== "undefined" ? window.devicePixelRatio : 1;
const viewportScale = typeof window !== "undefined" ? window.visualViewport?.scale ?? 1 : 1;
const hasDom = typeof document !== "undefined" && Boolean(document.body);
@@ -15,7 +15,7 @@ diff --git a/dist/index.js b/dist/index.js
index f1c26fc1a7005acc436ce4d4395c6c1a8c72a169..51f2bd857558321ab5d55ca7c6dd83b1a1a7a4d7 100644
--- a/dist/index.js
+++ b/dist/index.js
-@@ -10836,7 +10836,7 @@ function fontMetricProfileKey() {
+@@ -12420,7 +12420,7 @@ function fontMetricProfileKey() {
const ratio = typeof window !== "undefined" ? window.devicePixelRatio : 1;
const viewportScale = typeof window !== "undefined" ? window.visualViewport?.scale ?? 1 : 1;
const hasDom = typeof document !== "undefined" && Boolean(document.body);
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 8682442..217fefc 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -9,9 +9,9 @@ overrides:
'@types/react-dom': 19.2.2
patchedDependencies:
- '@extend-ai/[email protected]':
- hash: olzxvw7bsmbduaezq7u5ayhfs4
- path: patches/@[email protected]
+ '@extend-ai/[email protected]':
+ hash: 6jpfdezkpalcaczkxwnedel2hi
+ path: patches/@[email protected]
importers:
@@ -129,14 +129,14 @@ importers:
specifier: 2.15.0
'@extend-ai/react-docx':
- specifier: 0.11.2
- version: 0.11.2(patch_hash=olzxvw7bsmbduaezq7u5ayhfs4)([email protected]([email protected]))([email protected])
+ specifier: 0.12.0
+ version: 0.12.0(patch_hash=6jpfdezkpalcaczkxwnedel2hi)([email protected]([email protected]))([email protected])
'@extend-ai/react-pptx':
specifier: 0.2.1
'@extend-ai/react-xlsx':
- specifier: 0.18.0
+ specifier: 0.19.0
'@glideapps/glide-data-grid':
specifier: 6.0.4-alpha24
@@ -1480,11 +1480,16 @@ packages:
resolution: {integrity: sha512-ZAoA40rNMPwSm+AeHpCq8STiNAwzWLJuP8Xv4CHIc9wv/PSuExjMrmjfYNj682vW0OOiZ1HKxzvjQr9XZIisQA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@extend-ai/[email protected]':
- resolution: {integrity: sha512-97slHKO9o83R/YCAu8YzKbwE+sBQRoMx2duBQCaHUHF8ou5QrtsoYU3hRQvMs59DqzcISWyxMsgtT4s+RjP/zQ==}
+ '@extend-ai/[email protected]':
+ resolution: {integrity: sha512-PbapIQrN2naad7D6yHJV7v7UDcvfupfisHJMU5Mo/ZSQpTPGr4kIWuK09nRmaSDl7fdfbz+z1mj/SBdC6GlBMA==}
peerDependencies:
react: '>=18'
react-dom: '>=18'
+ peerDependenciesMeta:
+ react:
+ optional: true
+ react-dom:
+ optional: true
'@extend-ai/[email protected]':
resolution: {integrity: sha512-N5XfCGLfdvwY2LRnTz7m4p5gi7nOYgdNnSudB/yPYSjjpBquN9d6nIDcNB/hojMxZwJJRLNR0Ayp8puRjh+heA==}
@@ -1492,11 +1497,16 @@ packages:
react: '>=18.2 <20'
react-dom: '>=18.2 <20'
- '@extend-ai/[email protected]':
- resolution: {integrity: sha512-Ju+FjTnjlHcQ1P4uP6IB+eeYTbbLllfYWV5f6+bW5LITvMc34e8HGc0UgqiRqTcehwqIs4h0XYzP3sgnlxscog==}
+ '@extend-ai/[email protected]':
+ resolution: {integrity: sha512-PTDY1Ht/3UtUb+zIllWrvCFqHKjyhUr2pxYrAsFZpKazQwMo5US1n667rdKhu5w3A0j7ZYDNr+BCBjvNu2XF9g==}
peerDependencies:
react: '>=18'
react-dom: '>=18'
+ peerDependenciesMeta:
+ react:
+ optional: true
+ react-dom:
+ optional: true
'@floating-ui/[email protected]':
resolution: {integrity: sha512-1Ih4WTWyw0+lKyFMcBHGbb5U5FtuHJuujoyyr5zTaWS5EYMeT6Jb2AuDeftsCsEuchO+mM2ij5+q9crhydzLhQ==}
@@ -3134,18 +3144,9 @@ packages:
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-wWE/ZJDNNDp18JHWy7n5PQooqerHePVkEEu6Op0twKQ2InF9DPhYMQptQY0syDEviMd3/r8D0OUvKJibDGm9HQ==}
- peerDependencies:
- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
- react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
-
'@tanstack/[email protected]':
resolution: {integrity: sha512-Er2N7q3WOiH6y2JLxsxNX+u2/sLqSsL0bxFgDjuiPiA7vKhZRm+IzcS17vRee3GNXr64UsesA5CAp9yTiIYw9A==}
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-CsTW892z23gy7IyxYTTorVu1uZWB+0N349rSMgKz4rFLPpLza7F7TpcCKeI5iUAwYQCt8QUlOU67J+KXCxtpGw==}
-
'@ts-morph/[email protected]':
resolution: {integrity: sha512-Wf29UqxWDpc+i61k3oIOzcUfQt79PIT9y/MWfAGlrkjg6lBC1hwDECLXPVJAhWjiGbfBCxZd65F/LIZF3+jeJQ==}
@@ -5600,6 +5601,14 @@ packages:
peerDependencies:
preact: '>=10 || >= 11.0.0-0'
+ resolution: {integrity: sha512-ej2aVZ+vZ8WO7tvlQWRM9N63A0KzF9q4mWJfDUHgYaIofWY9hu74QdnQrjoPMmZi2/nZ5gN0bJCQF49xQqx09Q==}
+ peerDependencies:
+ preact-render-to-string: '>=5'
+ peerDependenciesMeta:
+ preact-render-to-string:
+ optional: true
+
resolution: {integrity: sha512-IcODoASASYwJ9kxz7+MJeiJhvLriwSb4y4mHIyxdgaRZp6kPUud7xytrk/6GZw8U3y6EFJaRb5wi9SrEK+8+lg==}
@@ -7633,14 +7642,15 @@ snapshots:
'@eslint/core': 0.13.0
levn: 0.4.1
- '@extend-ai/[email protected](patch_hash=olzxvw7bsmbduaezq7u5ayhfs4)([email protected]([email protected]))([email protected])':
+ '@extend-ai/[email protected](patch_hash=6jpfdezkpalcaczkxwnedel2hi)([email protected]([email protected]))([email protected])':
dependencies:
'@chenglou/pretext': 0.0.8
- '@tanstack/react-virtual': 3.14.21([email protected]([email protected]))([email protected])
+ csstype: 3.2.3
fast-png: 8.0.0
+ utif: 3.1.0
+ optionalDependencies:
react: 19.2.3
react-dom: 19.2.3([email protected])
- utif: 3.1.0
dependencies:
@@ -7655,21 +7665,25 @@ snapshots:
regl: 2.1.1
topojson-client: 3.1.0
dependencies:
'@dukelib/sheets-wasm': 0.1.23
- '@tanstack/react-virtual': 3.13.26([email protected]([email protected]))([email protected])
+ csstype: 3.2.3
d3-geo: 3.1.1
d3-hierarchy: 3.1.2
d3-scale: 4.0.2
d3-shape: 3.2.0
fflate: 0.8.3
- react: 19.2.3
- react-dom: 19.2.3([email protected])
regl: 2.1.1
topojson-client: 3.1.0
us-atlas: 3.0.1
world-atlas: 2.0.2
+ optionalDependencies:
+ react: 19.2.3
+ react-dom: 19.2.3([email protected])
+ transitivePeerDependencies:
+ - preact-render-to-string
'@floating-ui/[email protected]':
dependencies:
@@ -9273,16 +9287,8 @@ snapshots:
react: 19.2.3
react-dom: 19.2.3([email protected])
- dependencies:
- '@tanstack/virtual-core': 3.19.6
- react: 19.2.3
- react-dom: 19.2.3([email protected])
-
'@tanstack/[email protected]': {}
- '@tanstack/[email protected]': {}
-
'@ts-morph/[email protected]':
dependencies:
fast-glob: 3.3.3
@@ -12262,6 +12268,10 @@ snapshots:
dependencies:
preact: 11.0.0-beta.0
+ optionalDependencies:
+ preact-render-to-string: 6.6.5([email protected])
+