diff --git a/.paket/Paket.Restore.targets b/.paket/Paket.Restore.targets
index c451c7d2..71a8322b 100644
--- a/.paket/Paket.Restore.targets
+++ b/.paket/Paket.Restore.targets
@@ -43,13 +43,13 @@
true
- $(NoWarn);NU1603
+ $(NoWarn);NU1603;NU1604;NU1605;NU1608
- /usr/bin/shasum $(PaketRestoreCacheFile) | /usr/bin/awk '{ print $1 }'
- /usr/bin/shasum $(PaketLockFilePath) | /usr/bin/awk '{ print $1 }'
+ /usr/bin/shasum "$(PaketRestoreCacheFile)" | /usr/bin/awk '{ print $1 }'
+ /usr/bin/shasum "$(PaketLockFilePath)" | /usr/bin/awk '{ print $1 }'
@@ -60,6 +60,9 @@
+
+
+
$([System.IO.File]::ReadAllText('$(PaketRestoreCacheFile)'))
@@ -69,11 +72,19 @@
true
+
+
+
+
+
+
+
+
$(MSBuildProjectDirectory)\obj\$(MSBuildProjectFile).paket.references.cached
@@ -82,7 +93,9 @@
$(MSBuildProjectDirectory)\$(MSBuildProjectName).paket.references
$(MSBuildProjectDirectory)\paket.references
- $(MSBuildProjectDirectory)\obj\$(MSBuildProjectFile).$(TargetFramework).paket.resolved
+
+ false
+ true
true
references-file-or-cache-not-found
@@ -101,24 +114,29 @@
-
+
true
- target-framework '$(TargetFramework)'
+ target-framework '$(TargetFramework)' or '$(TargetFrameworks)' files @(PaketResolvedFilePaths)
-
+
+
-
+
+ false
+ true
+
+
-
+
-
+
$([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[0])
$([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[1])
@@ -126,8 +144,9 @@
%(PaketReferencesFileLinesInfo.PackageVersion)
- All
+ All
runtime
+ true
diff --git a/src/Fable.React/Fable.Helpers.React.fs b/src/Fable.React/Fable.Helpers.React.fs
index 703a9d53..80c8c934 100644
--- a/src/Fable.React/Fable.Helpers.React.fs
+++ b/src/Fable.React/Fable.Helpers.React.fs
@@ -158,12 +158,8 @@ module rec Props =
| Y1 of obj
| Y2 of obj
| Y of obj
-#if !FABLE_COMPILER
- | Custom of string * obj
-#else
/// If you are searching for a way to provide a value not supported by this DSL then use something like: CSSProp.Custom ("align-content", "center")
- static member inline Custom (key: string, value: obj) : SVGAttr = !!(key, value)
-#endif
+ | [] Custom of string * obj
interface IProp
type HTMLAttr =
@@ -312,12 +308,10 @@ module rec Props =
| Results of float
| Security of string
| Unselectable of bool
+ | [] Custom of string * obj
#if !FABLE_COMPILER
- | Custom of string * obj
| Style of CSSProp list
| Data of string * obj
-#else
- static member inline Custom (key: string, value: obj) : HTMLAttr = !!(key, value)
#endif
interface IHTMLProp
@@ -727,12 +721,8 @@ module rec Props =
| WritingMode of obj
| ZIndex of obj
| Zoom of obj
-#if !FABLE_COMPILER
- | Custom of string * obj
-#else
/// If you are searching for a way to provide a value not supported by this DSL then use something like: CSSProp.Custom ("align-content", "center")
- static member inline Custom (key: string, value: obj) : CSSProp = !!(key, value)
-#endif
+ | [] Custom of string * obj
#if FABLE_COMPILER
let inline Style (css: CSSProp list): HTMLAttr =
diff --git a/src/Fable.React/Fable.React.fsproj b/src/Fable.React/Fable.React.fsproj
index 80b48171..17328188 100644
--- a/src/Fable.React/Fable.React.fsproj
+++ b/src/Fable.React/Fable.React.fsproj
@@ -1,7 +1,7 @@
- 3.1.2
+ 3.1.3
netstandard1.6;netstandard2.0
true
diff --git a/src/Fable.React/RELEASE_NOTES.md b/src/Fable.React/RELEASE_NOTES.md
index 0bc75069..d76f7945 100644
--- a/src/Fable.React/RELEASE_NOTES.md
+++ b/src/Fable.React/RELEASE_NOTES.md
@@ -1,3 +1,7 @@
+### 3.1.3
+
+* Make `Custom` another DU case instead of static member (see #89)
+
### 3.1.2
* Include documentation in the package