@aurigma/design-atoms-interfaces 1.0.4 → 1.0.6

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.
@@ -0,0 +1,3 @@
1
+ export declare enum ColorCommand {
2
+ parseColor = "parseColor"
3
+ }
@@ -0,0 +1,4 @@
1
+ export var ColorCommand;
2
+ (function (ColorCommand) {
3
+ ColorCommand["parseColor"] = "parseColor";
4
+ })(ColorCommand || (ColorCommand = {}));
@@ -0,0 +1,3 @@
1
+ export interface IParseColorCommandArgs {
2
+ colorString: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./IParseColorCommandArgs";
2
+ export * from "./ColorCommand";
@@ -0,0 +1,2 @@
1
+ export * from "./IParseColorCommandArgs";
2
+ export * from "./ColorCommand";
@@ -6,6 +6,7 @@ import { IAddItemsCommandArgs, ISetBleedCommandArgs, ISetSlugCommandArgs, Surfac
6
6
  import { ISelectItemsByRectArgs, ISelectItemsCommandArgs, SelectionCommand } from "./SelectionCommand";
7
7
  import { ISetZoomCommandArgs, IZoomToItemsCommandArgs, IZoomToSafetyLineCommandArgs, ZoomCommand } from "./ZoomCommand";
8
8
  import { IMoveViewportCommandArgs, ViewerCommand } from "./ViewerCommand";
9
+ import { ColorCommand, IParseColorCommandArgs } from "./ColorCommand";
9
10
  export interface ICommandManager<TProduct, TSurface, TContainer, TPrintArea, TSafetyLine, TItem, TGroupItem, TBaseTextItem, TPlaceholderItem, TContentItem, TImageItem, TLayoutItem, TPlainTextItem, TRotatedRectangleF, TRectangleF, TMatrix, TPointF, TImageMetaData, TColor, TColorWithTitle, TProductThemeConfig, TMargin, TBarcodeFormat> {
10
11
  execute?(name: SurfaceSwitchCommand.switchToSurface, args: ISwitchToSurfaceParams<TSurface>): Promise<void>;
11
12
  execute?(name: SurfaceSwitchCommand.getNextSurface, args?: IGetNextSurfaceCmdName): Promise<TSurface>;
@@ -66,4 +67,5 @@ export interface ICommandManager<TProduct, TSurface, TContainer, TPrintArea, TSa
66
67
  execute?(name: ZoomCommand.zoomToSelection): Promise<void>;
67
68
  execute?(name: ZoomCommand.setZoom, args: ISetZoomCommandArgs): Promise<void>;
68
69
  execute?(name: ViewerCommand.moveViewPort, args: IMoveViewportCommandArgs<TPointF>): Promise<void>;
70
+ execute?(name: ColorCommand.parseColor, args: IParseColorCommandArgs): Promise<TColor>;
69
71
  }
@@ -4,5 +4,6 @@ export * from "./SelectionCommand";
4
4
  export * from "./SurfaceCommand";
5
5
  export * from "./ViewerCommand";
6
6
  export * from "./ZoomCommand";
7
+ export * from "./ColorCommand";
7
8
  export * from "./HistoryUpdateMode";
8
9
  export * from "./ICommandManager";
@@ -4,5 +4,6 @@ export * from "./SelectionCommand";
4
4
  export * from "./SurfaceCommand";
5
5
  export * from "./ViewerCommand";
6
6
  export * from "./ZoomCommand";
7
+ export * from "./ColorCommand";
7
8
  export * from "./HistoryUpdateMode";
8
9
  export * from "./ICommandManager";
@@ -9,7 +9,7 @@ import { VerticalAlignmentType } from "./VerticalAlignmentType";
9
9
  * ```json
10
10
  * {
11
11
  * "defaultItemsConfig": {
12
- * "boundedText": {
12
+ * "richText": {
13
13
  * "isVertical": true,
14
14
  * "verticalAlignment": "center",
15
15
  * "overflowStrategy": "fitToWidth",
@@ -30,4 +30,6 @@ export interface IFontSettingsData {
30
30
  fauxItalic?: boolean;
31
31
  /** Enables the all caps style for text. The default value is `false`. */
32
32
  allCaps?: boolean;
33
+ /** Enables the small caps style for text. The default value is `false`. */
34
+ smallCaps?: boolean;
33
35
  }
@@ -4,7 +4,7 @@
4
4
  * ```json
5
5
  * {
6
6
  * "defaultItemsConfig": {
7
- * "boundedText": {
7
+ * "richText": {
8
8
  * "paragraphSettings": {
9
9
  * "rightIndent": 24,
10
10
  * "leftIndent": 24,
@@ -6,7 +6,7 @@ import { IBoundedTextItemData } from "./IBoundedTextItemData";
6
6
  * ```json
7
7
  * {
8
8
  * "defaultItemsConfig": {
9
- * "boundedText": {
9
+ * "richText": {
10
10
  * "verticalAlignment": "center",
11
11
  * "overflowStrategy": "fitToWidth",
12
12
  * "tracking": 12,
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@aurigma/design-atoms-interfaces","version":"1.0.4","description":"","main":"index.js","author":"Aurigma Inc <info@aurigma.com> (https://customerscanvas.com)","license":"SEE LICENSE IN License.md","keywords":["customer's canvas","web-to-print","image manipulation","design","personalization","web-to-print editor","design editor"]}
1
+ {"name":"@aurigma/design-atoms-interfaces","version":"1.0.6","description":"","main":"index.js","author":"Aurigma Inc <info@aurigma.com> (https://customerscanvas.com)","license":"SEE LICENSE IN License.md","keywords":["customer's canvas","web-to-print","image manipulation","design","personalization","web-to-print editor","design editor"]}