bard-legends-framework 0.8.9 → 0.8.10
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.
|
@@ -4,5 +4,5 @@ export { Graphics } from './objects/graphics';
|
|
|
4
4
|
export { Placeholder } from './objects/placeholder';
|
|
5
5
|
export { Sprite } from './objects/sprite';
|
|
6
6
|
export { DropShadowOptions, PartialTextOptions, TextOptions } from './objects/text/helpers/process-steps/1-data-in-converter/pixi-text-style-converter';
|
|
7
|
-
export { RichText, RichTextOptions, RichTextRectangleCut,
|
|
7
|
+
export { RichText, RichTextOptions, RichTextRectangleCut, RichTextStyles } from './objects/text/rich-text';
|
|
8
8
|
export { Text } from './objects/text/text';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/pixi/display-object/index.ts"],"names":[],"mappings":";;;AAAA,yCAA0D;AAAjD,sGAAA,SAAS,OAAA;AAClB,+DAAoE;AAA3D,0HAAA,kBAAkB,OAAA;AAAE,8GAAA,MAAM,OAAA;AACnC,+CAA8C;AAArC,oGAAA,QAAQ,OAAA;AACjB,qDAAoD;AAA3C,0GAAA,WAAW,OAAA;AACpB,2CAA0C;AAAjC,gGAAA,MAAM,OAAA;AAMf,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/pixi/display-object/index.ts"],"names":[],"mappings":";;;AAAA,yCAA0D;AAAjD,sGAAA,SAAS,OAAA;AAClB,+DAAoE;AAA3D,0HAAA,kBAAkB,OAAA;AAAE,8GAAA,MAAM,OAAA;AACnC,+CAA8C;AAArC,oGAAA,QAAQ,OAAA;AACjB,qDAAoD;AAA3C,0GAAA,WAAW,OAAA;AACpB,2CAA0C;AAAjC,gGAAA,MAAM,OAAA;AAMf,sDAA2G;AAAlG,qGAAA,QAAQ,OAAA;AACjB,4CAA2C;AAAlC,4FAAA,IAAI,OAAA"}
|
|
@@ -5,12 +5,12 @@ export interface RichTextRectangleCut {
|
|
|
5
5
|
readonly position: Vector;
|
|
6
6
|
readonly direction: 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
|
|
7
7
|
}
|
|
8
|
-
export interface
|
|
8
|
+
export interface RichTextStyles {
|
|
9
9
|
readonly [key: string]: Omit<PartialTextOptions, 'align' | 'wordWrapWidth' | 'dropShadow'>;
|
|
10
10
|
}
|
|
11
11
|
export interface RichTextOptions {
|
|
12
12
|
readonly default: PartialTextOptions;
|
|
13
|
-
readonly styles?:
|
|
13
|
+
readonly styles?: RichTextStyles;
|
|
14
14
|
readonly rectangleCut?: RichTextRectangleCut;
|
|
15
15
|
readonly verticalAlignment?: 'top' | 'center' | 'bottom';
|
|
16
16
|
}
|
package/package.json
CHANGED