HBS.ColorPickerFormComponent.Kentico.MVC
12.29.5
Form component that allows you to select or paste a color using pickr.
Install-Package HBS.ColorPickerFormComponent.Kentico.MVC -Version 12.29.5
dotnet add package HBS.ColorPickerFormComponent.Kentico.MVC --version 12.29.5
<PackageReference Include="HBS.ColorPickerFormComponent.Kentico.MVC" Version="12.29.5" />
paket add HBS.ColorPickerFormComponent.Kentico.MVC --version 12.29.5
#r "nuget: HBS.ColorPickerFormComponent.Kentico.MVC, 12.29.5"
ColorPickerFormComponent
This FormComponent will allow you to add the color picker from https://github.com/Simonwep/pickr to your widget and section properties for easy color selection.
Instructions
Example use
[EditingComponent(ColorPickerComponent.IDENTIFIER, Order = 29, Label = "{$HBS.Section.StylizedBoostrap.SectionBackground$}", Tooltip = "{$HBS.Section.StylizedBoostrap.SectionBackgroundTooltip$}")]
[EditingComponentProperty(nameof(ColorPickerComponentProperties.DefaultValue), "#FFFFFF")]
[EditingComponentProperty(nameof(ColorPickerComponentProperties.Placeholder), "rgba(---,---,---,0-1)")]
public string SectionBackground { get; set; }
ColorPickerFormComponent
This FormComponent will allow you to add the color picker from https://github.com/Simonwep/pickr to your widget and section properties for easy color selection.
Instructions
Example use
[EditingComponent(ColorPickerComponent.IDENTIFIER, Order = 29, Label = "{$HBS.Section.StylizedBoostrap.SectionBackground$}", Tooltip = "{$HBS.Section.StylizedBoostrap.SectionBackgroundTooltip$}")]
[EditingComponentProperty(nameof(ColorPickerComponentProperties.DefaultValue), "#FFFFFF")]
[EditingComponentProperty(nameof(ColorPickerComponentProperties.Placeholder), "rgba(---,---,---,0-1)")]
public string SectionBackground { get; set; }
Release Notes
12.29.5
removed the .min suffix that was stopping the css files from being inluded on the nuget package.
12.29.3
Added the important clause to the z-index to overwrite the vendor z-index.
12.29.2
Fixed issue with the javascript function not being correctly formed.
12.29.1
Initial publish
Dependencies
-
- Antlr (>= 3.5.0.2)
- Kentico.AspNet.Mvc (>= 12.0.29)
- Microsoft.CSharp (>= 4.4.1)
- Microsoft.Owin.Security (>= 3.1.0)
- Microsoft.Owin.Security.Cookies (>= 3.1.0)
- Microsoft.Owin.Security.OAuth (>= 3.1.0)
- Microsoft.Web.Xdt (>= 2.1.1)
- Newtonsoft.Json (>= 11.0.2)
- WebGrease (>= 1.6.0)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.