@win2win/shared 1.0.42 → 1.0.44

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,2 @@
1
+ export interface ScreenHome {
2
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -30,6 +30,7 @@ export declare enum TextLineType {
30
30
  export interface TextLine {
31
31
  type: TextLineType;
32
32
  text: string;
33
+ align?: Align;
33
34
  }
34
35
  export interface TextContent {
35
36
  lines: TextLine[];
@@ -56,7 +57,7 @@ export interface LayoutSectionCardsGrid extends LayoutSection {
56
57
  export interface ImageContent {
57
58
  src: string;
58
59
  alt?: string;
59
- align?: 'left' | 'center' | 'right';
60
+ align?: Align;
60
61
  width?: string;
61
62
  height?: string;
62
63
  }
@@ -75,7 +76,7 @@ export interface TableColumn {
75
76
  header: string;
76
77
  key: string;
77
78
  width?: string | number;
78
- align?: 'left' | 'center' | 'right';
79
+ align?: Align;
79
80
  format?: string;
80
81
  }
81
82
  export interface Card {
@@ -99,9 +100,11 @@ export interface LayoutStyle {
99
100
  margins?: number[];
100
101
  background?: string;
101
102
  typography?: string;
103
+ cssRaw?: string;
102
104
  [key: string]: any;
103
105
  }
104
106
  export interface LayoutData {
105
107
  global: any;
106
108
  [sectionId: Uuid]: any;
107
109
  }
110
+ export type Align = 'left' | 'center' | 'right';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@win2win/shared",
3
- "version": "1.0.42",
3
+ "version": "1.0.44",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",