diff --git a/.azure/workflows/azure-ci-development.yml b/.azure/workflows/azure-ci-development.yml
new file mode 100644
index 0000000..cd9821c
--- /dev/null
+++ b/.azure/workflows/azure-ci-development.yml
@@ -0,0 +1,50 @@
+# ASP.NET Core
+
+# Build and test ASP.NET Core projects targeting .NET Core.
+# Add steps that run tests, create a NuGet package, deploy, and more:
+# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
+
+trigger:
+- develop
+- release/*
+
+pr:
+- master
+- develop
+
+pool:
+ vmImage: 'ubuntu-latest'
+
+variables:
+ buildConfiguration: 'Debug'
+
+steps:
+
+# Install .NET Core SDK
+- task: DotNetCoreInstaller@1
+ inputs:
+ version: '2.2.x'
+- task: DotNetCoreInstaller@1
+ inputs:
+ version: '3.0.x'
+
+# SonarCloud Prepare Analysis
+- task: SonarCloudPrepare@1
+ inputs:
+ SonarCloud: 'SonarCloud Daniel127'
+ organization: 'daniel127'
+ scannerMode: 'MSBuild'
+ projectKey: 'semanticui-razor-components'
+ projectName: 'Semantic UI Razor Components'
+
+# Build solution
+- task: DotNetCoreCLI@2
+ inputs:
+ command: 'build'
+ arguments: '--configuration $(buildConfiguration)'
+
+# SonarCloud analyze and publish results
+- task: SonarCloudAnalyze@1
+- task: SonarCloudPublish@1
+ inputs:
+ pollingTimeoutSec: '300'
\ No newline at end of file
diff --git a/.azure/workflows/azure-ci-release.yml b/.azure/workflows/azure-ci-release.yml
index 25203d8..5d93338 100644
--- a/.azure/workflows/azure-ci-release.yml
+++ b/.azure/workflows/azure-ci-release.yml
@@ -6,12 +6,6 @@
trigger:
- master
-- develop
-- release/*
-
-pr:
-- master
-- develop
pool:
vmImage: 'ubuntu-latest'
@@ -21,13 +15,18 @@ variables:
steps:
+- task: Bash@3
+ inputs:
+ filePath: '.azure/workflows/configure-variables-release.sh'
+ failOnStderr: true
+
# Install .NET Core SDK
- task: DotNetCoreInstaller@1
inputs:
- version: '2.2.402'
+ version: '2.2.x'
- task: DotNetCoreInstaller@1
inputs:
- version: '3.0.100-rc1-014190'
+ version: '3.0.x'
# SonarCloud Prepare Analysis
- task: SonarCloudPrepare@1
@@ -48,4 +47,18 @@ steps:
- task: SonarCloudAnalyze@1
- task: SonarCloudPublish@1
inputs:
- pollingTimeoutSec: '300'
\ No newline at end of file
+ pollingTimeoutSec: '300'
+
+- task: DotNetCoreCLI@2
+ inputs:
+ command: 'pack'
+ packagesToPack: '**/QD.Components.Semantic.csproj'
+ configuration: '$(buildConfiguration)'
+ packDirectory: '$(Pipeline.Workspace)/nuget'
+ nobuild: true
+ versioningScheme: 'off'
+
+- task: PublishPipelineArtifact@1
+ inputs:
+ targetPath: '$(Pipeline.Workspace)/nuget'
+ artifact: 'Package'
\ No newline at end of file
diff --git a/.azure/workflows/configure-variables-release.sh b/.azure/workflows/configure-variables-release.sh
new file mode 100644
index 0000000..d0a2bdc
--- /dev/null
+++ b/.azure/workflows/configure-variables-release.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+function check_version() {
+ if [[ $1 =~ ^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(-((0|[1-9][0-9]*|[0-9]*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9][0-9]*|[0-9]*[a-zA-Z-][0-9a-zA-Z-]*))*))?(\+([0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*))?$ ]]; then
+ echo "$1"
+ else
+ echo ""
+ fi
+}
+
+echo "Configuring package version"
+
+commitId=$BUILD_SOURCEVERSION
+
+gitTagVersion="$(git describe --exact-match $commitId --abbrev=0 --tags --first-parent)"
+appVersion=${gitTagVersion:1}
+echo "Git version: $gitTagVersion"
+echo "App version: $appVersion"
+
+if [[ ! $(check_version ${appVersion}) ]]; then
+ exit 1;
+fi
+
+echo "##vso[task.setvariable variable=packageVersion]$appVersion"
+echo "Finished"
\ No newline at end of file
diff --git a/.github/workflows/ci-release.yml.backup b/.github/workflows/ci-release.yml
similarity index 71%
rename from .github/workflows/ci-release.yml.backup
rename to .github/workflows/ci-release.yml
index fd759eb..f51bac4 100644
--- a/.github/workflows/ci-release.yml.backup
+++ b/.github/workflows/ci-release.yml
@@ -12,6 +12,6 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
- dotnet-version: 3.0.100-rc1-014190
+ dotnet-version: 3.0.100
- name: Build with dotnet
- run: dotnet build --configuration Release
+ run: dotnet build --configuration Debug
diff --git a/QD.Components.Semantic.Demo/QD.Components.Semantic.Demo.csproj b/QD.Components.Semantic.Demo/QD.Components.Semantic.Demo.csproj
index 890cde4..769949e 100644
--- a/QD.Components.Semantic.Demo/QD.Components.Semantic.Demo.csproj
+++ b/QD.Components.Semantic.Demo/QD.Components.Semantic.Demo.csproj
@@ -8,10 +8,10 @@
-
-
-
-
+
+
+
+
diff --git a/QD.Components.Semantic/QD.Components.Semantic.csproj b/QD.Components.Semantic/QD.Components.Semantic.csproj
index 12e7970..ebb0151 100644
--- a/QD.Components.Semantic/QD.Components.Semantic.csproj
+++ b/QD.Components.Semantic/QD.Components.Semantic.csproj
@@ -3,20 +3,30 @@
netstandard2.0
3.0
-
-
-
- \QD.Components.Semantic.xml
+ LICENSE.md
+ https://github.com/Daniel127/SemanticUI-Razor-Components
+ https://github.com/Daniel127/SemanticUI-Razor-Components
+ git
+ Components;Component;Blazor;Razor;Semantic;UI
+ Daniel QuiƱones
- \QD.Components.Semantic.xml
+ .\QD.Components.Semantic.xml
-
-
+
+
+
+
+
+
+
+ True
+
+
diff --git a/QD.Components.Semantic/QD.Components.Semantic.xml b/QD.Components.Semantic/QD.Components.Semantic.xml
index b71bbb2..7c2866b 100644
--- a/QD.Components.Semantic/QD.Components.Semantic.xml
+++ b/QD.Components.Semantic/QD.Components.Semantic.xml
@@ -4,6 +4,11 @@
QD.Components.Semantic
+
+
+ Component base for semantic components
+
+
An element type to render as.
@@ -39,11 +44,71 @@
All component attributes
+
+
+ Constructor
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Configure the semantic component to be rendered
+
+
+
+
+ A Button indicates a possible user action.
+
+
- Primary Button
+ A button can be formatted to show different levels of emphasis.
+
+
+
+
+ A button can be formatted to show different levels of emphasis.
+
+
+
+
+ A button can animate to show hidden content.
+
+
+ Called after user's click.
+
+
+
+
+
+
+
+ Used in some Button types, such as `animated`.
+
+
+
+
+ Initially visible, hidden on hover.
+
+
+
+
+ Initially hidden, visible on hover.
+
+
+
+
+
A container limits content to a maximum width.
@@ -59,6 +124,27 @@
Reduce maximum width to more naturally accommodate text.
+
+
+ Align container text.
+
+
+
+
+
+
+
+ A flag is is used to represent a political state.
+
+
+
+
+ Flag name, can use the two digit country code, the full name, or a common alias.
+
+
+
+
+
An icon is a glyph used to represent something else.
@@ -155,8730 +241,8950 @@
+
+
+ Button animation
+
+
+
+
+ None
+
+
+
+
+ Animation horizontal
+
+
+
+
+ Animation vertical
+
+
+
+
+ Animation fade
+
+
Semantic color
+
+
+ None
+
+
+
+
+ Red color
+
+
+
+
+ Orange color
+
+
+
+
+ Yellow color
+
+
+
+
+ Olive color
+
+
+
+
+ Green color
+
+
+
+
+ Teal color
+
+
+
+
+ Blue color
+
+
+
+
+ Violet color
+
+
+
+
+ Purple color
+
+
+
+
+ Pink color
+
+
+
+
+ Brown color
+
+
+
+
+ Grey color
+
+
+
+
+ Black color
+
+
Text align
-
+
+
+ None
+
+
+
+
+ Text align left
+
+
+
+
+ Text align right
+
+
+
+
+ Text align center
+
+
+
+
+ Text align justified
+
+
+
Semantic flag
-
+
Semantic value: ad
-
+
Semantic value: andorra
-
+
Semantic value: ae
-
+
Semantic value: united arab emirates
-
+
Semantic value: uae
-
+
Semantic value: af
-
+
Semantic value: afghanistan
-
+
Semantic value: ag
-
+
Semantic value: antigua
-
+
Semantic value: ai
-
+
Semantic value: anguilla
-
+
Semantic value: al
-
+
Semantic value: albania
-
+
Semantic value: am
-
+
Semantic value: armenia
-
+
Semantic value: an
-
+
Semantic value: netherlands antilles
-
+
Semantic value: ao
-
+
Semantic value: angola
-
+
Semantic value: ar
-
+
Semantic value: argentina
-
+
Semantic value: as
-
+
Semantic value: american samoa
-
+
Semantic value: at
-
+
Semantic value: austria
-
+
Semantic value: au
-
+
Semantic value: australia
-
+
Semantic value: aw
-
+
Semantic value: aruba
-
+
Semantic value: ax
-
+
Semantic value: aland islands
-
+
Semantic value: az
-
+
Semantic value: azerbaijan
-
+
Semantic value: ba
-
+
Semantic value: bosnia
-
+
Semantic value: bb
-
+
Semantic value: barbados
-
+
Semantic value: bd
-
+
Semantic value: bangladesh
-
+
Semantic value: be
-
+
Semantic value: belgium
-
+
Semantic value: bf
-
+
Semantic value: burkina faso
-
+
Semantic value: bg
-
+
Semantic value: bulgaria
-
+
Semantic value: bh
-
+
Semantic value: bahrain
-
+
Semantic value: bi
-
+
Semantic value: burundi
-
+
Semantic value: bj
-
+
Semantic value: benin
-
+
Semantic value: bm
-
+
Semantic value: bermuda
-
+
Semantic value: bn
-
+
Semantic value: brunei
-
+
Semantic value: bo
-
+
Semantic value: bolivia
-
+
Semantic value: br
-
+
Semantic value: brazil
-
+
Semantic value: bs
-
+
Semantic value: bahamas
-
+
Semantic value: bt
-
+
Semantic value: bhutan
-
+
Semantic value: bv
-
+
Semantic value: bouvet island
-
+
Semantic value: bw
-
+
Semantic value: botswana
-
+
Semantic value: by
-
+
Semantic value: belarus
-
+
Semantic value: bz
-
+
Semantic value: belize
-
+
Semantic value: ca
-
+
Semantic value: canada
-
+
Semantic value: cc
-
+
Semantic value: cocos islands
-
+
Semantic value: cd
-
+
Semantic value: congo
-
+
Semantic value: cf
-
+
Semantic value: central african republic
-
+
Semantic value: cg
-
+
Semantic value: congo brazzaville
-
+
Semantic value: ch
-
+
Semantic value: switzerland
-
+
Semantic value: ci
-
+
Semantic value: cote divoire
-
+
Semantic value: ck
-
+
Semantic value: cook islands
-
+
Semantic value: cl
-
+
Semantic value: chile
-
+
Semantic value: cm
-
+
Semantic value: cameroon
-
+
Semantic value: cn
-
+
Semantic value: china
-
+
Semantic value: co
-
+
Semantic value: colombia
-
+
Semantic value: cr
-
+
Semantic value: costa rica
-
+
Semantic value: cs
-
+
Semantic value: cu
-
+
Semantic value: cuba
-
+
Semantic value: cv
-
+
Semantic value: cape verde
-
+
Semantic value: cx
-
+
Semantic value: christmas island
-
+
Semantic value: cy
-
+
Semantic value: cyprus
-
+
Semantic value: cz
-
+
Semantic value: czech republic
-
+
Semantic value: de
-
+
Semantic value: germany
-
+
Semantic value: dj
-
+
Semantic value: djibouti
-
+
Semantic value: dk
-
+
Semantic value: denmark
-
+
Semantic value: dm
-
+
Semantic value: dominica
-
+
Semantic value: do
-
+
Semantic value: dominican republic
-
+
Semantic value: dz
-
+
Semantic value: algeria
-
+
Semantic value: ec
-
+
Semantic value: ecuador
-
+
Semantic value: ee
-
+
Semantic value: estonia
-
+
Semantic value: eg
-
+
Semantic value: egypt
-
+
Semantic value: eh
-
+
Semantic value: western sahara
-
+
Semantic value: er
-
+
Semantic value: eritrea
-
+
Semantic value: es
-
+
Semantic value: spain
-
+
Semantic value: et
-
+
Semantic value: ethiopia
-
+
Semantic value: eu
-
+
Semantic value: european union
-
+
Semantic value: fi
-
+
Semantic value: finland
-
+
Semantic value: fj
-
+
Semantic value: fiji
-
+
Semantic value: fk
-
+
Semantic value: falkland islands
-
+
Semantic value: fm
-
+
Semantic value: micronesia
-
+
Semantic value: fo
-
+
Semantic value: faroe islands
-
+
Semantic value: fr
-
+
Semantic value: france
-
+
Semantic value: ga
-
+
Semantic value: gabon
-
+
Semantic value: gb
-
+
Semantic value: uk
-
+
Semantic value: united kingdom
-
+
Semantic value: gd
-
+
Semantic value: grenada
-
+
Semantic value: ge
-
+
Semantic value: georgia
-
+
Semantic value: gf
-
+
Semantic value: french guiana
-
+
Semantic value: gh
-
+
Semantic value: ghana
-
+
Semantic value: gi
-
+
Semantic value: gibraltar
-
+
Semantic value: gl
-
+
Semantic value: greenland
-
+
Semantic value: gm
-
+
Semantic value: gambia
-
+
Semantic value: gn
-
+
Semantic value: guinea
-
+
Semantic value: gp
-
+
Semantic value: guadeloupe
-
+
Semantic value: gq
-
+
Semantic value: equatorial guinea
-
+
Semantic value: gr
-
+
Semantic value: greece
-
+
Semantic value: gs
-
+
Semantic value: sandwich islands
-
+
Semantic value: gt
-
+
Semantic value: guatemala
-
+
Semantic value: gu
-
+
Semantic value: guam
-
+
Semantic value: gw
-
+
Semantic value: guinea-bissau
-
+
Semantic value: gy
-
+
Semantic value: guyana
-
+
Semantic value: hk
-
+
Semantic value: hong kong
-
+
Semantic value: hm
-
+
Semantic value: heard island
-
+
Semantic value: hn
-
+
Semantic value: honduras
-
+
Semantic value: hr
-
+
Semantic value: croatia
-
+
Semantic value: ht
-
+
Semantic value: haiti
-
+
Semantic value: hu
-
+
Semantic value: hungary
-
+
Semantic value: id
-
+
Semantic value: indonesia
-
+
Semantic value: ie
-
+
Semantic value: ireland
-
+
Semantic value: il
-
+
Semantic value: israel
-
+
Semantic value: in
-
+
Semantic value: india
-
+
Semantic value: io
-
+
Semantic value: indian ocean territory
-
+
Semantic value: iq
-
+
Semantic value: iraq
-
+
Semantic value: ir
-
+
Semantic value: iran
-
+
Semantic value: is
-
+
Semantic value: iceland
-
+
Semantic value: it
-
+
Semantic value: italy
-
+
Semantic value: jm
-
+
Semantic value: jamaica
-
+
Semantic value: jo
-
+
Semantic value: jordan
-
+
Semantic value: jp
-
+
Semantic value: japan
-
+
Semantic value: ke
-
+
Semantic value: kenya
-
+
Semantic value: kg
-
+
Semantic value: kyrgyzstan
-
+
Semantic value: kh
-
+
Semantic value: cambodia
-
+
Semantic value: ki
-
+
Semantic value: kiribati
-
+
Semantic value: km
-
+
Semantic value: comoros
-
+
Semantic value: kn
-
+
Semantic value: saint kitts and nevis
-
+
Semantic value: kp
-
+
Semantic value: north korea
-
+
Semantic value: kr
-
+
Semantic value: south korea
-
+
Semantic value: kw
-
+
Semantic value: kuwait
-
+
Semantic value: ky
-
+
Semantic value: cayman islands
-
+
Semantic value: kz
-
+
Semantic value: kazakhstan
-
+
Semantic value: la
-
+
Semantic value: laos
-
+
Semantic value: lb
-
+
Semantic value: lebanon
-
+