@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.
- package/Designer.d.ts +89 -0
- package/FormSpec.TS/Components/HelloComponent.js +68 -0
- package/FormSpec.TS/Components/HelloComponent.js.map +1 -0
- package/FormSpec.TS/Components/HelloComponent.ts.map +1 -0
- package/FormSpec.TS/Designer.js +526 -0
- package/FormSpec.TS/Designer.js.map +1 -0
- package/FormSpec.TS/Designer.ts.map +1 -0
- package/FormSpec.TS/FormSpec.js +5400 -0
- package/FormSpec.TS/FormSpec.js.map +1 -0
- package/FormSpec.TS/FormSpec.ts.map +1 -0
- package/FormSpec.TS/FormSpecHelpers.js +382 -0
- package/FormSpec.TS/FormSpecHelpers.js.map +1 -0
- package/FormSpec.TS/FormSpecHelpers.ts.map +1 -0
- package/FormSpec.TS/Helpers.js +732 -0
- package/FormSpec.TS/Helpers.js.map +1 -0
- package/FormSpec.TS/Helpers.ts.map +1 -0
- package/FormSpec.TS/Interfaces.js +257 -0
- package/FormSpec.TS/Interfaces.js.map +1 -0
- package/FormSpec.TS/Interfaces.ts.map +1 -0
- package/FormSpec.TS/Interop/FormSpec.Api.Helpers.js +854 -0
- package/FormSpec.TS/Interop/FormSpec.Api.Helpers.js.map +1 -0
- package/FormSpec.TS/Interop/FormSpec.Api.Helpers.ts.map +1 -0
- package/FormSpec.TS/Interop/FormSpec.Api.Option.js +1961 -0
- package/FormSpec.TS/Interop/FormSpec.Api.Option.js.map +1 -0
- package/FormSpec.TS/Interop/FormSpec.Api.Option.ts.map +1 -0
- package/FormSpec.TS/Interop/FormSpec.Values.Api.Option.js +1367 -0
- package/FormSpec.TS/Interop/FormSpec.Values.Api.Option.js.map +1 -0
- package/FormSpec.TS/Interop/FormSpec.Values.Api.Option.ts.map +1 -0
- package/FormSpec.TS/Logging/LogTypes.js +347 -0
- package/FormSpec.TS/Logging/LogTypes.js.map +1 -0
- package/FormSpec.TS/Logging/LogTypes.ts.map +1 -0
- package/FormSpec.TS/Migrator.js +230 -0
- package/FormSpec.TS/Migrator.js.map +1 -0
- package/FormSpec.TS/Migrator.ts.map +1 -0
- package/FormSpec.TS/PathwayDataExtractor.js +361 -0
- package/FormSpec.TS/PathwayDataExtractor.js.map +1 -0
- package/FormSpec.TS/PathwayDataExtractor.ts.map +1 -0
- package/FormSpec.TS/PathwayExecutor.js +1321 -0
- package/FormSpec.TS/PathwayExecutor.js.map +1 -0
- package/FormSpec.TS/PathwayExecutor.ts.map +1 -0
- package/FormSpec.TS/PathwayValidator.js +346 -0
- package/FormSpec.TS/PathwayValidator.js.map +1 -0
- package/FormSpec.TS/PathwayValidator.ts.map +1 -0
- package/FormSpec.TS/PluginInterface.js +171 -0
- package/FormSpec.TS/PluginInterface.js.map +1 -0
- package/FormSpec.TS/PluginInterface.ts.map +1 -0
- package/FormSpec.TS/Prelude.js +59 -0
- package/FormSpec.TS/Prelude.js.map +1 -0
- package/FormSpec.TS/Prelude.ts.map +1 -0
- package/FormSpec.TS/Renderers/FormSpecMarkdownRenderer.js +958 -0
- package/FormSpec.TS/Renderers/FormSpecMarkdownRenderer.js.map +1 -0
- package/FormSpec.TS/Renderers/FormSpecMarkdownRenderer.ts.map +1 -0
- package/FormSpec.TS/Renderers/MermaidRenderer.js +228 -0
- package/FormSpec.TS/Renderers/MermaidRenderer.js.map +1 -0
- package/FormSpec.TS/Renderers/MermaidRenderer.ts.map +1 -0
- package/FormSpec.TS/Renderers/PathwayRenderers.js +190 -0
- package/FormSpec.TS/Renderers/PathwayRenderers.js.map +1 -0
- package/FormSpec.TS/Renderers/PathwayRenderers.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Base.fs +511 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Base.fs.js +437 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Base.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Base.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Error.fs +16 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Error.fs.js +73 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Error.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Error.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Extensions.fs +50 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Extensions.fs.js +72 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Extensions.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Extensions.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Fable.Form.fableproj +28 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Field.fs +24 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Field.fs.js +56 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Field.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Field.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Fable.Form.Simple.fableproj +31 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Form.fs +178 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Form.fs.js +464 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Form.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Form.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Extensions.fs +17 -0
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs +152 -0
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs.js +25 -0
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Types.fableproj +28 -0
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs +218 -0
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs.js +37 -0
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.Types.fableproj +27 -0
- package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs +82 -0
- package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs.js +7 -0
- package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/BorderStyle.fs +59 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Colors.fs +154 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Colors.fs.js +32 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Colors.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Colors.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Feliz.fableproj +42 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Fonts.fs +240 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/GridTypes.fs +24 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Html.fs +826 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Interop.fs +83 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Interop.fs.js +292 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Interop.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Interop.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Key.fs +65 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Key.fs.js +229 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Key.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Key.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Length.fs +91 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Locale.fs +876 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Properties.fs +4080 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Properties.fs.js +133 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Properties.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Properties.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/React.fs +656 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/React.fs.js +561 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/React.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/React.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactDOM.fs +25 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactDOM.fs.js +46 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactDOM.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactDOM.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactInterop.js +63 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactInterop.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactTypes.fs +41 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactTypes.fs.js +7 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactTypes.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactTypes.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/StyleTypes.fs +53 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/StyleTypes.fs.js +7 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/StyleTypes.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/StyleTypes.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Styles.fs +5740 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Svg.fs +1455 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Svg.fs.js +39 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Svg.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Svg.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/TextDecorationLine.fs +13 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/TextDecorationStyle.fs +33 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Transform.fs +181 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/TransformOrigin.fs +17 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/TransitionProperty.fs +162 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Types.fs +13 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Types.fs.js +7 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Types.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Types.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Decode.fs +1768 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Decode.fs.js +2337 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Decode.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Decode.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Encode.fs +811 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Encode.fs.js +465 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Encode.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Encode.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Extra.fs +47 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Extra.fs.js +18 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Extra.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Extra.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Thoth.Json.fableproj +34 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Types.fs +68 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Types.fs.js +355 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Types.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Types.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/project_cracked.json +1 -0
- package/FormSpec.d.ts +1257 -0
- package/FormSpecHelpers.d.ts +50 -0
- package/Helpers.d.ts +147 -0
- package/Interfaces.d.ts +70 -0
- package/Interop/FormSpec.Api.Helpers.d.ts +247 -0
- package/Interop/FormSpec.Api.Helpers.d.ts.map +1 -0
- package/Interop/FormSpec.Api.Option.d.ts +384 -0
- package/Interop/FormSpec.Api.Option.d.ts.map +1 -0
- package/Interop/FormSpec.Values.Api.Option.d.ts +324 -0
- package/Interop/FormSpec.Values.Api.Option.d.ts.map +1 -0
- package/Migrator.d.ts +59 -0
- package/PathwayDataExtractor.d.ts +19 -0
- package/PathwayExecutor.d.ts +210 -0
- package/PathwayValidator.d.ts +52 -0
- package/PluginInterface.d.ts +36 -0
- package/Prelude.d.ts +11 -0
- package/README.TS.md +622 -0
- package/README.md +85 -0
- package/package.json +39 -0
- package/src/Components/HelloComponent.ts +48 -0
- package/src/Components/HelloComponent.ts.map +1 -0
- package/src/Designer.ts +389 -0
- package/src/Designer.ts.map +1 -0
- package/src/FormSpec.ts +3114 -0
- package/src/FormSpec.ts.map +1 -0
- package/src/FormSpecHelpers.ts +374 -0
- package/src/FormSpecHelpers.ts.map +1 -0
- package/src/Helpers.ts +765 -0
- package/src/Helpers.ts.map +1 -0
- package/src/Interfaces.ts +166 -0
- package/src/Interfaces.ts.map +1 -0
- package/src/Interop/FormSpec.Api.Helpers.ts +872 -0
- package/src/Interop/FormSpec.Api.Helpers.ts.map +1 -0
- package/src/Interop/FormSpec.Api.Option.ts +1618 -0
- package/src/Interop/FormSpec.Api.Option.ts.map +1 -0
- package/src/Interop/FormSpec.Values.Api.Option.ts +1214 -0
- package/src/Interop/FormSpec.Values.Api.Option.ts.map +1 -0
- package/src/Logging/LogTypes.ts +212 -0
- package/src/Logging/LogTypes.ts.map +1 -0
- package/src/Migrator.ts +156 -0
- package/src/Migrator.ts.map +1 -0
- package/src/PathwayDataExtractor.ts +290 -0
- package/src/PathwayDataExtractor.ts.map +1 -0
- package/src/PathwayExecutor.ts +1102 -0
- package/src/PathwayExecutor.ts.map +1 -0
- package/src/PathwayValidator.ts +244 -0
- package/src/PathwayValidator.ts.map +1 -0
- package/src/PluginInterface.ts +79 -0
- package/src/PluginInterface.ts.map +1 -0
- package/src/Prelude.ts +21 -0
- package/src/Prelude.ts.map +1 -0
- package/src/Renderers/FormSpecMarkdownRenderer.ts +874 -0
- package/src/Renderers/FormSpecMarkdownRenderer.ts.map +1 -0
- package/src/Renderers/MermaidRenderer.ts +218 -0
- package/src/Renderers/MermaidRenderer.ts.map +1 -0
- package/src/Renderers/PathwayRenderers.ts +200 -0
- package/src/Renderers/PathwayRenderers.ts.map +1 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
get hsl () {
|
|
13
|
+
return hsl;
|
|
14
|
+
},
|
|
15
|
+
get rgb () {
|
|
16
|
+
return rgb;
|
|
17
|
+
},
|
|
18
|
+
get rgba () {
|
|
19
|
+
return rgba;
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
function hsl(hue, saturation, lightness) {
|
|
23
|
+
return "hsl(" + hue + "," + saturation + "%," + lightness + "%)";
|
|
24
|
+
}
|
|
25
|
+
function rgb(r, g, b) {
|
|
26
|
+
return "rgb(" + r + "," + g + "," + b + ")";
|
|
27
|
+
}
|
|
28
|
+
function rgba(r, g, b, a) {
|
|
29
|
+
return "rgba(" + r + "," + g + "," + b + "," + a + ")";
|
|
30
|
+
} //# sourceMappingURL=Colors.fs.ts.map
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=Colors.fs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../FormSpec.TS/fable_modules/Feliz.2.7.0/Colors.fs.ts"],"names":["hue","saturation","lightness","r","g","b","a"],"mappings":";;;;;;;;;;;;;;;;;;;;;;WAOQ,CAAA,CAAA,CAAA,CAAA,KAAwBA,MAAO,MAAqBC,aAAc,OAAsBC,YAAa;;;WAErG,CAAA,CAAA,CAAA,CAAA,KAAwBC,IAAK,MAAqBC,IAAK,MAAqBC,IAAK;;;WAEjF,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,IAAyBF,IAAK,MAAqBC,IAAK,MAAqBC,IAAK,MAAqBC,IAAK"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["./Colors.fs"],"names":["hue","saturation","lightness","r","g","b","a"],"mappings":";;;;;;;WAOQ,CAAA,CAAA,CAAA,CAAA,CAAA,SAAwBA,OAAO,OAAqBC,cAAc,QAAsBC,aAAa;;;;WAErG,CAAA,CAAA,CAAA,CAAA,CAAA,SAAwBC,KAAK,OAAqBC,KAAK,OAAqBC,KAAK;;;;WAEjF,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,UAAyBF,KAAK,OAAqBC,KAAK,OAAqBC,KAAK,OAAqBC,KAAK","file":null,"sourcesContent":null,"sourceRoot":null}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<Project Sdk="Microsoft.NET.Sdk">
|
|
3
|
+
<PropertyGroup>
|
|
4
|
+
<Description>A fresh retake of the React API in Fable, optimized for happiness</Description>
|
|
5
|
+
<PackageTags>fsharp;fable;react;html</PackageTags>
|
|
6
|
+
<Authors>Zaid Ajaj</Authors>
|
|
7
|
+
<Version>2.7.0</Version>
|
|
8
|
+
<TargetFramework>netstandard2.0</TargetFramework>
|
|
9
|
+
<PackageReleaseNotes>Implement overflow anchor</PackageReleaseNotes>
|
|
10
|
+
</PropertyGroup>
|
|
11
|
+
<ItemGroup>
|
|
12
|
+
<Content Include="*.fsproj; *.fs; *.js;" Exclude="**\*.fs.js" PackagePath="fable\" />
|
|
13
|
+
<Compile Include="Types.fs" />
|
|
14
|
+
<Compile Include="Key.fs" />
|
|
15
|
+
<Compile Include="StyleTypes.fs" />
|
|
16
|
+
<Compile Include="ReactTypes.fs" />
|
|
17
|
+
<Compile Include="Interop.fs" />
|
|
18
|
+
<Compile Include="Colors.fs" />
|
|
19
|
+
<Compile Include="Fonts.fs" />
|
|
20
|
+
<Compile Include="Transform.fs" />
|
|
21
|
+
<Compile Include="Length.fs" />
|
|
22
|
+
<Compile Include="Properties.fs" />
|
|
23
|
+
<Compile Include="BorderStyle.fs" />
|
|
24
|
+
<Compile Include="TextDecorationStyle.fs" />
|
|
25
|
+
<Compile Include="TextDecorationLine.fs" />
|
|
26
|
+
<Compile Include="TransitionProperty.fs" />
|
|
27
|
+
<Compile Include="TransformOrigin.fs" />
|
|
28
|
+
<Compile Include="GridTypes.fs" />
|
|
29
|
+
<Compile Include="Styles.fs" />
|
|
30
|
+
<Compile Include="Svg.fs" />
|
|
31
|
+
<Compile Include="Html.fs" />
|
|
32
|
+
<Compile Include="React.fs" />
|
|
33
|
+
<Compile Include="ReactDOM.fs" />
|
|
34
|
+
</ItemGroup>
|
|
35
|
+
<ItemGroup>
|
|
36
|
+
<ProjectReference Include="..\Feliz.CompilerPlugins\Feliz.CompilerPlugins.fsproj" />
|
|
37
|
+
</ItemGroup>
|
|
38
|
+
<ItemGroup>
|
|
39
|
+
<PackageReference Update="FSharp.Core" Version="4.7.2" />
|
|
40
|
+
<PackageReference Include="Fable.ReactDom.Types" Version="18.2.0" />
|
|
41
|
+
</ItemGroup>
|
|
42
|
+
</Project>
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
namespace Feliz
|
|
2
|
+
|
|
3
|
+
/// Contains a list of CSS Fonts from https://www.tutorialbrain.com/css_tutorial/css_font_family_list/
|
|
4
|
+
module font =
|
|
5
|
+
let [<Literal>] abadiMTCondensedLight = "Abadi MT Condensed Light"
|
|
6
|
+
let [<Literal>] aharoni = "Aharoni"
|
|
7
|
+
let [<Literal>] aharoniBold = "Aharoni Bold"
|
|
8
|
+
let [<Literal>] aldhabi = "Aldhabi"
|
|
9
|
+
let [<Literal>] alternateGothic2BT = "AlternateGothic2 BT"
|
|
10
|
+
let [<Literal>] andaleMono = "Andale Mono"
|
|
11
|
+
let [<Literal>] andalus = "Andalus"
|
|
12
|
+
let [<Literal>] angsanaNew = "Angsana New"
|
|
13
|
+
let [<Literal>] angsanaUPC = "AngsanaUPC"
|
|
14
|
+
let [<Literal>] aparajita = "Aparajita"
|
|
15
|
+
let [<Literal>] appleChancery = "Apple Chancery"
|
|
16
|
+
let [<Literal>] arabicTypesetting = "Arabic Typesetting"
|
|
17
|
+
let [<Literal>] arial = "Arial"
|
|
18
|
+
let [<Literal>] arialBlack = "Arial Black"
|
|
19
|
+
let [<Literal>] arialNarrow = "Arial narrow"
|
|
20
|
+
let [<Literal>] arialNova = "Arial Nova"
|
|
21
|
+
let [<Literal>] arialRoundedMTBold = "Arial Rounded MT Bold"
|
|
22
|
+
let [<Literal>] arnoldboecklin = "Arnoldboecklin"
|
|
23
|
+
let [<Literal>] avantaGarde = "Avanta Garde"
|
|
24
|
+
let [<Literal>] bahnschrift = "Bahnschrift"
|
|
25
|
+
let [<Literal>] bahnschriftLight = "Bahnschrift Light"
|
|
26
|
+
let [<Literal>] bahnschriftSemiBold = "Bahnschrift SemiBold"
|
|
27
|
+
let [<Literal>] bahnschriftSemiLight = "Bahnschrift SemiLight"
|
|
28
|
+
let [<Literal>] baskerville = "Baskerville"
|
|
29
|
+
let [<Literal>] batang = "Batang"
|
|
30
|
+
let [<Literal>] batangChe = "BatangChe"
|
|
31
|
+
let [<Literal>] bigCaslon = "Big Caslon"
|
|
32
|
+
let [<Literal>] bizUDGothic = "BIZ UDGothic"
|
|
33
|
+
let [<Literal>] bizUDMinchoMedium = "BIZ UDMincho Medium"
|
|
34
|
+
let [<Literal>] blippo = "Blippo"
|
|
35
|
+
let [<Literal>] bodoniMT = "Bodoni MT"
|
|
36
|
+
let [<Literal>] bookAntiqua = "Book Antiqua"
|
|
37
|
+
let [<Literal>] Bookman = "Bookman"
|
|
38
|
+
let [<Literal>] bradlyHand = "Bradley Hand"
|
|
39
|
+
let [<Literal>] browalliaNew = "Browallia New"
|
|
40
|
+
let [<Literal>] browalliaUPC = "BrowalliaUPC"
|
|
41
|
+
let [<Literal>] brushScriptMT = "Brush Script MT"
|
|
42
|
+
let [<Literal>] brushScriptStd = "Brush Script Std"
|
|
43
|
+
let [<Literal>] brushStroke = "Brushstroke"
|
|
44
|
+
let [<Literal>] calibri = "Calibri"
|
|
45
|
+
let [<Literal>] calibriLight = "Calibri Light"
|
|
46
|
+
let [<Literal>] calistoMT = "Calisto MT"
|
|
47
|
+
let [<Literal>] cambodian = "Cambodian"
|
|
48
|
+
let [<Literal>] cambria = "Cambria"
|
|
49
|
+
let [<Literal>] cambriaMath = "Cambria Math"
|
|
50
|
+
let [<Literal>] candara = "Candara"
|
|
51
|
+
let [<Literal>] centuryGothic = "Century Gothic"
|
|
52
|
+
let [<Literal>] chalkDuster = "Chalkduster"
|
|
53
|
+
let [<Literal>] cherokee = "Cherokee"
|
|
54
|
+
let [<Literal>] comicSans = "Comic Sans"
|
|
55
|
+
let [<Literal>] comicSansMS = "Comic Sans MS"
|
|
56
|
+
let [<Literal>] consolas = "Consolas"
|
|
57
|
+
let [<Literal>] constantia = "Constantia"
|
|
58
|
+
let [<Literal>] copperPlate = "Copperplate"
|
|
59
|
+
let [<Literal>] copperPlateGothicLight = "Copperplate Gothic Light"
|
|
60
|
+
let [<Literal>] copperPlateGothicBold = "Copperplate Gothic Bold"
|
|
61
|
+
let [<Literal>] corbel = "Corbel"
|
|
62
|
+
let [<Literal>] cordiaNew = "Cordia New"
|
|
63
|
+
let [<Literal>] cordiaUPC = "CordiaUPC"
|
|
64
|
+
let [<Literal>] coronetScript = "Coronet script"
|
|
65
|
+
let [<Literal>] courier = "Courier"
|
|
66
|
+
let [<Literal>] courierNew = "Courier New"
|
|
67
|
+
let [<Literal>] daunPenh = "DaunPenh"
|
|
68
|
+
let [<Literal>] david = "David"
|
|
69
|
+
let [<Literal>] dengXian = "DengXian"
|
|
70
|
+
let [<Literal>] dfKaiSB = "DFKai-SB"
|
|
71
|
+
let [<Literal>] didot = "Didot"
|
|
72
|
+
let [<Literal>] dilleniaUPC = "DilleniaUPC"
|
|
73
|
+
let [<Literal>] dokChampa = "DokChampa"
|
|
74
|
+
let [<Literal>] dotum = "Dotum"
|
|
75
|
+
let [<Literal>] dotumChe = "DotumChe"
|
|
76
|
+
let [<Literal>] ebrima = "Ebrima"
|
|
77
|
+
let [<Literal>] estrangeloEdessa = "Estrangelo Edessa"
|
|
78
|
+
let [<Literal>] eucrosiaUPC = "EucrosiaUPC"
|
|
79
|
+
let [<Literal>] euphemia = "Euphemia"
|
|
80
|
+
let [<Literal>] fangSong = "FangSong"
|
|
81
|
+
let [<Literal>] florence = "Florence"
|
|
82
|
+
let [<Literal>] franklinGothicMedium = "Franklin Gothic Medium"
|
|
83
|
+
let [<Literal>] frankRuehl = "FrankRuehl"
|
|
84
|
+
let [<Literal>] fressiaUPC = "FressiaUPC"
|
|
85
|
+
let [<Literal>] futara = "Futara"
|
|
86
|
+
let [<Literal>] gabriola = "Gabriola"
|
|
87
|
+
let [<Literal>] garamond = "Garamond"
|
|
88
|
+
let [<Literal>] gautami = "Gautami"
|
|
89
|
+
let [<Literal>] geneva = "Geneva"
|
|
90
|
+
let [<Literal>] georgia = "Georgia"
|
|
91
|
+
let [<Literal>] georgiaPro = "Georgia Pro"
|
|
92
|
+
let [<Literal>] gillSans = "Gill Sans"
|
|
93
|
+
let [<Literal>] gillSansNova = "Gill Sans Nova"
|
|
94
|
+
let [<Literal>] gisha = "Gisha"
|
|
95
|
+
let [<Literal>] goudyOldStyle = "Goudy Old Style"
|
|
96
|
+
let [<Literal>] gulim = "Gulim"
|
|
97
|
+
let [<Literal>] gulimChe = "GulimChe"
|
|
98
|
+
let [<Literal>] gungsuh = "Gungsuh"
|
|
99
|
+
let [<Literal>] gungsuhChe = "GungsuhChe"
|
|
100
|
+
let [<Literal>] hebrew = "Hebrew"
|
|
101
|
+
let [<Literal>] helvetica = "Helvetica"
|
|
102
|
+
let [<Literal>] hoeflerText = "Hoefler Text"
|
|
103
|
+
let [<Literal>] holoLensMDL2Assets = "HoloLens MDL2 Assets"
|
|
104
|
+
let [<Literal>] impact = "Impact"
|
|
105
|
+
let [<Literal>] inkFree = "Ink Free"
|
|
106
|
+
let [<Literal>] irisUPC = "IrisUPC"
|
|
107
|
+
let [<Literal>] iskoolaPota = "Iskoola Pota"
|
|
108
|
+
let [<Literal>] japanese = "Japanese"
|
|
109
|
+
let [<Literal>] jasmineUPC = "JasmineUPC"
|
|
110
|
+
let [<Literal>] javaneseText = "Javanese Text"
|
|
111
|
+
let [<Literal>] jazzLET = "Jazz LET"
|
|
112
|
+
let [<Literal>] kaiTi = "KaiTi"
|
|
113
|
+
let [<Literal>] kalinga = "Kalinga"
|
|
114
|
+
let [<Literal>] kartika = "Kartika"
|
|
115
|
+
let [<Literal>] khmerUI = "Khmer UI"
|
|
116
|
+
let [<Literal>] kodchiangUPC = "KodchiangUPC"
|
|
117
|
+
let [<Literal>] kokila = "Kokila"
|
|
118
|
+
let [<Literal>] korean = "Korean"
|
|
119
|
+
let [<Literal>] lao = "Lao"
|
|
120
|
+
let [<Literal>] laoUI = "Lao UI"
|
|
121
|
+
let [<Literal>] latha = "Latha"
|
|
122
|
+
let [<Literal>] leelawadee = "Leelawadee"
|
|
123
|
+
let [<Literal>] leelawadeeUI = "Leelawadee UI"
|
|
124
|
+
let [<Literal>] leelawadeeUISemilight = "Leelawadee UI Semilight"
|
|
125
|
+
let [<Literal>] levenimMT = "Levenim MT"
|
|
126
|
+
let [<Literal>] lilyUPC = "LilyUPC"
|
|
127
|
+
let [<Literal>] lucidaBright = "Lucida Bright"
|
|
128
|
+
let [<Literal>] lucidaConsole = "Lucida Console"
|
|
129
|
+
let [<Literal>] lucidaHandwriting = "Lucida Handwriting"
|
|
130
|
+
let [<Literal>] lucidaSans = "Lucida Sans"
|
|
131
|
+
let [<Literal>] lucidaSansTypewriter = "Lucida Sans Typewriter"
|
|
132
|
+
let [<Literal>] lucidaSansUnicode = "Lucida Sans Unicode"
|
|
133
|
+
let [<Literal>] lucidaTypewriter = "Lucidatypewriter"
|
|
134
|
+
let [<Literal>] luminari = "Luminari"
|
|
135
|
+
let [<Literal>] malgunGothic = "Malgun Gothic"
|
|
136
|
+
let [<Literal>] malgunGothicSemilight = "Malgun Gothic Semilight"
|
|
137
|
+
let [<Literal>] mangal = "Mangal"
|
|
138
|
+
let [<Literal>] markerFelt = "Marker Felt"
|
|
139
|
+
let [<Literal>] marlett = "Marlett"
|
|
140
|
+
let [<Literal>] meiryo = "Meiryo"
|
|
141
|
+
let [<Literal>] meiryoUI = "Meiryo UI"
|
|
142
|
+
let [<Literal>] microsoftHimalaya = "Microsoft Himalaya"
|
|
143
|
+
let [<Literal>] microsoftJhengHei = "Microsoft JhengHei"
|
|
144
|
+
let [<Literal>] microsoftJhengHeiUI = "Microsoft JhengHei UI"
|
|
145
|
+
let [<Literal>] microsoftNewTaiLue = "Microsoft New Tai Lue"
|
|
146
|
+
let [<Literal>] microsoftPhagsPa = "Microsoft PhagsPa"
|
|
147
|
+
let [<Literal>] microsoftSansSerif = "Microsoft Sans Serif"
|
|
148
|
+
let [<Literal>] microsoftTaiLe = "Microsoft Tai Le"
|
|
149
|
+
let [<Literal>] microsoftUighur = "Microsoft Uighur"
|
|
150
|
+
let [<Literal>] microsoftYaHei = "Microsoft YaHei"
|
|
151
|
+
let [<Literal>] microsoftYaHeiUI = "Microsoft YaHei UI"
|
|
152
|
+
let [<Literal>] microsoftYiBaiti = "Microsoft Yi Baiti"
|
|
153
|
+
let [<Literal>] mingLiU = "MingLiU"
|
|
154
|
+
let [<Literal>] mingLiUHKSCS = "MingLiU_HKSCS"
|
|
155
|
+
let [<Literal>] mingLiUHKSCSExtB = "MingLiU_HKSCS-ExtB"
|
|
156
|
+
let [<Literal>] mingLiUExtB = "MingLiU-ExtB"
|
|
157
|
+
let [<Literal>] miriam = "Miriam"
|
|
158
|
+
let [<Literal>] monaco = "Monaco"
|
|
159
|
+
let [<Literal>] mongolianBaiti = "Mongolian Baiti"
|
|
160
|
+
let [<Literal>] moolBoran = "MoolBoran"
|
|
161
|
+
let [<Literal>] msGothic = "MS Gothic"
|
|
162
|
+
let [<Literal>] msMincho = "MS Mincho"
|
|
163
|
+
let [<Literal>] msPGothic = "MS PGothic"
|
|
164
|
+
let [<Literal>] msPMincho = "MS PMincho"
|
|
165
|
+
let [<Literal>] msUIGothic = "MS UI Gothic"
|
|
166
|
+
let [<Literal>] mvBoli = "MV Boli"
|
|
167
|
+
let [<Literal>] myanmarText = "Myanmar Text"
|
|
168
|
+
let [<Literal>] narkisim = "Narkisim"
|
|
169
|
+
let [<Literal>] neueHaasGroteskTextPro = "Neue Haas Grotesk Text Pro"
|
|
170
|
+
let [<Literal>] newCenturySchoolbook = "New Century Schoolbook"
|
|
171
|
+
let [<Literal>] newsGothicMT = "News Gothic MT"
|
|
172
|
+
let [<Literal>] nirmalaUI = "Nirmala UI"
|
|
173
|
+
let [<Literal>] noAutoLanguageAssoc = "No automatic language associations"
|
|
174
|
+
let [<Literal>] noto = "Noto"
|
|
175
|
+
let [<Literal>] nSimSun = "NSimSun"
|
|
176
|
+
let [<Literal>] nyala = "Nyala"
|
|
177
|
+
let [<Literal>] oldTown = "Oldtown"
|
|
178
|
+
let [<Literal>] optima = "Optima"
|
|
179
|
+
let [<Literal>] palatino = "Palatino"
|
|
180
|
+
let [<Literal>] palatinoLinotype = "Palatino Linotype"
|
|
181
|
+
let [<Literal>] papyrus = "papyrus"
|
|
182
|
+
let [<Literal>] parkAvenue = "Parkavenue"
|
|
183
|
+
let [<Literal>] perpetua = "Perpetua"
|
|
184
|
+
let [<Literal>] plantagenetCherokee = "Plantagenet Cherokee"
|
|
185
|
+
let [<Literal>] PMingLiU = "PMingLiU"
|
|
186
|
+
let [<Literal>] raavi = "Raavi"
|
|
187
|
+
let [<Literal>] rockwell = "Rockwell"
|
|
188
|
+
let [<Literal>] rockwellExtraBold = "Rockwell Extra Bold"
|
|
189
|
+
let [<Literal>] rockwellNova = "Rockwell Nova"
|
|
190
|
+
let [<Literal>] rockwellNovaCond = "Rockwell Nova Cond"
|
|
191
|
+
let [<Literal>] rockwellNovaExtraBold = "Rockwell Nova Extra Bold"
|
|
192
|
+
let [<Literal>] rod = "Rod"
|
|
193
|
+
let [<Literal>] sakkalMajalla = "Sakkal Majalla"
|
|
194
|
+
let [<Literal>] sanskritText = "Sanskrit Text"
|
|
195
|
+
let [<Literal>] segoeMDL2Assets = "segoeMDL2Assets"
|
|
196
|
+
let [<Literal>] segoePrint = "Segoe Print"
|
|
197
|
+
let [<Literal>] segoeScript = "Segoe Script"
|
|
198
|
+
let [<Literal>] segoeUI = "Segoe UI"
|
|
199
|
+
let [<Literal>] segoeUIEmoji = "Segoe UI Emoji"
|
|
200
|
+
let [<Literal>] segoeUIHistoric = "Segoe UI Historic"
|
|
201
|
+
let [<Literal>] segoeUISymbol = "Segoe UI Symbol"
|
|
202
|
+
let [<Literal>] shonarBangla = "Shonar Bangla"
|
|
203
|
+
let [<Literal>] shruti = "Shruti"
|
|
204
|
+
let [<Literal>] simHei = "SimHei"
|
|
205
|
+
let [<Literal>] simKai = "SimKai"
|
|
206
|
+
let [<Literal>] simplifiedArabic = "Simplified Arabic"
|
|
207
|
+
let [<Literal>] simplifiedChinese = "Simplified Chinese"
|
|
208
|
+
let [<Literal>] simSun = "SimSun"
|
|
209
|
+
let [<Literal>] simSunExtB = "SimSun-ExtB"
|
|
210
|
+
let [<Literal>] sitka = "Sitka"
|
|
211
|
+
let [<Literal>] snellRoundhan = "Snell Roundhan"
|
|
212
|
+
let [<Literal>] stencilStd = "Stencil Std"
|
|
213
|
+
let [<Literal>] sylfaen = "Sylfaen"
|
|
214
|
+
let [<Literal>] symbol = "Symbol"
|
|
215
|
+
let [<Literal>] tahoma = "Tahoma"
|
|
216
|
+
let [<Literal>] thai = "Thai"
|
|
217
|
+
let [<Literal>] timesNewRoman = "Times New Roman"
|
|
218
|
+
let [<Literal>] traditionalArabic = "Traditional Arabic"
|
|
219
|
+
let [<Literal>] traditionalChinese = "Traditional Chinese"
|
|
220
|
+
let [<Literal>] trattatello = "Trattatello"
|
|
221
|
+
let [<Literal>] trebuchetMS = "Trebuchet MS"
|
|
222
|
+
let [<Literal>] udDigiKyokasho = "UD Digi Kyokasho"
|
|
223
|
+
let [<Literal>] udDigiKyokashoNKR = "UD Digi Kyokasho NK-R"
|
|
224
|
+
let [<Literal>] udDigiKyokashoNPR = "UD Digi Kyokasho NP-R"
|
|
225
|
+
let [<Literal>] udDigiKyokashoNR = "UD Digi Kyokasho N-R"
|
|
226
|
+
let [<Literal>] urduTypesetting = "Urdu Typesetting"
|
|
227
|
+
let [<Literal>] urwChancery = "URW Chancery"
|
|
228
|
+
let [<Literal>] utsaah = "Utsaah"
|
|
229
|
+
let [<Literal>] vani = "Vani"
|
|
230
|
+
let [<Literal>] verdana = "Verdana"
|
|
231
|
+
let [<Literal>] verdanaPro = "Verdana Pro"
|
|
232
|
+
let [<Literal>] vijaya = "Vijaya"
|
|
233
|
+
let [<Literal>] vrinda = "Vrinda"
|
|
234
|
+
let [<Literal>] Webdings = "Webdings"
|
|
235
|
+
let [<Literal>] westminster = "Westminster"
|
|
236
|
+
let [<Literal>] wingdings = "Wingdings"
|
|
237
|
+
let [<Literal>] yuGothic = "Yu Gothic"
|
|
238
|
+
let [<Literal>] yuGothicUI = "Yu Gothic UI"
|
|
239
|
+
let [<Literal>] yuMincho = "Yu Mincho"
|
|
240
|
+
let [<Literal>] zapfChancery = "Zapf Chancery"
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
namespace Feliz.Styles
|
|
2
|
+
|
|
3
|
+
open Fable.Core
|
|
4
|
+
|
|
5
|
+
[<Erase>]
|
|
6
|
+
type gridColumn =
|
|
7
|
+
static member inline span(value: string) : IGridSpan = unbox("span " + value)
|
|
8
|
+
static member inline span(value: string, count: int) : IGridSpan = unbox("span " + value + " " + (unbox<string> count))
|
|
9
|
+
static member inline span(value: int) : IGridSpan = unbox("span " + (unbox<string> value))
|
|
10
|
+
|
|
11
|
+
[<Erase>]
|
|
12
|
+
type gridRow =
|
|
13
|
+
static member inline span(value: string) : IGridSpan = unbox("span " + value)
|
|
14
|
+
static member inline span(value: string, count: int) : IGridSpan = unbox("span " + value + " " + (unbox<string> count))
|
|
15
|
+
static member inline span(value: int) : IGridSpan = unbox("span " + (unbox<string> value))
|
|
16
|
+
|
|
17
|
+
[<Erase>]
|
|
18
|
+
type grid =
|
|
19
|
+
static member inline namedLine(value: string) : IGridTemplateItem = unbox ("[" + value + "]")
|
|
20
|
+
static member inline namedLines(value: string[]) : IGridTemplateItem = unbox ("[" + (String.concat " " value) + "]")
|
|
21
|
+
static member inline namedLines(value: string list) : IGridTemplateItem = unbox ("[" + (String.concat " " value) + "]")
|
|
22
|
+
static member inline templateWidth(value: ICssUnit) : IGridTemplateItem = unbox value
|
|
23
|
+
static member inline templateWidth(value: int) : IGridTemplateItem = unbox ((unbox<string>value) + "px")
|
|
24
|
+
static member inline templateWidth(value: float) : IGridTemplateItem = unbox ((unbox<string>value) + "px")
|