Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/calm-tabs-stay-contained.md

This file was deleted.

4 changes: 4 additions & 0 deletions .changeset/complete-embedded-font-mock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
---

Keep the embedded-font test mock compatible with concurrent React test imports.
6 changes: 3 additions & 3 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"archiver": "8.0.0",
"brace-expansion": "5.0.9",
"fast-uri": "3.1.5",
"nanoid": "3.3.17",
"nanoid": "3.3.18",
"postcss": "8.5.25",
"prosemirror-model": "1.25.11",
"prosemirror-view": "1.42.1",
Expand Down
6 changes: 6 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @stll/folio-core

## 0.17.1

### Patch Changes

- [#566](https://github.com/stella/folio/pull/566) [`0e40ca0`](https://github.com/stella/folio/commit/0e40ca014bb241216dfce01dac0128a1fecbab58) Thanks [@jan-kubica](https://github.com/jan-kubica)! - Keep justified tabbed first lines within the paragraph's right margin.

## 0.17.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stll/folio-core",
"version": "0.17.0",
"version": "0.17.1",
"description": "Headless, framework-neutral core of folio: the OOXML (.docx) parser, document model, ProseMirror integration, and page-layout engine. No React.",
"keywords": [
"document-model",
Expand Down
2 changes: 2 additions & 0 deletions packages/react/src/paged-editor/embeddedFonts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import type { EmbeddedFont } from "@stll/folio-core/fonts/embeddedFonts";
let extractImpl: (buffer: ArrayBuffer) => Promise<EmbeddedFont[]>;
void mock.module("@stll/folio-core/fonts/embeddedFonts", () => ({
extractEmbeddedFonts: (buffer: ArrayBuffer) => extractImpl(buffer),
buildEmbeddedFontFamilyMap: (faces: readonly EmbeddedFont[]) =>
new Map(faces.map(({ originalFamily, family }) => [originalFamily, family])),
}));

const { loadEmbeddedFontFaces } = await import("./embeddedFonts");
Expand Down
Loading