modern-text 1.8.3 → 1.9.1
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/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +33 -6
- package/dist/index.mjs +2 -2
- package/dist/shared/{modern-text.CLAcY4KK.d.cts → modern-text.WbWB6f3d.d.cts} +10 -10
- package/dist/shared/{modern-text.CLAcY4KK.d.mts → modern-text.WbWB6f3d.d.mts} +10 -10
- package/dist/shared/{modern-text.CLAcY4KK.d.ts → modern-text.WbWB6f3d.d.ts} +10 -10
- package/dist/web-components/index.cjs +271 -230
- package/dist/web-components/index.d.cts +39 -33
- package/dist/web-components/index.d.mts +39 -33
- package/dist/web-components/index.d.ts +39 -33
- package/dist/web-components/index.mjs +271 -230
- package/package.json +14 -14
- package/dist/shared/{modern-text.y0a7DPYV.mjs → modern-text.B2pcGP3X.mjs} +1 -1
- package/dist/shared/{modern-text.XBrC1nBJ.cjs → modern-text.BmTeQ51D.cjs} +1 -1
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NormalizedStyle, NormalizedHighlight } from 'modern-idoc';
|
|
2
2
|
import { BoundingBox, Path2DDrawStyle, Path2D, Matrix3, Path2DSet } from 'modern-path2d';
|
|
3
|
-
import { T as Text, a as TextPlugin, b as TextOptions, M as MeasureResult, c as TextRenderOptions } from './shared/modern-text.
|
|
4
|
-
export { C as Character, F as Fragment, g as MeasureDomResult, f as MeasuredCharacter, e as MeasuredFragment, d as MeasuredParagraph, h as Measurer, P as Paragraph, i as TextEvents, t as textDefaultStyle } from './shared/modern-text.
|
|
3
|
+
import { T as Text, a as TextPlugin, b as TextOptions, M as MeasureResult, c as TextRenderOptions } from './shared/modern-text.WbWB6f3d.cjs';
|
|
4
|
+
export { C as Character, F as Fragment, g as MeasureDomResult, f as MeasuredCharacter, e as MeasuredFragment, d as MeasuredParagraph, h as Measurer, P as Paragraph, i as TextEvents, t as textDefaultStyle } from './shared/modern-text.WbWB6f3d.cjs';
|
|
5
5
|
import 'modern-font';
|
|
6
6
|
|
|
7
7
|
declare function parseColor(ctx: CanvasRenderingContext2D, source: string | CanvasGradient | CanvasPattern, box: BoundingBox): string | CanvasGradient | CanvasPattern;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NormalizedStyle, NormalizedHighlight } from 'modern-idoc';
|
|
2
2
|
import { BoundingBox, Path2DDrawStyle, Path2D, Matrix3, Path2DSet } from 'modern-path2d';
|
|
3
|
-
import { T as Text, a as TextPlugin, b as TextOptions, M as MeasureResult, c as TextRenderOptions } from './shared/modern-text.
|
|
4
|
-
export { C as Character, F as Fragment, g as MeasureDomResult, f as MeasuredCharacter, e as MeasuredFragment, d as MeasuredParagraph, h as Measurer, P as Paragraph, i as TextEvents, t as textDefaultStyle } from './shared/modern-text.
|
|
3
|
+
import { T as Text, a as TextPlugin, b as TextOptions, M as MeasureResult, c as TextRenderOptions } from './shared/modern-text.WbWB6f3d.mjs';
|
|
4
|
+
export { C as Character, F as Fragment, g as MeasureDomResult, f as MeasuredCharacter, e as MeasuredFragment, d as MeasuredParagraph, h as Measurer, P as Paragraph, i as TextEvents, t as textDefaultStyle } from './shared/modern-text.WbWB6f3d.mjs';
|
|
5
5
|
import 'modern-font';
|
|
6
6
|
|
|
7
7
|
declare function parseColor(ctx: CanvasRenderingContext2D, source: string | CanvasGradient | CanvasPattern, box: BoundingBox): string | CanvasGradient | CanvasPattern;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NormalizedStyle, NormalizedHighlight } from 'modern-idoc';
|
|
2
2
|
import { BoundingBox, Path2DDrawStyle, Path2D, Matrix3, Path2DSet } from 'modern-path2d';
|
|
3
|
-
import { T as Text, a as TextPlugin, b as TextOptions, M as MeasureResult, c as TextRenderOptions } from './shared/modern-text.
|
|
4
|
-
export { C as Character, F as Fragment, g as MeasureDomResult, f as MeasuredCharacter, e as MeasuredFragment, d as MeasuredParagraph, h as Measurer, P as Paragraph, i as TextEvents, t as textDefaultStyle } from './shared/modern-text.
|
|
3
|
+
import { T as Text, a as TextPlugin, b as TextOptions, M as MeasureResult, c as TextRenderOptions } from './shared/modern-text.WbWB6f3d.js';
|
|
4
|
+
export { C as Character, F as Fragment, g as MeasureDomResult, f as MeasuredCharacter, e as MeasuredFragment, d as MeasuredParagraph, h as Measurer, P as Paragraph, i as TextEvents, t as textDefaultStyle } from './shared/modern-text.WbWB6f3d.js';
|
|
5
5
|
import 'modern-font';
|
|
6
6
|
|
|
7
7
|
declare function parseColor(ctx: CanvasRenderingContext2D, source: string | CanvasGradient | CanvasPattern, box: BoundingBox): string | CanvasGradient | CanvasPattern;
|