Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
7e7e369
remove tests
BorisGerretzen Nov 26, 2023
4dc24b4
moved stuff around, switched demo app to wasm
BorisGerretzen Nov 26, 2023
ba84333
fixed styling issue, added nuke clean logging
BorisGerretzen Nov 26, 2023
8eec89e
Added github pages
BorisGerretzen Nov 26, 2023
54dc846
publish demo
BorisGerretzen Nov 26, 2023
5ec3bfa
issue with gh actions
BorisGerretzen Nov 26, 2023
721a35c
gitversion
BorisGerretzen Nov 26, 2023
baa3d4a
gitversion is broken now
BorisGerretzen Nov 26, 2023
fe7b503
GitVersion.yml
BorisGerretzen Nov 26, 2023
97d6001
GitVersion.yml
BorisGerretzen Nov 26, 2023
92296f5
source branches
BorisGerretzen Nov 26, 2023
0d04890
develop?
BorisGerretzen Nov 26, 2023
58087e2
fix token
BorisGerretzen Nov 26, 2023
2bd8eff
run deploy
BorisGerretzen Nov 26, 2023
6ffb309
fix token for real this time
BorisGerretzen Nov 26, 2023
145aba0
Git messes up line endings so deploy fails
BorisGerretzen Nov 27, 2023
94e39c2
added clean and build to publish demo
BorisGerretzen Nov 27, 2023
4c0b0c8
everything should work now
BorisGerretzen Nov 27, 2023
dc275b5
Added virtualize comparison to demo
BorisGerretzen Nov 27, 2023
9c79baa
Update publish flow
BorisGerretzen Nov 27, 2023
a469a38
Added demo url to readme
BorisGerretzen Nov 27, 2023
4865158
Added truncation to dropdown
BorisGerretzen Nov 27, 2023
647ef62
removed mistake in readme
BorisGerretzen Nov 27, 2023
9b90968
fix remove not workign
BorisGerretzen Nov 27, 2023
f924520
Added custom class and style attributes, added custom styling demo
BorisGerretzen Nov 27, 2023
9cd4ad3
Added page with multiple dropdowns
BorisGerretzen Nov 27, 2023
a8173a3
Moved net8.0 to front
BorisGerretzen Nov 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .github/workflows/publish_demo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# ------------------------------------------------------------------------------
# <auto-generated>
#
# This code was generated.
#
# - To turn off auto-generation set:
#
# [GitHubActions (AutoGenerate = false)]
#
# - To trigger manual generation invoke:
#
# nuke --generate-configuration GitHubActions_publish_demo --host GitHubActions
#
# </auto-generated>
# ------------------------------------------------------------------------------

name: publish_demo

on: [workflow_dispatch]

permissions:
contents: write
pages: write

jobs:
ubuntu-latest:
name: ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 10000
- name: 'Cache: .nuke/temp, ~/.nuget/packages'
uses: actions/cache@v3
with:
path: |
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }}
- name: 'Run: Clean, BuildDemo, DeployDemo'
run: ./build.cmd Clean BuildDemo DeployDemo
env:
TokenGithub: ${{ secrets.TOKEN_GITHUB }}
- name: 'Publish: demo.zip'
uses: actions/upload-artifact@v3
with:
name: demo.zip
path: artifacts/demo.zip
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ obj/
riderModule.iml
/_ReSharper.Caches/
artifacts/
.nuke/temp
.nuke/temp
temp/
13 changes: 13 additions & 0 deletions .nuke/build.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"build": {
"type": "object",
"properties": {
"BaseUrl": {
"type": "string",
"description": "Base url"
},
"Configuration": {
"type": "string",
"description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)",
Expand Down Expand Up @@ -85,8 +89,10 @@
"items": {
"type": "string",
"enum": [
"BuildDemo",
"Clean",
"Compile",
"DeployDemo",
"Pack",
"Push",
"Restore",
Expand All @@ -104,15 +110,22 @@
"items": {
"type": "string",
"enum": [
"BuildDemo",
"Clean",
"Compile",
"DeployDemo",
"Pack",
"Push",
"Restore",
"Test"
]
}
},
"TokenGithub": {
"type": "string",
"description": "Github token",
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
},
"Verbosity": {
"type": "string",
"description": "Logging verbosity during build execution. Default is 'Normal'",
Expand Down
8 changes: 7 additions & 1 deletion GitVersion.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
mode: Mainline
branches: {}
branches:
develop:
is-mainline: true
source-branches: [ ]
increment: Patch
tag: beta
regex: (origin/)?development$
ignore:
sha: []
merge-message-formats: {}
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ This package contains a simple blazor dropdown component that supports single an

2. Add the following to the `<head>` of your `App.razor` or `index.html` file:
```html
<link rel="stylesheet" href="/_content/SimpleBlazorMultiselect/bootstrap.min.css"/>
<script src="/_content/SimpleBlazorMultiselect/bootstrap.bundle.min.js"></script>
<link rel="stylesheet" href="_content/SimpleBlazorMultiselect/bootstrap.min.css"/>
<script src="_content/SimpleBlazorMultiselect/bootstrap.bundle.min.js"></script>
```

## Usage
See the project `SimpleBlazorMultiselectDemo` for more examples of how to use the component,
or take a look at the properties page on the [wiki](https://github.com/BorisGerretzen/SimpleBlazorMultiselect/wiki/Properties).
The demo project is hosted on [GitHub Pages](https://borisgerretzen.github.io/SimpleBlazorMultiselect/).

Below are some short examples, they all use the following `@code` block:
```csharp
Expand Down
22 changes: 11 additions & 11 deletions SimpleBlazorMultiselect.sln
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@

Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleBlazorMultiselect", "SimpleBlazorMultiselect\SimpleBlazorMultiselect.csproj", "{AEFF45E1-DA9E-427F-908F-2C142523BDAA}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "_build", "build\_build.csproj", "{49DA0B6E-92AE-41C0-8763-16D0303F2015}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleBlazorMultiselectDemo", "SimpleBlazorMultiselectDemo\SimpleBlazorMultiselectDemo.csproj", "{B04E859C-9794-41AC-BD91-4544276A5FC8}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleBlazorMultiselect", "src\SimpleBlazorMultiselect\SimpleBlazorMultiselect.csproj", "{1F3DCC28-1FD5-4F3C-B43D-564A44DBE398}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "_build", "build\_build.csproj", "{49DA0B6E-92AE-41C0-8763-16D0303F2015}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleBlazorMultiselect.Demo", "src\SimpleBlazorMultiselect.Demo\SimpleBlazorMultiselect.Demo.csproj", "{025632E8-CB51-4E49-B47C-B9C75D35A874}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -14,13 +14,13 @@ Global
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{49DA0B6E-92AE-41C0-8763-16D0303F2015}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{49DA0B6E-92AE-41C0-8763-16D0303F2015}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AEFF45E1-DA9E-427F-908F-2C142523BDAA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AEFF45E1-DA9E-427F-908F-2C142523BDAA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AEFF45E1-DA9E-427F-908F-2C142523BDAA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AEFF45E1-DA9E-427F-908F-2C142523BDAA}.Release|Any CPU.Build.0 = Release|Any CPU
{B04E859C-9794-41AC-BD91-4544276A5FC8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B04E859C-9794-41AC-BD91-4544276A5FC8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B04E859C-9794-41AC-BD91-4544276A5FC8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B04E859C-9794-41AC-BD91-4544276A5FC8}.Release|Any CPU.Build.0 = Release|Any CPU
{1F3DCC28-1FD5-4F3C-B43D-564A44DBE398}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1F3DCC28-1FD5-4F3C-B43D-564A44DBE398}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1F3DCC28-1FD5-4F3C-B43D-564A44DBE398}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1F3DCC28-1FD5-4F3C-B43D-564A44DBE398}.Release|Any CPU.Build.0 = Release|Any CPU
{025632E8-CB51-4E49-B47C-B9C75D35A874}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{025632E8-CB51-4E49-B47C-B9C75D35A874}.Debug|Any CPU.Build.0 = Debug|Any CPU
{025632E8-CB51-4E49-B47C-B9C75D35A874}.Release|Any CPU.ActiveCfg = Release|Any CPU
{025632E8-CB51-4E49-B47C-B9C75D35A874}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
22 changes: 0 additions & 22 deletions SimpleBlazorMultiselectDemo/Components/App.razor

This file was deleted.

38 changes: 0 additions & 38 deletions SimpleBlazorMultiselectDemo/Components/Pages/Error.razor

This file was deleted.

6 changes: 0 additions & 6 deletions SimpleBlazorMultiselectDemo/Components/Routes.razor

This file was deleted.

27 changes: 0 additions & 27 deletions SimpleBlazorMultiselectDemo/Program.cs

This file was deleted.

36 changes: 0 additions & 36 deletions SimpleBlazorMultiselectDemo/Properties/launchSettings.json

This file was deleted.

8 changes: 0 additions & 8 deletions SimpleBlazorMultiselectDemo/appsettings.Development.json

This file was deleted.

9 changes: 0 additions & 9 deletions SimpleBlazorMultiselectDemo/appsettings.json

This file was deleted.

Loading