Commit Graph

24 Commits

Author SHA1 Message Date
Zonciu Liang
ea412b24ec feat(core): access object's property by path-based string (#1056)
* fix: DataIndex access maybe null object

* feat: access object's property by path-based string

* doc: update Table DataIndex demo

* doc: correct Table/demo/custom-row-style.md file encoding

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-01-31 01:25:25 +08:00
Andrzej Bakun
152a574577 feat(module: overlay): OverlayTrigger not bound to a div (#937)
* feat(module:overlay): OverlayTrigger not bound to a div

* feat(module:overlay): OverlayTrigger not bound to a div

* feat(module:overlay): Logic transfer to single Overlay

* feat(module:overlay): remove obsolete duplication

* feat(module:Tooltip): Add for unbounded oncontextmenu event handler

* feat(module:tooltip): unbound js event listeners remove

* docs(module:tooltip): unbound explanation

* fix(module:button): attach Ref to top level html element @ref

* feat(module:dropdown&tooltip&popconfirm&popover): Overlay not bound to a div

* docs(module:dropdown&tooltip&popconfirm&popover): unbound explanation

* feat(module:OverlayTrigger): common logic relocation

* feat(module:overlaytrigger): Overlay not bound to a div

* feat(module:DatePicker): Overlay not bound to a div

* feat(module:select): Overlay not boud to div

* fix(module:select): onclickarrow event relocation

* fix(module:select): rename Show to OnArrowClick

* feat(module:avatar): Overlay not bound to a div

* docs(module:avatar): demo switch to unbound version

* feat(module:autocomplete): partial OverlayTrigger not bound to a div

* feat(module:slider): tooltip

* docs(module:slider): tooltip

* fix(module:overlay): add SetVisible method

* feat: set Ref where missing, performance

components register Ref when missing
IsFixed flag for CascadeValue changed
hard-code sequence numbers when using RenderTreeBuilder
Rate component use Tooltip Unbound version
Tabs test fix

* fix: revert changes (accidental)

* feat(module:upload): tooltip with unbound usage

* feat(module:table): column use of unbound tooltip

* feat(module:autocomplete):overlay unbound from div

* fix(module:upload): missing div restore

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-01-21 17:20:10 +08:00
Andrzej Bakun
c03e4c4c1b chore: bUnit update to 1.0.0-preview-01 (#1009) 2021-01-20 20:02:35 +08:00
Andrzej Bakun
2a05064c25 fix(module:date-picker): OneOf to TValue, default value for picker, optimizations (#933)
* fix(module:DatePicker): input OnClick has new event handler

* fix(module:DateTime): remove misleading reliance on picker index

* fix(module: DatePicker & RangePicker): DefaultValue type change

DefaultValue type change to align with Value type

* fix(module:rangepicker): add default values helper with tests

* fix(module:datepicker): ChangePickerValue action declaration fix

Picker value is served based on input index (start/end)

* fix(module:DatePicker): optimization

ViewStartDate, MaxRow & MaxCol do not cause refresh if not changed

* fix(module:DatePicker): min date fix

ArgumentOutOfRangeException fix for dates before DateTime.MinValue

* fix(module:RangePicker): sorted values

Values get ordered on set

* fix(module:DatePicker): OneOf switch to TValue

* fix(module:DatePicker): code optimization and PickerValue fix

PickerValue fix gets first panel value and evaluates second panel value

* fix(module:DatePicker): default values evaluation

* fix(module:RangePicker): default picker value fix

* docs(module:DatePicker): switch to TValue for DefaultValue

* fix(module:RangePicker): other value picker fix

* fix(module:RangePicker): on value init include DefaultValue

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-01-10 13:19:07 +08:00
James Yeung
a7c8835087 refactor(module: tabs): separate the TabPane component (#839)
* refactor(module: tabs): separate the TabPane component

* test: fix button to div
2020-11-30 10:53:41 +08:00
Diego Frata
cd7ff7d9f8 fix(module: tabs): stops tabs buttons from flickering when icons are present (#822) 2020-11-24 18:47:52 +08:00
abdelkrim boutkhil
6b0e9cb153 fix(module: badge): preset color of ribbon (#791)
* 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>
2020-11-17 16:38:32 +08:00
Huei Feng
e672e4f363 chore: add .NET 5 target framework to all projects (#758)
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-11-14 23:44:48 +08:00
Henry.zhang
d3f3d795dd fix(module: switch): loading icon has a little shift (#766)
* fix:  the issue #762 switch loading icon has a little shift

* test: comment the table tests provisionally

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-11-12 15:39:58 +08:00
James Yeung
fcd8393742 feat(module: table): support for tree data (#771)
* feat(module: table): support for tree data

* feat(module: table): support for tree data

* fix: tests
2020-11-09 22:17:27 +08:00
James Yeung
c71501109a fix(module: table): header col mistake (#689) 2020-11-03 13:31:22 +08:00
Dylan R. E. Moonfire
d5b1d53241 test(module: grid): added rendering tests for properties of columns (#747)
- This is to complete #343.

Co-authored-by: Moonfire <Dylan.Moonfire@ryan.com>
2020-10-31 10:43:20 +08:00
Vladislav Richter
059491d749 refactor: replace IdGeneratorHelper with DI service that can be replaced by user (#664)
* Replaced IdGeneratorHelper with DI service that can be replaced by user

* removed license comments and unnecessary usings

* check Id null before assigning autogenerated id

* fix: unit test

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-10-10 15:31:32 +08:00
bingbingtalk
0930f79da8 feat(module: table): add colspan & rowspan (#649)
* feat(module: table): add colspan & rowspan

* fix: unit test

* test: add colspan and rowspan case

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-09-28 16:06:02 +08:00
James Yeung
e95ee75f80 chore: update the docs project to .net 5 rc1 (#612)
* chore: update the docs project to .net 5 rc1

* chore: update dotnet sdk for pr check actions

* chore: update cli to .net5

* fix: cli output path

* fix: also should install 3.1

* fix: switch installation sequence

* chore: update test to .net 5
2020-09-17 15:03:25 +08:00
TimChen
cbc5e823f0 refactor(module: all): separate the normal and template parameters (#552)
* fix: card title template

* fix: template:badge,collapse

* fix: comment refactor template

* fix: ribbonTests

* feat: descriptions refactor template

* feat: empty refactor template

* feat: list refactor template

* feat: menu refactor template

* feat: confirm add question icon

* feat: pageHeader and statistic refactor template

* feat: popconfirm refactor template

* feat: popver refactor template

* feat: result refactor template

* feat: step refactor template

* feat: switch refactor template

* feat: table refactor template

* feat: transfer refactor template

* feat: optimized code

* fix: pageheader

* refactor(module: empty): remove empty image constant images

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-09-16 13:58:16 +08:00
Diego Frata
a5e203e60b feat(module: tabs): add support to ForceRender (#589)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-09-11 14:37:38 +08:00
James Yeung
5d57bab600 docs: add i18n docs (#581) 2020-09-08 16:43:44 +08:00
James Yeung
bd34858efd feat: support for globalization & localization (#578)
* feat: add locale

* feat: add locale interfaces

* fix: add locale interfaces for components

* fix: use local classes instead of interfaces

* feat: implement the locale provider

* feat: make some components to support localization

* fix: default language

* fix: test

* chore: remove the useless reference
2020-09-07 22:46:50 +08:00
James Yeung
58504bba1b refactor(formatter): merge the special method of timespan into formatter (#575)
* refactor(formatter): merge the special method of timespan into formatter

* test: add test for formatte
2020-09-06 15:31:40 +08:00
Diego Frata
7119351b9f fix(module: table): fix collection modified exception (#570) 2020-09-05 20:27:52 +08:00
Diego Frata
4fb04f401d fix(module: button): allows type and shape to change (#564) 2020-09-03 06:02:30 +08:00
Kieran Coldron
853ba18649 feat(module: badge): add badge ribbon (#484)
* feat: badge ribbon

* fix: demo for ribbon

* docs: add chinese api doc for ribbon

* fix: scroll number style

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-08-10 14:21:24 +08:00
Diego Frata
6662870ac8 test(button): add some button tests (#460)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-05 17:06:14 +08:00