modern-idoc 0.6.3 → 0.6.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 +6 -2
- package/dist/index.d.mts +6 -2
- package/dist/index.d.ts +6 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -634,14 +634,18 @@ interface NormalizedTextDrawStyle {
|
|
|
634
634
|
type NormalizedTextStyle = NormalizedTextLineStyle & NormalizedTextInlineStyle & NormalizedTextDrawStyle;
|
|
635
635
|
declare function getDefaultTextStyle(): Required<NormalizedTextStyle>;
|
|
636
636
|
|
|
637
|
-
|
|
638
|
-
|
|
637
|
+
type NormalizedStyle = NormalizedTextStyle & NormalizedElementStyle & {
|
|
638
|
+
fill?: NormalizedFill;
|
|
639
|
+
outline?: NormalizedOutline;
|
|
640
|
+
};
|
|
639
641
|
type StyleObject = Partial<NormalizedStyle> & {
|
|
640
642
|
color?: WithNone<Color>;
|
|
641
643
|
backgroundColor?: WithNone<Color>;
|
|
642
644
|
borderColor?: WithNone<Color>;
|
|
643
645
|
outlineColor?: WithNone<Color>;
|
|
644
646
|
shadowColor?: WithNone<Color>;
|
|
647
|
+
fill?: Fill;
|
|
648
|
+
outline?: Outline;
|
|
645
649
|
};
|
|
646
650
|
type Style = StyleObject;
|
|
647
651
|
declare function normalizeStyle(style: Style): Partial<NormalizedStyle>;
|
package/dist/index.d.mts
CHANGED
|
@@ -634,14 +634,18 @@ interface NormalizedTextDrawStyle {
|
|
|
634
634
|
type NormalizedTextStyle = NormalizedTextLineStyle & NormalizedTextInlineStyle & NormalizedTextDrawStyle;
|
|
635
635
|
declare function getDefaultTextStyle(): Required<NormalizedTextStyle>;
|
|
636
636
|
|
|
637
|
-
|
|
638
|
-
|
|
637
|
+
type NormalizedStyle = NormalizedTextStyle & NormalizedElementStyle & {
|
|
638
|
+
fill?: NormalizedFill;
|
|
639
|
+
outline?: NormalizedOutline;
|
|
640
|
+
};
|
|
639
641
|
type StyleObject = Partial<NormalizedStyle> & {
|
|
640
642
|
color?: WithNone<Color>;
|
|
641
643
|
backgroundColor?: WithNone<Color>;
|
|
642
644
|
borderColor?: WithNone<Color>;
|
|
643
645
|
outlineColor?: WithNone<Color>;
|
|
644
646
|
shadowColor?: WithNone<Color>;
|
|
647
|
+
fill?: Fill;
|
|
648
|
+
outline?: Outline;
|
|
645
649
|
};
|
|
646
650
|
type Style = StyleObject;
|
|
647
651
|
declare function normalizeStyle(style: Style): Partial<NormalizedStyle>;
|
package/dist/index.d.ts
CHANGED
|
@@ -634,14 +634,18 @@ interface NormalizedTextDrawStyle {
|
|
|
634
634
|
type NormalizedTextStyle = NormalizedTextLineStyle & NormalizedTextInlineStyle & NormalizedTextDrawStyle;
|
|
635
635
|
declare function getDefaultTextStyle(): Required<NormalizedTextStyle>;
|
|
636
636
|
|
|
637
|
-
|
|
638
|
-
|
|
637
|
+
type NormalizedStyle = NormalizedTextStyle & NormalizedElementStyle & {
|
|
638
|
+
fill?: NormalizedFill;
|
|
639
|
+
outline?: NormalizedOutline;
|
|
640
|
+
};
|
|
639
641
|
type StyleObject = Partial<NormalizedStyle> & {
|
|
640
642
|
color?: WithNone<Color>;
|
|
641
643
|
backgroundColor?: WithNone<Color>;
|
|
642
644
|
borderColor?: WithNone<Color>;
|
|
643
645
|
outlineColor?: WithNone<Color>;
|
|
644
646
|
shadowColor?: WithNone<Color>;
|
|
647
|
+
fill?: Fill;
|
|
648
|
+
outline?: Outline;
|
|
645
649
|
};
|
|
646
650
|
type Style = StyleObject;
|
|
647
651
|
declare function normalizeStyle(style: Style): Partial<NormalizedStyle>;
|