* fix:(module:datepicker): ArgumentOutOfRangeException in TimePicker
* fix the issue
* add: TimePicker unit tests
---------
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module:datepicker): RangePicker focus not cleared
* fix:(module:datepicker): Enter/Tab keys clear the value
* fix:(module:datepicker): remove invalid unit test
* fix:(module:datepicker): OnChange event in Docs project
add(module:datepicker): generic OnPanelChange event
add(module:datepicker): generic OnChange event
fix(module:datepicker): DateTimeKind is not preserved
add(module:datepicker): DateTimeOffset unit tests
add(module:datepicker): add DateTimeOffset to range picker unit tests
add(module:datepicker): refactor unit tests
fix(module:datepicker): DateTime.Kind is not preserved
feat(module: datepicker). Add DateTimeOffset, DateOnly, TimeOnly support
* fix(module:datepicker): unit test fails
* fix: moment helper test fails in VS Test Explorer in some cases
See https://xunit.net/faq/theory-data-stability-in-vs
* update the docs and demo
---------
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* Add support multiple date formats for DatePickerBase
* Fix test
* Extend docs
* Fix merge
* Revert "Add support multiple date formats for DatePickerBase"
This reverts commit 9021dcdd
* Refactoring. Add mask property for DatePickerBase. For input value constraint.
* Some fixes
* Refactoring
* Add value converter for MaskInput
* Some fix
* fix Chinese
* Refactoring
* Fix tests
* Fix tests
* clean up
* Fix tests
* Pass mask to RangePicker
* Fix AvatarTests
* Fix merge
* Stage
* Stabilized tests
---------
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* Escape format string
Some languages have reserved letters in their Week.
for example the german Week is Woche and the 'h'
will be replaced by the hour resulting int 'Woc12e'
or similar
* Use Current Culture for Week of year operations
---------
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat(module: datepicker): use custom suffix icon in RangePicker component
* fix whitespace in test file
* Update suffix-icon.md
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module: datepicker): wrong day order and fallback to use globalization libaray when there is no day locale
* fix date locale
* refactor the scroll method
* fix ShortestDayNames
* update the doc
* fix:(module: datepicker): tab key does not confirm the value
* fix:(module: datepicker): bad value when click on panel after key input
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* refactor:(module:datepicker): DatePickerBase should be abstract
* fix:(module:datepicker): date not highlighted in range picker after ok
* fix:(module:datepicker): OnChange event behavior is incorrect
* fix:(module:datepicker): wrong input panels when start/end same period
* fix:(module:datepicker): ending week is not highlighted correctly
* fix:(module:datepicker): cannot switch year/month in RangePicker header
* fix:(module:datepicker): RangePicker has incorrect start/end panels
* fix:(module:datepicker): RangePicker not reset when second value not set
* fix:(module:datepicker): RangePicker end panel not shown in RTL mode
* fix:(module:datepicker): range preset canceled when time input enabled
* fix:(module:datepicker): RangePicker cannot clear value when focused
* fix:(module:datepicker): RangePicker keeps focus when input canceled
* fix:(module:datepicker): wrong day headers when FirstDayOfWeek!=Sunday
* add:(module:datepicker): localization note
* fix the order of shortWeekDays in zh-CN
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix: (module: rangepicker): same quarter when end set first is disabled
* feat:(module:rangepicker): disable time input according to range values
* fix:(module:rangepicker): input allows to set later start or earlier end
* fix(module: datepicker): value not updated when changed programmatically
* fix(module: rangepicker): value not updated when set programmatically
* fix:(module: datepicker): placeholder attribute not applied to input
* fix:(module: rangepicker): end date placeholder is not cleared
* fix(module: datepicker): Ok button does not confirm selected time value
* fix(module: datepicker): value stays in the input after clear clicked
* fix(module: datepicker): suffix icon click does not open input panel
* fix(module: datepicker): manual input reverted on blur
* fix(module: datepicker): wrong behavior when Open is set to true
* feat(module: datetimepicker): scroll to selected time
* refactor(module: datepicker): move scroll to code behind
* fix(module: datetimepicker): no scroll to selected time on manual input
* fix(module: datetimepicker): 12-hour time is not parsed on manual input
* fix(module: datetimepicker): entered time ignored on manual input
* feat(module: datepicker): add animation to time picker
* Revert "fix(module: datetimepicker): entered time ignored on manual input"
This reverts commit 9211cf8e628173e59fbd3b110bb5fe84a2c77efa.
* refactor(module: datepicker): cleanup redundant code
* refactor(module: datepicker): reduce size of animation function
* fix(module: datepicker):duplicate calls to StateHasChanged on date hover
* feat(module: datepicker): add 12-hour time support
* fix(module: datepicker): revert 24-hour time format
* fix(module: datepicker): AM/PM not localized in the date input component
* fix(module: datepicker): AM/PM in the selection panel are not localized
* Update components/date-picker/internal/DatePickerDatetimePanel.razor
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module: datepicker). AM/PM switches toggling incorrectly
* fix(module: datepicker): 24-hour format in DatePicker when Use12Hours
* fix(module: datepicker): time format in docs
* refactor(module: datepicker): code cleanup
* feat(module: datepicker): add 12-hour format to en-US locale
* fix(module: form): remove `FormItem` from `Form` when it was disposed (#1901)
* pref(module: table): put fixed column style into js (#1897)
* pref(module: table): put fixed column style into js
* fix resize listener
* docs: Add building demo assets to the Readme (#1904)
* feat(module: table): add `CellData` for `CellRender` (#1907)
* docs: add dynamic table demo (#1908)
* feat(module: table): add dynamic data demo
* add scroll x
* fix(module: select): value no longer reset on datasource set (#1906)
* fix(module:select): value no longer reset on datasource set
* fix(module:select): dataSource change detection
* fix: improve datasource detection
add item & set value in SelectOption
* tests: scenario from issue #1207
* fix: DataSourceEqualityComparer default
* docs: Fixed typo (#1915)
* fix(module: input): Add stop propagation (#1917)
* docs(module: select): update coordinate demo (#1914)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module: textarea): add rows parameter (#1920)
doc: adjust to match antD
tests: sizing tests
* test(module: select): Add some unit tests for Select (#1891)
* Add Select clear tests
* Add Select DataSource to null test
* Change the implement of Throw tests
* Change int to int?
* fix(module: button): loading icon styles (#1902)
* Fix loading icon styles
* Fix button render test
* feat(module: InputNumber): Add inputmode for mobile keyboard (#1923)
* perf: avoid memory leak issue of event listener (#1857)
* perf: avoid memory leak #1834
Avoid memory leak by remove the exclusive parameter and logic in the code block on AddEventListener method in DomEventService class.
The following are the components affected:
components/affix/Affix.razor.cs
components/anchor/Anchor.razor.cs
components/carousel/Carousel.razor.cs
components/core/Component/Overlay/Overlay.razor.cs
components/core/Component/Overlay/OverlayTrigger.razor.cs
components/core/JsInterop/DomEventService.cs
components/descriptions/Descriptions.razor.cs
components/dropdown/DropdownButton.cs
components/grid/Row.razor.cs
components/input/Input.cs
components/input/TextArea.razor.cs
components/layout/Sider.razor.cs
components/list/ListItem.razor.cs
components/select/Select.razor.cs
components/select/internal/SelectContent.razor.cs
components/slider/Slider.razor.cs
components/table/Table.razor.cs
components/tabs/Tabs.razor.cs
* fix override AddEventListener method in AntDesign.TestKit project
* add register/remove event listerner for exclusive use in DomEventService class
* move _dotNetObjects to DomEventListerner class/service, so that users not required to maintain it in each component.
* * move share/reuse dom event listerner methods to DomEventListerner class
* remove method 'AddEventListener' that no longer exists in DomEventService class in AntDesign.TestKit project
* * change the component referring to an IDomEventListerner interface instead of a concrete class,
so that the component can be tested via a mock TestDomEventListerner.
* introduce DisposeShared and Dispose method in DomEventListerner to ease user remove callback from DomEventListerner
* register IDomEventListerner into DI container instead of create manually
* fix FormatKey
* fix FormatKey
* fix tests
* fix test
* fix test
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module: textarea): replace wrong event (#1927)
* tests(module: textarea): include js function mock to avoid bunit exceptions (#1930)
* perf(module: overlay): positioning moved to js (#1848)
* fix(module:overlay): move postion calculation to js
fixes#1836
* docs: TriggerBoundaryAdjustMode explanation
* docs: select & datepicker got BoundaryAdjustmetMode
cleanup
* test: fixes
optimization & cleanup
* fix(module:overlay): recalculate overlay position when trigger resizes
* Minor clean-up
* fix(module:overlay): wait for Show to finish in Hide
* fix: prevent vertical scrollbar on overlay adding
* fix: extract waiting function
* fix: overlay not to repostion when trigger vanishes (menu issue)
* fix: scroll adjustment for position: fixed
* fix: on menu mode change, keep
* merge conflict fix
* fix: nominal calculation reset on failed adjustment
* fix: bugs
* test: exclude log method from test coverage in overlay.ts
* fix(module: table): It would be load twice at first time if pagesize is not 10 (#1933)
* fix(module: menu): collapsed menu title can't hide while use router link (#1934)
* fix(module: select): fix data source of type IEnumerable<object> (#1932)
* fix(module:select): fix data source of type IEnumerable<object>
* Update Select.razor.cs
* Update Select.OnDataSourceChangeTests.razor
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat(module: InputNumber): Add OnFocus event (#1931)
* Add on textbox focus
* Adjust naming
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module: list): resposive style doesn't work (#1937)
* docs: Update index.zh-CN.md (#1936)
Update document ConfigProvider global configuration example code
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* change log 0.9.4 (#1938)
* chore: test cs project to include test runner adapter (#1939)
test: add general overlay disposal method mock
Co-authored-by: Alan.Liu <lxyruanjian@126.com>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
Co-authored-by: rabberbock <rabberbock@gmail.com>
Co-authored-by: Andrzej Bakun <anddrzejb@poczta.fm>
Co-authored-by: Chandan Rauniyar <chandankkrr@gmail.com>
Co-authored-by: Luke Parker [SSW] <10430890+Hona@users.noreply.github.com>
Co-authored-by: SmallY <45689960+iamSmallY@users.noreply.github.com>
Co-authored-by: Maksim <maksalmak@gmail.com>
Co-authored-by: Tony Yip <tonyyip1969@gmail.com>
Co-authored-by: SmRiley <45205313+SmRiley@users.noreply.github.com>