@unmade/text-renderer 1.3.0 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ce-adapter/index.cjs +1 -1
- package/dist/ce-adapter/index.d.ts +1 -1
- package/dist/ce-adapter/index.js +16 -12
- package/dist/ce-adapter/types.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/node/ce-adapter/index.d.ts +1 -1
- package/dist/node/ce-adapter/types.d.ts +1 -0
- package/dist/node/index.js +1 -1
- package/dist/worker/ce-adapter/index.d.ts +1 -1
- package/dist/worker/ce-adapter/types.d.ts +1 -0
- package/dist/worker/index.js +1 -1
- package/package.json +8 -8
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* renderer options. Intended for use in server-side comparison pipelines
|
|
7
7
|
* and any environment that bridges CE state to the text-renderer.
|
|
8
8
|
*/
|
|
9
|
+
export type { BasePlacementSettings, BasePlacementState, CombinedEditorSettings, ConfigEditor, EditorGarment, EditorPalette, EditorPaletteColour, EditorState, EditorStateVals, EditorVariant, EmbellishmentPosition, Palettes, PlacementLibraryItem, PlacementPositionResult, PlacementsSettings, TextLibraryItem, TextLibraryItemFont, } from './ce-types';
|
|
9
10
|
export { extractTextPlacements } from './extractTextPlacements';
|
|
10
11
|
export { mapStateToRendererOptions } from './mapStateToRendererOptions';
|
|
11
|
-
export type { BasePlacementSettings, BasePlacementState, CombinedEditorSettings, ConfigEditor, EditorGarment, EditorPalette, EditorPaletteColour, EditorState, EditorStateVals, EditorVariant, EmbellishmentPosition, Palettes, PlacementLibraryItem, PlacementPositionResult, PlacementsSettings, TextLibraryItem, TextLibraryItemFont, } from './ce-types';
|
|
12
12
|
export type { LoadedTextPlacement, TextPlacementFont, TextPlacementPosition, TextPlacementSpacing, } from './types';
|
package/dist/node/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Blob as e, Buffer as t, Face as n, Feature as r, Font as i, shape as a } from "harfbuzzjs";
|
|
2
2
|
import o from "@thednp/dommatrix";
|
|
3
|
-
import { DOMParser as s } from "linkedom";
|
|
4
3
|
import "node:path";
|
|
4
|
+
import { DOMParser as s } from "linkedom";
|
|
5
5
|
import { svgPathProperties as c } from "svg-path-properties";
|
|
6
6
|
//#region src/loading/createLoadedFont.ts
|
|
7
7
|
function l(e) {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* renderer options. Intended for use in server-side comparison pipelines
|
|
7
7
|
* and any environment that bridges CE state to the text-renderer.
|
|
8
8
|
*/
|
|
9
|
+
export type { BasePlacementSettings, BasePlacementState, CombinedEditorSettings, ConfigEditor, EditorGarment, EditorPalette, EditorPaletteColour, EditorState, EditorStateVals, EditorVariant, EmbellishmentPosition, Palettes, PlacementLibraryItem, PlacementPositionResult, PlacementsSettings, TextLibraryItem, TextLibraryItemFont, } from './ce-types';
|
|
9
10
|
export { extractTextPlacements } from './extractTextPlacements';
|
|
10
11
|
export { mapStateToRendererOptions } from './mapStateToRendererOptions';
|
|
11
|
-
export type { BasePlacementSettings, BasePlacementState, CombinedEditorSettings, ConfigEditor, EditorGarment, EditorPalette, EditorPaletteColour, EditorState, EditorStateVals, EditorVariant, EmbellishmentPosition, Palettes, PlacementLibraryItem, PlacementPositionResult, PlacementsSettings, TextLibraryItem, TextLibraryItemFont, } from './ce-types';
|
|
12
12
|
export type { LoadedTextPlacement, TextPlacementFont, TextPlacementPosition, TextPlacementSpacing, } from './types';
|