modern-idoc 0.3.0 → 0.3.1

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
@@ -61,15 +61,13 @@ type FillDeclaration = SingleFillDeclaration[];
61
61
  type FillProperty = None | string | SingleFillDeclaration | FillDeclaration;
62
62
  declare function normalizeFill(fill?: FillProperty): FillDeclaration | undefined;
63
63
 
64
- type TextureBackgroundSourceURL = TextureFillSourceURL;
65
- type TextureBackgroundDeclaration = TextureFillDeclaration;
66
64
  interface AudioBackgroundDeclaration {
67
65
  type: 'audio';
68
66
  src: string;
69
67
  }
70
- type SingleBackgroundDeclaration = AudioBackgroundDeclaration | TextureBackgroundDeclaration;
68
+ type SingleBackgroundDeclaration = SingleFillDeclaration | AudioBackgroundDeclaration;
71
69
  type BackgroundDeclaration = SingleBackgroundDeclaration[];
72
- type BackgroundProperty = None | TextureBackgroundSourceURL | SingleBackgroundDeclaration | BackgroundDeclaration;
70
+ type BackgroundProperty = None | string | SingleBackgroundDeclaration | BackgroundDeclaration;
73
71
 
74
72
  type SVGPathData = string;
75
73
  type FillRule = 'nonzero' | 'evenodd';
package/dist/index.d.mts CHANGED
@@ -61,15 +61,13 @@ type FillDeclaration = SingleFillDeclaration[];
61
61
  type FillProperty = None | string | SingleFillDeclaration | FillDeclaration;
62
62
  declare function normalizeFill(fill?: FillProperty): FillDeclaration | undefined;
63
63
 
64
- type TextureBackgroundSourceURL = TextureFillSourceURL;
65
- type TextureBackgroundDeclaration = TextureFillDeclaration;
66
64
  interface AudioBackgroundDeclaration {
67
65
  type: 'audio';
68
66
  src: string;
69
67
  }
70
- type SingleBackgroundDeclaration = AudioBackgroundDeclaration | TextureBackgroundDeclaration;
68
+ type SingleBackgroundDeclaration = SingleFillDeclaration | AudioBackgroundDeclaration;
71
69
  type BackgroundDeclaration = SingleBackgroundDeclaration[];
72
- type BackgroundProperty = None | TextureBackgroundSourceURL | SingleBackgroundDeclaration | BackgroundDeclaration;
70
+ type BackgroundProperty = None | string | SingleBackgroundDeclaration | BackgroundDeclaration;
73
71
 
74
72
  type SVGPathData = string;
75
73
  type FillRule = 'nonzero' | 'evenodd';
package/dist/index.d.ts CHANGED
@@ -61,15 +61,13 @@ type FillDeclaration = SingleFillDeclaration[];
61
61
  type FillProperty = None | string | SingleFillDeclaration | FillDeclaration;
62
62
  declare function normalizeFill(fill?: FillProperty): FillDeclaration | undefined;
63
63
 
64
- type TextureBackgroundSourceURL = TextureFillSourceURL;
65
- type TextureBackgroundDeclaration = TextureFillDeclaration;
66
64
  interface AudioBackgroundDeclaration {
67
65
  type: 'audio';
68
66
  src: string;
69
67
  }
70
- type SingleBackgroundDeclaration = AudioBackgroundDeclaration | TextureBackgroundDeclaration;
68
+ type SingleBackgroundDeclaration = SingleFillDeclaration | AudioBackgroundDeclaration;
71
69
  type BackgroundDeclaration = SingleBackgroundDeclaration[];
72
- type BackgroundProperty = None | TextureBackgroundSourceURL | SingleBackgroundDeclaration | BackgroundDeclaration;
70
+ type BackgroundProperty = None | string | SingleBackgroundDeclaration | BackgroundDeclaration;
73
71
 
74
72
  type SVGPathData = string;
75
73
  type FillRule = 'nonzero' | 'evenodd';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "modern-idoc",
3
3
  "type": "module",
4
- "version": "0.3.0",
4
+ "version": "0.3.1",
5
5
  "packageManager": "pnpm@9.15.1",
6
6
  "description": "Intermediate document for modern codec libs",
7
7
  "author": "wxm",