Skip to content

feat(xlsx-viewer): expose getCellStyle for custom per-cell styling - #14

Closed
tothienbao6a0 wants to merge 1 commit into
extend-hq:mainfrom
tothienbao6a0:feat/xlsx-viewer-get-cell-style
Closed

feat(xlsx-viewer): expose getCellStyle for custom per-cell styling#14
tothienbao6a0 wants to merge 1 commit into
extend-hq:mainfrom
tothienbao6a0:feat/xlsx-viewer-get-cell-style

Conversation

@tothienbao6a0

@tothienbao6a0 tothienbao6a0 commented Jun 18, 2026

Copy link
Copy Markdown

Summary

Forwards the new getCellStyle prop from @extend-ai/react-xlsx through the @extend/xlsx-viewer registry component, so consumers can apply custom per-cell styling (highlights, outlines, status tints) on top of the workbook's own Excel formatting — without forking the component.

  • Threads getCellStyle through XlsxViewerPreview → XlsxViewerContent → XlsxWorkbookLoadedViewer → XlsxWorkbookSurface → XlsxViewer, typed via XlsxViewerProps["getCellStyle"] so the signature stays in sync with the underlying package.
  • Bumps the @extend-ai/react-xlsx dependency (package.json + registry.json) to the release that adds the prop.
  • Documents getCellStyle in the component's API reference.

Dependency / status

Draft — blocked on getCellStyle shipping in a published @extend-ai/react-xlsx release (upstream: extend-hq/react-xlsx#8). The version pin here is provisional and should be matched to whatever release includes that change. Ready to mark for review once the package is published.

Test plan

  • pnpm typecheck (verified locally against a getCellStyle-enabled build of the package)
  • pnpm registry:validate
  • prettier --check on changed files
  • pnpm build once the dependency release is available

@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

@tothienbao6a0 is attempting to deploy a commit to the Extend Team on Vercel.

A member of the Team first needs to authorize it.

Forward the new react-xlsx `getCellStyle` prop through the
`@extend/xlsx-viewer` registry component so consumers can apply custom
per-cell styling on top of the workbook's own formatting. Bumps the
`@extend-ai/react-xlsx` dependency to the release that adds the prop and
documents it in the component API reference.

Co-authored-by: Cursor <cursoragent@cursor.com>
@tothienbao6a0
tothienbao6a0 force-pushed the feat/xlsx-viewer-get-cell-style branch from c0bf576 to 2e24391 Compare June 18, 2026 06:28
@tothienbao6a0 tothienbao6a0 changed the title Expose getCellStyle and cellStyleRevision on xlsx-viewer feat(xlsx-viewer): expose getCellStyle for custom per-cell styling Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant