diff --git a/Connected.Components.Showcase/App.razor b/Connected.Components.Showcase/App.razor
deleted file mode 100644
index 6fd3ed1..0000000
--- a/Connected.Components.Showcase/App.razor
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
- Not found
-
-
Sorry, there's nothing at this address.
-
-
-
diff --git a/Connected.Components.Showcase/Connected.Components.Showcase.csproj b/Connected.Components.Showcase/Connected.Components.Showcase.csproj
index c532f42..e9e6072 100644
--- a/Connected.Components.Showcase/Connected.Components.Showcase.csproj
+++ b/Connected.Components.Showcase/Connected.Components.Showcase.csproj
@@ -1,4 +1,4 @@
-
+net7.0
@@ -7,8 +7,8 @@
-
-
+
+
diff --git a/Connected.Components.Showcase/Program.cs b/Connected.Components.Showcase/Program.cs
deleted file mode 100644
index cdb3f8d..0000000
--- a/Connected.Components.Showcase/Program.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Connected.Components.Showcase;
-using Microsoft.AspNetCore.Components.Web;
-using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
-
-var builder = WebAssemblyHostBuilder.CreateDefault(args);
-builder.RootComponents.Add("#app");
-builder.RootComponents.Add("head::after");
-
-builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
-
-await builder.Build().RunAsync();
diff --git a/Connected.Components/Components/UIComponent.cs b/Connected.Components/Components/UIComponent.cs
index fd5edf5..0653737 100644
--- a/Connected.Components/Components/UIComponent.cs
+++ b/Connected.Components/Components/UIComponent.cs
@@ -4,33 +4,33 @@ namespace Connected.Components;
public abstract class UIComponent : ComponentBase
{
- ///
- /// User class names, separated by space.
- ///
- [Parameter]
- public string Class { get; set; }
+ ///
+ /// User class names, separated by space.
+ ///
+ [Parameter]
+ public string Class { get; set; }
- ///
- /// User styles, applied on top of the component's own classes and styles.
- ///
- [Parameter]
- public string Style { get; set; }
+ ///
+ /// User styles, applied on top of the component's own classes and styles.
+ ///
+ [Parameter]
+ public string Style { get; set; }
- ///
- /// Use Tag to attach any user data object to the component for your convenience.
- ///
- [Parameter]
- public object Tag { get; set; }
+ ///
+ /// Use Tag to attach any user data object to the component for your convenience.
+ ///
+ [Parameter]
+ public object Tag { get; set; }
- ///
- /// UserAttributes carries all attributes you add to the component that don't match any of its parameters.
- /// They will be splatted onto the underlying HTML tag.
- ///
- [Parameter(CaptureUnmatchedValues = true)]
- public Dictionary UserAttributes { get; set; } = new();
+ ///
+ /// UserAttributes carries all attributes you add to the component that don't match any of its parameters.
+ /// They will be splatted onto the underlying HTML tag.
+ ///
+ [Parameter(CaptureUnmatchedValues = true)]
+ public Dictionary UserAttributes { get; set; } = new();
- ///
- /// If the UserAttributes contain an ID make it accessible for WCAG labelling of input fields
- ///
- public string FieldId => UserAttributes.TryGetValue("id", out var id) ? id.ToString() : $"input-{Guid.NewGuid()}";
+ ///
+ /// If the UserAttributes contain an ID make it accessible for WCAG labelling of input fields
+ ///
+ public string FieldId => UserAttributes.TryGetValue("id", out var id) ? id.ToString() : $"input-{Guid.NewGuid()}";
}
diff --git a/Connected.Components/Layouts/DefaultLayout.razor b/Connected.Components/Layouts/DefaultLayout.razor
deleted file mode 100644
index 2fce8ce..0000000
--- a/Connected.Components/Layouts/DefaultLayout.razor
+++ /dev/null
@@ -1,9 +0,0 @@
-@inherits LayoutComponentBase
-
-
-
-
-
-
-
-@Body
\ No newline at end of file
diff --git a/Connected.Components/Middleware/ComponentMiddlewareService.cs b/Connected.Components/Middleware/ComponentMiddlewareService.cs
deleted file mode 100644
index 902d30a..0000000
--- a/Connected.Components/Middleware/ComponentMiddlewareService.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-using System.Collections.Concurrent;
-
-namespace Connected.Middleware;
-
-internal class ComponentMiddlewareService : IComponentMiddlewareService
-{
- public ComponentMiddlewareService()
- {
- Middleware = new();
- }
-
- private ConcurrentDictionary> Middleware { get; }
-
- public void Add()
- {
- var componentName = typeof(TComponent).FullName;
-
- if (string.IsNullOrEmpty(componentName))
- throw new ArgumentException(null, nameof(TMiddleware));
-
- if (Middleware.TryGetValue(componentName, out List? items))
- {
- //TODO: sort by priority so multiple inheritance would work
- items.Add(typeof(TMiddleware));
- }
- else
- Middleware.TryAdd(componentName, new List { typeof(TMiddleware) });
- }
-
- public Type? Select()
- {
- var typeName = typeof(TComponent).FullName;
-
- if (string.IsNullOrEmpty(typeName))
- throw new ArgumentException(null, nameof(TComponent));
-
- if (Middleware.TryGetValue(typeName, out List? items) && items is not null && items.Any())
- return items[0];
-
- return null;
- }
-}
diff --git a/Connected.Components/Middleware/IComponentMiddlewareService.cs b/Connected.Components/Middleware/IComponentMiddlewareService.cs
deleted file mode 100644
index 4b347b3..0000000
--- a/Connected.Components/Middleware/IComponentMiddlewareService.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-namespace Connected.Middleware;
-
-public interface IComponentMiddlewareService
-{
- void Add();
-
- Type? Select();
-}