modern-idoc 0.4.1 → 0.4.2

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
@@ -122,18 +122,6 @@ type BackgroundDeclaration = FillDeclaration;
122
122
  type BackgroundProperty = None | string | BackgroundDeclaration;
123
123
  declare function normalizeBackground(background?: BackgroundProperty): BackgroundDeclaration | undefined;
124
124
 
125
- interface SoftEdgeDeclaration {
126
- radius: number;
127
- }
128
- interface SoftEdge {
129
- }
130
-
131
- interface EffectDeclaration {
132
- softEdge?: SoftEdgeDeclaration;
133
- }
134
- type EffectProperty = None | EffectDeclaration;
135
- declare function normalizeEffect(effect?: EffectProperty): EffectDeclaration | undefined;
136
-
137
125
  interface InnerShadowDeclaration {
138
126
  color: ColorValue;
139
127
  offsetX?: number;
@@ -148,6 +136,20 @@ interface OuterShadowDeclaration extends InnerShadowDeclaration {
148
136
  type OuterShadowProperty = None | OuterShadowDeclaration;
149
137
  declare function normalizeOuterShadow(shadow?: OuterShadowProperty): OuterShadowDeclaration | undefined;
150
138
 
139
+ interface SoftEdgeDeclaration {
140
+ radius: number;
141
+ }
142
+ interface SoftEdge {
143
+ }
144
+
145
+ interface EffectDeclaration {
146
+ innerShadow?: InnerShadowDeclaration;
147
+ outerShadow?: OuterShadowDeclaration;
148
+ softEdge?: SoftEdgeDeclaration;
149
+ }
150
+ type EffectProperty = None | EffectDeclaration;
151
+ declare function normalizeEffect(effect?: EffectProperty): EffectDeclaration | undefined;
152
+
151
153
  type ForegroundDeclaration = FillDeclaration;
152
154
  type ForegroundProperty = None | string | ForegroundDeclaration;
153
155
  declare function normalizeForeground(foreground?: ForegroundProperty): ForegroundDeclaration | undefined;
package/dist/index.d.mts CHANGED
@@ -122,18 +122,6 @@ type BackgroundDeclaration = FillDeclaration;
122
122
  type BackgroundProperty = None | string | BackgroundDeclaration;
123
123
  declare function normalizeBackground(background?: BackgroundProperty): BackgroundDeclaration | undefined;
124
124
 
125
- interface SoftEdgeDeclaration {
126
- radius: number;
127
- }
128
- interface SoftEdge {
129
- }
130
-
131
- interface EffectDeclaration {
132
- softEdge?: SoftEdgeDeclaration;
133
- }
134
- type EffectProperty = None | EffectDeclaration;
135
- declare function normalizeEffect(effect?: EffectProperty): EffectDeclaration | undefined;
136
-
137
125
  interface InnerShadowDeclaration {
138
126
  color: ColorValue;
139
127
  offsetX?: number;
@@ -148,6 +136,20 @@ interface OuterShadowDeclaration extends InnerShadowDeclaration {
148
136
  type OuterShadowProperty = None | OuterShadowDeclaration;
149
137
  declare function normalizeOuterShadow(shadow?: OuterShadowProperty): OuterShadowDeclaration | undefined;
150
138
 
139
+ interface SoftEdgeDeclaration {
140
+ radius: number;
141
+ }
142
+ interface SoftEdge {
143
+ }
144
+
145
+ interface EffectDeclaration {
146
+ innerShadow?: InnerShadowDeclaration;
147
+ outerShadow?: OuterShadowDeclaration;
148
+ softEdge?: SoftEdgeDeclaration;
149
+ }
150
+ type EffectProperty = None | EffectDeclaration;
151
+ declare function normalizeEffect(effect?: EffectProperty): EffectDeclaration | undefined;
152
+
151
153
  type ForegroundDeclaration = FillDeclaration;
152
154
  type ForegroundProperty = None | string | ForegroundDeclaration;
153
155
  declare function normalizeForeground(foreground?: ForegroundProperty): ForegroundDeclaration | undefined;
package/dist/index.d.ts CHANGED
@@ -122,18 +122,6 @@ type BackgroundDeclaration = FillDeclaration;
122
122
  type BackgroundProperty = None | string | BackgroundDeclaration;
123
123
  declare function normalizeBackground(background?: BackgroundProperty): BackgroundDeclaration | undefined;
124
124
 
125
- interface SoftEdgeDeclaration {
126
- radius: number;
127
- }
128
- interface SoftEdge {
129
- }
130
-
131
- interface EffectDeclaration {
132
- softEdge?: SoftEdgeDeclaration;
133
- }
134
- type EffectProperty = None | EffectDeclaration;
135
- declare function normalizeEffect(effect?: EffectProperty): EffectDeclaration | undefined;
136
-
137
125
  interface InnerShadowDeclaration {
138
126
  color: ColorValue;
139
127
  offsetX?: number;
@@ -148,6 +136,20 @@ interface OuterShadowDeclaration extends InnerShadowDeclaration {
148
136
  type OuterShadowProperty = None | OuterShadowDeclaration;
149
137
  declare function normalizeOuterShadow(shadow?: OuterShadowProperty): OuterShadowDeclaration | undefined;
150
138
 
139
+ interface SoftEdgeDeclaration {
140
+ radius: number;
141
+ }
142
+ interface SoftEdge {
143
+ }
144
+
145
+ interface EffectDeclaration {
146
+ innerShadow?: InnerShadowDeclaration;
147
+ outerShadow?: OuterShadowDeclaration;
148
+ softEdge?: SoftEdgeDeclaration;
149
+ }
150
+ type EffectProperty = None | EffectDeclaration;
151
+ declare function normalizeEffect(effect?: EffectProperty): EffectDeclaration | undefined;
152
+
151
153
  type ForegroundDeclaration = FillDeclaration;
152
154
  type ForegroundProperty = None | string | ForegroundDeclaration;
153
155
  declare function normalizeForeground(foreground?: ForegroundProperty): ForegroundDeclaration | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "modern-idoc",
3
3
  "type": "module",
4
- "version": "0.4.1",
4
+ "version": "0.4.2",
5
5
  "packageManager": "pnpm@9.15.1",
6
6
  "description": "Intermediate document for modern codec libs",
7
7
  "author": "wxm",