foldkit 0.118.0 → 0.120.0
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/dom/dom.d.ts +41 -7
- package/dist/dom/dom.d.ts.map +1 -1
- package/dist/dom/dom.js +76 -28
- package/dist/dom/index.d.ts +1 -1
- package/dist/dom/index.d.ts.map +1 -1
- package/dist/dom/index.js +1 -1
- package/dist/dom/public.d.ts +1 -1
- package/dist/dom/public.d.ts.map +1 -1
- package/dist/dom/public.js +1 -1
- package/dist/html/boundary.d.ts +14 -0
- package/dist/html/boundary.d.ts.map +1 -1
- package/dist/html/boundary.js +33 -0
- package/dist/html/childAttribute.d.ts +6 -0
- package/dist/html/childAttribute.d.ts.map +1 -1
- package/dist/html/childAttribute.js +3 -1
- package/dist/html/index.d.ts +660 -0
- package/dist/html/index.d.ts.map +1 -1
- package/dist/html/index.js +228 -2
- package/dist/html/runtimeSingleton.d.ts +9 -0
- package/dist/html/runtimeSingleton.d.ts.map +1 -1
- package/dist/html/runtimeSingleton.js +15 -1
- package/dist/runtime/runtime.d.ts.map +1 -1
- package/dist/runtime/runtime.js +5 -2
- package/dist/subscription/fromEvent.d.ts +59 -0
- package/dist/subscription/fromEvent.d.ts.map +1 -0
- package/dist/subscription/fromEvent.js +50 -0
- package/dist/subscription/public.d.ts +2 -0
- package/dist/subscription/public.d.ts.map +1 -1
- package/dist/subscription/public.js +1 -0
- package/dist/test/apps/svgAttributes.d.ts +11 -0
- package/dist/test/apps/svgAttributes.d.ts.map +1 -0
- package/dist/test/apps/svgAttributes.js +106 -0
- package/package.json +3 -2
package/dist/html/index.d.ts
CHANGED
|
@@ -78,6 +78,15 @@ export type Document = Readonly<{
|
|
|
78
78
|
}>;
|
|
79
79
|
/** Union of all valid HTML, SVG, and MathML tag names. */
|
|
80
80
|
export type TagName = 'a' | 'abbr' | 'address' | 'area' | 'article' | 'aside' | 'audio' | 'b' | 'base' | 'bdi' | 'bdo' | 'blockquote' | 'body' | 'br' | 'button' | 'canvas' | 'caption' | 'cite' | 'code' | 'col' | 'colgroup' | 'data' | 'datalist' | 'dd' | 'del' | 'details' | 'dfn' | 'dialog' | 'div' | 'dl' | 'dt' | 'em' | 'embed' | 'fieldset' | 'figcaption' | 'figure' | 'footer' | 'form' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'head' | 'header' | 'hgroup' | 'hr' | 'html' | 'i' | 'iframe' | 'img' | 'input' | 'ins' | 'kbd' | 'label' | 'legend' | 'li' | 'link' | 'main' | 'map' | 'mark' | 'menu' | 'meta' | 'meter' | 'nav' | 'noscript' | 'object' | 'ol' | 'optgroup' | 'option' | 'output' | 'p' | 'picture' | 'portal' | 'pre' | 'progress' | 'q' | 'rp' | 'rt' | 'ruby' | 's' | 'samp' | 'script' | 'search' | 'section' | 'select' | 'slot' | 'small' | 'source' | 'span' | 'strong' | 'style' | 'sub' | 'summary' | 'sup' | 'table' | 'tbody' | 'td' | 'template' | 'textarea' | 'tfoot' | 'th' | 'thead' | 'time' | 'title' | 'tr' | 'track' | 'u' | 'ul' | 'var' | 'video' | 'wbr' | 'animate' | 'animateMotion' | 'animateTransform' | 'circle' | 'clipPath' | 'defs' | 'desc' | 'ellipse' | 'feBlend' | 'feColorMatrix' | 'feComponentTransfer' | 'feComposite' | 'feConvolveMatrix' | 'feDiffuseLighting' | 'feDisplacementMap' | 'feDistantLight' | 'feDropShadow' | 'feFlood' | 'feFuncA' | 'feFuncB' | 'feFuncG' | 'feFuncR' | 'feGaussianBlur' | 'feImage' | 'feMerge' | 'feMergeNode' | 'feMorphology' | 'feOffset' | 'fePointLight' | 'feSpecularLighting' | 'feSpotLight' | 'feTile' | 'feTurbulence' | 'filter' | 'foreignObject' | 'g' | 'image' | 'line' | 'linearGradient' | 'marker' | 'mask' | 'metadata' | 'mpath' | 'path' | 'pattern' | 'polygon' | 'polyline' | 'radialGradient' | 'rect' | 'set' | 'stop' | 'svg' | 'switch' | 'symbol' | 'text' | 'textPath' | 'tspan' | 'use' | 'view' | 'annotation' | 'annotation-xml' | 'math' | 'maction' | 'menclose' | 'merror' | 'mfenced' | 'mfrac' | 'mglyph' | 'mi' | 'mlabeledtr' | 'mlongdiv' | 'mmultiscripts' | 'mn' | 'mo' | 'mover' | 'mpadded' | 'mphantom' | 'mprescripts' | 'mroot' | 'mrow' | 'ms' | 'mscarries' | 'mscarry' | 'msgroup' | 'msline' | 'mspace' | 'msqrt' | 'msrow' | 'mstack' | 'mstyle' | 'msub' | 'msubsup' | 'msup' | 'mtable' | 'mtd' | 'mtext' | 'mtr' | 'munder' | 'munderover' | 'semantics';
|
|
81
|
+
/** Opens a replay-render window. The runtime calls this immediately before a
|
|
82
|
+
* DevTools time-travel render and closes it with {@link __endReplayRender}
|
|
83
|
+
* afterward, so any `OnUnmount` destroy hook that fires while the replayed
|
|
84
|
+
* tree is patched in skips its dispatch. Without the gate the hook would
|
|
85
|
+
* enqueue a hygiene Message into live history during mere inspection of past
|
|
86
|
+
* state. */
|
|
87
|
+
export declare const __beginReplayRender: () => void;
|
|
88
|
+
/** Closes the replay-render window opened by {@link __beginReplayRender}. */
|
|
89
|
+
export declare const __endReplayRender: () => void;
|
|
81
90
|
/** Key under which the OnMount attribute stamps a `{ name }` marker on the
|
|
82
91
|
* snabbdom `VNodeData`. Snabbdom passes unknown data fields through without
|
|
83
92
|
* rendering them to the DOM, so the marker is invisible at runtime but
|
|
@@ -822,6 +831,198 @@ export type Attribute<Message> = Data.TaggedEnum<{
|
|
|
822
831
|
StrokeDashoffset: {
|
|
823
832
|
readonly value: string;
|
|
824
833
|
};
|
|
834
|
+
Dx: {
|
|
835
|
+
readonly value: string;
|
|
836
|
+
};
|
|
837
|
+
Dy: {
|
|
838
|
+
readonly value: string;
|
|
839
|
+
};
|
|
840
|
+
Rotate: {
|
|
841
|
+
readonly value: string;
|
|
842
|
+
};
|
|
843
|
+
TextAnchor: {
|
|
844
|
+
readonly value: string;
|
|
845
|
+
};
|
|
846
|
+
DominantBaseline: {
|
|
847
|
+
readonly value: string;
|
|
848
|
+
};
|
|
849
|
+
AlignmentBaseline: {
|
|
850
|
+
readonly value: string;
|
|
851
|
+
};
|
|
852
|
+
BaselineShift: {
|
|
853
|
+
readonly value: string;
|
|
854
|
+
};
|
|
855
|
+
TextLength: {
|
|
856
|
+
readonly value: string;
|
|
857
|
+
};
|
|
858
|
+
LengthAdjust: {
|
|
859
|
+
readonly value: string;
|
|
860
|
+
};
|
|
861
|
+
FontFamily: {
|
|
862
|
+
readonly value: string;
|
|
863
|
+
};
|
|
864
|
+
FontSize: {
|
|
865
|
+
readonly value: string;
|
|
866
|
+
};
|
|
867
|
+
FontWeight: {
|
|
868
|
+
readonly value: string;
|
|
869
|
+
};
|
|
870
|
+
FontStyle: {
|
|
871
|
+
readonly value: string;
|
|
872
|
+
};
|
|
873
|
+
LetterSpacing: {
|
|
874
|
+
readonly value: string;
|
|
875
|
+
};
|
|
876
|
+
WordSpacing: {
|
|
877
|
+
readonly value: string;
|
|
878
|
+
};
|
|
879
|
+
TextDecoration: {
|
|
880
|
+
readonly value: string;
|
|
881
|
+
};
|
|
882
|
+
WritingMode: {
|
|
883
|
+
readonly value: string;
|
|
884
|
+
};
|
|
885
|
+
Rx: {
|
|
886
|
+
readonly value: string;
|
|
887
|
+
};
|
|
888
|
+
Ry: {
|
|
889
|
+
readonly value: string;
|
|
890
|
+
};
|
|
891
|
+
PathLength: {
|
|
892
|
+
readonly value: string;
|
|
893
|
+
};
|
|
894
|
+
FillOpacity: {
|
|
895
|
+
readonly value: string;
|
|
896
|
+
};
|
|
897
|
+
StrokeOpacity: {
|
|
898
|
+
readonly value: string;
|
|
899
|
+
};
|
|
900
|
+
StrokeMiterlimit: {
|
|
901
|
+
readonly value: string;
|
|
902
|
+
};
|
|
903
|
+
PaintOrder: {
|
|
904
|
+
readonly value: string;
|
|
905
|
+
};
|
|
906
|
+
VectorEffect: {
|
|
907
|
+
readonly value: string;
|
|
908
|
+
};
|
|
909
|
+
Color: {
|
|
910
|
+
readonly value: string;
|
|
911
|
+
};
|
|
912
|
+
Visibility: {
|
|
913
|
+
readonly value: string;
|
|
914
|
+
};
|
|
915
|
+
Display: {
|
|
916
|
+
readonly value: string;
|
|
917
|
+
};
|
|
918
|
+
Overflow: {
|
|
919
|
+
readonly value: string;
|
|
920
|
+
};
|
|
921
|
+
PointerEvents: {
|
|
922
|
+
readonly value: string;
|
|
923
|
+
};
|
|
924
|
+
Cursor: {
|
|
925
|
+
readonly value: string;
|
|
926
|
+
};
|
|
927
|
+
ShapeRendering: {
|
|
928
|
+
readonly value: string;
|
|
929
|
+
};
|
|
930
|
+
TextRendering: {
|
|
931
|
+
readonly value: string;
|
|
932
|
+
};
|
|
933
|
+
ImageRendering: {
|
|
934
|
+
readonly value: string;
|
|
935
|
+
};
|
|
936
|
+
ClipPath: {
|
|
937
|
+
readonly value: string;
|
|
938
|
+
};
|
|
939
|
+
Mask: {
|
|
940
|
+
readonly value: string;
|
|
941
|
+
};
|
|
942
|
+
Filter: {
|
|
943
|
+
readonly value: string;
|
|
944
|
+
};
|
|
945
|
+
ClipPathUnits: {
|
|
946
|
+
readonly value: string;
|
|
947
|
+
};
|
|
948
|
+
MaskUnits: {
|
|
949
|
+
readonly value: string;
|
|
950
|
+
};
|
|
951
|
+
MaskContentUnits: {
|
|
952
|
+
readonly value: string;
|
|
953
|
+
};
|
|
954
|
+
FilterUnits: {
|
|
955
|
+
readonly value: string;
|
|
956
|
+
};
|
|
957
|
+
PrimitiveUnits: {
|
|
958
|
+
readonly value: string;
|
|
959
|
+
};
|
|
960
|
+
Offset: {
|
|
961
|
+
readonly value: string;
|
|
962
|
+
};
|
|
963
|
+
StopColor: {
|
|
964
|
+
readonly value: string;
|
|
965
|
+
};
|
|
966
|
+
StopOpacity: {
|
|
967
|
+
readonly value: string;
|
|
968
|
+
};
|
|
969
|
+
GradientUnits: {
|
|
970
|
+
readonly value: string;
|
|
971
|
+
};
|
|
972
|
+
GradientTransform: {
|
|
973
|
+
readonly value: string;
|
|
974
|
+
};
|
|
975
|
+
SpreadMethod: {
|
|
976
|
+
readonly value: string;
|
|
977
|
+
};
|
|
978
|
+
Fx: {
|
|
979
|
+
readonly value: string;
|
|
980
|
+
};
|
|
981
|
+
Fy: {
|
|
982
|
+
readonly value: string;
|
|
983
|
+
};
|
|
984
|
+
Fr: {
|
|
985
|
+
readonly value: string;
|
|
986
|
+
};
|
|
987
|
+
PatternUnits: {
|
|
988
|
+
readonly value: string;
|
|
989
|
+
};
|
|
990
|
+
PatternContentUnits: {
|
|
991
|
+
readonly value: string;
|
|
992
|
+
};
|
|
993
|
+
PatternTransform: {
|
|
994
|
+
readonly value: string;
|
|
995
|
+
};
|
|
996
|
+
MarkerStart: {
|
|
997
|
+
readonly value: string;
|
|
998
|
+
};
|
|
999
|
+
MarkerMid: {
|
|
1000
|
+
readonly value: string;
|
|
1001
|
+
};
|
|
1002
|
+
MarkerEnd: {
|
|
1003
|
+
readonly value: string;
|
|
1004
|
+
};
|
|
1005
|
+
MarkerWidth: {
|
|
1006
|
+
readonly value: string;
|
|
1007
|
+
};
|
|
1008
|
+
MarkerHeight: {
|
|
1009
|
+
readonly value: string;
|
|
1010
|
+
};
|
|
1011
|
+
MarkerUnits: {
|
|
1012
|
+
readonly value: string;
|
|
1013
|
+
};
|
|
1014
|
+
RefX: {
|
|
1015
|
+
readonly value: string;
|
|
1016
|
+
};
|
|
1017
|
+
RefY: {
|
|
1018
|
+
readonly value: string;
|
|
1019
|
+
};
|
|
1020
|
+
Orient: {
|
|
1021
|
+
readonly value: string;
|
|
1022
|
+
};
|
|
1023
|
+
PreserveAspectRatio: {
|
|
1024
|
+
readonly value: string;
|
|
1025
|
+
};
|
|
825
1026
|
Prop: {
|
|
826
1027
|
readonly key: string;
|
|
827
1028
|
readonly value: unknown;
|
|
@@ -833,6 +1034,9 @@ export type Attribute<Message> = Data.TaggedEnum<{
|
|
|
833
1034
|
OnMount: {
|
|
834
1035
|
readonly action: MountAction<Message, any>;
|
|
835
1036
|
};
|
|
1037
|
+
OnUnmount: {
|
|
1038
|
+
readonly message: Message;
|
|
1039
|
+
};
|
|
836
1040
|
}>;
|
|
837
1041
|
declare const Prop: <A>(args: {
|
|
838
1042
|
readonly key: string;
|
|
@@ -858,10 +1062,14 @@ declare const buildHtmlFactory: <Message>() => {
|
|
|
858
1062
|
keyed: (tagName: TagName) => (key: string, attributes?: readonly (Readonly<{
|
|
859
1063
|
readonly attribute: unknown;
|
|
860
1064
|
readonly dispatch: DispatchSync;
|
|
1065
|
+
readonly resolveUnmount: (message: unknown) => () => void;
|
|
861
1066
|
readonly __childAttribute: true;
|
|
862
1067
|
}> | {
|
|
863
1068
|
readonly _tag: "Type";
|
|
864
1069
|
readonly value: string;
|
|
1070
|
+
} | {
|
|
1071
|
+
readonly _tag: "Filter";
|
|
1072
|
+
readonly value: string;
|
|
865
1073
|
} | {
|
|
866
1074
|
readonly _tag: "Start";
|
|
867
1075
|
readonly value: number;
|
|
@@ -1607,6 +1815,195 @@ declare const buildHtmlFactory: <Message>() => {
|
|
|
1607
1815
|
} | {
|
|
1608
1816
|
readonly _tag: "StrokeDashoffset";
|
|
1609
1817
|
readonly value: string;
|
|
1818
|
+
} | {
|
|
1819
|
+
readonly _tag: "Dx";
|
|
1820
|
+
readonly value: string;
|
|
1821
|
+
} | {
|
|
1822
|
+
readonly _tag: "Dy";
|
|
1823
|
+
readonly value: string;
|
|
1824
|
+
} | {
|
|
1825
|
+
readonly _tag: "Rotate";
|
|
1826
|
+
readonly value: string;
|
|
1827
|
+
} | {
|
|
1828
|
+
readonly _tag: "TextAnchor";
|
|
1829
|
+
readonly value: string;
|
|
1830
|
+
} | {
|
|
1831
|
+
readonly _tag: "DominantBaseline";
|
|
1832
|
+
readonly value: string;
|
|
1833
|
+
} | {
|
|
1834
|
+
readonly _tag: "AlignmentBaseline";
|
|
1835
|
+
readonly value: string;
|
|
1836
|
+
} | {
|
|
1837
|
+
readonly _tag: "BaselineShift";
|
|
1838
|
+
readonly value: string;
|
|
1839
|
+
} | {
|
|
1840
|
+
readonly _tag: "TextLength";
|
|
1841
|
+
readonly value: string;
|
|
1842
|
+
} | {
|
|
1843
|
+
readonly _tag: "LengthAdjust";
|
|
1844
|
+
readonly value: string;
|
|
1845
|
+
} | {
|
|
1846
|
+
readonly _tag: "FontFamily";
|
|
1847
|
+
readonly value: string;
|
|
1848
|
+
} | {
|
|
1849
|
+
readonly _tag: "FontSize";
|
|
1850
|
+
readonly value: string;
|
|
1851
|
+
} | {
|
|
1852
|
+
readonly _tag: "FontWeight";
|
|
1853
|
+
readonly value: string;
|
|
1854
|
+
} | {
|
|
1855
|
+
readonly _tag: "FontStyle";
|
|
1856
|
+
readonly value: string;
|
|
1857
|
+
} | {
|
|
1858
|
+
readonly _tag: "LetterSpacing";
|
|
1859
|
+
readonly value: string;
|
|
1860
|
+
} | {
|
|
1861
|
+
readonly _tag: "WordSpacing";
|
|
1862
|
+
readonly value: string;
|
|
1863
|
+
} | {
|
|
1864
|
+
readonly _tag: "TextDecoration";
|
|
1865
|
+
readonly value: string;
|
|
1866
|
+
} | {
|
|
1867
|
+
readonly _tag: "WritingMode";
|
|
1868
|
+
readonly value: string;
|
|
1869
|
+
} | {
|
|
1870
|
+
readonly _tag: "Rx";
|
|
1871
|
+
readonly value: string;
|
|
1872
|
+
} | {
|
|
1873
|
+
readonly _tag: "Ry";
|
|
1874
|
+
readonly value: string;
|
|
1875
|
+
} | {
|
|
1876
|
+
readonly _tag: "PathLength";
|
|
1877
|
+
readonly value: string;
|
|
1878
|
+
} | {
|
|
1879
|
+
readonly _tag: "FillOpacity";
|
|
1880
|
+
readonly value: string;
|
|
1881
|
+
} | {
|
|
1882
|
+
readonly _tag: "StrokeOpacity";
|
|
1883
|
+
readonly value: string;
|
|
1884
|
+
} | {
|
|
1885
|
+
readonly _tag: "StrokeMiterlimit";
|
|
1886
|
+
readonly value: string;
|
|
1887
|
+
} | {
|
|
1888
|
+
readonly _tag: "PaintOrder";
|
|
1889
|
+
readonly value: string;
|
|
1890
|
+
} | {
|
|
1891
|
+
readonly _tag: "VectorEffect";
|
|
1892
|
+
readonly value: string;
|
|
1893
|
+
} | {
|
|
1894
|
+
readonly _tag: "Color";
|
|
1895
|
+
readonly value: string;
|
|
1896
|
+
} | {
|
|
1897
|
+
readonly _tag: "Visibility";
|
|
1898
|
+
readonly value: string;
|
|
1899
|
+
} | {
|
|
1900
|
+
readonly _tag: "Display";
|
|
1901
|
+
readonly value: string;
|
|
1902
|
+
} | {
|
|
1903
|
+
readonly _tag: "Overflow";
|
|
1904
|
+
readonly value: string;
|
|
1905
|
+
} | {
|
|
1906
|
+
readonly _tag: "PointerEvents";
|
|
1907
|
+
readonly value: string;
|
|
1908
|
+
} | {
|
|
1909
|
+
readonly _tag: "Cursor";
|
|
1910
|
+
readonly value: string;
|
|
1911
|
+
} | {
|
|
1912
|
+
readonly _tag: "ShapeRendering";
|
|
1913
|
+
readonly value: string;
|
|
1914
|
+
} | {
|
|
1915
|
+
readonly _tag: "TextRendering";
|
|
1916
|
+
readonly value: string;
|
|
1917
|
+
} | {
|
|
1918
|
+
readonly _tag: "ImageRendering";
|
|
1919
|
+
readonly value: string;
|
|
1920
|
+
} | {
|
|
1921
|
+
readonly _tag: "ClipPath";
|
|
1922
|
+
readonly value: string;
|
|
1923
|
+
} | {
|
|
1924
|
+
readonly _tag: "Mask";
|
|
1925
|
+
readonly value: string;
|
|
1926
|
+
} | {
|
|
1927
|
+
readonly _tag: "ClipPathUnits";
|
|
1928
|
+
readonly value: string;
|
|
1929
|
+
} | {
|
|
1930
|
+
readonly _tag: "MaskUnits";
|
|
1931
|
+
readonly value: string;
|
|
1932
|
+
} | {
|
|
1933
|
+
readonly _tag: "MaskContentUnits";
|
|
1934
|
+
readonly value: string;
|
|
1935
|
+
} | {
|
|
1936
|
+
readonly _tag: "FilterUnits";
|
|
1937
|
+
readonly value: string;
|
|
1938
|
+
} | {
|
|
1939
|
+
readonly _tag: "PrimitiveUnits";
|
|
1940
|
+
readonly value: string;
|
|
1941
|
+
} | {
|
|
1942
|
+
readonly _tag: "Offset";
|
|
1943
|
+
readonly value: string;
|
|
1944
|
+
} | {
|
|
1945
|
+
readonly _tag: "StopColor";
|
|
1946
|
+
readonly value: string;
|
|
1947
|
+
} | {
|
|
1948
|
+
readonly _tag: "StopOpacity";
|
|
1949
|
+
readonly value: string;
|
|
1950
|
+
} | {
|
|
1951
|
+
readonly _tag: "GradientUnits";
|
|
1952
|
+
readonly value: string;
|
|
1953
|
+
} | {
|
|
1954
|
+
readonly _tag: "GradientTransform";
|
|
1955
|
+
readonly value: string;
|
|
1956
|
+
} | {
|
|
1957
|
+
readonly _tag: "SpreadMethod";
|
|
1958
|
+
readonly value: string;
|
|
1959
|
+
} | {
|
|
1960
|
+
readonly _tag: "Fx";
|
|
1961
|
+
readonly value: string;
|
|
1962
|
+
} | {
|
|
1963
|
+
readonly _tag: "Fy";
|
|
1964
|
+
readonly value: string;
|
|
1965
|
+
} | {
|
|
1966
|
+
readonly _tag: "Fr";
|
|
1967
|
+
readonly value: string;
|
|
1968
|
+
} | {
|
|
1969
|
+
readonly _tag: "PatternUnits";
|
|
1970
|
+
readonly value: string;
|
|
1971
|
+
} | {
|
|
1972
|
+
readonly _tag: "PatternContentUnits";
|
|
1973
|
+
readonly value: string;
|
|
1974
|
+
} | {
|
|
1975
|
+
readonly _tag: "PatternTransform";
|
|
1976
|
+
readonly value: string;
|
|
1977
|
+
} | {
|
|
1978
|
+
readonly _tag: "MarkerStart";
|
|
1979
|
+
readonly value: string;
|
|
1980
|
+
} | {
|
|
1981
|
+
readonly _tag: "MarkerMid";
|
|
1982
|
+
readonly value: string;
|
|
1983
|
+
} | {
|
|
1984
|
+
readonly _tag: "MarkerEnd";
|
|
1985
|
+
readonly value: string;
|
|
1986
|
+
} | {
|
|
1987
|
+
readonly _tag: "MarkerWidth";
|
|
1988
|
+
readonly value: string;
|
|
1989
|
+
} | {
|
|
1990
|
+
readonly _tag: "MarkerHeight";
|
|
1991
|
+
readonly value: string;
|
|
1992
|
+
} | {
|
|
1993
|
+
readonly _tag: "MarkerUnits";
|
|
1994
|
+
readonly value: string;
|
|
1995
|
+
} | {
|
|
1996
|
+
readonly _tag: "RefX";
|
|
1997
|
+
readonly value: string;
|
|
1998
|
+
} | {
|
|
1999
|
+
readonly _tag: "RefY";
|
|
2000
|
+
readonly value: string;
|
|
2001
|
+
} | {
|
|
2002
|
+
readonly _tag: "Orient";
|
|
2003
|
+
readonly value: string;
|
|
2004
|
+
} | {
|
|
2005
|
+
readonly _tag: "PreserveAspectRatio";
|
|
2006
|
+
readonly value: string;
|
|
1610
2007
|
} | {
|
|
1611
2008
|
readonly _tag: "Prop";
|
|
1612
2009
|
readonly key: string;
|
|
@@ -1622,6 +2019,9 @@ declare const buildHtmlFactory: <Message>() => {
|
|
|
1622
2019
|
args?: Record<string, unknown>;
|
|
1623
2020
|
f: (element: Element) => Stream.Stream<Message, any, never>;
|
|
1624
2021
|
}>;
|
|
2022
|
+
} | {
|
|
2023
|
+
readonly _tag: "OnUnmount";
|
|
2024
|
+
readonly message: Message;
|
|
1625
2025
|
})[], children?: ReadonlyArray<Child>) => Html;
|
|
1626
2026
|
submodel: <View extends ((...args: ReadonlyArray<any>) => VNode | null) & {
|
|
1627
2027
|
readonly __submodelMessage: unknown;
|
|
@@ -2639,6 +3039,262 @@ declare const buildHtmlFactory: <Message>() => {
|
|
|
2639
3039
|
readonly _tag: "StrokeDashoffset";
|
|
2640
3040
|
readonly value: string;
|
|
2641
3041
|
};
|
|
3042
|
+
Dx: (value: string) => {
|
|
3043
|
+
readonly _tag: "Dx";
|
|
3044
|
+
readonly value: string;
|
|
3045
|
+
};
|
|
3046
|
+
Dy: (value: string) => {
|
|
3047
|
+
readonly _tag: "Dy";
|
|
3048
|
+
readonly value: string;
|
|
3049
|
+
};
|
|
3050
|
+
Rotate: (value: string) => {
|
|
3051
|
+
readonly _tag: "Rotate";
|
|
3052
|
+
readonly value: string;
|
|
3053
|
+
};
|
|
3054
|
+
TextAnchor: (value: string) => {
|
|
3055
|
+
readonly _tag: "TextAnchor";
|
|
3056
|
+
readonly value: string;
|
|
3057
|
+
};
|
|
3058
|
+
DominantBaseline: (value: string) => {
|
|
3059
|
+
readonly _tag: "DominantBaseline";
|
|
3060
|
+
readonly value: string;
|
|
3061
|
+
};
|
|
3062
|
+
AlignmentBaseline: (value: string) => {
|
|
3063
|
+
readonly _tag: "AlignmentBaseline";
|
|
3064
|
+
readonly value: string;
|
|
3065
|
+
};
|
|
3066
|
+
BaselineShift: (value: string) => {
|
|
3067
|
+
readonly _tag: "BaselineShift";
|
|
3068
|
+
readonly value: string;
|
|
3069
|
+
};
|
|
3070
|
+
TextLength: (value: string) => {
|
|
3071
|
+
readonly _tag: "TextLength";
|
|
3072
|
+
readonly value: string;
|
|
3073
|
+
};
|
|
3074
|
+
LengthAdjust: (value: string) => {
|
|
3075
|
+
readonly _tag: "LengthAdjust";
|
|
3076
|
+
readonly value: string;
|
|
3077
|
+
};
|
|
3078
|
+
FontFamily: (value: string) => {
|
|
3079
|
+
readonly _tag: "FontFamily";
|
|
3080
|
+
readonly value: string;
|
|
3081
|
+
};
|
|
3082
|
+
FontSize: (value: string) => {
|
|
3083
|
+
readonly _tag: "FontSize";
|
|
3084
|
+
readonly value: string;
|
|
3085
|
+
};
|
|
3086
|
+
FontWeight: (value: string) => {
|
|
3087
|
+
readonly _tag: "FontWeight";
|
|
3088
|
+
readonly value: string;
|
|
3089
|
+
};
|
|
3090
|
+
FontStyle: (value: string) => {
|
|
3091
|
+
readonly _tag: "FontStyle";
|
|
3092
|
+
readonly value: string;
|
|
3093
|
+
};
|
|
3094
|
+
LetterSpacing: (value: string) => {
|
|
3095
|
+
readonly _tag: "LetterSpacing";
|
|
3096
|
+
readonly value: string;
|
|
3097
|
+
};
|
|
3098
|
+
WordSpacing: (value: string) => {
|
|
3099
|
+
readonly _tag: "WordSpacing";
|
|
3100
|
+
readonly value: string;
|
|
3101
|
+
};
|
|
3102
|
+
TextDecoration: (value: string) => {
|
|
3103
|
+
readonly _tag: "TextDecoration";
|
|
3104
|
+
readonly value: string;
|
|
3105
|
+
};
|
|
3106
|
+
WritingMode: (value: string) => {
|
|
3107
|
+
readonly _tag: "WritingMode";
|
|
3108
|
+
readonly value: string;
|
|
3109
|
+
};
|
|
3110
|
+
Rx: (value: string) => {
|
|
3111
|
+
readonly _tag: "Rx";
|
|
3112
|
+
readonly value: string;
|
|
3113
|
+
};
|
|
3114
|
+
Ry: (value: string) => {
|
|
3115
|
+
readonly _tag: "Ry";
|
|
3116
|
+
readonly value: string;
|
|
3117
|
+
};
|
|
3118
|
+
PathLength: (value: string) => {
|
|
3119
|
+
readonly _tag: "PathLength";
|
|
3120
|
+
readonly value: string;
|
|
3121
|
+
};
|
|
3122
|
+
FillOpacity: (value: string) => {
|
|
3123
|
+
readonly _tag: "FillOpacity";
|
|
3124
|
+
readonly value: string;
|
|
3125
|
+
};
|
|
3126
|
+
StrokeOpacity: (value: string) => {
|
|
3127
|
+
readonly _tag: "StrokeOpacity";
|
|
3128
|
+
readonly value: string;
|
|
3129
|
+
};
|
|
3130
|
+
StrokeMiterlimit: (value: string) => {
|
|
3131
|
+
readonly _tag: "StrokeMiterlimit";
|
|
3132
|
+
readonly value: string;
|
|
3133
|
+
};
|
|
3134
|
+
PaintOrder: (value: string) => {
|
|
3135
|
+
readonly _tag: "PaintOrder";
|
|
3136
|
+
readonly value: string;
|
|
3137
|
+
};
|
|
3138
|
+
VectorEffect: (value: string) => {
|
|
3139
|
+
readonly _tag: "VectorEffect";
|
|
3140
|
+
readonly value: string;
|
|
3141
|
+
};
|
|
3142
|
+
Color: (value: string) => {
|
|
3143
|
+
readonly _tag: "Color";
|
|
3144
|
+
readonly value: string;
|
|
3145
|
+
};
|
|
3146
|
+
Visibility: (value: string) => {
|
|
3147
|
+
readonly _tag: "Visibility";
|
|
3148
|
+
readonly value: string;
|
|
3149
|
+
};
|
|
3150
|
+
Display: (value: string) => {
|
|
3151
|
+
readonly _tag: "Display";
|
|
3152
|
+
readonly value: string;
|
|
3153
|
+
};
|
|
3154
|
+
Overflow: (value: string) => {
|
|
3155
|
+
readonly _tag: "Overflow";
|
|
3156
|
+
readonly value: string;
|
|
3157
|
+
};
|
|
3158
|
+
PointerEvents: (value: string) => {
|
|
3159
|
+
readonly _tag: "PointerEvents";
|
|
3160
|
+
readonly value: string;
|
|
3161
|
+
};
|
|
3162
|
+
Cursor: (value: string) => {
|
|
3163
|
+
readonly _tag: "Cursor";
|
|
3164
|
+
readonly value: string;
|
|
3165
|
+
};
|
|
3166
|
+
ShapeRendering: (value: string) => {
|
|
3167
|
+
readonly _tag: "ShapeRendering";
|
|
3168
|
+
readonly value: string;
|
|
3169
|
+
};
|
|
3170
|
+
TextRendering: (value: string) => {
|
|
3171
|
+
readonly _tag: "TextRendering";
|
|
3172
|
+
readonly value: string;
|
|
3173
|
+
};
|
|
3174
|
+
ImageRendering: (value: string) => {
|
|
3175
|
+
readonly _tag: "ImageRendering";
|
|
3176
|
+
readonly value: string;
|
|
3177
|
+
};
|
|
3178
|
+
ClipPath: (value: string) => {
|
|
3179
|
+
readonly _tag: "ClipPath";
|
|
3180
|
+
readonly value: string;
|
|
3181
|
+
};
|
|
3182
|
+
Mask: (value: string) => {
|
|
3183
|
+
readonly _tag: "Mask";
|
|
3184
|
+
readonly value: string;
|
|
3185
|
+
};
|
|
3186
|
+
Filter: (value: string) => {
|
|
3187
|
+
readonly _tag: "Filter";
|
|
3188
|
+
readonly value: string;
|
|
3189
|
+
};
|
|
3190
|
+
ClipPathUnits: (value: string) => {
|
|
3191
|
+
readonly _tag: "ClipPathUnits";
|
|
3192
|
+
readonly value: string;
|
|
3193
|
+
};
|
|
3194
|
+
MaskUnits: (value: string) => {
|
|
3195
|
+
readonly _tag: "MaskUnits";
|
|
3196
|
+
readonly value: string;
|
|
3197
|
+
};
|
|
3198
|
+
MaskContentUnits: (value: string) => {
|
|
3199
|
+
readonly _tag: "MaskContentUnits";
|
|
3200
|
+
readonly value: string;
|
|
3201
|
+
};
|
|
3202
|
+
FilterUnits: (value: string) => {
|
|
3203
|
+
readonly _tag: "FilterUnits";
|
|
3204
|
+
readonly value: string;
|
|
3205
|
+
};
|
|
3206
|
+
PrimitiveUnits: (value: string) => {
|
|
3207
|
+
readonly _tag: "PrimitiveUnits";
|
|
3208
|
+
readonly value: string;
|
|
3209
|
+
};
|
|
3210
|
+
Offset: (value: string) => {
|
|
3211
|
+
readonly _tag: "Offset";
|
|
3212
|
+
readonly value: string;
|
|
3213
|
+
};
|
|
3214
|
+
StopColor: (value: string) => {
|
|
3215
|
+
readonly _tag: "StopColor";
|
|
3216
|
+
readonly value: string;
|
|
3217
|
+
};
|
|
3218
|
+
StopOpacity: (value: string) => {
|
|
3219
|
+
readonly _tag: "StopOpacity";
|
|
3220
|
+
readonly value: string;
|
|
3221
|
+
};
|
|
3222
|
+
GradientUnits: (value: string) => {
|
|
3223
|
+
readonly _tag: "GradientUnits";
|
|
3224
|
+
readonly value: string;
|
|
3225
|
+
};
|
|
3226
|
+
GradientTransform: (value: string) => {
|
|
3227
|
+
readonly _tag: "GradientTransform";
|
|
3228
|
+
readonly value: string;
|
|
3229
|
+
};
|
|
3230
|
+
SpreadMethod: (value: string) => {
|
|
3231
|
+
readonly _tag: "SpreadMethod";
|
|
3232
|
+
readonly value: string;
|
|
3233
|
+
};
|
|
3234
|
+
Fx: (value: string) => {
|
|
3235
|
+
readonly _tag: "Fx";
|
|
3236
|
+
readonly value: string;
|
|
3237
|
+
};
|
|
3238
|
+
Fy: (value: string) => {
|
|
3239
|
+
readonly _tag: "Fy";
|
|
3240
|
+
readonly value: string;
|
|
3241
|
+
};
|
|
3242
|
+
Fr: (value: string) => {
|
|
3243
|
+
readonly _tag: "Fr";
|
|
3244
|
+
readonly value: string;
|
|
3245
|
+
};
|
|
3246
|
+
PatternUnits: (value: string) => {
|
|
3247
|
+
readonly _tag: "PatternUnits";
|
|
3248
|
+
readonly value: string;
|
|
3249
|
+
};
|
|
3250
|
+
PatternContentUnits: (value: string) => {
|
|
3251
|
+
readonly _tag: "PatternContentUnits";
|
|
3252
|
+
readonly value: string;
|
|
3253
|
+
};
|
|
3254
|
+
PatternTransform: (value: string) => {
|
|
3255
|
+
readonly _tag: "PatternTransform";
|
|
3256
|
+
readonly value: string;
|
|
3257
|
+
};
|
|
3258
|
+
MarkerStart: (value: string) => {
|
|
3259
|
+
readonly _tag: "MarkerStart";
|
|
3260
|
+
readonly value: string;
|
|
3261
|
+
};
|
|
3262
|
+
MarkerMid: (value: string) => {
|
|
3263
|
+
readonly _tag: "MarkerMid";
|
|
3264
|
+
readonly value: string;
|
|
3265
|
+
};
|
|
3266
|
+
MarkerEnd: (value: string) => {
|
|
3267
|
+
readonly _tag: "MarkerEnd";
|
|
3268
|
+
readonly value: string;
|
|
3269
|
+
};
|
|
3270
|
+
MarkerWidth: (value: string) => {
|
|
3271
|
+
readonly _tag: "MarkerWidth";
|
|
3272
|
+
readonly value: string;
|
|
3273
|
+
};
|
|
3274
|
+
MarkerHeight: (value: string) => {
|
|
3275
|
+
readonly _tag: "MarkerHeight";
|
|
3276
|
+
readonly value: string;
|
|
3277
|
+
};
|
|
3278
|
+
MarkerUnits: (value: string) => {
|
|
3279
|
+
readonly _tag: "MarkerUnits";
|
|
3280
|
+
readonly value: string;
|
|
3281
|
+
};
|
|
3282
|
+
RefX: (value: string) => {
|
|
3283
|
+
readonly _tag: "RefX";
|
|
3284
|
+
readonly value: string;
|
|
3285
|
+
};
|
|
3286
|
+
RefY: (value: string) => {
|
|
3287
|
+
readonly _tag: "RefY";
|
|
3288
|
+
readonly value: string;
|
|
3289
|
+
};
|
|
3290
|
+
Orient: (value: string) => {
|
|
3291
|
+
readonly _tag: "Orient";
|
|
3292
|
+
readonly value: string;
|
|
3293
|
+
};
|
|
3294
|
+
PreserveAspectRatio: (value: string) => {
|
|
3295
|
+
readonly _tag: "PreserveAspectRatio";
|
|
3296
|
+
readonly value: string;
|
|
3297
|
+
};
|
|
2642
3298
|
OnMount: (action: Readonly<{
|
|
2643
3299
|
name: string;
|
|
2644
3300
|
args?: Record<string, unknown>;
|
|
@@ -2651,6 +3307,10 @@ declare const buildHtmlFactory: <Message>() => {
|
|
|
2651
3307
|
f: (element: Element) => Stream.Stream<Message, any, never>;
|
|
2652
3308
|
}>;
|
|
2653
3309
|
};
|
|
3310
|
+
OnUnmount: (message: Message) => {
|
|
3311
|
+
readonly _tag: "OnUnmount";
|
|
3312
|
+
readonly message: Message;
|
|
3313
|
+
};
|
|
2654
3314
|
a: ElementFunction<Message>;
|
|
2655
3315
|
abbr: ElementFunction<Message>;
|
|
2656
3316
|
address: ElementFunction<Message>;
|