Commit Graph
5 Commits
Author SHA1 Message Date
Dolan d15c565e4a chore: remove the deprecated functional/prefer-readonly-type rule (#3949) 2026-11-28 16:47:12 +08:00
bcc7c976d0 build(deps-dev): bump eslint-plugin-import-x from 4.17.1 to 4.18.1 (#3902)
* build(deps-dev): bump eslint-plugin-import-x from 4.17.1 to 4.18.1

Bumps [eslint-plugin-import-x](https://github.com/un-ts/eslint-plugin-import-x) from 4.17.1 to 4.18.1.
- [Release notes](https://github.com/un-ts/eslint-plugin-import-x/releases)
- [Changelog](https://github.com/un-ts/eslint-plugin-import-x/blob/master/CHANGELOG.md)
- [Commits](https://github.com/un-ts/eslint-plugin-import-x/compare/v4.17.1...v4.18.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-import-x
  dependency-version: 4.18.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: sort sibling and parent imports for eslint-plugin-import-x 4.18

import-x 4.18 now enforces alphabetical order across the merged sibling/parent group, which 4.17 missed. Keep each Vite ?raw/?inline import's @ts-expect-error comment attached to it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dolan Miu <dolan_miu@hotmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 00:48:32 +00:00
Dolan a61c85d64e feat: docx/html, HTML as a document's content (#2632) (#3752) 2026-10-13 14:53:26 +01:00
Dolan 16bdaa1b25 feat(layout): write caption numbers (SEQ fields) clean with pageNumbers, counted as Word counts them (#3630)
A SEQ field's number counts the SEQ fields of its identifier before it, so it
doesn't depend on the layout. With pageNumbers each is written clean with its
number, counted as Word's PDF of word-seq showed, and left blank where Word's
count isn't known. Footnotes, endnotes and comments have their page references
and SEQ fields written clean too, the page numbers of a table of contents with
seqFieldIdentifierForPrefix are left blank, and a simple field written without a
result no longer throws when it is given one.

Adds scripts/layout-probes/word-seq.ts, with Word's PDFs and word-seq.py.
2026-10-02 02:56:04 +01:00
Dolanandmatt b44ac388df feat: add endnotes support to docx library (#3354)
* feat: add endnotes support to docx library

- Add comprehensive endnotes implementation with EndnoteReferenceRun component
- Create Endnotes class and EndnotesWrapper for document integration
- Add endnote attributes, reference runs, and separator components
- Update documentation to cover both footnotes and endnotes usage
- Include demo file demonstrating endnotes functionality with multiple sections
- Integrate endnotes into compiler pipeline and content types
- Add comprehensive test coverage for endnote components

Endnotes appear at the end of the document, unlike footnotes which appear at the bottom of each page, making them ideal for academic papers and formal documents.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

# Conflicts:
#	src/export/packer/next-compiler.ts
#	src/file/paragraph/run/empty-children.ts
#	src/file/styles/style/default-styles.ts

* Fix tests

* Add documentation

* Add and fix test

---------

Co-authored-by: matt <matthew.ed.keller@gmail.com>
2026-02-16 00:12:28 +00:00