Commit Graph

1030 Commits

Author SHA1 Message Date
James Yeung
fe0be94b55 fix(module: table): ellipsis can't work (#1376) 2021-04-17 18:52:15 +08:00
James Yeung
04a5b8def4 fix(module: input): binding data when the Enter key is pressed (#1375) 2021-04-17 17:42:28 +08:00
James Yeung
105cfa2e8d fix(module: affix): can't affix while OffsetTop is zero (#1373)
* fix(module: affix): can't affix while OffsetTop is zero

* use affixed setter for rerendering

* limit rerendering
2021-04-17 14:43:42 +08:00
Andrzej Bakun
55ae35c224 fix(module: select): enum default value protection (#1368) 2021-04-16 18:50:36 +08:00
James Yeung
847bf180e9 changelog 0.8.0 (#1359)
* changelog 0.8.0

* fix missing change

* add new commit
2021-04-16 12:04:32 +08:00
Andrzej Bakun
ae74972643 fix(module: drawer): z-index has no effect (#1362)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-16 03:16:16 +00:00
Andrzej Bakun
fc5086a3f7 fix(module: avatar): size calculation & CssSizeLength functionality expansion (#1364)
* core: expand CssSizeLength to handle double & decimal (with tests)

* fix(module:avatar): move to CssSizeLength

fix: explicit size calculation

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-16 02:50:31 +00:00
James Yeung
4292201125 fix(module: table): incorrect bool filter (#1361) 2021-04-16 09:18:57 +08:00
Andrzej Bakun
b2a729af82 fix(module: table): locale fix (#1356) 2021-04-16 00:08:28 +08:00
Andrzej Bakun
6cccab2c04 fix(module: avatar): text size calc regional independent (#1352)
* fix(module:avatar): text size calc regional independent

* fix(module: avatar): removed limitation on number of decimal laces
2021-04-15 08:59:33 +00:00
Andrzej Bakun
1e5464d396 fix(module: input): add WrapperStyle (#1351)
* fix(module:input): add WrapperStyle

* translate the doc

* Update index.zh-CN.md

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-15 07:43:29 +00:00
James Yeung
e8965eb369 chore: merge feature into master (#1350)
* feat(module: table): add a method to get query model (#1202)

* feat(module: table): add OnExpand event (#1208)

* feat(module: table): add summary (#1218)

* feat(module: table): add summary row

* feat: add fixed summary cell

* feat(module: InputNumber): Add long-click and keyboard operation (#1235)

* feat(module: InputNumber): Add long click and keyboard event

1. When hold mouse down button will always trigger the increase or decrease
2. Add event listener to "ArrowUp" and "ArrowDown" key

* feat(module: InputNumber): Add long click and keyboard event

1. When hold mouse down button will always trigger the increase or decrease
2. Add event listener to "ArrowUp" and "ArrowDown" key

* fix null reference exception

Co-authored-by: ElderJames <shunjiey@hotmail.com>

* refactor(module: pagination): cover the apis of react (#1220)

* feat(module: config-provider): support RTL (#1238)

* feat(module: config-provider): support RTL

* add rtl for each component

* fix rtl for pagination

* add rtl for overlay

* chore: sync ant-design v4.14.0 (#1249)

* feat(module: tag): add closing event (#1268)

* tag add onclosing
event

* clean code

* translate the comment

* translation

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* chore: sync ant-design v4.15.0 (#1281)

* feat: add built-in themes (#1286)

* feat: add themes

* add docs theming styles

* fix the RTL for FixedWidgets

* fix aliyun theme

* fix docs style

* feat(module: form): Form lable supports left alignment (#1292)

* feat: Form lable supports left alignment

* Update and rename components/grid/Col.razor.cs to 组件/格网/Col.razor.cs

* Delete Col.razor.cs

* no message

* PR:1292

* typo LabelAlign

* add the property in Col instead FormItem

* clean code

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* feat(module: upload): missing and new event (#1302)

* feat(module:upload): missing and new event

* docs(module:upload): new events (missing Chinese)

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* refactor: unified use of FeedbackComponent for modal comfirm and drawer  (#1263)

* refactor: support to use the same template for confirm and modal

* refactor: support to use the same template for drawer

* refactor: separate interface IOkCancelRef

* chore: modify EventUtil class summary

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* feat(module: alert): add message template and loop banner demo (#1250)

* feat(Alert): added alert loop component

* fix: move cmp into main

* feat: add parameters for looping text

* feat: add new messages loop

* fix: create new internal looptext cmp

* doc: add demo

* doc: add demo markdown

* doc: update alert api

* doc: update cn docs

* fix: add missing dependency

* fix: update param name

* impleement loop text with css

* fix the document

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* feat(module: table): add support for Display attribute (#1310)

feat(module:table): add support for Display attribute

Display attribute is widely used to specify display text for entity properties.
Table component should get column names from Display attribute instances.

Closes #1278

* test: add TestKit for public tests (#1248)

* test: change folder structure and add new TestKit csproj for public testing of AntDesign-based applications

* docs: added CN and EN docs about TestKit

* fix doc translate

* change the directory structure

Co-authored-by: Patryk Grzelak <pgrzelak@mutate.app>
Co-authored-by: James Yeung <shunjiey@hotmail.com>

* feat(module: space): add wrap, split and size array (#1314)

* fix(module: datepicker): incorrect in RTL mode (#1300)

* fix(module: dropdown): default PlacementType is incorrect in RTL mode

* fix(module: datepicker): not correct in RTL mode

* fix(module: datepicker): styles is incorrect when switch to LTR from RTL

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* docs: fix default css link (#1318)

* fix(module: table): bring PR1208 to PR1303 merge master into feature (#1326)

* feat(module: pagination): add TotalBoundaryShowSizeChanger parameter (#1325)

* feat(module: pagination): add TotalBoundaryShowSizeChanger

* docs(module: pagination): update API

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* docs: dynamic primary color changing (#1332)

* feat(docs): change color dynamically

* docs: dynamic primary color changing

* fix file path

* delete the script

* feat(module: table): add build-in filters (#1267)

* tablefilter-moreoptions

* tablefilter-moreoptions

* tablefilter-moreoptions

* tablefilter-moreoptions

* tablefilter-moreoptions

* fix demo and docs

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* fix(module: tooltip): wrong popup direction (#1348)

* fix merge conflicts

Co-authored-by: Andrzej Bakun <andrzej@neelyc.com.cy>
Co-authored-by: LingDev <lingjing0921@live.com>
Co-authored-by: Zonciu Liang <zonciu@zonciu.com>
Co-authored-by: TimChen <TimChen44@users.noreply.github.com>
Co-authored-by: unsung189 <52531536+unsung189@users.noreply.github.com>
Co-authored-by: zxyao <zxyao145@gmail.com>
Co-authored-by: Patrick <42546986+MutatePat@users.noreply.github.com>
Co-authored-by: anranruye <54608128+anranruye@users.noreply.github.com>
Co-authored-by: Patryk Grzelak <pgrzelak@mutate.app>
Co-authored-by: 笨木头 <musicvs@163.com>
Co-authored-by: Magehernan <magehernan@gmail.com>
Co-authored-by: ldsenow <ldsenow@gmail.com>
Co-authored-by: Leishi <lluo@octet.com>
Co-authored-by: YMohd <31305504+YMohd@users.noreply.github.com>
2021-04-15 14:28:14 +08:00
Andrzej Bakun
242084e774 fix: multiple bugs originating from js (#1342)
* fix: multiple bugs originating from js

* fix(module:input): remove preventScroll from Focus method

fix: keep focus on clear

* fix(module:input): debug info clean-up

* fix(module:select): wait for browser to finish render

* fix(module:select): wait for ElementReference.Id

* fix doc assets

* fix(module:select): increase wait time for ElementRefernece.Id

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-15 14:19:26 +08:00
ElderJames
3742969a32 fix merge conflicts 2021-04-15 13:50:34 +08:00
ElderJames
433d376739 merge master into feature 2021-04-15 12:55:36 +08:00
ElderJames
d4a7e29b77 fix doc assets 2021-04-15 12:26:00 +08:00
James Yeung
f4a3b60047 fix(module: tooltip): wrong popup direction (#1348) 2021-04-15 12:20:48 +08:00
skystardust
54259ea62a fix(module: affix): affix to the viewport (#1327) (#1335)
* fix(module: affix): affix to the viewport (#1327)

* fix target to element

* rename to target selector

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-04-14 23:20:36 +08:00
Andrzej Bakun
9bde09b45f fix(module: datepicker): OnChange invoke after typing (#1347) 2021-04-14 23:17:57 +08:00
Andrzej Bakun
1903e65b52 docs(module: form): IsModified sample fix (#1344) 2021-04-14 13:33:07 +08:00
Andrzej Bakun
941f58cc65 fix(module: table): Table tree children limit remove (#1345) 2021-04-14 10:45:45 +08:00
Andrzej Bakun
d64388c0ab feat(module: select): Select responsive max tag count (#1338)
* feat(module:select): add MaxTagTextLength, MaxTagCount & MaxTagPlaceHolder

* feat(module:select): responsive maxTagCount using window.resize

* docs(module:select): MaxTagCount functionality

* fix docs

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-04-13 13:12:18 +08:00
Jason Luo
002331df8b fix(module: result): modify status unsuccessfully after initialization(#1328) (#1336)
* fix(module:result): modify status unsuccessfully after initialization(#1328)

* fix(module:result): determine whether the Icon is empty string(#1328)

* doc: add changeTheResult demo(#1328)

* delete some lines
2021-04-12 18:22:38 +08:00
YMohd
9ff708eb31 feat(module: table): add build-in filters (#1267)
* tablefilter-moreoptions

* tablefilter-moreoptions

* tablefilter-moreoptions

* tablefilter-moreoptions

* tablefilter-moreoptions

* fix demo and docs

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-11 01:11:19 +08:00
James Yeung
0b738663a1 docs: dynamic primary color changing (#1332)
* feat(docs): change color dynamically

* docs: dynamic primary color changing

* fix file path

* delete the script
2021-04-10 12:34:41 +08:00
James Yeung
e85cc45934 docs: fix dingtalk's broken links (#1330) 2021-04-09 17:36:19 +08:00
Zonciu Liang
ea69864204 feat(module: pagination): add TotalBoundaryShowSizeChanger parameter (#1325)
* feat(module: pagination): add TotalBoundaryShowSizeChanger

* docs(module: pagination): update API

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-09 14:17:20 +08:00
Andrzej Bakun
7b5b08c95b fix(module: table): bring PR1208 to PR1303 merge master into feature (#1326) 2021-04-09 00:49:20 +08:00
James Yeung
7c5de2302f chore: merge master into feature (#1323)
* fix(module: table): ExpandableRow not working with ActionColumn #1284 (#1285)

* (fix) Table ExpandableRow not working with ActionColumn #1284

* Add Tree Button Expand on Action Columm.

Check the position of Selection Column when calculate the position for expand button on tree mode and expand mode.

* fix(module: rate): Value has priority over DefaultValue (#1303)

* chore: add GitHub Actions for auto preview (#1205)

* chore: add github actions for auto preview

* fix setup job

* chore: add GitHub Actions for auto preview (#1205)

* fix(module:rate): prevent reset to default value

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* feat(module: form): Add LabelTemplate for FormItem (#1293)

Co-authored-by: Leishi <lluo@octet.com>

* fix(module: table): fix DataIndex Column with incorrect sorting and filter (#1295)

* refactor(module: table): Unify the behavior of Field and DataIndex

* fix(module: table): Fix DataIndex Column doesn't refresh

* doc(module: table): add DataIndex column filter demo

* doc(module: table): fix Blazor table

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* fix(module: datepicker): DatePicker DisabledDate works incorect (#1298)

* fix(module: datepicker): DatePicker DisabledDate works incorect

* test(module: dateHelperTests): modify test case

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* fix(module: upload): Upload list update fix (#1301)

* chore: add GitHub Actions for auto preview (#1205)

* chore: add github actions for auto preview

* fix setup job

* chore: add GitHub Actions for auto preview (#1205)

* fix(module:upload): file list update

* fix(module:upload): typed args for file upload

* fix(module:upload): delete button remove from picture-card

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* fix(module: textarea): default to empty string (#1305)

* chore: add GitHub Actions for auto preview (#1205)

* chore: add github actions for auto preview

* fix setup job

* chore: add GitHub Actions for auto preview (#1205)

* fix(module:textarea): add parameter DefaultToEmptyString

* fix(module:textarea): occasional crashes of js in firefox

* docs(module:input): added new param DefaultToEmptyString

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* fix(module: grid): missing flex and wrap style (#1296)

* fix(module: grid): missing flex style

* remove the old md file

* fix demos

* fix build error

* fix no warp class

* docs: add changelog in document (#1306)

* fix(module: select): load icon for multiple mode & value reload on delay (#1307)

* chore: add GitHub Actions for auto preview (#1205)

* chore: add github actions for auto preview

* fix setup job

* chore: add GitHub Actions for auto preview (#1205)

* fix(module:select): add loading for multiple mode

* fix(module:select): selected items duplication for multiple mode when values changed outside the component

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* fix(module: table): perf optimization & data source change issue (#1304)

* chore: add GitHub Actions for auto preview (#1205)

* chore: add github actions for auto preview

* fix setup job

* chore: add GitHub Actions for auto preview (#1205)

* fix(module:table): guard against false entries in _dataSourceCache

* fix(module:table): perf - double to single render on datasource change

* fix(module:table): perf optimization to avoid multiple renders

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* fix(module: select): propagation on item remove (#1308)

* fix(module: table): fix table re-render when ScrollX is set (#1311)

* docs(module: table): fix RouterPagging demo (#1313)

* chagnelog 0.7.4 (#1321)

Co-authored-by: Magehernan <magehernan@gmail.com>
Co-authored-by: Andrzej Bakun <andrzej@neelyc.com.cy>
Co-authored-by: ldsenow <ldsenow@gmail.com>
Co-authored-by: Leishi <lluo@octet.com>
Co-authored-by: Zonciu Liang <zonciu@zonciu.com>
Co-authored-by: 笨木头 <musicvs@163.com>
2021-04-08 22:58:51 +08:00
ElderJames
aaff88adf7 merge master into feature 2021-04-08 22:32:48 +08:00
Andrzej Bakun
851c970f1d fix(module: overlaytrigger): correct method disposal (#1322)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-08 14:30:53 +00:00
Andrzej Bakun
70e724d630 fix(module: select): Select overlay resize & allow growing (#1309)
* feat(module:select): allow overlay to match item width

* fix(module:select): resize selectbox on window resize

* docs(module:select): add new parameters

* fix(module:select): add DropdownMatchSelectWidth & DropdownMaxWidth

* fix(module:select): apply same layout as antD

apply same behavior as antD for backspace
split code to default/multiple&tags
always focus on input for search-able
handle overflow & ellipsis for to long items
rendering optimization for SelectContent

* fix(module:select): backspace functionality limit
2021-04-08 22:17:44 +08:00
James Yeung
85ef3b9bbc chagnelog 0.7.4 (#1321) 2021-04-08 15:19:29 +08:00
James Yeung
7f6fee4c33 docs: fix default css link (#1318) 2021-04-07 12:32:26 +08:00
笨木头
d0922fbc50 fix(module: datepicker): incorrect in RTL mode (#1300)
* fix(module: dropdown): default PlacementType is incorrect in RTL mode

* fix(module: datepicker): not correct in RTL mode

* fix(module: datepicker): styles is incorrect when switch to LTR from RTL

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-06 20:02:53 +08:00
James Yeung
6a8036ca57 feat(module: space): add wrap, split and size array (#1314) 2021-04-06 14:20:29 +08:00
Zonciu Liang
7c87716137 docs(module: table): fix RouterPagging demo (#1313) 2021-04-05 22:04:22 +08:00
Patrick
ba2c5e51d8 test: add TestKit for public tests (#1248)
* test: change folder structure and add new TestKit csproj for public testing of AntDesign-based applications

* docs: added CN and EN docs about TestKit

* fix doc translate

* change the directory structure

Co-authored-by: Patryk Grzelak <pgrzelak@mutate.app>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-04 21:37:06 +08:00
Zonciu Liang
8476eccd30 fix(module: table): fix table re-render when ScrollX is set (#1311) 2021-04-04 21:02:47 +08:00
anranruye
c06e73ba5b feat(module: table): add support for Display attribute (#1310)
feat(module:table): add support for Display attribute

Display attribute is widely used to specify display text for entity properties.
Table component should get column names from Display attribute instances.

Closes #1278
2021-04-04 20:38:57 +08:00
Patrick
3da9e703fa feat(module: alert): add message template and loop banner demo (#1250)
* feat(Alert): added alert loop component

* fix: move cmp into main

* feat: add parameters for looping text

* feat: add new messages loop

* fix: create new internal looptext cmp

* doc: add demo

* doc: add demo markdown

* doc: update alert api

* doc: update cn docs

* fix: add missing dependency

* fix: update param name

* impleement loop text with css

* fix the document

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-04 19:03:18 +08:00
zxyao
31aac9f914 refactor: unified use of FeedbackComponent for modal comfirm and drawer (#1263)
* refactor: support to use the same template for confirm and modal

* refactor: support to use the same template for drawer

* refactor: separate interface IOkCancelRef

* chore: modify EventUtil class summary

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-04 15:40:54 +08:00
Andrzej Bakun
b8bc754f80 fix(module: select): propagation on item remove (#1308) 2021-04-04 14:01:38 +08:00
Andrzej Bakun
a9a0f2e937 fix(module: table): perf optimization & data source change issue (#1304)
* chore: add GitHub Actions for auto preview (#1205)

* chore: add github actions for auto preview

* fix setup job

* chore: add GitHub Actions for auto preview (#1205)

* fix(module:table): guard against false entries in _dataSourceCache

* fix(module:table): perf - double to single render on datasource change

* fix(module:table): perf optimization to avoid multiple renders

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-03 18:40:23 +00:00
Andrzej Bakun
251a6e18ad fix(module: select): load icon for multiple mode & value reload on delay (#1307)
* chore: add GitHub Actions for auto preview (#1205)

* chore: add github actions for auto preview

* fix setup job

* chore: add GitHub Actions for auto preview (#1205)

* fix(module:select): add loading for multiple mode

* fix(module:select): selected items duplication for multiple mode when values changed outside the component

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-03 17:53:25 +00:00
James Yeung
194caa37fb docs: add changelog in document (#1306) 2021-04-04 00:54:18 +08:00
James Yeung
f8ec6256ba fix(module: grid): missing flex and wrap style (#1296)
* fix(module: grid): missing flex style

* remove the old md file

* fix demos

* fix build error

* fix no warp class
2021-04-03 23:36:46 +08:00
Andrzej Bakun
1d4ea440fa fix(module: textarea): default to empty string (#1305)
* chore: add GitHub Actions for auto preview (#1205)

* chore: add github actions for auto preview

* fix setup job

* chore: add GitHub Actions for auto preview (#1205)

* fix(module:textarea): add parameter DefaultToEmptyString

* fix(module:textarea): occasional crashes of js in firefox

* docs(module:input): added new param DefaultToEmptyString

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-03 15:22:11 +08:00
Andrzej Bakun
f5216bed80 feat(module: upload): missing and new event (#1302)
* feat(module:upload): missing and new event

* docs(module:upload): new events (missing Chinese)

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-03 00:45:55 +08:00
Andrzej Bakun
19e0f61961 fix(module: upload): Upload list update fix (#1301)
* chore: add GitHub Actions for auto preview (#1205)

* chore: add github actions for auto preview

* fix setup job

* chore: add GitHub Actions for auto preview (#1205)

* fix(module:upload): file list update

* fix(module:upload): typed args for file upload

* fix(module:upload): delete button remove from picture-card

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-02 16:23:00 +00:00