@f1studio/form-spec 5.0.0-alpha.101

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.
Files changed (225) hide show
  1. package/Designer.d.ts +89 -0
  2. package/FormSpec.TS/Components/HelloComponent.js +68 -0
  3. package/FormSpec.TS/Components/HelloComponent.js.map +1 -0
  4. package/FormSpec.TS/Components/HelloComponent.ts.map +1 -0
  5. package/FormSpec.TS/Designer.js +526 -0
  6. package/FormSpec.TS/Designer.js.map +1 -0
  7. package/FormSpec.TS/Designer.ts.map +1 -0
  8. package/FormSpec.TS/FormSpec.js +5400 -0
  9. package/FormSpec.TS/FormSpec.js.map +1 -0
  10. package/FormSpec.TS/FormSpec.ts.map +1 -0
  11. package/FormSpec.TS/FormSpecHelpers.js +382 -0
  12. package/FormSpec.TS/FormSpecHelpers.js.map +1 -0
  13. package/FormSpec.TS/FormSpecHelpers.ts.map +1 -0
  14. package/FormSpec.TS/Helpers.js +732 -0
  15. package/FormSpec.TS/Helpers.js.map +1 -0
  16. package/FormSpec.TS/Helpers.ts.map +1 -0
  17. package/FormSpec.TS/Interfaces.js +257 -0
  18. package/FormSpec.TS/Interfaces.js.map +1 -0
  19. package/FormSpec.TS/Interfaces.ts.map +1 -0
  20. package/FormSpec.TS/Interop/FormSpec.Api.Helpers.js +854 -0
  21. package/FormSpec.TS/Interop/FormSpec.Api.Helpers.js.map +1 -0
  22. package/FormSpec.TS/Interop/FormSpec.Api.Helpers.ts.map +1 -0
  23. package/FormSpec.TS/Interop/FormSpec.Api.Option.js +1961 -0
  24. package/FormSpec.TS/Interop/FormSpec.Api.Option.js.map +1 -0
  25. package/FormSpec.TS/Interop/FormSpec.Api.Option.ts.map +1 -0
  26. package/FormSpec.TS/Interop/FormSpec.Values.Api.Option.js +1367 -0
  27. package/FormSpec.TS/Interop/FormSpec.Values.Api.Option.js.map +1 -0
  28. package/FormSpec.TS/Interop/FormSpec.Values.Api.Option.ts.map +1 -0
  29. package/FormSpec.TS/Logging/LogTypes.js +347 -0
  30. package/FormSpec.TS/Logging/LogTypes.js.map +1 -0
  31. package/FormSpec.TS/Logging/LogTypes.ts.map +1 -0
  32. package/FormSpec.TS/Migrator.js +230 -0
  33. package/FormSpec.TS/Migrator.js.map +1 -0
  34. package/FormSpec.TS/Migrator.ts.map +1 -0
  35. package/FormSpec.TS/PathwayDataExtractor.js +361 -0
  36. package/FormSpec.TS/PathwayDataExtractor.js.map +1 -0
  37. package/FormSpec.TS/PathwayDataExtractor.ts.map +1 -0
  38. package/FormSpec.TS/PathwayExecutor.js +1321 -0
  39. package/FormSpec.TS/PathwayExecutor.js.map +1 -0
  40. package/FormSpec.TS/PathwayExecutor.ts.map +1 -0
  41. package/FormSpec.TS/PathwayValidator.js +346 -0
  42. package/FormSpec.TS/PathwayValidator.js.map +1 -0
  43. package/FormSpec.TS/PathwayValidator.ts.map +1 -0
  44. package/FormSpec.TS/PluginInterface.js +171 -0
  45. package/FormSpec.TS/PluginInterface.js.map +1 -0
  46. package/FormSpec.TS/PluginInterface.ts.map +1 -0
  47. package/FormSpec.TS/Prelude.js +59 -0
  48. package/FormSpec.TS/Prelude.js.map +1 -0
  49. package/FormSpec.TS/Prelude.ts.map +1 -0
  50. package/FormSpec.TS/Renderers/FormSpecMarkdownRenderer.js +958 -0
  51. package/FormSpec.TS/Renderers/FormSpecMarkdownRenderer.js.map +1 -0
  52. package/FormSpec.TS/Renderers/FormSpecMarkdownRenderer.ts.map +1 -0
  53. package/FormSpec.TS/Renderers/MermaidRenderer.js +228 -0
  54. package/FormSpec.TS/Renderers/MermaidRenderer.js.map +1 -0
  55. package/FormSpec.TS/Renderers/MermaidRenderer.ts.map +1 -0
  56. package/FormSpec.TS/Renderers/PathwayRenderers.js +190 -0
  57. package/FormSpec.TS/Renderers/PathwayRenderers.js.map +1 -0
  58. package/FormSpec.TS/Renderers/PathwayRenderers.ts.map +1 -0
  59. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Base.fs +511 -0
  60. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Base.fs.js +437 -0
  61. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Base.fs.js.map +1 -0
  62. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Base.fs.ts.map +1 -0
  63. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Error.fs +16 -0
  64. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Error.fs.js +73 -0
  65. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Error.fs.js.map +1 -0
  66. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Error.fs.ts.map +1 -0
  67. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Extensions.fs +50 -0
  68. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Extensions.fs.js +72 -0
  69. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Extensions.fs.js.map +1 -0
  70. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Extensions.fs.ts.map +1 -0
  71. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Fable.Form.fableproj +28 -0
  72. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Field.fs +24 -0
  73. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Field.fs.js +56 -0
  74. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Field.fs.js.map +1 -0
  75. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Field.fs.ts.map +1 -0
  76. package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Fable.Form.Simple.fableproj +31 -0
  77. package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Form.fs +178 -0
  78. package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Form.fs.js +464 -0
  79. package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Form.fs.js.map +1 -0
  80. package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Form.fs.ts.map +1 -0
  81. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Extensions.fs +17 -0
  82. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs +152 -0
  83. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs.js +25 -0
  84. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs.js.map +1 -0
  85. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs.ts.map +1 -0
  86. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Types.fableproj +28 -0
  87. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs +218 -0
  88. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs.js +37 -0
  89. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs.js.map +1 -0
  90. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs.ts.map +1 -0
  91. package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.Types.fableproj +27 -0
  92. package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs +82 -0
  93. package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs.js +7 -0
  94. package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs.js.map +1 -0
  95. package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs.ts.map +1 -0
  96. package/FormSpec.TS/fable_modules/Feliz.2.7.0/BorderStyle.fs +59 -0
  97. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Colors.fs +154 -0
  98. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Colors.fs.js +32 -0
  99. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Colors.fs.js.map +1 -0
  100. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Colors.fs.ts.map +1 -0
  101. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Feliz.fableproj +42 -0
  102. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Fonts.fs +240 -0
  103. package/FormSpec.TS/fable_modules/Feliz.2.7.0/GridTypes.fs +24 -0
  104. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Html.fs +826 -0
  105. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Interop.fs +83 -0
  106. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Interop.fs.js +292 -0
  107. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Interop.fs.js.map +1 -0
  108. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Interop.fs.ts.map +1 -0
  109. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Key.fs +65 -0
  110. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Key.fs.js +229 -0
  111. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Key.fs.js.map +1 -0
  112. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Key.fs.ts.map +1 -0
  113. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Length.fs +91 -0
  114. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Locale.fs +876 -0
  115. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Properties.fs +4080 -0
  116. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Properties.fs.js +133 -0
  117. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Properties.fs.js.map +1 -0
  118. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Properties.fs.ts.map +1 -0
  119. package/FormSpec.TS/fable_modules/Feliz.2.7.0/React.fs +656 -0
  120. package/FormSpec.TS/fable_modules/Feliz.2.7.0/React.fs.js +561 -0
  121. package/FormSpec.TS/fable_modules/Feliz.2.7.0/React.fs.js.map +1 -0
  122. package/FormSpec.TS/fable_modules/Feliz.2.7.0/React.fs.ts.map +1 -0
  123. package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactDOM.fs +25 -0
  124. package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactDOM.fs.js +46 -0
  125. package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactDOM.fs.js.map +1 -0
  126. package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactDOM.fs.ts.map +1 -0
  127. package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactInterop.js +63 -0
  128. package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactInterop.js.map +1 -0
  129. package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactTypes.fs +41 -0
  130. package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactTypes.fs.js +7 -0
  131. package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactTypes.fs.js.map +1 -0
  132. package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactTypes.fs.ts.map +1 -0
  133. package/FormSpec.TS/fable_modules/Feliz.2.7.0/StyleTypes.fs +53 -0
  134. package/FormSpec.TS/fable_modules/Feliz.2.7.0/StyleTypes.fs.js +7 -0
  135. package/FormSpec.TS/fable_modules/Feliz.2.7.0/StyleTypes.fs.js.map +1 -0
  136. package/FormSpec.TS/fable_modules/Feliz.2.7.0/StyleTypes.fs.ts.map +1 -0
  137. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Styles.fs +5740 -0
  138. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Svg.fs +1455 -0
  139. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Svg.fs.js +39 -0
  140. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Svg.fs.js.map +1 -0
  141. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Svg.fs.ts.map +1 -0
  142. package/FormSpec.TS/fable_modules/Feliz.2.7.0/TextDecorationLine.fs +13 -0
  143. package/FormSpec.TS/fable_modules/Feliz.2.7.0/TextDecorationStyle.fs +33 -0
  144. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Transform.fs +181 -0
  145. package/FormSpec.TS/fable_modules/Feliz.2.7.0/TransformOrigin.fs +17 -0
  146. package/FormSpec.TS/fable_modules/Feliz.2.7.0/TransitionProperty.fs +162 -0
  147. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Types.fs +13 -0
  148. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Types.fs.js +7 -0
  149. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Types.fs.js.map +1 -0
  150. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Types.fs.ts.map +1 -0
  151. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Decode.fs +1768 -0
  152. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Decode.fs.js +2337 -0
  153. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Decode.fs.js.map +1 -0
  154. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Decode.fs.ts.map +1 -0
  155. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Encode.fs +811 -0
  156. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Encode.fs.js +465 -0
  157. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Encode.fs.js.map +1 -0
  158. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Encode.fs.ts.map +1 -0
  159. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Extra.fs +47 -0
  160. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Extra.fs.js +18 -0
  161. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Extra.fs.js.map +1 -0
  162. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Extra.fs.ts.map +1 -0
  163. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Thoth.Json.fableproj +34 -0
  164. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Types.fs +68 -0
  165. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Types.fs.js +355 -0
  166. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Types.fs.js.map +1 -0
  167. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Types.fs.ts.map +1 -0
  168. package/FormSpec.TS/fable_modules/project_cracked.json +1 -0
  169. package/FormSpec.d.ts +1257 -0
  170. package/FormSpecHelpers.d.ts +50 -0
  171. package/Helpers.d.ts +147 -0
  172. package/Interfaces.d.ts +70 -0
  173. package/Interop/FormSpec.Api.Helpers.d.ts +247 -0
  174. package/Interop/FormSpec.Api.Helpers.d.ts.map +1 -0
  175. package/Interop/FormSpec.Api.Option.d.ts +384 -0
  176. package/Interop/FormSpec.Api.Option.d.ts.map +1 -0
  177. package/Interop/FormSpec.Values.Api.Option.d.ts +324 -0
  178. package/Interop/FormSpec.Values.Api.Option.d.ts.map +1 -0
  179. package/Migrator.d.ts +59 -0
  180. package/PathwayDataExtractor.d.ts +19 -0
  181. package/PathwayExecutor.d.ts +210 -0
  182. package/PathwayValidator.d.ts +52 -0
  183. package/PluginInterface.d.ts +36 -0
  184. package/Prelude.d.ts +11 -0
  185. package/README.TS.md +622 -0
  186. package/README.md +85 -0
  187. package/package.json +39 -0
  188. package/src/Components/HelloComponent.ts +48 -0
  189. package/src/Components/HelloComponent.ts.map +1 -0
  190. package/src/Designer.ts +389 -0
  191. package/src/Designer.ts.map +1 -0
  192. package/src/FormSpec.ts +3114 -0
  193. package/src/FormSpec.ts.map +1 -0
  194. package/src/FormSpecHelpers.ts +374 -0
  195. package/src/FormSpecHelpers.ts.map +1 -0
  196. package/src/Helpers.ts +765 -0
  197. package/src/Helpers.ts.map +1 -0
  198. package/src/Interfaces.ts +166 -0
  199. package/src/Interfaces.ts.map +1 -0
  200. package/src/Interop/FormSpec.Api.Helpers.ts +872 -0
  201. package/src/Interop/FormSpec.Api.Helpers.ts.map +1 -0
  202. package/src/Interop/FormSpec.Api.Option.ts +1618 -0
  203. package/src/Interop/FormSpec.Api.Option.ts.map +1 -0
  204. package/src/Interop/FormSpec.Values.Api.Option.ts +1214 -0
  205. package/src/Interop/FormSpec.Values.Api.Option.ts.map +1 -0
  206. package/src/Logging/LogTypes.ts +212 -0
  207. package/src/Logging/LogTypes.ts.map +1 -0
  208. package/src/Migrator.ts +156 -0
  209. package/src/Migrator.ts.map +1 -0
  210. package/src/PathwayDataExtractor.ts +290 -0
  211. package/src/PathwayDataExtractor.ts.map +1 -0
  212. package/src/PathwayExecutor.ts +1102 -0
  213. package/src/PathwayExecutor.ts.map +1 -0
  214. package/src/PathwayValidator.ts +244 -0
  215. package/src/PathwayValidator.ts.map +1 -0
  216. package/src/PluginInterface.ts +79 -0
  217. package/src/PluginInterface.ts.map +1 -0
  218. package/src/Prelude.ts +21 -0
  219. package/src/Prelude.ts.map +1 -0
  220. package/src/Renderers/FormSpecMarkdownRenderer.ts +874 -0
  221. package/src/Renderers/FormSpecMarkdownRenderer.ts.map +1 -0
  222. package/src/Renderers/MermaidRenderer.ts +218 -0
  223. package/src/Renderers/MermaidRenderer.ts.map +1 -0
  224. package/src/Renderers/PathwayRenderers.ts +200 -0
  225. package/src/Renderers/PathwayRenderers.ts.map +1 -0
@@ -0,0 +1,1455 @@
1
+ namespace Feliz
2
+
3
+ open Browser.Types
4
+ open Fable.Core
5
+ open Feliz.Styles
6
+
7
+ type Svg =
8
+ /// SVG Image element, not to be confused with HTML img alias.
9
+ static member inline image xs = Interop.createSvgElement "image" xs
10
+ /// SVG Image element, not to be confused with HTML img alias.
11
+ static member inline image (children: #seq<ReactElement>) = Interop.reactElementWithChildren "image" children
12
+ /// The svg element is a container that defines a new coordinate system and viewport. It is used as the outermost element of SVG documents, but it can also be used to embed an SVG fragment inside an SVG or HTML document.
13
+ static member inline svg xs = Interop.createSvgElement "svg" xs
14
+ /// The svg element is a container that defines a new coordinate system and viewport. It is used as the outermost element of SVG documents, but it can also be used to embed an SVG fragment inside an SVG or HTML document.
15
+ static member inline svg (children: #seq<ReactElement>) = Interop.reactElementWithChildren "svg" children
16
+ static member inline circle xs = Interop.createSvgElement "circle" xs
17
+ static member inline circle (children: #seq<ReactElement>) = Interop.reactElementWithChildren "circle" children
18
+ static member inline clipPath xs = Interop.createSvgElement "clipPath" xs
19
+ static member inline clipPath (children: #seq<ReactElement>) = Interop.reactElementWithChildren "clipPath" children
20
+ /// The <defs> element is used to store graphical objects that will be used at a later time. Objects created inside a <defs> element are not rendered directly. To display them you have to reference them (with a <use> element for example). https://developer.mozilla.org/en-US/docs/Web/SVG/Element/defs
21
+ static member inline defs xs = Interop.createSvgElement "defs" xs
22
+ /// The <defs> element is used to store graphical objects that will be used at a later time. Objects created inside a <defs> element are not rendered directly. To display them you have to reference them (with a <use> element for example). https://developer.mozilla.org/en-US/docs/Web/SVG/Element/defs
23
+ static member inline defs (children: #seq<ReactElement>) = Interop.reactElementWithChildren "defs" children
24
+ /// The <desc> element provides an accessible, long-text description of any SVG container element or graphics element.
25
+ static member inline desc xs = Interop.createSvgElement "desc" xs
26
+ /// The <desc> element provides an accessible, long-text description of any SVG container element or graphics element.
27
+ static member inline desc (value: string) = Interop.reactElementWithChild "desc" value
28
+ static member inline ellipse xs = Interop.createSvgElement "ellipse" xs
29
+ static member inline ellipse (children: #seq<ReactElement>) = Interop.reactElementWithChildren "ellipse" children
30
+ static member inline feBlend xs = Interop.createSvgElement "feBlend" xs
31
+ static member inline feBlend (children: #seq<ReactElement>) = Interop.reactElementWithChildren "feBlend" children
32
+ static member inline feColorMatrix xs = Interop.createSvgElement "feColorMatrix" xs
33
+ static member inline feColorMatrix (children: #seq<ReactElement>) = Interop.reactElementWithChildren "feColorMatrix" children
34
+ static member inline feComponentTransfer xs = Interop.createSvgElement "feComponentTransfer" xs
35
+ static member inline feComponentTransfer (children: #seq<ReactElement>) = Interop.reactElementWithChildren "feComponentTransfer" children
36
+ static member inline feComposite xs = Interop.createSvgElement "feComposite" xs
37
+ static member inline feComposite (children: #seq<ReactElement>) = Interop.reactElementWithChildren "feComposite" children
38
+ static member inline feConvolveMatrix xs = Interop.createSvgElement "feConvolveMatrix" xs
39
+ static member inline feConvolveMatrix (children: #seq<ReactElement>) = Interop.reactElementWithChildren "feConvolveMatrix" children
40
+ static member inline feDiffuseLighting xs = Interop.createSvgElement "feDiffuseLighting" xs
41
+ static member inline feDiffuseLighting (children: #seq<ReactElement>) = Interop.reactElementWithChildren "feDiffuseLighting" children
42
+ static member inline feDisplacementMap xs = Interop.createSvgElement "feDisplacementMap" xs
43
+ static member inline feDisplacementMap (children: #seq<ReactElement>) = Interop.reactElementWithChildren "feDisplacementMap" children
44
+ static member inline feDistantLight xs = Interop.createSvgElement "feDistantLight" xs
45
+ static member inline feDistantLight (children: #seq<ReactElement>) = Interop.reactElementWithChildren "feDistantLight" children
46
+ static member inline feDropShadow xs = Interop.createSvgElement "feDropShadow" xs
47
+ static member inline feDropShadow (children: #seq<ReactElement>) = Interop.reactElementWithChildren "feDropShadow" children
48
+ static member inline feFlood xs = Interop.createSvgElement "feFlood" xs
49
+ static member inline feFlood (children: #seq<ReactElement>) = Interop.reactElementWithChildren "feFlood" children
50
+ static member inline feFuncA xs = Interop.createSvgElement "feFuncA" xs
51
+ static member inline feFuncA (children: #seq<ReactElement>) = Interop.reactElementWithChildren "feFuncA" children
52
+ static member inline feFuncB xs = Interop.createSvgElement "feFuncB" xs
53
+ static member inline feFuncB (children: #seq<ReactElement>) = Interop.reactElementWithChildren "feFuncB" children
54
+ static member inline feFuncG xs = Interop.createSvgElement "feFuncG" xs
55
+ static member inline feFuncG (children: #seq<ReactElement>) = Interop.reactElementWithChildren "feFuncG" children
56
+ static member inline feFuncR xs = Interop.createSvgElement "feFuncR" xs
57
+ static member inline feFuncR (children: #seq<ReactElement>) = Interop.reactElementWithChildren "feFuncR" children
58
+ static member inline feGaussianBlur xs = Interop.createSvgElement "feGaussianBlur" xs
59
+ static member inline feGaussianBlur (children: #seq<ReactElement>) = Interop.reactElementWithChildren "feGaussianBlur" children
60
+ static member inline feImage xs = Interop.createSvgElement "feImage" xs
61
+ static member inline feImage (children: #seq<ReactElement>) = Interop.reactElementWithChildren "feImage" children
62
+ static member inline feMerge xs = Interop.createSvgElement "feMerge" xs
63
+ static member inline feMerge (children: #seq<ReactElement>) = Interop.reactElementWithChildren "feMerge" children
64
+ static member inline feMergeNode xs = Interop.createSvgElement "feMergeNode" xs
65
+ static member inline feMergeNode (children: #seq<ReactElement>) = Interop.reactElementWithChildren "feMergeNode" children
66
+ static member inline feMorphology xs = Interop.createSvgElement "feMorphology" xs
67
+ static member inline feMorphology (children: #seq<ReactElement>) = Interop.reactElementWithChildren "feMorphology" children
68
+ static member inline feOffset xs = Interop.createSvgElement "feOffset" xs
69
+ static member inline feOffset (children: #seq<ReactElement>) = Interop.reactElementWithChildren "feOffset" children
70
+ static member inline fePointLight xs = Interop.createSvgElement "fePointLight" xs
71
+ static member inline fePointLight (children: #seq<ReactElement>) = Interop.reactElementWithChildren "fePointLight" children
72
+ static member inline feSpecularLighting xs = Interop.createSvgElement "feSpecularLighting" xs
73
+ static member inline feSpecularLighting (children: #seq<ReactElement>) = Interop.reactElementWithChildren "feSpecularLighting" children
74
+ static member inline feSpotLight xs = Interop.createSvgElement "feSpotLight" xs
75
+ static member inline feSpotLight (children: #seq<ReactElement>) = Interop.reactElementWithChildren "feSpotLight" children
76
+ static member inline feTile xs = Interop.createSvgElement "feTile" xs
77
+ static member inline feTile (children: #seq<ReactElement>) = Interop.reactElementWithChildren "feTile" children
78
+ static member inline feTurbulence xs = Interop.createSvgElement "feTurbulence" xs
79
+ static member inline feTurbulence (children: #seq<ReactElement>) = Interop.reactElementWithChildren "feTurbulence" children
80
+ static member inline filter xs = Interop.createSvgElement "filter" xs
81
+ static member inline filter (children: #seq<ReactElement>) = Interop.reactElementWithChildren "filter" children
82
+ static member inline foreignObject xs = Interop.createSvgElement "foreignObject" xs
83
+ static member inline foreignObject (children: #seq<ReactElement>) = Interop.reactElementWithChildren "foreignObject" children
84
+ /// The <g> SVG element is a container used to group other SVG elements.
85
+ ///
86
+ /// Transformations applied to the <g> element are performed on its child elements, and its attributes are inherited by its children. It can also group multiple elements to be referenced later with the <use> element.
87
+ static member inline g xs = Interop.createSvgElement "g" xs
88
+ /// The <g> SVG element is a container used to group other SVG elements.
89
+ ///
90
+ /// Transformations applied to the <g> element are performed on its child elements, and its attributes are inherited by its children. It can also group multiple elements to be referenced later with the <use> element.
91
+ static member inline g (children: #seq<ReactElement>) = Interop.reactElementWithChildren "g" children
92
+ static member inline line xs = Interop.createSvgElement "line" xs
93
+ static member inline line (children: #seq<ReactElement>) = Interop.reactElementWithChildren "line" children
94
+ static member inline linearGradient xs = Interop.createSvgElement "linearGradient" xs
95
+ static member inline linearGradient (children: #seq<ReactElement>) = Interop.reactElementWithChildren "linearGradient" children
96
+ /// The <marker> element defines the graphic that is to be used for drawing arrowheads or polymarkers on a given <path>, <line>, <polyline> or <polygon> element.
97
+ static member inline marker xs = Interop.createSvgElement "marker" xs
98
+ /// The <marker> element defines the graphic that is to be used for drawing arrowheads or polymarkers on a given <path>, <line>, <polyline> or <polygon> element.
99
+ static member inline marker (children: #seq<ReactElement>) = Interop.reactElementWithChildren "marker" children
100
+ /// The <mask> element defines an alpha mask for compositing the current object into the background. A mask is used/referenced using the mask attribute.
101
+ static member inline mask xs = Interop.createSvgElement "mask" xs
102
+ /// The <mask> element defines an alpha mask for compositing the current object into the background. A mask is used/referenced using the mask attribute.
103
+ static member inline mask (children: #seq<ReactElement>) = Interop.reactElementWithChildren "mask" children
104
+ static member inline mpath xs = Interop.createSvgElement "mpath" xs
105
+ static member inline mpath (children: #seq<ReactElement>) = Interop.reactElementWithChildren "mpath" children
106
+ static member inline path xs = Interop.createSvgElement "path" xs
107
+ static member inline path (children: #seq<ReactElement>) = Interop.reactElementWithChildren "path" children
108
+ static member inline pattern xs = Interop.createSvgElement "pattern" xs
109
+ static member inline pattern (children: #seq<ReactElement>) = Interop.reactElementWithChildren "pattern" children
110
+ static member inline polygon xs = Interop.createSvgElement "polygon" xs
111
+ static member inline polygon (children: #seq<ReactElement>) = Interop.reactElementWithChildren "polygon" children
112
+ static member inline polyline xs = Interop.createSvgElement "polyline" xs
113
+ static member inline polyline (children: #seq<ReactElement>) = Interop.reactElementWithChildren "polyline" children
114
+ static member inline set xs = Interop.createSvgElement "set" xs
115
+ static member inline set (children: #seq<ReactElement>) = Interop.reactElementWithChildren "set" children
116
+ static member inline stop xs = Interop.createSvgElement "stop" xs
117
+ static member inline stop (children: #seq<ReactElement>) = Interop.reactElementWithChildren "stop" children
118
+ static member inline style xs = Interop.createSvgElement "style" xs
119
+ static member inline style (value: string) = Interop.reactElementWithChild "style" value
120
+ static member inline switch xs = Interop.createSvgElement "switch" xs
121
+ static member inline switch (children: #seq<ReactElement>) = Interop.reactElementWithChildren "switch" children
122
+ static member inline symbol xs = Interop.createSvgElement "symbol" xs
123
+ static member inline symbol (children: #seq<ReactElement>) = Interop.reactElementWithChildren "symbol" children
124
+ static member inline text xs = Interop.createSvgElement "text" xs
125
+ static member inline text (content: string) = Interop.reactElementWithChild "text" content
126
+ static member inline title xs = Interop.createSvgElement "title" xs
127
+ static member inline title (content: string) = Interop.reactElementWithChild "title" content
128
+ static member inline textPath xs = Interop.createSvgElement "textPath" xs
129
+ static member inline textPath (children: #seq<ReactElement>) = Interop.reactElementWithChildren "textPath" children
130
+ static member inline tspan xs = Interop.createSvgElement "tspan" xs
131
+ static member inline tspan (children: #seq<ReactElement>) = Interop.reactElementWithChildren "tspan" children
132
+ static member inline use' xs = Interop.createSvgElement "use" xs
133
+ static member inline use' (children: #seq<ReactElement>) = Interop.reactElementWithChildren "use" children
134
+ static member inline radialGradient xs = Interop.createSvgElement "radialGradient" xs
135
+ static member inline radialGradient (children: #seq<ReactElement>) = Interop.reactElementWithChildren "radialGradient" children
136
+ static member inline rect xs = Interop.createSvgElement "rect" xs
137
+ static member inline rect (children: #seq<ReactElement>) = Interop.reactElementWithChildren "rect" children
138
+ static member inline view xs = Interop.createSvgElement "view" xs
139
+ static member inline view (children: #seq<ReactElement>) = Interop.reactElementWithChildren "view" children
140
+
141
+ type svg =
142
+ /// Specifies a CSS class for this element.
143
+ static member inline className (value: string) = Interop.svgAttribute "className" value
144
+ /// Takes a `seq<string>` and joins them using a space to combine the classes into a single class property.
145
+ ///
146
+ /// `svg.className [ "one"; "two" ]`
147
+ ///
148
+ /// is the same as
149
+ ///
150
+ /// `svg.className "one two"`
151
+ static member inline className (names: seq<string>) = Interop.svgAttribute "className" (String.concat " " names)
152
+
153
+ /// Takes a `seq<string>` and joins them using a space to combine the classes into a single class property.
154
+ ///
155
+ /// `svg.classes [ "one"; "two" ]` => `svg.className "one two"`
156
+ static member inline classes (names: seq<string>) = Interop.svgAttribute "className" (String.concat " " names)
157
+ static member inline id (value: string) = Interop.svgAttribute "id" value
158
+ /// Defines the number of octaves for the noise function of the <feTurbulence> primitive.
159
+ static member inline numOctaves (value: int) = Interop.svgAttribute "numOctaves" value
160
+
161
+ /// SVG attribute to define where the gradient color will begin or end.
162
+ static member inline offset (value: float) = Interop.svgAttribute "offset" value
163
+ /// SVG attribute to define where the gradient color will begin or end.
164
+ static member inline offset (value: ICssUnit) = Interop.svgAttribute "offset" value
165
+ /// SVG attribute to define where the gradient color will begin or end.
166
+ static member inline offset (value: int) = Interop.svgAttribute "offset" value
167
+ /// Controls the amplitude of the gamma function of a component transfer element when
168
+ /// its type attribute is gamma.
169
+ static member inline amplitude (value: float) = Interop.svgAttribute "amplitude" value
170
+ /// Controls the amplitude of the gamma function of a component transfer element when
171
+ /// its type attribute is gamma.
172
+ static member inline amplitude (value: int) = Interop.svgAttribute "amplitude" value
173
+ /// Indicates the name of the CSS property or attribute of the target element
174
+ /// that is going to be changed during an animation.
175
+ static member inline attributeName (value: string) = Interop.svgAttribute "attributeName" value
176
+ /// Specifies the direction angle for the light source on the XY plane (clockwise),
177
+ /// in degrees from the x axis.
178
+ static member inline azimuth (value: float) = Interop.svgAttribute "azimuth" value
179
+ /// Specifies the direction angle for the light source on the XY plane (clockwise),
180
+ /// in degrees from the x axis.
181
+ static member inline azimuth (value: int) = Interop.svgAttribute "azimuth" value
182
+ /// Represents the base frequency parameter for the noise function of the
183
+ /// <feTurbulence> filter primitive.
184
+ static member inline baseFrequency (value: float) = Interop.svgAttribute "baseFrequency" value
185
+ /// Represents the base frequency parameter for the noise function of the
186
+ /// <feTurbulence> filter primitive.
187
+ static member inline baseFrequency (value: int) = Interop.svgAttribute "baseFrequency" value
188
+ /// Represents the base frequency parameter for the noise function of the
189
+ /// <feTurbulence> filter primitive.
190
+ static member inline baseFrequency (horizontal: float, vertical: float) = Interop.svgAttribute "baseFrequency" (unbox<string> horizontal + "," + unbox<string> vertical)
191
+ /// Represents the base frequency parameter for the noise function of the
192
+ /// <feTurbulence> filter primitive.
193
+ static member inline baseFrequency (horizontal: float, vertical: int) = Interop.svgAttribute "baseFrequency" (unbox<string> horizontal + "," + unbox<string> vertical)
194
+ /// Represents the base frequency parameter for the noise function of the
195
+ /// <feTurbulence> filter primitive.
196
+ static member inline baseFrequency (horizontal: int, vertical: float) = Interop.svgAttribute "baseFrequency" (unbox<string> horizontal + "," + unbox<string> vertical)
197
+ /// Represents the base frequency parameter for the noise function of the
198
+ /// <feTurbulence> filter primitive.
199
+ static member inline baseFrequency (horizontal: int, vertical: int) = Interop.svgAttribute "baseFrequency" (unbox<string> horizontal + "," + unbox<string> vertical)
200
+ static member inline children (elements: ReactElement list) = prop.children elements |> unbox<ISvgAttribute>
201
+ /// The SVG cx attribute define the x-axis coordinate of a center point.
202
+ ///
203
+ /// Three elements are using this attribute: <circle>, <ellipse>, and <radialGradient>
204
+ static member inline cx (value: float) = Interop.svgAttribute "cx" value
205
+ /// The SVG cx attribute define the x-axis coordinate of a center point.
206
+ ///
207
+ /// Three elements are using this attribute: <circle>, <ellipse>, and <radialGradient>
208
+ static member inline cx (value: int) = Interop.svgAttribute "cx" value
209
+ static member inline x (value: float) = Interop.svgAttribute "x" value
210
+ static member inline x (value: int) = Interop.svgAttribute "x" value
211
+ static member inline x1 (value: float) = Interop.svgAttribute "x1" value
212
+ static member inline x1 (value: int) = Interop.svgAttribute "x1" value
213
+ static member inline x2 (value: float) = Interop.svgAttribute "x2" value
214
+ static member inline x2 (value: int) = Interop.svgAttribute "x2" value
215
+ static member inline y (value: float) = Interop.svgAttribute "y" value
216
+ static member inline y (value: int) = Interop.svgAttribute "y" value
217
+ static member inline y1 (value: float) = Interop.svgAttribute "y1" value
218
+ static member inline y1 (value: int) = Interop.svgAttribute "y1" value
219
+ static member inline y2 (value: float) = Interop.svgAttribute "y2" value
220
+ static member inline y2 (value: int) = Interop.svgAttribute "y2" value
221
+ /// The SVG cy attribute define the y-axis coordinate of a center point.
222
+ ///
223
+ /// Three elements are using this attribute: <circle>, <ellipse>, and <radialGradient>
224
+ static member inline cy (value: float) = Interop.svgAttribute "cy" value
225
+ /// The clip-path presentation attribute defines or associates a clipping path with the element it is related to.
226
+ static member inline clipPath(value: string) = Interop.svgAttribute "clipPath" value
227
+ /// The SVG cy attribute define the y-axis coordinate of a center point.
228
+ ///
229
+ /// Three elements are using this attribute: <circle>, <ellipse>, and <radialGradient>
230
+ static member inline cy (value: int) = Interop.svgAttribute "cy" value
231
+ /// SVG attribute to indicate a shift along the x-axis on the position of an element or its content.
232
+ static member inline dx (value: float) = Interop.svgAttribute "dx" value
233
+ /// SVG attribute to indicate a shift along the x-axis on the position of an element or its content.
234
+ static member inline dx (value: int) = Interop.svgAttribute "dx" value
235
+
236
+ /// SVG attribute to indicate a shift along the y-axis on the position of an element or its content.
237
+ static member inline dy (value: float) = Interop.svgAttribute "dy" value
238
+ /// SVG attribute to indicate a shift along the y-axis on the position of an element or its content.
239
+ static member inline dy (value: int) = Interop.svgAttribute "dy" value
240
+ /// Defines a SVG path to be drawn.
241
+ static member inline d (path: seq<char * (float list list)>) =
242
+ PropHelpers.createSvgPathFloat path
243
+ |> Interop.svgAttribute "d"
244
+ /// Defines a SVG path to be drawn.
245
+ static member inline d (path: seq<char * (int list list)>) =
246
+ PropHelpers.createSvgPathInt path
247
+ |> Interop.svgAttribute "d"
248
+ /// Defines a SVG path to be drawn.
249
+ static member inline d (path: string) = Interop.svgAttribute "d" path
250
+
251
+ /// Represents the kd value in the Phong lighting model.
252
+ ///
253
+ /// In SVG, this can be any non-negative number.
254
+ static member inline diffuseConstant (value: float) = Interop.svgAttribute "diffuseConstant" value
255
+ /// Represents the kd value in the Phong lighting model.
256
+ ///
257
+ /// In SVG, this can be any non-negative number.
258
+ static member inline diffuseConstant (value: int) = Interop.svgAttribute "diffuseConstant" value
259
+ /// The display attribute lets you control the rendering of graphical or container elements.
260
+ static member inline display (value: string) = Interop.svgAttribute "display" value
261
+ /// The divisor attribute specifies the value by which the resulting number of applying the kernelMatrix of a <feConvolveMatrix> element to the input image color value is divided to yield the destination color value. A divisor that is the sum of all the matrix values tends to have an evening effect on the overall color intensity of the result.
262
+ static member inline divisor (value: float) = Interop.svgAttribute "divisor" value
263
+ /// The divisor attribute specifies the value by which the resulting number of applying the kernelMatrix of a <feConvolveMatrix> element to the input image color value is divided to yield the destination color value. A divisor that is the sum of all the matrix values tends to have an evening effect on the overall color intensity of the result.
264
+ static member inline divisor (value: int) = Interop.svgAttribute "divisor" value
265
+ /// SVG attribute that specifies the direction angle for the light source from the XY plane towards
266
+ /// the Z-axis, in degrees.
267
+ ///
268
+ /// Note that the positive Z-axis points towards the viewer of the content.
269
+ static member inline elevation (value: float) = Interop.svgAttribute "elevation" value
270
+ /// SVG attribute that specifies the direction angle for the light source from the XY plane towards
271
+ /// the Z-axis, in degrees.
272
+ ///
273
+ /// Note that the positive Z-axis points towards the viewer of the content.
274
+ static member inline elevation (value: int) = Interop.svgAttribute "elevation" value
275
+ /// Defines an end value for the animation that can constrain the active duration.
276
+ static member inline end' (value: string) = Interop.svgAttribute "end" value
277
+ /// Defines an end value for the animation that can constrain the active duration.
278
+ static member inline end' (values: seq<string>) = Interop.svgAttribute "end" (String.concat ";" values)
279
+
280
+ /// Defines the exponent of the gamma function.
281
+ static member inline exponent (value: float) = Interop.svgAttribute "exponent" value
282
+ /// Defines the exponent of the gamma function.
283
+ static member inline exponent (value: int) = Interop.svgAttribute "exponent" value
284
+ /// SVG attribute to define the opacity of the paint server (color, gradient, pattern, etc) applied to a shape.
285
+ static member inline fillOpacity (value: float) = Interop.svgAttribute "fillOpacity" value
286
+ /// SVG attribute to define the opacity of the paint server (color, gradient, pattern, etc) applied to a shape.
287
+ static member inline fillOpacity (value: int) = Interop.svgAttribute "fillOpacity" value
288
+
289
+ /// SVG attribute to define the size of the font from baseline to baseline when multiple
290
+ /// lines of text are set solid in a multiline layout environment.
291
+ static member inline fontSize (value: float) = Interop.svgAttribute "fontSize" value
292
+ /// SVG attribute to define the size of the font from baseline to baseline when multiple
293
+ /// lines of text are set solid in a multiline layout environment.
294
+ static member inline fontSize (value: int) = Interop.svgAttribute "fontSize" value
295
+ /// Indicates the initial value of the attribute that will be modified during the animation.
296
+ ///
297
+ /// When used with the `to` attribute, the animation will change the modified attribute from
298
+ /// the from value to the to value.
299
+ ///
300
+ /// When used with the `by` attribute, the animation will change the attribute relatively
301
+ /// from the from value by the value specified in by.
302
+ static member inline from (value: float) = Interop.svgAttribute "from" value
303
+ /// Indicates the initial value of the attribute that will be modified during the animation.
304
+ ///
305
+ /// When used with the `to` attribute, the animation will change the modified attribute from
306
+ /// the from value to the to value.
307
+ ///
308
+ /// When used with the `by` attribute, the animation will change the attribute relatively
309
+ /// from the from value by the value specified in by.
310
+ static member inline from (values: seq<float>) = Interop.svgAttribute "from" (values |> unbox<seq<string>> |> String.concat " ")
311
+ /// Indicates the initial value of the attribute that will be modified during the animation.
312
+ ///
313
+ /// When used with the `to` attribute, the animation will change the modified attribute from
314
+ /// the from value to the to value.
315
+ ///
316
+ /// When used with the `by` attribute, the animation will change the attribute relatively
317
+ /// from the from value by the value specified in by.
318
+ static member inline from (value: int) = Interop.svgAttribute "from" value
319
+ /// Indicates the initial value of the attribute that will be modified during the animation.
320
+ ///
321
+ /// When used with the `to` attribute, the animation will change the modified attribute from
322
+ /// the from value to the to value.
323
+ ///
324
+ /// When used with the `by` attribute, the animation will change the attribute relatively
325
+ /// from the from value by the value specified in by.
326
+ static member inline from (values: seq<int>) = Interop.svgAttribute "from" (values |> unbox<seq<string>> |> String.concat " ")
327
+ /// Indicates the initial value of the attribute that will be modified during the animation.
328
+ ///
329
+ /// When used with the `to` attribute, the animation will change the modified attribute from
330
+ /// the from value to the to value.
331
+ ///
332
+ /// When used with the `by` attribute, the animation will change the attribute relatively
333
+ /// from the from value by the value specified in by.
334
+ static member inline from (value: string) = Interop.svgAttribute "from" value
335
+ /// Indicates the initial value of the attribute that will be modified during the animation.
336
+ ///
337
+ /// When used with the `to` attribute, the animation will change the modified attribute from
338
+ /// the from value to the to value.
339
+ ///
340
+ /// When used with the `by` attribute, the animation will change the attribute relatively
341
+ /// from the from value by the value specified in by.
342
+ static member inline from (values: seq<string>) = Interop.svgAttribute "from" (values |> String.concat " ")
343
+
344
+ /// Defines the radius of the focal point for the radial gradient.
345
+ static member inline fr (value: float) = Interop.svgAttribute "fr" value
346
+ /// Defines the radius of the focal point for the radial gradient.
347
+ static member inline fr (value: int) = Interop.svgAttribute "fr" value
348
+
349
+ /// Defines the x-axis coordinate of the focal point for a radial gradient.
350
+ static member inline fx (value: float) = Interop.svgAttribute "fx" value
351
+ /// Defines the x-axis coordinate of the focal point for a radial gradient.
352
+ static member inline fx (value: int) = Interop.svgAttribute "fx" value
353
+ /// Defines the y-axis coordinate of the focal point for a radial gradient.
354
+ static member inline fy (value: float) = Interop.svgAttribute "fy" value
355
+ /// Defines the y-axis coordinate of the focal point for a radial gradient.
356
+ static member inline fy (value: int) = Interop.svgAttribute "fy" value
357
+ /// Sets the color of an SVG shape.
358
+ static member inline fill (color: string) = Interop.svgAttribute "fill" color
359
+ /// Defines an optional additional transformation from the gradient coordinate system
360
+ /// onto the target coordinate system (i.e., userSpaceOnUse or objectBoundingBox).
361
+ ///
362
+ /// This allows for things such as skewing the gradient. This additional transformation
363
+ /// matrix is post-multiplied to (i.e., inserted to the right of) any previously defined
364
+ /// transformations, including the implicit transformation necessary to convert from object
365
+ /// bounding box units to user space.
366
+ static member inline gradientTransform (transform: ITransformProperty) =
367
+ Interop.svgAttribute "gradientTransform" (unbox<string> transform)
368
+ /// Defines optional additional transformation(s) from the gradient coordinate system
369
+ /// onto the target coordinate system (i.e., userSpaceOnUse or objectBoundingBox).
370
+ ///
371
+ /// This allows for things such as skewing the gradient. This additional transformation
372
+ /// matrix is post-multiplied to (i.e., inserted to the right of) any previously defined
373
+ /// transformations, including the implicit transformation necessary to convert from object
374
+ /// bounding box units to user space.
375
+ static member inline gradientTransform (transforms: seq<ITransformProperty>) =
376
+ Interop.svgAttribute "gradientTransform" (unbox<seq<string>> transforms |> String.concat " ")
377
+
378
+ /// Specifies the height of elements listed here. For all other elements, use the CSS height property.
379
+ ///
380
+ /// HTML: <canvas>, <embed>, <iframe>, <img>, <input>, <object>, <video>
381
+ ///
382
+ /// SVG: <feBlend>, <feColorMatrix>, <feComponentTransfer>, <feComposite>, <feConvolveMatrix>,
383
+ /// <feDiffuseLighting>, <feDisplacementMap>, <feDropShadow>, <feFlood>, <feGaussianBlur>, <feImage>,
384
+ /// <feMerge>, <feMorphology>, <feOffset>, <feSpecularLighting>, <feTile>, <feTurbulence>, <filter>,
385
+ /// <mask>, <pattern>
386
+ static member inline height (value: float) = Interop.svgAttribute "height" value
387
+ /// Specifies the height of elements listed here. For all other elements, use the CSS height property.
388
+ ///
389
+ /// HTML: <canvas>, <embed>, <iframe>, <img>, <input>, <object>, <video>
390
+ ///
391
+ /// SVG: <feBlend>, <feColorMatrix>, <feComponentTransfer>, <feComposite>, <feConvolveMatrix>,
392
+ /// <feDiffuseLighting>, <feDisplacementMap>, <feDropShadow>, <feFlood>, <feGaussianBlur>, <feImage>,
393
+ /// <feMerge>, <feMorphology>, <feOffset>, <feSpecularLighting>, <feTile>, <feTurbulence>, <filter>,
394
+ /// <mask>, <pattern>
395
+ static member inline height (value: int) = Interop.svgAttribute "height" value
396
+ /// Defines the position and dimension, in user space, of an SVG viewport.
397
+ static member inline viewBox (minX: int, minY: int, width: int, height: int) =
398
+ Interop.svgAttribute "viewBox" (
399
+ (unbox<string> minX) + " " +
400
+ (unbox<string> minY) + " " +
401
+ (unbox<string> width) + " " +
402
+ (unbox<string> height)
403
+ )
404
+
405
+ /// Set visible area of the SVG image.
406
+ static member inline viewPort (x: int, y: int, height: int, width: int) =
407
+ Interop.svgAttribute "viewport" (
408
+ (unbox<string> x) + " " +
409
+ (unbox<string> y) + " " +
410
+ (unbox<string> height) + " " +
411
+ (unbox<string> width)
412
+ )
413
+
414
+ /// Represents the height of the viewport into which the <marker> is to be fitted when it is
415
+ /// rendered according to the viewBox and preserveAspectRatio attributes.
416
+ static member inline markerHeight (value: float) = Interop.svgAttribute "markerHeight" value
417
+ /// Represents the height of the viewport into which the <marker> is to be fitted when it is
418
+ /// rendered according to the viewBox and preserveAspectRatio attributes.
419
+ static member inline markerHeight (value: int) = Interop.svgAttribute "markerHeight" value
420
+ /// Represents the height of the viewport into which the <marker> is to be fitted when it is
421
+ /// rendered according to the viewBox and preserveAspectRatio attributes.
422
+ static member inline markerHeight (value: ICssUnit) = Interop.svgAttribute "markerHeight" value
423
+
424
+ /// The mask presentation attribute binds a given <mask> element applying it to the element the attribute belongs to.
425
+ static member inline mask (value: string) = Interop.svgAttribute "mask" value
426
+
427
+ /// Represents the width of the viewport into which the <marker> is to be fitted when it is
428
+ /// rendered according to the viewBox and preserveAspectRatio attributes.
429
+ static member inline markerWidth (value: float) = Interop.svgAttribute "markerWidth" value
430
+ /// Represents the width of the viewport into which the <marker> is to be fitted when it is
431
+ /// rendered according to the viewBox and preserveAspectRatio attributes.
432
+ static member inline markerWidth (value: int) = Interop.svgAttribute "markerWidth" value
433
+ /// Represents the width of the viewport into which the <marker> is to be fitted when it is
434
+ /// rendered according to the viewBox and preserveAspectRatio attributes.
435
+ static member inline markerWidth (value: ICssUnit) = Interop.svgAttribute "markerWidth" value
436
+ /// Specifies the width of elements listed here. For all other elements, use the CSS height property.
437
+ ///
438
+ /// HTML: <canvas>, <embed>, <iframe>, <img>, <input>, <object>, <video>
439
+ ///
440
+ /// SVG: <feBlend>, <feColorMatrix>, <feComponentTransfer>, <feComposite>, <feConvolveMatrix>,
441
+ /// <feDiffuseLighting>, <feDisplacementMap>, <feDropShadow>, <feFlood>, <feGaussianBlur>, <feImage>,
442
+ /// <feMerge>, <feMorphology>, <feOffset>, <feSpecularLighting>, <feTile>, <feTurbulence>, <filter>,
443
+ /// <mask>, <pattern>
444
+ static member inline width (value: float) = Interop.svgAttribute "width" value
445
+ /// Specifies the width of elements listed here. For all other elements, use the CSS height property.
446
+ ///
447
+ /// HTML: <canvas>, <embed>, <iframe>, <img>, <input>, <object>, <video>
448
+ ///
449
+ /// SVG: <feBlend>, <feColorMatrix>, <feComponentTransfer>, <feComposite>, <feConvolveMatrix>,
450
+ /// <feDiffuseLighting>, <feDisplacementMap>, <feDropShadow>, <feFlood>, <feGaussianBlur>, <feImage>,
451
+ /// <feMerge>, <feMorphology>, <feOffset>, <feSpecularLighting>, <feTile>, <feTurbulence>, <filter>,
452
+ /// <mask>, <pattern>
453
+ static member inline width (value: int) = Interop.svgAttribute "width" value
454
+ /// The URL of a linked resource.
455
+ static member inline href (value: string) = Interop.svgAttribute "href" value
456
+ /// Defines the intercept of the linear function of color component transfers when the type
457
+ /// attribute is set to linear.
458
+ static member inline intercept (value: float) = Interop.svgAttribute "intercept" value
459
+ /// Defines the intercept of the linear function of color component transfers when the type
460
+ /// attribute is set to linear.
461
+ static member inline intercept (value: int) = Interop.svgAttribute "intercept" value
462
+
463
+ /// Defines one of the values to be used within the the arithmetic operation of the
464
+ /// <feComposite> filter primitive.
465
+ static member inline k1 (value: float) = Interop.svgAttribute "k1" value
466
+ /// Defines one of the values to be used within the the arithmetic operation of the
467
+ /// <feComposite> filter primitive.
468
+ static member inline k1 (value: int) = Interop.svgAttribute "k1" value
469
+
470
+ /// Defines one of the values to be used within the the arithmetic operation of the
471
+ /// <feComposite> filter primitive.
472
+ static member inline k2 (value: float) = Interop.svgAttribute "k2" value
473
+ /// Defines one of the values to be used within the the arithmetic operation of the
474
+ /// <feComposite> filter primitive.
475
+ static member inline k2 (value: int) = Interop.svgAttribute "k2" value
476
+
477
+ /// Defines one of the values to be used within the the arithmetic operation of the
478
+ /// <feComposite> filter primitive.
479
+ static member inline k3 (value: float) = Interop.svgAttribute "k3" value
480
+ /// Defines one of the values to be used within the the arithmetic operation of the
481
+ /// <feComposite> filter primitive.
482
+ static member inline k3 (value: int) = Interop.svgAttribute "k3" value
483
+
484
+ /// Defines one of the values to be used within the the arithmetic operation of the
485
+ /// <feComposite> filter primitive.
486
+ static member inline k4 (value: float) = Interop.svgAttribute "k4" value
487
+ /// Defines one of the values to be used within the the arithmetic operation of the
488
+ /// <feComposite> filter primitive.
489
+ static member inline k4 (value: int) = Interop.svgAttribute "k4" value
490
+
491
+ /// Defines the list of numbers that make up the kernel matrix for the
492
+ /// <feConvolveMatrix> element.
493
+ static member inline kernelMatrix (values: seq<float>) = Interop.svgAttribute "kernelMatrix" (values |> unbox<seq<string>> |> String.concat " ")
494
+ /// Defines the list of numbers that make up the kernel matrix for the
495
+ /// <feConvolveMatrix> element.
496
+ static member inline kernelMatrix (values: seq<int>) = Interop.svgAttribute "kernelMatrix" (values |> unbox<seq<string>> |> String.concat " ")
497
+ /// Fires when a media event is aborted.
498
+ static member inline onAbort (handler: Event -> unit) = Interop.svgAttribute "onAbort" handler
499
+ /// Fires when animation is aborted.
500
+ static member inline onAnimationCancel (handler: AnimationEvent -> unit) = Interop.svgAttribute "onAnimationCancel" handler
501
+ /// Fires when animation ends.
502
+ static member inline onAnimationEnd (handler: AnimationEvent -> unit) = Interop.svgAttribute "onAnimationEnd" handler
503
+ /// Fires when animation iterates.
504
+ static member inline onAnimationIteration (handler: AnimationEvent -> unit) = Interop.svgAttribute "onAnimationIteration" handler
505
+ /// Fires the moment that the element loses focus.
506
+ static member inline onBlur (handler: FocusEvent -> unit) = Interop.svgAttribute "onBlur" handler
507
+ /// Fires when a user dismisses the current open dialog
508
+ static member inline onCancel (handler: Event -> unit) = Interop.svgAttribute "onCancel" handler
509
+ /// Fires when a file is ready to start playing (when it has buffered enough to begin).
510
+ static member inline onCanPlay (handler: Event -> unit) = Interop.svgAttribute "onCanPlay" handler
511
+ /// Fires when a file can be played all the way to the end without pausing for buffering
512
+ static member inline onCanPlayThrough (handler: Event -> unit) = Interop.svgAttribute "onCanPlayThrough" handler
513
+ /// Fires the moment when the value of the element is changed
514
+ static member inline onChange (handler: Event -> unit) = Interop.svgAttribute "onChange" handler
515
+ /// Fires on a mouse click on the element.
516
+ static member inline onClick (handler: MouseEvent -> unit) = Interop.svgAttribute "onClick" handler
517
+ /// Fires when a context menu is triggered.
518
+ static member inline onContextMenu (handler: MouseEvent -> unit) = Interop.svgAttribute "onContextMenu" handler
519
+ /// Fires when a TextTrack has changed the currently displaying cues.
520
+ static member inline onCueChange (handler: Event -> unit) = Interop.svgAttribute "onCueChange" handler
521
+ /// Fires when a mouse is double clicked on the element.
522
+ static member inline onDblClick (handler: MouseEvent -> unit) = Interop.svgAttribute "onDblClick" handler
523
+ /// Fires when the length of the media changes.
524
+ static member inline onDurationChange (handler: Event -> unit) = Interop.svgAttribute "onDurationChange" handler
525
+ /// Fires when the media has reached the end (a useful event for messages like "thanks for listening").
526
+ static member inline onEnded (handler: Event -> unit) = Interop.svgAttribute "onEnded" handler
527
+ /// Fires when an error occurs.
528
+ static member inline onError (handler: Event -> unit) = Interop.svgAttribute "onError" handler
529
+ /// Fires when an error occurs.
530
+ static member inline onError (handler: UIEvent -> unit) = Interop.svgAttribute "onError" handler
531
+ /// Fires the moment when the element gets focus.
532
+ static member inline onFocus (handler: FocusEvent -> unit) = Interop.svgAttribute "onFocus" handler
533
+ /// Fires when an element captures a pointer.
534
+ static member inline onGotPointerCapture (handler: PointerEvent -> unit) = Interop.svgAttribute "onGotPointerCapture" handler
535
+ /// Fires when an element gets user input.
536
+ static member inline onInput (handler: Event -> unit) = Interop.svgAttribute "onInput" handler
537
+ /// Fires when a submittable element has been checked for validaty and doesn't satisfy its constraints.
538
+ static member inline onInvalid (handler: Event -> unit) = Interop.svgAttribute "onInvalid" handler
539
+ /// Fires when a user presses a key.
540
+ static member inline onKeyDown (handler: KeyboardEvent -> unit) = Interop.svgAttribute "onKeyDown" handler
541
+ /// Fires when a user presses a key.
542
+ static member inline onKeyDown (key: IKeyboardKey, handler: KeyboardEvent -> unit) =
543
+ PropHelpers.createOnKey(key, handler)
544
+ |> Interop.svgAttribute "onKeyDown"
545
+ /// Fires when a user presses a key.
546
+ static member inline onKeyPress (handler: KeyboardEvent -> unit) = Interop.svgAttribute "onKeyPress" handler
547
+ /// Fires when a user presses a key.
548
+ static member inline onKeyPress (key: IKeyboardKey, handler: KeyboardEvent -> unit) =
549
+ PropHelpers.createOnKey(key, handler)
550
+ |> Interop.svgAttribute "onKeyPress"
551
+ /// Fires when a user releases a key.
552
+ static member inline onKeyUp (handler: KeyboardEvent -> unit) = Interop.svgAttribute "onKeyUp" handler
553
+ /// Fires when a user releases a key.
554
+ static member inline onKeyUp (key: IKeyboardKey, handler: KeyboardEvent -> unit) =
555
+ PropHelpers.createOnKey(key, handler)
556
+ |> Interop.svgAttribute "onKeyUp"
557
+ /// Fires after the page is finished loading.
558
+ static member inline onLoad (handler: Event -> unit) = Interop.svgAttribute "onLoad" handler
559
+ /// Fires when media data is loaded.
560
+ static member inline onLoadedData (handler: Event -> unit) = Interop.svgAttribute "onLoadedData" handler
561
+ /// Fires when meta data (like dimensions and duration) are loaded.
562
+ static member inline onLoadedMetadata (handler: Event -> unit) = Interop.svgAttribute "onLoadedMetadata" handler
563
+ /// Fires when a request has completed, irrespective of its success.
564
+ static member inline onLoadEnd (handler: Event -> unit) = Interop.svgAttribute "onLoadEnd" handler
565
+ /// Fires when the resource begins to load before anything is actually loaded.
566
+ static member inline onLoadStart (handler: Event -> unit) = Interop.svgAttribute "onLoadStart" handler
567
+ /// Fires when a captured pointer is released.
568
+ static member inline onLostPointerCapture (handler: PointerEvent -> unit) = Interop.svgAttribute "onLostPointerCapture" handler
569
+ /// Fires when a mouse button is pressed down on an element.
570
+ static member inline onMouseDown (handler: MouseEvent -> unit) = Interop.svgAttribute "onMouseDown" handler
571
+ /// Fires when a pointer enters an element.
572
+ static member inline onMouseEnter (handler: MouseEvent -> unit) = Interop.svgAttribute "onMouseEnter" handler
573
+ /// Fires when a pointer leaves an element.
574
+ static member inline onMouseLeave (handler: MouseEvent -> unit) = Interop.svgAttribute "onMouseLeave" handler
575
+ /// Fires when the mouse pointer is moving while it is over an element.
576
+ static member inline onMouseMove (handler: MouseEvent -> unit) = Interop.svgAttribute "onMouseMove" handler
577
+ /// Fires when the mouse pointer moves out of an element.
578
+ static member inline onMouseOut (handler: MouseEvent -> unit) = Interop.svgAttribute "onMouseOut" handler
579
+ /// Fires when the mouse pointer moves over an element.
580
+ static member inline onMouseOver (handler: MouseEvent -> unit) = Interop.svgAttribute "onMouseOver" handler
581
+ /// Fires when a mouse button is released while it is over an element.
582
+ static member inline onMouseUp (handler: MouseEvent -> unit) = Interop.svgAttribute "onMouseUp" handler
583
+ /// Fires when the media is paused either by the user or programmatically.
584
+ static member inline onPause (handler: Event -> unit) = Interop.svgAttribute "onPause" handler
585
+ /// Fires when the media is ready to start playing.
586
+ static member inline onPlay (handler: Event -> unit) = Interop.svgAttribute "onPlay" handler
587
+ /// Fires when the media actually has started playing
588
+ static member inline onPlaying (handler: Event -> unit) = Interop.svgAttribute "onPlaying" handler
589
+ /// Fires when there are no more pointer events.
590
+ static member inline onPointerCancel (handler: PointerEvent -> unit) = Interop.svgAttribute "onPointerCancel" handler
591
+ /// Fires when a pointer becomes active.
592
+ static member inline onPointerDown (handler: PointerEvent -> unit) = Interop.svgAttribute "onPointerDown" handler
593
+ /// Fires when a pointer is moved into an elements boundaries or one of its descendants.
594
+ static member inline onPointerEnter (handler: PointerEvent -> unit) = Interop.svgAttribute "onPointerEnter" handler
595
+ /// Fires when a pointer is moved out of an elements boundaries.
596
+ static member inline onPointerLeave (handler: PointerEvent -> unit) = Interop.svgAttribute "onPointerLeave" handler
597
+ /// Fires when a pointer moves.
598
+ static member inline onPointerMove (handler: PointerEvent -> unit) = Interop.svgAttribute "onPointerMove" handler
599
+ /// Fires when a pointer is no longer in an elements boundaries, such as moving it, or after a `pointerUp` or `pointerCancel` event.
600
+ static member inline onPointerOut (handler: PointerEvent -> unit) = Interop.svgAttribute "onPointerOut" handler
601
+ /// Fires when a pointer is moved into an elements boundaries.
602
+ static member inline onPointerOver (handler: PointerEvent -> unit) = Interop.svgAttribute "onPointerOver" handler
603
+ /// Fires when a pointer is no longer active.
604
+ static member inline onPointerUp (handler: PointerEvent -> unit) = Interop.svgAttribute "onPointerUp" handler
605
+ /// Fires when the Reset button in a form is clicked.
606
+ static member inline onReset (handler: Event -> unit) = Interop.svgAttribute "onReset" handler
607
+ /// Fires when the window has been resized.
608
+ static member inline onResize (handler: UIEvent -> unit) = Interop.svgAttribute "onResize" handler
609
+ /// Fires when an element's scrollbar is being scrolled.
610
+ static member inline onScroll (handler: Event -> unit) = Interop.svgAttribute "onScroll" handler
611
+ /// Fires after some text has been selected in an element.
612
+ static member inline onSelect (handler: Event -> unit) = Interop.svgAttribute "onSelect" handler
613
+ /// Fires after some text has been selected in the user interface.
614
+ static member inline onSelect (handler: UIEvent -> unit) = Interop.svgAttribute "onSelect" handler
615
+ /// Fires when a form is submitted.
616
+ static member inline onSubmit (handler: Event -> unit) = Interop.svgAttribute "onSubmit" handler
617
+ /// Fires when the mouse wheel rolls up or down over an element.
618
+ static member inline onWheel (handler: WheelEvent -> unit) = Interop.svgAttribute "onWheel" handler
619
+ /// Defines a list of points.
620
+ ///
621
+ /// Each point is defined by a pair of numbers representing a X and a Y coordinate in
622
+ /// the user coordinate system.
623
+ static member inline points (coordinates: seq<float * float>) =
624
+ PropHelpers.createPointsFloat(coordinates)
625
+ |> Interop.svgAttribute "points"
626
+ /// Defines a list of points.
627
+ ///
628
+ /// Each point is defined by a pair of numbers representing a X and a Y coordinate in
629
+ /// the user coordinate system.
630
+ static member inline points (coordinates: seq<int * int>) =
631
+ PropHelpers.createPointsInt(coordinates)
632
+ |> Interop.svgAttribute "points"
633
+ /// Defines a list of points.
634
+ ///
635
+ /// Each point is defined by a pair of numbers representing a X and a Y coordinate in
636
+ /// the user coordinate system.
637
+ static member inline points (coordinates: string) = Interop.svgAttribute "points" coordinates
638
+
639
+ /// Represents the x location in the coordinate system established by attribute primitiveUnits
640
+ /// on the <filter> element of the point at which the light source is pointing.
641
+ static member inline pointsAtX (value: float) = Interop.svgAttribute "pointsAtX" value
642
+ /// Represents the x location in the coordinate system established by attribute primitiveUnits
643
+ /// on the <filter> element of the point at which the light source is pointing.
644
+ static member inline pointsAtX (value: int) = Interop.svgAttribute "pointsAtX" value
645
+
646
+ /// Represents the y location in the coordinate system established by attribute primitiveUnits
647
+ /// on the <filter> element of the point at which the light source is pointing.
648
+ static member inline pointsAtY (value: float) = Interop.svgAttribute "pointsAtY" value
649
+ /// Represents the y location in the coordinate system established by attribute primitiveUnits
650
+ /// on the <filter> element of the point at which the light source is pointing.
651
+ static member inline pointsAtY (value: int) = Interop.svgAttribute "pointsAtY" value
652
+
653
+ /// Represents the y location in the coordinate system established by attribute primitiveUnits
654
+ /// on the <filter> element of the point at which the light source is pointing, assuming that,
655
+ /// in the initial local coordinate system, the positive z-axis comes out towards the person
656
+ /// viewing the content and assuming that one unit along the z-axis equals one unit in x and y.
657
+ static member inline pointsAtZ (value: float) = Interop.svgAttribute "pointsAtZ" value
658
+ /// Represents the y location in the coordinate system established by attribute primitiveUnits
659
+ /// on the <filter> element of the point at which the light source is pointing, assuming that,
660
+ /// in the initial local coordinate system, the positive z-axis comes out towards the person
661
+ /// viewing the content and assuming that one unit along the z-axis equals one unit in x and y.
662
+ static member inline pointsAtZ (value: int) = Interop.svgAttribute "pointsAtZ" value
663
+
664
+ /// Indicates how a <feConvolveMatrix> element handles alpha transparency.
665
+ static member inline preserveAlpha (value: bool) = Interop.svgAttribute "preserveAlpha" value
666
+
667
+ /// A URL for an image to be shown while the video is downloading. If this attribute isn't specified, nothing
668
+ /// is displayed until the first frame is available, then the first frame is shown as the poster frame.
669
+ static member inline poster (value: string) = Interop.svgAttribute "poster" value
670
+
671
+ /// SVG attribute to define the radius of a circle.
672
+ static member inline r (value: float) = Interop.svgAttribute "r" value
673
+ /// SVG attribute to define the radius of a circle.
674
+ static member inline r (value: int) = Interop.svgAttribute "r" value
675
+
676
+ /// Represents the radius (or radii) for the operation on a given <feMorphology> filter primitive.
677
+ static member inline radius (value: float) = Interop.svgAttribute "radius" value
678
+ /// Represents the radius (or radii) for the operation on a given <feMorphology> filter primitive.
679
+ static member inline radius (value: int) = Interop.svgAttribute "radius" value
680
+ /// Represents the radius (or radii) for the operation on a given <feMorphology> filter primitive.
681
+ static member inline radius (xRadius: float, yRadius: float) = Interop.svgAttribute "radius" (unbox<string> xRadius + "," + unbox<string> yRadius)
682
+ /// Represents the radius (or radii) for the operation on a given <feMorphology> filter primitive.
683
+ static member inline radius (xRadius: float, yRadius: int) = Interop.svgAttribute "radius" (unbox<string> xRadius + "," + unbox<string> yRadius)
684
+ /// Represents the radius (or radii) for the operation on a given <feMorphology> filter primitive.
685
+ static member inline radius (xRadius: int, yRadius: float) = Interop.svgAttribute "radius" (unbox<string> xRadius + "," + unbox<string> yRadius)
686
+ /// Represents the radius (or radii) for the operation on a given <feMorphology> filter primitive.
687
+ static member inline radius (xRadius: int, yRadius: int) = Interop.svgAttribute "radius" (unbox<string> xRadius + "," + unbox<string> yRadius)
688
+ /// Represents the ideal vertical position of the overline.
689
+ ///
690
+ /// The overline position is expressed in the font's coordinate system.
691
+ static member inline overlinePosition (value: float) = Interop.svgAttribute "overlinePosition" value
692
+ /// Represents the ideal vertical position of the overline.
693
+ ///
694
+ /// The overline position is expressed in the font's coordinate system.
695
+ static member inline overlinePosition (value: int) = Interop.svgAttribute "overlinePosition" value
696
+
697
+ /// Represents the ideal thickness of the overline.
698
+ ///
699
+ /// The overline thickness is expressed in the font's coordinate system.
700
+ static member inline overlineThickness (value: float) = Interop.svgAttribute "overlineThickness" value
701
+ /// Represents the ideal thickness of the overline.
702
+ ///
703
+ /// The overline thickness is expressed in the font's coordinate system.
704
+ static member inline overlineThickness (value: int) = Interop.svgAttribute "overlineThickness" value
705
+
706
+ /// It either defines a text path along which the characters of a text are rendered, or a motion
707
+ /// path along which a referenced element is animated.
708
+ static member inline path (path: seq<char * (float list list)>) =
709
+ PropHelpers.createSvgPathFloat path
710
+ |> Interop.svgAttribute "path"
711
+ /// It either defines a text path along which the characters of a text are rendered, or a motion
712
+ /// path along which a referenced element is animated.
713
+ static member inline path (path: seq<char * (int list list)>) =
714
+ PropHelpers.createSvgPathInt path
715
+ |> Interop.svgAttribute "path"
716
+ /// It either defines a text path along which the characters of a text are rendered, or a motion
717
+ /// path along which a referenced element is animated.
718
+ static member inline path (path: string) = Interop.svgAttribute "path" path
719
+
720
+ /// The SVG rx attribute defines a radius on the x-axis.
721
+ ///
722
+ /// Two elements are using this attribute: <ellipse>, and <rect>
723
+ static member inline rx (value: float) = Interop.svgAttribute "rx" value
724
+ /// The SVG rx attribute defines a radius on the x-axis.
725
+ ///
726
+ /// Two elements are using this attribute: <ellipse>, and <rect>
727
+ static member inline rx (value: int) = Interop.svgAttribute "rx" value
728
+
729
+ /// The SVG ry attribute defines a radius on the y-axis.
730
+ ///
731
+ /// Two elements are using this attribute: <ellipse>, and <rect>
732
+ static member inline ry (value: float) = Interop.svgAttribute "ry" value
733
+ /// The SVG ry attribute defines a radius on the y-axis.
734
+ ///
735
+ /// Two elements are using this attribute: <ellipse>, and <rect>
736
+ static member inline ry (value: int) = Interop.svgAttribute "ry" value
737
+ /// Defines the displacement scale factor to be used on a <feDisplacementMap> filter primitive.
738
+ ///
739
+ /// The amount is expressed in the coordinate system established by the primitiveUnits attribute
740
+ /// on the <filter> element.
741
+ static member inline scale (value: float) = Interop.svgAttribute "scale" value
742
+ /// Defines the displacement scale factor to be used on a <feDisplacementMap> filter primitive.
743
+ ///
744
+ /// The amount is expressed in the coordinate system established by the primitiveUnits attribute
745
+ /// on the <filter> element.
746
+ static member inline scale (value: int) = Interop.svgAttribute "scale" value
747
+
748
+ /// Represents the starting number for the pseudo random number generator of the <feTurbulence>
749
+ /// filter primitive.
750
+ static member inline seed (value: float) = Interop.svgAttribute "seed" value
751
+ /// Represents the starting number for the pseudo random number generator of the <feTurbulence>
752
+ /// filter primitive.
753
+ static member inline seed (value: int) = Interop.svgAttribute "seed" value
754
+ /// Controls the ratio of reflection of the specular lighting.
755
+ ///
756
+ /// It represents the ks value in the Phong lighting model. The bigger the value the stronger the reflection.
757
+ static member inline specularConstant (value: float) = Interop.svgAttribute "specularConstant" value
758
+ /// Controls the ratio of reflection of the specular lighting.
759
+ ///
760
+ /// It represents the ks value in the Phong lighting model. The bigger the value the stronger the reflection.
761
+ static member inline specularConstant (value: int) = Interop.svgAttribute "specularConstant" value
762
+
763
+ /// For <feSpecularLighting>, specularExponent defines the exponent value for the specular term.
764
+ ///
765
+ /// For <feSpotLight>, specularExponent defines the exponent value controlling the focus for the light source.
766
+ static member inline specularExponent (value: float) = Interop.svgAttribute "specularExponent" value
767
+ /// For <feSpecularLighting>, specularExponent defines the exponent value for the specular term.
768
+ ///
769
+ /// For <feSpotLight>, specularExponent defines the exponent value controlling the focus for the light source.
770
+ static member inline specularExponent (value: int) = Interop.svgAttribute "specularExponent" value
771
+ /// Defines the standard deviation for the blur operation.
772
+ static member inline stdDeviation (value: float) = Interop.svgAttribute "stdDeviation" value
773
+ /// Defines the standard deviation for the blur operation.
774
+ static member inline stdDeviation (value: int) = Interop.svgAttribute "stdDeviation" value
775
+ /// Defines the standard deviation for the blur operation.
776
+ static member inline stdDeviation (xAxis: float, yAxis: float) = Interop.svgAttribute "stdDeviation" (unbox<string> xAxis + "," + unbox<string> yAxis)
777
+ /// Defines the standard deviation for the blur operation.
778
+ static member inline stdDeviation (xAxis: float, yAxis: int) = Interop.svgAttribute "stdDeviation" (unbox<string> xAxis + "," + unbox<string> yAxis)
779
+ /// Defines the standard deviation for the blur operation.
780
+ static member inline stdDeviation (xAxis: int, yAxis: float) = Interop.svgAttribute "stdDeviation" (unbox<string> xAxis + "," + unbox<string> yAxis)
781
+ /// Defines the standard deviation for the blur operation.
782
+ static member inline stdDeviation (xAxis: int, yAxis: int) = Interop.svgAttribute "stdDeviation" (unbox<string> xAxis + "," + unbox<string> yAxis)
783
+ /// SVG attribute to define the opacity of a given color gradient stop.
784
+ static member inline stopOpacity (value: float) = Interop.svgAttribute "stopOpacity" value
785
+ /// SVG attribute to define the opacity of a given color gradient stop.
786
+ static member inline stopOpacity (value: int) = Interop.svgAttribute "stopOpacity" value
787
+
788
+ /// Represents the ideal vertical position of the strikethrough.
789
+ ///
790
+ /// The strikethrough position is expressed in the font's coordinate system.
791
+ static member inline strikethroughPosition (value: float) = Interop.svgAttribute "strikethroughPosition" value
792
+ /// Represents the ideal vertical position of the strikethrough.
793
+ ///
794
+ /// The strikethrough position is expressed in the font's coordinate system.
795
+ static member inline strikethroughPosition (value: int) = Interop.svgAttribute "strikethroughPosition" value
796
+
797
+ /// Represents the ideal vertical position of the strikethrough.
798
+ ///
799
+ /// The strikethrough position is expressed in the font's coordinate system.
800
+ static member inline strikethroughThickness (value: float) = Interop.svgAttribute "strikethroughThickness" value
801
+ /// Represents the ideal thickness of the strikethrough.
802
+ ///
803
+ /// The strikethrough thickness is expressed in the font's coordinate system.
804
+ static member inline strikethroughThickness (value: int) = Interop.svgAttribute "strikethroughThickness" value
805
+
806
+ /// SVG attribute to define the color (or any SVG paint servers like gradients or patterns) used to paint the outline of the shape.
807
+ static member inline stroke (color: string) = Interop.svgAttribute "stroke" color
808
+
809
+ /// SVG attribute to define the pattern of dashes and gaps used to paint the outline of the shape.
810
+ static member inline strokeDasharray (value: int array) = Interop.svgAttribute "strokeDasharray" value
811
+
812
+ /// SVG attribute to define the offset on the rendering of the associated dash array.
813
+ static member inline strokeDashoffset (value: int) = Interop.svgAttribute "strokeDashoffset" value
814
+
815
+ /// SVG attribute to define the an offset on the rendering of the associated dash array
816
+ static member inline strokeDashoffset (value: float) = Interop.svgAttribute "strokeDashoffset" value
817
+
818
+ /// SVG attribute to define the shape to be used at the end of open subpaths when they are stroked.
819
+ static member inline strokeLineCap (value: string) = Interop.svgAttribute "strokeLinecap" value
820
+
821
+ /// SVG attribute to define the shape to be used at the end of open subpaths when they are stroked.
822
+ static member inline strokeLineJoin (value: string) = Interop.svgAttribute "strokeLinejoin" value
823
+
824
+ /// SVG attribute to define a limit on the ratio of the miter length to the stroke-width used to draw a miter join.
825
+ /// When the limit is exceeded, the join is converted from a miter to a bevel.
826
+ static member inline strokeMitterLimit (value: int) = Interop.svgAttribute "strokeMiterlimit" value
827
+
828
+ /// SVG attribute to define the width of the stroke to be applied to the shape.
829
+ static member inline strokeWidth (value: float) = Interop.svgAttribute "strokeWidth" value
830
+
831
+ /// SVG attribute to define the width of the stroke to be applied to the shape.
832
+ static member inline strokeWidth (value: int) = Interop.svgAttribute "strokeWidth" value
833
+
834
+ /// SVG attribute to define the opacity of the stroke to be applied to the shape.
835
+ static member inline strokeOpacity (value: float) = Interop.svgAttribute "strokeOpacity" value
836
+
837
+ /// SVG attribute to define the opacity of the stroke to be applied to the shape.
838
+ static member inline strokeOpacity (value: int) = Interop.svgAttribute "strokeOpacity" value
839
+
840
+ /// Represents the height of the surface for a light filter primitive.
841
+ static member inline surfaceScale (value: float) = Interop.svgAttribute "surfaceScale" value
842
+
843
+ /// Represents the height of the surface for a light filter primitive.
844
+ static member inline surfaceScale (value: int) = Interop.svgAttribute "surfaceScale" value
845
+
846
+ /// Represents a list of supported language tags.
847
+ ///
848
+ /// This list is matched against the language defined in the user preferences.
849
+ static member inline systemLanguage (value: string) = Interop.svgAttribute "systemLanguage" value
850
+
851
+ /// The `tabindex` global attribute indicates that its element can be focused,
852
+ /// and where it participates in sequential keyboard navigation (usually with the Tab key, hence the name).
853
+ static member inline tabIndex (index: int) = Interop.svgAttribute "tabIndex" index
854
+
855
+ /// Controls browser behavior when opening a link.
856
+ static member inline target (frameName: string) = Interop.svgAttribute "target" frameName
857
+
858
+ /// Determines the positioning in horizontal direction of the convolution matrix relative to a
859
+ /// given target pixel in the input image.
860
+ ///
861
+ /// The leftmost column of the matrix is column number zero.
862
+ ///
863
+ /// The value must be such that:
864
+ ///
865
+ /// 0 <= targetX < orderX.
866
+ static member inline targetX (index: int) = Interop.svgAttribute "targetX" index
867
+
868
+ /// Determines the positioning in vertical direction of the convolution matrix relative to a
869
+ /// given target pixel in the input image.
870
+ ///
871
+ /// The topmost row of the matrix is row number zero.
872
+ ///
873
+ /// The value must be such that:
874
+ ///
875
+ /// 0 <= targetY < orderY.
876
+ static member inline targetY (index: int) = Interop.svgAttribute "targetY" index
877
+
878
+ /// A shorthand for using prop.custom("data-testid", value). Useful for referencing elements when testing React code.
879
+ static member inline testId(value: string) = Interop.svgAttribute "data-testid" value
880
+ static member inline text(value: string) = prop.text value |> unbox<ISvgAttribute>
881
+ static member inline text(value: int) = prop.text value |> unbox<ISvgAttribute>
882
+ static member inline text(value: float) = prop.text value |> unbox<ISvgAttribute>
883
+ /// SVG attribute to indicate what color to use at a gradient stop.
884
+ static member inline stopColor (value: string) = Interop.svgAttribute "stopColor" value
885
+ /// Specifies the width of the space into which the text will draw.
886
+ ///
887
+ /// The user agent will ensure that the text does not extend farther than that distance, using the method or methods
888
+ /// specified by the lengthAdjust attribute.
889
+ static member inline textLength (value: float) = Interop.svgAttribute "textLength" value
890
+ /// Specifies the width of the space into which the text will draw.
891
+ ///
892
+ /// The user agent will ensure that the text does not extend farther than that distance, using the method or methods
893
+ /// specified by the lengthAdjust attribute.
894
+ static member inline textLength (value: int) = Interop.svgAttribute "textLength" value
895
+
896
+ /// Defines a list of transform definitions that are applied to an element and the element's children.
897
+ static member inline transform (transform: ITransformProperty) =
898
+ let removedUnit = (unbox<string> transform).Replace("px", "").Replace("deg", "")
899
+ Interop.svgAttribute "transform" removedUnit
900
+ /// Defines a list of transform definitions that are applied to an element and the element's children.
901
+ static member inline transform (transforms: seq<ITransformProperty>) =
902
+ let removedUnits =
903
+ transforms
904
+ |> unbox<seq<string>>
905
+ |> Seq.map (fun transform -> transform.Replace("px", "").Replace("deg", ""))
906
+ |> String.concat " "
907
+
908
+ Interop.svgAttribute "transform" removedUnits
909
+ /// Specifies the XML Namespace of the document.
910
+ ///
911
+ /// Default value is "http://www.w3.org/2000/svg".
912
+ ///
913
+ /// This is required in documents parsed with XML parsers, and optional in text/html documents.
914
+ static member inline xmlns(ns: string) =
915
+ Interop.svgAttribute "xmlns" ns
916
+
917
+ /// Used to define a custom SVG attribute when one is missing.
918
+ static member inline custom(name: string, value: 't) = Interop.svgAttribute name value
919
+
920
+ module svg =
921
+ /// Controls whether or not an animation is cumulative.
922
+ [<Erase>]
923
+ type accumulate =
924
+ /// Specifies that repeat iterations are not cumulative.
925
+ static member inline none = Interop.svgAttribute "accumulate" "none"
926
+ /// Specifies that each repeat iteration after the first builds upon
927
+ /// the last value of the previous iteration.
928
+ static member inline sum = Interop.svgAttribute "accumulate" "sum"
929
+
930
+ /// Controls whether or not an animation is additive.
931
+ [<Erase>]
932
+ type additive =
933
+ /// Specifies that the animation will override the underlying value of
934
+ /// the attribute and other lower priority animations.
935
+ static member inline replace = Interop.svgAttribute "additive" "replace"
936
+ /// Specifies that the animation will add to the underlying value of
937
+ /// the attribute and other lower priority animations.
938
+ static member inline sum = Interop.svgAttribute "additive" "sum"
939
+
940
+ /// Controls whether or not an animation is additive.
941
+ [<Erase>]
942
+ type alignmentBaseline =
943
+ /// Uses the dominant baseline choice of the parent. Matches the box’s
944
+ /// corresponding baseline to that of its parent.
945
+ static member inline alphabetic = Interop.svgAttribute "alignment-baseline" "alphabetic"
946
+ /// Uses the dominant baseline choice of the parent. Matches the box’s
947
+ /// corresponding baseline to that of its parent.
948
+ static member inline baseline = Interop.svgAttribute "alignment-baseline" "baseline"
949
+ /// Uses the dominant baseline choice of the parent. Matches the box’s
950
+ /// corresponding baseline to that of its parent.
951
+ static member inline bottom = Interop.svgAttribute "alignment-baseline" "bottom"
952
+ /// Specifies that the animation will add to the underlying value of
953
+ /// the attribute and other lower priority animations.
954
+ static member inline center = Interop.svgAttribute "alignment-baseline" "center"
955
+ /// Uses the dominant baseline choice of the parent. Matches the box’s
956
+ /// corresponding baseline to that of its parent.
957
+ static member inline central = Interop.svgAttribute "alignment-baseline" "central"
958
+ /// Specifies that the animation will add to the underlying value of
959
+ /// the attribute and other lower priority animations.
960
+ static member inline hanging = Interop.svgAttribute "alignment-baseline" "hanging"
961
+ /// Specifies that the animation will add to the underlying value of
962
+ /// the attribute and other lower priority animations.
963
+ static member inline ideographic = Interop.svgAttribute "alignment-baseline" "ideographic"
964
+ /// Uses the dominant baseline choice of the parent. Matches the box’s
965
+ /// corresponding baseline to that of its parent.
966
+ static member inline mathematical = Interop.svgAttribute "alignment-baseline" "mathematical"
967
+ /// Specifies that the animation will add to the underlying value of
968
+ /// the attribute and other lower priority animations.
969
+ static member inline middle = Interop.svgAttribute "alignment-baseline" "middle"
970
+ /// Uses the dominant baseline choice of the parent. Matches the box’s
971
+ /// corresponding baseline to that of its parent.
972
+ static member inline textAfterEdge = Interop.svgAttribute "alignment-baseline" "text-after-edge"
973
+ /// Uses the dominant baseline choice of the parent. Matches the box’s
974
+ /// corresponding baseline to that of its parent.
975
+ static member inline textBeforeEdge = Interop.svgAttribute "alignment-baseline" "text-before-edge"
976
+ /// Specifies that the animation will add to the underlying value of
977
+ /// the attribute and other lower priority animations.
978
+ static member inline textBottom = Interop.svgAttribute "alignment-baseline" "text-bottom"
979
+ /// Specifies that the animation will add to the underlying value of
980
+ /// the attribute and other lower priority animations.
981
+ static member inline textTop = Interop.svgAttribute "alignment-baseline" "text-top"
982
+ /// Specifies that the animation will add to the underlying value of
983
+ /// the attribute and other lower priority animations.
984
+ static member inline top = Interop.svgAttribute "alignment-baseline" "top"
985
+
986
+ /// Specifies the interpolation mode for the animation.
987
+ [<Erase>]
988
+ type calcMode =
989
+ /// Specifies that the animation function will jump from one value to the next
990
+ /// without any interpolation.
991
+ static member inline discrete = Interop.svgAttribute "calcMode" "discrete"
992
+ /// Simple linear interpolation between values is used to calculate the animation
993
+ /// function. Except for <animateMotion>, this is the default value.
994
+ static member inline linear = Interop.svgAttribute "calcMode" "linear"
995
+ /// Defines interpolation to produce an even pace of change across the animation.
996
+ ///
997
+ /// This is only supported for values that define a linear numeric range, and for
998
+ /// which some notion of "distance" between points can be calculated (e.g. position,
999
+ /// width, height, etc.).
1000
+ ///
1001
+ /// If paced is specified, any keyTimes or keySplines will be ignored.
1002
+ ///
1003
+ /// For <animateMotion>, this is the default value.
1004
+ static member inline paced = Interop.svgAttribute "calcMode" "paced"
1005
+ /// Interpolates from one value in the values list to the next according to a time
1006
+ /// function defined by a cubic Bézier spline.
1007
+ ///
1008
+ /// The points of the spline are defined in the keyTimes attribute, and the control
1009
+ /// points for each interval are defined in the keySplines attribute.
1010
+ static member inline spline = Interop.svgAttribute "calcMode" "spline"
1011
+
1012
+ /// The clipPathUnits attribute indicates which coordinate system to use for the contents of the <clipPath> element.
1013
+ [<Erase>]
1014
+ type clipPathUnits =
1015
+ static member inline userSpaceOnUse = Interop.svgAttribute "clipPathUnits" "userSpaceOnUse"
1016
+ static member inline objectBoundingBox = Interop.svgAttribute "clipPathUnits" "objectBoundingBox"
1017
+
1018
+ /// Indicates which coordinate system to use for the contents of the <clipPath> element.
1019
+ [<Erase>]
1020
+ type clipRule =
1021
+ /// Determines the "insideness" of a point in the shape by drawing a ray from that
1022
+ /// point to infinity in any direction and counting the number of path segments
1023
+ /// from the given shape that the ray crosses.
1024
+ ///
1025
+ /// If this number is odd, the point is inside; if even, the point is outside.
1026
+ static member inline evenodd = Interop.svgAttribute "clipRule" "evenodd"
1027
+ static member inline inheritFromParent = Interop.svgAttribute "clipRule" "inherit"
1028
+ /// Determines the "insideness" of a point in the shape by drawing a ray from that
1029
+ /// point to infinity in any direction, and then examining the places where a
1030
+ /// segment of the shape crosses the ray.
1031
+ static member inline nonzero = Interop.svgAttribute "clipRule" "nonzero"
1032
+
1033
+ /// Specifies the color space for gradient interpolations, color animations, and
1034
+ /// alpha compositing.
1035
+ [<Erase>]
1036
+ type colorInterpolation =
1037
+ /// Indicates that the user agent can choose either the sRGB or linearRGB spaces
1038
+ /// for color interpolation. This option indicates that the author doesn't require
1039
+ /// that color interpolation occur in a particular color space.
1040
+ static member inline auto = Interop.svgAttribute "colorInterpolation" "auto"
1041
+ /// Indicates that color interpolation should occur in the linearized RGB color
1042
+ /// space as described in the sRGB specification.
1043
+ static member inline linearRGB = Interop.svgAttribute "colorInterpolation" "linearRGB"
1044
+ /// Indicates that color interpolation should occur in the sRGB color space.
1045
+ static member inline sRGB = Interop.svgAttribute "colorInterpolation" "sRGB"
1046
+
1047
+ /// Specifies the color space for imaging operations performed via filter effects.
1048
+ [<Erase>]
1049
+ type colorInterpolationFilters =
1050
+ /// Indicates that the user agent can choose either the sRGB or linearRGB spaces
1051
+ /// for color interpolation. This option indicates that the author doesn't require
1052
+ /// that color interpolation occur in a particular color space.
1053
+ static member inline auto = Interop.svgAttribute "colorInterpolationFilters" "auto"
1054
+ /// Indicates that color interpolation should occur in the linearized RGB color
1055
+ /// space as described in the sRGB specification.
1056
+ static member inline linearRGB = Interop.svgAttribute "colorInterpolationFilters" "linearRGB"
1057
+ /// Indicates that color interpolation should occur in the sRGB color space.
1058
+ static member inline sRGB = Interop.svgAttribute "colorInterpolationFilters" "sRGB"
1059
+
1060
+ /// The cursor CSS property sets the type of cursor, if any, to show when the mouse pointer is over an element.
1061
+ /// See documentation at https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/cursor
1062
+ [<Erase>]
1063
+ type cursor =
1064
+ /// The User Agent will determine the cursor to display based on the current context. E.g., equivalent to text when hovering text.
1065
+ static member inline auto = Interop.svgAttribute "cursor" "auto"
1066
+ /// The cursor indicates an alias of something is to be created
1067
+ static member inline alias = Interop.svgAttribute "cursor" "alias"
1068
+ /// The platform-dependent default cursor. Typically an arrow.
1069
+ static member inline defaultCursor = Interop.svgAttribute "cursor" "default"
1070
+ /// No cursor is rendered.
1071
+ static member inline none = Interop.svgAttribute "cursor" "none"
1072
+ /// A context menu is available.
1073
+ static member inline contextMenu = Interop.svgAttribute "cursor" "context-menu"
1074
+ /// Help information is available.
1075
+ static member inline help = Interop.svgAttribute "cursor" "help"
1076
+ /// The cursor is a pointer that indicates a link. Typically an image of a pointing hand.
1077
+ static member inline pointer = Interop.svgAttribute "cursor" "pointer"
1078
+ /// The program is busy in the background, but the user can still interact with the interface (in contrast to `wait`).
1079
+ static member inline progress = Interop.svgAttribute "cursor" "progress"
1080
+ /// The program is busy, and the user can't interact with the interface (in contrast to progress). Sometimes an image of an hourglass or a watch.
1081
+ static member inline wait = Interop.svgAttribute "cursor" "wait"
1082
+ /// The table cell or set of cells can be selected.
1083
+ static member inline cell = Interop.svgAttribute "cursor" "cell"
1084
+ /// Cross cursor, often used to indicate selection in a bitmap.
1085
+ static member inline crosshair = Interop.svgAttribute "cursor" "crosshair"
1086
+ /// The text can be selected. Typically the shape of an I-beam.
1087
+ static member inline text = Interop.svgAttribute "cursor" "text"
1088
+ /// The vertical text can be selected. Typically the shape of a sideways I-beam.
1089
+ static member inline verticalText = Interop.svgAttribute "cursor" "vertical-text"
1090
+ /// Something is to be copied.
1091
+ static member inline copy = Interop.svgAttribute "cursor" "copy"
1092
+ /// Something is to be moved.
1093
+ static member inline move = Interop.svgAttribute "cursor" "move"
1094
+ /// An item may not be dropped at the current location. On Windows and Mac OS X, `no-drop` is the same as `not-allowed`.
1095
+ static member inline noDrop = Interop.svgAttribute "cursor" "no-drop"
1096
+ /// The requested action will not be carried out.
1097
+ static member inline notAllowed = Interop.svgAttribute "cursor" "not-allowed"
1098
+ /// Something can be grabbed (dragged to be moved).
1099
+ static member inline grab = Interop.svgAttribute "cursor" "grab"
1100
+ /// Something is being grabbed (dragged to be moved).
1101
+ static member inline grabbing = Interop.svgAttribute "cursor" "grabbing"
1102
+ /// Something can be scrolled in any direction (panned).
1103
+ static member inline allScroll = Interop.svgAttribute "cursor" "all-scroll"
1104
+ /// The item/column can be resized horizontally. Often rendered as arrows pointing left and right with a vertical bar separating them.
1105
+ static member inline columnResize = Interop.svgAttribute "cursor" "col-resize"
1106
+ /// The item/row can be resized vertically. Often rendered as arrows pointing up and down with a horizontal bar separating them.
1107
+ static member inline rowResize = Interop.svgAttribute "cursor" "row-resize"
1108
+ /// Directional resize arrow
1109
+ static member inline northResize = Interop.svgAttribute "cursor" "n-resize"
1110
+ /// Directional resize arrow
1111
+ static member inline eastResize = Interop.svgAttribute "cursor" "e-resize"
1112
+ /// Directional resize arrow
1113
+ static member inline southResize = Interop.svgAttribute "cursor" "s-resize"
1114
+ /// Directional resize arrow
1115
+ static member inline westResize = Interop.svgAttribute "cursor" "w-resize"
1116
+ /// Directional resize arrow
1117
+ static member inline northEastResize = Interop.svgAttribute "cursor" "ne-resize"
1118
+ /// Directional resize arrow
1119
+ static member inline northWestResize = Interop.svgAttribute "cursor" "nw-resize"
1120
+ /// Directional resize arrow
1121
+ static member inline southEastResize = Interop.svgAttribute "cursor" "se-resize"
1122
+ /// Directional resize arrow
1123
+ static member inline southWestResize = Interop.svgAttribute "cursor" "sw-resize"
1124
+ /// Directional resize arrow
1125
+ static member inline eastWestResize = Interop.svgAttribute "cursor" "ew-resize"
1126
+ /// Directional resize arrow
1127
+ static member inline northSouthResize = Interop.svgAttribute "cursor" "ns-resize"
1128
+ /// Directional resize arrow
1129
+ static member inline northEastSouthWestResize = Interop.svgAttribute "cursor" "nesw-resize"
1130
+ /// Directional resize arrow
1131
+ static member inline northWestSouthEastResize = Interop.svgAttribute "cursor" "nwse-resize"
1132
+ /// Something can be zoomed (magnified) in
1133
+ static member inline zoomIn = Interop.svgAttribute "cursor" "zoom-in"
1134
+ /// Something can be zoomed out
1135
+ static member inline zoomOut = Interop.svgAttribute "cursor" "zoom-out"
1136
+
1137
+ /// Indicates the directionality of the element's text.
1138
+ [<Erase>]
1139
+ type direction =
1140
+ /// Left to right - for languages that are written from left to right.
1141
+ static member inline ltr = Interop.svgAttribute "direction" "ltr"
1142
+ /// Right to left - for languages that are written from right to left.
1143
+ static member inline rtl = Interop.svgAttribute "direction" "rtl"
1144
+
1145
+ /// The `dominantBaseline` attribute specifies the dominant baseline, which is the baseline used to align the box’s text
1146
+ /// and inline-level contents. It also indicates the default alignment baseline of any boxes participating in baseline
1147
+ /// alignment in the box’s alignment context. It is used to determine or re-determine a scaled-baseline-table. A
1148
+ /// scaled-baseline-table is a compound value with three components: a baseline-identifier for the dominant-baseline, a
1149
+ /// baseline-table and a baseline-table font-size. Some values of the property re-determine all three values; other only
1150
+ /// re-establish the baseline-table font-size. When the initial value, auto, would give an undesired result, this property
1151
+ /// can be used to explicitly set the desired scaled-baseline-table.
1152
+ /// If there is no baseline table in the nominal font or if the baseline table lacks an entry for the desired baseline,
1153
+ /// then the browser may use heuristics to determine the position of the desired baseline.
1154
+ [<Erase>]
1155
+ type dominantBaseline =
1156
+ /// The baseline-identifier for the dominant-baseline is set to be alphabetic, the derived baseline-table is constructed
1157
+ /// using the alphabetic baseline-table in the font, and the baseline-table font-size is changed to the value of the
1158
+ /// font-size attribute on this element.
1159
+ static member inline alphabetic = Interop.svgAttribute "dominantBaseline" "alphabetic"
1160
+ /// If this property occurs on a <text> element, then the computed value depends on the value of the writing-mode attribute.
1161
+ ///
1162
+ /// If the writing-mode is horizontal, then the value of the dominant-baseline component is alphabetic, else if the writing-mode
1163
+ /// is vertical, then the value of the dominant-baseline component is central.
1164
+ ///
1165
+ /// If this property occurs on a <tspan>, <tref>,
1166
+ /// <altGlyph> or <textPath> element, then the dominant-baseline and the baseline-table components remain the same as those of
1167
+ /// the parent text content element.
1168
+ ///
1169
+ /// If the computed baseline-shift value actually shifts the baseline, then the baseline-table
1170
+ /// font-size component is set to the value of the font-size attribute on the element on which the dominant-baseline attribute
1171
+ /// occurs, otherwise the baseline-table font-size remains the same as that of the element.
1172
+ ///
1173
+ /// If there is no parent text content
1174
+ /// element, the scaled-baseline-table value is constructed as above for <text> elements.
1175
+ static member inline auto = Interop.svgAttribute "dominantBaseline" "auto"
1176
+ /// The baseline-identifier for the dominant-baseline is set to be central. The derived baseline-table is constructed from the
1177
+ /// defined baselines in a baseline-table in the font. That font baseline-table is chosen using the following priority order of
1178
+ /// baseline-table names: ideographic, alphabetic, hanging, mathematical. The baseline-table font-size is changed to the value
1179
+ /// of the font-size attribute on this element.
1180
+ static member inline central = Interop.svgAttribute "dominantBaseline" "central"
1181
+ /// The baseline-identifier for the dominant-baseline is set to be hanging, the derived baseline-table is constructed using the
1182
+ /// hanging baseline-table in the font, and the baseline-table font-size is changed to the value of the font-size attribute on
1183
+ /// this element.
1184
+ static member inline hanging = Interop.svgAttribute "dominantBaseline" "hanging"
1185
+ /// The baseline-identifier for the dominant-baseline is set to be ideographic, the derived baseline-table is constructed using
1186
+ /// the ideographic baseline-table in the font, and the baseline-table font-size is changed to the value of the font-size
1187
+ /// attribute on this element.
1188
+ static member inline ideographic = Interop.svgAttribute "dominantBaseline" "ideographic"
1189
+ /// The baseline-identifier for the dominant-baseline is set to be mathematical, the derived baseline-table is constructed using
1190
+ /// the mathematical baseline-table in the font, and the baseline-table font-size is changed to the value of the font-size
1191
+ /// attribute on this element.
1192
+ static member inline mathematical = Interop.svgAttribute "dominantBaseline" "mathematical"
1193
+ /// The baseline-identifier for the dominant-baseline is set to be middle. The derived baseline-table is constructed from the
1194
+ /// defined baselines in a baseline-table in the font. That font baseline-table is chosen using the following priority order
1195
+ /// of baseline-table names: alphabetic, ideographic, hanging, mathematical. The baseline-table font-size is changed to the value
1196
+ /// of the font-size attribute on this element.
1197
+ static member inline middle = Interop.svgAttribute "dominantBaseline" "middle"
1198
+ /// The baseline-identifier for the dominant-baseline is set to be text-after-edge. The derived baseline-table is constructed
1199
+ /// from the defined baselines in a baseline-table in the font. The choice of which font baseline-table to use from the
1200
+ /// baseline-tables in the font is browser dependent. The baseline-table font-size is changed to the value of the font-size
1201
+ /// attribute on this element.
1202
+ static member inline textAfterEdge = Interop.svgAttribute "dominantBaseline" "text-after-edge"
1203
+ /// The baseline-identifier for the dominant-baseline is set to be text-before-edge. The derived baseline-table is constructed
1204
+ /// from the defined baselines in a baseline-table in the font. The choice of which baseline-table to use from the baseline-tables
1205
+ /// in the font is browser dependent. The baseline-table font-size is changed to the value of the font-size attribute on this element.
1206
+ static member inline textBeforeEdge = Interop.svgAttribute "dominantBaseline" "text-before-edge"
1207
+ /// This value uses the top of the em box as the baseline.
1208
+ static member inline textTop = Interop.svgAttribute "dominantBaseline" "text-top"
1209
+
1210
+ /// Indicates the simple duration of an animation.
1211
+ [<Erase>]
1212
+ type dur =
1213
+ /// This value specifies the length of the simple duration.
1214
+ static member inline clockValue (duration: System.TimeSpan) =
1215
+ PropHelpers.createClockValue(duration)
1216
+ |> Interop.svgAttribute "dur"
1217
+ /// This value specifies the simple duration as indefinite.
1218
+ static member inline indefinite = Interop.svgAttribute "dur" "indefinite"
1219
+ /// This value specifies the simple duration as the intrinsic media duration.
1220
+ ///
1221
+ /// This is only valid for elements that define media.
1222
+ static member inline media = Interop.svgAttribute "dur" "media"
1223
+
1224
+ /// Determines how to extend the input image as necessary with color values so
1225
+ /// that the matrix operations can be applied when the kernel is positioned at
1226
+ /// or near the edge of the input image.
1227
+ [<Erase>]
1228
+ type edgeMode =
1229
+ /// Indicates that the input image is extended along each of its borders as
1230
+ /// necessary by duplicating the color values at the given edge of the input image.
1231
+ static member inline duplicate = Interop.svgAttribute "edgeMode" "duplicate"
1232
+ /// Indicates that the input image is extended with pixel values of zero for
1233
+ /// R, G, B and A.
1234
+ static member inline none = Interop.svgAttribute "edgeMode" "none"
1235
+ /// Indicates that the input image is extended by taking the color values
1236
+ /// from the opposite edge of the image.
1237
+ static member inline wrap = Interop.svgAttribute "edgeMode" "wrap"
1238
+
1239
+ /// The gradientUnits attribute defines the coordinate system used for attributes specified on the gradient elements. Two elements are using this attribute: <linearGradient> and <radialGradient>
1240
+ [<Erase>]
1241
+ type gradientUnits =
1242
+ static member inline userSpaceOnUse = Interop.svgAttribute "gradientUnits" "userSpaceOnUse"
1243
+ static member inline objectBoundingBox = Interop.svgAttribute "gradientUnits" "objectBoundingBox"
1244
+
1245
+ /// The `text-anchor` attribute is used to align (start-, middle- or
1246
+ /// end-alignment) a string of pre-formatted text or auto-wrapped text where
1247
+ /// the wrapping area is determined from the `inline-size` property relative
1248
+ /// to a given point. It is not applicable to other types of auto-wrapped
1249
+ /// text. For those cases you should use `text-align`. For multi-line text,
1250
+ /// the alignment takes place for each line.
1251
+ ///
1252
+ /// The `text-anchor` attribute is applied to each individual text chunk
1253
+ /// within a given `<text>` element. Each text chunk has an initial current
1254
+ /// text position, which represents the point in the user coordinate system
1255
+ /// resulting from (depending on context) application of the `x` and `y`
1256
+ /// attributes on the `<text>` element, any `x` or `y` attribute values on a
1257
+ /// `<tspan>`, `<tref>` or `<altGlyph>` element assigned explicitly to the
1258
+ /// first rendered character in a text chunk, or determination of the
1259
+ /// initial current text position for a `<textPath>` element.
1260
+ [<Erase>]
1261
+ type textAnchor =
1262
+ /// The rendered characters are shifted such that the end of the
1263
+ /// resulting rendered text (final current text position before applying
1264
+ /// the `text-anchor` property) is at the initial current text position.
1265
+ /// For an element with a `direction` property value of `ltr` (typical
1266
+ /// for most European languages), the right side of the text is rendered
1267
+ /// at the initial text position. For an element with a `direction`
1268
+ /// property value of `rtl` (typical for Arabic and Hebrew), the left
1269
+ /// side of the text is rendered at the initial text position. For an
1270
+ /// element with a vertical primary text direction (often typical for
1271
+ /// Asian text), the bottom of the text is rendered at the initial text
1272
+ /// position.
1273
+ static member inline endOfText = Interop.svgAttribute "textAnchor" "end"
1274
+ /// The rendered characters are aligned such that the middle of the text
1275
+ /// string is at the current text position. (For text on a path,
1276
+ /// conceptually the text string is first laid out in a straight line.
1277
+ /// The midpoint between the start of the text string and the end of the
1278
+ /// text string is determined. Then, the text string is mapped onto the
1279
+ /// path with this midpoint placed at the current text position.)
1280
+ static member inline middle = Interop.svgAttribute "textAnchor" "middle"
1281
+ /// The rendered characters are aligned such that the start of the text
1282
+ /// string is at the initial current text position. For an element with
1283
+ /// a `direction` property value of `ltr` (typical for most European
1284
+ /// languages), the left side of the text is rendered at the initial
1285
+ /// text position. For an element with a `direction` property value of
1286
+ /// `rtl` (typical for Arabic and Hebrew), the right side of the text is
1287
+ /// rendered at the initial text position. For an element with a
1288
+ /// vertical primary text direction (often typical for Asian text), the
1289
+ /// top side of the text is rendered at the initial text position.
1290
+ static member inline startOfText = Interop.svgAttribute "textAnchor" "start"
1291
+
1292
+ [<Erase>]
1293
+ type textDecoration =
1294
+ static member inline none = Interop.svgAttribute "textDecoration" "none"
1295
+ static member inline underline = Interop.svgAttribute "textDecoration" "underline"
1296
+ static member inline overline = Interop.svgAttribute "textDecoration" "overline"
1297
+ static member inline lineThrough = Interop.svgAttribute "textDecoration" "line-through"
1298
+
1299
+ [<Erase>]
1300
+ type transform =
1301
+ /// Defines that there should be no transformation.
1302
+ static member inline none = Interop.svgAttribute "transform" "none"
1303
+ /// Defines a 2D transformation, using a matrix of six values.
1304
+ static member inline matrix(x1: int, y1: int, z1: int, x2: int, y2: int, z2: int) =
1305
+ Interop.svgAttribute "transform" (
1306
+ "matrix(" +
1307
+ (unbox<string> x1) + "," +
1308
+ (unbox<string> y1) + "," +
1309
+ (unbox<string> z1) + "," +
1310
+ (unbox<string> x2) + "," +
1311
+ (unbox<string> y2) + "," +
1312
+ (unbox<string> z2) + ")"
1313
+ )
1314
+
1315
+ /// Defines a 2D translation.
1316
+ static member inline translate(x: int, y: int) =
1317
+ Interop.svgAttribute "transform" (
1318
+ "translate(" + (unbox<string> x) + "," + (unbox<string> y) + ")"
1319
+ )
1320
+
1321
+ /// Defines a 3D translation.
1322
+ static member inline translate3D(x: int, y: int, z: int) =
1323
+ Interop.svgAttribute "transform" (
1324
+ "translate3d(" + (unbox<string> x) + "," + (unbox<string> y) + "," + (unbox<string> z) + ")"
1325
+ )
1326
+
1327
+ /// Defines a translation, using only the value for the X-axis.
1328
+ static member inline translateX(x: int) =
1329
+ Interop.svgAttribute "transform" ("translateX(" + (unbox<string> x) + ")")
1330
+ /// Defines a translation, using only the value for the Y-axis
1331
+ static member inline translateY(y: int) =
1332
+ Interop.svgAttribute "transform" ("translateY(" + (unbox<string> y) + ")")
1333
+ /// Defines a 3D translation, using only the value for the Z-axis
1334
+ static member inline translateZ(z: int) =
1335
+ Interop.svgAttribute "transform" ("translateZ(" + (unbox<string> z) + ")")
1336
+ /// Defines a 2D scale transformation.
1337
+ static member inline scale(x: int, y: int) =
1338
+ Interop.svgAttribute "transform" (
1339
+ "scale(" + (unbox<string> x) + "," + (unbox<string> y) + ")"
1340
+ )
1341
+ /// Defines a scale transformation.
1342
+ static member inline scale(n: int) =
1343
+ Interop.svgAttribute "transform" (
1344
+ "scale(" + (unbox<string> n) + ")"
1345
+ )
1346
+
1347
+ /// Defines a scale transformation.
1348
+ static member inline scale(n: float) =
1349
+ Interop.svgAttribute "transform" (
1350
+ "scale(" + (unbox<string> n) + ")"
1351
+ )
1352
+
1353
+ /// Defines a 3D scale transformation
1354
+ static member inline scale3D(x: int, y: int, z: int) =
1355
+ Interop.svgAttribute "transform" (
1356
+ "scale3d(" + (unbox<string> x) + "," + (unbox<string> y) + "," + (unbox<string> z) + ")"
1357
+ )
1358
+
1359
+ /// Defines a scale transformation by giving a value for the X-axis.
1360
+ static member inline scaleX(x: int) =
1361
+ Interop.svgAttribute "transform" ("scaleX(" + (unbox<string> x) + ")")
1362
+
1363
+ /// Defines a scale transformation by giving a value for the Y-axis.
1364
+ static member inline scaleY(y: int) =
1365
+ Interop.svgAttribute "transform" ("scaleY(" + (unbox<string> y) + ")")
1366
+ /// Defines a 3D translation, using only the value for the Z-axis
1367
+ static member inline scaleZ(z: int) =
1368
+ Interop.svgAttribute "transform" ("scaleZ(" + (unbox<string> z) + ")")
1369
+ /// Defines a 2D rotation, the angle is specified in the parameter.
1370
+ static member inline rotate(deg: int) =
1371
+ Interop.svgAttribute "transform" ("rotate(" + (unbox<string> deg) + ")")
1372
+ /// Defines a 2D rotation, the angle is specified in the parameter.
1373
+ static member inline rotate(deg: float) =
1374
+ Interop.svgAttribute "transform" ("rotate(" + (unbox<string> deg) + ")")
1375
+ /// Defines a 3D rotation along the X-axis.
1376
+ static member inline rotateX(deg: float) =
1377
+ Interop.svgAttribute "transform" ("rotateX(" + (unbox<string> deg) + ")")
1378
+ /// Defines a 3D rotation along the X-axis.
1379
+ static member inline rotateX(deg: int) =
1380
+ Interop.svgAttribute "transform" ("rotateX(" + (unbox<string> deg) + ")")
1381
+ /// Defines a 3D rotation along the Y-axis
1382
+ static member inline rotateY(deg: float) =
1383
+ Interop.svgAttribute "transform" ("rotateY(" + (unbox<string> deg) + ")")
1384
+ /// Defines a 3D rotation along the Y-axis
1385
+ static member inline rotateY(deg: int) =
1386
+ Interop.svgAttribute "transform" ("rotateY(" + (unbox<string> deg) + ")")
1387
+ /// Defines a 3D rotation along the Z-axis
1388
+ static member inline rotateZ(deg: float) =
1389
+ Interop.svgAttribute "transform" ("rotateZ(" + (unbox<string> deg) + ")")
1390
+ /// Defines a 3D rotation along the Z-axis
1391
+ static member inline rotateZ(deg: int) =
1392
+ Interop.svgAttribute "transform" ("rotateZ(" + (unbox<string> deg) + ")")
1393
+ /// Defines a 2D skew transformation along the X- and the Y-axis.
1394
+ static member inline skew(xAngle: int, yAngle: int) =
1395
+ Interop.svgAttribute "transform" ("skew(" + (unbox<string> xAngle) + "," + (unbox<string> yAngle) + ")")
1396
+ /// Defines a 2D skew transformation along the X- and the Y-axis.
1397
+ static member inline skew(xAngle: float, yAngle: float) =
1398
+ Interop.svgAttribute "transform" ("skew(" + (unbox<string> xAngle) + "," + (unbox<string> yAngle) + ")")
1399
+ /// Defines a 2D skew transformation along the X-axis
1400
+ static member inline skewX(xAngle: int) =
1401
+ Interop.svgAttribute "transform" ("skewX(" + (unbox<string> xAngle) + ")")
1402
+ /// Defines a 2D skew transformation along the X-axis
1403
+ static member inline skewX(xAngle: float) =
1404
+ Interop.svgAttribute "transform" ("skewX(" + (unbox<string> xAngle) + ")")
1405
+ /// Defines a 2D skew transformation along the Y-axis
1406
+ static member inline skewY(xAngle: int) =
1407
+ Interop.svgAttribute "transform" ("skewY(" + (unbox<string> xAngle) + ")")
1408
+ /// Defines a 2D skew transformation along the Y-axis
1409
+ static member inline skewY(xAngle: float) =
1410
+ Interop.svgAttribute "transform" ("skewY(" + (unbox<string> xAngle) + ")")
1411
+ /// Defines a perspective view for a 3D transformed element
1412
+ static member inline perspective(n: int) =
1413
+ Interop.svgAttribute "transform" ("perspective(" + (unbox<string> n) + ")")
1414
+
1415
+ /// Indicates which color channel from in2 to use to displace the pixels in in along the x-axis.
1416
+ [<Erase>]
1417
+ type xChannelSelector =
1418
+ /// Specifies that the alpha channel of the input image defined in in2 will be used to displace
1419
+ /// the pixels of the input image defined in in along the x-axis.
1420
+ static member inline A = Interop.svgAttribute "xChannelSelector" "A"
1421
+ /// Specifies that the blue color channel of the input image defined in in2 will be used to
1422
+ /// displace the pixels of the input image defined in in along the x-axis.
1423
+ static member inline B = Interop.svgAttribute "xChannelSelector" "B"
1424
+ /// Specifies that the green color channel of the input image defined in in2 will be used to
1425
+ /// displace the pixels of the input image defined in in along the x-axis.
1426
+ static member inline G = Interop.svgAttribute "xChannelSelector" "G"
1427
+ /// Specifies that the red color channel of the input image defined in in2 will be used to
1428
+ /// displace the pixels of the input image defined in in along the x-axis.
1429
+ static member inline R = Interop.svgAttribute "xChannelSelector" "R"
1430
+
1431
+ /// Indicates which color channel from in2 to use to displace the pixels in in along the y-axis.
1432
+ [<Erase>]
1433
+ type yChannelSelector =
1434
+ /// Specifies that the alpha channel of the input image defined in in2 will be used to displace
1435
+ /// the pixels of the input image defined in in along the y-axis.
1436
+ static member inline A = Interop.svgAttribute "yChannelSelector" "A"
1437
+ /// Specifies that the blue color channel of the input image defined in in2 will be used to
1438
+ /// displace the pixels of the input image defined in in along the y-axis.
1439
+ static member inline B = Interop.svgAttribute "yChannelSelector" "B"
1440
+ /// Specifies that the green color channel of the input image defined in in2 will be used to
1441
+ /// displace the pixels of the input image defined in in along the y-axis.
1442
+ static member inline G = Interop.svgAttribute "yChannelSelector" "G"
1443
+ /// Specifies that the red color channel of the input image defined in in2 will be used to
1444
+ /// displace the pixels of the input image defined in in along the y-axis.
1445
+ static member inline R = Interop.svgAttribute "yChannelSelector" "R"
1446
+
1447
+ [<Erase>]
1448
+ type x =
1449
+ static member inline percentage(value: float) = Interop.svgAttribute "x" (unbox<string> value + "%")
1450
+ static member inline percentage(value: int) = Interop.svgAttribute "x" (unbox<string> value + "%")
1451
+
1452
+ [<Erase>]
1453
+ type y =
1454
+ static member inline percentage(value: float) = Interop.svgAttribute "y" (unbox<string> value + "%")
1455
+ static member inline percentage(value: int) = Interop.svgAttribute "y" (unbox<string> value + "%")