feat(xlsx-viewer): expose getCellStyle for custom per-cell styling - #15
feat(xlsx-viewer): expose getCellStyle for custom per-cell styling#15tothienbao6a0 wants to merge 1 commit into
Conversation
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 is attempting to deploy a commit to the Extend Team on Vercel. A member of the Team first needs to authorize it. |
|
Opening for visibility 👋 — this is the downstream half of extend-hq/react-xlsx#8. It just forwards the new Kept as a draft on purpose: it's blocked on Question for maintainers: once react-xlsx#8 lands and releases, do you want the pin matched to that exact version before this goes in? Happy to update and flip it out of draft whenever the release is cut. |
Summary
Forwards the new
getCellStyleprop from@extend-ai/react-xlsxthrough the@extend/xlsx-viewerregistry 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.getCellStylethroughXlsxViewerPreview → XlsxViewerContent → XlsxWorkbookLoadedViewer → XlsxWorkbookSurface → XlsxViewer, typed viaXlsxViewerProps["getCellStyle"]so the signature stays in sync with the underlying package.@extend-ai/react-xlsxdependency (package.json+registry.json) to the release that adds the prop.getCellStylein the component's API reference.Dependency / status
Test plan
pnpm typecheck(verified locally against agetCellStyle-enabled build of the package)pnpm registry:validateprettier --checkon changed filespnpm buildonce the dependency release is availableMade with Cursor