* fix:(module: slider): changed to lock to clicked edge
add new OnMouseDownEdge event handler to razor and base class to detect which edge was clicked
add new helper method IsMoveInEdgeBoundary and helper variables
add IsMoveInEdgeBoundary evaluation to OnMouseMove and OnMouseUp event handlers to detec if
value update needs to run
feature: added click-able edges to support forcing of left/right scenarios
* fix:(module:slider): Range property replaced with nullable backing field.
Evaluation of Range is happening in getter (only first time).
Removed evaluation of Range from OnInitialized().
* fix:(module:slider): Reset _leftValue & _rightValue when both change.
Fixes the prolem when both lef&right values are changing significantly compared to original values.
* fix:(module:slider): single edge slider was broken after previous commits
changed IsMoveInEdgeBoundary method to handle null event arguments
added OnMouseDownEdge event to single edged slider
* fix(module:slider): change Value evaluation to handle reversed order
value property is overridden to ensure the delivered tuple is in ascending order
fixes#867
* fix(module:slider): change evaluation of left and right values
fixes#865
* fix(module:slider) reverse parameter is refreshing styles on change
fixes #
* feat(module: table): add TitleTemplate for column title
* fix: action column templated title and add a demo
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* feat(module: form): make the form validator customizable
* docs: simplify form custom validators demo
* modify the demo
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* start trying to add a different first day of the week based on localization.
* add first day of week parameter and get weekday local from .net
* fix some issues
* extend demo
* remove no longed needed Locale parameter
* fix range for selection
* add german localization
* add entry for API section
* remove obsolet things from the react ant documentation
* add description to chart documentation
* translate general configuration to english.
* code cleanup
* use LocalProvider to get first day of week.
* use localeprovider instead of date picker localization
* remove no longer used parameter
* delete no longer used interface
* change from enum to string due to parsing issue.
* add missing formats and use culture info from localprovider
* correct locales
* us Sunday as a default
* remove no longer used culture info parameter
* adjust locales
* add parameter for Locale instead of directly accessing it.
* add inheritance to access locale
* typo
* readd culture info parameter
* fixes for locale jsons
* adjust demo and api
* small adjustments on docs, set monday in chinese as first day of the week.
* use locale in calendar as well.
* adjust docs
* use enum
* adjust demo
* adjust for different starting date.
* add defaults for DatePickerLocale
* add short week days to locale files
* use days from locale file
* code cleanup
use consts instead of magic numbers, add code comment and use dayOfWeek As param instead of the whole locale object. Remove no longed used method.
* not sure about the chinese translation so I remove them
* Revert "not sure about the chinese translation so I remove them"
This reverts commit 54017513c7b684494cf06184b4051a4dcfc43850.
* fix(module: modal): throw error when using ModalService (#807)
If ModalOptions.AfterClose is null, the exception will be thrown: delegate to an instance method cannot have null 'this'
* refactor: use automatic properties for ModalOptions
* Add OnRowClick to Table component
This adds a new Parameter to the Table component called OnRowClick that will trigger whenever a user clicks on any of the rows in the table.
* Updated Table row click to pass RowData
* refactor: clean code
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* Fix ribbon syle
Text color was same as background color.
* Ribbon documentation
Added two ribbon examples with color set (preset and custom)
* fix : badgeribbon html content
Html content must be the same as in the react version
* revert changes
We don't change less files. They are copied from react version.
* revert
* tests: fix badgeribbon unit tests
Modified expected html to match markup from react version.
* Update tests/badge/RibbonTests.cs
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix: the issue #762 switch loading icon has a little shift
* test: comment the table tests provisionally
Co-authored-by: ElderJames <shunjiey@hotmail.com>