modern-idoc 0.4.1 → 0.4.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 +15 -13
- package/dist/index.d.mts +15 -13
- package/dist/index.d.ts +15 -13
- package/package.json +1 -1
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;
|
|
@@ -235,7 +237,7 @@ type FontWeight = 'normal' | 'bold' | 100 | 200 | 300 | 400 | 500 | 600 | 700 |
|
|
|
235
237
|
type FontStyle = 'normal' | 'italic' | 'oblique' | `oblique ${string}`;
|
|
236
238
|
type FontKerning = None | 'auto' | 'normal';
|
|
237
239
|
type TextWrap = 'wrap' | 'nowrap';
|
|
238
|
-
type TextAlign = 'center' | 'end' | 'left' | 'right' | 'start';
|
|
240
|
+
type TextAlign = None | 'center' | 'end' | 'left' | 'right' | 'start' | 'justify';
|
|
239
241
|
type TextTransform = None | 'uppercase' | 'lowercase';
|
|
240
242
|
type TextOrientation = 'mixed' | 'upright' | 'sideways-right' | 'sideways';
|
|
241
243
|
type TextDecoration = None | 'underline' | 'line-through' | 'overline';
|
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;
|
|
@@ -235,7 +237,7 @@ type FontWeight = 'normal' | 'bold' | 100 | 200 | 300 | 400 | 500 | 600 | 700 |
|
|
|
235
237
|
type FontStyle = 'normal' | 'italic' | 'oblique' | `oblique ${string}`;
|
|
236
238
|
type FontKerning = None | 'auto' | 'normal';
|
|
237
239
|
type TextWrap = 'wrap' | 'nowrap';
|
|
238
|
-
type TextAlign = 'center' | 'end' | 'left' | 'right' | 'start';
|
|
240
|
+
type TextAlign = None | 'center' | 'end' | 'left' | 'right' | 'start' | 'justify';
|
|
239
241
|
type TextTransform = None | 'uppercase' | 'lowercase';
|
|
240
242
|
type TextOrientation = 'mixed' | 'upright' | 'sideways-right' | 'sideways';
|
|
241
243
|
type TextDecoration = None | 'underline' | 'line-through' | 'overline';
|
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;
|
|
@@ -235,7 +237,7 @@ type FontWeight = 'normal' | 'bold' | 100 | 200 | 300 | 400 | 500 | 600 | 700 |
|
|
|
235
237
|
type FontStyle = 'normal' | 'italic' | 'oblique' | `oblique ${string}`;
|
|
236
238
|
type FontKerning = None | 'auto' | 'normal';
|
|
237
239
|
type TextWrap = 'wrap' | 'nowrap';
|
|
238
|
-
type TextAlign = 'center' | 'end' | 'left' | 'right' | 'start';
|
|
240
|
+
type TextAlign = None | 'center' | 'end' | 'left' | 'right' | 'start' | 'justify';
|
|
239
241
|
type TextTransform = None | 'uppercase' | 'lowercase';
|
|
240
242
|
type TextOrientation = 'mixed' | 'upright' | 'sideways-right' | 'sideways';
|
|
241
243
|
type TextDecoration = None | 'underline' | 'line-through' | 'overline';
|