Skip to content

armgit / ui

Public Imported from GitHub
0
TypeScript

Remove experimental labels from document editors

Andrew Luoa6331e96960f
diff --git a/apps/v4/components/docs-sidebar.tsx b/apps/v4/components/docs-sidebar.tsx
index 4e8a4de..2c42709 100644
--- a/apps/v4/components/docs-sidebar.tsx
+++ b/apps/v4/components/docs-sidebar.tsx
@@ -107,9 +107,6 @@ export function DocsSidebar({
{item.type === "folder" && (
<SidebarMenu className="gap-0.5">
{pages.map((page) => {
- const isExperimental =
- page.url === "/docs/components/xlsx-editor" ||
- page.url === "/docs/components/docx-editor"
const isNew = page.url === "/docs/components/pdf-editor"
return (
@@ -119,9 +116,7 @@ export function DocsSidebar({
isActive={page.url === pathname}
className={cn(
"relative h-[30px] w-fit overflow-visible border border-transparent text-[0.8rem] font-medium after:absolute after:inset-x-0 after:-inset-y-1 after:z-0 after:rounded-md data-[active=true]:border-accent data-[active=true]:bg-accent 3xl:fixed:w-full 3xl:fixed:max-w-48",
- (isExperimental || isNew) &&
- "w-full overflow-hidden",
- isExperimental ? "pr-24" : isNew && "pr-12"
+ isNew && "w-full overflow-hidden pr-12"
)}
>
<Link href={page.url}>
@@ -129,9 +124,9 @@ export function DocsSidebar({
{page.name}
</Link>
</SidebarMenuButton>
- {isExperimental || isNew ? (
+ {isNew ? (
<SidebarMenuBadge className="right-2 rounded-full border bg-background px-1.5 text-[0.625rem] tracking-wide text-muted-foreground uppercase">
- {isExperimental ? "Experimental" : "New"}
+ New
</SidebarMenuBadge>
) : null}
</SidebarMenuItem>
diff --git a/apps/v4/content/docs/components/docx-editor.mdx b/apps/v4/content/docs/components/docx-editor.mdx
index 58a0d69..218c40e 100644
--- a/apps/v4/content/docs/components/docx-editor.mdx
+++ b/apps/v4/content/docs/components/docx-editor.mdx
@@ -5,7 +5,7 @@ component: true
featured: true
---
-The React DOCX Editor is an experimental document editing surface built on top of `@extend-ai/react-docx`. It keeps the viewer shell familiar while enabling direct Word document mutations through the package editor API.
+The React DOCX Editor is a document editing surface built on top of `@extend-ai/react-docx`. It keeps the viewer shell familiar while enabling direct Word document mutations through the package editor API.
<DocxEditorDemo />
diff --git a/apps/v4/content/docs/components/xlsx-editor.mdx b/apps/v4/content/docs/components/xlsx-editor.mdx
index 181880b..e73760e 100644
--- a/apps/v4/content/docs/components/xlsx-editor.mdx
+++ b/apps/v4/content/docs/components/xlsx-editor.mdx
@@ -5,7 +5,7 @@ component: true
featured: true
---
-The React Excel Editor is an experimental spreadsheet editing surface built on top of `@extend-ai/react-xlsx`. It keeps the viewer shell familiar while enabling direct XLSX workbook mutations through the package editing API.
+The React Excel Editor is a spreadsheet editing surface built on top of `@extend-ai/react-xlsx`. It keeps the viewer shell familiar while enabling direct XLSX workbook mutations through the package editing API.
<XlsxEditorDemo />
diff --git a/apps/v4/lib/pdf-viewer-blocks.ts b/apps/v4/lib/pdf-viewer-blocks.ts
index 17df9ea..3b0e7ac 100644
--- a/apps/v4/lib/pdf-viewer-blocks.ts
+++ b/apps/v4/lib/pdf-viewer-blocks.ts
@@ -94,7 +94,6 @@ export const PDF_VIEWER_BLOCKS = [
{
id: "docx-editor-block",
title: "DOCX Editor",
- badge: "Experimental",
description:
"A Word-style document editor with formatting controls, page thumbnails, and DOCX export.",
command: getRegistryAddCommand("docx-editor-block"),
diff --git a/apps/v4/registry.json b/apps/v4/registry.json
index 7d4e5a8..b5ecfbf 100644
--- a/apps/v4/registry.json
+++ b/apps/v4/registry.json
@@ -773,7 +773,7 @@
"name": "docx-editor",
"type": "registry:ui",
"title": "DOCX Editor",
- "description": "An experimental DOCX editor with a Word-style toolbar, page thumbnails, import, export, and live document mutation.",
+ "description": "A DOCX editor with a Word-style toolbar, page thumbnails, import, export, and live document mutation.",
"dependencies": ["@extend-ai/[email protected]"],
"registryDependencies": [
"@extend/document-viewer-sidebar",
@@ -837,7 +837,7 @@
"name": "xlsx-editor",
"type": "registry:ui",
"title": "Excel Editor",
- "description": "An experimental XLSX editor with formula input, undo and redo, sheet controls, export, and live workbook mutation.",
+ "description": "An XLSX editor with formula input, undo and redo, sheet controls, export, and live workbook mutation.",
"dependencies": ["@extend-ai/[email protected]"],
"registryDependencies": ["utils", "@extend/xlsx-viewer"],
"categories": ["documents"],