modern-idoc 0.4.2 → 0.4.4

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.d.cts CHANGED
@@ -126,12 +126,14 @@ interface InnerShadowDeclaration {
126
126
  color: ColorValue;
127
127
  offsetX?: number;
128
128
  offsetY?: number;
129
- blur?: number;
129
+ blurRadius?: number;
130
130
  }
131
131
  type InnerShadowProperty = None | InnerShadowDeclaration;
132
132
  declare function normalizeInnerShadow(shadow?: InnerShadowProperty): InnerShadowDeclaration | undefined;
133
133
 
134
134
  interface OuterShadowDeclaration extends InnerShadowDeclaration {
135
+ scaleX?: number;
136
+ scaleY?: number;
135
137
  }
136
138
  type OuterShadowProperty = None | OuterShadowDeclaration;
137
139
  declare function normalizeOuterShadow(shadow?: OuterShadowProperty): OuterShadowDeclaration | undefined;
@@ -237,7 +239,7 @@ type FontWeight = 'normal' | 'bold' | 100 | 200 | 300 | 400 | 500 | 600 | 700 |
237
239
  type FontStyle = 'normal' | 'italic' | 'oblique' | `oblique ${string}`;
238
240
  type FontKerning = None | 'auto' | 'normal';
239
241
  type TextWrap = 'wrap' | 'nowrap';
240
- type TextAlign = 'center' | 'end' | 'left' | 'right' | 'start';
242
+ type TextAlign = None | 'center' | 'end' | 'left' | 'right' | 'start' | 'justify';
241
243
  type TextTransform = None | 'uppercase' | 'lowercase';
242
244
  type TextOrientation = 'mixed' | 'upright' | 'sideways-right' | 'sideways';
243
245
  type TextDecoration = None | 'underline' | 'line-through' | 'overline';
package/dist/index.d.mts CHANGED
@@ -126,12 +126,14 @@ interface InnerShadowDeclaration {
126
126
  color: ColorValue;
127
127
  offsetX?: number;
128
128
  offsetY?: number;
129
- blur?: number;
129
+ blurRadius?: number;
130
130
  }
131
131
  type InnerShadowProperty = None | InnerShadowDeclaration;
132
132
  declare function normalizeInnerShadow(shadow?: InnerShadowProperty): InnerShadowDeclaration | undefined;
133
133
 
134
134
  interface OuterShadowDeclaration extends InnerShadowDeclaration {
135
+ scaleX?: number;
136
+ scaleY?: number;
135
137
  }
136
138
  type OuterShadowProperty = None | OuterShadowDeclaration;
137
139
  declare function normalizeOuterShadow(shadow?: OuterShadowProperty): OuterShadowDeclaration | undefined;
@@ -237,7 +239,7 @@ type FontWeight = 'normal' | 'bold' | 100 | 200 | 300 | 400 | 500 | 600 | 700 |
237
239
  type FontStyle = 'normal' | 'italic' | 'oblique' | `oblique ${string}`;
238
240
  type FontKerning = None | 'auto' | 'normal';
239
241
  type TextWrap = 'wrap' | 'nowrap';
240
- type TextAlign = 'center' | 'end' | 'left' | 'right' | 'start';
242
+ type TextAlign = None | 'center' | 'end' | 'left' | 'right' | 'start' | 'justify';
241
243
  type TextTransform = None | 'uppercase' | 'lowercase';
242
244
  type TextOrientation = 'mixed' | 'upright' | 'sideways-right' | 'sideways';
243
245
  type TextDecoration = None | 'underline' | 'line-through' | 'overline';
package/dist/index.d.ts CHANGED
@@ -126,12 +126,14 @@ interface InnerShadowDeclaration {
126
126
  color: ColorValue;
127
127
  offsetX?: number;
128
128
  offsetY?: number;
129
- blur?: number;
129
+ blurRadius?: number;
130
130
  }
131
131
  type InnerShadowProperty = None | InnerShadowDeclaration;
132
132
  declare function normalizeInnerShadow(shadow?: InnerShadowProperty): InnerShadowDeclaration | undefined;
133
133
 
134
134
  interface OuterShadowDeclaration extends InnerShadowDeclaration {
135
+ scaleX?: number;
136
+ scaleY?: number;
135
137
  }
136
138
  type OuterShadowProperty = None | OuterShadowDeclaration;
137
139
  declare function normalizeOuterShadow(shadow?: OuterShadowProperty): OuterShadowDeclaration | undefined;
@@ -237,7 +239,7 @@ type FontWeight = 'normal' | 'bold' | 100 | 200 | 300 | 400 | 500 | 600 | 700 |
237
239
  type FontStyle = 'normal' | 'italic' | 'oblique' | `oblique ${string}`;
238
240
  type FontKerning = None | 'auto' | 'normal';
239
241
  type TextWrap = 'wrap' | 'nowrap';
240
- type TextAlign = 'center' | 'end' | 'left' | 'right' | 'start';
242
+ type TextAlign = None | 'center' | 'end' | 'left' | 'right' | 'start' | 'justify';
241
243
  type TextTransform = None | 'uppercase' | 'lowercase';
242
244
  type TextOrientation = 'mixed' | 'upright' | 'sideways-right' | 'sideways';
243
245
  type TextDecoration = None | 'underline' | 'line-through' | 'overline';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "modern-idoc",
3
3
  "type": "module",
4
- "version": "0.4.2",
4
+ "version": "0.4.4",
5
5
  "packageManager": "pnpm@9.15.1",
6
6
  "description": "Intermediate document for modern codec libs",
7
7
  "author": "wxm",