modern-idoc 0.1.2 → 0.1.3

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
@@ -4,7 +4,10 @@ interface IDOCFillDeclaration {
4
4
  opacity?: number;
5
5
  }
6
6
 
7
- type IDOCFillProp = 'none' | string | IDOCFillDeclaration;
7
+ type Noneable = 'none';
8
+ type Sizeable = `${number}%` | `${number}rem` | number;
9
+
10
+ type IDOCFillProp = Noneable | string | IDOCFillDeclaration;
8
11
 
9
12
  type SVGPathData = string;
10
13
  type FillRule = 'nonzero' | 'evenodd';
@@ -37,14 +40,14 @@ interface IDOCGeometryDeclaration {
37
40
  data: (IDOCPath2D | SVGPathData)[];
38
41
  }
39
42
 
40
- type IDOCGeometryProp = 'none' | SVGPathData | SVGPathData[] | IDOCGeometryDeclaration;
43
+ type IDOCGeometryProp = Noneable | SVGPathData | SVGPathData[] | IDOCGeometryDeclaration;
41
44
 
42
45
  interface IDOCImageDeclaration {
43
46
  url: string;
44
47
  opacity?: number;
45
48
  }
46
49
 
47
- type IDOCImageProp = 'none' | string | IDOCImageDeclaration;
50
+ type IDOCImageProp = Noneable | string | IDOCImageDeclaration;
48
51
 
49
52
  interface IDOCMetaProp {
50
53
  [key: string]: any;
@@ -62,25 +65,24 @@ interface IDOCStrokeDeclaration {
62
65
  opacity?: number;
63
66
  }
64
67
 
65
- type IDOCStrokeProp = 'none' | string | IDOCStrokeDeclaration;
68
+ type IDOCStrokeProp = Noneable | string | IDOCStrokeDeclaration;
66
69
 
67
70
  type Overflow = 'hidden' | 'visible';
68
71
  type Visibility = 'hidden' | 'visible';
69
72
  type FontWeight = 'normal' | 'bold' | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
70
73
  type FontStyle = 'normal' | 'italic' | 'oblique' | `oblique ${string}`;
71
- type FontKerning = 'none' | 'auto' | 'normal';
74
+ type FontKerning = Noneable | 'auto' | 'normal';
72
75
  type TextWrap = 'wrap' | 'nowrap';
73
76
  type TextAlign = 'center' | 'end' | 'left' | 'right' | 'start';
74
- type TextTransform = 'none' | 'uppercase' | 'lowercase';
77
+ type TextTransform = Noneable | 'uppercase' | 'lowercase';
75
78
  type TextOrientation = 'mixed' | 'upright' | 'sideways-right' | 'sideways';
76
- type TextDecorationLine = 'none' | 'underline' | 'line-through' | 'overline';
79
+ type TextDecorationLine = Noneable | 'underline' | 'line-through' | 'overline';
77
80
  type VerticalAlign = 'baseline' | 'top' | 'middle' | 'bottom' | 'sub' | 'super' | 'text-top' | 'text-bottom';
78
81
  type WritingMode = 'horizontal-tb' | 'vertical-lr' | 'vertical-rl';
79
- type Sizeable = `${number}%` | `${number}rem` | number;
80
- type ListStyleType = 'none' | 'disc';
81
- type ListStyleImage = 'none' | string;
82
- type ListStyleColormap = 'none' | Record<string, string>;
83
- type ListStyleSize = 'cover' | Sizeable;
82
+ type ListStyleType = Noneable | 'disc';
83
+ type ListStyleImage = Noneable | string;
84
+ type ListStyleColormap = Noneable | Record<string, string>;
85
+ type ListStyleSize = Sizeable | 'cover';
84
86
  type ListStylePosition = 'inside' | 'outside';
85
87
  interface IDOCListStyleDeclaration {
86
88
  type: ListStyleType;
@@ -98,10 +100,10 @@ interface IDOCListStyleStyleDeclaration {
98
100
  listStylePosition: ListStylePosition;
99
101
  }
100
102
  type HighlightLine = TextDecorationLine | 'outline';
101
- type HighlightImage = 'none' | string;
102
- type HighlightReferImage = 'none' | string;
103
- type HighlightColormap = 'none' | Record<string, string>;
104
- type HighlightSize = 'cover' | Sizeable;
103
+ type HighlightImage = Noneable | string;
104
+ type HighlightReferImage = Noneable | string;
105
+ type HighlightColormap = Noneable | Record<string, string>;
106
+ type HighlightSize = Sizeable | 'cover';
105
107
  type HighlightThickness = Sizeable;
106
108
  interface IDOCHighlightDeclaration {
107
109
  image: HighlightImage;
@@ -224,7 +226,7 @@ interface IDOCVideoDeclaration {
224
226
  opacity?: number;
225
227
  }
226
228
 
227
- type IDOCVideoProp = 'none' | string | IDOCVideoDeclaration;
229
+ type IDOCVideoProp = Noneable | string | IDOCVideoDeclaration;
228
230
 
229
231
  interface IDOCElement extends IDOCNode {
230
232
  style?: IDOCStyleProp;
@@ -273,4 +275,4 @@ declare function normalizeTextContent(content?: IDOCTextContent): IDOCTextConten
273
275
 
274
276
  declare function normalizeVideo(video?: IDOCVideoProp): IDOCVideoDeclaration | undefined;
275
277
 
276
- export { type FillRule, type FontKerning, type FontStyle, type FontWeight, type HighlightColormap, type HighlightImage, type HighlightLine, type HighlightReferImage, type HighlightSize, type HighlightThickness, type IDCOShadowDeclaration, type IDOCDocument, type IDOCElement, type IDOCElementDeclaration, type IDOCElementStyleDeclaration, type IDOCFillDeclaration, type IDOCFillProp, type IDOCFragmentContent, type IDOCGeometryDeclaration, type IDOCGeometryProp, type IDOCHighlightDeclaration, type IDOCHighlightStyleDeclaration, type IDOCImageDeclaration, type IDOCImageProp, type IDOCListStyleDeclaration, type IDOCListStyleStyleDeclaration, type IDOCMetaProp, type IDOCNode, type IDOCParagraphContent, type IDOCPath2D, type IDOCPath2DStyle, type IDOCShadowStyleDeclaration, type IDOCStrokeDeclaration, type IDOCStrokeProp, type IDOCStyleDeclaration, type IDOCStyleProp, type IDOCTextContent, type IDOCTextContentDeclaration, type IDOCTextContentFlat, type IDOCTextDeclaration, type IDOCTextDrawStyleDeclaration, type IDOCTextInlineStyleDeclaration, type IDOCTextLineStyleDeclaration, type IDOCTextProp, type IDOCTextStyleDeclaration, type IDOCTransformStyleDeclaration, type IDOCVideoDeclaration, type IDOCVideoProp, type ListStyleColormap, type ListStyleImage, type ListStylePosition, type ListStyleSize, type ListStyleType, type Overflow, type SVGPathData, type Sizeable, type StrokeLinecap, type StrokeLinejoin, type TextAlign, type TextDecorationLine, type TextOrientation, type TextTransform, type TextWrap, type VerticalAlign, type Visibility, type WritingMode, getDefaultElementStyle, getDefaultStyle, getDefaultTextStyle, normalizeElement, normalizeFill, normalizeGeometry, normalizeImage, normalizeStroke, normalizeText, normalizeTextContent, normalizeVideo };
278
+ export { type FillRule, type FontKerning, type FontStyle, type FontWeight, type HighlightColormap, type HighlightImage, type HighlightLine, type HighlightReferImage, type HighlightSize, type HighlightThickness, type IDCOShadowDeclaration, type IDOCDocument, type IDOCElement, type IDOCElementDeclaration, type IDOCElementStyleDeclaration, type IDOCFillDeclaration, type IDOCFillProp, type IDOCFragmentContent, type IDOCGeometryDeclaration, type IDOCGeometryProp, type IDOCHighlightDeclaration, type IDOCHighlightStyleDeclaration, type IDOCImageDeclaration, type IDOCImageProp, type IDOCListStyleDeclaration, type IDOCListStyleStyleDeclaration, type IDOCMetaProp, type IDOCNode, type IDOCParagraphContent, type IDOCPath2D, type IDOCPath2DStyle, type IDOCShadowStyleDeclaration, type IDOCStrokeDeclaration, type IDOCStrokeProp, type IDOCStyleDeclaration, type IDOCStyleProp, type IDOCTextContent, type IDOCTextContentDeclaration, type IDOCTextContentFlat, type IDOCTextDeclaration, type IDOCTextDrawStyleDeclaration, type IDOCTextInlineStyleDeclaration, type IDOCTextLineStyleDeclaration, type IDOCTextProp, type IDOCTextStyleDeclaration, type IDOCTransformStyleDeclaration, type IDOCVideoDeclaration, type IDOCVideoProp, type ListStyleColormap, type ListStyleImage, type ListStylePosition, type ListStyleSize, type ListStyleType, type Overflow, type SVGPathData, type StrokeLinecap, type StrokeLinejoin, type TextAlign, type TextDecorationLine, type TextOrientation, type TextTransform, type TextWrap, type VerticalAlign, type Visibility, type WritingMode, getDefaultElementStyle, getDefaultStyle, getDefaultTextStyle, normalizeElement, normalizeFill, normalizeGeometry, normalizeImage, normalizeStroke, normalizeText, normalizeTextContent, normalizeVideo };
package/dist/index.d.mts CHANGED
@@ -4,7 +4,10 @@ interface IDOCFillDeclaration {
4
4
  opacity?: number;
5
5
  }
6
6
 
7
- type IDOCFillProp = 'none' | string | IDOCFillDeclaration;
7
+ type Noneable = 'none';
8
+ type Sizeable = `${number}%` | `${number}rem` | number;
9
+
10
+ type IDOCFillProp = Noneable | string | IDOCFillDeclaration;
8
11
 
9
12
  type SVGPathData = string;
10
13
  type FillRule = 'nonzero' | 'evenodd';
@@ -37,14 +40,14 @@ interface IDOCGeometryDeclaration {
37
40
  data: (IDOCPath2D | SVGPathData)[];
38
41
  }
39
42
 
40
- type IDOCGeometryProp = 'none' | SVGPathData | SVGPathData[] | IDOCGeometryDeclaration;
43
+ type IDOCGeometryProp = Noneable | SVGPathData | SVGPathData[] | IDOCGeometryDeclaration;
41
44
 
42
45
  interface IDOCImageDeclaration {
43
46
  url: string;
44
47
  opacity?: number;
45
48
  }
46
49
 
47
- type IDOCImageProp = 'none' | string | IDOCImageDeclaration;
50
+ type IDOCImageProp = Noneable | string | IDOCImageDeclaration;
48
51
 
49
52
  interface IDOCMetaProp {
50
53
  [key: string]: any;
@@ -62,25 +65,24 @@ interface IDOCStrokeDeclaration {
62
65
  opacity?: number;
63
66
  }
64
67
 
65
- type IDOCStrokeProp = 'none' | string | IDOCStrokeDeclaration;
68
+ type IDOCStrokeProp = Noneable | string | IDOCStrokeDeclaration;
66
69
 
67
70
  type Overflow = 'hidden' | 'visible';
68
71
  type Visibility = 'hidden' | 'visible';
69
72
  type FontWeight = 'normal' | 'bold' | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
70
73
  type FontStyle = 'normal' | 'italic' | 'oblique' | `oblique ${string}`;
71
- type FontKerning = 'none' | 'auto' | 'normal';
74
+ type FontKerning = Noneable | 'auto' | 'normal';
72
75
  type TextWrap = 'wrap' | 'nowrap';
73
76
  type TextAlign = 'center' | 'end' | 'left' | 'right' | 'start';
74
- type TextTransform = 'none' | 'uppercase' | 'lowercase';
77
+ type TextTransform = Noneable | 'uppercase' | 'lowercase';
75
78
  type TextOrientation = 'mixed' | 'upright' | 'sideways-right' | 'sideways';
76
- type TextDecorationLine = 'none' | 'underline' | 'line-through' | 'overline';
79
+ type TextDecorationLine = Noneable | 'underline' | 'line-through' | 'overline';
77
80
  type VerticalAlign = 'baseline' | 'top' | 'middle' | 'bottom' | 'sub' | 'super' | 'text-top' | 'text-bottom';
78
81
  type WritingMode = 'horizontal-tb' | 'vertical-lr' | 'vertical-rl';
79
- type Sizeable = `${number}%` | `${number}rem` | number;
80
- type ListStyleType = 'none' | 'disc';
81
- type ListStyleImage = 'none' | string;
82
- type ListStyleColormap = 'none' | Record<string, string>;
83
- type ListStyleSize = 'cover' | Sizeable;
82
+ type ListStyleType = Noneable | 'disc';
83
+ type ListStyleImage = Noneable | string;
84
+ type ListStyleColormap = Noneable | Record<string, string>;
85
+ type ListStyleSize = Sizeable | 'cover';
84
86
  type ListStylePosition = 'inside' | 'outside';
85
87
  interface IDOCListStyleDeclaration {
86
88
  type: ListStyleType;
@@ -98,10 +100,10 @@ interface IDOCListStyleStyleDeclaration {
98
100
  listStylePosition: ListStylePosition;
99
101
  }
100
102
  type HighlightLine = TextDecorationLine | 'outline';
101
- type HighlightImage = 'none' | string;
102
- type HighlightReferImage = 'none' | string;
103
- type HighlightColormap = 'none' | Record<string, string>;
104
- type HighlightSize = 'cover' | Sizeable;
103
+ type HighlightImage = Noneable | string;
104
+ type HighlightReferImage = Noneable | string;
105
+ type HighlightColormap = Noneable | Record<string, string>;
106
+ type HighlightSize = Sizeable | 'cover';
105
107
  type HighlightThickness = Sizeable;
106
108
  interface IDOCHighlightDeclaration {
107
109
  image: HighlightImage;
@@ -224,7 +226,7 @@ interface IDOCVideoDeclaration {
224
226
  opacity?: number;
225
227
  }
226
228
 
227
- type IDOCVideoProp = 'none' | string | IDOCVideoDeclaration;
229
+ type IDOCVideoProp = Noneable | string | IDOCVideoDeclaration;
228
230
 
229
231
  interface IDOCElement extends IDOCNode {
230
232
  style?: IDOCStyleProp;
@@ -273,4 +275,4 @@ declare function normalizeTextContent(content?: IDOCTextContent): IDOCTextConten
273
275
 
274
276
  declare function normalizeVideo(video?: IDOCVideoProp): IDOCVideoDeclaration | undefined;
275
277
 
276
- export { type FillRule, type FontKerning, type FontStyle, type FontWeight, type HighlightColormap, type HighlightImage, type HighlightLine, type HighlightReferImage, type HighlightSize, type HighlightThickness, type IDCOShadowDeclaration, type IDOCDocument, type IDOCElement, type IDOCElementDeclaration, type IDOCElementStyleDeclaration, type IDOCFillDeclaration, type IDOCFillProp, type IDOCFragmentContent, type IDOCGeometryDeclaration, type IDOCGeometryProp, type IDOCHighlightDeclaration, type IDOCHighlightStyleDeclaration, type IDOCImageDeclaration, type IDOCImageProp, type IDOCListStyleDeclaration, type IDOCListStyleStyleDeclaration, type IDOCMetaProp, type IDOCNode, type IDOCParagraphContent, type IDOCPath2D, type IDOCPath2DStyle, type IDOCShadowStyleDeclaration, type IDOCStrokeDeclaration, type IDOCStrokeProp, type IDOCStyleDeclaration, type IDOCStyleProp, type IDOCTextContent, type IDOCTextContentDeclaration, type IDOCTextContentFlat, type IDOCTextDeclaration, type IDOCTextDrawStyleDeclaration, type IDOCTextInlineStyleDeclaration, type IDOCTextLineStyleDeclaration, type IDOCTextProp, type IDOCTextStyleDeclaration, type IDOCTransformStyleDeclaration, type IDOCVideoDeclaration, type IDOCVideoProp, type ListStyleColormap, type ListStyleImage, type ListStylePosition, type ListStyleSize, type ListStyleType, type Overflow, type SVGPathData, type Sizeable, type StrokeLinecap, type StrokeLinejoin, type TextAlign, type TextDecorationLine, type TextOrientation, type TextTransform, type TextWrap, type VerticalAlign, type Visibility, type WritingMode, getDefaultElementStyle, getDefaultStyle, getDefaultTextStyle, normalizeElement, normalizeFill, normalizeGeometry, normalizeImage, normalizeStroke, normalizeText, normalizeTextContent, normalizeVideo };
278
+ export { type FillRule, type FontKerning, type FontStyle, type FontWeight, type HighlightColormap, type HighlightImage, type HighlightLine, type HighlightReferImage, type HighlightSize, type HighlightThickness, type IDCOShadowDeclaration, type IDOCDocument, type IDOCElement, type IDOCElementDeclaration, type IDOCElementStyleDeclaration, type IDOCFillDeclaration, type IDOCFillProp, type IDOCFragmentContent, type IDOCGeometryDeclaration, type IDOCGeometryProp, type IDOCHighlightDeclaration, type IDOCHighlightStyleDeclaration, type IDOCImageDeclaration, type IDOCImageProp, type IDOCListStyleDeclaration, type IDOCListStyleStyleDeclaration, type IDOCMetaProp, type IDOCNode, type IDOCParagraphContent, type IDOCPath2D, type IDOCPath2DStyle, type IDOCShadowStyleDeclaration, type IDOCStrokeDeclaration, type IDOCStrokeProp, type IDOCStyleDeclaration, type IDOCStyleProp, type IDOCTextContent, type IDOCTextContentDeclaration, type IDOCTextContentFlat, type IDOCTextDeclaration, type IDOCTextDrawStyleDeclaration, type IDOCTextInlineStyleDeclaration, type IDOCTextLineStyleDeclaration, type IDOCTextProp, type IDOCTextStyleDeclaration, type IDOCTransformStyleDeclaration, type IDOCVideoDeclaration, type IDOCVideoProp, type ListStyleColormap, type ListStyleImage, type ListStylePosition, type ListStyleSize, type ListStyleType, type Overflow, type SVGPathData, type StrokeLinecap, type StrokeLinejoin, type TextAlign, type TextDecorationLine, type TextOrientation, type TextTransform, type TextWrap, type VerticalAlign, type Visibility, type WritingMode, getDefaultElementStyle, getDefaultStyle, getDefaultTextStyle, normalizeElement, normalizeFill, normalizeGeometry, normalizeImage, normalizeStroke, normalizeText, normalizeTextContent, normalizeVideo };
package/dist/index.d.ts CHANGED
@@ -4,7 +4,10 @@ interface IDOCFillDeclaration {
4
4
  opacity?: number;
5
5
  }
6
6
 
7
- type IDOCFillProp = 'none' | string | IDOCFillDeclaration;
7
+ type Noneable = 'none';
8
+ type Sizeable = `${number}%` | `${number}rem` | number;
9
+
10
+ type IDOCFillProp = Noneable | string | IDOCFillDeclaration;
8
11
 
9
12
  type SVGPathData = string;
10
13
  type FillRule = 'nonzero' | 'evenodd';
@@ -37,14 +40,14 @@ interface IDOCGeometryDeclaration {
37
40
  data: (IDOCPath2D | SVGPathData)[];
38
41
  }
39
42
 
40
- type IDOCGeometryProp = 'none' | SVGPathData | SVGPathData[] | IDOCGeometryDeclaration;
43
+ type IDOCGeometryProp = Noneable | SVGPathData | SVGPathData[] | IDOCGeometryDeclaration;
41
44
 
42
45
  interface IDOCImageDeclaration {
43
46
  url: string;
44
47
  opacity?: number;
45
48
  }
46
49
 
47
- type IDOCImageProp = 'none' | string | IDOCImageDeclaration;
50
+ type IDOCImageProp = Noneable | string | IDOCImageDeclaration;
48
51
 
49
52
  interface IDOCMetaProp {
50
53
  [key: string]: any;
@@ -62,25 +65,24 @@ interface IDOCStrokeDeclaration {
62
65
  opacity?: number;
63
66
  }
64
67
 
65
- type IDOCStrokeProp = 'none' | string | IDOCStrokeDeclaration;
68
+ type IDOCStrokeProp = Noneable | string | IDOCStrokeDeclaration;
66
69
 
67
70
  type Overflow = 'hidden' | 'visible';
68
71
  type Visibility = 'hidden' | 'visible';
69
72
  type FontWeight = 'normal' | 'bold' | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
70
73
  type FontStyle = 'normal' | 'italic' | 'oblique' | `oblique ${string}`;
71
- type FontKerning = 'none' | 'auto' | 'normal';
74
+ type FontKerning = Noneable | 'auto' | 'normal';
72
75
  type TextWrap = 'wrap' | 'nowrap';
73
76
  type TextAlign = 'center' | 'end' | 'left' | 'right' | 'start';
74
- type TextTransform = 'none' | 'uppercase' | 'lowercase';
77
+ type TextTransform = Noneable | 'uppercase' | 'lowercase';
75
78
  type TextOrientation = 'mixed' | 'upright' | 'sideways-right' | 'sideways';
76
- type TextDecorationLine = 'none' | 'underline' | 'line-through' | 'overline';
79
+ type TextDecorationLine = Noneable | 'underline' | 'line-through' | 'overline';
77
80
  type VerticalAlign = 'baseline' | 'top' | 'middle' | 'bottom' | 'sub' | 'super' | 'text-top' | 'text-bottom';
78
81
  type WritingMode = 'horizontal-tb' | 'vertical-lr' | 'vertical-rl';
79
- type Sizeable = `${number}%` | `${number}rem` | number;
80
- type ListStyleType = 'none' | 'disc';
81
- type ListStyleImage = 'none' | string;
82
- type ListStyleColormap = 'none' | Record<string, string>;
83
- type ListStyleSize = 'cover' | Sizeable;
82
+ type ListStyleType = Noneable | 'disc';
83
+ type ListStyleImage = Noneable | string;
84
+ type ListStyleColormap = Noneable | Record<string, string>;
85
+ type ListStyleSize = Sizeable | 'cover';
84
86
  type ListStylePosition = 'inside' | 'outside';
85
87
  interface IDOCListStyleDeclaration {
86
88
  type: ListStyleType;
@@ -98,10 +100,10 @@ interface IDOCListStyleStyleDeclaration {
98
100
  listStylePosition: ListStylePosition;
99
101
  }
100
102
  type HighlightLine = TextDecorationLine | 'outline';
101
- type HighlightImage = 'none' | string;
102
- type HighlightReferImage = 'none' | string;
103
- type HighlightColormap = 'none' | Record<string, string>;
104
- type HighlightSize = 'cover' | Sizeable;
103
+ type HighlightImage = Noneable | string;
104
+ type HighlightReferImage = Noneable | string;
105
+ type HighlightColormap = Noneable | Record<string, string>;
106
+ type HighlightSize = Sizeable | 'cover';
105
107
  type HighlightThickness = Sizeable;
106
108
  interface IDOCHighlightDeclaration {
107
109
  image: HighlightImage;
@@ -224,7 +226,7 @@ interface IDOCVideoDeclaration {
224
226
  opacity?: number;
225
227
  }
226
228
 
227
- type IDOCVideoProp = 'none' | string | IDOCVideoDeclaration;
229
+ type IDOCVideoProp = Noneable | string | IDOCVideoDeclaration;
228
230
 
229
231
  interface IDOCElement extends IDOCNode {
230
232
  style?: IDOCStyleProp;
@@ -273,4 +275,4 @@ declare function normalizeTextContent(content?: IDOCTextContent): IDOCTextConten
273
275
 
274
276
  declare function normalizeVideo(video?: IDOCVideoProp): IDOCVideoDeclaration | undefined;
275
277
 
276
- export { type FillRule, type FontKerning, type FontStyle, type FontWeight, type HighlightColormap, type HighlightImage, type HighlightLine, type HighlightReferImage, type HighlightSize, type HighlightThickness, type IDCOShadowDeclaration, type IDOCDocument, type IDOCElement, type IDOCElementDeclaration, type IDOCElementStyleDeclaration, type IDOCFillDeclaration, type IDOCFillProp, type IDOCFragmentContent, type IDOCGeometryDeclaration, type IDOCGeometryProp, type IDOCHighlightDeclaration, type IDOCHighlightStyleDeclaration, type IDOCImageDeclaration, type IDOCImageProp, type IDOCListStyleDeclaration, type IDOCListStyleStyleDeclaration, type IDOCMetaProp, type IDOCNode, type IDOCParagraphContent, type IDOCPath2D, type IDOCPath2DStyle, type IDOCShadowStyleDeclaration, type IDOCStrokeDeclaration, type IDOCStrokeProp, type IDOCStyleDeclaration, type IDOCStyleProp, type IDOCTextContent, type IDOCTextContentDeclaration, type IDOCTextContentFlat, type IDOCTextDeclaration, type IDOCTextDrawStyleDeclaration, type IDOCTextInlineStyleDeclaration, type IDOCTextLineStyleDeclaration, type IDOCTextProp, type IDOCTextStyleDeclaration, type IDOCTransformStyleDeclaration, type IDOCVideoDeclaration, type IDOCVideoProp, type ListStyleColormap, type ListStyleImage, type ListStylePosition, type ListStyleSize, type ListStyleType, type Overflow, type SVGPathData, type Sizeable, type StrokeLinecap, type StrokeLinejoin, type TextAlign, type TextDecorationLine, type TextOrientation, type TextTransform, type TextWrap, type VerticalAlign, type Visibility, type WritingMode, getDefaultElementStyle, getDefaultStyle, getDefaultTextStyle, normalizeElement, normalizeFill, normalizeGeometry, normalizeImage, normalizeStroke, normalizeText, normalizeTextContent, normalizeVideo };
278
+ export { type FillRule, type FontKerning, type FontStyle, type FontWeight, type HighlightColormap, type HighlightImage, type HighlightLine, type HighlightReferImage, type HighlightSize, type HighlightThickness, type IDCOShadowDeclaration, type IDOCDocument, type IDOCElement, type IDOCElementDeclaration, type IDOCElementStyleDeclaration, type IDOCFillDeclaration, type IDOCFillProp, type IDOCFragmentContent, type IDOCGeometryDeclaration, type IDOCGeometryProp, type IDOCHighlightDeclaration, type IDOCHighlightStyleDeclaration, type IDOCImageDeclaration, type IDOCImageProp, type IDOCListStyleDeclaration, type IDOCListStyleStyleDeclaration, type IDOCMetaProp, type IDOCNode, type IDOCParagraphContent, type IDOCPath2D, type IDOCPath2DStyle, type IDOCShadowStyleDeclaration, type IDOCStrokeDeclaration, type IDOCStrokeProp, type IDOCStyleDeclaration, type IDOCStyleProp, type IDOCTextContent, type IDOCTextContentDeclaration, type IDOCTextContentFlat, type IDOCTextDeclaration, type IDOCTextDrawStyleDeclaration, type IDOCTextInlineStyleDeclaration, type IDOCTextLineStyleDeclaration, type IDOCTextProp, type IDOCTextStyleDeclaration, type IDOCTransformStyleDeclaration, type IDOCVideoDeclaration, type IDOCVideoProp, type ListStyleColormap, type ListStyleImage, type ListStylePosition, type ListStyleSize, type ListStyleType, type Overflow, type SVGPathData, type StrokeLinecap, type StrokeLinejoin, type TextAlign, type TextDecorationLine, type TextOrientation, type TextTransform, type TextWrap, type VerticalAlign, type Visibility, type WritingMode, getDefaultElementStyle, getDefaultStyle, getDefaultTextStyle, normalizeElement, normalizeFill, normalizeGeometry, normalizeImage, normalizeStroke, normalizeText, normalizeTextContent, normalizeVideo };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "modern-idoc",
3
3
  "type": "module",
4
- "version": "0.1.2",
4
+ "version": "0.1.3",
5
5
  "packageManager": "pnpm@9.9.0",
6
6
  "description": "Intermediate document for modern codec libs",
7
7
  "author": "wxm",